@univerjs-pro/collaboration-client 0.5.2 → 0.5.3-experimental.20250106-4af1f4e
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/types/services/permission/permission.service.d.ts +0 -2
- 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 _0xf95350=_0x4451;(function(_0x4f7ff3,_0x323c1d){var _0x2cef3d=_0x4451,_0x574da2=_0x4f7ff3();while(!![]){try{var _0x558b54=parseInt(_0x2cef3d(0x123))/0x1+parseInt(_0x2cef3d(0x253))/0x2+parseInt(_0x2cef3d(0x1f6))/0x3*(parseInt(_0x2cef3d(0x376))/0x4)+parseInt(_0x2cef3d(0xe9))/0x5*(-parseInt(_0x2cef3d(0x2ef))/0x6)+-parseInt(_0x2cef3d(0x26e))/0x7+parseInt(_0x2cef3d(0xf0))/0x8*(-parseInt(_0x2cef3d(0xb5))/0x9)+-parseInt(_0x2cef3d(0x20d))/0xa*(parseInt(_0x2cef3d(0x333))/0xb);if(_0x558b54===_0x323c1d)break;else _0x574da2['push'](_0x574da2['shift']());}catch(_0x4738b8){_0x574da2['push'](_0x574da2['shift']());}}}(_0x58d9,0x9dba4));var Li=Object[_0xf95350(0x35a)],Mi=(_0x52d0fb,_0x3f71b6,_0x30c284)=>_0x3f71b6 in _0x52d0fb?Li(_0x52d0fb,_0x3f71b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30c284}):_0x52d0fb[_0x3f71b6]=_0x30c284,N=(_0x3d8d4e,_0x3f3eeb,_0x5acbba)=>Mi(_0x3d8d4e,typeof _0x3f3eeb!=_0xf95350(0x1b4)?_0x3f3eeb+'':_0x3f3eeb,_0x5acbba);import{createIdentifier as _0x5f2d11,Inject as _0x1f377b,Injector as _0x459b1e,Disposable as _0x21c7f9,DisposableCollection as _0x144435,toDisposable as _0x6c04a6,IConfigService as _0x4ef789,ILogService as _0x2cd95e,UserManagerService as _0x476b93,UniverInstanceType as _0x4fe211,IUniverInstanceService as _0x4accb0,LocaleService as _0x3b591c,Optional as _0x36e3d4,RxDisposable as _0x426883,Tools as _0x324eba,Rectangle as _0x107aa5,ICommandService as _0x16ead5,JSONX as _0x34d239,CommandType as _0x368d91,IPermissionService as _0x193a1a,IUndoRedoService as _0x122feb,sequenceExecute as _0x4370f1,Workbook as _0x3569b1,MentionType as _0xa72733,IAuthzIoService as _0x3db02c,isInternalEditorID as _0x4b9cfa,LocalUndoRedoService as _0x4a8bd3,IContextService as _0x21a4dd,DependentOn as _0x296661,Plugin as _0x509d00,merge as _0x1c25ec,mergeOverrideWithDependencies as _0x467c59,IMentionIOService as _0x4c2436,registerDependencies as _0x463499,Quantity as _0x124bff,touchDependencies as _0x536f41}from'@univerjs/core';import{Subject as _0x1d9c1a,merge as _0x127445,of as _0x22b9ed,BehaviorSubject as _0x26dbcc,takeUntil as _0x30c8dd,ReplaySubject as _0x2eb1e0,take as _0x3b0b7e,map as _0xb6f026,shareReplay as _0x194fbd,firstValueFrom as _0x12dc12,concatMap as _0x17ba71}from'rxjs';import{map as _0x3dd616,take as _0x4f99c6,filter as _0x2ac5d0,delay as _0x2a4396,takeUntil as _0x4eb1e7}from'rxjs/operators';import{HTTPService as _0x1d95e4,ISocketService as _0x45d75e,MergeInterceptorFactory as _0x516ca5,HTTPRequest as _0x3dc882,UniverNetworkPlugin as _0x5b8d93,ThresholdInterceptorFactory as _0x39c3a7}from'@univerjs/network';import{CollaborationEvent as _0x15e414,parseChangesetToProtocol as _0x4bb802,ISnapshotServerService as _0x359a3a,isTransformMutationsWithChangesetSuccess as _0x5e1805,ITransformService as _0xd312f2,mapDocumentTypeToUniverType as _0x1bcb48,RevisionService as _0x3aeefc,isTransformChangesetsSuccess as _0x337292,CompressMutationService as _0x387e7e,parseProtocolChangeset as _0x36f3b5,SnapshotService as _0x3b76b2,textEncoder as _0x5547ea,b64DecodeUnicode as _0x25a9a5,isTransformMutationsWithChangesetFailure as _0x36809c,UniverCollaborationPlugin as _0x5db6f5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4c4a70}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x775ef5}from'@univerjs/docs';function _0x58d9(){var _0x26d285=['/fetchmissing?from=','APPLY_DUPLICATED','enc','eventID','resolve','awaiting','apply','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteACK','_getUndoStack','_keySchedule','session','SOCKET_FAILED','search','NEW_CHANGESETS','avatar','stopTime','RECV','LICENSE_IMPORT_SIZE_EXCEEDED','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','RETRY_CONNECTING_MAX_COUNT','toggleOffline','_getUploadFileURL','incrementRevOfUnit','_reverseMap','has','isArray','[PendingState]:\x20received\x20acknowledgement.','_acknowledgedAwaitingChangeset','[PendingState]:\x20received\x20rejection.','updateOfflineData','method','_transformStateCache','_doCryptBlock','_nDataBytes','LIVESHARE_NEW_HOST','getUnitId','save\x20fail\x20reason\x20is\x20','csShouldRetryEvent','retryConnectingInterval','application/json','pauseCollaboration','SHA1','_logService','YUUMI_SUBSCRIPTION_NOT_FOUND','onTransformState','/universer-api/snapshot/','closeSession','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socketService','_parse','_clearHeartbeatTimer','originalMeta','action','headers','/universer-api/authz','_map','reduce','_unlockTransition','_pendingMutations','clear','clamp','compose','baseRev','duration','[CollaborationEntity]','enableAuthServer','_state$','crypto','YUUMI_UNABLE_LOAD_URL','_incrementRevisionNumber','_startCollaboration','toggleOnline','IDLE','CONFLICT','_emitMembers','function','body','downloadEndpointUrl','_key','UPDATE_PERMISSION_OBJ','LOGIN_URL_KEY','_remoteChangesetQueue','/resources','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SLIDE','_iKey','editing\x20status\x20changed\x20to','COMPLETION_FINISHED','[SyncedState]:\x20received\x20acknowledgement.','onStarting','UPDATE_CURSOR','createSocket','COLLAB_WEB_SOCKET_URL','execute','conflict','readAsDataURL','HttpExport','/universer-api/file/{fileID}/sign-url','_transitionLocked','call','_handlerCallback','_changesetReqId','_status$','_submitChangeset','slice','reconnect','UNIVER_DOC','push','CONNECTOR_DATA_TOO_LARGE','[CollaborationSession]','_univerInstanceService','_commentService','wsSessionTicketUrl','SOCKET_FAILED_RETRY','_commandService','unsubscribe','saveSheetBlock','_networkConditionService','snapshotServerUrl','_hash','FileId','getSheetBlock','216abIOlk','UNIVER_UNKNOWN','onSyncEditingCollabCursor','_keyPriorReset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','capture','_imageSourceCache','subscribe','FAIL','_getCurrentRevision','next','ONLINE','getCurrentUser','_entityInit$','type','_injector','getFocusedUnit','startsWith','getRandomValues','default','decrypt','_lockTransition','[OfflineState]:\x20received\x20changeset.','_onConnectionOpen','getLatestCsReqIdBySid','_instanceService','executeCommand','_onMessage','pad','UNKNOWN_CODE','StreamCipher','copyFileMeta','src','OpenSSL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','entityInit$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendHeartbeat','_eventService','_transformStack','entries','onRemoteRetry','HmacSHA1','_sheetTransformSelectionsService','ERROR_EXCEED_SIZE','_removeRoom','_hasher','AWAITING_WITH_PENDING','USERS_LEAVE','onSendChangeset','HEARTBEAT_TIMEOUT','patch','APPLY_NON_SEQUENTIAL_REVISION','buffer','Base','UNDEFINED','_loadSheet','disableLocalCache','{fileID}','fromCharCode','APPLY_REJECT','error','size','_resendWithTimeout','JOIN_ROOM_FAILED','/-/object/list','getTypeOfUnitAdded$','HmacMD5','4039838gdRXpD','key','localeService','saveChangeset','finalize','_changesetSessionId','bind','waitForRoom$','UNISCRIPT_RUN','UnitEmbedded','subUnitId','memberID','registerHTTPInterceptor','_roomMembers','title','/new_changes','readyForCollab','_scheduleCollaborationTimeoutTimer','getUnitStatus$','_members','_type','/unit/','Base64','[SyncedState]:\x20received\x20rejection.','_clearCollaborationTimeoutTimer','CHANGESET_REVISION_CONFILICT','_awaitingChangeset','state$','_loadDoc','Malformed\x20UTF-8\x20data','cfg','getActiveSheet','_joinRoom','emitEvent','_onUserJoin','_transformRemoteChangesetByIMECache','_authzIoService','_compressMutationService','disposeWithMe','defineProperty','_getAPIPrefixPath','SHOULD_CLOSE_CONN','_config','_mode','_stopTelemetryCollaborationNewChangeset','_sendingTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','forEach','_waitCount','GLOBAL_ROOMS_CNT_EXCEEDS','LIVESHARE_FETCH_OPERATIONS','ENSURE_SNAPSHOT_EXECUTION','[DataLoaderService]','_members$','unitInfo$','_startTelemetryCollaborationNewChangeset','session.room-cnt-exceeds','_fetchMissChangesets','_socketMessageSubscription','_collaborationPaused','fetchMiss','_getSignURL','_timeoutTimer','_memberService','_createHandler','CBC','from','1474348nPFiJB','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','charCodeAt','_syncEditingCollabCursor','_schedule','&source=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','_applyRemoteChangeset','signUrlServerUrl','getSheetId','[CollaborationSessionService]:\x20socket\x20error','getSnapshotAPIPath','state','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','list','awaitingChangeset','objectType','WordArray','isPermissionRej','mixIn','_replayCachedMutations','/universer-api/user/session-ticket','randomBytes','PERMISSION_DENIED','online$','_snapshotService','LEAVE','_checkMissing','c2Prime','_onCombEvent','append','range','unknown','onTransformSelections','getCurrentSelections','_substituteUndoStack','\x20-\x20','_isPermissionRej','deleteCollaborator','params','pipe','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setShowComponents','[OfflineState]:\x20received\x20rejection.','_createHelper','?url=','_updateStatus','MSG_FOR_ERROR','fetch_missing','_sendHeartbeatTimer','max','_onConflict','blockSize','format','abs','algo','/block/','Could\x20not\x20dynamically\x20require\x20\x22','getTypeOfUnitDisposed$','_append','/universer-api/stream/file/upload','onLocalMutation','621QevlVD','LICENSE_DISTRO_REJECTED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','encode','_disableEditing','joinEvent','permissionRejEvent','subject','updatePermissionObjEvent','\x20in\x20_schedule.','map','error$','getUnitOnRev','infoRsp','searchParams','__creator','extend','ceil','findIndex','prototype','_clearLocalCache','close$','byteLength','NOT_FOUND','getImageSourceCache','_singleActiveUnitService','_ENC_XFORM_MODE','_redoStacks','Utf8','HttpImport','requestParams','_collaborationUIEventService','collaboration-client.local-cache-service','encodeURIComponent','debug','getMemberID','liveShareNewHost','UNIVER_SHEET','_onUserLeave','_updateLocalCache','runId','_clearRedo','_httpService','SerializableCipher','add','resend','_onJoinRoomEvent','_onRecvEvent','HEARTBEAT_INTERVAL','getCollabEntity$','LOCAL_CACHE_INTERVAL','_createSocket','35745wosHyi','reqId','target','_entities','DEFAULT_FILE_NAME','_telemetryInfo','result','53488ekgqiL','_handler','pluginName','LICENSE_MAX_UNITS_EXCEEDED','updateCursorEvent','Cipher','createInstance','_retryConnectingTimer','univer-pro.collaboration-client.network-condition.service','_substituteRedoStack','_createInitialState','changesets','updatePermissionPoint','cmd','_createHmacHelper','_permissionService','_socketReady','_doReset','_exhaustRemoteChangesetQueue','listCollaborators','ERROR_IMAGE','_sender','_state','sessionStatus$','addImageSourceCache','now','JOIN_ROOM_FULL','sid','name','_scheduleCompleteTimestamp','Decryptor','_getAPIPrefix','loadUnit','then','\x20to\x20','_cipher','_listenToNetworkCondition','JOIN_ROOM_NOT_EXISTS','/object','_initRequestHeader','failed\x20to\x20apply\x20missed\x20changesets!','createDecryptor','INVALID_ARGUMENT','close','transformMutationsWithChangeset','readInt32LE','_sessions','init','floor','c1Prime','onMissingChangesets','985907CQLayo','_nRounds','TOO_MANY_REQUESTS','APPLY_PERMISSION_DENIED','/collaborator','_waitForHeartbeatResponse','_updateState','_socketService','lib','ticket','[CollaborationSessionService]','univer-pro.collaboration-client-socket-service','_doFinalize','collaboration-client.config','length','_onLocalMutation','members','PENDING','includes','_onRemoteChangeset','socket\x20close','processBlock','_xformMode','INGEST','offline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_minBufferSize','collaborators','data','complete','SNAPSHOT_INVALID_SNAPSHOT','_socket','onRemoteChangeset','_candidateSocket','getCurrentRevOfUnit','PERMISSION_REJ','collabSubmitChangesetUrl','sheets','unitId','_transformUndoredo','UNAUTHENTICATED','Hasher','_unitInfo$','_undoRedoService','SNAPSHOT_HAS_BEEN_REMOVED','_onFetchMissResult','get','sessionTicket','collaMsg','collabWebSocketUrl','JOIN','_transformSelections','LIVESHARE_OPERATION','ALREADY_EXISTS','objectID','SEND_CHANGESET_TIMEOUT','_collaborationTimeoutTimer','_rescheduleHeartbeat','updateMember','loginUrlKey','_getCtorByUniverType','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SUCCUSS','actions','put','_sessionStatus$','Encryptor','ivSize','localCacheService','SNAPSHOT_SERVER_URL_KEY','$super','m2Prime','_transformService','APPLY_REVISION_CONFILICT','sessionStatus','onTransformRemoteChangesetByStateCache','_process','_snapshotServerService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','kdf','mode','_tryEnsureSocket','addHandlerCallback','toLowerCase','_toggleOffline','_initDependencies','hasOwnProperty','_getSessionTicket','origin','OPTIONAL','unitID','collaboration_new_changeset','transformChangesets','_telemetryService','filter','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_change$','workbook','JOIN_ROOM_PERMISSION_DENIED','BASE64','OFFLINE','_localeService','OTHER_CLIENTS_EDITING','onCommentUpdate','create','_createSocketURL','OTHER_CLIENT_EDITING','collaboratorID','LIVESHARE_REQUEST_HOST','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','UNRECOGNIZED','ciphertext','padding','_clearScheduledTask','_clearTimeoutTimer','AES','join','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_tryReconnect','uniscriptRunEvent','onTransformIME','_data','startTime','getValue','_localCacheService','location','_init','getRoom','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','parse','csAckEvent','byteOffset','snapshot','NOT_COLLAB','getConfig','_clearUndo','COMPRESS_MUTATION_SEND','keySize','/object/','_transformIMECache','SUBMIT_CHANGESET_TIMEOUT','exports','randomUUID','symbol','getOwnPropertyDescriptor','/role','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','refreshPermission','userID','_roomCreated$','open$','x-univer-host','joinRsp','_initCloseConn','reset','UNIVER_PROJECT','createCollaborator','decryptBlock','BufferedBlockAlgorithm','send','FETCH_MISSING','update','_collaborationSessionService','[UniverCollaborationClientPlugin]','_resendTimeout','rev','MD5','clone','_getSendChangesetTimeout','_getLoginPath','commentUpdateEvent','INTERNAL_ERROR','change$','authzUrl','HELLO','_replaceFileID','image/jpeg','image/png','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CHANGESET_SHOULD_RETRY','getInterceptPoints','substr','_createInitialStateImpl','COLLAB_SUBMIT_CHANGESET_URL','getMember','PasswordBasedCipher','BlockCipher','_revisionService','delete','__esModule','toString','_onConnectionFailed','Error\x20on\x20receiving\x20event','createEncryptor','sigBytes','univer-pro.collaboration-client.single-active-unit-service','_http','hostname','_HTTPService','encrypt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_resendTimer','_socket$','hasher','deepClone','stringify','_undoStacks','unpad','putCollaborators','6mVFSJK','json','connection\x20error','replace','_onRemoteRetry','appendMutation','onRemoteRej','status','values','onCommandExecuted','pending','status$','onTransformRemoteChangesetByIMECache','removeMember','_queuedRemoteChangesets','dispose$','asObservable','NO_OTHER_CLIENTS_EDITING','PERSON','[FetchMissState]','SUBMIT_CHANGESET','shouldCloseConn','textRanges','10uAkLke','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','interceptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COMPRESS_MUTATION_APPLY','onMissedChangesetFetched','JOINING','_configService','_unitID','CLOSE_ROOM','_retryCount','session.room-full','_event$','[CollaborationUndoRedoService]','transformStack\x20failed!','_onOffline','UnitSnapshot','getTime','random','catch','_prevBlock','_shouldReportTelemetry','transformUndoRedo','getUnit','NoPadding','_toggleOnline','submit\x20changeset\x20error!','csRejEvent','HMAC','_iv','/universer-api/oidc/authpage','getCollabEntity','selections','getResourcesRequest','synced','session.join-failed','_executeRemoteChangeset','transformSelections','_transformRemoteChangesetByStateCache','revision','EvpKDF','dispose','salt','listRoles','BlockCipherMode','_initMergeInterceptor','fetchThroughInterceptors','event$','Hex','splice','COMMENT_UPDATE','concat','USERS_ENTER','charAt','/-/object/-/batch_allowed','every','People','msCrypto','[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.','url','post','requireSession','code','words','_throwTelemetryCollaborationNewChangeset','_onRemoteRejected','?size=','members$','indexOf','1511646XhVFJZ','objectActions','fromCollab','YUUMI_URL_COL_OUT_OF_RANGE','onRemoteAck','session.room-not-exists','_initUnitPermissionChange','getUnitType','_oKey','HEARTBEAT','rng','roles','onload','AWAITING','MUTATION','_userManagerService','fetchMissingChangesets','_commentUpdate$','message$','_getDownloadEndpointURL','string','_decreaseWaiting','set','Undefined','loadOfflineData','POST','routeKey','5228272KEnrOU','UNKNOWN_CMD','reject','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_showConflictNotification'];_0x58d9=function(){return _0x26d285;};return _0x58d9();}import{SheetsSelectionsService as _0x232e9a,SetSelectionsOperation as _0x244d63,InsertSheetMutation as _0x4090d9,EmptyMutation as _0x27bacb,WorkbookEditablePermission as _0xf5ebb3,SheetPermissionInitController as _0xaa84b0,UniverSheetsPlugin as _0x5eafd8}from'@univerjs/sheets';import{ImageSourceType as _0x525dac,ImageUploadStatusType as _0x2252a1,IImageIoService as _0x14c982}from'@univerjs/drawing';import{getGlobalObject as _0x11d3a1}from'@univerjs-pro/license';const Ss=_0xf95350(0x169),Es='/universer-api/snapshot',Is='SNAPSHOT_URL_KEY',eo=_0xf95350(0x15a),Ts=0x7d0,Cs=_0xf95350(0x2d1),bs=_0xf95350(0x286),Rs=_0xf95350(0x38c),Os=_0xf95350(0xe5),ys=0x7530,Si=_0xf95350(0x321),Ei=0x4e20,Ns=0x4e20,Ds=_0xf95350(0x288),Ps=0x3,to=_0xf95350(0xe7),io=0x3e8,ws=_0xf95350(0x1dc),Us='/universer-api/comb',As=_0xf95350(0x2c5),xs=_0xf95350(0x22c),so=_0xf95350(0x1d7),ro='/universer-api/uniscript';var Ii=(_0x2465de=>(_0x2465de[_0x2465de[_0xf95350(0x326)]=0x0]=_0xf95350(0x326),_0x2465de[_0x2465de['OK']=0x1]='OK',_0x2465de[_0x2465de[_0xf95350(0x1d0)]=0x2]=_0xf95350(0x1d0),_0x2465de[_0x2465de['PERMISSION_DENIED']=0x3]=_0xf95350(0x38e),_0x2465de[_0x2465de[_0xf95350(0xcc)]=0x4]=_0xf95350(0xcc),_0x2465de[_0x2465de[_0xf95350(0x14b)]=0x5]='UNAUTHENTICATED',_0x2465de[_0x2465de[_0xf95350(0x158)]=0x6]=_0xf95350(0x158),_0x2465de[_0x2465de['INVALID_ARGUMENT']=0x7]=_0xf95350(0x11a),_0x2465de[_0x2465de['TOO_MANY_REQUESTS']=0x8]=_0xf95350(0x125),_0x2465de[_0x2465de[_0xf95350(0x2cc)]=0x9]=_0xf95350(0x2cc),_0x2465de[_0x2465de[_0xf95350(0x34c)]=0x1389]=_0xf95350(0x34c),_0x2465de[_0x2465de[_0xf95350(0x141)]=0x1771]=_0xf95350(0x141),_0x2465de[_0x2465de[_0xf95350(0x14f)]=0x1772]=_0xf95350(0x14f),_0x2465de[_0x2465de[_0xf95350(0x366)]=0x1773]=_0xf95350(0x366),_0x2465de[_0x2465de[_0xf95350(0x32b)]=0x1b59]='APPLY_REJECT',_0x2465de[_0x2465de[_0xf95350(0x323)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2465de[_0x2465de[_0xf95350(0x16d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2465de[_0x2465de[_0xf95350(0x126)]=0x1b5c]=_0xf95350(0x126),_0x2465de[_0x2465de['APPLY_DUPLICATED']=0x1b5d]=_0xf95350(0x274),_0x2465de[_0x2465de[_0xf95350(0x2e1)]=0x1f41]=_0xf95350(0x2e1),_0x2465de[_0x2465de[_0xf95350(0xf3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2465de[_0x2465de[_0xf95350(0x361)]=0x232a]=_0xf95350(0x361),_0x2465de[_0x2465de[_0xf95350(0x285)]=0x232b]=_0xf95350(0x285),_0x2465de[_0x2465de[_0xf95350(0x191)]=0x232c]=_0xf95350(0x191),_0x2465de[_0x2465de[_0xf95350(0xb6)]=0x232d]=_0xf95350(0xb6),_0x2465de[_0x2465de[_0xf95350(0x2b9)]=0x2711]=_0xf95350(0x2b9),_0x2465de[_0x2465de[_0xf95350(0x256)]=0x2712]=_0xf95350(0x256),_0x2465de[_0x2465de['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2465de[_0x2465de[_0xf95350(0x2a0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2465de[_0x2465de['UNRECOGNIZED']=-0x1]=_0xf95350(0x193),_0x2465de))(Ii||{}),Q=(_0x4c4052=>(_0x4c4052[_0x4c4052[_0xf95350(0x2f0)]=0x0]=_0xf95350(0x2f0),_0x4c4052[_0x4c4052['UNIVER_DOC']=0x1]=_0xf95350(0x2df),_0x4c4052[_0x4c4052[_0xf95350(0xda)]=0x2]=_0xf95350(0xda),_0x4c4052[_0x4c4052[_0xf95350(0x2c9)]=0x3]='UNIVER_SLIDE',_0x4c4052[_0x4c4052[_0xf95350(0x1c0)]=0x4]=_0xf95350(0x1c0),_0x4c4052[_0x4c4052['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4c4052))(Q||{}),F=(_0x128b2e=>(_0x128b2e[_0x128b2e[_0xf95350(0x26f)]=0x0]=_0xf95350(0x26f),_0x128b2e[_0x128b2e['HELLO']=0x1]=_0xf95350(0x1d3),_0x128b2e[_0x128b2e['JOIN']=0x2]=_0xf95350(0x155),_0x128b2e[_0x128b2e[_0xf95350(0x391)]=0x3]='LEAVE',_0x128b2e[_0x128b2e[_0xf95350(0x13a)]=0x4]=_0xf95350(0x13a),_0x128b2e[_0x128b2e['HEARTBEAT']=0x5]=_0xf95350(0x25c),_0x128b2e[_0x128b2e[_0xf95350(0x284)]=0x6]=_0xf95350(0x284),_0x128b2e[_0x128b2e[_0xf95350(0x193)]=-0x1]='UNRECOGNIZED',_0x128b2e))(F||{}),Ee=(_0x36b2d1=>(_0x36b2d1[_0x36b2d1[_0xf95350(0x30c)]=0x0]=_0xf95350(0x30c),_0x36b2d1[_0x36b2d1['OK']=0x1]='OK',_0x36b2d1[_0x36b2d1[_0xf95350(0x2f7)]=0x2]=_0xf95350(0x2f7),_0x36b2d1[_0x36b2d1[_0xf95350(0x10a)]=0x3e9]=_0xf95350(0x10a),_0x36b2d1[_0x36b2d1['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xf95350(0x115),_0x36b2d1[_0x36b2d1[_0xf95350(0x186)]=0x3eb]=_0xf95350(0x186),_0x36b2d1[_0x36b2d1[_0xf95350(0x364)]=0x3ec]=_0xf95350(0x364),_0x36b2d1[_0x36b2d1[_0xf95350(0x193)]=-0x1]=_0xf95350(0x193),_0x36b2d1))(Ee||{}),Ti=(_0x49b553=>(_0x49b553[_0x49b553[_0xf95350(0x26a)]=0x0]=_0xf95350(0x26a),_0x49b553[_0x49b553[_0xf95350(0xd2)]=0x1]=_0xf95350(0xd2),_0x49b553[_0x49b553[_0xf95350(0x2d5)]=0x2]=_0xf95350(0x2d5),_0x49b553[_0x49b553[_0xf95350(0x33c)]=0x3]=_0xf95350(0x33c),_0x49b553[_0x49b553[_0xf95350(0x21e)]=0x4]=_0xf95350(0x21e),_0x49b553[_0x49b553['UNRECOGNIZED']=-0x1]=_0xf95350(0x193),_0x49b553))(Ti||{});const q=_0xf95350(0x130),Wt={};var ne=(_0x3ce9cd=>(_0x3ce9cd[_0xf95350(0x18e)]=_0xf95350(0x18e),_0x3ce9cd[_0xf95350(0x38e)]=_0xf95350(0x38e),_0x3ce9cd[_0xf95350(0x2be)]=_0xf95350(0x2be),_0x3ce9cd['CLOSE_ROOM']=_0xf95350(0x217),_0x3ce9cd[_0xf95350(0x32f)]=_0xf95350(0x32f),_0x3ce9cd[_0xf95350(0x2e6)]=_0xf95350(0x2e6),_0x3ce9cd[_0xf95350(0x27f)]=_0xf95350(0x27f),_0x3ce9cd[_0xf95350(0x1b1)]=_0xf95350(0x1b1),_0x3ce9cd))(ne||{});class pe{constructor(){var _0xd07b40=_0xf95350;N(this,_0xd07b40(0x21a),new _0x1d9c1a()),N(this,_0xd07b40(0x23d),this[_0xd07b40(0x21a)]['asObservable']());}[_0xf95350(0x354)](_0x58e3a4){var _0xffb533=_0xf95350;this[_0xffb533(0x21a)][_0xffb533(0x2f9)](_0x58e3a4);}}const Ls=_0x5f2d11(_0xf95350(0xf8));function Ms(_0x5dfc16){var _0x2205f7=_0xf95350,_0x451ca3,_0x5150ea,_0x48c8df,_0x1c38ab,_0x38c0de;const _0x12644d=_0x5dfc16[_0x2205f7(0x13f)],_0x5ba246=JSON[_0x2205f7(0x1a6)](_0x12644d);switch(_0x5ba246['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0x298789=_0x5ba246[_0x2205f7(0xc2)];return{..._0x5ba246,'data':_0x298789,'cmd':_0x5ba246[_0x2205f7(0xfd)]};}case F['JOIN']:{const _0x48ab62=_0x5ba246[_0x2205f7(0x1bd)];return{..._0x5ba246,'data':_0x48ab62,'cmd':_0x5ba246[_0x2205f7(0xfd)]};}case F[_0x2205f7(0x284)]:{const _0x532a04=_0x5ba246[_0x2205f7(0x153)];switch(_0x532a04['eventID']){case _0x15e414['PERMISSION_REJ']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x451ca3=_0x532a04[_0x2205f7(0xbb)])==null?void 0x0:_0x451ca3['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x287)]:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x5150ea=_0x532a04[_0x2205f7(0x1a7)])==null?void 0x0:_0x5150ea['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['NEW_CHANGESETS']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x48c8df=_0x532a04['newCsEvent'])==null?void 0x0:_0x48c8df['cs']},'cmd':_0x5ba246['cmd']};case _0x15e414['CHANGESET_REJ']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x1c38ab=_0x532a04[_0x2205f7(0x229)])==null?void 0x0:_0x1c38ab['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x1d8)]:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x38c0de=_0x532a04[_0x2205f7(0x29a)])==null?void 0x0:_0x38c0de['cs']},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x2cf)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xf4)]},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x242)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xba)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['USERS_LEAVE']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04['leaveEvent']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x297)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xd9)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['LIVESHARE_FETCH_OPERATIONS']:case _0x15e414[_0x2205f7(0x157)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04['liveShareOperation']},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x37d)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xd9)]},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x3a6)]:return{..._0x5ba246,'data':_0x532a04,'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['COMMENT_UPDATE']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x1cf)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x2c4)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xbd)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x35c)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x20b)]},'cmd':_0x5ba246['cmd']};case _0x15e414['UNISCRIPT_RUN']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x19c)]},'cmd':_0x5ba246['cmd']};default:return _0x5ba246;}}default:return _0x5ba246;}}function $s(_0x48d2f8){var _0x32c82e=_0xf95350;switch(_0x48d2f8[_0x32c82e(0xfd)]){case F[_0x32c82e(0x25c)]:case F[_0x32c82e(0x1d3)]:return JSON[_0x32c82e(0x1f2)]({'cmd':_0x48d2f8[_0x32c82e(0xfd)],'routeKey':_0x48d2f8[_0x32c82e(0x26d)]});case F[_0x32c82e(0x13a)]:{let _0x3a96a6;switch(_0x48d2f8[_0x32c82e(0x13f)]['eventID']){case _0x15e414[_0x32c82e(0x2cf)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x2cf)],'updateCursorEvent':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414['USERS_LEAVE']:{_0x3a96a6={'eventID':_0x15e414['USERS_LEAVE'],'leaveEvent':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x242)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x242)],'joinEvent':_0x48d2f8['data'][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x297)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x297)],'liveShareNewHost':_0x48d2f8['data']['data']};break;}case _0x15e414[_0x32c82e(0x157)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x157)],'liveShareOperation':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x37d)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x37d)],'liveShareTerminate':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414['LIVESHARE_REQUEST_HOST']:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x190)],'liveShareRequestHost':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x365)]:{_0x3a96a6={'eventID':_0x15e414['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3a96a6={'eventID':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x276)]};}return JSON[_0x32c82e(0x1f2)]({'cmd':_0x48d2f8['cmd'],'routeKey':_0x48d2f8['routeKey'],'collaMsg':_0x3a96a6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x48d2f8[_0x32c82e(0xfd)],'routeKey':_0x48d2f8[_0x32c82e(0x26d)],'joinReq':_0x48d2f8[_0x32c82e(0x13f)]});case F[_0x32c82e(0x391)]:return JSON['stringify']({'cmd':_0x48d2f8['cmd'],'routeKey':_0x48d2f8[_0x32c82e(0x26d)],'leaveReq':_0x48d2f8[_0x32c82e(0x13f)]});default:throw new Error(_0x32c82e(0x271));}}var Hs=Object[_0xf95350(0x35a)],ks=Object[_0xf95350(0x1b5)],js=(_0x44e9b6,_0x55054,_0x35e27c,_0x16d3ac)=>{var _0x4fce28=_0xf95350;for(var _0x3ee349=_0x16d3ac>0x1?void 0x0:_0x16d3ac?ks(_0x55054,_0x35e27c):_0x55054,_0x14051c=_0x44e9b6[_0x4fce28(0x131)]-0x1,_0x13121c;_0x14051c>=0x0;_0x14051c--)(_0x13121c=_0x44e9b6[_0x14051c])&&(_0x3ee349=(_0x16d3ac?_0x13121c(_0x55054,_0x35e27c,_0x3ee349):_0x13121c(_0x3ee349))||_0x3ee349);return _0x16d3ac&&_0x3ee349&&Hs(_0x55054,_0x35e27c,_0x3ee349),_0x3ee349;},Ue=(_0xa87ac4,_0x45b5c7)=>(_0x580c2b,_0xf784a4)=>_0x45b5c7(_0x580c2b,_0xf784a4,_0xa87ac4);const Ci=_0x5f2d11(_0xf95350(0x12e));function Bs(_0x10a6c6,_0x46e453,_0x9c8cca){var _0x5416e9=_0xf95350;return _0x10a6c6+'/'+_0x46e453+_0x5416e9(0x348)+_0x9c8cca+_0x5416e9(0x342);}let Et=class extends _0x21c7f9{constructor(_0xb0976d,_0x18371c,_0x8cf5f1,_0x2e8b2a,_0x564bc3){var _0x2c6d7a=_0xf95350;super(),this[_0x2c6d7a(0x2fe)]=_0xb0976d,this[_0x2c6d7a(0x1e9)]=_0x18371c,this[_0x2c6d7a(0x215)]=_0x8cf5f1,this[_0x2c6d7a(0x29f)]=_0x2e8b2a,this['_snapshotServerService']=_0x564bc3;}['createSocket'](_0x10c564){var _0x49afcc=_0xf95350;const _0x54cc20=this['_injector'][_0x49afcc(0x151)](_0x45d75e);if(!_0x54cc20)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5eccef=_0x54cc20[_0x49afcc(0x2d0)](_0x10c564);if(!_0x5eccef)throw new Error(_0x49afcc(0x211));const _0xfc2a18=new _0x144435(),_0x469038=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef['close$'][_0x49afcc(0x2f6)](_0x36a9dd=>_0x469038[_0x49afcc(0x2f9)](_0x36a9dd))),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x469038[_0x49afcc(0x140)]()));const _0x1748aa=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef[_0x49afcc(0xc0)][_0x49afcc(0x2f6)](_0x32aa12=>_0x1748aa[_0x49afcc(0x2f9)](_0x32aa12))),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x1748aa[_0x49afcc(0x140)]()));const _0x238c21=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef[_0x49afcc(0x265)][_0x49afcc(0x2f6)](_0x521dfd=>{var _0x275f1f=_0x49afcc;const _0x566a04=Ms(_0x521dfd);_0x238c21[_0x275f1f(0x2f9)](_0x566a04);})),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x238c21[_0x49afcc(0x140)]()));let _0x23198a;const _0x493d1e=()=>{var _0x85ebbb=_0x49afcc;_0x1748aa[_0x85ebbb(0x2f9)](new Event(_0x85ebbb(0x1f8))),_0x469038[_0x85ebbb(0x2f9)](new CloseEvent('connection\x20error')),_0x23198a[_0x85ebbb(0x11b)]();};return _0x23198a={'memberID':'','close$':_0x469038[_0x49afcc(0x206)](),'error$':_0x1748aa['asObservable'](),'open$':_0x5eccef[_0x49afcc(0x1bb)],'message$':_0x238c21[_0x49afcc(0x206)](),'send':_0xdbebab=>{var _0x27e48c=_0x49afcc;if(_0xdbebab[_0x27e48c(0xfd)]===F[_0x27e48c(0x13a)]){if(_0xdbebab[_0x27e48c(0x13f)]['eventID']===_0x15e414[_0x27e48c(0x20a)]){this[_0x27e48c(0x2dc)](_0x23198a,_0xdbebab[_0x27e48c(0x13f)])['catch'](_0x21e5ca=>{var _0xbec722=_0x27e48c;this['_logService'][_0xbec722(0x32c)](_0x21e5ca),_0x493d1e();});return;}if(_0xdbebab[_0x27e48c(0x13f)][_0x27e48c(0x276)]===_0x15e414['FETCH_MISSING']){const _0x571282=_0xdbebab[_0x27e48c(0x13f)];this[_0x27e48c(0x36c)](_0x571282)[_0x27e48c(0x111)](_0x5916c6=>{var _0x272463=_0x27e48c;_0x238c21['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x571282[_0x272463(0x13f)][_0x272463(0x17e)],'routeType':'','data':{'eventID':_0x15e414['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5916c6}}});})[_0x27e48c(0x221)](_0xaf823f=>{var _0xdf7767=_0x27e48c;this['_logService'][_0xdf7767(0x32c)](_0xaf823f),_0x493d1e();});return;}}_0x5eccef['send']($s(_0xdbebab));},'close':()=>{var _0x3def67=_0x49afcc;_0x5eccef['close'](),_0xfc2a18[_0x3def67(0x237)]();}},_0x23198a;}async[_0xf95350(0x2dc)](_0x542550,_0x7dfcb1){var _0x110f74=_0xf95350,_0x2ec7c5,_0x381e7d;const {unitType:_0x4f89e2,unitID:_0x54049d,changeset:_0x4e120}=_0x7dfcb1[_0x110f74(0x13f)],_0x52613a={'unitID':_0x54049d,'memberID':_0x542550[_0x110f74(0x33e)],'type':_0x4f89e2,'changeset':_0x4bb802(_0x4e120)},_0x37afb3=this[_0x110f74(0x215)]['getConfig'](ws),_0x1b5a9e=this[_0x110f74(0x215)]['getConfig'](q),_0x42ea33=Bs((_0x381e7d=(_0x2ec7c5=_0x1b5a9e==null?void 0x0:_0x1b5a9e[_0x110f74(0x147)])!=null?_0x2ec7c5:_0x37afb3)!=null?_0x381e7d:Us,_0x4f89e2,_0x54049d);try{await this['_http'][_0x110f74(0x24a)](_0x42ea33,{'body':_0x52613a});}catch(_0x2494d1){throw this[_0x110f74(0x29f)][_0x110f74(0x32c)](_0x110f74(0x2e2),_0x110f74(0x228)),_0x2494d1;}}async[_0xf95350(0x36c)](_0x1c43c4){var _0x56e3af=_0xf95350;const {unitID:_0x5e5aa8,from:_0x292fc6,to:_0x343b04,unitType:_0xa25154}=_0x1c43c4[_0x56e3af(0x13f)];return(await this[_0x56e3af(0x171)][_0x56e3af(0x263)]({'metadata':void 0x0},{'unitID':_0x5e5aa8,'type':_0xa25154,'from':_0x292fc6,'to':_0x343b04}))[_0x56e3af(0xfb)];}};Et=js([Ue(0x0,_0x1f377b(_0x459b1e)),Ue(0x1,_0x1f377b(_0x1d95e4)),Ue(0x2,_0x4ef789),Ue(0x3,_0x2cd95e),Ue(0x4,_0x359a3a)],Et);const Fs=_0xf95350(0x17f);function Vs(_0x940e3f){var _0x39a2c2=_0xf95350;return JSON[_0x39a2c2(0x1f2)](_0x940e3f)[_0x39a2c2(0x131)];}class bi{constructor(){var _0x5386c5=_0xf95350;N(this,_0x5386c5(0x264),new _0x1d9c1a()),N(this,_0x5386c5(0x192),this[_0x5386c5(0x264)][_0x5386c5(0x206)]());}[_0xf95350(0x18b)](_0x3953b3){var _0x1d3a8d=_0xf95350;this['_commentUpdate$'][_0x1d3a8d(0x2f9)](_0x3953b3);}}var Gs=Object[_0xf95350(0x35a)],Ws=Object[_0xf95350(0x1b5)],Ks=(_0xa4b3cf,_0xa435d2,_0x4f548c,_0x47884a)=>{var _0x430cae=_0xf95350;for(var _0x38d381=_0x47884a>0x1?void 0x0:_0x47884a?Ws(_0xa435d2,_0x4f548c):_0xa435d2,_0x14204f=_0xa4b3cf[_0x430cae(0x131)]-0x1,_0x364a34;_0x14204f>=0x0;_0x14204f--)(_0x364a34=_0xa4b3cf[_0x14204f])&&(_0x38d381=(_0x47884a?_0x364a34(_0xa435d2,_0x4f548c,_0x38d381):_0x364a34(_0x38d381))||_0x38d381);return _0x47884a&&_0x38d381&&Gs(_0xa435d2,_0x4f548c,_0x38d381),_0x38d381;},Kt=(_0x59f23f,_0x122405)=>(_0x41bd11,_0x2e6879)=>_0x122405(_0x41bd11,_0x2e6879,_0x59f23f);let xe=class extends _0x21c7f9{constructor(_0x1101fd,_0x5e15b5){var _0x5adc54=_0xf95350;super(),N(this,_0x5adc54(0x340),new Map()),N(this,_0x5adc54(0x1ba),new _0x1d9c1a()),(this['_univerInstanceService']=_0x1101fd,this['_userManagerService']=_0x5e15b5,this[_0x5adc54(0x359)](_0x127445(this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0xda)])[_0x5adc54(0x39f)](_0x3dd616(_0x17f455=>_0x17f455['getUnitId']())),this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0x2df)])[_0x5adc54(0x39f)](_0x3dd616(_0x437649=>_0x437649[_0x5adc54(0x298)]())),this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0x2c9)])['pipe'](_0x3dd616(_0xd77b42=>_0xd77b42['getUnitId']())))[_0x5adc54(0x2f6)](_0x4ebd9b=>this[_0x5adc54(0x31c)](_0x4ebd9b))));}[_0xf95350(0x33a)](_0x3a048f){var _0x4472a4=_0xf95350;return this[_0x4472a4(0x340)][_0x4472a4(0x28d)](_0x3a048f)?_0x22b9ed(this[_0x4472a4(0x340)]['get'](_0x3a048f)):this[_0x4472a4(0x1ba)]['pipe'](_0x3dd616(_0x23624a=>{var _0x19a1d7=_0x4472a4;if(_0x23624a===_0x3a048f)return this[_0x19a1d7(0x340)]['get'](_0x23624a);}));}['setCurrentUser'](_0x2fffd8){var _0x1b4d7c=_0xf95350;this[_0x1b4d7c(0x262)]['setCurrentUser'](_0x2fffd8);}[_0xf95350(0x2fb)](){var _0x3a6317=_0xf95350;return this[_0x3a6317(0x262)][_0x3a6317(0x2fb)]();}[_0xf95350(0x15d)](_0xb82c91,_0x55e625){var _0xc53748=_0xf95350;let _0x2d6197=this['_roomMembers'][_0xc53748(0x151)](_0xb82c91);_0x2d6197||(_0x2d6197=new Ys(),this[_0xc53748(0x340)][_0xc53748(0x269)](_0xb82c91,_0x2d6197),this['_roomCreated$'][_0xc53748(0x2f9)](_0xb82c91)),_0x2d6197['updateMember'](_0x55e625);}[_0xf95350(0x203)](_0x2c0613,_0x5f29a7){var _0x17d626=_0xf95350;const _0xdb1a1=this[_0x17d626(0x340)][_0x17d626(0x151)](_0x2c0613);_0xdb1a1&&_0xdb1a1[_0x17d626(0x203)](_0x5f29a7);}[_0xf95350(0x1a4)](_0x4d17c1){var _0x40aa4d=_0xf95350;return this[_0x40aa4d(0x340)][_0x40aa4d(0x151)](_0x4d17c1);}[_0xf95350(0x1dd)](_0x174fb7,_0x2cb9f1){var _0x45a291=_0xf95350;const _0x458ddf=this[_0x45a291(0x340)][_0x45a291(0x151)](_0x174fb7);if(_0x458ddf)return _0x458ddf[_0x45a291(0x1dd)](_0x2cb9f1);}['_removeRoom'](_0x269d20){var _0x5ec998=_0xf95350;const _0x35bfa7=this['_roomMembers'][_0x5ec998(0x151)](_0x269d20);_0x35bfa7&&(_0x35bfa7[_0x5ec998(0x237)](),this[_0x5ec998(0x340)][_0x5ec998(0x1e1)](_0x269d20));}['dispose'](){var _0x4ba849=_0xf95350;this[_0x4ba849(0x340)][_0x4ba849(0x362)](_0x3a821e=>_0x3a821e['dispose']()),this[_0x4ba849(0x340)][_0x4ba849(0x2b0)](),this[_0x4ba849(0x1ba)][_0x4ba849(0x140)]();}};xe=Ks([Kt(0x0,_0x4accb0),Kt(0x1,_0x1f377b(_0x476b93))],xe);class Ys extends _0x21c7f9{constructor(){var _0x1de78a=_0xf95350;super(...arguments),N(this,_0x1de78a(0x346),new Map()),N(this,_0x1de78a(0x368),new _0x26dbcc(this[_0x1de78a(0x346)])),N(this,_0x1de78a(0x251),this[_0x1de78a(0x368)][_0x1de78a(0x206)]());}['dispose'](){var _0x25ccd0=_0xf95350;this[_0x25ccd0(0x346)][_0x25ccd0(0x2b0)]();}[_0xf95350(0x15d)](_0x2fd51e){var _0x21bd71=_0xf95350;this[_0x21bd71(0x346)][_0x21bd71(0x269)](_0x2fd51e[_0x21bd71(0x33e)],_0x2fd51e),this[_0x21bd71(0x2bf)]();}[_0xf95350(0x203)](_0x449b5f){var _0x3b305d=_0xf95350;this[_0x3b305d(0x346)]['delete'](_0x449b5f);}[_0xf95350(0x1dd)](_0x22fab7){var _0x4025a4=_0xf95350;return this[_0x4025a4(0x346)][_0x4025a4(0x151)](_0x22fab7);}['getAllMembers'](){var _0x433c2a=_0xf95350;return Array[_0x433c2a(0x375)](this[_0x433c2a(0x346)][_0x433c2a(0x1fe)]());}[_0xf95350(0x2bf)](){var _0x49d5a0=_0xf95350;this[_0x49d5a0(0x368)][_0x49d5a0(0x2f9)](this[_0x49d5a0(0x346)]);}}var qs=Object[_0xf95350(0x35a)],zs=Object[_0xf95350(0x1b5)],Js=(_0x1a1813,_0x460e1b,_0x2660a5,_0x31d87e)=>{var _0x5eccf8=_0xf95350;for(var _0x403466=_0x31d87e>0x1?void 0x0:_0x31d87e?zs(_0x460e1b,_0x2660a5):_0x460e1b,_0x309776=_0x1a1813[_0x5eccf8(0x131)]-0x1,_0x394603;_0x309776>=0x0;_0x309776--)(_0x394603=_0x1a1813[_0x309776])&&(_0x403466=(_0x31d87e?_0x394603(_0x460e1b,_0x2660a5,_0x403466):_0x394603(_0x403466))||_0x403466);return _0x31d87e&&_0x403466&&qs(_0x460e1b,_0x2660a5,_0x403466),_0x403466;},me=(_0x134345,_0x7c6c02)=>(_0x4daa9c,_0xbeba90)=>_0x7c6c02(_0x4daa9c,_0xbeba90,_0x134345),Te=(_0x10ae04=>(_0x10ae04[_0x10ae04['IDLE']=0x0]='IDLE',_0x10ae04[_0x10ae04['JOINING']=0x1]=_0xf95350(0x214),_0x10ae04[_0x10ae04[_0xf95350(0x188)]=0x2]=_0xf95350(0x188),_0x10ae04[_0x10ae04[_0xf95350(0x2fa)]=0x3]=_0xf95350(0x2fa),_0x10ae04))(Te||{});const Yt={[Ee[_0xf95350(0x2f7)]]:_0xf95350(0x231),[Ee[_0xf95350(0x10a)]]:_0xf95350(0x219),[Ee[_0xf95350(0x115)]]:_0xf95350(0x258),[Ee[_0xf95350(0x186)]]:'session.room-permission-denied',[Ee[_0xf95350(0x364)]]:_0xf95350(0x36b)};let It=class extends _0x426883{constructor(_0x1f732b,_0xfa80d7,_0x41cfe2,_0x2ad34a,_0x369c04,_0x1cbf3c,_0x462c1b,_0x5bd7a1,_0x27ab69){var _0x595fb0=_0xf95350;super(),N(this,'_sessionStatus$',new _0x26dbcc(0x0)),N(this,_0x595fb0(0x107),this['_sessionStatus$'][_0x595fb0(0x206)]()),N(this,_0x595fb0(0x21a),new _0x1d9c1a()),N(this,_0x595fb0(0x23d),this[_0x595fb0(0x21a)][_0x595fb0(0x206)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x595fb0(0x15b)),N(this,_0x595fb0(0x223),!0x1),N(this,'_telemetryInfo',null),(this[_0x595fb0(0x216)]=_0x1f732b,this[_0x595fb0(0x29f)]=_0x41cfe2,this[_0x595fb0(0x215)]=_0x2ad34a,this[_0x595fb0(0x189)]=_0x369c04,this[_0x595fb0(0x372)]=_0x1cbf3c,this[_0x595fb0(0x2e4)]=_0x462c1b,this['_collaborationUIEventService']=_0x5bd7a1,this[_0x595fb0(0x181)]=_0x27ab69,this[_0x595fb0(0x223)]=!!this['_telemetryService'],_0xfa80d7[_0x595fb0(0x39f)](_0x30c8dd(this[_0x595fb0(0x205)]))['subscribe'](_0x350457=>{var _0x4a2b4b=_0x595fb0,_0xaedfa5;typeof _0x350457>'u'||(this['_socket']=_0x350457,_0x350457?(this[_0x4a2b4b(0x353)](_0x350457),this[_0x4a2b4b(0x36d)]=_0x350457[_0x4a2b4b(0x265)][_0x4a2b4b(0x2f6)](_0x364dac=>{var _0x3658fd=_0x4a2b4b;_0x364dac[_0x3658fd(0x26d)]===this[_0x3658fd(0x216)]&&this[_0x3658fd(0x394)](_0x364dac);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4a2b4b(0x165)][_0x4a2b4b(0x2f9)](0x2),(_0xaedfa5=this['_socketMessageSubscription'])==null||_0xaedfa5[_0x4a2b4b(0x2e8)](),this[_0x4a2b4b(0x36d)]=null));}));}get['sessionStatus'](){var _0x3c8ef6=_0xf95350;return this['_sessionStatus$'][_0x3c8ef6(0x1a0)]();}[_0xf95350(0xd8)](){var _0x547097=_0xf95350,_0x504164,_0x27994c;return(_0x27994c=(_0x504164=this[_0x547097(0x142)])==null?void 0x0:_0x504164[_0x547097(0x33e)])!=null?_0x27994c:null;}[_0xf95350(0x237)](){var _0x5a3c0c=_0xf95350;super[_0x5a3c0c(0x237)](),this['dispose$'][_0x5a3c0c(0x2f9)](),this['dispose$']['complete']();}[_0xf95350(0x11b)](){var _0x5de2a4=_0xf95350,_0x4f4c5d,_0x27cd17;this[_0x5de2a4(0x24e)](),(_0x4f4c5d=this[_0x5de2a4(0x142)])==null||_0x4f4c5d[_0x5de2a4(0x1c4)]({'cmd':F[_0x5de2a4(0x391)],'data':{'roomID':this[_0x5de2a4(0x216)]}}),(_0x27cd17=this[_0x5de2a4(0x142)])==null||_0x27cd17[_0x5de2a4(0x11b)](),this[_0x5de2a4(0x21a)]['complete'](),this['_sessionStatus$'][_0x5de2a4(0x140)](),this[_0x5de2a4(0x237)]();}['_onCombEvent'](_0x2b2ecf){var _0x37c9ea=_0xf95350;_0x2b2ecf[_0x37c9ea(0xfd)]===F['JOIN']?this['_onJoinRoomEvent'](_0x2b2ecf):_0x2b2ecf[_0x37c9ea(0xfd)]===F[_0x37c9ea(0x284)]&&this[_0x37c9ea(0xe4)](_0x2b2ecf);}['_joinRoom'](_0x263371){var _0x1e0352=_0xf95350;this['_sessionStatus$'][_0x1e0352(0x2f9)](0x1),_0x263371[_0x1e0352(0x1c4)]({'cmd':F['JOIN'],'routeKey':this[_0x1e0352(0x216)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e0352(0x216)]}]}});}[_0xf95350(0xe3)](_0x21d169){var _0x159db8=_0xf95350,_0x548617;if(_0x21d169['code']in Yt){this[_0x159db8(0xd4)][_0x159db8(0x354)]({'id':ne[_0x159db8(0x32f)],'data':Yt[_0x21d169[_0x159db8(0x24c)]]}),this[_0x159db8(0x165)][_0x159db8(0x2f9)](0x2);return;}this[_0x159db8(0x165)][_0x159db8(0x2f9)](0x3);const _0x51e3fa=(_0x548617=_0x21d169[_0x159db8(0x13f)]['roomInfos'][this[_0x159db8(0x216)]])==null?void 0x0:_0x548617[_0x159db8(0x133)];_0x51e3fa&&_0x51e3fa['forEach'](_0x4418a7=>this['_memberService'][_0x159db8(0x15d)](this[_0x159db8(0x216)],_0x4418a7));}['_onRecvEvent'](_0x592c1e){var _0x59ca12=_0xf95350;try{const _0x479d24=_0x592c1e[_0x59ca12(0x13f)];switch(_0x479d24[_0x59ca12(0x276)]){case _0x15e414[_0x59ca12(0x242)]:this[_0x59ca12(0x355)](_0x479d24),this[_0x59ca12(0x21a)][_0x59ca12(0x2f9)](_0x479d24);break;case _0x15e414[_0x59ca12(0x31f)]:this['_onUserLeave'](_0x479d24),this[_0x59ca12(0x21a)]['next'](_0x479d24);break;case _0x15e414[_0x59ca12(0x287)]:case _0x15e414[_0x59ca12(0x1d8)]:this[_0x59ca12(0x35f)](),this[_0x59ca12(0x34b)](),this[_0x59ca12(0x21a)]['next'](_0x479d24);break;case _0x15e414['MSG_FOR_ERROR']:this[_0x59ca12(0x29f)][_0x59ca12(0x32c)](_0x59ca12(0x299)+JSON['stringify'](_0x479d24)),this[_0x59ca12(0x21a)][_0x59ca12(0x2f9)](_0x479d24);break;case _0x15e414[_0x59ca12(0x240)]:this[_0x59ca12(0x2e4)]['onCommentUpdate'](_0x479d24[_0x59ca12(0x13f)]),this['_event$'][_0x59ca12(0x2f9)](_0x479d24);break;default:this['_event$'][_0x59ca12(0x2f9)](_0x479d24);}}catch(_0x19ab87){this[_0x59ca12(0x29f)][_0x59ca12(0x32c)](_0x19ab87,_0x592c1e);}}[_0xf95350(0x355)](_0x54adf0){var _0xd86983=_0xf95350;this[_0xd86983(0x372)][_0xd86983(0x15d)](this['_unitID'],_0x54adf0[_0xd86983(0x13f)]);}[_0xf95350(0xdb)](_0x275ff5){var _0x341007=_0xf95350;this[_0x341007(0x372)]['removeMember'](this['_unitID'],_0x275ff5[_0x341007(0x13f)]['memberID']);}async[_0xf95350(0x1c4)](_0x31ac7c,_0x4c06bd){var _0xfb84b9=_0xf95350;if(this[_0xfb84b9(0x16e)]!==0x3||!this[_0xfb84b9(0x142)])throw new Error(_0xfb84b9(0x161));try{_0x31ac7c['eventID']===_0x15e414[_0xfb84b9(0x20a)]&&(this[_0xfb84b9(0x344)](),this[_0xfb84b9(0x36a)](_0x31ac7c)),this[_0xfb84b9(0x142)][_0xfb84b9(0x1c4)]({'cmd':F[_0xfb84b9(0x13a)],'routeKey':_0x4c06bd,'routeType':'','data':_0x31ac7c});}catch(_0xc1a2e2){this[_0xfb84b9(0x29f)][_0xfb84b9(0x32c)](_0xc1a2e2);}}[_0xf95350(0x344)](){var _0x772391=_0xf95350,_0x97dc26;this[_0x772391(0x15b)]=setTimeout(()=>{var _0x2b5d9a=_0x772391;this['_collaborationTimeoutTimer']=null,this[_0x2b5d9a(0xd4)][_0x2b5d9a(0x354)]({'id':ne[_0x2b5d9a(0x1b1)]});},(_0x97dc26=this[_0x772391(0x215)][_0x772391(0x1ab)](Si))!=null?_0x97dc26:Ei);}[_0xf95350(0x34b)](){var _0x47f981=_0xf95350;this[_0x47f981(0x15b)]&&(clearTimeout(this[_0x47f981(0x15b)]),this['_collaborationTimeoutTimer']=null);}[_0xf95350(0x36a)](_0x3b64f9){var _0x196237=_0xf95350;if(!this['_shouldReportTelemetry'])return;const {data:_0x932e1a}=_0x3b64f9,{unitID:_0x992897,changeset:_0x174862}=_0x932e1a,{mutations:_0x11ce16,type:_0x5e25f1}=_0x174862;this[_0x196237(0xee)]={'unitId':_0x992897,'type':_0x5e25f1,'startTime':performance[_0x196237(0x109)](),'stopTime':0x0,'duration':0x0,'size':Vs(_0x11ce16)};}[_0xf95350(0x35f)](){var _0x2e99ff=_0xf95350;if(this[_0x2e99ff(0x223)]){if(!this[_0x2e99ff(0xee)]){this['_logService'][_0x2e99ff(0x32c)](_0x2e99ff(0x2e2),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e99ff(0xee)][_0x2e99ff(0x283)]=performance[_0x2e99ff(0x109)](),this[_0x2e99ff(0xee)][_0x2e99ff(0x2b4)]=this['_telemetryInfo']['stopTime']-this[_0x2e99ff(0xee)][_0x2e99ff(0x19f)],this[_0x2e99ff(0x181)][_0x2e99ff(0x2f4)](Fs,this['_telemetryInfo']),this[_0x2e99ff(0xee)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Js([me(0x2,_0x2cd95e),me(0x3,_0x4ef789),me(0x4,_0x1f377b(_0x3b591c)),me(0x5,_0x1f377b(xe)),me(0x6,_0x1f377b(bi)),me(0x7,_0x1f377b(pe)),me(0x8,_0x36e3d4(_0x4c4a70))],It);var Xs=Object[_0xf95350(0x35a)],Zs=Object[_0xf95350(0x1b5)],Qs=(_0x446e3e,_0x177da2,_0x5ebd89,_0x179af7)=>{var _0x419704=_0xf95350;for(var _0x22f99b=_0x179af7>0x1?void 0x0:_0x179af7?Zs(_0x177da2,_0x5ebd89):_0x177da2,_0x105079=_0x446e3e[_0x419704(0x131)]-0x1,_0x1b0795;_0x105079>=0x0;_0x105079--)(_0x1b0795=_0x446e3e[_0x105079])&&(_0x22f99b=(_0x179af7?_0x1b0795(_0x177da2,_0x5ebd89,_0x22f99b):_0x1b0795(_0x22f99b))||_0x22f99b);return _0x179af7&&_0x22f99b&&Xs(_0x177da2,_0x5ebd89,_0x22f99b),_0x22f99b;},ge=(_0x1186f8,_0x5286ac)=>(_0x3462ec,_0x4504b3)=>_0x5286ac(_0x3462ec,_0x4504b3,_0x1186f8);let Le=class extends _0x21c7f9{constructor(_0x40221e,_0x4c7217,_0x5b0b3f,_0x59141d,_0x38685f,_0x2a37cb,_0xb91999){var _0x7d9743=_0xf95350;super(),N(this,_0x7d9743(0x1ef),new _0x26dbcc(void 0x0)),N(this,'socket$',this[_0x7d9743(0x1ef)]['asObservable']()),N(this,_0x7d9743(0x144),null),N(this,'_sessions',new Map()),N(this,_0x7d9743(0x2db),new _0x26dbcc(Te[_0x7d9743(0x2bd)])),N(this,_0x7d9743(0x201),this[_0x7d9743(0x2db)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x7d9743(0xf7)),N(this,_0x7d9743(0x218),0x0),N(this,_0x7d9743(0x3a8)),N(this,_0x7d9743(0x371)),(this[_0x7d9743(0x2fe)]=_0x40221e,this[_0x7d9743(0x29f)]=_0x4c7217,this['_configService']=_0x5b0b3f,this['_socketService']=_0x59141d,this[_0x7d9743(0xdf)]=_0x38685f,this[_0x7d9743(0xd4)]=_0x2a37cb,this[_0x7d9743(0x2ea)]=_0xb91999,this['_listenToNetworkCondition']());}get[_0xf95350(0x142)](){var _0x3ed577=_0xf95350;return this[_0x3ed577(0x1ef)][_0x3ed577(0x1a0)]();}[_0xf95350(0x114)](){var _0x584f9a=_0xf95350;this[_0x584f9a(0x2ea)]&&this[_0x584f9a(0x359)](this['_networkConditionService'][_0x584f9a(0x38f)][_0x584f9a(0x2f6)](_0x282f88=>{var _0x271907=_0x584f9a;_0x282f88&&!this[_0x271907(0x142)]&&this[_0x271907(0x2de)](),_0x282f88||this[_0x271907(0x21d)]();}));}['dispose'](){var _0x533fa3=_0xf95350;super['dispose'](),this[_0x533fa3(0x11e)][_0x533fa3(0x362)](_0x41503d=>_0x41503d['dispose']()),this[_0x533fa3(0x11e)][_0x533fa3(0x2b0)](),this[_0x533fa3(0x2db)][_0x533fa3(0x140)]();}async[_0xf95350(0x24b)](_0x170546){var _0x5b480e=_0xf95350;if(this['_sessions']['has'](_0x170546))return this['_sessions'][_0x5b480e(0x151)](_0x170546);this['_tryEnsureSocket']();const _0x246f31=this[_0x5b480e(0x2fe)][_0x5b480e(0xf6)](It,_0x170546,this[_0x5b480e(0x1ef)]['asObservable']());return this[_0x5b480e(0x11e)][_0x5b480e(0x269)](_0x170546,_0x246f31),_0x246f31;}[_0xf95350(0x2a3)](_0x100497){var _0x3b494a=_0xf95350,_0xb17ff4;const _0x15c1a7=this[_0x3b494a(0x11e)][_0x3b494a(0x151)](_0x100497);_0x15c1a7&&(this[_0x3b494a(0x11e)][_0x3b494a(0x1e1)](_0x100497),_0x15c1a7['close']()),this['_sessions']['size']||(_0xb17ff4=this[_0x3b494a(0x142)])==null||_0xb17ff4[_0x3b494a(0x11b)]();}[_0xf95350(0x2de)](){var _0x2efd26=_0xf95350;this[_0x2efd26(0x218)]=0x0,this[_0x2efd26(0xf7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2efd26(0xf7)]=null),this[_0x2efd26(0x19b)]();}async[_0xf95350(0x17b)](){var _0x4ff0e7=_0xf95350,_0x2a883c,_0x30e4aa,_0x2ca886;const _0xb3ca90=this[_0x4ff0e7(0x215)]['getConfig'](q),_0xc9d79a=(_0x2a883c=_0xb3ca90==null?void 0x0:_0xb3ca90[_0x4ff0e7(0x2e5)])!=null?_0x2a883c:Rs;return(_0x2ca886=(_0x30e4aa=(await this[_0x4ff0e7(0xdf)][_0x4ff0e7(0x151)](_0xc9d79a,{'headers':{'Content-Type':_0x4ff0e7(0x29c)}}))[_0x4ff0e7(0x2c1)])==null?void 0x0:_0x30e4aa[_0x4ff0e7(0x12c)])!=null?_0x2ca886:'';}[_0xf95350(0x18d)](_0x1e60e5){var _0x4a9604=_0xf95350,_0x1d3259,_0x596de2;const _0x14e267=this[_0x4a9604(0x215)][_0x4a9604(0x1ab)](Cs),_0x5339e0=this[_0x4a9604(0x215)][_0x4a9604(0x1ab)](q),_0x20ac3a=(_0x596de2=(_0x1d3259=_0x5339e0==null?void 0x0:_0x5339e0[_0x4a9604(0x154)])!=null?_0x1d3259:_0x14e267)!=null?_0x596de2:bs,_0x522855=typeof window>'u'?new URL(_0x20ac3a):new URL(_0x20ac3a,window['location'][_0x4a9604(0x17c)]);_0x522855[_0x4a9604(0xc3)][_0x4a9604(0x269)](_0x4a9604(0x152),_0x1e60e5);const _0x4738bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4a9604(0x280)]);return _0x4738bc[_0x4a9604(0x151)]('runId')&&_0x522855[_0x4a9604(0xc3)][_0x4a9604(0x269)](_0x4a9604(0xdd),_0x4738bc[_0x4a9604(0x151)]('runId')),_0x522855[_0x4a9604(0x1e3)]();}async[_0xf95350(0xe8)](){var _0x409864=_0xf95350;const _0x1cc6ac=await this['_getSessionTicket'](),_0x178759=this['_createSocketURL'](_0x1cc6ac),_0x2a9a0a=this[_0x409864(0x12a)]['createSocket'](_0x178759);return this[_0x409864(0x144)]=_0x2a9a0a,_0x2a9a0a;}async[_0xf95350(0x175)](){var _0x23d514=_0xf95350,_0x93c52,_0x474c39;try{const _0x177c68=(_0x474c39=(_0x93c52=this[_0x23d514(0x142)])!=null?_0x93c52:this['_candidateSocket'])!=null?_0x474c39:await this[_0x23d514(0xe8)]();if(_0x177c68){const _0x165119=_0x177c68[_0x23d514(0x1c4)];_0x177c68[_0x23d514(0x1c4)]=_0x236d7d=>(this[_0x23d514(0x15c)](),_0x165119[_0x23d514(0x279)](_0x177c68,[_0x236d7d])),_0x177c68[_0x23d514(0x265)][_0x23d514(0x2f6)](_0x41eca6=>this[_0x23d514(0x30a)](_0x177c68,_0x41eca6)),_0x177c68[_0x23d514(0xc0)][_0x23d514(0x39f)](_0x4f99c6(0x1))[_0x23d514(0x2f6)](_0x2d98dc=>this['_logService'][_0x23d514(0x32c)](_0x23d514(0x381),_0x2d98dc)),_0x177c68['open$'][_0x23d514(0x39f)](_0x4f99c6(0x1))['subscribe'](()=>{var _0x5b298b=_0x23d514;this[_0x5b298b(0x306)](_0x177c68);}),_0x177c68[_0x23d514(0xca)][_0x23d514(0x39f)](_0x4f99c6(0x1))['subscribe'](_0x353184=>{var _0x5ca668=_0x23d514;this[_0x5ca668(0x29f)][_0x5ca668(0xd7)](_0x5ca668(0x12d),_0x5ca668(0x137),_0x353184),this[_0x5ca668(0x1e4)]();});}}catch(_0x5df28b){this[_0x23d514(0x29f)][_0x23d514(0x32c)](_0x5df28b),this[_0x23d514(0x1e4)]();}}[_0xf95350(0x306)](_0x427261){var _0xfb5717=_0xf95350;this[_0xfb5717(0x29f)][_0xfb5717(0xd7)](_0xfb5717(0x12d),'socket\x20open.'),_0x427261['send']({'cmd':F[_0xfb5717(0x1d3)]}),this[_0xfb5717(0x15c)]();}[_0xf95350(0x21d)](){var _0x330981=_0xf95350;this[_0x330981(0x100)]=!0x1,this['_candidateSocket']=null,this[_0x330981(0x2db)]['next'](Te[_0x330981(0x188)]),this[_0x330981(0x1ef)][_0x330981(0x2f9)](null),this[_0x330981(0x197)](),this[_0x330981(0x2a7)]();}[_0xf95350(0x1e4)](){var _0x8239b8=_0xf95350,_0x3e5ce1;this[_0x8239b8(0x21d)](),this[_0x8239b8(0x218)]<((_0x3e5ce1=this[_0x8239b8(0x215)][_0x8239b8(0x1ab)](Ds))!=null?_0x3e5ce1:Ps)?(this[_0x8239b8(0xd4)][_0x8239b8(0x354)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x8239b8(0xd4)][_0x8239b8(0x354)]({'id':ne['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5a87e3=_0xf95350,_0x22387b;const _0x1928cb=this['_retryCount'],_0x4356d6=this[_0x5a87e3(0x215)][_0x5a87e3(0x1ab)](q),_0x43dedb=_0x1928cb===0x0?0x0:((_0x22387b=_0x4356d6==null?void 0x0:_0x4356d6[_0x5a87e3(0x29b)])!=null?_0x22387b:Ns)*0x2**_0x1928cb;this[_0x5a87e3(0xf7)]=setTimeout(()=>{var _0x466e42=_0x5a87e3;clearTimeout(this[_0x466e42(0xf7)]),this[_0x466e42(0xf7)]=null,this[_0x466e42(0x175)]();},_0x43dedb),this[_0x5a87e3(0x218)]+=0x1;}[_0xf95350(0x30a)](_0x50ea50,_0x26223a){var _0x2e3258=_0xf95350;const {cmd:_0x10edcb}=_0x26223a;_0x10edcb===F['HELLO']&&!this[_0x2e3258(0x100)]&&(_0x50ea50[_0x2e3258(0x33e)]=_0x26223a[_0x2e3258(0x13f)][_0x2e3258(0x33e)],this[_0x2e3258(0x1ef)]['next'](_0x50ea50),this[_0x2e3258(0x2db)][_0x2e3258(0x2f9)](Te['ONLINE']),this[_0x2e3258(0x100)]=!0x0,this[_0x2e3258(0x144)]=null),_0x10edcb===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x2e3258(0x15c)]();}['_rescheduleHeartbeat'](){var _0x571e08=_0xf95350,_0x1461ee;this['_clearHeartbeatTimer'](),this[_0x571e08(0x3a8)]=setTimeout(()=>this[_0x571e08(0x314)](),(_0x1461ee=this[_0x571e08(0x215)]['getConfig'](Os))!=null?_0x1461ee:ys);}[_0xf95350(0x314)](){var _0x49227b=_0xf95350;this[_0x49227b(0x142)][_0x49227b(0x1c4)]({'cmd':F[_0x49227b(0x25c)]}),this[_0x49227b(0x128)]();}[_0xf95350(0x128)](){var _0x2edf62=_0xf95350,_0x380963;this[_0x2edf62(0x371)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x380963=this[_0x2edf62(0x215)][_0x2edf62(0x1ab)](Si))!=null?_0x380963:Ei);}[_0xf95350(0x2a7)](){var _0x49f1ce=_0xf95350;this[_0x49f1ce(0x3a8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xf95350(0x197)](){var _0xa35551=_0xf95350;this[_0xa35551(0x371)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa35551(0x371)]=null);}};Le=Qs([ge(0x0,_0x1f377b(_0x459b1e)),ge(0x1,_0x2cd95e),ge(0x2,_0x4ef789),ge(0x3,Ci),ge(0x4,_0x1f377b(_0x1d95e4)),ge(0x5,_0x1f377b(pe)),ge(0x6,_0x36e3d4(Ls))],Le);const V=[];for(let s=0x0;s<0x100;++s)V[_0xf95350(0x2e0)]((s+0x100)[_0xf95350(0x1e3)](0x10)[_0xf95350(0x2dd)](0x1));function er(_0x1647ff,_0x403e08=0x0){var _0x5d322f=_0xf95350;return(V[_0x1647ff[_0x403e08+0x0]]+V[_0x1647ff[_0x403e08+0x1]]+V[_0x1647ff[_0x403e08+0x2]]+V[_0x1647ff[_0x403e08+0x3]]+'-'+V[_0x1647ff[_0x403e08+0x4]]+V[_0x1647ff[_0x403e08+0x5]]+'-'+V[_0x1647ff[_0x403e08+0x6]]+V[_0x1647ff[_0x403e08+0x7]]+'-'+V[_0x1647ff[_0x403e08+0x8]]+V[_0x1647ff[_0x403e08+0x9]]+'-'+V[_0x1647ff[_0x403e08+0xa]]+V[_0x1647ff[_0x403e08+0xb]]+V[_0x1647ff[_0x403e08+0xc]]+V[_0x1647ff[_0x403e08+0xd]]+V[_0x1647ff[_0x403e08+0xe]]+V[_0x1647ff[_0x403e08+0xf]])[_0x5d322f(0x177)]();}let ut;const tr=new Uint8Array(0x10);function ir(){var _0x3b4bc2=_0xf95350;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b4bc2(0x301)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x3b4bc2(0x301)][_0x3b4bc2(0x339)](crypto);}return ut(tr);}const sr=typeof crypto<'u'&&crypto[_0xf95350(0x1b3)]&&crypto[_0xf95350(0x1b3)][_0xf95350(0x339)](crypto),qt={'randomUUID':sr};function rr(_0x25bf7d,_0x5a67c4,_0x41635e){var _0x596e51=_0xf95350;if(qt[_0x596e51(0x1b3)]&&!_0x5a67c4&&!_0x25bf7d)return qt[_0x596e51(0x1b3)]();_0x25bf7d=_0x25bf7d||{};const _0x1f65db=_0x25bf7d[_0x596e51(0x220)]||(_0x25bf7d[_0x596e51(0x25d)]||ir)();return _0x1f65db[0x6]=_0x1f65db[0x6]&0xf|0x40,_0x1f65db[0x8]=_0x1f65db[0x8]&0x3f|0x80,er(_0x1f65db);}const J=_0x5f2d11(_0xf95350(0xd5));function no(_0x308307){return'unit-cache-'+_0x308307;}var nr=Object[_0xf95350(0x35a)],or=Object[_0xf95350(0x1b5)],ar=(_0x5b2987,_0x3de9fd,_0x513f47,_0x4812b4)=>{var _0x2fde73=_0xf95350;for(var _0x452a02=_0x4812b4>0x1?void 0x0:_0x4812b4?or(_0x3de9fd,_0x513f47):_0x3de9fd,_0x37e4b2=_0x5b2987[_0x2fde73(0x131)]-0x1,_0x15359c;_0x37e4b2>=0x0;_0x37e4b2--)(_0x15359c=_0x5b2987[_0x37e4b2])&&(_0x452a02=(_0x4812b4?_0x15359c(_0x3de9fd,_0x513f47,_0x452a02):_0x15359c(_0x452a02))||_0x452a02);return _0x4812b4&&_0x452a02&&nr(_0x3de9fd,_0x513f47,_0x452a02),_0x452a02;},dt=(_0x314abb,_0x929054)=>(_0x4b34d1,_0x4f76da)=>_0x929054(_0x4b34d1,_0x4f76da,_0x314abb);function cr(_0x37e08b){var _0x398bb0=_0xf95350;const {unitID:_0x34219e,mutations:_0x3a6b98}=_0x37e08b;return{'unitId':_0x34219e,'subUnitId':_0x3a6b98[0x0][_0x398bb0(0x39e)][_0x398bb0(0x33d)]};}let it=class{constructor(_0x52deff,_0xd0b066,_0x858f66){var _0x54b935=_0xf95350;this[_0x54b935(0x2fe)]=_0x52deff,this['_transformService']=_0xd0b066,this[_0x54b935(0x308)]=_0x858f66;}[_0xf95350(0x233)](_0x267ff1){var _0x493b2d=_0xf95350,_0x34aa78,_0x4d0fe0,_0x455c88,_0x1f649d;const _0xe68dc6=this['_injector']['get'](_0x232e9a),{unitId:_0x329a73,subUnitId:_0x418fcd}=cr(_0x267ff1),_0x49553=_0xe68dc6==null?void 0x0:_0xe68dc6['getWorkbookSelections'](_0x329a73)[_0x493b2d(0x399)](),_0x5071cc=(_0x4d0fe0=(_0x34aa78=this[_0x493b2d(0x308)][_0x493b2d(0x225)](_0x329a73))==null?void 0x0:_0x34aa78[_0x493b2d(0x352)]())==null?void 0x0:_0x4d0fe0[_0x493b2d(0x380)]();if(_0x49553[_0x493b2d(0x131)]===0x0||!_0x329a73||!_0x418fcd)return;const _0x676816=[{'id':_0x244d63['id'],'params':{'unitId':_0x329a73,'subUnitId':_0x5071cc,'selections':_0x324eba[_0x493b2d(0x1f1)](_0x49553)}}],_0x6097f4=this[_0x493b2d(0x16c)]['transformMutationsWithChangeset'](_0x267ff1,_0x676816);if(!_0x5e1805(_0x6097f4))throw _0x6097f4[_0x493b2d(0x32c)];const _0x1bdaec=(_0x1f649d=(_0x455c88=_0x6097f4['m2Prime'][0x0])==null?void 0x0:_0x455c88[_0x493b2d(0x39e)])==null?void 0x0:_0x1f649d[_0x493b2d(0x22e)];if(Array[_0x493b2d(0x28e)](_0x1bdaec)&&_0x1bdaec[_0x493b2d(0x131)]){if(_0x1bdaec['length']===_0x676816[0x0][_0x493b2d(0x39e)][_0x493b2d(0x22e)][_0x493b2d(0x131)]&&_0x1bdaec['every']((_0x100abd,_0x1242b7)=>_0x107aa5['equals'](_0x100abd[_0x493b2d(0x396)],_0x676816[0x0][_0x493b2d(0x39e)]['selections'][_0x1242b7][_0x493b2d(0x396)])))return;this[_0x493b2d(0x2fe)][_0x493b2d(0x151)](_0x16ead5)[_0x493b2d(0x309)](_0x244d63['id'],{'unitId':_0x329a73,'subUnitId':_0x5071cc,'selections':_0x1bdaec});}}};it=ar([dt(0x0,_0x1f377b(_0x459b1e)),dt(0x1,_0xd312f2),dt(0x2,_0x4accb0)],it);const ht=_0x5f2d11(_0xf95350(0x1e8));var Ri=(_0x5d4e37=>(_0x5d4e37[_0x5d4e37['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xf95350(0x207),_0x5d4e37[_0x5d4e37['OTHER_CLIENTS_EDITING']=0x1]=_0xf95350(0x18a),_0x5d4e37))(Ri||{});const hr=new Set([_0x4090d9['id']]);function zt(_0x317ba6,_0x1b2bac,_0x5be8ba,_0xcad0d2,_0x407ef9){var _0x54a6f5=_0xf95350,_0x3508cb,_0x6051e0,_0x557011,_0x4c95e9;const _0x10b9cb=[];for(const _0x87a995 of _0x317ba6)if(hr[_0x54a6f5(0x28d)](_0x87a995['id'])){if(_0x10b9cb['length']>0x0)break;_0x10b9cb['push'](_0x87a995);break;}else _0x10b9cb[_0x54a6f5(0x2e0)](_0x87a995);const _0x4e1237=(_0x6051e0=(_0x3508cb=_0x407ef9[_0x54a6f5(0x2fb)]())==null?void 0x0:_0x3508cb[_0x54a6f5(0x1b9)])!=null?_0x6051e0:_0x54a6f5(0x397),_0x1a0e34=(_0x4c95e9=(_0x557011=_0x407ef9[_0x54a6f5(0x2fb)]())==null?void 0x0:_0x557011['memberID'])!=null?_0x4c95e9:'unknown';return{'changeset':{'unitID':_0x1b2bac,'type':_0x1bcb48(_0x5be8ba[_0x54a6f5(0x25a)](_0x1b2bac)),'baseRev':_0xcad0d2['getCurrentRevOfUnit'](_0x1b2bac),'revision':0x0,'userID':_0x4e1237,'memberID':_0x1a0e34,'mutations':_0x10b9cb},'pendingMutations':_0x317ba6[_0x54a6f5(0x2dd)](_0x10b9cb[_0x54a6f5(0x131)])};}function _r(_0x180304,_0xd9e871,_0x7baa9b,_0x2f4fd9,_0x2c1c13){var _0x404315=_0xf95350,_0x2fe7d3,_0xd81ffd,_0x5f47c2,_0x6eddd3;const _0x5e3af8=[_0x180304[_0x404315(0x2ad)]((_0x590711,_0x18fc5c)=>{var _0x417f07=_0x404315,_0x334504;const {id:_0x479435}=_0x590711,{id:_0x335204,type:_0x2262be}=_0x18fc5c,_0x346b65=(_0x334504=_0x590711[_0x417f07(0x39e)])!=null?_0x334504:{'actions':null},_0x100539=_0x18fc5c[_0x417f07(0x39e)];if(_0x479435&&_0x479435!==_0x335204)throw new Error(_0x417f07(0x311)+_0x479435+_0x417f07(0x39b)+_0x335204+'.');return{..._0x590711,'id':_0x335204,'type':_0x2262be,'params':{'unitId':_0x100539[_0x417f07(0x149)],'textRanges':_0x100539[_0x417f07(0x20c)],'actions':_0x34d239[_0x417f07(0x2b2)](_0x346b65[_0x417f07(0x163)],_0x100539[_0x417f07(0x163)])}};},{})],_0x43c40b=(_0xd81ffd=(_0x2fe7d3=_0x2c1c13[_0x404315(0x2fb)]())==null?void 0x0:_0x2fe7d3[_0x404315(0x1b9)])!=null?_0xd81ffd:'unknown',_0x51fec6=(_0x6eddd3=(_0x5f47c2=_0x2c1c13[_0x404315(0x2fb)]())==null?void 0x0:_0x5f47c2[_0x404315(0x33e)])!=null?_0x6eddd3:_0x404315(0x397);return{'changeset':{'unitID':_0xd9e871,'type':_0x1bcb48(_0x7baa9b[_0x404315(0x25a)](_0xd9e871)),'baseRev':_0x2f4fd9['getCurrentRevOfUnit'](_0xd9e871),'revision':0x0,'userID':_0x43c40b,'memberID':_0x51fec6,'mutations':_0x5e3af8},'pendingMutations':[]};}function Oi(_0x2dd375,_0x111a07){var _0x115d9f=_0xf95350;const _0x4aed4a=new _0x2eb1e0(0x1);return setTimeout(()=>_0x4aed4a[_0x115d9f(0x2f9)](_0x111a07),_0x2dd375),_0x4aed4a[_0x115d9f(0x206)]()[_0x115d9f(0x39f)](_0x3b0b7e(0x1));}function _0x4451(_0x13226c,_0x5cf809){var _0x58d966=_0x58d9();return _0x4451=function(_0x4451c4,_0x27ae80){_0x4451c4=_0x4451c4-0xa9;var _0x4bf4e5=_0x58d966[_0x4451c4];return _0x4bf4e5;},_0x4451(_0x13226c,_0x5cf809);}const lr={'id':_0x27bacb['id'],'type':_0x368d91[_0xf95350(0x261)],'params':{}};var ur=Object['defineProperty'],dr=Object[_0xf95350(0x1b5)],be=(_0x34e0f4,_0x1624cd,_0x260ae3,_0x2c6e5c)=>{var _0x319682=_0xf95350;for(var _0x207ea1=_0x2c6e5c>0x1?void 0x0:_0x2c6e5c?dr(_0x1624cd,_0x260ae3):_0x1624cd,_0xacab4c=_0x34e0f4[_0x319682(0x131)]-0x1,_0x46946e;_0xacab4c>=0x0;_0xacab4c--)(_0x46946e=_0x34e0f4[_0xacab4c])&&(_0x207ea1=(_0x2c6e5c?_0x46946e(_0x1624cd,_0x260ae3,_0x207ea1):_0x46946e(_0x207ea1))||_0x207ea1);return _0x2c6e5c&&_0x207ea1&&ur(_0x1624cd,_0x260ae3,_0x207ea1),_0x207ea1;},A=(_0x2f2d20,_0x508a0b)=>(_0x3a4b46,_0x27af83)=>_0x508a0b(_0x3a4b46,_0x27af83,_0x2f2d20),yi=(_0x2bbf80=>(_0x2bbf80[_0xf95350(0x1aa)]='not_collab',_0x2bbf80['SYNCED']=_0xf95350(0x230),_0x2bbf80[_0xf95350(0x134)]=_0xf95350(0x200),_0x2bbf80[_0xf95350(0x260)]=_0xf95350(0x278),_0x2bbf80[_0xf95350(0x31e)]='awaiting_with_pending',_0x2bbf80['FETCH_MISS']=_0xf95350(0x3a7),_0x2bbf80['CONFLICT']=_0xf95350(0x2d3),_0x2bbf80[_0xf95350(0x188)]='offline',_0x2bbf80))(yi||{});const Ni=0xea60;class Re{constructor(_0x54683b,_0x5055b5,_0x3f2d5f,_0x4737c0,_0x3174d8,_0x1c08ce,_0x15e308,_0x3d1336,_0x1d6dee){var _0x4ed560=_0xf95350;N(this,_0x4ed560(0x34d),null),N(this,_0x4ed560(0x2af),[]),(this[_0x4ed560(0x17e)]=_0x54683b,this[_0x4ed560(0x2fd)]=_0x5055b5,this[_0x4ed560(0xf1)]=_0x3174d8,this[_0x4ed560(0x2e7)]=_0x1c08ce,this[_0x4ed560(0x14e)]=_0x15e308,this['_revisionService']=_0x3d1336,this[_0x4ed560(0x1a1)]=_0x1d6dee,this['_awaitingChangeset']=_0x3f2d5f,this[_0x4ed560(0x2af)]=_0x4737c0);}[_0xf95350(0x392)](_0x1dc91f){var _0x27138c=_0xf95350;const _0x3e2335=this[_0x27138c(0x1e0)][_0x27138c(0x145)](this['unitID']);return _0x1dc91f['revision']>_0x3e2335+0x1?(this[_0x27138c(0xf1)][_0x27138c(0x122)]({'from':_0x3e2335,'to':_0x1dc91f[_0x27138c(0x235)]-0x1}),!0x0):!0x1;}[_0xf95350(0x14a)](_0x2df9fd){var _0x76d864=_0xf95350;this[_0x76d864(0x14e)][_0x76d864(0x224)](this[_0x76d864(0x17e)],_0x2df9fd);}[_0xf95350(0x156)](_0x557d56){var _0x1e9199=_0xf95350,_0x51baa9,_0x15dd1e;(_0x15dd1e=(_0x51baa9=this[_0x1e9199(0xf1)])[_0x1e9199(0x398)])==null||_0x15dd1e[_0x1e9199(0x2d8)](_0x51baa9,_0x557d56);}['_transformIMECache'](_0x1f3185){var _0x1c4617=_0xf95350,_0x7c8061,_0x185ea7;return(_0x185ea7=(_0x7c8061=this[_0x1c4617(0xf1)])[_0x1c4617(0x19d)])==null?void 0x0:_0x185ea7[_0x1c4617(0x2d8)](_0x7c8061,_0x1f3185);}[_0xf95350(0x294)](_0x4fe047){var _0x37e49c=_0xf95350,_0xc4ebb2,_0x27f96d;return(_0x27f96d=(_0xc4ebb2=this[_0x37e49c(0xf1)])[_0x37e49c(0x2a1)])==null?void 0x0:_0x27f96d['call'](_0xc4ebb2,_0x4fe047);}['_transformRemoteChangesetByIMECache'](_0x182075){var _0x8f28be=_0xf95350,_0x2ee2a6,_0x2d781e,_0x5e8c71;return(_0x5e8c71=(_0x2d781e=(_0x2ee2a6=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2d781e[_0x8f28be(0x2d8)](_0x2ee2a6,_0x182075))!=null?_0x5e8c71:_0x182075;}[_0xf95350(0x234)](_0x5ebc0a){var _0x30c8d4=_0xf95350,_0x46e927,_0x3a9654,_0x26fd7e;return(_0x26fd7e=(_0x3a9654=(_0x46e927=this[_0x30c8d4(0xf1)])[_0x30c8d4(0x16f)])==null?void 0x0:_0x3a9654[_0x30c8d4(0x2d8)](_0x46e927,_0x5ebc0a))!=null?_0x26fd7e:_0x5ebc0a;}['_syncEditingCollabCursor'](_0x26f6b2){var _0x4acc4a=_0xf95350,_0x174055,_0x1a325e;if(this[_0x4acc4a(0x2fd)]===Q[_0x4acc4a(0x2df)]){const {unitID:_0x5069b5,mutations:_0x3278bb,memberID:_0x50768b}=_0x26f6b2,_0x35e2f8=_0x3278bb[0x0][_0x4acc4a(0x39e)][_0x4acc4a(0x20c)];Array[_0x4acc4a(0x28e)](_0x35e2f8)&&_0x35e2f8[_0x4acc4a(0x131)]>0x0&&((_0x1a325e=(_0x174055=this[_0x4acc4a(0xf1)])[_0x4acc4a(0x2f1)])==null||_0x1a325e[_0x4acc4a(0x2d8)](_0x174055,{'unitID':_0x5069b5,'memberID':_0x50768b,'textRanges':_0x35e2f8}));}}['_updateLocalCache'](){var _0x44a9f9=_0xf95350,_0x1fab6c;(_0x1fab6c=this[_0x44a9f9(0x1a1)])==null||_0x1fab6c[_0x44a9f9(0x292)](this[_0x44a9f9(0x17e)],this[_0x44a9f9(0x2fd)],this[_0x44a9f9(0x34d)],this[_0x44a9f9(0x2af)]);}['_getCurrentRevision'](){var _0x17bc23=_0xf95350;return this[_0x17bc23(0x1e0)][_0x17bc23(0x145)](this[_0x17bc23(0x17e)]);}['_incrementRevisionNumber'](){var _0x1e64e0=_0xf95350;this['_revisionService'][_0x1e64e0(0x28b)](this['unitID']);}[_0xf95350(0x232)](_0x10e5dc){var _0x552423=_0xf95350,_0x293303;let _0x15efa2=this[_0x552423(0x356)](_0x10e5dc);_0x15efa2=this[_0x552423(0x234)](_0x15efa2);const _0x302523=_0x4370f1(_0x15efa2[_0x552423(0x20f)],this[_0x552423(0x2e7)],{'fromCollab':!0x0});if(!_0x302523[_0x552423(0xef)])throw _0x302523['error']instanceof Error?_0x302523[_0x552423(0x32c)]:new Error((_0x293303=_0x302523[_0x552423(0x32c)])!=null?_0x293303:'[CollaborationState]:\x20apply\x20error!');this[_0x552423(0x1b0)](_0x15efa2),this[_0x552423(0x294)](_0x15efa2),this[_0x552423(0x14a)](_0x10e5dc),this[_0x552423(0x156)](_0x15efa2),this[_0x552423(0x379)](_0x15efa2),this[_0x552423(0x2ba)]();}}let De=class extends Re{constructor(_0x150d23,_0xe4fb1f,_0x1c51a4,_0x1b5f26,_0x54023a,_0x48deff,_0x5deb89,_0x1053a9,_0x193807,_0x38e0dd){var _0xe1c7ae=_0xf95350;super(_0x150d23,_0xe4fb1f,null,[],_0x1c51a4,_0x5deb89,_0x48deff,_0x1b5f26,_0x38e0dd),N(this,_0xe1c7ae(0x1fd),_0xe1c7ae(0x230)),(this[_0xe1c7ae(0x2fe)]=_0x54023a,this[_0xe1c7ae(0x29f)]=_0x1053a9,this[_0xe1c7ae(0x16c)]=_0x193807,this[_0xe1c7ae(0x168)]=_0x38e0dd);}[_0xf95350(0x1fb)](_0x23f3ee){var _0x27a92b=_0xf95350;const _0x1c5a9c=this['_injector'][_0x27a92b(0xf6)](oe,this[_0x27a92b(0x17e)],this['type'],[_0x23f3ee],this['_handler']);return _0x1c5a9c[_0x27a92b(0x37a)](),_0x1c5a9c['_updateLocalCache'](),_0x1c5a9c;}[_0xf95350(0x143)](_0x4203eb){var _0x3a3f3b=_0xf95350;if(this[_0x3a3f3b(0x392)](_0x4203eb))return this[_0x3a3f3b(0x2fe)][_0x3a3f3b(0xf6)](te,this[_0x3a3f3b(0x17e)],this['type'],null,[],null,[_0x4203eb],this[_0x3a3f3b(0xf1)]);try{const _0x2c1623=this['_transformService'][_0x3a3f3b(0x11c)](_0x4203eb,[lr]);if(_0x5e1805(_0x2c1623)){const {c1Prime:_0x13df57}=_0x2c1623;return this[_0x3a3f3b(0x232)](_0x13df57),this;}throw _0x2c1623[_0x3a3f3b(0x32c)];}catch(_0x3e4b7f){return this[_0x3a3f3b(0x29f)][_0x3a3f3b(0x32c)](_0x3e4b7f),this[_0x3a3f3b(0xaa)](!0x1);}}[_0xf95350(0xaa)](_0x24a9d6){var _0x2b409f=_0xf95350;return this[_0x2b409f(0x2fe)][_0x2b409f(0xf6)](de,this[_0x2b409f(0x17e)],this[_0x2b409f(0x2fd)],null,[],this[_0x2b409f(0xf1)],_0x24a9d6);}[_0xf95350(0x257)](){var _0x120f93=_0xf95350;throw new Error(_0x120f93(0x2cd));}[_0xf95350(0x1fc)](){var _0x3ea970=_0xf95350;throw new Error(_0x3ea970(0x34a));}[_0xf95350(0x318)](){return this;}[_0xf95350(0x289)](){var _0x6e470=_0xf95350;return this[_0x6e470(0x2fe)][_0x6e470(0xf6)](fe,this[_0x6e470(0x17e)],this[_0x6e470(0x2fd)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xf95350(0xe2)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf95350(0x36f)](){var _0x52abfb=_0xf95350;const _0xf7fd67=this[_0x52abfb(0x1e0)][_0x52abfb(0x145)](this['unitID']);return this[_0x52abfb(0xf1)][_0x52abfb(0x122)]({'from':_0xf7fd67,'to':0x0}),this[_0x52abfb(0x2fe)][_0x52abfb(0xf6)](te,this[_0x52abfb(0x17e)],this[_0x52abfb(0x2fd)],null,[],null,[],this[_0x52abfb(0xf1)]);}};De=be([A(0x3,_0x1f377b(_0x3aeefc)),A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x122feb),A(0x6,_0x16ead5),A(0x7,_0x2cd95e),A(0x8,_0xd312f2),A(0x9,_0x36e3d4(J))],De);let oe=class extends Re{constructor(_0x4e1cf4,_0x22d169,_0x30d237,_0x300477,_0x419662,_0x3150b3,_0x5ac144,_0x3effee,_0x3e2ec8,_0x312401,_0xb80aa3,_0x3894f7,_0x38ebed,_0x288679){var _0x5a507c=_0xf95350;super(_0x4e1cf4,_0x22d169,null,_0x30d237,_0x300477,_0x3e2ec8,_0x38ebed,_0x3150b3,_0x288679),N(this,_0x5a507c(0x1fd),_0x5a507c(0x200)),N(this,_0x5a507c(0x10d),null),N(this,_0x5a507c(0x360),null),(this[_0x5a507c(0x2fe)]=_0x419662,this[_0x5a507c(0x372)]=_0x5ac144,this[_0x5a507c(0x29f)]=_0x3effee,this[_0x5a507c(0x215)]=_0x312401,this['_transformService']=_0xb80aa3,this[_0x5a507c(0x2e3)]=_0x3894f7);}[_0xf95350(0x1fb)](_0x3a8b01){var _0x250a8a=_0xf95350;return this[_0x250a8a(0x2af)][_0x250a8a(0x2e0)](_0x3a8b01),this[_0x250a8a(0xdc)](),this;}[_0xf95350(0x143)](_0x48d539){var _0x2ec1fe=_0xf95350;if(this[_0x2ec1fe(0x392)](_0x48d539))return this[_0x2ec1fe(0x196)](),this[_0x2ec1fe(0x2fe)]['createInstance'](te,this[_0x2ec1fe(0x17e)],this['type'],null,this['_pendingMutations'],null,[_0x48d539],this['_handler']);try{const _0x3fd5f1=this[_0x2ec1fe(0x16c)]['transformMutationsWithChangeset'](_0x48d539,this[_0x2ec1fe(0x2af)]);if(_0x5e1805(_0x3fd5f1)){const {c1Prime:_0x5cefb8,m2Prime:_0x44b1b4}=_0x3fd5f1;this[_0x2ec1fe(0x232)](_0x5cefb8);const _0x5bf7be=this[_0x2ec1fe(0x2fe)][_0x2ec1fe(0xf6)](oe,this['unitID'],this[_0x2ec1fe(0x2fd)],_0x44b1b4,this['_handler']);this[_0x2ec1fe(0x196)]();const _0x1bf885=new Date()['getTime'](),_0x20a012=this[_0x2ec1fe(0x10d)]?Math['max'](this[_0x2ec1fe(0x10d)]-_0x1bf885,0x0):this[_0x2ec1fe(0x1cd)]();return _0x5bf7be['_schedule'](_0x20a012),_0x5bf7be;}throw _0x3fd5f1['error'];}catch(_0x1ef380){return this['_logService'][_0x2ec1fe(0x32c)](_0x1ef380),this[_0x2ec1fe(0xaa)](!0x1);}}[_0xf95350(0x257)](){var _0x471b82=_0xf95350;throw new Error(_0x471b82(0x28f));}['onRemoteRej'](){var _0x201e03=_0xf95350;throw new Error(_0x201e03(0x291));}[_0xf95350(0x318)](){return this;}[_0xf95350(0x289)](){var _0x4d85b3=_0xf95350;return this['_clearScheduledTask'](),this[_0x4d85b3(0x2fe)][_0x4d85b3(0xf6)](fe,this[_0x4d85b3(0x17e)],this['type'],null,this[_0x4d85b3(0x2af)],this[_0x4d85b3(0xf1)]);}['toggleOnline'](){return this;}[_0xf95350(0x37a)](_0x5d7621){var _0x5e801d=_0xf95350;const _0x5055cf=_0x5d7621!=null?_0x5d7621:this['_getSendChangesetTimeout']();this[_0x5e801d(0x10d)]=new Date()[_0x5e801d(0x21f)]()+_0x5055cf,this[_0x5e801d(0x360)]=setTimeout(()=>{var _0x58f6dd=_0x5e801d;this[_0x58f6dd(0x196)]();let _0x1c69bd=null;switch(this[_0x58f6dd(0x2fd)]){case Q[_0x58f6dd(0xda)]:{_0x1c69bd=zt(this[_0x58f6dd(0x2af)],this[_0x58f6dd(0x17e)],this[_0x58f6dd(0x2e3)],this['_revisionService'],this[_0x58f6dd(0x372)]);break;}case Q[_0x58f6dd(0x2df)]:{this[_0x58f6dd(0x2af)][_0x58f6dd(0x245)](_0x1831b2=>_0x1831b2['id']===_0x775ef5['id'])?_0x1c69bd=_r(this[_0x58f6dd(0x2af)],this['unitID'],this['_univerInstanceService'],this[_0x58f6dd(0x1e0)],this[_0x58f6dd(0x372)]):_0x1c69bd=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x58f6dd(0x372)]);break;}default:throw new Error(_0x58f6dd(0xb7)+this[_0x58f6dd(0x2fd)]+_0x58f6dd(0xbe));}const {changeset:_0x4ca15b,pendingMutations:_0x513767}=_0x1c69bd;this[_0x58f6dd(0xf1)][_0x58f6dd(0x320)](_0x4ca15b);const _0x227587=_0x513767[_0x58f6dd(0x131)]?this['_injector'][_0x58f6dd(0xf6)](ae,this['unitID'],this[_0x58f6dd(0x2fd)],_0x4ca15b,_0x513767,this[_0x58f6dd(0xf1)],void 0x0):this[_0x58f6dd(0x2fe)][_0x58f6dd(0xf6)](ue,this[_0x58f6dd(0x17e)],this[_0x58f6dd(0x2fd)],_0x4ca15b,this['_handler']);_0x227587['_updateLocalCache'](),this[_0x58f6dd(0xf1)]['onStateChange'](this,_0x227587);},_0x5055cf);}['_getSendChangesetTimeout'](){var _0x1c1d00=_0xf95350,_0x3ed057;const _0x20aedf=this[_0x1c1d00(0x215)][_0x1c1d00(0x1ab)](q);return(_0x3ed057=_0x20aedf==null?void 0x0:_0x20aedf['sendChangesetTimeout'])!=null?_0x3ed057:Ts;}[_0xf95350(0xe2)](){var _0x2c3193=_0xf95350;throw new Error(_0x2c3193(0x2c8));}['_clearScheduledTask'](){var _0x31761c=_0xf95350;this[_0x31761c(0x360)]!=null&&(clearTimeout(this[_0x31761c(0x360)]),this[_0x31761c(0x360)]=null);}['_onConflict'](_0x33548f){var _0x3394a6=_0xf95350;return this[_0x3394a6(0x196)](),this['_injector'][_0x3394a6(0xf6)](de,this['unitID'],this[_0x3394a6(0x2fd)],null,this[_0x3394a6(0x2af)],this[_0x3394a6(0xf1)],_0x33548f);}};oe=be([A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x1f377b(_0x3aeefc)),A(0x6,_0x1f377b(xe)),A(0x7,_0x2cd95e),A(0x8,_0x16ead5),A(0x9,_0x4ef789),A(0xa,_0xd312f2),A(0xb,_0x4accb0),A(0xc,_0x122feb),A(0xd,_0x36e3d4(J))],oe);let ue=class extends Re{constructor(_0x3888b7,_0x1e57b1,_0xd97cc7,_0x2b1d89,_0x5dbfd3,_0x4a2f47,_0x25fb56,_0x496002,_0x5e30d9,_0x4fb7b3,_0x3e09ee){var _0x336a38=_0xf95350;super(_0x3888b7,_0x1e57b1,_0xd97cc7,[],_0x2b1d89,_0x25fb56,_0x4fb7b3,_0x4a2f47,_0x3e09ee),N(this,_0x336a38(0x1fd),'awaiting'),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x336a38(0x2fe)]=_0x5dbfd3,this['_logService']=_0x496002,this[_0x336a38(0x16c)]=_0x5e30d9);}['appendMutation'](_0x2731c9){var _0x1076bb=_0xf95350;this[_0x1076bb(0x196)]();const _0x56851d=this['_injector'][_0x1076bb(0xf6)](ae,this[_0x1076bb(0x17e)],this['type'],this['_awaitingChangeset'],[_0x2731c9],this[_0x1076bb(0xf1)],this[_0x1076bb(0x1ee)]);return _0x56851d[_0x1076bb(0xdc)](),_0x56851d;}[_0xf95350(0x143)](_0x5ab113){var _0x4a717a=_0xf95350;if(this[_0x4a717a(0x392)](_0x5ab113))return this[_0x4a717a(0x196)](),this[_0x4a717a(0x2fe)][_0x4a717a(0xf6)](te,this[_0x4a717a(0x17e)],this['type'],this[_0x4a717a(0x34d)],[],null,[_0x5ab113],this['_handler']);try{const _0x1453f0=this[_0x4a717a(0x16c)][_0x4a717a(0x180)]([_0x5ab113],[this[_0x4a717a(0x34d)]],!0x1);if(_0x337292(_0x1453f0)){const {c1Prime:_0x369c9d,c2Prime:_0x53fc9a}=_0x1453f0;this[_0x4a717a(0x232)](_0x369c9d[0x0]),_0x53fc9a[0x0]['baseRev']=this[_0x4a717a(0x2f8)](),this[_0x4a717a(0x196)]();const _0x266c81=this[_0x4a717a(0x2fe)][_0x4a717a(0xf6)](ue,this[_0x4a717a(0x17e)],this[_0x4a717a(0x2fd)],_0x53fc9a[0x0],this[_0x4a717a(0xf1)]);return _0x266c81['_updateLocalCache'](),_0x266c81;}return this[_0x4a717a(0xaa)](!0x1);}catch(_0x32b4da){return this['_logService'][_0x4a717a(0x32c)](_0x32b4da),this[_0x4a717a(0xaa)](!0x1);}}[_0xf95350(0x257)](_0x47c4bd){var _0x113ae3=_0xf95350;this['_clearScheduledTask']();const _0x35f7ca=this[_0x113ae3(0x1e0)][_0x113ae3(0x145)](this[_0x113ae3(0x17e)]);if(_0x47c4bd[_0x113ae3(0x235)]<_0x35f7ca-0x1)return this;if(this[_0x113ae3(0x392)](_0x47c4bd))return this[_0x113ae3(0x2fe)]['createInstance'](te,this['unitID'],this[_0x113ae3(0x2fd)],null,[],this['_awaitingChangeset'],[],this[_0x113ae3(0xf1)]);this[_0x113ae3(0x2ba)]();const _0x4307e4=this['_injector'][_0x113ae3(0xf6)](De,this[_0x113ae3(0x17e)],this['type'],this[_0x113ae3(0xf1)]);return _0x4307e4['_updateLocalCache'](),_0x4307e4;}[_0xf95350(0x1fc)](_0x5901ca){var _0x502ddd=_0xf95350;return this[_0x502ddd(0xaa)](!!(_0x5901ca!=null&&_0x5901ca[_0x502ddd(0x389)]));}[_0xf95350(0x318)](_0x2781b7){var _0x2aa2af=_0xf95350;return this['_resendTimeout']>Ni?this[_0x2aa2af(0x289)]():(this[_0x2aa2af(0x1ee)]=Oi(this['_resendTimeout'],{'timeout':this[_0x2aa2af(0x1c9)],'reqId':_0x2781b7[_0x2aa2af(0xea)]}),this[_0x2aa2af(0x105)]=this[_0x2aa2af(0x1ee)][_0x2aa2af(0x2f6)](({reqId:_0x1dbbfc,timeout:_0x320176})=>{var _0x55c579=_0x2aa2af;this[_0x55c579(0x32e)](_0x1dbbfc,_0x320176);}),this);}[_0xf95350(0x289)](){var _0x42b1ff=_0xf95350;return this[_0x42b1ff(0x196)](),this[_0x42b1ff(0x2fe)][_0x42b1ff(0xf6)](fe,this[_0x42b1ff(0x17e)],this[_0x42b1ff(0x2fd)],this[_0x42b1ff(0x34d)],[],this[_0x42b1ff(0xf1)]);}[_0xf95350(0x2bc)](){return this;}[_0xf95350(0xe2)](){var _0x43de29=_0xf95350;this[_0x43de29(0xf1)]['onSendChangeset'](this[_0x43de29(0x34d)]);}[_0xf95350(0xaa)](_0x2e726c){var _0x5c7a35=_0xf95350;return this[_0x5c7a35(0x196)](),this[_0x5c7a35(0x2fe)][_0x5c7a35(0xf6)](de,this[_0x5c7a35(0x17e)],this['type'],this[_0x5c7a35(0x34d)],[],this[_0x5c7a35(0xf1)],_0x2e726c);}[_0xf95350(0x32e)](_0x953997,_0x4ad904){var _0x37a9e7=_0xf95350,_0x1f6c03;_0x953997===((_0x1f6c03=this['_awaitingChangeset'])==null?void 0x0:_0x1f6c03[_0x37a9e7(0xea)])&&(this[_0x37a9e7(0xe2)](),this[_0x37a9e7(0x1c9)]=_0x4ad904===0x0?0x3e8:_0x4ad904*0x2);}[_0xf95350(0x196)](){var _0x34ec72=_0xf95350,_0x234459;(_0x234459=this[_0x34ec72(0x105)])==null||_0x234459['unsubscribe'](),this[_0x34ec72(0x1c9)]=0x0;}};ue=be([A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x1f377b(_0x3aeefc)),A(0x6,_0x16ead5),A(0x7,_0x2cd95e),A(0x8,_0xd312f2),A(0x9,_0x122feb),A(0xa,_0x36e3d4(J))],ue);let ae=class extends Re{constructor(_0x1726c4,_0x871a6a,_0x5013c3,_0x38b8d3,_0x58047a,_0xb9a22,_0x3358f2,_0x4b9b6f,_0x313f51,_0x3bf4fd,_0x48aa53,_0x5ce115,_0x10d697){var _0x3da347=_0xf95350;super(_0x1726c4,_0x871a6a,_0x5013c3,_0x38b8d3,_0x58047a,_0x313f51,_0x5ce115,_0x4b9b6f,_0x10d697),N(this,_0x3da347(0x1fd),'awaiting_with_pending'),N(this,_0x3da347(0x1c9),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3da347(0x2fe)]=_0x3358f2,this[_0x3da347(0x29f)]=_0x3bf4fd,this['_transformService']=_0x48aa53,this[_0x3da347(0x168)]=_0x10d697,_0xb9a22&&(this[_0x3da347(0x1ee)]=_0xb9a22,this[_0x3da347(0x105)]=this['_resendTimer'][_0x3da347(0x2f6)](({reqId:_0x3af4f6,timeout:_0x1e8b78})=>{var _0x12edc0=_0x3da347;this[_0x12edc0(0x32e)](_0x3af4f6,_0x1e8b78);})));}[_0xf95350(0x1fb)](_0x298cf5){var _0x4bfed0=_0xf95350;return this['_pendingMutations'][_0x4bfed0(0x2e0)](_0x298cf5),this;}[_0xf95350(0x143)](_0x362017){var _0x3d453e=_0xf95350;if(this[_0x3d453e(0x392)](_0x362017))return this[_0x3d453e(0x196)](),this[_0x3d453e(0x2fe)][_0x3d453e(0xf6)](te,this[_0x3d453e(0x17e)],this[_0x3d453e(0x2fd)],this[_0x3d453e(0x34d)],this['_pendingMutations'],null,[_0x362017],this['_handler']);try{const _0x39dc23=this['_transformService'][_0x3d453e(0x180)]([_0x362017],[this[_0x3d453e(0x34d)]],!0x1);if(_0x337292(_0x39dc23)){const {c1Prime:_0x2f549c,c2Prime:_0x1bca02}=_0x39dc23,_0x52f5f8=this[_0x3d453e(0x16c)][_0x3d453e(0x11c)](_0x2f549c[0x0],this[_0x3d453e(0x2af)]);if(_0x5e1805(_0x52f5f8)){const {c1Prime:_0x1991a3,m2Prime:_0x125915}=_0x52f5f8;return this[_0x3d453e(0x232)](_0x1991a3),_0x1bca02[0x0][_0x3d453e(0x2b3)]=this[_0x3d453e(0x2f8)](),this[_0x3d453e(0x196)](),this[_0x3d453e(0x2fe)][_0x3d453e(0xf6)](ae,this[_0x3d453e(0x17e)],this[_0x3d453e(0x2fd)],_0x1bca02[0x0],_0x125915,this[_0x3d453e(0xf1)],void 0x0);}throw _0x52f5f8[_0x3d453e(0x32c)];}throw _0x39dc23[_0x3d453e(0x32c)];}catch(_0x10472e){return this[_0x3d453e(0x29f)][_0x3d453e(0x32c)](_0x10472e),this[_0x3d453e(0xaa)](!0x1);}}[_0xf95350(0x257)](_0xd08b55){var _0x3e5dd9=_0xf95350;if(this[_0x3e5dd9(0x196)](),this[_0x3e5dd9(0x392)](_0xd08b55))return this['_injector'][_0x3e5dd9(0xf6)](te,this[_0x3e5dd9(0x17e)],this[_0x3e5dd9(0x2fd)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x11cf15=this[_0x3e5dd9(0x2fe)]['createInstance'](oe,this[_0x3e5dd9(0x17e)],this[_0x3e5dd9(0x2fd)],this[_0x3e5dd9(0x2af)],this['_handler']);return _0x11cf15[_0x3e5dd9(0x37a)](),_0x11cf15[_0x3e5dd9(0xdc)](),_0x11cf15;}['onRemoteRej'](_0x360b07){var _0x5e434a=_0xf95350;return this[_0x5e434a(0xaa)](!!(_0x360b07!=null&&_0x360b07[_0x5e434a(0x389)]));}[_0xf95350(0x318)](_0x1b5749){var _0x5df087=_0xf95350;return this[_0x5df087(0x1c9)]>Ni?this[_0x5df087(0x289)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x5df087(0x1c9)],'reqId':_0x1b5749['reqId']}),this[_0x5df087(0x105)]=this[_0x5df087(0x1ee)][_0x5df087(0x2f6)](({reqId:_0x5a856d,timeout:_0xbe68d7})=>{var _0x13a6c8=_0x5df087;this[_0x13a6c8(0x32e)](_0x5a856d,_0xbe68d7);}),this);}[_0xf95350(0x289)](){var _0x2e845e=_0xf95350;return this[_0x2e845e(0x196)](),this[_0x2e845e(0x2fe)]['createInstance'](fe,this['unitID'],this['type'],this[_0x2e845e(0x34d)],this['_pendingMutations'],this[_0x2e845e(0xf1)]);}['toggleOnline'](){return this;}['resend'](){var _0x2fdf9d=_0xf95350;this[_0x2fdf9d(0xf1)][_0x2fdf9d(0x320)](this['_awaitingChangeset']);}[_0xf95350(0xaa)](_0x523973){var _0xf0f859=_0xf95350;return this[_0xf0f859(0x196)](),this[_0xf0f859(0x2fe)]['createInstance'](de,this[_0xf0f859(0x17e)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x523973);}[_0xf95350(0x32e)](_0x162564,_0xc4c71a){var _0x40e628=_0xf95350,_0x17ac10;_0x162564===((_0x17ac10=this[_0x40e628(0x34d)])==null?void 0x0:_0x17ac10[_0x40e628(0xea)])&&(this[_0x40e628(0xe2)](),this['_resendTimeout']=_0xc4c71a===0x0?0x3e8:_0xc4c71a*0x2);}[_0xf95350(0x196)](){var _0xd504d0=_0xf95350,_0x1c4721;(_0x1c4721=this['_sender'])==null||_0x1c4721[_0xd504d0(0x2e8)](),this[_0xd504d0(0x1c9)]=0x0;}};ae=be([A(0x6,_0x1f377b(_0x459b1e)),A(0x7,_0x1f377b(_0x3aeefc)),A(0x8,_0x16ead5),A(0x9,_0x2cd95e),A(0xa,_0xd312f2),A(0xb,_0x122feb),A(0xc,_0x36e3d4(J))],ae);let de=class extends Re{constructor(_0x29cf9e,_0x26fe23,_0x4d9af7,_0x2d54d5,_0x1b678c,_0x27ef8b=!0x1,_0x566038,_0x17f994,_0x16c514,_0x23af16,_0x4774e6,_0x5d0183,_0xad46a8){var _0x1b45cd=_0xf95350;super(_0x29cf9e,_0x26fe23,_0x4d9af7,_0x2d54d5,_0x1b678c,_0x17f994,_0x16c514,_0x23af16,_0xad46a8),N(this,_0x1b45cd(0x1fd),_0x1b45cd(0x2d3)),(this['_isPermissionRej']=_0x27ef8b,this[_0x1b45cd(0xff)]=_0x566038,this[_0x1b45cd(0x189)]=_0x4774e6,this['_collaborationUIEventService']=_0x5d0183,this[_0x1b45cd(0x168)]=_0xad46a8,this[_0x1b45cd(0x272)](),this[_0x1b45cd(0xc9)](),this[_0x1b45cd(0xb9)]());}[_0xf95350(0x1fb)](){return this;}[_0xf95350(0x143)](){return this;}[_0xf95350(0x257)](){return this;}[_0xf95350(0x1fc)](){return this;}[_0xf95350(0x318)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xf95350(0xe2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x133f5e=_0xf95350,_0x4f330e;(_0x4f330e=this[_0x133f5e(0x1a1)])==null||_0x4f330e[_0x133f5e(0x292)](this[_0x133f5e(0x17e)],this['type'],null,[]);}['_showConflictNotification'](){var _0x33700d=_0xf95350;this[_0x33700d(0x39c)]?this[_0x33700d(0xd4)][_0x33700d(0x354)]({'id':ne['PERMISSION_DENIED']}):this[_0x33700d(0xd4)]['emitEvent']({'id':ne[_0x33700d(0x2be)]});}[_0xf95350(0xb9)](){var _0x5ad808=_0xf95350;this[_0x5ad808(0xff)][_0x5ad808(0xfc)](new _0xf5ebb3(this[_0x5ad808(0x17e)])['id'],!0x1);}};de=be([A(0x6,_0x1f377b(_0x193a1a)),A(0x7,_0x16ead5),A(0x8,_0x122feb),A(0x9,_0x1f377b(_0x3aeefc)),A(0xa,_0x1f377b(_0x3b591c)),A(0xb,_0x1f377b(pe)),A(0xc,_0x36e3d4(J))],de);let fe=class extends Re{constructor(_0x3e1dd9,_0x5e0414,_0x1667f9,_0x4888ff,_0xbdc183,_0x473001,_0x5d9d64,_0x116491,_0x420d28,_0x2d3048){var _0x538c89=_0xf95350;super(_0x3e1dd9,_0x5e0414,_0x1667f9,_0x4888ff,_0xbdc183,_0x116491,_0x420d28,_0x5d9d64,_0x2d3048),N(this,'status',_0x538c89(0x13b)),this[_0x538c89(0x2fe)]=_0x473001;}[_0xf95350(0x1fb)](_0x5c6d9a){var _0x5ce956=_0xf95350;return this[_0x5ce956(0x2af)]['push'](_0x5c6d9a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2a48a7){var _0x458fc4=_0xf95350;throw new Error(_0x458fc4(0x305));}[_0xf95350(0x257)](){var _0x3e1abb=_0xf95350;throw new Error(_0x3e1abb(0x27a));}[_0xf95350(0x1fc)](){var _0x14ce0f=_0xf95350;throw new Error(_0x14ce0f(0x3a2));}['onRemoteRetry'](){return this;}[_0xf95350(0x289)](){return this;}[_0xf95350(0x2bc)](){var _0x17acb1=_0xf95350;const {_injector:_0x5228fe,_pendingMutations:_0x1377f3,_awaitingChangeset:_0x3f90b6,unitID:_0x1c386f,_handler:_0x310db6,type:_0x1eb271}=this,_0x5e9bc3=Di(_0x5228fe,_0x1c386f,_0x1eb271,_0x3f90b6,_0x1377f3,_0x310db6);return _0x5e9bc3 instanceof oe?_0x5e9bc3[_0x17acb1(0x37a)]():(_0x5e9bc3 instanceof ae||_0x5e9bc3 instanceof ue)&&_0x5e9bc3[_0x17acb1(0xe2)](),_0x5e9bc3;}[_0xf95350(0xe2)](){var _0x215955=_0xf95350;throw new Error(_0x215955(0x37c));}};fe=be([A(0x5,_0x1f377b(_0x459b1e)),A(0x6,_0x1f377b(_0x3aeefc)),A(0x7,_0x16ead5),A(0x8,_0x122feb),A(0x9,_0x36e3d4(J))],fe);let te=class extends Re{constructor(_0x46c512,_0x40699,_0x1bdb00,_0x462b0b,_0x37f394,_0x23830b,_0x26a499,_0x675c53,_0x57ed6c,_0x79ba1,_0x48d425,_0x5ae0dd,_0x1a3a88,_0x38fbdc){var _0x5c0066=_0xf95350;super(_0x46c512,_0x40699,_0x1bdb00,_0x462b0b,_0x26a499,_0x48d425,_0x5ae0dd,_0x57ed6c,_0x38fbdc),N(this,_0x5c0066(0x1fd),_0x5c0066(0x3a7)),(this[_0x5c0066(0x290)]=_0x37f394,this[_0x5c0066(0x204)]=_0x23830b,this['_injector']=_0x675c53,this['_logService']=_0x79ba1,this[_0x5c0066(0x16c)]=_0x1a3a88,this[_0x5c0066(0x168)]=_0x38fbdc);}[_0xf95350(0x213)](_0xb3fca2){var _0x42730c=_0xf95350;try{const _0xa3c93e=[..._0xb3fca2,...this[_0x42730c(0x204)]],_0x2b2da9=[this['_awaitingChangeset']||this[_0x42730c(0x290)]]['filter'](_0x57d454=>!!_0x57d454);let _0xe5f136,_0x55c20d;if(_0x2b2da9[_0x42730c(0x131)]){const _0x29b050=this['_transformService'][_0x42730c(0x180)](_0xa3c93e,_0x2b2da9,!0x1);if(!_0x337292(_0x29b050))throw _0x29b050[_0x42730c(0x32c)];_0xe5f136=_0x29b050[_0x42730c(0x121)],_0x55c20d=_0x29b050[_0x42730c(0x393)];}else _0xe5f136=_0xa3c93e,_0x55c20d=[];let _0x2f651a=this['_pendingMutations'];_0xe5f136[_0x42730c(0x362)](_0x41217c=>{var _0x44576f=_0x42730c;let _0x28697d;if(_0x2f651a['length']){const _0x38a962=this[_0x44576f(0x16c)][_0x44576f(0x11c)](_0x41217c,_0x2f651a);if(!_0x5e1805(_0x38a962))throw _0x38a962[_0x44576f(0x32c)];_0x28697d=_0x38a962[_0x44576f(0x121)],_0x2f651a=_0x38a962[_0x44576f(0x16b)];}else _0x28697d=_0x41217c;this[_0x44576f(0x232)](_0x28697d);}),this[_0x42730c(0x290)]&&this[_0x42730c(0x2ba)](),this[_0x42730c(0x34d)]&&_0x55c20d['length']&&(_0x55c20d[0x0][_0x42730c(0x2b3)]=this[_0x42730c(0x2f8)]());let _0x151ddb;if(this[_0x42730c(0x34d)]&&_0x2f651a[_0x42730c(0x131)]!==0x0)_0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](ae,this[_0x42730c(0x17e)],this[_0x42730c(0x2fd)],_0x55c20d[0x0],_0x2f651a,this['_handler'],void 0x0);else{if(this[_0x42730c(0x34d)]&&_0x2f651a['length']===0x0)_0x55c20d[0x0][_0x42730c(0x2b3)]=this[_0x42730c(0x2f8)](),_0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](ue,this[_0x42730c(0x17e)],this[_0x42730c(0x2fd)],_0x55c20d[0x0],this['_handler']);else{if(_0x2f651a['length']!==0x0){const _0x3b8926=this[_0x42730c(0x2fe)]['createInstance'](oe,this[_0x42730c(0x17e)],this['type'],_0x2f651a,this[_0x42730c(0xf1)]);_0x3b8926[_0x42730c(0x37a)](),_0x151ddb=_0x3b8926;}else _0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](De,this['unitID'],this[_0x42730c(0x2fd)],this[_0x42730c(0xf1)]);}}return _0x151ddb[_0x42730c(0xdc)](),_0x151ddb;}catch(_0x48ce77){return this[_0x42730c(0x29f)][_0x42730c(0x32c)](_0x42730c(0x209),_0x42730c(0x118),_0x48ce77),this[_0x42730c(0x2fe)][_0x42730c(0xf6)](de,this['unitID'],this[_0x42730c(0x2fd)],this['_awaitingChangeset'],this[_0x42730c(0x2af)],this[_0x42730c(0xf1)],!0x1);}}[_0xf95350(0xe2)](){var _0x15eca3=_0xf95350;throw new Error(_0x15eca3(0x3a0));}[_0xf95350(0x1fb)](_0x16921d){var _0x2d5c39=_0xf95350;return this[_0x2d5c39(0x2af)][_0x2d5c39(0x2e0)](_0x16921d),this;}['onRemoteChangeset'](_0x1c854e){var _0x17a127=_0xf95350;return this[_0x17a127(0x204)][_0x17a127(0x2e0)](_0x1c854e),this;}[_0xf95350(0x257)](_0x4ff885){var _0x557b27=_0xf95350;if(this[_0x557b27(0x34d)])return this[_0x557b27(0x290)]=this[_0x557b27(0x34d)],this[_0x557b27(0x34d)]=null,this;throw new Error(_0x557b27(0x13c));}[_0xf95350(0x1fc)](_0x2becbc){var _0x10fa0f=_0xf95350;return this[_0x10fa0f(0xaa)](!!(_0x2becbc!=null&&_0x2becbc[_0x10fa0f(0x389)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x15f7f1=_0xf95350;return this[_0x15f7f1(0x2fe)][_0x15f7f1(0xf6)](fe,this[_0x15f7f1(0x17e)],this[_0x15f7f1(0x2fd)],this['_awaitingChangeset'],this[_0x15f7f1(0x2af)],this['_handler']);}[_0xf95350(0x2bc)](){return this;}[_0xf95350(0xaa)](_0x5f2b2a){var _0x125846=_0xf95350;return this[_0x125846(0x2fe)][_0x125846(0xf6)](de,this[_0x125846(0x17e)],this['type'],this[_0x125846(0x34d)],this[_0x125846(0x2af)],this[_0x125846(0xf1)],_0x5f2b2a);}};te=be([A(0x7,_0x1f377b(_0x459b1e)),A(0x8,_0x1f377b(_0x3aeefc)),A(0x9,_0x2cd95e),A(0xa,_0x16ead5),A(0xb,_0x122feb),A(0xc,_0xd312f2),A(0xd,_0x36e3d4(J))],te);function Di(_0x12745e,_0xf85346,_0x257a19,_0x28a9f5,_0xae87c9,_0x567b49){var _0x4d682c=_0xf95350;return _0x28a9f5&&_0xae87c9[_0x4d682c(0x131)]?_0x12745e[_0x4d682c(0xf6)](ae,_0xf85346,_0x257a19,_0x28a9f5,_0xae87c9,_0x567b49,void 0x0):_0x28a9f5?_0x12745e[_0x4d682c(0xf6)](ue,_0xf85346,_0x257a19,_0x28a9f5,_0x567b49):_0xae87c9['length']?_0x12745e[_0x4d682c(0xf6)](oe,_0xf85346,_0x257a19,_0xae87c9,_0x567b49):_0x12745e[_0x4d682c(0xf6)](De,_0xf85346,_0x257a19,_0x567b49);}var fr=Object['defineProperty'],vr=Object[_0xf95350(0x1b5)],Lt=(_0x5585fa,_0x404d66,_0x53dc19,_0x56e200)=>{for(var _0x5b201a=_0x56e200>0x1?void 0x0:_0x56e200?vr(_0x404d66,_0x53dc19):_0x404d66,_0x49bebf=_0x5585fa['length']-0x1,_0x2f63f0;_0x49bebf>=0x0;_0x49bebf--)(_0x2f63f0=_0x5585fa[_0x49bebf])&&(_0x5b201a=(_0x56e200?_0x2f63f0(_0x404d66,_0x53dc19,_0x5b201a):_0x2f63f0(_0x5b201a))||_0x5b201a);return _0x56e200&&_0x5b201a&&fr(_0x404d66,_0x53dc19,_0x5b201a),_0x5b201a;},k=(_0xad4106,_0x1d6334)=>(_0x54cfb3,_0x490054)=>_0x1d6334(_0x54cfb3,_0x490054,_0xad4106);let st=class extends _0x426883{constructor(_0x2a53f3,_0x3902ac,_0x47a7e1,_0x68fa5,_0x3ab33b,_0x36221b,_0x25fbca,_0x19bf9f,_0x245c8a,_0x42456e,_0x104cd5,_0x5cbf00,_0xb3319){var _0x2aadd1=_0xf95350;super(),N(this,'_state$',new _0x26dbcc(null)),N(this,_0x2aadd1(0x34e),this['_state$'][_0x2aadd1(0x206)]()),N(this,_0x2aadd1(0x106)),N(this,_0x2aadd1(0x36e),!0x1),N(this,_0x2aadd1(0x338),''),N(this,'_changesetReqId',0x0),N(this,_0x2aadd1(0x201),this[_0x2aadd1(0x34e)][_0x2aadd1(0x39f)](_0xb6f026(_0x15f495=>_0x15f495?_0x15f495[_0x2aadd1(0x1fd)]:yi[_0x2aadd1(0x188)]),_0x194fbd(0x1))),N(this,_0x2aadd1(0x2d7),!0x1),N(this,_0x2aadd1(0x2c6),[]),(this[_0x2aadd1(0x17e)]=_0x2a53f3,this['session']=_0x3902ac,this[_0x2aadd1(0x347)]=_0x47a7e1,this[_0x2aadd1(0x2fe)]=_0x68fa5,this[_0x2aadd1(0x358)]=_0x3ab33b,this['_localeService']=_0x36221b,this[_0x2aadd1(0x1e0)]=_0x25fbca,this[_0x2aadd1(0x315)]=_0x19bf9f,this['_logService']=_0x245c8a,this[_0x2aadd1(0x2e7)]=_0x42456e,this['_permissionService']=_0x104cd5,this[_0x2aadd1(0xce)]=_0x5cbf00,this[_0x2aadd1(0x1a1)]=_0xb3319);}get[_0xf95350(0x383)](){return this['_state'];}async[_0xf95350(0x11f)](){var _0x389afd=_0xf95350;if(this[_0x389afd(0x383)])throw new Error(_0x389afd(0x313));await this['_init']();}[_0xf95350(0x29d)](){var _0xc4b7fd=_0xf95350;return this[_0xc4b7fd(0x36e)]=!0x0,_0x6c04a6(()=>{var _0x2fa1a5=_0xc4b7fd;this[_0x2fa1a5(0x36e)]=!0x1,this[_0x2fa1a5(0x102)]();});}[_0xf95350(0xb4)](_0x49ca44){var _0x184bfa=_0xf95350;this[_0x184bfa(0x132)](_0x49ca44);}['_updateState'](_0x1381e2){var _0x2eb9ff=_0xf95350;this[_0x2eb9ff(0x106)]=_0x1381e2,this[_0x2eb9ff(0x2b7)][_0x2eb9ff(0x2f9)](_0x1381e2);}async['_init'](){var _0x34f1d5=_0xf95350,_0x1025c8;this[_0x34f1d5(0x129)](await this[_0x34f1d5(0xfa)]()),this[_0x34f1d5(0xce)]&&((_0x1025c8=this[_0x34f1d5(0xce)])==null||_0x1025c8['editingUnit'](this[_0x34f1d5(0x17e)]),this['disposeWithMe'](this[_0x34f1d5(0xce)][_0x34f1d5(0x345)](this[_0x34f1d5(0x17e)])[_0x34f1d5(0x2f6)](_0x28b0ff=>{var _0x45ffa9=_0x34f1d5;this[_0x45ffa9(0x29f)]['debug'](_0x45ffa9(0x2b5),_0x45ffa9(0x2cb),_0x28b0ff),_0x28b0ff===Ri[_0x45ffa9(0x18a)]?(this[_0x45ffa9(0x315)]['emitEvent']({'id':ne[_0x45ffa9(0x18e)]}),this[_0x45ffa9(0xff)][_0x45ffa9(0xfc)](new _0xf5ebb3(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x45ffa9(0xff)]['updatePermissionPoint'](new _0xf5ebb3(this[_0x45ffa9(0x17e)])['id'],!0x0),this[_0x45ffa9(0xff)][_0x45ffa9(0x3a1)](!0x0));})));let _0x5c42c7=!0x1;return this[_0x34f1d5(0x359)](this[_0x34f1d5(0x27e)][_0x34f1d5(0x107)]['subscribe'](_0x7e530b=>{var _0x4902a4=_0x34f1d5;_0x7e530b===Te[_0x4902a4(0x2fa)]?this[_0x4902a4(0x227)](_0x5c42c7):_0x7e530b===Te['OFFLINE']&&(_0x5c42c7=!0x0,this[_0x4902a4(0x178)]());})),this['disposeWithMe'](this[_0x34f1d5(0x27e)]['event$'][_0x34f1d5(0x2f6)](_0x101c3c=>{var _0x2fdd30=_0x34f1d5;try{switch(_0x101c3c[_0x2fdd30(0x276)]){case _0x15e414[_0x2fdd30(0x281)]:{this[_0x2fdd30(0x136)](_0x36f3b5(_0x101c3c['data']));break;}case _0x15e414[_0x2fdd30(0x287)]:{this[_0x2fdd30(0x27b)](_0x101c3c['data']);break;}case _0x15e414['CHANGESET_REJ']:{this[_0x2fdd30(0x24f)]();break;}case _0x15e414[_0x2fdd30(0x1d8)]:{this[_0x2fdd30(0x1fa)](_0x101c3c[_0x2fdd30(0x13f)]);break;}case _0x15e414['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2fdd30(0x150)](_0x101c3c[_0x2fdd30(0x13f)]['changesets'][_0x2fdd30(0xbf)](_0x5e6242=>_0x36f3b5(_0x5e6242)));break;}case _0x15e414[_0x2fdd30(0x146)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x15e414[_0x2fdd30(0x33b)]:break;}}catch(_0x234d1d){throw console[_0x2fdd30(0x32c)](_0x2fdd30(0x1e5),_0x234d1d),_0x234d1d;}})),this[_0x34f1d5(0x106)];}[_0xf95350(0x2ae)](){var _0x18ca69=_0xf95350;this[_0x18ca69(0x2d7)]=!0x1;}[_0xf95350(0x304)](){var _0x26adaf=_0xf95350;if(this['_transitionLocked'])throw new Error(_0x26adaf(0x248));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x21742d){var _0x3cf1ef=_0xf95350;this[_0x3cf1ef(0x304)](),this[_0x3cf1ef(0x129)](this['_state'][_0x3cf1ef(0x1fb)](_0x21742d)),this[_0x3cf1ef(0x2ae)]();}[_0xf95350(0x136)](_0x527885){var _0x541c6f=_0xf95350;if(!(_0x527885['revision']<=this[_0x541c6f(0x1e0)][_0x541c6f(0x145)](this[_0x541c6f(0x17e)]))){if(this[_0x541c6f(0x36e)]){this['_remoteChangesetQueue'][_0x541c6f(0x2e0)](_0x527885);return;}this[_0x541c6f(0x37e)](_0x527885);}}['_exhaustRemoteChangesetQueue'](){var _0x4da947=_0xf95350;this[_0x4da947(0x2c6)][_0x4da947(0x362)](_0x4f41e8=>this[_0x4da947(0x37e)](_0x4f41e8)),this['_remoteChangesetQueue']=[];}[_0xf95350(0x37e)](_0x2b9a80){var _0x9f01f4=_0xf95350;const _0x3a94e9=this['_compressMutationService'][_0x9f01f4(0x210)][_0x9f01f4(0x23c)](this[_0x9f01f4(0x358)][_0x9f01f4(0x210)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2b9a80[_0x9f01f4(0x20f)],null)||_0x2b9a80[_0x9f01f4(0x20f)],_0xa1f790={..._0x2b9a80,'mutations':_0x3a94e9};this[_0x9f01f4(0x304)](),this['_updateState'](this[_0x9f01f4(0x106)][_0x9f01f4(0x143)](_0xa1f790)),this[_0x9f01f4(0x2ae)]();}[_0xf95350(0x27b)](_0x112022){var _0x184b76=_0xf95350;this[_0x184b76(0x304)](),this['_updateState'](this[_0x184b76(0x106)][_0x184b76(0x257)](_0x112022)),this[_0x184b76(0x2ae)]();}[_0xf95350(0x24f)](_0x1c1236){var _0x22daae=_0xf95350;this[_0x22daae(0x304)](),this[_0x22daae(0x129)](this[_0x22daae(0x106)]['onRemoteRej'](_0x1c1236)),this[_0x22daae(0x2ae)]();}[_0xf95350(0x1fa)](_0x42cac9){var _0x25c2f4=_0xf95350;this[_0x25c2f4(0x304)](),this[_0x25c2f4(0x129)](this[_0x25c2f4(0x106)]['onRemoteRetry'](_0x42cac9)),this[_0x25c2f4(0x2ae)]();}[_0xf95350(0x150)](_0x3bf942){var _0x571060=_0xf95350;if(!(this['_state']instanceof te))throw new TypeError(_0x571060(0x384));const _0x4255a1=_0x3bf942[_0x571060(0xbf)](_0x846a99=>{var _0x1c35f3=_0x571060;const _0x438b3f=this[_0x1c35f3(0x358)]['interceptor']['fetchThroughInterceptors'](this[_0x1c35f3(0x358)][_0x1c35f3(0x210)][_0x1c35f3(0x1d9)]()[_0x1c35f3(0x212)])(_0x846a99['mutations'],null)||_0x846a99['mutations'];return{..._0x846a99,'mutations':_0x438b3f};});this[_0x571060(0x304)](),this[_0x571060(0x129)](this[_0x571060(0x106)][_0x571060(0x213)](_0x4255a1)),this['_unlockTransition']();}['_toggleOffline'](){var _0x107eb0=_0xf95350;this[_0x107eb0(0x304)](),this['_updateState'](this[_0x107eb0(0x106)][_0x107eb0(0x289)]()),this[_0x107eb0(0x2ae)]();}['_toggleOnline'](_0x26eec7=!0x1){var _0x399580=_0xf95350;this[_0x399580(0x304)](),this[_0x399580(0x129)](this[_0x399580(0x106)][_0x399580(0x2bc)]()),this[_0x399580(0x2ae)]();const _0x567753=this[_0x399580(0x106)];_0x26eec7&&_0x567753 instanceof De&&(this[_0x399580(0x304)](),this[_0x399580(0x129)](_0x567753[_0x399580(0x36f)]()),this['_unlockTransition']());}async[_0xf95350(0xfa)](){return new Promise(_0x513888=>{var _0x2b1781=_0x4451;this[_0x2b1781(0x27e)][_0x2b1781(0x107)][_0x2b1781(0x39f)](_0x3b0b7e(0x1))[_0x2b1781(0x2f6)](async _0x1b4452=>{var _0x2d81e3=_0x2b1781;_0x513888(await this['_createInitialStateImpl'](_0x1b4452===Te[_0x2d81e3(0x2fa)]));});});}[_0xf95350(0x373)](){const _0x4deb38=this['unitID'];return{'onStateChange':(_0x14e3c2,_0x1179e2)=>{var _0xda55ee=_0x4451;if(_0x14e3c2!==this[_0xda55ee(0x106)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x14e3c2[_0xda55ee(0x1fd)]+'\x0aAfter:\x20'+_0x1179e2['status']+'\x0aCurrent:\x20'+this['_state']['status']);this['_updateState'](_0x1179e2);},'onSendChangeset':_0x20610c=>{var _0xf41275=_0x4451;_0x20610c['sid']||(_0x20610c[_0xf41275(0x10b)]=this['_changesetSessionId'],_0x20610c['reqId']=++this[_0xf41275(0x2da)]);const _0x32a9ee={'eventID':_0x15e414[_0xf41275(0x20a)],'data':{'unitID':_0x20610c['unitID'],'unitType':this[_0xf41275(0x347)],'changeset':_0x20610c,'memberID':this['session'][_0xf41275(0xd8)]()}};this[_0xf41275(0x27e)][_0xf41275(0x1c4)](_0x32a9ee,this[_0xf41275(0x17e)]);},'onMissingChangesets':({from:_0x290ba6,to:_0x2f8609})=>{var _0x4400f7=_0x4451;this[_0x4400f7(0x29f)][_0x4400f7(0xd7)](_0x4400f7(0x2b5),'fetching\x20missing\x20changesets\x20from\x20'+_0x290ba6+_0x4400f7(0x112)+_0x2f8609);const _0xe8630f={'eventID':_0x15e414[_0x4400f7(0x1c5)],'data':{'unitID':_0x4deb38,'unitType':this[_0x4400f7(0x347)],'from':_0x290ba6,'to':_0x2f8609}};this[_0x4400f7(0x27e)][_0x4400f7(0x1c4)](_0xe8630f,this['unitID']);}};}async[_0xf95350(0x1db)](_0x2460b6){var _0x33bb71=_0xf95350,_0x38368e,_0x325ffa,_0x214cbc;const _0x238d79=await((_0x38368e=this[_0x33bb71(0x1a1)])==null?void 0x0:_0x38368e['loadOfflineData'](this['unitID'])),_0x5e60d2=(_0x325ffa=_0x238d79==null?void 0x0:_0x238d79['mutations'])!=null?_0x325ffa:[],_0x5223ac=(_0x214cbc=_0x238d79==null?void 0x0:_0x238d79[_0x33bb71(0x386)])!=null?_0x214cbc:null,_0x13aa9e=!!(_0x5223ac!=null&&_0x5223ac[_0x33bb71(0x10b)])&&!!(_0x5223ac!=null&&_0x5223ac[_0x33bb71(0xea)]);this[_0x33bb71(0x338)]=_0x13aa9e?_0x5223ac[_0x33bb71(0x10b)]:rr(),this[_0x33bb71(0x2da)]=_0x13aa9e?_0x5223ac['reqId']:0x0;const _0x384877=this[_0x33bb71(0x17e)];try{this['_replayCachedMutations'](_0x5223ac,_0x5e60d2);}catch(_0x4b689a){this[_0x33bb71(0x29f)][_0x33bb71(0x32c)](_0x4b689a);}const _0x1f93ae=this[_0x33bb71(0x373)]();if(_0x2460b6){const _0x513988=Di(this[_0x33bb71(0x2fe)],_0x384877,this[_0x33bb71(0x347)],_0x5223ac,_0x5e60d2,_0x1f93ae);return _0x513988 instanceof oe?_0x513988['_schedule']():(_0x513988 instanceof ae||_0x513988 instanceof ue)&&_0x513988[_0x33bb71(0xe2)](),_0x513988;}return this['_injector']['createInstance'](fe,_0x384877,this['_type'],_0x5223ac,_0x5e60d2,_0x1f93ae);}[_0xf95350(0x38b)](_0x2d1126,_0x33c811){var _0x21429b=_0xf95350,_0x13191b,_0x32847f;const _0x1744a9=this[_0x21429b(0x358)]['interceptor'][_0x21429b(0x23c)](this[_0x21429b(0x358)][_0x21429b(0x210)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x13191b=_0x1744a9((_0x2d1126==null?void 0x0:_0x2d1126[_0x21429b(0x20f)])||[],null))==null||_0x13191b[_0x21429b(0x362)](_0x4ca4df=>this['_commandService'][_0x21429b(0x309)](_0x4ca4df['id'],_0x4ca4df[_0x21429b(0x39e)])),(_0x32847f=_0x1744a9(_0x33c811||[],null))==null||_0x32847f[_0x21429b(0x362)](_0x36e28b=>this[_0x21429b(0x2e7)][_0x21429b(0x309)](_0x36e28b['id'],_0x36e28b[_0x21429b(0x39e)]));}};st=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(pe)),k(0x8,_0x2cd95e),k(0x9,_0x16ead5),k(0xa,_0x193a1a),k(0xb,_0x36e3d4(ht)),k(0xc,_0x36e3d4(J))],st);let Tt=class extends st{constructor(_0x3a80fd,_0x52da32,_0x4cefc0,_0x13682b,_0x8ac11c,_0x488590,_0x10963d,_0x3c0500,_0x6cce5b,_0x2034c7,_0x1df139,_0x4fd8ed,_0x57924d){var _0x49ed87=_0xf95350;super(_0x3a80fd,_0x4cefc0,_0x52da32,_0x13682b,_0x8ac11c,_0x488590,_0x10963d,_0x3c0500,_0x6cce5b,_0x2034c7,_0x1df139,_0x4fd8ed,_0x57924d),N(this,_0x49ed87(0x2d9),null),(this[_0x49ed87(0x17e)]=_0x3a80fd,this['type']=_0x52da32);}[_0xf95350(0x176)](_0x50cded){this['_handlerCallback']=_0x50cded;}[_0xf95350(0x237)](){var _0x239830=_0xf95350;this[_0x239830(0x2d9)]=null,super[_0x239830(0x237)]();}[_0xf95350(0x373)](){var _0x2a1402=_0xf95350;const _0xbb9ba0=super[_0x2a1402(0x373)]();return _0xbb9ba0['onTransformIME']=_0x475d3f=>{var _0x3535c8=_0x2a1402,_0x4498a1,_0x111a7d;return(_0x111a7d=(_0x4498a1=this[_0x3535c8(0x2d9)])==null?void 0x0:_0x4498a1[_0x3535c8(0x19d)])==null?void 0x0:_0x111a7d[_0x3535c8(0x2d8)](_0x4498a1,_0x475d3f);},_0xbb9ba0['onTransformState']=_0x9a5f38=>{var _0x46919d=_0x2a1402,_0x3776f3,_0x1e81bd;return(_0x1e81bd=(_0x3776f3=this[_0x46919d(0x2d9)])==null?void 0x0:_0x3776f3[_0x46919d(0x2a1)])==null?void 0x0:_0x1e81bd[_0x46919d(0x2d8)](_0x3776f3,_0x9a5f38);},_0xbb9ba0[_0x2a1402(0x398)]=_0xfb79a3=>{var _0x21d90b,_0x42b598;return(_0x42b598=(_0x21d90b=this['_handlerCallback'])==null?void 0x0:_0x21d90b['onTransformSelections'])==null?void 0x0:_0x42b598['call'](_0x21d90b,_0xfb79a3);},_0xbb9ba0[_0x2a1402(0x2f1)]=_0x5b7ec4=>{var _0x581cc6=_0x2a1402,_0x5e0efc,_0x169c9f;return(_0x169c9f=(_0x5e0efc=this[_0x581cc6(0x2d9)])==null?void 0x0:_0x5e0efc[_0x581cc6(0x2f1)])==null?void 0x0:_0x169c9f['call'](_0x5e0efc,_0x5b7ec4);},_0xbb9ba0['onTransformRemoteChangesetByIMECache']=_0x5a8623=>{var _0x343517=_0x2a1402,_0x5ab866,_0x4e7ab3,_0x3f843c;if(!((_0x5ab866=this[_0x343517(0x2d9)])!=null&&_0x5ab866['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3f843c=(_0x4e7ab3=this[_0x343517(0x2d9)])==null?void 0x0:_0x4e7ab3[_0x343517(0x202)])==null?void 0x0:_0x3f843c[_0x343517(0x2d8)](_0x4e7ab3,_0x5a8623);},_0xbb9ba0[_0x2a1402(0x16f)]=_0x2e0db5=>{var _0x4ea8a8=_0x2a1402,_0x1b837f,_0x469832,_0x41c21e;if(!((_0x1b837f=this[_0x4ea8a8(0x2d9)])!=null&&_0x1b837f[_0x4ea8a8(0x16f)]))throw new Error(_0x4ea8a8(0x1a5));return(_0x41c21e=(_0x469832=this['_handlerCallback'])==null?void 0x0:_0x469832['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x41c21e[_0x4ea8a8(0x2d8)](_0x469832,_0x2e0db5);},_0xbb9ba0;}async[_0xf95350(0x1a3)](){var _0x14a2f3=_0xf95350;const _0x55ed8c=await super[_0x14a2f3(0x1a3)]();return this['disposeWithMe'](this[_0x14a2f3(0x2e7)][_0x14a2f3(0x1ff)]((_0x575368,_0x3b59a2)=>{var _0x346ff0=_0x14a2f3;if(_0x575368[_0x346ff0(0x2fd)]!==_0x368d91['MUTATION']||_0x3b59a2!=null&&_0x3b59a2[_0x346ff0(0x255)]||_0x3b59a2!=null&&_0x3b59a2['onlyLocal']||_0x575368['id']===_0x775ef5['id'])return;const _0x5b4572=_0x575368['params'];if((_0x5b4572==null?void 0x0:_0x5b4572['unitId'])!==this[_0x346ff0(0x17e)])return;const _0x582fb6=_0x575368,_0x6b71ef=this['_compressMutationService'][_0x346ff0(0x210)]['fetchThroughInterceptors'](this[_0x346ff0(0x358)]['interceptor'][_0x346ff0(0x1d9)]()[_0x346ff0(0x1ad)])([_0x582fb6],null)||[_0x582fb6];this[_0x346ff0(0x132)](_0x6b71ef[0x0]);})),_0x55ed8c;}};Tt=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(pe)),k(0x8,_0x2cd95e),k(0x9,_0x16ead5),k(0xa,_0x193a1a),k(0xb,_0x36e3d4(ht)),k(0xc,_0x36e3d4(J))],Tt);let Ct=class extends st{constructor(_0x1f8858,_0x5a5e79,_0x36f923,_0x2c87cc,_0x4bdb1f,_0x339220,_0x54fdf5,_0xc9754e,_0x334db,_0x88cbef,_0x58c318,_0x1d484f,_0x132bbc,_0x181a96){var _0x5c347e=_0xf95350;super(_0x1f8858,_0x36f923,_0x5a5e79,_0x2c87cc,_0x4bdb1f,_0x339220,_0x54fdf5,_0x334db,_0x88cbef,_0x58c318,_0x1d484f,_0x132bbc,_0x181a96),this['unitID']=_0x1f8858,this['type']=_0x5a5e79,this[_0x5c347e(0x31a)]=_0xc9754e;}[_0xf95350(0x373)](){var _0x40130f=_0xf95350;const _0xd74e5a=super[_0x40130f(0x373)]();return _0xd74e5a[_0x40130f(0x398)]=_0x373064=>this[_0x40130f(0x31a)]['transformSelections'](_0x373064),_0xd74e5a;}async['_init'](){var _0xe192d7=_0xf95350;const _0x51f8ec=await super[_0xe192d7(0x1a3)]();return this[_0xe192d7(0x359)](this[_0xe192d7(0x2e7)][_0xe192d7(0x1ff)]((_0x12f202,_0x150c40)=>{var _0x5675ef=_0xe192d7;if(_0x12f202[_0x5675ef(0x2fd)]!==_0x368d91[_0x5675ef(0x261)]||_0x150c40!=null&&_0x150c40['fromCollab']||_0x150c40!=null&&_0x150c40['onlyLocal'])return;const _0x3da5d7=_0x12f202['params'];if((_0x3da5d7==null?void 0x0:_0x3da5d7['unitId'])!==this[_0x5675ef(0x17e)])return;const _0x3aaef4=_0x12f202,_0x3a2e78=this[_0x5675ef(0x358)]['interceptor'][_0x5675ef(0x23c)](this['_compressMutationService']['interceptor'][_0x5675ef(0x1d9)]()[_0x5675ef(0x1ad)])([_0x3aaef4],null)||[_0x3aaef4];this[_0x5675ef(0x132)](_0x3a2e78[0x0]);})),_0x51f8ec;}};Ct=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(it)),k(0x8,_0x1f377b(pe)),k(0x9,_0x2cd95e),k(0xa,_0x16ead5),k(0xb,_0x193a1a),k(0xc,_0x36e3d4(ht)),k(0xd,_0x36e3d4(J))],Ct);var pr=Object['defineProperty'],mr=Object[_0xf95350(0x1b5)],gr=(_0x5b211e,_0x85607a,_0x2ee793,_0x112496)=>{var _0x57122e=_0xf95350;for(var _0xbc198c=_0x112496>0x1?void 0x0:_0x112496?mr(_0x85607a,_0x2ee793):_0x85607a,_0x5321ec=_0x5b211e[_0x57122e(0x131)]-0x1,_0x4537c8;_0x5321ec>=0x0;_0x5321ec--)(_0x4537c8=_0x5b211e[_0x5321ec])&&(_0xbc198c=(_0x112496?_0x4537c8(_0x85607a,_0x2ee793,_0xbc198c):_0x4537c8(_0xbc198c))||_0xbc198c);return _0x112496&&_0xbc198c&&pr(_0x85607a,_0x2ee793,_0xbc198c),_0xbc198c;},ft=(_0x49fe75,_0x2a6d34)=>(_0x11711b,_0x115adb)=>_0x2a6d34(_0x11711b,_0x115adb,_0x49fe75);let rt=class extends _0x426883{constructor(_0x3b8bee,_0x40db06,_0x20ec5e){var _0x54da88=_0xf95350;super(),N(this,_0x54da88(0xec),new Map()),N(this,'_entityInit$',new _0x1d9c1a()),N(this,_0x54da88(0x312),this['_entityInit$']['asObservable']()),(this['_injector']=_0x3b8bee,this['_collabSessionService']=_0x40db06,this[_0x54da88(0x2e3)]=_0x20ec5e,this['_init']());}[_0xf95350(0x237)](){var _0x4b02c6=_0xf95350;super[_0x4b02c6(0x237)](),this[_0x4b02c6(0xec)][_0x4b02c6(0x362)](_0x3904b0=>_0x3904b0[_0x4b02c6(0x237)]()),this[_0x4b02c6(0xec)][_0x4b02c6(0x2b0)]();}[_0xf95350(0x22d)](_0x2282ca){var _0x3631b6=_0xf95350,_0x14d6e5;return(_0x14d6e5=this[_0x3631b6(0xec)]['get'](_0x2282ca))!=null?_0x14d6e5:null;}['getCollabEntity$'](_0x482cd4){var _0x534770=_0xf95350;const _0x5b728f=this[_0x534770(0x22d)](_0x482cd4);return _0x5b728f?_0x22b9ed(_0x5b728f):this['_entityInit$'][_0x534770(0x39f)](_0x2ac5d0(_0x33938b=>_0x33938b['unitID']===_0x482cd4));}[_0xf95350(0x343)](_0x33b1f8){var _0x5c8682=_0xf95350;return _0x12dc12(this[_0x5c8682(0xe6)](_0x33b1f8)[_0x5c8682(0x39f)](_0x3dd616(()=>{})));}[_0xf95350(0x1a3)](){var _0x526210=_0xf95350;this['_univerInstanceService'][_0x526210(0x331)](_0x4fe211[_0x526210(0xda)])[_0x526210(0x39f)](_0x30c8dd(this[_0x526210(0x205)]),_0x2a4396(0x10))[_0x526210(0x2f6)](async _0x3f89d3=>{var _0x18a17b=_0x526210;const _0x36cdd0=_0x3f89d3[_0x18a17b(0x298)](),_0x43f387=await this[_0x18a17b(0x2bb)](_0x36cdd0,Q[_0x18a17b(0xda)]);this[_0x18a17b(0xec)][_0x18a17b(0x269)](_0x36cdd0,_0x43f387);}),this[_0x526210(0x2e3)]['getTypeOfUnitAdded$'](_0x4fe211[_0x526210(0x2df)])[_0x526210(0x39f)](_0x30c8dd(this['dispose$']),_0x2a4396(0x10))[_0x526210(0x39f)](_0x2ac5d0(_0x2341cf=>!_0x2341cf[_0x526210(0x298)]()[_0x526210(0x300)]('__')))[_0x526210(0x2f6)](async _0x275f39=>{var _0x35a576=_0x526210;const _0x1180dd=_0x275f39[_0x35a576(0x298)](),_0xe96778=await this[_0x35a576(0x2bb)](_0x1180dd,Q[_0x35a576(0x2df)]);this[_0x35a576(0xec)]['set'](_0x1180dd,_0xe96778);}),_0x127445(this[_0x526210(0x2e3)]['getTypeOfUnitDisposed$'](_0x4fe211[_0x526210(0xda)]),this[_0x526210(0x2e3)][_0x526210(0xb1)](_0x4fe211['UNIVER_DOC']))[_0x526210(0x39f)](_0x30c8dd(this[_0x526210(0x205)]))[_0x526210(0x2f6)](_0x4b93c9=>{var _0x370e03=_0x526210;const _0x382399=_0x4b93c9[_0x370e03(0x298)](),_0xacf34c=this[_0x370e03(0xec)][_0x370e03(0x151)](_0x382399);_0xacf34c&&(_0xacf34c[_0x370e03(0x237)](),this[_0x370e03(0xec)][_0x370e03(0x1e1)](_0x382399));});}async[_0xf95350(0x2bb)](_0x1aec05,_0x3def2d){var _0x12070a=_0xf95350;const _0x3c5ce0=await this['_collabSessionService'][_0x12070a(0x24b)](_0x1aec05),_0x2babd9=this[_0x12070a(0x2fe)]['createInstance'](this[_0x12070a(0x15f)](_0x3def2d),_0x1aec05,_0x3def2d,_0x3c5ce0);return await _0x2babd9[_0x12070a(0x11f)](),this[_0x12070a(0x2fc)][_0x12070a(0x2f9)](_0x2babd9),_0x2babd9;}[_0xf95350(0x15f)](_0x2e0ad3){var _0x4c6e75=_0xf95350;switch(_0x2e0ad3){case Q['UNIVER_DOC']:return Tt;case Q[_0x4c6e75(0xda)]:return Ct;default:throw new Error(_0x4c6e75(0x160)+_0x2e0ad3);}}};rt=gr([ft(0x0,_0x1f377b(_0x459b1e)),ft(0x1,_0x1f377b(Le)),ft(0x2,_0x4accb0)],rt);var Sr=Object[_0xf95350(0x35a)],Er=Object[_0xf95350(0x1b5)],Ir=(_0x2438b1,_0x59ebdd,_0x544b,_0x7fa920)=>{var _0x32873d=_0xf95350;for(var _0x11786e=_0x7fa920>0x1?void 0x0:_0x7fa920?Er(_0x59ebdd,_0x544b):_0x59ebdd,_0x5341c7=_0x2438b1[_0x32873d(0x131)]-0x1,_0x32b8c8;_0x5341c7>=0x0;_0x5341c7--)(_0x32b8c8=_0x2438b1[_0x5341c7])&&(_0x11786e=(_0x7fa920?_0x32b8c8(_0x59ebdd,_0x544b,_0x11786e):_0x32b8c8(_0x11786e))||_0x11786e);return _0x7fa920&&_0x11786e&&Sr(_0x59ebdd,_0x544b,_0x11786e),_0x11786e;},Jt=(_0x22279c,_0x2492bc)=>(_0x40fd1c,_0x554cdb)=>_0x2492bc(_0x40fd1c,_0x554cdb,_0x22279c);const Tr=_0xf95350(0xed),Cr='Univer';let bt=class extends _0x21c7f9{constructor(_0x5df010,_0x12d380){var _0x2030e2=_0xf95350;super(),this[_0x2030e2(0x2e3)]=_0x5df010,this[_0x2030e2(0x215)]=_0x12d380,this[_0x2030e2(0x1a3)]();}[_0xf95350(0x1a3)](){var _0x313090=_0xf95350;this['disposeWithMe'](this[_0x313090(0x2e3)]['focused$'][_0x313090(0x2f6)](()=>{var _0x1f1bd9=_0x313090,_0x38fbd0;const _0x31f23e=this[_0x1f1bd9(0x2e3)][_0x1f1bd9(0x2ff)]();let _0x266d80=(_0x38fbd0=this[_0x1f1bd9(0x215)][_0x1f1bd9(0x1ab)](Tr))!=null?_0x38fbd0:Cr;_0x31f23e instanceof _0x3569b1&&(_0x266d80=_0x31f23e[_0x1f1bd9(0x10c)]),document[_0x1f1bd9(0x341)]=_0x266d80;}));}};bt=Ir([Jt(0x0,_0x4accb0),Jt(0x1,_0x4ef789)],bt);var br=Object[_0xf95350(0x35a)],Rr=Object['getOwnPropertyDescriptor'],Or=(_0x24b84c,_0x534c33,_0x4fe3bc,_0xf655e8)=>{var _0x33d6a8=_0xf95350;for(var _0x1143c8=_0xf655e8>0x1?void 0x0:_0xf655e8?Rr(_0x534c33,_0x4fe3bc):_0x534c33,_0x4ae9d0=_0x24b84c[_0x33d6a8(0x131)]-0x1,_0x1865c4;_0x4ae9d0>=0x0;_0x4ae9d0--)(_0x1865c4=_0x24b84c[_0x4ae9d0])&&(_0x1143c8=(_0xf655e8?_0x1865c4(_0x534c33,_0x4fe3bc,_0x1143c8):_0x1865c4(_0x1143c8))||_0x1143c8);return _0xf655e8&&_0x1143c8&&br(_0x534c33,_0x4fe3bc,_0x1143c8),_0x1143c8;},vt=(_0x1370c8,_0x5b0b10)=>(_0x3be96c,_0x2d3ac8)=>_0x5b0b10(_0x3be96c,_0x2d3ac8,_0x1370c8);let nt=class{constructor(_0x2a5cd4,_0x530a02,_0x44b349){var _0x3bfb7b=_0xf95350;this[_0x3bfb7b(0x215)]=_0x2a5cd4,this['_httpService']=_0x530a02,this[_0x3bfb7b(0x335)]=_0x44b349,this[_0x3bfb7b(0x11f)]();}[_0xf95350(0x11f)](){var _0x47b42b=_0xf95350;this[_0x47b42b(0xdf)][_0x47b42b(0x33f)]({'priority':0x1,'interceptor':(_0x1f6bd0,_0x5bfdcc)=>_0x5bfdcc(_0x1f6bd0)[_0x47b42b(0x39f)](_0x17ba71(async _0x3751f7=>{var _0x475319=_0x47b42b;const _0x137143=_0x3751f7;if(_0x137143[_0x475319(0x1fd)]===0x191){if(typeof window>'u')throw new Error(_0x475319(0x1ed));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x592ab9=window[_0x475319(0xd6)](window[_0x475319(0x1a2)]['href']);window['location']['href']=this['_getLoginPath']()+_0x475319(0x3a4)+_0x592ab9;}}return _0x137143;}))});}[_0xf95350(0x1ce)](){var _0x14e3ac=_0xf95350,_0x46ea21,_0xb7680c;const _0x2f2b2b=this[_0x14e3ac(0x215)][_0x14e3ac(0x1ab)](As),_0x44527b=this[_0x14e3ac(0x215)][_0x14e3ac(0x1ab)](q);return(_0xb7680c=(_0x46ea21=_0x44527b==null?void 0x0:_0x44527b[_0x14e3ac(0x15e)])!=null?_0x46ea21:_0x2f2b2b)!=null?_0xb7680c:xs;}};nt=Or([vt(0x0,_0x4ef789),vt(0x1,_0x1f377b(_0x1d95e4)),vt(0x2,_0x1f377b(_0x3b591c))],nt);var yr=Object[_0xf95350(0x35a)],Nr=Object['getOwnPropertyDescriptor'],Dr=(_0x391c6c,_0x1ed573,_0x2532a2,_0x14787f)=>{var _0x3ee546=_0xf95350;for(var _0x2f2239=_0x14787f>0x1?void 0x0:_0x14787f?Nr(_0x1ed573,_0x2532a2):_0x1ed573,_0x454cfd=_0x391c6c[_0x3ee546(0x131)]-0x1,_0x44aecc;_0x454cfd>=0x0;_0x454cfd--)(_0x44aecc=_0x391c6c[_0x454cfd])&&(_0x2f2239=(_0x14787f?_0x44aecc(_0x1ed573,_0x2532a2,_0x2f2239):_0x44aecc(_0x2f2239))||_0x2f2239);return _0x14787f&&_0x2f2239&&yr(_0x1ed573,_0x2532a2,_0x2f2239),_0x2f2239;},Xt=(_0x505b98,_0x9d5697)=>(_0x1f64d3,_0x246716)=>_0x9d5697(_0x1f64d3,_0x246716,_0x505b98);const Pi='AUTHZ_URL_KEY',Pr=_0xf95350(0x2ab);let Rt=class extends _0x21c7f9{constructor(_0x1f8c71,_0x1171eb){var _0x3cda76=_0xf95350;super(),this[_0x3cda76(0x1eb)]=_0x1f8c71,this[_0x3cda76(0x215)]=_0x1171eb,this['_initMergeInterceptor']();}[_0xf95350(0x23b)](){var _0x374c7c=_0xf95350;const _0x2d3ae2=this;this[_0x374c7c(0x359)](this[_0x374c7c(0x1eb)][_0x374c7c(0x33f)]({'priority':0x3e7,'interceptor':_0x516ca5({'isMatch'(_0x5e2b88){var _0x3a62a4=_0x374c7c,_0x4fe4c7;if(_0x5e2b88[_0x3a62a4(0x293)]==='POST'&&((_0x4fe4c7=_0x5e2b88[_0x3a62a4(0xd3)])!=null&&_0x4fe4c7['body'])){const {objectID:_0x52e56b,objectType:_0x58ea67}=_0x5e2b88[_0x3a62a4(0xd3)][_0x3a62a4(0x2c1)]||{};if(!_0x52e56b||_0x58ea67===void 0x0)return!0x1;const _0x2554ba=_0x2d3ae2[_0x3a62a4(0x35b)]()+'/'+_0x58ea67+_0x3a62a4(0x1af)+_0x52e56b+'/allowed';if(_0x5e2b88[_0x3a62a4(0x249)]===_0x2554ba)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4dd854){var _0xf19279=_0x374c7c,_0x42be89;return(_0x42be89=_0x4dd854['requestParams'])==null?void 0x0:_0x42be89[_0xf19279(0x2c1)];},'mergeParamsToRequest'(_0x4151b5,_0x2feb4f){var _0x1b6644=_0x374c7c;const _0x4c51d3=_0x2d3ae2[_0x1b6644(0x35b)]()+_0x1b6644(0x244),_0x506c80=_0x4151b5[_0x1b6644(0x2ad)]((_0x3ef0fc,_0x5bd8e4)=>{var _0x3d505c=_0x1b6644;const {unitID:_0x506570,objectID:_0x782b95,objectType:_0x4fc6f4,actions:_0x4d0056}=_0x5bd8e4;return _0x3ef0fc[_0x506570]||(_0x3ef0fc[_0x506570]={}),_0x3ef0fc[_0x506570][_0x782b95]||(_0x3ef0fc[_0x506570][_0x782b95]={'objectID':_0x782b95,'objectType':_0x4fc6f4,'actions':[]}),_0x3ef0fc[_0x506570][_0x782b95][_0x3d505c(0x163)][_0x3d505c(0x2e0)](..._0x4d0056),_0x3ef0fc;},{}),_0x331347=[];for(const _0x5464b5 in _0x506c80)for(const _0x258438 in _0x506c80[_0x5464b5]){const {actions:_0x45ef14,objectType:_0x2ed007}=_0x506c80[_0x5464b5][_0x258438],_0x3c8efe=[...new Set(_0x45ef14)];_0x331347['push']({'unitID':_0x5464b5,'objectID':_0x258438,'objectType':_0x2ed007,'actions':_0x3c8efe});}return new _0x3dc882(_0x1b6644(0x26c),_0x4c51d3,{'headers':_0x2feb4f[_0x1b6644(0x2aa)],'withCredentials':_0x2feb4f['withCredentials'],'responseType':_0x2feb4f['responseType'],'body':{'requests':_0x331347}});}},{'distributeResult'(_0x35cb05,_0x1deb5b){var _0x48a3a4=_0x374c7c;const {objectActions:_0x584935}=_0x35cb05;return _0x1deb5b[_0x48a3a4(0xbf)](_0x2b9e9e=>{var _0x458e29=_0x48a3a4;const {unitID:_0xedf8bd,objectID:_0x42d37c,actions:_0x59e8aa}=_0x2b9e9e,_0xd8b9a4=_0x584935['find'](_0x5d724f=>_0x5d724f['unitID']===_0xedf8bd&&_0x5d724f[_0x458e29(0x159)]===_0x42d37c),_0x57074a=_0x59e8aa[_0x458e29(0xbf)](_0x37285d=>_0xd8b9a4==null?void 0x0:_0xd8b9a4[_0x458e29(0x163)]['find'](_0x3683ce=>_0x3683ce[_0x458e29(0x2a9)]===_0x37285d))[_0x458e29(0x182)](_0x11d0a1=>!!_0x11d0a1);return{'config':_0x2b9e9e,'result':{'actions':_0x57074a,'error':_0x35cb05['error']}};});}})}));}[_0xf95350(0x35b)](){var _0xeb68dc=_0xf95350,_0x11bd24,_0x5e8333;const _0xe5da75=this[_0xeb68dc(0x215)][_0xeb68dc(0x1ab)](Pi),_0xa93814=this['_configService'][_0xeb68dc(0x1ab)](q);return(_0x5e8333=(_0x11bd24=_0xa93814==null?void 0x0:_0xa93814['authzUrl'])!=null?_0x11bd24:_0xe5da75)!=null?_0x5e8333:Pr;}async['create'](_0x564d0b){var _0x118b04=_0xf95350;const _0x189972=this['_getAPIPrefixPath']()+'/'+_0x564d0b[_0x118b04(0x387)]+_0x118b04(0x116);return(await this[_0x118b04(0x1eb)]['post'](_0x189972,{'body':_0x564d0b}))[_0x118b04(0x2c1)][_0x118b04(0x159)]||'';}async[_0xf95350(0x385)](_0x25fa1a){var _0x24a8d3=_0xf95350;const _0x5d22d0=this[_0x24a8d3(0x35b)]()+_0x24a8d3(0x330);return(await this[_0x24a8d3(0x1eb)][_0x24a8d3(0x24a)](_0x5d22d0,{'body':_0x25fa1a}))[_0x24a8d3(0x2c1)]['objects'];}async[_0xf95350(0x1c6)](_0x48fd91){var _0x64ab0c=_0xf95350;const _0xbde8a3=this[_0x64ab0c(0x35b)]()+'/'+_0x48fd91[_0x64ab0c(0x387)]+'/object/'+_0x48fd91['objectID'];await this['_HTTPService'][_0x64ab0c(0x164)](_0xbde8a3,{'body':_0x48fd91});}async['allowed'](_0x26b28c){var _0x5c97d4=_0xf95350;const _0x21db8a=this['_getAPIPrefixPath']()+'/'+_0x26b28c[_0x5c97d4(0x387)]+_0x5c97d4(0x1af)+_0x26b28c[_0x5c97d4(0x159)]+'/allowed';return(await this[_0x5c97d4(0x1eb)][_0x5c97d4(0x24a)](_0x21db8a,{'body':_0x26b28c}))[_0x5c97d4(0x2c1)][_0x5c97d4(0x163)];}async['batchAllowed'](_0x2f6cbb){var _0x1839f3=_0xf95350;const _0x29e43b=this[_0x1839f3(0x35b)]()+'/-/object/-/batch_allowed';return(await this[_0x1839f3(0x1eb)][_0x1839f3(0x24a)](_0x29e43b,{'body':{'requests':_0x2f6cbb}}))[_0x1839f3(0x2c1)][_0x1839f3(0x254)];}async[_0xf95350(0x239)](_0x48f657){var _0x11de34=_0xf95350;const _0x2aae39=this['_getAPIPrefixPath']()+'/'+_0x48f657[_0x11de34(0x387)]+_0x11de34(0x1b6),_0x368dc0=await this[_0x11de34(0x1eb)]['post'](_0x2aae39,{'body':_0x48f657});return{'roles':_0x368dc0[_0x11de34(0x2c1)][_0x11de34(0x25e)],'actions':_0x368dc0[_0x11de34(0x2c1)][_0x11de34(0x163)]};}async[_0xf95350(0x39d)](_0x40b4ec){var _0x192cf3=_0xf95350;const _0x4dc3e8=this[_0x192cf3(0x35b)]()+'/collaborator';await this[_0x192cf3(0x1eb)]['delete'](_0x4dc3e8,{'params':{'collaboratorID':_0x40b4ec[_0x192cf3(0x18f)],'objectID':_0x40b4ec[_0x192cf3(0x159)],'unitID':_0x40b4ec[_0x192cf3(0x17e)]}});}async['updateCollaborator'](_0x48287c){var _0x1c7718=_0xf95350;const _0x58a755=this[_0x1c7718(0x35b)]()+_0x1c7718(0x127);await this['_HTTPService'][_0x1c7718(0x322)](_0x58a755,{'body':_0x48287c});}async[_0xf95350(0x1c1)](_0x3ed157){var _0x3433d3=_0xf95350;const _0x39efcd=this['_getAPIPrefixPath']()+_0x3433d3(0x127);await this[_0x3433d3(0x1eb)][_0x3433d3(0x24a)](_0x39efcd,{'body':_0x3ed157});}async[_0xf95350(0x103)](_0x70b4c6){var _0xa414d1=_0xf95350;const _0x4a8ebb=this[_0xa414d1(0x35b)]()+'/collaborator';return(await this[_0xa414d1(0x1eb)][_0xa414d1(0x151)](_0x4a8ebb,{'params':{'objectID':_0x70b4c6[_0xa414d1(0x159)],'unitID':_0x70b4c6['unitID']}}))[_0xa414d1(0x2c1)][_0xa414d1(0x13e)];}async[_0xf95350(0x1f5)](_0x467f4c){var _0x5655e8=_0xf95350;const _0x3e5061=this['_getAPIPrefixPath']()+_0x5655e8(0x127);await this[_0x5655e8(0x1eb)]['put'](_0x3e5061,{'body':_0x467f4c});}};Rt=Dr([Xt(0x0,_0x1f377b(_0x1d95e4)),Xt(0x1,_0x1f377b(_0x4ef789))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2bf27f){var _0xc29c10=_0xf95350;return _0x2bf27f&&_0x2bf27f[_0xc29c10(0x1e2)]&&Object['prototype'][_0xc29c10(0x17a)]['call'](_0x2bf27f,_0xc29c10(0x302))?_0x2bf27f['default']:_0x2bf27f;}var Ve={'exports':{}};function wr(_0x3f277f){var _0x331b54=_0xf95350;throw new Error(_0x331b54(0xb0)+_0x3f277f+_0x331b54(0x377));}var Ge={'exports':{}},Ur=Ge['exports'],Zt;function se(){var _0x36529d=_0xf95350;return Zt||(Zt=0x1,function(_0x173800,_0x17277e){(function(_0x39c759,_0x5bd832){var _0x405e45=_0x4451;_0x173800[_0x405e45(0x1b2)]=_0x5bd832();}(Ur,function(){var _0x41f585=_0x41f585||function(_0xbcdc42,_0x4ffca5){var _0x39f0ff=_0x4451,_0x34e3bf;if(typeof window<'u'&&window[_0x39f0ff(0x2b8)]&&(_0x34e3bf=window[_0x39f0ff(0x2b8)]),typeof self<'u'&&self[_0x39f0ff(0x2b8)]&&(_0x34e3bf=self[_0x39f0ff(0x2b8)]),typeof globalThis<'u'&&globalThis[_0x39f0ff(0x2b8)]&&(_0x34e3bf=globalThis['crypto']),!_0x34e3bf&&typeof window<'u'&&window[_0x39f0ff(0x247)]&&(_0x34e3bf=window[_0x39f0ff(0x247)]),!_0x34e3bf&&typeof pt<'u'&&pt['crypto']&&(_0x34e3bf=pt[_0x39f0ff(0x2b8)]),!_0x34e3bf&&typeof wr==_0x39f0ff(0x2c0))try{_0x34e3bf=require('crypto');}catch{}var _0x42ff79=function(){var _0x3b0eed=_0x39f0ff;if(_0x34e3bf){if(typeof _0x34e3bf[_0x3b0eed(0x301)]==_0x3b0eed(0x2c0))try{return _0x34e3bf[_0x3b0eed(0x301)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34e3bf[_0x3b0eed(0x38d)]==_0x3b0eed(0x2c0))try{return _0x34e3bf[_0x3b0eed(0x38d)](0x4)[_0x3b0eed(0x11d)]();}catch{}}throw new Error(_0x3b0eed(0x2f3));},_0x126728=Object[_0x39f0ff(0x18c)]||(function(){function _0x407e21(){}return function(_0x1b6736){var _0x1fdcf7=_0x4451,_0xbea9b3;return _0x407e21[_0x1fdcf7(0xc8)]=_0x1b6736,_0xbea9b3=new _0x407e21(),_0x407e21[_0x1fdcf7(0xc8)]=null,_0xbea9b3;};}()),_0x43cbea={},_0x7d6a8a=_0x43cbea[_0x39f0ff(0x12b)]={},_0x5eaba4=_0x7d6a8a[_0x39f0ff(0x325)]=(function(){return{'extend':function(_0x2312ce){var _0x100b2d=_0x4451,_0x2fe74c=_0x126728(this);return _0x2312ce&&_0x2fe74c[_0x100b2d(0x38a)](_0x2312ce),(!_0x2fe74c[_0x100b2d(0x17a)](_0x100b2d(0x11f))||this['init']===_0x2fe74c['init'])&&(_0x2fe74c[_0x100b2d(0x11f)]=function(){var _0x1d8f02=_0x100b2d;_0x2fe74c[_0x1d8f02(0x16a)][_0x1d8f02(0x11f)][_0x1d8f02(0x279)](this,arguments);}),_0x2fe74c[_0x100b2d(0x11f)][_0x100b2d(0xc8)]=_0x2fe74c,_0x2fe74c[_0x100b2d(0x16a)]=this,_0x2fe74c;},'create':function(){var _0x5642a4=_0x4451,_0x4459e4=this[_0x5642a4(0xc5)]();return _0x4459e4['init']['apply'](_0x4459e4,arguments),_0x4459e4;},'init':function(){},'mixIn':function(_0x5e2137){var _0x15d43b=_0x4451;for(var _0x2e2aba in _0x5e2137)_0x5e2137[_0x15d43b(0x17a)](_0x2e2aba)&&(this[_0x2e2aba]=_0x5e2137[_0x2e2aba]);_0x5e2137[_0x15d43b(0x17a)](_0x15d43b(0x1e3))&&(this[_0x15d43b(0x1e3)]=_0x5e2137[_0x15d43b(0x1e3)]);},'clone':function(){var _0x13d43c=_0x4451;return this[_0x13d43c(0x11f)][_0x13d43c(0xc8)][_0x13d43c(0xc5)](this);}};}()),_0x4b2a1b=_0x7d6a8a['WordArray']=_0x5eaba4[_0x39f0ff(0xc5)]({'init':function(_0x49320d,_0x8d8b0e){var _0x4271ef=_0x39f0ff;_0x49320d=this['words']=_0x49320d||[],_0x8d8b0e!=_0x4ffca5?this[_0x4271ef(0x1e7)]=_0x8d8b0e:this[_0x4271ef(0x1e7)]=_0x49320d[_0x4271ef(0x131)]*0x4;},'toString':function(_0x33a67d){var _0x48d3ad=_0x39f0ff;return(_0x33a67d||_0x3e7861)[_0x48d3ad(0x1f2)](this);},'concat':function(_0xff5a18){var _0xfda208=_0x39f0ff,_0x1e612f=this[_0xfda208(0x24d)],_0x2a7c2b=_0xff5a18[_0xfda208(0x24d)],_0x518179=this[_0xfda208(0x1e7)],_0x17b8a2=_0xff5a18[_0xfda208(0x1e7)];if(this[_0xfda208(0x2b1)](),_0x518179%0x4)for(var _0x2636f4=0x0;_0x2636f4<_0x17b8a2;_0x2636f4++){var _0x2fa531=_0x2a7c2b[_0x2636f4>>>0x2]>>>0x18-_0x2636f4%0x4*0x8&0xff;_0x1e612f[_0x518179+_0x2636f4>>>0x2]|=_0x2fa531<<0x18-(_0x518179+_0x2636f4)%0x4*0x8;}else{for(var _0xf6e594=0x0;_0xf6e594<_0x17b8a2;_0xf6e594+=0x4)_0x1e612f[_0x518179+_0xf6e594>>>0x2]=_0x2a7c2b[_0xf6e594>>>0x2];}return this[_0xfda208(0x1e7)]+=_0x17b8a2,this;},'clamp':function(){var _0xd9bd9f=_0x39f0ff,_0x2c11c9=this[_0xd9bd9f(0x24d)],_0x5221cf=this[_0xd9bd9f(0x1e7)];_0x2c11c9[_0x5221cf>>>0x2]&=0xffffffff<<0x20-_0x5221cf%0x4*0x8,_0x2c11c9[_0xd9bd9f(0x131)]=_0xbcdc42['ceil'](_0x5221cf/0x4);},'clone':function(){var _0x313886=_0x39f0ff,_0x494442=_0x5eaba4[_0x313886(0x1cc)][_0x313886(0x2d8)](this);return _0x494442[_0x313886(0x24d)]=this[_0x313886(0x24d)][_0x313886(0x2dd)](0x0),_0x494442;},'random':function(_0x5c6b57){for(var _0x4f360e=[],_0x455cbc=0x0;_0x455cbc<_0x5c6b57;_0x455cbc+=0x4)_0x4f360e['push'](_0x42ff79());return new _0x4b2a1b['init'](_0x4f360e,_0x5c6b57);}}),_0x5b3044=_0x43cbea['enc']={},_0x3e7861=_0x5b3044[_0x39f0ff(0x23e)]={'stringify':function(_0x594f2e){var _0x262a86=_0x39f0ff;for(var _0x2ccd10=_0x594f2e[_0x262a86(0x24d)],_0x5b6407=_0x594f2e['sigBytes'],_0x3c611c=[],_0x4f1f8c=0x0;_0x4f1f8c<_0x5b6407;_0x4f1f8c++){var _0x261ffb=_0x2ccd10[_0x4f1f8c>>>0x2]>>>0x18-_0x4f1f8c%0x4*0x8&0xff;_0x3c611c[_0x262a86(0x2e0)]((_0x261ffb>>>0x4)[_0x262a86(0x1e3)](0x10)),_0x3c611c['push']((_0x261ffb&0xf)['toString'](0x10));}return _0x3c611c[_0x262a86(0x199)]('');},'parse':function(_0x3ac824){var _0x4d540b=_0x39f0ff;for(var _0x2493fe=_0x3ac824[_0x4d540b(0x131)],_0x4b4ce8=[],_0xf6f1ec=0x0;_0xf6f1ec<_0x2493fe;_0xf6f1ec+=0x2)_0x4b4ce8[_0xf6f1ec>>>0x3]|=parseInt(_0x3ac824[_0x4d540b(0x1da)](_0xf6f1ec,0x2),0x10)<<0x18-_0xf6f1ec%0x8*0x4;return new _0x4b2a1b[(_0x4d540b(0x11f))](_0x4b4ce8,_0x2493fe/0x2);}},_0x17edc9=_0x5b3044['Latin1']={'stringify':function(_0x1b1080){var _0x48f42b=_0x39f0ff;for(var _0x3ff51d=_0x1b1080[_0x48f42b(0x24d)],_0x571719=_0x1b1080[_0x48f42b(0x1e7)],_0x11569d=[],_0x244ae1=0x0;_0x244ae1<_0x571719;_0x244ae1++){var _0x3b26b3=_0x3ff51d[_0x244ae1>>>0x2]>>>0x18-_0x244ae1%0x4*0x8&0xff;_0x11569d[_0x48f42b(0x2e0)](String['fromCharCode'](_0x3b26b3));}return _0x11569d['join']('');},'parse':function(_0x111a8d){var _0x15e104=_0x39f0ff;for(var _0x118dd8=_0x111a8d['length'],_0x435505=[],_0x30669c=0x0;_0x30669c<_0x118dd8;_0x30669c++)_0x435505[_0x30669c>>>0x2]|=(_0x111a8d[_0x15e104(0x378)](_0x30669c)&0xff)<<0x18-_0x30669c%0x4*0x8;return new _0x4b2a1b[(_0x15e104(0x11f))](_0x435505,_0x118dd8);}},_0x89e48c=_0x5b3044[_0x39f0ff(0xd1)]={'stringify':function(_0x1c8495){var _0x39007f=_0x39f0ff;try{return decodeURIComponent(escape(_0x17edc9[_0x39007f(0x1f2)](_0x1c8495)));}catch{throw new Error(_0x39007f(0x350));}},'parse':function(_0x4bef4c){var _0x51f9ef=_0x39f0ff;return _0x17edc9[_0x51f9ef(0x1a6)](unescape(encodeURIComponent(_0x4bef4c)));}},_0x5593d1=_0x7d6a8a['BufferedBlockAlgorithm']=_0x5eaba4[_0x39f0ff(0xc5)]({'reset':function(){var _0x4fa655=_0x39f0ff;this[_0x4fa655(0x19e)]=new _0x4b2a1b[(_0x4fa655(0x11f))](),this[_0x4fa655(0x296)]=0x0;},'_append':function(_0x2b1dcb){var _0xf6e95e=_0x39f0ff;typeof _0x2b1dcb==_0xf6e95e(0x267)&&(_0x2b1dcb=_0x89e48c[_0xf6e95e(0x1a6)](_0x2b1dcb)),this[_0xf6e95e(0x19e)][_0xf6e95e(0x241)](_0x2b1dcb),this['_nDataBytes']+=_0x2b1dcb[_0xf6e95e(0x1e7)];},'_process':function(_0x1109e4){var _0x500885=_0x39f0ff,_0x31ba0a,_0x5affe7=this[_0x500885(0x19e)],_0x2d04d5=_0x5affe7[_0x500885(0x24d)],_0x2c0f13=_0x5affe7['sigBytes'],_0x3f4df0=this[_0x500885(0xab)],_0x2d5224=_0x3f4df0*0x4,_0x13a40f=_0x2c0f13/_0x2d5224;_0x1109e4?_0x13a40f=_0xbcdc42[_0x500885(0xc6)](_0x13a40f):_0x13a40f=_0xbcdc42[_0x500885(0xa9)]((_0x13a40f|0x0)-this[_0x500885(0x13d)],0x0);var _0x8dd809=_0x13a40f*_0x3f4df0,_0x5ee22f=_0xbcdc42['min'](_0x8dd809*0x4,_0x2c0f13);if(_0x8dd809){for(var _0x2c4bf8=0x0;_0x2c4bf8<_0x8dd809;_0x2c4bf8+=_0x3f4df0)this['_doProcessBlock'](_0x2d04d5,_0x2c4bf8);_0x31ba0a=_0x2d04d5[_0x500885(0x23f)](0x0,_0x8dd809),_0x5affe7[_0x500885(0x1e7)]-=_0x5ee22f;}return new _0x4b2a1b[(_0x500885(0x11f))](_0x31ba0a,_0x5ee22f);},'clone':function(){var _0x5442e5=_0x39f0ff,_0x5408b1=_0x5eaba4[_0x5442e5(0x1cc)][_0x5442e5(0x2d8)](this);return _0x5408b1['_data']=this[_0x5442e5(0x19e)]['clone'](),_0x5408b1;},'_minBufferSize':0x0});_0x7d6a8a[_0x39f0ff(0x14c)]=_0x5593d1['extend']({'cfg':_0x5eaba4[_0x39f0ff(0xc5)](),'init':function(_0x55c7a5){var _0x273177=_0x39f0ff;this[_0x273177(0x351)]=this[_0x273177(0x351)]['extend'](_0x55c7a5),this[_0x273177(0x1bf)]();},'reset':function(){var _0x3f9bcc=_0x39f0ff;_0x5593d1[_0x3f9bcc(0x1bf)]['call'](this),this[_0x3f9bcc(0x101)]();},'update':function(_0x1f9a4f){var _0x34c6fd=_0x39f0ff;return this[_0x34c6fd(0xb2)](_0x1f9a4f),this['_process'](),this;},'finalize':function(_0x30ba23){var _0x28fd56=_0x39f0ff;_0x30ba23&&this['_append'](_0x30ba23);var _0x30f2e9=this[_0x28fd56(0x12f)]();return _0x30f2e9;},'blockSize':0x10,'_createHelper':function(_0x1e6dad){return function(_0x39e992,_0x2792b0){var _0x489746=_0x4451;return new _0x1e6dad[(_0x489746(0x11f))](_0x2792b0)[_0x489746(0x337)](_0x39e992);};},'_createHmacHelper':function(_0x26335e){return function(_0x56dde0,_0x5d94cf){var _0x3f986e=_0x4451;return new _0x2aee1d['HMAC'][(_0x3f986e(0x11f))](_0x26335e,_0x5d94cf)['finalize'](_0x56dde0);};}});var _0x2aee1d=_0x43cbea[_0x39f0ff(0xae)]={};return _0x43cbea;}(Math);return _0x41f585;}));}(Ge)),Ge[_0x36529d(0x1b2)];}var We={'exports':{}},Ar=We[_0xf95350(0x1b2)],Qt;function wi(){var _0x5d70c3=_0xf95350;return Qt||(Qt=0x1,function(_0x11759f,_0x5f321a){(function(_0x53cb73,_0x2da374){var _0x23e296=_0x4451;_0x11759f[_0x23e296(0x1b2)]=_0x2da374(se());}(Ar,function(_0x29dc8e){var _0x383e3e=_0x4451;return(function(){var _0x501bca=_0x4451,_0x45640a=_0x29dc8e,_0x21b828=_0x45640a[_0x501bca(0x12b)],_0xbb746b=_0x21b828[_0x501bca(0x388)],_0x4f1697=_0x45640a['enc'];_0x4f1697[_0x501bca(0x349)]={'stringify':function(_0xda2fda){var _0x1ad4fb=_0x501bca,_0x302cac=_0xda2fda[_0x1ad4fb(0x24d)],_0x2ffa7e=_0xda2fda[_0x1ad4fb(0x1e7)],_0x302658=this[_0x1ad4fb(0x2ac)];_0xda2fda[_0x1ad4fb(0x2b1)]();for(var _0x2a9036=[],_0x5624db=0x0;_0x5624db<_0x2ffa7e;_0x5624db+=0x3)for(var _0x1e281a=_0x302cac[_0x5624db>>>0x2]>>>0x18-_0x5624db%0x4*0x8&0xff,_0x28081d=_0x302cac[_0x5624db+0x1>>>0x2]>>>0x18-(_0x5624db+0x1)%0x4*0x8&0xff,_0x4810ea=_0x302cac[_0x5624db+0x2>>>0x2]>>>0x18-(_0x5624db+0x2)%0x4*0x8&0xff,_0x20fa9c=_0x1e281a<<0x10|_0x28081d<<0x8|_0x4810ea,_0x13137c=0x0;_0x13137c<0x4&&_0x5624db+_0x13137c*0.75<_0x2ffa7e;_0x13137c++)_0x2a9036['push'](_0x302658[_0x1ad4fb(0x243)](_0x20fa9c>>>0x6*(0x3-_0x13137c)&0x3f));var _0xecaae4=_0x302658[_0x1ad4fb(0x243)](0x40);if(_0xecaae4){for(;_0x2a9036[_0x1ad4fb(0x131)]%0x4;)_0x2a9036[_0x1ad4fb(0x2e0)](_0xecaae4);}return _0x2a9036['join']('');},'parse':function(_0x57c4a3){var _0x3721d3=_0x501bca,_0x273568=_0x57c4a3[_0x3721d3(0x131)],_0x20e8fd=this[_0x3721d3(0x2ac)],_0x4ec7dd=this['_reverseMap'];if(!_0x4ec7dd){_0x4ec7dd=this[_0x3721d3(0x28c)]=[];for(var _0x35b5eb=0x0;_0x35b5eb<_0x20e8fd[_0x3721d3(0x131)];_0x35b5eb++)_0x4ec7dd[_0x20e8fd[_0x3721d3(0x378)](_0x35b5eb)]=_0x35b5eb;}var _0x43e44f=_0x20e8fd[_0x3721d3(0x243)](0x40);if(_0x43e44f){var _0x1d7fa6=_0x57c4a3[_0x3721d3(0x252)](_0x43e44f);_0x1d7fa6!==-0x1&&(_0x273568=_0x1d7fa6);}return _0x32773a(_0x57c4a3,_0x273568,_0x4ec7dd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x32773a(_0x532d20,_0x8ce56e,_0x34e95a){var _0x53108c=_0x501bca;for(var _0xa5f127=[],_0x54ffc3=0x0,_0x321639=0x0;_0x321639<_0x8ce56e;_0x321639++)if(_0x321639%0x4){var _0x47ee14=_0x34e95a[_0x532d20['charCodeAt'](_0x321639-0x1)]<<_0x321639%0x4*0x2,_0x4dda82=_0x34e95a[_0x532d20[_0x53108c(0x378)](_0x321639)]>>>0x6-_0x321639%0x4*0x2,_0xb74781=_0x47ee14|_0x4dda82;_0xa5f127[_0x54ffc3>>>0x2]|=_0xb74781<<0x18-_0x54ffc3%0x4*0x8,_0x54ffc3++;}return _0xbb746b[_0x53108c(0x18c)](_0xa5f127,_0x54ffc3);}}()),_0x29dc8e[_0x383e3e(0x275)][_0x383e3e(0x349)];}));}(We)),We[_0x5d70c3(0x1b2)];}var Ke={'exports':{}},xr=Ke[_0xf95350(0x1b2)],ei;function Lr(){return ei||(ei=0x1,function(_0x2d5980,_0x410669){(function(_0xdd6dfb,_0x5aa345){var _0x3e42a0=_0x4451;_0x2d5980[_0x3e42a0(0x1b2)]=_0x5aa345(se());}(xr,function(_0x5ce2d6){return function(_0x227866){var _0x2b4f51=_0x4451,_0xedfe35=_0x5ce2d6,_0x3b0060=_0xedfe35[_0x2b4f51(0x12b)],_0x3f87ce=_0x3b0060['WordArray'],_0x28128c=_0x3b0060[_0x2b4f51(0x14c)],_0x32fb44=_0xedfe35[_0x2b4f51(0xae)],_0x91176e=[];(function(){var _0x146834=_0x2b4f51;for(var _0x2d3782=0x0;_0x2d3782<0x40;_0x2d3782++)_0x91176e[_0x2d3782]=_0x227866[_0x146834(0xad)](_0x227866['sin'](_0x2d3782+0x1))*0x100000000|0x0;}());var _0x4a05fe=_0x32fb44[_0x2b4f51(0x1cb)]=_0x28128c[_0x2b4f51(0xc5)]({'_doReset':function(){var _0x4dc6b2=_0x2b4f51;this[_0x4dc6b2(0x2ec)]=new _0x3f87ce[(_0x4dc6b2(0x11f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c887d,_0x45ceb8){var _0x34bf81=_0x2b4f51;for(var _0x358782=0x0;_0x358782<0x10;_0x358782++){var _0xe4c1c3=_0x45ceb8+_0x358782,_0x3bcaa0=_0x5c887d[_0xe4c1c3];_0x5c887d[_0xe4c1c3]=(_0x3bcaa0<<0x8|_0x3bcaa0>>>0x18)&0xff00ff|(_0x3bcaa0<<0x18|_0x3bcaa0>>>0x8)&0xff00ff00;}var _0x4a6e43=this[_0x34bf81(0x2ec)][_0x34bf81(0x24d)],_0x48fdbd=_0x5c887d[_0x45ceb8+0x0],_0x1fe725=_0x5c887d[_0x45ceb8+0x1],_0x5210f8=_0x5c887d[_0x45ceb8+0x2],_0x1925c5=_0x5c887d[_0x45ceb8+0x3],_0x46984b=_0x5c887d[_0x45ceb8+0x4],_0x96ff09=_0x5c887d[_0x45ceb8+0x5],_0x3a8066=_0x5c887d[_0x45ceb8+0x6],_0x52caa5=_0x5c887d[_0x45ceb8+0x7],_0x64313e=_0x5c887d[_0x45ceb8+0x8],_0x5a6263=_0x5c887d[_0x45ceb8+0x9],_0x2efb3f=_0x5c887d[_0x45ceb8+0xa],_0x139db8=_0x5c887d[_0x45ceb8+0xb],_0x588037=_0x5c887d[_0x45ceb8+0xc],_0x32a171=_0x5c887d[_0x45ceb8+0xd],_0x2dba95=_0x5c887d[_0x45ceb8+0xe],_0x4d6365=_0x5c887d[_0x45ceb8+0xf],_0x302219=_0x4a6e43[0x0],_0xdf05a6=_0x4a6e43[0x1],_0x1790ee=_0x4a6e43[0x2],_0x5148c0=_0x4a6e43[0x3];_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x48fdbd,0x7,_0x91176e[0x0]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x1fe725,0xc,_0x91176e[0x1]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x5210f8,0x11,_0x91176e[0x2]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x1925c5,0x16,_0x91176e[0x3]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x46984b,0x7,_0x91176e[0x4]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x96ff09,0xc,_0x91176e[0x5]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x3a8066,0x11,_0x91176e[0x6]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x52caa5,0x16,_0x91176e[0x7]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x64313e,0x7,_0x91176e[0x8]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x5a6263,0xc,_0x91176e[0x9]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2efb3f,0x11,_0x91176e[0xa]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x139db8,0x16,_0x91176e[0xb]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x588037,0x7,_0x91176e[0xc]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x32a171,0xc,_0x91176e[0xd]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2dba95,0x11,_0x91176e[0xe]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x4d6365,0x16,_0x91176e[0xf]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x1fe725,0x5,_0x91176e[0x10]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x3a8066,0x9,_0x91176e[0x11]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x139db8,0xe,_0x91176e[0x12]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x48fdbd,0x14,_0x91176e[0x13]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x96ff09,0x5,_0x91176e[0x14]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x2efb3f,0x9,_0x91176e[0x15]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x4d6365,0xe,_0x91176e[0x16]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x46984b,0x14,_0x91176e[0x17]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x5a6263,0x5,_0x91176e[0x18]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x2dba95,0x9,_0x91176e[0x19]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x1925c5,0xe,_0x91176e[0x1a]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x64313e,0x14,_0x91176e[0x1b]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x32a171,0x5,_0x91176e[0x1c]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x5210f8,0x9,_0x91176e[0x1d]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x52caa5,0xe,_0x91176e[0x1e]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x588037,0x14,_0x91176e[0x1f]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x96ff09,0x4,_0x91176e[0x20]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x64313e,0xb,_0x91176e[0x21]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x139db8,0x10,_0x91176e[0x22]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x2dba95,0x17,_0x91176e[0x23]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x1fe725,0x4,_0x91176e[0x24]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x46984b,0xb,_0x91176e[0x25]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x52caa5,0x10,_0x91176e[0x26]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x2efb3f,0x17,_0x91176e[0x27]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x32a171,0x4,_0x91176e[0x28]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x48fdbd,0xb,_0x91176e[0x29]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x1925c5,0x10,_0x91176e[0x2a]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x3a8066,0x17,_0x91176e[0x2b]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x5a6263,0x4,_0x91176e[0x2c]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x588037,0xb,_0x91176e[0x2d]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x4d6365,0x10,_0x91176e[0x2e]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x5210f8,0x17,_0x91176e[0x2f]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x48fdbd,0x6,_0x91176e[0x30]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x52caa5,0xa,_0x91176e[0x31]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2dba95,0xf,_0x91176e[0x32]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x96ff09,0x15,_0x91176e[0x33]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x588037,0x6,_0x91176e[0x34]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x1925c5,0xa,_0x91176e[0x35]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2efb3f,0xf,_0x91176e[0x36]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x1fe725,0x15,_0x91176e[0x37]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x64313e,0x6,_0x91176e[0x38]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x4d6365,0xa,_0x91176e[0x39]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x3a8066,0xf,_0x91176e[0x3a]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x32a171,0x15,_0x91176e[0x3b]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x46984b,0x6,_0x91176e[0x3c]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x139db8,0xa,_0x91176e[0x3d]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x5210f8,0xf,_0x91176e[0x3e]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x5a6263,0x15,_0x91176e[0x3f]),_0x4a6e43[0x0]=_0x4a6e43[0x0]+_0x302219|0x0,_0x4a6e43[0x1]=_0x4a6e43[0x1]+_0xdf05a6|0x0,_0x4a6e43[0x2]=_0x4a6e43[0x2]+_0x1790ee|0x0,_0x4a6e43[0x3]=_0x4a6e43[0x3]+_0x5148c0|0x0;},'_doFinalize':function(){var _0x5970ce=_0x2b4f51,_0x33c068=this[_0x5970ce(0x19e)],_0x4e86fe=_0x33c068[_0x5970ce(0x24d)],_0x6bfe81=this['_nDataBytes']*0x8,_0x55eaee=_0x33c068[_0x5970ce(0x1e7)]*0x8;_0x4e86fe[_0x55eaee>>>0x5]|=0x80<<0x18-_0x55eaee%0x20;var _0x1474eb=_0x227866[_0x5970ce(0x120)](_0x6bfe81/0x100000000),_0x15ee22=_0x6bfe81;_0x4e86fe[(_0x55eaee+0x40>>>0x9<<0x4)+0xf]=(_0x1474eb<<0x8|_0x1474eb>>>0x18)&0xff00ff|(_0x1474eb<<0x18|_0x1474eb>>>0x8)&0xff00ff00,_0x4e86fe[(_0x55eaee+0x40>>>0x9<<0x4)+0xe]=(_0x15ee22<<0x8|_0x15ee22>>>0x18)&0xff00ff|(_0x15ee22<<0x18|_0x15ee22>>>0x8)&0xff00ff00,_0x33c068[_0x5970ce(0x1e7)]=(_0x4e86fe[_0x5970ce(0x131)]+0x1)*0x4,this[_0x5970ce(0x170)]();for(var _0x13a3bd=this[_0x5970ce(0x2ec)],_0x4fb9e1=_0x13a3bd[_0x5970ce(0x24d)],_0x485a51=0x0;_0x485a51<0x4;_0x485a51++){var _0x335d1b=_0x4fb9e1[_0x485a51];_0x4fb9e1[_0x485a51]=(_0x335d1b<<0x8|_0x335d1b>>>0x18)&0xff00ff|(_0x335d1b<<0x18|_0x335d1b>>>0x8)&0xff00ff00;}return _0x13a3bd;},'clone':function(){var _0x3241a9=_0x2b4f51,_0x6c7182=_0x28128c[_0x3241a9(0x1cc)]['call'](this);return _0x6c7182['_hash']=this[_0x3241a9(0x2ec)][_0x3241a9(0x1cc)](),_0x6c7182;}});function _0x5329b9(_0x302f30,_0x5f4572,_0x383864,_0x1b47c3,_0x1ebc4b,_0x174f7b,_0x2a200d){var _0x2f5d42=_0x302f30+(_0x5f4572&_0x383864|~_0x5f4572&_0x1b47c3)+_0x1ebc4b+_0x2a200d;return(_0x2f5d42<<_0x174f7b|_0x2f5d42>>>0x20-_0x174f7b)+_0x5f4572;}function _0x5ef45e(_0x51f932,_0x1bc9c9,_0x218358,_0x52bdc6,_0x3b170a,_0x1a4307,_0x22ccc3){var _0x17901e=_0x51f932+(_0x1bc9c9&_0x52bdc6|_0x218358&~_0x52bdc6)+_0x3b170a+_0x22ccc3;return(_0x17901e<<_0x1a4307|_0x17901e>>>0x20-_0x1a4307)+_0x1bc9c9;}function _0x55bd19(_0x331df7,_0x3d31f8,_0x3b95b2,_0x46a7ee,_0x447790,_0x4b0725,_0xd84a39){var _0x56888c=_0x331df7+(_0x3d31f8^_0x3b95b2^_0x46a7ee)+_0x447790+_0xd84a39;return(_0x56888c<<_0x4b0725|_0x56888c>>>0x20-_0x4b0725)+_0x3d31f8;}function _0x3be933(_0x607c2a,_0x5184ba,_0x2c9808,_0x9d02da,_0x32854b,_0x4421ba,_0x298de1){var _0x22fd2c=_0x607c2a+(_0x2c9808^(_0x5184ba|~_0x9d02da))+_0x32854b+_0x298de1;return(_0x22fd2c<<_0x4421ba|_0x22fd2c>>>0x20-_0x4421ba)+_0x5184ba;}_0xedfe35[_0x2b4f51(0x1cb)]=_0x28128c[_0x2b4f51(0x3a3)](_0x4a05fe),_0xedfe35[_0x2b4f51(0x332)]=_0x28128c['_createHmacHelper'](_0x4a05fe);}(Math),_0x5ce2d6['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Mr=qe[_0xf95350(0x1b2)],ti;function $r(){var _0x148d73=_0xf95350;return ti||(ti=0x1,function(_0x77bd21,_0x44fba7){(function(_0x593211,_0xfcd647){var _0x3e2b36=_0x4451;_0x77bd21[_0x3e2b36(0x1b2)]=_0xfcd647(se());}(Mr,function(_0x5603ab){var _0x231010=_0x4451;return(function(){var _0x456036=_0x4451,_0x40213a=_0x5603ab,_0x4a30ff=_0x40213a[_0x456036(0x12b)],_0x45da4b=_0x4a30ff[_0x456036(0x388)],_0x25639c=_0x4a30ff[_0x456036(0x14c)],_0x387d9b=_0x40213a[_0x456036(0xae)],_0x598b73=[],_0x15b890=_0x387d9b[_0x456036(0x29e)]=_0x25639c['extend']({'_doReset':function(){var _0x3b5a17=_0x456036;this[_0x3b5a17(0x2ec)]=new _0x45da4b[(_0x3b5a17(0x11f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x19b9cd,_0x23b181){var _0x1b1632=_0x456036;for(var _0x124e78=this[_0x1b1632(0x2ec)]['words'],_0x403ffc=_0x124e78[0x0],_0x147b1c=_0x124e78[0x1],_0x18a7d3=_0x124e78[0x2],_0x1cb70e=_0x124e78[0x3],_0x3b9068=_0x124e78[0x4],_0x23a340=0x0;_0x23a340<0x50;_0x23a340++){if(_0x23a340<0x10)_0x598b73[_0x23a340]=_0x19b9cd[_0x23b181+_0x23a340]|0x0;else{var _0xad46e0=_0x598b73[_0x23a340-0x3]^_0x598b73[_0x23a340-0x8]^_0x598b73[_0x23a340-0xe]^_0x598b73[_0x23a340-0x10];_0x598b73[_0x23a340]=_0xad46e0<<0x1|_0xad46e0>>>0x1f;}var _0x182741=(_0x403ffc<<0x5|_0x403ffc>>>0x1b)+_0x3b9068+_0x598b73[_0x23a340];_0x23a340<0x14?_0x182741+=(_0x147b1c&_0x18a7d3|~_0x147b1c&_0x1cb70e)+0x5a827999:_0x23a340<0x28?_0x182741+=(_0x147b1c^_0x18a7d3^_0x1cb70e)+0x6ed9eba1:_0x23a340<0x3c?_0x182741+=(_0x147b1c&_0x18a7d3|_0x147b1c&_0x1cb70e|_0x18a7d3&_0x1cb70e)-0x70e44324:_0x182741+=(_0x147b1c^_0x18a7d3^_0x1cb70e)-0x359d3e2a,_0x3b9068=_0x1cb70e,_0x1cb70e=_0x18a7d3,_0x18a7d3=_0x147b1c<<0x1e|_0x147b1c>>>0x2,_0x147b1c=_0x403ffc,_0x403ffc=_0x182741;}_0x124e78[0x0]=_0x124e78[0x0]+_0x403ffc|0x0,_0x124e78[0x1]=_0x124e78[0x1]+_0x147b1c|0x0,_0x124e78[0x2]=_0x124e78[0x2]+_0x18a7d3|0x0,_0x124e78[0x3]=_0x124e78[0x3]+_0x1cb70e|0x0,_0x124e78[0x4]=_0x124e78[0x4]+_0x3b9068|0x0;},'_doFinalize':function(){var _0x5ae344=_0x456036,_0x57c742=this[_0x5ae344(0x19e)],_0x3a7206=_0x57c742['words'],_0x38b84c=this['_nDataBytes']*0x8,_0x217cec=_0x57c742[_0x5ae344(0x1e7)]*0x8;return _0x3a7206[_0x217cec>>>0x5]|=0x80<<0x18-_0x217cec%0x20,_0x3a7206[(_0x217cec+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ae344(0x120)](_0x38b84c/0x100000000),_0x3a7206[(_0x217cec+0x40>>>0x9<<0x4)+0xf]=_0x38b84c,_0x57c742[_0x5ae344(0x1e7)]=_0x3a7206[_0x5ae344(0x131)]*0x4,this[_0x5ae344(0x170)](),this[_0x5ae344(0x2ec)];},'clone':function(){var _0x5dd07f=_0x456036,_0x501a95=_0x25639c[_0x5dd07f(0x1cc)][_0x5dd07f(0x2d8)](this);return _0x501a95[_0x5dd07f(0x2ec)]=this[_0x5dd07f(0x2ec)]['clone'](),_0x501a95;}});_0x40213a[_0x456036(0x29e)]=_0x25639c[_0x456036(0x3a3)](_0x15b890),_0x40213a[_0x456036(0x319)]=_0x25639c[_0x456036(0xfe)](_0x15b890);}()),_0x5603ab[_0x231010(0x29e)];}));}(qe)),qe[_0x148d73(0x1b2)];}var ze={'exports':{}},Hr=ze[_0xf95350(0x1b2)],ii;function kr(){var _0x23f946=_0xf95350;return ii||(ii=0x1,function(_0x46b00e,_0x56f62b){(function(_0x3c2889,_0x4fc258){var _0x49b817=_0x4451;_0x46b00e[_0x49b817(0x1b2)]=_0x4fc258(se());}(Hr,function(_0x3a8e1){(function(){var _0x58c0df=_0x4451,_0xf9329a=_0x3a8e1,_0x670394=_0xf9329a[_0x58c0df(0x12b)],_0x2641da=_0x670394[_0x58c0df(0x325)],_0x3655c6=_0xf9329a[_0x58c0df(0x275)],_0x279385=_0x3655c6[_0x58c0df(0xd1)],_0x30e88c=_0xf9329a[_0x58c0df(0xae)];_0x30e88c[_0x58c0df(0x22a)]=_0x2641da[_0x58c0df(0xc5)]({'init':function(_0x5cdb73,_0x27522c){var _0x335d2a=_0x58c0df;_0x5cdb73=this['_hasher']=new _0x5cdb73[(_0x335d2a(0x11f))](),typeof _0x27522c==_0x335d2a(0x267)&&(_0x27522c=_0x279385[_0x335d2a(0x1a6)](_0x27522c));var _0x4f00fa=_0x5cdb73[_0x335d2a(0xab)],_0xa93478=_0x4f00fa*0x4;_0x27522c[_0x335d2a(0x1e7)]>_0xa93478&&(_0x27522c=_0x5cdb73['finalize'](_0x27522c)),_0x27522c['clamp']();for(var _0x35c66c=this[_0x335d2a(0x25b)]=_0x27522c['clone'](),_0x3c7df7=this[_0x335d2a(0x2ca)]=_0x27522c[_0x335d2a(0x1cc)](),_0x10fb0a=_0x35c66c['words'],_0xb95c75=_0x3c7df7[_0x335d2a(0x24d)],_0x3563ac=0x0;_0x3563ac<_0x4f00fa;_0x3563ac++)_0x10fb0a[_0x3563ac]^=0x5c5c5c5c,_0xb95c75[_0x3563ac]^=0x36363636;_0x35c66c['sigBytes']=_0x3c7df7[_0x335d2a(0x1e7)]=_0xa93478,this['reset']();},'reset':function(){var _0x1cb33d=_0x58c0df,_0x360bdf=this[_0x1cb33d(0x31d)];_0x360bdf[_0x1cb33d(0x1bf)](),_0x360bdf[_0x1cb33d(0x1c6)](this[_0x1cb33d(0x2ca)]);},'update':function(_0x360948){var _0x30d5c6=_0x58c0df;return this[_0x30d5c6(0x31d)][_0x30d5c6(0x1c6)](_0x360948),this;},'finalize':function(_0x11edeb){var _0x5869e2=_0x58c0df,_0x9f972d=this[_0x5869e2(0x31d)],_0x34aa05=_0x9f972d[_0x5869e2(0x337)](_0x11edeb);_0x9f972d[_0x5869e2(0x1bf)]();var _0x22e090=_0x9f972d['finalize'](this['_oKey']['clone']()[_0x5869e2(0x241)](_0x34aa05));return _0x22e090;}});}());}));}(ze)),ze[_0x23f946(0x1b2)];}var jr=Ye[_0xf95350(0x1b2)],si;function Ui(){var _0x22e9bf=_0xf95350;return si||(si=0x1,function(_0x5004c9,_0x251662){(function(_0x46f7ab,_0x56e553,_0xfc0016){var _0xc0474=_0x4451;_0x5004c9[_0xc0474(0x1b2)]=_0x56e553(se(),$r(),kr());}(jr,function(_0x17dc54){var _0x8e679b=_0x4451;return(function(){var _0x462f2c=_0x4451,_0x13d8f4=_0x17dc54,_0x73ca46=_0x13d8f4[_0x462f2c(0x12b)],_0x46f2ce=_0x73ca46[_0x462f2c(0x325)],_0xf2c283=_0x73ca46[_0x462f2c(0x388)],_0x53812f=_0x13d8f4['algo'],_0x28afc4=_0x53812f['MD5'],_0x4a2350=_0x53812f[_0x462f2c(0x236)]=_0x46f2ce[_0x462f2c(0xc5)]({'cfg':_0x46f2ce['extend']({'keySize':0x80/0x20,'hasher':_0x28afc4,'iterations':0x1}),'init':function(_0x4353be){var _0x3268ff=_0x462f2c;this[_0x3268ff(0x351)]=this[_0x3268ff(0x351)][_0x3268ff(0xc5)](_0x4353be);},'compute':function(_0x249ec3,_0x2de2ee){var _0x3070d0=_0x462f2c;for(var _0x71bf12,_0x383654=this[_0x3070d0(0x351)],_0x25e76b=_0x383654['hasher'][_0x3070d0(0x18c)](),_0x3e8ad4=_0xf2c283[_0x3070d0(0x18c)](),_0x5ea902=_0x3e8ad4['words'],_0x4be8fe=_0x383654[_0x3070d0(0x1ae)],_0x40034a=_0x383654['iterations'];_0x5ea902[_0x3070d0(0x131)]<_0x4be8fe;){_0x71bf12&&_0x25e76b[_0x3070d0(0x1c6)](_0x71bf12),_0x71bf12=_0x25e76b[_0x3070d0(0x1c6)](_0x249ec3)[_0x3070d0(0x337)](_0x2de2ee),_0x25e76b[_0x3070d0(0x1bf)]();for(var _0x19a703=0x1;_0x19a703<_0x40034a;_0x19a703++)_0x71bf12=_0x25e76b['finalize'](_0x71bf12),_0x25e76b[_0x3070d0(0x1bf)]();_0x3e8ad4['concat'](_0x71bf12);}return _0x3e8ad4[_0x3070d0(0x1e7)]=_0x4be8fe*0x4,_0x3e8ad4;}});_0x13d8f4[_0x462f2c(0x236)]=function(_0x1935c7,_0x58c644,_0x14356d){var _0x1afdab=_0x462f2c;return _0x4a2350[_0x1afdab(0x18c)](_0x14356d)['compute'](_0x1935c7,_0x58c644);};}()),_0x17dc54[_0x8e679b(0x236)];}));}(Ye)),Ye[_0x22e9bf(0x1b2)];}var Je={'exports':{}},Br=Je['exports'],ri;function Ai(){var _0x5e0b64=_0xf95350;return ri||(ri=0x1,function(_0x516b2a,_0x51a0dc){(function(_0x481cbd,_0x4d559f,_0x28113e){var _0x10b8f5=_0x4451;_0x516b2a[_0x10b8f5(0x1b2)]=_0x4d559f(se(),Ui());}(Br,function(_0x4c6ee9){var _0x3fd7a4=_0x4451;_0x4c6ee9[_0x3fd7a4(0x12b)][_0x3fd7a4(0xf5)]||function(_0x393a30){var _0x506043=_0x3fd7a4,_0x55e418=_0x4c6ee9,_0x513f87=_0x55e418[_0x506043(0x12b)],_0x39d1d5=_0x513f87[_0x506043(0x325)],_0x5a5d2d=_0x513f87[_0x506043(0x388)],_0x4d20b2=_0x513f87[_0x506043(0x1c3)],_0x238e6d=_0x55e418[_0x506043(0x275)];_0x238e6d['Utf8'];var _0x2e77da=_0x238e6d['Base64'],_0x1aa531=_0x55e418['algo'],_0x302f44=_0x1aa531[_0x506043(0x236)],_0x1983ad=_0x513f87[_0x506043(0xf5)]=_0x4d20b2[_0x506043(0xc5)]({'cfg':_0x39d1d5[_0x506043(0xc5)](),'createEncryptor':function(_0x361c18,_0x1264c9){var _0x1d1fcf=_0x506043;return this[_0x1d1fcf(0x18c)](this['_ENC_XFORM_MODE'],_0x361c18,_0x1264c9);},'createDecryptor':function(_0x137838,_0x91cc75){return this['create'](this['_DEC_XFORM_MODE'],_0x137838,_0x91cc75);},'init':function(_0xddcd8,_0x1f166d,_0x121451){var _0x2dfc9f=_0x506043;this[_0x2dfc9f(0x351)]=this[_0x2dfc9f(0x351)][_0x2dfc9f(0xc5)](_0x121451),this[_0x2dfc9f(0x139)]=_0xddcd8,this[_0x2dfc9f(0x2c3)]=_0x1f166d,this[_0x2dfc9f(0x1bf)]();},'reset':function(){var _0x16b4e3=_0x506043;_0x4d20b2[_0x16b4e3(0x1bf)]['call'](this),this[_0x16b4e3(0x101)]();},'process':function(_0x22b26c){var _0x2e5fac=_0x506043;return this['_append'](_0x22b26c),this[_0x2e5fac(0x170)]();},'finalize':function(_0x460657){var _0x212153=_0x506043;_0x460657&&this[_0x212153(0xb2)](_0x460657);var _0x58cca9=this['_doFinalize']();return _0x58cca9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x100b4f(_0x18d2dc){return typeof _0x18d2dc=='string'?_0x47bd57:_0x42eedf;}return function(_0x941c35){return{'encrypt':function(_0x566483,_0x3c7b5f,_0x2f9f15){var _0x5b0736=_0x4451;return _0x100b4f(_0x3c7b5f)[_0x5b0736(0x1ec)](_0x941c35,_0x566483,_0x3c7b5f,_0x2f9f15);},'decrypt':function(_0x1fb842,_0x460ec0,_0x3430d6){var _0x4ee30e=_0x4451;return _0x100b4f(_0x460ec0)[_0x4ee30e(0x303)](_0x941c35,_0x1fb842,_0x460ec0,_0x3430d6);}};};}())});_0x513f87[_0x506043(0x30d)]=_0x1983ad['extend']({'_doFinalize':function(){var _0x4c419e=_0x506043,_0x2000b0=this[_0x4c419e(0x170)](!0x0);return _0x2000b0;},'blockSize':0x1});var _0x10f11d=_0x55e418[_0x506043(0x174)]={},_0x4d3946=_0x513f87[_0x506043(0x23a)]=_0x39d1d5['extend']({'createEncryptor':function(_0x4a3ecf,_0x146685){var _0xfad742=_0x506043;return this[_0xfad742(0x166)][_0xfad742(0x18c)](_0x4a3ecf,_0x146685);},'createDecryptor':function(_0x13f59f,_0x14774d){var _0x41dd6e=_0x506043;return this[_0x41dd6e(0x10e)][_0x41dd6e(0x18c)](_0x13f59f,_0x14774d);},'init':function(_0x40d1cc,_0x57c981){var _0x502564=_0x506043;this[_0x502564(0x113)]=_0x40d1cc,this[_0x502564(0x22b)]=_0x57c981;}}),_0x4e42eb=_0x10f11d[_0x506043(0x374)]=(function(){var _0x1ff126=_0x506043,_0x14a4db=_0x4d3946[_0x1ff126(0xc5)]();_0x14a4db[_0x1ff126(0x166)]=_0x14a4db[_0x1ff126(0xc5)]({'processBlock':function(_0x1f3260,_0x4f8934){var _0x183f79=_0x1ff126,_0x232e40=this[_0x183f79(0x113)],_0x2a3c81=_0x232e40['blockSize'];_0x40a448[_0x183f79(0x2d8)](this,_0x1f3260,_0x4f8934,_0x2a3c81),_0x232e40['encryptBlock'](_0x1f3260,_0x4f8934),this[_0x183f79(0x222)]=_0x1f3260[_0x183f79(0x2dd)](_0x4f8934,_0x4f8934+_0x2a3c81);}}),_0x14a4db[_0x1ff126(0x10e)]=_0x14a4db['extend']({'processBlock':function(_0x3a93a0,_0x906afb){var _0x2ff0b5=_0x1ff126,_0x5c9045=this[_0x2ff0b5(0x113)],_0x2f3a93=_0x5c9045['blockSize'],_0x26228f=_0x3a93a0[_0x2ff0b5(0x2dd)](_0x906afb,_0x906afb+_0x2f3a93);_0x5c9045[_0x2ff0b5(0x1c2)](_0x3a93a0,_0x906afb),_0x40a448['call'](this,_0x3a93a0,_0x906afb,_0x2f3a93),this['_prevBlock']=_0x26228f;}});function _0x40a448(_0x479101,_0x4dfd60,_0x230e6a){var _0x39eda8=_0x1ff126,_0x3df12a,_0x577ec=this[_0x39eda8(0x22b)];_0x577ec?(_0x3df12a=_0x577ec,this[_0x39eda8(0x22b)]=_0x393a30):_0x3df12a=this[_0x39eda8(0x222)];for(var _0x323466=0x0;_0x323466<_0x230e6a;_0x323466++)_0x479101[_0x4dfd60+_0x323466]^=_0x3df12a[_0x323466];}return _0x14a4db;}()),_0x120254=_0x55e418[_0x506043(0x30b)]={},_0xeba553=_0x120254['Pkcs7']={'pad':function(_0x256758,_0x34adbd){var _0x2d083b=_0x506043;for(var _0xfdf605=_0x34adbd*0x4,_0x2f58eb=_0xfdf605-_0x256758[_0x2d083b(0x1e7)]%_0xfdf605,_0x3c3ee8=_0x2f58eb<<0x18|_0x2f58eb<<0x10|_0x2f58eb<<0x8|_0x2f58eb,_0x1abdab=[],_0x520634=0x0;_0x520634<_0x2f58eb;_0x520634+=0x4)_0x1abdab[_0x2d083b(0x2e0)](_0x3c3ee8);var _0x3c39a6=_0x5a5d2d[_0x2d083b(0x18c)](_0x1abdab,_0x2f58eb);_0x256758[_0x2d083b(0x241)](_0x3c39a6);},'unpad':function(_0x409f8b){var _0x47fbf7=_0x506043,_0x45a6be=_0x409f8b[_0x47fbf7(0x24d)][_0x409f8b['sigBytes']-0x1>>>0x2]&0xff;_0x409f8b[_0x47fbf7(0x1e7)]-=_0x45a6be;}};_0x513f87[_0x506043(0x1df)]=_0x1983ad[_0x506043(0xc5)]({'cfg':_0x1983ad[_0x506043(0x351)][_0x506043(0xc5)]({'mode':_0x4e42eb,'padding':_0xeba553}),'reset':function(){var _0x35dd1f=_0x506043,_0x1063ab;_0x1983ad['reset']['call'](this);var _0x1b126f=this['cfg'],_0xa032bf=_0x1b126f['iv'],_0x1e6473=_0x1b126f[_0x35dd1f(0x174)];this['_xformMode']==this[_0x35dd1f(0xcf)]?_0x1063ab=_0x1e6473[_0x35dd1f(0x1e6)]:(_0x1063ab=_0x1e6473['createDecryptor'],this['_minBufferSize']=0x1),this[_0x35dd1f(0x35e)]&&this['_mode'][_0x35dd1f(0xc4)]==_0x1063ab?this[_0x35dd1f(0x35e)][_0x35dd1f(0x11f)](this,_0xa032bf&&_0xa032bf['words']):(this[_0x35dd1f(0x35e)]=_0x1063ab['call'](_0x1e6473,this,_0xa032bf&&_0xa032bf[_0x35dd1f(0x24d)]),this['_mode'][_0x35dd1f(0xc4)]=_0x1063ab);},'_doProcessBlock':function(_0x370906,_0x1905a6){var _0x3692d1=_0x506043;this[_0x3692d1(0x35e)][_0x3692d1(0x138)](_0x370906,_0x1905a6);},'_doFinalize':function(){var _0x2e48f3=_0x506043,_0x10a8ce,_0x2decd6=this[_0x2e48f3(0x351)][_0x2e48f3(0x195)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x2decd6['pad'](this[_0x2e48f3(0x19e)],this['blockSize']),_0x10a8ce=this[_0x2e48f3(0x170)](!0x0)):(_0x10a8ce=this[_0x2e48f3(0x170)](!0x0),_0x2decd6[_0x2e48f3(0x1f4)](_0x10a8ce)),_0x10a8ce;},'blockSize':0x80/0x20});var _0x338966=_0x513f87['CipherParams']=_0x39d1d5[_0x506043(0xc5)]({'init':function(_0x93825c){var _0x36b540=_0x506043;this[_0x36b540(0x38a)](_0x93825c);},'toString':function(_0x44be50){var _0x57184c=_0x506043;return(_0x44be50||this['formatter'])[_0x57184c(0x1f2)](this);}}),_0x1efee0=_0x55e418['format']={},_0x1eab9e=_0x1efee0[_0x506043(0x310)]={'stringify':function(_0x199370){var _0x2681d4=_0x506043,_0x36dffb,_0x3c3413=_0x199370['ciphertext'],_0x3f9928=_0x199370[_0x2681d4(0x238)];return _0x3f9928?_0x36dffb=_0x5a5d2d['create']([0x53616c74,0x65645f5f])['concat'](_0x3f9928)[_0x2681d4(0x241)](_0x3c3413):_0x36dffb=_0x3c3413,_0x36dffb[_0x2681d4(0x1e3)](_0x2e77da);},'parse':function(_0x39a9a5){var _0x3a5210=_0x506043,_0x3f06f3,_0x2238db=_0x2e77da[_0x3a5210(0x1a6)](_0x39a9a5),_0xb772c6=_0x2238db[_0x3a5210(0x24d)];return _0xb772c6[0x0]==0x53616c74&&_0xb772c6[0x1]==0x65645f5f&&(_0x3f06f3=_0x5a5d2d[_0x3a5210(0x18c)](_0xb772c6[_0x3a5210(0x2dd)](0x2,0x4)),_0xb772c6[_0x3a5210(0x23f)](0x0,0x4),_0x2238db[_0x3a5210(0x1e7)]-=0x10),_0x338966[_0x3a5210(0x18c)]({'ciphertext':_0x2238db,'salt':_0x3f06f3});}},_0x42eedf=_0x513f87[_0x506043(0xe0)]=_0x39d1d5[_0x506043(0xc5)]({'cfg':_0x39d1d5['extend']({'format':_0x1eab9e}),'encrypt':function(_0x143522,_0x3e43cc,_0x5f1824,_0x5e620a){var _0x15afe6=_0x506043;_0x5e620a=this[_0x15afe6(0x351)]['extend'](_0x5e620a);var _0x1bdd8c=_0x143522[_0x15afe6(0x1e6)](_0x5f1824,_0x5e620a),_0x223a49=_0x1bdd8c[_0x15afe6(0x337)](_0x3e43cc),_0x100edc=_0x1bdd8c[_0x15afe6(0x351)];return _0x338966[_0x15afe6(0x18c)]({'ciphertext':_0x223a49,'key':_0x5f1824,'iv':_0x100edc['iv'],'algorithm':_0x143522,'mode':_0x100edc['mode'],'padding':_0x100edc['padding'],'blockSize':_0x143522[_0x15afe6(0xab)],'formatter':_0x5e620a[_0x15afe6(0xac)]});},'decrypt':function(_0x356304,_0x3b3414,_0x1fdc4d,_0xb9af4e){var _0x3cf067=_0x506043;_0xb9af4e=this[_0x3cf067(0x351)][_0x3cf067(0xc5)](_0xb9af4e),_0x3b3414=this[_0x3cf067(0x2a6)](_0x3b3414,_0xb9af4e[_0x3cf067(0xac)]);var _0x5c35a6=_0x356304[_0x3cf067(0x119)](_0x1fdc4d,_0xb9af4e)[_0x3cf067(0x337)](_0x3b3414[_0x3cf067(0x194)]);return _0x5c35a6;},'_parse':function(_0x3829cc,_0x1b384f){var _0x36d7a2=_0x506043;return typeof _0x3829cc==_0x36d7a2(0x267)?_0x1b384f[_0x36d7a2(0x1a6)](_0x3829cc,this):_0x3829cc;}}),_0x4f936a=_0x55e418[_0x506043(0x173)]={},_0x4db37d=_0x4f936a['OpenSSL']={'execute':function(_0x53b3dc,_0x3e2d44,_0x54ef8c,_0x1f4baf,_0x577f48){var _0x268da9=_0x506043;if(_0x1f4baf||(_0x1f4baf=_0x5a5d2d[_0x268da9(0x220)](0x40/0x8)),_0x577f48)var _0x586775=_0x302f44[_0x268da9(0x18c)]({'keySize':_0x3e2d44+_0x54ef8c,'hasher':_0x577f48})['compute'](_0x53b3dc,_0x1f4baf);else var _0x586775=_0x302f44[_0x268da9(0x18c)]({'keySize':_0x3e2d44+_0x54ef8c})['compute'](_0x53b3dc,_0x1f4baf);var _0x2e7d65=_0x5a5d2d[_0x268da9(0x18c)](_0x586775[_0x268da9(0x24d)][_0x268da9(0x2dd)](_0x3e2d44),_0x54ef8c*0x4);return _0x586775['sigBytes']=_0x3e2d44*0x4,_0x338966['create']({'key':_0x586775,'iv':_0x2e7d65,'salt':_0x1f4baf});}},_0x47bd57=_0x513f87[_0x506043(0x1de)]=_0x42eedf[_0x506043(0xc5)]({'cfg':_0x42eedf[_0x506043(0x351)]['extend']({'kdf':_0x4db37d}),'encrypt':function(_0x247204,_0xf0aca0,_0x3a62e1,_0x48eccd){var _0x28eb67=_0x506043;_0x48eccd=this[_0x28eb67(0x351)][_0x28eb67(0xc5)](_0x48eccd);var _0x5a89e7=_0x48eccd[_0x28eb67(0x173)]['execute'](_0x3a62e1,_0x247204[_0x28eb67(0x1ae)],_0x247204[_0x28eb67(0x167)],_0x48eccd[_0x28eb67(0x238)],_0x48eccd[_0x28eb67(0x1f0)]);_0x48eccd['iv']=_0x5a89e7['iv'];var _0x4a48a1=_0x42eedf[_0x28eb67(0x1ec)][_0x28eb67(0x2d8)](this,_0x247204,_0xf0aca0,_0x5a89e7[_0x28eb67(0x334)],_0x48eccd);return _0x4a48a1[_0x28eb67(0x38a)](_0x5a89e7),_0x4a48a1;},'decrypt':function(_0x141e64,_0x106414,_0x32bacb,_0xa80c5e){var _0x31d1bd=_0x506043;_0xa80c5e=this[_0x31d1bd(0x351)]['extend'](_0xa80c5e),_0x106414=this['_parse'](_0x106414,_0xa80c5e[_0x31d1bd(0xac)]);var _0x1e6fcc=_0xa80c5e[_0x31d1bd(0x173)][_0x31d1bd(0x2d2)](_0x32bacb,_0x141e64[_0x31d1bd(0x1ae)],_0x141e64[_0x31d1bd(0x167)],_0x106414[_0x31d1bd(0x238)],_0xa80c5e[_0x31d1bd(0x1f0)]);_0xa80c5e['iv']=_0x1e6fcc['iv'];var _0x1a0a9f=_0x42eedf[_0x31d1bd(0x303)]['call'](this,_0x141e64,_0x106414,_0x1e6fcc[_0x31d1bd(0x334)],_0xa80c5e);return _0x1a0a9f;}});}();}));}(Je)),Je[_0x5e0b64(0x1b2)];}var Fr=Ve[_0xf95350(0x1b2)],ni;function Vr(){var _0x1c33a7=_0xf95350;return ni||(ni=0x1,function(_0x1d77e3,_0xd5febb){(function(_0xf34aad,_0x34dd26,_0x142249){var _0x3e1cb1=_0x4451;_0x1d77e3[_0x3e1cb1(0x1b2)]=_0x34dd26(se(),wi(),Lr(),Ui(),Ai());}(Fr,function(_0xc60f5b){var _0x102fa1=_0x4451;return(function(){var _0x577bd2=_0x4451,_0x546432=_0xc60f5b,_0x4f1d81=_0x546432[_0x577bd2(0x12b)],_0x36e9cd=_0x4f1d81[_0x577bd2(0x1df)],_0x3ddd04=_0x546432[_0x577bd2(0xae)],_0x2e3955=[],_0x1f8262=[],_0xa11aac=[],_0x2d2d0c=[],_0x31c030=[],_0x2c55cc=[],_0x59360b=[],_0x872753=[],_0x19f7d2=[],_0x485a56=[];(function(){for(var _0x2badf8=[],_0x43c381=0x0;_0x43c381<0x100;_0x43c381++)_0x43c381<0x80?_0x2badf8[_0x43c381]=_0x43c381<<0x1:_0x2badf8[_0x43c381]=_0x43c381<<0x1^0x11b;for(var _0x319d66=0x0,_0x416d1c=0x0,_0x43c381=0x0;_0x43c381<0x100;_0x43c381++){var _0x3335e2=_0x416d1c^_0x416d1c<<0x1^_0x416d1c<<0x2^_0x416d1c<<0x3^_0x416d1c<<0x4;_0x3335e2=_0x3335e2>>>0x8^_0x3335e2&0xff^0x63,_0x2e3955[_0x319d66]=_0x3335e2,_0x1f8262[_0x3335e2]=_0x319d66;var _0x4dc6de=_0x2badf8[_0x319d66],_0x141788=_0x2badf8[_0x4dc6de],_0x9dca36=_0x2badf8[_0x141788],_0x4a5918=_0x2badf8[_0x3335e2]*0x101^_0x3335e2*0x1010100;_0xa11aac[_0x319d66]=_0x4a5918<<0x18|_0x4a5918>>>0x8,_0x2d2d0c[_0x319d66]=_0x4a5918<<0x10|_0x4a5918>>>0x10,_0x31c030[_0x319d66]=_0x4a5918<<0x8|_0x4a5918>>>0x18,_0x2c55cc[_0x319d66]=_0x4a5918;var _0x4a5918=_0x9dca36*0x1010101^_0x141788*0x10001^_0x4dc6de*0x101^_0x319d66*0x1010100;_0x59360b[_0x3335e2]=_0x4a5918<<0x18|_0x4a5918>>>0x8,_0x872753[_0x3335e2]=_0x4a5918<<0x10|_0x4a5918>>>0x10,_0x19f7d2[_0x3335e2]=_0x4a5918<<0x8|_0x4a5918>>>0x18,_0x485a56[_0x3335e2]=_0x4a5918,_0x319d66?(_0x319d66=_0x4dc6de^_0x2badf8[_0x2badf8[_0x2badf8[_0x9dca36^_0x4dc6de]]],_0x416d1c^=_0x2badf8[_0x2badf8[_0x416d1c]]):_0x319d66=_0x416d1c=0x1;}}());var _0x4f7661=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29c593=_0x3ddd04['AES']=_0x36e9cd['extend']({'_doReset':function(){var _0xc20602=_0x577bd2,_0x123411;if(!(this[_0xc20602(0x124)]&&this[_0xc20602(0x2f2)]===this[_0xc20602(0x2c3)])){for(var _0x3909da=this['_keyPriorReset']=this[_0xc20602(0x2c3)],_0x54d73f=_0x3909da[_0xc20602(0x24d)],_0xcb5df5=_0x3909da[_0xc20602(0x1e7)]/0x4,_0x4cd858=this[_0xc20602(0x124)]=_0xcb5df5+0x6,_0x1294c5=(_0x4cd858+0x1)*0x4,_0x44bee2=this['_keySchedule']=[],_0xc0d446=0x0;_0xc0d446<_0x1294c5;_0xc0d446++)_0xc0d446<_0xcb5df5?_0x44bee2[_0xc0d446]=_0x54d73f[_0xc0d446]:(_0x123411=_0x44bee2[_0xc0d446-0x1],_0xc0d446%_0xcb5df5?_0xcb5df5>0x6&&_0xc0d446%_0xcb5df5==0x4&&(_0x123411=_0x2e3955[_0x123411>>>0x18]<<0x18|_0x2e3955[_0x123411>>>0x10&0xff]<<0x10|_0x2e3955[_0x123411>>>0x8&0xff]<<0x8|_0x2e3955[_0x123411&0xff]):(_0x123411=_0x123411<<0x8|_0x123411>>>0x18,_0x123411=_0x2e3955[_0x123411>>>0x18]<<0x18|_0x2e3955[_0x123411>>>0x10&0xff]<<0x10|_0x2e3955[_0x123411>>>0x8&0xff]<<0x8|_0x2e3955[_0x123411&0xff],_0x123411^=_0x4f7661[_0xc0d446/_0xcb5df5|0x0]<<0x18),_0x44bee2[_0xc0d446]=_0x44bee2[_0xc0d446-_0xcb5df5]^_0x123411);for(var _0x3e4bdc=this['_invKeySchedule']=[],_0x3db61b=0x0;_0x3db61b<_0x1294c5;_0x3db61b++){var _0xc0d446=_0x1294c5-_0x3db61b;if(_0x3db61b%0x4)var _0x123411=_0x44bee2[_0xc0d446];else var _0x123411=_0x44bee2[_0xc0d446-0x4];_0x3db61b<0x4||_0xc0d446<=0x4?_0x3e4bdc[_0x3db61b]=_0x123411:_0x3e4bdc[_0x3db61b]=_0x59360b[_0x2e3955[_0x123411>>>0x18]]^_0x872753[_0x2e3955[_0x123411>>>0x10&0xff]]^_0x19f7d2[_0x2e3955[_0x123411>>>0x8&0xff]]^_0x485a56[_0x2e3955[_0x123411&0xff]];}}},'encryptBlock':function(_0x2fc0d6,_0x3eeca4){var _0x32eaf9=_0x577bd2;this['_doCryptBlock'](_0x2fc0d6,_0x3eeca4,this[_0x32eaf9(0x27d)],_0xa11aac,_0x2d2d0c,_0x31c030,_0x2c55cc,_0x2e3955);},'decryptBlock':function(_0x2dbea0,_0x1581e6){var _0x1a5baf=_0x577bd2,_0x21c168=_0x2dbea0[_0x1581e6+0x1];_0x2dbea0[_0x1581e6+0x1]=_0x2dbea0[_0x1581e6+0x3],_0x2dbea0[_0x1581e6+0x3]=_0x21c168,this[_0x1a5baf(0x295)](_0x2dbea0,_0x1581e6,this['_invKeySchedule'],_0x59360b,_0x872753,_0x19f7d2,_0x485a56,_0x1f8262);var _0x21c168=_0x2dbea0[_0x1581e6+0x1];_0x2dbea0[_0x1581e6+0x1]=_0x2dbea0[_0x1581e6+0x3],_0x2dbea0[_0x1581e6+0x3]=_0x21c168;},'_doCryptBlock':function(_0x121d5a,_0x4ee53f,_0x8a64dd,_0x60a52e,_0x407c31,_0x768768,_0x2ccbe8,_0x4ba8a0){var _0x1eed79=_0x577bd2;for(var _0x4c9b10=this[_0x1eed79(0x124)],_0x256f50=_0x121d5a[_0x4ee53f]^_0x8a64dd[0x0],_0x428fe8=_0x121d5a[_0x4ee53f+0x1]^_0x8a64dd[0x1],_0x5e6356=_0x121d5a[_0x4ee53f+0x2]^_0x8a64dd[0x2],_0x51a187=_0x121d5a[_0x4ee53f+0x3]^_0x8a64dd[0x3],_0x23ce48=0x4,_0x3b25bb=0x1;_0x3b25bb<_0x4c9b10;_0x3b25bb++){var _0x2c25c7=_0x60a52e[_0x256f50>>>0x18]^_0x407c31[_0x428fe8>>>0x10&0xff]^_0x768768[_0x5e6356>>>0x8&0xff]^_0x2ccbe8[_0x51a187&0xff]^_0x8a64dd[_0x23ce48++],_0x2e87d9=_0x60a52e[_0x428fe8>>>0x18]^_0x407c31[_0x5e6356>>>0x10&0xff]^_0x768768[_0x51a187>>>0x8&0xff]^_0x2ccbe8[_0x256f50&0xff]^_0x8a64dd[_0x23ce48++],_0x358d06=_0x60a52e[_0x5e6356>>>0x18]^_0x407c31[_0x51a187>>>0x10&0xff]^_0x768768[_0x256f50>>>0x8&0xff]^_0x2ccbe8[_0x428fe8&0xff]^_0x8a64dd[_0x23ce48++],_0x4b7bff=_0x60a52e[_0x51a187>>>0x18]^_0x407c31[_0x256f50>>>0x10&0xff]^_0x768768[_0x428fe8>>>0x8&0xff]^_0x2ccbe8[_0x5e6356&0xff]^_0x8a64dd[_0x23ce48++];_0x256f50=_0x2c25c7,_0x428fe8=_0x2e87d9,_0x5e6356=_0x358d06,_0x51a187=_0x4b7bff;}var _0x2c25c7=(_0x4ba8a0[_0x256f50>>>0x18]<<0x18|_0x4ba8a0[_0x428fe8>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x5e6356>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x51a187&0xff])^_0x8a64dd[_0x23ce48++],_0x2e87d9=(_0x4ba8a0[_0x428fe8>>>0x18]<<0x18|_0x4ba8a0[_0x5e6356>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x51a187>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x256f50&0xff])^_0x8a64dd[_0x23ce48++],_0x358d06=(_0x4ba8a0[_0x5e6356>>>0x18]<<0x18|_0x4ba8a0[_0x51a187>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x256f50>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x428fe8&0xff])^_0x8a64dd[_0x23ce48++],_0x4b7bff=(_0x4ba8a0[_0x51a187>>>0x18]<<0x18|_0x4ba8a0[_0x256f50>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x428fe8>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x5e6356&0xff])^_0x8a64dd[_0x23ce48++];_0x121d5a[_0x4ee53f]=_0x2c25c7,_0x121d5a[_0x4ee53f+0x1]=_0x2e87d9,_0x121d5a[_0x4ee53f+0x2]=_0x358d06,_0x121d5a[_0x4ee53f+0x3]=_0x4b7bff;},'keySize':0x100/0x20});_0x546432[_0x577bd2(0x198)]=_0x36e9cd[_0x577bd2(0x3a3)](_0x29c593);}()),_0xc60f5b[_0x102fa1(0x198)];}));}(Ve)),Ve[_0x1c33a7(0x1b2)];}var Gr=Vr();const Wr=ke(Gr);var Kr=wi();const oi=ke(Kr);var Xe={'exports':{}},Yr=Xe[_0xf95350(0x1b2)],ai;function qr(){var _0x33fd67=_0xf95350;return ai||(ai=0x1,function(_0x2089a9,_0x42c417){(function(_0x515106,_0x338514){var _0x3c741b=_0x4451;_0x2089a9[_0x3c741b(0x1b2)]=_0x338514(se());}(Yr,function(_0xf74574){return _0xf74574['enc']['Utf8'];}));}(Xe)),Xe[_0x33fd67(0x1b2)];}var zr=qr();const Jr=ke(zr);var Ze={'exports':{}},Xr=Ze[_0xf95350(0x1b2)],ci;function Zr(){var _0x93a99d=_0xf95350;return ci||(ci=0x1,function(_0x2da5f6,_0x40c57b){(function(_0x4732cc,_0x59d88a){_0x2da5f6['exports']=_0x59d88a(se());}(Xr,function(_0x290e44){var _0x5e9889=_0x4451;return(function(){var _0x3d9c4c=_0x4451;if(typeof ArrayBuffer==_0x3d9c4c(0x2c0)){var _0x2cf140=_0x290e44,_0x382437=_0x2cf140[_0x3d9c4c(0x12b)],_0x3139a9=_0x382437[_0x3d9c4c(0x388)],_0x1465d4=_0x3139a9[_0x3d9c4c(0x11f)],_0x3d4d9d=_0x3139a9[_0x3d9c4c(0x11f)]=function(_0x118cf3){var _0x13808f=_0x3d9c4c;if(_0x118cf3 instanceof ArrayBuffer&&(_0x118cf3=new Uint8Array(_0x118cf3)),(_0x118cf3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x118cf3 instanceof Uint8ClampedArray||_0x118cf3 instanceof Int16Array||_0x118cf3 instanceof Uint16Array||_0x118cf3 instanceof Int32Array||_0x118cf3 instanceof Uint32Array||_0x118cf3 instanceof Float32Array||_0x118cf3 instanceof Float64Array)&&(_0x118cf3=new Uint8Array(_0x118cf3[_0x13808f(0x324)],_0x118cf3[_0x13808f(0x1a8)],_0x118cf3[_0x13808f(0xcb)])),_0x118cf3 instanceof Uint8Array){for(var _0x3ab0f9=_0x118cf3[_0x13808f(0xcb)],_0xf1860a=[],_0x3f375b=0x0;_0x3f375b<_0x3ab0f9;_0x3f375b++)_0xf1860a[_0x3f375b>>>0x2]|=_0x118cf3[_0x3f375b]<<0x18-_0x3f375b%0x4*0x8;_0x1465d4['call'](this,_0xf1860a,_0x3ab0f9);}else _0x1465d4[_0x13808f(0x279)](this,arguments);};_0x3d4d9d[_0x3d9c4c(0xc8)]=_0x3139a9;}}()),_0x290e44['lib'][_0x5e9889(0x388)];}));}(Ze)),Ze[_0x93a99d(0x1b2)];}var Qr=Zr();const en=ke(Qr);var Qe={'exports':{}},tn=Qe[_0xf95350(0x1b2)],hi;function sn(){var _0x5766b2=_0xf95350;return hi||(hi=0x1,function(_0x12ee0b,_0x4613cf){(function(_0x3cee87,_0x5de877,_0x337c93){var _0x4e4302=_0x4451;_0x12ee0b[_0x4e4302(0x1b2)]=_0x5de877(se(),Ai());}(tn,function(_0x2b77b1){var _0x7a6e33=_0x4451;return _0x2b77b1[_0x7a6e33(0x30b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2b77b1[_0x7a6e33(0x30b)][_0x7a6e33(0x226)];}));}(Qe)),Qe[_0x5766b2(0x1b2)];}var rn=sn();const nn=ke(rn);function on(_0x6b4ad5,_0x5bb07f){var _0x466440=_0xf95350;const _0x57f155=_0x5bb07f-_0x6b4ad5[_0x466440(0x131)]%_0x5bb07f,_0x245791=String[_0x466440(0x32a)](_0x57f155)['repeat'](_0x57f155);return _0x6b4ad5+_0x245791;}function an(_0x46fc1b,_0x1b64d9){var _0x57a233=_0xf95350;const _0xf7ada6=en[_0x57a233(0x220)](0x10),_0xf16745=on(_0x46fc1b,0x10),_0x5004e9=Wr[_0x57a233(0x1ec)](Jr[_0x57a233(0x1a6)](_0xf16745),oi['parse'](_0x1b64d9),{'iv':_0xf7ada6,'padding':nn});return _0xf7ada6[_0x57a233(0x241)](_0x5004e9[_0x57a233(0x194)])[_0x57a233(0x1e3)](oi);}function cn(){var _0x532f1f=_0xf95350;const _0x29c5af=_0x11d3a1()['__Key__'];if(_0x29c5af){const _0x238245={'time':Math['floor'](Date[_0x532f1f(0x109)]()/0x3e8),'domain':location[_0x532f1f(0x1ea)]};return an(JSON['stringify'](_0x238245),_0x29c5af);}}var hn=Object[_0xf95350(0x35a)],_n=Object[_0xf95350(0x1b5)],ln=(_0x29f81d,_0x46fe67,_0x1c0a10,_0x1ef8a0)=>{for(var _0x2de176=_0x1ef8a0>0x1?void 0x0:_0x1ef8a0?_n(_0x46fe67,_0x1c0a10):_0x46fe67,_0x3b645b=_0x29f81d['length']-0x1,_0x579990;_0x3b645b>=0x0;_0x3b645b--)(_0x579990=_0x29f81d[_0x3b645b])&&(_0x2de176=(_0x1ef8a0?_0x579990(_0x46fe67,_0x1c0a10,_0x2de176):_0x579990(_0x2de176))||_0x2de176);return _0x1ef8a0&&_0x2de176&&hn(_0x46fe67,_0x1c0a10,_0x2de176),_0x2de176;},un=(_0x2fe9a3,_0x3caa3b)=>(_0x385e02,_0x537500)=>_0x3caa3b(_0x385e02,_0x537500,_0x2fe9a3);let ot=class{constructor(_0x441c0d){var _0x5d533e=_0xf95350;this[_0x5d533e(0xdf)]=_0x441c0d,this[_0x5d533e(0x117)]();}[_0xf95350(0x117)](){var _0x28ac55=_0xf95350;this[_0x28ac55(0xdf)][_0x28ac55(0x33f)]({'interceptor':(_0x219c14,_0x2346ac)=>{var _0x3db412=_0x28ac55;const _0x1a3cc5=_0x219c14[_0x3db412(0x2aa)],_0x4fdb84=cn();return _0x4fdb84&&_0x1a3cc5['set'](_0x3db412(0x1bc),_0x4fdb84),_0x2346ac(_0x219c14);}});}};ot=ln([un(0x0,_0x1f377b(_0x1d95e4))],ot);var dn=Object[_0xf95350(0x35a)],fn=Object['getOwnPropertyDescriptor'],vn=(_0x20a7d9,_0x553933,_0x520c0e,_0x248c95)=>{for(var _0x5be79b=_0x248c95>0x1?void 0x0:_0x248c95?fn(_0x553933,_0x520c0e):_0x553933,_0x3034f0=_0x20a7d9['length']-0x1,_0x3a906d;_0x3034f0>=0x0;_0x3034f0--)(_0x3a906d=_0x20a7d9[_0x3034f0])&&(_0x5be79b=(_0x248c95?_0x3a906d(_0x553933,_0x520c0e,_0x5be79b):_0x3a906d(_0x5be79b))||_0x5be79b);return _0x248c95&&_0x5be79b&&dn(_0x553933,_0x520c0e,_0x5be79b),_0x5be79b;},mt=(_0x51c996,_0x19f233)=>(_0x5b2dfe,_0x363d2c)=>_0x19f233(_0x5b2dfe,_0x363d2c,_0x51c996);let Ot=class extends _0x426883{constructor(_0x490880,_0x170ee2,_0x4ad648){var _0x4d68e4=_0xf95350;super(),N(this,'_unitInfo$',new _0x26dbcc(null)),N(this,_0x4d68e4(0x369),this[_0x4d68e4(0x14d)][_0x4d68e4(0x206)]()),(this[_0x4d68e4(0x29f)]=_0x490880,this[_0x4d68e4(0x390)]=_0x170ee2,this[_0x4d68e4(0x1a1)]=_0x4ad648);}async[_0xf95350(0x110)](_0x3473a3,_0x47fc15,_0x53de4c){var _0xfbe322=_0xf95350;this['_unitInfo$']['next']({'unitId':_0x3473a3,'type':_0x47fc15,'subUnitId':_0x53de4c});let _0x5186f4=null;switch(_0x47fc15){case Q[_0xfbe322(0xda)]:{_0x5186f4=await this[_0xfbe322(0x327)](_0x3473a3);break;}case Q[_0xfbe322(0x2df)]:{_0x5186f4=await this[_0xfbe322(0x34f)](_0x3473a3);break;}default:{this[_0xfbe322(0x29f)][_0xfbe322(0x32c)](_0xfbe322(0x367),_0xfbe322(0x1b7));break;}}return _0x5186f4;}async[_0xf95350(0x327)](_0x303f09){var _0x319d10=_0xf95350,_0x243c3a;let _0x5bd488=0x0;const _0xc468d9=await((_0x243c3a=this[_0x319d10(0x1a1)])==null?void 0x0:_0x243c3a[_0x319d10(0x26b)](_0x303f09));return _0xc468d9&&(_0xc468d9[_0x319d10(0x386)]||_0xc468d9[_0x319d10(0x20f)]['length']!==0x0)&&(_0x5bd488=_0xc468d9[_0x319d10(0x1ca)]),_0x5bd488===0x0&&this[_0x319d10(0x29f)][_0x319d10(0xd7)]('[DataLoaderService]',_0x319d10(0x2a4)),this[_0x319d10(0x390)]['loadSheet'](_0x303f09,_0x5bd488);}async['_loadDoc'](_0x18a893){var _0x48d579=_0xf95350,_0x20318a;let _0x2b3244=0x0;const _0x46d001=await((_0x20318a=this[_0x48d579(0x1a1)])==null?void 0x0:_0x20318a[_0x48d579(0x26b)](_0x18a893));return _0x46d001&&(_0x46d001[_0x48d579(0x386)]||_0x46d001[_0x48d579(0x20f)][_0x48d579(0x131)]!==0x0)&&(_0x2b3244=_0x46d001[_0x48d579(0x1ca)]),_0x2b3244===0x0&&this[_0x48d579(0x29f)][_0x48d579(0xd7)](_0x48d579(0x367),_0x48d579(0x2a4)),this['_snapshotService']['loadDoc'](_0x18a893,_0x2b3244);}};Ot=vn([mt(0x0,_0x2cd95e),mt(0x1,_0x1f377b(_0x3b76b2)),mt(0x2,_0x36e3d4(J))],Ot);var pn=Object[_0xf95350(0x35a)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x58ca66,_0x11c68c,_0x2ab4e9,_0x23347c)=>{var _0x6cf4dd=_0xf95350;for(var _0x2e0cfd=_0x23347c>0x1?void 0x0:_0x23347c?mn(_0x11c68c,_0x2ab4e9):_0x11c68c,_0x42f501=_0x58ca66[_0x6cf4dd(0x131)]-0x1,_0x2bf48b;_0x42f501>=0x0;_0x42f501--)(_0x2bf48b=_0x58ca66[_0x42f501])&&(_0x2e0cfd=(_0x23347c?_0x2bf48b(_0x11c68c,_0x2ab4e9,_0x2e0cfd):_0x2bf48b(_0x2e0cfd))||_0x2e0cfd);return _0x23347c&&_0x2e0cfd&&pn(_0x11c68c,_0x2ab4e9,_0x2e0cfd),_0x2e0cfd;},gt=(_0x2838b3,_0x1f3392)=>(_0x210f75,_0x268fd3)=>_0x1f3392(_0x210f75,_0x268fd3,_0x2838b3);const Sn=[_0xf95350(0x1d6),_0xf95350(0x1d5),'image/jpg','image/gif','image/bmp'],En=0x5*0x400*0x400,In=_0xf95350(0x19a),Tn=_0xf95350(0xb3),Cn=_0xf95350(0x183),bn=_0xf95350(0x2d6);let yt=class{constructor(_0x5221a6,_0x29b804,_0x1916db){var _0x50a84a=_0xf95350;N(this,_0x50a84a(0x363),0x0),N(this,'_change$',new _0x1d9c1a()),N(this,_0x50a84a(0x1d1),this[_0x50a84a(0x184)]),N(this,_0x50a84a(0x2f5),new Map()),(this[_0x50a84a(0xdf)]=_0x5221a6,this[_0x50a84a(0x215)]=_0x29b804,this['_univerInstanceService']=_0x1916db);}['setWaitCount'](_0x309d00){var _0x2db9a6=_0xf95350;this['_waitCount']=_0x309d00,this[_0x2db9a6(0x184)][_0x2db9a6(0x2f9)](_0x309d00);}[_0xf95350(0xcd)](_0x4b2c8c,_0x4f9d80){var _0x34d836=_0xf95350;if(_0x4f9d80===_0x525dac[_0x34d836(0x187)]){const _0x22d421=new Image();return _0x22d421[_0x34d836(0x30f)]=_0x4b2c8c,_0x22d421;}return this[_0x34d836(0x2f5)][_0x34d836(0x151)](_0x4b2c8c);}[_0xf95350(0x108)](_0x3220ab,_0x1896bf,_0x51de63){var _0xde68df=_0xf95350;_0x1896bf===_0x525dac[_0xde68df(0x187)]||_0x51de63==null||this[_0xde68df(0x2f5)][_0xde68df(0x269)](_0x3220ab,_0x51de63);}async['getImage'](_0x529ecb){var _0x276fbf=_0xf95350;try{const _0x5737e2=this[_0x276fbf(0x1d4)](this[_0x276fbf(0x370)](),''+_0x529ecb),_0xa23064=(await this['_httpService'][_0x276fbf(0x151)](_0x5737e2))[_0x276fbf(0x2c1)];if(_0xa23064[_0x276fbf(0x32c)]&&_0xa23064[_0x276fbf(0x32c)][_0x276fbf(0x24c)]===Ii['OK']){const _0x130fdd=new URL(_0xa23064[_0x276fbf(0x249)],this[_0x276fbf(0x266)]())['toString']();return Promise[_0x276fbf(0x277)](_0x130fdd);}return Promise[_0x276fbf(0x270)](_0xa23064[_0x276fbf(0x32c)]);}catch(_0x5ec322){return Promise['reject'](_0x5ec322);}}async['saveImage'](_0x2e2ad2){var _0x1cb56a=_0xf95350;let _0xcceb2e='';if(!Sn[_0x1cb56a(0x135)](_0x2e2ad2[_0x1cb56a(0x2fd)]))return this[_0x1cb56a(0x268)](),Promise['reject'](new Error(_0x2252a1['ERROR_IMAGE_TYPE']));if(_0x2e2ad2[_0x1cb56a(0x32d)]>En)return this[_0x1cb56a(0x268)](),Promise[_0x1cb56a(0x270)](new Error(_0x2252a1[_0x1cb56a(0x31b)]));try{const _0x47a77e=new FormData();_0x47a77e[_0x1cb56a(0x395)]('file',_0x2e2ad2);const _0x519500=this['_univerInstanceService'][_0x1cb56a(0x2ff)](),_0x56b84f=_0x519500==null?void 0x0:_0x519500[_0x1cb56a(0x298)]();if(!_0x56b84f)throw new Error('unitId\x20is\x20not\x20found');const _0x38a07d=this['_getUploadFileURL']()+_0x1cb56a(0x250)+_0x2e2ad2[_0x1cb56a(0x32d)][_0x1cb56a(0x1e3)]()+_0x1cb56a(0x37b)+Ti[_0x1cb56a(0x33c)]+'&assign='+encodeURIComponent(_0x56b84f),_0x4b6f54=await(await fetch(_0x38a07d,{'method':_0x1cb56a(0x26c),'body':_0x47a77e}))[_0x1cb56a(0x1f7)]();if(typeof _0x4b6f54['FileId']!=_0x1cb56a(0x267))return this['_decreaseWaiting'](),Promise[_0x1cb56a(0x270)](new Error(_0x2252a1[_0x1cb56a(0x104)]));_0xcceb2e=_0x4b6f54[_0x1cb56a(0x2ed)];}catch{return this[_0x1cb56a(0x268)](),Promise['reject'](new Error(_0x2252a1['ERROR_IMAGE']));}return new Promise((_0x46534e,_0x28a2b9)=>{var _0x52b890=_0x1cb56a;const _0x17e19a=new FileReader();_0x17e19a[_0x52b890(0x2d4)](_0x2e2ad2),_0x17e19a[_0x52b890(0x25f)]=_0x2b1041=>{var _0x19a48d=_0x52b890,_0xa54dac;const _0x28a5b5=(_0xa54dac=_0x2b1041[_0x19a48d(0xeb)])==null?void 0x0:_0xa54dac['result'];if(_0x28a5b5==null){this[_0x19a48d(0x268)](),_0x28a2b9(new Error(_0x2252a1[_0x19a48d(0x104)]));return;}const _0x34928c=_0x324eba['generateRandomId'](0x6);_0x46534e({'imageId':_0x34928c,'imageSourceType':_0x525dac['UUID'],'source':_0xcceb2e,'base64Cache':_0x28a5b5,'status':_0x2252a1[_0x19a48d(0x162)]}),this[_0x19a48d(0x268)]();};});}[_0xf95350(0x28a)](){var _0x56465b=_0xf95350,_0x1f4d8e,_0x2e0279;const _0x1f183b=this['_configService'][_0x56465b(0x1ab)](In),_0x39a305=this[_0x56465b(0x215)]['getConfig'](q);return(_0x2e0279=(_0x1f4d8e=_0x39a305==null?void 0x0:_0x39a305['uploadFileServerUrl'])!=null?_0x1f4d8e:_0x1f183b)!=null?_0x2e0279:Tn;}[_0xf95350(0x370)](){var _0x302817=_0xf95350,_0x45a5ca,_0x4793d3;const _0x44342d=this[_0x302817(0x215)][_0x302817(0x1ab)](Cn),_0x4c62ca=this[_0x302817(0x215)][_0x302817(0x1ab)](q);return(_0x4793d3=(_0x45a5ca=_0x4c62ca==null?void 0x0:_0x4c62ca[_0x302817(0x37f)])!=null?_0x45a5ca:_0x44342d)!=null?_0x4793d3:bn;}[_0xf95350(0x266)](){var _0x590de0=_0xf95350,_0x240cac;const _0x279ac2=this[_0x590de0(0x215)][_0x590de0(0x1ab)](q);return(_0x240cac=_0x279ac2==null?void 0x0:_0x279ac2[_0x590de0(0x2c2)])!=null?_0x240cac:location[_0x590de0(0x17c)];}[_0xf95350(0x1d4)](_0x392c11,_0x5b142c){var _0xeb6933=_0xf95350;return _0x392c11[_0xeb6933(0x1f9)](_0xeb6933(0x329),_0x5b142c);}['_decreaseWaiting'](){var _0x1a2ae2=_0xf95350;this[_0x1a2ae2(0x363)]-=0x1,this['_change$'][_0x1a2ae2(0x2f9)](this[_0x1a2ae2(0x363)]);}};yt=gn([gt(0x0,_0x1f377b(_0x1d95e4)),gt(0x1,_0x4ef789),gt(0x2,_0x1f377b(_0x4accb0))],yt);var Rn=Object[_0xf95350(0x35a)],On=Object[_0xf95350(0x1b5)],yn=(_0x43428a,_0x4dc51c,_0x519170,_0x393b51)=>{var _0x5b7765=_0xf95350;for(var _0x37957b=_0x393b51>0x1?void 0x0:_0x393b51?On(_0x4dc51c,_0x519170):_0x4dc51c,_0xbe5507=_0x43428a[_0x5b7765(0x131)]-0x1,_0x50d702;_0xbe5507>=0x0;_0xbe5507--)(_0x50d702=_0x43428a[_0xbe5507])&&(_0x37957b=(_0x393b51?_0x50d702(_0x4dc51c,_0x519170,_0x37957b):_0x50d702(_0x37957b))||_0x37957b);return _0x393b51&&_0x37957b&&Rn(_0x4dc51c,_0x519170,_0x37957b),_0x37957b;},_i=(_0x303ad6,_0x2c0db3)=>(_0x21719a,_0x49a10c)=>_0x2c0db3(_0x21719a,_0x49a10c,_0x303ad6);const Nn='/universer-api/authz';let Nt=class{constructor(_0x1dd3fd,_0x3498c6){var _0x1a1002=_0xf95350;this[_0x1a1002(0x215)]=_0x1dd3fd,this[_0x1a1002(0x1eb)]=_0x3498c6;}[_0xf95350(0x35b)](){var _0x5bfb22=_0xf95350,_0x2b5444,_0x27f38b;const _0x3c24aa=this[_0x5bfb22(0x215)]['getConfig'](Pi),_0x5561ee=this[_0x5bfb22(0x215)][_0x5bfb22(0x1ab)](q);return(_0x27f38b=(_0x2b5444=_0x5561ee==null?void 0x0:_0x5561ee[_0x5bfb22(0x1d2)])!=null?_0x2b5444:_0x3c24aa)!=null?_0x27f38b:Nn;}async['list'](_0x240cef){var _0x1ce108=_0xf95350;const _0x4a65f1=this[_0x1ce108(0x35b)]()+_0x1ce108(0x127);return{'list':[{'title':_0x1ce108(0x246),'mentions':(await this[_0x1ce108(0x1eb)][_0x1ce108(0x151)](_0x4a65f1,{'params':{'objectID':_0x240cef[_0x1ce108(0x149)],'unitID':_0x240cef[_0x1ce108(0x149)]}}))['body'][_0x1ce108(0x13e)][_0x1ce108(0xbf)](_0x3075f1=>({'objectId':_0x3075f1['id'],'name':_0x3075f1['subject'][_0x1ce108(0x10c)],'metadata':{'icon':_0x3075f1[_0x1ce108(0xbc)][_0x1ce108(0x282)]},'label':_0x3075f1[_0x1ce108(0xbc)][_0x1ce108(0x10c)],'objectType':_0xa72733[_0x1ce108(0x208)]})),'metadata':{},'type':_0xa72733[_0x1ce108(0x208)]}]};}};Nt=yn([_i(0x0,_0x1f377b(_0x4ef789)),_i(0x1,_0x1f377b(_0x1d95e4))],Nt);var Dn=Object['defineProperty'],Pn=Object['getOwnPropertyDescriptor'],wn=(_0x144a82,_0x3d4cb0,_0xe1b58,_0x4ee694)=>{for(var _0x35a449=_0x4ee694>0x1?void 0x0:_0x4ee694?Pn(_0x3d4cb0,_0xe1b58):_0x3d4cb0,_0x1d0451=_0x144a82['length']-0x1,_0x564780;_0x1d0451>=0x0;_0x1d0451--)(_0x564780=_0x144a82[_0x1d0451])&&(_0x35a449=(_0x4ee694?_0x564780(_0x3d4cb0,_0xe1b58,_0x35a449):_0x564780(_0x35a449))||_0x35a449);return _0x4ee694&&_0x35a449&&Dn(_0x3d4cb0,_0xe1b58,_0x35a449),_0x35a449;},Se=(_0x157dcb,_0x38e594)=>(_0xb8bbfb,_0x43b7e5)=>_0x38e594(_0xb8bbfb,_0x43b7e5,_0x157dcb);let at=class extends _0x426883{constructor(_0x3b4f31,_0x589ee2,_0x5d3c14,_0x63cc3c,_0x1b46b9,_0x32c28e,_0x5b4558){var _0x5908b2=_0xf95350;super(),this[_0x5908b2(0x2fe)]=_0x3b4f31,this[_0x5908b2(0x2e3)]=_0x589ee2,this[_0x5908b2(0xff)]=_0x5d3c14,this['_collaborationSessionService']=_0x63cc3c,this[_0x5908b2(0xd4)]=_0x1b46b9,this[_0x5908b2(0x357)]=_0x32c28e,this[_0x5908b2(0x14e)]=_0x5b4558,this[_0x5908b2(0x259)](),this[_0x5908b2(0x1be)]();}[_0xf95350(0x1be)](){var _0xfa460b=_0xf95350;const _0x47bf83=async _0x336e06=>{var _0x18cb91=_0x4451;(await this[_0x18cb91(0x1c7)][_0x18cb91(0x24b)](_0x336e06))['event$'][_0x18cb91(0x39f)](_0x2ac5d0(_0x1378cc=>_0x1378cc['eventID']===_0x15e414['SHOULD_CLOSE_CONN']),_0x4eb1e7(this[_0x18cb91(0x205)]))[_0x18cb91(0x2f6)](_0x1c0962=>{var _0x573919=_0x18cb91;const _0x2788d1=_0x1c0962,{reason:_0x7bd163}=_0x2788d1[_0x573919(0x13f)];this[_0x573919(0xd4)]['emitEvent']({'id':ne[_0x573919(0x217)],'data':_0x7bd163}),this[_0x573919(0xff)][_0x573919(0xfc)](new _0xf5ebb3(_0x336e06)['id'],!0x1),this[_0x573919(0x1c7)][_0x573919(0x2a3)](_0x336e06);});};_0x127445(this[_0xfa460b(0x2e3)][_0xfa460b(0x331)](_0x4fe211[_0xfa460b(0xda)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4fe211['UNIVER_DOC']))[_0xfa460b(0x39f)](_0x3dd616(_0x4bf7f2=>_0x4bf7f2[_0xfa460b(0x298)]()),_0x2ac5d0(_0x193eeb=>!_0x4b9cfa(_0x193eeb)),_0x4eb1e7(this[_0xfa460b(0x205)]))[_0xfa460b(0x2f6)](_0x217c17=>{_0x47bf83(_0x217c17);});}[_0xf95350(0x259)](){var _0x1b8885=_0xf95350;const _0x231ab6=async _0x1f59cd=>{var _0x65185=_0x4451;const _0x5f3575=await this[_0x65185(0x1c7)][_0x65185(0x24b)](_0x1f59cd),_0x4767be=this[_0x65185(0x2fe)][_0x65185(0x151)](_0xaa84b0);_0x5f3575[_0x65185(0x23d)]['pipe'](_0x2ac5d0(_0x22cb0d=>_0x22cb0d[_0x65185(0x276)]===_0x15e414['UPDATE_PERMISSION_OBJ']),_0x4eb1e7(this['dispose$']))['subscribe'](_0x786beb=>{var _0x504d32=_0x65185;const _0x1e5235=_0x786beb,{objectId:_0x1df875}=_0x1e5235[_0x504d32(0x13f)];_0x1df875===_0x1f59cd?_0x4767be['initWorkbookPermissionChange'](_0x1f59cd):_0x4767be[_0x504d32(0x1b8)](_0x1f59cd,_0x1df875);});};_0x127445(this[_0x1b8885(0x2e3)][_0x1b8885(0x331)](_0x4fe211[_0x1b8885(0xda)]),this[_0x1b8885(0x2e3)][_0x1b8885(0x331)](_0x4fe211[_0x1b8885(0x2df)]))[_0x1b8885(0x39f)](_0x3dd616(_0x210b5a=>_0x210b5a[_0x1b8885(0x298)]()),_0x2ac5d0(_0x1da886=>!_0x4b9cfa(_0x1da886)),_0x4eb1e7(this[_0x1b8885(0x205)]))[_0x1b8885(0x2f6)](_0x4a9565=>{_0x231ab6(_0x4a9565);});}};at=wn([Se(0x0,_0x1f377b(_0x459b1e)),Se(0x1,_0x4accb0),Se(0x2,_0x193a1a),Se(0x3,_0x1f377b(Le)),Se(0x4,_0x1f377b(pe)),Se(0x5,_0x3db02c),Se(0x6,_0x122feb)],at);var Un=Object[_0xf95350(0x35a)],An=Object['getOwnPropertyDescriptor'],xn=(_0x273dbf,_0x3ac541,_0x3cfa7f,_0x3cd096)=>{var _0x1ad79c=_0xf95350;for(var _0x3b236b=_0x3cd096>0x1?void 0x0:_0x3cd096?An(_0x3ac541,_0x3cfa7f):_0x3ac541,_0x4a4455=_0x273dbf[_0x1ad79c(0x131)]-0x1,_0x1ce605;_0x4a4455>=0x0;_0x4a4455--)(_0x1ce605=_0x273dbf[_0x4a4455])&&(_0x3b236b=(_0x3cd096?_0x1ce605(_0x3ac541,_0x3cfa7f,_0x3b236b):_0x1ce605(_0x3b236b))||_0x3b236b);return _0x3cd096&&_0x3b236b&&Un(_0x3ac541,_0x3cfa7f,_0x3b236b),_0x3b236b;},li=(_0x254503,_0x97f465)=>(_0x21d110,_0x4b1b2f)=>_0x97f465(_0x21d110,_0x4b1b2f,_0x254503);let Dt=class{constructor(_0x18affa,_0x36ad55){var _0x167d0e=_0xf95350;this[_0x167d0e(0x215)]=_0x18affa,this[_0x167d0e(0xdf)]=_0x36ad55;}async[_0xf95350(0xc1)](_0x4b9075,_0x2613b3){var _0x559efc=_0xf95350,_0x39b984;const {unitID:_0x150d64,type:_0x1edc8c,revision:_0x411493=0x0}=_0x2613b3,_0x4ce3b6=this['getSnapshotAPIPath']()+'/'+_0x1edc8c+'/unit/'+_0x150d64+'/rev/'+_0x411493,_0x113574=(await this[_0x559efc(0xdf)][_0x559efc(0x151)](_0x4ce3b6))[_0x559efc(0x2c1)],_0x3ef3f4=(_0x39b984=_0x113574[_0x559efc(0x1a9)])==null?void 0x0:_0x39b984[_0x559efc(0x185)];if(_0x3ef3f4){const _0x49ca28=_0x3ef3f4==null?void 0x0:_0x3ef3f4[_0x559efc(0x2a8)],_0x2c85f7=_0x5547ea[_0x559efc(0xb8)](_0x25a9a5(_0x49ca28));_0x3ef3f4[_0x559efc(0x2a8)]=_0x2c85f7,Object[_0x559efc(0x317)](_0x3ef3f4[_0x559efc(0x148)])[_0x559efc(0x362)](([,_0x276045])=>{var _0x1bbc9a=_0x559efc;const _0x3f0732=_0x276045[_0x1bbc9a(0x2a8)],_0x23a5c7=_0x5547ea[_0x1bbc9a(0xb8)](_0x25a9a5(_0x3f0732));_0x276045[_0x1bbc9a(0x2a8)]=_0x23a5c7;});}return _0x113574;}async[_0xf95350(0x2ee)](_0x14daeb,_0x33df3e){var _0x27c268=_0xf95350;const {unitID:_0x4c4bca,type:_0x22951d,blockID:_0x13a368}=_0x33df3e,_0x3cb0c1=this['_getAPIPrefix']()+'/'+_0x22951d+'/unit/'+_0x4c4bca+'/block/'+_0x13a368;return(await this['_httpService'][_0x27c268(0x151)](_0x3cb0c1))[_0x27c268(0x2c1)];}async['getDeserializedSheetBlock'](_0x3a5e60,_0x53eea2){var _0x352b43=_0xf95350;const {unitID:_0x1bb166,type:_0x250aa3,blockID:_0x8684b3}=_0x53eea2,_0x3b5b28=this[_0x352b43(0x10f)]()+_0x352b43(0xaf)+_0x250aa3+'/unit/'+_0x1bb166+_0x352b43(0xaf)+_0x8684b3;return(await this[_0x352b43(0xdf)][_0x352b43(0x151)](_0x3b5b28))[_0x352b43(0x2c1)];}async[_0xf95350(0x263)](_0x3f5668,_0x56c869){var _0x39cceb=_0xf95350;const {unitID:_0x22282c,type:_0x2444b9,from:_0x18fad3,to:_0x4a1e52}=_0x56c869,_0x76dfe4=this[_0x39cceb(0x10f)]()+'/'+_0x2444b9+_0x39cceb(0x348)+_0x22282c+_0x39cceb(0x273)+_0x18fad3+'&to='+_0x4a1e52;return(await this['_httpService'][_0x39cceb(0x151)](_0x76dfe4))[_0x39cceb(0x2c1)];}[_0xf95350(0x382)](){var _0x4596f7=_0xf95350,_0x4b51c3;return(_0x4b51c3=this[_0x4596f7(0x215)][_0x4596f7(0x1ab)](Is))!=null?_0x4b51c3:this[_0x4596f7(0x10f)]();}['_getAPIPrefix'](){var _0x5bf63e=_0xf95350,_0x192874,_0x585f5c;const _0x246a00=this[_0x5bf63e(0x215)][_0x5bf63e(0x1ab)](Ss),_0x13cab5=this['_configService'][_0x5bf63e(0x1ab)](q);return(_0x585f5c=(_0x192874=_0x13cab5==null?void 0x0:_0x13cab5[_0x5bf63e(0x2eb)])!=null?_0x192874:_0x246a00)!=null?_0x585f5c:Es;}async[_0xf95350(0x22f)](_0x1fd5dd,_0x207435){var _0x2d2487=_0xf95350;const _0x52792f=_0x2d2487(0x2a2)+_0x207435[_0x2d2487(0x2fd)]+'/unit/'+_0x207435[_0x2d2487(0x17e)]+_0x2d2487(0x2c7);return(await this[_0x2d2487(0xdf)][_0x2d2487(0x151)](_0x52792f,{'params':{'resourceId':JSON[_0x2d2487(0x1f2)](_0x207435['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf95350(0x2e9)](){var _0x152be8=_0xf95350;throw new Error(_0x152be8(0x172));}[_0xf95350(0x336)](){var _0x42e6e8=_0xf95350;throw new Error(_0x42e6e8(0x172));}[_0xf95350(0x30e)](){var _0xefd5b1=_0xf95350;throw new Error(_0xefd5b1(0x172));}[_0xf95350(0x307)](){var _0x2ced3b=_0xf95350;throw new Error(_0x2ced3b(0x172));}};Dt=xn([li(0x0,_0x4ef789),li(0x1,_0x1f377b(_0x1d95e4))],Dt);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],$n=(_0x10218b,_0x327e15,_0x2065fb,_0x44f551)=>{var _0x3e6d7b=_0xf95350;for(var _0x50f3dd=_0x44f551>0x1?void 0x0:_0x44f551?Mn(_0x327e15,_0x2065fb):_0x327e15,_0x53818d=_0x10218b[_0x3e6d7b(0x131)]-0x1,_0x125f0f;_0x53818d>=0x0;_0x53818d--)(_0x125f0f=_0x10218b[_0x53818d])&&(_0x50f3dd=(_0x44f551?_0x125f0f(_0x327e15,_0x2065fb,_0x50f3dd):_0x125f0f(_0x50f3dd))||_0x50f3dd);return _0x44f551&&_0x50f3dd&&Ln(_0x327e15,_0x2065fb,_0x50f3dd),_0x50f3dd;},Ae=(_0x20ead4,_0x75fab4)=>(_0x3658e6,_0x27315a)=>_0x75fab4(_0x3658e6,_0x27315a,_0x20ead4);let Pt=class extends _0x4a8bd3{constructor(_0x580ff3,_0x14aba6,_0x547cc0,_0x52f8ee,_0x1a6939){var _0xc5b3d3=_0xf95350;super(_0x580ff3,_0x14aba6,_0x547cc0),this[_0xc5b3d3(0x16c)]=_0x52f8ee,this[_0xc5b3d3(0x29f)]=_0x1a6939;}[_0xf95350(0x224)](_0x384782,_0x24e770){var _0x2957cf=_0xf95350;const _0x92fb7a=this[_0x2957cf(0x27c)](_0x384782);if(_0x92fb7a)try{const _0x2c4ed2=this['_transformStack'](_0x92fb7a,_0x24e770);this['_substituteUndoStack'](_0x384782,_0x2c4ed2);}catch(_0x115c67){this['_logService'][_0x2957cf(0x32c)](_0x2957cf(0x21b),_0x115c67),this[_0x2957cf(0x1ac)](_0x384782);}const _0x15f3c2=this['_getRedoStack'](_0x384782);if(_0x15f3c2)try{const _0x3f02bf=this[_0x2957cf(0x316)](_0x15f3c2,_0x24e770);this[_0x2957cf(0xf9)](_0x384782,_0x3f02bf);}catch(_0x2ce5fb){this[_0x2957cf(0x29f)]['error'](_0x2ce5fb),this[_0x2957cf(0xde)](_0x384782);}}[_0xf95350(0x1ac)](_0x134233){var _0x47f86c=_0xf95350;const _0xf77cb9=this[_0x47f86c(0x27c)](_0x134233);_0xf77cb9&&(_0xf77cb9[_0x47f86c(0x131)]=0x0,this[_0x47f86c(0x3a5)]());}['_clearRedo'](_0x1ce883){var _0x4f7108=_0xf95350;const _0x4774aa=this['_getRedoStack'](_0x1ce883);_0x4774aa&&(_0x4774aa[_0x4f7108(0x131)]=0x0,this[_0x4f7108(0x3a5)]());}[_0xf95350(0x39a)](_0x2c5efb,_0x53c55a){var _0x173bb1=_0xf95350;this[_0x173bb1(0x1f3)][_0x173bb1(0x269)](_0x2c5efb,_0x53c55a),this[_0x173bb1(0x3a5)]();}[_0xf95350(0xf9)](_0x3e3ceb,_0x184ebd){var _0x3787e2=_0xf95350;this[_0x3787e2(0xd0)][_0x3787e2(0x269)](_0x3e3ceb,_0x184ebd),this[_0x3787e2(0x3a5)]();}[_0xf95350(0x316)](_0x4fadba,_0x1bc081){var _0x28a35e=_0xf95350;const _0x120fed=[];let _0x220830=_0x1bc081,_0x5ab87e=_0x1bc081;for(let _0x423a24=_0x4fadba[_0x28a35e(0x131)]-0x1;_0x423a24>=0x0;_0x423a24--){const {unitID:_0xdfadbd,undoMutations:_0x474fae,redoMutations:_0x3d342c}=_0x4fadba[_0x423a24],_0x3ece43=this[_0x28a35e(0x16c)][_0x28a35e(0x11c)](_0x220830,_0x474fae),_0x5b245a=this['_transformService'][_0x28a35e(0x11c)](_0x5ab87e,_0x3d342c);if(_0x36809c(_0x3ece43)||_0x36809c(_0x5b245a)){this['_logService'][_0x28a35e(0x32c)](_0x28a35e(0x21b),_0x28a35e(0x21c),_0x3ece43,_0x5b245a);break;}_0x220830=_0x3ece43['c1Prime'],_0x5ab87e=_0x5b245a[_0x28a35e(0x121)],_0x120fed[_0x28a35e(0x2e0)]({'unitID':_0xdfadbd,'undoMutations':_0x3ece43['m2Prime'],'redoMutations':_0x5b245a['m2Prime']});}return _0x120fed['reverse']();}};Pt=$n([Ae(0x0,_0x4accb0),Ae(0x1,_0x16ead5),Ae(0x2,_0x21a4dd),Ae(0x3,_0xd312f2),Ae(0x4,_0x2cd95e)],Pt);var xi=Object['defineProperty'],Hn=Object[_0xf95350(0x1b5)],kn=(_0x2164bd,_0x4af14d,_0x493353)=>_0x4af14d in _0x2164bd?xi(_0x2164bd,_0x4af14d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x493353}):_0x2164bd[_0x4af14d]=_0x493353,jn=(_0x5831ba,_0x1cbbb1,_0x26381d,_0x4c5218)=>{var _0x270ed8=_0xf95350;for(var _0x50e857=_0x4c5218>0x1?void 0x0:_0x4c5218?Hn(_0x1cbbb1,_0x26381d):_0x1cbbb1,_0xe05afd=_0x5831ba[_0x270ed8(0x131)]-0x1,_0x2106d5;_0xe05afd>=0x0;_0xe05afd--)(_0x2106d5=_0x5831ba[_0xe05afd])&&(_0x50e857=(_0x4c5218?_0x2106d5(_0x1cbbb1,_0x26381d,_0x50e857):_0x2106d5(_0x50e857))||_0x50e857);return _0x4c5218&&_0x50e857&&xi(_0x1cbbb1,_0x26381d,_0x50e857),_0x50e857;},St=(_0x55dffa,_0x1639fe)=>(_0x5a9fe2,_0xb45236)=>_0x1639fe(_0x5a9fe2,_0xb45236,_0x55dffa),Bn=(_0x59cc88,_0x492aa9,_0x5c10e9)=>kn(_0x59cc88,_0x492aa9+'',_0x5c10e9);const Fn=_0xf95350(0x20e);let wt=class extends _0x509d00{constructor(_0x331e7c=Wt,_0x5e5cb7,_0x57fa1c,_0x3715c6){var _0x488f37=_0xf95350;super(),this[_0x488f37(0x35d)]=_0x331e7c,this[_0x488f37(0x29f)]=_0x5e5cb7,this[_0x488f37(0x2fe)]=_0x57fa1c,this[_0x488f37(0x215)]=_0x3715c6;const {..._0x5bd0c6}=_0x1c25ec({},Wt,this[_0x488f37(0x35d)]);this['_configService']['setConfig'](q,_0x5bd0c6);}[_0xf95350(0x2ce)](){var _0x400d2d=_0xf95350;this['_registerDependencies'](),this[_0x400d2d(0x179)]();}['_registerDependencies'](){var _0x32298d=_0xf95350,_0x4a0fc7,_0x48999d,_0x14c39e,_0x12947f;this['_injector'][_0x32298d(0x28d)](_0x122feb)&&this['_logService'][_0x32298d(0x32c)](_0x32298d(0x1c8),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a6728=_0x467c59([[_0x122feb,{'useClass':Pt}],[Le],[xe],[it],[nt],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x48999d=(_0x4a0fc7=this[_0x32298d(0x35d)])==null?void 0x0:_0x4a0fc7[_0x32298d(0x2a5)])!=null?_0x48999d:Et}],[_0x359a3a,{'useClass':Dt}],[_0x3db02c,{'useClass':Rt}],[_0x14c982,{'useClass':yt}],[_0x4c2436,{'useClass':Nt}],[rt],[bt]],(_0x14c39e=this[_0x32298d(0x35d)])==null?void 0x0:_0x14c39e['override']);if(!((_0x12947f=this[_0x32298d(0x35d)])!=null&&_0x12947f['enableSingleActiveInstanceLock'])){const _0x26e38b=_0x5a6728[_0x32298d(0xc7)](([_0x3c8535])=>_0x3c8535===ht);_0x26e38b!==-0x1&&_0x5a6728[_0x32298d(0x23f)](_0x26e38b,0x1);}_0x463499(this[_0x32298d(0x2fe)],_0x5a6728);}[_0xf95350(0x179)](){var _0x132f54=_0xf95350,_0x5172c9,_0x5de156,_0x167313;this[_0x132f54(0x2fe)][_0x132f54(0x151)](_0x1d95e4)[_0x132f54(0x33f)]({'priority':0x14,'interceptor':_0x39c3a7({'maxParallel':0x6})}),(_0x5172c9=this[_0x132f54(0x35d)])!=null&&_0x5172c9['enableOfflineEditing']||(_0x5de156=this['_injector']['get'](J,_0x124bff[_0x132f54(0x17d)]))==null||_0x5de156[_0x132f54(0x328)](),(_0x167313=this[_0x132f54(0x35d)])!=null&&_0x167313[_0x132f54(0x2b6)]&&_0x536f41(this['_injector'],[[nt]]),_0x536f41(this[_0x132f54(0x2fe)],[[ot],[rt],[at]]);}};Bn(wt,_0xf95350(0xf2),Fn),wt=jn([_0x296661(_0x5db6f5,_0x5eafd8,_0x5b8d93),St(0x1,_0x2cd95e),St(0x2,_0x1f377b(_0x459b1e)),St(0x3,_0x4ef789)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,ws as COLLAB_SUBMIT_CHANGESET_URL_KEY,Cs as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,ne as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,bs as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Os as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Ls as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,As as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,so as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ds as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,Ss as SNAPSHOT_SERVER_URL_KEY,Is as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,Ms as deserializeToCombResponse,no as getLocalCacheKey,$s as serializeCombRequest};
|