@univerjs-pro/collaboration-client 0.9.3 → 0.9.4-nightly.202507290757
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.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/types/config/config.d.ts +0 -20
- package/lib/types/index.d.ts +1 -13
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -6
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -3
- package/lib/types/services/image-remote/image-io.service.d.ts +0 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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 +11 -11
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x2628af=_0x449a;(function(_0x396301,_0x7031f5){var _0x5be70f=_0x449a,_0x32880c=_0x396301();while(!![]){try{var _0xffbbbb=-parseInt(_0x5be70f(0x1ed))/0x1*(parseInt(_0x5be70f(0x420))/0x2)+parseInt(_0x5be70f(0x3ab))/0x3+parseInt(_0x5be70f(0x2b3))/0x4*(-parseInt(_0x5be70f(0x19c))/0x5)+-parseInt(_0x5be70f(0x18d))/0x6+parseInt(_0x5be70f(0x342))/0x7+parseInt(_0x5be70f(0x1e1))/0x8*(-parseInt(_0x5be70f(0x204))/0x9)+parseInt(_0x5be70f(0x3fd))/0xa*(parseInt(_0x5be70f(0x269))/0xb);if(_0xffbbbb===_0x7031f5)break;else _0x32880c['push'](_0x32880c['shift']());}catch(_0x5a4d85){_0x32880c['push'](_0x32880c['shift']());}}}(_0x5204,0xe392c));var Ni=Object[_0x2628af(0x35a)],Di=(_0x1a928a,_0x483a0e,_0xaca11)=>_0x483a0e in _0x1a928a?Ni(_0x1a928a,_0x483a0e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xaca11}):_0x1a928a[_0x483a0e]=_0xaca11,N=(_0x16396f,_0x4be0a2,_0x1c77e9)=>Di(_0x16396f,typeof _0x4be0a2!='symbol'?_0x4be0a2+'':_0x4be0a2,_0x1c77e9);import{createIdentifier as _0x3e9b7e,Inject as _0x4df4de,Injector as _0x1afd43,IConfigService as _0x58acf0,ILogService as _0x5e8fca,Disposable as _0x3a3655,DisposableCollection as _0x5c1123,toDisposable as _0x4bf02b,IUniverInstanceService as _0x55ab5c,UserManagerService as _0x54cfbf,UniverInstanceType as _0x423cd4,LocaleService as _0x26c096,Optional as _0x3807e3,RxDisposable as _0x99efd0,Tools as _0x55c26a,Rectangle as _0xe99a70,ICommandService as _0x2d4f52,JSONX as _0x5d6a66,CommandType as _0x50f631,IUndoRedoService as _0x1eda14,IPermissionService as _0x1305f2,sequenceExecute as _0xadef7b,Workbook as _0x44b7e7,generateRandomId as _0x27767b,MentionType as _0x15a4c8,isInternalEditorID as _0x18bbb0,LocalUndoRedoService as _0x133629,IContextService as _0x3a9797,DependentOn as _0x24e170,Plugin as _0xb5964b,merge as _0x4d14ae,mergeOverrideWithDependencies as _0x597ac7,IAuthzIoService as _0x117e54,IMentionIOService as _0x149c41,registerDependencies as _0x1d91d9,Quantity as _0x465812,touchDependencies as _0x5e1038}from'@univerjs/core';import{Subject as _0x563997,merge as _0x23d50f,of as _0x29d352,BehaviorSubject as _0x5cf054,takeUntil as _0x198bbe,ReplaySubject as _0x305c11,take as _0x43b524,map as _0xeacfc9,shareReplay as _0x51e9ff,firstValueFrom as _0x356759,concatMap as _0x587ba4}from'rxjs';import{map as _0x5b0392,take as _0x3a7ee9,filter as _0x5f2c59,delay as _0x312361,takeUntil as _0x2c5368}from'rxjs/operators';import{CollaborationEvent as _0x543fc4,ISnapshotServerService as _0x5998ee,parseChangesetToProtocol as _0x15cdcf,ITransformService as _0x1b0331,isTransformMutationsWithChangesetSuccess as _0x3c1f72,mapDocumentTypeToUniverType as _0x549829,RevisionService as _0x29e7be,isTransformChangesetsSuccess as _0x281523,CompressMutationService as _0x3a81f4,parseProtocolChangeset as _0x2cea3f,uuidv4 as _0x43009f,SnapshotService as _0x24c623,textEncoder as _0x375c0d,b64DecodeUnicode as _0x5a2aeb,isTransformMutationsWithChangesetFailure as _0x31834a,UniverCollaborationPlugin as _0x1f4531}from'@univerjs-pro/collaboration';import{HTTPService as _0xfc765a,ISocketService as _0x5d2cdd,MergeInterceptorFactory as _0x4f67fb,HTTPRequest as _0x5ded10,UniverNetworkPlugin as _0xf46791,ThresholdInterceptorFactory as _0x1b38ea}from'@univerjs/network';import{ITelemetryService as _0x16e777}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a996d}from'@univerjs/docs';import{SheetsSelectionsService as _0x24ad1c,SetSelectionsOperation as _0x58ba7a,InsertSheetMutation as _0x29f5e4,EmptyMutation as _0x41292f,WorkbookEditablePermission as _0x524ab0,SheetPermissionInitController as _0x231dd4}from'@univerjs/sheets';import{ImageSourceType as _0x1ae7bd,ImageUploadStatusType as _0x1dcc32,IImageIoService as _0x26aa0d}from'@univerjs/drawing';import{getGlobalObject as _0x48f501}from'@univerjs-pro/license';const vs='SNAPSHOT_SERVER_URL_KEY',ps=_0x2628af(0x305),ms=_0x2628af(0x28a),Nr=_0x2628af(0x280),gs=0x7d0,Ss='COLLAB_WEB_SOCKET_URL',Es=_0x2628af(0x158),Dr=_0x2628af(0x3b5),Is=_0x2628af(0x175),Ts=0x7530,di=_0x2628af(0x1ad),fi=0x4e20,Cs=0x4e20,Rs='RETRY_CONNECTING_MAX_COUNT',Os=0x3,Ur='LOCAL_CACHE_INTERVAL',Ar=0x3e8,bs=_0x2628af(0x3cd),ys=_0x2628af(0x322),Ns=_0x2628af(0x33c),Ds=_0x2628af(0x194),wr=_0x2628af(0x2d3),Pr=_0x2628af(0x311);var vi=(_0x9862f2=>(_0x9862f2[_0x9862f2[_0x2628af(0x254)]=0x0]=_0x2628af(0x254),_0x9862f2[_0x9862f2['OK']=0x1]='OK',_0x9862f2[_0x9862f2[_0x2628af(0x3f4)]=0x2]=_0x2628af(0x3f4),_0x9862f2[_0x9862f2['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x9862f2[_0x9862f2['NOT_FOUND']=0x4]=_0x2628af(0x363),_0x9862f2[_0x9862f2[_0x2628af(0x28f)]=0x5]='UNAUTHENTICATED',_0x9862f2[_0x9862f2['ALREADY_EXISTS']=0x6]=_0x2628af(0x347),_0x9862f2[_0x9862f2['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x9862f2[_0x9862f2[_0x2628af(0x13d)]=0x8]=_0x2628af(0x13d),_0x9862f2[_0x9862f2['COMPLETION_FINISHED']=0x9]=_0x2628af(0x3a7),_0x9862f2[_0x9862f2['LOGIN_FAILED']=0xa]=_0x2628af(0x1be),_0x9862f2[_0x9862f2[_0x2628af(0x389)]=0xb]=_0x2628af(0x389),_0x9862f2[_0x9862f2[_0x2628af(0x362)]=0xc]=_0x2628af(0x362),_0x9862f2[_0x9862f2[_0x2628af(0x312)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x9862f2[_0x9862f2[_0x2628af(0x1d3)]=0xe]=_0x2628af(0x1d3),_0x9862f2[_0x9862f2[_0x2628af(0x30f)]=0x1389]=_0x2628af(0x30f),_0x9862f2[_0x9862f2[_0x2628af(0x3ee)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x9862f2[_0x9862f2[_0x2628af(0x2e3)]=0x1772]=_0x2628af(0x2e3),_0x9862f2[_0x9862f2[_0x2628af(0x377)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x9862f2[_0x9862f2[_0x2628af(0x210)]=0x1b59]=_0x2628af(0x210),_0x9862f2[_0x9862f2[_0x2628af(0x37d)]=0x1b5a]=_0x2628af(0x37d),_0x9862f2[_0x9862f2[_0x2628af(0x358)]=0x1b5b]=_0x2628af(0x358),_0x9862f2[_0x9862f2['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2628af(0x32d),_0x9862f2[_0x9862f2[_0x2628af(0x382)]=0x1b5d]='APPLY_DUPLICATED',_0x9862f2[_0x9862f2[_0x2628af(0x291)]=0x1f41]=_0x2628af(0x291),_0x9862f2[_0x9862f2[_0x2628af(0x171)]=0x2329]=_0x2628af(0x171),_0x9862f2[_0x9862f2[_0x2628af(0x189)]=0x232a]=_0x2628af(0x189),_0x9862f2[_0x9862f2[_0x2628af(0x297)]=0x232b]=_0x2628af(0x297),_0x9862f2[_0x9862f2[_0x2628af(0x153)]=0x232c]=_0x2628af(0x153),_0x9862f2[_0x9862f2[_0x2628af(0x244)]=0x232d]=_0x2628af(0x244),_0x9862f2[_0x9862f2[_0x2628af(0x3ea)]=0x2711]=_0x2628af(0x3ea),_0x9862f2[_0x9862f2[_0x2628af(0x43a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x9862f2[_0x9862f2[_0x2628af(0x38a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x9862f2[_0x9862f2[_0x2628af(0x437)]=0x2714]=_0x2628af(0x437),_0x9862f2[_0x9862f2[_0x2628af(0x156)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9862f2[_0x9862f2[_0x2628af(0x3ff)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x9862f2[_0x9862f2[_0x2628af(0x178)]=0x271c]=_0x2628af(0x178),_0x9862f2[_0x9862f2[_0x2628af(0x23a)]=0x271d]=_0x2628af(0x23a),_0x9862f2[_0x9862f2[_0x2628af(0x3cb)]=0x271e]=_0x2628af(0x3cb),_0x9862f2[_0x9862f2[_0x2628af(0x20a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x9862f2[_0x9862f2[_0x2628af(0x1e4)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x9862f2[_0x9862f2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x9862f2[_0x9862f2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2628af(0x2bf),_0x9862f2[_0x9862f2[_0x2628af(0x2cd)]=0x2ee2]=_0x2628af(0x2cd),_0x9862f2[_0x9862f2['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x9862f2[_0x9862f2[_0x2628af(0x2b5)]=0x2ee4]=_0x2628af(0x2b5),_0x9862f2[_0x9862f2[_0x2628af(0x401)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x9862f2[_0x9862f2[_0x2628af(0x3c7)]=0x32c9]=_0x2628af(0x3c7),_0x9862f2[_0x9862f2[_0x2628af(0x380)]=0x32ca]=_0x2628af(0x380),_0x9862f2[_0x9862f2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x9862f2[_0x9862f2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x9862f2))(vi||{}),Z=(_0x33f121=>(_0x33f121[_0x33f121[_0x2628af(0x27a)]=0x0]='UNIVER_UNKNOWN',_0x33f121[_0x33f121['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x33f121[_0x33f121['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x33f121[_0x33f121[_0x2628af(0x306)]=0x3]=_0x2628af(0x306),_0x33f121[_0x33f121[_0x2628af(0x3c2)]=0x4]='UNIVER_PROJECT',_0x33f121[_0x33f121['UNRECOGNIZED']=-0x1]=_0x2628af(0x224),_0x33f121))(Z||{}),F=(_0x88ef2b=>(_0x88ef2b[_0x88ef2b[_0x2628af(0x333)]=0x0]=_0x2628af(0x333),_0x88ef2b[_0x88ef2b[_0x2628af(0x412)]=0x1]='HELLO',_0x88ef2b[_0x88ef2b['JOIN']=0x2]='JOIN',_0x88ef2b[_0x88ef2b[_0x2628af(0x408)]=0x3]='LEAVE',_0x88ef2b[_0x88ef2b[_0x2628af(0x32f)]=0x4]='INGEST',_0x88ef2b[_0x88ef2b[_0x2628af(0x285)]=0x5]=_0x2628af(0x285),_0x88ef2b[_0x88ef2b[_0x2628af(0x27b)]=0x6]=_0x2628af(0x27b),_0x88ef2b[_0x88ef2b[_0x2628af(0x224)]=-0x1]=_0x2628af(0x224),_0x88ef2b))(F||{}),me=(_0x4755d2=>(_0x4755d2[_0x4755d2[_0x2628af(0x18e)]=0x0]='UNKNOWN_CODE',_0x4755d2[_0x4755d2['OK']=0x1]='OK',_0x4755d2[_0x4755d2[_0x2628af(0x1bc)]=0x2]=_0x2628af(0x1bc),_0x4755d2[_0x4755d2[_0x2628af(0x2c8)]=0x3e9]=_0x2628af(0x2c8),_0x4755d2[_0x4755d2[_0x2628af(0x276)]=0x3ea]=_0x2628af(0x276),_0x4755d2[_0x4755d2[_0x2628af(0x3ca)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4755d2[_0x4755d2[_0x2628af(0x284)]=0x3ec]=_0x2628af(0x284),_0x4755d2[_0x4755d2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4755d2))(me||{}),pi=(_0x3794e0=>(_0x3794e0[_0x3794e0[_0x2628af(0x40e)]=0x0]=_0x2628af(0x40e),_0x3794e0[_0x3794e0[_0x2628af(0x441)]=0x1]=_0x2628af(0x441),_0x3794e0[_0x3794e0[_0x2628af(0x213)]=0x2]=_0x2628af(0x213),_0x3794e0[_0x3794e0[_0x2628af(0x3bb)]=0x3]=_0x2628af(0x3bb),_0x3794e0[_0x3794e0['UnitSnapshot']=0x4]=_0x2628af(0x159),_0x3794e0[_0x3794e0['UserProfileImg']=0x5]='UserProfileImg',_0x3794e0[_0x3794e0['UNRECOGNIZED']=-0x1]=_0x2628af(0x224),_0x3794e0))(pi||{});const K='collaboration-client.config',Us={};var ne=(_0xba1d52=>(_0xba1d52[_0x2628af(0x228)]='OTHER_CLIENT_EDITING',_0xba1d52[_0x2628af(0x3d7)]=_0x2628af(0x3d7),_0xba1d52[_0x2628af(0x2ed)]=_0x2628af(0x2ed),_0xba1d52[_0x2628af(0x240)]=_0x2628af(0x240),_0xba1d52[_0x2628af(0x3be)]='JOIN_ROOM_FAILED',_0xba1d52[_0x2628af(0x21b)]=_0x2628af(0x21b),_0xba1d52[_0x2628af(0x2f3)]=_0x2628af(0x2f3),_0xba1d52[_0x2628af(0x22b)]=_0x2628af(0x22b),_0xba1d52))(ne||{});class ve{constructor(){var _0x53733b=_0x2628af;N(this,_0x53733b(0x1d8),new _0x563997()),N(this,_0x53733b(0x2fd),this[_0x53733b(0x1d8)][_0x53733b(0x20f)]());}[_0x2628af(0x3e8)](_0x53c300){var _0x27eb52=_0x2628af;this['_event$'][_0x27eb52(0x2c6)](_0x53c300);}}const As=_0x3e9b7e(_0x2628af(0x3a1));function ws(_0x1f1a2a){var _0x1e1e41=_0x2628af,_0x1e534c,_0x1d0548,_0x3acb46,_0x12c32d,_0x170320;const _0x47253d=_0x1f1a2a['data'],_0x5e9a85=JSON[_0x1e1e41(0x2a0)](_0x47253d);switch(_0x5e9a85[_0x1e1e41(0x293)]){case F[_0x1e1e41(0x285)]:case F[_0x1e1e41(0x412)]:{const _0x24ad01=_0x5e9a85[_0x1e1e41(0x3d9)];return{..._0x5e9a85,'data':_0x24ad01,'cmd':_0x5e9a85[_0x1e1e41(0x293)]};}case F[_0x1e1e41(0x271)]:{const _0x127365=_0x5e9a85[_0x1e1e41(0x20e)];return{..._0x5e9a85,'data':_0x127365,'cmd':_0x5e9a85[_0x1e1e41(0x293)]};}case F['RECV']:{const _0x5a33d9=_0x5e9a85[_0x1e1e41(0x3fb)];switch(_0x5a33d9[_0x1e1e41(0x1ce)]){case _0x543fc4[_0x1e1e41(0x3b8)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x1e534c=_0x5a33d9[_0x1e1e41(0x27e)])==null?void 0x0:_0x1e534c['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['CHANGESET_ACK']:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x1d0548=_0x5a33d9['csAckEvent'])==null?void 0x0:_0x1d0548['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['NEW_CHANGESETS']:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x3acb46=_0x5a33d9[_0x1e1e41(0x424)])==null?void 0x0:_0x3acb46['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x332)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x12c32d=_0x5a33d9[_0x1e1e41(0x19b)])==null?void 0x0:_0x12c32d['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3b0)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x170320=_0x5a33d9[_0x1e1e41(0x35e)])==null?void 0x0:_0x170320['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x192)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x1c0)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3af)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x310)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['USERS_LEAVE']:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9['leaveEvent']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x18b)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x1db)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['LIVESHARE_FETCH_OPERATIONS']:case _0x543fc4[_0x1e1e41(0x385)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9['liveShareOperation']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x1f4)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x1db)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3bd)]:return{..._0x5e9a85,'data':_0x5a33d9,'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3bc)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x3e6)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x393)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x42e)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x141)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9['shouldCloseConn']},'cmd':_0x5e9a85['cmd']};case _0x543fc4[_0x1e1e41(0x170)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x316)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};default:return _0x5e9a85;}}default:return _0x5e9a85;}}function Ps(_0x1041b2){var _0x2fb756=_0x2628af;switch(_0x1041b2[_0x2fb756(0x293)]){case F['HEARTBEAT']:case F[_0x2fb756(0x412)]:return JSON[_0x2fb756(0x2b0)]({'cmd':_0x1041b2['cmd'],'routeKey':_0x1041b2[_0x2fb756(0x1bb)]});case F[_0x2fb756(0x32f)]:{let _0x1ab3f;switch(_0x1041b2[_0x2fb756(0x391)]['eventID']){case _0x543fc4[_0x2fb756(0x192)]:{_0x1ab3f={'eventID':_0x543fc4['UPDATE_CURSOR'],'updateCursorEvent':_0x1041b2[_0x2fb756(0x391)]['data']};break;}case _0x543fc4[_0x2fb756(0x145)]:{_0x1ab3f={'eventID':_0x543fc4['USERS_LEAVE'],'leaveEvent':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x3af)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x3af)],'joinEvent':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x18b)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x18b)],'liveShareNewHost':_0x1041b2[_0x2fb756(0x391)]['data']};break;}case _0x543fc4[_0x2fb756(0x385)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x385)],'liveShareOperation':_0x1041b2[_0x2fb756(0x391)]['data']};break;}case _0x543fc4[_0x2fb756(0x1f4)]:{_0x1ab3f={'eventID':_0x543fc4['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x17f)]:{_0x1ab3f={'eventID':_0x543fc4['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x2b1)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x2b1)]};break;}default:_0x1ab3f={'eventID':_0x1041b2[_0x2fb756(0x391)]['eventID']};}return JSON[_0x2fb756(0x2b0)]({'cmd':_0x1041b2[_0x2fb756(0x293)],'routeKey':_0x1041b2[_0x2fb756(0x1bb)],'collaMsg':_0x1ab3f});}case F[_0x2fb756(0x271)]:return JSON[_0x2fb756(0x2b0)]({'cmd':_0x1041b2['cmd'],'routeKey':_0x1041b2[_0x2fb756(0x1bb)],'joinReq':_0x1041b2[_0x2fb756(0x391)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x1041b2[_0x2fb756(0x293)],'routeKey':_0x1041b2[_0x2fb756(0x1bb)],'leaveReq':_0x1041b2[_0x2fb756(0x391)]});default:throw new Error(_0x2fb756(0x38b));}}var Ls=Object[_0x2628af(0x197)],Ms=(_0x4d71db,_0x54231f,_0x3ecf39,_0x3cbb12)=>{var _0xc094d3=_0x2628af;for(var _0x3c9dd6=_0x3cbb12>0x1?void 0x0:_0x3cbb12?Ls(_0x54231f,_0x3ecf39):_0x54231f,_0x1c4f39=_0x4d71db[_0xc094d3(0x2a7)]-0x1,_0x8b013e;_0x1c4f39>=0x0;_0x1c4f39--)(_0x8b013e=_0x4d71db[_0x1c4f39])&&(_0x3c9dd6=_0x8b013e(_0x3c9dd6)||_0x3c9dd6);return _0x3c9dd6;},Ue=(_0x59e9ff,_0x282742)=>(_0x598bb8,_0x1a85b4)=>_0x282742(_0x598bb8,_0x1a85b4,_0x59e9ff);const mi=_0x3e9b7e(_0x2628af(0x3d2));function xs(_0x598760,_0x41cb99,_0x43f724){var _0x2e8459=_0x2628af;return _0x598760+'/'+_0x41cb99+'/unit/'+_0x43f724+_0x2e8459(0x17d);}let Ft=class extends _0x3a3655{constructor(_0x12024f,_0x1fde5f,_0xb5ac8b,_0x3326de,_0x3d8147){var _0x4f86b5=_0x2628af;super(),this[_0x4f86b5(0x252)]=_0x12024f,this[_0x4f86b5(0x1a4)]=_0x1fde5f,this['_configService']=_0xb5ac8b,this[_0x4f86b5(0x187)]=_0x3326de,this['_snapshotServerService']=_0x3d8147;}[_0x2628af(0x135)](_0x1806f4){var _0x4f766f=_0x2628af;const _0x427a88=this[_0x4f766f(0x252)]['get'](_0x5d2cdd);if(!_0x427a88)throw new Error(_0x4f766f(0x2a9));const _0x162788=_0x427a88[_0x4f766f(0x265)](_0x1806f4);if(!_0x162788)throw new Error(_0x4f766f(0x25c));const _0x450934=new _0x5c1123(),_0x5895e2=new _0x563997();_0x450934[_0x4f766f(0x360)](_0x162788[_0x4f766f(0x336)]['subscribe'](_0x1b4c48=>_0x5895e2[_0x4f766f(0x2c6)](_0x1b4c48))),_0x450934[_0x4f766f(0x360)](_0x4bf02b(()=>_0x5895e2[_0x4f766f(0x25b)]()));const _0x1b63e6=new _0x563997();_0x450934['add'](_0x162788['error$']['subscribe'](_0x17dfb5=>_0x1b63e6[_0x4f766f(0x2c6)](_0x17dfb5))),_0x450934['add'](_0x4bf02b(()=>_0x1b63e6[_0x4f766f(0x25b)]()));const _0x388151=new _0x563997();_0x450934[_0x4f766f(0x360)](_0x162788[_0x4f766f(0x1ca)][_0x4f766f(0x1da)](_0x42c7c7=>{var _0x54cfc7=_0x4f766f;const _0x4b998b=ws(_0x42c7c7);_0x388151[_0x54cfc7(0x2c6)](_0x4b998b);})),_0x450934[_0x4f766f(0x360)](_0x4bf02b(()=>_0x388151['complete']()));let _0x174f6e;const _0x4131f1=()=>{var _0x4028bd=_0x4f766f;_0x1b63e6[_0x4028bd(0x2c6)](new Event('connection\x20error')),_0x5895e2[_0x4028bd(0x2c6)](new Event(_0x4028bd(0x20b))),_0x174f6e[_0x4028bd(0x42f)]();};return _0x174f6e={'memberID':'','close$':_0x5895e2[_0x4f766f(0x20f)](),'error$':_0x1b63e6[_0x4f766f(0x20f)](),'open$':_0x162788[_0x4f766f(0x36d)],'message$':_0x388151['asObservable'](),'send':_0x14a903=>{var _0x20a094=_0x4f766f;if(_0x14a903[_0x20a094(0x293)]===F[_0x20a094(0x32f)]){if(_0x14a903['data'][_0x20a094(0x1ce)]===_0x543fc4[_0x20a094(0x22d)]){this[_0x20a094(0x3a4)](_0x174f6e,_0x14a903[_0x20a094(0x391)])[_0x20a094(0x396)](_0x233060=>{var _0x13e8da=_0x20a094;this[_0x13e8da(0x187)][_0x13e8da(0x248)](_0x233060),_0x4131f1();});return;}if(_0x14a903[_0x20a094(0x391)][_0x20a094(0x1ce)]===_0x543fc4[_0x20a094(0x41a)]){const _0xad232d=_0x14a903[_0x20a094(0x391)];this[_0x20a094(0x148)](_0xad232d)[_0x20a094(0x40d)](_0x2d1e24=>{var _0x3468c3=_0x20a094;_0x388151[_0x3468c3(0x2c6)]({'cmd':F[_0x3468c3(0x27b)],'code':me['OK'],'routeKey':_0xad232d[_0x3468c3(0x391)][_0x3468c3(0x418)],'routeType':'','data':{'eventID':_0x543fc4[_0x3468c3(0x287)],'data':{'changesets':_0x2d1e24}}});})[_0x20a094(0x396)](_0x231fa8=>{var _0x13e975=_0x20a094;this[_0x13e975(0x187)][_0x13e975(0x248)](_0x231fa8),_0x4131f1();});return;}}_0x162788[_0x20a094(0x2e9)](Ps(_0x14a903));},'close':()=>{var _0x552511=_0x4f766f;_0x162788[_0x552511(0x42f)](),_0x450934['dispose']();}},_0x174f6e;}async['_submitChangeset'](_0x22177e,_0x3e5838){var _0x384395=_0x2628af,_0x5103ee,_0x20dd18;const {unitType:_0x4f653a,unitID:_0x2d1518,changeset:_0x53cd1e}=_0x3e5838['data'],_0x2a651d={'unitID':_0x2d1518,'memberID':_0x22177e['memberID'],'type':_0x4f653a,'changeset':_0x15cdcf(_0x53cd1e)},_0x143ee7=this[_0x384395(0x1f7)][_0x384395(0x2d2)](bs),_0xc3ca10=this[_0x384395(0x1f7)][_0x384395(0x2d2)](K),_0x3985db=xs((_0x20dd18=(_0x5103ee=_0xc3ca10==null?void 0x0:_0xc3ca10['collabSubmitChangesetUrl'])!=null?_0x5103ee:_0x143ee7)!=null?_0x20dd18:ys,_0x4f653a,_0x2d1518);try{await this[_0x384395(0x1a4)]['post'](_0x3985db,{'body':_0x2a651d});}catch(_0x5db4ad){throw this[_0x384395(0x187)]['error'](_0x384395(0x37e),_0x384395(0x24c)),_0x5db4ad;}}async[_0x2628af(0x148)](_0x4d9e84){var _0x470bfa=_0x2628af;const {unitID:_0x4be781,from:_0x5726af,to:_0x28cf14,unitType:_0x174263}=_0x4d9e84['data'];return(await this[_0x470bfa(0x242)][_0x470bfa(0x343)]({'metadata':void 0x0},{'unitID':_0x4be781,'type':_0x174263,'from':_0x5726af,'to':_0x28cf14}))['changesets'];}};Ft=Ms([Ue(0x0,_0x4df4de(_0x1afd43)),Ue(0x1,_0x4df4de(_0xfc765a)),Ue(0x2,_0x58acf0),Ue(0x3,_0x5e8fca),Ue(0x4,_0x5998ee)],Ft);const ks=_0x2628af(0x193);function $s(_0x367345){var _0x18ca1f=_0x2628af;return JSON['stringify'](_0x367345)[_0x18ca1f(0x2a7)];}class gi{constructor(){var _0x9768cf=_0x2628af;N(this,_0x9768cf(0x236),new _0x563997()),N(this,_0x9768cf(0x2ae),this[_0x9768cf(0x236)][_0x9768cf(0x20f)]());}[_0x2628af(0x400)](_0xae54a7){var _0xb4ca12=_0x2628af;this['_commentUpdate$'][_0xb4ca12(0x2c6)](_0xae54a7);}}var Hs=Object['getOwnPropertyDescriptor'],Bs=(_0x64cd02,_0x2d58b5,_0x2d9887,_0x368b78)=>{for(var _0x5996d7=_0x368b78>0x1?void 0x0:_0x368b78?Hs(_0x2d58b5,_0x2d9887):_0x2d58b5,_0x5cab51=_0x64cd02['length']-0x1,_0x11317c;_0x5cab51>=0x0;_0x5cab51--)(_0x11317c=_0x64cd02[_0x5cab51])&&(_0x5996d7=_0x11317c(_0x5996d7)||_0x5996d7);return _0x5996d7;},Vt=(_0x254b4c,_0x51dc2b)=>(_0x261c0d,_0x345b48)=>_0x51dc2b(_0x261c0d,_0x345b48,_0x254b4c);let Pe=class extends _0x3a3655{constructor(_0x361df8,_0x39d796){var _0x4be8ea=_0x2628af;super(),N(this,_0x4be8ea(0x33a),new Map()),N(this,'_roomCreated$',new _0x563997()),(this[_0x4be8ea(0x433)]=_0x361df8,this[_0x4be8ea(0x19f)]=_0x39d796,this['disposeWithMe'](_0x23d50f(this[_0x4be8ea(0x433)]['getTypeOfUnitDisposed$'](_0x423cd4[_0x4be8ea(0x2bd)])[_0x4be8ea(0x1d9)](_0x5b0392(_0x43e2b3=>_0x43e2b3[_0x4be8ea(0x266)]())),this[_0x4be8ea(0x433)]['getTypeOfUnitDisposed$'](_0x423cd4['UNIVER_DOC'])['pipe'](_0x5b0392(_0x4b7340=>_0x4b7340[_0x4be8ea(0x266)]())),this[_0x4be8ea(0x433)][_0x4be8ea(0x247)](_0x423cd4['UNIVER_SLIDE'])[_0x4be8ea(0x1d9)](_0x5b0392(_0x35f309=>_0x35f309[_0x4be8ea(0x266)]())))['subscribe'](_0x7d8cec=>this[_0x4be8ea(0x350)](_0x7d8cec))));}[_0x2628af(0x15f)](_0x7f4851){var _0x637be9=_0x2628af;return this[_0x637be9(0x33a)][_0x637be9(0x27f)](_0x7f4851)?_0x29d352(this[_0x637be9(0x33a)][_0x637be9(0x239)](_0x7f4851)):this[_0x637be9(0x3d8)][_0x637be9(0x1d9)](_0x5b0392(_0x17e818=>{var _0x501e7b=_0x637be9;if(_0x17e818===_0x7f4851)return this[_0x501e7b(0x33a)][_0x501e7b(0x239)](_0x17e818);}));}[_0x2628af(0x1ef)](_0x4d569c){var _0x478436=_0x2628af;this[_0x478436(0x19f)]['setCurrentUser'](_0x4d569c);}[_0x2628af(0x289)](){var _0x1fae46=_0x2628af;return this[_0x1fae46(0x19f)][_0x1fae46(0x289)]();}[_0x2628af(0x3ec)](_0x4e231b,_0x109f42){var _0x19d552=_0x2628af;let _0x1aa349=this[_0x19d552(0x33a)][_0x19d552(0x239)](_0x4e231b);_0x1aa349||(_0x1aa349=new js(),this['_roomMembers']['set'](_0x4e231b,_0x1aa349),this['_roomCreated$'][_0x19d552(0x2c6)](_0x4e231b)),_0x1aa349[_0x19d552(0x3ec)](_0x109f42);}[_0x2628af(0x217)](_0x22e0c4,_0x5c5e0e){var _0xd8b012=_0x2628af;const _0x1e0dc3=this[_0xd8b012(0x33a)][_0xd8b012(0x239)](_0x22e0c4);_0x1e0dc3&&_0x1e0dc3['removeMember'](_0x5c5e0e);}[_0x2628af(0x436)](_0x40db4e){var _0x190b5c=_0x2628af;return this[_0x190b5c(0x33a)][_0x190b5c(0x239)](_0x40db4e);}['getMember'](_0x25387f,_0x3c3f89){var _0x4ca7c2=_0x2628af;const _0x27207e=this[_0x4ca7c2(0x33a)][_0x4ca7c2(0x239)](_0x25387f);if(_0x27207e)return _0x27207e[_0x4ca7c2(0x1de)](_0x3c3f89);}[_0x2628af(0x350)](_0xd00483){var _0x302daa=_0x2628af;const _0x94f618=this[_0x302daa(0x33a)][_0x302daa(0x239)](_0xd00483);_0x94f618&&(_0x94f618[_0x302daa(0x3ae)](),this['_roomMembers']['delete'](_0xd00483));}[_0x2628af(0x3ae)](){var _0x4cd83f=_0x2628af;this[_0x4cd83f(0x33a)][_0x4cd83f(0x3a2)](_0x54ef16=>_0x54ef16[_0x4cd83f(0x3ae)]()),this[_0x4cd83f(0x33a)][_0x4cd83f(0x41d)](),this[_0x4cd83f(0x3d8)]['complete']();}};Pe=Bs([Vt(0x0,_0x55ab5c),Vt(0x1,_0x4df4de(_0x54cfbf))],Pe);class js extends _0x3a3655{constructor(){var _0xfa30a6=_0x2628af;super(...arguments),N(this,_0xfa30a6(0x2a2),new Map()),N(this,'_members$',new _0x5cf054(this[_0xfa30a6(0x2a2)])),N(this,'members$',this['_members$']['asObservable']());}[_0x2628af(0x3ae)](){var _0x58ec59=_0x2628af;this[_0x58ec59(0x2a2)][_0x58ec59(0x41d)]();}[_0x2628af(0x3ec)](_0x2dc456){var _0x4cd144=_0x2628af;this[_0x4cd144(0x2a2)][_0x4cd144(0x2d8)](_0x2dc456[_0x4cd144(0x1a2)],_0x2dc456),this[_0x4cd144(0x3ba)]();}[_0x2628af(0x217)](_0x17fa4c){var _0x23c843=_0x2628af;this[_0x23c843(0x2a2)][_0x23c843(0x134)](_0x17fa4c);}['getMember'](_0xb3ece){var _0x4c4362=_0x2628af;return this[_0x4c4362(0x2a2)][_0x4c4362(0x239)](_0xb3ece);}[_0x2628af(0x275)](){var _0x3cd4b6=_0x2628af;return Array[_0x3cd4b6(0x16c)](this[_0x3cd4b6(0x2a2)][_0x3cd4b6(0x43d)]());}[_0x2628af(0x3ba)](){var _0x589473=_0x2628af;this[_0x589473(0x2a4)][_0x589473(0x2c6)](this['_members']);}}var Fs=Object[_0x2628af(0x197)],Vs=(_0xe4c6c7,_0x497816,_0x37b092,_0x1ab1f3)=>{var _0x362173=_0x2628af;for(var _0x372d51=_0x1ab1f3>0x1?void 0x0:_0x1ab1f3?Fs(_0x497816,_0x37b092):_0x497816,_0x3e5b70=_0xe4c6c7[_0x362173(0x2a7)]-0x1,_0x3f358e;_0x3e5b70>=0x0;_0x3e5b70--)(_0x3f358e=_0xe4c6c7[_0x3e5b70])&&(_0x372d51=_0x3f358e(_0x372d51)||_0x372d51);return _0x372d51;},pe=(_0x190ea8,_0x54853f)=>(_0xde7a,_0xfe7a76)=>_0x54853f(_0xde7a,_0xfe7a76,_0x190ea8),Se=(_0x555a4b=>(_0x555a4b[_0x555a4b[_0x2628af(0x146)]=0x0]='IDLE',_0x555a4b[_0x555a4b[_0x2628af(0x13f)]=0x1]='JOINING',_0x555a4b[_0x555a4b[_0x2628af(0x3d3)]=0x2]=_0x2628af(0x3d3),_0x555a4b[_0x555a4b[_0x2628af(0x13b)]=0x3]=_0x2628af(0x13b),_0x555a4b))(Se||{});const Gt={[me[_0x2628af(0x1bc)]]:_0x2628af(0x283),[me['JOIN_ROOM_FULL']]:'session.room-full',[me[_0x2628af(0x276)]]:_0x2628af(0x152),[me[_0x2628af(0x3ca)]]:_0x2628af(0x229),[me[_0x2628af(0x284)]]:'session.room-cnt-exceeds'};let gt=class extends _0x99efd0{constructor(_0x558a1b,_0x204621,_0xa6fcc0,_0x5934e6,_0x22f4d9,_0x424c23,_0x5d14ed,_0x2fdc0a,_0x2f5347){var _0x515eae=_0x2628af;super(),N(this,_0x515eae(0x20d),new _0x5cf054(0x0)),N(this,_0x515eae(0x277),this[_0x515eae(0x20d)][_0x515eae(0x20f)]()),N(this,_0x515eae(0x1d8),new _0x563997()),N(this,_0x515eae(0x2fd),this[_0x515eae(0x1d8)][_0x515eae(0x20f)]()),N(this,'_socket'),N(this,_0x515eae(0x1e6)),N(this,_0x515eae(0x2c4)),N(this,_0x515eae(0x1f2),!0x1),N(this,_0x515eae(0x36a),null),(this[_0x515eae(0x292)]=_0x558a1b,this['_logService']=_0xa6fcc0,this[_0x515eae(0x1f7)]=_0x5934e6,this[_0x515eae(0x2f8)]=_0x22f4d9,this[_0x515eae(0x184)]=_0x424c23,this[_0x515eae(0x3b1)]=_0x5d14ed,this[_0x515eae(0x3e5)]=_0x2fdc0a,this['_telemetryService']=_0x2f5347,this[_0x515eae(0x1f2)]=!!this[_0x515eae(0x2c1)],_0x204621[_0x515eae(0x1d9)](_0x198bbe(this[_0x515eae(0x327)]))['subscribe'](_0x26d213=>{var _0x20af2e=_0x515eae,_0x4c0d9b;typeof _0x26d213>'u'||(this[_0x20af2e(0x13a)]=_0x26d213,_0x26d213?(this['_joinRoom'](_0x26d213),this['_socketMessageSubscription']=_0x26d213['message$']['subscribe'](_0x5e2318=>{var _0x9ff9f7=_0x20af2e;_0x5e2318[_0x9ff9f7(0x1bb)]===this[_0x9ff9f7(0x292)]&&this[_0x9ff9f7(0x164)](_0x5e2318);})):(this[_0x20af2e(0x3fe)](),this[_0x20af2e(0x20d)][_0x20af2e(0x2c6)](0x2),(_0x4c0d9b=this[_0x20af2e(0x1e6)])==null||_0x4c0d9b['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x2628af(0x25e)](){var _0xfdf155=_0x2628af;return this[_0xfdf155(0x20d)][_0xfdf155(0x2a8)]();}['getMemberID'](){var _0x228bc2=_0x2628af,_0x537d66,_0x41cf4a;return(_0x41cf4a=(_0x537d66=this[_0x228bc2(0x13a)])==null?void 0x0:_0x537d66[_0x228bc2(0x1a2)])!=null?_0x41cf4a:null;}[_0x2628af(0x3ae)](){var _0x3fa23e=_0x2628af;super[_0x3fa23e(0x3ae)](),this[_0x3fa23e(0x327)]['next'](),this[_0x3fa23e(0x327)][_0x3fa23e(0x25b)]();}[_0x2628af(0x42f)](){var _0x4de145=_0x2628af,_0x221f59,_0x134736;this[_0x4de145(0x3fe)](),(_0x221f59=this['_socket'])==null||_0x221f59[_0x4de145(0x2e9)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x4de145(0x292)]}}),(_0x134736=this[_0x4de145(0x13a)])==null||_0x134736['close'](),this['_event$'][_0x4de145(0x25b)](),this[_0x4de145(0x20d)][_0x4de145(0x25b)](),this[_0x4de145(0x3ae)]();}[_0x2628af(0x164)](_0x3a7f37){var _0x30dbe0=_0x2628af;_0x3a7f37[_0x30dbe0(0x293)]===F['JOIN']?this[_0x30dbe0(0x1c9)](_0x3a7f37):_0x3a7f37[_0x30dbe0(0x293)]===F[_0x30dbe0(0x27b)]&&this['_onRecvEvent'](_0x3a7f37);}['_joinRoom'](_0x1b7c5a){var _0x2d6af6=_0x2628af;this[_0x2d6af6(0x20d)][_0x2d6af6(0x2c6)](0x1),_0x1b7c5a[_0x2d6af6(0x2e9)]({'cmd':F[_0x2d6af6(0x271)],'routeKey':this[_0x2d6af6(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d6af6(0x292)]}]}});}['_onJoinRoomEvent'](_0x2db117){var _0x30a069=_0x2628af,_0x27473b;if(_0x2db117[_0x30a069(0x1d7)]in Gt){this[_0x30a069(0x3e5)]['emitEvent']({'id':ne[_0x30a069(0x3be)],'data':Gt[_0x2db117[_0x30a069(0x1d7)]]}),this[_0x30a069(0x20d)][_0x30a069(0x2c6)](0x2);return;}this[_0x30a069(0x20d)][_0x30a069(0x2c6)](0x3);const _0x34a520=(_0x27473b=_0x2db117[_0x30a069(0x391)][_0x30a069(0x2c3)][this[_0x30a069(0x292)]])==null?void 0x0:_0x27473b[_0x30a069(0x1e5)];_0x34a520&&_0x34a520[_0x30a069(0x3a2)](_0x56a900=>this[_0x30a069(0x184)][_0x30a069(0x3ec)](this['_unitID'],_0x56a900));}['_onRecvEvent'](_0x53f2aa){var _0x4b518f=_0x2628af;try{const _0x1bceb8=_0x53f2aa['data'];switch(_0x1bceb8[_0x4b518f(0x1ce)]){case _0x543fc4[_0x4b518f(0x3af)]:this[_0x4b518f(0x2c0)](_0x1bceb8),this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);break;case _0x543fc4[_0x4b518f(0x145)]:this['_onUserLeave'](_0x1bceb8),this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);break;case _0x543fc4['CHANGESET_ACK']:case _0x543fc4[_0x4b518f(0x3b0)]:this[_0x4b518f(0x40a)](),this['_clearCollaborationTimeoutTimer'](),this[_0x4b518f(0x1d8)]['next'](_0x1bceb8);break;case _0x543fc4['MSG_FOR_ERROR']:this['_logService'][_0x4b518f(0x248)](_0x4b518f(0x2e6)+JSON[_0x4b518f(0x2b0)](_0x1bceb8)),this['_event$'][_0x4b518f(0x2c6)](_0x1bceb8);break;case _0x543fc4['COMMENT_UPDATE']:this[_0x4b518f(0x3b1)][_0x4b518f(0x400)](_0x1bceb8[_0x4b518f(0x391)]),this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);break;default:this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);}}catch(_0x2f7d14){this[_0x4b518f(0x187)][_0x4b518f(0x248)](_0x2f7d14,_0x53f2aa);}}[_0x2628af(0x2c0)](_0x706141){var _0x335ee0=_0x2628af;this['_memberService']['updateMember'](this[_0x335ee0(0x292)],_0x706141[_0x335ee0(0x391)]);}[_0x2628af(0x2a6)](_0x208dd4){var _0x1b5063=_0x2628af;this['_memberService'][_0x1b5063(0x217)](this[_0x1b5063(0x292)],_0x208dd4['data'][_0x1b5063(0x1a2)]);}async[_0x2628af(0x2e9)](_0x374d4a,_0x233e6b){var _0x16f593=_0x2628af;if(this['sessionStatus']!==0x3||!this[_0x16f593(0x13a)])throw new Error(_0x16f593(0x3c3));try{_0x374d4a[_0x16f593(0x1ce)]===_0x543fc4[_0x16f593(0x22d)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x16f593(0x176)](_0x374d4a)),this['_socket'][_0x16f593(0x2e9)]({'cmd':F[_0x16f593(0x32f)],'routeKey':_0x233e6b,'routeType':'','data':_0x374d4a});}catch(_0x3e6266){this[_0x16f593(0x187)][_0x16f593(0x248)](_0x3e6266);}}[_0x2628af(0x359)](){var _0x2994e=_0x2628af,_0x10d846;this[_0x2994e(0x2c4)]=setTimeout(()=>{var _0x53d2ce=_0x2994e;this['_collaborationTimeoutTimer']=null,this[_0x53d2ce(0x3e5)][_0x53d2ce(0x3e8)]({'id':ne[_0x53d2ce(0x22b)]});},(_0x10d846=this[_0x2994e(0x1f7)][_0x2994e(0x2d2)](di))!=null?_0x10d846:fi);}[_0x2628af(0x2ce)](){var _0x2872b5=_0x2628af;this[_0x2872b5(0x2c4)]&&(clearTimeout(this[_0x2872b5(0x2c4)]),this[_0x2872b5(0x2c4)]=null);}[_0x2628af(0x176)](_0x51ab43){var _0x2d351b=_0x2628af;if(!this[_0x2d351b(0x1f2)])return;const {data:_0xc331e2}=_0x51ab43,{unitID:_0x428474,changeset:_0x1e627d}=_0xc331e2,{mutations:_0x108251,type:_0x4bdda8}=_0x1e627d;this[_0x2d351b(0x36a)]={'unitId':_0x428474,'type':_0x4bdda8,'startTime':performance[_0x2d351b(0x26a)](),'stopTime':0x0,'duration':0x0,'size':$s(_0x108251)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5b3c8d=_0x2628af;if(this[_0x5b3c8d(0x1f2)]){if(!this[_0x5b3c8d(0x36a)]){this[_0x5b3c8d(0x187)][_0x5b3c8d(0x248)](_0x5b3c8d(0x37e),_0x5b3c8d(0x249));return;}this['_telemetryInfo'][_0x5b3c8d(0x2f1)]=performance[_0x5b3c8d(0x26a)](),this[_0x5b3c8d(0x36a)][_0x5b3c8d(0x1e2)]=this[_0x5b3c8d(0x36a)][_0x5b3c8d(0x2f1)]-this[_0x5b3c8d(0x36a)]['startTime'],this[_0x5b3c8d(0x2c1)][_0x5b3c8d(0x3f6)](ks,this[_0x5b3c8d(0x36a)]),this[_0x5b3c8d(0x36a)]=null;}}[_0x2628af(0x3fe)](){var _0x32d1a7=_0x2628af;this[_0x32d1a7(0x36a)]=null;}};gt=Vs([pe(0x2,_0x5e8fca),pe(0x3,_0x58acf0),pe(0x4,_0x4df4de(_0x26c096)),pe(0x5,_0x4df4de(Pe)),pe(0x6,_0x4df4de(gi)),pe(0x7,_0x4df4de(ve)),pe(0x8,_0x3807e3(_0x16e777))],gt);var Gs=Object[_0x2628af(0x197)],Ys=(_0x27ed52,_0xa5232c,_0x213b6b,_0x3235fa)=>{var _0x6058c2=_0x2628af;for(var _0x528616=_0x3235fa>0x1?void 0x0:_0x3235fa?Gs(_0xa5232c,_0x213b6b):_0xa5232c,_0x85319c=_0x27ed52[_0x6058c2(0x2a7)]-0x1,_0x392dcb;_0x85319c>=0x0;_0x85319c--)(_0x392dcb=_0x27ed52[_0x85319c])&&(_0x528616=_0x392dcb(_0x528616)||_0x528616);return _0x528616;},Re=(_0x412a63,_0x564631)=>(_0x17a776,_0x2e9997)=>_0x564631(_0x17a776,_0x2e9997,_0x412a63);let Le=class extends _0x3a3655{constructor(_0x4ea7f8,_0x3522ee,_0x53840d,_0x5c0c96,_0x20db18,_0x5ecd4c){var _0x22d75f=_0x2628af;super(),N(this,'_socket$',new _0x5cf054(void 0x0)),N(this,_0x22d75f(0x2b4),this[_0x22d75f(0x2e5)][_0x22d75f(0x20f)]()),N(this,_0x22d75f(0x24f),null),N(this,_0x22d75f(0x384),new Map()),N(this,_0x22d75f(0x281),new _0x5cf054(Se[_0x22d75f(0x146)])),N(this,_0x22d75f(0x16f),this['_status$'][_0x22d75f(0x20f)]()),N(this,'_socketReady',!0x1),N(this,_0x22d75f(0x32a)),N(this,_0x22d75f(0x38d),0x0),N(this,_0x22d75f(0x35f)),N(this,'_timeoutTimer'),(this[_0x22d75f(0x252)]=_0x4ea7f8,this[_0x22d75f(0x187)]=_0x3522ee,this['_configService']=_0x53840d,this[_0x22d75f(0x315)]=_0x5c0c96,this[_0x22d75f(0x3e5)]=_0x20db18,this[_0x22d75f(0x34b)]=_0x5ecd4c,this[_0x22d75f(0x40b)]());}get[_0x2628af(0x13a)](){var _0x20ecc3=_0x2628af;return this[_0x20ecc3(0x2e5)][_0x20ecc3(0x2a8)]();}['_listenToNetworkCondition'](){var _0x128eda=_0x2628af;this[_0x128eda(0x34b)]&&this[_0x128eda(0x29a)](this[_0x128eda(0x34b)]['online$'][_0x128eda(0x1da)](_0x12b154=>{var _0x1c8945=_0x128eda;_0x12b154&&!this[_0x1c8945(0x13a)]&&this['reconnect'](),_0x12b154||this[_0x1c8945(0x43c)]();}));}[_0x2628af(0x3ae)](){var _0x4098c7=_0x2628af;super[_0x4098c7(0x3ae)](),this[_0x4098c7(0x1d5)](),this[_0x4098c7(0x181)](),this[_0x4098c7(0x32b)](),this['_sessions'][_0x4098c7(0x3a2)](_0x4be8f9=>_0x4be8f9[_0x4098c7(0x3ae)]()),this['_sessions'][_0x4098c7(0x41d)](),this[_0x4098c7(0x281)]['complete']();}async['requireSession'](_0x252835){var _0x3f8440=_0x2628af;if(this[_0x3f8440(0x384)]['has'](_0x252835))return this[_0x3f8440(0x384)]['get'](_0x252835);this['_tryEnsureSocket']();const _0x4baa14=this[_0x3f8440(0x252)][_0x3f8440(0x3d4)](gt,_0x252835,this[_0x3f8440(0x2e5)][_0x3f8440(0x20f)]());return this[_0x3f8440(0x384)][_0x3f8440(0x2d8)](_0x252835,_0x4baa14),_0x4baa14;}['closeSession'](_0x2e4182){var _0x496caa=_0x2628af,_0x4b8718;const _0x4ce1f7=this['_sessions'][_0x496caa(0x239)](_0x2e4182);_0x4ce1f7&&(this['_sessions'][_0x496caa(0x134)](_0x2e4182),_0x4ce1f7['close']()),this[_0x496caa(0x384)][_0x496caa(0x423)]||(_0x4b8718=this[_0x496caa(0x13a)])==null||_0x4b8718[_0x496caa(0x42f)]();}[_0x2628af(0x37f)](){var _0xb5c614=_0x2628af;this[_0xb5c614(0x38d)]=0x0,this[_0xb5c614(0x1d5)](),this['_tryReconnect']();}[_0x2628af(0x1d5)](){var _0x54e9c9=_0x2628af;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x54e9c9(0x32a)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x104147=_0x2628af,_0x33e86f,_0x875bf9;const _0x9bd0a=this[_0x104147(0x1f7)][_0x104147(0x2d2)](Ss),_0x1879a3=this[_0x104147(0x1f7)]['getConfig'](K),_0x520c6a=(_0x875bf9=(_0x33e86f=_0x1879a3==null?void 0x0:_0x1879a3[_0x104147(0x3a6)])!=null?_0x33e86f:_0x9bd0a)!=null?_0x875bf9:Es,_0x21beab=await this[_0x104147(0x315)]['createSocket'](_0x520c6a);return this['_candidateSocket']=_0x21beab,_0x21beab;}async[_0x2628af(0x307)](){var _0x2bfc14=_0x2628af,_0x25d2bd,_0x141c22;try{const _0x323d30=(_0x141c22=(_0x25d2bd=this[_0x2bfc14(0x13a)])!=null?_0x25d2bd:this[_0x2bfc14(0x24f)])!=null?_0x141c22:await this[_0x2bfc14(0x416)]();if(_0x323d30){const _0x21a58a=_0x323d30[_0x2bfc14(0x2e9)];_0x323d30[_0x2bfc14(0x2e9)]=_0x31af32=>(this[_0x2bfc14(0x263)](),_0x21a58a[_0x2bfc14(0x344)](_0x323d30,[_0x31af32])),_0x323d30[_0x2bfc14(0x1ca)][_0x2bfc14(0x1da)](_0x1a891f=>this['_onMessage'](_0x323d30,_0x1a891f)),_0x323d30['error$'][_0x2bfc14(0x1d9)](_0x3a7ee9(0x1))[_0x2bfc14(0x1da)](_0xa445c2=>this[_0x2bfc14(0x187)][_0x2bfc14(0x248)](_0x2bfc14(0x30a),_0xa445c2)),_0x323d30[_0x2bfc14(0x36d)]['pipe'](_0x3a7ee9(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x323d30);}),_0x323d30[_0x2bfc14(0x336)][_0x2bfc14(0x1d9)](_0x3a7ee9(0x1))[_0x2bfc14(0x1da)](_0x140cf4=>{var _0xbce2d0=_0x2bfc14;this[_0xbce2d0(0x187)]['debug'](_0xbce2d0(0x34e),_0xbce2d0(0x361),_0x140cf4),this[_0xbce2d0(0x2f5)]();});}}catch(_0x54b129){this[_0x2bfc14(0x187)][_0x2bfc14(0x248)](_0x54b129),this['_onConnectionFailed']();}}[_0x2628af(0x15c)](_0x1ddb4b){var _0x2dcf2c=_0x2628af;this[_0x2dcf2c(0x187)][_0x2dcf2c(0x428)](_0x2dcf2c(0x34e),_0x2dcf2c(0x196)),_0x1ddb4b[_0x2dcf2c(0x2e9)]({'cmd':F[_0x2dcf2c(0x412)]}),this[_0x2dcf2c(0x263)]();}[_0x2628af(0x43c)](){var _0x2d8d03=_0x2628af;this[_0x2d8d03(0x3c6)]=!0x1,this[_0x2d8d03(0x24f)]=null,this['_status$'][_0x2d8d03(0x2c6)](Se['OFFLINE']),this[_0x2d8d03(0x2e5)]['next'](null),this[_0x2d8d03(0x181)](),this[_0x2d8d03(0x32b)]();}['_onConnectionFailed'](){var _0x21ea15=_0x2628af,_0x1f9fb9;this[_0x21ea15(0x43c)](),this['_retryCount']<((_0x1f9fb9=this[_0x21ea15(0x1f7)][_0x21ea15(0x2d2)](Rs))!=null?_0x1f9fb9:Os)?(this[_0x21ea15(0x3e5)][_0x21ea15(0x3e8)]({'id':ne[_0x21ea15(0x21b)]}),this[_0x21ea15(0x268)]()):this['_collaborationUIEventService'][_0x21ea15(0x3e8)]({'id':ne[_0x21ea15(0x2f3)]});}[_0x2628af(0x268)](){var _0x4a2743=_0x2628af,_0x25a2c7;const _0x27ebbe=this[_0x4a2743(0x38d)],_0x3a71b9=this[_0x4a2743(0x1f7)]['getConfig'](K),_0x5d0296=_0x27ebbe===0x0?0x0:((_0x25a2c7=_0x3a71b9==null?void 0x0:_0x3a71b9[_0x4a2743(0x300)])!=null?_0x25a2c7:Cs)*0x2**_0x27ebbe;this['_retryConnectingTimer']=setTimeout(()=>{var _0x39716c=_0x4a2743;clearTimeout(this['_retryConnectingTimer']),this[_0x39716c(0x32a)]=null,this[_0x39716c(0x307)]();},_0x5d0296),this['_retryCount']+=0x1;}['_onMessage'](_0x33d2d3,_0x5ac4ad){var _0x53ed4c=_0x2628af;const {cmd:_0x9da427}=_0x5ac4ad;_0x9da427===F[_0x53ed4c(0x412)]&&!this[_0x53ed4c(0x3c6)]&&(_0x33d2d3[_0x53ed4c(0x1a2)]=_0x5ac4ad['data']['memberID'],this[_0x53ed4c(0x2e5)][_0x53ed4c(0x2c6)](_0x33d2d3),this[_0x53ed4c(0x281)][_0x53ed4c(0x2c6)](Se[_0x53ed4c(0x13b)]),this['_socketReady']=!0x0,this[_0x53ed4c(0x24f)]=null),_0x9da427===F[_0x53ed4c(0x285)]&&this['_clearTimeoutTimer'](),this[_0x53ed4c(0x263)]();}[_0x2628af(0x263)](){var _0x44483d=_0x2628af,_0x3fe7d3;this[_0x44483d(0x32b)](),this[_0x44483d(0x35f)]=setTimeout(()=>this[_0x44483d(0x15b)](),(_0x3fe7d3=this[_0x44483d(0x1f7)]['getConfig'](Is))!=null?_0x3fe7d3:Ts);}[_0x2628af(0x15b)](){var _0x18f584=_0x2628af;this['_socket']['send']({'cmd':F[_0x18f584(0x285)]}),this[_0x18f584(0x3a8)]();}[_0x2628af(0x3a8)](){var _0x53e86f=_0x2628af,_0x37c9ec;this[_0x53e86f(0x37c)]=setTimeout(()=>this[_0x53e86f(0x2f5)](),(_0x37c9ec=this[_0x53e86f(0x1f7)][_0x53e86f(0x2d2)](di))!=null?_0x37c9ec:fi);}[_0x2628af(0x32b)](){var _0xd34470=_0x2628af;this[_0xd34470(0x35f)]!=null&&(clearTimeout(this[_0xd34470(0x35f)]),this[_0xd34470(0x35f)]=null);}[_0x2628af(0x181)](){var _0x3b54f9=_0x2628af;this[_0x3b54f9(0x37c)]!=null&&(clearTimeout(this[_0x3b54f9(0x37c)]),this[_0x3b54f9(0x37c)]=null);}};Le=Ys([Re(0x0,_0x4df4de(_0x1afd43)),Re(0x1,_0x5e8fca),Re(0x2,_0x58acf0),Re(0x3,mi),Re(0x4,_0x4df4de(ve)),Re(0x5,_0x3807e3(As))],Le);const J=_0x3e9b7e(_0x2628af(0x31c));function Lr(_0x103f93){return'unit-cache-'+_0x103f93;}var Ws=Object[_0x2628af(0x197)],Ks=(_0x160034,_0x3dc88d,_0x477a2c,_0x1b79b4)=>{var _0x2ad350=_0x2628af;for(var _0x44e375=_0x1b79b4>0x1?void 0x0:_0x1b79b4?Ws(_0x3dc88d,_0x477a2c):_0x3dc88d,_0x2f6f3e=_0x160034[_0x2ad350(0x2a7)]-0x1,_0x5ece38;_0x2f6f3e>=0x0;_0x2f6f3e--)(_0x5ece38=_0x160034[_0x2f6f3e])&&(_0x44e375=_0x5ece38(_0x44e375)||_0x44e375);return _0x44e375;},ut=(_0x57206e,_0x3c54bc)=>(_0x215e09,_0x30c0ab)=>_0x3c54bc(_0x215e09,_0x30c0ab,_0x57206e);function qs(_0x1b81de){var _0x1e47ca=_0x2628af;const {unitID:_0x370be6,mutations:_0xc317cd}=_0x1b81de;return{'unitId':_0x370be6,'subUnitId':_0xc317cd[0x0][_0x1e47ca(0x216)][_0x1e47ca(0x1d6)]};}let it=class{constructor(_0x4a8f31,_0xc47e06,_0x465377){var _0x549b53=_0x2628af;this[_0x549b53(0x252)]=_0x4a8f31,this[_0x549b53(0x2ff)]=_0xc47e06,this['_instanceService']=_0x465377;}[_0x2628af(0x288)](_0x226156){var _0x4569ec=_0x2628af,_0x4c11bd,_0x3213c6,_0x34153c,_0x50bba4;const _0x2f5e0c=this['_injector']['get'](_0x24ad1c),{unitId:_0xf9a55a,subUnitId:_0x5d3ab8}=qs(_0x226156),_0x252b6e=_0x2f5e0c==null?void 0x0:_0x2f5e0c['getWorkbookSelections'](_0xf9a55a)[_0x4569ec(0x2e4)](),_0x28ae77=(_0x3213c6=(_0x4c11bd=this['_instanceService'][_0x4569ec(0x1ff)](_0xf9a55a))==null?void 0x0:_0x4c11bd['getActiveSheet']())==null?void 0x0:_0x3213c6[_0x4569ec(0x1f1)]();if(_0x252b6e[_0x4569ec(0x2a7)]===0x0||!_0xf9a55a||!_0x5d3ab8)return;const _0x7e62df=[{'id':_0x58ba7a['id'],'params':{'unitId':_0xf9a55a,'subUnitId':_0x28ae77,'selections':_0x55c26a[_0x4569ec(0x1a9)](_0x252b6e)}}],_0x51914f=this[_0x4569ec(0x2ff)][_0x4569ec(0x190)](_0x226156,_0x7e62df);if(!_0x3c1f72(_0x51914f))throw _0x51914f['error'];const _0x12e329=(_0x50bba4=(_0x34153c=_0x51914f['m2Prime'][0x0])==null?void 0x0:_0x34153c[_0x4569ec(0x216)])==null?void 0x0:_0x50bba4[_0x4569ec(0x2ca)];if(Array[_0x4569ec(0x2d4)](_0x12e329)&&_0x12e329['length']){if(_0x12e329[_0x4569ec(0x2a7)]===_0x7e62df[0x0][_0x4569ec(0x216)][_0x4569ec(0x2ca)]['length']&&_0x12e329[_0x4569ec(0x2e0)]((_0x28ab3b,_0x49bbbe)=>_0xe99a70['equals'](_0x28ab3b[_0x4569ec(0x404)],_0x7e62df[0x0][_0x4569ec(0x216)]['selections'][_0x49bbbe][_0x4569ec(0x404)])))return;this['_injector']['get'](_0x2d4f52)[_0x4569ec(0x1a7)](_0x58ba7a['id'],{'unitId':_0xf9a55a,'subUnitId':_0x28ae77,'selections':_0x12e329});}}};it=Ks([ut(0x0,_0x4df4de(_0x1afd43)),ut(0x1,_0x1b0331),ut(0x2,_0x55ab5c)],it);const ht=_0x3e9b7e(_0x2628af(0x379));var Si=(_0x222fa3=>(_0x222fa3[_0x222fa3[_0x2628af(0x3e3)]=0x0]=_0x2628af(0x3e3),_0x222fa3[_0x222fa3['OTHER_CLIENTS_EDITING']=0x1]=_0x2628af(0x31e),_0x222fa3))(Si||{});const zs=new Set([_0x29f5e4['id']]);function Yt(_0x5bd04b,_0x5456c8,_0x3d0127,_0x5abb6c,_0x4751b6){var _0x15b7a0=_0x2628af,_0x478da5,_0x58d858,_0x287a78,_0x44c346;const _0x17cf02=[];for(const _0x300edd of _0x5bd04b)if(zs[_0x15b7a0(0x27f)](_0x300edd['id'])){if(_0x17cf02[_0x15b7a0(0x2a7)]>0x0)break;_0x17cf02['push'](_0x300edd);break;}else _0x17cf02['push'](_0x300edd);const _0x356704=(_0x58d858=(_0x478da5=_0x4751b6[_0x15b7a0(0x289)]())==null?void 0x0:_0x478da5[_0x15b7a0(0x221)])!=null?_0x58d858:_0x15b7a0(0x326),_0x5e0216=(_0x44c346=(_0x287a78=_0x4751b6[_0x15b7a0(0x289)]())==null?void 0x0:_0x287a78['memberID'])!=null?_0x44c346:_0x15b7a0(0x326);return{'changeset':{'unitID':_0x5456c8,'type':_0x549829(_0x3d0127[_0x15b7a0(0x2ef)](_0x5456c8)),'baseRev':_0x5abb6c[_0x15b7a0(0x23b)](_0x5456c8),'revision':0x0,'userID':_0x356704,'memberID':_0x5e0216,'mutations':_0x17cf02},'pendingMutations':_0x5bd04b[_0x15b7a0(0x223)](_0x17cf02[_0x15b7a0(0x2a7)])};}function Js(_0x1771fe,_0x17cb1e,_0x2e0af7,_0xc719c2,_0xc4304f){var _0x289f7c=_0x2628af,_0x4121df,_0x6c6a87,_0xbf6b23,_0x2dba03;const _0x424eb6=[_0x1771fe['reduce']((_0x314f69,_0x4c1bd9)=>{var _0x34531a=_0x449a,_0xfba843;const {id:_0x256ed9}=_0x314f69,{id:_0x3fc10e,type:_0x534653}=_0x4c1bd9,_0x144bc8=(_0xfba843=_0x314f69[_0x34531a(0x216)])!=null?_0xfba843:{'actions':null},_0x359558=_0x4c1bd9['params'];if(_0x256ed9&&_0x256ed9!==_0x3fc10e)throw new Error(_0x34531a(0x1c4)+_0x256ed9+_0x34531a(0x246)+_0x3fc10e+'.');return{..._0x314f69,'id':_0x3fc10e,'type':_0x534653,'params':{'unitId':_0x359558[_0x34531a(0x26e)],'textRanges':_0x359558[_0x34531a(0x381)],'actions':_0x5d6a66['compose'](_0x144bc8[_0x34531a(0x329)],_0x359558[_0x34531a(0x329)])}};},{})],_0x3de350=(_0x6c6a87=(_0x4121df=_0xc4304f[_0x289f7c(0x289)]())==null?void 0x0:_0x4121df[_0x289f7c(0x221)])!=null?_0x6c6a87:'unknown',_0x260293=(_0x2dba03=(_0xbf6b23=_0xc4304f[_0x289f7c(0x289)]())==null?void 0x0:_0xbf6b23[_0x289f7c(0x1a2)])!=null?_0x2dba03:_0x289f7c(0x326);return{'changeset':{'unitID':_0x17cb1e,'type':_0x549829(_0x2e0af7[_0x289f7c(0x2ef)](_0x17cb1e)),'baseRev':_0xc719c2[_0x289f7c(0x23b)](_0x17cb1e),'revision':0x0,'userID':_0x3de350,'memberID':_0x260293,'mutations':_0x424eb6},'pendingMutations':[]};}function Ei(_0x3f1967,_0x1599ef){var _0x218220=_0x2628af;const _0x35ea15=new _0x305c11(0x1);return setTimeout(()=>_0x35ea15['next'](_0x1599ef),_0x3f1967),_0x35ea15[_0x218220(0x20f)]()[_0x218220(0x1d9)](_0x43b524(0x1));}const Xs={'id':_0x41292f['id'],'type':_0x50f631[_0x2628af(0x137)],'params':{}};var Zs=Object[_0x2628af(0x197)],Ie=(_0x21a09c,_0x59da18,_0x50401a,_0x5a3a3b)=>{var _0x84d28=_0x2628af;for(var _0x56aa5f=_0x5a3a3b>0x1?void 0x0:_0x5a3a3b?Zs(_0x59da18,_0x50401a):_0x59da18,_0x1447ee=_0x21a09c[_0x84d28(0x2a7)]-0x1,_0x515538;_0x1447ee>=0x0;_0x1447ee--)(_0x515538=_0x21a09c[_0x1447ee])&&(_0x56aa5f=_0x515538(_0x56aa5f)||_0x56aa5f);return _0x56aa5f;},P=(_0xc6f135,_0x32e4fe)=>(_0x47ea68,_0x452a6e)=>_0x32e4fe(_0x47ea68,_0x452a6e,_0xc6f135),Ii=(_0x3163c6=>(_0x3163c6[_0x2628af(0x140)]=_0x2628af(0x1a6),_0x3163c6[_0x2628af(0x3f1)]=_0x2628af(0x435),_0x3163c6[_0x2628af(0x3b2)]=_0x2628af(0x2ea),_0x3163c6[_0x2628af(0x2dd)]='awaiting',_0x3163c6[_0x2628af(0x23c)]=_0x2628af(0x3a5),_0x3163c6[_0x2628af(0x403)]=_0x2628af(0x2ab),_0x3163c6['CONFLICT']=_0x2628af(0x3c0),_0x3163c6['OFFLINE']=_0x2628af(0x1e8),_0x3163c6))(Ii||{});const Ti=0xea60;class Te{constructor(_0x19120e,_0xba98e2,_0x21f8d8,_0x544f09,_0x18808f,_0x4f45d7,_0xb7b385,_0x325c2d,_0x495e6d){var _0x6b6513=_0x2628af;N(this,_0x6b6513(0x2f9),null),N(this,_0x6b6513(0x369),[]),(this[_0x6b6513(0x418)]=_0x19120e,this[_0x6b6513(0x282)]=_0xba98e2,this[_0x6b6513(0x431)]=_0x18808f,this[_0x6b6513(0x2d5)]=_0x4f45d7,this[_0x6b6513(0x222)]=_0xb7b385,this[_0x6b6513(0x2ad)]=_0x325c2d,this[_0x6b6513(0x1b9)]=_0x495e6d,this[_0x6b6513(0x2f9)]=_0x21f8d8,this['_pendingMutations']=_0x544f09);}[_0x2628af(0x3a3)](_0x55dce6){var _0x20ad90=_0x2628af;const _0x3548f9=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x55dce6[_0x20ad90(0x250)]>_0x3548f9+0x1?(this[_0x20ad90(0x431)][_0x20ad90(0x3ac)]({'from':_0x3548f9,'to':_0x55dce6[_0x20ad90(0x250)]-0x1}),!0x0):!0x1;}[_0x2628af(0x425)](_0x5aa5a2){var _0x40919f=_0x2628af;this[_0x40919f(0x222)]['transformUndoRedo'](this[_0x40919f(0x418)],_0x5aa5a2);}[_0x2628af(0x302)](_0x11b289){var _0x100e33=_0x2628af,_0x13203b,_0xc3c55f;(_0xc3c55f=(_0x13203b=this[_0x100e33(0x431)])[_0x100e33(0x16e)])==null||_0xc3c55f[_0x100e33(0x3aa)](_0x13203b,_0x11b289);}['_transformIMECache'](_0x20577d){var _0x1c18d3=_0x2628af,_0x454043,_0x5a7ffb;return(_0x5a7ffb=(_0x454043=this['_handler'])[_0x1c18d3(0x3c5)])==null?void 0x0:_0x5a7ffb[_0x1c18d3(0x3aa)](_0x454043,_0x20577d);}[_0x2628af(0x2dc)](_0x3e27a0){var _0x4b22ea=_0x2628af,_0xbda9c1,_0x2d8427;return(_0x2d8427=(_0xbda9c1=this[_0x4b22ea(0x431)])[_0x4b22ea(0x220)])==null?void 0x0:_0x2d8427[_0x4b22ea(0x3aa)](_0xbda9c1,_0x3e27a0);}[_0x2628af(0x34d)](_0x1a3d13){var _0x3b2089=_0x2628af,_0x2fb2ab,_0x1dc442,_0x37d2ea;return(_0x37d2ea=(_0x1dc442=(_0x2fb2ab=this[_0x3b2089(0x431)])[_0x3b2089(0x2ba)])==null?void 0x0:_0x1dc442[_0x3b2089(0x3aa)](_0x2fb2ab,_0x1a3d13))!=null?_0x37d2ea:_0x1a3d13;}[_0x2628af(0x143)](_0xa67eb4){var _0x49fa2c=_0x2628af,_0x107ea6,_0x5569bd,_0x2dd5d6;return(_0x2dd5d6=(_0x5569bd=(_0x107ea6=this[_0x49fa2c(0x431)])[_0x49fa2c(0x439)])==null?void 0x0:_0x5569bd[_0x49fa2c(0x3aa)](_0x107ea6,_0xa67eb4))!=null?_0x2dd5d6:_0xa67eb4;}[_0x2628af(0x3e0)](_0x23865b){var _0x494e70=_0x2628af,_0x26acb6,_0x54c26d;if(this[_0x494e70(0x282)]===Z[_0x494e70(0x41b)]){const {unitID:_0x51e82b,mutations:_0x461ae6,memberID:_0x120d75}=_0x23865b,_0x2d0107=_0x461ae6[0x0]['params'][_0x494e70(0x381)];Array[_0x494e70(0x2d4)](_0x2d0107)&&_0x2d0107[_0x494e70(0x2a7)]>0x0&&((_0x54c26d=(_0x26acb6=this[_0x494e70(0x431)])[_0x494e70(0x3ed)])==null||_0x54c26d[_0x494e70(0x3aa)](_0x26acb6,{'unitID':_0x51e82b,'memberID':_0x120d75,'textRanges':_0x2d0107}));}}[_0x2628af(0x2f2)](){var _0x34e224=_0x2628af,_0x2b4abd;(_0x2b4abd=this[_0x34e224(0x1b9)])==null||_0x2b4abd[_0x34e224(0x258)](this[_0x34e224(0x418)],this['type'],this[_0x34e224(0x2f9)],this['_pendingMutations']);}[_0x2628af(0x2ec)](){var _0x2b3c6d=_0x2628af;return this['_revisionService'][_0x2b3c6d(0x23b)](this['unitID']);}[_0x2628af(0x26c)](){var _0x33e6b3=_0x2628af;this[_0x33e6b3(0x2ad)][_0x33e6b3(0x1ae)](this[_0x33e6b3(0x418)]);}[_0x2628af(0x198)](_0x3925d6){var _0x2652da=_0x2628af,_0x3c707c;let _0x992741=this[_0x2652da(0x34d)](_0x3925d6);_0x992741=this[_0x2652da(0x143)](_0x992741);const _0x492c18=_0xadef7b(_0x992741[_0x2652da(0x290)],this[_0x2652da(0x2d5)],{'fromCollab':!0x0});if(!_0x492c18[_0x2652da(0x3db)])throw _0x492c18[_0x2652da(0x248)]instanceof Error?_0x492c18[_0x2652da(0x248)]:new Error((_0x3c707c=_0x492c18[_0x2652da(0x248)])!=null?_0x3c707c:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x992741),this[_0x2652da(0x2dc)](_0x992741),this[_0x2652da(0x425)](_0x3925d6),this[_0x2652da(0x302)](_0x992741),this['_syncEditingCollabCursor'](_0x992741),this[_0x2652da(0x26c)]();}}let ye=class extends Te{constructor(_0x1be7d2,_0x284da9,_0x4c921d,_0x505559,_0x57fa30,_0xc73d4c,_0x2af8ed,_0x3ae9ac,_0x53a945,_0x19c42e){var _0x105b6e=_0x2628af;super(_0x1be7d2,_0x284da9,null,[],_0x4c921d,_0x2af8ed,_0xc73d4c,_0x505559,_0x19c42e),N(this,_0x105b6e(0x165),_0x105b6e(0x435)),(this[_0x105b6e(0x252)]=_0x57fa30,this[_0x105b6e(0x187)]=_0x3ae9ac,this['_transformService']=_0x53a945,this[_0x105b6e(0x172)]=_0x19c42e);}[_0x2628af(0x376)](_0x531740){var _0x3eabd9=_0x2628af;const _0x2e44c5=this[_0x3eabd9(0x252)][_0x3eabd9(0x3d4)](re,this[_0x3eabd9(0x418)],this[_0x3eabd9(0x282)],[_0x531740],this['_handler']);return _0x2e44c5[_0x3eabd9(0x144)](),_0x2e44c5[_0x3eabd9(0x2f2)](),_0x2e44c5;}[_0x2628af(0x23e)](_0x33eeee){var _0x5e549d=_0x2628af;if(this[_0x5e549d(0x3a3)](_0x33eeee))return this['_injector'][_0x5e549d(0x3d4)](Q,this[_0x5e549d(0x418)],this[_0x5e549d(0x282)],null,[],null,[_0x33eeee],this[_0x5e549d(0x431)]);try{const _0x2ec16f=this[_0x5e549d(0x2ff)][_0x5e549d(0x190)](_0x33eeee,[Xs]);if(_0x3c1f72(_0x2ec16f)){const {c1Prime:_0x50e187}=_0x2ec16f;return this[_0x5e549d(0x198)](_0x50e187),this;}throw _0x2ec16f[_0x5e549d(0x248)];}catch(_0x51c327){return this[_0x5e549d(0x187)][_0x5e549d(0x248)](_0x51c327),this[_0x5e549d(0x402)](!0x1);}}[_0x2628af(0x402)](_0x4601fb){var _0x534af6=_0x2628af;return this['_injector'][_0x534af6(0x3d4)](le,this[_0x534af6(0x418)],this['type'],null,[],this[_0x534af6(0x431)],_0x4601fb);}[_0x2628af(0x1c7)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2628af(0x270)](){var _0xc95a8c=_0x2628af;throw new Error(_0xc95a8c(0x226));}[_0x2628af(0x209)](){return this;}['toggleOffline'](){var _0xbdefde=_0x2628af;return this['_injector'][_0xbdefde(0x3d4)](ue,this[_0xbdefde(0x418)],this[_0xbdefde(0x282)],null,[],this[_0xbdefde(0x431)]);}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x21a)](){var _0x12c98e=_0x2628af;throw new Error(_0x12c98e(0x338));}[_0x2628af(0x2bc)](){var _0x5afbce=_0x2628af;const _0x191159=this[_0x5afbce(0x2ad)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x5afbce(0x431)][_0x5afbce(0x3ac)]({'from':_0x191159,'to':0x0}),this[_0x5afbce(0x252)][_0x5afbce(0x3d4)](Q,this[_0x5afbce(0x418)],this[_0x5afbce(0x282)],null,[],null,[],this[_0x5afbce(0x431)]);}};ye=Ie([P(0x3,_0x4df4de(_0x29e7be)),P(0x4,_0x4df4de(_0x1afd43)),P(0x5,_0x1eda14),P(0x6,_0x2d4f52),P(0x7,_0x5e8fca),P(0x8,_0x1b0331),P(0x9,_0x3807e3(J))],ye);let re=class extends Te{constructor(_0x1016d2,_0x45577b,_0x5e3edd,_0x30cb0d,_0x4c4986,_0x17772d,_0x35fb4d,_0x910669,_0x5d1f92,_0x839380,_0x2e2d99,_0x2c2c01,_0x3f2e2b,_0x199413){var _0x4fc7ee=_0x2628af;super(_0x1016d2,_0x45577b,null,_0x5e3edd,_0x30cb0d,_0x5d1f92,_0x3f2e2b,_0x17772d,_0x199413),N(this,_0x4fc7ee(0x165),_0x4fc7ee(0x2ea)),N(this,_0x4fc7ee(0x1f3),null),N(this,_0x4fc7ee(0x40c),null),(this['_injector']=_0x4c4986,this[_0x4fc7ee(0x184)]=_0x35fb4d,this['_logService']=_0x910669,this[_0x4fc7ee(0x1f7)]=_0x839380,this[_0x4fc7ee(0x2ff)]=_0x2e2d99,this['_univerInstanceService']=_0x2c2c01);}['appendMutation'](_0x3f7be7){var _0xad4523=_0x2628af;return this[_0xad4523(0x369)][_0xad4523(0x3eb)](_0x3f7be7),this[_0xad4523(0x2f2)](),this;}[_0x2628af(0x23e)](_0x194727){var _0x21b574=_0x2628af;if(this[_0x21b574(0x3a3)](_0x194727))return this[_0x21b574(0x29d)](),this[_0x21b574(0x252)]['createInstance'](Q,this['unitID'],this[_0x21b574(0x282)],null,this[_0x21b574(0x369)],null,[_0x194727],this[_0x21b574(0x431)]);try{const _0x5d34aa=this[_0x21b574(0x2ff)]['transformMutationsWithChangeset'](_0x194727,this[_0x21b574(0x369)]);if(_0x3c1f72(_0x5d34aa)){const {c1Prime:_0x4012d2,m2Prime:_0x54286f}=_0x5d34aa;this[_0x21b574(0x198)](_0x4012d2);const _0x33d6f6=this[_0x21b574(0x252)][_0x21b574(0x3d4)](re,this[_0x21b574(0x418)],this[_0x21b574(0x282)],_0x54286f,this[_0x21b574(0x431)]);this['_clearScheduledTask']();const _0x39bdbb=new Date()[_0x21b574(0x1aa)](),_0x242c6b=this[_0x21b574(0x1f3)]?Math[_0x21b574(0x18c)](this[_0x21b574(0x1f3)]-_0x39bdbb,0x0):this[_0x21b574(0x195)]();return _0x33d6f6[_0x21b574(0x144)](_0x242c6b),_0x33d6f6;}throw _0x5d34aa[_0x21b574(0x248)];}catch(_0x1c9bda){return this[_0x21b574(0x187)][_0x21b574(0x248)](_0x1c9bda),this[_0x21b574(0x402)](!0x1);}}[_0x2628af(0x1c7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2628af(0x270)](){var _0x27499c=_0x2628af;throw new Error(_0x27499c(0x142));}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){var _0x449313=_0x2628af;return this[_0x449313(0x29d)](),this[_0x449313(0x252)][_0x449313(0x3d4)](ue,this[_0x449313(0x418)],this[_0x449313(0x282)],null,this[_0x449313(0x369)],this[_0x449313(0x431)]);}[_0x2628af(0x22c)](){return this;}['_schedule'](_0x26f35c){var _0x41bebc=_0x2628af;const _0x410b11=_0x26f35c!=null?_0x26f35c:this[_0x41bebc(0x195)]();this[_0x41bebc(0x1f3)]=new Date()[_0x41bebc(0x1aa)]()+_0x410b11,this[_0x41bebc(0x40c)]=setTimeout(()=>{var _0x5ce23c=_0x41bebc;this[_0x5ce23c(0x29d)]();let _0x3202c3=null;switch(this[_0x5ce23c(0x282)]){case Z[_0x5ce23c(0x2bd)]:{_0x3202c3=Yt(this['_pendingMutations'],this[_0x5ce23c(0x418)],this[_0x5ce23c(0x433)],this[_0x5ce23c(0x2ad)],this['_memberService']);break;}case Z[_0x5ce23c(0x41b)]:{this[_0x5ce23c(0x369)][_0x5ce23c(0x2e0)](_0x43bd10=>_0x43bd10['id']===_0x3a996d['id'])?_0x3202c3=Js(this[_0x5ce23c(0x369)],this[_0x5ce23c(0x418)],this[_0x5ce23c(0x433)],this['_revisionService'],this[_0x5ce23c(0x184)]):_0x3202c3=Yt(this[_0x5ce23c(0x369)],this[_0x5ce23c(0x418)],this[_0x5ce23c(0x433)],this[_0x5ce23c(0x2ad)],this[_0x5ce23c(0x184)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5ce23c(0x282)]+_0x5ce23c(0x214));}const {changeset:_0x2e051d,pendingMutations:_0xe6760e}=_0x3202c3;this['_handler'][_0x5ce23c(0x30d)](_0x2e051d);const _0x5a9479=_0xe6760e[_0x5ce23c(0x2a7)]?this[_0x5ce23c(0x252)]['createInstance'](ae,this[_0x5ce23c(0x418)],this['type'],_0x2e051d,_0xe6760e,this[_0x5ce23c(0x431)],void 0x0):this[_0x5ce23c(0x252)][_0x5ce23c(0x3d4)](_e,this[_0x5ce23c(0x418)],this[_0x5ce23c(0x282)],_0x2e051d,this[_0x5ce23c(0x431)]);_0x5a9479[_0x5ce23c(0x2f2)](),this[_0x5ce23c(0x431)][_0x5ce23c(0x15a)](this,_0x5a9479);},_0x410b11);}[_0x2628af(0x195)](){var _0x10c4f9=_0x2628af,_0x7d47a6;const _0x53f50c=this[_0x10c4f9(0x1f7)][_0x10c4f9(0x2d2)](K);return(_0x7d47a6=_0x53f50c==null?void 0x0:_0x53f50c[_0x10c4f9(0x188)])!=null?_0x7d47a6:gs;}[_0x2628af(0x21a)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2628af(0x29d)](){var _0x38743f=_0x2628af;this[_0x38743f(0x40c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x38743f(0x40c)]=null);}['_onConflict'](_0x21a768){var _0x44f486=_0x2628af;return this['_clearScheduledTask'](),this['_injector'][_0x44f486(0x3d4)](le,this['unitID'],this[_0x44f486(0x282)],null,this[_0x44f486(0x369)],this[_0x44f486(0x431)],_0x21a768);}};re=Ie([P(0x4,_0x4df4de(_0x1afd43)),P(0x5,_0x4df4de(_0x29e7be)),P(0x6,_0x4df4de(Pe)),P(0x7,_0x5e8fca),P(0x8,_0x2d4f52),P(0x9,_0x58acf0),P(0xa,_0x1b0331),P(0xb,_0x55ab5c),P(0xc,_0x1eda14),P(0xd,_0x3807e3(J))],re);let _e=class extends Te{constructor(_0x89934a,_0x36893f,_0x23eea5,_0x12eb9e,_0x19f517,_0x2d3299,_0x437aa7,_0x59cdd6,_0x648f30,_0x44ad57,_0xb02172){var _0x563bdb=_0x2628af;super(_0x89934a,_0x36893f,_0x23eea5,[],_0x12eb9e,_0x437aa7,_0x44ad57,_0x2d3299,_0xb02172),N(this,_0x563bdb(0x165),_0x563bdb(0x163)),N(this,_0x563bdb(0x3c8),0x0),N(this,_0x563bdb(0x3ef)),N(this,'_sender'),(this['_injector']=_0x19f517,this['_logService']=_0x59cdd6,this[_0x563bdb(0x2ff)]=_0x648f30);}['appendMutation'](_0x2d667a){var _0x4ca8fb=_0x2628af;this[_0x4ca8fb(0x29d)]();const _0x1a17df=this[_0x4ca8fb(0x252)][_0x4ca8fb(0x3d4)](ae,this['unitID'],this[_0x4ca8fb(0x282)],this['_awaitingChangeset'],[_0x2d667a],this[_0x4ca8fb(0x431)],this[_0x4ca8fb(0x3ef)]);return _0x1a17df['_updateLocalCache'](),_0x1a17df;}[_0x2628af(0x23e)](_0x1dc54b){var _0x5de984=_0x2628af;if(this['_checkMissing'](_0x1dc54b))return this['_clearScheduledTask'](),this[_0x5de984(0x252)][_0x5de984(0x3d4)](Q,this['unitID'],this['type'],this[_0x5de984(0x2f9)],[],null,[_0x1dc54b],this[_0x5de984(0x431)]);try{const _0x4c7fca=this[_0x5de984(0x2ff)][_0x5de984(0x278)]([_0x1dc54b],[this[_0x5de984(0x2f9)]],!0x1);if(_0x281523(_0x4c7fca)){const {c1Prime:_0x117448,c2Prime:_0x5e2040}=_0x4c7fca;this['_executeRemoteChangeset'](_0x117448[0x0]),_0x5e2040[0x0][_0x5de984(0x303)]=this[_0x5de984(0x2ec)](),this[_0x5de984(0x29d)]();const _0x5c6ccf=this[_0x5de984(0x252)][_0x5de984(0x3d4)](_e,this[_0x5de984(0x418)],this[_0x5de984(0x282)],_0x5e2040[0x0],this[_0x5de984(0x431)]);return _0x5c6ccf[_0x5de984(0x2f2)](),_0x5c6ccf;}return this['_onConflict'](!0x1);}catch(_0x57bf2c){return this['_logService']['error'](_0x57bf2c),this[_0x5de984(0x402)](!0x1);}}[_0x2628af(0x1c7)](_0x159dc6){var _0xc5183c=_0x2628af;this['_clearScheduledTask']();const _0x40b60b=this[_0xc5183c(0x2ad)][_0xc5183c(0x23b)](this['unitID']);if(_0x159dc6[_0xc5183c(0x250)]<_0x40b60b-0x1)return this;if(this[_0xc5183c(0x3a3)](_0x159dc6))return this[_0xc5183c(0x252)][_0xc5183c(0x3d4)](Q,this[_0xc5183c(0x418)],this[_0xc5183c(0x282)],null,[],this[_0xc5183c(0x2f9)],[],this[_0xc5183c(0x431)]);this[_0xc5183c(0x26c)]();const _0xe5060f=this[_0xc5183c(0x252)][_0xc5183c(0x3d4)](ye,this['unitID'],this[_0xc5183c(0x282)],this[_0xc5183c(0x431)]);return _0xe5060f[_0xc5183c(0x2f2)](),_0xe5060f;}[_0x2628af(0x270)](_0x35cea8){var _0x509cb8=_0x2628af;return this[_0x509cb8(0x402)](!!(_0x35cea8!=null&&_0x35cea8[_0x509cb8(0x320)]));}[_0x2628af(0x209)](_0x510788){var _0x50abbb=_0x2628af;return this['_resendTimeout']>Ti?this[_0x50abbb(0x1b7)]():(this[_0x50abbb(0x3ef)]=Ei(this[_0x50abbb(0x3c8)],{'timeout':this[_0x50abbb(0x3c8)],'reqId':_0x510788[_0x50abbb(0x434)]}),this[_0x50abbb(0x371)]=this[_0x50abbb(0x3ef)][_0x50abbb(0x1da)](({reqId:_0x90a456,timeout:_0x561fd6})=>{this['_resendWithTimeout'](_0x90a456,_0x561fd6);}),this);}['toggleOffline'](){var _0x10e30b=_0x2628af;return this['_clearScheduledTask'](),this[_0x10e30b(0x252)][_0x10e30b(0x3d4)](ue,this[_0x10e30b(0x418)],this['type'],this['_awaitingChangeset'],[],this[_0x10e30b(0x431)]);}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x21a)](){var _0x1557f1=_0x2628af;this['_handler'][_0x1557f1(0x30d)](this[_0x1557f1(0x2f9)]);}['_onConflict'](_0x2e28f9){var _0x36e9dc=_0x2628af;return this[_0x36e9dc(0x29d)](),this[_0x36e9dc(0x252)][_0x36e9dc(0x3d4)](le,this[_0x36e9dc(0x418)],this['type'],this[_0x36e9dc(0x2f9)],[],this[_0x36e9dc(0x431)],_0x2e28f9);}[_0x2628af(0x17e)](_0x376ee6,_0x15fb3d){var _0x4ad675=_0x2628af,_0x7c9a2c;_0x376ee6===((_0x7c9a2c=this[_0x4ad675(0x2f9)])==null?void 0x0:_0x7c9a2c[_0x4ad675(0x434)])&&(this[_0x4ad675(0x21a)](),this[_0x4ad675(0x3c8)]=_0x15fb3d===0x0?0x3e8:_0x15fb3d*0x2);}[_0x2628af(0x29d)](){var _0x54ea0a=_0x2628af,_0x10d240;(_0x10d240=this['_sender'])==null||_0x10d240[_0x54ea0a(0x2da)](),this[_0x54ea0a(0x3c8)]=0x0;}};_e=Ie([P(0x4,_0x4df4de(_0x1afd43)),P(0x5,_0x4df4de(_0x29e7be)),P(0x6,_0x2d4f52),P(0x7,_0x5e8fca),P(0x8,_0x1b0331),P(0x9,_0x1eda14),P(0xa,_0x3807e3(J))],_e);function _0x449a(_0x59ad00,_0x214d47){var _0x5204ea=_0x5204();return _0x449a=function(_0x449a78,_0x367532){_0x449a78=_0x449a78-0x134;var _0x26552b=_0x5204ea[_0x449a78];return _0x26552b;},_0x449a(_0x59ad00,_0x214d47);}let ae=class extends Te{constructor(_0x493c0c,_0x4eccb8,_0x417a23,_0x793069,_0xeaf8ad,_0x4b8a7e,_0x47459e,_0x5ca28e,_0x56d9da,_0x1af466,_0xfb78f5,_0x55c525,_0x285d99){var _0x3dbf8e=_0x2628af;super(_0x493c0c,_0x4eccb8,_0x417a23,_0x793069,_0xeaf8ad,_0x56d9da,_0x55c525,_0x5ca28e,_0x285d99),N(this,'status',_0x3dbf8e(0x3a5)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x3dbf8e(0x371)),(this['_injector']=_0x47459e,this[_0x3dbf8e(0x187)]=_0x1af466,this[_0x3dbf8e(0x2ff)]=_0xfb78f5,this[_0x3dbf8e(0x172)]=_0x285d99,_0x4b8a7e&&(this['_resendTimer']=_0x4b8a7e,this['_sender']=this[_0x3dbf8e(0x3ef)][_0x3dbf8e(0x1da)](({reqId:_0x4b660e,timeout:_0x4fdafc})=>{var _0x11facf=_0x3dbf8e;this[_0x11facf(0x17e)](_0x4b660e,_0x4fdafc);})));}[_0x2628af(0x376)](_0x4556c0){var _0x406fc9=_0x2628af;return this[_0x406fc9(0x369)][_0x406fc9(0x3eb)](_0x4556c0),this;}[_0x2628af(0x23e)](_0x447981){var _0x73c206=_0x2628af;if(this[_0x73c206(0x3a3)](_0x447981))return this['_clearScheduledTask'](),this[_0x73c206(0x252)][_0x73c206(0x3d4)](Q,this[_0x73c206(0x418)],this[_0x73c206(0x282)],this[_0x73c206(0x2f9)],this[_0x73c206(0x369)],null,[_0x447981],this[_0x73c206(0x431)]);try{const _0x3a46a9=this[_0x73c206(0x2ff)]['transformChangesets']([_0x447981],[this[_0x73c206(0x2f9)]],!0x1);if(_0x281523(_0x3a46a9)){const {c1Prime:_0x255431,c2Prime:_0x2e5835}=_0x3a46a9,_0x2a8f0a=this[_0x73c206(0x2ff)][_0x73c206(0x190)](_0x255431[0x0],this[_0x73c206(0x369)]);if(_0x3c1f72(_0x2a8f0a)){const {c1Prime:_0x5aa6b7,m2Prime:_0x535cf1}=_0x2a8f0a;return this[_0x73c206(0x198)](_0x5aa6b7),_0x2e5835[0x0][_0x73c206(0x303)]=this[_0x73c206(0x2ec)](),this[_0x73c206(0x29d)](),this[_0x73c206(0x252)][_0x73c206(0x3d4)](ae,this['unitID'],this[_0x73c206(0x282)],_0x2e5835[0x0],_0x535cf1,this[_0x73c206(0x431)],void 0x0);}throw _0x2a8f0a[_0x73c206(0x248)];}throw _0x3a46a9[_0x73c206(0x248)];}catch(_0x439d67){return this[_0x73c206(0x187)][_0x73c206(0x248)](_0x439d67),this['_onConflict'](!0x1);}}[_0x2628af(0x1c7)](_0x47c48a){var _0x4c5311=_0x2628af;if(this['_clearScheduledTask'](),this[_0x4c5311(0x3a3)](_0x47c48a))return this['_injector']['createInstance'](Q,this['unitID'],this['type'],null,this[_0x4c5311(0x369)],this[_0x4c5311(0x2f9)],[],this[_0x4c5311(0x431)]);this[_0x4c5311(0x26c)]();const _0x147263=this[_0x4c5311(0x252)][_0x4c5311(0x3d4)](re,this[_0x4c5311(0x418)],this[_0x4c5311(0x282)],this['_pendingMutations'],this[_0x4c5311(0x431)]);return _0x147263[_0x4c5311(0x144)](),_0x147263[_0x4c5311(0x2f2)](),_0x147263;}['onRemoteRej'](_0x4d2c14){var _0x4609a4=_0x2628af;return this[_0x4609a4(0x402)](!!(_0x4d2c14!=null&&_0x4d2c14[_0x4609a4(0x320)]));}['onRemoteRetry'](_0x172f5a){var _0x2e1a6d=_0x2628af;return this[_0x2e1a6d(0x3c8)]>Ti?this[_0x2e1a6d(0x1b7)]():(this[_0x2e1a6d(0x3ef)]=Ei(this[_0x2e1a6d(0x3c8)],{'timeout':this[_0x2e1a6d(0x3c8)],'reqId':_0x172f5a[_0x2e1a6d(0x434)]}),this[_0x2e1a6d(0x371)]=this[_0x2e1a6d(0x3ef)]['subscribe'](({reqId:_0x4a3cba,timeout:_0x46a914})=>{var _0x5648f7=_0x2e1a6d;this[_0x5648f7(0x17e)](_0x4a3cba,_0x46a914);}),this);}[_0x2628af(0x1b7)](){var _0x496991=_0x2628af;return this[_0x496991(0x29d)](),this[_0x496991(0x252)][_0x496991(0x3d4)](ue,this['unitID'],this[_0x496991(0x282)],this[_0x496991(0x2f9)],this[_0x496991(0x369)],this[_0x496991(0x431)]);}['toggleOnline'](){return this;}[_0x2628af(0x21a)](){var _0x3e6c2c=_0x2628af;this[_0x3e6c2c(0x431)][_0x3e6c2c(0x30d)](this[_0x3e6c2c(0x2f9)]);}['_onConflict'](_0x1b43a7){var _0x460357=_0x2628af;return this[_0x460357(0x29d)](),this[_0x460357(0x252)]['createInstance'](le,this[_0x460357(0x418)],this[_0x460357(0x282)],null,this['_pendingMutations'],this[_0x460357(0x431)],_0x1b43a7);}[_0x2628af(0x17e)](_0xad7b21,_0x12bdef){var _0x4c3400=_0x2628af,_0x4be7b3;_0xad7b21===((_0x4be7b3=this[_0x4c3400(0x2f9)])==null?void 0x0:_0x4be7b3['reqId'])&&(this[_0x4c3400(0x21a)](),this[_0x4c3400(0x3c8)]=_0x12bdef===0x0?0x3e8:_0x12bdef*0x2);}[_0x2628af(0x29d)](){var _0x478dde=_0x2628af,_0x4bf90e;(_0x4bf90e=this[_0x478dde(0x371)])==null||_0x4bf90e['unsubscribe'](),this[_0x478dde(0x3c8)]=0x0;}};ae=Ie([P(0x6,_0x4df4de(_0x1afd43)),P(0x7,_0x4df4de(_0x29e7be)),P(0x8,_0x2d4f52),P(0x9,_0x5e8fca),P(0xa,_0x1b0331),P(0xb,_0x1eda14),P(0xc,_0x3807e3(J))],ae);let le=class extends Te{constructor(_0x36f67d,_0x25c0fc,_0x49fd27,_0x2aaccf,_0x51f461,_0x40a1bc=!0x1,_0x2c86ca,_0x33b5d2,_0x1202b4,_0x292910,_0x2844ab,_0x11e3dc,_0x3ee6e2){var _0x4d6334=_0x2628af;super(_0x36f67d,_0x25c0fc,_0x49fd27,_0x2aaccf,_0x51f461,_0x33b5d2,_0x1202b4,_0x292910,_0x3ee6e2),N(this,_0x4d6334(0x165),_0x4d6334(0x3c0)),(this[_0x4d6334(0x3df)]=_0x40a1bc,this[_0x4d6334(0x1b8)]=_0x2c86ca,this[_0x4d6334(0x2f8)]=_0x2844ab,this['_collaborationUIEventService']=_0x11e3dc,this[_0x4d6334(0x172)]=_0x3ee6e2,this[_0x4d6334(0x1d4)](),this[_0x4d6334(0x351)](),this['_disableEditing']());}[_0x2628af(0x376)](){return this;}[_0x2628af(0x23e)](){return this;}[_0x2628af(0x1c7)](){return this;}['onRemoteRej'](){return this;}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){return this;}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x21a)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2628af(0x351)](){var _0x5dad68=_0x2628af,_0x434708;(_0x434708=this[_0x5dad68(0x1b9)])==null||_0x434708['updateOfflineData'](this['unitID'],this[_0x5dad68(0x282)],null,[]);}[_0x2628af(0x1d4)](){var _0x199b86=_0x2628af;this['_isPermissionRej']?this[_0x199b86(0x3e5)][_0x199b86(0x3e8)]({'id':ne[_0x199b86(0x3d7)]}):this['_collaborationUIEventService'][_0x199b86(0x3e8)]({'id':ne[_0x199b86(0x2ed)]});}['_disableEditing'](){var _0x1ebe78=_0x2628af;this['_permissionService'][_0x1ebe78(0x2a5)](new _0x524ab0(this[_0x1ebe78(0x418)])['id'],!0x1);}};le=Ie([P(0x6,_0x4df4de(_0x1305f2)),P(0x7,_0x2d4f52),P(0x8,_0x1eda14),P(0x9,_0x4df4de(_0x29e7be)),P(0xa,_0x4df4de(_0x26c096)),P(0xb,_0x4df4de(ve)),P(0xc,_0x3807e3(J))],le);let ue=class extends Te{constructor(_0x37633b,_0x3bc328,_0x596d1b,_0x5b812,_0x5893f5,_0x4de0a6,_0x4e587d,_0x323342,_0x5e9c8b,_0x268d30){var _0x3e2f9c=_0x2628af;super(_0x37633b,_0x3bc328,_0x596d1b,_0x5b812,_0x5893f5,_0x323342,_0x5e9c8b,_0x4e587d,_0x268d30),N(this,_0x3e2f9c(0x165),_0x3e2f9c(0x1e8)),this[_0x3e2f9c(0x252)]=_0x4de0a6;}[_0x2628af(0x376)](_0x520af7){var _0x523dfc=_0x2628af;return this[_0x523dfc(0x369)][_0x523dfc(0x3eb)](_0x520af7),this[_0x523dfc(0x2f2)](),this;}[_0x2628af(0x23e)](_0x4ba70f){var _0x2b3238=_0x2628af;throw new Error(_0x2b3238(0x149));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2628af(0x270)](){var _0x18c69b=_0x2628af;throw new Error(_0x18c69b(0x2de));}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){return this;}['toggleOnline'](){var _0x1b7c35=_0x2628af;const {_injector:_0x3693f7,_pendingMutations:_0x2261dc,_awaitingChangeset:_0x120a56,unitID:_0x3f803b,_handler:_0x1a0bc2,type:_0x5bbb8a}=this,_0x265c88=Ci(_0x3693f7,_0x3f803b,_0x5bbb8a,_0x120a56,_0x2261dc,_0x1a0bc2);return _0x265c88 instanceof re?_0x265c88[_0x1b7c35(0x144)]():(_0x265c88 instanceof ae||_0x265c88 instanceof _e)&&_0x265c88[_0x1b7c35(0x21a)](),_0x265c88;}[_0x2628af(0x21a)](){var _0x301d9a=_0x2628af;throw new Error(_0x301d9a(0x1e9));}};ue=Ie([P(0x5,_0x4df4de(_0x1afd43)),P(0x6,_0x4df4de(_0x29e7be)),P(0x7,_0x2d4f52),P(0x8,_0x1eda14),P(0x9,_0x3807e3(J))],ue);let Q=class extends Te{constructor(_0xda976b,_0x39de42,_0x19533e,_0x321079,_0x39cd57,_0x233223,_0x27444d,_0x5e3974,_0x3a304e,_0x3eb992,_0xa21d1f,_0x898fa6,_0x1a16ad,_0x2858b8){var _0x5b9cd2=_0x2628af;super(_0xda976b,_0x39de42,_0x19533e,_0x321079,_0x27444d,_0xa21d1f,_0x898fa6,_0x3a304e,_0x2858b8),N(this,_0x5b9cd2(0x165),_0x5b9cd2(0x2ab)),(this['_acknowledgedAwaitingChangeset']=_0x39cd57,this['_queuedRemoteChangesets']=_0x233223,this[_0x5b9cd2(0x252)]=_0x5e3974,this[_0x5b9cd2(0x187)]=_0x3eb992,this['_transformService']=_0x1a16ad,this[_0x5b9cd2(0x172)]=_0x2858b8);}[_0x2628af(0x1c3)](_0x4b559c){var _0x2d8e62=_0x2628af;try{const _0x3c0b3b=[..._0x4b559c,...this[_0x2d8e62(0x314)]],_0x2efde1=[this[_0x2d8e62(0x2f9)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x198938=>!!_0x198938);let _0x1c8cb3,_0x3b2ab1;if(_0x2efde1[_0x2d8e62(0x2a7)]){const _0x59ba35=this[_0x2d8e62(0x2ff)]['transformChangesets'](_0x3c0b3b,_0x2efde1,!0x1);if(!_0x281523(_0x59ba35))throw _0x59ba35[_0x2d8e62(0x248)];_0x1c8cb3=_0x59ba35['c1Prime'],_0x3b2ab1=_0x59ba35[_0x2d8e62(0x3d5)];}else _0x1c8cb3=_0x3c0b3b,_0x3b2ab1=[];let _0x171107=this['_pendingMutations'];_0x1c8cb3[_0x2d8e62(0x3a2)](_0x49dde5=>{var _0x390899=_0x2d8e62;let _0x4ba21e;if(_0x171107['length']){const _0x38c21c=this[_0x390899(0x2ff)][_0x390899(0x190)](_0x49dde5,_0x171107);if(!_0x3c1f72(_0x38c21c))throw _0x38c21c['error'];_0x4ba21e=_0x38c21c[_0x390899(0x340)],_0x171107=_0x38c21c[_0x390899(0x3f7)];}else _0x4ba21e=_0x49dde5;this[_0x390899(0x198)](_0x4ba21e);}),this[_0x2d8e62(0x421)]&&this[_0x2d8e62(0x26c)](),this[_0x2d8e62(0x2f9)]&&_0x3b2ab1['length']&&(_0x3b2ab1[0x0][_0x2d8e62(0x303)]=this[_0x2d8e62(0x2ec)]());let _0x75bb1a;if(this[_0x2d8e62(0x2f9)]&&_0x171107[_0x2d8e62(0x2a7)]!==0x0)_0x75bb1a=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](ae,this[_0x2d8e62(0x418)],this['type'],_0x3b2ab1[0x0],_0x171107,this[_0x2d8e62(0x431)],void 0x0);else{if(this['_awaitingChangeset']&&_0x171107['length']===0x0)_0x3b2ab1[0x0][_0x2d8e62(0x303)]=this[_0x2d8e62(0x2ec)](),_0x75bb1a=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](_e,this[_0x2d8e62(0x418)],this[_0x2d8e62(0x282)],_0x3b2ab1[0x0],this['_handler']);else{if(_0x171107['length']!==0x0){const _0x19fe03=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](re,this[_0x2d8e62(0x418)],this['type'],_0x171107,this['_handler']);_0x19fe03[_0x2d8e62(0x144)](),_0x75bb1a=_0x19fe03;}else _0x75bb1a=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](ye,this[_0x2d8e62(0x418)],this[_0x2d8e62(0x282)],this[_0x2d8e62(0x431)]);}}return _0x75bb1a[_0x2d8e62(0x2f2)](),_0x75bb1a;}catch(_0x4a88a7){return this[_0x2d8e62(0x187)][_0x2d8e62(0x248)](_0x2d8e62(0x33e),_0x2d8e62(0x31b),_0x4a88a7),this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](le,this['unitID'],this[_0x2d8e62(0x282)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2d8e62(0x431)],!0x1);}}[_0x2628af(0x21a)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2628af(0x376)](_0x150b19){var _0x425838=_0x2628af;return this[_0x425838(0x369)][_0x425838(0x3eb)](_0x150b19),this;}[_0x2628af(0x23e)](_0x2d3997){var _0x6b0a2d=_0x2628af;return this['_queuedRemoteChangesets'][_0x6b0a2d(0x3eb)](_0x2d3997),this;}[_0x2628af(0x1c7)](_0x34e52f){var _0x5ba1d0=_0x2628af;if(this[_0x5ba1d0(0x2f9)])return this[_0x5ba1d0(0x421)]=this[_0x5ba1d0(0x2f9)],this[_0x5ba1d0(0x2f9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x5daccf){var _0x1fbdd3=_0x2628af;return this[_0x1fbdd3(0x402)](!!(_0x5daccf!=null&&_0x5daccf['isPermissionRej']));}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){var _0x553e47=_0x2628af;return this[_0x553e47(0x252)][_0x553e47(0x3d4)](ue,this[_0x553e47(0x418)],this['type'],this[_0x553e47(0x2f9)],this[_0x553e47(0x369)],this[_0x553e47(0x431)]);}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x402)](_0x1dad7f){var _0x4a0035=_0x2628af;return this[_0x4a0035(0x252)][_0x4a0035(0x3d4)](le,this[_0x4a0035(0x418)],this[_0x4a0035(0x282)],this[_0x4a0035(0x2f9)],this[_0x4a0035(0x369)],this[_0x4a0035(0x431)],_0x1dad7f);}};Q=Ie([P(0x7,_0x4df4de(_0x1afd43)),P(0x8,_0x4df4de(_0x29e7be)),P(0x9,_0x5e8fca),P(0xa,_0x2d4f52),P(0xb,_0x1eda14),P(0xc,_0x1b0331),P(0xd,_0x3807e3(J))],Q);function Ci(_0x405cd7,_0x5ce238,_0x3f69cc,_0x59d96a,_0x1e8929,_0x194f75){var _0x3caae7=_0x2628af;return _0x59d96a&&_0x1e8929[_0x3caae7(0x2a7)]?_0x405cd7[_0x3caae7(0x3d4)](ae,_0x5ce238,_0x3f69cc,_0x59d96a,_0x1e8929,_0x194f75,void 0x0):_0x59d96a?_0x405cd7[_0x3caae7(0x3d4)](_e,_0x5ce238,_0x3f69cc,_0x59d96a,_0x194f75):_0x1e8929[_0x3caae7(0x2a7)]?_0x405cd7[_0x3caae7(0x3d4)](re,_0x5ce238,_0x3f69cc,_0x1e8929,_0x194f75):_0x405cd7[_0x3caae7(0x3d4)](ye,_0x5ce238,_0x3f69cc,_0x194f75);}var Qs=Object[_0x2628af(0x197)],wt=(_0x5d4fe2,_0x59b786,_0x1c2f74,_0x6837b1)=>{for(var _0x189bb7=_0x6837b1>0x1?void 0x0:_0x6837b1?Qs(_0x59b786,_0x1c2f74):_0x59b786,_0x1cb848=_0x5d4fe2['length']-0x1,_0x253285;_0x1cb848>=0x0;_0x1cb848--)(_0x253285=_0x5d4fe2[_0x1cb848])&&(_0x189bb7=_0x253285(_0x189bb7)||_0x189bb7);return _0x189bb7;},H=(_0x5bbf85,_0x398101)=>(_0xfb2a42,_0x1a0a5e)=>_0x398101(_0xfb2a42,_0x1a0a5e,_0x5bbf85);let st=class extends _0x99efd0{constructor(_0x2858c5,_0x2a733c,_0x2f6df7,_0x1fab7a,_0x3b0a0b,_0x31b480,_0x16df4f,_0x5d3784,_0x1feaba,_0x21529f,_0x276763,_0x18463f,_0x26e551){var _0x30fa0c=_0x2628af;super(),N(this,_0x30fa0c(0x390),new _0x5cf054(null)),N(this,_0x30fa0c(0x3fc),this[_0x30fa0c(0x390)][_0x30fa0c(0x20f)]()),N(this,_0x30fa0c(0x378)),N(this,'_collaborationPaused',!0x1),N(this,_0x30fa0c(0x205),''),N(this,'_changesetReqId',0x0),N(this,_0x30fa0c(0x16f),this[_0x30fa0c(0x3fc)][_0x30fa0c(0x1d9)](_0xeacfc9(_0x4ddbc9=>_0x4ddbc9?_0x4ddbc9[_0x30fa0c(0x165)]:Ii['OFFLINE']),_0x51e9ff(0x1))),N(this,_0x30fa0c(0x23d),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x30fa0c(0x418)]=_0x2858c5,this[_0x30fa0c(0x35b)]=_0x2a733c,this[_0x30fa0c(0x1e0)]=_0x2f6df7,this[_0x30fa0c(0x252)]=_0x1fab7a,this[_0x30fa0c(0x232)]=_0x3b0a0b,this['_localeService']=_0x31b480,this[_0x30fa0c(0x2ad)]=_0x16df4f,this[_0x30fa0c(0x136)]=_0x5d3784,this['_logService']=_0x1feaba,this['_commandService']=_0x21529f,this['_permissionService']=_0x276763,this[_0x30fa0c(0x2cb)]=_0x18463f,this['_localCacheService']=_0x26e551);}get[_0x2628af(0x2fc)](){return this['_state'];}async['init'](){var _0x5d08d7=_0x2628af;if(this[_0x5d08d7(0x2fc)])throw new Error(_0x5d08d7(0x422));await this[_0x5d08d7(0x37a)]();}[_0x2628af(0x298)](){var _0x59af02=_0x2628af;return this[_0x59af02(0x3b4)]=!0x0,_0x4bf02b(()=>{var _0x368315=_0x59af02;this['_collaborationPaused']=!0x1,this[_0x368315(0x208)]();});}[_0x2628af(0x1d1)](_0x5f49aa){var _0x5f32fc=_0x2628af;this[_0x5f32fc(0x1ac)](_0x5f49aa);}['_updateState'](_0x20ceee){var _0x27f5cf=_0x2628af;this[_0x27f5cf(0x378)]=_0x20ceee,this[_0x27f5cf(0x390)]['next'](_0x20ceee);}async[_0x2628af(0x37a)](){var _0xea4471=_0x2628af,_0x491ab2;this[_0xea4471(0x41f)](await this[_0xea4471(0x19a)]()),this['_singleActiveUnitService']&&((_0x491ab2=this[_0xea4471(0x2cb)])==null||_0x491ab2[_0xea4471(0x1c2)](this[_0xea4471(0x418)]),this[_0xea4471(0x29a)](this['_singleActiveUnitService'][_0xea4471(0x24b)](this[_0xea4471(0x418)])['subscribe'](_0x5b3dfc=>{var _0x5e058c=_0xea4471;this[_0x5e058c(0x187)]['debug'](_0x5e058c(0x207),'editing\x20status\x20changed\x20to',_0x5b3dfc),_0x5b3dfc===Si[_0x5e058c(0x31e)]?(this[_0x5e058c(0x136)][_0x5e058c(0x3e8)]({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x5e058c(0x2a5)](new _0x524ab0(this[_0x5e058c(0x418)])['id'],!0x1),this[_0x5e058c(0x1b8)][_0x5e058c(0x1f0)](!0x1)):(this[_0x5e058c(0x1b8)][_0x5e058c(0x2a5)](new _0x524ab0(this[_0x5e058c(0x418)])['id'],!0x0),this[_0x5e058c(0x1b8)][_0x5e058c(0x1f0)](!0x0));})));let _0x5be4ac=!0x1;return this[_0xea4471(0x29a)](this['session'][_0xea4471(0x277)][_0xea4471(0x1da)](_0x448b68=>{var _0x1a809f=_0xea4471;_0x448b68===Se[_0x1a809f(0x13b)]?this[_0x1a809f(0x2ee)](_0x5be4ac):_0x448b68===Se[_0x1a809f(0x3d3)]&&(_0x5be4ac=!0x0,this[_0x1a809f(0x2e1)]());})),this[_0xea4471(0x29a)](this[_0xea4471(0x35b)][_0xea4471(0x2fd)][_0xea4471(0x1da)](_0x4f8775=>{var _0xdcf34c=_0xea4471;try{switch(_0x4f8775[_0xdcf34c(0x1ce)]){case _0x543fc4[_0xdcf34c(0x16b)]:{this['_onRemoteChangeset'](_0x2cea3f(_0x4f8775[_0xdcf34c(0x391)]));break;}case _0x543fc4['CHANGESET_ACK']:{this['_onRemoteACK'](_0x4f8775[_0xdcf34c(0x391)]);break;}case _0x543fc4[_0xdcf34c(0x332)]:{this[_0xdcf34c(0x256)]();break;}case _0x543fc4['CHANGESET_SHOULD_RETRY']:{this[_0xdcf34c(0x429)](_0x4f8775[_0xdcf34c(0x391)]);break;}case _0x543fc4[_0xdcf34c(0x287)]:{this['_onFetchMissResult'](_0x4f8775[_0xdcf34c(0x391)]['changesets']['map'](_0x383380=>_0x2cea3f(_0x383380)));break;}case _0x543fc4[_0xdcf34c(0x3b8)]:{this[_0xdcf34c(0x256)]({'isPermissionRej':!0x0});break;}case _0x543fc4[_0xdcf34c(0x170)]:break;}}catch(_0x199f2e){throw console[_0xdcf34c(0x248)](_0xdcf34c(0x41e),_0x199f2e),_0x199f2e;}})),this[_0xea4471(0x378)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x2628af(0x274)](){var _0x403f07=_0x2628af;if(this[_0x403f07(0x23d)])throw new Error(_0x403f07(0x2d1));this[_0x403f07(0x23d)]=!0x0;}['_onLocalMutation'](_0xeaa9d4){var _0x1d3ab0=_0x2628af;this[_0x1d3ab0(0x274)](),this['_updateState'](this[_0x1d3ab0(0x378)][_0x1d3ab0(0x376)](_0xeaa9d4)),this[_0x1d3ab0(0x3e1)]();}[_0x2628af(0x2b8)](_0x111c4c){var _0x2e90c6=_0x2628af;if(!(_0x111c4c[_0x2e90c6(0x250)]<=this[_0x2e90c6(0x2ad)][_0x2e90c6(0x23b)](this[_0x2e90c6(0x418)]))){if(this[_0x2e90c6(0x3b4)]){this[_0x2e90c6(0x3ce)]['push'](_0x111c4c);return;}this[_0x2e90c6(0x43e)](_0x111c4c);}}[_0x2628af(0x208)](){var _0x4970d6=_0x2628af;this[_0x4970d6(0x3ce)][_0x4970d6(0x3a2)](_0x4a412d=>this['_applyRemoteChangeset'](_0x4a412d)),this[_0x4970d6(0x3ce)]=[];}[_0x2628af(0x43e)](_0x2d4d98){var _0x8a392e=_0x2628af;const _0x4cc114=this[_0x8a392e(0x232)]['interceptor'][_0x8a392e(0x1e7)](this[_0x8a392e(0x232)]['interceptor'][_0x8a392e(0x3fa)]()['COMPRESS_MUTATION_APPLY'])(_0x2d4d98[_0x8a392e(0x290)],null)||_0x2d4d98['mutations'],_0x5effe7={..._0x2d4d98,'mutations':_0x4cc114};this[_0x8a392e(0x274)](),this['_updateState'](this[_0x8a392e(0x378)]['onRemoteChangeset'](_0x5effe7)),this[_0x8a392e(0x3e1)]();}[_0x2628af(0x1fc)](_0x1f5c38){var _0x5f43f3=_0x2628af;this['_lockTransition'](),this['_updateState'](this[_0x5f43f3(0x378)][_0x5f43f3(0x1c7)](_0x1f5c38)),this[_0x5f43f3(0x3e1)]();}['_onRemoteRejected'](_0x51011a){var _0xa5c6b6=_0x2628af;this[_0xa5c6b6(0x274)](),this['_updateState'](this[_0xa5c6b6(0x378)]['onRemoteRej'](_0x51011a)),this['_unlockTransition']();}[_0x2628af(0x429)](_0xca753){var _0x3eda1c=_0x2628af;this[_0x3eda1c(0x274)](),this[_0x3eda1c(0x41f)](this[_0x3eda1c(0x378)][_0x3eda1c(0x209)](_0xca753)),this['_unlockTransition']();}[_0x2628af(0x279)](_0x264218){var _0x5f3c98=_0x2628af;if(!(this[_0x5f3c98(0x378)]instanceof Q))throw new TypeError(_0x5f3c98(0x3f8));const _0x1c3056=_0x264218[_0x5f3c98(0x2df)](_0x1a3d0a=>{var _0x579f4a=_0x5f3c98;const _0xa859c8=this[_0x579f4a(0x232)][_0x579f4a(0x3d6)][_0x579f4a(0x1e7)](this[_0x579f4a(0x232)][_0x579f4a(0x3d6)][_0x579f4a(0x3fa)]()[_0x579f4a(0x427)])(_0x1a3d0a[_0x579f4a(0x290)],null)||_0x1a3d0a['mutations'];return{..._0x1a3d0a,'mutations':_0xa859c8};});this[_0x5f3c98(0x274)](),this['_updateState'](this[_0x5f3c98(0x378)][_0x5f3c98(0x1c3)](_0x1c3056)),this[_0x5f3c98(0x3e1)]();}[_0x2628af(0x2e1)](){var _0x549617=_0x2628af;this[_0x549617(0x274)](),this[_0x549617(0x41f)](this[_0x549617(0x378)][_0x549617(0x1b7)]()),this[_0x549617(0x3e1)]();}['_toggleOnline'](_0x28b559=!0x1){var _0x3db641=_0x2628af;this[_0x3db641(0x274)](),this[_0x3db641(0x41f)](this[_0x3db641(0x378)][_0x3db641(0x22c)]()),this[_0x3db641(0x3e1)]();const _0x21ffb2=this[_0x3db641(0x378)];_0x28b559&&_0x21ffb2 instanceof ye&&(this[_0x3db641(0x274)](),this[_0x3db641(0x41f)](_0x21ffb2[_0x3db641(0x2bc)]()),this[_0x3db641(0x3e1)]());}async[_0x2628af(0x19a)](){return new Promise(_0x4b0256=>{var _0x577dc0=_0x449a;this[_0x577dc0(0x35b)][_0x577dc0(0x277)][_0x577dc0(0x1d9)](_0x43b524(0x1))[_0x577dc0(0x1da)](async _0x3455b9=>{var _0x10a2e3=_0x577dc0;_0x4b0256(await this[_0x10a2e3(0x225)](_0x3455b9===Se[_0x10a2e3(0x13b)]));});});}['_createHandler'](){var _0x594f50=_0x2628af;const _0x456ec7=this[_0x594f50(0x418)];return{'onStateChange':(_0x3d5c33,_0x422651)=>{var _0x4d07e5=_0x594f50;if(_0x3d5c33!==this[_0x4d07e5(0x378)])throw new Error(_0x4d07e5(0x317)+_0x3d5c33[_0x4d07e5(0x165)]+_0x4d07e5(0x154)+_0x422651[_0x4d07e5(0x165)]+_0x4d07e5(0x243)+this[_0x4d07e5(0x378)][_0x4d07e5(0x165)]);this[_0x4d07e5(0x41f)](_0x422651);},'onSendChangeset':_0x117e87=>{var _0x31e5f3=_0x594f50;_0x117e87[_0x31e5f3(0x17a)]||(_0x117e87[_0x31e5f3(0x17a)]=this[_0x31e5f3(0x205)],_0x117e87[_0x31e5f3(0x434)]=++this[_0x31e5f3(0x1b3)]);const _0x34f91b={'eventID':_0x543fc4['SUBMIT_CHANGESET'],'data':{'unitID':_0x117e87['unitID'],'unitType':this[_0x31e5f3(0x1e0)],'changeset':_0x117e87,'memberID':this[_0x31e5f3(0x35b)][_0x31e5f3(0x2b6)]()}};this[_0x31e5f3(0x35b)][_0x31e5f3(0x2e9)](_0x34f91b,this['unitID']);},'onMissingChangesets':({from:_0x358516,to:_0x1b947e})=>{var _0x29e859=_0x594f50;this[_0x29e859(0x187)][_0x29e859(0x428)](_0x29e859(0x207),'fetching\x20missing\x20changesets\x20from\x20'+_0x358516+_0x29e859(0x16a)+_0x1b947e);const _0x57d62e={'eventID':_0x543fc4['FETCH_MISSING'],'data':{'unitID':_0x456ec7,'unitType':this[_0x29e859(0x1e0)],'from':_0x358516,'to':_0x1b947e}};this[_0x29e859(0x35b)]['send'](_0x57d62e,this[_0x29e859(0x418)]);}};}async[_0x2628af(0x225)](_0x357f43){var _0x46b0ac=_0x2628af,_0xa0ff1e,_0x5bd0d2,_0x4d613d;const _0x5df249=await((_0xa0ff1e=this['_localCacheService'])==null?void 0x0:_0xa0ff1e[_0x46b0ac(0x2fa)](this[_0x46b0ac(0x418)])),_0x33eb7a=(_0x5bd0d2=_0x5df249==null?void 0x0:_0x5df249[_0x46b0ac(0x290)])!=null?_0x5bd0d2:[],_0x3e6d4a=(_0x4d613d=_0x5df249==null?void 0x0:_0x5df249[_0x46b0ac(0x1ea)])!=null?_0x4d613d:null,_0x5dde75=!!(_0x3e6d4a!=null&&_0x3e6d4a['sid'])&&!!(_0x3e6d4a!=null&&_0x3e6d4a['reqId']);this[_0x46b0ac(0x205)]=_0x5dde75?_0x3e6d4a[_0x46b0ac(0x17a)]:_0x43009f(),this[_0x46b0ac(0x1b3)]=_0x5dde75?_0x3e6d4a[_0x46b0ac(0x434)]:0x0;const _0x48c91a=this[_0x46b0ac(0x418)];try{this[_0x46b0ac(0x259)](_0x3e6d4a,_0x33eb7a);}catch(_0xac3eea){this[_0x46b0ac(0x187)][_0x46b0ac(0x248)](_0xac3eea);}const _0x20eebf=this[_0x46b0ac(0x273)]();if(_0x357f43){const _0x123d8c=Ci(this[_0x46b0ac(0x252)],_0x48c91a,this[_0x46b0ac(0x1e0)],_0x3e6d4a,_0x33eb7a,_0x20eebf);return _0x123d8c instanceof re?_0x123d8c[_0x46b0ac(0x144)]():(_0x123d8c instanceof ae||_0x123d8c instanceof _e)&&_0x123d8c[_0x46b0ac(0x21a)](),_0x123d8c;}return this['_injector'][_0x46b0ac(0x3d4)](ue,_0x48c91a,this[_0x46b0ac(0x1e0)],_0x3e6d4a,_0x33eb7a,_0x20eebf);}[_0x2628af(0x259)](_0x19a76f,_0x4e8b37){var _0x465530=_0x2628af,_0x1c7fd1,_0x421c5f;const _0x482e9c=this[_0x465530(0x232)][_0x465530(0x3d6)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x465530(0x3fa)]()['COMPRESS_MUTATION_APPLY']);(_0x1c7fd1=_0x482e9c((_0x19a76f==null?void 0x0:_0x19a76f['mutations'])||[],null))==null||_0x1c7fd1[_0x465530(0x3a2)](_0x598bb3=>this[_0x465530(0x2d5)][_0x465530(0x1a7)](_0x598bb3['id'],_0x598bb3['params'])),(_0x421c5f=_0x482e9c(_0x4e8b37||[],null))==null||_0x421c5f[_0x465530(0x3a2)](_0x27e6a3=>this['_commandService'][_0x465530(0x1a7)](_0x27e6a3['id'],_0x27e6a3['params']));}};st=wt([H(0x3,_0x4df4de(_0x1afd43)),H(0x4,_0x4df4de(_0x3a81f4)),H(0x5,_0x4df4de(_0x26c096)),H(0x6,_0x4df4de(_0x29e7be)),H(0x7,_0x4df4de(ve)),H(0x8,_0x5e8fca),H(0x9,_0x2d4f52),H(0xa,_0x1305f2),H(0xb,_0x3807e3(ht)),H(0xc,_0x3807e3(J))],st);let St=class extends st{constructor(_0x5053bf,_0x535976,_0x5e8ccd,_0x56d5c7,_0x56ed17,_0x5718c1,_0x4a579e,_0x24fced,_0x18a24a,_0x13b9f6,_0x15061a,_0x269dde,_0x29ad5b){var _0x1d2213=_0x2628af;super(_0x5053bf,_0x5e8ccd,_0x535976,_0x56d5c7,_0x56ed17,_0x5718c1,_0x4a579e,_0x24fced,_0x18a24a,_0x13b9f6,_0x15061a,_0x269dde,_0x29ad5b),N(this,_0x1d2213(0x1a8),null),(this[_0x1d2213(0x418)]=_0x5053bf,this['type']=_0x535976);}[_0x2628af(0x22f)](_0x292209){this['_handlerCallback']=_0x292209;}[_0x2628af(0x3ae)](){var _0x525ba3=_0x2628af;this[_0x525ba3(0x1a8)]=null,super[_0x525ba3(0x3ae)]();}['_createHandler'](){var _0x3730ef=_0x2628af;const _0x5c7042=super[_0x3730ef(0x273)]();return _0x5c7042['onTransformIME']=_0x2855f4=>{var _0x50ded6=_0x3730ef,_0xec807c,_0x26a542;return(_0x26a542=(_0xec807c=this['_handlerCallback'])==null?void 0x0:_0xec807c[_0x50ded6(0x3c5)])==null?void 0x0:_0x26a542['call'](_0xec807c,_0x2855f4);},_0x5c7042[_0x3730ef(0x220)]=_0x538775=>{var _0x1fae7d=_0x3730ef,_0x2c12d1,_0xeb721;return(_0xeb721=(_0x2c12d1=this['_handlerCallback'])==null?void 0x0:_0x2c12d1[_0x1fae7d(0x220)])==null?void 0x0:_0xeb721[_0x1fae7d(0x3aa)](_0x2c12d1,_0x538775);},_0x5c7042[_0x3730ef(0x16e)]=_0x9dcf44=>{var _0x157c99=_0x3730ef,_0xbf0ac9,_0x246b4e;return(_0x246b4e=(_0xbf0ac9=this[_0x157c99(0x1a8)])==null?void 0x0:_0xbf0ac9[_0x157c99(0x16e)])==null?void 0x0:_0x246b4e[_0x157c99(0x3aa)](_0xbf0ac9,_0x9dcf44);},_0x5c7042[_0x3730ef(0x3ed)]=_0x387b1a=>{var _0x1e09c4=_0x3730ef,_0x387a09,_0x4f19d8;return(_0x4f19d8=(_0x387a09=this['_handlerCallback'])==null?void 0x0:_0x387a09[_0x1e09c4(0x3ed)])==null?void 0x0:_0x4f19d8[_0x1e09c4(0x3aa)](_0x387a09,_0x387b1a);},_0x5c7042[_0x3730ef(0x2ba)]=_0x36aa1e=>{var _0x2a7a1e=_0x3730ef,_0x319d41,_0x1640ed,_0x5cf0d2;if(!((_0x319d41=this[_0x2a7a1e(0x1a8)])!=null&&_0x319d41[_0x2a7a1e(0x2ba)]))throw new Error(_0x2a7a1e(0x22e));return(_0x5cf0d2=(_0x1640ed=this['_handlerCallback'])==null?void 0x0:_0x1640ed[_0x2a7a1e(0x2ba)])==null?void 0x0:_0x5cf0d2[_0x2a7a1e(0x3aa)](_0x1640ed,_0x36aa1e);},_0x5c7042['onTransformRemoteChangesetByStateCache']=_0x478090=>{var _0x48db8d=_0x3730ef,_0x33d6a9,_0x29fea2,_0x295b0d;if(!((_0x33d6a9=this['_handlerCallback'])!=null&&_0x33d6a9[_0x48db8d(0x439)]))throw new Error(_0x48db8d(0x19d));return(_0x295b0d=(_0x29fea2=this[_0x48db8d(0x1a8)])==null?void 0x0:_0x29fea2[_0x48db8d(0x439)])==null?void 0x0:_0x295b0d['call'](_0x29fea2,_0x478090);},_0x5c7042;}async[_0x2628af(0x37a)](){var _0x5416d7=_0x2628af;const _0x4f9988=await super[_0x5416d7(0x37a)]();return this['disposeWithMe'](this[_0x5416d7(0x2d5)][_0x5416d7(0x34c)]((_0x4eccaf,_0x5492a5)=>{var _0x353148=_0x5416d7;if(_0x4eccaf[_0x353148(0x282)]!==_0x50f631['MUTATION']||_0x5492a5!=null&&_0x5492a5[_0x353148(0x27d)]||_0x5492a5!=null&&_0x5492a5[_0x353148(0x3b9)]||_0x4eccaf['id']===_0x3a996d['id'])return;const _0x465c4c=_0x4eccaf['params'];if((_0x465c4c==null?void 0x0:_0x465c4c[_0x353148(0x26e)])!==this[_0x353148(0x418)])return;const _0x16332f=_0x4eccaf,_0x2b5dc1=this['_compressMutationService'][_0x353148(0x3d6)][_0x353148(0x1e7)](this[_0x353148(0x232)][_0x353148(0x3d6)][_0x353148(0x3fa)]()[_0x353148(0x3c9)])([_0x16332f],null)||[_0x16332f];this[_0x353148(0x1ac)](_0x2b5dc1[0x0]);})),_0x4f9988;}};St=wt([H(0x3,_0x4df4de(_0x1afd43)),H(0x4,_0x4df4de(_0x3a81f4)),H(0x5,_0x4df4de(_0x26c096)),H(0x6,_0x4df4de(_0x29e7be)),H(0x7,_0x4df4de(ve)),H(0x8,_0x5e8fca),H(0x9,_0x2d4f52),H(0xa,_0x1305f2),H(0xb,_0x3807e3(ht)),H(0xc,_0x3807e3(J))],St);let Et=class extends st{constructor(_0x5aee8d,_0x1e9c5e,_0x3ab2cb,_0x1d8b87,_0x54e2d5,_0x2916a5,_0x2d8cfa,_0x1a8be1,_0x1eccf4,_0x2a6b23,_0x50ebf5,_0x1e1c62,_0x39e724,_0x49d3ff){var _0xa99fbb=_0x2628af;super(_0x5aee8d,_0x3ab2cb,_0x1e9c5e,_0x1d8b87,_0x54e2d5,_0x2916a5,_0x2d8cfa,_0x1eccf4,_0x2a6b23,_0x50ebf5,_0x1e1c62,_0x39e724,_0x49d3ff),this[_0xa99fbb(0x418)]=_0x5aee8d,this[_0xa99fbb(0x282)]=_0x1e9c5e,this[_0xa99fbb(0x32e)]=_0x1a8be1;}[_0x2628af(0x273)](){var _0x99cc82=_0x2628af;const _0x22d2d3=super[_0x99cc82(0x273)]();return _0x22d2d3[_0x99cc82(0x16e)]=_0x13365f=>this[_0x99cc82(0x32e)][_0x99cc82(0x288)](_0x13365f),_0x22d2d3;}async['_init'](){var _0x5b6361=_0x2628af;const _0x1933c1=await super[_0x5b6361(0x37a)]();return this[_0x5b6361(0x29a)](this['_commandService']['onCommandExecuted']((_0x1250a9,_0x250af7)=>{var _0x1fc5f8=_0x5b6361;if(_0x1250a9[_0x1fc5f8(0x282)]!==_0x50f631['MUTATION']||_0x250af7!=null&&_0x250af7[_0x1fc5f8(0x27d)]||_0x250af7!=null&&_0x250af7[_0x1fc5f8(0x3b9)])return;const _0x2c9764=_0x1250a9[_0x1fc5f8(0x216)];if((_0x2c9764==null?void 0x0:_0x2c9764['unitId'])!==this['unitID'])return;const _0xf90436=_0x1250a9,_0x23a401=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x1fc5f8(0x3d6)][_0x1fc5f8(0x3fa)]()[_0x1fc5f8(0x3c9)])([_0xf90436],null)||[_0xf90436];this[_0x1fc5f8(0x1ac)](_0x23a401[0x0]);})),_0x1933c1;}};Et=wt([H(0x3,_0x4df4de(_0x1afd43)),H(0x4,_0x4df4de(_0x3a81f4)),H(0x5,_0x4df4de(_0x26c096)),H(0x6,_0x4df4de(_0x29e7be)),H(0x7,_0x4df4de(it)),H(0x8,_0x4df4de(ve)),H(0x9,_0x5e8fca),H(0xa,_0x2d4f52),H(0xb,_0x1305f2),H(0xc,_0x3807e3(ht)),H(0xd,_0x3807e3(J))],Et);var en=Object[_0x2628af(0x197)],tn=(_0x18d218,_0x1a2d66,_0x20e99e,_0x59aad7)=>{var _0x4c5d7b=_0x2628af;for(var _0x1e89bd=_0x59aad7>0x1?void 0x0:_0x59aad7?en(_0x1a2d66,_0x20e99e):_0x1a2d66,_0xe14d4c=_0x18d218[_0x4c5d7b(0x2a7)]-0x1,_0x397c1a;_0xe14d4c>=0x0;_0xe14d4c--)(_0x397c1a=_0x18d218[_0xe14d4c])&&(_0x1e89bd=_0x397c1a(_0x1e89bd)||_0x1e89bd);return _0x1e89bd;},Be=(_0xa0fa65,_0x278ddc)=>(_0x3db3b6,_0x38e763)=>_0x278ddc(_0x3db3b6,_0x38e763,_0xa0fa65);let nt=class extends _0x99efd0{constructor(_0x281ae4,_0x3fafca,_0xe19db8,_0x529d95){var _0x1ab968=_0x2628af,_0x1b6bb1;super(),N(this,'_entities',new Map()),N(this,_0x1ab968(0x325),new _0x563997()),N(this,_0x1ab968(0x398),this[_0x1ab968(0x325)][_0x1ab968(0x20f)]()),(this['_injector']=_0x281ae4,this['_collabSessionService']=_0x3fafca,this['_configService']=_0xe19db8,this[_0x1ab968(0x433)]=_0x529d95,((_0x1b6bb1=this[_0x1ab968(0x1f7)]['getConfig'](K))==null?void 0x0:_0x1b6bb1[_0x1ab968(0x2c7)])!==!0x1&&this[_0x1ab968(0x37a)]());}[_0x2628af(0x3ae)](){var _0x2efc61=_0x2628af;super[_0x2efc61(0x3ae)](),this['_entities']['forEach'](_0x3a3a8b=>_0x3a3a8b[_0x2efc61(0x3ae)]()),this[_0x2efc61(0x432)]['clear']();}[_0x2628af(0x383)](_0x1bf18b){var _0x598d54=_0x2628af,_0x17267e;return(_0x17267e=this['_entities'][_0x598d54(0x239)](_0x1bf18b))!=null?_0x17267e:null;}[_0x2628af(0x200)](_0x19dd75){var _0x5a0269=_0x2628af;const _0x29aeac=this[_0x5a0269(0x383)](_0x19dd75);return _0x29aeac?_0x29d352(_0x29aeac):this[_0x5a0269(0x325)]['pipe'](_0x5f2c59(_0x2dd8d5=>_0x2dd8d5[_0x5a0269(0x418)]===_0x19dd75));}[_0x2628af(0x3cf)](_0x53e2b2){var _0x1b2036=_0x2628af;return _0x356759(this[_0x1b2036(0x200)](_0x53e2b2)['pipe'](_0x5b0392(()=>{})));}['_init'](){var _0x40b6e0=_0x2628af;this[_0x40b6e0(0x433)]['getTypeOfUnitAdded$'](_0x423cd4[_0x40b6e0(0x2bd)])['pipe'](_0x198bbe(this[_0x40b6e0(0x327)]),_0x312361(0x10))['subscribe'](async _0x4d4b64=>{var _0x60ea9e=_0x40b6e0;const _0x7de6c3=_0x4d4b64[_0x60ea9e(0x266)](),_0x37b408=await this['_startCollaboration'](_0x7de6c3,Z[_0x60ea9e(0x2bd)]);this['_entities'][_0x60ea9e(0x2d8)](_0x7de6c3,_0x37b408);}),this[_0x40b6e0(0x433)][_0x40b6e0(0x22a)](_0x423cd4[_0x40b6e0(0x41b)])[_0x40b6e0(0x1d9)](_0x198bbe(this[_0x40b6e0(0x327)]),_0x312361(0x10))[_0x40b6e0(0x1d9)](_0x5f2c59(_0x78344a=>!_0x78344a[_0x40b6e0(0x266)]()['startsWith']('__')))['subscribe'](async _0x19ad73=>{var _0x2907b9=_0x40b6e0;const _0x49565f=_0x19ad73[_0x2907b9(0x266)](),_0x39366c=await this[_0x2907b9(0x35d)](_0x49565f,Z[_0x2907b9(0x41b)]);this[_0x2907b9(0x432)]['set'](_0x49565f,_0x39366c);}),_0x23d50f(this[_0x40b6e0(0x433)][_0x40b6e0(0x247)](_0x423cd4[_0x40b6e0(0x2bd)]),this[_0x40b6e0(0x433)][_0x40b6e0(0x247)](_0x423cd4[_0x40b6e0(0x41b)]))[_0x40b6e0(0x1d9)](_0x198bbe(this[_0x40b6e0(0x327)]))[_0x40b6e0(0x1da)](_0x59e1f9=>{var _0x2823e9=_0x40b6e0;const _0x2bdb14=_0x59e1f9[_0x2823e9(0x266)](),_0x4bbb41=this[_0x2823e9(0x432)][_0x2823e9(0x239)](_0x2bdb14);_0x4bbb41&&(_0x4bbb41[_0x2823e9(0x3ae)](),this[_0x2823e9(0x432)]['delete'](_0x2bdb14));});}async[_0x2628af(0x35d)](_0x3d72f2,_0x46e740){var _0x4dd6e2=_0x2628af;const _0x54586d=await this[_0x4dd6e2(0x394)][_0x4dd6e2(0x38f)](_0x3d72f2),_0xf5c71=this[_0x4dd6e2(0x252)][_0x4dd6e2(0x3d4)](this[_0x4dd6e2(0x138)](_0x46e740),_0x3d72f2,_0x46e740,_0x54586d);return await _0xf5c71[_0x4dd6e2(0x42c)](),this[_0x4dd6e2(0x325)][_0x4dd6e2(0x2c6)](_0xf5c71),_0xf5c71;}[_0x2628af(0x138)](_0x5790b1){var _0xfbc02b=_0x2628af;switch(_0x5790b1){case Z[_0xfbc02b(0x41b)]:return St;case Z[_0xfbc02b(0x2bd)]:return Et;default:throw new Error(_0xfbc02b(0x25a)+_0x5790b1);}}};function _0x5204(){var _0x1f79de=['FileId','[CollaborationSessionService]:\x20socket\x20error','_replaceFileID','withCredentials','onSendChangeset','change$','CHANGESET_REVISION_CONFILICT','joinEvent','/universer-api/uniscript','EMAIL_VERIFY_CODE_MISMATCH','/universer-api/snapshot/','_queuedRemoteChangesets','_socketService','uniscriptRunEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','buffer','/collaborator','_getDownloadEndpointURL','failed\x20to\x20apply\x20missed\x20changesets!','collaboration-client.local-cache-service','indexOf','OTHER_CLIENTS_EDITING','image/jpeg','isPermissionRej','getLatestCsReqIdBySid','/universer-api/comb','findIndex','title','_entityInit$','unknown','dispose$','Decryptor','actions','_retryConnectingTimer','_clearHeartbeatTimer','uploadFileServerUrl','APPLY_PERMISSION_DENIED','_sheetTransformSelectionsService','INGEST','splice','_nDataBytes','CHANGESET_REJ','UNKNOWN_CMD','downloadEndpointUrl','addImageSourceCache','close$','reverse','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','kdf','_roomMembers','_clearRedo','LOGIN_URL_KEY','url','[FetchMissState]','AES','c1Prime','avatar','7024864edwmBF','fetchMissingChangesets','apply','POST','BASE64','ALREADY_EXISTS','saveSnapshot','list','HMAC','_networkConditionService','onCommandExecuted','_transformRemoteChangesetByIMECache','[CollaborationSessionService]','socketService','_removeRoom','_clearLocalCache','includes','getFocusedUnit','_xformMode','repeat','initWorkbookPermissionChange','_transformStack','APPLY_REVISION_CONFILICT','_scheduleCollaborationTimeoutTimer','defineProperty','session','abs','_startCollaboration','csShouldRetryEvent','_sendHeartbeatTimer','add','socket\x20close','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','NOT_FOUND','origin','&source=','disableLocalCache','People','format','_pendingMutations','_telemetryInfo','_updateStatus','_doCryptBlock','open$','setConfig','onload','override','_sender','byteOffset','Pkcs7','Encryptor','default','appendMutation','ENSURE_SNAPSHOT_EXECUTION','_state','univer-pro.collaboration-client.single-active-unit-service','_init','_getRedoStack','_timeoutTimer','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationSession]','reconnect','MOBILE_HAS_BEEN_BOUND','textRanges','APPLY_DUPLICATED','getCollabEntity','_sessions','LIVESHARE_OPERATION','_imageSourceCache','patch','post','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_RATE_OVER_LIMIT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','file','_retryCount','PasswordBasedCipher','requireSession','_state$','data','_change$','UPDATE_PERMISSION_OBJ','_collabSessionService','_waitCount','catch','byteLength','entityInit$','subject','mixIn','Utf8','refreshPermission','transformUndoRedo','loadUnit','append','Could\x20not\x20dynamically\x20require\x20\x22','univer-pro.collaboration-client.network-condition.service','forEach','_checkMissing','_submitChangeset','awaiting_with_pending','collabWebSocketUrl','COMPLETION_FINISHED','_waitForHeartbeatResponse','saveChangeset','call','4552239VVRycQ','onMissingChangesets','PERSON','dispose','USERS_ENTER','CHANGESET_SHOULD_RETRY','_commentService','PENDING','MD5','_collaborationPaused','/universer-api/user/session-ticket','saveSheetBlock','Hasher','PERMISSION_REJ','onlyLocal','_emitMembers','UnitEmbedded','COMMENT_UPDATE','MSG_FOR_ERROR','JOIN_ROOM_FAILED','CipherParams','conflict','workbook','UNIVER_PROJECT','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getRandomValues','onTransformIME','_socketReady','WECHAT_HAS_BEEN_BOUND','_resendTimeout','COMPRESS_MUTATION_SEND','JOIN_ROOM_PERMISSION_DENIED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','objectID','COLLAB_SUBMIT_CHANGESET_URL','_remoteChangesetQueue','readyForCollab','entries','copyFileMeta','univer-pro.collaboration-client-socket-service','OFFLINE','createInstance','c2Prime','interceptor','PERMISSION_DENIED','_roomCreated$','infoRsp','headers','result','responseType','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_doReset','_isPermissionRej','_syncEditingCollabCursor','_unlockTransition','batchAllowed','NO_OTHER_CLIENTS_EDITING','confirm','_collaborationUIEventService','commentUpdateEvent','authzUrl','emitEvent','HmacMD5','YUUMI_UNABLE_LOAD_URL','push','updateMember','onSyncEditingCollabCursor','SNAPSHOT_INVALID_SNAPSHOT','_resendTimer','listRoles','SYNCED','/object/','SerializableCipher','INTERNAL_ERROR','reject','capture','m2Prime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_nRounds','getInterceptPoints','collaMsg','state$','25856540WPRipw','_throwTelemetryCollaborationNewChangeset','YUUMI_ASYNCIO_CANCELLED','onCommentUpdate','INVITE_CODE_ALREADY_BOUND','_onConflict','FETCH_MISS','range','_getAPIPrefix','_collaborationSessionService','/allowed','LEAVE','/-/object/-/batch_allowed','_stopTelemetryCollaborationNewChangeset','_listenToNetworkCondition','_sendingTimer','then','Undefined','readInt32LE','getImage','msCrypto','HELLO','[UniverCollaborationClientPlugin]','hasOwnProperty','charCodeAt','_createSocket','BlockCipherMode','unitID','ERROR_IMAGE_TYPE','FETCH_MISSING','UNIVER_DOC','ciphertext','clear','Error\x20on\x20receiving\x20event','_updateState','198lAogkG','_acknowledgedAwaitingChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','size','newCsEvent','_transformUndoredo','__esModule','COMPRESS_MUTATION_APPLY','debug','_onRemoteRetry','filter','_parse','init','resourceIDs','updatePermissionObjEvent','close','join','_handler','_entities','_univerInstanceService','reqId','synced','getRoom','YUUMI_SUBSCRIPTION_NOT_FOUND','{fileID}','onTransformRemoteChangesetByStateCache','YUUMI_URL_COL_OUT_OF_RANGE','loginUrlKey','_onOffline','values','_applyRemoteChangeset','_substituteRedoStack','unpad','HttpImport','SHA1','replace','_snapshotService','delete','_doCreateSocket','_eventService','MUTATION','_getCtorByUniverType','_doFinalize','_socket','ONLINE','encrypt','TOO_MANY_REQUESTS','execute','JOINING','NOT_COLLAB','SHOULD_CLOSE_CONN','[PendingState]:\x20received\x20rejection.','_transformRemoteChangesetByStateCache','_schedule','USERS_LEAVE','IDLE','sigBytes','_fetchMissChangesets','[OfflineState]:\x20received\x20changeset.','unitId\x20is\x20not\x20found','algo','_getUndoStack','Base','_prevBlock','originalMeta','$super','encode','session.room-not-exists','LICENSE_EXPORT_SIZE_EXCEEDED','\x0aAfter:\x20','[CollaborationUndoRedoService]','YUUMI_NO_CUBOID_FOR_QUESTION','signUrlServerUrl','ws://127.0.0.1:8000/universer-api/comb/connect','UnitSnapshot','onStateChange','_sendHeartbeat','_onConnectionOpen','Base64','_key','waitForRoom$','randomBytes','lib','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','awaiting','_onCombEvent','status','_createHmacHelper','_map','put','blockSize','\x20to\x20','NEW_CHANGESETS','from','registerHTTPInterceptor','onTransformSelections','status$','UNISCRIPT_RUN','LICENSE_MAX_UNITS_EXCEEDED','localCacheService','_process','rev','HEARTBEAT_INTERVAL','_startTelemetryCollaborationNewChangeset','OpenSSL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','enableSingleActiveInstanceLock','sid','compute','/universer-api/authz','/new_changes','_resendWithTimeout','LIVESHARE_REQUEST_HOST','getUnitOnRev','_clearTimeoutTimer','transformStack\x20failed!','_keySchedule','_memberService','image/bmp','unitInfo$','_logService','sendChangesetTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUCCUSS','LIVESHARE_NEW_HOST','max','6470754NDLljV','UNKNOWN_CODE','_initUnitPermissionChange','transformMutationsWithChangeset','/-/object/list','UPDATE_CURSOR','collaboration_new_changeset','/universer-api/oidc/authpage','_getSendChangesetTimeout','socket\x20open.','getOwnPropertyDescriptor','_executeRemoteChangeset','create','_createInitialState','csRejEvent','2647445OeCFHu','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_keyPriorReset','_userManagerService','enableAuthServer','hasher','memberID','UNIVER_COLLABORATION_CLIENT_PLUGIN','_httpService','getSheetBlock','not_collab','executeCommand','_handlerCallback','deepClone','getTime','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onLocalMutation','HEARTBEAT_TIMEOUT','incrementRevOfUnit','_iKey','allowed','_undoStacks','decrypt','_changesetReqId','ERROR_IMAGE','/resources','loadDoc','toggleOffline','_permissionService','_localCacheService','exports','routeKey','FAIL','extend','LOGIN_FAILED','_initCloseConn','updateCursorEvent','_substituteUndoStack','editingUnit','onMissedChangesetFetched','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_oKey','getDeserializedSheetBlock','onRemoteAck','getSnapshotAPIPath','_onJoinRoomEvent','message$','createDecryptor','_unitInfo$','floor','eventID','&to=','finalize','onLocalMutation','_doProcessBlock','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_showConflictNotification','_clearRetryConnectingTimer','subUnitId','code','_event$','pipe','subscribe','liveShareNewHost','getResourcesRequest','_getSignURL','getMember','charAt','_type','440QcmlBv','duration','decryptBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','members','_socketMessageSubscription','fetchThroughInterceptors','offline','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','/unit/','NoPadding','16314BDuvHw','href','setCurrentUser','setShowComponents','getSheetId','_shouldReportTelemetry','_scheduleCompleteTimestamp','LIVESHARE_TERMINATE','keySize','Malformed\x20UTF-8\x20data','_configService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','clone','collaborators','_config','_onRemoteACK','createEncryptor','CBC','getUnit','getCollabEntity$','cfg','encryptBlock','objectType','155691JSrFbp','_changesetSessionId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]','_exhaustRemoteChangesetQueue','onRemoteRetry','YUUMI_AI_RUN_FAILED','connection\x20error','loadSheet','_sessionStatus$','joinRsp','asObservable','APPLY_REJECT','body','string','HttpExport','\x20in\x20_schedule.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','params','removeMember','auth.needGotoLoginAlert','_minBufferSize','resend','SOCKET_FAILED_RETRY','_DEC_XFORM_MODE','hostname','BlockCipher','Failed\x20to\x20update\x20permission\x20point','onTransformState','userID','_undoRedoService','slice','UNRECOGNIZED','_createInitialStateImpl','[SyncedState]:\x20received\x20rejection.','mode','OTHER_CLIENT_EDITING','session.room-permission-denied','getTypeOfUnitAdded$','SUBMIT_CHANGESET_TIMEOUT','toggleOnline','SUBMIT_CHANGESET','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','addHandlerCallback','enc','onStarting','_compressMutationService','Cipher','_decreaseWaiting','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_commentUpdate$','ERROR_EXCEED_SIZE','/role','get','YUUMI_ALL_TABLES_IS_INVALID','getCurrentRevOfUnit','AWAITING_WITH_PENDING','_transitionLocked','onRemoteChangeset','enableOfflineEditing','CLOSE_ROOM','_hash','_snapshotServerService','\x0aCurrent:\x20','LICENSE_DISTRO_REJECTED','function','\x20-\x20','getTypeOfUnitDisposed$','error','telemetry\x20info\x20is\x20not\x20initialized','_initRequestHeader','getUnitStatus$','submit\x20changeset\x20error!','image/jpg','concat','_candidateSocket','revision','key','_injector','ceil','UNDEFINED','reduce','_onRemoteRejected','_getAPIPrefixPath','updateOfflineData','_replayCachedMutations','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','complete','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','clamp','sessionStatus','&assign=','processBlock','updateSnapshot','updateCollaborator','_rescheduleHeartbeat','sheets','createSocket','getUnitId','/fetchmissing?from=','_tryReconnect','11bBfCta','now','snapshot','_incrementRevisionNumber','padding','unitId','_ENC_XFORM_MODE','onRemoteRej','JOIN','localeService','_createHandler','_lockTransition','getAllMembers','JOIN_ROOM_NOT_EXISTS','sessionStatus$','transformChangesets','_onFetchMissResult','UNIVER_UNKNOWN','RECV','_registerDependencies','fromCollab','permissionRejEvent','has','SEND_CHANGESET_TIMEOUT','_status$','type','session.join-failed','GLOBAL_ROOMS_CNT_EXCEEDS','HEARTBEAT','src','PSEUDO_FETCH_MISSING_RESULT','transformSelections','getCurrentUser','SNAPSHOT_URL_KEY','x-univer-host','_invKeySchedule','name','find','UNAUTHENTICATED','mutations','CONNECTOR_DATA_TOO_LARGE','_unitID','cmd','update','EvpKDF','setWaitCount','LICENSE_IMPORT_SIZE_EXCEEDED','pauseCollaboration','/object','disposeWithMe','salt','deleteCollaborator','_clearScheduledTask','iterations','encodeURIComponent','parse','loadUnitOfRevision','_members','DEFAULT_FILE_NAME','_members$','updatePermissionPoint','_onUserLeave','length','getValue','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_cipher','fetch_missing','_reverseMap','_revisionService','commentUpdate$','reset','stringify','LIVESHARE_FETCH_OPERATIONS','random','4yhYpSM','socket$','USER_NOT_INVITED_CODE','getMemberID','UUID','_onRemoteChangeset','/block/','onTransformRemoteChangesetByIMECache','requestParams','fetchMiss','UNIVER_SHEET','_getLoginPath','INVITE_CODE_HAS_BEEN_UES','_onUserJoin','_telemetryService','crypto','roomInfos','_collaborationTimeoutTimer','?size=','next','enableCollaboration','JOIN_ROOM_FULL','_append','selections','_singleActiveUnitService','_iv','INVALID_INVITE_CODE','_clearCollaborationTimeoutTimer','Univer','_mode','[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.','getConfig','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isArray','_commandService','_getUploadFileURL','__creator','set','method','unsubscribe','_hasher','_transformStateCache','AWAITING','[OfflineState]:\x20received\x20rejection.','map','every','_toggleOffline','_data','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentSelections','_socket$','save\x20fail\x20reason\x20is\x20','prototype','_HTTPService','send','pending','target','_getCurrentRevision','CONFLICT','_toggleOnline','getUnitType','collaboratorID','stopTime','_updateLocalCache','SOCKET_FAILED','StreamCipher','_onConnectionFailed','pad','toString','_localeService','_awaitingChangeset','loadOfflineData','words','state','event$','formatter','_transformService','retryConnectingInterval','WordArray','_transformSelections','baseRev','listCollaborators','/universer-api/snapshot','UNIVER_SLIDE','_tryEnsureSocket','fromCharCode'];_0x5204=function(){return _0x1f79de;};return _0x5204();}nt=tn([Be(0x0,_0x4df4de(_0x1afd43)),Be(0x1,_0x4df4de(Le)),Be(0x2,_0x58acf0),Be(0x3,_0x55ab5c)],nt);var sn=Object[_0x2628af(0x197)],nn=(_0xb3b992,_0x41951d,_0x584f86,_0x55d140)=>{var _0x23ea51=_0x2628af;for(var _0x47cd47=_0x55d140>0x1?void 0x0:_0x55d140?sn(_0x41951d,_0x584f86):_0x41951d,_0x2e1a95=_0xb3b992[_0x23ea51(0x2a7)]-0x1,_0x16f737;_0x2e1a95>=0x0;_0x2e1a95--)(_0x16f737=_0xb3b992[_0x2e1a95])&&(_0x47cd47=_0x16f737(_0x47cd47)||_0x47cd47);return _0x47cd47;},Wt=(_0x477a99,_0x181828)=>(_0x43f58a,_0x1bcbd5)=>_0x181828(_0x43f58a,_0x1bcbd5,_0x477a99);const rn=_0x2628af(0x2a3),an=_0x2628af(0x2cf);let It=class extends _0x3a3655{constructor(_0x125447,_0xecb9c3){var _0x19a456=_0x2628af;super(),this[_0x19a456(0x433)]=_0x125447,this[_0x19a456(0x1f7)]=_0xecb9c3,this[_0x19a456(0x37a)]();}[_0x2628af(0x37a)](){var _0x491022=_0x2628af;this[_0x491022(0x29a)](this[_0x491022(0x433)]['focused$']['subscribe'](()=>{var _0x510c29=_0x491022,_0x2673a2;const _0x3b2e3f=this[_0x510c29(0x433)][_0x510c29(0x353)]();let _0x54b898=(_0x2673a2=this[_0x510c29(0x1f7)][_0x510c29(0x2d2)](rn))!=null?_0x2673a2:an;_0x3b2e3f instanceof _0x44b7e7&&(_0x54b898=_0x3b2e3f['name']),document[_0x510c29(0x324)]=_0x54b898;}));}};It=nn([Wt(0x0,_0x55ab5c),Wt(0x1,_0x58acf0)],It);var on=Object['getOwnPropertyDescriptor'],cn=(_0x2bfda2,_0x38b2c2,_0x391a51,_0xb062d3)=>{var _0x2ecc1d=_0x2628af;for(var _0x101e9e=_0xb062d3>0x1?void 0x0:_0xb062d3?on(_0x38b2c2,_0x391a51):_0x38b2c2,_0x52be6d=_0x2bfda2[_0x2ecc1d(0x2a7)]-0x1,_0x5961a2;_0x52be6d>=0x0;_0x52be6d--)(_0x5961a2=_0x2bfda2[_0x52be6d])&&(_0x101e9e=_0x5961a2(_0x101e9e)||_0x101e9e);return _0x101e9e;},dt=(_0x17cf3a,_0xd59b9d)=>(_0x38c1d5,_0x5727dc)=>_0xd59b9d(_0x38c1d5,_0x5727dc,_0x17cf3a);let rt=class{constructor(_0x2218c7,_0x20f6eb,_0x3e78e5){var _0x388b5c=_0x2628af;this['_configService']=_0x2218c7,this[_0x388b5c(0x1a4)]=_0x20f6eb,this[_0x388b5c(0x272)]=_0x3e78e5,this[_0x388b5c(0x42c)]();}[_0x2628af(0x42c)](){var _0x274c48=_0x2628af;this[_0x274c48(0x1a4)][_0x274c48(0x16d)]({'priority':0x1,'interceptor':(_0x407c48,_0x1489f7)=>_0x1489f7(_0x407c48)[_0x274c48(0x1d9)](_0x587ba4(async _0x4b9cdc=>{var _0x9b8c9c=_0x274c48;const _0x214def=_0x4b9cdc;if(_0x214def[_0x9b8c9c(0x165)]===0x191){if(typeof window>'u')throw new Error(_0x9b8c9c(0x215));if(window[_0x9b8c9c(0x3e4)](this['localeService']['t'](_0x9b8c9c(0x218)))){const _0x1c1856=window[_0x9b8c9c(0x29f)](window['location'][_0x9b8c9c(0x1ee)]);window['location'][_0x9b8c9c(0x1ee)]=this[_0x9b8c9c(0x2be)]()+'?url='+_0x1c1856;}}return _0x214def;}))});}[_0x2628af(0x2be)](){var _0x4238fa=_0x2628af,_0x115274,_0x749237;const _0x27d803=this[_0x4238fa(0x1f7)][_0x4238fa(0x2d2)](Ns),_0x44083b=this[_0x4238fa(0x1f7)]['getConfig'](K);return(_0x749237=(_0x115274=_0x44083b==null?void 0x0:_0x44083b[_0x4238fa(0x43b)])!=null?_0x115274:_0x27d803)!=null?_0x749237:Ds;}};rt=cn([dt(0x0,_0x58acf0),dt(0x1,_0x4df4de(_0xfc765a)),dt(0x2,_0x4df4de(_0x26c096))],rt);var hn=Object[_0x2628af(0x197)],_n=(_0x24aa35,_0x34aeac,_0x42e553,_0x5c160d)=>{var _0x4ab7fa=_0x2628af;for(var _0x41ec7f=_0x5c160d>0x1?void 0x0:_0x5c160d?hn(_0x34aeac,_0x42e553):_0x34aeac,_0x1308df=_0x24aa35[_0x4ab7fa(0x2a7)]-0x1,_0xcd2cb5;_0x1308df>=0x0;_0x1308df--)(_0xcd2cb5=_0x24aa35[_0x1308df])&&(_0x41ec7f=_0xcd2cb5(_0x41ec7f)||_0x41ec7f);return _0x41ec7f;},Kt=(_0xdca058,_0xaa16b3)=>(_0x219a36,_0x4ae9b2)=>_0xaa16b3(_0x219a36,_0x4ae9b2,_0xdca058);const Ri='AUTHZ_URL_KEY',ln='/universer-api/authz';let Tt=class extends _0x3a3655{constructor(_0x4f804d,_0x51124f){var _0x1310f5=_0x2628af;super(),this[_0x1310f5(0x2e8)]=_0x4f804d,this[_0x1310f5(0x1f7)]=_0x51124f,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x439afd=_0x2628af;const _0x1371d8=this;this[_0x439afd(0x29a)](this['_HTTPService'][_0x439afd(0x16d)]({'priority':0x3e7,'interceptor':_0x4f67fb({'isMatch'(_0x102590){var _0x5207db=_0x439afd,_0x3e898a;if(_0x102590[_0x5207db(0x2d9)]===_0x5207db(0x345)&&((_0x3e898a=_0x102590[_0x5207db(0x2bb)])!=null&&_0x3e898a[_0x5207db(0x211)])){const {objectID:_0x3a712e,objectType:_0xf4277b}=_0x102590[_0x5207db(0x2bb)]['body']||{};if(!_0x3a712e||_0xf4277b===void 0x0)return!0x1;const _0x5b3dcb=_0x1371d8[_0x5207db(0x257)]()+'/'+_0xf4277b+_0x5207db(0x3f2)+_0x3a712e+_0x5207db(0x407);if(_0x102590[_0x5207db(0x33d)]===_0x5b3dcb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x17a07e){var _0x582c24=_0x439afd,_0x564eb5;return(_0x564eb5=_0x17a07e[_0x582c24(0x2bb)])==null?void 0x0:_0x564eb5['body'];},'mergeParamsToRequest'(_0x226075,_0x493a57){var _0x3687a0=_0x439afd;const _0x401068=_0x1371d8[_0x3687a0(0x257)]()+_0x3687a0(0x409),_0x1363ed=_0x226075[_0x3687a0(0x255)]((_0x2fa9e5,_0x419e81)=>{var _0x1f0f52=_0x3687a0;const {unitID:_0x26c465,objectID:_0x111309,objectType:_0x32f59f,actions:_0x4d1769}=_0x419e81;return _0x2fa9e5[_0x26c465]||(_0x2fa9e5[_0x26c465]={}),_0x2fa9e5[_0x26c465][_0x111309]||(_0x2fa9e5[_0x26c465][_0x111309]={'objectID':_0x111309,'objectType':_0x32f59f,'actions':[]}),_0x2fa9e5[_0x26c465][_0x111309][_0x1f0f52(0x329)][_0x1f0f52(0x3eb)](..._0x4d1769),_0x2fa9e5;},{}),_0x35858e=[];for(const _0x48a191 in _0x1363ed)for(const _0x428903 in _0x1363ed[_0x48a191]){const {actions:_0x7987f4,objectType:_0x4274fd}=_0x1363ed[_0x48a191][_0x428903],_0x52b57c=[...new Set(_0x7987f4)];_0x35858e['push']({'unitID':_0x48a191,'objectID':_0x428903,'objectType':_0x4274fd,'actions':_0x52b57c});}return new _0x5ded10('POST',_0x401068,{'headers':_0x493a57['headers'],'withCredentials':_0x493a57[_0x3687a0(0x30c)],'responseType':_0x493a57[_0x3687a0(0x3dc)],'body':{'requests':_0x35858e}});}},{'distributeResult'(_0x5d6276,_0x379853){var _0x37b8ef=_0x439afd;const {objectActions:_0xb196a2}=_0x5d6276;return _0x379853[_0x37b8ef(0x2df)](_0x2b82ab=>{var _0x49adc2=_0x37b8ef;const {unitID:_0x3d0b79,objectID:_0x333353,actions:_0x49bf8f}=_0x2b82ab,_0x5e7581=_0xb196a2[_0x49adc2(0x28e)](_0x292703=>_0x292703[_0x49adc2(0x418)]===_0x3d0b79&&_0x292703[_0x49adc2(0x3cc)]===_0x333353),_0x4f880b=_0x49bf8f[_0x49adc2(0x2df)](_0x44f9be=>_0x5e7581==null?void 0x0:_0x5e7581[_0x49adc2(0x329)][_0x49adc2(0x28e)](_0x25d887=>_0x25d887['action']===_0x44f9be))[_0x49adc2(0x42a)](_0xa0b031=>!!_0xa0b031);return{'config':_0x2b82ab,'result':{'actions':_0x4f880b,'error':_0x5d6276['error']}};});}})}));}[_0x2628af(0x257)](){var _0x28d59a=_0x2628af,_0x25d4bc,_0x324774;const _0xa2465e=this[_0x28d59a(0x1f7)][_0x28d59a(0x2d2)](Ri),_0x43f031=this[_0x28d59a(0x1f7)][_0x28d59a(0x2d2)](K);return(_0x324774=(_0x25d4bc=_0x43f031==null?void 0x0:_0x43f031[_0x28d59a(0x3e7)])!=null?_0x25d4bc:_0xa2465e)!=null?_0x324774:ln;}async[_0x2628af(0x199)](_0x4ecbcf){var _0x5e6222=_0x2628af;const _0x15272d=this[_0x5e6222(0x257)]()+'/'+_0x4ecbcf['objectType']+_0x5e6222(0x299);return(await this[_0x5e6222(0x2e8)]['post'](_0x15272d,{'body':_0x4ecbcf}))['body'][_0x5e6222(0x3cc)]||'';}async['list'](_0x1e697a){var _0x10c30b=_0x2628af;const _0x227dce=this[_0x10c30b(0x257)]()+_0x10c30b(0x191);return(await this[_0x10c30b(0x2e8)][_0x10c30b(0x388)](_0x227dce,{'body':_0x1e697a}))[_0x10c30b(0x211)]['objects'];}async[_0x2628af(0x294)](_0x177d54){var _0x1d7ea7=_0x2628af,_0xa8202f,_0x339883;const _0x36e25f=this['_getAPIPrefixPath']()+'/'+_0x177d54[_0x1d7ea7(0x203)]+'/object/'+_0x177d54[_0x1d7ea7(0x3cc)],_0x4362fe=await this['_HTTPService'][_0x1d7ea7(0x168)](_0x36e25f,{'body':_0x177d54});if(((_0x339883=(_0xa8202f=_0x4362fe==null?void 0x0:_0x4362fe[_0x1d7ea7(0x211)])==null?void 0x0:_0xa8202f[_0x1d7ea7(0x248)])==null?void 0x0:_0x339883[_0x1d7ea7(0x1d7)])!==0x1)throw new Error(_0x1d7ea7(0x21f));}async[_0x2628af(0x1b0)](_0x1cf1c6){var _0x4568ce=_0x2628af;const _0xae12b4=this[_0x4568ce(0x257)]()+'/'+_0x1cf1c6[_0x4568ce(0x203)]+'/object/'+_0x1cf1c6[_0x4568ce(0x3cc)]+_0x4568ce(0x407);return(await this[_0x4568ce(0x2e8)][_0x4568ce(0x388)](_0xae12b4,{'body':_0x1cf1c6}))[_0x4568ce(0x211)][_0x4568ce(0x329)];}async[_0x2628af(0x3e2)](_0x5d0a5d){var _0x474c13=_0x2628af;const _0x3f9a13=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x474c13(0x388)](_0x3f9a13,{'body':{'requests':_0x5d0a5d}}))[_0x474c13(0x211)]['objectActions'];}async[_0x2628af(0x3f0)](_0x2d274e){var _0x44975d=_0x2628af;const _0x1378c2=this[_0x44975d(0x257)]()+'/'+_0x2d274e['objectType']+_0x44975d(0x238),_0x48d854=await this[_0x44975d(0x2e8)][_0x44975d(0x388)](_0x1378c2,{'body':_0x2d274e});return{'roles':_0x48d854[_0x44975d(0x211)]['roles'],'actions':_0x48d854[_0x44975d(0x211)][_0x44975d(0x329)]};}async[_0x2628af(0x29c)](_0x5bfee9){var _0x1900d7=_0x2628af;const _0x5c9d6d=this['_getAPIPrefixPath']()+_0x1900d7(0x319);await this['_HTTPService']['delete'](_0x5c9d6d,{'params':{'collaboratorID':_0x5bfee9[_0x1900d7(0x2f0)],'objectID':_0x5bfee9[_0x1900d7(0x3cc)],'unitID':_0x5bfee9[_0x1900d7(0x418)]}});}async[_0x2628af(0x262)](_0xfcf02){var _0x14b854=_0x2628af;const _0x58fc1e=this[_0x14b854(0x257)]()+'/collaborator';await this[_0x14b854(0x2e8)][_0x14b854(0x387)](_0x58fc1e,{'body':_0xfcf02});}async['createCollaborator'](_0x336516){var _0x2dcf0a=_0x2628af;const _0x3ae4a6=this[_0x2dcf0a(0x257)]()+_0x2dcf0a(0x319);await this[_0x2dcf0a(0x2e8)][_0x2dcf0a(0x388)](_0x3ae4a6,{'body':_0x336516});}async[_0x2628af(0x304)](_0x3d90e9){var _0x5186a1=_0x2628af;const _0x5822c4=this[_0x5186a1(0x257)]()+'/collaborator';return(await this[_0x5186a1(0x2e8)][_0x5186a1(0x239)](_0x5822c4,{'params':{'objectID':_0x3d90e9[_0x5186a1(0x3cc)],'unitID':_0x3d90e9[_0x5186a1(0x418)]}}))['body']['collaborators'];}async['putCollaborators'](_0x2aef1f){var _0x220ca1=_0x2628af;const _0x532c34=this[_0x220ca1(0x257)]()+_0x220ca1(0x319);await this[_0x220ca1(0x2e8)][_0x220ca1(0x168)](_0x532c34,{'body':_0x2aef1f});}};Tt=_n([Kt(0x0,_0x4df4de(_0xfc765a)),Kt(0x1,_0x4df4de(_0x58acf0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e6a49){var _0x15ca4c=_0x2628af;return _0x2e6a49&&_0x2e6a49[_0x15ca4c(0x426)]&&Object[_0x15ca4c(0x2e7)][_0x15ca4c(0x414)][_0x15ca4c(0x3aa)](_0x2e6a49,_0x15ca4c(0x375))?_0x2e6a49['default']:_0x2e6a49;}var Ve={'exports':{}};function un(_0xd41fee){var _0x1cbf00=_0x2628af;throw new Error(_0x1cbf00(0x3a0)+_0xd41fee+_0x1cbf00(0x235));}var Ge={'exports':{}},dn=Ge[_0x2628af(0x1ba)],qt;function te(){var _0xf18459=_0x2628af;return qt||(qt=0x1,function(_0x3de573,_0x2037e2){(function(_0x1841f8,_0x3c8df0){var _0x2ea9f9=_0x449a;_0x3de573[_0x2ea9f9(0x1ba)]=_0x3c8df0();}(dn,function(){var _0x25e106=_0x25e106||function(_0x308917,_0x42280d){var _0x57ed86=_0x449a,_0x41efa2;if(typeof window<'u'&&window[_0x57ed86(0x2c2)]&&(_0x41efa2=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x41efa2=self[_0x57ed86(0x2c2)]),typeof globalThis<'u'&&globalThis[_0x57ed86(0x2c2)]&&(_0x41efa2=globalThis[_0x57ed86(0x2c2)]),!_0x41efa2&&typeof window<'u'&&window[_0x57ed86(0x411)]&&(_0x41efa2=window[_0x57ed86(0x411)]),!_0x41efa2&&typeof ft<'u'&&ft[_0x57ed86(0x2c2)]&&(_0x41efa2=ft[_0x57ed86(0x2c2)]),!_0x41efa2&&typeof un==_0x57ed86(0x245))try{_0x41efa2=require('crypto');}catch{}var _0x502989=function(){var _0x1aec13=_0x57ed86;if(_0x41efa2){if(typeof _0x41efa2[_0x1aec13(0x3c4)]=='function')try{return _0x41efa2[_0x1aec13(0x3c4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x41efa2[_0x1aec13(0x160)]==_0x1aec13(0x245))try{return _0x41efa2[_0x1aec13(0x160)](0x4)[_0x1aec13(0x40f)]();}catch{}}throw new Error(_0x1aec13(0x1ab));},_0x280639=Object[_0x57ed86(0x199)]||(function(){function _0x3ee227(){}return function(_0x130616){var _0x3d4acc=_0x449a,_0x43a916;return _0x3ee227[_0x3d4acc(0x2e7)]=_0x130616,_0x43a916=new _0x3ee227(),_0x3ee227['prototype']=null,_0x43a916;};}()),_0x4c4ecf={},_0x52c9e6=_0x4c4ecf[_0x57ed86(0x161)]={},_0x363b49=_0x52c9e6[_0x57ed86(0x14d)]=(function(){return{'extend':function(_0x582875){var _0x2ba7d0=_0x449a,_0xf64fb1=_0x280639(this);return _0x582875&&_0xf64fb1[_0x2ba7d0(0x39a)](_0x582875),(!_0xf64fb1['hasOwnProperty'](_0x2ba7d0(0x42c))||this['init']===_0xf64fb1[_0x2ba7d0(0x42c)])&&(_0xf64fb1[_0x2ba7d0(0x42c)]=function(){var _0x11dcf5=_0x2ba7d0;_0xf64fb1['$super'][_0x11dcf5(0x42c)]['apply'](this,arguments);}),_0xf64fb1['init'][_0x2ba7d0(0x2e7)]=_0xf64fb1,_0xf64fb1[_0x2ba7d0(0x150)]=this,_0xf64fb1;},'create':function(){var _0x5ebfde=_0x449a,_0xd3cbb3=this[_0x5ebfde(0x1bd)]();return _0xd3cbb3['init'][_0x5ebfde(0x344)](_0xd3cbb3,arguments),_0xd3cbb3;},'init':function(){},'mixIn':function(_0x293a89){var _0x13fed1=_0x449a;for(var _0x21b31b in _0x293a89)_0x293a89['hasOwnProperty'](_0x21b31b)&&(this[_0x21b31b]=_0x293a89[_0x21b31b]);_0x293a89[_0x13fed1(0x414)]('toString')&&(this[_0x13fed1(0x2f7)]=_0x293a89['toString']);},'clone':function(){var _0x59e48e=_0x449a;return this[_0x59e48e(0x42c)][_0x59e48e(0x2e7)]['extend'](this);}};}()),_0x48385b=_0x52c9e6['WordArray']=_0x363b49[_0x57ed86(0x1bd)]({'init':function(_0x119b86,_0x51417e){var _0x290b63=_0x57ed86;_0x119b86=this[_0x290b63(0x2fb)]=_0x119b86||[],_0x51417e!=_0x42280d?this[_0x290b63(0x147)]=_0x51417e:this[_0x290b63(0x147)]=_0x119b86[_0x290b63(0x2a7)]*0x4;},'toString':function(_0x29b160){var _0x4a5c22=_0x57ed86;return(_0x29b160||_0x196193)[_0x4a5c22(0x2b0)](this);},'concat':function(_0x4f8476){var _0x5ad23a=_0x57ed86,_0x2ea94b=this['words'],_0x1e2747=_0x4f8476[_0x5ad23a(0x2fb)],_0x210c7a=this[_0x5ad23a(0x147)],_0x1bbbbe=_0x4f8476[_0x5ad23a(0x147)];if(this[_0x5ad23a(0x25d)](),_0x210c7a%0x4)for(var _0x429de7=0x0;_0x429de7<_0x1bbbbe;_0x429de7++){var _0x56cedf=_0x1e2747[_0x429de7>>>0x2]>>>0x18-_0x429de7%0x4*0x8&0xff;_0x2ea94b[_0x210c7a+_0x429de7>>>0x2]|=_0x56cedf<<0x18-(_0x210c7a+_0x429de7)%0x4*0x8;}else{for(var _0x9c8179=0x0;_0x9c8179<_0x1bbbbe;_0x9c8179+=0x4)_0x2ea94b[_0x210c7a+_0x9c8179>>>0x2]=_0x1e2747[_0x9c8179>>>0x2];}return this['sigBytes']+=_0x1bbbbe,this;},'clamp':function(){var _0x187c66=_0x57ed86,_0x57dec6=this[_0x187c66(0x2fb)],_0x1694f7=this[_0x187c66(0x147)];_0x57dec6[_0x1694f7>>>0x2]&=0xffffffff<<0x20-_0x1694f7%0x4*0x8,_0x57dec6[_0x187c66(0x2a7)]=_0x308917['ceil'](_0x1694f7/0x4);},'clone':function(){var _0x4846d2=_0x57ed86,_0x57ac3e=_0x363b49[_0x4846d2(0x1f9)]['call'](this);return _0x57ac3e['words']=this['words'][_0x4846d2(0x223)](0x0),_0x57ac3e;},'random':function(_0x3a3296){var _0x36f04a=_0x57ed86;for(var _0x4664fd=[],_0x1994b0=0x0;_0x1994b0<_0x3a3296;_0x1994b0+=0x4)_0x4664fd[_0x36f04a(0x3eb)](_0x502989());return new _0x48385b[(_0x36f04a(0x42c))](_0x4664fd,_0x3a3296);}}),_0x5d3bfe=_0x4c4ecf[_0x57ed86(0x230)]={},_0x196193=_0x5d3bfe['Hex']={'stringify':function(_0x50fed4){var _0x17f226=_0x57ed86;for(var _0x4c901f=_0x50fed4[_0x17f226(0x2fb)],_0x467f9e=_0x50fed4[_0x17f226(0x147)],_0x2d02b4=[],_0x3b002a=0x0;_0x3b002a<_0x467f9e;_0x3b002a++){var _0x3fe62d=_0x4c901f[_0x3b002a>>>0x2]>>>0x18-_0x3b002a%0x4*0x8&0xff;_0x2d02b4[_0x17f226(0x3eb)]((_0x3fe62d>>>0x4)[_0x17f226(0x2f7)](0x10)),_0x2d02b4[_0x17f226(0x3eb)]((_0x3fe62d&0xf)['toString'](0x10));}return _0x2d02b4[_0x17f226(0x430)]('');},'parse':function(_0x5e7093){var _0x4bc118=_0x57ed86;for(var _0x53dd81=_0x5e7093[_0x4bc118(0x2a7)],_0x37b24d=[],_0x308f41=0x0;_0x308f41<_0x53dd81;_0x308f41+=0x2)_0x37b24d[_0x308f41>>>0x3]|=parseInt(_0x5e7093['substr'](_0x308f41,0x2),0x10)<<0x18-_0x308f41%0x8*0x4;return new _0x48385b[(_0x4bc118(0x42c))](_0x37b24d,_0x53dd81/0x2);}},_0x403319=_0x5d3bfe['Latin1']={'stringify':function(_0x310ac1){var _0x12ecfa=_0x57ed86;for(var _0x39b59a=_0x310ac1[_0x12ecfa(0x2fb)],_0x316edc=_0x310ac1['sigBytes'],_0x303469=[],_0x10d3c1=0x0;_0x10d3c1<_0x316edc;_0x10d3c1++){var _0x52e673=_0x39b59a[_0x10d3c1>>>0x2]>>>0x18-_0x10d3c1%0x4*0x8&0xff;_0x303469[_0x12ecfa(0x3eb)](String[_0x12ecfa(0x308)](_0x52e673));}return _0x303469[_0x12ecfa(0x430)]('');},'parse':function(_0x4303b2){var _0x5d2efb=_0x57ed86;for(var _0x447c93=_0x4303b2[_0x5d2efb(0x2a7)],_0x340714=[],_0x5d4203=0x0;_0x5d4203<_0x447c93;_0x5d4203++)_0x340714[_0x5d4203>>>0x2]|=(_0x4303b2[_0x5d2efb(0x415)](_0x5d4203)&0xff)<<0x18-_0x5d4203%0x4*0x8;return new _0x48385b[(_0x5d2efb(0x42c))](_0x340714,_0x447c93);}},_0x27c578=_0x5d3bfe['Utf8']={'stringify':function(_0x5f4dac){var _0x5a24fa=_0x57ed86;try{return decodeURIComponent(escape(_0x403319['stringify'](_0x5f4dac)));}catch{throw new Error(_0x5a24fa(0x1f6));}},'parse':function(_0x172c91){var _0x1fcc3f=_0x57ed86;return _0x403319[_0x1fcc3f(0x2a0)](unescape(encodeURIComponent(_0x172c91)));}},_0x2e64a0=_0x52c9e6['BufferedBlockAlgorithm']=_0x363b49[_0x57ed86(0x1bd)]({'reset':function(){var _0x5b8309=_0x57ed86;this[_0x5b8309(0x2e2)]=new _0x48385b[(_0x5b8309(0x42c))](),this[_0x5b8309(0x331)]=0x0;},'_append':function(_0x109448){var _0x258f3c=_0x57ed86;typeof _0x109448=='string'&&(_0x109448=_0x27c578[_0x258f3c(0x2a0)](_0x109448)),this[_0x258f3c(0x2e2)][_0x258f3c(0x24e)](_0x109448),this[_0x258f3c(0x331)]+=_0x109448[_0x258f3c(0x147)];},'_process':function(_0x1bcbfe){var _0x1750e5=_0x57ed86,_0x13145b,_0x1fca06=this[_0x1750e5(0x2e2)],_0x20e942=_0x1fca06['words'],_0x26e8a2=_0x1fca06['sigBytes'],_0x178384=this[_0x1750e5(0x169)],_0x3dbdf5=_0x178384*0x4,_0x3a0b0b=_0x26e8a2/_0x3dbdf5;_0x1bcbfe?_0x3a0b0b=_0x308917[_0x1750e5(0x253)](_0x3a0b0b):_0x3a0b0b=_0x308917[_0x1750e5(0x18c)]((_0x3a0b0b|0x0)-this[_0x1750e5(0x219)],0x0);var _0x4367b7=_0x3a0b0b*_0x178384,_0x30adf5=_0x308917['min'](_0x4367b7*0x4,_0x26e8a2);if(_0x4367b7){for(var _0x5b0b13=0x0;_0x5b0b13<_0x4367b7;_0x5b0b13+=_0x178384)this[_0x1750e5(0x1d2)](_0x20e942,_0x5b0b13);_0x13145b=_0x20e942[_0x1750e5(0x330)](0x0,_0x4367b7),_0x1fca06['sigBytes']-=_0x30adf5;}return new _0x48385b[(_0x1750e5(0x42c))](_0x13145b,_0x30adf5);},'clone':function(){var _0x1d8884=_0x57ed86,_0x5e209a=_0x363b49[_0x1d8884(0x1f9)][_0x1d8884(0x3aa)](this);return _0x5e209a[_0x1d8884(0x2e2)]=this[_0x1d8884(0x2e2)][_0x1d8884(0x1f9)](),_0x5e209a;},'_minBufferSize':0x0});_0x52c9e6[_0x57ed86(0x3b7)]=_0x2e64a0[_0x57ed86(0x1bd)]({'cfg':_0x363b49[_0x57ed86(0x1bd)](),'init':function(_0x4cb1ad){var _0x210b76=_0x57ed86;this[_0x210b76(0x201)]=this[_0x210b76(0x201)][_0x210b76(0x1bd)](_0x4cb1ad),this[_0x210b76(0x2af)]();},'reset':function(){var _0x1b34e0=_0x57ed86;_0x2e64a0[_0x1b34e0(0x2af)]['call'](this),this['_doReset']();},'update':function(_0x106e8b){var _0x1bda17=_0x57ed86;return this[_0x1bda17(0x2c9)](_0x106e8b),this[_0x1bda17(0x173)](),this;},'finalize':function(_0x587668){var _0x4a188e=_0x57ed86;_0x587668&&this[_0x4a188e(0x2c9)](_0x587668);var _0x4017dd=this['_doFinalize']();return _0x4017dd;},'blockSize':0x10,'_createHelper':function(_0x111513){return function(_0x4cf572,_0x34791a){var _0x51eb0c=_0x449a;return new _0x111513[(_0x51eb0c(0x42c))](_0x34791a)[_0x51eb0c(0x1d0)](_0x4cf572);};},'_createHmacHelper':function(_0x25ce04){return function(_0x13c34f,_0x7f44fd){var _0x58ee95=_0x449a;return new _0x47ba40[(_0x58ee95(0x34a))][(_0x58ee95(0x42c))](_0x25ce04,_0x7f44fd)[_0x58ee95(0x1d0)](_0x13c34f);};}});var _0x47ba40=_0x4c4ecf[_0x57ed86(0x14b)]={};return _0x4c4ecf;}(Math);return _0x25e106;}));}(Ge)),Ge[_0xf18459(0x1ba)];}var Ye={'exports':{}},fn=Ye[_0x2628af(0x1ba)],zt;function Oi(){var _0x50f29b=_0x2628af;return zt||(zt=0x1,function(_0x3de280,_0x3d5a09){(function(_0x5f1a82,_0x3cf0c8){var _0x446653=_0x449a;_0x3de280[_0x446653(0x1ba)]=_0x3cf0c8(te());}(fn,function(_0xd832dc){var _0xab3bb9=_0x449a;return(function(){var _0x2dafed=_0x449a,_0x11133d=_0xd832dc,_0x50dc61=_0x11133d[_0x2dafed(0x161)],_0x53ac28=_0x50dc61[_0x2dafed(0x301)],_0x11f28a=_0x11133d[_0x2dafed(0x230)];_0x11f28a[_0x2dafed(0x15d)]={'stringify':function(_0x540a1d){var _0x4dce6f=_0x2dafed,_0x302e90=_0x540a1d[_0x4dce6f(0x2fb)],_0x5c205e=_0x540a1d[_0x4dce6f(0x147)],_0x221432=this['_map'];_0x540a1d['clamp']();for(var _0x25c863=[],_0xbdb750=0x0;_0xbdb750<_0x5c205e;_0xbdb750+=0x3)for(var _0x4f2050=_0x302e90[_0xbdb750>>>0x2]>>>0x18-_0xbdb750%0x4*0x8&0xff,_0x31a26b=_0x302e90[_0xbdb750+0x1>>>0x2]>>>0x18-(_0xbdb750+0x1)%0x4*0x8&0xff,_0x58c472=_0x302e90[_0xbdb750+0x2>>>0x2]>>>0x18-(_0xbdb750+0x2)%0x4*0x8&0xff,_0x2b1642=_0x4f2050<<0x10|_0x31a26b<<0x8|_0x58c472,_0x7f6979=0x0;_0x7f6979<0x4&&_0xbdb750+_0x7f6979*0.75<_0x5c205e;_0x7f6979++)_0x25c863[_0x4dce6f(0x3eb)](_0x221432[_0x4dce6f(0x1df)](_0x2b1642>>>0x6*(0x3-_0x7f6979)&0x3f));var _0x6cf484=_0x221432[_0x4dce6f(0x1df)](0x40);if(_0x6cf484){for(;_0x25c863[_0x4dce6f(0x2a7)]%0x4;)_0x25c863['push'](_0x6cf484);}return _0x25c863[_0x4dce6f(0x430)]('');},'parse':function(_0x195b83){var _0x14df7d=_0x2dafed,_0x4fefec=_0x195b83[_0x14df7d(0x2a7)],_0x141089=this[_0x14df7d(0x167)],_0x109e01=this[_0x14df7d(0x2ac)];if(!_0x109e01){_0x109e01=this[_0x14df7d(0x2ac)]=[];for(var _0x1f68fe=0x0;_0x1f68fe<_0x141089['length'];_0x1f68fe++)_0x109e01[_0x141089[_0x14df7d(0x415)](_0x1f68fe)]=_0x1f68fe;}var _0x34c80b=_0x141089[_0x14df7d(0x1df)](0x40);if(_0x34c80b){var _0x1485a0=_0x195b83[_0x14df7d(0x31d)](_0x34c80b);_0x1485a0!==-0x1&&(_0x4fefec=_0x1485a0);}return _0x1cfdf0(_0x195b83,_0x4fefec,_0x109e01);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1cfdf0(_0x53160a,_0x52dfb1,_0x488f79){var _0x5c47c7=_0x2dafed;for(var _0x486d65=[],_0x33c85f=0x0,_0x3cfa83=0x0;_0x3cfa83<_0x52dfb1;_0x3cfa83++)if(_0x3cfa83%0x4){var _0x1074d9=_0x488f79[_0x53160a['charCodeAt'](_0x3cfa83-0x1)]<<_0x3cfa83%0x4*0x2,_0xe4f1a0=_0x488f79[_0x53160a[_0x5c47c7(0x415)](_0x3cfa83)]>>>0x6-_0x3cfa83%0x4*0x2,_0x3a6ab4=_0x1074d9|_0xe4f1a0;_0x486d65[_0x33c85f>>>0x2]|=_0x3a6ab4<<0x18-_0x33c85f%0x4*0x8,_0x33c85f++;}return _0x53ac28[_0x5c47c7(0x199)](_0x486d65,_0x33c85f);}}()),_0xd832dc[_0xab3bb9(0x230)][_0xab3bb9(0x15d)];}));}(Ye)),Ye[_0x50f29b(0x1ba)];}var We={'exports':{}},vn=We['exports'],Jt;function pn(){var _0x3fe131=_0x2628af;return Jt||(Jt=0x1,function(_0x396c0a,_0x19f9d4){(function(_0x1393b2,_0x151c1c){var _0xcae269=_0x449a;_0x396c0a[_0xcae269(0x1ba)]=_0x151c1c(te());}(vn,function(_0x3cd1a6){var _0x526bf2=_0x449a;return function(_0x58773e){var _0x273c2b=_0x449a,_0x454a4b=_0x3cd1a6,_0x12b65a=_0x454a4b['lib'],_0x4e6e49=_0x12b65a[_0x273c2b(0x301)],_0x51d016=_0x12b65a[_0x273c2b(0x3b7)],_0x57bfa3=_0x454a4b[_0x273c2b(0x14b)],_0x1eb870=[];(function(){var _0x268b62=_0x273c2b;for(var _0x1b2a0b=0x0;_0x1b2a0b<0x40;_0x1b2a0b++)_0x1eb870[_0x1b2a0b]=_0x58773e[_0x268b62(0x35c)](_0x58773e['sin'](_0x1b2a0b+0x1))*0x100000000|0x0;}());var _0x582c74=_0x57bfa3['MD5']=_0x51d016[_0x273c2b(0x1bd)]({'_doReset':function(){var _0x18d8cc=_0x273c2b;this[_0x18d8cc(0x241)]=new _0x4e6e49[(_0x18d8cc(0x42c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54da16,_0x596ba1){var _0x317af9=_0x273c2b;for(var _0x1b908d=0x0;_0x1b908d<0x10;_0x1b908d++){var _0x40bc57=_0x596ba1+_0x1b908d,_0xb9c220=_0x54da16[_0x40bc57];_0x54da16[_0x40bc57]=(_0xb9c220<<0x8|_0xb9c220>>>0x18)&0xff00ff|(_0xb9c220<<0x18|_0xb9c220>>>0x8)&0xff00ff00;}var _0x477c12=this[_0x317af9(0x241)][_0x317af9(0x2fb)],_0x4d0e57=_0x54da16[_0x596ba1+0x0],_0x139684=_0x54da16[_0x596ba1+0x1],_0xcfffce=_0x54da16[_0x596ba1+0x2],_0x49b63a=_0x54da16[_0x596ba1+0x3],_0x41750e=_0x54da16[_0x596ba1+0x4],_0x399585=_0x54da16[_0x596ba1+0x5],_0x29e247=_0x54da16[_0x596ba1+0x6],_0x5dd5bf=_0x54da16[_0x596ba1+0x7],_0x1e351f=_0x54da16[_0x596ba1+0x8],_0x299afb=_0x54da16[_0x596ba1+0x9],_0x42d3d0=_0x54da16[_0x596ba1+0xa],_0x1ba172=_0x54da16[_0x596ba1+0xb],_0x4fbf7f=_0x54da16[_0x596ba1+0xc],_0x143c07=_0x54da16[_0x596ba1+0xd],_0x20d9fd=_0x54da16[_0x596ba1+0xe],_0x230d60=_0x54da16[_0x596ba1+0xf],_0x137d70=_0x477c12[0x0],_0x293162=_0x477c12[0x1],_0x5609c3=_0x477c12[0x2],_0x3bba72=_0x477c12[0x3];_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4d0e57,0x7,_0x1eb870[0x0]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x139684,0xc,_0x1eb870[0x1]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0xcfffce,0x11,_0x1eb870[0x2]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x49b63a,0x16,_0x1eb870[0x3]),_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x41750e,0x7,_0x1eb870[0x4]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x399585,0xc,_0x1eb870[0x5]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x29e247,0x11,_0x1eb870[0x6]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x5dd5bf,0x16,_0x1eb870[0x7]),_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x1e351f,0x7,_0x1eb870[0x8]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x299afb,0xc,_0x1eb870[0x9]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x42d3d0,0x11,_0x1eb870[0xa]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x1ba172,0x16,_0x1eb870[0xb]),_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4fbf7f,0x7,_0x1eb870[0xc]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x143c07,0xc,_0x1eb870[0xd]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x20d9fd,0x11,_0x1eb870[0xe]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x230d60,0x16,_0x1eb870[0xf]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x139684,0x5,_0x1eb870[0x10]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x29e247,0x9,_0x1eb870[0x11]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x1ba172,0xe,_0x1eb870[0x12]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x4d0e57,0x14,_0x1eb870[0x13]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x399585,0x5,_0x1eb870[0x14]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x42d3d0,0x9,_0x1eb870[0x15]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x230d60,0xe,_0x1eb870[0x16]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x41750e,0x14,_0x1eb870[0x17]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x299afb,0x5,_0x1eb870[0x18]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x20d9fd,0x9,_0x1eb870[0x19]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x49b63a,0xe,_0x1eb870[0x1a]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x1e351f,0x14,_0x1eb870[0x1b]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x143c07,0x5,_0x1eb870[0x1c]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0xcfffce,0x9,_0x1eb870[0x1d]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x5dd5bf,0xe,_0x1eb870[0x1e]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x4fbf7f,0x14,_0x1eb870[0x1f]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x399585,0x4,_0x1eb870[0x20]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x1e351f,0xb,_0x1eb870[0x21]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x1ba172,0x10,_0x1eb870[0x22]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x20d9fd,0x17,_0x1eb870[0x23]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x139684,0x4,_0x1eb870[0x24]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x41750e,0xb,_0x1eb870[0x25]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x5dd5bf,0x10,_0x1eb870[0x26]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x42d3d0,0x17,_0x1eb870[0x27]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x143c07,0x4,_0x1eb870[0x28]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x4d0e57,0xb,_0x1eb870[0x29]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x49b63a,0x10,_0x1eb870[0x2a]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x29e247,0x17,_0x1eb870[0x2b]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x299afb,0x4,_0x1eb870[0x2c]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x4fbf7f,0xb,_0x1eb870[0x2d]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x230d60,0x10,_0x1eb870[0x2e]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0xcfffce,0x17,_0x1eb870[0x2f]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4d0e57,0x6,_0x1eb870[0x30]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x5dd5bf,0xa,_0x1eb870[0x31]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x20d9fd,0xf,_0x1eb870[0x32]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x399585,0x15,_0x1eb870[0x33]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4fbf7f,0x6,_0x1eb870[0x34]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x49b63a,0xa,_0x1eb870[0x35]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x42d3d0,0xf,_0x1eb870[0x36]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x139684,0x15,_0x1eb870[0x37]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x1e351f,0x6,_0x1eb870[0x38]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x230d60,0xa,_0x1eb870[0x39]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x29e247,0xf,_0x1eb870[0x3a]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x143c07,0x15,_0x1eb870[0x3b]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x41750e,0x6,_0x1eb870[0x3c]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x1ba172,0xa,_0x1eb870[0x3d]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0xcfffce,0xf,_0x1eb870[0x3e]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x299afb,0x15,_0x1eb870[0x3f]),_0x477c12[0x0]=_0x477c12[0x0]+_0x137d70|0x0,_0x477c12[0x1]=_0x477c12[0x1]+_0x293162|0x0,_0x477c12[0x2]=_0x477c12[0x2]+_0x5609c3|0x0,_0x477c12[0x3]=_0x477c12[0x3]+_0x3bba72|0x0;},'_doFinalize':function(){var _0x2f10b5=_0x273c2b,_0x255db0=this[_0x2f10b5(0x2e2)],_0x266f2d=_0x255db0[_0x2f10b5(0x2fb)],_0x54906c=this[_0x2f10b5(0x331)]*0x8,_0x33a365=_0x255db0[_0x2f10b5(0x147)]*0x8;_0x266f2d[_0x33a365>>>0x5]|=0x80<<0x18-_0x33a365%0x20;var _0x2e3c42=_0x58773e[_0x2f10b5(0x1cd)](_0x54906c/0x100000000),_0x53f4f1=_0x54906c;_0x266f2d[(_0x33a365+0x40>>>0x9<<0x4)+0xf]=(_0x2e3c42<<0x8|_0x2e3c42>>>0x18)&0xff00ff|(_0x2e3c42<<0x18|_0x2e3c42>>>0x8)&0xff00ff00,_0x266f2d[(_0x33a365+0x40>>>0x9<<0x4)+0xe]=(_0x53f4f1<<0x8|_0x53f4f1>>>0x18)&0xff00ff|(_0x53f4f1<<0x18|_0x53f4f1>>>0x8)&0xff00ff00,_0x255db0[_0x2f10b5(0x147)]=(_0x266f2d[_0x2f10b5(0x2a7)]+0x1)*0x4,this[_0x2f10b5(0x173)]();for(var _0x464606=this[_0x2f10b5(0x241)],_0x3958a6=_0x464606[_0x2f10b5(0x2fb)],_0x1894b8=0x0;_0x1894b8<0x4;_0x1894b8++){var _0x28aea5=_0x3958a6[_0x1894b8];_0x3958a6[_0x1894b8]=(_0x28aea5<<0x8|_0x28aea5>>>0x18)&0xff00ff|(_0x28aea5<<0x18|_0x28aea5>>>0x8)&0xff00ff00;}return _0x464606;},'clone':function(){var _0x31bbab=_0x273c2b,_0x4ddf00=_0x51d016[_0x31bbab(0x1f9)][_0x31bbab(0x3aa)](this);return _0x4ddf00[_0x31bbab(0x241)]=this[_0x31bbab(0x241)][_0x31bbab(0x1f9)](),_0x4ddf00;}});function _0xfaedbf(_0xa64f50,_0x92cc8e,_0x3a518a,_0x4c0816,_0x3b447f,_0x3b6322,_0x2bdc37){var _0x3dd6ba=_0xa64f50+(_0x92cc8e&_0x3a518a|~_0x92cc8e&_0x4c0816)+_0x3b447f+_0x2bdc37;return(_0x3dd6ba<<_0x3b6322|_0x3dd6ba>>>0x20-_0x3b6322)+_0x92cc8e;}function _0x2d339e(_0x278262,_0x4983c0,_0x52d142,_0x5fc5ca,_0x44abdb,_0x5a795d,_0x6590a){var _0x27ee17=_0x278262+(_0x4983c0&_0x5fc5ca|_0x52d142&~_0x5fc5ca)+_0x44abdb+_0x6590a;return(_0x27ee17<<_0x5a795d|_0x27ee17>>>0x20-_0x5a795d)+_0x4983c0;}function _0x2e61cf(_0x5af3b1,_0x3fdf7b,_0x2b803c,_0x117070,_0x2873ac,_0x3d7e25,_0x5712e1){var _0x1a0349=_0x5af3b1+(_0x3fdf7b^_0x2b803c^_0x117070)+_0x2873ac+_0x5712e1;return(_0x1a0349<<_0x3d7e25|_0x1a0349>>>0x20-_0x3d7e25)+_0x3fdf7b;}function _0x5615e9(_0x351824,_0x11035a,_0x1cefdb,_0xae1982,_0x57bf27,_0x1f4de1,_0x4614bd){var _0x56d5c5=_0x351824+(_0x1cefdb^(_0x11035a|~_0xae1982))+_0x57bf27+_0x4614bd;return(_0x56d5c5<<_0x1f4de1|_0x56d5c5>>>0x20-_0x1f4de1)+_0x11035a;}_0x454a4b[_0x273c2b(0x3b3)]=_0x51d016['_createHelper'](_0x582c74),_0x454a4b[_0x273c2b(0x3e9)]=_0x51d016[_0x273c2b(0x166)](_0x582c74);}(Math),_0x3cd1a6[_0x526bf2(0x3b3)];}));}(We)),We[_0x3fe131(0x1ba)];}var Ke={'exports':{}},qe={'exports':{}},mn=qe[_0x2628af(0x1ba)],Xt;function gn(){var _0x1caa12=_0x2628af;return Xt||(Xt=0x1,function(_0x524280,_0x435bc5){(function(_0x4fe250,_0x1e5e21){var _0x53bd5e=_0x449a;_0x524280[_0x53bd5e(0x1ba)]=_0x1e5e21(te());}(mn,function(_0x3fe67c){return(function(){var _0x41c5a7=_0x449a,_0x1d637b=_0x3fe67c,_0x22b198=_0x1d637b['lib'],_0x3dc0eb=_0x22b198[_0x41c5a7(0x301)],_0x40f58b=_0x22b198[_0x41c5a7(0x3b7)],_0x58a7cd=_0x1d637b[_0x41c5a7(0x14b)],_0x18f998=[],_0x4df76c=_0x58a7cd[_0x41c5a7(0x442)]=_0x40f58b[_0x41c5a7(0x1bd)]({'_doReset':function(){var _0x462bbf=_0x41c5a7;this[_0x462bbf(0x241)]=new _0x3dc0eb[(_0x462bbf(0x42c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe48ea8,_0x55bb57){for(var _0x19513f=this['_hash']['words'],_0x571ef=_0x19513f[0x0],_0xd47f6=_0x19513f[0x1],_0x123d48=_0x19513f[0x2],_0x22d16f=_0x19513f[0x3],_0x99c141=_0x19513f[0x4],_0x3ed1f1=0x0;_0x3ed1f1<0x50;_0x3ed1f1++){if(_0x3ed1f1<0x10)_0x18f998[_0x3ed1f1]=_0xe48ea8[_0x55bb57+_0x3ed1f1]|0x0;else{var _0x44e391=_0x18f998[_0x3ed1f1-0x3]^_0x18f998[_0x3ed1f1-0x8]^_0x18f998[_0x3ed1f1-0xe]^_0x18f998[_0x3ed1f1-0x10];_0x18f998[_0x3ed1f1]=_0x44e391<<0x1|_0x44e391>>>0x1f;}var _0x316309=(_0x571ef<<0x5|_0x571ef>>>0x1b)+_0x99c141+_0x18f998[_0x3ed1f1];_0x3ed1f1<0x14?_0x316309+=(_0xd47f6&_0x123d48|~_0xd47f6&_0x22d16f)+0x5a827999:_0x3ed1f1<0x28?_0x316309+=(_0xd47f6^_0x123d48^_0x22d16f)+0x6ed9eba1:_0x3ed1f1<0x3c?_0x316309+=(_0xd47f6&_0x123d48|_0xd47f6&_0x22d16f|_0x123d48&_0x22d16f)-0x70e44324:_0x316309+=(_0xd47f6^_0x123d48^_0x22d16f)-0x359d3e2a,_0x99c141=_0x22d16f,_0x22d16f=_0x123d48,_0x123d48=_0xd47f6<<0x1e|_0xd47f6>>>0x2,_0xd47f6=_0x571ef,_0x571ef=_0x316309;}_0x19513f[0x0]=_0x19513f[0x0]+_0x571ef|0x0,_0x19513f[0x1]=_0x19513f[0x1]+_0xd47f6|0x0,_0x19513f[0x2]=_0x19513f[0x2]+_0x123d48|0x0,_0x19513f[0x3]=_0x19513f[0x3]+_0x22d16f|0x0,_0x19513f[0x4]=_0x19513f[0x4]+_0x99c141|0x0;},'_doFinalize':function(){var _0x31e5c2=_0x41c5a7,_0xde66f0=this[_0x31e5c2(0x2e2)],_0x22610f=_0xde66f0[_0x31e5c2(0x2fb)],_0x4b4e86=this[_0x31e5c2(0x331)]*0x8,_0x451e16=_0xde66f0[_0x31e5c2(0x147)]*0x8;return _0x22610f[_0x451e16>>>0x5]|=0x80<<0x18-_0x451e16%0x20,_0x22610f[(_0x451e16+0x40>>>0x9<<0x4)+0xe]=Math[_0x31e5c2(0x1cd)](_0x4b4e86/0x100000000),_0x22610f[(_0x451e16+0x40>>>0x9<<0x4)+0xf]=_0x4b4e86,_0xde66f0[_0x31e5c2(0x147)]=_0x22610f[_0x31e5c2(0x2a7)]*0x4,this[_0x31e5c2(0x173)](),this[_0x31e5c2(0x241)];},'clone':function(){var _0x44c873=_0x41c5a7,_0x3d3352=_0x40f58b['clone'][_0x44c873(0x3aa)](this);return _0x3d3352[_0x44c873(0x241)]=this[_0x44c873(0x241)][_0x44c873(0x1f9)](),_0x3d3352;}});_0x1d637b[_0x41c5a7(0x442)]=_0x40f58b['_createHelper'](_0x4df76c),_0x1d637b['HmacSHA1']=_0x40f58b[_0x41c5a7(0x166)](_0x4df76c);}()),_0x3fe67c['SHA1'];}));}(qe)),qe[_0x1caa12(0x1ba)];}var ze={'exports':{}},Sn=ze[_0x2628af(0x1ba)],Zt;function En(){var _0x20e993=_0x2628af;return Zt||(Zt=0x1,function(_0x40872b,_0x25d668){(function(_0x4a4761,_0x2f4ad2){_0x40872b['exports']=_0x2f4ad2(te());}(Sn,function(_0x1c567c){(function(){var _0x128989=_0x449a,_0x1f5454=_0x1c567c,_0x13c056=_0x1f5454['lib'],_0x1bfce8=_0x13c056[_0x128989(0x14d)],_0x25ef35=_0x1f5454[_0x128989(0x230)],_0x47c98d=_0x25ef35[_0x128989(0x39b)],_0x16a670=_0x1f5454['algo'];_0x16a670[_0x128989(0x34a)]=_0x1bfce8[_0x128989(0x1bd)]({'init':function(_0x5cca28,_0x308283){var _0x3d7f7a=_0x128989;_0x5cca28=this[_0x3d7f7a(0x2db)]=new _0x5cca28[(_0x3d7f7a(0x42c))](),typeof _0x308283==_0x3d7f7a(0x212)&&(_0x308283=_0x47c98d[_0x3d7f7a(0x2a0)](_0x308283));var _0x2878f8=_0x5cca28['blockSize'],_0x49eb6e=_0x2878f8*0x4;_0x308283[_0x3d7f7a(0x147)]>_0x49eb6e&&(_0x308283=_0x5cca28[_0x3d7f7a(0x1d0)](_0x308283)),_0x308283[_0x3d7f7a(0x25d)]();for(var _0x535c12=this[_0x3d7f7a(0x1c5)]=_0x308283['clone'](),_0x351bb5=this[_0x3d7f7a(0x1af)]=_0x308283['clone'](),_0x1b006e=_0x535c12[_0x3d7f7a(0x2fb)],_0x3ae2e3=_0x351bb5[_0x3d7f7a(0x2fb)],_0x51947a=0x0;_0x51947a<_0x2878f8;_0x51947a++)_0x1b006e[_0x51947a]^=0x5c5c5c5c,_0x3ae2e3[_0x51947a]^=0x36363636;_0x535c12[_0x3d7f7a(0x147)]=_0x351bb5[_0x3d7f7a(0x147)]=_0x49eb6e,this[_0x3d7f7a(0x2af)]();},'reset':function(){var _0x353e86=_0x128989,_0x5c0803=this[_0x353e86(0x2db)];_0x5c0803[_0x353e86(0x2af)](),_0x5c0803[_0x353e86(0x294)](this[_0x353e86(0x1af)]);},'update':function(_0x104c90){var _0x4e9f1a=_0x128989;return this['_hasher'][_0x4e9f1a(0x294)](_0x104c90),this;},'finalize':function(_0xd2d656){var _0x103dea=_0x128989,_0x304310=this[_0x103dea(0x2db)],_0x3cebc1=_0x304310[_0x103dea(0x1d0)](_0xd2d656);_0x304310[_0x103dea(0x2af)]();var _0x2d775d=_0x304310[_0x103dea(0x1d0)](this[_0x103dea(0x1c5)][_0x103dea(0x1f9)]()[_0x103dea(0x24e)](_0x3cebc1));return _0x2d775d;}});}());}));}(ze)),ze[_0x20e993(0x1ba)];}var In=Ke[_0x2628af(0x1ba)],Qt;function bi(){var _0x1f5251=_0x2628af;return Qt||(Qt=0x1,function(_0x5b716c,_0x3c6a72){(function(_0xff36e9,_0x2caa95,_0x1d312d){var _0x4866f4=_0x449a;_0x5b716c[_0x4866f4(0x1ba)]=_0x2caa95(te(),gn(),En());}(In,function(_0x23d4ea){var _0x525f88=_0x449a;return(function(){var _0x102b22=_0x449a,_0x42e779=_0x23d4ea,_0x48e714=_0x42e779[_0x102b22(0x161)],_0x44afc0=_0x48e714[_0x102b22(0x14d)],_0x192f68=_0x48e714['WordArray'],_0x15cb94=_0x42e779[_0x102b22(0x14b)],_0x30ce2c=_0x15cb94[_0x102b22(0x3b3)],_0xe3524f=_0x15cb94[_0x102b22(0x295)]=_0x44afc0[_0x102b22(0x1bd)]({'cfg':_0x44afc0[_0x102b22(0x1bd)]({'keySize':0x80/0x20,'hasher':_0x30ce2c,'iterations':0x1}),'init':function(_0x5c6c9b){var _0x4ce62f=_0x102b22;this['cfg']=this[_0x4ce62f(0x201)][_0x4ce62f(0x1bd)](_0x5c6c9b);},'compute':function(_0x2243e9,_0x19557e){var _0x541b6a=_0x102b22;for(var _0xcab575,_0x4c6203=this[_0x541b6a(0x201)],_0x29164b=_0x4c6203[_0x541b6a(0x1a1)][_0x541b6a(0x199)](),_0x538f33=_0x192f68['create'](),_0x1776e1=_0x538f33[_0x541b6a(0x2fb)],_0x10c2d1=_0x4c6203[_0x541b6a(0x1f5)],_0x343336=_0x4c6203[_0x541b6a(0x29e)];_0x1776e1[_0x541b6a(0x2a7)]<_0x10c2d1;){_0xcab575&&_0x29164b['update'](_0xcab575),_0xcab575=_0x29164b[_0x541b6a(0x294)](_0x2243e9)[_0x541b6a(0x1d0)](_0x19557e),_0x29164b[_0x541b6a(0x2af)]();for(var _0x3b7da3=0x1;_0x3b7da3<_0x343336;_0x3b7da3++)_0xcab575=_0x29164b['finalize'](_0xcab575),_0x29164b[_0x541b6a(0x2af)]();_0x538f33[_0x541b6a(0x24e)](_0xcab575);}return _0x538f33['sigBytes']=_0x10c2d1*0x4,_0x538f33;}});_0x42e779['EvpKDF']=function(_0x1aaa7e,_0x3e1e40,_0x5baa65){return _0xe3524f['create'](_0x5baa65)['compute'](_0x1aaa7e,_0x3e1e40);};}()),_0x23d4ea[_0x525f88(0x295)];}));}(Ke)),Ke[_0x1f5251(0x1ba)];}var Je={'exports':{}},Tn=Je[_0x2628af(0x1ba)],ei;function yi(){var _0x2948a8=_0x2628af;return ei||(ei=0x1,function(_0xd35142,_0x4be83b){(function(_0x119a4e,_0x23bbc2,_0x39770a){var _0x3d2a43=_0x449a;_0xd35142[_0x3d2a43(0x1ba)]=_0x23bbc2(te(),bi());}(Tn,function(_0x4ee315){var _0x14f32a=_0x449a;_0x4ee315['lib'][_0x14f32a(0x233)]||function(_0x36a298){var _0x574290=_0x14f32a,_0x55511e=_0x4ee315,_0x2c5bfc=_0x55511e[_0x574290(0x161)],_0x57f6f=_0x2c5bfc['Base'],_0x357b13=_0x2c5bfc[_0x574290(0x301)],_0x5a8d13=_0x2c5bfc['BufferedBlockAlgorithm'],_0x18d8cd=_0x55511e['enc'];_0x18d8cd[_0x574290(0x39b)];var _0x5f57a9=_0x18d8cd[_0x574290(0x15d)],_0x395949=_0x55511e[_0x574290(0x14b)],_0x2e3f0d=_0x395949[_0x574290(0x295)],_0x568126=_0x2c5bfc[_0x574290(0x233)]=_0x5a8d13[_0x574290(0x1bd)]({'cfg':_0x57f6f['extend'](),'createEncryptor':function(_0x359129,_0x5d9e81){var _0x38702f=_0x574290;return this[_0x38702f(0x199)](this['_ENC_XFORM_MODE'],_0x359129,_0x5d9e81);},'createDecryptor':function(_0x236e5b,_0x1f4e92){var _0x28c0b4=_0x574290;return this[_0x28c0b4(0x199)](this[_0x28c0b4(0x21c)],_0x236e5b,_0x1f4e92);},'init':function(_0x1e2a73,_0x48a011,_0x12ecee){var _0x332e5c=_0x574290;this[_0x332e5c(0x201)]=this[_0x332e5c(0x201)][_0x332e5c(0x1bd)](_0x12ecee),this[_0x332e5c(0x354)]=_0x1e2a73,this[_0x332e5c(0x15e)]=_0x48a011,this[_0x332e5c(0x2af)]();},'reset':function(){var _0x143003=_0x574290;_0x5a8d13[_0x143003(0x2af)]['call'](this),this[_0x143003(0x3de)]();},'process':function(_0x13bc64){var _0x3c07b8=_0x574290;return this[_0x3c07b8(0x2c9)](_0x13bc64),this[_0x3c07b8(0x173)]();},'finalize':function(_0xc46710){var _0x5cd396=_0x574290;_0xc46710&&this[_0x5cd396(0x2c9)](_0xc46710);var _0x214212=this[_0x5cd396(0x139)]();return _0x214212;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x377e7a(_0xfc6e24){var _0x45abf5=_0x449a;return typeof _0xfc6e24==_0x45abf5(0x212)?_0x1cc503:_0x18cd0e;}return function(_0x5450de){return{'encrypt':function(_0x4dfc3e,_0x5a86a1,_0x1eebe7){var _0xf22c57=_0x449a;return _0x377e7a(_0x5a86a1)[_0xf22c57(0x13c)](_0x5450de,_0x4dfc3e,_0x5a86a1,_0x1eebe7);},'decrypt':function(_0x13bcee,_0xf6b16c,_0x173c36){var _0x1698ad=_0x449a;return _0x377e7a(_0xf6b16c)[_0x1698ad(0x1b2)](_0x5450de,_0x13bcee,_0xf6b16c,_0x173c36);}};};}())});_0x2c5bfc[_0x574290(0x2f4)]=_0x568126[_0x574290(0x1bd)]({'_doFinalize':function(){var _0x48b9d3=_0x574290,_0x5042d5=this[_0x48b9d3(0x173)](!0x0);return _0x5042d5;},'blockSize':0x1});var _0xf86c90=_0x55511e[_0x574290(0x227)]={},_0x4036c1=_0x2c5bfc[_0x574290(0x417)]=_0x57f6f['extend']({'createEncryptor':function(_0x24b698,_0x58bee1){var _0x34c38f=_0x574290;return this[_0x34c38f(0x374)][_0x34c38f(0x199)](_0x24b698,_0x58bee1);},'createDecryptor':function(_0x315ca1,_0x26ee42){var _0x3c8073=_0x574290;return this[_0x3c8073(0x328)]['create'](_0x315ca1,_0x26ee42);},'init':function(_0x2f3d90,_0x44b149){var _0x4345e4=_0x574290;this[_0x4345e4(0x2aa)]=_0x2f3d90,this[_0x4345e4(0x2cc)]=_0x44b149;}}),_0x2b9154=_0xf86c90[_0x574290(0x1fe)]=(function(){var _0x54e335=_0x574290,_0x1857bb=_0x4036c1[_0x54e335(0x1bd)]();_0x1857bb[_0x54e335(0x374)]=_0x1857bb[_0x54e335(0x1bd)]({'processBlock':function(_0x322f00,_0x3b0dcd){var _0xff41fd=_0x54e335,_0x290001=this['_cipher'],_0x1b550f=_0x290001['blockSize'];_0x3f0e9f['call'](this,_0x322f00,_0x3b0dcd,_0x1b550f),_0x290001[_0xff41fd(0x202)](_0x322f00,_0x3b0dcd),this[_0xff41fd(0x14e)]=_0x322f00[_0xff41fd(0x223)](_0x3b0dcd,_0x3b0dcd+_0x1b550f);}}),_0x1857bb[_0x54e335(0x328)]=_0x1857bb[_0x54e335(0x1bd)]({'processBlock':function(_0x37ba7b,_0x28d0d9){var _0x5b5fee=_0x54e335,_0x4d0d1c=this['_cipher'],_0xa401d=_0x4d0d1c[_0x5b5fee(0x169)],_0x1b8c5c=_0x37ba7b[_0x5b5fee(0x223)](_0x28d0d9,_0x28d0d9+_0xa401d);_0x4d0d1c[_0x5b5fee(0x1e3)](_0x37ba7b,_0x28d0d9),_0x3f0e9f[_0x5b5fee(0x3aa)](this,_0x37ba7b,_0x28d0d9,_0xa401d),this[_0x5b5fee(0x14e)]=_0x1b8c5c;}});function _0x3f0e9f(_0x311cca,_0x3cf0cc,_0x17aa4a){var _0x28294a=_0x54e335,_0x3c11d2,_0x4c6754=this[_0x28294a(0x2cc)];_0x4c6754?(_0x3c11d2=_0x4c6754,this['_iv']=_0x36a298):_0x3c11d2=this[_0x28294a(0x14e)];for(var _0xd77bc4=0x0;_0xd77bc4<_0x17aa4a;_0xd77bc4++)_0x311cca[_0x3cf0cc+_0xd77bc4]^=_0x3c11d2[_0xd77bc4];}return _0x1857bb;}()),_0xb5f1f3=_0x55511e[_0x574290(0x2f6)]={},_0x12de0e=_0xb5f1f3[_0x574290(0x373)]={'pad':function(_0x33ee30,_0x5197aa){var _0x15ca8d=_0x574290;for(var _0x4b4ccb=_0x5197aa*0x4,_0x4ffd4f=_0x4b4ccb-_0x33ee30[_0x15ca8d(0x147)]%_0x4b4ccb,_0x5f35bf=_0x4ffd4f<<0x18|_0x4ffd4f<<0x10|_0x4ffd4f<<0x8|_0x4ffd4f,_0x5183f3=[],_0x52e06f=0x0;_0x52e06f<_0x4ffd4f;_0x52e06f+=0x4)_0x5183f3[_0x15ca8d(0x3eb)](_0x5f35bf);var _0x2f330d=_0x357b13['create'](_0x5183f3,_0x4ffd4f);_0x33ee30[_0x15ca8d(0x24e)](_0x2f330d);},'unpad':function(_0x5d5eda){var _0x1f90c1=_0x574290,_0x3b9f44=_0x5d5eda['words'][_0x5d5eda[_0x1f90c1(0x147)]-0x1>>>0x2]&0xff;_0x5d5eda[_0x1f90c1(0x147)]-=_0x3b9f44;}};_0x2c5bfc['BlockCipher']=_0x568126['extend']({'cfg':_0x568126[_0x574290(0x201)][_0x574290(0x1bd)]({'mode':_0x2b9154,'padding':_0x12de0e}),'reset':function(){var _0x3fc46c=_0x574290,_0x3a0bba;_0x568126[_0x3fc46c(0x2af)][_0x3fc46c(0x3aa)](this);var _0xa9997c=this[_0x3fc46c(0x201)],_0x42224c=_0xa9997c['iv'],_0x5c5154=_0xa9997c[_0x3fc46c(0x227)];this[_0x3fc46c(0x354)]==this[_0x3fc46c(0x26f)]?_0x3a0bba=_0x5c5154[_0x3fc46c(0x1fd)]:(_0x3a0bba=_0x5c5154['createDecryptor'],this[_0x3fc46c(0x219)]=0x1),this['_mode']&&this[_0x3fc46c(0x2d0)][_0x3fc46c(0x2d7)]==_0x3a0bba?this[_0x3fc46c(0x2d0)][_0x3fc46c(0x42c)](this,_0x42224c&&_0x42224c[_0x3fc46c(0x2fb)]):(this[_0x3fc46c(0x2d0)]=_0x3a0bba[_0x3fc46c(0x3aa)](_0x5c5154,this,_0x42224c&&_0x42224c[_0x3fc46c(0x2fb)]),this[_0x3fc46c(0x2d0)]['__creator']=_0x3a0bba);},'_doProcessBlock':function(_0x261ef0,_0x512247){var _0x43c0fa=_0x574290;this[_0x43c0fa(0x2d0)][_0x43c0fa(0x260)](_0x261ef0,_0x512247);},'_doFinalize':function(){var _0x2c8f56=_0x574290,_0x5392ce,_0x30a86d=this[_0x2c8f56(0x201)][_0x2c8f56(0x26d)];return this[_0x2c8f56(0x354)]==this[_0x2c8f56(0x26f)]?(_0x30a86d[_0x2c8f56(0x2f6)](this[_0x2c8f56(0x2e2)],this[_0x2c8f56(0x169)]),_0x5392ce=this[_0x2c8f56(0x173)](!0x0)):(_0x5392ce=this['_process'](!0x0),_0x30a86d[_0x2c8f56(0x440)](_0x5392ce)),_0x5392ce;},'blockSize':0x80/0x20});var _0x295d07=_0x2c5bfc[_0x574290(0x3bf)]=_0x57f6f[_0x574290(0x1bd)]({'init':function(_0x5e1689){var _0x368d6a=_0x574290;this[_0x368d6a(0x39a)](_0x5e1689);},'toString':function(_0x1f676f){var _0x15d0a8=_0x574290;return(_0x1f676f||this[_0x15d0a8(0x2fe)])[_0x15d0a8(0x2b0)](this);}}),_0x4b7619=_0x55511e[_0x574290(0x368)]={},_0x382907=_0x4b7619['OpenSSL']={'stringify':function(_0x22d9d9){var _0x4fce28=_0x574290,_0x46aa8a,_0xf94669=_0x22d9d9[_0x4fce28(0x41c)],_0x404ffd=_0x22d9d9['salt'];return _0x404ffd?_0x46aa8a=_0x357b13[_0x4fce28(0x199)]([0x53616c74,0x65645f5f])[_0x4fce28(0x24e)](_0x404ffd)[_0x4fce28(0x24e)](_0xf94669):_0x46aa8a=_0xf94669,_0x46aa8a[_0x4fce28(0x2f7)](_0x5f57a9);},'parse':function(_0x5effbc){var _0x5df281=_0x574290,_0x52e989,_0x3313a5=_0x5f57a9['parse'](_0x5effbc),_0x78534f=_0x3313a5['words'];return _0x78534f[0x0]==0x53616c74&&_0x78534f[0x1]==0x65645f5f&&(_0x52e989=_0x357b13['create'](_0x78534f[_0x5df281(0x223)](0x2,0x4)),_0x78534f['splice'](0x0,0x4),_0x3313a5[_0x5df281(0x147)]-=0x10),_0x295d07[_0x5df281(0x199)]({'ciphertext':_0x3313a5,'salt':_0x52e989});}},_0x18cd0e=_0x2c5bfc[_0x574290(0x3f3)]=_0x57f6f['extend']({'cfg':_0x57f6f[_0x574290(0x1bd)]({'format':_0x382907}),'encrypt':function(_0x108188,_0x57742f,_0x4a8105,_0x8636ea){var _0x5545b4=_0x574290;_0x8636ea=this['cfg']['extend'](_0x8636ea);var _0x243ebe=_0x108188[_0x5545b4(0x1fd)](_0x4a8105,_0x8636ea),_0x3eabde=_0x243ebe[_0x5545b4(0x1d0)](_0x57742f),_0x17ffb2=_0x243ebe[_0x5545b4(0x201)];return _0x295d07['create']({'ciphertext':_0x3eabde,'key':_0x4a8105,'iv':_0x17ffb2['iv'],'algorithm':_0x108188,'mode':_0x17ffb2[_0x5545b4(0x227)],'padding':_0x17ffb2[_0x5545b4(0x26d)],'blockSize':_0x108188[_0x5545b4(0x169)],'formatter':_0x8636ea['format']});},'decrypt':function(_0x178c46,_0xa81549,_0x34bff7,_0x3cd7a4){var _0x36d85f=_0x574290;_0x3cd7a4=this['cfg']['extend'](_0x3cd7a4),_0xa81549=this[_0x36d85f(0x42b)](_0xa81549,_0x3cd7a4[_0x36d85f(0x368)]);var _0x534729=_0x178c46[_0x36d85f(0x1cb)](_0x34bff7,_0x3cd7a4)[_0x36d85f(0x1d0)](_0xa81549[_0x36d85f(0x41c)]);return _0x534729;},'_parse':function(_0x481aab,_0x4c4e46){var _0x55c950=_0x574290;return typeof _0x481aab==_0x55c950(0x212)?_0x4c4e46[_0x55c950(0x2a0)](_0x481aab,this):_0x481aab;}}),_0x20d1fe=_0x55511e[_0x574290(0x339)]={},_0x37afb7=_0x20d1fe[_0x574290(0x177)]={'execute':function(_0x4ae7e3,_0x27c816,_0x321580,_0x29d8af,_0x1c9263){var _0x31546a=_0x574290;if(_0x29d8af||(_0x29d8af=_0x357b13[_0x31546a(0x2b2)](0x40/0x8)),_0x1c9263)var _0x42fccc=_0x2e3f0d[_0x31546a(0x199)]({'keySize':_0x27c816+_0x321580,'hasher':_0x1c9263})[_0x31546a(0x17b)](_0x4ae7e3,_0x29d8af);else var _0x42fccc=_0x2e3f0d[_0x31546a(0x199)]({'keySize':_0x27c816+_0x321580})['compute'](_0x4ae7e3,_0x29d8af);var _0x2d244c=_0x357b13[_0x31546a(0x199)](_0x42fccc[_0x31546a(0x2fb)][_0x31546a(0x223)](_0x27c816),_0x321580*0x4);return _0x42fccc[_0x31546a(0x147)]=_0x27c816*0x4,_0x295d07[_0x31546a(0x199)]({'key':_0x42fccc,'iv':_0x2d244c,'salt':_0x29d8af});}},_0x1cc503=_0x2c5bfc[_0x574290(0x38e)]=_0x18cd0e[_0x574290(0x1bd)]({'cfg':_0x18cd0e['cfg'][_0x574290(0x1bd)]({'kdf':_0x37afb7}),'encrypt':function(_0x3794b1,_0x46dc66,_0x3019d7,_0xe9296a){var _0x34deb9=_0x574290;_0xe9296a=this[_0x34deb9(0x201)][_0x34deb9(0x1bd)](_0xe9296a);var _0x45d0af=_0xe9296a['kdf'][_0x34deb9(0x13e)](_0x3019d7,_0x3794b1[_0x34deb9(0x1f5)],_0x3794b1['ivSize'],_0xe9296a['salt'],_0xe9296a[_0x34deb9(0x1a1)]);_0xe9296a['iv']=_0x45d0af['iv'];var _0x3367fb=_0x18cd0e[_0x34deb9(0x13c)][_0x34deb9(0x3aa)](this,_0x3794b1,_0x46dc66,_0x45d0af[_0x34deb9(0x251)],_0xe9296a);return _0x3367fb[_0x34deb9(0x39a)](_0x45d0af),_0x3367fb;},'decrypt':function(_0xc015bd,_0x7b2cff,_0x543ae0,_0x201e93){var _0x3a8e41=_0x574290;_0x201e93=this[_0x3a8e41(0x201)][_0x3a8e41(0x1bd)](_0x201e93),_0x7b2cff=this[_0x3a8e41(0x42b)](_0x7b2cff,_0x201e93['format']);var _0x534fc2=_0x201e93[_0x3a8e41(0x339)]['execute'](_0x543ae0,_0xc015bd['keySize'],_0xc015bd['ivSize'],_0x7b2cff[_0x3a8e41(0x29b)],_0x201e93[_0x3a8e41(0x1a1)]);_0x201e93['iv']=_0x534fc2['iv'];var _0x45d0c6=_0x18cd0e['decrypt']['call'](this,_0xc015bd,_0x7b2cff,_0x534fc2[_0x3a8e41(0x251)],_0x201e93);return _0x45d0c6;}});}();}));}(Je)),Je[_0x2948a8(0x1ba)];}var Cn=Ve[_0x2628af(0x1ba)],ti;function Rn(){var _0xe9b9f8=_0x2628af;return ti||(ti=0x1,function(_0x4e7221,_0x3d9001){(function(_0x3c9eed,_0x18f0dc,_0x20fb4f){_0x4e7221['exports']=_0x18f0dc(te(),Oi(),pn(),bi(),yi());}(Cn,function(_0xa15ff1){var _0x67b502=_0x449a;return(function(){var _0x17d439=_0x449a,_0xb12511=_0xa15ff1,_0x7cdfd7=_0xb12511[_0x17d439(0x161)],_0x4e6b48=_0x7cdfd7[_0x17d439(0x21e)],_0x281e75=_0xb12511['algo'],_0x1a2c54=[],_0x3ed075=[],_0x38dcfb=[],_0xc8635a=[],_0x588287=[],_0x41fb32=[],_0x38d758=[],_0x55940f=[],_0x3584ff=[],_0x48da8e=[];(function(){for(var _0x4089b4=[],_0x36ef6f=0x0;_0x36ef6f<0x100;_0x36ef6f++)_0x36ef6f<0x80?_0x4089b4[_0x36ef6f]=_0x36ef6f<<0x1:_0x4089b4[_0x36ef6f]=_0x36ef6f<<0x1^0x11b;for(var _0x5d76ec=0x0,_0x4e42b0=0x0,_0x36ef6f=0x0;_0x36ef6f<0x100;_0x36ef6f++){var _0x563010=_0x4e42b0^_0x4e42b0<<0x1^_0x4e42b0<<0x2^_0x4e42b0<<0x3^_0x4e42b0<<0x4;_0x563010=_0x563010>>>0x8^_0x563010&0xff^0x63,_0x1a2c54[_0x5d76ec]=_0x563010,_0x3ed075[_0x563010]=_0x5d76ec;var _0x24322a=_0x4089b4[_0x5d76ec],_0x3ccbd9=_0x4089b4[_0x24322a],_0x1890cb=_0x4089b4[_0x3ccbd9],_0x558b89=_0x4089b4[_0x563010]*0x101^_0x563010*0x1010100;_0x38dcfb[_0x5d76ec]=_0x558b89<<0x18|_0x558b89>>>0x8,_0xc8635a[_0x5d76ec]=_0x558b89<<0x10|_0x558b89>>>0x10,_0x588287[_0x5d76ec]=_0x558b89<<0x8|_0x558b89>>>0x18,_0x41fb32[_0x5d76ec]=_0x558b89;var _0x558b89=_0x1890cb*0x1010101^_0x3ccbd9*0x10001^_0x24322a*0x101^_0x5d76ec*0x1010100;_0x38d758[_0x563010]=_0x558b89<<0x18|_0x558b89>>>0x8,_0x55940f[_0x563010]=_0x558b89<<0x10|_0x558b89>>>0x10,_0x3584ff[_0x563010]=_0x558b89<<0x8|_0x558b89>>>0x18,_0x48da8e[_0x563010]=_0x558b89,_0x5d76ec?(_0x5d76ec=_0x24322a^_0x4089b4[_0x4089b4[_0x4089b4[_0x1890cb^_0x24322a]]],_0x4e42b0^=_0x4089b4[_0x4089b4[_0x4e42b0]]):_0x5d76ec=_0x4e42b0=0x1;}}());var _0x3c37ec=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x307c7e=_0x281e75['AES']=_0x4e6b48['extend']({'_doReset':function(){var _0x3716e2=_0x17d439,_0x1b4463;if(!(this[_0x3716e2(0x3f9)]&&this[_0x3716e2(0x19e)]===this[_0x3716e2(0x15e)])){for(var _0x4c2015=this['_keyPriorReset']=this[_0x3716e2(0x15e)],_0x4194df=_0x4c2015[_0x3716e2(0x2fb)],_0xe15770=_0x4c2015[_0x3716e2(0x147)]/0x4,_0x3b8500=this['_nRounds']=_0xe15770+0x6,_0x32c4eb=(_0x3b8500+0x1)*0x4,_0x1fe58f=this['_keySchedule']=[],_0x7b02a1=0x0;_0x7b02a1<_0x32c4eb;_0x7b02a1++)_0x7b02a1<_0xe15770?_0x1fe58f[_0x7b02a1]=_0x4194df[_0x7b02a1]:(_0x1b4463=_0x1fe58f[_0x7b02a1-0x1],_0x7b02a1%_0xe15770?_0xe15770>0x6&&_0x7b02a1%_0xe15770==0x4&&(_0x1b4463=_0x1a2c54[_0x1b4463>>>0x18]<<0x18|_0x1a2c54[_0x1b4463>>>0x10&0xff]<<0x10|_0x1a2c54[_0x1b4463>>>0x8&0xff]<<0x8|_0x1a2c54[_0x1b4463&0xff]):(_0x1b4463=_0x1b4463<<0x8|_0x1b4463>>>0x18,_0x1b4463=_0x1a2c54[_0x1b4463>>>0x18]<<0x18|_0x1a2c54[_0x1b4463>>>0x10&0xff]<<0x10|_0x1a2c54[_0x1b4463>>>0x8&0xff]<<0x8|_0x1a2c54[_0x1b4463&0xff],_0x1b4463^=_0x3c37ec[_0x7b02a1/_0xe15770|0x0]<<0x18),_0x1fe58f[_0x7b02a1]=_0x1fe58f[_0x7b02a1-_0xe15770]^_0x1b4463);for(var _0x1c5fc2=this[_0x3716e2(0x28c)]=[],_0x2910f2=0x0;_0x2910f2<_0x32c4eb;_0x2910f2++){var _0x7b02a1=_0x32c4eb-_0x2910f2;if(_0x2910f2%0x4)var _0x1b4463=_0x1fe58f[_0x7b02a1];else var _0x1b4463=_0x1fe58f[_0x7b02a1-0x4];_0x2910f2<0x4||_0x7b02a1<=0x4?_0x1c5fc2[_0x2910f2]=_0x1b4463:_0x1c5fc2[_0x2910f2]=_0x38d758[_0x1a2c54[_0x1b4463>>>0x18]]^_0x55940f[_0x1a2c54[_0x1b4463>>>0x10&0xff]]^_0x3584ff[_0x1a2c54[_0x1b4463>>>0x8&0xff]]^_0x48da8e[_0x1a2c54[_0x1b4463&0xff]];}}},'encryptBlock':function(_0x23144e,_0xfdf483){var _0x1a65d6=_0x17d439;this[_0x1a65d6(0x36c)](_0x23144e,_0xfdf483,this[_0x1a65d6(0x183)],_0x38dcfb,_0xc8635a,_0x588287,_0x41fb32,_0x1a2c54);},'decryptBlock':function(_0x339dd1,_0x4e139f){var _0x3fc7f2=_0x17d439,_0x28e5f7=_0x339dd1[_0x4e139f+0x1];_0x339dd1[_0x4e139f+0x1]=_0x339dd1[_0x4e139f+0x3],_0x339dd1[_0x4e139f+0x3]=_0x28e5f7,this[_0x3fc7f2(0x36c)](_0x339dd1,_0x4e139f,this[_0x3fc7f2(0x28c)],_0x38d758,_0x55940f,_0x3584ff,_0x48da8e,_0x3ed075);var _0x28e5f7=_0x339dd1[_0x4e139f+0x1];_0x339dd1[_0x4e139f+0x1]=_0x339dd1[_0x4e139f+0x3],_0x339dd1[_0x4e139f+0x3]=_0x28e5f7;},'_doCryptBlock':function(_0x4d6776,_0x58b6e8,_0x335489,_0x1147a1,_0x51fe71,_0x3a5ebf,_0x3fb26e,_0x4d7795){var _0x54cfa8=_0x17d439;for(var _0x49b8cb=this[_0x54cfa8(0x3f9)],_0x2f9078=_0x4d6776[_0x58b6e8]^_0x335489[0x0],_0xf8b541=_0x4d6776[_0x58b6e8+0x1]^_0x335489[0x1],_0x211dec=_0x4d6776[_0x58b6e8+0x2]^_0x335489[0x2],_0x37c623=_0x4d6776[_0x58b6e8+0x3]^_0x335489[0x3],_0x1b7e9f=0x4,_0x2288ae=0x1;_0x2288ae<_0x49b8cb;_0x2288ae++){var _0x1de5cd=_0x1147a1[_0x2f9078>>>0x18]^_0x51fe71[_0xf8b541>>>0x10&0xff]^_0x3a5ebf[_0x211dec>>>0x8&0xff]^_0x3fb26e[_0x37c623&0xff]^_0x335489[_0x1b7e9f++],_0x4a6c2c=_0x1147a1[_0xf8b541>>>0x18]^_0x51fe71[_0x211dec>>>0x10&0xff]^_0x3a5ebf[_0x37c623>>>0x8&0xff]^_0x3fb26e[_0x2f9078&0xff]^_0x335489[_0x1b7e9f++],_0x49667b=_0x1147a1[_0x211dec>>>0x18]^_0x51fe71[_0x37c623>>>0x10&0xff]^_0x3a5ebf[_0x2f9078>>>0x8&0xff]^_0x3fb26e[_0xf8b541&0xff]^_0x335489[_0x1b7e9f++],_0x37d832=_0x1147a1[_0x37c623>>>0x18]^_0x51fe71[_0x2f9078>>>0x10&0xff]^_0x3a5ebf[_0xf8b541>>>0x8&0xff]^_0x3fb26e[_0x211dec&0xff]^_0x335489[_0x1b7e9f++];_0x2f9078=_0x1de5cd,_0xf8b541=_0x4a6c2c,_0x211dec=_0x49667b,_0x37c623=_0x37d832;}var _0x1de5cd=(_0x4d7795[_0x2f9078>>>0x18]<<0x18|_0x4d7795[_0xf8b541>>>0x10&0xff]<<0x10|_0x4d7795[_0x211dec>>>0x8&0xff]<<0x8|_0x4d7795[_0x37c623&0xff])^_0x335489[_0x1b7e9f++],_0x4a6c2c=(_0x4d7795[_0xf8b541>>>0x18]<<0x18|_0x4d7795[_0x211dec>>>0x10&0xff]<<0x10|_0x4d7795[_0x37c623>>>0x8&0xff]<<0x8|_0x4d7795[_0x2f9078&0xff])^_0x335489[_0x1b7e9f++],_0x49667b=(_0x4d7795[_0x211dec>>>0x18]<<0x18|_0x4d7795[_0x37c623>>>0x10&0xff]<<0x10|_0x4d7795[_0x2f9078>>>0x8&0xff]<<0x8|_0x4d7795[_0xf8b541&0xff])^_0x335489[_0x1b7e9f++],_0x37d832=(_0x4d7795[_0x37c623>>>0x18]<<0x18|_0x4d7795[_0x2f9078>>>0x10&0xff]<<0x10|_0x4d7795[_0xf8b541>>>0x8&0xff]<<0x8|_0x4d7795[_0x211dec&0xff])^_0x335489[_0x1b7e9f++];_0x4d6776[_0x58b6e8]=_0x1de5cd,_0x4d6776[_0x58b6e8+0x1]=_0x4a6c2c,_0x4d6776[_0x58b6e8+0x2]=_0x49667b,_0x4d6776[_0x58b6e8+0x3]=_0x37d832;},'keySize':0x100/0x20});_0xb12511[_0x17d439(0x33f)]=_0x4e6b48['_createHelper'](_0x307c7e);}()),_0xa15ff1[_0x67b502(0x33f)];}));}(Ve)),Ve[_0xe9b9f8(0x1ba)];}var On=Rn();const bn=$e(On);var yn=Oi();const ii=$e(yn);var Xe={'exports':{}},Nn=Xe[_0x2628af(0x1ba)],si;function Dn(){var _0x5575a9=_0x2628af;return si||(si=0x1,function(_0x2a18d0,_0x14e1be){(function(_0x5f1ad2,_0x300728){var _0x4fde1d=_0x449a;_0x2a18d0[_0x4fde1d(0x1ba)]=_0x300728(te());}(Nn,function(_0x2523b9){var _0x44e26e=_0x449a;return _0x2523b9[_0x44e26e(0x230)][_0x44e26e(0x39b)];}));}(Xe)),Xe[_0x5575a9(0x1ba)];}var Un=Dn();const An=$e(Un);var Ze={'exports':{}},wn=Ze['exports'],ni;function Pn(){var _0x3360f9=_0x2628af;return ni||(ni=0x1,function(_0x24a646,_0x2ab7ea){(function(_0xac4d94,_0x5646b5){_0x24a646['exports']=_0x5646b5(te());}(wn,function(_0x3cf046){var _0x48dca6=_0x449a;return(function(){var _0xe2eac2=_0x449a;if(typeof ArrayBuffer=='function'){var _0x60beb0=_0x3cf046,_0x53bd21=_0x60beb0[_0xe2eac2(0x161)],_0x40071a=_0x53bd21[_0xe2eac2(0x301)],_0x1ac5ea=_0x40071a[_0xe2eac2(0x42c)],_0x2f42a4=_0x40071a[_0xe2eac2(0x42c)]=function(_0x11164c){var _0x35baf9=_0xe2eac2;if(_0x11164c instanceof ArrayBuffer&&(_0x11164c=new Uint8Array(_0x11164c)),(_0x11164c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11164c instanceof Uint8ClampedArray||_0x11164c instanceof Int16Array||_0x11164c instanceof Uint16Array||_0x11164c instanceof Int32Array||_0x11164c instanceof Uint32Array||_0x11164c instanceof Float32Array||_0x11164c instanceof Float64Array)&&(_0x11164c=new Uint8Array(_0x11164c[_0x35baf9(0x318)],_0x11164c[_0x35baf9(0x372)],_0x11164c[_0x35baf9(0x397)])),_0x11164c instanceof Uint8Array){for(var _0x3413dc=_0x11164c['byteLength'],_0xc9b64c=[],_0xa968d3=0x0;_0xa968d3<_0x3413dc;_0xa968d3++)_0xc9b64c[_0xa968d3>>>0x2]|=_0x11164c[_0xa968d3]<<0x18-_0xa968d3%0x4*0x8;_0x1ac5ea[_0x35baf9(0x3aa)](this,_0xc9b64c,_0x3413dc);}else _0x1ac5ea[_0x35baf9(0x344)](this,arguments);};_0x2f42a4[_0xe2eac2(0x2e7)]=_0x40071a;}}()),_0x3cf046[_0x48dca6(0x161)]['WordArray'];}));}(Ze)),Ze[_0x3360f9(0x1ba)];}var Ln=Pn();const Mn=$e(Ln);var Qe={'exports':{}},xn=Qe[_0x2628af(0x1ba)],ri;function kn(){return ri||(ri=0x1,function(_0x50c7e1,_0xea81eb){(function(_0x912034,_0x3db0fa,_0x16b4b7){var _0x4b9bf0=_0x449a;_0x50c7e1[_0x4b9bf0(0x1ba)]=_0x3db0fa(te(),yi());}(xn,function(_0x2ed87e){var _0x368f0b=_0x449a;return _0x2ed87e['pad'][_0x368f0b(0x1ec)]={'pad':function(){},'unpad':function(){}},_0x2ed87e[_0x368f0b(0x2f6)][_0x368f0b(0x1ec)];}));}(Qe)),Qe['exports'];}var $n=kn();const Hn=$e($n);function Bn(_0x838c25,_0x4e5c3c){var _0x40026b=_0x2628af;const _0x5da15c=_0x4e5c3c-_0x838c25['length']%_0x4e5c3c,_0x17dc71=String[_0x40026b(0x308)](_0x5da15c)[_0x40026b(0x355)](_0x5da15c);return _0x838c25+_0x17dc71;}function jn(_0x13115b,_0x30d6a2){var _0x324be4=_0x2628af;const _0x259211=Mn['random'](0x10),_0x52d26c=Bn(_0x13115b,0x10),_0x3b7842=bn[_0x324be4(0x13c)](An[_0x324be4(0x2a0)](_0x52d26c),ii[_0x324be4(0x2a0)](_0x30d6a2),{'iv':_0x259211,'padding':Hn});return _0x259211['concat'](_0x3b7842[_0x324be4(0x41c)])[_0x324be4(0x2f7)](ii);}function Fn(){var _0x41e080=_0x2628af;const _0x1fc707=_0x48f501()['__Key__'];if(_0x1fc707){const _0x480b97={'time':Math[_0x41e080(0x1cd)](Date['now']()/0x3e8),'domain':location[_0x41e080(0x21d)]};return jn(JSON[_0x41e080(0x2b0)](_0x480b97),_0x1fc707);}}var Vn=Object[_0x2628af(0x197)],Gn=(_0x5787e4,_0x3925da,_0x9498f6,_0x27b1a1)=>{for(var _0x440a00=_0x27b1a1>0x1?void 0x0:_0x27b1a1?Vn(_0x3925da,_0x9498f6):_0x3925da,_0x1db897=_0x5787e4['length']-0x1,_0xd2992a;_0x1db897>=0x0;_0x1db897--)(_0xd2992a=_0x5787e4[_0x1db897])&&(_0x440a00=_0xd2992a(_0x440a00)||_0x440a00);return _0x440a00;},Yn=(_0x259dd4,_0x4dad4d)=>(_0x224431,_0xba9105)=>_0x4dad4d(_0x224431,_0xba9105,_0x259dd4);let at=class{constructor(_0x451636){var _0x35217f=_0x2628af;this[_0x35217f(0x1a4)]=_0x451636,this['_initRequestHeader']();}[_0x2628af(0x24a)](){var _0x177615=_0x2628af;this[_0x177615(0x1a4)][_0x177615(0x16d)]({'interceptor':(_0x2f9eb2,_0x5762b3)=>{var _0x5ef39f=_0x177615;const _0x2bb954=_0x2f9eb2[_0x5ef39f(0x3da)],_0x3e3fd9=Fn();return _0x3e3fd9&&_0x2bb954[_0x5ef39f(0x2d8)](_0x5ef39f(0x28b),_0x3e3fd9),_0x5762b3(_0x2f9eb2);}});}};at=Gn([Yn(0x0,_0x4df4de(_0xfc765a))],at);var Wn=Object[_0x2628af(0x197)],Kn=(_0x2bf94a,_0x3616df,_0x42ef78,_0x298711)=>{var _0x1d2b1a=_0x2628af;for(var _0x3897b8=_0x298711>0x1?void 0x0:_0x298711?Wn(_0x3616df,_0x42ef78):_0x3616df,_0x3ac71e=_0x2bf94a[_0x1d2b1a(0x2a7)]-0x1,_0x4cfac6;_0x3ac71e>=0x0;_0x3ac71e--)(_0x4cfac6=_0x2bf94a[_0x3ac71e])&&(_0x3897b8=_0x4cfac6(_0x3897b8)||_0x3897b8);return _0x3897b8;},vt=(_0x2110eb,_0xbf67ca)=>(_0x3175b1,_0xe19577)=>_0xbf67ca(_0x3175b1,_0xe19577,_0x2110eb);let Ct=class extends _0x99efd0{constructor(_0x36eb45,_0x48b47e,_0xfbeebc){var _0x5075e3=_0x2628af;super(),N(this,'_unitInfo$',new _0x5cf054(null)),N(this,_0x5075e3(0x186),this['_unitInfo$'][_0x5075e3(0x20f)]()),(this[_0x5075e3(0x187)]=_0x36eb45,this[_0x5075e3(0x444)]=_0x48b47e,this[_0x5075e3(0x1b9)]=_0xfbeebc);}async[_0x2628af(0x2a1)](_0x32900a,_0x1cceb5,_0x4934ba){var _0x2c62a4=_0x2628af;this['_unitInfo$']['next']({'unitId':_0x32900a,'type':_0x1cceb5});let _0x220a04=null;switch(_0x1cceb5){case Z[_0x2c62a4(0x2bd)]:{_0x220a04=await this[_0x2c62a4(0x444)][_0x2c62a4(0x20c)](_0x32900a,_0x4934ba);break;}case Z[_0x2c62a4(0x41b)]:{_0x220a04=await this[_0x2c62a4(0x444)][_0x2c62a4(0x1b6)](_0x32900a,_0x4934ba);break;}default:{this[_0x2c62a4(0x187)][_0x2c62a4(0x248)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x220a04;}async[_0x2628af(0x39e)](_0x584e42,_0x3254e3,_0x39349d){var _0x65e9b3=_0x2628af,_0x903d6d;this[_0x65e9b3(0x1cc)][_0x65e9b3(0x2c6)]({'unitId':_0x584e42,'type':_0x3254e3,'subUnitId':_0x39349d});let _0x5402fa=0x0;const _0x28f0d0=await((_0x903d6d=this[_0x65e9b3(0x1b9)])==null?void 0x0:_0x903d6d[_0x65e9b3(0x2fa)](_0x584e42));return _0x28f0d0&&(_0x28f0d0[_0x65e9b3(0x1ea)]||_0x28f0d0[_0x65e9b3(0x290)][_0x65e9b3(0x2a7)]!==0x0)&&(_0x5402fa=_0x28f0d0[_0x65e9b3(0x174)]),_0x5402fa===0x0&&this[_0x65e9b3(0x187)][_0x65e9b3(0x428)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x584e42,_0x3254e3,_0x5402fa);}};Ct=Kn([vt(0x0,_0x5e8fca),vt(0x1,_0x4df4de(_0x24c623)),vt(0x2,_0x3807e3(J))],Ct);var qn=Object[_0x2628af(0x197)],zn=(_0x1ce09c,_0x12c9b2,_0x56f318,_0x353c6d)=>{var _0x14dfe6=_0x2628af;for(var _0x46eb78=_0x353c6d>0x1?void 0x0:_0x353c6d?qn(_0x12c9b2,_0x56f318):_0x12c9b2,_0x3a6e07=_0x1ce09c[_0x14dfe6(0x2a7)]-0x1,_0x2034fb;_0x3a6e07>=0x0;_0x3a6e07--)(_0x2034fb=_0x1ce09c[_0x3a6e07])&&(_0x46eb78=_0x2034fb(_0x46eb78)||_0x46eb78);return _0x46eb78;},pt=(_0x43693a,_0xa239e7)=>(_0x2b4fe0,_0x254255)=>_0xa239e7(_0x2b4fe0,_0x254255,_0x43693a);const Jn=['image/png',_0x2628af(0x31f),_0x2628af(0x24d),'image/gif',_0x2628af(0x185)],Xn=0x5*0x400*0x400,Zn=_0x2628af(0x3dd),Qn='/universer-api/stream/file/upload',er='EXCHANGE_SIGN_URL_SERVER_URL_KEY',tr='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x985830,_0x407328,_0x52e3f3){var _0x261464=_0x2628af;N(this,_0x261464(0x395),0x0),N(this,_0x261464(0x392),new _0x563997()),N(this,_0x261464(0x30e),this[_0x261464(0x392)]),N(this,'_imageSourceCache',new Map()),(this[_0x261464(0x1a4)]=_0x985830,this[_0x261464(0x1f7)]=_0x407328,this[_0x261464(0x433)]=_0x52e3f3);}[_0x2628af(0x296)](_0x177156){var _0x5d3b20=_0x2628af;this['_waitCount']=_0x177156,this[_0x5d3b20(0x392)][_0x5d3b20(0x2c6)](_0x177156);}['getImageSourceCache'](_0x5ea296,_0xace5e3){var _0x1b9961=_0x2628af;if(_0xace5e3===_0x1ae7bd[_0x1b9961(0x346)]){const _0x3c971e=new Image();return _0x3c971e[_0x1b9961(0x286)]=_0x5ea296,_0x3c971e;}return this[_0x1b9961(0x386)][_0x1b9961(0x239)](_0x5ea296);}[_0x2628af(0x335)](_0x117307,_0x36a63d,_0x5c6abe){var _0x51c9e9=_0x2628af;_0x36a63d===_0x1ae7bd[_0x51c9e9(0x346)]||_0x5c6abe==null||this['_imageSourceCache'][_0x51c9e9(0x2d8)](_0x117307,_0x5c6abe);}async[_0x2628af(0x410)](_0xeb7b7a){var _0x1f3501=_0x2628af;try{const _0x2be262=this[_0x1f3501(0x30b)](this['_getSignURL'](),''+_0xeb7b7a),_0x233fb8=(await this['_httpService'][_0x1f3501(0x239)](_0x2be262))[_0x1f3501(0x211)];if(_0x233fb8[_0x1f3501(0x248)]&&_0x233fb8[_0x1f3501(0x248)][_0x1f3501(0x1d7)]===vi['OK']){const _0x4fa4d8=new URL(_0x233fb8['url'],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x4fa4d8);}return Promise[_0x1f3501(0x3f5)](_0x233fb8[_0x1f3501(0x248)]);}catch(_0x3d48fc){return Promise[_0x1f3501(0x3f5)](_0x3d48fc);}}async['saveImage'](_0x3ca43b){var _0x5b43b6=_0x2628af;let _0x4632c3='';if(!Jn[_0x5b43b6(0x352)](_0x3ca43b[_0x5b43b6(0x282)]))return this[_0x5b43b6(0x234)](),Promise[_0x5b43b6(0x3f5)](new Error(_0x1dcc32[_0x5b43b6(0x419)]));if(_0x3ca43b[_0x5b43b6(0x423)]>Xn)return this[_0x5b43b6(0x234)](),Promise[_0x5b43b6(0x3f5)](new Error(_0x1dcc32[_0x5b43b6(0x237)]));try{const _0x5f368d=new FormData();_0x5f368d[_0x5b43b6(0x39f)](_0x5b43b6(0x38c),_0x3ca43b);const _0x595fcf=this[_0x5b43b6(0x433)]['getFocusedUnit'](),_0x46e2e5=_0x595fcf==null?void 0x0:_0x595fcf[_0x5b43b6(0x266)]();if(!_0x46e2e5)throw new Error(_0x5b43b6(0x14a));const _0x2865dd=this[_0x5b43b6(0x2d6)]()+_0x5b43b6(0x2c5)+_0x3ca43b[_0x5b43b6(0x423)]['toString']()+_0x5b43b6(0x365)+pi[_0x5b43b6(0x3bb)]+_0x5b43b6(0x25f)+encodeURIComponent(_0x46e2e5),_0x4f515b={'body':_0x5f368d},_0x24699a=(await this[_0x5b43b6(0x1a4)][_0x5b43b6(0x388)](_0x2865dd,_0x4f515b))[_0x5b43b6(0x211)];if(typeof _0x24699a['FileId']!=_0x5b43b6(0x212))return this[_0x5b43b6(0x234)](),Promise['reject'](new Error(_0x1dcc32[_0x5b43b6(0x1b4)]));_0x4632c3=_0x24699a[_0x5b43b6(0x309)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1dcc32[_0x5b43b6(0x1b4)]));}return new Promise((_0x10d390,_0x39a49d)=>{var _0x5b382b=_0x5b43b6;const _0xda996f=new FileReader();_0xda996f['readAsDataURL'](_0x3ca43b),_0xda996f[_0x5b382b(0x36f)]=_0x9e8107=>{var _0x12c762=_0x5b382b,_0x360d33;const _0x3165f9=(_0x360d33=_0x9e8107[_0x12c762(0x2eb)])==null?void 0x0:_0x360d33[_0x12c762(0x3db)];if(_0x3165f9==null){this[_0x12c762(0x234)](),_0x39a49d(new Error(_0x1dcc32[_0x12c762(0x1b4)]));return;}const _0x1cc527=_0x27767b(0x6);_0x10d390({'imageId':_0x1cc527,'imageSourceType':_0x1ae7bd[_0x12c762(0x2b7)],'source':_0x4632c3,'base64Cache':_0x3165f9,'status':_0x1dcc32[_0x12c762(0x18a)]}),this[_0x12c762(0x234)]();};});}['_getUploadFileURL'](){var _0x83fc18=_0x2628af,_0x21c330,_0x2cfad7;const _0x573b21=this[_0x83fc18(0x1f7)][_0x83fc18(0x2d2)](Zn),_0x2189fe=this[_0x83fc18(0x1f7)]['getConfig'](K);return(_0x2cfad7=(_0x21c330=_0x2189fe==null?void 0x0:_0x2189fe[_0x83fc18(0x32c)])!=null?_0x21c330:_0x573b21)!=null?_0x2cfad7:Qn;}[_0x2628af(0x1dd)](){var _0x1b73b2=_0x2628af,_0x3ec608,_0x61e3f3;const _0x447e66=this['_configService'][_0x1b73b2(0x2d2)](er),_0x21769b=this[_0x1b73b2(0x1f7)][_0x1b73b2(0x2d2)](K);return(_0x61e3f3=(_0x3ec608=_0x21769b==null?void 0x0:_0x21769b[_0x1b73b2(0x157)])!=null?_0x3ec608:_0x447e66)!=null?_0x61e3f3:tr;}[_0x2628af(0x31a)](){var _0x4e8a2e=_0x2628af,_0x10e7d3;const _0x578c39=this[_0x4e8a2e(0x1f7)][_0x4e8a2e(0x2d2)](K);return(_0x10e7d3=_0x578c39==null?void 0x0:_0x578c39[_0x4e8a2e(0x334)])!=null?_0x10e7d3:location[_0x4e8a2e(0x364)];}[_0x2628af(0x30b)](_0x563834,_0x281962){var _0xbbf112=_0x2628af;return _0x563834[_0xbbf112(0x443)](_0xbbf112(0x438),_0x281962);}[_0x2628af(0x234)](){var _0x416466=_0x2628af;this[_0x416466(0x395)]-=0x1,this[_0x416466(0x392)][_0x416466(0x2c6)](this['_waitCount']);}};Rt=zn([pt(0x0,_0x4df4de(_0xfc765a)),pt(0x1,_0x58acf0),pt(0x2,_0x4df4de(_0x55ab5c))],Rt);var ir=Object[_0x2628af(0x197)],sr=(_0x2edab2,_0x2fefe2,_0x16a9a6,_0x31b478)=>{for(var _0x44750f=_0x31b478>0x1?void 0x0:_0x31b478?ir(_0x2fefe2,_0x16a9a6):_0x2fefe2,_0x1d8835=_0x2edab2['length']-0x1,_0x17cc20;_0x1d8835>=0x0;_0x1d8835--)(_0x17cc20=_0x2edab2[_0x1d8835])&&(_0x44750f=_0x17cc20(_0x44750f)||_0x44750f);return _0x44750f;},ai=(_0x5a8481,_0x9769c9)=>(_0x247932,_0x3ba6d7)=>_0x9769c9(_0x247932,_0x3ba6d7,_0x5a8481);const nr=_0x2628af(0x17c);let Ot=class{constructor(_0x59569d,_0x39fb5b){var _0x528f95=_0x2628af;this['_configService']=_0x59569d,this[_0x528f95(0x2e8)]=_0x39fb5b;}[_0x2628af(0x257)](){var _0x23088d=_0x2628af,_0x5c8a3e,_0x1c3853;const _0x26f39=this[_0x23088d(0x1f7)][_0x23088d(0x2d2)](Ri),_0x37345b=this[_0x23088d(0x1f7)][_0x23088d(0x2d2)](K);return(_0x1c3853=(_0x5c8a3e=_0x37345b==null?void 0x0:_0x37345b[_0x23088d(0x3e7)])!=null?_0x5c8a3e:_0x26f39)!=null?_0x1c3853:nr;}async[_0x2628af(0x349)](_0x311ea8){var _0x3275aa=_0x2628af;const _0x135119=this[_0x3275aa(0x257)]()+_0x3275aa(0x319);return{'list':[{'title':_0x3275aa(0x367),'mentions':(await this[_0x3275aa(0x2e8)]['get'](_0x135119,{'params':{'objectID':_0x311ea8['unitId'],'unitID':_0x311ea8[_0x3275aa(0x26e)]}}))[_0x3275aa(0x211)][_0x3275aa(0x1fa)][_0x3275aa(0x2df)](_0x2d4ef6=>({'objectId':_0x2d4ef6['id'],'name':_0x2d4ef6['subject'][_0x3275aa(0x28d)],'metadata':{'icon':_0x2d4ef6[_0x3275aa(0x399)][_0x3275aa(0x341)]},'label':_0x2d4ef6[_0x3275aa(0x399)][_0x3275aa(0x28d)],'objectType':_0x15a4c8[_0x3275aa(0x3ad)]})),'metadata':{},'type':_0x15a4c8[_0x3275aa(0x3ad)]}]};}};Ot=sr([ai(0x0,_0x4df4de(_0x58acf0)),ai(0x1,_0x4df4de(_0xfc765a))],Ot);var rr=Object['getOwnPropertyDescriptor'],ar=(_0x2c9dc7,_0xd34c18,_0x53c1a1,_0x51a798)=>{var _0x34dd9c=_0x2628af;for(var _0x190e75=_0x51a798>0x1?void 0x0:_0x51a798?rr(_0xd34c18,_0x53c1a1):_0xd34c18,_0x309e99=_0x2c9dc7[_0x34dd9c(0x2a7)]-0x1,_0x4f092e;_0x309e99>=0x0;_0x309e99--)(_0x4f092e=_0x2c9dc7[_0x309e99])&&(_0x190e75=_0x4f092e(_0x190e75)||_0x190e75);return _0x190e75;},Ae=(_0x1b5e49,_0x2c1a50)=>(_0x46004f,_0x348f0f)=>_0x2c1a50(_0x46004f,_0x348f0f,_0x1b5e49);let ot=class extends _0x99efd0{constructor(_0x3463f3,_0x32e399,_0x301765,_0x361b1c,_0x29abc4){var _0x5b14e5=_0x2628af;super(),this['_injector']=_0x3463f3,this['_univerInstanceService']=_0x32e399,this[_0x5b14e5(0x1b8)]=_0x301765,this[_0x5b14e5(0x406)]=_0x361b1c,this[_0x5b14e5(0x3e5)]=_0x29abc4,this[_0x5b14e5(0x18f)](),this[_0x5b14e5(0x1bf)]();}[_0x2628af(0x1bf)](){var _0x4e024d=_0x2628af;const _0x3e0f83=async _0x3e620e=>{var _0x7d46cd=_0x449a;(await this['_collaborationSessionService'][_0x7d46cd(0x38f)](_0x3e620e))[_0x7d46cd(0x2fd)][_0x7d46cd(0x1d9)](_0x5f2c59(_0x307df7=>_0x307df7[_0x7d46cd(0x1ce)]===_0x543fc4[_0x7d46cd(0x141)]),_0x2c5368(this[_0x7d46cd(0x327)]))[_0x7d46cd(0x1da)](_0x48c79d=>{var _0x53aef8=_0x7d46cd;const _0x570a90=_0x48c79d,{reason:_0x2b791e}=_0x570a90[_0x53aef8(0x391)];this[_0x53aef8(0x3e5)]['emitEvent']({'id':ne[_0x53aef8(0x240)],'data':_0x2b791e}),this[_0x53aef8(0x1b8)][_0x53aef8(0x2a5)](new _0x524ab0(_0x3e620e)['id'],!0x1),this[_0x53aef8(0x406)]['closeSession'](_0x3e620e);});};_0x23d50f(this[_0x4e024d(0x433)][_0x4e024d(0x22a)](_0x423cd4[_0x4e024d(0x2bd)]),this[_0x4e024d(0x433)][_0x4e024d(0x22a)](_0x423cd4[_0x4e024d(0x41b)]))[_0x4e024d(0x1d9)](_0x5b0392(_0x316c12=>_0x316c12[_0x4e024d(0x266)]()),_0x5f2c59(_0x4f21c6=>!_0x18bbb0(_0x4f21c6)),_0x2c5368(this['dispose$']))[_0x4e024d(0x1da)](_0x3125cb=>{_0x3e0f83(_0x3125cb);});}[_0x2628af(0x18f)](){var _0x406a6e=_0x2628af;const _0x1ad83e=async _0x16383f=>{var _0x4eaf79=_0x449a;const _0x3e93e4=await this[_0x4eaf79(0x406)][_0x4eaf79(0x38f)](_0x16383f),_0x2445aa=this['_injector'][_0x4eaf79(0x239)](_0x231dd4);_0x3e93e4[_0x4eaf79(0x2fd)]['pipe'](_0x5f2c59(_0x4dfe2f=>_0x4dfe2f[_0x4eaf79(0x1ce)]===_0x543fc4[_0x4eaf79(0x393)]),_0x2c5368(this['dispose$']))[_0x4eaf79(0x1da)](_0x1f9150=>{var _0x5552e0=_0x4eaf79;const _0x2c450d=_0x1f9150,{objectId:_0x496fbd}=_0x2c450d[_0x5552e0(0x391)];_0x496fbd===_0x16383f?_0x2445aa[_0x5552e0(0x356)](_0x16383f):_0x2445aa[_0x5552e0(0x39c)](_0x16383f,_0x496fbd);});};_0x23d50f(this[_0x406a6e(0x433)][_0x406a6e(0x22a)](_0x423cd4[_0x406a6e(0x2bd)]))[_0x406a6e(0x1d9)](_0x5b0392(_0x438c70=>_0x438c70[_0x406a6e(0x266)]()),_0x5f2c59(_0x35fc69=>!_0x18bbb0(_0x35fc69)),_0x2c5368(this['dispose$']))[_0x406a6e(0x1da)](_0x1c8b01=>{_0x1ad83e(_0x1c8b01);});}};ot=ar([Ae(0x0,_0x4df4de(_0x1afd43)),Ae(0x1,_0x55ab5c),Ae(0x2,_0x1305f2),Ae(0x3,_0x4df4de(Le)),Ae(0x4,_0x4df4de(ve))],ot);var or=Object[_0x2628af(0x197)],cr=(_0x3d093b,_0x2934fb,_0x4470f7,_0x40fc06)=>{var _0x5b4b3c=_0x2628af;for(var _0x571bd2=_0x40fc06>0x1?void 0x0:_0x40fc06?or(_0x2934fb,_0x4470f7):_0x2934fb,_0x1b50fc=_0x3d093b[_0x5b4b3c(0x2a7)]-0x1,_0x3c36d3;_0x1b50fc>=0x0;_0x1b50fc--)(_0x3c36d3=_0x3d093b[_0x1b50fc])&&(_0x571bd2=_0x3c36d3(_0x571bd2)||_0x571bd2);return _0x571bd2;},oi=(_0x57e7b4,_0x54c77f)=>(_0x58919d,_0x2e2aaf)=>_0x54c77f(_0x58919d,_0x2e2aaf,_0x57e7b4);let bt=class{constructor(_0x142d9d,_0x2e67fb){var _0x2ad942=_0x2628af;this[_0x2ad942(0x1f7)]=_0x142d9d,this[_0x2ad942(0x1a4)]=_0x2e67fb;}async[_0x2628af(0x180)](_0x29d9e6,_0x4b694e){var _0x5a085a=_0x2628af,_0x21f7a0;const {unitID:_0x16326a,type:_0x26dc92,revision:_0x9d9a5f=0x0}=_0x4b694e,_0x4d4b39=this[_0x5a085a(0x1c8)]()+'/'+_0x26dc92+'/unit/'+_0x16326a+'/rev/'+_0x9d9a5f,_0x275d4c=(await this[_0x5a085a(0x1a4)][_0x5a085a(0x239)](_0x4d4b39))[_0x5a085a(0x211)],_0x36b7ca=(_0x21f7a0=_0x275d4c[_0x5a085a(0x26b)])==null?void 0x0:_0x21f7a0[_0x5a085a(0x3c1)];if(_0x36b7ca){const _0xdcf58e=_0x36b7ca==null?void 0x0:_0x36b7ca['originalMeta'],_0x56d542=_0x375c0d[_0x5a085a(0x151)](_0x5a2aeb(_0xdcf58e));_0x36b7ca['originalMeta']=_0x56d542,Object[_0x5a085a(0x3d0)](_0x36b7ca[_0x5a085a(0x264)])['forEach'](([,_0x57211f])=>{var _0x5536f4=_0x5a085a;const _0x39144e=_0x57211f[_0x5536f4(0x14f)],_0x384f00=_0x375c0d[_0x5536f4(0x151)](_0x5a2aeb(_0x39144e));_0x57211f[_0x5536f4(0x14f)]=_0x384f00;});}return _0x275d4c;}async[_0x2628af(0x1a5)](_0x14122d,_0x47c704){var _0x14c47d=_0x2628af;const {unitID:_0xbca8a4,type:_0x208c9a,blockID:_0x104524}=_0x47c704,_0x860e6a=this['_getAPIPrefix']()+'/'+_0x208c9a+_0x14c47d(0x1eb)+_0xbca8a4+_0x14c47d(0x2b9)+_0x104524;return(await this[_0x14c47d(0x1a4)][_0x14c47d(0x239)](_0x860e6a))[_0x14c47d(0x211)];}async[_0x2628af(0x1c6)](_0x5b4518,_0x250e0a){var _0x2ea9db=_0x2628af;const {unitID:_0x15f57c,type:_0x52ac2a,blockID:_0x7326f8}=_0x250e0a,_0x180082=this[_0x2ea9db(0x405)]()+_0x2ea9db(0x2b9)+_0x52ac2a+'/unit/'+_0x15f57c+_0x2ea9db(0x2b9)+_0x7326f8;return(await this[_0x2ea9db(0x1a4)]['get'](_0x180082))[_0x2ea9db(0x211)];}async['fetchMissingChangesets'](_0x1973ec,_0x28a4ef){var _0x31b27f=_0x2628af;const {unitID:_0x588fde,type:_0x5bd8ac,from:_0x338365,to:_0xb33a99}=_0x28a4ef,_0x1ab18c=this[_0x31b27f(0x405)]()+'/'+_0x5bd8ac+_0x31b27f(0x1eb)+_0x588fde+_0x31b27f(0x267)+_0x338365+_0x31b27f(0x1cf)+_0xb33a99;return(await this[_0x31b27f(0x1a4)]['get'](_0x1ab18c))[_0x31b27f(0x211)];}['getSnapshotAPIPath'](){var _0x26b2be=_0x2628af,_0x149b19;return(_0x149b19=this[_0x26b2be(0x1f7)][_0x26b2be(0x2d2)](ms))!=null?_0x149b19:this[_0x26b2be(0x405)]();}[_0x2628af(0x405)](){var _0xaf8997=_0x2628af,_0x2ddf2e,_0x5ad992;const _0x3de377=this[_0xaf8997(0x1f7)][_0xaf8997(0x2d2)](vs),_0x11691a=this[_0xaf8997(0x1f7)][_0xaf8997(0x2d2)](K);return(_0x5ad992=(_0x2ddf2e=_0x11691a==null?void 0x0:_0x11691a['snapshotServerUrl'])!=null?_0x2ddf2e:_0x3de377)!=null?_0x5ad992:ps;}async[_0x2628af(0x1dc)](_0x5d3926,_0x35946b){var _0x38cb63=_0x2628af;const _0x2e0df7=_0x38cb63(0x313)+_0x35946b[_0x38cb63(0x282)]+_0x38cb63(0x1eb)+_0x35946b[_0x38cb63(0x418)]+_0x38cb63(0x1b5);return(await this['_httpService']['get'](_0x2e0df7,{'params':{'resourceId':JSON[_0x38cb63(0x2b0)](_0x35946b[_0x38cb63(0x42d)])}}))[_0x38cb63(0x211)];}[_0x2628af(0x348)](){var _0x16d14a=_0x2628af;throw new Error(_0x16d14a(0x162));}[_0x2628af(0x261)](){var _0x17d377=_0x2628af;throw new Error(_0x17d377(0x162));}[_0x2628af(0x3b6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2628af(0x3a9)](){var _0x3201b4=_0x2628af;throw new Error(_0x3201b4(0x162));}[_0x2628af(0x3d1)](){var _0x1a5928=_0x2628af;throw new Error(_0x1a5928(0x162));}[_0x2628af(0x321)](){var _0x10910a=_0x2628af;throw new Error(_0x10910a(0x162));}};bt=cr([oi(0x0,_0x58acf0),oi(0x1,_0x4df4de(_0xfc765a))],bt);var hr=Object[_0x2628af(0x197)],_r=(_0x34819c,_0x181871,_0x2af961,_0x44272d)=>{var _0x52a6f8=_0x2628af;for(var _0x2c253d=_0x44272d>0x1?void 0x0:_0x44272d?hr(_0x181871,_0x2af961):_0x181871,_0x342d60=_0x34819c[_0x52a6f8(0x2a7)]-0x1,_0x4a1468;_0x342d60>=0x0;_0x342d60--)(_0x4a1468=_0x34819c[_0x342d60])&&(_0x2c253d=_0x4a1468(_0x2c253d)||_0x2c253d);return _0x2c253d;},we=(_0x3b3340,_0x7dbaa5)=>(_0x41e252,_0x141151)=>_0x7dbaa5(_0x41e252,_0x141151,_0x3b3340);let yt=class extends _0x133629{constructor(_0x7e7a80,_0x550a60,_0x507f96,_0xa1a087,_0x1dfe84){var _0x590c8d=_0x2628af;super(_0x7e7a80,_0x550a60,_0x507f96),this[_0x590c8d(0x2ff)]=_0xa1a087,this[_0x590c8d(0x187)]=_0x1dfe84;}[_0x2628af(0x39d)](_0x71d187,_0x1626e2){var _0x3c3160=_0x2628af;const _0x31bccd=this[_0x3c3160(0x14c)](_0x71d187);if(_0x31bccd)try{const _0x8531c0=this[_0x3c3160(0x357)](_0x31bccd,_0x1626e2);this['_substituteUndoStack'](_0x71d187,_0x8531c0);}catch(_0x5a854d){this[_0x3c3160(0x187)]['error'](_0x3c3160(0x155),_0x5a854d),this['_clearUndo'](_0x71d187);}const _0x28afc7=this[_0x3c3160(0x37b)](_0x71d187);if(_0x28afc7)try{const _0x24594c=this['_transformStack'](_0x28afc7,_0x1626e2);this[_0x3c3160(0x43f)](_0x71d187,_0x24594c);}catch(_0x434b33){this[_0x3c3160(0x187)][_0x3c3160(0x248)](_0x434b33),this[_0x3c3160(0x33b)](_0x71d187);}}['_clearUndo'](_0x1b3c38){var _0x9fd340=_0x2628af;const _0x5bcf26=this['_getUndoStack'](_0x1b3c38);_0x5bcf26&&(_0x5bcf26[_0x9fd340(0x2a7)]=0x0,this[_0x9fd340(0x36b)]());}['_clearRedo'](_0x1860d7){var _0x2d15d1=_0x2628af;const _0x3a1eeb=this[_0x2d15d1(0x37b)](_0x1860d7);_0x3a1eeb&&(_0x3a1eeb['length']=0x0,this[_0x2d15d1(0x36b)]());}[_0x2628af(0x1c1)](_0x5eb32d,_0x10ae3a){var _0x530e29=_0x2628af;this[_0x530e29(0x1b1)][_0x530e29(0x2d8)](_0x5eb32d,_0x10ae3a),this[_0x530e29(0x36b)]();}[_0x2628af(0x43f)](_0x2152b6,_0x285501){var _0x440570=_0x2628af;this['_redoStacks']['set'](_0x2152b6,_0x285501),this[_0x440570(0x36b)]();}[_0x2628af(0x357)](_0x1c50aa,_0x3be390){var _0x2b3946=_0x2628af;const _0x41d79e=[];let _0x25a94b=_0x3be390,_0xfa7595=_0x3be390;for(let _0x3bf068=_0x1c50aa[_0x2b3946(0x2a7)]-0x1;_0x3bf068>=0x0;_0x3bf068--){const {unitID:_0x455604,undoMutations:_0x539e06,redoMutations:_0x5684dd}=_0x1c50aa[_0x3bf068],_0x4159bb=this[_0x2b3946(0x2ff)]['transformMutationsWithChangeset'](_0x25a94b,_0x539e06),_0x34c592=this[_0x2b3946(0x2ff)]['transformMutationsWithChangeset'](_0xfa7595,_0x5684dd);if(_0x31834a(_0x4159bb)||_0x31834a(_0x34c592)){this[_0x2b3946(0x187)][_0x2b3946(0x248)]('[CollaborationUndoRedoService]',_0x2b3946(0x182),_0x4159bb,_0x34c592);break;}_0x25a94b=_0x4159bb['c1Prime'],_0xfa7595=_0x34c592[_0x2b3946(0x340)],_0x41d79e[_0x2b3946(0x3eb)]({'unitID':_0x455604,'undoMutations':_0x4159bb[_0x2b3946(0x3f7)],'redoMutations':_0x34c592[_0x2b3946(0x3f7)]});}return _0x41d79e[_0x2b3946(0x337)]();}};yt=_r([we(0x0,_0x55ab5c),we(0x1,_0x2d4f52),we(0x2,_0x3a9797),we(0x3,_0x1b0331),we(0x4,_0x5e8fca)],yt);var lr=Object['defineProperty'],ur=Object['getOwnPropertyDescriptor'],dr=(_0x1a7e25,_0x20e471,_0x25aeae)=>_0x20e471 in _0x1a7e25?lr(_0x1a7e25,_0x20e471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25aeae}):_0x1a7e25[_0x20e471]=_0x25aeae,fr=(_0x4ebd28,_0x16b75d,_0x353a74,_0x24e382)=>{for(var _0x5192d9=_0x24e382>0x1?void 0x0:_0x24e382?ur(_0x16b75d,_0x353a74):_0x16b75d,_0x19f81b=_0x4ebd28['length']-0x1,_0x4e67d6;_0x19f81b>=0x0;_0x19f81b--)(_0x4e67d6=_0x4ebd28[_0x19f81b])&&(_0x5192d9=_0x4e67d6(_0x5192d9)||_0x5192d9);return _0x5192d9;},mt=(_0x24d86e,_0x4a38b4)=>(_0x1b5027,_0x19aacb)=>_0x4a38b4(_0x1b5027,_0x19aacb,_0x24d86e),vr=(_0x4cdb71,_0x3212bc,_0x402801)=>dr(_0x4cdb71,_0x3212bc+'',_0x402801);const pr=_0x2628af(0x1a3);let Nt=class extends _0xb5964b{constructor(_0x1c4a87,_0x3d8fd2,_0xfb9364,_0x43fee3){var _0x569526=_0x2628af;super(),N(this,_0x569526(0x1fb)),(this[_0x569526(0x187)]=_0x3d8fd2,this[_0x569526(0x252)]=_0xfb9364,this[_0x569526(0x1f7)]=_0x43fee3);const {..._0x4d8cbb}=_0x4d14ae({},Us,_0x1c4a87);if(!_0x4d8cbb[_0x569526(0x34f)])throw new Error(_0x569526(0x1f8));this[_0x569526(0x1fb)]=_0x4d8cbb,this[_0x569526(0x1f7)][_0x569526(0x36e)](K,_0x4d8cbb);}[_0x2628af(0x231)](){var _0x329f52=_0x2628af;this[_0x329f52(0x27c)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1e960e=_0x2628af,_0x52e279,_0x228452;this[_0x1e960e(0x252)][_0x1e960e(0x27f)](_0x1eda14)&&this[_0x1e960e(0x187)]['error'](_0x1e960e(0x413),_0x1e960e(0x206));const _0x2354c4=_0x597ac7([[_0x1eda14,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x1e960e(0x1fb)][_0x1e960e(0x34f)]}],[_0x5998ee,{'useClass':bt}],[_0x117e54,{'useClass':Tt}],[_0x26aa0d,{'useClass':Rt}],[_0x149c41,{'useClass':Ot}],[nt],[It]],(_0x52e279=this[_0x1e960e(0x1fb)])==null?void 0x0:_0x52e279[_0x1e960e(0x370)]);if(!((_0x228452=this[_0x1e960e(0x1fb)])!=null&&_0x228452[_0x1e960e(0x179)])){const _0x256ab9=_0x2354c4[_0x1e960e(0x323)](([_0x297837])=>_0x297837===ht);_0x256ab9!==-0x1&&_0x2354c4[_0x1e960e(0x330)](_0x256ab9,0x1);}_0x1d91d9(this[_0x1e960e(0x252)],_0x2354c4);}['_initDependencies'](){var _0x1dab32=_0x2628af,_0x51c391,_0xe5bfc0,_0x111229;this['_injector'][_0x1dab32(0x239)](_0xfc765a)[_0x1dab32(0x16d)]({'priority':0x14,'interceptor':_0x1b38ea({'maxParallel':0x6})}),(_0x51c391=this[_0x1dab32(0x1fb)])!=null&&_0x51c391[_0x1dab32(0x23f)]||(_0xe5bfc0=this['_injector'][_0x1dab32(0x239)](J,_0x465812['OPTIONAL']))==null||_0xe5bfc0[_0x1dab32(0x366)](),(_0x111229=this[_0x1dab32(0x1fb)])!=null&&_0x111229[_0x1dab32(0x1a0)]&&_0x5e1038(this[_0x1dab32(0x252)],[[rt]]),_0x5e1038(this[_0x1dab32(0x252)],[[at],[nt],[ot]]);}};vr(Nt,'pluginName',pr),Nt=fr([_0x24e170(_0x1f4531,_0xf46791),mt(0x1,_0x5e8fca),mt(0x2,_0x4df4de(_0x1afd43)),mt(0x3,_0x58acf0)],Nt);export{Ri as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,Ss as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Pr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Dr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,As as INetworkConditionService,ht as ISingleActiveUnitService,Ar as LOCAL_CACHE_INTERVAL,Ur as LOCAL_CACHE_INTERVAL_KEY,Ns as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,wr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Rs as RETRY_CONNECTING_MAX_COUNT_KEY,Nr as SEND_CHANGESET_TIMEOUT_KEY,vs as SNAPSHOT_SERVER_URL_KEY,ms as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ws as deserializeToCombResponse,Lr as getLocalCacheKey,Ps as serializeCombRequest};
|
1
|
+
var _0xbf377e=_0x1cff;(function(_0x579c15,_0xf59596){var _0x523bb5=_0x1cff,_0x942ace=_0x579c15();while(!![]){try{var _0x1943c8=-parseInt(_0x523bb5(0x208))/0x1+parseInt(_0x523bb5(0x39e))/0x2+parseInt(_0x523bb5(0x337))/0x3+parseInt(_0x523bb5(0x3b7))/0x4+-parseInt(_0x523bb5(0x34c))/0x5*(parseInt(_0x523bb5(0x468))/0x6)+parseInt(_0x523bb5(0x499))/0x7*(-parseInt(_0x523bb5(0x1fe))/0x8)+parseInt(_0x523bb5(0x2af))/0x9;if(_0x1943c8===_0xf59596)break;else _0x942ace['push'](_0x942ace['shift']());}catch(_0x1b652d){_0x942ace['push'](_0x942ace['shift']());}}}(_0x3e02,0x366ab));var yi=Object[_0xbf377e(0x2cc)],Ni=(_0x5c2cc7,_0x23a0f2,_0x2f5dd4)=>_0x23a0f2 in _0x5c2cc7?yi(_0x5c2cc7,_0x23a0f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f5dd4}):_0x5c2cc7[_0x23a0f2]=_0x2f5dd4,N=(_0x4184e1,_0x5bdeb4,_0x3acc74)=>Ni(_0x4184e1,typeof _0x5bdeb4!=_0xbf377e(0x3d1)?_0x5bdeb4+'':_0x5bdeb4,_0x3acc74);import{createIdentifier as _0x175981,Inject as _0x1c582e,Injector as _0x268804,IConfigService as _0xe9c879,ILogService as _0x11790f,Disposable as _0x2d6575,DisposableCollection as _0x3de499,toDisposable as _0x1ddba4,IUniverInstanceService as _0x8ffa5d,UserManagerService as _0xf61b8a,UniverInstanceType as _0x4db421,Optional as _0x452fc6,RxDisposable as _0x50936f,Tools as _0x4560ad,Rectangle as _0x3bf751,ICommandService as _0xc02145,JSONX as _0x3c9047,CommandType as _0x1a9537,IUndoRedoService as _0x26e538,IPermissionService as _0xe07f13,LocaleService as _0x213c64,sequenceExecute as _0x1835bf,Workbook as _0x34d027,generateRandomId as _0x14caa5,MentionType as _0x1aa237,isInternalEditorID as _0x78defc,LocalUndoRedoService as _0x5f87cb,IContextService as _0x282538,DependentOn as _0x20d5d3,Plugin as _0x4ce592,merge as _0x7ea52c,mergeOverrideWithDependencies as _0x4dcd6c,IAuthzIoService as _0x45bf45,IMentionIOService as _0x241c1d,registerDependencies as _0x2fa2a5,Quantity as _0x1c434c,touchDependencies as _0x144c72}from'@univerjs/core';import{Subject as _0x4a9222,merge as _0x2df817,of as _0x11003f,BehaviorSubject as _0x1f6c9f,takeUntil as _0x39b035,ReplaySubject as _0x2ee19e,take as _0x3e5144,map as _0x55e73e,shareReplay as _0x139ba8,firstValueFrom as _0x39a30b,concatMap as _0x10f916}from'rxjs';import{map as _0x1ef428,take as _0x4d9d3d,filter as _0x28ef92,delay as _0x100efb,takeUntil as _0x4d45ba}from'rxjs/operators';import{CollaborationEvent as _0x5899ec,ISnapshotServerService as _0x35d6f9,parseChangesetToProtocol as _0xe4be05,ITransformService as _0xf8efc,isTransformMutationsWithChangesetSuccess as _0x13d19e,mapDocumentTypeToUniverType as _0x32f7b5,RevisionService as _0x22d135,isTransformChangesetsSuccess as _0x270b22,CompressMutationService as _0x55cac5,parseProtocolChangeset as _0x96ddd6,uuidv4 as _0x4e9df5,SnapshotService as _0x19e068,textEncoder as _0x3b6a78,b64DecodeUnicode as _0x436c26,isTransformMutationsWithChangesetFailure as _0x1a63b6,UniverCollaborationPlugin as _0x243f38}from'@univerjs-pro/collaboration';import{HTTPService as _0x44ae9d,ISocketService as _0x2682c0,MergeInterceptorFactory as _0x2e637b,HTTPRequest as _0x385b69,UniverNetworkPlugin as _0x471690,ThresholdInterceptorFactory as _0x2e5e2d}from'@univerjs/network';import{ITelemetryService as _0x9e3ba4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x166f61}from'@univerjs/docs';import{SheetsSelectionsService as _0x3af427,SetSelectionsOperation as _0x1ef4a2,InsertSheetMutation as _0x1a0324,EmptyMutation as _0x5b670f,WorkbookEditablePermission as _0xc85e7d,SheetPermissionInitController as _0x966d12}from'@univerjs/sheets';import{ImageSourceType as _0x46d845,ImageUploadStatusType as _0x1995e6,IImageIoService as _0x459fa1}from'@univerjs/drawing';import{getGlobalObject as _0x541ccd}from'@univerjs-pro/license';const fs=_0xbf377e(0x29a),vs=_0xbf377e(0x1f6),ps=0x7d0,ms=_0xbf377e(0x33f),Ir=_0xbf377e(0x20d),gs=_0xbf377e(0x475),Ss=0x7530,di=_0xbf377e(0x36e),fi=0x4e20,Es=0x4e20,Is=_0xbf377e(0x425),Ts=0x3,Tr=_0xbf377e(0x3a3),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0xbf377e(0x30a),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0xbf377e(0x32c);var vi=(_0x4ff8f9=>(_0x4ff8f9[_0x4ff8f9['UNDEFINED']=0x0]='UNDEFINED',_0x4ff8f9[_0x4ff8f9['OK']=0x1]='OK',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x32a)]=0x2]=_0xbf377e(0x32a),_0x4ff8f9[_0x4ff8f9['PERMISSION_DENIED']=0x3]=_0xbf377e(0x387),_0x4ff8f9[_0x4ff8f9['NOT_FOUND']=0x4]='NOT_FOUND',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x49e)]=0x5]=_0xbf377e(0x49e),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x306)]=0x6]=_0xbf377e(0x306),_0x4ff8f9[_0x4ff8f9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x330)]=0x8]='TOO_MANY_REQUESTS',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x44e)]=0x9]=_0xbf377e(0x44e),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x372)]=0xa]=_0xbf377e(0x372),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x47c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x2c2)]=0xc]=_0xbf377e(0x2c2),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x416)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x33d)]=0xe]=_0xbf377e(0x33d),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x218)]=0x1389]=_0xbf377e(0x218),_0x4ff8f9[_0x4ff8f9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xbf377e(0x321),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3ef)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x263)]=0x1773]=_0xbf377e(0x263),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x2c3)]=0x1b59]=_0xbf377e(0x2c3),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3a8)]=0x1b5a]=_0xbf377e(0x3a8),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3af)]=0x1b5b]=_0xbf377e(0x3af),_0x4ff8f9[_0x4ff8f9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbf377e(0x348),_0x4ff8f9[_0x4ff8f9['APPLY_DUPLICATED']=0x1b5d]=_0xbf377e(0x415),_0x4ff8f9[_0x4ff8f9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4ff8f9[_0x4ff8f9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xbf377e(0x289),_0x4ff8f9[_0x4ff8f9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbf377e(0x2b4),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x262)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ff8f9[_0x4ff8f9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4ff8f9[_0x4ff8f9['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbf377e(0x3f1),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4c5)]=0x2711]=_0xbf377e(0x4c5),_0x4ff8f9[_0x4ff8f9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4ff8f9[_0x4ff8f9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xbf377e(0x434),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x333)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4e6)]=0x271a]=_0xbf377e(0x4e6),_0x4ff8f9[_0x4ff8f9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xbf377e(0x4e8),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x216)]=0x271c]=_0xbf377e(0x216),_0x4ff8f9[_0x4ff8f9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xbf377e(0x347),_0x4ff8f9[_0x4ff8f9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xbf377e(0x3c5),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3ac)]=0x271f]=_0xbf377e(0x3ac),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x47e)]=0x2720]=_0xbf377e(0x47e),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x1f7)]=0x2af9]=_0xbf377e(0x1f7),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x3dc)]=0x2ee1]=_0xbf377e(0x3dc),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x441)]=0x2ee2]='INVALID_INVITE_CODE',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x45f)]=0x2ee3]=_0xbf377e(0x45f),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x43f)]=0x2ee4]=_0xbf377e(0x43f),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4e7)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x395)]=0x32c9]=_0xbf377e(0x395),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x23e)]=0x32ca]=_0xbf377e(0x23e),_0x4ff8f9[_0x4ff8f9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xbf377e(0x2e0),_0x4ff8f9[_0x4ff8f9[_0xbf377e(0x4b1)]=-0x1]='UNRECOGNIZED',_0x4ff8f9))(vi||{}),Z=(_0x37b722=>(_0x37b722[_0x37b722['UNIVER_UNKNOWN']=0x0]=_0xbf377e(0x4f3),_0x37b722[_0x37b722[_0xbf377e(0x2e9)]=0x1]=_0xbf377e(0x2e9),_0x37b722[_0x37b722['UNIVER_SHEET']=0x2]=_0xbf377e(0x229),_0x37b722[_0x37b722[_0xbf377e(0x2da)]=0x3]=_0xbf377e(0x2da),_0x37b722[_0x37b722[_0xbf377e(0x21c)]=0x4]=_0xbf377e(0x21c),_0x37b722[_0x37b722['UNRECOGNIZED']=-0x1]=_0xbf377e(0x4b1),_0x37b722))(Z||{}),F=(_0x4436d4=>(_0x4436d4[_0x4436d4['UNKNOWN_CMD']=0x0]=_0xbf377e(0x1f2),_0x4436d4[_0x4436d4[_0xbf377e(0x25a)]=0x1]=_0xbf377e(0x25a),_0x4436d4[_0x4436d4[_0xbf377e(0x450)]=0x2]=_0xbf377e(0x450),_0x4436d4[_0x4436d4[_0xbf377e(0x3ab)]=0x3]=_0xbf377e(0x3ab),_0x4436d4[_0x4436d4[_0xbf377e(0x3df)]=0x4]=_0xbf377e(0x3df),_0x4436d4[_0x4436d4[_0xbf377e(0x478)]=0x5]=_0xbf377e(0x478),_0x4436d4[_0x4436d4[_0xbf377e(0x2eb)]=0x6]=_0xbf377e(0x2eb),_0x4436d4[_0x4436d4['UNRECOGNIZED']=-0x1]=_0xbf377e(0x4b1),_0x4436d4))(F||{}),pe=(_0x4420aa=>(_0x4420aa[_0x4420aa[_0xbf377e(0x384)]=0x0]=_0xbf377e(0x384),_0x4420aa[_0x4420aa['OK']=0x1]='OK',_0x4420aa[_0x4420aa[_0xbf377e(0x1f8)]=0x2]=_0xbf377e(0x1f8),_0x4420aa[_0x4420aa[_0xbf377e(0x30b)]=0x3e9]=_0xbf377e(0x30b),_0x4420aa[_0x4420aa[_0xbf377e(0x2d3)]=0x3ea]=_0xbf377e(0x2d3),_0x4420aa[_0x4420aa['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4420aa[_0x4420aa[_0xbf377e(0x311)]=0x3ec]=_0xbf377e(0x311),_0x4420aa[_0x4420aa[_0xbf377e(0x4b1)]=-0x1]=_0xbf377e(0x4b1),_0x4420aa))(pe||{}),pi=(_0x15c03b=>(_0x15c03b[_0x15c03b[_0xbf377e(0x253)]=0x0]='Undefined',_0x15c03b[_0x15c03b[_0xbf377e(0x390)]=0x1]=_0xbf377e(0x390),_0x15c03b[_0x15c03b[_0xbf377e(0x4ef)]=0x2]=_0xbf377e(0x4ef),_0x15c03b[_0x15c03b['UnitEmbedded']=0x3]=_0xbf377e(0x2c6),_0x15c03b[_0x15c03b[_0xbf377e(0x2a2)]=0x4]=_0xbf377e(0x2a2),_0x15c03b[_0x15c03b[_0xbf377e(0x41d)]=0x5]='UserProfileImg',_0x15c03b[_0x15c03b[_0xbf377e(0x4b1)]=-0x1]='UNRECOGNIZED',_0x15c03b))(pi||{});const K='collaboration-client.config',Os={};var ne=(_0x5d51d8=>(_0x5d51d8[_0xbf377e(0x456)]=_0xbf377e(0x456),_0x5d51d8[_0xbf377e(0x387)]=_0xbf377e(0x387),_0x5d51d8[_0xbf377e(0x4d5)]=_0xbf377e(0x4d5),_0x5d51d8[_0xbf377e(0x370)]=_0xbf377e(0x370),_0x5d51d8[_0xbf377e(0x2b5)]=_0xbf377e(0x2b5),_0x5d51d8[_0xbf377e(0x4bb)]=_0xbf377e(0x4bb),_0x5d51d8['SOCKET_FAILED']=_0xbf377e(0x4b8),_0x5d51d8[_0xbf377e(0x210)]='SUBMIT_CHANGESET_TIMEOUT',_0x5d51d8))(ne||{});class ve{constructor(){var _0x32e63d=_0xbf377e;N(this,'_event$',new _0x4a9222()),N(this,'event$',this['_event$'][_0x32e63d(0x22f)]());}[_0xbf377e(0x37b)](_0x53f2ce){var _0x423568=_0xbf377e;this[_0x423568(0x293)]['next'](_0x53f2ce);}}const bs=_0x175981(_0xbf377e(0x4cf));function ys(_0x2049e7){var _0x3fa722=_0xbf377e,_0x54e1c5,_0x5dd94c,_0x267668,_0x27bb16,_0x4bb234;const _0x502c1b=_0x2049e7[_0x3fa722(0x3bb)],_0x412ad7=JSON[_0x3fa722(0x2de)](_0x502c1b);switch(_0x412ad7[_0x3fa722(0x48f)]){case F[_0x3fa722(0x478)]:case F[_0x3fa722(0x25a)]:{const _0x404998=_0x412ad7[_0x3fa722(0x2ca)];return{..._0x412ad7,'data':_0x404998,'cmd':_0x412ad7[_0x3fa722(0x48f)]};}case F[_0x3fa722(0x450)]:{const _0x160017=_0x412ad7[_0x3fa722(0x276)];return{..._0x412ad7,'data':_0x160017,'cmd':_0x412ad7[_0x3fa722(0x48f)]};}case F[_0x3fa722(0x2eb)]:{const _0x1271f0=_0x412ad7['collaMsg'];switch(_0x1271f0[_0x3fa722(0x214)]){case _0x5899ec[_0x3fa722(0x4db)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x54e1c5=_0x1271f0['permissionRejEvent'])==null?void 0x0:_0x54e1c5['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x27e)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x5dd94c=_0x1271f0[_0x3fa722(0x47f)])==null?void 0x0:_0x5dd94c['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x319)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x267668=_0x1271f0[_0x3fa722(0x3ce)])==null?void 0x0:_0x267668['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x217)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x27bb16=_0x1271f0[_0x3fa722(0x252)])==null?void 0x0:_0x27bb16['cs']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x3b4)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':(_0x4bb234=_0x1271f0[_0x3fa722(0x207)])==null?void 0x0:_0x4bb234['cs']},'cmd':_0x412ad7['cmd']};case _0x5899ec['UPDATE_CURSOR']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x42d)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec['USERS_ENTER']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x40d)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x260)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['leaveEvent']},'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x23b)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['liveShareNewHost']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x4a6)]:case _0x5899ec['LIVESHARE_OPERATION']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x242)]},'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x462)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x31b)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x3d7)]:return{..._0x412ad7,'data':_0x1271f0,'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x3e1)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['commentUpdateEvent']},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec['UPDATE_PERMISSION_OBJ']:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0['updatePermissionObjEvent']},'cmd':_0x412ad7['cmd']};case _0x5899ec[_0x3fa722(0x448)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x38e)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};case _0x5899ec[_0x3fa722(0x42a)]:return{..._0x412ad7,'data':{..._0x1271f0,'data':_0x1271f0[_0x3fa722(0x2a3)]},'cmd':_0x412ad7[_0x3fa722(0x48f)]};default:return _0x412ad7;}}default:return _0x412ad7;}}function Ns(_0x2c71a5){var _0x3d5804=_0xbf377e;switch(_0x2c71a5['cmd']){case F[_0x3d5804(0x478)]:case F[_0x3d5804(0x25a)]:return JSON[_0x3d5804(0x25e)]({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5[_0x3d5804(0x484)]});case F['INGEST']:{let _0x3aa499;switch(_0x2c71a5[_0x3d5804(0x3bb)]['eventID']){case _0x5899ec[_0x3d5804(0x35a)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x35a)],'updateCursorEvent':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x260)]:{_0x3aa499={'eventID':_0x5899ec['USERS_LEAVE'],'leaveEvent':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec['USERS_ENTER']:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x497)],'joinEvent':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x23b)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x23b)],'liveShareNewHost':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x3fe)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x3fe)],'liveShareOperation':_0x2c71a5['data']['data']};break;}case _0x5899ec[_0x3d5804(0x462)]:{_0x3aa499={'eventID':_0x5899ec['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec[_0x3d5804(0x3c9)]:{_0x3aa499={'eventID':_0x5899ec[_0x3d5804(0x3c9)],'liveShareRequestHost':_0x2c71a5[_0x3d5804(0x3bb)][_0x3d5804(0x3bb)]};break;}case _0x5899ec['LIVESHARE_FETCH_OPERATIONS']:{_0x3aa499={'eventID':_0x5899ec['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3aa499={'eventID':_0x2c71a5['data']['eventID']};}return JSON['stringify']({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5[_0x3d5804(0x484)],'collaMsg':_0x3aa499});}case F['JOIN']:return JSON['stringify']({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5['routeKey'],'joinReq':_0x2c71a5['data']});case F['LEAVE']:return JSON[_0x3d5804(0x25e)]({'cmd':_0x2c71a5[_0x3d5804(0x48f)],'routeKey':_0x2c71a5[_0x3d5804(0x484)],'leaveReq':_0x2c71a5[_0x3d5804(0x3bb)]});default:throw new Error(_0x3d5804(0x496));}}var Ds=Object[_0xbf377e(0x359)],Us=(_0x16912b,_0x1f4a3c,_0x1a2578,_0xafcd63)=>{for(var _0x2195b9=_0xafcd63>0x1?void 0x0:_0xafcd63?Ds(_0x1f4a3c,_0x1a2578):_0x1f4a3c,_0x5ab0c6=_0x16912b['length']-0x1,_0x1f63c9;_0x5ab0c6>=0x0;_0x5ab0c6--)(_0x1f63c9=_0x16912b[_0x5ab0c6])&&(_0x2195b9=_0x1f63c9(_0x2195b9)||_0x2195b9);return _0x2195b9;},De=(_0x389f37,_0x240afb)=>(_0x5db1d7,_0x26ab22)=>_0x240afb(_0x5db1d7,_0x26ab22,_0x389f37);const mi=_0x175981('univer-pro.collaboration-client-socket-service');function As(_0xe766a,_0x2ef82f,_0x307d98){var _0x854253=_0xbf377e;return _0xe766a+'/'+_0x2ef82f+_0x854253(0x20e)+_0x307d98+'/new_changes';}let Ft=class extends _0x2d6575{constructor(_0x2f82ac,_0x4a6bed,_0x34abce,_0x109b37,_0xd87743){var _0x2c5def=_0xbf377e;super(),this[_0x2c5def(0x223)]=_0x2f82ac,this[_0x2c5def(0x367)]=_0x4a6bed,this['_configService']=_0x34abce,this['_logService']=_0x109b37,this[_0x2c5def(0x35c)]=_0xd87743;}[_0xbf377e(0x29e)](_0x4baf99){var _0xee71e7=_0xbf377e;const _0x3c091a=this[_0xee71e7(0x223)][_0xee71e7(0x4e3)](_0x2682c0);if(!_0x3c091a)throw new Error(_0xee71e7(0x2bd));const _0x435718=_0x3c091a['createSocket'](_0x4baf99);if(!_0x435718)throw new Error(_0xee71e7(0x2c8));const _0x37a107=new _0x3de499(),_0x5d8f6c=new _0x4a9222();_0x37a107[_0xee71e7(0x477)](_0x435718[_0xee71e7(0x381)]['subscribe'](_0x37c798=>_0x5d8f6c[_0xee71e7(0x233)](_0x37c798))),_0x37a107[_0xee71e7(0x477)](_0x1ddba4(()=>_0x5d8f6c['complete']()));const _0xf84009=new _0x4a9222();_0x37a107[_0xee71e7(0x477)](_0x435718[_0xee71e7(0x4e0)][_0xee71e7(0x251)](_0x41277f=>_0xf84009[_0xee71e7(0x233)](_0x41277f))),_0x37a107['add'](_0x1ddba4(()=>_0xf84009[_0xee71e7(0x224)]()));const _0x2c1071=new _0x4a9222();_0x37a107[_0xee71e7(0x477)](_0x435718[_0xee71e7(0x3bc)][_0xee71e7(0x251)](_0x3c283c=>{var _0x492238=_0xee71e7;const _0x3e161a=ys(_0x3c283c);_0x2c1071[_0x492238(0x233)](_0x3e161a);})),_0x37a107['add'](_0x1ddba4(()=>_0x2c1071[_0xee71e7(0x224)]()));let _0x7fc43a;const _0x4c4eea=()=>{var _0x39fb25=_0xee71e7;_0xf84009[_0x39fb25(0x233)](new Event(_0x39fb25(0x373))),_0x5d8f6c[_0x39fb25(0x233)](new Event(_0x39fb25(0x373))),_0x7fc43a[_0x39fb25(0x433)]();};return _0x7fc43a={'memberID':'','close$':_0x5d8f6c[_0xee71e7(0x22f)](),'error$':_0xf84009[_0xee71e7(0x22f)](),'open$':_0x435718[_0xee71e7(0x203)],'message$':_0x2c1071[_0xee71e7(0x22f)](),'send':_0xe2cb66=>{var _0x5ca359=_0xee71e7;if(_0xe2cb66['cmd']===F[_0x5ca359(0x3df)]){if(_0xe2cb66['data'][_0x5ca359(0x214)]===_0x5899ec[_0x5ca359(0x2ce)]){this[_0x5ca359(0x4d2)](_0x7fc43a,_0xe2cb66[_0x5ca359(0x3bb)])[_0x5ca359(0x23a)](_0x2aa703=>{var _0x54833c=_0x5ca359;this[_0x54833c(0x3fb)][_0x54833c(0x215)](_0x2aa703),_0x4c4eea();});return;}if(_0xe2cb66[_0x5ca359(0x3bb)][_0x5ca359(0x214)]===_0x5899ec[_0x5ca359(0x391)]){const _0x271adc=_0xe2cb66[_0x5ca359(0x3bb)];this[_0x5ca359(0x227)](_0x271adc)[_0x5ca359(0x219)](_0x5254ba=>{var _0x195e55=_0x5ca359;_0x2c1071[_0x195e55(0x233)]({'cmd':F[_0x195e55(0x2eb)],'code':pe['OK'],'routeKey':_0x271adc['data'][_0x195e55(0x378)],'routeType':'','data':{'eventID':_0x5899ec['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5254ba}}});})[_0x5ca359(0x23a)](_0x2e4e21=>{var _0x43690d=_0x5ca359;this[_0x43690d(0x3fb)][_0x43690d(0x215)](_0x2e4e21),_0x4c4eea();});return;}}_0x435718[_0x5ca359(0x469)](Ns(_0xe2cb66));},'close':()=>{var _0x19a0b2=_0xee71e7;_0x435718[_0x19a0b2(0x433)](),_0x37a107[_0x19a0b2(0x211)]();}},_0x7fc43a;}async['_submitChangeset'](_0x2b93fc,_0xebe2ba){var _0x526ec9=_0xbf377e,_0x5635cd;const {unitType:_0x5a7cdb,unitID:_0x489c7b,changeset:_0xfe9841}=_0xebe2ba[_0x526ec9(0x3bb)],_0x2b60ac={'unitID':_0x489c7b,'memberID':_0x2b93fc[_0x526ec9(0x392)],'type':_0x5a7cdb,'changeset':_0xe4be05(_0xfe9841)},_0x5194a6=this[_0x526ec9(0x457)]['getConfig'](K),_0x228953=As((_0x5635cd=_0x5194a6==null?void 0x0:_0x5194a6['collabSubmitChangesetUrl'])!=null?_0x5635cd:Cs,_0x5a7cdb,_0x489c7b);try{await this[_0x526ec9(0x367)][_0x526ec9(0x459)](_0x228953,{'body':_0x2b60ac});}catch(_0x227ab7){throw this[_0x526ec9(0x3fb)][_0x526ec9(0x215)](_0x526ec9(0x2bc),_0x526ec9(0x449)),_0x227ab7;}}async[_0xbf377e(0x227)](_0x43b579){var _0x5b9c21=_0xbf377e;const {unitID:_0x537f46,from:_0x27b3d5,to:_0x21588e,unitType:_0x23a0d8}=_0x43b579['data'];return(await this[_0x5b9c21(0x35c)][_0x5b9c21(0x3ff)]({'metadata':void 0x0},{'unitID':_0x537f46,'type':_0x23a0d8,'from':_0x27b3d5,'to':_0x21588e}))[_0x5b9c21(0x355)];}};Ft=Us([De(0x0,_0x1c582e(_0x268804)),De(0x1,_0x1c582e(_0x44ae9d)),De(0x2,_0xe9c879),De(0x3,_0x11790f),De(0x4,_0x35d6f9)],Ft);const ws=_0xbf377e(0x22a);function Ps(_0x372b51){var _0x838b0d=_0xbf377e;return JSON[_0x838b0d(0x25e)](_0x372b51)[_0x838b0d(0x234)];}class gi{constructor(){var _0x3c8298=_0xbf377e;N(this,_0x3c8298(0x1f3),new _0x4a9222()),N(this,_0x3c8298(0x481),this[_0x3c8298(0x1f3)][_0x3c8298(0x22f)]());}['onCommentUpdate'](_0xcb996){var _0x24ed4d=_0xbf377e;this[_0x24ed4d(0x1f3)][_0x24ed4d(0x233)](_0xcb996);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x1e7db8,_0x51fed8,_0x501278,_0x220ff6)=>{var _0x22e08d=_0xbf377e;for(var _0x1186f2=_0x220ff6>0x1?void 0x0:_0x220ff6?Ms(_0x51fed8,_0x501278):_0x51fed8,_0x3bdad5=_0x1e7db8[_0x22e08d(0x234)]-0x1,_0x16d8cc;_0x3bdad5>=0x0;_0x3bdad5--)(_0x16d8cc=_0x1e7db8[_0x3bdad5])&&(_0x1186f2=_0x16d8cc(_0x1186f2)||_0x1186f2);return _0x1186f2;},Vt=(_0x655dcf,_0x39bf2b)=>(_0x59b440,_0x4569de)=>_0x39bf2b(_0x59b440,_0x4569de,_0x655dcf);let we=class extends _0x2d6575{constructor(_0x31fe55,_0xd30207){var _0x18e1a8=_0xbf377e;super(),N(this,'_roomMembers',new Map()),N(this,_0x18e1a8(0x4f0),new _0x4a9222()),(this[_0x18e1a8(0x268)]=_0x31fe55,this['_userManagerService']=_0xd30207,this[_0x18e1a8(0x32e)](_0x2df817(this[_0x18e1a8(0x268)][_0x18e1a8(0x35f)](_0x4db421['UNIVER_SHEET'])[_0x18e1a8(0x2fd)](_0x1ef428(_0x57ec23=>_0x57ec23[_0x18e1a8(0x4c2)]())),this['_univerInstanceService'][_0x18e1a8(0x35f)](_0x4db421[_0x18e1a8(0x2e9)])['pipe'](_0x1ef428(_0x2d5b9e=>_0x2d5b9e[_0x18e1a8(0x4c2)]())),this[_0x18e1a8(0x268)][_0x18e1a8(0x35f)](_0x4db421[_0x18e1a8(0x2da)])[_0x18e1a8(0x2fd)](_0x1ef428(_0x355c9a=>_0x355c9a['getUnitId']())))[_0x18e1a8(0x251)](_0xdbaf7b=>this['_removeRoom'](_0xdbaf7b))));}[_0xbf377e(0x407)](_0x4d7e3b){var _0x4350f7=_0xbf377e;return this[_0x4350f7(0x47b)][_0x4350f7(0x255)](_0x4d7e3b)?_0x11003f(this[_0x4350f7(0x47b)]['get'](_0x4d7e3b)):this['_roomCreated$']['pipe'](_0x1ef428(_0x54158c=>{var _0x3e2374=_0x4350f7;if(_0x54158c===_0x4d7e3b)return this[_0x3e2374(0x47b)][_0x3e2374(0x4e3)](_0x54158c);}));}[_0xbf377e(0x44f)](_0x1ec701){var _0x5101cd=_0xbf377e;this[_0x5101cd(0x275)][_0x5101cd(0x44f)](_0x1ec701);}[_0xbf377e(0x4ae)](){var _0x31c9dd=_0xbf377e;return this['_userManagerService'][_0x31c9dd(0x4ae)]();}[_0xbf377e(0x408)](_0x2faee7,_0x4dc07c){var _0x490fe7=_0xbf377e;let _0x1fadad=this[_0x490fe7(0x47b)][_0x490fe7(0x4e3)](_0x2faee7);_0x1fadad||(_0x1fadad=new xs(),this[_0x490fe7(0x47b)][_0x490fe7(0x2f7)](_0x2faee7,_0x1fadad),this[_0x490fe7(0x4f0)][_0x490fe7(0x233)](_0x2faee7)),_0x1fadad[_0x490fe7(0x408)](_0x4dc07c);}[_0xbf377e(0x428)](_0x391b7a,_0x108bcb){var _0x5c719a=_0xbf377e;const _0x111b84=this[_0x5c719a(0x47b)][_0x5c719a(0x4e3)](_0x391b7a);_0x111b84&&_0x111b84['removeMember'](_0x108bcb);}[_0xbf377e(0x46e)](_0x332313){var _0x25663a=_0xbf377e;return this['_roomMembers'][_0x25663a(0x4e3)](_0x332313);}[_0xbf377e(0x322)](_0x161ace,_0x2e7ede){var _0x3b3a34=_0xbf377e;const _0x9c9cad=this[_0x3b3a34(0x47b)][_0x3b3a34(0x4e3)](_0x161ace);if(_0x9c9cad)return _0x9c9cad[_0x3b3a34(0x322)](_0x2e7ede);}['_removeRoom'](_0x14d92d){var _0x5aa963=_0xbf377e;const _0x10ecc4=this['_roomMembers'][_0x5aa963(0x4e3)](_0x14d92d);_0x10ecc4&&(_0x10ecc4[_0x5aa963(0x211)](),this[_0x5aa963(0x47b)][_0x5aa963(0x284)](_0x14d92d));}[_0xbf377e(0x211)](){var _0x4d6d6b=_0xbf377e;this['_roomMembers'][_0x4d6d6b(0x250)](_0x50c77e=>_0x50c77e[_0x4d6d6b(0x211)]()),this['_roomMembers'][_0x4d6d6b(0x426)](),this[_0x4d6d6b(0x4f0)][_0x4d6d6b(0x224)]();}};we=Ls([Vt(0x0,_0x8ffa5d),Vt(0x1,_0x1c582e(_0xf61b8a))],we);class xs extends _0x2d6575{constructor(){var _0x4b9030=_0xbf377e;super(...arguments),N(this,'_members',new Map()),N(this,_0x4b9030(0x28e),new _0x1f6c9f(this['_members'])),N(this,_0x4b9030(0x432),this[_0x4b9030(0x28e)]['asObservable']());}[_0xbf377e(0x211)](){var _0x38fc30=_0xbf377e;this[_0x38fc30(0x283)]['clear']();}[_0xbf377e(0x408)](_0xae0ace){var _0x137216=_0xbf377e;this[_0x137216(0x283)][_0x137216(0x2f7)](_0xae0ace[_0x137216(0x392)],_0xae0ace),this['_emitMembers']();}[_0xbf377e(0x428)](_0x56a133){var _0x3fd33f=_0xbf377e;this[_0x3fd33f(0x283)][_0x3fd33f(0x284)](_0x56a133);}[_0xbf377e(0x322)](_0xa62874){var _0x58acc4=_0xbf377e;return this[_0x58acc4(0x283)]['get'](_0xa62874);}[_0xbf377e(0x326)](){var _0x46c59b=_0xbf377e;return Array[_0x46c59b(0x40f)](this[_0x46c59b(0x283)][_0x46c59b(0x28f)]());}[_0xbf377e(0x4b0)](){var _0x2376b7=_0xbf377e;this[_0x2376b7(0x28e)][_0x2376b7(0x233)](this[_0x2376b7(0x283)]);}}var ks=Object['getOwnPropertyDescriptor'],$s=(_0x2b2ea2,_0x11f5fc,_0x5dc12b,_0x5c4504)=>{var _0x2307df=_0xbf377e;for(var _0x28cf3a=_0x5c4504>0x1?void 0x0:_0x5c4504?ks(_0x11f5fc,_0x5dc12b):_0x11f5fc,_0x4dc284=_0x2b2ea2[_0x2307df(0x234)]-0x1,_0x5dc9e1;_0x4dc284>=0x0;_0x4dc284--)(_0x5dc9e1=_0x2b2ea2[_0x4dc284])&&(_0x28cf3a=_0x5dc9e1(_0x28cf3a)||_0x28cf3a);return _0x28cf3a;},Ce=(_0x217967,_0xd23bf4)=>(_0x5db5d5,_0x5d35e0)=>_0xd23bf4(_0x5db5d5,_0x5d35e0,_0x217967),ge=(_0x444d7d=>(_0x444d7d[_0x444d7d[_0xbf377e(0x232)]=0x0]='IDLE',_0x444d7d[_0x444d7d[_0xbf377e(0x2b3)]=0x1]=_0xbf377e(0x2b3),_0x444d7d[_0x444d7d[_0xbf377e(0x323)]=0x2]=_0xbf377e(0x323),_0x444d7d[_0x444d7d[_0xbf377e(0x2fa)]=0x3]=_0xbf377e(0x2fa),_0x444d7d))(ge||{});const Wt={[pe[_0xbf377e(0x1f8)]]:_0xbf377e(0x312),[pe[_0xbf377e(0x30b)]]:'session.room-full',[pe[_0xbf377e(0x2d3)]]:_0xbf377e(0x4ce),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0xbf377e(0x3eb),[pe[_0xbf377e(0x311)]]:_0xbf377e(0x3ca)};let gt=class extends _0x50936f{constructor(_0x2d1b61,_0x574357,_0x4e7cec,_0x13cc58,_0x2cd0a7,_0xe56af9,_0x351971,_0x1e3a67){var _0x50c6ca=_0xbf377e;super(),N(this,_0x50c6ca(0x3cc),new _0x1f6c9f(0x0)),N(this,_0x50c6ca(0x1ff),this[_0x50c6ca(0x3cc)][_0x50c6ca(0x22f)]()),N(this,_0x50c6ca(0x293),new _0x4a9222()),N(this,_0x50c6ca(0x25d),this[_0x50c6ca(0x293)]['asObservable']()),N(this,_0x50c6ca(0x2d1)),N(this,_0x50c6ca(0x26f)),N(this,_0x50c6ca(0x40b)),N(this,_0x50c6ca(0x34e),!0x1),N(this,_0x50c6ca(0x280),null),(this[_0x50c6ca(0x362)]=_0x2d1b61,this[_0x50c6ca(0x3fb)]=_0x4e7cec,this[_0x50c6ca(0x457)]=_0x13cc58,this[_0x50c6ca(0x2f2)]=_0x2cd0a7,this[_0x50c6ca(0x2c0)]=_0xe56af9,this['_collaborationUIEventService']=_0x351971,this[_0x50c6ca(0x2dc)]=_0x1e3a67,this[_0x50c6ca(0x34e)]=!!this[_0x50c6ca(0x2dc)],_0x574357[_0x50c6ca(0x2fd)](_0x39b035(this[_0x50c6ca(0x39f)]))[_0x50c6ca(0x251)](_0x5c4401=>{var _0x501cb9=_0x50c6ca,_0x2ed905;typeof _0x5c4401>'u'||(this['_socket']=_0x5c4401,_0x5c4401?(this['_joinRoom'](_0x5c4401),this['_socketMessageSubscription']=_0x5c4401['message$'][_0x501cb9(0x251)](_0x57b44f=>{var _0x2ebe4a=_0x501cb9;_0x57b44f[_0x2ebe4a(0x484)]===this[_0x2ebe4a(0x362)]&&this[_0x2ebe4a(0x205)](_0x57b44f);})):(this[_0x501cb9(0x4ed)](),this[_0x501cb9(0x3cc)]['next'](0x2),(_0x2ed905=this[_0x501cb9(0x26f)])==null||_0x2ed905[_0x501cb9(0x288)](),this[_0x501cb9(0x26f)]=null));}));}get['sessionStatus'](){var _0x341a4d=_0xbf377e;return this[_0x341a4d(0x3cc)][_0x341a4d(0x4c4)]();}[_0xbf377e(0x447)](){var _0x112c76=_0xbf377e,_0x4c96c0,_0x51a677;return(_0x51a677=(_0x4c96c0=this[_0x112c76(0x2d1)])==null?void 0x0:_0x4c96c0[_0x112c76(0x392)])!=null?_0x51a677:null;}['dispose'](){var _0x14963d=_0xbf377e;super[_0x14963d(0x211)](),this['dispose$'][_0x14963d(0x233)](),this['dispose$'][_0x14963d(0x224)]();}[_0xbf377e(0x433)](){var _0x2c27bb=_0xbf377e,_0x1df682,_0x1636fd;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1df682=this[_0x2c27bb(0x2d1)])==null||_0x1df682[_0x2c27bb(0x469)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x1636fd=this[_0x2c27bb(0x2d1)])==null||_0x1636fd[_0x2c27bb(0x433)](),this[_0x2c27bb(0x293)][_0x2c27bb(0x224)](),this[_0x2c27bb(0x3cc)][_0x2c27bb(0x224)](),this[_0x2c27bb(0x211)]();}[_0xbf377e(0x205)](_0x4f8a8b){var _0x55d130=_0xbf377e;_0x4f8a8b[_0x55d130(0x48f)]===F[_0x55d130(0x450)]?this['_onJoinRoomEvent'](_0x4f8a8b):_0x4f8a8b[_0x55d130(0x48f)]===F[_0x55d130(0x2eb)]&&this[_0x55d130(0x22d)](_0x4f8a8b);}[_0xbf377e(0x482)](_0x1afd0a){var _0x400713=_0xbf377e;this[_0x400713(0x3cc)][_0x400713(0x233)](0x1),_0x1afd0a[_0x400713(0x469)]({'cmd':F[_0x400713(0x450)],'routeKey':this[_0x400713(0x362)],'routeType':'','data':{'rooms':[{'roomID':this[_0x400713(0x362)]}]}});}[_0xbf377e(0x21d)](_0x777959){var _0x82c68e=_0xbf377e,_0x349c9c;if(_0x777959[_0x82c68e(0x3f4)]in Wt){this['_collaborationUIEventService'][_0x82c68e(0x37b)]({'id':ne[_0x82c68e(0x2b5)],'data':Wt[_0x777959[_0x82c68e(0x3f4)]]}),this[_0x82c68e(0x3cc)]['next'](0x2);return;}this[_0x82c68e(0x3cc)][_0x82c68e(0x233)](0x3);const _0x470610=(_0x349c9c=_0x777959[_0x82c68e(0x3bb)][_0x82c68e(0x491)][this[_0x82c68e(0x362)]])==null?void 0x0:_0x349c9c['members'];_0x470610&&_0x470610[_0x82c68e(0x250)](_0x2be2c9=>this['_memberService']['updateMember'](this['_unitID'],_0x2be2c9));}[_0xbf377e(0x22d)](_0x38f7ed){var _0x39899a=_0xbf377e;try{const _0x117d88=_0x38f7ed[_0x39899a(0x3bb)];switch(_0x117d88['eventID']){case _0x5899ec[_0x39899a(0x497)]:this[_0x39899a(0x451)](_0x117d88),this[_0x39899a(0x293)]['next'](_0x117d88);break;case _0x5899ec[_0x39899a(0x260)]:this[_0x39899a(0x424)](_0x117d88),this[_0x39899a(0x293)]['next'](_0x117d88);break;case _0x5899ec[_0x39899a(0x27e)]:case _0x5899ec[_0x39899a(0x3b4)]:this[_0x39899a(0x486)](),this['_clearCollaborationTimeoutTimer'](),this[_0x39899a(0x293)][_0x39899a(0x233)](_0x117d88);break;case _0x5899ec[_0x39899a(0x3d7)]:this[_0x39899a(0x3fb)]['error'](_0x39899a(0x38b)+JSON[_0x39899a(0x25e)](_0x117d88)),this[_0x39899a(0x293)][_0x39899a(0x233)](_0x117d88);break;case _0x5899ec['COMMENT_UPDATE']:this[_0x39899a(0x2c0)][_0x39899a(0x3c8)](_0x117d88[_0x39899a(0x3bb)]),this[_0x39899a(0x293)]['next'](_0x117d88);break;default:this['_event$'][_0x39899a(0x233)](_0x117d88);}}catch(_0x49f316){this[_0x39899a(0x3fb)][_0x39899a(0x215)](_0x49f316,_0x38f7ed);}}[_0xbf377e(0x451)](_0xc0fbb0){var _0x21969b=_0xbf377e;this[_0x21969b(0x2f2)][_0x21969b(0x408)](this[_0x21969b(0x362)],_0xc0fbb0[_0x21969b(0x3bb)]);}[_0xbf377e(0x424)](_0x4a78c4){var _0x3e1e81=_0xbf377e;this[_0x3e1e81(0x2f2)][_0x3e1e81(0x428)](this[_0x3e1e81(0x362)],_0x4a78c4['data']['memberID']);}async['send'](_0x960cfd,_0xf00930){var _0x4ba152=_0xbf377e;if(this[_0x4ba152(0x300)]!==0x3||!this[_0x4ba152(0x2d1)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x960cfd[_0x4ba152(0x214)]===_0x5899ec[_0x4ba152(0x2ce)]&&(this[_0x4ba152(0x36b)](),this['_startTelemetryCollaborationNewChangeset'](_0x960cfd)),this[_0x4ba152(0x2d1)][_0x4ba152(0x469)]({'cmd':F[_0x4ba152(0x3df)],'routeKey':_0xf00930,'routeType':'','data':_0x960cfd});}catch(_0x46b495){this[_0x4ba152(0x3fb)][_0x4ba152(0x215)](_0x46b495);}}[_0xbf377e(0x36b)](){var _0x15be09=_0xbf377e,_0x1bbd71;this[_0x15be09(0x40b)]=setTimeout(()=>{var _0x2131ac=_0x15be09;this[_0x2131ac(0x40b)]=null,this[_0x2131ac(0x264)][_0x2131ac(0x37b)]({'id':ne[_0x2131ac(0x210)]});},(_0x1bbd71=this[_0x15be09(0x457)]['getConfig'](di))!=null?_0x1bbd71:fi);}[_0xbf377e(0x490)](){var _0x432022=_0xbf377e;this[_0x432022(0x40b)]&&(clearTimeout(this[_0x432022(0x40b)]),this[_0x432022(0x40b)]=null);}[_0xbf377e(0x33b)](_0x2f2ab2){var _0x5e39e1=_0xbf377e;if(!this[_0x5e39e1(0x34e)])return;const {data:_0x135e3c}=_0x2f2ab2,{unitID:_0x10f612,changeset:_0x19afe7}=_0x135e3c,{mutations:_0x42d942,type:_0x9abadf}=_0x19afe7;this[_0x5e39e1(0x280)]={'unitId':_0x10f612,'type':_0x9abadf,'startTime':performance[_0x5e39e1(0x37f)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x42d942)};}[_0xbf377e(0x486)](){var _0x10313d=_0xbf377e;if(this[_0x10313d(0x34e)]){if(!this[_0x10313d(0x280)]){this['_logService']['error']('[CollaborationSession]',_0x10313d(0x351));return;}this[_0x10313d(0x280)][_0x10313d(0x2d4)]=performance[_0x10313d(0x37f)](),this['_telemetryInfo'][_0x10313d(0x3b1)]=this[_0x10313d(0x280)][_0x10313d(0x2d4)]-this[_0x10313d(0x280)][_0x10313d(0x4bd)],this['_telemetryService'][_0x10313d(0x4c9)](ws,this[_0x10313d(0x280)]),this[_0x10313d(0x280)]=null;}}[_0xbf377e(0x4ed)](){this['_telemetryInfo']=null;}};gt=$s([Ce(0x2,_0x11790f),Ce(0x3,_0xe9c879),Ce(0x4,_0x1c582e(we)),Ce(0x5,_0x1c582e(gi)),Ce(0x6,_0x1c582e(ve)),Ce(0x7,_0x452fc6(_0x9e3ba4))],gt);var Hs=Object[_0xbf377e(0x359)],Bs=(_0x3f2168,_0x4bbb57,_0x38233f,_0x1264e7)=>{var _0x94b187=_0xbf377e;for(var _0x37d111=_0x1264e7>0x1?void 0x0:_0x1264e7?Hs(_0x4bbb57,_0x38233f):_0x4bbb57,_0x496ae2=_0x3f2168[_0x94b187(0x234)]-0x1,_0x1bcd7f;_0x496ae2>=0x0;_0x496ae2--)(_0x1bcd7f=_0x3f2168[_0x496ae2])&&(_0x37d111=_0x1bcd7f(_0x37d111)||_0x37d111);return _0x37d111;},Re=(_0x45c799,_0x30a42f)=>(_0x4c21b3,_0x27e3a2)=>_0x30a42f(_0x4c21b3,_0x27e3a2,_0x45c799);let Pe=class extends _0x2d6575{constructor(_0x4312e9,_0x284b2b,_0x12ce97,_0x896ef6,_0x312f01,_0x29fa3b){var _0x4d6362=_0xbf377e;super(),N(this,'_socket$',new _0x1f6c9f(void 0x0)),N(this,_0x4d6362(0x222),this[_0x4d6362(0x41a)]['asObservable']()),N(this,_0x4d6362(0x23f),null),N(this,_0x4d6362(0x2a7),new Map()),N(this,_0x4d6362(0x29b),new _0x1f6c9f(ge[_0x4d6362(0x232)])),N(this,'status$',this[_0x4d6362(0x29b)][_0x4d6362(0x22f)]()),N(this,'_socketReady',!0x1),N(this,_0x4d6362(0x3e0)),N(this,'_retryCount',0x0),N(this,_0x4d6362(0x3fa)),N(this,_0x4d6362(0x24b)),(this[_0x4d6362(0x223)]=_0x4312e9,this['_logService']=_0x284b2b,this[_0x4d6362(0x457)]=_0x12ce97,this[_0x4d6362(0x4a1)]=_0x896ef6,this['_collaborationUIEventService']=_0x312f01,this[_0x4d6362(0x4f1)]=_0x29fa3b,this['_listenToNetworkCondition']());}get[_0xbf377e(0x2d1)](){var _0x1790a1=_0xbf377e;return this[_0x1790a1(0x41a)]['getValue']();}[_0xbf377e(0x429)](){var _0x344734=_0xbf377e;this[_0x344734(0x4f1)]&&this[_0x344734(0x32e)](this[_0x344734(0x4f1)][_0x344734(0x335)][_0x344734(0x251)](_0x1d80cc=>{var _0x36420f=_0x344734;_0x1d80cc&&!this[_0x36420f(0x2d1)]&&this[_0x36420f(0x471)](),_0x1d80cc||this[_0x36420f(0x3dd)]();}));}[_0xbf377e(0x211)](){var _0x306495=_0xbf377e;super[_0x306495(0x211)](),this[_0x306495(0x3a7)](),this[_0x306495(0x43d)](),this['_clearHeartbeatTimer'](),this[_0x306495(0x2a7)][_0x306495(0x250)](_0xbbd4c2=>_0xbbd4c2[_0x306495(0x211)]()),this[_0x306495(0x2a7)][_0x306495(0x426)](),this['_status$'][_0x306495(0x224)]();}async[_0xbf377e(0x455)](_0x50425d){var _0x17f81b=_0xbf377e;if(this[_0x17f81b(0x2a7)][_0x17f81b(0x255)](_0x50425d))return this[_0x17f81b(0x2a7)][_0x17f81b(0x4e3)](_0x50425d);this[_0x17f81b(0x278)]();const _0x48d8e9=this[_0x17f81b(0x223)][_0x17f81b(0x488)](gt,_0x50425d,this[_0x17f81b(0x41a)][_0x17f81b(0x22f)]());return this['_sessions']['set'](_0x50425d,_0x48d8e9),_0x48d8e9;}[_0xbf377e(0x483)](_0x5db275){var _0xb7ba3a=_0xbf377e,_0x55c5bd;const _0x592ba5=this[_0xb7ba3a(0x2a7)][_0xb7ba3a(0x4e3)](_0x5db275);_0x592ba5&&(this[_0xb7ba3a(0x2a7)][_0xb7ba3a(0x284)](_0x5db275),_0x592ba5[_0xb7ba3a(0x433)]()),this['_sessions'][_0xb7ba3a(0x3ae)]||(_0x55c5bd=this[_0xb7ba3a(0x2d1)])==null||_0x55c5bd['close']();}['reconnect'](){var _0x2dea6d=_0xbf377e;this[_0x2dea6d(0x3ea)]=0x0,this[_0x2dea6d(0x3a7)](),this[_0x2dea6d(0x2bf)]();}[_0xbf377e(0x3a7)](){var _0x44e692=_0xbf377e;this[_0x44e692(0x3e0)]!=null&&(clearTimeout(this[_0x44e692(0x3e0)]),this[_0x44e692(0x3e0)]=null);}async[_0xbf377e(0x30c)](){var _0x39527e=_0xbf377e,_0x49cdd4;const _0x3d9362=this[_0x39527e(0x457)][_0x39527e(0x225)](K),_0x5e082c=(_0x49cdd4=_0x3d9362==null?void 0x0:_0x3d9362[_0x39527e(0x389)])!=null?_0x49cdd4:ms,_0x3a73e4=await this[_0x39527e(0x4a1)][_0x39527e(0x379)](_0x5e082c);return this['_candidateSocket']=_0x3a73e4,_0x3a73e4;}async[_0xbf377e(0x278)](){var _0x45046b=_0xbf377e,_0x307009,_0x56bf0a;try{const _0x5402ea=(_0x56bf0a=(_0x307009=this[_0x45046b(0x2d1)])!=null?_0x307009:this[_0x45046b(0x23f)])!=null?_0x56bf0a:await this[_0x45046b(0x30c)]();if(_0x5402ea){const _0x2e3d01=_0x5402ea['send'];_0x5402ea['send']=_0x1cbb20=>(this[_0x45046b(0x43a)](),_0x2e3d01[_0x45046b(0x34b)](_0x5402ea,[_0x1cbb20])),_0x5402ea[_0x45046b(0x3bc)][_0x45046b(0x251)](_0x150171=>this[_0x45046b(0x296)](_0x5402ea,_0x150171)),_0x5402ea[_0x45046b(0x4e0)][_0x45046b(0x2fd)](_0x4d9d3d(0x1))[_0x45046b(0x251)](_0x96b2b9=>this[_0x45046b(0x3fb)][_0x45046b(0x215)](_0x45046b(0x40e),_0x96b2b9)),_0x5402ea[_0x45046b(0x203)][_0x45046b(0x2fd)](_0x4d9d3d(0x1))['subscribe'](()=>{var _0x2d9e36=_0x45046b;this[_0x2d9e36(0x386)](_0x5402ea);}),_0x5402ea[_0x45046b(0x381)][_0x45046b(0x2fd)](_0x4d9d3d(0x1))[_0x45046b(0x251)](_0x3e404e=>{var _0x3dfd93=_0x45046b;this[_0x3dfd93(0x3fb)][_0x3dfd93(0x2cd)](_0x3dfd93(0x40a),_0x3dfd93(0x37a),_0x3e404e),this[_0x3dfd93(0x35d)]();});}}catch(_0x221a15){this[_0x45046b(0x3fb)][_0x45046b(0x215)](_0x221a15),this[_0x45046b(0x35d)]();}}[_0xbf377e(0x386)](_0x46003c){var _0x17f72a=_0xbf377e;this[_0x17f72a(0x3fb)][_0x17f72a(0x2cd)](_0x17f72a(0x40a),_0x17f72a(0x380)),_0x46003c[_0x17f72a(0x469)]({'cmd':F['HELLO']}),this[_0x17f72a(0x43a)]();}[_0xbf377e(0x3dd)](){var _0x3c5f00=_0xbf377e;this['_socketReady']=!0x1,this[_0x3c5f00(0x23f)]=null,this[_0x3c5f00(0x29b)]['next'](ge['OFFLINE']),this[_0x3c5f00(0x41a)]['next'](null),this['_clearTimeoutTimer'](),this[_0x3c5f00(0x36c)]();}[_0xbf377e(0x35d)](){var _0x1aa347=_0xbf377e,_0x11e1b9;this[_0x1aa347(0x3dd)](),this[_0x1aa347(0x3ea)]<((_0x11e1b9=this[_0x1aa347(0x457)]['getConfig'](Is))!=null?_0x11e1b9:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x1aa347(0x4bb)]}),this['_tryReconnect']()):this[_0x1aa347(0x264)][_0x1aa347(0x37b)]({'id':ne[_0x1aa347(0x4b8)]});}['_tryReconnect'](){var _0x459115=_0xbf377e,_0x4247ad;const _0x51a277=this[_0x459115(0x3ea)],_0x57a299=this[_0x459115(0x457)][_0x459115(0x225)](K),_0x10ecc0=_0x51a277===0x0?0x0:((_0x4247ad=_0x57a299==null?void 0x0:_0x57a299[_0x459115(0x299)])!=null?_0x4247ad:Es)*0x2**_0x51a277;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4b830b=_0x459115;clearTimeout(this[_0x4b830b(0x3e0)]),this[_0x4b830b(0x3e0)]=null,this[_0x4b830b(0x278)]();},_0x10ecc0),this[_0x459115(0x3ea)]+=0x1;}['_onMessage'](_0x1ac95b,_0x22346d){var _0x53d5c5=_0xbf377e;const {cmd:_0x13eba7}=_0x22346d;_0x13eba7===F['HELLO']&&!this[_0x53d5c5(0x4be)]&&(_0x1ac95b[_0x53d5c5(0x392)]=_0x22346d[_0x53d5c5(0x3bb)][_0x53d5c5(0x392)],this['_socket$'][_0x53d5c5(0x233)](_0x1ac95b),this[_0x53d5c5(0x29b)][_0x53d5c5(0x233)](ge[_0x53d5c5(0x2fa)]),this[_0x53d5c5(0x4be)]=!0x0,this['_candidateSocket']=null),_0x13eba7===F['HEARTBEAT']&&this[_0x53d5c5(0x43d)](),this['_rescheduleHeartbeat']();}[_0xbf377e(0x43a)](){var _0x95bdc6=_0xbf377e,_0x1f58a8;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x1f58a8=this[_0x95bdc6(0x457)][_0x95bdc6(0x225)](gs))!=null?_0x1f58a8:Ss);}[_0xbf377e(0x3f9)](){var _0x254dd0=_0xbf377e;this['_socket']['send']({'cmd':F[_0x254dd0(0x478)]}),this[_0x254dd0(0x2e5)]();}[_0xbf377e(0x2e5)](){var _0xf91790=_0xbf377e,_0x519663;this[_0xf91790(0x24b)]=setTimeout(()=>this[_0xf91790(0x35d)](),(_0x519663=this[_0xf91790(0x457)][_0xf91790(0x225)](di))!=null?_0x519663:fi);}[_0xbf377e(0x36c)](){var _0x37efac=_0xbf377e;this[_0x37efac(0x3fa)]!=null&&(clearTimeout(this[_0x37efac(0x3fa)]),this[_0x37efac(0x3fa)]=null);}[_0xbf377e(0x43d)](){var _0x1171b4=_0xbf377e;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1171b4(0x24b)]=null);}};Pe=Bs([Re(0x0,_0x1c582e(_0x268804)),Re(0x1,_0x11790f),Re(0x2,_0xe9c879),Re(0x3,mi),Re(0x4,_0x1c582e(ve)),Re(0x5,_0x452fc6(bs))],Pe);const J=_0x175981(_0xbf377e(0x3b8));function br(_0xb79b7b){var _0x379e87=_0xbf377e;return _0x379e87(0x402)+_0xb79b7b;}var js=Object[_0xbf377e(0x359)],Fs=(_0x4e2e0c,_0x5a42f4,_0x29390e,_0x49760b)=>{var _0x12e689=_0xbf377e;for(var _0x151f37=_0x49760b>0x1?void 0x0:_0x49760b?js(_0x5a42f4,_0x29390e):_0x5a42f4,_0x4d8990=_0x4e2e0c[_0x12e689(0x234)]-0x1,_0x3a4547;_0x4d8990>=0x0;_0x4d8990--)(_0x3a4547=_0x4e2e0c[_0x4d8990])&&(_0x151f37=_0x3a4547(_0x151f37)||_0x151f37);return _0x151f37;},ut=(_0x995bb6,_0x4c5c5d)=>(_0x4c3903,_0x50c54c)=>_0x4c5c5d(_0x4c3903,_0x50c54c,_0x995bb6);function Vs(_0xbde11e){var _0x9746c1=_0xbf377e;const {unitID:_0x4a6e04,mutations:_0x5c9846}=_0xbde11e;return{'unitId':_0x4a6e04,'subUnitId':_0x5c9846[0x0][_0x9746c1(0x439)][_0x9746c1(0x1f5)]};}let it=class{constructor(_0x7c23d4,_0x1b1952,_0x135d9f){var _0x226fb3=_0xbf377e;this['_injector']=_0x7c23d4,this[_0x226fb3(0x4d6)]=_0x1b1952,this['_instanceService']=_0x135d9f;}[_0xbf377e(0x3a1)](_0x131577){var _0x540088=_0xbf377e,_0x397cb3,_0x426ed9,_0x16953c,_0x44d7ca;const _0x26809d=this[_0x540088(0x223)][_0x540088(0x4e3)](_0x3af427),{unitId:_0x4c4b73,subUnitId:_0x293690}=Vs(_0x131577),_0x20bcd6=_0x26809d==null?void 0x0:_0x26809d[_0x540088(0x2be)](_0x4c4b73)['getCurrentSelections'](),_0x4e027a=(_0x426ed9=(_0x397cb3=this[_0x540088(0x2ec)]['getUnit'](_0x4c4b73))==null?void 0x0:_0x397cb3[_0x540088(0x30f)]())==null?void 0x0:_0x426ed9[_0x540088(0x27a)]();if(_0x20bcd6['length']===0x0||!_0x4c4b73||!_0x293690)return;const _0x21692d=[{'id':_0x1ef4a2['id'],'params':{'unitId':_0x4c4b73,'subUnitId':_0x4e027a,'selections':_0x4560ad[_0x540088(0x42e)](_0x20bcd6)}}],_0x577053=this[_0x540088(0x4d6)][_0x540088(0x238)](_0x131577,_0x21692d);if(!_0x13d19e(_0x577053))throw _0x577053[_0x540088(0x215)];const _0x23f52e=(_0x44d7ca=(_0x16953c=_0x577053[_0x540088(0x3cd)][0x0])==null?void 0x0:_0x16953c[_0x540088(0x439)])==null?void 0x0:_0x44d7ca['selections'];if(Array[_0x540088(0x3c0)](_0x23f52e)&&_0x23f52e[_0x540088(0x234)]){if(_0x23f52e[_0x540088(0x234)]===_0x21692d[0x0]['params'][_0x540088(0x2c4)][_0x540088(0x234)]&&_0x23f52e[_0x540088(0x44c)]((_0x13c537,_0x2151e3)=>_0x3bf751[_0x540088(0x297)](_0x13c537['range'],_0x21692d[0x0][_0x540088(0x439)][_0x540088(0x2c4)][_0x2151e3]['range'])))return;this[_0x540088(0x223)][_0x540088(0x4e3)](_0xc02145)[_0x540088(0x2ba)](_0x1ef4a2['id'],{'unitId':_0x4c4b73,'subUnitId':_0x4e027a,'selections':_0x23f52e});}}};it=Fs([ut(0x0,_0x1c582e(_0x268804)),ut(0x1,_0xf8efc),ut(0x2,_0x8ffa5d)],it);const ht=_0x175981(_0xbf377e(0x414));var Si=(_0x275874=>(_0x275874[_0x275874[_0xbf377e(0x489)]=0x0]=_0xbf377e(0x489),_0x275874[_0x275874[_0xbf377e(0x487)]=0x1]=_0xbf377e(0x487),_0x275874))(Si||{});const Ws=new Set([_0x1a0324['id']]);function Gt(_0x27f9fc,_0x264b01,_0x4a8250,_0x8b74ef,_0x507b30){var _0x3598dd=_0xbf377e,_0x1a4ad0,_0x12a1eb,_0x1fd708,_0x3d3cf6;const _0x27f3ec=[];for(const _0x43db8a of _0x27f9fc)if(Ws[_0x3598dd(0x255)](_0x43db8a['id'])){if(_0x27f3ec[_0x3598dd(0x234)]>0x0)break;_0x27f3ec['push'](_0x43db8a);break;}else _0x27f3ec[_0x3598dd(0x403)](_0x43db8a);const _0x30dc1a=(_0x12a1eb=(_0x1a4ad0=_0x507b30['getCurrentUser']())==null?void 0x0:_0x1a4ad0[_0x3598dd(0x273)])!=null?_0x12a1eb:_0x3598dd(0x2f6),_0x557e67=(_0x3d3cf6=(_0x1fd708=_0x507b30['getCurrentUser']())==null?void 0x0:_0x1fd708[_0x3598dd(0x392)])!=null?_0x3d3cf6:'unknown';return{'changeset':{'unitID':_0x264b01,'type':_0x32f7b5(_0x4a8250[_0x3598dd(0x42c)](_0x264b01)),'baseRev':_0x8b74ef[_0x3598dd(0x393)](_0x264b01),'revision':0x0,'userID':_0x30dc1a,'memberID':_0x557e67,'mutations':_0x27f3ec},'pendingMutations':_0x27f9fc[_0x3598dd(0x3ba)](_0x27f3ec[_0x3598dd(0x234)])};}function Gs(_0x4c2ae3,_0x34fb37,_0x35c671,_0x51a386,_0xbbd6e8){var _0x36a0d4=_0xbf377e,_0x3be3d,_0xea6a0d,_0x513ff5,_0x15d12d;const _0x393b2b=[_0x4c2ae3[_0x36a0d4(0x226)]((_0x170925,_0x56e999)=>{var _0x58fb53=_0x36a0d4,_0x355bd2;const {id:_0x2a1b83}=_0x170925,{id:_0x4d91f9,type:_0x146fe4}=_0x56e999,_0x250478=(_0x355bd2=_0x170925['params'])!=null?_0x355bd2:{'actions':null},_0x40f6b5=_0x56e999[_0x58fb53(0x439)];if(_0x2a1b83&&_0x2a1b83!==_0x4d91f9)throw new Error(_0x58fb53(0x444)+_0x2a1b83+'\x20-\x20'+_0x4d91f9+'.');return{..._0x170925,'id':_0x4d91f9,'type':_0x146fe4,'params':{'unitId':_0x40f6b5[_0x58fb53(0x3d9)],'textRanges':_0x40f6b5[_0x58fb53(0x2d6)],'actions':_0x3c9047[_0x58fb53(0x435)](_0x250478[_0x58fb53(0x350)],_0x40f6b5[_0x58fb53(0x350)])}};},{})],_0x307010=(_0xea6a0d=(_0x3be3d=_0xbbd6e8[_0x36a0d4(0x4ae)]())==null?void 0x0:_0x3be3d['userID'])!=null?_0xea6a0d:_0x36a0d4(0x2f6),_0x340650=(_0x15d12d=(_0x513ff5=_0xbbd6e8[_0x36a0d4(0x4ae)]())==null?void 0x0:_0x513ff5[_0x36a0d4(0x392)])!=null?_0x15d12d:_0x36a0d4(0x2f6);return{'changeset':{'unitID':_0x34fb37,'type':_0x32f7b5(_0x35c671[_0x36a0d4(0x42c)](_0x34fb37)),'baseRev':_0x51a386[_0x36a0d4(0x393)](_0x34fb37),'revision':0x0,'userID':_0x307010,'memberID':_0x340650,'mutations':_0x393b2b},'pendingMutations':[]};}function Ei(_0x1859ab,_0xd3c06d){var _0x4bac1d=_0xbf377e;const _0x1c7c1b=new _0x2ee19e(0x1);return setTimeout(()=>_0x1c7c1b[_0x4bac1d(0x233)](_0xd3c06d),_0x1859ab),_0x1c7c1b[_0x4bac1d(0x22f)]()['pipe'](_0x3e5144(0x1));}const Ys={'id':_0x5b670f['id'],'type':_0x1a9537[_0xbf377e(0x2df)],'params':{}};var Ks=Object['getOwnPropertyDescriptor'],Ee=(_0x5ec283,_0x1f99a6,_0x1014dd,_0x4b6773)=>{var _0x5b1205=_0xbf377e;for(var _0x4b7839=_0x4b6773>0x1?void 0x0:_0x4b6773?Ks(_0x1f99a6,_0x1014dd):_0x1f99a6,_0x2f70b2=_0x5ec283[_0x5b1205(0x234)]-0x1,_0x51ce4a;_0x2f70b2>=0x0;_0x2f70b2--)(_0x51ce4a=_0x5ec283[_0x2f70b2])&&(_0x4b7839=_0x51ce4a(_0x4b7839)||_0x4b7839);return _0x4b7839;},P=(_0x57d9fb,_0x3937d6)=>(_0xe2b5cc,_0x159c4e)=>_0x3937d6(_0xe2b5cc,_0x159c4e,_0x57d9fb),Ii=(_0x244923=>(_0x244923[_0xbf377e(0x271)]=_0xbf377e(0x28a),_0x244923[_0xbf377e(0x29d)]=_0xbf377e(0x291),_0x244923[_0xbf377e(0x2a6)]=_0xbf377e(0x2a4),_0x244923[_0xbf377e(0x3fc)]='awaiting',_0x244923[_0xbf377e(0x383)]=_0xbf377e(0x2ee),_0x244923[_0xbf377e(0x3d3)]=_0xbf377e(0x272),_0x244923[_0xbf377e(0x4d5)]=_0xbf377e(0x356),_0x244923[_0xbf377e(0x323)]=_0xbf377e(0x2a0),_0x244923))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x1d606f,_0x14dfa1,_0x3094a2,_0x2f3c27,_0x81ed23,_0x23c2cd,_0x326f1f,_0x2123cb,_0x3224ec){var _0x1f0067=_0xbf377e;N(this,'_awaitingChangeset',null),N(this,_0x1f0067(0x454),[]),(this[_0x1f0067(0x378)]=_0x1d606f,this[_0x1f0067(0x2a1)]=_0x14dfa1,this[_0x1f0067(0x28d)]=_0x81ed23,this[_0x1f0067(0x3d4)]=_0x23c2cd,this['_undoRedoService']=_0x326f1f,this[_0x1f0067(0x2b2)]=_0x2123cb,this[_0x1f0067(0x4de)]=_0x3224ec,this[_0x1f0067(0x493)]=_0x3094a2,this[_0x1f0067(0x454)]=_0x2f3c27);}[_0xbf377e(0x3be)](_0x13e620){var _0x2cbc64=_0xbf377e;const _0x1d5590=this[_0x2cbc64(0x2b2)][_0x2cbc64(0x393)](this['unitID']);return _0x13e620['revision']>_0x1d5590+0x1?(this[_0x2cbc64(0x28d)][_0x2cbc64(0x4c7)]({'from':_0x1d5590,'to':_0x13e620[_0x2cbc64(0x33a)]-0x1}),!0x0):!0x1;}[_0xbf377e(0x24d)](_0xc82184){var _0x2b8019=_0xbf377e;this[_0x2b8019(0x320)][_0x2b8019(0x46b)](this[_0x2b8019(0x378)],_0xc82184);}[_0xbf377e(0x20b)](_0x1845ef){var _0x1b2e6f=_0xbf377e,_0x107526,_0x362501;(_0x362501=(_0x107526=this[_0x1b2e6f(0x28d)])[_0x1b2e6f(0x466)])==null||_0x362501[_0x1b2e6f(0x341)](_0x107526,_0x1845ef);}[_0xbf377e(0x463)](_0x309e91){var _0x1252f7=_0xbf377e,_0x44747c,_0x4f6db7;return(_0x4f6db7=(_0x44747c=this[_0x1252f7(0x28d)])[_0x1252f7(0x246)])==null?void 0x0:_0x4f6db7['call'](_0x44747c,_0x309e91);}['_transformStateCache'](_0x2f3354){var _0x110a48=_0xbf377e,_0x2f7a7f,_0x1287ae;return(_0x1287ae=(_0x2f7a7f=this[_0x110a48(0x28d)])[_0x110a48(0x4a4)])==null?void 0x0:_0x1287ae[_0x110a48(0x341)](_0x2f7a7f,_0x2f3354);}[_0xbf377e(0x339)](_0x281ddd){var _0x510e61=_0xbf377e,_0x345834,_0x1b6c0d,_0xd3eccf;return(_0xd3eccf=(_0x1b6c0d=(_0x345834=this[_0x510e61(0x28d)])[_0x510e61(0x261)])==null?void 0x0:_0x1b6c0d[_0x510e61(0x341)](_0x345834,_0x281ddd))!=null?_0xd3eccf:_0x281ddd;}[_0xbf377e(0x37c)](_0x219af1){var _0x2ab13f=_0xbf377e,_0x5a6d57,_0x2f3f1f,_0xf9e6d3;return(_0xf9e6d3=(_0x2f3f1f=(_0x5a6d57=this[_0x2ab13f(0x28d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f3f1f[_0x2ab13f(0x341)](_0x5a6d57,_0x219af1))!=null?_0xf9e6d3:_0x219af1;}[_0xbf377e(0x401)](_0x2ffdf8){var _0x515574=_0xbf377e,_0x128dcc,_0xccc0d0;if(this[_0x515574(0x2a1)]===Z[_0x515574(0x2e9)]){const {unitID:_0xbf3b26,mutations:_0x48c482,memberID:_0x507457}=_0x2ffdf8,_0x1dcbb8=_0x48c482[0x0][_0x515574(0x439)][_0x515574(0x2d6)];Array['isArray'](_0x1dcbb8)&&_0x1dcbb8[_0x515574(0x234)]>0x0&&((_0xccc0d0=(_0x128dcc=this[_0x515574(0x28d)])[_0x515574(0x317)])==null||_0xccc0d0[_0x515574(0x341)](_0x128dcc,{'unitID':_0xbf3b26,'memberID':_0x507457,'textRanges':_0x1dcbb8}));}}[_0xbf377e(0x44b)](){var _0x28d61b=_0xbf377e,_0x2565ce;(_0x2565ce=this[_0x28d61b(0x4de)])==null||_0x2565ce['updateOfflineData'](this['unitID'],this[_0x28d61b(0x2a1)],this[_0x28d61b(0x493)],this[_0x28d61b(0x454)]);}[_0xbf377e(0x3db)](){var _0x563141=_0xbf377e;return this['_revisionService'][_0x563141(0x393)](this[_0x563141(0x378)]);}[_0xbf377e(0x472)](){var _0x49fd0e=_0xbf377e;this['_revisionService'][_0x49fd0e(0x394)](this['unitID']);}[_0xbf377e(0x2bb)](_0x59a3e2){var _0xd4dcab=_0xbf377e,_0x573e24;let _0xaa7b16=this[_0xd4dcab(0x339)](_0x59a3e2);_0xaa7b16=this[_0xd4dcab(0x37c)](_0xaa7b16);const _0x53a99a=_0x1835bf(_0xaa7b16['mutations'],this[_0xd4dcab(0x3d4)],{'fromCollab':!0x0});if(!_0x53a99a['result'])throw _0x53a99a['error']instanceof Error?_0x53a99a[_0xd4dcab(0x215)]:new Error((_0x573e24=_0x53a99a[_0xd4dcab(0x215)])!=null?_0x573e24:_0xd4dcab(0x22c));this[_0xd4dcab(0x463)](_0xaa7b16),this['_transformStateCache'](_0xaa7b16),this[_0xd4dcab(0x24d)](_0x59a3e2),this[_0xd4dcab(0x20b)](_0xaa7b16),this[_0xd4dcab(0x401)](_0xaa7b16),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x3cb7d7,_0x24ce09,_0x295f86,_0xf2f44d,_0x13a59e,_0x457b21,_0x446c4c,_0x479ebb,_0x159a9c,_0x421f1a){var _0x38f8f2=_0xbf377e;super(_0x3cb7d7,_0x24ce09,null,[],_0x295f86,_0x446c4c,_0x457b21,_0xf2f44d,_0x421f1a),N(this,_0x38f8f2(0x398),_0x38f8f2(0x291)),(this['_injector']=_0x13a59e,this['_logService']=_0x479ebb,this['_transformService']=_0x159a9c,this['localCacheService']=_0x421f1a);}[_0xbf377e(0x310)](_0x2f9df6){var _0x2fb3b6=_0xbf377e;const _0x541065=this['_injector'][_0x2fb3b6(0x488)](re,this['unitID'],this[_0x2fb3b6(0x2a1)],[_0x2f9df6],this['_handler']);return _0x541065[_0x2fb3b6(0x206)](),_0x541065[_0x2fb3b6(0x44b)](),_0x541065;}['onRemoteChangeset'](_0x24fed0){var _0x4e7689=_0xbf377e;if(this[_0x4e7689(0x3be)](_0x24fed0))return this[_0x4e7689(0x223)][_0x4e7689(0x488)](Q,this['unitID'],this['type'],null,[],null,[_0x24fed0],this[_0x4e7689(0x28d)]);try{const _0x501e21=this['_transformService'][_0x4e7689(0x238)](_0x24fed0,[Ys]);if(_0x13d19e(_0x501e21)){const {c1Prime:_0x18789c}=_0x501e21;return this[_0x4e7689(0x2bb)](_0x18789c),this;}throw _0x501e21[_0x4e7689(0x215)];}catch(_0x1865af){return this['_logService'][_0x4e7689(0x215)](_0x1865af),this[_0x4e7689(0x37e)](!0x1);}}[_0xbf377e(0x37e)](_0x4f98e0){var _0x1972a8=_0xbf377e;return this[_0x1972a8(0x223)][_0x1972a8(0x488)](le,this['unitID'],this[_0x1972a8(0x2a1)],null,[],this['_handler'],_0x4f98e0);}[_0xbf377e(0x2e8)](){var _0x522d3e=_0xbf377e;throw new Error(_0x522d3e(0x45e));}[_0xbf377e(0x2e6)](){var _0x1d2ec6=_0xbf377e;throw new Error(_0x1d2ec6(0x2d9));}['onRemoteRetry'](){return this;}[_0xbf377e(0x21a)](){var _0x596713=_0xbf377e;return this['_injector'][_0x596713(0x488)](ue,this[_0x596713(0x378)],this[_0x596713(0x2a1)],null,[],this[_0x596713(0x28d)]);}[_0xbf377e(0x36d)](){return this;}['resend'](){var _0x40bfe5=_0xbf377e;throw new Error(_0x40bfe5(0x38a));}[_0xbf377e(0x334)](){var _0x5b480b=_0xbf377e;const _0x1168fd=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b480b(0x378)]);return this[_0x5b480b(0x28d)][_0x5b480b(0x4c7)]({'from':_0x1168fd,'to':0x0}),this[_0x5b480b(0x223)][_0x5b480b(0x488)](Q,this['unitID'],this[_0x5b480b(0x2a1)],null,[],null,[],this[_0x5b480b(0x28d)]);}};ye=Ee([P(0x3,_0x1c582e(_0x22d135)),P(0x4,_0x1c582e(_0x268804)),P(0x5,_0x26e538),P(0x6,_0xc02145),P(0x7,_0x11790f),P(0x8,_0xf8efc),P(0x9,_0x452fc6(J))],ye);let re=class extends Ie{constructor(_0xb474f0,_0x5ae146,_0x334e1c,_0x376be4,_0x4d585c,_0x4a90a1,_0x53069a,_0xca087c,_0x18a92a,_0x6fe699,_0x51db4c,_0x3209fc,_0x2a3048,_0x3774e2){var _0x15fa7d=_0xbf377e;super(_0xb474f0,_0x5ae146,null,_0x334e1c,_0x376be4,_0x18a92a,_0x2a3048,_0x4a90a1,_0x3774e2),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0x15fa7d(0x223)]=_0x4d585c,this[_0x15fa7d(0x2f2)]=_0x53069a,this['_logService']=_0xca087c,this[_0x15fa7d(0x457)]=_0x6fe699,this[_0x15fa7d(0x4d6)]=_0x51db4c,this['_univerInstanceService']=_0x3209fc);}[_0xbf377e(0x310)](_0x58f705){var _0x458db0=_0xbf377e;return this[_0x458db0(0x454)][_0x458db0(0x403)](_0x58f705),this[_0x458db0(0x44b)](),this;}[_0xbf377e(0x4a8)](_0xcaeda5){var _0x27c288=_0xbf377e;if(this[_0x27c288(0x3be)](_0xcaeda5))return this[_0x27c288(0x3f8)](),this[_0x27c288(0x223)][_0x27c288(0x488)](Q,this['unitID'],this[_0x27c288(0x2a1)],null,this[_0x27c288(0x454)],null,[_0xcaeda5],this[_0x27c288(0x28d)]);try{const _0xb2853e=this[_0x27c288(0x4d6)][_0x27c288(0x238)](_0xcaeda5,this['_pendingMutations']);if(_0x13d19e(_0xb2853e)){const {c1Prime:_0x736003,m2Prime:_0x1f0eba}=_0xb2853e;this['_executeRemoteChangeset'](_0x736003);const _0x5e041d=this[_0x27c288(0x223)][_0x27c288(0x488)](re,this[_0x27c288(0x378)],this[_0x27c288(0x2a1)],_0x1f0eba,this['_handler']);this[_0x27c288(0x3f8)]();const _0x3b2955=new Date()[_0x27c288(0x1fd)](),_0x30cf68=this[_0x27c288(0x4a2)]?Math[_0x27c288(0x31a)](this['_scheduleCompleteTimestamp']-_0x3b2955,0x0):this[_0x27c288(0x2a8)]();return _0x5e041d[_0x27c288(0x206)](_0x30cf68),_0x5e041d;}throw _0xb2853e['error'];}catch(_0x1fd027){return this[_0x27c288(0x3fb)][_0x27c288(0x215)](_0x1fd027),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x32a1bb=_0xbf377e;throw new Error(_0x32a1bb(0x476));}[_0xbf377e(0x2e6)](){var _0x12f650=_0xbf377e;throw new Error(_0x12f650(0x2e2));}[_0xbf377e(0x32f)](){return this;}[_0xbf377e(0x21a)](){var _0x3210ba=_0xbf377e;return this['_clearScheduledTask'](),this[_0x3210ba(0x223)][_0x3210ba(0x488)](ue,this['unitID'],this[_0x3210ba(0x2a1)],null,this[_0x3210ba(0x454)],this['_handler']);}[_0xbf377e(0x36d)](){return this;}[_0xbf377e(0x206)](_0x27fc9f){var _0x19e6e7=_0xbf377e;const _0x132e1c=_0x27fc9f!=null?_0x27fc9f:this[_0x19e6e7(0x2a8)]();this[_0x19e6e7(0x4a2)]=new Date()['getTime']()+_0x132e1c,this[_0x19e6e7(0x3e8)]=setTimeout(()=>{var _0x12312e=_0x19e6e7;this['_clearScheduledTask']();let _0x4a5a08=null;switch(this[_0x12312e(0x2a1)]){case Z[_0x12312e(0x229)]:{_0x4a5a08=Gt(this[_0x12312e(0x454)],this['unitID'],this[_0x12312e(0x268)],this['_revisionService'],this[_0x12312e(0x2f2)]);break;}case Z[_0x12312e(0x2e9)]:{this[_0x12312e(0x454)][_0x12312e(0x44c)](_0x53af20=>_0x53af20['id']===_0x166f61['id'])?_0x4a5a08=Gs(this[_0x12312e(0x454)],this[_0x12312e(0x378)],this[_0x12312e(0x268)],this[_0x12312e(0x2b2)],this[_0x12312e(0x2f2)]):_0x4a5a08=Gt(this[_0x12312e(0x454)],this[_0x12312e(0x378)],this[_0x12312e(0x268)],this[_0x12312e(0x2b2)],this['_memberService']);break;}default:throw new Error(_0x12312e(0x305)+this[_0x12312e(0x2a1)]+_0x12312e(0x4bf));}const {changeset:_0xf3a9b,pendingMutations:_0x1fc316}=_0x4a5a08;this[_0x12312e(0x28d)][_0x12312e(0x204)](_0xf3a9b);const _0x572a15=_0x1fc316[_0x12312e(0x234)]?this[_0x12312e(0x223)]['createInstance'](ae,this[_0x12312e(0x378)],this[_0x12312e(0x2a1)],_0xf3a9b,_0x1fc316,this['_handler'],void 0x0):this[_0x12312e(0x223)][_0x12312e(0x488)](_e,this[_0x12312e(0x378)],this[_0x12312e(0x2a1)],_0xf3a9b,this[_0x12312e(0x28d)]);_0x572a15[_0x12312e(0x44b)](),this[_0x12312e(0x28d)][_0x12312e(0x4b7)](this,_0x572a15);},_0x132e1c);}[_0xbf377e(0x2a8)](){var _0x33f83f=_0xbf377e,_0x15cf98;const _0x1133f8=this[_0x33f83f(0x457)][_0x33f83f(0x225)](K);return(_0x15cf98=_0x1133f8==null?void 0x0:_0x1133f8['sendChangesetTimeout'])!=null?_0x15cf98:ps;}['resend'](){var _0x540988=_0xbf377e;throw new Error(_0x540988(0x46f));}[_0xbf377e(0x3f8)](){var _0x173e93=_0xbf377e;this[_0x173e93(0x3e8)]!=null&&(clearTimeout(this[_0x173e93(0x3e8)]),this[_0x173e93(0x3e8)]=null);}[_0xbf377e(0x37e)](_0x3fb400){var _0x233053=_0xbf377e;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this[_0x233053(0x454)],this[_0x233053(0x28d)],_0x3fb400);}};re=Ee([P(0x4,_0x1c582e(_0x268804)),P(0x5,_0x1c582e(_0x22d135)),P(0x6,_0x1c582e(we)),P(0x7,_0x11790f),P(0x8,_0xc02145),P(0x9,_0xe9c879),P(0xa,_0xf8efc),P(0xb,_0x8ffa5d),P(0xc,_0x26e538),P(0xd,_0x452fc6(J))],re);let _e=class extends Ie{constructor(_0x2b183d,_0x2444cc,_0x34aae8,_0x43305b,_0x304125,_0x4e6b30,_0x532720,_0x58fca8,_0x5d4a80,_0x3c0698,_0x3f9dc5){var _0x26d6ef=_0xbf377e;super(_0x2b183d,_0x2444cc,_0x34aae8,[],_0x43305b,_0x532720,_0x3c0698,_0x4e6b30,_0x3f9dc5),N(this,'status',_0x26d6ef(0x445)),N(this,_0x26d6ef(0x3a0),0x0),N(this,_0x26d6ef(0x400)),N(this,_0x26d6ef(0x249)),(this[_0x26d6ef(0x223)]=_0x304125,this[_0x26d6ef(0x3fb)]=_0x58fca8,this[_0x26d6ef(0x4d6)]=_0x5d4a80);}[_0xbf377e(0x310)](_0x1e9a38){var _0x9e9062=_0xbf377e;this[_0x9e9062(0x3f8)]();const _0x2d62bb=this[_0x9e9062(0x223)]['createInstance'](ae,this['unitID'],this[_0x9e9062(0x2a1)],this[_0x9e9062(0x493)],[_0x1e9a38],this[_0x9e9062(0x28d)],this['_resendTimer']);return _0x2d62bb[_0x9e9062(0x44b)](),_0x2d62bb;}[_0xbf377e(0x4a8)](_0x9e1d35){var _0x5a0153=_0xbf377e;if(this[_0x5a0153(0x3be)](_0x9e1d35))return this[_0x5a0153(0x3f8)](),this[_0x5a0153(0x223)][_0x5a0153(0x488)](Q,this[_0x5a0153(0x378)],this[_0x5a0153(0x2a1)],this[_0x5a0153(0x493)],[],null,[_0x9e1d35],this[_0x5a0153(0x28d)]);try{const _0x463d2e=this[_0x5a0153(0x4d6)][_0x5a0153(0x21b)]([_0x9e1d35],[this[_0x5a0153(0x493)]],!0x1);if(_0x270b22(_0x463d2e)){const {c1Prime:_0x1f7402,c2Prime:_0xdb69a0}=_0x463d2e;this[_0x5a0153(0x2bb)](_0x1f7402[0x0]),_0xdb69a0[0x0][_0x5a0153(0x2e1)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x5d1efd=this[_0x5a0153(0x223)][_0x5a0153(0x488)](_e,this[_0x5a0153(0x378)],this['type'],_0xdb69a0[0x0],this[_0x5a0153(0x28d)]);return _0x5d1efd[_0x5a0153(0x44b)](),_0x5d1efd;}return this[_0x5a0153(0x37e)](!0x1);}catch(_0x1e857d){return this[_0x5a0153(0x3fb)][_0x5a0153(0x215)](_0x1e857d),this[_0x5a0153(0x37e)](!0x1);}}[_0xbf377e(0x2e8)](_0x4f0fe9){var _0x1f0347=_0xbf377e;this['_clearScheduledTask']();const _0x238e43=this[_0x1f0347(0x2b2)][_0x1f0347(0x393)](this[_0x1f0347(0x378)]);if(_0x4f0fe9[_0x1f0347(0x33a)]<_0x238e43-0x1)return this;if(this[_0x1f0347(0x3be)](_0x4f0fe9))return this[_0x1f0347(0x223)][_0x1f0347(0x488)](Q,this[_0x1f0347(0x378)],this[_0x1f0347(0x2a1)],null,[],this[_0x1f0347(0x493)],[],this[_0x1f0347(0x28d)]);this['_incrementRevisionNumber']();const _0x2be79c=this['_injector']['createInstance'](ye,this[_0x1f0347(0x378)],this[_0x1f0347(0x2a1)],this[_0x1f0347(0x28d)]);return _0x2be79c[_0x1f0347(0x44b)](),_0x2be79c;}[_0xbf377e(0x2e6)](_0x5b928a){var _0x146028=_0xbf377e;return this[_0x146028(0x37e)](!!(_0x5b928a!=null&&_0x5b928a[_0x146028(0x406)]));}[_0xbf377e(0x32f)](_0x233361){var _0x24df53=_0xbf377e;return this['_resendTimeout']>Ti?this['toggleOffline']():(this[_0x24df53(0x400)]=Ei(this[_0x24df53(0x3a0)],{'timeout':this[_0x24df53(0x3a0)],'reqId':_0x233361['reqId']}),this[_0x24df53(0x249)]=this[_0x24df53(0x400)][_0x24df53(0x251)](({reqId:_0x1b177e,timeout:_0x44403d})=>{var _0x552722=_0x24df53;this[_0x552722(0x467)](_0x1b177e,_0x44403d);}),this);}[_0xbf377e(0x21a)](){var _0x4daf07=_0xbf377e;return this[_0x4daf07(0x3f8)](),this['_injector']['createInstance'](ue,this[_0x4daf07(0x378)],this[_0x4daf07(0x2a1)],this[_0x4daf07(0x493)],[],this[_0x4daf07(0x28d)]);}['toggleOnline'](){return this;}[_0xbf377e(0x4c3)](){var _0x37e147=_0xbf377e;this[_0x37e147(0x28d)][_0x37e147(0x204)](this['_awaitingChangeset']);}[_0xbf377e(0x37e)](_0x190b8b){var _0x1f09c7=_0xbf377e;return this[_0x1f09c7(0x3f8)](),this[_0x1f09c7(0x223)]['createInstance'](le,this[_0x1f09c7(0x378)],this[_0x1f09c7(0x2a1)],this[_0x1f09c7(0x493)],[],this[_0x1f09c7(0x28d)],_0x190b8b);}[_0xbf377e(0x467)](_0x473ae6,_0x31811e){var _0x388c6b=_0xbf377e,_0x3ebc67;_0x473ae6===((_0x3ebc67=this[_0x388c6b(0x493)])==null?void 0x0:_0x3ebc67[_0x388c6b(0x3bd)])&&(this[_0x388c6b(0x4c3)](),this[_0x388c6b(0x3a0)]=_0x31811e===0x0?0x3e8:_0x31811e*0x2);}[_0xbf377e(0x3f8)](){var _0x37a69a=_0xbf377e,_0x5522aa;(_0x5522aa=this['_sender'])==null||_0x5522aa['unsubscribe'](),this[_0x37a69a(0x3a0)]=0x0;}};_e=Ee([P(0x4,_0x1c582e(_0x268804)),P(0x5,_0x1c582e(_0x22d135)),P(0x6,_0xc02145),P(0x7,_0x11790f),P(0x8,_0xf8efc),P(0x9,_0x26e538),P(0xa,_0x452fc6(J))],_e);let ae=class extends Ie{constructor(_0x46b423,_0x278931,_0x46f030,_0x47a8f9,_0x47b6f5,_0x5cb83e,_0xc8fc0a,_0x5e40da,_0x4e5df6,_0x485ff7,_0x189080,_0x19746a,_0x44ad6d){var _0x5db234=_0xbf377e;super(_0x46b423,_0x278931,_0x46f030,_0x47a8f9,_0x47b6f5,_0x4e5df6,_0x19746a,_0x5e40da,_0x44ad6d),N(this,_0x5db234(0x398),_0x5db234(0x2ee)),N(this,_0x5db234(0x3a0),0x0),N(this,_0x5db234(0x400)),N(this,_0x5db234(0x249)),(this[_0x5db234(0x223)]=_0xc8fc0a,this[_0x5db234(0x3fb)]=_0x485ff7,this[_0x5db234(0x4d6)]=_0x189080,this[_0x5db234(0x29f)]=_0x44ad6d,_0x5cb83e&&(this['_resendTimer']=_0x5cb83e,this[_0x5db234(0x249)]=this[_0x5db234(0x400)][_0x5db234(0x251)](({reqId:_0x4a27fe,timeout:_0x1352e9})=>{var _0x19d4d3=_0x5db234;this[_0x19d4d3(0x467)](_0x4a27fe,_0x1352e9);})));}[_0xbf377e(0x310)](_0x52ff2d){return this['_pendingMutations']['push'](_0x52ff2d),this;}[_0xbf377e(0x4a8)](_0x8bf70b){var _0x31bbfb=_0xbf377e;if(this[_0x31bbfb(0x3be)](_0x8bf70b))return this[_0x31bbfb(0x3f8)](),this[_0x31bbfb(0x223)][_0x31bbfb(0x488)](Q,this[_0x31bbfb(0x378)],this['type'],this[_0x31bbfb(0x493)],this[_0x31bbfb(0x454)],null,[_0x8bf70b],this[_0x31bbfb(0x28d)]);try{const _0x3ea6c8=this[_0x31bbfb(0x4d6)]['transformChangesets']([_0x8bf70b],[this['_awaitingChangeset']],!0x1);if(_0x270b22(_0x3ea6c8)){const {c1Prime:_0x5dbf2a,c2Prime:_0x41a22b}=_0x3ea6c8,_0x4f21c7=this[_0x31bbfb(0x4d6)][_0x31bbfb(0x238)](_0x5dbf2a[0x0],this[_0x31bbfb(0x454)]);if(_0x13d19e(_0x4f21c7)){const {c1Prime:_0x74c74a,m2Prime:_0x2248be}=_0x4f21c7;return this[_0x31bbfb(0x2bb)](_0x74c74a),_0x41a22b[0x0][_0x31bbfb(0x2e1)]=this['_getCurrentRevision'](),this[_0x31bbfb(0x3f8)](),this['_injector'][_0x31bbfb(0x488)](ae,this[_0x31bbfb(0x378)],this['type'],_0x41a22b[0x0],_0x2248be,this['_handler'],void 0x0);}throw _0x4f21c7['error'];}throw _0x3ea6c8[_0x31bbfb(0x215)];}catch(_0xee625a){return this[_0x31bbfb(0x3fb)]['error'](_0xee625a),this[_0x31bbfb(0x37e)](!0x1);}}['onRemoteAck'](_0x358036){var _0x5a2fe5=_0xbf377e;if(this[_0x5a2fe5(0x3f8)](),this[_0x5a2fe5(0x3be)](_0x358036))return this['_injector']['createInstance'](Q,this[_0x5a2fe5(0x378)],this[_0x5a2fe5(0x2a1)],null,this[_0x5a2fe5(0x454)],this[_0x5a2fe5(0x493)],[],this[_0x5a2fe5(0x28d)]);this[_0x5a2fe5(0x472)]();const _0x5a4528=this[_0x5a2fe5(0x223)][_0x5a2fe5(0x488)](re,this['unitID'],this[_0x5a2fe5(0x2a1)],this[_0x5a2fe5(0x454)],this['_handler']);return _0x5a4528[_0x5a2fe5(0x206)](),_0x5a4528[_0x5a2fe5(0x44b)](),_0x5a4528;}[_0xbf377e(0x2e6)](_0x3cf642){var _0x10b590=_0xbf377e;return this[_0x10b590(0x37e)](!!(_0x3cf642!=null&&_0x3cf642['isPermissionRej']));}[_0xbf377e(0x32f)](_0x3fc118){var _0x531bc4=_0xbf377e;return this[_0x531bc4(0x3a0)]>Ti?this[_0x531bc4(0x21a)]():(this[_0x531bc4(0x400)]=Ei(this[_0x531bc4(0x3a0)],{'timeout':this[_0x531bc4(0x3a0)],'reqId':_0x3fc118['reqId']}),this['_sender']=this['_resendTimer'][_0x531bc4(0x251)](({reqId:_0x8419ef,timeout:_0x5be731})=>{var _0x4360b5=_0x531bc4;this[_0x4360b5(0x467)](_0x8419ef,_0x5be731);}),this);}[_0xbf377e(0x21a)](){var _0x508a5e=_0xbf377e;return this[_0x508a5e(0x3f8)](),this[_0x508a5e(0x223)][_0x508a5e(0x488)](ue,this[_0x508a5e(0x378)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x508a5e(0x28d)]);}[_0xbf377e(0x36d)](){return this;}[_0xbf377e(0x4c3)](){var _0x215da5=_0xbf377e;this[_0x215da5(0x28d)][_0x215da5(0x204)](this[_0x215da5(0x493)]);}[_0xbf377e(0x37e)](_0x14dfc8){var _0x2a4ef5=_0xbf377e;return this[_0x2a4ef5(0x3f8)](),this[_0x2a4ef5(0x223)][_0x2a4ef5(0x488)](le,this[_0x2a4ef5(0x378)],this[_0x2a4ef5(0x2a1)],null,this[_0x2a4ef5(0x454)],this[_0x2a4ef5(0x28d)],_0x14dfc8);}[_0xbf377e(0x467)](_0x243137,_0x38608b){var _0xdf98a4=_0xbf377e,_0x1002f0;_0x243137===((_0x1002f0=this[_0xdf98a4(0x493)])==null?void 0x0:_0x1002f0[_0xdf98a4(0x3bd)])&&(this[_0xdf98a4(0x4c3)](),this['_resendTimeout']=_0x38608b===0x0?0x3e8:_0x38608b*0x2);}['_clearScheduledTask'](){var _0x230e9f=_0xbf377e,_0x8d0dda;(_0x8d0dda=this[_0x230e9f(0x249)])==null||_0x8d0dda[_0x230e9f(0x288)](),this[_0x230e9f(0x3a0)]=0x0;}};ae=Ee([P(0x6,_0x1c582e(_0x268804)),P(0x7,_0x1c582e(_0x22d135)),P(0x8,_0xc02145),P(0x9,_0x11790f),P(0xa,_0xf8efc),P(0xb,_0x26e538),P(0xc,_0x452fc6(J))],ae);let le=class extends Ie{constructor(_0x1b795c,_0x339e37,_0x1e3301,_0x3ea145,_0x4eb367,_0x37c6fd=!0x1,_0x1b14c7,_0x24b43a,_0x2b8a3a,_0x4bfedc,_0x231ec0,_0x2a6c8d,_0x1f7881){var _0x1396cc=_0xbf377e;super(_0x1b795c,_0x339e37,_0x1e3301,_0x3ea145,_0x4eb367,_0x24b43a,_0x2b8a3a,_0x4bfedc,_0x1f7881),N(this,'status',_0x1396cc(0x356)),(this[_0x1396cc(0x292)]=_0x37c6fd,this[_0x1396cc(0x495)]=_0x1b14c7,this[_0x1396cc(0x2f4)]=_0x231ec0,this[_0x1396cc(0x264)]=_0x2a6c8d,this['localCacheService']=_0x1f7881,this['_showConflictNotification'](),this[_0x1396cc(0x361)](),this[_0x1396cc(0x357)]());}[_0xbf377e(0x310)](){return this;}[_0xbf377e(0x4a8)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xbf377e(0x32f)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xbf377e(0x4c3)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xbf377e(0x361)](){var _0x4faf9a=_0xbf377e,_0x437c63;(_0x437c63=this[_0x4faf9a(0x4de)])==null||_0x437c63[_0x4faf9a(0x4f5)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x42ee3e=_0xbf377e;this[_0x42ee3e(0x292)]?this[_0x42ee3e(0x264)][_0x42ee3e(0x37b)]({'id':ne[_0x42ee3e(0x387)]}):this['_collaborationUIEventService'][_0x42ee3e(0x37b)]({'id':ne[_0x42ee3e(0x4d5)]});}[_0xbf377e(0x357)](){var _0x419bd0=_0xbf377e;this['_permissionService'][_0x419bd0(0x410)](new _0xc85e7d(this[_0x419bd0(0x378)])['id'],!0x1);}};le=Ee([P(0x6,_0x1c582e(_0xe07f13)),P(0x7,_0xc02145),P(0x8,_0x26e538),P(0x9,_0x1c582e(_0x22d135)),P(0xa,_0x1c582e(_0x213c64)),P(0xb,_0x1c582e(ve)),P(0xc,_0x452fc6(J))],le);let ue=class extends Ie{constructor(_0x33119b,_0x5b00f3,_0x5dce7b,_0x7e5f9a,_0x273dd9,_0x188d37,_0xcae618,_0x9724e6,_0x15e68f,_0x53529a){var _0x3ffebb=_0xbf377e;super(_0x33119b,_0x5b00f3,_0x5dce7b,_0x7e5f9a,_0x273dd9,_0x9724e6,_0x15e68f,_0xcae618,_0x53529a),N(this,_0x3ffebb(0x398),'offline'),this[_0x3ffebb(0x223)]=_0x188d37;}[_0xbf377e(0x310)](_0x4dd66d){var _0x159b5e=_0xbf377e;return this[_0x159b5e(0x454)][_0x159b5e(0x403)](_0x4dd66d),this[_0x159b5e(0x44b)](),this;}[_0xbf377e(0x4a8)](_0x429824){var _0x4c9210=_0xbf377e;throw new Error(_0x4c9210(0x31d));}[_0xbf377e(0x2e8)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xbf377e(0x2e6)](){var _0x4e4f4c=_0xbf377e;throw new Error(_0x4e4f4c(0x33c));}[_0xbf377e(0x32f)](){return this;}[_0xbf377e(0x21a)](){return this;}[_0xbf377e(0x36d)](){var _0x1350a7=_0xbf377e;const {_injector:_0x5502e6,_pendingMutations:_0x547f4f,_awaitingChangeset:_0x4d6186,unitID:_0x10c724,_handler:_0x53aed2,type:_0x3b389f}=this,_0x2aa38e=Ci(_0x5502e6,_0x10c724,_0x3b389f,_0x4d6186,_0x547f4f,_0x53aed2);return _0x2aa38e instanceof re?_0x2aa38e[_0x1350a7(0x206)]():(_0x2aa38e instanceof ae||_0x2aa38e instanceof _e)&&_0x2aa38e[_0x1350a7(0x4c3)](),_0x2aa38e;}[_0xbf377e(0x4c3)](){var _0x325421=_0xbf377e;throw new Error(_0x325421(0x431));}};ue=Ee([P(0x5,_0x1c582e(_0x268804)),P(0x6,_0x1c582e(_0x22d135)),P(0x7,_0xc02145),P(0x8,_0x26e538),P(0x9,_0x452fc6(J))],ue);let Q=class extends Ie{constructor(_0x4d89b9,_0x5daeaf,_0x28fb73,_0x1f7d1a,_0x1cbe09,_0x36c97e,_0x2c9376,_0x1a3117,_0x38c7ac,_0x1ff016,_0x58f6a8,_0x1c43a4,_0x1be82d,_0x5deb58){var _0x4ecf8f=_0xbf377e;super(_0x4d89b9,_0x5daeaf,_0x28fb73,_0x1f7d1a,_0x2c9376,_0x58f6a8,_0x1c43a4,_0x38c7ac,_0x5deb58),N(this,_0x4ecf8f(0x398),_0x4ecf8f(0x272)),(this['_acknowledgedAwaitingChangeset']=_0x1cbe09,this[_0x4ecf8f(0x4f2)]=_0x36c97e,this[_0x4ecf8f(0x223)]=_0x1a3117,this[_0x4ecf8f(0x3fb)]=_0x1ff016,this['_transformService']=_0x1be82d,this[_0x4ecf8f(0x29f)]=_0x5deb58);}[_0xbf377e(0x308)](_0x1a11f1){var _0x46d048=_0xbf377e;try{const _0x54d6ea=[..._0x1a11f1,...this[_0x46d048(0x4f2)]],_0x1dd8b1=[this['_awaitingChangeset']||this[_0x46d048(0x25f)]]['filter'](_0x28a20a=>!!_0x28a20a);let _0x326178,_0x4db5b2;if(_0x1dd8b1['length']){const _0xef2697=this[_0x46d048(0x4d6)]['transformChangesets'](_0x54d6ea,_0x1dd8b1,!0x1);if(!_0x270b22(_0xef2697))throw _0xef2697[_0x46d048(0x215)];_0x326178=_0xef2697[_0x46d048(0x27c)],_0x4db5b2=_0xef2697[_0x46d048(0x269)];}else _0x326178=_0x54d6ea,_0x4db5b2=[];let _0x195d3d=this['_pendingMutations'];_0x326178['forEach'](_0xd12d33=>{var _0x400f03=_0x46d048;let _0xdbf63a;if(_0x195d3d[_0x400f03(0x234)]){const _0x556bde=this[_0x400f03(0x4d6)][_0x400f03(0x238)](_0xd12d33,_0x195d3d);if(!_0x13d19e(_0x556bde))throw _0x556bde[_0x400f03(0x215)];_0xdbf63a=_0x556bde[_0x400f03(0x27c)],_0x195d3d=_0x556bde[_0x400f03(0x3cd)];}else _0xdbf63a=_0xd12d33;this[_0x400f03(0x2bb)](_0xdbf63a);}),this[_0x46d048(0x25f)]&&this[_0x46d048(0x472)](),this['_awaitingChangeset']&&_0x4db5b2[_0x46d048(0x234)]&&(_0x4db5b2[0x0][_0x46d048(0x2e1)]=this[_0x46d048(0x3db)]());let _0x5471e9;if(this['_awaitingChangeset']&&_0x195d3d[_0x46d048(0x234)]!==0x0)_0x5471e9=this[_0x46d048(0x223)][_0x46d048(0x488)](ae,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],_0x4db5b2[0x0],_0x195d3d,this[_0x46d048(0x28d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x195d3d[_0x46d048(0x234)]===0x0)_0x4db5b2[0x0]['baseRev']=this[_0x46d048(0x3db)](),_0x5471e9=this[_0x46d048(0x223)][_0x46d048(0x488)](_e,this['unitID'],this['type'],_0x4db5b2[0x0],this['_handler']);else{if(_0x195d3d[_0x46d048(0x234)]!==0x0){const _0x23c0a8=this[_0x46d048(0x223)]['createInstance'](re,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],_0x195d3d,this[_0x46d048(0x28d)]);_0x23c0a8[_0x46d048(0x206)](),_0x5471e9=_0x23c0a8;}else _0x5471e9=this[_0x46d048(0x223)][_0x46d048(0x488)](ye,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],this[_0x46d048(0x28d)]);}}return _0x5471e9[_0x46d048(0x44b)](),_0x5471e9;}catch(_0x42e45f){return this[_0x46d048(0x3fb)]['error'](_0x46d048(0x3b6),_0x46d048(0x46a),_0x42e45f),this[_0x46d048(0x223)][_0x46d048(0x488)](le,this[_0x46d048(0x378)],this[_0x46d048(0x2a1)],this[_0x46d048(0x493)],this['_pendingMutations'],this[_0x46d048(0x28d)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xbf377e(0x310)](_0x4d44f1){var _0x32a7b7=_0xbf377e;return this[_0x32a7b7(0x454)][_0x32a7b7(0x403)](_0x4d44f1),this;}['onRemoteChangeset'](_0x106596){var _0x4ed5ba=_0xbf377e;return this[_0x4ed5ba(0x4f2)][_0x4ed5ba(0x403)](_0x106596),this;}[_0xbf377e(0x2e8)](_0x44ea7d){var _0x4b31f7=_0xbf377e;if(this[_0x4b31f7(0x493)])return this[_0x4b31f7(0x25f)]=this[_0x4b31f7(0x493)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xbf377e(0x2e6)](_0x2ee80f){var _0x4f6118=_0xbf377e;return this['_onConflict'](!!(_0x2ee80f!=null&&_0x2ee80f[_0x4f6118(0x406)]));}[_0xbf377e(0x32f)](){return this;}['toggleOffline'](){var _0x14b4f8=_0xbf377e;return this[_0x14b4f8(0x223)][_0x14b4f8(0x488)](ue,this[_0x14b4f8(0x378)],this[_0x14b4f8(0x2a1)],this['_awaitingChangeset'],this[_0x14b4f8(0x454)],this[_0x14b4f8(0x28d)]);}[_0xbf377e(0x36d)](){return this;}[_0xbf377e(0x37e)](_0x4ba06b){var _0x3ea795=_0xbf377e;return this[_0x3ea795(0x223)]['createInstance'](le,this['unitID'],this[_0x3ea795(0x2a1)],this['_awaitingChangeset'],this[_0x3ea795(0x454)],this[_0x3ea795(0x28d)],_0x4ba06b);}};Q=Ee([P(0x7,_0x1c582e(_0x268804)),P(0x8,_0x1c582e(_0x22d135)),P(0x9,_0x11790f),P(0xa,_0xc02145),P(0xb,_0x26e538),P(0xc,_0xf8efc),P(0xd,_0x452fc6(J))],Q);function Ci(_0x1e64d9,_0x2530d5,_0x3fc47f,_0x312b30,_0x197d56,_0x530da1){var _0x53695a=_0xbf377e;return _0x312b30&&_0x197d56[_0x53695a(0x234)]?_0x1e64d9[_0x53695a(0x488)](ae,_0x2530d5,_0x3fc47f,_0x312b30,_0x197d56,_0x530da1,void 0x0):_0x312b30?_0x1e64d9['createInstance'](_e,_0x2530d5,_0x3fc47f,_0x312b30,_0x530da1):_0x197d56[_0x53695a(0x234)]?_0x1e64d9[_0x53695a(0x488)](re,_0x2530d5,_0x3fc47f,_0x197d56,_0x530da1):_0x1e64d9[_0x53695a(0x488)](ye,_0x2530d5,_0x3fc47f,_0x530da1);}var qs=Object['getOwnPropertyDescriptor'],wt=(_0x3062ee,_0x510a85,_0x2da5cd,_0x4c4fe4)=>{for(var _0xe9849a=_0x4c4fe4>0x1?void 0x0:_0x4c4fe4?qs(_0x510a85,_0x2da5cd):_0x510a85,_0xf241=_0x3062ee['length']-0x1,_0x4a0eb9;_0xf241>=0x0;_0xf241--)(_0x4a0eb9=_0x3062ee[_0xf241])&&(_0xe9849a=_0x4a0eb9(_0xe9849a)||_0xe9849a);return _0xe9849a;},H=(_0x14ea89,_0x2fc5fc)=>(_0x103c85,_0x426b5c)=>_0x2fc5fc(_0x103c85,_0x426b5c,_0x14ea89);let st=class extends _0x50936f{constructor(_0x3c0984,_0xbdc144,_0x43318b,_0x165f5f,_0x5b2be2,_0x4549d9,_0x29efc8,_0x2279bd,_0x416729,_0x4245c3,_0x3f785c,_0xbfd9b2,_0x1b88b6){var _0x20b9ec=_0xbf377e;super(),N(this,_0x20b9ec(0x48a),new _0x1f6c9f(null)),N(this,_0x20b9ec(0x3e6),this['_state$'][_0x20b9ec(0x22f)]()),N(this,_0x20b9ec(0x20f)),N(this,_0x20b9ec(0x30e),!0x1),N(this,_0x20b9ec(0x304),''),N(this,_0x20b9ec(0x4d7),0x0),N(this,_0x20b9ec(0x201),this[_0x20b9ec(0x3e6)][_0x20b9ec(0x2fd)](_0x55e73e(_0x764d20=>_0x764d20?_0x764d20[_0x20b9ec(0x398)]:Ii[_0x20b9ec(0x323)]),_0x139ba8(0x1))),N(this,_0x20b9ec(0x2a9),!0x1),N(this,_0x20b9ec(0x3e7),[]),(this[_0x20b9ec(0x378)]=_0x3c0984,this[_0x20b9ec(0x3a6)]=_0xbdc144,this[_0x20b9ec(0x309)]=_0x43318b,this[_0x20b9ec(0x223)]=_0x165f5f,this[_0x20b9ec(0x2d2)]=_0x5b2be2,this['_localeService']=_0x4549d9,this['_revisionService']=_0x29efc8,this['_eventService']=_0x2279bd,this['_logService']=_0x416729,this[_0x20b9ec(0x3d4)]=_0x4245c3,this[_0x20b9ec(0x495)]=_0x3f785c,this[_0x20b9ec(0x2f8)]=_0xbfd9b2,this[_0x20b9ec(0x4de)]=_0x1b88b6);}get[_0xbf377e(0x236)](){var _0x322c6f=_0xbf377e;return this[_0x322c6f(0x20f)];}async[_0xbf377e(0x2ef)](){var _0x45640b=_0xbf377e;if(this['state'])throw new Error(_0x45640b(0x4d1));await this[_0x45640b(0x3bf)]();}[_0xbf377e(0x2d7)](){var _0x37cc59=_0xbf377e;return this[_0x37cc59(0x30e)]=!0x0,_0x1ddba4(()=>{var _0x170022=_0x37cc59;this[_0x170022(0x30e)]=!0x1,this[_0x170022(0x427)]();});}[_0xbf377e(0x374)](_0x354545){var _0x1f0d5b=_0xbf377e;this[_0x1f0d5b(0x2cf)](_0x354545);}['_updateState'](_0x29656a){var _0x4bee0b=_0xbf377e;this['_state']=_0x29656a,this[_0x4bee0b(0x48a)][_0x4bee0b(0x233)](_0x29656a);}async[_0xbf377e(0x3bf)](){var _0x52d2f2=_0xbf377e,_0x4cb97b;this[_0x52d2f2(0x423)](await this[_0x52d2f2(0x3d6)]()),this[_0x52d2f2(0x2f8)]&&((_0x4cb97b=this[_0x52d2f2(0x2f8)])==null||_0x4cb97b[_0x52d2f2(0x3c2)](this[_0x52d2f2(0x378)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x52d2f2(0x241)](this[_0x52d2f2(0x378)])['subscribe'](_0x241c03=>{var _0x13b55e=_0x52d2f2;this['_logService'][_0x13b55e(0x2cd)](_0x13b55e(0x2c1),_0x13b55e(0x479),_0x241c03),_0x241c03===Si[_0x13b55e(0x487)]?(this[_0x13b55e(0x2ad)]['emitEvent']({'id':ne[_0x13b55e(0x456)]}),this['_permissionService'][_0x13b55e(0x410)](new _0xc85e7d(this[_0x13b55e(0x378)])['id'],!0x1),this['_permissionService'][_0x13b55e(0x2fe)](!0x1)):(this[_0x13b55e(0x495)][_0x13b55e(0x410)](new _0xc85e7d(this[_0x13b55e(0x378)])['id'],!0x0),this[_0x13b55e(0x495)][_0x13b55e(0x2fe)](!0x0));})));let _0x285fc9=!0x1;return this[_0x52d2f2(0x32e)](this[_0x52d2f2(0x3a6)][_0x52d2f2(0x1ff)][_0x52d2f2(0x251)](_0x3bd4c2=>{var _0x1adf94=_0x52d2f2;_0x3bd4c2===ge[_0x1adf94(0x2fa)]?this['_toggleOnline'](_0x285fc9):_0x3bd4c2===ge['OFFLINE']&&(_0x285fc9=!0x0,this[_0x1adf94(0x48c)]());})),this['disposeWithMe'](this[_0x52d2f2(0x3a6)][_0x52d2f2(0x25d)][_0x52d2f2(0x251)](_0x4dc7eb=>{var _0xab6230=_0x52d2f2;try{switch(_0x4dc7eb['eventID']){case _0x5899ec[_0xab6230(0x319)]:{this['_onRemoteChangeset'](_0x96ddd6(_0x4dc7eb[_0xab6230(0x3bb)]));break;}case _0x5899ec[_0xab6230(0x27e)]:{this['_onRemoteACK'](_0x4dc7eb[_0xab6230(0x3bb)]);break;}case _0x5899ec['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x5899ec[_0xab6230(0x3b4)]:{this[_0xab6230(0x2c5)](_0x4dc7eb[_0xab6230(0x3bb)]);break;}case _0x5899ec[_0xab6230(0x3f5)]:{this[_0xab6230(0x45d)](_0x4dc7eb[_0xab6230(0x3bb)]['changesets']['map'](_0x35c6ec=>_0x96ddd6(_0x35c6ec)));break;}case _0x5899ec[_0xab6230(0x4db)]:{this[_0xab6230(0x344)]({'isPermissionRej':!0x0});break;}case _0x5899ec[_0xab6230(0x42a)]:break;}}catch(_0x3d31b8){throw console[_0xab6230(0x215)](_0xab6230(0x37d),_0x3d31b8),_0x3d31b8;}})),this['_state'];}[_0xbf377e(0x36a)](){var _0x1e6b20=_0xbf377e;this[_0x1e6b20(0x2a9)]=!0x1;}[_0xbf377e(0x212)](){var _0x2f81e0=_0xbf377e;if(this[_0x2f81e0(0x2a9)])throw new Error(_0x2f81e0(0x417));this[_0x2f81e0(0x2a9)]=!0x0;}[_0xbf377e(0x2cf)](_0x5eb6f7){var _0x318d47=_0xbf377e;this['_lockTransition'](),this[_0x318d47(0x423)](this[_0x318d47(0x20f)][_0x318d47(0x310)](_0x5eb6f7)),this[_0x318d47(0x36a)]();}[_0xbf377e(0x239)](_0x3f632f){var _0x3bff0a=_0xbf377e;if(!(_0x3f632f[_0x3bff0a(0x33a)]<=this[_0x3bff0a(0x2b2)][_0x3bff0a(0x393)](this[_0x3bff0a(0x378)]))){if(this[_0x3bff0a(0x30e)]){this[_0x3bff0a(0x3e7)][_0x3bff0a(0x403)](_0x3f632f);return;}this[_0x3bff0a(0x4cc)](_0x3f632f);}}[_0xbf377e(0x427)](){var _0x5ae55f=_0xbf377e;this[_0x5ae55f(0x3e7)][_0x5ae55f(0x250)](_0x54bfd1=>this[_0x5ae55f(0x4cc)](_0x54bfd1)),this[_0x5ae55f(0x3e7)]=[];}['_applyRemoteChangeset'](_0x34e417){var _0x29f873=_0xbf377e;const _0x5f40b0=this[_0x29f873(0x2d2)]['interceptor']['fetchThroughInterceptors'](this[_0x29f873(0x2d2)][_0x29f873(0x485)][_0x29f873(0x2ff)]()[_0x29f873(0x4ec)])(_0x34e417[_0x29f873(0x2d8)],null)||_0x34e417[_0x29f873(0x2d8)],_0x46d5f1={..._0x34e417,'mutations':_0x5f40b0};this[_0x29f873(0x212)](),this['_updateState'](this[_0x29f873(0x20f)][_0x29f873(0x4a8)](_0x46d5f1)),this['_unlockTransition']();}[_0xbf377e(0x4ad)](_0x49d46d){var _0x4945d0=_0xbf377e;this[_0x4945d0(0x212)](),this['_updateState'](this[_0x4945d0(0x20f)]['onRemoteAck'](_0x49d46d)),this[_0x4945d0(0x36a)]();}[_0xbf377e(0x344)](_0x68441d){var _0x41a1f5=_0xbf377e;this['_lockTransition'](),this['_updateState'](this['_state'][_0x41a1f5(0x2e6)](_0x68441d)),this[_0x41a1f5(0x36a)]();}[_0xbf377e(0x2c5)](_0x2fbf1f){var _0x4fcdc3=_0xbf377e;this[_0x4fcdc3(0x212)](),this['_updateState'](this[_0x4fcdc3(0x20f)]['onRemoteRetry'](_0x2fbf1f)),this[_0x4fcdc3(0x36a)]();}[_0xbf377e(0x45d)](_0x554b67){var _0x12437b=_0xbf377e;if(!(this[_0x12437b(0x20f)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1783c3=_0x554b67[_0x12437b(0x422)](_0x4313b2=>{var _0x104e1c=_0x12437b;const _0x3189e8=this[_0x104e1c(0x2d2)][_0x104e1c(0x485)][_0x104e1c(0x46c)](this['_compressMutationService'][_0x104e1c(0x485)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4313b2[_0x104e1c(0x2d8)],null)||_0x4313b2[_0x104e1c(0x2d8)];return{..._0x4313b2,'mutations':_0x3189e8};});this[_0x12437b(0x212)](),this['_updateState'](this[_0x12437b(0x20f)][_0x12437b(0x308)](_0x1783c3)),this[_0x12437b(0x36a)]();}['_toggleOffline'](){var _0x52fcd1=_0xbf377e;this[_0x52fcd1(0x212)](),this[_0x52fcd1(0x423)](this['_state'][_0x52fcd1(0x21a)]()),this[_0x52fcd1(0x36a)]();}[_0xbf377e(0x42b)](_0x127847=!0x1){var _0x24ad04=_0xbf377e;this[_0x24ad04(0x212)](),this[_0x24ad04(0x423)](this[_0x24ad04(0x20f)][_0x24ad04(0x36d)]()),this[_0x24ad04(0x36a)]();const _0xe42a66=this[_0x24ad04(0x20f)];_0x127847&&_0xe42a66 instanceof ye&&(this[_0x24ad04(0x212)](),this[_0x24ad04(0x423)](_0xe42a66['fetchMiss']()),this['_unlockTransition']());}async[_0xbf377e(0x3d6)](){return new Promise(_0x4d1eb1=>{var _0x1039a7=_0x1cff;this['session'][_0x1039a7(0x1ff)]['pipe'](_0x3e5144(0x1))[_0x1039a7(0x251)](async _0x255a40=>{var _0x235f60=_0x1039a7;_0x4d1eb1(await this[_0x235f60(0x3ed)](_0x255a40===ge[_0x235f60(0x2fa)]));});});}['_createHandler'](){var _0x5f1c0d=_0xbf377e;const _0x295408=this[_0x5f1c0d(0x378)];return{'onStateChange':(_0x151ba3,_0x1a6b31)=>{var _0x436cd6=_0x5f1c0d;if(_0x151ba3!==this['_state'])throw new Error(_0x436cd6(0x3f0)+_0x151ba3['status']+'\x0aAfter:\x20'+_0x1a6b31[_0x436cd6(0x398)]+_0x436cd6(0x3e5)+this[_0x436cd6(0x20f)][_0x436cd6(0x398)]);this[_0x436cd6(0x423)](_0x1a6b31);},'onSendChangeset':_0x57ce76=>{var _0x26d412=_0x5f1c0d;_0x57ce76['sid']||(_0x57ce76['sid']=this['_changesetSessionId'],_0x57ce76[_0x26d412(0x3bd)]=++this['_changesetReqId']);const _0x463cff={'eventID':_0x5899ec[_0x26d412(0x2ce)],'data':{'unitID':_0x57ce76[_0x26d412(0x378)],'unitType':this[_0x26d412(0x309)],'changeset':_0x57ce76,'memberID':this['session'][_0x26d412(0x447)]()}};this['session'][_0x26d412(0x469)](_0x463cff,this[_0x26d412(0x378)]);},'onMissingChangesets':({from:_0xaaabb0,to:_0x4e36d1})=>{var _0x52cb03=_0x5f1c0d;this[_0x52cb03(0x3fb)][_0x52cb03(0x2cd)](_0x52cb03(0x2c1),'fetching\x20missing\x20changesets\x20from\x20'+_0xaaabb0+_0x52cb03(0x209)+_0x4e36d1);const _0x494636={'eventID':_0x5899ec[_0x52cb03(0x391)],'data':{'unitID':_0x295408,'unitType':this[_0x52cb03(0x309)],'from':_0xaaabb0,'to':_0x4e36d1}};this['session'][_0x52cb03(0x469)](_0x494636,this[_0x52cb03(0x378)]);}};}async[_0xbf377e(0x3ed)](_0x41bd22){var _0x95e82e=_0xbf377e,_0x389712,_0x2aec49,_0x3e01fe;const _0x382449=await((_0x389712=this['_localCacheService'])==null?void 0x0:_0x389712[_0x95e82e(0x298)](this[_0x95e82e(0x378)])),_0x4ff0bd=(_0x2aec49=_0x382449==null?void 0x0:_0x382449['mutations'])!=null?_0x2aec49:[],_0x2aea6c=(_0x3e01fe=_0x382449==null?void 0x0:_0x382449['awaitingChangeset'])!=null?_0x3e01fe:null,_0x4ce3f7=!!(_0x2aea6c!=null&&_0x2aea6c[_0x95e82e(0x26a)])&&!!(_0x2aea6c!=null&&_0x2aea6c[_0x95e82e(0x3bd)]);this['_changesetSessionId']=_0x4ce3f7?_0x2aea6c[_0x95e82e(0x26a)]:_0x4e9df5(),this[_0x95e82e(0x4d7)]=_0x4ce3f7?_0x2aea6c['reqId']:0x0;const _0x4dcdbe=this[_0x95e82e(0x378)];try{this[_0x95e82e(0x4d0)](_0x2aea6c,_0x4ff0bd);}catch(_0x20160e){this[_0x95e82e(0x3fb)]['error'](_0x20160e);}const _0x5c4523=this[_0x95e82e(0x28b)]();if(_0x41bd22){const _0xe89f80=Ci(this[_0x95e82e(0x223)],_0x4dcdbe,this['_type'],_0x2aea6c,_0x4ff0bd,_0x5c4523);return _0xe89f80 instanceof re?_0xe89f80[_0x95e82e(0x206)]():(_0xe89f80 instanceof ae||_0xe89f80 instanceof _e)&&_0xe89f80['resend'](),_0xe89f80;}return this[_0x95e82e(0x223)][_0x95e82e(0x488)](ue,_0x4dcdbe,this[_0x95e82e(0x309)],_0x2aea6c,_0x4ff0bd,_0x5c4523);}[_0xbf377e(0x4d0)](_0x1e4050,_0x193e38){var _0x1e918c=_0xbf377e,_0x4b32d4,_0x5bf469;const _0x1a1368=this[_0x1e918c(0x2d2)]['interceptor']['fetchThroughInterceptors'](this[_0x1e918c(0x2d2)][_0x1e918c(0x485)][_0x1e918c(0x2ff)]()['COMPRESS_MUTATION_APPLY']);(_0x4b32d4=_0x1a1368((_0x1e4050==null?void 0x0:_0x1e4050['mutations'])||[],null))==null||_0x4b32d4[_0x1e918c(0x250)](_0x50602c=>this['_commandService'][_0x1e918c(0x2ba)](_0x50602c['id'],_0x50602c[_0x1e918c(0x439)])),(_0x5bf469=_0x1a1368(_0x193e38||[],null))==null||_0x5bf469['forEach'](_0x1a93c7=>this['_commandService'][_0x1e918c(0x2ba)](_0x1a93c7['id'],_0x1a93c7['params']));}};function _0x3e02(){var _0x18d9c9=['[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.','reject','byteLength','_socket$','subject','saveImage','UserProfileImg','listCollaborators','action','getLatestCsReqIdBySid','_imageSourceCache','map','_updateState','_onUserLeave','RETRY_CONNECTING_MAX_COUNT','clear','_exhaustRemoteChangesetQueue','removeMember','_listenToNetworkCondition','UNISCRIPT_RUN','_toggleOnline','getUnitType','updateCursorEvent','deepClone','Decryptor','putCollaborators','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','members$','close','YUUMI_RATE_OVER_LIMIT','compose','onCommandExecuted','image/bmp','DEFAULT_FILE_NAME','params','_rescheduleHeartbeat','_decreaseWaiting','BufferedBlockAlgorithm','_clearTimeoutTimer','floor','USER_NOT_INVITED_CODE','rev','INVALID_INVITE_CODE','function','_getUndoStack','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','awaiting','words','getMemberID','SHOULD_CLOSE_CONN','submit\x20changeset\x20error!','getFocusedUnit','_updateLocalCache','every','put','COMPLETION_FINISHED','setCurrentUser','JOIN','_onUserJoin','entries','BASE64','_pendingMutations','requireSession','OTHER_CLIENT_EDITING','_configService','BlockCipherMode','post','HmacSHA1','href','SerializableCipher','_onFetchMissResult','[SyncedState]:\x20received\x20acknowledgement.','INVITE_CODE_REQUIRED','Latin1','requestParams','LIVESHARE_TERMINATE','_transformIMECache','/rev/','min','onTransformSelections','_resendWithTimeout','78WkBgfs','send','failed\x20to\x20apply\x20missed\x20changesets!','transformUndoRedo','fetchThroughInterceptors','sigBytes','getRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PasswordBasedCipher','reconnect','_incrementRevisionNumber','clone','buffer','HEARTBEAT_INTERVAL','[PendingState]:\x20received\x20acknowledgement.','add','HEARTBEAT','editing\x20status\x20changed\x20to','concat','_roomMembers','MOBILE_VERIFY_CODE_MISMATCH','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_CONNECTOR_URL_NOT_FOUND','csAckEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','commentUpdate$','_joinRoom','closeSession','routeKey','interceptor','_stopTelemetryCollaborationNewChangeset','OTHER_CLIENTS_EDITING','createInstance','NO_OTHER_CLIENTS_EDITING','_state$','pad','_toggleOffline','origin','CBC','cmd','_clearCollaborationTimeoutTimer','roomInfos','url','_awaitingChangeset','ERROR_IMAGE_TYPE','_permissionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','USERS_ENTER','replace','63jriVyc','_key','_getAPIPrefixPath','_data','POST','UNAUTHENTICATED','_collabSessionService','iterations','_socketService','_scheduleCompleteTimestamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformState','_createHmacHelper','LIVESHARE_FETCH_OPERATIONS','exports','onRemoteChangeset','&assign=','People','override','fromCharCode','_onRemoteACK','getCurrentUser','_initCloseConn','_emitMembers','UNRECOGNIZED','localeService','addImageSourceCache','_process','fromCollab','hasher','onStateChange','SOCKET_FAILED','crypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SOCKET_FAILED_RETRY','_keyPriorReset','startTime','_socketReady','\x20in\x20_schedule.','onTransformRemoteChangesetByStateCache','registerHTTPInterceptor','getUnitId','resend','getValue','YUUMI_UNABLE_LOAD_URL','uploadFileServerUrl','onMissingChangesets','__Key__','capture','image/jpeg','createCollaborator','_applyRemoteChangeset','getRandomValues','session.room-not-exists','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_submitChangeset','withCredentials','_redoStacks','CONFLICT','_transformService','_changesetReqId','_invKeySchedule','_change$','mode','PERMISSION_REJ','responseType','getCollabEntity$','_localCacheService','_snapshotService','error$','entityInit$','image/png','get','ceil','join','YUUMI_NO_CUBOID_FOR_QUESTION','INVITE_CODE_ALREADY_BOUND','YUUMI_ASYNCIO_CANCELLED','_parse','cfg','downloadEndpointUrl','COMPRESS_MUTATION_APPLY','_throwTelemetryCollaborationNewChangeset','_getSignURL','HttpExport','_roomCreated$','_networkConditionService','_queuedRemoteChangesets','UNIVER_UNKNOWN','_createHelper','updateOfflineData','createDecryptor','[DataLoaderService]','_config','/block/','Base','UNKNOWN_CMD','_commentUpdate$','loadDoc','subUnitId','SNAPSHOT_URL_KEY','PY_RUNTIME_SCRIPT_ERROR','FAIL','_hash','list','indexOf','Pkcs7','getTime','60176byAVee','sessionStatus$','sin','status$','_getLoginPath','open$','onSendChangeset','_onCombEvent','_schedule','csShouldRetryEvent','185152zASvpR','\x20to\x20','_getCtorByUniverType','_transformSelections','/collaborator','/universer-api/user/session-ticket','/unit/','_state','SUBMIT_CHANGESET_TIMEOUT','dispose','_lockTransition','getCollabEntity','eventID','error','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CHANGESET_REJ','CHANGESET_REVISION_CONFILICT','then','toggleOffline','transformChangesets','UNIVER_PROJECT','_onJoinRoomEvent','_map','initWorkbookPermissionChange','_ENC_XFORM_MODE','_getRedoStack','socket$','_injector','complete','getConfig','reduce','_fetchMissChangesets','splice','UNIVER_SHEET','collaboration_new_changeset','create','[CollaborationState]:\x20apply\x20error!','_onRecvEvent','_getDownloadEndpointURL','asObservable','UNIVER_COLLABORATION_CLIENT_PLUGIN','headers','IDLE','next','length','_handlerCallback','state','setConfig','transformMutationsWithChangeset','_onRemoteChangeset','catch','LIVESHARE_NEW_HOST','_reverseMap','name','MOBILE_HAS_BEEN_BOUND','_candidateSocket','saveSheetBlock','getUnitStatus$','liveShareOperation','Hasher','BlockCipher','Encryptor','onTransformIME','_initDependencies','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sender','lib','_timeoutTimer','find','_transformUndoredo','readAsDataURL','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','forEach','subscribe','csRejEvent','Undefined','Malformed\x20UTF-8\x20data','has','_initMergeInterceptor','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_oKey','_transformStack','HELLO','FileId','resourceIDs','event$','stringify','_acknowledgedAwaitingChangeset','USERS_LEAVE','onTransformRemoteChangesetByIMECache','LICENSE_IMPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','createEncryptor','getUnitOnRev','processBlock','_univerInstanceService','c2Prime','sid','update','msCrypto','_doReset','src','_socketMessageSubscription','_startCollaboration','NOT_COLLAB','fetch_missing','userID','Base64','_userManagerService','joinRsp','format','_tryEnsureSocket','charCodeAt','getSheetId','COMPRESS_MUTATION_SEND','c1Prime','_HTTPService','CHANGESET_ACK','image/jpg','_telemetryInfo','file','blockSize','_members','delete','$super','/-/object/list','target','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','not_collab','_createHandler','Could\x20not\x20dynamically\x20require\x20\x22','_handler','_members$','values','key','synced','_isPermissionRej','_event$','enableAuthServer','location','_onMessage','equals','loadOfflineData','retryConnectingInterval','/universer-api/snapshot','_status$','_xformMode','SYNCED','_doCreateSocket','localCacheService','offline','type','UnitSnapshot','uniscriptRunEvent','pending','AES','PENDING','_sessions','_getSendChangesetTimeout','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','extend','charAt','_eventService','loginUrlKey','1014120kmIeCh','NoPadding','hasOwnProperty','_revisionService','JOINING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN_ROOM_FAILED','authzUrl','_updateStatus','x-univer-host','_entityInit$','executeCommand','_executeRemoteChangeset','[CollaborationSession]','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getWorkbookSelections','_tryReconnect','_commentService','[CollaborationEntity]','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REJECT','selections','_onRemoteRetry','UnitEmbedded','enableOfflineEditing','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','OPTIONAL','infoRsp','/universer-api/authz','defineProperty','debug','SUBMIT_CHANGESET','_onLocalMutation','_waitCount','_socket','_compressMutationService','JOIN_ROOM_NOT_EXISTS','stopTime','HMAC','textRanges','pauseCollaboration','mutations','[SyncedState]:\x20received\x20rejection.','UNIVER_SLIDE','default','_telemetryService','_keySchedule','parse','MUTATION','EMAIL_HAS_BEEN_BOUND','baseRev','[PendingState]:\x20received\x20rejection.','_collaborationSessionService','ERROR_IMAGE','_waitForHeartbeatResponse','onRemoteRej','filter','onRemoteAck','UNIVER_DOC','objectType','RECV','_instanceService','refreshPermission','awaiting_with_pending','init','pluginName','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_memberService','encode','_localeService','Cipher','unknown','set','_singleActiveUnitService','allowed','ONLINE','__creator','ciphertext','pipe','setShowComponents','getInterceptPoints','sessionStatus','_iKey','/fetchmissing?from=','_initRequestHeader','_changesetSessionId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ALREADY_EXISTS','roles','onMissedChangesetFetched','_type','/universer-api/oidc/authpage','JOIN_ROOM_FULL','_createSocket','loadSheet','_collaborationPaused','getActiveSheet','appendMutation','GLOBAL_ROOMS_CNT_EXCEEDS','session.join-failed','decrypt','formatter','_getUploadFileURL','originalMeta','onSyncEditingCollabCursor','addHandlerCallback','NEW_CHANGESETS','max','liveShareNewHost','deleteCollaborator','[OfflineState]:\x20received\x20changeset.','reset','collaborators','_undoRedoService','SNAPSHOT_INVALID_SNAPSHOT','getMember','OFFLINE','[UniverCollaborationClientPlugin]','reverse','getAllMembers','WordArray','MD5','_minBufferSize','INTERNAL_ERROR','_doCryptBlock','/universer-api/uniscript','signUrlServerUrl','disposeWithMe','onRemoteRetry','TOO_MANY_REQUESTS','prototype','&to=','YUUMI_SUBSCRIPTION_NOT_FOUND','fetchMiss','online$','encryptBlock','558579xVHxBC','change$','_transformRemoteChangesetByIMECache','revision','_startTelemetryCollaborationNewChangeset','[OfflineState]:\x20received\x20rejection.','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','updateCollaborator','ws://127.0.0.1:8000/universer-api/comb/connect','_iv','call','random','OpenSSL','_onRemoteRejected','toString','finalize','YUUMI_ALL_TABLES_IS_INVALID','APPLY_PERMISSION_DENIED','_nDataBytes','kdf','apply','151385nizwCS','workbook','_shouldReportTelemetry','getImage','actions','telemetry\x20info\x20is\x20not\x20initialized','hostname','UUID','method','changesets','conflict','_disableEditing','algo','getOwnPropertyDescriptor','UPDATE_CURSOR','listRoles','_snapshotServerService','_onConnectionFailed','_hasher','getTypeOfUnitDisposed$','getSnapshotAPIPath','_clearLocalCache','_unitID','includes','/allowed','_getAPIPrefix','enableCollaboration','_httpService','keySize','result','_unlockTransition','_scheduleCollaborationTimeoutTimer','_clearHeartbeatTimer','toggleOnline','HEARTBEAT_TIMEOUT','mixIn','CLOSE_ROOM','_mode','LOGIN_FAILED','connection\x20error','onLocalMutation','_doFinalize','/-/object/-/batch_allowed','_prevBlock','unitID','createSocket','socket\x20close','emitEvent','_transformRemoteChangesetByStateCache','Error\x20on\x20receiving\x20event','_onConflict','now','socket\x20open.','close$','/resources','AWAITING_WITH_PENDING','UNKNOWN_CODE','PERSON','_onConnectionOpen','PERMISSION_DENIED','disableLocalCache','collabWebSocketUrl','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','save\x20fail\x20reason\x20is\x20','onStarting','enc','shouldCloseConn','Utf8','HttpImport','FETCH_MISSING','memberID','getCurrentRevOfUnit','incrementRevOfUnit','WECHAT_HAS_BEEN_BOUND','loadUnitOfRevision','encrypt','status','ivSize','copyFileMeta','encodeURIComponent','[CollaborationUndoRedoService]','_replaceFileID','457962sAJGaO','dispose$','_resendTimeout','transformSelections','body','LOCAL_CACHE_INTERVAL','UPDATE_PERMISSION_OBJ','salt','session','_clearRetryConnectingTimer','APPLY_NON_SEQUENTIAL_REVISION','unpad','compute','LEAVE','YUUMI_AI_RUN_FAILED','saveChangeset','size','APPLY_REVISION_CONFILICT','clamp','duration','EvpKDF','updateSnapshot','CHANGESET_SHOULD_RETRY','_substituteRedoStack','[FetchMissState]','1365952HdDivk','collaboration-client.local-cache-service','readInt32LE','slice','data','message$','reqId','_checkMissing','_init','isArray','repeat','editingUnit','/object/','_clearUndo','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_cipher','SHA1','onCommentUpdate','LIVESHARE_REQUEST_HOST','session.room-cnt-exceeds','randomBytes','_sessionStatus$','m2Prime','newCsEvent','_registerDependencies','snapshot','symbol','/object','FETCH_MISS','_commandService','image/gif','_createInitialState','MSG_FOR_ERROR','unitInfo$','unitId','{fileID}','_getCurrentRevision','INVITE_CODE_HAS_BEEN_UES','_onOffline','execute','INGEST','_retryConnectingTimer','COMMENT_UPDATE','_entities','getTypeOfUnitAdded$','_unitInfo$','\x0aCurrent:\x20','state$','_remoteChangesetQueue','_sendingTimer','socketService','_retryCount','session.room-permission-denied','_append','_createInitialStateImpl','_initUnitPermissionChange','SNAPSHOT_HAS_BEEN_REMOVED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_DISTRO_REJECTED','CipherParams','objects','code','PSEUDO_FETCH_MISSING_RESULT','objectID','padding','_clearScheduledTask','_sendHeartbeat','_sendHeartbeatTimer','_logService','AWAITING','_sheetTransformSelectionsService','LIVESHARE_OPERATION','fetchMissingChangesets','_resendTimer','_syncEditingCollabCursor','unit-cache-','push','Failed\x20to\x20update\x20permission\x20point','_nRounds','isPermissionRej','waitForRoom$','updateMember','getSheetBlock','[CollaborationSessionService]','_collaborationTimeoutTimer','string','joinEvent','[CollaborationSessionService]:\x20socket\x20error','from','updatePermissionPoint','_substituteUndoStack','resolve','auth.needGotoLoginAlert','univer-pro.collaboration-client.single-active-unit-service','APPLY_DUPLICATED','EMAIL_VERIFY_CODE_MISMATCH'];_0x3e02=function(){return _0x18d9c9;};return _0x3e02();}st=wt([H(0x3,_0x1c582e(_0x268804)),H(0x4,_0x1c582e(_0x55cac5)),H(0x5,_0x1c582e(_0x213c64)),H(0x6,_0x1c582e(_0x22d135)),H(0x7,_0x1c582e(ve)),H(0x8,_0x11790f),H(0x9,_0xc02145),H(0xa,_0xe07f13),H(0xb,_0x452fc6(ht)),H(0xc,_0x452fc6(J))],st);function _0x1cff(_0x28e26b,_0x3d41cd){var _0x3e02c4=_0x3e02();return _0x1cff=function(_0x1cff96,_0x1b02ec){_0x1cff96=_0x1cff96-0x1f1;var _0x306e14=_0x3e02c4[_0x1cff96];return _0x306e14;},_0x1cff(_0x28e26b,_0x3d41cd);}let St=class extends st{constructor(_0x5d172e,_0x4a2794,_0x353425,_0x52ed24,_0x34a075,_0x262b09,_0x90adb2,_0x554d5a,_0x73c298,_0x2e216e,_0x37f027,_0x12121d,_0x41f3e2){var _0x53709f=_0xbf377e;super(_0x5d172e,_0x353425,_0x4a2794,_0x52ed24,_0x34a075,_0x262b09,_0x90adb2,_0x554d5a,_0x73c298,_0x2e216e,_0x37f027,_0x12121d,_0x41f3e2),N(this,_0x53709f(0x235),null),(this['unitID']=_0x5d172e,this[_0x53709f(0x2a1)]=_0x4a2794);}[_0xbf377e(0x318)](_0x450b38){var _0x4169aa=_0xbf377e;this[_0x4169aa(0x235)]=_0x450b38;}[_0xbf377e(0x211)](){var _0x4a0f5e=_0xbf377e;this[_0x4a0f5e(0x235)]=null,super[_0x4a0f5e(0x211)]();}[_0xbf377e(0x28b)](){var _0x39b90f=_0xbf377e;const _0x4ba4b3=super['_createHandler']();return _0x4ba4b3[_0x39b90f(0x246)]=_0x37d461=>{var _0x12417d=_0x39b90f,_0x5ab3d7,_0x47b36f;return(_0x47b36f=(_0x5ab3d7=this[_0x12417d(0x235)])==null?void 0x0:_0x5ab3d7[_0x12417d(0x246)])==null?void 0x0:_0x47b36f[_0x12417d(0x341)](_0x5ab3d7,_0x37d461);},_0x4ba4b3[_0x39b90f(0x4a4)]=_0x5e9018=>{var _0x4a5a28=_0x39b90f,_0x1b73af,_0x2f9b40;return(_0x2f9b40=(_0x1b73af=this[_0x4a5a28(0x235)])==null?void 0x0:_0x1b73af[_0x4a5a28(0x4a4)])==null?void 0x0:_0x2f9b40[_0x4a5a28(0x341)](_0x1b73af,_0x5e9018);},_0x4ba4b3[_0x39b90f(0x466)]=_0xa0f88e=>{var _0x261aee=_0x39b90f,_0x69e74d,_0x1f98e3;return(_0x1f98e3=(_0x69e74d=this['_handlerCallback'])==null?void 0x0:_0x69e74d[_0x261aee(0x466)])==null?void 0x0:_0x1f98e3[_0x261aee(0x341)](_0x69e74d,_0xa0f88e);},_0x4ba4b3[_0x39b90f(0x317)]=_0xdbffd6=>{var _0x36af40=_0x39b90f,_0x4b5fe7,_0x5d2702;return(_0x5d2702=(_0x4b5fe7=this[_0x36af40(0x235)])==null?void 0x0:_0x4b5fe7['onSyncEditingCollabCursor'])==null?void 0x0:_0x5d2702['call'](_0x4b5fe7,_0xdbffd6);},_0x4ba4b3[_0x39b90f(0x261)]=_0x19fe85=>{var _0x2696d6=_0x39b90f,_0x43b48f,_0x4f7913,_0x15ce0d;if(!((_0x43b48f=this[_0x2696d6(0x235)])!=null&&_0x43b48f[_0x2696d6(0x261)]))throw new Error(_0x2696d6(0x248));return(_0x15ce0d=(_0x4f7913=this['_handlerCallback'])==null?void 0x0:_0x4f7913[_0x2696d6(0x261)])==null?void 0x0:_0x15ce0d[_0x2696d6(0x341)](_0x4f7913,_0x19fe85);},_0x4ba4b3[_0x39b90f(0x4c0)]=_0x598551=>{var _0x1bd0a0=_0x39b90f,_0x1fd31d,_0x3d1689,_0x4be935;if(!((_0x1fd31d=this[_0x1bd0a0(0x235)])!=null&&_0x1fd31d[_0x1bd0a0(0x4c0)]))throw new Error(_0x1bd0a0(0x4ba));return(_0x4be935=(_0x3d1689=this[_0x1bd0a0(0x235)])==null?void 0x0:_0x3d1689[_0x1bd0a0(0x4c0)])==null?void 0x0:_0x4be935[_0x1bd0a0(0x341)](_0x3d1689,_0x598551);},_0x4ba4b3;}async[_0xbf377e(0x3bf)](){var _0x358628=_0xbf377e;const _0x96d407=await super[_0x358628(0x3bf)]();return this[_0x358628(0x32e)](this[_0x358628(0x3d4)][_0x358628(0x436)]((_0x390031,_0x211fc7)=>{var _0xf9ea00=_0x358628;if(_0x390031[_0xf9ea00(0x2a1)]!==_0x1a9537[_0xf9ea00(0x2df)]||_0x211fc7!=null&&_0x211fc7[_0xf9ea00(0x4b5)]||_0x211fc7!=null&&_0x211fc7['onlyLocal']||_0x390031['id']===_0x166f61['id'])return;const _0x3c7109=_0x390031['params'];if((_0x3c7109==null?void 0x0:_0x3c7109[_0xf9ea00(0x3d9)])!==this[_0xf9ea00(0x378)])return;const _0x1402c0=_0x390031,_0x4d35dc=this['_compressMutationService'][_0xf9ea00(0x485)][_0xf9ea00(0x46c)](this[_0xf9ea00(0x2d2)][_0xf9ea00(0x485)][_0xf9ea00(0x2ff)]()[_0xf9ea00(0x27b)])([_0x1402c0],null)||[_0x1402c0];this[_0xf9ea00(0x2cf)](_0x4d35dc[0x0]);})),_0x96d407;}};St=wt([H(0x3,_0x1c582e(_0x268804)),H(0x4,_0x1c582e(_0x55cac5)),H(0x5,_0x1c582e(_0x213c64)),H(0x6,_0x1c582e(_0x22d135)),H(0x7,_0x1c582e(ve)),H(0x8,_0x11790f),H(0x9,_0xc02145),H(0xa,_0xe07f13),H(0xb,_0x452fc6(ht)),H(0xc,_0x452fc6(J))],St);let Et=class extends st{constructor(_0x1aa1b1,_0x57245e,_0x3071a6,_0x17d7ea,_0x478517,_0x20c60b,_0x2fe108,_0x49b5de,_0xd7086e,_0x4e1d67,_0x3f9d13,_0x360aa2,_0x2e4a14,_0x178267){var _0x392fac=_0xbf377e;super(_0x1aa1b1,_0x3071a6,_0x57245e,_0x17d7ea,_0x478517,_0x20c60b,_0x2fe108,_0xd7086e,_0x4e1d67,_0x3f9d13,_0x360aa2,_0x2e4a14,_0x178267),this['unitID']=_0x1aa1b1,this['type']=_0x57245e,this[_0x392fac(0x3fd)]=_0x49b5de;}[_0xbf377e(0x28b)](){var _0x8888cf=_0xbf377e;const _0x3e30cf=super['_createHandler']();return _0x3e30cf[_0x8888cf(0x466)]=_0x132120=>this[_0x8888cf(0x3fd)][_0x8888cf(0x3a1)](_0x132120),_0x3e30cf;}async[_0xbf377e(0x3bf)](){var _0x5511e4=_0xbf377e;const _0x2f6346=await super[_0x5511e4(0x3bf)]();return this['disposeWithMe'](this[_0x5511e4(0x3d4)][_0x5511e4(0x436)]((_0x1fb8bb,_0xd2d804)=>{var _0x5e3fb2=_0x5511e4;if(_0x1fb8bb['type']!==_0x1a9537[_0x5e3fb2(0x2df)]||_0xd2d804!=null&&_0xd2d804[_0x5e3fb2(0x4b5)]||_0xd2d804!=null&&_0xd2d804['onlyLocal'])return;const _0x500d65=_0x1fb8bb[_0x5e3fb2(0x439)];if((_0x500d65==null?void 0x0:_0x500d65[_0x5e3fb2(0x3d9)])!==this[_0x5e3fb2(0x378)])return;const _0x46c5f2=_0x1fb8bb,_0x301a2e=this[_0x5e3fb2(0x2d2)][_0x5e3fb2(0x485)][_0x5e3fb2(0x46c)](this[_0x5e3fb2(0x2d2)]['interceptor'][_0x5e3fb2(0x2ff)]()[_0x5e3fb2(0x27b)])([_0x46c5f2],null)||[_0x46c5f2];this['_onLocalMutation'](_0x301a2e[0x0]);})),_0x2f6346;}};Et=wt([H(0x3,_0x1c582e(_0x268804)),H(0x4,_0x1c582e(_0x55cac5)),H(0x5,_0x1c582e(_0x213c64)),H(0x6,_0x1c582e(_0x22d135)),H(0x7,_0x1c582e(it)),H(0x8,_0x1c582e(ve)),H(0x9,_0x11790f),H(0xa,_0xc02145),H(0xb,_0xe07f13),H(0xc,_0x452fc6(ht)),H(0xd,_0x452fc6(J))],Et);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x17408f,_0x594fbc,_0x42b996,_0x247075)=>{var _0x1d6f57=_0xbf377e;for(var _0x3075f7=_0x247075>0x1?void 0x0:_0x247075?zs(_0x594fbc,_0x42b996):_0x594fbc,_0x4ae119=_0x17408f[_0x1d6f57(0x234)]-0x1,_0x3cba3f;_0x4ae119>=0x0;_0x4ae119--)(_0x3cba3f=_0x17408f[_0x4ae119])&&(_0x3075f7=_0x3cba3f(_0x3075f7)||_0x3075f7);return _0x3075f7;},Be=(_0x202ffe,_0x1da52c)=>(_0xfa6cac,_0xb6f1f4)=>_0x1da52c(_0xfa6cac,_0xb6f1f4,_0x202ffe);let nt=class extends _0x50936f{constructor(_0x1f3fe9,_0x14296b,_0x2b9620,_0x29db8a){var _0x4da92e=_0xbf377e,_0x1e0e9a;super(),N(this,_0x4da92e(0x3e2),new Map()),N(this,_0x4da92e(0x2b9),new _0x4a9222()),N(this,_0x4da92e(0x4e1),this['_entityInit$'][_0x4da92e(0x22f)]()),(this['_injector']=_0x1f3fe9,this[_0x4da92e(0x49f)]=_0x14296b,this[_0x4da92e(0x457)]=_0x2b9620,this[_0x4da92e(0x268)]=_0x29db8a,((_0x1e0e9a=this[_0x4da92e(0x457)]['getConfig'](K))==null?void 0x0:_0x1e0e9a[_0x4da92e(0x366)])!==!0x1&&this[_0x4da92e(0x3bf)]());}[_0xbf377e(0x211)](){var _0x574307=_0xbf377e;super[_0x574307(0x211)](),this['_entities']['forEach'](_0x1869ca=>_0x1869ca[_0x574307(0x211)]()),this[_0x574307(0x3e2)]['clear']();}[_0xbf377e(0x213)](_0x1ad2ac){var _0x41b29f=_0xbf377e,_0x3e5258;return(_0x3e5258=this[_0x41b29f(0x3e2)][_0x41b29f(0x4e3)](_0x1ad2ac))!=null?_0x3e5258:null;}[_0xbf377e(0x4dd)](_0xfbeaf){var _0x397b5a=_0xbf377e;const _0x461c28=this['getCollabEntity'](_0xfbeaf);return _0x461c28?_0x11003f(_0x461c28):this[_0x397b5a(0x2b9)][_0x397b5a(0x2fd)](_0x28ef92(_0x23f6f0=>_0x23f6f0['unitID']===_0xfbeaf));}['readyForCollab'](_0x94d284){var _0x4f8d17=_0xbf377e;return _0x39a30b(this['getCollabEntity$'](_0x94d284)[_0x4f8d17(0x2fd)](_0x1ef428(()=>{})));}[_0xbf377e(0x3bf)](){var _0x1d1a57=_0xbf377e;this[_0x1d1a57(0x268)]['getTypeOfUnitAdded$'](_0x4db421['UNIVER_SHEET'])['pipe'](_0x39b035(this[_0x1d1a57(0x39f)]),_0x100efb(0x10))[_0x1d1a57(0x251)](async _0x2d29cf=>{var _0x5d7857=_0x1d1a57;const _0x204404=_0x2d29cf[_0x5d7857(0x4c2)](),_0x53c08e=await this[_0x5d7857(0x270)](_0x204404,Z[_0x5d7857(0x229)]);this[_0x5d7857(0x3e2)][_0x5d7857(0x2f7)](_0x204404,_0x53c08e);}),this[_0x1d1a57(0x268)]['getTypeOfUnitAdded$'](_0x4db421[_0x1d1a57(0x2e9)])[_0x1d1a57(0x2fd)](_0x39b035(this[_0x1d1a57(0x39f)]),_0x100efb(0x10))[_0x1d1a57(0x2fd)](_0x28ef92(_0x3e7ac2=>!_0x3e7ac2['getUnitId']()['startsWith']('__')))['subscribe'](async _0xa5fb6c=>{var _0x2e43e3=_0x1d1a57;const _0x49a743=_0xa5fb6c[_0x2e43e3(0x4c2)](),_0x3f09ba=await this[_0x2e43e3(0x270)](_0x49a743,Z[_0x2e43e3(0x2e9)]);this[_0x2e43e3(0x3e2)][_0x2e43e3(0x2f7)](_0x49a743,_0x3f09ba);}),_0x2df817(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4db421[_0x1d1a57(0x229)]),this[_0x1d1a57(0x268)][_0x1d1a57(0x35f)](_0x4db421['UNIVER_DOC']))[_0x1d1a57(0x2fd)](_0x39b035(this[_0x1d1a57(0x39f)]))[_0x1d1a57(0x251)](_0x42ceb7=>{var _0x406023=_0x1d1a57;const _0x48a7e7=_0x42ceb7[_0x406023(0x4c2)](),_0x475e08=this['_entities']['get'](_0x48a7e7);_0x475e08&&(_0x475e08[_0x406023(0x211)](),this['_entities'][_0x406023(0x284)](_0x48a7e7));});}async[_0xbf377e(0x270)](_0x2d663,_0x4e2cb8){var _0x13d2f2=_0xbf377e;const _0x4d00ce=await this[_0x13d2f2(0x49f)]['requireSession'](_0x2d663),_0x297e8c=this[_0x13d2f2(0x223)][_0x13d2f2(0x488)](this['_getCtorByUniverType'](_0x4e2cb8),_0x2d663,_0x4e2cb8,_0x4d00ce);return await _0x297e8c[_0x13d2f2(0x2ef)](),this[_0x13d2f2(0x2b9)][_0x13d2f2(0x233)](_0x297e8c),_0x297e8c;}[_0xbf377e(0x20a)](_0x951a71){var _0x5a5b77=_0xbf377e;switch(_0x951a71){case Z['UNIVER_DOC']:return St;case Z[_0x5a5b77(0x229)]:return Et;default:throw new Error(_0x5a5b77(0x2aa)+_0x951a71);}}};nt=Js([Be(0x0,_0x1c582e(_0x268804)),Be(0x1,_0x1c582e(Pe)),Be(0x2,_0xe9c879),Be(0x3,_0x8ffa5d)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x4479eb,_0x5c3a32,_0x232044,_0xee319d)=>{var _0x10e309=_0xbf377e;for(var _0x370074=_0xee319d>0x1?void 0x0:_0xee319d?Xs(_0x5c3a32,_0x232044):_0x5c3a32,_0xa351d2=_0x4479eb[_0x10e309(0x234)]-0x1,_0x55cf4e;_0xa351d2>=0x0;_0xa351d2--)(_0x55cf4e=_0x4479eb[_0xa351d2])&&(_0x370074=_0x55cf4e(_0x370074)||_0x370074);return _0x370074;},Yt=(_0x11adb4,_0x45f648)=>(_0x111d44,_0x1c9034)=>_0x45f648(_0x111d44,_0x1c9034,_0x11adb4);const Qs=_0xbf377e(0x438),en='Univer';let It=class extends _0x2d6575{constructor(_0x3bf2ef,_0x8a6425){var _0x1b1437=_0xbf377e;super(),this[_0x1b1437(0x268)]=_0x3bf2ef,this[_0x1b1437(0x457)]=_0x8a6425,this[_0x1b1437(0x3bf)]();}[_0xbf377e(0x3bf)](){var _0x5e0ffa=_0xbf377e;this[_0x5e0ffa(0x32e)](this[_0x5e0ffa(0x268)]['focused$'][_0x5e0ffa(0x251)](()=>{var _0x35199a=_0x5e0ffa,_0x470268;const _0x5a0cae=this[_0x35199a(0x268)][_0x35199a(0x44a)]();let _0x447e9d=(_0x470268=this[_0x35199a(0x457)][_0x35199a(0x225)](Qs))!=null?_0x470268:en;_0x5a0cae instanceof _0x34d027&&(_0x447e9d=_0x5a0cae['name']),document['title']=_0x447e9d;}));}};It=Zs([Yt(0x0,_0x8ffa5d),Yt(0x1,_0xe9c879)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x417a5d,_0x3e91ac,_0x44c48f,_0x2de849)=>{var _0x45d3f1=_0xbf377e;for(var _0x48517b=_0x2de849>0x1?void 0x0:_0x2de849?tn(_0x3e91ac,_0x44c48f):_0x3e91ac,_0x4169bd=_0x417a5d[_0x45d3f1(0x234)]-0x1,_0x35f3af;_0x4169bd>=0x0;_0x4169bd--)(_0x35f3af=_0x417a5d[_0x4169bd])&&(_0x48517b=_0x35f3af(_0x48517b)||_0x48517b);return _0x48517b;},dt=(_0x4b8f84,_0x79f71f)=>(_0x2b5cc3,_0x24ad4f)=>_0x79f71f(_0x2b5cc3,_0x24ad4f,_0x4b8f84);let rt=class{constructor(_0x514979,_0x1ea66f,_0x249014){var _0x1d4e84=_0xbf377e;this[_0x1d4e84(0x457)]=_0x514979,this[_0x1d4e84(0x367)]=_0x1ea66f,this[_0x1d4e84(0x4b2)]=_0x249014,this[_0x1d4e84(0x2ef)]();}[_0xbf377e(0x2ef)](){var _0x434e6c=_0xbf377e;this[_0x434e6c(0x367)][_0x434e6c(0x4c1)]({'priority':0x1,'interceptor':(_0x4b430f,_0x56fe21)=>_0x56fe21(_0x4b430f)[_0x434e6c(0x2fd)](_0x10f916(async _0x29f621=>{var _0x1b6643=_0x434e6c;const _0x41ac52=_0x29f621;if(_0x41ac52[_0x1b6643(0x398)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x1b6643(0x4b2)]['t'](_0x1b6643(0x413)))){const _0x110741=window[_0x1b6643(0x39b)](window[_0x1b6643(0x295)][_0x1b6643(0x45b)]);window[_0x1b6643(0x295)][_0x1b6643(0x45b)]=this[_0x1b6643(0x202)]()+'?url='+_0x110741;}}return _0x41ac52;}))});}[_0xbf377e(0x202)](){var _0x467c24=_0xbf377e,_0x3ff38d;const _0x2936fb=this[_0x467c24(0x457)][_0x467c24(0x225)](K);return(_0x3ff38d=_0x2936fb==null?void 0x0:_0x2936fb[_0x467c24(0x2ae)])!=null?_0x3ff38d:Rs;}};rt=sn([dt(0x0,_0xe9c879),dt(0x1,_0x1c582e(_0x44ae9d)),dt(0x2,_0x1c582e(_0x213c64))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x34f3b8,_0x2a0325,_0x282fff,_0x1b2b74)=>{var _0x2d105e=_0xbf377e;for(var _0x3af798=_0x1b2b74>0x1?void 0x0:_0x1b2b74?nn(_0x2a0325,_0x282fff):_0x2a0325,_0x3222dc=_0x34f3b8[_0x2d105e(0x234)]-0x1,_0x282d44;_0x3222dc>=0x0;_0x3222dc--)(_0x282d44=_0x34f3b8[_0x3222dc])&&(_0x3af798=_0x282d44(_0x3af798)||_0x3af798);return _0x3af798;},Kt=(_0x543b20,_0x380d30)=>(_0x5755a2,_0x267026)=>_0x380d30(_0x5755a2,_0x267026,_0x543b20);const an=_0xbf377e(0x2cb);let Tt=class extends _0x2d6575{constructor(_0xa3d685,_0x3cd3e6){var _0x566a2b=_0xbf377e;super(),this[_0x566a2b(0x27d)]=_0xa3d685,this[_0x566a2b(0x457)]=_0x3cd3e6,this[_0x566a2b(0x256)]();}['_initMergeInterceptor'](){var _0x277404=_0xbf377e;const _0x3b7343=this;this['disposeWithMe'](this['_HTTPService'][_0x277404(0x4c1)]({'priority':0x3e7,'interceptor':_0x2e637b({'isMatch'(_0x3eedac){var _0x5c9492=_0x277404,_0x50c0b6;if(_0x3eedac[_0x5c9492(0x354)]===_0x5c9492(0x49d)&&((_0x50c0b6=_0x3eedac[_0x5c9492(0x461)])!=null&&_0x50c0b6[_0x5c9492(0x3a2)])){const {objectID:_0x378b16,objectType:_0x2d54c6}=_0x3eedac[_0x5c9492(0x461)][_0x5c9492(0x3a2)]||{};if(!_0x378b16||_0x2d54c6===void 0x0)return!0x1;const _0x40ff3e=_0x3b7343[_0x5c9492(0x49b)]()+'/'+_0x2d54c6+_0x5c9492(0x3c3)+_0x378b16+_0x5c9492(0x364);if(_0x3eedac[_0x5c9492(0x492)]===_0x40ff3e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4e033e){var _0x390d5a=_0x277404,_0x4014b8;return(_0x4014b8=_0x4e033e[_0x390d5a(0x461)])==null?void 0x0:_0x4014b8[_0x390d5a(0x3a2)];},'mergeParamsToRequest'(_0x3ac9df,_0x12890f){var _0x21c228=_0x277404;const _0x23144b=_0x3b7343[_0x21c228(0x49b)]()+_0x21c228(0x376),_0x421172=_0x3ac9df[_0x21c228(0x226)]((_0x1057f3,_0x215a80)=>{var _0x5d0ac2=_0x21c228;const {unitID:_0x4b2f4d,objectID:_0x1cdb72,objectType:_0x548775,actions:_0x759c29}=_0x215a80;return _0x1057f3[_0x4b2f4d]||(_0x1057f3[_0x4b2f4d]={}),_0x1057f3[_0x4b2f4d][_0x1cdb72]||(_0x1057f3[_0x4b2f4d][_0x1cdb72]={'objectID':_0x1cdb72,'objectType':_0x548775,'actions':[]}),_0x1057f3[_0x4b2f4d][_0x1cdb72][_0x5d0ac2(0x350)][_0x5d0ac2(0x403)](..._0x759c29),_0x1057f3;},{}),_0x576a58=[];for(const _0x3877ed in _0x421172)for(const _0x242ef4 in _0x421172[_0x3877ed]){const {actions:_0x280cb4,objectType:_0x111d38}=_0x421172[_0x3877ed][_0x242ef4],_0x4a437f=[...new Set(_0x280cb4)];_0x576a58[_0x21c228(0x403)]({'unitID':_0x3877ed,'objectID':_0x242ef4,'objectType':_0x111d38,'actions':_0x4a437f});}return new _0x385b69(_0x21c228(0x49d),_0x23144b,{'headers':_0x12890f[_0x21c228(0x231)],'withCredentials':_0x12890f[_0x21c228(0x4d3)],'responseType':_0x12890f[_0x21c228(0x4dc)],'body':{'requests':_0x576a58}});}},{'distributeResult'(_0x204fc6,_0x85bfdf){var _0x266149=_0x277404;const {objectActions:_0x187d73}=_0x204fc6;return _0x85bfdf[_0x266149(0x422)](_0x1e6a49=>{var _0x55a350=_0x266149;const {unitID:_0x21d007,objectID:_0x17b748,actions:_0x4e474c}=_0x1e6a49,_0x110839=_0x187d73[_0x55a350(0x24c)](_0x5ceaad=>_0x5ceaad[_0x55a350(0x378)]===_0x21d007&&_0x5ceaad['objectID']===_0x17b748),_0x2d34ac=_0x4e474c[_0x55a350(0x422)](_0x1b32ac=>_0x110839==null?void 0x0:_0x110839[_0x55a350(0x350)][_0x55a350(0x24c)](_0x5a67ac=>_0x5a67ac[_0x55a350(0x41f)]===_0x1b32ac))[_0x55a350(0x2e7)](_0x5a0cbc=>!!_0x5a0cbc);return{'config':_0x1e6a49,'result':{'actions':_0x2d34ac,'error':_0x204fc6[_0x55a350(0x215)]}};});}})}));}[_0xbf377e(0x49b)](){var _0x3dd6d4=_0xbf377e,_0x17ba1f;const _0x1fb69f=this['_configService'][_0x3dd6d4(0x225)](K);return(_0x17ba1f=_0x1fb69f==null?void 0x0:_0x1fb69f[_0x3dd6d4(0x2b6)])!=null?_0x17ba1f:an;}async[_0xbf377e(0x22b)](_0x2c7865){var _0x10a467=_0xbf377e;const _0x50e2aa=this[_0x10a467(0x49b)]()+'/'+_0x2c7865[_0x10a467(0x2ea)]+_0x10a467(0x3d2);return(await this['_HTTPService'][_0x10a467(0x459)](_0x50e2aa,{'body':_0x2c7865}))[_0x10a467(0x3a2)][_0x10a467(0x3f6)]||'';}async[_0xbf377e(0x1fa)](_0x2d8ac1){var _0x464212=_0xbf377e;const _0x164af6=this[_0x464212(0x49b)]()+_0x464212(0x286);return(await this[_0x464212(0x27d)][_0x464212(0x459)](_0x164af6,{'body':_0x2d8ac1}))['body'][_0x464212(0x3f3)];}async[_0xbf377e(0x26b)](_0x505ff9){var _0x1d8c86=_0xbf377e,_0x7373cd,_0x14cd42;const _0x1d40e7=this['_getAPIPrefixPath']()+'/'+_0x505ff9[_0x1d8c86(0x2ea)]+_0x1d8c86(0x3c3)+_0x505ff9[_0x1d8c86(0x3f6)],_0x139b91=await this[_0x1d8c86(0x27d)]['put'](_0x1d40e7,{'body':_0x505ff9});if(((_0x14cd42=(_0x7373cd=_0x139b91==null?void 0x0:_0x139b91['body'])==null?void 0x0:_0x7373cd[_0x1d8c86(0x215)])==null?void 0x0:_0x14cd42[_0x1d8c86(0x3f4)])!==0x1)throw new Error(_0x1d8c86(0x404));}async[_0xbf377e(0x2f9)](_0x31655a){var _0xeca05d=_0xbf377e;const _0x5e55a0=this['_getAPIPrefixPath']()+'/'+_0x31655a[_0xeca05d(0x2ea)]+'/object/'+_0x31655a['objectID']+_0xeca05d(0x364);return(await this[_0xeca05d(0x27d)][_0xeca05d(0x459)](_0x5e55a0,{'body':_0x31655a}))['body'][_0xeca05d(0x350)];}async['batchAllowed'](_0x1f4ef5){var _0x866049=_0xbf377e;const _0x5540fe=this[_0x866049(0x49b)]()+_0x866049(0x376);return(await this[_0x866049(0x27d)]['post'](_0x5540fe,{'body':{'requests':_0x1f4ef5}}))[_0x866049(0x3a2)]['objectActions'];}async[_0xbf377e(0x35b)](_0x3949c7){var _0x210860=_0xbf377e;const _0x3d1b31=this[_0x210860(0x49b)]()+'/'+_0x3949c7[_0x210860(0x2ea)]+'/role',_0x3d1ac1=await this[_0x210860(0x27d)]['post'](_0x3d1b31,{'body':_0x3949c7});return{'roles':_0x3d1ac1[_0x210860(0x3a2)][_0x210860(0x307)],'actions':_0x3d1ac1[_0x210860(0x3a2)][_0x210860(0x350)]};}async[_0xbf377e(0x31c)](_0x3b3770){var _0x62417d=_0xbf377e;const _0x40f641=this[_0x62417d(0x49b)]()+_0x62417d(0x20c);await this[_0x62417d(0x27d)][_0x62417d(0x284)](_0x40f641,{'params':{'collaboratorID':_0x3b3770['collaboratorID'],'objectID':_0x3b3770['objectID'],'unitID':_0x3b3770[_0x62417d(0x378)]}});}async[_0xbf377e(0x33e)](_0x19bece){var _0x182b95=_0xbf377e;const _0x1f9fc8=this[_0x182b95(0x49b)]()+'/collaborator';await this['_HTTPService']['patch'](_0x1f9fc8,{'body':_0x19bece});}async[_0xbf377e(0x4cb)](_0x174782){var _0x34fdc5=_0xbf377e;const _0x216e4a=this[_0x34fdc5(0x49b)]()+_0x34fdc5(0x20c);await this['_HTTPService'][_0x34fdc5(0x459)](_0x216e4a,{'body':_0x174782});}async[_0xbf377e(0x41e)](_0x1a67f1){var _0x7f32c9=_0xbf377e;const _0x598a6d=this[_0x7f32c9(0x49b)]()+_0x7f32c9(0x20c);return(await this[_0x7f32c9(0x27d)][_0x7f32c9(0x4e3)](_0x598a6d,{'params':{'objectID':_0x1a67f1[_0x7f32c9(0x3f6)],'unitID':_0x1a67f1[_0x7f32c9(0x378)]}}))[_0x7f32c9(0x3a2)][_0x7f32c9(0x31f)];}async[_0xbf377e(0x430)](_0x5ed19b){var _0x9a4017=_0xbf377e;const _0x5ac21f=this[_0x9a4017(0x49b)]()+_0x9a4017(0x20c);await this[_0x9a4017(0x27d)][_0x9a4017(0x44d)](_0x5ac21f,{'body':_0x5ed19b});}};Tt=rn([Kt(0x0,_0x1c582e(_0x44ae9d)),Kt(0x1,_0x1c582e(_0xe9c879))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x16d52e){var _0x4b4cd7=_0xbf377e;return _0x16d52e&&_0x16d52e['__esModule']&&Object[_0x4b4cd7(0x331)][_0x4b4cd7(0x2b1)]['call'](_0x16d52e,_0x4b4cd7(0x2db))?_0x16d52e[_0x4b4cd7(0x2db)]:_0x16d52e;}var Ve={'exports':{}};function on(_0x4fbc87){var _0xa12a5e=_0xbf377e;throw new Error(_0xa12a5e(0x28c)+_0x4fbc87+_0xa12a5e(0x24f));}var We={'exports':{}},cn=We[_0xbf377e(0x4a7)],qt;function te(){var _0x5e4a2a=_0xbf377e;return qt||(qt=0x1,function(_0x4c5ada,_0x55a0c3){(function(_0x224ccb,_0x563988){_0x4c5ada['exports']=_0x563988();}(cn,function(){var _0x4706e3=_0x4706e3||function(_0x4af235,_0x24e8e3){var _0xfb5fe0=_0x1cff,_0x1297d8;if(typeof window<'u'&&window[_0xfb5fe0(0x4b9)]&&(_0x1297d8=window[_0xfb5fe0(0x4b9)]),typeof self<'u'&&self[_0xfb5fe0(0x4b9)]&&(_0x1297d8=self[_0xfb5fe0(0x4b9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1297d8=globalThis[_0xfb5fe0(0x4b9)]),!_0x1297d8&&typeof window<'u'&&window[_0xfb5fe0(0x26c)]&&(_0x1297d8=window[_0xfb5fe0(0x26c)]),!_0x1297d8&&typeof ft<'u'&&ft[_0xfb5fe0(0x4b9)]&&(_0x1297d8=ft[_0xfb5fe0(0x4b9)]),!_0x1297d8&&typeof on==_0xfb5fe0(0x442))try{_0x1297d8=require('crypto');}catch{}var _0x3cd39d=function(){var _0x2f7807=_0xfb5fe0;if(_0x1297d8){if(typeof _0x1297d8[_0x2f7807(0x4cd)]==_0x2f7807(0x442))try{return _0x1297d8[_0x2f7807(0x4cd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1297d8[_0x2f7807(0x3cb)]==_0x2f7807(0x442))try{return _0x1297d8[_0x2f7807(0x3cb)](0x4)[_0x2f7807(0x3b9)]();}catch{}}throw new Error(_0x2f7807(0x2f1));},_0x5e70d7=Object[_0xfb5fe0(0x22b)]||(function(){function _0xadb8c9(){}return function(_0x5722f3){var _0x381b94;return _0xadb8c9['prototype']=_0x5722f3,_0x381b94=new _0xadb8c9(),_0xadb8c9['prototype']=null,_0x381b94;};}()),_0x2c1e57={},_0x31e91a=_0x2c1e57[_0xfb5fe0(0x24a)]={},_0x397e8e=_0x31e91a[_0xfb5fe0(0x1f1)]=(function(){return{'extend':function(_0x148620){var _0x43b652=_0x1cff,_0x54f963=_0x5e70d7(this);return _0x148620&&_0x54f963[_0x43b652(0x36f)](_0x148620),(!_0x54f963[_0x43b652(0x2b1)](_0x43b652(0x2ef))||this[_0x43b652(0x2ef)]===_0x54f963['init'])&&(_0x54f963['init']=function(){var _0x4bcda0=_0x43b652;_0x54f963[_0x4bcda0(0x285)][_0x4bcda0(0x2ef)][_0x4bcda0(0x34b)](this,arguments);}),_0x54f963[_0x43b652(0x2ef)][_0x43b652(0x331)]=_0x54f963,_0x54f963[_0x43b652(0x285)]=this,_0x54f963;},'create':function(){var _0x5cc2cd=_0x1cff,_0x1ddb09=this[_0x5cc2cd(0x2ab)]();return _0x1ddb09[_0x5cc2cd(0x2ef)][_0x5cc2cd(0x34b)](_0x1ddb09,arguments),_0x1ddb09;},'init':function(){},'mixIn':function(_0x4a4ac3){var _0x2c47ae=_0x1cff;for(var _0x2c2c18 in _0x4a4ac3)_0x4a4ac3['hasOwnProperty'](_0x2c2c18)&&(this[_0x2c2c18]=_0x4a4ac3[_0x2c2c18]);_0x4a4ac3['hasOwnProperty'](_0x2c47ae(0x345))&&(this[_0x2c47ae(0x345)]=_0x4a4ac3[_0x2c47ae(0x345)]);},'clone':function(){var _0xc74886=_0x1cff;return this[_0xc74886(0x2ef)][_0xc74886(0x331)][_0xc74886(0x2ab)](this);}};}()),_0x2b332f=_0x31e91a['WordArray']=_0x397e8e[_0xfb5fe0(0x2ab)]({'init':function(_0x23a955,_0x1e3980){var _0x5fd1d6=_0xfb5fe0;_0x23a955=this[_0x5fd1d6(0x446)]=_0x23a955||[],_0x1e3980!=_0x24e8e3?this[_0x5fd1d6(0x46d)]=_0x1e3980:this['sigBytes']=_0x23a955[_0x5fd1d6(0x234)]*0x4;},'toString':function(_0x1b62be){var _0x2d1b38=_0xfb5fe0;return(_0x1b62be||_0x1434e2)[_0x2d1b38(0x25e)](this);},'concat':function(_0xabe3fa){var _0x4d926b=_0xfb5fe0,_0x58ca0d=this[_0x4d926b(0x446)],_0x2e9f34=_0xabe3fa[_0x4d926b(0x446)],_0x5817bd=this[_0x4d926b(0x46d)],_0x298b74=_0xabe3fa['sigBytes'];if(this['clamp'](),_0x5817bd%0x4)for(var _0x5af409=0x0;_0x5af409<_0x298b74;_0x5af409++){var _0x3c7400=_0x2e9f34[_0x5af409>>>0x2]>>>0x18-_0x5af409%0x4*0x8&0xff;_0x58ca0d[_0x5817bd+_0x5af409>>>0x2]|=_0x3c7400<<0x18-(_0x5817bd+_0x5af409)%0x4*0x8;}else{for(var _0x2828e2=0x0;_0x2828e2<_0x298b74;_0x2828e2+=0x4)_0x58ca0d[_0x5817bd+_0x2828e2>>>0x2]=_0x2e9f34[_0x2828e2>>>0x2];}return this[_0x4d926b(0x46d)]+=_0x298b74,this;},'clamp':function(){var _0x2ef96b=_0xfb5fe0,_0x2f1c5d=this[_0x2ef96b(0x446)],_0x9881c7=this['sigBytes'];_0x2f1c5d[_0x9881c7>>>0x2]&=0xffffffff<<0x20-_0x9881c7%0x4*0x8,_0x2f1c5d[_0x2ef96b(0x234)]=_0x4af235[_0x2ef96b(0x4e4)](_0x9881c7/0x4);},'clone':function(){var _0x512808=_0xfb5fe0,_0x17605f=_0x397e8e[_0x512808(0x473)]['call'](this);return _0x17605f[_0x512808(0x446)]=this[_0x512808(0x446)][_0x512808(0x3ba)](0x0),_0x17605f;},'random':function(_0x21f14f){var _0x3f3a46=_0xfb5fe0;for(var _0x2271f8=[],_0x49d15c=0x0;_0x49d15c<_0x21f14f;_0x49d15c+=0x4)_0x2271f8[_0x3f3a46(0x403)](_0x3cd39d());return new _0x2b332f['init'](_0x2271f8,_0x21f14f);}}),_0x3d4578=_0x2c1e57[_0xfb5fe0(0x38d)]={},_0x1434e2=_0x3d4578['Hex']={'stringify':function(_0x2ecad0){var _0x4a0e94=_0xfb5fe0;for(var _0x4686a1=_0x2ecad0[_0x4a0e94(0x446)],_0x22891e=_0x2ecad0[_0x4a0e94(0x46d)],_0x2c4859=[],_0x31a068=0x0;_0x31a068<_0x22891e;_0x31a068++){var _0x21225a=_0x4686a1[_0x31a068>>>0x2]>>>0x18-_0x31a068%0x4*0x8&0xff;_0x2c4859[_0x4a0e94(0x403)]((_0x21225a>>>0x4)['toString'](0x10)),_0x2c4859[_0x4a0e94(0x403)]((_0x21225a&0xf)[_0x4a0e94(0x345)](0x10));}return _0x2c4859[_0x4a0e94(0x4e5)]('');},'parse':function(_0x1b73c7){var _0x570a92=_0xfb5fe0;for(var _0x1bdc16=_0x1b73c7[_0x570a92(0x234)],_0x1099f4=[],_0x49ce18=0x0;_0x49ce18<_0x1bdc16;_0x49ce18+=0x2)_0x1099f4[_0x49ce18>>>0x3]|=parseInt(_0x1b73c7['substr'](_0x49ce18,0x2),0x10)<<0x18-_0x49ce18%0x8*0x4;return new _0x2b332f[(_0x570a92(0x2ef))](_0x1099f4,_0x1bdc16/0x2);}},_0x5bc4c6=_0x3d4578[_0xfb5fe0(0x460)]={'stringify':function(_0x580b5f){var _0xdfe45b=_0xfb5fe0;for(var _0x38fb29=_0x580b5f[_0xdfe45b(0x446)],_0x422a60=_0x580b5f[_0xdfe45b(0x46d)],_0x54cfeb=[],_0x4c0da7=0x0;_0x4c0da7<_0x422a60;_0x4c0da7++){var _0x580346=_0x38fb29[_0x4c0da7>>>0x2]>>>0x18-_0x4c0da7%0x4*0x8&0xff;_0x54cfeb[_0xdfe45b(0x403)](String[_0xdfe45b(0x4ac)](_0x580346));}return _0x54cfeb[_0xdfe45b(0x4e5)]('');},'parse':function(_0x4680e3){var _0x177097=_0xfb5fe0;for(var _0x5029c4=_0x4680e3[_0x177097(0x234)],_0x98f6d3=[],_0xed5acd=0x0;_0xed5acd<_0x5029c4;_0xed5acd++)_0x98f6d3[_0xed5acd>>>0x2]|=(_0x4680e3[_0x177097(0x279)](_0xed5acd)&0xff)<<0x18-_0xed5acd%0x4*0x8;return new _0x2b332f[(_0x177097(0x2ef))](_0x98f6d3,_0x5029c4);}},_0x14ad58=_0x3d4578[_0xfb5fe0(0x38f)]={'stringify':function(_0x524132){var _0xe0c095=_0xfb5fe0;try{return decodeURIComponent(escape(_0x5bc4c6[_0xe0c095(0x25e)](_0x524132)));}catch{throw new Error(_0xe0c095(0x254));}},'parse':function(_0x5c58a9){var _0x1be1ff=_0xfb5fe0;return _0x5bc4c6[_0x1be1ff(0x2de)](unescape(encodeURIComponent(_0x5c58a9)));}},_0x1dcbe6=_0x31e91a[_0xfb5fe0(0x43c)]=_0x397e8e[_0xfb5fe0(0x2ab)]({'reset':function(){var _0x1a0070=_0xfb5fe0;this['_data']=new _0x2b332f[(_0x1a0070(0x2ef))](),this['_nDataBytes']=0x0;},'_append':function(_0x575733){var _0x59232d=_0xfb5fe0;typeof _0x575733==_0x59232d(0x40c)&&(_0x575733=_0x14ad58[_0x59232d(0x2de)](_0x575733)),this[_0x59232d(0x49c)][_0x59232d(0x47a)](_0x575733),this[_0x59232d(0x349)]+=_0x575733[_0x59232d(0x46d)];},'_process':function(_0x562d7){var _0x355aa3=_0xfb5fe0,_0x1e5e4d,_0x4131c9=this['_data'],_0x426c20=_0x4131c9[_0x355aa3(0x446)],_0x5ce307=_0x4131c9[_0x355aa3(0x46d)],_0x2a9c38=this[_0x355aa3(0x282)],_0x262ecc=_0x2a9c38*0x4,_0x2c5524=_0x5ce307/_0x262ecc;_0x562d7?_0x2c5524=_0x4af235[_0x355aa3(0x4e4)](_0x2c5524):_0x2c5524=_0x4af235[_0x355aa3(0x31a)]((_0x2c5524|0x0)-this['_minBufferSize'],0x0);var _0x4bb1aa=_0x2c5524*_0x2a9c38,_0x17e549=_0x4af235[_0x355aa3(0x465)](_0x4bb1aa*0x4,_0x5ce307);if(_0x4bb1aa){for(var _0x45e81f=0x0;_0x45e81f<_0x4bb1aa;_0x45e81f+=_0x2a9c38)this['_doProcessBlock'](_0x426c20,_0x45e81f);_0x1e5e4d=_0x426c20[_0x355aa3(0x228)](0x0,_0x4bb1aa),_0x4131c9[_0x355aa3(0x46d)]-=_0x17e549;}return new _0x2b332f[(_0x355aa3(0x2ef))](_0x1e5e4d,_0x17e549);},'clone':function(){var _0x14fe00=_0xfb5fe0,_0x5a43b3=_0x397e8e['clone']['call'](this);return _0x5a43b3[_0x14fe00(0x49c)]=this[_0x14fe00(0x49c)][_0x14fe00(0x473)](),_0x5a43b3;},'_minBufferSize':0x0});_0x31e91a[_0xfb5fe0(0x243)]=_0x1dcbe6[_0xfb5fe0(0x2ab)]({'cfg':_0x397e8e['extend'](),'init':function(_0x3d56d4){var _0x40170c=_0xfb5fe0;this['cfg']=this[_0x40170c(0x4ea)][_0x40170c(0x2ab)](_0x3d56d4),this[_0x40170c(0x31e)]();},'reset':function(){var _0x4531e7=_0xfb5fe0;_0x1dcbe6[_0x4531e7(0x31e)]['call'](this),this[_0x4531e7(0x26d)]();},'update':function(_0x17aa2e){var _0x42e96b=_0xfb5fe0;return this[_0x42e96b(0x3ec)](_0x17aa2e),this[_0x42e96b(0x4b4)](),this;},'finalize':function(_0x1a6452){var _0x4ea3fc=_0xfb5fe0;_0x1a6452&&this['_append'](_0x1a6452);var _0x5daa38=this[_0x4ea3fc(0x375)]();return _0x5daa38;},'blockSize':0x10,'_createHelper':function(_0x320b0e){return function(_0x34fed2,_0x2156ed){var _0x2a7593=_0x1cff;return new _0x320b0e[(_0x2a7593(0x2ef))](_0x2156ed)[_0x2a7593(0x346)](_0x34fed2);};},'_createHmacHelper':function(_0x337e55){return function(_0x172e04,_0x2716a9){var _0x137227=_0x1cff;return new _0x3f1615[(_0x137227(0x2d5))]['init'](_0x337e55,_0x2716a9)[_0x137227(0x346)](_0x172e04);};}});var _0x3f1615=_0x2c1e57[_0xfb5fe0(0x358)]={};return _0x2c1e57;}(Math);return _0x4706e3;}));}(We)),We[_0x5e4a2a(0x4a7)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){return zt||(zt=0x1,function(_0x5020e4,_0x4cb3ca){(function(_0x543b2e,_0x28e5bc){var _0x1e0710=_0x1cff;_0x5020e4[_0x1e0710(0x4a7)]=_0x28e5bc(te());}(hn,function(_0x1634bc){var _0x29462e=_0x1cff;return(function(){var _0x4cc8ce=_0x1cff,_0x389ba9=_0x1634bc,_0x2e576e=_0x389ba9[_0x4cc8ce(0x24a)],_0x41fce3=_0x2e576e[_0x4cc8ce(0x327)],_0xc0843d=_0x389ba9[_0x4cc8ce(0x38d)];_0xc0843d[_0x4cc8ce(0x274)]={'stringify':function(_0x3987ed){var _0x1912dc=_0x4cc8ce,_0x1215b8=_0x3987ed[_0x1912dc(0x446)],_0x5927df=_0x3987ed[_0x1912dc(0x46d)],_0xa1d816=this[_0x1912dc(0x21e)];_0x3987ed[_0x1912dc(0x3b0)]();for(var _0x5acf28=[],_0x589750=0x0;_0x589750<_0x5927df;_0x589750+=0x3)for(var _0x57c6e1=_0x1215b8[_0x589750>>>0x2]>>>0x18-_0x589750%0x4*0x8&0xff,_0x5758fd=_0x1215b8[_0x589750+0x1>>>0x2]>>>0x18-(_0x589750+0x1)%0x4*0x8&0xff,_0x301525=_0x1215b8[_0x589750+0x2>>>0x2]>>>0x18-(_0x589750+0x2)%0x4*0x8&0xff,_0x3fa9d0=_0x57c6e1<<0x10|_0x5758fd<<0x8|_0x301525,_0x1cc4e2=0x0;_0x1cc4e2<0x4&&_0x589750+_0x1cc4e2*0.75<_0x5927df;_0x1cc4e2++)_0x5acf28[_0x1912dc(0x403)](_0xa1d816[_0x1912dc(0x2ac)](_0x3fa9d0>>>0x6*(0x3-_0x1cc4e2)&0x3f));var _0x199e87=_0xa1d816[_0x1912dc(0x2ac)](0x40);if(_0x199e87){for(;_0x5acf28[_0x1912dc(0x234)]%0x4;)_0x5acf28[_0x1912dc(0x403)](_0x199e87);}return _0x5acf28[_0x1912dc(0x4e5)]('');},'parse':function(_0x24e4db){var _0x5eab62=_0x4cc8ce,_0x8a9d61=_0x24e4db[_0x5eab62(0x234)],_0x1a1a36=this[_0x5eab62(0x21e)],_0x1e3fc7=this['_reverseMap'];if(!_0x1e3fc7){_0x1e3fc7=this[_0x5eab62(0x23c)]=[];for(var _0x1e0054=0x0;_0x1e0054<_0x1a1a36[_0x5eab62(0x234)];_0x1e0054++)_0x1e3fc7[_0x1a1a36[_0x5eab62(0x279)](_0x1e0054)]=_0x1e0054;}var _0xbbdbf8=_0x1a1a36[_0x5eab62(0x2ac)](0x40);if(_0xbbdbf8){var _0x8a355=_0x24e4db[_0x5eab62(0x1fb)](_0xbbdbf8);_0x8a355!==-0x1&&(_0x8a9d61=_0x8a355);}return _0x23d012(_0x24e4db,_0x8a9d61,_0x1e3fc7);},'_map':_0x4cc8ce(0x257)};function _0x23d012(_0xd478f1,_0x2d54e6,_0x5d616c){var _0x4c20aa=_0x4cc8ce;for(var _0x5dbbb1=[],_0x138f53=0x0,_0xeb4378=0x0;_0xeb4378<_0x2d54e6;_0xeb4378++)if(_0xeb4378%0x4){var _0x3fe65e=_0x5d616c[_0xd478f1[_0x4c20aa(0x279)](_0xeb4378-0x1)]<<_0xeb4378%0x4*0x2,_0x3ba6c9=_0x5d616c[_0xd478f1[_0x4c20aa(0x279)](_0xeb4378)]>>>0x6-_0xeb4378%0x4*0x2,_0x5c4b44=_0x3fe65e|_0x3ba6c9;_0x5dbbb1[_0x138f53>>>0x2]|=_0x5c4b44<<0x18-_0x138f53%0x4*0x8,_0x138f53++;}return _0x41fce3[_0x4c20aa(0x22b)](_0x5dbbb1,_0x138f53);}}()),_0x1634bc[_0x29462e(0x38d)][_0x29462e(0x274)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0xbf377e(0x4a7)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x19199a,_0x36c7b0){(function(_0x41fd03,_0x2a3bb5){_0x19199a['exports']=_0x2a3bb5(te());}(_n,function(_0x5c1944){return function(_0x520b85){var _0x1d911a=_0x1cff,_0x57476f=_0x5c1944,_0x3b3158=_0x57476f[_0x1d911a(0x24a)],_0x518326=_0x3b3158['WordArray'],_0x5e2166=_0x3b3158[_0x1d911a(0x243)],_0x226875=_0x57476f['algo'],_0x34200e=[];(function(){var _0x5d1d5d=_0x1d911a;for(var _0x1ed30a=0x0;_0x1ed30a<0x40;_0x1ed30a++)_0x34200e[_0x1ed30a]=_0x520b85['abs'](_0x520b85[_0x5d1d5d(0x200)](_0x1ed30a+0x1))*0x100000000|0x0;}());var _0x1d2fe9=_0x226875['MD5']=_0x5e2166[_0x1d911a(0x2ab)]({'_doReset':function(){var _0x110ca3=_0x1d911a;this[_0x110ca3(0x1f9)]=new _0x518326[(_0x110ca3(0x2ef))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f6f96,_0x371c34){var _0x16aedd=_0x1d911a;for(var _0x18d081=0x0;_0x18d081<0x10;_0x18d081++){var _0x2b454c=_0x371c34+_0x18d081,_0x45a020=_0x2f6f96[_0x2b454c];_0x2f6f96[_0x2b454c]=(_0x45a020<<0x8|_0x45a020>>>0x18)&0xff00ff|(_0x45a020<<0x18|_0x45a020>>>0x8)&0xff00ff00;}var _0x5602b1=this[_0x16aedd(0x1f9)][_0x16aedd(0x446)],_0x34c779=_0x2f6f96[_0x371c34+0x0],_0x3300e9=_0x2f6f96[_0x371c34+0x1],_0x9dca39=_0x2f6f96[_0x371c34+0x2],_0xe87036=_0x2f6f96[_0x371c34+0x3],_0x592f03=_0x2f6f96[_0x371c34+0x4],_0x16f066=_0x2f6f96[_0x371c34+0x5],_0x3e51a3=_0x2f6f96[_0x371c34+0x6],_0x6e69b9=_0x2f6f96[_0x371c34+0x7],_0x38a29e=_0x2f6f96[_0x371c34+0x8],_0x225379=_0x2f6f96[_0x371c34+0x9],_0x3152d6=_0x2f6f96[_0x371c34+0xa],_0x28eee7=_0x2f6f96[_0x371c34+0xb],_0x3bf913=_0x2f6f96[_0x371c34+0xc],_0x43c327=_0x2f6f96[_0x371c34+0xd],_0x564972=_0x2f6f96[_0x371c34+0xe],_0x3436cf=_0x2f6f96[_0x371c34+0xf],_0x570c97=_0x5602b1[0x0],_0x4256fc=_0x5602b1[0x1],_0x3c9ac6=_0x5602b1[0x2],_0x30ff68=_0x5602b1[0x3];_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x34c779,0x7,_0x34200e[0x0]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3300e9,0xc,_0x34200e[0x1]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x9dca39,0x11,_0x34200e[0x2]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0xe87036,0x16,_0x34200e[0x3]),_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x592f03,0x7,_0x34200e[0x4]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x16f066,0xc,_0x34200e[0x5]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3e51a3,0x11,_0x34200e[0x6]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x6e69b9,0x16,_0x34200e[0x7]),_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x38a29e,0x7,_0x34200e[0x8]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x225379,0xc,_0x34200e[0x9]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3152d6,0x11,_0x34200e[0xa]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x28eee7,0x16,_0x34200e[0xb]),_0x570c97=_0x4eb628(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3bf913,0x7,_0x34200e[0xc]),_0x30ff68=_0x4eb628(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x43c327,0xc,_0x34200e[0xd]),_0x3c9ac6=_0x4eb628(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x564972,0x11,_0x34200e[0xe]),_0x4256fc=_0x4eb628(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3436cf,0x16,_0x34200e[0xf]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3300e9,0x5,_0x34200e[0x10]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3e51a3,0x9,_0x34200e[0x11]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x28eee7,0xe,_0x34200e[0x12]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x34c779,0x14,_0x34200e[0x13]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x16f066,0x5,_0x34200e[0x14]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3152d6,0x9,_0x34200e[0x15]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3436cf,0xe,_0x34200e[0x16]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x592f03,0x14,_0x34200e[0x17]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x225379,0x5,_0x34200e[0x18]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x564972,0x9,_0x34200e[0x19]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0xe87036,0xe,_0x34200e[0x1a]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x38a29e,0x14,_0x34200e[0x1b]),_0x570c97=_0x1a54fe(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x43c327,0x5,_0x34200e[0x1c]),_0x30ff68=_0x1a54fe(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x9dca39,0x9,_0x34200e[0x1d]),_0x3c9ac6=_0x1a54fe(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x6e69b9,0xe,_0x34200e[0x1e]),_0x4256fc=_0x1a54fe(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3bf913,0x14,_0x34200e[0x1f]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x16f066,0x4,_0x34200e[0x20]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x38a29e,0xb,_0x34200e[0x21]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x28eee7,0x10,_0x34200e[0x22]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x564972,0x17,_0x34200e[0x23]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3300e9,0x4,_0x34200e[0x24]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x592f03,0xb,_0x34200e[0x25]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x6e69b9,0x10,_0x34200e[0x26]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3152d6,0x17,_0x34200e[0x27]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x43c327,0x4,_0x34200e[0x28]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x34c779,0xb,_0x34200e[0x29]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0xe87036,0x10,_0x34200e[0x2a]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3e51a3,0x17,_0x34200e[0x2b]),_0x570c97=_0x5f2ad8(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x225379,0x4,_0x34200e[0x2c]),_0x30ff68=_0x5f2ad8(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3bf913,0xb,_0x34200e[0x2d]),_0x3c9ac6=_0x5f2ad8(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3436cf,0x10,_0x34200e[0x2e]),_0x4256fc=_0x5f2ad8(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x9dca39,0x17,_0x34200e[0x2f]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x34c779,0x6,_0x34200e[0x30]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x6e69b9,0xa,_0x34200e[0x31]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x564972,0xf,_0x34200e[0x32]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x16f066,0x15,_0x34200e[0x33]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x3bf913,0x6,_0x34200e[0x34]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0xe87036,0xa,_0x34200e[0x35]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3152d6,0xf,_0x34200e[0x36]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x3300e9,0x15,_0x34200e[0x37]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x38a29e,0x6,_0x34200e[0x38]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x3436cf,0xa,_0x34200e[0x39]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x3e51a3,0xf,_0x34200e[0x3a]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x43c327,0x15,_0x34200e[0x3b]),_0x570c97=_0x325c05(_0x570c97,_0x4256fc,_0x3c9ac6,_0x30ff68,_0x592f03,0x6,_0x34200e[0x3c]),_0x30ff68=_0x325c05(_0x30ff68,_0x570c97,_0x4256fc,_0x3c9ac6,_0x28eee7,0xa,_0x34200e[0x3d]),_0x3c9ac6=_0x325c05(_0x3c9ac6,_0x30ff68,_0x570c97,_0x4256fc,_0x9dca39,0xf,_0x34200e[0x3e]),_0x4256fc=_0x325c05(_0x4256fc,_0x3c9ac6,_0x30ff68,_0x570c97,_0x225379,0x15,_0x34200e[0x3f]),_0x5602b1[0x0]=_0x5602b1[0x0]+_0x570c97|0x0,_0x5602b1[0x1]=_0x5602b1[0x1]+_0x4256fc|0x0,_0x5602b1[0x2]=_0x5602b1[0x2]+_0x3c9ac6|0x0,_0x5602b1[0x3]=_0x5602b1[0x3]+_0x30ff68|0x0;},'_doFinalize':function(){var _0x1386b7=_0x1d911a,_0x51254d=this[_0x1386b7(0x49c)],_0x23875a=_0x51254d['words'],_0x5f2c33=this[_0x1386b7(0x349)]*0x8,_0x334b75=_0x51254d[_0x1386b7(0x46d)]*0x8;_0x23875a[_0x334b75>>>0x5]|=0x80<<0x18-_0x334b75%0x20;var _0x10ffa6=_0x520b85[_0x1386b7(0x43e)](_0x5f2c33/0x100000000),_0x25a7df=_0x5f2c33;_0x23875a[(_0x334b75+0x40>>>0x9<<0x4)+0xf]=(_0x10ffa6<<0x8|_0x10ffa6>>>0x18)&0xff00ff|(_0x10ffa6<<0x18|_0x10ffa6>>>0x8)&0xff00ff00,_0x23875a[(_0x334b75+0x40>>>0x9<<0x4)+0xe]=(_0x25a7df<<0x8|_0x25a7df>>>0x18)&0xff00ff|(_0x25a7df<<0x18|_0x25a7df>>>0x8)&0xff00ff00,_0x51254d[_0x1386b7(0x46d)]=(_0x23875a[_0x1386b7(0x234)]+0x1)*0x4,this[_0x1386b7(0x4b4)]();for(var _0x3277ef=this[_0x1386b7(0x1f9)],_0x317dd4=_0x3277ef['words'],_0x25dae8=0x0;_0x25dae8<0x4;_0x25dae8++){var _0x282e3d=_0x317dd4[_0x25dae8];_0x317dd4[_0x25dae8]=(_0x282e3d<<0x8|_0x282e3d>>>0x18)&0xff00ff|(_0x282e3d<<0x18|_0x282e3d>>>0x8)&0xff00ff00;}return _0x3277ef;},'clone':function(){var _0x129c5a=_0x1d911a,_0x5107b6=_0x5e2166[_0x129c5a(0x473)]['call'](this);return _0x5107b6[_0x129c5a(0x1f9)]=this[_0x129c5a(0x1f9)]['clone'](),_0x5107b6;}});function _0x4eb628(_0x17eeb8,_0x57016e,_0x43503f,_0xbfab4c,_0x280c6f,_0xe8e2e2,_0x53b049){var _0x4811b2=_0x17eeb8+(_0x57016e&_0x43503f|~_0x57016e&_0xbfab4c)+_0x280c6f+_0x53b049;return(_0x4811b2<<_0xe8e2e2|_0x4811b2>>>0x20-_0xe8e2e2)+_0x57016e;}function _0x1a54fe(_0x279041,_0x426283,_0x3ee49d,_0x114b68,_0x1d1a04,_0x5ee19f,_0x1c2e5d){var _0x53f313=_0x279041+(_0x426283&_0x114b68|_0x3ee49d&~_0x114b68)+_0x1d1a04+_0x1c2e5d;return(_0x53f313<<_0x5ee19f|_0x53f313>>>0x20-_0x5ee19f)+_0x426283;}function _0x5f2ad8(_0x437989,_0x5eca73,_0x57c61d,_0xc8a6d,_0x12f07c,_0x25a622,_0x68b6a){var _0x5d9f9b=_0x437989+(_0x5eca73^_0x57c61d^_0xc8a6d)+_0x12f07c+_0x68b6a;return(_0x5d9f9b<<_0x25a622|_0x5d9f9b>>>0x20-_0x25a622)+_0x5eca73;}function _0x325c05(_0x5826e0,_0x243204,_0x3bdde3,_0x2b9b86,_0x46f005,_0x11506e,_0x45ec60){var _0x11547c=_0x5826e0+(_0x3bdde3^(_0x243204|~_0x2b9b86))+_0x46f005+_0x45ec60;return(_0x11547c<<_0x11506e|_0x11547c>>>0x20-_0x11506e)+_0x243204;}_0x57476f[_0x1d911a(0x328)]=_0x5e2166['_createHelper'](_0x1d2fe9),_0x57476f['HmacMD5']=_0x5e2166[_0x1d911a(0x4a5)](_0x1d2fe9);}(Math),_0x5c1944['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0xa23d95=_0xbf377e;return Xt||(Xt=0x1,function(_0x12e021,_0x2a642f){(function(_0x2f557f,_0x1a7890){var _0x3901b6=_0x1cff;_0x12e021[_0x3901b6(0x4a7)]=_0x1a7890(te());}(un,function(_0x377590){var _0x71c0cc=_0x1cff;return(function(){var _0x36164e=_0x1cff,_0x2ff595=_0x377590,_0x4ce4b9=_0x2ff595['lib'],_0x522808=_0x4ce4b9[_0x36164e(0x327)],_0xcffc87=_0x4ce4b9[_0x36164e(0x243)],_0x15d5d6=_0x2ff595[_0x36164e(0x358)],_0x5f1f12=[],_0x2550e9=_0x15d5d6[_0x36164e(0x3c7)]=_0xcffc87[_0x36164e(0x2ab)]({'_doReset':function(){var _0x318ace=_0x36164e;this[_0x318ace(0x1f9)]=new _0x522808[(_0x318ace(0x2ef))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x216317,_0x32bdb3){var _0x49e7d2=_0x36164e;for(var _0x2664d2=this[_0x49e7d2(0x1f9)][_0x49e7d2(0x446)],_0xd2d275=_0x2664d2[0x0],_0x2d7ba4=_0x2664d2[0x1],_0x1b5542=_0x2664d2[0x2],_0x79676d=_0x2664d2[0x3],_0x317072=_0x2664d2[0x4],_0x2aea2d=0x0;_0x2aea2d<0x50;_0x2aea2d++){if(_0x2aea2d<0x10)_0x5f1f12[_0x2aea2d]=_0x216317[_0x32bdb3+_0x2aea2d]|0x0;else{var _0x358261=_0x5f1f12[_0x2aea2d-0x3]^_0x5f1f12[_0x2aea2d-0x8]^_0x5f1f12[_0x2aea2d-0xe]^_0x5f1f12[_0x2aea2d-0x10];_0x5f1f12[_0x2aea2d]=_0x358261<<0x1|_0x358261>>>0x1f;}var _0x2060d7=(_0xd2d275<<0x5|_0xd2d275>>>0x1b)+_0x317072+_0x5f1f12[_0x2aea2d];_0x2aea2d<0x14?_0x2060d7+=(_0x2d7ba4&_0x1b5542|~_0x2d7ba4&_0x79676d)+0x5a827999:_0x2aea2d<0x28?_0x2060d7+=(_0x2d7ba4^_0x1b5542^_0x79676d)+0x6ed9eba1:_0x2aea2d<0x3c?_0x2060d7+=(_0x2d7ba4&_0x1b5542|_0x2d7ba4&_0x79676d|_0x1b5542&_0x79676d)-0x70e44324:_0x2060d7+=(_0x2d7ba4^_0x1b5542^_0x79676d)-0x359d3e2a,_0x317072=_0x79676d,_0x79676d=_0x1b5542,_0x1b5542=_0x2d7ba4<<0x1e|_0x2d7ba4>>>0x2,_0x2d7ba4=_0xd2d275,_0xd2d275=_0x2060d7;}_0x2664d2[0x0]=_0x2664d2[0x0]+_0xd2d275|0x0,_0x2664d2[0x1]=_0x2664d2[0x1]+_0x2d7ba4|0x0,_0x2664d2[0x2]=_0x2664d2[0x2]+_0x1b5542|0x0,_0x2664d2[0x3]=_0x2664d2[0x3]+_0x79676d|0x0,_0x2664d2[0x4]=_0x2664d2[0x4]+_0x317072|0x0;},'_doFinalize':function(){var _0x1ff360=_0x36164e,_0xb911af=this['_data'],_0x5afc7e=_0xb911af[_0x1ff360(0x446)],_0x4a309b=this['_nDataBytes']*0x8,_0x2344e2=_0xb911af[_0x1ff360(0x46d)]*0x8;return _0x5afc7e[_0x2344e2>>>0x5]|=0x80<<0x18-_0x2344e2%0x20,_0x5afc7e[(_0x2344e2+0x40>>>0x9<<0x4)+0xe]=Math[_0x1ff360(0x43e)](_0x4a309b/0x100000000),_0x5afc7e[(_0x2344e2+0x40>>>0x9<<0x4)+0xf]=_0x4a309b,_0xb911af[_0x1ff360(0x46d)]=_0x5afc7e['length']*0x4,this['_process'](),this[_0x1ff360(0x1f9)];},'clone':function(){var _0x5844ad=_0x36164e,_0x1f9c05=_0xcffc87[_0x5844ad(0x473)][_0x5844ad(0x341)](this);return _0x1f9c05['_hash']=this[_0x5844ad(0x1f9)][_0x5844ad(0x473)](),_0x1f9c05;}});_0x2ff595[_0x36164e(0x3c7)]=_0xcffc87[_0x36164e(0x4f4)](_0x2550e9),_0x2ff595[_0x36164e(0x45a)]=_0xcffc87[_0x36164e(0x4a5)](_0x2550e9);}()),_0x377590[_0x71c0cc(0x3c7)];}));}(qe)),qe[_0xa23d95(0x4a7)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x3f4f17=_0xbf377e;return Zt||(Zt=0x1,function(_0x4ed791,_0x382b74){(function(_0x3058c4,_0x38d660){var _0x542875=_0x1cff;_0x4ed791[_0x542875(0x4a7)]=_0x38d660(te());}(fn,function(_0x3a420e){(function(){var _0x2ec31e=_0x1cff,_0x4d3a69=_0x3a420e,_0x17313f=_0x4d3a69[_0x2ec31e(0x24a)],_0x51bbb7=_0x17313f[_0x2ec31e(0x1f1)],_0x2e0256=_0x4d3a69[_0x2ec31e(0x38d)],_0xd1b8bb=_0x2e0256[_0x2ec31e(0x38f)],_0x55dfca=_0x4d3a69[_0x2ec31e(0x358)];_0x55dfca['HMAC']=_0x51bbb7['extend']({'init':function(_0x9fd404,_0x56d224){var _0x129083=_0x2ec31e;_0x9fd404=this['_hasher']=new _0x9fd404[(_0x129083(0x2ef))](),typeof _0x56d224==_0x129083(0x40c)&&(_0x56d224=_0xd1b8bb[_0x129083(0x2de)](_0x56d224));var _0x35b4e1=_0x9fd404['blockSize'],_0x512cc3=_0x35b4e1*0x4;_0x56d224[_0x129083(0x46d)]>_0x512cc3&&(_0x56d224=_0x9fd404[_0x129083(0x346)](_0x56d224)),_0x56d224['clamp']();for(var _0x4e8b92=this[_0x129083(0x258)]=_0x56d224[_0x129083(0x473)](),_0x5d86ad=this[_0x129083(0x301)]=_0x56d224[_0x129083(0x473)](),_0x3a42de=_0x4e8b92[_0x129083(0x446)],_0x2740c5=_0x5d86ad[_0x129083(0x446)],_0x192a95=0x0;_0x192a95<_0x35b4e1;_0x192a95++)_0x3a42de[_0x192a95]^=0x5c5c5c5c,_0x2740c5[_0x192a95]^=0x36363636;_0x4e8b92[_0x129083(0x46d)]=_0x5d86ad['sigBytes']=_0x512cc3,this[_0x129083(0x31e)]();},'reset':function(){var _0x52a5c2=_0x2ec31e,_0x440d3d=this[_0x52a5c2(0x35e)];_0x440d3d['reset'](),_0x440d3d[_0x52a5c2(0x26b)](this[_0x52a5c2(0x301)]);},'update':function(_0xc72d5b){var _0x516636=_0x2ec31e;return this[_0x516636(0x35e)][_0x516636(0x26b)](_0xc72d5b),this;},'finalize':function(_0x540dbe){var _0x454336=_0x2ec31e,_0x129889=this[_0x454336(0x35e)],_0x389cae=_0x129889['finalize'](_0x540dbe);_0x129889[_0x454336(0x31e)]();var _0x4f89d2=_0x129889[_0x454336(0x346)](this[_0x454336(0x258)][_0x454336(0x473)]()[_0x454336(0x47a)](_0x389cae));return _0x4f89d2;}});}());}));}(ze)),ze[_0x3f4f17(0x4a7)];}var pn=Ke['exports'],Qt;function Oi(){var _0x41ff84=_0xbf377e;return Qt||(Qt=0x1,function(_0x206fe4,_0x4a4d4f){(function(_0xe961bd,_0x35f623,_0x5d952d){var _0xbdd64=_0x1cff;_0x206fe4[_0xbdd64(0x4a7)]=_0x35f623(te(),dn(),vn());}(pn,function(_0x2924f1){return(function(){var _0x231528=_0x1cff,_0x329c01=_0x2924f1,_0x65f35d=_0x329c01['lib'],_0xf0c741=_0x65f35d['Base'],_0x12dc9f=_0x65f35d['WordArray'],_0x455df9=_0x329c01['algo'],_0x3d69bb=_0x455df9[_0x231528(0x328)],_0x10460a=_0x455df9[_0x231528(0x3b2)]=_0xf0c741[_0x231528(0x2ab)]({'cfg':_0xf0c741[_0x231528(0x2ab)]({'keySize':0x80/0x20,'hasher':_0x3d69bb,'iterations':0x1}),'init':function(_0x1e706f){var _0x198777=_0x231528;this[_0x198777(0x4ea)]=this[_0x198777(0x4ea)][_0x198777(0x2ab)](_0x1e706f);},'compute':function(_0x3dfa60,_0xdf567e){var _0x2f9bf8=_0x231528;for(var _0x47e54b,_0x191dba=this['cfg'],_0x30e83f=_0x191dba[_0x2f9bf8(0x4b6)]['create'](),_0x46d522=_0x12dc9f[_0x2f9bf8(0x22b)](),_0xa4c5f7=_0x46d522['words'],_0x445cb6=_0x191dba[_0x2f9bf8(0x368)],_0x252ad1=_0x191dba[_0x2f9bf8(0x4a0)];_0xa4c5f7[_0x2f9bf8(0x234)]<_0x445cb6;){_0x47e54b&&_0x30e83f[_0x2f9bf8(0x26b)](_0x47e54b),_0x47e54b=_0x30e83f[_0x2f9bf8(0x26b)](_0x3dfa60)[_0x2f9bf8(0x346)](_0xdf567e),_0x30e83f['reset']();for(var _0x557276=0x1;_0x557276<_0x252ad1;_0x557276++)_0x47e54b=_0x30e83f[_0x2f9bf8(0x346)](_0x47e54b),_0x30e83f['reset']();_0x46d522[_0x2f9bf8(0x47a)](_0x47e54b);}return _0x46d522[_0x2f9bf8(0x46d)]=_0x445cb6*0x4,_0x46d522;}});_0x329c01[_0x231528(0x3b2)]=function(_0x5bdb86,_0x410878,_0x1bcc4d){return _0x10460a['create'](_0x1bcc4d)['compute'](_0x5bdb86,_0x410878);};}()),_0x2924f1['EvpKDF'];}));}(Ke)),Ke[_0x41ff84(0x4a7)];}var Je={'exports':{}},mn=Je[_0xbf377e(0x4a7)],ei;function bi(){return ei||(ei=0x1,function(_0x48c370,_0x5803fd){(function(_0x3e70a5,_0x41fe50,_0x41013d){var _0x4e7a77=_0x1cff;_0x48c370[_0x4e7a77(0x4a7)]=_0x41fe50(te(),Oi());}(mn,function(_0x187df1){_0x187df1['lib']['Cipher']||function(_0x452319){var _0x1e0f5e=_0x1cff,_0x4e744a=_0x187df1,_0x2eefc6=_0x4e744a[_0x1e0f5e(0x24a)],_0x381a38=_0x2eefc6[_0x1e0f5e(0x1f1)],_0x277114=_0x2eefc6[_0x1e0f5e(0x327)],_0xe526e=_0x2eefc6[_0x1e0f5e(0x43c)],_0x412dce=_0x4e744a[_0x1e0f5e(0x38d)];_0x412dce[_0x1e0f5e(0x38f)];var _0x46ec65=_0x412dce[_0x1e0f5e(0x274)],_0x238366=_0x4e744a[_0x1e0f5e(0x358)],_0x30898d=_0x238366[_0x1e0f5e(0x3b2)],_0xd42296=_0x2eefc6[_0x1e0f5e(0x2f5)]=_0xe526e[_0x1e0f5e(0x2ab)]({'cfg':_0x381a38['extend'](),'createEncryptor':function(_0x4c036b,_0xdb265a){var _0x19c8e3=_0x1e0f5e;return this[_0x19c8e3(0x22b)](this[_0x19c8e3(0x220)],_0x4c036b,_0xdb265a);},'createDecryptor':function(_0x1cc2e7,_0x60e2de){var _0x5ac561=_0x1e0f5e;return this[_0x5ac561(0x22b)](this['_DEC_XFORM_MODE'],_0x1cc2e7,_0x60e2de);},'init':function(_0x7c1806,_0x3a16c6,_0x472a0d){var _0x51a156=_0x1e0f5e;this[_0x51a156(0x4ea)]=this[_0x51a156(0x4ea)][_0x51a156(0x2ab)](_0x472a0d),this[_0x51a156(0x29c)]=_0x7c1806,this[_0x51a156(0x49a)]=_0x3a16c6,this[_0x51a156(0x31e)]();},'reset':function(){var _0x1f7975=_0x1e0f5e;_0xe526e['reset']['call'](this),this[_0x1f7975(0x26d)]();},'process':function(_0x1f78b3){var _0x12a759=_0x1e0f5e;return this[_0x12a759(0x3ec)](_0x1f78b3),this[_0x12a759(0x4b4)]();},'finalize':function(_0x5d0212){var _0x46cb6b=_0x1e0f5e;_0x5d0212&&this[_0x46cb6b(0x3ec)](_0x5d0212);var _0x2bc88a=this['_doFinalize']();return _0x2bc88a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x522f9a(_0x54f943){var _0x5af496=_0x1cff;return typeof _0x54f943==_0x5af496(0x40c)?_0x367529:_0x310a3b;}return function(_0x8c3594){return{'encrypt':function(_0x1a570a,_0x3c0aa7,_0x3fc525){var _0x2ed0f2=_0x1cff;return _0x522f9a(_0x3c0aa7)[_0x2ed0f2(0x397)](_0x8c3594,_0x1a570a,_0x3c0aa7,_0x3fc525);},'decrypt':function(_0x1426d5,_0x103d44,_0x68d2a1){var _0x332878=_0x1cff;return _0x522f9a(_0x103d44)[_0x332878(0x313)](_0x8c3594,_0x1426d5,_0x103d44,_0x68d2a1);}};};}())});_0x2eefc6['StreamCipher']=_0xd42296[_0x1e0f5e(0x2ab)]({'_doFinalize':function(){var _0x5de69f=_0x1e0f5e,_0x1efbbc=this[_0x5de69f(0x4b4)](!0x0);return _0x1efbbc;},'blockSize':0x1});var _0xd3859c=_0x4e744a['mode']={},_0x584347=_0x2eefc6[_0x1e0f5e(0x458)]=_0x381a38['extend']({'createEncryptor':function(_0x11309f,_0x52c43a){var _0x396b81=_0x1e0f5e;return this['Encryptor'][_0x396b81(0x22b)](_0x11309f,_0x52c43a);},'createDecryptor':function(_0x4ce32f,_0x44729a){return this['Decryptor']['create'](_0x4ce32f,_0x44729a);},'init':function(_0x10207f,_0x5b35ea){var _0x454171=_0x1e0f5e;this[_0x454171(0x3c6)]=_0x10207f,this[_0x454171(0x340)]=_0x5b35ea;}}),_0x281f44=_0xd3859c[_0x1e0f5e(0x48e)]=(function(){var _0x4807ce=_0x1e0f5e,_0x1ed2d6=_0x584347['extend']();_0x1ed2d6[_0x4807ce(0x245)]=_0x1ed2d6[_0x4807ce(0x2ab)]({'processBlock':function(_0x2c6332,_0x5d351f){var _0x8201d8=_0x4807ce,_0x2ecdb=this[_0x8201d8(0x3c6)],_0x466f94=_0x2ecdb['blockSize'];_0x307697[_0x8201d8(0x341)](this,_0x2c6332,_0x5d351f,_0x466f94),_0x2ecdb[_0x8201d8(0x336)](_0x2c6332,_0x5d351f),this[_0x8201d8(0x377)]=_0x2c6332[_0x8201d8(0x3ba)](_0x5d351f,_0x5d351f+_0x466f94);}}),_0x1ed2d6[_0x4807ce(0x42f)]=_0x1ed2d6[_0x4807ce(0x2ab)]({'processBlock':function(_0x4313d6,_0x59dbe2){var _0x2f1685=_0x4807ce,_0x2c75f8=this[_0x2f1685(0x3c6)],_0xa90e32=_0x2c75f8[_0x2f1685(0x282)],_0x3b3ddf=_0x4313d6[_0x2f1685(0x3ba)](_0x59dbe2,_0x59dbe2+_0xa90e32);_0x2c75f8['decryptBlock'](_0x4313d6,_0x59dbe2),_0x307697[_0x2f1685(0x341)](this,_0x4313d6,_0x59dbe2,_0xa90e32),this['_prevBlock']=_0x3b3ddf;}});function _0x307697(_0x4dff01,_0x175016,_0x4a006e){var _0x5d6829=_0x4807ce,_0x5f2b33,_0x3bed17=this['_iv'];_0x3bed17?(_0x5f2b33=_0x3bed17,this[_0x5d6829(0x340)]=_0x452319):_0x5f2b33=this[_0x5d6829(0x377)];for(var _0x47cc47=0x0;_0x47cc47<_0x4a006e;_0x47cc47++)_0x4dff01[_0x175016+_0x47cc47]^=_0x5f2b33[_0x47cc47];}return _0x1ed2d6;}()),_0x574003=_0x4e744a[_0x1e0f5e(0x48b)]={},_0x194477=_0x574003[_0x1e0f5e(0x1fc)]={'pad':function(_0x4cfb07,_0x16fed1){var _0x5e97ba=_0x1e0f5e;for(var _0x11468e=_0x16fed1*0x4,_0x10be9e=_0x11468e-_0x4cfb07[_0x5e97ba(0x46d)]%_0x11468e,_0x291ad6=_0x10be9e<<0x18|_0x10be9e<<0x10|_0x10be9e<<0x8|_0x10be9e,_0x3e7054=[],_0x411b50=0x0;_0x411b50<_0x10be9e;_0x411b50+=0x4)_0x3e7054[_0x5e97ba(0x403)](_0x291ad6);var _0x24b084=_0x277114[_0x5e97ba(0x22b)](_0x3e7054,_0x10be9e);_0x4cfb07[_0x5e97ba(0x47a)](_0x24b084);},'unpad':function(_0x44bf8d){var _0x62bb63=_0x1e0f5e,_0xe71e96=_0x44bf8d[_0x62bb63(0x446)][_0x44bf8d[_0x62bb63(0x46d)]-0x1>>>0x2]&0xff;_0x44bf8d['sigBytes']-=_0xe71e96;}};_0x2eefc6[_0x1e0f5e(0x244)]=_0xd42296[_0x1e0f5e(0x2ab)]({'cfg':_0xd42296[_0x1e0f5e(0x4ea)][_0x1e0f5e(0x2ab)]({'mode':_0x281f44,'padding':_0x194477}),'reset':function(){var _0x5bba2a=_0x1e0f5e,_0x15392b;_0xd42296[_0x5bba2a(0x31e)][_0x5bba2a(0x341)](this);var _0x4953d2=this['cfg'],_0x14d6a0=_0x4953d2['iv'],_0xa5fbf8=_0x4953d2[_0x5bba2a(0x4da)];this[_0x5bba2a(0x29c)]==this[_0x5bba2a(0x220)]?_0x15392b=_0xa5fbf8[_0x5bba2a(0x265)]:(_0x15392b=_0xa5fbf8['createDecryptor'],this[_0x5bba2a(0x329)]=0x1),this[_0x5bba2a(0x371)]&&this[_0x5bba2a(0x371)][_0x5bba2a(0x2fb)]==_0x15392b?this['_mode'][_0x5bba2a(0x2ef)](this,_0x14d6a0&&_0x14d6a0[_0x5bba2a(0x446)]):(this[_0x5bba2a(0x371)]=_0x15392b['call'](_0xa5fbf8,this,_0x14d6a0&&_0x14d6a0[_0x5bba2a(0x446)]),this[_0x5bba2a(0x371)][_0x5bba2a(0x2fb)]=_0x15392b);},'_doProcessBlock':function(_0x491faa,_0x1ed77d){var _0x374501=_0x1e0f5e;this[_0x374501(0x371)][_0x374501(0x267)](_0x491faa,_0x1ed77d);},'_doFinalize':function(){var _0x5deb31=_0x1e0f5e,_0x14b841,_0x41a267=this[_0x5deb31(0x4ea)][_0x5deb31(0x3f7)];return this[_0x5deb31(0x29c)]==this[_0x5deb31(0x220)]?(_0x41a267[_0x5deb31(0x48b)](this[_0x5deb31(0x49c)],this[_0x5deb31(0x282)]),_0x14b841=this[_0x5deb31(0x4b4)](!0x0)):(_0x14b841=this[_0x5deb31(0x4b4)](!0x0),_0x41a267[_0x5deb31(0x3a9)](_0x14b841)),_0x14b841;},'blockSize':0x80/0x20});var _0x3f2a75=_0x2eefc6[_0x1e0f5e(0x3f2)]=_0x381a38['extend']({'init':function(_0x350169){var _0x4b41f6=_0x1e0f5e;this[_0x4b41f6(0x36f)](_0x350169);},'toString':function(_0x1d0fac){var _0x5d8947=_0x1e0f5e;return(_0x1d0fac||this[_0x5d8947(0x314)])[_0x5d8947(0x25e)](this);}}),_0x1b130f=_0x4e744a[_0x1e0f5e(0x277)]={},_0xd2d589=_0x1b130f[_0x1e0f5e(0x343)]={'stringify':function(_0x40ee0e){var _0x3e62e1=_0x1e0f5e,_0x56edc9,_0x4c20be=_0x40ee0e[_0x3e62e1(0x2fc)],_0x36d54f=_0x40ee0e['salt'];return _0x36d54f?_0x56edc9=_0x277114['create']([0x53616c74,0x65645f5f])[_0x3e62e1(0x47a)](_0x36d54f)[_0x3e62e1(0x47a)](_0x4c20be):_0x56edc9=_0x4c20be,_0x56edc9[_0x3e62e1(0x345)](_0x46ec65);},'parse':function(_0x2718e7){var _0x27af05=_0x1e0f5e,_0x9086c1,_0x47e93a=_0x46ec65['parse'](_0x2718e7),_0x16eea3=_0x47e93a[_0x27af05(0x446)];return _0x16eea3[0x0]==0x53616c74&&_0x16eea3[0x1]==0x65645f5f&&(_0x9086c1=_0x277114['create'](_0x16eea3['slice'](0x2,0x4)),_0x16eea3[_0x27af05(0x228)](0x0,0x4),_0x47e93a[_0x27af05(0x46d)]-=0x10),_0x3f2a75[_0x27af05(0x22b)]({'ciphertext':_0x47e93a,'salt':_0x9086c1});}},_0x310a3b=_0x2eefc6[_0x1e0f5e(0x45c)]=_0x381a38[_0x1e0f5e(0x2ab)]({'cfg':_0x381a38[_0x1e0f5e(0x2ab)]({'format':_0xd2d589}),'encrypt':function(_0x343f96,_0x3d2ecf,_0x14b545,_0x566423){var _0x4952f8=_0x1e0f5e;_0x566423=this['cfg'][_0x4952f8(0x2ab)](_0x566423);var _0x31f26d=_0x343f96[_0x4952f8(0x265)](_0x14b545,_0x566423),_0x503828=_0x31f26d[_0x4952f8(0x346)](_0x3d2ecf),_0x1dbdf5=_0x31f26d[_0x4952f8(0x4ea)];return _0x3f2a75[_0x4952f8(0x22b)]({'ciphertext':_0x503828,'key':_0x14b545,'iv':_0x1dbdf5['iv'],'algorithm':_0x343f96,'mode':_0x1dbdf5[_0x4952f8(0x4da)],'padding':_0x1dbdf5[_0x4952f8(0x3f7)],'blockSize':_0x343f96[_0x4952f8(0x282)],'formatter':_0x566423[_0x4952f8(0x277)]});},'decrypt':function(_0x581e0f,_0x530328,_0x16d2c8,_0x388fce){var _0x5495b6=_0x1e0f5e;_0x388fce=this[_0x5495b6(0x4ea)][_0x5495b6(0x2ab)](_0x388fce),_0x530328=this[_0x5495b6(0x4e9)](_0x530328,_0x388fce[_0x5495b6(0x277)]);var _0x4b53ae=_0x581e0f[_0x5495b6(0x4f6)](_0x16d2c8,_0x388fce)[_0x5495b6(0x346)](_0x530328[_0x5495b6(0x2fc)]);return _0x4b53ae;},'_parse':function(_0x5cd185,_0x2e3c1f){var _0x46e590=_0x1e0f5e;return typeof _0x5cd185==_0x46e590(0x40c)?_0x2e3c1f[_0x46e590(0x2de)](_0x5cd185,this):_0x5cd185;}}),_0x3ba302=_0x4e744a[_0x1e0f5e(0x34a)]={},_0x27f8fb=_0x3ba302[_0x1e0f5e(0x343)]={'execute':function(_0x36ec1e,_0x2d829a,_0x42de44,_0x47c3d7,_0x6a377d){var _0x4994c3=_0x1e0f5e;if(_0x47c3d7||(_0x47c3d7=_0x277114[_0x4994c3(0x342)](0x40/0x8)),_0x6a377d)var _0x5715b7=_0x30898d[_0x4994c3(0x22b)]({'keySize':_0x2d829a+_0x42de44,'hasher':_0x6a377d})[_0x4994c3(0x3aa)](_0x36ec1e,_0x47c3d7);else var _0x5715b7=_0x30898d['create']({'keySize':_0x2d829a+_0x42de44})[_0x4994c3(0x3aa)](_0x36ec1e,_0x47c3d7);var _0x52f13d=_0x277114[_0x4994c3(0x22b)](_0x5715b7[_0x4994c3(0x446)][_0x4994c3(0x3ba)](_0x2d829a),_0x42de44*0x4);return _0x5715b7[_0x4994c3(0x46d)]=_0x2d829a*0x4,_0x3f2a75[_0x4994c3(0x22b)]({'key':_0x5715b7,'iv':_0x52f13d,'salt':_0x47c3d7});}},_0x367529=_0x2eefc6[_0x1e0f5e(0x470)]=_0x310a3b['extend']({'cfg':_0x310a3b['cfg'][_0x1e0f5e(0x2ab)]({'kdf':_0x27f8fb}),'encrypt':function(_0x21f703,_0x4bab5f,_0x11ab1f,_0x2e55a8){var _0x42182e=_0x1e0f5e;_0x2e55a8=this[_0x42182e(0x4ea)][_0x42182e(0x2ab)](_0x2e55a8);var _0x25d317=_0x2e55a8[_0x42182e(0x34a)]['execute'](_0x11ab1f,_0x21f703['keySize'],_0x21f703['ivSize'],_0x2e55a8[_0x42182e(0x3a5)],_0x2e55a8['hasher']);_0x2e55a8['iv']=_0x25d317['iv'];var _0x4e6816=_0x310a3b['encrypt'][_0x42182e(0x341)](this,_0x21f703,_0x4bab5f,_0x25d317[_0x42182e(0x290)],_0x2e55a8);return _0x4e6816[_0x42182e(0x36f)](_0x25d317),_0x4e6816;},'decrypt':function(_0x3b8813,_0x1da774,_0x55a68d,_0x2becca){var _0x2f3f23=_0x1e0f5e;_0x2becca=this[_0x2f3f23(0x4ea)][_0x2f3f23(0x2ab)](_0x2becca),_0x1da774=this[_0x2f3f23(0x4e9)](_0x1da774,_0x2becca[_0x2f3f23(0x277)]);var _0x25509a=_0x2becca['kdf'][_0x2f3f23(0x3de)](_0x55a68d,_0x3b8813[_0x2f3f23(0x368)],_0x3b8813[_0x2f3f23(0x399)],_0x1da774[_0x2f3f23(0x3a5)],_0x2becca[_0x2f3f23(0x4b6)]);_0x2becca['iv']=_0x25509a['iv'];var _0x466133=_0x310a3b['decrypt'][_0x2f3f23(0x341)](this,_0x3b8813,_0x1da774,_0x25509a['key'],_0x2becca);return _0x466133;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0xbf377e(0x4a7)],ti;function Sn(){var _0x3bc8d9=_0xbf377e;return ti||(ti=0x1,function(_0x3b3d7b,_0x2aed36){(function(_0x215008,_0x25f281,_0x1cd8d6){var _0x352e51=_0x1cff;_0x3b3d7b[_0x352e51(0x4a7)]=_0x25f281(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x45e2e9){var _0x403605=_0x1cff;return(function(){var _0x148520=_0x1cff,_0x3a65c3=_0x45e2e9,_0x121166=_0x3a65c3[_0x148520(0x24a)],_0x1cd567=_0x121166[_0x148520(0x244)],_0x287f65=_0x3a65c3[_0x148520(0x358)],_0x1d40bf=[],_0x7a4a9d=[],_0x1dfde2=[],_0x3d2f54=[],_0x16539d=[],_0x5b1df5=[],_0x20fe86=[],_0x281d13=[],_0x2d50ec=[],_0x2019f7=[];(function(){for(var _0x4f0696=[],_0x2ac4c0=0x0;_0x2ac4c0<0x100;_0x2ac4c0++)_0x2ac4c0<0x80?_0x4f0696[_0x2ac4c0]=_0x2ac4c0<<0x1:_0x4f0696[_0x2ac4c0]=_0x2ac4c0<<0x1^0x11b;for(var _0x11bf45=0x0,_0x39c56d=0x0,_0x2ac4c0=0x0;_0x2ac4c0<0x100;_0x2ac4c0++){var _0x5ac132=_0x39c56d^_0x39c56d<<0x1^_0x39c56d<<0x2^_0x39c56d<<0x3^_0x39c56d<<0x4;_0x5ac132=_0x5ac132>>>0x8^_0x5ac132&0xff^0x63,_0x1d40bf[_0x11bf45]=_0x5ac132,_0x7a4a9d[_0x5ac132]=_0x11bf45;var _0x1e44ca=_0x4f0696[_0x11bf45],_0x2659d2=_0x4f0696[_0x1e44ca],_0x56c57e=_0x4f0696[_0x2659d2],_0x51e082=_0x4f0696[_0x5ac132]*0x101^_0x5ac132*0x1010100;_0x1dfde2[_0x11bf45]=_0x51e082<<0x18|_0x51e082>>>0x8,_0x3d2f54[_0x11bf45]=_0x51e082<<0x10|_0x51e082>>>0x10,_0x16539d[_0x11bf45]=_0x51e082<<0x8|_0x51e082>>>0x18,_0x5b1df5[_0x11bf45]=_0x51e082;var _0x51e082=_0x56c57e*0x1010101^_0x2659d2*0x10001^_0x1e44ca*0x101^_0x11bf45*0x1010100;_0x20fe86[_0x5ac132]=_0x51e082<<0x18|_0x51e082>>>0x8,_0x281d13[_0x5ac132]=_0x51e082<<0x10|_0x51e082>>>0x10,_0x2d50ec[_0x5ac132]=_0x51e082<<0x8|_0x51e082>>>0x18,_0x2019f7[_0x5ac132]=_0x51e082,_0x11bf45?(_0x11bf45=_0x1e44ca^_0x4f0696[_0x4f0696[_0x4f0696[_0x56c57e^_0x1e44ca]]],_0x39c56d^=_0x4f0696[_0x4f0696[_0x39c56d]]):_0x11bf45=_0x39c56d=0x1;}}());var _0x41c2bc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3981b1=_0x287f65[_0x148520(0x2a5)]=_0x1cd567[_0x148520(0x2ab)]({'_doReset':function(){var _0xfdf204=_0x148520,_0x1d23b9;if(!(this[_0xfdf204(0x405)]&&this['_keyPriorReset']===this[_0xfdf204(0x49a)])){for(var _0x589575=this[_0xfdf204(0x4bc)]=this[_0xfdf204(0x49a)],_0x533867=_0x589575['words'],_0x4d0b03=_0x589575['sigBytes']/0x4,_0x4d5a33=this[_0xfdf204(0x405)]=_0x4d0b03+0x6,_0x235e90=(_0x4d5a33+0x1)*0x4,_0x3a76dd=this[_0xfdf204(0x2dd)]=[],_0xd35eae=0x0;_0xd35eae<_0x235e90;_0xd35eae++)_0xd35eae<_0x4d0b03?_0x3a76dd[_0xd35eae]=_0x533867[_0xd35eae]:(_0x1d23b9=_0x3a76dd[_0xd35eae-0x1],_0xd35eae%_0x4d0b03?_0x4d0b03>0x6&&_0xd35eae%_0x4d0b03==0x4&&(_0x1d23b9=_0x1d40bf[_0x1d23b9>>>0x18]<<0x18|_0x1d40bf[_0x1d23b9>>>0x10&0xff]<<0x10|_0x1d40bf[_0x1d23b9>>>0x8&0xff]<<0x8|_0x1d40bf[_0x1d23b9&0xff]):(_0x1d23b9=_0x1d23b9<<0x8|_0x1d23b9>>>0x18,_0x1d23b9=_0x1d40bf[_0x1d23b9>>>0x18]<<0x18|_0x1d40bf[_0x1d23b9>>>0x10&0xff]<<0x10|_0x1d40bf[_0x1d23b9>>>0x8&0xff]<<0x8|_0x1d40bf[_0x1d23b9&0xff],_0x1d23b9^=_0x41c2bc[_0xd35eae/_0x4d0b03|0x0]<<0x18),_0x3a76dd[_0xd35eae]=_0x3a76dd[_0xd35eae-_0x4d0b03]^_0x1d23b9);for(var _0x5d5315=this[_0xfdf204(0x4d8)]=[],_0x13d169=0x0;_0x13d169<_0x235e90;_0x13d169++){var _0xd35eae=_0x235e90-_0x13d169;if(_0x13d169%0x4)var _0x1d23b9=_0x3a76dd[_0xd35eae];else var _0x1d23b9=_0x3a76dd[_0xd35eae-0x4];_0x13d169<0x4||_0xd35eae<=0x4?_0x5d5315[_0x13d169]=_0x1d23b9:_0x5d5315[_0x13d169]=_0x20fe86[_0x1d40bf[_0x1d23b9>>>0x18]]^_0x281d13[_0x1d40bf[_0x1d23b9>>>0x10&0xff]]^_0x2d50ec[_0x1d40bf[_0x1d23b9>>>0x8&0xff]]^_0x2019f7[_0x1d40bf[_0x1d23b9&0xff]];}}},'encryptBlock':function(_0x3528d7,_0x1ef535){var _0x401cb9=_0x148520;this[_0x401cb9(0x32b)](_0x3528d7,_0x1ef535,this['_keySchedule'],_0x1dfde2,_0x3d2f54,_0x16539d,_0x5b1df5,_0x1d40bf);},'decryptBlock':function(_0xa1dcb4,_0x1a200b){var _0x38fbab=_0xa1dcb4[_0x1a200b+0x1];_0xa1dcb4[_0x1a200b+0x1]=_0xa1dcb4[_0x1a200b+0x3],_0xa1dcb4[_0x1a200b+0x3]=_0x38fbab,this['_doCryptBlock'](_0xa1dcb4,_0x1a200b,this['_invKeySchedule'],_0x20fe86,_0x281d13,_0x2d50ec,_0x2019f7,_0x7a4a9d);var _0x38fbab=_0xa1dcb4[_0x1a200b+0x1];_0xa1dcb4[_0x1a200b+0x1]=_0xa1dcb4[_0x1a200b+0x3],_0xa1dcb4[_0x1a200b+0x3]=_0x38fbab;},'_doCryptBlock':function(_0x57e7de,_0x50f8bb,_0xd56f7e,_0x150bc6,_0x5779b9,_0x233f7f,_0x49e266,_0x32ec8b){var _0x4e15c2=_0x148520;for(var _0x118c84=this[_0x4e15c2(0x405)],_0x245a39=_0x57e7de[_0x50f8bb]^_0xd56f7e[0x0],_0x32aeb2=_0x57e7de[_0x50f8bb+0x1]^_0xd56f7e[0x1],_0x52f0d0=_0x57e7de[_0x50f8bb+0x2]^_0xd56f7e[0x2],_0x51e30=_0x57e7de[_0x50f8bb+0x3]^_0xd56f7e[0x3],_0x326c46=0x4,_0x3db44c=0x1;_0x3db44c<_0x118c84;_0x3db44c++){var _0xd473cf=_0x150bc6[_0x245a39>>>0x18]^_0x5779b9[_0x32aeb2>>>0x10&0xff]^_0x233f7f[_0x52f0d0>>>0x8&0xff]^_0x49e266[_0x51e30&0xff]^_0xd56f7e[_0x326c46++],_0x2b1012=_0x150bc6[_0x32aeb2>>>0x18]^_0x5779b9[_0x52f0d0>>>0x10&0xff]^_0x233f7f[_0x51e30>>>0x8&0xff]^_0x49e266[_0x245a39&0xff]^_0xd56f7e[_0x326c46++],_0x444975=_0x150bc6[_0x52f0d0>>>0x18]^_0x5779b9[_0x51e30>>>0x10&0xff]^_0x233f7f[_0x245a39>>>0x8&0xff]^_0x49e266[_0x32aeb2&0xff]^_0xd56f7e[_0x326c46++],_0x3479ce=_0x150bc6[_0x51e30>>>0x18]^_0x5779b9[_0x245a39>>>0x10&0xff]^_0x233f7f[_0x32aeb2>>>0x8&0xff]^_0x49e266[_0x52f0d0&0xff]^_0xd56f7e[_0x326c46++];_0x245a39=_0xd473cf,_0x32aeb2=_0x2b1012,_0x52f0d0=_0x444975,_0x51e30=_0x3479ce;}var _0xd473cf=(_0x32ec8b[_0x245a39>>>0x18]<<0x18|_0x32ec8b[_0x32aeb2>>>0x10&0xff]<<0x10|_0x32ec8b[_0x52f0d0>>>0x8&0xff]<<0x8|_0x32ec8b[_0x51e30&0xff])^_0xd56f7e[_0x326c46++],_0x2b1012=(_0x32ec8b[_0x32aeb2>>>0x18]<<0x18|_0x32ec8b[_0x52f0d0>>>0x10&0xff]<<0x10|_0x32ec8b[_0x51e30>>>0x8&0xff]<<0x8|_0x32ec8b[_0x245a39&0xff])^_0xd56f7e[_0x326c46++],_0x444975=(_0x32ec8b[_0x52f0d0>>>0x18]<<0x18|_0x32ec8b[_0x51e30>>>0x10&0xff]<<0x10|_0x32ec8b[_0x245a39>>>0x8&0xff]<<0x8|_0x32ec8b[_0x32aeb2&0xff])^_0xd56f7e[_0x326c46++],_0x3479ce=(_0x32ec8b[_0x51e30>>>0x18]<<0x18|_0x32ec8b[_0x245a39>>>0x10&0xff]<<0x10|_0x32ec8b[_0x32aeb2>>>0x8&0xff]<<0x8|_0x32ec8b[_0x52f0d0&0xff])^_0xd56f7e[_0x326c46++];_0x57e7de[_0x50f8bb]=_0xd473cf,_0x57e7de[_0x50f8bb+0x1]=_0x2b1012,_0x57e7de[_0x50f8bb+0x2]=_0x444975,_0x57e7de[_0x50f8bb+0x3]=_0x3479ce;},'keySize':0x100/0x20});_0x3a65c3[_0x148520(0x2a5)]=_0x1cd567[_0x148520(0x4f4)](_0x3981b1);}()),_0x45e2e9[_0x403605(0x2a5)];}));}(Ve)),Ve[_0x3bc8d9(0x4a7)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xbf377e(0x4a7)],si;function Rn(){return si||(si=0x1,function(_0x51b9b4,_0x17c57f){(function(_0x595b01,_0x1988a3){var _0x359809=_0x1cff;_0x51b9b4[_0x359809(0x4a7)]=_0x1988a3(te());}(Cn,function(_0x18b25c){var _0x303f61=_0x1cff;return _0x18b25c[_0x303f61(0x38d)][_0x303f61(0x38f)];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xbf377e(0x4a7)],ni;function Nn(){var _0x3ede92=_0xbf377e;return ni||(ni=0x1,function(_0x102325,_0x1196f3){(function(_0x483553,_0x121bd3){var _0x19a448=_0x1cff;_0x102325[_0x19a448(0x4a7)]=_0x121bd3(te());}(yn,function(_0x5bddd5){var _0x173b21=_0x1cff;return(function(){var _0x404bc1=_0x1cff;if(typeof ArrayBuffer==_0x404bc1(0x442)){var _0x1fcb5f=_0x5bddd5,_0x4e1e63=_0x1fcb5f['lib'],_0x5886ab=_0x4e1e63[_0x404bc1(0x327)],_0x3d647a=_0x5886ab[_0x404bc1(0x2ef)],_0x2500f8=_0x5886ab[_0x404bc1(0x2ef)]=function(_0x27957b){var _0x110bbf=_0x404bc1;if(_0x27957b instanceof ArrayBuffer&&(_0x27957b=new Uint8Array(_0x27957b)),(_0x27957b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x27957b instanceof Uint8ClampedArray||_0x27957b instanceof Int16Array||_0x27957b instanceof Uint16Array||_0x27957b instanceof Int32Array||_0x27957b instanceof Uint32Array||_0x27957b instanceof Float32Array||_0x27957b instanceof Float64Array)&&(_0x27957b=new Uint8Array(_0x27957b[_0x110bbf(0x474)],_0x27957b['byteOffset'],_0x27957b['byteLength'])),_0x27957b instanceof Uint8Array){for(var _0x2ab3bd=_0x27957b[_0x110bbf(0x419)],_0x694db3=[],_0x52c259=0x0;_0x52c259<_0x2ab3bd;_0x52c259++)_0x694db3[_0x52c259>>>0x2]|=_0x27957b[_0x52c259]<<0x18-_0x52c259%0x4*0x8;_0x3d647a['call'](this,_0x694db3,_0x2ab3bd);}else _0x3d647a[_0x110bbf(0x34b)](this,arguments);};_0x2500f8[_0x404bc1(0x331)]=_0x5886ab;}}()),_0x5bddd5[_0x173b21(0x24a)][_0x173b21(0x327)];}));}(Ze)),Ze[_0x3ede92(0x4a7)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0xbf377e(0x4a7)],ri;function wn(){var _0xc1cf30=_0xbf377e;return ri||(ri=0x1,function(_0x4b12e3,_0x218aa9){(function(_0x6e4328,_0x2c0178,_0x51bcff){var _0x5103fc=_0x1cff;_0x4b12e3[_0x5103fc(0x4a7)]=_0x2c0178(te(),bi());}(An,function(_0x451022){var _0xbaf84a=_0x1cff;return _0x451022['pad'][_0xbaf84a(0x2b0)]={'pad':function(){},'unpad':function(){}},_0x451022[_0xbaf84a(0x48b)]['NoPadding'];}));}(Qe)),Qe[_0xc1cf30(0x4a7)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x4bceac,_0x142e26){var _0x59414a=_0xbf377e;const _0x43336d=_0x142e26-_0x4bceac[_0x59414a(0x234)]%_0x142e26,_0x1a96a3=String[_0x59414a(0x4ac)](_0x43336d)[_0x59414a(0x3c1)](_0x43336d);return _0x4bceac+_0x1a96a3;}function xn(_0x24f357,_0x3a2b65){var _0x2fb187=_0xbf377e;const _0xc8b464=Un['random'](0x10),_0x19a4f3=Ln(_0x24f357,0x10),_0x484d28=In[_0x2fb187(0x397)](bn['parse'](_0x19a4f3),ii[_0x2fb187(0x2de)](_0x3a2b65),{'iv':_0xc8b464,'padding':Mn});return _0xc8b464['concat'](_0x484d28[_0x2fb187(0x2fc)])[_0x2fb187(0x345)](ii);}function kn(){var _0x58b2b6=_0xbf377e;const _0x3768e1=_0x541ccd()[_0x58b2b6(0x4c8)];if(_0x3768e1){const _0xf04b97={'time':Math['floor'](Date[_0x58b2b6(0x37f)]()/0x3e8),'domain':location[_0x58b2b6(0x352)]};return xn(JSON[_0x58b2b6(0x25e)](_0xf04b97),_0x3768e1);}}var $n=Object[_0xbf377e(0x359)],Hn=(_0x399b36,_0x302363,_0x34cfb8,_0x125a59)=>{var _0x5644fc=_0xbf377e;for(var _0x52d831=_0x125a59>0x1?void 0x0:_0x125a59?$n(_0x302363,_0x34cfb8):_0x302363,_0x58ac1f=_0x399b36[_0x5644fc(0x234)]-0x1,_0xa6b12e;_0x58ac1f>=0x0;_0x58ac1f--)(_0xa6b12e=_0x399b36[_0x58ac1f])&&(_0x52d831=_0xa6b12e(_0x52d831)||_0x52d831);return _0x52d831;},Bn=(_0x2b8356,_0x3af6b2)=>(_0x9e9b54,_0x3f4e3b)=>_0x3af6b2(_0x9e9b54,_0x3f4e3b,_0x2b8356);let at=class{constructor(_0x56c8f8){var _0x48ca2f=_0xbf377e;this['_httpService']=_0x56c8f8,this[_0x48ca2f(0x303)]();}[_0xbf377e(0x303)](){var _0x1d9a03=_0xbf377e;this[_0x1d9a03(0x367)]['registerHTTPInterceptor']({'interceptor':(_0x3be176,_0x941bb4)=>{var _0x10bf59=_0x1d9a03;const _0x30f65b=_0x3be176[_0x10bf59(0x231)],_0x565af6=kn();return _0x565af6&&_0x30f65b[_0x10bf59(0x2f7)](_0x10bf59(0x2b8),_0x565af6),_0x941bb4(_0x3be176);}});}};at=Hn([Bn(0x0,_0x1c582e(_0x44ae9d))],at);var jn=Object[_0xbf377e(0x359)],Fn=(_0x2d72a7,_0x3ef8ca,_0x50f3bc,_0x3c90d4)=>{var _0x3d4953=_0xbf377e;for(var _0x1aa9d1=_0x3c90d4>0x1?void 0x0:_0x3c90d4?jn(_0x3ef8ca,_0x50f3bc):_0x3ef8ca,_0x4f4947=_0x2d72a7[_0x3d4953(0x234)]-0x1,_0x235d66;_0x4f4947>=0x0;_0x4f4947--)(_0x235d66=_0x2d72a7[_0x4f4947])&&(_0x1aa9d1=_0x235d66(_0x1aa9d1)||_0x1aa9d1);return _0x1aa9d1;},vt=(_0x423c5f,_0x2868b9)=>(_0x6bda0c,_0xc97c83)=>_0x2868b9(_0x6bda0c,_0xc97c83,_0x423c5f);let Ct=class extends _0x50936f{constructor(_0x310a48,_0x2836a3,_0x3ce13a){var _0xfb9dee=_0xbf377e;super(),N(this,'_unitInfo$',new _0x1f6c9f(null)),N(this,_0xfb9dee(0x3d8),this[_0xfb9dee(0x3e4)]['asObservable']()),(this[_0xfb9dee(0x3fb)]=_0x310a48,this[_0xfb9dee(0x4df)]=_0x2836a3,this[_0xfb9dee(0x4de)]=_0x3ce13a);}async[_0xbf377e(0x396)](_0x5809b7,_0x39c166,_0x37155d){var _0x2dd9cc=_0xbf377e;this[_0x2dd9cc(0x3e4)]['next']({'unitId':_0x5809b7,'type':_0x39c166});let _0x212403=null;switch(_0x39c166){case Z[_0x2dd9cc(0x229)]:{_0x212403=await this['_snapshotService'][_0x2dd9cc(0x30d)](_0x5809b7,_0x37155d);break;}case Z[_0x2dd9cc(0x2e9)]:{_0x212403=await this[_0x2dd9cc(0x4df)][_0x2dd9cc(0x1f4)](_0x5809b7,_0x37155d);break;}default:{this[_0x2dd9cc(0x3fb)][_0x2dd9cc(0x215)]('[DataLoaderService]',_0x2dd9cc(0x480));break;}}return _0x212403;}async['loadUnit'](_0x1f25a7,_0x25a465,_0x4d7975){var _0x501aa2=_0xbf377e,_0x1f8e9b;this[_0x501aa2(0x3e4)][_0x501aa2(0x233)]({'unitId':_0x1f25a7,'type':_0x25a465,'subUnitId':_0x4d7975});let _0x548281=0x0;const _0x89560e=await((_0x1f8e9b=this[_0x501aa2(0x4de)])==null?void 0x0:_0x1f8e9b[_0x501aa2(0x298)](_0x1f25a7));return _0x89560e&&(_0x89560e['awaitingChangeset']||_0x89560e[_0x501aa2(0x2d8)][_0x501aa2(0x234)]!==0x0)&&(_0x548281=_0x89560e[_0x501aa2(0x440)]),_0x548281===0x0&&this[_0x501aa2(0x3fb)][_0x501aa2(0x2cd)](_0x501aa2(0x4f7),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x501aa2(0x396)](_0x1f25a7,_0x25a465,_0x548281);}};Ct=Fn([vt(0x0,_0x11790f),vt(0x1,_0x1c582e(_0x19e068)),vt(0x2,_0x452fc6(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x349fa6,_0x27f488,_0x13a4f6,_0x13286e)=>{var _0x31aeb8=_0xbf377e;for(var _0x4e9f34=_0x13286e>0x1?void 0x0:_0x13286e?Vn(_0x27f488,_0x13a4f6):_0x27f488,_0x41044e=_0x349fa6[_0x31aeb8(0x234)]-0x1,_0x35e119;_0x41044e>=0x0;_0x41044e--)(_0x35e119=_0x349fa6[_0x41044e])&&(_0x4e9f34=_0x35e119(_0x4e9f34)||_0x4e9f34);return _0x4e9f34;},pt=(_0x306195,_0x8fdf39)=>(_0x15934e,_0x56ae8b)=>_0x8fdf39(_0x15934e,_0x56ae8b,_0x306195);const Gn=[_0xbf377e(0x4e2),_0xbf377e(0x4ca),_0xbf377e(0x27f),_0xbf377e(0x3d5),_0xbf377e(0x437)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x9464fc,_0x406669,_0x40aeb2){var _0x59cf2b=_0xbf377e;N(this,_0x59cf2b(0x2d0),0x0),N(this,_0x59cf2b(0x4d9),new _0x4a9222()),N(this,_0x59cf2b(0x338),this[_0x59cf2b(0x4d9)]),N(this,_0x59cf2b(0x421),new Map()),(this[_0x59cf2b(0x367)]=_0x9464fc,this[_0x59cf2b(0x457)]=_0x406669,this[_0x59cf2b(0x268)]=_0x40aeb2);}['setWaitCount'](_0x337980){var _0x2e87bb=_0xbf377e;this['_waitCount']=_0x337980,this[_0x2e87bb(0x4d9)][_0x2e87bb(0x233)](_0x337980);}['getImageSourceCache'](_0x3d01da,_0x2756af){var _0x548279=_0xbf377e;if(_0x2756af===_0x46d845[_0x548279(0x453)]){const _0x9ea014=new Image();return _0x9ea014[_0x548279(0x26e)]=_0x3d01da,_0x9ea014;}return this['_imageSourceCache']['get'](_0x3d01da);}[_0xbf377e(0x4b3)](_0x4d8b18,_0x278fc5,_0x45a6b1){var _0x5767be=_0xbf377e;_0x278fc5===_0x46d845[_0x5767be(0x453)]||_0x45a6b1==null||this[_0x5767be(0x421)][_0x5767be(0x2f7)](_0x4d8b18,_0x45a6b1);}async[_0xbf377e(0x34f)](_0x23b0fe){var _0x1b9aa4=_0xbf377e;try{const _0x11be45=this[_0x1b9aa4(0x39d)](this[_0x1b9aa4(0x4ee)](),''+_0x23b0fe),_0x4d7d58=(await this['_httpService'][_0x1b9aa4(0x4e3)](_0x11be45))[_0x1b9aa4(0x3a2)];if(_0x4d7d58[_0x1b9aa4(0x215)]&&_0x4d7d58[_0x1b9aa4(0x215)][_0x1b9aa4(0x3f4)]===vi['OK']){const _0x2002bb=new URL(_0x4d7d58[_0x1b9aa4(0x492)],this[_0x1b9aa4(0x22e)]())[_0x1b9aa4(0x345)]();return Promise[_0x1b9aa4(0x412)](_0x2002bb);}return Promise[_0x1b9aa4(0x418)](_0x4d7d58[_0x1b9aa4(0x215)]);}catch(_0x11bf51){return Promise[_0x1b9aa4(0x418)](_0x11bf51);}}async[_0xbf377e(0x41c)](_0x31c061){var _0x3abb2f=_0xbf377e;let _0x3bc58d='';if(!Gn[_0x3abb2f(0x363)](_0x31c061[_0x3abb2f(0x2a1)]))return this['_decreaseWaiting'](),Promise[_0x3abb2f(0x418)](new Error(_0x1995e6[_0x3abb2f(0x494)]));if(_0x31c061['size']>Yn)return this[_0x3abb2f(0x43b)](),Promise['reject'](new Error(_0x1995e6['ERROR_EXCEED_SIZE']));try{const _0x41c316=new FormData();_0x41c316['append'](_0x3abb2f(0x281),_0x31c061);const _0x4b1f95=this[_0x3abb2f(0x268)]['getFocusedUnit'](),_0x282622=_0x4b1f95==null?void 0x0:_0x4b1f95[_0x3abb2f(0x4c2)]();if(!_0x282622)throw new Error('unitId\x20is\x20not\x20found');const _0x4fe371=this['_getUploadFileURL']()+'?size='+_0x31c061[_0x3abb2f(0x3ae)]['toString']()+'&source='+pi[_0x3abb2f(0x2c6)]+_0x3abb2f(0x4a9)+encodeURIComponent(_0x282622),_0x37c02e={'body':_0x41c316},_0x56fd47=(await this['_httpService'][_0x3abb2f(0x459)](_0x4fe371,_0x37c02e))[_0x3abb2f(0x3a2)];if(typeof _0x56fd47[_0x3abb2f(0x25b)]!=_0x3abb2f(0x40c))return this[_0x3abb2f(0x43b)](),Promise[_0x3abb2f(0x418)](new Error(_0x1995e6[_0x3abb2f(0x2e4)]));_0x3bc58d=_0x56fd47['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1995e6[_0x3abb2f(0x2e4)]));}return new Promise((_0x20baad,_0x518598)=>{var _0x3f597d=_0x3abb2f;const _0x3eab04=new FileReader();_0x3eab04[_0x3f597d(0x24e)](_0x31c061),_0x3eab04['onload']=_0xe1b83f=>{var _0x25f3c5=_0x3f597d,_0x437a60;const _0x307861=(_0x437a60=_0xe1b83f[_0x25f3c5(0x287)])==null?void 0x0:_0x437a60[_0x25f3c5(0x369)];if(_0x307861==null){this[_0x25f3c5(0x43b)](),_0x518598(new Error(_0x1995e6[_0x25f3c5(0x2e4)]));return;}const _0x49e5bc=_0x14caa5(0x6);_0x20baad({'imageId':_0x49e5bc,'imageSourceType':_0x46d845[_0x25f3c5(0x353)],'source':_0x3bc58d,'base64Cache':_0x307861,'status':_0x1995e6['SUCCUSS']}),this[_0x25f3c5(0x43b)]();};});}[_0xbf377e(0x315)](){var _0x4d16af=_0xbf377e,_0x206f89;const _0x38dec7=this[_0x4d16af(0x457)][_0x4d16af(0x225)](K);return(_0x206f89=_0x38dec7==null?void 0x0:_0x38dec7[_0x4d16af(0x4c6)])!=null?_0x206f89:Kn;}[_0xbf377e(0x4ee)](){var _0x575856=_0xbf377e,_0x4e9ac4;const _0x10a606=this[_0x575856(0x457)][_0x575856(0x225)](K);return(_0x4e9ac4=_0x10a606==null?void 0x0:_0x10a606[_0x575856(0x32d)])!=null?_0x4e9ac4:qn;}[_0xbf377e(0x22e)](){var _0x3b1529=_0xbf377e,_0xa3cba1;const _0x2fdbfe=this[_0x3b1529(0x457)]['getConfig'](K);return(_0xa3cba1=_0x2fdbfe==null?void 0x0:_0x2fdbfe[_0x3b1529(0x4eb)])!=null?_0xa3cba1:location[_0x3b1529(0x48d)];}[_0xbf377e(0x39d)](_0x4208ea,_0x408ec4){var _0x36d1aa=_0xbf377e;return _0x4208ea[_0x36d1aa(0x498)](_0x36d1aa(0x3da),_0x408ec4);}['_decreaseWaiting'](){var _0x1c5cb1=_0xbf377e;this[_0x1c5cb1(0x2d0)]-=0x1,this[_0x1c5cb1(0x4d9)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x1c582e(_0x44ae9d)),pt(0x1,_0xe9c879),pt(0x2,_0x1c582e(_0x8ffa5d))],Rt);var zn=Object[_0xbf377e(0x359)],Jn=(_0x105112,_0x3ae8c2,_0x59cee3,_0x5540f6)=>{for(var _0x2dea49=_0x5540f6>0x1?void 0x0:_0x5540f6?zn(_0x3ae8c2,_0x59cee3):_0x3ae8c2,_0x32bfae=_0x105112['length']-0x1,_0x1f9ebb;_0x32bfae>=0x0;_0x32bfae--)(_0x1f9ebb=_0x105112[_0x32bfae])&&(_0x2dea49=_0x1f9ebb(_0x2dea49)||_0x2dea49);return _0x2dea49;},ai=(_0x5a08ae,_0x53c523)=>(_0x54eee2,_0x116d60)=>_0x53c523(_0x54eee2,_0x116d60,_0x5a08ae);const Xn=_0xbf377e(0x2cb);let Ot=class{constructor(_0x21bded,_0x29878c){var _0x32b2bf=_0xbf377e;this[_0x32b2bf(0x457)]=_0x21bded,this[_0x32b2bf(0x27d)]=_0x29878c;}[_0xbf377e(0x49b)](){var _0x324496=_0xbf377e,_0x2a1a9a;const _0x29207c=this['_configService'][_0x324496(0x225)](K);return(_0x2a1a9a=_0x29207c==null?void 0x0:_0x29207c['authzUrl'])!=null?_0x2a1a9a:Xn;}async[_0xbf377e(0x1fa)](_0x34f86a){var _0x5185c2=_0xbf377e;const _0x5ac47e=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x5185c2(0x4aa),'mentions':(await this[_0x5185c2(0x27d)][_0x5185c2(0x4e3)](_0x5ac47e,{'params':{'objectID':_0x34f86a['unitId'],'unitID':_0x34f86a[_0x5185c2(0x3d9)]}}))[_0x5185c2(0x3a2)][_0x5185c2(0x31f)][_0x5185c2(0x422)](_0x567312=>({'objectId':_0x567312['id'],'name':_0x567312[_0x5185c2(0x41b)][_0x5185c2(0x23d)],'metadata':{'icon':_0x567312[_0x5185c2(0x41b)]['avatar']},'label':_0x567312['subject']['name'],'objectType':_0x1aa237[_0x5185c2(0x385)]})),'metadata':{},'type':_0x1aa237[_0x5185c2(0x385)]}]};}};Ot=Jn([ai(0x0,_0x1c582e(_0xe9c879)),ai(0x1,_0x1c582e(_0x44ae9d))],Ot);var Zn=Object[_0xbf377e(0x359)],Qn=(_0x4e0634,_0x2797ec,_0x509b4e,_0x685419)=>{for(var _0x3a7f1c=_0x685419>0x1?void 0x0:_0x685419?Zn(_0x2797ec,_0x509b4e):_0x2797ec,_0x57092c=_0x4e0634['length']-0x1,_0x5dca6b;_0x57092c>=0x0;_0x57092c--)(_0x5dca6b=_0x4e0634[_0x57092c])&&(_0x3a7f1c=_0x5dca6b(_0x3a7f1c)||_0x3a7f1c);return _0x3a7f1c;},Ue=(_0x2bffed,_0x44ca92)=>(_0x223b7d,_0x25681f)=>_0x44ca92(_0x223b7d,_0x25681f,_0x2bffed);let ot=class extends _0x50936f{constructor(_0x2cb86e,_0x1c2343,_0x1715f3,_0x49c344,_0x4d1b90){var _0x3ee381=_0xbf377e;super(),this[_0x3ee381(0x223)]=_0x2cb86e,this[_0x3ee381(0x268)]=_0x1c2343,this['_permissionService']=_0x1715f3,this['_collaborationSessionService']=_0x49c344,this['_collaborationUIEventService']=_0x4d1b90,this['_initUnitPermissionChange'](),this[_0x3ee381(0x4af)]();}[_0xbf377e(0x4af)](){var _0x39da35=_0xbf377e;const _0xeec180=async _0x199ebb=>{var _0x2063d5=_0x1cff;(await this[_0x2063d5(0x2e3)][_0x2063d5(0x455)](_0x199ebb))[_0x2063d5(0x25d)][_0x2063d5(0x2fd)](_0x28ef92(_0x135d4b=>_0x135d4b['eventID']===_0x5899ec[_0x2063d5(0x448)]),_0x4d45ba(this[_0x2063d5(0x39f)]))['subscribe'](_0x12b3f0=>{var _0x5009ee=_0x2063d5;const _0x526338=_0x12b3f0,{reason:_0x1d9a88}=_0x526338[_0x5009ee(0x3bb)];this[_0x5009ee(0x264)]['emitEvent']({'id':ne[_0x5009ee(0x370)],'data':_0x1d9a88}),this[_0x5009ee(0x495)][_0x5009ee(0x410)](new _0xc85e7d(_0x199ebb)['id'],!0x1),this[_0x5009ee(0x2e3)]['closeSession'](_0x199ebb);});};_0x2df817(this[_0x39da35(0x268)][_0x39da35(0x3e3)](_0x4db421[_0x39da35(0x229)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4db421['UNIVER_DOC']))[_0x39da35(0x2fd)](_0x1ef428(_0x4c4438=>_0x4c4438['getUnitId']()),_0x28ef92(_0x6555e8=>!_0x78defc(_0x6555e8)),_0x4d45ba(this[_0x39da35(0x39f)]))['subscribe'](_0x25507c=>{_0xeec180(_0x25507c);});}[_0xbf377e(0x3ee)](){var _0x5b68f5=_0xbf377e;const _0x37d9a9=async _0x443246=>{var _0x212104=_0x1cff;const _0x5e84a2=await this[_0x212104(0x2e3)][_0x212104(0x455)](_0x443246),_0x43686a=this[_0x212104(0x223)]['get'](_0x966d12);_0x5e84a2[_0x212104(0x25d)][_0x212104(0x2fd)](_0x28ef92(_0xf2c91=>_0xf2c91[_0x212104(0x214)]===_0x5899ec[_0x212104(0x3a4)]),_0x4d45ba(this[_0x212104(0x39f)]))[_0x212104(0x251)](_0xe54c8c=>{var _0x44a5db=_0x212104;const _0x3855c2=_0xe54c8c,{objectId:_0x5138d8}=_0x3855c2['data'];_0x5138d8===_0x443246?_0x43686a[_0x44a5db(0x21f)](_0x443246):_0x43686a[_0x44a5db(0x2ed)](_0x443246,_0x5138d8);});};_0x2df817(this[_0x5b68f5(0x268)]['getTypeOfUnitAdded$'](_0x4db421[_0x5b68f5(0x229)]))[_0x5b68f5(0x2fd)](_0x1ef428(_0x5e6f00=>_0x5e6f00[_0x5b68f5(0x4c2)]()),_0x28ef92(_0x2b3c6e=>!_0x78defc(_0x2b3c6e)),_0x4d45ba(this['dispose$']))[_0x5b68f5(0x251)](_0x3c7ba2=>{_0x37d9a9(_0x3c7ba2);});}};ot=Qn([Ue(0x0,_0x1c582e(_0x268804)),Ue(0x1,_0x8ffa5d),Ue(0x2,_0xe07f13),Ue(0x3,_0x1c582e(Pe)),Ue(0x4,_0x1c582e(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x2b3b09,_0x4d4537,_0x317bac,_0x2cc3a0)=>{var _0x30a976=_0xbf377e;for(var _0x4dff81=_0x2cc3a0>0x1?void 0x0:_0x2cc3a0?er(_0x4d4537,_0x317bac):_0x4d4537,_0x42409d=_0x2b3b09[_0x30a976(0x234)]-0x1,_0x203c2a;_0x42409d>=0x0;_0x42409d--)(_0x203c2a=_0x2b3b09[_0x42409d])&&(_0x4dff81=_0x203c2a(_0x4dff81)||_0x4dff81);return _0x4dff81;},oi=(_0x54e36c,_0x5e33dd)=>(_0x1c6729,_0x2e4e31)=>_0x5e33dd(_0x1c6729,_0x2e4e31,_0x54e36c);let bt=class{constructor(_0x2b9232,_0x561e0a){var _0x3b3026=_0xbf377e;this['_configService']=_0x2b9232,this[_0x3b3026(0x367)]=_0x561e0a;}async[_0xbf377e(0x266)](_0x57d0de,_0x58cd84){var _0x29da36=_0xbf377e,_0x13bb77;const {unitID:_0x17c8f2,type:_0x3247b9,revision:_0x5671b7=0x0}=_0x58cd84,_0xf1e2e6=this[_0x29da36(0x360)]()+'/'+_0x3247b9+'/unit/'+_0x17c8f2+_0x29da36(0x464)+_0x5671b7,_0x48572e=(await this[_0x29da36(0x367)][_0x29da36(0x4e3)](_0xf1e2e6))['body'],_0x54a09a=(_0x13bb77=_0x48572e[_0x29da36(0x3d0)])==null?void 0x0:_0x13bb77[_0x29da36(0x34d)];if(_0x54a09a){const _0x3bb231=_0x54a09a==null?void 0x0:_0x54a09a[_0x29da36(0x316)],_0x1e1336=_0x3b6a78[_0x29da36(0x2f3)](_0x436c26(_0x3bb231));_0x54a09a[_0x29da36(0x316)]=_0x1e1336,Object[_0x29da36(0x452)](_0x54a09a['sheets'])[_0x29da36(0x250)](([,_0x20353a])=>{var _0x1a31d0=_0x29da36;const _0xb8bd24=_0x20353a[_0x1a31d0(0x316)],_0x3146f0=_0x3b6a78[_0x1a31d0(0x2f3)](_0x436c26(_0xb8bd24));_0x20353a[_0x1a31d0(0x316)]=_0x3146f0;});}return _0x48572e;}async[_0xbf377e(0x409)](_0x594add,_0x103d8a){var _0x40c294=_0xbf377e;const {unitID:_0x1f057f,type:_0x135b9d,blockID:_0x304fb2}=_0x103d8a,_0x1a9237=this[_0x40c294(0x365)]()+'/'+_0x135b9d+'/unit/'+_0x1f057f+'/block/'+_0x304fb2;return(await this['_httpService']['get'](_0x1a9237))[_0x40c294(0x3a2)];}async['getDeserializedSheetBlock'](_0x5cc56c,_0x2ba443){var _0x52952a=_0xbf377e;const {unitID:_0x28393b,type:_0x298dcd,blockID:_0x32e650}=_0x2ba443,_0x52e647=this[_0x52952a(0x365)]()+_0x52952a(0x4f9)+_0x298dcd+_0x52952a(0x20e)+_0x28393b+_0x52952a(0x4f9)+_0x32e650;return(await this[_0x52952a(0x367)][_0x52952a(0x4e3)](_0x52e647))[_0x52952a(0x3a2)];}async[_0xbf377e(0x3ff)](_0x433b4e,_0x507fa5){var _0x2ffb7d=_0xbf377e;const {unitID:_0x262484,type:_0x3dc96c,from:_0x16dd02,to:_0x5b0fcd}=_0x507fa5,_0x40d4bf=this[_0x2ffb7d(0x365)]()+'/'+_0x3dc96c+_0x2ffb7d(0x20e)+_0x262484+_0x2ffb7d(0x302)+_0x16dd02+_0x2ffb7d(0x332)+_0x5b0fcd;return(await this[_0x2ffb7d(0x367)][_0x2ffb7d(0x4e3)](_0x40d4bf))['body'];}[_0xbf377e(0x360)](){var _0x15358d=_0xbf377e,_0x4809fe;return(_0x4809fe=this[_0x15358d(0x457)]['getConfig'](vs))!=null?_0x4809fe:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x4e72d0=_0xbf377e,_0x294221;const _0x2a4c53=this[_0x4e72d0(0x457)]['getConfig'](K);return(_0x294221=_0x2a4c53==null?void 0x0:_0x2a4c53['snapshotServerUrl'])!=null?_0x294221:fs;}async['getResourcesRequest'](_0x792e66,_0x16ec18){var _0x278d2d=_0xbf377e;const _0x41e330='/universer-api/snapshot/'+_0x16ec18['type']+_0x278d2d(0x20e)+_0x16ec18['unitID']+_0x278d2d(0x382);return(await this[_0x278d2d(0x367)]['get'](_0x41e330,{'params':{'resourceId':JSON[_0x278d2d(0x25e)](_0x16ec18[_0x278d2d(0x25c)])}}))[_0x278d2d(0x3a2)];}['saveSnapshot'](){var _0x4bf7af=_0xbf377e;throw new Error(_0x4bf7af(0x4a3));}[_0xbf377e(0x3b3)](){var _0x3c465f=_0xbf377e;throw new Error(_0x3c465f(0x4a3));}[_0xbf377e(0x240)](){var _0x1c2918=_0xbf377e;throw new Error(_0x1c2918(0x4a3));}[_0xbf377e(0x3ad)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbf377e(0x39a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbf377e(0x420)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0xe9c879),oi(0x1,_0x1c582e(_0x44ae9d))],bt);var ir=Object[_0xbf377e(0x359)],sr=(_0x10196f,_0x1269e1,_0x281850,_0x485002)=>{var _0x422dad=_0xbf377e;for(var _0x8216c9=_0x485002>0x1?void 0x0:_0x485002?ir(_0x1269e1,_0x281850):_0x1269e1,_0x46bf50=_0x10196f[_0x422dad(0x234)]-0x1,_0x2c9bc4;_0x46bf50>=0x0;_0x46bf50--)(_0x2c9bc4=_0x10196f[_0x46bf50])&&(_0x8216c9=_0x2c9bc4(_0x8216c9)||_0x8216c9);return _0x8216c9;},Ae=(_0x23be32,_0x2e8008)=>(_0x523d13,_0x41ede3)=>_0x2e8008(_0x523d13,_0x41ede3,_0x23be32);let yt=class extends _0x5f87cb{constructor(_0x3c997e,_0x27af9e,_0x5dae28,_0x10c89,_0x11c44c){super(_0x3c997e,_0x27af9e,_0x5dae28),this['_transformService']=_0x10c89,this['_logService']=_0x11c44c;}[_0xbf377e(0x46b)](_0xdfc3ac,_0x519714){var _0x122b5c=_0xbf377e;const _0x3cebec=this['_getUndoStack'](_0xdfc3ac);if(_0x3cebec)try{const _0x373199=this[_0x122b5c(0x259)](_0x3cebec,_0x519714);this[_0x122b5c(0x411)](_0xdfc3ac,_0x373199);}catch(_0x5f3923){this['_logService'][_0x122b5c(0x215)](_0x122b5c(0x39c),_0x5f3923),this[_0x122b5c(0x3c4)](_0xdfc3ac);}const _0x15f187=this['_getRedoStack'](_0xdfc3ac);if(_0x15f187)try{const _0x2f72f2=this[_0x122b5c(0x259)](_0x15f187,_0x519714);this['_substituteRedoStack'](_0xdfc3ac,_0x2f72f2);}catch(_0x493042){this[_0x122b5c(0x3fb)][_0x122b5c(0x215)](_0x493042),this['_clearRedo'](_0xdfc3ac);}}[_0xbf377e(0x3c4)](_0x33f426){var _0x2cc792=_0xbf377e;const _0x23e5d3=this[_0x2cc792(0x443)](_0x33f426);_0x23e5d3&&(_0x23e5d3[_0x2cc792(0x234)]=0x0,this[_0x2cc792(0x2b7)]());}['_clearRedo'](_0x194c70){var _0x5b839e=_0xbf377e;const _0x5d89f8=this[_0x5b839e(0x221)](_0x194c70);_0x5d89f8&&(_0x5d89f8[_0x5b839e(0x234)]=0x0,this[_0x5b839e(0x2b7)]());}['_substituteUndoStack'](_0x838429,_0x3394e4){var _0x39c209=_0xbf377e;this['_undoStacks'][_0x39c209(0x2f7)](_0x838429,_0x3394e4),this['_updateStatus']();}[_0xbf377e(0x3b5)](_0x3ca1de,_0x1aaf3e){var _0x8bf882=_0xbf377e;this[_0x8bf882(0x4d4)][_0x8bf882(0x2f7)](_0x3ca1de,_0x1aaf3e),this[_0x8bf882(0x2b7)]();}[_0xbf377e(0x259)](_0x4a3f10,_0x4d453f){var _0xe32a6a=_0xbf377e;const _0x29ddd1=[];let _0x46e28e=_0x4d453f,_0x4bbceb=_0x4d453f;for(let _0x40c019=_0x4a3f10[_0xe32a6a(0x234)]-0x1;_0x40c019>=0x0;_0x40c019--){const {unitID:_0x425f39,undoMutations:_0x2b5c48,redoMutations:_0x43eba7}=_0x4a3f10[_0x40c019],_0x433fcb=this[_0xe32a6a(0x4d6)][_0xe32a6a(0x238)](_0x46e28e,_0x2b5c48),_0x3d9f55=this[_0xe32a6a(0x4d6)][_0xe32a6a(0x238)](_0x4bbceb,_0x43eba7);if(_0x1a63b6(_0x433fcb)||_0x1a63b6(_0x3d9f55)){this[_0xe32a6a(0x3fb)]['error']('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x433fcb,_0x3d9f55);break;}_0x46e28e=_0x433fcb[_0xe32a6a(0x27c)],_0x4bbceb=_0x3d9f55[_0xe32a6a(0x27c)],_0x29ddd1['push']({'unitID':_0x425f39,'undoMutations':_0x433fcb[_0xe32a6a(0x3cd)],'redoMutations':_0x3d9f55[_0xe32a6a(0x3cd)]});}return _0x29ddd1[_0xe32a6a(0x325)]();}};yt=sr([Ae(0x0,_0x8ffa5d),Ae(0x1,_0xc02145),Ae(0x2,_0x282538),Ae(0x3,_0xf8efc),Ae(0x4,_0x11790f)],yt);var nr=Object[_0xbf377e(0x2cc)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x40ef7a,_0x503eab,_0x14b100)=>_0x503eab in _0x40ef7a?nr(_0x40ef7a,_0x503eab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14b100}):_0x40ef7a[_0x503eab]=_0x14b100,or=(_0x5c0677,_0x10b608,_0x43281a,_0x3528b9)=>{var _0x3bcc20=_0xbf377e;for(var _0x261a34=_0x3528b9>0x1?void 0x0:_0x3528b9?rr(_0x10b608,_0x43281a):_0x10b608,_0x50f48f=_0x5c0677[_0x3bcc20(0x234)]-0x1,_0x4bbd68;_0x50f48f>=0x0;_0x50f48f--)(_0x4bbd68=_0x5c0677[_0x50f48f])&&(_0x261a34=_0x4bbd68(_0x261a34)||_0x261a34);return _0x261a34;},mt=(_0x26a7a0,_0x1ccea9)=>(_0x19cf3e,_0x2b213c)=>_0x1ccea9(_0x19cf3e,_0x2b213c,_0x26a7a0),cr=(_0x57f86a,_0x5e9f17,_0x424acd)=>ar(_0x57f86a,_0x5e9f17+'',_0x424acd);const hr=_0xbf377e(0x230);let Nt=class extends _0x4ce592{constructor(_0xe915d3,_0x388bc3,_0x250d12,_0x4d48be){var _0x42ac4f=_0xbf377e;super(),N(this,_0x42ac4f(0x4f8)),(this[_0x42ac4f(0x3fb)]=_0x388bc3,this[_0x42ac4f(0x223)]=_0x250d12,this[_0x42ac4f(0x457)]=_0x4d48be);const {..._0x322d18}=_0x7ea52c({},Os,_0xe915d3);if(!_0x322d18[_0x42ac4f(0x3e9)])throw new Error(_0x42ac4f(0x47d));this['_config']=_0x322d18,this[_0x42ac4f(0x457)][_0x42ac4f(0x237)](K,_0x322d18);}[_0xbf377e(0x38c)](){var _0x325b15=_0xbf377e;this[_0x325b15(0x3cf)](),this[_0x325b15(0x247)]();}[_0xbf377e(0x3cf)](){var _0x3f6f91=_0xbf377e,_0xed7248,_0x2bed0f;this[_0x3f6f91(0x223)][_0x3f6f91(0x255)](_0x26e538)&&this[_0x3f6f91(0x3fb)][_0x3f6f91(0x215)](_0x3f6f91(0x324),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2ddb4b=_0x4dcd6c([[_0x26e538,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x3f6f91(0x4f8)][_0x3f6f91(0x3e9)]}],[_0x35d6f9,{'useClass':bt}],[_0x45bf45,{'useClass':Tt}],[_0x459fa1,{'useClass':Rt}],[_0x241c1d,{'useClass':Ot}],[nt],[It]],(_0xed7248=this[_0x3f6f91(0x4f8)])==null?void 0x0:_0xed7248[_0x3f6f91(0x4ab)]);if(!((_0x2bed0f=this['_config'])!=null&&_0x2bed0f['enableSingleActiveInstanceLock'])){const _0x1b42db=_0x2ddb4b['findIndex'](([_0x366a48])=>_0x366a48===ht);_0x1b42db!==-0x1&&_0x2ddb4b[_0x3f6f91(0x228)](_0x1b42db,0x1);}_0x2fa2a5(this['_injector'],_0x2ddb4b);}[_0xbf377e(0x247)](){var _0x2bfac7=_0xbf377e,_0x4172df,_0x2ea46c,_0x222c98;this[_0x2bfac7(0x223)][_0x2bfac7(0x4e3)](_0x44ae9d)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2e5e2d({'maxParallel':0x6})}),(_0x4172df=this[_0x2bfac7(0x4f8)])!=null&&_0x4172df[_0x2bfac7(0x2c7)]||(_0x2ea46c=this[_0x2bfac7(0x223)][_0x2bfac7(0x4e3)](J,_0x1c434c[_0x2bfac7(0x2c9)]))==null||_0x2ea46c[_0x2bfac7(0x388)](),(_0x222c98=this[_0x2bfac7(0x4f8)])!=null&&_0x222c98[_0x2bfac7(0x294)]&&_0x144c72(this[_0x2bfac7(0x223)],[[rt]]),_0x144c72(this[_0x2bfac7(0x223)],[[at],[nt],[ot]]);}};cr(Nt,_0xbf377e(0x2f0),hr),Nt=or([_0x20d5d3(_0x243f38,_0x471690),mt(0x1,_0x11790f),mt(0x2,_0x1c582e(_0x268804)),mt(0x3,_0xe9c879)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|