@univerjs-pro/collaboration-client 0.5.2 → 0.5.3-experimental.20250106-e3b7a39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -35
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x2a3857=_0x5b8f;(function(_0x7a1921,_0x55b062){var _0x5c899e=_0x5b8f,_0x5241f3=_0x7a1921();while(!![]){try{var _0x4e08f1=-parseInt(_0x5c899e(0x175))/0x1*(parseInt(_0x5c899e(0x3eb))/0x2)+-parseInt(_0x5c899e(0x248))/0x3+-parseInt(_0x5c899e(0x1cb))/0x4*(parseInt(_0x5c899e(0x306))/0x5)+parseInt(_0x5c899e(0x2ce))/0x6+-parseInt(_0x5c899e(0x144))/0x7*(-parseInt(_0x5c899e(0x3e8))/0x8)+parseInt(_0x5c899e(0x200))/0x9+parseInt(_0x5c899e(0x27e))/0xa;if(_0x4e08f1===_0x55b062)break;else _0x5241f3['push'](_0x5241f3['shift']());}catch(_0x22b799){_0x5241f3['push'](_0x5241f3['shift']());}}}(_0x4544,0x1b117));var $i=Object[_0x2a3857(0x239)],Hi=(_0x1bb018,_0x581ccb,_0x5ab827)=>_0x581ccb in _0x1bb018?$i(_0x1bb018,_0x581ccb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab827}):_0x1bb018[_0x581ccb]=_0x5ab827,P=(_0x4a5231,_0x5d1b7b,_0x46e8a1)=>Hi(_0x4a5231,typeof _0x5d1b7b!='symbol'?_0x5d1b7b+'':_0x5d1b7b,_0x46e8a1);import{createIdentifier as _0x357b15,Inject as _0x21b3b2,Injector as _0x548366,Disposable as _0x2e140f,DisposableCollection as _0x595a80,toDisposable as _0x30af1d,IConfigService as _0x24bebb,ILogService as _0x4e1c8f,UserManagerService as _0xba64f5,UniverInstanceType as _0x465e07,IUniverInstanceService as _0x40e127,LocaleService as _0x551f00,Optional as _0x10c77b,RxDisposable as _0x3f0249,Tools as _0x57b57d,Rectangle as _0x1aad94,ICommandService as _0xd6fdcf,JSONX as _0x32150e,CommandType as _0xab8d9d,IPermissionService as _0x1c05e3,IUndoRedoService as _0x34b8e6,sequenceExecute as _0x595582,Workbook as _0x115f48,MentionType as _0x4eb276,IAuthzIoService as _0x1ee820,isInternalEditorID as _0xc08f6c,LocalUndoRedoService as _0x2afa4d,IContextService as _0x46761c,DependentOn as _0x4f1cae,Plugin as _0x42c4cc,merge as _0x46b3fd,mergeOverrideWithDependencies as _0x1114da,IMentionIOService as _0x50db1d,registerDependencies as _0xb389a8,Quantity as _0x5e9174,touchDependencies as _0x1673c2}from'@univerjs/core';import{Subject as _0x282fa7,merge as _0xc9cdeb,of as _0x59284b,BehaviorSubject as _0x500ff8,takeUntil as _0x49b26f,ReplaySubject as _0x290582,take as _0x20e9c1,map as _0x45e7c7,shareReplay as _0x2bcada,firstValueFrom as _0x3b9423,concatMap as _0xdf9ab4}from'rxjs';import{map as _0x4bf464,take as _0x2fc287,filter as _0x5bfb9e,delay as _0x1e0965,takeUntil as _0x3ba3cf}from'rxjs/operators';import{HTTPService as _0x4fa095,ISocketService as _0x4f6f60,MergeInterceptorFactory as _0x105041,HTTPRequest as _0x4403e8,UniverNetworkPlugin as _0x5774e3,ThresholdInterceptorFactory as _0x32651a}from'@univerjs/network';import{CollaborationEvent as _0x562849,parseChangesetToProtocol as _0x1a5c1c,ISnapshotServerService as _0x2b19c8,isTransformMutationsWithChangesetSuccess as _0x17f224,ITransformService as _0x59eb83,mapDocumentTypeToUniverType as _0x5f2b7f,RevisionService as _0x49a07f,isTransformChangesetsSuccess as _0x41a995,CompressMutationService as _0x53db64,parseProtocolChangeset as _0x286142,SnapshotService as _0x2546f0,textEncoder as _0x56aad7,b64DecodeUnicode as _0x2a92b6,isTransformMutationsWithChangesetFailure as _0x3977b7,UniverCollaborationPlugin as _0x822522}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xad6476}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x117fd1}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c7668,SetSelectionsOperation as _0x4301b8,InsertSheetMutation as _0x5b2210,EmptyMutation as _0x14880c,WorkbookEditablePermission as _0x39ae2d,UnitObject as _0x4172eb,defaultWorkbookPermissionPoints as _0x5b7918,getAllWorkbookPermissionPoint as _0x3e17f7,WorksheetProtectionRuleModel as _0xc125ce,baseProtectionActions as _0xef18b8,getAllWorksheetPermissionPoint as _0x1553e5,WorksheetProtectionPointModel as _0x12954f,defaultWorksheetPermissionPoint as _0x3a77ca,getAllWorksheetPermissionPointByPointPanel as _0x7e5269,RangeProtectionRuleModel as _0x5b5e96,getAllRangePermissionPoint as _0x13122b,UniverSheetsPlugin as _0x273cfc}from'@univerjs/sheets';import{ImageSourceType as _0x1588b5,ImageUploadStatusType as _0xf0a3d5,IImageIoService as _0x667393}from'@univerjs/drawing';import{getGlobalObject as _0x57f2ea}from'@univerjs-pro/license';const Dn=_0x2a3857(0x13e),wn=_0x2a3857(0x38f),Un=_0x2a3857(0x136),_o=_0x2a3857(0x22b),An=0x7d0,xn=_0x2a3857(0x3cc),Ln=_0x2a3857(0x249),Mn=_0x2a3857(0x3f4),$n=_0x2a3857(0x33e),Hn=0x7530,Ii=_0x2a3857(0x36b),Ti=0x4e20,kn=0x4e20,jn='RETRY_CONNECTING_MAX_COUNT',Bn=0x3,lo=_0x2a3857(0x17c),uo=0x3e8,Fn=_0x2a3857(0x1ed),Vn='/universer-api/comb',Wn=_0x2a3857(0x201),Gn='/universer-api/oidc/authpage',fo=_0x2a3857(0x188),vo=_0x2a3857(0x171);var Ci=(_0x4e1310=>(_0x4e1310[_0x4e1310[_0x2a3857(0x3df)]=0x0]=_0x2a3857(0x3df),_0x4e1310[_0x4e1310['OK']=0x1]='OK',_0x4e1310[_0x4e1310[_0x2a3857(0x381)]=0x2]=_0x2a3857(0x381),_0x4e1310[_0x4e1310['PERMISSION_DENIED']=0x3]=_0x2a3857(0x13f),_0x4e1310[_0x4e1310[_0x2a3857(0x308)]=0x4]=_0x2a3857(0x308),_0x4e1310[_0x4e1310[_0x2a3857(0x164)]=0x5]=_0x2a3857(0x164),_0x4e1310[_0x4e1310[_0x2a3857(0x26a)]=0x6]=_0x2a3857(0x26a),_0x4e1310[_0x4e1310[_0x2a3857(0x29b)]=0x7]=_0x2a3857(0x29b),_0x4e1310[_0x4e1310[_0x2a3857(0x286)]=0x8]=_0x2a3857(0x286),_0x4e1310[_0x4e1310[_0x2a3857(0x3ae)]=0x9]='COMPLETION_FINISHED',_0x4e1310[_0x4e1310[_0x2a3857(0x170)]=0x1389]=_0x2a3857(0x170),_0x4e1310[_0x4e1310[_0x2a3857(0x41f)]=0x1771]=_0x2a3857(0x41f),_0x4e1310[_0x4e1310[_0x2a3857(0x277)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4e1310[_0x4e1310[_0x2a3857(0x231)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4e1310[_0x4e1310[_0x2a3857(0x3bc)]=0x1b59]=_0x2a3857(0x3bc),_0x4e1310[_0x4e1310[_0x2a3857(0x2f4)]=0x1b5a]=_0x2a3857(0x2f4),_0x4e1310[_0x4e1310[_0x2a3857(0x2d1)]=0x1b5b]=_0x2a3857(0x2d1),_0x4e1310[_0x4e1310[_0x2a3857(0x198)]=0x1b5c]=_0x2a3857(0x198),_0x4e1310[_0x4e1310[_0x2a3857(0x2e8)]=0x1b5d]=_0x2a3857(0x2e8),_0x4e1310[_0x4e1310[_0x2a3857(0x3b0)]=0x1f41]=_0x2a3857(0x3b0),_0x4e1310[_0x4e1310[_0x2a3857(0x199)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4e1310[_0x4e1310[_0x2a3857(0x3d3)]=0x232a]=_0x2a3857(0x3d3),_0x4e1310[_0x4e1310['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4e1310[_0x4e1310[_0x2a3857(0x319)]=0x232c]=_0x2a3857(0x319),_0x4e1310[_0x4e1310[_0x2a3857(0x37c)]=0x232d]=_0x2a3857(0x37c),_0x4e1310[_0x4e1310[_0x2a3857(0x2aa)]=0x2711]=_0x2a3857(0x2aa),_0x4e1310[_0x4e1310[_0x2a3857(0x15d)]=0x2712]=_0x2a3857(0x15d),_0x4e1310[_0x4e1310[_0x2a3857(0x34a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4e1310[_0x4e1310[_0x2a3857(0x1bf)]=0x2714]=_0x2a3857(0x1bf),_0x4e1310[_0x4e1310[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x4e1310))(Ci||{}),Q=(_0x231346=>(_0x231346[_0x231346[_0x2a3857(0x2e2)]=0x0]=_0x2a3857(0x2e2),_0x231346[_0x231346[_0x2a3857(0x1d6)]=0x1]=_0x2a3857(0x1d6),_0x231346[_0x231346['UNIVER_SHEET']=0x2]=_0x2a3857(0x292),_0x231346[_0x231346['UNIVER_SLIDE']=0x3]=_0x2a3857(0x203),_0x231346[_0x231346[_0x2a3857(0x3fe)]=0x4]=_0x2a3857(0x3fe),_0x231346[_0x231346[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x231346))(Q||{}),F=(_0x11b0c5=>(_0x11b0c5[_0x11b0c5[_0x2a3857(0x22f)]=0x0]=_0x2a3857(0x22f),_0x11b0c5[_0x11b0c5[_0x2a3857(0x121)]=0x1]=_0x2a3857(0x121),_0x11b0c5[_0x11b0c5[_0x2a3857(0x149)]=0x2]=_0x2a3857(0x149),_0x11b0c5[_0x11b0c5[_0x2a3857(0x18f)]=0x3]='LEAVE',_0x11b0c5[_0x11b0c5['INGEST']=0x4]=_0x2a3857(0x3a5),_0x11b0c5[_0x11b0c5[_0x2a3857(0x354)]=0x5]=_0x2a3857(0x354),_0x11b0c5[_0x11b0c5[_0x2a3857(0x173)]=0x6]=_0x2a3857(0x173),_0x11b0c5[_0x11b0c5[_0x2a3857(0x35d)]=-0x1]='UNRECOGNIZED',_0x11b0c5))(F||{}),Ee=(_0x39efc=>(_0x39efc[_0x39efc[_0x2a3857(0x127)]=0x0]='UNKNOWN_CODE',_0x39efc[_0x39efc['OK']=0x1]='OK',_0x39efc[_0x39efc['FAIL']=0x2]=_0x2a3857(0x296),_0x39efc[_0x39efc[_0x2a3857(0x20c)]=0x3e9]=_0x2a3857(0x20c),_0x39efc[_0x39efc[_0x2a3857(0x1af)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x39efc[_0x39efc[_0x2a3857(0x12f)]=0x3eb]=_0x2a3857(0x12f),_0x39efc[_0x39efc[_0x2a3857(0x16a)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x39efc[_0x39efc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x39efc))(Ee||{}),bi=(_0x226861=>(_0x226861[_0x226861[_0x2a3857(0x1a0)]=0x0]='Undefined',_0x226861[_0x226861[_0x2a3857(0x3be)]=0x1]=_0x2a3857(0x3be),_0x226861[_0x226861[_0x2a3857(0x24c)]=0x2]=_0x2a3857(0x24c),_0x226861[_0x226861[_0x2a3857(0x215)]=0x3]='UnitEmbedded',_0x226861[_0x226861[_0x2a3857(0x135)]=0x4]=_0x2a3857(0x135),_0x226861[_0x226861[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x226861))(bi||{});const Y='collaboration-client.config',zt={};var re=(_0x2a6a34=>(_0x2a6a34['OTHER_CLIENT_EDITING']=_0x2a3857(0x3c4),_0x2a6a34['PERMISSION_DENIED']=_0x2a3857(0x13f),_0x2a6a34['CONFLICT']=_0x2a3857(0x1dc),_0x2a6a34[_0x2a3857(0x165)]=_0x2a3857(0x165),_0x2a6a34[_0x2a3857(0x39e)]=_0x2a3857(0x39e),_0x2a6a34['SOCKET_FAILED_RETRY']=_0x2a3857(0x220),_0x2a6a34[_0x2a3857(0x34c)]='SOCKET_FAILED',_0x2a6a34['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x2a6a34))(re||{});class pe{constructor(){var _0x55120f=_0x2a3857;P(this,_0x55120f(0x3e6),new _0x282fa7()),P(this,'event$',this[_0x55120f(0x3e6)]['asObservable']());}[_0x2a3857(0x3db)](_0x437eaf){var _0x187df4=_0x2a3857;this[_0x187df4(0x3e6)][_0x187df4(0x386)](_0x437eaf);}}const Kn=_0x357b15(_0x2a3857(0x2e3));function _0x4544(){var _0x33b2f8=['APPLY_REJECT','setWaitCount','HttpImport','clone','socket\x20close','pauseCollaboration','univer-pro.collaboration-client.single-active-unit-service','CHANGESET_SHOULD_RETRY','OTHER_CLIENT_EDITING','isPermissionRej','randomBytes','_getCurrentRevision','_reverseMap','_submitChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ERROR_IMAGE_TYPE','COLLAB_WEB_SOCKET_URL','_univerInstanceService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_pendingMutations','textRanges','_getSessionTicket','set','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updateCursorEvent','requestParams','rev','dispose','downloadEndpointUrl','resourceIDs','newCsEvent','emitEvent','state$','capture','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNDEFINED','/new_changes','/unit/','readAsDataURL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationState]:\x20apply\x20error!','_initUnitPermissionChange','_event$','NO_OTHER_CLIENTS_EDITING','8EbBBMv','[CollaborationSessionService]','create','162SPUNVU','refreshPermission','getCurrentUser','_toggleOffline','subType','_applyRemoteChangeset','joinRsp','csRejEvent','[SyncedState]:\x20received\x20rejection.','/universer-api/user/session-ticket','session','deepClone','getInterceptPoints','SUCCUSS','createDecryptor','UUID','fromCharCode','actions','unsubscribe','UNIVER_PROJECT','min','_transitionLocked','crypto','iterations','collabSubmitChangesetUrl','setCurrentUser','_sessions','_initRequestHeader','sigBytes','[DataLoaderService]','/object','_members','&to=','result','has','IDLE','conflict','_retryCount','requireSession','debug','override','exports','\x20-\x20','AES','image/png','_createHandler','Pkcs7','_onOffline','_onRemoteRejected','_initMergeInterceptor','toLowerCase','_sender','SNAPSHOT_INVALID_SNAPSHOT','_http','getCurrentRevOfUnit','incrementRevOfUnit','onRemoteRej','_networkConditionService','error','/universer-api/file/{fileID}/sign-url','_onFetchMissResult','mixIn','socketService','_permissionService','_getRedoStack','url','HELLO','getConfig','ceil','SUBMIT_CHANGESET_TIMEOUT','_shouldReportTelemetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNKNOWN_CODE','registerHTTPInterceptor','objectID','every','_rescheduleHeartbeat','_isPermissionRej','userID','unitID','JOIN_ROOM_PERMISSION_DENIED','readyForCollab','put','_throwTelemetryCollaborationNewChangeset','getTime','initWorkbookPermissionChange','UnitSnapshot','SNAPSHOT_URL_KEY','getWorkbookSelections','&assign=','/rev/','href','data','Latin1','/object/','SNAPSHOT_SERVER_URL_KEY','PERMISSION_DENIED','MD5','_ENC_XFORM_MODE','findIndex','_commandService','977753TmQWqz','fetchThroughInterceptors','params','JOINING','_getUploadFileURL','JOIN','_clearRedo','session.room-permission-denied','random','_socket','algo','_tryReconnect','COMPRESS_MUTATION_APPLY','Cipher','rng','LIVESHARE_FETCH_OPERATIONS','_transformRemoteChangesetByIMECache','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','replace','_lockTransition','_injector','enableSingleActiveInstanceLock','call','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_localCacheService','YUUMI_URL_COL_OUT_OF_RANGE','loadSheet','ruleRefresh','_onConflict','unitId\x20is\x20not\x20found','blockSize','_unitID','UNAUTHENTICATED','CLOSE_ROOM','filter','_getSendChangesetTimeout','forEach','unitInfo$','GLOBAL_ROOMS_CNT_EXCEEDS','removeMember','CHANGESET_ACK','listRoles','subject','_sessionStatus$','CHANGESET_REVISION_CONFILICT','/universer-api/uniscript','_handlerCallback','RECV','NEW_CHANGESETS','2696McVgcZ','_iv','_snapshotService','stringify','focused$','_revisionService','snapshotServerUrl','LOCAL_CACHE_INTERVAL','fetchMiss','onTransformRemoteChangesetByIMECache','_socketReady','transformChangesets','_entities','encode','UPDATE_PERMISSION_OBJ','offline','_memberService','toggleOffline','getPermissionPoint','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','saveChangeset','setShowComponents','_emitMembers','FileId','extend','LEAVE','WordArray','_resendTimeout','then','_candidateSocket','memberID','mode','Decryptor','OPTIONAL','APPLY_PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','enableOfflineEditing','_loadSheet','save\x20fail\x20reason\x20is\x20','m2Prime','onStateChange','send','Undefined','body','_data','getLatestCsReqIdBySid','getMember','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','generateRandomId','delete','_hash','pad','_singleActiveUnitService','_HTTPService','image/bmp','_localeService','StreamCipher','JOIN_ROOM_NOT_EXISTS','Base','_collabSessionService','_getAPIPrefixPath','getTypeOfUnitAdded$','AUTHZ_URL_KEY','_socketService','_onJoinRoomEvent','_joinRoom','session.room-cnt-exceeds','CipherParams','_disableEditing','HMAC','hasher','lib','collaboration_new_changeset','YUUMI_SUBSCRIPTION_NOT_FOUND','unit-cache-','disposeWithMe','_getLoginPath','add','transformMutationsWithChangeset','getSheetId','onMissedChangesetFetched','commentUpdate$','editing\x20status\x20changed\x20to','getImageSourceCache','_config','196cxCxUj','clamp','_transformRemoteChangesetByStateCache','type','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSyncEditingCollabCursor','CHANGESET_REJ','_checkMissing','infoRsp','_redoStacks','_keyPriorReset','UNIVER_DOC','revision','/fetchmissing?from=','[OfflineState]:\x20received\x20acknowledgement.','getDeserializedSheetBlock','[CollaborationSessionService]:\x20socket\x20error','CONFLICT','_toggleOnline','init','&source=','_updateLocalCache','_loadDoc','fetchMissingChangesets','getActiveSheet','_state$','unknown','_waitForHeartbeatResponse','FETCH_MISSING','encodeURIComponent','getOwnPropertyDescriptor','BufferedBlockAlgorithm','SHA1','Worksheet','COLLAB_SUBMIT_CHANGESET_URL','/-/object/-/batch_allowed','_replaceFileID','_sendingTimer','saveImage','_commentService','hostname','_onConnectionOpen','csShouldRetryEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','catch','post','key','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','value','keySize','synced','_key','90882ThzRQl','LOGIN_URL_KEY','_collaborationSessionService','UNIVER_SLIDE','connection\x20error','_configService','status','_process','_stopTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','_clearUndo','_map','JOIN_ROOM_FULL','open$','updatePermissionPoint','_changesetReqId','title','updateMember','USERS_LEAVE','startTime','runId','UnitEmbedded','/block/','_prevBlock','getAllMembers','compose','reject','origin','_append','get','charCodeAt','objects','SOCKET_FAILED_RETRY','members','onCommentUpdate','transformUndoRedo','_commentUpdate$','bind','reqId','_onLocalMutation','_retryConnectingTimer','__esModule','mutations','SEND_CHANGESET_TIMEOUT','updateCollaborator','/universer-api/snapshot/','prototype','UNKNOWN_CMD','_transformIMECache','ENSURE_SNAPSHOT_EXECUTION','onload','updateOfflineData','OpenSSL','Hex','searchParams','onSendChangeset','_hasher','defineProperty','floor','failed\x20to\x20apply\x20missed\x20changesets!','fetching\x20missing\x20changesets\x20from\x20','_members$','_iKey','_socketMessageSubscription','getImage','Base64','AWAITING','LIVESHARE_NEW_HOST','COMMENT_UPDATE','joinEvent','_timeoutTimer','slice','253392bBTlSn','ws://127.0.0.1:8000/universer-api/comb/connect','decryptBlock','max','HttpExport','search','_collaborationPaused','/universer-api/stream/file/upload','_resendTimer','words','LIVESHARE_REQUEST_HOST','onlyLocal','interceptor','_nRounds','loadUnit','getRandomValues','status$','_state','complete','commentUpdateEvent','shouldCloseConn','_createHelper','[CollaborationUndoRedoService]','wsSessionTicketUrl','PERSON','abs','_transformSelections','_sheetTransformSelectionsService','selections','c2Prime','_waitCount','_fetchMissChangesets','getResourcesRequest','target','ALREADY_EXISTS','_transformService','COMPRESS_MUTATION_SEND','/collaborator','retryConnectingInterval','saveSnapshot','transformStack\x20failed!','push','updatePermissionObjEvent','_acknowledgedAwaitingChangeset','getValue','Hasher','socket\x20open.','SNAPSHOT_HAS_BEEN_REMOVED','getUnitStatus$','enableAuthServer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_telemetryInfo','editingUnit','name','2878330DelTMR','collaboratorID','size','_getAPIPrefix','reverse','getSheetBlock','AWAITING_WITH_PENDING','createSocket','TOO_MANY_REQUESTS','_socket$','onStarting','_incrementRevisionNumber','_nDataBytes','_updateStatus','toString','\x20in\x20_schedule.','unpad','getCollabEntity$','hasOwnProperty','_unlockTransition','UNIVER_SHEET','_type','_keySchedule','compute','FAIL','UPDATE_CURSOR','encrypt','members$','string','INVALID_ARGUMENT','range','ERROR_IMAGE','_substituteRedoStack','_decreaseWaiting','onRemoteAck','_init','error$','_entityInit$','method','_xformMode','from','_authzIoService','c1Prime','event$','YUUMI_UNABLE_LOAD_URL','_compressMutationService','_createSocket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_invKeySchedule','[CollaborationSession]','join','[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.','list','uniscriptRunEvent','CBC','MSG_FOR_ERROR','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','unitId','closeSession','$super','_createSocketURL','onRemoteRetry','onTransformRemoteChangesetByStateCache','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','file','OTHER_CLIENTS_EDITING','repeat','executeCommand','POST','_onConnectionFailed','_telemetryService','BlockCipherMode','_getDownloadEndpointURL','localCacheService','csAckEvent','_onMessage','routeKey','subscribe','putCollaborators','_transformStack','1050834OoQhJo','_replayCachedMutations','Utf8','APPLY_REVISION_CONFILICT','_resendWithTimeout','apply','{fileID}','_getUndoStack','__creator','finalize','LIVESHARE_OPERATION','NoPadding','/universer-api/authz','[CollaborationEntity]','_onRemoteChangeset','state','_roomCreated$','[OfflineState]:\x20received\x20rejection.','asObservable','_imageSourceCache','UNIVER_UNKNOWN','univer-pro.collaboration-client.network-condition.service','_getSignURL','_startCollaboration','leaveEvent','_queuedRemoteChangesets','APPLY_DUPLICATED','resend','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','substr','padding','univer-pro.collaboration-client-socket-service','_scheduleCompleteTimestamp','_remoteChangesetQueue','onTransformState','_startTelemetryCollaborationNewChangeset','cfg','auth.needGotoLoginAlert','APPLY_NON_SEQUENTIAL_REVISION','close$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveSheetBlock','objectType','withCredentials','baseRev','randomUUID','FETCH_MISS','_scheduleCollaborationTimeoutTimer','BlockCipher','onTransformIME','image/jpeg','not_collab','function','_updateState','getCollabEntity','_createInitialState','20310AEFmLf','entityInit$','NOT_FOUND','[PendingState]:\x20received\x20rejection.','session.join-failed','_tryEnsureSocket','patch','_collaborationUIEventService','_roomMembers','awaiting','_snapshotServerService','awaiting_with_pending','liveShareNewHost','roles','now','_DEC_XFORM_MODE','fetch_missing','appendMutation','batchAllowed','LICENSE_EXPORT_SIZE_EXCEEDED','MUTATION','_sendHeartbeat','_change$','_removeRoom','objectActions','reset','_substituteUndoStack','_initDependencies','execute','localeService','sendChangesetTimeout','?url=','allowed','subUnitId','stopTime','_clearScheduledTask','kdf','OFFLINE','PENDING','_registerDependencies','length','indexOf','_httpService','message$','pluginName','telemetry\x20info\x20is\x20not\x20initialized','authzUrl','_logService','_doFinalize','format','onTransformSelections','getSnapshotAPIPath','_onUserJoin','headers','BASE64','x-univer-host','HEARTBEAT_INTERVAL','salt','UNISCRIPT_RUN','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fromCollab','session.room-full','onRemoteChangeset','pending','ivSize','byteLength','PERMISSION_REJ','values','YUUMI_RATE_OVER_LIMIT','addHandlerCallback','SOCKET_FAILED','_status$','decrypt','_onCombEvent','changesets','_collaborationTimeoutTimer','SUBMIT_CHANGESET','getUnit','HEARTBEAT','_showConflictNotification','liveShareOperation','_mode','UNIVER_COLLABORATION_CLIENT_PLUGIN','_syncEditingCollabCursor','HmacSHA1','collaMsg','map','UNRECOGNIZED','createEncryptor','responseType','EvpKDF','toggleOnline','_cipher','\x0aAfter:\x20','clearUndoRedo','_awaitingChangeset','_doReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','pipe','PSEUDO_FETCH_MISSING_RESULT','HEARTBEAT_TIMEOUT','formatter','People','resolve','_undoRedoService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','?size=','socket$','ciphertext','splice','_schedule','sessionStatus$','transformSelections','getUnitType','_doCryptBlock','USERS_ENTER','_sendHeartbeatTimer','LICENSE_DISTRO_REJECTED','/allowed','SelectRange','_onUserLeave','_oKey','INTERNAL_ERROR','default','eventID','close','sessionStatus','next','uploadFileServerUrl','_unitInfo$','parse','location','_instanceService','msCrypto','clear','sid','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_doProcessBlock','_onRecvEvent','_parse','getTargetByPermissionId','_clearCollaborationTimeoutTimer','_handler','byteOffset','awaitingChangeset','_changesetSessionId','_initCloseConn','cmd','_eventService','code','JOIN_ROOM_FAILED','getTypeOfUnitDisposed$','_executeRemoteChangeset','startsWith','LIVESHARE_TERMINATE','change$','update','INGEST','createInstance','_getCtorByUniverType','collaborators','charAt','roomInfos','includes','loadOfflineData','action','COMPLETION_FINISHED','_clearHeartbeatTimer','CONNECTOR_DATA_TOO_LARGE','concat','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getCurrentUnitForType','getUnitId','_exhaustRemoteChangesetQueue','enc','sessionTicket','_transformStateCache','getMemberID','_userManagerService','dispose$'];_0x4544=function(){return _0x33b2f8;};return _0x4544();}function zn(_0x54b409){var _0x2306aa=_0x2a3857,_0x43c06b,_0xbad0dc,_0x50a7a3,_0x3c74e7,_0x70138e;const _0x4c0a63=_0x54b409[_0x2306aa(0x13b)],_0x4d46bf=JSON[_0x2306aa(0x389)](_0x4c0a63);switch(_0x4d46bf[_0x2306aa(0x39b)]){case F[_0x2306aa(0x354)]:case F[_0x2306aa(0x121)]:{const _0x45f629=_0x4d46bf[_0x2306aa(0x1d3)];return{..._0x4d46bf,'data':_0x45f629,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};}case F['JOIN']:{const _0x30c4a4=_0x4d46bf[_0x2306aa(0x3f1)];return{..._0x4d46bf,'data':_0x30c4a4,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};}case F[_0x2306aa(0x173)]:{const _0x2d7110=_0x4d46bf[_0x2306aa(0x35b)];switch(_0x2d7110[_0x2306aa(0x383)]){case _0x562849[_0x2306aa(0x348)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x43c06b=_0x2d7110['permissionRejEvent'])==null?void 0x0:_0x43c06b['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x16c)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0xbad0dc=_0x2d7110[_0x2306aa(0x2c8)])==null?void 0x0:_0xbad0dc['cs']},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x174)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x50a7a3=_0x2d7110[_0x2306aa(0x3da)])==null?void 0x0:_0x50a7a3['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x1d1)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x3c74e7=_0x2d7110[_0x2306aa(0x3f2)])==null?void 0x0:_0x3c74e7['cs']},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x3c3)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x70138e=_0x2d7110[_0x2306aa(0x1f5)])==null?void 0x0:_0x70138e['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x297)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x3d4)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x37a)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x245)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x212)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x2e6)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849['LIVESHARE_NEW_HOST']:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110['liveShareNewHost']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x153)]:case _0x562849[_0x2306aa(0x2d8)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x356)]},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x3a2)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x312)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x2b5)]:return{..._0x4d46bf,'data':_0x2d7110,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x244)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x25b)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x183)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x272)]},'cmd':_0x4d46bf['cmd']};case _0x562849['SHOULD_CLOSE_CONN']:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x25c)]},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x340)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x2b3)]},'cmd':_0x4d46bf['cmd']};default:return _0x4d46bf;}}default:return _0x4d46bf;}}function Yn(_0x50eef4){var _0x1a0147=_0x2a3857;switch(_0x50eef4['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4[_0x1a0147(0x2ca)]});case F[_0x1a0147(0x3a5)]:{let _0x4fd299;switch(_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x383)]){case _0x562849[_0x1a0147(0x297)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x297)],'updateCursorEvent':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x212)]:{_0x4fd299={'eventID':_0x562849['USERS_LEAVE'],'leaveEvent':_0x50eef4['data'][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x37a)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x37a)],'joinEvent':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x243)]:{_0x4fd299={'eventID':_0x562849['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x50eef4[_0x1a0147(0x13b)]['data']};break;}case _0x562849[_0x1a0147(0x2d8)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x2d8)],'liveShareOperation':_0x50eef4['data'][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x3a2)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x3a2)],'liveShareTerminate':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x252)]:{_0x4fd299={'eventID':_0x562849['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x153)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x153)]};break;}default:_0x4fd299={'eventID':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x383)]};}return JSON['stringify']({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4['routeKey'],'collaMsg':_0x4fd299});}case F['JOIN']:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4['routeKey'],'joinReq':_0x50eef4['data']});case F[_0x1a0147(0x18f)]:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4[_0x1a0147(0x2ca)],'leaveReq':_0x50eef4[_0x1a0147(0x13b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qn=Object[_0x2a3857(0x239)],Jn=Object[_0x2a3857(0x1e9)],Xn=(_0x462080,_0x239000,_0x564636,_0x7355fe)=>{var _0x571a0f=_0x2a3857;for(var _0x4f172c=_0x7355fe>0x1?void 0x0:_0x7355fe?Jn(_0x239000,_0x564636):_0x239000,_0x3f86f7=_0x462080[_0x571a0f(0x32e)]-0x1,_0x492ac7;_0x3f86f7>=0x0;_0x3f86f7--)(_0x492ac7=_0x462080[_0x3f86f7])&&(_0x4f172c=(_0x7355fe?_0x492ac7(_0x239000,_0x564636,_0x4f172c):_0x492ac7(_0x4f172c))||_0x4f172c);return _0x7355fe&&_0x4f172c&&qn(_0x239000,_0x564636,_0x4f172c),_0x4f172c;},Ue=(_0xb483a7,_0x53418c)=>(_0x330990,_0xd2a3f6)=>_0x53418c(_0x330990,_0xd2a3f6,_0xb483a7);const Ri=_0x357b15(_0x2a3857(0x2ed));function Zn(_0x5e7e90,_0x4694ff,_0x528fa5){var _0x8614bc=_0x2a3857;return _0x5e7e90+'/'+_0x4694ff+_0x8614bc(0x3e1)+_0x528fa5+_0x8614bc(0x3e0);}let It=class extends _0x2e140f{constructor(_0x34c77d,_0x2e2a60,_0x5e96c0,_0xeff302,_0x24ddcf){var _0x5cd11d=_0x2a3857;super(),this['_injector']=_0x34c77d,this[_0x5cd11d(0x420)]=_0x2e2a60,this['_configService']=_0x5e96c0,this[_0x5cd11d(0x335)]=_0xeff302,this['_snapshotServerService']=_0x24ddcf;}[_0x2a3857(0x285)](_0x45e7f2){var _0x3f19dd=_0x2a3857;const _0x2ba3a2=this[_0x3f19dd(0x158)][_0x3f19dd(0x21d)](_0x4f6f60);if(!_0x2ba3a2)throw new Error(_0x3f19dd(0x3ce));const _0x1f042c=_0x2ba3a2[_0x3f19dd(0x285)](_0x45e7f2);if(!_0x1f042c)throw new Error(_0x3f19dd(0x1cf));const _0x41a4bb=new _0x595a80(),_0x2497da=new _0x282fa7();_0x41a4bb[_0x3f19dd(0x1c3)](_0x1f042c[_0x3f19dd(0x2f5)][_0x3f19dd(0x2cb)](_0x599d62=>_0x2497da[_0x3f19dd(0x386)](_0x599d62))),_0x41a4bb['add'](_0x30af1d(()=>_0x2497da[_0x3f19dd(0x25a)]()));const _0x25e5bd=new _0x282fa7();_0x41a4bb['add'](_0x1f042c['error$'][_0x3f19dd(0x2cb)](_0x344837=>_0x25e5bd[_0x3f19dd(0x386)](_0x344837))),_0x41a4bb[_0x3f19dd(0x1c3)](_0x30af1d(()=>_0x25e5bd[_0x3f19dd(0x25a)]()));const _0x276312=new _0x282fa7();_0x41a4bb[_0x3f19dd(0x1c3)](_0x1f042c[_0x3f19dd(0x331)]['subscribe'](_0x3166f6=>{var _0x2cb05e=_0x3f19dd;const _0x14d4ba=zn(_0x3166f6);_0x276312[_0x2cb05e(0x386)](_0x14d4ba);})),_0x41a4bb[_0x3f19dd(0x1c3)](_0x30af1d(()=>_0x276312[_0x3f19dd(0x25a)]()));let _0x42da93;const _0x119b2f=()=>{var _0xf80e04=_0x3f19dd;_0x25e5bd['next'](new Event(_0xf80e04(0x204))),_0x2497da[_0xf80e04(0x386)](new CloseEvent(_0xf80e04(0x204))),_0x42da93['close']();};return _0x42da93={'memberID':'','close$':_0x2497da['asObservable'](),'error$':_0x25e5bd[_0x3f19dd(0x2e0)](),'open$':_0x1f042c[_0x3f19dd(0x20d)],'message$':_0x276312[_0x3f19dd(0x2e0)](),'send':_0x5aab5a=>{var _0x27b48a=_0x3f19dd;if(_0x5aab5a['cmd']===F[_0x27b48a(0x3a5)]){if(_0x5aab5a['data'][_0x27b48a(0x383)]===_0x562849[_0x27b48a(0x352)]){this['_submitChangeset'](_0x42da93,_0x5aab5a[_0x27b48a(0x13b)])[_0x27b48a(0x1f7)](_0x58b59f=>{var _0x463f0b=_0x27b48a;this[_0x463f0b(0x335)]['error'](_0x58b59f),_0x119b2f();});return;}if(_0x5aab5a['data'][_0x27b48a(0x383)]===_0x562849[_0x27b48a(0x1e7)]){const _0x3c7622=_0x5aab5a[_0x27b48a(0x13b)];this[_0x27b48a(0x267)](_0x3c7622)[_0x27b48a(0x192)](_0x154985=>{var _0x313199=_0x27b48a;_0x276312[_0x313199(0x386)]({'cmd':F[_0x313199(0x173)],'code':Ee['OK'],'routeKey':_0x3c7622[_0x313199(0x13b)][_0x313199(0x12e)],'routeType':'','data':{'eventID':_0x562849[_0x313199(0x36a)],'data':{'changesets':_0x154985}}});})[_0x27b48a(0x1f7)](_0x57a7a0=>{var _0x447cf6=_0x27b48a;this[_0x447cf6(0x335)][_0x447cf6(0x119)](_0x57a7a0),_0x119b2f();});return;}}_0x1f042c[_0x27b48a(0x19f)](Yn(_0x5aab5a));},'close':()=>{var _0x38c328=_0x3f19dd;_0x1f042c[_0x38c328(0x384)](),_0x41a4bb[_0x38c328(0x3d7)]();}},_0x42da93;}async[_0x2a3857(0x3c9)](_0x18f12f,_0x29e2db){var _0x3ba5e4=_0x2a3857,_0x5a3691,_0x2fbadd;const {unitType:_0x58699f,unitID:_0x25e95e,changeset:_0x393dfc}=_0x29e2db[_0x3ba5e4(0x13b)],_0x1ebdbc={'unitID':_0x25e95e,'memberID':_0x18f12f['memberID'],'type':_0x58699f,'changeset':_0x1a5c1c(_0x393dfc)},_0x3dcdb1=this[_0x3ba5e4(0x205)]['getConfig'](Fn),_0x498141=this[_0x3ba5e4(0x205)][_0x3ba5e4(0x122)](Y),_0x5b486d=Zn((_0x2fbadd=(_0x5a3691=_0x498141==null?void 0x0:_0x498141[_0x3ba5e4(0x403)])!=null?_0x5a3691:_0x3dcdb1)!=null?_0x2fbadd:Vn,_0x58699f,_0x25e95e);try{await this[_0x3ba5e4(0x420)]['post'](_0x5b486d,{'body':_0x1ebdbc});}catch(_0x274dee){throw this[_0x3ba5e4(0x335)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x274dee;}}async[_0x2a3857(0x267)](_0x4b6d3b){var _0x79cc2=_0x2a3857;const {unitID:_0x478498,from:_0x23fe1f,to:_0x43c644,unitType:_0x23d12a}=_0x4b6d3b[_0x79cc2(0x13b)];return(await this[_0x79cc2(0x310)][_0x79cc2(0x1e2)]({'metadata':void 0x0},{'unitID':_0x478498,'type':_0x23d12a,'from':_0x23fe1f,'to':_0x43c644}))[_0x79cc2(0x350)];}};It=Xn([Ue(0x0,_0x21b3b2(_0x548366)),Ue(0x1,_0x21b3b2(_0x4fa095)),Ue(0x2,_0x24bebb),Ue(0x3,_0x4e1c8f),Ue(0x4,_0x2b19c8)],It);const Qn=_0x2a3857(0x1be);function es(_0x4b8df7){var _0x56a0a8=_0x2a3857;return JSON[_0x56a0a8(0x178)](_0x4b8df7)['length'];}class yi{constructor(){var _0x4769a9=_0x2a3857;P(this,'_commentUpdate$',new _0x282fa7()),P(this,_0x4769a9(0x1c7),this[_0x4769a9(0x224)]['asObservable']());}[_0x2a3857(0x222)](_0x4d9366){var _0x2b1b67=_0x2a3857;this[_0x2b1b67(0x224)]['next'](_0x4d9366);}}var ts=Object[_0x2a3857(0x239)],is=Object[_0x2a3857(0x1e9)],ns=(_0x4727ce,_0x21bda0,_0xb320eb,_0x30f8c6)=>{var _0x30ffa9=_0x2a3857;for(var _0x58cd7b=_0x30f8c6>0x1?void 0x0:_0x30f8c6?is(_0x21bda0,_0xb320eb):_0x21bda0,_0x50b548=_0x4727ce[_0x30ffa9(0x32e)]-0x1,_0x4e901c;_0x50b548>=0x0;_0x50b548--)(_0x4e901c=_0x4727ce[_0x50b548])&&(_0x58cd7b=(_0x30f8c6?_0x4e901c(_0x21bda0,_0xb320eb,_0x58cd7b):_0x4e901c(_0x58cd7b))||_0x58cd7b);return _0x30f8c6&&_0x58cd7b&&ts(_0x21bda0,_0xb320eb,_0x58cd7b),_0x58cd7b;},Yt=(_0x1bffd3,_0x1e8ff8)=>(_0xc03f96,_0x1813bc)=>_0x1e8ff8(_0xc03f96,_0x1813bc,_0x1bffd3);let xe=class extends _0x2e140f{constructor(_0x584a39,_0x3c86fc){var _0x5047e0=_0x2a3857;super(),P(this,_0x5047e0(0x30e),new Map()),P(this,_0x5047e0(0x2de),new _0x282fa7()),(this[_0x5047e0(0x3cd)]=_0x584a39,this[_0x5047e0(0x3ba)]=_0x3c86fc,this[_0x5047e0(0x1c1)](_0xc9cdeb(this['_univerInstanceService'][_0x5047e0(0x39f)](_0x465e07[_0x5047e0(0x292)])[_0x5047e0(0x369)](_0x4bf464(_0x41bb28=>_0x41bb28[_0x5047e0(0x3b4)]())),this[_0x5047e0(0x3cd)][_0x5047e0(0x39f)](_0x465e07['UNIVER_DOC'])[_0x5047e0(0x369)](_0x4bf464(_0x46df92=>_0x46df92[_0x5047e0(0x3b4)]())),this[_0x5047e0(0x3cd)][_0x5047e0(0x39f)](_0x465e07[_0x5047e0(0x203)])[_0x5047e0(0x369)](_0x4bf464(_0x4ece78=>_0x4ece78['getUnitId']())))[_0x5047e0(0x2cb)](_0x1d62f1=>this[_0x5047e0(0x31d)](_0x1d62f1))));}['waitForRoom$'](_0xbda519){var _0x1a7081=_0x2a3857;return this[_0x1a7081(0x30e)][_0x1a7081(0x40d)](_0xbda519)?_0x59284b(this[_0x1a7081(0x30e)][_0x1a7081(0x21d)](_0xbda519)):this[_0x1a7081(0x2de)][_0x1a7081(0x369)](_0x4bf464(_0x1e8d69=>{if(_0x1e8d69===_0xbda519)return this['_roomMembers']['get'](_0x1e8d69);}));}[_0x2a3857(0x404)](_0x15a74b){var _0x5a29d7=_0x2a3857;this[_0x5a29d7(0x3ba)][_0x5a29d7(0x404)](_0x15a74b);}[_0x2a3857(0x3ed)](){var _0x5df71a=_0x2a3857;return this[_0x5df71a(0x3ba)]['getCurrentUser']();}[_0x2a3857(0x211)](_0x5e5c51,_0x22739a){var _0x56311d=_0x2a3857;let _0x5b7c85=this[_0x56311d(0x30e)][_0x56311d(0x21d)](_0x5e5c51);_0x5b7c85||(_0x5b7c85=new ss(),this[_0x56311d(0x30e)][_0x56311d(0x3d2)](_0x5e5c51,_0x5b7c85),this[_0x56311d(0x2de)][_0x56311d(0x386)](_0x5e5c51)),_0x5b7c85[_0x56311d(0x211)](_0x22739a);}[_0x2a3857(0x16b)](_0x2ba221,_0x2def9e){var _0x3c5207=_0x2a3857;const _0x97ac18=this[_0x3c5207(0x30e)][_0x3c5207(0x21d)](_0x2ba221);_0x97ac18&&_0x97ac18[_0x3c5207(0x16b)](_0x2def9e);}['getRoom'](_0x19b4e4){var _0x11dcf9=_0x2a3857;return this[_0x11dcf9(0x30e)][_0x11dcf9(0x21d)](_0x19b4e4);}['getMember'](_0x40818b,_0x3368b3){var _0x3135dd=_0x2a3857;const _0x50793e=this[_0x3135dd(0x30e)]['get'](_0x40818b);if(_0x50793e)return _0x50793e['getMember'](_0x3368b3);}[_0x2a3857(0x31d)](_0x2b475a){var _0x1fb477=_0x2a3857;const _0x3420e2=this[_0x1fb477(0x30e)]['get'](_0x2b475a);_0x3420e2&&(_0x3420e2[_0x1fb477(0x3d7)](),this[_0x1fb477(0x30e)][_0x1fb477(0x1a7)](_0x2b475a));}[_0x2a3857(0x3d7)](){var _0xe1aa59=_0x2a3857;this[_0xe1aa59(0x30e)][_0xe1aa59(0x168)](_0x54c45f=>_0x54c45f[_0xe1aa59(0x3d7)]()),this['_roomMembers'][_0xe1aa59(0x38d)](),this[_0xe1aa59(0x2de)][_0xe1aa59(0x25a)]();}};xe=ns([Yt(0x0,_0x40e127),Yt(0x1,_0x21b3b2(_0xba64f5))],xe);class ss extends _0x2e140f{constructor(){var _0x2e226b=_0x2a3857;super(...arguments),P(this,'_members',new Map()),P(this,_0x2e226b(0x23d),new _0x500ff8(this[_0x2e226b(0x40a)])),P(this,_0x2e226b(0x299),this[_0x2e226b(0x23d)][_0x2e226b(0x2e0)]());}['dispose'](){var _0x49ac11=_0x2a3857;this[_0x49ac11(0x40a)][_0x49ac11(0x38d)]();}[_0x2a3857(0x211)](_0x4cc9ab){var _0x44b478=_0x2a3857;this[_0x44b478(0x40a)][_0x44b478(0x3d2)](_0x4cc9ab[_0x44b478(0x194)],_0x4cc9ab),this[_0x44b478(0x18c)]();}[_0x2a3857(0x16b)](_0x1ee413){var _0x2dbc04=_0x2a3857;this['_members'][_0x2dbc04(0x1a7)](_0x1ee413);}[_0x2a3857(0x1a4)](_0x570fdb){var _0x2e4a24=_0x2a3857;return this[_0x2e4a24(0x40a)][_0x2e4a24(0x21d)](_0x570fdb);}[_0x2a3857(0x218)](){var _0x10912b=_0x2a3857;return Array[_0x10912b(0x2a6)](this['_members'][_0x10912b(0x349)]());}[_0x2a3857(0x18c)](){var _0x5ee34b=_0x2a3857;this[_0x5ee34b(0x23d)][_0x5ee34b(0x386)](this[_0x5ee34b(0x40a)]);}}var rs=Object[_0x2a3857(0x239)],os=Object['getOwnPropertyDescriptor'],as=(_0x10b3ec,_0x29d212,_0x2857bb,_0x537e4d)=>{var _0x522f0c=_0x2a3857;for(var _0x265df0=_0x537e4d>0x1?void 0x0:_0x537e4d?os(_0x29d212,_0x2857bb):_0x29d212,_0x1de079=_0x10b3ec[_0x522f0c(0x32e)]-0x1,_0x512f5c;_0x1de079>=0x0;_0x1de079--)(_0x512f5c=_0x10b3ec[_0x1de079])&&(_0x265df0=(_0x537e4d?_0x512f5c(_0x29d212,_0x2857bb,_0x265df0):_0x512f5c(_0x265df0))||_0x265df0);return _0x537e4d&&_0x265df0&&rs(_0x29d212,_0x2857bb,_0x265df0),_0x265df0;},me=(_0x26f453,_0x329791)=>(_0x3dd337,_0x40d714)=>_0x329791(_0x3dd337,_0x40d714,_0x26f453),Te=(_0x4e109d=>(_0x4e109d[_0x4e109d[_0x2a3857(0x40e)]=0x0]='IDLE',_0x4e109d[_0x4e109d[_0x2a3857(0x147)]=0x1]='JOINING',_0x4e109d[_0x4e109d[_0x2a3857(0x32b)]=0x2]=_0x2a3857(0x32b),_0x4e109d[_0x4e109d['ONLINE']=0x3]='ONLINE',_0x4e109d))(Te||{});const qt={[Ee[_0x2a3857(0x296)]]:_0x2a3857(0x30a),[Ee[_0x2a3857(0x20c)]]:_0x2a3857(0x343),[Ee[_0x2a3857(0x1af)]]:'session.room-not-exists',[Ee[_0x2a3857(0x12f)]]:_0x2a3857(0x14b),[Ee[_0x2a3857(0x16a)]]:_0x2a3857(0x1b8)};let Tt=class extends _0x3f0249{constructor(_0x280b69,_0xaf430f,_0x56efa7,_0x304da6,_0x2706f9,_0x828c22,_0x5322c3,_0x452c64,_0x2d17d0){var _0x2dfde3=_0x2a3857;super(),P(this,'_sessionStatus$',new _0x500ff8(0x0)),P(this,_0x2dfde3(0x376),this[_0x2dfde3(0x16f)][_0x2dfde3(0x2e0)]()),P(this,_0x2dfde3(0x3e6),new _0x282fa7()),P(this,_0x2dfde3(0x2a9),this[_0x2dfde3(0x3e6)][_0x2dfde3(0x2e0)]()),P(this,_0x2dfde3(0x14d)),P(this,_0x2dfde3(0x23f)),P(this,_0x2dfde3(0x351)),P(this,_0x2dfde3(0x125),!0x1),P(this,_0x2dfde3(0x27b),null),(this[_0x2dfde3(0x163)]=_0x280b69,this[_0x2dfde3(0x335)]=_0x56efa7,this[_0x2dfde3(0x205)]=_0x304da6,this[_0x2dfde3(0x1ad)]=_0x2706f9,this[_0x2dfde3(0x185)]=_0x828c22,this[_0x2dfde3(0x1f2)]=_0x5322c3,this['_collaborationUIEventService']=_0x452c64,this['_telemetryService']=_0x2d17d0,this[_0x2dfde3(0x125)]=!!this[_0x2dfde3(0x2c4)],_0xaf430f['pipe'](_0x49b26f(this['dispose$']))['subscribe'](_0xda58fb=>{var _0x3b34c0=_0x2dfde3,_0x328a1d;typeof _0xda58fb>'u'||(this['_socket']=_0xda58fb,_0xda58fb?(this[_0x3b34c0(0x1b7)](_0xda58fb),this['_socketMessageSubscription']=_0xda58fb[_0x3b34c0(0x331)][_0x3b34c0(0x2cb)](_0x50658f=>{var _0x34a339=_0x3b34c0;_0x50658f[_0x34a339(0x2ca)]===this[_0x34a339(0x163)]&&this[_0x34a339(0x34f)](_0x50658f);})):(this[_0x3b34c0(0x132)](),this[_0x3b34c0(0x16f)][_0x3b34c0(0x386)](0x2),(_0x328a1d=this[_0x3b34c0(0x23f)])==null||_0x328a1d[_0x3b34c0(0x3fd)](),this[_0x3b34c0(0x23f)]=null));}));}get['sessionStatus'](){var _0x50c6b7=_0x2a3857;return this[_0x50c6b7(0x16f)][_0x50c6b7(0x274)]();}[_0x2a3857(0x3b9)](){var _0x1d0eb4=_0x2a3857,_0x5275df,_0x3fb6f5;return(_0x3fb6f5=(_0x5275df=this[_0x1d0eb4(0x14d)])==null?void 0x0:_0x5275df[_0x1d0eb4(0x194)])!=null?_0x3fb6f5:null;}[_0x2a3857(0x3d7)](){var _0x10a704=_0x2a3857;super[_0x10a704(0x3d7)](),this[_0x10a704(0x3bb)][_0x10a704(0x386)](),this[_0x10a704(0x3bb)][_0x10a704(0x25a)]();}[_0x2a3857(0x384)](){var _0x1996fc=_0x2a3857,_0x3c7ce8,_0x16f2c0;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3c7ce8=this[_0x1996fc(0x14d)])==null||_0x3c7ce8['send']({'cmd':F[_0x1996fc(0x18f)],'data':{'roomID':this['_unitID']}}),(_0x16f2c0=this[_0x1996fc(0x14d)])==null||_0x16f2c0[_0x1996fc(0x384)](),this['_event$']['complete'](),this[_0x1996fc(0x16f)][_0x1996fc(0x25a)](),this['dispose']();}[_0x2a3857(0x34f)](_0x157a78){var _0x56c9ce=_0x2a3857;_0x157a78[_0x56c9ce(0x39b)]===F[_0x56c9ce(0x149)]?this[_0x56c9ce(0x1b6)](_0x157a78):_0x157a78[_0x56c9ce(0x39b)]===F[_0x56c9ce(0x173)]&&this[_0x56c9ce(0x392)](_0x157a78);}['_joinRoom'](_0x887e6e){var _0x2d936a=_0x2a3857;this['_sessionStatus$'][_0x2d936a(0x386)](0x1),_0x887e6e[_0x2d936a(0x19f)]({'cmd':F[_0x2d936a(0x149)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d936a(0x163)]}]}});}[_0x2a3857(0x1b6)](_0x1207d5){var _0x22ec97=_0x2a3857,_0x24de29;if(_0x1207d5[_0x22ec97(0x39d)]in qt){this['_collaborationUIEventService'][_0x22ec97(0x3db)]({'id':re[_0x22ec97(0x39e)],'data':qt[_0x1207d5[_0x22ec97(0x39d)]]}),this[_0x22ec97(0x16f)][_0x22ec97(0x386)](0x2);return;}this[_0x22ec97(0x16f)]['next'](0x3);const _0x35d2b2=(_0x24de29=_0x1207d5[_0x22ec97(0x13b)][_0x22ec97(0x3aa)][this[_0x22ec97(0x163)]])==null?void 0x0:_0x24de29[_0x22ec97(0x221)];_0x35d2b2&&_0x35d2b2['forEach'](_0x493376=>this[_0x22ec97(0x185)][_0x22ec97(0x211)](this['_unitID'],_0x493376));}[_0x2a3857(0x392)](_0x5ed69d){var _0x44643c=_0x2a3857;try{const _0x432a02=_0x5ed69d[_0x44643c(0x13b)];switch(_0x432a02[_0x44643c(0x383)]){case _0x562849['USERS_ENTER']:this[_0x44643c(0x33a)](_0x432a02),this['_event$'][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x212)]:this[_0x44643c(0x37f)](_0x432a02),this['_event$'][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x16c)]:case _0x562849['CHANGESET_SHOULD_RETRY']:this[_0x44643c(0x208)](),this[_0x44643c(0x395)](),this[_0x44643c(0x3e6)][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x2b5)]:this[_0x44643c(0x335)][_0x44643c(0x119)](_0x44643c(0x19c)+JSON[_0x44643c(0x178)](_0x432a02)),this[_0x44643c(0x3e6)][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x244)]:this[_0x44643c(0x1f2)]['onCommentUpdate'](_0x432a02[_0x44643c(0x13b)]),this[_0x44643c(0x3e6)]['next'](_0x432a02);break;default:this[_0x44643c(0x3e6)]['next'](_0x432a02);}}catch(_0xcc168d){this['_logService']['error'](_0xcc168d,_0x5ed69d);}}['_onUserJoin'](_0x67e2f0){var _0x241d76=_0x2a3857;this[_0x241d76(0x185)][_0x241d76(0x211)](this[_0x241d76(0x163)],_0x67e2f0['data']);}[_0x2a3857(0x37f)](_0x5b0171){var _0x322503=_0x2a3857;this[_0x322503(0x185)][_0x322503(0x16b)](this['_unitID'],_0x5b0171[_0x322503(0x13b)][_0x322503(0x194)]);}async[_0x2a3857(0x19f)](_0x2581dc,_0x5842ac){var _0x16c857=_0x2a3857;if(this[_0x16c857(0x385)]!==0x3||!this[_0x16c857(0x14d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2581dc[_0x16c857(0x383)]===_0x562849[_0x16c857(0x352)]&&(this[_0x16c857(0x2fd)](),this[_0x16c857(0x2f1)](_0x2581dc)),this[_0x16c857(0x14d)][_0x16c857(0x19f)]({'cmd':F['INGEST'],'routeKey':_0x5842ac,'routeType':'','data':_0x2581dc});}catch(_0x372c81){this[_0x16c857(0x335)][_0x16c857(0x119)](_0x372c81);}}[_0x2a3857(0x2fd)](){var _0x57fded=_0x2a3857,_0x2615c5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x79adbe=_0x5b8f;this[_0x79adbe(0x351)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x79adbe(0x124)]});},(_0x2615c5=this[_0x57fded(0x205)][_0x57fded(0x122)](Ii))!=null?_0x2615c5:Ti);}[_0x2a3857(0x395)](){var _0x3e8b5f=_0x2a3857;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3e8b5f(0x351)]),this[_0x3e8b5f(0x351)]=null);}[_0x2a3857(0x2f1)](_0x15e310){var _0x55c0c4=_0x2a3857;if(!this[_0x55c0c4(0x125)])return;const {data:_0x1c7039}=_0x15e310,{unitID:_0x1d5cc4,changeset:_0x3c8d33}=_0x1c7039,{mutations:_0xc9fe2f,type:_0x306498}=_0x3c8d33;this['_telemetryInfo']={'unitId':_0x1d5cc4,'type':_0x306498,'startTime':performance[_0x55c0c4(0x314)](),'stopTime':0x0,'duration':0x0,'size':es(_0xc9fe2f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1eff34=_0x2a3857;if(this[_0x1eff34(0x125)]){if(!this[_0x1eff34(0x27b)]){this['_logService']['error'](_0x1eff34(0x2af),_0x1eff34(0x333));return;}this['_telemetryInfo']['stopTime']=performance[_0x1eff34(0x314)](),this[_0x1eff34(0x27b)]['duration']=this[_0x1eff34(0x27b)][_0x1eff34(0x328)]-this[_0x1eff34(0x27b)][_0x1eff34(0x213)],this[_0x1eff34(0x2c4)][_0x1eff34(0x3dd)](Qn,this[_0x1eff34(0x27b)]),this[_0x1eff34(0x27b)]=null;}}[_0x2a3857(0x132)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x4e1c8f),me(0x3,_0x24bebb),me(0x4,_0x21b3b2(_0x551f00)),me(0x5,_0x21b3b2(xe)),me(0x6,_0x21b3b2(yi)),me(0x7,_0x21b3b2(pe)),me(0x8,_0x10c77b(_0xad6476))],Tt);var cs=Object[_0x2a3857(0x239)],hs=Object[_0x2a3857(0x1e9)],_s=(_0x1b3dd4,_0x139b54,_0x3cfd2f,_0x56f866)=>{for(var _0x30fabf=_0x56f866>0x1?void 0x0:_0x56f866?hs(_0x139b54,_0x3cfd2f):_0x139b54,_0x273b6a=_0x1b3dd4['length']-0x1,_0x3ce676;_0x273b6a>=0x0;_0x273b6a--)(_0x3ce676=_0x1b3dd4[_0x273b6a])&&(_0x30fabf=(_0x56f866?_0x3ce676(_0x139b54,_0x3cfd2f,_0x30fabf):_0x3ce676(_0x30fabf))||_0x30fabf);return _0x56f866&&_0x30fabf&&cs(_0x139b54,_0x3cfd2f,_0x30fabf),_0x30fabf;},ge=(_0x2d2e52,_0x56fdb2)=>(_0x22655b,_0x2f9193)=>_0x56fdb2(_0x22655b,_0x2f9193,_0x2d2e52);let Le=class extends _0x2e140f{constructor(_0x2c5992,_0x2596f1,_0x37954f,_0xf86b0d,_0x1f040d,_0x13bf73,_0x1e0aef){var _0x4a6950=_0x2a3857;super(),P(this,_0x4a6950(0x287),new _0x500ff8(void 0x0)),P(this,_0x4a6950(0x372),this['_socket$'][_0x4a6950(0x2e0)]()),P(this,_0x4a6950(0x193),null),P(this,_0x4a6950(0x405),new Map()),P(this,_0x4a6950(0x34d),new _0x500ff8(Te[_0x4a6950(0x40e)])),P(this,_0x4a6950(0x258),this[_0x4a6950(0x34d)][_0x4a6950(0x2e0)]()),P(this,_0x4a6950(0x17f),!0x1),P(this,'_retryConnectingTimer'),P(this,'_retryCount',0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x4a6950(0x246)),(this[_0x4a6950(0x158)]=_0x2c5992,this['_logService']=_0x2596f1,this[_0x4a6950(0x205)]=_0x37954f,this[_0x4a6950(0x1b5)]=_0xf86b0d,this[_0x4a6950(0x330)]=_0x1f040d,this[_0x4a6950(0x30d)]=_0x13bf73,this[_0x4a6950(0x118)]=_0x1e0aef,this['_listenToNetworkCondition']());}get[_0x2a3857(0x14d)](){var _0x1ff060=_0x2a3857;return this[_0x1ff060(0x287)][_0x1ff060(0x274)]();}['_listenToNetworkCondition'](){var _0x4b0253=_0x2a3857;this['_networkConditionService']&&this[_0x4b0253(0x1c1)](this[_0x4b0253(0x118)]['online$'][_0x4b0253(0x2cb)](_0x2e54c5=>{var _0x4c42a7=_0x4b0253;_0x2e54c5&&!this['_socket']&&this['reconnect'](),_0x2e54c5||this[_0x4c42a7(0x41a)]();}));}[_0x2a3857(0x3d7)](){var _0x5d0ad0=_0x2a3857;super['dispose'](),this['_sessions'][_0x5d0ad0(0x168)](_0x233b99=>_0x233b99[_0x5d0ad0(0x3d7)]()),this['_sessions'][_0x5d0ad0(0x38d)](),this[_0x5d0ad0(0x34d)]['complete']();}async[_0x2a3857(0x411)](_0x1bf5fd){var _0x29044a=_0x2a3857;if(this[_0x29044a(0x405)][_0x29044a(0x40d)](_0x1bf5fd))return this[_0x29044a(0x405)][_0x29044a(0x21d)](_0x1bf5fd);this[_0x29044a(0x30b)]();const _0x589d97=this['_injector'][_0x29044a(0x3a6)](Tt,_0x1bf5fd,this[_0x29044a(0x287)][_0x29044a(0x2e0)]());return this['_sessions'][_0x29044a(0x3d2)](_0x1bf5fd,_0x589d97),_0x589d97;}[_0x2a3857(0x2b8)](_0x535c22){var _0x3180aa=_0x2a3857,_0x350485;const _0x5d9182=this[_0x3180aa(0x405)][_0x3180aa(0x21d)](_0x535c22);_0x5d9182&&(this[_0x3180aa(0x405)]['delete'](_0x535c22),_0x5d9182[_0x3180aa(0x384)]()),this[_0x3180aa(0x405)][_0x3180aa(0x280)]||(_0x350485=this[_0x3180aa(0x14d)])==null||_0x350485[_0x3180aa(0x384)]();}['reconnect'](){var _0x567ce6=_0x2a3857;this['_retryCount']=0x0,this[_0x567ce6(0x228)]!=null&&(clearTimeout(this[_0x567ce6(0x228)]),this['_retryConnectingTimer']=null),this[_0x567ce6(0x14f)]();}async[_0x2a3857(0x3d1)](){var _0x26f6be=_0x2a3857,_0x103d9c,_0x4c2c66,_0x4ced32;const _0x45b512=this[_0x26f6be(0x205)][_0x26f6be(0x122)](Y),_0xbae890=(_0x103d9c=_0x45b512==null?void 0x0:_0x45b512[_0x26f6be(0x25f)])!=null?_0x103d9c:Mn;return(_0x4ced32=(_0x4c2c66=(await this[_0x26f6be(0x330)][_0x26f6be(0x21d)](_0xbae890,{'headers':{'Content-Type':'application/json'}}))[_0x26f6be(0x1a1)])==null?void 0x0:_0x4c2c66['ticket'])!=null?_0x4ced32:'';}['_createSocketURL'](_0x209d1e){var _0x3d92ff=_0x2a3857,_0x47bf36,_0x5ca9f2;const _0x3991c5=this['_configService'][_0x3d92ff(0x122)](xn),_0x3d865a=this[_0x3d92ff(0x205)][_0x3d92ff(0x122)](Y),_0x25f64c=(_0x5ca9f2=(_0x47bf36=_0x3d865a==null?void 0x0:_0x3d865a['collabWebSocketUrl'])!=null?_0x47bf36:_0x3991c5)!=null?_0x5ca9f2:Ln,_0x115280=typeof window>'u'?new URL(_0x25f64c):new URL(_0x25f64c,window['location']['origin']);_0x115280[_0x3d92ff(0x236)][_0x3d92ff(0x3d2)](_0x3d92ff(0x3b7),_0x209d1e);const _0x180a74=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d92ff(0x38a)][_0x3d92ff(0x24d)]);return _0x180a74[_0x3d92ff(0x21d)](_0x3d92ff(0x214))&&_0x115280['searchParams'][_0x3d92ff(0x3d2)](_0x3d92ff(0x214),_0x180a74[_0x3d92ff(0x21d)](_0x3d92ff(0x214))),_0x115280['toString']();}async[_0x2a3857(0x2ac)](){var _0x1dfcb7=_0x2a3857;const _0x2fea7a=await this[_0x1dfcb7(0x3d1)](),_0x2499f3=this[_0x1dfcb7(0x2ba)](_0x2fea7a),_0x9ef8ef=this[_0x1dfcb7(0x1b5)]['createSocket'](_0x2499f3);return this[_0x1dfcb7(0x193)]=_0x9ef8ef,_0x9ef8ef;}async['_tryEnsureSocket'](){var _0x5590b9=_0x2a3857,_0x5aaef6,_0x4c4219;try{const _0x54ecbe=(_0x4c4219=(_0x5aaef6=this[_0x5590b9(0x14d)])!=null?_0x5aaef6:this[_0x5590b9(0x193)])!=null?_0x4c4219:await this['_createSocket']();if(_0x54ecbe){const _0x2dfd44=_0x54ecbe['send'];_0x54ecbe[_0x5590b9(0x19f)]=_0x3d9e68=>(this[_0x5590b9(0x12b)](),_0x2dfd44[_0x5590b9(0x2d3)](_0x54ecbe,[_0x3d9e68])),_0x54ecbe['message$'][_0x5590b9(0x2cb)](_0x46f9c4=>this[_0x5590b9(0x2c9)](_0x54ecbe,_0x46f9c4)),_0x54ecbe[_0x5590b9(0x2a2)][_0x5590b9(0x369)](_0x2fc287(0x1))[_0x5590b9(0x2cb)](_0x36f997=>this['_logService']['error'](_0x5590b9(0x1db),_0x36f997)),_0x54ecbe[_0x5590b9(0x20d)]['pipe'](_0x2fc287(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x54ecbe);}),_0x54ecbe[_0x5590b9(0x2f5)][_0x5590b9(0x369)](_0x2fc287(0x1))['subscribe'](_0x1307f7=>{var _0x1e7dfa=_0x5590b9;this[_0x1e7dfa(0x335)][_0x1e7dfa(0x412)](_0x1e7dfa(0x3e9),_0x1e7dfa(0x3c0),_0x1307f7),this['_onConnectionFailed']();});}}catch(_0x5a7b48){this['_logService']['error'](_0x5a7b48),this[_0x5590b9(0x2c3)]();}}[_0x2a3857(0x1f4)](_0x89e05){var _0x23da93=_0x2a3857;this[_0x23da93(0x335)][_0x23da93(0x412)](_0x23da93(0x3e9),_0x23da93(0x276)),_0x89e05[_0x23da93(0x19f)]({'cmd':F['HELLO']}),this[_0x23da93(0x12b)]();}[_0x2a3857(0x41a)](){var _0x3b3af9=_0x2a3857;this[_0x3b3af9(0x17f)]=!0x1,this['_candidateSocket']=null,this[_0x3b3af9(0x34d)]['next'](Te[_0x3b3af9(0x32b)]),this[_0x3b3af9(0x287)][_0x3b3af9(0x386)](null),this['_clearTimeoutTimer'](),this[_0x3b3af9(0x3af)]();}[_0x2a3857(0x2c3)](){var _0x16f5b4=_0x2a3857,_0x4aa44f;this[_0x16f5b4(0x41a)](),this[_0x16f5b4(0x410)]<((_0x4aa44f=this['_configService'][_0x16f5b4(0x122)](jn))!=null?_0x4aa44f:Bn)?(this[_0x16f5b4(0x30d)][_0x16f5b4(0x3db)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x16f5b4(0x14f)]()):this[_0x16f5b4(0x30d)][_0x16f5b4(0x3db)]({'id':re[_0x16f5b4(0x34c)]});}['_tryReconnect'](){var _0x5e9687=_0x2a3857,_0x2ae049;const _0x15df2f=this[_0x5e9687(0x410)],_0x303a87=this['_configService'][_0x5e9687(0x122)](Y),_0x407f3a=_0x15df2f===0x0?0x0:((_0x2ae049=_0x303a87==null?void 0x0:_0x303a87[_0x5e9687(0x26e)])!=null?_0x2ae049:kn)*0x2**_0x15df2f;this[_0x5e9687(0x228)]=setTimeout(()=>{var _0x1693d4=_0x5e9687;clearTimeout(this[_0x1693d4(0x228)]),this[_0x1693d4(0x228)]=null,this['_tryEnsureSocket']();},_0x407f3a),this[_0x5e9687(0x410)]+=0x1;}[_0x2a3857(0x2c9)](_0x476750,_0x35ad8d){var _0x4bfd4a=_0x2a3857;const {cmd:_0x50da3e}=_0x35ad8d;_0x50da3e===F[_0x4bfd4a(0x121)]&&!this[_0x4bfd4a(0x17f)]&&(_0x476750[_0x4bfd4a(0x194)]=_0x35ad8d[_0x4bfd4a(0x13b)][_0x4bfd4a(0x194)],this[_0x4bfd4a(0x287)]['next'](_0x476750),this[_0x4bfd4a(0x34d)][_0x4bfd4a(0x386)](Te['ONLINE']),this[_0x4bfd4a(0x17f)]=!0x0,this[_0x4bfd4a(0x193)]=null),_0x50da3e===F[_0x4bfd4a(0x354)]&&this['_clearTimeoutTimer'](),this[_0x4bfd4a(0x12b)]();}[_0x2a3857(0x12b)](){var _0x861ac3=_0x2a3857,_0x4ffe4c;this['_clearHeartbeatTimer'](),this[_0x861ac3(0x37b)]=setTimeout(()=>this[_0x861ac3(0x31b)](),(_0x4ffe4c=this['_configService'][_0x861ac3(0x122)]($n))!=null?_0x4ffe4c:Hn);}['_sendHeartbeat'](){var _0x242596=_0x2a3857;this[_0x242596(0x14d)][_0x242596(0x19f)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x2a3857(0x1e6)](){var _0x410d87=_0x2a3857,_0x3bb1b6;this[_0x410d87(0x246)]=setTimeout(()=>this[_0x410d87(0x2c3)](),(_0x3bb1b6=this[_0x410d87(0x205)][_0x410d87(0x122)](Ii))!=null?_0x3bb1b6:Ti);}['_clearHeartbeatTimer'](){var _0x33f307=_0x2a3857;this[_0x33f307(0x37b)]!=null&&(clearTimeout(this[_0x33f307(0x37b)]),this[_0x33f307(0x37b)]=null);}['_clearTimeoutTimer'](){var _0x4497a9=_0x2a3857;this[_0x4497a9(0x246)]!=null&&(clearTimeout(this[_0x4497a9(0x246)]),this[_0x4497a9(0x246)]=null);}};Le=_s([ge(0x0,_0x21b3b2(_0x548366)),ge(0x1,_0x4e1c8f),ge(0x2,_0x24bebb),ge(0x3,Ri),ge(0x4,_0x21b3b2(_0x4fa095)),ge(0x5,_0x21b3b2(pe)),ge(0x6,_0x10c77b(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x2a3857(0x28c)](0x10)[_0x2a3857(0x247)](0x1));function ls(_0x45bef5,_0x418948=0x0){var _0x27909a=_0x2a3857;return(V[_0x45bef5[_0x418948+0x0]]+V[_0x45bef5[_0x418948+0x1]]+V[_0x45bef5[_0x418948+0x2]]+V[_0x45bef5[_0x418948+0x3]]+'-'+V[_0x45bef5[_0x418948+0x4]]+V[_0x45bef5[_0x418948+0x5]]+'-'+V[_0x45bef5[_0x418948+0x6]]+V[_0x45bef5[_0x418948+0x7]]+'-'+V[_0x45bef5[_0x418948+0x8]]+V[_0x45bef5[_0x418948+0x9]]+'-'+V[_0x45bef5[_0x418948+0xa]]+V[_0x45bef5[_0x418948+0xb]]+V[_0x45bef5[_0x418948+0xc]]+V[_0x45bef5[_0x418948+0xd]]+V[_0x45bef5[_0x418948+0xe]]+V[_0x45bef5[_0x418948+0xf]])[_0x27909a(0x41d)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x63eae3=_0x2a3857;if(!dt){if(typeof crypto>'u'||!crypto[_0x63eae3(0x257)])throw new Error(_0x63eae3(0x3ca));dt=crypto[_0x63eae3(0x257)][_0x63eae3(0x225)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x2a3857(0x2fb)]&&crypto['randomUUID'][_0x2a3857(0x225)](crypto),Jt={'randomUUID':fs};function vs(_0x3521f1,_0x304f7b,_0x483fa4){var _0x2815c4=_0x2a3857;if(Jt[_0x2815c4(0x2fb)]&&!_0x304f7b&&!_0x3521f1)return Jt[_0x2815c4(0x2fb)]();_0x3521f1=_0x3521f1||{};const _0x8eeac2=_0x3521f1['random']||(_0x3521f1[_0x2815c4(0x152)]||ds)();return _0x8eeac2[0x6]=_0x8eeac2[0x6]&0xf|0x40,_0x8eeac2[0x8]=_0x8eeac2[0x8]&0x3f|0x80,ls(_0x8eeac2);}const X=_0x357b15('collaboration-client.local-cache-service');function po(_0x2a7b11){var _0x2d22c9=_0x2a3857;return _0x2d22c9(0x1c0)+_0x2a7b11;}var ps=Object[_0x2a3857(0x239)],ms=Object[_0x2a3857(0x1e9)],gs=(_0x327da7,_0x24d367,_0x56bb64,_0x55c4e5)=>{var _0x5f4a24=_0x2a3857;for(var _0x5d5137=_0x55c4e5>0x1?void 0x0:_0x55c4e5?ms(_0x24d367,_0x56bb64):_0x24d367,_0x4d1a41=_0x327da7[_0x5f4a24(0x32e)]-0x1,_0x5b2108;_0x4d1a41>=0x0;_0x4d1a41--)(_0x5b2108=_0x327da7[_0x4d1a41])&&(_0x5d5137=(_0x55c4e5?_0x5b2108(_0x24d367,_0x56bb64,_0x5d5137):_0x5b2108(_0x5d5137))||_0x5d5137);return _0x55c4e5&&_0x5d5137&&ps(_0x24d367,_0x56bb64,_0x5d5137),_0x5d5137;},ft=(_0xa82f77,_0x16a0a7)=>(_0x309ac8,_0x12fd46)=>_0x16a0a7(_0x309ac8,_0x12fd46,_0xa82f77);function Ss(_0x171a89){var _0x3285cd=_0x2a3857;const {unitID:_0x43493d,mutations:_0x376b9d}=_0x171a89;return{'unitId':_0x43493d,'subUnitId':_0x376b9d[0x0]['params'][_0x3285cd(0x327)]};}let nt=class{constructor(_0x10e7ca,_0xb3f91c,_0x106276){var _0xc79ceb=_0x2a3857;this['_injector']=_0x10e7ca,this[_0xc79ceb(0x26b)]=_0xb3f91c,this[_0xc79ceb(0x38b)]=_0x106276;}[_0x2a3857(0x377)](_0x2b1221){var _0xeaf651=_0x2a3857,_0x2a58a9,_0x41cdde,_0xd30d67,_0x1fbc48;const _0x179079=this[_0xeaf651(0x158)][_0xeaf651(0x21d)](_0x5c7668),{unitId:_0x2732d5,subUnitId:_0x42181c}=Ss(_0x2b1221),_0x147d88=_0x179079==null?void 0x0:_0x179079[_0xeaf651(0x137)](_0x2732d5)['getCurrentSelections'](),_0x58ae3a=(_0x41cdde=(_0x2a58a9=this[_0xeaf651(0x38b)][_0xeaf651(0x353)](_0x2732d5))==null?void 0x0:_0x2a58a9[_0xeaf651(0x1e3)]())==null?void 0x0:_0x41cdde[_0xeaf651(0x1c5)]();if(_0x147d88[_0xeaf651(0x32e)]===0x0||!_0x2732d5||!_0x42181c)return;const _0x3824cc=[{'id':_0x4301b8['id'],'params':{'unitId':_0x2732d5,'subUnitId':_0x58ae3a,'selections':_0x57b57d[_0xeaf651(0x3f6)](_0x147d88)}}],_0x13f5a9=this[_0xeaf651(0x26b)][_0xeaf651(0x1c4)](_0x2b1221,_0x3824cc);if(!_0x17f224(_0x13f5a9))throw _0x13f5a9[_0xeaf651(0x119)];const _0x53dd32=(_0x1fbc48=(_0xd30d67=_0x13f5a9[_0xeaf651(0x19d)][0x0])==null?void 0x0:_0xd30d67[_0xeaf651(0x146)])==null?void 0x0:_0x1fbc48[_0xeaf651(0x264)];if(Array['isArray'](_0x53dd32)&&_0x53dd32['length']){if(_0x53dd32['length']===_0x3824cc[0x0][_0xeaf651(0x146)][_0xeaf651(0x264)][_0xeaf651(0x32e)]&&_0x53dd32[_0xeaf651(0x12a)]((_0x565516,_0x239c24)=>_0x1aad94['equals'](_0x565516[_0xeaf651(0x29c)],_0x3824cc[0x0][_0xeaf651(0x146)][_0xeaf651(0x264)][_0x239c24][_0xeaf651(0x29c)])))return;this[_0xeaf651(0x158)][_0xeaf651(0x21d)](_0xd6fdcf)[_0xeaf651(0x2c1)](_0x4301b8['id'],{'unitId':_0x2732d5,'subUnitId':_0x58ae3a,'selections':_0x53dd32});}}};nt=gs([ft(0x0,_0x21b3b2(_0x548366)),ft(0x1,_0x59eb83),ft(0x2,_0x40e127)],nt);const _t=_0x357b15(_0x2a3857(0x3c2));var Oi=(_0x52730e=>(_0x52730e[_0x52730e[_0x2a3857(0x3e7)]=0x0]=_0x2a3857(0x3e7),_0x52730e[_0x52730e[_0x2a3857(0x2bf)]=0x1]=_0x2a3857(0x2bf),_0x52730e))(Oi||{});const Es=new Set([_0x5b2210['id']]);function Xt(_0x1d6bba,_0x58565b,_0x420452,_0x140e94,_0x3338de){var _0x3b80b0=_0x2a3857,_0x11bd44,_0x342914,_0x42c968,_0xaced27;const _0x4e51c0=[];for(const _0x198853 of _0x1d6bba)if(Es[_0x3b80b0(0x40d)](_0x198853['id'])){if(_0x4e51c0[_0x3b80b0(0x32e)]>0x0)break;_0x4e51c0[_0x3b80b0(0x271)](_0x198853);break;}else _0x4e51c0[_0x3b80b0(0x271)](_0x198853);const _0x6fd71d=(_0x342914=(_0x11bd44=_0x3338de['getCurrentUser']())==null?void 0x0:_0x11bd44[_0x3b80b0(0x12d)])!=null?_0x342914:_0x3b80b0(0x1e5),_0xa61b0a=(_0xaced27=(_0x42c968=_0x3338de[_0x3b80b0(0x3ed)]())==null?void 0x0:_0x42c968[_0x3b80b0(0x194)])!=null?_0xaced27:_0x3b80b0(0x1e5);return{'changeset':{'unitID':_0x58565b,'type':_0x5f2b7f(_0x420452[_0x3b80b0(0x378)](_0x58565b)),'baseRev':_0x140e94[_0x3b80b0(0x115)](_0x58565b),'revision':0x0,'userID':_0x6fd71d,'memberID':_0xa61b0a,'mutations':_0x4e51c0},'pendingMutations':_0x1d6bba[_0x3b80b0(0x247)](_0x4e51c0[_0x3b80b0(0x32e)])};}function Is(_0x16540c,_0x11e6ac,_0x34ea14,_0x5103a2,_0x5ba284){var _0x40e92d=_0x2a3857,_0x220ab7,_0x2a7027,_0x53a95d,_0x1565b1;const _0x217774=[_0x16540c['reduce']((_0x15837b,_0x5c2063)=>{var _0xb9d77c=_0x5b8f,_0x43d053;const {id:_0xe35ee9}=_0x15837b,{id:_0x29879e,type:_0x39f129}=_0x5c2063,_0x4d9099=(_0x43d053=_0x15837b[_0xb9d77c(0x146)])!=null?_0x43d053:{'actions':null},_0x39ae3e=_0x5c2063[_0xb9d77c(0x146)];if(_0xe35ee9&&_0xe35ee9!==_0x29879e)throw new Error(_0xb9d77c(0x126)+_0xe35ee9+_0xb9d77c(0x415)+_0x29879e+'.');return{..._0x15837b,'id':_0x29879e,'type':_0x39f129,'params':{'unitId':_0x39ae3e['unitId'],'textRanges':_0x39ae3e['textRanges'],'actions':_0x32150e[_0xb9d77c(0x219)](_0x4d9099[_0xb9d77c(0x3fc)],_0x39ae3e[_0xb9d77c(0x3fc)])}};},{})],_0x1a5414=(_0x2a7027=(_0x220ab7=_0x5ba284['getCurrentUser']())==null?void 0x0:_0x220ab7[_0x40e92d(0x12d)])!=null?_0x2a7027:'unknown',_0x226a30=(_0x1565b1=(_0x53a95d=_0x5ba284[_0x40e92d(0x3ed)]())==null?void 0x0:_0x53a95d[_0x40e92d(0x194)])!=null?_0x1565b1:'unknown';return{'changeset':{'unitID':_0x11e6ac,'type':_0x5f2b7f(_0x34ea14[_0x40e92d(0x378)](_0x11e6ac)),'baseRev':_0x5103a2['getCurrentRevOfUnit'](_0x11e6ac),'revision':0x0,'userID':_0x1a5414,'memberID':_0x226a30,'mutations':_0x217774},'pendingMutations':[]};}function Ni(_0x51809e,_0x19a36c){var _0x34900a=_0x2a3857;const _0x50e978=new _0x290582(0x1);return setTimeout(()=>_0x50e978['next'](_0x19a36c),_0x51809e),_0x50e978[_0x34900a(0x2e0)]()['pipe'](_0x20e9c1(0x1));}const Ts={'id':_0x14880c['id'],'type':_0xab8d9d[_0x2a3857(0x31a)],'params':{}};var Cs=Object[_0x2a3857(0x239)],bs=Object[_0x2a3857(0x1e9)],be=(_0x57d945,_0x11eb4a,_0x19e803,_0xdc686d)=>{var _0x5f4163=_0x2a3857;for(var _0x57d267=_0xdc686d>0x1?void 0x0:_0xdc686d?bs(_0x11eb4a,_0x19e803):_0x11eb4a,_0x3ccba3=_0x57d945[_0x5f4163(0x32e)]-0x1,_0x195d53;_0x3ccba3>=0x0;_0x3ccba3--)(_0x195d53=_0x57d945[_0x3ccba3])&&(_0x57d267=(_0xdc686d?_0x195d53(_0x11eb4a,_0x19e803,_0x57d267):_0x195d53(_0x57d267))||_0x57d267);return _0xdc686d&&_0x57d267&&Cs(_0x11eb4a,_0x19e803,_0x57d267),_0x57d267;},A=(_0x21b848,_0x34af4b)=>(_0x165464,_0x4f8563)=>_0x34af4b(_0x165464,_0x4f8563,_0x21b848),Pi=(_0x3043d3=>(_0x3043d3['NOT_COLLAB']=_0x2a3857(0x301),_0x3043d3['SYNCED']=_0x2a3857(0x1fe),_0x3043d3[_0x2a3857(0x32c)]=_0x2a3857(0x345),_0x3043d3[_0x2a3857(0x242)]=_0x2a3857(0x30f),_0x3043d3[_0x2a3857(0x284)]=_0x2a3857(0x311),_0x3043d3[_0x2a3857(0x2fc)]=_0x2a3857(0x316),_0x3043d3[_0x2a3857(0x1dc)]=_0x2a3857(0x40f),_0x3043d3[_0x2a3857(0x32b)]=_0x2a3857(0x184),_0x3043d3))(Pi||{});const Di=0xea60;class Re{constructor(_0x3f3541,_0x107249,_0x3dc53c,_0x5ae5d6,_0x2a4312,_0x26494e,_0x4fb492,_0x199f3f,_0x563fd9){var _0x124047=_0x2a3857;P(this,_0x124047(0x365),null),P(this,_0x124047(0x3cf),[]),(this[_0x124047(0x12e)]=_0x3f3541,this[_0x124047(0x1ce)]=_0x107249,this[_0x124047(0x396)]=_0x2a4312,this[_0x124047(0x143)]=_0x26494e,this[_0x124047(0x36f)]=_0x4fb492,this[_0x124047(0x17a)]=_0x199f3f,this[_0x124047(0x15c)]=_0x563fd9,this[_0x124047(0x365)]=_0x3dc53c,this['_pendingMutations']=_0x5ae5d6);}[_0x2a3857(0x1d2)](_0x30d5f8){var _0x13b3e2=_0x2a3857;const _0x14d643=this[_0x13b3e2(0x17a)][_0x13b3e2(0x115)](this[_0x13b3e2(0x12e)]);return _0x30d5f8[_0x13b3e2(0x1d7)]>_0x14d643+0x1?(this[_0x13b3e2(0x396)]['onMissingChangesets']({'from':_0x14d643,'to':_0x30d5f8['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5cae5c){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x5cae5c);}[_0x2a3857(0x262)](_0x29f547){var _0x26417a=_0x2a3857,_0x7563a3,_0x26ac08;(_0x26ac08=(_0x7563a3=this[_0x26417a(0x396)])[_0x26417a(0x338)])==null||_0x26ac08[_0x26417a(0x15a)](_0x7563a3,_0x29f547);}['_transformIMECache'](_0x467652){var _0x51e0b5=_0x2a3857,_0x174537,_0x3cf27a;return(_0x3cf27a=(_0x174537=this[_0x51e0b5(0x396)])[_0x51e0b5(0x2ff)])==null?void 0x0:_0x3cf27a[_0x51e0b5(0x15a)](_0x174537,_0x467652);}[_0x2a3857(0x3b8)](_0x3a35e7){var _0x775d4f=_0x2a3857,_0x4f9bae,_0x4b265b;return(_0x4b265b=(_0x4f9bae=this[_0x775d4f(0x396)])[_0x775d4f(0x2f0)])==null?void 0x0:_0x4b265b[_0x775d4f(0x15a)](_0x4f9bae,_0x3a35e7);}[_0x2a3857(0x154)](_0x2a1645){var _0x1f3087=_0x2a3857,_0x3ff053,_0x1af53d,_0x53d5f0;return(_0x53d5f0=(_0x1af53d=(_0x3ff053=this[_0x1f3087(0x396)])[_0x1f3087(0x17e)])==null?void 0x0:_0x1af53d[_0x1f3087(0x15a)](_0x3ff053,_0x2a1645))!=null?_0x53d5f0:_0x2a1645;}[_0x2a3857(0x1cd)](_0x8f2fe0){var _0x1a4d5b=_0x2a3857,_0x42b9e3,_0x83863f,_0x10b7c6;return(_0x10b7c6=(_0x83863f=(_0x42b9e3=this[_0x1a4d5b(0x396)])[_0x1a4d5b(0x2bc)])==null?void 0x0:_0x83863f[_0x1a4d5b(0x15a)](_0x42b9e3,_0x8f2fe0))!=null?_0x10b7c6:_0x8f2fe0;}[_0x2a3857(0x359)](_0x4a5e71){var _0x5ab30c=_0x2a3857,_0x202d51,_0x5f5236;if(this[_0x5ab30c(0x1ce)]===Q['UNIVER_DOC']){const {unitID:_0x4e4850,mutations:_0x482d5c,memberID:_0x482b36}=_0x4a5e71,_0x579741=_0x482d5c[0x0]['params'][_0x5ab30c(0x3d0)];Array['isArray'](_0x579741)&&_0x579741[_0x5ab30c(0x32e)]>0x0&&((_0x5f5236=(_0x202d51=this[_0x5ab30c(0x396)])[_0x5ab30c(0x1d0)])==null||_0x5f5236[_0x5ab30c(0x15a)](_0x202d51,{'unitID':_0x4e4850,'memberID':_0x482b36,'textRanges':_0x579741}));}}[_0x2a3857(0x1e0)](){var _0x49ea03=_0x2a3857,_0x2ba1f5;(_0x2ba1f5=this[_0x49ea03(0x15c)])==null||_0x2ba1f5[_0x49ea03(0x233)](this[_0x49ea03(0x12e)],this['type'],this['_awaitingChangeset'],this[_0x49ea03(0x3cf)]);}[_0x2a3857(0x3c7)](){var _0x5a7d2a=_0x2a3857;return this[_0x5a7d2a(0x17a)][_0x5a7d2a(0x115)](this[_0x5a7d2a(0x12e)]);}[_0x2a3857(0x289)](){var _0x2480c2=_0x2a3857;this['_revisionService'][_0x2480c2(0x116)](this[_0x2480c2(0x12e)]);}[_0x2a3857(0x3a0)](_0x4727f4){var _0x4f9877=_0x2a3857,_0x41f630;let _0x25ea07=this[_0x4f9877(0x154)](_0x4727f4);_0x25ea07=this['_transformRemoteChangesetByStateCache'](_0x25ea07);const _0x4e097e=_0x595582(_0x25ea07[_0x4f9877(0x22a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4e097e['result'])throw _0x4e097e['error']instanceof Error?_0x4e097e[_0x4f9877(0x119)]:new Error((_0x41f630=_0x4e097e['error'])!=null?_0x41f630:_0x4f9877(0x3e4));this[_0x4f9877(0x230)](_0x25ea07),this[_0x4f9877(0x3b8)](_0x25ea07),this['_transformUndoredo'](_0x4727f4),this[_0x4f9877(0x262)](_0x25ea07),this[_0x4f9877(0x359)](_0x25ea07),this['_incrementRevisionNumber']();}}let Pe=class extends Re{constructor(_0x41a4bc,_0x235fd1,_0xe56f70,_0x1a70c0,_0x3b7453,_0x165b79,_0x500bf3,_0x21819b,_0x1d680d,_0x17cb9a){var _0x50e9e4=_0x2a3857;super(_0x41a4bc,_0x235fd1,null,[],_0xe56f70,_0x500bf3,_0x165b79,_0x1a70c0,_0x17cb9a),P(this,'status','synced'),(this[_0x50e9e4(0x158)]=_0x3b7453,this['_logService']=_0x21819b,this['_transformService']=_0x1d680d,this['localCacheService']=_0x17cb9a);}[_0x2a3857(0x317)](_0x3577a3){var _0x3295af=_0x2a3857;const _0x4549c4=this[_0x3295af(0x158)]['createInstance'](oe,this[_0x3295af(0x12e)],this[_0x3295af(0x1ce)],[_0x3577a3],this[_0x3295af(0x396)]);return _0x4549c4[_0x3295af(0x375)](),_0x4549c4[_0x3295af(0x1e0)](),_0x4549c4;}[_0x2a3857(0x344)](_0x37d88e){var _0x4f69f4=_0x2a3857;if(this['_checkMissing'](_0x37d88e))return this[_0x4f69f4(0x158)][_0x4f69f4(0x3a6)](te,this[_0x4f69f4(0x12e)],this[_0x4f69f4(0x1ce)],null,[],null,[_0x37d88e],this[_0x4f69f4(0x396)]);try{const _0x3c587f=this['_transformService'][_0x4f69f4(0x1c4)](_0x37d88e,[Ts]);if(_0x17f224(_0x3c587f)){const {c1Prime:_0x1f96ea}=_0x3c587f;return this[_0x4f69f4(0x3a0)](_0x1f96ea),this;}throw _0x3c587f['error'];}catch(_0x428b9d){return this[_0x4f69f4(0x335)][_0x4f69f4(0x119)](_0x428b9d),this[_0x4f69f4(0x160)](!0x1);}}[_0x2a3857(0x160)](_0x1f75de){var _0x31da8d=_0x2a3857;return this[_0x31da8d(0x158)][_0x31da8d(0x3a6)](de,this[_0x31da8d(0x12e)],this[_0x31da8d(0x1ce)],null,[],this[_0x31da8d(0x396)],_0x1f75de);}[_0x2a3857(0x2a0)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2a3857(0x117)](){var _0x2f279d=_0x2a3857;throw new Error(_0x2f279d(0x3f3));}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){var _0x22c260=_0x2a3857;return this[_0x22c260(0x158)][_0x22c260(0x3a6)](fe,this['unitID'],this['type'],null,[],this[_0x22c260(0x396)]);}['toggleOnline'](){return this;}[_0x2a3857(0x2e9)](){var _0xd57cd0=_0x2a3857;throw new Error(_0xd57cd0(0x2ea));}['fetchMiss'](){var _0x130b8a=_0x2a3857;const _0x1898b4=this['_revisionService'][_0x130b8a(0x115)](this[_0x130b8a(0x12e)]);return this[_0x130b8a(0x396)]['onMissingChangesets']({'from':_0x1898b4,'to':0x0}),this[_0x130b8a(0x158)][_0x130b8a(0x3a6)](te,this['unitID'],this[_0x130b8a(0x1ce)],null,[],null,[],this[_0x130b8a(0x396)]);}};Pe=be([A(0x3,_0x21b3b2(_0x49a07f)),A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x34b8e6),A(0x6,_0xd6fdcf),A(0x7,_0x4e1c8f),A(0x8,_0x59eb83),A(0x9,_0x10c77b(X))],Pe);let oe=class extends Re{constructor(_0x2057b9,_0x5e8e98,_0x4fb324,_0x42643f,_0x425af8,_0x2c8af7,_0x216a40,_0x52dc7d,_0x2c4b5b,_0x5e7867,_0x43ce50,_0x1a3370,_0x1fcca5,_0x2662b1){var _0x3cc327=_0x2a3857;super(_0x2057b9,_0x5e8e98,null,_0x4fb324,_0x42643f,_0x2c4b5b,_0x1fcca5,_0x2c8af7,_0x2662b1),P(this,'status',_0x3cc327(0x345)),P(this,_0x3cc327(0x2ee),null),P(this,_0x3cc327(0x1f0),null),(this[_0x3cc327(0x158)]=_0x425af8,this[_0x3cc327(0x185)]=_0x216a40,this[_0x3cc327(0x335)]=_0x52dc7d,this[_0x3cc327(0x205)]=_0x5e7867,this['_transformService']=_0x43ce50,this['_univerInstanceService']=_0x1a3370);}[_0x2a3857(0x317)](_0x498260){var _0x12523d=_0x2a3857;return this[_0x12523d(0x3cf)][_0x12523d(0x271)](_0x498260),this[_0x12523d(0x1e0)](),this;}[_0x2a3857(0x344)](_0x154ab2){var _0x2b60c3=_0x2a3857;if(this['_checkMissing'](_0x154ab2))return this[_0x2b60c3(0x329)](),this[_0x2b60c3(0x158)]['createInstance'](te,this[_0x2b60c3(0x12e)],this[_0x2b60c3(0x1ce)],null,this[_0x2b60c3(0x3cf)],null,[_0x154ab2],this[_0x2b60c3(0x396)]);try{const _0x2e2377=this[_0x2b60c3(0x26b)]['transformMutationsWithChangeset'](_0x154ab2,this[_0x2b60c3(0x3cf)]);if(_0x17f224(_0x2e2377)){const {c1Prime:_0xd8f90a,m2Prime:_0x4a6ce5}=_0x2e2377;this[_0x2b60c3(0x3a0)](_0xd8f90a);const _0x2efa1b=this[_0x2b60c3(0x158)][_0x2b60c3(0x3a6)](oe,this[_0x2b60c3(0x12e)],this['type'],_0x4a6ce5,this[_0x2b60c3(0x396)]);this[_0x2b60c3(0x329)]();const _0x5cf7f4=new Date()[_0x2b60c3(0x133)](),_0x508fd6=this[_0x2b60c3(0x2ee)]?Math[_0x2b60c3(0x24b)](this['_scheduleCompleteTimestamp']-_0x5cf7f4,0x0):this[_0x2b60c3(0x167)]();return _0x2efa1b[_0x2b60c3(0x375)](_0x508fd6),_0x2efa1b;}throw _0x2e2377[_0x2b60c3(0x119)];}catch(_0x24779f){return this[_0x2b60c3(0x335)][_0x2b60c3(0x119)](_0x24779f),this[_0x2b60c3(0x160)](!0x1);}}[_0x2a3857(0x2a0)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2a3857(0x117)](){var _0x53197b=_0x2a3857;throw new Error(_0x53197b(0x309));}[_0x2a3857(0x2bb)](){return this;}['toggleOffline'](){var _0x4e9b7d=_0x2a3857;return this[_0x4e9b7d(0x329)](),this[_0x4e9b7d(0x158)][_0x4e9b7d(0x3a6)](fe,this['unitID'],this['type'],null,this[_0x4e9b7d(0x3cf)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x758b87){var _0x9f16f7=_0x2a3857;const _0x323e1b=_0x758b87!=null?_0x758b87:this['_getSendChangesetTimeout']();this[_0x9f16f7(0x2ee)]=new Date()[_0x9f16f7(0x133)]()+_0x323e1b,this[_0x9f16f7(0x1f0)]=setTimeout(()=>{var _0x584bc0=_0x9f16f7;this[_0x584bc0(0x329)]();let _0x3940fa=null;switch(this[_0x584bc0(0x1ce)]){case Q[_0x584bc0(0x292)]:{_0x3940fa=Xt(this[_0x584bc0(0x3cf)],this['unitID'],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this[_0x584bc0(0x185)]);break;}case Q[_0x584bc0(0x1d6)]:{this[_0x584bc0(0x3cf)]['every'](_0x40f603=>_0x40f603['id']===_0x117fd1['id'])?_0x3940fa=Is(this[_0x584bc0(0x3cf)],this[_0x584bc0(0x12e)],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this[_0x584bc0(0x185)]):_0x3940fa=Xt(this['_pendingMutations'],this[_0x584bc0(0x12e)],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x584bc0(0x28d));}const {changeset:_0x1aba7e,pendingMutations:_0x5e2104}=_0x3940fa;this[_0x584bc0(0x396)][_0x584bc0(0x237)](_0x1aba7e);const _0x21d92b=_0x5e2104[_0x584bc0(0x32e)]?this[_0x584bc0(0x158)]['createInstance'](ae,this[_0x584bc0(0x12e)],this[_0x584bc0(0x1ce)],_0x1aba7e,_0x5e2104,this['_handler'],void 0x0):this[_0x584bc0(0x158)][_0x584bc0(0x3a6)](ue,this[_0x584bc0(0x12e)],this['type'],_0x1aba7e,this[_0x584bc0(0x396)]);_0x21d92b['_updateLocalCache'](),this[_0x584bc0(0x396)][_0x584bc0(0x19e)](this,_0x21d92b);},_0x323e1b);}[_0x2a3857(0x167)](){var _0x4ae26b=_0x2a3857,_0x95c96f;const _0x56c973=this['_configService'][_0x4ae26b(0x122)](Y);return(_0x95c96f=_0x56c973==null?void 0x0:_0x56c973[_0x4ae26b(0x324)])!=null?_0x95c96f:An;}['resend'](){var _0x45db10=_0x2a3857;throw new Error(_0x45db10(0x1a5));}[_0x2a3857(0x329)](){var _0x4bdd12=_0x2a3857;this[_0x4bdd12(0x1f0)]!=null&&(clearTimeout(this[_0x4bdd12(0x1f0)]),this[_0x4bdd12(0x1f0)]=null);}[_0x2a3857(0x160)](_0xd288c5){var _0x5c0350=_0x2a3857;return this[_0x5c0350(0x329)](),this[_0x5c0350(0x158)]['createInstance'](de,this[_0x5c0350(0x12e)],this[_0x5c0350(0x1ce)],null,this[_0x5c0350(0x3cf)],this[_0x5c0350(0x396)],_0xd288c5);}};oe=be([A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x21b3b2(_0x49a07f)),A(0x6,_0x21b3b2(xe)),A(0x7,_0x4e1c8f),A(0x8,_0xd6fdcf),A(0x9,_0x24bebb),A(0xa,_0x59eb83),A(0xb,_0x40e127),A(0xc,_0x34b8e6),A(0xd,_0x10c77b(X))],oe);let ue=class extends Re{constructor(_0x136112,_0x113d22,_0x43729d,_0x242a1d,_0x42f5fa,_0x17d607,_0x28cafb,_0x30fa91,_0x347792,_0x17ed0d,_0x56bdd4){var _0x1dc1a5=_0x2a3857;super(_0x136112,_0x113d22,_0x43729d,[],_0x242a1d,_0x28cafb,_0x17ed0d,_0x17d607,_0x56bdd4),P(this,'status',_0x1dc1a5(0x30f)),P(this,'_resendTimeout',0x0),P(this,_0x1dc1a5(0x250)),P(this,_0x1dc1a5(0x41e)),(this[_0x1dc1a5(0x158)]=_0x42f5fa,this[_0x1dc1a5(0x335)]=_0x30fa91,this[_0x1dc1a5(0x26b)]=_0x347792);}['appendMutation'](_0x3cd5fd){var _0x29f855=_0x2a3857;this[_0x29f855(0x329)]();const _0x2e8539=this[_0x29f855(0x158)][_0x29f855(0x3a6)](ae,this[_0x29f855(0x12e)],this['type'],this[_0x29f855(0x365)],[_0x3cd5fd],this[_0x29f855(0x396)],this['_resendTimer']);return _0x2e8539[_0x29f855(0x1e0)](),_0x2e8539;}['onRemoteChangeset'](_0x3667fb){var _0x266e62=_0x2a3857;if(this[_0x266e62(0x1d2)](_0x3667fb))return this[_0x266e62(0x329)](),this['_injector'][_0x266e62(0x3a6)](te,this[_0x266e62(0x12e)],this['type'],this[_0x266e62(0x365)],[],null,[_0x3667fb],this[_0x266e62(0x396)]);try{const _0x2c7bfc=this['_transformService'][_0x266e62(0x180)]([_0x3667fb],[this[_0x266e62(0x365)]],!0x1);if(_0x41a995(_0x2c7bfc)){const {c1Prime:_0x7be40b,c2Prime:_0x40aa5c}=_0x2c7bfc;this[_0x266e62(0x3a0)](_0x7be40b[0x0]),_0x40aa5c[0x0][_0x266e62(0x2fa)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0xa00096=this['_injector'][_0x266e62(0x3a6)](ue,this['unitID'],this[_0x266e62(0x1ce)],_0x40aa5c[0x0],this[_0x266e62(0x396)]);return _0xa00096['_updateLocalCache'](),_0xa00096;}return this[_0x266e62(0x160)](!0x1);}catch(_0x1ef8a9){return this[_0x266e62(0x335)][_0x266e62(0x119)](_0x1ef8a9),this[_0x266e62(0x160)](!0x1);}}[_0x2a3857(0x2a0)](_0x548bdd){var _0x5bdf8d=_0x2a3857;this[_0x5bdf8d(0x329)]();const _0x49573c=this[_0x5bdf8d(0x17a)][_0x5bdf8d(0x115)](this[_0x5bdf8d(0x12e)]);if(_0x548bdd[_0x5bdf8d(0x1d7)]<_0x49573c-0x1)return this;if(this[_0x5bdf8d(0x1d2)](_0x548bdd))return this[_0x5bdf8d(0x158)][_0x5bdf8d(0x3a6)](te,this[_0x5bdf8d(0x12e)],this['type'],null,[],this[_0x5bdf8d(0x365)],[],this[_0x5bdf8d(0x396)]);this[_0x5bdf8d(0x289)]();const _0x2d2f16=this[_0x5bdf8d(0x158)][_0x5bdf8d(0x3a6)](Pe,this[_0x5bdf8d(0x12e)],this[_0x5bdf8d(0x1ce)],this[_0x5bdf8d(0x396)]);return _0x2d2f16['_updateLocalCache'](),_0x2d2f16;}[_0x2a3857(0x117)](_0x3ecce5){var _0x13a223=_0x2a3857;return this[_0x13a223(0x160)](!!(_0x3ecce5!=null&&_0x3ecce5[_0x13a223(0x3c5)]));}['onRemoteRetry'](_0x5281f5){var _0x538618=_0x2a3857;return this[_0x538618(0x191)]>Di?this[_0x538618(0x186)]():(this[_0x538618(0x250)]=Ni(this['_resendTimeout'],{'timeout':this[_0x538618(0x191)],'reqId':_0x5281f5[_0x538618(0x226)]}),this[_0x538618(0x41e)]=this[_0x538618(0x250)]['subscribe'](({reqId:_0x213748,timeout:_0x42340c})=>{var _0x3cb3a3=_0x538618;this[_0x3cb3a3(0x2d2)](_0x213748,_0x42340c);}),this);}[_0x2a3857(0x186)](){var _0x117ad8=_0x2a3857;return this[_0x117ad8(0x329)](),this[_0x117ad8(0x158)][_0x117ad8(0x3a6)](fe,this[_0x117ad8(0x12e)],this[_0x117ad8(0x1ce)],this[_0x117ad8(0x365)],[],this[_0x117ad8(0x396)]);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){var _0x208a09=_0x2a3857;this['_handler'][_0x208a09(0x237)](this[_0x208a09(0x365)]);}['_onConflict'](_0x143db7){var _0x10855e=_0x2a3857;return this[_0x10855e(0x329)](),this[_0x10855e(0x158)][_0x10855e(0x3a6)](de,this['unitID'],this['type'],this[_0x10855e(0x365)],[],this[_0x10855e(0x396)],_0x143db7);}['_resendWithTimeout'](_0x2cf458,_0x5560f2){var _0x2ceaec=_0x2a3857,_0x2fc667;_0x2cf458===((_0x2fc667=this[_0x2ceaec(0x365)])==null?void 0x0:_0x2fc667[_0x2ceaec(0x226)])&&(this[_0x2ceaec(0x2e9)](),this[_0x2ceaec(0x191)]=_0x5560f2===0x0?0x3e8:_0x5560f2*0x2);}[_0x2a3857(0x329)](){var _0x610e63=_0x2a3857,_0x102e57;(_0x102e57=this['_sender'])==null||_0x102e57[_0x610e63(0x3fd)](),this[_0x610e63(0x191)]=0x0;}};ue=be([A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x21b3b2(_0x49a07f)),A(0x6,_0xd6fdcf),A(0x7,_0x4e1c8f),A(0x8,_0x59eb83),A(0x9,_0x34b8e6),A(0xa,_0x10c77b(X))],ue);let ae=class extends Re{constructor(_0x364282,_0x5d9a90,_0x53fe27,_0x205714,_0x2631c0,_0x3e57d0,_0x2b3068,_0x26689e,_0x19d5cd,_0x5de655,_0x14f00f,_0xdecefe,_0x473168){var _0x59f7de=_0x2a3857;super(_0x364282,_0x5d9a90,_0x53fe27,_0x205714,_0x2631c0,_0x19d5cd,_0xdecefe,_0x26689e,_0x473168),P(this,'status','awaiting_with_pending'),P(this,_0x59f7de(0x191),0x0),P(this,_0x59f7de(0x250)),P(this,_0x59f7de(0x41e)),(this['_injector']=_0x2b3068,this[_0x59f7de(0x335)]=_0x5de655,this[_0x59f7de(0x26b)]=_0x14f00f,this[_0x59f7de(0x2c7)]=_0x473168,_0x3e57d0&&(this['_resendTimer']=_0x3e57d0,this[_0x59f7de(0x41e)]=this[_0x59f7de(0x250)][_0x59f7de(0x2cb)](({reqId:_0x66b41f,timeout:_0x2c8d97})=>{var _0x440b3a=_0x59f7de;this[_0x440b3a(0x2d2)](_0x66b41f,_0x2c8d97);})));}[_0x2a3857(0x317)](_0x7c1058){var _0x5d0540=_0x2a3857;return this['_pendingMutations'][_0x5d0540(0x271)](_0x7c1058),this;}[_0x2a3857(0x344)](_0x4262f4){var _0x204334=_0x2a3857;if(this['_checkMissing'](_0x4262f4))return this[_0x204334(0x329)](),this[_0x204334(0x158)][_0x204334(0x3a6)](te,this[_0x204334(0x12e)],this['type'],this[_0x204334(0x365)],this[_0x204334(0x3cf)],null,[_0x4262f4],this['_handler']);try{const _0x4fdaa5=this[_0x204334(0x26b)][_0x204334(0x180)]([_0x4262f4],[this['_awaitingChangeset']],!0x1);if(_0x41a995(_0x4fdaa5)){const {c1Prime:_0x5c2579,c2Prime:_0x37ceb6}=_0x4fdaa5,_0x492673=this['_transformService'][_0x204334(0x1c4)](_0x5c2579[0x0],this[_0x204334(0x3cf)]);if(_0x17f224(_0x492673)){const {c1Prime:_0x301bf1,m2Prime:_0x9b216f}=_0x492673;return this[_0x204334(0x3a0)](_0x301bf1),_0x37ceb6[0x0][_0x204334(0x2fa)]=this['_getCurrentRevision'](),this[_0x204334(0x329)](),this['_injector'][_0x204334(0x3a6)](ae,this[_0x204334(0x12e)],this[_0x204334(0x1ce)],_0x37ceb6[0x0],_0x9b216f,this[_0x204334(0x396)],void 0x0);}throw _0x492673[_0x204334(0x119)];}throw _0x4fdaa5['error'];}catch(_0x42f54b){return this[_0x204334(0x335)]['error'](_0x42f54b),this[_0x204334(0x160)](!0x1);}}[_0x2a3857(0x2a0)](_0x23c9d1){var _0x5ce590=_0x2a3857;if(this[_0x5ce590(0x329)](),this['_checkMissing'](_0x23c9d1))return this[_0x5ce590(0x158)][_0x5ce590(0x3a6)](te,this[_0x5ce590(0x12e)],this[_0x5ce590(0x1ce)],null,this[_0x5ce590(0x3cf)],this['_awaitingChangeset'],[],this[_0x5ce590(0x396)]);this[_0x5ce590(0x289)]();const _0x566bb3=this[_0x5ce590(0x158)][_0x5ce590(0x3a6)](oe,this[_0x5ce590(0x12e)],this[_0x5ce590(0x1ce)],this[_0x5ce590(0x3cf)],this[_0x5ce590(0x396)]);return _0x566bb3[_0x5ce590(0x375)](),_0x566bb3[_0x5ce590(0x1e0)](),_0x566bb3;}[_0x2a3857(0x117)](_0x14dbfc){var _0x288ee2=_0x2a3857;return this[_0x288ee2(0x160)](!!(_0x14dbfc!=null&&_0x14dbfc['isPermissionRej']));}[_0x2a3857(0x2bb)](_0x2361a6){var _0xa39611=_0x2a3857;return this['_resendTimeout']>Di?this[_0xa39611(0x186)]():(this[_0xa39611(0x250)]=Ni(this[_0xa39611(0x191)],{'timeout':this[_0xa39611(0x191)],'reqId':_0x2361a6[_0xa39611(0x226)]}),this[_0xa39611(0x41e)]=this['_resendTimer'][_0xa39611(0x2cb)](({reqId:_0x55fd5a,timeout:_0x473136})=>{this['_resendWithTimeout'](_0x55fd5a,_0x473136);}),this);}['toggleOffline'](){var _0x4e806a=_0x2a3857;return this[_0x4e806a(0x329)](),this[_0x4e806a(0x158)]['createInstance'](fe,this[_0x4e806a(0x12e)],this[_0x4e806a(0x1ce)],this[_0x4e806a(0x365)],this['_pendingMutations'],this[_0x4e806a(0x396)]);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){var _0x581f8d=_0x2a3857;this[_0x581f8d(0x396)][_0x581f8d(0x237)](this[_0x581f8d(0x365)]);}[_0x2a3857(0x160)](_0x2ee836){var _0x4b1c2c=_0x2a3857;return this[_0x4b1c2c(0x329)](),this[_0x4b1c2c(0x158)][_0x4b1c2c(0x3a6)](de,this['unitID'],this[_0x4b1c2c(0x1ce)],null,this[_0x4b1c2c(0x3cf)],this[_0x4b1c2c(0x396)],_0x2ee836);}['_resendWithTimeout'](_0x30256d,_0x42b1ae){var _0x44dff7=_0x2a3857,_0xaabd99;_0x30256d===((_0xaabd99=this[_0x44dff7(0x365)])==null?void 0x0:_0xaabd99[_0x44dff7(0x226)])&&(this[_0x44dff7(0x2e9)](),this[_0x44dff7(0x191)]=_0x42b1ae===0x0?0x3e8:_0x42b1ae*0x2);}[_0x2a3857(0x329)](){var _0x2d9276=_0x2a3857,_0x586eea;(_0x586eea=this[_0x2d9276(0x41e)])==null||_0x586eea[_0x2d9276(0x3fd)](),this[_0x2d9276(0x191)]=0x0;}};ae=be([A(0x6,_0x21b3b2(_0x548366)),A(0x7,_0x21b3b2(_0x49a07f)),A(0x8,_0xd6fdcf),A(0x9,_0x4e1c8f),A(0xa,_0x59eb83),A(0xb,_0x34b8e6),A(0xc,_0x10c77b(X))],ae);let de=class extends Re{constructor(_0x2bed3d,_0x10c2ec,_0x1cf07f,_0x253cbd,_0x2e4a37,_0x1baf51=!0x1,_0xe442ed,_0x4c1884,_0x12c179,_0x3773b3,_0x44dde7,_0x5ec1e2,_0x2ad5bd){var _0x1882a6=_0x2a3857;super(_0x2bed3d,_0x10c2ec,_0x1cf07f,_0x253cbd,_0x2e4a37,_0x4c1884,_0x12c179,_0x3773b3,_0x2ad5bd),P(this,_0x1882a6(0x206),_0x1882a6(0x40f)),(this[_0x1882a6(0x12c)]=_0x1baf51,this['_permissionService']=_0xe442ed,this['_localeService']=_0x44dde7,this['_collaborationUIEventService']=_0x5ec1e2,this[_0x1882a6(0x2c7)]=_0x2ad5bd,this[_0x1882a6(0x355)](),this['_clearLocalCache'](),this[_0x1882a6(0x1ba)]());}[_0x2a3857(0x317)](){return this;}[_0x2a3857(0x344)](){return this;}[_0x2a3857(0x2a0)](){return this;}[_0x2a3857(0x117)](){return this;}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){return this;}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1e1cca=_0x2a3857,_0x5a78ab;(_0x5a78ab=this[_0x1e1cca(0x15c)])==null||_0x5a78ab[_0x1e1cca(0x233)](this['unitID'],this[_0x1e1cca(0x1ce)],null,[]);}[_0x2a3857(0x355)](){var _0x39d928=_0x2a3857;this[_0x39d928(0x12c)]?this[_0x39d928(0x30d)][_0x39d928(0x3db)]({'id':re[_0x39d928(0x13f)]}):this[_0x39d928(0x30d)]['emitEvent']({'id':re[_0x39d928(0x1dc)]});}[_0x2a3857(0x1ba)](){var _0x36873c=_0x2a3857;this[_0x36873c(0x11e)][_0x36873c(0x20e)](new _0x39ae2d(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x21b3b2(_0x1c05e3)),A(0x7,_0xd6fdcf),A(0x8,_0x34b8e6),A(0x9,_0x21b3b2(_0x49a07f)),A(0xa,_0x21b3b2(_0x551f00)),A(0xb,_0x21b3b2(pe)),A(0xc,_0x10c77b(X))],de);let fe=class extends Re{constructor(_0x1b8a88,_0x103280,_0x2ab73f,_0x36633c,_0x2f34f5,_0x21b17d,_0xc3e42b,_0x547f2e,_0x476f8a,_0x249907){var _0x387110=_0x2a3857;super(_0x1b8a88,_0x103280,_0x2ab73f,_0x36633c,_0x2f34f5,_0x547f2e,_0x476f8a,_0xc3e42b,_0x249907),P(this,_0x387110(0x206),_0x387110(0x184)),this['_injector']=_0x21b17d;}[_0x2a3857(0x317)](_0x33453a){var _0x5bc161=_0x2a3857;return this[_0x5bc161(0x3cf)]['push'](_0x33453a),this[_0x5bc161(0x1e0)](),this;}[_0x2a3857(0x344)](_0x574ec){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2a3857(0x2a0)](){var _0x41bb55=_0x2a3857;throw new Error(_0x41bb55(0x1d9));}['onRemoteRej'](){var _0x21ac64=_0x2a3857;throw new Error(_0x21ac64(0x2df));}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){return this;}['toggleOnline'](){var _0x5ab340=_0x2a3857;const {_injector:_0x16ef2a,_pendingMutations:_0x229ec1,_awaitingChangeset:_0x1f0471,unitID:_0x1e522c,_handler:_0x4efce8,type:_0x3b9aa1}=this,_0x3b3149=wi(_0x16ef2a,_0x1e522c,_0x3b9aa1,_0x1f0471,_0x229ec1,_0x4efce8);return _0x3b3149 instanceof oe?_0x3b3149['_schedule']():(_0x3b3149 instanceof ae||_0x3b3149 instanceof ue)&&_0x3b3149[_0x5ab340(0x2e9)](),_0x3b3149;}[_0x2a3857(0x2e9)](){var _0x5d1a3f=_0x2a3857;throw new Error(_0x5d1a3f(0x15b));}};fe=be([A(0x5,_0x21b3b2(_0x548366)),A(0x6,_0x21b3b2(_0x49a07f)),A(0x7,_0xd6fdcf),A(0x8,_0x34b8e6),A(0x9,_0x10c77b(X))],fe);let te=class extends Re{constructor(_0x2aa315,_0xf28cb3,_0xb2eb1,_0x337375,_0x458856,_0x486729,_0xb78378,_0x284e25,_0x456b10,_0x366523,_0x3f5a08,_0x45e503,_0x3b28c8,_0x55c6b2){var _0x25e563=_0x2a3857;super(_0x2aa315,_0xf28cb3,_0xb2eb1,_0x337375,_0xb78378,_0x3f5a08,_0x45e503,_0x456b10,_0x55c6b2),P(this,_0x25e563(0x206),_0x25e563(0x316)),(this['_acknowledgedAwaitingChangeset']=_0x458856,this[_0x25e563(0x2e7)]=_0x486729,this[_0x25e563(0x158)]=_0x284e25,this[_0x25e563(0x335)]=_0x366523,this[_0x25e563(0x26b)]=_0x3b28c8,this[_0x25e563(0x2c7)]=_0x55c6b2);}[_0x2a3857(0x1c6)](_0x52d58d){var _0x59a0d0=_0x2a3857;try{const _0x4cb99c=[..._0x52d58d,...this[_0x59a0d0(0x2e7)]],_0x6f357c=[this[_0x59a0d0(0x365)]||this['_acknowledgedAwaitingChangeset']][_0x59a0d0(0x166)](_0x5ad64d=>!!_0x5ad64d);let _0xefc925,_0x2cda01;if(_0x6f357c[_0x59a0d0(0x32e)]){const _0x4e9cd6=this[_0x59a0d0(0x26b)][_0x59a0d0(0x180)](_0x4cb99c,_0x6f357c,!0x1);if(!_0x41a995(_0x4e9cd6))throw _0x4e9cd6[_0x59a0d0(0x119)];_0xefc925=_0x4e9cd6[_0x59a0d0(0x2a8)],_0x2cda01=_0x4e9cd6[_0x59a0d0(0x265)];}else _0xefc925=_0x4cb99c,_0x2cda01=[];let _0x4a608d=this[_0x59a0d0(0x3cf)];_0xefc925[_0x59a0d0(0x168)](_0x115d6f=>{var _0x2b0b12=_0x59a0d0;let _0x631120;if(_0x4a608d[_0x2b0b12(0x32e)]){const _0x4e19cf=this['_transformService'][_0x2b0b12(0x1c4)](_0x115d6f,_0x4a608d);if(!_0x17f224(_0x4e19cf))throw _0x4e19cf[_0x2b0b12(0x119)];_0x631120=_0x4e19cf[_0x2b0b12(0x2a8)],_0x4a608d=_0x4e19cf[_0x2b0b12(0x19d)];}else _0x631120=_0x115d6f;this[_0x2b0b12(0x3a0)](_0x631120);}),this[_0x59a0d0(0x273)]&&this[_0x59a0d0(0x289)](),this[_0x59a0d0(0x365)]&&_0x2cda01[_0x59a0d0(0x32e)]&&(_0x2cda01[0x0][_0x59a0d0(0x2fa)]=this[_0x59a0d0(0x3c7)]());let _0x3e64b6;if(this['_awaitingChangeset']&&_0x4a608d[_0x59a0d0(0x32e)]!==0x0)_0x3e64b6=this[_0x59a0d0(0x158)][_0x59a0d0(0x3a6)](ae,this[_0x59a0d0(0x12e)],this['type'],_0x2cda01[0x0],_0x4a608d,this['_handler'],void 0x0);else{if(this[_0x59a0d0(0x365)]&&_0x4a608d['length']===0x0)_0x2cda01[0x0][_0x59a0d0(0x2fa)]=this[_0x59a0d0(0x3c7)](),_0x3e64b6=this['_injector'][_0x59a0d0(0x3a6)](ue,this['unitID'],this[_0x59a0d0(0x1ce)],_0x2cda01[0x0],this['_handler']);else{if(_0x4a608d[_0x59a0d0(0x32e)]!==0x0){const _0x3b9930=this[_0x59a0d0(0x158)]['createInstance'](oe,this['unitID'],this[_0x59a0d0(0x1ce)],_0x4a608d,this[_0x59a0d0(0x396)]);_0x3b9930['_schedule'](),_0x3e64b6=_0x3b9930;}else _0x3e64b6=this['_injector'][_0x59a0d0(0x3a6)](Pe,this[_0x59a0d0(0x12e)],this[_0x59a0d0(0x1ce)],this['_handler']);}}return _0x3e64b6[_0x59a0d0(0x1e0)](),_0x3e64b6;}catch(_0x33c353){return this[_0x59a0d0(0x335)][_0x59a0d0(0x119)]('[FetchMissState]',_0x59a0d0(0x23b),_0x33c353),this[_0x59a0d0(0x158)]['createInstance'](de,this[_0x59a0d0(0x12e)],this[_0x59a0d0(0x1ce)],this['_awaitingChangeset'],this[_0x59a0d0(0x3cf)],this[_0x59a0d0(0x396)],!0x1);}}[_0x2a3857(0x2e9)](){var _0x345b0f=_0x2a3857;throw new Error(_0x345b0f(0x2f6));}['appendMutation'](_0x10705d){var _0x24ba6a=_0x2a3857;return this[_0x24ba6a(0x3cf)]['push'](_0x10705d),this;}[_0x2a3857(0x344)](_0x3b2635){var _0x55eb4e=_0x2a3857;return this[_0x55eb4e(0x2e7)]['push'](_0x3b2635),this;}[_0x2a3857(0x2a0)](_0x5c0c67){var _0x5bcf00=_0x2a3857;if(this['_awaitingChangeset'])return this[_0x5bcf00(0x273)]=this[_0x5bcf00(0x365)],this[_0x5bcf00(0x365)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2a3857(0x117)](_0x32ff85){return this['_onConflict'](!!(_0x32ff85!=null&&_0x32ff85['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2a3857(0x186)](){var _0x27c7f7=_0x2a3857;return this[_0x27c7f7(0x158)][_0x27c7f7(0x3a6)](fe,this[_0x27c7f7(0x12e)],this[_0x27c7f7(0x1ce)],this[_0x27c7f7(0x365)],this[_0x27c7f7(0x3cf)],this['_handler']);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x160)](_0x5763c3){var _0x1d644d=_0x2a3857;return this[_0x1d644d(0x158)][_0x1d644d(0x3a6)](de,this[_0x1d644d(0x12e)],this[_0x1d644d(0x1ce)],this[_0x1d644d(0x365)],this[_0x1d644d(0x3cf)],this['_handler'],_0x5763c3);}};te=be([A(0x7,_0x21b3b2(_0x548366)),A(0x8,_0x21b3b2(_0x49a07f)),A(0x9,_0x4e1c8f),A(0xa,_0xd6fdcf),A(0xb,_0x34b8e6),A(0xc,_0x59eb83),A(0xd,_0x10c77b(X))],te);function wi(_0x5a4c59,_0x445027,_0x226485,_0x3a5a59,_0x55d874,_0x145d70){var _0x4cbfb7=_0x2a3857;return _0x3a5a59&&_0x55d874[_0x4cbfb7(0x32e)]?_0x5a4c59[_0x4cbfb7(0x3a6)](ae,_0x445027,_0x226485,_0x3a5a59,_0x55d874,_0x145d70,void 0x0):_0x3a5a59?_0x5a4c59[_0x4cbfb7(0x3a6)](ue,_0x445027,_0x226485,_0x3a5a59,_0x145d70):_0x55d874[_0x4cbfb7(0x32e)]?_0x5a4c59['createInstance'](oe,_0x445027,_0x226485,_0x55d874,_0x145d70):_0x5a4c59[_0x4cbfb7(0x3a6)](Pe,_0x445027,_0x226485,_0x145d70);}var Rs=Object['defineProperty'],ys=Object[_0x2a3857(0x1e9)],Mt=(_0x3ea904,_0x58e52f,_0x3cfb80,_0x10551a)=>{var _0x308364=_0x2a3857;for(var _0x2a5947=_0x10551a>0x1?void 0x0:_0x10551a?ys(_0x58e52f,_0x3cfb80):_0x58e52f,_0x3ee358=_0x3ea904[_0x308364(0x32e)]-0x1,_0x32ad56;_0x3ee358>=0x0;_0x3ee358--)(_0x32ad56=_0x3ea904[_0x3ee358])&&(_0x2a5947=(_0x10551a?_0x32ad56(_0x58e52f,_0x3cfb80,_0x2a5947):_0x32ad56(_0x2a5947))||_0x2a5947);return _0x10551a&&_0x2a5947&&Rs(_0x58e52f,_0x3cfb80,_0x2a5947),_0x2a5947;},k=(_0x25132d,_0x1ee35f)=>(_0x58c619,_0x54e159)=>_0x1ee35f(_0x58c619,_0x54e159,_0x25132d);let st=class extends _0x3f0249{constructor(_0x1f29ec,_0x85d55e,_0x18795a,_0x5e1c1b,_0x4c0774,_0x147119,_0x49f247,_0x221d69,_0x2d241f,_0x19a134,_0x571f3d,_0x25ef2f,_0x56d21b){var _0x21f8a9=_0x2a3857;super(),P(this,_0x21f8a9(0x1e4),new _0x500ff8(null)),P(this,_0x21f8a9(0x3dc),this[_0x21f8a9(0x1e4)]['asObservable']()),P(this,_0x21f8a9(0x259)),P(this,_0x21f8a9(0x24e),!0x1),P(this,_0x21f8a9(0x399),''),P(this,_0x21f8a9(0x20f),0x0),P(this,'status$',this[_0x21f8a9(0x3dc)][_0x21f8a9(0x369)](_0x45e7c7(_0x650a40=>_0x650a40?_0x650a40[_0x21f8a9(0x206)]:Pi[_0x21f8a9(0x32b)]),_0x2bcada(0x1))),P(this,_0x21f8a9(0x400),!0x1),P(this,_0x21f8a9(0x2ef),[]),(this['unitID']=_0x1f29ec,this[_0x21f8a9(0x3f5)]=_0x85d55e,this['_type']=_0x18795a,this['_injector']=_0x5e1c1b,this[_0x21f8a9(0x2ab)]=_0x4c0774,this[_0x21f8a9(0x1ad)]=_0x147119,this[_0x21f8a9(0x17a)]=_0x49f247,this[_0x21f8a9(0x39c)]=_0x221d69,this['_logService']=_0x2d241f,this['_commandService']=_0x19a134,this['_permissionService']=_0x571f3d,this['_singleActiveUnitService']=_0x25ef2f,this[_0x21f8a9(0x15c)]=_0x56d21b);}get[_0x2a3857(0x2dd)](){var _0x468306=_0x2a3857;return this[_0x468306(0x259)];}async[_0x2a3857(0x1de)](){var _0x362316=_0x2a3857;if(this[_0x362316(0x2dd)])throw new Error(_0x362316(0x341));await this[_0x362316(0x2a1)]();}[_0x2a3857(0x3c1)](){return this['_collaborationPaused']=!0x0,_0x30af1d(()=>{var _0x4d9d76=_0x5b8f;this[_0x4d9d76(0x24e)]=!0x1,this[_0x4d9d76(0x3b5)]();});}['onLocalMutation'](_0xc59779){var _0x26e147=_0x2a3857;this[_0x26e147(0x227)](_0xc59779);}['_updateState'](_0x338592){var _0x28b838=_0x2a3857;this[_0x28b838(0x259)]=_0x338592,this[_0x28b838(0x1e4)][_0x28b838(0x386)](_0x338592);}async[_0x2a3857(0x2a1)](){var _0x1ebeaf=_0x2a3857,_0x546d09;this['_updateState'](await this[_0x1ebeaf(0x305)]()),this[_0x1ebeaf(0x1aa)]&&((_0x546d09=this[_0x1ebeaf(0x1aa)])==null||_0x546d09[_0x1ebeaf(0x27c)](this[_0x1ebeaf(0x12e)]),this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x1aa)][_0x1ebeaf(0x278)](this[_0x1ebeaf(0x12e)])[_0x1ebeaf(0x2cb)](_0x5a0147=>{var _0x429107=_0x1ebeaf;this[_0x429107(0x335)][_0x429107(0x412)](_0x429107(0x2db),_0x429107(0x1c8),_0x5a0147),_0x5a0147===Oi[_0x429107(0x2bf)]?(this['_eventService']['emitEvent']({'id':re[_0x429107(0x3c4)]}),this['_permissionService']['updatePermissionPoint'](new _0x39ae2d(this['unitID'])['id'],!0x1),this[_0x429107(0x11e)][_0x429107(0x18b)](!0x1)):(this[_0x429107(0x11e)][_0x429107(0x20e)](new _0x39ae2d(this[_0x429107(0x12e)])['id'],!0x0),this[_0x429107(0x11e)][_0x429107(0x18b)](!0x0));})));let _0x356332=!0x1;return this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x3f5)][_0x1ebeaf(0x376)][_0x1ebeaf(0x2cb)](_0x3b19f5=>{var _0x25d69c=_0x1ebeaf;_0x3b19f5===Te['ONLINE']?this[_0x25d69c(0x1dd)](_0x356332):_0x3b19f5===Te[_0x25d69c(0x32b)]&&(_0x356332=!0x0,this['_toggleOffline']());})),this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x3f5)][_0x1ebeaf(0x2a9)]['subscribe'](_0x4fd8a2=>{var _0x421209=_0x1ebeaf;try{switch(_0x4fd8a2[_0x421209(0x383)]){case _0x562849[_0x421209(0x174)]:{this[_0x421209(0x2dc)](_0x286142(_0x4fd8a2[_0x421209(0x13b)]));break;}case _0x562849[_0x421209(0x16c)]:{this['_onRemoteACK'](_0x4fd8a2[_0x421209(0x13b)]);break;}case _0x562849[_0x421209(0x1d1)]:{this[_0x421209(0x41b)]();break;}case _0x562849[_0x421209(0x3c3)]:{this['_onRemoteRetry'](_0x4fd8a2[_0x421209(0x13b)]);break;}case _0x562849[_0x421209(0x36a)]:{this[_0x421209(0x11b)](_0x4fd8a2['data'][_0x421209(0x350)][_0x421209(0x35c)](_0x335873=>_0x286142(_0x335873)));break;}case _0x562849['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x562849['UNISCRIPT_RUN']:break;}}catch(_0x55b3ef){throw console[_0x421209(0x119)]('Error\x20on\x20receiving\x20event',_0x55b3ef),_0x55b3ef;}})),this['_state'];}[_0x2a3857(0x291)](){var _0x14c147=_0x2a3857;this[_0x14c147(0x400)]=!0x1;}[_0x2a3857(0x157)](){var _0x567516=_0x2a3857;if(this[_0x567516(0x400)])throw new Error(_0x567516(0x2b1));this[_0x567516(0x400)]=!0x0;}[_0x2a3857(0x227)](_0x474b97){var _0x5ea0ea=_0x2a3857;this[_0x5ea0ea(0x157)](),this[_0x5ea0ea(0x303)](this[_0x5ea0ea(0x259)][_0x5ea0ea(0x317)](_0x474b97)),this[_0x5ea0ea(0x291)]();}[_0x2a3857(0x2dc)](_0x548215){var _0xfc0c98=_0x2a3857;if(!(_0x548215[_0xfc0c98(0x1d7)]<=this[_0xfc0c98(0x17a)]['getCurrentRevOfUnit'](this[_0xfc0c98(0x12e)]))){if(this[_0xfc0c98(0x24e)]){this[_0xfc0c98(0x2ef)][_0xfc0c98(0x271)](_0x548215);return;}this[_0xfc0c98(0x3f0)](_0x548215);}}[_0x2a3857(0x3b5)](){var _0x7fb84e=_0x2a3857;this[_0x7fb84e(0x2ef)][_0x7fb84e(0x168)](_0x2549bf=>this[_0x7fb84e(0x3f0)](_0x2549bf)),this['_remoteChangesetQueue']=[];}[_0x2a3857(0x3f0)](_0x54e4d8){var _0x87df99=_0x2a3857;const _0x7b9a98=this[_0x87df99(0x2ab)][_0x87df99(0x254)][_0x87df99(0x145)](this[_0x87df99(0x2ab)][_0x87df99(0x254)]['getInterceptPoints']()[_0x87df99(0x150)])(_0x54e4d8[_0x87df99(0x22a)],null)||_0x54e4d8[_0x87df99(0x22a)],_0x1f092a={..._0x54e4d8,'mutations':_0x7b9a98};this[_0x87df99(0x157)](),this[_0x87df99(0x303)](this[_0x87df99(0x259)][_0x87df99(0x344)](_0x1f092a)),this['_unlockTransition']();}['_onRemoteACK'](_0x1db023){var _0x220108=_0x2a3857;this[_0x220108(0x157)](),this[_0x220108(0x303)](this[_0x220108(0x259)][_0x220108(0x2a0)](_0x1db023)),this[_0x220108(0x291)]();}[_0x2a3857(0x41b)](_0x1ab05f){var _0x272839=_0x2a3857;this[_0x272839(0x157)](),this['_updateState'](this[_0x272839(0x259)][_0x272839(0x117)](_0x1ab05f)),this[_0x272839(0x291)]();}['_onRemoteRetry'](_0x3029db){var _0x5c1aa5=_0x2a3857;this[_0x5c1aa5(0x157)](),this['_updateState'](this[_0x5c1aa5(0x259)][_0x5c1aa5(0x2bb)](_0x3029db)),this[_0x5c1aa5(0x291)]();}['_onFetchMissResult'](_0x1f930b){var _0x4be97e=_0x2a3857;if(!(this[_0x4be97e(0x259)]instanceof te))throw new TypeError(_0x4be97e(0x1fa));const _0x55022a=_0x1f930b[_0x4be97e(0x35c)](_0x532cfa=>{var _0x45dd6c=_0x4be97e;const _0x1bc8f9=this[_0x45dd6c(0x2ab)][_0x45dd6c(0x254)][_0x45dd6c(0x145)](this['_compressMutationService'][_0x45dd6c(0x254)][_0x45dd6c(0x3f7)]()[_0x45dd6c(0x150)])(_0x532cfa[_0x45dd6c(0x22a)],null)||_0x532cfa[_0x45dd6c(0x22a)];return{..._0x532cfa,'mutations':_0x1bc8f9};});this[_0x4be97e(0x157)](),this[_0x4be97e(0x303)](this[_0x4be97e(0x259)][_0x4be97e(0x1c6)](_0x55022a)),this[_0x4be97e(0x291)]();}[_0x2a3857(0x3ee)](){var _0x27dc49=_0x2a3857;this[_0x27dc49(0x157)](),this[_0x27dc49(0x303)](this['_state']['toggleOffline']()),this[_0x27dc49(0x291)]();}[_0x2a3857(0x1dd)](_0x5270ad=!0x1){var _0x1ae813=_0x2a3857;this[_0x1ae813(0x157)](),this[_0x1ae813(0x303)](this[_0x1ae813(0x259)][_0x1ae813(0x361)]()),this[_0x1ae813(0x291)]();const _0x4ed9e4=this[_0x1ae813(0x259)];_0x5270ad&&_0x4ed9e4 instanceof Pe&&(this['_lockTransition'](),this[_0x1ae813(0x303)](_0x4ed9e4[_0x1ae813(0x17d)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x14981d=>{var _0x557f31=_0x5b8f;this[_0x557f31(0x3f5)]['sessionStatus$'][_0x557f31(0x369)](_0x20e9c1(0x1))[_0x557f31(0x2cb)](async _0x45bf79=>{var _0x4d1ec1=_0x557f31;_0x14981d(await this[_0x4d1ec1(0x368)](_0x45bf79===Te['ONLINE']));});});}[_0x2a3857(0x418)](){var _0x3a6874=_0x2a3857;const _0x2da51b=this[_0x3a6874(0x12e)];return{'onStateChange':(_0x446459,_0x3843f9)=>{var _0x16cc9b=_0x3a6874;if(_0x446459!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x446459[_0x16cc9b(0x206)]+_0x16cc9b(0x363)+_0x3843f9[_0x16cc9b(0x206)]+'\x0aCurrent:\x20'+this[_0x16cc9b(0x259)]['status']);this[_0x16cc9b(0x303)](_0x3843f9);},'onSendChangeset':_0x46bc17=>{var _0x414ca5=_0x3a6874;_0x46bc17[_0x414ca5(0x38e)]||(_0x46bc17[_0x414ca5(0x38e)]=this[_0x414ca5(0x399)],_0x46bc17['reqId']=++this[_0x414ca5(0x20f)]);const _0x1f9054={'eventID':_0x562849[_0x414ca5(0x352)],'data':{'unitID':_0x46bc17['unitID'],'unitType':this[_0x414ca5(0x293)],'changeset':_0x46bc17,'memberID':this['session'][_0x414ca5(0x3b9)]()}};this[_0x414ca5(0x3f5)]['send'](_0x1f9054,this[_0x414ca5(0x12e)]);},'onMissingChangesets':({from:_0x44f004,to:_0x52b1e8})=>{var _0x310272=_0x3a6874;this['_logService'][_0x310272(0x412)](_0x310272(0x2db),_0x310272(0x23c)+_0x44f004+'\x20to\x20'+_0x52b1e8);const _0x3cfba8={'eventID':_0x562849[_0x310272(0x1e7)],'data':{'unitID':_0x2da51b,'unitType':this[_0x310272(0x293)],'from':_0x44f004,'to':_0x52b1e8}};this[_0x310272(0x3f5)]['send'](_0x3cfba8,this[_0x310272(0x12e)]);}};}async['_createInitialStateImpl'](_0x216d6d){var _0xed205c=_0x2a3857,_0x18b252,_0x1c83b2,_0x32facd;const _0x2c57c6=await((_0x18b252=this[_0xed205c(0x15c)])==null?void 0x0:_0x18b252[_0xed205c(0x3ac)](this[_0xed205c(0x12e)])),_0x20fcec=(_0x1c83b2=_0x2c57c6==null?void 0x0:_0x2c57c6[_0xed205c(0x22a)])!=null?_0x1c83b2:[],_0x2205ca=(_0x32facd=_0x2c57c6==null?void 0x0:_0x2c57c6[_0xed205c(0x398)])!=null?_0x32facd:null,_0x3f5984=!!(_0x2205ca!=null&&_0x2205ca[_0xed205c(0x38e)])&&!!(_0x2205ca!=null&&_0x2205ca[_0xed205c(0x226)]);this[_0xed205c(0x399)]=_0x3f5984?_0x2205ca[_0xed205c(0x38e)]:vs(),this[_0xed205c(0x20f)]=_0x3f5984?_0x2205ca['reqId']:0x0;const _0x2545a8=this[_0xed205c(0x12e)];try{this['_replayCachedMutations'](_0x2205ca,_0x20fcec);}catch(_0x10fc2f){this[_0xed205c(0x335)][_0xed205c(0x119)](_0x10fc2f);}const _0xfe6082=this[_0xed205c(0x418)]();if(_0x216d6d){const _0x38000c=wi(this[_0xed205c(0x158)],_0x2545a8,this['_type'],_0x2205ca,_0x20fcec,_0xfe6082);return _0x38000c instanceof oe?_0x38000c[_0xed205c(0x375)]():(_0x38000c instanceof ae||_0x38000c instanceof ue)&&_0x38000c[_0xed205c(0x2e9)](),_0x38000c;}return this[_0xed205c(0x158)][_0xed205c(0x3a6)](fe,_0x2545a8,this[_0xed205c(0x293)],_0x2205ca,_0x20fcec,_0xfe6082);}[_0x2a3857(0x2cf)](_0x2b27c8,_0x586e95){var _0x25fba3=_0x2a3857,_0x2f53c6,_0x2c48e9;const _0xab13d3=this[_0x25fba3(0x2ab)][_0x25fba3(0x254)]['fetchThroughInterceptors'](this[_0x25fba3(0x2ab)]['interceptor'][_0x25fba3(0x3f7)]()[_0x25fba3(0x150)]);(_0x2f53c6=_0xab13d3((_0x2b27c8==null?void 0x0:_0x2b27c8[_0x25fba3(0x22a)])||[],null))==null||_0x2f53c6['forEach'](_0x325cd9=>this[_0x25fba3(0x143)][_0x25fba3(0x2c1)](_0x325cd9['id'],_0x325cd9['params'])),(_0x2c48e9=_0xab13d3(_0x586e95||[],null))==null||_0x2c48e9[_0x25fba3(0x168)](_0x236f9a=>this[_0x25fba3(0x143)][_0x25fba3(0x2c1)](_0x236f9a['id'],_0x236f9a[_0x25fba3(0x146)]));}};st=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(pe)),k(0x8,_0x4e1c8f),k(0x9,_0xd6fdcf),k(0xa,_0x1c05e3),k(0xb,_0x10c77b(_t)),k(0xc,_0x10c77b(X))],st);let Ct=class extends st{constructor(_0x56e33c,_0x2647c2,_0x4ea707,_0x22a8ae,_0x5e9a96,_0x12c3bb,_0x40d880,_0x35499d,_0x2e54e6,_0xb459a,_0x1edb32,_0x10748d,_0x42f028){var _0x1dc5b2=_0x2a3857;super(_0x56e33c,_0x4ea707,_0x2647c2,_0x22a8ae,_0x5e9a96,_0x12c3bb,_0x40d880,_0x35499d,_0x2e54e6,_0xb459a,_0x1edb32,_0x10748d,_0x42f028),P(this,_0x1dc5b2(0x172),null),(this['unitID']=_0x56e33c,this[_0x1dc5b2(0x1ce)]=_0x2647c2);}[_0x2a3857(0x34b)](_0x314cbc){var _0x444e4d=_0x2a3857;this[_0x444e4d(0x172)]=_0x314cbc;}['dispose'](){var _0x4369d5=_0x2a3857;this['_handlerCallback']=null,super[_0x4369d5(0x3d7)]();}[_0x2a3857(0x418)](){var _0x4cefb7=_0x2a3857;const _0x57c49d=super[_0x4cefb7(0x418)]();return _0x57c49d[_0x4cefb7(0x2ff)]=_0x541694=>{var _0x55594b=_0x4cefb7,_0x237f19,_0x28e63d;return(_0x28e63d=(_0x237f19=this['_handlerCallback'])==null?void 0x0:_0x237f19[_0x55594b(0x2ff)])==null?void 0x0:_0x28e63d[_0x55594b(0x15a)](_0x237f19,_0x541694);},_0x57c49d[_0x4cefb7(0x2f0)]=_0x1d92cb=>{var _0x3ad951=_0x4cefb7,_0x445699,_0x27ce48;return(_0x27ce48=(_0x445699=this[_0x3ad951(0x172)])==null?void 0x0:_0x445699['onTransformState'])==null?void 0x0:_0x27ce48['call'](_0x445699,_0x1d92cb);},_0x57c49d[_0x4cefb7(0x338)]=_0x5f6685=>{var _0x371dad=_0x4cefb7,_0x828b14,_0x5034c8;return(_0x5034c8=(_0x828b14=this[_0x371dad(0x172)])==null?void 0x0:_0x828b14['onTransformSelections'])==null?void 0x0:_0x5034c8[_0x371dad(0x15a)](_0x828b14,_0x5f6685);},_0x57c49d['onSyncEditingCollabCursor']=_0x284965=>{var _0x3d8f93=_0x4cefb7,_0x4e9658,_0x55039b;return(_0x55039b=(_0x4e9658=this[_0x3d8f93(0x172)])==null?void 0x0:_0x4e9658[_0x3d8f93(0x1d0)])==null?void 0x0:_0x55039b[_0x3d8f93(0x15a)](_0x4e9658,_0x284965);},_0x57c49d['onTransformRemoteChangesetByIMECache']=_0x136834=>{var _0x5ed418=_0x4cefb7,_0x2bf71f,_0x3629e4,_0x55939a;if(!((_0x2bf71f=this['_handlerCallback'])!=null&&_0x2bf71f[_0x5ed418(0x17e)]))throw new Error(_0x5ed418(0x1f6));return(_0x55939a=(_0x3629e4=this['_handlerCallback'])==null?void 0x0:_0x3629e4[_0x5ed418(0x17e)])==null?void 0x0:_0x55939a[_0x5ed418(0x15a)](_0x3629e4,_0x136834);},_0x57c49d[_0x4cefb7(0x2bc)]=_0x325eb5=>{var _0x51ea2e=_0x4cefb7,_0x14deb2,_0x476ef1,_0x1a0082;if(!((_0x14deb2=this[_0x51ea2e(0x172)])!=null&&_0x14deb2[_0x51ea2e(0x2bc)]))throw new Error(_0x51ea2e(0x370));return(_0x1a0082=(_0x476ef1=this[_0x51ea2e(0x172)])==null?void 0x0:_0x476ef1['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1a0082[_0x51ea2e(0x15a)](_0x476ef1,_0x325eb5);},_0x57c49d;}async[_0x2a3857(0x2a1)](){var _0xfb83bb=_0x2a3857;const _0x3c7f95=await super['_init']();return this[_0xfb83bb(0x1c1)](this['_commandService']['onCommandExecuted']((_0x283cbb,_0x4d30a5)=>{var _0x20f92d=_0xfb83bb;if(_0x283cbb['type']!==_0xab8d9d[_0x20f92d(0x31a)]||_0x4d30a5!=null&&_0x4d30a5[_0x20f92d(0x342)]||_0x4d30a5!=null&&_0x4d30a5[_0x20f92d(0x253)]||_0x283cbb['id']===_0x117fd1['id'])return;const _0x2921f7=_0x283cbb['params'];if((_0x2921f7==null?void 0x0:_0x2921f7['unitId'])!==this['unitID'])return;const _0x1f788b=_0x283cbb,_0x47163e=this[_0x20f92d(0x2ab)][_0x20f92d(0x254)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x20f92d(0x254)][_0x20f92d(0x3f7)]()[_0x20f92d(0x26c)])([_0x1f788b],null)||[_0x1f788b];this[_0x20f92d(0x227)](_0x47163e[0x0]);})),_0x3c7f95;}};Ct=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(pe)),k(0x8,_0x4e1c8f),k(0x9,_0xd6fdcf),k(0xa,_0x1c05e3),k(0xb,_0x10c77b(_t)),k(0xc,_0x10c77b(X))],Ct);let bt=class extends st{constructor(_0x45f192,_0x12ea06,_0x2f4053,_0x4654f9,_0x4cb3a8,_0x527895,_0x373058,_0x1bfd0d,_0x3c820b,_0x312a3c,_0x53c2c3,_0xe549e9,_0x4fba46,_0x25741a){var _0x50b20a=_0x2a3857;super(_0x45f192,_0x2f4053,_0x12ea06,_0x4654f9,_0x4cb3a8,_0x527895,_0x373058,_0x3c820b,_0x312a3c,_0x53c2c3,_0xe549e9,_0x4fba46,_0x25741a),this['unitID']=_0x45f192,this[_0x50b20a(0x1ce)]=_0x12ea06,this[_0x50b20a(0x263)]=_0x1bfd0d;}[_0x2a3857(0x418)](){var _0x2b142c=_0x2a3857;const _0x1ccab9=super['_createHandler']();return _0x1ccab9['onTransformSelections']=_0x2cfffc=>this[_0x2b142c(0x263)]['transformSelections'](_0x2cfffc),_0x1ccab9;}async[_0x2a3857(0x2a1)](){var _0x393bd1=_0x2a3857;const _0x2fe3e8=await super['_init']();return this['disposeWithMe'](this[_0x393bd1(0x143)]['onCommandExecuted']((_0x2e6913,_0x4d1499)=>{var _0x2c719d=_0x393bd1;if(_0x2e6913[_0x2c719d(0x1ce)]!==_0xab8d9d[_0x2c719d(0x31a)]||_0x4d1499!=null&&_0x4d1499[_0x2c719d(0x342)]||_0x4d1499!=null&&_0x4d1499[_0x2c719d(0x253)])return;const _0x4ef358=_0x2e6913[_0x2c719d(0x146)];if((_0x4ef358==null?void 0x0:_0x4ef358[_0x2c719d(0x2b7)])!==this['unitID'])return;const _0x2117d5=_0x2e6913,_0x47dc81=this[_0x2c719d(0x2ab)][_0x2c719d(0x254)]['fetchThroughInterceptors'](this[_0x2c719d(0x2ab)]['interceptor'][_0x2c719d(0x3f7)]()['COMPRESS_MUTATION_SEND'])([_0x2117d5],null)||[_0x2117d5];this[_0x2c719d(0x227)](_0x47dc81[0x0]);})),_0x2fe3e8;}};bt=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(nt)),k(0x8,_0x21b3b2(pe)),k(0x9,_0x4e1c8f),k(0xa,_0xd6fdcf),k(0xb,_0x1c05e3),k(0xc,_0x10c77b(_t)),k(0xd,_0x10c77b(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x2a3857(0x1e9)],Ps=(_0x6b645a,_0x4e9aef,_0xc4893d,_0x305a4c)=>{for(var _0x306299=_0x305a4c>0x1?void 0x0:_0x305a4c?Ns(_0x4e9aef,_0xc4893d):_0x4e9aef,_0x425f53=_0x6b645a['length']-0x1,_0x51e57d;_0x425f53>=0x0;_0x425f53--)(_0x51e57d=_0x6b645a[_0x425f53])&&(_0x306299=(_0x305a4c?_0x51e57d(_0x4e9aef,_0xc4893d,_0x306299):_0x51e57d(_0x306299))||_0x306299);return _0x305a4c&&_0x306299&&Os(_0x4e9aef,_0xc4893d,_0x306299),_0x306299;},vt=(_0x54782f,_0x967b02)=>(_0x49d68e,_0x290d43)=>_0x967b02(_0x49d68e,_0x290d43,_0x54782f);let rt=class extends _0x3f0249{constructor(_0xa550a0,_0x447dc8,_0x47de5d){var _0x19ad78=_0x2a3857;super(),P(this,_0x19ad78(0x181),new Map()),P(this,_0x19ad78(0x2a3),new _0x282fa7()),P(this,_0x19ad78(0x307),this[_0x19ad78(0x2a3)]['asObservable']()),(this[_0x19ad78(0x158)]=_0xa550a0,this[_0x19ad78(0x1b1)]=_0x447dc8,this[_0x19ad78(0x3cd)]=_0x47de5d,this[_0x19ad78(0x2a1)]());}[_0x2a3857(0x3d7)](){var _0x532f5d=_0x2a3857;super[_0x532f5d(0x3d7)](),this[_0x532f5d(0x181)][_0x532f5d(0x168)](_0x9d6f0a=>_0x9d6f0a['dispose']()),this[_0x532f5d(0x181)][_0x532f5d(0x38d)]();}['getCollabEntity'](_0x3cf098){var _0x14effc=_0x2a3857,_0x4b74bc;return(_0x4b74bc=this[_0x14effc(0x181)][_0x14effc(0x21d)](_0x3cf098))!=null?_0x4b74bc:null;}['getCollabEntity$'](_0x404c46){var _0x5b7ca4=_0x2a3857;const _0x5b4c34=this[_0x5b7ca4(0x304)](_0x404c46);return _0x5b4c34?_0x59284b(_0x5b4c34):this[_0x5b7ca4(0x2a3)][_0x5b7ca4(0x369)](_0x5bfb9e(_0x3f46d5=>_0x3f46d5[_0x5b7ca4(0x12e)]===_0x404c46));}[_0x2a3857(0x130)](_0x13ed45){var _0xc7e990=_0x2a3857;return _0x3b9423(this[_0xc7e990(0x28f)](_0x13ed45)[_0xc7e990(0x369)](_0x4bf464(()=>{})));}[_0x2a3857(0x2a1)](){var _0x4fdd02=_0x2a3857;this[_0x4fdd02(0x3cd)][_0x4fdd02(0x1b3)](_0x465e07['UNIVER_SHEET'])[_0x4fdd02(0x369)](_0x49b26f(this[_0x4fdd02(0x3bb)]),_0x1e0965(0x10))[_0x4fdd02(0x2cb)](async _0x292a1a=>{var _0x455c15=_0x4fdd02;const _0xd1e96d=_0x292a1a[_0x455c15(0x3b4)](),_0x32d709=await this[_0x455c15(0x2e5)](_0xd1e96d,Q[_0x455c15(0x292)]);this['_entities'][_0x455c15(0x3d2)](_0xd1e96d,_0x32d709);}),this[_0x4fdd02(0x3cd)][_0x4fdd02(0x1b3)](_0x465e07[_0x4fdd02(0x1d6)])[_0x4fdd02(0x369)](_0x49b26f(this['dispose$']),_0x1e0965(0x10))['pipe'](_0x5bfb9e(_0x441843=>!_0x441843[_0x4fdd02(0x3b4)]()[_0x4fdd02(0x3a1)]('__')))[_0x4fdd02(0x2cb)](async _0xbe5876=>{var _0x1334a1=_0x4fdd02;const _0x5d3eee=_0xbe5876[_0x1334a1(0x3b4)](),_0x580ed9=await this[_0x1334a1(0x2e5)](_0x5d3eee,Q[_0x1334a1(0x1d6)]);this[_0x1334a1(0x181)][_0x1334a1(0x3d2)](_0x5d3eee,_0x580ed9);}),_0xc9cdeb(this[_0x4fdd02(0x3cd)][_0x4fdd02(0x39f)](_0x465e07['UNIVER_SHEET']),this[_0x4fdd02(0x3cd)][_0x4fdd02(0x39f)](_0x465e07['UNIVER_DOC']))[_0x4fdd02(0x369)](_0x49b26f(this[_0x4fdd02(0x3bb)]))[_0x4fdd02(0x2cb)](_0x2c38c6=>{var _0x3cfc49=_0x4fdd02;const _0x7716c2=_0x2c38c6[_0x3cfc49(0x3b4)](),_0x488af2=this[_0x3cfc49(0x181)]['get'](_0x7716c2);_0x488af2&&(_0x488af2['dispose'](),this[_0x3cfc49(0x181)][_0x3cfc49(0x1a7)](_0x7716c2));});}async[_0x2a3857(0x2e5)](_0xfa1536,_0x47f7cd){var _0x5b02d1=_0x2a3857;const _0x2bee20=await this[_0x5b02d1(0x1b1)]['requireSession'](_0xfa1536),_0x3c1877=this[_0x5b02d1(0x158)][_0x5b02d1(0x3a6)](this[_0x5b02d1(0x3a7)](_0x47f7cd),_0xfa1536,_0x47f7cd,_0x2bee20);return await _0x3c1877[_0x5b02d1(0x1de)](),this[_0x5b02d1(0x2a3)][_0x5b02d1(0x386)](_0x3c1877),_0x3c1877;}[_0x2a3857(0x3a7)](_0x43e518){var _0x263292=_0x2a3857;switch(_0x43e518){case Q['UNIVER_DOC']:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error(_0x263292(0x2bd)+_0x43e518);}}};rt=Ps([vt(0x0,_0x21b3b2(_0x548366)),vt(0x1,_0x21b3b2(Le)),vt(0x2,_0x40e127)],rt);var Ds=Object[_0x2a3857(0x239)],ws=Object[_0x2a3857(0x1e9)],Us=(_0x4c3ce4,_0x36f714,_0x1eed1a,_0x378aec)=>{var _0x22ab70=_0x2a3857;for(var _0x260cf7=_0x378aec>0x1?void 0x0:_0x378aec?ws(_0x36f714,_0x1eed1a):_0x36f714,_0xdfeb56=_0x4c3ce4[_0x22ab70(0x32e)]-0x1,_0x48ff95;_0xdfeb56>=0x0;_0xdfeb56--)(_0x48ff95=_0x4c3ce4[_0xdfeb56])&&(_0x260cf7=(_0x378aec?_0x48ff95(_0x36f714,_0x1eed1a,_0x260cf7):_0x48ff95(_0x260cf7))||_0x260cf7);return _0x378aec&&_0x260cf7&&Ds(_0x36f714,_0x1eed1a,_0x260cf7),_0x260cf7;},Zt=(_0x2adefd,_0x164a7a)=>(_0x36b3b6,_0x11a530)=>_0x164a7a(_0x36b3b6,_0x11a530,_0x2adefd);const As='DEFAULT_FILE_NAME',xs='Univer';let Rt=class extends _0x2e140f{constructor(_0x5e548d,_0x1a172e){var _0x2b143b=_0x2a3857;super(),this[_0x2b143b(0x3cd)]=_0x5e548d,this['_configService']=_0x1a172e,this[_0x2b143b(0x2a1)]();}['_init'](){var _0x3d47c7=_0x2a3857;this['disposeWithMe'](this[_0x3d47c7(0x3cd)][_0x3d47c7(0x179)][_0x3d47c7(0x2cb)](()=>{var _0xce8287=_0x3d47c7,_0x2f2857;const _0x57b98d=this[_0xce8287(0x3cd)]['getFocusedUnit']();let _0x4adeef=(_0x2f2857=this[_0xce8287(0x205)][_0xce8287(0x122)](As))!=null?_0x2f2857:xs;_0x57b98d instanceof _0x115f48&&(_0x4adeef=_0x57b98d['name']),document[_0xce8287(0x210)]=_0x4adeef;}));}};Rt=Us([Zt(0x0,_0x40e127),Zt(0x1,_0x24bebb)],Rt);var Ls=Object[_0x2a3857(0x239)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x1ea4a8,_0x27e667,_0xe74f6c,_0x4ab8a5)=>{var _0x5ceb5b=_0x2a3857;for(var _0x4b398f=_0x4ab8a5>0x1?void 0x0:_0x4ab8a5?Ms(_0x27e667,_0xe74f6c):_0x27e667,_0xc38d85=_0x1ea4a8[_0x5ceb5b(0x32e)]-0x1,_0x52e7ec;_0xc38d85>=0x0;_0xc38d85--)(_0x52e7ec=_0x1ea4a8[_0xc38d85])&&(_0x4b398f=(_0x4ab8a5?_0x52e7ec(_0x27e667,_0xe74f6c,_0x4b398f):_0x52e7ec(_0x4b398f))||_0x4b398f);return _0x4ab8a5&&_0x4b398f&&Ls(_0x27e667,_0xe74f6c,_0x4b398f),_0x4b398f;},pt=(_0x12348e,_0x163a28)=>(_0x6b2d41,_0x545a26)=>_0x163a28(_0x6b2d41,_0x545a26,_0x12348e);let ot=class{constructor(_0x1f8c79,_0x10be09,_0x2b13fa){var _0x3f5096=_0x2a3857;this[_0x3f5096(0x205)]=_0x1f8c79,this[_0x3f5096(0x330)]=_0x10be09,this[_0x3f5096(0x323)]=_0x2b13fa,this['init']();}[_0x2a3857(0x1de)](){var _0x5b6967=_0x2a3857;this[_0x5b6967(0x330)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x24c52b,_0x101dab)=>_0x101dab(_0x24c52b)[_0x5b6967(0x369)](_0xdf9ab4(async _0x464c71=>{var _0x334e86=_0x5b6967;const _0x2f768a=_0x464c71;if(_0x2f768a[_0x334e86(0x206)]===0x191){if(typeof window>'u')throw new Error(_0x334e86(0x1fb));if(window['confirm'](this[_0x334e86(0x323)]['t'](_0x334e86(0x2f3)))){const _0x316607=window[_0x334e86(0x1e8)](window[_0x334e86(0x38a)]['href']);window[_0x334e86(0x38a)][_0x334e86(0x13a)]=this['_getLoginPath']()+_0x334e86(0x325)+_0x316607;}}return _0x2f768a;}))});}[_0x2a3857(0x1c2)](){var _0x3e0963=_0x2a3857,_0x442a23,_0x530fb0;const _0x430c5e=this[_0x3e0963(0x205)][_0x3e0963(0x122)](Wn),_0x10aa4b=this[_0x3e0963(0x205)]['getConfig'](Y);return(_0x530fb0=(_0x442a23=_0x10aa4b==null?void 0x0:_0x10aa4b['loginUrlKey'])!=null?_0x442a23:_0x430c5e)!=null?_0x530fb0:Gn;}};ot=$s([pt(0x0,_0x24bebb),pt(0x1,_0x21b3b2(_0x4fa095)),pt(0x2,_0x21b3b2(_0x551f00))],ot);var Hs=Object[_0x2a3857(0x239)],ks=Object[_0x2a3857(0x1e9)],js=(_0x528c3c,_0xf15068,_0x15bbc2,_0x13998e)=>{for(var _0x57a992=_0x13998e>0x1?void 0x0:_0x13998e?ks(_0xf15068,_0x15bbc2):_0xf15068,_0x2f8682=_0x528c3c['length']-0x1,_0x383e5b;_0x2f8682>=0x0;_0x2f8682--)(_0x383e5b=_0x528c3c[_0x2f8682])&&(_0x57a992=(_0x13998e?_0x383e5b(_0xf15068,_0x15bbc2,_0x57a992):_0x383e5b(_0x57a992))||_0x57a992);return _0x13998e&&_0x57a992&&Hs(_0xf15068,_0x15bbc2,_0x57a992),_0x57a992;},Qt=(_0x4d79c1,_0xfe97da)=>(_0x1ccb84,_0x43839f)=>_0xfe97da(_0x1ccb84,_0x43839f,_0x4d79c1);const Ui=_0x2a3857(0x1b4),Bs=_0x2a3857(0x2da);let yt=class extends _0x2e140f{constructor(_0x11561d,_0x488d7b){var _0x4c917f=_0x2a3857;super(),this['_HTTPService']=_0x11561d,this[_0x4c917f(0x205)]=_0x488d7b,this[_0x4c917f(0x41c)]();}[_0x2a3857(0x41c)](){var _0x31e730=_0x2a3857;const _0x1f720e=this;this[_0x31e730(0x1c1)](this[_0x31e730(0x1ab)][_0x31e730(0x128)]({'priority':0x3e7,'interceptor':_0x105041({'isMatch'(_0x87c36a){var _0x21f627=_0x31e730,_0x1a677c;if(_0x87c36a[_0x21f627(0x2a4)]==='POST'&&((_0x1a677c=_0x87c36a[_0x21f627(0x3d5)])!=null&&_0x1a677c[_0x21f627(0x1a1)])){const {objectID:_0x1de9f4,objectType:_0x1ce262}=_0x87c36a[_0x21f627(0x3d5)][_0x21f627(0x1a1)]||{};if(!_0x1de9f4||_0x1ce262===void 0x0)return!0x1;const _0x3e0f10=_0x1f720e[_0x21f627(0x1b2)]()+'/'+_0x1ce262+_0x21f627(0x13d)+_0x1de9f4+_0x21f627(0x37d);if(_0x87c36a[_0x21f627(0x120)]===_0x3e0f10)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x41a5a1){var _0x1ee954=_0x31e730,_0x224653;return(_0x224653=_0x41a5a1[_0x1ee954(0x3d5)])==null?void 0x0:_0x224653['body'];},'mergeParamsToRequest'(_0x2d95a7,_0x4c827f){var _0x739583=_0x31e730;const _0x12bcae=_0x1f720e['_getAPIPrefixPath']()+_0x739583(0x1ee),_0x2f2800=_0x2d95a7['reduce']((_0x11c090,_0x2861b7)=>{var _0x10347f=_0x739583;const {unitID:_0xde74b8,objectID:_0x2ae822,objectType:_0x369a7d,actions:_0x22e271}=_0x2861b7;return _0x11c090[_0xde74b8]||(_0x11c090[_0xde74b8]={}),_0x11c090[_0xde74b8][_0x2ae822]||(_0x11c090[_0xde74b8][_0x2ae822]={'objectID':_0x2ae822,'objectType':_0x369a7d,'actions':[]}),_0x11c090[_0xde74b8][_0x2ae822][_0x10347f(0x3fc)][_0x10347f(0x271)](..._0x22e271),_0x11c090;},{}),_0x59f6ac=[];for(const _0x32a4c8 in _0x2f2800)for(const _0x11b8fe in _0x2f2800[_0x32a4c8]){const {actions:_0x53bbcd,objectType:_0x11a622}=_0x2f2800[_0x32a4c8][_0x11b8fe],_0x32cba6=[...new Set(_0x53bbcd)];_0x59f6ac[_0x739583(0x271)]({'unitID':_0x32a4c8,'objectID':_0x11b8fe,'objectType':_0x11a622,'actions':_0x32cba6});}return new _0x4403e8(_0x739583(0x2c2),_0x12bcae,{'headers':_0x4c827f[_0x739583(0x33b)],'withCredentials':_0x4c827f[_0x739583(0x2f9)],'responseType':_0x4c827f[_0x739583(0x35f)],'body':{'requests':_0x59f6ac}});}},{'distributeResult'(_0x241e2d,_0x41580f){var _0x518bb7=_0x31e730;const {objectActions:_0x3a1a8e}=_0x241e2d;return _0x41580f[_0x518bb7(0x35c)](_0x277412=>{var _0x3f3602=_0x518bb7;const {unitID:_0xd01bb9,objectID:_0x295708,actions:_0x245689}=_0x277412,_0x4fe570=_0x3a1a8e[_0x3f3602(0x189)](_0x58df80=>_0x58df80['unitID']===_0xd01bb9&&_0x58df80[_0x3f3602(0x129)]===_0x295708),_0x44ad18=_0x245689[_0x3f3602(0x35c)](_0x576988=>_0x4fe570==null?void 0x0:_0x4fe570[_0x3f3602(0x3fc)][_0x3f3602(0x189)](_0x83d518=>_0x83d518[_0x3f3602(0x3ad)]===_0x576988))[_0x3f3602(0x166)](_0x53f4a1=>!!_0x53f4a1);return{'config':_0x277412,'result':{'actions':_0x44ad18,'error':_0x241e2d[_0x3f3602(0x119)]}};});}})}));}[_0x2a3857(0x1b2)](){var _0x4e6a59=_0x2a3857,_0x3fb4ee,_0x1dff83;const _0x1ce4d9=this['_configService'][_0x4e6a59(0x122)](Ui),_0x2a7589=this[_0x4e6a59(0x205)][_0x4e6a59(0x122)](Y);return(_0x1dff83=(_0x3fb4ee=_0x2a7589==null?void 0x0:_0x2a7589[_0x4e6a59(0x334)])!=null?_0x3fb4ee:_0x1ce4d9)!=null?_0x1dff83:Bs;}async[_0x2a3857(0x3ea)](_0x38b18a){var _0x46ea15=_0x2a3857;const _0x5de59c=this[_0x46ea15(0x1b2)]()+'/'+_0x38b18a[_0x46ea15(0x2f8)]+_0x46ea15(0x409);return(await this[_0x46ea15(0x1ab)]['post'](_0x5de59c,{'body':_0x38b18a}))[_0x46ea15(0x1a1)][_0x46ea15(0x129)]||'';}async['list'](_0x4e9025){var _0x59977a=_0x2a3857;const _0x348f58=this[_0x59977a(0x1b2)]()+'/-/object/list';return(await this['_HTTPService'][_0x59977a(0x1f8)](_0x348f58,{'body':_0x4e9025}))[_0x59977a(0x1a1)][_0x59977a(0x21f)];}async[_0x2a3857(0x3a4)](_0x4ac845){var _0x18e6ec=_0x2a3857;const _0x2640a3=this[_0x18e6ec(0x1b2)]()+'/'+_0x4ac845[_0x18e6ec(0x2f8)]+_0x18e6ec(0x13d)+_0x4ac845[_0x18e6ec(0x129)];await this[_0x18e6ec(0x1ab)][_0x18e6ec(0x131)](_0x2640a3,{'body':_0x4ac845});}async[_0x2a3857(0x326)](_0x2f9e05){var _0x96002c=_0x2a3857;const _0x444d70=this[_0x96002c(0x1b2)]()+'/'+_0x2f9e05['objectType']+_0x96002c(0x13d)+_0x2f9e05[_0x96002c(0x129)]+_0x96002c(0x37d);return(await this[_0x96002c(0x1ab)][_0x96002c(0x1f8)](_0x444d70,{'body':_0x2f9e05}))[_0x96002c(0x1a1)][_0x96002c(0x3fc)];}async[_0x2a3857(0x318)](_0x30683b){var _0x44c583=_0x2a3857;const _0x1bd088=this[_0x44c583(0x1b2)]()+_0x44c583(0x1ee);return(await this[_0x44c583(0x1ab)]['post'](_0x1bd088,{'body':{'requests':_0x30683b}}))[_0x44c583(0x1a1)][_0x44c583(0x31e)];}async[_0x2a3857(0x16d)](_0x2a8758){var _0x2251f0=_0x2a3857;const _0x585b81=this['_getAPIPrefixPath']()+'/'+_0x2a8758[_0x2251f0(0x2f8)]+'/role',_0x12ca1e=await this[_0x2251f0(0x1ab)][_0x2251f0(0x1f8)](_0x585b81,{'body':_0x2a8758});return{'roles':_0x12ca1e[_0x2251f0(0x1a1)][_0x2251f0(0x313)],'actions':_0x12ca1e[_0x2251f0(0x1a1)][_0x2251f0(0x3fc)]};}async['deleteCollaborator'](_0x50443a){var _0x1d9ccb=_0x2a3857;const _0x36e3ac=this[_0x1d9ccb(0x1b2)]()+_0x1d9ccb(0x26d);await this['_HTTPService'][_0x1d9ccb(0x1a7)](_0x36e3ac,{'params':{'collaboratorID':_0x50443a[_0x1d9ccb(0x27f)],'objectID':_0x50443a[_0x1d9ccb(0x129)],'unitID':_0x50443a[_0x1d9ccb(0x12e)]}});}async[_0x2a3857(0x22c)](_0x1f9884){var _0x61417f=_0x2a3857;const _0x5866c5=this[_0x61417f(0x1b2)]()+'/collaborator';await this['_HTTPService'][_0x61417f(0x30c)](_0x5866c5,{'body':_0x1f9884});}async['createCollaborator'](_0x432f90){var _0x56e02d=_0x2a3857;const _0x2226d9=this[_0x56e02d(0x1b2)]()+'/collaborator';await this[_0x56e02d(0x1ab)][_0x56e02d(0x1f8)](_0x2226d9,{'body':_0x432f90});}async['listCollaborators'](_0x15e1a6){var _0x48ca35=_0x2a3857;const _0x5f581d=this[_0x48ca35(0x1b2)]()+_0x48ca35(0x26d);return(await this[_0x48ca35(0x1ab)]['get'](_0x5f581d,{'params':{'objectID':_0x15e1a6[_0x48ca35(0x129)],'unitID':_0x15e1a6[_0x48ca35(0x12e)]}}))['body'][_0x48ca35(0x3a8)];}async[_0x2a3857(0x2cc)](_0x6da29d){var _0x4f35a5=_0x2a3857;const _0x49d06e=this[_0x4f35a5(0x1b2)]()+_0x4f35a5(0x26d);await this['_HTTPService'][_0x4f35a5(0x131)](_0x49d06e,{'body':_0x6da29d});}};yt=js([Qt(0x0,_0x21b3b2(_0x4fa095)),Qt(0x1,_0x21b3b2(_0x24bebb))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3bbae1){var _0x1668ef=_0x2a3857;return _0x3bbae1&&_0x3bbae1[_0x1668ef(0x229)]&&Object[_0x1668ef(0x22e)][_0x1668ef(0x290)][_0x1668ef(0x15a)](_0x3bbae1,'default')?_0x3bbae1[_0x1668ef(0x382)]:_0x3bbae1;}var We={'exports':{}};function Fs(_0x6bb8f1){var _0x226b7e=_0x2a3857;throw new Error(_0x226b7e(0x209)+_0x6bb8f1+_0x226b7e(0x3de));}var Ge={'exports':{}},Vs=Ge['exports'],ei;function ne(){var _0x490495=_0x2a3857;return ei||(ei=0x1,function(_0x1c5634,_0x527a8e){(function(_0x4b236b,_0x1b2cf4){var _0x3e5b5f=_0x5b8f;_0x1c5634[_0x3e5b5f(0x414)]=_0x1b2cf4();}(Vs,function(){var _0x3890a6=_0x3890a6||function(_0x55d6d6,_0x2ee6b0){var _0x5f4fe9=_0x5b8f,_0x2a1cdc;if(typeof window<'u'&&window[_0x5f4fe9(0x401)]&&(_0x2a1cdc=window[_0x5f4fe9(0x401)]),typeof self<'u'&&self[_0x5f4fe9(0x401)]&&(_0x2a1cdc=self[_0x5f4fe9(0x401)]),typeof globalThis<'u'&&globalThis[_0x5f4fe9(0x401)]&&(_0x2a1cdc=globalThis[_0x5f4fe9(0x401)]),!_0x2a1cdc&&typeof window<'u'&&window[_0x5f4fe9(0x38c)]&&(_0x2a1cdc=window[_0x5f4fe9(0x38c)]),!_0x2a1cdc&&typeof mt<'u'&&mt[_0x5f4fe9(0x401)]&&(_0x2a1cdc=mt[_0x5f4fe9(0x401)]),!_0x2a1cdc&&typeof Fs==_0x5f4fe9(0x302))try{_0x2a1cdc=require('crypto');}catch{}var _0x24703c=function(){var _0x2fa598=_0x5f4fe9;if(_0x2a1cdc){if(typeof _0x2a1cdc[_0x2fa598(0x257)]==_0x2fa598(0x302))try{return _0x2a1cdc[_0x2fa598(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a1cdc[_0x2fa598(0x3c6)]==_0x2fa598(0x302))try{return _0x2a1cdc[_0x2fa598(0x3c6)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x40ff1e=Object[_0x5f4fe9(0x3ea)]||(function(){function _0x3f8dd7(){}return function(_0x5ba0aa){var _0x55b892=_0x5b8f,_0x17ca5f;return _0x3f8dd7[_0x55b892(0x22e)]=_0x5ba0aa,_0x17ca5f=new _0x3f8dd7(),_0x3f8dd7[_0x55b892(0x22e)]=null,_0x17ca5f;};}()),_0x356e13={},_0xa93cd3=_0x356e13[_0x5f4fe9(0x1bd)]={},_0x536ddb=_0xa93cd3[_0x5f4fe9(0x1b0)]=(function(){return{'extend':function(_0x5e7766){var _0x3768aa=_0x5b8f,_0xcf0bd9=_0x40ff1e(this);return _0x5e7766&&_0xcf0bd9[_0x3768aa(0x11c)](_0x5e7766),(!_0xcf0bd9[_0x3768aa(0x290)]('init')||this[_0x3768aa(0x1de)]===_0xcf0bd9[_0x3768aa(0x1de)])&&(_0xcf0bd9[_0x3768aa(0x1de)]=function(){var _0x3fecc6=_0x3768aa;_0xcf0bd9[_0x3fecc6(0x2b9)][_0x3fecc6(0x1de)][_0x3fecc6(0x2d3)](this,arguments);}),_0xcf0bd9[_0x3768aa(0x1de)][_0x3768aa(0x22e)]=_0xcf0bd9,_0xcf0bd9[_0x3768aa(0x2b9)]=this,_0xcf0bd9;},'create':function(){var _0x47334a=_0x5b8f,_0x29211b=this[_0x47334a(0x18e)]();return _0x29211b[_0x47334a(0x1de)]['apply'](_0x29211b,arguments),_0x29211b;},'init':function(){},'mixIn':function(_0x10ba5c){var _0xb8369f=_0x5b8f;for(var _0x47ca02 in _0x10ba5c)_0x10ba5c[_0xb8369f(0x290)](_0x47ca02)&&(this[_0x47ca02]=_0x10ba5c[_0x47ca02]);_0x10ba5c[_0xb8369f(0x290)](_0xb8369f(0x28c))&&(this['toString']=_0x10ba5c[_0xb8369f(0x28c)]);},'clone':function(){var _0x5d3f32=_0x5b8f;return this['init'][_0x5d3f32(0x22e)][_0x5d3f32(0x18e)](this);}};}()),_0x5b959e=_0xa93cd3[_0x5f4fe9(0x190)]=_0x536ddb[_0x5f4fe9(0x18e)]({'init':function(_0x40a289,_0x3c3776){var _0x53a612=_0x5f4fe9;_0x40a289=this[_0x53a612(0x251)]=_0x40a289||[],_0x3c3776!=_0x2ee6b0?this[_0x53a612(0x407)]=_0x3c3776:this[_0x53a612(0x407)]=_0x40a289[_0x53a612(0x32e)]*0x4;},'toString':function(_0x186bc9){var _0xc7bb69=_0x5f4fe9;return(_0x186bc9||_0x712137)[_0xc7bb69(0x178)](this);},'concat':function(_0x191c51){var _0x18aa58=_0x5f4fe9,_0x59ea58=this[_0x18aa58(0x251)],_0x513198=_0x191c51[_0x18aa58(0x251)],_0x3dc1d0=this[_0x18aa58(0x407)],_0x110bad=_0x191c51[_0x18aa58(0x407)];if(this[_0x18aa58(0x1cc)](),_0x3dc1d0%0x4)for(var _0x48ed11=0x0;_0x48ed11<_0x110bad;_0x48ed11++){var _0x247c5d=_0x513198[_0x48ed11>>>0x2]>>>0x18-_0x48ed11%0x4*0x8&0xff;_0x59ea58[_0x3dc1d0+_0x48ed11>>>0x2]|=_0x247c5d<<0x18-(_0x3dc1d0+_0x48ed11)%0x4*0x8;}else{for(var _0x26174d=0x0;_0x26174d<_0x110bad;_0x26174d+=0x4)_0x59ea58[_0x3dc1d0+_0x26174d>>>0x2]=_0x513198[_0x26174d>>>0x2];}return this[_0x18aa58(0x407)]+=_0x110bad,this;},'clamp':function(){var _0x205286=_0x5f4fe9,_0x5c28ca=this[_0x205286(0x251)],_0x2cebc0=this[_0x205286(0x407)];_0x5c28ca[_0x2cebc0>>>0x2]&=0xffffffff<<0x20-_0x2cebc0%0x4*0x8,_0x5c28ca['length']=_0x55d6d6[_0x205286(0x123)](_0x2cebc0/0x4);},'clone':function(){var _0x492192=_0x5f4fe9,_0x33717f=_0x536ddb[_0x492192(0x3bf)][_0x492192(0x15a)](this);return _0x33717f[_0x492192(0x251)]=this['words']['slice'](0x0),_0x33717f;},'random':function(_0x310bd0){var _0x221659=_0x5f4fe9;for(var _0x35c3a2=[],_0x306a47=0x0;_0x306a47<_0x310bd0;_0x306a47+=0x4)_0x35c3a2[_0x221659(0x271)](_0x24703c());return new _0x5b959e[(_0x221659(0x1de))](_0x35c3a2,_0x310bd0);}}),_0x917f71=_0x356e13[_0x5f4fe9(0x3b6)]={},_0x712137=_0x917f71[_0x5f4fe9(0x235)]={'stringify':function(_0x369965){var _0x4ef21e=_0x5f4fe9;for(var _0x2c0ed5=_0x369965[_0x4ef21e(0x251)],_0x5ef54a=_0x369965[_0x4ef21e(0x407)],_0x26abd9=[],_0x11969f=0x0;_0x11969f<_0x5ef54a;_0x11969f++){var _0x3a84a3=_0x2c0ed5[_0x11969f>>>0x2]>>>0x18-_0x11969f%0x4*0x8&0xff;_0x26abd9[_0x4ef21e(0x271)]((_0x3a84a3>>>0x4)['toString'](0x10)),_0x26abd9['push']((_0x3a84a3&0xf)[_0x4ef21e(0x28c)](0x10));}return _0x26abd9[_0x4ef21e(0x2b0)]('');},'parse':function(_0x1e9a1a){var _0xc35b4b=_0x5f4fe9;for(var _0x55dfee=_0x1e9a1a[_0xc35b4b(0x32e)],_0x412cc7=[],_0x1bee09=0x0;_0x1bee09<_0x55dfee;_0x1bee09+=0x2)_0x412cc7[_0x1bee09>>>0x3]|=parseInt(_0x1e9a1a[_0xc35b4b(0x2eb)](_0x1bee09,0x2),0x10)<<0x18-_0x1bee09%0x8*0x4;return new _0x5b959e[(_0xc35b4b(0x1de))](_0x412cc7,_0x55dfee/0x2);}},_0xfb7bfc=_0x917f71[_0x5f4fe9(0x13c)]={'stringify':function(_0x25be4f){var _0x37a54c=_0x5f4fe9;for(var _0x18cb35=_0x25be4f[_0x37a54c(0x251)],_0x1da5df=_0x25be4f[_0x37a54c(0x407)],_0x2320b2=[],_0x3c46e8=0x0;_0x3c46e8<_0x1da5df;_0x3c46e8++){var _0x19e815=_0x18cb35[_0x3c46e8>>>0x2]>>>0x18-_0x3c46e8%0x4*0x8&0xff;_0x2320b2[_0x37a54c(0x271)](String[_0x37a54c(0x3fb)](_0x19e815));}return _0x2320b2[_0x37a54c(0x2b0)]('');},'parse':function(_0xc3ef81){var _0x2d8541=_0x5f4fe9;for(var _0x196a77=_0xc3ef81[_0x2d8541(0x32e)],_0x298ccf=[],_0x5d38c0=0x0;_0x5d38c0<_0x196a77;_0x5d38c0++)_0x298ccf[_0x5d38c0>>>0x2]|=(_0xc3ef81[_0x2d8541(0x21e)](_0x5d38c0)&0xff)<<0x18-_0x5d38c0%0x4*0x8;return new _0x5b959e[(_0x2d8541(0x1de))](_0x298ccf,_0x196a77);}},_0x8efff5=_0x917f71[_0x5f4fe9(0x2d0)]={'stringify':function(_0x4f4c8d){var _0x1bd29e=_0x5f4fe9;try{return decodeURIComponent(escape(_0xfb7bfc['stringify'](_0x4f4c8d)));}catch{throw new Error(_0x1bd29e(0x390));}},'parse':function(_0x19a476){return _0xfb7bfc['parse'](unescape(encodeURIComponent(_0x19a476)));}},_0x5470b4=_0xa93cd3[_0x5f4fe9(0x1ea)]=_0x536ddb[_0x5f4fe9(0x18e)]({'reset':function(){var _0x583c4f=_0x5f4fe9;this[_0x583c4f(0x1a2)]=new _0x5b959e[(_0x583c4f(0x1de))](),this[_0x583c4f(0x28a)]=0x0;},'_append':function(_0x175e59){var _0x13a8d2=_0x5f4fe9;typeof _0x175e59==_0x13a8d2(0x29a)&&(_0x175e59=_0x8efff5['parse'](_0x175e59)),this[_0x13a8d2(0x1a2)][_0x13a8d2(0x3b1)](_0x175e59),this['_nDataBytes']+=_0x175e59[_0x13a8d2(0x407)];},'_process':function(_0x3bd982){var _0x3c9247=_0x5f4fe9,_0x39eff6,_0x2d2af2=this['_data'],_0x4c022=_0x2d2af2[_0x3c9247(0x251)],_0x40fa32=_0x2d2af2[_0x3c9247(0x407)],_0x1b413d=this[_0x3c9247(0x162)],_0x4a78ba=_0x1b413d*0x4,_0xf2dc7=_0x40fa32/_0x4a78ba;_0x3bd982?_0xf2dc7=_0x55d6d6[_0x3c9247(0x123)](_0xf2dc7):_0xf2dc7=_0x55d6d6[_0x3c9247(0x24b)]((_0xf2dc7|0x0)-this['_minBufferSize'],0x0);var _0x55efb6=_0xf2dc7*_0x1b413d,_0x3d744b=_0x55d6d6[_0x3c9247(0x3ff)](_0x55efb6*0x4,_0x40fa32);if(_0x55efb6){for(var _0x4c1f62=0x0;_0x4c1f62<_0x55efb6;_0x4c1f62+=_0x1b413d)this[_0x3c9247(0x391)](_0x4c022,_0x4c1f62);_0x39eff6=_0x4c022['splice'](0x0,_0x55efb6),_0x2d2af2['sigBytes']-=_0x3d744b;}return new _0x5b959e[(_0x3c9247(0x1de))](_0x39eff6,_0x3d744b);},'clone':function(){var _0x25a2e6=_0x5f4fe9,_0x31d372=_0x536ddb['clone'][_0x25a2e6(0x15a)](this);return _0x31d372[_0x25a2e6(0x1a2)]=this[_0x25a2e6(0x1a2)][_0x25a2e6(0x3bf)](),_0x31d372;},'_minBufferSize':0x0});_0xa93cd3[_0x5f4fe9(0x275)]=_0x5470b4[_0x5f4fe9(0x18e)]({'cfg':_0x536ddb[_0x5f4fe9(0x18e)](),'init':function(_0x3df2aa){var _0x1d4cab=_0x5f4fe9;this[_0x1d4cab(0x2f2)]=this['cfg'][_0x1d4cab(0x18e)](_0x3df2aa),this[_0x1d4cab(0x31f)]();},'reset':function(){var _0x2d350a=_0x5f4fe9;_0x5470b4['reset'][_0x2d350a(0x15a)](this),this[_0x2d350a(0x366)]();},'update':function(_0x23c852){var _0x7b755b=_0x5f4fe9;return this[_0x7b755b(0x21c)](_0x23c852),this['_process'](),this;},'finalize':function(_0x1a9402){var _0x12e5e7=_0x5f4fe9;_0x1a9402&&this[_0x12e5e7(0x21c)](_0x1a9402);var _0x3e58f9=this[_0x12e5e7(0x336)]();return _0x3e58f9;},'blockSize':0x10,'_createHelper':function(_0x466fd6){return function(_0x31cc14,_0x816c3e){var _0x4f4d7a=_0x5b8f;return new _0x466fd6[(_0x4f4d7a(0x1de))](_0x816c3e)[_0x4f4d7a(0x2d7)](_0x31cc14);};},'_createHmacHelper':function(_0xe9256a){return function(_0x330ac7,_0xe2a806){var _0x4898d7=_0x5b8f;return new _0x588f94[(_0x4898d7(0x1bb))]['init'](_0xe9256a,_0xe2a806)['finalize'](_0x330ac7);};}});var _0x588f94=_0x356e13[_0x5f4fe9(0x14e)]={};return _0x356e13;}(Math);return _0x3890a6;}));}(Ge)),Ge[_0x490495(0x414)];}var Ke={'exports':{}},Ws=Ke[_0x2a3857(0x414)],ti;function Ai(){return ti||(ti=0x1,function(_0x201b77,_0x39bde5){(function(_0x10e5a6,_0x42b47d){var _0x2862b9=_0x5b8f;_0x201b77[_0x2862b9(0x414)]=_0x42b47d(ne());}(Ws,function(_0x34e08d){var _0xb869bc=_0x5b8f;return(function(){var _0x24d2f8=_0x5b8f,_0x38065b=_0x34e08d,_0x5d5fca=_0x38065b[_0x24d2f8(0x1bd)],_0x258666=_0x5d5fca[_0x24d2f8(0x190)],_0xc4d642=_0x38065b['enc'];_0xc4d642[_0x24d2f8(0x241)]={'stringify':function(_0x12ae7e){var _0x20d8c9=_0x24d2f8,_0x1cf057=_0x12ae7e['words'],_0x25eacd=_0x12ae7e[_0x20d8c9(0x407)],_0x3d21d8=this[_0x20d8c9(0x20b)];_0x12ae7e[_0x20d8c9(0x1cc)]();for(var _0x3e234e=[],_0xf186fb=0x0;_0xf186fb<_0x25eacd;_0xf186fb+=0x3)for(var _0x3f156a=_0x1cf057[_0xf186fb>>>0x2]>>>0x18-_0xf186fb%0x4*0x8&0xff,_0x21cfaa=_0x1cf057[_0xf186fb+0x1>>>0x2]>>>0x18-(_0xf186fb+0x1)%0x4*0x8&0xff,_0x641046=_0x1cf057[_0xf186fb+0x2>>>0x2]>>>0x18-(_0xf186fb+0x2)%0x4*0x8&0xff,_0x3a3f6a=_0x3f156a<<0x10|_0x21cfaa<<0x8|_0x641046,_0x2aa1bf=0x0;_0x2aa1bf<0x4&&_0xf186fb+_0x2aa1bf*0.75<_0x25eacd;_0x2aa1bf++)_0x3e234e[_0x20d8c9(0x271)](_0x3d21d8[_0x20d8c9(0x3a9)](_0x3a3f6a>>>0x6*(0x3-_0x2aa1bf)&0x3f));var _0x210976=_0x3d21d8['charAt'](0x40);if(_0x210976){for(;_0x3e234e['length']%0x4;)_0x3e234e['push'](_0x210976);}return _0x3e234e['join']('');},'parse':function(_0x12a7b3){var _0x35678e=_0x24d2f8,_0x5b4b58=_0x12a7b3[_0x35678e(0x32e)],_0x523d92=this['_map'],_0x3f4eb6=this[_0x35678e(0x3c8)];if(!_0x3f4eb6){_0x3f4eb6=this[_0x35678e(0x3c8)]=[];for(var _0x49794c=0x0;_0x49794c<_0x523d92[_0x35678e(0x32e)];_0x49794c++)_0x3f4eb6[_0x523d92['charCodeAt'](_0x49794c)]=_0x49794c;}var _0x250759=_0x523d92[_0x35678e(0x3a9)](0x40);if(_0x250759){var _0x4e9888=_0x12a7b3[_0x35678e(0x32f)](_0x250759);_0x4e9888!==-0x1&&(_0x5b4b58=_0x4e9888);}return _0x1f8a62(_0x12a7b3,_0x5b4b58,_0x3f4eb6);},'_map':_0x24d2f8(0x155)};function _0x1f8a62(_0x3a992c,_0x3b0285,_0x331dff){var _0x20220a=_0x24d2f8;for(var _0x54b1b8=[],_0x16018c=0x0,_0x4fd4ae=0x0;_0x4fd4ae<_0x3b0285;_0x4fd4ae++)if(_0x4fd4ae%0x4){var _0x5776d7=_0x331dff[_0x3a992c[_0x20220a(0x21e)](_0x4fd4ae-0x1)]<<_0x4fd4ae%0x4*0x2,_0xa26cd2=_0x331dff[_0x3a992c[_0x20220a(0x21e)](_0x4fd4ae)]>>>0x6-_0x4fd4ae%0x4*0x2,_0x2bb7e7=_0x5776d7|_0xa26cd2;_0x54b1b8[_0x16018c>>>0x2]|=_0x2bb7e7<<0x18-_0x16018c%0x4*0x8,_0x16018c++;}return _0x258666[_0x20220a(0x3ea)](_0x54b1b8,_0x16018c);}}()),_0x34e08d[_0xb869bc(0x3b6)][_0xb869bc(0x241)];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Gs=ze[_0x2a3857(0x414)],ii;function Ks(){var _0x47346e=_0x2a3857;return ii||(ii=0x1,function(_0xdf9609,_0x478955){(function(_0x254a3a,_0x576fdb){var _0x54a30f=_0x5b8f;_0xdf9609[_0x54a30f(0x414)]=_0x576fdb(ne());}(Gs,function(_0x4a1be7){var _0x15875f=_0x5b8f;return function(_0x34be97){var _0x5e610a=_0x5b8f,_0x15c122=_0x4a1be7,_0x386f56=_0x15c122['lib'],_0x38600d=_0x386f56[_0x5e610a(0x190)],_0x57e178=_0x386f56['Hasher'],_0x4ec2ae=_0x15c122[_0x5e610a(0x14e)],_0x3ed530=[];(function(){var _0x71b422=_0x5e610a;for(var _0x3826fb=0x0;_0x3826fb<0x40;_0x3826fb++)_0x3ed530[_0x3826fb]=_0x34be97[_0x71b422(0x261)](_0x34be97['sin'](_0x3826fb+0x1))*0x100000000|0x0;}());var _0x2e8bd0=_0x4ec2ae[_0x5e610a(0x140)]=_0x57e178['extend']({'_doReset':function(){var _0x3fb810=_0x5e610a;this[_0x3fb810(0x1a8)]=new _0x38600d[(_0x3fb810(0x1de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x332b34,_0x4affa7){var _0x48910a=_0x5e610a;for(var _0x42560b=0x0;_0x42560b<0x10;_0x42560b++){var _0x363099=_0x4affa7+_0x42560b,_0x20f96e=_0x332b34[_0x363099];_0x332b34[_0x363099]=(_0x20f96e<<0x8|_0x20f96e>>>0x18)&0xff00ff|(_0x20f96e<<0x18|_0x20f96e>>>0x8)&0xff00ff00;}var _0x2b538d=this[_0x48910a(0x1a8)]['words'],_0x44129e=_0x332b34[_0x4affa7+0x0],_0x3644e7=_0x332b34[_0x4affa7+0x1],_0x1e782a=_0x332b34[_0x4affa7+0x2],_0x5291f8=_0x332b34[_0x4affa7+0x3],_0x223f74=_0x332b34[_0x4affa7+0x4],_0x41949d=_0x332b34[_0x4affa7+0x5],_0x2d9108=_0x332b34[_0x4affa7+0x6],_0x5840f2=_0x332b34[_0x4affa7+0x7],_0x24e197=_0x332b34[_0x4affa7+0x8],_0x21326a=_0x332b34[_0x4affa7+0x9],_0x357a8e=_0x332b34[_0x4affa7+0xa],_0x2c8053=_0x332b34[_0x4affa7+0xb],_0x3d3d0e=_0x332b34[_0x4affa7+0xc],_0x1140ea=_0x332b34[_0x4affa7+0xd],_0xc8807a=_0x332b34[_0x4affa7+0xe],_0x5776d4=_0x332b34[_0x4affa7+0xf],_0x345ffe=_0x2b538d[0x0],_0x12eb22=_0x2b538d[0x1],_0x57cc76=_0x2b538d[0x2],_0x4f0c6c=_0x2b538d[0x3];_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x44129e,0x7,_0x3ed530[0x0]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x3644e7,0xc,_0x3ed530[0x1]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x1e782a,0x11,_0x3ed530[0x2]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5291f8,0x16,_0x3ed530[0x3]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x223f74,0x7,_0x3ed530[0x4]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x41949d,0xc,_0x3ed530[0x5]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2d9108,0x11,_0x3ed530[0x6]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5840f2,0x16,_0x3ed530[0x7]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x24e197,0x7,_0x3ed530[0x8]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x21326a,0xc,_0x3ed530[0x9]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x357a8e,0x11,_0x3ed530[0xa]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x2c8053,0x16,_0x3ed530[0xb]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3d3d0e,0x7,_0x3ed530[0xc]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x1140ea,0xc,_0x3ed530[0xd]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0xc8807a,0x11,_0x3ed530[0xe]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5776d4,0x16,_0x3ed530[0xf]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3644e7,0x5,_0x3ed530[0x10]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x2d9108,0x9,_0x3ed530[0x11]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2c8053,0xe,_0x3ed530[0x12]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x44129e,0x14,_0x3ed530[0x13]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x41949d,0x5,_0x3ed530[0x14]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x357a8e,0x9,_0x3ed530[0x15]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5776d4,0xe,_0x3ed530[0x16]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x223f74,0x14,_0x3ed530[0x17]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x21326a,0x5,_0x3ed530[0x18]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0xc8807a,0x9,_0x3ed530[0x19]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5291f8,0xe,_0x3ed530[0x1a]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x24e197,0x14,_0x3ed530[0x1b]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x1140ea,0x5,_0x3ed530[0x1c]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x1e782a,0x9,_0x3ed530[0x1d]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5840f2,0xe,_0x3ed530[0x1e]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x3d3d0e,0x14,_0x3ed530[0x1f]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x41949d,0x4,_0x3ed530[0x20]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x24e197,0xb,_0x3ed530[0x21]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2c8053,0x10,_0x3ed530[0x22]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0xc8807a,0x17,_0x3ed530[0x23]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3644e7,0x4,_0x3ed530[0x24]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x223f74,0xb,_0x3ed530[0x25]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5840f2,0x10,_0x3ed530[0x26]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x357a8e,0x17,_0x3ed530[0x27]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x1140ea,0x4,_0x3ed530[0x28]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x44129e,0xb,_0x3ed530[0x29]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5291f8,0x10,_0x3ed530[0x2a]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x2d9108,0x17,_0x3ed530[0x2b]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x21326a,0x4,_0x3ed530[0x2c]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x3d3d0e,0xb,_0x3ed530[0x2d]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5776d4,0x10,_0x3ed530[0x2e]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x1e782a,0x17,_0x3ed530[0x2f]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x44129e,0x6,_0x3ed530[0x30]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5840f2,0xa,_0x3ed530[0x31]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0xc8807a,0xf,_0x3ed530[0x32]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x41949d,0x15,_0x3ed530[0x33]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3d3d0e,0x6,_0x3ed530[0x34]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5291f8,0xa,_0x3ed530[0x35]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x357a8e,0xf,_0x3ed530[0x36]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x3644e7,0x15,_0x3ed530[0x37]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x24e197,0x6,_0x3ed530[0x38]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5776d4,0xa,_0x3ed530[0x39]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2d9108,0xf,_0x3ed530[0x3a]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x1140ea,0x15,_0x3ed530[0x3b]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x223f74,0x6,_0x3ed530[0x3c]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x2c8053,0xa,_0x3ed530[0x3d]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x1e782a,0xf,_0x3ed530[0x3e]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x21326a,0x15,_0x3ed530[0x3f]),_0x2b538d[0x0]=_0x2b538d[0x0]+_0x345ffe|0x0,_0x2b538d[0x1]=_0x2b538d[0x1]+_0x12eb22|0x0,_0x2b538d[0x2]=_0x2b538d[0x2]+_0x57cc76|0x0,_0x2b538d[0x3]=_0x2b538d[0x3]+_0x4f0c6c|0x0;},'_doFinalize':function(){var _0x487767=_0x5e610a,_0x57295a=this['_data'],_0x192a69=_0x57295a[_0x487767(0x251)],_0xdece29=this['_nDataBytes']*0x8,_0x250502=_0x57295a[_0x487767(0x407)]*0x8;_0x192a69[_0x250502>>>0x5]|=0x80<<0x18-_0x250502%0x20;var _0x51bcd2=_0x34be97[_0x487767(0x23a)](_0xdece29/0x100000000),_0x53fa11=_0xdece29;_0x192a69[(_0x250502+0x40>>>0x9<<0x4)+0xf]=(_0x51bcd2<<0x8|_0x51bcd2>>>0x18)&0xff00ff|(_0x51bcd2<<0x18|_0x51bcd2>>>0x8)&0xff00ff00,_0x192a69[(_0x250502+0x40>>>0x9<<0x4)+0xe]=(_0x53fa11<<0x8|_0x53fa11>>>0x18)&0xff00ff|(_0x53fa11<<0x18|_0x53fa11>>>0x8)&0xff00ff00,_0x57295a[_0x487767(0x407)]=(_0x192a69['length']+0x1)*0x4,this[_0x487767(0x207)]();for(var _0x391e48=this[_0x487767(0x1a8)],_0x32d8fb=_0x391e48[_0x487767(0x251)],_0x25b628=0x0;_0x25b628<0x4;_0x25b628++){var _0x468b04=_0x32d8fb[_0x25b628];_0x32d8fb[_0x25b628]=(_0x468b04<<0x8|_0x468b04>>>0x18)&0xff00ff|(_0x468b04<<0x18|_0x468b04>>>0x8)&0xff00ff00;}return _0x391e48;},'clone':function(){var _0x513037=_0x5e610a,_0xc433bb=_0x57e178[_0x513037(0x3bf)][_0x513037(0x15a)](this);return _0xc433bb[_0x513037(0x1a8)]=this[_0x513037(0x1a8)][_0x513037(0x3bf)](),_0xc433bb;}});function _0x31de4d(_0x111f19,_0x38ab6a,_0x18a7ca,_0x2eebd9,_0x80a0db,_0x3589dd,_0x2f1542){var _0x16b8a3=_0x111f19+(_0x38ab6a&_0x18a7ca|~_0x38ab6a&_0x2eebd9)+_0x80a0db+_0x2f1542;return(_0x16b8a3<<_0x3589dd|_0x16b8a3>>>0x20-_0x3589dd)+_0x38ab6a;}function _0x44d7c9(_0x3249bd,_0x7b450f,_0x287d3c,_0x4c5281,_0x175bdd,_0x163a8d,_0x1fae0f){var _0x17e4b9=_0x3249bd+(_0x7b450f&_0x4c5281|_0x287d3c&~_0x4c5281)+_0x175bdd+_0x1fae0f;return(_0x17e4b9<<_0x163a8d|_0x17e4b9>>>0x20-_0x163a8d)+_0x7b450f;}function _0x4af2ab(_0x33a570,_0x92b56f,_0xc741bc,_0x2b41c1,_0x271ff0,_0x21a463,_0x1ba5eb){var _0x3b6ba0=_0x33a570+(_0x92b56f^_0xc741bc^_0x2b41c1)+_0x271ff0+_0x1ba5eb;return(_0x3b6ba0<<_0x21a463|_0x3b6ba0>>>0x20-_0x21a463)+_0x92b56f;}function _0x3360af(_0x19142b,_0x4d35af,_0x54e287,_0x46fae1,_0x644b6a,_0x35c303,_0x47e18b){var _0x1ccd85=_0x19142b+(_0x54e287^(_0x4d35af|~_0x46fae1))+_0x644b6a+_0x47e18b;return(_0x1ccd85<<_0x35c303|_0x1ccd85>>>0x20-_0x35c303)+_0x4d35af;}_0x15c122[_0x5e610a(0x140)]=_0x57e178[_0x5e610a(0x25d)](_0x2e8bd0),_0x15c122['HmacMD5']=_0x57e178['_createHmacHelper'](_0x2e8bd0);}(Math),_0x4a1be7[_0x15875f(0x140)];}));}(ze)),ze[_0x47346e(0x414)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x2a3857(0x414)],ni;function Ys(){var _0x20c86c=_0x2a3857;return ni||(ni=0x1,function(_0xf3b503,_0x50d031){(function(_0x5a0795,_0x23f14c){var _0x433c40=_0x5b8f;_0xf3b503[_0x433c40(0x414)]=_0x23f14c(ne());}(zs,function(_0x4d813f){var _0x28f8bc=_0x5b8f;return(function(){var _0x4f5311=_0x5b8f,_0x22d552=_0x4d813f,_0xf89cb3=_0x22d552['lib'],_0x3f6d82=_0xf89cb3['WordArray'],_0x53344d=_0xf89cb3[_0x4f5311(0x275)],_0x22e28b=_0x22d552['algo'],_0x1878d5=[],_0x33f079=_0x22e28b['SHA1']=_0x53344d['extend']({'_doReset':function(){var _0xf3cb2e=_0x4f5311;this['_hash']=new _0x3f6d82[(_0xf3cb2e(0x1de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48c0b3,_0x597563){var _0x1f986a=_0x4f5311;for(var _0x9332ff=this[_0x1f986a(0x1a8)][_0x1f986a(0x251)],_0x2d953d=_0x9332ff[0x0],_0x231c77=_0x9332ff[0x1],_0x3c57b0=_0x9332ff[0x2],_0x1f534f=_0x9332ff[0x3],_0x2bc10b=_0x9332ff[0x4],_0x27edbc=0x0;_0x27edbc<0x50;_0x27edbc++){if(_0x27edbc<0x10)_0x1878d5[_0x27edbc]=_0x48c0b3[_0x597563+_0x27edbc]|0x0;else{var _0x3fdddf=_0x1878d5[_0x27edbc-0x3]^_0x1878d5[_0x27edbc-0x8]^_0x1878d5[_0x27edbc-0xe]^_0x1878d5[_0x27edbc-0x10];_0x1878d5[_0x27edbc]=_0x3fdddf<<0x1|_0x3fdddf>>>0x1f;}var _0x3405af=(_0x2d953d<<0x5|_0x2d953d>>>0x1b)+_0x2bc10b+_0x1878d5[_0x27edbc];_0x27edbc<0x14?_0x3405af+=(_0x231c77&_0x3c57b0|~_0x231c77&_0x1f534f)+0x5a827999:_0x27edbc<0x28?_0x3405af+=(_0x231c77^_0x3c57b0^_0x1f534f)+0x6ed9eba1:_0x27edbc<0x3c?_0x3405af+=(_0x231c77&_0x3c57b0|_0x231c77&_0x1f534f|_0x3c57b0&_0x1f534f)-0x70e44324:_0x3405af+=(_0x231c77^_0x3c57b0^_0x1f534f)-0x359d3e2a,_0x2bc10b=_0x1f534f,_0x1f534f=_0x3c57b0,_0x3c57b0=_0x231c77<<0x1e|_0x231c77>>>0x2,_0x231c77=_0x2d953d,_0x2d953d=_0x3405af;}_0x9332ff[0x0]=_0x9332ff[0x0]+_0x2d953d|0x0,_0x9332ff[0x1]=_0x9332ff[0x1]+_0x231c77|0x0,_0x9332ff[0x2]=_0x9332ff[0x2]+_0x3c57b0|0x0,_0x9332ff[0x3]=_0x9332ff[0x3]+_0x1f534f|0x0,_0x9332ff[0x4]=_0x9332ff[0x4]+_0x2bc10b|0x0;},'_doFinalize':function(){var _0x5a0177=_0x4f5311,_0x229571=this[_0x5a0177(0x1a2)],_0x208a3c=_0x229571['words'],_0xcae21=this[_0x5a0177(0x28a)]*0x8,_0x2ad793=_0x229571[_0x5a0177(0x407)]*0x8;return _0x208a3c[_0x2ad793>>>0x5]|=0x80<<0x18-_0x2ad793%0x20,_0x208a3c[(_0x2ad793+0x40>>>0x9<<0x4)+0xe]=Math[_0x5a0177(0x23a)](_0xcae21/0x100000000),_0x208a3c[(_0x2ad793+0x40>>>0x9<<0x4)+0xf]=_0xcae21,_0x229571[_0x5a0177(0x407)]=_0x208a3c[_0x5a0177(0x32e)]*0x4,this['_process'](),this[_0x5a0177(0x1a8)];},'clone':function(){var _0x77e5be=_0x4f5311,_0x131645=_0x53344d[_0x77e5be(0x3bf)][_0x77e5be(0x15a)](this);return _0x131645[_0x77e5be(0x1a8)]=this[_0x77e5be(0x1a8)][_0x77e5be(0x3bf)](),_0x131645;}});_0x22d552['SHA1']=_0x53344d[_0x4f5311(0x25d)](_0x33f079),_0x22d552[_0x4f5311(0x35a)]=_0x53344d['_createHmacHelper'](_0x33f079);}()),_0x4d813f[_0x28f8bc(0x1eb)];}));}(qe)),qe[_0x20c86c(0x414)];}var Je={'exports':{}},qs=Je[_0x2a3857(0x414)],si;function Js(){var _0x74b58d=_0x2a3857;return si||(si=0x1,function(_0x24580b,_0x39a3db){(function(_0x2355ae,_0x5ae1a3){var _0x4c9f2b=_0x5b8f;_0x24580b[_0x4c9f2b(0x414)]=_0x5ae1a3(ne());}(qs,function(_0x57eda0){(function(){var _0x66e07c=_0x5b8f,_0x5b3ed9=_0x57eda0,_0x1d30fd=_0x5b3ed9[_0x66e07c(0x1bd)],_0x852f04=_0x1d30fd[_0x66e07c(0x1b0)],_0x3b823f=_0x5b3ed9[_0x66e07c(0x3b6)],_0xf80bff=_0x3b823f[_0x66e07c(0x2d0)],_0x174875=_0x5b3ed9[_0x66e07c(0x14e)];_0x174875[_0x66e07c(0x1bb)]=_0x852f04[_0x66e07c(0x18e)]({'init':function(_0x8e2ce9,_0x3e88f8){var _0xdae200=_0x66e07c;_0x8e2ce9=this[_0xdae200(0x238)]=new _0x8e2ce9[(_0xdae200(0x1de))](),typeof _0x3e88f8==_0xdae200(0x29a)&&(_0x3e88f8=_0xf80bff[_0xdae200(0x389)](_0x3e88f8));var _0x1aca4c=_0x8e2ce9['blockSize'],_0x1f8004=_0x1aca4c*0x4;_0x3e88f8['sigBytes']>_0x1f8004&&(_0x3e88f8=_0x8e2ce9[_0xdae200(0x2d7)](_0x3e88f8)),_0x3e88f8['clamp']();for(var _0x41300c=this[_0xdae200(0x380)]=_0x3e88f8[_0xdae200(0x3bf)](),_0x4bc265=this['_iKey']=_0x3e88f8['clone'](),_0x4375e3=_0x41300c['words'],_0x24a805=_0x4bc265['words'],_0x50286a=0x0;_0x50286a<_0x1aca4c;_0x50286a++)_0x4375e3[_0x50286a]^=0x5c5c5c5c,_0x24a805[_0x50286a]^=0x36363636;_0x41300c[_0xdae200(0x407)]=_0x4bc265[_0xdae200(0x407)]=_0x1f8004,this['reset']();},'reset':function(){var _0x54806a=_0x66e07c,_0x23023a=this['_hasher'];_0x23023a[_0x54806a(0x31f)](),_0x23023a['update'](this[_0x54806a(0x23e)]);},'update':function(_0x13b995){var _0x26084c=_0x66e07c;return this[_0x26084c(0x238)][_0x26084c(0x3a4)](_0x13b995),this;},'finalize':function(_0x30d84e){var _0x5b7f97=_0x66e07c,_0x121f1b=this[_0x5b7f97(0x238)],_0x2f42fd=_0x121f1b[_0x5b7f97(0x2d7)](_0x30d84e);_0x121f1b[_0x5b7f97(0x31f)]();var _0x5e78a7=_0x121f1b[_0x5b7f97(0x2d7)](this[_0x5b7f97(0x380)]['clone']()['concat'](_0x2f42fd));return _0x5e78a7;}});}());}));}(Je)),Je[_0x74b58d(0x414)];}var Xs=Ye['exports'],ri;function xi(){var _0x4de094=_0x2a3857;return ri||(ri=0x1,function(_0x3482d1,_0x16d12a){(function(_0x127c59,_0x34be83,_0x1aec17){var _0x12e66a=_0x5b8f;_0x3482d1[_0x12e66a(0x414)]=_0x34be83(ne(),Ys(),Js());}(Xs,function(_0x181921){return(function(){var _0xa4e0bd=_0x5b8f,_0x3984b3=_0x181921,_0x230752=_0x3984b3[_0xa4e0bd(0x1bd)],_0x387b19=_0x230752['Base'],_0x236ccf=_0x230752[_0xa4e0bd(0x190)],_0x35a249=_0x3984b3[_0xa4e0bd(0x14e)],_0x43fbca=_0x35a249['MD5'],_0x198ae6=_0x35a249[_0xa4e0bd(0x360)]=_0x387b19[_0xa4e0bd(0x18e)]({'cfg':_0x387b19[_0xa4e0bd(0x18e)]({'keySize':0x80/0x20,'hasher':_0x43fbca,'iterations':0x1}),'init':function(_0x174d57){var _0x56b305=_0xa4e0bd;this[_0x56b305(0x2f2)]=this['cfg']['extend'](_0x174d57);},'compute':function(_0x368515,_0x2a4676){var _0x575af6=_0xa4e0bd;for(var _0x55df41,_0x13ebd3=this[_0x575af6(0x2f2)],_0x4e09ed=_0x13ebd3['hasher'][_0x575af6(0x3ea)](),_0x3e4ef4=_0x236ccf['create'](),_0x537131=_0x3e4ef4[_0x575af6(0x251)],_0x54b4ac=_0x13ebd3[_0x575af6(0x1fd)],_0x4b6fd1=_0x13ebd3[_0x575af6(0x402)];_0x537131[_0x575af6(0x32e)]<_0x54b4ac;){_0x55df41&&_0x4e09ed[_0x575af6(0x3a4)](_0x55df41),_0x55df41=_0x4e09ed[_0x575af6(0x3a4)](_0x368515)['finalize'](_0x2a4676),_0x4e09ed[_0x575af6(0x31f)]();for(var _0x34a94b=0x1;_0x34a94b<_0x4b6fd1;_0x34a94b++)_0x55df41=_0x4e09ed['finalize'](_0x55df41),_0x4e09ed[_0x575af6(0x31f)]();_0x3e4ef4[_0x575af6(0x3b1)](_0x55df41);}return _0x3e4ef4[_0x575af6(0x407)]=_0x54b4ac*0x4,_0x3e4ef4;}});_0x3984b3[_0xa4e0bd(0x360)]=function(_0x34c0d6,_0xea1d41,_0x8e7018){var _0x475400=_0xa4e0bd;return _0x198ae6[_0x475400(0x3ea)](_0x8e7018)['compute'](_0x34c0d6,_0xea1d41);};}()),_0x181921['EvpKDF'];}));}(Ye)),Ye[_0x4de094(0x414)];}var Xe={'exports':{}},Zs=Xe['exports'],oi;function Li(){var _0x3c885b=_0x2a3857;return oi||(oi=0x1,function(_0x333efe,_0x3074b2){(function(_0x5cbb4c,_0x80763b,_0x47df77){var _0x21412a=_0x5b8f;_0x333efe[_0x21412a(0x414)]=_0x80763b(ne(),xi());}(Zs,function(_0x20dc03){var _0x32dc05=_0x5b8f;_0x20dc03['lib'][_0x32dc05(0x151)]||function(_0x2d5a83){var _0x203b55=_0x32dc05,_0x375034=_0x20dc03,_0x364e87=_0x375034[_0x203b55(0x1bd)],_0x3f94f5=_0x364e87[_0x203b55(0x1b0)],_0x37a32d=_0x364e87[_0x203b55(0x190)],_0x16c2cc=_0x364e87['BufferedBlockAlgorithm'],_0x265aef=_0x375034[_0x203b55(0x3b6)];_0x265aef['Utf8'];var _0x35e96f=_0x265aef[_0x203b55(0x241)],_0x12f119=_0x375034[_0x203b55(0x14e)],_0x116497=_0x12f119[_0x203b55(0x360)],_0x2a4f32=_0x364e87['Cipher']=_0x16c2cc[_0x203b55(0x18e)]({'cfg':_0x3f94f5['extend'](),'createEncryptor':function(_0x192adb,_0x45e7a0){var _0x1f7e8c=_0x203b55;return this[_0x1f7e8c(0x3ea)](this['_ENC_XFORM_MODE'],_0x192adb,_0x45e7a0);},'createDecryptor':function(_0x528709,_0x512786){var _0x4c98a2=_0x203b55;return this[_0x4c98a2(0x3ea)](this[_0x4c98a2(0x315)],_0x528709,_0x512786);},'init':function(_0x5ef719,_0x42ecbf,_0x138a0e){var _0xb0d9fc=_0x203b55;this[_0xb0d9fc(0x2f2)]=this[_0xb0d9fc(0x2f2)][_0xb0d9fc(0x18e)](_0x138a0e),this[_0xb0d9fc(0x2a5)]=_0x5ef719,this['_key']=_0x42ecbf,this[_0xb0d9fc(0x31f)]();},'reset':function(){var _0x3d4975=_0x203b55;_0x16c2cc[_0x3d4975(0x31f)]['call'](this),this[_0x3d4975(0x366)]();},'process':function(_0xd85532){var _0x32f7b9=_0x203b55;return this['_append'](_0xd85532),this[_0x32f7b9(0x207)]();},'finalize':function(_0x5b516d){var _0x11e1c6=_0x203b55;_0x5b516d&&this[_0x11e1c6(0x21c)](_0x5b516d);var _0x58ac23=this[_0x11e1c6(0x336)]();return _0x58ac23;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x379e67(_0x4890a8){var _0x44229c=_0x5b8f;return typeof _0x4890a8==_0x44229c(0x29a)?_0x3cffba:_0x3def4a;}return function(_0xbe053d){return{'encrypt':function(_0x54736f,_0x4eff81,_0x5203d7){var _0x1fb3c4=_0x5b8f;return _0x379e67(_0x4eff81)[_0x1fb3c4(0x298)](_0xbe053d,_0x54736f,_0x4eff81,_0x5203d7);},'decrypt':function(_0x25a406,_0xa740c9,_0x23b40a){var _0x26071e=_0x5b8f;return _0x379e67(_0xa740c9)[_0x26071e(0x34e)](_0xbe053d,_0x25a406,_0xa740c9,_0x23b40a);}};};}())});_0x364e87[_0x203b55(0x1ae)]=_0x2a4f32[_0x203b55(0x18e)]({'_doFinalize':function(){var _0xcdf070=_0x203b55,_0x4c3cbf=this[_0xcdf070(0x207)](!0x0);return _0x4c3cbf;},'blockSize':0x1});var _0xfdab4c=_0x375034['mode']={},_0x3a8d41=_0x364e87[_0x203b55(0x2c5)]=_0x3f94f5['extend']({'createEncryptor':function(_0x4a1811,_0x220c2d){return this['Encryptor']['create'](_0x4a1811,_0x220c2d);},'createDecryptor':function(_0x3f89fb,_0x5e6d6e){var _0x58ef75=_0x203b55;return this[_0x58ef75(0x196)][_0x58ef75(0x3ea)](_0x3f89fb,_0x5e6d6e);},'init':function(_0x23c81a,_0x41a389){var _0x5de870=_0x203b55;this[_0x5de870(0x362)]=_0x23c81a,this[_0x5de870(0x176)]=_0x41a389;}}),_0x2d4f50=_0xfdab4c[_0x203b55(0x2b4)]=(function(){var _0x21d3bc=_0x203b55,_0x42bb7b=_0x3a8d41[_0x21d3bc(0x18e)]();_0x42bb7b['Encryptor']=_0x42bb7b[_0x21d3bc(0x18e)]({'processBlock':function(_0x2a504f,_0x39ca74){var _0x3fe334=_0x21d3bc,_0x4dc3fd=this[_0x3fe334(0x362)],_0x1c573f=_0x4dc3fd[_0x3fe334(0x162)];_0x1a76d1[_0x3fe334(0x15a)](this,_0x2a504f,_0x39ca74,_0x1c573f),_0x4dc3fd['encryptBlock'](_0x2a504f,_0x39ca74),this[_0x3fe334(0x217)]=_0x2a504f[_0x3fe334(0x247)](_0x39ca74,_0x39ca74+_0x1c573f);}}),_0x42bb7b[_0x21d3bc(0x196)]=_0x42bb7b[_0x21d3bc(0x18e)]({'processBlock':function(_0x33807b,_0xa3d7e7){var _0x357551=_0x21d3bc,_0x3dfb47=this[_0x357551(0x362)],_0x26d554=_0x3dfb47[_0x357551(0x162)],_0x512bb6=_0x33807b['slice'](_0xa3d7e7,_0xa3d7e7+_0x26d554);_0x3dfb47[_0x357551(0x24a)](_0x33807b,_0xa3d7e7),_0x1a76d1['call'](this,_0x33807b,_0xa3d7e7,_0x26d554),this['_prevBlock']=_0x512bb6;}});function _0x1a76d1(_0x21d513,_0x3632d3,_0x539a97){var _0x4d9422=_0x21d3bc,_0x13f1c2,_0x26c149=this['_iv'];_0x26c149?(_0x13f1c2=_0x26c149,this[_0x4d9422(0x176)]=_0x2d5a83):_0x13f1c2=this[_0x4d9422(0x217)];for(var _0x230a1e=0x0;_0x230a1e<_0x539a97;_0x230a1e++)_0x21d513[_0x3632d3+_0x230a1e]^=_0x13f1c2[_0x230a1e];}return _0x42bb7b;}()),_0x12fe2f=_0x375034[_0x203b55(0x1a9)]={},_0x2b14b4=_0x12fe2f[_0x203b55(0x419)]={'pad':function(_0x40b7e0,_0x5a4b61){var _0x558f55=_0x203b55;for(var _0x1d64e2=_0x5a4b61*0x4,_0x2dce8d=_0x1d64e2-_0x40b7e0['sigBytes']%_0x1d64e2,_0x1013e2=_0x2dce8d<<0x18|_0x2dce8d<<0x10|_0x2dce8d<<0x8|_0x2dce8d,_0x2f16a0=[],_0x27ba7e=0x0;_0x27ba7e<_0x2dce8d;_0x27ba7e+=0x4)_0x2f16a0[_0x558f55(0x271)](_0x1013e2);var _0x167fda=_0x37a32d[_0x558f55(0x3ea)](_0x2f16a0,_0x2dce8d);_0x40b7e0[_0x558f55(0x3b1)](_0x167fda);},'unpad':function(_0x30fc66){var _0xb87806=_0x203b55,_0x5c484e=_0x30fc66[_0xb87806(0x251)][_0x30fc66[_0xb87806(0x407)]-0x1>>>0x2]&0xff;_0x30fc66[_0xb87806(0x407)]-=_0x5c484e;}};_0x364e87[_0x203b55(0x2fe)]=_0x2a4f32[_0x203b55(0x18e)]({'cfg':_0x2a4f32[_0x203b55(0x2f2)][_0x203b55(0x18e)]({'mode':_0x2d4f50,'padding':_0x2b14b4}),'reset':function(){var _0x137e33=_0x203b55,_0x3f38bf;_0x2a4f32[_0x137e33(0x31f)][_0x137e33(0x15a)](this);var _0x66d00a=this[_0x137e33(0x2f2)],_0x4bc7ef=_0x66d00a['iv'],_0x231e57=_0x66d00a[_0x137e33(0x195)];this['_xformMode']==this[_0x137e33(0x141)]?_0x3f38bf=_0x231e57['createEncryptor']:(_0x3f38bf=_0x231e57['createDecryptor'],this['_minBufferSize']=0x1),this[_0x137e33(0x357)]&&this[_0x137e33(0x357)][_0x137e33(0x2d6)]==_0x3f38bf?this[_0x137e33(0x357)]['init'](this,_0x4bc7ef&&_0x4bc7ef[_0x137e33(0x251)]):(this[_0x137e33(0x357)]=_0x3f38bf[_0x137e33(0x15a)](_0x231e57,this,_0x4bc7ef&&_0x4bc7ef[_0x137e33(0x251)]),this['_mode'][_0x137e33(0x2d6)]=_0x3f38bf);},'_doProcessBlock':function(_0x203382,_0x13b3ea){this['_mode']['processBlock'](_0x203382,_0x13b3ea);},'_doFinalize':function(){var _0x18ea3b=_0x203b55,_0x5bf95e,_0x1c80cf=this['cfg'][_0x18ea3b(0x2ec)];return this['_xformMode']==this[_0x18ea3b(0x141)]?(_0x1c80cf['pad'](this[_0x18ea3b(0x1a2)],this[_0x18ea3b(0x162)]),_0x5bf95e=this[_0x18ea3b(0x207)](!0x0)):(_0x5bf95e=this['_process'](!0x0),_0x1c80cf[_0x18ea3b(0x28e)](_0x5bf95e)),_0x5bf95e;},'blockSize':0x80/0x20});var _0x5bd871=_0x364e87[_0x203b55(0x1b9)]=_0x3f94f5[_0x203b55(0x18e)]({'init':function(_0x1e0b6c){var _0x12620b=_0x203b55;this[_0x12620b(0x11c)](_0x1e0b6c);},'toString':function(_0x592192){var _0x1382ad=_0x203b55;return(_0x592192||this[_0x1382ad(0x36c)])[_0x1382ad(0x178)](this);}}),_0x44317c=_0x375034[_0x203b55(0x337)]={},_0x218ef0=_0x44317c[_0x203b55(0x234)]={'stringify':function(_0x23f90d){var _0x32f783=_0x203b55,_0xf9409,_0x1df759=_0x23f90d[_0x32f783(0x373)],_0x40ecb2=_0x23f90d[_0x32f783(0x33f)];return _0x40ecb2?_0xf9409=_0x37a32d[_0x32f783(0x3ea)]([0x53616c74,0x65645f5f])['concat'](_0x40ecb2)[_0x32f783(0x3b1)](_0x1df759):_0xf9409=_0x1df759,_0xf9409['toString'](_0x35e96f);},'parse':function(_0x5f4fc1){var _0x963207=_0x203b55,_0x2cbd94,_0x3952fa=_0x35e96f['parse'](_0x5f4fc1),_0x184f37=_0x3952fa[_0x963207(0x251)];return _0x184f37[0x0]==0x53616c74&&_0x184f37[0x1]==0x65645f5f&&(_0x2cbd94=_0x37a32d[_0x963207(0x3ea)](_0x184f37['slice'](0x2,0x4)),_0x184f37['splice'](0x0,0x4),_0x3952fa[_0x963207(0x407)]-=0x10),_0x5bd871[_0x963207(0x3ea)]({'ciphertext':_0x3952fa,'salt':_0x2cbd94});}},_0x3def4a=_0x364e87['SerializableCipher']=_0x3f94f5['extend']({'cfg':_0x3f94f5['extend']({'format':_0x218ef0}),'encrypt':function(_0x38da02,_0x2710a2,_0x2a473b,_0x495305){var _0x371adf=_0x203b55;_0x495305=this[_0x371adf(0x2f2)][_0x371adf(0x18e)](_0x495305);var _0x574e1d=_0x38da02[_0x371adf(0x35e)](_0x2a473b,_0x495305),_0x1c1019=_0x574e1d[_0x371adf(0x2d7)](_0x2710a2),_0x134054=_0x574e1d[_0x371adf(0x2f2)];return _0x5bd871[_0x371adf(0x3ea)]({'ciphertext':_0x1c1019,'key':_0x2a473b,'iv':_0x134054['iv'],'algorithm':_0x38da02,'mode':_0x134054[_0x371adf(0x195)],'padding':_0x134054['padding'],'blockSize':_0x38da02['blockSize'],'formatter':_0x495305['format']});},'decrypt':function(_0x405889,_0x20b1d2,_0x2dfa51,_0x455446){var _0x3b2966=_0x203b55;_0x455446=this[_0x3b2966(0x2f2)][_0x3b2966(0x18e)](_0x455446),_0x20b1d2=this['_parse'](_0x20b1d2,_0x455446[_0x3b2966(0x337)]);var _0x16992b=_0x405889[_0x3b2966(0x3f9)](_0x2dfa51,_0x455446)[_0x3b2966(0x2d7)](_0x20b1d2[_0x3b2966(0x373)]);return _0x16992b;},'_parse':function(_0x1ef6b5,_0x19be99){var _0x4f0678=_0x203b55;return typeof _0x1ef6b5==_0x4f0678(0x29a)?_0x19be99[_0x4f0678(0x389)](_0x1ef6b5,this):_0x1ef6b5;}}),_0x135da3=_0x375034['kdf']={},_0x3f62bf=_0x135da3[_0x203b55(0x234)]={'execute':function(_0x3debf9,_0x30f543,_0x338c3b,_0x1311e6,_0x31b21a){var _0x14a18f=_0x203b55;if(_0x1311e6||(_0x1311e6=_0x37a32d['random'](0x40/0x8)),_0x31b21a)var _0x1eff30=_0x116497[_0x14a18f(0x3ea)]({'keySize':_0x30f543+_0x338c3b,'hasher':_0x31b21a})[_0x14a18f(0x295)](_0x3debf9,_0x1311e6);else var _0x1eff30=_0x116497[_0x14a18f(0x3ea)]({'keySize':_0x30f543+_0x338c3b})['compute'](_0x3debf9,_0x1311e6);var _0x53cc1b=_0x37a32d['create'](_0x1eff30[_0x14a18f(0x251)]['slice'](_0x30f543),_0x338c3b*0x4);return _0x1eff30[_0x14a18f(0x407)]=_0x30f543*0x4,_0x5bd871[_0x14a18f(0x3ea)]({'key':_0x1eff30,'iv':_0x53cc1b,'salt':_0x1311e6});}},_0x3cffba=_0x364e87['PasswordBasedCipher']=_0x3def4a[_0x203b55(0x18e)]({'cfg':_0x3def4a[_0x203b55(0x2f2)][_0x203b55(0x18e)]({'kdf':_0x3f62bf}),'encrypt':function(_0x178747,_0x2a7866,_0x574203,_0x15b01b){var _0x2164c9=_0x203b55;_0x15b01b=this[_0x2164c9(0x2f2)][_0x2164c9(0x18e)](_0x15b01b);var _0x2207ef=_0x15b01b[_0x2164c9(0x32a)][_0x2164c9(0x322)](_0x574203,_0x178747['keySize'],_0x178747[_0x2164c9(0x346)],_0x15b01b['salt'],_0x15b01b[_0x2164c9(0x1bc)]);_0x15b01b['iv']=_0x2207ef['iv'];var _0x53c88b=_0x3def4a['encrypt'][_0x2164c9(0x15a)](this,_0x178747,_0x2a7866,_0x2207ef[_0x2164c9(0x1f9)],_0x15b01b);return _0x53c88b[_0x2164c9(0x11c)](_0x2207ef),_0x53c88b;},'decrypt':function(_0x369dd8,_0x5867b8,_0x5cc5f5,_0x52add2){var _0x21052d=_0x203b55;_0x52add2=this[_0x21052d(0x2f2)][_0x21052d(0x18e)](_0x52add2),_0x5867b8=this[_0x21052d(0x393)](_0x5867b8,_0x52add2[_0x21052d(0x337)]);var _0x27b285=_0x52add2['kdf']['execute'](_0x5cc5f5,_0x369dd8['keySize'],_0x369dd8[_0x21052d(0x346)],_0x5867b8[_0x21052d(0x33f)],_0x52add2[_0x21052d(0x1bc)]);_0x52add2['iv']=_0x27b285['iv'];var _0x2f249e=_0x3def4a[_0x21052d(0x34e)][_0x21052d(0x15a)](this,_0x369dd8,_0x5867b8,_0x27b285['key'],_0x52add2);return _0x2f249e;}});}();}));}(Xe)),Xe[_0x3c885b(0x414)];}var Qs=We[_0x2a3857(0x414)],ai;function er(){return ai||(ai=0x1,function(_0x1de152,_0x1ac6e5){(function(_0x686392,_0x3b465e,_0x1621a6){var _0x12dd15=_0x5b8f;_0x1de152[_0x12dd15(0x414)]=_0x3b465e(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x16b860){var _0x419a85=_0x5b8f;return(function(){var _0x3ddb2c=_0x5b8f,_0x4a9a31=_0x16b860,_0x318256=_0x4a9a31[_0x3ddb2c(0x1bd)],_0x5914d2=_0x318256[_0x3ddb2c(0x2fe)],_0x30757f=_0x4a9a31['algo'],_0x5d4907=[],_0x3bed13=[],_0x5e4c8b=[],_0x1f9471=[],_0x35f290=[],_0x4aa1e9=[],_0x4f6afe=[],_0x5ad26a=[],_0xab44a6=[],_0x40d60b=[];(function(){for(var _0x10ec93=[],_0x3ce575=0x0;_0x3ce575<0x100;_0x3ce575++)_0x3ce575<0x80?_0x10ec93[_0x3ce575]=_0x3ce575<<0x1:_0x10ec93[_0x3ce575]=_0x3ce575<<0x1^0x11b;for(var _0x4b29af=0x0,_0x19429e=0x0,_0x3ce575=0x0;_0x3ce575<0x100;_0x3ce575++){var _0x2b178e=_0x19429e^_0x19429e<<0x1^_0x19429e<<0x2^_0x19429e<<0x3^_0x19429e<<0x4;_0x2b178e=_0x2b178e>>>0x8^_0x2b178e&0xff^0x63,_0x5d4907[_0x4b29af]=_0x2b178e,_0x3bed13[_0x2b178e]=_0x4b29af;var _0x7ec581=_0x10ec93[_0x4b29af],_0x1f51af=_0x10ec93[_0x7ec581],_0x12f763=_0x10ec93[_0x1f51af],_0x2ca30d=_0x10ec93[_0x2b178e]*0x101^_0x2b178e*0x1010100;_0x5e4c8b[_0x4b29af]=_0x2ca30d<<0x18|_0x2ca30d>>>0x8,_0x1f9471[_0x4b29af]=_0x2ca30d<<0x10|_0x2ca30d>>>0x10,_0x35f290[_0x4b29af]=_0x2ca30d<<0x8|_0x2ca30d>>>0x18,_0x4aa1e9[_0x4b29af]=_0x2ca30d;var _0x2ca30d=_0x12f763*0x1010101^_0x1f51af*0x10001^_0x7ec581*0x101^_0x4b29af*0x1010100;_0x4f6afe[_0x2b178e]=_0x2ca30d<<0x18|_0x2ca30d>>>0x8,_0x5ad26a[_0x2b178e]=_0x2ca30d<<0x10|_0x2ca30d>>>0x10,_0xab44a6[_0x2b178e]=_0x2ca30d<<0x8|_0x2ca30d>>>0x18,_0x40d60b[_0x2b178e]=_0x2ca30d,_0x4b29af?(_0x4b29af=_0x7ec581^_0x10ec93[_0x10ec93[_0x10ec93[_0x12f763^_0x7ec581]]],_0x19429e^=_0x10ec93[_0x10ec93[_0x19429e]]):_0x4b29af=_0x19429e=0x1;}}());var _0x17d1c8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f06a0=_0x30757f['AES']=_0x5914d2[_0x3ddb2c(0x18e)]({'_doReset':function(){var _0x38350f=_0x3ddb2c,_0x4eed63;if(!(this[_0x38350f(0x255)]&&this[_0x38350f(0x1d5)]===this[_0x38350f(0x1ff)])){for(var _0x4eb637=this['_keyPriorReset']=this['_key'],_0x438e1d=_0x4eb637['words'],_0x1a2822=_0x4eb637[_0x38350f(0x407)]/0x4,_0x1fde26=this[_0x38350f(0x255)]=_0x1a2822+0x6,_0x51219a=(_0x1fde26+0x1)*0x4,_0x3b5b73=this['_keySchedule']=[],_0x1959c0=0x0;_0x1959c0<_0x51219a;_0x1959c0++)_0x1959c0<_0x1a2822?_0x3b5b73[_0x1959c0]=_0x438e1d[_0x1959c0]:(_0x4eed63=_0x3b5b73[_0x1959c0-0x1],_0x1959c0%_0x1a2822?_0x1a2822>0x6&&_0x1959c0%_0x1a2822==0x4&&(_0x4eed63=_0x5d4907[_0x4eed63>>>0x18]<<0x18|_0x5d4907[_0x4eed63>>>0x10&0xff]<<0x10|_0x5d4907[_0x4eed63>>>0x8&0xff]<<0x8|_0x5d4907[_0x4eed63&0xff]):(_0x4eed63=_0x4eed63<<0x8|_0x4eed63>>>0x18,_0x4eed63=_0x5d4907[_0x4eed63>>>0x18]<<0x18|_0x5d4907[_0x4eed63>>>0x10&0xff]<<0x10|_0x5d4907[_0x4eed63>>>0x8&0xff]<<0x8|_0x5d4907[_0x4eed63&0xff],_0x4eed63^=_0x17d1c8[_0x1959c0/_0x1a2822|0x0]<<0x18),_0x3b5b73[_0x1959c0]=_0x3b5b73[_0x1959c0-_0x1a2822]^_0x4eed63);for(var _0x47c24c=this[_0x38350f(0x2ae)]=[],_0x13bab1=0x0;_0x13bab1<_0x51219a;_0x13bab1++){var _0x1959c0=_0x51219a-_0x13bab1;if(_0x13bab1%0x4)var _0x4eed63=_0x3b5b73[_0x1959c0];else var _0x4eed63=_0x3b5b73[_0x1959c0-0x4];_0x13bab1<0x4||_0x1959c0<=0x4?_0x47c24c[_0x13bab1]=_0x4eed63:_0x47c24c[_0x13bab1]=_0x4f6afe[_0x5d4907[_0x4eed63>>>0x18]]^_0x5ad26a[_0x5d4907[_0x4eed63>>>0x10&0xff]]^_0xab44a6[_0x5d4907[_0x4eed63>>>0x8&0xff]]^_0x40d60b[_0x5d4907[_0x4eed63&0xff]];}}},'encryptBlock':function(_0x38cad2,_0x29e771){var _0x56f5ec=_0x3ddb2c;this[_0x56f5ec(0x379)](_0x38cad2,_0x29e771,this[_0x56f5ec(0x294)],_0x5e4c8b,_0x1f9471,_0x35f290,_0x4aa1e9,_0x5d4907);},'decryptBlock':function(_0x7e6cd,_0x23688f){var _0x3539f2=_0x3ddb2c,_0x2dabcd=_0x7e6cd[_0x23688f+0x1];_0x7e6cd[_0x23688f+0x1]=_0x7e6cd[_0x23688f+0x3],_0x7e6cd[_0x23688f+0x3]=_0x2dabcd,this[_0x3539f2(0x379)](_0x7e6cd,_0x23688f,this[_0x3539f2(0x2ae)],_0x4f6afe,_0x5ad26a,_0xab44a6,_0x40d60b,_0x3bed13);var _0x2dabcd=_0x7e6cd[_0x23688f+0x1];_0x7e6cd[_0x23688f+0x1]=_0x7e6cd[_0x23688f+0x3],_0x7e6cd[_0x23688f+0x3]=_0x2dabcd;},'_doCryptBlock':function(_0x105b17,_0x5cd29b,_0x9a313a,_0x190477,_0x425b5a,_0x35ac0a,_0xea644a,_0x4d1428){var _0x2b66be=_0x3ddb2c;for(var _0xef798c=this[_0x2b66be(0x255)],_0x2ded3c=_0x105b17[_0x5cd29b]^_0x9a313a[0x0],_0x41c6ed=_0x105b17[_0x5cd29b+0x1]^_0x9a313a[0x1],_0x45d370=_0x105b17[_0x5cd29b+0x2]^_0x9a313a[0x2],_0x1a03e9=_0x105b17[_0x5cd29b+0x3]^_0x9a313a[0x3],_0x3ccaf5=0x4,_0x59cd36=0x1;_0x59cd36<_0xef798c;_0x59cd36++){var _0xff709d=_0x190477[_0x2ded3c>>>0x18]^_0x425b5a[_0x41c6ed>>>0x10&0xff]^_0x35ac0a[_0x45d370>>>0x8&0xff]^_0xea644a[_0x1a03e9&0xff]^_0x9a313a[_0x3ccaf5++],_0x226292=_0x190477[_0x41c6ed>>>0x18]^_0x425b5a[_0x45d370>>>0x10&0xff]^_0x35ac0a[_0x1a03e9>>>0x8&0xff]^_0xea644a[_0x2ded3c&0xff]^_0x9a313a[_0x3ccaf5++],_0x2f00cf=_0x190477[_0x45d370>>>0x18]^_0x425b5a[_0x1a03e9>>>0x10&0xff]^_0x35ac0a[_0x2ded3c>>>0x8&0xff]^_0xea644a[_0x41c6ed&0xff]^_0x9a313a[_0x3ccaf5++],_0x49f3a6=_0x190477[_0x1a03e9>>>0x18]^_0x425b5a[_0x2ded3c>>>0x10&0xff]^_0x35ac0a[_0x41c6ed>>>0x8&0xff]^_0xea644a[_0x45d370&0xff]^_0x9a313a[_0x3ccaf5++];_0x2ded3c=_0xff709d,_0x41c6ed=_0x226292,_0x45d370=_0x2f00cf,_0x1a03e9=_0x49f3a6;}var _0xff709d=(_0x4d1428[_0x2ded3c>>>0x18]<<0x18|_0x4d1428[_0x41c6ed>>>0x10&0xff]<<0x10|_0x4d1428[_0x45d370>>>0x8&0xff]<<0x8|_0x4d1428[_0x1a03e9&0xff])^_0x9a313a[_0x3ccaf5++],_0x226292=(_0x4d1428[_0x41c6ed>>>0x18]<<0x18|_0x4d1428[_0x45d370>>>0x10&0xff]<<0x10|_0x4d1428[_0x1a03e9>>>0x8&0xff]<<0x8|_0x4d1428[_0x2ded3c&0xff])^_0x9a313a[_0x3ccaf5++],_0x2f00cf=(_0x4d1428[_0x45d370>>>0x18]<<0x18|_0x4d1428[_0x1a03e9>>>0x10&0xff]<<0x10|_0x4d1428[_0x2ded3c>>>0x8&0xff]<<0x8|_0x4d1428[_0x41c6ed&0xff])^_0x9a313a[_0x3ccaf5++],_0x49f3a6=(_0x4d1428[_0x1a03e9>>>0x18]<<0x18|_0x4d1428[_0x2ded3c>>>0x10&0xff]<<0x10|_0x4d1428[_0x41c6ed>>>0x8&0xff]<<0x8|_0x4d1428[_0x45d370&0xff])^_0x9a313a[_0x3ccaf5++];_0x105b17[_0x5cd29b]=_0xff709d,_0x105b17[_0x5cd29b+0x1]=_0x226292,_0x105b17[_0x5cd29b+0x2]=_0x2f00cf,_0x105b17[_0x5cd29b+0x3]=_0x49f3a6;},'keySize':0x100/0x20});_0x4a9a31[_0x3ddb2c(0x416)]=_0x5914d2[_0x3ddb2c(0x25d)](_0x5f06a0);}()),_0x16b860[_0x419a85(0x416)];}));}(We)),We['exports'];}var tr=er();const ir=ke(tr);var nr=Ai();const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x2a3857(0x414)],hi;function rr(){return hi||(hi=0x1,function(_0x5e7991,_0x4f5aea){(function(_0x517e15,_0x10dd43){var _0x53170a=_0x5b8f;_0x5e7991[_0x53170a(0x414)]=_0x10dd43(ne());}(sr,function(_0x1c067b){var _0x567165=_0x5b8f;return _0x1c067b[_0x567165(0x3b6)]['Utf8'];}));}(Ze)),Ze['exports'];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe['exports'],_i;function hr(){var _0x3d04f6=_0x2a3857;return _i||(_i=0x1,function(_0x48067a,_0x14348e){(function(_0x2cbee4,_0x5c14db){var _0x5e956c=_0x5b8f;_0x48067a[_0x5e956c(0x414)]=_0x5c14db(ne());}(cr,function(_0x8df2e8){var _0x4520fc=_0x5b8f;return(function(){var _0x50942c=_0x5b8f;if(typeof ArrayBuffer==_0x50942c(0x302)){var _0x1089bb=_0x8df2e8,_0x2d9404=_0x1089bb['lib'],_0x735b23=_0x2d9404['WordArray'],_0x56a2ad=_0x735b23[_0x50942c(0x1de)],_0x2357e8=_0x735b23['init']=function(_0x4f4d62){var _0xa4ab8a=_0x50942c;if(_0x4f4d62 instanceof ArrayBuffer&&(_0x4f4d62=new Uint8Array(_0x4f4d62)),(_0x4f4d62 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f4d62 instanceof Uint8ClampedArray||_0x4f4d62 instanceof Int16Array||_0x4f4d62 instanceof Uint16Array||_0x4f4d62 instanceof Int32Array||_0x4f4d62 instanceof Uint32Array||_0x4f4d62 instanceof Float32Array||_0x4f4d62 instanceof Float64Array)&&(_0x4f4d62=new Uint8Array(_0x4f4d62['buffer'],_0x4f4d62[_0xa4ab8a(0x397)],_0x4f4d62[_0xa4ab8a(0x347)])),_0x4f4d62 instanceof Uint8Array){for(var _0x487bb3=_0x4f4d62[_0xa4ab8a(0x347)],_0x1f1075=[],_0x3a5b61=0x0;_0x3a5b61<_0x487bb3;_0x3a5b61++)_0x1f1075[_0x3a5b61>>>0x2]|=_0x4f4d62[_0x3a5b61]<<0x18-_0x3a5b61%0x4*0x8;_0x56a2ad[_0xa4ab8a(0x15a)](this,_0x1f1075,_0x487bb3);}else _0x56a2ad[_0xa4ab8a(0x2d3)](this,arguments);};_0x2357e8[_0x50942c(0x22e)]=_0x735b23;}}()),_0x8df2e8[_0x4520fc(0x1bd)]['WordArray'];}));}(Qe)),Qe[_0x3d04f6(0x414)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et['exports'],li;function dr(){var _0x4e8901=_0x2a3857;return li||(li=0x1,function(_0x3f9aff,_0x38d2d7){(function(_0x4d2051,_0x326ad2,_0x11f8b0){var _0x34cd06=_0x5b8f;_0x3f9aff[_0x34cd06(0x414)]=_0x326ad2(ne(),Li());}(ur,function(_0x32937d){var _0x7ccb7a=_0x5b8f;return _0x32937d['pad'][_0x7ccb7a(0x2d9)]={'pad':function(){},'unpad':function(){}},_0x32937d[_0x7ccb7a(0x1a9)][_0x7ccb7a(0x2d9)];}));}(et)),et[_0x4e8901(0x414)];}var fr=dr();const vr=ke(fr);function pr(_0x1490c3,_0x3aaed4){var _0x306658=_0x2a3857;const _0x7d5c1a=_0x3aaed4-_0x1490c3['length']%_0x3aaed4,_0x27ff19=String[_0x306658(0x3fb)](_0x7d5c1a)[_0x306658(0x2c0)](_0x7d5c1a);return _0x1490c3+_0x27ff19;}function mr(_0x48e4c3,_0x5cf781){var _0x326ccd=_0x2a3857;const _0x3d5170=lr[_0x326ccd(0x14c)](0x10),_0x491643=pr(_0x48e4c3,0x10),_0x52c9c4=ir[_0x326ccd(0x298)](ar[_0x326ccd(0x389)](_0x491643),ci['parse'](_0x5cf781),{'iv':_0x3d5170,'padding':vr});return _0x3d5170['concat'](_0x52c9c4[_0x326ccd(0x373)])[_0x326ccd(0x28c)](ci);}function gr(){var _0x553a9d=_0x2a3857;const _0x177279=_0x57f2ea()['__Key__'];if(_0x177279){const _0x4584e4={'time':Math[_0x553a9d(0x23a)](Date[_0x553a9d(0x314)]()/0x3e8),'domain':location[_0x553a9d(0x1f3)]};return mr(JSON[_0x553a9d(0x178)](_0x4584e4),_0x177279);}}var Sr=Object[_0x2a3857(0x239)],Er=Object[_0x2a3857(0x1e9)],Ir=(_0x232228,_0x487382,_0x1d87ff,_0x1b0d7c)=>{for(var _0x26489b=_0x1b0d7c>0x1?void 0x0:_0x1b0d7c?Er(_0x487382,_0x1d87ff):_0x487382,_0x9fbb62=_0x232228['length']-0x1,_0x5ab610;_0x9fbb62>=0x0;_0x9fbb62--)(_0x5ab610=_0x232228[_0x9fbb62])&&(_0x26489b=(_0x1b0d7c?_0x5ab610(_0x487382,_0x1d87ff,_0x26489b):_0x5ab610(_0x26489b))||_0x26489b);return _0x1b0d7c&&_0x26489b&&Sr(_0x487382,_0x1d87ff,_0x26489b),_0x26489b;},Tr=(_0x75dc29,_0x28bb15)=>(_0x207e3c,_0x3781ff)=>_0x28bb15(_0x207e3c,_0x3781ff,_0x75dc29);let at=class{constructor(_0x40743f){var _0x37b551=_0x2a3857;this[_0x37b551(0x330)]=_0x40743f,this[_0x37b551(0x406)]();}[_0x2a3857(0x406)](){var _0x3dffb5=_0x2a3857;this['_httpService'][_0x3dffb5(0x128)]({'interceptor':(_0x64df01,_0x3804fb)=>{var _0x21676e=_0x3dffb5;const _0x2c99f0=_0x64df01['headers'],_0x98c1f3=gr();return _0x98c1f3&&_0x2c99f0['set'](_0x21676e(0x33d),_0x98c1f3),_0x3804fb(_0x64df01);}});}};at=Ir([Tr(0x0,_0x21b3b2(_0x4fa095))],at);var Cr=Object[_0x2a3857(0x239)],br=Object[_0x2a3857(0x1e9)],Rr=(_0x5239d3,_0xc2cf9a,_0x42758d,_0x54d801)=>{for(var _0x561da0=_0x54d801>0x1?void 0x0:_0x54d801?br(_0xc2cf9a,_0x42758d):_0xc2cf9a,_0x552394=_0x5239d3['length']-0x1,_0x45833d;_0x552394>=0x0;_0x552394--)(_0x45833d=_0x5239d3[_0x552394])&&(_0x561da0=(_0x54d801?_0x45833d(_0xc2cf9a,_0x42758d,_0x561da0):_0x45833d(_0x561da0))||_0x561da0);return _0x54d801&&_0x561da0&&Cr(_0xc2cf9a,_0x42758d,_0x561da0),_0x561da0;},gt=(_0x196c22,_0x5c0d45)=>(_0x4486f0,_0x35e3ab)=>_0x5c0d45(_0x4486f0,_0x35e3ab,_0x196c22);let Ot=class extends _0x3f0249{constructor(_0xab2c9e,_0x2821db,_0x133706){var _0x15e5c9=_0x2a3857;super(),P(this,'_unitInfo$',new _0x500ff8(null)),P(this,_0x15e5c9(0x169),this['_unitInfo$'][_0x15e5c9(0x2e0)]()),(this[_0x15e5c9(0x335)]=_0xab2c9e,this[_0x15e5c9(0x177)]=_0x2821db,this[_0x15e5c9(0x15c)]=_0x133706);}async[_0x2a3857(0x256)](_0x29eae3,_0xf65499,_0xbc3af2){var _0x5c64b8=_0x2a3857;this[_0x5c64b8(0x388)]['next']({'unitId':_0x29eae3,'type':_0xf65499,'subUnitId':_0xbc3af2});let _0x5af00a=null;switch(_0xf65499){case Q[_0x5c64b8(0x292)]:{_0x5af00a=await this[_0x5c64b8(0x19b)](_0x29eae3);break;}case Q[_0x5c64b8(0x1d6)]:{_0x5af00a=await this[_0x5c64b8(0x1e1)](_0x29eae3);break;}default:{this[_0x5c64b8(0x335)]['error']('[DataLoaderService]',_0x5c64b8(0x27a));break;}}return _0x5af00a;}async[_0x2a3857(0x19b)](_0x467e5c){var _0x44f7c6=_0x2a3857,_0x299cff;let _0x53aaba=0x0;const _0xce3d7f=await((_0x299cff=this[_0x44f7c6(0x15c)])==null?void 0x0:_0x299cff[_0x44f7c6(0x3ac)](_0x467e5c));return _0xce3d7f&&(_0xce3d7f[_0x44f7c6(0x398)]||_0xce3d7f['mutations'][_0x44f7c6(0x32e)]!==0x0)&&(_0x53aaba=_0xce3d7f[_0x44f7c6(0x3d6)]),_0x53aaba===0x0&&this['_logService']['debug'](_0x44f7c6(0x408),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x44f7c6(0x15e)](_0x467e5c,_0x53aaba);}async[_0x2a3857(0x1e1)](_0x3ef96a){var _0x3b8e1a=_0x2a3857,_0x3698f1;let _0x5567e1=0x0;const _0x3daca7=await((_0x3698f1=this[_0x3b8e1a(0x15c)])==null?void 0x0:_0x3698f1[_0x3b8e1a(0x3ac)](_0x3ef96a));return _0x3daca7&&(_0x3daca7[_0x3b8e1a(0x398)]||_0x3daca7['mutations'][_0x3b8e1a(0x32e)]!==0x0)&&(_0x5567e1=_0x3daca7[_0x3b8e1a(0x3d6)]),_0x5567e1===0x0&&this[_0x3b8e1a(0x335)]['debug'](_0x3b8e1a(0x408),_0x3b8e1a(0x2ad)),this['_snapshotService']['loadDoc'](_0x3ef96a,_0x5567e1);}};Ot=Rr([gt(0x0,_0x4e1c8f),gt(0x1,_0x21b3b2(_0x2546f0)),gt(0x2,_0x10c77b(X))],Ot);var yr=Object[_0x2a3857(0x239)],Or=Object[_0x2a3857(0x1e9)],Nr=(_0x4df4c8,_0x29d5d9,_0x300482,_0x3b50a3)=>{for(var _0x51245c=_0x3b50a3>0x1?void 0x0:_0x3b50a3?Or(_0x29d5d9,_0x300482):_0x29d5d9,_0x19c606=_0x4df4c8['length']-0x1,_0x1d50ab;_0x19c606>=0x0;_0x19c606--)(_0x1d50ab=_0x4df4c8[_0x19c606])&&(_0x51245c=(_0x3b50a3?_0x1d50ab(_0x29d5d9,_0x300482,_0x51245c):_0x1d50ab(_0x51245c))||_0x51245c);return _0x3b50a3&&_0x51245c&&yr(_0x29d5d9,_0x300482,_0x51245c),_0x51245c;},St=(_0x25ec0c,_0x5c74e7)=>(_0x60045a,_0x55f7ae)=>_0x5c74e7(_0x60045a,_0x55f7ae,_0x25ec0c);const Pr=[_0x2a3857(0x417),_0x2a3857(0x300),'image/jpg','image/gif',_0x2a3857(0x1ac)],Dr=0x5*0x400*0x400,wr=_0x2a3857(0x2b6),Ur=_0x2a3857(0x24f),Ar=_0x2a3857(0x3b2),xr=_0x2a3857(0x11a);let Nt=class{constructor(_0x228fd9,_0x1f17b3,_0x5af3f1){var _0x23093a=_0x2a3857;P(this,_0x23093a(0x266),0x0),P(this,_0x23093a(0x31c),new _0x282fa7()),P(this,_0x23093a(0x3a3),this[_0x23093a(0x31c)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x228fd9,this['_configService']=_0x1f17b3,this[_0x23093a(0x3cd)]=_0x5af3f1);}[_0x2a3857(0x3bd)](_0x4e474c){var _0x2dc960=_0x2a3857;this['_waitCount']=_0x4e474c,this[_0x2dc960(0x31c)][_0x2dc960(0x386)](_0x4e474c);}[_0x2a3857(0x1c9)](_0x280a08,_0xcc691d){var _0x263b37=_0x2a3857;if(_0xcc691d===_0x1588b5[_0x263b37(0x33c)]){const _0x389af3=new Image();return _0x389af3['src']=_0x280a08,_0x389af3;}return this[_0x263b37(0x2e1)]['get'](_0x280a08);}['addImageSourceCache'](_0x5a1040,_0x1f0f81,_0x4b6217){var _0x925121=_0x2a3857;_0x1f0f81===_0x1588b5[_0x925121(0x33c)]||_0x4b6217==null||this[_0x925121(0x2e1)]['set'](_0x5a1040,_0x4b6217);}async[_0x2a3857(0x240)](_0xeaa97d){var _0x21865d=_0x2a3857;try{const _0xd392bf=this['_replaceFileID'](this['_getSignURL'](),''+_0xeaa97d),_0x5dfd26=(await this[_0x21865d(0x330)][_0x21865d(0x21d)](_0xd392bf))['body'];if(_0x5dfd26['error']&&_0x5dfd26[_0x21865d(0x119)][_0x21865d(0x39d)]===Ci['OK']){const _0x44fc83=new URL(_0x5dfd26[_0x21865d(0x120)],this[_0x21865d(0x2c6)]())['toString']();return Promise[_0x21865d(0x36e)](_0x44fc83);}return Promise[_0x21865d(0x21a)](_0x5dfd26[_0x21865d(0x119)]);}catch(_0x48eeda){return Promise[_0x21865d(0x21a)](_0x48eeda);}}async[_0x2a3857(0x1f1)](_0x216b4b){var _0x196c4c=_0x2a3857;let _0x1e5158='';if(!Pr[_0x196c4c(0x3ab)](_0x216b4b[_0x196c4c(0x1ce)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xf0a3d5[_0x196c4c(0x3cb)]));if(_0x216b4b[_0x196c4c(0x280)]>Dr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xf0a3d5['ERROR_EXCEED_SIZE']));try{const _0x4b15d3=new FormData();_0x4b15d3['append'](_0x196c4c(0x2be),_0x216b4b);const _0x137053=this[_0x196c4c(0x3cd)]['getFocusedUnit'](),_0x18a701=_0x137053==null?void 0x0:_0x137053[_0x196c4c(0x3b4)]();if(!_0x18a701)throw new Error(_0x196c4c(0x161));const _0x44b407=this[_0x196c4c(0x148)]()+_0x196c4c(0x371)+_0x216b4b[_0x196c4c(0x280)][_0x196c4c(0x28c)]()+_0x196c4c(0x1df)+bi[_0x196c4c(0x215)]+_0x196c4c(0x138)+encodeURIComponent(_0x18a701),_0x5803ac=await(await fetch(_0x44b407,{'method':_0x196c4c(0x2c2),'body':_0x4b15d3}))['json']();if(typeof _0x5803ac[_0x196c4c(0x18d)]!=_0x196c4c(0x29a))return this[_0x196c4c(0x29f)](),Promise[_0x196c4c(0x21a)](new Error(_0xf0a3d5[_0x196c4c(0x29d)]));_0x1e5158=_0x5803ac[_0x196c4c(0x18d)];}catch{return this['_decreaseWaiting'](),Promise[_0x196c4c(0x21a)](new Error(_0xf0a3d5[_0x196c4c(0x29d)]));}return new Promise((_0x251f91,_0x4041a9)=>{var _0x2379d4=_0x196c4c;const _0x4cff3f=new FileReader();_0x4cff3f[_0x2379d4(0x3e2)](_0x216b4b),_0x4cff3f[_0x2379d4(0x232)]=_0x135255=>{var _0x17b951=_0x2379d4,_0x4d2e69;const _0x3b0c80=(_0x4d2e69=_0x135255[_0x17b951(0x269)])==null?void 0x0:_0x4d2e69[_0x17b951(0x40c)];if(_0x3b0c80==null){this[_0x17b951(0x29f)](),_0x4041a9(new Error(_0xf0a3d5[_0x17b951(0x29d)]));return;}const _0x165f10=_0x57b57d[_0x17b951(0x1a6)](0x6);_0x251f91({'imageId':_0x165f10,'imageSourceType':_0x1588b5[_0x17b951(0x3fa)],'source':_0x1e5158,'base64Cache':_0x3b0c80,'status':_0xf0a3d5[_0x17b951(0x3f8)]}),this[_0x17b951(0x29f)]();};});}['_getUploadFileURL'](){var _0x3e90ab=_0x2a3857,_0xc55dae,_0x1d5433;const _0x444eaa=this[_0x3e90ab(0x205)][_0x3e90ab(0x122)](wr),_0x28cdab=this['_configService']['getConfig'](Y);return(_0x1d5433=(_0xc55dae=_0x28cdab==null?void 0x0:_0x28cdab[_0x3e90ab(0x387)])!=null?_0xc55dae:_0x444eaa)!=null?_0x1d5433:Ur;}[_0x2a3857(0x2e4)](){var _0x319d86=_0x2a3857,_0x5397d7,_0x352921;const _0x44d8eb=this[_0x319d86(0x205)][_0x319d86(0x122)](Ar),_0x3e97ae=this[_0x319d86(0x205)][_0x319d86(0x122)](Y);return(_0x352921=(_0x5397d7=_0x3e97ae==null?void 0x0:_0x3e97ae['signUrlServerUrl'])!=null?_0x5397d7:_0x44d8eb)!=null?_0x352921:xr;}[_0x2a3857(0x2c6)](){var _0x47ec10=_0x2a3857,_0x4b5eda;const _0x2e542d=this[_0x47ec10(0x205)][_0x47ec10(0x122)](Y);return(_0x4b5eda=_0x2e542d==null?void 0x0:_0x2e542d[_0x47ec10(0x3d8)])!=null?_0x4b5eda:location[_0x47ec10(0x21b)];}[_0x2a3857(0x1ef)](_0x5ea76f,_0x304068){var _0x28deb1=_0x2a3857;return _0x5ea76f[_0x28deb1(0x156)](_0x28deb1(0x2d4),_0x304068);}['_decreaseWaiting'](){var _0xea919e=_0x2a3857;this[_0xea919e(0x266)]-=0x1,this[_0xea919e(0x31c)][_0xea919e(0x386)](this[_0xea919e(0x266)]);}};function _0x5b8f(_0x353fda,_0x5ab292){var _0x4544b4=_0x4544();return _0x5b8f=function(_0x5b8f35,_0x40e268){_0x5b8f35=_0x5b8f35-0x115;var _0x3d384d=_0x4544b4[_0x5b8f35];return _0x3d384d;},_0x5b8f(_0x353fda,_0x5ab292);}Nt=Nr([St(0x0,_0x21b3b2(_0x4fa095)),St(0x1,_0x24bebb),St(0x2,_0x21b3b2(_0x40e127))],Nt);var Lr=Object[_0x2a3857(0x239)],Mr=Object['getOwnPropertyDescriptor'],$r=(_0x3f8d98,_0x4cb360,_0x8d4fd8,_0x174dca)=>{var _0x479a77=_0x2a3857;for(var _0x456c34=_0x174dca>0x1?void 0x0:_0x174dca?Mr(_0x4cb360,_0x8d4fd8):_0x4cb360,_0x568883=_0x3f8d98[_0x479a77(0x32e)]-0x1,_0x42a417;_0x568883>=0x0;_0x568883--)(_0x42a417=_0x3f8d98[_0x568883])&&(_0x456c34=(_0x174dca?_0x42a417(_0x4cb360,_0x8d4fd8,_0x456c34):_0x42a417(_0x456c34))||_0x456c34);return _0x174dca&&_0x456c34&&Lr(_0x4cb360,_0x8d4fd8,_0x456c34),_0x456c34;},ui=(_0x1e32f1,_0x480871)=>(_0x439b46,_0x284396)=>_0x480871(_0x439b46,_0x284396,_0x1e32f1);const Hr='/universer-api/authz';let Pt=class{constructor(_0x31beea,_0x4b6152){var _0x27cf7b=_0x2a3857;this[_0x27cf7b(0x205)]=_0x31beea,this[_0x27cf7b(0x1ab)]=_0x4b6152;}[_0x2a3857(0x1b2)](){var _0x25689c=_0x2a3857,_0x5df409,_0x4c39ba;const _0x467fdf=this['_configService']['getConfig'](Ui),_0x394c6c=this[_0x25689c(0x205)][_0x25689c(0x122)](Y);return(_0x4c39ba=(_0x5df409=_0x394c6c==null?void 0x0:_0x394c6c[_0x25689c(0x334)])!=null?_0x5df409:_0x467fdf)!=null?_0x4c39ba:Hr;}async[_0x2a3857(0x2b2)](_0xaed120){var _0x94ea48=_0x2a3857;const _0x4b0d69=this[_0x94ea48(0x1b2)]()+'/collaborator';return{'list':[{'title':_0x94ea48(0x36d),'mentions':(await this['_HTTPService'][_0x94ea48(0x21d)](_0x4b0d69,{'params':{'objectID':_0xaed120['unitId'],'unitID':_0xaed120[_0x94ea48(0x2b7)]}}))['body'][_0x94ea48(0x3a8)]['map'](_0x121275=>({'objectId':_0x121275['id'],'name':_0x121275['subject'][_0x94ea48(0x27d)],'metadata':{'icon':_0x121275[_0x94ea48(0x16e)]['avatar']},'label':_0x121275[_0x94ea48(0x16e)]['name'],'objectType':_0x4eb276[_0x94ea48(0x260)]})),'metadata':{},'type':_0x4eb276[_0x94ea48(0x260)]}]};}};Pt=$r([ui(0x0,_0x21b3b2(_0x24bebb)),ui(0x1,_0x21b3b2(_0x4fa095))],Pt);var kr=Object[_0x2a3857(0x239)],jr=Object[_0x2a3857(0x1e9)],Br=(_0x34babb,_0x5a17e1,_0x25ccd7,_0x3a673e)=>{var _0x35e0f0=_0x2a3857;for(var _0x20e32c=_0x3a673e>0x1?void 0x0:_0x3a673e?jr(_0x5a17e1,_0x25ccd7):_0x5a17e1,_0x770c3d=_0x34babb[_0x35e0f0(0x32e)]-0x1,_0x489b33;_0x770c3d>=0x0;_0x770c3d--)(_0x489b33=_0x34babb[_0x770c3d])&&(_0x20e32c=(_0x3a673e?_0x489b33(_0x5a17e1,_0x25ccd7,_0x20e32c):_0x489b33(_0x20e32c))||_0x20e32c);return _0x3a673e&&_0x20e32c&&kr(_0x5a17e1,_0x25ccd7,_0x20e32c),_0x20e32c;},Se=(_0x1ab87a,_0x14a70c)=>(_0x1aefe9,_0x18c4af)=>_0x14a70c(_0x1aefe9,_0x18c4af,_0x1ab87a);let ct=class extends _0x3f0249{constructor(_0x5b18f4,_0x46b9ea,_0x4f59b2,_0x377bdc,_0x4d5e49,_0x4e6690,_0x2e6da5){var _0x285310=_0x2a3857;super(),this['_injector']=_0x5b18f4,this[_0x285310(0x3cd)]=_0x46b9ea,this['_permissionService']=_0x4f59b2,this['_collaborationSessionService']=_0x377bdc,this[_0x285310(0x30d)]=_0x4d5e49,this['_authzIoService']=_0x4e6690,this[_0x285310(0x36f)]=_0x2e6da5,this[_0x285310(0x3e5)](),this[_0x285310(0x39a)]();}[_0x2a3857(0x39a)](){var _0x1294ee=_0x2a3857;const _0x49ef52=async _0x55013b=>{var _0x1fbbf9=_0x5b8f;(await this[_0x1fbbf9(0x202)][_0x1fbbf9(0x411)](_0x55013b))[_0x1fbbf9(0x2a9)][_0x1fbbf9(0x369)](_0x5bfb9e(_0x525e20=>_0x525e20['eventID']===_0x562849['SHOULD_CLOSE_CONN']),_0x3ba3cf(this[_0x1fbbf9(0x3bb)]))[_0x1fbbf9(0x2cb)](_0x414334=>{var _0x8fadee=_0x1fbbf9;const _0x568997=_0x414334,{reason:_0x429f6d}=_0x568997[_0x8fadee(0x13b)];this[_0x8fadee(0x30d)][_0x8fadee(0x3db)]({'id':re[_0x8fadee(0x165)],'data':_0x429f6d}),this[_0x8fadee(0x11e)][_0x8fadee(0x20e)](new _0x39ae2d(_0x55013b)['id'],!0x1),this[_0x8fadee(0x202)][_0x8fadee(0x2b8)](_0x55013b);});};_0xc9cdeb(this[_0x1294ee(0x3cd)]['getTypeOfUnitAdded$'](_0x465e07[_0x1294ee(0x292)]),this['_univerInstanceService'][_0x1294ee(0x1b3)](_0x465e07[_0x1294ee(0x1d6)]))[_0x1294ee(0x369)](_0x4bf464(_0x35101=>_0x35101['getUnitId']()),_0x5bfb9e(_0x3b30d3=>!_0xc08f6c(_0x3b30d3)),_0x3ba3cf(this[_0x1294ee(0x3bb)]))[_0x1294ee(0x2cb)](_0x31d968=>{_0x49ef52(_0x31d968);});}['_initUnitPermissionChange'](){var _0x297218=_0x2a3857;const _0x536dd7=async _0x20e62e=>{var _0x2e3b53=_0x5b8f;(await this[_0x2e3b53(0x202)][_0x2e3b53(0x411)](_0x20e62e))[_0x2e3b53(0x2a9)][_0x2e3b53(0x369)](_0x5bfb9e(_0x51cedb=>_0x51cedb[_0x2e3b53(0x383)]===_0x562849[_0x2e3b53(0x183)]),_0x3ba3cf(this['dispose$']))[_0x2e3b53(0x2cb)](_0x3ccf77=>{var _0x244c64=_0x2e3b53;const _0x54255d=_0x3ccf77,{objectId:_0x4ba829}=_0x54255d[_0x244c64(0x13b)];_0x4ba829===_0x20e62e?this[_0x244c64(0x134)](_0x20e62e):this[_0x244c64(0x3ec)](_0x20e62e,_0x4ba829);});};_0xc9cdeb(this[_0x297218(0x3cd)][_0x297218(0x1b3)](_0x465e07[_0x297218(0x292)]),this[_0x297218(0x3cd)]['getTypeOfUnitAdded$'](_0x465e07[_0x297218(0x1d6)]))['pipe'](_0x4bf464(_0x4deb2f=>_0x4deb2f[_0x297218(0x3b4)]()),_0x5bfb9e(_0x37e8cf=>!_0xc08f6c(_0x37e8cf)),_0x3ba3cf(this[_0x297218(0x3bb)]))[_0x297218(0x2cb)](_0x24b775=>{_0x536dd7(_0x24b775);});}async[_0x2a3857(0x134)](_0x34d876){var _0x37b23=_0x2a3857,_0x3843b8;const _0x3b9ac7=_0x34d876||((_0x3843b8=this['_univerInstanceService'][_0x37b23(0x3b3)](_0x465e07[_0x37b23(0x292)]))==null?void 0x0:_0x3843b8['getUnitId']());_0x3b9ac7&&this[_0x37b23(0x2a7)][_0x37b23(0x326)]({'objectID':_0x3b9ac7,'objectType':_0x4172eb['Workbook'],'unitID':_0x3b9ac7,'actions':_0x5b7918})[_0x37b23(0x192)](_0x1633df=>{var _0x47b241=_0x37b23;_0x3e17f7()[_0x47b241(0x168)](_0x3babda=>{var _0xe009c1=_0x47b241;const _0x9f4cc4=new _0x3babda(_0x3b9ac7),_0x1639e4=_0x9f4cc4['subType'],_0x45e11f=_0x1633df[_0xe009c1(0x189)](_0x603048=>_0x603048[_0xe009c1(0x3ad)]===_0x1639e4);_0x45e11f&&this['_permissionService'][_0xe009c1(0x20e)](_0x9f4cc4['id'],_0x45e11f[_0xe009c1(0x326)]);});});}[_0x2a3857(0x3ec)](_0x54af81,_0xfc5ea1){var _0x12b031=_0x2a3857;const _0x3a7e89=this[_0x12b031(0x158)][_0x12b031(0x21d)](_0xc125ce),_0x5b40c6=_0x3a7e89[_0x12b031(0x394)](_0x54af81,_0xfc5ea1);let _0x39d907=!0x1;if(_0x5b40c6){const [_0x318d33,_0x309c2f]=_0x5b40c6;this[_0x12b031(0x2a7)]['allowed']({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb[_0x12b031(0x1ec)],'actions':_0xef18b8})[_0x12b031(0x192)](_0x48dc9b=>{var _0x2f8453=_0x12b031;let _0x2908a6='';_0x1553e5()['forEach'](_0x335b1c=>{var _0x4a2c6a=_0x5b8f,_0x128845;const _0x5603fb=new _0x335b1c(_0x54af81,_0x309c2f),_0x1f9cb5=_0x5603fb[_0x4a2c6a(0x3ef)],_0x1cf5f1=_0x48dc9b['find'](_0x44ceef=>_0x44ceef['action']===_0x1f9cb5);_0x1cf5f1&&(((_0x128845=this[_0x4a2c6a(0x11e)][_0x4a2c6a(0x187)](_0x5603fb['id']))==null?void 0x0:_0x128845['value'])!==_0x1cf5f1[_0x4a2c6a(0x326)]&&(_0x39d907=!0x0),this[_0x4a2c6a(0x11e)][_0x4a2c6a(0x20e)](_0x5603fb['id'],_0x1cf5f1[_0x4a2c6a(0x326)]),_0x2908a6+=_0x1cf5f1[_0x4a2c6a(0x3ad)]+'_'+_0x1cf5f1[_0x4a2c6a(0x326)]);}),_0x3a7e89[_0x2f8453(0x15f)](_0xfc5ea1+'_'+_0x2908a6),_0x39d907&&this[_0x2f8453(0x36f)][_0x2f8453(0x364)](_0x54af81);});}const _0x4d0dcc=this['_injector'][_0x12b031(0x21d)](_0x12954f)['getTargetByPermissionId'](_0x54af81,_0xfc5ea1);if(_0x4d0dcc){const [_0x31e2a5,_0x51d420]=_0x4d0dcc;this[_0x12b031(0x2a7)][_0x12b031(0x326)]({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb['Worksheet'],'actions':_0x3a77ca})[_0x12b031(0x192)](_0x2b0932=>{var _0x1d6375=_0x12b031;_0x7e5269()[_0x1d6375(0x168)](_0x1edfad=>{var _0x4d88c0=_0x1d6375,_0x3315d8;const _0x409936=new _0x1edfad(_0x54af81,_0x51d420),_0x1789cc=_0x409936[_0x4d88c0(0x3ef)],_0xedd98f=_0x2b0932[_0x4d88c0(0x189)](_0x367475=>_0x367475[_0x4d88c0(0x3ad)]===_0x1789cc);_0xedd98f&&(((_0x3315d8=this[_0x4d88c0(0x11e)][_0x4d88c0(0x187)](_0x409936['id']))==null?void 0x0:_0x3315d8['value'])!==_0xedd98f['allowed']&&(_0x39d907=!0x0),this[_0x4d88c0(0x11e)][_0x4d88c0(0x20e)](_0x409936['id'],_0xedd98f['allowed']));}),_0x39d907&&this[_0x1d6375(0x36f)][_0x1d6375(0x364)](_0x54af81);});}const _0x1daf80=this[_0x12b031(0x158)][_0x12b031(0x21d)](_0x5b5e96),_0x28add2=_0x1daf80[_0x12b031(0x394)](_0x54af81,_0xfc5ea1);if(_0x28add2){const [_0x2b017e,_0x3b7687]=_0x28add2;this[_0x12b031(0x2a7)]['allowed']({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb[_0x12b031(0x37e)],'actions':_0xef18b8})['then'](_0x3cc1f7=>{var _0x27246c=_0x12b031;let _0x14915b='';_0x13122b()[_0x27246c(0x168)](_0x4bd29a=>{var _0x299cc3=_0x27246c,_0x350f72;const _0x5ec6c6=new _0x4bd29a(_0x54af81,_0x3b7687,_0xfc5ea1),_0x3f5a68=_0x5ec6c6['subType'],_0x236873=_0x3cc1f7['find'](_0x25acd8=>_0x25acd8[_0x299cc3(0x3ad)]===_0x3f5a68);_0x236873&&(((_0x350f72=this[_0x299cc3(0x11e)][_0x299cc3(0x187)](_0x5ec6c6['id']))==null?void 0x0:_0x350f72[_0x299cc3(0x1fc)])!==_0x236873[_0x299cc3(0x326)]&&(_0x39d907=!0x0),this[_0x299cc3(0x11e)]['updatePermissionPoint'](_0x5ec6c6['id'],_0x236873[_0x299cc3(0x326)]),_0x14915b+=_0x236873['action']+'_'+_0x236873[_0x299cc3(0x326)]);}),_0x1daf80[_0x27246c(0x15f)](_0xfc5ea1+'_'+_0x14915b),_0x39d907&&this[_0x27246c(0x36f)][_0x27246c(0x364)](_0x54af81);});}}};ct=Br([Se(0x0,_0x21b3b2(_0x548366)),Se(0x1,_0x40e127),Se(0x2,_0x1c05e3),Se(0x3,_0x21b3b2(Le)),Se(0x4,_0x21b3b2(pe)),Se(0x5,_0x1ee820),Se(0x6,_0x34b8e6)],ct);var Fr=Object[_0x2a3857(0x239)],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x95de1e,_0x1a6343,_0x37533f,_0x3ee6ef)=>{for(var _0x44ca51=_0x3ee6ef>0x1?void 0x0:_0x3ee6ef?Vr(_0x1a6343,_0x37533f):_0x1a6343,_0x1df47c=_0x95de1e['length']-0x1,_0x39fae4;_0x1df47c>=0x0;_0x1df47c--)(_0x39fae4=_0x95de1e[_0x1df47c])&&(_0x44ca51=(_0x3ee6ef?_0x39fae4(_0x1a6343,_0x37533f,_0x44ca51):_0x39fae4(_0x44ca51))||_0x44ca51);return _0x3ee6ef&&_0x44ca51&&Fr(_0x1a6343,_0x37533f,_0x44ca51),_0x44ca51;},di=(_0x481421,_0x415b0b)=>(_0x2068e8,_0x244b67)=>_0x415b0b(_0x2068e8,_0x244b67,_0x481421);let Dt=class{constructor(_0x733a5,_0x4e1bae){var _0x1bd80a=_0x2a3857;this[_0x1bd80a(0x205)]=_0x733a5,this[_0x1bd80a(0x330)]=_0x4e1bae;}async['getUnitOnRev'](_0x4d7eb4,_0x1d1168){var _0x28ff8c=_0x2a3857,_0x391acd;const {unitID:_0x194344,type:_0x17a0d2,revision:_0x4b4c6c=0x0}=_0x1d1168,_0x1d8a0f=this[_0x28ff8c(0x339)]()+'/'+_0x17a0d2+_0x28ff8c(0x3e1)+_0x194344+_0x28ff8c(0x139)+_0x4b4c6c,_0x4313cc=(await this[_0x28ff8c(0x330)]['get'](_0x1d8a0f))['body'],_0x933c5a=(_0x391acd=_0x4313cc['snapshot'])==null?void 0x0:_0x391acd['workbook'];if(_0x933c5a){const _0x3c6b91=_0x933c5a==null?void 0x0:_0x933c5a['originalMeta'],_0x38b8a0=_0x56aad7[_0x28ff8c(0x182)](_0x2a92b6(_0x3c6b91));_0x933c5a['originalMeta']=_0x38b8a0,Object['entries'](_0x933c5a['sheets'])[_0x28ff8c(0x168)](([,_0x2ede9a])=>{const _0x3a1c2a=_0x2ede9a['originalMeta'],_0x2a6f71=_0x56aad7['encode'](_0x2a92b6(_0x3a1c2a));_0x2ede9a['originalMeta']=_0x2a6f71;});}return _0x4313cc;}async[_0x2a3857(0x283)](_0x4cd513,_0x7a6487){var _0x597759=_0x2a3857;const {unitID:_0x544f16,type:_0x289e2a,blockID:_0x40a0e1}=_0x7a6487,_0x29463a=this[_0x597759(0x281)]()+'/'+_0x289e2a+_0x597759(0x3e1)+_0x544f16+'/block/'+_0x40a0e1;return(await this[_0x597759(0x330)][_0x597759(0x21d)](_0x29463a))[_0x597759(0x1a1)];}async[_0x2a3857(0x1da)](_0x45bdea,_0x52d285){var _0x211579=_0x2a3857;const {unitID:_0x47e77a,type:_0x15be84,blockID:_0x34db9d}=_0x52d285,_0x18d472=this['_getAPIPrefix']()+_0x211579(0x216)+_0x15be84+_0x211579(0x3e1)+_0x47e77a+'/block/'+_0x34db9d;return(await this[_0x211579(0x330)][_0x211579(0x21d)](_0x18d472))[_0x211579(0x1a1)];}async['fetchMissingChangesets'](_0x211e80,_0x3701ea){var _0x87e8a2=_0x2a3857;const {unitID:_0x2c5f,type:_0xe71718,from:_0x42cb8e,to:_0x1384a0}=_0x3701ea,_0x6783c1=this[_0x87e8a2(0x281)]()+'/'+_0xe71718+_0x87e8a2(0x3e1)+_0x2c5f+_0x87e8a2(0x1d8)+_0x42cb8e+_0x87e8a2(0x40b)+_0x1384a0;return(await this['_httpService'][_0x87e8a2(0x21d)](_0x6783c1))[_0x87e8a2(0x1a1)];}[_0x2a3857(0x339)](){var _0x101534=_0x2a3857,_0x2250a1;return(_0x2250a1=this[_0x101534(0x205)]['getConfig'](Un))!=null?_0x2250a1:this['_getAPIPrefix']();}[_0x2a3857(0x281)](){var _0x30c76b=_0x2a3857,_0x1872f6,_0x2feda0;const _0x18fb03=this[_0x30c76b(0x205)][_0x30c76b(0x122)](Dn),_0x28ab9f=this[_0x30c76b(0x205)][_0x30c76b(0x122)](Y);return(_0x2feda0=(_0x1872f6=_0x28ab9f==null?void 0x0:_0x28ab9f[_0x30c76b(0x17b)])!=null?_0x1872f6:_0x18fb03)!=null?_0x2feda0:wn;}async[_0x2a3857(0x268)](_0x35486a,_0x36f305){var _0x82fbf2=_0x2a3857;const _0x13e4b5=_0x82fbf2(0x22d)+_0x36f305[_0x82fbf2(0x1ce)]+_0x82fbf2(0x3e1)+_0x36f305[_0x82fbf2(0x12e)]+'/resources';return(await this[_0x82fbf2(0x330)][_0x82fbf2(0x21d)](_0x13e4b5,{'params':{'resourceId':JSON['stringify'](_0x36f305[_0x82fbf2(0x3d9)])}}))[_0x82fbf2(0x1a1)];}[_0x2a3857(0x26f)](){var _0x2f4745=_0x2a3857;throw new Error(_0x2f4745(0x367));}[_0x2a3857(0x2f7)](){var _0xe3637b=_0x2a3857;throw new Error(_0xe3637b(0x367));}[_0x2a3857(0x18a)](){var _0x44a826=_0x2a3857;throw new Error(_0x44a826(0x367));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a3857(0x1a3)](){var _0x517beb=_0x2a3857;throw new Error(_0x517beb(0x367));}};Dt=Wr([di(0x0,_0x24bebb),di(0x1,_0x21b3b2(_0x4fa095))],Dt);var Gr=Object[_0x2a3857(0x239)],Kr=Object[_0x2a3857(0x1e9)],zr=(_0x1a9fdb,_0x3717e7,_0x5ba9f6,_0x82dd5e)=>{var _0x4b0b28=_0x2a3857;for(var _0x1248f2=_0x82dd5e>0x1?void 0x0:_0x82dd5e?Kr(_0x3717e7,_0x5ba9f6):_0x3717e7,_0x2c3c8a=_0x1a9fdb[_0x4b0b28(0x32e)]-0x1,_0x2fd995;_0x2c3c8a>=0x0;_0x2c3c8a--)(_0x2fd995=_0x1a9fdb[_0x2c3c8a])&&(_0x1248f2=(_0x82dd5e?_0x2fd995(_0x3717e7,_0x5ba9f6,_0x1248f2):_0x2fd995(_0x1248f2))||_0x1248f2);return _0x82dd5e&&_0x1248f2&&Gr(_0x3717e7,_0x5ba9f6,_0x1248f2),_0x1248f2;},Ae=(_0x4b250d,_0xcc9ce5)=>(_0x380eff,_0x4ce6a4)=>_0xcc9ce5(_0x380eff,_0x4ce6a4,_0x4b250d);let wt=class extends _0x2afa4d{constructor(_0x1c3647,_0x1b867e,_0x4d52b0,_0x5b9758,_0x3b565c){var _0x2b0112=_0x2a3857;super(_0x1c3647,_0x1b867e,_0x4d52b0),this['_transformService']=_0x5b9758,this[_0x2b0112(0x335)]=_0x3b565c;}[_0x2a3857(0x223)](_0x1d9c86,_0x4f545c){var _0x425334=_0x2a3857;const _0x44f82f=this['_getUndoStack'](_0x1d9c86);if(_0x44f82f)try{const _0x4126d5=this[_0x425334(0x2cd)](_0x44f82f,_0x4f545c);this[_0x425334(0x320)](_0x1d9c86,_0x4126d5);}catch(_0x2db2ed){this[_0x425334(0x335)][_0x425334(0x119)](_0x425334(0x25e),_0x2db2ed),this[_0x425334(0x20a)](_0x1d9c86);}const _0x34431d=this[_0x425334(0x11f)](_0x1d9c86);if(_0x34431d)try{const _0x54003e=this[_0x425334(0x2cd)](_0x34431d,_0x4f545c);this[_0x425334(0x29e)](_0x1d9c86,_0x54003e);}catch(_0x582143){this['_logService'][_0x425334(0x119)](_0x582143),this['_clearRedo'](_0x1d9c86);}}['_clearUndo'](_0x252824){var _0x51743e=_0x2a3857;const _0x54ffa1=this[_0x51743e(0x2d5)](_0x252824);_0x54ffa1&&(_0x54ffa1['length']=0x0,this[_0x51743e(0x28b)]());}[_0x2a3857(0x14a)](_0x4bc05a){var _0x3e40fb=_0x2a3857;const _0xf98415=this[_0x3e40fb(0x11f)](_0x4bc05a);_0xf98415&&(_0xf98415[_0x3e40fb(0x32e)]=0x0,this['_updateStatus']());}[_0x2a3857(0x320)](_0x46388b,_0x2b8649){this['_undoStacks']['set'](_0x46388b,_0x2b8649),this['_updateStatus']();}[_0x2a3857(0x29e)](_0x25d031,_0x3f5827){var _0x254fe4=_0x2a3857;this[_0x254fe4(0x1d4)]['set'](_0x25d031,_0x3f5827),this[_0x254fe4(0x28b)]();}['_transformStack'](_0xd0b6d2,_0x2b82d1){var _0x1ccea2=_0x2a3857;const _0x551ea5=[];let _0x44ab10=_0x2b82d1,_0x1c5a86=_0x2b82d1;for(let _0x4bd8bf=_0xd0b6d2[_0x1ccea2(0x32e)]-0x1;_0x4bd8bf>=0x0;_0x4bd8bf--){const {unitID:_0x32799e,undoMutations:_0x44d98b,redoMutations:_0x2e339e}=_0xd0b6d2[_0x4bd8bf],_0x5ea3d0=this[_0x1ccea2(0x26b)][_0x1ccea2(0x1c4)](_0x44ab10,_0x44d98b),_0x16079b=this[_0x1ccea2(0x26b)][_0x1ccea2(0x1c4)](_0x1c5a86,_0x2e339e);if(_0x3977b7(_0x5ea3d0)||_0x3977b7(_0x16079b)){this[_0x1ccea2(0x335)][_0x1ccea2(0x119)]('[CollaborationUndoRedoService]',_0x1ccea2(0x270),_0x5ea3d0,_0x16079b);break;}_0x44ab10=_0x5ea3d0[_0x1ccea2(0x2a8)],_0x1c5a86=_0x16079b[_0x1ccea2(0x2a8)],_0x551ea5['push']({'unitID':_0x32799e,'undoMutations':_0x5ea3d0['m2Prime'],'redoMutations':_0x16079b[_0x1ccea2(0x19d)]});}return _0x551ea5[_0x1ccea2(0x282)]();}};wt=zr([Ae(0x0,_0x40e127),Ae(0x1,_0xd6fdcf),Ae(0x2,_0x46761c),Ae(0x3,_0x59eb83),Ae(0x4,_0x4e1c8f)],wt);var Mi=Object[_0x2a3857(0x239)],Yr=Object[_0x2a3857(0x1e9)],qr=(_0x253109,_0x5b18f5,_0x17a105)=>_0x5b18f5 in _0x253109?Mi(_0x253109,_0x5b18f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17a105}):_0x253109[_0x5b18f5]=_0x17a105,Jr=(_0x423443,_0x1a857a,_0x2c85e3,_0x8d52e4)=>{var _0x52ec63=_0x2a3857;for(var _0x357895=_0x8d52e4>0x1?void 0x0:_0x8d52e4?Yr(_0x1a857a,_0x2c85e3):_0x1a857a,_0x447337=_0x423443[_0x52ec63(0x32e)]-0x1,_0x4e738c;_0x447337>=0x0;_0x447337--)(_0x4e738c=_0x423443[_0x447337])&&(_0x357895=(_0x8d52e4?_0x4e738c(_0x1a857a,_0x2c85e3,_0x357895):_0x4e738c(_0x357895))||_0x357895);return _0x8d52e4&&_0x357895&&Mi(_0x1a857a,_0x2c85e3,_0x357895),_0x357895;},Et=(_0x5d6e55,_0x11bfa6)=>(_0x15d3db,_0x1f2ab3)=>_0x11bfa6(_0x15d3db,_0x1f2ab3,_0x5d6e55),Xr=(_0x4a675f,_0x30b11b,_0x4767a1)=>qr(_0x4a675f,_0x30b11b+'',_0x4767a1);const Zr=_0x2a3857(0x358);let Ut=class extends _0x42c4cc{constructor(_0x2bc949=zt,_0x33ea8e,_0x3a26d0,_0x54342e){var _0x186e72=_0x2a3857;super(),this['_config']=_0x2bc949,this['_logService']=_0x33ea8e,this[_0x186e72(0x158)]=_0x3a26d0,this[_0x186e72(0x205)]=_0x54342e;const {..._0x4df820}=_0x46b3fd({},zt,this[_0x186e72(0x1ca)]);this['_configService']['setConfig'](Y,_0x4df820);}[_0x2a3857(0x288)](){var _0x507afd=_0x2a3857;this[_0x507afd(0x32d)](),this[_0x507afd(0x321)]();}[_0x2a3857(0x32d)](){var _0x49e420=_0x2a3857,_0x2d97b3,_0x3468d9,_0x1d6c48,_0xe938d9;this[_0x49e420(0x158)][_0x49e420(0x40d)](_0x34b8e6)&&this[_0x49e420(0x335)][_0x49e420(0x119)]('[UniverCollaborationClientPlugin]',_0x49e420(0x3e3));const _0x3142e9=_0x1114da([[_0x34b8e6,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x3468d9=(_0x2d97b3=this['_config'])==null?void 0x0:_0x2d97b3[_0x49e420(0x11d)])!=null?_0x3468d9:It}],[_0x2b19c8,{'useClass':Dt}],[_0x1ee820,{'useClass':yt}],[_0x667393,{'useClass':Nt}],[_0x50db1d,{'useClass':Pt}],[rt],[Rt]],(_0x1d6c48=this[_0x49e420(0x1ca)])==null?void 0x0:_0x1d6c48[_0x49e420(0x413)]);if(!((_0xe938d9=this[_0x49e420(0x1ca)])!=null&&_0xe938d9[_0x49e420(0x159)])){const _0x2cc2c3=_0x3142e9[_0x49e420(0x142)](([_0x5836fd])=>_0x5836fd===_t);_0x2cc2c3!==-0x1&&_0x3142e9[_0x49e420(0x374)](_0x2cc2c3,0x1);}_0xb389a8(this[_0x49e420(0x158)],_0x3142e9);}['_initDependencies'](){var _0x5956c9=_0x2a3857,_0x2ebac4,_0x4cbd26,_0x4458be;this[_0x5956c9(0x158)][_0x5956c9(0x21d)](_0x4fa095)[_0x5956c9(0x128)]({'priority':0x14,'interceptor':_0x32651a({'maxParallel':0x6})}),(_0x2ebac4=this[_0x5956c9(0x1ca)])!=null&&_0x2ebac4[_0x5956c9(0x19a)]||(_0x4cbd26=this['_injector']['get'](X,_0x5e9174[_0x5956c9(0x197)]))==null||_0x4cbd26['disableLocalCache'](),(_0x4458be=this[_0x5956c9(0x1ca)])!=null&&_0x4458be[_0x5956c9(0x279)]&&_0x1673c2(this[_0x5956c9(0x158)],[[ot]]),_0x1673c2(this[_0x5956c9(0x158)],[[at],[rt],[ct]]);}};Xr(Ut,_0x2a3857(0x332),Zr),Ut=Jr([_0x4f1cae(_0x822522,_0x273cfc,_0x5774e3),Et(0x1,_0x4e1c8f),Et(0x2,_0x21b3b2(_0x548366)),Et(0x3,_0x24bebb)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};
|
1
|
+
var _0x3817ac=_0x7017;(function(_0x300fca,_0x58f32a){var _0x247371=_0x7017,_0x3945d9=_0x300fca();while(!![]){try{var _0x329b61=-parseInt(_0x247371(0x1d7))/0x1+parseInt(_0x247371(0x2dc))/0x2+parseInt(_0x247371(0x42c))/0x3+-parseInt(_0x247371(0x413))/0x4+-parseInt(_0x247371(0x396))/0x5*(-parseInt(_0x247371(0x2ea))/0x6)+parseInt(_0x247371(0x3a0))/0x7+-parseInt(_0x247371(0x371))/0x8*(parseInt(_0x247371(0x321))/0x9);if(_0x329b61===_0x58f32a)break;else _0x3945d9['push'](_0x3945d9['shift']());}catch(_0x2dcfa0){_0x3945d9['push'](_0x3945d9['shift']());}}}(_0x484f,0xdd107));var $i=Object[_0x3817ac(0x3b8)],Hi=(_0x2b060d,_0x1c0900,_0x5c705b)=>_0x1c0900 in _0x2b060d?$i(_0x2b060d,_0x1c0900,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c705b}):_0x2b060d[_0x1c0900]=_0x5c705b,P=(_0x35b100,_0x4ac9ea,_0x227ab6)=>Hi(_0x35b100,typeof _0x4ac9ea!=_0x3817ac(0x19e)?_0x4ac9ea+'':_0x4ac9ea,_0x227ab6);import{createIdentifier as _0x526b95,Inject as _0x880ce4,Injector as _0x28aed1,Disposable as _0x4c5e0f,DisposableCollection as _0x345077,toDisposable as _0x3282bc,IConfigService as _0x268506,ILogService as _0x3b11ba,UserManagerService as _0x41099,UniverInstanceType as _0x1f11e9,IUniverInstanceService as _0x369bbf,LocaleService as _0x42e13a,Optional as _0x1d2db0,RxDisposable as _0x9c8dcc,Tools as _0x19a3c3,Rectangle as _0x5381ba,ICommandService as _0x5ee12b,JSONX as _0x4f4e18,CommandType as _0x2cbde1,IPermissionService as _0x3310d6,IUndoRedoService as _0x43dc49,sequenceExecute as _0x6e8ef5,Workbook as _0x7013a8,MentionType as _0x54eafb,IAuthzIoService as _0x400bc0,isInternalEditorID as _0x4417ac,LocalUndoRedoService as _0x864ba1,IContextService as _0x24222f,DependentOn as _0x269592,Plugin as _0x2968e0,merge as _0x2d506e,mergeOverrideWithDependencies as _0x189fb3,IMentionIOService as _0x2d119d,registerDependencies as _0x16ef9f,Quantity as _0x12cdfd,touchDependencies as _0x338f1b}from'@univerjs/core';import{Subject as _0x560c85,merge as _0x30e992,of as _0x41a794,BehaviorSubject as _0x576e29,takeUntil as _0x44ee9f,ReplaySubject as _0xd22070,take as _0x551224,map as _0x155080,shareReplay as _0x55005f,firstValueFrom as _0x54a0bb,concatMap as _0xe3238b}from'rxjs';import{map as _0x24684d,take as _0x512f7a,filter as _0x1b785d,delay as _0x54d682,takeUntil as _0x22e3d2}from'rxjs/operators';import{HTTPService as _0x157352,ISocketService as _0x222759,MergeInterceptorFactory as _0x3b4411,HTTPRequest as _0x57bb69,UniverNetworkPlugin as _0x3afd6f,ThresholdInterceptorFactory as _0x3812a}from'@univerjs/network';import{CollaborationEvent as _0x48cdf6,parseChangesetToProtocol as _0x830f4a,ISnapshotServerService as _0x2e5790,isTransformMutationsWithChangesetSuccess as _0x490500,ITransformService as _0x5e4ebe,mapDocumentTypeToUniverType as _0x177af8,RevisionService as _0x46b1c6,isTransformChangesetsSuccess as _0x1a2959,CompressMutationService as _0x261980,parseProtocolChangeset as _0x42c60c,SnapshotService as _0x1b376d,textEncoder as _0x5cb200,b64DecodeUnicode as _0x4b2c2e,isTransformMutationsWithChangesetFailure as _0x389b7d,UniverCollaborationPlugin as _0x6570e7}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2e5b5e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4aee6a}from'@univerjs/docs';import{SheetsSelectionsService as _0x40f603,SetSelectionsOperation as _0x3529cb,InsertSheetMutation as _0x2e554f,EmptyMutation as _0x57917a,WorkbookEditablePermission as _0x1fa601,UnitObject as _0x4dfcaf,defaultWorkbookPermissionPoints as _0x541e5e,getAllWorkbookPermissionPoint as _0x4d802e,WorksheetProtectionRuleModel as _0x36a6e8,baseProtectionActions as _0x400bf2,getAllWorksheetPermissionPoint as _0x11f5cd,WorksheetProtectionPointModel as _0x2bf8b1,defaultWorksheetPermissionPoint as _0x425cad,getAllWorksheetPermissionPointByPointPanel as _0x425436,RangeProtectionRuleModel as _0x25606f,getAllRangePermissionPoint as _0x3831c2,UniverSheetsPlugin as _0x36a5db}from'@univerjs/sheets';import{ImageSourceType as _0xbb2960,ImageUploadStatusType as _0xff6d54,IImageIoService as _0x5695e0}from'@univerjs/drawing';import{getGlobalObject as _0x13e641}from'@univerjs-pro/license';const Dn=_0x3817ac(0x3e9),wn=_0x3817ac(0x32b),Un=_0x3817ac(0x2df),_o=_0x3817ac(0x40f),An=0x7d0,xn=_0x3817ac(0x498),Ln=_0x3817ac(0x3df),Mn=_0x3817ac(0x35b),$n=_0x3817ac(0x322),Hn=0x7530,Ii=_0x3817ac(0x31c),Ti=0x4e20,kn=0x4e20,jn=_0x3817ac(0x412),Bn=0x3,lo=_0x3817ac(0x3b4),uo=0x3e8,Fn='COLLAB_SUBMIT_CHANGESET_URL',Vn=_0x3817ac(0x299),Wn='LOGIN_URL_KEY',Gn=_0x3817ac(0x2aa),fo='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',vo=_0x3817ac(0x351);var Ci=(_0x43243c=>(_0x43243c[_0x43243c[_0x3817ac(0x329)]=0x0]=_0x3817ac(0x329),_0x43243c[_0x43243c['OK']=0x1]='OK',_0x43243c[_0x43243c[_0x3817ac(0x298)]=0x2]=_0x3817ac(0x298),_0x43243c[_0x43243c['PERMISSION_DENIED']=0x3]=_0x3817ac(0x218),_0x43243c[_0x43243c[_0x3817ac(0x2ac)]=0x4]=_0x3817ac(0x2ac),_0x43243c[_0x43243c[_0x3817ac(0x19d)]=0x5]=_0x3817ac(0x19d),_0x43243c[_0x43243c[_0x3817ac(0x1c4)]=0x6]=_0x3817ac(0x1c4),_0x43243c[_0x43243c[_0x3817ac(0x423)]=0x7]=_0x3817ac(0x423),_0x43243c[_0x43243c[_0x3817ac(0x485)]=0x8]='TOO_MANY_REQUESTS',_0x43243c[_0x43243c['COMPLETION_FINISHED']=0x9]=_0x3817ac(0x3d4),_0x43243c[_0x43243c[_0x3817ac(0x444)]=0x1389]=_0x3817ac(0x444),_0x43243c[_0x43243c[_0x3817ac(0x3d5)]=0x1771]=_0x3817ac(0x3d5),_0x43243c[_0x43243c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3817ac(0x461),_0x43243c[_0x43243c[_0x3817ac(0x1f8)]=0x1773]=_0x3817ac(0x1f8),_0x43243c[_0x43243c[_0x3817ac(0x1da)]=0x1b59]='APPLY_REJECT',_0x43243c[_0x43243c[_0x3817ac(0x359)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43243c[_0x43243c[_0x3817ac(0x2cd)]=0x1b5b]=_0x3817ac(0x2cd),_0x43243c[_0x43243c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3817ac(0x2d0),_0x43243c[_0x43243c[_0x3817ac(0x2b9)]=0x1b5d]=_0x3817ac(0x2b9),_0x43243c[_0x43243c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3817ac(0x34b),_0x43243c[_0x43243c[_0x3817ac(0x267)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x43243c[_0x43243c[_0x3817ac(0x2a9)]=0x232a]=_0x3817ac(0x2a9),_0x43243c[_0x43243c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3817ac(0x365),_0x43243c[_0x43243c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3817ac(0x3ba),_0x43243c[_0x43243c[_0x3817ac(0x3af)]=0x232d]=_0x3817ac(0x3af),_0x43243c[_0x43243c[_0x3817ac(0x226)]=0x2711]=_0x3817ac(0x226),_0x43243c[_0x43243c[_0x3817ac(0x3e6)]=0x2712]=_0x3817ac(0x3e6),_0x43243c[_0x43243c[_0x3817ac(0x24b)]=0x2713]=_0x3817ac(0x24b),_0x43243c[_0x43243c[_0x3817ac(0x269)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x43243c[_0x43243c[_0x3817ac(0x360)]=-0x1]='UNRECOGNIZED',_0x43243c))(Ci||{}),Q=(_0xde918b=>(_0xde918b[_0xde918b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xde918b[_0xde918b[_0x3817ac(0x1f6)]=0x1]=_0x3817ac(0x1f6),_0xde918b[_0xde918b[_0x3817ac(0x2e1)]=0x2]=_0x3817ac(0x2e1),_0xde918b[_0xde918b[_0x3817ac(0x343)]=0x3]=_0x3817ac(0x343),_0xde918b[_0xde918b[_0x3817ac(0x286)]=0x4]='UNIVER_PROJECT',_0xde918b[_0xde918b['UNRECOGNIZED']=-0x1]=_0x3817ac(0x360),_0xde918b))(Q||{}),F=(_0x149d33=>(_0x149d33[_0x149d33[_0x3817ac(0x219)]=0x0]=_0x3817ac(0x219),_0x149d33[_0x149d33[_0x3817ac(0x262)]=0x1]=_0x3817ac(0x262),_0x149d33[_0x149d33[_0x3817ac(0x1a5)]=0x2]=_0x3817ac(0x1a5),_0x149d33[_0x149d33[_0x3817ac(0x3c0)]=0x3]='LEAVE',_0x149d33[_0x149d33[_0x3817ac(0x1b7)]=0x4]=_0x3817ac(0x1b7),_0x149d33[_0x149d33[_0x3817ac(0x1f1)]=0x5]=_0x3817ac(0x1f1),_0x149d33[_0x149d33[_0x3817ac(0x344)]=0x6]=_0x3817ac(0x344),_0x149d33[_0x149d33['UNRECOGNIZED']=-0x1]=_0x3817ac(0x360),_0x149d33))(F||{}),Ee=(_0x145f0f=>(_0x145f0f[_0x145f0f['UNKNOWN_CODE']=0x0]=_0x3817ac(0x200),_0x145f0f[_0x145f0f['OK']=0x1]='OK',_0x145f0f[_0x145f0f[_0x3817ac(0x341)]=0x2]=_0x3817ac(0x341),_0x145f0f[_0x145f0f[_0x3817ac(0x2be)]=0x3e9]=_0x3817ac(0x2be),_0x145f0f[_0x145f0f['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x145f0f[_0x145f0f[_0x3817ac(0x35a)]=0x3eb]=_0x3817ac(0x35a),_0x145f0f[_0x145f0f[_0x3817ac(0x20f)]=0x3ec]=_0x3817ac(0x20f),_0x145f0f[_0x145f0f[_0x3817ac(0x360)]=-0x1]=_0x3817ac(0x360),_0x145f0f))(Ee||{}),bi=(_0x48d03a=>(_0x48d03a[_0x48d03a[_0x3817ac(0x1e6)]=0x0]=_0x3817ac(0x1e6),_0x48d03a[_0x48d03a[_0x3817ac(0x256)]=0x1]=_0x3817ac(0x256),_0x48d03a[_0x48d03a['HttpExport']=0x2]=_0x3817ac(0x2e2),_0x48d03a[_0x48d03a[_0x3817ac(0x47f)]=0x3]='UnitEmbedded',_0x48d03a[_0x48d03a['UnitSnapshot']=0x4]='UnitSnapshot',_0x48d03a[_0x48d03a[_0x3817ac(0x360)]=-0x1]=_0x3817ac(0x360),_0x48d03a))(bi||{});const Y=_0x3817ac(0x2ce),zt={};var re=(_0x594e86=>(_0x594e86[_0x3817ac(0x456)]=_0x3817ac(0x456),_0x594e86[_0x3817ac(0x218)]=_0x3817ac(0x218),_0x594e86[_0x3817ac(0x42d)]=_0x3817ac(0x42d),_0x594e86[_0x3817ac(0x402)]=_0x3817ac(0x402),_0x594e86[_0x3817ac(0x3a3)]=_0x3817ac(0x3a3),_0x594e86['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x594e86[_0x3817ac(0x257)]=_0x3817ac(0x257),_0x594e86[_0x3817ac(0x23d)]=_0x3817ac(0x23d),_0x594e86))(re||{});class pe{constructor(){var _0x2fea7d=_0x3817ac;P(this,_0x2fea7d(0x1e0),new _0x560c85()),P(this,_0x2fea7d(0x1a7),this[_0x2fea7d(0x1e0)]['asObservable']());}[_0x3817ac(0x426)](_0x3bac2c){var _0x53a636=_0x3817ac;this[_0x53a636(0x1e0)][_0x53a636(0x394)](_0x3bac2c);}}const Kn=_0x526b95(_0x3817ac(0x3ca));function zn(_0x2c94a6){var _0x1967ed=_0x3817ac,_0x4a541f,_0x273d9b,_0x40b320,_0x1ccbf7,_0x1cf759;const _0x59a56d=_0x2c94a6[_0x1967ed(0x289)],_0x14f249=JSON[_0x1967ed(0x414)](_0x59a56d);switch(_0x14f249['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0xc86d3=_0x14f249[_0x1967ed(0x2ee)];return{..._0x14f249,'data':_0xc86d3,'cmd':_0x14f249[_0x1967ed(0x427)]};}case F['JOIN']:{const _0xc04b20=_0x14f249[_0x1967ed(0x3ff)];return{..._0x14f249,'data':_0xc04b20,'cmd':_0x14f249[_0x1967ed(0x427)]};}case F[_0x1967ed(0x344)]:{const _0x401c16=_0x14f249[_0x1967ed(0x271)];switch(_0x401c16[_0x1967ed(0x40b)]){case _0x48cdf6['PERMISSION_REJ']:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x4a541f=_0x401c16[_0x1967ed(0x312)])==null?void 0x0:_0x4a541f['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1e2)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x273d9b=_0x401c16[_0x1967ed(0x30f)])==null?void 0x0:_0x273d9b['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6['NEW_CHANGESETS']:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x40b320=_0x401c16[_0x1967ed(0x1ad)])==null?void 0x0:_0x40b320['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x436)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x1ccbf7=_0x401c16[_0x1967ed(0x446)])==null?void 0x0:_0x1ccbf7['cs']},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x20d)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x1cf759=_0x401c16[_0x1967ed(0x215)])==null?void 0x0:_0x1cf759['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x353)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['updateCursorEvent']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x208)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x448)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x27e)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x372)]},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x25e)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x3ea)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x31f)]:case _0x48cdf6[_0x1967ed(0x1d3)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x338)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x2fc)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['liveShareNewHost']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1e3)]:return{..._0x14f249,'data':_0x401c16,'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x209)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['commentUpdateEvent']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x266)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x21f)]},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x3f2)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x4a8)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1f7)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x325)]},'cmd':_0x14f249['cmd']};default:return _0x14f249;}}default:return _0x14f249;}}function Yn(_0x3f81f0){var _0x11640b=_0x3817ac;switch(_0x3f81f0['cmd']){case F['HEARTBEAT']:case F[_0x11640b(0x262)]:return JSON[_0x11640b(0x274)]({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)]});case F[_0x11640b(0x1b7)]:{let _0x4effa4;switch(_0x3f81f0[_0x11640b(0x289)]['eventID']){case _0x48cdf6[_0x11640b(0x353)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x353)],'updateCursorEvent':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x27e)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x27e)],'leaveEvent':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x208)]:{_0x4effa4={'eventID':_0x48cdf6['USERS_ENTER'],'joinEvent':_0x3f81f0['data'][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x25e)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x25e)],'liveShareNewHost':_0x3f81f0[_0x11640b(0x289)]['data']};break;}case _0x48cdf6[_0x11640b(0x1d3)]:{_0x4effa4={'eventID':_0x48cdf6['LIVESHARE_OPERATION'],'liveShareOperation':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6['LIVESHARE_TERMINATE']:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x2fc)],'liveShareTerminate':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x1b1)]:{_0x4effa4={'eventID':_0x48cdf6['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x31f)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x31f)]};break;}default:_0x4effa4={'eventID':_0x3f81f0[_0x11640b(0x289)]['eventID']};}return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)],'collaMsg':_0x4effa4});}case F[_0x11640b(0x1a5)]:return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0['routeKey'],'joinReq':_0x3f81f0[_0x11640b(0x289)]});case F[_0x11640b(0x3c0)]:return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)],'leaveReq':_0x3f81f0[_0x11640b(0x289)]});default:throw new Error(_0x11640b(0x250));}}var qn=Object['defineProperty'],Jn=Object[_0x3817ac(0x1df)],Xn=(_0x5a8ad5,_0x2af060,_0xdd3387,_0x376dd3)=>{for(var _0x1787fc=_0x376dd3>0x1?void 0x0:_0x376dd3?Jn(_0x2af060,_0xdd3387):_0x2af060,_0x23f783=_0x5a8ad5['length']-0x1,_0x2ef56c;_0x23f783>=0x0;_0x23f783--)(_0x2ef56c=_0x5a8ad5[_0x23f783])&&(_0x1787fc=(_0x376dd3?_0x2ef56c(_0x2af060,_0xdd3387,_0x1787fc):_0x2ef56c(_0x1787fc))||_0x1787fc);return _0x376dd3&&_0x1787fc&&qn(_0x2af060,_0xdd3387,_0x1787fc),_0x1787fc;},Ue=(_0x1cb80b,_0x52b9a1)=>(_0x102a5c,_0x47cb64)=>_0x52b9a1(_0x102a5c,_0x47cb64,_0x1cb80b);const Ri=_0x526b95(_0x3817ac(0x331));function Zn(_0x206726,_0x372b5b,_0x33a6da){return _0x206726+'/'+_0x372b5b+'/unit/'+_0x33a6da+'/new_changes';}let It=class extends _0x4c5e0f{constructor(_0x58f5ec,_0x3f3c00,_0x9003a8,_0x283ac8,_0x2a1280){var _0x20bc3c=_0x3817ac;super(),this['_injector']=_0x58f5ec,this[_0x20bc3c(0x437)]=_0x3f3c00,this[_0x20bc3c(0x2e5)]=_0x9003a8,this['_logService']=_0x283ac8,this[_0x20bc3c(0x42f)]=_0x2a1280;}[_0x3817ac(0x39f)](_0x4e0b70){var _0xaa364e=_0x3817ac;const _0x45d7b6=this['_injector'][_0xaa364e(0x1b5)](_0x222759);if(!_0x45d7b6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x32ab42=_0x45d7b6[_0xaa364e(0x39f)](_0x4e0b70);if(!_0x32ab42)throw new Error(_0xaa364e(0x239));const _0x5883e8=new _0x345077(),_0x3e0d00=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42['close$']['subscribe'](_0x330c24=>_0x3e0d00[_0xaa364e(0x394)](_0x330c24))),_0x5883e8[_0xaa364e(0x281)](_0x3282bc(()=>_0x3e0d00[_0xaa364e(0x44a)]()));const _0x15977e=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42[_0xaa364e(0x475)][_0xaa364e(0x3da)](_0x22a5bc=>_0x15977e['next'](_0x22a5bc))),_0x5883e8['add'](_0x3282bc(()=>_0x15977e[_0xaa364e(0x44a)]()));const _0x133e2f=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42[_0xaa364e(0x345)]['subscribe'](_0x4abbf7=>{var _0x52ad32=_0xaa364e;const _0x10138f=zn(_0x4abbf7);_0x133e2f[_0x52ad32(0x394)](_0x10138f);})),_0x5883e8[_0xaa364e(0x281)](_0x3282bc(()=>_0x133e2f[_0xaa364e(0x44a)]()));let _0x40280e;const _0x3bbeb2=()=>{var _0x3f5a22=_0xaa364e;_0x15977e[_0x3f5a22(0x394)](new Event(_0x3f5a22(0x36c))),_0x3e0d00[_0x3f5a22(0x394)](new CloseEvent('connection\x20error')),_0x40280e['close']();};return _0x40280e={'memberID':'','close$':_0x3e0d00[_0xaa364e(0x34a)](),'error$':_0x15977e[_0xaa364e(0x34a)](),'open$':_0x32ab42[_0xaa364e(0x452)],'message$':_0x133e2f['asObservable'](),'send':_0x22ee28=>{var _0x5ece08=_0xaa364e;if(_0x22ee28[_0x5ece08(0x427)]===F[_0x5ece08(0x1b7)]){if(_0x22ee28[_0x5ece08(0x289)]['eventID']===_0x48cdf6['SUBMIT_CHANGESET']){this[_0x5ece08(0x1cd)](_0x40280e,_0x22ee28['data'])[_0x5ece08(0x43a)](_0x56962c=>{var _0x4822a9=_0x5ece08;this[_0x4822a9(0x334)]['error'](_0x56962c),_0x3bbeb2();});return;}if(_0x22ee28[_0x5ece08(0x289)][_0x5ece08(0x40b)]===_0x48cdf6[_0x5ece08(0x216)]){const _0x50637=_0x22ee28[_0x5ece08(0x289)];this['_fetchMissChangesets'](_0x50637)['then'](_0x3bc77f=>{var _0x1e35f9=_0x5ece08;_0x133e2f[_0x1e35f9(0x394)]({'cmd':F[_0x1e35f9(0x344)],'code':Ee['OK'],'routeKey':_0x50637[_0x1e35f9(0x289)][_0x1e35f9(0x22f)],'routeType':'','data':{'eventID':_0x48cdf6[_0x1e35f9(0x2b8)],'data':{'changesets':_0x3bc77f}}});})[_0x5ece08(0x43a)](_0x1ccd39=>{var _0x34a977=_0x5ece08;this[_0x34a977(0x334)][_0x34a977(0x2d3)](_0x1ccd39),_0x3bbeb2();});return;}}_0x32ab42[_0x5ece08(0x3bb)](Yn(_0x22ee28));},'close':()=>{_0x32ab42['close'](),_0x5883e8['dispose']();}},_0x40280e;}async[_0x3817ac(0x1cd)](_0xd44e85,_0x1e0f47){var _0x3ed176=_0x3817ac,_0x577673,_0x1b7511;const {unitType:_0x351c69,unitID:_0x1064cd,changeset:_0x3a403}=_0x1e0f47[_0x3ed176(0x289)],_0x11b379={'unitID':_0x1064cd,'memberID':_0xd44e85[_0x3ed176(0x311)],'type':_0x351c69,'changeset':_0x830f4a(_0x3a403)},_0xed22db=this[_0x3ed176(0x2e5)][_0x3ed176(0x3a7)](Fn),_0x59fb74=this[_0x3ed176(0x2e5)]['getConfig'](Y),_0x1ad8c0=Zn((_0x1b7511=(_0x577673=_0x59fb74==null?void 0x0:_0x59fb74[_0x3ed176(0x1ca)])!=null?_0x577673:_0xed22db)!=null?_0x1b7511:Vn,_0x351c69,_0x1064cd);try{await this[_0x3ed176(0x437)][_0x3ed176(0x3e7)](_0x1ad8c0,{'body':_0x11b379});}catch(_0x2ed57e){throw this[_0x3ed176(0x334)][_0x3ed176(0x2d3)](_0x3ed176(0x391),_0x3ed176(0x44c)),_0x2ed57e;}}async[_0x3817ac(0x307)](_0x527e0d){var _0x3aa373=_0x3817ac;const {unitID:_0x5f400f,from:_0x2930a3,to:_0xb64092,unitType:_0x510c91}=_0x527e0d[_0x3aa373(0x289)];return(await this[_0x3aa373(0x42f)][_0x3aa373(0x488)]({'metadata':void 0x0},{'unitID':_0x5f400f,'type':_0x510c91,'from':_0x2930a3,'to':_0xb64092}))[_0x3aa373(0x2a1)];}};It=Xn([Ue(0x0,_0x880ce4(_0x28aed1)),Ue(0x1,_0x880ce4(_0x157352)),Ue(0x2,_0x268506),Ue(0x3,_0x3b11ba),Ue(0x4,_0x2e5790)],It);const Qn='collaboration_new_changeset';function es(_0x3a6dc0){var _0x15334c=_0x3817ac;return JSON['stringify'](_0x3a6dc0)[_0x15334c(0x450)];}class yi{constructor(){var _0x54757b=_0x3817ac;P(this,_0x54757b(0x1dc),new _0x560c85()),P(this,_0x54757b(0x22e),this['_commentUpdate$']['asObservable']());}[_0x3817ac(0x26f)](_0x23059a){var _0x107c7f=_0x3817ac;this['_commentUpdate$'][_0x107c7f(0x394)](_0x23059a);}}var ts=Object[_0x3817ac(0x3b8)],is=Object['getOwnPropertyDescriptor'],ns=(_0x44abf8,_0x2ef582,_0x76d3ac,_0x4c15b2)=>{var _0x4a0e61=_0x3817ac;for(var _0x5e1ca3=_0x4c15b2>0x1?void 0x0:_0x4c15b2?is(_0x2ef582,_0x76d3ac):_0x2ef582,_0x1b11e2=_0x44abf8[_0x4a0e61(0x450)]-0x1,_0x2381dc;_0x1b11e2>=0x0;_0x1b11e2--)(_0x2381dc=_0x44abf8[_0x1b11e2])&&(_0x5e1ca3=(_0x4c15b2?_0x2381dc(_0x2ef582,_0x76d3ac,_0x5e1ca3):_0x2381dc(_0x5e1ca3))||_0x5e1ca3);return _0x4c15b2&&_0x5e1ca3&&ts(_0x2ef582,_0x76d3ac,_0x5e1ca3),_0x5e1ca3;},Yt=(_0x46378a,_0x2a866a)=>(_0x39630b,_0x34b321)=>_0x2a866a(_0x39630b,_0x34b321,_0x46378a);let xe=class extends _0x4c5e0f{constructor(_0x453a24,_0x184c4f){var _0x4b19a6=_0x3817ac;super(),P(this,_0x4b19a6(0x45b),new Map()),P(this,_0x4b19a6(0x3a9),new _0x560c85()),(this['_univerInstanceService']=_0x453a24,this[_0x4b19a6(0x49b)]=_0x184c4f,this[_0x4b19a6(0x38f)](_0x30e992(this[_0x4b19a6(0x3cf)][_0x4b19a6(0x313)](_0x1f11e9[_0x4b19a6(0x2e1)])[_0x4b19a6(0x37a)](_0x24684d(_0x26b6e7=>_0x26b6e7[_0x4b19a6(0x370)]())),this[_0x4b19a6(0x3cf)][_0x4b19a6(0x313)](_0x1f11e9[_0x4b19a6(0x1f6)])[_0x4b19a6(0x37a)](_0x24684d(_0x278eaa=>_0x278eaa[_0x4b19a6(0x370)]())),this[_0x4b19a6(0x3cf)]['getTypeOfUnitDisposed$'](_0x1f11e9['UNIVER_SLIDE'])[_0x4b19a6(0x37a)](_0x24684d(_0x4d4e3f=>_0x4d4e3f[_0x4b19a6(0x370)]())))[_0x4b19a6(0x3da)](_0x52ad29=>this[_0x4b19a6(0x471)](_0x52ad29))));}[_0x3817ac(0x47d)](_0x260322){var _0x2f732f=_0x3817ac;return this[_0x2f732f(0x45b)]['has'](_0x260322)?_0x41a794(this['_roomMembers'][_0x2f732f(0x1b5)](_0x260322)):this[_0x2f732f(0x3a9)][_0x2f732f(0x37a)](_0x24684d(_0x731cb0=>{if(_0x731cb0===_0x260322)return this['_roomMembers']['get'](_0x731cb0);}));}['setCurrentUser'](_0xdbac4b){var _0x540372=_0x3817ac;this[_0x540372(0x49b)][_0x540372(0x2b2)](_0xdbac4b);}[_0x3817ac(0x459)](){var _0x2cb5cc=_0x3817ac;return this['_userManagerService'][_0x2cb5cc(0x459)]();}[_0x3817ac(0x20c)](_0x5895e9,_0x5d8d5f){var _0x3b92c7=_0x3817ac;let _0x107a2f=this[_0x3b92c7(0x45b)]['get'](_0x5895e9);_0x107a2f||(_0x107a2f=new ss(),this[_0x3b92c7(0x45b)][_0x3b92c7(0x3dd)](_0x5895e9,_0x107a2f),this[_0x3b92c7(0x3a9)][_0x3b92c7(0x394)](_0x5895e9)),_0x107a2f['updateMember'](_0x5d8d5f);}[_0x3817ac(0x3e8)](_0x43694d,_0x25b8a1){var _0x306ffc=_0x3817ac;const _0x32f0fc=this[_0x306ffc(0x45b)][_0x306ffc(0x1b5)](_0x43694d);_0x32f0fc&&_0x32f0fc[_0x306ffc(0x3e8)](_0x25b8a1);}[_0x3817ac(0x411)](_0x634497){var _0x173baf=_0x3817ac;return this[_0x173baf(0x45b)][_0x173baf(0x1b5)](_0x634497);}[_0x3817ac(0x1f5)](_0x3e842d,_0xa2df13){var _0x314053=_0x3817ac;const _0x218ff9=this[_0x314053(0x45b)][_0x314053(0x1b5)](_0x3e842d);if(_0x218ff9)return _0x218ff9[_0x314053(0x1f5)](_0xa2df13);}[_0x3817ac(0x471)](_0x48e4dc){var _0xc5217=_0x3817ac;const _0x2e5d68=this[_0xc5217(0x45b)][_0xc5217(0x1b5)](_0x48e4dc);_0x2e5d68&&(_0x2e5d68['dispose'](),this[_0xc5217(0x45b)][_0xc5217(0x220)](_0x48e4dc));}[_0x3817ac(0x42b)](){var _0xbb222c=_0x3817ac;this[_0xbb222c(0x45b)][_0xbb222c(0x28f)](_0x41438c=>_0x41438c[_0xbb222c(0x42b)]()),this['_roomMembers'][_0xbb222c(0x24e)](),this[_0xbb222c(0x3a9)][_0xbb222c(0x44a)]();}};xe=ns([Yt(0x0,_0x369bbf),Yt(0x1,_0x880ce4(_0x41099))],xe);class ss extends _0x4c5e0f{constructor(){var _0x4d6e3a=_0x3817ac;super(...arguments),P(this,'_members',new Map()),P(this,_0x4d6e3a(0x2f8),new _0x576e29(this['_members'])),P(this,_0x4d6e3a(0x1c3),this['_members$']['asObservable']());}['dispose'](){this['_members']['clear']();}[_0x3817ac(0x20c)](_0x1f1f75){var _0x2bf9f5=_0x3817ac;this[_0x2bf9f5(0x3b1)][_0x2bf9f5(0x3dd)](_0x1f1f75[_0x2bf9f5(0x311)],_0x1f1f75),this[_0x2bf9f5(0x4a1)]();}[_0x3817ac(0x3e8)](_0x27a079){var _0x568dcd=_0x3817ac;this[_0x568dcd(0x3b1)][_0x568dcd(0x220)](_0x27a079);}[_0x3817ac(0x1f5)](_0x56e272){var _0xa2b989=_0x3817ac;return this['_members'][_0xa2b989(0x1b5)](_0x56e272);}[_0x3817ac(0x464)](){var _0x358286=_0x3817ac;return Array[_0x358286(0x3a2)](this[_0x358286(0x3b1)][_0x358286(0x21d)]());}[_0x3817ac(0x4a1)](){var _0x5a0bc5=_0x3817ac;this[_0x5a0bc5(0x2f8)][_0x5a0bc5(0x394)](this[_0x5a0bc5(0x3b1)]);}}var rs=Object[_0x3817ac(0x3b8)],os=Object[_0x3817ac(0x1df)],as=(_0x2e14d5,_0xb680c5,_0x21e49c,_0x1e44a4)=>{for(var _0x59da63=_0x1e44a4>0x1?void 0x0:_0x1e44a4?os(_0xb680c5,_0x21e49c):_0xb680c5,_0x3ebef9=_0x2e14d5['length']-0x1,_0x37213f;_0x3ebef9>=0x0;_0x3ebef9--)(_0x37213f=_0x2e14d5[_0x3ebef9])&&(_0x59da63=(_0x1e44a4?_0x37213f(_0xb680c5,_0x21e49c,_0x59da63):_0x37213f(_0x59da63))||_0x59da63);return _0x1e44a4&&_0x59da63&&rs(_0xb680c5,_0x21e49c,_0x59da63),_0x59da63;},me=(_0x576fd4,_0x45ba32)=>(_0x356f33,_0x583350)=>_0x45ba32(_0x356f33,_0x583350,_0x576fd4),Te=(_0x88dac8=>(_0x88dac8[_0x88dac8[_0x3817ac(0x3e4)]=0x0]=_0x3817ac(0x3e4),_0x88dac8[_0x88dac8['JOINING']=0x1]=_0x3817ac(0x1c6),_0x88dac8[_0x88dac8[_0x3817ac(0x41a)]=0x2]=_0x3817ac(0x41a),_0x88dac8[_0x88dac8['ONLINE']=0x3]=_0x3817ac(0x348),_0x88dac8))(Te||{});const qt={[Ee[_0x3817ac(0x341)]]:_0x3817ac(0x3be),[Ee['JOIN_ROOM_FULL']]:_0x3817ac(0x3cc),[Ee[_0x3817ac(0x445)]]:'session.room-not-exists',[Ee[_0x3817ac(0x35a)]]:'session.room-permission-denied',[Ee[_0x3817ac(0x20f)]]:_0x3817ac(0x435)};let Tt=class extends _0x9c8dcc{constructor(_0x463b79,_0x372898,_0x1d5774,_0x48a6e6,_0x5b3aad,_0x378971,_0x50192d,_0x10e249,_0x1633b6){var _0x2492d2=_0x3817ac;super(),P(this,_0x2492d2(0x1ac),new _0x576e29(0x0)),P(this,_0x2492d2(0x32d),this[_0x2492d2(0x1ac)][_0x2492d2(0x34a)]()),P(this,'_event$',new _0x560c85()),P(this,_0x2492d2(0x1a7),this[_0x2492d2(0x1e0)][_0x2492d2(0x34a)]()),P(this,'_socket'),P(this,'_socketMessageSubscription'),P(this,_0x2492d2(0x1bd)),P(this,_0x2492d2(0x2fa),!0x1),P(this,_0x2492d2(0x25b),null),(this[_0x2492d2(0x1af)]=_0x463b79,this['_logService']=_0x1d5774,this['_configService']=_0x48a6e6,this['_localeService']=_0x5b3aad,this[_0x2492d2(0x3ac)]=_0x378971,this[_0x2492d2(0x380)]=_0x50192d,this[_0x2492d2(0x46b)]=_0x10e249,this[_0x2492d2(0x407)]=_0x1633b6,this[_0x2492d2(0x2fa)]=!!this[_0x2492d2(0x407)],_0x372898[_0x2492d2(0x37a)](_0x44ee9f(this['dispose$']))[_0x2492d2(0x3da)](_0x2370e6=>{var _0x3b7557=_0x2492d2,_0x3e9596;typeof _0x2370e6>'u'||(this[_0x3b7557(0x367)]=_0x2370e6,_0x2370e6?(this['_joinRoom'](_0x2370e6),this['_socketMessageSubscription']=_0x2370e6['message$'][_0x3b7557(0x3da)](_0x177646=>{var _0x1c64e3=_0x3b7557;_0x177646['routeKey']===this['_unitID']&&this[_0x1c64e3(0x49e)](_0x177646);})):(this[_0x3b7557(0x3a1)](),this['_sessionStatus$'][_0x3b7557(0x394)](0x2),(_0x3e9596=this[_0x3b7557(0x3c5)])==null||_0x3e9596['unsubscribe'](),this[_0x3b7557(0x3c5)]=null));}));}get['sessionStatus'](){var _0x241abd=_0x3817ac;return this[_0x241abd(0x1ac)]['getValue']();}[_0x3817ac(0x319)](){var _0x4ebb82=_0x3817ac,_0x28fa25,_0x560c49;return(_0x560c49=(_0x28fa25=this['_socket'])==null?void 0x0:_0x28fa25[_0x4ebb82(0x311)])!=null?_0x560c49:null;}['dispose'](){var _0x192780=_0x3817ac;super[_0x192780(0x42b)](),this[_0x192780(0x2e8)][_0x192780(0x394)](),this[_0x192780(0x2e8)][_0x192780(0x44a)]();}[_0x3817ac(0x32f)](){var _0x438882=_0x3817ac,_0x5a7ad8,_0x17e940;this[_0x438882(0x3a1)](),(_0x5a7ad8=this[_0x438882(0x367)])==null||_0x5a7ad8['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x438882(0x1af)]}}),(_0x17e940=this[_0x438882(0x367)])==null||_0x17e940['close'](),this[_0x438882(0x1e0)][_0x438882(0x44a)](),this[_0x438882(0x1ac)]['complete'](),this[_0x438882(0x42b)]();}[_0x3817ac(0x49e)](_0x5bf78a){var _0x57cb31=_0x3817ac;_0x5bf78a[_0x57cb31(0x427)]===F[_0x57cb31(0x1a5)]?this['_onJoinRoomEvent'](_0x5bf78a):_0x5bf78a['cmd']===F[_0x57cb31(0x344)]&&this[_0x57cb31(0x31e)](_0x5bf78a);}['_joinRoom'](_0x109f8d){var _0x480953=_0x3817ac;this[_0x480953(0x1ac)][_0x480953(0x394)](0x1),_0x109f8d['send']({'cmd':F[_0x480953(0x1a5)],'routeKey':this[_0x480953(0x1af)],'routeType':'','data':{'rooms':[{'roomID':this[_0x480953(0x1af)]}]}});}[_0x3817ac(0x497)](_0x1db3d3){var _0xc15102=_0x3817ac,_0x4870e1;if(_0x1db3d3[_0xc15102(0x41c)]in qt){this[_0xc15102(0x46b)]['emitEvent']({'id':re[_0xc15102(0x3a3)],'data':qt[_0x1db3d3[_0xc15102(0x41c)]]}),this['_sessionStatus$'][_0xc15102(0x394)](0x2);return;}this['_sessionStatus$'][_0xc15102(0x394)](0x3);const _0x30902d=(_0x4870e1=_0x1db3d3[_0xc15102(0x289)][_0xc15102(0x315)][this[_0xc15102(0x1af)]])==null?void 0x0:_0x4870e1[_0xc15102(0x2ef)];_0x30902d&&_0x30902d['forEach'](_0xc731c7=>this[_0xc15102(0x3ac)][_0xc15102(0x20c)](this[_0xc15102(0x1af)],_0xc731c7));}[_0x3817ac(0x31e)](_0x3d0eb0){var _0x200fc3=_0x3817ac;try{const _0x2eb22d=_0x3d0eb0[_0x200fc3(0x289)];switch(_0x2eb22d[_0x200fc3(0x40b)]){case _0x48cdf6[_0x200fc3(0x208)]:this[_0x200fc3(0x2bf)](_0x2eb22d),this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x27e)]:this[_0x200fc3(0x463)](_0x2eb22d),this[_0x200fc3(0x1e0)][_0x200fc3(0x394)](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x1e2)]:case _0x48cdf6[_0x200fc3(0x20d)]:this[_0x200fc3(0x305)](),this[_0x200fc3(0x451)](),this['_event$']['next'](_0x2eb22d);break;case _0x48cdf6['MSG_FOR_ERROR']:this[_0x200fc3(0x334)][_0x200fc3(0x2d3)](_0x200fc3(0x28b)+JSON[_0x200fc3(0x274)](_0x2eb22d)),this[_0x200fc3(0x1e0)][_0x200fc3(0x394)](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x209)]:this[_0x200fc3(0x380)][_0x200fc3(0x26f)](_0x2eb22d[_0x200fc3(0x289)]),this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);break;default:this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);}}catch(_0x278252){this['_logService'][_0x200fc3(0x2d3)](_0x278252,_0x3d0eb0);}}[_0x3817ac(0x2bf)](_0x53d6ef){var _0x569c20=_0x3817ac;this[_0x569c20(0x3ac)]['updateMember'](this['_unitID'],_0x53d6ef[_0x569c20(0x289)]);}[_0x3817ac(0x463)](_0x20b9e0){var _0x5fbd68=_0x3817ac;this[_0x5fbd68(0x3ac)][_0x5fbd68(0x3e8)](this[_0x5fbd68(0x1af)],_0x20b9e0[_0x5fbd68(0x289)][_0x5fbd68(0x311)]);}async[_0x3817ac(0x3bb)](_0xee6010,_0x5cbd8d){var _0x3f2389=_0x3817ac;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xee6010[_0x3f2389(0x40b)]===_0x48cdf6[_0x3f2389(0x374)]&&(this[_0x3f2389(0x474)](),this[_0x3f2389(0x405)](_0xee6010)),this[_0x3f2389(0x367)]['send']({'cmd':F[_0x3f2389(0x1b7)],'routeKey':_0x5cbd8d,'routeType':'','data':_0xee6010});}catch(_0x296dea){this[_0x3f2389(0x334)][_0x3f2389(0x2d3)](_0x296dea);}}[_0x3817ac(0x474)](){var _0x34ce67=_0x3817ac,_0x106ad8;this[_0x34ce67(0x1bd)]=setTimeout(()=>{var _0xbc8f2b=_0x34ce67;this[_0xbc8f2b(0x1bd)]=null,this[_0xbc8f2b(0x46b)][_0xbc8f2b(0x426)]({'id':re[_0xbc8f2b(0x23d)]});},(_0x106ad8=this['_configService']['getConfig'](Ii))!=null?_0x106ad8:Ti);}[_0x3817ac(0x451)](){var _0x3bb8cd=_0x3817ac;this[_0x3bb8cd(0x1bd)]&&(clearTimeout(this[_0x3bb8cd(0x1bd)]),this['_collaborationTimeoutTimer']=null);}[_0x3817ac(0x405)](_0x119c34){var _0x47cd6c=_0x3817ac;if(!this[_0x47cd6c(0x2fa)])return;const {data:_0x54cbf6}=_0x119c34,{unitID:_0x2f3704,changeset:_0x2188ed}=_0x54cbf6,{mutations:_0x5825a2,type:_0x559ef1}=_0x2188ed;this['_telemetryInfo']={'unitId':_0x2f3704,'type':_0x559ef1,'startTime':performance[_0x47cd6c(0x4ac)](),'stopTime':0x0,'duration':0x0,'size':es(_0x5825a2)};}[_0x3817ac(0x305)](){var _0x575303=_0x3817ac;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x575303(0x334)][_0x575303(0x2d3)]('[CollaborationSession]',_0x575303(0x291));return;}this[_0x575303(0x25b)]['stopTime']=performance['now'](),this[_0x575303(0x25b)][_0x575303(0x33c)]=this[_0x575303(0x25b)][_0x575303(0x1b8)]-this[_0x575303(0x25b)][_0x575303(0x3de)],this[_0x575303(0x407)]['capture'](Qn,this[_0x575303(0x25b)]),this['_telemetryInfo']=null;}}[_0x3817ac(0x3a1)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x3b11ba),me(0x3,_0x268506),me(0x4,_0x880ce4(_0x42e13a)),me(0x5,_0x880ce4(xe)),me(0x6,_0x880ce4(yi)),me(0x7,_0x880ce4(pe)),me(0x8,_0x1d2db0(_0x2e5b5e))],Tt);var cs=Object[_0x3817ac(0x3b8)],hs=Object[_0x3817ac(0x1df)],_s=(_0x8246ee,_0x464adc,_0x41def7,_0x15f911)=>{var _0x5bd23e=_0x3817ac;for(var _0x29199e=_0x15f911>0x1?void 0x0:_0x15f911?hs(_0x464adc,_0x41def7):_0x464adc,_0x4b7598=_0x8246ee[_0x5bd23e(0x450)]-0x1,_0x1a8ffc;_0x4b7598>=0x0;_0x4b7598--)(_0x1a8ffc=_0x8246ee[_0x4b7598])&&(_0x29199e=(_0x15f911?_0x1a8ffc(_0x464adc,_0x41def7,_0x29199e):_0x1a8ffc(_0x29199e))||_0x29199e);return _0x15f911&&_0x29199e&&cs(_0x464adc,_0x41def7,_0x29199e),_0x29199e;},ge=(_0x1c2771,_0x450f80)=>(_0x132e0c,_0x4f1f2b)=>_0x450f80(_0x132e0c,_0x4f1f2b,_0x1c2771);let Le=class extends _0x4c5e0f{constructor(_0x1e49e6,_0x565fd8,_0x253bd7,_0x414a55,_0x8a1a5f,_0x4a6cb7,_0x16be53){var _0x10cf4b=_0x3817ac;super(),P(this,_0x10cf4b(0x434),new _0x576e29(void 0x0)),P(this,_0x10cf4b(0x480),this['_socket$'][_0x10cf4b(0x34a)]()),P(this,_0x10cf4b(0x3db),null),P(this,_0x10cf4b(0x324),new Map()),P(this,'_status$',new _0x576e29(Te[_0x10cf4b(0x3e4)])),P(this,_0x10cf4b(0x340),this[_0x10cf4b(0x2b5)][_0x10cf4b(0x34a)]()),P(this,'_socketReady',!0x1),P(this,_0x10cf4b(0x410)),P(this,_0x10cf4b(0x1fb),0x0),P(this,_0x10cf4b(0x263)),P(this,_0x10cf4b(0x19a)),(this['_injector']=_0x1e49e6,this['_logService']=_0x565fd8,this[_0x10cf4b(0x2e5)]=_0x253bd7,this[_0x10cf4b(0x229)]=_0x414a55,this[_0x10cf4b(0x3d2)]=_0x8a1a5f,this['_collaborationUIEventService']=_0x4a6cb7,this[_0x10cf4b(0x1c9)]=_0x16be53,this[_0x10cf4b(0x368)]());}get[_0x3817ac(0x367)](){var _0x4c8733=_0x3817ac;return this[_0x4c8733(0x434)][_0x4c8733(0x45a)]();}[_0x3817ac(0x368)](){var _0x2bc458=_0x3817ac;this[_0x2bc458(0x1c9)]&&this[_0x2bc458(0x38f)](this['_networkConditionService'][_0x2bc458(0x1b4)][_0x2bc458(0x3da)](_0x369c4f=>{var _0x1372c3=_0x2bc458;_0x369c4f&&!this[_0x1372c3(0x367)]&&this[_0x1372c3(0x34c)](),_0x369c4f||this[_0x1372c3(0x428)]();}));}[_0x3817ac(0x42b)](){var _0x34d23b=_0x3817ac;super[_0x34d23b(0x42b)](),this['_sessions']['forEach'](_0x24dda7=>_0x24dda7[_0x34d23b(0x42b)]()),this[_0x34d23b(0x324)][_0x34d23b(0x24e)](),this[_0x34d23b(0x2b5)][_0x34d23b(0x44a)]();}async[_0x3817ac(0x310)](_0x5bf086){var _0x43e225=_0x3817ac;if(this['_sessions'][_0x43e225(0x303)](_0x5bf086))return this['_sessions'][_0x43e225(0x1b5)](_0x5bf086);this['_tryEnsureSocket']();const _0x3142dd=this['_injector'][_0x43e225(0x440)](Tt,_0x5bf086,this[_0x43e225(0x434)][_0x43e225(0x34a)]());return this[_0x43e225(0x324)][_0x43e225(0x3dd)](_0x5bf086,_0x3142dd),_0x3142dd;}['closeSession'](_0x462f15){var _0x51e41e=_0x3817ac,_0x35d7f9;const _0x34ca9f=this[_0x51e41e(0x324)][_0x51e41e(0x1b5)](_0x462f15);_0x34ca9f&&(this[_0x51e41e(0x324)][_0x51e41e(0x220)](_0x462f15),_0x34ca9f[_0x51e41e(0x32f)]()),this[_0x51e41e(0x324)]['size']||(_0x35d7f9=this[_0x51e41e(0x367)])==null||_0x35d7f9[_0x51e41e(0x32f)]();}[_0x3817ac(0x34c)](){var _0x2be57b=_0x3817ac;this[_0x2be57b(0x1fb)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x2be57b(0x3c6)]();}async['_getSessionTicket'](){var _0x4ef4ef=_0x3817ac,_0x20975f,_0x5930bf,_0x1e5676;const _0xc18b96=this[_0x4ef4ef(0x2e5)][_0x4ef4ef(0x3a7)](Y),_0x44188c=(_0x20975f=_0xc18b96==null?void 0x0:_0xc18b96[_0x4ef4ef(0x1ef)])!=null?_0x20975f:Mn;return(_0x1e5676=(_0x5930bf=(await this[_0x4ef4ef(0x3d2)][_0x4ef4ef(0x1b5)](_0x44188c,{'headers':{'Content-Type':_0x4ef4ef(0x458)}}))[_0x4ef4ef(0x400)])==null?void 0x0:_0x5930bf['ticket'])!=null?_0x1e5676:'';}[_0x3817ac(0x33e)](_0x3a59c7){var _0x32fd8d=_0x3817ac,_0xb0e24,_0x1f29d5;const _0x8f6d9c=this[_0x32fd8d(0x2e5)][_0x32fd8d(0x3a7)](xn),_0x4011ea=this[_0x32fd8d(0x2e5)]['getConfig'](Y),_0x13f4ec=(_0x1f29d5=(_0xb0e24=_0x4011ea==null?void 0x0:_0x4011ea[_0x32fd8d(0x254)])!=null?_0xb0e24:_0x8f6d9c)!=null?_0x1f29d5:Ln,_0x19d9dc=typeof window>'u'?new URL(_0x13f4ec):new URL(_0x13f4ec,window[_0x32fd8d(0x238)][_0x32fd8d(0x482)]);_0x19d9dc['searchParams']['set']('sessionTicket',_0x3a59c7);const _0x331a28=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x32fd8d(0x238)][_0x32fd8d(0x1be)]);return _0x331a28[_0x32fd8d(0x1b5)](_0x32fd8d(0x3f1))&&_0x19d9dc['searchParams']['set'](_0x32fd8d(0x3f1),_0x331a28['get'](_0x32fd8d(0x3f1))),_0x19d9dc[_0x32fd8d(0x22a)]();}async[_0x3817ac(0x439)](){var _0x3c44f3=_0x3817ac;const _0x4eb5ad=await this['_getSessionTicket'](),_0x5c6bd4=this[_0x3c44f3(0x33e)](_0x4eb5ad),_0x4bb92f=this['_socketService']['createSocket'](_0x5c6bd4);return this[_0x3c44f3(0x3db)]=_0x4bb92f,_0x4bb92f;}async[_0x3817ac(0x24a)](){var _0x3bc60e=_0x3817ac,_0x146b1b,_0x462b6b;try{const _0x38482b=(_0x462b6b=(_0x146b1b=this[_0x3bc60e(0x367)])!=null?_0x146b1b:this['_candidateSocket'])!=null?_0x462b6b:await this[_0x3bc60e(0x439)]();if(_0x38482b){const _0x6e09e6=_0x38482b['send'];_0x38482b[_0x3bc60e(0x3bb)]=_0x519950=>(this['_rescheduleHeartbeat'](),_0x6e09e6['apply'](_0x38482b,[_0x519950])),_0x38482b['message$'][_0x3bc60e(0x3da)](_0x1e1334=>this[_0x3bc60e(0x44b)](_0x38482b,_0x1e1334)),_0x38482b[_0x3bc60e(0x475)][_0x3bc60e(0x37a)](_0x512f7a(0x1))[_0x3bc60e(0x3da)](_0x96b9d3=>this[_0x3bc60e(0x334)][_0x3bc60e(0x2d3)](_0x3bc60e(0x1b6),_0x96b9d3)),_0x38482b[_0x3bc60e(0x452)][_0x3bc60e(0x37a)](_0x512f7a(0x1))[_0x3bc60e(0x3da)](()=>{var _0x437c51=_0x3bc60e;this[_0x437c51(0x35e)](_0x38482b);}),_0x38482b[_0x3bc60e(0x4ab)][_0x3bc60e(0x37a)](_0x512f7a(0x1))['subscribe'](_0x284406=>{var _0x4d03a0=_0x3bc60e;this[_0x4d03a0(0x334)][_0x4d03a0(0x406)]('[CollaborationSessionService]',_0x4d03a0(0x352),_0x284406),this['_onConnectionFailed']();});}}catch(_0x1d8810){this[_0x3bc60e(0x334)]['error'](_0x1d8810),this[_0x3bc60e(0x294)]();}}[_0x3817ac(0x35e)](_0x103888){var _0x47934b=_0x3817ac;this[_0x47934b(0x334)]['debug'](_0x47934b(0x47e),_0x47934b(0x3ab)),_0x103888['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3817ac(0x428)](){var _0x18a6dc=_0x3817ac;this[_0x18a6dc(0x1e5)]=!0x1,this[_0x18a6dc(0x3db)]=null,this[_0x18a6dc(0x2b5)][_0x18a6dc(0x394)](Te[_0x18a6dc(0x41a)]),this[_0x18a6dc(0x434)]['next'](null),this[_0x18a6dc(0x2d5)](),this[_0x18a6dc(0x3a4)]();}[_0x3817ac(0x294)](){var _0xe80281=_0x3817ac,_0x4f537c;this['_onOffline'](),this[_0xe80281(0x1fb)]<((_0x4f537c=this[_0xe80281(0x2e5)][_0xe80281(0x3a7)](jn))!=null?_0x4f537c:Bn)?(this['_collaborationUIEventService']['emitEvent']({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xe80281(0x257)]});}[_0x3817ac(0x3c6)](){var _0x1f43d1=_0x3817ac,_0x415a81;const _0x1a6a39=this[_0x1f43d1(0x1fb)],_0x8fad87=this[_0x1f43d1(0x2e5)]['getConfig'](Y),_0x1f894e=_0x1a6a39===0x0?0x0:((_0x415a81=_0x8fad87==null?void 0x0:_0x8fad87[_0x1f43d1(0x28d)])!=null?_0x415a81:kn)*0x2**_0x1a6a39;this['_retryConnectingTimer']=setTimeout(()=>{var _0x485282=_0x1f43d1;clearTimeout(this[_0x485282(0x410)]),this[_0x485282(0x410)]=null,this[_0x485282(0x24a)]();},_0x1f894e),this[_0x1f43d1(0x1fb)]+=0x1;}[_0x3817ac(0x44b)](_0x5010bd,_0x491814){var _0x40ac5c=_0x3817ac;const {cmd:_0x2ef282}=_0x491814;_0x2ef282===F[_0x40ac5c(0x262)]&&!this['_socketReady']&&(_0x5010bd[_0x40ac5c(0x311)]=_0x491814[_0x40ac5c(0x289)][_0x40ac5c(0x311)],this[_0x40ac5c(0x434)]['next'](_0x5010bd),this[_0x40ac5c(0x2b5)][_0x40ac5c(0x394)](Te['ONLINE']),this[_0x40ac5c(0x1e5)]=!0x0,this['_candidateSocket']=null),_0x2ef282===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x40ac5c(0x2cc)]();}[_0x3817ac(0x2cc)](){var _0x15b35b=_0x3817ac,_0x17ebba;this[_0x15b35b(0x3a4)](),this[_0x15b35b(0x263)]=setTimeout(()=>this[_0x15b35b(0x241)](),(_0x17ebba=this[_0x15b35b(0x2e5)]['getConfig']($n))!=null?_0x17ebba:Hn);}[_0x3817ac(0x241)](){var _0x49fc08=_0x3817ac;this[_0x49fc08(0x367)][_0x49fc08(0x3bb)]({'cmd':F[_0x49fc08(0x1f1)]}),this[_0x49fc08(0x2e4)]();}[_0x3817ac(0x2e4)](){var _0x282f2c=_0x3817ac,_0xfd3f8a;this[_0x282f2c(0x19a)]=setTimeout(()=>this[_0x282f2c(0x294)](),(_0xfd3f8a=this[_0x282f2c(0x2e5)]['getConfig'](Ii))!=null?_0xfd3f8a:Ti);}[_0x3817ac(0x3a4)](){var _0x10818c=_0x3817ac;this[_0x10818c(0x263)]!=null&&(clearTimeout(this[_0x10818c(0x263)]),this[_0x10818c(0x263)]=null);}[_0x3817ac(0x2d5)](){var _0x52f467=_0x3817ac;this[_0x52f467(0x19a)]!=null&&(clearTimeout(this[_0x52f467(0x19a)]),this[_0x52f467(0x19a)]=null);}};Le=_s([ge(0x0,_0x880ce4(_0x28aed1)),ge(0x1,_0x3b11ba),ge(0x2,_0x268506),ge(0x3,Ri),ge(0x4,_0x880ce4(_0x157352)),ge(0x5,_0x880ce4(pe)),ge(0x6,_0x1d2db0(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x3817ac(0x399)]((n+0x100)['toString'](0x10)[_0x3817ac(0x2ba)](0x1));function ls(_0x305aaa,_0x50477a=0x0){var _0x152327=_0x3817ac;return(V[_0x305aaa[_0x50477a+0x0]]+V[_0x305aaa[_0x50477a+0x1]]+V[_0x305aaa[_0x50477a+0x2]]+V[_0x305aaa[_0x50477a+0x3]]+'-'+V[_0x305aaa[_0x50477a+0x4]]+V[_0x305aaa[_0x50477a+0x5]]+'-'+V[_0x305aaa[_0x50477a+0x6]]+V[_0x305aaa[_0x50477a+0x7]]+'-'+V[_0x305aaa[_0x50477a+0x8]]+V[_0x305aaa[_0x50477a+0x9]]+'-'+V[_0x305aaa[_0x50477a+0xa]]+V[_0x305aaa[_0x50477a+0xb]]+V[_0x305aaa[_0x50477a+0xc]]+V[_0x305aaa[_0x50477a+0xd]]+V[_0x305aaa[_0x50477a+0xe]]+V[_0x305aaa[_0x50477a+0xf]])[_0x152327(0x247)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x171fa3=_0x3817ac;if(!dt){if(typeof crypto>'u'||!crypto[_0x171fa3(0x19b)])throw new Error(_0x171fa3(0x276));dt=crypto[_0x171fa3(0x19b)][_0x171fa3(0x397)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x3817ac(0x433)]&&crypto[_0x3817ac(0x433)][_0x3817ac(0x397)](crypto),Jt={'randomUUID':fs};function vs(_0x57196f,_0x3d63d9,_0x55ded9){var _0x1bb90b=_0x3817ac;if(Jt['randomUUID']&&!_0x3d63d9&&!_0x57196f)return Jt[_0x1bb90b(0x433)]();_0x57196f=_0x57196f||{};const _0x27ebae=_0x57196f['random']||(_0x57196f[_0x1bb90b(0x48e)]||ds)();return _0x27ebae[0x6]=_0x27ebae[0x6]&0xf|0x40,_0x27ebae[0x8]=_0x27ebae[0x8]&0x3f|0x80,ls(_0x27ebae);}const X=_0x526b95(_0x3817ac(0x3f4));function po(_0x206113){var _0x53c970=_0x3817ac;return _0x53c970(0x366)+_0x206113;}var ps=Object['defineProperty'],ms=Object[_0x3817ac(0x1df)],gs=(_0x41469c,_0x9fb70b,_0x28f1fc,_0x5cd1c8)=>{var _0x1330b3=_0x3817ac;for(var _0x3cac46=_0x5cd1c8>0x1?void 0x0:_0x5cd1c8?ms(_0x9fb70b,_0x28f1fc):_0x9fb70b,_0x1871c0=_0x41469c[_0x1330b3(0x450)]-0x1,_0x32236e;_0x1871c0>=0x0;_0x1871c0--)(_0x32236e=_0x41469c[_0x1871c0])&&(_0x3cac46=(_0x5cd1c8?_0x32236e(_0x9fb70b,_0x28f1fc,_0x3cac46):_0x32236e(_0x3cac46))||_0x3cac46);return _0x5cd1c8&&_0x3cac46&&ps(_0x9fb70b,_0x28f1fc,_0x3cac46),_0x3cac46;},ft=(_0x7df817,_0x386f74)=>(_0x58b0bb,_0x2d8337)=>_0x386f74(_0x58b0bb,_0x2d8337,_0x7df817);function Ss(_0x46c4aa){var _0x4f450f=_0x3817ac;const {unitID:_0x346d9a,mutations:_0x2dd00f}=_0x46c4aa;return{'unitId':_0x346d9a,'subUnitId':_0x2dd00f[0x0][_0x4f450f(0x3f3)][_0x4f450f(0x3ee)]};}let nt=class{constructor(_0x552acd,_0x1acb73,_0x1463c9){var _0x423781=_0x3817ac;this['_injector']=_0x552acd,this[_0x423781(0x2af)]=_0x1acb73,this[_0x423781(0x2a4)]=_0x1463c9;}[_0x3817ac(0x225)](_0x1b9b95){var _0xe710d=_0x3817ac,_0x176b82,_0x2fe2e3,_0x52b7fc,_0x3be10f;const _0x148cb4=this[_0xe710d(0x393)][_0xe710d(0x1b5)](_0x40f603),{unitId:_0x2446d3,subUnitId:_0x1000d9}=Ss(_0x1b9b95),_0x15bf95=_0x148cb4==null?void 0x0:_0x148cb4['getWorkbookSelections'](_0x2446d3)[_0xe710d(0x403)](),_0x2b0a00=(_0x2fe2e3=(_0x176b82=this['_instanceService'][_0xe710d(0x304)](_0x2446d3))==null?void 0x0:_0x176b82['getActiveSheet']())==null?void 0x0:_0x2fe2e3['getSheetId']();if(_0x15bf95[_0xe710d(0x450)]===0x0||!_0x2446d3||!_0x1000d9)return;const _0x2d2d0e=[{'id':_0x3529cb['id'],'params':{'unitId':_0x2446d3,'subUnitId':_0x2b0a00,'selections':_0x19a3c3[_0xe710d(0x45e)](_0x15bf95)}}],_0x3d4836=this[_0xe710d(0x2af)][_0xe710d(0x401)](_0x1b9b95,_0x2d2d0e);if(!_0x490500(_0x3d4836))throw _0x3d4836[_0xe710d(0x2d3)];const _0x398858=(_0x3be10f=(_0x52b7fc=_0x3d4836[_0xe710d(0x2ec)][0x0])==null?void 0x0:_0x52b7fc[_0xe710d(0x3f3)])==null?void 0x0:_0x3be10f[_0xe710d(0x44f)];if(Array[_0xe710d(0x431)](_0x398858)&&_0x398858[_0xe710d(0x450)]){if(_0x398858[_0xe710d(0x450)]===_0x2d2d0e[0x0][_0xe710d(0x3f3)]['selections'][_0xe710d(0x450)]&&_0x398858['every']((_0x15884c,_0x2c6d14)=>_0x5381ba['equals'](_0x15884c['range'],_0x2d2d0e[0x0][_0xe710d(0x3f3)][_0xe710d(0x44f)][_0x2c6d14]['range'])))return;this[_0xe710d(0x393)][_0xe710d(0x1b5)](_0x5ee12b)['executeCommand'](_0x3529cb['id'],{'unitId':_0x2446d3,'subUnitId':_0x2b0a00,'selections':_0x398858});}}};nt=gs([ft(0x0,_0x880ce4(_0x28aed1)),ft(0x1,_0x5e4ebe),ft(0x2,_0x369bbf)],nt);const _t=_0x526b95(_0x3817ac(0x2c7));var Oi=(_0x399a9f=>(_0x399a9f[_0x399a9f[_0x3817ac(0x326)]=0x0]=_0x3817ac(0x326),_0x399a9f[_0x399a9f['OTHER_CLIENTS_EDITING']=0x1]=_0x3817ac(0x222),_0x399a9f))(Oi||{});const Es=new Set([_0x2e554f['id']]);function Xt(_0x2143fb,_0x59acbe,_0xb7dcd3,_0x1ae7a6,_0x160932){var _0x589145=_0x3817ac,_0x45686d,_0x62bc19,_0xef02b7,_0x43ba86;const _0x13961a=[];for(const _0x39ad57 of _0x2143fb)if(Es['has'](_0x39ad57['id'])){if(_0x13961a['length']>0x0)break;_0x13961a[_0x589145(0x399)](_0x39ad57);break;}else _0x13961a[_0x589145(0x399)](_0x39ad57);const _0x107e23=(_0x62bc19=(_0x45686d=_0x160932[_0x589145(0x459)]())==null?void 0x0:_0x45686d[_0x589145(0x357)])!=null?_0x62bc19:_0x589145(0x259),_0x2956da=(_0x43ba86=(_0xef02b7=_0x160932['getCurrentUser']())==null?void 0x0:_0xef02b7['memberID'])!=null?_0x43ba86:_0x589145(0x259);return{'changeset':{'unitID':_0x59acbe,'type':_0x177af8(_0xb7dcd3[_0x589145(0x323)](_0x59acbe)),'baseRev':_0x1ae7a6[_0x589145(0x484)](_0x59acbe),'revision':0x0,'userID':_0x107e23,'memberID':_0x2956da,'mutations':_0x13961a},'pendingMutations':_0x2143fb[_0x589145(0x2ba)](_0x13961a['length'])};}function Is(_0x22f47b,_0x443381,_0x1ac17f,_0xffd603,_0x26c54e){var _0x3a4854=_0x3817ac,_0x26abba,_0x7a89b8,_0x12653f,_0x2271cc;const _0x479c65=[_0x22f47b['reduce']((_0x57b825,_0x47ff0a)=>{var _0xa818a1=_0x7017,_0xc738a0;const {id:_0x256951}=_0x57b825,{id:_0x5a31a7,type:_0x121bb5}=_0x47ff0a,_0x414915=(_0xc738a0=_0x57b825[_0xa818a1(0x3f3)])!=null?_0xc738a0:{'actions':null},_0x2b8edc=_0x47ff0a[_0xa818a1(0x3f3)];if(_0x256951&&_0x256951!==_0x5a31a7)throw new Error(_0xa818a1(0x382)+_0x256951+_0xa818a1(0x202)+_0x5a31a7+'.');return{..._0x57b825,'id':_0x5a31a7,'type':_0x121bb5,'params':{'unitId':_0x2b8edc[_0xa818a1(0x49d)],'textRanges':_0x2b8edc[_0xa818a1(0x1eb)],'actions':_0x4f4e18[_0xa818a1(0x1d8)](_0x414915[_0xa818a1(0x2ae)],_0x2b8edc[_0xa818a1(0x2ae)])}};},{})],_0x22271f=(_0x7a89b8=(_0x26abba=_0x26c54e[_0x3a4854(0x459)]())==null?void 0x0:_0x26abba[_0x3a4854(0x357)])!=null?_0x7a89b8:_0x3a4854(0x259),_0x412724=(_0x2271cc=(_0x12653f=_0x26c54e['getCurrentUser']())==null?void 0x0:_0x12653f[_0x3a4854(0x311)])!=null?_0x2271cc:'unknown';return{'changeset':{'unitID':_0x443381,'type':_0x177af8(_0x1ac17f[_0x3a4854(0x323)](_0x443381)),'baseRev':_0xffd603['getCurrentRevOfUnit'](_0x443381),'revision':0x0,'userID':_0x22271f,'memberID':_0x412724,'mutations':_0x479c65},'pendingMutations':[]};}function Ni(_0x384337,_0x444e76){var _0x430755=_0x3817ac;const _0x16e934=new _0xd22070(0x1);return setTimeout(()=>_0x16e934[_0x430755(0x394)](_0x444e76),_0x384337),_0x16e934['asObservable']()[_0x430755(0x37a)](_0x551224(0x1));}const Ts={'id':_0x57917a['id'],'type':_0x2cbde1[_0x3817ac(0x384)],'params':{}};var Cs=Object['defineProperty'],bs=Object[_0x3817ac(0x1df)],be=(_0x51669f,_0xb45e0,_0x471f50,_0x4f746e)=>{var _0x100544=_0x3817ac;for(var _0x564ad1=_0x4f746e>0x1?void 0x0:_0x4f746e?bs(_0xb45e0,_0x471f50):_0xb45e0,_0x14f035=_0x51669f[_0x100544(0x450)]-0x1,_0x288fab;_0x14f035>=0x0;_0x14f035--)(_0x288fab=_0x51669f[_0x14f035])&&(_0x564ad1=(_0x4f746e?_0x288fab(_0xb45e0,_0x471f50,_0x564ad1):_0x288fab(_0x564ad1))||_0x564ad1);return _0x4f746e&&_0x564ad1&&Cs(_0xb45e0,_0x471f50,_0x564ad1),_0x564ad1;},A=(_0x389813,_0x58d407)=>(_0x2e2c79,_0xe7d1eb)=>_0x58d407(_0x2e2c79,_0xe7d1eb,_0x389813),Pi=(_0x1d9e50=>(_0x1d9e50['NOT_COLLAB']=_0x3817ac(0x358),_0x1d9e50[_0x3817ac(0x278)]=_0x3817ac(0x37e),_0x1d9e50[_0x3817ac(0x3fc)]='pending',_0x1d9e50[_0x3817ac(0x39c)]=_0x3817ac(0x362),_0x1d9e50[_0x3817ac(0x2fe)]='awaiting_with_pending',_0x1d9e50[_0x3817ac(0x282)]=_0x3817ac(0x466),_0x1d9e50[_0x3817ac(0x42d)]='conflict',_0x1d9e50['OFFLINE']=_0x3817ac(0x317),_0x1d9e50))(Pi||{});const Di=0xea60;class Re{constructor(_0x23fd57,_0x24f705,_0x5c1a80,_0xa09004,_0x2e2c46,_0x51f192,_0x38d913,_0x57c1d4,_0x4e37b0){var _0x169815=_0x3817ac;P(this,_0x169815(0x2a6),null),P(this,_0x169815(0x490),[]),(this[_0x169815(0x22f)]=_0x23fd57,this[_0x169815(0x408)]=_0x24f705,this['_handler']=_0x2e2c46,this['_commandService']=_0x51f192,this['_undoRedoService']=_0x38d913,this[_0x169815(0x3d9)]=_0x57c1d4,this[_0x169815(0x38e)]=_0x4e37b0,this[_0x169815(0x2a6)]=_0x5c1a80,this[_0x169815(0x490)]=_0xa09004);}[_0x3817ac(0x48a)](_0x41bd8c){var _0x2235b0=_0x3817ac;const _0x4fbe36=this[_0x2235b0(0x3d9)][_0x2235b0(0x484)](this[_0x2235b0(0x22f)]);return _0x41bd8c[_0x2235b0(0x236)]>_0x4fbe36+0x1?(this[_0x2235b0(0x3c9)][_0x2235b0(0x2c3)]({'from':_0x4fbe36,'to':_0x41bd8c['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x34de1c){var _0x18a0fd=_0x3817ac;this[_0x18a0fd(0x280)][_0x18a0fd(0x19c)](this['unitID'],_0x34de1c);}[_0x3817ac(0x47c)](_0x199cf0){var _0x111c83=_0x3817ac,_0x455e5a,_0xef6f7f;(_0xef6f7f=(_0x455e5a=this[_0x111c83(0x3c9)])[_0x111c83(0x3e5)])==null||_0xef6f7f[_0x111c83(0x26b)](_0x455e5a,_0x199cf0);}[_0x3817ac(0x285)](_0x18a528){var _0x52042d=_0x3817ac,_0x545fb4,_0x55ddb3;return(_0x55ddb3=(_0x545fb4=this['_handler'])[_0x52042d(0x470)])==null?void 0x0:_0x55ddb3['call'](_0x545fb4,_0x18a528);}[_0x3817ac(0x3c4)](_0x2b5d20){var _0x2bdcfe=_0x3817ac,_0x750afb,_0x4439ca;return(_0x4439ca=(_0x750afb=this[_0x2bdcfe(0x3c9)])['onTransformState'])==null?void 0x0:_0x4439ca[_0x2bdcfe(0x26b)](_0x750afb,_0x2b5d20);}[_0x3817ac(0x3dc)](_0x4d2677){var _0x2b19fc=_0x3817ac,_0xf585fc,_0x4af537,_0x38a713;return(_0x38a713=(_0x4af537=(_0xf585fc=this[_0x2b19fc(0x3c9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4af537[_0x2b19fc(0x26b)](_0xf585fc,_0x4d2677))!=null?_0x38a713:_0x4d2677;}[_0x3817ac(0x207)](_0x5dbc8a){var _0x5e65b6=_0x3817ac,_0xedb08a,_0x3c1ce6,_0x548063;return(_0x548063=(_0x3c1ce6=(_0xedb08a=this['_handler'])[_0x5e65b6(0x214)])==null?void 0x0:_0x3c1ce6[_0x5e65b6(0x26b)](_0xedb08a,_0x5dbc8a))!=null?_0x548063:_0x5dbc8a;}[_0x3817ac(0x4a9)](_0x4e14dd){var _0x58bd48=_0x3817ac,_0x1c4757,_0x332eff;if(this[_0x58bd48(0x408)]===Q['UNIVER_DOC']){const {unitID:_0x150359,mutations:_0x13bd93,memberID:_0x2baf29}=_0x4e14dd,_0x5b43e0=_0x13bd93[0x0]['params']['textRanges'];Array['isArray'](_0x5b43e0)&&_0x5b43e0['length']>0x0&&((_0x332eff=(_0x1c4757=this[_0x58bd48(0x3c9)])['onSyncEditingCollabCursor'])==null||_0x332eff[_0x58bd48(0x26b)](_0x1c4757,{'unitID':_0x150359,'memberID':_0x2baf29,'textRanges':_0x5b43e0}));}}[_0x3817ac(0x378)](){var _0x338f65=_0x3817ac,_0x1984b9;(_0x1984b9=this[_0x338f65(0x38e)])==null||_0x1984b9[_0x338f65(0x1f9)](this[_0x338f65(0x22f)],this[_0x338f65(0x408)],this[_0x338f65(0x2a6)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x5a1967=_0x3817ac;return this['_revisionService'][_0x5a1967(0x484)](this[_0x5a1967(0x22f)]);}[_0x3817ac(0x416)](){var _0x9297fb=_0x3817ac;this['_revisionService'][_0x9297fb(0x1d6)](this[_0x9297fb(0x22f)]);}[_0x3817ac(0x346)](_0x39ad0c){var _0x16c219=_0x3817ac,_0x15a333;let _0x49b912=this[_0x16c219(0x3dc)](_0x39ad0c);_0x49b912=this[_0x16c219(0x207)](_0x49b912);const _0x1f7ad7=_0x6e8ef5(_0x49b912[_0x16c219(0x2da)],this[_0x16c219(0x3b3)],{'fromCollab':!0x0});if(!_0x1f7ad7[_0x16c219(0x449)])throw _0x1f7ad7[_0x16c219(0x2d3)]instanceof Error?_0x1f7ad7[_0x16c219(0x2d3)]:new Error((_0x15a333=_0x1f7ad7['error'])!=null?_0x15a333:_0x16c219(0x2d1));this[_0x16c219(0x285)](_0x49b912),this[_0x16c219(0x3c4)](_0x49b912),this['_transformUndoredo'](_0x39ad0c),this[_0x16c219(0x47c)](_0x49b912),this['_syncEditingCollabCursor'](_0x49b912),this[_0x16c219(0x416)]();}}let Pe=class extends Re{constructor(_0x32aed1,_0xa27c18,_0x596379,_0x4dced9,_0x223ac4,_0x3deeaa,_0x5302ed,_0x43fd5e,_0x5a408d,_0x32b5f3){var _0x37cef3=_0x3817ac;super(_0x32aed1,_0xa27c18,null,[],_0x596379,_0x5302ed,_0x3deeaa,_0x4dced9,_0x32b5f3),P(this,_0x37cef3(0x1f4),_0x37cef3(0x37e)),(this[_0x37cef3(0x393)]=_0x223ac4,this['_logService']=_0x43fd5e,this[_0x37cef3(0x2af)]=_0x5a408d,this[_0x37cef3(0x3a6)]=_0x32b5f3);}[_0x3817ac(0x3b9)](_0x3a4ed9){var _0x2f8aa7=_0x3817ac;const _0x587b82=this[_0x2f8aa7(0x393)]['createInstance'](oe,this[_0x2f8aa7(0x22f)],this[_0x2f8aa7(0x408)],[_0x3a4ed9],this[_0x2f8aa7(0x3c9)]);return _0x587b82[_0x2f8aa7(0x23b)](),_0x587b82['_updateLocalCache'](),_0x587b82;}['onRemoteChangeset'](_0x151cd5){var _0x1f290f=_0x3817ac;if(this['_checkMissing'](_0x151cd5))return this[_0x1f290f(0x393)][_0x1f290f(0x440)](te,this['unitID'],this['type'],null,[],null,[_0x151cd5],this['_handler']);try{const _0x125b3b=this[_0x1f290f(0x2af)][_0x1f290f(0x401)](_0x151cd5,[Ts]);if(_0x490500(_0x125b3b)){const {c1Prime:_0x8418d}=_0x125b3b;return this['_executeRemoteChangeset'](_0x8418d),this;}throw _0x125b3b[_0x1f290f(0x2d3)];}catch(_0x5103d3){return this[_0x1f290f(0x334)]['error'](_0x5103d3),this[_0x1f290f(0x363)](!0x1);}}[_0x3817ac(0x363)](_0x508ccd){var _0x269ab5=_0x3817ac;return this[_0x269ab5(0x393)][_0x269ab5(0x440)](de,this['unitID'],this['type'],null,[],this[_0x269ab5(0x3c9)],_0x508ccd);}[_0x3817ac(0x415)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3817ac(0x253)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){var _0x2b5328=_0x3817ac;return this[_0x2b5328(0x393)][_0x2b5328(0x440)](fe,this[_0x2b5328(0x22f)],this[_0x2b5328(0x408)],null,[],this['_handler']);}[_0x3817ac(0x44e)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3817ac(0x260)](){var _0x11c551=_0x3817ac;const _0x1e738e=this[_0x11c551(0x3d9)][_0x11c551(0x484)](this[_0x11c551(0x22f)]);return this[_0x11c551(0x3c9)][_0x11c551(0x2c3)]({'from':_0x1e738e,'to':0x0}),this[_0x11c551(0x393)][_0x11c551(0x440)](te,this[_0x11c551(0x22f)],this['type'],null,[],null,[],this[_0x11c551(0x3c9)]);}};Pe=be([A(0x3,_0x880ce4(_0x46b1c6)),A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x43dc49),A(0x6,_0x5ee12b),A(0x7,_0x3b11ba),A(0x8,_0x5e4ebe),A(0x9,_0x1d2db0(X))],Pe);let oe=class extends Re{constructor(_0x2100d3,_0x16eef1,_0x421156,_0x4a8865,_0x1dddb6,_0x28b2c8,_0x4ebcb7,_0x4d8933,_0x31deab,_0x2d023e,_0x104e19,_0xb32bbf,_0x5d6307,_0x3a6428){var _0x18aa2d=_0x3817ac;super(_0x2100d3,_0x16eef1,null,_0x421156,_0x4a8865,_0x31deab,_0x5d6307,_0x28b2c8,_0x3a6428),P(this,_0x18aa2d(0x1f4),_0x18aa2d(0x468)),P(this,'_scheduleCompleteTimestamp',null),P(this,'_sendingTimer',null),(this[_0x18aa2d(0x393)]=_0x1dddb6,this[_0x18aa2d(0x3ac)]=_0x4ebcb7,this['_logService']=_0x4d8933,this[_0x18aa2d(0x2e5)]=_0x2d023e,this['_transformService']=_0x104e19,this['_univerInstanceService']=_0xb32bbf);}[_0x3817ac(0x3b9)](_0x3aaf68){var _0x15cdb8=_0x3817ac;return this[_0x15cdb8(0x490)][_0x15cdb8(0x399)](_0x3aaf68),this[_0x15cdb8(0x378)](),this;}[_0x3817ac(0x1c5)](_0x35a8ae){var _0x40bfb7=_0x3817ac;if(this['_checkMissing'](_0x35a8ae))return this[_0x40bfb7(0x1aa)](),this['_injector'][_0x40bfb7(0x440)](te,this[_0x40bfb7(0x22f)],this[_0x40bfb7(0x408)],null,this[_0x40bfb7(0x490)],null,[_0x35a8ae],this[_0x40bfb7(0x3c9)]);try{const _0x38748a=this[_0x40bfb7(0x2af)]['transformMutationsWithChangeset'](_0x35a8ae,this[_0x40bfb7(0x490)]);if(_0x490500(_0x38748a)){const {c1Prime:_0x38b9ca,m2Prime:_0x44cb12}=_0x38748a;this[_0x40bfb7(0x346)](_0x38b9ca);const _0x408939=this[_0x40bfb7(0x393)]['createInstance'](oe,this[_0x40bfb7(0x22f)],this['type'],_0x44cb12,this[_0x40bfb7(0x3c9)]);this[_0x40bfb7(0x1aa)]();const _0x242f32=new Date()[_0x40bfb7(0x235)](),_0xc4ee55=this['_scheduleCompleteTimestamp']?Math[_0x40bfb7(0x491)](this['_scheduleCompleteTimestamp']-_0x242f32,0x0):this[_0x40bfb7(0x2c6)]();return _0x408939[_0x40bfb7(0x23b)](_0xc4ee55),_0x408939;}throw _0x38748a[_0x40bfb7(0x2d3)];}catch(_0x29ef70){return this[_0x40bfb7(0x334)]['error'](_0x29ef70),this[_0x40bfb7(0x363)](!0x1);}}[_0x3817ac(0x415)](){var _0x3e8f37=_0x3817ac;throw new Error(_0x3e8f37(0x1fc));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3817ac(0x29f)](){var _0x16054c=_0x3817ac;return this[_0x16054c(0x1aa)](),this[_0x16054c(0x393)][_0x16054c(0x440)](fe,this[_0x16054c(0x22f)],this[_0x16054c(0x408)],null,this[_0x16054c(0x490)],this[_0x16054c(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x23b)](_0x25637c){var _0x449583=_0x3817ac;const _0x56c26d=_0x25637c!=null?_0x25637c:this[_0x449583(0x2c6)]();this['_scheduleCompleteTimestamp']=new Date()[_0x449583(0x235)]()+_0x56c26d,this[_0x449583(0x472)]=setTimeout(()=>{var _0x3f9c7a=_0x449583;this[_0x3f9c7a(0x1aa)]();let _0xba02c9=null;switch(this['type']){case Q[_0x3f9c7a(0x2e1)]:{_0xba02c9=Xt(this[_0x3f9c7a(0x490)],this[_0x3f9c7a(0x22f)],this[_0x3f9c7a(0x3cf)],this['_revisionService'],this[_0x3f9c7a(0x3ac)]);break;}case Q[_0x3f9c7a(0x1f6)]:{this[_0x3f9c7a(0x490)][_0x3f9c7a(0x1a8)](_0x4978f7=>_0x4978f7['id']===_0x4aee6a['id'])?_0xba02c9=Is(this['_pendingMutations'],this[_0x3f9c7a(0x22f)],this['_univerInstanceService'],this[_0x3f9c7a(0x3d9)],this[_0x3f9c7a(0x3ac)]):_0xba02c9=Xt(this[_0x3f9c7a(0x490)],this[_0x3f9c7a(0x22f)],this[_0x3f9c7a(0x3cf)],this['_revisionService'],this[_0x3f9c7a(0x3ac)]);break;}default:throw new Error(_0x3f9c7a(0x1b9)+this[_0x3f9c7a(0x408)]+_0x3f9c7a(0x495));}const {changeset:_0x36d47b,pendingMutations:_0xf1bab8}=_0xba02c9;this[_0x3f9c7a(0x3c9)][_0x3f9c7a(0x2ab)](_0x36d47b);const _0x2352e6=_0xf1bab8[_0x3f9c7a(0x450)]?this['_injector']['createInstance'](ae,this[_0x3f9c7a(0x22f)],this['type'],_0x36d47b,_0xf1bab8,this[_0x3f9c7a(0x3c9)],void 0x0):this['_injector'][_0x3f9c7a(0x440)](ue,this['unitID'],this[_0x3f9c7a(0x408)],_0x36d47b,this[_0x3f9c7a(0x3c9)]);_0x2352e6[_0x3f9c7a(0x378)](),this[_0x3f9c7a(0x3c9)][_0x3f9c7a(0x38a)](this,_0x2352e6);},_0x56c26d);}['_getSendChangesetTimeout'](){var _0x442a51=_0x3817ac,_0x3011a3;const _0xedf570=this['_configService'][_0x442a51(0x3a7)](Y);return(_0x3011a3=_0xedf570==null?void 0x0:_0xedf570['sendChangesetTimeout'])!=null?_0x3011a3:An;}[_0x3817ac(0x230)](){var _0xbd687a=_0x3817ac;throw new Error(_0xbd687a(0x2d8));}[_0x3817ac(0x1aa)](){var _0x19d07c=_0x3817ac;this[_0x19d07c(0x472)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x19d07c(0x472)]=null);}[_0x3817ac(0x363)](_0x2649fa){var _0x18e9f9=_0x3817ac;return this['_clearScheduledTask'](),this[_0x18e9f9(0x393)][_0x18e9f9(0x440)](de,this[_0x18e9f9(0x22f)],this[_0x18e9f9(0x408)],null,this[_0x18e9f9(0x490)],this[_0x18e9f9(0x3c9)],_0x2649fa);}};oe=be([A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x880ce4(_0x46b1c6)),A(0x6,_0x880ce4(xe)),A(0x7,_0x3b11ba),A(0x8,_0x5ee12b),A(0x9,_0x268506),A(0xa,_0x5e4ebe),A(0xb,_0x369bbf),A(0xc,_0x43dc49),A(0xd,_0x1d2db0(X))],oe);let ue=class extends Re{constructor(_0x41ae21,_0x55b042,_0x41a9b3,_0x557054,_0x422aba,_0x5f449a,_0x238c3e,_0x375628,_0x3748cf,_0x2e6a5a,_0x2d39ec){var _0x5ab07c=_0x3817ac;super(_0x41ae21,_0x55b042,_0x41a9b3,[],_0x557054,_0x238c3e,_0x2e6a5a,_0x5f449a,_0x2d39ec),P(this,_0x5ab07c(0x1f4),_0x5ab07c(0x362)),P(this,_0x5ab07c(0x37b),0x0),P(this,_0x5ab07c(0x479)),P(this,_0x5ab07c(0x3c7)),(this[_0x5ab07c(0x393)]=_0x422aba,this[_0x5ab07c(0x334)]=_0x375628,this[_0x5ab07c(0x2af)]=_0x3748cf);}[_0x3817ac(0x3b9)](_0x1a4f7e){var _0x4e18ce=_0x3817ac;this[_0x4e18ce(0x1aa)]();const _0x6ff4b0=this[_0x4e18ce(0x393)]['createInstance'](ae,this[_0x4e18ce(0x22f)],this[_0x4e18ce(0x408)],this[_0x4e18ce(0x2a6)],[_0x1a4f7e],this[_0x4e18ce(0x3c9)],this[_0x4e18ce(0x479)]);return _0x6ff4b0[_0x4e18ce(0x378)](),_0x6ff4b0;}[_0x3817ac(0x1c5)](_0x4bec62){var _0x240ed6=_0x3817ac;if(this[_0x240ed6(0x48a)](_0x4bec62))return this[_0x240ed6(0x1aa)](),this[_0x240ed6(0x393)][_0x240ed6(0x440)](te,this[_0x240ed6(0x22f)],this['type'],this[_0x240ed6(0x2a6)],[],null,[_0x4bec62],this['_handler']);try{const _0x452b5d=this[_0x240ed6(0x2af)][_0x240ed6(0x342)]([_0x4bec62],[this[_0x240ed6(0x2a6)]],!0x1);if(_0x1a2959(_0x452b5d)){const {c1Prime:_0x2f10be,c2Prime:_0x288409}=_0x452b5d;this[_0x240ed6(0x346)](_0x2f10be[0x0]),_0x288409[0x0][_0x240ed6(0x314)]=this[_0x240ed6(0x1a3)](),this[_0x240ed6(0x1aa)]();const _0x368196=this[_0x240ed6(0x393)][_0x240ed6(0x440)](ue,this[_0x240ed6(0x22f)],this[_0x240ed6(0x408)],_0x288409[0x0],this[_0x240ed6(0x3c9)]);return _0x368196['_updateLocalCache'](),_0x368196;}return this[_0x240ed6(0x363)](!0x1);}catch(_0x43ac2a){return this[_0x240ed6(0x334)]['error'](_0x43ac2a),this[_0x240ed6(0x363)](!0x1);}}['onRemoteAck'](_0x2ea120){var _0xf4f78c=_0x3817ac;this[_0xf4f78c(0x1aa)]();const _0x5485e2=this[_0xf4f78c(0x3d9)][_0xf4f78c(0x484)](this[_0xf4f78c(0x22f)]);if(_0x2ea120[_0xf4f78c(0x236)]<_0x5485e2-0x1)return this;if(this[_0xf4f78c(0x48a)](_0x2ea120))return this[_0xf4f78c(0x393)][_0xf4f78c(0x440)](te,this[_0xf4f78c(0x22f)],this[_0xf4f78c(0x408)],null,[],this[_0xf4f78c(0x2a6)],[],this['_handler']);this[_0xf4f78c(0x416)]();const _0x27e059=this['_injector'][_0xf4f78c(0x440)](Pe,this[_0xf4f78c(0x22f)],this[_0xf4f78c(0x408)],this[_0xf4f78c(0x3c9)]);return _0x27e059[_0xf4f78c(0x378)](),_0x27e059;}[_0x3817ac(0x253)](_0x52b5fc){var _0x562e5f=_0x3817ac;return this['_onConflict'](!!(_0x52b5fc!=null&&_0x52b5fc[_0x562e5f(0x492)]));}['onRemoteRetry'](_0x22aafd){var _0x45c24e=_0x3817ac;return this[_0x45c24e(0x37b)]>Di?this[_0x45c24e(0x29f)]():(this[_0x45c24e(0x479)]=Ni(this[_0x45c24e(0x37b)],{'timeout':this[_0x45c24e(0x37b)],'reqId':_0x22aafd[_0x45c24e(0x49a)]}),this[_0x45c24e(0x3c7)]=this[_0x45c24e(0x479)][_0x45c24e(0x3da)](({reqId:_0x11fc09,timeout:_0xa254cc})=>{var _0x461e34=_0x45c24e;this[_0x461e34(0x3f9)](_0x11fc09,_0xa254cc);}),this);}[_0x3817ac(0x29f)](){var _0x8177a0=_0x3817ac;return this['_clearScheduledTask'](),this[_0x8177a0(0x393)]['createInstance'](fe,this[_0x8177a0(0x22f)],this[_0x8177a0(0x408)],this[_0x8177a0(0x2a6)],[],this[_0x8177a0(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x290945=_0x3817ac;this['_handler']['onSendChangeset'](this[_0x290945(0x2a6)]);}[_0x3817ac(0x363)](_0x4b8a65){var _0x28cbc4=_0x3817ac;return this[_0x28cbc4(0x1aa)](),this[_0x28cbc4(0x393)][_0x28cbc4(0x440)](de,this[_0x28cbc4(0x22f)],this[_0x28cbc4(0x408)],this[_0x28cbc4(0x2a6)],[],this[_0x28cbc4(0x3c9)],_0x4b8a65);}[_0x3817ac(0x3f9)](_0x52439c,_0x3898ef){var _0x59dfb4=_0x3817ac,_0x380587;_0x52439c===((_0x380587=this[_0x59dfb4(0x2a6)])==null?void 0x0:_0x380587[_0x59dfb4(0x49a)])&&(this[_0x59dfb4(0x230)](),this[_0x59dfb4(0x37b)]=_0x3898ef===0x0?0x3e8:_0x3898ef*0x2);}[_0x3817ac(0x1aa)](){var _0x233dc8=_0x3817ac,_0x1a5651;(_0x1a5651=this[_0x233dc8(0x3c7)])==null||_0x1a5651['unsubscribe'](),this[_0x233dc8(0x37b)]=0x0;}};ue=be([A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x880ce4(_0x46b1c6)),A(0x6,_0x5ee12b),A(0x7,_0x3b11ba),A(0x8,_0x5e4ebe),A(0x9,_0x43dc49),A(0xa,_0x1d2db0(X))],ue);let ae=class extends Re{constructor(_0x4cd753,_0x47e5e2,_0x39709b,_0x1f2efa,_0x4ac8f8,_0x2d86e5,_0x1a2894,_0x29a288,_0x13e337,_0x4ddc90,_0x42544b,_0x14ba90,_0x6b2ebc){var _0x38d344=_0x3817ac;super(_0x4cd753,_0x47e5e2,_0x39709b,_0x1f2efa,_0x4ac8f8,_0x13e337,_0x14ba90,_0x29a288,_0x6b2ebc),P(this,'status',_0x38d344(0x22c)),P(this,'_resendTimeout',0x0),P(this,_0x38d344(0x479)),P(this,_0x38d344(0x3c7)),(this[_0x38d344(0x393)]=_0x1a2894,this[_0x38d344(0x334)]=_0x4ddc90,this[_0x38d344(0x2af)]=_0x42544b,this[_0x38d344(0x3a6)]=_0x6b2ebc,_0x2d86e5&&(this[_0x38d344(0x479)]=_0x2d86e5,this['_sender']=this['_resendTimer'][_0x38d344(0x3da)](({reqId:_0x4e6cdb,timeout:_0xc6de41})=>{var _0x3620cd=_0x38d344;this[_0x3620cd(0x3f9)](_0x4e6cdb,_0xc6de41);})));}[_0x3817ac(0x3b9)](_0x5f14e3){var _0x1ee5b7=_0x3817ac;return this[_0x1ee5b7(0x490)]['push'](_0x5f14e3),this;}['onRemoteChangeset'](_0x4c6b3c){var _0x1d7361=_0x3817ac;if(this['_checkMissing'](_0x4c6b3c))return this[_0x1d7361(0x1aa)](),this[_0x1d7361(0x393)][_0x1d7361(0x440)](te,this[_0x1d7361(0x22f)],this[_0x1d7361(0x408)],this[_0x1d7361(0x2a6)],this[_0x1d7361(0x490)],null,[_0x4c6b3c],this[_0x1d7361(0x3c9)]);try{const _0x22f20f=this['_transformService'][_0x1d7361(0x342)]([_0x4c6b3c],[this[_0x1d7361(0x2a6)]],!0x1);if(_0x1a2959(_0x22f20f)){const {c1Prime:_0x430af3,c2Prime:_0x3f19c5}=_0x22f20f,_0x14f491=this[_0x1d7361(0x2af)][_0x1d7361(0x401)](_0x430af3[0x0],this[_0x1d7361(0x490)]);if(_0x490500(_0x14f491)){const {c1Prime:_0x58c298,m2Prime:_0x3e90f9}=_0x14f491;return this[_0x1d7361(0x346)](_0x58c298),_0x3f19c5[0x0]['baseRev']=this[_0x1d7361(0x1a3)](),this[_0x1d7361(0x1aa)](),this['_injector']['createInstance'](ae,this[_0x1d7361(0x22f)],this[_0x1d7361(0x408)],_0x3f19c5[0x0],_0x3e90f9,this[_0x1d7361(0x3c9)],void 0x0);}throw _0x14f491['error'];}throw _0x22f20f[_0x1d7361(0x2d3)];}catch(_0x3c95cf){return this[_0x1d7361(0x334)][_0x1d7361(0x2d3)](_0x3c95cf),this[_0x1d7361(0x363)](!0x1);}}[_0x3817ac(0x415)](_0x599b7d){var _0x5e7347=_0x3817ac;if(this[_0x5e7347(0x1aa)](),this[_0x5e7347(0x48a)](_0x599b7d))return this[_0x5e7347(0x393)][_0x5e7347(0x440)](te,this['unitID'],this[_0x5e7347(0x408)],null,this[_0x5e7347(0x490)],this['_awaitingChangeset'],[],this[_0x5e7347(0x3c9)]);this[_0x5e7347(0x416)]();const _0x2ba35a=this[_0x5e7347(0x393)]['createInstance'](oe,this[_0x5e7347(0x22f)],this[_0x5e7347(0x408)],this[_0x5e7347(0x490)],this[_0x5e7347(0x3c9)]);return _0x2ba35a['_schedule'](),_0x2ba35a[_0x5e7347(0x378)](),_0x2ba35a;}['onRemoteRej'](_0x1af121){var _0x3ccc27=_0x3817ac;return this[_0x3ccc27(0x363)](!!(_0x1af121!=null&&_0x1af121['isPermissionRej']));}[_0x3817ac(0x25c)](_0x3dcba7){var _0x3d84ff=_0x3817ac;return this[_0x3d84ff(0x37b)]>Di?this[_0x3d84ff(0x29f)]():(this['_resendTimer']=Ni(this[_0x3d84ff(0x37b)],{'timeout':this[_0x3d84ff(0x37b)],'reqId':_0x3dcba7['reqId']}),this[_0x3d84ff(0x3c7)]=this[_0x3d84ff(0x479)][_0x3d84ff(0x3da)](({reqId:_0x4a1ecf,timeout:_0x1c1387})=>{var _0x5706da=_0x3d84ff;this[_0x5706da(0x3f9)](_0x4a1ecf,_0x1c1387);}),this);}[_0x3817ac(0x29f)](){var _0x48206f=_0x3817ac;return this[_0x48206f(0x1aa)](),this['_injector'][_0x48206f(0x440)](fe,this[_0x48206f(0x22f)],this[_0x48206f(0x408)],this['_awaitingChangeset'],this[_0x48206f(0x490)],this[_0x48206f(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x302dd3=_0x3817ac;this[_0x302dd3(0x3c9)][_0x302dd3(0x2ab)](this[_0x302dd3(0x2a6)]);}[_0x3817ac(0x363)](_0x66fe09){var _0x38b688=_0x3817ac;return this[_0x38b688(0x1aa)](),this[_0x38b688(0x393)]['createInstance'](de,this[_0x38b688(0x22f)],this[_0x38b688(0x408)],null,this[_0x38b688(0x490)],this[_0x38b688(0x3c9)],_0x66fe09);}[_0x3817ac(0x3f9)](_0xd7089,_0x18470e){var _0x1d3649=_0x3817ac,_0xf5e382;_0xd7089===((_0xf5e382=this['_awaitingChangeset'])==null?void 0x0:_0xf5e382[_0x1d3649(0x49a)])&&(this[_0x1d3649(0x230)](),this['_resendTimeout']=_0x18470e===0x0?0x3e8:_0x18470e*0x2);}['_clearScheduledTask'](){var _0x1a3ede=_0x3817ac,_0x12e265;(_0x12e265=this[_0x1a3ede(0x3c7)])==null||_0x12e265[_0x1a3ede(0x198)](),this[_0x1a3ede(0x37b)]=0x0;}};ae=be([A(0x6,_0x880ce4(_0x28aed1)),A(0x7,_0x880ce4(_0x46b1c6)),A(0x8,_0x5ee12b),A(0x9,_0x3b11ba),A(0xa,_0x5e4ebe),A(0xb,_0x43dc49),A(0xc,_0x1d2db0(X))],ae);let de=class extends Re{constructor(_0x6a1222,_0x3a2f10,_0x34e6b4,_0x452270,_0x4754cc,_0x3cd520=!0x1,_0x4f1af2,_0x32d36c,_0x36daa4,_0x2231ed,_0x5e8d95,_0x24ca8d,_0x3582c7){var _0x323cac=_0x3817ac;super(_0x6a1222,_0x3a2f10,_0x34e6b4,_0x452270,_0x4754cc,_0x32d36c,_0x36daa4,_0x2231ed,_0x3582c7),P(this,_0x323cac(0x1f4),_0x323cac(0x252)),(this[_0x323cac(0x404)]=_0x3cd520,this[_0x323cac(0x46c)]=_0x4f1af2,this[_0x323cac(0x1c8)]=_0x5e8d95,this[_0x323cac(0x46b)]=_0x24ca8d,this[_0x323cac(0x3a6)]=_0x3582c7,this[_0x323cac(0x489)](),this[_0x323cac(0x332)](),this[_0x323cac(0x31d)]());}[_0x3817ac(0x3b9)](){return this;}[_0x3817ac(0x1c5)](){return this;}[_0x3817ac(0x415)](){return this;}[_0x3817ac(0x253)](){return this;}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){return this;}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x15b9ad=_0x3817ac;throw new Error(_0x15b9ad(0x1d4));}[_0x3817ac(0x332)](){var _0x10b656=_0x3817ac,_0x3b3a64;(_0x3b3a64=this[_0x10b656(0x38e)])==null||_0x3b3a64[_0x10b656(0x1f9)](this[_0x10b656(0x22f)],this['type'],null,[]);}[_0x3817ac(0x489)](){var _0x3ad4cc=_0x3817ac;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x3ad4cc(0x426)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x3ad4cc(0x42d)]});}[_0x3817ac(0x31d)](){var _0x30d53e=_0x3817ac;this[_0x30d53e(0x46c)][_0x30d53e(0x478)](new _0x1fa601(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x880ce4(_0x3310d6)),A(0x7,_0x5ee12b),A(0x8,_0x43dc49),A(0x9,_0x880ce4(_0x46b1c6)),A(0xa,_0x880ce4(_0x42e13a)),A(0xb,_0x880ce4(pe)),A(0xc,_0x1d2db0(X))],de);let fe=class extends Re{constructor(_0x4dba3e,_0x4519d,_0x347a93,_0x16d83f,_0xd729f4,_0x1d07c1,_0x2fda16,_0x438ba1,_0x59b3c6,_0x5f28e1){var _0x15ce56=_0x3817ac;super(_0x4dba3e,_0x4519d,_0x347a93,_0x16d83f,_0xd729f4,_0x438ba1,_0x59b3c6,_0x2fda16,_0x5f28e1),P(this,_0x15ce56(0x1f4),_0x15ce56(0x317)),this[_0x15ce56(0x393)]=_0x1d07c1;}[_0x3817ac(0x3b9)](_0x222729){var _0x4f43ef=_0x3817ac;return this[_0x4f43ef(0x490)][_0x4f43ef(0x399)](_0x222729),this[_0x4f43ef(0x378)](),this;}[_0x3817ac(0x1c5)](_0x3d9ffa){var _0x20bf96=_0x3817ac;throw new Error(_0x20bf96(0x49c));}['onRemoteAck'](){var _0x249aaa=_0x3817ac;throw new Error(_0x249aaa(0x41d));}[_0x3817ac(0x253)](){var _0x9d7844=_0x3817ac;throw new Error(_0x9d7844(0x2d9));}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){return this;}[_0x3817ac(0x44e)](){var _0x3dc98b=_0x3817ac;const {_injector:_0xdaa4e2,_pendingMutations:_0x4799a7,_awaitingChangeset:_0xcd3ae1,unitID:_0x47819e,_handler:_0x5910bf,type:_0x293308}=this,_0x391b12=wi(_0xdaa4e2,_0x47819e,_0x293308,_0xcd3ae1,_0x4799a7,_0x5910bf);return _0x391b12 instanceof oe?_0x391b12[_0x3dc98b(0x23b)]():(_0x391b12 instanceof ae||_0x391b12 instanceof ue)&&_0x391b12[_0x3dc98b(0x230)](),_0x391b12;}[_0x3817ac(0x230)](){var _0x360639=_0x3817ac;throw new Error(_0x360639(0x29e));}};fe=be([A(0x5,_0x880ce4(_0x28aed1)),A(0x6,_0x880ce4(_0x46b1c6)),A(0x7,_0x5ee12b),A(0x8,_0x43dc49),A(0x9,_0x1d2db0(X))],fe);let te=class extends Re{constructor(_0x41ce0e,_0x4687df,_0x75ca73,_0x21b138,_0x262d28,_0xe3723d,_0x187dfb,_0x125cc4,_0x215a4e,_0x5e1ed1,_0x4cd348,_0x146786,_0x46ecdd,_0x6ea198){var _0xb59e38=_0x3817ac;super(_0x41ce0e,_0x4687df,_0x75ca73,_0x21b138,_0x187dfb,_0x4cd348,_0x146786,_0x215a4e,_0x6ea198),P(this,_0xb59e38(0x1f4),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x262d28,this[_0xb59e38(0x361)]=_0xe3723d,this[_0xb59e38(0x393)]=_0x125cc4,this[_0xb59e38(0x334)]=_0x5e1ed1,this['_transformService']=_0x46ecdd,this[_0xb59e38(0x3a6)]=_0x6ea198);}['onMissedChangesetFetched'](_0x3704c1){var _0x56e6a8=_0x3817ac;try{const _0x571240=[..._0x3704c1,...this[_0x56e6a8(0x361)]],_0x3f41d6=[this[_0x56e6a8(0x2a6)]||this[_0x56e6a8(0x2c0)]][_0x56e6a8(0x2c5)](_0x2ac99f=>!!_0x2ac99f);let _0x3d190f,_0x585a48;if(_0x3f41d6[_0x56e6a8(0x450)]){const _0x248b21=this['_transformService'][_0x56e6a8(0x342)](_0x571240,_0x3f41d6,!0x1);if(!_0x1a2959(_0x248b21))throw _0x248b21[_0x56e6a8(0x2d3)];_0x3d190f=_0x248b21['c1Prime'],_0x585a48=_0x248b21[_0x56e6a8(0x199)];}else _0x3d190f=_0x571240,_0x585a48=[];let _0x4fb278=this[_0x56e6a8(0x490)];_0x3d190f[_0x56e6a8(0x28f)](_0x2ec968=>{var _0x208429=_0x56e6a8;let _0x1404f3;if(_0x4fb278[_0x208429(0x450)]){const _0x443d=this['_transformService']['transformMutationsWithChangeset'](_0x2ec968,_0x4fb278);if(!_0x490500(_0x443d))throw _0x443d[_0x208429(0x2d3)];_0x1404f3=_0x443d[_0x208429(0x1ed)],_0x4fb278=_0x443d[_0x208429(0x2ec)];}else _0x1404f3=_0x2ec968;this['_executeRemoteChangeset'](_0x1404f3);}),this['_acknowledgedAwaitingChangeset']&&this[_0x56e6a8(0x416)](),this[_0x56e6a8(0x2a6)]&&_0x585a48[_0x56e6a8(0x450)]&&(_0x585a48[0x0][_0x56e6a8(0x314)]=this['_getCurrentRevision']());let _0x3dbe96;if(this['_awaitingChangeset']&&_0x4fb278[_0x56e6a8(0x450)]!==0x0)_0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](ae,this[_0x56e6a8(0x22f)],this['type'],_0x585a48[0x0],_0x4fb278,this[_0x56e6a8(0x3c9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4fb278[_0x56e6a8(0x450)]===0x0)_0x585a48[0x0][_0x56e6a8(0x314)]=this[_0x56e6a8(0x1a3)](),_0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](ue,this[_0x56e6a8(0x22f)],this[_0x56e6a8(0x408)],_0x585a48[0x0],this[_0x56e6a8(0x3c9)]);else{if(_0x4fb278[_0x56e6a8(0x450)]!==0x0){const _0xe5759d=this['_injector'][_0x56e6a8(0x440)](oe,this['unitID'],this[_0x56e6a8(0x408)],_0x4fb278,this['_handler']);_0xe5759d[_0x56e6a8(0x23b)](),_0x3dbe96=_0xe5759d;}else _0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](Pe,this['unitID'],this['type'],this[_0x56e6a8(0x3c9)]);}}return _0x3dbe96[_0x56e6a8(0x378)](),_0x3dbe96;}catch(_0x2ca290){return this[_0x56e6a8(0x334)][_0x56e6a8(0x2d3)](_0x56e6a8(0x2a5),_0x56e6a8(0x36e),_0x2ca290),this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](de,this[_0x56e6a8(0x22f)],this['type'],this['_awaitingChangeset'],this[_0x56e6a8(0x490)],this[_0x56e6a8(0x3c9)],!0x1);}}[_0x3817ac(0x230)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3817ac(0x3b9)](_0x3b8416){var _0x6e58b3=_0x3817ac;return this['_pendingMutations'][_0x6e58b3(0x399)](_0x3b8416),this;}[_0x3817ac(0x1c5)](_0x4b07b0){var _0x40338c=_0x3817ac;return this[_0x40338c(0x361)][_0x40338c(0x399)](_0x4b07b0),this;}[_0x3817ac(0x415)](_0x539324){var _0x584950=_0x3817ac;if(this[_0x584950(0x2a6)])return this['_acknowledgedAwaitingChangeset']=this[_0x584950(0x2a6)],this[_0x584950(0x2a6)]=null,this;throw new Error(_0x584950(0x39b));}[_0x3817ac(0x253)](_0xe10b68){var _0x2a6a86=_0x3817ac;return this[_0x2a6a86(0x363)](!!(_0xe10b68!=null&&_0xe10b68['isPermissionRej']));}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){var _0xafcfee=_0x3817ac;return this['_injector'][_0xafcfee(0x440)](fe,this['unitID'],this[_0xafcfee(0x408)],this['_awaitingChangeset'],this[_0xafcfee(0x490)],this[_0xafcfee(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x363)](_0x3cce73){var _0x6daaf4=_0x3817ac;return this[_0x6daaf4(0x393)][_0x6daaf4(0x440)](de,this[_0x6daaf4(0x22f)],this[_0x6daaf4(0x408)],this[_0x6daaf4(0x2a6)],this[_0x6daaf4(0x490)],this[_0x6daaf4(0x3c9)],_0x3cce73);}};te=be([A(0x7,_0x880ce4(_0x28aed1)),A(0x8,_0x880ce4(_0x46b1c6)),A(0x9,_0x3b11ba),A(0xa,_0x5ee12b),A(0xb,_0x43dc49),A(0xc,_0x5e4ebe),A(0xd,_0x1d2db0(X))],te);function wi(_0x43f567,_0x1b85d7,_0xd8560,_0x54e059,_0x5c005a,_0x43577a){var _0x28f91a=_0x3817ac;return _0x54e059&&_0x5c005a[_0x28f91a(0x450)]?_0x43f567['createInstance'](ae,_0x1b85d7,_0xd8560,_0x54e059,_0x5c005a,_0x43577a,void 0x0):_0x54e059?_0x43f567[_0x28f91a(0x440)](ue,_0x1b85d7,_0xd8560,_0x54e059,_0x43577a):_0x5c005a[_0x28f91a(0x450)]?_0x43f567[_0x28f91a(0x440)](oe,_0x1b85d7,_0xd8560,_0x5c005a,_0x43577a):_0x43f567[_0x28f91a(0x440)](Pe,_0x1b85d7,_0xd8560,_0x43577a);}var Rs=Object[_0x3817ac(0x3b8)],ys=Object[_0x3817ac(0x1df)],Mt=(_0x156789,_0x4113a0,_0x2e8f65,_0x497f28)=>{var _0x5a01f3=_0x3817ac;for(var _0x38f601=_0x497f28>0x1?void 0x0:_0x497f28?ys(_0x4113a0,_0x2e8f65):_0x4113a0,_0x1b674b=_0x156789[_0x5a01f3(0x450)]-0x1,_0x98c9e9;_0x1b674b>=0x0;_0x1b674b--)(_0x98c9e9=_0x156789[_0x1b674b])&&(_0x38f601=(_0x497f28?_0x98c9e9(_0x4113a0,_0x2e8f65,_0x38f601):_0x98c9e9(_0x38f601))||_0x38f601);return _0x497f28&&_0x38f601&&Rs(_0x4113a0,_0x2e8f65,_0x38f601),_0x38f601;},k=(_0x1598ae,_0x31097e)=>(_0x19de09,_0x4c7dcc)=>_0x31097e(_0x19de09,_0x4c7dcc,_0x1598ae);function _0x7017(_0xa01964,_0x3374c9){var _0x484f2f=_0x484f();return _0x7017=function(_0x70178,_0x381ecd){_0x70178=_0x70178-0x197;var _0x3b5a87=_0x484f2f[_0x70178];return _0x3b5a87;},_0x7017(_0xa01964,_0x3374c9);}let st=class extends _0x9c8dcc{constructor(_0x395bde,_0xdcf52a,_0x5acdf9,_0xdae846,_0x303a1f,_0x5d3ec,_0xf154f1,_0x1cfd8c,_0x45d7b4,_0x2eb93f,_0x17c4b1,_0x2574c2,_0x278aa2){var _0x357af4=_0x3817ac;super(),P(this,_0x357af4(0x375),new _0x576e29(null)),P(this,_0x357af4(0x224),this[_0x357af4(0x375)][_0x357af4(0x34a)]()),P(this,_0x357af4(0x462)),P(this,'_collaborationPaused',!0x1),P(this,_0x357af4(0x36f),''),P(this,_0x357af4(0x41b),0x0),P(this,_0x357af4(0x340),this['state$'][_0x357af4(0x37a)](_0x155080(_0x9b4423=>_0x9b4423?_0x9b4423[_0x357af4(0x1f4)]:Pi[_0x357af4(0x41a)]),_0x55005f(0x1))),P(this,'_transitionLocked',!0x1),P(this,_0x357af4(0x3b0),[]),(this[_0x357af4(0x22f)]=_0x395bde,this[_0x357af4(0x275)]=_0xdcf52a,this[_0x357af4(0x3fb)]=_0x5acdf9,this[_0x357af4(0x393)]=_0xdae846,this['_compressMutationService']=_0x303a1f,this['_localeService']=_0x5d3ec,this[_0x357af4(0x3d9)]=_0xf154f1,this[_0x357af4(0x455)]=_0x1cfd8c,this[_0x357af4(0x334)]=_0x45d7b4,this[_0x357af4(0x3b3)]=_0x2eb93f,this[_0x357af4(0x46c)]=_0x17c4b1,this['_singleActiveUnitService']=_0x2574c2,this['_localCacheService']=_0x278aa2);}get[_0x3817ac(0x48c)](){var _0x3abc27=_0x3817ac;return this[_0x3abc27(0x462)];}async[_0x3817ac(0x494)](){var _0x40476c=_0x3817ac;if(this['state'])throw new Error(_0x40476c(0x47a));await this['_init']();}['pauseCollaboration'](){var _0x21ed4d=_0x3817ac;return this[_0x21ed4d(0x223)]=!0x0,_0x3282bc(()=>{var _0x1f0e4a=_0x21ed4d;this['_collaborationPaused']=!0x1,this[_0x1f0e4a(0x206)]();});}[_0x3817ac(0x2f0)](_0x49a900){var _0x5751e6=_0x3817ac;this[_0x5751e6(0x3d0)](_0x49a900);}[_0x3817ac(0x2d2)](_0x1f6ad3){var _0x312eab=_0x3817ac;this['_state']=_0x1f6ad3,this['_state$'][_0x312eab(0x394)](_0x1f6ad3);}async[_0x3817ac(0x265)](){var _0x865d47=_0x3817ac,_0x3576eb;this[_0x865d47(0x2d2)](await this['_createInitialState']()),this[_0x865d47(0x347)]&&((_0x3576eb=this[_0x865d47(0x347)])==null||_0x3576eb['editingUnit'](this[_0x865d47(0x22f)]),this[_0x865d47(0x38f)](this[_0x865d47(0x347)][_0x865d47(0x3cb)](this[_0x865d47(0x22f)])[_0x865d47(0x3da)](_0x690b27=>{var _0x574d40=_0x865d47;this['_logService'][_0x574d40(0x406)](_0x574d40(0x1fa),'editing\x20status\x20changed\x20to',_0x690b27),_0x690b27===Oi[_0x574d40(0x222)]?(this[_0x574d40(0x455)][_0x574d40(0x426)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x574d40(0x46c)][_0x574d40(0x478)](new _0x1fa601(this['unitID'])['id'],!0x1),this[_0x574d40(0x46c)][_0x574d40(0x2c2)](!0x1)):(this[_0x574d40(0x46c)][_0x574d40(0x478)](new _0x1fa601(this[_0x574d40(0x22f)])['id'],!0x0),this[_0x574d40(0x46c)][_0x574d40(0x2c2)](!0x0));})));let _0xfb1aea=!0x1;return this['disposeWithMe'](this[_0x865d47(0x275)][_0x865d47(0x32d)][_0x865d47(0x3da)](_0x14c039=>{var _0x4459b9=_0x865d47;_0x14c039===Te[_0x4459b9(0x348)]?this['_toggleOnline'](_0xfb1aea):_0x14c039===Te[_0x4459b9(0x41a)]&&(_0xfb1aea=!0x0,this[_0x4459b9(0x37c)]());})),this[_0x865d47(0x38f)](this['session'][_0x865d47(0x1a7)][_0x865d47(0x3da)](_0x243b8c=>{var _0x42a87c=_0x865d47;try{switch(_0x243b8c['eventID']){case _0x48cdf6[_0x42a87c(0x1c0)]:{this[_0x42a87c(0x386)](_0x42c60c(_0x243b8c[_0x42a87c(0x289)]));break;}case _0x48cdf6[_0x42a87c(0x1e2)]:{this[_0x42a87c(0x376)](_0x243b8c[_0x42a87c(0x289)]);break;}case _0x48cdf6[_0x42a87c(0x436)]:{this[_0x42a87c(0x4a5)]();break;}case _0x48cdf6[_0x42a87c(0x20d)]:{this[_0x42a87c(0x27c)](_0x243b8c[_0x42a87c(0x289)]);break;}case _0x48cdf6[_0x42a87c(0x2b8)]:{this[_0x42a87c(0x306)](_0x243b8c[_0x42a87c(0x289)][_0x42a87c(0x2a1)][_0x42a87c(0x418)](_0x14a44c=>_0x42c60c(_0x14a44c)));break;}case _0x48cdf6[_0x42a87c(0x47b)]:{this[_0x42a87c(0x4a5)]({'isPermissionRej':!0x0});break;}case _0x48cdf6[_0x42a87c(0x1f7)]:break;}}catch(_0x2049cf){throw console['error'](_0x42a87c(0x203),_0x2049cf),_0x2049cf;}})),this[_0x865d47(0x462)];}[_0x3817ac(0x473)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x4370a1=_0x3817ac;if(this[_0x4370a1(0x292)])throw new Error(_0x4370a1(0x45d));this[_0x4370a1(0x292)]=!0x0;}['_onLocalMutation'](_0x5af95a){var _0x173f36=_0x3817ac;this[_0x173f36(0x460)](),this[_0x173f36(0x2d2)](this['_state'][_0x173f36(0x3b9)](_0x5af95a)),this[_0x173f36(0x473)]();}[_0x3817ac(0x386)](_0x82cf41){var _0x472dc5=_0x3817ac;if(!(_0x82cf41['revision']<=this[_0x472dc5(0x3d9)]['getCurrentRevOfUnit'](this[_0x472dc5(0x22f)]))){if(this[_0x472dc5(0x223)]){this[_0x472dc5(0x3b0)][_0x472dc5(0x399)](_0x82cf41);return;}this[_0x472dc5(0x447)](_0x82cf41);}}['_exhaustRemoteChangesetQueue'](){var _0x497361=_0x3817ac;this[_0x497361(0x3b0)][_0x497361(0x28f)](_0x2e9935=>this[_0x497361(0x447)](_0x2e9935)),this[_0x497361(0x3b0)]=[];}[_0x3817ac(0x447)](_0x29fc5b){var _0x300737=_0x3817ac;const _0x1dba3a=this[_0x300737(0x30a)][_0x300737(0x3bc)][_0x300737(0x2f1)](this[_0x300737(0x30a)]['interceptor'][_0x300737(0x2b4)]()[_0x300737(0x33a)])(_0x29fc5b[_0x300737(0x2da)],null)||_0x29fc5b[_0x300737(0x2da)],_0x1f1ca8={..._0x29fc5b,'mutations':_0x1dba3a};this['_lockTransition'](),this['_updateState'](this[_0x300737(0x462)][_0x300737(0x1c5)](_0x1f1ca8)),this[_0x300737(0x473)]();}[_0x3817ac(0x376)](_0x25864b){var _0x3ae355=_0x3817ac;this[_0x3ae355(0x460)](),this['_updateState'](this[_0x3ae355(0x462)]['onRemoteAck'](_0x25864b)),this['_unlockTransition']();}[_0x3817ac(0x4a5)](_0x56de73){var _0x342c76=_0x3817ac;this[_0x342c76(0x460)](),this[_0x342c76(0x2d2)](this[_0x342c76(0x462)][_0x342c76(0x253)](_0x56de73)),this['_unlockTransition']();}[_0x3817ac(0x27c)](_0x263e44){var _0x378244=_0x3817ac;this[_0x378244(0x460)](),this['_updateState'](this[_0x378244(0x462)][_0x378244(0x25c)](_0x263e44)),this['_unlockTransition']();}[_0x3817ac(0x306)](_0xbfc41a){var _0x550292=_0x3817ac;if(!(this[_0x550292(0x462)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3567dc=_0xbfc41a[_0x550292(0x418)](_0x248fe8=>{var _0x4352ad=_0x550292;const _0x2c7128=this['_compressMutationService'][_0x4352ad(0x3bc)][_0x4352ad(0x2f1)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x248fe8[_0x4352ad(0x2da)],null)||_0x248fe8[_0x4352ad(0x2da)];return{..._0x248fe8,'mutations':_0x2c7128};});this[_0x550292(0x460)](),this[_0x550292(0x2d2)](this[_0x550292(0x462)][_0x550292(0x3ed)](_0x3567dc)),this['_unlockTransition']();}[_0x3817ac(0x37c)](){var _0x54db1a=_0x3817ac;this[_0x54db1a(0x460)](),this[_0x54db1a(0x2d2)](this[_0x54db1a(0x462)][_0x54db1a(0x29f)]()),this[_0x54db1a(0x473)]();}[_0x3817ac(0x1a2)](_0x47fbf6=!0x1){var _0x58588e=_0x3817ac;this['_lockTransition'](),this[_0x58588e(0x2d2)](this[_0x58588e(0x462)][_0x58588e(0x44e)]()),this[_0x58588e(0x473)]();const _0x43c3d9=this[_0x58588e(0x462)];_0x47fbf6&&_0x43c3d9 instanceof Pe&&(this['_lockTransition'](),this[_0x58588e(0x2d2)](_0x43c3d9[_0x58588e(0x260)]()),this[_0x58588e(0x473)]());}async[_0x3817ac(0x3e0)](){return new Promise(_0x1529d7=>{var _0x4eebcb=_0x7017;this[_0x4eebcb(0x275)][_0x4eebcb(0x32d)][_0x4eebcb(0x37a)](_0x551224(0x1))['subscribe'](async _0x12db79=>{var _0x159f32=_0x4eebcb;_0x1529d7(await this[_0x159f32(0x328)](_0x12db79===Te[_0x159f32(0x348)]));});});}[_0x3817ac(0x43c)](){var _0x443d13=_0x3817ac;const _0x430fd1=this[_0x443d13(0x22f)];return{'onStateChange':(_0x37d3e1,_0x2f3984)=>{var _0x38a467=_0x443d13;if(_0x37d3e1!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x37d3e1[_0x38a467(0x1f4)]+_0x38a467(0x438)+_0x2f3984[_0x38a467(0x1f4)]+_0x38a467(0x4aa)+this[_0x38a467(0x462)][_0x38a467(0x1f4)]);this[_0x38a467(0x2d2)](_0x2f3984);},'onSendChangeset':_0x4a52c5=>{var _0x1d3331=_0x443d13;_0x4a52c5[_0x1d3331(0x2c9)]||(_0x4a52c5[_0x1d3331(0x2c9)]=this[_0x1d3331(0x36f)],_0x4a52c5[_0x1d3331(0x49a)]=++this[_0x1d3331(0x41b)]);const _0x98e7a4={'eventID':_0x48cdf6['SUBMIT_CHANGESET'],'data':{'unitID':_0x4a52c5[_0x1d3331(0x22f)],'unitType':this[_0x1d3331(0x3fb)],'changeset':_0x4a52c5,'memberID':this[_0x1d3331(0x275)][_0x1d3331(0x319)]()}};this[_0x1d3331(0x275)]['send'](_0x98e7a4,this[_0x1d3331(0x22f)]);},'onMissingChangesets':({from:_0x25a456,to:_0x5488fd})=>{var _0x2e9b37=_0x443d13;this[_0x2e9b37(0x334)]['debug'](_0x2e9b37(0x1fa),_0x2e9b37(0x364)+_0x25a456+_0x2e9b37(0x1e8)+_0x5488fd);const _0x51d7f7={'eventID':_0x48cdf6[_0x2e9b37(0x216)],'data':{'unitID':_0x430fd1,'unitType':this[_0x2e9b37(0x3fb)],'from':_0x25a456,'to':_0x5488fd}};this[_0x2e9b37(0x275)]['send'](_0x51d7f7,this['unitID']);}};}async[_0x3817ac(0x328)](_0x1759be){var _0x36d5d7=_0x3817ac,_0x54a4f6,_0x52c5ac,_0xddae9a;const _0x42fa5a=await((_0x54a4f6=this['_localCacheService'])==null?void 0x0:_0x54a4f6['loadOfflineData'](this[_0x36d5d7(0x22f)])),_0x327782=(_0x52c5ac=_0x42fa5a==null?void 0x0:_0x42fa5a[_0x36d5d7(0x2da)])!=null?_0x52c5ac:[],_0x2b4844=(_0xddae9a=_0x42fa5a==null?void 0x0:_0x42fa5a['awaitingChangeset'])!=null?_0xddae9a:null,_0x1ca1e5=!!(_0x2b4844!=null&&_0x2b4844[_0x36d5d7(0x2c9)])&&!!(_0x2b4844!=null&&_0x2b4844[_0x36d5d7(0x49a)]);this[_0x36d5d7(0x36f)]=_0x1ca1e5?_0x2b4844['sid']:vs(),this[_0x36d5d7(0x41b)]=_0x1ca1e5?_0x2b4844[_0x36d5d7(0x49a)]:0x0;const _0x53c3b3=this[_0x36d5d7(0x22f)];try{this[_0x36d5d7(0x40d)](_0x2b4844,_0x327782);}catch(_0x327ee9){this[_0x36d5d7(0x334)][_0x36d5d7(0x2d3)](_0x327ee9);}const _0x1a227f=this[_0x36d5d7(0x43c)]();if(_0x1759be){const _0x4c6f84=wi(this[_0x36d5d7(0x393)],_0x53c3b3,this[_0x36d5d7(0x3fb)],_0x2b4844,_0x327782,_0x1a227f);return _0x4c6f84 instanceof oe?_0x4c6f84[_0x36d5d7(0x23b)]():(_0x4c6f84 instanceof ae||_0x4c6f84 instanceof ue)&&_0x4c6f84[_0x36d5d7(0x230)](),_0x4c6f84;}return this[_0x36d5d7(0x393)][_0x36d5d7(0x440)](fe,_0x53c3b3,this[_0x36d5d7(0x3fb)],_0x2b4844,_0x327782,_0x1a227f);}['_replayCachedMutations'](_0x5be804,_0x8ea6c8){var _0x165fbc=_0x3817ac,_0x1070c4,_0x1a5b42;const _0x10b07f=this[_0x165fbc(0x30a)][_0x165fbc(0x3bc)][_0x165fbc(0x2f1)](this[_0x165fbc(0x30a)][_0x165fbc(0x3bc)][_0x165fbc(0x2b4)]()['COMPRESS_MUTATION_APPLY']);(_0x1070c4=_0x10b07f((_0x5be804==null?void 0x0:_0x5be804[_0x165fbc(0x2da)])||[],null))==null||_0x1070c4['forEach'](_0x20d31f=>this['_commandService'][_0x165fbc(0x287)](_0x20d31f['id'],_0x20d31f['params'])),(_0x1a5b42=_0x10b07f(_0x8ea6c8||[],null))==null||_0x1a5b42[_0x165fbc(0x28f)](_0x1d46ae=>this[_0x165fbc(0x3b3)][_0x165fbc(0x287)](_0x1d46ae['id'],_0x1d46ae[_0x165fbc(0x3f3)]));}};st=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(pe)),k(0x8,_0x3b11ba),k(0x9,_0x5ee12b),k(0xa,_0x3310d6),k(0xb,_0x1d2db0(_t)),k(0xc,_0x1d2db0(X))],st);let Ct=class extends st{constructor(_0x24d2b7,_0x51fa1e,_0x50fe57,_0x50c9be,_0x223759,_0x2df351,_0x452c85,_0x2032ed,_0x3d3d8f,_0x4cefcb,_0x56d943,_0x4332ac,_0xa60871){var _0x56470a=_0x3817ac;super(_0x24d2b7,_0x50fe57,_0x51fa1e,_0x50c9be,_0x223759,_0x2df351,_0x452c85,_0x2032ed,_0x3d3d8f,_0x4cefcb,_0x56d943,_0x4332ac,_0xa60871),P(this,_0x56470a(0x24d),null),(this[_0x56470a(0x22f)]=_0x24d2b7,this[_0x56470a(0x408)]=_0x51fa1e);}[_0x3817ac(0x23c)](_0x275c7b){var _0x2740b6=_0x3817ac;this[_0x2740b6(0x24d)]=_0x275c7b;}[_0x3817ac(0x42b)](){var _0xa0eb29=_0x3817ac;this[_0xa0eb29(0x24d)]=null,super[_0xa0eb29(0x42b)]();}['_createHandler'](){var _0x245b7a=_0x3817ac;const _0x440d8b=super[_0x245b7a(0x43c)]();return _0x440d8b['onTransformIME']=_0x2cd725=>{var _0x71be1c=_0x245b7a,_0x52b0ed,_0x14289f;return(_0x14289f=(_0x52b0ed=this['_handlerCallback'])==null?void 0x0:_0x52b0ed['onTransformIME'])==null?void 0x0:_0x14289f[_0x71be1c(0x26b)](_0x52b0ed,_0x2cd725);},_0x440d8b['onTransformState']=_0x345bb6=>{var _0x3b0e5e=_0x245b7a,_0x59aa44,_0x417953;return(_0x417953=(_0x59aa44=this['_handlerCallback'])==null?void 0x0:_0x59aa44[_0x3b0e5e(0x24c)])==null?void 0x0:_0x417953[_0x3b0e5e(0x26b)](_0x59aa44,_0x345bb6);},_0x440d8b[_0x245b7a(0x3e5)]=_0x32db6d=>{var _0x30b744=_0x245b7a,_0x1c3aa7,_0x5106cc;return(_0x5106cc=(_0x1c3aa7=this[_0x30b744(0x24d)])==null?void 0x0:_0x1c3aa7[_0x30b744(0x3e5)])==null?void 0x0:_0x5106cc[_0x30b744(0x26b)](_0x1c3aa7,_0x32db6d);},_0x440d8b[_0x245b7a(0x385)]=_0x363d6=>{var _0x46a3ea=_0x245b7a,_0x104432,_0x1ff69a;return(_0x1ff69a=(_0x104432=this[_0x46a3ea(0x24d)])==null?void 0x0:_0x104432[_0x46a3ea(0x385)])==null?void 0x0:_0x1ff69a[_0x46a3ea(0x26b)](_0x104432,_0x363d6);},_0x440d8b['onTransformRemoteChangesetByIMECache']=_0x37294e=>{var _0x41994a=_0x245b7a,_0x3cd3b9,_0x52da9c,_0x538568;if(!((_0x3cd3b9=this[_0x41994a(0x24d)])!=null&&_0x3cd3b9[_0x41994a(0x1d0)]))throw new Error(_0x41994a(0x2f5));return(_0x538568=(_0x52da9c=this[_0x41994a(0x24d)])==null?void 0x0:_0x52da9c[_0x41994a(0x1d0)])==null?void 0x0:_0x538568[_0x41994a(0x26b)](_0x52da9c,_0x37294e);},_0x440d8b[_0x245b7a(0x214)]=_0x5f1708=>{var _0x5ec6a8=_0x245b7a,_0xddefa,_0x50dac4,_0x3eab4a;if(!((_0xddefa=this['_handlerCallback'])!=null&&_0xddefa[_0x5ec6a8(0x214)]))throw new Error(_0x5ec6a8(0x20b));return(_0x3eab4a=(_0x50dac4=this[_0x5ec6a8(0x24d)])==null?void 0x0:_0x50dac4['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3eab4a[_0x5ec6a8(0x26b)](_0x50dac4,_0x5f1708);},_0x440d8b;}async[_0x3817ac(0x265)](){var _0x279fea=_0x3817ac;const _0x2a48cb=await super[_0x279fea(0x265)]();return this[_0x279fea(0x38f)](this[_0x279fea(0x3b3)][_0x279fea(0x1a1)]((_0x483648,_0x210bb6)=>{var _0x16d7a5=_0x279fea;if(_0x483648[_0x16d7a5(0x408)]!==_0x2cbde1['MUTATION']||_0x210bb6!=null&&_0x210bb6['fromCollab']||_0x210bb6!=null&&_0x210bb6[_0x16d7a5(0x29d)]||_0x483648['id']===_0x4aee6a['id'])return;const _0x3c6ef5=_0x483648[_0x16d7a5(0x3f3)];if((_0x3c6ef5==null?void 0x0:_0x3c6ef5[_0x16d7a5(0x49d)])!==this['unitID'])return;const _0x1fdede=_0x483648,_0x53e608=this[_0x16d7a5(0x30a)][_0x16d7a5(0x3bc)]['fetchThroughInterceptors'](this[_0x16d7a5(0x30a)][_0x16d7a5(0x3bc)][_0x16d7a5(0x2b4)]()['COMPRESS_MUTATION_SEND'])([_0x1fdede],null)||[_0x1fdede];this['_onLocalMutation'](_0x53e608[0x0]);})),_0x2a48cb;}};Ct=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(pe)),k(0x8,_0x3b11ba),k(0x9,_0x5ee12b),k(0xa,_0x3310d6),k(0xb,_0x1d2db0(_t)),k(0xc,_0x1d2db0(X))],Ct);let bt=class extends st{constructor(_0x24c5fe,_0x29cd17,_0x19c961,_0x2625a9,_0x2c24e0,_0x1c01e1,_0x2afe74,_0x59df0f,_0x452d62,_0x4b4f44,_0x517d4d,_0x548b45,_0x3d5ab9,_0x5e19e7){var _0x21127d=_0x3817ac;super(_0x24c5fe,_0x19c961,_0x29cd17,_0x2625a9,_0x2c24e0,_0x1c01e1,_0x2afe74,_0x452d62,_0x4b4f44,_0x517d4d,_0x548b45,_0x3d5ab9,_0x5e19e7),this['unitID']=_0x24c5fe,this[_0x21127d(0x408)]=_0x29cd17,this[_0x21127d(0x26c)]=_0x59df0f;}[_0x3817ac(0x43c)](){var _0xe30a58=_0x3817ac;const _0xde32d2=super[_0xe30a58(0x43c)]();return _0xde32d2[_0xe30a58(0x3e5)]=_0x5a1ffd=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5a1ffd),_0xde32d2;}async[_0x3817ac(0x265)](){var _0xc7b994=_0x3817ac;const _0x2bd5ad=await super[_0xc7b994(0x265)]();return this[_0xc7b994(0x38f)](this['_commandService'][_0xc7b994(0x1a1)]((_0x3962c5,_0x592d49)=>{var _0x14a3dc=_0xc7b994;if(_0x3962c5['type']!==_0x2cbde1[_0x14a3dc(0x384)]||_0x592d49!=null&&_0x592d49['fromCollab']||_0x592d49!=null&&_0x592d49[_0x14a3dc(0x29d)])return;const _0x54acfd=_0x3962c5[_0x14a3dc(0x3f3)];if((_0x54acfd==null?void 0x0:_0x54acfd['unitId'])!==this[_0x14a3dc(0x22f)])return;const _0x2d68fa=_0x3962c5,_0x1b7d47=this[_0x14a3dc(0x30a)][_0x14a3dc(0x3bc)][_0x14a3dc(0x2f1)](this[_0x14a3dc(0x30a)][_0x14a3dc(0x3bc)]['getInterceptPoints']()[_0x14a3dc(0x3bf)])([_0x2d68fa],null)||[_0x2d68fa];this['_onLocalMutation'](_0x1b7d47[0x0]);})),_0x2bd5ad;}};bt=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(nt)),k(0x8,_0x880ce4(pe)),k(0x9,_0x3b11ba),k(0xa,_0x5ee12b),k(0xb,_0x3310d6),k(0xc,_0x1d2db0(_t)),k(0xd,_0x1d2db0(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x3817ac(0x1df)],Ps=(_0x56a6d1,_0x371dc1,_0x57f74d,_0x2e6104)=>{var _0x54fab7=_0x3817ac;for(var _0x5778a5=_0x2e6104>0x1?void 0x0:_0x2e6104?Ns(_0x371dc1,_0x57f74d):_0x371dc1,_0x51265c=_0x56a6d1[_0x54fab7(0x450)]-0x1,_0x515a24;_0x51265c>=0x0;_0x51265c--)(_0x515a24=_0x56a6d1[_0x51265c])&&(_0x5778a5=(_0x2e6104?_0x515a24(_0x371dc1,_0x57f74d,_0x5778a5):_0x515a24(_0x5778a5))||_0x5778a5);return _0x2e6104&&_0x5778a5&&Os(_0x371dc1,_0x57f74d,_0x5778a5),_0x5778a5;},vt=(_0xb2dc21,_0xddf372)=>(_0x1bdb04,_0x391578)=>_0xddf372(_0x1bdb04,_0x391578,_0xb2dc21);let rt=class extends _0x9c8dcc{constructor(_0x346e24,_0x2dd46b,_0x2e5b5c){var _0x4a4417=_0x3817ac;super(),P(this,_0x4a4417(0x40e),new Map()),P(this,_0x4a4417(0x246),new _0x560c85()),P(this,_0x4a4417(0x1e1),this['_entityInit$'][_0x4a4417(0x34a)]()),(this[_0x4a4417(0x393)]=_0x346e24,this['_collabSessionService']=_0x2dd46b,this[_0x4a4417(0x3cf)]=_0x2e5b5c,this[_0x4a4417(0x265)]());}[_0x3817ac(0x42b)](){var _0x39e35b=_0x3817ac;super['dispose'](),this[_0x39e35b(0x40e)][_0x39e35b(0x28f)](_0x574a9c=>_0x574a9c[_0x39e35b(0x42b)]()),this[_0x39e35b(0x40e)][_0x39e35b(0x24e)]();}['getCollabEntity'](_0x129985){var _0x2e6643=_0x3817ac,_0x4d8003;return(_0x4d8003=this['_entities'][_0x2e6643(0x1b5)](_0x129985))!=null?_0x4d8003:null;}[_0x3817ac(0x2c1)](_0x457750){var _0x116bc1=_0x3817ac;const _0xd1bb8f=this[_0x116bc1(0x3b6)](_0x457750);return _0xd1bb8f?_0x41a794(_0xd1bb8f):this[_0x116bc1(0x246)]['pipe'](_0x1b785d(_0x246bc9=>_0x246bc9[_0x116bc1(0x22f)]===_0x457750));}[_0x3817ac(0x389)](_0x282ddc){var _0x4c8469=_0x3817ac;return _0x54a0bb(this[_0x4c8469(0x2c1)](_0x282ddc)[_0x4c8469(0x37a)](_0x24684d(()=>{})));}[_0x3817ac(0x265)](){var _0x52d107=_0x3817ac;this['_univerInstanceService'][_0x52d107(0x422)](_0x1f11e9[_0x52d107(0x2e1)])[_0x52d107(0x37a)](_0x44ee9f(this[_0x52d107(0x2e8)]),_0x54d682(0x10))[_0x52d107(0x3da)](async _0x49d3c5=>{var _0x34e443=_0x52d107;const _0x359bea=_0x49d3c5[_0x34e443(0x370)](),_0x56fc36=await this[_0x34e443(0x41f)](_0x359bea,Q[_0x34e443(0x2e1)]);this[_0x34e443(0x40e)]['set'](_0x359bea,_0x56fc36);}),this[_0x52d107(0x3cf)][_0x52d107(0x422)](_0x1f11e9[_0x52d107(0x1f6)])['pipe'](_0x44ee9f(this[_0x52d107(0x2e8)]),_0x54d682(0x10))[_0x52d107(0x37a)](_0x1b785d(_0x462f0e=>!_0x462f0e[_0x52d107(0x370)]()[_0x52d107(0x1b2)]('__')))[_0x52d107(0x3da)](async _0xcadb5d=>{var _0x47ce54=_0x52d107;const _0x51d6ed=_0xcadb5d[_0x47ce54(0x370)](),_0x57cef8=await this[_0x47ce54(0x41f)](_0x51d6ed,Q['UNIVER_DOC']);this[_0x47ce54(0x40e)][_0x47ce54(0x3dd)](_0x51d6ed,_0x57cef8);}),_0x30e992(this[_0x52d107(0x3cf)][_0x52d107(0x313)](_0x1f11e9[_0x52d107(0x2e1)]),this['_univerInstanceService'][_0x52d107(0x313)](_0x1f11e9[_0x52d107(0x1f6)]))['pipe'](_0x44ee9f(this[_0x52d107(0x2e8)]))[_0x52d107(0x3da)](_0xf2b9b3=>{var _0x4b7edb=_0x52d107;const _0x508f46=_0xf2b9b3['getUnitId'](),_0x5b8581=this[_0x4b7edb(0x40e)]['get'](_0x508f46);_0x5b8581&&(_0x5b8581[_0x4b7edb(0x42b)](),this[_0x4b7edb(0x40e)][_0x4b7edb(0x220)](_0x508f46));});}async[_0x3817ac(0x41f)](_0x36b289,_0x5351a2){var _0x34746=_0x3817ac;const _0x176890=await this[_0x34746(0x1c7)]['requireSession'](_0x36b289),_0x443343=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x5351a2),_0x36b289,_0x5351a2,_0x176890);return await _0x443343[_0x34746(0x494)](),this[_0x34746(0x246)]['next'](_0x443343),_0x443343;}[_0x3817ac(0x28a)](_0x499b0a){var _0x2e88f4=_0x3817ac;switch(_0x499b0a){case Q['UNIVER_DOC']:return Ct;case Q[_0x2e88f4(0x2e1)]:return bt;default:throw new Error(_0x2e88f4(0x29b)+_0x499b0a);}}};rt=Ps([vt(0x0,_0x880ce4(_0x28aed1)),vt(0x1,_0x880ce4(Le)),vt(0x2,_0x369bbf)],rt);var Ds=Object['defineProperty'],ws=Object[_0x3817ac(0x1df)],Us=(_0x3093da,_0x33e2ce,_0x5acf21,_0x7a7c3)=>{for(var _0x1745fe=_0x7a7c3>0x1?void 0x0:_0x7a7c3?ws(_0x33e2ce,_0x5acf21):_0x33e2ce,_0x1cbf50=_0x3093da['length']-0x1,_0x5031f2;_0x1cbf50>=0x0;_0x1cbf50--)(_0x5031f2=_0x3093da[_0x1cbf50])&&(_0x1745fe=(_0x7a7c3?_0x5031f2(_0x33e2ce,_0x5acf21,_0x1745fe):_0x5031f2(_0x1745fe))||_0x1745fe);return _0x7a7c3&&_0x1745fe&&Ds(_0x33e2ce,_0x5acf21,_0x1745fe),_0x1745fe;},Zt=(_0x547a0f,_0x4c8b8e)=>(_0x14c13d,_0xe61e33)=>_0x4c8b8e(_0x14c13d,_0xe61e33,_0x547a0f);const As=_0x3817ac(0x441),xs=_0x3817ac(0x268);let Rt=class extends _0x4c5e0f{constructor(_0x41b3df,_0x4d6d09){var _0x33a830=_0x3817ac;super(),this[_0x33a830(0x3cf)]=_0x41b3df,this[_0x33a830(0x2e5)]=_0x4d6d09,this[_0x33a830(0x265)]();}['_init'](){var _0x1fb968=_0x3817ac;this[_0x1fb968(0x38f)](this[_0x1fb968(0x3cf)][_0x1fb968(0x29a)]['subscribe'](()=>{var _0xe83a40=_0x1fb968,_0x41c8d4;const _0x36094c=this['_univerInstanceService']['getFocusedUnit']();let _0x1c639c=(_0x41c8d4=this[_0xe83a40(0x2e5)][_0xe83a40(0x3a7)](As))!=null?_0x41c8d4:xs;_0x36094c instanceof _0x7013a8&&(_0x1c639c=_0x36094c[_0xe83a40(0x36a)]),document[_0xe83a40(0x43e)]=_0x1c639c;}));}};Rt=Us([Zt(0x0,_0x369bbf),Zt(0x1,_0x268506)],Rt);var Ls=Object[_0x3817ac(0x3b8)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x569020,_0x244926,_0xe762cf,_0xf032b)=>{var _0x45c148=_0x3817ac;for(var _0x32c92b=_0xf032b>0x1?void 0x0:_0xf032b?Ms(_0x244926,_0xe762cf):_0x244926,_0xaa599f=_0x569020[_0x45c148(0x450)]-0x1,_0x1da3b8;_0xaa599f>=0x0;_0xaa599f--)(_0x1da3b8=_0x569020[_0xaa599f])&&(_0x32c92b=(_0xf032b?_0x1da3b8(_0x244926,_0xe762cf,_0x32c92b):_0x1da3b8(_0x32c92b))||_0x32c92b);return _0xf032b&&_0x32c92b&&Ls(_0x244926,_0xe762cf,_0x32c92b),_0x32c92b;},pt=(_0x2318f8,_0x5f4645)=>(_0xcf7472,_0x4115d8)=>_0x5f4645(_0xcf7472,_0x4115d8,_0x2318f8);let ot=class{constructor(_0x2bacca,_0x315e36,_0x195ddc){var _0x120127=_0x3817ac;this[_0x120127(0x2e5)]=_0x2bacca,this[_0x120127(0x3d2)]=_0x315e36,this[_0x120127(0x40c)]=_0x195ddc,this[_0x120127(0x494)]();}[_0x3817ac(0x494)](){var _0x19e28e=_0x3817ac;this['_httpService'][_0x19e28e(0x381)]({'priority':0x1,'interceptor':(_0x249534,_0x144cdf)=>_0x144cdf(_0x249534)['pipe'](_0xe3238b(async _0x693963=>{var _0x4de02a=_0x19e28e;const _0x377279=_0x693963;if(_0x377279[_0x4de02a(0x1f4)]===0x191){if(typeof window>'u')throw new Error(_0x4de02a(0x354));if(window[_0x4de02a(0x1e4)](this[_0x4de02a(0x40c)]['t'](_0x4de02a(0x45f)))){const _0x4e0862=window[_0x4de02a(0x2a2)](window[_0x4de02a(0x238)][_0x4de02a(0x290)]);window[_0x4de02a(0x238)][_0x4de02a(0x290)]=this['_getLoginPath']()+'?url='+_0x4e0862;}}return _0x377279;}))});}['_getLoginPath'](){var _0x222e3a=_0x3817ac,_0x4a6cd2,_0x58b22e;const _0x42e4f6=this[_0x222e3a(0x2e5)][_0x222e3a(0x3a7)](Wn),_0x335171=this[_0x222e3a(0x2e5)][_0x222e3a(0x3a7)](Y);return(_0x58b22e=(_0x4a6cd2=_0x335171==null?void 0x0:_0x335171[_0x222e3a(0x2d4)])!=null?_0x4a6cd2:_0x42e4f6)!=null?_0x58b22e:Gn;}};ot=$s([pt(0x0,_0x268506),pt(0x1,_0x880ce4(_0x157352)),pt(0x2,_0x880ce4(_0x42e13a))],ot);var Hs=Object['defineProperty'],ks=Object[_0x3817ac(0x1df)],js=(_0x42c1e5,_0x2c693b,_0x2470ea,_0x261db3)=>{var _0xcd4b38=_0x3817ac;for(var _0x45c4d1=_0x261db3>0x1?void 0x0:_0x261db3?ks(_0x2c693b,_0x2470ea):_0x2c693b,_0x1480f8=_0x42c1e5[_0xcd4b38(0x450)]-0x1,_0x5d0910;_0x1480f8>=0x0;_0x1480f8--)(_0x5d0910=_0x42c1e5[_0x1480f8])&&(_0x45c4d1=(_0x261db3?_0x5d0910(_0x2c693b,_0x2470ea,_0x45c4d1):_0x5d0910(_0x45c4d1))||_0x45c4d1);return _0x261db3&&_0x45c4d1&&Hs(_0x2c693b,_0x2470ea,_0x45c4d1),_0x45c4d1;},Qt=(_0x18c43c,_0x1ad5ad)=>(_0x5e386f,_0x23dd25)=>_0x1ad5ad(_0x5e386f,_0x23dd25,_0x18c43c);const Ui=_0x3817ac(0x27b),Bs=_0x3817ac(0x2ff);let yt=class extends _0x4c5e0f{constructor(_0x5ec513,_0x1b00e5){var _0x113e55=_0x3817ac;super(),this[_0x113e55(0x419)]=_0x5ec513,this[_0x113e55(0x2e5)]=_0x1b00e5,this[_0x113e55(0x2cb)]();}[_0x3817ac(0x2cb)](){var _0x4535b3=_0x3817ac;const _0x53f080=this;this[_0x4535b3(0x38f)](this[_0x4535b3(0x419)][_0x4535b3(0x381)]({'priority':0x3e7,'interceptor':_0x3b4411({'isMatch'(_0x10a47d){var _0x3c2ae3=_0x4535b3,_0x48c579;if(_0x10a47d[_0x3c2ae3(0x3b2)]===_0x3c2ae3(0x3eb)&&((_0x48c579=_0x10a47d[_0x3c2ae3(0x465)])!=null&&_0x48c579[_0x3c2ae3(0x400)])){const {objectID:_0x5e0848,objectType:_0x4abb51}=_0x10a47d[_0x3c2ae3(0x465)]['body']||{};if(!_0x5e0848||_0x4abb51===void 0x0)return!0x1;const _0x15c7ef=_0x53f080[_0x3c2ae3(0x3ae)]()+'/'+_0x4abb51+'/object/'+_0x5e0848+_0x3c2ae3(0x336);if(_0x10a47d['url']===_0x15c7ef)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d4937){var _0x4cb875=_0x4535b3,_0x444c48;return(_0x444c48=_0x5d4937[_0x4cb875(0x465)])==null?void 0x0:_0x444c48[_0x4cb875(0x400)];},'mergeParamsToRequest'(_0x1b1020,_0x434112){var _0x1b29ab=_0x4535b3;const _0x1138da=_0x53f080[_0x1b29ab(0x3ae)]()+'/-/object/-/batch_allowed',_0x5775cc=_0x1b1020[_0x1b29ab(0x3fa)]((_0x1c1e11,_0x483221)=>{var _0x52b750=_0x1b29ab;const {unitID:_0x4083fd,objectID:_0xb878e0,objectType:_0x55e99e,actions:_0x129e23}=_0x483221;return _0x1c1e11[_0x4083fd]||(_0x1c1e11[_0x4083fd]={}),_0x1c1e11[_0x4083fd][_0xb878e0]||(_0x1c1e11[_0x4083fd][_0xb878e0]={'objectID':_0xb878e0,'objectType':_0x55e99e,'actions':[]}),_0x1c1e11[_0x4083fd][_0xb878e0][_0x52b750(0x2ae)]['push'](..._0x129e23),_0x1c1e11;},{}),_0x323936=[];for(const _0x1c7875 in _0x5775cc)for(const _0x2fde01 in _0x5775cc[_0x1c7875]){const {actions:_0x31aadb,objectType:_0x1f27b7}=_0x5775cc[_0x1c7875][_0x2fde01],_0x3d5c10=[...new Set(_0x31aadb)];_0x323936[_0x1b29ab(0x399)]({'unitID':_0x1c7875,'objectID':_0x2fde01,'objectType':_0x1f27b7,'actions':_0x3d5c10});}return new _0x57bb69(_0x1b29ab(0x3eb),_0x1138da,{'headers':_0x434112[_0x1b29ab(0x1d5)],'withCredentials':_0x434112[_0x1b29ab(0x1fd)],'responseType':_0x434112[_0x1b29ab(0x1bb)],'body':{'requests':_0x323936}});}},{'distributeResult'(_0x429bd0,_0x272724){const {objectActions:_0x1dfe68}=_0x429bd0;return _0x272724['map'](_0x19e724=>{var _0x289581=_0x7017;const {unitID:_0x36b564,objectID:_0x19e5b0,actions:_0x1fe615}=_0x19e724,_0x47224f=_0x1dfe68[_0x289581(0x240)](_0xd71726=>_0xd71726[_0x289581(0x22f)]===_0x36b564&&_0xd71726['objectID']===_0x19e5b0),_0x29dfd8=_0x1fe615['map'](_0x5aafe9=>_0x47224f==null?void 0x0:_0x47224f['actions'][_0x289581(0x240)](_0x1a6f7f=>_0x1a6f7f[_0x289581(0x2f2)]===_0x5aafe9))[_0x289581(0x2c5)](_0x42f7ce=>!!_0x42f7ce);return{'config':_0x19e724,'result':{'actions':_0x29dfd8,'error':_0x429bd0[_0x289581(0x2d3)]}};});}})}));}['_getAPIPrefixPath'](){var _0x744cf3=_0x3817ac,_0x380af8,_0x2a7a91;const _0x547cb1=this['_configService']['getConfig'](Ui),_0x690f8b=this['_configService'][_0x744cf3(0x3a7)](Y);return(_0x2a7a91=(_0x380af8=_0x690f8b==null?void 0x0:_0x690f8b[_0x744cf3(0x432)])!=null?_0x380af8:_0x547cb1)!=null?_0x2a7a91:Bs;}async[_0x3817ac(0x443)](_0x5c34b6){var _0x41f174=_0x3817ac;const _0x48cba1=this[_0x41f174(0x3ae)]()+'/'+_0x5c34b6[_0x41f174(0x27a)]+'/object';return(await this[_0x41f174(0x419)][_0x41f174(0x3e7)](_0x48cba1,{'body':_0x5c34b6}))[_0x41f174(0x400)][_0x41f174(0x264)]||'';}async[_0x3817ac(0x2c8)](_0x5a2df1){var _0x2e898e=_0x3817ac;const _0x939411=this[_0x2e898e(0x3ae)]()+'/-/object/list';return(await this[_0x2e898e(0x419)][_0x2e898e(0x3e7)](_0x939411,{'body':_0x5a2df1}))['body'][_0x2e898e(0x30c)];}async[_0x3817ac(0x45c)](_0x58bb58){var _0x376f82=_0x3817ac;const _0x46c4e3=this['_getAPIPrefixPath']()+'/'+_0x58bb58['objectType']+'/object/'+_0x58bb58[_0x376f82(0x264)];await this['_HTTPService'][_0x376f82(0x424)](_0x46c4e3,{'body':_0x58bb58});}async[_0x3817ac(0x2bc)](_0x2f808c){var _0x5df56a=_0x3817ac;const _0x492154=this['_getAPIPrefixPath']()+'/'+_0x2f808c[_0x5df56a(0x27a)]+_0x5df56a(0x30e)+_0x2f808c[_0x5df56a(0x264)]+_0x5df56a(0x336);return(await this[_0x5df56a(0x419)]['post'](_0x492154,{'body':_0x2f808c}))[_0x5df56a(0x400)][_0x5df56a(0x2ae)];}async[_0x3817ac(0x21a)](_0x317eb0){var _0x143cac=_0x3817ac;const _0x4d2181=this[_0x143cac(0x3ae)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x143cac(0x3e7)](_0x4d2181,{'body':{'requests':_0x317eb0}}))[_0x143cac(0x400)][_0x143cac(0x1bf)];}async[_0x3817ac(0x2fb)](_0x21b81f){var _0x4a7432=_0x3817ac;const _0x2ae775=this[_0x4a7432(0x3ae)]()+'/'+_0x21b81f[_0x4a7432(0x27a)]+_0x4a7432(0x373),_0xc510fc=await this[_0x4a7432(0x419)][_0x4a7432(0x3e7)](_0x2ae775,{'body':_0x21b81f});return{'roles':_0xc510fc['body'][_0x4a7432(0x228)],'actions':_0xc510fc[_0x4a7432(0x400)][_0x4a7432(0x2ae)]};}async[_0x3817ac(0x3a5)](_0x4fa17f){var _0x12f492=_0x3817ac;const _0x177918=this[_0x12f492(0x3ae)]()+_0x12f492(0x3c8);await this[_0x12f492(0x419)]['delete'](_0x177918,{'params':{'collaboratorID':_0x4fa17f[_0x12f492(0x210)],'objectID':_0x4fa17f[_0x12f492(0x264)],'unitID':_0x4fa17f[_0x12f492(0x22f)]}});}async['updateCollaborator'](_0x40b59f){var _0x596a4c=_0x3817ac;const _0x2c3183=this[_0x596a4c(0x3ae)]()+_0x596a4c(0x3c8);await this['_HTTPService']['patch'](_0x2c3183,{'body':_0x40b59f});}async['createCollaborator'](_0x37327a){var _0x4b93ce=_0x3817ac;const _0x390229=this[_0x4b93ce(0x3ae)]()+'/collaborator';await this[_0x4b93ce(0x419)][_0x4b93ce(0x3e7)](_0x390229,{'body':_0x37327a});}async['listCollaborators'](_0x470f56){var _0x2b19ab=_0x3817ac;const _0xb2d05f=this[_0x2b19ab(0x3ae)]()+'/collaborator';return(await this['_HTTPService'][_0x2b19ab(0x1b5)](_0xb2d05f,{'params':{'objectID':_0x470f56[_0x2b19ab(0x264)],'unitID':_0x470f56[_0x2b19ab(0x22f)]}}))[_0x2b19ab(0x400)][_0x2b19ab(0x487)];}async['putCollaborators'](_0x8ab561){var _0x5dc0de=_0x3817ac;const _0x5811c4=this[_0x5dc0de(0x3ae)]()+_0x5dc0de(0x3c8);await this[_0x5dc0de(0x419)][_0x5dc0de(0x424)](_0x5811c4,{'body':_0x8ab561});}};yt=js([Qt(0x0,_0x880ce4(_0x157352)),Qt(0x1,_0x880ce4(_0x268506))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4682bd){var _0x3d33aa=_0x3817ac;return _0x4682bd&&_0x4682bd[_0x3d33aa(0x483)]&&Object[_0x3d33aa(0x3fd)][_0x3d33aa(0x23a)][_0x3d33aa(0x26b)](_0x4682bd,_0x3d33aa(0x3c3))?_0x4682bd[_0x3d33aa(0x3c3)]:_0x4682bd;}var We={'exports':{}};function Fs(_0x468dfc){var _0x3079b6=_0x3817ac;throw new Error(_0x3079b6(0x25a)+_0x468dfc+_0x3079b6(0x316));}var Ge={'exports':{}},Vs=Ge['exports'],ei;function ne(){var _0x44ba43=_0x3817ac;return ei||(ei=0x1,function(_0x1716b7,_0x145469){(function(_0x330b90,_0x1c1ee5){var _0xde9ae7=_0x7017;_0x1716b7[_0xde9ae7(0x1a6)]=_0x1c1ee5();}(Vs,function(){var _0x1a6e03=_0x1a6e03||function(_0x2b7189,_0x3c293d){var _0x521c48=_0x7017,_0xf4d7a0;if(typeof window<'u'&&window[_0x521c48(0x2e0)]&&(_0xf4d7a0=window[_0x521c48(0x2e0)]),typeof self<'u'&&self[_0x521c48(0x2e0)]&&(_0xf4d7a0=self['crypto']),typeof globalThis<'u'&&globalThis[_0x521c48(0x2e0)]&&(_0xf4d7a0=globalThis[_0x521c48(0x2e0)]),!_0xf4d7a0&&typeof window<'u'&&window[_0x521c48(0x3e2)]&&(_0xf4d7a0=window[_0x521c48(0x3e2)]),!_0xf4d7a0&&typeof mt<'u'&&mt[_0x521c48(0x2e0)]&&(_0xf4d7a0=mt[_0x521c48(0x2e0)]),!_0xf4d7a0&&typeof Fs=='function')try{_0xf4d7a0=require(_0x521c48(0x2e0));}catch{}var _0x358473=function(){var _0x19b8bf=_0x521c48;if(_0xf4d7a0){if(typeof _0xf4d7a0['getRandomValues']==_0x19b8bf(0x42e))try{return _0xf4d7a0['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xf4d7a0[_0x19b8bf(0x3f7)]==_0x19b8bf(0x42e))try{return _0xf4d7a0[_0x19b8bf(0x3f7)](0x4)[_0x19b8bf(0x2b6)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x49257a=Object[_0x521c48(0x443)]||(function(){function _0x518d52(){}return function(_0x2c9b4f){var _0x365719=_0x7017,_0x4b0ec0;return _0x518d52[_0x365719(0x3fd)]=_0x2c9b4f,_0x4b0ec0=new _0x518d52(),_0x518d52['prototype']=null,_0x4b0ec0;};}()),_0xef8c80={},_0x4680b7=_0xef8c80[_0x521c48(0x3f0)]={},_0x19cb25=_0x4680b7[_0x521c48(0x21c)]=(function(){return{'extend':function(_0x477870){var _0x1e35db=_0x7017,_0x5bc6fa=_0x49257a(this);return _0x477870&&_0x5bc6fa[_0x1e35db(0x477)](_0x477870),(!_0x5bc6fa[_0x1e35db(0x23a)](_0x1e35db(0x494))||this[_0x1e35db(0x494)]===_0x5bc6fa[_0x1e35db(0x494)])&&(_0x5bc6fa[_0x1e35db(0x494)]=function(){var _0x4b81a7=_0x1e35db;_0x5bc6fa['$super']['init'][_0x4b81a7(0x302)](this,arguments);}),_0x5bc6fa[_0x1e35db(0x494)][_0x1e35db(0x3fd)]=_0x5bc6fa,_0x5bc6fa[_0x1e35db(0x23f)]=this,_0x5bc6fa;},'create':function(){var _0x13218d=_0x7017,_0x97db6a=this[_0x13218d(0x469)]();return _0x97db6a[_0x13218d(0x494)][_0x13218d(0x302)](_0x97db6a,arguments),_0x97db6a;},'init':function(){},'mixIn':function(_0x41437c){var _0x4fee6c=_0x7017;for(var _0x49fb3c in _0x41437c)_0x41437c[_0x4fee6c(0x23a)](_0x49fb3c)&&(this[_0x49fb3c]=_0x41437c[_0x49fb3c]);_0x41437c['hasOwnProperty'](_0x4fee6c(0x22a))&&(this[_0x4fee6c(0x22a)]=_0x41437c['toString']);},'clone':function(){var _0x32084a=_0x7017;return this[_0x32084a(0x494)]['prototype'][_0x32084a(0x469)](this);}};}()),_0x5591c8=_0x4680b7[_0x521c48(0x2de)]=_0x19cb25[_0x521c48(0x469)]({'init':function(_0xf87190,_0x56eb69){var _0x61574=_0x521c48;_0xf87190=this[_0x61574(0x3ad)]=_0xf87190||[],_0x56eb69!=_0x3c293d?this[_0x61574(0x387)]=_0x56eb69:this['sigBytes']=_0xf87190[_0x61574(0x450)]*0x4;},'toString':function(_0x411264){var _0x36b95d=_0x521c48;return(_0x411264||_0x542a6f)[_0x36b95d(0x274)](this);},'concat':function(_0x5719b7){var _0x2cd5f3=_0x521c48,_0x2cb707=this['words'],_0x4cf48d=_0x5719b7[_0x2cd5f3(0x3ad)],_0x254b12=this[_0x2cd5f3(0x387)],_0x2f0b13=_0x5719b7[_0x2cd5f3(0x387)];if(this['clamp'](),_0x254b12%0x4)for(var _0x591f07=0x0;_0x591f07<_0x2f0b13;_0x591f07++){var _0x22eef2=_0x4cf48d[_0x591f07>>>0x2]>>>0x18-_0x591f07%0x4*0x8&0xff;_0x2cb707[_0x254b12+_0x591f07>>>0x2]|=_0x22eef2<<0x18-(_0x254b12+_0x591f07)%0x4*0x8;}else{for(var _0x27fc00=0x0;_0x27fc00<_0x2f0b13;_0x27fc00+=0x4)_0x2cb707[_0x254b12+_0x27fc00>>>0x2]=_0x4cf48d[_0x27fc00>>>0x2];}return this['sigBytes']+=_0x2f0b13,this;},'clamp':function(){var _0x4375ad=_0x521c48,_0x2fabe=this[_0x4375ad(0x3ad)],_0x5baef2=this[_0x4375ad(0x387)];_0x2fabe[_0x5baef2>>>0x2]&=0xffffffff<<0x20-_0x5baef2%0x4*0x8,_0x2fabe[_0x4375ad(0x450)]=_0x2b7189['ceil'](_0x5baef2/0x4);},'clone':function(){var _0x5f5328=_0x521c48,_0x28c2e2=_0x19cb25[_0x5f5328(0x1ee)][_0x5f5328(0x26b)](this);return _0x28c2e2['words']=this[_0x5f5328(0x3ad)][_0x5f5328(0x2ba)](0x0),_0x28c2e2;},'random':function(_0x2d98a3){var _0x2ca4c5=_0x521c48;for(var _0x597fd5=[],_0x1f1cea=0x0;_0x1f1cea<_0x2d98a3;_0x1f1cea+=0x4)_0x597fd5[_0x2ca4c5(0x399)](_0x358473());return new _0x5591c8[(_0x2ca4c5(0x494))](_0x597fd5,_0x2d98a3);}}),_0x56b0c6=_0xef8c80[_0x521c48(0x33b)]={},_0x542a6f=_0x56b0c6[_0x521c48(0x3d7)]={'stringify':function(_0x18e7a1){var _0x2bcbf7=_0x521c48;for(var _0x135441=_0x18e7a1['words'],_0x47e91d=_0x18e7a1[_0x2bcbf7(0x387)],_0x2c1719=[],_0x3a6ab1=0x0;_0x3a6ab1<_0x47e91d;_0x3a6ab1++){var _0x2f9a40=_0x135441[_0x3a6ab1>>>0x2]>>>0x18-_0x3a6ab1%0x4*0x8&0xff;_0x2c1719[_0x2bcbf7(0x399)]((_0x2f9a40>>>0x4)[_0x2bcbf7(0x22a)](0x10)),_0x2c1719[_0x2bcbf7(0x399)]((_0x2f9a40&0xf)[_0x2bcbf7(0x22a)](0x10));}return _0x2c1719['join']('');},'parse':function(_0x147956){var _0x394870=_0x521c48;for(var _0x1a8510=_0x147956['length'],_0x111492=[],_0x244b90=0x0;_0x244b90<_0x1a8510;_0x244b90+=0x2)_0x111492[_0x244b90>>>0x3]|=parseInt(_0x147956[_0x394870(0x37f)](_0x244b90,0x2),0x10)<<0x18-_0x244b90%0x8*0x4;return new _0x5591c8[(_0x394870(0x494))](_0x111492,_0x1a8510/0x2);}},_0x59e540=_0x56b0c6[_0x521c48(0x430)]={'stringify':function(_0x5bdfe4){var _0x557bec=_0x521c48;for(var _0x4a6b4b=_0x5bdfe4[_0x557bec(0x3ad)],_0x488107=_0x5bdfe4[_0x557bec(0x387)],_0x2ebe4e=[],_0x213ae4=0x0;_0x213ae4<_0x488107;_0x213ae4++){var _0x2b902f=_0x4a6b4b[_0x213ae4>>>0x2]>>>0x18-_0x213ae4%0x4*0x8&0xff;_0x2ebe4e['push'](String['fromCharCode'](_0x2b902f));}return _0x2ebe4e[_0x557bec(0x2d7)]('');},'parse':function(_0x4c6846){var _0x3ef081=_0x521c48;for(var _0x22d30d=_0x4c6846[_0x3ef081(0x450)],_0x12da09=[],_0x1e477e=0x0;_0x1e477e<_0x22d30d;_0x1e477e++)_0x12da09[_0x1e477e>>>0x2]|=(_0x4c6846[_0x3ef081(0x1ae)](_0x1e477e)&0xff)<<0x18-_0x1e477e%0x4*0x8;return new _0x5591c8['init'](_0x12da09,_0x22d30d);}},_0x48d58a=_0x56b0c6['Utf8']={'stringify':function(_0x4482c5){var _0x3cc065=_0x521c48;try{return decodeURIComponent(escape(_0x59e540['stringify'](_0x4482c5)));}catch{throw new Error(_0x3cc065(0x34f));}},'parse':function(_0x24dbc1){var _0x2b0a9a=_0x521c48;return _0x59e540[_0x2b0a9a(0x414)](unescape(encodeURIComponent(_0x24dbc1)));}},_0x52b640=_0x4680b7[_0x521c48(0x309)]=_0x19cb25[_0x521c48(0x469)]({'reset':function(){var _0x4fba1f=_0x521c48;this[_0x4fba1f(0x273)]=new _0x5591c8[(_0x4fba1f(0x494))](),this[_0x4fba1f(0x30b)]=0x0;},'_append':function(_0x21b207){var _0x873c41=_0x521c48;typeof _0x21b207==_0x873c41(0x255)&&(_0x21b207=_0x48d58a[_0x873c41(0x414)](_0x21b207)),this['_data']['concat'](_0x21b207),this[_0x873c41(0x30b)]+=_0x21b207[_0x873c41(0x387)];},'_process':function(_0x5cdaac){var _0x324864=_0x521c48,_0x53c11c,_0x2ae548=this[_0x324864(0x273)],_0xbac1b1=_0x2ae548[_0x324864(0x3ad)],_0x46c479=_0x2ae548[_0x324864(0x387)],_0x5b396c=this['blockSize'],_0x193cc5=_0x5b396c*0x4,_0x25cb3f=_0x46c479/_0x193cc5;_0x5cdaac?_0x25cb3f=_0x2b7189[_0x324864(0x3ec)](_0x25cb3f):_0x25cb3f=_0x2b7189[_0x324864(0x491)]((_0x25cb3f|0x0)-this['_minBufferSize'],0x0);var _0x5d1bc5=_0x25cb3f*_0x5b396c,_0xe8f912=_0x2b7189[_0x324864(0x1de)](_0x5d1bc5*0x4,_0x46c479);if(_0x5d1bc5){for(var _0x22a0f8=0x0;_0x22a0f8<_0x5d1bc5;_0x22a0f8+=_0x5b396c)this[_0x324864(0x46e)](_0xbac1b1,_0x22a0f8);_0x53c11c=_0xbac1b1[_0x324864(0x4a3)](0x0,_0x5d1bc5),_0x2ae548[_0x324864(0x387)]-=_0xe8f912;}return new _0x5591c8[(_0x324864(0x494))](_0x53c11c,_0xe8f912);},'clone':function(){var _0x4a7a59=_0x521c48,_0x2b1f18=_0x19cb25[_0x4a7a59(0x1ee)][_0x4a7a59(0x26b)](this);return _0x2b1f18[_0x4a7a59(0x273)]=this[_0x4a7a59(0x273)][_0x4a7a59(0x1ee)](),_0x2b1f18;},'_minBufferSize':0x0});_0x4680b7[_0x521c48(0x232)]=_0x52b640[_0x521c48(0x469)]({'cfg':_0x19cb25['extend'](),'init':function(_0x3b03de){var _0x15bf9f=_0x521c48;this['cfg']=this[_0x15bf9f(0x2f7)][_0x15bf9f(0x469)](_0x3b03de),this[_0x15bf9f(0x383)]();},'reset':function(){var _0x2fe4a4=_0x521c48;_0x52b640[_0x2fe4a4(0x383)][_0x2fe4a4(0x26b)](this),this['_doReset']();},'update':function(_0x458aab){var _0x55a039=_0x521c48;return this[_0x55a039(0x26a)](_0x458aab),this['_process'](),this;},'finalize':function(_0x5563b6){var _0x19e4ec=_0x521c48;_0x5563b6&&this['_append'](_0x5563b6);var _0x176228=this[_0x19e4ec(0x3e3)]();return _0x176228;},'blockSize':0x10,'_createHelper':function(_0x45cbf3){return function(_0x1b417d,_0x8352ce){var _0x1fd761=_0x7017;return new _0x45cbf3['init'](_0x8352ce)[_0x1fd761(0x476)](_0x1b417d);};},'_createHmacHelper':function(_0x5daf62){return function(_0x18f835,_0x419567){var _0x3e628d=_0x7017;return new _0x4b95bc[(_0x3e628d(0x217))][(_0x3e628d(0x494))](_0x5daf62,_0x419567)['finalize'](_0x18f835);};}});var _0x4b95bc=_0xef8c80[_0x521c48(0x258)]={};return _0xef8c80;}(Math);return _0x1a6e03;}));}(Ge)),Ge[_0x44ba43(0x1a6)];}var Ke={'exports':{}},Ws=Ke[_0x3817ac(0x1a6)],ti;function Ai(){var _0x3d6035=_0x3817ac;return ti||(ti=0x1,function(_0x3b1dd5,_0x607345){(function(_0x103848,_0xd4761d){var _0x309f61=_0x7017;_0x3b1dd5[_0x309f61(0x1a6)]=_0xd4761d(ne());}(Ws,function(_0xe119da){var _0x37c3ae=_0x7017;return(function(){var _0x3faa8c=_0x7017,_0x3f1ada=_0xe119da,_0x5dfdc5=_0x3f1ada[_0x3faa8c(0x3f0)],_0x5a313c=_0x5dfdc5['WordArray'],_0x3f9bd7=_0x3f1ada['enc'];_0x3f9bd7[_0x3faa8c(0x4a4)]={'stringify':function(_0x229349){var _0x57ea0e=_0x3faa8c,_0x4194e6=_0x229349[_0x57ea0e(0x3ad)],_0x5b0996=_0x229349[_0x57ea0e(0x387)],_0x32cc0b=this['_map'];_0x229349[_0x57ea0e(0x2a7)]();for(var _0x211f42=[],_0x50e59c=0x0;_0x50e59c<_0x5b0996;_0x50e59c+=0x3)for(var _0x20efad=_0x4194e6[_0x50e59c>>>0x2]>>>0x18-_0x50e59c%0x4*0x8&0xff,_0xe25e9f=_0x4194e6[_0x50e59c+0x1>>>0x2]>>>0x18-(_0x50e59c+0x1)%0x4*0x8&0xff,_0x14e931=_0x4194e6[_0x50e59c+0x2>>>0x2]>>>0x18-(_0x50e59c+0x2)%0x4*0x8&0xff,_0x399243=_0x20efad<<0x10|_0xe25e9f<<0x8|_0x14e931,_0x30bd43=0x0;_0x30bd43<0x4&&_0x50e59c+_0x30bd43*0.75<_0x5b0996;_0x30bd43++)_0x211f42['push'](_0x32cc0b[_0x57ea0e(0x1ea)](_0x399243>>>0x6*(0x3-_0x30bd43)&0x3f));var _0xadd1af=_0x32cc0b['charAt'](0x40);if(_0xadd1af){for(;_0x211f42['length']%0x4;)_0x211f42[_0x57ea0e(0x399)](_0xadd1af);}return _0x211f42[_0x57ea0e(0x2d7)]('');},'parse':function(_0x49a1eb){var _0x301a8a=_0x3faa8c,_0x13e025=_0x49a1eb[_0x301a8a(0x450)],_0xfd2629=this[_0x301a8a(0x212)],_0x43c7d2=this['_reverseMap'];if(!_0x43c7d2){_0x43c7d2=this[_0x301a8a(0x1f2)]=[];for(var _0x31c5b8=0x0;_0x31c5b8<_0xfd2629[_0x301a8a(0x450)];_0x31c5b8++)_0x43c7d2[_0xfd2629['charCodeAt'](_0x31c5b8)]=_0x31c5b8;}var _0x55eb7b=_0xfd2629[_0x301a8a(0x1ea)](0x40);if(_0x55eb7b){var _0x1e8d8d=_0x49a1eb[_0x301a8a(0x21e)](_0x55eb7b);_0x1e8d8d!==-0x1&&(_0x13e025=_0x1e8d8d);}return _0x1750a3(_0x49a1eb,_0x13e025,_0x43c7d2);},'_map':_0x3faa8c(0x20e)};function _0x1750a3(_0x25aaca,_0x244edb,_0x2a7365){var _0x1adf90=_0x3faa8c;for(var _0x3a5927=[],_0xb530cf=0x0,_0x4d74b9=0x0;_0x4d74b9<_0x244edb;_0x4d74b9++)if(_0x4d74b9%0x4){var _0x4e345d=_0x2a7365[_0x25aaca[_0x1adf90(0x1ae)](_0x4d74b9-0x1)]<<_0x4d74b9%0x4*0x2,_0x44f443=_0x2a7365[_0x25aaca[_0x1adf90(0x1ae)](_0x4d74b9)]>>>0x6-_0x4d74b9%0x4*0x2,_0x46541b=_0x4e345d|_0x44f443;_0x3a5927[_0xb530cf>>>0x2]|=_0x46541b<<0x18-_0xb530cf%0x4*0x8,_0xb530cf++;}return _0x5a313c['create'](_0x3a5927,_0xb530cf);}}()),_0xe119da[_0x37c3ae(0x33b)][_0x37c3ae(0x4a4)];}));}(Ke)),Ke[_0x3d6035(0x1a6)];}var ze={'exports':{}},Gs=ze[_0x3817ac(0x1a6)],ii;function Ks(){var _0x436d38=_0x3817ac;return ii||(ii=0x1,function(_0x3bd6ab,_0xc06c68){(function(_0x33b502,_0x591745){var _0x22ed48=_0x7017;_0x3bd6ab[_0x22ed48(0x1a6)]=_0x591745(ne());}(Gs,function(_0x4e74e8){var _0x116195=_0x7017;return function(_0x12dcd9){var _0x22655b=_0x7017,_0x563fa8=_0x4e74e8,_0x5e31ed=_0x563fa8['lib'],_0x527775=_0x5e31ed[_0x22655b(0x2de)],_0x4c8adf=_0x5e31ed[_0x22655b(0x232)],_0x4fbab2=_0x563fa8[_0x22655b(0x258)],_0x49fd88=[];(function(){var _0xb594b6=_0x22655b;for(var _0x25acfd=0x0;_0x25acfd<0x40;_0x25acfd++)_0x49fd88[_0x25acfd]=_0x12dcd9[_0xb594b6(0x2b0)](_0x12dcd9[_0xb594b6(0x3a8)](_0x25acfd+0x1))*0x100000000|0x0;}());var _0xb234a1=_0x4fbab2[_0x22655b(0x2b1)]=_0x4c8adf['extend']({'_doReset':function(){var _0x1b583f=_0x22655b;this[_0x1b583f(0x4a0)]=new _0x527775[(_0x1b583f(0x494))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x208f26,_0x429c02){var _0x49dd1d=_0x22655b;for(var _0x1bb21c=0x0;_0x1bb21c<0x10;_0x1bb21c++){var _0x5b17e4=_0x429c02+_0x1bb21c,_0x48bea8=_0x208f26[_0x5b17e4];_0x208f26[_0x5b17e4]=(_0x48bea8<<0x8|_0x48bea8>>>0x18)&0xff00ff|(_0x48bea8<<0x18|_0x48bea8>>>0x8)&0xff00ff00;}var _0x492f94=this[_0x49dd1d(0x4a0)][_0x49dd1d(0x3ad)],_0x49fbeb=_0x208f26[_0x429c02+0x0],_0x545297=_0x208f26[_0x429c02+0x1],_0x26d852=_0x208f26[_0x429c02+0x2],_0xade2e3=_0x208f26[_0x429c02+0x3],_0x3aef93=_0x208f26[_0x429c02+0x4],_0x1e2563=_0x208f26[_0x429c02+0x5],_0x51b81b=_0x208f26[_0x429c02+0x6],_0x5e6d0d=_0x208f26[_0x429c02+0x7],_0x2a31d2=_0x208f26[_0x429c02+0x8],_0x2f3c0f=_0x208f26[_0x429c02+0x9],_0x2ed58c=_0x208f26[_0x429c02+0xa],_0x5de4af=_0x208f26[_0x429c02+0xb],_0x2b2924=_0x208f26[_0x429c02+0xc],_0x6d2ccd=_0x208f26[_0x429c02+0xd],_0x2ccee7=_0x208f26[_0x429c02+0xe],_0x5650ae=_0x208f26[_0x429c02+0xf],_0x5a504f=_0x492f94[0x0],_0x47dac6=_0x492f94[0x1],_0x26d964=_0x492f94[0x2],_0x525436=_0x492f94[0x3];_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x49fbeb,0x7,_0x49fd88[0x0]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x545297,0xc,_0x49fd88[0x1]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x26d852,0x11,_0x49fd88[0x2]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0xade2e3,0x16,_0x49fd88[0x3]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x3aef93,0x7,_0x49fd88[0x4]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x1e2563,0xc,_0x49fd88[0x5]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x51b81b,0x11,_0x49fd88[0x6]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5e6d0d,0x16,_0x49fd88[0x7]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2a31d2,0x7,_0x49fd88[0x8]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2f3c0f,0xc,_0x49fd88[0x9]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ed58c,0x11,_0x49fd88[0xa]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5de4af,0x16,_0x49fd88[0xb]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2b2924,0x7,_0x49fd88[0xc]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x6d2ccd,0xc,_0x49fd88[0xd]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ccee7,0x11,_0x49fd88[0xe]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5650ae,0x16,_0x49fd88[0xf]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x545297,0x5,_0x49fd88[0x10]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x51b81b,0x9,_0x49fd88[0x11]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5de4af,0xe,_0x49fd88[0x12]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x49fbeb,0x14,_0x49fd88[0x13]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x1e2563,0x5,_0x49fd88[0x14]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2ed58c,0x9,_0x49fd88[0x15]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5650ae,0xe,_0x49fd88[0x16]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x3aef93,0x14,_0x49fd88[0x17]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2f3c0f,0x5,_0x49fd88[0x18]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2ccee7,0x9,_0x49fd88[0x19]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0xade2e3,0xe,_0x49fd88[0x1a]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2a31d2,0x14,_0x49fd88[0x1b]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x6d2ccd,0x5,_0x49fd88[0x1c]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x26d852,0x9,_0x49fd88[0x1d]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5e6d0d,0xe,_0x49fd88[0x1e]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2b2924,0x14,_0x49fd88[0x1f]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x1e2563,0x4,_0x49fd88[0x20]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2a31d2,0xb,_0x49fd88[0x21]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5de4af,0x10,_0x49fd88[0x22]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2ccee7,0x17,_0x49fd88[0x23]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x545297,0x4,_0x49fd88[0x24]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x3aef93,0xb,_0x49fd88[0x25]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5e6d0d,0x10,_0x49fd88[0x26]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2ed58c,0x17,_0x49fd88[0x27]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x6d2ccd,0x4,_0x49fd88[0x28]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x49fbeb,0xb,_0x49fd88[0x29]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0xade2e3,0x10,_0x49fd88[0x2a]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x51b81b,0x17,_0x49fd88[0x2b]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2f3c0f,0x4,_0x49fd88[0x2c]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2b2924,0xb,_0x49fd88[0x2d]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5650ae,0x10,_0x49fd88[0x2e]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x26d852,0x17,_0x49fd88[0x2f]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x49fbeb,0x6,_0x49fd88[0x30]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5e6d0d,0xa,_0x49fd88[0x31]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ccee7,0xf,_0x49fd88[0x32]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x1e2563,0x15,_0x49fd88[0x33]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2b2924,0x6,_0x49fd88[0x34]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0xade2e3,0xa,_0x49fd88[0x35]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ed58c,0xf,_0x49fd88[0x36]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x545297,0x15,_0x49fd88[0x37]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2a31d2,0x6,_0x49fd88[0x38]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5650ae,0xa,_0x49fd88[0x39]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x51b81b,0xf,_0x49fd88[0x3a]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x6d2ccd,0x15,_0x49fd88[0x3b]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x3aef93,0x6,_0x49fd88[0x3c]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5de4af,0xa,_0x49fd88[0x3d]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x26d852,0xf,_0x49fd88[0x3e]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2f3c0f,0x15,_0x49fd88[0x3f]),_0x492f94[0x0]=_0x492f94[0x0]+_0x5a504f|0x0,_0x492f94[0x1]=_0x492f94[0x1]+_0x47dac6|0x0,_0x492f94[0x2]=_0x492f94[0x2]+_0x26d964|0x0,_0x492f94[0x3]=_0x492f94[0x3]+_0x525436|0x0;},'_doFinalize':function(){var _0x3c75fb=_0x22655b,_0x53fdff=this[_0x3c75fb(0x273)],_0x5a3414=_0x53fdff[_0x3c75fb(0x3ad)],_0x48857a=this[_0x3c75fb(0x30b)]*0x8,_0x3daf99=_0x53fdff[_0x3c75fb(0x387)]*0x8;_0x5a3414[_0x3daf99>>>0x5]|=0x80<<0x18-_0x3daf99%0x20;var _0x339b70=_0x12dcd9[_0x3c75fb(0x39a)](_0x48857a/0x100000000),_0x4fd156=_0x48857a;_0x5a3414[(_0x3daf99+0x40>>>0x9<<0x4)+0xf]=(_0x339b70<<0x8|_0x339b70>>>0x18)&0xff00ff|(_0x339b70<<0x18|_0x339b70>>>0x8)&0xff00ff00,_0x5a3414[(_0x3daf99+0x40>>>0x9<<0x4)+0xe]=(_0x4fd156<<0x8|_0x4fd156>>>0x18)&0xff00ff|(_0x4fd156<<0x18|_0x4fd156>>>0x8)&0xff00ff00,_0x53fdff[_0x3c75fb(0x387)]=(_0x5a3414[_0x3c75fb(0x450)]+0x1)*0x4,this[_0x3c75fb(0x48d)]();for(var _0x552f8d=this[_0x3c75fb(0x4a0)],_0x5c60c4=_0x552f8d[_0x3c75fb(0x3ad)],_0xd450c5=0x0;_0xd450c5<0x4;_0xd450c5++){var _0x436ffd=_0x5c60c4[_0xd450c5];_0x5c60c4[_0xd450c5]=(_0x436ffd<<0x8|_0x436ffd>>>0x18)&0xff00ff|(_0x436ffd<<0x18|_0x436ffd>>>0x8)&0xff00ff00;}return _0x552f8d;},'clone':function(){var _0xebe1bb=_0x22655b,_0x3e0066=_0x4c8adf[_0xebe1bb(0x1ee)]['call'](this);return _0x3e0066['_hash']=this['_hash'][_0xebe1bb(0x1ee)](),_0x3e0066;}});function _0x4ae672(_0x1fce83,_0x386b39,_0x3bc23f,_0x4feea6,_0x5e4fc7,_0x4370ba,_0x32148a){var _0x2c7ec3=_0x1fce83+(_0x386b39&_0x3bc23f|~_0x386b39&_0x4feea6)+_0x5e4fc7+_0x32148a;return(_0x2c7ec3<<_0x4370ba|_0x2c7ec3>>>0x20-_0x4370ba)+_0x386b39;}function _0x5a9ada(_0x39dce7,_0x5908e8,_0x58d525,_0x170b5c,_0x1023de,_0x309540,_0x3258c9){var _0x5d7d4c=_0x39dce7+(_0x5908e8&_0x170b5c|_0x58d525&~_0x170b5c)+_0x1023de+_0x3258c9;return(_0x5d7d4c<<_0x309540|_0x5d7d4c>>>0x20-_0x309540)+_0x5908e8;}function _0x3e19d8(_0x520b76,_0x30ec36,_0x4406bd,_0x28b9e9,_0x1f369b,_0x1bb080,_0x3c68b0){var _0x3305d1=_0x520b76+(_0x30ec36^_0x4406bd^_0x28b9e9)+_0x1f369b+_0x3c68b0;return(_0x3305d1<<_0x1bb080|_0x3305d1>>>0x20-_0x1bb080)+_0x30ec36;}function _0x16f442(_0x5d534f,_0x2ac7fd,_0x3a0bc9,_0xf91a6f,_0x10362f,_0x46e622,_0x3a0425){var _0x31ac31=_0x5d534f+(_0x3a0bc9^(_0x2ac7fd|~_0xf91a6f))+_0x10362f+_0x3a0425;return(_0x31ac31<<_0x46e622|_0x31ac31>>>0x20-_0x46e622)+_0x2ac7fd;}_0x563fa8[_0x22655b(0x2b1)]=_0x4c8adf['_createHelper'](_0xb234a1),_0x563fa8[_0x22655b(0x32e)]=_0x4c8adf[_0x22655b(0x425)](_0xb234a1);}(Math),_0x4e74e8[_0x116195(0x2b1)];}));}(ze)),ze[_0x436d38(0x1a6)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x3817ac(0x1a6)],ni;function Ys(){var _0x3292c8=_0x3817ac;return ni||(ni=0x1,function(_0x3a33a5,_0x59d978){(function(_0x2645a6,_0x3e3058){var _0x198cb3=_0x7017;_0x3a33a5[_0x198cb3(0x1a6)]=_0x3e3058(ne());}(zs,function(_0x5d17bd){var _0x571b2c=_0x7017;return(function(){var _0x535890=_0x7017,_0x3551aa=_0x5d17bd,_0x3c9152=_0x3551aa[_0x535890(0x3f0)],_0x426b57=_0x3c9152[_0x535890(0x2de)],_0x3cb9af=_0x3c9152[_0x535890(0x232)],_0x4e9fa6=_0x3551aa['algo'],_0x4a74f2=[],_0x25915b=_0x4e9fa6[_0x535890(0x38d)]=_0x3cb9af[_0x535890(0x469)]({'_doReset':function(){var _0x42ab7d=_0x535890;this[_0x42ab7d(0x4a0)]=new _0x426b57['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x127e25,_0x5c2cfa){var _0x256cfb=_0x535890;for(var _0x3bf541=this['_hash'][_0x256cfb(0x3ad)],_0x1857c5=_0x3bf541[0x0],_0x174596=_0x3bf541[0x1],_0x27bf5f=_0x3bf541[0x2],_0x5aae68=_0x3bf541[0x3],_0x107049=_0x3bf541[0x4],_0x3dd625=0x0;_0x3dd625<0x50;_0x3dd625++){if(_0x3dd625<0x10)_0x4a74f2[_0x3dd625]=_0x127e25[_0x5c2cfa+_0x3dd625]|0x0;else{var _0x552e52=_0x4a74f2[_0x3dd625-0x3]^_0x4a74f2[_0x3dd625-0x8]^_0x4a74f2[_0x3dd625-0xe]^_0x4a74f2[_0x3dd625-0x10];_0x4a74f2[_0x3dd625]=_0x552e52<<0x1|_0x552e52>>>0x1f;}var _0x2988c7=(_0x1857c5<<0x5|_0x1857c5>>>0x1b)+_0x107049+_0x4a74f2[_0x3dd625];_0x3dd625<0x14?_0x2988c7+=(_0x174596&_0x27bf5f|~_0x174596&_0x5aae68)+0x5a827999:_0x3dd625<0x28?_0x2988c7+=(_0x174596^_0x27bf5f^_0x5aae68)+0x6ed9eba1:_0x3dd625<0x3c?_0x2988c7+=(_0x174596&_0x27bf5f|_0x174596&_0x5aae68|_0x27bf5f&_0x5aae68)-0x70e44324:_0x2988c7+=(_0x174596^_0x27bf5f^_0x5aae68)-0x359d3e2a,_0x107049=_0x5aae68,_0x5aae68=_0x27bf5f,_0x27bf5f=_0x174596<<0x1e|_0x174596>>>0x2,_0x174596=_0x1857c5,_0x1857c5=_0x2988c7;}_0x3bf541[0x0]=_0x3bf541[0x0]+_0x1857c5|0x0,_0x3bf541[0x1]=_0x3bf541[0x1]+_0x174596|0x0,_0x3bf541[0x2]=_0x3bf541[0x2]+_0x27bf5f|0x0,_0x3bf541[0x3]=_0x3bf541[0x3]+_0x5aae68|0x0,_0x3bf541[0x4]=_0x3bf541[0x4]+_0x107049|0x0;},'_doFinalize':function(){var _0x2d437a=_0x535890,_0x4dcd3f=this[_0x2d437a(0x273)],_0x168d6f=_0x4dcd3f[_0x2d437a(0x3ad)],_0xcb3bc2=this[_0x2d437a(0x30b)]*0x8,_0x11dc28=_0x4dcd3f[_0x2d437a(0x387)]*0x8;return _0x168d6f[_0x11dc28>>>0x5]|=0x80<<0x18-_0x11dc28%0x20,_0x168d6f[(_0x11dc28+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d437a(0x39a)](_0xcb3bc2/0x100000000),_0x168d6f[(_0x11dc28+0x40>>>0x9<<0x4)+0xf]=_0xcb3bc2,_0x4dcd3f[_0x2d437a(0x387)]=_0x168d6f['length']*0x4,this[_0x2d437a(0x48d)](),this['_hash'];},'clone':function(){var _0x36c4ce=_0x535890,_0x42a2e7=_0x3cb9af['clone'][_0x36c4ce(0x26b)](this);return _0x42a2e7[_0x36c4ce(0x4a0)]=this['_hash'][_0x36c4ce(0x1ee)](),_0x42a2e7;}});_0x3551aa[_0x535890(0x38d)]=_0x3cb9af['_createHelper'](_0x25915b),_0x3551aa[_0x535890(0x24f)]=_0x3cb9af[_0x535890(0x425)](_0x25915b);}()),_0x5d17bd[_0x571b2c(0x38d)];}));}(qe)),qe[_0x3292c8(0x1a6)];}var Je={'exports':{}},qs=Je[_0x3817ac(0x1a6)],si;function Js(){var _0x116714=_0x3817ac;return si||(si=0x1,function(_0x455496,_0xa6348c){(function(_0x45a435,_0x3fcc30){var _0x57232c=_0x7017;_0x455496[_0x57232c(0x1a6)]=_0x3fcc30(ne());}(qs,function(_0x5e51c){(function(){var _0x2c0366=_0x7017,_0xb0d520=_0x5e51c,_0x3d0b2c=_0xb0d520[_0x2c0366(0x3f0)],_0x16925f=_0x3d0b2c['Base'],_0x1714bd=_0xb0d520[_0x2c0366(0x33b)],_0x24edf7=_0x1714bd['Utf8'],_0x7c6f40=_0xb0d520[_0x2c0366(0x258)];_0x7c6f40[_0x2c0366(0x217)]=_0x16925f['extend']({'init':function(_0x5642f7,_0x8b9909){var _0x41e47c=_0x2c0366;_0x5642f7=this[_0x41e47c(0x234)]=new _0x5642f7[(_0x41e47c(0x494))](),typeof _0x8b9909=='string'&&(_0x8b9909=_0x24edf7[_0x41e47c(0x414)](_0x8b9909));var _0x156c28=_0x5642f7[_0x41e47c(0x3f6)],_0x3fd4f6=_0x156c28*0x4;_0x8b9909[_0x41e47c(0x387)]>_0x3fd4f6&&(_0x8b9909=_0x5642f7[_0x41e47c(0x476)](_0x8b9909)),_0x8b9909['clamp']();for(var _0x2e0589=this['_oKey']=_0x8b9909['clone'](),_0x3fe44d=this['_iKey']=_0x8b9909[_0x41e47c(0x1ee)](),_0x434b4e=_0x2e0589['words'],_0x1b5f0f=_0x3fe44d[_0x41e47c(0x3ad)],_0x5de194=0x0;_0x5de194<_0x156c28;_0x5de194++)_0x434b4e[_0x5de194]^=0x5c5c5c5c,_0x1b5f0f[_0x5de194]^=0x36363636;_0x2e0589['sigBytes']=_0x3fe44d[_0x41e47c(0x387)]=_0x3fd4f6,this[_0x41e47c(0x383)]();},'reset':function(){var _0x4aff4c=_0x2c0366,_0x52bf52=this['_hasher'];_0x52bf52[_0x4aff4c(0x383)](),_0x52bf52[_0x4aff4c(0x45c)](this[_0x4aff4c(0x43d)]);},'update':function(_0x118161){var _0x582469=_0x2c0366;return this[_0x582469(0x234)][_0x582469(0x45c)](_0x118161),this;},'finalize':function(_0x1e322c){var _0x583f45=_0x2c0366,_0x3865d8=this[_0x583f45(0x234)],_0x31940b=_0x3865d8[_0x583f45(0x476)](_0x1e322c);_0x3865d8[_0x583f45(0x383)]();var _0xf17125=_0x3865d8['finalize'](this[_0x583f45(0x197)][_0x583f45(0x1ee)]()[_0x583f45(0x2e9)](_0x31940b));return _0xf17125;}});}());}));}(Je)),Je[_0x116714(0x1a6)];}var Xs=Ye['exports'],ri;function xi(){var _0x570e5b=_0x3817ac;return ri||(ri=0x1,function(_0x34e8de,_0x55ddc2){(function(_0x3e82a4,_0x273527,_0x1bd7b0){_0x34e8de['exports']=_0x273527(ne(),Ys(),Js());}(Xs,function(_0x3a9cd3){return(function(){var _0x245076=_0x7017,_0x3ba0c7=_0x3a9cd3,_0x3105e8=_0x3ba0c7[_0x245076(0x3f0)],_0x3e3186=_0x3105e8[_0x245076(0x21c)],_0x5c3347=_0x3105e8[_0x245076(0x2de)],_0x25ed4b=_0x3ba0c7[_0x245076(0x258)],_0x19e3e7=_0x25ed4b[_0x245076(0x2b1)],_0x355e61=_0x25ed4b['EvpKDF']=_0x3e3186[_0x245076(0x469)]({'cfg':_0x3e3186['extend']({'keySize':0x80/0x20,'hasher':_0x19e3e7,'iterations':0x1}),'init':function(_0x338161){var _0x260342=_0x245076;this[_0x260342(0x2f7)]=this[_0x260342(0x2f7)][_0x260342(0x469)](_0x338161);},'compute':function(_0x118719,_0x55f107){var _0x2ccab2=_0x245076;for(var _0x43b666,_0x2ea586=this[_0x2ccab2(0x2f7)],_0x1a6cfb=_0x2ea586[_0x2ccab2(0x377)][_0x2ccab2(0x443)](),_0x96b43d=_0x5c3347['create'](),_0x28b6ff=_0x96b43d[_0x2ccab2(0x3ad)],_0x5f2837=_0x2ea586[_0x2ccab2(0x2ed)],_0x4f6fc5=_0x2ea586['iterations'];_0x28b6ff[_0x2ccab2(0x450)]<_0x5f2837;){_0x43b666&&_0x1a6cfb[_0x2ccab2(0x45c)](_0x43b666),_0x43b666=_0x1a6cfb[_0x2ccab2(0x45c)](_0x118719)[_0x2ccab2(0x476)](_0x55f107),_0x1a6cfb['reset']();for(var _0x243238=0x1;_0x243238<_0x4f6fc5;_0x243238++)_0x43b666=_0x1a6cfb[_0x2ccab2(0x476)](_0x43b666),_0x1a6cfb['reset']();_0x96b43d['concat'](_0x43b666);}return _0x96b43d[_0x2ccab2(0x387)]=_0x5f2837*0x4,_0x96b43d;}});_0x3ba0c7['EvpKDF']=function(_0x43d3d7,_0x4345f8,_0x10c1d4){var _0xc33dd1=_0x245076;return _0x355e61[_0xc33dd1(0x443)](_0x10c1d4)[_0xc33dd1(0x398)](_0x43d3d7,_0x4345f8);};}()),_0x3a9cd3['EvpKDF'];}));}(Ye)),Ye[_0x570e5b(0x1a6)];}var Xe={'exports':{}},Zs=Xe[_0x3817ac(0x1a6)],oi;function Li(){var _0xfd210a=_0x3817ac;return oi||(oi=0x1,function(_0x4e8076,_0x2550fd){(function(_0x29919d,_0x2aead5,_0x4f7370){var _0x42e5e7=_0x7017;_0x4e8076[_0x42e5e7(0x1a6)]=_0x2aead5(ne(),xi());}(Zs,function(_0x399c94){var _0x488239=_0x7017;_0x399c94[_0x488239(0x3f0)]['Cipher']||function(_0x2f9983){var _0x198cd8=_0x488239,_0x3a40ee=_0x399c94,_0x13781c=_0x3a40ee['lib'],_0x982840=_0x13781c[_0x198cd8(0x21c)],_0xc4d553=_0x13781c[_0x198cd8(0x2de)],_0x874c95=_0x13781c['BufferedBlockAlgorithm'],_0x4f4a03=_0x3a40ee[_0x198cd8(0x33b)];_0x4f4a03[_0x198cd8(0x22b)];var _0x3799e3=_0x4f4a03[_0x198cd8(0x4a4)],_0x42fbe2=_0x3a40ee[_0x198cd8(0x258)],_0x2a173d=_0x42fbe2[_0x198cd8(0x248)],_0x1d65bc=_0x13781c['Cipher']=_0x874c95[_0x198cd8(0x469)]({'cfg':_0x982840['extend'](),'createEncryptor':function(_0xe93655,_0x38dd9a){var _0x2d149c=_0x198cd8;return this[_0x2d149c(0x443)](this['_ENC_XFORM_MODE'],_0xe93655,_0x38dd9a);},'createDecryptor':function(_0x6f1c05,_0x15d61d){var _0x15d8d1=_0x198cd8;return this['create'](this[_0x15d8d1(0x3b7)],_0x6f1c05,_0x15d61d);},'init':function(_0x19ed5b,_0x219aad,_0xa456f2){var _0x136a6a=_0x198cd8;this[_0x136a6a(0x2f7)]=this[_0x136a6a(0x2f7)][_0x136a6a(0x469)](_0xa456f2),this['_xformMode']=_0x19ed5b,this[_0x136a6a(0x349)]=_0x219aad,this[_0x136a6a(0x383)]();},'reset':function(){var _0x1a5707=_0x198cd8;_0x874c95[_0x1a5707(0x383)][_0x1a5707(0x26b)](this),this[_0x1a5707(0x1cc)]();},'process':function(_0x24b888){var _0x54154f=_0x198cd8;return this[_0x54154f(0x26a)](_0x24b888),this[_0x54154f(0x48d)]();},'finalize':function(_0x22ce58){var _0x10bf3f=_0x198cd8;_0x22ce58&&this[_0x10bf3f(0x26a)](_0x22ce58);var _0x121851=this['_doFinalize']();return _0x121851;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x45b6c5(_0x26a482){var _0x33dd6c=_0x7017;return typeof _0x26a482==_0x33dd6c(0x255)?_0x10cdbb:_0x349080;}return function(_0x321463){return{'encrypt':function(_0x2aaf7c,_0x125690,_0x2ea685){return _0x45b6c5(_0x125690)['encrypt'](_0x321463,_0x2aaf7c,_0x125690,_0x2ea685);},'decrypt':function(_0x53a805,_0x1192d2,_0x49fbf2){var _0x37dbf3=_0x7017;return _0x45b6c5(_0x1192d2)[_0x37dbf3(0x242)](_0x321463,_0x53a805,_0x1192d2,_0x49fbf2);}};};}())});_0x13781c[_0x198cd8(0x293)]=_0x1d65bc[_0x198cd8(0x469)]({'_doFinalize':function(){var _0x55cf72=_0x198cd8,_0x228ad5=this[_0x55cf72(0x48d)](!0x0);return _0x228ad5;},'blockSize':0x1});var _0x1077e7=_0x3a40ee[_0x198cd8(0x335)]={},_0x5a1478=_0x13781c[_0x198cd8(0x39d)]=_0x982840[_0x198cd8(0x469)]({'createEncryptor':function(_0x15eee4,_0x5204bd){var _0xc7da5c=_0x198cd8;return this[_0xc7da5c(0x283)]['create'](_0x15eee4,_0x5204bd);},'createDecryptor':function(_0x11d280,_0x30a953){var _0x25c2e5=_0x198cd8;return this[_0x25c2e5(0x1bc)][_0x25c2e5(0x443)](_0x11d280,_0x30a953);},'init':function(_0x50c737,_0x1add30){var _0x4d90ab=_0x198cd8;this[_0x4d90ab(0x33d)]=_0x50c737,this[_0x4d90ab(0x3cd)]=_0x1add30;}}),_0x5b20a9=_0x1077e7[_0x198cd8(0x1d1)]=(function(){var _0xbb5538=_0x198cd8,_0x462d13=_0x5a1478[_0xbb5538(0x469)]();_0x462d13['Encryptor']=_0x462d13[_0xbb5538(0x469)]({'processBlock':function(_0x52bcda,_0x51ae3c){var _0x358094=_0xbb5538,_0x2632f1=this[_0x358094(0x33d)],_0x2c5456=_0x2632f1[_0x358094(0x3f6)];_0x2bdb2a[_0x358094(0x26b)](this,_0x52bcda,_0x51ae3c,_0x2c5456),_0x2632f1[_0x358094(0x429)](_0x52bcda,_0x51ae3c),this['_prevBlock']=_0x52bcda[_0x358094(0x2ba)](_0x51ae3c,_0x51ae3c+_0x2c5456);}}),_0x462d13[_0xbb5538(0x1bc)]=_0x462d13[_0xbb5538(0x469)]({'processBlock':function(_0x3ef622,_0x5ad473){var _0x1d5b66=_0xbb5538,_0x4fd870=this['_cipher'],_0xf94c7c=_0x4fd870['blockSize'],_0x2bb988=_0x3ef622[_0x1d5b66(0x2ba)](_0x5ad473,_0x5ad473+_0xf94c7c);_0x4fd870[_0x1d5b66(0x3d3)](_0x3ef622,_0x5ad473),_0x2bdb2a[_0x1d5b66(0x26b)](this,_0x3ef622,_0x5ad473,_0xf94c7c),this['_prevBlock']=_0x2bb988;}});function _0x2bdb2a(_0x3dc008,_0x1c0aff,_0x162172){var _0x5d6385=_0xbb5538,_0x5aebc8,_0x11e26f=this[_0x5d6385(0x3cd)];_0x11e26f?(_0x5aebc8=_0x11e26f,this[_0x5d6385(0x3cd)]=_0x2f9983):_0x5aebc8=this[_0x5d6385(0x337)];for(var _0x195164=0x0;_0x195164<_0x162172;_0x195164++)_0x3dc008[_0x1c0aff+_0x195164]^=_0x5aebc8[_0x195164];}return _0x462d13;}()),_0x39b2a5=_0x3a40ee[_0x198cd8(0x201)]={},_0x5c59c0=_0x39b2a5[_0x198cd8(0x25f)]={'pad':function(_0x238344,_0x534ed9){var _0x4971e2=_0x198cd8;for(var _0x5804cd=_0x534ed9*0x4,_0x4b8ce0=_0x5804cd-_0x238344['sigBytes']%_0x5804cd,_0x13f739=_0x4b8ce0<<0x18|_0x4b8ce0<<0x10|_0x4b8ce0<<0x8|_0x4b8ce0,_0x36a745=[],_0x5732bd=0x0;_0x5732bd<_0x4b8ce0;_0x5732bd+=0x4)_0x36a745[_0x4971e2(0x399)](_0x13f739);var _0x59d3f2=_0xc4d553[_0x4971e2(0x443)](_0x36a745,_0x4b8ce0);_0x238344['concat'](_0x59d3f2);},'unpad':function(_0x4ece2d){var _0x129930=_0x198cd8,_0x3b338a=_0x4ece2d[_0x129930(0x3ad)][_0x4ece2d[_0x129930(0x387)]-0x1>>>0x2]&0xff;_0x4ece2d[_0x129930(0x387)]-=_0x3b338a;}};_0x13781c[_0x198cd8(0x23e)]=_0x1d65bc['extend']({'cfg':_0x1d65bc[_0x198cd8(0x2f7)]['extend']({'mode':_0x5b20a9,'padding':_0x5c59c0}),'reset':function(){var _0x33a33b=_0x198cd8,_0xc7a828;_0x1d65bc[_0x33a33b(0x383)]['call'](this);var _0x9c143d=this[_0x33a33b(0x2f7)],_0xad8856=_0x9c143d['iv'],_0x3f801a=_0x9c143d[_0x33a33b(0x335)];this[_0x33a33b(0x3aa)]==this[_0x33a33b(0x32c)]?_0xc7a828=_0x3f801a['createEncryptor']:(_0xc7a828=_0x3f801a['createDecryptor'],this['_minBufferSize']=0x1),this[_0x33a33b(0x270)]&&this[_0x33a33b(0x270)][_0x33a33b(0x213)]==_0xc7a828?this[_0x33a33b(0x270)][_0x33a33b(0x494)](this,_0xad8856&&_0xad8856[_0x33a33b(0x3ad)]):(this['_mode']=_0xc7a828['call'](_0x3f801a,this,_0xad8856&&_0xad8856[_0x33a33b(0x3ad)]),this[_0x33a33b(0x270)][_0x33a33b(0x213)]=_0xc7a828);},'_doProcessBlock':function(_0x4e40bd,_0x4f4966){var _0x56fbd2=_0x198cd8;this[_0x56fbd2(0x270)]['processBlock'](_0x4e40bd,_0x4f4966);},'_doFinalize':function(){var _0x51d9c4=_0x198cd8,_0x329898,_0x11576a=this[_0x51d9c4(0x2f7)][_0x51d9c4(0x33f)];return this[_0x51d9c4(0x3aa)]==this[_0x51d9c4(0x32c)]?(_0x11576a['pad'](this[_0x51d9c4(0x273)],this[_0x51d9c4(0x3f6)]),_0x329898=this[_0x51d9c4(0x48d)](!0x0)):(_0x329898=this[_0x51d9c4(0x48d)](!0x0),_0x11576a[_0x51d9c4(0x249)](_0x329898)),_0x329898;},'blockSize':0x80/0x20});var _0x378f31=_0x13781c[_0x198cd8(0x35f)]=_0x982840[_0x198cd8(0x469)]({'init':function(_0x2f4627){var _0x9c44e5=_0x198cd8;this[_0x9c44e5(0x477)](_0x2f4627);},'toString':function(_0x5701de){var _0x5461ef=_0x198cd8;return(_0x5701de||this['formatter'])[_0x5461ef(0x274)](this);}}),_0x1c1220=_0x3a40ee[_0x198cd8(0x3d8)]={},_0x2c38a0=_0x1c1220[_0x198cd8(0x48f)]={'stringify':function(_0x4888f9){var _0xd215f6=_0x198cd8,_0x4a29b4,_0x2a9481=_0x4888f9[_0xd215f6(0x1ce)],_0x1b6f71=_0x4888f9[_0xd215f6(0x3ef)];return _0x1b6f71?_0x4a29b4=_0xc4d553[_0xd215f6(0x443)]([0x53616c74,0x65645f5f])['concat'](_0x1b6f71)[_0xd215f6(0x2e9)](_0x2a9481):_0x4a29b4=_0x2a9481,_0x4a29b4[_0xd215f6(0x22a)](_0x3799e3);},'parse':function(_0x3b483a){var _0x5b6313=_0x198cd8,_0x3a3862,_0x1d3303=_0x3799e3[_0x5b6313(0x414)](_0x3b483a),_0x53c900=_0x1d3303[_0x5b6313(0x3ad)];return _0x53c900[0x0]==0x53616c74&&_0x53c900[0x1]==0x65645f5f&&(_0x3a3862=_0xc4d553['create'](_0x53c900[_0x5b6313(0x2ba)](0x2,0x4)),_0x53c900[_0x5b6313(0x4a3)](0x0,0x4),_0x1d3303[_0x5b6313(0x387)]-=0x10),_0x378f31[_0x5b6313(0x443)]({'ciphertext':_0x1d3303,'salt':_0x3a3862});}},_0x349080=_0x13781c[_0x198cd8(0x1a4)]=_0x982840[_0x198cd8(0x469)]({'cfg':_0x982840[_0x198cd8(0x469)]({'format':_0x2c38a0}),'encrypt':function(_0x9944ee,_0x30d9af,_0x1566ee,_0x2b35d5){var _0x5d2615=_0x198cd8;_0x2b35d5=this[_0x5d2615(0x2f7)][_0x5d2615(0x469)](_0x2b35d5);var _0x56e396=_0x9944ee[_0x5d2615(0x44d)](_0x1566ee,_0x2b35d5),_0x363671=_0x56e396[_0x5d2615(0x476)](_0x30d9af),_0x58581e=_0x56e396[_0x5d2615(0x2f7)];return _0x378f31[_0x5d2615(0x443)]({'ciphertext':_0x363671,'key':_0x1566ee,'iv':_0x58581e['iv'],'algorithm':_0x9944ee,'mode':_0x58581e[_0x5d2615(0x335)],'padding':_0x58581e[_0x5d2615(0x33f)],'blockSize':_0x9944ee[_0x5d2615(0x3f6)],'formatter':_0x2b35d5['format']});},'decrypt':function(_0x7af75,_0x1e2729,_0x1c5b4d,_0x2749a8){var _0x11d7e7=_0x198cd8;_0x2749a8=this[_0x11d7e7(0x2f7)]['extend'](_0x2749a8),_0x1e2729=this[_0x11d7e7(0x243)](_0x1e2729,_0x2749a8[_0x11d7e7(0x3d8)]);var _0x3cd693=_0x7af75['createDecryptor'](_0x1c5b4d,_0x2749a8)[_0x11d7e7(0x476)](_0x1e2729['ciphertext']);return _0x3cd693;},'_parse':function(_0x3e6d00,_0x5a0e1e){var _0x1ca17a=_0x198cd8;return typeof _0x3e6d00==_0x1ca17a(0x255)?_0x5a0e1e[_0x1ca17a(0x414)](_0x3e6d00,this):_0x3e6d00;}}),_0x424cf1=_0x3a40ee[_0x198cd8(0x2cf)]={},_0xdcf0a4=_0x424cf1['OpenSSL']={'execute':function(_0x8efb4e,_0x3b5b53,_0x4ae284,_0x59bb6b,_0x1117f1){var _0x50dab9=_0x198cd8;if(_0x59bb6b||(_0x59bb6b=_0xc4d553[_0x50dab9(0x356)](0x40/0x8)),_0x1117f1)var _0xc4ac62=_0x2a173d['create']({'keySize':_0x3b5b53+_0x4ae284,'hasher':_0x1117f1})[_0x50dab9(0x398)](_0x8efb4e,_0x59bb6b);else var _0xc4ac62=_0x2a173d[_0x50dab9(0x443)]({'keySize':_0x3b5b53+_0x4ae284})[_0x50dab9(0x398)](_0x8efb4e,_0x59bb6b);var _0x48fa47=_0xc4d553[_0x50dab9(0x443)](_0xc4ac62[_0x50dab9(0x3ad)][_0x50dab9(0x2ba)](_0x3b5b53),_0x4ae284*0x4);return _0xc4ac62[_0x50dab9(0x387)]=_0x3b5b53*0x4,_0x378f31[_0x50dab9(0x443)]({'key':_0xc4ac62,'iv':_0x48fa47,'salt':_0x59bb6b});}},_0x10cdbb=_0x13781c[_0x198cd8(0x2ca)]=_0x349080[_0x198cd8(0x469)]({'cfg':_0x349080[_0x198cd8(0x2f7)][_0x198cd8(0x469)]({'kdf':_0xdcf0a4}),'encrypt':function(_0x2e16dd,_0x44fea2,_0x397437,_0x2f3af7){var _0x5a5e76=_0x198cd8;_0x2f3af7=this[_0x5a5e76(0x2f7)][_0x5a5e76(0x469)](_0x2f3af7);var _0x3f2c49=_0x2f3af7[_0x5a5e76(0x2cf)][_0x5a5e76(0x1f0)](_0x397437,_0x2e16dd[_0x5a5e76(0x2ed)],_0x2e16dd['ivSize'],_0x2f3af7['salt'],_0x2f3af7[_0x5a5e76(0x377)]);_0x2f3af7['iv']=_0x3f2c49['iv'];var _0x357259=_0x349080[_0x5a5e76(0x350)]['call'](this,_0x2e16dd,_0x44fea2,_0x3f2c49['key'],_0x2f3af7);return _0x357259['mixIn'](_0x3f2c49),_0x357259;},'decrypt':function(_0xae7dc2,_0x2774f8,_0xc919fc,_0x57736f){var _0x56f350=_0x198cd8;_0x57736f=this['cfg'][_0x56f350(0x469)](_0x57736f),_0x2774f8=this[_0x56f350(0x243)](_0x2774f8,_0x57736f[_0x56f350(0x3d8)]);var _0x3c4dc7=_0x57736f['kdf'][_0x56f350(0x1f0)](_0xc919fc,_0xae7dc2[_0x56f350(0x2ed)],_0xae7dc2[_0x56f350(0x3fe)],_0x2774f8[_0x56f350(0x3ef)],_0x57736f['hasher']);_0x57736f['iv']=_0x3c4dc7['iv'];var _0xd91298=_0x349080['decrypt'][_0x56f350(0x26b)](this,_0xae7dc2,_0x2774f8,_0x3c4dc7['key'],_0x57736f);return _0xd91298;}});}();}));}(Xe)),Xe[_0xfd210a(0x1a6)];}var Qs=We[_0x3817ac(0x1a6)],ai;function er(){return ai||(ai=0x1,function(_0x20b0af,_0x336010){(function(_0x3a29b7,_0x41f70d,_0x2b9757){var _0x2c38e2=_0x7017;_0x20b0af[_0x2c38e2(0x1a6)]=_0x41f70d(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x5984bf){var _0x2e1c6d=_0x7017;return(function(){var _0x2b908b=_0x7017,_0x229ee7=_0x5984bf,_0x3e8920=_0x229ee7[_0x2b908b(0x3f0)],_0x324590=_0x3e8920[_0x2b908b(0x23e)],_0x545429=_0x229ee7[_0x2b908b(0x258)],_0x407e6a=[],_0x4a7ee1=[],_0x3f97af=[],_0x87de99=[],_0x3a4084=[],_0x21db66=[],_0x5c6ddd=[],_0x5dd6d0=[],_0x2ef31d=[],_0x5ab4c0=[];(function(){for(var _0x841aba=[],_0x4cc093=0x0;_0x4cc093<0x100;_0x4cc093++)_0x4cc093<0x80?_0x841aba[_0x4cc093]=_0x4cc093<<0x1:_0x841aba[_0x4cc093]=_0x4cc093<<0x1^0x11b;for(var _0x42e523=0x0,_0x225519=0x0,_0x4cc093=0x0;_0x4cc093<0x100;_0x4cc093++){var _0x3ccfaa=_0x225519^_0x225519<<0x1^_0x225519<<0x2^_0x225519<<0x3^_0x225519<<0x4;_0x3ccfaa=_0x3ccfaa>>>0x8^_0x3ccfaa&0xff^0x63,_0x407e6a[_0x42e523]=_0x3ccfaa,_0x4a7ee1[_0x3ccfaa]=_0x42e523;var _0x426dd1=_0x841aba[_0x42e523],_0xe92839=_0x841aba[_0x426dd1],_0x20b94f=_0x841aba[_0xe92839],_0x4bcfda=_0x841aba[_0x3ccfaa]*0x101^_0x3ccfaa*0x1010100;_0x3f97af[_0x42e523]=_0x4bcfda<<0x18|_0x4bcfda>>>0x8,_0x87de99[_0x42e523]=_0x4bcfda<<0x10|_0x4bcfda>>>0x10,_0x3a4084[_0x42e523]=_0x4bcfda<<0x8|_0x4bcfda>>>0x18,_0x21db66[_0x42e523]=_0x4bcfda;var _0x4bcfda=_0x20b94f*0x1010101^_0xe92839*0x10001^_0x426dd1*0x101^_0x42e523*0x1010100;_0x5c6ddd[_0x3ccfaa]=_0x4bcfda<<0x18|_0x4bcfda>>>0x8,_0x5dd6d0[_0x3ccfaa]=_0x4bcfda<<0x10|_0x4bcfda>>>0x10,_0x2ef31d[_0x3ccfaa]=_0x4bcfda<<0x8|_0x4bcfda>>>0x18,_0x5ab4c0[_0x3ccfaa]=_0x4bcfda,_0x42e523?(_0x42e523=_0x426dd1^_0x841aba[_0x841aba[_0x841aba[_0x20b94f^_0x426dd1]]],_0x225519^=_0x841aba[_0x841aba[_0x225519]]):_0x42e523=_0x225519=0x1;}}());var _0x5947f2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x16fc86=_0x545429[_0x2b908b(0x467)]=_0x324590[_0x2b908b(0x469)]({'_doReset':function(){var _0x488e78=_0x2b908b,_0x8622cb;if(!(this[_0x488e78(0x481)]&&this[_0x488e78(0x272)]===this[_0x488e78(0x349)])){for(var _0x33e4d2=this[_0x488e78(0x272)]=this[_0x488e78(0x349)],_0x392d9c=_0x33e4d2[_0x488e78(0x3ad)],_0x102389=_0x33e4d2[_0x488e78(0x387)]/0x4,_0x1dcae2=this[_0x488e78(0x481)]=_0x102389+0x6,_0x565a72=(_0x1dcae2+0x1)*0x4,_0x503f7c=this[_0x488e78(0x288)]=[],_0x3fdbda=0x0;_0x3fdbda<_0x565a72;_0x3fdbda++)_0x3fdbda<_0x102389?_0x503f7c[_0x3fdbda]=_0x392d9c[_0x3fdbda]:(_0x8622cb=_0x503f7c[_0x3fdbda-0x1],_0x3fdbda%_0x102389?_0x102389>0x6&&_0x3fdbda%_0x102389==0x4&&(_0x8622cb=_0x407e6a[_0x8622cb>>>0x18]<<0x18|_0x407e6a[_0x8622cb>>>0x10&0xff]<<0x10|_0x407e6a[_0x8622cb>>>0x8&0xff]<<0x8|_0x407e6a[_0x8622cb&0xff]):(_0x8622cb=_0x8622cb<<0x8|_0x8622cb>>>0x18,_0x8622cb=_0x407e6a[_0x8622cb>>>0x18]<<0x18|_0x407e6a[_0x8622cb>>>0x10&0xff]<<0x10|_0x407e6a[_0x8622cb>>>0x8&0xff]<<0x8|_0x407e6a[_0x8622cb&0xff],_0x8622cb^=_0x5947f2[_0x3fdbda/_0x102389|0x0]<<0x18),_0x503f7c[_0x3fdbda]=_0x503f7c[_0x3fdbda-_0x102389]^_0x8622cb);for(var _0x5cdef8=this[_0x488e78(0x42a)]=[],_0x15f72f=0x0;_0x15f72f<_0x565a72;_0x15f72f++){var _0x3fdbda=_0x565a72-_0x15f72f;if(_0x15f72f%0x4)var _0x8622cb=_0x503f7c[_0x3fdbda];else var _0x8622cb=_0x503f7c[_0x3fdbda-0x4];_0x15f72f<0x4||_0x3fdbda<=0x4?_0x5cdef8[_0x15f72f]=_0x8622cb:_0x5cdef8[_0x15f72f]=_0x5c6ddd[_0x407e6a[_0x8622cb>>>0x18]]^_0x5dd6d0[_0x407e6a[_0x8622cb>>>0x10&0xff]]^_0x2ef31d[_0x407e6a[_0x8622cb>>>0x8&0xff]]^_0x5ab4c0[_0x407e6a[_0x8622cb&0xff]];}}},'encryptBlock':function(_0x33e3a4,_0x4bf9fb){var _0x34e779=_0x2b908b;this[_0x34e779(0x231)](_0x33e3a4,_0x4bf9fb,this[_0x34e779(0x288)],_0x3f97af,_0x87de99,_0x3a4084,_0x21db66,_0x407e6a);},'decryptBlock':function(_0xee68fb,_0x19a32b){var _0x4966a7=_0x2b908b,_0x2fc5b3=_0xee68fb[_0x19a32b+0x1];_0xee68fb[_0x19a32b+0x1]=_0xee68fb[_0x19a32b+0x3],_0xee68fb[_0x19a32b+0x3]=_0x2fc5b3,this[_0x4966a7(0x231)](_0xee68fb,_0x19a32b,this[_0x4966a7(0x42a)],_0x5c6ddd,_0x5dd6d0,_0x2ef31d,_0x5ab4c0,_0x4a7ee1);var _0x2fc5b3=_0xee68fb[_0x19a32b+0x1];_0xee68fb[_0x19a32b+0x1]=_0xee68fb[_0x19a32b+0x3],_0xee68fb[_0x19a32b+0x3]=_0x2fc5b3;},'_doCryptBlock':function(_0x217ae6,_0x247e5a,_0x98eb63,_0x4843ec,_0x4e9627,_0xf079e,_0xfbaf7f,_0x3178ed){for(var _0x32457a=this['_nRounds'],_0x3bae6d=_0x217ae6[_0x247e5a]^_0x98eb63[0x0],_0x2dee23=_0x217ae6[_0x247e5a+0x1]^_0x98eb63[0x1],_0x30e0be=_0x217ae6[_0x247e5a+0x2]^_0x98eb63[0x2],_0x228830=_0x217ae6[_0x247e5a+0x3]^_0x98eb63[0x3],_0x2719b8=0x4,_0x193cfa=0x1;_0x193cfa<_0x32457a;_0x193cfa++){var _0x4a2f54=_0x4843ec[_0x3bae6d>>>0x18]^_0x4e9627[_0x2dee23>>>0x10&0xff]^_0xf079e[_0x30e0be>>>0x8&0xff]^_0xfbaf7f[_0x228830&0xff]^_0x98eb63[_0x2719b8++],_0x32267e=_0x4843ec[_0x2dee23>>>0x18]^_0x4e9627[_0x30e0be>>>0x10&0xff]^_0xf079e[_0x228830>>>0x8&0xff]^_0xfbaf7f[_0x3bae6d&0xff]^_0x98eb63[_0x2719b8++],_0x52e1b2=_0x4843ec[_0x30e0be>>>0x18]^_0x4e9627[_0x228830>>>0x10&0xff]^_0xf079e[_0x3bae6d>>>0x8&0xff]^_0xfbaf7f[_0x2dee23&0xff]^_0x98eb63[_0x2719b8++],_0x7db2a3=_0x4843ec[_0x228830>>>0x18]^_0x4e9627[_0x3bae6d>>>0x10&0xff]^_0xf079e[_0x2dee23>>>0x8&0xff]^_0xfbaf7f[_0x30e0be&0xff]^_0x98eb63[_0x2719b8++];_0x3bae6d=_0x4a2f54,_0x2dee23=_0x32267e,_0x30e0be=_0x52e1b2,_0x228830=_0x7db2a3;}var _0x4a2f54=(_0x3178ed[_0x3bae6d>>>0x18]<<0x18|_0x3178ed[_0x2dee23>>>0x10&0xff]<<0x10|_0x3178ed[_0x30e0be>>>0x8&0xff]<<0x8|_0x3178ed[_0x228830&0xff])^_0x98eb63[_0x2719b8++],_0x32267e=(_0x3178ed[_0x2dee23>>>0x18]<<0x18|_0x3178ed[_0x30e0be>>>0x10&0xff]<<0x10|_0x3178ed[_0x228830>>>0x8&0xff]<<0x8|_0x3178ed[_0x3bae6d&0xff])^_0x98eb63[_0x2719b8++],_0x52e1b2=(_0x3178ed[_0x30e0be>>>0x18]<<0x18|_0x3178ed[_0x228830>>>0x10&0xff]<<0x10|_0x3178ed[_0x3bae6d>>>0x8&0xff]<<0x8|_0x3178ed[_0x2dee23&0xff])^_0x98eb63[_0x2719b8++],_0x7db2a3=(_0x3178ed[_0x228830>>>0x18]<<0x18|_0x3178ed[_0x3bae6d>>>0x10&0xff]<<0x10|_0x3178ed[_0x2dee23>>>0x8&0xff]<<0x8|_0x3178ed[_0x30e0be&0xff])^_0x98eb63[_0x2719b8++];_0x217ae6[_0x247e5a]=_0x4a2f54,_0x217ae6[_0x247e5a+0x1]=_0x32267e,_0x217ae6[_0x247e5a+0x2]=_0x52e1b2,_0x217ae6[_0x247e5a+0x3]=_0x7db2a3;},'keySize':0x100/0x20});_0x229ee7[_0x2b908b(0x467)]=_0x324590[_0x2b908b(0x46d)](_0x16fc86);}()),_0x5984bf[_0x2e1c6d(0x467)];}));}(We)),We['exports'];}var tr=er();const ir=ke(tr);var nr=Ai();function _0x484f(){var _0x36e06f=['_createHmacHelper','emitEvent','cmd','_onOffline','encryptBlock','_invKeySchedule','dispose','2002287ciGUTQ','CONFLICT','function','_snapshotServerService','Latin1','isArray','authzUrl','randomUUID','_socket$','session.room-cnt-exceeds','CHANGESET_REJ','_http','\x0aAfter:\x20','_createSocket','catch','pluginName','_createHandler','_iKey','title','/unit/','createInstance','DEFAULT_FILE_NAME','ERROR_IMAGE_TYPE','create','CHANGESET_REVISION_CONFILICT','JOIN_ROOM_NOT_EXISTS','csRejEvent','_applyRemoteChangeset','joinEvent','result','complete','_onMessage','submit\x20changeset\x20error!','createEncryptor','toggleOnline','selections','length','_clearCollaborationTimeoutTimer','open$','x-univer-host','getTargetByPermissionId','_eventService','OTHER_CLIENT_EDITING','saveSnapshot','application/json','getCurrentUser','getValue','_roomMembers','update','[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.','deepClone','auth.needGotoLoginAlert','_lockTransition','SNAPSHOT_HAS_BEEN_REMOVED','_state','_onUserLeave','getAllMembers','requestParams','fetch_missing','AES','pending','extend','?size=','_collaborationUIEventService','_permissionService','_createHelper','_doProcessBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformIME','_removeRoom','_sendingTimer','_unlockTransition','_scheduleCollaborationTimeoutTimer','error$','finalize','mixIn','updatePermissionPoint','_resendTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PERMISSION_REJ','_transformSelections','waitForRoom$','[CollaborationSessionService]','UnitEmbedded','socket$','_nRounds','origin','__esModule','getCurrentRevOfUnit','TOO_MANY_REQUESTS','{fileID}','collaborators','fetchMissingChangesets','_showConflictNotification','_checkMissing','_authzIoService','state','_process','rng','OpenSSL','_pendingMutations','max','isPermissionRej','_getDownloadEndpointURL','init','\x20in\x20_schedule.','NoPadding','_onJoinRoomEvent','COLLAB_WEB_SOCKET_URL','rev','reqId','_userManagerService','[OfflineState]:\x20received\x20changeset.','unitId','_onCombEvent','getCurrentUnitForType','_hash','_emitMembers','_initRequestHeader','splice','Base64','_onRemoteRejected','_waitCount','reverse','shouldCloseConn','_syncEditingCollabCursor','\x0aCurrent:\x20','close$','now','_oKey','unsubscribe','c2Prime','_timeoutTimer','getRandomValues','transformUndoRedo','UNAUTHENTICATED','symbol','avatar','closeSession','onCommandExecuted','_toggleOnline','_getCurrentRevision','SerializableCipher','JOIN','exports','event$','every','downloadEndpointUrl','_clearScheduledTask','ruleRefresh','_sessionStatus$','newCsEvent','charCodeAt','_unitID','_transformStack','LIVESHARE_REQUEST_HOST','startsWith','reject','online$','get','[CollaborationSessionService]:\x20socket\x20error','INGEST','stopTime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERSON','responseType','Decryptor','_collaborationTimeoutTimer','search','objectActions','NEW_CHANGESETS','_initUnitPermissionChange','append','members$','ALREADY_EXISTS','onRemoteChangeset','JOINING','_collabSessionService','_localeService','_networkConditionService','collabSubmitChangesetUrl','FileId','_doReset','_submitChangeset','ciphertext','transformStack\x20failed!','onTransformRemoteChangesetByIMECache','CBC','_replaceFileID','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','incrementRevOfUnit','1123926IDDhhz','compose','getSheetBlock','APPLY_REJECT','_config','_commentUpdate$','_substituteUndoStack','min','getOwnPropertyDescriptor','_event$','entityInit$','CHANGESET_ACK','MSG_FOR_ERROR','confirm','_socketReady','Undefined','saveChangeset','\x20to\x20','size','charAt','textRanges','entries','c1Prime','clone','wsSessionTicketUrl','execute','HEARTBEAT','_reverseMap','_getUploadFileURL','status','getMember','UNIVER_DOC','UNISCRIPT_RUN','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','[CollaborationEntity]','_retryCount','[PendingState]:\x20received\x20acknowledgement.','withCredentials','then','BASE64','UNKNOWN_CODE','pad','\x20-\x20','Error\x20on\x20receiving\x20event','_loadDoc','url','_exhaustRemoteChangesetQueue','_transformRemoteChangesetByStateCache','USERS_ENTER','COMMENT_UPDATE','_imageSourceCache','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','updateMember','CHANGESET_SHOULD_RETRY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','GLOBAL_ROOMS_CNT_EXCEEDS','collaboratorID','snapshotServerUrl','_map','__creator','onTransformRemoteChangesetByStateCache','csShouldRetryEvent','FETCH_MISSING','HMAC','PERMISSION_DENIED','UNKNOWN_CMD','batchAllowed','getResourcesRequest','Base','values','indexOf','updatePermissionObjEvent','delete','/resources','OTHER_CLIENTS_EDITING','_collaborationPaused','state$','transformSelections','YUUMI_UNABLE_LOAD_URL','getSnapshotAPIPath','roles','_socketService','toString','Utf8','awaiting_with_pending','workbook','commentUpdate$','unitID','resend','_doCryptBlock','Hasher','routeKey','_hasher','getTime','revision','_change$','location','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','hasOwnProperty','_schedule','addHandlerCallback','SUBMIT_CHANGESET_TIMEOUT','BlockCipher','$super','find','_sendHeartbeat','decrypt','_parse','_snapshotService','_getSignURL','_entityInit$','toLowerCase','EvpKDF','unpad','_tryEnsureSocket','YUUMI_RATE_OVER_LIMIT','onTransformState','_handlerCallback','clear','HmacSHA1','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','snapshot','conflict','onRemoteRej','collabWebSocketUrl','string','HttpImport','SOCKET_FAILED','algo','unknown','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryInfo','onRemoteRetry','findIndex','LIVESHARE_NEW_HOST','Pkcs7','fetchMiss','&assign=','HELLO','_sendHeartbeatTimer','objectID','_init','UPDATE_PERMISSION_OBJ','LICENSE_MAX_UNITS_EXCEEDED','Univer','YUUMI_SUBSCRIPTION_NOT_FOUND','_append','call','_sheetTransformSelectionsService','_clearUndo','change$','onCommentUpdate','_mode','collaMsg','_keyPriorReset','_data','stringify','session','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','setWaitCount','SYNCED','loadSheet','objectType','AUTHZ_URL_KEY','_onRemoteRetry','_unitInfo$','USERS_LEAVE','enableOfflineEditing','_undoRedoService','add','FETCH_MISS','Encryptor','signUrlServerUrl','_transformIMECache','UNIVER_PROJECT','executeCommand','_keySchedule','data','_getCtorByUniverType','save\x20fail\x20reason\x20is\x20','Workbook','retryConnectingInterval','_getUndoStack','forEach','href','telemetry\x20info\x20is\x20not\x20initialized','_transitionLocked','StreamCipher','_onConnectionFailed','target','_substituteRedoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','INTERNAL_ERROR','/universer-api/comb','focused$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateStatus','onlyLocal','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOffline','_getRedoStack','changesets','encodeURIComponent','includes','_instanceService','[FetchMissState]','_awaitingChangeset','clamp','onStarting','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/oidc/authpage','onSendChangeset','NOT_FOUND','originalMeta','actions','_transformService','abs','MD5','setCurrentUser','getUnitOnRev','getInterceptPoints','_status$','readInt32LE','UUID','PSEUDO_FETCH_MISSING_RESULT','APPLY_DUPLICATED','slice','_decreaseWaiting','allowed','_initDependencies','JOIN_ROOM_FULL','_onUserJoin','_acknowledgedAwaitingChangeset','getCollabEntity$','setShowComponents','onMissingChangesets','getImageSourceCache','filter','_getSendChangesetTimeout','univer-pro.collaboration-client.single-active-unit-service','list','sid','PasswordBasedCipher','_initMergeInterceptor','_rescheduleHeartbeat','APPLY_REVISION_CONFILICT','collaboration-client.config','kdf','APPLY_PERMISSION_DENIED','[CollaborationState]:\x20apply\x20error!','_updateState','error','loginUrlKey','_clearTimeoutTimer','refreshPermission','join','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20rejection.','mutations','[CollaborationUndoRedoService]','2575886spvIzX','subType','WordArray','SNAPSHOT_URL_KEY','crypto','UNIVER_SHEET','HttpExport','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_waitForHeartbeatResponse','_configService','_registerDependencies','_collaborationSessionService','dispose$','concat','762276lbQNqM','byteLength','m2Prime','keySize','infoRsp','members','onLocalMutation','fetchThroughInterceptors','action','clearUndoRedo','_loadSheet','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveImage','cfg','_members$','&source=','_shouldReportTelemetry','listRoles','LIVESHARE_TERMINATE','_getAPIPrefix','AWAITING_WITH_PENDING','/universer-api/authz','image/jpg','override','apply','has','getUnit','_stopTelemetryCollaborationNewChangeset','_onFetchMissResult','_fetchMissChangesets','sheets','BufferedBlockAlgorithm','_compressMutationService','_nDataBytes','objects','/rev/','/object/','csAckEvent','requireSession','memberID','permissionRejEvent','getTypeOfUnitDisposed$','baseRev','roomInfos','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','offline','/block/','getMemberID','copyFileMeta','value','HEARTBEAT_TIMEOUT','_disableEditing','_onRecvEvent','LIVESHARE_FETCH_OPERATIONS','image/png','17061327UhpvnA','HEARTBEAT_INTERVAL','getUnitType','_sessions','uniscriptRunEvent','NO_OTHER_CLIENTS_EDITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','UNDEFINED','src','/universer-api/snapshot','_ENC_XFORM_MODE','sessionStatus$','HmacMD5','close','_initCloseConn','univer-pro.collaboration-client-socket-service','_clearLocalCache','getImage','_logService','mode','/allowed','_prevBlock','liveShareOperation','loadOfflineData','COMPRESS_MUTATION_APPLY','enc','duration','_cipher','_createSocketURL','padding','status$','FAIL','transformChangesets','UNIVER_SLIDE','RECV','message$','_executeRemoteChangeset','_singleActiveUnitService','ONLINE','_key','asObservable','CONNECTOR_DATA_TOO_LARGE','reconnect','resourceIDs','loadDoc','Malformed\x20UTF-8\x20data','encrypt','/universer-api/uniscript','socket\x20close','UPDATE_CURSOR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','awaitingChangeset','random','userID','not_collab','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_PERMISSION_DENIED','/universer-api/user/session-ticket','/fetchmissing?from=','getLatestCsReqIdBySid','_onConnectionOpen','CipherParams','UNRECOGNIZED','_queuedRemoteChangesets','awaiting','_onConflict','fetching\x20missing\x20changesets\x20from\x20','LICENSE_IMPORT_SIZE_EXCEEDED','unit-cache-','_socket','_listenToNetworkCondition','_clearRedo','name','ERROR_EXCEED_SIZE','connection\x20error','repeat','failed\x20to\x20apply\x20missed\x20changesets!','_changesetSessionId','getUnitId','8aSntvo','leaveEvent','/role','SUBMIT_CHANGESET','_state$','_onRemoteACK','hasher','_updateLocalCache','SelectRange','pipe','_resendTimeout','_toggleOffline','initWorkbookPermissionChange','synced','substr','_commentService','registerHTTPInterceptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','reset','MUTATION','onSyncEditingCollabCursor','_onRemoteChangeset','sigBytes','unitInfo$','readyForCollab','onStateChange','[DataLoaderService]','/universer-api/file/{fileID}/sign-url','SHA1','_localCacheService','disposeWithMe','saveSheetBlock','[CollaborationSession]','/universer-api/stream/file/upload','_injector','next','Worksheet','70jUGLEm','bind','compute','push','floor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','AWAITING','BlockCipherMode','loadUnit','createSocket','8758610IeAJBH','_throwTelemetryCollaborationNewChangeset','from','JOIN_ROOM_FAILED','_clearHeartbeatTimer','deleteCollaborator','localCacheService','getConfig','sin','_roomCreated$','_xformMode','socket\x20open.','_memberService','words','_getAPIPrefixPath','LICENSE_DISTRO_REJECTED','_remoteChangesetQueue','_members','method','_commandService','LOCAL_CACHE_INTERVAL','hostname','getCollabEntity','_DEC_XFORM_MODE','defineProperty','appendMutation','LICENSE_EXPORT_SIZE_EXCEEDED','send','interceptor','encode','session.join-failed','COMPRESS_MUTATION_SEND','LEAVE','addImageSourceCache','subject','default','_transformStateCache','_socketMessageSubscription','_tryReconnect','_sender','/collaborator','_handler','univer-pro.collaboration-client.network-condition.service','getUnitStatus$','session.room-full','_iv','image/bmp','_univerInstanceService','_onLocalMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_httpService','decryptBlock','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','byteOffset','Hex','format','_revisionService','subscribe','_candidateSocket','_transformRemoteChangesetByIMECache','set','startTime','ws://127.0.0.1:8000/universer-api/comb/connect','_createInitialState','json','msCrypto','_doFinalize','IDLE','onTransformSelections','YUUMI_URL_COL_OUT_OF_RANGE','post','removeMember','SNAPSHOT_SERVER_URL_KEY','liveShareNewHost','POST','ceil','onMissedChangesetFetched','subUnitId','salt','lib','runId','SHOULD_CLOSE_CONN','params','collaboration-client.local-cache-service','getFocusedUnit','blockSize','randomBytes','getDeserializedSheetBlock','_resendWithTimeout','reduce','_type','PENDING','prototype','ivSize','joinRsp','body','transformMutationsWithChangeset','CLOSE_ROOM','getCurrentSelections','_isPermissionRej','_startTelemetryCollaborationNewChangeset','debug','_telemetryService','type','_undoStacks','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','eventID','localeService','_replayCachedMutations','_entities','SEND_CHANGESET_TIMEOUT','_retryConnectingTimer','getRoom','RETRY_CONNECTING_MAX_COUNT','4240552uUVmoi','parse','onRemoteAck','_incrementRevisionNumber','socketService','map','_HTTPService','OFFLINE','_changesetReqId','code','[OfflineState]:\x20received\x20acknowledgement.','ERROR_IMAGE','_startCollaboration','fromCharCode','image/jpeg','getTypeOfUnitAdded$','INVALID_ARGUMENT','put'];_0x484f=function(){return _0x36e06f;};return _0x484f();}const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x3817ac(0x1a6)],hi;function rr(){var _0x217e37=_0x3817ac;return hi||(hi=0x1,function(_0x5793e3,_0x41d2ec){(function(_0x12e744,_0x4b41fe){var _0x5ec13d=_0x7017;_0x5793e3[_0x5ec13d(0x1a6)]=_0x4b41fe(ne());}(sr,function(_0xa801dd){var _0x101cf9=_0x7017;return _0xa801dd[_0x101cf9(0x33b)][_0x101cf9(0x22b)];}));}(Ze)),Ze[_0x217e37(0x1a6)];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe[_0x3817ac(0x1a6)],_i;function hr(){var _0x29534e=_0x3817ac;return _i||(_i=0x1,function(_0x4cf020,_0x2599ac){(function(_0x1db022,_0x20fa72){var _0x5cccb0=_0x7017;_0x4cf020[_0x5cccb0(0x1a6)]=_0x20fa72(ne());}(cr,function(_0x14e1e9){var _0xeb05df=_0x7017;return(function(){var _0xbf41b4=_0x7017;if(typeof ArrayBuffer==_0xbf41b4(0x42e)){var _0x3d7cdc=_0x14e1e9,_0x372345=_0x3d7cdc['lib'],_0x51e2cb=_0x372345[_0xbf41b4(0x2de)],_0x41dac9=_0x51e2cb[_0xbf41b4(0x494)],_0x2f9561=_0x51e2cb[_0xbf41b4(0x494)]=function(_0x20641c){var _0x531621=_0xbf41b4;if(_0x20641c instanceof ArrayBuffer&&(_0x20641c=new Uint8Array(_0x20641c)),(_0x20641c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20641c instanceof Uint8ClampedArray||_0x20641c instanceof Int16Array||_0x20641c instanceof Uint16Array||_0x20641c instanceof Int32Array||_0x20641c instanceof Uint32Array||_0x20641c instanceof Float32Array||_0x20641c instanceof Float64Array)&&(_0x20641c=new Uint8Array(_0x20641c['buffer'],_0x20641c[_0x531621(0x3d6)],_0x20641c['byteLength'])),_0x20641c instanceof Uint8Array){for(var _0x1e7013=_0x20641c[_0x531621(0x2eb)],_0x469624=[],_0x403e8a=0x0;_0x403e8a<_0x1e7013;_0x403e8a++)_0x469624[_0x403e8a>>>0x2]|=_0x20641c[_0x403e8a]<<0x18-_0x403e8a%0x4*0x8;_0x41dac9[_0x531621(0x26b)](this,_0x469624,_0x1e7013);}else _0x41dac9[_0x531621(0x302)](this,arguments);};_0x2f9561[_0xbf41b4(0x3fd)]=_0x51e2cb;}}()),_0x14e1e9[_0xeb05df(0x3f0)][_0xeb05df(0x2de)];}));}(Qe)),Qe[_0x29534e(0x1a6)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et[_0x3817ac(0x1a6)],li;function dr(){return li||(li=0x1,function(_0x77f156,_0x3a9ac9){(function(_0x47635f,_0x12c7b8,_0x5eb0e4){var _0x252809=_0x7017;_0x77f156[_0x252809(0x1a6)]=_0x12c7b8(ne(),Li());}(ur,function(_0x29f30f){var _0xd6752a=_0x7017;return _0x29f30f[_0xd6752a(0x201)][_0xd6752a(0x496)]={'pad':function(){},'unpad':function(){}},_0x29f30f[_0xd6752a(0x201)][_0xd6752a(0x496)];}));}(et)),et['exports'];}var fr=dr();const vr=ke(fr);function pr(_0x1b10b1,_0x997162){var _0x5db4a6=_0x3817ac;const _0x5a7f56=_0x997162-_0x1b10b1[_0x5db4a6(0x450)]%_0x997162,_0x1d1894=String[_0x5db4a6(0x420)](_0x5a7f56)[_0x5db4a6(0x36d)](_0x5a7f56);return _0x1b10b1+_0x1d1894;}function mr(_0x29854d,_0x4a0f3a){var _0x5485f9=_0x3817ac;const _0x27d720=lr[_0x5485f9(0x356)](0x10),_0x18796f=pr(_0x29854d,0x10),_0x120e6f=ir[_0x5485f9(0x350)](ar['parse'](_0x18796f),ci[_0x5485f9(0x414)](_0x4a0f3a),{'iv':_0x27d720,'padding':vr});return _0x27d720[_0x5485f9(0x2e9)](_0x120e6f[_0x5485f9(0x1ce)])['toString'](ci);}function gr(){var _0x3f3856=_0x3817ac;const _0x44ac86=_0x13e641()['__Key__'];if(_0x44ac86){const _0x30c52a={'time':Math[_0x3f3856(0x39a)](Date[_0x3f3856(0x4ac)]()/0x3e8),'domain':location[_0x3f3856(0x3b5)]};return mr(JSON[_0x3f3856(0x274)](_0x30c52a),_0x44ac86);}}var Sr=Object['defineProperty'],Er=Object['getOwnPropertyDescriptor'],Ir=(_0x313acb,_0x7f241e,_0x89500a,_0x302b28)=>{var _0x1abee4=_0x3817ac;for(var _0x5d6d91=_0x302b28>0x1?void 0x0:_0x302b28?Er(_0x7f241e,_0x89500a):_0x7f241e,_0x16d9fd=_0x313acb[_0x1abee4(0x450)]-0x1,_0x5177b2;_0x16d9fd>=0x0;_0x16d9fd--)(_0x5177b2=_0x313acb[_0x16d9fd])&&(_0x5d6d91=(_0x302b28?_0x5177b2(_0x7f241e,_0x89500a,_0x5d6d91):_0x5177b2(_0x5d6d91))||_0x5d6d91);return _0x302b28&&_0x5d6d91&&Sr(_0x7f241e,_0x89500a,_0x5d6d91),_0x5d6d91;},Tr=(_0x478019,_0x29631b)=>(_0x4f3a16,_0x1e0ae7)=>_0x29631b(_0x4f3a16,_0x1e0ae7,_0x478019);let at=class{constructor(_0x27c3e7){var _0x8753c7=_0x3817ac;this[_0x8753c7(0x3d2)]=_0x27c3e7,this[_0x8753c7(0x4a2)]();}[_0x3817ac(0x4a2)](){var _0x37ef49=_0x3817ac;this['_httpService'][_0x37ef49(0x381)]({'interceptor':(_0x4ed34a,_0x230901)=>{var _0x58b8f2=_0x37ef49;const _0x116235=_0x4ed34a[_0x58b8f2(0x1d5)],_0x2bd293=gr();return _0x2bd293&&_0x116235['set'](_0x58b8f2(0x453),_0x2bd293),_0x230901(_0x4ed34a);}});}};at=Ir([Tr(0x0,_0x880ce4(_0x157352))],at);var Cr=Object[_0x3817ac(0x3b8)],br=Object[_0x3817ac(0x1df)],Rr=(_0x429956,_0x3b525a,_0x390bf1,_0xb8a676)=>{var _0x4685c6=_0x3817ac;for(var _0x17946c=_0xb8a676>0x1?void 0x0:_0xb8a676?br(_0x3b525a,_0x390bf1):_0x3b525a,_0x52ec05=_0x429956[_0x4685c6(0x450)]-0x1,_0x3789b0;_0x52ec05>=0x0;_0x52ec05--)(_0x3789b0=_0x429956[_0x52ec05])&&(_0x17946c=(_0xb8a676?_0x3789b0(_0x3b525a,_0x390bf1,_0x17946c):_0x3789b0(_0x17946c))||_0x17946c);return _0xb8a676&&_0x17946c&&Cr(_0x3b525a,_0x390bf1,_0x17946c),_0x17946c;},gt=(_0x12d27f,_0x56dad9)=>(_0x3f3942,_0x295429)=>_0x56dad9(_0x3f3942,_0x295429,_0x12d27f);let Ot=class extends _0x9c8dcc{constructor(_0x4dcb0e,_0x9cc4c,_0xe2d5e6){var _0x2e6158=_0x3817ac;super(),P(this,_0x2e6158(0x27d),new _0x576e29(null)),P(this,_0x2e6158(0x388),this[_0x2e6158(0x27d)]['asObservable']()),(this['_logService']=_0x4dcb0e,this[_0x2e6158(0x244)]=_0x9cc4c,this[_0x2e6158(0x38e)]=_0xe2d5e6);}async[_0x3817ac(0x39e)](_0x717901,_0x3c5650,_0x17593e){var _0x5c60a8=_0x3817ac;this[_0x5c60a8(0x27d)][_0x5c60a8(0x394)]({'unitId':_0x717901,'type':_0x3c5650,'subUnitId':_0x17593e});let _0x194d00=null;switch(_0x3c5650){case Q['UNIVER_SHEET']:{_0x194d00=await this['_loadSheet'](_0x717901);break;}case Q['UNIVER_DOC']:{_0x194d00=await this[_0x5c60a8(0x204)](_0x717901);break;}default:{this[_0x5c60a8(0x334)][_0x5c60a8(0x2d3)](_0x5c60a8(0x38b),_0x5c60a8(0x46f));break;}}return _0x194d00;}async[_0x3817ac(0x2f4)](_0x10b82e){var _0x45f098=_0x3817ac,_0x20904b;let _0x229457=0x0;const _0x30c6bb=await((_0x20904b=this['_localCacheService'])==null?void 0x0:_0x20904b[_0x45f098(0x339)](_0x10b82e));return _0x30c6bb&&(_0x30c6bb[_0x45f098(0x355)]||_0x30c6bb[_0x45f098(0x2da)][_0x45f098(0x450)]!==0x0)&&(_0x229457=_0x30c6bb[_0x45f098(0x499)]),_0x229457===0x0&&this[_0x45f098(0x334)][_0x45f098(0x406)](_0x45f098(0x38b),_0x45f098(0x40a)),this[_0x45f098(0x244)][_0x45f098(0x279)](_0x10b82e,_0x229457);}async[_0x3817ac(0x204)](_0x3025a9){var _0x1b808d=_0x3817ac,_0x2b06a0;let _0x197dca=0x0;const _0x390250=await((_0x2b06a0=this['_localCacheService'])==null?void 0x0:_0x2b06a0[_0x1b808d(0x339)](_0x3025a9));return _0x390250&&(_0x390250['awaitingChangeset']||_0x390250[_0x1b808d(0x2da)][_0x1b808d(0x450)]!==0x0)&&(_0x197dca=_0x390250[_0x1b808d(0x499)]),_0x197dca===0x0&&this[_0x1b808d(0x334)][_0x1b808d(0x406)](_0x1b808d(0x38b),_0x1b808d(0x40a)),this['_snapshotService'][_0x1b808d(0x34e)](_0x3025a9,_0x197dca);}};Ot=Rr([gt(0x0,_0x3b11ba),gt(0x1,_0x880ce4(_0x1b376d)),gt(0x2,_0x1d2db0(X))],Ot);var yr=Object[_0x3817ac(0x3b8)],Or=Object['getOwnPropertyDescriptor'],Nr=(_0x5a8117,_0xa576e6,_0x4855e8,_0x55ccf6)=>{for(var _0x3eb6e5=_0x55ccf6>0x1?void 0x0:_0x55ccf6?Or(_0xa576e6,_0x4855e8):_0xa576e6,_0x903a7f=_0x5a8117['length']-0x1,_0x19f961;_0x903a7f>=0x0;_0x903a7f--)(_0x19f961=_0x5a8117[_0x903a7f])&&(_0x3eb6e5=(_0x55ccf6?_0x19f961(_0xa576e6,_0x4855e8,_0x3eb6e5):_0x19f961(_0x3eb6e5))||_0x3eb6e5);return _0x55ccf6&&_0x3eb6e5&&yr(_0xa576e6,_0x4855e8,_0x3eb6e5),_0x3eb6e5;},St=(_0x433531,_0x11193e)=>(_0x5ba52f,_0x83f688)=>_0x11193e(_0x5ba52f,_0x83f688,_0x433531);const Pr=[_0x3817ac(0x320),_0x3817ac(0x421),_0x3817ac(0x300),'image/gif',_0x3817ac(0x3ce)],Dr=0x5*0x400*0x400,wr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ur=_0x3817ac(0x392),Ar=_0x3817ac(0x2e3),xr=_0x3817ac(0x38c);let Nt=class{constructor(_0x1d5451,_0x50830c,_0x42c831){var _0x11d5f3=_0x3817ac;P(this,_0x11d5f3(0x4a6),0x0),P(this,_0x11d5f3(0x237),new _0x560c85()),P(this,_0x11d5f3(0x26e),this[_0x11d5f3(0x237)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1d5451,this['_configService']=_0x50830c,this[_0x11d5f3(0x3cf)]=_0x42c831);}[_0x3817ac(0x277)](_0x561151){var _0x2b2fca=_0x3817ac;this['_waitCount']=_0x561151,this[_0x2b2fca(0x237)]['next'](_0x561151);}[_0x3817ac(0x2c4)](_0x1c8599,_0x39a217){var _0x302425=_0x3817ac;if(_0x39a217===_0xbb2960[_0x302425(0x1ff)]){const _0x263a0d=new Image();return _0x263a0d[_0x302425(0x32a)]=_0x1c8599,_0x263a0d;}return this[_0x302425(0x20a)][_0x302425(0x1b5)](_0x1c8599);}[_0x3817ac(0x3c1)](_0x2e5f3b,_0x260799,_0x19b285){var _0x529956=_0x3817ac;_0x260799===_0xbb2960[_0x529956(0x1ff)]||_0x19b285==null||this['_imageSourceCache'][_0x529956(0x3dd)](_0x2e5f3b,_0x19b285);}async[_0x3817ac(0x333)](_0x2f68c1){var _0x321b24=_0x3817ac;try{const _0x109020=this['_replaceFileID'](this[_0x321b24(0x245)](),''+_0x2f68c1),_0x7a379b=(await this[_0x321b24(0x3d2)][_0x321b24(0x1b5)](_0x109020))[_0x321b24(0x400)];if(_0x7a379b[_0x321b24(0x2d3)]&&_0x7a379b[_0x321b24(0x2d3)][_0x321b24(0x41c)]===Ci['OK']){const _0xbcf5e7=new URL(_0x7a379b[_0x321b24(0x205)],this[_0x321b24(0x493)]())['toString']();return Promise['resolve'](_0xbcf5e7);}return Promise['reject'](_0x7a379b['error']);}catch(_0x132cc0){return Promise[_0x321b24(0x1b3)](_0x132cc0);}}async[_0x3817ac(0x2f6)](_0x43e2fc){var _0x10e952=_0x3817ac;let _0x41e3b7='';if(!Pr[_0x10e952(0x2a3)](_0x43e2fc[_0x10e952(0x408)]))return this[_0x10e952(0x2bb)](),Promise['reject'](new Error(_0xff6d54[_0x10e952(0x442)]));if(_0x43e2fc[_0x10e952(0x1e9)]>Dr)return this[_0x10e952(0x2bb)](),Promise[_0x10e952(0x1b3)](new Error(_0xff6d54[_0x10e952(0x36b)]));try{const _0x417190=new FormData();_0x417190[_0x10e952(0x1c2)]('file',_0x43e2fc);const _0x395416=this[_0x10e952(0x3cf)][_0x10e952(0x3f5)](),_0xd34214=_0x395416==null?void 0x0:_0x395416['getUnitId']();if(!_0xd34214)throw new Error('unitId\x20is\x20not\x20found');const _0x5a38b0=this[_0x10e952(0x1f3)]()+_0x10e952(0x46a)+_0x43e2fc['size'][_0x10e952(0x22a)]()+_0x10e952(0x2f9)+bi['UnitEmbedded']+_0x10e952(0x261)+encodeURIComponent(_0xd34214),_0x31caff=await(await fetch(_0x5a38b0,{'method':'POST','body':_0x417190}))[_0x10e952(0x3e1)]();if(typeof _0x31caff[_0x10e952(0x1cb)]!='string')return this[_0x10e952(0x2bb)](),Promise[_0x10e952(0x1b3)](new Error(_0xff6d54[_0x10e952(0x41e)]));_0x41e3b7=_0x31caff[_0x10e952(0x1cb)];}catch{return this[_0x10e952(0x2bb)](),Promise['reject'](new Error(_0xff6d54[_0x10e952(0x41e)]));}return new Promise((_0x144104,_0x178426)=>{const _0x91da0d=new FileReader();_0x91da0d['readAsDataURL'](_0x43e2fc),_0x91da0d['onload']=_0x23a18a=>{var _0x2ca5a9=_0x7017,_0x26a7aa;const _0x5741c6=(_0x26a7aa=_0x23a18a[_0x2ca5a9(0x295)])==null?void 0x0:_0x26a7aa[_0x2ca5a9(0x449)];if(_0x5741c6==null){this[_0x2ca5a9(0x2bb)](),_0x178426(new Error(_0xff6d54['ERROR_IMAGE']));return;}const _0x56d271=_0x19a3c3['generateRandomId'](0x6);_0x144104({'imageId':_0x56d271,'imageSourceType':_0xbb2960[_0x2ca5a9(0x2b7)],'source':_0x41e3b7,'base64Cache':_0x5741c6,'status':_0xff6d54['SUCCUSS']}),this[_0x2ca5a9(0x2bb)]();};});}['_getUploadFileURL'](){var _0x3a241a=_0x3817ac,_0x33918d,_0x1b3af0;const _0x19772f=this[_0x3a241a(0x2e5)][_0x3a241a(0x3a7)](wr),_0x3d50bf=this['_configService']['getConfig'](Y);return(_0x1b3af0=(_0x33918d=_0x3d50bf==null?void 0x0:_0x3d50bf['uploadFileServerUrl'])!=null?_0x33918d:_0x19772f)!=null?_0x1b3af0:Ur;}[_0x3817ac(0x245)](){var _0x2614bc=_0x3817ac,_0x67e2f4,_0x2fb7b2;const _0x11d983=this['_configService'][_0x2614bc(0x3a7)](Ar),_0x12b036=this[_0x2614bc(0x2e5)][_0x2614bc(0x3a7)](Y);return(_0x2fb7b2=(_0x67e2f4=_0x12b036==null?void 0x0:_0x12b036[_0x2614bc(0x284)])!=null?_0x67e2f4:_0x11d983)!=null?_0x2fb7b2:xr;}['_getDownloadEndpointURL'](){var _0xe732b3=_0x3817ac,_0x1a8265;const _0x40d70b=this[_0xe732b3(0x2e5)]['getConfig'](Y);return(_0x1a8265=_0x40d70b==null?void 0x0:_0x40d70b[_0xe732b3(0x1a9)])!=null?_0x1a8265:location[_0xe732b3(0x482)];}[_0x3817ac(0x1d2)](_0x491a69,_0x31cc5a){var _0x228e10=_0x3817ac;return _0x491a69['replace'](_0x228e10(0x486),_0x31cc5a);}[_0x3817ac(0x2bb)](){var _0x119a4a=_0x3817ac;this['_waitCount']-=0x1,this[_0x119a4a(0x237)]['next'](this[_0x119a4a(0x4a6)]);}};Nt=Nr([St(0x0,_0x880ce4(_0x157352)),St(0x1,_0x268506),St(0x2,_0x880ce4(_0x369bbf))],Nt);var Lr=Object[_0x3817ac(0x3b8)],Mr=Object[_0x3817ac(0x1df)],$r=(_0x5b9600,_0x17397c,_0x2d2d80,_0x31dfe6)=>{var _0x5e5c73=_0x3817ac;for(var _0x28d75f=_0x31dfe6>0x1?void 0x0:_0x31dfe6?Mr(_0x17397c,_0x2d2d80):_0x17397c,_0x5e14f2=_0x5b9600[_0x5e5c73(0x450)]-0x1,_0x26b6dd;_0x5e14f2>=0x0;_0x5e14f2--)(_0x26b6dd=_0x5b9600[_0x5e14f2])&&(_0x28d75f=(_0x31dfe6?_0x26b6dd(_0x17397c,_0x2d2d80,_0x28d75f):_0x26b6dd(_0x28d75f))||_0x28d75f);return _0x31dfe6&&_0x28d75f&&Lr(_0x17397c,_0x2d2d80,_0x28d75f),_0x28d75f;},ui=(_0xef092d,_0x2889a3)=>(_0x2a77e1,_0x12f289)=>_0x2889a3(_0x2a77e1,_0x12f289,_0xef092d);const Hr=_0x3817ac(0x2ff);let Pt=class{constructor(_0x3c6fa9,_0x5339de){var _0x49623e=_0x3817ac;this['_configService']=_0x3c6fa9,this[_0x49623e(0x419)]=_0x5339de;}[_0x3817ac(0x3ae)](){var _0x9efcfb=_0x3817ac,_0x454c6a,_0x125315;const _0x2df453=this[_0x9efcfb(0x2e5)]['getConfig'](Ui),_0x3e7a56=this['_configService'][_0x9efcfb(0x3a7)](Y);return(_0x125315=(_0x454c6a=_0x3e7a56==null?void 0x0:_0x3e7a56[_0x9efcfb(0x432)])!=null?_0x454c6a:_0x2df453)!=null?_0x125315:Hr;}async[_0x3817ac(0x2c8)](_0x29458c){var _0x524260=_0x3817ac;const _0x593bff=this['_getAPIPrefixPath']()+_0x524260(0x3c8);return{'list':[{'title':'People','mentions':(await this[_0x524260(0x419)]['get'](_0x593bff,{'params':{'objectID':_0x29458c['unitId'],'unitID':_0x29458c[_0x524260(0x49d)]}}))[_0x524260(0x400)][_0x524260(0x487)][_0x524260(0x418)](_0x4d606e=>({'objectId':_0x4d606e['id'],'name':_0x4d606e[_0x524260(0x3c2)][_0x524260(0x36a)],'metadata':{'icon':_0x4d606e[_0x524260(0x3c2)][_0x524260(0x19f)]},'label':_0x4d606e[_0x524260(0x3c2)]['name'],'objectType':_0x54eafb[_0x524260(0x1ba)]})),'metadata':{},'type':_0x54eafb['PERSON']}]};}};Pt=$r([ui(0x0,_0x880ce4(_0x268506)),ui(0x1,_0x880ce4(_0x157352))],Pt);var kr=Object[_0x3817ac(0x3b8)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x13a70d,_0x5dc4ca,_0x16a194,_0xa40009)=>{for(var _0x2e3e36=_0xa40009>0x1?void 0x0:_0xa40009?jr(_0x5dc4ca,_0x16a194):_0x5dc4ca,_0x14d5e8=_0x13a70d['length']-0x1,_0x4f70ec;_0x14d5e8>=0x0;_0x14d5e8--)(_0x4f70ec=_0x13a70d[_0x14d5e8])&&(_0x2e3e36=(_0xa40009?_0x4f70ec(_0x5dc4ca,_0x16a194,_0x2e3e36):_0x4f70ec(_0x2e3e36))||_0x2e3e36);return _0xa40009&&_0x2e3e36&&kr(_0x5dc4ca,_0x16a194,_0x2e3e36),_0x2e3e36;},Se=(_0x2fcb40,_0x2c33c1)=>(_0xa97604,_0x4b7964)=>_0x2c33c1(_0xa97604,_0x4b7964,_0x2fcb40);let ct=class extends _0x9c8dcc{constructor(_0x430aec,_0x15dfdf,_0x2e60f6,_0x4b913a,_0x4aa417,_0x14c8bc,_0x15903b){var _0x594551=_0x3817ac;super(),this[_0x594551(0x393)]=_0x430aec,this[_0x594551(0x3cf)]=_0x15dfdf,this[_0x594551(0x46c)]=_0x2e60f6,this[_0x594551(0x2e7)]=_0x4b913a,this[_0x594551(0x46b)]=_0x4aa417,this['_authzIoService']=_0x14c8bc,this[_0x594551(0x280)]=_0x15903b,this[_0x594551(0x1c1)](),this[_0x594551(0x330)]();}['_initCloseConn'](){var _0x40b978=_0x3817ac;const _0x13940c=async _0x36f645=>{var _0x599107=_0x7017;(await this[_0x599107(0x2e7)][_0x599107(0x310)](_0x36f645))[_0x599107(0x1a7)][_0x599107(0x37a)](_0x1b785d(_0x2af1b0=>_0x2af1b0[_0x599107(0x40b)]===_0x48cdf6[_0x599107(0x3f2)]),_0x22e3d2(this[_0x599107(0x2e8)]))[_0x599107(0x3da)](_0x45dc97=>{var _0x3f2cce=_0x599107;const _0x4b264e=_0x45dc97,{reason:_0x3ec87c}=_0x4b264e[_0x3f2cce(0x289)];this[_0x3f2cce(0x46b)][_0x3f2cce(0x426)]({'id':re[_0x3f2cce(0x402)],'data':_0x3ec87c}),this['_permissionService']['updatePermissionPoint'](new _0x1fa601(_0x36f645)['id'],!0x1),this[_0x3f2cce(0x2e7)][_0x3f2cce(0x1a0)](_0x36f645);});};_0x30e992(this[_0x40b978(0x3cf)][_0x40b978(0x422)](_0x1f11e9['UNIVER_SHEET']),this[_0x40b978(0x3cf)]['getTypeOfUnitAdded$'](_0x1f11e9[_0x40b978(0x1f6)]))[_0x40b978(0x37a)](_0x24684d(_0x274c3a=>_0x274c3a['getUnitId']()),_0x1b785d(_0x2caa78=>!_0x4417ac(_0x2caa78)),_0x22e3d2(this['dispose$']))[_0x40b978(0x3da)](_0x13bf02=>{_0x13940c(_0x13bf02);});}[_0x3817ac(0x1c1)](){var _0x28939e=_0x3817ac;const _0x1eb52f=async _0x15a4a7=>{var _0x3b0d38=_0x7017;(await this[_0x3b0d38(0x2e7)]['requireSession'](_0x15a4a7))['event$'][_0x3b0d38(0x37a)](_0x1b785d(_0xc7a389=>_0xc7a389[_0x3b0d38(0x40b)]===_0x48cdf6[_0x3b0d38(0x266)]),_0x22e3d2(this[_0x3b0d38(0x2e8)]))[_0x3b0d38(0x3da)](_0x5e7ec2=>{var _0x344b6a=_0x3b0d38;const _0x10d69a=_0x5e7ec2,{objectId:_0x163570}=_0x10d69a[_0x344b6a(0x289)];_0x163570===_0x15a4a7?this[_0x344b6a(0x37d)](_0x15a4a7):this[_0x344b6a(0x2d6)](_0x15a4a7,_0x163570);});};_0x30e992(this[_0x28939e(0x3cf)][_0x28939e(0x422)](_0x1f11e9[_0x28939e(0x2e1)]),this[_0x28939e(0x3cf)][_0x28939e(0x422)](_0x1f11e9[_0x28939e(0x1f6)]))[_0x28939e(0x37a)](_0x24684d(_0x2d9646=>_0x2d9646['getUnitId']()),_0x1b785d(_0x144016=>!_0x4417ac(_0x144016)),_0x22e3d2(this[_0x28939e(0x2e8)]))[_0x28939e(0x3da)](_0x181f4d=>{_0x1eb52f(_0x181f4d);});}async[_0x3817ac(0x37d)](_0x2c2acb){var _0x4ecb1b=_0x3817ac,_0x73bbd0;const _0xd7fd8c=_0x2c2acb||((_0x73bbd0=this[_0x4ecb1b(0x3cf)][_0x4ecb1b(0x49f)](_0x1f11e9[_0x4ecb1b(0x2e1)]))==null?void 0x0:_0x73bbd0[_0x4ecb1b(0x370)]());_0xd7fd8c&&this[_0x4ecb1b(0x48b)][_0x4ecb1b(0x2bc)]({'objectID':_0xd7fd8c,'objectType':_0x4dfcaf[_0x4ecb1b(0x28c)],'unitID':_0xd7fd8c,'actions':_0x541e5e})[_0x4ecb1b(0x1fe)](_0x4ba848=>{var _0x4f1340=_0x4ecb1b;_0x4d802e()[_0x4f1340(0x28f)](_0x23b582=>{var _0x26b0c6=_0x4f1340;const _0x28e22f=new _0x23b582(_0xd7fd8c),_0x234314=_0x28e22f[_0x26b0c6(0x2dd)],_0x1300a2=_0x4ba848[_0x26b0c6(0x240)](_0x1cf68a=>_0x1cf68a[_0x26b0c6(0x2f2)]===_0x234314);_0x1300a2&&this[_0x26b0c6(0x46c)][_0x26b0c6(0x478)](_0x28e22f['id'],_0x1300a2[_0x26b0c6(0x2bc)]);});});}['refreshPermission'](_0x320076,_0xf6ef2a){var _0x21908b=_0x3817ac;const _0x50d7c7=this[_0x21908b(0x393)]['get'](_0x36a6e8),_0x3bde8e=_0x50d7c7[_0x21908b(0x454)](_0x320076,_0xf6ef2a);let _0x5157e1=!0x1;if(_0x3bde8e){const [_0x4c9ecf,_0x60261c]=_0x3bde8e;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf['Worksheet'],'actions':_0x400bf2})[_0x21908b(0x1fe)](_0x1505ad=>{var _0x5a717c=_0x21908b;let _0x1bd177='';_0x11f5cd()[_0x5a717c(0x28f)](_0x41510d=>{var _0x2b20ae=_0x5a717c,_0x254f7d;const _0x53987f=new _0x41510d(_0x320076,_0x60261c),_0x447385=_0x53987f[_0x2b20ae(0x2dd)],_0x56ac45=_0x1505ad['find'](_0x18da0b=>_0x18da0b['action']===_0x447385);_0x56ac45&&(((_0x254f7d=this['_permissionService']['getPermissionPoint'](_0x53987f['id']))==null?void 0x0:_0x254f7d[_0x2b20ae(0x31b)])!==_0x56ac45[_0x2b20ae(0x2bc)]&&(_0x5157e1=!0x0),this['_permissionService'][_0x2b20ae(0x478)](_0x53987f['id'],_0x56ac45['allowed']),_0x1bd177+=_0x56ac45['action']+'_'+_0x56ac45['allowed']);}),_0x50d7c7[_0x5a717c(0x1ab)](_0xf6ef2a+'_'+_0x1bd177),_0x5157e1&&this[_0x5a717c(0x280)][_0x5a717c(0x2f3)](_0x320076);});}const _0x406af4=this['_injector'][_0x21908b(0x1b5)](_0x2bf8b1)[_0x21908b(0x454)](_0x320076,_0xf6ef2a);if(_0x406af4){const [_0x142ff8,_0x4fc402]=_0x406af4;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf[_0x21908b(0x395)],'actions':_0x425cad})[_0x21908b(0x1fe)](_0x486a02=>{var _0x52afce=_0x21908b;_0x425436()[_0x52afce(0x28f)](_0x1139e8=>{var _0x1031e3=_0x52afce,_0x5d1870;const _0x4adb4d=new _0x1139e8(_0x320076,_0x4fc402),_0xfa99aa=_0x4adb4d['subType'],_0x1ab66b=_0x486a02[_0x1031e3(0x240)](_0x5bf793=>_0x5bf793[_0x1031e3(0x2f2)]===_0xfa99aa);_0x1ab66b&&(((_0x5d1870=this[_0x1031e3(0x46c)]['getPermissionPoint'](_0x4adb4d['id']))==null?void 0x0:_0x5d1870[_0x1031e3(0x31b)])!==_0x1ab66b[_0x1031e3(0x2bc)]&&(_0x5157e1=!0x0),this[_0x1031e3(0x46c)][_0x1031e3(0x478)](_0x4adb4d['id'],_0x1ab66b[_0x1031e3(0x2bc)]));}),_0x5157e1&&this['_undoRedoService'][_0x52afce(0x2f3)](_0x320076);});}const _0x4f4d94=this[_0x21908b(0x393)]['get'](_0x25606f),_0x512d22=_0x4f4d94[_0x21908b(0x454)](_0x320076,_0xf6ef2a);if(_0x512d22){const [_0x50a046,_0x2e8a58]=_0x512d22;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf[_0x21908b(0x379)],'actions':_0x400bf2})[_0x21908b(0x1fe)](_0x319354=>{var _0x57ad32=_0x21908b;let _0x3f0eb1='';_0x3831c2()[_0x57ad32(0x28f)](_0x1f72d3=>{var _0x5d37ee=_0x57ad32,_0x100633;const _0x19f921=new _0x1f72d3(_0x320076,_0x2e8a58,_0xf6ef2a),_0x42e649=_0x19f921[_0x5d37ee(0x2dd)],_0x99fa15=_0x319354[_0x5d37ee(0x240)](_0x1e18e2=>_0x1e18e2[_0x5d37ee(0x2f2)]===_0x42e649);_0x99fa15&&(((_0x100633=this['_permissionService']['getPermissionPoint'](_0x19f921['id']))==null?void 0x0:_0x100633[_0x5d37ee(0x31b)])!==_0x99fa15[_0x5d37ee(0x2bc)]&&(_0x5157e1=!0x0),this[_0x5d37ee(0x46c)][_0x5d37ee(0x478)](_0x19f921['id'],_0x99fa15[_0x5d37ee(0x2bc)]),_0x3f0eb1+=_0x99fa15[_0x5d37ee(0x2f2)]+'_'+_0x99fa15[_0x5d37ee(0x2bc)]);}),_0x4f4d94[_0x57ad32(0x1ab)](_0xf6ef2a+'_'+_0x3f0eb1),_0x5157e1&&this[_0x57ad32(0x280)]['clearUndoRedo'](_0x320076);});}}};ct=Br([Se(0x0,_0x880ce4(_0x28aed1)),Se(0x1,_0x369bbf),Se(0x2,_0x3310d6),Se(0x3,_0x880ce4(Le)),Se(0x4,_0x880ce4(pe)),Se(0x5,_0x400bc0),Se(0x6,_0x43dc49)],ct);var Fr=Object['defineProperty'],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x5dd17d,_0x4513ea,_0x574059,_0x514120)=>{for(var _0x5db22a=_0x514120>0x1?void 0x0:_0x514120?Vr(_0x4513ea,_0x574059):_0x4513ea,_0x5cbb6a=_0x5dd17d['length']-0x1,_0x2e562b;_0x5cbb6a>=0x0;_0x5cbb6a--)(_0x2e562b=_0x5dd17d[_0x5cbb6a])&&(_0x5db22a=(_0x514120?_0x2e562b(_0x4513ea,_0x574059,_0x5db22a):_0x2e562b(_0x5db22a))||_0x5db22a);return _0x514120&&_0x5db22a&&Fr(_0x4513ea,_0x574059,_0x5db22a),_0x5db22a;},di=(_0x4ef241,_0x32b857)=>(_0x20605e,_0x5aa0ca)=>_0x32b857(_0x20605e,_0x5aa0ca,_0x4ef241);let Dt=class{constructor(_0x355e3e,_0x3aee7b){var _0x6abff6=_0x3817ac;this[_0x6abff6(0x2e5)]=_0x355e3e,this['_httpService']=_0x3aee7b;}async[_0x3817ac(0x2b3)](_0x3a654a,_0x38d20a){var _0x176642=_0x3817ac,_0x5e367c;const {unitID:_0x34cd01,type:_0x12c06c,revision:_0x3ca9da=0x0}=_0x38d20a,_0x352eed=this[_0x176642(0x227)]()+'/'+_0x12c06c+_0x176642(0x43f)+_0x34cd01+_0x176642(0x30d)+_0x3ca9da,_0x55f71d=(await this[_0x176642(0x3d2)]['get'](_0x352eed))[_0x176642(0x400)],_0x2a58b8=(_0x5e367c=_0x55f71d[_0x176642(0x251)])==null?void 0x0:_0x5e367c[_0x176642(0x22d)];if(_0x2a58b8){const _0xc7a402=_0x2a58b8==null?void 0x0:_0x2a58b8[_0x176642(0x2ad)],_0x58e640=_0x5cb200[_0x176642(0x3bd)](_0x4b2c2e(_0xc7a402));_0x2a58b8['originalMeta']=_0x58e640,Object[_0x176642(0x1ec)](_0x2a58b8[_0x176642(0x308)])[_0x176642(0x28f)](([,_0x3387fd])=>{var _0x230f6c=_0x176642;const _0x2f6914=_0x3387fd[_0x230f6c(0x2ad)],_0x213ed7=_0x5cb200[_0x230f6c(0x3bd)](_0x4b2c2e(_0x2f6914));_0x3387fd[_0x230f6c(0x2ad)]=_0x213ed7;});}return _0x55f71d;}async[_0x3817ac(0x1d9)](_0xaa21bd,_0xa1c140){var _0x460557=_0x3817ac;const {unitID:_0x8fc73d,type:_0x299231,blockID:_0x384970}=_0xa1c140,_0x4e4a57=this[_0x460557(0x2fd)]()+'/'+_0x299231+_0x460557(0x43f)+_0x8fc73d+_0x460557(0x318)+_0x384970;return(await this[_0x460557(0x3d2)][_0x460557(0x1b5)](_0x4e4a57))[_0x460557(0x400)];}async[_0x3817ac(0x3f8)](_0x31da38,_0x4f73a5){var _0x21cc54=_0x3817ac;const {unitID:_0x215bed,type:_0x16905b,blockID:_0x2b9ef6}=_0x4f73a5,_0x358f16=this[_0x21cc54(0x2fd)]()+'/block/'+_0x16905b+_0x21cc54(0x43f)+_0x215bed+_0x21cc54(0x318)+_0x2b9ef6;return(await this[_0x21cc54(0x3d2)]['get'](_0x358f16))[_0x21cc54(0x400)];}async[_0x3817ac(0x488)](_0xd8e205,_0x587914){var _0x4e5ece=_0x3817ac;const {unitID:_0x15ee4e,type:_0x4da158,from:_0x363eb6,to:_0x4b9b94}=_0x587914,_0x438735=this['_getAPIPrefix']()+'/'+_0x4da158+_0x4e5ece(0x43f)+_0x15ee4e+_0x4e5ece(0x35c)+_0x363eb6+'&to='+_0x4b9b94;return(await this[_0x4e5ece(0x3d2)][_0x4e5ece(0x1b5)](_0x438735))[_0x4e5ece(0x400)];}[_0x3817ac(0x227)](){var _0x1639c0=_0x3817ac,_0x174c0d;return(_0x174c0d=this[_0x1639c0(0x2e5)][_0x1639c0(0x3a7)](Un))!=null?_0x174c0d:this[_0x1639c0(0x2fd)]();}[_0x3817ac(0x2fd)](){var _0x3c64aa=_0x3817ac,_0x5f34f5,_0x2be8ae;const _0x48d04e=this['_configService'][_0x3c64aa(0x3a7)](Dn),_0x5c4305=this[_0x3c64aa(0x2e5)][_0x3c64aa(0x3a7)](Y);return(_0x2be8ae=(_0x5f34f5=_0x5c4305==null?void 0x0:_0x5c4305[_0x3c64aa(0x211)])!=null?_0x5f34f5:_0x48d04e)!=null?_0x2be8ae:wn;}async[_0x3817ac(0x21b)](_0x2793a2,_0x41ece3){var _0x5d684f=_0x3817ac;const _0x38587b='/universer-api/snapshot/'+_0x41ece3[_0x5d684f(0x408)]+'/unit/'+_0x41ece3[_0x5d684f(0x22f)]+_0x5d684f(0x221);return(await this[_0x5d684f(0x3d2)][_0x5d684f(0x1b5)](_0x38587b,{'params':{'resourceId':JSON[_0x5d684f(0x274)](_0x41ece3[_0x5d684f(0x34d)])}}))[_0x5d684f(0x400)];}[_0x3817ac(0x457)](){var _0x2f9a8f=_0x3817ac;throw new Error(_0x2f9a8f(0x327));}[_0x3817ac(0x390)](){var _0x7746a9=_0x3817ac;throw new Error(_0x7746a9(0x327));}[_0x3817ac(0x1e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3817ac(0x31a)](){var _0x58ce3c=_0x3817ac;throw new Error(_0x58ce3c(0x327));}[_0x3817ac(0x35d)](){var _0x3236bf=_0x3817ac;throw new Error(_0x3236bf(0x327));}};Dt=Wr([di(0x0,_0x268506),di(0x1,_0x880ce4(_0x157352))],Dt);var Gr=Object[_0x3817ac(0x3b8)],Kr=Object[_0x3817ac(0x1df)],zr=(_0x2b5d63,_0x283eed,_0x1a417d,_0x3b3c2a)=>{var _0xce2b0c=_0x3817ac;for(var _0x4d54a1=_0x3b3c2a>0x1?void 0x0:_0x3b3c2a?Kr(_0x283eed,_0x1a417d):_0x283eed,_0x12ee4d=_0x2b5d63[_0xce2b0c(0x450)]-0x1,_0x498f50;_0x12ee4d>=0x0;_0x12ee4d--)(_0x498f50=_0x2b5d63[_0x12ee4d])&&(_0x4d54a1=(_0x3b3c2a?_0x498f50(_0x283eed,_0x1a417d,_0x4d54a1):_0x498f50(_0x4d54a1))||_0x4d54a1);return _0x3b3c2a&&_0x4d54a1&&Gr(_0x283eed,_0x1a417d,_0x4d54a1),_0x4d54a1;},Ae=(_0x1b0b1e,_0x3e4847)=>(_0x782078,_0x40c085)=>_0x3e4847(_0x782078,_0x40c085,_0x1b0b1e);let wt=class extends _0x864ba1{constructor(_0x481b48,_0x171107,_0x488e71,_0x2c200a,_0x3df73a){var _0x5339b4=_0x3817ac;super(_0x481b48,_0x171107,_0x488e71),this[_0x5339b4(0x2af)]=_0x2c200a,this[_0x5339b4(0x334)]=_0x3df73a;}[_0x3817ac(0x19c)](_0x158a85,_0x418910){var _0x3adbbc=_0x3817ac;const _0x16b0ed=this[_0x3adbbc(0x28e)](_0x158a85);if(_0x16b0ed)try{const _0x457b38=this[_0x3adbbc(0x1b0)](_0x16b0ed,_0x418910);this[_0x3adbbc(0x1dd)](_0x158a85,_0x457b38);}catch(_0x2b501c){this[_0x3adbbc(0x334)][_0x3adbbc(0x2d3)]('[CollaborationUndoRedoService]',_0x2b501c),this['_clearUndo'](_0x158a85);}const _0x3e8bbf=this[_0x3adbbc(0x2a0)](_0x158a85);if(_0x3e8bbf)try{const _0x2ff70e=this['_transformStack'](_0x3e8bbf,_0x418910);this[_0x3adbbc(0x296)](_0x158a85,_0x2ff70e);}catch(_0x57afba){this[_0x3adbbc(0x334)][_0x3adbbc(0x2d3)](_0x57afba),this[_0x3adbbc(0x369)](_0x158a85);}}[_0x3817ac(0x26d)](_0x30ff1e){var _0x1858b5=_0x3817ac;const _0x1faae7=this['_getUndoStack'](_0x30ff1e);_0x1faae7&&(_0x1faae7[_0x1858b5(0x450)]=0x0,this[_0x1858b5(0x29c)]());}['_clearRedo'](_0x1ac5cb){var _0x5785c9=_0x3817ac;const _0xd8c79c=this['_getRedoStack'](_0x1ac5cb);_0xd8c79c&&(_0xd8c79c[_0x5785c9(0x450)]=0x0,this[_0x5785c9(0x29c)]());}[_0x3817ac(0x1dd)](_0x2b851f,_0x1b8b85){var _0x1354f2=_0x3817ac;this[_0x1354f2(0x409)][_0x1354f2(0x3dd)](_0x2b851f,_0x1b8b85),this[_0x1354f2(0x29c)]();}['_substituteRedoStack'](_0x56c720,_0x2dbed8){var _0x50eb07=_0x3817ac;this['_redoStacks'][_0x50eb07(0x3dd)](_0x56c720,_0x2dbed8),this[_0x50eb07(0x29c)]();}['_transformStack'](_0x4d6bca,_0x57ba9f){var _0x2ee34f=_0x3817ac;const _0x486b2d=[];let _0x4cfc73=_0x57ba9f,_0x2eb56e=_0x57ba9f;for(let _0x5ab621=_0x4d6bca[_0x2ee34f(0x450)]-0x1;_0x5ab621>=0x0;_0x5ab621--){const {unitID:_0x1b427e,undoMutations:_0x514035,redoMutations:_0x4a14be}=_0x4d6bca[_0x5ab621],_0x2a6d2a=this[_0x2ee34f(0x2af)]['transformMutationsWithChangeset'](_0x4cfc73,_0x514035),_0x40ccae=this[_0x2ee34f(0x2af)][_0x2ee34f(0x401)](_0x2eb56e,_0x4a14be);if(_0x389b7d(_0x2a6d2a)||_0x389b7d(_0x40ccae)){this[_0x2ee34f(0x334)]['error'](_0x2ee34f(0x2db),_0x2ee34f(0x1cf),_0x2a6d2a,_0x40ccae);break;}_0x4cfc73=_0x2a6d2a[_0x2ee34f(0x1ed)],_0x2eb56e=_0x40ccae['c1Prime'],_0x486b2d['push']({'unitID':_0x1b427e,'undoMutations':_0x2a6d2a['m2Prime'],'redoMutations':_0x40ccae[_0x2ee34f(0x2ec)]});}return _0x486b2d[_0x2ee34f(0x4a7)]();}};wt=zr([Ae(0x0,_0x369bbf),Ae(0x1,_0x5ee12b),Ae(0x2,_0x24222f),Ae(0x3,_0x5e4ebe),Ae(0x4,_0x3b11ba)],wt);var Mi=Object[_0x3817ac(0x3b8)],Yr=Object[_0x3817ac(0x1df)],qr=(_0x1a2010,_0x481211,_0x583490)=>_0x481211 in _0x1a2010?Mi(_0x1a2010,_0x481211,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583490}):_0x1a2010[_0x481211]=_0x583490,Jr=(_0x243b72,_0x1dab84,_0x5de3e2,_0x4885d0)=>{var _0x304ce3=_0x3817ac;for(var _0x1722ff=_0x4885d0>0x1?void 0x0:_0x4885d0?Yr(_0x1dab84,_0x5de3e2):_0x1dab84,_0x4e2818=_0x243b72[_0x304ce3(0x450)]-0x1,_0x2d27e8;_0x4e2818>=0x0;_0x4e2818--)(_0x2d27e8=_0x243b72[_0x4e2818])&&(_0x1722ff=(_0x4885d0?_0x2d27e8(_0x1dab84,_0x5de3e2,_0x1722ff):_0x2d27e8(_0x1722ff))||_0x1722ff);return _0x4885d0&&_0x1722ff&&Mi(_0x1dab84,_0x5de3e2,_0x1722ff),_0x1722ff;},Et=(_0x337b54,_0x20b2ea)=>(_0x1e85d8,_0x5b18ca)=>_0x20b2ea(_0x1e85d8,_0x5b18ca,_0x337b54),Xr=(_0x30573c,_0x30e221,_0x2ff176)=>qr(_0x30573c,_0x30e221+'',_0x2ff176);const Zr=_0x3817ac(0x297);let Ut=class extends _0x2968e0{constructor(_0x40ca2b=zt,_0x2a2c9b,_0x15727f,_0x351e8d){var _0x3f9072=_0x3817ac;super(),this[_0x3f9072(0x1db)]=_0x40ca2b,this['_logService']=_0x2a2c9b,this[_0x3f9072(0x393)]=_0x15727f,this[_0x3f9072(0x2e5)]=_0x351e8d;const {..._0x167419}=_0x2d506e({},zt,this[_0x3f9072(0x1db)]);this[_0x3f9072(0x2e5)]['setConfig'](Y,_0x167419);}[_0x3817ac(0x2a8)](){var _0x1d00eb=_0x3817ac;this[_0x1d00eb(0x2e6)](),this[_0x1d00eb(0x2bd)]();}[_0x3817ac(0x2e6)](){var _0x72f145=_0x3817ac,_0x315fe1,_0x1f22c3,_0x2bedeb,_0x304981;this['_injector'][_0x72f145(0x303)](_0x43dc49)&&this['_logService'][_0x72f145(0x2d3)]('[UniverCollaborationClientPlugin]',_0x72f145(0x3d1));const _0xe8e97d=_0x189fb3([[_0x43dc49,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x1f22c3=(_0x315fe1=this['_config'])==null?void 0x0:_0x315fe1[_0x72f145(0x417)])!=null?_0x1f22c3:It}],[_0x2e5790,{'useClass':Dt}],[_0x400bc0,{'useClass':yt}],[_0x5695e0,{'useClass':Nt}],[_0x2d119d,{'useClass':Pt}],[rt],[Rt]],(_0x2bedeb=this[_0x72f145(0x1db)])==null?void 0x0:_0x2bedeb[_0x72f145(0x301)]);if(!((_0x304981=this[_0x72f145(0x1db)])!=null&&_0x304981['enableSingleActiveInstanceLock'])){const _0x31cae7=_0xe8e97d[_0x72f145(0x25d)](([_0x70296])=>_0x70296===_t);_0x31cae7!==-0x1&&_0xe8e97d[_0x72f145(0x4a3)](_0x31cae7,0x1);}_0x16ef9f(this[_0x72f145(0x393)],_0xe8e97d);}[_0x3817ac(0x2bd)](){var _0x5afea1=_0x3817ac,_0x566ff0,_0x36487e,_0x47a6e3;this[_0x5afea1(0x393)]['get'](_0x157352)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3812a({'maxParallel':0x6})}),(_0x566ff0=this[_0x5afea1(0x1db)])!=null&&_0x566ff0[_0x5afea1(0x27f)]||(_0x36487e=this[_0x5afea1(0x393)][_0x5afea1(0x1b5)](X,_0x12cdfd['OPTIONAL']))==null||_0x36487e['disableLocalCache'](),(_0x47a6e3=this[_0x5afea1(0x1db)])!=null&&_0x47a6e3['enableAuthServer']&&_0x338f1b(this[_0x5afea1(0x393)],[[ot]]),_0x338f1b(this[_0x5afea1(0x393)],[[at],[rt],[ct]]);}};Xr(Ut,_0x3817ac(0x43b),Zr),Ut=Jr([_0x269592(_0x6570e7,_0x36a5db,_0x3afd6f),Et(0x1,_0x3b11ba),Et(0x2,_0x880ce4(_0x28aed1)),Et(0x3,_0x268506)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};
|