@univerjs-pro/collaboration-client 0.8.2-nightly.202506241607 → 0.8.2-nightly.202506261607
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/ko-KR.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/ko-KR.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.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 +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x332b6f=_0x2301;(function(_0x443d8c,_0x246e36){var _0x50a398=_0x2301,_0x3ea174=_0x443d8c();while(!![]){try{var _0x5ca255=-parseInt(_0x50a398(0x2b3))/0x1+-parseInt(_0x50a398(0x362))/0x2+-parseInt(_0x50a398(0x190))/0x3*(-parseInt(_0x50a398(0x1aa))/0x4)+parseInt(_0x50a398(0x17b))/0x5+-parseInt(_0x50a398(0x1df))/0x6*(-parseInt(_0x50a398(0x146))/0x7)+-parseInt(_0x50a398(0x276))/0x8*(parseInt(_0x50a398(0x40f))/0x9)+parseInt(_0x50a398(0x216))/0xa*(parseInt(_0x50a398(0x1b4))/0xb);if(_0x5ca255===_0x246e36)break;else _0x3ea174['push'](_0x3ea174['shift']());}catch(_0x3523b4){_0x3ea174['push'](_0x3ea174['shift']());}}}(_0x57e4,0x53be5));var Di=Object[_0x332b6f(0x1d5)],Ui=(_0x3f980e,_0xa83f4,_0x1aac33)=>_0xa83f4 in _0x3f980e?Di(_0x3f980e,_0xa83f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aac33}):_0x3f980e[_0xa83f4]=_0x1aac33,N=(_0x33c30f,_0x56207b,_0x2223b2)=>Ui(_0x33c30f,typeof _0x56207b!='symbol'?_0x56207b+'':_0x56207b,_0x2223b2);import{createIdentifier as _0x55085a,Inject as _0x5e1e11,Injector as _0x226671,IConfigService as _0x5747ff,ILogService as _0x2ee83c,Disposable as _0x401350,DisposableCollection as _0x1eb90d,toDisposable as _0x8a8554,IUniverInstanceService as _0x47549b,UserManagerService as _0x166568,UniverInstanceType as _0x2db736,LocaleService as _0x2a03f0,Optional as _0x2b6ae4,RxDisposable as _0x5861e5,Tools as _0x4e273e,Rectangle as _0x3c7a2a,ICommandService as _0x499b8d,JSONX as _0x9fef84,CommandType as _0x2bca99,IUndoRedoService as _0x17f179,IPermissionService as _0x545df8,sequenceExecute as _0x524cd0,Workbook as _0x4b1cc3,MentionType as _0x1afd39,isInternalEditorID as _0x1c648e,LocalUndoRedoService as _0x132088,IContextService as _0x1e49ca,DependentOn as _0x3acfc,Plugin as _0x3d3d32,merge as _0x43bc25,mergeOverrideWithDependencies as _0x47bf74,IAuthzIoService as _0x591c88,IMentionIOService as _0x247198,registerDependencies as _0x1ffd25,Quantity as _0x29eb6e,touchDependencies as _0x378797}from'@univerjs/core';import{Subject as _0x1ac18f,merge as _0x99efa5,of as _0x4bede0,BehaviorSubject as _0x400ec0,takeUntil as _0xa96493,ReplaySubject as _0x4a0934,take as _0x286f91,map as _0x34c49d,shareReplay as _0x4655e2,firstValueFrom as _0x6514ca,concatMap as _0x15abb8}from'rxjs';import{map as _0x2f4302,take as _0x12e6af,filter as _0x3c6cec,delay as _0x8f3393,takeUntil as _0x44300f}from'rxjs/operators';import{CollaborationEvent as _0x418085,ISnapshotServerService as _0x5d5a89,parseChangesetToProtocol as _0x53375b,ITransformService as _0x1eb68a,isTransformMutationsWithChangesetSuccess as _0x3665e5,mapDocumentTypeToUniverType as _0xb447eb,RevisionService as _0x278fa6,isTransformChangesetsSuccess as _0x4bd4ac,CompressMutationService as _0x433706,parseProtocolChangeset as _0x3b4ac4,uuidv4 as _0x3b8cf4,SnapshotService as _0x2bf404,textEncoder as _0x2f44dc,b64DecodeUnicode as _0x49bdd3,isTransformMutationsWithChangesetFailure as _0x531048,UniverCollaborationPlugin as _0x1b9b89}from'@univerjs-pro/collaboration';import{HTTPService as _0x50e32e,ISocketService as _0x526c1f,MergeInterceptorFactory as _0x45b75c,HTTPRequest as _0x24e9cf,UniverNetworkPlugin as _0x469f08,ThresholdInterceptorFactory as _0xae6792}from'@univerjs/network';import{ITelemetryService as _0x9d820b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2497f1}from'@univerjs/docs';import{SheetsSelectionsService as _0x30c5f4,SetSelectionsOperation as _0x2cfc9d,InsertSheetMutation as _0x499ac5,EmptyMutation as _0x287add,WorkbookEditablePermission as _0x42525e,SheetPermissionInitController as _0x2d7722}from'@univerjs/sheets';import{ImageSourceType as _0x4d38c9,ImageUploadStatusType as _0x53699a,IImageIoService as _0x14e3c5}from'@univerjs/drawing';import{getGlobalObject as _0x31c0b0}from'@univerjs-pro/license';const fs=_0x332b6f(0x2e1),vs=_0x332b6f(0x2e7),ps='SNAPSHOT_URL_KEY',yr=_0x332b6f(0x422),ms=0x7d0,gs=_0x332b6f(0x12d),Ss=_0x332b6f(0x19e),Nr=_0x332b6f(0x261),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x332b6f(0x129),Rs=0x3,Dr=_0x332b6f(0x2f2),Ur=0x3e8,Os=_0x332b6f(0x379),bs=_0x332b6f(0x3d1),ys=_0x332b6f(0x3be),Ns='/universer-api/oidc/authpage',Ar=_0x332b6f(0x24c),wr=_0x332b6f(0x279);var pi=(_0x942683=>(_0x942683[_0x942683[_0x332b6f(0x1db)]=0x0]='UNDEFINED',_0x942683[_0x942683['OK']=0x1]='OK',_0x942683[_0x942683[_0x332b6f(0x2df)]=0x2]=_0x332b6f(0x2df),_0x942683[_0x942683[_0x332b6f(0x26d)]=0x3]=_0x332b6f(0x26d),_0x942683[_0x942683[_0x332b6f(0x3e8)]=0x4]=_0x332b6f(0x3e8),_0x942683[_0x942683[_0x332b6f(0x296)]=0x5]=_0x332b6f(0x296),_0x942683[_0x942683['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x942683[_0x942683['INVALID_ARGUMENT']=0x7]=_0x332b6f(0x149),_0x942683[_0x942683[_0x332b6f(0x244)]=0x8]=_0x332b6f(0x244),_0x942683[_0x942683['COMPLETION_FINISHED']=0x9]=_0x332b6f(0x185),_0x942683[_0x942683[_0x332b6f(0x3b8)]=0xa]=_0x332b6f(0x3b8),_0x942683[_0x942683['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x332b6f(0x1b9),_0x942683[_0x942683['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x942683[_0x942683['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x332b6f(0x1f2),_0x942683[_0x942683[_0x332b6f(0x20f)]=0xe]=_0x332b6f(0x20f),_0x942683[_0x942683[_0x332b6f(0x260)]=0x1389]=_0x332b6f(0x260),_0x942683[_0x942683[_0x332b6f(0x320)]=0x1771]=_0x332b6f(0x320),_0x942683[_0x942683['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x332b6f(0x2c3),_0x942683[_0x942683['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x332b6f(0x299),_0x942683[_0x942683[_0x332b6f(0x237)]=0x1b59]=_0x332b6f(0x237),_0x942683[_0x942683[_0x332b6f(0x1c7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x942683[_0x942683[_0x332b6f(0x2cd)]=0x1b5b]=_0x332b6f(0x2cd),_0x942683[_0x942683['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x332b6f(0x386),_0x942683[_0x942683[_0x332b6f(0x30c)]=0x1b5d]=_0x332b6f(0x30c),_0x942683[_0x942683['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x332b6f(0x238),_0x942683[_0x942683[_0x332b6f(0x271)]=0x2329]=_0x332b6f(0x271),_0x942683[_0x942683[_0x332b6f(0x36c)]=0x232a]=_0x332b6f(0x36c),_0x942683[_0x942683[_0x332b6f(0x1b7)]=0x232b]=_0x332b6f(0x1b7),_0x942683[_0x942683[_0x332b6f(0x295)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x942683[_0x942683[_0x332b6f(0x32d)]=0x232d]=_0x332b6f(0x32d),_0x942683[_0x942683['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x332b6f(0x343),_0x942683[_0x942683[_0x332b6f(0x3b0)]=0x2712]=_0x332b6f(0x3b0),_0x942683[_0x942683[_0x332b6f(0x1dc)]=0x2713]=_0x332b6f(0x1dc),_0x942683[_0x942683[_0x332b6f(0x3a2)]=0x2714]=_0x332b6f(0x3a2),_0x942683[_0x942683[_0x332b6f(0x34e)]=0x271a]=_0x332b6f(0x34e),_0x942683[_0x942683[_0x332b6f(0x267)]=0x271b]=_0x332b6f(0x267),_0x942683[_0x942683[_0x332b6f(0x192)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x942683[_0x942683[_0x332b6f(0x1ae)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x942683[_0x942683[_0x332b6f(0x23c)]=0x271e]=_0x332b6f(0x23c),_0x942683[_0x942683[_0x332b6f(0x177)]=0x271f]=_0x332b6f(0x177),_0x942683[_0x942683[_0x332b6f(0x252)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x942683[_0x942683[_0x332b6f(0x2a7)]=0x2af9]=_0x332b6f(0x2a7),_0x942683[_0x942683[_0x332b6f(0x193)]=0x2ee1]=_0x332b6f(0x193),_0x942683[_0x942683[_0x332b6f(0x2e2)]=0x2ee2]=_0x332b6f(0x2e2),_0x942683[_0x942683[_0x332b6f(0x195)]=0x2ee3]=_0x332b6f(0x195),_0x942683[_0x942683['USER_NOT_INVITED_CODE']=0x2ee4]=_0x332b6f(0x3b1),_0x942683[_0x942683[_0x332b6f(0x2c9)]=0x2ee5]=_0x332b6f(0x2c9),_0x942683[_0x942683[_0x332b6f(0x3c4)]=0x32c9]=_0x332b6f(0x3c4),_0x942683[_0x942683[_0x332b6f(0x304)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x942683[_0x942683[_0x332b6f(0x204)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x942683[_0x942683['UNRECOGNIZED']=-0x1]=_0x332b6f(0x137),_0x942683))(pi||{}),Z=(_0x2faeb3=>(_0x2faeb3[_0x2faeb3['UNIVER_UNKNOWN']=0x0]=_0x332b6f(0x226),_0x2faeb3[_0x2faeb3['UNIVER_DOC']=0x1]=_0x332b6f(0x172),_0x2faeb3[_0x2faeb3['UNIVER_SHEET']=0x2]=_0x332b6f(0x3fe),_0x2faeb3[_0x2faeb3[_0x332b6f(0x2fd)]=0x3]=_0x332b6f(0x2fd),_0x2faeb3[_0x2faeb3[_0x332b6f(0x242)]=0x4]=_0x332b6f(0x242),_0x2faeb3[_0x2faeb3[_0x332b6f(0x137)]=-0x1]=_0x332b6f(0x137),_0x2faeb3))(Z||{}),F=(_0x3706d8=>(_0x3706d8[_0x3706d8[_0x332b6f(0x194)]=0x0]=_0x332b6f(0x194),_0x3706d8[_0x3706d8['HELLO']=0x1]='HELLO',_0x3706d8[_0x3706d8[_0x332b6f(0x31d)]=0x2]=_0x332b6f(0x31d),_0x3706d8[_0x3706d8[_0x332b6f(0x42e)]=0x3]=_0x332b6f(0x42e),_0x3706d8[_0x3706d8[_0x332b6f(0x401)]=0x4]='INGEST',_0x3706d8[_0x3706d8[_0x332b6f(0x334)]=0x5]=_0x332b6f(0x334),_0x3706d8[_0x3706d8[_0x332b6f(0x188)]=0x6]=_0x332b6f(0x188),_0x3706d8[_0x3706d8[_0x332b6f(0x137)]=-0x1]='UNRECOGNIZED',_0x3706d8))(F||{}),me=(_0x50aac8=>(_0x50aac8[_0x50aac8[_0x332b6f(0x17f)]=0x0]='UNKNOWN_CODE',_0x50aac8[_0x50aac8['OK']=0x1]='OK',_0x50aac8[_0x50aac8[_0x332b6f(0x150)]=0x2]=_0x332b6f(0x150),_0x50aac8[_0x50aac8['JOIN_ROOM_FULL']=0x3e9]=_0x332b6f(0x2fe),_0x50aac8[_0x50aac8[_0x332b6f(0x2c6)]=0x3ea]=_0x332b6f(0x2c6),_0x50aac8[_0x50aac8[_0x332b6f(0x33f)]=0x3eb]=_0x332b6f(0x33f),_0x50aac8[_0x50aac8[_0x332b6f(0x1ce)]=0x3ec]=_0x332b6f(0x1ce),_0x50aac8[_0x50aac8[_0x332b6f(0x137)]=-0x1]=_0x332b6f(0x137),_0x50aac8))(me||{}),mi=(_0x57a9da=>(_0x57a9da[_0x57a9da['Undefined']=0x0]=_0x332b6f(0x275),_0x57a9da[_0x57a9da[_0x332b6f(0x286)]=0x1]=_0x332b6f(0x286),_0x57a9da[_0x57a9da[_0x332b6f(0x360)]=0x2]=_0x332b6f(0x360),_0x57a9da[_0x57a9da[_0x332b6f(0x284)]=0x3]=_0x332b6f(0x284),_0x57a9da[_0x57a9da[_0x332b6f(0x1c3)]=0x4]=_0x332b6f(0x1c3),_0x57a9da[_0x57a9da['UserProfileImg']=0x5]=_0x332b6f(0x42f),_0x57a9da[_0x57a9da[_0x332b6f(0x137)]=-0x1]=_0x332b6f(0x137),_0x57a9da))(mi||{});const K=_0x332b6f(0x274),Ds={};var ne=(_0x388778=>(_0x388778['OTHER_CLIENT_EDITING']=_0x332b6f(0x3f1),_0x388778[_0x332b6f(0x26d)]=_0x332b6f(0x26d),_0x388778[_0x332b6f(0x262)]='CONFLICT',_0x388778[_0x332b6f(0x33b)]=_0x332b6f(0x33b),_0x388778[_0x332b6f(0x1c0)]=_0x332b6f(0x1c0),_0x388778[_0x332b6f(0x398)]=_0x332b6f(0x398),_0x388778[_0x332b6f(0x3af)]=_0x332b6f(0x3af),_0x388778[_0x332b6f(0x15a)]=_0x332b6f(0x15a),_0x388778))(ne||{});class ve{constructor(){var _0x3d6ac5=_0x332b6f;N(this,'_event$',new _0x1ac18f()),N(this,'event$',this[_0x3d6ac5(0x312)][_0x3d6ac5(0x38a)]());}[_0x332b6f(0x406)](_0x5af372){var _0x5bcc87=_0x332b6f;this[_0x5bcc87(0x312)][_0x5bcc87(0x2b8)](_0x5af372);}}const Us=_0x55085a(_0x332b6f(0x3e4));function As(_0x3937c7){var _0x18677c=_0x332b6f,_0x2408ba,_0x1e82bb,_0x213e72,_0x39d198,_0xc1f0f7;const _0x1d44f4=_0x3937c7[_0x18677c(0x349)],_0x47fb3a=JSON[_0x18677c(0x19b)](_0x1d44f4);switch(_0x47fb3a[_0x18677c(0x2be)]){case F[_0x18677c(0x334)]:case F['HELLO']:{const _0x5bc4aa=_0x47fb3a[_0x18677c(0x2a5)];return{..._0x47fb3a,'data':_0x5bc4aa,'cmd':_0x47fb3a[_0x18677c(0x2be)]};}case F['JOIN']:{const _0x443b1e=_0x47fb3a[_0x18677c(0x410)];return{..._0x47fb3a,'data':_0x443b1e,'cmd':_0x47fb3a['cmd']};}case F[_0x18677c(0x188)]:{const _0x5a602e=_0x47fb3a['collaMsg'];switch(_0x5a602e['eventID']){case _0x418085['PERMISSION_REJ']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x2408ba=_0x5a602e[_0x18677c(0x3c1)])==null?void 0x0:_0x2408ba['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x377)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x1e82bb=_0x5a602e['csAckEvent'])==null?void 0x0:_0x1e82bb['cs']},'cmd':_0x47fb3a['cmd']};case _0x418085[_0x18677c(0x427)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x213e72=_0x5a602e['newCsEvent'])==null?void 0x0:_0x213e72['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['CHANGESET_REJ']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0x39d198=_0x5a602e[_0x18677c(0x39f)])==null?void 0x0:_0x39d198['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x325)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':(_0xc1f0f7=_0x5a602e[_0x18677c(0x2e4)])==null?void 0x0:_0xc1f0f7['cs']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x27e)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x29b)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['USERS_ENTER']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x3ab)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x2ca)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e['leaveEvent']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x224)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e['liveShareNewHost']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x203)]:case _0x418085[_0x18677c(0x395)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x2d7)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x351)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x291)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x2ef)]:return{..._0x47fb3a,'data':_0x5a602e,'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['COMMENT_UPDATE']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x3e3)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x263)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e['updatePermissionObjEvent']},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085['SHOULD_CLOSE_CONN']:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x25a)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};case _0x418085[_0x18677c(0x429)]:return{..._0x47fb3a,'data':{..._0x5a602e,'data':_0x5a602e[_0x18677c(0x376)]},'cmd':_0x47fb3a[_0x18677c(0x2be)]};default:return _0x47fb3a;}}default:return _0x47fb3a;}}function ws(_0xbb5663){var _0x380e77=_0x332b6f;switch(_0xbb5663[_0x380e77(0x2be)]){case F[_0x380e77(0x334)]:case F[_0x380e77(0x1c5)]:return JSON[_0x380e77(0x25e)]({'cmd':_0xbb5663[_0x380e77(0x2be)],'routeKey':_0xbb5663[_0x380e77(0x23a)]});case F['INGEST']:{let _0x582b51;switch(_0xbb5663[_0x380e77(0x349)][_0x380e77(0x298)]){case _0x418085[_0x380e77(0x27e)]:{_0x582b51={'eventID':_0x418085['UPDATE_CURSOR'],'updateCursorEvent':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['USERS_LEAVE']:{_0x582b51={'eventID':_0x418085[_0x380e77(0x2ca)],'leaveEvent':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085[_0x380e77(0x241)]:{_0x582b51={'eventID':_0x418085['USERS_ENTER'],'joinEvent':_0xbb5663['data'][_0x380e77(0x349)]};break;}case _0x418085[_0x380e77(0x224)]:{_0x582b51={'eventID':_0x418085[_0x380e77(0x224)],'liveShareNewHost':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['LIVESHARE_OPERATION']:{_0x582b51={'eventID':_0x418085['LIVESHARE_OPERATION'],'liveShareOperation':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['LIVESHARE_TERMINATE']:{_0x582b51={'eventID':_0x418085['LIVESHARE_TERMINATE'],'liveShareTerminate':_0xbb5663[_0x380e77(0x349)][_0x380e77(0x349)]};break;}case _0x418085['LIVESHARE_REQUEST_HOST']:{_0x582b51={'eventID':_0x418085['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xbb5663[_0x380e77(0x349)]['data']};break;}case _0x418085[_0x380e77(0x203)]:{_0x582b51={'eventID':_0x418085[_0x380e77(0x203)]};break;}default:_0x582b51={'eventID':_0xbb5663[_0x380e77(0x349)]['eventID']};}return JSON['stringify']({'cmd':_0xbb5663[_0x380e77(0x2be)],'routeKey':_0xbb5663[_0x380e77(0x23a)],'collaMsg':_0x582b51});}case F[_0x380e77(0x31d)]:return JSON[_0x380e77(0x25e)]({'cmd':_0xbb5663['cmd'],'routeKey':_0xbb5663['routeKey'],'joinReq':_0xbb5663['data']});case F[_0x380e77(0x42e)]:return JSON[_0x380e77(0x25e)]({'cmd':_0xbb5663['cmd'],'routeKey':_0xbb5663[_0x380e77(0x23a)],'leaveReq':_0xbb5663['data']});default:throw new Error(_0x380e77(0x357));}}var Ps=Object[_0x332b6f(0x438)],Ls=(_0x481aa5,_0x5e0300,_0x383651,_0x19497c)=>{var _0x136e4f=_0x332b6f;for(var _0x917785=_0x19497c>0x1?void 0x0:_0x19497c?Ps(_0x5e0300,_0x383651):_0x5e0300,_0x3b2912=_0x481aa5[_0x136e4f(0x378)]-0x1,_0x3bcd5e;_0x3b2912>=0x0;_0x3b2912--)(_0x3bcd5e=_0x481aa5[_0x3b2912])&&(_0x917785=_0x3bcd5e(_0x917785)||_0x917785);return _0x917785;},Ue=(_0x2bcdac,_0x2c7417)=>(_0x370c3b,_0x5dc474)=>_0x2c7417(_0x370c3b,_0x5dc474,_0x2bcdac);const gi=_0x55085a('univer-pro.collaboration-client-socket-service');function _0x2301(_0x77b3ab,_0x3a16d6){var _0x57e49a=_0x57e4();return _0x2301=function(_0x2301c1,_0x1d399b){_0x2301c1=_0x2301c1-0x125;var _0x21b861=_0x57e49a[_0x2301c1];return _0x21b861;},_0x2301(_0x77b3ab,_0x3a16d6);}function Ms(_0x22fb23,_0x71eea5,_0x1bb662){var _0x3ee6fa=_0x332b6f;return _0x22fb23+'/'+_0x71eea5+_0x3ee6fa(0x3ff)+_0x1bb662+_0x3ee6fa(0x35b);}let Ft=class extends _0x401350{constructor(_0x41b0c8,_0x56311c,_0x7a138b,_0x4e38ae,_0x2d1200){var _0x150d9b=_0x332b6f;super(),this[_0x150d9b(0x300)]=_0x41b0c8,this[_0x150d9b(0x2ff)]=_0x56311c,this[_0x150d9b(0x3a8)]=_0x7a138b,this[_0x150d9b(0x3f5)]=_0x4e38ae,this[_0x150d9b(0x2a2)]=_0x2d1200;}[_0x332b6f(0x2a8)](_0x553f86){var _0x466ed5=_0x332b6f;const _0x3e8ff8=this[_0x466ed5(0x300)][_0x466ed5(0x292)](_0x526c1f);if(!_0x3e8ff8)throw new Error(_0x466ed5(0x186));const _0x4242d5=_0x3e8ff8[_0x466ed5(0x42d)](_0x553f86);if(!_0x4242d5)throw new Error(_0x466ed5(0x1eb));const _0x58f4b6=new _0x1eb90d(),_0x5abecf=new _0x1ac18f();_0x58f4b6[_0x466ed5(0x1d3)](_0x4242d5[_0x466ed5(0x17e)][_0x466ed5(0x166)](_0x343ff8=>_0x5abecf[_0x466ed5(0x2b8)](_0x343ff8))),_0x58f4b6[_0x466ed5(0x1d3)](_0x8a8554(()=>_0x5abecf[_0x466ed5(0x382)]()));const _0x4252b6=new _0x1ac18f();_0x58f4b6['add'](_0x4242d5[_0x466ed5(0x18c)]['subscribe'](_0x1ee716=>_0x4252b6['next'](_0x1ee716))),_0x58f4b6['add'](_0x8a8554(()=>_0x4252b6[_0x466ed5(0x382)]()));const _0x1a050b=new _0x1ac18f();_0x58f4b6['add'](_0x4242d5[_0x466ed5(0x3ac)]['subscribe'](_0x47d8e1=>{var _0x4a6328=_0x466ed5;const _0x3d2ab7=As(_0x47d8e1);_0x1a050b[_0x4a6328(0x2b8)](_0x3d2ab7);})),_0x58f4b6['add'](_0x8a8554(()=>_0x1a050b[_0x466ed5(0x382)]()));let _0x2c643e;const _0xb45769=()=>{var _0x120791=_0x466ed5;_0x4252b6[_0x120791(0x2b8)](new Event(_0x120791(0x254))),_0x5abecf[_0x120791(0x2b8)](new Event(_0x120791(0x254))),_0x2c643e[_0x120791(0x1e6)]();};return _0x2c643e={'memberID':'','close$':_0x5abecf[_0x466ed5(0x38a)](),'error$':_0x4252b6[_0x466ed5(0x38a)](),'open$':_0x4242d5[_0x466ed5(0x18e)],'message$':_0x1a050b[_0x466ed5(0x38a)](),'send':_0x16e13e=>{var _0x2e6288=_0x466ed5;if(_0x16e13e[_0x2e6288(0x2be)]===F['INGEST']){if(_0x16e13e[_0x2e6288(0x349)][_0x2e6288(0x298)]===_0x418085[_0x2e6288(0x338)]){this['_submitChangeset'](_0x2c643e,_0x16e13e[_0x2e6288(0x349)])[_0x2e6288(0x154)](_0x2cdcc5=>{var _0x5cc3e1=_0x2e6288;this[_0x5cc3e1(0x3f5)][_0x5cc3e1(0x160)](_0x2cdcc5),_0xb45769();});return;}if(_0x16e13e[_0x2e6288(0x349)][_0x2e6288(0x298)]===_0x418085['FETCH_MISSING']){const _0x11494d=_0x16e13e[_0x2e6288(0x349)];this[_0x2e6288(0x39e)](_0x11494d)[_0x2e6288(0x319)](_0x1fd144=>{var _0x549d0b=_0x2e6288;_0x1a050b['next']({'cmd':F[_0x549d0b(0x188)],'code':me['OK'],'routeKey':_0x11494d[_0x549d0b(0x349)][_0x549d0b(0x31a)],'routeType':'','data':{'eventID':_0x418085['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1fd144}}});})[_0x2e6288(0x154)](_0xb3ba7f=>{var _0x13e2c8=_0x2e6288;this[_0x13e2c8(0x3f5)][_0x13e2c8(0x160)](_0xb3ba7f),_0xb45769();});return;}}_0x4242d5[_0x2e6288(0x21f)](ws(_0x16e13e));},'close':()=>{var _0x171ee9=_0x466ed5;_0x4242d5['close'](),_0x58f4b6[_0x171ee9(0x3f3)]();}},_0x2c643e;}async[_0x332b6f(0x2fa)](_0x129977,_0x46ef7c){var _0x23fc50=_0x332b6f,_0x1c192c,_0x463332;const {unitType:_0x3b8b11,unitID:_0x1c0f46,changeset:_0x127a2a}=_0x46ef7c[_0x23fc50(0x349)],_0x3dde5f={'unitID':_0x1c0f46,'memberID':_0x129977[_0x23fc50(0x2a0)],'type':_0x3b8b11,'changeset':_0x53375b(_0x127a2a)},_0x57a6c1=this[_0x23fc50(0x3a8)][_0x23fc50(0x1ac)](Os),_0x10d9fd=this[_0x23fc50(0x3a8)]['getConfig'](K),_0x525345=Ms((_0x463332=(_0x1c192c=_0x10d9fd==null?void 0x0:_0x10d9fd[_0x23fc50(0x26e)])!=null?_0x1c192c:_0x57a6c1)!=null?_0x463332:bs,_0x3b8b11,_0x1c0f46);try{await this[_0x23fc50(0x2ff)][_0x23fc50(0x1a3)](_0x525345,{'body':_0x3dde5f});}catch(_0x3230df){throw this['_logService']['error'](_0x23fc50(0x2da),_0x23fc50(0x2fc)),_0x3230df;}}async[_0x332b6f(0x39e)](_0x49eb8a){var _0x554b51=_0x332b6f;const {unitID:_0xcd0df1,from:_0x23fce2,to:_0x1dc360,unitType:_0x5863d1}=_0x49eb8a['data'];return(await this[_0x554b51(0x2a2)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xcd0df1,'type':_0x5863d1,'from':_0x23fce2,'to':_0x1dc360}))[_0x554b51(0x38c)];}};Ft=Ls([Ue(0x0,_0x5e1e11(_0x226671)),Ue(0x1,_0x5e1e11(_0x50e32e)),Ue(0x2,_0x5747ff),Ue(0x3,_0x2ee83c),Ue(0x4,_0x5d5a89)],Ft);const xs='collaboration_new_changeset';function ks(_0x520154){var _0x535bf8=_0x332b6f;return JSON['stringify'](_0x520154)[_0x535bf8(0x378)];}class Si{constructor(){var _0x3cea24=_0x332b6f;N(this,'_commentUpdate$',new _0x1ac18f()),N(this,_0x3cea24(0x2e5),this[_0x3cea24(0x3a3)][_0x3cea24(0x38a)]());}[_0x332b6f(0x151)](_0x55d0f8){var _0x541c76=_0x332b6f;this[_0x541c76(0x3a3)][_0x541c76(0x2b8)](_0x55d0f8);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x735475,_0x308ba6,_0x4dca20,_0x2424aa)=>{var _0x23229b=_0x332b6f;for(var _0x278eff=_0x2424aa>0x1?void 0x0:_0x2424aa?$s(_0x308ba6,_0x4dca20):_0x308ba6,_0x1175d3=_0x735475[_0x23229b(0x378)]-0x1,_0x3cffdd;_0x1175d3>=0x0;_0x1175d3--)(_0x3cffdd=_0x735475[_0x1175d3])&&(_0x278eff=_0x3cffdd(_0x278eff)||_0x278eff);return _0x278eff;},Vt=(_0x56b41f,_0x339659)=>(_0x3dc78f,_0x152e86)=>_0x339659(_0x3dc78f,_0x152e86,_0x56b41f);let Pe=class extends _0x401350{constructor(_0x1a3840,_0xbfddf2){var _0x5b8ed9=_0x332b6f;super(),N(this,_0x5b8ed9(0x183),new Map()),N(this,'_roomCreated$',new _0x1ac18f()),(this[_0x5b8ed9(0x18d)]=_0x1a3840,this[_0x5b8ed9(0x391)]=_0xbfddf2,this[_0x5b8ed9(0x288)](_0x99efa5(this['_univerInstanceService'][_0x5b8ed9(0x1da)](_0x2db736[_0x5b8ed9(0x3fe)])[_0x5b8ed9(0x287)](_0x2f4302(_0x276b84=>_0x276b84[_0x5b8ed9(0x2bd)]())),this[_0x5b8ed9(0x18d)][_0x5b8ed9(0x1da)](_0x2db736[_0x5b8ed9(0x172)])[_0x5b8ed9(0x287)](_0x2f4302(_0x4998b6=>_0x4998b6[_0x5b8ed9(0x2bd)]())),this['_univerInstanceService'][_0x5b8ed9(0x1da)](_0x2db736[_0x5b8ed9(0x2fd)])[_0x5b8ed9(0x287)](_0x2f4302(_0xac29a7=>_0xac29a7[_0x5b8ed9(0x2bd)]())))[_0x5b8ed9(0x166)](_0x2e14c9=>this['_removeRoom'](_0x2e14c9))));}[_0x332b6f(0x368)](_0x1e9b55){var _0x292020=_0x332b6f;return this[_0x292020(0x183)][_0x292020(0x213)](_0x1e9b55)?_0x4bede0(this[_0x292020(0x183)]['get'](_0x1e9b55)):this['_roomCreated$']['pipe'](_0x2f4302(_0x145f6c=>{var _0x283ed9=_0x292020;if(_0x145f6c===_0x1e9b55)return this[_0x283ed9(0x183)]['get'](_0x145f6c);}));}[_0x332b6f(0x20b)](_0x36ced7){var _0x406d50=_0x332b6f;this[_0x406d50(0x391)]['setCurrentUser'](_0x36ced7);}[_0x332b6f(0x390)](){var _0xa6aa94=_0x332b6f;return this[_0xa6aa94(0x391)][_0xa6aa94(0x390)]();}[_0x332b6f(0x323)](_0x504e6a,_0x2b8e45){var _0x5e433e=_0x332b6f;let _0x2bc185=this[_0x5e433e(0x183)][_0x5e433e(0x292)](_0x504e6a);_0x2bc185||(_0x2bc185=new Bs(),this['_roomMembers'][_0x5e433e(0x19f)](_0x504e6a,_0x2bc185),this[_0x5e433e(0x1ab)][_0x5e433e(0x2b8)](_0x504e6a)),_0x2bc185['updateMember'](_0x2b8e45);}[_0x332b6f(0x366)](_0x5002be,_0x13c26e){var _0x5b385e=_0x332b6f;const _0xe06ab4=this['_roomMembers'][_0x5b385e(0x292)](_0x5002be);_0xe06ab4&&_0xe06ab4[_0x5b385e(0x366)](_0x13c26e);}[_0x332b6f(0x3d6)](_0x4f18de){var _0x7ef915=_0x332b6f;return this[_0x7ef915(0x183)][_0x7ef915(0x292)](_0x4f18de);}[_0x332b6f(0x393)](_0x3b8526,_0x54fb1b){var _0x453154=_0x332b6f;const _0x3627e2=this[_0x453154(0x183)][_0x453154(0x292)](_0x3b8526);if(_0x3627e2)return _0x3627e2[_0x453154(0x393)](_0x54fb1b);}['_removeRoom'](_0x401a77){var _0x2409fe=_0x332b6f;const _0x51bbd9=this[_0x2409fe(0x183)][_0x2409fe(0x292)](_0x401a77);_0x51bbd9&&(_0x51bbd9[_0x2409fe(0x3f3)](),this[_0x2409fe(0x183)]['delete'](_0x401a77));}['dispose'](){var _0x3145fd=_0x332b6f;this[_0x3145fd(0x183)][_0x3145fd(0x31c)](_0x4d8dbb=>_0x4d8dbb[_0x3145fd(0x3f3)]()),this[_0x3145fd(0x183)][_0x3145fd(0x2e6)](),this[_0x3145fd(0x1ab)]['complete']();}};Pe=Hs([Vt(0x0,_0x47549b),Vt(0x1,_0x5e1e11(_0x166568))],Pe);class Bs extends _0x401350{constructor(){var _0x2fc196=_0x332b6f;super(...arguments),N(this,_0x2fc196(0x126),new Map()),N(this,_0x2fc196(0x2bb),new _0x400ec0(this[_0x2fc196(0x126)])),N(this,_0x2fc196(0x2aa),this[_0x2fc196(0x2bb)][_0x2fc196(0x38a)]());}[_0x332b6f(0x3f3)](){var _0x3ad8e9=_0x332b6f;this[_0x3ad8e9(0x126)][_0x3ad8e9(0x2e6)]();}['updateMember'](_0x31194c){var _0x42d580=_0x332b6f;this[_0x42d580(0x126)][_0x42d580(0x19f)](_0x31194c[_0x42d580(0x2a0)],_0x31194c),this[_0x42d580(0x399)]();}[_0x332b6f(0x366)](_0x294c65){var _0xfb181a=_0x332b6f;this['_members'][_0xfb181a(0x2ae)](_0x294c65);}[_0x332b6f(0x393)](_0x45e0ee){var _0x1718ea=_0x332b6f;return this[_0x1718ea(0x126)][_0x1718ea(0x292)](_0x45e0ee);}[_0x332b6f(0x2c0)](){var _0x3f9832=_0x332b6f;return Array[_0x3f9832(0x3f0)](this['_members'][_0x3f9832(0x235)]());}['_emitMembers'](){var _0x3ce9f8=_0x332b6f;this['_members$'][_0x3ce9f8(0x2b8)](this[_0x3ce9f8(0x126)]);}}var js=Object[_0x332b6f(0x438)],Fs=(_0x962fea,_0x2d65c3,_0x5c0b3e,_0x5b9d2e)=>{for(var _0x5dabf0=_0x5b9d2e>0x1?void 0x0:_0x5b9d2e?js(_0x2d65c3,_0x5c0b3e):_0x2d65c3,_0x4f8904=_0x962fea['length']-0x1,_0x191241;_0x4f8904>=0x0;_0x4f8904--)(_0x191241=_0x962fea[_0x4f8904])&&(_0x5dabf0=_0x191241(_0x5dabf0)||_0x5dabf0);return _0x5dabf0;},pe=(_0x197e4c,_0x28620c)=>(_0x590c2a,_0x148d0c)=>_0x28620c(_0x590c2a,_0x148d0c,_0x197e4c),Se=(_0x1a76a3=>(_0x1a76a3[_0x1a76a3[_0x332b6f(0x36f)]=0x0]=_0x332b6f(0x36f),_0x1a76a3[_0x1a76a3['JOINING']=0x1]=_0x332b6f(0x13e),_0x1a76a3[_0x1a76a3[_0x332b6f(0x433)]=0x2]=_0x332b6f(0x433),_0x1a76a3[_0x1a76a3[_0x332b6f(0x258)]=0x3]=_0x332b6f(0x258),_0x1a76a3))(Se||{});const Gt={[me[_0x332b6f(0x150)]]:_0x332b6f(0x24f),[me['JOIN_ROOM_FULL']]:_0x332b6f(0x35c),[me[_0x332b6f(0x2c6)]]:_0x332b6f(0x33d),[me[_0x332b6f(0x33f)]]:_0x332b6f(0x417),[me[_0x332b6f(0x1ce)]]:'session.room-cnt-exceeds'};let gt=class extends _0x5861e5{constructor(_0x5439fb,_0x1b8033,_0x5cfb9c,_0x2a331f,_0x7688fe,_0x3a3e21,_0x4097ec,_0x46d4a8,_0x2ad77a){var _0x4fb292=_0x332b6f;super(),N(this,_0x4fb292(0x250),new _0x400ec0(0x0)),N(this,'sessionStatus$',this[_0x4fb292(0x250)]['asObservable']()),N(this,_0x4fb292(0x312),new _0x1ac18f()),N(this,_0x4fb292(0x361),this[_0x4fb292(0x312)][_0x4fb292(0x38a)]()),N(this,'_socket'),N(this,_0x4fb292(0x3a0)),N(this,_0x4fb292(0x269)),N(this,_0x4fb292(0x38e),!0x1),N(this,_0x4fb292(0x370),null),(this['_unitID']=_0x5439fb,this[_0x4fb292(0x3f5)]=_0x5cfb9c,this[_0x4fb292(0x3a8)]=_0x2a331f,this[_0x4fb292(0x255)]=_0x7688fe,this['_memberService']=_0x3a3e21,this[_0x4fb292(0x37d)]=_0x4097ec,this[_0x4fb292(0x30a)]=_0x46d4a8,this[_0x4fb292(0x1b1)]=_0x2ad77a,this[_0x4fb292(0x38e)]=!!this[_0x4fb292(0x1b1)],_0x1b8033[_0x4fb292(0x287)](_0xa96493(this[_0x4fb292(0x41b)]))[_0x4fb292(0x166)](_0x41bbb0=>{var _0x5507ca=_0x4fb292,_0x3efa17;typeof _0x41bbb0>'u'||(this['_socket']=_0x41bbb0,_0x41bbb0?(this[_0x5507ca(0x348)](_0x41bbb0),this[_0x5507ca(0x3a0)]=_0x41bbb0[_0x5507ca(0x3ac)]['subscribe'](_0x19aa41=>{var _0x597631=_0x5507ca;_0x19aa41[_0x597631(0x23a)]===this['_unitID']&&this['_onCombEvent'](_0x19aa41);})):(this[_0x5507ca(0x41f)](),this[_0x5507ca(0x250)][_0x5507ca(0x2b8)](0x2),(_0x3efa17=this[_0x5507ca(0x3a0)])==null||_0x3efa17['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x332b6f(0x3a6)](){var _0x3363ff=_0x332b6f;return this[_0x3363ff(0x250)][_0x3363ff(0x1c6)]();}[_0x332b6f(0x270)](){var _0x596288=_0x332b6f,_0x1fb654,_0x4e6587;return(_0x4e6587=(_0x1fb654=this[_0x596288(0x381)])==null?void 0x0:_0x1fb654['memberID'])!=null?_0x4e6587:null;}['dispose'](){var _0x3e1312=_0x332b6f;super[_0x3e1312(0x3f3)](),this[_0x3e1312(0x41b)][_0x3e1312(0x2b8)](),this[_0x3e1312(0x41b)][_0x3e1312(0x382)]();}[_0x332b6f(0x1e6)](){var _0x207269=_0x332b6f,_0x482ffd,_0x33fd2a;this[_0x207269(0x41f)](),(_0x482ffd=this['_socket'])==null||_0x482ffd[_0x207269(0x21f)]({'cmd':F[_0x207269(0x42e)],'data':{'roomID':this[_0x207269(0x1e8)]}}),(_0x33fd2a=this[_0x207269(0x381)])==null||_0x33fd2a[_0x207269(0x1e6)](),this[_0x207269(0x312)]['complete'](),this[_0x207269(0x250)]['complete'](),this[_0x207269(0x3f3)]();}['_onCombEvent'](_0x2cf8b1){var _0x5ab6a6=_0x332b6f;_0x2cf8b1['cmd']===F[_0x5ab6a6(0x31d)]?this[_0x5ab6a6(0x2e9)](_0x2cf8b1):_0x2cf8b1[_0x5ab6a6(0x2be)]===F[_0x5ab6a6(0x188)]&&this[_0x5ab6a6(0x2f6)](_0x2cf8b1);}[_0x332b6f(0x348)](_0x5d12e8){var _0x3f0deb=_0x332b6f;this['_sessionStatus$']['next'](0x1),_0x5d12e8[_0x3f0deb(0x21f)]({'cmd':F[_0x3f0deb(0x31d)],'routeKey':this[_0x3f0deb(0x1e8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f0deb(0x1e8)]}]}});}[_0x332b6f(0x2e9)](_0x12e2ec){var _0x80de34=_0x332b6f,_0x41ff72;if(_0x12e2ec[_0x80de34(0x14a)]in Gt){this['_collaborationUIEventService'][_0x80de34(0x406)]({'id':ne[_0x80de34(0x1c0)],'data':Gt[_0x12e2ec['code']]}),this[_0x80de34(0x250)][_0x80de34(0x2b8)](0x2);return;}this[_0x80de34(0x250)]['next'](0x3);const _0x155144=(_0x41ff72=_0x12e2ec['data'][_0x80de34(0x24a)][this[_0x80de34(0x1e8)]])==null?void 0x0:_0x41ff72[_0x80de34(0x1d0)];_0x155144&&_0x155144[_0x80de34(0x31c)](_0x29df42=>this['_memberService']['updateMember'](this[_0x80de34(0x1e8)],_0x29df42));}[_0x332b6f(0x2f6)](_0x158376){var _0x31690b=_0x332b6f;try{const _0xed443b=_0x158376[_0x31690b(0x349)];switch(_0xed443b['eventID']){case _0x418085[_0x31690b(0x241)]:this[_0x31690b(0x2d4)](_0xed443b),this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);break;case _0x418085[_0x31690b(0x2ca)]:this[_0x31690b(0x297)](_0xed443b),this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);break;case _0x418085['CHANGESET_ACK']:case _0x418085[_0x31690b(0x325)]:this[_0x31690b(0x1bf)](),this['_clearCollaborationTimeoutTimer'](),this[_0x31690b(0x312)]['next'](_0xed443b);break;case _0x418085[_0x31690b(0x2ef)]:this[_0x31690b(0x3f5)][_0x31690b(0x160)](_0x31690b(0x217)+JSON['stringify'](_0xed443b)),this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);break;case _0x418085['COMMENT_UPDATE']:this[_0x31690b(0x37d)][_0x31690b(0x151)](_0xed443b[_0x31690b(0x349)]),this[_0x31690b(0x312)]['next'](_0xed443b);break;default:this[_0x31690b(0x312)][_0x31690b(0x2b8)](_0xed443b);}}catch(_0xd05ff1){this[_0x31690b(0x3f5)]['error'](_0xd05ff1,_0x158376);}}[_0x332b6f(0x2d4)](_0x8b2fef){var _0x604e32=_0x332b6f;this[_0x604e32(0x27b)][_0x604e32(0x323)](this[_0x604e32(0x1e8)],_0x8b2fef[_0x604e32(0x349)]);}[_0x332b6f(0x297)](_0x24f440){var _0x3585cf=_0x332b6f;this[_0x3585cf(0x27b)][_0x3585cf(0x366)](this[_0x3585cf(0x1e8)],_0x24f440[_0x3585cf(0x349)][_0x3585cf(0x2a0)]);}async[_0x332b6f(0x21f)](_0x6cb771,_0x5bb46e){var _0x4014d7=_0x332b6f;if(this[_0x4014d7(0x3a6)]!==0x3||!this['_socket'])throw new Error(_0x4014d7(0x165));try{_0x6cb771[_0x4014d7(0x298)]===_0x418085['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4014d7(0x373)](_0x6cb771)),this[_0x4014d7(0x381)][_0x4014d7(0x21f)]({'cmd':F['INGEST'],'routeKey':_0x5bb46e,'routeType':'','data':_0x6cb771});}catch(_0x4444dc){this[_0x4014d7(0x3f5)]['error'](_0x4444dc);}}[_0x332b6f(0x282)](){var _0xaebb38=_0x332b6f,_0xc18509;this[_0xaebb38(0x269)]=setTimeout(()=>{var _0x57bdbe=_0xaebb38;this[_0x57bdbe(0x269)]=null,this['_collaborationUIEventService'][_0x57bdbe(0x406)]({'id':ne[_0x57bdbe(0x15a)]});},(_0xc18509=this[_0xaebb38(0x3a8)][_0xaebb38(0x1ac)](fi))!=null?_0xc18509:vi);}[_0x332b6f(0x327)](){var _0x34b4e5=_0x332b6f;this[_0x34b4e5(0x269)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x34b4e5(0x269)]=null);}[_0x332b6f(0x373)](_0x5322b8){var _0x39191a=_0x332b6f;if(!this[_0x39191a(0x38e)])return;const {data:_0x55fb5b}=_0x5322b8,{unitID:_0x10ab4d,changeset:_0x1b4894}=_0x55fb5b,{mutations:_0x29736a,type:_0x32b3bd}=_0x1b4894;this['_telemetryInfo']={'unitId':_0x10ab4d,'type':_0x32b3bd,'startTime':performance[_0x39191a(0x27d)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x29736a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1600bb=_0x332b6f;if(this[_0x1600bb(0x38e)]){if(!this[_0x1600bb(0x370)]){this[_0x1600bb(0x3f5)][_0x1600bb(0x160)]('[CollaborationSession]',_0x1600bb(0x3e2));return;}this[_0x1600bb(0x370)][_0x1600bb(0x2cb)]=performance[_0x1600bb(0x27d)](),this[_0x1600bb(0x370)][_0x1600bb(0x13f)]=this['_telemetryInfo'][_0x1600bb(0x2cb)]-this['_telemetryInfo'][_0x1600bb(0x25c)],this[_0x1600bb(0x1b1)][_0x1600bb(0x22e)](xs,this[_0x1600bb(0x370)]),this['_telemetryInfo']=null;}}[_0x332b6f(0x41f)](){var _0x3697de=_0x332b6f;this[_0x3697de(0x370)]=null;}};gt=Fs([pe(0x2,_0x2ee83c),pe(0x3,_0x5747ff),pe(0x4,_0x5e1e11(_0x2a03f0)),pe(0x5,_0x5e1e11(Pe)),pe(0x6,_0x5e1e11(Si)),pe(0x7,_0x5e1e11(ve)),pe(0x8,_0x2b6ae4(_0x9d820b))],gt);var Vs=Object[_0x332b6f(0x438)],Gs=(_0x1632eb,_0x2c6e2f,_0x278d80,_0x363866)=>{for(var _0x447c68=_0x363866>0x1?void 0x0:_0x363866?Vs(_0x2c6e2f,_0x278d80):_0x2c6e2f,_0x141a5c=_0x1632eb['length']-0x1,_0x42622c;_0x141a5c>=0x0;_0x141a5c--)(_0x42622c=_0x1632eb[_0x141a5c])&&(_0x447c68=_0x42622c(_0x447c68)||_0x447c68);return _0x447c68;},Re=(_0x5431bd,_0x25b9cb)=>(_0x1e205c,_0x48e4b2)=>_0x25b9cb(_0x1e205c,_0x48e4b2,_0x5431bd);let Le=class extends _0x401350{constructor(_0x3e21ce,_0x3599a0,_0x44ff34,_0x20f534,_0x36ed69,_0x4fd7f4){var _0x1c3b31=_0x332b6f;super(),N(this,_0x1c3b31(0x39b),new _0x400ec0(void 0x0)),N(this,_0x1c3b31(0x16a),this[_0x1c3b31(0x39b)][_0x1c3b31(0x38a)]()),N(this,_0x1c3b31(0x309),null),N(this,_0x1c3b31(0x2dd),new Map()),N(this,'_status$',new _0x400ec0(Se['IDLE'])),N(this,_0x1c3b31(0x1d8),this[_0x1c3b31(0x35e)][_0x1c3b31(0x38a)]()),N(this,_0x1c3b31(0x159),!0x1),N(this,_0x1c3b31(0x31e)),N(this,_0x1c3b31(0x27a),0x0),N(this,_0x1c3b31(0x1f8)),N(this,_0x1c3b31(0x22b)),(this[_0x1c3b31(0x300)]=_0x3e21ce,this[_0x1c3b31(0x3f5)]=_0x3599a0,this['_configService']=_0x44ff34,this['_socketService']=_0x20f534,this[_0x1c3b31(0x30a)]=_0x36ed69,this[_0x1c3b31(0x273)]=_0x4fd7f4,this[_0x1c3b31(0x33e)]());}get[_0x332b6f(0x381)](){var _0x517c81=_0x332b6f;return this['_socket$'][_0x517c81(0x1c6)]();}[_0x332b6f(0x33e)](){var _0x8d9b95=_0x332b6f;this[_0x8d9b95(0x273)]&&this[_0x8d9b95(0x288)](this[_0x8d9b95(0x273)][_0x8d9b95(0x214)]['subscribe'](_0x342ab0=>{var _0x4c27db=_0x8d9b95;_0x342ab0&&!this[_0x4c27db(0x381)]&&this[_0x4c27db(0x326)](),_0x342ab0||this['_onOffline']();}));}['dispose'](){var _0x120d46=_0x332b6f;super['dispose'](),this[_0x120d46(0x3fb)](),this[_0x120d46(0x245)](),this[_0x120d46(0x1a0)](),this[_0x120d46(0x2dd)][_0x120d46(0x31c)](_0x3248f3=>_0x3248f3[_0x120d46(0x3f3)]()),this[_0x120d46(0x2dd)][_0x120d46(0x2e6)](),this['_status$']['complete']();}async[_0x332b6f(0x249)](_0x625966){var _0x3ccc19=_0x332b6f;if(this[_0x3ccc19(0x2dd)]['has'](_0x625966))return this[_0x3ccc19(0x2dd)][_0x3ccc19(0x292)](_0x625966);this[_0x3ccc19(0x1ef)]();const _0x32d4ca=this[_0x3ccc19(0x300)]['createInstance'](gt,_0x625966,this[_0x3ccc19(0x39b)]['asObservable']());return this['_sessions']['set'](_0x625966,_0x32d4ca),_0x32d4ca;}[_0x332b6f(0x436)](_0x598293){var _0x597e7e=_0x332b6f,_0x5f2260;const _0x52e671=this[_0x597e7e(0x2dd)][_0x597e7e(0x292)](_0x598293);_0x52e671&&(this[_0x597e7e(0x2dd)][_0x597e7e(0x2ae)](_0x598293),_0x52e671[_0x597e7e(0x1e6)]()),this['_sessions'][_0x597e7e(0x39c)]||(_0x5f2260=this[_0x597e7e(0x381)])==null||_0x5f2260['close']();}[_0x332b6f(0x326)](){var _0x542875=_0x332b6f;this[_0x542875(0x27a)]=0x0,this[_0x542875(0x3fb)](),this[_0x542875(0x40c)]();}[_0x332b6f(0x3fb)](){var _0xc6308e=_0x332b6f;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xc6308e(0x31e)]),this[_0xc6308e(0x31e)]=null);}async[_0x332b6f(0x140)](){var _0x17fffb=_0x332b6f,_0x57ec87,_0x327cd4;const _0xd35a0f=this['_configService'][_0x17fffb(0x1ac)](gs),_0x2f296c=this['_configService'][_0x17fffb(0x1ac)](K),_0x40bf91=(_0x327cd4=(_0x57ec87=_0x2f296c==null?void 0x0:_0x2f296c[_0x17fffb(0x21a)])!=null?_0x57ec87:_0xd35a0f)!=null?_0x327cd4:Ss,_0x25aac9=await this[_0x17fffb(0x32f)][_0x17fffb(0x42d)](_0x40bf91);return this[_0x17fffb(0x309)]=_0x25aac9,_0x25aac9;}async[_0x332b6f(0x1ef)](){var _0x49e4d9=_0x332b6f,_0x35e6dc,_0x2d8fb7;try{const _0x4d8bed=(_0x2d8fb7=(_0x35e6dc=this['_socket'])!=null?_0x35e6dc:this[_0x49e4d9(0x309)])!=null?_0x2d8fb7:await this[_0x49e4d9(0x140)]();if(_0x4d8bed){const _0x537613=_0x4d8bed[_0x49e4d9(0x21f)];_0x4d8bed[_0x49e4d9(0x21f)]=_0x4f61cc=>(this[_0x49e4d9(0x3f8)](),_0x537613[_0x49e4d9(0x127)](_0x4d8bed,[_0x4f61cc])),_0x4d8bed[_0x49e4d9(0x3ac)][_0x49e4d9(0x166)](_0x2bfd60=>this[_0x49e4d9(0x3c2)](_0x4d8bed,_0x2bfd60)),_0x4d8bed['error$'][_0x49e4d9(0x287)](_0x12e6af(0x1))[_0x49e4d9(0x166)](_0x27b8e4=>this[_0x49e4d9(0x3f5)][_0x49e4d9(0x160)](_0x49e4d9(0x189),_0x27b8e4)),_0x4d8bed[_0x49e4d9(0x18e)]['pipe'](_0x12e6af(0x1))[_0x49e4d9(0x166)](()=>{this['_onConnectionOpen'](_0x4d8bed);}),_0x4d8bed['close$']['pipe'](_0x12e6af(0x1))[_0x49e4d9(0x166)](_0x2e4429=>{var _0x1d5140=_0x49e4d9;this['_logService'][_0x1d5140(0x158)]('[CollaborationSessionService]',_0x1d5140(0x187),_0x2e4429),this['_onConnectionFailed']();});}}catch(_0x29a1e3){this['_logService'][_0x49e4d9(0x160)](_0x29a1e3),this[_0x49e4d9(0x435)]();}}[_0x332b6f(0x3d9)](_0x23c1ee){var _0x55d21d=_0x332b6f;this[_0x55d21d(0x3f5)]['debug'](_0x55d21d(0x342),_0x55d21d(0x34f)),_0x23c1ee[_0x55d21d(0x21f)]({'cmd':F[_0x55d21d(0x1c5)]}),this[_0x55d21d(0x3f8)]();}['_onOffline'](){var _0x2729b3=_0x332b6f;this[_0x2729b3(0x159)]=!0x1,this[_0x2729b3(0x309)]=null,this[_0x2729b3(0x35e)][_0x2729b3(0x2b8)](Se[_0x2729b3(0x433)]),this[_0x2729b3(0x39b)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x1b57ce=_0x332b6f,_0x1d6055;this[_0x1b57ce(0x15e)](),this[_0x1b57ce(0x27a)]<((_0x1d6055=this[_0x1b57ce(0x3a8)][_0x1b57ce(0x1ac)](Cs))!=null?_0x1d6055:Rs)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x1b57ce(0x398)]}),this[_0x1b57ce(0x40c)]()):this['_collaborationUIEventService'][_0x1b57ce(0x406)]({'id':ne['SOCKET_FAILED']});}[_0x332b6f(0x40c)](){var _0x2585f8=_0x332b6f,_0x45ce42;const _0x4edeaf=this[_0x2585f8(0x27a)],_0x18cf6d=this[_0x2585f8(0x3a8)]['getConfig'](K),_0x15deee=_0x4edeaf===0x0?0x0:((_0x45ce42=_0x18cf6d==null?void 0x0:_0x18cf6d[_0x2585f8(0x39d)])!=null?_0x45ce42:Ts)*0x2**_0x4edeaf;this[_0x2585f8(0x31e)]=setTimeout(()=>{var _0x87866b=_0x2585f8;clearTimeout(this[_0x87866b(0x31e)]),this[_0x87866b(0x31e)]=null,this['_tryEnsureSocket']();},_0x15deee),this['_retryCount']+=0x1;}[_0x332b6f(0x3c2)](_0xb56b3e,_0x50522b){var _0x50ea8c=_0x332b6f;const {cmd:_0x31b7cc}=_0x50522b;_0x31b7cc===F[_0x50ea8c(0x1c5)]&&!this[_0x50ea8c(0x159)]&&(_0xb56b3e['memberID']=_0x50522b['data'][_0x50ea8c(0x2a0)],this['_socket$']['next'](_0xb56b3e),this[_0x50ea8c(0x35e)][_0x50ea8c(0x2b8)](Se[_0x50ea8c(0x258)]),this[_0x50ea8c(0x159)]=!0x0,this['_candidateSocket']=null),_0x31b7cc===F[_0x50ea8c(0x334)]&&this[_0x50ea8c(0x245)](),this[_0x50ea8c(0x3f8)]();}[_0x332b6f(0x3f8)](){var _0xeb2933=_0x332b6f,_0x493c05;this[_0xeb2933(0x1a0)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xeb2933(0x144)](),(_0x493c05=this['_configService'][_0xeb2933(0x1ac)](Es))!=null?_0x493c05:Is);}[_0x332b6f(0x144)](){var _0x1778ad=_0x332b6f;this[_0x1778ad(0x381)]['send']({'cmd':F[_0x1778ad(0x334)]}),this[_0x1778ad(0x3b6)]();}[_0x332b6f(0x3b6)](){var _0x2d35ad=_0x332b6f,_0x557033;this[_0x2d35ad(0x22b)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x557033=this['_configService'][_0x2d35ad(0x1ac)](fi))!=null?_0x557033:vi);}[_0x332b6f(0x1a0)](){var _0x48fd96=_0x332b6f;this[_0x48fd96(0x1f8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x332b6f(0x245)](){var _0x55cadd=_0x332b6f;this[_0x55cadd(0x22b)]!=null&&(clearTimeout(this[_0x55cadd(0x22b)]),this[_0x55cadd(0x22b)]=null);}};Le=Gs([Re(0x0,_0x5e1e11(_0x226671)),Re(0x1,_0x2ee83c),Re(0x2,_0x5747ff),Re(0x3,gi),Re(0x4,_0x5e1e11(ve)),Re(0x5,_0x2b6ae4(Us))],Le);const J=_0x55085a(_0x332b6f(0x16b));function Pr(_0x304dd9){return'unit-cache-'+_0x304dd9;}var Ys=Object[_0x332b6f(0x438)],Ws=(_0x3ba346,_0x26ff60,_0x1ea38a,_0x2520d5)=>{var _0x362ad2=_0x332b6f;for(var _0x28c2ad=_0x2520d5>0x1?void 0x0:_0x2520d5?Ys(_0x26ff60,_0x1ea38a):_0x26ff60,_0x35493d=_0x3ba346[_0x362ad2(0x378)]-0x1,_0x4265d1;_0x35493d>=0x0;_0x35493d--)(_0x4265d1=_0x3ba346[_0x35493d])&&(_0x28c2ad=_0x4265d1(_0x28c2ad)||_0x28c2ad);return _0x28c2ad;},ut=(_0x3d9358,_0x7d58ae)=>(_0x16553d,_0x56bd08)=>_0x7d58ae(_0x16553d,_0x56bd08,_0x3d9358);function Ks(_0x4640c4){var _0x4abdbd=_0x332b6f;const {unitID:_0x4cca13,mutations:_0x5f3e90}=_0x4640c4;return{'unitId':_0x4cca13,'subUnitId':_0x5f3e90[0x0][_0x4abdbd(0x14d)][_0x4abdbd(0x179)]};}let it=class{constructor(_0x50048e,_0x41f10e,_0x252658){var _0x19f480=_0x332b6f;this['_injector']=_0x50048e,this[_0x19f480(0x32e)]=_0x41f10e,this[_0x19f480(0x1f0)]=_0x252658;}['transformSelections'](_0x35cee0){var _0x9ad73d=_0x332b6f,_0x360d32,_0x110617,_0x295fc1,_0x3a33bc;const _0x152442=this[_0x9ad73d(0x300)][_0x9ad73d(0x292)](_0x30c5f4),{unitId:_0x37e028,subUnitId:_0x189f66}=Ks(_0x35cee0),_0x34fd7d=_0x152442==null?void 0x0:_0x152442[_0x9ad73d(0x407)](_0x37e028)[_0x9ad73d(0x3f4)](),_0x1e3493=(_0x110617=(_0x360d32=this[_0x9ad73d(0x1f0)][_0x9ad73d(0x27c)](_0x37e028))==null?void 0x0:_0x360d32[_0x9ad73d(0x236)]())==null?void 0x0:_0x110617[_0x9ad73d(0x3ef)]();if(_0x34fd7d['length']===0x0||!_0x37e028||!_0x189f66)return;const _0x3a5e56=[{'id':_0x2cfc9d['id'],'params':{'unitId':_0x37e028,'subUnitId':_0x1e3493,'selections':_0x4e273e[_0x9ad73d(0x180)](_0x34fd7d)}}],_0x5a61e5=this[_0x9ad73d(0x32e)][_0x9ad73d(0x303)](_0x35cee0,_0x3a5e56);if(!_0x3665e5(_0x5a61e5))throw _0x5a61e5[_0x9ad73d(0x160)];const _0x56c8bf=(_0x3a33bc=(_0x295fc1=_0x5a61e5[_0x9ad73d(0x321)][0x0])==null?void 0x0:_0x295fc1['params'])==null?void 0x0:_0x3a33bc['selections'];if(Array['isArray'](_0x56c8bf)&&_0x56c8bf['length']){if(_0x56c8bf[_0x9ad73d(0x378)]===_0x3a5e56[0x0][_0x9ad73d(0x14d)]['selections'][_0x9ad73d(0x378)]&&_0x56c8bf[_0x9ad73d(0x14c)]((_0x4968b4,_0xa3790c)=>_0x3c7a2a[_0x9ad73d(0x18a)](_0x4968b4[_0x9ad73d(0x329)],_0x3a5e56[0x0][_0x9ad73d(0x14d)]['selections'][_0xa3790c][_0x9ad73d(0x329)])))return;this[_0x9ad73d(0x300)]['get'](_0x499b8d)[_0x9ad73d(0x29a)](_0x2cfc9d['id'],{'unitId':_0x37e028,'subUnitId':_0x1e3493,'selections':_0x56c8bf});}}};it=Ws([ut(0x0,_0x5e1e11(_0x226671)),ut(0x1,_0x1eb68a),ut(0x2,_0x47549b)],it);const ht=_0x55085a(_0x332b6f(0x2c5));var Ei=(_0xed12e=>(_0xed12e[_0xed12e[_0x332b6f(0x16c)]=0x0]=_0x332b6f(0x16c),_0xed12e[_0xed12e['OTHER_CLIENTS_EDITING']=0x1]=_0x332b6f(0x19d),_0xed12e))(Ei||{});const qs=new Set([_0x499ac5['id']]);function Yt(_0x5f0242,_0x54584f,_0x2e7ea4,_0x233ba8,_0x34451e){var _0x152f30=_0x332b6f,_0x3d684d,_0x4e33c3,_0x3caa6b,_0x2a11a7;const _0x410fb0=[];for(const _0x4864a4 of _0x5f0242)if(qs[_0x152f30(0x213)](_0x4864a4['id'])){if(_0x410fb0[_0x152f30(0x378)]>0x0)break;_0x410fb0[_0x152f30(0x16f)](_0x4864a4);break;}else _0x410fb0['push'](_0x4864a4);const _0x3ab99c=(_0x4e33c3=(_0x3d684d=_0x34451e[_0x152f30(0x390)]())==null?void 0x0:_0x3d684d[_0x152f30(0x3d2)])!=null?_0x4e33c3:_0x152f30(0x227),_0x4140de=(_0x2a11a7=(_0x3caa6b=_0x34451e[_0x152f30(0x390)]())==null?void 0x0:_0x3caa6b[_0x152f30(0x2a0)])!=null?_0x2a11a7:'unknown';return{'changeset':{'unitID':_0x54584f,'type':_0xb447eb(_0x2e7ea4['getUnitType'](_0x54584f)),'baseRev':_0x233ba8['getCurrentRevOfUnit'](_0x54584f),'revision':0x0,'userID':_0x3ab99c,'memberID':_0x4140de,'mutations':_0x410fb0},'pendingMutations':_0x5f0242[_0x152f30(0x2ba)](_0x410fb0[_0x152f30(0x378)])};}function zs(_0xe7b8c0,_0x32f65a,_0x36c217,_0x5dbfe2,_0x29994d){var _0x210123=_0x332b6f,_0x47c295,_0x39499d,_0x2416ad,_0x5a2b6e;const _0x16f5e6=[_0xe7b8c0[_0x210123(0x1cc)]((_0x737181,_0x17438d)=>{var _0x10f7dc=_0x210123,_0x2a1b8a;const {id:_0x59dbf2}=_0x737181,{id:_0x5814bd,type:_0x47de31}=_0x17438d,_0x1d7e5c=(_0x2a1b8a=_0x737181['params'])!=null?_0x2a1b8a:{'actions':null},_0x3d701a=_0x17438d[_0x10f7dc(0x14d)];if(_0x59dbf2&&_0x59dbf2!==_0x5814bd)throw new Error(_0x10f7dc(0x225)+_0x59dbf2+_0x10f7dc(0x3ce)+_0x5814bd+'.');return{..._0x737181,'id':_0x5814bd,'type':_0x47de31,'params':{'unitId':_0x3d701a[_0x10f7dc(0x1fe)],'textRanges':_0x3d701a['textRanges'],'actions':_0x9fef84[_0x10f7dc(0x40e)](_0x1d7e5c['actions'],_0x3d701a[_0x10f7dc(0x27f)])}};},{})],_0x105613=(_0x39499d=(_0x47c295=_0x29994d[_0x210123(0x390)]())==null?void 0x0:_0x47c295[_0x210123(0x3d2)])!=null?_0x39499d:'unknown',_0x5b4aec=(_0x5a2b6e=(_0x2416ad=_0x29994d[_0x210123(0x390)]())==null?void 0x0:_0x2416ad['memberID'])!=null?_0x5a2b6e:'unknown';return{'changeset':{'unitID':_0x32f65a,'type':_0xb447eb(_0x36c217[_0x210123(0x400)](_0x32f65a)),'baseRev':_0x5dbfe2['getCurrentRevOfUnit'](_0x32f65a),'revision':0x0,'userID':_0x105613,'memberID':_0x5b4aec,'mutations':_0x16f5e6},'pendingMutations':[]};}function Ii(_0xe1c251,_0x162e9f){var _0x21ff81=_0x332b6f;const _0xed7050=new _0x4a0934(0x1);return setTimeout(()=>_0xed7050['next'](_0x162e9f),_0xe1c251),_0xed7050[_0x21ff81(0x38a)]()[_0x21ff81(0x287)](_0x286f91(0x1));}const Js={'id':_0x287add['id'],'type':_0x2bca99[_0x332b6f(0x3e1)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0xcec216,_0x270efc,_0xbb0ad1,_0x2b46e5)=>{var _0x4c9a87=_0x332b6f;for(var _0x218ce9=_0x2b46e5>0x1?void 0x0:_0x2b46e5?Xs(_0x270efc,_0xbb0ad1):_0x270efc,_0x5d6f93=_0xcec216[_0x4c9a87(0x378)]-0x1,_0x1a3542;_0x5d6f93>=0x0;_0x5d6f93--)(_0x1a3542=_0xcec216[_0x5d6f93])&&(_0x218ce9=_0x1a3542(_0x218ce9)||_0x218ce9);return _0x218ce9;},P=(_0xa7c555,_0x156b7b)=>(_0x1a8b08,_0x23043c)=>_0x156b7b(_0x1a8b08,_0x23043c,_0xa7c555),Ti=(_0x549c92=>(_0x549c92[_0x332b6f(0x1dd)]=_0x332b6f(0x2a4),_0x549c92[_0x332b6f(0x2ee)]=_0x332b6f(0x2d3),_0x549c92['PENDING']='pending',_0x549c92[_0x332b6f(0x3d3)]=_0x332b6f(0x3e0),_0x549c92[_0x332b6f(0x3bd)]='awaiting_with_pending',_0x549c92[_0x332b6f(0x355)]=_0x332b6f(0x1a7),_0x549c92[_0x332b6f(0x262)]=_0x332b6f(0x346),_0x549c92[_0x332b6f(0x433)]='offline',_0x549c92))(Ti||{});const Ci=0xea60;class Te{constructor(_0x4dd489,_0x3fe756,_0x56e88f,_0x47332d,_0x101ad4,_0x4ef466,_0x409ae4,_0x4c4a86,_0x50f5ac){var _0x4493c2=_0x332b6f;N(this,_0x4493c2(0x20c),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x4dd489,this[_0x4493c2(0x2a6)]=_0x3fe756,this[_0x4493c2(0x38f)]=_0x101ad4,this[_0x4493c2(0x2dc)]=_0x4ef466,this[_0x4493c2(0x153)]=_0x409ae4,this['_revisionService']=_0x4c4a86,this[_0x4493c2(0x219)]=_0x50f5ac,this[_0x4493c2(0x20c)]=_0x56e88f,this[_0x4493c2(0x428)]=_0x47332d);}[_0x332b6f(0x247)](_0x2e9c03){var _0x20944f=_0x332b6f;const _0x8bea2d=this['_revisionService'][_0x20944f(0x36e)](this[_0x20944f(0x31a)]);return _0x2e9c03['revision']>_0x8bea2d+0x1?(this[_0x20944f(0x38f)][_0x20944f(0x35d)]({'from':_0x8bea2d,'to':_0x2e9c03[_0x20944f(0x198)]-0x1}),!0x0):!0x1;}[_0x332b6f(0x29d)](_0x2efe29){var _0x385729=_0x332b6f;this[_0x385729(0x153)]['transformUndoRedo'](this[_0x385729(0x31a)],_0x2efe29);}[_0x332b6f(0x1bd)](_0x1128d5){var _0x800fac=_0x332b6f,_0x290ab5,_0x2e7693;(_0x2e7693=(_0x290ab5=this[_0x800fac(0x38f)])[_0x800fac(0x1b6)])==null||_0x2e7693[_0x800fac(0x15c)](_0x290ab5,_0x1128d5);}[_0x332b6f(0x15d)](_0x4c13b8){var _0x249375=_0x332b6f,_0x103ecf,_0x46c636;return(_0x46c636=(_0x103ecf=this['_handler'])['onTransformIME'])==null?void 0x0:_0x46c636[_0x249375(0x15c)](_0x103ecf,_0x4c13b8);}['_transformStateCache'](_0x2d5866){var _0x3995f3=_0x332b6f,_0x14cf78,_0x4ad7ce;return(_0x4ad7ce=(_0x14cf78=this[_0x3995f3(0x38f)])[_0x3995f3(0x26a)])==null?void 0x0:_0x4ad7ce[_0x3995f3(0x15c)](_0x14cf78,_0x2d5866);}[_0x332b6f(0x1e5)](_0x498bbd){var _0x339542=_0x332b6f,_0x46ed14,_0x119be9,_0x304ef4;return(_0x304ef4=(_0x119be9=(_0x46ed14=this['_handler'])[_0x339542(0x21d)])==null?void 0x0:_0x119be9[_0x339542(0x15c)](_0x46ed14,_0x498bbd))!=null?_0x304ef4:_0x498bbd;}[_0x332b6f(0x2b5)](_0x23259b){var _0x244079=_0x332b6f,_0x44d088,_0x26e963,_0x17a097;return(_0x17a097=(_0x26e963=(_0x44d088=this[_0x244079(0x38f)])[_0x244079(0x412)])==null?void 0x0:_0x26e963['call'](_0x44d088,_0x23259b))!=null?_0x17a097:_0x23259b;}[_0x332b6f(0x41c)](_0x25f555){var _0x6e8b93=_0x332b6f,_0x4a5688,_0x4a99de;if(this[_0x6e8b93(0x2a6)]===Z['UNIVER_DOC']){const {unitID:_0x2fc40e,mutations:_0x2190ad,memberID:_0x29afb4}=_0x25f555,_0x1752ec=_0x2190ad[0x0][_0x6e8b93(0x14d)][_0x6e8b93(0x2eb)];Array[_0x6e8b93(0x3f6)](_0x1752ec)&&_0x1752ec['length']>0x0&&((_0x4a99de=(_0x4a5688=this[_0x6e8b93(0x38f)])[_0x6e8b93(0x1f1)])==null||_0x4a99de['call'](_0x4a5688,{'unitID':_0x2fc40e,'memberID':_0x29afb4,'textRanges':_0x1752ec}));}}[_0x332b6f(0x36a)](){var _0x28647f=_0x332b6f,_0xd47109;(_0xd47109=this[_0x28647f(0x219)])==null||_0xd47109[_0x28647f(0x26c)](this[_0x28647f(0x31a)],this[_0x28647f(0x2a6)],this[_0x28647f(0x20c)],this[_0x28647f(0x428)]);}['_getCurrentRevision'](){var _0xb17a06=_0x332b6f;return this['_revisionService'][_0xb17a06(0x36e)](this[_0xb17a06(0x31a)]);}[_0x332b6f(0x215)](){var _0x31778a=_0x332b6f;this[_0x31778a(0x259)][_0x31778a(0x233)](this[_0x31778a(0x31a)]);}['_executeRemoteChangeset'](_0x57ff72){var _0x993685=_0x332b6f,_0x256896;let _0xa448df=this[_0x993685(0x1e5)](_0x57ff72);_0xa448df=this['_transformRemoteChangesetByStateCache'](_0xa448df);const _0x38d79b=_0x524cd0(_0xa448df['mutations'],this[_0x993685(0x2dc)],{'fromCollab':!0x0});if(!_0x38d79b[_0x993685(0x278)])throw _0x38d79b[_0x993685(0x160)]instanceof Error?_0x38d79b[_0x993685(0x160)]:new Error((_0x256896=_0x38d79b['error'])!=null?_0x256896:'[CollaborationState]:\x20apply\x20error!');this[_0x993685(0x15d)](_0xa448df),this[_0x993685(0x363)](_0xa448df),this[_0x993685(0x29d)](_0x57ff72),this['_transformSelections'](_0xa448df),this[_0x993685(0x41c)](_0xa448df),this[_0x993685(0x215)]();}}let ye=class extends Te{constructor(_0x51e617,_0x23b18,_0x4e0cac,_0x3a7b1d,_0x119dd7,_0x5d5daa,_0x3ab2d3,_0x26c1df,_0x2ade0c,_0x2bd0c3){var _0x539b67=_0x332b6f;super(_0x51e617,_0x23b18,null,[],_0x4e0cac,_0x3ab2d3,_0x5d5daa,_0x3a7b1d,_0x2bd0c3),N(this,_0x539b67(0x12b),_0x539b67(0x2d3)),(this['_injector']=_0x119dd7,this[_0x539b67(0x3f5)]=_0x26c1df,this[_0x539b67(0x32e)]=_0x2ade0c,this[_0x539b67(0x1cf)]=_0x2bd0c3);}['appendMutation'](_0x490a92){var _0x8e7b79=_0x332b6f;const _0x2dc5e0=this[_0x8e7b79(0x300)][_0x8e7b79(0x12f)](re,this[_0x8e7b79(0x31a)],this[_0x8e7b79(0x2a6)],[_0x490a92],this[_0x8e7b79(0x38f)]);return _0x2dc5e0['_schedule'](),_0x2dc5e0['_updateLocalCache'](),_0x2dc5e0;}['onRemoteChangeset'](_0x23eee7){var _0x1038fa=_0x332b6f;if(this[_0x1038fa(0x247)](_0x23eee7))return this[_0x1038fa(0x300)]['createInstance'](Q,this[_0x1038fa(0x31a)],this[_0x1038fa(0x2a6)],null,[],null,[_0x23eee7],this[_0x1038fa(0x38f)]);try{const _0x324dab=this['_transformService']['transformMutationsWithChangeset'](_0x23eee7,[Js]);if(_0x3665e5(_0x324dab)){const {c1Prime:_0xbbe070}=_0x324dab;return this[_0x1038fa(0x2af)](_0xbbe070),this;}throw _0x324dab[_0x1038fa(0x160)];}catch(_0x24a91a){return this[_0x1038fa(0x3f5)][_0x1038fa(0x160)](_0x24a91a),this['_onConflict'](!0x1);}}[_0x332b6f(0x424)](_0x583653){var _0x29686f=_0x332b6f;return this[_0x29686f(0x300)][_0x29686f(0x12f)](le,this[_0x29686f(0x31a)],this[_0x29686f(0x2a6)],null,[],this[_0x29686f(0x38f)],_0x583653);}[_0x332b6f(0x3bf)](){var _0x1d0fe1=_0x332b6f;throw new Error(_0x1d0fe1(0x404));}['onRemoteRej'](){var _0x111825=_0x332b6f;throw new Error(_0x111825(0x281));}[_0x332b6f(0x16d)](){return this;}[_0x332b6f(0x1b5)](){var _0x45aeb8=_0x332b6f;return this[_0x45aeb8(0x300)][_0x45aeb8(0x12f)](ue,this[_0x45aeb8(0x31a)],this[_0x45aeb8(0x2a6)],null,[],this[_0x45aeb8(0x38f)]);}[_0x332b6f(0x131)](){return this;}[_0x332b6f(0x23f)](){var _0x581ae4=_0x332b6f;throw new Error(_0x581ae4(0x371));}['fetchMiss'](){var _0x3c60ba=_0x332b6f;const _0x4aaa4c=this[_0x3c60ba(0x259)][_0x3c60ba(0x36e)](this['unitID']);return this[_0x3c60ba(0x38f)]['onMissingChangesets']({'from':_0x4aaa4c,'to':0x0}),this['_injector'][_0x3c60ba(0x12f)](Q,this[_0x3c60ba(0x31a)],this[_0x3c60ba(0x2a6)],null,[],null,[],this[_0x3c60ba(0x38f)]);}};ye=Ie([P(0x3,_0x5e1e11(_0x278fa6)),P(0x4,_0x5e1e11(_0x226671)),P(0x5,_0x17f179),P(0x6,_0x499b8d),P(0x7,_0x2ee83c),P(0x8,_0x1eb68a),P(0x9,_0x2b6ae4(J))],ye);let re=class extends Te{constructor(_0x4c2849,_0x1b161a,_0x105c58,_0x27dd90,_0x4d11ee,_0x20af1d,_0x3206dd,_0x6d469b,_0x378bd8,_0x2c4389,_0x45fb78,_0x2803ae,_0x57a8f1,_0x3bc7b4){var _0x51650e=_0x332b6f;super(_0x4c2849,_0x1b161a,null,_0x105c58,_0x27dd90,_0x378bd8,_0x57a8f1,_0x20af1d,_0x3bc7b4),N(this,_0x51650e(0x12b),'pending'),N(this,_0x51650e(0x2de),null),N(this,_0x51650e(0x3fc),null),(this['_injector']=_0x4d11ee,this[_0x51650e(0x27b)]=_0x3206dd,this['_logService']=_0x6d469b,this['_configService']=_0x2c4389,this[_0x51650e(0x32e)]=_0x45fb78,this[_0x51650e(0x18d)]=_0x2803ae);}['appendMutation'](_0x5e1e26){var _0x1a2486=_0x332b6f;return this[_0x1a2486(0x428)][_0x1a2486(0x16f)](_0x5e1e26),this[_0x1a2486(0x36a)](),this;}['onRemoteChangeset'](_0xc85871){var _0x164ce5=_0x332b6f;if(this[_0x164ce5(0x247)](_0xc85871))return this['_clearScheduledTask'](),this[_0x164ce5(0x300)]['createInstance'](Q,this['unitID'],this[_0x164ce5(0x2a6)],null,this[_0x164ce5(0x428)],null,[_0xc85871],this['_handler']);try{const _0x53a5fb=this['_transformService'][_0x164ce5(0x303)](_0xc85871,this['_pendingMutations']);if(_0x3665e5(_0x53a5fb)){const {c1Prime:_0x5a52a2,m2Prime:_0x1713e3}=_0x53a5fb;this[_0x164ce5(0x2af)](_0x5a52a2);const _0x561c67=this['_injector'][_0x164ce5(0x12f)](re,this[_0x164ce5(0x31a)],this[_0x164ce5(0x2a6)],_0x1713e3,this[_0x164ce5(0x38f)]);this[_0x164ce5(0x285)]();const _0x216385=new Date()[_0x164ce5(0x1d2)](),_0x2c9fba=this[_0x164ce5(0x2de)]?Math[_0x164ce5(0x209)](this[_0x164ce5(0x2de)]-_0x216385,0x0):this[_0x164ce5(0x3aa)]();return _0x561c67['_schedule'](_0x2c9fba),_0x561c67;}throw _0x53a5fb[_0x164ce5(0x160)];}catch(_0x196ef7){return this[_0x164ce5(0x3f5)][_0x164ce5(0x160)](_0x196ef7),this[_0x164ce5(0x424)](!0x1);}}[_0x332b6f(0x3bf)](){var _0x1f7baa=_0x332b6f;throw new Error(_0x1f7baa(0x3fa));}[_0x332b6f(0x293)](){var _0x4dcb75=_0x332b6f;throw new Error(_0x4dcb75(0x207));}[_0x332b6f(0x16d)](){return this;}[_0x332b6f(0x1b5)](){var _0x5b0f60=_0x332b6f;return this[_0x5b0f60(0x285)](),this['_injector'][_0x5b0f60(0x12f)](ue,this[_0x5b0f60(0x31a)],this[_0x5b0f60(0x2a6)],null,this[_0x5b0f60(0x428)],this[_0x5b0f60(0x38f)]);}[_0x332b6f(0x131)](){return this;}[_0x332b6f(0x1bb)](_0x5e9939){var _0x5d35cb=_0x332b6f;const _0x1da5af=_0x5e9939!=null?_0x5e9939:this[_0x5d35cb(0x3aa)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x1da5af,this['_sendingTimer']=setTimeout(()=>{var _0x2c3221=_0x5d35cb;this[_0x2c3221(0x285)]();let _0x50ca39=null;switch(this['type']){case Z['UNIVER_SHEET']:{_0x50ca39=Yt(this[_0x2c3221(0x428)],this[_0x2c3221(0x31a)],this[_0x2c3221(0x18d)],this[_0x2c3221(0x259)],this[_0x2c3221(0x27b)]);break;}case Z['UNIVER_DOC']:{this[_0x2c3221(0x428)]['every'](_0x1ca938=>_0x1ca938['id']===_0x2497f1['id'])?_0x50ca39=zs(this['_pendingMutations'],this[_0x2c3221(0x31a)],this[_0x2c3221(0x18d)],this['_revisionService'],this[_0x2c3221(0x27b)]):_0x50ca39=Yt(this[_0x2c3221(0x428)],this[_0x2c3221(0x31a)],this[_0x2c3221(0x18d)],this[_0x2c3221(0x259)],this[_0x2c3221(0x27b)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2c3221(0x2a6)]+'\x20in\x20_schedule.');}const {changeset:_0x57d4f4,pendingMutations:_0x13d950}=_0x50ca39;this['_handler']['onSendChangeset'](_0x57d4f4);const _0x5d2735=_0x13d950[_0x2c3221(0x378)]?this[_0x2c3221(0x300)][_0x2c3221(0x12f)](ae,this[_0x2c3221(0x31a)],this[_0x2c3221(0x2a6)],_0x57d4f4,_0x13d950,this[_0x2c3221(0x38f)],void 0x0):this[_0x2c3221(0x300)][_0x2c3221(0x12f)](_e,this[_0x2c3221(0x31a)],this[_0x2c3221(0x2a6)],_0x57d4f4,this[_0x2c3221(0x38f)]);_0x5d2735[_0x2c3221(0x36a)](),this[_0x2c3221(0x38f)][_0x2c3221(0x22f)](this,_0x5d2735);},_0x1da5af);}[_0x332b6f(0x3aa)](){var _0x286138=_0x332b6f,_0x4323c2;const _0xc7c25a=this[_0x286138(0x3a8)][_0x286138(0x1ac)](K);return(_0x4323c2=_0xc7c25a==null?void 0x0:_0xc7c25a[_0x286138(0x396)])!=null?_0x4323c2:ms;}[_0x332b6f(0x23f)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x332b6f(0x285)](){var _0x26417a=_0x332b6f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x26417a(0x3fc)]),this[_0x26417a(0x3fc)]=null);}[_0x332b6f(0x424)](_0x54107f){var _0x55ca9d=_0x332b6f;return this['_clearScheduledTask'](),this['_injector'][_0x55ca9d(0x12f)](le,this[_0x55ca9d(0x31a)],this['type'],null,this[_0x55ca9d(0x428)],this['_handler'],_0x54107f);}};re=Ie([P(0x4,_0x5e1e11(_0x226671)),P(0x5,_0x5e1e11(_0x278fa6)),P(0x6,_0x5e1e11(Pe)),P(0x7,_0x2ee83c),P(0x8,_0x499b8d),P(0x9,_0x5747ff),P(0xa,_0x1eb68a),P(0xb,_0x47549b),P(0xc,_0x17f179),P(0xd,_0x2b6ae4(J))],re);let _e=class extends Te{constructor(_0x212166,_0x5f0d54,_0x21e4c4,_0x21b1ad,_0x4ff7e3,_0x548c4d,_0x75105d,_0x66e12a,_0x238b5d,_0x21b3e5,_0x539d2b){var _0x266231=_0x332b6f;super(_0x212166,_0x5f0d54,_0x21e4c4,[],_0x21b1ad,_0x75105d,_0x21b3e5,_0x548c4d,_0x539d2b),N(this,_0x266231(0x12b),_0x266231(0x3e0)),N(this,_0x266231(0x191),0x0),N(this,_0x266231(0x2f9)),N(this,'_sender'),(this[_0x266231(0x300)]=_0x4ff7e3,this[_0x266231(0x3f5)]=_0x66e12a,this[_0x266231(0x32e)]=_0x238b5d);}['appendMutation'](_0x41b6e6){var _0x1ae66b=_0x332b6f;this[_0x1ae66b(0x285)]();const _0x22d7fd=this['_injector']['createInstance'](ae,this[_0x1ae66b(0x31a)],this[_0x1ae66b(0x2a6)],this[_0x1ae66b(0x20c)],[_0x41b6e6],this[_0x1ae66b(0x38f)],this[_0x1ae66b(0x2f9)]);return _0x22d7fd[_0x1ae66b(0x36a)](),_0x22d7fd;}['onRemoteChangeset'](_0x37dae1){var _0x359e73=_0x332b6f;if(this['_checkMissing'](_0x37dae1))return this[_0x359e73(0x285)](),this['_injector'][_0x359e73(0x12f)](Q,this[_0x359e73(0x31a)],this['type'],this[_0x359e73(0x20c)],[],null,[_0x37dae1],this[_0x359e73(0x38f)]);try{const _0x4a1fea=this[_0x359e73(0x32e)]['transformChangesets']([_0x37dae1],[this['_awaitingChangeset']],!0x1);if(_0x4bd4ac(_0x4a1fea)){const {c1Prime:_0x106b76,c2Prime:_0x12a7d8}=_0x4a1fea;this['_executeRemoteChangeset'](_0x106b76[0x0]),_0x12a7d8[0x0][_0x359e73(0x2b2)]=this[_0x359e73(0x14e)](),this[_0x359e73(0x285)]();const _0x3e1c28=this[_0x359e73(0x300)][_0x359e73(0x12f)](_e,this[_0x359e73(0x31a)],this[_0x359e73(0x2a6)],_0x12a7d8[0x0],this[_0x359e73(0x38f)]);return _0x3e1c28['_updateLocalCache'](),_0x3e1c28;}return this[_0x359e73(0x424)](!0x1);}catch(_0x25fbd8){return this[_0x359e73(0x3f5)][_0x359e73(0x160)](_0x25fbd8),this[_0x359e73(0x424)](!0x1);}}[_0x332b6f(0x3bf)](_0xab68d0){var _0x133b87=_0x332b6f;this[_0x133b87(0x285)]();const _0x5cc1fa=this[_0x133b87(0x259)][_0x133b87(0x36e)](this['unitID']);if(_0xab68d0[_0x133b87(0x198)]<_0x5cc1fa-0x1)return this;if(this[_0x133b87(0x247)](_0xab68d0))return this[_0x133b87(0x300)][_0x133b87(0x12f)](Q,this[_0x133b87(0x31a)],this[_0x133b87(0x2a6)],null,[],this[_0x133b87(0x20c)],[],this[_0x133b87(0x38f)]);this[_0x133b87(0x215)]();const _0x4bd596=this[_0x133b87(0x300)][_0x133b87(0x12f)](ye,this[_0x133b87(0x31a)],this[_0x133b87(0x2a6)],this[_0x133b87(0x38f)]);return _0x4bd596[_0x133b87(0x36a)](),_0x4bd596;}[_0x332b6f(0x293)](_0x114493){var _0x385d27=_0x332b6f;return this[_0x385d27(0x424)](!!(_0x114493!=null&&_0x114493[_0x385d27(0x174)]));}['onRemoteRetry'](_0x5629cb){var _0x67f2=_0x332b6f;return this[_0x67f2(0x191)]>Ci?this[_0x67f2(0x1b5)]():(this[_0x67f2(0x2f9)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5629cb['reqId']}),this[_0x67f2(0x318)]=this[_0x67f2(0x2f9)][_0x67f2(0x166)](({reqId:_0x51523b,timeout:_0x844246})=>{this['_resendWithTimeout'](_0x51523b,_0x844246);}),this);}[_0x332b6f(0x1b5)](){var _0x265a1d=_0x332b6f;return this[_0x265a1d(0x285)](),this[_0x265a1d(0x300)][_0x265a1d(0x12f)](ue,this['unitID'],this[_0x265a1d(0x2a6)],this['_awaitingChangeset'],[],this[_0x265a1d(0x38f)]);}[_0x332b6f(0x131)](){return this;}['resend'](){var _0x215edf=_0x332b6f;this[_0x215edf(0x38f)]['onSendChangeset'](this[_0x215edf(0x20c)]);}['_onConflict'](_0x4db631){var _0x48b4cd=_0x332b6f;return this[_0x48b4cd(0x285)](),this[_0x48b4cd(0x300)][_0x48b4cd(0x12f)](le,this[_0x48b4cd(0x31a)],this['type'],this[_0x48b4cd(0x20c)],[],this[_0x48b4cd(0x38f)],_0x4db631);}[_0x332b6f(0x3ba)](_0x4aeef2,_0x4f039d){var _0x2572c0=_0x332b6f,_0x186233;_0x4aeef2===((_0x186233=this[_0x2572c0(0x20c)])==null?void 0x0:_0x186233[_0x2572c0(0x3eb)])&&(this[_0x2572c0(0x23f)](),this[_0x2572c0(0x191)]=_0x4f039d===0x0?0x3e8:_0x4f039d*0x2);}[_0x332b6f(0x285)](){var _0xf93704=_0x332b6f,_0x4df0ba;(_0x4df0ba=this[_0xf93704(0x318)])==null||_0x4df0ba[_0xf93704(0x231)](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x5e1e11(_0x226671)),P(0x5,_0x5e1e11(_0x278fa6)),P(0x6,_0x499b8d),P(0x7,_0x2ee83c),P(0x8,_0x1eb68a),P(0x9,_0x17f179),P(0xa,_0x2b6ae4(J))],_e);let ae=class extends Te{constructor(_0xbf74e6,_0x59cd61,_0x223aeb,_0xdce50e,_0x495f58,_0x5f14b6,_0x59a07c,_0x29c1f9,_0x2b78c5,_0x2b2df5,_0x56af01,_0x31cfb5,_0x1392d5){var _0x57935e=_0x332b6f;super(_0xbf74e6,_0x59cd61,_0x223aeb,_0xdce50e,_0x495f58,_0x2b78c5,_0x31cfb5,_0x29c1f9,_0x1392d5),N(this,_0x57935e(0x12b),'awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x57935e(0x2f9)),N(this,_0x57935e(0x318)),(this[_0x57935e(0x300)]=_0x59a07c,this['_logService']=_0x2b2df5,this[_0x57935e(0x32e)]=_0x56af01,this[_0x57935e(0x1cf)]=_0x1392d5,_0x5f14b6&&(this[_0x57935e(0x2f9)]=_0x5f14b6,this[_0x57935e(0x318)]=this[_0x57935e(0x2f9)][_0x57935e(0x166)](({reqId:_0x38704f,timeout:_0x37844b})=>{this['_resendWithTimeout'](_0x38704f,_0x37844b);})));}[_0x332b6f(0x28b)](_0x27ca03){var _0x4e72e6=_0x332b6f;return this[_0x4e72e6(0x428)][_0x4e72e6(0x16f)](_0x27ca03),this;}[_0x332b6f(0x18b)](_0x7ef8e6){var _0x5377b1=_0x332b6f;if(this[_0x5377b1(0x247)](_0x7ef8e6))return this[_0x5377b1(0x285)](),this['_injector']['createInstance'](Q,this['unitID'],this[_0x5377b1(0x2a6)],this[_0x5377b1(0x20c)],this[_0x5377b1(0x428)],null,[_0x7ef8e6],this['_handler']);try{const _0x4e2b32=this[_0x5377b1(0x32e)][_0x5377b1(0x1a8)]([_0x7ef8e6],[this['_awaitingChangeset']],!0x1);if(_0x4bd4ac(_0x4e2b32)){const {c1Prime:_0x2ee617,c2Prime:_0x19c19f}=_0x4e2b32,_0x1c19dc=this[_0x5377b1(0x32e)][_0x5377b1(0x303)](_0x2ee617[0x0],this[_0x5377b1(0x428)]);if(_0x3665e5(_0x1c19dc)){const {c1Prime:_0x1938ee,m2Prime:_0x5f3fad}=_0x1c19dc;return this[_0x5377b1(0x2af)](_0x1938ee),_0x19c19f[0x0][_0x5377b1(0x2b2)]=this[_0x5377b1(0x14e)](),this[_0x5377b1(0x285)](),this[_0x5377b1(0x300)][_0x5377b1(0x12f)](ae,this[_0x5377b1(0x31a)],this[_0x5377b1(0x2a6)],_0x19c19f[0x0],_0x5f3fad,this['_handler'],void 0x0);}throw _0x1c19dc[_0x5377b1(0x160)];}throw _0x4e2b32[_0x5377b1(0x160)];}catch(_0x4e3961){return this[_0x5377b1(0x3f5)][_0x5377b1(0x160)](_0x4e3961),this[_0x5377b1(0x424)](!0x1);}}[_0x332b6f(0x3bf)](_0x53a768){var _0x14e462=_0x332b6f;if(this[_0x14e462(0x285)](),this[_0x14e462(0x247)](_0x53a768))return this[_0x14e462(0x300)][_0x14e462(0x12f)](Q,this[_0x14e462(0x31a)],this['type'],null,this[_0x14e462(0x428)],this[_0x14e462(0x20c)],[],this[_0x14e462(0x38f)]);this[_0x14e462(0x215)]();const _0x26aa08=this[_0x14e462(0x300)]['createInstance'](re,this[_0x14e462(0x31a)],this['type'],this[_0x14e462(0x428)],this[_0x14e462(0x38f)]);return _0x26aa08[_0x14e462(0x1bb)](),_0x26aa08['_updateLocalCache'](),_0x26aa08;}[_0x332b6f(0x293)](_0xff0925){var _0x1dada0=_0x332b6f;return this[_0x1dada0(0x424)](!!(_0xff0925!=null&&_0xff0925[_0x1dada0(0x174)]));}[_0x332b6f(0x16d)](_0x1a74b5){var _0x232a0e=_0x332b6f;return this['_resendTimeout']>Ci?this[_0x232a0e(0x1b5)]():(this[_0x232a0e(0x2f9)]=Ii(this[_0x232a0e(0x191)],{'timeout':this[_0x232a0e(0x191)],'reqId':_0x1a74b5[_0x232a0e(0x3eb)]}),this[_0x232a0e(0x318)]=this[_0x232a0e(0x2f9)][_0x232a0e(0x166)](({reqId:_0x3c0ceb,timeout:_0x5d4f12})=>{var _0x4ea6f4=_0x232a0e;this[_0x4ea6f4(0x3ba)](_0x3c0ceb,_0x5d4f12);}),this);}[_0x332b6f(0x1b5)](){var _0x3f58d6=_0x332b6f;return this[_0x3f58d6(0x285)](),this[_0x3f58d6(0x300)][_0x3f58d6(0x12f)](ue,this[_0x3f58d6(0x31a)],this[_0x3f58d6(0x2a6)],this[_0x3f58d6(0x20c)],this['_pendingMutations'],this['_handler']);}[_0x332b6f(0x131)](){return this;}['resend'](){var _0x45891e=_0x332b6f;this['_handler'][_0x45891e(0x364)](this['_awaitingChangeset']);}[_0x332b6f(0x424)](_0x532183){var _0x5f15e9=_0x332b6f;return this[_0x5f15e9(0x285)](),this['_injector'][_0x5f15e9(0x12f)](le,this[_0x5f15e9(0x31a)],this['type'],null,this[_0x5f15e9(0x428)],this[_0x5f15e9(0x38f)],_0x532183);}[_0x332b6f(0x3ba)](_0x4f6210,_0xc8b956){var _0x29714c=_0x332b6f,_0x1c3eb8;_0x4f6210===((_0x1c3eb8=this['_awaitingChangeset'])==null?void 0x0:_0x1c3eb8[_0x29714c(0x3eb)])&&(this[_0x29714c(0x23f)](),this[_0x29714c(0x191)]=_0xc8b956===0x0?0x3e8:_0xc8b956*0x2);}[_0x332b6f(0x285)](){var _0x317d29=_0x332b6f,_0xea9696;(_0xea9696=this[_0x317d29(0x318)])==null||_0xea9696[_0x317d29(0x231)](),this[_0x317d29(0x191)]=0x0;}};ae=Ie([P(0x6,_0x5e1e11(_0x226671)),P(0x7,_0x5e1e11(_0x278fa6)),P(0x8,_0x499b8d),P(0x9,_0x2ee83c),P(0xa,_0x1eb68a),P(0xb,_0x17f179),P(0xc,_0x2b6ae4(J))],ae);let le=class extends Te{constructor(_0x441043,_0x41feea,_0x1ba0bb,_0x147df4,_0xd0c8d0,_0xa70410=!0x1,_0x2570a6,_0xccc640,_0xd85d8e,_0x27f8ac,_0x52d87a,_0x21ad26,_0xc88c15){var _0x3172c3=_0x332b6f;super(_0x441043,_0x41feea,_0x1ba0bb,_0x147df4,_0xd0c8d0,_0xccc640,_0xd85d8e,_0x27f8ac,_0xc88c15),N(this,_0x3172c3(0x12b),'conflict'),(this[_0x3172c3(0x22c)]=_0xa70410,this['_permissionService']=_0x2570a6,this[_0x3172c3(0x255)]=_0x52d87a,this['_collaborationUIEventService']=_0x21ad26,this[_0x3172c3(0x1cf)]=_0xc88c15,this[_0x3172c3(0x230)](),this[_0x3172c3(0x3a4)](),this[_0x3172c3(0x182)]());}[_0x332b6f(0x28b)](){return this;}[_0x332b6f(0x18b)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x332b6f(0x23f)](){var _0x65c9c9=_0x332b6f;throw new Error(_0x65c9c9(0x25f));}[_0x332b6f(0x3a4)](){var _0x4faa01=_0x332b6f,_0x323398;(_0x323398=this[_0x4faa01(0x219)])==null||_0x323398[_0x4faa01(0x26c)](this[_0x4faa01(0x31a)],this[_0x4faa01(0x2a6)],null,[]);}[_0x332b6f(0x230)](){var _0x13e128=_0x332b6f;this[_0x13e128(0x22c)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x13e128(0x26d)]}):this['_collaborationUIEventService'][_0x13e128(0x406)]({'id':ne['CONFLICT']});}[_0x332b6f(0x182)](){var _0x430e37=_0x332b6f;this['_permissionService'][_0x430e37(0x35f)](new _0x42525e(this[_0x430e37(0x31a)])['id'],!0x1);}};le=Ie([P(0x6,_0x5e1e11(_0x545df8)),P(0x7,_0x499b8d),P(0x8,_0x17f179),P(0x9,_0x5e1e11(_0x278fa6)),P(0xa,_0x5e1e11(_0x2a03f0)),P(0xb,_0x5e1e11(ve)),P(0xc,_0x2b6ae4(J))],le);let ue=class extends Te{constructor(_0x1f3dfe,_0x29dda,_0x3b9744,_0x5682c9,_0x4ff517,_0x47f472,_0x3c974a,_0x1f639a,_0x3cc728,_0x4a6a91){var _0x4c9a15=_0x332b6f;super(_0x1f3dfe,_0x29dda,_0x3b9744,_0x5682c9,_0x4ff517,_0x1f639a,_0x3cc728,_0x3c974a,_0x4a6a91),N(this,'status',_0x4c9a15(0x39a)),this[_0x4c9a15(0x300)]=_0x47f472;}['appendMutation'](_0x58e100){var _0x44c809=_0x332b6f;return this[_0x44c809(0x428)][_0x44c809(0x16f)](_0x58e100),this[_0x44c809(0x36a)](),this;}[_0x332b6f(0x18b)](_0x518a6b){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x332b6f(0x3bf)](){var _0x6ae475=_0x332b6f;throw new Error(_0x6ae475(0x1a6));}[_0x332b6f(0x293)](){var _0x12f1c8=_0x332b6f;throw new Error(_0x12f1c8(0x1ec));}[_0x332b6f(0x16d)](){return this;}[_0x332b6f(0x1b5)](){return this;}[_0x332b6f(0x131)](){var _0x3cca99=_0x332b6f;const {_injector:_0x41c03c,_pendingMutations:_0x4393ce,_awaitingChangeset:_0x5b59d0,unitID:_0x43ba6c,_handler:_0x2c589d,type:_0x18363c}=this,_0x2b8de0=Ri(_0x41c03c,_0x43ba6c,_0x18363c,_0x5b59d0,_0x4393ce,_0x2c589d);return _0x2b8de0 instanceof re?_0x2b8de0[_0x3cca99(0x1bb)]():(_0x2b8de0 instanceof ae||_0x2b8de0 instanceof _e)&&_0x2b8de0[_0x3cca99(0x23f)](),_0x2b8de0;}[_0x332b6f(0x23f)](){var _0x5b3912=_0x332b6f;throw new Error(_0x5b3912(0x32c));}};ue=Ie([P(0x5,_0x5e1e11(_0x226671)),P(0x6,_0x5e1e11(_0x278fa6)),P(0x7,_0x499b8d),P(0x8,_0x17f179),P(0x9,_0x2b6ae4(J))],ue);let Q=class extends Te{constructor(_0x3b1bae,_0x5ab7a3,_0x1604c2,_0x27c71a,_0x2d836b,_0x4fe463,_0x15ff7b,_0x47cc4f,_0x27327d,_0x693729,_0x211884,_0x188251,_0x27637b,_0x34fb68){var _0x3a9de4=_0x332b6f;super(_0x3b1bae,_0x5ab7a3,_0x1604c2,_0x27c71a,_0x15ff7b,_0x211884,_0x188251,_0x27327d,_0x34fb68),N(this,_0x3a9de4(0x12b),_0x3a9de4(0x1a7)),(this[_0x3a9de4(0x15f)]=_0x2d836b,this[_0x3a9de4(0x1e7)]=_0x4fe463,this[_0x3a9de4(0x300)]=_0x47cc4f,this[_0x3a9de4(0x3f5)]=_0x693729,this[_0x3a9de4(0x32e)]=_0x27637b,this[_0x3a9de4(0x1cf)]=_0x34fb68);}[_0x332b6f(0x40b)](_0xa0f22f){var _0x1e40a3=_0x332b6f;try{const _0x37ee84=[..._0xa0f22f,...this[_0x1e40a3(0x1e7)]],_0x40090c=[this['_awaitingChangeset']||this[_0x1e40a3(0x15f)]]['filter'](_0x51c2ad=>!!_0x51c2ad);let _0x5930a5,_0x23bb64;if(_0x40090c[_0x1e40a3(0x378)]){const _0x1dff07=this['_transformService'][_0x1e40a3(0x1a8)](_0x37ee84,_0x40090c,!0x1);if(!_0x4bd4ac(_0x1dff07))throw _0x1dff07[_0x1e40a3(0x160)];_0x5930a5=_0x1dff07[_0x1e40a3(0x3c6)],_0x23bb64=_0x1dff07[_0x1e40a3(0x389)];}else _0x5930a5=_0x37ee84,_0x23bb64=[];let _0x55b46a=this[_0x1e40a3(0x428)];_0x5930a5[_0x1e40a3(0x31c)](_0x324ef1=>{var _0x47638b=_0x1e40a3;let _0x53c682;if(_0x55b46a[_0x47638b(0x378)]){const _0x3c681c=this[_0x47638b(0x32e)][_0x47638b(0x303)](_0x324ef1,_0x55b46a);if(!_0x3665e5(_0x3c681c))throw _0x3c681c[_0x47638b(0x160)];_0x53c682=_0x3c681c[_0x47638b(0x3c6)],_0x55b46a=_0x3c681c[_0x47638b(0x321)];}else _0x53c682=_0x324ef1;this[_0x47638b(0x2af)](_0x53c682);}),this[_0x1e40a3(0x15f)]&&this[_0x1e40a3(0x215)](),this['_awaitingChangeset']&&_0x23bb64[_0x1e40a3(0x378)]&&(_0x23bb64[0x0][_0x1e40a3(0x2b2)]=this['_getCurrentRevision']());let _0x12d758;if(this[_0x1e40a3(0x20c)]&&_0x55b46a[_0x1e40a3(0x378)]!==0x0)_0x12d758=this['_injector'][_0x1e40a3(0x12f)](ae,this[_0x1e40a3(0x31a)],this['type'],_0x23bb64[0x0],_0x55b46a,this[_0x1e40a3(0x38f)],void 0x0);else{if(this[_0x1e40a3(0x20c)]&&_0x55b46a[_0x1e40a3(0x378)]===0x0)_0x23bb64[0x0][_0x1e40a3(0x2b2)]=this[_0x1e40a3(0x14e)](),_0x12d758=this[_0x1e40a3(0x300)][_0x1e40a3(0x12f)](_e,this['unitID'],this[_0x1e40a3(0x2a6)],_0x23bb64[0x0],this['_handler']);else{if(_0x55b46a[_0x1e40a3(0x378)]!==0x0){const _0x6e0a95=this['_injector'][_0x1e40a3(0x12f)](re,this[_0x1e40a3(0x31a)],this['type'],_0x55b46a,this[_0x1e40a3(0x38f)]);_0x6e0a95[_0x1e40a3(0x1bb)](),_0x12d758=_0x6e0a95;}else _0x12d758=this[_0x1e40a3(0x300)][_0x1e40a3(0x12f)](ye,this[_0x1e40a3(0x31a)],this[_0x1e40a3(0x2a6)],this[_0x1e40a3(0x38f)]);}}return _0x12d758[_0x1e40a3(0x36a)](),_0x12d758;}catch(_0x3062f3){return this['_logService'][_0x1e40a3(0x160)](_0x1e40a3(0x3fd),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3062f3),this[_0x1e40a3(0x300)]['createInstance'](le,this[_0x1e40a3(0x31a)],this[_0x1e40a3(0x2a6)],this[_0x1e40a3(0x20c)],this[_0x1e40a3(0x428)],this[_0x1e40a3(0x38f)],!0x1);}}[_0x332b6f(0x23f)](){var _0x26f987=_0x332b6f;throw new Error(_0x26f987(0x14b));}[_0x332b6f(0x28b)](_0x357e0c){var _0x4737bd=_0x332b6f;return this[_0x4737bd(0x428)][_0x4737bd(0x16f)](_0x357e0c),this;}[_0x332b6f(0x18b)](_0xb83edd){var _0xb1fa35=_0x332b6f;return this[_0xb1fa35(0x1e7)][_0xb1fa35(0x16f)](_0xb83edd),this;}[_0x332b6f(0x3bf)](_0x17f352){var _0x14e339=_0x332b6f;if(this[_0x14e339(0x20c)])return this[_0x14e339(0x15f)]=this[_0x14e339(0x20c)],this['_awaitingChangeset']=null,this;throw new Error(_0x14e339(0x431));}[_0x332b6f(0x293)](_0x39412e){var _0x20581a=_0x332b6f;return this['_onConflict'](!!(_0x39412e!=null&&_0x39412e[_0x20581a(0x174)]));}['onRemoteRetry'](){return this;}[_0x332b6f(0x1b5)](){var _0x13a829=_0x332b6f;return this[_0x13a829(0x300)]['createInstance'](ue,this[_0x13a829(0x31a)],this[_0x13a829(0x2a6)],this['_awaitingChangeset'],this[_0x13a829(0x428)],this['_handler']);}[_0x332b6f(0x131)](){return this;}[_0x332b6f(0x424)](_0x272c8f){var _0x2c1d7b=_0x332b6f;return this[_0x2c1d7b(0x300)][_0x2c1d7b(0x12f)](le,this['unitID'],this[_0x2c1d7b(0x2a6)],this[_0x2c1d7b(0x20c)],this[_0x2c1d7b(0x428)],this['_handler'],_0x272c8f);}};Q=Ie([P(0x7,_0x5e1e11(_0x226671)),P(0x8,_0x5e1e11(_0x278fa6)),P(0x9,_0x2ee83c),P(0xa,_0x499b8d),P(0xb,_0x17f179),P(0xc,_0x1eb68a),P(0xd,_0x2b6ae4(J))],Q);function Ri(_0x45f4fd,_0x583c76,_0x1db283,_0x4f4356,_0x4fa7ff,_0x1da7fb){var _0x394d29=_0x332b6f;return _0x4f4356&&_0x4fa7ff[_0x394d29(0x378)]?_0x45f4fd[_0x394d29(0x12f)](ae,_0x583c76,_0x1db283,_0x4f4356,_0x4fa7ff,_0x1da7fb,void 0x0):_0x4f4356?_0x45f4fd[_0x394d29(0x12f)](_e,_0x583c76,_0x1db283,_0x4f4356,_0x1da7fb):_0x4fa7ff['length']?_0x45f4fd['createInstance'](re,_0x583c76,_0x1db283,_0x4fa7ff,_0x1da7fb):_0x45f4fd['createInstance'](ye,_0x583c76,_0x1db283,_0x1da7fb);}var Zs=Object[_0x332b6f(0x438)],wt=(_0x30c722,_0x27cb7a,_0x5a4080,_0xbe29b6)=>{for(var _0x38193f=_0xbe29b6>0x1?void 0x0:_0xbe29b6?Zs(_0x27cb7a,_0x5a4080):_0x27cb7a,_0x59558e=_0x30c722['length']-0x1,_0x405cf3;_0x59558e>=0x0;_0x59558e--)(_0x405cf3=_0x30c722[_0x59558e])&&(_0x38193f=_0x405cf3(_0x38193f)||_0x38193f);return _0x38193f;},H=(_0x2d6581,_0x1a10f7)=>(_0x2693bd,_0x1fcb23)=>_0x1a10f7(_0x2693bd,_0x1fcb23,_0x2d6581);let st=class extends _0x5861e5{constructor(_0x428585,_0x33c5e5,_0x5e78be,_0xeb434a,_0x33b122,_0x5d6bb9,_0x4516e1,_0x50c907,_0x2684e6,_0x3e6eb1,_0x1a9623,_0xaaec6c,_0x3cfa0e){var _0x262c4e=_0x332b6f;super(),N(this,'_state$',new _0x400ec0(null)),N(this,_0x262c4e(0x328),this[_0x262c4e(0x3b3)]['asObservable']()),N(this,_0x262c4e(0x222)),N(this,_0x262c4e(0x3d8),!0x1),N(this,_0x262c4e(0x31b),''),N(this,_0x262c4e(0x358),0x0),N(this,_0x262c4e(0x1d8),this[_0x262c4e(0x328)][_0x262c4e(0x287)](_0x34c49d(_0x5ba23f=>_0x5ba23f?_0x5ba23f[_0x262c4e(0x12b)]:Ti['OFFLINE']),_0x4655e2(0x1))),N(this,_0x262c4e(0x212),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x262c4e(0x31a)]=_0x428585,this[_0x262c4e(0x2c1)]=_0x33c5e5,this[_0x262c4e(0x1be)]=_0x5e78be,this['_injector']=_0xeb434a,this['_compressMutationService']=_0x33b122,this['_localeService']=_0x5d6bb9,this[_0x262c4e(0x259)]=_0x4516e1,this[_0x262c4e(0x3cb)]=_0x50c907,this[_0x262c4e(0x3f5)]=_0x2684e6,this[_0x262c4e(0x2dc)]=_0x3e6eb1,this['_permissionService']=_0x1a9623,this[_0x262c4e(0x1e0)]=_0xaaec6c,this['_localCacheService']=_0x3cfa0e);}get[_0x332b6f(0x12c)](){var _0x4c44cb=_0x332b6f;return this[_0x4c44cb(0x222)];}async[_0x332b6f(0x414)](){var _0x5aeae5=_0x332b6f;if(this[_0x5aeae5(0x12c)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5aeae5(0x2f1)]();}[_0x332b6f(0x3b7)](){var _0x324059=_0x332b6f;return this[_0x324059(0x3d8)]=!0x0,_0x8a8554(()=>{var _0x55214e=_0x324059;this['_collaborationPaused']=!0x1,this[_0x55214e(0x1a2)]();});}[_0x332b6f(0x21c)](_0x5b31cd){var _0x1ab73a=_0x332b6f;this[_0x1ab73a(0x135)](_0x5b31cd);}[_0x332b6f(0x3ca)](_0x1ae029){var _0xc4ebba=_0x332b6f;this[_0xc4ebba(0x222)]=_0x1ae029,this[_0xc4ebba(0x3b3)][_0xc4ebba(0x2b8)](_0x1ae029);}async[_0x332b6f(0x2f1)](){var _0x21a516=_0x332b6f,_0x4f979a;this[_0x21a516(0x3ca)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4f979a=this[_0x21a516(0x1e0)])==null||_0x4f979a[_0x21a516(0x2cc)](this[_0x21a516(0x31a)]),this[_0x21a516(0x288)](this[_0x21a516(0x1e0)]['getUnitStatus$'](this[_0x21a516(0x31a)])['subscribe'](_0x10eb9a=>{var _0x4b1195=_0x21a516;this['_logService'][_0x4b1195(0x158)]('[CollaborationEntity]',_0x4b1195(0x2e3),_0x10eb9a),_0x10eb9a===Ei[_0x4b1195(0x19d)]?(this[_0x4b1195(0x3cb)][_0x4b1195(0x406)]({'id':ne[_0x4b1195(0x3f1)]}),this[_0x4b1195(0x29e)]['updatePermissionPoint'](new _0x42525e(this[_0x4b1195(0x31a)])['id'],!0x1),this[_0x4b1195(0x29e)][_0x4b1195(0x365)](!0x1)):(this[_0x4b1195(0x29e)]['updatePermissionPoint'](new _0x42525e(this[_0x4b1195(0x31a)])['id'],!0x0),this[_0x4b1195(0x29e)][_0x4b1195(0x365)](!0x0));})));let _0x554d7d=!0x1;return this[_0x21a516(0x288)](this[_0x21a516(0x2c1)][_0x21a516(0x37a)]['subscribe'](_0xe0ebaf=>{var _0x3d4fb7=_0x21a516;_0xe0ebaf===Se[_0x3d4fb7(0x258)]?this['_toggleOnline'](_0x554d7d):_0xe0ebaf===Se['OFFLINE']&&(_0x554d7d=!0x0,this[_0x3d4fb7(0x430)]());})),this['disposeWithMe'](this[_0x21a516(0x2c1)][_0x21a516(0x361)][_0x21a516(0x166)](_0x1121f7=>{var _0x2a6f18=_0x21a516;try{switch(_0x1121f7['eventID']){case _0x418085[_0x2a6f18(0x427)]:{this[_0x2a6f18(0x234)](_0x3b4ac4(_0x1121f7[_0x2a6f18(0x349)]));break;}case _0x418085[_0x2a6f18(0x377)]:{this[_0x2a6f18(0x3b5)](_0x1121f7[_0x2a6f18(0x349)]);break;}case _0x418085[_0x2a6f18(0x3c5)]:{this[_0x2a6f18(0x324)]();break;}case _0x418085[_0x2a6f18(0x325)]:{this['_onRemoteRetry'](_0x1121f7[_0x2a6f18(0x349)]);break;}case _0x418085[_0x2a6f18(0x347)]:{this[_0x2a6f18(0x40d)](_0x1121f7[_0x2a6f18(0x349)][_0x2a6f18(0x38c)]['map'](_0x2eaf4c=>_0x3b4ac4(_0x2eaf4c)));break;}case _0x418085['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x418085[_0x2a6f18(0x429)]:break;}}catch(_0x2a0d8e){throw console[_0x2a6f18(0x160)](_0x2a6f18(0x1a1),_0x2a0d8e),_0x2a0d8e;}})),this['_state'];}[_0x332b6f(0x2bf)](){this['_transitionLocked']=!0x1;}[_0x332b6f(0x205)](){var _0x33fc76=_0x332b6f;if(this[_0x33fc76(0x212)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x33fc76(0x212)]=!0x0;}[_0x332b6f(0x135)](_0x47990b){var _0x26064d=_0x332b6f;this['_lockTransition'](),this['_updateState'](this[_0x26064d(0x222)]['appendMutation'](_0x47990b)),this[_0x26064d(0x2bf)]();}['_onRemoteChangeset'](_0x1ed141){var _0x87cf65=_0x332b6f;if(!(_0x1ed141[_0x87cf65(0x198)]<=this[_0x87cf65(0x259)][_0x87cf65(0x36e)](this[_0x87cf65(0x31a)]))){if(this[_0x87cf65(0x3d8)]){this[_0x87cf65(0x1ed)][_0x87cf65(0x16f)](_0x1ed141);return;}this[_0x87cf65(0x2e0)](_0x1ed141);}}[_0x332b6f(0x1a2)](){var _0x427e17=_0x332b6f;this[_0x427e17(0x1ed)]['forEach'](_0x6fca4c=>this[_0x427e17(0x2e0)](_0x6fca4c)),this[_0x427e17(0x1ed)]=[];}[_0x332b6f(0x2e0)](_0xcb2ea2){var _0x4687d3=_0x332b6f;const _0x4bdafb=this[_0x4687d3(0x408)]['interceptor'][_0x4687d3(0x3ad)](this[_0x4687d3(0x408)][_0x4687d3(0x1e2)][_0x4687d3(0x201)]()[_0x4687d3(0x2d6)])(_0xcb2ea2[_0x4687d3(0x416)],null)||_0xcb2ea2['mutations'],_0x30a694={..._0xcb2ea2,'mutations':_0x4bdafb};this['_lockTransition'](),this[_0x4687d3(0x3ca)](this[_0x4687d3(0x222)][_0x4687d3(0x18b)](_0x30a694)),this['_unlockTransition']();}[_0x332b6f(0x3b5)](_0x5d0392){var _0x253e5b=_0x332b6f;this['_lockTransition'](),this[_0x253e5b(0x3ca)](this['_state']['onRemoteAck'](_0x5d0392)),this[_0x253e5b(0x2bf)]();}[_0x332b6f(0x324)](_0x58f30a){var _0x1e5725=_0x332b6f;this[_0x1e5725(0x205)](),this[_0x1e5725(0x3ca)](this['_state'][_0x1e5725(0x293)](_0x58f30a)),this[_0x1e5725(0x2bf)]();}[_0x332b6f(0x22a)](_0x5cbcc0){var _0x45234e=_0x332b6f;this[_0x45234e(0x205)](),this[_0x45234e(0x3ca)](this[_0x45234e(0x222)][_0x45234e(0x16d)](_0x5cbcc0)),this['_unlockTransition']();}['_onFetchMissResult'](_0xcf042e){var _0x22ddce=_0x332b6f;if(!(this['_state']instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x371dc1=_0xcf042e[_0x22ddce(0x152)](_0x3e8c2b=>{var _0x4a5516=_0x22ddce;const _0x57e170=this['_compressMutationService'][_0x4a5516(0x1e2)][_0x4a5516(0x3ad)](this['_compressMutationService'][_0x4a5516(0x1e2)]['getInterceptPoints']()[_0x4a5516(0x2d6)])(_0x3e8c2b['mutations'],null)||_0x3e8c2b[_0x4a5516(0x416)];return{..._0x3e8c2b,'mutations':_0x57e170};});this[_0x22ddce(0x205)](),this[_0x22ddce(0x3ca)](this[_0x22ddce(0x222)][_0x22ddce(0x40b)](_0x371dc1)),this['_unlockTransition']();}[_0x332b6f(0x430)](){var _0x437255=_0x332b6f;this['_lockTransition'](),this['_updateState'](this['_state'][_0x437255(0x1b5)]()),this[_0x437255(0x2bf)]();}[_0x332b6f(0x169)](_0x128df5=!0x1){var _0x3eefc4=_0x332b6f;this[_0x3eefc4(0x205)](),this[_0x3eefc4(0x3ca)](this['_state'][_0x3eefc4(0x131)]()),this[_0x3eefc4(0x2bf)]();const _0xf6f203=this[_0x3eefc4(0x222)];_0x128df5&&_0xf6f203 instanceof ye&&(this['_lockTransition'](),this['_updateState'](_0xf6f203[_0x3eefc4(0x23b)]()),this[_0x3eefc4(0x2bf)]());}async[_0x332b6f(0x2ed)](){return new Promise(_0x2e5047=>{var _0x4dcc9a=_0x2301;this[_0x4dcc9a(0x2c1)][_0x4dcc9a(0x37a)][_0x4dcc9a(0x287)](_0x286f91(0x1))['subscribe'](async _0x3cb289=>{_0x2e5047(await this['_createInitialStateImpl'](_0x3cb289===Se['ONLINE']));});});}[_0x332b6f(0x12a)](){var _0x50e145=_0x332b6f;const _0x3f3933=this[_0x50e145(0x31a)];return{'onStateChange':(_0x50e6ea,_0x33da88)=>{var _0x56cf6f=_0x50e145;if(_0x50e6ea!==this[_0x56cf6f(0x222)])throw new Error(_0x56cf6f(0x3a7)+_0x50e6ea[_0x56cf6f(0x12b)]+_0x56cf6f(0x12e)+_0x33da88['status']+_0x56cf6f(0x439)+this[_0x56cf6f(0x222)]['status']);this['_updateState'](_0x33da88);},'onSendChangeset':_0x11558a=>{var _0x15d5a6=_0x50e145;_0x11558a[_0x15d5a6(0x3ae)]||(_0x11558a[_0x15d5a6(0x3ae)]=this[_0x15d5a6(0x31b)],_0x11558a['reqId']=++this[_0x15d5a6(0x358)]);const _0x422a87={'eventID':_0x418085[_0x15d5a6(0x338)],'data':{'unitID':_0x11558a[_0x15d5a6(0x31a)],'unitType':this[_0x15d5a6(0x1be)],'changeset':_0x11558a,'memberID':this[_0x15d5a6(0x2c1)][_0x15d5a6(0x270)]()}};this[_0x15d5a6(0x2c1)][_0x15d5a6(0x21f)](_0x422a87,this[_0x15d5a6(0x31a)]);},'onMissingChangesets':({from:_0x1a0dbd,to:_0x564d30})=>{var _0x189cc7=_0x50e145;this[_0x189cc7(0x3f5)]['debug'](_0x189cc7(0x2b9),_0x189cc7(0x3e6)+_0x1a0dbd+_0x189cc7(0x2e8)+_0x564d30);const _0x286d75={'eventID':_0x418085['FETCH_MISSING'],'data':{'unitID':_0x3f3933,'unitType':this[_0x189cc7(0x1be)],'from':_0x1a0dbd,'to':_0x564d30}};this['session'][_0x189cc7(0x21f)](_0x286d75,this[_0x189cc7(0x31a)]);}};}async[_0x332b6f(0x294)](_0x2ccd2a){var _0x2bcf11=_0x332b6f,_0x469f6c,_0x2429e5,_0x26eaf3;const _0x5e6a72=await((_0x469f6c=this['_localCacheService'])==null?void 0x0:_0x469f6c[_0x2bcf11(0x170)](this[_0x2bcf11(0x31a)])),_0x35c9d8=(_0x2429e5=_0x5e6a72==null?void 0x0:_0x5e6a72[_0x2bcf11(0x416)])!=null?_0x2429e5:[],_0x4cb2d7=(_0x26eaf3=_0x5e6a72==null?void 0x0:_0x5e6a72[_0x2bcf11(0x1cd)])!=null?_0x26eaf3:null,_0x505a66=!!(_0x4cb2d7!=null&&_0x4cb2d7[_0x2bcf11(0x3ae)])&&!!(_0x4cb2d7!=null&&_0x4cb2d7[_0x2bcf11(0x3eb)]);this[_0x2bcf11(0x31b)]=_0x505a66?_0x4cb2d7[_0x2bcf11(0x3ae)]:_0x3b8cf4(),this[_0x2bcf11(0x358)]=_0x505a66?_0x4cb2d7['reqId']:0x0;const _0xc0fa43=this['unitID'];try{this[_0x2bcf11(0x405)](_0x4cb2d7,_0x35c9d8);}catch(_0x40d7b3){this[_0x2bcf11(0x3f5)][_0x2bcf11(0x160)](_0x40d7b3);}const _0xf3c3fc=this[_0x2bcf11(0x12a)]();if(_0x2ccd2a){const _0xc138eb=Ri(this[_0x2bcf11(0x300)],_0xc0fa43,this[_0x2bcf11(0x1be)],_0x4cb2d7,_0x35c9d8,_0xf3c3fc);return _0xc138eb instanceof re?_0xc138eb[_0x2bcf11(0x1bb)]():(_0xc138eb instanceof ae||_0xc138eb instanceof _e)&&_0xc138eb[_0x2bcf11(0x23f)](),_0xc138eb;}return this[_0x2bcf11(0x300)]['createInstance'](ue,_0xc0fa43,this[_0x2bcf11(0x1be)],_0x4cb2d7,_0x35c9d8,_0xf3c3fc);}['_replayCachedMutations'](_0x56a1d2,_0x367583){var _0x2f321b=_0x332b6f,_0x435f4e,_0x25ae53;const _0x319499=this[_0x2f321b(0x408)][_0x2f321b(0x1e2)][_0x2f321b(0x3ad)](this[_0x2f321b(0x408)][_0x2f321b(0x1e2)][_0x2f321b(0x201)]()[_0x2f321b(0x2d6)]);(_0x435f4e=_0x319499((_0x56a1d2==null?void 0x0:_0x56a1d2[_0x2f321b(0x416)])||[],null))==null||_0x435f4e[_0x2f321b(0x31c)](_0x5ef7d9=>this['_commandService'][_0x2f321b(0x29a)](_0x5ef7d9['id'],_0x5ef7d9[_0x2f321b(0x14d)])),(_0x25ae53=_0x319499(_0x367583||[],null))==null||_0x25ae53[_0x2f321b(0x31c)](_0x208730=>this[_0x2f321b(0x2dc)][_0x2f321b(0x29a)](_0x208730['id'],_0x208730[_0x2f321b(0x14d)]));}};st=wt([H(0x3,_0x5e1e11(_0x226671)),H(0x4,_0x5e1e11(_0x433706)),H(0x5,_0x5e1e11(_0x2a03f0)),H(0x6,_0x5e1e11(_0x278fa6)),H(0x7,_0x5e1e11(ve)),H(0x8,_0x2ee83c),H(0x9,_0x499b8d),H(0xa,_0x545df8),H(0xb,_0x2b6ae4(ht)),H(0xc,_0x2b6ae4(J))],st);let St=class extends st{constructor(_0x450ae1,_0x24b611,_0x1bc21f,_0x22a15c,_0x526b8a,_0x32df78,_0x4c9a7d,_0x5649cd,_0x34a11c,_0x16a151,_0x1fb2e9,_0x1c3714,_0x1f43ed){var _0x4f4f89=_0x332b6f;super(_0x450ae1,_0x1bc21f,_0x24b611,_0x22a15c,_0x526b8a,_0x32df78,_0x4c9a7d,_0x5649cd,_0x34a11c,_0x16a151,_0x1fb2e9,_0x1c3714,_0x1f43ed),N(this,_0x4f4f89(0x1ee),null),(this['unitID']=_0x450ae1,this[_0x4f4f89(0x2a6)]=_0x24b611);}[_0x332b6f(0x339)](_0x3e68a8){this['_handlerCallback']=_0x3e68a8;}['dispose'](){var _0x545f41=_0x332b6f;this[_0x545f41(0x1ee)]=null,super[_0x545f41(0x3f3)]();}[_0x332b6f(0x12a)](){var _0x4f75cc=_0x332b6f;const _0x3fb113=super[_0x4f75cc(0x12a)]();return _0x3fb113[_0x4f75cc(0x394)]=_0x26e151=>{var _0x3d700a=_0x4f75cc,_0x19b2a3,_0x241170;return(_0x241170=(_0x19b2a3=this[_0x3d700a(0x1ee)])==null?void 0x0:_0x19b2a3[_0x3d700a(0x394)])==null?void 0x0:_0x241170[_0x3d700a(0x15c)](_0x19b2a3,_0x26e151);},_0x3fb113[_0x4f75cc(0x26a)]=_0x1ed8ef=>{var _0x3a6f3f=_0x4f75cc,_0x2cdae7,_0xe9d8ea;return(_0xe9d8ea=(_0x2cdae7=this[_0x3a6f3f(0x1ee)])==null?void 0x0:_0x2cdae7[_0x3a6f3f(0x26a)])==null?void 0x0:_0xe9d8ea[_0x3a6f3f(0x15c)](_0x2cdae7,_0x1ed8ef);},_0x3fb113[_0x4f75cc(0x1b6)]=_0x2e6202=>{var _0x190559=_0x4f75cc,_0xa20a45,_0x67456e;return(_0x67456e=(_0xa20a45=this[_0x190559(0x1ee)])==null?void 0x0:_0xa20a45['onTransformSelections'])==null?void 0x0:_0x67456e['call'](_0xa20a45,_0x2e6202);},_0x3fb113[_0x4f75cc(0x1f1)]=_0x4f8580=>{var _0x5cc963=_0x4f75cc,_0x260ae8,_0x5ae648;return(_0x5ae648=(_0x260ae8=this[_0x5cc963(0x1ee)])==null?void 0x0:_0x260ae8[_0x5cc963(0x1f1)])==null?void 0x0:_0x5ae648[_0x5cc963(0x15c)](_0x260ae8,_0x4f8580);},_0x3fb113[_0x4f75cc(0x21d)]=_0x1cd60f=>{var _0xd3b766=_0x4f75cc,_0x195c9d,_0x5e49a4,_0x1f01ba;if(!((_0x195c9d=this[_0xd3b766(0x1ee)])!=null&&_0x195c9d[_0xd3b766(0x21d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1f01ba=(_0x5e49a4=this[_0xd3b766(0x1ee)])==null?void 0x0:_0x5e49a4[_0xd3b766(0x21d)])==null?void 0x0:_0x1f01ba[_0xd3b766(0x15c)](_0x5e49a4,_0x1cd60f);},_0x3fb113[_0x4f75cc(0x412)]=_0xe0a058=>{var _0x5bbeb5=_0x4f75cc,_0x217962,_0x657c02,_0x26466f;if(!((_0x217962=this['_handlerCallback'])!=null&&_0x217962['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5bbeb5(0x388));return(_0x26466f=(_0x657c02=this[_0x5bbeb5(0x1ee)])==null?void 0x0:_0x657c02['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x26466f[_0x5bbeb5(0x15c)](_0x657c02,_0xe0a058);},_0x3fb113;}async[_0x332b6f(0x2f1)](){var _0x194996=_0x332b6f;const _0x474187=await super[_0x194996(0x2f1)]();return this[_0x194996(0x288)](this['_commandService'][_0x194996(0x161)]((_0x545671,_0x5a637f)=>{var _0x5befd3=_0x194996;if(_0x545671[_0x5befd3(0x2a6)]!==_0x2bca99[_0x5befd3(0x3e1)]||_0x5a637f!=null&&_0x5a637f[_0x5befd3(0x147)]||_0x5a637f!=null&&_0x5a637f['onlyLocal']||_0x545671['id']===_0x2497f1['id'])return;const _0x5768ce=_0x545671[_0x5befd3(0x14d)];if((_0x5768ce==null?void 0x0:_0x5768ce[_0x5befd3(0x1fe)])!==this[_0x5befd3(0x31a)])return;const _0xd198e4=_0x545671,_0x54be05=this[_0x5befd3(0x408)]['interceptor']['fetchThroughInterceptors'](this[_0x5befd3(0x408)][_0x5befd3(0x1e2)][_0x5befd3(0x201)]()['COMPRESS_MUTATION_SEND'])([_0xd198e4],null)||[_0xd198e4];this['_onLocalMutation'](_0x54be05[0x0]);})),_0x474187;}};St=wt([H(0x3,_0x5e1e11(_0x226671)),H(0x4,_0x5e1e11(_0x433706)),H(0x5,_0x5e1e11(_0x2a03f0)),H(0x6,_0x5e1e11(_0x278fa6)),H(0x7,_0x5e1e11(ve)),H(0x8,_0x2ee83c),H(0x9,_0x499b8d),H(0xa,_0x545df8),H(0xb,_0x2b6ae4(ht)),H(0xc,_0x2b6ae4(J))],St);let Et=class extends st{constructor(_0x2b32c9,_0x28dbde,_0x14fe8f,_0x30023f,_0x6043d6,_0x3ae93a,_0x1ac65d,_0x201d75,_0x427967,_0x8b7877,_0x307400,_0xe1652f,_0xc2121a,_0x35e4ae){var _0x158e36=_0x332b6f;super(_0x2b32c9,_0x14fe8f,_0x28dbde,_0x30023f,_0x6043d6,_0x3ae93a,_0x1ac65d,_0x427967,_0x8b7877,_0x307400,_0xe1652f,_0xc2121a,_0x35e4ae),this['unitID']=_0x2b32c9,this['type']=_0x28dbde,this[_0x158e36(0x133)]=_0x201d75;}['_createHandler'](){var _0x32e7be=_0x332b6f;const _0x3880f2=super['_createHandler']();return _0x3880f2[_0x32e7be(0x1b6)]=_0x2c22c2=>this[_0x32e7be(0x133)][_0x32e7be(0x1e3)](_0x2c22c2),_0x3880f2;}async['_init'](){var _0x36d596=_0x332b6f;const _0x5b4416=await super['_init']();return this[_0x36d596(0x288)](this[_0x36d596(0x2dc)][_0x36d596(0x161)]((_0x1152f9,_0x6746e5)=>{var _0x531c59=_0x36d596;if(_0x1152f9[_0x531c59(0x2a6)]!==_0x2bca99['MUTATION']||_0x6746e5!=null&&_0x6746e5[_0x531c59(0x147)]||_0x6746e5!=null&&_0x6746e5[_0x531c59(0x1cb)])return;const _0x1ead51=_0x1152f9[_0x531c59(0x14d)];if((_0x1ead51==null?void 0x0:_0x1ead51[_0x531c59(0x1fe)])!==this['unitID'])return;const _0x5da939=_0x1152f9,_0x13a3fa=this['_compressMutationService'][_0x531c59(0x1e2)][_0x531c59(0x3ad)](this[_0x531c59(0x408)][_0x531c59(0x1e2)][_0x531c59(0x201)]()[_0x531c59(0x3d5)])([_0x5da939],null)||[_0x5da939];this['_onLocalMutation'](_0x13a3fa[0x0]);})),_0x5b4416;}};Et=wt([H(0x3,_0x5e1e11(_0x226671)),H(0x4,_0x5e1e11(_0x433706)),H(0x5,_0x5e1e11(_0x2a03f0)),H(0x6,_0x5e1e11(_0x278fa6)),H(0x7,_0x5e1e11(it)),H(0x8,_0x5e1e11(ve)),H(0x9,_0x2ee83c),H(0xa,_0x499b8d),H(0xb,_0x545df8),H(0xc,_0x2b6ae4(ht)),H(0xd,_0x2b6ae4(J))],Et);var Qs=Object[_0x332b6f(0x438)],en=(_0x17bb91,_0x3f54f9,_0x4ea494,_0x2c56b3)=>{for(var _0x525027=_0x2c56b3>0x1?void 0x0:_0x2c56b3?Qs(_0x3f54f9,_0x4ea494):_0x3f54f9,_0x41e321=_0x17bb91['length']-0x1,_0xa1b50a;_0x41e321>=0x0;_0x41e321--)(_0xa1b50a=_0x17bb91[_0x41e321])&&(_0x525027=_0xa1b50a(_0x525027)||_0x525027);return _0x525027;},Be=(_0x239875,_0xbc1dfc)=>(_0x3928e1,_0x4abcf4)=>_0xbc1dfc(_0x3928e1,_0x4abcf4,_0x239875);let nt=class extends _0x5861e5{constructor(_0x322cfe,_0x2491d8,_0x118440,_0x2f4bab){var _0xcbd464=_0x332b6f,_0x5239ef;super(),N(this,_0xcbd464(0x1b0),new Map()),N(this,_0xcbd464(0x3db),new _0x1ac18f()),N(this,_0xcbd464(0x3ec),this[_0xcbd464(0x3db)][_0xcbd464(0x38a)]()),(this['_injector']=_0x322cfe,this['_collabSessionService']=_0x2491d8,this[_0xcbd464(0x3a8)]=_0x118440,this['_univerInstanceService']=_0x2f4bab,((_0x5239ef=this[_0xcbd464(0x3a8)][_0xcbd464(0x1ac)](K))==null?void 0x0:_0x5239ef[_0xcbd464(0x19c)])!==!0x1&&this['_init']());}['dispose'](){var _0x3a52db=_0x332b6f;super[_0x3a52db(0x3f3)](),this['_entities']['forEach'](_0x460033=>_0x460033[_0x3a52db(0x3f3)]()),this[_0x3a52db(0x1b0)][_0x3a52db(0x2e6)]();}['getCollabEntity'](_0x3c25d9){var _0x428988=_0x332b6f,_0x2a3003;return(_0x2a3003=this[_0x428988(0x1b0)][_0x428988(0x292)](_0x3c25d9))!=null?_0x2a3003:null;}[_0x332b6f(0x32b)](_0x3e35c0){var _0x426d0c=_0x332b6f;const _0x3c20cd=this[_0x426d0c(0x2f8)](_0x3e35c0);return _0x3c20cd?_0x4bede0(_0x3c20cd):this[_0x426d0c(0x3db)][_0x426d0c(0x287)](_0x3c6cec(_0x27924a=>_0x27924a[_0x426d0c(0x31a)]===_0x3e35c0));}['readyForCollab'](_0x40f3b4){var _0x4ee199=_0x332b6f;return _0x6514ca(this[_0x4ee199(0x32b)](_0x40f3b4)[_0x4ee199(0x287)](_0x2f4302(()=>{})));}[_0x332b6f(0x2f1)](){var _0x32ccab=_0x332b6f;this['_univerInstanceService'][_0x32ccab(0x20e)](_0x2db736[_0x32ccab(0x3fe)])[_0x32ccab(0x287)](_0xa96493(this['dispose$']),_0x8f3393(0x10))['subscribe'](async _0x308dd2=>{var _0x4aa78b=_0x32ccab;const _0x44435d=_0x308dd2[_0x4aa78b(0x2bd)](),_0x1e163b=await this[_0x4aa78b(0x218)](_0x44435d,Z['UNIVER_SHEET']);this[_0x4aa78b(0x1b0)]['set'](_0x44435d,_0x1e163b);}),this[_0x32ccab(0x18d)]['getTypeOfUnitAdded$'](_0x2db736[_0x32ccab(0x172)])[_0x32ccab(0x287)](_0xa96493(this[_0x32ccab(0x41b)]),_0x8f3393(0x10))[_0x32ccab(0x287)](_0x3c6cec(_0x1a8e4d=>!_0x1a8e4d[_0x32ccab(0x2bd)]()[_0x32ccab(0x3e7)]('__')))['subscribe'](async _0x564791=>{var _0x1a781d=_0x32ccab;const _0x5268a0=_0x564791['getUnitId'](),_0x200ad2=await this[_0x1a781d(0x218)](_0x5268a0,Z[_0x1a781d(0x172)]);this[_0x1a781d(0x1b0)]['set'](_0x5268a0,_0x200ad2);}),_0x99efa5(this[_0x32ccab(0x18d)][_0x32ccab(0x1da)](_0x2db736[_0x32ccab(0x3fe)]),this[_0x32ccab(0x18d)][_0x32ccab(0x1da)](_0x2db736[_0x32ccab(0x172)]))[_0x32ccab(0x287)](_0xa96493(this[_0x32ccab(0x41b)]))['subscribe'](_0x2e40b2=>{var _0x19021d=_0x32ccab;const _0x5ef518=_0x2e40b2['getUnitId'](),_0x2f9eac=this['_entities'][_0x19021d(0x292)](_0x5ef518);_0x2f9eac&&(_0x2f9eac[_0x19021d(0x3f3)](),this[_0x19021d(0x1b0)][_0x19021d(0x2ae)](_0x5ef518));});}async['_startCollaboration'](_0xc93270,_0x2da44c){var _0x8cb69c=_0x332b6f;const _0x4f1df8=await this[_0x8cb69c(0x1af)][_0x8cb69c(0x249)](_0xc93270),_0x1f52c6=this[_0x8cb69c(0x300)][_0x8cb69c(0x12f)](this[_0x8cb69c(0x3c0)](_0x2da44c),_0xc93270,_0x2da44c,_0x4f1df8);return await _0x1f52c6[_0x8cb69c(0x414)](),this[_0x8cb69c(0x3db)]['next'](_0x1f52c6),_0x1f52c6;}[_0x332b6f(0x3c0)](_0x1eabe9){var _0x772021=_0x332b6f;switch(_0x1eabe9){case Z['UNIVER_DOC']:return St;case Z[_0x772021(0x3fe)]:return Et;default:throw new Error(_0x772021(0x168)+_0x1eabe9);}}};nt=en([Be(0x0,_0x5e1e11(_0x226671)),Be(0x1,_0x5e1e11(Le)),Be(0x2,_0x5747ff),Be(0x3,_0x47549b)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x354884,_0x1e7552,_0x252e56,_0x467769)=>{var _0x4643ab=_0x332b6f;for(var _0x342d7c=_0x467769>0x1?void 0x0:_0x467769?tn(_0x1e7552,_0x252e56):_0x1e7552,_0x42cb49=_0x354884[_0x4643ab(0x378)]-0x1,_0x4c437d;_0x42cb49>=0x0;_0x42cb49--)(_0x4c437d=_0x354884[_0x42cb49])&&(_0x342d7c=_0x4c437d(_0x342d7c)||_0x342d7c);return _0x342d7c;},Wt=(_0x560ea9,_0x449ed7)=>(_0x3339cc,_0x57fcc2)=>_0x449ed7(_0x3339cc,_0x57fcc2,_0x560ea9);const nn=_0x332b6f(0x257),rn=_0x332b6f(0x163);let It=class extends _0x401350{constructor(_0x350e88,_0xbc90af){var _0x2a38df=_0x332b6f;super(),this[_0x2a38df(0x18d)]=_0x350e88,this[_0x2a38df(0x3a8)]=_0xbc90af,this[_0x2a38df(0x2f1)]();}[_0x332b6f(0x2f1)](){var _0x2e5e48=_0x332b6f;this[_0x2e5e48(0x288)](this[_0x2e5e48(0x18d)][_0x2e5e48(0x397)][_0x2e5e48(0x166)](()=>{var _0x1b963e=_0x2e5e48,_0x2d3c8f;const _0x1a5e06=this['_univerInstanceService'][_0x1b963e(0x421)]();let _0x4f9e34=(_0x2d3c8f=this[_0x1b963e(0x3a8)][_0x1b963e(0x1ac)](nn))!=null?_0x2d3c8f:rn;_0x1a5e06 instanceof _0x4b1cc3&&(_0x4f9e34=_0x1a5e06[_0x1b963e(0x3ed)]),document['title']=_0x4f9e34;}));}};It=sn([Wt(0x0,_0x47549b),Wt(0x1,_0x5747ff)],It);var an=Object[_0x332b6f(0x438)],on=(_0x1bc97e,_0x4676ee,_0x583e97,_0x36214b)=>{var _0x4d7ff6=_0x332b6f;for(var _0x365b74=_0x36214b>0x1?void 0x0:_0x36214b?an(_0x4676ee,_0x583e97):_0x4676ee,_0x8f66ef=_0x1bc97e[_0x4d7ff6(0x378)]-0x1,_0x1244f2;_0x8f66ef>=0x0;_0x8f66ef--)(_0x1244f2=_0x1bc97e[_0x8f66ef])&&(_0x365b74=_0x1244f2(_0x365b74)||_0x365b74);return _0x365b74;},dt=(_0x44568d,_0x28c07a)=>(_0x1ff57e,_0x50b73a)=>_0x28c07a(_0x1ff57e,_0x50b73a,_0x44568d);let rt=class{constructor(_0x83c670,_0x1f9a3c,_0x2f1a2e){var _0x57c906=_0x332b6f;this['_configService']=_0x83c670,this[_0x57c906(0x2ff)]=_0x1f9a3c,this['localeService']=_0x2f1a2e,this[_0x57c906(0x414)]();}[_0x332b6f(0x414)](){var _0x4fa51c=_0x332b6f;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x48433f,_0x102151)=>_0x102151(_0x48433f)[_0x4fa51c(0x287)](_0x15abb8(async _0x4b0449=>{var _0x4fccbe=_0x4fa51c;const _0x5f3f08=_0x4b0449;if(_0x5f3f08[_0x4fccbe(0x12b)]===0x191){if(typeof window>'u')throw new Error(_0x4fccbe(0x3ea));if(window[_0x4fccbe(0x315)](this[_0x4fccbe(0x1c8)]['t'](_0x4fccbe(0x3d7)))){const _0x555822=window[_0x4fccbe(0x2ce)](window[_0x4fccbe(0x313)][_0x4fccbe(0x402)]);window['location'][_0x4fccbe(0x402)]=this[_0x4fccbe(0x24e)]()+_0x4fccbe(0x34d)+_0x555822;}}return _0x5f3f08;}))});}['_getLoginPath'](){var _0x2256d4=_0x332b6f,_0xe7454e,_0x4946b3;const _0x589c77=this[_0x2256d4(0x3a8)][_0x2256d4(0x1ac)](ys),_0x2e15c6=this['_configService'][_0x2256d4(0x1ac)](K);return(_0x4946b3=(_0xe7454e=_0x2e15c6==null?void 0x0:_0x2e15c6[_0x2256d4(0x1ca)])!=null?_0xe7454e:_0x589c77)!=null?_0x4946b3:Ns;}};rt=on([dt(0x0,_0x5747ff),dt(0x1,_0x5e1e11(_0x50e32e)),dt(0x2,_0x5e1e11(_0x2a03f0))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0x3bab09,_0x322b64,_0x236d6e,_0x305998)=>{var _0x4334d9=_0x332b6f;for(var _0x3d3c4d=_0x305998>0x1?void 0x0:_0x305998?cn(_0x322b64,_0x236d6e):_0x322b64,_0x54c6e2=_0x3bab09[_0x4334d9(0x378)]-0x1,_0x254399;_0x54c6e2>=0x0;_0x54c6e2--)(_0x254399=_0x3bab09[_0x54c6e2])&&(_0x3d3c4d=_0x254399(_0x3d3c4d)||_0x3d3c4d);return _0x3d3c4d;},Kt=(_0x5d1020,_0x1afefe)=>(_0x678808,_0x1d7717)=>_0x1afefe(_0x678808,_0x1d7717,_0x5d1020);const Oi='AUTHZ_URL_KEY',_n=_0x332b6f(0x136);let Tt=class extends _0x401350{constructor(_0x29d22f,_0x1d2c5c){var _0x31484b=_0x332b6f;super(),this[_0x31484b(0x1c9)]=_0x29d22f,this[_0x31484b(0x3a8)]=_0x1d2c5c,this[_0x31484b(0x256)]();}[_0x332b6f(0x256)](){var _0x2e83b9=_0x332b6f;const _0x37fffa=this;this[_0x2e83b9(0x288)](this['_HTTPService'][_0x2e83b9(0x38b)]({'priority':0x3e7,'interceptor':_0x45b75c({'isMatch'(_0x3fd287){var _0x46bc98=_0x2e83b9,_0x1f4f5d;if(_0x3fd287[_0x46bc98(0x1ad)]==='POST'&&((_0x1f4f5d=_0x3fd287[_0x46bc98(0x3d4)])!=null&&_0x1f4f5d[_0x46bc98(0x22d)])){const {objectID:_0x41205c,objectType:_0x2ba8fe}=_0x3fd287['requestParams'][_0x46bc98(0x22d)]||{};if(!_0x41205c||_0x2ba8fe===void 0x0)return!0x1;const _0x2ae8cb=_0x37fffa[_0x46bc98(0x426)]()+'/'+_0x2ba8fe+_0x46bc98(0x171)+_0x41205c+_0x46bc98(0x1ea);if(_0x3fd287[_0x46bc98(0x385)]===_0x2ae8cb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34e2e2){var _0x440c00=_0x2e83b9,_0x4f6ac1;return(_0x4f6ac1=_0x34e2e2[_0x440c00(0x3d4)])==null?void 0x0:_0x4f6ac1[_0x440c00(0x22d)];},'mergeParamsToRequest'(_0x46487d,_0x1046b1){var _0x4b5d78=_0x2e83b9;const _0x2b1a74=_0x37fffa[_0x4b5d78(0x426)]()+'/-/object/-/batch_allowed',_0x18920a=_0x46487d[_0x4b5d78(0x1cc)]((_0x35e03b,_0x5480a9)=>{var _0x233814=_0x4b5d78;const {unitID:_0x26dbb8,objectID:_0x19e204,objectType:_0x3302e9,actions:_0xcf0991}=_0x5480a9;return _0x35e03b[_0x26dbb8]||(_0x35e03b[_0x26dbb8]={}),_0x35e03b[_0x26dbb8][_0x19e204]||(_0x35e03b[_0x26dbb8][_0x19e204]={'objectID':_0x19e204,'objectType':_0x3302e9,'actions':[]}),_0x35e03b[_0x26dbb8][_0x19e204][_0x233814(0x27f)][_0x233814(0x16f)](..._0xcf0991),_0x35e03b;},{}),_0x318e58=[];for(const _0x398f9b in _0x18920a)for(const _0x25f257 in _0x18920a[_0x398f9b]){const {actions:_0x20b8b8,objectType:_0x2d1d3e}=_0x18920a[_0x398f9b][_0x25f257],_0x43f3b2=[...new Set(_0x20b8b8)];_0x318e58[_0x4b5d78(0x16f)]({'unitID':_0x398f9b,'objectID':_0x25f257,'objectType':_0x2d1d3e,'actions':_0x43f3b2});}return new _0x24e9cf(_0x4b5d78(0x2d0),_0x2b1a74,{'headers':_0x1046b1['headers'],'withCredentials':_0x1046b1['withCredentials'],'responseType':_0x1046b1[_0x4b5d78(0x196)],'body':{'requests':_0x318e58}});}},{'distributeResult'(_0x2cdf99,_0x2fd56e){const {objectActions:_0x1a15b9}=_0x2cdf99;return _0x2fd56e['map'](_0x53bd67=>{var _0x1ed0bc=_0x2301;const {unitID:_0x3e8743,objectID:_0x24af3f,actions:_0x51db66}=_0x53bd67,_0x26ecde=_0x1a15b9['find'](_0x4b6d57=>_0x4b6d57[_0x1ed0bc(0x31a)]===_0x3e8743&&_0x4b6d57[_0x1ed0bc(0x37f)]===_0x24af3f),_0x246f6f=_0x51db66[_0x1ed0bc(0x152)](_0x25fdb6=>_0x26ecde==null?void 0x0:_0x26ecde[_0x1ed0bc(0x27f)][_0x1ed0bc(0x36d)](_0x55eca8=>_0x55eca8['action']===_0x25fdb6))[_0x1ed0bc(0x1ba)](_0x280b39=>!!_0x280b39);return{'config':_0x53bd67,'result':{'actions':_0x246f6f,'error':_0x2cdf99[_0x1ed0bc(0x160)]}};});}})}));}[_0x332b6f(0x426)](){var _0x5a9f1a=_0x332b6f,_0x3934ec,_0x3b80be;const _0x3b814d=this[_0x5a9f1a(0x3a8)][_0x5a9f1a(0x1ac)](Oi),_0x2f0752=this['_configService'][_0x5a9f1a(0x1ac)](K);return(_0x3b80be=(_0x3934ec=_0x2f0752==null?void 0x0:_0x2f0752['authzUrl'])!=null?_0x3934ec:_0x3b814d)!=null?_0x3b80be:_n;}async[_0x332b6f(0x1c1)](_0x296f6b){var _0x35aa3e=_0x332b6f;const _0x16c9e6=this[_0x35aa3e(0x426)]()+'/'+_0x296f6b[_0x35aa3e(0x3b4)]+_0x35aa3e(0x332);return(await this[_0x35aa3e(0x1c9)][_0x35aa3e(0x1a3)](_0x16c9e6,{'body':_0x296f6b}))[_0x35aa3e(0x22d)][_0x35aa3e(0x37f)]||'';}async[_0x332b6f(0x139)](_0x40819b){var _0x4e30ff=_0x332b6f;const _0x20ad45=this[_0x4e30ff(0x426)]()+_0x4e30ff(0x3c7);return(await this['_HTTPService'][_0x4e30ff(0x1a3)](_0x20ad45,{'body':_0x40819b}))[_0x4e30ff(0x22d)]['objects'];}async['update'](_0x243c3c){var _0x454e48=_0x332b6f,_0xb36a95,_0x47cff9;const _0x36a63f=this[_0x454e48(0x426)]()+'/'+_0x243c3c[_0x454e48(0x3b4)]+_0x454e48(0x171)+_0x243c3c[_0x454e48(0x37f)],_0x3cdd9e=await this[_0x454e48(0x1c9)][_0x454e48(0x20d)](_0x36a63f,{'body':_0x243c3c});if(((_0x47cff9=(_0xb36a95=_0x3cdd9e==null?void 0x0:_0x3cdd9e['body'])==null?void 0x0:_0xb36a95[_0x454e48(0x160)])==null?void 0x0:_0x47cff9['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x332b6f(0x33c)](_0x31e93f){var _0x4becf9=_0x332b6f;const _0x151e13=this[_0x4becf9(0x426)]()+'/'+_0x31e93f['objectType']+_0x4becf9(0x171)+_0x31e93f['objectID']+'/allowed';return(await this['_HTTPService'][_0x4becf9(0x1a3)](_0x151e13,{'body':_0x31e93f}))[_0x4becf9(0x22d)]['actions'];}async['batchAllowed'](_0x495373){var _0x365f7c=_0x332b6f;const _0x5720d0=this[_0x365f7c(0x426)]()+'/-/object/-/batch_allowed';return(await this[_0x365f7c(0x1c9)][_0x365f7c(0x1a3)](_0x5720d0,{'body':{'requests':_0x495373}}))[_0x365f7c(0x22d)][_0x365f7c(0x41a)];}async['listRoles'](_0x2af6c5){var _0x4c5e84=_0x332b6f;const _0xa59336=this[_0x4c5e84(0x426)]()+'/'+_0x2af6c5['objectType']+_0x4c5e84(0x266),_0x1d7dde=await this['_HTTPService']['post'](_0xa59336,{'body':_0x2af6c5});return{'roles':_0x1d7dde[_0x4c5e84(0x22d)][_0x4c5e84(0x30f)],'actions':_0x1d7dde[_0x4c5e84(0x22d)][_0x4c5e84(0x27f)]};}async[_0x332b6f(0x2d8)](_0x26dbcd){var _0xe9a256=_0x332b6f;const _0xc70bb1=this[_0xe9a256(0x426)]()+_0xe9a256(0x42b);await this[_0xe9a256(0x1c9)][_0xe9a256(0x2ae)](_0xc70bb1,{'params':{'collaboratorID':_0x26dbcd['collaboratorID'],'objectID':_0x26dbcd[_0xe9a256(0x37f)],'unitID':_0x26dbcd['unitID']}});}async[_0x332b6f(0x2ac)](_0x4ea7de){var _0x38d85c=_0x332b6f;const _0x48e091=this[_0x38d85c(0x426)]()+_0x38d85c(0x42b);await this[_0x38d85c(0x1c9)]['patch'](_0x48e091,{'body':_0x4ea7de});}async['createCollaborator'](_0x1c0e2d){var _0x41124b=_0x332b6f;const _0x3df6ac=this[_0x41124b(0x426)]()+_0x41124b(0x42b);await this[_0x41124b(0x1c9)][_0x41124b(0x1a3)](_0x3df6ac,{'body':_0x1c0e2d});}async['listCollaborators'](_0x1e3e7f){var _0x3dc854=_0x332b6f;const _0xbdb9a7=this[_0x3dc854(0x426)]()+_0x3dc854(0x42b);return(await this['_HTTPService'][_0x3dc854(0x292)](_0xbdb9a7,{'params':{'objectID':_0x1e3e7f[_0x3dc854(0x37f)],'unitID':_0x1e3e7f[_0x3dc854(0x31a)]}}))[_0x3dc854(0x22d)][_0x3dc854(0x333)];}async['putCollaborators'](_0x48c6de){var _0x5cb21c=_0x332b6f;const _0x584830=this[_0x5cb21c(0x426)]()+_0x5cb21c(0x42b);await this['_HTTPService'][_0x5cb21c(0x20d)](_0x584830,{'body':_0x48c6de});}};Tt=hn([Kt(0x0,_0x5e1e11(_0x50e32e)),Kt(0x1,_0x5e1e11(_0x5747ff))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5d5920){var _0x519a01=_0x332b6f;return _0x5d5920&&_0x5d5920['__esModule']&&Object[_0x519a01(0x33a)][_0x519a01(0x308)]['call'](_0x5d5920,_0x519a01(0x3cf))?_0x5d5920[_0x519a01(0x3cf)]:_0x5d5920;}var Ve={'exports':{}};function ln(_0xd881a4){var _0x377ef9=_0x332b6f;throw new Error(_0x377ef9(0x25d)+_0xd881a4+_0x377ef9(0x383));}var Ge={'exports':{}},un=Ge[_0x332b6f(0x387)],qt;function te(){var _0x3c79eb=_0x332b6f;return qt||(qt=0x1,function(_0x3ad07e,_0x37c952){(function(_0x3c8e9b,_0x345bc9){var _0x3bcc80=_0x2301;_0x3ad07e[_0x3bcc80(0x387)]=_0x345bc9();}(un,function(){var _0x170631=_0x170631||function(_0x224114,_0x199b0e){var _0x4d0d45=_0x2301,_0x59196b;if(typeof window<'u'&&window[_0x4d0d45(0x37b)]&&(_0x59196b=window[_0x4d0d45(0x37b)]),typeof self<'u'&&self['crypto']&&(_0x59196b=self[_0x4d0d45(0x37b)]),typeof globalThis<'u'&&globalThis[_0x4d0d45(0x37b)]&&(_0x59196b=globalThis[_0x4d0d45(0x37b)]),!_0x59196b&&typeof window<'u'&&window[_0x4d0d45(0x330)]&&(_0x59196b=window[_0x4d0d45(0x330)]),!_0x59196b&&typeof ft<'u'&&ft[_0x4d0d45(0x37b)]&&(_0x59196b=ft['crypto']),!_0x59196b&&typeof ln==_0x4d0d45(0x1b2))try{_0x59196b=require(_0x4d0d45(0x37b));}catch{}var _0x3f48d0=function(){var _0x4082de=_0x4d0d45;if(_0x59196b){if(typeof _0x59196b[_0x4082de(0x2b1)]==_0x4082de(0x1b2))try{return _0x59196b[_0x4082de(0x2b1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x59196b[_0x4082de(0x1a5)]==_0x4082de(0x1b2))try{return _0x59196b[_0x4082de(0x1a5)](0x4)[_0x4082de(0x310)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5df2b6=Object[_0x4d0d45(0x1c1)]||(function(){function _0x29c5de(){}return function(_0x368167){var _0x253c7c=_0x2301,_0x2061cd;return _0x29c5de[_0x253c7c(0x33a)]=_0x368167,_0x2061cd=new _0x29c5de(),_0x29c5de[_0x253c7c(0x33a)]=null,_0x2061cd;};}()),_0x5f4628={},_0x22dd57=_0x5f4628[_0x4d0d45(0x220)]={},_0x4b1e9d=_0x22dd57[_0x4d0d45(0x2ec)]=(function(){return{'extend':function(_0x4284ee){var _0x5e715b=_0x2301,_0x540621=_0x5df2b6(this);return _0x4284ee&&_0x540621[_0x5e715b(0x28d)](_0x4284ee),(!_0x540621[_0x5e715b(0x308)](_0x5e715b(0x414))||this['init']===_0x540621[_0x5e715b(0x414)])&&(_0x540621[_0x5e715b(0x414)]=function(){var _0x34f21d=_0x5e715b;_0x540621[_0x34f21d(0x419)][_0x34f21d(0x414)][_0x34f21d(0x127)](this,arguments);}),_0x540621[_0x5e715b(0x414)][_0x5e715b(0x33a)]=_0x540621,_0x540621[_0x5e715b(0x419)]=this,_0x540621;},'create':function(){var _0x1eaaba=_0x2301,_0x4e354b=this[_0x1eaaba(0x2d1)]();return _0x4e354b[_0x1eaaba(0x414)][_0x1eaaba(0x127)](_0x4e354b,arguments),_0x4e354b;},'init':function(){},'mixIn':function(_0x33f7e5){var _0x6324b8=_0x2301;for(var _0x583965 in _0x33f7e5)_0x33f7e5[_0x6324b8(0x308)](_0x583965)&&(this[_0x583965]=_0x33f7e5[_0x583965]);_0x33f7e5[_0x6324b8(0x308)](_0x6324b8(0x29f))&&(this[_0x6324b8(0x29f)]=_0x33f7e5[_0x6324b8(0x29f)]);},'clone':function(){var _0x1a1f68=_0x2301;return this[_0x1a1f68(0x414)]['prototype'][_0x1a1f68(0x2d1)](this);}};}()),_0x1629df=_0x22dd57['WordArray']=_0x4b1e9d[_0x4d0d45(0x2d1)]({'init':function(_0x258e8c,_0x1e0a9e){var _0x56211e=_0x4d0d45;_0x258e8c=this['words']=_0x258e8c||[],_0x1e0a9e!=_0x199b0e?this[_0x56211e(0x13d)]=_0x1e0a9e:this[_0x56211e(0x13d)]=_0x258e8c['length']*0x4;},'toString':function(_0x411f81){var _0x56629a=_0x4d0d45;return(_0x411f81||_0x4a32e0)[_0x56629a(0x25e)](this);},'concat':function(_0x1c739d){var _0x437cb1=_0x4d0d45,_0x3f99f6=this[_0x437cb1(0x3cc)],_0x107a65=_0x1c739d[_0x437cb1(0x3cc)],_0x33b861=this[_0x437cb1(0x13d)],_0x30aee5=_0x1c739d[_0x437cb1(0x13d)];if(this[_0x437cb1(0x128)](),_0x33b861%0x4)for(var _0x44cc67=0x0;_0x44cc67<_0x30aee5;_0x44cc67++){var _0x1233b6=_0x107a65[_0x44cc67>>>0x2]>>>0x18-_0x44cc67%0x4*0x8&0xff;_0x3f99f6[_0x33b861+_0x44cc67>>>0x2]|=_0x1233b6<<0x18-(_0x33b861+_0x44cc67)%0x4*0x8;}else{for(var _0x4c6b35=0x0;_0x4c6b35<_0x30aee5;_0x4c6b35+=0x4)_0x3f99f6[_0x33b861+_0x4c6b35>>>0x2]=_0x107a65[_0x4c6b35>>>0x2];}return this[_0x437cb1(0x13d)]+=_0x30aee5,this;},'clamp':function(){var _0xa39ab8=_0x4d0d45,_0x21097e=this[_0xa39ab8(0x3cc)],_0x1075da=this[_0xa39ab8(0x13d)];_0x21097e[_0x1075da>>>0x2]&=0xffffffff<<0x20-_0x1075da%0x4*0x8,_0x21097e[_0xa39ab8(0x378)]=_0x224114['ceil'](_0x1075da/0x4);},'clone':function(){var _0x2bec7f=_0x4d0d45,_0x1e1c03=_0x4b1e9d[_0x2bec7f(0x280)][_0x2bec7f(0x15c)](this);return _0x1e1c03[_0x2bec7f(0x3cc)]=this['words']['slice'](0x0),_0x1e1c03;},'random':function(_0x5dd4a6){var _0x2f1e58=_0x4d0d45;for(var _0x55869c=[],_0x1ce6c3=0x0;_0x1ce6c3<_0x5dd4a6;_0x1ce6c3+=0x4)_0x55869c['push'](_0x3f48d0());return new _0x1629df[(_0x2f1e58(0x414))](_0x55869c,_0x5dd4a6);}}),_0x4532e3=_0x5f4628['enc']={},_0x4a32e0=_0x4532e3[_0x4d0d45(0x34c)]={'stringify':function(_0x2ab1e0){var _0x1162ae=_0x4d0d45;for(var _0x5036ce=_0x2ab1e0[_0x1162ae(0x3cc)],_0x5f0798=_0x2ab1e0[_0x1162ae(0x13d)],_0x2532e8=[],_0x53eee9=0x0;_0x53eee9<_0x5f0798;_0x53eee9++){var _0x47faae=_0x5036ce[_0x53eee9>>>0x2]>>>0x18-_0x53eee9%0x4*0x8&0xff;_0x2532e8[_0x1162ae(0x16f)]((_0x47faae>>>0x4)[_0x1162ae(0x29f)](0x10)),_0x2532e8[_0x1162ae(0x16f)]((_0x47faae&0xf)[_0x1162ae(0x29f)](0x10));}return _0x2532e8['join']('');},'parse':function(_0x21b005){var _0x1e30d6=_0x4d0d45;for(var _0x4c4a61=_0x21b005[_0x1e30d6(0x378)],_0x15fb4d=[],_0x2c7062=0x0;_0x2c7062<_0x4c4a61;_0x2c7062+=0x2)_0x15fb4d[_0x2c7062>>>0x3]|=parseInt(_0x21b005[_0x1e30d6(0x302)](_0x2c7062,0x2),0x10)<<0x18-_0x2c7062%0x8*0x4;return new _0x1629df[(_0x1e30d6(0x414))](_0x15fb4d,_0x4c4a61/0x2);}},_0x3a57e1=_0x4532e3[_0x4d0d45(0x13a)]={'stringify':function(_0x1dc07e){var _0x23f00c=_0x4d0d45;for(var _0x393930=_0x1dc07e['words'],_0x4fdefd=_0x1dc07e[_0x23f00c(0x13d)],_0x468147=[],_0xa31f41=0x0;_0xa31f41<_0x4fdefd;_0xa31f41++){var _0x4c5143=_0x393930[_0xa31f41>>>0x2]>>>0x18-_0xa31f41%0x4*0x8&0xff;_0x468147[_0x23f00c(0x16f)](String[_0x23f00c(0x264)](_0x4c5143));}return _0x468147[_0x23f00c(0x307)]('');},'parse':function(_0x2095b7){var _0x586197=_0x4d0d45;for(var _0x253b2f=_0x2095b7[_0x586197(0x378)],_0x5725a6=[],_0x136f8a=0x0;_0x136f8a<_0x253b2f;_0x136f8a++)_0x5725a6[_0x136f8a>>>0x2]|=(_0x2095b7['charCodeAt'](_0x136f8a)&0xff)<<0x18-_0x136f8a%0x4*0x8;return new _0x1629df['init'](_0x5725a6,_0x253b2f);}},_0x4e38cd=_0x4532e3[_0x4d0d45(0x26f)]={'stringify':function(_0x2a7c8c){var _0xf8ddb7=_0x4d0d45;try{return decodeURIComponent(escape(_0x3a57e1[_0xf8ddb7(0x25e)](_0x2a7c8c)));}catch{throw new Error(_0xf8ddb7(0x337));}},'parse':function(_0xb28089){return _0x3a57e1['parse'](unescape(encodeURIComponent(_0xb28089)));}},_0xfd4636=_0x22dd57[_0x4d0d45(0x13c)]=_0x4b1e9d[_0x4d0d45(0x2d1)]({'reset':function(){var _0x3506f2=_0x4d0d45;this[_0x3506f2(0x2b7)]=new _0x1629df[(_0x3506f2(0x414))](),this[_0x3506f2(0x2fb)]=0x0;},'_append':function(_0x23044){var _0x409d7b=_0x4d0d45;typeof _0x23044==_0x409d7b(0x322)&&(_0x23044=_0x4e38cd[_0x409d7b(0x19b)](_0x23044)),this[_0x409d7b(0x2b7)]['concat'](_0x23044),this[_0x409d7b(0x2fb)]+=_0x23044[_0x409d7b(0x13d)];},'_process':function(_0x3db4d1){var _0x3fe620=_0x4d0d45,_0x31746d,_0x5b7202=this[_0x3fe620(0x2b7)],_0x16ea9b=_0x5b7202[_0x3fe620(0x3cc)],_0x3f3091=_0x5b7202[_0x3fe620(0x13d)],_0x42dc05=this[_0x3fe620(0x42a)],_0x182111=_0x42dc05*0x4,_0x508925=_0x3f3091/_0x182111;_0x3db4d1?_0x508925=_0x224114[_0x3fe620(0x2d2)](_0x508925):_0x508925=_0x224114[_0x3fe620(0x209)]((_0x508925|0x0)-this['_minBufferSize'],0x0);var _0x168d7e=_0x508925*_0x42dc05,_0x1c11c4=_0x224114['min'](_0x168d7e*0x4,_0x3f3091);if(_0x168d7e){for(var _0x38974=0x0;_0x38974<_0x168d7e;_0x38974+=_0x42dc05)this['_doProcessBlock'](_0x16ea9b,_0x38974);_0x31746d=_0x16ea9b[_0x3fe620(0x251)](0x0,_0x168d7e),_0x5b7202['sigBytes']-=_0x1c11c4;}return new _0x1629df[(_0x3fe620(0x414))](_0x31746d,_0x1c11c4);},'clone':function(){var _0xdf38bc=_0x4d0d45,_0x3a0f1d=_0x4b1e9d[_0xdf38bc(0x280)][_0xdf38bc(0x15c)](this);return _0x3a0f1d['_data']=this[_0xdf38bc(0x2b7)][_0xdf38bc(0x280)](),_0x3a0f1d;},'_minBufferSize':0x0});_0x22dd57[_0x4d0d45(0x21b)]=_0xfd4636[_0x4d0d45(0x2d1)]({'cfg':_0x4b1e9d[_0x4d0d45(0x2d1)](),'init':function(_0x3448cd){var _0x1e02d1=_0x4d0d45;this[_0x1e02d1(0x246)]=this[_0x1e02d1(0x246)][_0x1e02d1(0x2d1)](_0x3448cd),this[_0x1e02d1(0x2bc)]();},'reset':function(){var _0x141895=_0x4d0d45;_0xfd4636[_0x141895(0x2bc)]['call'](this),this[_0x141895(0x3a1)]();},'update':function(_0x204a30){var _0x1a708c=_0x4d0d45;return this[_0x1a708c(0x2ea)](_0x204a30),this[_0x1a708c(0x392)](),this;},'finalize':function(_0x21b88c){var _0x521ac7=_0x4d0d45;_0x21b88c&&this[_0x521ac7(0x2ea)](_0x21b88c);var _0x7c0346=this[_0x521ac7(0x1e1)]();return _0x7c0346;},'blockSize':0x10,'_createHelper':function(_0x7b08c5){return function(_0x3f8b53,_0x14cccb){var _0x22f53e=_0x2301;return new _0x7b08c5['init'](_0x14cccb)[_0x22f53e(0x243)](_0x3f8b53);};},'_createHmacHelper':function(_0x15bcf8){return function(_0x1e19ee,_0x527036){var _0x56ac25=_0x2301;return new _0x30d937[(_0x56ac25(0x175))][(_0x56ac25(0x414))](_0x15bcf8,_0x527036)['finalize'](_0x1e19ee);};}});var _0x30d937=_0x5f4628[_0x4d0d45(0x197)]={};return _0x5f4628;}(Math);return _0x170631;}));}(Ge)),Ge[_0x3c79eb(0x387)];}var Ye={'exports':{}},dn=Ye[_0x332b6f(0x387)],zt;function bi(){var _0x4565d8=_0x332b6f;return zt||(zt=0x1,function(_0x45483f,_0x2bcb08){(function(_0x325919,_0x2d8ce5){var _0x243667=_0x2301;_0x45483f[_0x243667(0x387)]=_0x2d8ce5(te());}(dn,function(_0xab9faf){var _0x29d28a=_0x2301;return(function(){var _0x1fd25a=_0x2301,_0x2a5a81=_0xab9faf,_0x1d9b30=_0x2a5a81[_0x1fd25a(0x220)],_0x320c83=_0x1d9b30[_0x1fd25a(0x15b)],_0x1df02e=_0x2a5a81[_0x1fd25a(0x200)];_0x1df02e['Base64']={'stringify':function(_0x13a672){var _0x285bd5=_0x1fd25a,_0x3d1031=_0x13a672[_0x285bd5(0x3cc)],_0x5f5d2e=_0x13a672[_0x285bd5(0x13d)],_0x16cb65=this[_0x285bd5(0x2f4)];_0x13a672['clamp']();for(var _0x38c92f=[],_0x397590=0x0;_0x397590<_0x5f5d2e;_0x397590+=0x3)for(var _0x1fd42a=_0x3d1031[_0x397590>>>0x2]>>>0x18-_0x397590%0x4*0x8&0xff,_0x54e9f5=_0x3d1031[_0x397590+0x1>>>0x2]>>>0x18-(_0x397590+0x1)%0x4*0x8&0xff,_0xe9c51c=_0x3d1031[_0x397590+0x2>>>0x2]>>>0x18-(_0x397590+0x2)%0x4*0x8&0xff,_0x5794f6=_0x1fd42a<<0x10|_0x54e9f5<<0x8|_0xe9c51c,_0x2b3ebf=0x0;_0x2b3ebf<0x4&&_0x397590+_0x2b3ebf*0.75<_0x5f5d2e;_0x2b3ebf++)_0x38c92f[_0x285bd5(0x16f)](_0x16cb65[_0x285bd5(0x2db)](_0x5794f6>>>0x6*(0x3-_0x2b3ebf)&0x3f));var _0x4e11b0=_0x16cb65[_0x285bd5(0x2db)](0x40);if(_0x4e11b0){for(;_0x38c92f[_0x285bd5(0x378)]%0x4;)_0x38c92f[_0x285bd5(0x16f)](_0x4e11b0);}return _0x38c92f[_0x285bd5(0x307)]('');},'parse':function(_0x370131){var _0x52a9d1=_0x1fd25a,_0xa41572=_0x370131['length'],_0x25b2b3=this[_0x52a9d1(0x2f4)],_0x55b97d=this[_0x52a9d1(0x341)];if(!_0x55b97d){_0x55b97d=this['_reverseMap']=[];for(var _0x48f296=0x0;_0x48f296<_0x25b2b3[_0x52a9d1(0x378)];_0x48f296++)_0x55b97d[_0x25b2b3[_0x52a9d1(0x42c)](_0x48f296)]=_0x48f296;}var _0x42cb17=_0x25b2b3['charAt'](0x40);if(_0x42cb17){var _0xc59d93=_0x370131[_0x52a9d1(0x2c4)](_0x42cb17);_0xc59d93!==-0x1&&(_0xa41572=_0xc59d93);}return _0xe905e2(_0x370131,_0xa41572,_0x55b97d);},'_map':_0x1fd25a(0x2ab)};function _0xe905e2(_0x5184e8,_0x14f184,_0x37865a){var _0x149021=_0x1fd25a;for(var _0x23fcec=[],_0x409d5e=0x0,_0x193abc=0x0;_0x193abc<_0x14f184;_0x193abc++)if(_0x193abc%0x4){var _0x5e212f=_0x37865a[_0x5184e8['charCodeAt'](_0x193abc-0x1)]<<_0x193abc%0x4*0x2,_0x5ed665=_0x37865a[_0x5184e8[_0x149021(0x42c)](_0x193abc)]>>>0x6-_0x193abc%0x4*0x2,_0x50e3db=_0x5e212f|_0x5ed665;_0x23fcec[_0x409d5e>>>0x2]|=_0x50e3db<<0x18-_0x409d5e%0x4*0x8,_0x409d5e++;}return _0x320c83[_0x149021(0x1c1)](_0x23fcec,_0x409d5e);}}()),_0xab9faf[_0x29d28a(0x200)][_0x29d28a(0x277)];}));}(Ye)),Ye[_0x4565d8(0x387)];}var We={'exports':{}},fn=We['exports'],Jt;function vn(){return Jt||(Jt=0x1,function(_0x4b9735,_0x588c5e){(function(_0x1d59c7,_0x24a5c1){var _0x37df9a=_0x2301;_0x4b9735[_0x37df9a(0x387)]=_0x24a5c1(te());}(fn,function(_0x1366db){var _0x382fa5=_0x2301;return function(_0x46f4c3){var _0x2628df=_0x2301,_0x405b98=_0x1366db,_0x39417e=_0x405b98[_0x2628df(0x220)],_0xa19b63=_0x39417e[_0x2628df(0x15b)],_0xfc7537=_0x39417e[_0x2628df(0x21b)],_0x55f8b3=_0x405b98[_0x2628df(0x197)],_0x33c86d=[];(function(){var _0x55ed9f=_0x2628df;for(var _0x564ab1=0x0;_0x564ab1<0x40;_0x564ab1++)_0x33c86d[_0x564ab1]=_0x46f4c3[_0x55ed9f(0x1d9)](_0x46f4c3['sin'](_0x564ab1+0x1))*0x100000000|0x0;}());var _0x5e31ac=_0x55f8b3[_0x2628df(0x232)]=_0xfc7537[_0x2628df(0x2d1)]({'_doReset':function(){this['_hash']=new _0xa19b63['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xd92e5c,_0x4325aa){for(var _0x552fd9=0x0;_0x552fd9<0x10;_0x552fd9++){var _0x5d81cb=_0x4325aa+_0x552fd9,_0x48a36c=_0xd92e5c[_0x5d81cb];_0xd92e5c[_0x5d81cb]=(_0x48a36c<<0x8|_0x48a36c>>>0x18)&0xff00ff|(_0x48a36c<<0x18|_0x48a36c>>>0x8)&0xff00ff00;}var _0x49094e=this['_hash']['words'],_0x17982c=_0xd92e5c[_0x4325aa+0x0],_0x5efbcf=_0xd92e5c[_0x4325aa+0x1],_0x53b147=_0xd92e5c[_0x4325aa+0x2],_0xc846f1=_0xd92e5c[_0x4325aa+0x3],_0x1433c5=_0xd92e5c[_0x4325aa+0x4],_0x5afc08=_0xd92e5c[_0x4325aa+0x5],_0x4d25b8=_0xd92e5c[_0x4325aa+0x6],_0x5d753d=_0xd92e5c[_0x4325aa+0x7],_0x38f481=_0xd92e5c[_0x4325aa+0x8],_0x2155bd=_0xd92e5c[_0x4325aa+0x9],_0x40853f=_0xd92e5c[_0x4325aa+0xa],_0x2c8de3=_0xd92e5c[_0x4325aa+0xb],_0x2d35be=_0xd92e5c[_0x4325aa+0xc],_0xb69a4f=_0xd92e5c[_0x4325aa+0xd],_0x52fe75=_0xd92e5c[_0x4325aa+0xe],_0x31a3c7=_0xd92e5c[_0x4325aa+0xf],_0x3c15e1=_0x49094e[0x0],_0x13ca12=_0x49094e[0x1],_0x4e036d=_0x49094e[0x2],_0x282210=_0x49094e[0x3];_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x17982c,0x7,_0x33c86d[0x0]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x5efbcf,0xc,_0x33c86d[0x1]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x53b147,0x11,_0x33c86d[0x2]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0xc846f1,0x16,_0x33c86d[0x3]),_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x1433c5,0x7,_0x33c86d[0x4]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x5afc08,0xc,_0x33c86d[0x5]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x4d25b8,0x11,_0x33c86d[0x6]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x5d753d,0x16,_0x33c86d[0x7]),_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x38f481,0x7,_0x33c86d[0x8]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x2155bd,0xc,_0x33c86d[0x9]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x40853f,0x11,_0x33c86d[0xa]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x2c8de3,0x16,_0x33c86d[0xb]),_0x3c15e1=_0x2b670d(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2d35be,0x7,_0x33c86d[0xc]),_0x282210=_0x2b670d(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0xb69a4f,0xc,_0x33c86d[0xd]),_0x4e036d=_0x2b670d(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x52fe75,0x11,_0x33c86d[0xe]),_0x13ca12=_0x2b670d(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x31a3c7,0x16,_0x33c86d[0xf]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5efbcf,0x5,_0x33c86d[0x10]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x4d25b8,0x9,_0x33c86d[0x11]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x2c8de3,0xe,_0x33c86d[0x12]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x17982c,0x14,_0x33c86d[0x13]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5afc08,0x5,_0x33c86d[0x14]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x40853f,0x9,_0x33c86d[0x15]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x31a3c7,0xe,_0x33c86d[0x16]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x1433c5,0x14,_0x33c86d[0x17]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2155bd,0x5,_0x33c86d[0x18]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x52fe75,0x9,_0x33c86d[0x19]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0xc846f1,0xe,_0x33c86d[0x1a]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x38f481,0x14,_0x33c86d[0x1b]),_0x3c15e1=_0xe7f0c2(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0xb69a4f,0x5,_0x33c86d[0x1c]),_0x282210=_0xe7f0c2(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x53b147,0x9,_0x33c86d[0x1d]),_0x4e036d=_0xe7f0c2(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x5d753d,0xe,_0x33c86d[0x1e]),_0x13ca12=_0xe7f0c2(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x2d35be,0x14,_0x33c86d[0x1f]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5afc08,0x4,_0x33c86d[0x20]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x38f481,0xb,_0x33c86d[0x21]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x2c8de3,0x10,_0x33c86d[0x22]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x52fe75,0x17,_0x33c86d[0x23]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x5efbcf,0x4,_0x33c86d[0x24]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x1433c5,0xb,_0x33c86d[0x25]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x5d753d,0x10,_0x33c86d[0x26]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x40853f,0x17,_0x33c86d[0x27]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0xb69a4f,0x4,_0x33c86d[0x28]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x17982c,0xb,_0x33c86d[0x29]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0xc846f1,0x10,_0x33c86d[0x2a]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x4d25b8,0x17,_0x33c86d[0x2b]),_0x3c15e1=_0x559326(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2155bd,0x4,_0x33c86d[0x2c]),_0x282210=_0x559326(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x2d35be,0xb,_0x33c86d[0x2d]),_0x4e036d=_0x559326(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x31a3c7,0x10,_0x33c86d[0x2e]),_0x13ca12=_0x559326(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x53b147,0x17,_0x33c86d[0x2f]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x17982c,0x6,_0x33c86d[0x30]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x5d753d,0xa,_0x33c86d[0x31]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x52fe75,0xf,_0x33c86d[0x32]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x5afc08,0x15,_0x33c86d[0x33]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x2d35be,0x6,_0x33c86d[0x34]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0xc846f1,0xa,_0x33c86d[0x35]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x40853f,0xf,_0x33c86d[0x36]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x5efbcf,0x15,_0x33c86d[0x37]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x38f481,0x6,_0x33c86d[0x38]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x31a3c7,0xa,_0x33c86d[0x39]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x4d25b8,0xf,_0x33c86d[0x3a]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0xb69a4f,0x15,_0x33c86d[0x3b]),_0x3c15e1=_0x2c1468(_0x3c15e1,_0x13ca12,_0x4e036d,_0x282210,_0x1433c5,0x6,_0x33c86d[0x3c]),_0x282210=_0x2c1468(_0x282210,_0x3c15e1,_0x13ca12,_0x4e036d,_0x2c8de3,0xa,_0x33c86d[0x3d]),_0x4e036d=_0x2c1468(_0x4e036d,_0x282210,_0x3c15e1,_0x13ca12,_0x53b147,0xf,_0x33c86d[0x3e]),_0x13ca12=_0x2c1468(_0x13ca12,_0x4e036d,_0x282210,_0x3c15e1,_0x2155bd,0x15,_0x33c86d[0x3f]),_0x49094e[0x0]=_0x49094e[0x0]+_0x3c15e1|0x0,_0x49094e[0x1]=_0x49094e[0x1]+_0x13ca12|0x0,_0x49094e[0x2]=_0x49094e[0x2]+_0x4e036d|0x0,_0x49094e[0x3]=_0x49094e[0x3]+_0x282210|0x0;},'_doFinalize':function(){var _0x15923a=_0x2628df,_0x2b7809=this['_data'],_0xbb67b5=_0x2b7809[_0x15923a(0x3cc)],_0x2121f7=this['_nDataBytes']*0x8,_0x5bc0b1=_0x2b7809[_0x15923a(0x13d)]*0x8;_0xbb67b5[_0x5bc0b1>>>0x5]|=0x80<<0x18-_0x5bc0b1%0x20;var _0x6b8584=_0x46f4c3[_0x15923a(0x30e)](_0x2121f7/0x100000000),_0x4b2f41=_0x2121f7;_0xbb67b5[(_0x5bc0b1+0x40>>>0x9<<0x4)+0xf]=(_0x6b8584<<0x8|_0x6b8584>>>0x18)&0xff00ff|(_0x6b8584<<0x18|_0x6b8584>>>0x8)&0xff00ff00,_0xbb67b5[(_0x5bc0b1+0x40>>>0x9<<0x4)+0xe]=(_0x4b2f41<<0x8|_0x4b2f41>>>0x18)&0xff00ff|(_0x4b2f41<<0x18|_0x4b2f41>>>0x8)&0xff00ff00,_0x2b7809['sigBytes']=(_0xbb67b5['length']+0x1)*0x4,this[_0x15923a(0x392)]();for(var _0x4fd6fc=this['_hash'],_0x1716db=_0x4fd6fc[_0x15923a(0x3cc)],_0x38369c=0x0;_0x38369c<0x4;_0x38369c++){var _0x42f622=_0x1716db[_0x38369c];_0x1716db[_0x38369c]=(_0x42f622<<0x8|_0x42f622>>>0x18)&0xff00ff|(_0x42f622<<0x18|_0x42f622>>>0x8)&0xff00ff00;}return _0x4fd6fc;},'clone':function(){var _0x4d4960=_0x2628df,_0x1475c8=_0xfc7537[_0x4d4960(0x280)][_0x4d4960(0x15c)](this);return _0x1475c8[_0x4d4960(0x265)]=this[_0x4d4960(0x265)][_0x4d4960(0x280)](),_0x1475c8;}});function _0x2b670d(_0x11f94,_0x479559,_0x21adbb,_0x1debb6,_0x5a80b8,_0x375ccc,_0xf3598e){var _0x5b5e2a=_0x11f94+(_0x479559&_0x21adbb|~_0x479559&_0x1debb6)+_0x5a80b8+_0xf3598e;return(_0x5b5e2a<<_0x375ccc|_0x5b5e2a>>>0x20-_0x375ccc)+_0x479559;}function _0xe7f0c2(_0x49a66d,_0x52d94f,_0x1e22ce,_0x1ce563,_0x553aed,_0x397740,_0x5658d1){var _0x1506ec=_0x49a66d+(_0x52d94f&_0x1ce563|_0x1e22ce&~_0x1ce563)+_0x553aed+_0x5658d1;return(_0x1506ec<<_0x397740|_0x1506ec>>>0x20-_0x397740)+_0x52d94f;}function _0x559326(_0x4035a0,_0x2b250f,_0x495536,_0x522545,_0x13ef4d,_0x293756,_0x664a64){var _0xe4870c=_0x4035a0+(_0x2b250f^_0x495536^_0x522545)+_0x13ef4d+_0x664a64;return(_0xe4870c<<_0x293756|_0xe4870c>>>0x20-_0x293756)+_0x2b250f;}function _0x2c1468(_0x14efac,_0x367897,_0x3cc7c8,_0x1b5c61,_0x2e3f41,_0x529095,_0x3b1458){var _0x375b2d=_0x14efac+(_0x3cc7c8^(_0x367897|~_0x1b5c61))+_0x2e3f41+_0x3b1458;return(_0x375b2d<<_0x529095|_0x375b2d>>>0x20-_0x529095)+_0x367897;}_0x405b98['MD5']=_0xfc7537[_0x2628df(0x3f9)](_0x5e31ac),_0x405b98[_0x2628df(0x25b)]=_0xfc7537[_0x2628df(0x2c2)](_0x5e31ac);}(Math),_0x1366db[_0x382fa5(0x232)];}));}(We)),We['exports'];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x332b6f(0x387)],Xt;function mn(){var _0x288cb9=_0x332b6f;return Xt||(Xt=0x1,function(_0x1ae014,_0x1beeb2){(function(_0x301f39,_0x355f84){var _0x28f6d9=_0x2301;_0x1ae014[_0x28f6d9(0x387)]=_0x355f84(te());}(pn,function(_0x1b4c57){var _0x484e0c=_0x2301;return(function(){var _0x3e7297=_0x2301,_0x3dbb37=_0x1b4c57,_0x1f447a=_0x3dbb37[_0x3e7297(0x220)],_0x1313c4=_0x1f447a[_0x3e7297(0x15b)],_0x2e8b01=_0x1f447a[_0x3e7297(0x21b)],_0x1af762=_0x3dbb37[_0x3e7297(0x197)],_0x4324c4=[],_0x37ee7c=_0x1af762[_0x3e7297(0x305)]=_0x2e8b01[_0x3e7297(0x2d1)]({'_doReset':function(){var _0x5d9006=_0x3e7297;this['_hash']=new _0x1313c4[(_0x5d9006(0x414))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13ea15,_0x4b8d52){for(var _0x731ff7=this['_hash']['words'],_0x554bcd=_0x731ff7[0x0],_0x422a46=_0x731ff7[0x1],_0x514bc2=_0x731ff7[0x2],_0x33108d=_0x731ff7[0x3],_0x185bc8=_0x731ff7[0x4],_0x2e4b7a=0x0;_0x2e4b7a<0x50;_0x2e4b7a++){if(_0x2e4b7a<0x10)_0x4324c4[_0x2e4b7a]=_0x13ea15[_0x4b8d52+_0x2e4b7a]|0x0;else{var _0x2024ce=_0x4324c4[_0x2e4b7a-0x3]^_0x4324c4[_0x2e4b7a-0x8]^_0x4324c4[_0x2e4b7a-0xe]^_0x4324c4[_0x2e4b7a-0x10];_0x4324c4[_0x2e4b7a]=_0x2024ce<<0x1|_0x2024ce>>>0x1f;}var _0x3f3ea7=(_0x554bcd<<0x5|_0x554bcd>>>0x1b)+_0x185bc8+_0x4324c4[_0x2e4b7a];_0x2e4b7a<0x14?_0x3f3ea7+=(_0x422a46&_0x514bc2|~_0x422a46&_0x33108d)+0x5a827999:_0x2e4b7a<0x28?_0x3f3ea7+=(_0x422a46^_0x514bc2^_0x33108d)+0x6ed9eba1:_0x2e4b7a<0x3c?_0x3f3ea7+=(_0x422a46&_0x514bc2|_0x422a46&_0x33108d|_0x514bc2&_0x33108d)-0x70e44324:_0x3f3ea7+=(_0x422a46^_0x514bc2^_0x33108d)-0x359d3e2a,_0x185bc8=_0x33108d,_0x33108d=_0x514bc2,_0x514bc2=_0x422a46<<0x1e|_0x422a46>>>0x2,_0x422a46=_0x554bcd,_0x554bcd=_0x3f3ea7;}_0x731ff7[0x0]=_0x731ff7[0x0]+_0x554bcd|0x0,_0x731ff7[0x1]=_0x731ff7[0x1]+_0x422a46|0x0,_0x731ff7[0x2]=_0x731ff7[0x2]+_0x514bc2|0x0,_0x731ff7[0x3]=_0x731ff7[0x3]+_0x33108d|0x0,_0x731ff7[0x4]=_0x731ff7[0x4]+_0x185bc8|0x0;},'_doFinalize':function(){var _0x49a5af=_0x3e7297,_0x38a12d=this['_data'],_0x31f58c=_0x38a12d[_0x49a5af(0x3cc)],_0xfafb93=this[_0x49a5af(0x2fb)]*0x8,_0x55313a=_0x38a12d[_0x49a5af(0x13d)]*0x8;return _0x31f58c[_0x55313a>>>0x5]|=0x80<<0x18-_0x55313a%0x20,_0x31f58c[(_0x55313a+0x40>>>0x9<<0x4)+0xe]=Math[_0x49a5af(0x30e)](_0xfafb93/0x100000000),_0x31f58c[(_0x55313a+0x40>>>0x9<<0x4)+0xf]=_0xfafb93,_0x38a12d['sigBytes']=_0x31f58c[_0x49a5af(0x378)]*0x4,this[_0x49a5af(0x392)](),this['_hash'];},'clone':function(){var _0x146324=_0x3e7297,_0x397506=_0x2e8b01[_0x146324(0x280)]['call'](this);return _0x397506[_0x146324(0x265)]=this['_hash'][_0x146324(0x280)](),_0x397506;}});_0x3dbb37['SHA1']=_0x2e8b01['_createHelper'](_0x37ee7c),_0x3dbb37[_0x3e7297(0x2d5)]=_0x2e8b01[_0x3e7297(0x2c2)](_0x37ee7c);}()),_0x1b4c57[_0x484e0c(0x305)];}));}(qe)),qe[_0x288cb9(0x387)];}var ze={'exports':{}},gn=ze[_0x332b6f(0x387)],Zt;function Sn(){var _0x272917=_0x332b6f;return Zt||(Zt=0x1,function(_0x3a4e28,_0x2314ac){(function(_0x2aafe9,_0x5b5d6c){var _0x5d9462=_0x2301;_0x3a4e28[_0x5d9462(0x387)]=_0x5b5d6c(te());}(gn,function(_0x15a5d3){(function(){var _0x42d710=_0x2301,_0x40a9e7=_0x15a5d3,_0x57af44=_0x40a9e7['lib'],_0x47794a=_0x57af44[_0x42d710(0x2ec)],_0x2746b4=_0x40a9e7[_0x42d710(0x200)],_0x46a5ce=_0x2746b4[_0x42d710(0x26f)],_0x5f1c1e=_0x40a9e7[_0x42d710(0x197)];_0x5f1c1e[_0x42d710(0x175)]=_0x47794a[_0x42d710(0x2d1)]({'init':function(_0x1b14da,_0x4d0186){var _0x3e4bd4=_0x42d710;_0x1b14da=this['_hasher']=new _0x1b14da['init'](),typeof _0x4d0186=='string'&&(_0x4d0186=_0x46a5ce[_0x3e4bd4(0x19b)](_0x4d0186));var _0x1e0fa0=_0x1b14da[_0x3e4bd4(0x42a)],_0x9a5b36=_0x1e0fa0*0x4;_0x4d0186[_0x3e4bd4(0x13d)]>_0x9a5b36&&(_0x4d0186=_0x1b14da[_0x3e4bd4(0x243)](_0x4d0186)),_0x4d0186[_0x3e4bd4(0x128)]();for(var _0x41a34a=this[_0x3e4bd4(0x36b)]=_0x4d0186[_0x3e4bd4(0x280)](),_0xf68121=this[_0x3e4bd4(0x1de)]=_0x4d0186[_0x3e4bd4(0x280)](),_0x5bef29=_0x41a34a['words'],_0x245887=_0xf68121[_0x3e4bd4(0x3cc)],_0x41c145=0x0;_0x41c145<_0x1e0fa0;_0x41c145++)_0x5bef29[_0x41c145]^=0x5c5c5c5c,_0x245887[_0x41c145]^=0x36363636;_0x41a34a['sigBytes']=_0xf68121['sigBytes']=_0x9a5b36,this['reset']();},'reset':function(){var _0x456a35=_0x42d710,_0x3dc168=this[_0x456a35(0x340)];_0x3dc168['reset'](),_0x3dc168['update'](this[_0x456a35(0x1de)]);},'update':function(_0x28a890){return this['_hasher']['update'](_0x28a890),this;},'finalize':function(_0x253764){var _0xa1499c=_0x42d710,_0x158e94=this[_0xa1499c(0x340)],_0x165b12=_0x158e94['finalize'](_0x253764);_0x158e94[_0xa1499c(0x2bc)]();var _0x37ea40=_0x158e94[_0xa1499c(0x243)](this[_0xa1499c(0x36b)]['clone']()[_0xa1499c(0x34a)](_0x165b12));return _0x37ea40;}});}());}));}(ze)),ze[_0x272917(0x387)];}var En=Ke[_0x332b6f(0x387)],Qt;function yi(){var _0x531993=_0x332b6f;return Qt||(Qt=0x1,function(_0x59ba5b,_0x36c17e){(function(_0x15cc04,_0x42b0c3,_0x4557da){_0x59ba5b['exports']=_0x42b0c3(te(),mn(),Sn());}(En,function(_0x19169f){var _0x142272=_0x2301;return(function(){var _0x19142d=_0x2301,_0x3479a5=_0x19169f,_0x3a063f=_0x3479a5['lib'],_0xa7eead=_0x3a063f['Base'],_0x703dd8=_0x3a063f['WordArray'],_0x4a4f5f=_0x3479a5[_0x19142d(0x197)],_0x4a7e5f=_0x4a4f5f[_0x19142d(0x232)],_0x58c5c8=_0x4a4f5f['EvpKDF']=_0xa7eead[_0x19142d(0x2d1)]({'cfg':_0xa7eead[_0x19142d(0x2d1)]({'keySize':0x80/0x20,'hasher':_0x4a7e5f,'iterations':0x1}),'init':function(_0xda88ab){var _0x5555b8=_0x19142d;this[_0x5555b8(0x246)]=this[_0x5555b8(0x246)][_0x5555b8(0x2d1)](_0xda88ab);},'compute':function(_0xb2951a,_0x5a6d1d){var _0x13a2b8=_0x19142d;for(var _0x570200,_0x419d81=this[_0x13a2b8(0x246)],_0x2ab50e=_0x419d81['hasher'][_0x13a2b8(0x1c1)](),_0x52f010=_0x703dd8[_0x13a2b8(0x1c1)](),_0x53724e=_0x52f010[_0x13a2b8(0x3cc)],_0x3ded83=_0x419d81[_0x13a2b8(0x432)],_0xd2215a=_0x419d81[_0x13a2b8(0x356)];_0x53724e[_0x13a2b8(0x378)]<_0x3ded83;){_0x570200&&_0x2ab50e[_0x13a2b8(0x32a)](_0x570200),_0x570200=_0x2ab50e[_0x13a2b8(0x32a)](_0xb2951a)[_0x13a2b8(0x243)](_0x5a6d1d),_0x2ab50e[_0x13a2b8(0x2bc)]();for(var _0x3832e8=0x1;_0x3832e8<_0xd2215a;_0x3832e8++)_0x570200=_0x2ab50e[_0x13a2b8(0x243)](_0x570200),_0x2ab50e[_0x13a2b8(0x2bc)]();_0x52f010[_0x13a2b8(0x34a)](_0x570200);}return _0x52f010[_0x13a2b8(0x13d)]=_0x3ded83*0x4,_0x52f010;}});_0x3479a5[_0x19142d(0x2a9)]=function(_0x5f4faa,_0x2a9c1a,_0x13854c){var _0x48b634=_0x19142d;return _0x58c5c8[_0x48b634(0x1c1)](_0x13854c)['compute'](_0x5f4faa,_0x2a9c1a);};}()),_0x19169f[_0x142272(0x2a9)];}));}(Ke)),Ke[_0x531993(0x387)];}var Je={'exports':{}},In=Je[_0x332b6f(0x387)],ei;function Ni(){var _0x111905=_0x332b6f;return ei||(ei=0x1,function(_0x196d72,_0x4e1bd9){(function(_0x34128e,_0x3245ff,_0x33a5f9){var _0x5e9b0=_0x2301;_0x196d72[_0x5e9b0(0x387)]=_0x3245ff(te(),yi());}(In,function(_0x3625df){var _0x17c246=_0x2301;_0x3625df[_0x17c246(0x220)][_0x17c246(0x145)]||function(_0x5b7596){var _0xa82da1=_0x17c246,_0x562103=_0x3625df,_0x307af9=_0x562103[_0xa82da1(0x220)],_0x55e997=_0x307af9[_0xa82da1(0x2ec)],_0x33fde4=_0x307af9[_0xa82da1(0x15b)],_0x40b0b5=_0x307af9['BufferedBlockAlgorithm'],_0x130fe3=_0x562103[_0xa82da1(0x200)];_0x130fe3[_0xa82da1(0x26f)];var _0x14e896=_0x130fe3[_0xa82da1(0x277)],_0x54fb0d=_0x562103[_0xa82da1(0x197)],_0xeb3a56=_0x54fb0d[_0xa82da1(0x2a9)],_0x4b8528=_0x307af9[_0xa82da1(0x145)]=_0x40b0b5[_0xa82da1(0x2d1)]({'cfg':_0x55e997[_0xa82da1(0x2d1)](),'createEncryptor':function(_0x5dc291,_0x4e73ef){var _0x5b26b1=_0xa82da1;return this[_0x5b26b1(0x1c1)](this[_0x5b26b1(0x13b)],_0x5dc291,_0x4e73ef);},'createDecryptor':function(_0x3b5189,_0x4ce618){var _0x1ae50c=_0xa82da1;return this[_0x1ae50c(0x1c1)](this[_0x1ae50c(0x289)],_0x3b5189,_0x4ce618);},'init':function(_0x3affb4,_0x5241f8,_0x22b711){var _0x4140b5=_0xa82da1;this[_0x4140b5(0x246)]=this['cfg'][_0x4140b5(0x2d1)](_0x22b711),this[_0x4140b5(0x2b4)]=_0x3affb4,this[_0x4140b5(0x130)]=_0x5241f8,this['reset']();},'reset':function(){var _0x281a94=_0xa82da1;_0x40b0b5[_0x281a94(0x2bc)][_0x281a94(0x15c)](this),this[_0x281a94(0x3a1)]();},'process':function(_0xc95c4d){var _0xf9598a=_0xa82da1;return this[_0xf9598a(0x2ea)](_0xc95c4d),this[_0xf9598a(0x392)]();},'finalize':function(_0x25296d){var _0x470841=_0xa82da1;_0x25296d&&this[_0x470841(0x2ea)](_0x25296d);var _0x1720ab=this[_0x470841(0x1e1)]();return _0x1720ab;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2718cb(_0x482e8e){return typeof _0x482e8e=='string'?_0x144f12:_0x2ea57e;}return function(_0x1727d8){return{'encrypt':function(_0x458588,_0xa738bf,_0x295c4f){var _0x3cc01f=_0x2301;return _0x2718cb(_0xa738bf)[_0x3cc01f(0x221)](_0x1727d8,_0x458588,_0xa738bf,_0x295c4f);},'decrypt':function(_0x308210,_0x4e37f8,_0x59bd45){var _0x20d435=_0x2301;return _0x2718cb(_0x4e37f8)[_0x20d435(0x34b)](_0x1727d8,_0x308210,_0x4e37f8,_0x59bd45);}};};}())});_0x307af9[_0xa82da1(0x206)]=_0x4b8528[_0xa82da1(0x2d1)]({'_doFinalize':function(){var _0x59ca5d=_0xa82da1,_0x39bc2b=this[_0x59ca5d(0x392)](!0x0);return _0x39bc2b;},'blockSize':0x1});var _0xc4bb39=_0x562103[_0xa82da1(0x37e)]={},_0x2c4987=_0x307af9[_0xa82da1(0x19a)]=_0x55e997[_0xa82da1(0x2d1)]({'createEncryptor':function(_0x228a6f,_0x28d674){var _0x481be0=_0xa82da1;return this[_0x481be0(0x178)]['create'](_0x228a6f,_0x28d674);},'createDecryptor':function(_0x1268af,_0x2b6421){var _0x1ac2a5=_0xa82da1;return this[_0x1ac2a5(0x283)]['create'](_0x1268af,_0x2b6421);},'init':function(_0x21a0e4,_0x12efe2){var _0xfbc031=_0xa82da1;this['_cipher']=_0x21a0e4,this[_0xfbc031(0x2cf)]=_0x12efe2;}}),_0x5e8386=_0xc4bb39['CBC']=(function(){var _0x325451=_0xa82da1,_0x18b503=_0x2c4987[_0x325451(0x2d1)]();_0x18b503[_0x325451(0x178)]=_0x18b503[_0x325451(0x2d1)]({'processBlock':function(_0x5a4e9c,_0x8b695b){var _0x3cc0b9=_0x325451,_0x57db4d=this[_0x3cc0b9(0x142)],_0xa6f32=_0x57db4d['blockSize'];_0x24e39a[_0x3cc0b9(0x15c)](this,_0x5a4e9c,_0x8b695b,_0xa6f32),_0x57db4d[_0x3cc0b9(0x372)](_0x5a4e9c,_0x8b695b),this[_0x3cc0b9(0x301)]=_0x5a4e9c['slice'](_0x8b695b,_0x8b695b+_0xa6f32);}}),_0x18b503[_0x325451(0x283)]=_0x18b503[_0x325451(0x2d1)]({'processBlock':function(_0x1f0c05,_0x110a58){var _0x364fb6=_0x325451,_0x5ddb70=this[_0x364fb6(0x142)],_0x325a31=_0x5ddb70[_0x364fb6(0x42a)],_0x38240f=_0x1f0c05[_0x364fb6(0x2ba)](_0x110a58,_0x110a58+_0x325a31);_0x5ddb70[_0x364fb6(0x1e9)](_0x1f0c05,_0x110a58),_0x24e39a[_0x364fb6(0x15c)](this,_0x1f0c05,_0x110a58,_0x325a31),this[_0x364fb6(0x301)]=_0x38240f;}});function _0x24e39a(_0x599dcb,_0x2b301b,_0x15dc0f){var _0x5d9703=_0x325451,_0x309d96,_0x489a82=this['_iv'];_0x489a82?(_0x309d96=_0x489a82,this[_0x5d9703(0x2cf)]=_0x5b7596):_0x309d96=this[_0x5d9703(0x301)];for(var _0x27a6ef=0x0;_0x27a6ef<_0x15dc0f;_0x27a6ef++)_0x599dcb[_0x2b301b+_0x27a6ef]^=_0x309d96[_0x27a6ef];}return _0x18b503;}()),_0x2d221e=_0x562103[_0xa82da1(0x1bc)]={},_0x1d6578=_0x2d221e[_0xa82da1(0x248)]={'pad':function(_0x1fbc50,_0x241fc0){var _0x4503f3=_0xa82da1;for(var _0x2531d1=_0x241fc0*0x4,_0x55ecce=_0x2531d1-_0x1fbc50[_0x4503f3(0x13d)]%_0x2531d1,_0x16e582=_0x55ecce<<0x18|_0x55ecce<<0x10|_0x55ecce<<0x8|_0x55ecce,_0x52012=[],_0x18cd59=0x0;_0x18cd59<_0x55ecce;_0x18cd59+=0x4)_0x52012[_0x4503f3(0x16f)](_0x16e582);var _0x458be7=_0x33fde4[_0x4503f3(0x1c1)](_0x52012,_0x55ecce);_0x1fbc50[_0x4503f3(0x34a)](_0x458be7);},'unpad':function(_0x421b50){var _0x4d22a8=_0xa82da1,_0x211d71=_0x421b50[_0x4d22a8(0x3cc)][_0x421b50[_0x4d22a8(0x13d)]-0x1>>>0x2]&0xff;_0x421b50[_0x4d22a8(0x13d)]-=_0x211d71;}};_0x307af9[_0xa82da1(0x403)]=_0x4b8528['extend']({'cfg':_0x4b8528[_0xa82da1(0x246)][_0xa82da1(0x2d1)]({'mode':_0x5e8386,'padding':_0x1d6578}),'reset':function(){var _0x321595=_0xa82da1,_0x329e70;_0x4b8528[_0x321595(0x2bc)]['call'](this);var _0x5c7e01=this[_0x321595(0x246)],_0x3f93f6=_0x5c7e01['iv'],_0x2cd1c3=_0x5c7e01[_0x321595(0x37e)];this[_0x321595(0x2b4)]==this[_0x321595(0x13b)]?_0x329e70=_0x2cd1c3[_0x321595(0x1fc)]:(_0x329e70=_0x2cd1c3['createDecryptor'],this[_0x321595(0x314)]=0x1),this[_0x321595(0x2f5)]&&this[_0x321595(0x2f5)][_0x321595(0x181)]==_0x329e70?this[_0x321595(0x2f5)][_0x321595(0x414)](this,_0x3f93f6&&_0x3f93f6[_0x321595(0x3cc)]):(this[_0x321595(0x2f5)]=_0x329e70[_0x321595(0x15c)](_0x2cd1c3,this,_0x3f93f6&&_0x3f93f6[_0x321595(0x3cc)]),this[_0x321595(0x2f5)][_0x321595(0x181)]=_0x329e70);},'_doProcessBlock':function(_0x1f18f3,_0x34cd95){var _0x3001a3=_0xa82da1;this[_0x3001a3(0x2f5)][_0x3001a3(0x176)](_0x1f18f3,_0x34cd95);},'_doFinalize':function(){var _0x3a48b4=_0xa82da1,_0xca4ad6,_0x1c8fe7=this['cfg'][_0x3a48b4(0x2f3)];return this[_0x3a48b4(0x2b4)]==this[_0x3a48b4(0x13b)]?(_0x1c8fe7[_0x3a48b4(0x1bc)](this[_0x3a48b4(0x2b7)],this[_0x3a48b4(0x42a)]),_0xca4ad6=this[_0x3a48b4(0x392)](!0x0)):(_0xca4ad6=this[_0x3a48b4(0x392)](!0x0),_0x1c8fe7['unpad'](_0xca4ad6)),_0xca4ad6;},'blockSize':0x80/0x20});var _0x5947c2=_0x307af9[_0xa82da1(0x210)]=_0x55e997[_0xa82da1(0x2d1)]({'init':function(_0x132930){var _0x7267a2=_0xa82da1;this[_0x7267a2(0x28d)](_0x132930);},'toString':function(_0x37ee73){return(_0x37ee73||this['formatter'])['stringify'](this);}}),_0xb5f1ca=_0x562103[_0xa82da1(0x164)]={},_0x4acb10=_0xb5f1ca[_0xa82da1(0x2b0)]={'stringify':function(_0x36f593){var _0x2b9dac=_0xa82da1,_0x33aa7d,_0xd3e4f8=_0x36f593['ciphertext'],_0x40ed06=_0x36f593[_0x2b9dac(0x138)];return _0x40ed06?_0x33aa7d=_0x33fde4[_0x2b9dac(0x1c1)]([0x53616c74,0x65645f5f])[_0x2b9dac(0x34a)](_0x40ed06)[_0x2b9dac(0x34a)](_0xd3e4f8):_0x33aa7d=_0xd3e4f8,_0x33aa7d[_0x2b9dac(0x29f)](_0x14e896);},'parse':function(_0x2e4601){var _0x312eae=_0xa82da1,_0x32f873,_0x5296b5=_0x14e896[_0x312eae(0x19b)](_0x2e4601),_0x29ca56=_0x5296b5['words'];return _0x29ca56[0x0]==0x53616c74&&_0x29ca56[0x1]==0x65645f5f&&(_0x32f873=_0x33fde4[_0x312eae(0x1c1)](_0x29ca56[_0x312eae(0x2ba)](0x2,0x4)),_0x29ca56['splice'](0x0,0x4),_0x5296b5[_0x312eae(0x13d)]-=0x10),_0x5947c2['create']({'ciphertext':_0x5296b5,'salt':_0x32f873});}},_0x2ea57e=_0x307af9[_0xa82da1(0x3de)]=_0x55e997[_0xa82da1(0x2d1)]({'cfg':_0x55e997[_0xa82da1(0x2d1)]({'format':_0x4acb10}),'encrypt':function(_0x3bcced,_0x494fd2,_0xcf04fa,_0x4528b4){var _0x1a55fd=_0xa82da1;_0x4528b4=this[_0x1a55fd(0x246)][_0x1a55fd(0x2d1)](_0x4528b4);var _0x36c3c4=_0x3bcced[_0x1a55fd(0x1fc)](_0xcf04fa,_0x4528b4),_0x9a0e30=_0x36c3c4['finalize'](_0x494fd2),_0x5967f9=_0x36c3c4[_0x1a55fd(0x246)];return _0x5947c2[_0x1a55fd(0x1c1)]({'ciphertext':_0x9a0e30,'key':_0xcf04fa,'iv':_0x5967f9['iv'],'algorithm':_0x3bcced,'mode':_0x5967f9[_0x1a55fd(0x37e)],'padding':_0x5967f9['padding'],'blockSize':_0x3bcced['blockSize'],'formatter':_0x4528b4[_0x1a55fd(0x164)]});},'decrypt':function(_0x2b50a0,_0x17c5f8,_0x185b19,_0x5b30da){var _0x41b0f2=_0xa82da1;_0x5b30da=this['cfg'][_0x41b0f2(0x2d1)](_0x5b30da),_0x17c5f8=this[_0x41b0f2(0x41d)](_0x17c5f8,_0x5b30da[_0x41b0f2(0x164)]);var _0x3cfaba=_0x2b50a0[_0x41b0f2(0x28f)](_0x185b19,_0x5b30da)[_0x41b0f2(0x243)](_0x17c5f8['ciphertext']);return _0x3cfaba;},'_parse':function(_0x101491,_0x2093e0){var _0x15dbf4=_0xa82da1;return typeof _0x101491==_0x15dbf4(0x322)?_0x2093e0[_0x15dbf4(0x19b)](_0x101491,this):_0x101491;}}),_0x245edc=_0x562103['kdf']={},_0x436c6c=_0x245edc[_0xa82da1(0x2b0)]={'execute':function(_0x399688,_0x5f19a9,_0x59f364,_0xffbe1c,_0x127117){var _0x501532=_0xa82da1;if(_0xffbe1c||(_0xffbe1c=_0x33fde4[_0x501532(0x3da)](0x40/0x8)),_0x127117)var _0xb34134=_0xeb3a56[_0x501532(0x1c1)]({'keySize':_0x5f19a9+_0x59f364,'hasher':_0x127117})['compute'](_0x399688,_0xffbe1c);else var _0xb34134=_0xeb3a56['create']({'keySize':_0x5f19a9+_0x59f364})[_0x501532(0x3c3)](_0x399688,_0xffbe1c);var _0x328b03=_0x33fde4[_0x501532(0x1c1)](_0xb34134['words']['slice'](_0x5f19a9),_0x59f364*0x4);return _0xb34134[_0x501532(0x13d)]=_0x5f19a9*0x4,_0x5947c2[_0x501532(0x1c1)]({'key':_0xb34134,'iv':_0x328b03,'salt':_0xffbe1c});}},_0x144f12=_0x307af9[_0xa82da1(0x16e)]=_0x2ea57e[_0xa82da1(0x2d1)]({'cfg':_0x2ea57e[_0xa82da1(0x246)][_0xa82da1(0x2d1)]({'kdf':_0x436c6c}),'encrypt':function(_0x5467cb,_0x125d6b,_0xb27e88,_0x20d3c6){var _0x4e6aff=_0xa82da1;_0x20d3c6=this[_0x4e6aff(0x246)][_0x4e6aff(0x2d1)](_0x20d3c6);var _0x54f68c=_0x20d3c6[_0x4e6aff(0x29c)]['execute'](_0xb27e88,_0x5467cb['keySize'],_0x5467cb[_0x4e6aff(0x3bb)],_0x20d3c6[_0x4e6aff(0x138)],_0x20d3c6[_0x4e6aff(0x3dd)]);_0x20d3c6['iv']=_0x54f68c['iv'];var _0x5eebe6=_0x2ea57e['encrypt']['call'](this,_0x5467cb,_0x125d6b,_0x54f68c[_0x4e6aff(0x1fa)],_0x20d3c6);return _0x5eebe6[_0x4e6aff(0x28d)](_0x54f68c),_0x5eebe6;},'decrypt':function(_0x2f727d,_0x13c7df,_0x5c7a86,_0x4cd4c7){var _0x3b1e4f=_0xa82da1;_0x4cd4c7=this[_0x3b1e4f(0x246)]['extend'](_0x4cd4c7),_0x13c7df=this[_0x3b1e4f(0x41d)](_0x13c7df,_0x4cd4c7[_0x3b1e4f(0x164)]);var _0x316f35=_0x4cd4c7[_0x3b1e4f(0x29c)]['execute'](_0x5c7a86,_0x2f727d[_0x3b1e4f(0x432)],_0x2f727d[_0x3b1e4f(0x3bb)],_0x13c7df[_0x3b1e4f(0x138)],_0x4cd4c7[_0x3b1e4f(0x3dd)]);_0x4cd4c7['iv']=_0x316f35['iv'];var _0x53791d=_0x2ea57e[_0x3b1e4f(0x34b)][_0x3b1e4f(0x15c)](this,_0x2f727d,_0x13c7df,_0x316f35[_0x3b1e4f(0x1fa)],_0x4cd4c7);return _0x53791d;}});}();}));}(Je)),Je[_0x111905(0x387)];}var Tn=Ve[_0x332b6f(0x387)],ti;function Cn(){return ti||(ti=0x1,function(_0x1bd9c6,_0x326962){(function(_0x2565d7,_0x10401a,_0x185339){var _0x333cc6=_0x2301;_0x1bd9c6[_0x333cc6(0x387)]=_0x10401a(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x584475){var _0x3937d4=_0x2301;return(function(){var _0x18ff0f=_0x2301,_0x4307d9=_0x584475,_0x2fa8d9=_0x4307d9[_0x18ff0f(0x220)],_0x5b12c1=_0x2fa8d9[_0x18ff0f(0x403)],_0x40e537=_0x4307d9[_0x18ff0f(0x197)],_0x178bf8=[],_0x527829=[],_0x56ba27=[],_0x5c6863=[],_0x27d1ef=[],_0x2f7035=[],_0x547526=[],_0x2b941c=[],_0x405017=[],_0x129739=[];(function(){for(var _0x293b37=[],_0x5755ea=0x0;_0x5755ea<0x100;_0x5755ea++)_0x5755ea<0x80?_0x293b37[_0x5755ea]=_0x5755ea<<0x1:_0x293b37[_0x5755ea]=_0x5755ea<<0x1^0x11b;for(var _0x5198ac=0x0,_0x1df6b9=0x0,_0x5755ea=0x0;_0x5755ea<0x100;_0x5755ea++){var _0x1bd333=_0x1df6b9^_0x1df6b9<<0x1^_0x1df6b9<<0x2^_0x1df6b9<<0x3^_0x1df6b9<<0x4;_0x1bd333=_0x1bd333>>>0x8^_0x1bd333&0xff^0x63,_0x178bf8[_0x5198ac]=_0x1bd333,_0x527829[_0x1bd333]=_0x5198ac;var _0x44df15=_0x293b37[_0x5198ac],_0x25518d=_0x293b37[_0x44df15],_0x839407=_0x293b37[_0x25518d],_0x8f5b2=_0x293b37[_0x1bd333]*0x101^_0x1bd333*0x1010100;_0x56ba27[_0x5198ac]=_0x8f5b2<<0x18|_0x8f5b2>>>0x8,_0x5c6863[_0x5198ac]=_0x8f5b2<<0x10|_0x8f5b2>>>0x10,_0x27d1ef[_0x5198ac]=_0x8f5b2<<0x8|_0x8f5b2>>>0x18,_0x2f7035[_0x5198ac]=_0x8f5b2;var _0x8f5b2=_0x839407*0x1010101^_0x25518d*0x10001^_0x44df15*0x101^_0x5198ac*0x1010100;_0x547526[_0x1bd333]=_0x8f5b2<<0x18|_0x8f5b2>>>0x8,_0x2b941c[_0x1bd333]=_0x8f5b2<<0x10|_0x8f5b2>>>0x10,_0x405017[_0x1bd333]=_0x8f5b2<<0x8|_0x8f5b2>>>0x18,_0x129739[_0x1bd333]=_0x8f5b2,_0x5198ac?(_0x5198ac=_0x44df15^_0x293b37[_0x293b37[_0x293b37[_0x839407^_0x44df15]]],_0x1df6b9^=_0x293b37[_0x293b37[_0x1df6b9]]):_0x5198ac=_0x1df6b9=0x1;}}());var _0x41e726=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2bb0f7=_0x40e537[_0x18ff0f(0x239)]=_0x5b12c1['extend']({'_doReset':function(){var _0x127765=_0x18ff0f,_0x4e697b;if(!(this[_0x127765(0x434)]&&this[_0x127765(0x17a)]===this[_0x127765(0x130)])){for(var _0x3e7fc3=this[_0x127765(0x17a)]=this[_0x127765(0x130)],_0x11b657=_0x3e7fc3[_0x127765(0x3cc)],_0x49045=_0x3e7fc3[_0x127765(0x13d)]/0x4,_0x47faac=this[_0x127765(0x434)]=_0x49045+0x6,_0x2978ae=(_0x47faac+0x1)*0x4,_0x327bb4=this[_0x127765(0x134)]=[],_0x4b971d=0x0;_0x4b971d<_0x2978ae;_0x4b971d++)_0x4b971d<_0x49045?_0x327bb4[_0x4b971d]=_0x11b657[_0x4b971d]:(_0x4e697b=_0x327bb4[_0x4b971d-0x1],_0x4b971d%_0x49045?_0x49045>0x6&&_0x4b971d%_0x49045==0x4&&(_0x4e697b=_0x178bf8[_0x4e697b>>>0x18]<<0x18|_0x178bf8[_0x4e697b>>>0x10&0xff]<<0x10|_0x178bf8[_0x4e697b>>>0x8&0xff]<<0x8|_0x178bf8[_0x4e697b&0xff]):(_0x4e697b=_0x4e697b<<0x8|_0x4e697b>>>0x18,_0x4e697b=_0x178bf8[_0x4e697b>>>0x18]<<0x18|_0x178bf8[_0x4e697b>>>0x10&0xff]<<0x10|_0x178bf8[_0x4e697b>>>0x8&0xff]<<0x8|_0x178bf8[_0x4e697b&0xff],_0x4e697b^=_0x41e726[_0x4b971d/_0x49045|0x0]<<0x18),_0x327bb4[_0x4b971d]=_0x327bb4[_0x4b971d-_0x49045]^_0x4e697b);for(var _0x4d18b0=this[_0x127765(0x3d0)]=[],_0x1c273d=0x0;_0x1c273d<_0x2978ae;_0x1c273d++){var _0x4b971d=_0x2978ae-_0x1c273d;if(_0x1c273d%0x4)var _0x4e697b=_0x327bb4[_0x4b971d];else var _0x4e697b=_0x327bb4[_0x4b971d-0x4];_0x1c273d<0x4||_0x4b971d<=0x4?_0x4d18b0[_0x1c273d]=_0x4e697b:_0x4d18b0[_0x1c273d]=_0x547526[_0x178bf8[_0x4e697b>>>0x18]]^_0x2b941c[_0x178bf8[_0x4e697b>>>0x10&0xff]]^_0x405017[_0x178bf8[_0x4e697b>>>0x8&0xff]]^_0x129739[_0x178bf8[_0x4e697b&0xff]];}}},'encryptBlock':function(_0x2c92ee,_0x11eb6d){var _0x1b2f10=_0x18ff0f;this[_0x1b2f10(0x3a9)](_0x2c92ee,_0x11eb6d,this[_0x1b2f10(0x134)],_0x56ba27,_0x5c6863,_0x27d1ef,_0x2f7035,_0x178bf8);},'decryptBlock':function(_0x498a6e,_0x46f11a){var _0x1bbd79=_0x18ff0f,_0x7c13f8=_0x498a6e[_0x46f11a+0x1];_0x498a6e[_0x46f11a+0x1]=_0x498a6e[_0x46f11a+0x3],_0x498a6e[_0x46f11a+0x3]=_0x7c13f8,this[_0x1bbd79(0x3a9)](_0x498a6e,_0x46f11a,this[_0x1bbd79(0x3d0)],_0x547526,_0x2b941c,_0x405017,_0x129739,_0x527829);var _0x7c13f8=_0x498a6e[_0x46f11a+0x1];_0x498a6e[_0x46f11a+0x1]=_0x498a6e[_0x46f11a+0x3],_0x498a6e[_0x46f11a+0x3]=_0x7c13f8;},'_doCryptBlock':function(_0x239614,_0x148934,_0x381b40,_0x1befa7,_0x3f3b9f,_0x3a3cb5,_0x222e52,_0x21fae1){var _0x26e438=_0x18ff0f;for(var _0x2f43e3=this[_0x26e438(0x434)],_0x485a09=_0x239614[_0x148934]^_0x381b40[0x0],_0x59131d=_0x239614[_0x148934+0x1]^_0x381b40[0x1],_0x3d8152=_0x239614[_0x148934+0x2]^_0x381b40[0x2],_0x3234d8=_0x239614[_0x148934+0x3]^_0x381b40[0x3],_0x545f02=0x4,_0x1bdfc2=0x1;_0x1bdfc2<_0x2f43e3;_0x1bdfc2++){var _0x4c3dac=_0x1befa7[_0x485a09>>>0x18]^_0x3f3b9f[_0x59131d>>>0x10&0xff]^_0x3a3cb5[_0x3d8152>>>0x8&0xff]^_0x222e52[_0x3234d8&0xff]^_0x381b40[_0x545f02++],_0x4b715c=_0x1befa7[_0x59131d>>>0x18]^_0x3f3b9f[_0x3d8152>>>0x10&0xff]^_0x3a3cb5[_0x3234d8>>>0x8&0xff]^_0x222e52[_0x485a09&0xff]^_0x381b40[_0x545f02++],_0x45ccd3=_0x1befa7[_0x3d8152>>>0x18]^_0x3f3b9f[_0x3234d8>>>0x10&0xff]^_0x3a3cb5[_0x485a09>>>0x8&0xff]^_0x222e52[_0x59131d&0xff]^_0x381b40[_0x545f02++],_0x373ca4=_0x1befa7[_0x3234d8>>>0x18]^_0x3f3b9f[_0x485a09>>>0x10&0xff]^_0x3a3cb5[_0x59131d>>>0x8&0xff]^_0x222e52[_0x3d8152&0xff]^_0x381b40[_0x545f02++];_0x485a09=_0x4c3dac,_0x59131d=_0x4b715c,_0x3d8152=_0x45ccd3,_0x3234d8=_0x373ca4;}var _0x4c3dac=(_0x21fae1[_0x485a09>>>0x18]<<0x18|_0x21fae1[_0x59131d>>>0x10&0xff]<<0x10|_0x21fae1[_0x3d8152>>>0x8&0xff]<<0x8|_0x21fae1[_0x3234d8&0xff])^_0x381b40[_0x545f02++],_0x4b715c=(_0x21fae1[_0x59131d>>>0x18]<<0x18|_0x21fae1[_0x3d8152>>>0x10&0xff]<<0x10|_0x21fae1[_0x3234d8>>>0x8&0xff]<<0x8|_0x21fae1[_0x485a09&0xff])^_0x381b40[_0x545f02++],_0x45ccd3=(_0x21fae1[_0x3d8152>>>0x18]<<0x18|_0x21fae1[_0x3234d8>>>0x10&0xff]<<0x10|_0x21fae1[_0x485a09>>>0x8&0xff]<<0x8|_0x21fae1[_0x59131d&0xff])^_0x381b40[_0x545f02++],_0x373ca4=(_0x21fae1[_0x3234d8>>>0x18]<<0x18|_0x21fae1[_0x485a09>>>0x10&0xff]<<0x10|_0x21fae1[_0x59131d>>>0x8&0xff]<<0x8|_0x21fae1[_0x3d8152&0xff])^_0x381b40[_0x545f02++];_0x239614[_0x148934]=_0x4c3dac,_0x239614[_0x148934+0x1]=_0x4b715c,_0x239614[_0x148934+0x2]=_0x45ccd3,_0x239614[_0x148934+0x3]=_0x373ca4;},'keySize':0x100/0x20});_0x4307d9[_0x18ff0f(0x239)]=_0x5b12c1[_0x18ff0f(0x3f9)](_0x2bb0f7);}()),_0x584475[_0x3937d4(0x239)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x3565fd=_0x332b6f;return si||(si=0x1,function(_0x5537de,_0x314f03){(function(_0x472a6e,_0x3256f1){var _0x44bf82=_0x2301;_0x5537de[_0x44bf82(0x387)]=_0x3256f1(te());}(yn,function(_0xe3ccb7){var _0x5746b5=_0x2301;return _0xe3ccb7[_0x5746b5(0x200)][_0x5746b5(0x26f)];}));}(Xe)),Xe[_0x3565fd(0x387)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x332b6f(0x387)],ni;function wn(){var _0x28cc2b=_0x332b6f;return ni||(ni=0x1,function(_0x196036,_0x598cae){(function(_0x39eb50,_0x729641){var _0x165eb6=_0x2301;_0x196036[_0x165eb6(0x387)]=_0x729641(te());}(An,function(_0x447894){var _0x31d1a7=_0x2301;return(function(){var _0x296c7a=_0x2301;if(typeof ArrayBuffer=='function'){var _0x3773ba=_0x447894,_0x423b67=_0x3773ba['lib'],_0x4516b2=_0x423b67[_0x296c7a(0x15b)],_0x1b9617=_0x4516b2[_0x296c7a(0x414)],_0xf942a9=_0x4516b2[_0x296c7a(0x414)]=function(_0x27a181){var _0x35771f=_0x296c7a;if(_0x27a181 instanceof ArrayBuffer&&(_0x27a181=new Uint8Array(_0x27a181)),(_0x27a181 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x27a181 instanceof Uint8ClampedArray||_0x27a181 instanceof Int16Array||_0x27a181 instanceof Uint16Array||_0x27a181 instanceof Int32Array||_0x27a181 instanceof Uint32Array||_0x27a181 instanceof Float32Array||_0x27a181 instanceof Float64Array)&&(_0x27a181=new Uint8Array(_0x27a181[_0x35771f(0x1f5)],_0x27a181[_0x35771f(0x24b)],_0x27a181[_0x35771f(0x24d)])),_0x27a181 instanceof Uint8Array){for(var _0x44c87a=_0x27a181[_0x35771f(0x24d)],_0x2926ac=[],_0x1cc3cf=0x0;_0x1cc3cf<_0x44c87a;_0x1cc3cf++)_0x2926ac[_0x1cc3cf>>>0x2]|=_0x27a181[_0x1cc3cf]<<0x18-_0x1cc3cf%0x4*0x8;_0x1b9617[_0x35771f(0x15c)](this,_0x2926ac,_0x44c87a);}else _0x1b9617[_0x35771f(0x127)](this,arguments);};_0xf942a9[_0x296c7a(0x33a)]=_0x4516b2;}}()),_0x447894[_0x31d1a7(0x220)][_0x31d1a7(0x15b)];}));}(Ze)),Ze[_0x28cc2b(0x387)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){return ri||(ri=0x1,function(_0x81e534,_0x5bf00d){(function(_0x2f0fd6,_0x50d476,_0xada2e7){var _0x215db8=_0x2301;_0x81e534[_0x215db8(0x387)]=_0x50d476(te(),Ni());}(Mn,function(_0x420071){var _0x3dd760=_0x2301;return _0x420071[_0x3dd760(0x1bc)][_0x3dd760(0x374)]={'pad':function(){},'unpad':function(){}},_0x420071['pad'][_0x3dd760(0x374)];}));}(Qe)),Qe['exports'];}var kn=xn();const $n=$e(kn);function Hn(_0x20f7a3,_0x400253){var _0x3c0b2a=_0x332b6f;const _0x370b=_0x400253-_0x20f7a3[_0x3c0b2a(0x378)]%_0x400253,_0x1bc19a=String[_0x3c0b2a(0x264)](_0x370b)[_0x3c0b2a(0x3f2)](_0x370b);return _0x20f7a3+_0x1bc19a;}function Bn(_0x5d7235,_0x10489c){var _0xcb67b3=_0x332b6f;const _0x1d25c7=Ln[_0xcb67b3(0x3da)](0x10),_0x43da21=Hn(_0x5d7235,0x10),_0x364270=On['encrypt'](Un[_0xcb67b3(0x19b)](_0x43da21),ii[_0xcb67b3(0x19b)](_0x10489c),{'iv':_0x1d25c7,'padding':$n});return _0x1d25c7[_0xcb67b3(0x34a)](_0x364270[_0xcb67b3(0x1e4)])[_0xcb67b3(0x29f)](ii);}function jn(){var _0x4456aa=_0x332b6f;const _0x2cbabd=_0x31c0b0()['__Key__'];if(_0x2cbabd){const _0x21d76e={'time':Math[_0x4456aa(0x30e)](Date[_0x4456aa(0x27d)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x4456aa(0x25e)](_0x21d76e),_0x2cbabd);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x5a58aa,_0x5b4372,_0x5473db,_0x57e467)=>{var _0x4206cb=_0x332b6f;for(var _0x203af3=_0x57e467>0x1?void 0x0:_0x57e467?Fn(_0x5b4372,_0x5473db):_0x5b4372,_0x4820b1=_0x5a58aa[_0x4206cb(0x378)]-0x1,_0x58d152;_0x4820b1>=0x0;_0x4820b1--)(_0x58d152=_0x5a58aa[_0x4820b1])&&(_0x203af3=_0x58d152(_0x203af3)||_0x203af3);return _0x203af3;},Gn=(_0x5b9131,_0x58f387)=>(_0x49936d,_0x4250b1)=>_0x58f387(_0x49936d,_0x4250b1,_0x5b9131);let at=class{constructor(_0x1cc5e9){var _0x5007ba=_0x332b6f;this[_0x5007ba(0x2ff)]=_0x1cc5e9,this[_0x5007ba(0x1b3)]();}['_initRequestHeader'](){var _0x51791a=_0x332b6f;this[_0x51791a(0x2ff)][_0x51791a(0x38b)]({'interceptor':(_0x231c6e,_0x37662c)=>{var _0x3a5942=_0x51791a;const _0x1428e7=_0x231c6e['headers'],_0x4aae0f=jn();return _0x4aae0f&&_0x1428e7[_0x3a5942(0x19f)](_0x3a5942(0x2f0),_0x4aae0f),_0x37662c(_0x231c6e);}});}};at=Vn([Gn(0x0,_0x5e1e11(_0x50e32e))],at);var Yn=Object[_0x332b6f(0x438)],Wn=(_0x19f753,_0x36cb9d,_0x183fc3,_0x2c91e9)=>{var _0x5a5ce4=_0x332b6f;for(var _0x55d17f=_0x2c91e9>0x1?void 0x0:_0x2c91e9?Yn(_0x36cb9d,_0x183fc3):_0x36cb9d,_0x2f6138=_0x19f753[_0x5a5ce4(0x378)]-0x1,_0x4b93e6;_0x2f6138>=0x0;_0x2f6138--)(_0x4b93e6=_0x19f753[_0x2f6138])&&(_0x55d17f=_0x4b93e6(_0x55d17f)||_0x55d17f);return _0x55d17f;},vt=(_0x132a2c,_0x37c6f6)=>(_0x4b68ab,_0x49b5b3)=>_0x37c6f6(_0x4b68ab,_0x49b5b3,_0x132a2c);function _0x57e4(){var _0x523dc4=['SHA1','resolve','join','hasOwnProperty','_candidateSocket','_collaborationUIEventService','enableAuthServer','APPLY_DUPLICATED','_initCloseConn','floor','roles','readInt32LE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_event$','location','_minBufferSize','confirm','reverse','UUID','_sender','then','unitID','_changesetSessionId','forEach','JOIN','_retryConnectingTimer','_initDependencies','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','string','updateMember','_onRemoteRejected','CHANGESET_SHOULD_RETRY','reconnect','_clearCollaborationTimeoutTimer','state$','range','update','getCollabEntity$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_DISTRO_REJECTED','_transformService','_socketService','msCrypto','getSheetBlock','/object','collaborators','HEARTBEAT','authzUrl','_transformStack','Malformed\x20UTF-8\x20data','SUBMIT_CHANGESET','addHandlerCallback','prototype','CLOSE_ROOM','allowed','session.room-not-exists','_listenToNetworkCondition','JOIN_ROOM_PERMISSION_DENIED','_hasher','_reverseMap','[CollaborationSessionService]','YUUMI_UNABLE_LOAD_URL','file','image/bmp','conflict','PSEUDO_FETCH_MISSING_RESULT','_joinRoom','data','concat','decrypt','Hex','?url=','YUUMI_NO_CUBOID_FOR_QUESTION','socket\x20open.','_unitInfo$','LIVESHARE_TERMINATE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','disableLocalCache','_registerDependencies','FETCH_MISS','iterations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_changesetReqId','_change$','_waitCount','/new_changes','session.room-full','onMissingChangesets','_status$','updatePermissionPoint','HttpExport','event$','678020TuqDhC','_transformStateCache','onSendChangeset','setShowComponents','removeMember','OPTIONAL','waitForRoom$','saveSnapshot','_updateLocalCache','_oKey','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','find','getCurrentRevOfUnit','IDLE','_telemetryInfo','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','encryptBlock','_startTelemetryCollaborationNewChangeset','NoPadding','reject','uniscriptRunEvent','CHANGESET_ACK','length','COLLAB_SUBMIT_CHANGESET_URL','sessionStatus$','crypto','/rev/','_commentService','mode','objectID','rev','_socket','complete','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitOnRev','url','APPLY_PERMISSION_DENIED','exports','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','c2Prime','asObservable','registerHTTPInterceptor','changesets','BASE64','_shouldReportTelemetry','_handler','getCurrentUser','_userManagerService','_process','getMember','onTransformIME','LIVESHARE_OPERATION','sendChangesetTimeout','focused$','SOCKET_FAILED_RETRY','_emitMembers','offline','_socket$','size','retryConnectingInterval','_fetchMissChangesets','csRejEvent','_socketMessageSubscription','_doReset','YUUMI_SUBSCRIPTION_NOT_FOUND','_commentUpdate$','_clearLocalCache','_getAPIPrefix','sessionStatus','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_configService','_doCryptBlock','_getSendChangesetTimeout','joinEvent','message$','fetchThroughInterceptors','sid','SOCKET_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_INVITED_CODE','ERROR_IMAGE','_state$','objectType','_onRemoteACK','_waitForHeartbeatResponse','pauseCollaboration','LOGIN_FAILED','fetchMissingChangesets','_resendWithTimeout','ivSize','_clearRedo','AWAITING_WITH_PENDING','LOGIN_URL_KEY','onRemoteAck','_getCtorByUniverType','permissionRejEvent','_onMessage','compute','WECHAT_HAS_BEEN_BOUND','CHANGESET_REJ','c1Prime','/-/object/list','replace','_updateStatus','_updateState','_eventService','words','_imageSourceCache','\x20-\x20','default','_invKeySchedule','/universer-api/comb','userID','AWAITING','requestParams','COMPRESS_MUTATION_SEND','getRoom','auth.needGotoLoginAlert','_collaborationPaused','_onConnectionOpen','random','_entityInit$','onload','hasher','SerializableCipher','&assign=','awaiting','MUTATION','telemetry\x20info\x20is\x20not\x20initialized','commentUpdateEvent','univer-pro.collaboration-client.network-condition.service','setConfig','fetching\x20missing\x20changesets\x20from\x20','startsWith','NOT_FOUND','addImageSourceCache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','reqId','entityInit$','name','/resources','getSheetId','from','OTHER_CLIENT_EDITING','repeat','dispose','getCurrentSelections','_logService','isArray','_getSignURL','_rescheduleHeartbeat','_createHelper','[PendingState]:\x20received\x20acknowledgement.','_clearRetryConnectingTimer','_sendingTimer','[FetchMissState]','UNIVER_SHEET','/unit/','getUnitType','INGEST','href','BlockCipher','[SyncedState]:\x20received\x20acknowledgement.','_replayCachedMutations','emitEvent','getWorkbookSelections','_compressMutationService','_initUnitPermissionChange','getDeserializedSheetBlock','onMissedChangesetFetched','_tryReconnect','_onFetchMissResult','compose','9ZwjtRR','joinRsp','getLatestCsReqIdBySid','onTransformRemoteChangesetByStateCache','refreshPermission','init','_getDownloadEndpointURL','mutations','session.room-permission-denied','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','$super','objectActions','dispose$','_syncEditingCollabCursor','_parse','_clearUndo','_throwTelemetryCollaborationNewChangeset','originalMeta','getFocusedUnit','SEND_CHANGESET_TIMEOUT','_substituteRedoStack','_onConflict','[UniverCollaborationClientPlugin]','_getAPIPrefixPath','NEW_CHANGESETS','_pendingMutations','UNISCRIPT_RUN','blockSize','/collaborator','charCodeAt','createSocket','LEAVE','UserProfileImg','_toggleOffline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','keySize','OFFLINE','_nRounds','_onConnectionFailed','closeSession','findIndex','getOwnPropertyDescriptor','\x0aCurrent:\x20','avatar','_members','apply','clamp','RETRY_CONNECTING_MAX_COUNT','_createHandler','status','state','COLLAB_WEB_SOCKET_URL','\x0aAfter:\x20','createInstance','_key','toggleOnline','ERROR_EXCEED_SIZE','_sheetTransformSelectionsService','_keySchedule','_onLocalMutation','/universer-api/authz','UNRECOGNIZED','salt','list','Latin1','_ENC_XFORM_MODE','BufferedBlockAlgorithm','sigBytes','JOINING','duration','_createSocket','/universer-api/stream/file/upload','_cipher','PERSON','_sendHeartbeat','Cipher','1337rThVBP','fromCollab','_getRedoStack','INVALID_ARGUMENT','code','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','every','params','_getCurrentRevision','[CollaborationUndoRedoService]','FAIL','onCommentUpdate','map','_undoRedoService','catch','_config','enableSingleActiveInstanceLock','transformStack\x20failed!','debug','_socketReady','SUBMIT_CHANGESET_TIMEOUT','WordArray','call','_transformIMECache','_onOffline','_acknowledgedAwaitingChangeset','error','onCommandExecuted','snapshotServerUrl','Univer','format','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','subscribe','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_toggleOnline','socket$','collaboration-client.local-cache-service','NO_OTHER_CLIENTS_EDITING','onRemoteRetry','PasswordBasedCipher','push','loadOfflineData','/object/','UNIVER_DOC','FileId','isPermissionRej','HMAC','processBlock','YUUMI_AI_RUN_FAILED','Encryptor','subUnitId','_keyPriorReset','1953925HIRcwm','&to=','saveSheetBlock','close$','UNKNOWN_CODE','deepClone','__creator','_disableEditing','_roomMembers','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COMPLETION_FINISHED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','socket\x20close','RECV','[CollaborationSessionService]:\x20socket\x20error','equals','onRemoteChangeset','error$','_univerInstanceService','open$','snapshot','18JvDMkR','_resendTimeout','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVITE_CODE_HAS_BEEN_UES','UNKNOWN_CMD','INVITE_CODE_REQUIRED','responseType','algo','revision','override','BlockCipherMode','parse','enableCollaboration','OTHER_CLIENTS_EDITING','ws://127.0.0.1:8000/universer-api/comb/connect','set','_clearHeartbeatTimer','Error\x20on\x20receiving\x20event','_exhaustRemoteChangesetQueue','post','encode','randomBytes','[OfflineState]:\x20received\x20acknowledgement.','fetch_missing','transformChangesets','getResourcesRequest','60188jSNyjD','_roomCreated$','getConfig','method','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','_entities','_telemetryService','function','_initRequestHeader','4312121fONINq','toggleOffline','onTransformSelections','LICENSE_IMPORT_SIZE_EXCEEDED','/universer-api/file/{fileID}/sign-url','MOBILE_VERIFY_CODE_MISMATCH','filter','_schedule','pad','_transformSelections','_type','_stopTelemetryCollaborationNewChangeset','JOIN_ROOM_FAILED','create','SHOULD_CLOSE_CONN','UnitSnapshot','generateRandomId','HELLO','getValue','APPLY_NON_SEQUENTIAL_REVISION','localeService','_HTTPService','loginUrlKey','onlyLocal','reduce','awaitingChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','localCacheService','members','setWaitCount','getTime','add','pluginName','defineProperty','onStarting','_decreaseWaiting','status$','abs','getTypeOfUnitDisposed$','UNDEFINED','YUUMI_RATE_OVER_LIMIT','NOT_COLLAB','_iKey','6594DzYCTr','_singleActiveUnitService','_doFinalize','interceptor','transformSelections','ciphertext','_transformRemoteChangesetByIMECache','close','_queuedRemoteChangesets','_unitID','decryptBlock','/allowed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[OfflineState]:\x20received\x20rejection.','_remoteChangesetQueue','_handlerCallback','_tryEnsureSocket','_instanceService','onSyncEditingCollabCursor','EMAIL_VERIFY_CODE_MISMATCH','loadUnit','socketService','buffer','origin','image/png','_sendHeartbeatTimer','/fetchmissing?from=','key','image/jpg','createEncryptor','_redoStacks','unitId','subject','enc','getInterceptPoints','&source=','LIVESHARE_FETCH_OPERATIONS','EMAIL_HAS_BEEN_BOUND','_lockTransition','StreamCipher','[PendingState]:\x20received\x20rejection.','SUCCUSS','max','includes','setCurrentUser','_awaitingChangeset','put','getTypeOfUnitAdded$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CipherParams','image/gif','_transitionLocked','has','online$','_incrementRevisionNumber','10HSOAOE','save\x20fail\x20reason\x20is\x20','_startCollaboration','_localCacheService','collabWebSocketUrl','Hasher','onLocalMutation','onTransformRemoteChangesetByIMECache','_snapshotService','send','lib','encrypt','_state','readAsDataURL','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNIVER_UNKNOWN','unknown','append','saveChangeset','_onRemoteRetry','_timeoutTimer','_isPermissionRej','body','capture','onStateChange','_showConflictNotification','unsubscribe','MD5','incrementRevOfUnit','_onRemoteChangeset','values','getActiveSheet','APPLY_REJECT','CONNECTOR_DATA_TOO_LARGE','AES','routeKey','fetchMiss','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','signUrlServerUrl','workbook','resend','uploadFileServerUrl','USERS_ENTER','UNIVER_PROJECT','finalize','TOO_MANY_REQUESTS','_clearTimeoutTimer','cfg','_checkMissing','Pkcs7','requireSession','roomInfos','byteOffset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','byteLength','_getLoginPath','session.join-failed','_sessionStatus$','splice','YUUMI_CONNECTOR_URL_NOT_FOUND','/block/','connection\x20error','_localeService','_initMergeInterceptor','DEFAULT_FILE_NAME','ONLINE','_revisionService','shouldCloseConn','HmacMD5','startTime','Could\x20not\x20dynamically\x20require\x20\x22','stringify','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','/universer-api/user/session-ticket','CONFLICT','UPDATE_PERMISSION_OBJ','fromCharCode','_hash','/role','YUUMI_ASYNCIO_CANCELLED','_replaceFileID','_collaborationTimeoutTimer','onTransformState','_getUndoStack','updateOfflineData','PERMISSION_DENIED','collabSubmitChangesetUrl','Utf8','getMemberID','LICENSE_MAX_UNITS_EXCEEDED','People','_networkConditionService','collaboration-client.config','Undefined','384024QNvvtY','Base64','result','/universer-api/uniscript','_retryCount','_memberService','getUnit','now','UPDATE_CURSOR','actions','clone','[SyncedState]:\x20received\x20rejection.','_scheduleCollaborationTimeoutTimer','Decryptor','UnitEmbedded','_clearScheduledTask','HttpImport','pipe','disposeWithMe','_DEC_XFORM_MODE','/universer-api/snapshot/','appendMutation','_undoStacks','mixIn','ERROR_IMAGE_TYPE','createDecryptor','_collaborationSessionService','liveShareNewHost','get','onRemoteRej','_createInitialStateImpl','LICENSE_EXPORT_SIZE_EXCEEDED','UNAUTHENTICATED','_onUserLeave','eventID','ENSURE_SNAPSHOT_EXECUTION','executeCommand','updateCursorEvent','kdf','_transformUndoredo','_permissionService','toString','memberID','[DataLoaderService]','_snapshotServerService','transformUndoRedo','not_collab','infoRsp','type','PY_RUNTIME_SCRIPT_ERROR','_doCreateSocket','EvpKDF','members$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updateCollaborator','loadDoc','delete','_executeRemoteChangeset','OpenSSL','getRandomValues','baseRev','352961oDWKfC','_xformMode','_transformRemoteChangesetByStateCache','{fileID}','_data','next','[CollaborationEntity]','slice','_members$','reset','getUnitId','cmd','_unlockTransition','getAllMembers','session','_createHmacHelper','SNAPSHOT_HAS_BEEN_REMOVED','indexOf','univer-pro.collaboration-client.single-active-unit-service','JOIN_ROOM_NOT_EXISTS','enableOfflineEditing','_getUploadFileURL','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','stopTime','editingUnit','APPLY_REVISION_CONFILICT','encodeURIComponent','_iv','POST','extend','ceil','synced','_onUserJoin','HmacSHA1','COMPRESS_MUTATION_APPLY','liveShareOperation','deleteCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','[CollaborationSession]','charAt','_commandService','_sessions','_scheduleCompleteTimestamp','INTERNAL_ERROR','_applyRemoteChangeset','SNAPSHOT_SERVER_URL_KEY','INVALID_INVITE_CODE','editing\x20status\x20changed\x20to','csShouldRetryEvent','commentUpdate$','clear','/universer-api/snapshot','\x20to\x20','_onJoinRoomEvent','_append','textRanges','Base','_createInitialState','SYNCED','MSG_FOR_ERROR','x-univer-host','_init','LOCAL_CACHE_INTERVAL','padding','_map','_mode','_onRecvEvent','copyFileMeta','getCollabEntity','_resendTimer','_submitChangeset','_nDataBytes','submit\x20changeset\x20error!','UNIVER_SLIDE','JOIN_ROOM_FULL','_httpService','_injector','_prevBlock','substr','transformMutationsWithChangeset','MOBILE_HAS_BEEN_BOUND'];_0x57e4=function(){return _0x523dc4;};return _0x57e4();}let Ct=class extends _0x5861e5{constructor(_0x500836,_0x53a50a,_0x5a5a0c){var _0x3ee892=_0x332b6f;super(),N(this,_0x3ee892(0x350),new _0x400ec0(null)),N(this,'unitInfo$',this[_0x3ee892(0x350)]['asObservable']()),(this['_logService']=_0x500836,this[_0x3ee892(0x21e)]=_0x53a50a,this['_localCacheService']=_0x5a5a0c);}async['loadUnitOfRevision'](_0x2ba45c,_0x5108c8,_0xd5ac90){var _0x5222e6=_0x332b6f;this[_0x5222e6(0x350)]['next']({'unitId':_0x2ba45c,'type':_0x5108c8});let _0x241974=null;switch(_0x5108c8){case Z[_0x5222e6(0x3fe)]:{_0x241974=await this['_snapshotService']['loadSheet'](_0x2ba45c,_0xd5ac90);break;}case Z['UNIVER_DOC']:{_0x241974=await this[_0x5222e6(0x21e)][_0x5222e6(0x2ad)](_0x2ba45c,_0xd5ac90);break;}default:{this[_0x5222e6(0x3f5)][_0x5222e6(0x160)](_0x5222e6(0x2a1),_0x5222e6(0x167));break;}}return _0x241974;}async[_0x332b6f(0x1f3)](_0x106994,_0x514674,_0x1d9b10){var _0x323ae9=_0x332b6f,_0x3712fb;this[_0x323ae9(0x350)][_0x323ae9(0x2b8)]({'unitId':_0x106994,'type':_0x514674,'subUnitId':_0x1d9b10});let _0x437d79=0x0;const _0xbd9ecd=await((_0x3712fb=this[_0x323ae9(0x219)])==null?void 0x0:_0x3712fb['loadOfflineData'](_0x106994));return _0xbd9ecd&&(_0xbd9ecd[_0x323ae9(0x1cd)]||_0xbd9ecd[_0x323ae9(0x416)][_0x323ae9(0x378)]!==0x0)&&(_0x437d79=_0xbd9ecd[_0x323ae9(0x380)]),_0x437d79===0x0&&this[_0x323ae9(0x3f5)][_0x323ae9(0x158)](_0x323ae9(0x2a1),_0x323ae9(0x418)),this['loadUnitOfRevision'](_0x106994,_0x514674,_0x437d79);}};Ct=Wn([vt(0x0,_0x2ee83c),vt(0x1,_0x5e1e11(_0x2bf404)),vt(0x2,_0x2b6ae4(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x1829b8,_0x929b9f,_0x1657cc,_0x261d14)=>{var _0x5a6268=_0x332b6f;for(var _0x5ebd08=_0x261d14>0x1?void 0x0:_0x261d14?Kn(_0x929b9f,_0x1657cc):_0x929b9f,_0x52e2d7=_0x1829b8[_0x5a6268(0x378)]-0x1,_0x8c042;_0x52e2d7>=0x0;_0x52e2d7--)(_0x8c042=_0x1829b8[_0x52e2d7])&&(_0x5ebd08=_0x8c042(_0x5ebd08)||_0x5ebd08);return _0x5ebd08;},pt=(_0x5261c1,_0x508382)=>(_0x20b20a,_0x2826bb)=>_0x508382(_0x20b20a,_0x2826bb,_0x5261c1);const zn=[_0x332b6f(0x1f7),'image/jpeg',_0x332b6f(0x1fb),_0x332b6f(0x211),_0x332b6f(0x345)],Jn=0x5*0x400*0x400,Xn=_0x332b6f(0x352),Zn=_0x332b6f(0x141),Qn=_0x332b6f(0x311),er=_0x332b6f(0x1b8);let Rt=class{constructor(_0x2de669,_0x51e4ed,_0x419321){var _0x356110=_0x332b6f;N(this,'_waitCount',0x0),N(this,_0x356110(0x359),new _0x1ac18f()),N(this,'change$',this[_0x356110(0x359)]),N(this,_0x356110(0x3cd),new Map()),(this['_httpService']=_0x2de669,this[_0x356110(0x3a8)]=_0x51e4ed,this['_univerInstanceService']=_0x419321);}[_0x332b6f(0x1d1)](_0x55b2da){var _0x15bea0=_0x332b6f;this[_0x15bea0(0x35a)]=_0x55b2da,this[_0x15bea0(0x359)][_0x15bea0(0x2b8)](_0x55b2da);}['getImageSourceCache'](_0x1b2f26,_0x44aa5e){var _0x26dba2=_0x332b6f;if(_0x44aa5e===_0x4d38c9[_0x26dba2(0x38d)]){const _0xa6dcdd=new Image();return _0xa6dcdd['src']=_0x1b2f26,_0xa6dcdd;}return this['_imageSourceCache'][_0x26dba2(0x292)](_0x1b2f26);}[_0x332b6f(0x3e9)](_0x112fa9,_0x174b43,_0x4e9af0){var _0xd8c1cc=_0x332b6f;_0x174b43===_0x4d38c9[_0xd8c1cc(0x38d)]||_0x4e9af0==null||this[_0xd8c1cc(0x3cd)][_0xd8c1cc(0x19f)](_0x112fa9,_0x4e9af0);}async['getImage'](_0x429e72){var _0x1bb7f6=_0x332b6f;try{const _0x3ca2dc=this[_0x1bb7f6(0x268)](this[_0x1bb7f6(0x3f7)](),''+_0x429e72),_0x207c39=(await this['_httpService'][_0x1bb7f6(0x292)](_0x3ca2dc))[_0x1bb7f6(0x22d)];if(_0x207c39[_0x1bb7f6(0x160)]&&_0x207c39['error']['code']===pi['OK']){const _0x37cad8=new URL(_0x207c39[_0x1bb7f6(0x385)],this[_0x1bb7f6(0x415)]())[_0x1bb7f6(0x29f)]();return Promise[_0x1bb7f6(0x306)](_0x37cad8);}return Promise['reject'](_0x207c39[_0x1bb7f6(0x160)]);}catch(_0x3d33a4){return Promise[_0x1bb7f6(0x375)](_0x3d33a4);}}async['saveImage'](_0x254ea5){var _0x2a5c38=_0x332b6f;let _0x3811e4='';if(!zn[_0x2a5c38(0x20a)](_0x254ea5[_0x2a5c38(0x2a6)]))return this[_0x2a5c38(0x1d7)](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x28e)]));if(_0x254ea5[_0x2a5c38(0x39c)]>Jn)return this[_0x2a5c38(0x1d7)](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x132)]));try{const _0x33f4a5=new FormData();_0x33f4a5[_0x2a5c38(0x228)](_0x2a5c38(0x344),_0x254ea5);const _0x51b580=this[_0x2a5c38(0x18d)][_0x2a5c38(0x421)](),_0x1479f2=_0x51b580==null?void 0x0:_0x51b580['getUnitId']();if(!_0x1479f2)throw new Error('unitId\x20is\x20not\x20found');const _0x3acff7=this[_0x2a5c38(0x2c8)]()+'?size='+_0x254ea5[_0x2a5c38(0x39c)][_0x2a5c38(0x29f)]()+_0x2a5c38(0x202)+mi['UnitEmbedded']+_0x2a5c38(0x3df)+encodeURIComponent(_0x1479f2),_0x578dfd={'body':_0x33f4a5},_0x60ab0e=(await this[_0x2a5c38(0x2ff)][_0x2a5c38(0x1a3)](_0x3acff7,_0x578dfd))[_0x2a5c38(0x22d)];if(typeof _0x60ab0e[_0x2a5c38(0x173)]!=_0x2a5c38(0x322))return this[_0x2a5c38(0x1d7)](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x3b2)]));_0x3811e4=_0x60ab0e[_0x2a5c38(0x173)];}catch{return this['_decreaseWaiting'](),Promise[_0x2a5c38(0x375)](new Error(_0x53699a[_0x2a5c38(0x3b2)]));}return new Promise((_0x3381f2,_0xec1cff)=>{var _0x3fedd6=_0x2a5c38;const _0x1884d9=new FileReader();_0x1884d9[_0x3fedd6(0x223)](_0x254ea5),_0x1884d9[_0x3fedd6(0x3dc)]=_0x15fcaa=>{var _0x23d498=_0x3fedd6,_0x2bea06;const _0x7ca890=(_0x2bea06=_0x15fcaa['target'])==null?void 0x0:_0x2bea06['result'];if(_0x7ca890==null){this['_decreaseWaiting'](),_0xec1cff(new Error(_0x53699a['ERROR_IMAGE']));return;}const _0x464cf9=_0x4e273e[_0x23d498(0x1c4)](0x6);_0x3381f2({'imageId':_0x464cf9,'imageSourceType':_0x4d38c9[_0x23d498(0x317)],'source':_0x3811e4,'base64Cache':_0x7ca890,'status':_0x53699a[_0x23d498(0x208)]}),this[_0x23d498(0x1d7)]();};});}['_getUploadFileURL'](){var _0x2b9f5c=_0x332b6f,_0x24d5c4,_0x1f10e7;const _0x2307f0=this[_0x2b9f5c(0x3a8)][_0x2b9f5c(0x1ac)](Xn),_0x15cd12=this[_0x2b9f5c(0x3a8)][_0x2b9f5c(0x1ac)](K);return(_0x1f10e7=(_0x24d5c4=_0x15cd12==null?void 0x0:_0x15cd12[_0x2b9f5c(0x240)])!=null?_0x24d5c4:_0x2307f0)!=null?_0x1f10e7:Zn;}[_0x332b6f(0x3f7)](){var _0x1adf93=_0x332b6f,_0x4725f8,_0x390005;const _0x55b3f8=this[_0x1adf93(0x3a8)][_0x1adf93(0x1ac)](Qn),_0x4e1ba6=this[_0x1adf93(0x3a8)][_0x1adf93(0x1ac)](K);return(_0x390005=(_0x4725f8=_0x4e1ba6==null?void 0x0:_0x4e1ba6[_0x1adf93(0x23d)])!=null?_0x4725f8:_0x55b3f8)!=null?_0x390005:er;}['_getDownloadEndpointURL'](){var _0xee7710=_0x332b6f,_0x843800;const _0x4525a3=this[_0xee7710(0x3a8)][_0xee7710(0x1ac)](K);return(_0x843800=_0x4525a3==null?void 0x0:_0x4525a3['downloadEndpointUrl'])!=null?_0x843800:location[_0xee7710(0x1f6)];}[_0x332b6f(0x268)](_0x74bf1e,_0x2de301){var _0x2d30dd=_0x332b6f;return _0x74bf1e[_0x2d30dd(0x3c8)](_0x2d30dd(0x2b6),_0x2de301);}[_0x332b6f(0x1d7)](){var _0x847f0e=_0x332b6f;this[_0x847f0e(0x35a)]-=0x1,this[_0x847f0e(0x359)]['next'](this[_0x847f0e(0x35a)]);}};Rt=qn([pt(0x0,_0x5e1e11(_0x50e32e)),pt(0x1,_0x5747ff),pt(0x2,_0x5e1e11(_0x47549b))],Rt);var tr=Object[_0x332b6f(0x438)],ir=(_0x4b1993,_0x59e8f8,_0x50af01,_0x77d9f2)=>{var _0x1733c3=_0x332b6f;for(var _0x1f148c=_0x77d9f2>0x1?void 0x0:_0x77d9f2?tr(_0x59e8f8,_0x50af01):_0x59e8f8,_0x5487ea=_0x4b1993[_0x1733c3(0x378)]-0x1,_0x2b5501;_0x5487ea>=0x0;_0x5487ea--)(_0x2b5501=_0x4b1993[_0x5487ea])&&(_0x1f148c=_0x2b5501(_0x1f148c)||_0x1f148c);return _0x1f148c;},ai=(_0x59eee0,_0x33a59d)=>(_0x3f0aa6,_0x4cd27c)=>_0x33a59d(_0x3f0aa6,_0x4cd27c,_0x59eee0);const sr=_0x332b6f(0x136);let Ot=class{constructor(_0x5a2b87,_0x2240bf){var _0x5d1a52=_0x332b6f;this[_0x5d1a52(0x3a8)]=_0x5a2b87,this[_0x5d1a52(0x1c9)]=_0x2240bf;}[_0x332b6f(0x426)](){var _0x4b8119=_0x332b6f,_0x567114,_0x2b4c08;const _0x47624a=this['_configService'][_0x4b8119(0x1ac)](Oi),_0x502959=this[_0x4b8119(0x3a8)]['getConfig'](K);return(_0x2b4c08=(_0x567114=_0x502959==null?void 0x0:_0x502959[_0x4b8119(0x335)])!=null?_0x567114:_0x47624a)!=null?_0x2b4c08:sr;}async['list'](_0x5b0cc6){var _0x1e4518=_0x332b6f;const _0x46de24=this[_0x1e4518(0x426)]()+_0x1e4518(0x42b);return{'list':[{'title':_0x1e4518(0x272),'mentions':(await this['_HTTPService'][_0x1e4518(0x292)](_0x46de24,{'params':{'objectID':_0x5b0cc6[_0x1e4518(0x1fe)],'unitID':_0x5b0cc6[_0x1e4518(0x1fe)]}}))[_0x1e4518(0x22d)][_0x1e4518(0x333)]['map'](_0x132485=>({'objectId':_0x132485['id'],'name':_0x132485['subject']['name'],'metadata':{'icon':_0x132485[_0x1e4518(0x1ff)][_0x1e4518(0x125)]},'label':_0x132485[_0x1e4518(0x1ff)][_0x1e4518(0x3ed)],'objectType':_0x1afd39[_0x1e4518(0x143)]})),'metadata':{},'type':_0x1afd39[_0x1e4518(0x143)]}]};}};Ot=ir([ai(0x0,_0x5e1e11(_0x5747ff)),ai(0x1,_0x5e1e11(_0x50e32e))],Ot);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x581278,_0x2e8f92,_0x232690,_0x5d8040)=>{for(var _0x28a547=_0x5d8040>0x1?void 0x0:_0x5d8040?nr(_0x2e8f92,_0x232690):_0x2e8f92,_0x1b178b=_0x581278['length']-0x1,_0x4c321a;_0x1b178b>=0x0;_0x1b178b--)(_0x4c321a=_0x581278[_0x1b178b])&&(_0x28a547=_0x4c321a(_0x28a547)||_0x28a547);return _0x28a547;},Ae=(_0x3762d1,_0x565e3a)=>(_0x579e4e,_0x8d5ccb)=>_0x565e3a(_0x579e4e,_0x8d5ccb,_0x3762d1);let ot=class extends _0x5861e5{constructor(_0xd85e1a,_0x152a63,_0xeb1f73,_0xf45ad7,_0xc3122){var _0x163ea3=_0x332b6f;super(),this[_0x163ea3(0x300)]=_0xd85e1a,this[_0x163ea3(0x18d)]=_0x152a63,this[_0x163ea3(0x29e)]=_0xeb1f73,this[_0x163ea3(0x290)]=_0xf45ad7,this['_collaborationUIEventService']=_0xc3122,this[_0x163ea3(0x409)](),this[_0x163ea3(0x30d)]();}[_0x332b6f(0x30d)](){var _0x446546=_0x332b6f;const _0x518071=async _0x5c92e2=>{var _0x220aea=_0x2301;(await this[_0x220aea(0x290)][_0x220aea(0x249)](_0x5c92e2))[_0x220aea(0x361)]['pipe'](_0x3c6cec(_0xe6290b=>_0xe6290b[_0x220aea(0x298)]===_0x418085[_0x220aea(0x1c2)]),_0x44300f(this[_0x220aea(0x41b)]))['subscribe'](_0x2c2631=>{var _0x56c8d2=_0x220aea;const _0x508ee4=_0x2c2631,{reason:_0x2ec626}=_0x508ee4[_0x56c8d2(0x349)];this[_0x56c8d2(0x30a)]['emitEvent']({'id':ne[_0x56c8d2(0x33b)],'data':_0x2ec626}),this['_permissionService'][_0x56c8d2(0x35f)](new _0x42525e(_0x5c92e2)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5c92e2);});};_0x99efa5(this[_0x446546(0x18d)][_0x446546(0x20e)](_0x2db736[_0x446546(0x3fe)]),this[_0x446546(0x18d)][_0x446546(0x20e)](_0x2db736['UNIVER_DOC']))[_0x446546(0x287)](_0x2f4302(_0x3830e4=>_0x3830e4['getUnitId']()),_0x3c6cec(_0x2c5968=>!_0x1c648e(_0x2c5968)),_0x44300f(this[_0x446546(0x41b)]))[_0x446546(0x166)](_0x4f2d4b=>{_0x518071(_0x4f2d4b);});}[_0x332b6f(0x409)](){var _0x310314=_0x332b6f;const _0x20cc22=async _0x482019=>{var _0x15fd70=_0x2301;const _0x38f077=await this[_0x15fd70(0x290)][_0x15fd70(0x249)](_0x482019),_0x128787=this[_0x15fd70(0x300)]['get'](_0x2d7722);_0x38f077[_0x15fd70(0x361)][_0x15fd70(0x287)](_0x3c6cec(_0x1907de=>_0x1907de['eventID']===_0x418085[_0x15fd70(0x263)]),_0x44300f(this['dispose$']))[_0x15fd70(0x166)](_0x91baaf=>{var _0x3da170=_0x15fd70;const _0x177ade=_0x91baaf,{objectId:_0x1a8a4d}=_0x177ade[_0x3da170(0x349)];_0x1a8a4d===_0x482019?_0x128787['initWorkbookPermissionChange'](_0x482019):_0x128787[_0x3da170(0x413)](_0x482019,_0x1a8a4d);});};_0x99efa5(this[_0x310314(0x18d)][_0x310314(0x20e)](_0x2db736[_0x310314(0x3fe)]))[_0x310314(0x287)](_0x2f4302(_0x5e9e06=>_0x5e9e06[_0x310314(0x2bd)]()),_0x3c6cec(_0x5706ca=>!_0x1c648e(_0x5706ca)),_0x44300f(this['dispose$']))[_0x310314(0x166)](_0x3e9e59=>{_0x20cc22(_0x3e9e59);});}};ot=rr([Ae(0x0,_0x5e1e11(_0x226671)),Ae(0x1,_0x47549b),Ae(0x2,_0x545df8),Ae(0x3,_0x5e1e11(Le)),Ae(0x4,_0x5e1e11(ve))],ot);var ar=Object[_0x332b6f(0x438)],or=(_0x57a092,_0x5052ef,_0x2d327d,_0xc2d041)=>{for(var _0xdb461e=_0xc2d041>0x1?void 0x0:_0xc2d041?ar(_0x5052ef,_0x2d327d):_0x5052ef,_0x34fda7=_0x57a092['length']-0x1,_0x52d74d;_0x34fda7>=0x0;_0x34fda7--)(_0x52d74d=_0x57a092[_0x34fda7])&&(_0xdb461e=_0x52d74d(_0xdb461e)||_0xdb461e);return _0xdb461e;},oi=(_0x1ef96b,_0xea3fa1)=>(_0x4843f6,_0x42c6d0)=>_0xea3fa1(_0x4843f6,_0x42c6d0,_0x1ef96b);let bt=class{constructor(_0x3cdfd2,_0x522337){var _0x3dcb87=_0x332b6f;this[_0x3dcb87(0x3a8)]=_0x3cdfd2,this[_0x3dcb87(0x2ff)]=_0x522337;}async[_0x332b6f(0x384)](_0x25e7cd,_0x1e7138){var _0x2968b7=_0x332b6f,_0x49f6bd;const {unitID:_0x2c73da,type:_0x232bc7,revision:_0x3f5558=0x0}=_0x1e7138,_0x1038f7=this['getSnapshotAPIPath']()+'/'+_0x232bc7+_0x2968b7(0x3ff)+_0x2c73da+_0x2968b7(0x37c)+_0x3f5558,_0x3d8213=(await this['_httpService'][_0x2968b7(0x292)](_0x1038f7))[_0x2968b7(0x22d)],_0x529246=(_0x49f6bd=_0x3d8213[_0x2968b7(0x18f)])==null?void 0x0:_0x49f6bd[_0x2968b7(0x23e)];if(_0x529246){const _0x186305=_0x529246==null?void 0x0:_0x529246[_0x2968b7(0x420)],_0x51fb03=_0x2f44dc[_0x2968b7(0x1a4)](_0x49bdd3(_0x186305));_0x529246[_0x2968b7(0x420)]=_0x51fb03,Object['entries'](_0x529246['sheets'])[_0x2968b7(0x31c)](([,_0x2fce10])=>{var _0x4c53cd=_0x2968b7;const _0x5d0ae2=_0x2fce10[_0x4c53cd(0x420)],_0x40bc6d=_0x2f44dc['encode'](_0x49bdd3(_0x5d0ae2));_0x2fce10[_0x4c53cd(0x420)]=_0x40bc6d;});}return _0x3d8213;}async[_0x332b6f(0x331)](_0x4387bb,_0x2eb91d){var _0xeb51f5=_0x332b6f;const {unitID:_0x4f5463,type:_0x1dca85,blockID:_0x49f460}=_0x2eb91d,_0x2e32f7=this['_getAPIPrefix']()+'/'+_0x1dca85+_0xeb51f5(0x3ff)+_0x4f5463+_0xeb51f5(0x253)+_0x49f460;return(await this['_httpService'][_0xeb51f5(0x292)](_0x2e32f7))[_0xeb51f5(0x22d)];}async[_0x332b6f(0x40a)](_0x5b4ad7,_0x50b358){var _0x50bfad=_0x332b6f;const {unitID:_0x157c05,type:_0x3207c1,blockID:_0xdc73b6}=_0x50b358,_0x59c9ca=this['_getAPIPrefix']()+_0x50bfad(0x253)+_0x3207c1+_0x50bfad(0x3ff)+_0x157c05+_0x50bfad(0x253)+_0xdc73b6;return(await this['_httpService'][_0x50bfad(0x292)](_0x59c9ca))[_0x50bfad(0x22d)];}async[_0x332b6f(0x3b9)](_0x1699e1,_0x3dce6e){var _0x16ae49=_0x332b6f;const {unitID:_0x1822cd,type:_0x3b5a47,from:_0x36c00e,to:_0x36ff56}=_0x3dce6e,_0x555ff2=this[_0x16ae49(0x3a5)]()+'/'+_0x3b5a47+_0x16ae49(0x3ff)+_0x1822cd+_0x16ae49(0x1f9)+_0x36c00e+_0x16ae49(0x17c)+_0x36ff56;return(await this['_httpService']['get'](_0x555ff2))[_0x16ae49(0x22d)];}['getSnapshotAPIPath'](){var _0x49b0be=_0x332b6f,_0x52c739;return(_0x52c739=this['_configService'][_0x49b0be(0x1ac)](ps))!=null?_0x52c739:this[_0x49b0be(0x3a5)]();}[_0x332b6f(0x3a5)](){var _0x5d1d39=_0x332b6f,_0x32c193,_0x334098;const _0xec3f4b=this[_0x5d1d39(0x3a8)][_0x5d1d39(0x1ac)](fs),_0x29e8ed=this[_0x5d1d39(0x3a8)]['getConfig'](K);return(_0x334098=(_0x32c193=_0x29e8ed==null?void 0x0:_0x29e8ed[_0x5d1d39(0x162)])!=null?_0x32c193:_0xec3f4b)!=null?_0x334098:vs;}async[_0x332b6f(0x1a9)](_0x28131e,_0x48d269){var _0x3ec85f=_0x332b6f;const _0x598c82=_0x3ec85f(0x28a)+_0x48d269['type']+'/unit/'+_0x48d269[_0x3ec85f(0x31a)]+_0x3ec85f(0x3ee);return(await this[_0x3ec85f(0x2ff)]['get'](_0x598c82,{'params':{'resourceId':JSON[_0x3ec85f(0x25e)](_0x48d269['resourceIDs'])}}))[_0x3ec85f(0x22d)];}[_0x332b6f(0x369)](){var _0x3cd91f=_0x332b6f;throw new Error(_0x3cd91f(0x184));}['updateSnapshot'](){var _0x389975=_0x332b6f;throw new Error(_0x389975(0x184));}[_0x332b6f(0x17d)](){var _0x118319=_0x332b6f;throw new Error(_0x118319(0x184));}[_0x332b6f(0x229)](){var _0x16afa1=_0x332b6f;throw new Error(_0x16afa1(0x184));}[_0x332b6f(0x2f7)](){var _0x97e957=_0x332b6f;throw new Error(_0x97e957(0x184));}[_0x332b6f(0x411)](){var _0x2eff00=_0x332b6f;throw new Error(_0x2eff00(0x184));}};bt=or([oi(0x0,_0x5747ff),oi(0x1,_0x5e1e11(_0x50e32e))],bt);var cr=Object[_0x332b6f(0x438)],hr=(_0x4ab159,_0x4293f5,_0x30a1c4,_0x5cbfc5)=>{var _0x167fa5=_0x332b6f;for(var _0x2c0a20=_0x5cbfc5>0x1?void 0x0:_0x5cbfc5?cr(_0x4293f5,_0x30a1c4):_0x4293f5,_0xf6a35d=_0x4ab159[_0x167fa5(0x378)]-0x1,_0x4a608e;_0xf6a35d>=0x0;_0xf6a35d--)(_0x4a608e=_0x4ab159[_0xf6a35d])&&(_0x2c0a20=_0x4a608e(_0x2c0a20)||_0x2c0a20);return _0x2c0a20;},we=(_0x461cd2,_0xf66fe1)=>(_0x17b763,_0x56bf85)=>_0xf66fe1(_0x17b763,_0x56bf85,_0x461cd2);let yt=class extends _0x132088{constructor(_0x453cc1,_0x2fa028,_0x382d38,_0x329b87,_0x1027f2){var _0x2ab6e4=_0x332b6f;super(_0x453cc1,_0x2fa028,_0x382d38),this[_0x2ab6e4(0x32e)]=_0x329b87,this['_logService']=_0x1027f2;}[_0x332b6f(0x2a3)](_0x33dd55,_0x3e9e83){var _0x408031=_0x332b6f;const _0x318100=this[_0x408031(0x26b)](_0x33dd55);if(_0x318100)try{const _0x4d8eb0=this['_transformStack'](_0x318100,_0x3e9e83);this['_substituteUndoStack'](_0x33dd55,_0x4d8eb0);}catch(_0x26ccf3){this[_0x408031(0x3f5)][_0x408031(0x160)](_0x408031(0x14f),_0x26ccf3),this[_0x408031(0x41e)](_0x33dd55);}const _0x1c89da=this[_0x408031(0x148)](_0x33dd55);if(_0x1c89da)try{const _0x274d17=this['_transformStack'](_0x1c89da,_0x3e9e83);this[_0x408031(0x423)](_0x33dd55,_0x274d17);}catch(_0x3e654e){this[_0x408031(0x3f5)][_0x408031(0x160)](_0x3e654e),this[_0x408031(0x3bc)](_0x33dd55);}}[_0x332b6f(0x41e)](_0x23a7ae){var _0x586a0a=_0x332b6f;const _0x2c0915=this['_getUndoStack'](_0x23a7ae);_0x2c0915&&(_0x2c0915[_0x586a0a(0x378)]=0x0,this[_0x586a0a(0x3c9)]());}[_0x332b6f(0x3bc)](_0x53d8a8){var _0x2e5ba1=_0x332b6f;const _0x4311ad=this[_0x2e5ba1(0x148)](_0x53d8a8);_0x4311ad&&(_0x4311ad[_0x2e5ba1(0x378)]=0x0,this[_0x2e5ba1(0x3c9)]());}['_substituteUndoStack'](_0x36f14a,_0x2eef97){var _0x5ab976=_0x332b6f;this[_0x5ab976(0x28c)][_0x5ab976(0x19f)](_0x36f14a,_0x2eef97),this[_0x5ab976(0x3c9)]();}['_substituteRedoStack'](_0x58c851,_0x2eeef0){var _0x4286db=_0x332b6f;this[_0x4286db(0x1fd)][_0x4286db(0x19f)](_0x58c851,_0x2eeef0),this['_updateStatus']();}[_0x332b6f(0x336)](_0x49d630,_0x2ef4eb){var _0xc3592f=_0x332b6f;const _0x505439=[];let _0x3864b2=_0x2ef4eb,_0x575351=_0x2ef4eb;for(let _0x5ab292=_0x49d630[_0xc3592f(0x378)]-0x1;_0x5ab292>=0x0;_0x5ab292--){const {unitID:_0x459960,undoMutations:_0x405680,redoMutations:_0xc264ee}=_0x49d630[_0x5ab292],_0x71905d=this['_transformService'][_0xc3592f(0x303)](_0x3864b2,_0x405680),_0x5c4a56=this['_transformService']['transformMutationsWithChangeset'](_0x575351,_0xc264ee);if(_0x531048(_0x71905d)||_0x531048(_0x5c4a56)){this[_0xc3592f(0x3f5)][_0xc3592f(0x160)](_0xc3592f(0x14f),_0xc3592f(0x157),_0x71905d,_0x5c4a56);break;}_0x3864b2=_0x71905d[_0xc3592f(0x3c6)],_0x575351=_0x5c4a56['c1Prime'],_0x505439['push']({'unitID':_0x459960,'undoMutations':_0x71905d[_0xc3592f(0x321)],'redoMutations':_0x5c4a56['m2Prime']});}return _0x505439[_0xc3592f(0x316)]();}};yt=hr([we(0x0,_0x47549b),we(0x1,_0x499b8d),we(0x2,_0x1e49ca),we(0x3,_0x1eb68a),we(0x4,_0x2ee83c)],yt);var _r=Object[_0x332b6f(0x1d5)],lr=Object[_0x332b6f(0x438)],ur=(_0x1b9ea5,_0x263d08,_0x3f9300)=>_0x263d08 in _0x1b9ea5?_r(_0x1b9ea5,_0x263d08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f9300}):_0x1b9ea5[_0x263d08]=_0x3f9300,dr=(_0x474331,_0x4f8de5,_0x121adb,_0x3fd6fd)=>{var _0x19baa4=_0x332b6f;for(var _0x4a3394=_0x3fd6fd>0x1?void 0x0:_0x3fd6fd?lr(_0x4f8de5,_0x121adb):_0x4f8de5,_0x5c130f=_0x474331[_0x19baa4(0x378)]-0x1,_0x2ef2f2;_0x5c130f>=0x0;_0x5c130f--)(_0x2ef2f2=_0x474331[_0x5c130f])&&(_0x4a3394=_0x2ef2f2(_0x4a3394)||_0x4a3394);return _0x4a3394;},mt=(_0x3274f9,_0x261eeb)=>(_0x421661,_0x1c21bc)=>_0x261eeb(_0x421661,_0x1c21bc,_0x3274f9),fr=(_0x10d767,_0x526552,_0x547d11)=>ur(_0x10d767,_0x526552+'',_0x547d11);const vr=_0x332b6f(0x2d9);let Nt=class extends _0x3d3d32{constructor(_0x52bcb4,_0x4e3872,_0x44a3ed,_0x2d1eb6){var _0x427c4f=_0x332b6f;super(),N(this,_0x427c4f(0x155)),(this[_0x427c4f(0x3f5)]=_0x4e3872,this[_0x427c4f(0x300)]=_0x44a3ed,this['_configService']=_0x2d1eb6);const {..._0x419e1c}=_0x43bc25({},Ds,_0x52bcb4);if(!_0x419e1c[_0x427c4f(0x1f4)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x427c4f(0x155)]=_0x419e1c,this[_0x427c4f(0x3a8)][_0x427c4f(0x3e5)](K,_0x419e1c);}[_0x332b6f(0x1d6)](){var _0x3a06c1=_0x332b6f;this[_0x3a06c1(0x354)](),this[_0x3a06c1(0x31f)]();}[_0x332b6f(0x354)](){var _0x4e436e=_0x332b6f,_0xf1fdc2,_0x4a1ca6;this[_0x4e436e(0x300)][_0x4e436e(0x213)](_0x17f179)&&this['_logService'][_0x4e436e(0x160)](_0x4e436e(0x425),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x47f89d=_0x47bf74([[_0x17f179,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x4e436e(0x155)][_0x4e436e(0x1f4)]}],[_0x5d5a89,{'useClass':bt}],[_0x591c88,{'useClass':Tt}],[_0x14e3c5,{'useClass':Rt}],[_0x247198,{'useClass':Ot}],[nt],[It]],(_0xf1fdc2=this[_0x4e436e(0x155)])==null?void 0x0:_0xf1fdc2[_0x4e436e(0x199)]);if(!((_0x4a1ca6=this[_0x4e436e(0x155)])!=null&&_0x4a1ca6[_0x4e436e(0x156)])){const _0x2cbde9=_0x47f89d[_0x4e436e(0x437)](([_0x4269be])=>_0x4269be===ht);_0x2cbde9!==-0x1&&_0x47f89d[_0x4e436e(0x251)](_0x2cbde9,0x1);}_0x1ffd25(this[_0x4e436e(0x300)],_0x47f89d);}[_0x332b6f(0x31f)](){var _0x589f31=_0x332b6f,_0xb3fa36,_0x4a29f6,_0x232afa;this[_0x589f31(0x300)][_0x589f31(0x292)](_0x50e32e)[_0x589f31(0x38b)]({'priority':0x14,'interceptor':_0xae6792({'maxParallel':0x6})}),(_0xb3fa36=this[_0x589f31(0x155)])!=null&&_0xb3fa36[_0x589f31(0x2c7)]||(_0x4a29f6=this[_0x589f31(0x300)][_0x589f31(0x292)](J,_0x29eb6e[_0x589f31(0x367)]))==null||_0x4a29f6[_0x589f31(0x353)](),(_0x232afa=this[_0x589f31(0x155)])!=null&&_0x232afa[_0x589f31(0x30b)]&&_0x378797(this['_injector'],[[rt]]),_0x378797(this[_0x589f31(0x300)],[[at],[nt],[ot]]);}};fr(Nt,_0x332b6f(0x1d4),vr),Nt=dr([_0x3acfc(_0x1b9b89,_0x469f08),mt(0x1,_0x2ee83c),mt(0x2,_0x5e1e11(_0x226671)),mt(0x3,_0x5747ff)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x2c12ee=_0x12ec;(function(_0x175a58,_0x2f114e){var _0x5dd113=_0x12ec,_0x7cd33c=_0x175a58();while(!![]){try{var _0x5a2fb2=parseInt(_0x5dd113(0x364))/0x1+parseInt(_0x5dd113(0x33c))/0x2+-parseInt(_0x5dd113(0x44b))/0x3+-parseInt(_0x5dd113(0x30c))/0x4*(parseInt(_0x5dd113(0x307))/0x5)+parseInt(_0x5dd113(0x4af))/0x6*(-parseInt(_0x5dd113(0x2d3))/0x7)+-parseInt(_0x5dd113(0x387))/0x8*(parseInt(_0x5dd113(0x45b))/0x9)+-parseInt(_0x5dd113(0x2c3))/0xa*(-parseInt(_0x5dd113(0x3b0))/0xb);if(_0x5a2fb2===_0x2f114e)break;else _0x7cd33c['push'](_0x7cd33c['shift']());}catch(_0x4bb618){_0x7cd33c['push'](_0x7cd33c['shift']());}}}(_0x5c55,0xafff9));var Di=Object[_0x2c12ee(0x433)],Ui=(_0x1bab05,_0x422f14,_0x1707a3)=>_0x422f14 in _0x1bab05?Di(_0x1bab05,_0x422f14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1707a3}):_0x1bab05[_0x422f14]=_0x1707a3,N=(_0x495eb0,_0x21fa38,_0x5cec65)=>Ui(_0x495eb0,typeof _0x21fa38!=_0x2c12ee(0x3b9)?_0x21fa38+'':_0x21fa38,_0x5cec65);import{createIdentifier as _0x3eabc2,Inject as _0x453b21,Injector as _0x541c80,IConfigService as _0x2e403e,ILogService as _0x307004,Disposable as _0x553f3d,DisposableCollection as _0xdf3fb6,toDisposable as _0x5bb2f3,IUniverInstanceService as _0xf2d159,UserManagerService as _0x215a55,UniverInstanceType as _0x3fcee3,LocaleService as _0x3ae82e,Optional as _0x3a8ca8,RxDisposable as _0x406001,Tools as _0x3cf581,Rectangle as _0x51c992,ICommandService as _0x7e038c,JSONX as _0x1de03c,CommandType as _0xad6b7,IUndoRedoService as _0x1912eb,IPermissionService as _0x1cc61e,sequenceExecute as _0x315c3e,Workbook as _0x38f2af,MentionType as _0x4cef34,isInternalEditorID as _0x3391fe,LocalUndoRedoService as _0x255859,IContextService as _0x3e284e,DependentOn as _0x4dadec,Plugin as _0x3c2e3e,merge as _0x54cb14,mergeOverrideWithDependencies as _0x3480dd,IAuthzIoService as _0x5ca3c3,IMentionIOService as _0x4e4bc4,registerDependencies as _0x4ddf62,Quantity as _0x38d873,touchDependencies as _0x1fcd1a}from'@univerjs/core';import{Subject as _0x45fb15,merge as _0x4f40c3,of as _0x4ddcb0,BehaviorSubject as _0xefb925,takeUntil as _0x56722c,ReplaySubject as _0x1b3a4f,take as _0x309cfb,map as _0x5bc6ce,shareReplay as _0x3fd227,firstValueFrom as _0x413d7a,concatMap as _0x497e81}from'rxjs';import{map as _0x11ece9,take as _0x2017a4,filter as _0x3cc0bf,delay as _0x470285,takeUntil as _0x33a5ca}from'rxjs/operators';import{CollaborationEvent as _0x36e28b,ISnapshotServerService as _0x3e16a1,parseChangesetToProtocol as _0x51217d,ITransformService as _0x46e7de,isTransformMutationsWithChangesetSuccess as _0x55e498,mapDocumentTypeToUniverType as _0x108970,RevisionService as _0x3a1c35,isTransformChangesetsSuccess as _0x41c9bb,CompressMutationService as _0x2e0943,parseProtocolChangeset as _0x62bc33,uuidv4 as _0x30fa0a,SnapshotService as _0x54a1f8,textEncoder as _0x1435e5,b64DecodeUnicode as _0x23a7ad,isTransformMutationsWithChangesetFailure as _0x47a6f6,UniverCollaborationPlugin as _0x5958f0}from'@univerjs-pro/collaboration';import{HTTPService as _0x51fdde,ISocketService as _0xa473a9,MergeInterceptorFactory as _0x525110,HTTPRequest as _0x5bcebe,UniverNetworkPlugin as _0x31cb43,ThresholdInterceptorFactory as _0x83843f}from'@univerjs/network';import{ITelemetryService as _0x5acef9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2cd46a}from'@univerjs/docs';import{SheetsSelectionsService as _0x39cc7f,SetSelectionsOperation as _0x9ecafb,InsertSheetMutation as _0x1f2493,EmptyMutation as _0x1b16a3,WorkbookEditablePermission as _0x1884a7,SheetPermissionInitController as _0x5ac012}from'@univerjs/sheets';import{ImageSourceType as _0x30e5ea,ImageUploadStatusType as _0x5bccb5,IImageIoService as _0x2b9709}from'@univerjs/drawing';import{getGlobalObject as _0x29c5e8}from'@univerjs-pro/license';const fs=_0x2c12ee(0x415),vs=_0x2c12ee(0x1fb),ps=_0x2c12ee(0x319),yr=_0x2c12ee(0x343),ms=0x7d0,gs=_0x2c12ee(0x4bb),Ss=_0x2c12ee(0x272),Nr=_0x2c12ee(0x2a7),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi=_0x2c12ee(0x44c),vi=0x4e20,Ts=0x4e20,Cs=_0x2c12ee(0x422),Rs=0x3,Dr='LOCAL_CACHE_INTERVAL',Ur=0x3e8,Os='COLLAB_SUBMIT_CHANGESET_URL',bs=_0x2c12ee(0x314),ys='LOGIN_URL_KEY',Ns=_0x2c12ee(0x49a),Ar=_0x2c12ee(0x3ad),wr=_0x2c12ee(0x468);var pi=(_0x23916e=>(_0x23916e[_0x23916e[_0x2c12ee(0x2dc)]=0x0]=_0x2c12ee(0x2dc),_0x23916e[_0x23916e['OK']=0x1]='OK',_0x23916e[_0x23916e[_0x2c12ee(0x438)]=0x2]=_0x2c12ee(0x438),_0x23916e[_0x23916e[_0x2c12ee(0x376)]=0x3]=_0x2c12ee(0x376),_0x23916e[_0x23916e[_0x2c12ee(0x490)]=0x4]='NOT_FOUND',_0x23916e[_0x23916e[_0x2c12ee(0x4b6)]=0x5]=_0x2c12ee(0x4b6),_0x23916e[_0x23916e[_0x2c12ee(0x434)]=0x6]='ALREADY_EXISTS',_0x23916e[_0x23916e[_0x2c12ee(0x3dd)]=0x7]=_0x2c12ee(0x3dd),_0x23916e[_0x23916e['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x23916e[_0x23916e[_0x2c12ee(0x47e)]=0x9]=_0x2c12ee(0x47e),_0x23916e[_0x23916e[_0x2c12ee(0x3ab)]=0xa]=_0x2c12ee(0x3ab),_0x23916e[_0x23916e[_0x2c12ee(0x2f1)]=0xb]=_0x2c12ee(0x2f1),_0x23916e[_0x23916e[_0x2c12ee(0x236)]=0xc]=_0x2c12ee(0x236),_0x23916e[_0x23916e[_0x2c12ee(0x439)]=0xd]=_0x2c12ee(0x439),_0x23916e[_0x23916e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x23916e[_0x23916e[_0x2c12ee(0x41d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x23916e[_0x23916e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2c12ee(0x427),_0x23916e[_0x23916e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2c12ee(0x4b9),_0x23916e[_0x23916e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2c12ee(0x3f9),_0x23916e[_0x23916e[_0x2c12ee(0x255)]=0x1b59]=_0x2c12ee(0x255),_0x23916e[_0x23916e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2c12ee(0x3ce),_0x23916e[_0x23916e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2c12ee(0x1c0),_0x23916e[_0x23916e[_0x2c12ee(0x24d)]=0x1b5c]=_0x2c12ee(0x24d),_0x23916e[_0x23916e[_0x2c12ee(0x455)]=0x1b5d]=_0x2c12ee(0x455),_0x23916e[_0x23916e[_0x2c12ee(0x266)]=0x1f41]=_0x2c12ee(0x266),_0x23916e[_0x23916e[_0x2c12ee(0x240)]=0x2329]=_0x2c12ee(0x240),_0x23916e[_0x23916e[_0x2c12ee(0x454)]=0x232a]=_0x2c12ee(0x454),_0x23916e[_0x23916e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2c12ee(0x40e),_0x23916e[_0x23916e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x23916e[_0x23916e[_0x2c12ee(0x2cd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x23916e[_0x23916e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x23916e[_0x23916e[_0x2c12ee(0x4aa)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x23916e[_0x23916e[_0x2c12ee(0x34e)]=0x2713]=_0x2c12ee(0x34e),_0x23916e[_0x23916e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2c12ee(0x3a4),_0x23916e[_0x23916e[_0x2c12ee(0x410)]=0x271a]=_0x2c12ee(0x410),_0x23916e[_0x23916e[_0x2c12ee(0x231)]=0x271b]=_0x2c12ee(0x231),_0x23916e[_0x23916e[_0x2c12ee(0x483)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x23916e[_0x23916e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2c12ee(0x444),_0x23916e[_0x23916e[_0x2c12ee(0x399)]=0x271e]=_0x2c12ee(0x399),_0x23916e[_0x23916e[_0x2c12ee(0x32d)]=0x271f]=_0x2c12ee(0x32d),_0x23916e[_0x23916e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x23916e[_0x23916e[_0x2c12ee(0x243)]=0x2af9]=_0x2c12ee(0x243),_0x23916e[_0x23916e[_0x2c12ee(0x28d)]=0x2ee1]=_0x2c12ee(0x28d),_0x23916e[_0x23916e[_0x2c12ee(0x254)]=0x2ee2]=_0x2c12ee(0x254),_0x23916e[_0x23916e[_0x2c12ee(0x41f)]=0x2ee3]=_0x2c12ee(0x41f),_0x23916e[_0x23916e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2c12ee(0x271),_0x23916e[_0x23916e[_0x2c12ee(0x47a)]=0x2ee5]=_0x2c12ee(0x47a),_0x23916e[_0x23916e[_0x2c12ee(0x49d)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x23916e[_0x23916e[_0x2c12ee(0x24b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x23916e[_0x23916e[_0x2c12ee(0x3d1)]=0x32cb]=_0x2c12ee(0x3d1),_0x23916e[_0x23916e['UNRECOGNIZED']=-0x1]=_0x2c12ee(0x33d),_0x23916e))(pi||{}),Z=(_0x45ab46=>(_0x45ab46[_0x45ab46[_0x2c12ee(0x3a0)]=0x0]=_0x2c12ee(0x3a0),_0x45ab46[_0x45ab46[_0x2c12ee(0x3bd)]=0x1]=_0x2c12ee(0x3bd),_0x45ab46[_0x45ab46[_0x2c12ee(0x464)]=0x2]='UNIVER_SHEET',_0x45ab46[_0x45ab46[_0x2c12ee(0x1c6)]=0x3]=_0x2c12ee(0x1c6),_0x45ab46[_0x45ab46[_0x2c12ee(0x26e)]=0x4]=_0x2c12ee(0x26e),_0x45ab46[_0x45ab46[_0x2c12ee(0x33d)]=-0x1]=_0x2c12ee(0x33d),_0x45ab46))(Z||{}),F=(_0x27a920=>(_0x27a920[_0x27a920[_0x2c12ee(0x382)]=0x0]='UNKNOWN_CMD',_0x27a920[_0x27a920[_0x2c12ee(0x457)]=0x1]=_0x2c12ee(0x457),_0x27a920[_0x27a920[_0x2c12ee(0x4a1)]=0x2]=_0x2c12ee(0x4a1),_0x27a920[_0x27a920['LEAVE']=0x3]=_0x2c12ee(0x262),_0x27a920[_0x27a920[_0x2c12ee(0x4b4)]=0x4]=_0x2c12ee(0x4b4),_0x27a920[_0x27a920[_0x2c12ee(0x257)]=0x5]='HEARTBEAT',_0x27a920[_0x27a920['RECV']=0x6]=_0x2c12ee(0x3b7),_0x27a920[_0x27a920['UNRECOGNIZED']=-0x1]=_0x2c12ee(0x33d),_0x27a920))(F||{}),me=(_0x4cbf87=>(_0x4cbf87[_0x4cbf87[_0x2c12ee(0x3fc)]=0x0]=_0x2c12ee(0x3fc),_0x4cbf87[_0x4cbf87['OK']=0x1]='OK',_0x4cbf87[_0x4cbf87[_0x2c12ee(0x245)]=0x2]='FAIL',_0x4cbf87[_0x4cbf87[_0x2c12ee(0x41c)]=0x3e9]='JOIN_ROOM_FULL',_0x4cbf87[_0x4cbf87[_0x2c12ee(0x416)]=0x3ea]=_0x2c12ee(0x416),_0x4cbf87[_0x4cbf87['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2c12ee(0x1b7),_0x4cbf87[_0x4cbf87[_0x2c12ee(0x284)]=0x3ec]=_0x2c12ee(0x284),_0x4cbf87[_0x4cbf87[_0x2c12ee(0x33d)]=-0x1]=_0x2c12ee(0x33d),_0x4cbf87))(me||{}),mi=(_0x231e2a=>(_0x231e2a[_0x231e2a[_0x2c12ee(0x36d)]=0x0]=_0x2c12ee(0x36d),_0x231e2a[_0x231e2a[_0x2c12ee(0x48c)]=0x1]='HttpImport',_0x231e2a[_0x231e2a[_0x2c12ee(0x419)]=0x2]='HttpExport',_0x231e2a[_0x231e2a[_0x2c12ee(0x23d)]=0x3]=_0x2c12ee(0x23d),_0x231e2a[_0x231e2a[_0x2c12ee(0x2a4)]=0x4]=_0x2c12ee(0x2a4),_0x231e2a[_0x231e2a[_0x2c12ee(0x1ea)]=0x5]=_0x2c12ee(0x1ea),_0x231e2a[_0x231e2a['UNRECOGNIZED']=-0x1]=_0x2c12ee(0x33d),_0x231e2a))(mi||{});const K=_0x2c12ee(0x232),Ds={};var ne=(_0x4b49ca=>(_0x4b49ca[_0x2c12ee(0x389)]=_0x2c12ee(0x389),_0x4b49ca[_0x2c12ee(0x376)]='PERMISSION_DENIED',_0x4b49ca[_0x2c12ee(0x2fd)]='CONFLICT',_0x4b49ca[_0x2c12ee(0x268)]=_0x2c12ee(0x268),_0x4b49ca['JOIN_ROOM_FAILED']=_0x2c12ee(0x342),_0x4b49ca[_0x2c12ee(0x26f)]=_0x2c12ee(0x26f),_0x4b49ca[_0x2c12ee(0x370)]=_0x2c12ee(0x370),_0x4b49ca['SUBMIT_CHANGESET_TIMEOUT']=_0x2c12ee(0x335),_0x4b49ca))(ne||{});class ve{constructor(){var _0x38d282=_0x2c12ee;N(this,_0x38d282(0x401),new _0x45fb15()),N(this,_0x38d282(0x3a6),this['_event$'][_0x38d282(0x273)]());}[_0x2c12ee(0x20a)](_0x313663){var _0x2d9297=_0x2c12ee;this[_0x2d9297(0x401)][_0x2d9297(0x28e)](_0x313663);}}const Us=_0x3eabc2('univer-pro.collaboration-client.network-condition.service');function As(_0x313760){var _0x165ade=_0x2c12ee,_0x165c54,_0x4255c1,_0x5f2b92,_0x5ad190,_0xe6c688;const _0x233f83=_0x313760[_0x165ade(0x3d7)],_0x11f281=JSON['parse'](_0x233f83);switch(_0x11f281['cmd']){case F[_0x165ade(0x257)]:case F[_0x165ade(0x457)]:{const _0xd00136=_0x11f281[_0x165ade(0x1e7)];return{..._0x11f281,'data':_0xd00136,'cmd':_0x11f281['cmd']};}case F[_0x165ade(0x4a1)]:{const _0x1bb34b=_0x11f281['joinRsp'];return{..._0x11f281,'data':_0x1bb34b,'cmd':_0x11f281[_0x165ade(0x4a7)]};}case F[_0x165ade(0x3b7)]:{const _0xc773ee=_0x11f281[_0x165ade(0x3e0)];switch(_0xc773ee[_0x165ade(0x23b)]){case _0x36e28b[_0x165ade(0x339)]:return{..._0x11f281,'data':{..._0xc773ee,'data':(_0x165c54=_0xc773ee[_0x165ade(0x3eb)])==null?void 0x0:_0x165c54['cs']},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x351)]:return{..._0x11f281,'data':{..._0xc773ee,'data':(_0x4255c1=_0xc773ee[_0x165ade(0x42d)])==null?void 0x0:_0x4255c1['cs']},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x200)]:return{..._0x11f281,'data':{..._0xc773ee,'data':(_0x5f2b92=_0xc773ee[_0x165ade(0x224)])==null?void 0x0:_0x5f2b92['cs']},'cmd':_0x11f281['cmd']};case _0x36e28b['CHANGESET_REJ']:return{..._0x11f281,'data':{..._0xc773ee,'data':(_0x5ad190=_0xc773ee[_0x165ade(0x26c)])==null?void 0x0:_0x5ad190['cs']},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x1f1)]:return{..._0x11f281,'data':{..._0xc773ee,'data':(_0xe6c688=_0xc773ee['csShouldRetryEvent'])==null?void 0x0:_0xe6c688['cs']},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x495)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x283)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b['USERS_ENTER']:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x43a)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x320)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x324)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x1ce)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x2d1)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x1e3)]:case _0x36e28b[_0x165ade(0x289)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x221)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x377)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x2d1)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x260)]:return{..._0x11f281,'data':_0xc773ee,'cmd':_0x11f281['cmd']};case _0x36e28b[_0x165ade(0x340)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x256)]},'cmd':_0x11f281[_0x165ade(0x4a7)]};case _0x36e28b[_0x165ade(0x2e8)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x35b)]},'cmd':_0x11f281['cmd']};case _0x36e28b[_0x165ade(0x400)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x210)]},'cmd':_0x11f281['cmd']};case _0x36e28b[_0x165ade(0x3cc)]:return{..._0x11f281,'data':{..._0xc773ee,'data':_0xc773ee[_0x165ade(0x437)]},'cmd':_0x11f281['cmd']};default:return _0x11f281;}}default:return _0x11f281;}}function ws(_0xf6f598){var _0x33ce5e=_0x2c12ee;switch(_0xf6f598[_0x33ce5e(0x4a7)]){case F['HEARTBEAT']:case F[_0x33ce5e(0x457)]:return JSON[_0x33ce5e(0x205)]({'cmd':_0xf6f598[_0x33ce5e(0x4a7)],'routeKey':_0xf6f598[_0x33ce5e(0x1dc)]});case F[_0x33ce5e(0x4b4)]:{let _0x6d570e;switch(_0xf6f598[_0x33ce5e(0x3d7)]['eventID']){case _0x36e28b[_0x33ce5e(0x495)]:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x495)],'updateCursorEvent':_0xf6f598['data'][_0x33ce5e(0x3d7)]};break;}case _0x36e28b[_0x33ce5e(0x320)]:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x320)],'leaveEvent':_0xf6f598[_0x33ce5e(0x3d7)][_0x33ce5e(0x3d7)]};break;}case _0x36e28b[_0x33ce5e(0x413)]:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x413)],'joinEvent':_0xf6f598[_0x33ce5e(0x3d7)][_0x33ce5e(0x3d7)]};break;}case _0x36e28b['LIVESHARE_NEW_HOST']:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x1ce)],'liveShareNewHost':_0xf6f598[_0x33ce5e(0x3d7)]['data']};break;}case _0x36e28b[_0x33ce5e(0x289)]:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x289)],'liveShareOperation':_0xf6f598[_0x33ce5e(0x3d7)][_0x33ce5e(0x3d7)]};break;}case _0x36e28b[_0x33ce5e(0x377)]:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x377)],'liveShareTerminate':_0xf6f598[_0x33ce5e(0x3d7)][_0x33ce5e(0x3d7)]};break;}case _0x36e28b[_0x33ce5e(0x37f)]:{_0x6d570e={'eventID':_0x36e28b[_0x33ce5e(0x37f)],'liveShareRequestHost':_0xf6f598[_0x33ce5e(0x3d7)][_0x33ce5e(0x3d7)]};break;}case _0x36e28b[_0x33ce5e(0x1e3)]:{_0x6d570e={'eventID':_0x36e28b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x6d570e={'eventID':_0xf6f598[_0x33ce5e(0x3d7)][_0x33ce5e(0x23b)]};}return JSON[_0x33ce5e(0x205)]({'cmd':_0xf6f598[_0x33ce5e(0x4a7)],'routeKey':_0xf6f598[_0x33ce5e(0x1dc)],'collaMsg':_0x6d570e});}case F[_0x33ce5e(0x4a1)]:return JSON[_0x33ce5e(0x205)]({'cmd':_0xf6f598[_0x33ce5e(0x4a7)],'routeKey':_0xf6f598[_0x33ce5e(0x1dc)],'joinReq':_0xf6f598[_0x33ce5e(0x3d7)]});case F[_0x33ce5e(0x262)]:return JSON[_0x33ce5e(0x205)]({'cmd':_0xf6f598[_0x33ce5e(0x4a7)],'routeKey':_0xf6f598[_0x33ce5e(0x1dc)],'leaveReq':_0xf6f598[_0x33ce5e(0x3d7)]});default:throw new Error(_0x33ce5e(0x3c6));}}var Ps=Object[_0x2c12ee(0x461)],Ls=(_0x55e637,_0x69fb01,_0x58bc79,_0x3593f1)=>{var _0x55a62d=_0x2c12ee;for(var _0x1bf028=_0x3593f1>0x1?void 0x0:_0x3593f1?Ps(_0x69fb01,_0x58bc79):_0x69fb01,_0x239868=_0x55e637[_0x55a62d(0x33e)]-0x1,_0x333fce;_0x239868>=0x0;_0x239868--)(_0x333fce=_0x55e637[_0x239868])&&(_0x1bf028=_0x333fce(_0x1bf028)||_0x1bf028);return _0x1bf028;},Ue=(_0x4b4175,_0x5a742d)=>(_0x51e991,_0x2ddc34)=>_0x5a742d(_0x51e991,_0x2ddc34,_0x4b4175);const gi=_0x3eabc2(_0x2c12ee(0x491));function Ms(_0x39221c,_0x37f0ed,_0x70f0f9){var _0x3c6176=_0x2c12ee;return _0x39221c+'/'+_0x37f0ed+_0x3c6176(0x472)+_0x70f0f9+_0x3c6176(0x368);}let Ft=class extends _0x553f3d{constructor(_0x224b88,_0x3563c1,_0x1bd0cf,_0x56e9a5,_0xe40f5a){var _0x326ac0=_0x2c12ee;super(),this[_0x326ac0(0x3b3)]=_0x224b88,this['_httpService']=_0x3563c1,this['_configService']=_0x1bd0cf,this[_0x326ac0(0x391)]=_0x56e9a5,this[_0x326ac0(0x37d)]=_0xe40f5a;}[_0x2c12ee(0x35c)](_0xebe728){var _0x23f1c8=_0x2c12ee;const _0x48c119=this[_0x23f1c8(0x3b3)][_0x23f1c8(0x279)](_0xa473a9);if(!_0x48c119)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4e8609=_0x48c119[_0x23f1c8(0x2f3)](_0xebe728);if(!_0x4e8609)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x56e729=new _0xdf3fb6(),_0x493ac0=new _0x45fb15();_0x56e729[_0x23f1c8(0x48b)](_0x4e8609[_0x23f1c8(0x3ae)][_0x23f1c8(0x281)](_0x224d7a=>_0x493ac0[_0x23f1c8(0x28e)](_0x224d7a))),_0x56e729[_0x23f1c8(0x48b)](_0x5bb2f3(()=>_0x493ac0[_0x23f1c8(0x476)]()));const _0x2be292=new _0x45fb15();_0x56e729[_0x23f1c8(0x48b)](_0x4e8609[_0x23f1c8(0x1eb)][_0x23f1c8(0x281)](_0x3f3f7b=>_0x2be292[_0x23f1c8(0x28e)](_0x3f3f7b))),_0x56e729[_0x23f1c8(0x48b)](_0x5bb2f3(()=>_0x2be292[_0x23f1c8(0x476)]()));const _0x2bf628=new _0x45fb15();_0x56e729[_0x23f1c8(0x48b)](_0x4e8609[_0x23f1c8(0x1b8)][_0x23f1c8(0x281)](_0x288d91=>{const _0x598a40=As(_0x288d91);_0x2bf628['next'](_0x598a40);})),_0x56e729[_0x23f1c8(0x48b)](_0x5bb2f3(()=>_0x2bf628['complete']()));let _0x2aabd9;const _0x3b89ec=()=>{var _0x4fd16b=_0x23f1c8;_0x2be292[_0x4fd16b(0x28e)](new Event(_0x4fd16b(0x42b))),_0x493ac0[_0x4fd16b(0x28e)](new Event(_0x4fd16b(0x42b))),_0x2aabd9['close']();};return _0x2aabd9={'memberID':'','close$':_0x493ac0[_0x23f1c8(0x273)](),'error$':_0x2be292[_0x23f1c8(0x273)](),'open$':_0x4e8609[_0x23f1c8(0x436)],'message$':_0x2bf628[_0x23f1c8(0x273)](),'send':_0x270e2d=>{var _0x399f4b=_0x23f1c8;if(_0x270e2d['cmd']===F[_0x399f4b(0x4b4)]){if(_0x270e2d[_0x399f4b(0x3d7)][_0x399f4b(0x23b)]===_0x36e28b[_0x399f4b(0x1f2)]){this[_0x399f4b(0x2b1)](_0x2aabd9,_0x270e2d[_0x399f4b(0x3d7)])[_0x399f4b(0x3ba)](_0x1bfdc3=>{var _0x2674de=_0x399f4b;this['_logService'][_0x2674de(0x334)](_0x1bfdc3),_0x3b89ec();});return;}if(_0x270e2d['data'][_0x399f4b(0x23b)]===_0x36e28b[_0x399f4b(0x1db)]){const _0x2d4e1e=_0x270e2d[_0x399f4b(0x3d7)];this[_0x399f4b(0x3c0)](_0x2d4e1e)[_0x399f4b(0x4b8)](_0x93426a=>{var _0x2d1262=_0x399f4b;_0x2bf628[_0x2d1262(0x28e)]({'cmd':F[_0x2d1262(0x3b7)],'code':me['OK'],'routeKey':_0x2d4e1e[_0x2d1262(0x3d7)]['unitID'],'routeType':'','data':{'eventID':_0x36e28b[_0x2d1262(0x2ad)],'data':{'changesets':_0x93426a}}});})[_0x399f4b(0x3ba)](_0x82724a=>{var _0x3a2562=_0x399f4b;this[_0x3a2562(0x391)][_0x3a2562(0x334)](_0x82724a),_0x3b89ec();});return;}}_0x4e8609[_0x399f4b(0x487)](ws(_0x270e2d));},'close':()=>{var _0x354e71=_0x23f1c8;_0x4e8609['close'](),_0x56e729[_0x354e71(0x469)]();}},_0x2aabd9;}async[_0x2c12ee(0x2b1)](_0x2efd7a,_0x3740b5){var _0x12e1b6=_0x2c12ee,_0x3f325a,_0x29612b;const {unitType:_0xa6c5f6,unitID:_0x17f4ba,changeset:_0x14d4a0}=_0x3740b5[_0x12e1b6(0x3d7)],_0x2487ed={'unitID':_0x17f4ba,'memberID':_0x2efd7a[_0x12e1b6(0x393)],'type':_0xa6c5f6,'changeset':_0x51217d(_0x14d4a0)},_0x29956c=this[_0x12e1b6(0x274)][_0x12e1b6(0x3e2)](Os),_0x201240=this[_0x12e1b6(0x274)][_0x12e1b6(0x3e2)](K),_0x41f537=Ms((_0x29612b=(_0x3f325a=_0x201240==null?void 0x0:_0x201240[_0x12e1b6(0x4b5)])!=null?_0x3f325a:_0x29956c)!=null?_0x29612b:bs,_0xa6c5f6,_0x17f4ba);try{await this[_0x12e1b6(0x392)][_0x12e1b6(0x40d)](_0x41f537,{'body':_0x2487ed});}catch(_0x3935e0){throw this[_0x12e1b6(0x391)]['error'](_0x12e1b6(0x242),_0x12e1b6(0x311)),_0x3935e0;}}async[_0x2c12ee(0x3c0)](_0xd39cc8){var _0x27ae75=_0x2c12ee;const {unitID:_0x4ced8c,from:_0x41a99b,to:_0xd0c0ed,unitType:_0x5b9825}=_0xd39cc8[_0x27ae75(0x3d7)];return(await this[_0x27ae75(0x37d)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4ced8c,'type':_0x5b9825,'from':_0x41a99b,'to':_0xd0c0ed}))[_0x27ae75(0x1da)];}};Ft=Ls([Ue(0x0,_0x453b21(_0x541c80)),Ue(0x1,_0x453b21(_0x51fdde)),Ue(0x2,_0x2e403e),Ue(0x3,_0x307004),Ue(0x4,_0x3e16a1)],Ft);const xs='collaboration_new_changeset';function ks(_0x1cb635){var _0x2ec969=_0x2c12ee;return JSON[_0x2ec969(0x205)](_0x1cb635)['length'];}class Si{constructor(){var _0x35ab70=_0x2c12ee;N(this,_0x35ab70(0x3d3),new _0x45fb15()),N(this,_0x35ab70(0x288),this['_commentUpdate$'][_0x35ab70(0x273)]());}[_0x2c12ee(0x2e3)](_0x5d03f4){var _0x4751a1=_0x2c12ee;this[_0x4751a1(0x3d3)]['next'](_0x5d03f4);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x286c6a,_0x58b4b1,_0x381653,_0x34d328)=>{var _0x54d79d=_0x2c12ee;for(var _0x47a998=_0x34d328>0x1?void 0x0:_0x34d328?$s(_0x58b4b1,_0x381653):_0x58b4b1,_0x4ef092=_0x286c6a[_0x54d79d(0x33e)]-0x1,_0x438580;_0x4ef092>=0x0;_0x4ef092--)(_0x438580=_0x286c6a[_0x4ef092])&&(_0x47a998=_0x438580(_0x47a998)||_0x47a998);return _0x47a998;},Vt=(_0x5bdcb4,_0x588cb0)=>(_0x3cb17d,_0x14fb4d)=>_0x588cb0(_0x3cb17d,_0x14fb4d,_0x5bdcb4);let Pe=class extends _0x553f3d{constructor(_0x38605b,_0x7c8d32){var _0x17d54c=_0x2c12ee;super(),N(this,_0x17d54c(0x1fe),new Map()),N(this,_0x17d54c(0x207),new _0x45fb15()),(this[_0x17d54c(0x3cd)]=_0x38605b,this[_0x17d54c(0x212)]=_0x7c8d32,this[_0x17d54c(0x2b6)](_0x4f40c3(this[_0x17d54c(0x3cd)]['getTypeOfUnitDisposed$'](_0x3fcee3[_0x17d54c(0x464)])[_0x17d54c(0x1ff)](_0x11ece9(_0x36f6e5=>_0x36f6e5['getUnitId']())),this['_univerInstanceService'][_0x17d54c(0x465)](_0x3fcee3['UNIVER_DOC'])[_0x17d54c(0x1ff)](_0x11ece9(_0x186f68=>_0x186f68[_0x17d54c(0x3ed)]())),this[_0x17d54c(0x3cd)]['getTypeOfUnitDisposed$'](_0x3fcee3['UNIVER_SLIDE'])[_0x17d54c(0x1ff)](_0x11ece9(_0x47fcca=>_0x47fcca['getUnitId']())))[_0x17d54c(0x281)](_0x2d3136=>this[_0x17d54c(0x2e0)](_0x2d3136))));}['waitForRoom$'](_0x110696){var _0x1a6c31=_0x2c12ee;return this['_roomMembers']['has'](_0x110696)?_0x4ddcb0(this[_0x1a6c31(0x1fe)]['get'](_0x110696)):this['_roomCreated$'][_0x1a6c31(0x1ff)](_0x11ece9(_0x2987bd=>{var _0x2e0d47=_0x1a6c31;if(_0x2987bd===_0x110696)return this[_0x2e0d47(0x1fe)]['get'](_0x2987bd);}));}[_0x2c12ee(0x2d8)](_0x1226d2){this['_userManagerService']['setCurrentUser'](_0x1226d2);}['getCurrentUser'](){var _0x11fed3=_0x2c12ee;return this[_0x11fed3(0x212)][_0x11fed3(0x1d1)]();}[_0x2c12ee(0x2bb)](_0x7918,_0x42ef78){var _0x17f7cc=_0x2c12ee;let _0x27169a=this[_0x17f7cc(0x1fe)]['get'](_0x7918);_0x27169a||(_0x27169a=new Bs(),this[_0x17f7cc(0x1fe)][_0x17f7cc(0x25c)](_0x7918,_0x27169a),this['_roomCreated$'][_0x17f7cc(0x28e)](_0x7918)),_0x27169a[_0x17f7cc(0x2bb)](_0x42ef78);}[_0x2c12ee(0x35a)](_0x8aa65,_0x59a38c){var _0x4c307c=_0x2c12ee;const _0x2b0cb3=this[_0x4c307c(0x1fe)][_0x4c307c(0x279)](_0x8aa65);_0x2b0cb3&&_0x2b0cb3['removeMember'](_0x59a38c);}[_0x2c12ee(0x48a)](_0x450c84){var _0x2bc847=_0x2c12ee;return this[_0x2bc847(0x1fe)][_0x2bc847(0x279)](_0x450c84);}['getMember'](_0x5da607,_0x599b99){var _0x27b253=_0x2c12ee;const _0x4fa41d=this[_0x27b253(0x1fe)][_0x27b253(0x279)](_0x5da607);if(_0x4fa41d)return _0x4fa41d['getMember'](_0x599b99);}['_removeRoom'](_0x3ac217){var _0x53d846=_0x2c12ee;const _0x5b5d5b=this['_roomMembers']['get'](_0x3ac217);_0x5b5d5b&&(_0x5b5d5b[_0x53d846(0x469)](),this[_0x53d846(0x1fe)][_0x53d846(0x473)](_0x3ac217));}[_0x2c12ee(0x469)](){var _0x4a6a3e=_0x2c12ee;this[_0x4a6a3e(0x1fe)][_0x4a6a3e(0x486)](_0x8a63d8=>_0x8a63d8['dispose']()),this[_0x4a6a3e(0x1fe)]['clear'](),this[_0x4a6a3e(0x207)]['complete']();}};Pe=Hs([Vt(0x0,_0xf2d159),Vt(0x1,_0x453b21(_0x215a55))],Pe);class Bs extends _0x553f3d{constructor(){var _0x527563=_0x2c12ee;super(...arguments),N(this,_0x527563(0x20e),new Map()),N(this,_0x527563(0x39b),new _0xefb925(this[_0x527563(0x20e)])),N(this,_0x527563(0x36a),this['_members$']['asObservable']());}[_0x2c12ee(0x469)](){var _0x2050f9=_0x2c12ee;this[_0x2050f9(0x20e)][_0x2050f9(0x346)]();}[_0x2c12ee(0x2bb)](_0x4fda4f){var _0x50de53=_0x2c12ee;this[_0x50de53(0x20e)][_0x50de53(0x25c)](_0x4fda4f['memberID'],_0x4fda4f),this[_0x50de53(0x1f6)]();}[_0x2c12ee(0x35a)](_0x57c7a6){this['_members']['delete'](_0x57c7a6);}['getMember'](_0x49d4a2){var _0x2002b0=_0x2c12ee;return this[_0x2002b0(0x20e)][_0x2002b0(0x279)](_0x49d4a2);}[_0x2c12ee(0x423)](){var _0x54071f=_0x2c12ee;return Array[_0x54071f(0x46b)](this[_0x54071f(0x20e)][_0x54071f(0x237)]());}[_0x2c12ee(0x1f6)](){var _0x224895=_0x2c12ee;this[_0x224895(0x39b)][_0x224895(0x28e)](this['_members']);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x286656,_0x3c4733,_0x5bdd52,_0xcb85f0)=>{for(var _0x116c68=_0xcb85f0>0x1?void 0x0:_0xcb85f0?js(_0x3c4733,_0x5bdd52):_0x3c4733,_0x309cce=_0x286656['length']-0x1,_0x5494ea;_0x309cce>=0x0;_0x309cce--)(_0x5494ea=_0x286656[_0x309cce])&&(_0x116c68=_0x5494ea(_0x116c68)||_0x116c68);return _0x116c68;},pe=(_0x19494a,_0x3e9fb5)=>(_0x16def6,_0x5ab929)=>_0x3e9fb5(_0x16def6,_0x5ab929,_0x19494a),Se=(_0x4dc499=>(_0x4dc499[_0x4dc499[_0x2c12ee(0x2be)]=0x0]=_0x2c12ee(0x2be),_0x4dc499[_0x4dc499[_0x2c12ee(0x1e4)]=0x1]=_0x2c12ee(0x1e4),_0x4dc499[_0x4dc499['OFFLINE']=0x2]=_0x2c12ee(0x226),_0x4dc499[_0x4dc499[_0x2c12ee(0x3fa)]=0x3]=_0x2c12ee(0x3fa),_0x4dc499))(Se||{});const Gt={[me['FAIL']]:_0x2c12ee(0x43c),[me[_0x2c12ee(0x41c)]]:_0x2c12ee(0x2ec),[me['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0x2c12ee(0x284)]]:'session.room-cnt-exceeds'};let gt=class extends _0x406001{constructor(_0x499bbb,_0x3fd839,_0x1c1925,_0x16bb3b,_0x2f8da0,_0x3109fa,_0x2afc69,_0x51603b,_0x1b2de8){var _0x4fc201=_0x2c12ee;super(),N(this,_0x4fc201(0x299),new _0xefb925(0x0)),N(this,'sessionStatus$',this[_0x4fc201(0x299)][_0x4fc201(0x273)]()),N(this,_0x4fc201(0x401),new _0x45fb15()),N(this,_0x4fc201(0x3a6),this[_0x4fc201(0x401)][_0x4fc201(0x273)]()),N(this,_0x4fc201(0x308)),N(this,_0x4fc201(0x2de)),N(this,_0x4fc201(0x2d5)),N(this,_0x4fc201(0x22a),!0x1),N(this,_0x4fc201(0x477),null),(this[_0x4fc201(0x3fe)]=_0x499bbb,this[_0x4fc201(0x391)]=_0x1c1925,this['_configService']=_0x16bb3b,this['_localeService']=_0x2f8da0,this['_memberService']=_0x3109fa,this['_commentService']=_0x2afc69,this[_0x4fc201(0x467)]=_0x51603b,this[_0x4fc201(0x315)]=_0x1b2de8,this['_shouldReportTelemetry']=!!this[_0x4fc201(0x315)],_0x3fd839[_0x4fc201(0x1ff)](_0x56722c(this['dispose$']))['subscribe'](_0x480c6f=>{var _0x7248cb=_0x4fc201,_0x26e6d9;typeof _0x480c6f>'u'||(this[_0x7248cb(0x308)]=_0x480c6f,_0x480c6f?(this[_0x7248cb(0x381)](_0x480c6f),this['_socketMessageSubscription']=_0x480c6f['message$'][_0x7248cb(0x281)](_0xd07ae9=>{var _0x6a3b5f=_0x7248cb;_0xd07ae9[_0x6a3b5f(0x1dc)]===this['_unitID']&&this['_onCombEvent'](_0xd07ae9);})):(this[_0x7248cb(0x286)](),this['_sessionStatus$'][_0x7248cb(0x28e)](0x2),(_0x26e6d9=this[_0x7248cb(0x2de)])==null||_0x26e6d9[_0x7248cb(0x2bd)](),this[_0x7248cb(0x2de)]=null));}));}get[_0x2c12ee(0x1cf)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x567f34=_0x2c12ee,_0x419314,_0x456952;return(_0x456952=(_0x419314=this['_socket'])==null?void 0x0:_0x419314[_0x567f34(0x393)])!=null?_0x456952:null;}['dispose'](){var _0x1b6133=_0x2c12ee;super[_0x1b6133(0x469)](),this[_0x1b6133(0x354)][_0x1b6133(0x28e)](),this['dispose$'][_0x1b6133(0x476)]();}[_0x2c12ee(0x230)](){var _0x235012=_0x2c12ee,_0x525d09,_0x5ccded;this[_0x235012(0x286)](),(_0x525d09=this[_0x235012(0x308)])==null||_0x525d09[_0x235012(0x487)]({'cmd':F[_0x235012(0x262)],'data':{'roomID':this[_0x235012(0x3fe)]}}),(_0x5ccded=this[_0x235012(0x308)])==null||_0x5ccded['close'](),this['_event$'][_0x235012(0x476)](),this[_0x235012(0x299)][_0x235012(0x476)](),this[_0x235012(0x469)]();}[_0x2c12ee(0x341)](_0x39a5b4){var _0x14ea16=_0x2c12ee;_0x39a5b4[_0x14ea16(0x4a7)]===F[_0x14ea16(0x4a1)]?this['_onJoinRoomEvent'](_0x39a5b4):_0x39a5b4[_0x14ea16(0x4a7)]===F[_0x14ea16(0x3b7)]&&this[_0x14ea16(0x4b0)](_0x39a5b4);}[_0x2c12ee(0x381)](_0x4329aa){var _0x92871c=_0x2c12ee;this[_0x92871c(0x299)]['next'](0x1),_0x4329aa['send']({'cmd':F['JOIN'],'routeKey':this[_0x92871c(0x3fe)],'routeType':'','data':{'rooms':[{'roomID':this[_0x92871c(0x3fe)]}]}});}[_0x2c12ee(0x3f8)](_0x1af7d0){var _0x4e654a=_0x2c12ee,_0xe95f81;if(_0x1af7d0[_0x4e654a(0x2f8)]in Gt){this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x4e654a(0x342)],'data':Gt[_0x1af7d0[_0x4e654a(0x2f8)]]}),this[_0x4e654a(0x299)][_0x4e654a(0x28e)](0x2);return;}this[_0x4e654a(0x299)]['next'](0x3);const _0x19e8b7=(_0xe95f81=_0x1af7d0[_0x4e654a(0x3d7)]['roomInfos'][this[_0x4e654a(0x3fe)]])==null?void 0x0:_0xe95f81[_0x4e654a(0x28a)];_0x19e8b7&&_0x19e8b7[_0x4e654a(0x486)](_0x1f4afb=>this[_0x4e654a(0x447)][_0x4e654a(0x2bb)](this[_0x4e654a(0x3fe)],_0x1f4afb));}[_0x2c12ee(0x4b0)](_0x3d0d41){var _0x3e00be=_0x2c12ee;try{const _0x3b193b=_0x3d0d41[_0x3e00be(0x3d7)];switch(_0x3b193b['eventID']){case _0x36e28b[_0x3e00be(0x413)]:this['_onUserJoin'](_0x3b193b),this[_0x3e00be(0x401)][_0x3e00be(0x28e)](_0x3b193b);break;case _0x36e28b[_0x3e00be(0x320)]:this[_0x3e00be(0x1e0)](_0x3b193b),this[_0x3e00be(0x401)][_0x3e00be(0x28e)](_0x3b193b);break;case _0x36e28b[_0x3e00be(0x351)]:case _0x36e28b[_0x3e00be(0x1f1)]:this[_0x3e00be(0x355)](),this[_0x3e00be(0x303)](),this[_0x3e00be(0x401)]['next'](_0x3b193b);break;case _0x36e28b['MSG_FOR_ERROR']:this['_logService'][_0x3e00be(0x334)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3e00be(0x205)](_0x3b193b)),this[_0x3e00be(0x401)][_0x3e00be(0x28e)](_0x3b193b);break;case _0x36e28b[_0x3e00be(0x340)]:this[_0x3e00be(0x26a)][_0x3e00be(0x2e3)](_0x3b193b[_0x3e00be(0x3d7)]),this[_0x3e00be(0x401)][_0x3e00be(0x28e)](_0x3b193b);break;default:this[_0x3e00be(0x401)]['next'](_0x3b193b);}}catch(_0x7bf510){this[_0x3e00be(0x391)]['error'](_0x7bf510,_0x3d0d41);}}[_0x2c12ee(0x2df)](_0x126542){var _0x10ec4b=_0x2c12ee;this[_0x10ec4b(0x447)][_0x10ec4b(0x2bb)](this[_0x10ec4b(0x3fe)],_0x126542[_0x10ec4b(0x3d7)]);}[_0x2c12ee(0x1e0)](_0x2ae565){var _0x1f64d2=_0x2c12ee;this[_0x1f64d2(0x447)]['removeMember'](this[_0x1f64d2(0x3fe)],_0x2ae565[_0x1f64d2(0x3d7)][_0x1f64d2(0x393)]);}async[_0x2c12ee(0x487)](_0x377fa5,_0xe1c6c1){var _0x38f886=_0x2c12ee;if(this[_0x38f886(0x1cf)]!==0x3||!this[_0x38f886(0x308)])throw new Error(_0x38f886(0x47c));try{_0x377fa5[_0x38f886(0x23b)]===_0x36e28b[_0x38f886(0x1f2)]&&(this[_0x38f886(0x451)](),this[_0x38f886(0x496)](_0x377fa5)),this['_socket']['send']({'cmd':F[_0x38f886(0x4b4)],'routeKey':_0xe1c6c1,'routeType':'','data':_0x377fa5});}catch(_0x216bd4){this['_logService'][_0x38f886(0x334)](_0x216bd4);}}[_0x2c12ee(0x451)](){var _0x24fb0a=_0x2c12ee,_0x228683;this[_0x24fb0a(0x2d5)]=setTimeout(()=>{var _0x301ef4=_0x24fb0a;this['_collaborationTimeoutTimer']=null,this[_0x301ef4(0x467)]['emitEvent']({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x228683=this[_0x24fb0a(0x274)]['getConfig'](fi))!=null?_0x228683:vi);}[_0x2c12ee(0x303)](){var _0x3791ca=_0x2c12ee;this[_0x3791ca(0x2d5)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3791ca(0x2d5)]=null);}[_0x2c12ee(0x496)](_0x474dec){var _0x61bc7c=_0x2c12ee;if(!this[_0x61bc7c(0x22a)])return;const {data:_0x1de60c}=_0x474dec,{unitID:_0x331ead,changeset:_0x3058c6}=_0x1de60c,{mutations:_0x59367e,type:_0x143b3a}=_0x3058c6;this[_0x61bc7c(0x477)]={'unitId':_0x331ead,'type':_0x143b3a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x59367e)};}[_0x2c12ee(0x355)](){var _0x21b0f4=_0x2c12ee;if(this[_0x21b0f4(0x22a)]){if(!this[_0x21b0f4(0x477)]){this[_0x21b0f4(0x391)][_0x21b0f4(0x334)](_0x21b0f4(0x242),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x21b0f4(0x2c7)]=performance[_0x21b0f4(0x390)](),this['_telemetryInfo']['duration']=this[_0x21b0f4(0x477)][_0x21b0f4(0x2c7)]-this[_0x21b0f4(0x477)]['startTime'],this[_0x21b0f4(0x315)][_0x21b0f4(0x3f0)](xs,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x2c12ee(0x286)](){var _0x8420ae=_0x2c12ee;this[_0x8420ae(0x477)]=null;}};gt=Fs([pe(0x2,_0x307004),pe(0x3,_0x2e403e),pe(0x4,_0x453b21(_0x3ae82e)),pe(0x5,_0x453b21(Pe)),pe(0x6,_0x453b21(Si)),pe(0x7,_0x453b21(ve)),pe(0x8,_0x3a8ca8(_0x5acef9))],gt);var Vs=Object[_0x2c12ee(0x461)],Gs=(_0x4ce33f,_0x4793a0,_0x905b8b,_0x14b605)=>{var _0x3cf90f=_0x2c12ee;for(var _0x2c1ae2=_0x14b605>0x1?void 0x0:_0x14b605?Vs(_0x4793a0,_0x905b8b):_0x4793a0,_0x32de05=_0x4ce33f[_0x3cf90f(0x33e)]-0x1,_0x551bba;_0x32de05>=0x0;_0x32de05--)(_0x551bba=_0x4ce33f[_0x32de05])&&(_0x2c1ae2=_0x551bba(_0x2c1ae2)||_0x2c1ae2);return _0x2c1ae2;},Re=(_0x314415,_0x286547)=>(_0x21a00e,_0x17d2f2)=>_0x286547(_0x21a00e,_0x17d2f2,_0x314415);let Le=class extends _0x553f3d{constructor(_0x43d507,_0x2f4e80,_0x11c258,_0x385cd7,_0x51b8d6,_0x62b2dc){var _0x434e25=_0x2c12ee;super(),N(this,'_socket$',new _0xefb925(void 0x0)),N(this,'socket$',this[_0x434e25(0x208)][_0x434e25(0x273)]()),N(this,_0x434e25(0x28c),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0xefb925(Se['IDLE'])),N(this,_0x434e25(0x2fb),this[_0x434e25(0x360)][_0x434e25(0x273)]()),N(this,_0x434e25(0x2ed),!0x1),N(this,_0x434e25(0x3a1)),N(this,'_retryCount',0x0),N(this,_0x434e25(0x492)),N(this,'_timeoutTimer'),(this[_0x434e25(0x3b3)]=_0x43d507,this[_0x434e25(0x391)]=_0x2f4e80,this[_0x434e25(0x274)]=_0x11c258,this[_0x434e25(0x27f)]=_0x385cd7,this[_0x434e25(0x467)]=_0x51b8d6,this[_0x434e25(0x31d)]=_0x62b2dc,this[_0x434e25(0x2a1)]());}get[_0x2c12ee(0x308)](){var _0x4411ef=_0x2c12ee;return this['_socket$'][_0x4411ef(0x249)]();}['_listenToNetworkCondition'](){var _0x3f4a72=_0x2c12ee;this['_networkConditionService']&&this[_0x3f4a72(0x2b6)](this['_networkConditionService'][_0x3f4a72(0x34f)][_0x3f4a72(0x281)](_0x1063b7=>{var _0x21edf4=_0x3f4a72;_0x1063b7&&!this['_socket']&&this[_0x21edf4(0x4a8)](),_0x1063b7||this['_onOffline']();}));}['dispose'](){var _0x524e87=_0x2c12ee;super[_0x524e87(0x469)](),this[_0x524e87(0x244)](),this[_0x524e87(0x329)](),this[_0x524e87(0x23e)](),this[_0x524e87(0x3b1)][_0x524e87(0x486)](_0x526cec=>_0x526cec[_0x524e87(0x469)]()),this[_0x524e87(0x3b1)][_0x524e87(0x346)](),this['_status$'][_0x524e87(0x476)]();}async[_0x2c12ee(0x276)](_0x497035){var _0x503cbf=_0x2c12ee;if(this['_sessions']['has'](_0x497035))return this['_sessions']['get'](_0x497035);this['_tryEnsureSocket']();const _0x196ad0=this[_0x503cbf(0x3b3)]['createInstance'](gt,_0x497035,this[_0x503cbf(0x208)][_0x503cbf(0x273)]());return this[_0x503cbf(0x3b1)][_0x503cbf(0x25c)](_0x497035,_0x196ad0),_0x196ad0;}['closeSession'](_0xa5adc6){var _0x3ad680=_0x2c12ee,_0x273e53;const _0x3c263d=this[_0x3ad680(0x3b1)]['get'](_0xa5adc6);_0x3c263d&&(this[_0x3ad680(0x3b1)][_0x3ad680(0x473)](_0xa5adc6),_0x3c263d[_0x3ad680(0x230)]()),this[_0x3ad680(0x3b1)][_0x3ad680(0x4ab)]||(_0x273e53=this['_socket'])==null||_0x273e53[_0x3ad680(0x230)]();}[_0x2c12ee(0x4a8)](){var _0x583c02=_0x2c12ee;this['_retryCount']=0x0,this[_0x583c02(0x244)](),this[_0x583c02(0x46c)]();}['_clearRetryConnectingTimer'](){var _0x32a065=_0x2c12ee;this[_0x32a065(0x3a1)]!=null&&(clearTimeout(this[_0x32a065(0x3a1)]),this[_0x32a065(0x3a1)]=null);}async['_createSocket'](){var _0x3965cd=_0x2c12ee,_0x4a6b4d,_0x1829aa;const _0x9e09bc=this['_configService'][_0x3965cd(0x3e2)](gs),_0x1eb1de=this[_0x3965cd(0x274)][_0x3965cd(0x3e2)](K),_0x4200c1=(_0x1829aa=(_0x4a6b4d=_0x1eb1de==null?void 0x0:_0x1eb1de[_0x3965cd(0x41b)])!=null?_0x4a6b4d:_0x9e09bc)!=null?_0x1829aa:Ss,_0x2bbbfa=await this[_0x3965cd(0x27f)][_0x3965cd(0x2f3)](_0x4200c1);return this['_candidateSocket']=_0x2bbbfa,_0x2bbbfa;}async[_0x2c12ee(0x1ef)](){var _0x322720=_0x2c12ee,_0xa08400,_0x12bbc7;try{const _0x2da117=(_0x12bbc7=(_0xa08400=this[_0x322720(0x308)])!=null?_0xa08400:this[_0x322720(0x28c)])!=null?_0x12bbc7:await this['_createSocket']();if(_0x2da117){const _0x227c34=_0x2da117['send'];_0x2da117['send']=_0xc84283=>(this[_0x322720(0x32b)](),_0x227c34[_0x322720(0x407)](_0x2da117,[_0xc84283])),_0x2da117[_0x322720(0x1b8)][_0x322720(0x281)](_0x373bf6=>this[_0x322720(0x23f)](_0x2da117,_0x373bf6)),_0x2da117[_0x322720(0x1eb)][_0x322720(0x1ff)](_0x2017a4(0x1))[_0x322720(0x281)](_0x33e568=>this['_logService'][_0x322720(0x334)](_0x322720(0x322),_0x33e568)),_0x2da117[_0x322720(0x436)][_0x322720(0x1ff)](_0x2017a4(0x1))[_0x322720(0x281)](()=>{var _0x43e99c=_0x322720;this[_0x43e99c(0x497)](_0x2da117);}),_0x2da117[_0x322720(0x3ae)]['pipe'](_0x2017a4(0x1))[_0x322720(0x281)](_0x1a3739=>{var _0x38b9d1=_0x322720;this['_logService'][_0x38b9d1(0x30a)](_0x38b9d1(0x3e4),_0x38b9d1(0x3bb),_0x1a3739),this[_0x38b9d1(0x3df)]();});}}catch(_0x59fb50){this['_logService'][_0x322720(0x334)](_0x59fb50),this[_0x322720(0x3df)]();}}['_onConnectionOpen'](_0x5f04e4){var _0x517e99=_0x2c12ee;this[_0x517e99(0x391)][_0x517e99(0x30a)](_0x517e99(0x3e4),_0x517e99(0x499)),_0x5f04e4['send']({'cmd':F['HELLO']}),this[_0x517e99(0x32b)]();}[_0x2c12ee(0x332)](){var _0x95c76b=_0x2c12ee;this[_0x95c76b(0x2ed)]=!0x1,this[_0x95c76b(0x28c)]=null,this[_0x95c76b(0x360)][_0x95c76b(0x28e)](Se[_0x95c76b(0x226)]),this[_0x95c76b(0x208)][_0x95c76b(0x28e)](null),this['_clearTimeoutTimer'](),this[_0x95c76b(0x23e)]();}[_0x2c12ee(0x3df)](){var _0x51bd1e=_0x2c12ee,_0x34bf2b;this[_0x51bd1e(0x332)](),this[_0x51bd1e(0x33a)]<((_0x34bf2b=this[_0x51bd1e(0x274)][_0x51bd1e(0x3e2)](Cs))!=null?_0x34bf2b:Rs)?(this[_0x51bd1e(0x467)][_0x51bd1e(0x20a)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x51bd1e(0x46c)]()):this[_0x51bd1e(0x467)][_0x51bd1e(0x20a)]({'id':ne[_0x51bd1e(0x370)]});}[_0x2c12ee(0x46c)](){var _0x302163=_0x2c12ee,_0x4965ec;const _0x3a180d=this[_0x302163(0x33a)],_0x686c9e=this[_0x302163(0x274)][_0x302163(0x3e2)](K),_0x1635f6=_0x3a180d===0x0?0x0:((_0x4965ec=_0x686c9e==null?void 0x0:_0x686c9e[_0x302163(0x3ea)])!=null?_0x4965ec:Ts)*0x2**_0x3a180d;this[_0x302163(0x3a1)]=setTimeout(()=>{var _0x2cf50d=_0x302163;clearTimeout(this[_0x2cf50d(0x3a1)]),this[_0x2cf50d(0x3a1)]=null,this['_tryEnsureSocket']();},_0x1635f6),this['_retryCount']+=0x1;}['_onMessage'](_0xdba8e9,_0x44517f){var _0x57df03=_0x2c12ee;const {cmd:_0x48cdaa}=_0x44517f;_0x48cdaa===F['HELLO']&&!this[_0x57df03(0x2ed)]&&(_0xdba8e9[_0x57df03(0x393)]=_0x44517f[_0x57df03(0x3d7)][_0x57df03(0x393)],this[_0x57df03(0x208)][_0x57df03(0x28e)](_0xdba8e9),this[_0x57df03(0x360)][_0x57df03(0x28e)](Se[_0x57df03(0x3fa)]),this[_0x57df03(0x2ed)]=!0x0,this[_0x57df03(0x28c)]=null),_0x48cdaa===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x57df03(0x32b)]();}['_rescheduleHeartbeat'](){var _0x4937b6=_0x2c12ee,_0x4072bd;this[_0x4937b6(0x23e)](),this[_0x4937b6(0x492)]=setTimeout(()=>this[_0x4937b6(0x470)](),(_0x4072bd=this[_0x4937b6(0x274)][_0x4937b6(0x3e2)](Es))!=null?_0x4072bd:Is);}[_0x2c12ee(0x470)](){var _0x480313=_0x2c12ee;this[_0x480313(0x308)][_0x480313(0x487)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x4e205a=_0x2c12ee,_0x408c90;this[_0x4e205a(0x2fc)]=setTimeout(()=>this[_0x4e205a(0x3df)](),(_0x408c90=this[_0x4e205a(0x274)]['getConfig'](fi))!=null?_0x408c90:vi);}['_clearHeartbeatTimer'](){var _0x223a9c=_0x2c12ee;this[_0x223a9c(0x492)]!=null&&(clearTimeout(this[_0x223a9c(0x492)]),this[_0x223a9c(0x492)]=null);}[_0x2c12ee(0x329)](){var _0x81e90a=_0x2c12ee;this[_0x81e90a(0x2fc)]!=null&&(clearTimeout(this[_0x81e90a(0x2fc)]),this[_0x81e90a(0x2fc)]=null);}};Le=Gs([Re(0x0,_0x453b21(_0x541c80)),Re(0x1,_0x307004),Re(0x2,_0x2e403e),Re(0x3,gi),Re(0x4,_0x453b21(ve)),Re(0x5,_0x3a8ca8(Us))],Le);const J=_0x3eabc2('collaboration-client.local-cache-service');function Pr(_0x55266c){return'unit-cache-'+_0x55266c;}var Ys=Object[_0x2c12ee(0x461)],Ws=(_0x1e69d4,_0x193c1e,_0x218670,_0x105f5c)=>{var _0x5ab099=_0x2c12ee;for(var _0x525fc9=_0x105f5c>0x1?void 0x0:_0x105f5c?Ys(_0x193c1e,_0x218670):_0x193c1e,_0x4915a0=_0x1e69d4[_0x5ab099(0x33e)]-0x1,_0x5d11e8;_0x4915a0>=0x0;_0x4915a0--)(_0x5d11e8=_0x1e69d4[_0x4915a0])&&(_0x525fc9=_0x5d11e8(_0x525fc9)||_0x525fc9);return _0x525fc9;},ut=(_0x25eea9,_0x43f352)=>(_0x139ad4,_0x2e4ee9)=>_0x43f352(_0x139ad4,_0x2e4ee9,_0x25eea9);function Ks(_0x574d0d){var _0x1a2b35=_0x2c12ee;const {unitID:_0x19bda0,mutations:_0xf09114}=_0x574d0d;return{'unitId':_0x19bda0,'subUnitId':_0xf09114[0x0][_0x1a2b35(0x25b)][_0x1a2b35(0x3aa)]};}let it=class{constructor(_0x5e7d2a,_0x57e9f6,_0x51bda1){var _0x4903b4=_0x2c12ee;this[_0x4903b4(0x3b3)]=_0x5e7d2a,this['_transformService']=_0x57e9f6,this[_0x4903b4(0x37c)]=_0x51bda1;}[_0x2c12ee(0x2d0)](_0x31b7ed){var _0x327a1b=_0x2c12ee,_0x11e803,_0x42387d,_0x4e2d2e,_0x15fe50;const _0x3ce7d2=this[_0x327a1b(0x3b3)][_0x327a1b(0x279)](_0x39cc7f),{unitId:_0x38556c,subUnitId:_0x23ab25}=Ks(_0x31b7ed),_0x54c661=_0x3ce7d2==null?void 0x0:_0x3ce7d2[_0x327a1b(0x4a9)](_0x38556c)[_0x327a1b(0x45c)](),_0x232832=(_0x42387d=(_0x11e803=this[_0x327a1b(0x37c)][_0x327a1b(0x261)](_0x38556c))==null?void 0x0:_0x11e803[_0x327a1b(0x362)]())==null?void 0x0:_0x42387d[_0x327a1b(0x2da)]();if(_0x54c661[_0x327a1b(0x33e)]===0x0||!_0x38556c||!_0x23ab25)return;const _0x355809=[{'id':_0x9ecafb['id'],'params':{'unitId':_0x38556c,'subUnitId':_0x232832,'selections':_0x3cf581[_0x327a1b(0x2e1)](_0x54c661)}}],_0x46bb40=this[_0x327a1b(0x1fd)]['transformMutationsWithChangeset'](_0x31b7ed,_0x355809);if(!_0x55e498(_0x46bb40))throw _0x46bb40['error'];const _0x50b509=(_0x15fe50=(_0x4e2d2e=_0x46bb40[_0x327a1b(0x22b)][0x0])==null?void 0x0:_0x4e2d2e[_0x327a1b(0x25b)])==null?void 0x0:_0x15fe50[_0x327a1b(0x430)];if(Array[_0x327a1b(0x42e)](_0x50b509)&&_0x50b509[_0x327a1b(0x33e)]){if(_0x50b509[_0x327a1b(0x33e)]===_0x355809[0x0][_0x327a1b(0x25b)][_0x327a1b(0x430)][_0x327a1b(0x33e)]&&_0x50b509[_0x327a1b(0x359)]((_0x2f846a,_0x51daa1)=>_0x51c992['equals'](_0x2f846a['range'],_0x355809[0x0][_0x327a1b(0x25b)]['selections'][_0x51daa1]['range'])))return;this[_0x327a1b(0x3b3)][_0x327a1b(0x279)](_0x7e038c)[_0x327a1b(0x3f4)](_0x9ecafb['id'],{'unitId':_0x38556c,'subUnitId':_0x232832,'selections':_0x50b509});}}};it=Ws([ut(0x0,_0x453b21(_0x541c80)),ut(0x1,_0x46e7de),ut(0x2,_0xf2d159)],it);const ht=_0x3eabc2('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x3801e3=>(_0x3801e3[_0x3801e3[_0x2c12ee(0x282)]=0x0]=_0x2c12ee(0x282),_0x3801e3[_0x3801e3[_0x2c12ee(0x402)]=0x1]=_0x2c12ee(0x402),_0x3801e3))(Ei||{});const qs=new Set([_0x1f2493['id']]);function Yt(_0x51c462,_0x10d0ad,_0x428e01,_0x4cc553,_0x1d9d59){var _0x3c5967=_0x2c12ee,_0x4fac9d,_0x3070b3,_0x17359d,_0x3dfcd5;const _0x13b26a=[];for(const _0x47bfa0 of _0x51c462)if(qs[_0x3c5967(0x3bf)](_0x47bfa0['id'])){if(_0x13b26a[_0x3c5967(0x33e)]>0x0)break;_0x13b26a[_0x3c5967(0x43e)](_0x47bfa0);break;}else _0x13b26a[_0x3c5967(0x43e)](_0x47bfa0);const _0x57112a=(_0x3070b3=(_0x4fac9d=_0x1d9d59['getCurrentUser']())==null?void 0x0:_0x4fac9d[_0x3c5967(0x2f7)])!=null?_0x3070b3:'unknown',_0x4290dd=(_0x3dfcd5=(_0x17359d=_0x1d9d59['getCurrentUser']())==null?void 0x0:_0x17359d['memberID'])!=null?_0x3dfcd5:_0x3c5967(0x418);return{'changeset':{'unitID':_0x10d0ad,'type':_0x108970(_0x428e01[_0x3c5967(0x420)](_0x10d0ad)),'baseRev':_0x4cc553[_0x3c5967(0x2aa)](_0x10d0ad),'revision':0x0,'userID':_0x57112a,'memberID':_0x4290dd,'mutations':_0x13b26a},'pendingMutations':_0x51c462[_0x3c5967(0x25d)](_0x13b26a['length'])};}function zs(_0x54d47f,_0xe68db8,_0x7a9be8,_0x3d7c57,_0x1efe0c){var _0x252fbc=_0x2c12ee,_0x52ce40,_0x4812b2,_0x58903c,_0x374b04;const _0x24cea9=[_0x54d47f[_0x252fbc(0x39d)]((_0x38ec0a,_0x2c076b)=>{var _0x2e829=_0x252fbc,_0x5e2207;const {id:_0x4f6a52}=_0x38ec0a,{id:_0x59cc35,type:_0xfd876a}=_0x2c076b,_0xe3a76b=(_0x5e2207=_0x38ec0a[_0x2e829(0x25b)])!=null?_0x5e2207:{'actions':null},_0x53d2c0=_0x2c076b[_0x2e829(0x25b)];if(_0x4f6a52&&_0x4f6a52!==_0x59cc35)throw new Error(_0x2e829(0x344)+_0x4f6a52+'\x20-\x20'+_0x59cc35+'.');return{..._0x38ec0a,'id':_0x59cc35,'type':_0xfd876a,'params':{'unitId':_0x53d2c0[_0x2e829(0x449)],'textRanges':_0x53d2c0[_0x2e829(0x39c)],'actions':_0x1de03c['compose'](_0xe3a76b[_0x2e829(0x2ee)],_0x53d2c0[_0x2e829(0x2ee)])}};},{})],_0x27ac41=(_0x4812b2=(_0x52ce40=_0x1efe0c[_0x252fbc(0x1d1)]())==null?void 0x0:_0x52ce40[_0x252fbc(0x2f7)])!=null?_0x4812b2:'unknown',_0x2d83b4=(_0x374b04=(_0x58903c=_0x1efe0c[_0x252fbc(0x1d1)]())==null?void 0x0:_0x58903c[_0x252fbc(0x393)])!=null?_0x374b04:_0x252fbc(0x418);return{'changeset':{'unitID':_0xe68db8,'type':_0x108970(_0x7a9be8[_0x252fbc(0x420)](_0xe68db8)),'baseRev':_0x3d7c57[_0x252fbc(0x2aa)](_0xe68db8),'revision':0x0,'userID':_0x27ac41,'memberID':_0x2d83b4,'mutations':_0x24cea9},'pendingMutations':[]};}function Ii(_0xfa3a2f,_0x4e559c){var _0xeb2405=_0x2c12ee;const _0x5074eb=new _0x1b3a4f(0x1);return setTimeout(()=>_0x5074eb[_0xeb2405(0x28e)](_0x4e559c),_0xfa3a2f),_0x5074eb[_0xeb2405(0x273)]()['pipe'](_0x309cfb(0x1));}const Js={'id':_0x1b16a3['id'],'type':_0xad6b7[_0x2c12ee(0x2e2)],'params':{}};var Xs=Object[_0x2c12ee(0x461)],Ie=(_0x2ceb3a,_0x3a0cc5,_0x10f172,_0x3b83bb)=>{for(var _0x8066=_0x3b83bb>0x1?void 0x0:_0x3b83bb?Xs(_0x3a0cc5,_0x10f172):_0x3a0cc5,_0x5c6c0a=_0x2ceb3a['length']-0x1,_0x564ccf;_0x5c6c0a>=0x0;_0x5c6c0a--)(_0x564ccf=_0x2ceb3a[_0x5c6c0a])&&(_0x8066=_0x564ccf(_0x8066)||_0x8066);return _0x8066;},P=(_0x2272f4,_0x251ffc)=>(_0x2bb520,_0x3cdb30)=>_0x251ffc(_0x2bb520,_0x3cdb30,_0x2272f4),Ti=(_0x13b032=>(_0x13b032[_0x2c12ee(0x2cf)]=_0x2c12ee(0x29b),_0x13b032[_0x2c12ee(0x213)]=_0x2c12ee(0x222),_0x13b032['PENDING']=_0x2c12ee(0x214),_0x13b032['AWAITING']=_0x2c12ee(0x2b8),_0x13b032['AWAITING_WITH_PENDING']=_0x2c12ee(0x3dc),_0x13b032[_0x2c12ee(0x446)]=_0x2c12ee(0x313),_0x13b032[_0x2c12ee(0x2fd)]=_0x2c12ee(0x442),_0x13b032[_0x2c12ee(0x226)]=_0x2c12ee(0x48f),_0x13b032))(Ti||{});const Ci=0xea60;class Te{constructor(_0x7724ca,_0x26302f,_0x2bfe68,_0x37041c,_0x2cdba5,_0x511fed,_0x4a5b95,_0x3a1ba4,_0x231e59){var _0x2f4682=_0x2c12ee;N(this,_0x2f4682(0x2b9),null),N(this,'_pendingMutations',[]),(this[_0x2f4682(0x41e)]=_0x7724ca,this[_0x2f4682(0x21e)]=_0x26302f,this[_0x2f4682(0x2f6)]=_0x2cdba5,this[_0x2f4682(0x397)]=_0x511fed,this[_0x2f4682(0x265)]=_0x4a5b95,this['_revisionService']=_0x3a1ba4,this[_0x2f4682(0x29d)]=_0x231e59,this[_0x2f4682(0x2b9)]=_0x2bfe68,this[_0x2f4682(0x338)]=_0x37041c);}['_checkMissing'](_0x27b5cf){var _0x42ffdb=_0x2c12ee;const _0x337e7c=this[_0x42ffdb(0x27e)][_0x42ffdb(0x2aa)](this[_0x42ffdb(0x41e)]);return _0x27b5cf[_0x42ffdb(0x21c)]>_0x337e7c+0x1?(this[_0x42ffdb(0x2f6)][_0x42ffdb(0x488)]({'from':_0x337e7c,'to':_0x27b5cf[_0x42ffdb(0x21c)]-0x1}),!0x0):!0x1;}[_0x2c12ee(0x317)](_0xdde79c){var _0x4fa4fe=_0x2c12ee;this[_0x4fa4fe(0x265)][_0x4fa4fe(0x366)](this[_0x4fa4fe(0x41e)],_0xdde79c);}[_0x2c12ee(0x2c0)](_0x4f2722){var _0x334101=_0x2c12ee,_0x10a960,_0x5e781e;(_0x5e781e=(_0x10a960=this[_0x334101(0x2f6)])[_0x334101(0x44d)])==null||_0x5e781e['call'](_0x10a960,_0x4f2722);}[_0x2c12ee(0x443)](_0x34cd8f){var _0x58fa93=_0x2c12ee,_0x6990cf,_0x46dad6;return(_0x46dad6=(_0x6990cf=this[_0x58fa93(0x2f6)])[_0x58fa93(0x2e4)])==null?void 0x0:_0x46dad6['call'](_0x6990cf,_0x34cd8f);}['_transformStateCache'](_0x4dbb2b){var _0xa2e480=_0x2c12ee,_0x431389,_0xd6fea6;return(_0xd6fea6=(_0x431389=this[_0xa2e480(0x2f6)])[_0xa2e480(0x1be)])==null?void 0x0:_0xd6fea6[_0xa2e480(0x431)](_0x431389,_0x4dbb2b);}[_0x2c12ee(0x218)](_0x564c64){var _0x3be129=_0x2c12ee,_0xdeab33,_0x1ddcee,_0x34e33b;return(_0x34e33b=(_0x1ddcee=(_0xdeab33=this[_0x3be129(0x2f6)])[_0x3be129(0x1c9)])==null?void 0x0:_0x1ddcee[_0x3be129(0x431)](_0xdeab33,_0x564c64))!=null?_0x34e33b:_0x564c64;}['_transformRemoteChangesetByStateCache'](_0x552af3){var _0x283082=_0x2c12ee,_0x243e21,_0x1a15cb,_0x52a70f;return(_0x52a70f=(_0x1a15cb=(_0x243e21=this[_0x283082(0x2f6)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1a15cb['call'](_0x243e21,_0x552af3))!=null?_0x52a70f:_0x552af3;}[_0x2c12ee(0x2c4)](_0x180c8f){var _0x3b0b8f=_0x2c12ee,_0x4e3316,_0x5b80fe;if(this['type']===Z[_0x3b0b8f(0x3bd)]){const {unitID:_0x161687,mutations:_0x2b4b40,memberID:_0x3a7921}=_0x180c8f,_0x50933d=_0x2b4b40[0x0][_0x3b0b8f(0x25b)][_0x3b0b8f(0x39c)];Array[_0x3b0b8f(0x42e)](_0x50933d)&&_0x50933d[_0x3b0b8f(0x33e)]>0x0&&((_0x5b80fe=(_0x4e3316=this[_0x3b0b8f(0x2f6)])['onSyncEditingCollabCursor'])==null||_0x5b80fe[_0x3b0b8f(0x431)](_0x4e3316,{'unitID':_0x161687,'memberID':_0x3a7921,'textRanges':_0x50933d}));}}[_0x2c12ee(0x1e9)](){var _0x49a27f=_0x2c12ee,_0x31b5dc;(_0x31b5dc=this[_0x49a27f(0x29d)])==null||_0x31b5dc[_0x49a27f(0x478)](this[_0x49a27f(0x41e)],this['type'],this[_0x49a27f(0x2b9)],this[_0x49a27f(0x338)]);}[_0x2c12ee(0x484)](){var _0x252380=_0x2c12ee;return this[_0x252380(0x27e)][_0x252380(0x2aa)](this[_0x252380(0x41e)]);}[_0x2c12ee(0x2f0)](){var _0x24f580=_0x2c12ee;this['_revisionService'][_0x24f580(0x448)](this['unitID']);}[_0x2c12ee(0x49e)](_0x43044f){var _0x4b093e=_0x2c12ee,_0x47bd1f;let _0x2dec18=this['_transformRemoteChangesetByIMECache'](_0x43044f);_0x2dec18=this[_0x4b093e(0x259)](_0x2dec18);const _0x188bc3=_0x315c3e(_0x2dec18['mutations'],this[_0x4b093e(0x397)],{'fromCollab':!0x0});if(!_0x188bc3[_0x4b093e(0x29a)])throw _0x188bc3[_0x4b093e(0x334)]instanceof Error?_0x188bc3[_0x4b093e(0x334)]:new Error((_0x47bd1f=_0x188bc3['error'])!=null?_0x47bd1f:_0x4b093e(0x1e1));this[_0x4b093e(0x443)](_0x2dec18),this[_0x4b093e(0x309)](_0x2dec18),this[_0x4b093e(0x317)](_0x43044f),this[_0x4b093e(0x2c0)](_0x2dec18),this[_0x4b093e(0x2c4)](_0x2dec18),this[_0x4b093e(0x2f0)]();}}let ye=class extends Te{constructor(_0x804cd0,_0x5831ad,_0x5d8aa5,_0x3c7688,_0x56d44b,_0x51759a,_0x2e648e,_0x2c30f5,_0x3b2ad0,_0xf4168f){var _0x393526=_0x2c12ee;super(_0x804cd0,_0x5831ad,null,[],_0x5d8aa5,_0x2e648e,_0x51759a,_0x3c7688,_0xf4168f),N(this,_0x393526(0x38a),'synced'),(this[_0x393526(0x3b3)]=_0x56d44b,this[_0x393526(0x391)]=_0x2c30f5,this[_0x393526(0x1fd)]=_0x3b2ad0,this[_0x393526(0x3c1)]=_0xf4168f);}[_0x2c12ee(0x3b6)](_0xf23703){var _0x560a34=_0x2c12ee;const _0x7cbde3=this[_0x560a34(0x3b3)][_0x560a34(0x1e5)](re,this[_0x560a34(0x41e)],this['type'],[_0xf23703],this[_0x560a34(0x2f6)]);return _0x7cbde3['_schedule'](),_0x7cbde3['_updateLocalCache'](),_0x7cbde3;}['onRemoteChangeset'](_0x596359){var _0x264c0c=_0x2c12ee;if(this[_0x264c0c(0x2c9)](_0x596359))return this[_0x264c0c(0x3b3)][_0x264c0c(0x1e5)](Q,this['unitID'],this[_0x264c0c(0x21e)],null,[],null,[_0x596359],this[_0x264c0c(0x2f6)]);try{const _0x4f06ce=this[_0x264c0c(0x1fd)][_0x264c0c(0x43d)](_0x596359,[Js]);if(_0x55e498(_0x4f06ce)){const {c1Prime:_0xb1dace}=_0x4f06ce;return this[_0x264c0c(0x49e)](_0xb1dace),this;}throw _0x4f06ce[_0x264c0c(0x334)];}catch(_0x299f23){return this[_0x264c0c(0x391)][_0x264c0c(0x334)](_0x299f23),this['_onConflict'](!0x1);}}['_onConflict'](_0x2eae0c){var _0x38060d=_0x2c12ee;return this[_0x38060d(0x3b3)][_0x38060d(0x1e5)](le,this[_0x38060d(0x41e)],this[_0x38060d(0x21e)],null,[],this[_0x38060d(0x2f6)],_0x2eae0c);}[_0x2c12ee(0x3a2)](){var _0x121bf3=_0x2c12ee;throw new Error(_0x121bf3(0x1c7));}[_0x2c12ee(0x347)](){var _0xfca70b=_0x2c12ee;throw new Error(_0xfca70b(0x3e5));}['onRemoteRetry'](){return this;}[_0x2c12ee(0x383)](){var _0xdc20d6=_0x2c12ee;return this[_0xdc20d6(0x3b3)]['createInstance'](ue,this[_0xdc20d6(0x41e)],this[_0xdc20d6(0x21e)],null,[],this[_0xdc20d6(0x2f6)]);}['toggleOnline'](){return this;}[_0x2c12ee(0x388)](){var _0x5e2535=_0x2c12ee;throw new Error(_0x5e2535(0x1d9));}['fetchMiss'](){var _0x5a8968=_0x2c12ee;const _0x221d14=this[_0x5a8968(0x27e)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x5a8968(0x2f6)]['onMissingChangesets']({'from':_0x221d14,'to':0x0}),this[_0x5a8968(0x3b3)][_0x5a8968(0x1e5)](Q,this[_0x5a8968(0x41e)],this[_0x5a8968(0x21e)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x453b21(_0x3a1c35)),P(0x4,_0x453b21(_0x541c80)),P(0x5,_0x1912eb),P(0x6,_0x7e038c),P(0x7,_0x307004),P(0x8,_0x46e7de),P(0x9,_0x3a8ca8(J))],ye);let re=class extends Te{constructor(_0x5c7f0b,_0x124c58,_0x3f1146,_0x283d1c,_0x2fa8a0,_0x3e7ff5,_0xf3f7be,_0x3cacbb,_0x52c219,_0x157beb,_0x196316,_0x480d55,_0x15fe2c,_0x51b0d1){var _0xefced6=_0x2c12ee;super(_0x5c7f0b,_0x124c58,null,_0x3f1146,_0x283d1c,_0x52c219,_0x15fe2c,_0x3e7ff5,_0x51b0d1),N(this,_0xefced6(0x38a),'pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0xefced6(0x3b3)]=_0x2fa8a0,this['_memberService']=_0xf3f7be,this['_logService']=_0x3cacbb,this[_0xefced6(0x274)]=_0x157beb,this[_0xefced6(0x1fd)]=_0x196316,this[_0xefced6(0x3cd)]=_0x480d55);}[_0x2c12ee(0x3b6)](_0x48e7bf){var _0x3b3138=_0x2c12ee;return this[_0x3b3138(0x338)]['push'](_0x48e7bf),this[_0x3b3138(0x1e9)](),this;}[_0x2c12ee(0x1c4)](_0x2d2154){var _0x167336=_0x2c12ee;if(this[_0x167336(0x2c9)](_0x2d2154))return this['_clearScheduledTask'](),this['_injector'][_0x167336(0x1e5)](Q,this[_0x167336(0x41e)],this['type'],null,this['_pendingMutations'],null,[_0x2d2154],this[_0x167336(0x2f6)]);try{const _0x26c934=this['_transformService'][_0x167336(0x43d)](_0x2d2154,this[_0x167336(0x338)]);if(_0x55e498(_0x26c934)){const {c1Prime:_0x1201c4,m2Prime:_0x16cf04}=_0x26c934;this[_0x167336(0x49e)](_0x1201c4);const _0x2a685d=this[_0x167336(0x3b3)][_0x167336(0x1e5)](re,this[_0x167336(0x41e)],this[_0x167336(0x21e)],_0x16cf04,this['_handler']);this['_clearScheduledTask']();const _0x1f3e22=new Date()[_0x167336(0x363)](),_0x30a8b3=this[_0x167336(0x4bf)]?Math[_0x167336(0x386)](this[_0x167336(0x4bf)]-_0x1f3e22,0x0):this[_0x167336(0x349)]();return _0x2a685d[_0x167336(0x2ff)](_0x30a8b3),_0x2a685d;}throw _0x26c934['error'];}catch(_0x3dac69){return this[_0x167336(0x391)][_0x167336(0x334)](_0x3dac69),this[_0x167336(0x2f2)](!0x1);}}[_0x2c12ee(0x3a2)](){var _0x2b8519=_0x2c12ee;throw new Error(_0x2b8519(0x2b2));}[_0x2c12ee(0x347)](){var _0x2b392d=_0x2c12ee;throw new Error(_0x2b392d(0x337));}[_0x2c12ee(0x37e)](){return this;}['toggleOffline'](){var _0x4bcbf0=_0x2c12ee;return this['_clearScheduledTask'](),this[_0x4bcbf0(0x3b3)][_0x4bcbf0(0x1e5)](ue,this[_0x4bcbf0(0x41e)],this[_0x4bcbf0(0x21e)],null,this['_pendingMutations'],this[_0x4bcbf0(0x2f6)]);}['toggleOnline'](){return this;}[_0x2c12ee(0x2ff)](_0x903509){var _0x54753e=_0x2c12ee;const _0x5a0d03=_0x903509!=null?_0x903509:this[_0x54753e(0x349)]();this[_0x54753e(0x4bf)]=new Date()['getTime']()+_0x5a0d03,this['_sendingTimer']=setTimeout(()=>{var _0x249539=_0x54753e;this[_0x249539(0x22f)]();let _0x7bcafb=null;switch(this[_0x249539(0x21e)]){case Z[_0x249539(0x464)]:{_0x7bcafb=Yt(this['_pendingMutations'],this[_0x249539(0x41e)],this[_0x249539(0x3cd)],this[_0x249539(0x27e)],this[_0x249539(0x447)]);break;}case Z[_0x249539(0x3bd)]:{this[_0x249539(0x338)][_0x249539(0x359)](_0x1e3d52=>_0x1e3d52['id']===_0x2cd46a['id'])?_0x7bcafb=zs(this[_0x249539(0x338)],this[_0x249539(0x41e)],this[_0x249539(0x3cd)],this[_0x249539(0x27e)],this[_0x249539(0x447)]):_0x7bcafb=Yt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x249539(0x4ad)+this[_0x249539(0x21e)]+'\x20in\x20_schedule.');}const {changeset:_0x3b6e10,pendingMutations:_0x443cbe}=_0x7bcafb;this['_handler'][_0x249539(0x239)](_0x3b6e10);const _0x159612=_0x443cbe[_0x249539(0x33e)]?this[_0x249539(0x3b3)][_0x249539(0x1e5)](ae,this[_0x249539(0x41e)],this[_0x249539(0x21e)],_0x3b6e10,_0x443cbe,this['_handler'],void 0x0):this[_0x249539(0x3b3)]['createInstance'](_e,this[_0x249539(0x41e)],this[_0x249539(0x21e)],_0x3b6e10,this[_0x249539(0x2f6)]);_0x159612[_0x249539(0x1e9)](),this['_handler'][_0x249539(0x22e)](this,_0x159612);},_0x5a0d03);}['_getSendChangesetTimeout'](){var _0x245ad2=_0x2c12ee,_0x3d06d2;const _0x48c7cf=this[_0x245ad2(0x274)]['getConfig'](K);return(_0x3d06d2=_0x48c7cf==null?void 0x0:_0x48c7cf[_0x245ad2(0x30b)])!=null?_0x3d06d2:ms;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x1f9bf6=_0x2c12ee;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f9bf6(0x24e)]),this['_sendingTimer']=null);}['_onConflict'](_0x52039b){var _0x51c9e4=_0x2c12ee;return this[_0x51c9e4(0x22f)](),this[_0x51c9e4(0x3b3)]['createInstance'](le,this[_0x51c9e4(0x41e)],this[_0x51c9e4(0x21e)],null,this[_0x51c9e4(0x338)],this[_0x51c9e4(0x2f6)],_0x52039b);}};re=Ie([P(0x4,_0x453b21(_0x541c80)),P(0x5,_0x453b21(_0x3a1c35)),P(0x6,_0x453b21(Pe)),P(0x7,_0x307004),P(0x8,_0x7e038c),P(0x9,_0x2e403e),P(0xa,_0x46e7de),P(0xb,_0xf2d159),P(0xc,_0x1912eb),P(0xd,_0x3a8ca8(J))],re);let _e=class extends Te{constructor(_0x405cbf,_0x3a11de,_0x52f4c8,_0x53b3b3,_0x336955,_0x3e3c52,_0x599f69,_0x268252,_0x55a69c,_0x3bacbf,_0x400cf7){var _0x4eba4c=_0x2c12ee;super(_0x405cbf,_0x3a11de,_0x52f4c8,[],_0x53b3b3,_0x599f69,_0x3bacbf,_0x3e3c52,_0x400cf7),N(this,_0x4eba4c(0x38a),_0x4eba4c(0x2b8)),N(this,_0x4eba4c(0x3e8),0x0),N(this,_0x4eba4c(0x4b2)),N(this,_0x4eba4c(0x2f9)),(this[_0x4eba4c(0x3b3)]=_0x336955,this[_0x4eba4c(0x391)]=_0x268252,this['_transformService']=_0x55a69c);}[_0x2c12ee(0x3b6)](_0x2e4e24){var _0x5e0ee7=_0x2c12ee;this[_0x5e0ee7(0x22f)]();const _0x4ccc33=this['_injector'][_0x5e0ee7(0x1e5)](ae,this[_0x5e0ee7(0x41e)],this[_0x5e0ee7(0x21e)],this[_0x5e0ee7(0x2b9)],[_0x2e4e24],this[_0x5e0ee7(0x2f6)],this[_0x5e0ee7(0x4b2)]);return _0x4ccc33[_0x5e0ee7(0x1e9)](),_0x4ccc33;}[_0x2c12ee(0x1c4)](_0x16da58){var _0x2a376a=_0x2c12ee;if(this[_0x2a376a(0x2c9)](_0x16da58))return this[_0x2a376a(0x22f)](),this['_injector'][_0x2a376a(0x1e5)](Q,this[_0x2a376a(0x41e)],this['type'],this[_0x2a376a(0x2b9)],[],null,[_0x16da58],this[_0x2a376a(0x2f6)]);try{const _0xb7dbb1=this[_0x2a376a(0x1fd)]['transformChangesets']([_0x16da58],[this[_0x2a376a(0x2b9)]],!0x1);if(_0x41c9bb(_0xb7dbb1)){const {c1Prime:_0x27ec54,c2Prime:_0x336d7a}=_0xb7dbb1;this[_0x2a376a(0x49e)](_0x27ec54[0x0]),_0x336d7a[0x0][_0x2a376a(0x38b)]=this[_0x2a376a(0x484)](),this[_0x2a376a(0x22f)]();const _0x4ab71d=this[_0x2a376a(0x3b3)]['createInstance'](_e,this[_0x2a376a(0x41e)],this[_0x2a376a(0x21e)],_0x336d7a[0x0],this[_0x2a376a(0x2f6)]);return _0x4ab71d['_updateLocalCache'](),_0x4ab71d;}return this[_0x2a376a(0x2f2)](!0x1);}catch(_0x1cb8ff){return this[_0x2a376a(0x391)][_0x2a376a(0x334)](_0x1cb8ff),this[_0x2a376a(0x2f2)](!0x1);}}[_0x2c12ee(0x3a2)](_0x2ee6ff){var _0x34f061=_0x2c12ee;this['_clearScheduledTask']();const _0xb5e808=this[_0x34f061(0x27e)][_0x34f061(0x2aa)](this[_0x34f061(0x41e)]);if(_0x2ee6ff[_0x34f061(0x21c)]<_0xb5e808-0x1)return this;if(this[_0x34f061(0x2c9)](_0x2ee6ff))return this[_0x34f061(0x3b3)][_0x34f061(0x1e5)](Q,this['unitID'],this[_0x34f061(0x21e)],null,[],this[_0x34f061(0x2b9)],[],this[_0x34f061(0x2f6)]);this[_0x34f061(0x2f0)]();const _0x4b6ec8=this[_0x34f061(0x3b3)]['createInstance'](ye,this['unitID'],this[_0x34f061(0x21e)],this[_0x34f061(0x2f6)]);return _0x4b6ec8[_0x34f061(0x1e9)](),_0x4b6ec8;}[_0x2c12ee(0x347)](_0x43fe08){var _0x411cae=_0x2c12ee;return this[_0x411cae(0x2f2)](!!(_0x43fe08!=null&&_0x43fe08[_0x411cae(0x1de)]));}[_0x2c12ee(0x37e)](_0x169f99){var _0x5ad6e4=_0x2c12ee;return this[_0x5ad6e4(0x3e8)]>Ci?this[_0x5ad6e4(0x383)]():(this[_0x5ad6e4(0x4b2)]=Ii(this['_resendTimeout'],{'timeout':this[_0x5ad6e4(0x3e8)],'reqId':_0x169f99[_0x5ad6e4(0x432)]}),this[_0x5ad6e4(0x2f9)]=this[_0x5ad6e4(0x4b2)][_0x5ad6e4(0x281)](({reqId:_0x1f0929,timeout:_0x335a0a})=>{var _0x54ca3e=_0x5ad6e4;this[_0x54ca3e(0x333)](_0x1f0929,_0x335a0a);}),this);}[_0x2c12ee(0x383)](){var _0x4e2b88=_0x2c12ee;return this[_0x4e2b88(0x22f)](),this[_0x4e2b88(0x3b3)][_0x4e2b88(0x1e5)](ue,this['unitID'],this['type'],this[_0x4e2b88(0x2b9)],[],this[_0x4e2b88(0x2f6)]);}[_0x2c12ee(0x4a0)](){return this;}[_0x2c12ee(0x388)](){var _0xdb0a74=_0x2c12ee;this[_0xdb0a74(0x2f6)][_0xdb0a74(0x239)](this['_awaitingChangeset']);}['_onConflict'](_0x4a68c4){var _0xf1731b=_0x2c12ee;return this['_clearScheduledTask'](),this[_0xf1731b(0x3b3)][_0xf1731b(0x1e5)](le,this['unitID'],this[_0xf1731b(0x21e)],this['_awaitingChangeset'],[],this['_handler'],_0x4a68c4);}[_0x2c12ee(0x333)](_0x2438d6,_0x135cbc){var _0xf9efe5=_0x2c12ee,_0x1c792c;_0x2438d6===((_0x1c792c=this['_awaitingChangeset'])==null?void 0x0:_0x1c792c[_0xf9efe5(0x432)])&&(this[_0xf9efe5(0x388)](),this[_0xf9efe5(0x3e8)]=_0x135cbc===0x0?0x3e8:_0x135cbc*0x2);}[_0x2c12ee(0x22f)](){var _0x50d4c1=_0x2c12ee,_0x56bb0e;(_0x56bb0e=this[_0x50d4c1(0x2f9)])==null||_0x56bb0e['unsubscribe'](),this[_0x50d4c1(0x3e8)]=0x0;}};_e=Ie([P(0x4,_0x453b21(_0x541c80)),P(0x5,_0x453b21(_0x3a1c35)),P(0x6,_0x7e038c),P(0x7,_0x307004),P(0x8,_0x46e7de),P(0x9,_0x1912eb),P(0xa,_0x3a8ca8(J))],_e);let ae=class extends Te{constructor(_0x5c8749,_0x2f6fe9,_0x43aa32,_0x391eb4,_0x5984fa,_0x1cf193,_0x29edce,_0x2adcec,_0x384c1f,_0x4201f4,_0x19d9e3,_0x1a99c9,_0x235ba4){var _0x50392e=_0x2c12ee;super(_0x5c8749,_0x2f6fe9,_0x43aa32,_0x391eb4,_0x5984fa,_0x384c1f,_0x1a99c9,_0x2adcec,_0x235ba4),N(this,'status',_0x50392e(0x3dc)),N(this,_0x50392e(0x3e8),0x0),N(this,_0x50392e(0x4b2)),N(this,'_sender'),(this[_0x50392e(0x3b3)]=_0x29edce,this[_0x50392e(0x391)]=_0x4201f4,this[_0x50392e(0x1fd)]=_0x19d9e3,this[_0x50392e(0x3c1)]=_0x235ba4,_0x1cf193&&(this[_0x50392e(0x4b2)]=_0x1cf193,this[_0x50392e(0x2f9)]=this[_0x50392e(0x4b2)][_0x50392e(0x281)](({reqId:_0x30328f,timeout:_0x50add1})=>{var _0x566ece=_0x50392e;this[_0x566ece(0x333)](_0x30328f,_0x50add1);})));}[_0x2c12ee(0x3b6)](_0x4bf2af){var _0x42ab6b=_0x2c12ee;return this[_0x42ab6b(0x338)]['push'](_0x4bf2af),this;}[_0x2c12ee(0x1c4)](_0x298e11){var _0x286c00=_0x2c12ee;if(this['_checkMissing'](_0x298e11))return this[_0x286c00(0x22f)](),this['_injector'][_0x286c00(0x1e5)](Q,this[_0x286c00(0x41e)],this[_0x286c00(0x21e)],this[_0x286c00(0x2b9)],this[_0x286c00(0x338)],null,[_0x298e11],this[_0x286c00(0x2f6)]);try{const _0x534ca2=this['_transformService'][_0x286c00(0x310)]([_0x298e11],[this[_0x286c00(0x2b9)]],!0x1);if(_0x41c9bb(_0x534ca2)){const {c1Prime:_0x18124a,c2Prime:_0x5d33b8}=_0x534ca2,_0x91e78c=this[_0x286c00(0x1fd)][_0x286c00(0x43d)](_0x18124a[0x0],this[_0x286c00(0x338)]);if(_0x55e498(_0x91e78c)){const {c1Prime:_0x96efbc,m2Prime:_0x49258a}=_0x91e78c;return this['_executeRemoteChangeset'](_0x96efbc),_0x5d33b8[0x0][_0x286c00(0x38b)]=this['_getCurrentRevision'](),this[_0x286c00(0x22f)](),this[_0x286c00(0x3b3)][_0x286c00(0x1e5)](ae,this['unitID'],this['type'],_0x5d33b8[0x0],_0x49258a,this[_0x286c00(0x2f6)],void 0x0);}throw _0x91e78c[_0x286c00(0x334)];}throw _0x534ca2[_0x286c00(0x334)];}catch(_0xf4d333){return this[_0x286c00(0x391)]['error'](_0xf4d333),this['_onConflict'](!0x1);}}[_0x2c12ee(0x3a2)](_0x235482){var _0x4dc4ef=_0x2c12ee;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x235482))return this[_0x4dc4ef(0x3b3)][_0x4dc4ef(0x1e5)](Q,this[_0x4dc4ef(0x41e)],this['type'],null,this[_0x4dc4ef(0x338)],this[_0x4dc4ef(0x2b9)],[],this[_0x4dc4ef(0x2f6)]);this[_0x4dc4ef(0x2f0)]();const _0x36ddf4=this[_0x4dc4ef(0x3b3)][_0x4dc4ef(0x1e5)](re,this[_0x4dc4ef(0x41e)],this[_0x4dc4ef(0x21e)],this['_pendingMutations'],this[_0x4dc4ef(0x2f6)]);return _0x36ddf4[_0x4dc4ef(0x2ff)](),_0x36ddf4[_0x4dc4ef(0x1e9)](),_0x36ddf4;}['onRemoteRej'](_0x304377){var _0x3ce44a=_0x2c12ee;return this['_onConflict'](!!(_0x304377!=null&&_0x304377[_0x3ce44a(0x1de)]));}['onRemoteRetry'](_0x2dad05){var _0x27e97a=_0x2c12ee;return this[_0x27e97a(0x3e8)]>Ci?this[_0x27e97a(0x383)]():(this[_0x27e97a(0x4b2)]=Ii(this[_0x27e97a(0x3e8)],{'timeout':this[_0x27e97a(0x3e8)],'reqId':_0x2dad05[_0x27e97a(0x432)]}),this[_0x27e97a(0x2f9)]=this['_resendTimer'][_0x27e97a(0x281)](({reqId:_0x4e23b0,timeout:_0x552a7f})=>{var _0x1aa38b=_0x27e97a;this[_0x1aa38b(0x333)](_0x4e23b0,_0x552a7f);}),this);}[_0x2c12ee(0x383)](){var _0x132f54=_0x2c12ee;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ue,this[_0x132f54(0x41e)],this[_0x132f54(0x21e)],this['_awaitingChangeset'],this[_0x132f54(0x338)],this[_0x132f54(0x2f6)]);}[_0x2c12ee(0x4a0)](){return this;}[_0x2c12ee(0x388)](){var _0x1be938=_0x2c12ee;this[_0x1be938(0x2f6)][_0x1be938(0x239)](this[_0x1be938(0x2b9)]);}[_0x2c12ee(0x2f2)](_0x5bc29f){var _0x121c2c=_0x2c12ee;return this[_0x121c2c(0x22f)](),this[_0x121c2c(0x3b3)][_0x121c2c(0x1e5)](le,this[_0x121c2c(0x41e)],this[_0x121c2c(0x21e)],null,this[_0x121c2c(0x338)],this[_0x121c2c(0x2f6)],_0x5bc29f);}['_resendWithTimeout'](_0x415c67,_0x336a6c){var _0x46ca2b=_0x2c12ee,_0x4a30c4;_0x415c67===((_0x4a30c4=this[_0x46ca2b(0x2b9)])==null?void 0x0:_0x4a30c4[_0x46ca2b(0x432)])&&(this[_0x46ca2b(0x388)](),this[_0x46ca2b(0x3e8)]=_0x336a6c===0x0?0x3e8:_0x336a6c*0x2);}['_clearScheduledTask'](){var _0x2f6fec=_0x2c12ee,_0x835371;(_0x835371=this[_0x2f6fec(0x2f9)])==null||_0x835371['unsubscribe'](),this[_0x2f6fec(0x3e8)]=0x0;}};ae=Ie([P(0x6,_0x453b21(_0x541c80)),P(0x7,_0x453b21(_0x3a1c35)),P(0x8,_0x7e038c),P(0x9,_0x307004),P(0xa,_0x46e7de),P(0xb,_0x1912eb),P(0xc,_0x3a8ca8(J))],ae);let le=class extends Te{constructor(_0x4f6d69,_0x784d08,_0x57252c,_0x1c4b3c,_0x62fd3d,_0x4fe1e2=!0x1,_0x16ad6f,_0x16133f,_0x1d1f0c,_0x4f38d5,_0x44bbfe,_0x5aab18,_0x5a28a9){var _0x322e80=_0x2c12ee;super(_0x4f6d69,_0x784d08,_0x57252c,_0x1c4b3c,_0x62fd3d,_0x16133f,_0x1d1f0c,_0x4f38d5,_0x5a28a9),N(this,_0x322e80(0x38a),_0x322e80(0x442)),(this['_isPermissionRej']=_0x4fe1e2,this[_0x322e80(0x358)]=_0x16ad6f,this[_0x322e80(0x462)]=_0x44bbfe,this[_0x322e80(0x467)]=_0x5aab18,this['localCacheService']=_0x5a28a9,this[_0x322e80(0x336)](),this[_0x322e80(0x1bd)](),this[_0x322e80(0x3c8)]());}['appendMutation'](){return this;}[_0x2c12ee(0x1c4)](){return this;}[_0x2c12ee(0x3a2)](){return this;}[_0x2c12ee(0x347)](){return this;}['onRemoteRetry'](){return this;}[_0x2c12ee(0x383)](){return this;}['toggleOnline'](){return this;}[_0x2c12ee(0x388)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2c12ee(0x1bd)](){var _0x20f936=_0x2c12ee,_0x50c3f6;(_0x50c3f6=this[_0x20f936(0x29d)])==null||_0x50c3f6['updateOfflineData'](this['unitID'],this[_0x20f936(0x21e)],null,[]);}[_0x2c12ee(0x336)](){var _0x24dfb9=_0x2c12ee;this[_0x24dfb9(0x3f2)]?this['_collaborationUIEventService'][_0x24dfb9(0x20a)]({'id':ne[_0x24dfb9(0x376)]}):this[_0x24dfb9(0x467)][_0x24dfb9(0x20a)]({'id':ne['CONFLICT']});}[_0x2c12ee(0x3c8)](){var _0x36aca2=_0x2c12ee;this[_0x36aca2(0x358)]['updatePermissionPoint'](new _0x1884a7(this[_0x36aca2(0x41e)])['id'],!0x1);}};le=Ie([P(0x6,_0x453b21(_0x1cc61e)),P(0x7,_0x7e038c),P(0x8,_0x1912eb),P(0x9,_0x453b21(_0x3a1c35)),P(0xa,_0x453b21(_0x3ae82e)),P(0xb,_0x453b21(ve)),P(0xc,_0x3a8ca8(J))],le);let ue=class extends Te{constructor(_0x6e0d90,_0x5d13b6,_0x351e79,_0x16bb07,_0x3dce25,_0x28d1cf,_0x3b029a,_0x4219c6,_0x3af82,_0x4c015f){var _0x2b2fec=_0x2c12ee;super(_0x6e0d90,_0x5d13b6,_0x351e79,_0x16bb07,_0x3dce25,_0x4219c6,_0x3af82,_0x3b029a,_0x4c015f),N(this,_0x2b2fec(0x38a),_0x2b2fec(0x48f)),this[_0x2b2fec(0x3b3)]=_0x28d1cf;}['appendMutation'](_0x3320df){var _0x3001bd=_0x2c12ee;return this[_0x3001bd(0x338)][_0x3001bd(0x43e)](_0x3320df),this['_updateLocalCache'](),this;}[_0x2c12ee(0x1c4)](_0x4c710e){var _0xc191b8=_0x2c12ee;throw new Error(_0xc191b8(0x3b2));}[_0x2c12ee(0x3a2)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x1dc856=_0x2c12ee;throw new Error(_0x1dc856(0x1bb));}[_0x2c12ee(0x37e)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x4eaa3c=_0x2c12ee;const {_injector:_0x2275f8,_pendingMutations:_0x56a27e,_awaitingChangeset:_0x1999d9,unitID:_0x449069,_handler:_0x42d363,type:_0x5b2c88}=this,_0x37ae51=Ri(_0x2275f8,_0x449069,_0x5b2c88,_0x1999d9,_0x56a27e,_0x42d363);return _0x37ae51 instanceof re?_0x37ae51[_0x4eaa3c(0x2ff)]():(_0x37ae51 instanceof ae||_0x37ae51 instanceof _e)&&_0x37ae51[_0x4eaa3c(0x388)](),_0x37ae51;}['resend'](){var _0x518e77=_0x2c12ee;throw new Error(_0x518e77(0x1f5));}};ue=Ie([P(0x5,_0x453b21(_0x541c80)),P(0x6,_0x453b21(_0x3a1c35)),P(0x7,_0x7e038c),P(0x8,_0x1912eb),P(0x9,_0x3a8ca8(J))],ue);let Q=class extends Te{constructor(_0x335928,_0x465e29,_0x4840d0,_0x56207b,_0x48677c,_0xd45883,_0x38e90d,_0x1a169a,_0x4ac2ad,_0xdbffb,_0x2b2326,_0x4f2b64,_0x516f9b,_0x112478){var _0x3cf8f6=_0x2c12ee;super(_0x335928,_0x465e29,_0x4840d0,_0x56207b,_0x38e90d,_0x2b2326,_0x4f2b64,_0x4ac2ad,_0x112478),N(this,_0x3cf8f6(0x38a),_0x3cf8f6(0x313)),(this['_acknowledgedAwaitingChangeset']=_0x48677c,this[_0x3cf8f6(0x42c)]=_0xd45883,this['_injector']=_0x1a169a,this[_0x3cf8f6(0x391)]=_0xdbffb,this[_0x3cf8f6(0x1fd)]=_0x516f9b,this['localCacheService']=_0x112478);}[_0x2c12ee(0x2a3)](_0x33b48b){var _0x169171=_0x2c12ee;try{const _0x47251f=[..._0x33b48b,...this[_0x169171(0x42c)]],_0x5950d8=[this['_awaitingChangeset']||this[_0x169171(0x405)]][_0x169171(0x2b7)](_0x392376=>!!_0x392376);let _0xe15b1,_0x4580e8;if(_0x5950d8['length']){const _0x2ec4a5=this[_0x169171(0x1fd)]['transformChangesets'](_0x47251f,_0x5950d8,!0x1);if(!_0x41c9bb(_0x2ec4a5))throw _0x2ec4a5[_0x169171(0x334)];_0xe15b1=_0x2ec4a5[_0x169171(0x277)],_0x4580e8=_0x2ec4a5[_0x169171(0x2d6)];}else _0xe15b1=_0x47251f,_0x4580e8=[];let _0x3809f7=this[_0x169171(0x338)];_0xe15b1[_0x169171(0x486)](_0x30994d=>{var _0x58bf80=_0x169171;let _0x14ed6b;if(_0x3809f7['length']){const _0x309b51=this['_transformService'][_0x58bf80(0x43d)](_0x30994d,_0x3809f7);if(!_0x55e498(_0x309b51))throw _0x309b51['error'];_0x14ed6b=_0x309b51['c1Prime'],_0x3809f7=_0x309b51[_0x58bf80(0x22b)];}else _0x14ed6b=_0x30994d;this[_0x58bf80(0x49e)](_0x14ed6b);}),this[_0x169171(0x405)]&&this['_incrementRevisionNumber'](),this[_0x169171(0x2b9)]&&_0x4580e8[_0x169171(0x33e)]&&(_0x4580e8[0x0][_0x169171(0x38b)]=this[_0x169171(0x484)]());let _0x4d04e0;if(this[_0x169171(0x2b9)]&&_0x3809f7[_0x169171(0x33e)]!==0x0)_0x4d04e0=this[_0x169171(0x3b3)][_0x169171(0x1e5)](ae,this[_0x169171(0x41e)],this[_0x169171(0x21e)],_0x4580e8[0x0],_0x3809f7,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x3809f7[_0x169171(0x33e)]===0x0)_0x4580e8[0x0][_0x169171(0x38b)]=this[_0x169171(0x484)](),_0x4d04e0=this['_injector'][_0x169171(0x1e5)](_e,this[_0x169171(0x41e)],this[_0x169171(0x21e)],_0x4580e8[0x0],this[_0x169171(0x2f6)]);else{if(_0x3809f7[_0x169171(0x33e)]!==0x0){const _0x13e9eb=this['_injector'][_0x169171(0x1e5)](re,this[_0x169171(0x41e)],this[_0x169171(0x21e)],_0x3809f7,this[_0x169171(0x2f6)]);_0x13e9eb[_0x169171(0x2ff)](),_0x4d04e0=_0x13e9eb;}else _0x4d04e0=this['_injector'][_0x169171(0x1e5)](ye,this[_0x169171(0x41e)],this['type'],this[_0x169171(0x2f6)]);}}return _0x4d04e0[_0x169171(0x1e9)](),_0x4d04e0;}catch(_0x45b3d8){return this[_0x169171(0x391)][_0x169171(0x334)](_0x169171(0x373),'failed\x20to\x20apply\x20missed\x20changesets!',_0x45b3d8),this[_0x169171(0x3b3)]['createInstance'](le,this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x2c12ee(0x388)](){var _0xb4da8c=_0x2c12ee;throw new Error(_0xb4da8c(0x348));}[_0x2c12ee(0x3b6)](_0x33eb0a){var _0x1f73ae=_0x2c12ee;return this['_pendingMutations'][_0x1f73ae(0x43e)](_0x33eb0a),this;}[_0x2c12ee(0x1c4)](_0x4b1558){var _0x545083=_0x2c12ee;return this[_0x545083(0x42c)][_0x545083(0x43e)](_0x4b1558),this;}[_0x2c12ee(0x3a2)](_0xcbd843){var _0x593197=_0x2c12ee;if(this[_0x593197(0x2b9)])return this[_0x593197(0x405)]=this[_0x593197(0x2b9)],this['_awaitingChangeset']=null,this;throw new Error(_0x593197(0x44e));}[_0x2c12ee(0x347)](_0x4c62e0){var _0x2c4e51=_0x2c12ee;return this[_0x2c4e51(0x2f2)](!!(_0x4c62e0!=null&&_0x4c62e0[_0x2c4e51(0x1de)]));}[_0x2c12ee(0x37e)](){return this;}[_0x2c12ee(0x383)](){var _0xfe8b6=_0x2c12ee;return this['_injector']['createInstance'](ue,this[_0xfe8b6(0x41e)],this[_0xfe8b6(0x21e)],this[_0xfe8b6(0x2b9)],this[_0xfe8b6(0x338)],this['_handler']);}['toggleOnline'](){return this;}[_0x2c12ee(0x2f2)](_0x15adb2){var _0x47d807=_0x2c12ee;return this['_injector'][_0x47d807(0x1e5)](le,this[_0x47d807(0x41e)],this[_0x47d807(0x21e)],this[_0x47d807(0x2b9)],this['_pendingMutations'],this[_0x47d807(0x2f6)],_0x15adb2);}};Q=Ie([P(0x7,_0x453b21(_0x541c80)),P(0x8,_0x453b21(_0x3a1c35)),P(0x9,_0x307004),P(0xa,_0x7e038c),P(0xb,_0x1912eb),P(0xc,_0x46e7de),P(0xd,_0x3a8ca8(J))],Q);function Ri(_0x49d76c,_0x25dbe0,_0x3c9f4e,_0x4d8dbd,_0x11eac1,_0x34644){var _0x204db2=_0x2c12ee;return _0x4d8dbd&&_0x11eac1['length']?_0x49d76c[_0x204db2(0x1e5)](ae,_0x25dbe0,_0x3c9f4e,_0x4d8dbd,_0x11eac1,_0x34644,void 0x0):_0x4d8dbd?_0x49d76c[_0x204db2(0x1e5)](_e,_0x25dbe0,_0x3c9f4e,_0x4d8dbd,_0x34644):_0x11eac1[_0x204db2(0x33e)]?_0x49d76c[_0x204db2(0x1e5)](re,_0x25dbe0,_0x3c9f4e,_0x11eac1,_0x34644):_0x49d76c[_0x204db2(0x1e5)](ye,_0x25dbe0,_0x3c9f4e,_0x34644);}var Zs=Object[_0x2c12ee(0x461)],wt=(_0x6f58e8,_0x33d457,_0x4d2d20,_0x459120)=>{var _0xbb4bc8=_0x2c12ee;for(var _0x16cc93=_0x459120>0x1?void 0x0:_0x459120?Zs(_0x33d457,_0x4d2d20):_0x33d457,_0x167245=_0x6f58e8[_0xbb4bc8(0x33e)]-0x1,_0x2a9173;_0x167245>=0x0;_0x167245--)(_0x2a9173=_0x6f58e8[_0x167245])&&(_0x16cc93=_0x2a9173(_0x16cc93)||_0x16cc93);return _0x16cc93;},H=(_0x1afc59,_0x3bb939)=>(_0xa9cc91,_0x451ca7)=>_0x3bb939(_0xa9cc91,_0x451ca7,_0x1afc59);let st=class extends _0x406001{constructor(_0x51e9df,_0x350fcf,_0x5be82a,_0x55971c,_0x110c31,_0x1e5409,_0x6f7c0f,_0x58c809,_0x5ddf6a,_0x239944,_0x37bf85,_0x48451a,_0x296a06){var _0x195322=_0x2c12ee;super(),N(this,_0x195322(0x35e),new _0xefb925(null)),N(this,_0x195322(0x403),this[_0x195322(0x35e)][_0x195322(0x273)]()),N(this,'_state'),N(this,_0x195322(0x47f),!0x1),N(this,_0x195322(0x31b),''),N(this,_0x195322(0x3d4),0x0),N(this,_0x195322(0x2fb),this[_0x195322(0x403)][_0x195322(0x1ff)](_0x5bc6ce(_0x29411c=>_0x29411c?_0x29411c[_0x195322(0x38a)]:Ti[_0x195322(0x226)]),_0x3fd227(0x1))),N(this,_0x195322(0x372),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x195322(0x41e)]=_0x51e9df,this[_0x195322(0x2f4)]=_0x350fcf,this[_0x195322(0x228)]=_0x5be82a,this[_0x195322(0x3b3)]=_0x55971c,this['_compressMutationService']=_0x110c31,this['_localeService']=_0x1e5409,this['_revisionService']=_0x6f7c0f,this[_0x195322(0x27a)]=_0x58c809,this[_0x195322(0x391)]=_0x5ddf6a,this['_commandService']=_0x239944,this[_0x195322(0x358)]=_0x37bf85,this[_0x195322(0x36e)]=_0x48451a,this[_0x195322(0x29d)]=_0x296a06);}get['state'](){var _0x394a52=_0x2c12ee;return this[_0x394a52(0x1d0)];}async[_0x2c12ee(0x290)](){var _0x48960e=_0x2c12ee;if(this[_0x48960e(0x404)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x48960e(0x312)]();}[_0x2c12ee(0x263)](){return this['_collaborationPaused']=!0x0,_0x5bb2f3(()=>{var _0x34124e=_0x12ec;this[_0x34124e(0x47f)]=!0x1,this[_0x34124e(0x219)]();});}[_0x2c12ee(0x2a6)](_0x2a3432){this['_onLocalMutation'](_0x2a3432);}[_0x2c12ee(0x48e)](_0x1597a){var _0x10ab2f=_0x2c12ee;this['_state']=_0x1597a,this[_0x10ab2f(0x35e)][_0x10ab2f(0x28e)](_0x1597a);}async['_init'](){var _0x24bad7=_0x2c12ee,_0x41b8e7;this[_0x24bad7(0x48e)](await this['_createInitialState']()),this[_0x24bad7(0x36e)]&&((_0x41b8e7=this['_singleActiveUnitService'])==null||_0x41b8e7[_0x24bad7(0x2fa)](this[_0x24bad7(0x41e)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x24bad7(0x35f)](this[_0x24bad7(0x41e)])[_0x24bad7(0x281)](_0x44a7d8=>{var _0xab6546=_0x24bad7;this['_logService'][_0xab6546(0x30a)](_0xab6546(0x408),_0xab6546(0x353),_0x44a7d8),_0x44a7d8===Ei[_0xab6546(0x402)]?(this['_eventService'][_0xab6546(0x20a)]({'id':ne[_0xab6546(0x389)]}),this[_0xab6546(0x358)][_0xab6546(0x412)](new _0x1884a7(this[_0xab6546(0x41e)])['id'],!0x1),this['_permissionService'][_0xab6546(0x2db)](!0x1)):(this[_0xab6546(0x358)][_0xab6546(0x412)](new _0x1884a7(this[_0xab6546(0x41e)])['id'],!0x0),this[_0xab6546(0x358)][_0xab6546(0x2db)](!0x0));})));let _0x30a6f5=!0x1;return this['disposeWithMe'](this[_0x24bad7(0x2f4)][_0x24bad7(0x1d7)]['subscribe'](_0x562932=>{var _0x5a43b4=_0x24bad7;_0x562932===Se['ONLINE']?this[_0x5a43b4(0x1dd)](_0x30a6f5):_0x562932===Se['OFFLINE']&&(_0x30a6f5=!0x0,this[_0x5a43b4(0x2cc)]());})),this[_0x24bad7(0x2b6)](this[_0x24bad7(0x2f4)]['event$'][_0x24bad7(0x281)](_0x15399c=>{var _0x59abba=_0x24bad7;try{switch(_0x15399c[_0x59abba(0x23b)]){case _0x36e28b[_0x59abba(0x200)]:{this[_0x59abba(0x31f)](_0x62bc33(_0x15399c['data']));break;}case _0x36e28b[_0x59abba(0x351)]:{this[_0x59abba(0x459)](_0x15399c[_0x59abba(0x3d7)]);break;}case _0x36e28b['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x36e28b['CHANGESET_SHOULD_RETRY']:{this[_0x59abba(0x252)](_0x15399c[_0x59abba(0x3d7)]);break;}case _0x36e28b[_0x59abba(0x2ad)]:{this['_onFetchMissResult'](_0x15399c[_0x59abba(0x3d7)][_0x59abba(0x1da)][_0x59abba(0x293)](_0x475d91=>_0x62bc33(_0x475d91)));break;}case _0x36e28b[_0x59abba(0x339)]:{this[_0x59abba(0x38f)]({'isPermissionRej':!0x0});break;}case _0x36e28b[_0x59abba(0x3cc)]:break;}}catch(_0x174905){throw console[_0x59abba(0x334)](_0x59abba(0x44a),_0x174905),_0x174905;}})),this['_state'];}[_0x2c12ee(0x47d)](){var _0x3abfed=_0x2c12ee;this[_0x3abfed(0x372)]=!0x1;}[_0x2c12ee(0x36b)](){var _0x5eb714=_0x2c12ee;if(this[_0x5eb714(0x372)])throw new Error(_0x5eb714(0x3c7));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x44cace){var _0x595fb3=_0x2c12ee;this[_0x595fb3(0x36b)](),this[_0x595fb3(0x48e)](this[_0x595fb3(0x1d0)][_0x595fb3(0x3b6)](_0x44cace)),this[_0x595fb3(0x47d)]();}[_0x2c12ee(0x31f)](_0x56e6c9){var _0x416e2f=_0x2c12ee;if(!(_0x56e6c9[_0x416e2f(0x21c)]<=this[_0x416e2f(0x27e)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x416e2f(0x47f)]){this['_remoteChangesetQueue'][_0x416e2f(0x43e)](_0x56e6c9);return;}this['_applyRemoteChangeset'](_0x56e6c9);}}['_exhaustRemoteChangesetQueue'](){var _0x116a9c=_0x2c12ee;this[_0x116a9c(0x318)][_0x116a9c(0x486)](_0x317c0d=>this['_applyRemoteChangeset'](_0x317c0d)),this[_0x116a9c(0x318)]=[];}['_applyRemoteChangeset'](_0x3f6cf9){var _0x475735=_0x2c12ee;const _0x3d8641=this['_compressMutationService'][_0x475735(0x2a0)][_0x475735(0x1c3)](this[_0x475735(0x201)]['interceptor'][_0x475735(0x445)]()[_0x475735(0x49b)])(_0x3f6cf9[_0x475735(0x460)],null)||_0x3f6cf9[_0x475735(0x460)],_0x226f91={..._0x3f6cf9,'mutations':_0x3d8641};this['_lockTransition'](),this[_0x475735(0x48e)](this[_0x475735(0x1d0)][_0x475735(0x1c4)](_0x226f91)),this['_unlockTransition']();}['_onRemoteACK'](_0x24be54){var _0x555c0c=_0x2c12ee;this[_0x555c0c(0x36b)](),this[_0x555c0c(0x48e)](this[_0x555c0c(0x1d0)]['onRemoteAck'](_0x24be54)),this[_0x555c0c(0x47d)]();}['_onRemoteRejected'](_0x556e0b){var _0x4078a7=_0x2c12ee;this[_0x4078a7(0x36b)](),this['_updateState'](this[_0x4078a7(0x1d0)][_0x4078a7(0x347)](_0x556e0b)),this[_0x4078a7(0x47d)]();}[_0x2c12ee(0x252)](_0x23de45){var _0x4615fe=_0x2c12ee;this[_0x4615fe(0x36b)](),this[_0x4615fe(0x48e)](this['_state'][_0x4615fe(0x37e)](_0x23de45)),this[_0x4615fe(0x47d)]();}['_onFetchMissResult'](_0x3bf543){var _0x247188=_0x2c12ee;if(!(this[_0x247188(0x1d0)]instanceof Q))throw new TypeError(_0x247188(0x425));const _0x1b5a28=_0x3bf543[_0x247188(0x293)](_0x26573a=>{var _0x4e7518=_0x247188;const _0x276f10=this[_0x4e7518(0x201)][_0x4e7518(0x2a0)][_0x4e7518(0x1c3)](this[_0x4e7518(0x201)]['interceptor'][_0x4e7518(0x445)]()[_0x4e7518(0x49b)])(_0x26573a[_0x4e7518(0x460)],null)||_0x26573a['mutations'];return{..._0x26573a,'mutations':_0x276f10};});this[_0x247188(0x36b)](),this[_0x247188(0x48e)](this[_0x247188(0x1d0)][_0x247188(0x2a3)](_0x1b5a28)),this['_unlockTransition']();}[_0x2c12ee(0x2cc)](){var _0x111a1e=_0x2c12ee;this[_0x111a1e(0x36b)](),this[_0x111a1e(0x48e)](this[_0x111a1e(0x1d0)][_0x111a1e(0x383)]()),this[_0x111a1e(0x47d)]();}['_toggleOnline'](_0x3838a3=!0x1){var _0x93fde1=_0x2c12ee;this[_0x93fde1(0x36b)](),this[_0x93fde1(0x48e)](this[_0x93fde1(0x1d0)][_0x93fde1(0x4a0)]()),this['_unlockTransition']();const _0x2d7e9b=this[_0x93fde1(0x1d0)];_0x3838a3&&_0x2d7e9b instanceof ye&&(this[_0x93fde1(0x36b)](),this['_updateState'](_0x2d7e9b[_0x93fde1(0x1df)]()),this['_unlockTransition']());}async[_0x2c12ee(0x39e)](){return new Promise(_0x5d7d08=>{var _0x44a1ef=_0x12ec;this[_0x44a1ef(0x2f4)][_0x44a1ef(0x1d7)][_0x44a1ef(0x1ff)](_0x309cfb(0x1))[_0x44a1ef(0x281)](async _0x25a0d1=>{var _0x214bf9=_0x44a1ef;_0x5d7d08(await this[_0x214bf9(0x37b)](_0x25a0d1===Se[_0x214bf9(0x3fa)]));});});}[_0x2c12ee(0x4c0)](){var _0x407334=_0x2c12ee;const _0x3390e4=this[_0x407334(0x41e)];return{'onStateChange':(_0x2dd574,_0xecf811)=>{var _0x2f6174=_0x407334;if(_0x2dd574!==this[_0x2f6174(0x1d0)])throw new Error(_0x2f6174(0x3af)+_0x2dd574[_0x2f6174(0x38a)]+_0x2f6174(0x40b)+_0xecf811[_0x2f6174(0x38a)]+'\x0aCurrent:\x20'+this[_0x2f6174(0x1d0)]['status']);this[_0x2f6174(0x48e)](_0xecf811);},'onSendChangeset':_0x15c817=>{var _0x10ea06=_0x407334;_0x15c817[_0x10ea06(0x1e8)]||(_0x15c817['sid']=this[_0x10ea06(0x31b)],_0x15c817['reqId']=++this[_0x10ea06(0x3d4)]);const _0x3c22df={'eventID':_0x36e28b['SUBMIT_CHANGESET'],'data':{'unitID':_0x15c817[_0x10ea06(0x41e)],'unitType':this[_0x10ea06(0x228)],'changeset':_0x15c817,'memberID':this[_0x10ea06(0x2f4)][_0x10ea06(0x1d3)]()}};this['session'][_0x10ea06(0x487)](_0x3c22df,this[_0x10ea06(0x41e)]);},'onMissingChangesets':({from:_0x3194a0,to:_0x53826d})=>{var _0x1a020b=_0x407334;this[_0x1a020b(0x391)]['debug'](_0x1a020b(0x408),_0x1a020b(0x43f)+_0x3194a0+'\x20to\x20'+_0x53826d);const _0x230ef4={'eventID':_0x36e28b['FETCH_MISSING'],'data':{'unitID':_0x3390e4,'unitType':this[_0x1a020b(0x228)],'from':_0x3194a0,'to':_0x53826d}};this['session'][_0x1a020b(0x487)](_0x230ef4,this[_0x1a020b(0x41e)]);}};}async[_0x2c12ee(0x37b)](_0x548047){var _0x467de4=_0x2c12ee,_0x862971,_0x17eee3,_0x285271;const _0x54fca8=await((_0x862971=this[_0x467de4(0x29d)])==null?void 0x0:_0x862971['loadOfflineData'](this[_0x467de4(0x41e)])),_0xe8bbcd=(_0x17eee3=_0x54fca8==null?void 0x0:_0x54fca8[_0x467de4(0x460)])!=null?_0x17eee3:[],_0x400b98=(_0x285271=_0x54fca8==null?void 0x0:_0x54fca8[_0x467de4(0x264)])!=null?_0x285271:null,_0x201d21=!!(_0x400b98!=null&&_0x400b98['sid'])&&!!(_0x400b98!=null&&_0x400b98[_0x467de4(0x432)]);this[_0x467de4(0x31b)]=_0x201d21?_0x400b98[_0x467de4(0x1e8)]:_0x30fa0a(),this[_0x467de4(0x3d4)]=_0x201d21?_0x400b98['reqId']:0x0;const _0x18cfce=this[_0x467de4(0x41e)];try{this[_0x467de4(0x34c)](_0x400b98,_0xe8bbcd);}catch(_0x4588a6){this[_0x467de4(0x391)][_0x467de4(0x334)](_0x4588a6);}const _0x4ea4c9=this[_0x467de4(0x4c0)]();if(_0x548047){const _0x5ad493=Ri(this[_0x467de4(0x3b3)],_0x18cfce,this[_0x467de4(0x228)],_0x400b98,_0xe8bbcd,_0x4ea4c9);return _0x5ad493 instanceof re?_0x5ad493[_0x467de4(0x2ff)]():(_0x5ad493 instanceof ae||_0x5ad493 instanceof _e)&&_0x5ad493[_0x467de4(0x388)](),_0x5ad493;}return this[_0x467de4(0x3b3)][_0x467de4(0x1e5)](ue,_0x18cfce,this[_0x467de4(0x228)],_0x400b98,_0xe8bbcd,_0x4ea4c9);}[_0x2c12ee(0x34c)](_0x5b6f1c,_0x531569){var _0x36ed53=_0x2c12ee,_0x110bb1,_0x6634b5;const _0x4fe0a5=this[_0x36ed53(0x201)][_0x36ed53(0x2a0)][_0x36ed53(0x1c3)](this[_0x36ed53(0x201)][_0x36ed53(0x2a0)][_0x36ed53(0x445)]()[_0x36ed53(0x49b)]);(_0x110bb1=_0x4fe0a5((_0x5b6f1c==null?void 0x0:_0x5b6f1c[_0x36ed53(0x460)])||[],null))==null||_0x110bb1['forEach'](_0x463985=>this[_0x36ed53(0x397)][_0x36ed53(0x3f4)](_0x463985['id'],_0x463985[_0x36ed53(0x25b)])),(_0x6634b5=_0x4fe0a5(_0x531569||[],null))==null||_0x6634b5[_0x36ed53(0x486)](_0x4521fe=>this[_0x36ed53(0x397)][_0x36ed53(0x3f4)](_0x4521fe['id'],_0x4521fe[_0x36ed53(0x25b)]));}};st=wt([H(0x3,_0x453b21(_0x541c80)),H(0x4,_0x453b21(_0x2e0943)),H(0x5,_0x453b21(_0x3ae82e)),H(0x6,_0x453b21(_0x3a1c35)),H(0x7,_0x453b21(ve)),H(0x8,_0x307004),H(0x9,_0x7e038c),H(0xa,_0x1cc61e),H(0xb,_0x3a8ca8(ht)),H(0xc,_0x3a8ca8(J))],st);let St=class extends st{constructor(_0x182a0b,_0x461a8e,_0xb75257,_0x5b5da7,_0x53144e,_0x24abd4,_0x4adec9,_0x232470,_0x25a72a,_0x41511b,_0x209bfb,_0x386e64,_0x54c7f1){var _0x3abb43=_0x2c12ee;super(_0x182a0b,_0xb75257,_0x461a8e,_0x5b5da7,_0x53144e,_0x24abd4,_0x4adec9,_0x232470,_0x25a72a,_0x41511b,_0x209bfb,_0x386e64,_0x54c7f1),N(this,_0x3abb43(0x38d),null),(this[_0x3abb43(0x41e)]=_0x182a0b,this[_0x3abb43(0x21e)]=_0x461a8e);}[_0x2c12ee(0x45d)](_0x3f4861){this['_handlerCallback']=_0x3f4861;}[_0x2c12ee(0x469)](){var _0x2de3e8=_0x2c12ee;this[_0x2de3e8(0x38d)]=null,super[_0x2de3e8(0x469)]();}[_0x2c12ee(0x4c0)](){var _0x755ea5=_0x2c12ee;const _0x5ea216=super[_0x755ea5(0x4c0)]();return _0x5ea216[_0x755ea5(0x2e4)]=_0x2efca2=>{var _0x5f2470=_0x755ea5,_0x166579,_0x1f86a6;return(_0x1f86a6=(_0x166579=this[_0x5f2470(0x38d)])==null?void 0x0:_0x166579[_0x5f2470(0x2e4)])==null?void 0x0:_0x1f86a6['call'](_0x166579,_0x2efca2);},_0x5ea216[_0x755ea5(0x1be)]=_0x45027b=>{var _0x54fe05=_0x755ea5,_0x56c95f,_0x3087f7;return(_0x3087f7=(_0x56c95f=this[_0x54fe05(0x38d)])==null?void 0x0:_0x56c95f[_0x54fe05(0x1be)])==null?void 0x0:_0x3087f7[_0x54fe05(0x431)](_0x56c95f,_0x45027b);},_0x5ea216[_0x755ea5(0x44d)]=_0x3de92a=>{var _0x13f489=_0x755ea5,_0x5750cc,_0x19560c;return(_0x19560c=(_0x5750cc=this[_0x13f489(0x38d)])==null?void 0x0:_0x5750cc['onTransformSelections'])==null?void 0x0:_0x19560c['call'](_0x5750cc,_0x3de92a);},_0x5ea216[_0x755ea5(0x4a6)]=_0x4fc1c9=>{var _0x1ff654,_0x56b298;return(_0x56b298=(_0x1ff654=this['_handlerCallback'])==null?void 0x0:_0x1ff654['onSyncEditingCollabCursor'])==null?void 0x0:_0x56b298['call'](_0x1ff654,_0x4fc1c9);},_0x5ea216[_0x755ea5(0x1c9)]=_0x5cb7bb=>{var _0x4d0e97=_0x755ea5,_0x4505ca,_0x4fc071,_0x2e7e80;if(!((_0x4505ca=this['_handlerCallback'])!=null&&_0x4505ca[_0x4d0e97(0x1c9)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2e7e80=(_0x4fc071=this[_0x4d0e97(0x38d)])==null?void 0x0:_0x4fc071[_0x4d0e97(0x1c9)])==null?void 0x0:_0x2e7e80[_0x4d0e97(0x431)](_0x4fc071,_0x5cb7bb);},_0x5ea216[_0x755ea5(0x31a)]=_0x9c76d3=>{var _0x1fb1d2=_0x755ea5,_0xfa33a1,_0x1cac4c,_0x3dff2b;if(!((_0xfa33a1=this['_handlerCallback'])!=null&&_0xfa33a1[_0x1fb1d2(0x31a)]))throw new Error(_0x1fb1d2(0x3c5));return(_0x3dff2b=(_0x1cac4c=this[_0x1fb1d2(0x38d)])==null?void 0x0:_0x1cac4c[_0x1fb1d2(0x31a)])==null?void 0x0:_0x3dff2b[_0x1fb1d2(0x431)](_0x1cac4c,_0x9c76d3);},_0x5ea216;}async[_0x2c12ee(0x312)](){var _0x371062=_0x2c12ee;const _0xac2849=await super[_0x371062(0x312)]();return this['disposeWithMe'](this[_0x371062(0x397)]['onCommandExecuted']((_0xf07d98,_0x5c14d0)=>{var _0x45eaf9=_0x371062;if(_0xf07d98[_0x45eaf9(0x21e)]!==_0xad6b7[_0x45eaf9(0x2e2)]||_0x5c14d0!=null&&_0x5c14d0[_0x45eaf9(0x3e7)]||_0x5c14d0!=null&&_0x5c14d0[_0x45eaf9(0x42a)]||_0xf07d98['id']===_0x2cd46a['id'])return;const _0x11fb29=_0xf07d98['params'];if((_0x11fb29==null?void 0x0:_0x11fb29[_0x45eaf9(0x449)])!==this['unitID'])return;const _0x568cd1=_0xf07d98,_0x1ab10b=this[_0x45eaf9(0x201)]['interceptor']['fetchThroughInterceptors'](this[_0x45eaf9(0x201)][_0x45eaf9(0x2a0)][_0x45eaf9(0x445)]()['COMPRESS_MUTATION_SEND'])([_0x568cd1],null)||[_0x568cd1];this[_0x45eaf9(0x3d2)](_0x1ab10b[0x0]);})),_0xac2849;}};St=wt([H(0x3,_0x453b21(_0x541c80)),H(0x4,_0x453b21(_0x2e0943)),H(0x5,_0x453b21(_0x3ae82e)),H(0x6,_0x453b21(_0x3a1c35)),H(0x7,_0x453b21(ve)),H(0x8,_0x307004),H(0x9,_0x7e038c),H(0xa,_0x1cc61e),H(0xb,_0x3a8ca8(ht)),H(0xc,_0x3a8ca8(J))],St);let Et=class extends st{constructor(_0x4790db,_0x1ba689,_0x588388,_0x285af6,_0x41bae9,_0x4b6806,_0x5935b2,_0x371390,_0x2d859c,_0x339c46,_0x351332,_0xda867d,_0x1498c9,_0x2001e5){var _0x35d1af=_0x2c12ee;super(_0x4790db,_0x588388,_0x1ba689,_0x285af6,_0x41bae9,_0x4b6806,_0x5935b2,_0x2d859c,_0x339c46,_0x351332,_0xda867d,_0x1498c9,_0x2001e5),this['unitID']=_0x4790db,this['type']=_0x1ba689,this[_0x35d1af(0x247)]=_0x371390;}[_0x2c12ee(0x4c0)](){var _0x453cd5=_0x2c12ee;const _0x3c687c=super[_0x453cd5(0x4c0)]();return _0x3c687c['onTransformSelections']=_0x45ad2e=>this['_sheetTransformSelectionsService'][_0x453cd5(0x2d0)](_0x45ad2e),_0x3c687c;}async[_0x2c12ee(0x312)](){var _0x30dc56=_0x2c12ee;const _0x30a65b=await super[_0x30dc56(0x312)]();return this[_0x30dc56(0x2b6)](this[_0x30dc56(0x397)][_0x30dc56(0x2d9)]((_0x27fe7b,_0x3514a8)=>{var _0x584527=_0x30dc56;if(_0x27fe7b[_0x584527(0x21e)]!==_0xad6b7[_0x584527(0x2e2)]||_0x3514a8!=null&&_0x3514a8['fromCollab']||_0x3514a8!=null&&_0x3514a8['onlyLocal'])return;const _0x26941b=_0x27fe7b[_0x584527(0x25b)];if((_0x26941b==null?void 0x0:_0x26941b['unitId'])!==this[_0x584527(0x41e)])return;const _0x1c4fd3=_0x27fe7b,_0x1cb0b1=this[_0x584527(0x201)][_0x584527(0x2a0)][_0x584527(0x1c3)](this[_0x584527(0x201)][_0x584527(0x2a0)][_0x584527(0x445)]()[_0x584527(0x2ce)])([_0x1c4fd3],null)||[_0x1c4fd3];this['_onLocalMutation'](_0x1cb0b1[0x0]);})),_0x30a65b;}};Et=wt([H(0x3,_0x453b21(_0x541c80)),H(0x4,_0x453b21(_0x2e0943)),H(0x5,_0x453b21(_0x3ae82e)),H(0x6,_0x453b21(_0x3a1c35)),H(0x7,_0x453b21(it)),H(0x8,_0x453b21(ve)),H(0x9,_0x307004),H(0xa,_0x7e038c),H(0xb,_0x1cc61e),H(0xc,_0x3a8ca8(ht)),H(0xd,_0x3a8ca8(J))],Et);var Qs=Object[_0x2c12ee(0x461)],en=(_0x1a53d4,_0x5c8e75,_0x280f95,_0xbcb846)=>{var _0x147b89=_0x2c12ee;for(var _0x2e4eb3=_0xbcb846>0x1?void 0x0:_0xbcb846?Qs(_0x5c8e75,_0x280f95):_0x5c8e75,_0x1b86a4=_0x1a53d4[_0x147b89(0x33e)]-0x1,_0x31e5af;_0x1b86a4>=0x0;_0x1b86a4--)(_0x31e5af=_0x1a53d4[_0x1b86a4])&&(_0x2e4eb3=_0x31e5af(_0x2e4eb3)||_0x2e4eb3);return _0x2e4eb3;},Be=(_0x9037f3,_0x4a0517)=>(_0x3e0b99,_0x5e446e)=>_0x4a0517(_0x3e0b99,_0x5e446e,_0x9037f3);let nt=class extends _0x406001{constructor(_0x260351,_0x3f8cbb,_0x447bd6,_0xd2273c){var _0x1f8565=_0x2c12ee,_0x45022a;super(),N(this,'_entities',new Map()),N(this,_0x1f8565(0x494),new _0x45fb15()),N(this,_0x1f8565(0x421),this[_0x1f8565(0x494)][_0x1f8565(0x273)]()),(this[_0x1f8565(0x3b3)]=_0x260351,this[_0x1f8565(0x3f7)]=_0x3f8cbb,this[_0x1f8565(0x274)]=_0x447bd6,this[_0x1f8565(0x3cd)]=_0xd2273c,((_0x45022a=this[_0x1f8565(0x274)][_0x1f8565(0x3e2)](K))==null?void 0x0:_0x45022a['enableCollaboration'])!==!0x1&&this[_0x1f8565(0x312)]());}['dispose'](){var _0x4ef655=_0x2c12ee;super['dispose'](),this['_entities'][_0x4ef655(0x486)](_0x33bbd3=>_0x33bbd3[_0x4ef655(0x469)]()),this[_0x4ef655(0x33b)]['clear']();}[_0x2c12ee(0x3a8)](_0x19af1f){var _0x4c3460=_0x2c12ee,_0x3de93b;return(_0x3de93b=this[_0x4c3460(0x33b)]['get'](_0x19af1f))!=null?_0x3de93b:null;}['getCollabEntity$'](_0x1dc675){var _0x348faf=_0x2c12ee;const _0x391dff=this[_0x348faf(0x3a8)](_0x1dc675);return _0x391dff?_0x4ddcb0(_0x391dff):this[_0x348faf(0x494)][_0x348faf(0x1ff)](_0x3cc0bf(_0x2c18f0=>_0x2c18f0[_0x348faf(0x41e)]===_0x1dc675));}[_0x2c12ee(0x40f)](_0x59fc36){var _0x276f5d=_0x2c12ee;return _0x413d7a(this['getCollabEntity$'](_0x59fc36)[_0x276f5d(0x1ff)](_0x11ece9(()=>{})));}[_0x2c12ee(0x312)](){var _0x2109e0=_0x2c12ee;this[_0x2109e0(0x3cd)][_0x2109e0(0x498)](_0x3fcee3[_0x2109e0(0x464)])[_0x2109e0(0x1ff)](_0x56722c(this[_0x2109e0(0x354)]),_0x470285(0x10))[_0x2109e0(0x281)](async _0x1b6b66=>{var _0x1987dd=_0x2109e0;const _0x50cc34=_0x1b6b66[_0x1987dd(0x3ed)](),_0x1b056b=await this['_startCollaboration'](_0x50cc34,Z[_0x1987dd(0x464)]);this[_0x1987dd(0x33b)][_0x1987dd(0x25c)](_0x50cc34,_0x1b056b);}),this[_0x2109e0(0x3cd)][_0x2109e0(0x498)](_0x3fcee3['UNIVER_DOC'])['pipe'](_0x56722c(this[_0x2109e0(0x354)]),_0x470285(0x10))[_0x2109e0(0x1ff)](_0x3cc0bf(_0x220fda=>!_0x220fda[_0x2109e0(0x3ed)]()[_0x2109e0(0x352)]('__')))[_0x2109e0(0x281)](async _0x15aad4=>{var _0x587076=_0x2109e0;const _0x4c12e4=_0x15aad4[_0x587076(0x3ed)](),_0x5da1c2=await this[_0x587076(0x3f5)](_0x4c12e4,Z[_0x587076(0x3bd)]);this[_0x587076(0x33b)][_0x587076(0x25c)](_0x4c12e4,_0x5da1c2);}),_0x4f40c3(this[_0x2109e0(0x3cd)][_0x2109e0(0x465)](_0x3fcee3[_0x2109e0(0x464)]),this[_0x2109e0(0x3cd)][_0x2109e0(0x465)](_0x3fcee3[_0x2109e0(0x3bd)]))[_0x2109e0(0x1ff)](_0x56722c(this['dispose$']))[_0x2109e0(0x281)](_0x1e7d80=>{var _0x45a783=_0x2109e0;const _0x4a5032=_0x1e7d80['getUnitId'](),_0x2ae14a=this[_0x45a783(0x33b)][_0x45a783(0x279)](_0x4a5032);_0x2ae14a&&(_0x2ae14a[_0x45a783(0x469)](),this[_0x45a783(0x33b)]['delete'](_0x4a5032));});}async[_0x2c12ee(0x3f5)](_0x555234,_0x859beb){var _0x17e2b5=_0x2c12ee;const _0x36715f=await this[_0x17e2b5(0x3f7)][_0x17e2b5(0x276)](_0x555234),_0x2242fe=this['_injector'][_0x17e2b5(0x1e5)](this[_0x17e2b5(0x3c9)](_0x859beb),_0x555234,_0x859beb,_0x36715f);return await _0x2242fe[_0x17e2b5(0x290)](),this[_0x17e2b5(0x494)][_0x17e2b5(0x28e)](_0x2242fe),_0x2242fe;}[_0x2c12ee(0x3c9)](_0x28f339){var _0x2344c0=_0x2c12ee;switch(_0x28f339){case Z[_0x2344c0(0x3bd)]:return St;case Z[_0x2344c0(0x464)]:return Et;default:throw new Error(_0x2344c0(0x374)+_0x28f339);}}};nt=en([Be(0x0,_0x453b21(_0x541c80)),Be(0x1,_0x453b21(Le)),Be(0x2,_0x2e403e),Be(0x3,_0xf2d159)],nt);var tn=Object[_0x2c12ee(0x461)],sn=(_0x2948dd,_0x307770,_0x376be7,_0x5199bc)=>{var _0x39334f=_0x2c12ee;for(var _0x24fbf9=_0x5199bc>0x1?void 0x0:_0x5199bc?tn(_0x307770,_0x376be7):_0x307770,_0x16b7d9=_0x2948dd[_0x39334f(0x33e)]-0x1,_0x1bf472;_0x16b7d9>=0x0;_0x16b7d9--)(_0x1bf472=_0x2948dd[_0x16b7d9])&&(_0x24fbf9=_0x1bf472(_0x24fbf9)||_0x24fbf9);return _0x24fbf9;},Wt=(_0x5c81ad,_0x58cc3f)=>(_0x28e593,_0x446b28)=>_0x58cc3f(_0x28e593,_0x446b28,_0x5c81ad);const nn=_0x2c12ee(0x406),rn='Univer';let It=class extends _0x553f3d{constructor(_0x6314b6,_0x46a654){var _0x37b822=_0x2c12ee;super(),this[_0x37b822(0x3cd)]=_0x6314b6,this['_configService']=_0x46a654,this[_0x37b822(0x312)]();}['_init'](){var _0x56bec5=_0x2c12ee;this[_0x56bec5(0x2b6)](this[_0x56bec5(0x3cd)][_0x56bec5(0x39a)][_0x56bec5(0x281)](()=>{var _0x3f8f31=_0x56bec5,_0xbd1adc;const _0x2bd7b1=this['_univerInstanceService'][_0x3f8f31(0x2dd)]();let _0x5ec7c6=(_0xbd1adc=this[_0x3f8f31(0x274)][_0x3f8f31(0x3e2)](nn))!=null?_0xbd1adc:rn;_0x2bd7b1 instanceof _0x38f2af&&(_0x5ec7c6=_0x2bd7b1[_0x3f8f31(0x3a7)]),document[_0x3f8f31(0x2a5)]=_0x5ec7c6;}));}};It=sn([Wt(0x0,_0xf2d159),Wt(0x1,_0x2e403e)],It);var an=Object[_0x2c12ee(0x461)],on=(_0x3e1734,_0x57706f,_0x545438,_0x162da2)=>{var _0x3202da=_0x2c12ee;for(var _0x3cc279=_0x162da2>0x1?void 0x0:_0x162da2?an(_0x57706f,_0x545438):_0x57706f,_0xbd10=_0x3e1734[_0x3202da(0x33e)]-0x1,_0x12815b;_0xbd10>=0x0;_0xbd10--)(_0x12815b=_0x3e1734[_0xbd10])&&(_0x3cc279=_0x12815b(_0x3cc279)||_0x3cc279);return _0x3cc279;},dt=(_0x43d741,_0x322a4b)=>(_0x4c33ad,_0x2e7f3d)=>_0x322a4b(_0x4c33ad,_0x2e7f3d,_0x43d741);let rt=class{constructor(_0x885f59,_0x5a7861,_0x5f1ac1){var _0x4fb959=_0x2c12ee;this['_configService']=_0x885f59,this[_0x4fb959(0x392)]=_0x5a7861,this[_0x4fb959(0x48d)]=_0x5f1ac1,this['init']();}[_0x2c12ee(0x290)](){var _0x5a05f2=_0x2c12ee;this[_0x5a05f2(0x392)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3dce6b,_0x2af45c)=>_0x2af45c(_0x3dce6b)[_0x5a05f2(0x1ff)](_0x497e81(async _0x15b537=>{var _0x207357=_0x5a05f2;const _0x3dc2a4=_0x15b537;if(_0x3dc2a4[_0x207357(0x38a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t'](_0x207357(0x1ca)))){const _0x47084c=window[_0x207357(0x4b3)](window[_0x207357(0x215)][_0x207357(0x4be)]);window[_0x207357(0x215)]['href']=this['_getLoginPath']()+_0x207357(0x440)+_0x47084c;}}return _0x3dc2a4;}))});}[_0x2c12ee(0x411)](){var _0x1e49fa=_0x2c12ee,_0x435dbe,_0x2159ac;const _0x3f0e0f=this[_0x1e49fa(0x274)]['getConfig'](ys),_0x1a7602=this[_0x1e49fa(0x274)][_0x1e49fa(0x3e2)](K);return(_0x2159ac=(_0x435dbe=_0x1a7602==null?void 0x0:_0x1a7602['loginUrlKey'])!=null?_0x435dbe:_0x3f0e0f)!=null?_0x2159ac:Ns;}};rt=on([dt(0x0,_0x2e403e),dt(0x1,_0x453b21(_0x51fdde)),dt(0x2,_0x453b21(_0x3ae82e))],rt);var cn=Object[_0x2c12ee(0x461)],hn=(_0x376aa6,_0x221360,_0x10a73d,_0x1f75c9)=>{var _0x25f186=_0x2c12ee;for(var _0x625c95=_0x1f75c9>0x1?void 0x0:_0x1f75c9?cn(_0x221360,_0x10a73d):_0x221360,_0x3b4982=_0x376aa6[_0x25f186(0x33e)]-0x1,_0x29ae17;_0x3b4982>=0x0;_0x3b4982--)(_0x29ae17=_0x376aa6[_0x3b4982])&&(_0x625c95=_0x29ae17(_0x625c95)||_0x625c95);return _0x625c95;},Kt=(_0x25f110,_0x48111e)=>(_0x2e8bf8,_0x18c8b9)=>_0x48111e(_0x2e8bf8,_0x18c8b9,_0x25f110);const Oi='AUTHZ_URL_KEY',_n=_0x2c12ee(0x345);let Tt=class extends _0x553f3d{constructor(_0x1b54f8,_0x36a25e){var _0x3274e5=_0x2c12ee;super(),this[_0x3274e5(0x241)]=_0x1b54f8,this[_0x3274e5(0x274)]=_0x36a25e,this[_0x3274e5(0x27d)]();}['_initMergeInterceptor'](){var _0x1c0b34=_0x2c12ee;const _0x809785=this;this[_0x1c0b34(0x2b6)](this[_0x1c0b34(0x241)][_0x1c0b34(0x20f)]({'priority':0x3e7,'interceptor':_0x525110({'isMatch'(_0x5dbba7){var _0x2cb946=_0x1c0b34,_0x1fe06a;if(_0x5dbba7['method']===_0x2cb946(0x225)&&((_0x1fe06a=_0x5dbba7['requestParams'])!=null&&_0x1fe06a['body'])){const {objectID:_0x5282c9,objectType:_0x45d494}=_0x5dbba7[_0x2cb946(0x474)][_0x2cb946(0x2ef)]||{};if(!_0x5282c9||_0x45d494===void 0x0)return!0x1;const _0x267857=_0x809785['_getAPIPrefixPath']()+'/'+_0x45d494+'/object/'+_0x5282c9+_0x2cb946(0x49c);if(_0x5dbba7[_0x2cb946(0x21b)]===_0x267857)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b5ff4){var _0x1b89c3=_0x1c0b34,_0x74147;return(_0x74147=_0x4b5ff4[_0x1b89c3(0x474)])==null?void 0x0:_0x74147[_0x1b89c3(0x2ef)];},'mergeParamsToRequest'(_0x51f015,_0x145966){var _0x62f0f5=_0x1c0b34;const _0x3c266b=_0x809785[_0x62f0f5(0x2e7)]()+_0x62f0f5(0x379),_0x5258b4=_0x51f015[_0x62f0f5(0x39d)]((_0x486b95,_0x4d644c)=>{var _0x49a48b=_0x62f0f5;const {unitID:_0x43793e,objectID:_0x1afac2,objectType:_0x36b8cd,actions:_0x1b98d7}=_0x4d644c;return _0x486b95[_0x43793e]||(_0x486b95[_0x43793e]={}),_0x486b95[_0x43793e][_0x1afac2]||(_0x486b95[_0x43793e][_0x1afac2]={'objectID':_0x1afac2,'objectType':_0x36b8cd,'actions':[]}),_0x486b95[_0x43793e][_0x1afac2][_0x49a48b(0x2ee)][_0x49a48b(0x43e)](..._0x1b98d7),_0x486b95;},{}),_0x4e42f1=[];for(const _0x2edb58 in _0x5258b4)for(const _0x3d7e70 in _0x5258b4[_0x2edb58]){const {actions:_0x4a542b,objectType:_0x5591e5}=_0x5258b4[_0x2edb58][_0x3d7e70],_0x27573e=[...new Set(_0x4a542b)];_0x4e42f1['push']({'unitID':_0x2edb58,'objectID':_0x3d7e70,'objectType':_0x5591e5,'actions':_0x27573e});}return new _0x5bcebe(_0x62f0f5(0x225),_0x3c266b,{'headers':_0x145966[_0x62f0f5(0x25f)],'withCredentials':_0x145966['withCredentials'],'responseType':_0x145966[_0x62f0f5(0x31c)],'body':{'requests':_0x4e42f1}});}},{'distributeResult'(_0x4df6a7,_0x1d4e6c){var _0x10565f=_0x1c0b34;const {objectActions:_0x146b02}=_0x4df6a7;return _0x1d4e6c[_0x10565f(0x293)](_0x521238=>{var _0x7f8e6c=_0x10565f;const {unitID:_0x1298b4,objectID:_0x1e7b61,actions:_0x1e4f4a}=_0x521238,_0x18112=_0x146b02[_0x7f8e6c(0x2bf)](_0x4a98dd=>_0x4a98dd[_0x7f8e6c(0x41e)]===_0x1298b4&&_0x4a98dd[_0x7f8e6c(0x300)]===_0x1e7b61),_0x2906b4=_0x1e4f4a[_0x7f8e6c(0x293)](_0x510219=>_0x18112==null?void 0x0:_0x18112[_0x7f8e6c(0x2ee)][_0x7f8e6c(0x2bf)](_0x501334=>_0x501334['action']===_0x510219))[_0x7f8e6c(0x2b7)](_0x14d6bd=>!!_0x14d6bd);return{'config':_0x521238,'result':{'actions':_0x2906b4,'error':_0x4df6a7['error']}};});}})}));}[_0x2c12ee(0x2e7)](){var _0x58a58a=_0x2c12ee,_0xa9c0ad,_0x5d8536;const _0x228d9e=this['_configService']['getConfig'](Oi),_0x3185bb=this[_0x58a58a(0x274)][_0x58a58a(0x3e2)](K);return(_0x5d8536=(_0xa9c0ad=_0x3185bb==null?void 0x0:_0x3185bb[_0x58a58a(0x24c)])!=null?_0xa9c0ad:_0x228d9e)!=null?_0x5d8536:_n;}async[_0x2c12ee(0x367)](_0x4ce979){var _0x46f5d8=_0x2c12ee;const _0x11aaea=this[_0x46f5d8(0x2e7)]()+'/'+_0x4ce979[_0x46f5d8(0x45f)]+_0x46f5d8(0x1fc);return(await this[_0x46f5d8(0x241)][_0x46f5d8(0x40d)](_0x11aaea,{'body':_0x4ce979}))['body'][_0x46f5d8(0x300)]||'';}async[_0x2c12ee(0x1cb)](_0x4807aa){var _0x4cddc2=_0x2c12ee;const _0x251544=this[_0x4cddc2(0x2e7)]()+_0x4cddc2(0x238);return(await this[_0x4cddc2(0x241)]['post'](_0x251544,{'body':_0x4807aa}))[_0x4cddc2(0x2ef)][_0x4cddc2(0x41a)];}async[_0x2c12ee(0x24f)](_0x2e29cd){var _0x2ceb1d=_0x2c12ee,_0x59b377,_0x471771;const _0x161edc=this[_0x2ceb1d(0x2e7)]()+'/'+_0x2e29cd[_0x2ceb1d(0x45f)]+'/object/'+_0x2e29cd[_0x2ceb1d(0x300)],_0x182481=await this[_0x2ceb1d(0x241)][_0x2ceb1d(0x296)](_0x161edc,{'body':_0x2e29cd});if(((_0x471771=(_0x59b377=_0x182481==null?void 0x0:_0x182481[_0x2ceb1d(0x2ef)])==null?void 0x0:_0x59b377[_0x2ceb1d(0x334)])==null?void 0x0:_0x471771[_0x2ceb1d(0x2f8)])!==0x1)throw new Error(_0x2ceb1d(0x456));}async['allowed'](_0xe69093){var _0x1783a5=_0x2c12ee;const _0x222ab7=this[_0x1783a5(0x2e7)]()+'/'+_0xe69093[_0x1783a5(0x45f)]+_0x1783a5(0x2c1)+_0xe69093[_0x1783a5(0x300)]+_0x1783a5(0x49c);return(await this['_HTTPService']['post'](_0x222ab7,{'body':_0xe69093}))[_0x1783a5(0x2ef)][_0x1783a5(0x2ee)];}async[_0x2c12ee(0x485)](_0x2d5efe){var _0x4d6bf5=_0x2c12ee;const _0x473ab1=this['_getAPIPrefixPath']()+_0x4d6bf5(0x379);return(await this[_0x4d6bf5(0x241)][_0x4d6bf5(0x40d)](_0x473ab1,{'body':{'requests':_0x2d5efe}}))[_0x4d6bf5(0x2ef)][_0x4d6bf5(0x1f7)];}async['listRoles'](_0x366872){var _0x5b763c=_0x2c12ee;const _0x3094e1=this['_getAPIPrefixPath']()+'/'+_0x366872[_0x5b763c(0x45f)]+'/role',_0x16af10=await this[_0x5b763c(0x241)]['post'](_0x3094e1,{'body':_0x366872});return{'roles':_0x16af10[_0x5b763c(0x2ef)][_0x5b763c(0x3a9)],'actions':_0x16af10[_0x5b763c(0x2ef)][_0x5b763c(0x2ee)]};}async['deleteCollaborator'](_0x2ed541){var _0x9c38f9=_0x2c12ee;const _0x106606=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x9c38f9(0x241)]['delete'](_0x106606,{'params':{'collaboratorID':_0x2ed541[_0x9c38f9(0x2c8)],'objectID':_0x2ed541[_0x9c38f9(0x300)],'unitID':_0x2ed541[_0x9c38f9(0x41e)]}});}async[_0x2c12ee(0x2a2)](_0x1e73d1){var _0x4f9a52=_0x2c12ee;const _0x57ef95=this[_0x4f9a52(0x2e7)]()+_0x4f9a52(0x21a);await this[_0x4f9a52(0x241)][_0x4f9a52(0x4a3)](_0x57ef95,{'body':_0x1e73d1});}async[_0x2c12ee(0x330)](_0x5e89e7){var _0x4f16c6=_0x2c12ee;const _0x458fe5=this[_0x4f16c6(0x2e7)]()+_0x4f16c6(0x21a);await this[_0x4f16c6(0x241)][_0x4f16c6(0x40d)](_0x458fe5,{'body':_0x5e89e7});}async[_0x2c12ee(0x4b1)](_0x3a61b8){var _0x40e2a7=_0x2c12ee;const _0x29ac75=this[_0x40e2a7(0x2e7)]()+_0x40e2a7(0x21a);return(await this[_0x40e2a7(0x241)][_0x40e2a7(0x279)](_0x29ac75,{'params':{'objectID':_0x3a61b8[_0x40e2a7(0x300)],'unitID':_0x3a61b8['unitID']}}))['body'][_0x40e2a7(0x25a)];}async['putCollaborators'](_0x193bc3){var _0x441dd8=_0x2c12ee;const _0x4da7b7=this[_0x441dd8(0x2e7)]()+_0x441dd8(0x21a);await this[_0x441dd8(0x241)][_0x441dd8(0x296)](_0x4da7b7,{'body':_0x193bc3});}};Tt=hn([Kt(0x0,_0x453b21(_0x51fdde)),Kt(0x1,_0x453b21(_0x2e403e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x35a120){var _0x4d5f2d=_0x2c12ee;return _0x35a120&&_0x35a120[_0x4d5f2d(0x3d6)]&&Object[_0x4d5f2d(0x3e6)][_0x4d5f2d(0x475)][_0x4d5f2d(0x431)](_0x35a120,'default')?_0x35a120[_0x4d5f2d(0x1d2)]:_0x35a120;}var Ve={'exports':{}};function ln(_0x3beb15){var _0x4f50b0=_0x2c12ee;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3beb15+_0x4f50b0(0x294));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x1aa6ec=_0x2c12ee;return qt||(qt=0x1,function(_0x111715,_0x12ab74){(function(_0x40d63e,_0x55e0a1){var _0x269596=_0x12ec;_0x111715[_0x269596(0x38e)]=_0x55e0a1();}(un,function(){var _0x16601f=_0x16601f||function(_0x20bd28,_0x42f993){var _0x3a1bfc=_0x12ec,_0xd69b91;if(typeof window<'u'&&window['crypto']&&(_0xd69b91=window[_0x3a1bfc(0x3c4)]),typeof self<'u'&&self['crypto']&&(_0xd69b91=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xd69b91=globalThis[_0x3a1bfc(0x3c4)]),!_0xd69b91&&typeof window<'u'&&window[_0x3a1bfc(0x398)]&&(_0xd69b91=window[_0x3a1bfc(0x398)]),!_0xd69b91&&typeof ft<'u'&&ft[_0x3a1bfc(0x3c4)]&&(_0xd69b91=ft[_0x3a1bfc(0x3c4)]),!_0xd69b91&&typeof ln==_0x3a1bfc(0x3c2))try{_0xd69b91=require('crypto');}catch{}var _0xf135ba=function(){var _0x511eff=_0x3a1bfc;if(_0xd69b91){if(typeof _0xd69b91['getRandomValues']==_0x511eff(0x3c2))try{return _0xd69b91[_0x511eff(0x28b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd69b91[_0x511eff(0x361)]==_0x511eff(0x3c2))try{return _0xd69b91[_0x511eff(0x361)](0x4)[_0x511eff(0x291)]();}catch{}}throw new Error(_0x511eff(0x46d));},_0x2d4415=Object[_0x3a1bfc(0x367)]||(function(){function _0x3fed37(){}return function(_0x499041){var _0x485bd5=_0x12ec,_0x34785a;return _0x3fed37['prototype']=_0x499041,_0x34785a=new _0x3fed37(),_0x3fed37[_0x485bd5(0x3e6)]=null,_0x34785a;};}()),_0x3c10a1={},_0x22589d=_0x3c10a1['lib']={},_0x1ab262=_0x22589d[_0x3a1bfc(0x297)]=(function(){return{'extend':function(_0x33fe60){var _0x5bb918=_0x12ec,_0x3293ba=_0x2d4415(this);return _0x33fe60&&_0x3293ba[_0x5bb918(0x22c)](_0x33fe60),(!_0x3293ba['hasOwnProperty'](_0x5bb918(0x290))||this[_0x5bb918(0x290)]===_0x3293ba[_0x5bb918(0x290)])&&(_0x3293ba['init']=function(){var _0x54d17a=_0x5bb918;_0x3293ba[_0x54d17a(0x1f8)][_0x54d17a(0x290)][_0x54d17a(0x407)](this,arguments);}),_0x3293ba[_0x5bb918(0x290)][_0x5bb918(0x3e6)]=_0x3293ba,_0x3293ba[_0x5bb918(0x1f8)]=this,_0x3293ba;},'create':function(){var _0x307711=_0x12ec,_0x32172f=this['extend']();return _0x32172f[_0x307711(0x290)][_0x307711(0x407)](_0x32172f,arguments),_0x32172f;},'init':function(){},'mixIn':function(_0x4199d5){var _0x4c6c71=_0x12ec;for(var _0x115885 in _0x4199d5)_0x4199d5[_0x4c6c71(0x475)](_0x115885)&&(this[_0x115885]=_0x4199d5[_0x115885]);_0x4199d5[_0x4c6c71(0x475)]('toString')&&(this[_0x4c6c71(0x3e9)]=_0x4199d5[_0x4c6c71(0x3e9)]);},'clone':function(){var _0x553e56=_0x12ec;return this['init'][_0x553e56(0x3e6)][_0x553e56(0x1c1)](this);}};}()),_0x45c1e9=_0x22589d['WordArray']=_0x1ab262['extend']({'init':function(_0x3785f2,_0x2a6040){var _0x5cf1a1=_0x3a1bfc;_0x3785f2=this[_0x5cf1a1(0x304)]=_0x3785f2||[],_0x2a6040!=_0x42f993?this[_0x5cf1a1(0x220)]=_0x2a6040:this['sigBytes']=_0x3785f2[_0x5cf1a1(0x33e)]*0x4;},'toString':function(_0x583196){return(_0x583196||_0x29bea2)['stringify'](this);},'concat':function(_0x5b44d6){var _0x977a1b=_0x3a1bfc,_0x3e02e0=this[_0x977a1b(0x304)],_0x2bc5d2=_0x5b44d6[_0x977a1b(0x304)],_0x416001=this['sigBytes'],_0x51adff=_0x5b44d6[_0x977a1b(0x220)];if(this[_0x977a1b(0x211)](),_0x416001%0x4)for(var _0x3cbb1b=0x0;_0x3cbb1b<_0x51adff;_0x3cbb1b++){var _0x4d7162=_0x2bc5d2[_0x3cbb1b>>>0x2]>>>0x18-_0x3cbb1b%0x4*0x8&0xff;_0x3e02e0[_0x416001+_0x3cbb1b>>>0x2]|=_0x4d7162<<0x18-(_0x416001+_0x3cbb1b)%0x4*0x8;}else{for(var _0x509cfc=0x0;_0x509cfc<_0x51adff;_0x509cfc+=0x4)_0x3e02e0[_0x416001+_0x509cfc>>>0x2]=_0x2bc5d2[_0x509cfc>>>0x2];}return this[_0x977a1b(0x220)]+=_0x51adff,this;},'clamp':function(){var _0x22301d=_0x3a1bfc,_0x31b4c3=this[_0x22301d(0x304)],_0x423540=this[_0x22301d(0x220)];_0x31b4c3[_0x423540>>>0x2]&=0xffffffff<<0x20-_0x423540%0x4*0x8,_0x31b4c3[_0x22301d(0x33e)]=_0x20bd28[_0x22301d(0x323)](_0x423540/0x4);},'clone':function(){var _0x5db6ab=_0x3a1bfc,_0x10f493=_0x1ab262['clone'][_0x5db6ab(0x431)](this);return _0x10f493[_0x5db6ab(0x304)]=this[_0x5db6ab(0x304)]['slice'](0x0),_0x10f493;},'random':function(_0x52f302){var _0x464687=_0x3a1bfc;for(var _0x117eb3=[],_0x331dcf=0x0;_0x331dcf<_0x52f302;_0x331dcf+=0x4)_0x117eb3[_0x464687(0x43e)](_0xf135ba());return new _0x45c1e9[(_0x464687(0x290))](_0x117eb3,_0x52f302);}}),_0x33c9ab=_0x3c10a1[_0x3a1bfc(0x441)]={},_0x29bea2=_0x33c9ab[_0x3a1bfc(0x3f1)]={'stringify':function(_0x172048){var _0x50051c=_0x3a1bfc;for(var _0x5d5883=_0x172048['words'],_0x41f97b=_0x172048['sigBytes'],_0x4404a6=[],_0x37a52d=0x0;_0x37a52d<_0x41f97b;_0x37a52d++){var _0x100771=_0x5d5883[_0x37a52d>>>0x2]>>>0x18-_0x37a52d%0x4*0x8&0xff;_0x4404a6[_0x50051c(0x43e)]((_0x100771>>>0x4)['toString'](0x10)),_0x4404a6[_0x50051c(0x43e)]((_0x100771&0xf)['toString'](0x10));}return _0x4404a6[_0x50051c(0x45a)]('');},'parse':function(_0x13294d){var _0x595e30=_0x3a1bfc;for(var _0x1fa226=_0x13294d[_0x595e30(0x33e)],_0x19a406=[],_0x227165=0x0;_0x227165<_0x1fa226;_0x227165+=0x2)_0x19a406[_0x227165>>>0x3]|=parseInt(_0x13294d[_0x595e30(0x417)](_0x227165,0x2),0x10)<<0x18-_0x227165%0x8*0x4;return new _0x45c1e9[(_0x595e30(0x290))](_0x19a406,_0x1fa226/0x2);}},_0x496c6c=_0x33c9ab['Latin1']={'stringify':function(_0x5d6611){var _0x5ce9b0=_0x3a1bfc;for(var _0x5bf9b4=_0x5d6611[_0x5ce9b0(0x304)],_0x259f54=_0x5d6611[_0x5ce9b0(0x220)],_0x1caf9a=[],_0x555c34=0x0;_0x555c34<_0x259f54;_0x555c34++){var _0x31f197=_0x5bf9b4[_0x555c34>>>0x2]>>>0x18-_0x555c34%0x4*0x8&0xff;_0x1caf9a['push'](String['fromCharCode'](_0x31f197));}return _0x1caf9a[_0x5ce9b0(0x45a)]('');},'parse':function(_0xc14e5e){var _0x5a66f3=_0x3a1bfc;for(var _0x597389=_0xc14e5e['length'],_0x4a7055=[],_0x51e2da=0x0;_0x51e2da<_0x597389;_0x51e2da++)_0x4a7055[_0x51e2da>>>0x2]|=(_0xc14e5e[_0x5a66f3(0x2cb)](_0x51e2da)&0xff)<<0x18-_0x51e2da%0x4*0x8;return new _0x45c1e9[(_0x5a66f3(0x290))](_0x4a7055,_0x597389);}},_0x596613=_0x33c9ab[_0x3a1bfc(0x480)]={'stringify':function(_0x4701cd){var _0x594148=_0x3a1bfc;try{return decodeURIComponent(escape(_0x496c6c[_0x594148(0x205)](_0x4701cd)));}catch{throw new Error(_0x594148(0x2d4));}},'parse':function(_0x1c90ce){var _0x2871a9=_0x3a1bfc;return _0x496c6c[_0x2871a9(0x229)](unescape(encodeURIComponent(_0x1c90ce)));}},_0x395ddb=_0x22589d[_0x3a1bfc(0x369)]=_0x1ab262[_0x3a1bfc(0x1c1)]({'reset':function(){var _0x5c7e1e=_0x3a1bfc;this['_data']=new _0x45c1e9['init'](),this[_0x5c7e1e(0x2ba)]=0x0;},'_append':function(_0x382f1a){var _0x131f2a=_0x3a1bfc;typeof _0x382f1a==_0x131f2a(0x27c)&&(_0x382f1a=_0x596613[_0x131f2a(0x229)](_0x382f1a)),this[_0x131f2a(0x250)][_0x131f2a(0x1ec)](_0x382f1a),this[_0x131f2a(0x2ba)]+=_0x382f1a[_0x131f2a(0x220)];},'_process':function(_0x2b01ed){var _0x35fbf9=_0x3a1bfc,_0x4d66a8,_0x1abdff=this['_data'],_0xccf03b=_0x1abdff[_0x35fbf9(0x304)],_0x2a04d5=_0x1abdff[_0x35fbf9(0x220)],_0x4024e7=this[_0x35fbf9(0x4a2)],_0xc8a7de=_0x4024e7*0x4,_0x1d26de=_0x2a04d5/_0xc8a7de;_0x2b01ed?_0x1d26de=_0x20bd28[_0x35fbf9(0x323)](_0x1d26de):_0x1d26de=_0x20bd28[_0x35fbf9(0x386)]((_0x1d26de|0x0)-this[_0x35fbf9(0x3d0)],0x0);var _0x2013e1=_0x1d26de*_0x4024e7,_0x5f23d8=_0x20bd28[_0x35fbf9(0x4b7)](_0x2013e1*0x4,_0x2a04d5);if(_0x2013e1){for(var _0x27e869=0x0;_0x27e869<_0x2013e1;_0x27e869+=_0x4024e7)this[_0x35fbf9(0x34b)](_0xccf03b,_0x27e869);_0x4d66a8=_0xccf03b['splice'](0x0,_0x2013e1),_0x1abdff[_0x35fbf9(0x220)]-=_0x5f23d8;}return new _0x45c1e9[(_0x35fbf9(0x290))](_0x4d66a8,_0x5f23d8);},'clone':function(){var _0x1cf5ea=_0x3a1bfc,_0x413743=_0x1ab262['clone'][_0x1cf5ea(0x431)](this);return _0x413743[_0x1cf5ea(0x250)]=this['_data'][_0x1cf5ea(0x2bc)](),_0x413743;},'_minBufferSize':0x0});_0x22589d[_0x3a1bfc(0x1f9)]=_0x395ddb[_0x3a1bfc(0x1c1)]({'cfg':_0x1ab262[_0x3a1bfc(0x1c1)](),'init':function(_0x5ba006){var _0x32530d=_0x3a1bfc;this[_0x32530d(0x3fb)]=this[_0x32530d(0x3fb)][_0x32530d(0x1c1)](_0x5ba006),this[_0x32530d(0x3b5)]();},'reset':function(){var _0x546afe=_0x3a1bfc;_0x395ddb[_0x546afe(0x3b5)][_0x546afe(0x431)](this),this[_0x546afe(0x3e1)]();},'update':function(_0x24198c){var _0x434a24=_0x3a1bfc;return this[_0x434a24(0x234)](_0x24198c),this[_0x434a24(0x24a)](),this;},'finalize':function(_0x2bc935){var _0x2808fc=_0x3a1bfc;_0x2bc935&&this[_0x2808fc(0x234)](_0x2bc935);var _0x25472a=this[_0x2808fc(0x4ae)]();return _0x25472a;},'blockSize':0x10,'_createHelper':function(_0x221a37){return function(_0x2c70e8,_0xf888fb){var _0x4085fa=_0x12ec;return new _0x221a37[(_0x4085fa(0x290))](_0xf888fb)[_0x4085fa(0x4a5)](_0x2c70e8);};},'_createHmacHelper':function(_0x103e79){return function(_0x52bfc9,_0x5821e7){var _0x52a03e=_0x12ec;return new _0x28fbfe['HMAC'][(_0x52a03e(0x290))](_0x103e79,_0x5821e7)[_0x52a03e(0x4a5)](_0x52bfc9);};}});var _0x28fbfe=_0x3c10a1[_0x3a1bfc(0x482)]={};return _0x3c10a1;}(Math);return _0x16601f;}));}(Ge)),Ge[_0x1aa6ec(0x38e)];}var Ye={'exports':{}},dn=Ye[_0x2c12ee(0x38e)],zt;function _0x12ec(_0x47a456,_0x5b20cf){var _0x5c559b=_0x5c55();return _0x12ec=function(_0x12ecee,_0x255fe8){_0x12ecee=_0x12ecee-0x1b7;var _0x41d38c=_0x5c559b[_0x12ecee];return _0x41d38c;},_0x12ec(_0x47a456,_0x5b20cf);}function bi(){var _0x5f0662=_0x2c12ee;return zt||(zt=0x1,function(_0x380f84,_0x2d59e5){(function(_0x2b1601,_0x323657){var _0x4eb3e4=_0x12ec;_0x380f84[_0x4eb3e4(0x38e)]=_0x323657(te());}(dn,function(_0x43dc82){var _0x254da7=_0x12ec;return(function(){var _0x516de4=_0x12ec,_0x2fe08f=_0x43dc82,_0x2e7059=_0x2fe08f[_0x516de4(0x203)],_0x1dffa2=_0x2e7059[_0x516de4(0x328)],_0x29fb3d=_0x2fe08f[_0x516de4(0x441)];_0x29fb3d[_0x516de4(0x35d)]={'stringify':function(_0x281a7e){var _0x1a0972=_0x516de4,_0x133c81=_0x281a7e['words'],_0x491514=_0x281a7e[_0x1a0972(0x220)],_0x50e5a7=this[_0x1a0972(0x267)];_0x281a7e['clamp']();for(var _0xe9e825=[],_0x2c74f9=0x0;_0x2c74f9<_0x491514;_0x2c74f9+=0x3)for(var _0x178314=_0x133c81[_0x2c74f9>>>0x2]>>>0x18-_0x2c74f9%0x4*0x8&0xff,_0x1e0373=_0x133c81[_0x2c74f9+0x1>>>0x2]>>>0x18-(_0x2c74f9+0x1)%0x4*0x8&0xff,_0x181cbd=_0x133c81[_0x2c74f9+0x2>>>0x2]>>>0x18-(_0x2c74f9+0x2)%0x4*0x8&0xff,_0x22eb94=_0x178314<<0x10|_0x1e0373<<0x8|_0x181cbd,_0x1df911=0x0;_0x1df911<0x4&&_0x2c74f9+_0x1df911*0.75<_0x491514;_0x1df911++)_0xe9e825[_0x1a0972(0x43e)](_0x50e5a7[_0x1a0972(0x375)](_0x22eb94>>>0x6*(0x3-_0x1df911)&0x3f));var _0x285670=_0x50e5a7[_0x1a0972(0x375)](0x40);if(_0x285670){for(;_0xe9e825[_0x1a0972(0x33e)]%0x4;)_0xe9e825[_0x1a0972(0x43e)](_0x285670);}return _0xe9e825[_0x1a0972(0x45a)]('');},'parse':function(_0x544d41){var _0x51c3ed=_0x516de4,_0x4ebc4e=_0x544d41[_0x51c3ed(0x33e)],_0xf968bd=this['_map'],_0xc1c5c5=this[_0x51c3ed(0x428)];if(!_0xc1c5c5){_0xc1c5c5=this[_0x51c3ed(0x428)]=[];for(var _0x226acb=0x0;_0x226acb<_0xf968bd['length'];_0x226acb++)_0xc1c5c5[_0xf968bd[_0x51c3ed(0x2cb)](_0x226acb)]=_0x226acb;}var _0x2c207b=_0xf968bd[_0x51c3ed(0x375)](0x40);if(_0x2c207b){var _0x4606a1=_0x544d41[_0x51c3ed(0x2e9)](_0x2c207b);_0x4606a1!==-0x1&&(_0x4ebc4e=_0x4606a1);}return _0x4d3c44(_0x544d41,_0x4ebc4e,_0xc1c5c5);},'_map':_0x516de4(0x2fe)};function _0x4d3c44(_0x42fbf3,_0x4021eb,_0x123721){var _0x4054db=_0x516de4;for(var _0x36c9b6=[],_0x2b3f03=0x0,_0x2320af=0x0;_0x2320af<_0x4021eb;_0x2320af++)if(_0x2320af%0x4){var _0x2f0fc1=_0x123721[_0x42fbf3[_0x4054db(0x2cb)](_0x2320af-0x1)]<<_0x2320af%0x4*0x2,_0x38f250=_0x123721[_0x42fbf3[_0x4054db(0x2cb)](_0x2320af)]>>>0x6-_0x2320af%0x4*0x2,_0x11d2ae=_0x2f0fc1|_0x38f250;_0x36c9b6[_0x2b3f03>>>0x2]|=_0x11d2ae<<0x18-_0x2b3f03%0x4*0x8,_0x2b3f03++;}return _0x1dffa2['create'](_0x36c9b6,_0x2b3f03);}}()),_0x43dc82[_0x254da7(0x441)][_0x254da7(0x35d)];}));}(Ye)),Ye[_0x5f0662(0x38e)];}var We={'exports':{}},fn=We['exports'],Jt;function vn(){var _0x4593e9=_0x2c12ee;return Jt||(Jt=0x1,function(_0x5ce2b0,_0x4e80fe){(function(_0x31e65f,_0x416f5d){var _0x5c7b6f=_0x12ec;_0x5ce2b0[_0x5c7b6f(0x38e)]=_0x416f5d(te());}(fn,function(_0x4c3165){return function(_0x5b6c30){var _0x21dfe9=_0x12ec,_0x28b9a3=_0x4c3165,_0x2bbebe=_0x28b9a3[_0x21dfe9(0x203)],_0x21ad8e=_0x2bbebe[_0x21dfe9(0x328)],_0x39ce1a=_0x2bbebe[_0x21dfe9(0x1f9)],_0x4641f5=_0x28b9a3[_0x21dfe9(0x482)],_0x2b03d0=[];(function(){var _0x1a0a8c=_0x21dfe9;for(var _0x31fac3=0x0;_0x31fac3<0x40;_0x31fac3++)_0x2b03d0[_0x31fac3]=_0x5b6c30[_0x1a0a8c(0x298)](_0x5b6c30[_0x1a0a8c(0x3f6)](_0x31fac3+0x1))*0x100000000|0x0;}());var _0x5b8999=_0x4641f5['MD5']=_0x39ce1a[_0x21dfe9(0x1c1)]({'_doReset':function(){var _0x4b7641=_0x21dfe9;this[_0x4b7641(0x217)]=new _0x21ad8e[(_0x4b7641(0x290))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4deeaa,_0x3d89d6){var _0x4e5f24=_0x21dfe9;for(var _0x1a4c69=0x0;_0x1a4c69<0x10;_0x1a4c69++){var _0x5af7cc=_0x3d89d6+_0x1a4c69,_0x511b36=_0x4deeaa[_0x5af7cc];_0x4deeaa[_0x5af7cc]=(_0x511b36<<0x8|_0x511b36>>>0x18)&0xff00ff|(_0x511b36<<0x18|_0x511b36>>>0x8)&0xff00ff00;}var _0x433910=this[_0x4e5f24(0x217)][_0x4e5f24(0x304)],_0x333ac5=_0x4deeaa[_0x3d89d6+0x0],_0x5dd7e3=_0x4deeaa[_0x3d89d6+0x1],_0x1c326e=_0x4deeaa[_0x3d89d6+0x2],_0x45ce8d=_0x4deeaa[_0x3d89d6+0x3],_0x325643=_0x4deeaa[_0x3d89d6+0x4],_0x338ef1=_0x4deeaa[_0x3d89d6+0x5],_0x44ebc4=_0x4deeaa[_0x3d89d6+0x6],_0x4cbc92=_0x4deeaa[_0x3d89d6+0x7],_0x1c8c7c=_0x4deeaa[_0x3d89d6+0x8],_0x3f7317=_0x4deeaa[_0x3d89d6+0x9],_0x38b6d1=_0x4deeaa[_0x3d89d6+0xa],_0x113505=_0x4deeaa[_0x3d89d6+0xb],_0x588a62=_0x4deeaa[_0x3d89d6+0xc],_0x4251e2=_0x4deeaa[_0x3d89d6+0xd],_0x578f2d=_0x4deeaa[_0x3d89d6+0xe],_0x5b09ee=_0x4deeaa[_0x3d89d6+0xf],_0x1e15f0=_0x433910[0x0],_0x2a5552=_0x433910[0x1],_0x7391b9=_0x433910[0x2],_0x48f16b=_0x433910[0x3];_0x1e15f0=_0x2f8545(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x333ac5,0x7,_0x2b03d0[0x0]),_0x48f16b=_0x2f8545(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x5dd7e3,0xc,_0x2b03d0[0x1]),_0x7391b9=_0x2f8545(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x1c326e,0x11,_0x2b03d0[0x2]),_0x2a5552=_0x2f8545(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x45ce8d,0x16,_0x2b03d0[0x3]),_0x1e15f0=_0x2f8545(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x325643,0x7,_0x2b03d0[0x4]),_0x48f16b=_0x2f8545(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x338ef1,0xc,_0x2b03d0[0x5]),_0x7391b9=_0x2f8545(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x44ebc4,0x11,_0x2b03d0[0x6]),_0x2a5552=_0x2f8545(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x4cbc92,0x16,_0x2b03d0[0x7]),_0x1e15f0=_0x2f8545(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x1c8c7c,0x7,_0x2b03d0[0x8]),_0x48f16b=_0x2f8545(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x3f7317,0xc,_0x2b03d0[0x9]),_0x7391b9=_0x2f8545(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x38b6d1,0x11,_0x2b03d0[0xa]),_0x2a5552=_0x2f8545(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x113505,0x16,_0x2b03d0[0xb]),_0x1e15f0=_0x2f8545(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x588a62,0x7,_0x2b03d0[0xc]),_0x48f16b=_0x2f8545(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x4251e2,0xc,_0x2b03d0[0xd]),_0x7391b9=_0x2f8545(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x578f2d,0x11,_0x2b03d0[0xe]),_0x2a5552=_0x2f8545(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x5b09ee,0x16,_0x2b03d0[0xf]),_0x1e15f0=_0x578711(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x5dd7e3,0x5,_0x2b03d0[0x10]),_0x48f16b=_0x578711(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x44ebc4,0x9,_0x2b03d0[0x11]),_0x7391b9=_0x578711(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x113505,0xe,_0x2b03d0[0x12]),_0x2a5552=_0x578711(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x333ac5,0x14,_0x2b03d0[0x13]),_0x1e15f0=_0x578711(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x338ef1,0x5,_0x2b03d0[0x14]),_0x48f16b=_0x578711(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x38b6d1,0x9,_0x2b03d0[0x15]),_0x7391b9=_0x578711(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x5b09ee,0xe,_0x2b03d0[0x16]),_0x2a5552=_0x578711(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x325643,0x14,_0x2b03d0[0x17]),_0x1e15f0=_0x578711(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x3f7317,0x5,_0x2b03d0[0x18]),_0x48f16b=_0x578711(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x578f2d,0x9,_0x2b03d0[0x19]),_0x7391b9=_0x578711(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x45ce8d,0xe,_0x2b03d0[0x1a]),_0x2a5552=_0x578711(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x1c8c7c,0x14,_0x2b03d0[0x1b]),_0x1e15f0=_0x578711(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x4251e2,0x5,_0x2b03d0[0x1c]),_0x48f16b=_0x578711(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x1c326e,0x9,_0x2b03d0[0x1d]),_0x7391b9=_0x578711(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x4cbc92,0xe,_0x2b03d0[0x1e]),_0x2a5552=_0x578711(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x588a62,0x14,_0x2b03d0[0x1f]),_0x1e15f0=_0x5c02fa(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x338ef1,0x4,_0x2b03d0[0x20]),_0x48f16b=_0x5c02fa(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x1c8c7c,0xb,_0x2b03d0[0x21]),_0x7391b9=_0x5c02fa(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x113505,0x10,_0x2b03d0[0x22]),_0x2a5552=_0x5c02fa(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x578f2d,0x17,_0x2b03d0[0x23]),_0x1e15f0=_0x5c02fa(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x5dd7e3,0x4,_0x2b03d0[0x24]),_0x48f16b=_0x5c02fa(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x325643,0xb,_0x2b03d0[0x25]),_0x7391b9=_0x5c02fa(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x4cbc92,0x10,_0x2b03d0[0x26]),_0x2a5552=_0x5c02fa(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x38b6d1,0x17,_0x2b03d0[0x27]),_0x1e15f0=_0x5c02fa(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x4251e2,0x4,_0x2b03d0[0x28]),_0x48f16b=_0x5c02fa(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x333ac5,0xb,_0x2b03d0[0x29]),_0x7391b9=_0x5c02fa(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x45ce8d,0x10,_0x2b03d0[0x2a]),_0x2a5552=_0x5c02fa(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x44ebc4,0x17,_0x2b03d0[0x2b]),_0x1e15f0=_0x5c02fa(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x3f7317,0x4,_0x2b03d0[0x2c]),_0x48f16b=_0x5c02fa(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x588a62,0xb,_0x2b03d0[0x2d]),_0x7391b9=_0x5c02fa(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x5b09ee,0x10,_0x2b03d0[0x2e]),_0x2a5552=_0x5c02fa(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x1c326e,0x17,_0x2b03d0[0x2f]),_0x1e15f0=_0x2ddcbe(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x333ac5,0x6,_0x2b03d0[0x30]),_0x48f16b=_0x2ddcbe(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x4cbc92,0xa,_0x2b03d0[0x31]),_0x7391b9=_0x2ddcbe(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x578f2d,0xf,_0x2b03d0[0x32]),_0x2a5552=_0x2ddcbe(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x338ef1,0x15,_0x2b03d0[0x33]),_0x1e15f0=_0x2ddcbe(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x588a62,0x6,_0x2b03d0[0x34]),_0x48f16b=_0x2ddcbe(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x45ce8d,0xa,_0x2b03d0[0x35]),_0x7391b9=_0x2ddcbe(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x38b6d1,0xf,_0x2b03d0[0x36]),_0x2a5552=_0x2ddcbe(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x5dd7e3,0x15,_0x2b03d0[0x37]),_0x1e15f0=_0x2ddcbe(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x1c8c7c,0x6,_0x2b03d0[0x38]),_0x48f16b=_0x2ddcbe(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x5b09ee,0xa,_0x2b03d0[0x39]),_0x7391b9=_0x2ddcbe(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x44ebc4,0xf,_0x2b03d0[0x3a]),_0x2a5552=_0x2ddcbe(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x4251e2,0x15,_0x2b03d0[0x3b]),_0x1e15f0=_0x2ddcbe(_0x1e15f0,_0x2a5552,_0x7391b9,_0x48f16b,_0x325643,0x6,_0x2b03d0[0x3c]),_0x48f16b=_0x2ddcbe(_0x48f16b,_0x1e15f0,_0x2a5552,_0x7391b9,_0x113505,0xa,_0x2b03d0[0x3d]),_0x7391b9=_0x2ddcbe(_0x7391b9,_0x48f16b,_0x1e15f0,_0x2a5552,_0x1c326e,0xf,_0x2b03d0[0x3e]),_0x2a5552=_0x2ddcbe(_0x2a5552,_0x7391b9,_0x48f16b,_0x1e15f0,_0x3f7317,0x15,_0x2b03d0[0x3f]),_0x433910[0x0]=_0x433910[0x0]+_0x1e15f0|0x0,_0x433910[0x1]=_0x433910[0x1]+_0x2a5552|0x0,_0x433910[0x2]=_0x433910[0x2]+_0x7391b9|0x0,_0x433910[0x3]=_0x433910[0x3]+_0x48f16b|0x0;},'_doFinalize':function(){var _0x2e6857=_0x21dfe9,_0x25df00=this[_0x2e6857(0x250)],_0x3564dc=_0x25df00[_0x2e6857(0x304)],_0x2967bb=this[_0x2e6857(0x2ba)]*0x8,_0x194a4f=_0x25df00[_0x2e6857(0x220)]*0x8;_0x3564dc[_0x194a4f>>>0x5]|=0x80<<0x18-_0x194a4f%0x20;var _0x1d0002=_0x5b6c30[_0x2e6857(0x36f)](_0x2967bb/0x100000000),_0x56def3=_0x2967bb;_0x3564dc[(_0x194a4f+0x40>>>0x9<<0x4)+0xf]=(_0x1d0002<<0x8|_0x1d0002>>>0x18)&0xff00ff|(_0x1d0002<<0x18|_0x1d0002>>>0x8)&0xff00ff00,_0x3564dc[(_0x194a4f+0x40>>>0x9<<0x4)+0xe]=(_0x56def3<<0x8|_0x56def3>>>0x18)&0xff00ff|(_0x56def3<<0x18|_0x56def3>>>0x8)&0xff00ff00,_0x25df00[_0x2e6857(0x220)]=(_0x3564dc[_0x2e6857(0x33e)]+0x1)*0x4,this[_0x2e6857(0x24a)]();for(var _0x18edc5=this[_0x2e6857(0x217)],_0x3cf4e1=_0x18edc5[_0x2e6857(0x304)],_0xb647c2=0x0;_0xb647c2<0x4;_0xb647c2++){var _0x714d7=_0x3cf4e1[_0xb647c2];_0x3cf4e1[_0xb647c2]=(_0x714d7<<0x8|_0x714d7>>>0x18)&0xff00ff|(_0x714d7<<0x18|_0x714d7>>>0x8)&0xff00ff00;}return _0x18edc5;},'clone':function(){var _0x183a6d=_0x21dfe9,_0x4cbb42=_0x39ce1a[_0x183a6d(0x2bc)][_0x183a6d(0x431)](this);return _0x4cbb42[_0x183a6d(0x217)]=this['_hash']['clone'](),_0x4cbb42;}});function _0x2f8545(_0x407ffb,_0x47a333,_0x1a0b89,_0x14343f,_0x31c3eb,_0x30654a,_0x403182){var _0x391feb=_0x407ffb+(_0x47a333&_0x1a0b89|~_0x47a333&_0x14343f)+_0x31c3eb+_0x403182;return(_0x391feb<<_0x30654a|_0x391feb>>>0x20-_0x30654a)+_0x47a333;}function _0x578711(_0x16f8f5,_0x20daf1,_0x5c1244,_0x47a683,_0x5105f5,_0x105fe7,_0x4b9c09){var _0xbb3311=_0x16f8f5+(_0x20daf1&_0x47a683|_0x5c1244&~_0x47a683)+_0x5105f5+_0x4b9c09;return(_0xbb3311<<_0x105fe7|_0xbb3311>>>0x20-_0x105fe7)+_0x20daf1;}function _0x5c02fa(_0x49ca3e,_0x5128a1,_0x2aefd2,_0x5d2e8b,_0x3fc45f,_0x2c90e6,_0x371ce1){var _0x1ee542=_0x49ca3e+(_0x5128a1^_0x2aefd2^_0x5d2e8b)+_0x3fc45f+_0x371ce1;return(_0x1ee542<<_0x2c90e6|_0x1ee542>>>0x20-_0x2c90e6)+_0x5128a1;}function _0x2ddcbe(_0xc9db6c,_0x555052,_0x1417cf,_0x2d4482,_0x4df65a,_0x108df5,_0x3b300f){var _0x831f18=_0xc9db6c+(_0x1417cf^(_0x555052|~_0x2d4482))+_0x4df65a+_0x3b300f;return(_0x831f18<<_0x108df5|_0x831f18>>>0x20-_0x108df5)+_0x555052;}_0x28b9a3[_0x21dfe9(0x3cb)]=_0x39ce1a[_0x21dfe9(0x3fd)](_0x5b8999),_0x28b9a3[_0x21dfe9(0x32a)]=_0x39ce1a[_0x21dfe9(0x409)](_0x5b8999);}(Math),_0x4c3165['MD5'];}));}(We)),We[_0x4593e9(0x38e)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x2c12ee(0x38e)],Xt;function mn(){var _0x17ef53=_0x2c12ee;return Xt||(Xt=0x1,function(_0x2e7131,_0x4b5350){(function(_0x256a37,_0x5a0a84){var _0x58a9d6=_0x12ec;_0x2e7131[_0x58a9d6(0x38e)]=_0x5a0a84(te());}(pn,function(_0x1802f9){var _0x58c8ba=_0x12ec;return(function(){var _0x5874f0=_0x12ec,_0xc4e2a=_0x1802f9,_0x1eed4f=_0xc4e2a['lib'],_0x515ae3=_0x1eed4f[_0x5874f0(0x328)],_0x5b8775=_0x1eed4f['Hasher'],_0x642309=_0xc4e2a[_0x5874f0(0x482)],_0x1be4de=[],_0x11d0d3=_0x642309[_0x5874f0(0x3ee)]=_0x5b8775[_0x5874f0(0x1c1)]({'_doReset':function(){var _0x5dc600=_0x5874f0;this[_0x5dc600(0x217)]=new _0x515ae3[(_0x5dc600(0x290))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3da5cc,_0x1e7bfb){var _0x5e4f19=_0x5874f0;for(var _0x272c7e=this['_hash'][_0x5e4f19(0x304)],_0x395eee=_0x272c7e[0x0],_0x53bb97=_0x272c7e[0x1],_0x3a79df=_0x272c7e[0x2],_0x4b26a1=_0x272c7e[0x3],_0x2a30fa=_0x272c7e[0x4],_0x105502=0x0;_0x105502<0x50;_0x105502++){if(_0x105502<0x10)_0x1be4de[_0x105502]=_0x3da5cc[_0x1e7bfb+_0x105502]|0x0;else{var _0x4af111=_0x1be4de[_0x105502-0x3]^_0x1be4de[_0x105502-0x8]^_0x1be4de[_0x105502-0xe]^_0x1be4de[_0x105502-0x10];_0x1be4de[_0x105502]=_0x4af111<<0x1|_0x4af111>>>0x1f;}var _0x25285b=(_0x395eee<<0x5|_0x395eee>>>0x1b)+_0x2a30fa+_0x1be4de[_0x105502];_0x105502<0x14?_0x25285b+=(_0x53bb97&_0x3a79df|~_0x53bb97&_0x4b26a1)+0x5a827999:_0x105502<0x28?_0x25285b+=(_0x53bb97^_0x3a79df^_0x4b26a1)+0x6ed9eba1:_0x105502<0x3c?_0x25285b+=(_0x53bb97&_0x3a79df|_0x53bb97&_0x4b26a1|_0x3a79df&_0x4b26a1)-0x70e44324:_0x25285b+=(_0x53bb97^_0x3a79df^_0x4b26a1)-0x359d3e2a,_0x2a30fa=_0x4b26a1,_0x4b26a1=_0x3a79df,_0x3a79df=_0x53bb97<<0x1e|_0x53bb97>>>0x2,_0x53bb97=_0x395eee,_0x395eee=_0x25285b;}_0x272c7e[0x0]=_0x272c7e[0x0]+_0x395eee|0x0,_0x272c7e[0x1]=_0x272c7e[0x1]+_0x53bb97|0x0,_0x272c7e[0x2]=_0x272c7e[0x2]+_0x3a79df|0x0,_0x272c7e[0x3]=_0x272c7e[0x3]+_0x4b26a1|0x0,_0x272c7e[0x4]=_0x272c7e[0x4]+_0x2a30fa|0x0;},'_doFinalize':function(){var _0x679baa=_0x5874f0,_0x3d9d24=this[_0x679baa(0x250)],_0x16b79f=_0x3d9d24[_0x679baa(0x304)],_0x341f08=this[_0x679baa(0x2ba)]*0x8,_0x3f3238=_0x3d9d24[_0x679baa(0x220)]*0x8;return _0x16b79f[_0x3f3238>>>0x5]|=0x80<<0x18-_0x3f3238%0x20,_0x16b79f[(_0x3f3238+0x40>>>0x9<<0x4)+0xe]=Math[_0x679baa(0x36f)](_0x341f08/0x100000000),_0x16b79f[(_0x3f3238+0x40>>>0x9<<0x4)+0xf]=_0x341f08,_0x3d9d24[_0x679baa(0x220)]=_0x16b79f[_0x679baa(0x33e)]*0x4,this[_0x679baa(0x24a)](),this[_0x679baa(0x217)];},'clone':function(){var _0x218268=_0x5874f0,_0x46d314=_0x5b8775['clone']['call'](this);return _0x46d314[_0x218268(0x217)]=this[_0x218268(0x217)][_0x218268(0x2bc)](),_0x46d314;}});_0xc4e2a[_0x5874f0(0x3ee)]=_0x5b8775[_0x5874f0(0x3fd)](_0x11d0d3),_0xc4e2a['HmacSHA1']=_0x5b8775[_0x5874f0(0x409)](_0x11d0d3);}()),_0x1802f9[_0x58c8ba(0x3ee)];}));}(qe)),qe[_0x17ef53(0x38e)];}var ze={'exports':{}},gn=ze[_0x2c12ee(0x38e)],Zt;function Sn(){var _0x448c89=_0x2c12ee;return Zt||(Zt=0x1,function(_0x360c34,_0x2ac3d9){(function(_0xf66298,_0x1e101e){_0x360c34['exports']=_0x1e101e(te());}(gn,function(_0x2538cc){(function(){var _0x1250f4=_0x12ec,_0x55ebd7=_0x2538cc,_0x360732=_0x55ebd7[_0x1250f4(0x203)],_0x14f871=_0x360732[_0x1250f4(0x297)],_0x33d116=_0x55ebd7['enc'],_0x2688e2=_0x33d116[_0x1250f4(0x480)],_0x372d4d=_0x55ebd7[_0x1250f4(0x482)];_0x372d4d[_0x1250f4(0x452)]=_0x14f871[_0x1250f4(0x1c1)]({'init':function(_0x42198d,_0xe8065d){var _0x17032d=_0x1250f4;_0x42198d=this['_hasher']=new _0x42198d['init'](),typeof _0xe8065d==_0x17032d(0x27c)&&(_0xe8065d=_0x2688e2[_0x17032d(0x229)](_0xe8065d));var _0x301218=_0x42198d[_0x17032d(0x4a2)],_0x1c5ccd=_0x301218*0x4;_0xe8065d[_0x17032d(0x220)]>_0x1c5ccd&&(_0xe8065d=_0x42198d[_0x17032d(0x4a5)](_0xe8065d)),_0xe8065d[_0x17032d(0x211)]();for(var _0x412359=this[_0x17032d(0x371)]=_0xe8065d[_0x17032d(0x2bc)](),_0x8fa621=this['_iKey']=_0xe8065d[_0x17032d(0x2bc)](),_0x582640=_0x412359[_0x17032d(0x304)],_0x303186=_0x8fa621[_0x17032d(0x304)],_0x2bf319=0x0;_0x2bf319<_0x301218;_0x2bf319++)_0x582640[_0x2bf319]^=0x5c5c5c5c,_0x303186[_0x2bf319]^=0x36363636;_0x412359[_0x17032d(0x220)]=_0x8fa621[_0x17032d(0x220)]=_0x1c5ccd,this[_0x17032d(0x3b5)]();},'reset':function(){var _0x2a11d4=_0x1250f4,_0x469dc7=this[_0x2a11d4(0x396)];_0x469dc7[_0x2a11d4(0x3b5)](),_0x469dc7[_0x2a11d4(0x24f)](this[_0x2a11d4(0x3c3)]);},'update':function(_0x278b68){var _0x589ed7=_0x1250f4;return this[_0x589ed7(0x396)][_0x589ed7(0x24f)](_0x278b68),this;},'finalize':function(_0x4b0bb7){var _0x45b267=_0x1250f4,_0x48765d=this[_0x45b267(0x396)],_0x19eba0=_0x48765d[_0x45b267(0x4a5)](_0x4b0bb7);_0x48765d[_0x45b267(0x3b5)]();var _0x16aa7e=_0x48765d['finalize'](this['_oKey'][_0x45b267(0x2bc)]()[_0x45b267(0x1ec)](_0x19eba0));return _0x16aa7e;}});}());}));}(ze)),ze[_0x448c89(0x38e)];}function _0x5c55(){var _0x1d629d=['HmacMD5','_rescheduleHeartbeat','_nRounds','YUUMI_AI_RUN_FAILED','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_COLLABORATION_CLIENT_PLUGIN','createCollaborator','_key','_onOffline','_resendWithTimeout','error','SUBMIT_CHANGESET_TIMEOUT','_showConflictNotification','[PendingState]:\x20received\x20rejection.','_pendingMutations','PERMISSION_REJ','_retryCount','_entities','2337534OKtlUI','UNRECOGNIZED','length','closeSession','COMMENT_UPDATE','_onCombEvent','JOIN_ROOM_FAILED','SEND_CHANGESET_TIMEOUT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/universer-api/authz','clear','onRemoteRej','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSendChangesetTimeout','?size=','_doProcessBlock','_replayCachedMutations','getSheetBlock','YUUMI_RATE_OVER_LIMIT','online$','sheets','CHANGESET_ACK','startsWith','editing\x20status\x20changed\x20to','dispose$','_stopTelemetryCollaborationNewChangeset','NoPadding','reverse','_permissionService','every','removeMember','updatePermissionObjEvent','_doCreateSocket','Base64','_state$','getUnitStatus$','_status$','randomBytes','getActiveSheet','getTime','642439AjtIIN','/resources','transformUndoRedo','create','/new_changes','BufferedBlockAlgorithm','members$','_lockTransition','setConfig','Undefined','_singleActiveUnitService','floor','SOCKET_FAILED','_oKey','_transitionLocked','[FetchMissState]','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','charAt','PERMISSION_DENIED','LIVESHARE_TERMINATE','byteOffset','/-/object/-/batch_allowed','src','_createInitialStateImpl','_instanceService','_snapshotServerService','onRemoteRetry','LIVESHARE_REQUEST_HOST','reject','_joinRoom','UNKNOWN_CMD','toggleOffline','ciphertext','_unitInfo$','max','960FzuFtK','resend','OTHER_CLIENT_EDITING','status','baseRev','_DEC_XFORM_MODE','_handlerCallback','exports','_onRemoteRejected','now','_logService','_httpService','memberID','_cipher','image/bmp','_hasher','_commandService','msCrypto','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','focused$','_members$','textRanges','reduce','_createInitialState','_redoStacks','UNIVER_UNKNOWN','_retryConnectingTimer','onRemoteAck','getUnitOnRev','YUUMI_SUBSCRIPTION_NOT_FOUND','getImage','event$','name','getCollabEntity','roles','subUnitId','LOGIN_FAILED','BlockCipherMode','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','close$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','8221961DOOjyI','_sessions','[OfflineState]:\x20received\x20changeset.','_injector','saveChangeset','reset','appendMutation','RECV','fetchMissingChangesets','symbol','catch','socket\x20close','__Key__','UNIVER_DOC','_waitCount','has','_fetchMissChangesets','localCacheService','function','_iKey','crypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[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.','_disableEditing','_getCtorByUniverType','getDeserializedSheetBlock','MD5','UNISCRIPT_RUN','_univerInstanceService','APPLY_NON_SEQUENTIAL_REVISION','/universer-api/stream/file/upload','_minBufferSize','EMAIL_HAS_BEEN_BOUND','_onLocalMutation','_commentUpdate$','_changesetReqId','_getUndoStack','__esModule','data','unitInfo$','UUID','resolve','origin','awaiting_with_pending','INVALID_ARGUMENT','entries','_onConnectionFailed','collaMsg','_doReset','getConfig','_decreaseWaiting','[CollaborationSessionService]','[SyncedState]:\x20received\x20rejection.','prototype','fromCollab','_resendTimeout','toString','retryConnectingInterval','permissionRejEvent','loadDoc','getUnitId','SHA1','_getAPIPrefix','capture','Hex','_isPermissionRej','BASE64','executeCommand','_startCollaboration','sin','_collabSessionService','_onJoinRoomEvent','ENSURE_SNAPSHOT_EXECUTION','ONLINE','cfg','UNKNOWN_CODE','_createHelper','_unitID','change$','SHOULD_CLOSE_CONN','_event$','OTHER_CLIENTS_EDITING','state$','state','_acknowledgedAwaitingChangeset','DEFAULT_FILE_NAME','apply','[CollaborationEntity]','_createHmacHelper','snapshotServerUrl','\x0aAfter:\x20','&to=','post','LICENSE_IMPORT_SIZE_EXCEEDED','readyForCollab','YUUMI_NO_CUBOID_FOR_QUESTION','_getLoginPath','updatePermissionPoint','USERS_ENTER','_undoStacks','SNAPSHOT_SERVER_URL_KEY','JOIN_ROOM_NOT_EXISTS','substr','unknown','HttpExport','objects','collabWebSocketUrl','JOIN_ROOM_FULL','CHANGESET_REVISION_CONFILICT','unitID','INVITE_CODE_REQUIRED','getUnitType','entityInit$','RETRY_CONNECTING_MAX_COUNT','getAllMembers','_getRedoStack','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_getUploadFileURL','SNAPSHOT_INVALID_SNAPSHOT','_reverseMap','mode','onlyLocal','connection\x20error','_queuedRemoteChangesets','csAckEvent','isArray','/block/','selections','call','reqId','defineProperty','ALREADY_EXISTS','image/png','open$','uniscriptRunEvent','INTERNAL_ERROR','EMAIL_VERIFY_CODE_MISMATCH','joinEvent','CBC','session.join-failed','transformMutationsWithChangeset','push','fetching\x20missing\x20changesets\x20from\x20','?url=','enc','conflict','_transformIMECache','YUUMI_ALL_TABLES_IS_INVALID','getInterceptPoints','FETCH_MISS','_memberService','incrementRevOfUnit','unitId','Error\x20on\x20receiving\x20event','1315041gcYtva','HEARTBEAT_TIMEOUT','onTransformSelections','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[DataLoaderService]','loadSheet','_scheduleCollaborationTimeoutTimer','HMAC','kdf','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_DUPLICATED','Failed\x20to\x20update\x20permission\x20point','HELLO','_getSignURL','_onRemoteACK','join','17478Sdycrb','getCurrentSelections','addHandlerCallback','enableSingleActiveInstanceLock','objectType','mutations','getOwnPropertyDescriptor','_localeService','_keySchedule','UNIVER_SHEET','getTypeOfUnitDisposed$','getSnapshotAPIPath','_collaborationUIEventService','/universer-api/uniscript','dispose','AES','from','_tryReconnect','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','OpenSSL','padding','_sendHeartbeat','subject','/unit/','delete','requestParams','hasOwnProperty','complete','_telemetryInfo','updateOfflineData','[CollaborationUndoRedoService]','INVITE_CODE_ALREADY_BOUND','OPTIONAL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_unlockTransition','COMPLETION_FINISHED','_collaborationPaused','Utf8','createEncryptor','algo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getCurrentRevision','batchAllowed','forEach','send','onMissingChangesets','People','getRoom','add','HttpImport','localeService','_updateState','offline','NOT_FOUND','univer-pro.collaboration-client-socket-service','_sendHeartbeatTimer','compute','_entityInit$','UPDATE_CURSOR','_startTelemetryCollaborationNewChangeset','_onConnectionOpen','getTypeOfUnitAdded$','socket\x20open.','/universer-api/oidc/authpage','COMPRESS_MUTATION_APPLY','/allowed','WECHAT_HAS_BEEN_BOUND','_executeRemoteChangeset','encrypt','toggleOnline','JOIN','blockSize','patch','salt','finalize','onSyncEditingCollabCursor','cmd','reconnect','getWorkbookSelections','YUUMI_URL_COL_OUT_OF_RANGE','size','formatter','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_doFinalize','23454sYOCBV','_onRecvEvent','listCollaborators','_resendTimer','encodeURIComponent','INGEST','collabSubmitChangesetUrl','UNAUTHENTICATED','min','then','SNAPSHOT_HAS_BEEN_REMOVED','EvpKDF','COLLAB_WEB_SOCKET_URL','_keyPriorReset','_initRequestHeader','href','_scheduleCompleteTimestamp','_createHandler','JOIN_ROOM_PERMISSION_DENIED','message$','_getDownloadEndpointURL','/universer-api/file/{fileID}/sign-url','[OfflineState]:\x20received\x20rejection.','originalMeta','_clearLocalCache','onTransformState','target','APPLY_REVISION_CONFILICT','extend','_doCryptBlock','fetchThroughInterceptors','onRemoteChangeset','copyFileMeta','UNIVER_SLIDE','[SyncedState]:\x20received\x20acknowledgement.','ERROR_EXCEED_SIZE','onTransformRemoteChangesetByIMECache','auth.needGotoLoginAlert','list','Pkcs7','ivSize','LIVESHARE_NEW_HOST','sessionStatus','_state','getCurrentUser','default','getMemberID','signUrlServerUrl','getLatestCsReqIdBySid','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sessionStatus$','_substituteRedoStack','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','changesets','FETCH_MISSING','routeKey','_toggleOnline','isPermissionRej','fetchMiss','_onUserLeave','[CollaborationState]:\x20apply\x20error!','_xformMode','LIVESHARE_FETCH_OPERATIONS','JOINING','createInstance','_transformStack','infoRsp','sid','_updateLocalCache','UserProfileImg','error$','concat','_ENC_XFORM_MODE','socketService','_tryEnsureSocket','ERROR_IMAGE','CHANGESET_SHOULD_RETRY','SUBMIT_CHANGESET','_snapshotService','splice','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_emitMembers','objectActions','$super','Hasher','transformStack\x20failed!','/universer-api/snapshot','/object','_transformService','_roomMembers','pipe','NEW_CHANGESETS','_compressMutationService','image/gif','lib','BlockCipher','stringify','Cipher','_roomCreated$','_socket$','findIndex','emitEvent','_collaborationSessionService','_clearUndo','uploadFileServerUrl','_members','registerHTTPInterceptor','shouldCloseConn','clamp','_userManagerService','SYNCED','pending','location','_initDependencies','_hash','_transformRemoteChangesetByIMECache','_exhaustRemoteChangesetQueue','/collaborator','url','revision','encode','type','format','sigBytes','liveShareOperation','synced','keySize','newCsEvent','POST','OFFLINE','_substituteUndoStack','_type','parse','_shouldReportTelemetry','m2Prime','mixIn','override','onStateChange','_clearScheduledTask','close','YUUMI_ASYNCIO_CANCELLED','collaboration-client.config','workbook','_append','Encryptor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','values','/-/object/list','onSendChangeset','FileId','eventID','[UniverCollaborationClientPlugin]','UnitEmbedded','_clearHeartbeatTimer','_onMessage','LICENSE_MAX_UNITS_EXCEEDED','_HTTPService','[CollaborationSession]','PY_RUNTIME_SCRIPT_ERROR','_clearRetryConnectingTimer','FAIL','_replaceFileID','_sheetTransformSelectionsService','Decryptor','getValue','_process','MOBILE_HAS_BEEN_BOUND','authzUrl','APPLY_PERMISSION_DENIED','_sendingTimer','update','_data','setWaitCount','_onRemoteRetry','image/jpeg','INVALID_INVITE_CODE','APPLY_REJECT','commentUpdateEvent','HEARTBEAT','pluginName','_transformRemoteChangesetByStateCache','collaborators','params','set','slice','_registerDependencies','headers','MSG_FOR_ERROR','getUnit','LEAVE','pauseCollaboration','awaitingChangeset','_undoRedoService','CONNECTOR_DATA_TOO_LARGE','_map','CLOSE_ROOM','loadUnitOfRevision','_commentService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','csRejEvent','{fileID}','UNIVER_PROJECT','SOCKET_FAILED_RETRY','_initCloseConn','USER_NOT_INVITED_CODE','ws://127.0.0.1:8000/universer-api/comb/connect','asObservable','_configService','_mode','requireSession','c1Prime','createDecryptor','get','_eventService','_iv','string','_initMergeInterceptor','_revisionService','_socketService','pad','subscribe','NO_OTHER_CLIENTS_EDITING','updateCursorEvent','GLOBAL_ROOMS_CNT_EXCEEDS','decryptBlock','_throwTelemetryCollaborationNewChangeset','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','commentUpdate$','LIVESHARE_OPERATION','members','getRandomValues','_candidateSocket','INVITE_CODE_HAS_BEEN_UES','next','_updateStatus','init','readInt32LE','rev','map','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','put','Base','abs','_sessionStatus$','result','not_collab','_config','_localCacheService','fromCharCode','getImageSourceCache','interceptor','_listenToNetworkCondition','updateCollaborator','onMissedChangesetFetched','UnitSnapshot','title','onLocalMutation','/universer-api/user/session-ticket','hasher','repeat','getCurrentRevOfUnit','execute','addImageSourceCache','PSEUDO_FETCH_MISSING_RESULT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','__creator','StreamCipher','_submitChangeset','[PendingState]:\x20received\x20acknowledgement.','_parse','getResourcesRequest','file','disposeWithMe','filter','awaiting','_awaitingChangeset','_nDataBytes','updateMember','clone','unsubscribe','IDLE','find','_transformSelections','/object/','onStarting','10iOfKMD','_syncEditingCollabCursor','_imageSourceCache','byteLength','stopTime','collaboratorID','_checkMissing','PasswordBasedCipher','charCodeAt','_toggleOffline','LICENSE_DISTRO_REJECTED','COMPRESS_MUTATION_SEND','NOT_COLLAB','transformSelections','liveShareNewHost','_change$','2002tLqAtl','Malformed\x20UTF-8\x20data','_collaborationTimeoutTimer','c2Prime','includes','setCurrentUser','onCommandExecuted','getSheetId','setShowComponents','UNDEFINED','getFocusedUnit','_socketMessageSubscription','_onUserJoin','_removeRoom','deepClone','MUTATION','onCommentUpdate','onTransformIME','encryptBlock','readAsDataURL','_getAPIPrefixPath','UPDATE_PERMISSION_OBJ','indexOf','updateSnapshot','_clearRedo','session.room-full','_socketReady','actions','body','_incrementRevisionNumber','MOBILE_VERIFY_CODE_MISMATCH','_onConflict','createSocket','session','onload','_handler','userID','code','_sender','editingUnit','status$','_timeoutTimer','CONFLICT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_schedule','objectID','enableAuthServer','generateRandomId','_clearCollaborationTimeoutTimer','words','&assign=','_initUnitPermissionChange','5yVnsom','_socket','_transformStateCache','debug','sendChangesetTimeout','193628hvvCan','saveImage','_prevBlock','decrypt','transformChangesets','submit\x20changeset\x20error!','_init','fetch_missing','/universer-api/comb','_telemetryService','key','_transformUndoredo','_remoteChangesetQueue','SNAPSHOT_URL_KEY','onTransformRemoteChangesetByStateCache','_changesetSessionId','responseType','_networkConditionService','image/jpg','_onRemoteChangeset','USERS_LEAVE','random','[CollaborationSessionService]:\x20socket\x20error','ceil','leaveEvent','PERSON','loadUnit','saveSheetBlock','WordArray','_clearTimeoutTimer'];_0x5c55=function(){return _0x1d629d;};return _0x5c55();}var En=Ke[_0x2c12ee(0x38e)],Qt;function yi(){var _0x28e7c4=_0x2c12ee;return Qt||(Qt=0x1,function(_0x5ea302,_0xedae71){(function(_0x317e32,_0x361345,_0xad32e4){var _0x57d991=_0x12ec;_0x5ea302[_0x57d991(0x38e)]=_0x361345(te(),mn(),Sn());}(En,function(_0x8d26cf){var _0x3297c5=_0x12ec;return(function(){var _0x1aae49=_0x12ec,_0x1afcb3=_0x8d26cf,_0x54d075=_0x1afcb3['lib'],_0x15c43d=_0x54d075[_0x1aae49(0x297)],_0x3be884=_0x54d075[_0x1aae49(0x328)],_0x53e57d=_0x1afcb3['algo'],_0x301f8b=_0x53e57d[_0x1aae49(0x3cb)],_0x317c32=_0x53e57d[_0x1aae49(0x4ba)]=_0x15c43d[_0x1aae49(0x1c1)]({'cfg':_0x15c43d[_0x1aae49(0x1c1)]({'keySize':0x80/0x20,'hasher':_0x301f8b,'iterations':0x1}),'init':function(_0x3111c1){var _0x4bb53a=_0x1aae49;this[_0x4bb53a(0x3fb)]=this[_0x4bb53a(0x3fb)]['extend'](_0x3111c1);},'compute':function(_0x53cbda,_0x217917){var _0x5e0935=_0x1aae49;for(var _0x2fafd4,_0x55a5a9=this['cfg'],_0x5893c5=_0x55a5a9['hasher'][_0x5e0935(0x367)](),_0x4f6684=_0x3be884[_0x5e0935(0x367)](),_0x19e526=_0x4f6684[_0x5e0935(0x304)],_0x10eceb=_0x55a5a9['keySize'],_0x20a70f=_0x55a5a9['iterations'];_0x19e526[_0x5e0935(0x33e)]<_0x10eceb;){_0x2fafd4&&_0x5893c5['update'](_0x2fafd4),_0x2fafd4=_0x5893c5['update'](_0x53cbda)[_0x5e0935(0x4a5)](_0x217917),_0x5893c5[_0x5e0935(0x3b5)]();for(var _0x22626f=0x1;_0x22626f<_0x20a70f;_0x22626f++)_0x2fafd4=_0x5893c5[_0x5e0935(0x4a5)](_0x2fafd4),_0x5893c5['reset']();_0x4f6684[_0x5e0935(0x1ec)](_0x2fafd4);}return _0x4f6684[_0x5e0935(0x220)]=_0x10eceb*0x4,_0x4f6684;}});_0x1afcb3[_0x1aae49(0x4ba)]=function(_0x2655ca,_0x4fe198,_0x533443){return _0x317c32['create'](_0x533443)['compute'](_0x2655ca,_0x4fe198);};}()),_0x8d26cf[_0x3297c5(0x4ba)];}));}(Ke)),Ke[_0x28e7c4(0x38e)];}var Je={'exports':{}},In=Je[_0x2c12ee(0x38e)],ei;function Ni(){var _0xe51e42=_0x2c12ee;return ei||(ei=0x1,function(_0x27bcee,_0x3bb4a0){(function(_0x44845a,_0x494f3c,_0xd30d6d){var _0x31f73b=_0x12ec;_0x27bcee[_0x31f73b(0x38e)]=_0x494f3c(te(),yi());}(In,function(_0xc6ad43){var _0xee2f23=_0x12ec;_0xc6ad43[_0xee2f23(0x203)][_0xee2f23(0x206)]||function(_0x2bf64a){var _0x42ae5d=_0xee2f23,_0x27d2a1=_0xc6ad43,_0x3089ea=_0x27d2a1[_0x42ae5d(0x203)],_0x53c0fe=_0x3089ea[_0x42ae5d(0x297)],_0x210454=_0x3089ea[_0x42ae5d(0x328)],_0x22cc01=_0x3089ea[_0x42ae5d(0x369)],_0x1e4de2=_0x27d2a1[_0x42ae5d(0x441)];_0x1e4de2[_0x42ae5d(0x480)];var _0x3ce553=_0x1e4de2[_0x42ae5d(0x35d)],_0x19cfc3=_0x27d2a1['algo'],_0x292117=_0x19cfc3[_0x42ae5d(0x4ba)],_0x399da1=_0x3089ea[_0x42ae5d(0x206)]=_0x22cc01[_0x42ae5d(0x1c1)]({'cfg':_0x53c0fe[_0x42ae5d(0x1c1)](),'createEncryptor':function(_0xb1b6c1,_0x47cfd9){var _0x8e879=_0x42ae5d;return this[_0x8e879(0x367)](this[_0x8e879(0x1ed)],_0xb1b6c1,_0x47cfd9);},'createDecryptor':function(_0x229a2a,_0x4a501e){var _0x36cbb4=_0x42ae5d;return this['create'](this[_0x36cbb4(0x38c)],_0x229a2a,_0x4a501e);},'init':function(_0x7e2820,_0x50761c,_0xa99cbf){var _0x559794=_0x42ae5d;this[_0x559794(0x3fb)]=this[_0x559794(0x3fb)]['extend'](_0xa99cbf),this[_0x559794(0x1e2)]=_0x7e2820,this[_0x559794(0x331)]=_0x50761c,this[_0x559794(0x3b5)]();},'reset':function(){var _0x5c2e02=_0x42ae5d;_0x22cc01['reset'][_0x5c2e02(0x431)](this),this['_doReset']();},'process':function(_0x3e1d44){var _0x218240=_0x42ae5d;return this[_0x218240(0x234)](_0x3e1d44),this[_0x218240(0x24a)]();},'finalize':function(_0x40d593){var _0x53460e=_0x42ae5d;_0x40d593&&this['_append'](_0x40d593);var _0x35efd2=this[_0x53460e(0x4ae)]();return _0x35efd2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x574c59(_0x4c1744){var _0x2cdfb3=_0x12ec;return typeof _0x4c1744==_0x2cdfb3(0x27c)?_0x53a92a:_0x18ff68;}return function(_0x4f7a86){return{'encrypt':function(_0x1e4ebb,_0xa533ae,_0x23c9c3){var _0x585882=_0x12ec;return _0x574c59(_0xa533ae)[_0x585882(0x49f)](_0x4f7a86,_0x1e4ebb,_0xa533ae,_0x23c9c3);},'decrypt':function(_0x9548a4,_0x3c7cb1,_0x4caf61){var _0x45a39b=_0x12ec;return _0x574c59(_0x3c7cb1)[_0x45a39b(0x30f)](_0x4f7a86,_0x9548a4,_0x3c7cb1,_0x4caf61);}};};}())});_0x3089ea[_0x42ae5d(0x2b0)]=_0x399da1[_0x42ae5d(0x1c1)]({'_doFinalize':function(){var _0x279f9a=_0x42ae5d,_0x5a0808=this[_0x279f9a(0x24a)](!0x0);return _0x5a0808;},'blockSize':0x1});var _0x16766a=_0x27d2a1[_0x42ae5d(0x429)]={},_0x1e0c66=_0x3089ea[_0x42ae5d(0x3ac)]=_0x53c0fe[_0x42ae5d(0x1c1)]({'createEncryptor':function(_0x1b78c9,_0x54657c){var _0x1abdd8=_0x42ae5d;return this[_0x1abdd8(0x235)]['create'](_0x1b78c9,_0x54657c);},'createDecryptor':function(_0x39de32,_0x2999d0){var _0x551b9b=_0x42ae5d;return this[_0x551b9b(0x248)]['create'](_0x39de32,_0x2999d0);},'init':function(_0x3575ee,_0x2bb8ed){var _0x5c8fa5=_0x42ae5d;this[_0x5c8fa5(0x394)]=_0x3575ee,this[_0x5c8fa5(0x27b)]=_0x2bb8ed;}}),_0x5601dc=_0x16766a[_0x42ae5d(0x43b)]=(function(){var _0x1ee8d7=_0x42ae5d,_0x3f27e1=_0x1e0c66['extend']();_0x3f27e1['Encryptor']=_0x3f27e1[_0x1ee8d7(0x1c1)]({'processBlock':function(_0x5bc302,_0x3531a7){var _0x30a28f=_0x1ee8d7,_0x495a4f=this[_0x30a28f(0x394)],_0x212534=_0x495a4f[_0x30a28f(0x4a2)];_0x15cd64[_0x30a28f(0x431)](this,_0x5bc302,_0x3531a7,_0x212534),_0x495a4f[_0x30a28f(0x2e5)](_0x5bc302,_0x3531a7),this[_0x30a28f(0x30e)]=_0x5bc302[_0x30a28f(0x25d)](_0x3531a7,_0x3531a7+_0x212534);}}),_0x3f27e1[_0x1ee8d7(0x248)]=_0x3f27e1['extend']({'processBlock':function(_0x29d22b,_0x1a0572){var _0x926ade=_0x1ee8d7,_0x344eed=this[_0x926ade(0x394)],_0x4b0ec8=_0x344eed['blockSize'],_0x4f4d8a=_0x29d22b[_0x926ade(0x25d)](_0x1a0572,_0x1a0572+_0x4b0ec8);_0x344eed[_0x926ade(0x285)](_0x29d22b,_0x1a0572),_0x15cd64[_0x926ade(0x431)](this,_0x29d22b,_0x1a0572,_0x4b0ec8),this[_0x926ade(0x30e)]=_0x4f4d8a;}});function _0x15cd64(_0x3c47ed,_0x5575bc,_0x4b339a){var _0x4606e5=_0x1ee8d7,_0x11c5b9,_0x140c49=this[_0x4606e5(0x27b)];_0x140c49?(_0x11c5b9=_0x140c49,this['_iv']=_0x2bf64a):_0x11c5b9=this['_prevBlock'];for(var _0x31275b=0x0;_0x31275b<_0x4b339a;_0x31275b++)_0x3c47ed[_0x5575bc+_0x31275b]^=_0x11c5b9[_0x31275b];}return _0x3f27e1;}()),_0x37807c=_0x27d2a1[_0x42ae5d(0x280)]={},_0x1b5668=_0x37807c[_0x42ae5d(0x1cc)]={'pad':function(_0x43545d,_0x229c31){var _0x5e2283=_0x42ae5d;for(var _0x18d578=_0x229c31*0x4,_0x4932fc=_0x18d578-_0x43545d[_0x5e2283(0x220)]%_0x18d578,_0x2343f9=_0x4932fc<<0x18|_0x4932fc<<0x10|_0x4932fc<<0x8|_0x4932fc,_0x13c4b2=[],_0x288c78=0x0;_0x288c78<_0x4932fc;_0x288c78+=0x4)_0x13c4b2['push'](_0x2343f9);var _0x5eae93=_0x210454['create'](_0x13c4b2,_0x4932fc);_0x43545d[_0x5e2283(0x1ec)](_0x5eae93);},'unpad':function(_0x46db68){var _0x20aa64=_0x42ae5d,_0x343675=_0x46db68[_0x20aa64(0x304)][_0x46db68['sigBytes']-0x1>>>0x2]&0xff;_0x46db68[_0x20aa64(0x220)]-=_0x343675;}};_0x3089ea[_0x42ae5d(0x204)]=_0x399da1[_0x42ae5d(0x1c1)]({'cfg':_0x399da1[_0x42ae5d(0x3fb)][_0x42ae5d(0x1c1)]({'mode':_0x5601dc,'padding':_0x1b5668}),'reset':function(){var _0x179cee=_0x42ae5d,_0x5ba21a;_0x399da1[_0x179cee(0x3b5)][_0x179cee(0x431)](this);var _0x57b129=this[_0x179cee(0x3fb)],_0xa3d50e=_0x57b129['iv'],_0x4a5a35=_0x57b129[_0x179cee(0x429)];this[_0x179cee(0x1e2)]==this['_ENC_XFORM_MODE']?_0x5ba21a=_0x4a5a35['createEncryptor']:(_0x5ba21a=_0x4a5a35[_0x179cee(0x278)],this[_0x179cee(0x3d0)]=0x1),this['_mode']&&this[_0x179cee(0x275)][_0x179cee(0x2af)]==_0x5ba21a?this[_0x179cee(0x275)]['init'](this,_0xa3d50e&&_0xa3d50e['words']):(this[_0x179cee(0x275)]=_0x5ba21a['call'](_0x4a5a35,this,_0xa3d50e&&_0xa3d50e[_0x179cee(0x304)]),this['_mode'][_0x179cee(0x2af)]=_0x5ba21a);},'_doProcessBlock':function(_0x49d1dd,_0xdc5a5){this['_mode']['processBlock'](_0x49d1dd,_0xdc5a5);},'_doFinalize':function(){var _0xd9982e=_0x42ae5d,_0x175981,_0x41cfae=this[_0xd9982e(0x3fb)][_0xd9982e(0x46f)];return this[_0xd9982e(0x1e2)]==this[_0xd9982e(0x1ed)]?(_0x41cfae[_0xd9982e(0x280)](this['_data'],this[_0xd9982e(0x4a2)]),_0x175981=this[_0xd9982e(0x24a)](!0x0)):(_0x175981=this[_0xd9982e(0x24a)](!0x0),_0x41cfae['unpad'](_0x175981)),_0x175981;},'blockSize':0x80/0x20});var _0x22cec7=_0x3089ea['CipherParams']=_0x53c0fe['extend']({'init':function(_0x2b1ea4){this['mixIn'](_0x2b1ea4);},'toString':function(_0x376845){var _0x1fe112=_0x42ae5d;return(_0x376845||this[_0x1fe112(0x4ac)])[_0x1fe112(0x205)](this);}}),_0x5f2af5=_0x27d2a1[_0x42ae5d(0x21f)]={},_0x12ee5d=_0x5f2af5[_0x42ae5d(0x46e)]={'stringify':function(_0x933d02){var _0x2cf3fc=_0x42ae5d,_0x4f43b5,_0x4cbe70=_0x933d02[_0x2cf3fc(0x384)],_0x3163b9=_0x933d02['salt'];return _0x3163b9?_0x4f43b5=_0x210454[_0x2cf3fc(0x367)]([0x53616c74,0x65645f5f])[_0x2cf3fc(0x1ec)](_0x3163b9)[_0x2cf3fc(0x1ec)](_0x4cbe70):_0x4f43b5=_0x4cbe70,_0x4f43b5[_0x2cf3fc(0x3e9)](_0x3ce553);},'parse':function(_0x102d43){var _0x278a32=_0x42ae5d,_0x7fe44a,_0x3a062a=_0x3ce553[_0x278a32(0x229)](_0x102d43),_0x1005d0=_0x3a062a[_0x278a32(0x304)];return _0x1005d0[0x0]==0x53616c74&&_0x1005d0[0x1]==0x65645f5f&&(_0x7fe44a=_0x210454[_0x278a32(0x367)](_0x1005d0[_0x278a32(0x25d)](0x2,0x4)),_0x1005d0[_0x278a32(0x1f4)](0x0,0x4),_0x3a062a[_0x278a32(0x220)]-=0x10),_0x22cec7['create']({'ciphertext':_0x3a062a,'salt':_0x7fe44a});}},_0x18ff68=_0x3089ea['SerializableCipher']=_0x53c0fe[_0x42ae5d(0x1c1)]({'cfg':_0x53c0fe[_0x42ae5d(0x1c1)]({'format':_0x12ee5d}),'encrypt':function(_0x1713a4,_0x56aa6d,_0x57bcba,_0x376d6f){var _0x3ef65f=_0x42ae5d;_0x376d6f=this[_0x3ef65f(0x3fb)][_0x3ef65f(0x1c1)](_0x376d6f);var _0x4fa76f=_0x1713a4[_0x3ef65f(0x481)](_0x57bcba,_0x376d6f),_0x53da0a=_0x4fa76f[_0x3ef65f(0x4a5)](_0x56aa6d),_0x1aed0b=_0x4fa76f[_0x3ef65f(0x3fb)];return _0x22cec7[_0x3ef65f(0x367)]({'ciphertext':_0x53da0a,'key':_0x57bcba,'iv':_0x1aed0b['iv'],'algorithm':_0x1713a4,'mode':_0x1aed0b[_0x3ef65f(0x429)],'padding':_0x1aed0b[_0x3ef65f(0x46f)],'blockSize':_0x1713a4['blockSize'],'formatter':_0x376d6f[_0x3ef65f(0x21f)]});},'decrypt':function(_0x2a2c65,_0x44ca66,_0x2b7354,_0x537cd8){var _0x418369=_0x42ae5d;_0x537cd8=this['cfg'][_0x418369(0x1c1)](_0x537cd8),_0x44ca66=this['_parse'](_0x44ca66,_0x537cd8[_0x418369(0x21f)]);var _0x5c17fa=_0x2a2c65[_0x418369(0x278)](_0x2b7354,_0x537cd8)[_0x418369(0x4a5)](_0x44ca66[_0x418369(0x384)]);return _0x5c17fa;},'_parse':function(_0x2dea9e,_0x5582e8){var _0x1aac79=_0x42ae5d;return typeof _0x2dea9e=='string'?_0x5582e8[_0x1aac79(0x229)](_0x2dea9e,this):_0x2dea9e;}}),_0x21d861=_0x27d2a1[_0x42ae5d(0x453)]={},_0x40d52d=_0x21d861[_0x42ae5d(0x46e)]={'execute':function(_0x483736,_0x1ab0a1,_0x40ceee,_0x24921c,_0x2aeab7){var _0x2367a3=_0x42ae5d;if(_0x24921c||(_0x24921c=_0x210454[_0x2367a3(0x321)](0x40/0x8)),_0x2aeab7)var _0xb171f8=_0x292117[_0x2367a3(0x367)]({'keySize':_0x1ab0a1+_0x40ceee,'hasher':_0x2aeab7})[_0x2367a3(0x493)](_0x483736,_0x24921c);else var _0xb171f8=_0x292117[_0x2367a3(0x367)]({'keySize':_0x1ab0a1+_0x40ceee})[_0x2367a3(0x493)](_0x483736,_0x24921c);var _0x4d4aea=_0x210454[_0x2367a3(0x367)](_0xb171f8['words'][_0x2367a3(0x25d)](_0x1ab0a1),_0x40ceee*0x4);return _0xb171f8['sigBytes']=_0x1ab0a1*0x4,_0x22cec7[_0x2367a3(0x367)]({'key':_0xb171f8,'iv':_0x4d4aea,'salt':_0x24921c});}},_0x53a92a=_0x3089ea[_0x42ae5d(0x2ca)]=_0x18ff68[_0x42ae5d(0x1c1)]({'cfg':_0x18ff68[_0x42ae5d(0x3fb)]['extend']({'kdf':_0x40d52d}),'encrypt':function(_0x414730,_0x3f30b1,_0x15de20,_0x1a6582){var _0x43edff=_0x42ae5d;_0x1a6582=this[_0x43edff(0x3fb)]['extend'](_0x1a6582);var _0x50bbd1=_0x1a6582['kdf']['execute'](_0x15de20,_0x414730['keySize'],_0x414730[_0x43edff(0x1cd)],_0x1a6582[_0x43edff(0x4a4)],_0x1a6582[_0x43edff(0x2a8)]);_0x1a6582['iv']=_0x50bbd1['iv'];var _0x617fa5=_0x18ff68[_0x43edff(0x49f)][_0x43edff(0x431)](this,_0x414730,_0x3f30b1,_0x50bbd1[_0x43edff(0x316)],_0x1a6582);return _0x617fa5[_0x43edff(0x22c)](_0x50bbd1),_0x617fa5;},'decrypt':function(_0x3fdafe,_0x389c5c,_0x2832e6,_0x47c7de){var _0x51ab0d=_0x42ae5d;_0x47c7de=this[_0x51ab0d(0x3fb)][_0x51ab0d(0x1c1)](_0x47c7de),_0x389c5c=this[_0x51ab0d(0x2b3)](_0x389c5c,_0x47c7de['format']);var _0x53f3ad=_0x47c7de[_0x51ab0d(0x453)][_0x51ab0d(0x2ab)](_0x2832e6,_0x3fdafe[_0x51ab0d(0x223)],_0x3fdafe[_0x51ab0d(0x1cd)],_0x389c5c[_0x51ab0d(0x4a4)],_0x47c7de[_0x51ab0d(0x2a8)]);_0x47c7de['iv']=_0x53f3ad['iv'];var _0x34f434=_0x18ff68['decrypt']['call'](this,_0x3fdafe,_0x389c5c,_0x53f3ad[_0x51ab0d(0x316)],_0x47c7de);return _0x34f434;}});}();}));}(Je)),Je[_0xe51e42(0x38e)];}var Tn=Ve[_0x2c12ee(0x38e)],ti;function Cn(){var _0x14de87=_0x2c12ee;return ti||(ti=0x1,function(_0x4f40c6,_0x6e237b){(function(_0x589e38,_0x4a052c,_0x5240da){var _0x459c05=_0x12ec;_0x4f40c6[_0x459c05(0x38e)]=_0x4a052c(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x3f41ab){var _0x36b55f=_0x12ec;return(function(){var _0x294163=_0x12ec,_0x5e1356=_0x3f41ab,_0x10022f=_0x5e1356[_0x294163(0x203)],_0x1c3f22=_0x10022f[_0x294163(0x204)],_0x34b823=_0x5e1356[_0x294163(0x482)],_0x3d26e2=[],_0x34541a=[],_0x2cafcd=[],_0x1bf8bf=[],_0x1f1284=[],_0x16e0b4=[],_0x40bc42=[],_0x13744a=[],_0x547b28=[],_0x3e6a36=[];(function(){for(var _0x42e465=[],_0x49aed4=0x0;_0x49aed4<0x100;_0x49aed4++)_0x49aed4<0x80?_0x42e465[_0x49aed4]=_0x49aed4<<0x1:_0x42e465[_0x49aed4]=_0x49aed4<<0x1^0x11b;for(var _0x497456=0x0,_0x361f6a=0x0,_0x49aed4=0x0;_0x49aed4<0x100;_0x49aed4++){var _0x5f24af=_0x361f6a^_0x361f6a<<0x1^_0x361f6a<<0x2^_0x361f6a<<0x3^_0x361f6a<<0x4;_0x5f24af=_0x5f24af>>>0x8^_0x5f24af&0xff^0x63,_0x3d26e2[_0x497456]=_0x5f24af,_0x34541a[_0x5f24af]=_0x497456;var _0x31962e=_0x42e465[_0x497456],_0x33dc3c=_0x42e465[_0x31962e],_0x2f264a=_0x42e465[_0x33dc3c],_0x52e660=_0x42e465[_0x5f24af]*0x101^_0x5f24af*0x1010100;_0x2cafcd[_0x497456]=_0x52e660<<0x18|_0x52e660>>>0x8,_0x1bf8bf[_0x497456]=_0x52e660<<0x10|_0x52e660>>>0x10,_0x1f1284[_0x497456]=_0x52e660<<0x8|_0x52e660>>>0x18,_0x16e0b4[_0x497456]=_0x52e660;var _0x52e660=_0x2f264a*0x1010101^_0x33dc3c*0x10001^_0x31962e*0x101^_0x497456*0x1010100;_0x40bc42[_0x5f24af]=_0x52e660<<0x18|_0x52e660>>>0x8,_0x13744a[_0x5f24af]=_0x52e660<<0x10|_0x52e660>>>0x10,_0x547b28[_0x5f24af]=_0x52e660<<0x8|_0x52e660>>>0x18,_0x3e6a36[_0x5f24af]=_0x52e660,_0x497456?(_0x497456=_0x31962e^_0x42e465[_0x42e465[_0x42e465[_0x2f264a^_0x31962e]]],_0x361f6a^=_0x42e465[_0x42e465[_0x361f6a]]):_0x497456=_0x361f6a=0x1;}}());var _0x586107=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x81e65=_0x34b823[_0x294163(0x46a)]=_0x1c3f22[_0x294163(0x1c1)]({'_doReset':function(){var _0x13025e=_0x294163,_0x4f4a6f;if(!(this[_0x13025e(0x32c)]&&this['_keyPriorReset']===this[_0x13025e(0x331)])){for(var _0x20b219=this[_0x13025e(0x4bc)]=this[_0x13025e(0x331)],_0x4e214b=_0x20b219[_0x13025e(0x304)],_0x114445=_0x20b219[_0x13025e(0x220)]/0x4,_0x51df0b=this[_0x13025e(0x32c)]=_0x114445+0x6,_0x3f52df=(_0x51df0b+0x1)*0x4,_0x9b9311=this[_0x13025e(0x463)]=[],_0x12215f=0x0;_0x12215f<_0x3f52df;_0x12215f++)_0x12215f<_0x114445?_0x9b9311[_0x12215f]=_0x4e214b[_0x12215f]:(_0x4f4a6f=_0x9b9311[_0x12215f-0x1],_0x12215f%_0x114445?_0x114445>0x6&&_0x12215f%_0x114445==0x4&&(_0x4f4a6f=_0x3d26e2[_0x4f4a6f>>>0x18]<<0x18|_0x3d26e2[_0x4f4a6f>>>0x10&0xff]<<0x10|_0x3d26e2[_0x4f4a6f>>>0x8&0xff]<<0x8|_0x3d26e2[_0x4f4a6f&0xff]):(_0x4f4a6f=_0x4f4a6f<<0x8|_0x4f4a6f>>>0x18,_0x4f4a6f=_0x3d26e2[_0x4f4a6f>>>0x18]<<0x18|_0x3d26e2[_0x4f4a6f>>>0x10&0xff]<<0x10|_0x3d26e2[_0x4f4a6f>>>0x8&0xff]<<0x8|_0x3d26e2[_0x4f4a6f&0xff],_0x4f4a6f^=_0x586107[_0x12215f/_0x114445|0x0]<<0x18),_0x9b9311[_0x12215f]=_0x9b9311[_0x12215f-_0x114445]^_0x4f4a6f);for(var _0xcedebd=this['_invKeySchedule']=[],_0x163b78=0x0;_0x163b78<_0x3f52df;_0x163b78++){var _0x12215f=_0x3f52df-_0x163b78;if(_0x163b78%0x4)var _0x4f4a6f=_0x9b9311[_0x12215f];else var _0x4f4a6f=_0x9b9311[_0x12215f-0x4];_0x163b78<0x4||_0x12215f<=0x4?_0xcedebd[_0x163b78]=_0x4f4a6f:_0xcedebd[_0x163b78]=_0x40bc42[_0x3d26e2[_0x4f4a6f>>>0x18]]^_0x13744a[_0x3d26e2[_0x4f4a6f>>>0x10&0xff]]^_0x547b28[_0x3d26e2[_0x4f4a6f>>>0x8&0xff]]^_0x3e6a36[_0x3d26e2[_0x4f4a6f&0xff]];}}},'encryptBlock':function(_0x3c59fd,_0x5d58d4){var _0x431294=_0x294163;this[_0x431294(0x1c2)](_0x3c59fd,_0x5d58d4,this['_keySchedule'],_0x2cafcd,_0x1bf8bf,_0x1f1284,_0x16e0b4,_0x3d26e2);},'decryptBlock':function(_0x35aee7,_0x370973){var _0xe5ca22=_0x294163,_0x3c95b2=_0x35aee7[_0x370973+0x1];_0x35aee7[_0x370973+0x1]=_0x35aee7[_0x370973+0x3],_0x35aee7[_0x370973+0x3]=_0x3c95b2,this[_0xe5ca22(0x1c2)](_0x35aee7,_0x370973,this['_invKeySchedule'],_0x40bc42,_0x13744a,_0x547b28,_0x3e6a36,_0x34541a);var _0x3c95b2=_0x35aee7[_0x370973+0x1];_0x35aee7[_0x370973+0x1]=_0x35aee7[_0x370973+0x3],_0x35aee7[_0x370973+0x3]=_0x3c95b2;},'_doCryptBlock':function(_0x1723d4,_0x51114e,_0x1c9552,_0x1ca16a,_0x8ab2f0,_0xd54647,_0x4d0096,_0x3109ab){for(var _0x150ce0=this['_nRounds'],_0x1439e4=_0x1723d4[_0x51114e]^_0x1c9552[0x0],_0x554334=_0x1723d4[_0x51114e+0x1]^_0x1c9552[0x1],_0x482e49=_0x1723d4[_0x51114e+0x2]^_0x1c9552[0x2],_0x3cb1b3=_0x1723d4[_0x51114e+0x3]^_0x1c9552[0x3],_0x534356=0x4,_0x96f092=0x1;_0x96f092<_0x150ce0;_0x96f092++){var _0x1e7dc8=_0x1ca16a[_0x1439e4>>>0x18]^_0x8ab2f0[_0x554334>>>0x10&0xff]^_0xd54647[_0x482e49>>>0x8&0xff]^_0x4d0096[_0x3cb1b3&0xff]^_0x1c9552[_0x534356++],_0x4d1eb8=_0x1ca16a[_0x554334>>>0x18]^_0x8ab2f0[_0x482e49>>>0x10&0xff]^_0xd54647[_0x3cb1b3>>>0x8&0xff]^_0x4d0096[_0x1439e4&0xff]^_0x1c9552[_0x534356++],_0x1b0c8f=_0x1ca16a[_0x482e49>>>0x18]^_0x8ab2f0[_0x3cb1b3>>>0x10&0xff]^_0xd54647[_0x1439e4>>>0x8&0xff]^_0x4d0096[_0x554334&0xff]^_0x1c9552[_0x534356++],_0x318291=_0x1ca16a[_0x3cb1b3>>>0x18]^_0x8ab2f0[_0x1439e4>>>0x10&0xff]^_0xd54647[_0x554334>>>0x8&0xff]^_0x4d0096[_0x482e49&0xff]^_0x1c9552[_0x534356++];_0x1439e4=_0x1e7dc8,_0x554334=_0x4d1eb8,_0x482e49=_0x1b0c8f,_0x3cb1b3=_0x318291;}var _0x1e7dc8=(_0x3109ab[_0x1439e4>>>0x18]<<0x18|_0x3109ab[_0x554334>>>0x10&0xff]<<0x10|_0x3109ab[_0x482e49>>>0x8&0xff]<<0x8|_0x3109ab[_0x3cb1b3&0xff])^_0x1c9552[_0x534356++],_0x4d1eb8=(_0x3109ab[_0x554334>>>0x18]<<0x18|_0x3109ab[_0x482e49>>>0x10&0xff]<<0x10|_0x3109ab[_0x3cb1b3>>>0x8&0xff]<<0x8|_0x3109ab[_0x1439e4&0xff])^_0x1c9552[_0x534356++],_0x1b0c8f=(_0x3109ab[_0x482e49>>>0x18]<<0x18|_0x3109ab[_0x3cb1b3>>>0x10&0xff]<<0x10|_0x3109ab[_0x1439e4>>>0x8&0xff]<<0x8|_0x3109ab[_0x554334&0xff])^_0x1c9552[_0x534356++],_0x318291=(_0x3109ab[_0x3cb1b3>>>0x18]<<0x18|_0x3109ab[_0x1439e4>>>0x10&0xff]<<0x10|_0x3109ab[_0x554334>>>0x8&0xff]<<0x8|_0x3109ab[_0x482e49&0xff])^_0x1c9552[_0x534356++];_0x1723d4[_0x51114e]=_0x1e7dc8,_0x1723d4[_0x51114e+0x1]=_0x4d1eb8,_0x1723d4[_0x51114e+0x2]=_0x1b0c8f,_0x1723d4[_0x51114e+0x3]=_0x318291;},'keySize':0x100/0x20});_0x5e1356[_0x294163(0x46a)]=_0x1c3f22[_0x294163(0x3fd)](_0x81e65);}()),_0x3f41ab[_0x36b55f(0x46a)];}));}(Ve)),Ve[_0x14de87(0x38e)];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x202d27=_0x2c12ee;return si||(si=0x1,function(_0x319952,_0x3504da){(function(_0x47af84,_0x1f8c47){var _0x33fbf5=_0x12ec;_0x319952[_0x33fbf5(0x38e)]=_0x1f8c47(te());}(yn,function(_0x2b8a0f){var _0x4dcc28=_0x12ec;return _0x2b8a0f[_0x4dcc28(0x441)][_0x4dcc28(0x480)];}));}(Xe)),Xe[_0x202d27(0x38e)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x2c12ee(0x38e)],ni;function wn(){return ni||(ni=0x1,function(_0x387e54,_0x560008){(function(_0x2884e2,_0x5836d8){var _0x4d3c06=_0x12ec;_0x387e54[_0x4d3c06(0x38e)]=_0x5836d8(te());}(An,function(_0xe245f7){var _0x525b5f=_0x12ec;return(function(){var _0x191464=_0x12ec;if(typeof ArrayBuffer==_0x191464(0x3c2)){var _0x40b4ce=_0xe245f7,_0x5c96aa=_0x40b4ce[_0x191464(0x203)],_0x29305c=_0x5c96aa[_0x191464(0x328)],_0x2ffdf1=_0x29305c['init'],_0xb61729=_0x29305c[_0x191464(0x290)]=function(_0x1c82a8){var _0x44331c=_0x191464;if(_0x1c82a8 instanceof ArrayBuffer&&(_0x1c82a8=new Uint8Array(_0x1c82a8)),(_0x1c82a8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1c82a8 instanceof Uint8ClampedArray||_0x1c82a8 instanceof Int16Array||_0x1c82a8 instanceof Uint16Array||_0x1c82a8 instanceof Int32Array||_0x1c82a8 instanceof Uint32Array||_0x1c82a8 instanceof Float32Array||_0x1c82a8 instanceof Float64Array)&&(_0x1c82a8=new Uint8Array(_0x1c82a8['buffer'],_0x1c82a8[_0x44331c(0x378)],_0x1c82a8[_0x44331c(0x2c6)])),_0x1c82a8 instanceof Uint8Array){for(var _0x57c6d5=_0x1c82a8[_0x44331c(0x2c6)],_0x570193=[],_0x12eb71=0x0;_0x12eb71<_0x57c6d5;_0x12eb71++)_0x570193[_0x12eb71>>>0x2]|=_0x1c82a8[_0x12eb71]<<0x18-_0x12eb71%0x4*0x8;_0x2ffdf1[_0x44331c(0x431)](this,_0x570193,_0x57c6d5);}else _0x2ffdf1[_0x44331c(0x407)](this,arguments);};_0xb61729['prototype']=_0x29305c;}}()),_0xe245f7[_0x525b5f(0x203)][_0x525b5f(0x328)];}));}(Ze)),Ze['exports'];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x2c12ee(0x38e)],ri;function xn(){var _0x4e5e17=_0x2c12ee;return ri||(ri=0x1,function(_0x54a271,_0x3813dc){(function(_0x150f15,_0x31b173,_0x19de48){var _0x5f1a45=_0x12ec;_0x54a271[_0x5f1a45(0x38e)]=_0x31b173(te(),Ni());}(Mn,function(_0x4eb766){var _0x1ed26a=_0x12ec;return _0x4eb766[_0x1ed26a(0x280)][_0x1ed26a(0x356)]={'pad':function(){},'unpad':function(){}},_0x4eb766[_0x1ed26a(0x280)][_0x1ed26a(0x356)];}));}(Qe)),Qe[_0x4e5e17(0x38e)];}var kn=xn();const $n=$e(kn);function Hn(_0x4e9c62,_0x44c20b){var _0x16518d=_0x2c12ee;const _0x4aef99=_0x44c20b-_0x4e9c62[_0x16518d(0x33e)]%_0x44c20b,_0x6e7d5=String[_0x16518d(0x29e)](_0x4aef99)[_0x16518d(0x2a9)](_0x4aef99);return _0x4e9c62+_0x6e7d5;}function Bn(_0x4947b9,_0x265e08){var _0x48a61f=_0x2c12ee;const _0x534030=Ln[_0x48a61f(0x321)](0x10),_0x478a9e=Hn(_0x4947b9,0x10),_0xe3819d=On[_0x48a61f(0x49f)](Un[_0x48a61f(0x229)](_0x478a9e),ii[_0x48a61f(0x229)](_0x265e08),{'iv':_0x534030,'padding':$n});return _0x534030[_0x48a61f(0x1ec)](_0xe3819d[_0x48a61f(0x384)])['toString'](ii);}function jn(){var _0x39b431=_0x2c12ee;const _0x4a94a4=_0x29c5e8()[_0x39b431(0x3bc)];if(_0x4a94a4){const _0x1c39a5={'time':Math['floor'](Date[_0x39b431(0x390)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x39b431(0x205)](_0x1c39a5),_0x4a94a4);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x395a8f,_0x5cd399,_0x3b815a,_0x1370b9)=>{var _0xa19ba0=_0x2c12ee;for(var _0x5f0e20=_0x1370b9>0x1?void 0x0:_0x1370b9?Fn(_0x5cd399,_0x3b815a):_0x5cd399,_0x51c715=_0x395a8f[_0xa19ba0(0x33e)]-0x1,_0x2d292d;_0x51c715>=0x0;_0x51c715--)(_0x2d292d=_0x395a8f[_0x51c715])&&(_0x5f0e20=_0x2d292d(_0x5f0e20)||_0x5f0e20);return _0x5f0e20;},Gn=(_0x301aa5,_0x16952b)=>(_0x500c0e,_0x136c2d)=>_0x16952b(_0x500c0e,_0x136c2d,_0x301aa5);let at=class{constructor(_0x50ccdf){var _0x1000ce=_0x2c12ee;this[_0x1000ce(0x392)]=_0x50ccdf,this[_0x1000ce(0x4bd)]();}[_0x2c12ee(0x4bd)](){var _0x15fde5=_0x2c12ee;this[_0x15fde5(0x392)]['registerHTTPInterceptor']({'interceptor':(_0x94e2a3,_0x4463d1)=>{var _0x1b2370=_0x15fde5;const _0x44c454=_0x94e2a3['headers'],_0x512231=jn();return _0x512231&&_0x44c454[_0x1b2370(0x25c)]('x-univer-host',_0x512231),_0x4463d1(_0x94e2a3);}});}};at=Vn([Gn(0x0,_0x453b21(_0x51fdde))],at);var Yn=Object['getOwnPropertyDescriptor'],Wn=(_0x5d65a5,_0x11a3be,_0x368767,_0x64c773)=>{var _0xd80e63=_0x2c12ee;for(var _0x253012=_0x64c773>0x1?void 0x0:_0x64c773?Yn(_0x11a3be,_0x368767):_0x11a3be,_0x3141d8=_0x5d65a5[_0xd80e63(0x33e)]-0x1,_0x4343fe;_0x3141d8>=0x0;_0x3141d8--)(_0x4343fe=_0x5d65a5[_0x3141d8])&&(_0x253012=_0x4343fe(_0x253012)||_0x253012);return _0x253012;},vt=(_0x250180,_0xd20942)=>(_0x1a809c,_0x1304ca)=>_0xd20942(_0x1a809c,_0x1304ca,_0x250180);let Ct=class extends _0x406001{constructor(_0x4454a6,_0x5f948c,_0x16b836){var _0x451836=_0x2c12ee;super(),N(this,_0x451836(0x385),new _0xefb925(null)),N(this,_0x451836(0x3d8),this[_0x451836(0x385)][_0x451836(0x273)]()),(this[_0x451836(0x391)]=_0x4454a6,this[_0x451836(0x1f3)]=_0x5f948c,this['_localCacheService']=_0x16b836);}async['loadUnitOfRevision'](_0x1cb452,_0x26edce,_0x317886){var _0x5f144b=_0x2c12ee;this[_0x5f144b(0x385)][_0x5f144b(0x28e)]({'unitId':_0x1cb452,'type':_0x26edce});let _0x17cb7c=null;switch(_0x26edce){case Z['UNIVER_SHEET']:{_0x17cb7c=await this[_0x5f144b(0x1f3)][_0x5f144b(0x450)](_0x1cb452,_0x317886);break;}case Z[_0x5f144b(0x3bd)]:{_0x17cb7c=await this[_0x5f144b(0x1f3)][_0x5f144b(0x3ec)](_0x1cb452,_0x317886);break;}default:{this[_0x5f144b(0x391)]['error']('[DataLoaderService]',_0x5f144b(0x2ae));break;}}return _0x17cb7c;}async[_0x2c12ee(0x326)](_0x1c71e2,_0x1f6b91,_0x1149f7){var _0x3d1a35=_0x2c12ee,_0x6228b3;this[_0x3d1a35(0x385)]['next']({'unitId':_0x1c71e2,'type':_0x1f6b91,'subUnitId':_0x1149f7});let _0x1d78a2=0x0;const _0x615afc=await((_0x6228b3=this[_0x3d1a35(0x29d)])==null?void 0x0:_0x6228b3['loadOfflineData'](_0x1c71e2));return _0x615afc&&(_0x615afc[_0x3d1a35(0x264)]||_0x615afc[_0x3d1a35(0x460)][_0x3d1a35(0x33e)]!==0x0)&&(_0x1d78a2=_0x615afc[_0x3d1a35(0x292)]),_0x1d78a2===0x0&&this[_0x3d1a35(0x391)][_0x3d1a35(0x30a)](_0x3d1a35(0x44f),_0x3d1a35(0x32e)),this[_0x3d1a35(0x269)](_0x1c71e2,_0x1f6b91,_0x1d78a2);}};Ct=Wn([vt(0x0,_0x307004),vt(0x1,_0x453b21(_0x54a1f8)),vt(0x2,_0x3a8ca8(J))],Ct);var Kn=Object[_0x2c12ee(0x461)],qn=(_0x1be133,_0x377c18,_0x1697b8,_0x5cf294)=>{for(var _0x625ffb=_0x5cf294>0x1?void 0x0:_0x5cf294?Kn(_0x377c18,_0x1697b8):_0x377c18,_0x3ad3ab=_0x1be133['length']-0x1,_0x164408;_0x3ad3ab>=0x0;_0x3ad3ab--)(_0x164408=_0x1be133[_0x3ad3ab])&&(_0x625ffb=_0x164408(_0x625ffb)||_0x625ffb);return _0x625ffb;},pt=(_0x1a9eaa,_0x5f06bc)=>(_0x142dab,_0x1c8cb5)=>_0x5f06bc(_0x142dab,_0x1c8cb5,_0x1a9eaa);const zn=[_0x2c12ee(0x435),_0x2c12ee(0x253),_0x2c12ee(0x31e),_0x2c12ee(0x202),_0x2c12ee(0x395)],Jn=0x5*0x400*0x400,Xn=_0x2c12ee(0x287),Zn=_0x2c12ee(0x3cf),Qn=_0x2c12ee(0x295),er=_0x2c12ee(0x1ba);let Rt=class{constructor(_0x2eb3a3,_0x3202f3,_0x373296){var _0x19ac40=_0x2c12ee;N(this,_0x19ac40(0x3be),0x0),N(this,'_change$',new _0x45fb15()),N(this,_0x19ac40(0x3ff),this[_0x19ac40(0x2d2)]),N(this,_0x19ac40(0x2c5),new Map()),(this[_0x19ac40(0x392)]=_0x2eb3a3,this['_configService']=_0x3202f3,this['_univerInstanceService']=_0x373296);}[_0x2c12ee(0x251)](_0x2d1ea7){var _0x1b13f5=_0x2c12ee;this[_0x1b13f5(0x3be)]=_0x2d1ea7,this['_change$'][_0x1b13f5(0x28e)](_0x2d1ea7);}[_0x2c12ee(0x29f)](_0x2c490f,_0xaf6e80){var _0x29194a=_0x2c12ee;if(_0xaf6e80===_0x30e5ea[_0x29194a(0x3f3)]){const _0x2fbb72=new Image();return _0x2fbb72[_0x29194a(0x37a)]=_0x2c490f,_0x2fbb72;}return this[_0x29194a(0x2c5)][_0x29194a(0x279)](_0x2c490f);}[_0x2c12ee(0x2ac)](_0x27f074,_0x4db1b9,_0x1509d1){var _0x848da8=_0x2c12ee;_0x4db1b9===_0x30e5ea[_0x848da8(0x3f3)]||_0x1509d1==null||this[_0x848da8(0x2c5)][_0x848da8(0x25c)](_0x27f074,_0x1509d1);}async[_0x2c12ee(0x3a5)](_0x42340b){var _0xde1423=_0x2c12ee;try{const _0x75c218=this[_0xde1423(0x246)](this['_getSignURL'](),''+_0x42340b),_0x1d9816=(await this[_0xde1423(0x392)][_0xde1423(0x279)](_0x75c218))[_0xde1423(0x2ef)];if(_0x1d9816[_0xde1423(0x334)]&&_0x1d9816[_0xde1423(0x334)][_0xde1423(0x2f8)]===pi['OK']){const _0x44f497=new URL(_0x1d9816[_0xde1423(0x21b)],this[_0xde1423(0x1b9)]())['toString']();return Promise[_0xde1423(0x3da)](_0x44f497);}return Promise[_0xde1423(0x380)](_0x1d9816[_0xde1423(0x334)]);}catch(_0x4da171){return Promise[_0xde1423(0x380)](_0x4da171);}}async[_0x2c12ee(0x30d)](_0x4015af){var _0x3afe1b=_0x2c12ee;let _0x26534d='';if(!zn[_0x3afe1b(0x2d7)](_0x4015af[_0x3afe1b(0x21e)]))return this['_decreaseWaiting'](),Promise[_0x3afe1b(0x380)](new Error(_0x5bccb5['ERROR_IMAGE_TYPE']));if(_0x4015af[_0x3afe1b(0x4ab)]>Jn)return this[_0x3afe1b(0x3e3)](),Promise[_0x3afe1b(0x380)](new Error(_0x5bccb5[_0x3afe1b(0x1c8)]));try{const _0x35fbde=new FormData();_0x35fbde['append'](_0x3afe1b(0x2b5),_0x4015af);const _0x528f3f=this[_0x3afe1b(0x3cd)]['getFocusedUnit'](),_0x5cb106=_0x528f3f==null?void 0x0:_0x528f3f[_0x3afe1b(0x3ed)]();if(!_0x5cb106)throw new Error('unitId\x20is\x20not\x20found');const _0x1fe68d=this[_0x3afe1b(0x426)]()+_0x3afe1b(0x34a)+_0x4015af[_0x3afe1b(0x4ab)]['toString']()+'&source='+mi['UnitEmbedded']+_0x3afe1b(0x305)+encodeURIComponent(_0x5cb106),_0x4d2029={'body':_0x35fbde},_0x2406af=(await this[_0x3afe1b(0x392)][_0x3afe1b(0x40d)](_0x1fe68d,_0x4d2029))[_0x3afe1b(0x2ef)];if(typeof _0x2406af[_0x3afe1b(0x23a)]!=_0x3afe1b(0x27c))return this[_0x3afe1b(0x3e3)](),Promise[_0x3afe1b(0x380)](new Error(_0x5bccb5[_0x3afe1b(0x1f0)]));_0x26534d=_0x2406af[_0x3afe1b(0x23a)];}catch{return this[_0x3afe1b(0x3e3)](),Promise['reject'](new Error(_0x5bccb5['ERROR_IMAGE']));}return new Promise((_0x27037a,_0x5cbb3a)=>{var _0x42a25c=_0x3afe1b;const _0x281749=new FileReader();_0x281749[_0x42a25c(0x2e6)](_0x4015af),_0x281749[_0x42a25c(0x2f5)]=_0x14b051=>{var _0x4fe790=_0x42a25c,_0x47ef79;const _0x1cee11=(_0x47ef79=_0x14b051[_0x4fe790(0x1bf)])==null?void 0x0:_0x47ef79[_0x4fe790(0x29a)];if(_0x1cee11==null){this[_0x4fe790(0x3e3)](),_0x5cbb3a(new Error(_0x5bccb5[_0x4fe790(0x1f0)]));return;}const _0x2ac7cb=_0x3cf581[_0x4fe790(0x302)](0x6);_0x27037a({'imageId':_0x2ac7cb,'imageSourceType':_0x30e5ea[_0x4fe790(0x3d9)],'source':_0x26534d,'base64Cache':_0x1cee11,'status':_0x5bccb5['SUCCUSS']}),this[_0x4fe790(0x3e3)]();};});}['_getUploadFileURL'](){var _0x347ce9=_0x2c12ee,_0x4c6ce4,_0x311679;const _0x174257=this['_configService'][_0x347ce9(0x3e2)](Xn),_0x6ba224=this[_0x347ce9(0x274)][_0x347ce9(0x3e2)](K);return(_0x311679=(_0x4c6ce4=_0x6ba224==null?void 0x0:_0x6ba224[_0x347ce9(0x20d)])!=null?_0x4c6ce4:_0x174257)!=null?_0x311679:Zn;}[_0x2c12ee(0x458)](){var _0xb81399=_0x2c12ee,_0x450ec7,_0x3494e2;const _0x6ee420=this['_configService'][_0xb81399(0x3e2)](Qn),_0x5ad2d2=this[_0xb81399(0x274)][_0xb81399(0x3e2)](K);return(_0x3494e2=(_0x450ec7=_0x5ad2d2==null?void 0x0:_0x5ad2d2[_0xb81399(0x1d4)])!=null?_0x450ec7:_0x6ee420)!=null?_0x3494e2:er;}['_getDownloadEndpointURL'](){var _0x22ff65=_0x2c12ee,_0x43a1a8;const _0x2cb7b5=this['_configService'][_0x22ff65(0x3e2)](K);return(_0x43a1a8=_0x2cb7b5==null?void 0x0:_0x2cb7b5['downloadEndpointUrl'])!=null?_0x43a1a8:location[_0x22ff65(0x3db)];}['_replaceFileID'](_0x45a905,_0x4df720){var _0x4e89ea=_0x2c12ee;return _0x45a905['replace'](_0x4e89ea(0x26d),_0x4df720);}[_0x2c12ee(0x3e3)](){var _0x4cf560=_0x2c12ee;this[_0x4cf560(0x3be)]-=0x1,this[_0x4cf560(0x2d2)]['next'](this[_0x4cf560(0x3be)]);}};Rt=qn([pt(0x0,_0x453b21(_0x51fdde)),pt(0x1,_0x2e403e),pt(0x2,_0x453b21(_0xf2d159))],Rt);var tr=Object[_0x2c12ee(0x461)],ir=(_0x4694f8,_0x30ee2a,_0x575885,_0x5ac4c2)=>{for(var _0x5b3d84=_0x5ac4c2>0x1?void 0x0:_0x5ac4c2?tr(_0x30ee2a,_0x575885):_0x30ee2a,_0x504dc5=_0x4694f8['length']-0x1,_0x48556e;_0x504dc5>=0x0;_0x504dc5--)(_0x48556e=_0x4694f8[_0x504dc5])&&(_0x5b3d84=_0x48556e(_0x5b3d84)||_0x5b3d84);return _0x5b3d84;},ai=(_0x4b7e71,_0x7e95b4)=>(_0x34957e,_0x7e223e)=>_0x7e95b4(_0x34957e,_0x7e223e,_0x4b7e71);const sr=_0x2c12ee(0x345);let Ot=class{constructor(_0x17f4b9,_0x5b60dc){var _0x4fbbf1=_0x2c12ee;this[_0x4fbbf1(0x274)]=_0x17f4b9,this['_HTTPService']=_0x5b60dc;}[_0x2c12ee(0x2e7)](){var _0x147353=_0x2c12ee,_0x26586f,_0x12c100;const _0x4ad648=this[_0x147353(0x274)][_0x147353(0x3e2)](Oi),_0x864eea=this[_0x147353(0x274)][_0x147353(0x3e2)](K);return(_0x12c100=(_0x26586f=_0x864eea==null?void 0x0:_0x864eea[_0x147353(0x24c)])!=null?_0x26586f:_0x4ad648)!=null?_0x12c100:sr;}async[_0x2c12ee(0x1cb)](_0x563ae1){var _0x8f3f1a=_0x2c12ee;const _0x577bba=this['_getAPIPrefixPath']()+_0x8f3f1a(0x21a);return{'list':[{'title':_0x8f3f1a(0x489),'mentions':(await this['_HTTPService'][_0x8f3f1a(0x279)](_0x577bba,{'params':{'objectID':_0x563ae1[_0x8f3f1a(0x449)],'unitID':_0x563ae1[_0x8f3f1a(0x449)]}}))[_0x8f3f1a(0x2ef)][_0x8f3f1a(0x25a)][_0x8f3f1a(0x293)](_0x235f25=>({'objectId':_0x235f25['id'],'name':_0x235f25[_0x8f3f1a(0x471)]['name'],'metadata':{'icon':_0x235f25['subject']['avatar']},'label':_0x235f25[_0x8f3f1a(0x471)][_0x8f3f1a(0x3a7)],'objectType':_0x4cef34[_0x8f3f1a(0x325)]})),'metadata':{},'type':_0x4cef34[_0x8f3f1a(0x325)]}]};}};Ot=ir([ai(0x0,_0x453b21(_0x2e403e)),ai(0x1,_0x453b21(_0x51fdde))],Ot);var nr=Object[_0x2c12ee(0x461)],rr=(_0x283a0f,_0x3f670e,_0x46afa2,_0x3cdf40)=>{var _0x46f7a5=_0x2c12ee;for(var _0x328c8a=_0x3cdf40>0x1?void 0x0:_0x3cdf40?nr(_0x3f670e,_0x46afa2):_0x3f670e,_0x26c93b=_0x283a0f[_0x46f7a5(0x33e)]-0x1,_0x199df9;_0x26c93b>=0x0;_0x26c93b--)(_0x199df9=_0x283a0f[_0x26c93b])&&(_0x328c8a=_0x199df9(_0x328c8a)||_0x328c8a);return _0x328c8a;},Ae=(_0x4df73d,_0x329592)=>(_0x412f3d,_0xb99fca)=>_0x329592(_0x412f3d,_0xb99fca,_0x4df73d);let ot=class extends _0x406001{constructor(_0x35b92a,_0xcee2ef,_0x1e2325,_0x241c03,_0x2fe688){var _0xbb0dc2=_0x2c12ee;super(),this[_0xbb0dc2(0x3b3)]=_0x35b92a,this['_univerInstanceService']=_0xcee2ef,this[_0xbb0dc2(0x358)]=_0x1e2325,this[_0xbb0dc2(0x20b)]=_0x241c03,this[_0xbb0dc2(0x467)]=_0x2fe688,this[_0xbb0dc2(0x306)](),this[_0xbb0dc2(0x270)]();}[_0x2c12ee(0x270)](){var _0x505577=_0x2c12ee;const _0x31e324=async _0x3f41fb=>{var _0x50fc5f=_0x12ec;(await this[_0x50fc5f(0x20b)][_0x50fc5f(0x276)](_0x3f41fb))[_0x50fc5f(0x3a6)][_0x50fc5f(0x1ff)](_0x3cc0bf(_0x2d5f0b=>_0x2d5f0b['eventID']===_0x36e28b[_0x50fc5f(0x400)]),_0x33a5ca(this['dispose$']))['subscribe'](_0x1fec63=>{var _0x1f89c9=_0x50fc5f;const _0x3ce7ee=_0x1fec63,{reason:_0x52cdf6}=_0x3ce7ee['data'];this[_0x1f89c9(0x467)]['emitEvent']({'id':ne[_0x1f89c9(0x268)],'data':_0x52cdf6}),this[_0x1f89c9(0x358)][_0x1f89c9(0x412)](new _0x1884a7(_0x3f41fb)['id'],!0x1),this['_collaborationSessionService'][_0x1f89c9(0x33f)](_0x3f41fb);});};_0x4f40c3(this['_univerInstanceService'][_0x505577(0x498)](_0x3fcee3[_0x505577(0x464)]),this[_0x505577(0x3cd)][_0x505577(0x498)](_0x3fcee3[_0x505577(0x3bd)]))[_0x505577(0x1ff)](_0x11ece9(_0x3b268e=>_0x3b268e[_0x505577(0x3ed)]()),_0x3cc0bf(_0x5536c0=>!_0x3391fe(_0x5536c0)),_0x33a5ca(this[_0x505577(0x354)]))['subscribe'](_0x257714=>{_0x31e324(_0x257714);});}[_0x2c12ee(0x306)](){var _0x1e6f2a=_0x2c12ee;const _0x4ea1ad=async _0x2641ec=>{var _0x3fb40f=_0x12ec;const _0x5e2ac8=await this['_collaborationSessionService']['requireSession'](_0x2641ec),_0x4d77aa=this[_0x3fb40f(0x3b3)][_0x3fb40f(0x279)](_0x5ac012);_0x5e2ac8[_0x3fb40f(0x3a6)][_0x3fb40f(0x1ff)](_0x3cc0bf(_0x18e256=>_0x18e256[_0x3fb40f(0x23b)]===_0x36e28b[_0x3fb40f(0x2e8)]),_0x33a5ca(this[_0x3fb40f(0x354)]))['subscribe'](_0x4d8251=>{var _0x160d8f=_0x3fb40f;const _0x377bcf=_0x4d8251,{objectId:_0x4d0a30}=_0x377bcf[_0x160d8f(0x3d7)];_0x4d0a30===_0x2641ec?_0x4d77aa['initWorkbookPermissionChange'](_0x2641ec):_0x4d77aa['refreshPermission'](_0x2641ec,_0x4d0a30);});};_0x4f40c3(this[_0x1e6f2a(0x3cd)][_0x1e6f2a(0x498)](_0x3fcee3[_0x1e6f2a(0x464)]))[_0x1e6f2a(0x1ff)](_0x11ece9(_0x1f9205=>_0x1f9205[_0x1e6f2a(0x3ed)]()),_0x3cc0bf(_0x3c5ea5=>!_0x3391fe(_0x3c5ea5)),_0x33a5ca(this[_0x1e6f2a(0x354)]))[_0x1e6f2a(0x281)](_0x4dcf9d=>{_0x4ea1ad(_0x4dcf9d);});}};ot=rr([Ae(0x0,_0x453b21(_0x541c80)),Ae(0x1,_0xf2d159),Ae(0x2,_0x1cc61e),Ae(0x3,_0x453b21(Le)),Ae(0x4,_0x453b21(ve))],ot);var ar=Object[_0x2c12ee(0x461)],or=(_0x1e4087,_0x1fd5d3,_0x366256,_0x41d9c7)=>{for(var _0x348c2d=_0x41d9c7>0x1?void 0x0:_0x41d9c7?ar(_0x1fd5d3,_0x366256):_0x1fd5d3,_0x153347=_0x1e4087['length']-0x1,_0x4177e6;_0x153347>=0x0;_0x153347--)(_0x4177e6=_0x1e4087[_0x153347])&&(_0x348c2d=_0x4177e6(_0x348c2d)||_0x348c2d);return _0x348c2d;},oi=(_0x24ee5e,_0x128ebb)=>(_0x2d5b61,_0x3c13ab)=>_0x128ebb(_0x2d5b61,_0x3c13ab,_0x24ee5e);let bt=class{constructor(_0x23ded3,_0x1822f3){var _0xb0fd19=_0x2c12ee;this[_0xb0fd19(0x274)]=_0x23ded3,this[_0xb0fd19(0x392)]=_0x1822f3;}async[_0x2c12ee(0x3a3)](_0x23e824,_0x3280e5){var _0x4c37ae=_0x2c12ee,_0x4155f7;const {unitID:_0x4d9518,type:_0x456a45,revision:_0xe59da6=0x0}=_0x3280e5,_0x5d3a53=this[_0x4c37ae(0x466)]()+'/'+_0x456a45+_0x4c37ae(0x472)+_0x4d9518+'/rev/'+_0xe59da6,_0x463bc1=(await this[_0x4c37ae(0x392)]['get'](_0x5d3a53))['body'],_0x4a90b6=(_0x4155f7=_0x463bc1['snapshot'])==null?void 0x0:_0x4155f7[_0x4c37ae(0x233)];if(_0x4a90b6){const _0x8617dc=_0x4a90b6==null?void 0x0:_0x4a90b6[_0x4c37ae(0x1bc)],_0xd92648=_0x1435e5[_0x4c37ae(0x21d)](_0x23a7ad(_0x8617dc));_0x4a90b6[_0x4c37ae(0x1bc)]=_0xd92648,Object[_0x4c37ae(0x3de)](_0x4a90b6[_0x4c37ae(0x350)])['forEach'](([,_0x4778e6])=>{var _0x1f32ad=_0x4c37ae;const _0x5117cd=_0x4778e6[_0x1f32ad(0x1bc)],_0x5101e8=_0x1435e5[_0x1f32ad(0x21d)](_0x23a7ad(_0x5117cd));_0x4778e6[_0x1f32ad(0x1bc)]=_0x5101e8;});}return _0x463bc1;}async[_0x2c12ee(0x34d)](_0x4d9b63,_0x2e4df4){var _0x417b5f=_0x2c12ee;const {unitID:_0x33d401,type:_0x1ecf7f,blockID:_0x3f96d2}=_0x2e4df4,_0x12efb6=this['_getAPIPrefix']()+'/'+_0x1ecf7f+_0x417b5f(0x472)+_0x33d401+'/block/'+_0x3f96d2;return(await this[_0x417b5f(0x392)][_0x417b5f(0x279)](_0x12efb6))['body'];}async[_0x2c12ee(0x3ca)](_0x4a83c6,_0x4ceeb4){var _0x2448e9=_0x2c12ee;const {unitID:_0x4876b5,type:_0x423a76,blockID:_0x2675b1}=_0x4ceeb4,_0x11bad3=this[_0x2448e9(0x3ef)]()+_0x2448e9(0x42f)+_0x423a76+'/unit/'+_0x4876b5+_0x2448e9(0x42f)+_0x2675b1;return(await this[_0x2448e9(0x392)]['get'](_0x11bad3))[_0x2448e9(0x2ef)];}async[_0x2c12ee(0x3b8)](_0x148a2f,_0x21da1e){var _0x515cd4=_0x2c12ee;const {unitID:_0x164678,type:_0x1b6ce2,from:_0x3f377f,to:_0x53d1c3}=_0x21da1e,_0x1bdf69=this[_0x515cd4(0x3ef)]()+'/'+_0x1b6ce2+_0x515cd4(0x472)+_0x164678+'/fetchmissing?from='+_0x3f377f+_0x515cd4(0x40c)+_0x53d1c3;return(await this[_0x515cd4(0x392)][_0x515cd4(0x279)](_0x1bdf69))[_0x515cd4(0x2ef)];}[_0x2c12ee(0x466)](){var _0x382540=_0x2c12ee,_0x46e7ef;return(_0x46e7ef=this[_0x382540(0x274)]['getConfig'](ps))!=null?_0x46e7ef:this[_0x382540(0x3ef)]();}['_getAPIPrefix'](){var _0x13a376=_0x2c12ee,_0x24105c,_0x1a9251;const _0x134a1c=this[_0x13a376(0x274)][_0x13a376(0x3e2)](fs),_0x5ef04a=this[_0x13a376(0x274)]['getConfig'](K);return(_0x1a9251=(_0x24105c=_0x5ef04a==null?void 0x0:_0x5ef04a[_0x13a376(0x40a)])!=null?_0x24105c:_0x134a1c)!=null?_0x1a9251:vs;}async[_0x2c12ee(0x2b4)](_0x3ce5bd,_0x19bca2){var _0x27b78c=_0x2c12ee;const _0x29934c='/universer-api/snapshot/'+_0x19bca2[_0x27b78c(0x21e)]+'/unit/'+_0x19bca2[_0x27b78c(0x41e)]+_0x27b78c(0x365);return(await this[_0x27b78c(0x392)][_0x27b78c(0x279)](_0x29934c,{'params':{'resourceId':JSON['stringify'](_0x19bca2['resourceIDs'])}}))[_0x27b78c(0x2ef)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2c12ee(0x2ea)](){var _0x212e84=_0x2c12ee;throw new Error(_0x212e84(0x1d6));}[_0x2c12ee(0x327)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2c12ee(0x3b4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2c12ee(0x1c5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2c12ee(0x1d5)](){var _0x2d0a87=_0x2c12ee;throw new Error(_0x2d0a87(0x1d6));}};bt=or([oi(0x0,_0x2e403e),oi(0x1,_0x453b21(_0x51fdde))],bt);var cr=Object[_0x2c12ee(0x461)],hr=(_0x594174,_0x24e4ca,_0x25df15,_0x19e733)=>{var _0x27a1c2=_0x2c12ee;for(var _0x262ed9=_0x19e733>0x1?void 0x0:_0x19e733?cr(_0x24e4ca,_0x25df15):_0x24e4ca,_0x5e21ce=_0x594174[_0x27a1c2(0x33e)]-0x1,_0x5c1d6d;_0x5e21ce>=0x0;_0x5e21ce--)(_0x5c1d6d=_0x594174[_0x5e21ce])&&(_0x262ed9=_0x5c1d6d(_0x262ed9)||_0x262ed9);return _0x262ed9;},we=(_0x3241ec,_0x324c14)=>(_0x1c4dff,_0x26f009)=>_0x324c14(_0x1c4dff,_0x26f009,_0x3241ec);let yt=class extends _0x255859{constructor(_0x3830d5,_0x6ae724,_0x15f43a,_0x16f0a1,_0x2f23e6){var _0x42f00a=_0x2c12ee;super(_0x3830d5,_0x6ae724,_0x15f43a),this[_0x42f00a(0x1fd)]=_0x16f0a1,this[_0x42f00a(0x391)]=_0x2f23e6;}[_0x2c12ee(0x366)](_0x157b53,_0x447e34){var _0x15c8f6=_0x2c12ee;const _0x24e591=this['_getUndoStack'](_0x157b53);if(_0x24e591)try{const _0x21403=this[_0x15c8f6(0x1e6)](_0x24e591,_0x447e34);this[_0x15c8f6(0x227)](_0x157b53,_0x21403);}catch(_0x574a89){this[_0x15c8f6(0x391)][_0x15c8f6(0x334)](_0x15c8f6(0x479),_0x574a89),this[_0x15c8f6(0x20c)](_0x157b53);}const _0x8ba95c=this[_0x15c8f6(0x424)](_0x157b53);if(_0x8ba95c)try{const _0x4804b1=this[_0x15c8f6(0x1e6)](_0x8ba95c,_0x447e34);this[_0x15c8f6(0x1d8)](_0x157b53,_0x4804b1);}catch(_0x1c6f41){this[_0x15c8f6(0x391)][_0x15c8f6(0x334)](_0x1c6f41),this['_clearRedo'](_0x157b53);}}[_0x2c12ee(0x20c)](_0x1813ce){var _0x56e1b9=_0x2c12ee;const _0x2b6495=this[_0x56e1b9(0x3d5)](_0x1813ce);_0x2b6495&&(_0x2b6495[_0x56e1b9(0x33e)]=0x0,this[_0x56e1b9(0x28f)]());}[_0x2c12ee(0x2eb)](_0xa9be48){var _0x1a7ab3=_0x2c12ee;const _0x50da55=this['_getRedoStack'](_0xa9be48);_0x50da55&&(_0x50da55[_0x1a7ab3(0x33e)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3fada1,_0x10824a){var _0x2ca6ba=_0x2c12ee;this[_0x2ca6ba(0x414)][_0x2ca6ba(0x25c)](_0x3fada1,_0x10824a),this[_0x2ca6ba(0x28f)]();}[_0x2c12ee(0x1d8)](_0x48319a,_0x18104a){var _0x2609b9=_0x2c12ee;this[_0x2609b9(0x39f)][_0x2609b9(0x25c)](_0x48319a,_0x18104a),this[_0x2609b9(0x28f)]();}[_0x2c12ee(0x1e6)](_0x2df8c2,_0x197f2e){var _0xcc29c8=_0x2c12ee;const _0x243fd6=[];let _0x218446=_0x197f2e,_0x5e0056=_0x197f2e;for(let _0xaf4fdd=_0x2df8c2[_0xcc29c8(0x33e)]-0x1;_0xaf4fdd>=0x0;_0xaf4fdd--){const {unitID:_0x169440,undoMutations:_0x599847,redoMutations:_0x14f790}=_0x2df8c2[_0xaf4fdd],_0x18b182=this[_0xcc29c8(0x1fd)][_0xcc29c8(0x43d)](_0x218446,_0x599847),_0x13c4e5=this[_0xcc29c8(0x1fd)][_0xcc29c8(0x43d)](_0x5e0056,_0x14f790);if(_0x47a6f6(_0x18b182)||_0x47a6f6(_0x13c4e5)){this[_0xcc29c8(0x391)]['error'](_0xcc29c8(0x479),_0xcc29c8(0x1fa),_0x18b182,_0x13c4e5);break;}_0x218446=_0x18b182[_0xcc29c8(0x277)],_0x5e0056=_0x13c4e5[_0xcc29c8(0x277)],_0x243fd6[_0xcc29c8(0x43e)]({'unitID':_0x169440,'undoMutations':_0x18b182[_0xcc29c8(0x22b)],'redoMutations':_0x13c4e5[_0xcc29c8(0x22b)]});}return _0x243fd6[_0xcc29c8(0x357)]();}};yt=hr([we(0x0,_0xf2d159),we(0x1,_0x7e038c),we(0x2,_0x3e284e),we(0x3,_0x46e7de),we(0x4,_0x307004)],yt);var _r=Object['defineProperty'],lr=Object['getOwnPropertyDescriptor'],ur=(_0x3197a4,_0xa49b0f,_0x5658f4)=>_0xa49b0f in _0x3197a4?_r(_0x3197a4,_0xa49b0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5658f4}):_0x3197a4[_0xa49b0f]=_0x5658f4,dr=(_0x539b1b,_0x42885a,_0x15e900,_0x1f9146)=>{var _0x5a4d63=_0x2c12ee;for(var _0x49f59a=_0x1f9146>0x1?void 0x0:_0x1f9146?lr(_0x42885a,_0x15e900):_0x42885a,_0x2c3662=_0x539b1b[_0x5a4d63(0x33e)]-0x1,_0x74c1f8;_0x2c3662>=0x0;_0x2c3662--)(_0x74c1f8=_0x539b1b[_0x2c3662])&&(_0x49f59a=_0x74c1f8(_0x49f59a)||_0x49f59a);return _0x49f59a;},mt=(_0x2397a2,_0x7036f6)=>(_0x9d4b31,_0x85a0c5)=>_0x7036f6(_0x9d4b31,_0x85a0c5,_0x2397a2),fr=(_0xefa277,_0x45a8b3,_0x321614)=>ur(_0xefa277,_0x45a8b3+'',_0x321614);const vr=_0x2c12ee(0x32f);let Nt=class extends _0x3c2e3e{constructor(_0x3a959f,_0xbf6237,_0x29f4d6,_0x58052a){var _0x17d803=_0x2c12ee;super(),N(this,_0x17d803(0x29c)),(this['_logService']=_0xbf6237,this[_0x17d803(0x3b3)]=_0x29f4d6,this[_0x17d803(0x274)]=_0x58052a);const {..._0x52c0c4}=_0x54cb14({},Ds,_0x3a959f);if(!_0x52c0c4[_0x17d803(0x1ee)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x17d803(0x29c)]=_0x52c0c4,this['_configService'][_0x17d803(0x36c)](K,_0x52c0c4);}[_0x2c12ee(0x2c2)](){var _0x22133a=_0x2c12ee;this[_0x22133a(0x25e)](),this[_0x22133a(0x216)]();}[_0x2c12ee(0x25e)](){var _0x57dc74=_0x2c12ee,_0x28bd3a,_0x449d08;this['_injector']['has'](_0x1912eb)&&this[_0x57dc74(0x391)][_0x57dc74(0x334)](_0x57dc74(0x23c),_0x57dc74(0x26b));const _0x32b5b6=_0x3480dd([[_0x1912eb,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x57dc74(0x29c)][_0x57dc74(0x1ee)]}],[_0x3e16a1,{'useClass':bt}],[_0x5ca3c3,{'useClass':Tt}],[_0x2b9709,{'useClass':Rt}],[_0x4e4bc4,{'useClass':Ot}],[nt],[It]],(_0x28bd3a=this[_0x57dc74(0x29c)])==null?void 0x0:_0x28bd3a[_0x57dc74(0x22d)]);if(!((_0x449d08=this[_0x57dc74(0x29c)])!=null&&_0x449d08[_0x57dc74(0x45e)])){const _0x41e906=_0x32b5b6[_0x57dc74(0x209)](([_0x5aa0fd])=>_0x5aa0fd===ht);_0x41e906!==-0x1&&_0x32b5b6[_0x57dc74(0x1f4)](_0x41e906,0x1);}_0x4ddf62(this[_0x57dc74(0x3b3)],_0x32b5b6);}[_0x2c12ee(0x216)](){var _0x4cc450=_0x2c12ee,_0x474c79,_0x286a48,_0x4190a7;this[_0x4cc450(0x3b3)]['get'](_0x51fdde)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x83843f({'maxParallel':0x6})}),(_0x474c79=this[_0x4cc450(0x29c)])!=null&&_0x474c79['enableOfflineEditing']||(_0x286a48=this[_0x4cc450(0x3b3)][_0x4cc450(0x279)](J,_0x38d873[_0x4cc450(0x47b)]))==null||_0x286a48['disableLocalCache'](),(_0x4190a7=this['_config'])!=null&&_0x4190a7[_0x4cc450(0x301)]&&_0x1fcd1a(this[_0x4cc450(0x3b3)],[[rt]]),_0x1fcd1a(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x2c12ee(0x258),vr),Nt=dr([_0x4dadec(_0x5958f0,_0x31cb43),mt(0x1,_0x307004),mt(0x2,_0x453b21(_0x541c80)),mt(0x3,_0x2e403e)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|