@univerjs-pro/collaboration-client 0.6.10-nightly.202504261606 → 0.6.10-nightly.202504281607

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/index.js CHANGED
@@ -1 +1 @@
1
- var _0x225508=_0x1e04;(function(_0x1e9a63,_0x380650){var _0x2f9139=_0x1e04,_0x3b1c63=_0x1e9a63();while(!![]){try{var _0x36f7fb=parseInt(_0x2f9139(0x46e))/0x1+parseInt(_0x2f9139(0x286))/0x2*(parseInt(_0x2f9139(0x2ff))/0x3)+-parseInt(_0x2f9139(0x380))/0x4+parseInt(_0x2f9139(0x3f5))/0x5+parseInt(_0x2f9139(0x30f))/0x6+-parseInt(_0x2f9139(0x17c))/0x7*(-parseInt(_0x2f9139(0x265))/0x8)+-parseInt(_0x2f9139(0x426))/0x9;if(_0x36f7fb===_0x380650)break;else _0x3b1c63['push'](_0x3b1c63['shift']());}catch(_0x477dbf){_0x3b1c63['push'](_0x3b1c63['shift']());}}}(_0x2c4e,0xd54bf));var wi=Object[_0x225508(0x23e)],Pi=(_0x146692,_0x266d4b,_0x31d146)=>_0x266d4b in _0x146692?wi(_0x146692,_0x266d4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31d146}):_0x146692[_0x266d4b]=_0x31d146,N=(_0x28a5d7,_0x2fbd0a,_0x81cdde)=>Pi(_0x28a5d7,typeof _0x2fbd0a!='symbol'?_0x2fbd0a+'':_0x2fbd0a,_0x81cdde);import{createIdentifier as _0x15f102,Inject as _0x59c5a0,Injector as _0x1f43c7,IConfigService as _0x299d0c,ILogService as _0x4017e6,Disposable as _0x31b068,DisposableCollection as _0x15ac30,toDisposable as _0x479cb1,IUniverInstanceService as _0x5db9d5,UserManagerService as _0x530e97,UniverInstanceType as _0x1a0c97,LocaleService as _0x236a91,Optional as _0x182985,RxDisposable as _0xbb1137,Tools as _0x3b2e42,Rectangle as _0x4d5ac0,ICommandService as _0x171c01,JSONX as _0x3c4ef4,CommandType as _0x3dc4e2,IUndoRedoService as _0x315796,IPermissionService as _0x52947d,sequenceExecute as _0x3f10ac,Workbook as _0x2791cc,MentionType as _0x276f56,isInternalEditorID as _0x59d445,LocalUndoRedoService as _0x39d871,IContextService as _0xf8639d,DependentOn as _0x10a9dd,Plugin as _0x6cabb,merge as _0x8436fc,mergeOverrideWithDependencies as _0x28d45e,IAuthzIoService as _0x44cc2c,IMentionIOService as _0x4b4db4,registerDependencies as _0x53b829,Quantity as _0x2fb8ba,touchDependencies as _0x1cc1f7}from'@univerjs/core';import{Subject as _0x7a0b0d,merge as _0x3e5ef6,of as _0x47cd70,BehaviorSubject as _0x25de28,takeUntil as _0x42950a,ReplaySubject as _0x1bbf2f,take as _0x3c6b39,map as _0xdfbfa2,shareReplay as _0x141b06,firstValueFrom as _0x2ebee8,concatMap as _0x5b1340}from'rxjs';import{map as _0x4cad8a,take as _0xf52af0,filter as _0x3495eb,delay as _0x1a6441,takeUntil as _0x3ef981}from'rxjs/operators';import{CollaborationEvent as _0x3c1a33,ISnapshotServerService as _0x36ae02,parseChangesetToProtocol as _0x5521e7,ITransformService as _0x4832d4,isTransformMutationsWithChangesetSuccess as _0xb3d720,mapDocumentTypeToUniverType as _0x33e8d7,RevisionService as _0x3f05b9,isTransformChangesetsSuccess as _0x5f1444,CompressMutationService as _0x53a952,parseProtocolChangeset as _0x5653ba,SnapshotService as _0x10c059,textEncoder as _0x37d4f5,b64DecodeUnicode as _0x1f368d,isTransformMutationsWithChangesetFailure as _0x1492ce,UniverCollaborationPlugin as _0x4bb8dc}from'@univerjs-pro/collaboration';import{HTTPService as _0x33df68,ISocketService as _0x506a4b,MergeInterceptorFactory as _0xa66d9,HTTPRequest as _0x434b5a,UniverNetworkPlugin as _0x4bf2bc,ThresholdInterceptorFactory as _0x34e59f}from'@univerjs/network';import{ITelemetryService as _0x15bb86}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5c3dc0}from'@univerjs/docs';import{SheetsSelectionsService as _0xa58a50,SetSelectionsOperation as _0x2f54cc,InsertSheetMutation as _0x5caf3c,EmptyMutation as _0x493c9d,WorkbookEditablePermission as _0x2340c5,SheetPermissionInitController as _0x1f0098}from'@univerjs/sheets';import{ImageSourceType as _0x3e1698,ImageUploadStatusType as _0x390909,IImageIoService as _0x499c3e}from'@univerjs/drawing';import{getGlobalObject as _0x11844b}from'@univerjs-pro/license';const mn=_0x225508(0x2d4),gn=_0x225508(0x464),Sn='SNAPSHOT_URL_KEY',Lr=_0x225508(0x379),En=0x7d0,In=_0x225508(0x3ed),Tn=_0x225508(0x2d8),xr=_0x225508(0x311),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x225508(0x41a),gi=0x4e20,bn=0x4e20,On=_0x225508(0x26a),yn=0x3,Mr=_0x225508(0x211),kr=0x3e8,Nn=_0x225508(0x2f9),Dn=_0x225508(0x266),Un=_0x225508(0x209),An='/universer-api/oidc/authpage',$r=_0x225508(0x1fa),Hr=_0x225508(0x24a);var Si=(_0x378a5a=>(_0x378a5a[_0x378a5a['UNDEFINED']=0x0]=_0x225508(0x1d2),_0x378a5a[_0x378a5a['OK']=0x1]='OK',_0x378a5a[_0x378a5a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x378a5a[_0x378a5a['PERMISSION_DENIED']=0x3]=_0x225508(0x1ef),_0x378a5a[_0x378a5a['NOT_FOUND']=0x4]=_0x225508(0x372),_0x378a5a[_0x378a5a['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x378a5a[_0x378a5a[_0x225508(0x30c)]=0x6]=_0x225508(0x30c),_0x378a5a[_0x378a5a[_0x225508(0x29d)]=0x7]='INVALID_ARGUMENT',_0x378a5a[_0x378a5a[_0x225508(0x40f)]=0x8]=_0x225508(0x40f),_0x378a5a[_0x378a5a[_0x225508(0x430)]=0x9]=_0x225508(0x430),_0x378a5a[_0x378a5a[_0x225508(0x39a)]=0xa]=_0x225508(0x39a),_0x378a5a[_0x378a5a[_0x225508(0x3fb)]=0x1389]=_0x225508(0x3fb),_0x378a5a[_0x378a5a[_0x225508(0x381)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x378a5a[_0x378a5a[_0x225508(0x2cd)]=0x1772]=_0x225508(0x2cd),_0x378a5a[_0x378a5a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x225508(0x444),_0x378a5a[_0x378a5a['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x378a5a[_0x378a5a[_0x225508(0x215)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x378a5a[_0x378a5a[_0x225508(0x18a)]=0x1b5b]=_0x225508(0x18a),_0x378a5a[_0x378a5a[_0x225508(0x17d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x378a5a[_0x378a5a['APPLY_DUPLICATED']=0x1b5d]=_0x225508(0x24b),_0x378a5a[_0x378a5a[_0x225508(0x2a6)]=0x1f41]=_0x225508(0x2a6),_0x378a5a[_0x378a5a[_0x225508(0x457)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x378a5a[_0x378a5a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x225508(0x20a),_0x378a5a[_0x378a5a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x225508(0x2c1),_0x378a5a[_0x378a5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x378a5a[_0x378a5a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x225508(0x3fa),_0x378a5a[_0x378a5a[_0x225508(0x36e)]=0x2711]=_0x225508(0x36e),_0x378a5a[_0x378a5a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x225508(0x23a),_0x378a5a[_0x378a5a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x225508(0x431),_0x378a5a[_0x378a5a[_0x225508(0x2e9)]=0x2714]=_0x225508(0x2e9),_0x378a5a[_0x378a5a[_0x225508(0x307)]=0x271a]=_0x225508(0x307),_0x378a5a[_0x378a5a[_0x225508(0x25b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x378a5a[_0x378a5a[_0x225508(0x2bc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x378a5a[_0x378a5a[_0x225508(0x340)]=0x2ee1]=_0x225508(0x340),_0x378a5a[_0x378a5a['INVALID_INVITE_CODE']=0x2ee2]=_0x225508(0x46b),_0x378a5a[_0x378a5a[_0x225508(0x2e5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x378a5a[_0x378a5a[_0x225508(0x347)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x378a5a[_0x378a5a[_0x225508(0x1eb)]=0x2ee5]=_0x225508(0x1eb),_0x378a5a[_0x378a5a['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x225508(0x2c9),_0x378a5a[_0x378a5a[_0x225508(0x2a5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x378a5a[_0x378a5a[_0x225508(0x290)]=0x32cb]=_0x225508(0x290),_0x378a5a[_0x378a5a[_0x225508(0x3e2)]=-0x1]='UNRECOGNIZED',_0x378a5a))(Si||{}),Q=(_0x26a775=>(_0x26a775[_0x26a775[_0x225508(0x42b)]=0x0]=_0x225508(0x42b),_0x26a775[_0x26a775[_0x225508(0x2e1)]=0x1]=_0x225508(0x2e1),_0x26a775[_0x26a775[_0x225508(0x409)]=0x2]=_0x225508(0x409),_0x26a775[_0x26a775[_0x225508(0x357)]=0x3]=_0x225508(0x357),_0x26a775[_0x26a775[_0x225508(0x18d)]=0x4]=_0x225508(0x18d),_0x26a775[_0x26a775[_0x225508(0x3e2)]=-0x1]=_0x225508(0x3e2),_0x26a775))(Q||{}),F=(_0x2baf56=>(_0x2baf56[_0x2baf56[_0x225508(0x294)]=0x0]=_0x225508(0x294),_0x2baf56[_0x2baf56[_0x225508(0x38c)]=0x1]=_0x225508(0x38c),_0x2baf56[_0x2baf56[_0x225508(0x2b5)]=0x2]=_0x225508(0x2b5),_0x2baf56[_0x2baf56['LEAVE']=0x3]=_0x225508(0x249),_0x2baf56[_0x2baf56[_0x225508(0x317)]=0x4]=_0x225508(0x317),_0x2baf56[_0x2baf56[_0x225508(0x345)]=0x5]=_0x225508(0x345),_0x2baf56[_0x2baf56['RECV']=0x6]=_0x225508(0x275),_0x2baf56[_0x2baf56[_0x225508(0x3e2)]=-0x1]=_0x225508(0x3e2),_0x2baf56))(F||{}),ge=(_0x5d7a2b=>(_0x5d7a2b[_0x5d7a2b[_0x225508(0x35e)]=0x0]=_0x225508(0x35e),_0x5d7a2b[_0x5d7a2b['OK']=0x1]='OK',_0x5d7a2b[_0x5d7a2b[_0x225508(0x33a)]=0x2]=_0x225508(0x33a),_0x5d7a2b[_0x5d7a2b['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x5d7a2b[_0x5d7a2b[_0x225508(0x33e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5d7a2b[_0x5d7a2b[_0x225508(0x3a0)]=0x3eb]=_0x225508(0x3a0),_0x5d7a2b[_0x5d7a2b[_0x225508(0x31b)]=0x3ec]=_0x225508(0x31b),_0x5d7a2b[_0x5d7a2b['UNRECOGNIZED']=-0x1]=_0x225508(0x3e2),_0x5d7a2b))(ge||{}),Ei=(_0x215360=>(_0x215360[_0x215360[_0x225508(0x2a7)]=0x0]=_0x225508(0x2a7),_0x215360[_0x215360[_0x225508(0x19b)]=0x1]=_0x225508(0x19b),_0x215360[_0x215360[_0x225508(0x404)]=0x2]=_0x225508(0x404),_0x215360[_0x215360[_0x225508(0x174)]=0x3]=_0x225508(0x174),_0x215360[_0x215360['UnitSnapshot']=0x4]=_0x225508(0x3b4),_0x215360[_0x215360[_0x225508(0x301)]=0x5]=_0x225508(0x301),_0x215360[_0x215360[_0x225508(0x3e2)]=-0x1]=_0x225508(0x3e2),_0x215360))(Ei||{});const q=_0x225508(0x37f),wn={};var re=(_0x15dced=>(_0x15dced['OTHER_CLIENT_EDITING']=_0x225508(0x194),_0x15dced['PERMISSION_DENIED']='PERMISSION_DENIED',_0x15dced[_0x225508(0x1e9)]=_0x225508(0x1e9),_0x15dced[_0x225508(0x287)]='CLOSE_ROOM',_0x15dced[_0x225508(0x315)]=_0x225508(0x315),_0x15dced[_0x225508(0x235)]='SOCKET_FAILED_RETRY',_0x15dced[_0x225508(0x3b3)]=_0x225508(0x3b3),_0x15dced[_0x225508(0x2d7)]='SUBMIT_CHANGESET_TIMEOUT',_0x15dced))(re||{});class pe{constructor(){var _0x2129b6=_0x225508;N(this,_0x2129b6(0x385),new _0x7a0b0d()),N(this,'event$',this[_0x2129b6(0x385)][_0x2129b6(0x1c9)]());}[_0x225508(0x206)](_0x4fb92e){var _0x2b71bb=_0x225508;this[_0x2b71bb(0x385)][_0x2b71bb(0x246)](_0x4fb92e);}}const Pn=_0x15f102(_0x225508(0x254));function Ln(_0x5cf391){var _0x5086a1=_0x225508,_0x368a44,_0x38c505,_0x1e5cf8,_0x13d78e,_0x203da9;const _0x2ee7bf=_0x5cf391[_0x5086a1(0x295)],_0x47e742=JSON[_0x5086a1(0x338)](_0x2ee7bf);switch(_0x47e742[_0x5086a1(0x2cb)]){case F[_0x5086a1(0x345)]:case F['HELLO']:{const _0x169f0=_0x47e742[_0x5086a1(0x333)];return{..._0x47e742,'data':_0x169f0,'cmd':_0x47e742[_0x5086a1(0x2cb)]};}case F[_0x5086a1(0x2b5)]:{const _0x3db264=_0x47e742[_0x5086a1(0x29a)];return{..._0x47e742,'data':_0x3db264,'cmd':_0x47e742['cmd']};}case F['RECV']:{const _0x154cfa=_0x47e742[_0x5086a1(0x188)];switch(_0x154cfa[_0x5086a1(0x350)]){case _0x3c1a33['PERMISSION_REJ']:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x368a44=_0x154cfa[_0x5086a1(0x366)])==null?void 0x0:_0x368a44['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33['CHANGESET_ACK']:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x38c505=_0x154cfa[_0x5086a1(0x2f2)])==null?void 0x0:_0x38c505['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x177)]:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x1e5cf8=_0x154cfa[_0x5086a1(0x23d)])==null?void 0x0:_0x1e5cf8['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x1fb)]:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x13d78e=_0x154cfa[_0x5086a1(0x3d8)])==null?void 0x0:_0x13d78e['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x37c)]:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x203da9=_0x154cfa[_0x5086a1(0x222)])==null?void 0x0:_0x203da9['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x1f9)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa['updateCursorEvent']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x232)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa['joinEvent']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x3da)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x19e)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33['LIVESHARE_NEW_HOST']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x370)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x260)]:case _0x3c1a33['LIVESHARE_OPERATION']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x171)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x42c)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x370)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x3b6)]:return{..._0x47e742,'data':_0x154cfa,'cmd':_0x47e742['cmd']};case _0x3c1a33[_0x5086a1(0x2ab)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x44b)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x314)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x2d2)]},'cmd':_0x47e742['cmd']};case _0x3c1a33['SHOULD_CLOSE_CONN']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x440)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33['UNISCRIPT_RUN']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x18e)]},'cmd':_0x47e742['cmd']};default:return _0x47e742;}}default:return _0x47e742;}}function xn(_0x4fcc66){var _0xcf9e69=_0x225508;switch(_0x4fcc66[_0xcf9e69(0x2cb)]){case F['HEARTBEAT']:case F[_0xcf9e69(0x38c)]:return JSON[_0xcf9e69(0x363)]({'cmd':_0x4fcc66[_0xcf9e69(0x2cb)],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)]});case F[_0xcf9e69(0x317)]:{let _0x5c647c;switch(_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x350)]){case _0x3c1a33[_0xcf9e69(0x1f9)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x1f9)],'updateCursorEvent':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x3da)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x3da)],'leaveEvent':_0x4fcc66['data'][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x232)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x232)],'joinEvent':_0x4fcc66[_0xcf9e69(0x295)]['data']};break;}case _0x3c1a33['LIVESHARE_NEW_HOST']:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x26e)],'liveShareNewHost':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x34c)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x34c)],'liveShareOperation':_0x4fcc66[_0xcf9e69(0x295)]['data']};break;}case _0x3c1a33[_0xcf9e69(0x42c)]:{_0x5c647c={'eventID':_0x3c1a33['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x455)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x455)],'liveShareRequestHost':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x260)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x260)]};break;}default:_0x5c647c={'eventID':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x350)]};}return JSON[_0xcf9e69(0x363)]({'cmd':_0x4fcc66[_0xcf9e69(0x2cb)],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)],'collaMsg':_0x5c647c});}case F[_0xcf9e69(0x2b5)]:return JSON[_0xcf9e69(0x363)]({'cmd':_0x4fcc66['cmd'],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)],'joinReq':_0x4fcc66[_0xcf9e69(0x295)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x4fcc66[_0xcf9e69(0x2cb)],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)],'leaveReq':_0x4fcc66[_0xcf9e69(0x295)]});default:throw new Error(_0xcf9e69(0x1e0));}}var Mn=Object[_0x225508(0x3dd)],kn=(_0x2f0484,_0xa605e8,_0xc43226,_0x4b3c8a)=>{var _0x3e01e8=_0x225508;for(var _0x338b52=_0x4b3c8a>0x1?void 0x0:_0x4b3c8a?Mn(_0xa605e8,_0xc43226):_0xa605e8,_0x94538c=_0x2f0484[_0x3e01e8(0x348)]-0x1,_0x500436;_0x94538c>=0x0;_0x94538c--)(_0x500436=_0x2f0484[_0x94538c])&&(_0x338b52=_0x500436(_0x338b52)||_0x338b52);return _0x338b52;},Ae=(_0xdaf538,_0x3136b2)=>(_0x52c212,_0x2f0ef8)=>_0x3136b2(_0x52c212,_0x2f0ef8,_0xdaf538);const Ii=_0x15f102(_0x225508(0x460));function $n(_0x207b4d,_0x592d31,_0x5b40b2){var _0x2bb814=_0x225508;return _0x207b4d+'/'+_0x592d31+_0x2bb814(0x3f8)+_0x5b40b2+_0x2bb814(0x18f);}let Gt=class extends _0x31b068{constructor(_0x29d48a,_0x23278d,_0x63352c,_0x59edcb,_0x5df0e3){var _0x10062d=_0x225508;super(),this[_0x10062d(0x1e1)]=_0x29d48a,this['_httpService']=_0x23278d,this['_configService']=_0x63352c,this[_0x10062d(0x2fe)]=_0x59edcb,this['_snapshotServerService']=_0x5df0e3;}[_0x225508(0x2dc)](_0x46e1f){var _0x399afa=_0x225508;const _0x51581a=this[_0x399afa(0x1e1)][_0x399afa(0x2a2)](_0x506a4b);if(!_0x51581a)throw new Error(_0x399afa(0x2bb));const _0x4ece92=_0x51581a[_0x399afa(0x285)](_0x46e1f);if(!_0x4ece92)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x19e23a=new _0x15ac30(),_0x17dcb2=new _0x7a0b0d();_0x19e23a[_0x399afa(0x3d3)](_0x4ece92['close$'][_0x399afa(0x1df)](_0x1dba02=>_0x17dcb2[_0x399afa(0x246)](_0x1dba02))),_0x19e23a[_0x399afa(0x3d3)](_0x479cb1(()=>_0x17dcb2[_0x399afa(0x2e6)]()));const _0x27d610=new _0x7a0b0d();_0x19e23a[_0x399afa(0x3d3)](_0x4ece92[_0x399afa(0x3f1)][_0x399afa(0x1df)](_0x52b15d=>_0x27d610[_0x399afa(0x246)](_0x52b15d))),_0x19e23a['add'](_0x479cb1(()=>_0x27d610['complete']()));const _0x56a069=new _0x7a0b0d();_0x19e23a['add'](_0x4ece92[_0x399afa(0x1c8)][_0x399afa(0x1df)](_0x506743=>{var _0x222792=_0x399afa;const _0x2e5f3b=Ln(_0x506743);_0x56a069[_0x222792(0x246)](_0x2e5f3b);})),_0x19e23a['add'](_0x479cb1(()=>_0x56a069[_0x399afa(0x2e6)]()));let _0x2bf7a4;const _0x95d3da=()=>{var _0x3dc6aa=_0x399afa;_0x27d610[_0x3dc6aa(0x246)](new Event('connection\x20error')),_0x17dcb2[_0x3dc6aa(0x246)](new Event(_0x3dc6aa(0x40b))),_0x2bf7a4['close']();};return _0x2bf7a4={'memberID':'','close$':_0x17dcb2['asObservable'](),'error$':_0x27d610[_0x399afa(0x1c9)](),'open$':_0x4ece92[_0x399afa(0x31f)],'message$':_0x56a069[_0x399afa(0x1c9)](),'send':_0x47fb67=>{var _0xa84a6b=_0x399afa;if(_0x47fb67[_0xa84a6b(0x2cb)]===F[_0xa84a6b(0x317)]){if(_0x47fb67[_0xa84a6b(0x295)]['eventID']===_0x3c1a33[_0xa84a6b(0x324)]){this[_0xa84a6b(0x322)](_0x2bf7a4,_0x47fb67[_0xa84a6b(0x295)])[_0xa84a6b(0x443)](_0x58cd9f=>{var _0x162f3b=_0xa84a6b;this[_0x162f3b(0x2fe)][_0x162f3b(0x376)](_0x58cd9f),_0x95d3da();});return;}if(_0x47fb67[_0xa84a6b(0x295)]['eventID']===_0x3c1a33[_0xa84a6b(0x190)]){const _0x5d1d52=_0x47fb67[_0xa84a6b(0x295)];this[_0xa84a6b(0x28c)](_0x5d1d52)[_0xa84a6b(0x42a)](_0x9fe244=>{var _0x47922c=_0xa84a6b;_0x56a069[_0x47922c(0x246)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x5d1d52[_0x47922c(0x295)]['unitID'],'routeType':'','data':{'eventID':_0x3c1a33[_0x47922c(0x1b7)],'data':{'changesets':_0x9fe244}}});})[_0xa84a6b(0x443)](_0x441d29=>{var _0x1123d7=_0xa84a6b;this[_0x1123d7(0x2fe)][_0x1123d7(0x376)](_0x441d29),_0x95d3da();});return;}}_0x4ece92[_0xa84a6b(0x2a4)](xn(_0x47fb67));},'close':()=>{var _0x5912a0=_0x399afa;_0x4ece92[_0x5912a0(0x3d2)](),_0x19e23a[_0x5912a0(0x355)]();}},_0x2bf7a4;}async[_0x225508(0x322)](_0x2f123f,_0x2a2b85){var _0x311caa=_0x225508,_0x1679b8,_0x5d0d4a;const {unitType:_0xf8c6fa,unitID:_0x12e263,changeset:_0x2716d7}=_0x2a2b85[_0x311caa(0x295)],_0x2c652d={'unitID':_0x12e263,'memberID':_0x2f123f['memberID'],'type':_0xf8c6fa,'changeset':_0x5521e7(_0x2716d7)},_0xd56851=this[_0x311caa(0x2a3)][_0x311caa(0x202)](Nn),_0x3fcdb9=this[_0x311caa(0x2a3)]['getConfig'](q),_0x34120e=$n((_0x5d0d4a=(_0x1679b8=_0x3fcdb9==null?void 0x0:_0x3fcdb9[_0x311caa(0x36b)])!=null?_0x1679b8:_0xd56851)!=null?_0x5d0d4a:Dn,_0xf8c6fa,_0x12e263);try{await this[_0x311caa(0x3aa)]['post'](_0x34120e,{'body':_0x2c652d});}catch(_0x1ddbd4){throw this['_logService'][_0x311caa(0x376)]('[CollaborationSession]',_0x311caa(0x3f9)),_0x1ddbd4;}}async['_fetchMissChangesets'](_0x37d87f){var _0x5f3364=_0x225508;const {unitID:_0x45caa1,from:_0x4bb184,to:_0x4d5ea2,unitType:_0x24a650}=_0x37d87f['data'];return(await this['_snapshotServerService'][_0x5f3364(0x446)]({'metadata':void 0x0},{'unitID':_0x45caa1,'type':_0x24a650,'from':_0x4bb184,'to':_0x4d5ea2}))[_0x5f3364(0x1f1)];}};Gt=kn([Ae(0x0,_0x59c5a0(_0x1f43c7)),Ae(0x1,_0x59c5a0(_0x33df68)),Ae(0x2,_0x299d0c),Ae(0x3,_0x4017e6),Ae(0x4,_0x36ae02)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x2aaeb4){var _0x4c7a94=_0x225508;return JSON[_0x4c7a94(0x363)](_0x2aaeb4)[_0x4c7a94(0x348)];}class Ti{constructor(){var _0x1f9e88=_0x225508;N(this,_0x1f9e88(0x183),new _0x7a0b0d()),N(this,_0x1f9e88(0x3d1),this[_0x1f9e88(0x183)][_0x1f9e88(0x1c9)]());}[_0x225508(0x1b5)](_0xebb33b){var _0x225655=_0x225508;this[_0x225655(0x183)]['next'](_0xebb33b);}}var jn=Object[_0x225508(0x3dd)],Fn=(_0x186ce0,_0x48c0d4,_0x453371,_0x2246bf)=>{for(var _0x2094ca=_0x2246bf>0x1?void 0x0:_0x2246bf?jn(_0x48c0d4,_0x453371):_0x48c0d4,_0x2ed47d=_0x186ce0['length']-0x1,_0x5bef5d;_0x2ed47d>=0x0;_0x2ed47d--)(_0x5bef5d=_0x186ce0[_0x2ed47d])&&(_0x2094ca=_0x5bef5d(_0x2094ca)||_0x2094ca);return _0x2094ca;},Wt=(_0x48e9ef,_0x4ce150)=>(_0x5347eb,_0x415116)=>_0x4ce150(_0x5347eb,_0x415116,_0x48e9ef);let Le=class extends _0x31b068{constructor(_0x564b3e,_0x3a4ea5){var _0x334f99=_0x225508;super(),N(this,_0x334f99(0x1ee),new Map()),N(this,_0x334f99(0x30d),new _0x7a0b0d()),(this['_univerInstanceService']=_0x564b3e,this['_userManagerService']=_0x3a4ea5,this['disposeWithMe'](_0x3e5ef6(this[_0x334f99(0x1f5)]['getTypeOfUnitDisposed$'](_0x1a0c97[_0x334f99(0x409)])['pipe'](_0x4cad8a(_0x1b17dc=>_0x1b17dc['getUnitId']())),this[_0x334f99(0x1f5)][_0x334f99(0x1cb)](_0x1a0c97[_0x334f99(0x2e1)])['pipe'](_0x4cad8a(_0x475c94=>_0x475c94[_0x334f99(0x398)]())),this[_0x334f99(0x1f5)][_0x334f99(0x1cb)](_0x1a0c97['UNIVER_SLIDE'])[_0x334f99(0x1dc)](_0x4cad8a(_0x5bdbb7=>_0x5bdbb7[_0x334f99(0x398)]())))[_0x334f99(0x1df)](_0x234b25=>this[_0x334f99(0x454)](_0x234b25))));}[_0x225508(0x2fa)](_0x464f37){var _0x279c68=_0x225508;return this['_roomMembers'][_0x279c68(0x247)](_0x464f37)?_0x47cd70(this[_0x279c68(0x1ee)]['get'](_0x464f37)):this[_0x279c68(0x30d)]['pipe'](_0x4cad8a(_0x2b1a3f=>{var _0x10b55f=_0x279c68;if(_0x2b1a3f===_0x464f37)return this[_0x10b55f(0x1ee)][_0x10b55f(0x2a2)](_0x2b1a3f);}));}[_0x225508(0x2e3)](_0xcf9f6c){var _0xd24c26=_0x225508;this[_0xd24c26(0x32c)]['setCurrentUser'](_0xcf9f6c);}[_0x225508(0x210)](){var _0x58d58d=_0x225508;return this['_userManagerService'][_0x58d58d(0x210)]();}['updateMember'](_0x36c267,_0x28cc3a){var _0x1871c8=_0x225508;let _0x197277=this['_roomMembers']['get'](_0x36c267);_0x197277||(_0x197277=new Vn(),this['_roomMembers']['set'](_0x36c267,_0x197277),this[_0x1871c8(0x30d)]['next'](_0x36c267)),_0x197277[_0x1871c8(0x41d)](_0x28cc3a);}[_0x225508(0x33b)](_0x29ebbf,_0x19697c){var _0x5af36e=_0x225508;const _0x58fa73=this[_0x5af36e(0x1ee)][_0x5af36e(0x2a2)](_0x29ebbf);_0x58fa73&&_0x58fa73[_0x5af36e(0x33b)](_0x19697c);}[_0x225508(0x44c)](_0x2dea1f){var _0x57599d=_0x225508;return this['_roomMembers'][_0x57599d(0x2a2)](_0x2dea1f);}[_0x225508(0x41c)](_0x55a67d,_0xd079a9){var _0x1d27a2=_0x225508;const _0x539060=this[_0x1d27a2(0x1ee)][_0x1d27a2(0x2a2)](_0x55a67d);if(_0x539060)return _0x539060[_0x1d27a2(0x41c)](_0xd079a9);}[_0x225508(0x454)](_0x32ef02){var _0x4daae0=_0x225508;const _0x1a218e=this[_0x4daae0(0x1ee)][_0x4daae0(0x2a2)](_0x32ef02);_0x1a218e&&(_0x1a218e[_0x4daae0(0x355)](),this['_roomMembers'][_0x4daae0(0x213)](_0x32ef02));}[_0x225508(0x355)](){var _0xdcec8=_0x225508;this[_0xdcec8(0x1ee)][_0xdcec8(0x21b)](_0x86ea4b=>_0x86ea4b[_0xdcec8(0x355)]()),this[_0xdcec8(0x1ee)][_0xdcec8(0x34b)](),this[_0xdcec8(0x30d)][_0xdcec8(0x2e6)]();}};Le=Fn([Wt(0x0,_0x5db9d5),Wt(0x1,_0x59c5a0(_0x530e97))],Le);class Vn extends _0x31b068{constructor(){var _0x2eab5d=_0x225508;super(...arguments),N(this,_0x2eab5d(0x405),new Map()),N(this,_0x2eab5d(0x3ab),new _0x25de28(this['_members'])),N(this,_0x2eab5d(0x2fd),this[_0x2eab5d(0x3ab)][_0x2eab5d(0x1c9)]());}[_0x225508(0x355)](){this['_members']['clear']();}[_0x225508(0x41d)](_0x57aef){var _0x82ed49=_0x225508;this[_0x82ed49(0x405)]['set'](_0x57aef[_0x82ed49(0x296)],_0x57aef),this[_0x82ed49(0x40a)]();}[_0x225508(0x33b)](_0x47edef){var _0x12633a=_0x225508;this[_0x12633a(0x405)]['delete'](_0x47edef);}[_0x225508(0x41c)](_0x18fe5e){var _0x47a06e=_0x225508;return this[_0x47a06e(0x405)]['get'](_0x18fe5e);}[_0x225508(0x28a)](){var _0x355d83=_0x225508;return Array[_0x355d83(0x3e3)](this[_0x355d83(0x405)][_0x355d83(0x3f0)]());}['_emitMembers'](){var _0x27d89a=_0x225508;this[_0x27d89a(0x3ab)][_0x27d89a(0x246)](this[_0x27d89a(0x405)]);}}var Gn=Object[_0x225508(0x3dd)],Wn=(_0x260694,_0xa97738,_0x42bde5,_0x261020)=>{var _0x332ec1=_0x225508;for(var _0x486e38=_0x261020>0x1?void 0x0:_0x261020?Gn(_0xa97738,_0x42bde5):_0xa97738,_0x28261f=_0x260694[_0x332ec1(0x348)]-0x1,_0x3021b1;_0x28261f>=0x0;_0x28261f--)(_0x3021b1=_0x260694[_0x28261f])&&(_0x486e38=_0x3021b1(_0x486e38)||_0x486e38);return _0x486e38;},me=(_0xcbce8d,_0x1d7008)=>(_0x3a61c3,_0x55b438)=>_0x1d7008(_0x3a61c3,_0x55b438,_0xcbce8d),Ee=(_0x278fd0=>(_0x278fd0[_0x278fd0[_0x225508(0x38d)]=0x0]=_0x225508(0x38d),_0x278fd0[_0x278fd0[_0x225508(0x282)]=0x1]=_0x225508(0x282),_0x278fd0[_0x278fd0['OFFLINE']=0x2]=_0x225508(0x44f),_0x278fd0[_0x278fd0['ONLINE']=0x3]=_0x225508(0x3a9),_0x278fd0))(Ee||{});const Kt={[ge['FAIL']]:_0x225508(0x2d3),[ge[_0x225508(0x3a5)]]:_0x225508(0x1ab),[ge[_0x225508(0x33e)]]:_0x225508(0x327),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x225508(0x445),[ge[_0x225508(0x31b)]]:_0x225508(0x3bd)};let Et=class extends _0xbb1137{constructor(_0x18f00f,_0x1e7ea6,_0x4e4a2a,_0x4d86e0,_0xb72385,_0x3cd6a9,_0x514dc3,_0x23bf6e,_0x4dc583){var _0x52aaf8=_0x225508;super(),N(this,_0x52aaf8(0x466),new _0x25de28(0x0)),N(this,'sessionStatus$',this[_0x52aaf8(0x466)]['asObservable']()),N(this,'_event$',new _0x7a0b0d()),N(this,_0x52aaf8(0x25f),this[_0x52aaf8(0x385)][_0x52aaf8(0x1c9)]()),N(this,_0x52aaf8(0x253)),N(this,_0x52aaf8(0x428)),N(this,'_collaborationTimeoutTimer'),N(this,_0x52aaf8(0x204),!0x1),N(this,_0x52aaf8(0x1d0),null),(this[_0x52aaf8(0x3f3)]=_0x18f00f,this['_logService']=_0x4e4a2a,this[_0x52aaf8(0x2a3)]=_0x4d86e0,this[_0x52aaf8(0x20b)]=_0xb72385,this[_0x52aaf8(0x336)]=_0x3cd6a9,this['_commentService']=_0x514dc3,this[_0x52aaf8(0x369)]=_0x23bf6e,this[_0x52aaf8(0x23b)]=_0x4dc583,this['_shouldReportTelemetry']=!!this[_0x52aaf8(0x23b)],_0x1e7ea6['pipe'](_0x42950a(this[_0x52aaf8(0x33d)]))['subscribe'](_0x17bbf0=>{var _0x47488f=_0x52aaf8,_0x4eccca;typeof _0x17bbf0>'u'||(this[_0x47488f(0x253)]=_0x17bbf0,_0x17bbf0?(this[_0x47488f(0x2d0)](_0x17bbf0),this['_socketMessageSubscription']=_0x17bbf0['message$'][_0x47488f(0x1df)](_0x30bfa7=>{var _0x2e98ea=_0x47488f;_0x30bfa7[_0x2e98ea(0x1f3)]===this[_0x2e98ea(0x3f3)]&&this['_onCombEvent'](_0x30bfa7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x47488f(0x246)](0x2),(_0x4eccca=this[_0x47488f(0x428)])==null||_0x4eccca['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x225508(0x170)](){var _0x5ed044=_0x225508;return this[_0x5ed044(0x466)]['getValue']();}[_0x225508(0x1e7)](){var _0x32b0bf=_0x225508,_0x2402e4,_0x5b5c6b;return(_0x5b5c6b=(_0x2402e4=this[_0x32b0bf(0x253)])==null?void 0x0:_0x2402e4['memberID'])!=null?_0x5b5c6b:null;}[_0x225508(0x355)](){var _0x45c417=_0x225508;super[_0x45c417(0x355)](),this[_0x45c417(0x33d)][_0x45c417(0x246)](),this[_0x45c417(0x33d)][_0x45c417(0x2e6)]();}[_0x225508(0x3d2)](){var _0x2b2fae=_0x225508,_0xc19f7f,_0x1a0e1b;this[_0x2b2fae(0x1c7)](),(_0xc19f7f=this[_0x2b2fae(0x253)])==null||_0xc19f7f[_0x2b2fae(0x2a4)]({'cmd':F[_0x2b2fae(0x249)],'data':{'roomID':this['_unitID']}}),(_0x1a0e1b=this[_0x2b2fae(0x253)])==null||_0x1a0e1b[_0x2b2fae(0x3d2)](),this[_0x2b2fae(0x385)][_0x2b2fae(0x2e6)](),this['_sessionStatus$'][_0x2b2fae(0x2e6)](),this['dispose']();}[_0x225508(0x2e0)](_0x5b366f){var _0xf952cb=_0x225508;_0x5b366f['cmd']===F[_0xf952cb(0x2b5)]?this[_0xf952cb(0x354)](_0x5b366f):_0x5b366f['cmd']===F[_0xf952cb(0x275)]&&this[_0xf952cb(0x30a)](_0x5b366f);}['_joinRoom'](_0x3d802d){var _0x572eb8=_0x225508;this[_0x572eb8(0x466)][_0x572eb8(0x246)](0x1),_0x3d802d['send']({'cmd':F[_0x572eb8(0x2b5)],'routeKey':this[_0x572eb8(0x3f3)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x225508(0x354)](_0x342908){var _0x2931f6=_0x225508,_0x5435f3;if(_0x342908['code']in Kt){this[_0x2931f6(0x369)]['emitEvent']({'id':re[_0x2931f6(0x315)],'data':Kt[_0x342908[_0x2931f6(0x29c)]]}),this[_0x2931f6(0x466)]['next'](0x2);return;}this[_0x2931f6(0x466)][_0x2931f6(0x246)](0x3);const _0x5a4f6d=(_0x5435f3=_0x342908[_0x2931f6(0x295)][_0x2931f6(0x38a)][this['_unitID']])==null?void 0x0:_0x5435f3[_0x2931f6(0x42d)];_0x5a4f6d&&_0x5a4f6d[_0x2931f6(0x21b)](_0x3e6d8f=>this[_0x2931f6(0x336)][_0x2931f6(0x41d)](this[_0x2931f6(0x3f3)],_0x3e6d8f));}[_0x225508(0x30a)](_0x372cb6){var _0x5c2f5a=_0x225508;try{const _0x59044c=_0x372cb6[_0x5c2f5a(0x295)];switch(_0x59044c[_0x5c2f5a(0x350)]){case _0x3c1a33[_0x5c2f5a(0x232)]:this['_onUserJoin'](_0x59044c),this['_event$'][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x3da)]:this[_0x5c2f5a(0x186)](_0x59044c),this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x395)]:case _0x3c1a33['CHANGESET_SHOULD_RETRY']:this[_0x5c2f5a(0x323)](),this[_0x5c2f5a(0x3a7)](),this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x3b6)]:this[_0x5c2f5a(0x2fe)][_0x5c2f5a(0x376)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5c2f5a(0x363)](_0x59044c)),this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x2ab)]:this['_commentService'][_0x5c2f5a(0x1b5)](_0x59044c[_0x5c2f5a(0x295)]),this['_event$']['next'](_0x59044c);break;default:this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);}}catch(_0x3b0bbe){this[_0x5c2f5a(0x2fe)][_0x5c2f5a(0x376)](_0x3b0bbe,_0x372cb6);}}[_0x225508(0x45a)](_0x447a42){var _0x36b1dd=_0x225508;this[_0x36b1dd(0x336)][_0x36b1dd(0x41d)](this['_unitID'],_0x447a42[_0x36b1dd(0x295)]);}[_0x225508(0x186)](_0x57cac8){var _0x33964f=_0x225508;this['_memberService']['removeMember'](this['_unitID'],_0x57cac8[_0x33964f(0x295)]['memberID']);}async[_0x225508(0x2a4)](_0x4007b9,_0x1205ac){var _0x2b0539=_0x225508;if(this[_0x2b0539(0x170)]!==0x3||!this[_0x2b0539(0x253)])throw new Error(_0x2b0539(0x259));try{_0x4007b9[_0x2b0539(0x350)]===_0x3c1a33[_0x2b0539(0x324)]&&(this[_0x2b0539(0x343)](),this['_startTelemetryCollaborationNewChangeset'](_0x4007b9)),this[_0x2b0539(0x253)][_0x2b0539(0x2a4)]({'cmd':F[_0x2b0539(0x317)],'routeKey':_0x1205ac,'routeType':'','data':_0x4007b9});}catch(_0x47470e){this[_0x2b0539(0x2fe)][_0x2b0539(0x376)](_0x47470e);}}[_0x225508(0x343)](){var _0x24dcc2=_0x225508,_0x5372ce;this[_0x24dcc2(0x421)]=setTimeout(()=>{var _0x50b2d0=_0x24dcc2;this['_collaborationTimeoutTimer']=null,this[_0x50b2d0(0x369)][_0x50b2d0(0x206)]({'id':re[_0x50b2d0(0x2d7)]});},(_0x5372ce=this[_0x24dcc2(0x2a3)][_0x24dcc2(0x202)](mi))!=null?_0x5372ce:gi);}['_clearCollaborationTimeoutTimer'](){var _0x5d080e=_0x225508;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5d080e(0x421)]=null);}[_0x225508(0x3f2)](_0x13ed5b){var _0x1c3ee5=_0x225508;if(!this['_shouldReportTelemetry'])return;const {data:_0x35b949}=_0x13ed5b,{unitID:_0x1378fe,changeset:_0x4cfd72}=_0x35b949,{mutations:_0x33101c,type:_0x59d67a}=_0x4cfd72;this[_0x1c3ee5(0x1d0)]={'unitId':_0x1378fe,'type':_0x59d67a,'startTime':performance[_0x1c3ee5(0x1c5)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x33101c)};}[_0x225508(0x323)](){var _0x4a2399=_0x225508;if(this['_shouldReportTelemetry']){if(!this[_0x4a2399(0x1d0)]){this[_0x4a2399(0x2fe)][_0x4a2399(0x376)](_0x4a2399(0x332),_0x4a2399(0x3ea));return;}this[_0x4a2399(0x1d0)]['stopTime']=performance['now'](),this[_0x4a2399(0x1d0)][_0x4a2399(0x1c4)]=this[_0x4a2399(0x1d0)]['stopTime']-this[_0x4a2399(0x1d0)][_0x4a2399(0x207)],this[_0x4a2399(0x23b)][_0x4a2399(0x2f7)](Hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x4017e6),me(0x3,_0x299d0c),me(0x4,_0x59c5a0(_0x236a91)),me(0x5,_0x59c5a0(Le)),me(0x6,_0x59c5a0(Ti)),me(0x7,_0x59c5a0(pe)),me(0x8,_0x182985(_0x15bb86))],Et);var Kn=Object[_0x225508(0x3dd)],Yn=(_0x205e30,_0x46af7b,_0x242631,_0x267a0e)=>{var _0x5192b4=_0x225508;for(var _0x37f18c=_0x267a0e>0x1?void 0x0:_0x267a0e?Kn(_0x46af7b,_0x242631):_0x46af7b,_0x5b2662=_0x205e30[_0x5192b4(0x348)]-0x1,_0x4120cc;_0x5b2662>=0x0;_0x5b2662--)(_0x4120cc=_0x205e30[_0x5b2662])&&(_0x37f18c=_0x4120cc(_0x37f18c)||_0x37f18c);return _0x37f18c;},be=(_0x3ca132,_0xabbf26)=>(_0x1ba6e8,_0x10566f)=>_0xabbf26(_0x1ba6e8,_0x10566f,_0x3ca132);let xe=class extends _0x31b068{constructor(_0x3b2e18,_0x38d2f1,_0x25d860,_0x41dff0,_0x473042,_0x55625f){var _0x44d842=_0x225508;super(),N(this,_0x44d842(0x1ea),new _0x25de28(void 0x0)),N(this,'socket$',this[_0x44d842(0x1ea)]['asObservable']()),N(this,_0x44d842(0x244),null),N(this,'_sessions',new Map()),N(this,_0x44d842(0x437),new _0x25de28(Ee[_0x44d842(0x38d)])),N(this,_0x44d842(0x40d),this[_0x44d842(0x437)][_0x44d842(0x1c9)]()),N(this,_0x44d842(0x2a0),!0x1),N(this,_0x44d842(0x2dd)),N(this,_0x44d842(0x3cb),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x44d842(0x1e1)]=_0x3b2e18,this[_0x44d842(0x2fe)]=_0x38d2f1,this[_0x44d842(0x2a3)]=_0x25d860,this[_0x44d842(0x16c)]=_0x41dff0,this[_0x44d842(0x369)]=_0x473042,this['_networkConditionService']=_0x55625f,this[_0x44d842(0x245)]());}get['_socket'](){var _0x3983b7=_0x225508;return this[_0x3983b7(0x1ea)]['getValue']();}[_0x225508(0x245)](){var _0x37c29a=_0x225508;this['_networkConditionService']&&this['disposeWithMe'](this[_0x37c29a(0x3b0)][_0x37c29a(0x1ce)][_0x37c29a(0x1df)](_0x3a1feb=>{var _0x11c16f=_0x37c29a;_0x3a1feb&&!this[_0x11c16f(0x253)]&&this[_0x11c16f(0x2b9)](),_0x3a1feb||this['_onOffline']();}));}[_0x225508(0x355)](){var _0x118402=_0x225508;super[_0x118402(0x355)](),this['_clearRetryConnectingTimer'](),this[_0x118402(0x227)](),this[_0x118402(0x23c)](),this['_sessions'][_0x118402(0x21b)](_0x4ef7a0=>_0x4ef7a0['dispose']()),this[_0x118402(0x1f0)][_0x118402(0x34b)](),this[_0x118402(0x437)][_0x118402(0x2e6)]();}async[_0x225508(0x200)](_0x18ae28){var _0x3cef51=_0x225508;if(this[_0x3cef51(0x1f0)][_0x3cef51(0x247)](_0x18ae28))return this[_0x3cef51(0x1f0)][_0x3cef51(0x2a2)](_0x18ae28);this['_tryEnsureSocket']();const _0x3c2aea=this[_0x3cef51(0x1e1)][_0x3cef51(0x471)](Et,_0x18ae28,this[_0x3cef51(0x1ea)][_0x3cef51(0x1c9)]());return this[_0x3cef51(0x1f0)][_0x3cef51(0x26c)](_0x18ae28,_0x3c2aea),_0x3c2aea;}[_0x225508(0x390)](_0x17dd25){var _0x2d143f=_0x225508,_0x12aad8;const _0x1c6548=this[_0x2d143f(0x1f0)][_0x2d143f(0x2a2)](_0x17dd25);_0x1c6548&&(this[_0x2d143f(0x1f0)][_0x2d143f(0x213)](_0x17dd25),_0x1c6548[_0x2d143f(0x3d2)]()),this['_sessions'][_0x2d143f(0x271)]||(_0x12aad8=this['_socket'])==null||_0x12aad8['close']();}[_0x225508(0x2b9)](){var _0x42106c=_0x225508;this[_0x42106c(0x3cb)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x42106c(0x2ca)]();}[_0x225508(0x402)](){var _0x1b4995=_0x225508;this[_0x1b4995(0x2dd)]!=null&&(clearTimeout(this[_0x1b4995(0x2dd)]),this[_0x1b4995(0x2dd)]=null);}async[_0x225508(0x2c4)](){var _0x2d9c74=_0x225508,_0x5e8cce,_0x1f3944;const _0x2bff47=this[_0x2d9c74(0x2a3)][_0x2d9c74(0x202)](In),_0x1448dd=this[_0x2d9c74(0x2a3)][_0x2d9c74(0x202)](q),_0x4cb69a=(_0x1f3944=(_0x5e8cce=_0x1448dd==null?void 0x0:_0x1448dd['collabWebSocketUrl'])!=null?_0x5e8cce:_0x2bff47)!=null?_0x1f3944:Tn,_0x14a4e5=await this[_0x2d9c74(0x16c)]['createSocket'](_0x4cb69a);return this[_0x2d9c74(0x244)]=_0x14a4e5,_0x14a4e5;}async['_tryEnsureSocket'](){var _0x39a8e0=_0x225508,_0x2f661a,_0x128d1c;try{const _0x2e4b1c=(_0x128d1c=(_0x2f661a=this['_socket'])!=null?_0x2f661a:this[_0x39a8e0(0x244)])!=null?_0x128d1c:await this['_createSocket']();if(_0x2e4b1c){const _0x32f147=_0x2e4b1c[_0x39a8e0(0x2a4)];_0x2e4b1c[_0x39a8e0(0x2a4)]=_0x2e03fd=>(this['_rescheduleHeartbeat'](),_0x32f147['apply'](_0x2e4b1c,[_0x2e03fd])),_0x2e4b1c['message$'][_0x39a8e0(0x1df)](_0x2e24dc=>this['_onMessage'](_0x2e4b1c,_0x2e24dc)),_0x2e4b1c[_0x39a8e0(0x3f1)][_0x39a8e0(0x1dc)](_0xf52af0(0x1))[_0x39a8e0(0x1df)](_0x570b9c=>this[_0x39a8e0(0x2fe)][_0x39a8e0(0x376)](_0x39a8e0(0x3e4),_0x570b9c)),_0x2e4b1c['open$'][_0x39a8e0(0x1dc)](_0xf52af0(0x1))['subscribe'](()=>{var _0x576a1c=_0x39a8e0;this[_0x576a1c(0x3c8)](_0x2e4b1c);}),_0x2e4b1c[_0x39a8e0(0x43c)]['pipe'](_0xf52af0(0x1))['subscribe'](_0x214215=>{var _0x5bfa8d=_0x39a8e0;this[_0x5bfa8d(0x2fe)][_0x5bfa8d(0x1a9)](_0x5bfa8d(0x37d),_0x5bfa8d(0x414),_0x214215),this[_0x5bfa8d(0x2fb)]();});}}catch(_0x6fde9e){this[_0x39a8e0(0x2fe)][_0x39a8e0(0x376)](_0x6fde9e),this['_onConnectionFailed']();}}[_0x225508(0x3c8)](_0xa8756f){var _0xed1481=_0x225508;this[_0xed1481(0x2fe)]['debug']('[CollaborationSessionService]',_0xed1481(0x192)),_0xa8756f[_0xed1481(0x2a4)]({'cmd':F[_0xed1481(0x38c)]}),this['_rescheduleHeartbeat']();}[_0x225508(0x387)](){var _0x2cce94=_0x225508;this[_0x2cce94(0x2a0)]=!0x1,this[_0x2cce94(0x244)]=null,this[_0x2cce94(0x437)][_0x2cce94(0x246)](Ee[_0x2cce94(0x44f)]),this[_0x2cce94(0x1ea)][_0x2cce94(0x246)](null),this[_0x2cce94(0x227)](),this[_0x2cce94(0x23c)]();}[_0x225508(0x2fb)](){var _0xaccdf8=_0x225508,_0x802aa1;this['_onOffline'](),this[_0xaccdf8(0x3cb)]<((_0x802aa1=this['_configService'][_0xaccdf8(0x202)](On))!=null?_0x802aa1:yn)?(this[_0xaccdf8(0x369)][_0xaccdf8(0x206)]({'id':re[_0xaccdf8(0x235)]}),this['_tryReconnect']()):this[_0xaccdf8(0x369)]['emitEvent']({'id':re['SOCKET_FAILED']});}[_0x225508(0x2ca)](){var _0x254e29=_0x225508,_0x32c2fa;const _0x32e21d=this['_retryCount'],_0x2bef98=this[_0x254e29(0x2a3)][_0x254e29(0x202)](q),_0x5a093a=_0x32e21d===0x0?0x0:((_0x32c2fa=_0x2bef98==null?void 0x0:_0x2bef98[_0x254e29(0x1f7)])!=null?_0x32c2fa:bn)*0x2**_0x32e21d;this[_0x254e29(0x2dd)]=setTimeout(()=>{var _0x17bfca=_0x254e29;clearTimeout(this[_0x17bfca(0x2dd)]),this[_0x17bfca(0x2dd)]=null,this[_0x17bfca(0x330)]();},_0x5a093a),this[_0x254e29(0x3cb)]+=0x1;}[_0x225508(0x2e4)](_0x2f7a02,_0x4ce927){var _0x544234=_0x225508;const {cmd:_0x41c070}=_0x4ce927;_0x41c070===F[_0x544234(0x38c)]&&!this['_socketReady']&&(_0x2f7a02[_0x544234(0x296)]=_0x4ce927[_0x544234(0x295)][_0x544234(0x296)],this[_0x544234(0x1ea)][_0x544234(0x246)](_0x2f7a02),this[_0x544234(0x437)][_0x544234(0x246)](Ee['ONLINE']),this[_0x544234(0x2a0)]=!0x0,this[_0x544234(0x244)]=null),_0x41c070===F[_0x544234(0x345)]&&this['_clearTimeoutTimer'](),this[_0x544234(0x28f)]();}[_0x225508(0x28f)](){var _0x126d43=_0x225508,_0x45e10a;this['_clearHeartbeatTimer'](),this[_0x126d43(0x299)]=setTimeout(()=>this[_0x126d43(0x3d4)](),(_0x45e10a=this[_0x126d43(0x2a3)]['getConfig'](Cn))!=null?_0x45e10a:Rn);}[_0x225508(0x3d4)](){var _0x139db4=_0x225508;this[_0x139db4(0x253)][_0x139db4(0x2a4)]({'cmd':F['HEARTBEAT']}),this[_0x139db4(0x1fe)]();}[_0x225508(0x1fe)](){var _0xc07a0b=_0x225508,_0x48705e;this[_0xc07a0b(0x419)]=setTimeout(()=>this[_0xc07a0b(0x2fb)](),(_0x48705e=this['_configService'][_0xc07a0b(0x202)](mi))!=null?_0x48705e:gi);}['_clearHeartbeatTimer'](){var _0x2f8adc=_0x225508;this[_0x2f8adc(0x299)]!=null&&(clearTimeout(this[_0x2f8adc(0x299)]),this[_0x2f8adc(0x299)]=null);}[_0x225508(0x227)](){var _0x382e9e=_0x225508;this[_0x382e9e(0x419)]!=null&&(clearTimeout(this[_0x382e9e(0x419)]),this[_0x382e9e(0x419)]=null);}};xe=Yn([be(0x0,_0x59c5a0(_0x1f43c7)),be(0x1,_0x4017e6),be(0x2,_0x299d0c),be(0x3,Ii),be(0x4,_0x59c5a0(pe)),be(0x5,_0x182985(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x225508(0x3c4)]((t+0x100)['toString'](0x10)[_0x225508(0x1d8)](0x1));function qn(_0x3e295a,_0x3043f3=0x0){return(V[_0x3e295a[_0x3043f3+0x0]]+V[_0x3e295a[_0x3043f3+0x1]]+V[_0x3e295a[_0x3043f3+0x2]]+V[_0x3e295a[_0x3043f3+0x3]]+'-'+V[_0x3e295a[_0x3043f3+0x4]]+V[_0x3e295a[_0x3043f3+0x5]]+'-'+V[_0x3e295a[_0x3043f3+0x6]]+V[_0x3e295a[_0x3043f3+0x7]]+'-'+V[_0x3e295a[_0x3043f3+0x8]]+V[_0x3e295a[_0x3043f3+0x9]]+'-'+V[_0x3e295a[_0x3043f3+0xa]]+V[_0x3e295a[_0x3043f3+0xb]]+V[_0x3e295a[_0x3043f3+0xc]]+V[_0x3e295a[_0x3043f3+0xd]]+V[_0x3e295a[_0x3043f3+0xe]]+V[_0x3e295a[_0x3043f3+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x345f7d=_0x225508;if(!ut){if(typeof crypto>'u'||!crypto[_0x345f7d(0x185)])throw new Error(_0x345f7d(0x198));ut=crypto[_0x345f7d(0x185)][_0x345f7d(0x19a)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x225508(0x262)]&&crypto[_0x225508(0x262)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x625e88,_0xbd5d53,_0x4f99f0){var _0x199180=_0x225508,_0x1754f1,_0x6138c1,_0x393df0;if(Yt['randomUUID']&&!_0x625e88)return Yt[_0x199180(0x262)]();_0x625e88=_0x625e88||{};const _0x3cf0f9=(_0x393df0=(_0x6138c1=_0x625e88[_0x199180(0x21c)])!=null?_0x6138c1:(_0x1754f1=_0x625e88['rng'])==null?void 0x0:_0x1754f1[_0x199180(0x3db)](_0x625e88))!=null?_0x393df0:Jn();if(_0x3cf0f9['length']<0x10)throw new Error(_0x199180(0x473));return _0x3cf0f9[0x6]=_0x3cf0f9[0x6]&0xf|0x40,_0x3cf0f9[0x8]=_0x3cf0f9[0x8]&0x3f|0x80,qn(_0x3cf0f9);}const J=_0x15f102(_0x225508(0x37e));function Br(_0x402834){var _0x366b01=_0x225508;return _0x366b01(0x472)+_0x402834;}var Qn=Object[_0x225508(0x3dd)],es=(_0x36ed28,_0x466513,_0xe4f72a,_0x275a55)=>{for(var _0x473034=_0x275a55>0x1?void 0x0:_0x275a55?Qn(_0x466513,_0xe4f72a):_0x466513,_0x5cadd1=_0x36ed28['length']-0x1,_0x4e2f42;_0x5cadd1>=0x0;_0x5cadd1--)(_0x4e2f42=_0x36ed28[_0x5cadd1])&&(_0x473034=_0x4e2f42(_0x473034)||_0x473034);return _0x473034;},dt=(_0x1c521a,_0x49cace)=>(_0x4aa635,_0x8c98ea)=>_0x49cace(_0x4aa635,_0x8c98ea,_0x1c521a);function ts(_0x2c7864){var _0x43bee5=_0x225508;const {unitID:_0x38532b,mutations:_0x1dde26}=_0x2c7864;return{'unitId':_0x38532b,'subUnitId':_0x1dde26[0x0]['params'][_0x43bee5(0x1d6)]};}let it=class{constructor(_0x4bb863,_0x1059a5,_0x24443b){var _0x3203dc=_0x225508;this['_injector']=_0x4bb863,this['_transformService']=_0x1059a5,this[_0x3203dc(0x16b)]=_0x24443b;}[_0x225508(0x3b5)](_0x435333){var _0x16c8dd=_0x225508,_0x4128c6,_0x255ccd,_0xa2718c,_0x38366c;const _0x549417=this['_injector'][_0x16c8dd(0x2a2)](_0xa58a50),{unitId:_0x5f4fd9,subUnitId:_0x568a66}=ts(_0x435333),_0x49e556=_0x549417==null?void 0x0:_0x549417[_0x16c8dd(0x41b)](_0x5f4fd9)[_0x16c8dd(0x3a6)](),_0x278d06=(_0x255ccd=(_0x4128c6=this[_0x16c8dd(0x16b)][_0x16c8dd(0x474)](_0x5f4fd9))==null?void 0x0:_0x4128c6['getActiveSheet']())==null?void 0x0:_0x255ccd[_0x16c8dd(0x3bc)]();if(_0x49e556[_0x16c8dd(0x348)]===0x0||!_0x5f4fd9||!_0x568a66)return;const _0x3fda1c=[{'id':_0x2f54cc['id'],'params':{'unitId':_0x5f4fd9,'subUnitId':_0x278d06,'selections':_0x3b2e42[_0x16c8dd(0x217)](_0x49e556)}}],_0x235f01=this[_0x16c8dd(0x173)][_0x16c8dd(0x27f)](_0x435333,_0x3fda1c);if(!_0xb3d720(_0x235f01))throw _0x235f01[_0x16c8dd(0x376)];const _0x1e4148=(_0x38366c=(_0xa2718c=_0x235f01['m2Prime'][0x0])==null?void 0x0:_0xa2718c[_0x16c8dd(0x418)])==null?void 0x0:_0x38366c[_0x16c8dd(0x361)];if(Array[_0x16c8dd(0x238)](_0x1e4148)&&_0x1e4148['length']){if(_0x1e4148[_0x16c8dd(0x348)]===_0x3fda1c[0x0][_0x16c8dd(0x418)][_0x16c8dd(0x361)][_0x16c8dd(0x348)]&&_0x1e4148['every']((_0x5b14d6,_0x2d3758)=>_0x4d5ac0[_0x16c8dd(0x2b6)](_0x5b14d6[_0x16c8dd(0x400)],_0x3fda1c[0x0][_0x16c8dd(0x418)][_0x16c8dd(0x361)][_0x2d3758]['range'])))return;this[_0x16c8dd(0x1e1)][_0x16c8dd(0x2a2)](_0x171c01)[_0x16c8dd(0x255)](_0x2f54cc['id'],{'unitId':_0x5f4fd9,'subUnitId':_0x278d06,'selections':_0x1e4148});}}};it=es([dt(0x0,_0x59c5a0(_0x1f43c7)),dt(0x1,_0x4832d4),dt(0x2,_0x5db9d5)],it);const ht=_0x15f102(_0x225508(0x35a));var Ci=(_0x1385b8=>(_0x1385b8[_0x1385b8[_0x225508(0x448)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x1385b8[_0x1385b8['OTHER_CLIENTS_EDITING']=0x1]=_0x225508(0x2c2),_0x1385b8))(Ci||{});const is=new Set([_0x5caf3c['id']]);function qt(_0x1a0b58,_0x1afb0c,_0x5902cb,_0x12c8f5,_0x294a1c){var _0x288552=_0x225508,_0x47971d,_0x2d7a50,_0x41d62d,_0x4f1382;const _0x4bfe51=[];for(const _0x10baa9 of _0x1a0b58)if(is['has'](_0x10baa9['id'])){if(_0x4bfe51[_0x288552(0x348)]>0x0)break;_0x4bfe51[_0x288552(0x3c4)](_0x10baa9);break;}else _0x4bfe51[_0x288552(0x3c4)](_0x10baa9);const _0x443172=(_0x2d7a50=(_0x47971d=_0x294a1c[_0x288552(0x210)]())==null?void 0x0:_0x47971d[_0x288552(0x273)])!=null?_0x2d7a50:_0x288552(0x1be),_0x19b873=(_0x4f1382=(_0x41d62d=_0x294a1c[_0x288552(0x210)]())==null?void 0x0:_0x41d62d[_0x288552(0x296)])!=null?_0x4f1382:_0x288552(0x1be);return{'changeset':{'unitID':_0x1afb0c,'type':_0x33e8d7(_0x5902cb[_0x288552(0x2df)](_0x1afb0c)),'baseRev':_0x12c8f5[_0x288552(0x3a3)](_0x1afb0c),'revision':0x0,'userID':_0x443172,'memberID':_0x19b873,'mutations':_0x4bfe51},'pendingMutations':_0x1a0b58['slice'](_0x4bfe51[_0x288552(0x348)])};}function ns(_0x37ed28,_0x18937b,_0x14c3c6,_0x3af150,_0x478390){var _0x2d94f5=_0x225508,_0x49c46f,_0x4dbde5,_0x298897,_0x4dcf1b;const _0xf0fef3=[_0x37ed28[_0x2d94f5(0x316)]((_0x4cb1d2,_0x4060af)=>{var _0x2d6a33=_0x2d94f5,_0x58ce2a;const {id:_0xc61855}=_0x4cb1d2,{id:_0x16cf1b,type:_0x1135d0}=_0x4060af,_0x35bc3e=(_0x58ce2a=_0x4cb1d2[_0x2d6a33(0x418)])!=null?_0x58ce2a:{'actions':null},_0x1fa6bc=_0x4060af['params'];if(_0xc61855&&_0xc61855!==_0x16cf1b)throw new Error(_0x2d6a33(0x233)+_0xc61855+_0x2d6a33(0x3f7)+_0x16cf1b+'.');return{..._0x4cb1d2,'id':_0x16cf1b,'type':_0x1135d0,'params':{'unitId':_0x1fa6bc[_0x2d6a33(0x3ec)],'textRanges':_0x1fa6bc[_0x2d6a33(0x374)],'actions':_0x3c4ef4[_0x2d6a33(0x2b3)](_0x35bc3e[_0x2d6a33(0x18b)],_0x1fa6bc[_0x2d6a33(0x18b)])}};},{})],_0x2de3ea=(_0x4dbde5=(_0x49c46f=_0x478390[_0x2d94f5(0x210)]())==null?void 0x0:_0x49c46f[_0x2d94f5(0x273)])!=null?_0x4dbde5:'unknown',_0x197a08=(_0x4dcf1b=(_0x298897=_0x478390[_0x2d94f5(0x210)]())==null?void 0x0:_0x298897[_0x2d94f5(0x296)])!=null?_0x4dcf1b:_0x2d94f5(0x1be);return{'changeset':{'unitID':_0x18937b,'type':_0x33e8d7(_0x14c3c6[_0x2d94f5(0x2df)](_0x18937b)),'baseRev':_0x3af150[_0x2d94f5(0x3a3)](_0x18937b),'revision':0x0,'userID':_0x2de3ea,'memberID':_0x197a08,'mutations':_0xf0fef3},'pendingMutations':[]};}function Ri(_0x11d012,_0x1e5814){var _0x4e8390=_0x225508;const _0x26b42d=new _0x1bbf2f(0x1);return setTimeout(()=>_0x26b42d['next'](_0x1e5814),_0x11d012),_0x26b42d[_0x4e8390(0x1c9)]()[_0x4e8390(0x1dc)](_0x3c6b39(0x1));}const ss={'id':_0x493c9d['id'],'type':_0x3dc4e2['MUTATION'],'params':{}};var rs=Object[_0x225508(0x3dd)],Te=(_0x219e06,_0x5908c2,_0x5dd291,_0x5db4d2)=>{for(var _0x560d58=_0x5db4d2>0x1?void 0x0:_0x5db4d2?rs(_0x5908c2,_0x5dd291):_0x5908c2,_0xa5c974=_0x219e06['length']-0x1,_0x15f52f;_0xa5c974>=0x0;_0xa5c974--)(_0x15f52f=_0x219e06[_0xa5c974])&&(_0x560d58=_0x15f52f(_0x560d58)||_0x560d58);return _0x560d58;},P=(_0x2bbfbe,_0x25625f)=>(_0x4d56b9,_0x243c12)=>_0x25625f(_0x4d56b9,_0x243c12,_0x2bbfbe),bi=(_0x228017=>(_0x228017[_0x225508(0x39e)]=_0x225508(0x196),_0x228017[_0x225508(0x1bc)]=_0x225508(0x27a),_0x228017[_0x225508(0x1a2)]='pending',_0x228017[_0x225508(0x178)]='awaiting',_0x228017[_0x225508(0x1af)]='awaiting_with_pending',_0x228017['FETCH_MISS']=_0x225508(0x43b),_0x228017[_0x225508(0x1e9)]=_0x225508(0x3ff),_0x228017[_0x225508(0x44f)]=_0x225508(0x236),_0x228017))(bi||{});const Oi=0xea60;class Ce{constructor(_0x121155,_0x61620b,_0x5ab96a,_0x325bb3,_0x4075d4,_0x1edd17,_0x18280f,_0x5273b6,_0x4cbff6){var _0x233cf3=_0x225508;N(this,_0x233cf3(0x1a4),null),N(this,_0x233cf3(0x3cd),[]),(this[_0x233cf3(0x3b1)]=_0x121155,this[_0x233cf3(0x219)]=_0x61620b,this[_0x233cf3(0x3d9)]=_0x4075d4,this['_commandService']=_0x1edd17,this[_0x233cf3(0x32d)]=_0x18280f,this[_0x233cf3(0x367)]=_0x5273b6,this['_localCacheService']=_0x4cbff6,this[_0x233cf3(0x1a4)]=_0x5ab96a,this['_pendingMutations']=_0x325bb3);}[_0x225508(0x3cc)](_0x60ce9c){var _0x314552=_0x225508;const _0x1cefab=this['_revisionService'][_0x314552(0x3a3)](this[_0x314552(0x3b1)]);return _0x60ce9c['revision']>_0x1cefab+0x1?(this[_0x314552(0x3d9)][_0x314552(0x3de)]({'from':_0x1cefab,'to':_0x60ce9c[_0x314552(0x298)]-0x1}),!0x0):!0x1;}[_0x225508(0x261)](_0x3623ba){var _0x3d89e5=_0x225508;this[_0x3d89e5(0x32d)][_0x3d89e5(0x40c)](this[_0x3d89e5(0x3b1)],_0x3623ba);}['_transformSelections'](_0x7f9da7){var _0x351f8e=_0x225508,_0x3bef1a,_0x499a72;(_0x499a72=(_0x3bef1a=this[_0x351f8e(0x3d9)])[_0x351f8e(0x3e6)])==null||_0x499a72[_0x351f8e(0x3db)](_0x3bef1a,_0x7f9da7);}[_0x225508(0x1f2)](_0x75c254){var _0x159ec6=_0x225508,_0x229057,_0x110d37;return(_0x110d37=(_0x229057=this['_handler'])['onTransformIME'])==null?void 0x0:_0x110d37[_0x159ec6(0x3db)](_0x229057,_0x75c254);}[_0x225508(0x191)](_0x16452a){var _0x72adc7=_0x225508,_0x1e2062,_0x393000;return(_0x393000=(_0x1e2062=this['_handler'])['onTransformState'])==null?void 0x0:_0x393000[_0x72adc7(0x3db)](_0x1e2062,_0x16452a);}[_0x225508(0x3a4)](_0x2da9f2){var _0x5480ea=_0x225508,_0x3ba0cb,_0x29e138,_0x4fa924;return(_0x4fa924=(_0x29e138=(_0x3ba0cb=this[_0x5480ea(0x3d9)])[_0x5480ea(0x226)])==null?void 0x0:_0x29e138['call'](_0x3ba0cb,_0x2da9f2))!=null?_0x4fa924:_0x2da9f2;}[_0x225508(0x2d6)](_0x276905){var _0x12813e=_0x225508,_0x439f8d,_0x359599,_0x578c23;return(_0x578c23=(_0x359599=(_0x439f8d=this[_0x12813e(0x3d9)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x359599[_0x12813e(0x3db)](_0x439f8d,_0x276905))!=null?_0x578c23:_0x276905;}[_0x225508(0x1b0)](_0x52009d){var _0x54ad55=_0x225508,_0x3cb0d0,_0x4e9d20;if(this[_0x54ad55(0x219)]===Q[_0x54ad55(0x2e1)]){const {unitID:_0x4afc07,mutations:_0x5b23c3,memberID:_0xcd6942}=_0x52009d,_0x20d108=_0x5b23c3[0x0][_0x54ad55(0x418)][_0x54ad55(0x374)];Array[_0x54ad55(0x238)](_0x20d108)&&_0x20d108[_0x54ad55(0x348)]>0x0&&((_0x4e9d20=(_0x3cb0d0=this[_0x54ad55(0x3d9)])[_0x54ad55(0x358)])==null||_0x4e9d20[_0x54ad55(0x3db)](_0x3cb0d0,{'unitID':_0x4afc07,'memberID':_0xcd6942,'textRanges':_0x20d108}));}}['_updateLocalCache'](){var _0x1f6b1d=_0x225508,_0x13199c;(_0x13199c=this['_localCacheService'])==null||_0x13199c['updateOfflineData'](this[_0x1f6b1d(0x3b1)],this['type'],this[_0x1f6b1d(0x1a4)],this['_pendingMutations']);}[_0x225508(0x306)](){var _0x10b509=_0x225508;return this[_0x10b509(0x367)][_0x10b509(0x3a3)](this[_0x10b509(0x3b1)]);}[_0x225508(0x2bf)](){var _0x3e94a0=_0x225508;this[_0x3e94a0(0x367)][_0x3e94a0(0x237)](this[_0x3e94a0(0x3b1)]);}[_0x225508(0x458)](_0x4563b8){var _0x3ddf44=_0x225508,_0x46ebea;let _0x5de1d7=this['_transformRemoteChangesetByIMECache'](_0x4563b8);_0x5de1d7=this[_0x3ddf44(0x2d6)](_0x5de1d7);const _0x20aa79=_0x3f10ac(_0x5de1d7[_0x3ddf44(0x3be)],this[_0x3ddf44(0x45d)],{'fromCollab':!0x0});if(!_0x20aa79[_0x3ddf44(0x2fc)])throw _0x20aa79['error']instanceof Error?_0x20aa79[_0x3ddf44(0x376)]:new Error((_0x46ebea=_0x20aa79['error'])!=null?_0x46ebea:_0x3ddf44(0x3b8));this['_transformIMECache'](_0x5de1d7),this['_transformStateCache'](_0x5de1d7),this[_0x3ddf44(0x261)](_0x4563b8),this[_0x3ddf44(0x461)](_0x5de1d7),this[_0x3ddf44(0x1b0)](_0x5de1d7),this[_0x3ddf44(0x2bf)]();}}let Ne=class extends Ce{constructor(_0x53b794,_0x21a496,_0x5a441e,_0x2e00c6,_0x33ad3a,_0x43bbe2,_0x1751c7,_0x15e0ec,_0x23320c,_0x12b65b){var _0x47674b=_0x225508;super(_0x53b794,_0x21a496,null,[],_0x5a441e,_0x1751c7,_0x43bbe2,_0x2e00c6,_0x12b65b),N(this,_0x47674b(0x388),_0x47674b(0x27a)),(this[_0x47674b(0x1e1)]=_0x33ad3a,this[_0x47674b(0x2fe)]=_0x15e0ec,this[_0x47674b(0x173)]=_0x23320c,this[_0x47674b(0x26b)]=_0x12b65b);}[_0x225508(0x394)](_0x55b325){var _0x243c65=_0x225508;const _0x522b0c=this[_0x243c65(0x1e1)][_0x243c65(0x471)](ae,this['unitID'],this['type'],[_0x55b325],this[_0x243c65(0x3d9)]);return _0x522b0c[_0x243c65(0x2ed)](),_0x522b0c[_0x243c65(0x2ee)](),_0x522b0c;}[_0x225508(0x1e4)](_0x3faa20){var _0x3fdd66=_0x225508;if(this[_0x3fdd66(0x3cc)](_0x3faa20))return this[_0x3fdd66(0x1e1)][_0x3fdd66(0x471)](ee,this[_0x3fdd66(0x3b1)],this[_0x3fdd66(0x219)],null,[],null,[_0x3faa20],this[_0x3fdd66(0x3d9)]);try{const _0xb1cfa5=this[_0x3fdd66(0x173)][_0x3fdd66(0x27f)](_0x3faa20,[ss]);if(_0xb3d720(_0xb1cfa5)){const {c1Prime:_0x2decf3}=_0xb1cfa5;return this[_0x3fdd66(0x458)](_0x2decf3),this;}throw _0xb1cfa5[_0x3fdd66(0x376)];}catch(_0x574940){return this[_0x3fdd66(0x2fe)][_0x3fdd66(0x376)](_0x574940),this[_0x3fdd66(0x27e)](!0x1);}}[_0x225508(0x27e)](_0x289abc){var _0x5027ff=_0x225508;return this['_injector'][_0x5027ff(0x471)](ue,this[_0x5027ff(0x3b1)],this[_0x5027ff(0x219)],null,[],this[_0x5027ff(0x3d9)],_0x289abc);}[_0x225508(0x284)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x225508(0x403)](){var _0x24e930=_0x225508;throw new Error(_0x24e930(0x1f8));}['onRemoteRetry'](){return this;}[_0x225508(0x181)](){var _0x2c61a0=_0x225508;return this[_0x2c61a0(0x1e1)][_0x2c61a0(0x471)](de,this[_0x2c61a0(0x3b1)],this[_0x2c61a0(0x219)],null,[],this[_0x2c61a0(0x3d9)]);}['toggleOnline'](){return this;}[_0x225508(0x3c3)](){var _0x34ebc5=_0x225508;throw new Error(_0x34ebc5(0x359));}[_0x225508(0x35f)](){var _0x22ad4e=_0x225508;const _0x5271ce=this[_0x22ad4e(0x367)]['getCurrentRevOfUnit'](this[_0x22ad4e(0x3b1)]);return this[_0x22ad4e(0x3d9)][_0x22ad4e(0x3de)]({'from':_0x5271ce,'to':0x0}),this[_0x22ad4e(0x1e1)][_0x22ad4e(0x471)](ee,this[_0x22ad4e(0x3b1)],this[_0x22ad4e(0x219)],null,[],null,[],this[_0x22ad4e(0x3d9)]);}};Ne=Te([P(0x3,_0x59c5a0(_0x3f05b9)),P(0x4,_0x59c5a0(_0x1f43c7)),P(0x5,_0x315796),P(0x6,_0x171c01),P(0x7,_0x4017e6),P(0x8,_0x4832d4),P(0x9,_0x182985(J))],Ne);let ae=class extends Ce{constructor(_0x2054e1,_0x37a20d,_0x3aa996,_0x1390bb,_0x35b7a7,_0x5580c4,_0x282eb5,_0x5ddb54,_0x4b347e,_0x556456,_0x58089f,_0x59daba,_0x164e63,_0x2393f2){var _0x3e6574=_0x225508;super(_0x2054e1,_0x37a20d,null,_0x3aa996,_0x1390bb,_0x4b347e,_0x164e63,_0x5580c4,_0x2393f2),N(this,_0x3e6574(0x388),'pending'),N(this,_0x3e6574(0x1bd),null),N(this,_0x3e6574(0x303),null),(this[_0x3e6574(0x1e1)]=_0x35b7a7,this[_0x3e6574(0x336)]=_0x282eb5,this[_0x3e6574(0x2fe)]=_0x5ddb54,this[_0x3e6574(0x2a3)]=_0x556456,this['_transformService']=_0x58089f,this[_0x3e6574(0x1f5)]=_0x59daba);}[_0x225508(0x394)](_0x340069){var _0xff21c9=_0x225508;return this[_0xff21c9(0x3cd)][_0xff21c9(0x3c4)](_0x340069),this[_0xff21c9(0x2ee)](),this;}[_0x225508(0x1e4)](_0x287610){var _0x3c1ad7=_0x225508;if(this[_0x3c1ad7(0x3cc)](_0x287610))return this[_0x3c1ad7(0x382)](),this[_0x3c1ad7(0x1e1)][_0x3c1ad7(0x471)](ee,this['unitID'],this[_0x3c1ad7(0x219)],null,this[_0x3c1ad7(0x3cd)],null,[_0x287610],this[_0x3c1ad7(0x3d9)]);try{const _0x3018c9=this[_0x3c1ad7(0x173)]['transformMutationsWithChangeset'](_0x287610,this[_0x3c1ad7(0x3cd)]);if(_0xb3d720(_0x3018c9)){const {c1Prime:_0x392aeb,m2Prime:_0x51b1e7}=_0x3018c9;this[_0x3c1ad7(0x458)](_0x392aeb);const _0x38f519=this[_0x3c1ad7(0x1e1)]['createInstance'](ae,this['unitID'],this['type'],_0x51b1e7,this[_0x3c1ad7(0x3d9)]);this[_0x3c1ad7(0x382)]();const _0x57c196=new Date()[_0x3c1ad7(0x2b1)](),_0x104c89=this[_0x3c1ad7(0x1bd)]?Math['max'](this[_0x3c1ad7(0x1bd)]-_0x57c196,0x0):this[_0x3c1ad7(0x220)]();return _0x38f519[_0x3c1ad7(0x2ed)](_0x104c89),_0x38f519;}throw _0x3018c9[_0x3c1ad7(0x376)];}catch(_0x51fdac){return this[_0x3c1ad7(0x2fe)][_0x3c1ad7(0x376)](_0x51fdac),this[_0x3c1ad7(0x27e)](!0x1);}}[_0x225508(0x284)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x225508(0x403)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x225508(0x182)](){return this;}[_0x225508(0x181)](){var _0x3cec36=_0x225508;return this[_0x3cec36(0x382)](),this[_0x3cec36(0x1e1)]['createInstance'](de,this[_0x3cec36(0x3b1)],this['type'],null,this[_0x3cec36(0x3cd)],this['_handler']);}[_0x225508(0x256)](){return this;}['_schedule'](_0x111665){var _0x107141=_0x225508;const _0x478d93=_0x111665!=null?_0x111665:this[_0x107141(0x220)]();this[_0x107141(0x1bd)]=new Date()[_0x107141(0x2b1)]()+_0x478d93,this[_0x107141(0x303)]=setTimeout(()=>{var _0x44d91e=_0x107141;this[_0x44d91e(0x382)]();let _0xe4855b=null;switch(this[_0x44d91e(0x219)]){case Q[_0x44d91e(0x409)]:{_0xe4855b=qt(this['_pendingMutations'],this['unitID'],this[_0x44d91e(0x1f5)],this['_revisionService'],this[_0x44d91e(0x336)]);break;}case Q[_0x44d91e(0x2e1)]:{this[_0x44d91e(0x3cd)][_0x44d91e(0x3c2)](_0x249bf7=>_0x249bf7['id']===_0x5c3dc0['id'])?_0xe4855b=ns(this[_0x44d91e(0x3cd)],this['unitID'],this[_0x44d91e(0x1f5)],this[_0x44d91e(0x367)],this['_memberService']):_0xe4855b=qt(this[_0x44d91e(0x3cd)],this[_0x44d91e(0x3b1)],this[_0x44d91e(0x1f5)],this[_0x44d91e(0x367)],this[_0x44d91e(0x336)]);break;}default:throw new Error(_0x44d91e(0x1a6)+this[_0x44d91e(0x219)]+'\x20in\x20_schedule.');}const {changeset:_0x36e340,pendingMutations:_0x372b52}=_0xe4855b;this[_0x44d91e(0x3d9)][_0x44d91e(0x234)](_0x36e340);const _0x2447c9=_0x372b52[_0x44d91e(0x348)]?this[_0x44d91e(0x1e1)][_0x44d91e(0x471)](oe,this[_0x44d91e(0x3b1)],this[_0x44d91e(0x219)],_0x36e340,_0x372b52,this[_0x44d91e(0x3d9)],void 0x0):this['_injector']['createInstance'](le,this[_0x44d91e(0x3b1)],this[_0x44d91e(0x219)],_0x36e340,this[_0x44d91e(0x3d9)]);_0x2447c9[_0x44d91e(0x2ee)](),this[_0x44d91e(0x3d9)][_0x44d91e(0x25d)](this,_0x2447c9);},_0x478d93);}['_getSendChangesetTimeout'](){var _0x165e27=_0x225508,_0x1f6245;const _0x4b7b78=this[_0x165e27(0x2a3)]['getConfig'](q);return(_0x1f6245=_0x4b7b78==null?void 0x0:_0x4b7b78[_0x165e27(0x3ac)])!=null?_0x1f6245:En;}[_0x225508(0x3c3)](){var _0x3d20a9=_0x225508;throw new Error(_0x3d20a9(0x24e));}[_0x225508(0x382)](){var _0x37f8c4=_0x225508;this[_0x37f8c4(0x303)]!=null&&(clearTimeout(this[_0x37f8c4(0x303)]),this['_sendingTimer']=null);}[_0x225508(0x27e)](_0x2c5c25){var _0x4c420b=_0x225508;return this[_0x4c420b(0x382)](),this[_0x4c420b(0x1e1)][_0x4c420b(0x471)](ue,this['unitID'],this[_0x4c420b(0x219)],null,this['_pendingMutations'],this[_0x4c420b(0x3d9)],_0x2c5c25);}};ae=Te([P(0x4,_0x59c5a0(_0x1f43c7)),P(0x5,_0x59c5a0(_0x3f05b9)),P(0x6,_0x59c5a0(Le)),P(0x7,_0x4017e6),P(0x8,_0x171c01),P(0x9,_0x299d0c),P(0xa,_0x4832d4),P(0xb,_0x5db9d5),P(0xc,_0x315796),P(0xd,_0x182985(J))],ae);let le=class extends Ce{constructor(_0x26dbaa,_0x155493,_0x3eb9d1,_0x33193b,_0x2e9d39,_0x8598ba,_0x168d19,_0x4ba687,_0x222187,_0x385801,_0xda4cc2){var _0x156131=_0x225508;super(_0x26dbaa,_0x155493,_0x3eb9d1,[],_0x33193b,_0x168d19,_0x385801,_0x8598ba,_0xda4cc2),N(this,_0x156131(0x388),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x156131(0x270)),N(this,_0x156131(0x280)),(this[_0x156131(0x1e1)]=_0x2e9d39,this[_0x156131(0x2fe)]=_0x4ba687,this[_0x156131(0x173)]=_0x222187);}[_0x225508(0x394)](_0x3d9597){var _0x3973d2=_0x225508;this[_0x3973d2(0x382)]();const _0x3cda1b=this[_0x3973d2(0x1e1)][_0x3973d2(0x471)](oe,this[_0x3973d2(0x3b1)],this[_0x3973d2(0x219)],this['_awaitingChangeset'],[_0x3d9597],this['_handler'],this[_0x3973d2(0x270)]);return _0x3cda1b['_updateLocalCache'](),_0x3cda1b;}[_0x225508(0x1e4)](_0x2dc3e7){var _0x29a938=_0x225508;if(this[_0x29a938(0x3cc)](_0x2dc3e7))return this[_0x29a938(0x382)](),this[_0x29a938(0x1e1)][_0x29a938(0x471)](ee,this[_0x29a938(0x3b1)],this[_0x29a938(0x219)],this[_0x29a938(0x1a4)],[],null,[_0x2dc3e7],this[_0x29a938(0x3d9)]);try{const _0x3e355d=this[_0x29a938(0x173)][_0x29a938(0x349)]([_0x2dc3e7],[this['_awaitingChangeset']],!0x1);if(_0x5f1444(_0x3e355d)){const {c1Prime:_0x448edf,c2Prime:_0xba9867}=_0x3e355d;this[_0x29a938(0x458)](_0x448edf[0x0]),_0xba9867[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x29a938(0x382)]();const _0x43c1d4=this[_0x29a938(0x1e1)][_0x29a938(0x471)](le,this['unitID'],this['type'],_0xba9867[0x0],this[_0x29a938(0x3d9)]);return _0x43c1d4[_0x29a938(0x2ee)](),_0x43c1d4;}return this['_onConflict'](!0x1);}catch(_0x53ac0f){return this['_logService'][_0x29a938(0x376)](_0x53ac0f),this[_0x29a938(0x27e)](!0x1);}}[_0x225508(0x284)](_0xc63ce4){var _0x4ed69=_0x225508;this['_clearScheduledTask']();const _0x1844c7=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4ed69(0x3b1)]);if(_0xc63ce4[_0x4ed69(0x298)]<_0x1844c7-0x1)return this;if(this[_0x4ed69(0x3cc)](_0xc63ce4))return this['_injector'][_0x4ed69(0x471)](ee,this[_0x4ed69(0x3b1)],this[_0x4ed69(0x219)],null,[],this[_0x4ed69(0x1a4)],[],this[_0x4ed69(0x3d9)]);this[_0x4ed69(0x2bf)]();const _0x552a5d=this[_0x4ed69(0x1e1)]['createInstance'](Ne,this[_0x4ed69(0x3b1)],this['type'],this[_0x4ed69(0x3d9)]);return _0x552a5d['_updateLocalCache'](),_0x552a5d;}['onRemoteRej'](_0x51442d){return this['_onConflict'](!!(_0x51442d!=null&&_0x51442d['isPermissionRej']));}['onRemoteRetry'](_0x5a1c2e){var _0x1e29c1=_0x225508;return this[_0x1e29c1(0x264)]>Oi?this[_0x1e29c1(0x181)]():(this[_0x1e29c1(0x270)]=Ri(this[_0x1e29c1(0x264)],{'timeout':this[_0x1e29c1(0x264)],'reqId':_0x5a1c2e[_0x1e29c1(0x17b)]}),this['_sender']=this['_resendTimer'][_0x1e29c1(0x1df)](({reqId:_0x1426a0,timeout:_0x2f7527})=>{this['_resendWithTimeout'](_0x1426a0,_0x2f7527);}),this);}[_0x225508(0x181)](){var _0x2702cb=_0x225508;return this[_0x2702cb(0x382)](),this[_0x2702cb(0x1e1)]['createInstance'](de,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x225508(0x3c3)](){var _0x327ac5=_0x225508;this[_0x327ac5(0x3d9)][_0x327ac5(0x234)](this[_0x327ac5(0x1a4)]);}[_0x225508(0x27e)](_0xb7ce48){var _0x1fa605=_0x225508;return this[_0x1fa605(0x382)](),this[_0x1fa605(0x1e1)][_0x1fa605(0x471)](ue,this['unitID'],this[_0x1fa605(0x219)],this[_0x1fa605(0x1a4)],[],this[_0x1fa605(0x3d9)],_0xb7ce48);}[_0x225508(0x44d)](_0xb2a0ae,_0x5ce973){var _0x216ebc=_0x225508,_0x36f8dc;_0xb2a0ae===((_0x36f8dc=this[_0x216ebc(0x1a4)])==null?void 0x0:_0x36f8dc['reqId'])&&(this[_0x216ebc(0x3c3)](),this[_0x216ebc(0x264)]=_0x5ce973===0x0?0x3e8:_0x5ce973*0x2);}[_0x225508(0x382)](){var _0x1c4cf7=_0x225508,_0x352b6f;(_0x352b6f=this[_0x1c4cf7(0x280)])==null||_0x352b6f['unsubscribe'](),this[_0x1c4cf7(0x264)]=0x0;}};le=Te([P(0x4,_0x59c5a0(_0x1f43c7)),P(0x5,_0x59c5a0(_0x3f05b9)),P(0x6,_0x171c01),P(0x7,_0x4017e6),P(0x8,_0x4832d4),P(0x9,_0x315796),P(0xa,_0x182985(J))],le);let oe=class extends Ce{constructor(_0x4180e1,_0x43917c,_0x16f7fc,_0xc282b6,_0x4083b4,_0x32e491,_0x170b5a,_0x5ac993,_0x525c23,_0x2881e2,_0x171415,_0x485ca0,_0x23d319){var _0x20f4c6=_0x225508;super(_0x4180e1,_0x43917c,_0x16f7fc,_0xc282b6,_0x4083b4,_0x525c23,_0x485ca0,_0x5ac993,_0x23d319),N(this,_0x20f4c6(0x388),_0x20f4c6(0x279)),N(this,_0x20f4c6(0x264),0x0),N(this,'_resendTimer'),N(this,_0x20f4c6(0x280)),(this['_injector']=_0x170b5a,this['_logService']=_0x2881e2,this[_0x20f4c6(0x173)]=_0x171415,this['localCacheService']=_0x23d319,_0x32e491&&(this[_0x20f4c6(0x270)]=_0x32e491,this[_0x20f4c6(0x280)]=this[_0x20f4c6(0x270)][_0x20f4c6(0x1df)](({reqId:_0x1ac4e2,timeout:_0x4fabf8})=>{var _0x40f1c5=_0x20f4c6;this[_0x40f1c5(0x44d)](_0x1ac4e2,_0x4fabf8);})));}[_0x225508(0x394)](_0x4fc93b){return this['_pendingMutations']['push'](_0x4fc93b),this;}['onRemoteChangeset'](_0xddcf9f){var _0x1dd577=_0x225508;if(this[_0x1dd577(0x3cc)](_0xddcf9f))return this[_0x1dd577(0x382)](),this['_injector'][_0x1dd577(0x471)](ee,this[_0x1dd577(0x3b1)],this[_0x1dd577(0x219)],this[_0x1dd577(0x1a4)],this[_0x1dd577(0x3cd)],null,[_0xddcf9f],this[_0x1dd577(0x3d9)]);try{const _0x24431f=this[_0x1dd577(0x173)][_0x1dd577(0x349)]([_0xddcf9f],[this[_0x1dd577(0x1a4)]],!0x1);if(_0x5f1444(_0x24431f)){const {c1Prime:_0xe821de,c2Prime:_0x273e71}=_0x24431f,_0x27ce3a=this['_transformService']['transformMutationsWithChangeset'](_0xe821de[0x0],this[_0x1dd577(0x3cd)]);if(_0xb3d720(_0x27ce3a)){const {c1Prime:_0x186f06,m2Prime:_0x21af30}=_0x27ce3a;return this['_executeRemoteChangeset'](_0x186f06),_0x273e71[0x0]['baseRev']=this[_0x1dd577(0x306)](),this[_0x1dd577(0x382)](),this[_0x1dd577(0x1e1)][_0x1dd577(0x471)](oe,this[_0x1dd577(0x3b1)],this['type'],_0x273e71[0x0],_0x21af30,this[_0x1dd577(0x3d9)],void 0x0);}throw _0x27ce3a['error'];}throw _0x24431f[_0x1dd577(0x376)];}catch(_0xcf26e2){return this['_logService'][_0x1dd577(0x376)](_0xcf26e2),this[_0x1dd577(0x27e)](!0x1);}}[_0x225508(0x284)](_0xa68eb1){var _0x5c35b4=_0x225508;if(this[_0x5c35b4(0x382)](),this['_checkMissing'](_0xa68eb1))return this[_0x5c35b4(0x1e1)][_0x5c35b4(0x471)](ee,this['unitID'],this['type'],null,this[_0x5c35b4(0x3cd)],this[_0x5c35b4(0x1a4)],[],this[_0x5c35b4(0x3d9)]);this['_incrementRevisionNumber']();const _0x330d59=this[_0x5c35b4(0x1e1)][_0x5c35b4(0x471)](ae,this['unitID'],this[_0x5c35b4(0x219)],this['_pendingMutations'],this[_0x5c35b4(0x3d9)]);return _0x330d59[_0x5c35b4(0x2ed)](),_0x330d59['_updateLocalCache'](),_0x330d59;}[_0x225508(0x403)](_0x256e75){var _0x12b658=_0x225508;return this[_0x12b658(0x27e)](!!(_0x256e75!=null&&_0x256e75[_0x12b658(0x335)]));}[_0x225508(0x182)](_0x5eefb7){var _0x137927=_0x225508;return this['_resendTimeout']>Oi?this[_0x137927(0x181)]():(this[_0x137927(0x270)]=Ri(this[_0x137927(0x264)],{'timeout':this[_0x137927(0x264)],'reqId':_0x5eefb7['reqId']}),this[_0x137927(0x280)]=this[_0x137927(0x270)][_0x137927(0x1df)](({reqId:_0x54932c,timeout:_0x28a827})=>{var _0x393f4a=_0x137927;this[_0x393f4a(0x44d)](_0x54932c,_0x28a827);}),this);}[_0x225508(0x181)](){var _0x137a3a=_0x225508;return this[_0x137a3a(0x382)](),this[_0x137a3a(0x1e1)]['createInstance'](de,this['unitID'],this[_0x137a3a(0x219)],this[_0x137a3a(0x1a4)],this[_0x137a3a(0x3cd)],this['_handler']);}[_0x225508(0x256)](){return this;}[_0x225508(0x3c3)](){var _0x4e9c6a=_0x225508;this[_0x4e9c6a(0x3d9)][_0x4e9c6a(0x234)](this[_0x4e9c6a(0x1a4)]);}[_0x225508(0x27e)](_0x4d619a){var _0xda2c17=_0x225508;return this['_clearScheduledTask'](),this[_0xda2c17(0x1e1)][_0xda2c17(0x471)](ue,this['unitID'],this[_0xda2c17(0x219)],null,this[_0xda2c17(0x3cd)],this[_0xda2c17(0x3d9)],_0x4d619a);}['_resendWithTimeout'](_0x5cbdb4,_0x28d592){var _0x2c7206=_0x225508,_0x259306;_0x5cbdb4===((_0x259306=this[_0x2c7206(0x1a4)])==null?void 0x0:_0x259306['reqId'])&&(this['resend'](),this[_0x2c7206(0x264)]=_0x28d592===0x0?0x3e8:_0x28d592*0x2);}['_clearScheduledTask'](){var _0x421bc5=_0x225508,_0x68af29;(_0x68af29=this[_0x421bc5(0x280)])==null||_0x68af29['unsubscribe'](),this[_0x421bc5(0x264)]=0x0;}};oe=Te([P(0x6,_0x59c5a0(_0x1f43c7)),P(0x7,_0x59c5a0(_0x3f05b9)),P(0x8,_0x171c01),P(0x9,_0x4017e6),P(0xa,_0x4832d4),P(0xb,_0x315796),P(0xc,_0x182985(J))],oe);let ue=class extends Ce{constructor(_0x3bbf27,_0x47d80c,_0x5f1691,_0x7fe55e,_0x4b74c6,_0x4219e8=!0x1,_0x1431a7,_0x5d7e0b,_0x18493e,_0x7cdab2,_0x85a885,_0x450aa3,_0x429eec){var _0xa8a38e=_0x225508;super(_0x3bbf27,_0x47d80c,_0x5f1691,_0x7fe55e,_0x4b74c6,_0x5d7e0b,_0x18493e,_0x7cdab2,_0x429eec),N(this,_0xa8a38e(0x388),_0xa8a38e(0x3ff)),(this[_0xa8a38e(0x46a)]=_0x4219e8,this[_0xa8a38e(0x342)]=_0x1431a7,this[_0xa8a38e(0x20b)]=_0x85a885,this[_0xa8a38e(0x369)]=_0x450aa3,this['localCacheService']=_0x429eec,this['_showConflictNotification'](),this[_0xa8a38e(0x2aa)](),this['_disableEditing']());}[_0x225508(0x394)](){return this;}[_0x225508(0x1e4)](){return this;}[_0x225508(0x284)](){return this;}[_0x225508(0x403)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x225508(0x256)](){return this;}[_0x225508(0x3c3)](){var _0xba3a29=_0x225508;throw new Error(_0xba3a29(0x1cd));}[_0x225508(0x2aa)](){var _0x2472ea=_0x225508,_0x5642e8;(_0x5642e8=this[_0x2472ea(0x22b)])==null||_0x5642e8[_0x2472ea(0x2de)](this['unitID'],this[_0x2472ea(0x219)],null,[]);}[_0x225508(0x187)](){var _0x301397=_0x225508;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x301397(0x206)]({'id':re[_0x301397(0x1ef)]}):this[_0x301397(0x369)][_0x301397(0x206)]({'id':re['CONFLICT']});}[_0x225508(0x289)](){var _0x179d3f=_0x225508;this[_0x179d3f(0x342)][_0x179d3f(0x1b6)](new _0x2340c5(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x59c5a0(_0x52947d)),P(0x7,_0x171c01),P(0x8,_0x315796),P(0x9,_0x59c5a0(_0x3f05b9)),P(0xa,_0x59c5a0(_0x236a91)),P(0xb,_0x59c5a0(pe)),P(0xc,_0x182985(J))],ue);let de=class extends Ce{constructor(_0x58c60f,_0x8e535d,_0x24cbee,_0x5e0961,_0x52c16d,_0xee012c,_0x57d66a,_0x13f13c,_0x3e40ae,_0x34436e){var _0x21dc0b=_0x225508;super(_0x58c60f,_0x8e535d,_0x24cbee,_0x5e0961,_0x52c16d,_0x13f13c,_0x3e40ae,_0x57d66a,_0x34436e),N(this,_0x21dc0b(0x388),_0x21dc0b(0x236)),this['_injector']=_0xee012c;}['appendMutation'](_0x381a39){var _0x416ef1=_0x225508;return this[_0x416ef1(0x3cd)][_0x416ef1(0x3c4)](_0x381a39),this[_0x416ef1(0x2ee)](),this;}[_0x225508(0x1e4)](_0x4c0823){var _0x4fae45=_0x225508;throw new Error(_0x4fae45(0x468));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x225508(0x403)](){var _0xd0919f=_0x225508;throw new Error(_0xd0919f(0x221));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x225508(0x256)](){var _0x1836a8=_0x225508;const {_injector:_0x25ea4f,_pendingMutations:_0x3b53f5,_awaitingChangeset:_0x5a506c,unitID:_0x192537,_handler:_0x35d642,type:_0x36a870}=this,_0x2e6901=yi(_0x25ea4f,_0x192537,_0x36a870,_0x5a506c,_0x3b53f5,_0x35d642);return _0x2e6901 instanceof ae?_0x2e6901[_0x1836a8(0x2ed)]():(_0x2e6901 instanceof oe||_0x2e6901 instanceof le)&&_0x2e6901[_0x1836a8(0x3c3)](),_0x2e6901;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x59c5a0(_0x1f43c7)),P(0x6,_0x59c5a0(_0x3f05b9)),P(0x7,_0x171c01),P(0x8,_0x315796),P(0x9,_0x182985(J))],de);let ee=class extends Ce{constructor(_0x4ac1c6,_0x3b2a75,_0xf72d9f,_0x14747a,_0x4f80e8,_0x38ec11,_0xd9cb3b,_0x3ec1d3,_0x2e43dd,_0x5c8b5b,_0x14f3c2,_0x397c95,_0x4c9364,_0x256899){var _0x20dce7=_0x225508;super(_0x4ac1c6,_0x3b2a75,_0xf72d9f,_0x14747a,_0xd9cb3b,_0x14f3c2,_0x397c95,_0x2e43dd,_0x256899),N(this,_0x20dce7(0x388),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x4f80e8,this['_queuedRemoteChangesets']=_0x38ec11,this[_0x20dce7(0x1e1)]=_0x3ec1d3,this[_0x20dce7(0x2fe)]=_0x5c8b5b,this[_0x20dce7(0x173)]=_0x4c9364,this['localCacheService']=_0x256899);}['onMissedChangesetFetched'](_0x408a97){var _0x2d6ff7=_0x225508;try{const _0x5511bd=[..._0x408a97,...this['_queuedRemoteChangesets']],_0x2e5c8e=[this[_0x2d6ff7(0x1a4)]||this[_0x2d6ff7(0x172)]][_0x2d6ff7(0x392)](_0x1a3b4e=>!!_0x1a3b4e);let _0xce683b,_0x298c08;if(_0x2e5c8e['length']){const _0x2b5e1a=this[_0x2d6ff7(0x173)][_0x2d6ff7(0x349)](_0x5511bd,_0x2e5c8e,!0x1);if(!_0x5f1444(_0x2b5e1a))throw _0x2b5e1a[_0x2d6ff7(0x376)];_0xce683b=_0x2b5e1a[_0x2d6ff7(0x377)],_0x298c08=_0x2b5e1a[_0x2d6ff7(0x478)];}else _0xce683b=_0x5511bd,_0x298c08=[];let _0x3b4129=this[_0x2d6ff7(0x3cd)];_0xce683b[_0x2d6ff7(0x21b)](_0x521b0d=>{var _0x3a17f7=_0x2d6ff7;let _0x2c1a3a;if(_0x3b4129['length']){const _0x985f79=this[_0x3a17f7(0x173)]['transformMutationsWithChangeset'](_0x521b0d,_0x3b4129);if(!_0xb3d720(_0x985f79))throw _0x985f79[_0x3a17f7(0x376)];_0x2c1a3a=_0x985f79[_0x3a17f7(0x377)],_0x3b4129=_0x985f79[_0x3a17f7(0x46f)];}else _0x2c1a3a=_0x521b0d;this[_0x3a17f7(0x458)](_0x2c1a3a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2d6ff7(0x2bf)](),this[_0x2d6ff7(0x1a4)]&&_0x298c08[_0x2d6ff7(0x348)]&&(_0x298c08[0x0]['baseRev']=this['_getCurrentRevision']());let _0x28bbee;if(this[_0x2d6ff7(0x1a4)]&&_0x3b4129[_0x2d6ff7(0x348)]!==0x0)_0x28bbee=this[_0x2d6ff7(0x1e1)][_0x2d6ff7(0x471)](oe,this['unitID'],this['type'],_0x298c08[0x0],_0x3b4129,this[_0x2d6ff7(0x3d9)],void 0x0);else{if(this[_0x2d6ff7(0x1a4)]&&_0x3b4129['length']===0x0)_0x298c08[0x0]['baseRev']=this[_0x2d6ff7(0x306)](),_0x28bbee=this[_0x2d6ff7(0x1e1)]['createInstance'](le,this['unitID'],this[_0x2d6ff7(0x219)],_0x298c08[0x0],this[_0x2d6ff7(0x3d9)]);else{if(_0x3b4129[_0x2d6ff7(0x348)]!==0x0){const _0x392b6a=this[_0x2d6ff7(0x1e1)]['createInstance'](ae,this[_0x2d6ff7(0x3b1)],this['type'],_0x3b4129,this[_0x2d6ff7(0x3d9)]);_0x392b6a['_schedule'](),_0x28bbee=_0x392b6a;}else _0x28bbee=this[_0x2d6ff7(0x1e1)][_0x2d6ff7(0x471)](Ne,this[_0x2d6ff7(0x3b1)],this[_0x2d6ff7(0x219)],this[_0x2d6ff7(0x3d9)]);}}return _0x28bbee[_0x2d6ff7(0x2ee)](),_0x28bbee;}catch(_0x543530){return this[_0x2d6ff7(0x2fe)]['error'](_0x2d6ff7(0x360),'failed\x20to\x20apply\x20missed\x20changesets!',_0x543530),this[_0x2d6ff7(0x1e1)]['createInstance'](ue,this[_0x2d6ff7(0x3b1)],this[_0x2d6ff7(0x219)],this['_awaitingChangeset'],this[_0x2d6ff7(0x3cd)],this[_0x2d6ff7(0x3d9)],!0x1);}}[_0x225508(0x3c3)](){var _0x354a24=_0x225508;throw new Error(_0x354a24(0x24c));}[_0x225508(0x394)](_0xa3f52e){var _0x975f23=_0x225508;return this[_0x975f23(0x3cd)][_0x975f23(0x3c4)](_0xa3f52e),this;}[_0x225508(0x1e4)](_0x58cf2e){var _0x472dff=_0x225508;return this[_0x472dff(0x2b8)][_0x472dff(0x3c4)](_0x58cf2e),this;}['onRemoteAck'](_0x4b6427){var _0x391db8=_0x225508;if(this[_0x391db8(0x1a4)])return this[_0x391db8(0x172)]=this[_0x391db8(0x1a4)],this[_0x391db8(0x1a4)]=null,this;throw new Error(_0x391db8(0x2ea));}[_0x225508(0x403)](_0x1e2a84){var _0x1e9d36=_0x225508;return this[_0x1e9d36(0x27e)](!!(_0x1e2a84!=null&&_0x1e2a84[_0x1e9d36(0x335)]));}[_0x225508(0x182)](){return this;}['toggleOffline'](){var _0x1772b7=_0x225508;return this[_0x1772b7(0x1e1)]['createInstance'](de,this[_0x1772b7(0x3b1)],this[_0x1772b7(0x219)],this[_0x1772b7(0x1a4)],this[_0x1772b7(0x3cd)],this['_handler']);}[_0x225508(0x256)](){return this;}[_0x225508(0x27e)](_0x7cd574){var _0x3dbadb=_0x225508;return this['_injector'][_0x3dbadb(0x471)](ue,this[_0x3dbadb(0x3b1)],this[_0x3dbadb(0x219)],this['_awaitingChangeset'],this[_0x3dbadb(0x3cd)],this['_handler'],_0x7cd574);}};ee=Te([P(0x7,_0x59c5a0(_0x1f43c7)),P(0x8,_0x59c5a0(_0x3f05b9)),P(0x9,_0x4017e6),P(0xa,_0x171c01),P(0xb,_0x315796),P(0xc,_0x4832d4),P(0xd,_0x182985(J))],ee);function yi(_0x55df06,_0x3fe6e3,_0x75a788,_0x537402,_0x325353,_0x388f65){var _0x18a04f=_0x225508;return _0x537402&&_0x325353['length']?_0x55df06[_0x18a04f(0x471)](oe,_0x3fe6e3,_0x75a788,_0x537402,_0x325353,_0x388f65,void 0x0):_0x537402?_0x55df06[_0x18a04f(0x471)](le,_0x3fe6e3,_0x75a788,_0x537402,_0x388f65):_0x325353[_0x18a04f(0x348)]?_0x55df06['createInstance'](ae,_0x3fe6e3,_0x75a788,_0x325353,_0x388f65):_0x55df06['createInstance'](Ne,_0x3fe6e3,_0x75a788,_0x388f65);}var as=Object[_0x225508(0x3dd)],Lt=(_0x373aee,_0x50ce5b,_0x53d024,_0x4f1d73)=>{for(var _0x10c5a4=_0x4f1d73>0x1?void 0x0:_0x4f1d73?as(_0x50ce5b,_0x53d024):_0x50ce5b,_0x17aba0=_0x373aee['length']-0x1,_0x150d26;_0x17aba0>=0x0;_0x17aba0--)(_0x150d26=_0x373aee[_0x17aba0])&&(_0x10c5a4=_0x150d26(_0x10c5a4)||_0x10c5a4);return _0x10c5a4;},H=(_0x3d9249,_0xa23709)=>(_0x2de4a4,_0x38177f)=>_0xa23709(_0x2de4a4,_0x38177f,_0x3d9249);let nt=class extends _0xbb1137{constructor(_0x3a4ecd,_0x204429,_0x417ea5,_0x5dcd9c,_0x588c48,_0x4ab4a,_0x14edfb,_0x1ad136,_0x417ae1,_0x294996,_0x5037c0,_0x4e490b,_0x3aeaa4){var _0x42a093=_0x225508;super(),N(this,_0x42a093(0x203),new _0x25de28(null)),N(this,'state$',this[_0x42a093(0x203)][_0x42a093(0x1c9)]()),N(this,_0x42a093(0x424)),N(this,_0x42a093(0x240),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0x42a093(0x40d),this[_0x42a093(0x479)][_0x42a093(0x1dc)](_0xdfbfa2(_0x21ed77=>_0x21ed77?_0x21ed77[_0x42a093(0x388)]:bi[_0x42a093(0x44f)]),_0x141b06(0x1))),N(this,_0x42a093(0x27c),!0x1),N(this,_0x42a093(0x3e5),[]),(this[_0x42a093(0x3b1)]=_0x3a4ecd,this['session']=_0x204429,this[_0x42a093(0x32e)]=_0x417ea5,this[_0x42a093(0x1e1)]=_0x5dcd9c,this['_compressMutationService']=_0x588c48,this[_0x42a093(0x20b)]=_0x4ab4a,this[_0x42a093(0x367)]=_0x14edfb,this['_eventService']=_0x1ad136,this[_0x42a093(0x2fe)]=_0x417ae1,this[_0x42a093(0x45d)]=_0x294996,this['_permissionService']=_0x5037c0,this[_0x42a093(0x462)]=_0x4e490b,this[_0x42a093(0x22b)]=_0x3aeaa4);}get[_0x225508(0x31e)](){var _0x22b0ed=_0x225508;return this[_0x22b0ed(0x424)];}async[_0x225508(0x1b3)](){var _0x2571ed=_0x225508;if(this['state'])throw new Error(_0x2571ed(0x44e));await this[_0x2571ed(0x33f)]();}[_0x225508(0x3b2)](){var _0x25c10d=_0x225508;return this[_0x25c10d(0x240)]=!0x0,_0x479cb1(()=>{var _0x721778=_0x25c10d;this[_0x721778(0x240)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x225508(0x35d)](_0x34a3e9){var _0x5d005a=_0x225508;this[_0x5d005a(0x341)](_0x34a3e9);}['_updateState'](_0x17b7e1){var _0x63392f=_0x225508;this['_state']=_0x17b7e1,this[_0x63392f(0x203)]['next'](_0x17b7e1);}async[_0x225508(0x33f)](){var _0x134937=_0x225508,_0x2a0cdb;this['_updateState'](await this['_createInitialState']()),this[_0x134937(0x462)]&&((_0x2a0cdb=this[_0x134937(0x462)])==null||_0x2a0cdb[_0x134937(0x1a3)](this[_0x134937(0x3b1)]),this[_0x134937(0x28d)](this[_0x134937(0x462)][_0x134937(0x2c0)](this[_0x134937(0x3b1)])[_0x134937(0x1df)](_0xcb8c2a=>{var _0x49586f=_0x134937;this[_0x49586f(0x2fe)][_0x49586f(0x1a9)](_0x49586f(0x2a8),_0x49586f(0x195),_0xcb8c2a),_0xcb8c2a===Ci[_0x49586f(0x2c2)]?(this[_0x49586f(0x396)][_0x49586f(0x206)]({'id':re[_0x49586f(0x194)]}),this[_0x49586f(0x342)]['updatePermissionPoint'](new _0x2340c5(this[_0x49586f(0x3b1)])['id'],!0x1),this[_0x49586f(0x342)][_0x49586f(0x420)](!0x1)):(this[_0x49586f(0x342)]['updatePermissionPoint'](new _0x2340c5(this[_0x49586f(0x3b1)])['id'],!0x0),this['_permissionService'][_0x49586f(0x420)](!0x0));})));let _0x3914a1=!0x1;return this[_0x134937(0x28d)](this['session']['sessionStatus$']['subscribe'](_0xf3f32a=>{var _0x4b340a=_0x134937;_0xf3f32a===Ee[_0x4b340a(0x3a9)]?this[_0x4b340a(0x1c1)](_0x3914a1):_0xf3f32a===Ee[_0x4b340a(0x44f)]&&(_0x3914a1=!0x0,this['_toggleOffline']());})),this[_0x134937(0x28d)](this[_0x134937(0x334)][_0x134937(0x25f)]['subscribe'](_0xfa47ff=>{var _0x29f2d9=_0x134937;try{switch(_0xfa47ff[_0x29f2d9(0x350)]){case _0x3c1a33[_0x29f2d9(0x177)]:{this[_0x29f2d9(0x1ff)](_0x5653ba(_0xfa47ff[_0x29f2d9(0x295)]));break;}case _0x3c1a33[_0x29f2d9(0x395)]:{this[_0x29f2d9(0x375)](_0xfa47ff[_0x29f2d9(0x295)]);break;}case _0x3c1a33[_0x29f2d9(0x1fb)]:{this['_onRemoteRejected']();break;}case _0x3c1a33[_0x29f2d9(0x37c)]:{this[_0x29f2d9(0x1f4)](_0xfa47ff[_0x29f2d9(0x295)]);break;}case _0x3c1a33[_0x29f2d9(0x1b7)]:{this[_0x29f2d9(0x179)](_0xfa47ff['data']['changesets'][_0x29f2d9(0x393)](_0x35668f=>_0x5653ba(_0x35668f)));break;}case _0x3c1a33[_0x29f2d9(0x21a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3c1a33['UNISCRIPT_RUN']:break;}}catch(_0x594564){throw console[_0x29f2d9(0x376)](_0x29f2d9(0x351),_0x594564),_0x594564;}})),this[_0x134937(0x424)];}['_unlockTransition'](){var _0x418606=_0x225508;this[_0x418606(0x27c)]=!0x1;}[_0x225508(0x1e2)](){var _0x4b14ef=_0x225508;if(this['_transitionLocked'])throw new Error(_0x4b14ef(0x328));this['_transitionLocked']=!0x0;}[_0x225508(0x341)](_0x1d7b99){var _0x15a770=_0x225508;this['_lockTransition'](),this[_0x15a770(0x2cc)](this['_state'][_0x15a770(0x394)](_0x1d7b99)),this[_0x15a770(0x31a)]();}[_0x225508(0x1ff)](_0x2c5c66){var _0x516969=_0x225508;if(!(_0x2c5c66[_0x516969(0x298)]<=this['_revisionService'][_0x516969(0x3a3)](this['unitID']))){if(this['_collaborationPaused']){this[_0x516969(0x3e5)][_0x516969(0x3c4)](_0x2c5c66);return;}this['_applyRemoteChangeset'](_0x2c5c66);}}[_0x225508(0x1ac)](){var _0xb93103=_0x225508;this[_0xb93103(0x3e5)][_0xb93103(0x21b)](_0x3fa4d4=>this[_0xb93103(0x413)](_0x3fa4d4)),this[_0xb93103(0x3e5)]=[];}[_0x225508(0x413)](_0x379ca2){var _0xcac99b=_0x225508;const _0x1b4b5b=this[_0xcac99b(0x467)]['interceptor'][_0xcac99b(0x20e)](this['_compressMutationService'][_0xcac99b(0x36f)][_0xcac99b(0x371)]()['COMPRESS_MUTATION_APPLY'])(_0x379ca2[_0xcac99b(0x3be)],null)||_0x379ca2[_0xcac99b(0x3be)],_0x81be5d={..._0x379ca2,'mutations':_0x1b4b5b};this[_0xcac99b(0x1e2)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x81be5d)),this['_unlockTransition']();}[_0x225508(0x375)](_0x2a5737){var _0x19b58a=_0x225508;this[_0x19b58a(0x1e2)](),this[_0x19b58a(0x2cc)](this[_0x19b58a(0x424)][_0x19b58a(0x284)](_0x2a5737)),this[_0x19b58a(0x31a)]();}[_0x225508(0x1cf)](_0x10b035){var _0x3c86ef=_0x225508;this[_0x3c86ef(0x1e2)](),this[_0x3c86ef(0x2cc)](this['_state'][_0x3c86ef(0x403)](_0x10b035)),this[_0x3c86ef(0x31a)]();}[_0x225508(0x1f4)](_0x310062){var _0x48520e=_0x225508;this[_0x48520e(0x1e2)](),this['_updateState'](this[_0x48520e(0x424)]['onRemoteRetry'](_0x310062)),this[_0x48520e(0x31a)]();}[_0x225508(0x179)](_0x3ce40d){var _0x43d875=_0x225508;if(!(this[_0x43d875(0x424)]instanceof ee))throw new TypeError(_0x43d875(0x3b9));const _0x5bdcf1=_0x3ce40d['map'](_0x538280=>{var _0x5eb13e=_0x43d875;const _0x5910b0=this[_0x5eb13e(0x467)][_0x5eb13e(0x36f)]['fetchThroughInterceptors'](this[_0x5eb13e(0x467)][_0x5eb13e(0x36f)][_0x5eb13e(0x371)]()[_0x5eb13e(0x30b)])(_0x538280[_0x5eb13e(0x3be)],null)||_0x538280[_0x5eb13e(0x3be)];return{..._0x538280,'mutations':_0x5910b0};});this[_0x43d875(0x1e2)](),this['_updateState'](this[_0x43d875(0x424)][_0x43d875(0x239)](_0x5bdcf1)),this[_0x43d875(0x31a)]();}[_0x225508(0x1e6)](){var _0x3d4449=_0x225508;this[_0x3d4449(0x1e2)](),this[_0x3d4449(0x2cc)](this[_0x3d4449(0x424)][_0x3d4449(0x181)]()),this[_0x3d4449(0x31a)]();}[_0x225508(0x1c1)](_0x5bdb00=!0x1){var _0x274787=_0x225508;this[_0x274787(0x1e2)](),this[_0x274787(0x2cc)](this['_state'][_0x274787(0x256)]()),this[_0x274787(0x31a)]();const _0x2f5b1f=this[_0x274787(0x424)];_0x5bdb00&&_0x2f5b1f instanceof Ne&&(this['_lockTransition'](),this['_updateState'](_0x2f5b1f[_0x274787(0x35f)]()),this['_unlockTransition']());}async[_0x225508(0x346)](){return new Promise(_0x28f1f8=>{var _0x417f76=_0x1e04;this['session']['sessionStatus$'][_0x417f76(0x1dc)](_0x3c6b39(0x1))['subscribe'](async _0x10a25a=>{var _0x2be6d8=_0x417f76;_0x28f1f8(await this[_0x2be6d8(0x46c)](_0x10a25a===Ee[_0x2be6d8(0x3a9)]));});});}[_0x225508(0x3df)](){const _0x249369=this['unitID'];return{'onStateChange':(_0x4fda8b,_0x50852e)=>{var _0xd68713=_0x1e04;if(_0x4fda8b!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4fda8b['status']+_0xd68713(0x1b1)+_0x50852e[_0xd68713(0x388)]+'\x0aCurrent:\x20'+this['_state'][_0xd68713(0x388)]);this['_updateState'](_0x50852e);},'onSendChangeset':_0x2309df=>{var _0x278b9b=_0x1e04;_0x2309df[_0x278b9b(0x267)]||(_0x2309df[_0x278b9b(0x267)]=this[_0x278b9b(0x34f)],_0x2309df[_0x278b9b(0x17b)]=++this[_0x278b9b(0x337)]);const _0x28c99b={'eventID':_0x3c1a33['SUBMIT_CHANGESET'],'data':{'unitID':_0x2309df[_0x278b9b(0x3b1)],'unitType':this[_0x278b9b(0x32e)],'changeset':_0x2309df,'memberID':this['session'][_0x278b9b(0x1e7)]()}};this[_0x278b9b(0x334)][_0x278b9b(0x2a4)](_0x28c99b,this[_0x278b9b(0x3b1)]);},'onMissingChangesets':({from:_0x6cd7e0,to:_0xa451e5})=>{var _0x2a9173=_0x1e04;this['_logService']['debug']('[CollaborationEntity]',_0x2a9173(0x3af)+_0x6cd7e0+_0x2a9173(0x362)+_0xa451e5);const _0x47b64d={'eventID':_0x3c1a33[_0x2a9173(0x190)],'data':{'unitID':_0x249369,'unitType':this[_0x2a9173(0x32e)],'from':_0x6cd7e0,'to':_0xa451e5}};this[_0x2a9173(0x334)][_0x2a9173(0x2a4)](_0x47b64d,this[_0x2a9173(0x3b1)]);}};}async[_0x225508(0x46c)](_0x5e19a9){var _0x570c5a=_0x225508,_0x126940,_0x42fe4f,_0x22c48c;const _0x4c88d9=await((_0x126940=this['_localCacheService'])==null?void 0x0:_0x126940['loadOfflineData'](this[_0x570c5a(0x3b1)])),_0x412290=(_0x42fe4f=_0x4c88d9==null?void 0x0:_0x4c88d9[_0x570c5a(0x3be)])!=null?_0x42fe4f:[],_0x1ce0b4=(_0x22c48c=_0x4c88d9==null?void 0x0:_0x4c88d9[_0x570c5a(0x432)])!=null?_0x22c48c:null,_0x4292d4=!!(_0x1ce0b4!=null&&_0x1ce0b4['sid'])&&!!(_0x1ce0b4!=null&&_0x1ce0b4['reqId']);this['_changesetSessionId']=_0x4292d4?_0x1ce0b4['sid']:Zn(),this[_0x570c5a(0x337)]=_0x4292d4?_0x1ce0b4[_0x570c5a(0x17b)]:0x0;const _0x26e481=this[_0x570c5a(0x3b1)];try{this[_0x570c5a(0x208)](_0x1ce0b4,_0x412290);}catch(_0x5358d8){this[_0x570c5a(0x2fe)][_0x570c5a(0x376)](_0x5358d8);}const _0x1cac56=this[_0x570c5a(0x3df)]();if(_0x5e19a9){const _0x1680de=yi(this[_0x570c5a(0x1e1)],_0x26e481,this[_0x570c5a(0x32e)],_0x1ce0b4,_0x412290,_0x1cac56);return _0x1680de instanceof ae?_0x1680de['_schedule']():(_0x1680de instanceof oe||_0x1680de instanceof le)&&_0x1680de[_0x570c5a(0x3c3)](),_0x1680de;}return this[_0x570c5a(0x1e1)]['createInstance'](de,_0x26e481,this[_0x570c5a(0x32e)],_0x1ce0b4,_0x412290,_0x1cac56);}['_replayCachedMutations'](_0x193581,_0x6750da){var _0x3c1196=_0x225508,_0x1dce37,_0x34568f;const _0x196ea1=this[_0x3c1196(0x467)][_0x3c1196(0x36f)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3c1196(0x36f)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1dce37=_0x196ea1((_0x193581==null?void 0x0:_0x193581[_0x3c1196(0x3be)])||[],null))==null||_0x1dce37[_0x3c1196(0x21b)](_0x40a68f=>this[_0x3c1196(0x45d)][_0x3c1196(0x255)](_0x40a68f['id'],_0x40a68f[_0x3c1196(0x418)])),(_0x34568f=_0x196ea1(_0x6750da||[],null))==null||_0x34568f[_0x3c1196(0x21b)](_0x30fd21=>this['_commandService'][_0x3c1196(0x255)](_0x30fd21['id'],_0x30fd21[_0x3c1196(0x418)]));}};nt=Lt([H(0x3,_0x59c5a0(_0x1f43c7)),H(0x4,_0x59c5a0(_0x53a952)),H(0x5,_0x59c5a0(_0x236a91)),H(0x6,_0x59c5a0(_0x3f05b9)),H(0x7,_0x59c5a0(pe)),H(0x8,_0x4017e6),H(0x9,_0x171c01),H(0xa,_0x52947d),H(0xb,_0x182985(ht)),H(0xc,_0x182985(J))],nt);let It=class extends nt{constructor(_0x50dd22,_0x2c9dd2,_0x4e7b10,_0x568698,_0x2a4bc4,_0xa0e444,_0x37928a,_0x3cd2c1,_0x7f39c3,_0x49ee0b,_0x220066,_0x15c433,_0x6b3d51){var _0x2e21bc=_0x225508;super(_0x50dd22,_0x4e7b10,_0x2c9dd2,_0x568698,_0x2a4bc4,_0xa0e444,_0x37928a,_0x3cd2c1,_0x7f39c3,_0x49ee0b,_0x220066,_0x15c433,_0x6b3d51),N(this,_0x2e21bc(0x310),null),(this[_0x2e21bc(0x3b1)]=_0x50dd22,this[_0x2e21bc(0x219)]=_0x2c9dd2);}[_0x225508(0x325)](_0x223aeb){var _0x4b555e=_0x225508;this[_0x4b555e(0x310)]=_0x223aeb;}[_0x225508(0x355)](){var _0x3e6b83=_0x225508;this[_0x3e6b83(0x310)]=null,super[_0x3e6b83(0x355)]();}['_createHandler'](){var _0x5e8190=_0x225508;const _0x288834=super[_0x5e8190(0x3df)]();return _0x288834['onTransformIME']=_0x1f2815=>{var _0x5e0abf=_0x5e8190,_0x14fc8b,_0x3cdb3d;return(_0x3cdb3d=(_0x14fc8b=this['_handlerCallback'])==null?void 0x0:_0x14fc8b[_0x5e0abf(0x17f)])==null?void 0x0:_0x3cdb3d[_0x5e0abf(0x3db)](_0x14fc8b,_0x1f2815);},_0x288834[_0x5e8190(0x364)]=_0x15ca55=>{var _0x1123b7=_0x5e8190,_0x5d7940,_0x3a600f;return(_0x3a600f=(_0x5d7940=this[_0x1123b7(0x310)])==null?void 0x0:_0x5d7940[_0x1123b7(0x364)])==null?void 0x0:_0x3a600f[_0x1123b7(0x3db)](_0x5d7940,_0x15ca55);},_0x288834[_0x5e8190(0x3e6)]=_0x5ccbc4=>{var _0x55183f=_0x5e8190,_0x557fb9,_0x5406c7;return(_0x5406c7=(_0x557fb9=this[_0x55183f(0x310)])==null?void 0x0:_0x557fb9[_0x55183f(0x3e6)])==null?void 0x0:_0x5406c7['call'](_0x557fb9,_0x5ccbc4);},_0x288834[_0x5e8190(0x358)]=_0x12492d=>{var _0x3ec5bb=_0x5e8190,_0x20f4a9,_0x5b12a0;return(_0x5b12a0=(_0x20f4a9=this[_0x3ec5bb(0x310)])==null?void 0x0:_0x20f4a9[_0x3ec5bb(0x358)])==null?void 0x0:_0x5b12a0['call'](_0x20f4a9,_0x12492d);},_0x288834[_0x5e8190(0x226)]=_0x376bf7=>{var _0x3f8754=_0x5e8190,_0x51e039,_0xacc071,_0x15748f;if(!((_0x51e039=this['_handlerCallback'])!=null&&_0x51e039[_0x3f8754(0x226)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x15748f=(_0xacc071=this[_0x3f8754(0x310)])==null?void 0x0:_0xacc071['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x15748f[_0x3f8754(0x3db)](_0xacc071,_0x376bf7);},_0x288834[_0x5e8190(0x1d7)]=_0x15df12=>{var _0x3bf66a=_0x5e8190,_0x51e867,_0x13ee9f,_0x58ecb3;if(!((_0x51e867=this[_0x3bf66a(0x310)])!=null&&_0x51e867['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3bf66a(0x230));return(_0x58ecb3=(_0x13ee9f=this[_0x3bf66a(0x310)])==null?void 0x0:_0x13ee9f[_0x3bf66a(0x1d7)])==null?void 0x0:_0x58ecb3['call'](_0x13ee9f,_0x15df12);},_0x288834;}async['_init'](){var _0x50ca38=_0x225508;const _0x11f81f=await super[_0x50ca38(0x33f)]();return this[_0x50ca38(0x28d)](this[_0x50ca38(0x45d)]['onCommandExecuted']((_0x18f2f4,_0xaa2d9d)=>{var _0x207892=_0x50ca38;if(_0x18f2f4[_0x207892(0x219)]!==_0x3dc4e2[_0x207892(0x1de)]||_0xaa2d9d!=null&&_0xaa2d9d[_0x207892(0x3ce)]||_0xaa2d9d!=null&&_0xaa2d9d['onlyLocal']||_0x18f2f4['id']===_0x5c3dc0['id'])return;const _0x2783dd=_0x18f2f4['params'];if((_0x2783dd==null?void 0x0:_0x2783dd[_0x207892(0x3ec)])!==this[_0x207892(0x3b1)])return;const _0x7760a6=_0x18f2f4,_0x87abd3=this['_compressMutationService'][_0x207892(0x36f)][_0x207892(0x20e)](this[_0x207892(0x467)][_0x207892(0x36f)][_0x207892(0x371)]()[_0x207892(0x32f)])([_0x7760a6],null)||[_0x7760a6];this[_0x207892(0x341)](_0x87abd3[0x0]);})),_0x11f81f;}};It=Lt([H(0x3,_0x59c5a0(_0x1f43c7)),H(0x4,_0x59c5a0(_0x53a952)),H(0x5,_0x59c5a0(_0x236a91)),H(0x6,_0x59c5a0(_0x3f05b9)),H(0x7,_0x59c5a0(pe)),H(0x8,_0x4017e6),H(0x9,_0x171c01),H(0xa,_0x52947d),H(0xb,_0x182985(ht)),H(0xc,_0x182985(J))],It);let Tt=class extends nt{constructor(_0x4b4755,_0x3b2a28,_0x40c518,_0x35d96b,_0x13e1c6,_0x42827e,_0x2a6926,_0x249f69,_0x24c95e,_0x2d8215,_0x181677,_0x379eb3,_0x3c5c4d,_0x1c09bf){var _0x116d07=_0x225508;super(_0x4b4755,_0x40c518,_0x3b2a28,_0x35d96b,_0x13e1c6,_0x42827e,_0x2a6926,_0x24c95e,_0x2d8215,_0x181677,_0x379eb3,_0x3c5c4d,_0x1c09bf),this[_0x116d07(0x3b1)]=_0x4b4755,this['type']=_0x3b2a28,this[_0x116d07(0x2c8)]=_0x249f69;}[_0x225508(0x3df)](){var _0x5b2ff3=_0x225508;const _0x24a350=super[_0x5b2ff3(0x3df)]();return _0x24a350[_0x5b2ff3(0x3e6)]=_0x3deea8=>this[_0x5b2ff3(0x2c8)][_0x5b2ff3(0x3b5)](_0x3deea8),_0x24a350;}async['_init'](){var _0x47fee2=_0x225508;const _0x1d2657=await super['_init']();return this[_0x47fee2(0x28d)](this[_0x47fee2(0x45d)]['onCommandExecuted']((_0xc58d2b,_0xc182ff)=>{var _0x4aae9d=_0x47fee2;if(_0xc58d2b[_0x4aae9d(0x219)]!==_0x3dc4e2[_0x4aae9d(0x1de)]||_0xc182ff!=null&&_0xc182ff[_0x4aae9d(0x3ce)]||_0xc182ff!=null&&_0xc182ff['onlyLocal'])return;const _0xb6fa8c=_0xc58d2b[_0x4aae9d(0x418)];if((_0xb6fa8c==null?void 0x0:_0xb6fa8c[_0x4aae9d(0x3ec)])!==this[_0x4aae9d(0x3b1)])return;const _0x450f47=_0xc58d2b,_0x2e8780=this['_compressMutationService'][_0x4aae9d(0x36f)][_0x4aae9d(0x20e)](this[_0x4aae9d(0x467)][_0x4aae9d(0x36f)][_0x4aae9d(0x371)]()[_0x4aae9d(0x32f)])([_0x450f47],null)||[_0x450f47];this['_onLocalMutation'](_0x2e8780[0x0]);})),_0x1d2657;}};Tt=Lt([H(0x3,_0x59c5a0(_0x1f43c7)),H(0x4,_0x59c5a0(_0x53a952)),H(0x5,_0x59c5a0(_0x236a91)),H(0x6,_0x59c5a0(_0x3f05b9)),H(0x7,_0x59c5a0(it)),H(0x8,_0x59c5a0(pe)),H(0x9,_0x4017e6),H(0xa,_0x171c01),H(0xb,_0x52947d),H(0xc,_0x182985(ht)),H(0xd,_0x182985(J))],Tt);var os=Object[_0x225508(0x3dd)],cs=(_0x544fb2,_0x26b885,_0x3ebf8c,_0x3a1836)=>{var _0x388ebe=_0x225508;for(var _0x3872ea=_0x3a1836>0x1?void 0x0:_0x3a1836?os(_0x26b885,_0x3ebf8c):_0x26b885,_0x480a6f=_0x544fb2[_0x388ebe(0x348)]-0x1,_0x4cd669;_0x480a6f>=0x0;_0x480a6f--)(_0x4cd669=_0x544fb2[_0x480a6f])&&(_0x3872ea=_0x4cd669(_0x3872ea)||_0x3872ea);return _0x3872ea;},ft=(_0x562c27,_0x11de77)=>(_0xddd55f,_0x314f14)=>_0x11de77(_0xddd55f,_0x314f14,_0x562c27);let st=class extends _0xbb1137{constructor(_0x452fb9,_0x4d4281,_0x1c528c){var _0x41ca45=_0x225508;super(),N(this,_0x41ca45(0x477),new Map()),N(this,_0x41ca45(0x1e5),new _0x7a0b0d()),N(this,_0x41ca45(0x3f6),this[_0x41ca45(0x1e5)][_0x41ca45(0x1c9)]()),(this[_0x41ca45(0x1e1)]=_0x452fb9,this[_0x41ca45(0x42e)]=_0x4d4281,this[_0x41ca45(0x1f5)]=_0x1c528c,this[_0x41ca45(0x33f)]());}['dispose'](){var _0x1be1ca=_0x225508;super[_0x1be1ca(0x355)](),this[_0x1be1ca(0x477)]['forEach'](_0xcbe4e5=>_0xcbe4e5[_0x1be1ca(0x355)]()),this['_entities'][_0x1be1ca(0x34b)]();}['getCollabEntity'](_0x337e63){var _0x3bb391=_0x225508,_0x1fb339;return(_0x1fb339=this[_0x3bb391(0x477)]['get'](_0x337e63))!=null?_0x1fb339:null;}['getCollabEntity$'](_0x20719b){var _0x2987f7=_0x225508;const _0x3dd9e9=this[_0x2987f7(0x205)](_0x20719b);return _0x3dd9e9?_0x47cd70(_0x3dd9e9):this['_entityInit$'][_0x2987f7(0x1dc)](_0x3495eb(_0x111d5e=>_0x111d5e[_0x2987f7(0x3b1)]===_0x20719b));}[_0x225508(0x252)](_0x5af404){var _0x4fa708=_0x225508;return _0x2ebee8(this[_0x4fa708(0x16e)](_0x5af404)['pipe'](_0x4cad8a(()=>{})));}[_0x225508(0x33f)](){var _0x3a91bd=_0x225508;this[_0x3a91bd(0x1f5)][_0x3a91bd(0x302)](_0x1a0c97['UNIVER_SHEET'])['pipe'](_0x42950a(this[_0x3a91bd(0x33d)]),_0x1a6441(0x10))[_0x3a91bd(0x1df)](async _0x1dd608=>{var _0x5f0512=_0x3a91bd;const _0x4aabdb=_0x1dd608[_0x5f0512(0x398)](),_0x507141=await this[_0x5f0512(0x27d)](_0x4aabdb,Q[_0x5f0512(0x409)]);this['_entities'][_0x5f0512(0x26c)](_0x4aabdb,_0x507141);}),this[_0x3a91bd(0x1f5)][_0x3a91bd(0x302)](_0x1a0c97[_0x3a91bd(0x2e1)])[_0x3a91bd(0x1dc)](_0x42950a(this[_0x3a91bd(0x33d)]),_0x1a6441(0x10))[_0x3a91bd(0x1dc)](_0x3495eb(_0x21e634=>!_0x21e634[_0x3a91bd(0x398)]()[_0x3a91bd(0x439)]('__')))[_0x3a91bd(0x1df)](async _0x3f3411=>{var _0x3db3a2=_0x3a91bd;const _0x4f3643=_0x3f3411[_0x3db3a2(0x398)](),_0x3d3e7b=await this[_0x3db3a2(0x27d)](_0x4f3643,Q[_0x3db3a2(0x2e1)]);this[_0x3db3a2(0x477)][_0x3db3a2(0x26c)](_0x4f3643,_0x3d3e7b);}),_0x3e5ef6(this[_0x3a91bd(0x1f5)][_0x3a91bd(0x1cb)](_0x1a0c97[_0x3a91bd(0x409)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1a0c97[_0x3a91bd(0x2e1)]))['pipe'](_0x42950a(this[_0x3a91bd(0x33d)]))[_0x3a91bd(0x1df)](_0x4a58f6=>{var _0x124312=_0x3a91bd;const _0x3ea361=_0x4a58f6[_0x124312(0x398)](),_0x93516d=this[_0x124312(0x477)][_0x124312(0x2a2)](_0x3ea361);_0x93516d&&(_0x93516d[_0x124312(0x355)](),this[_0x124312(0x477)][_0x124312(0x213)](_0x3ea361));});}async[_0x225508(0x27d)](_0x575591,_0x5de389){var _0x111c41=_0x225508;const _0x5acecf=await this['_collabSessionService'][_0x111c41(0x200)](_0x575591),_0x5d2a99=this[_0x111c41(0x1e1)]['createInstance'](this['_getCtorByUniverType'](_0x5de389),_0x575591,_0x5de389,_0x5acecf);return await _0x5d2a99['init'](),this[_0x111c41(0x1e5)]['next'](_0x5d2a99),_0x5d2a99;}[_0x225508(0x2c7)](_0x106119){var _0x2b6bca=_0x225508;switch(_0x106119){case Q[_0x2b6bca(0x2e1)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x2b6bca(0x19c)+_0x106119);}}};st=cs([ft(0x0,_0x59c5a0(_0x1f43c7)),ft(0x1,_0x59c5a0(xe)),ft(0x2,_0x5db9d5)],st);var hs=Object[_0x225508(0x3dd)],_s=(_0x1ad711,_0x5e6b5d,_0x50a706,_0x17bd76)=>{var _0x449aaa=_0x225508;for(var _0x2b0ec4=_0x17bd76>0x1?void 0x0:_0x17bd76?hs(_0x5e6b5d,_0x50a706):_0x5e6b5d,_0x301661=_0x1ad711[_0x449aaa(0x348)]-0x1,_0x38fe64;_0x301661>=0x0;_0x301661--)(_0x38fe64=_0x1ad711[_0x301661])&&(_0x2b0ec4=_0x38fe64(_0x2b0ec4)||_0x2b0ec4);return _0x2b0ec4;},zt=(_0x18520c,_0x3f0096)=>(_0x25e0dd,_0x2c209d)=>_0x3f0096(_0x25e0dd,_0x2c209d,_0x18520c);const ls=_0x225508(0x2eb),us=_0x225508(0x1a7);let Ct=class extends _0x31b068{constructor(_0xe35f86,_0x3d916c){var _0x85cbe1=_0x225508;super(),this[_0x85cbe1(0x1f5)]=_0xe35f86,this[_0x85cbe1(0x2a3)]=_0x3d916c,this[_0x85cbe1(0x33f)]();}[_0x225508(0x33f)](){var _0x1cec5c=_0x225508;this[_0x1cec5c(0x28d)](this[_0x1cec5c(0x1f5)][_0x1cec5c(0x451)][_0x1cec5c(0x1df)](()=>{var _0x49442e=_0x1cec5c,_0x4eab38;const _0x4de9d3=this['_univerInstanceService'][_0x49442e(0x45e)]();let _0x2697ee=(_0x4eab38=this['_configService'][_0x49442e(0x202)](ls))!=null?_0x4eab38:us;_0x4de9d3 instanceof _0x2791cc&&(_0x2697ee=_0x4de9d3[_0x49442e(0x1e8)]),document[_0x49442e(0x214)]=_0x2697ee;}));}};Ct=_s([zt(0x0,_0x5db9d5),zt(0x1,_0x299d0c)],Ct);var ds=Object[_0x225508(0x3dd)],fs=(_0x13f8bb,_0x58247a,_0x59cd56,_0x367547)=>{var _0x24cc15=_0x225508;for(var _0x502814=_0x367547>0x1?void 0x0:_0x367547?ds(_0x58247a,_0x59cd56):_0x58247a,_0x12e963=_0x13f8bb[_0x24cc15(0x348)]-0x1,_0x2ce712;_0x12e963>=0x0;_0x12e963--)(_0x2ce712=_0x13f8bb[_0x12e963])&&(_0x502814=_0x2ce712(_0x502814)||_0x502814);return _0x502814;},vt=(_0x18022,_0x5d62c3)=>(_0x534a99,_0x5a1387)=>_0x5d62c3(_0x534a99,_0x5a1387,_0x18022);let rt=class{constructor(_0x2cce76,_0x4edeeb,_0x54d424){var _0x39c0bf=_0x225508;this[_0x39c0bf(0x2a3)]=_0x2cce76,this[_0x39c0bf(0x3aa)]=_0x4edeeb,this[_0x39c0bf(0x459)]=_0x54d424,this['init']();}[_0x225508(0x1b3)](){var _0x280f80=_0x225508;this[_0x280f80(0x3aa)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xe340a8,_0x385033)=>_0x385033(_0xe340a8)[_0x280f80(0x1dc)](_0x5b1340(async _0x40a27b=>{var _0x4e58a0=_0x280f80;const _0x554ca0=_0x40a27b;if(_0x554ca0[_0x4e58a0(0x388)]===0x191){if(typeof window>'u')throw new Error(_0x4e58a0(0x281));if(window[_0x4e58a0(0x3ca)](this[_0x4e58a0(0x459)]['t'](_0x4e58a0(0x2f5)))){const _0x1ce4f9=window['encodeURIComponent'](window[_0x4e58a0(0x34a)][_0x4e58a0(0x368)]);window[_0x4e58a0(0x34a)][_0x4e58a0(0x368)]=this[_0x4e58a0(0x397)]()+'?url='+_0x1ce4f9;}}return _0x554ca0;}))});}[_0x225508(0x397)](){var _0x4a62b7=_0x225508,_0x2a8515,_0x716c68;const _0x3aef0e=this[_0x4a62b7(0x2a3)][_0x4a62b7(0x202)](Un),_0x2d4af2=this[_0x4a62b7(0x2a3)][_0x4a62b7(0x202)](q);return(_0x716c68=(_0x2a8515=_0x2d4af2==null?void 0x0:_0x2d4af2[_0x4a62b7(0x1b9)])!=null?_0x2a8515:_0x3aef0e)!=null?_0x716c68:An;}};rt=fs([vt(0x0,_0x299d0c),vt(0x1,_0x59c5a0(_0x33df68)),vt(0x2,_0x59c5a0(_0x236a91))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x957930,_0x39300d,_0x3b93f7,_0x232b39)=>{var _0x5bdff1=_0x225508;for(var _0x1c95b7=_0x232b39>0x1?void 0x0:_0x232b39?vs(_0x39300d,_0x3b93f7):_0x39300d,_0x537b5b=_0x957930[_0x5bdff1(0x348)]-0x1,_0xb6b015;_0x537b5b>=0x0;_0x537b5b--)(_0xb6b015=_0x957930[_0x537b5b])&&(_0x1c95b7=_0xb6b015(_0x1c95b7)||_0x1c95b7);return _0x1c95b7;},Jt=(_0x1d1064,_0x4e2bfd)=>(_0x8b2b4b,_0x5ddbd7)=>_0x4e2bfd(_0x8b2b4b,_0x5ddbd7,_0x1d1064);const Ni=_0x225508(0x1ba),ms=_0x225508(0x17e);let Rt=class extends _0x31b068{constructor(_0x51f1d7,_0x1227c7){var _0x53dcca=_0x225508;super(),this[_0x53dcca(0x46d)]=_0x51f1d7,this[_0x53dcca(0x2a3)]=_0x1227c7,this['_initMergeInterceptor']();}[_0x225508(0x193)](){var _0x1f77cb=_0x225508;const _0x376722=this;this[_0x1f77cb(0x28d)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xa66d9({'isMatch'(_0x455c23){var _0x49ebc4=_0x1f77cb,_0x4c05cb;if(_0x455c23[_0x49ebc4(0x24d)]==='POST'&&((_0x4c05cb=_0x455c23['requestParams'])!=null&&_0x4c05cb['body'])){const {objectID:_0x21ee85,objectType:_0x16fe78}=_0x455c23[_0x49ebc4(0x45b)][_0x49ebc4(0x1bb)]||{};if(!_0x21ee85||_0x16fe78===void 0x0)return!0x1;const _0x5abcfe=_0x376722[_0x49ebc4(0x30e)]()+'/'+_0x16fe78+_0x49ebc4(0x3b7)+_0x21ee85+'/allowed';if(_0x455c23[_0x49ebc4(0x411)]===_0x5abcfe)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bfb5b){var _0x4a14c4=_0x1f77cb,_0x22747a;return(_0x22747a=_0x1bfb5b[_0x4a14c4(0x45b)])==null?void 0x0:_0x22747a[_0x4a14c4(0x1bb)];},'mergeParamsToRequest'(_0x120d45,_0x10df86){var _0x3cce82=_0x1f77cb;const _0x3daf00=_0x376722[_0x3cce82(0x30e)]()+_0x3cce82(0x1ae),_0x5a88fd=_0x120d45[_0x3cce82(0x316)]((_0x3c2bb5,_0xd47bcd)=>{var _0x4e61ac=_0x3cce82;const {unitID:_0x30a416,objectID:_0xe68d0e,objectType:_0x485eec,actions:_0x1a1e94}=_0xd47bcd;return _0x3c2bb5[_0x30a416]||(_0x3c2bb5[_0x30a416]={}),_0x3c2bb5[_0x30a416][_0xe68d0e]||(_0x3c2bb5[_0x30a416][_0xe68d0e]={'objectID':_0xe68d0e,'objectType':_0x485eec,'actions':[]}),_0x3c2bb5[_0x30a416][_0xe68d0e][_0x4e61ac(0x18b)][_0x4e61ac(0x3c4)](..._0x1a1e94),_0x3c2bb5;},{}),_0x631658=[];for(const _0x5de479 in _0x5a88fd)for(const _0x52198b in _0x5a88fd[_0x5de479]){const {actions:_0x1d0515,objectType:_0x1ead22}=_0x5a88fd[_0x5de479][_0x52198b],_0x515d6b=[...new Set(_0x1d0515)];_0x631658[_0x3cce82(0x3c4)]({'unitID':_0x5de479,'objectID':_0x52198b,'objectType':_0x1ead22,'actions':_0x515d6b});}return new _0x434b5a(_0x3cce82(0x450),_0x3daf00,{'headers':_0x10df86[_0x3cce82(0x305)],'withCredentials':_0x10df86[_0x3cce82(0x35b)],'responseType':_0x10df86['responseType'],'body':{'requests':_0x631658}});}},{'distributeResult'(_0xf57256,_0x479c8b){var _0x27b340=_0x1f77cb;const {objectActions:_0x1e9fe1}=_0xf57256;return _0x479c8b[_0x27b340(0x393)](_0x40aff8=>{var _0x567ba4=_0x27b340;const {unitID:_0x259f44,objectID:_0x1178ae,actions:_0x9e805e}=_0x40aff8,_0x278a10=_0x1e9fe1[_0x567ba4(0x1c3)](_0x7c6a3b=>_0x7c6a3b[_0x567ba4(0x3b1)]===_0x259f44&&_0x7c6a3b['objectID']===_0x1178ae),_0xe52b60=_0x9e805e[_0x567ba4(0x393)](_0x7ade54=>_0x278a10==null?void 0x0:_0x278a10[_0x567ba4(0x18b)][_0x567ba4(0x1c3)](_0x38e1b9=>_0x38e1b9[_0x567ba4(0x1fc)]===_0x7ade54))['filter'](_0x5b763f=>!!_0x5b763f);return{'config':_0x40aff8,'result':{'actions':_0xe52b60,'error':_0xf57256['error']}};});}})}));}[_0x225508(0x30e)](){var _0x1647f1=_0x225508,_0xacfdb7,_0x4774ba;const _0x5b36cf=this[_0x1647f1(0x2a3)][_0x1647f1(0x202)](Ni),_0x2892cd=this[_0x1647f1(0x2a3)]['getConfig'](q);return(_0x4774ba=(_0xacfdb7=_0x2892cd==null?void 0x0:_0x2892cd[_0x1647f1(0x331)])!=null?_0xacfdb7:_0x5b36cf)!=null?_0x4774ba:ms;}async[_0x225508(0x3c0)](_0x112e2a){var _0x143ba0=_0x225508;const _0x57bb30=this['_getAPIPrefixPath']()+'/'+_0x112e2a[_0x143ba0(0x3c1)]+_0x143ba0(0x269);return(await this[_0x143ba0(0x46d)]['post'](_0x57bb30,{'body':_0x112e2a}))[_0x143ba0(0x1bb)][_0x143ba0(0x218)]||'';}async['list'](_0x2e0bfa){var _0x42ae67=_0x225508;const _0x5ce2ba=this[_0x42ae67(0x30e)]()+_0x42ae67(0x176);return(await this['_HTTPService'][_0x42ae67(0x277)](_0x5ce2ba,{'body':_0x2e0bfa}))['body'][_0x42ae67(0x3a1)];}async[_0x225508(0x1bf)](_0x50933b){var _0x205220=_0x225508,_0x42e870,_0x59c7a5;const _0x2ccaf3=this[_0x205220(0x30e)]()+'/'+_0x50933b['objectType']+_0x205220(0x3b7)+_0x50933b['objectID'],_0x27a32c=await this[_0x205220(0x46d)]['put'](_0x2ccaf3,{'body':_0x50933b});if(((_0x59c7a5=(_0x42e870=_0x27a32c==null?void 0x0:_0x27a32c[_0x205220(0x1bb)])==null?void 0x0:_0x42e870['error'])==null?void 0x0:_0x59c7a5[_0x205220(0x29c)])!==0x1)throw new Error(_0x205220(0x3e0));}async[_0x225508(0x1c2)](_0x48e714){var _0x1b861d=_0x225508;const _0x3ffe80=this[_0x1b861d(0x30e)]()+'/'+_0x48e714[_0x1b861d(0x3c1)]+_0x1b861d(0x3b7)+_0x48e714[_0x1b861d(0x218)]+'/allowed';return(await this[_0x1b861d(0x46d)]['post'](_0x3ffe80,{'body':_0x48e714}))[_0x1b861d(0x1bb)][_0x1b861d(0x18b)];}async['batchAllowed'](_0x1ebec7){var _0x1327a7=_0x225508;const _0x5c64f0=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x1327a7(0x46d)][_0x1327a7(0x277)](_0x5c64f0,{'body':{'requests':_0x1ebec7}}))[_0x1327a7(0x1bb)]['objectActions'];}async[_0x225508(0x3e8)](_0x51fb83){var _0xc0bc18=_0x225508;const _0x47070d=this[_0xc0bc18(0x30e)]()+'/'+_0x51fb83[_0xc0bc18(0x3c1)]+_0xc0bc18(0x456),_0x578e6f=await this[_0xc0bc18(0x46d)][_0xc0bc18(0x277)](_0x47070d,{'body':_0x51fb83});return{'roles':_0x578e6f[_0xc0bc18(0x1bb)][_0xc0bc18(0x410)],'actions':_0x578e6f[_0xc0bc18(0x1bb)][_0xc0bc18(0x18b)]};}async[_0x225508(0x2af)](_0x53db45){var _0x2b554d=_0x225508;const _0x1336f8=this[_0x2b554d(0x30e)]()+_0x2b554d(0x2ba);await this['_HTTPService'][_0x2b554d(0x213)](_0x1336f8,{'params':{'collaboratorID':_0x53db45[_0x2b554d(0x2d5)],'objectID':_0x53db45[_0x2b554d(0x218)],'unitID':_0x53db45[_0x2b554d(0x3b1)]}});}async[_0x225508(0x415)](_0x10adb9){var _0x404acc=_0x225508;const _0xe8842a=this[_0x404acc(0x30e)]()+_0x404acc(0x2ba);await this[_0x404acc(0x46d)][_0x404acc(0x41f)](_0xe8842a,{'body':_0x10adb9});}async['createCollaborator'](_0x35e6fa){var _0x29ec46=_0x225508;const _0x1b13cd=this[_0x29ec46(0x30e)]()+'/collaborator';await this[_0x29ec46(0x46d)][_0x29ec46(0x277)](_0x1b13cd,{'body':_0x35e6fa});}async[_0x225508(0x378)](_0xf3dc51){var _0x22e955=_0x225508;const _0x1614a7=this['_getAPIPrefixPath']()+_0x22e955(0x2ba);return(await this['_HTTPService']['get'](_0x1614a7,{'params':{'objectID':_0xf3dc51[_0x22e955(0x218)],'unitID':_0xf3dc51[_0x22e955(0x3b1)]}}))[_0x22e955(0x1bb)][_0x22e955(0x2c3)];}async[_0x225508(0x26d)](_0x5bbe14){var _0x589599=_0x225508;const _0x1c4a1f=this[_0x589599(0x30e)]()+_0x589599(0x2ba);await this['_HTTPService']['put'](_0x1c4a1f,{'body':_0x5bbe14});}};Rt=ps([Jt(0x0,_0x59c5a0(_0x33df68)),Jt(0x1,_0x59c5a0(_0x299d0c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x33e4bb){var _0x439351=_0x225508;return _0x33e4bb&&_0x33e4bb['__esModule']&&Object[_0x439351(0x35c)][_0x439351(0x199)]['call'](_0x33e4bb,'default')?_0x33e4bb[_0x439351(0x2e2)]:_0x33e4bb;}var Ve={'exports':{}};function gs(_0x1572b1){var _0x18f644=_0x225508;throw new Error(_0x18f644(0x24f)+_0x1572b1+_0x18f644(0x27b));}var Ge={'exports':{}},Ss=Ge[_0x225508(0x3cf)],Xt;function ie(){var _0x559ba5=_0x225508;return Xt||(Xt=0x1,function(_0x29666e,_0x1e88ae){(function(_0x2c1480,_0x195ce3){_0x29666e['exports']=_0x195ce3();}(Ss,function(){var _0x376e17=_0x376e17||function(_0xd785d8,_0x4cdf1f){var _0xa4f459=_0x1e04,_0x465c31;if(typeof window<'u'&&window[_0xa4f459(0x399)]&&(_0x465c31=window[_0xa4f459(0x399)]),typeof self<'u'&&self[_0xa4f459(0x399)]&&(_0x465c31=self['crypto']),typeof globalThis<'u'&&globalThis[_0xa4f459(0x399)]&&(_0x465c31=globalThis[_0xa4f459(0x399)]),!_0x465c31&&typeof window<'u'&&window[_0xa4f459(0x3ae)]&&(_0x465c31=window[_0xa4f459(0x3ae)]),!_0x465c31&&typeof pt<'u'&&pt[_0xa4f459(0x399)]&&(_0x465c31=pt[_0xa4f459(0x399)]),!_0x465c31&&typeof gs=='function')try{_0x465c31=require(_0xa4f459(0x399));}catch{}var _0x260963=function(){var _0xa56cc=_0xa4f459;if(_0x465c31){if(typeof _0x465c31[_0xa56cc(0x185)]==_0xa56cc(0x300))try{return _0x465c31[_0xa56cc(0x185)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x465c31['randomBytes']==_0xa56cc(0x300))try{return _0x465c31[_0xa56cc(0x386)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xa56cc(0x33c));},_0x3fa1d4=Object[_0xa4f459(0x3c0)]||(function(){function _0x4ecea5(){}return function(_0x2a380d){var _0x5385e8=_0x1e04,_0x1edecc;return _0x4ecea5[_0x5385e8(0x35c)]=_0x2a380d,_0x1edecc=new _0x4ecea5(),_0x4ecea5['prototype']=null,_0x1edecc;};}()),_0x293350={},_0x5dccb7=_0x293350['lib']={},_0x58bb23=_0x5dccb7['Base']=(function(){return{'extend':function(_0x27d1c7){var _0x52bc12=_0x1e04,_0x410cfb=_0x3fa1d4(this);return _0x27d1c7&&_0x410cfb[_0x52bc12(0x319)](_0x27d1c7),(!_0x410cfb['hasOwnProperty']('init')||this[_0x52bc12(0x1b3)]===_0x410cfb['init'])&&(_0x410cfb[_0x52bc12(0x1b3)]=function(){var _0x1782e5=_0x52bc12;_0x410cfb[_0x1782e5(0x3c9)][_0x1782e5(0x1b3)][_0x1782e5(0x38f)](this,arguments);}),_0x410cfb[_0x52bc12(0x1b3)][_0x52bc12(0x35c)]=_0x410cfb,_0x410cfb[_0x52bc12(0x3c9)]=this,_0x410cfb;},'create':function(){var _0x203b4d=_0x1e04,_0x1c6cb2=this[_0x203b4d(0x309)]();return _0x1c6cb2[_0x203b4d(0x1b3)]['apply'](_0x1c6cb2,arguments),_0x1c6cb2;},'init':function(){},'mixIn':function(_0x477992){var _0x1aba60=_0x1e04;for(var _0x31a9e5 in _0x477992)_0x477992[_0x1aba60(0x199)](_0x31a9e5)&&(this[_0x31a9e5]=_0x477992[_0x31a9e5]);_0x477992[_0x1aba60(0x199)](_0x1aba60(0x29f))&&(this[_0x1aba60(0x29f)]=_0x477992[_0x1aba60(0x29f)]);},'clone':function(){var _0x1ad747=_0x1e04;return this[_0x1ad747(0x1b3)]['prototype'][_0x1ad747(0x309)](this);}};}()),_0x129502=_0x5dccb7['WordArray']=_0x58bb23['extend']({'init':function(_0x570d04,_0x28fddb){var _0x563c7c=_0xa4f459;_0x570d04=this[_0x563c7c(0x2e7)]=_0x570d04||[],_0x28fddb!=_0x4cdf1f?this[_0x563c7c(0x1ec)]=_0x28fddb:this[_0x563c7c(0x1ec)]=_0x570d04[_0x563c7c(0x348)]*0x4;},'toString':function(_0x1374dd){var _0x2e13f0=_0xa4f459;return(_0x1374dd||_0x137333)[_0x2e13f0(0x363)](this);},'concat':function(_0x380bd3){var _0x47eed8=_0xa4f459,_0x591476=this[_0x47eed8(0x2e7)],_0x4b6747=_0x380bd3[_0x47eed8(0x2e7)],_0x599184=this[_0x47eed8(0x1ec)],_0x37a837=_0x380bd3[_0x47eed8(0x1ec)];if(this[_0x47eed8(0x34e)](),_0x599184%0x4)for(var _0x18a52c=0x0;_0x18a52c<_0x37a837;_0x18a52c++){var _0x53961e=_0x4b6747[_0x18a52c>>>0x2]>>>0x18-_0x18a52c%0x4*0x8&0xff;_0x591476[_0x599184+_0x18a52c>>>0x2]|=_0x53961e<<0x18-(_0x599184+_0x18a52c)%0x4*0x8;}else{for(var _0x10b42b=0x0;_0x10b42b<_0x37a837;_0x10b42b+=0x4)_0x591476[_0x599184+_0x10b42b>>>0x2]=_0x4b6747[_0x10b42b>>>0x2];}return this[_0x47eed8(0x1ec)]+=_0x37a837,this;},'clamp':function(){var _0x4020a1=_0xa4f459,_0x254489=this[_0x4020a1(0x2e7)],_0x35c00e=this[_0x4020a1(0x1ec)];_0x254489[_0x35c00e>>>0x2]&=0xffffffff<<0x20-_0x35c00e%0x4*0x8,_0x254489['length']=_0xd785d8[_0x4020a1(0x288)](_0x35c00e/0x4);},'clone':function(){var _0x125ba8=_0xa4f459,_0x1e125c=_0x58bb23[_0x125ba8(0x31c)]['call'](this);return _0x1e125c[_0x125ba8(0x2e7)]=this['words'][_0x125ba8(0x1d8)](0x0),_0x1e125c;},'random':function(_0x16ed90){var _0x46a06b=_0xa4f459;for(var _0x2af893=[],_0x31117c=0x0;_0x31117c<_0x16ed90;_0x31117c+=0x4)_0x2af893[_0x46a06b(0x3c4)](_0x260963());return new _0x129502[(_0x46a06b(0x1b3))](_0x2af893,_0x16ed90);}}),_0x47af2d=_0x293350['enc']={},_0x137333=_0x47af2d[_0xa4f459(0x3bf)]={'stringify':function(_0x41a7ca){var _0x1a8c66=_0xa4f459;for(var _0xbc6163=_0x41a7ca[_0x1a8c66(0x2e7)],_0x4b8d1b=_0x41a7ca['sigBytes'],_0x3cca6e=[],_0x3778e3=0x0;_0x3778e3<_0x4b8d1b;_0x3778e3++){var _0x5428cc=_0xbc6163[_0x3778e3>>>0x2]>>>0x18-_0x3778e3%0x4*0x8&0xff;_0x3cca6e['push']((_0x5428cc>>>0x4)[_0x1a8c66(0x29f)](0x10)),_0x3cca6e['push']((_0x5428cc&0xf)[_0x1a8c66(0x29f)](0x10));}return _0x3cca6e[_0x1a8c66(0x1c0)]('');},'parse':function(_0x380900){var _0x29e684=_0xa4f459;for(var _0x53960f=_0x380900[_0x29e684(0x348)],_0xe2da69=[],_0x1ebdc7=0x0;_0x1ebdc7<_0x53960f;_0x1ebdc7+=0x2)_0xe2da69[_0x1ebdc7>>>0x3]|=parseInt(_0x380900[_0x29e684(0x16f)](_0x1ebdc7,0x2),0x10)<<0x18-_0x1ebdc7%0x8*0x4;return new _0x129502['init'](_0xe2da69,_0x53960f/0x2);}},_0x70ffa7=_0x47af2d[_0xa4f459(0x34d)]={'stringify':function(_0x1c57d8){var _0x5b70f4=_0xa4f459;for(var _0x15fe9c=_0x1c57d8[_0x5b70f4(0x2e7)],_0x1164c9=_0x1c57d8[_0x5b70f4(0x1ec)],_0x426bdc=[],_0x5353e9=0x0;_0x5353e9<_0x1164c9;_0x5353e9++){var _0x5c5f92=_0x15fe9c[_0x5353e9>>>0x2]>>>0x18-_0x5353e9%0x4*0x8&0xff;_0x426bdc[_0x5b70f4(0x3c4)](String[_0x5b70f4(0x21f)](_0x5c5f92));}return _0x426bdc[_0x5b70f4(0x1c0)]('');},'parse':function(_0x280128){var _0x518f62=_0xa4f459;for(var _0x328646=_0x280128[_0x518f62(0x348)],_0x66f9c0=[],_0x44cbe9=0x0;_0x44cbe9<_0x328646;_0x44cbe9++)_0x66f9c0[_0x44cbe9>>>0x2]|=(_0x280128[_0x518f62(0x22c)](_0x44cbe9)&0xff)<<0x18-_0x44cbe9%0x4*0x8;return new _0x129502[(_0x518f62(0x1b3))](_0x66f9c0,_0x328646);}},_0x54cc6d=_0x47af2d[_0xa4f459(0x449)]={'stringify':function(_0x5368c6){var _0x182e2a=_0xa4f459;try{return decodeURIComponent(escape(_0x70ffa7[_0x182e2a(0x363)](_0x5368c6)));}catch{throw new Error(_0x182e2a(0x29b));}},'parse':function(_0x440fb9){var _0x2f2de8=_0xa4f459;return _0x70ffa7[_0x2f2de8(0x338)](unescape(encodeURIComponent(_0x440fb9)));}},_0x1ec735=_0x5dccb7[_0xa4f459(0x2d1)]=_0x58bb23[_0xa4f459(0x309)]({'reset':function(){var _0x467250=_0xa4f459;this[_0x467250(0x3ad)]=new _0x129502['init'](),this[_0x467250(0x383)]=0x0;},'_append':function(_0x413f6a){var _0x4b38ae=_0xa4f459;typeof _0x413f6a=='string'&&(_0x413f6a=_0x54cc6d[_0x4b38ae(0x338)](_0x413f6a)),this[_0x4b38ae(0x3ad)][_0x4b38ae(0x389)](_0x413f6a),this[_0x4b38ae(0x383)]+=_0x413f6a[_0x4b38ae(0x1ec)];},'_process':function(_0x326e00){var _0x56283e=_0xa4f459,_0x4e846d,_0x29b486=this[_0x56283e(0x3ad)],_0x4c68af=_0x29b486[_0x56283e(0x2e7)],_0x2b7e9b=_0x29b486[_0x56283e(0x1ec)],_0x4bf824=this[_0x56283e(0x19f)],_0x62a944=_0x4bf824*0x4,_0x47abc6=_0x2b7e9b/_0x62a944;_0x326e00?_0x47abc6=_0xd785d8[_0x56283e(0x288)](_0x47abc6):_0x47abc6=_0xd785d8['max']((_0x47abc6|0x0)-this[_0x56283e(0x3ee)],0x0);var _0x51fd6e=_0x47abc6*_0x4bf824,_0x4d1f33=_0xd785d8['min'](_0x51fd6e*0x4,_0x2b7e9b);if(_0x51fd6e){for(var _0x50fd26=0x0;_0x50fd26<_0x51fd6e;_0x50fd26+=_0x4bf824)this['_doProcessBlock'](_0x4c68af,_0x50fd26);_0x4e846d=_0x4c68af[_0x56283e(0x308)](0x0,_0x51fd6e),_0x29b486[_0x56283e(0x1ec)]-=_0x4d1f33;}return new _0x129502[(_0x56283e(0x1b3))](_0x4e846d,_0x4d1f33);},'clone':function(){var _0x260d48=_0xa4f459,_0x388de6=_0x58bb23[_0x260d48(0x31c)]['call'](this);return _0x388de6[_0x260d48(0x3ad)]=this[_0x260d48(0x3ad)][_0x260d48(0x31c)](),_0x388de6;},'_minBufferSize':0x0});_0x5dccb7['Hasher']=_0x1ec735['extend']({'cfg':_0x58bb23[_0xa4f459(0x309)](),'init':function(_0xafbe65){var _0x1a1a90=_0xa4f459;this['cfg']=this['cfg'][_0x1a1a90(0x309)](_0xafbe65),this[_0x1a1a90(0x228)]();},'reset':function(){var _0x3de648=_0xa4f459;_0x1ec735['reset'][_0x3de648(0x3db)](this),this['_doReset']();},'update':function(_0x5e2612){var _0x483a83=_0xa4f459;return this[_0x483a83(0x2ec)](_0x5e2612),this[_0x483a83(0x2f4)](),this;},'finalize':function(_0x34377a){var _0x24a2ee=_0xa4f459;_0x34377a&&this['_append'](_0x34377a);var _0x3bbf18=this[_0x24a2ee(0x2d9)]();return _0x3bbf18;},'blockSize':0x10,'_createHelper':function(_0x59ff5b){return function(_0x160ca8,_0x328286){var _0x4e466b=_0x1e04;return new _0x59ff5b[(_0x4e466b(0x1b3))](_0x328286)['finalize'](_0x160ca8);};},'_createHmacHelper':function(_0x30d34b){return function(_0x41b290,_0x22075d){var _0x57a88a=_0x1e04;return new _0x4c77ec[(_0x57a88a(0x223))]['init'](_0x30d34b,_0x22075d)[_0x57a88a(0x3d5)](_0x41b290);};}});var _0x4c77ec=_0x293350['algo']={};return _0x293350;}(Math);return _0x376e17;}));}(Ge)),Ge[_0x559ba5(0x3cf)];}var We={'exports':{}},Es=We[_0x225508(0x3cf)],Zt;function Di(){var _0x4bce4f=_0x225508;return Zt||(Zt=0x1,function(_0x1a49ae,_0x55ba5f){(function(_0x2dcd57,_0x55bcc2){var _0x3a8f9b=_0x1e04;_0x1a49ae[_0x3a8f9b(0x3cf)]=_0x55bcc2(ie());}(Es,function(_0xdd6139){return(function(){var _0x28c8ab=_0x1e04,_0x3415a5=_0xdd6139,_0x528fad=_0x3415a5[_0x28c8ab(0x3e7)],_0x4fa022=_0x528fad[_0x28c8ab(0x297)],_0x3c015d=_0x3415a5[_0x28c8ab(0x365)];_0x3c015d['Base64']={'stringify':function(_0x2cb1ad){var _0x2d6359=_0x28c8ab,_0x2fd772=_0x2cb1ad[_0x2d6359(0x2e7)],_0x62488f=_0x2cb1ad[_0x2d6359(0x1ec)],_0x48089f=this[_0x2d6359(0x1b2)];_0x2cb1ad[_0x2d6359(0x34e)]();for(var _0x1824ab=[],_0xe63fc8=0x0;_0xe63fc8<_0x62488f;_0xe63fc8+=0x3)for(var _0x235944=_0x2fd772[_0xe63fc8>>>0x2]>>>0x18-_0xe63fc8%0x4*0x8&0xff,_0xcca51b=_0x2fd772[_0xe63fc8+0x1>>>0x2]>>>0x18-(_0xe63fc8+0x1)%0x4*0x8&0xff,_0x396f19=_0x2fd772[_0xe63fc8+0x2>>>0x2]>>>0x18-(_0xe63fc8+0x2)%0x4*0x8&0xff,_0x3586bf=_0x235944<<0x10|_0xcca51b<<0x8|_0x396f19,_0x2db6fc=0x0;_0x2db6fc<0x4&&_0xe63fc8+_0x2db6fc*0.75<_0x62488f;_0x2db6fc++)_0x1824ab['push'](_0x48089f[_0x2d6359(0x436)](_0x3586bf>>>0x6*(0x3-_0x2db6fc)&0x3f));var _0x118089=_0x48089f[_0x2d6359(0x436)](0x40);if(_0x118089){for(;_0x1824ab[_0x2d6359(0x348)]%0x4;)_0x1824ab['push'](_0x118089);}return _0x1824ab[_0x2d6359(0x1c0)]('');},'parse':function(_0x40092c){var _0x1c966d=_0x28c8ab,_0x160170=_0x40092c['length'],_0x1b87f9=this['_map'],_0x29f5ed=this['_reverseMap'];if(!_0x29f5ed){_0x29f5ed=this[_0x1c966d(0x43e)]=[];for(var _0xf43540=0x0;_0xf43540<_0x1b87f9[_0x1c966d(0x348)];_0xf43540++)_0x29f5ed[_0x1b87f9[_0x1c966d(0x22c)](_0xf43540)]=_0xf43540;}var _0x42b3f1=_0x1b87f9['charAt'](0x40);if(_0x42b3f1){var _0x1ab43d=_0x40092c[_0x1c966d(0x384)](_0x42b3f1);_0x1ab43d!==-0x1&&(_0x160170=_0x1ab43d);}return _0x489827(_0x40092c,_0x160170,_0x29f5ed);},'_map':_0x28c8ab(0x248)};function _0x489827(_0x381b97,_0x3acff1,_0x3af7b4){var _0x301c20=_0x28c8ab;for(var _0x46e4cc=[],_0xe80572=0x0,_0x42a87a=0x0;_0x42a87a<_0x3acff1;_0x42a87a++)if(_0x42a87a%0x4){var _0x3c1733=_0x3af7b4[_0x381b97[_0x301c20(0x22c)](_0x42a87a-0x1)]<<_0x42a87a%0x4*0x2,_0x1641c1=_0x3af7b4[_0x381b97['charCodeAt'](_0x42a87a)]>>>0x6-_0x42a87a%0x4*0x2,_0x5266fd=_0x3c1733|_0x1641c1;_0x46e4cc[_0xe80572>>>0x2]|=_0x5266fd<<0x18-_0xe80572%0x4*0x8,_0xe80572++;}return _0x4fa022['create'](_0x46e4cc,_0xe80572);}}()),_0xdd6139['enc']['Base64'];}));}(We)),We[_0x4bce4f(0x3cf)];}var Ke={'exports':{}},Is=Ke[_0x225508(0x3cf)],Qt;function Ts(){var _0x4e977f=_0x225508;return Qt||(Qt=0x1,function(_0x29a354,_0x58614f){(function(_0xecdb8b,_0x4ed409){var _0x54c6cf=_0x1e04;_0x29a354[_0x54c6cf(0x3cf)]=_0x4ed409(ie());}(Is,function(_0x3ec501){return function(_0xc87b20){var _0x42e9e2=_0x1e04,_0x91cf47=_0x3ec501,_0x386148=_0x91cf47[_0x42e9e2(0x3e7)],_0x3fc1be=_0x386148[_0x42e9e2(0x297)],_0x1ce738=_0x386148[_0x42e9e2(0x3a8)],_0x2e783d=_0x91cf47[_0x42e9e2(0x391)],_0x39d97c=[];(function(){var _0x5c4f6a=_0x42e9e2;for(var _0x5beb3f=0x0;_0x5beb3f<0x40;_0x5beb3f++)_0x39d97c[_0x5beb3f]=_0xc87b20[_0x5c4f6a(0x427)](_0xc87b20[_0x5c4f6a(0x3c5)](_0x5beb3f+0x1))*0x100000000|0x0;}());var _0x35fd11=_0x2e783d[_0x42e9e2(0x407)]=_0x1ce738[_0x42e9e2(0x309)]({'_doReset':function(){var _0x1f4834=_0x42e9e2;this[_0x1f4834(0x1cc)]=new _0x3fc1be[(_0x1f4834(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1621a6,_0x340b1e){var _0x1d9d29=_0x42e9e2;for(var _0x3a2fb2=0x0;_0x3a2fb2<0x10;_0x3a2fb2++){var _0x178738=_0x340b1e+_0x3a2fb2,_0x5f4058=_0x1621a6[_0x178738];_0x1621a6[_0x178738]=(_0x5f4058<<0x8|_0x5f4058>>>0x18)&0xff00ff|(_0x5f4058<<0x18|_0x5f4058>>>0x8)&0xff00ff00;}var _0x48ce30=this['_hash'][_0x1d9d29(0x2e7)],_0x2674fa=_0x1621a6[_0x340b1e+0x0],_0x171d93=_0x1621a6[_0x340b1e+0x1],_0x2c45b2=_0x1621a6[_0x340b1e+0x2],_0x290a17=_0x1621a6[_0x340b1e+0x3],_0x296179=_0x1621a6[_0x340b1e+0x4],_0x1b2cb1=_0x1621a6[_0x340b1e+0x5],_0x2e9dc0=_0x1621a6[_0x340b1e+0x6],_0x5b3da8=_0x1621a6[_0x340b1e+0x7],_0x365b5a=_0x1621a6[_0x340b1e+0x8],_0x2cbbc9=_0x1621a6[_0x340b1e+0x9],_0xcd36b5=_0x1621a6[_0x340b1e+0xa],_0xf430f4=_0x1621a6[_0x340b1e+0xb],_0x35cc24=_0x1621a6[_0x340b1e+0xc],_0x36b958=_0x1621a6[_0x340b1e+0xd],_0x59effe=_0x1621a6[_0x340b1e+0xe],_0x2b207c=_0x1621a6[_0x340b1e+0xf],_0x536b00=_0x48ce30[0x0],_0x5b329d=_0x48ce30[0x1],_0x287f6a=_0x48ce30[0x2],_0x3ed6a0=_0x48ce30[0x3];_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2674fa,0x7,_0x39d97c[0x0]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x171d93,0xc,_0x39d97c[0x1]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2c45b2,0x11,_0x39d97c[0x2]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x290a17,0x16,_0x39d97c[0x3]),_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x296179,0x7,_0x39d97c[0x4]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x1b2cb1,0xc,_0x39d97c[0x5]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2e9dc0,0x11,_0x39d97c[0x6]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b3da8,0x16,_0x39d97c[0x7]),_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x365b5a,0x7,_0x39d97c[0x8]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2cbbc9,0xc,_0x39d97c[0x9]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xcd36b5,0x11,_0x39d97c[0xa]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0xf430f4,0x16,_0x39d97c[0xb]),_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x35cc24,0x7,_0x39d97c[0xc]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x36b958,0xc,_0x39d97c[0xd]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x59effe,0x11,_0x39d97c[0xe]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2b207c,0x16,_0x39d97c[0xf]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x171d93,0x5,_0x39d97c[0x10]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2e9dc0,0x9,_0x39d97c[0x11]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xf430f4,0xe,_0x39d97c[0x12]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2674fa,0x14,_0x39d97c[0x13]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x1b2cb1,0x5,_0x39d97c[0x14]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0xcd36b5,0x9,_0x39d97c[0x15]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2b207c,0xe,_0x39d97c[0x16]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x296179,0x14,_0x39d97c[0x17]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2cbbc9,0x5,_0x39d97c[0x18]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x59effe,0x9,_0x39d97c[0x19]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x290a17,0xe,_0x39d97c[0x1a]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x365b5a,0x14,_0x39d97c[0x1b]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x36b958,0x5,_0x39d97c[0x1c]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2c45b2,0x9,_0x39d97c[0x1d]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x5b3da8,0xe,_0x39d97c[0x1e]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x35cc24,0x14,_0x39d97c[0x1f]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x1b2cb1,0x4,_0x39d97c[0x20]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x365b5a,0xb,_0x39d97c[0x21]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xf430f4,0x10,_0x39d97c[0x22]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x59effe,0x17,_0x39d97c[0x23]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x171d93,0x4,_0x39d97c[0x24]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x296179,0xb,_0x39d97c[0x25]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x5b3da8,0x10,_0x39d97c[0x26]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0xcd36b5,0x17,_0x39d97c[0x27]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x36b958,0x4,_0x39d97c[0x28]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2674fa,0xb,_0x39d97c[0x29]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x290a17,0x10,_0x39d97c[0x2a]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2e9dc0,0x17,_0x39d97c[0x2b]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2cbbc9,0x4,_0x39d97c[0x2c]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x35cc24,0xb,_0x39d97c[0x2d]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2b207c,0x10,_0x39d97c[0x2e]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2c45b2,0x17,_0x39d97c[0x2f]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2674fa,0x6,_0x39d97c[0x30]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x5b3da8,0xa,_0x39d97c[0x31]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x59effe,0xf,_0x39d97c[0x32]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x1b2cb1,0x15,_0x39d97c[0x33]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x35cc24,0x6,_0x39d97c[0x34]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x290a17,0xa,_0x39d97c[0x35]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xcd36b5,0xf,_0x39d97c[0x36]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x171d93,0x15,_0x39d97c[0x37]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x365b5a,0x6,_0x39d97c[0x38]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2b207c,0xa,_0x39d97c[0x39]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2e9dc0,0xf,_0x39d97c[0x3a]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x36b958,0x15,_0x39d97c[0x3b]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x296179,0x6,_0x39d97c[0x3c]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0xf430f4,0xa,_0x39d97c[0x3d]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2c45b2,0xf,_0x39d97c[0x3e]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2cbbc9,0x15,_0x39d97c[0x3f]),_0x48ce30[0x0]=_0x48ce30[0x0]+_0x536b00|0x0,_0x48ce30[0x1]=_0x48ce30[0x1]+_0x5b329d|0x0,_0x48ce30[0x2]=_0x48ce30[0x2]+_0x287f6a|0x0,_0x48ce30[0x3]=_0x48ce30[0x3]+_0x3ed6a0|0x0;},'_doFinalize':function(){var _0x147107=_0x42e9e2,_0x5f9629=this['_data'],_0x6663da=_0x5f9629[_0x147107(0x2e7)],_0x4035a7=this[_0x147107(0x383)]*0x8,_0x28abf0=_0x5f9629[_0x147107(0x1ec)]*0x8;_0x6663da[_0x28abf0>>>0x5]|=0x80<<0x18-_0x28abf0%0x20;var _0x58fbf6=_0xc87b20[_0x147107(0x28e)](_0x4035a7/0x100000000),_0x1dd576=_0x4035a7;_0x6663da[(_0x28abf0+0x40>>>0x9<<0x4)+0xf]=(_0x58fbf6<<0x8|_0x58fbf6>>>0x18)&0xff00ff|(_0x58fbf6<<0x18|_0x58fbf6>>>0x8)&0xff00ff00,_0x6663da[(_0x28abf0+0x40>>>0x9<<0x4)+0xe]=(_0x1dd576<<0x8|_0x1dd576>>>0x18)&0xff00ff|(_0x1dd576<<0x18|_0x1dd576>>>0x8)&0xff00ff00,_0x5f9629['sigBytes']=(_0x6663da[_0x147107(0x348)]+0x1)*0x4,this[_0x147107(0x2f4)]();for(var _0x4962d4=this[_0x147107(0x1cc)],_0x3ab76c=_0x4962d4[_0x147107(0x2e7)],_0x47c110=0x0;_0x47c110<0x4;_0x47c110++){var _0x10aab4=_0x3ab76c[_0x47c110];_0x3ab76c[_0x47c110]=(_0x10aab4<<0x8|_0x10aab4>>>0x18)&0xff00ff|(_0x10aab4<<0x18|_0x10aab4>>>0x8)&0xff00ff00;}return _0x4962d4;},'clone':function(){var _0xad9aac=_0x42e9e2,_0x3d0656=_0x1ce738[_0xad9aac(0x31c)][_0xad9aac(0x3db)](this);return _0x3d0656[_0xad9aac(0x1cc)]=this[_0xad9aac(0x1cc)]['clone'](),_0x3d0656;}});function _0x25e78c(_0x14e6e3,_0x3e58cf,_0x1e380d,_0x2d0b70,_0x2726df,_0x19f4ec,_0x404ee3){var _0x3b566d=_0x14e6e3+(_0x3e58cf&_0x1e380d|~_0x3e58cf&_0x2d0b70)+_0x2726df+_0x404ee3;return(_0x3b566d<<_0x19f4ec|_0x3b566d>>>0x20-_0x19f4ec)+_0x3e58cf;}function _0x4a4034(_0x192b66,_0x319e7f,_0x3e51fa,_0x239fdf,_0x1bb01c,_0x5568e2,_0x206ae6){var _0x2eec0a=_0x192b66+(_0x319e7f&_0x239fdf|_0x3e51fa&~_0x239fdf)+_0x1bb01c+_0x206ae6;return(_0x2eec0a<<_0x5568e2|_0x2eec0a>>>0x20-_0x5568e2)+_0x319e7f;}function _0x32b8a7(_0x4eb9da,_0x4ff963,_0xd2aecf,_0x22866d,_0x4b0a88,_0x2f4cf3,_0x577b95){var _0xff2fc0=_0x4eb9da+(_0x4ff963^_0xd2aecf^_0x22866d)+_0x4b0a88+_0x577b95;return(_0xff2fc0<<_0x2f4cf3|_0xff2fc0>>>0x20-_0x2f4cf3)+_0x4ff963;}function _0x3648d8(_0x12c26d,_0x37566c,_0x20ce44,_0x270783,_0x3ff95e,_0x1d1b57,_0x3de357){var _0x9dae9d=_0x12c26d+(_0x20ce44^(_0x37566c|~_0x270783))+_0x3ff95e+_0x3de357;return(_0x9dae9d<<_0x1d1b57|_0x9dae9d>>>0x20-_0x1d1b57)+_0x37566c;}_0x91cf47[_0x42e9e2(0x407)]=_0x1ce738[_0x42e9e2(0x16d)](_0x35fd11),_0x91cf47[_0x42e9e2(0x469)]=_0x1ce738[_0x42e9e2(0x2c5)](_0x35fd11);}(Math),_0x3ec501['MD5'];}));}(Ke)),Ke[_0x4e977f(0x3cf)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x225508(0x3cf)],ei;function Rs(){return ei||(ei=0x1,function(_0x2a6f02,_0x200607){(function(_0x1569fe,_0x4a8cd2){var _0x192c5e=_0x1e04;_0x2a6f02[_0x192c5e(0x3cf)]=_0x4a8cd2(ie());}(Cs,function(_0x36835e){var _0x1ff40c=_0x1e04;return(function(){var _0xd0d295=_0x1e04,_0x569615=_0x36835e,_0x1d2ab9=_0x569615[_0xd0d295(0x3e7)],_0x9e91a5=_0x1d2ab9[_0xd0d295(0x297)],_0x1fe595=_0x1d2ab9[_0xd0d295(0x3a8)],_0x4fadbb=_0x569615['algo'],_0x2e1851=[],_0x3dd194=_0x4fadbb[_0xd0d295(0x292)]=_0x1fe595[_0xd0d295(0x309)]({'_doReset':function(){var _0x17a496=_0xd0d295;this[_0x17a496(0x1cc)]=new _0x9e91a5[(_0x17a496(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x105c52,_0x45eae4){var _0x19ef29=_0xd0d295;for(var _0x4e04af=this['_hash'][_0x19ef29(0x2e7)],_0x47c6f6=_0x4e04af[0x0],_0x1d918f=_0x4e04af[0x1],_0x1e0a73=_0x4e04af[0x2],_0xa1d1af=_0x4e04af[0x3],_0x453584=_0x4e04af[0x4],_0x910e36=0x0;_0x910e36<0x50;_0x910e36++){if(_0x910e36<0x10)_0x2e1851[_0x910e36]=_0x105c52[_0x45eae4+_0x910e36]|0x0;else{var _0xac757e=_0x2e1851[_0x910e36-0x3]^_0x2e1851[_0x910e36-0x8]^_0x2e1851[_0x910e36-0xe]^_0x2e1851[_0x910e36-0x10];_0x2e1851[_0x910e36]=_0xac757e<<0x1|_0xac757e>>>0x1f;}var _0x366c3b=(_0x47c6f6<<0x5|_0x47c6f6>>>0x1b)+_0x453584+_0x2e1851[_0x910e36];_0x910e36<0x14?_0x366c3b+=(_0x1d918f&_0x1e0a73|~_0x1d918f&_0xa1d1af)+0x5a827999:_0x910e36<0x28?_0x366c3b+=(_0x1d918f^_0x1e0a73^_0xa1d1af)+0x6ed9eba1:_0x910e36<0x3c?_0x366c3b+=(_0x1d918f&_0x1e0a73|_0x1d918f&_0xa1d1af|_0x1e0a73&_0xa1d1af)-0x70e44324:_0x366c3b+=(_0x1d918f^_0x1e0a73^_0xa1d1af)-0x359d3e2a,_0x453584=_0xa1d1af,_0xa1d1af=_0x1e0a73,_0x1e0a73=_0x1d918f<<0x1e|_0x1d918f>>>0x2,_0x1d918f=_0x47c6f6,_0x47c6f6=_0x366c3b;}_0x4e04af[0x0]=_0x4e04af[0x0]+_0x47c6f6|0x0,_0x4e04af[0x1]=_0x4e04af[0x1]+_0x1d918f|0x0,_0x4e04af[0x2]=_0x4e04af[0x2]+_0x1e0a73|0x0,_0x4e04af[0x3]=_0x4e04af[0x3]+_0xa1d1af|0x0,_0x4e04af[0x4]=_0x4e04af[0x4]+_0x453584|0x0;},'_doFinalize':function(){var _0x275eca=_0xd0d295,_0x15b8c1=this[_0x275eca(0x3ad)],_0x2daf9a=_0x15b8c1['words'],_0x169091=this[_0x275eca(0x383)]*0x8,_0x5e8f3b=_0x15b8c1[_0x275eca(0x1ec)]*0x8;return _0x2daf9a[_0x5e8f3b>>>0x5]|=0x80<<0x18-_0x5e8f3b%0x20,_0x2daf9a[(_0x5e8f3b+0x40>>>0x9<<0x4)+0xe]=Math[_0x275eca(0x28e)](_0x169091/0x100000000),_0x2daf9a[(_0x5e8f3b+0x40>>>0x9<<0x4)+0xf]=_0x169091,_0x15b8c1['sigBytes']=_0x2daf9a[_0x275eca(0x348)]*0x4,this[_0x275eca(0x2f4)](),this['_hash'];},'clone':function(){var _0x28ecdd=_0xd0d295,_0xda0211=_0x1fe595[_0x28ecdd(0x31c)][_0x28ecdd(0x3db)](this);return _0xda0211[_0x28ecdd(0x1cc)]=this[_0x28ecdd(0x1cc)][_0x28ecdd(0x31c)](),_0xda0211;}});_0x569615[_0xd0d295(0x292)]=_0x1fe595['_createHelper'](_0x3dd194),_0x569615[_0xd0d295(0x1a8)]=_0x1fe595['_createHmacHelper'](_0x3dd194);}()),_0x36835e[_0x1ff40c(0x292)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x225508(0x3cf)],ti;function Os(){var _0x14c801=_0x225508;return ti||(ti=0x1,function(_0x548bbd,_0x48da01){(function(_0x3480a0,_0x36b401){_0x548bbd['exports']=_0x36b401(ie());}(bs,function(_0x140e64){(function(){var _0x26ba4=_0x1e04,_0x767bc=_0x140e64,_0x3cbbaf=_0x767bc[_0x26ba4(0x3e7)],_0x422226=_0x3cbbaf[_0x26ba4(0x353)],_0x209f89=_0x767bc[_0x26ba4(0x365)],_0x5dbbe2=_0x209f89['Utf8'],_0x4d25ac=_0x767bc[_0x26ba4(0x391)];_0x4d25ac['HMAC']=_0x422226['extend']({'init':function(_0x104590,_0x178a18){var _0x1b52d7=_0x26ba4;_0x104590=this['_hasher']=new _0x104590[(_0x1b52d7(0x1b3))](),typeof _0x178a18==_0x1b52d7(0x2f8)&&(_0x178a18=_0x5dbbe2['parse'](_0x178a18));var _0x52e3f0=_0x104590[_0x1b52d7(0x19f)],_0x2d067d=_0x52e3f0*0x4;_0x178a18['sigBytes']>_0x2d067d&&(_0x178a18=_0x104590[_0x1b52d7(0x3d5)](_0x178a18)),_0x178a18[_0x1b52d7(0x34e)]();for(var _0x4848cb=this[_0x1b52d7(0x434)]=_0x178a18[_0x1b52d7(0x31c)](),_0x2ef37f=this['_iKey']=_0x178a18['clone'](),_0x2ce97f=_0x4848cb[_0x1b52d7(0x2e7)],_0x4943c8=_0x2ef37f[_0x1b52d7(0x2e7)],_0x35fbac=0x0;_0x35fbac<_0x52e3f0;_0x35fbac++)_0x2ce97f[_0x35fbac]^=0x5c5c5c5c,_0x4943c8[_0x35fbac]^=0x36363636;_0x4848cb['sigBytes']=_0x2ef37f['sigBytes']=_0x2d067d,this['reset']();},'reset':function(){var _0x31b548=_0x26ba4,_0x1725a3=this[_0x31b548(0x45c)];_0x1725a3[_0x31b548(0x228)](),_0x1725a3[_0x31b548(0x1bf)](this[_0x31b548(0x23f)]);},'update':function(_0x54baae){var _0x1adb25=_0x26ba4;return this['_hasher'][_0x1adb25(0x1bf)](_0x54baae),this;},'finalize':function(_0x48eae7){var _0x5a4e4e=_0x26ba4,_0x338ff7=this['_hasher'],_0x1b50fc=_0x338ff7[_0x5a4e4e(0x3d5)](_0x48eae7);_0x338ff7[_0x5a4e4e(0x228)]();var _0xbd54b0=_0x338ff7[_0x5a4e4e(0x3d5)](this[_0x5a4e4e(0x434)]['clone']()['concat'](_0x1b50fc));return _0xbd54b0;}});}());}));}(ze)),ze[_0x14c801(0x3cf)];}var ys=Ye['exports'],ii;function Ui(){return ii||(ii=0x1,function(_0x9b3fc3,_0x48d387){(function(_0x590525,_0x303bc1,_0x44652d){var _0xe40f70=_0x1e04;_0x9b3fc3[_0xe40f70(0x3cf)]=_0x303bc1(ie(),Rs(),Os());}(ys,function(_0x5dd03b){var _0x4f10aa=_0x1e04;return(function(){var _0x5e68c9=_0x1e04,_0x438419=_0x5dd03b,_0x54c425=_0x438419[_0x5e68c9(0x3e7)],_0x98d7c1=_0x54c425['Base'],_0x2beaac=_0x54c425[_0x5e68c9(0x297)],_0x8f4050=_0x438419[_0x5e68c9(0x391)],_0x2e36eb=_0x8f4050[_0x5e68c9(0x407)],_0x7c88d8=_0x8f4050[_0x5e68c9(0x39b)]=_0x98d7c1[_0x5e68c9(0x309)]({'cfg':_0x98d7c1[_0x5e68c9(0x309)]({'keySize':0x80/0x20,'hasher':_0x2e36eb,'iterations':0x1}),'init':function(_0x235335){var _0x54baee=_0x5e68c9;this[_0x54baee(0x438)]=this['cfg'][_0x54baee(0x309)](_0x235335);},'compute':function(_0xfe9b80,_0x549bcd){var _0xb947cd=_0x5e68c9;for(var _0x3e1ef2,_0x457170=this[_0xb947cd(0x438)],_0x3a6a64=_0x457170[_0xb947cd(0x36a)][_0xb947cd(0x3c0)](),_0x133b01=_0x2beaac[_0xb947cd(0x3c0)](),_0x3ed4f0=_0x133b01['words'],_0x440ccf=_0x457170[_0xb947cd(0x463)],_0x598073=_0x457170[_0xb947cd(0x43d)];_0x3ed4f0[_0xb947cd(0x348)]<_0x440ccf;){_0x3e1ef2&&_0x3a6a64[_0xb947cd(0x1bf)](_0x3e1ef2),_0x3e1ef2=_0x3a6a64['update'](_0xfe9b80)[_0xb947cd(0x3d5)](_0x549bcd),_0x3a6a64[_0xb947cd(0x228)]();for(var _0x144c72=0x1;_0x144c72<_0x598073;_0x144c72++)_0x3e1ef2=_0x3a6a64[_0xb947cd(0x3d5)](_0x3e1ef2),_0x3a6a64[_0xb947cd(0x228)]();_0x133b01[_0xb947cd(0x389)](_0x3e1ef2);}return _0x133b01[_0xb947cd(0x1ec)]=_0x440ccf*0x4,_0x133b01;}});_0x438419[_0x5e68c9(0x39b)]=function(_0x5c2a46,_0x5c9932,_0x164653){var _0xd5ae47=_0x5e68c9;return _0x7c88d8[_0xd5ae47(0x3c0)](_0x164653)[_0xd5ae47(0x476)](_0x5c2a46,_0x5c9932);};}()),_0x5dd03b[_0x4f10aa(0x39b)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x225508(0x3cf)],ni;function Ai(){var _0x4b1d2e=_0x225508;return ni||(ni=0x1,function(_0x27558b,_0x5c3298){(function(_0x3578b7,_0x358f22,_0x2b1022){var _0x2541ac=_0x1e04;_0x27558b[_0x2541ac(0x3cf)]=_0x358f22(ie(),Ui());}(Ns,function(_0x2bd69d){var _0x4f4638=_0x1e04;_0x2bd69d['lib'][_0x4f4638(0x2f6)]||function(_0x324365){var _0x46750b=_0x4f4638,_0x476125=_0x2bd69d,_0x17ceb0=_0x476125[_0x46750b(0x3e7)],_0xd16db3=_0x17ceb0['Base'],_0x52cc29=_0x17ceb0[_0x46750b(0x297)],_0x149d88=_0x17ceb0['BufferedBlockAlgorithm'],_0x68585b=_0x476125[_0x46750b(0x365)];_0x68585b[_0x46750b(0x449)];var _0x41e44c=_0x68585b[_0x46750b(0x39c)],_0x2ace18=_0x476125['algo'],_0x4d8489=_0x2ace18[_0x46750b(0x39b)],_0x268983=_0x17ceb0[_0x46750b(0x2f6)]=_0x149d88[_0x46750b(0x309)]({'cfg':_0xd16db3['extend'](),'createEncryptor':function(_0x4024ae,_0x40dcd9){var _0x366c3f=_0x46750b;return this[_0x366c3f(0x3c0)](this['_ENC_XFORM_MODE'],_0x4024ae,_0x40dcd9);},'createDecryptor':function(_0x5200f4,_0x123ca6){var _0x475bde=_0x46750b;return this['create'](this[_0x475bde(0x1ed)],_0x5200f4,_0x123ca6);},'init':function(_0x1aff51,_0x28c976,_0x2cd471){var _0x595fa6=_0x46750b;this[_0x595fa6(0x438)]=this[_0x595fa6(0x438)][_0x595fa6(0x309)](_0x2cd471),this[_0x595fa6(0x43f)]=_0x1aff51,this[_0x595fa6(0x1e3)]=_0x28c976,this[_0x595fa6(0x228)]();},'reset':function(){var _0x3e6f91=_0x46750b;_0x149d88['reset'][_0x3e6f91(0x3db)](this),this[_0x3e6f91(0x17a)]();},'process':function(_0x4b3ae4){var _0x10d0ae=_0x46750b;return this['_append'](_0x4b3ae4),this[_0x10d0ae(0x2f4)]();},'finalize':function(_0x21e7bd){var _0x27b0c3=_0x46750b;_0x21e7bd&&this[_0x27b0c3(0x2ec)](_0x21e7bd);var _0xf5eab6=this['_doFinalize']();return _0xf5eab6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1ec073(_0x1fd4de){var _0x5a6bce=_0x1e04;return typeof _0x1fd4de==_0x5a6bce(0x2f8)?_0x22370c:_0x44632e;}return function(_0xeb86c7){return{'encrypt':function(_0x54a76f,_0xea3042,_0x27cda1){var _0x1a751f=_0x1e04;return _0x1ec073(_0xea3042)[_0x1a751f(0x1a1)](_0xeb86c7,_0x54a76f,_0xea3042,_0x27cda1);},'decrypt':function(_0x41d508,_0x17af7f,_0x30e891){var _0x173e1a=_0x1e04;return _0x1ec073(_0x17af7f)[_0x173e1a(0x272)](_0xeb86c7,_0x41d508,_0x17af7f,_0x30e891);}};};}())});_0x17ceb0[_0x46750b(0x291)]=_0x268983[_0x46750b(0x309)]({'_doFinalize':function(){var _0x284f1f=this['_process'](!0x0);return _0x284f1f;},'blockSize':0x1});var _0x4bddd6=_0x476125[_0x46750b(0x274)]={},_0xd18807=_0x17ceb0[_0x46750b(0x2be)]=_0xd16db3[_0x46750b(0x309)]({'createEncryptor':function(_0x383834,_0x11b563){var _0x50f9b7=_0x46750b;return this[_0x50f9b7(0x1a5)]['create'](_0x383834,_0x11b563);},'createDecryptor':function(_0x66c0e7,_0x5b0f4e){var _0x3cf023=_0x46750b;return this[_0x3cf023(0x231)][_0x3cf023(0x3c0)](_0x66c0e7,_0x5b0f4e);},'init':function(_0x3d95fb,_0x35c688){var _0x160eca=_0x46750b;this[_0x160eca(0x42f)]=_0x3d95fb,this[_0x160eca(0x1ad)]=_0x35c688;}}),_0x43a93c=_0x4bddd6['CBC']=(function(){var _0x3a85bd=_0x46750b,_0x16477a=_0xd18807[_0x3a85bd(0x309)]();_0x16477a[_0x3a85bd(0x1a5)]=_0x16477a[_0x3a85bd(0x309)]({'processBlock':function(_0x200f20,_0x4c7a4c){var _0x42ea00=_0x3a85bd,_0x538b92=this[_0x42ea00(0x42f)],_0x184512=_0x538b92[_0x42ea00(0x19f)];_0x2e125a[_0x42ea00(0x3db)](this,_0x200f20,_0x4c7a4c,_0x184512),_0x538b92[_0x42ea00(0x1d5)](_0x200f20,_0x4c7a4c),this[_0x42ea00(0x20c)]=_0x200f20[_0x42ea00(0x1d8)](_0x4c7a4c,_0x4c7a4c+_0x184512);}}),_0x16477a[_0x3a85bd(0x231)]=_0x16477a[_0x3a85bd(0x309)]({'processBlock':function(_0x1fe37b,_0x419922){var _0x452b9b=_0x3a85bd,_0x59a8a4=this[_0x452b9b(0x42f)],_0x44334f=_0x59a8a4['blockSize'],_0x10c657=_0x1fe37b[_0x452b9b(0x1d8)](_0x419922,_0x419922+_0x44334f);_0x59a8a4['decryptBlock'](_0x1fe37b,_0x419922),_0x2e125a[_0x452b9b(0x3db)](this,_0x1fe37b,_0x419922,_0x44334f),this[_0x452b9b(0x20c)]=_0x10c657;}});function _0x2e125a(_0x27ab75,_0x87ae6e,_0x2764a3){var _0x2d6baa=_0x3a85bd,_0x52dd1e,_0x27de67=this[_0x2d6baa(0x1ad)];_0x27de67?(_0x52dd1e=_0x27de67,this[_0x2d6baa(0x1ad)]=_0x324365):_0x52dd1e=this['_prevBlock'];for(var _0x4ac685=0x0;_0x4ac685<_0x2764a3;_0x4ac685++)_0x27ab75[_0x87ae6e+_0x4ac685]^=_0x52dd1e[_0x4ac685];}return _0x16477a;}()),_0x538f56=_0x476125[_0x46750b(0x373)]={},_0xfc011d=_0x538f56[_0x46750b(0x3d0)]={'pad':function(_0x130894,_0x6bff9e){var _0x3e4035=_0x46750b;for(var _0x5abf10=_0x6bff9e*0x4,_0x5db6e3=_0x5abf10-_0x130894[_0x3e4035(0x1ec)]%_0x5abf10,_0x2ebd87=_0x5db6e3<<0x18|_0x5db6e3<<0x10|_0x5db6e3<<0x8|_0x5db6e3,_0x1bcbc=[],_0x384042=0x0;_0x384042<_0x5db6e3;_0x384042+=0x4)_0x1bcbc[_0x3e4035(0x3c4)](_0x2ebd87);var _0x46b4ff=_0x52cc29[_0x3e4035(0x3c0)](_0x1bcbc,_0x5db6e3);_0x130894[_0x3e4035(0x389)](_0x46b4ff);},'unpad':function(_0x26163b){var _0x4ebe7f=_0x46750b,_0x3e67d3=_0x26163b[_0x4ebe7f(0x2e7)][_0x26163b[_0x4ebe7f(0x1ec)]-0x1>>>0x2]&0xff;_0x26163b[_0x4ebe7f(0x1ec)]-=_0x3e67d3;}};_0x17ceb0['BlockCipher']=_0x268983[_0x46750b(0x309)]({'cfg':_0x268983[_0x46750b(0x438)][_0x46750b(0x309)]({'mode':_0x43a93c,'padding':_0xfc011d}),'reset':function(){var _0x39c017=_0x46750b,_0x4dbe74;_0x268983['reset'][_0x39c017(0x3db)](this);var _0x5e8fd0=this['cfg'],_0x3b7bd5=_0x5e8fd0['iv'],_0xa70b18=_0x5e8fd0[_0x39c017(0x274)];this[_0x39c017(0x43f)]==this[_0x39c017(0x225)]?_0x4dbe74=_0xa70b18[_0x39c017(0x189)]:(_0x4dbe74=_0xa70b18[_0x39c017(0x1f6)],this[_0x39c017(0x3ee)]=0x1),this[_0x39c017(0x2a1)]&&this[_0x39c017(0x2a1)][_0x39c017(0x43a)]==_0x4dbe74?this[_0x39c017(0x2a1)][_0x39c017(0x1b3)](this,_0x3b7bd5&&_0x3b7bd5['words']):(this['_mode']=_0x4dbe74[_0x39c017(0x3db)](_0xa70b18,this,_0x3b7bd5&&_0x3b7bd5[_0x39c017(0x2e7)]),this[_0x39c017(0x2a1)][_0x39c017(0x43a)]=_0x4dbe74);},'_doProcessBlock':function(_0x252009,_0x2c82ea){var _0x57de44=_0x46750b;this[_0x57de44(0x2a1)][_0x57de44(0x1d3)](_0x252009,_0x2c82ea);},'_doFinalize':function(){var _0x310802=_0x46750b,_0x121f40,_0x583c72=this[_0x310802(0x438)][_0x310802(0x32b)];return this[_0x310802(0x43f)]==this[_0x310802(0x225)]?(_0x583c72['pad'](this[_0x310802(0x3ad)],this[_0x310802(0x19f)]),_0x121f40=this['_process'](!0x0)):(_0x121f40=this[_0x310802(0x2f4)](!0x0),_0x583c72[_0x310802(0x1dd)](_0x121f40)),_0x121f40;},'blockSize':0x80/0x20});var _0x111dc6=_0x17ceb0[_0x46750b(0x39f)]=_0xd16db3[_0x46750b(0x309)]({'init':function(_0x48b589){this['mixIn'](_0x48b589);},'toString':function(_0x51e119){var _0x10aec3=_0x46750b;return(_0x51e119||this[_0x10aec3(0x2da)])[_0x10aec3(0x363)](this);}}),_0x4512db=_0x476125['format']={},_0x18b1a8=_0x4512db[_0x46750b(0x416)]={'stringify':function(_0x221fff){var _0x38a7e7=_0x46750b,_0x139608,_0x5253c6=_0x221fff[_0x38a7e7(0x320)],_0x4da606=_0x221fff[_0x38a7e7(0x1c6)];return _0x4da606?_0x139608=_0x52cc29[_0x38a7e7(0x3c0)]([0x53616c74,0x65645f5f])['concat'](_0x4da606)[_0x38a7e7(0x389)](_0x5253c6):_0x139608=_0x5253c6,_0x139608[_0x38a7e7(0x29f)](_0x41e44c);},'parse':function(_0x179d14){var _0x455ea2=_0x46750b,_0x280050,_0x431d24=_0x41e44c[_0x455ea2(0x338)](_0x179d14),_0xbaf689=_0x431d24['words'];return _0xbaf689[0x0]==0x53616c74&&_0xbaf689[0x1]==0x65645f5f&&(_0x280050=_0x52cc29[_0x455ea2(0x3c0)](_0xbaf689['slice'](0x2,0x4)),_0xbaf689[_0x455ea2(0x308)](0x0,0x4),_0x431d24[_0x455ea2(0x1ec)]-=0x10),_0x111dc6[_0x455ea2(0x3c0)]({'ciphertext':_0x431d24,'salt':_0x280050});}},_0x44632e=_0x17ceb0[_0x46750b(0x318)]=_0xd16db3[_0x46750b(0x309)]({'cfg':_0xd16db3[_0x46750b(0x309)]({'format':_0x18b1a8}),'encrypt':function(_0x208307,_0x1aadc4,_0x509d01,_0x3593f2){var _0x78d07c=_0x46750b;_0x3593f2=this['cfg'][_0x78d07c(0x309)](_0x3593f2);var _0x46393e=_0x208307[_0x78d07c(0x189)](_0x509d01,_0x3593f2),_0x1eaf57=_0x46393e['finalize'](_0x1aadc4),_0x5e34ee=_0x46393e[_0x78d07c(0x438)];return _0x111dc6[_0x78d07c(0x3c0)]({'ciphertext':_0x1eaf57,'key':_0x509d01,'iv':_0x5e34ee['iv'],'algorithm':_0x208307,'mode':_0x5e34ee['mode'],'padding':_0x5e34ee[_0x78d07c(0x32b)],'blockSize':_0x208307[_0x78d07c(0x19f)],'formatter':_0x3593f2['format']});},'decrypt':function(_0x52e42b,_0x410fd6,_0x383369,_0x2bb3dd){var _0x2ba403=_0x46750b;_0x2bb3dd=this[_0x2ba403(0x438)][_0x2ba403(0x309)](_0x2bb3dd),_0x410fd6=this[_0x2ba403(0x31d)](_0x410fd6,_0x2bb3dd[_0x2ba403(0x441)]);var _0x1da0a5=_0x52e42b[_0x2ba403(0x1f6)](_0x383369,_0x2bb3dd)['finalize'](_0x410fd6[_0x2ba403(0x320)]);return _0x1da0a5;},'_parse':function(_0x33b24c,_0x5a1366){var _0x34669d=_0x46750b;return typeof _0x33b24c==_0x34669d(0x2f8)?_0x5a1366[_0x34669d(0x338)](_0x33b24c,this):_0x33b24c;}}),_0x37e68b=_0x476125[_0x46750b(0x1d9)]={},_0x37ce7b=_0x37e68b[_0x46750b(0x416)]={'execute':function(_0x5b1a8b,_0x4df611,_0x452b3b,_0x4c4f42,_0x56aad9){var _0x103843=_0x46750b;if(_0x4c4f42||(_0x4c4f42=_0x52cc29[_0x103843(0x21c)](0x40/0x8)),_0x56aad9)var _0xe22a94=_0x4d8489[_0x103843(0x3c0)]({'keySize':_0x4df611+_0x452b3b,'hasher':_0x56aad9})['compute'](_0x5b1a8b,_0x4c4f42);else var _0xe22a94=_0x4d8489[_0x103843(0x3c0)]({'keySize':_0x4df611+_0x452b3b})[_0x103843(0x476)](_0x5b1a8b,_0x4c4f42);var _0x59208e=_0x52cc29[_0x103843(0x3c0)](_0xe22a94[_0x103843(0x2e7)][_0x103843(0x1d8)](_0x4df611),_0x452b3b*0x4);return _0xe22a94['sigBytes']=_0x4df611*0x4,_0x111dc6[_0x103843(0x3c0)]({'key':_0xe22a94,'iv':_0x59208e,'salt':_0x4c4f42});}},_0x22370c=_0x17ceb0['PasswordBasedCipher']=_0x44632e[_0x46750b(0x309)]({'cfg':_0x44632e[_0x46750b(0x438)]['extend']({'kdf':_0x37ce7b}),'encrypt':function(_0x433382,_0x24d3e0,_0x82c7e9,_0xe6ce17){var _0x512a26=_0x46750b;_0xe6ce17=this['cfg']['extend'](_0xe6ce17);var _0x249957=_0xe6ce17[_0x512a26(0x1d9)][_0x512a26(0x470)](_0x82c7e9,_0x433382[_0x512a26(0x463)],_0x433382[_0x512a26(0x20f)],_0xe6ce17[_0x512a26(0x1c6)],_0xe6ce17[_0x512a26(0x36a)]);_0xe6ce17['iv']=_0x249957['iv'];var _0x257bb7=_0x44632e[_0x512a26(0x1a1)][_0x512a26(0x3db)](this,_0x433382,_0x24d3e0,_0x249957[_0x512a26(0x36d)],_0xe6ce17);return _0x257bb7[_0x512a26(0x319)](_0x249957),_0x257bb7;},'decrypt':function(_0x12f950,_0x44d885,_0x3d8b48,_0x33dd40){var _0x4e8d10=_0x46750b;_0x33dd40=this[_0x4e8d10(0x438)]['extend'](_0x33dd40),_0x44d885=this['_parse'](_0x44d885,_0x33dd40[_0x4e8d10(0x441)]);var _0x597bb3=_0x33dd40[_0x4e8d10(0x1d9)][_0x4e8d10(0x470)](_0x3d8b48,_0x12f950[_0x4e8d10(0x463)],_0x12f950[_0x4e8d10(0x20f)],_0x44d885[_0x4e8d10(0x1c6)],_0x33dd40[_0x4e8d10(0x36a)]);_0x33dd40['iv']=_0x597bb3['iv'];var _0x5306b3=_0x44632e[_0x4e8d10(0x272)][_0x4e8d10(0x3db)](this,_0x12f950,_0x44d885,_0x597bb3['key'],_0x33dd40);return _0x5306b3;}});}();}));}(Je)),Je[_0x4b1d2e(0x3cf)];}var Ds=Ve['exports'],si;function Us(){var _0x52c1b8=_0x225508;return si||(si=0x1,function(_0x310892,_0xd72513){(function(_0xd07dc6,_0x208454,_0x168205){_0x310892['exports']=_0x208454(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x1b8cd1){var _0x2abb3d=_0x1e04;return(function(){var _0x11efea=_0x1e04,_0x4b0481=_0x1b8cd1,_0x2ff986=_0x4b0481[_0x11efea(0x3e7)],_0x5b6e7e=_0x2ff986[_0x11efea(0x37a)],_0x2bbbe8=_0x4b0481[_0x11efea(0x391)],_0x51abe0=[],_0x38ece9=[],_0x1c228e=[],_0x195073=[],_0x4ffd09=[],_0x5aa9d8=[],_0x23f2e0=[],_0x19e26c=[],_0x3246b9=[],_0x3dfe2a=[];(function(){for(var _0x49f0f1=[],_0x4d5b96=0x0;_0x4d5b96<0x100;_0x4d5b96++)_0x4d5b96<0x80?_0x49f0f1[_0x4d5b96]=_0x4d5b96<<0x1:_0x49f0f1[_0x4d5b96]=_0x4d5b96<<0x1^0x11b;for(var _0x293a47=0x0,_0x5e328e=0x0,_0x4d5b96=0x0;_0x4d5b96<0x100;_0x4d5b96++){var _0xcfb036=_0x5e328e^_0x5e328e<<0x1^_0x5e328e<<0x2^_0x5e328e<<0x3^_0x5e328e<<0x4;_0xcfb036=_0xcfb036>>>0x8^_0xcfb036&0xff^0x63,_0x51abe0[_0x293a47]=_0xcfb036,_0x38ece9[_0xcfb036]=_0x293a47;var _0xf90503=_0x49f0f1[_0x293a47],_0x562f83=_0x49f0f1[_0xf90503],_0x4c800a=_0x49f0f1[_0x562f83],_0x47f3b5=_0x49f0f1[_0xcfb036]*0x101^_0xcfb036*0x1010100;_0x1c228e[_0x293a47]=_0x47f3b5<<0x18|_0x47f3b5>>>0x8,_0x195073[_0x293a47]=_0x47f3b5<<0x10|_0x47f3b5>>>0x10,_0x4ffd09[_0x293a47]=_0x47f3b5<<0x8|_0x47f3b5>>>0x18,_0x5aa9d8[_0x293a47]=_0x47f3b5;var _0x47f3b5=_0x4c800a*0x1010101^_0x562f83*0x10001^_0xf90503*0x101^_0x293a47*0x1010100;_0x23f2e0[_0xcfb036]=_0x47f3b5<<0x18|_0x47f3b5>>>0x8,_0x19e26c[_0xcfb036]=_0x47f3b5<<0x10|_0x47f3b5>>>0x10,_0x3246b9[_0xcfb036]=_0x47f3b5<<0x8|_0x47f3b5>>>0x18,_0x3dfe2a[_0xcfb036]=_0x47f3b5,_0x293a47?(_0x293a47=_0xf90503^_0x49f0f1[_0x49f0f1[_0x49f0f1[_0x4c800a^_0xf90503]]],_0x5e328e^=_0x49f0f1[_0x49f0f1[_0x5e328e]]):_0x293a47=_0x5e328e=0x1;}}());var _0x158ea1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38705a=_0x2bbbe8[_0x11efea(0x422)]=_0x5b6e7e[_0x11efea(0x309)]({'_doReset':function(){var _0x396306=_0x11efea,_0x2e90ed;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x6d81bc=this[_0x396306(0x1ca)]=this['_key'],_0x4bb2b6=_0x6d81bc[_0x396306(0x2e7)],_0x358fde=_0x6d81bc[_0x396306(0x1ec)]/0x4,_0x5e575c=this[_0x396306(0x25c)]=_0x358fde+0x6,_0x568884=(_0x5e575c+0x1)*0x4,_0x163300=this[_0x396306(0x2b4)]=[],_0x1e9cc7=0x0;_0x1e9cc7<_0x568884;_0x1e9cc7++)_0x1e9cc7<_0x358fde?_0x163300[_0x1e9cc7]=_0x4bb2b6[_0x1e9cc7]:(_0x2e90ed=_0x163300[_0x1e9cc7-0x1],_0x1e9cc7%_0x358fde?_0x358fde>0x6&&_0x1e9cc7%_0x358fde==0x4&&(_0x2e90ed=_0x51abe0[_0x2e90ed>>>0x18]<<0x18|_0x51abe0[_0x2e90ed>>>0x10&0xff]<<0x10|_0x51abe0[_0x2e90ed>>>0x8&0xff]<<0x8|_0x51abe0[_0x2e90ed&0xff]):(_0x2e90ed=_0x2e90ed<<0x8|_0x2e90ed>>>0x18,_0x2e90ed=_0x51abe0[_0x2e90ed>>>0x18]<<0x18|_0x51abe0[_0x2e90ed>>>0x10&0xff]<<0x10|_0x51abe0[_0x2e90ed>>>0x8&0xff]<<0x8|_0x51abe0[_0x2e90ed&0xff],_0x2e90ed^=_0x158ea1[_0x1e9cc7/_0x358fde|0x0]<<0x18),_0x163300[_0x1e9cc7]=_0x163300[_0x1e9cc7-_0x358fde]^_0x2e90ed);for(var _0x2571cb=this[_0x396306(0x3e9)]=[],_0x5c9be7=0x0;_0x5c9be7<_0x568884;_0x5c9be7++){var _0x1e9cc7=_0x568884-_0x5c9be7;if(_0x5c9be7%0x4)var _0x2e90ed=_0x163300[_0x1e9cc7];else var _0x2e90ed=_0x163300[_0x1e9cc7-0x4];_0x5c9be7<0x4||_0x1e9cc7<=0x4?_0x2571cb[_0x5c9be7]=_0x2e90ed:_0x2571cb[_0x5c9be7]=_0x23f2e0[_0x51abe0[_0x2e90ed>>>0x18]]^_0x19e26c[_0x51abe0[_0x2e90ed>>>0x10&0xff]]^_0x3246b9[_0x51abe0[_0x2e90ed>>>0x8&0xff]]^_0x3dfe2a[_0x51abe0[_0x2e90ed&0xff]];}}},'encryptBlock':function(_0x1a34fa,_0x3c2dcd){var _0x1b2629=_0x11efea;this[_0x1b2629(0x442)](_0x1a34fa,_0x3c2dcd,this[_0x1b2629(0x2b4)],_0x1c228e,_0x195073,_0x4ffd09,_0x5aa9d8,_0x51abe0);},'decryptBlock':function(_0x4c389e,_0x34d8db){var _0x43f799=_0x11efea,_0x54cb42=_0x4c389e[_0x34d8db+0x1];_0x4c389e[_0x34d8db+0x1]=_0x4c389e[_0x34d8db+0x3],_0x4c389e[_0x34d8db+0x3]=_0x54cb42,this['_doCryptBlock'](_0x4c389e,_0x34d8db,this[_0x43f799(0x3e9)],_0x23f2e0,_0x19e26c,_0x3246b9,_0x3dfe2a,_0x38ece9);var _0x54cb42=_0x4c389e[_0x34d8db+0x1];_0x4c389e[_0x34d8db+0x1]=_0x4c389e[_0x34d8db+0x3],_0x4c389e[_0x34d8db+0x3]=_0x54cb42;},'_doCryptBlock':function(_0x98139d,_0x27496c,_0x2471f9,_0x20c510,_0x3f15f9,_0x5b8b47,_0x4d2e8e,_0x4b2608){var _0x55a0a8=_0x11efea;for(var _0x1f2502=this[_0x55a0a8(0x25c)],_0x5d913e=_0x98139d[_0x27496c]^_0x2471f9[0x0],_0x5a408b=_0x98139d[_0x27496c+0x1]^_0x2471f9[0x1],_0x9f9ed0=_0x98139d[_0x27496c+0x2]^_0x2471f9[0x2],_0x549009=_0x98139d[_0x27496c+0x3]^_0x2471f9[0x3],_0xa576dc=0x4,_0x3985c4=0x1;_0x3985c4<_0x1f2502;_0x3985c4++){var _0x25ed1e=_0x20c510[_0x5d913e>>>0x18]^_0x3f15f9[_0x5a408b>>>0x10&0xff]^_0x5b8b47[_0x9f9ed0>>>0x8&0xff]^_0x4d2e8e[_0x549009&0xff]^_0x2471f9[_0xa576dc++],_0x4e88db=_0x20c510[_0x5a408b>>>0x18]^_0x3f15f9[_0x9f9ed0>>>0x10&0xff]^_0x5b8b47[_0x549009>>>0x8&0xff]^_0x4d2e8e[_0x5d913e&0xff]^_0x2471f9[_0xa576dc++],_0x1fd097=_0x20c510[_0x9f9ed0>>>0x18]^_0x3f15f9[_0x549009>>>0x10&0xff]^_0x5b8b47[_0x5d913e>>>0x8&0xff]^_0x4d2e8e[_0x5a408b&0xff]^_0x2471f9[_0xa576dc++],_0x3cc976=_0x20c510[_0x549009>>>0x18]^_0x3f15f9[_0x5d913e>>>0x10&0xff]^_0x5b8b47[_0x5a408b>>>0x8&0xff]^_0x4d2e8e[_0x9f9ed0&0xff]^_0x2471f9[_0xa576dc++];_0x5d913e=_0x25ed1e,_0x5a408b=_0x4e88db,_0x9f9ed0=_0x1fd097,_0x549009=_0x3cc976;}var _0x25ed1e=(_0x4b2608[_0x5d913e>>>0x18]<<0x18|_0x4b2608[_0x5a408b>>>0x10&0xff]<<0x10|_0x4b2608[_0x9f9ed0>>>0x8&0xff]<<0x8|_0x4b2608[_0x549009&0xff])^_0x2471f9[_0xa576dc++],_0x4e88db=(_0x4b2608[_0x5a408b>>>0x18]<<0x18|_0x4b2608[_0x9f9ed0>>>0x10&0xff]<<0x10|_0x4b2608[_0x549009>>>0x8&0xff]<<0x8|_0x4b2608[_0x5d913e&0xff])^_0x2471f9[_0xa576dc++],_0x1fd097=(_0x4b2608[_0x9f9ed0>>>0x18]<<0x18|_0x4b2608[_0x549009>>>0x10&0xff]<<0x10|_0x4b2608[_0x5d913e>>>0x8&0xff]<<0x8|_0x4b2608[_0x5a408b&0xff])^_0x2471f9[_0xa576dc++],_0x3cc976=(_0x4b2608[_0x549009>>>0x18]<<0x18|_0x4b2608[_0x5d913e>>>0x10&0xff]<<0x10|_0x4b2608[_0x5a408b>>>0x8&0xff]<<0x8|_0x4b2608[_0x9f9ed0&0xff])^_0x2471f9[_0xa576dc++];_0x98139d[_0x27496c]=_0x25ed1e,_0x98139d[_0x27496c+0x1]=_0x4e88db,_0x98139d[_0x27496c+0x2]=_0x1fd097,_0x98139d[_0x27496c+0x3]=_0x3cc976;},'keySize':0x100/0x20});_0x4b0481['AES']=_0x5b6e7e[_0x11efea(0x16d)](_0x38705a);}()),_0x1b8cd1[_0x2abb3d(0x422)];}));}(Ve)),Ve[_0x52c1b8(0x3cf)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x225508(0x3cf)],ai;function xs(){return ai||(ai=0x1,function(_0x3196fa,_0x33253e){(function(_0x1b0fd0,_0x5ae828){var _0x239e51=_0x1e04;_0x3196fa[_0x239e51(0x3cf)]=_0x5ae828(ie());}(Ls,function(_0x1b27ee){var _0x1ec68d=_0x1e04;return _0x1b27ee[_0x1ec68d(0x365)][_0x1ec68d(0x449)];}));}(Xe)),Xe['exports'];}function _0x1e04(_0x2786c5,_0x14c989){var _0x2c4ee6=_0x2c4e();return _0x1e04=function(_0x1e04ef,_0x1c31a9){_0x1e04ef=_0x1e04ef-0x16b;var _0x210ca6=_0x2c4ee6[_0x1e04ef];return _0x210ca6;},_0x1e04(_0x2786c5,_0x14c989);}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x225508(0x3cf)],oi;function Hs(){return oi||(oi=0x1,function(_0x49908f,_0xbb0ab1){(function(_0x47e121,_0x2df8ef){var _0x1f249b=_0x1e04;_0x49908f[_0x1f249b(0x3cf)]=_0x2df8ef(ie());}($s,function(_0x2ac40c){var _0x276c65=_0x1e04;return(function(){var _0x3b6eb1=_0x1e04;if(typeof ArrayBuffer==_0x3b6eb1(0x300)){var _0x4043ab=_0x2ac40c,_0x4d7b3b=_0x4043ab[_0x3b6eb1(0x3e7)],_0x4c0733=_0x4d7b3b['WordArray'],_0x1202f8=_0x4c0733[_0x3b6eb1(0x1b3)],_0x4674d0=_0x4c0733[_0x3b6eb1(0x1b3)]=function(_0x4d2bd6){var _0x39c745=_0x3b6eb1;if(_0x4d2bd6 instanceof ArrayBuffer&&(_0x4d2bd6=new Uint8Array(_0x4d2bd6)),(_0x4d2bd6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4d2bd6 instanceof Uint8ClampedArray||_0x4d2bd6 instanceof Int16Array||_0x4d2bd6 instanceof Uint16Array||_0x4d2bd6 instanceof Int32Array||_0x4d2bd6 instanceof Uint32Array||_0x4d2bd6 instanceof Float32Array||_0x4d2bd6 instanceof Float64Array)&&(_0x4d2bd6=new Uint8Array(_0x4d2bd6[_0x39c745(0x433)],_0x4d2bd6[_0x39c745(0x406)],_0x4d2bd6[_0x39c745(0x435)])),_0x4d2bd6 instanceof Uint8Array){for(var _0x1ba5d7=_0x4d2bd6['byteLength'],_0x5b19aa=[],_0x13c402=0x0;_0x13c402<_0x1ba5d7;_0x13c402++)_0x5b19aa[_0x13c402>>>0x2]|=_0x4d2bd6[_0x13c402]<<0x18-_0x13c402%0x4*0x8;_0x1202f8[_0x39c745(0x3db)](this,_0x5b19aa,_0x1ba5d7);}else _0x1202f8['apply'](this,arguments);};_0x4674d0[_0x3b6eb1(0x35c)]=_0x4c0733;}}()),_0x2ac40c[_0x276c65(0x3e7)][_0x276c65(0x297)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x225508(0x3cf)],ci;function _0x2c4e(){var _0x3071bf=['unitId\x20is\x20not\x20found','transformStack\x20failed!','csAckEvent','replace','_process','auth.needGotoLoginAlert','Cipher','capture','string','COLLAB_SUBMIT_CHANGESET_URL','waitForRoom$','_onConnectionFailed','result','members$','_logService','2631009ALhVjf','function','UserProfileImg','getTypeOfUnitAdded$','_sendingTimer','resourceIDs','headers','_getCurrentRevision','YUUMI_NO_CUBOID_FOR_QUESTION','splice','extend','_onRecvEvent','COMPRESS_MUTATION_APPLY','ALREADY_EXISTS','_roomCreated$','_getAPIPrefixPath','10145388CYAMgj','_handlerCallback','/universer-api/user/session-ticket','src','onStarting','UPDATE_PERMISSION_OBJ','JOIN_ROOM_FAILED','reduce','INGEST','SerializableCipher','mixIn','_unlockTransition','GLOBAL_ROOMS_CNT_EXCEEDS','clone','_parse','state','open$','ciphertext','UNIVER_COLLABORATION_CLIENT_PLUGIN','_submitChangeset','_stopTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET','addHandlerCallback','enableAuthServer','session.room-not-exists','[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.','/rev/','includes','padding','_userManagerService','_undoRedoService','_type','COMPRESS_MUTATION_SEND','_tryEnsureSocket','authzUrl','[CollaborationSession]','infoRsp','session','isPermissionRej','_memberService','_changesetReqId','parse','_initDependencies','FAIL','removeMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','dispose$','JOIN_ROOM_NOT_EXISTS','_init','INVITE_CODE_HAS_BEEN_UES','_onLocalMutation','_permissionService','_scheduleCollaborationTimeoutTimer','avatar','HEARTBEAT','_createInitialState','USER_NOT_INVITED_CODE','length','transformChangesets','location','clear','LIVESHARE_OPERATION','Latin1','clamp','_changesetSessionId','eventID','Error\x20on\x20receiving\x20event','override','Base','_onJoinRoomEvent','dispose','_decreaseWaiting','UNIVER_SLIDE','onSyncEditingCollabCursor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-pro.collaboration-client.single-active-unit-service','withCredentials','prototype','onLocalMutation','UNKNOWN_CODE','fetchMiss','[FetchMissState]','selections','\x20to\x20','stringify','onTransformState','enc','permissionRejEvent','_revisionService','href','_collaborationUIEventService','hasher','collabSubmitChangesetUrl','_substituteUndoStack','key','YUUMI_UNABLE_LOAD_URL','interceptor','liveShareNewHost','getInterceptPoints','NOT_FOUND','pad','textRanges','_onRemoteACK','error','c1Prime','listCollaborators','SEND_CHANGESET_TIMEOUT','BlockCipher','_updateStatus','CHANGESET_SHOULD_RETRY','[CollaborationSessionService]','collaboration-client.local-cache-service','collaboration-client.config','3276512YjdDiZ','SNAPSHOT_INVALID_SNAPSHOT','_clearScheduledTask','_nDataBytes','indexOf','_event$','randomBytes','_onOffline','status','concat','roomInfos','NoPadding','HELLO','IDLE','hostname','apply','closeSession','algo','filter','map','appendMutation','CHANGESET_ACK','_eventService','_getLoginPath','getUnitId','crypto','LOGIN_FAILED','EvpKDF','Base64','_imageSourceCache','NOT_COLLAB','CipherParams','JOIN_ROOM_PERMISSION_DENIED','objects','getImageSourceCache','getCurrentRevOfUnit','_transformRemoteChangesetByIMECache','JOIN_ROOM_FULL','getCurrentSelections','_clearCollaborationTimeoutTimer','Hasher','ONLINE','_httpService','_members$','sendChangesetTimeout','_data','msCrypto','fetching\x20missing\x20changesets\x20from\x20','_networkConditionService','unitID','pauseCollaboration','SOCKET_FAILED','UnitSnapshot','transformSelections','MSG_FOR_ERROR','/object/','[CollaborationState]:\x20apply\x20error!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readAsDataURL','_initRequestHeader','getSheetId','session.room-cnt-exceeds','mutations','Hex','create','objectType','every','resend','push','sin','target','UUID','_onConnectionOpen','$super','confirm','_retryCount','_checkMissing','_pendingMutations','fromCollab','exports','Pkcs7','commentUpdate$','close','add','_sendHeartbeat','finalize','getSheetBlock','encode','csRejEvent','_handler','USERS_LEAVE','call','getImage','getOwnPropertyDescriptor','onMissingChangesets','_createHandler','Failed\x20to\x20update\x20permission\x20point','_replaceFileID','UNRECOGNIZED','from','[CollaborationSessionService]:\x20socket\x20error','_remoteChangesetQueue','onTransformSelections','lib','listRoles','_invKeySchedule','telemetry\x20info\x20is\x20not\x20initialized','_waitCount','unitId','COLLAB_WEB_SOCKET_URL','_minBufferSize','_getSignURL','values','error$','_startTelemetryCollaborationNewChangeset','_unitID','ERROR_EXCEED_SIZE','6465085HbSDlz','entityInit$','\x20-\x20','/unit/','submit\x20changeset\x20error!','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','origin','_collaborationSessionService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','conflict','range','People','_clearRetryConnectingTimer','onRemoteRej','HttpExport','_members','byteOffset','MD5','getLatestCsReqIdBySid','UNIVER_SHEET','_emitMembers','connection\x20error','transformUndoRedo','status$','x-univer-host','TOO_MANY_REQUESTS','roles','url','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_applyRemoteChangeset','socket\x20close','updateCollaborator','OpenSSL','[DataLoaderService]','params','_timeoutTimer','HEARTBEAT_TIMEOUT','getWorkbookSelections','getMember','updateMember','onload','patch','setShowComponents','_collaborationTimeoutTimer','AES','_getAPIPrefix','_state','/block/','38091465myzclw','abs','_socketMessageSubscription','/fetchmissing?from=','then','UNIVER_UNKNOWN','LIVESHARE_TERMINATE','members','_collabSessionService','_cipher','COMPLETION_FINISHED','YUUMI_RATE_OVER_LIMIT','awaitingChangeset','buffer','_oKey','byteLength','charAt','_status$','cfg','startsWith','__creator','fetch_missing','close$','iterations','_reverseMap','_xformMode','shouldCloseConn','format','_doCryptBlock','catch','ENSURE_SNAPSHOT_EXECUTION','session.room-permission-denied','fetchMissingChangesets','image/jpg','NO_OTHER_CLIENTS_EDITING','Utf8','_transformStack','commentUpdateEvent','getRoom','_resendWithTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','OFFLINE','POST','focused$','/universer-api/snapshot/','originalMeta','_removeRoom','LIVESHARE_REQUEST_HOST','/role','LICENSE_MAX_UNITS_EXCEEDED','_executeRemoteChangeset','localeService','_onUserJoin','requestParams','_hasher','_commandService','getFocusedUnit','_initUnitPermissionChange','univer-pro.collaboration-client-socket-service','_transformSelections','_singleActiveUnitService','keySize','/universer-api/snapshot','image/png','_sessionStatus$','_compressMutationService','[OfflineState]:\x20received\x20changeset.','HmacMD5','_isPermissionRej','INVALID_INVITE_CODE','_createInitialStateImpl','_HTTPService','1426607BDvSTQ','m2Prime','execute','createInstance','unit-cache-','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','getUnit','SUCCUSS','compute','_entities','c2Prime','state$','_instanceService','_socketService','_createHelper','getCollabEntity$','substr','sessionStatus','liveShareOperation','_acknowledgedAwaitingChangeset','_transformService','UnitEmbedded','[CollaborationUndoRedoService]','/-/object/list','NEW_CHANGESETS','AWAITING','_onFetchMissResult','_doReset','reqId','4463557kPVBFy','APPLY_PERMISSION_DENIED','/universer-api/authz','onTransformIME','getResourcesRequest','toggleOffline','onRemoteRetry','_commentUpdate$','getUnitOnRev','getRandomValues','_onUserLeave','_showConflictNotification','collaMsg','createEncryptor','APPLY_REVISION_CONFILICT','actions','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','UNIVER_PROJECT','uniscriptRunEvent','/new_changes','FETCH_MISSING','_transformStateCache','socket\x20open.','_initMergeInterceptor','OTHER_CLIENT_EDITING','editing\x20status\x20changed\x20to','not_collab','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','hasOwnProperty','bind','HttpImport','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','json','leaveEvent','blockSize','reject','encrypt','PENDING','editingUnit','_awaitingChangeset','Encryptor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Univer','HmacSHA1','debug','_loadDoc','session.room-full','_exhaustRemoteChangesetQueue','_iv','/-/object/-/batch_allowed','AWAITING_WITH_PENDING','_syncEditingCollabCursor','\x0aAfter:\x20','_map','init','_snapshotService','onCommentUpdate','updatePermissionPoint','PSEUDO_FETCH_MISSING_RESULT','_getRedoStack','loginUrlKey','AUTHZ_URL_KEY','body','SYNCED','_scheduleCompleteTimestamp','unknown','update','join','_toggleOnline','allowed','find','duration','now','salt','_throwTelemetryCollaborationNewChangeset','message$','asObservable','_keyPriorReset','getTypeOfUnitDisposed$','_hash','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','online$','_onRemoteRejected','_telemetryInfo','_clearRedo','UNDEFINED','processBlock','/universer-api/file/{fileID}/sign-url','encryptBlock','subUnitId','onTransformRemoteChangesetByStateCache','slice','kdf','_unitInfo$','refreshPermission','pipe','unpad','MUTATION','subscribe','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_injector','_lockTransition','_key','onRemoteChangeset','_entityInit$','_toggleOffline','getMemberID','name','CONFLICT','_socket$','INVITE_CODE_ALREADY_BOUND','sigBytes','_DEC_XFORM_MODE','_roomMembers','PERMISSION_DENIED','_sessions','changesets','_transformIMECache','routeKey','_onRemoteRetry','_univerInstanceService','createDecryptor','retryConnectingInterval','[SyncedState]:\x20received\x20rejection.','UPDATE_CURSOR','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CHANGESET_REJ','action','BASE64','_waitForHeartbeatResponse','_onRemoteChangeset','requireSession','enableOfflineEditing','getConfig','_state$','_shouldReportTelemetry','getCollabEntity','emitEvent','startTime','_replayCachedMutations','LOGIN_URL_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localeService','_prevBlock','pluginName','fetchThroughInterceptors','ivSize','getCurrentUser','LOCAL_CACHE_INTERVAL','loadSheet','delete','title','APPLY_NON_SEQUENTIAL_REVISION','entries','deepClone','objectID','type','PERMISSION_REJ','forEach','random','resolve','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fromCharCode','_getSendChangesetTimeout','[OfflineState]:\x20received\x20rejection.','csShouldRetryEvent','HMAC','subject','_ENC_XFORM_MODE','onTransformRemoteChangesetByIMECache','_clearTimeoutTimer','reset','?size=','unitInfo$','_localCacheService','charCodeAt','registerHTTPInterceptor','signUrlServerUrl','&source=','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Decryptor','USERS_ENTER','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onSendChangeset','SOCKET_FAILED_RETRY','offline','incrementRevOfUnit','isArray','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','_telemetryService','_clearHeartbeatTimer','newCsEvent','defineProperty','_iKey','_collaborationPaused','_undoStacks','downloadEndpointUrl','copyFileMeta','_candidateSocket','_listenToNetworkCondition','next','has','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LEAVE','/universer-api/uniscript','APPLY_DUPLICATED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','method','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Could\x20not\x20dynamically\x20require\x20\x22','_change$','FileId','readyForCollab','_socket','univer-pro.collaboration-client.network-condition.service','executeCommand','toggleOnline','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','initWorkbookPermissionChange','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ERROR_IMAGE_TYPE','YUUMI_ASYNCIO_CANCELLED','_nRounds','onStateChange','[UniverCollaborationClientPlugin]','event$','LIVESHARE_FETCH_OPERATIONS','_transformUndoredo','randomUUID','snapshotServerUrl','_resendTimeout','8ZLDnLi','/universer-api/comb','sid','append','/object','RETRY_CONNECTING_MAX_COUNT','localCacheService','set','putCollaborators','LIVESHARE_NEW_HOST','PERSON','_resendTimer','size','decrypt','userID','mode','RECV','addImageSourceCache','post','_config','awaiting_with_pending','synced','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_transitionLocked','_startCollaboration','_onConflict','transformMutationsWithChangeset','_sender','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOINING','findIndex','onRemoteAck','createSocket','2GZdRVu','CLOSE_ROOM','ceil','_disableEditing','getAllMembers','_getDownloadEndpointURL','_fetchMissChangesets','disposeWithMe','floor','_rescheduleHeartbeat','EMAIL_HAS_BEEN_BOUND','StreamCipher','SHA1','_substituteRedoStack','UNKNOWN_CMD','data','memberID','WordArray','revision','_sendHeartbeatTimer','joinRsp','Malformed\x20UTF-8\x20data','code','INVALID_ARGUMENT','_clearUndo','toString','_socketReady','_mode','get','_configService','send','MOBILE_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','Undefined','[CollaborationEntity]','{fileID}','_clearLocalCache','COMMENT_UPDATE','_getUndoStack','saveSnapshot','_loadSheet','deleteCollaborator','getSnapshotAPIPath','getTime','_redoStacks','compose','_keySchedule','JOIN','equals','enableSingleActiveInstanceLock','_queuedRemoteChangesets','reconnect','/collaborator','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','PY_RUNTIME_SCRIPT_ERROR','workbook','BlockCipherMode','_incrementRevisionNumber','getUnitStatus$','LICENSE_IMPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','collaborators','_createSocket','_createHmacHelper','sheets','_getCtorByUniverType','_sheetTransformSelectionsService','WECHAT_HAS_BEEN_BOUND','_tryReconnect','cmd','_updateState','SNAPSHOT_HAS_BEEN_REMOVED','ERROR_IMAGE','loadOfflineData','_joinRoom','BufferedBlockAlgorithm','updatePermissionObjEvent','session.join-failed','SNAPSHOT_SERVER_URL_KEY','collaboratorID','_transformRemoteChangesetByStateCache','SUBMIT_CHANGESET_TIMEOUT','ws://127.0.0.1:8000/universer-api/comb/connect','_doFinalize','formatter','OPTIONAL','_doCreateSocket','_retryConnectingTimer','updateOfflineData','getUnitType','_onCombEvent','UNIVER_DOC','default','setCurrentUser','_onMessage','INVITE_CODE_REQUIRED','complete','words','file','YUUMI_SUBSCRIPTION_NOT_FOUND','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','DEFAULT_FILE_NAME','_append','_schedule','_updateLocalCache','rev'];_0x2c4e=function(){return _0x3071bf;};return _0x2c4e();}function Vs(){var _0x17067e=_0x225508;return ci||(ci=0x1,function(_0x37285e,_0x210599){(function(_0xd217f0,_0x5a1560,_0x283d24){_0x37285e['exports']=_0x5a1560(ie(),Ai());}(Fs,function(_0x4adfe2){var _0x3c9d8a=_0x1e04;return _0x4adfe2['pad'][_0x3c9d8a(0x38b)]={'pad':function(){},'unpad':function(){}},_0x4adfe2[_0x3c9d8a(0x373)][_0x3c9d8a(0x38b)];}));}(Qe)),Qe[_0x17067e(0x3cf)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x59986f,_0x2324e0){var _0x12afa7=_0x225508;const _0x2ffab5=_0x2324e0-_0x59986f[_0x12afa7(0x348)]%_0x2324e0,_0x56d0e2=String[_0x12afa7(0x21f)](_0x2ffab5)['repeat'](_0x2ffab5);return _0x59986f+_0x56d0e2;}function Ys(_0x543e5f,_0xe26fd3){var _0x2bf787=_0x225508;const _0x55bfaf=js[_0x2bf787(0x21c)](0x10),_0xd7f41f=Ks(_0x543e5f,0x10),_0x4a665e=ws[_0x2bf787(0x1a1)](ks[_0x2bf787(0x338)](_0xd7f41f),ri[_0x2bf787(0x338)](_0xe26fd3),{'iv':_0x55bfaf,'padding':Ws});return _0x55bfaf[_0x2bf787(0x389)](_0x4a665e['ciphertext'])[_0x2bf787(0x29f)](ri);}function qs(){var _0x46a8c2=_0x225508;const _0x90fef3=_0x11844b()['__Key__'];if(_0x90fef3){const _0x1c67bd={'time':Math['floor'](Date[_0x46a8c2(0x1c5)]()/0x3e8),'domain':location[_0x46a8c2(0x38e)]};return Ys(JSON[_0x46a8c2(0x363)](_0x1c67bd),_0x90fef3);}}var zs=Object[_0x225508(0x3dd)],Js=(_0x364c6d,_0xeff589,_0x561282,_0x1fd997)=>{var _0x118628=_0x225508;for(var _0x4e3db1=_0x1fd997>0x1?void 0x0:_0x1fd997?zs(_0xeff589,_0x561282):_0xeff589,_0x6ee5d0=_0x364c6d[_0x118628(0x348)]-0x1,_0x3afa18;_0x6ee5d0>=0x0;_0x6ee5d0--)(_0x3afa18=_0x364c6d[_0x6ee5d0])&&(_0x4e3db1=_0x3afa18(_0x4e3db1)||_0x4e3db1);return _0x4e3db1;},Xs=(_0x13deb9,_0x5f5950)=>(_0x9898fd,_0x323a31)=>_0x5f5950(_0x9898fd,_0x323a31,_0x13deb9);let at=class{constructor(_0x1ab1fd){var _0x1ba750=_0x225508;this['_httpService']=_0x1ab1fd,this[_0x1ba750(0x3bb)]();}[_0x225508(0x3bb)](){var _0x465e40=_0x225508;this[_0x465e40(0x3aa)][_0x465e40(0x22d)]({'interceptor':(_0x5c2f9b,_0x4b3b51)=>{var _0x38a2e5=_0x465e40;const _0x35d6b0=_0x5c2f9b[_0x38a2e5(0x305)],_0x3c6c3a=qs();return _0x3c6c3a&&_0x35d6b0[_0x38a2e5(0x26c)](_0x38a2e5(0x40e),_0x3c6c3a),_0x4b3b51(_0x5c2f9b);}});}};at=Js([Xs(0x0,_0x59c5a0(_0x33df68))],at);var Zs=Object[_0x225508(0x3dd)],Qs=(_0x1b70bd,_0x545a89,_0x3d3828,_0x1a9b7a)=>{var _0x540c8b=_0x225508;for(var _0x21cddf=_0x1a9b7a>0x1?void 0x0:_0x1a9b7a?Zs(_0x545a89,_0x3d3828):_0x545a89,_0x50b641=_0x1b70bd[_0x540c8b(0x348)]-0x1,_0x5d8bb4;_0x50b641>=0x0;_0x50b641--)(_0x5d8bb4=_0x1b70bd[_0x50b641])&&(_0x21cddf=_0x5d8bb4(_0x21cddf)||_0x21cddf);return _0x21cddf;},mt=(_0x17b025,_0xcf8cad)=>(_0x261cfb,_0x5081ed)=>_0xcf8cad(_0x261cfb,_0x5081ed,_0x17b025);let bt=class extends _0xbb1137{constructor(_0xb16b5e,_0x443c20,_0x5734a4){var _0xf3bcd9=_0x225508;super(),N(this,_0xf3bcd9(0x1da),new _0x25de28(null)),N(this,_0xf3bcd9(0x22a),this[_0xf3bcd9(0x1da)][_0xf3bcd9(0x1c9)]()),(this[_0xf3bcd9(0x2fe)]=_0xb16b5e,this[_0xf3bcd9(0x1b4)]=_0x443c20,this[_0xf3bcd9(0x22b)]=_0x5734a4);}async['loadUnit'](_0xc62998,_0x177346,_0x4a83cb){var _0xf3e49a=_0x225508;this[_0xf3e49a(0x1da)][_0xf3e49a(0x246)]({'unitId':_0xc62998,'type':_0x177346,'subUnitId':_0x4a83cb});let _0x46737f=null;switch(_0x177346){case Q[_0xf3e49a(0x409)]:{_0x46737f=await this[_0xf3e49a(0x2ae)](_0xc62998);break;}case Q[_0xf3e49a(0x2e1)]:{_0x46737f=await this[_0xf3e49a(0x1aa)](_0xc62998);break;}default:{this[_0xf3e49a(0x2fe)][_0xf3e49a(0x376)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x46737f;}async[_0x225508(0x2ae)](_0x4a9409){var _0x5d42e3=_0x225508,_0x232b16;let _0x5c5839=0x0;const _0x3f3778=await((_0x232b16=this[_0x5d42e3(0x22b)])==null?void 0x0:_0x232b16['loadOfflineData'](_0x4a9409));return _0x3f3778&&(_0x3f3778['awaitingChangeset']||_0x3f3778[_0x5d42e3(0x3be)][_0x5d42e3(0x348)]!==0x0)&&(_0x5c5839=_0x3f3778['rev']),_0x5c5839===0x0&&this[_0x5d42e3(0x2fe)][_0x5d42e3(0x1a9)](_0x5d42e3(0x417),_0x5d42e3(0x197)),this[_0x5d42e3(0x1b4)][_0x5d42e3(0x212)](_0x4a9409,_0x5c5839);}async[_0x225508(0x1aa)](_0x37485e){var _0x11ae20=_0x225508,_0x26c70c;let _0x334b86=0x0;const _0xf97ba1=await((_0x26c70c=this[_0x11ae20(0x22b)])==null?void 0x0:_0x26c70c[_0x11ae20(0x2cf)](_0x37485e));return _0xf97ba1&&(_0xf97ba1[_0x11ae20(0x432)]||_0xf97ba1['mutations'][_0x11ae20(0x348)]!==0x0)&&(_0x334b86=_0xf97ba1[_0x11ae20(0x2ef)]),_0x334b86===0x0&&this[_0x11ae20(0x2fe)][_0x11ae20(0x1a9)]('[DataLoaderService]',_0x11ae20(0x197)),this['_snapshotService']['loadDoc'](_0x37485e,_0x334b86);}};bt=Qs([mt(0x0,_0x4017e6),mt(0x1,_0x59c5a0(_0x10c059)),mt(0x2,_0x182985(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x28decc,_0x1f5d3f,_0x310353,_0x368f84)=>{var _0x36c1ed=_0x225508;for(var _0x2906c7=_0x368f84>0x1?void 0x0:_0x368f84?er(_0x1f5d3f,_0x310353):_0x1f5d3f,_0x3f67c7=_0x28decc[_0x36c1ed(0x348)]-0x1,_0x34bd18;_0x3f67c7>=0x0;_0x3f67c7--)(_0x34bd18=_0x28decc[_0x3f67c7])&&(_0x2906c7=_0x34bd18(_0x2906c7)||_0x2906c7);return _0x2906c7;},gt=(_0x168a57,_0xee5fed)=>(_0x10cbe0,_0x397c33)=>_0xee5fed(_0x10cbe0,_0x397c33,_0x168a57);const ir=[_0x225508(0x465),'image/jpeg',_0x225508(0x447),'image/gif','image/bmp'],nr=0x5*0x400*0x400,sr=_0x225508(0x18c),rr='/universer-api/stream/file/upload',ar=_0x225508(0x412),or=_0x225508(0x1d4);let Ot=class{constructor(_0x10a3ec,_0x44f5cf,_0x1212e6){var _0x5dbad3=_0x225508;N(this,_0x5dbad3(0x3eb),0x0),N(this,_0x5dbad3(0x250),new _0x7a0b0d()),N(this,'change$',this['_change$']),N(this,_0x5dbad3(0x39d),new Map()),(this['_httpService']=_0x10a3ec,this[_0x5dbad3(0x2a3)]=_0x44f5cf,this['_univerInstanceService']=_0x1212e6);}['setWaitCount'](_0x1ed812){var _0xb4338d=_0x225508;this['_waitCount']=_0x1ed812,this[_0xb4338d(0x250)]['next'](_0x1ed812);}[_0x225508(0x3a2)](_0x4bfe63,_0x1c99a3){var _0x135cbe=_0x225508;if(_0x1c99a3===_0x3e1698[_0x135cbe(0x1fd)]){const _0x3ff2e9=new Image();return _0x3ff2e9[_0x135cbe(0x312)]=_0x4bfe63,_0x3ff2e9;}return this[_0x135cbe(0x39d)][_0x135cbe(0x2a2)](_0x4bfe63);}[_0x225508(0x276)](_0x156913,_0x523607,_0x1c8ee7){var _0x4a22f1=_0x225508;_0x523607===_0x3e1698[_0x4a22f1(0x1fd)]||_0x1c8ee7==null||this[_0x4a22f1(0x39d)][_0x4a22f1(0x26c)](_0x156913,_0x1c8ee7);}async[_0x225508(0x3dc)](_0x1f1325){var _0x360dd2=_0x225508;try{const _0x11a565=this[_0x360dd2(0x3e1)](this[_0x360dd2(0x3ef)](),''+_0x1f1325),_0x37f4db=(await this[_0x360dd2(0x3aa)][_0x360dd2(0x2a2)](_0x11a565))[_0x360dd2(0x1bb)];if(_0x37f4db[_0x360dd2(0x376)]&&_0x37f4db[_0x360dd2(0x376)][_0x360dd2(0x29c)]===Si['OK']){const _0xb5b40=new URL(_0x37f4db['url'],this[_0x360dd2(0x28b)]())[_0x360dd2(0x29f)]();return Promise[_0x360dd2(0x21d)](_0xb5b40);}return Promise[_0x360dd2(0x1a0)](_0x37f4db[_0x360dd2(0x376)]);}catch(_0x16f6c0){return Promise[_0x360dd2(0x1a0)](_0x16f6c0);}}async['saveImage'](_0x5d53b0){var _0x4c2045=_0x225508;let _0x543f36='';if(!ir[_0x4c2045(0x32a)](_0x5d53b0['type']))return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x25a)]));if(_0x5d53b0[_0x4c2045(0x271)]>nr)return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x3f4)]));try{const _0x12d984=new FormData();_0x12d984[_0x4c2045(0x268)](_0x4c2045(0x2e8),_0x5d53b0);const _0x4e3965=this[_0x4c2045(0x1f5)][_0x4c2045(0x45e)](),_0x5c61d6=_0x4e3965==null?void 0x0:_0x4e3965[_0x4c2045(0x398)]();if(!_0x5c61d6)throw new Error(_0x4c2045(0x2f0));const _0x5ee338=this['_getUploadFileURL']()+_0x4c2045(0x229)+_0x5d53b0[_0x4c2045(0x271)]['toString']()+_0x4c2045(0x22f)+Ei[_0x4c2045(0x174)]+'&assign='+encodeURIComponent(_0x5c61d6),_0x5f24f3=await(await fetch(_0x5ee338,{'method':_0x4c2045(0x450),'body':_0x12d984}))[_0x4c2045(0x19d)]();if(typeof _0x5f24f3[_0x4c2045(0x251)]!=_0x4c2045(0x2f8))return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x2ce)]));_0x543f36=_0x5f24f3[_0x4c2045(0x251)];}catch{return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x2ce)]));}return new Promise((_0xbd0e80,_0x4faa8f)=>{var _0x36437e=_0x4c2045;const _0x2c94a4=new FileReader();_0x2c94a4[_0x36437e(0x3ba)](_0x5d53b0),_0x2c94a4[_0x36437e(0x41e)]=_0x4a6e33=>{var _0x4da21b=_0x36437e,_0x54da7f;const _0x521627=(_0x54da7f=_0x4a6e33[_0x4da21b(0x3c6)])==null?void 0x0:_0x54da7f[_0x4da21b(0x2fc)];if(_0x521627==null){this[_0x4da21b(0x356)](),_0x4faa8f(new Error(_0x390909['ERROR_IMAGE']));return;}const _0x5cc275=_0x3b2e42['generateRandomId'](0x6);_0xbd0e80({'imageId':_0x5cc275,'imageSourceType':_0x3e1698[_0x4da21b(0x3c7)],'source':_0x543f36,'base64Cache':_0x521627,'status':_0x390909[_0x4da21b(0x475)]}),this[_0x4da21b(0x356)]();};});}['_getUploadFileURL'](){var _0xd188c3=_0x225508,_0x9e3b63,_0x4a7f87;const _0x249428=this[_0xd188c3(0x2a3)][_0xd188c3(0x202)](sr),_0x142dab=this['_configService']['getConfig'](q);return(_0x4a7f87=(_0x9e3b63=_0x142dab==null?void 0x0:_0x142dab['uploadFileServerUrl'])!=null?_0x9e3b63:_0x249428)!=null?_0x4a7f87:rr;}[_0x225508(0x3ef)](){var _0x2085b2=_0x225508,_0x55a5a7,_0x3fbf7d;const _0x122137=this[_0x2085b2(0x2a3)][_0x2085b2(0x202)](ar),_0x26870d=this[_0x2085b2(0x2a3)][_0x2085b2(0x202)](q);return(_0x3fbf7d=(_0x55a5a7=_0x26870d==null?void 0x0:_0x26870d[_0x2085b2(0x22e)])!=null?_0x55a5a7:_0x122137)!=null?_0x3fbf7d:or;}[_0x225508(0x28b)](){var _0x30b7f1=_0x225508,_0x2de54d;const _0x4b650c=this[_0x30b7f1(0x2a3)]['getConfig'](q);return(_0x2de54d=_0x4b650c==null?void 0x0:_0x4b650c[_0x30b7f1(0x242)])!=null?_0x2de54d:location[_0x30b7f1(0x3fc)];}['_replaceFileID'](_0x32e403,_0x5041a7){var _0x2adbfd=_0x225508;return _0x32e403[_0x2adbfd(0x2f3)](_0x2adbfd(0x2a9),_0x5041a7);}[_0x225508(0x356)](){var _0x3f7e30=_0x225508;this['_waitCount']-=0x1,this[_0x3f7e30(0x250)][_0x3f7e30(0x246)](this[_0x3f7e30(0x3eb)]);}};Ot=tr([gt(0x0,_0x59c5a0(_0x33df68)),gt(0x1,_0x299d0c),gt(0x2,_0x59c5a0(_0x5db9d5))],Ot);var cr=Object[_0x225508(0x3dd)],hr=(_0x1f799c,_0x2433dd,_0x1003b4,_0x34bbc9)=>{for(var _0x3f0d8f=_0x34bbc9>0x1?void 0x0:_0x34bbc9?cr(_0x2433dd,_0x1003b4):_0x2433dd,_0x1fd6a8=_0x1f799c['length']-0x1,_0x2215b1;_0x1fd6a8>=0x0;_0x1fd6a8--)(_0x2215b1=_0x1f799c[_0x1fd6a8])&&(_0x3f0d8f=_0x2215b1(_0x3f0d8f)||_0x3f0d8f);return _0x3f0d8f;},hi=(_0x468352,_0x155573)=>(_0x29a2ab,_0x21a9db)=>_0x155573(_0x29a2ab,_0x21a9db,_0x468352);const _r=_0x225508(0x17e);let yt=class{constructor(_0x13e2c2,_0x5ecf51){var _0x184dc8=_0x225508;this[_0x184dc8(0x2a3)]=_0x13e2c2,this[_0x184dc8(0x46d)]=_0x5ecf51;}[_0x225508(0x30e)](){var _0x50ce63=_0x225508,_0x30664d,_0x525115;const _0x34a873=this[_0x50ce63(0x2a3)]['getConfig'](Ni),_0x3868c5=this['_configService'][_0x50ce63(0x202)](q);return(_0x525115=(_0x30664d=_0x3868c5==null?void 0x0:_0x3868c5[_0x50ce63(0x331)])!=null?_0x30664d:_0x34a873)!=null?_0x525115:_r;}async['list'](_0x27a562){var _0x3c4e87=_0x225508;const _0x4180a8=this['_getAPIPrefixPath']()+_0x3c4e87(0x2ba);return{'list':[{'title':_0x3c4e87(0x401),'mentions':(await this[_0x3c4e87(0x46d)][_0x3c4e87(0x2a2)](_0x4180a8,{'params':{'objectID':_0x27a562[_0x3c4e87(0x3ec)],'unitID':_0x27a562['unitId']}}))[_0x3c4e87(0x1bb)][_0x3c4e87(0x2c3)][_0x3c4e87(0x393)](_0x1f4f1f=>({'objectId':_0x1f4f1f['id'],'name':_0x1f4f1f[_0x3c4e87(0x224)][_0x3c4e87(0x1e8)],'metadata':{'icon':_0x1f4f1f[_0x3c4e87(0x224)][_0x3c4e87(0x344)]},'label':_0x1f4f1f[_0x3c4e87(0x224)][_0x3c4e87(0x1e8)],'objectType':_0x276f56['PERSON']})),'metadata':{},'type':_0x276f56[_0x3c4e87(0x26f)]}]};}};yt=hr([hi(0x0,_0x59c5a0(_0x299d0c)),hi(0x1,_0x59c5a0(_0x33df68))],yt);var lr=Object[_0x225508(0x3dd)],ur=(_0x52c483,_0x49b94f,_0x3ec15a,_0x35f08f)=>{for(var _0x16ef74=_0x35f08f>0x1?void 0x0:_0x35f08f?lr(_0x49b94f,_0x3ec15a):_0x49b94f,_0xdec95b=_0x52c483['length']-0x1,_0x48b56a;_0xdec95b>=0x0;_0xdec95b--)(_0x48b56a=_0x52c483[_0xdec95b])&&(_0x16ef74=_0x48b56a(_0x16ef74)||_0x16ef74);return _0x16ef74;},we=(_0x915e0c,_0x3fc376)=>(_0x178c3f,_0x4568a1)=>_0x3fc376(_0x178c3f,_0x4568a1,_0x915e0c);let ot=class extends _0xbb1137{constructor(_0x5c4b23,_0x4122dc,_0x78ec7,_0x48a70b,_0x248a38){var _0x3cf3d9=_0x225508;super(),this[_0x3cf3d9(0x1e1)]=_0x5c4b23,this[_0x3cf3d9(0x1f5)]=_0x4122dc,this[_0x3cf3d9(0x342)]=_0x78ec7,this[_0x3cf3d9(0x3fd)]=_0x48a70b,this[_0x3cf3d9(0x369)]=_0x248a38,this[_0x3cf3d9(0x45f)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x36ee84=_0x225508;const _0x1c209a=async _0x14b00d=>{var _0x599540=_0x1e04;(await this['_collaborationSessionService'][_0x599540(0x200)](_0x14b00d))[_0x599540(0x25f)]['pipe'](_0x3495eb(_0x3a4c5d=>_0x3a4c5d[_0x599540(0x350)]===_0x3c1a33['SHOULD_CLOSE_CONN']),_0x3ef981(this[_0x599540(0x33d)]))[_0x599540(0x1df)](_0x219d03=>{var _0xe2516a=_0x599540;const _0x39a234=_0x219d03,{reason:_0x5861a0}=_0x39a234[_0xe2516a(0x295)];this[_0xe2516a(0x369)][_0xe2516a(0x206)]({'id':re[_0xe2516a(0x287)],'data':_0x5861a0}),this[_0xe2516a(0x342)]['updatePermissionPoint'](new _0x2340c5(_0x14b00d)['id'],!0x1),this[_0xe2516a(0x3fd)][_0xe2516a(0x390)](_0x14b00d);});};_0x3e5ef6(this[_0x36ee84(0x1f5)][_0x36ee84(0x302)](_0x1a0c97[_0x36ee84(0x409)]),this[_0x36ee84(0x1f5)][_0x36ee84(0x302)](_0x1a0c97[_0x36ee84(0x2e1)]))[_0x36ee84(0x1dc)](_0x4cad8a(_0x44c429=>_0x44c429['getUnitId']()),_0x3495eb(_0x2403bf=>!_0x59d445(_0x2403bf)),_0x3ef981(this['dispose$']))[_0x36ee84(0x1df)](_0x13368f=>{_0x1c209a(_0x13368f);});}[_0x225508(0x45f)](){var _0x4ec6cd=_0x225508;const _0x195327=async _0x51eae6=>{var _0x28e1aa=_0x1e04;const _0x16d1ea=await this[_0x28e1aa(0x3fd)][_0x28e1aa(0x200)](_0x51eae6),_0x373692=this[_0x28e1aa(0x1e1)]['get'](_0x1f0098);_0x16d1ea[_0x28e1aa(0x25f)][_0x28e1aa(0x1dc)](_0x3495eb(_0x2361c2=>_0x2361c2[_0x28e1aa(0x350)]===_0x3c1a33['UPDATE_PERMISSION_OBJ']),_0x3ef981(this[_0x28e1aa(0x33d)]))[_0x28e1aa(0x1df)](_0x9ad709=>{var _0x2b3803=_0x28e1aa;const _0x24b131=_0x9ad709,{objectId:_0x5f0dd1}=_0x24b131[_0x2b3803(0x295)];_0x5f0dd1===_0x51eae6?_0x373692[_0x2b3803(0x258)](_0x51eae6):_0x373692[_0x2b3803(0x1db)](_0x51eae6,_0x5f0dd1);});};_0x3e5ef6(this[_0x4ec6cd(0x1f5)]['getTypeOfUnitAdded$'](_0x1a0c97[_0x4ec6cd(0x409)]))[_0x4ec6cd(0x1dc)](_0x4cad8a(_0xd0f827=>_0xd0f827['getUnitId']()),_0x3495eb(_0x87e83b=>!_0x59d445(_0x87e83b)),_0x3ef981(this[_0x4ec6cd(0x33d)]))[_0x4ec6cd(0x1df)](_0x17d6a2=>{_0x195327(_0x17d6a2);});}};ot=ur([we(0x0,_0x59c5a0(_0x1f43c7)),we(0x1,_0x5db9d5),we(0x2,_0x52947d),we(0x3,_0x59c5a0(xe)),we(0x4,_0x59c5a0(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x1076ae,_0x56b760,_0x1e46e7,_0x130753)=>{var _0x1589fa=_0x225508;for(var _0x107ca6=_0x130753>0x1?void 0x0:_0x130753?dr(_0x56b760,_0x1e46e7):_0x56b760,_0xb912a1=_0x1076ae[_0x1589fa(0x348)]-0x1,_0x235b65;_0xb912a1>=0x0;_0xb912a1--)(_0x235b65=_0x1076ae[_0xb912a1])&&(_0x107ca6=_0x235b65(_0x107ca6)||_0x107ca6);return _0x107ca6;},_i=(_0x210cb1,_0x3b33a3)=>(_0x1dc23c,_0x393897)=>_0x3b33a3(_0x1dc23c,_0x393897,_0x210cb1);let Nt=class{constructor(_0x8a3080,_0x4fade4){var _0x42564a=_0x225508;this[_0x42564a(0x2a3)]=_0x8a3080,this[_0x42564a(0x3aa)]=_0x4fade4;}async[_0x225508(0x184)](_0xe1df6c,_0x39c3cd){var _0x4e0299=_0x225508,_0x5f4ddf;const {unitID:_0x2111b8,type:_0x24e7aa,revision:_0x3a8d93=0x0}=_0x39c3cd,_0x1f7236=this[_0x4e0299(0x2b0)]()+'/'+_0x24e7aa+_0x4e0299(0x3f8)+_0x2111b8+_0x4e0299(0x329)+_0x3a8d93,_0x571d43=(await this[_0x4e0299(0x3aa)][_0x4e0299(0x2a2)](_0x1f7236))[_0x4e0299(0x1bb)],_0x211512=(_0x5f4ddf=_0x571d43['snapshot'])==null?void 0x0:_0x5f4ddf[_0x4e0299(0x2bd)];if(_0x211512){const _0x3590d0=_0x211512==null?void 0x0:_0x211512[_0x4e0299(0x453)],_0x1ad586=_0x37d4f5[_0x4e0299(0x3d7)](_0x1f368d(_0x3590d0));_0x211512[_0x4e0299(0x453)]=_0x1ad586,Object[_0x4e0299(0x216)](_0x211512[_0x4e0299(0x2c6)])['forEach'](([,_0x34a96c])=>{var _0x1fe0b2=_0x4e0299;const _0x15dba5=_0x34a96c[_0x1fe0b2(0x453)],_0x2703ba=_0x37d4f5['encode'](_0x1f368d(_0x15dba5));_0x34a96c[_0x1fe0b2(0x453)]=_0x2703ba;});}return _0x571d43;}async[_0x225508(0x3d6)](_0x25e3e7,_0x5d15e9){var _0x3351e3=_0x225508;const {unitID:_0x35cd38,type:_0x32a0fa,blockID:_0x4c2cdc}=_0x5d15e9,_0x2917a7=this[_0x3351e3(0x423)]()+'/'+_0x32a0fa+_0x3351e3(0x3f8)+_0x35cd38+_0x3351e3(0x425)+_0x4c2cdc;return(await this['_httpService'][_0x3351e3(0x2a2)](_0x2917a7))[_0x3351e3(0x1bb)];}async['getDeserializedSheetBlock'](_0x1d7970,_0x285e84){var _0x8a809b=_0x225508;const {unitID:_0x310b53,type:_0x6e228f,blockID:_0x194fd6}=_0x285e84,_0x306f55=this['_getAPIPrefix']()+_0x8a809b(0x425)+_0x6e228f+_0x8a809b(0x3f8)+_0x310b53+_0x8a809b(0x425)+_0x194fd6;return(await this['_httpService'][_0x8a809b(0x2a2)](_0x306f55))[_0x8a809b(0x1bb)];}async[_0x225508(0x446)](_0x4e4f88,_0x3027d2){var _0x174cfd=_0x225508;const {unitID:_0x2dc7df,type:_0x5dccef,from:_0x5dda52,to:_0x1e2e1b}=_0x3027d2,_0x416c01=this[_0x174cfd(0x423)]()+'/'+_0x5dccef+_0x174cfd(0x3f8)+_0x2dc7df+_0x174cfd(0x429)+_0x5dda52+'&to='+_0x1e2e1b;return(await this[_0x174cfd(0x3aa)][_0x174cfd(0x2a2)](_0x416c01))['body'];}[_0x225508(0x2b0)](){var _0x4ca86a=_0x225508,_0x2efe3d;return(_0x2efe3d=this[_0x4ca86a(0x2a3)][_0x4ca86a(0x202)](Sn))!=null?_0x2efe3d:this[_0x4ca86a(0x423)]();}['_getAPIPrefix'](){var _0x411dbc=_0x225508,_0x977c87,_0x11d42d;const _0x1c0bdb=this[_0x411dbc(0x2a3)]['getConfig'](mn),_0x57dec3=this['_configService'][_0x411dbc(0x202)](q);return(_0x11d42d=(_0x977c87=_0x57dec3==null?void 0x0:_0x57dec3[_0x411dbc(0x263)])!=null?_0x977c87:_0x1c0bdb)!=null?_0x11d42d:gn;}async[_0x225508(0x180)](_0x8267ab,_0x32cfe4){var _0x4b25f5=_0x225508;const _0xa2cf8b=_0x4b25f5(0x452)+_0x32cfe4[_0x4b25f5(0x219)]+_0x4b25f5(0x3f8)+_0x32cfe4[_0x4b25f5(0x3b1)]+'/resources';return(await this['_httpService'][_0x4b25f5(0x2a2)](_0xa2cf8b,{'params':{'resourceId':JSON['stringify'](_0x32cfe4[_0x4b25f5(0x304)])}}))[_0x4b25f5(0x1bb)];}[_0x225508(0x2ad)](){var _0x342369=_0x225508;throw new Error(_0x342369(0x21e));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x225508(0x243)](){var _0x578a31=_0x225508;throw new Error(_0x578a31(0x21e));}[_0x225508(0x408)](){var _0x1f4f82=_0x225508;throw new Error(_0x1f4f82(0x21e));}};Nt=fr([_i(0x0,_0x299d0c),_i(0x1,_0x59c5a0(_0x33df68))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x21bccd,_0x4e25ee,_0x43e693,_0x312fe1)=>{for(var _0x442abe=_0x312fe1>0x1?void 0x0:_0x312fe1?vr(_0x4e25ee,_0x43e693):_0x4e25ee,_0x459231=_0x21bccd['length']-0x1,_0xba581;_0x459231>=0x0;_0x459231--)(_0xba581=_0x21bccd[_0x459231])&&(_0x442abe=_0xba581(_0x442abe)||_0x442abe);return _0x442abe;},Pe=(_0x43631d,_0x26d0ea)=>(_0x147595,_0x2c3e84)=>_0x26d0ea(_0x147595,_0x2c3e84,_0x43631d);let Dt=class extends _0x39d871{constructor(_0x47858e,_0x4c260a,_0x2bb136,_0x424fe2,_0x38711b){var _0x314cf0=_0x225508;super(_0x47858e,_0x4c260a,_0x2bb136),this[_0x314cf0(0x173)]=_0x424fe2,this[_0x314cf0(0x2fe)]=_0x38711b;}[_0x225508(0x40c)](_0x381e10,_0x186043){var _0x506074=_0x225508;const _0x1c6451=this[_0x506074(0x2ac)](_0x381e10);if(_0x1c6451)try{const _0x4196cb=this[_0x506074(0x44a)](_0x1c6451,_0x186043);this[_0x506074(0x36c)](_0x381e10,_0x4196cb);}catch(_0x403a34){this[_0x506074(0x2fe)][_0x506074(0x376)](_0x506074(0x175),_0x403a34),this['_clearUndo'](_0x381e10);}const _0x31c4df=this['_getRedoStack'](_0x381e10);if(_0x31c4df)try{const _0x13cb31=this[_0x506074(0x44a)](_0x31c4df,_0x186043);this[_0x506074(0x293)](_0x381e10,_0x13cb31);}catch(_0x27e36d){this['_logService'][_0x506074(0x376)](_0x27e36d),this[_0x506074(0x1d1)](_0x381e10);}}[_0x225508(0x29e)](_0x163b8b){var _0x19d212=_0x225508;const _0x575a23=this['_getUndoStack'](_0x163b8b);_0x575a23&&(_0x575a23[_0x19d212(0x348)]=0x0,this[_0x19d212(0x37b)]());}[_0x225508(0x1d1)](_0x427bf0){var _0xf972e1=_0x225508;const _0x8f9b6e=this[_0xf972e1(0x1b8)](_0x427bf0);_0x8f9b6e&&(_0x8f9b6e['length']=0x0,this[_0xf972e1(0x37b)]());}[_0x225508(0x36c)](_0x2147c1,_0x1d3650){var _0x227c90=_0x225508;this[_0x227c90(0x241)]['set'](_0x2147c1,_0x1d3650),this[_0x227c90(0x37b)]();}['_substituteRedoStack'](_0x15cee0,_0x12afcc){var _0x19a8b4=_0x225508;this[_0x19a8b4(0x2b2)][_0x19a8b4(0x26c)](_0x15cee0,_0x12afcc),this['_updateStatus']();}[_0x225508(0x44a)](_0x18c262,_0x1abadf){var _0x517391=_0x225508;const _0x2ecece=[];let _0x2537de=_0x1abadf,_0x385cab=_0x1abadf;for(let _0x1545ed=_0x18c262[_0x517391(0x348)]-0x1;_0x1545ed>=0x0;_0x1545ed--){const {unitID:_0x397789,undoMutations:_0x5a3c52,redoMutations:_0x2a8df6}=_0x18c262[_0x1545ed],_0x5a7e63=this['_transformService']['transformMutationsWithChangeset'](_0x2537de,_0x5a3c52),_0x2bf85a=this['_transformService'][_0x517391(0x27f)](_0x385cab,_0x2a8df6);if(_0x1492ce(_0x5a7e63)||_0x1492ce(_0x2bf85a)){this[_0x517391(0x2fe)][_0x517391(0x376)]('[CollaborationUndoRedoService]',_0x517391(0x2f1),_0x5a7e63,_0x2bf85a);break;}_0x2537de=_0x5a7e63[_0x517391(0x377)],_0x385cab=_0x2bf85a[_0x517391(0x377)],_0x2ecece[_0x517391(0x3c4)]({'unitID':_0x397789,'undoMutations':_0x5a7e63['m2Prime'],'redoMutations':_0x2bf85a[_0x517391(0x46f)]});}return _0x2ecece['reverse']();}};Dt=pr([Pe(0x0,_0x5db9d5),Pe(0x1,_0x171c01),Pe(0x2,_0xf8639d),Pe(0x3,_0x4832d4),Pe(0x4,_0x4017e6)],Dt);var mr=Object[_0x225508(0x23e)],gr=Object[_0x225508(0x3dd)],Sr=(_0x1573cb,_0x419078,_0x2dd4d1)=>_0x419078 in _0x1573cb?mr(_0x1573cb,_0x419078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2dd4d1}):_0x1573cb[_0x419078]=_0x2dd4d1,Er=(_0x468649,_0xbc49cd,_0x576b0f,_0x18e74a)=>{var _0x1939ce=_0x225508;for(var _0x729b25=_0x18e74a>0x1?void 0x0:_0x18e74a?gr(_0xbc49cd,_0x576b0f):_0xbc49cd,_0x3a6345=_0x468649[_0x1939ce(0x348)]-0x1,_0x177a0d;_0x3a6345>=0x0;_0x3a6345--)(_0x177a0d=_0x468649[_0x3a6345])&&(_0x729b25=_0x177a0d(_0x729b25)||_0x729b25);return _0x729b25;},St=(_0x592e8a,_0x2cb54f)=>(_0x20a1f6,_0x26d215)=>_0x2cb54f(_0x20a1f6,_0x26d215,_0x592e8a),Ir=(_0x247ec2,_0x7523a1,_0x4ced50)=>Sr(_0x247ec2,_0x7523a1+'',_0x4ced50);const Tr=_0x225508(0x321);let Ut=class extends _0x6cabb{constructor(_0x515624,_0x3c018a,_0x5dda7f,_0x56db58){var _0x256812=_0x225508;super(),N(this,_0x256812(0x278)),(this['_logService']=_0x3c018a,this[_0x256812(0x1e1)]=_0x5dda7f,this[_0x256812(0x2a3)]=_0x56db58);const {..._0x14d1b2}=_0x8436fc({},wn,_0x515624);if(!_0x14d1b2['socketService'])throw new Error(_0x256812(0x257));this[_0x256812(0x278)]=_0x14d1b2,this[_0x256812(0x2a3)]['setConfig'](q,_0x14d1b2);}[_0x225508(0x313)](){var _0x5addd1=_0x225508;this['_registerDependencies'](),this[_0x5addd1(0x339)]();}['_registerDependencies'](){var _0x36d39d=_0x225508,_0xbfc2f0,_0x20768d;this[_0x36d39d(0x1e1)][_0x36d39d(0x247)](_0x315796)&&this['_logService'][_0x36d39d(0x376)](_0x36d39d(0x25e),_0x36d39d(0x3fe));const _0x3e0720=_0x28d45e([[_0x315796,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x36d39d(0x278)]['socketService']}],[_0x36ae02,{'useClass':Nt}],[_0x44cc2c,{'useClass':Rt}],[_0x499c3e,{'useClass':Ot}],[_0x4b4db4,{'useClass':yt}],[st],[Ct]],(_0xbfc2f0=this[_0x36d39d(0x278)])==null?void 0x0:_0xbfc2f0[_0x36d39d(0x352)]);if(!((_0x20768d=this['_config'])!=null&&_0x20768d[_0x36d39d(0x2b7)])){const _0x42fd2c=_0x3e0720[_0x36d39d(0x283)](([_0x6214f5])=>_0x6214f5===ht);_0x42fd2c!==-0x1&&_0x3e0720['splice'](_0x42fd2c,0x1);}_0x53b829(this['_injector'],_0x3e0720);}[_0x225508(0x339)](){var _0x5e4df2=_0x225508,_0x4f37d8,_0x216ba0,_0x1b25a6;this[_0x5e4df2(0x1e1)][_0x5e4df2(0x2a2)](_0x33df68)[_0x5e4df2(0x22d)]({'priority':0x14,'interceptor':_0x34e59f({'maxParallel':0x6})}),(_0x4f37d8=this[_0x5e4df2(0x278)])!=null&&_0x4f37d8[_0x5e4df2(0x201)]||(_0x216ba0=this['_injector'][_0x5e4df2(0x2a2)](J,_0x2fb8ba[_0x5e4df2(0x2db)]))==null||_0x216ba0['disableLocalCache'](),(_0x1b25a6=this[_0x5e4df2(0x278)])!=null&&_0x1b25a6[_0x5e4df2(0x326)]&&_0x1cc1f7(this['_injector'],[[rt]]),_0x1cc1f7(this[_0x5e4df2(0x1e1)],[[at],[st],[ot]]);}};Ir(Ut,_0x225508(0x20d),Tr),Ut=Er([_0x10a9dd(_0x4bb8dc,_0x4bf2bc),St(0x1,_0x4017e6),St(0x2,_0x59c5a0(_0x1f43c7)),St(0x3,_0x299d0c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
1
+ var _0x264c89=_0x400c;(function(_0x50a8a2,_0x356432){var _0x12529c=_0x400c,_0x456676=_0x50a8a2();while(!![]){try{var _0x294eec=parseInt(_0x12529c(0x2df))/0x1*(-parseInt(_0x12529c(0x290))/0x2)+parseInt(_0x12529c(0x1e4))/0x3*(-parseInt(_0x12529c(0x338))/0x4)+-parseInt(_0x12529c(0xbd))/0x5*(-parseInt(_0x12529c(0x191))/0x6)+-parseInt(_0x12529c(0x1d6))/0x7*(parseInt(_0x12529c(0x1eb))/0x8)+-parseInt(_0x12529c(0xb2))/0x9*(-parseInt(_0x12529c(0xb7))/0xa)+parseInt(_0x12529c(0x14c))/0xb+parseInt(_0x12529c(0x1aa))/0xc*(parseInt(_0x12529c(0x32c))/0xd);if(_0x294eec===_0x356432)break;else _0x456676['push'](_0x456676['shift']());}catch(_0x44e238){_0x456676['push'](_0x456676['shift']());}}}(_0x2391,0xbd693));var wi=Object['defineProperty'],Pi=(_0x5755a3,_0xb051e3,_0x580973)=>_0xb051e3 in _0x5755a3?wi(_0x5755a3,_0xb051e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x580973}):_0x5755a3[_0xb051e3]=_0x580973,N=(_0x12da71,_0x114c43,_0x47297f)=>Pi(_0x12da71,typeof _0x114c43!=_0x264c89(0x18a)?_0x114c43+'':_0x114c43,_0x47297f);import{createIdentifier as _0x1ac939,Inject as _0x4a5888,Injector as _0x2d1333,IConfigService as _0x309343,ILogService as _0x1144bf,Disposable as _0x5975e5,DisposableCollection as _0x289b7d,toDisposable as _0x11e1fd,IUniverInstanceService as _0x24d354,UserManagerService as _0x5c2da3,UniverInstanceType as _0x336ae9,LocaleService as _0x567ba8,Optional as _0xb373d8,RxDisposable as _0x10cbe0,Tools as _0x175be1,Rectangle as _0x1f2847,ICommandService as _0x2c2824,JSONX as _0x242b10,CommandType as _0x249315,IUndoRedoService as _0x2defcd,IPermissionService as _0x22b714,sequenceExecute as _0x457ee1,Workbook as _0x124cc0,MentionType as _0x1c1a4b,isInternalEditorID as _0x4c87e0,LocalUndoRedoService as _0x347939,IContextService as _0x5d1239,DependentOn as _0x5669bd,Plugin as _0x35623e,merge as _0x143398,mergeOverrideWithDependencies as _0x628a37,IAuthzIoService as _0x16034b,IMentionIOService as _0x5c9f7d,registerDependencies as _0x2363b4,Quantity as _0x3b9c4c,touchDependencies as _0xe94e4f}from'@univerjs/core';import{Subject as _0x5c84de,merge as _0x288d28,of as _0x20aea1,BehaviorSubject as _0x10b2eb,takeUntil as _0x45ff01,ReplaySubject as _0x6578b,take as _0x53b4f7,map as _0x22c302,shareReplay as _0x5a615c,firstValueFrom as _0x54baed,concatMap as _0x4a83e6}from'rxjs';import{map as _0x391a76,take as _0x30e20e,filter as _0x34859f,delay as _0x15716c,takeUntil as _0x18dcf2}from'rxjs/operators';import{CollaborationEvent as _0x17f648,ISnapshotServerService as _0x55b460,parseChangesetToProtocol as _0x4a8c54,ITransformService as _0x389c1c,isTransformMutationsWithChangesetSuccess as _0x6317cc,mapDocumentTypeToUniverType as _0x5c702c,RevisionService as _0x132948,isTransformChangesetsSuccess as _0x3d229d,CompressMutationService as _0x144306,parseProtocolChangeset as _0x22159d,SnapshotService as _0x509585,textEncoder as _0x50082b,b64DecodeUnicode as _0x23ba02,isTransformMutationsWithChangesetFailure as _0x1a277c,UniverCollaborationPlugin as _0x575b7f}from'@univerjs-pro/collaboration';import{HTTPService as _0x4207d7,ISocketService as _0x924010,MergeInterceptorFactory as _0x58b4c8,HTTPRequest as _0x43d84c,UniverNetworkPlugin as _0x5a64d4,ThresholdInterceptorFactory as _0x3d7339}from'@univerjs/network';import{ITelemetryService as _0x374c8a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3c8aee}from'@univerjs/docs';import{SheetsSelectionsService as _0xfe1099,SetSelectionsOperation as _0x3b028c,InsertSheetMutation as _0x7cde1,EmptyMutation as _0x29a12e,WorkbookEditablePermission as _0x57ceb2,SheetPermissionInitController as _0x11859e}from'@univerjs/sheets';import{ImageSourceType as _0x1b7691,ImageUploadStatusType as _0x25bdc3,IImageIoService as _0x1e065e}from'@univerjs/drawing';import{getGlobalObject as _0x461200}from'@univerjs-pro/license';const mn=_0x264c89(0x268),gn=_0x264c89(0x174),Sn=_0x264c89(0x260),Lr=_0x264c89(0x312),En=0x7d0,In=_0x264c89(0x2b4),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0x264c89(0x151),Cn=_0x264c89(0x159),Rn=0x7530,mi=_0x264c89(0x131),gi=0x4e20,bn=0x4e20,On=_0x264c89(0x169),yn=0x3,Mr=_0x264c89(0x354),kr=0x3e8,Nn=_0x264c89(0x385),Dn=_0x264c89(0x1e5),Un=_0x264c89(0x2e0),An='/universer-api/oidc/authpage',$r=_0x264c89(0x23a),Hr=_0x264c89(0x1d0);var Si=(_0x45a5e1=>(_0x45a5e1[_0x45a5e1[_0x264c89(0xd6)]=0x0]='UNDEFINED',_0x45a5e1[_0x45a5e1['OK']=0x1]='OK',_0x45a5e1[_0x45a5e1[_0x264c89(0xb8)]=0x2]=_0x264c89(0xb8),_0x45a5e1[_0x45a5e1[_0x264c89(0x33f)]=0x3]=_0x264c89(0x33f),_0x45a5e1[_0x45a5e1['NOT_FOUND']=0x4]=_0x264c89(0x2d6),_0x45a5e1[_0x45a5e1[_0x264c89(0xd4)]=0x5]='UNAUTHENTICATED',_0x45a5e1[_0x45a5e1['ALREADY_EXISTS']=0x6]=_0x264c89(0x239),_0x45a5e1[_0x45a5e1[_0x264c89(0x346)]=0x7]=_0x264c89(0x346),_0x45a5e1[_0x45a5e1[_0x264c89(0x332)]=0x8]='TOO_MANY_REQUESTS',_0x45a5e1[_0x45a5e1[_0x264c89(0x396)]=0x9]='COMPLETION_FINISHED',_0x45a5e1[_0x45a5e1['LOGIN_FAILED']=0xa]=_0x264c89(0xb6),_0x45a5e1[_0x45a5e1[_0x264c89(0x141)]=0x1389]=_0x264c89(0x141),_0x45a5e1[_0x45a5e1[_0x264c89(0xd5)]=0x1771]=_0x264c89(0xd5),_0x45a5e1[_0x45a5e1[_0x264c89(0x27e)]=0x1772]=_0x264c89(0x27e),_0x45a5e1[_0x45a5e1[_0x264c89(0x285)]=0x1773]=_0x264c89(0x285),_0x45a5e1[_0x45a5e1[_0x264c89(0xf5)]=0x1b59]=_0x264c89(0xf5),_0x45a5e1[_0x45a5e1[_0x264c89(0x20e)]=0x1b5a]=_0x264c89(0x20e),_0x45a5e1[_0x45a5e1[_0x264c89(0x221)]=0x1b5b]=_0x264c89(0x221),_0x45a5e1[_0x45a5e1[_0x264c89(0x235)]=0x1b5c]=_0x264c89(0x235),_0x45a5e1[_0x45a5e1[_0x264c89(0x119)]=0x1b5d]=_0x264c89(0x119),_0x45a5e1[_0x45a5e1[_0x264c89(0x32b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x45a5e1[_0x45a5e1[_0x264c89(0x135)]=0x2329]=_0x264c89(0x135),_0x45a5e1[_0x45a5e1[_0x264c89(0x16c)]=0x232a]=_0x264c89(0x16c),_0x45a5e1[_0x45a5e1[_0x264c89(0x182)]=0x232b]=_0x264c89(0x182),_0x45a5e1[_0x45a5e1[_0x264c89(0xe6)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45a5e1[_0x45a5e1['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x45a5e1[_0x45a5e1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x264c89(0x14a),_0x45a5e1[_0x45a5e1[_0x264c89(0x2ef)]=0x2712]=_0x264c89(0x2ef),_0x45a5e1[_0x45a5e1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x264c89(0x3a9),_0x45a5e1[_0x45a5e1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x264c89(0x17c),_0x45a5e1[_0x45a5e1[_0x264c89(0x2f6)]=0x271a]=_0x264c89(0x2f6),_0x45a5e1[_0x45a5e1['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x45a5e1[_0x45a5e1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x264c89(0x389),_0x45a5e1[_0x45a5e1[_0x264c89(0x107)]=0x2ee1]=_0x264c89(0x107),_0x45a5e1[_0x45a5e1['INVALID_INVITE_CODE']=0x2ee2]=_0x264c89(0x1cb),_0x45a5e1[_0x45a5e1[_0x264c89(0x192)]=0x2ee3]=_0x264c89(0x192),_0x45a5e1[_0x45a5e1[_0x264c89(0x2a8)]=0x2ee4]=_0x264c89(0x2a8),_0x45a5e1[_0x45a5e1[_0x264c89(0x13c)]=0x2ee5]=_0x264c89(0x13c),_0x45a5e1[_0x45a5e1[_0x264c89(0x22d)]=0x32c9]=_0x264c89(0x22d),_0x45a5e1[_0x45a5e1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x264c89(0x118),_0x45a5e1[_0x45a5e1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x264c89(0x116),_0x45a5e1[_0x45a5e1[_0x264c89(0x348)]=-0x1]=_0x264c89(0x348),_0x45a5e1))(Si||{}),Q=(_0x12b458=>(_0x12b458[_0x12b458[_0x264c89(0x10a)]=0x0]='UNIVER_UNKNOWN',_0x12b458[_0x12b458[_0x264c89(0x314)]=0x1]=_0x264c89(0x314),_0x12b458[_0x12b458[_0x264c89(0x1e7)]=0x2]=_0x264c89(0x1e7),_0x12b458[_0x12b458[_0x264c89(0x3a8)]=0x3]=_0x264c89(0x3a8),_0x12b458[_0x12b458[_0x264c89(0xb9)]=0x4]=_0x264c89(0xb9),_0x12b458[_0x12b458['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x12b458))(Q||{}),F=(_0x115e66=>(_0x115e66[_0x115e66['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x115e66[_0x115e66[_0x264c89(0x1be)]=0x1]=_0x264c89(0x1be),_0x115e66[_0x115e66['JOIN']=0x2]=_0x264c89(0xed),_0x115e66[_0x115e66['LEAVE']=0x3]=_0x264c89(0x32a),_0x115e66[_0x115e66['INGEST']=0x4]=_0x264c89(0x386),_0x115e66[_0x115e66[_0x264c89(0x197)]=0x5]=_0x264c89(0x197),_0x115e66[_0x115e66[_0x264c89(0x2e5)]=0x6]=_0x264c89(0x2e5),_0x115e66[_0x115e66[_0x264c89(0x348)]=-0x1]=_0x264c89(0x348),_0x115e66))(F||{}),ge=(_0x3c6b37=>(_0x3c6b37[_0x3c6b37['UNKNOWN_CODE']=0x0]=_0x264c89(0x1ba),_0x3c6b37[_0x3c6b37['OK']=0x1]='OK',_0x3c6b37[_0x3c6b37[_0x264c89(0x342)]=0x2]=_0x264c89(0x342),_0x3c6b37[_0x3c6b37[_0x264c89(0x179)]=0x3e9]=_0x264c89(0x179),_0x3c6b37[_0x3c6b37[_0x264c89(0x15d)]=0x3ea]=_0x264c89(0x15d),_0x3c6b37[_0x3c6b37[_0x264c89(0x117)]=0x3eb]=_0x264c89(0x117),_0x3c6b37[_0x3c6b37[_0x264c89(0x1f4)]=0x3ec]=_0x264c89(0x1f4),_0x3c6b37[_0x3c6b37['UNRECOGNIZED']=-0x1]=_0x264c89(0x348),_0x3c6b37))(ge||{}),Ei=(_0x32ca09=>(_0x32ca09[_0x32ca09[_0x264c89(0x1dc)]=0x0]=_0x264c89(0x1dc),_0x32ca09[_0x32ca09['HttpImport']=0x1]=_0x264c89(0x1a4),_0x32ca09[_0x32ca09[_0x264c89(0x205)]=0x2]=_0x264c89(0x205),_0x32ca09[_0x32ca09['UnitEmbedded']=0x3]=_0x264c89(0x10f),_0x32ca09[_0x32ca09[_0x264c89(0x296)]=0x4]='UnitSnapshot',_0x32ca09[_0x32ca09[_0x264c89(0x10b)]=0x5]='UserProfileImg',_0x32ca09[_0x32ca09[_0x264c89(0x348)]=-0x1]=_0x264c89(0x348),_0x32ca09))(Ei||{});const q=_0x264c89(0x273),wn={};function _0x400c(_0x1ebe32,_0x136881){var _0x23917e=_0x2391();return _0x400c=function(_0x400c96,_0x417017){_0x400c96=_0x400c96-0xa8;var _0x1ec5a4=_0x23917e[_0x400c96];return _0x1ec5a4;},_0x400c(_0x1ebe32,_0x136881);}var re=(_0x5058f6=>(_0x5058f6['OTHER_CLIENT_EDITING']=_0x264c89(0x262),_0x5058f6[_0x264c89(0x33f)]=_0x264c89(0x33f),_0x5058f6[_0x264c89(0x237)]=_0x264c89(0x237),_0x5058f6[_0x264c89(0x137)]=_0x264c89(0x137),_0x5058f6[_0x264c89(0x252)]='JOIN_ROOM_FAILED',_0x5058f6['SOCKET_FAILED_RETRY']=_0x264c89(0x387),_0x5058f6[_0x264c89(0x307)]=_0x264c89(0x307),_0x5058f6[_0x264c89(0x2da)]=_0x264c89(0x2da),_0x5058f6))(re||{});class pe{constructor(){var _0x2155c3=_0x264c89;N(this,_0x2155c3(0x261),new _0x5c84de()),N(this,_0x2155c3(0x293),this['_event$'][_0x2155c3(0x34b)]());}[_0x264c89(0x361)](_0x976213){var _0x2b3d1f=_0x264c89;this[_0x2b3d1f(0x261)][_0x2b3d1f(0x12f)](_0x976213);}}const Pn=_0x1ac939(_0x264c89(0xb0));function Ln(_0x11a5c1){var _0x18ee29=_0x264c89,_0x2a0445,_0x403a53,_0x4c06b0,_0x528ecf,_0x39ee2d;const _0xcf14d1=_0x11a5c1['data'],_0x4b7fc7=JSON[_0x18ee29(0x1ca)](_0xcf14d1);switch(_0x4b7fc7[_0x18ee29(0x132)]){case F[_0x18ee29(0x197)]:case F[_0x18ee29(0x1be)]:{const _0x269ffd=_0x4b7fc7[_0x18ee29(0x388)];return{..._0x4b7fc7,'data':_0x269ffd,'cmd':_0x4b7fc7[_0x18ee29(0x132)]};}case F[_0x18ee29(0xed)]:{const _0x572355=_0x4b7fc7[_0x18ee29(0x165)];return{..._0x4b7fc7,'data':_0x572355,'cmd':_0x4b7fc7['cmd']};}case F[_0x18ee29(0x2e5)]:{const _0x55c92f=_0x4b7fc7[_0x18ee29(0x10d)];switch(_0x55c92f[_0x18ee29(0x247)]){case _0x17f648[_0x18ee29(0x3b0)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':(_0x2a0445=_0x55c92f[_0x18ee29(0x36e)])==null?void 0x0:_0x2a0445['cs']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x357)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':(_0x403a53=_0x55c92f[_0x18ee29(0x319)])==null?void 0x0:_0x403a53['cs']},'cmd':_0x4b7fc7['cmd']};case _0x17f648[_0x18ee29(0x3ab)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':(_0x4c06b0=_0x55c92f[_0x18ee29(0x321)])==null?void 0x0:_0x4c06b0['cs']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x219)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':(_0x528ecf=_0x55c92f[_0x18ee29(0x29d)])==null?void 0x0:_0x528ecf['cs']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x1f2)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':(_0x39ee2d=_0x55c92f['csShouldRetryEvent'])==null?void 0x0:_0x39ee2d['cs']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x210)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f[_0x18ee29(0x167)]},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0xeb)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f[_0x18ee29(0x3ac)]},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648['USERS_LEAVE']:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f[_0x18ee29(0x1ce)]},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648['LIVESHARE_NEW_HOST']:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f['liveShareNewHost']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x25d)]:case _0x17f648[_0x18ee29(0x12a)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f['liveShareOperation']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x288)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f[_0x18ee29(0x391)]},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0xca)]:return{..._0x4b7fc7,'data':_0x55c92f,'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x15f)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f['commentUpdateEvent']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x390)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f[_0x18ee29(0xcc)]},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648['SHOULD_CLOSE_CONN']:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f['shouldCloseConn']},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};case _0x17f648[_0x18ee29(0x1bc)]:return{..._0x4b7fc7,'data':{..._0x55c92f,'data':_0x55c92f[_0x18ee29(0x13e)]},'cmd':_0x4b7fc7[_0x18ee29(0x132)]};default:return _0x4b7fc7;}}default:return _0x4b7fc7;}}function xn(_0x333b2c){var _0x14d5b6=_0x264c89;switch(_0x333b2c[_0x14d5b6(0x132)]){case F[_0x14d5b6(0x197)]:case F['HELLO']:return JSON[_0x14d5b6(0x12e)]({'cmd':_0x333b2c[_0x14d5b6(0x132)],'routeKey':_0x333b2c['routeKey']});case F[_0x14d5b6(0x386)]:{let _0x30bff4;switch(_0x333b2c['data'][_0x14d5b6(0x247)]){case _0x17f648[_0x14d5b6(0x210)]:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0x210)],'updateCursorEvent':_0x333b2c['data']['data']};break;}case _0x17f648[_0x14d5b6(0x16b)]:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0x16b)],'leaveEvent':_0x333b2c[_0x14d5b6(0x2d1)][_0x14d5b6(0x2d1)]};break;}case _0x17f648[_0x14d5b6(0xeb)]:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0xeb)],'joinEvent':_0x333b2c[_0x14d5b6(0x2d1)][_0x14d5b6(0x2d1)]};break;}case _0x17f648[_0x14d5b6(0x37d)]:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0x37d)],'liveShareNewHost':_0x333b2c[_0x14d5b6(0x2d1)]['data']};break;}case _0x17f648['LIVESHARE_OPERATION']:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0x12a)],'liveShareOperation':_0x333b2c['data'][_0x14d5b6(0x2d1)]};break;}case _0x17f648['LIVESHARE_TERMINATE']:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0x288)],'liveShareTerminate':_0x333b2c[_0x14d5b6(0x2d1)][_0x14d5b6(0x2d1)]};break;}case _0x17f648[_0x14d5b6(0xfd)]:{_0x30bff4={'eventID':_0x17f648['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x333b2c[_0x14d5b6(0x2d1)]['data']};break;}case _0x17f648['LIVESHARE_FETCH_OPERATIONS']:{_0x30bff4={'eventID':_0x17f648[_0x14d5b6(0x25d)]};break;}default:_0x30bff4={'eventID':_0x333b2c[_0x14d5b6(0x2d1)][_0x14d5b6(0x247)]};}return JSON['stringify']({'cmd':_0x333b2c['cmd'],'routeKey':_0x333b2c['routeKey'],'collaMsg':_0x30bff4});}case F[_0x14d5b6(0xed)]:return JSON[_0x14d5b6(0x12e)]({'cmd':_0x333b2c[_0x14d5b6(0x132)],'routeKey':_0x333b2c[_0x14d5b6(0x241)],'joinReq':_0x333b2c[_0x14d5b6(0x2d1)]});case F[_0x14d5b6(0x32a)]:return JSON[_0x14d5b6(0x12e)]({'cmd':_0x333b2c[_0x14d5b6(0x132)],'routeKey':_0x333b2c[_0x14d5b6(0x241)],'leaveReq':_0x333b2c['data']});default:throw new Error(_0x14d5b6(0x30d));}}var Mn=Object[_0x264c89(0x2a4)],kn=(_0x50b194,_0x57a88c,_0x35c884,_0x2e9c5d)=>{for(var _0x19a9fd=_0x2e9c5d>0x1?void 0x0:_0x2e9c5d?Mn(_0x57a88c,_0x35c884):_0x57a88c,_0xd67e4d=_0x50b194['length']-0x1,_0x1b3d91;_0xd67e4d>=0x0;_0xd67e4d--)(_0x1b3d91=_0x50b194[_0xd67e4d])&&(_0x19a9fd=_0x1b3d91(_0x19a9fd)||_0x19a9fd);return _0x19a9fd;},Ae=(_0x600ba,_0x20e7d3)=>(_0x6817e4,_0x49d7e8)=>_0x20e7d3(_0x6817e4,_0x49d7e8,_0x600ba);const Ii=_0x1ac939(_0x264c89(0x25f));function $n(_0x56ccff,_0x4c5fe3,_0x5074db){var _0x3a0e7e=_0x264c89;return _0x56ccff+'/'+_0x4c5fe3+'/unit/'+_0x5074db+_0x3a0e7e(0x1fd);}let Gt=class extends _0x5975e5{constructor(_0x31e15f,_0x2da029,_0x44b173,_0x300c9d,_0x1385d1){var _0x2d0e18=_0x264c89;super(),this[_0x2d0e18(0x154)]=_0x31e15f,this['_httpService']=_0x2da029,this[_0x2d0e18(0x24e)]=_0x44b173,this[_0x2d0e18(0xc7)]=_0x300c9d,this[_0x2d0e18(0x1af)]=_0x1385d1;}[_0x264c89(0x18e)](_0x28f19f){var _0x493287=_0x264c89;const _0x3d4539=this['_injector'][_0x493287(0xff)](_0x924010);if(!_0x3d4539)throw new Error(_0x493287(0x17a));const _0x1d9b0b=_0x3d4539['createSocket'](_0x28f19f);if(!_0x1d9b0b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x17b532=new _0x289b7d(),_0x61c0d0=new _0x5c84de();_0x17b532[_0x493287(0x1c6)](_0x1d9b0b[_0x493287(0x10e)]['subscribe'](_0x1cc8e2=>_0x61c0d0['next'](_0x1cc8e2))),_0x17b532[_0x493287(0x1c6)](_0x11e1fd(()=>_0x61c0d0[_0x493287(0xc4)]()));const _0x42b88e=new _0x5c84de();_0x17b532[_0x493287(0x1c6)](_0x1d9b0b[_0x493287(0x2a9)][_0x493287(0x126)](_0x212a26=>_0x42b88e[_0x493287(0x12f)](_0x212a26))),_0x17b532[_0x493287(0x1c6)](_0x11e1fd(()=>_0x42b88e[_0x493287(0xc4)]()));const _0x4ba6fe=new _0x5c84de();_0x17b532['add'](_0x1d9b0b['message$'][_0x493287(0x126)](_0xa0429d=>{var _0xd12695=_0x493287;const _0x4d594d=Ln(_0xa0429d);_0x4ba6fe[_0xd12695(0x12f)](_0x4d594d);})),_0x17b532[_0x493287(0x1c6)](_0x11e1fd(()=>_0x4ba6fe['complete']()));let _0x27a074;const _0x4d4a52=()=>{var _0x261450=_0x493287;_0x42b88e[_0x261450(0x12f)](new Event('connection\x20error')),_0x61c0d0[_0x261450(0x12f)](new Event(_0x261450(0x1e0))),_0x27a074[_0x261450(0x281)]();};return _0x27a074={'memberID':'','close$':_0x61c0d0['asObservable'](),'error$':_0x42b88e['asObservable'](),'open$':_0x1d9b0b['open$'],'message$':_0x4ba6fe[_0x493287(0x34b)](),'send':_0x4bce63=>{var _0x2eda31=_0x493287;if(_0x4bce63[_0x2eda31(0x132)]===F[_0x2eda31(0x386)]){if(_0x4bce63[_0x2eda31(0x2d1)]['eventID']===_0x17f648[_0x2eda31(0x259)]){this[_0x2eda31(0x29e)](_0x27a074,_0x4bce63[_0x2eda31(0x2d1)])['catch'](_0x1643e1=>{var _0xce12f6=_0x2eda31;this[_0xce12f6(0xc7)]['error'](_0x1643e1),_0x4d4a52();});return;}if(_0x4bce63['data']['eventID']===_0x17f648['FETCH_MISSING']){const _0x7dd591=_0x4bce63[_0x2eda31(0x2d1)];this[_0x2eda31(0x263)](_0x7dd591)[_0x2eda31(0xcb)](_0x1fa9d7=>{var _0x268f6f=_0x2eda31;_0x4ba6fe[_0x268f6f(0x12f)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x7dd591['data'][_0x268f6f(0x12d)],'routeType':'','data':{'eventID':_0x17f648[_0x268f6f(0x2b5)],'data':{'changesets':_0x1fa9d7}}});})[_0x2eda31(0x27b)](_0x125cc7=>{var _0x453a3b=_0x2eda31;this[_0x453a3b(0xc7)][_0x453a3b(0x1f3)](_0x125cc7),_0x4d4a52();});return;}}_0x1d9b0b[_0x2eda31(0x104)](xn(_0x4bce63));},'close':()=>{var _0x47804d=_0x493287;_0x1d9b0b['close'](),_0x17b532[_0x47804d(0x1e6)]();}},_0x27a074;}async[_0x264c89(0x29e)](_0x16a1d6,_0x4c788c){var _0x37b03e=_0x264c89,_0x5ba3d6,_0xdd4262;const {unitType:_0x5d6dfc,unitID:_0x533f0e,changeset:_0x5cb16e}=_0x4c788c[_0x37b03e(0x2d1)],_0x26dbad={'unitID':_0x533f0e,'memberID':_0x16a1d6[_0x37b03e(0x1c8)],'type':_0x5d6dfc,'changeset':_0x4a8c54(_0x5cb16e)},_0xe1b741=this[_0x37b03e(0x24e)][_0x37b03e(0x343)](Nn),_0x503523=this[_0x37b03e(0x24e)]['getConfig'](q),_0x1c08ab=$n((_0xdd4262=(_0x5ba3d6=_0x503523==null?void 0x0:_0x503523[_0x37b03e(0x26a)])!=null?_0x5ba3d6:_0xe1b741)!=null?_0xdd4262:Dn,_0x5d6dfc,_0x533f0e);try{await this[_0x37b03e(0x24c)][_0x37b03e(0xfe)](_0x1c08ab,{'body':_0x26dbad});}catch(_0x111208){throw this[_0x37b03e(0xc7)][_0x37b03e(0x1f3)](_0x37b03e(0x2f3),_0x37b03e(0x105)),_0x111208;}}async[_0x264c89(0x263)](_0xbe7edf){var _0xd6c1b0=_0x264c89;const {unitID:_0x210dcb,from:_0x1fbb6c,to:_0x244d4b,unitType:_0x398c92}=_0xbe7edf[_0xd6c1b0(0x2d1)];return(await this['_snapshotServerService'][_0xd6c1b0(0x2d0)]({'metadata':void 0x0},{'unitID':_0x210dcb,'type':_0x398c92,'from':_0x1fbb6c,'to':_0x244d4b}))[_0xd6c1b0(0x106)];}};Gt=kn([Ae(0x0,_0x4a5888(_0x2d1333)),Ae(0x1,_0x4a5888(_0x4207d7)),Ae(0x2,_0x309343),Ae(0x3,_0x1144bf),Ae(0x4,_0x55b460)],Gt);const Hn=_0x264c89(0xe7);function Bn(_0x192fe1){var _0x5f5b52=_0x264c89;return JSON['stringify'](_0x192fe1)[_0x5f5b52(0x20a)];}class Ti{constructor(){var _0x55104d=_0x264c89;N(this,_0x55104d(0x10c),new _0x5c84de()),N(this,_0x55104d(0x26b),this[_0x55104d(0x10c)][_0x55104d(0x34b)]());}['onCommentUpdate'](_0x3cd7ac){var _0x1d875d=_0x264c89;this[_0x1d875d(0x10c)][_0x1d875d(0x12f)](_0x3cd7ac);}}var jn=Object[_0x264c89(0x2a4)],Fn=(_0x34b165,_0x3d765d,_0x324d23,_0x480ccb)=>{var _0x4b2044=_0x264c89;for(var _0x22efab=_0x480ccb>0x1?void 0x0:_0x480ccb?jn(_0x3d765d,_0x324d23):_0x3d765d,_0x43f24a=_0x34b165[_0x4b2044(0x20a)]-0x1,_0x2a48f1;_0x43f24a>=0x0;_0x43f24a--)(_0x2a48f1=_0x34b165[_0x43f24a])&&(_0x22efab=_0x2a48f1(_0x22efab)||_0x22efab);return _0x22efab;},Wt=(_0x5e2426,_0xd23887)=>(_0x5208c,_0x598389)=>_0xd23887(_0x5208c,_0x598389,_0x5e2426);let Le=class extends _0x5975e5{constructor(_0x153694,_0x24b447){var _0x344e64=_0x264c89;super(),N(this,'_roomMembers',new Map()),N(this,_0x344e64(0x316),new _0x5c84de()),(this['_univerInstanceService']=_0x153694,this[_0x344e64(0x299)]=_0x24b447,this[_0x344e64(0xac)](_0x288d28(this[_0x344e64(0x11c)]['getTypeOfUnitDisposed$'](_0x336ae9[_0x344e64(0x1e7)])[_0x344e64(0x36c)](_0x391a76(_0x29d8a9=>_0x29d8a9[_0x344e64(0x329)]())),this['_univerInstanceService'][_0x344e64(0x17d)](_0x336ae9[_0x344e64(0x314)])['pipe'](_0x391a76(_0x1b0665=>_0x1b0665[_0x344e64(0x329)]())),this['_univerInstanceService'][_0x344e64(0x17d)](_0x336ae9[_0x344e64(0x3a8)])['pipe'](_0x391a76(_0x344be3=>_0x344be3['getUnitId']())))[_0x344e64(0x126)](_0x360d52=>this['_removeRoom'](_0x360d52))));}[_0x264c89(0x1b1)](_0xf521c4){var _0x1bc979=_0x264c89;return this[_0x1bc979(0x271)][_0x1bc979(0x341)](_0xf521c4)?_0x20aea1(this[_0x1bc979(0x271)]['get'](_0xf521c4)):this[_0x1bc979(0x316)][_0x1bc979(0x36c)](_0x391a76(_0x1f35e2=>{var _0x10856f=_0x1bc979;if(_0x1f35e2===_0xf521c4)return this[_0x10856f(0x271)][_0x10856f(0xff)](_0x1f35e2);}));}[_0x264c89(0x3af)](_0x5c834e){var _0x279129=_0x264c89;this['_userManagerService'][_0x279129(0x3af)](_0x5c834e);}['getCurrentUser'](){var _0xf20cac=_0x264c89;return this[_0xf20cac(0x299)]['getCurrentUser']();}[_0x264c89(0x1e8)](_0x2233e5,_0x2bda64){var _0x3b6ac2=_0x264c89;let _0x360ec6=this[_0x3b6ac2(0x271)][_0x3b6ac2(0xff)](_0x2233e5);_0x360ec6||(_0x360ec6=new Vn(),this['_roomMembers']['set'](_0x2233e5,_0x360ec6),this['_roomCreated$'][_0x3b6ac2(0x12f)](_0x2233e5)),_0x360ec6['updateMember'](_0x2bda64);}[_0x264c89(0x3b2)](_0x130542,_0x58d2ca){var _0x514326=_0x264c89;const _0x6f7955=this[_0x514326(0x271)][_0x514326(0xff)](_0x130542);_0x6f7955&&_0x6f7955['removeMember'](_0x58d2ca);}[_0x264c89(0x220)](_0x548d89){var _0x166c52=_0x264c89;return this[_0x166c52(0x271)][_0x166c52(0xff)](_0x548d89);}[_0x264c89(0x136)](_0x3573b1,_0x1efb0a){var _0x3e0e1a=_0x264c89;const _0x10c0fa=this['_roomMembers'][_0x3e0e1a(0xff)](_0x3573b1);if(_0x10c0fa)return _0x10c0fa[_0x3e0e1a(0x136)](_0x1efb0a);}[_0x264c89(0x1b6)](_0x3bf38e){var _0xc4e806=_0x264c89;const _0x20919e=this[_0xc4e806(0x271)][_0xc4e806(0xff)](_0x3bf38e);_0x20919e&&(_0x20919e[_0xc4e806(0x1e6)](),this[_0xc4e806(0x271)][_0xc4e806(0xcd)](_0x3bf38e));}[_0x264c89(0x1e6)](){var _0x49fa88=_0x264c89;this[_0x49fa88(0x271)][_0x49fa88(0x2f8)](_0x2ee27d=>_0x2ee27d[_0x49fa88(0x1e6)]()),this[_0x49fa88(0x271)][_0x49fa88(0x1fe)](),this[_0x49fa88(0x316)]['complete']();}};Le=Fn([Wt(0x0,_0x24d354),Wt(0x1,_0x4a5888(_0x5c2da3))],Le);class Vn extends _0x5975e5{constructor(){var _0x279c8f=_0x264c89;super(...arguments),N(this,'_members',new Map()),N(this,_0x279c8f(0x318),new _0x10b2eb(this[_0x279c8f(0x2ce)])),N(this,_0x279c8f(0x2a5),this[_0x279c8f(0x318)]['asObservable']());}[_0x264c89(0x1e6)](){var _0x67d732=_0x264c89;this[_0x67d732(0x2ce)][_0x67d732(0x1fe)]();}['updateMember'](_0x4a672b){var _0x438be4=_0x264c89;this[_0x438be4(0x2ce)][_0x438be4(0x2ba)](_0x4a672b[_0x438be4(0x1c8)],_0x4a672b),this[_0x438be4(0x181)]();}[_0x264c89(0x3b2)](_0x379b46){var _0x1c9e47=_0x264c89;this[_0x1c9e47(0x2ce)][_0x1c9e47(0xcd)](_0x379b46);}[_0x264c89(0x136)](_0x3cf313){var _0x473196=_0x264c89;return this['_members'][_0x473196(0xff)](_0x3cf313);}[_0x264c89(0x2ec)](){var _0x1ec7b8=_0x264c89;return Array[_0x1ec7b8(0x1b3)](this['_members'][_0x1ec7b8(0xe0)]());}[_0x264c89(0x181)](){var _0x4e38bd=_0x264c89;this[_0x4e38bd(0x318)][_0x4e38bd(0x12f)](this[_0x4e38bd(0x2ce)]);}}var Gn=Object[_0x264c89(0x2a4)],Wn=(_0x188130,_0x44f906,_0x1f3821,_0xd4d9e3)=>{var _0x5c4278=_0x264c89;for(var _0x4e40db=_0xd4d9e3>0x1?void 0x0:_0xd4d9e3?Gn(_0x44f906,_0x1f3821):_0x44f906,_0x34afce=_0x188130[_0x5c4278(0x20a)]-0x1,_0x496344;_0x34afce>=0x0;_0x34afce--)(_0x496344=_0x188130[_0x34afce])&&(_0x4e40db=_0x496344(_0x4e40db)||_0x4e40db);return _0x4e40db;},me=(_0xb7e5c8,_0x2bd93e)=>(_0x55e3df,_0x1041bc)=>_0x2bd93e(_0x55e3df,_0x1041bc,_0xb7e5c8),Ee=(_0x51ec78=>(_0x51ec78[_0x51ec78[_0x264c89(0x25b)]=0x0]=_0x264c89(0x25b),_0x51ec78[_0x51ec78[_0x264c89(0x1c3)]=0x1]=_0x264c89(0x1c3),_0x51ec78[_0x51ec78[_0x264c89(0x147)]=0x2]='OFFLINE',_0x51ec78[_0x51ec78[_0x264c89(0x1dd)]=0x3]=_0x264c89(0x1dd),_0x51ec78))(Ee||{});const Kt={[ge[_0x264c89(0x342)]]:_0x264c89(0x1ee),[ge[_0x264c89(0x179)]]:_0x264c89(0x203),[ge[_0x264c89(0x15d)]]:_0x264c89(0x245),[ge[_0x264c89(0x117)]]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x264c89(0xd8)};let Et=class extends _0x10cbe0{constructor(_0x36f788,_0x210845,_0x10996c,_0x24dd3d,_0x4c1d54,_0x114d81,_0x577e19,_0x3ce8a2,_0x45658d){var _0x1351ad=_0x264c89;super(),N(this,'_sessionStatus$',new _0x10b2eb(0x0)),N(this,'sessionStatus$',this[_0x1351ad(0x33a)][_0x1351ad(0x34b)]()),N(this,_0x1351ad(0x261),new _0x5c84de()),N(this,_0x1351ad(0x293),this[_0x1351ad(0x261)][_0x1351ad(0x34b)]()),N(this,_0x1351ad(0x21e)),N(this,'_socketMessageSubscription'),N(this,_0x1351ad(0x2be)),N(this,_0x1351ad(0x198),!0x1),N(this,_0x1351ad(0x2b9),null),(this[_0x1351ad(0x1c4)]=_0x36f788,this[_0x1351ad(0xc7)]=_0x10996c,this[_0x1351ad(0x24e)]=_0x24dd3d,this['_localeService']=_0x4c1d54,this[_0x1351ad(0x232)]=_0x114d81,this['_commentService']=_0x577e19,this[_0x1351ad(0x35f)]=_0x3ce8a2,this[_0x1351ad(0x27d)]=_0x45658d,this[_0x1351ad(0x198)]=!!this[_0x1351ad(0x27d)],_0x210845['pipe'](_0x45ff01(this[_0x1351ad(0xea)]))[_0x1351ad(0x126)](_0x2711ef=>{var _0x23cd71=_0x1351ad,_0x4870ee;typeof _0x2711ef>'u'||(this['_socket']=_0x2711ef,_0x2711ef?(this[_0x23cd71(0x326)](_0x2711ef),this[_0x23cd71(0x31b)]=_0x2711ef[_0x23cd71(0x1f1)][_0x23cd71(0x126)](_0x157884=>{var _0x53dbd5=_0x23cd71;_0x157884['routeKey']===this[_0x53dbd5(0x1c4)]&&this['_onCombEvent'](_0x157884);})):(this[_0x23cd71(0x266)](),this[_0x23cd71(0x33a)][_0x23cd71(0x12f)](0x2),(_0x4870ee=this[_0x23cd71(0x31b)])==null||_0x4870ee[_0x23cd71(0x1bd)](),this[_0x23cd71(0x31b)]=null));}));}get[_0x264c89(0xda)](){var _0x38a653=_0x264c89;return this[_0x38a653(0x33a)][_0x38a653(0x134)]();}[_0x264c89(0x240)](){var _0x5a62e1=_0x264c89,_0x5d5593,_0x574d75;return(_0x574d75=(_0x5d5593=this[_0x5a62e1(0x21e)])==null?void 0x0:_0x5d5593[_0x5a62e1(0x1c8)])!=null?_0x574d75:null;}['dispose'](){var _0x575fda=_0x264c89;super[_0x575fda(0x1e6)](),this[_0x575fda(0xea)][_0x575fda(0x12f)](),this[_0x575fda(0xea)][_0x575fda(0xc4)]();}[_0x264c89(0x281)](){var _0x163c74=_0x264c89,_0x131298,_0x5727bd;this[_0x163c74(0x266)](),(_0x131298=this[_0x163c74(0x21e)])==null||_0x131298['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5727bd=this['_socket'])==null||_0x5727bd[_0x163c74(0x281)](),this[_0x163c74(0x261)][_0x163c74(0xc4)](),this['_sessionStatus$'][_0x163c74(0xc4)](),this[_0x163c74(0x1e6)]();}[_0x264c89(0xe1)](_0x192325){var _0x13aa79=_0x264c89;_0x192325[_0x13aa79(0x132)]===F[_0x13aa79(0xed)]?this[_0x13aa79(0x334)](_0x192325):_0x192325[_0x13aa79(0x132)]===F[_0x13aa79(0x2e5)]&&this[_0x13aa79(0x109)](_0x192325);}[_0x264c89(0x326)](_0x3281df){var _0x57a5e0=_0x264c89;this[_0x57a5e0(0x33a)]['next'](0x1),_0x3281df[_0x57a5e0(0x104)]({'cmd':F['JOIN'],'routeKey':this[_0x57a5e0(0x1c4)],'routeType':'','data':{'rooms':[{'roomID':this[_0x57a5e0(0x1c4)]}]}});}[_0x264c89(0x334)](_0x22e094){var _0x1dc79f=_0x264c89,_0xd94ee8;if(_0x22e094[_0x1dc79f(0xf1)]in Kt){this[_0x1dc79f(0x35f)][_0x1dc79f(0x361)]({'id':re[_0x1dc79f(0x252)],'data':Kt[_0x22e094[_0x1dc79f(0xf1)]]}),this[_0x1dc79f(0x33a)]['next'](0x2);return;}this[_0x1dc79f(0x33a)][_0x1dc79f(0x12f)](0x3);const _0x5b5f08=(_0xd94ee8=_0x22e094['data'][_0x1dc79f(0x194)][this[_0x1dc79f(0x1c4)]])==null?void 0x0:_0xd94ee8[_0x1dc79f(0x158)];_0x5b5f08&&_0x5b5f08[_0x1dc79f(0x2f8)](_0x4aa02f=>this[_0x1dc79f(0x232)][_0x1dc79f(0x1e8)](this[_0x1dc79f(0x1c4)],_0x4aa02f));}['_onRecvEvent'](_0x3b99db){var _0x57ac71=_0x264c89;try{const _0x144d93=_0x3b99db[_0x57ac71(0x2d1)];switch(_0x144d93['eventID']){case _0x17f648[_0x57ac71(0xeb)]:this[_0x57ac71(0x2f5)](_0x144d93),this[_0x57ac71(0x261)]['next'](_0x144d93);break;case _0x17f648[_0x57ac71(0x16b)]:this[_0x57ac71(0x231)](_0x144d93),this[_0x57ac71(0x261)][_0x57ac71(0x12f)](_0x144d93);break;case _0x17f648[_0x57ac71(0x357)]:case _0x17f648['CHANGESET_SHOULD_RETRY']:this[_0x57ac71(0x1e3)](),this[_0x57ac71(0x36a)](),this[_0x57ac71(0x261)][_0x57ac71(0x12f)](_0x144d93);break;case _0x17f648[_0x57ac71(0xca)]:this[_0x57ac71(0xc7)][_0x57ac71(0x1f3)](_0x57ac71(0x16e)+JSON['stringify'](_0x144d93)),this[_0x57ac71(0x261)][_0x57ac71(0x12f)](_0x144d93);break;case _0x17f648[_0x57ac71(0x15f)]:this[_0x57ac71(0x2d4)]['onCommentUpdate'](_0x144d93[_0x57ac71(0x2d1)]),this[_0x57ac71(0x261)][_0x57ac71(0x12f)](_0x144d93);break;default:this[_0x57ac71(0x261)][_0x57ac71(0x12f)](_0x144d93);}}catch(_0x2d417c){this[_0x57ac71(0xc7)][_0x57ac71(0x1f3)](_0x2d417c,_0x3b99db);}}['_onUserJoin'](_0x36d801){var _0x5e173d=_0x264c89;this['_memberService'][_0x5e173d(0x1e8)](this['_unitID'],_0x36d801[_0x5e173d(0x2d1)]);}['_onUserLeave'](_0x58b5f9){var _0x149307=_0x264c89;this[_0x149307(0x232)][_0x149307(0x3b2)](this[_0x149307(0x1c4)],_0x58b5f9['data'][_0x149307(0x1c8)]);}async[_0x264c89(0x104)](_0x4eed3c,_0x4d40b5){var _0x3cd229=_0x264c89;if(this['sessionStatus']!==0x3||!this[_0x3cd229(0x21e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4eed3c[_0x3cd229(0x247)]===_0x17f648[_0x3cd229(0x259)]&&(this[_0x3cd229(0x22b)](),this[_0x3cd229(0x183)](_0x4eed3c)),this[_0x3cd229(0x21e)]['send']({'cmd':F[_0x3cd229(0x386)],'routeKey':_0x4d40b5,'routeType':'','data':_0x4eed3c});}catch(_0x1455bd){this[_0x3cd229(0xc7)][_0x3cd229(0x1f3)](_0x1455bd);}}[_0x264c89(0x22b)](){var _0x2ef2fa=_0x264c89,_0x6c4a7d;this[_0x2ef2fa(0x2be)]=setTimeout(()=>{var _0x3150c5=_0x2ef2fa;this[_0x3150c5(0x2be)]=null,this[_0x3150c5(0x35f)][_0x3150c5(0x361)]({'id':re[_0x3150c5(0x2da)]});},(_0x6c4a7d=this[_0x2ef2fa(0x24e)][_0x2ef2fa(0x343)](mi))!=null?_0x6c4a7d:gi);}[_0x264c89(0x36a)](){var _0x52d2aa=_0x264c89;this[_0x52d2aa(0x2be)]&&(clearTimeout(this[_0x52d2aa(0x2be)]),this[_0x52d2aa(0x2be)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2a6a6c){var _0x183486=_0x264c89;if(!this['_shouldReportTelemetry'])return;const {data:_0x2ec7d6}=_0x2a6a6c,{unitID:_0x460ca7,changeset:_0x515f36}=_0x2ec7d6,{mutations:_0x3c815f,type:_0x4d154e}=_0x515f36;this[_0x183486(0x2b9)]={'unitId':_0x460ca7,'type':_0x4d154e,'startTime':performance[_0x183486(0xe3)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3c815f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xcb63d9=_0x264c89;if(this[_0xcb63d9(0x198)]){if(!this[_0xcb63d9(0x2b9)]){this[_0xcb63d9(0xc7)][_0xcb63d9(0x1f3)](_0xcb63d9(0x2f3),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xcb63d9(0x2b9)][_0xcb63d9(0x113)]=performance[_0xcb63d9(0xe3)](),this[_0xcb63d9(0x2b9)][_0xcb63d9(0x138)]=this[_0xcb63d9(0x2b9)][_0xcb63d9(0x113)]-this[_0xcb63d9(0x2b9)][_0xcb63d9(0x2d8)],this['_telemetryService'][_0xcb63d9(0x310)](Hn,this['_telemetryInfo']),this[_0xcb63d9(0x2b9)]=null;}}[_0x264c89(0x266)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x1144bf),me(0x3,_0x309343),me(0x4,_0x4a5888(_0x567ba8)),me(0x5,_0x4a5888(Le)),me(0x6,_0x4a5888(Ti)),me(0x7,_0x4a5888(pe)),me(0x8,_0xb373d8(_0x374c8a))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0xd6245,_0x46e0e4,_0xda44f3,_0x496956)=>{var _0x12b12e=_0x264c89;for(var _0x4fea82=_0x496956>0x1?void 0x0:_0x496956?Kn(_0x46e0e4,_0xda44f3):_0x46e0e4,_0x53e58b=_0xd6245[_0x12b12e(0x20a)]-0x1,_0x470ee7;_0x53e58b>=0x0;_0x53e58b--)(_0x470ee7=_0xd6245[_0x53e58b])&&(_0x4fea82=_0x470ee7(_0x4fea82)||_0x4fea82);return _0x4fea82;},be=(_0x3784da,_0x2a5362)=>(_0x189bea,_0x1bddb1)=>_0x2a5362(_0x189bea,_0x1bddb1,_0x3784da);let xe=class extends _0x5975e5{constructor(_0x55e1c0,_0x203442,_0x46c7e4,_0x249f86,_0x42446f,_0x6caab4){var _0x1f28fb=_0x264c89;super(),N(this,_0x1f28fb(0x301),new _0x10b2eb(void 0x0)),N(this,_0x1f28fb(0x1b9),this[_0x1f28fb(0x301)][_0x1f28fb(0x34b)]()),N(this,_0x1f28fb(0x223),null),N(this,_0x1f28fb(0xf9),new Map()),N(this,'_status$',new _0x10b2eb(Ee['IDLE'])),N(this,_0x1f28fb(0x176),this[_0x1f28fb(0x248)][_0x1f28fb(0x34b)]()),N(this,_0x1f28fb(0x328),!0x1),N(this,_0x1f28fb(0x3b4)),N(this,_0x1f28fb(0x1b4),0x0),N(this,_0x1f28fb(0x177)),N(this,_0x1f28fb(0x233)),(this[_0x1f28fb(0x154)]=_0x55e1c0,this[_0x1f28fb(0xc7)]=_0x203442,this['_configService']=_0x46c7e4,this[_0x1f28fb(0xe5)]=_0x249f86,this[_0x1f28fb(0x35f)]=_0x42446f,this[_0x1f28fb(0x317)]=_0x6caab4,this['_listenToNetworkCondition']());}get['_socket'](){var _0x1a06a2=_0x264c89;return this[_0x1a06a2(0x301)][_0x1a06a2(0x134)]();}[_0x264c89(0x359)](){var _0x5475ba=_0x264c89;this['_networkConditionService']&&this[_0x5475ba(0xac)](this[_0x5475ba(0x317)][_0x5475ba(0x139)][_0x5475ba(0x126)](_0x1185ec=>{var _0x149ad2=_0x5475ba;_0x1185ec&&!this['_socket']&&this[_0x149ad2(0x26d)](),_0x1185ec||this[_0x149ad2(0x31d)]();}));}[_0x264c89(0x1e6)](){var _0x7facad=_0x264c89;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x7facad(0x382)](),this[_0x7facad(0x225)](),this['_sessions'][_0x7facad(0x2f8)](_0x352472=>_0x352472[_0x7facad(0x1e6)]()),this[_0x7facad(0xf9)][_0x7facad(0x1fe)](),this[_0x7facad(0x248)]['complete']();}async[_0x264c89(0x28c)](_0x3754ac){var _0x3c57da=_0x264c89;if(this[_0x3c57da(0xf9)][_0x3c57da(0x341)](_0x3754ac))return this['_sessions'][_0x3c57da(0xff)](_0x3754ac);this[_0x3c57da(0x3a2)]();const _0x58db13=this[_0x3c57da(0x154)][_0x3c57da(0x379)](Et,_0x3754ac,this[_0x3c57da(0x301)][_0x3c57da(0x34b)]());return this['_sessions']['set'](_0x3754ac,_0x58db13),_0x58db13;}['closeSession'](_0x483143){var _0x166cbe=_0x264c89,_0x5b016b;const _0x43fd61=this[_0x166cbe(0xf9)][_0x166cbe(0xff)](_0x483143);_0x43fd61&&(this[_0x166cbe(0xf9)]['delete'](_0x483143),_0x43fd61[_0x166cbe(0x281)]()),this[_0x166cbe(0xf9)][_0x166cbe(0x2fd)]||(_0x5b016b=this[_0x166cbe(0x21e)])==null||_0x5b016b[_0x166cbe(0x281)]();}[_0x264c89(0x26d)](){var _0x26b169=_0x264c89;this[_0x26b169(0x1b4)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x26b169(0x1ec)]();}[_0x264c89(0x1d7)](){var _0x20356c=_0x264c89;this[_0x20356c(0x3b4)]!=null&&(clearTimeout(this[_0x20356c(0x3b4)]),this[_0x20356c(0x3b4)]=null);}async[_0x264c89(0x35d)](){var _0x4df891=_0x264c89,_0x4ab96e,_0x1be559;const _0x32b312=this[_0x4df891(0x24e)]['getConfig'](In),_0x986c15=this[_0x4df891(0x24e)][_0x4df891(0x343)](q),_0x12d322=(_0x1be559=(_0x4ab96e=_0x986c15==null?void 0x0:_0x986c15[_0x4df891(0x166)])!=null?_0x4ab96e:_0x32b312)!=null?_0x1be559:Tn,_0x2c9b93=await this[_0x4df891(0xe5)][_0x4df891(0x17b)](_0x12d322);return this[_0x4df891(0x223)]=_0x2c9b93,_0x2c9b93;}async['_tryEnsureSocket'](){var _0x37ce46=_0x264c89,_0x426564,_0x3cc3b7;try{const _0x4bea9f=(_0x3cc3b7=(_0x426564=this[_0x37ce46(0x21e)])!=null?_0x426564:this['_candidateSocket'])!=null?_0x3cc3b7:await this[_0x37ce46(0x35d)]();if(_0x4bea9f){const _0x143e82=_0x4bea9f[_0x37ce46(0x104)];_0x4bea9f[_0x37ce46(0x104)]=_0x2a18de=>(this[_0x37ce46(0x38a)](),_0x143e82['apply'](_0x4bea9f,[_0x2a18de])),_0x4bea9f[_0x37ce46(0x1f1)]['subscribe'](_0x5e8c5a=>this[_0x37ce46(0xd2)](_0x4bea9f,_0x5e8c5a)),_0x4bea9f['error$'][_0x37ce46(0x36c)](_0x30e20e(0x1))[_0x37ce46(0x126)](_0x6035db=>this[_0x37ce46(0xc7)]['error'](_0x37ce46(0xc3),_0x6035db)),_0x4bea9f[_0x37ce46(0x3a7)][_0x37ce46(0x36c)](_0x30e20e(0x1))[_0x37ce46(0x126)](()=>{this['_onConnectionOpen'](_0x4bea9f);}),_0x4bea9f[_0x37ce46(0x10e)][_0x37ce46(0x36c)](_0x30e20e(0x1))[_0x37ce46(0x126)](_0x4a0791=>{var _0x2994c2=_0x37ce46;this['_logService'][_0x2994c2(0x2bd)]('[CollaborationSessionService]',_0x2994c2(0x1d2),_0x4a0791),this[_0x2994c2(0x255)]();});}}catch(_0x1d19ff){this['_logService'][_0x37ce46(0x1f3)](_0x1d19ff),this[_0x37ce46(0x255)]();}}[_0x264c89(0xc1)](_0x3224e7){var _0x38f9ca=_0x264c89;this[_0x38f9ca(0xc7)][_0x38f9ca(0x2bd)](_0x38f9ca(0x172),_0x38f9ca(0x22a)),_0x3224e7[_0x38f9ca(0x104)]({'cmd':F[_0x38f9ca(0x1be)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x3c30b7=_0x264c89;this['_socketReady']=!0x1,this[_0x3c30b7(0x223)]=null,this[_0x3c30b7(0x248)][_0x3c30b7(0x12f)](Ee['OFFLINE']),this[_0x3c30b7(0x301)][_0x3c30b7(0x12f)](null),this[_0x3c30b7(0x382)](),this[_0x3c30b7(0x225)]();}[_0x264c89(0x255)](){var _0x1829e5=_0x264c89,_0x56760a;this[_0x1829e5(0x31d)](),this['_retryCount']<((_0x56760a=this[_0x1829e5(0x24e)][_0x1829e5(0x343)](On))!=null?_0x56760a:yn)?(this['_collaborationUIEventService'][_0x1829e5(0x361)]({'id':re[_0x1829e5(0x387)]}),this[_0x1829e5(0x1ec)]()):this[_0x1829e5(0x35f)][_0x1829e5(0x361)]({'id':re[_0x1829e5(0x307)]});}[_0x264c89(0x1ec)](){var _0x27a613=_0x264c89,_0x449caf;const _0x58d5a6=this[_0x27a613(0x1b4)],_0x15e8a3=this[_0x27a613(0x24e)]['getConfig'](q),_0x5e0cb0=_0x58d5a6===0x0?0x0:((_0x449caf=_0x15e8a3==null?void 0x0:_0x15e8a3['retryConnectingInterval'])!=null?_0x449caf:bn)*0x2**_0x58d5a6;this[_0x27a613(0x3b4)]=setTimeout(()=>{var _0x5581a8=_0x27a613;clearTimeout(this['_retryConnectingTimer']),this[_0x5581a8(0x3b4)]=null,this['_tryEnsureSocket']();},_0x5e0cb0),this[_0x27a613(0x1b4)]+=0x1;}[_0x264c89(0xd2)](_0x5a21d6,_0xaa1dbc){var _0x54b8c3=_0x264c89;const {cmd:_0x142a13}=_0xaa1dbc;_0x142a13===F[_0x54b8c3(0x1be)]&&!this[_0x54b8c3(0x328)]&&(_0x5a21d6[_0x54b8c3(0x1c8)]=_0xaa1dbc[_0x54b8c3(0x2d1)][_0x54b8c3(0x1c8)],this[_0x54b8c3(0x301)][_0x54b8c3(0x12f)](_0x5a21d6),this['_status$']['next'](Ee['ONLINE']),this[_0x54b8c3(0x328)]=!0x0,this[_0x54b8c3(0x223)]=null),_0x142a13===F['HEARTBEAT']&&this[_0x54b8c3(0x382)](),this[_0x54b8c3(0x38a)]();}[_0x264c89(0x38a)](){var _0x24a1b0=_0x264c89,_0x4e760e;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x24a1b0(0x32d)](),(_0x4e760e=this['_configService']['getConfig'](Cn))!=null?_0x4e760e:Rn);}[_0x264c89(0x32d)](){var _0x52b0cd=_0x264c89;this[_0x52b0cd(0x21e)][_0x52b0cd(0x104)]({'cmd':F[_0x52b0cd(0x197)]}),this[_0x52b0cd(0x2cd)]();}[_0x264c89(0x2cd)](){var _0x90a3e=_0x264c89,_0x478924;this[_0x90a3e(0x233)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x478924=this[_0x90a3e(0x24e)][_0x90a3e(0x343)](mi))!=null?_0x478924:gi);}['_clearHeartbeatTimer'](){var _0x1a9aac=_0x264c89;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1a9aac(0x177)]),this[_0x1a9aac(0x177)]=null);}['_clearTimeoutTimer'](){var _0x5799b6=_0x264c89;this[_0x5799b6(0x233)]!=null&&(clearTimeout(this[_0x5799b6(0x233)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0x4a5888(_0x2d1333)),be(0x1,_0x1144bf),be(0x2,_0x309343),be(0x3,Ii),be(0x4,_0x4a5888(pe)),be(0x5,_0xb373d8(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x264c89(0x157)]((t+0x100)[_0x264c89(0x14f)](0x10)['slice'](0x1));function qn(_0x286235,_0x13c05b=0x0){var _0x422add=_0x264c89;return(V[_0x286235[_0x13c05b+0x0]]+V[_0x286235[_0x13c05b+0x1]]+V[_0x286235[_0x13c05b+0x2]]+V[_0x286235[_0x13c05b+0x3]]+'-'+V[_0x286235[_0x13c05b+0x4]]+V[_0x286235[_0x13c05b+0x5]]+'-'+V[_0x286235[_0x13c05b+0x6]]+V[_0x286235[_0x13c05b+0x7]]+'-'+V[_0x286235[_0x13c05b+0x8]]+V[_0x286235[_0x13c05b+0x9]]+'-'+V[_0x286235[_0x13c05b+0xa]]+V[_0x286235[_0x13c05b+0xb]]+V[_0x286235[_0x13c05b+0xc]]+V[_0x286235[_0x13c05b+0xd]]+V[_0x286235[_0x13c05b+0xe]]+V[_0x286235[_0x13c05b+0xf]])[_0x422add(0x14e)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x38b643=_0x264c89;if(!ut){if(typeof crypto>'u'||!crypto[_0x38b643(0xad)])throw new Error(_0x38b643(0x150));ut=crypto[_0x38b643(0xad)][_0x38b643(0x2ae)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x264c89(0x289)]&&crypto[_0x264c89(0x289)][_0x264c89(0x2ae)](crypto),Yt={'randomUUID':Xn};function Zn(_0x31b4ee,_0x2f06e4,_0x4c55b5){var _0x562d9d=_0x264c89,_0x3ae638,_0x1a7780,_0x1d4917;if(Yt[_0x562d9d(0x289)]&&!_0x31b4ee)return Yt[_0x562d9d(0x289)]();_0x31b4ee=_0x31b4ee||{};const _0x369d9a=(_0x1d4917=(_0x1a7780=_0x31b4ee[_0x562d9d(0x2c5)])!=null?_0x1a7780:(_0x3ae638=_0x31b4ee[_0x562d9d(0x395)])==null?void 0x0:_0x3ae638[_0x562d9d(0x331)](_0x31b4ee))!=null?_0x1d4917:Jn();if(_0x369d9a[_0x562d9d(0x20a)]<0x10)throw new Error(_0x562d9d(0x2bf));return _0x369d9a[0x6]=_0x369d9a[0x6]&0xf|0x40,_0x369d9a[0x8]=_0x369d9a[0x8]&0x3f|0x80,qn(_0x369d9a);}const J=_0x1ac939(_0x264c89(0x29f));function Br(_0x237e83){var _0x5278c9=_0x264c89;return _0x5278c9(0x33e)+_0x237e83;}var Qn=Object[_0x264c89(0x2a4)],es=(_0x144bc1,_0xf77d3b,_0x2b6ed5,_0x3ea8e8)=>{var _0x2a3409=_0x264c89;for(var _0x53e5cd=_0x3ea8e8>0x1?void 0x0:_0x3ea8e8?Qn(_0xf77d3b,_0x2b6ed5):_0xf77d3b,_0x3e1c86=_0x144bc1[_0x2a3409(0x20a)]-0x1,_0x2fe32d;_0x3e1c86>=0x0;_0x3e1c86--)(_0x2fe32d=_0x144bc1[_0x3e1c86])&&(_0x53e5cd=_0x2fe32d(_0x53e5cd)||_0x53e5cd);return _0x53e5cd;},dt=(_0x5888df,_0x3c0014)=>(_0x17b78f,_0x47f1ad)=>_0x3c0014(_0x17b78f,_0x47f1ad,_0x5888df);function ts(_0x56034d){var _0x540ab9=_0x264c89;const {unitID:_0x3f112d,mutations:_0x459c25}=_0x56034d;return{'unitId':_0x3f112d,'subUnitId':_0x459c25[0x0][_0x540ab9(0x11f)][_0x540ab9(0x2a6)]};}let it=class{constructor(_0x2cee9a,_0x3fd6e6,_0x1ead14){var _0xba1f47=_0x264c89;this[_0xba1f47(0x154)]=_0x2cee9a,this[_0xba1f47(0x303)]=_0x3fd6e6,this[_0xba1f47(0x201)]=_0x1ead14;}[_0x264c89(0x1ad)](_0x56709b){var _0x3513c8=_0x264c89,_0x2f0ca7,_0x20b7f1,_0x2adbbd,_0x15402e;const _0x250087=this[_0x3513c8(0x154)][_0x3513c8(0xff)](_0xfe1099),{unitId:_0x988cc3,subUnitId:_0x1e83e9}=ts(_0x56709b),_0x2e0a7b=_0x250087==null?void 0x0:_0x250087[_0x3513c8(0x304)](_0x988cc3)[_0x3513c8(0x3a3)](),_0x11ecb6=(_0x20b7f1=(_0x2f0ca7=this[_0x3513c8(0x201)][_0x3513c8(0x193)](_0x988cc3))==null?void 0x0:_0x2f0ca7[_0x3513c8(0x3aa)]())==null?void 0x0:_0x20b7f1[_0x3513c8(0x34f)]();if(_0x2e0a7b['length']===0x0||!_0x988cc3||!_0x1e83e9)return;const _0x21aeeb=[{'id':_0x3b028c['id'],'params':{'unitId':_0x988cc3,'subUnitId':_0x11ecb6,'selections':_0x175be1[_0x3513c8(0x1a0)](_0x2e0a7b)}}],_0x346977=this['_transformService']['transformMutationsWithChangeset'](_0x56709b,_0x21aeeb);if(!_0x6317cc(_0x346977))throw _0x346977[_0x3513c8(0x1f3)];const _0x470f2a=(_0x15402e=(_0x2adbbd=_0x346977[_0x3513c8(0x145)][0x0])==null?void 0x0:_0x2adbbd[_0x3513c8(0x11f)])==null?void 0x0:_0x15402e[_0x3513c8(0x1d5)];if(Array['isArray'](_0x470f2a)&&_0x470f2a[_0x3513c8(0x20a)]){if(_0x470f2a['length']===_0x21aeeb[0x0][_0x3513c8(0x11f)]['selections'][_0x3513c8(0x20a)]&&_0x470f2a[_0x3513c8(0x2fe)]((_0x524ab9,_0x5d5a42)=>_0x1f2847[_0x3513c8(0x35b)](_0x524ab9[_0x3513c8(0x383)],_0x21aeeb[0x0][_0x3513c8(0x11f)]['selections'][_0x5d5a42][_0x3513c8(0x383)])))return;this['_injector'][_0x3513c8(0xff)](_0x2c2824)[_0x3513c8(0x36f)](_0x3b028c['id'],{'unitId':_0x988cc3,'subUnitId':_0x11ecb6,'selections':_0x470f2a});}}};it=es([dt(0x0,_0x4a5888(_0x2d1333)),dt(0x1,_0x389c1c),dt(0x2,_0x24d354)],it);const ht=_0x1ac939(_0x264c89(0x2eb));var Ci=(_0xd1a165=>(_0xd1a165[_0xd1a165[_0x264c89(0x2f1)]=0x0]=_0x264c89(0x2f1),_0xd1a165[_0xd1a165[_0x264c89(0x2e8)]=0x1]=_0x264c89(0x2e8),_0xd1a165))(Ci||{});const is=new Set([_0x7cde1['id']]);function qt(_0x4e4c32,_0x1f657d,_0x3df521,_0x14d96b,_0x481274){var _0x198541=_0x264c89,_0x427c17,_0x4446ee,_0x5d11db,_0x43ce37;const _0x4ad8f9=[];for(const _0x2f82c8 of _0x4e4c32)if(is[_0x198541(0x341)](_0x2f82c8['id'])){if(_0x4ad8f9['length']>0x0)break;_0x4ad8f9[_0x198541(0x157)](_0x2f82c8);break;}else _0x4ad8f9['push'](_0x2f82c8);const _0x1f4060=(_0x4446ee=(_0x427c17=_0x481274[_0x198541(0x33d)]())==null?void 0x0:_0x427c17[_0x198541(0x129)])!=null?_0x4446ee:_0x198541(0x206),_0x5a24a7=(_0x43ce37=(_0x5d11db=_0x481274['getCurrentUser']())==null?void 0x0:_0x5d11db[_0x198541(0x1c8)])!=null?_0x43ce37:'unknown';return{'changeset':{'unitID':_0x1f657d,'type':_0x5c702c(_0x3df521['getUnitType'](_0x1f657d)),'baseRev':_0x14d96b[_0x198541(0x2d3)](_0x1f657d),'revision':0x0,'userID':_0x1f4060,'memberID':_0x5a24a7,'mutations':_0x4ad8f9},'pendingMutations':_0x4e4c32[_0x198541(0x108)](_0x4ad8f9[_0x198541(0x20a)])};}function ns(_0x3ceebd,_0xbfa60b,_0x3ca7cc,_0x29a2f9,_0x465361){var _0x3efee7=_0x264c89,_0x63e45,_0x3aa518,_0x5ac758,_0x160544;const _0x5440a0=[_0x3ceebd[_0x3efee7(0x3b5)]((_0x26a9db,_0x23712f)=>{var _0x167701=_0x3efee7,_0x5c9751;const {id:_0x4370c5}=_0x26a9db,{id:_0x50b7e2,type:_0x3940ed}=_0x23712f,_0x427bcd=(_0x5c9751=_0x26a9db[_0x167701(0x11f)])!=null?_0x5c9751:{'actions':null},_0x5d8f0c=_0x23712f[_0x167701(0x11f)];if(_0x4370c5&&_0x4370c5!==_0x50b7e2)throw new Error(_0x167701(0x39c)+_0x4370c5+_0x167701(0x2c7)+_0x50b7e2+'.');return{..._0x26a9db,'id':_0x50b7e2,'type':_0x3940ed,'params':{'unitId':_0x5d8f0c[_0x167701(0x1ea)],'textRanges':_0x5d8f0c[_0x167701(0x16a)],'actions':_0x242b10[_0x167701(0x23e)](_0x427bcd[_0x167701(0x264)],_0x5d8f0c[_0x167701(0x264)])}};},{})],_0x1a9fb7=(_0x3aa518=(_0x63e45=_0x465361['getCurrentUser']())==null?void 0x0:_0x63e45['userID'])!=null?_0x3aa518:'unknown',_0x4c3c21=(_0x160544=(_0x5ac758=_0x465361['getCurrentUser']())==null?void 0x0:_0x5ac758[_0x3efee7(0x1c8)])!=null?_0x160544:'unknown';return{'changeset':{'unitID':_0xbfa60b,'type':_0x5c702c(_0x3ca7cc[_0x3efee7(0x3b6)](_0xbfa60b)),'baseRev':_0x29a2f9['getCurrentRevOfUnit'](_0xbfa60b),'revision':0x0,'userID':_0x1a9fb7,'memberID':_0x4c3c21,'mutations':_0x5440a0},'pendingMutations':[]};}function Ri(_0xccbed2,_0x5f208a){var _0x50e033=_0x264c89;const _0x33873f=new _0x6578b(0x1);return setTimeout(()=>_0x33873f[_0x50e033(0x12f)](_0x5f208a),_0xccbed2),_0x33873f[_0x50e033(0x34b)]()[_0x50e033(0x36c)](_0x53b4f7(0x1));}const ss={'id':_0x29a12e['id'],'type':_0x249315[_0x264c89(0xfa)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0xaec21e,_0x5f3dfd,_0xc7bf0e,_0x22bbde)=>{var _0x1b817a=_0x264c89;for(var _0x5ee2cb=_0x22bbde>0x1?void 0x0:_0x22bbde?rs(_0x5f3dfd,_0xc7bf0e):_0x5f3dfd,_0x2d4220=_0xaec21e[_0x1b817a(0x20a)]-0x1,_0x141105;_0x2d4220>=0x0;_0x2d4220--)(_0x141105=_0xaec21e[_0x2d4220])&&(_0x5ee2cb=_0x141105(_0x5ee2cb)||_0x5ee2cb);return _0x5ee2cb;},P=(_0x599809,_0x2a4561)=>(_0x210d9,_0x4161fa)=>_0x2a4561(_0x210d9,_0x4161fa,_0x599809),bi=(_0x5a9a17=>(_0x5a9a17[_0x264c89(0x11a)]='not_collab',_0x5a9a17[_0x264c89(0xd9)]='synced',_0x5a9a17[_0x264c89(0x19f)]=_0x264c89(0x323),_0x5a9a17[_0x264c89(0x19c)]='awaiting',_0x5a9a17['AWAITING_WITH_PENDING']=_0x264c89(0x1ac),_0x5a9a17[_0x264c89(0x2b3)]=_0x264c89(0x1a9),_0x5a9a17[_0x264c89(0x237)]='conflict',_0x5a9a17['OFFLINE']=_0x264c89(0x39a),_0x5a9a17))(bi||{});const Oi=0xea60;class Ce{constructor(_0x50ee81,_0x3ca633,_0x1c6308,_0x558779,_0x1092fe,_0x27022f,_0xbfb720,_0x41276e,_0x46989){var _0x26614f=_0x264c89;N(this,'_awaitingChangeset',null),N(this,_0x26614f(0x349),[]),(this[_0x26614f(0x12d)]=_0x50ee81,this[_0x26614f(0x133)]=_0x3ca633,this[_0x26614f(0xaa)]=_0x1092fe,this[_0x26614f(0x23f)]=_0x27022f,this['_undoRedoService']=_0xbfb720,this[_0x26614f(0x207)]=_0x41276e,this[_0x26614f(0x1a7)]=_0x46989,this[_0x26614f(0xb4)]=_0x1c6308,this[_0x26614f(0x349)]=_0x558779);}[_0x264c89(0x146)](_0x58d0cd){var _0x5a08ff=_0x264c89;const _0x1eb4e9=this[_0x5a08ff(0x207)]['getCurrentRevOfUnit'](this[_0x5a08ff(0x12d)]);return _0x58d0cd['revision']>_0x1eb4e9+0x1?(this[_0x5a08ff(0xaa)][_0x5a08ff(0xa8)]({'from':_0x1eb4e9,'to':_0x58d0cd[_0x5a08ff(0x199)]-0x1}),!0x0):!0x1;}[_0x264c89(0x1df)](_0x324106){var _0x5bf3fc=_0x264c89;this['_undoRedoService'][_0x5bf3fc(0x2dc)](this['unitID'],_0x324106);}['_transformSelections'](_0x379669){var _0x1f1f08=_0x264c89,_0x122621,_0x2bbe21;(_0x2bbe21=(_0x122621=this[_0x1f1f08(0xaa)])['onTransformSelections'])==null||_0x2bbe21['call'](_0x122621,_0x379669);}['_transformIMECache'](_0x48df89){var _0x532bed=_0x264c89,_0x370079,_0x3f2990;return(_0x3f2990=(_0x370079=this[_0x532bed(0xaa)])['onTransformIME'])==null?void 0x0:_0x3f2990['call'](_0x370079,_0x48df89);}['_transformStateCache'](_0x339b5d){var _0x28cf7f=_0x264c89,_0x529cd2,_0xd7d7c2;return(_0xd7d7c2=(_0x529cd2=this[_0x28cf7f(0xaa)])[_0x28cf7f(0x306)])==null?void 0x0:_0xd7d7c2['call'](_0x529cd2,_0x339b5d);}[_0x264c89(0x226)](_0x519884){var _0x203ea9=_0x264c89,_0x2b3d6b,_0x53a386,_0x301645;return(_0x301645=(_0x53a386=(_0x2b3d6b=this[_0x203ea9(0xaa)])[_0x203ea9(0x305)])==null?void 0x0:_0x53a386['call'](_0x2b3d6b,_0x519884))!=null?_0x301645:_0x519884;}[_0x264c89(0x1cc)](_0x8e317e){var _0x48ef02=_0x264c89,_0x5ac7b9,_0x464dc4,_0x48c17c;return(_0x48c17c=(_0x464dc4=(_0x5ac7b9=this[_0x48ef02(0xaa)])[_0x48ef02(0x17f)])==null?void 0x0:_0x464dc4[_0x48ef02(0x331)](_0x5ac7b9,_0x8e317e))!=null?_0x48c17c:_0x8e317e;}['_syncEditingCollabCursor'](_0x5eff77){var _0x49c39a=_0x264c89,_0x4b32f4,_0x56c2de;if(this[_0x49c39a(0x133)]===Q[_0x49c39a(0x314)]){const {unitID:_0x194138,mutations:_0xf1246c,memberID:_0x26f681}=_0x5eff77,_0x381d54=_0xf1246c[0x0][_0x49c39a(0x11f)]['textRanges'];Array['isArray'](_0x381d54)&&_0x381d54[_0x49c39a(0x20a)]>0x0&&((_0x56c2de=(_0x4b32f4=this[_0x49c39a(0xaa)])['onSyncEditingCollabCursor'])==null||_0x56c2de[_0x49c39a(0x331)](_0x4b32f4,{'unitID':_0x194138,'memberID':_0x26f681,'textRanges':_0x381d54}));}}[_0x264c89(0x209)](){var _0x3fbbe6=_0x264c89,_0x13da8f;(_0x13da8f=this[_0x3fbbe6(0x1a7)])==null||_0x13da8f['updateOfflineData'](this[_0x3fbbe6(0x12d)],this[_0x3fbbe6(0x133)],this[_0x3fbbe6(0xb4)],this['_pendingMutations']);}[_0x264c89(0xd7)](){var _0x4e64f3=_0x264c89;return this[_0x4e64f3(0x207)][_0x4e64f3(0x2d3)](this[_0x4e64f3(0x12d)]);}['_incrementRevisionNumber'](){var _0x299a49=_0x264c89;this[_0x299a49(0x207)][_0x299a49(0x218)](this['unitID']);}[_0x264c89(0x26f)](_0x552f59){var _0x5c1b4f=_0x264c89,_0x1879ee;let _0x4e6389=this[_0x5c1b4f(0x226)](_0x552f59);_0x4e6389=this[_0x5c1b4f(0x1cc)](_0x4e6389);const _0x4d9f5f=_0x457ee1(_0x4e6389['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x4d9f5f[_0x5c1b4f(0x322)])throw _0x4d9f5f[_0x5c1b4f(0x1f3)]instanceof Error?_0x4d9f5f[_0x5c1b4f(0x1f3)]:new Error((_0x1879ee=_0x4d9f5f[_0x5c1b4f(0x1f3)])!=null?_0x1879ee:_0x5c1b4f(0x2b7));this['_transformIMECache'](_0x4e6389),this[_0x5c1b4f(0xc5)](_0x4e6389),this[_0x5c1b4f(0x1df)](_0x552f59),this[_0x5c1b4f(0x14d)](_0x4e6389),this[_0x5c1b4f(0xaf)](_0x4e6389),this[_0x5c1b4f(0x1b0)]();}}let Ne=class extends Ce{constructor(_0x3e7414,_0x24081f,_0x302f7c,_0x18b942,_0x351d45,_0x532b8a,_0x1b0268,_0x1321fd,_0x50590f,_0x2a21b3){var _0x5ea15b=_0x264c89;super(_0x3e7414,_0x24081f,null,[],_0x302f7c,_0x1b0268,_0x532b8a,_0x18b942,_0x2a21b3),N(this,_0x5ea15b(0x1b5),'synced'),(this['_injector']=_0x351d45,this[_0x5ea15b(0xc7)]=_0x1321fd,this[_0x5ea15b(0x303)]=_0x50590f,this[_0x5ea15b(0x275)]=_0x2a21b3);}[_0x264c89(0x364)](_0x342978){var _0x57cbcd=_0x264c89;const _0x4c6065=this[_0x57cbcd(0x154)]['createInstance'](ae,this[_0x57cbcd(0x12d)],this['type'],[_0x342978],this['_handler']);return _0x4c6065[_0x57cbcd(0x15b)](),_0x4c6065['_updateLocalCache'](),_0x4c6065;}[_0x264c89(0x394)](_0xfc906c){var _0x144b06=_0x264c89;if(this[_0x144b06(0x146)](_0xfc906c))return this[_0x144b06(0x154)][_0x144b06(0x379)](ee,this['unitID'],this[_0x144b06(0x133)],null,[],null,[_0xfc906c],this['_handler']);try{const _0x549903=this[_0x144b06(0x303)]['transformMutationsWithChangeset'](_0xfc906c,[ss]);if(_0x6317cc(_0x549903)){const {c1Prime:_0x135564}=_0x549903;return this[_0x144b06(0x26f)](_0x135564),this;}throw _0x549903['error'];}catch(_0x19051d){return this[_0x144b06(0xc7)][_0x144b06(0x1f3)](_0x19051d),this[_0x144b06(0x300)](!0x1);}}['_onConflict'](_0x45e452){var _0x429d53=_0x264c89;return this[_0x429d53(0x154)]['createInstance'](ue,this[_0x429d53(0x12d)],this[_0x429d53(0x133)],null,[],this[_0x429d53(0xaa)],_0x45e452);}[_0x264c89(0x33b)](){var _0x5ccb2c=_0x264c89;throw new Error(_0x5ccb2c(0x200));}[_0x264c89(0x28b)](){var _0x4ae0ba=_0x264c89;throw new Error(_0x4ae0ba(0x3a4));}['onRemoteRetry'](){return this;}[_0x264c89(0x24f)](){var _0x299870=_0x264c89;return this['_injector'][_0x299870(0x379)](de,this['unitID'],this[_0x299870(0x133)],null,[],this['_handler']);}[_0x264c89(0x280)](){return this;}[_0x264c89(0x39e)](){var _0xbbe4dd=_0x264c89;throw new Error(_0xbbe4dd(0xb1));}[_0x264c89(0x230)](){var _0x57c458=_0x264c89;const _0x24cc67=this[_0x57c458(0x207)][_0x57c458(0x2d3)](this['unitID']);return this[_0x57c458(0xaa)][_0x57c458(0xa8)]({'from':_0x24cc67,'to':0x0}),this[_0x57c458(0x154)][_0x57c458(0x379)](ee,this[_0x57c458(0x12d)],this[_0x57c458(0x133)],null,[],null,[],this[_0x57c458(0xaa)]);}};Ne=Te([P(0x3,_0x4a5888(_0x132948)),P(0x4,_0x4a5888(_0x2d1333)),P(0x5,_0x2defcd),P(0x6,_0x2c2824),P(0x7,_0x1144bf),P(0x8,_0x389c1c),P(0x9,_0xb373d8(J))],Ne);let ae=class extends Ce{constructor(_0x10fcb0,_0x3ea087,_0x3a0947,_0x471d31,_0x5bd7bd,_0x13f5f9,_0x5c0ec9,_0x48d6b0,_0x2c9ad6,_0x15e681,_0x454df3,_0x539ebf,_0x2a71df,_0x59be31){var _0x20f633=_0x264c89;super(_0x10fcb0,_0x3ea087,null,_0x3a0947,_0x471d31,_0x2c9ad6,_0x2a71df,_0x13f5f9,_0x59be31),N(this,_0x20f633(0x1b5),_0x20f633(0x323)),N(this,_0x20f633(0x228),null),N(this,_0x20f633(0x399),null),(this[_0x20f633(0x154)]=_0x5bd7bd,this[_0x20f633(0x232)]=_0x5c0ec9,this['_logService']=_0x48d6b0,this['_configService']=_0x15e681,this[_0x20f633(0x303)]=_0x454df3,this[_0x20f633(0x11c)]=_0x539ebf);}[_0x264c89(0x364)](_0x213df0){var _0x392e72=_0x264c89;return this[_0x392e72(0x349)][_0x392e72(0x157)](_0x213df0),this[_0x392e72(0x209)](),this;}['onRemoteChangeset'](_0x3bdbf6){var _0x30f11f=_0x264c89;if(this[_0x30f11f(0x146)](_0x3bdbf6))return this[_0x30f11f(0x175)](),this[_0x30f11f(0x154)][_0x30f11f(0x379)](ee,this[_0x30f11f(0x12d)],this[_0x30f11f(0x133)],null,this['_pendingMutations'],null,[_0x3bdbf6],this[_0x30f11f(0xaa)]);try{const _0x3731fc=this[_0x30f11f(0x303)][_0x30f11f(0x112)](_0x3bdbf6,this[_0x30f11f(0x349)]);if(_0x6317cc(_0x3731fc)){const {c1Prime:_0x46dfa9,m2Prime:_0x287ede}=_0x3731fc;this[_0x30f11f(0x26f)](_0x46dfa9);const _0x4e66d9=this[_0x30f11f(0x154)][_0x30f11f(0x379)](ae,this['unitID'],this[_0x30f11f(0x133)],_0x287ede,this[_0x30f11f(0xaa)]);this[_0x30f11f(0x175)]();const _0x2c65e2=new Date()[_0x30f11f(0x330)](),_0x173e88=this[_0x30f11f(0x228)]?Math[_0x30f11f(0x2e1)](this[_0x30f11f(0x228)]-_0x2c65e2,0x0):this[_0x30f11f(0x291)]();return _0x4e66d9[_0x30f11f(0x15b)](_0x173e88),_0x4e66d9;}throw _0x3731fc[_0x30f11f(0x1f3)];}catch(_0x5c2f32){return this['_logService'][_0x30f11f(0x1f3)](_0x5c2f32),this['_onConflict'](!0x1);}}[_0x264c89(0x33b)](){var _0x39342f=_0x264c89;throw new Error(_0x39342f(0xab));}[_0x264c89(0x28b)](){var _0x432cbc=_0x264c89;throw new Error(_0x432cbc(0x227));}[_0x264c89(0x190)](){return this;}['toggleOffline'](){var _0x48fa0a=_0x264c89;return this[_0x48fa0a(0x175)](),this[_0x48fa0a(0x154)]['createInstance'](de,this['unitID'],this[_0x48fa0a(0x133)],null,this[_0x48fa0a(0x349)],this['_handler']);}[_0x264c89(0x280)](){return this;}[_0x264c89(0x15b)](_0x9207d1){var _0x70033d=_0x264c89;const _0x3aa0e7=_0x9207d1!=null?_0x9207d1:this[_0x70033d(0x291)]();this[_0x70033d(0x228)]=new Date()['getTime']()+_0x3aa0e7,this[_0x70033d(0x399)]=setTimeout(()=>{var _0x1e2074=_0x70033d;this[_0x1e2074(0x175)]();let _0x3b79fb=null;switch(this[_0x1e2074(0x133)]){case Q['UNIVER_SHEET']:{_0x3b79fb=qt(this[_0x1e2074(0x349)],this[_0x1e2074(0x12d)],this[_0x1e2074(0x11c)],this[_0x1e2074(0x207)],this['_memberService']);break;}case Q[_0x1e2074(0x314)]:{this[_0x1e2074(0x349)][_0x1e2074(0x2fe)](_0x121aae=>_0x121aae['id']===_0x3c8aee['id'])?_0x3b79fb=ns(this[_0x1e2074(0x349)],this['unitID'],this[_0x1e2074(0x11c)],this[_0x1e2074(0x207)],this[_0x1e2074(0x232)]):_0x3b79fb=qt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x1e2074(0x207)],this[_0x1e2074(0x232)]);break;}default:throw new Error(_0x1e2074(0xbf)+this[_0x1e2074(0x133)]+_0x1e2074(0x236));}const {changeset:_0x115b7c,pendingMutations:_0x726a14}=_0x3b79fb;this[_0x1e2074(0xaa)]['onSendChangeset'](_0x115b7c);const _0x3bc5c4=_0x726a14[_0x1e2074(0x20a)]?this[_0x1e2074(0x154)][_0x1e2074(0x379)](oe,this[_0x1e2074(0x12d)],this[_0x1e2074(0x133)],_0x115b7c,_0x726a14,this[_0x1e2074(0xaa)],void 0x0):this['_injector'][_0x1e2074(0x379)](le,this['unitID'],this['type'],_0x115b7c,this[_0x1e2074(0xaa)]);_0x3bc5c4[_0x1e2074(0x209)](),this[_0x1e2074(0xaa)]['onStateChange'](this,_0x3bc5c4);},_0x3aa0e7);}[_0x264c89(0x291)](){var _0x3c330c=_0x264c89,_0x2498d1;const _0x3e9a4e=this[_0x3c330c(0x24e)][_0x3c330c(0x343)](q);return(_0x2498d1=_0x3e9a4e==null?void 0x0:_0x3e9a4e[_0x3c330c(0x376)])!=null?_0x2498d1:En;}[_0x264c89(0x39e)](){var _0x13ada3=_0x264c89;throw new Error(_0x13ada3(0x335));}[_0x264c89(0x175)](){var _0x2141f2=_0x264c89;this[_0x2141f2(0x399)]!=null&&(clearTimeout(this[_0x2141f2(0x399)]),this[_0x2141f2(0x399)]=null);}[_0x264c89(0x300)](_0x196687){var _0x500e1e=_0x264c89;return this[_0x500e1e(0x175)](),this['_injector'][_0x500e1e(0x379)](ue,this['unitID'],this[_0x500e1e(0x133)],null,this[_0x500e1e(0x349)],this[_0x500e1e(0xaa)],_0x196687);}};ae=Te([P(0x4,_0x4a5888(_0x2d1333)),P(0x5,_0x4a5888(_0x132948)),P(0x6,_0x4a5888(Le)),P(0x7,_0x1144bf),P(0x8,_0x2c2824),P(0x9,_0x309343),P(0xa,_0x389c1c),P(0xb,_0x24d354),P(0xc,_0x2defcd),P(0xd,_0xb373d8(J))],ae);let le=class extends Ce{constructor(_0x12aba9,_0x1f5c36,_0x502f2b,_0x415db9,_0x1ad91b,_0x5a3fa7,_0x33f3f,_0x13b9db,_0x81404e,_0x4298ed,_0x5e8a8a){var _0x5bd6ae=_0x264c89;super(_0x12aba9,_0x1f5c36,_0x502f2b,[],_0x415db9,_0x33f3f,_0x4298ed,_0x5a3fa7,_0x5e8a8a),N(this,'status',_0x5bd6ae(0x298)),N(this,_0x5bd6ae(0x333),0x0),N(this,_0x5bd6ae(0x100)),N(this,_0x5bd6ae(0x375)),(this[_0x5bd6ae(0x154)]=_0x1ad91b,this[_0x5bd6ae(0xc7)]=_0x13b9db,this[_0x5bd6ae(0x303)]=_0x81404e);}[_0x264c89(0x364)](_0x538460){var _0x549fd9=_0x264c89;this[_0x549fd9(0x175)]();const _0x3f26a8=this[_0x549fd9(0x154)]['createInstance'](oe,this[_0x549fd9(0x12d)],this['type'],this[_0x549fd9(0xb4)],[_0x538460],this['_handler'],this[_0x549fd9(0x100)]);return _0x3f26a8[_0x549fd9(0x209)](),_0x3f26a8;}[_0x264c89(0x394)](_0x561ea0){var _0x2f166f=_0x264c89;if(this[_0x2f166f(0x146)](_0x561ea0))return this[_0x2f166f(0x175)](),this[_0x2f166f(0x154)][_0x2f166f(0x379)](ee,this[_0x2f166f(0x12d)],this[_0x2f166f(0x133)],this['_awaitingChangeset'],[],null,[_0x561ea0],this[_0x2f166f(0xaa)]);try{const _0x101409=this[_0x2f166f(0x303)][_0x2f166f(0x31a)]([_0x561ea0],[this[_0x2f166f(0xb4)]],!0x1);if(_0x3d229d(_0x101409)){const {c1Prime:_0x8cf0f0,c2Prime:_0x571048}=_0x101409;this[_0x2f166f(0x26f)](_0x8cf0f0[0x0]),_0x571048[0x0][_0x2f166f(0x2a0)]=this[_0x2f166f(0xd7)](),this['_clearScheduledTask']();const _0x13338f=this[_0x2f166f(0x154)][_0x2f166f(0x379)](le,this['unitID'],this['type'],_0x571048[0x0],this[_0x2f166f(0xaa)]);return _0x13338f['_updateLocalCache'](),_0x13338f;}return this[_0x2f166f(0x300)](!0x1);}catch(_0x31d610){return this['_logService'][_0x2f166f(0x1f3)](_0x31d610),this['_onConflict'](!0x1);}}[_0x264c89(0x33b)](_0x22edf1){var _0x330b6d=_0x264c89;this[_0x330b6d(0x175)]();const _0x30cbf7=this[_0x330b6d(0x207)][_0x330b6d(0x2d3)](this[_0x330b6d(0x12d)]);if(_0x22edf1[_0x330b6d(0x199)]<_0x30cbf7-0x1)return this;if(this[_0x330b6d(0x146)](_0x22edf1))return this[_0x330b6d(0x154)][_0x330b6d(0x379)](ee,this[_0x330b6d(0x12d)],this[_0x330b6d(0x133)],null,[],this[_0x330b6d(0xb4)],[],this[_0x330b6d(0xaa)]);this[_0x330b6d(0x1b0)]();const _0x561a87=this[_0x330b6d(0x154)][_0x330b6d(0x379)](Ne,this[_0x330b6d(0x12d)],this[_0x330b6d(0x133)],this[_0x330b6d(0xaa)]);return _0x561a87[_0x330b6d(0x209)](),_0x561a87;}[_0x264c89(0x28b)](_0x36b3eb){var _0xf92af8=_0x264c89;return this[_0xf92af8(0x300)](!!(_0x36b3eb!=null&&_0x36b3eb[_0xf92af8(0x272)]));}[_0x264c89(0x190)](_0x15094a){var _0x4de13d=_0x264c89;return this[_0x4de13d(0x333)]>Oi?this[_0x4de13d(0x24f)]():(this[_0x4de13d(0x100)]=Ri(this['_resendTimeout'],{'timeout':this[_0x4de13d(0x333)],'reqId':_0x15094a['reqId']}),this['_sender']=this[_0x4de13d(0x100)][_0x4de13d(0x126)](({reqId:_0x59717f,timeout:_0x34a263})=>{var _0x20c173=_0x4de13d;this[_0x20c173(0xe4)](_0x59717f,_0x34a263);}),this);}[_0x264c89(0x24f)](){var _0x33f310=_0x264c89;return this[_0x33f310(0x175)](),this['_injector'][_0x33f310(0x379)](de,this[_0x33f310(0x12d)],this['type'],this[_0x33f310(0xb4)],[],this[_0x33f310(0xaa)]);}['toggleOnline'](){return this;}['resend'](){var _0x1f5616=_0x264c89;this['_handler'][_0x1f5616(0x189)](this[_0x1f5616(0xb4)]);}[_0x264c89(0x300)](_0x2ca904){var _0x172aa1=_0x264c89;return this[_0x172aa1(0x175)](),this['_injector'][_0x172aa1(0x379)](ue,this['unitID'],this[_0x172aa1(0x133)],this[_0x172aa1(0xb4)],[],this[_0x172aa1(0xaa)],_0x2ca904);}[_0x264c89(0xe4)](_0x50e176,_0x46601b){var _0x324448=_0x264c89,_0x5f4fdc;_0x50e176===((_0x5f4fdc=this[_0x324448(0xb4)])==null?void 0x0:_0x5f4fdc[_0x324448(0x367)])&&(this['resend'](),this[_0x324448(0x333)]=_0x46601b===0x0?0x3e8:_0x46601b*0x2);}[_0x264c89(0x175)](){var _0x54e90a=_0x264c89,_0x14d049;(_0x14d049=this['_sender'])==null||_0x14d049[_0x54e90a(0x1bd)](),this[_0x54e90a(0x333)]=0x0;}};le=Te([P(0x4,_0x4a5888(_0x2d1333)),P(0x5,_0x4a5888(_0x132948)),P(0x6,_0x2c2824),P(0x7,_0x1144bf),P(0x8,_0x389c1c),P(0x9,_0x2defcd),P(0xa,_0xb373d8(J))],le);let oe=class extends Ce{constructor(_0x1d2efa,_0x2624d8,_0x46a7c4,_0x1c1e42,_0x105b05,_0x56233c,_0x298d52,_0x28129b,_0x11bcfb,_0xa8341e,_0x32ee85,_0x4e64ee,_0x370a04){var _0x589c20=_0x264c89;super(_0x1d2efa,_0x2624d8,_0x46a7c4,_0x1c1e42,_0x105b05,_0x11bcfb,_0x4e64ee,_0x28129b,_0x370a04),N(this,'status',_0x589c20(0x1ac)),N(this,_0x589c20(0x333),0x0),N(this,_0x589c20(0x100)),N(this,_0x589c20(0x375)),(this['_injector']=_0x298d52,this[_0x589c20(0xc7)]=_0xa8341e,this['_transformService']=_0x32ee85,this[_0x589c20(0x275)]=_0x370a04,_0x56233c&&(this[_0x589c20(0x100)]=_0x56233c,this[_0x589c20(0x375)]=this['_resendTimer'][_0x589c20(0x126)](({reqId:_0x5d8dd3,timeout:_0x26ae36})=>{var _0x2e727e=_0x589c20;this[_0x2e727e(0xe4)](_0x5d8dd3,_0x26ae36);})));}[_0x264c89(0x364)](_0x255aab){var _0x5a202c=_0x264c89;return this[_0x5a202c(0x349)][_0x5a202c(0x157)](_0x255aab),this;}[_0x264c89(0x394)](_0x38e5a0){var _0x1cc0e8=_0x264c89;if(this[_0x1cc0e8(0x146)](_0x38e5a0))return this[_0x1cc0e8(0x175)](),this[_0x1cc0e8(0x154)][_0x1cc0e8(0x379)](ee,this[_0x1cc0e8(0x12d)],this['type'],this[_0x1cc0e8(0xb4)],this['_pendingMutations'],null,[_0x38e5a0],this[_0x1cc0e8(0xaa)]);try{const _0x4dacf3=this[_0x1cc0e8(0x303)][_0x1cc0e8(0x31a)]([_0x38e5a0],[this[_0x1cc0e8(0xb4)]],!0x1);if(_0x3d229d(_0x4dacf3)){const {c1Prime:_0x1f3ed1,c2Prime:_0x3a268e}=_0x4dacf3,_0x481b77=this[_0x1cc0e8(0x303)]['transformMutationsWithChangeset'](_0x1f3ed1[0x0],this[_0x1cc0e8(0x349)]);if(_0x6317cc(_0x481b77)){const {c1Prime:_0xc23230,m2Prime:_0x4831cd}=_0x481b77;return this[_0x1cc0e8(0x26f)](_0xc23230),_0x3a268e[0x0][_0x1cc0e8(0x2a0)]=this[_0x1cc0e8(0xd7)](),this['_clearScheduledTask'](),this['_injector'][_0x1cc0e8(0x379)](oe,this['unitID'],this['type'],_0x3a268e[0x0],_0x4831cd,this[_0x1cc0e8(0xaa)],void 0x0);}throw _0x481b77[_0x1cc0e8(0x1f3)];}throw _0x4dacf3['error'];}catch(_0x51aa1b){return this[_0x1cc0e8(0xc7)]['error'](_0x51aa1b),this[_0x1cc0e8(0x300)](!0x1);}}[_0x264c89(0x33b)](_0x44bd8d){var _0x519998=_0x264c89;if(this['_clearScheduledTask'](),this[_0x519998(0x146)](_0x44bd8d))return this[_0x519998(0x154)][_0x519998(0x379)](ee,this[_0x519998(0x12d)],this[_0x519998(0x133)],null,this['_pendingMutations'],this[_0x519998(0xb4)],[],this[_0x519998(0xaa)]);this[_0x519998(0x1b0)]();const _0x39ee03=this[_0x519998(0x154)][_0x519998(0x379)](ae,this[_0x519998(0x12d)],this[_0x519998(0x133)],this[_0x519998(0x349)],this[_0x519998(0xaa)]);return _0x39ee03[_0x519998(0x15b)](),_0x39ee03[_0x519998(0x209)](),_0x39ee03;}['onRemoteRej'](_0x34118d){var _0x4b340c=_0x264c89;return this[_0x4b340c(0x300)](!!(_0x34118d!=null&&_0x34118d['isPermissionRej']));}[_0x264c89(0x190)](_0x3d7be1){var _0x1e3f95=_0x264c89;return this[_0x1e3f95(0x333)]>Oi?this['toggleOffline']():(this[_0x1e3f95(0x100)]=Ri(this[_0x1e3f95(0x333)],{'timeout':this['_resendTimeout'],'reqId':_0x3d7be1['reqId']}),this[_0x1e3f95(0x375)]=this[_0x1e3f95(0x100)][_0x1e3f95(0x126)](({reqId:_0x1b7716,timeout:_0x54233e})=>{var _0x18bb81=_0x1e3f95;this[_0x18bb81(0xe4)](_0x1b7716,_0x54233e);}),this);}[_0x264c89(0x24f)](){var _0x1f76e2=_0x264c89;return this['_clearScheduledTask'](),this['_injector'][_0x1f76e2(0x379)](de,this[_0x1f76e2(0x12d)],this[_0x1f76e2(0x133)],this['_awaitingChangeset'],this[_0x1f76e2(0x349)],this['_handler']);}[_0x264c89(0x280)](){return this;}[_0x264c89(0x39e)](){var _0x150eb8=_0x264c89;this[_0x150eb8(0xaa)]['onSendChangeset'](this[_0x150eb8(0xb4)]);}[_0x264c89(0x300)](_0x47f5f5){var _0x2374e6=_0x264c89;return this[_0x2374e6(0x175)](),this[_0x2374e6(0x154)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x2374e6(0x349)],this[_0x2374e6(0xaa)],_0x47f5f5);}[_0x264c89(0xe4)](_0x4aa7c4,_0x1fbcf5){var _0x33d2ed=_0x264c89,_0xcffe6a;_0x4aa7c4===((_0xcffe6a=this[_0x33d2ed(0xb4)])==null?void 0x0:_0xcffe6a[_0x33d2ed(0x367)])&&(this[_0x33d2ed(0x39e)](),this['_resendTimeout']=_0x1fbcf5===0x0?0x3e8:_0x1fbcf5*0x2);}[_0x264c89(0x175)](){var _0x12e0e6=_0x264c89,_0x51952c;(_0x51952c=this[_0x12e0e6(0x375)])==null||_0x51952c[_0x12e0e6(0x1bd)](),this[_0x12e0e6(0x333)]=0x0;}};oe=Te([P(0x6,_0x4a5888(_0x2d1333)),P(0x7,_0x4a5888(_0x132948)),P(0x8,_0x2c2824),P(0x9,_0x1144bf),P(0xa,_0x389c1c),P(0xb,_0x2defcd),P(0xc,_0xb373d8(J))],oe);let ue=class extends Ce{constructor(_0x2485e9,_0x116006,_0x16053d,_0x59ec00,_0x34c244,_0x31ed78=!0x1,_0xc5e93f,_0xeb09e,_0x52441e,_0x3c90d0,_0x4dac5a,_0x3ea369,_0x402fa0){var _0x4cef7c=_0x264c89;super(_0x2485e9,_0x116006,_0x16053d,_0x59ec00,_0x34c244,_0xeb09e,_0x52441e,_0x3c90d0,_0x402fa0),N(this,_0x4cef7c(0x1b5),_0x4cef7c(0x1b8)),(this[_0x4cef7c(0x39f)]=_0x31ed78,this[_0x4cef7c(0x30e)]=_0xc5e93f,this[_0x4cef7c(0xf6)]=_0x4dac5a,this[_0x4cef7c(0x35f)]=_0x3ea369,this[_0x4cef7c(0x275)]=_0x402fa0,this['_showConflictNotification'](),this[_0x4cef7c(0xf8)](),this[_0x4cef7c(0x13a)]());}['appendMutation'](){return this;}[_0x264c89(0x394)](){return this;}[_0x264c89(0x33b)](){return this;}[_0x264c89(0x28b)](){return this;}[_0x264c89(0x190)](){return this;}[_0x264c89(0x24f)](){return this;}[_0x264c89(0x280)](){return this;}[_0x264c89(0x39e)](){var _0x13890c=_0x264c89;throw new Error(_0x13890c(0x370));}[_0x264c89(0xf8)](){var _0x1a43e1=_0x264c89,_0x13a1a5;(_0x13a1a5=this[_0x1a43e1(0x1a7)])==null||_0x13a1a5[_0x1a43e1(0x38b)](this[_0x1a43e1(0x12d)],this[_0x1a43e1(0x133)],null,[]);}[_0x264c89(0x21a)](){var _0x10d88d=_0x264c89;this['_isPermissionRej']?this[_0x10d88d(0x35f)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x10d88d(0x361)]({'id':re[_0x10d88d(0x237)]});}[_0x264c89(0x13a)](){var _0x5a95d8=_0x264c89;this['_permissionService']['updatePermissionPoint'](new _0x57ceb2(this[_0x5a95d8(0x12d)])['id'],!0x1);}};ue=Te([P(0x6,_0x4a5888(_0x22b714)),P(0x7,_0x2c2824),P(0x8,_0x2defcd),P(0x9,_0x4a5888(_0x132948)),P(0xa,_0x4a5888(_0x567ba8)),P(0xb,_0x4a5888(pe)),P(0xc,_0xb373d8(J))],ue);let de=class extends Ce{constructor(_0x4543d0,_0xd3273,_0x3bcb47,_0x47260c,_0xbc8da2,_0xfeba85,_0x225d55,_0x904cc5,_0x3a4fa0,_0x265ac1){var _0x525bb0=_0x264c89;super(_0x4543d0,_0xd3273,_0x3bcb47,_0x47260c,_0xbc8da2,_0x904cc5,_0x3a4fa0,_0x225d55,_0x265ac1),N(this,_0x525bb0(0x1b5),'offline'),this[_0x525bb0(0x154)]=_0xfeba85;}[_0x264c89(0x364)](_0xf15ed7){var _0x54984c=_0x264c89;return this[_0x54984c(0x349)][_0x54984c(0x157)](_0xf15ed7),this[_0x54984c(0x209)](),this;}['onRemoteChangeset'](_0x9c5bf7){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x264c89(0x33b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5a958e=_0x264c89;throw new Error(_0x5a958e(0x1e2));}[_0x264c89(0x190)](){return this;}[_0x264c89(0x24f)](){return this;}[_0x264c89(0x280)](){var _0x1d138c=_0x264c89;const {_injector:_0x4f3a04,_pendingMutations:_0x30ae92,_awaitingChangeset:_0x1f7af9,unitID:_0x14a55b,_handler:_0x450869,type:_0x492ab2}=this,_0x16276e=yi(_0x4f3a04,_0x14a55b,_0x492ab2,_0x1f7af9,_0x30ae92,_0x450869);return _0x16276e instanceof ae?_0x16276e[_0x1d138c(0x15b)]():(_0x16276e instanceof oe||_0x16276e instanceof le)&&_0x16276e[_0x1d138c(0x39e)](),_0x16276e;}['resend'](){var _0x1a4167=_0x264c89;throw new Error(_0x1a4167(0x156));}};de=Te([P(0x5,_0x4a5888(_0x2d1333)),P(0x6,_0x4a5888(_0x132948)),P(0x7,_0x2c2824),P(0x8,_0x2defcd),P(0x9,_0xb373d8(J))],de);let ee=class extends Ce{constructor(_0x13fd65,_0x16d05a,_0xd42407,_0x44ed50,_0x4802bc,_0x3f020a,_0xbffeb4,_0x4c362c,_0x5b5496,_0x250425,_0x12c20a,_0x581f80,_0xeb46ff,_0x5aa9d1){var _0x1ec0b7=_0x264c89;super(_0x13fd65,_0x16d05a,_0xd42407,_0x44ed50,_0xbffeb4,_0x12c20a,_0x581f80,_0x5b5496,_0x5aa9d1),N(this,_0x1ec0b7(0x1b5),_0x1ec0b7(0x1a9)),(this['_acknowledgedAwaitingChangeset']=_0x4802bc,this[_0x1ec0b7(0x309)]=_0x3f020a,this[_0x1ec0b7(0x154)]=_0x4c362c,this['_logService']=_0x250425,this[_0x1ec0b7(0x303)]=_0xeb46ff,this[_0x1ec0b7(0x275)]=_0x5aa9d1);}[_0x264c89(0x362)](_0x5f0c41){var _0x104aa5=_0x264c89;try{const _0x13c948=[..._0x5f0c41,...this['_queuedRemoteChangesets']],_0x199292=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x45186d=>!!_0x45186d);let _0x2d6312,_0x136f44;if(_0x199292[_0x104aa5(0x20a)]){const _0x55c8a9=this['_transformService'][_0x104aa5(0x31a)](_0x13c948,_0x199292,!0x1);if(!_0x3d229d(_0x55c8a9))throw _0x55c8a9['error'];_0x2d6312=_0x55c8a9[_0x104aa5(0x212)],_0x136f44=_0x55c8a9[_0x104aa5(0x28d)];}else _0x2d6312=_0x13c948,_0x136f44=[];let _0x3b2b55=this[_0x104aa5(0x349)];_0x2d6312[_0x104aa5(0x2f8)](_0x2e1b24=>{var _0xc18b05=_0x104aa5;let _0x202474;if(_0x3b2b55[_0xc18b05(0x20a)]){const _0x1de827=this[_0xc18b05(0x303)][_0xc18b05(0x112)](_0x2e1b24,_0x3b2b55);if(!_0x6317cc(_0x1de827))throw _0x1de827[_0xc18b05(0x1f3)];_0x202474=_0x1de827[_0xc18b05(0x212)],_0x3b2b55=_0x1de827[_0xc18b05(0x145)];}else _0x202474=_0x2e1b24;this[_0xc18b05(0x26f)](_0x202474);}),this[_0x104aa5(0x28a)]&&this[_0x104aa5(0x1b0)](),this[_0x104aa5(0xb4)]&&_0x136f44['length']&&(_0x136f44[0x0]['baseRev']=this[_0x104aa5(0xd7)]());let _0x41641c;if(this[_0x104aa5(0xb4)]&&_0x3b2b55[_0x104aa5(0x20a)]!==0x0)_0x41641c=this['_injector'][_0x104aa5(0x379)](oe,this[_0x104aa5(0x12d)],this[_0x104aa5(0x133)],_0x136f44[0x0],_0x3b2b55,this[_0x104aa5(0xaa)],void 0x0);else{if(this[_0x104aa5(0xb4)]&&_0x3b2b55['length']===0x0)_0x136f44[0x0][_0x104aa5(0x2a0)]=this['_getCurrentRevision'](),_0x41641c=this[_0x104aa5(0x154)][_0x104aa5(0x379)](le,this[_0x104aa5(0x12d)],this[_0x104aa5(0x133)],_0x136f44[0x0],this[_0x104aa5(0xaa)]);else{if(_0x3b2b55[_0x104aa5(0x20a)]!==0x0){const _0x9fb7d3=this['_injector']['createInstance'](ae,this[_0x104aa5(0x12d)],this[_0x104aa5(0x133)],_0x3b2b55,this['_handler']);_0x9fb7d3[_0x104aa5(0x15b)](),_0x41641c=_0x9fb7d3;}else _0x41641c=this[_0x104aa5(0x154)][_0x104aa5(0x379)](Ne,this[_0x104aa5(0x12d)],this[_0x104aa5(0x133)],this['_handler']);}}return _0x41641c[_0x104aa5(0x209)](),_0x41641c;}catch(_0x12f6aa){return this[_0x104aa5(0xc7)][_0x104aa5(0x1f3)](_0x104aa5(0x127),'failed\x20to\x20apply\x20missed\x20changesets!',_0x12f6aa),this[_0x104aa5(0x154)][_0x104aa5(0x379)](ue,this['unitID'],this[_0x104aa5(0x133)],this[_0x104aa5(0xb4)],this['_pendingMutations'],this[_0x104aa5(0xaa)],!0x1);}}[_0x264c89(0x39e)](){var _0x532ef7=_0x264c89;throw new Error(_0x532ef7(0xdd));}['appendMutation'](_0x2ba025){var _0x1c2694=_0x264c89;return this[_0x1c2694(0x349)][_0x1c2694(0x157)](_0x2ba025),this;}['onRemoteChangeset'](_0x4285be){var _0x11c90c=_0x264c89;return this[_0x11c90c(0x309)][_0x11c90c(0x157)](_0x4285be),this;}[_0x264c89(0x33b)](_0x12378e){var _0x1a917b=_0x264c89;if(this[_0x1a917b(0xb4)])return this[_0x1a917b(0x28a)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x264c89(0x28b)](_0x2771df){var _0x127b29=_0x264c89;return this[_0x127b29(0x300)](!!(_0x2771df!=null&&_0x2771df[_0x127b29(0x272)]));}[_0x264c89(0x190)](){return this;}[_0x264c89(0x24f)](){var _0x48e263=_0x264c89;return this[_0x48e263(0x154)]['createInstance'](de,this[_0x48e263(0x12d)],this[_0x48e263(0x133)],this[_0x48e263(0xb4)],this[_0x48e263(0x349)],this[_0x48e263(0xaa)]);}[_0x264c89(0x280)](){return this;}['_onConflict'](_0x1011bf){var _0x33ac7e=_0x264c89;return this['_injector'][_0x33ac7e(0x379)](ue,this[_0x33ac7e(0x12d)],this['type'],this[_0x33ac7e(0xb4)],this[_0x33ac7e(0x349)],this[_0x33ac7e(0xaa)],_0x1011bf);}};ee=Te([P(0x7,_0x4a5888(_0x2d1333)),P(0x8,_0x4a5888(_0x132948)),P(0x9,_0x1144bf),P(0xa,_0x2c2824),P(0xb,_0x2defcd),P(0xc,_0x389c1c),P(0xd,_0xb373d8(J))],ee);function yi(_0x172e23,_0x5588d1,_0x19e350,_0x3e4bdf,_0x4f235f,_0x56cd25){var _0x4c78fc=_0x264c89;return _0x3e4bdf&&_0x4f235f[_0x4c78fc(0x20a)]?_0x172e23[_0x4c78fc(0x379)](oe,_0x5588d1,_0x19e350,_0x3e4bdf,_0x4f235f,_0x56cd25,void 0x0):_0x3e4bdf?_0x172e23[_0x4c78fc(0x379)](le,_0x5588d1,_0x19e350,_0x3e4bdf,_0x56cd25):_0x4f235f['length']?_0x172e23[_0x4c78fc(0x379)](ae,_0x5588d1,_0x19e350,_0x4f235f,_0x56cd25):_0x172e23[_0x4c78fc(0x379)](Ne,_0x5588d1,_0x19e350,_0x56cd25);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x29d922,_0x3159db,_0xe81150,_0x5c9b39)=>{var _0x4bce3c=_0x264c89;for(var _0x297865=_0x5c9b39>0x1?void 0x0:_0x5c9b39?as(_0x3159db,_0xe81150):_0x3159db,_0x56ced7=_0x29d922[_0x4bce3c(0x20a)]-0x1,_0x548c22;_0x56ced7>=0x0;_0x56ced7--)(_0x548c22=_0x29d922[_0x56ced7])&&(_0x297865=_0x548c22(_0x297865)||_0x297865);return _0x297865;},H=(_0x482b86,_0x20cdc1)=>(_0x58627a,_0x4b59e5)=>_0x20cdc1(_0x58627a,_0x4b59e5,_0x482b86);let nt=class extends _0x10cbe0{constructor(_0x5a3408,_0xb45d71,_0x4e4f72,_0x15fc16,_0x5a8461,_0x190bc6,_0xfe162f,_0x347f65,_0x5a81c4,_0x870e29,_0x939e97,_0x46e8d6,_0x5c5018){var _0x5e07df=_0x264c89;super(),N(this,'_state$',new _0x10b2eb(null)),N(this,_0x5e07df(0x229),this['_state$'][_0x5e07df(0x34b)]()),N(this,_0x5e07df(0x2c3)),N(this,'_collaborationPaused',!0x1),N(this,_0x5e07df(0x257),''),N(this,_0x5e07df(0x27a),0x0),N(this,_0x5e07df(0x176),this[_0x5e07df(0x229)][_0x5e07df(0x36c)](_0x22c302(_0x3221ee=>_0x3221ee?_0x3221ee[_0x5e07df(0x1b5)]:bi[_0x5e07df(0x147)]),_0x5a615c(0x1))),N(this,_0x5e07df(0xec),!0x1),N(this,_0x5e07df(0x1ab),[]),(this[_0x5e07df(0x12d)]=_0x5a3408,this['session']=_0xb45d71,this[_0x5e07df(0x12c)]=_0x4e4f72,this['_injector']=_0x15fc16,this[_0x5e07df(0x39b)]=_0x5a8461,this['_localeService']=_0x190bc6,this[_0x5e07df(0x207)]=_0xfe162f,this[_0x5e07df(0x38d)]=_0x347f65,this[_0x5e07df(0xc7)]=_0x5a81c4,this[_0x5e07df(0x23f)]=_0x870e29,this['_permissionService']=_0x939e97,this['_singleActiveUnitService']=_0x46e8d6,this[_0x5e07df(0x1a7)]=_0x5c5018);}get['state'](){var _0x350ab6=_0x264c89;return this[_0x350ab6(0x2c3)];}async['init'](){var _0x2539d1=_0x264c89;if(this[_0x2539d1(0x1f9)])throw new Error(_0x2539d1(0x11d));await this['_init']();}[_0x264c89(0x365)](){var _0x43524d=_0x264c89;return this[_0x43524d(0x284)]=!0x0,_0x11e1fd(()=>{var _0x463136=_0x43524d;this['_collaborationPaused']=!0x1,this[_0x463136(0x372)]();});}[_0x264c89(0x320)](_0x235fe6){var _0x7b79b6=_0x264c89;this[_0x7b79b6(0x378)](_0x235fe6);}[_0x264c89(0x216)](_0x78110c){var _0x1640e2=_0x264c89;this[_0x1640e2(0x2c3)]=_0x78110c,this[_0x1640e2(0x2e2)][_0x1640e2(0x12f)](_0x78110c);}async[_0x264c89(0x1f0)](){var _0x1f2060=_0x264c89,_0x88d5af;this[_0x1f2060(0x216)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x88d5af=this[_0x1f2060(0x140)])==null||_0x88d5af[_0x1f2060(0x2dd)](this[_0x1f2060(0x12d)]),this[_0x1f2060(0xac)](this[_0x1f2060(0x140)]['getUnitStatus$'](this[_0x1f2060(0x12d)])[_0x1f2060(0x126)](_0xba2b17=>{var _0x4479d7=_0x1f2060;this['_logService'][_0x4479d7(0x2bd)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xba2b17),_0xba2b17===Ci[_0x4479d7(0x2e8)]?(this[_0x4479d7(0x38d)]['emitEvent']({'id':re[_0x4479d7(0x262)]}),this['_permissionService'][_0x4479d7(0x2d2)](new _0x57ceb2(this['unitID'])['id'],!0x1),this[_0x4479d7(0x30e)][_0x4479d7(0x2aa)](!0x1)):(this[_0x4479d7(0x30e)]['updatePermissionPoint'](new _0x57ceb2(this[_0x4479d7(0x12d)])['id'],!0x0),this[_0x4479d7(0x30e)][_0x4479d7(0x2aa)](!0x0));})));let _0x414ebc=!0x1;return this[_0x1f2060(0xac)](this[_0x1f2060(0x152)]['sessionStatus$'][_0x1f2060(0x126)](_0x263ef1=>{var _0x5cfc6d=_0x1f2060;_0x263ef1===Ee[_0x5cfc6d(0x1dd)]?this[_0x5cfc6d(0x2f7)](_0x414ebc):_0x263ef1===Ee[_0x5cfc6d(0x147)]&&(_0x414ebc=!0x0,this[_0x5cfc6d(0x313)]());})),this['disposeWithMe'](this['session'][_0x1f2060(0x293)]['subscribe'](_0x5e08b0=>{var _0x54c00d=_0x1f2060;try{switch(_0x5e08b0[_0x54c00d(0x247)]){case _0x17f648[_0x54c00d(0x3ab)]:{this[_0x54c00d(0x180)](_0x22159d(_0x5e08b0[_0x54c00d(0x2d1)]));break;}case _0x17f648[_0x54c00d(0x357)]:{this['_onRemoteACK'](_0x5e08b0[_0x54c00d(0x2d1)]);break;}case _0x17f648[_0x54c00d(0x219)]:{this[_0x54c00d(0x2bc)]();break;}case _0x17f648[_0x54c00d(0x1f2)]:{this[_0x54c00d(0x144)](_0x5e08b0[_0x54c00d(0x2d1)]);break;}case _0x17f648[_0x54c00d(0x2b5)]:{this[_0x54c00d(0x2cb)](_0x5e08b0[_0x54c00d(0x2d1)][_0x54c00d(0x106)]['map'](_0x2b3e26=>_0x22159d(_0x2b3e26)));break;}case _0x17f648[_0x54c00d(0x3b0)]:{this[_0x54c00d(0x2bc)]({'isPermissionRej':!0x0});break;}case _0x17f648[_0x54c00d(0x1bc)]:break;}}catch(_0x3a6542){throw console['error'](_0x54c00d(0x1c9),_0x3a6542),_0x3a6542;}})),this[_0x1f2060(0x2c3)];}['_unlockTransition'](){var _0x1e49da=_0x264c89;this[_0x1e49da(0xec)]=!0x1;}[_0x264c89(0x28e)](){var _0x2d2805=_0x264c89;if(this[_0x2d2805(0xec)])throw new Error(_0x2d2805(0x2f9));this[_0x2d2805(0xec)]=!0x0;}['_onLocalMutation'](_0x1b7a05){var _0x2a47c4=_0x264c89;this[_0x2a47c4(0x28e)](),this['_updateState'](this[_0x2a47c4(0x2c3)]['appendMutation'](_0x1b7a05)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x45f06c){var _0x182612=_0x264c89;if(!(_0x45f06c[_0x182612(0x199)]<=this[_0x182612(0x207)][_0x182612(0x2d3)](this[_0x182612(0x12d)]))){if(this[_0x182612(0x284)]){this[_0x182612(0x1ab)][_0x182612(0x157)](_0x45f06c);return;}this[_0x182612(0x20d)](_0x45f06c);}}[_0x264c89(0x372)](){var _0x3fe267=_0x264c89;this[_0x3fe267(0x1ab)][_0x3fe267(0x2f8)](_0x5a0b1f=>this[_0x3fe267(0x20d)](_0x5a0b1f)),this['_remoteChangesetQueue']=[];}[_0x264c89(0x20d)](_0x45afb6){var _0x466ae7=_0x264c89;const _0x268b18=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x466ae7(0x39b)]['interceptor'][_0x466ae7(0x253)]()[_0x466ae7(0x2c9)])(_0x45afb6[_0x466ae7(0x28f)],null)||_0x45afb6[_0x466ae7(0x28f)],_0x170297={..._0x45afb6,'mutations':_0x268b18};this[_0x466ae7(0x28e)](),this[_0x466ae7(0x216)](this['_state']['onRemoteChangeset'](_0x170297)),this[_0x466ae7(0x20c)]();}[_0x264c89(0x1fb)](_0x82a730){var _0x548ec3=_0x264c89;this[_0x548ec3(0x28e)](),this[_0x548ec3(0x216)](this[_0x548ec3(0x2c3)]['onRemoteAck'](_0x82a730)),this[_0x548ec3(0x20c)]();}[_0x264c89(0x2bc)](_0x3b449d){var _0x3b7ab4=_0x264c89;this['_lockTransition'](),this[_0x3b7ab4(0x216)](this[_0x3b7ab4(0x2c3)][_0x3b7ab4(0x28b)](_0x3b449d)),this[_0x3b7ab4(0x20c)]();}['_onRemoteRetry'](_0x117462){var _0xb94be7=_0x264c89;this[_0xb94be7(0x28e)](),this[_0xb94be7(0x216)](this[_0xb94be7(0x2c3)][_0xb94be7(0x190)](_0x117462)),this['_unlockTransition']();}[_0x264c89(0x2cb)](_0x51326c){var _0x134bc1=_0x264c89;if(!(this['_state']instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3ce940=_0x51326c[_0x134bc1(0x2fc)](_0x3d1113=>{var _0x3c7c39=_0x134bc1;const _0x431b5c=this[_0x3c7c39(0x39b)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x3c7c39(0x2c9)])(_0x3d1113[_0x3c7c39(0x28f)],null)||_0x3d1113['mutations'];return{..._0x3d1113,'mutations':_0x431b5c};});this['_lockTransition'](),this[_0x134bc1(0x216)](this['_state']['onMissedChangesetFetched'](_0x3ce940)),this[_0x134bc1(0x20c)]();}['_toggleOffline'](){var _0x34d36a=_0x264c89;this[_0x34d36a(0x28e)](),this[_0x34d36a(0x216)](this[_0x34d36a(0x2c3)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x517b20=!0x1){var _0x24201e=_0x264c89;this[_0x24201e(0x28e)](),this[_0x24201e(0x216)](this[_0x24201e(0x2c3)]['toggleOnline']()),this[_0x24201e(0x20c)]();const _0x45ca57=this[_0x24201e(0x2c3)];_0x517b20&&_0x45ca57 instanceof Ne&&(this[_0x24201e(0x28e)](),this['_updateState'](_0x45ca57['fetchMiss']()),this['_unlockTransition']());}async[_0x264c89(0x213)](){return new Promise(_0x16215e=>{var _0x1fb051=_0x400c;this['session']['sessionStatus$'][_0x1fb051(0x36c)](_0x53b4f7(0x1))[_0x1fb051(0x126)](async _0x29eac8=>{var _0x282629=_0x1fb051;_0x16215e(await this[_0x282629(0x336)](_0x29eac8===Ee[_0x282629(0x1dd)]));});});}[_0x264c89(0x19e)](){var _0x19a3ff=_0x264c89;const _0x5351e1=this[_0x19a3ff(0x12d)];return{'onStateChange':(_0x239727,_0x23c364)=>{var _0x3e0aa6=_0x19a3ff;if(_0x239727!==this[_0x3e0aa6(0x2c3)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x239727[_0x3e0aa6(0x1b5)]+_0x3e0aa6(0x2b8)+_0x23c364[_0x3e0aa6(0x1b5)]+'\x0aCurrent:\x20'+this[_0x3e0aa6(0x2c3)][_0x3e0aa6(0x1b5)]);this[_0x3e0aa6(0x216)](_0x23c364);},'onSendChangeset':_0x1d51e0=>{var _0x18e37d=_0x19a3ff;_0x1d51e0['sid']||(_0x1d51e0[_0x18e37d(0x1a5)]=this[_0x18e37d(0x257)],_0x1d51e0[_0x18e37d(0x367)]=++this['_changesetReqId']);const _0xca1136={'eventID':_0x17f648[_0x18e37d(0x259)],'data':{'unitID':_0x1d51e0[_0x18e37d(0x12d)],'unitType':this[_0x18e37d(0x12c)],'changeset':_0x1d51e0,'memberID':this['session'][_0x18e37d(0x240)]()}};this[_0x18e37d(0x152)][_0x18e37d(0x104)](_0xca1136,this[_0x18e37d(0x12d)]);},'onMissingChangesets':({from:_0x1ce2c8,to:_0x5b0d45})=>{var _0x5327ec=_0x19a3ff;this[_0x5327ec(0xc7)][_0x5327ec(0x2bd)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1ce2c8+'\x20to\x20'+_0x5b0d45);const _0xbf57da={'eventID':_0x17f648['FETCH_MISSING'],'data':{'unitID':_0x5351e1,'unitType':this['_type'],'from':_0x1ce2c8,'to':_0x5b0d45}};this[_0x5327ec(0x152)][_0x5327ec(0x104)](_0xbf57da,this['unitID']);}};}async[_0x264c89(0x336)](_0x1b4503){var _0x542d00=_0x264c89,_0x413e47,_0x157ca8,_0x1a193f;const _0x209fbd=await((_0x413e47=this[_0x542d00(0x1a7)])==null?void 0x0:_0x413e47[_0x542d00(0x204)](this['unitID'])),_0x2f13c9=(_0x157ca8=_0x209fbd==null?void 0x0:_0x209fbd['mutations'])!=null?_0x157ca8:[],_0x11bdd4=(_0x1a193f=_0x209fbd==null?void 0x0:_0x209fbd[_0x542d00(0xbc)])!=null?_0x1a193f:null,_0x39dcfe=!!(_0x11bdd4!=null&&_0x11bdd4[_0x542d00(0x1a5)])&&!!(_0x11bdd4!=null&&_0x11bdd4[_0x542d00(0x367)]);this['_changesetSessionId']=_0x39dcfe?_0x11bdd4['sid']:Zn(),this[_0x542d00(0x27a)]=_0x39dcfe?_0x11bdd4['reqId']:0x0;const _0x5ea2bd=this['unitID'];try{this['_replayCachedMutations'](_0x11bdd4,_0x2f13c9);}catch(_0x2b0162){this[_0x542d00(0xc7)][_0x542d00(0x1f3)](_0x2b0162);}const _0x2a0e57=this[_0x542d00(0x19e)]();if(_0x1b4503){const _0x4c8b28=yi(this[_0x542d00(0x154)],_0x5ea2bd,this['_type'],_0x11bdd4,_0x2f13c9,_0x2a0e57);return _0x4c8b28 instanceof ae?_0x4c8b28[_0x542d00(0x15b)]():(_0x4c8b28 instanceof oe||_0x4c8b28 instanceof le)&&_0x4c8b28[_0x542d00(0x39e)](),_0x4c8b28;}return this['_injector']['createInstance'](de,_0x5ea2bd,this['_type'],_0x11bdd4,_0x2f13c9,_0x2a0e57);}['_replayCachedMutations'](_0x4f3b49,_0x231b76){var _0x152b05=_0x264c89,_0x2c4680,_0x412fdb;const _0x1fb2e3=this[_0x152b05(0x39b)][_0x152b05(0x1db)]['fetchThroughInterceptors'](this[_0x152b05(0x39b)][_0x152b05(0x1db)][_0x152b05(0x253)]()['COMPRESS_MUTATION_APPLY']);(_0x2c4680=_0x1fb2e3((_0x4f3b49==null?void 0x0:_0x4f3b49['mutations'])||[],null))==null||_0x2c4680[_0x152b05(0x2f8)](_0x18b66d=>this[_0x152b05(0x23f)][_0x152b05(0x36f)](_0x18b66d['id'],_0x18b66d['params'])),(_0x412fdb=_0x1fb2e3(_0x231b76||[],null))==null||_0x412fdb[_0x152b05(0x2f8)](_0x2ba4eb=>this[_0x152b05(0x23f)][_0x152b05(0x36f)](_0x2ba4eb['id'],_0x2ba4eb['params']));}};nt=Lt([H(0x3,_0x4a5888(_0x2d1333)),H(0x4,_0x4a5888(_0x144306)),H(0x5,_0x4a5888(_0x567ba8)),H(0x6,_0x4a5888(_0x132948)),H(0x7,_0x4a5888(pe)),H(0x8,_0x1144bf),H(0x9,_0x2c2824),H(0xa,_0x22b714),H(0xb,_0xb373d8(ht)),H(0xc,_0xb373d8(J))],nt);let It=class extends nt{constructor(_0x50f426,_0x571885,_0xd1b4be,_0x421314,_0x390731,_0x1240e7,_0x5ac548,_0x4a5bb7,_0xfd2907,_0x5106d2,_0x54d4f8,_0x213a27,_0x443268){var _0x126426=_0x264c89;super(_0x50f426,_0xd1b4be,_0x571885,_0x421314,_0x390731,_0x1240e7,_0x5ac548,_0x4a5bb7,_0xfd2907,_0x5106d2,_0x54d4f8,_0x213a27,_0x443268),N(this,_0x126426(0x15a),null),(this[_0x126426(0x12d)]=_0x50f426,this[_0x126426(0x133)]=_0x571885);}['addHandlerCallback'](_0x13d5a4){this['_handlerCallback']=_0x13d5a4;}[_0x264c89(0x1e6)](){var _0x5d17a7=_0x264c89;this[_0x5d17a7(0x15a)]=null,super[_0x5d17a7(0x1e6)]();}[_0x264c89(0x19e)](){var _0x1d16e5=_0x264c89;const _0xd3a3aa=super[_0x1d16e5(0x19e)]();return _0xd3a3aa[_0x1d16e5(0x24a)]=_0x3320ab=>{var _0x4a6924=_0x1d16e5,_0x2dfd74,_0x18fefd;return(_0x18fefd=(_0x2dfd74=this[_0x4a6924(0x15a)])==null?void 0x0:_0x2dfd74[_0x4a6924(0x24a)])==null?void 0x0:_0x18fefd[_0x4a6924(0x331)](_0x2dfd74,_0x3320ab);},_0xd3a3aa[_0x1d16e5(0x306)]=_0x5460d1=>{var _0x3e727d=_0x1d16e5,_0x1de875,_0x50b46f;return(_0x50b46f=(_0x1de875=this[_0x3e727d(0x15a)])==null?void 0x0:_0x1de875['onTransformState'])==null?void 0x0:_0x50b46f[_0x3e727d(0x331)](_0x1de875,_0x5460d1);},_0xd3a3aa['onTransformSelections']=_0xd54746=>{var _0x145a63=_0x1d16e5,_0x3787a8,_0x25690f;return(_0x25690f=(_0x3787a8=this['_handlerCallback'])==null?void 0x0:_0x3787a8[_0x145a63(0x188)])==null?void 0x0:_0x25690f[_0x145a63(0x331)](_0x3787a8,_0xd54746);},_0xd3a3aa[_0x1d16e5(0x122)]=_0x1aae52=>{var _0x17199a=_0x1d16e5,_0x3c9291,_0x3894b3;return(_0x3894b3=(_0x3c9291=this[_0x17199a(0x15a)])==null?void 0x0:_0x3c9291[_0x17199a(0x122)])==null?void 0x0:_0x3894b3['call'](_0x3c9291,_0x1aae52);},_0xd3a3aa[_0x1d16e5(0x305)]=_0xa4aac7=>{var _0x3cc33f=_0x1d16e5,_0x26619a,_0x40bed2,_0x38f8ff;if(!((_0x26619a=this[_0x3cc33f(0x15a)])!=null&&_0x26619a['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3cc33f(0x2d9));return(_0x38f8ff=(_0x40bed2=this[_0x3cc33f(0x15a)])==null?void 0x0:_0x40bed2[_0x3cc33f(0x305)])==null?void 0x0:_0x38f8ff['call'](_0x40bed2,_0xa4aac7);},_0xd3a3aa[_0x1d16e5(0x17f)]=_0x1d6e77=>{var _0x327dcb=_0x1d16e5,_0x30d9be,_0x21af8b,_0x13f813;if(!((_0x30d9be=this['_handlerCallback'])!=null&&_0x30d9be[_0x327dcb(0x17f)]))throw new Error(_0x327dcb(0x286));return(_0x13f813=(_0x21af8b=this[_0x327dcb(0x15a)])==null?void 0x0:_0x21af8b[_0x327dcb(0x17f)])==null?void 0x0:_0x13f813['call'](_0x21af8b,_0x1d6e77);},_0xd3a3aa;}async['_init'](){var _0x12b8ce=_0x264c89;const _0x36fc61=await super[_0x12b8ce(0x1f0)]();return this[_0x12b8ce(0xac)](this[_0x12b8ce(0x23f)]['onCommandExecuted']((_0x29c830,_0x17f742)=>{var _0x251260=_0x12b8ce;if(_0x29c830[_0x251260(0x133)]!==_0x249315[_0x251260(0xfa)]||_0x17f742!=null&&_0x17f742[_0x251260(0x1a8)]||_0x17f742!=null&&_0x17f742['onlyLocal']||_0x29c830['id']===_0x3c8aee['id'])return;const _0x2ea1c9=_0x29c830['params'];if((_0x2ea1c9==null?void 0x0:_0x2ea1c9[_0x251260(0x1ea)])!==this[_0x251260(0x12d)])return;const _0x3dffd4=_0x29c830,_0x964f4f=this['_compressMutationService'][_0x251260(0x1db)]['fetchThroughInterceptors'](this[_0x251260(0x39b)][_0x251260(0x1db)][_0x251260(0x253)]()[_0x251260(0x1f5)])([_0x3dffd4],null)||[_0x3dffd4];this[_0x251260(0x378)](_0x964f4f[0x0]);})),_0x36fc61;}};It=Lt([H(0x3,_0x4a5888(_0x2d1333)),H(0x4,_0x4a5888(_0x144306)),H(0x5,_0x4a5888(_0x567ba8)),H(0x6,_0x4a5888(_0x132948)),H(0x7,_0x4a5888(pe)),H(0x8,_0x1144bf),H(0x9,_0x2c2824),H(0xa,_0x22b714),H(0xb,_0xb373d8(ht)),H(0xc,_0xb373d8(J))],It);let Tt=class extends nt{constructor(_0x3a4092,_0x29cac2,_0x347127,_0x2464cb,_0x561de0,_0x396bc1,_0x457bd9,_0x2daa9f,_0x372f7b,_0x1c4942,_0x232062,_0x3044fc,_0xa57741,_0x593007){var _0x29e4df=_0x264c89;super(_0x3a4092,_0x347127,_0x29cac2,_0x2464cb,_0x561de0,_0x396bc1,_0x457bd9,_0x372f7b,_0x1c4942,_0x232062,_0x3044fc,_0xa57741,_0x593007),this[_0x29e4df(0x12d)]=_0x3a4092,this[_0x29e4df(0x133)]=_0x29cac2,this['_sheetTransformSelectionsService']=_0x2daa9f;}[_0x264c89(0x19e)](){var _0x2f2238=_0x264c89;const _0x12e3ab=super[_0x2f2238(0x19e)]();return _0x12e3ab[_0x2f2238(0x188)]=_0x4bb5a4=>this[_0x2f2238(0x13f)][_0x2f2238(0x1ad)](_0x4bb5a4),_0x12e3ab;}async['_init'](){var _0x110ac0=_0x264c89;const _0x261c96=await super[_0x110ac0(0x1f0)]();return this[_0x110ac0(0xac)](this['_commandService']['onCommandExecuted']((_0x4ec6ef,_0x28b741)=>{var _0x3faaa9=_0x110ac0;if(_0x4ec6ef[_0x3faaa9(0x133)]!==_0x249315[_0x3faaa9(0xfa)]||_0x28b741!=null&&_0x28b741[_0x3faaa9(0x1a8)]||_0x28b741!=null&&_0x28b741['onlyLocal'])return;const _0x305047=_0x4ec6ef[_0x3faaa9(0x11f)];if((_0x305047==null?void 0x0:_0x305047[_0x3faaa9(0x1ea)])!==this[_0x3faaa9(0x12d)])return;const _0x5af1f2=_0x4ec6ef,_0x1e5528=this['_compressMutationService'][_0x3faaa9(0x1db)][_0x3faaa9(0x358)](this[_0x3faaa9(0x39b)][_0x3faaa9(0x1db)][_0x3faaa9(0x253)]()[_0x3faaa9(0x1f5)])([_0x5af1f2],null)||[_0x5af1f2];this['_onLocalMutation'](_0x1e5528[0x0]);})),_0x261c96;}};Tt=Lt([H(0x3,_0x4a5888(_0x2d1333)),H(0x4,_0x4a5888(_0x144306)),H(0x5,_0x4a5888(_0x567ba8)),H(0x6,_0x4a5888(_0x132948)),H(0x7,_0x4a5888(it)),H(0x8,_0x4a5888(pe)),H(0x9,_0x1144bf),H(0xa,_0x2c2824),H(0xb,_0x22b714),H(0xc,_0xb373d8(ht)),H(0xd,_0xb373d8(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x5d6b6b,_0x2f64a8,_0x5207af,_0x523431)=>{var _0x39479d=_0x264c89;for(var _0x32d65a=_0x523431>0x1?void 0x0:_0x523431?os(_0x2f64a8,_0x5207af):_0x2f64a8,_0x298ff0=_0x5d6b6b[_0x39479d(0x20a)]-0x1,_0x2754d8;_0x298ff0>=0x0;_0x298ff0--)(_0x2754d8=_0x5d6b6b[_0x298ff0])&&(_0x32d65a=_0x2754d8(_0x32d65a)||_0x32d65a);return _0x32d65a;},ft=(_0x5dfc30,_0x5d131f)=>(_0x2c4c45,_0x1a575a)=>_0x5d131f(_0x2c4c45,_0x1a575a,_0x5dfc30);let st=class extends _0x10cbe0{constructor(_0x19c447,_0x272d91,_0x505af0){var _0x1df0e9=_0x264c89;super(),N(this,_0x1df0e9(0x34e),new Map()),N(this,'_entityInit$',new _0x5c84de()),N(this,_0x1df0e9(0x15c),this[_0x1df0e9(0x2d7)][_0x1df0e9(0x34b)]()),(this['_injector']=_0x19c447,this[_0x1df0e9(0x2cf)]=_0x272d91,this[_0x1df0e9(0x11c)]=_0x505af0,this['_init']());}[_0x264c89(0x1e6)](){var _0x222076=_0x264c89;super[_0x222076(0x1e6)](),this[_0x222076(0x34e)]['forEach'](_0x7c0d3d=>_0x7c0d3d[_0x222076(0x1e6)]()),this[_0x222076(0x34e)][_0x222076(0x1fe)]();}[_0x264c89(0x13b)](_0x27b0d2){var _0x2dd5da=_0x264c89,_0x15c700;return(_0x15c700=this['_entities'][_0x2dd5da(0xff)](_0x27b0d2))!=null?_0x15c700:null;}[_0x264c89(0x1f7)](_0x143be4){var _0xfb2891=_0x264c89;const _0x17dddf=this[_0xfb2891(0x13b)](_0x143be4);return _0x17dddf?_0x20aea1(_0x17dddf):this[_0xfb2891(0x2d7)][_0xfb2891(0x36c)](_0x34859f(_0xa5d5dd=>_0xa5d5dd[_0xfb2891(0x12d)]===_0x143be4));}[_0x264c89(0x1cd)](_0x326e5e){return _0x54baed(this['getCollabEntity$'](_0x326e5e)['pipe'](_0x391a76(()=>{})));}['_init'](){var _0x1a5f6c=_0x264c89;this[_0x1a5f6c(0x11c)][_0x1a5f6c(0x2cc)](_0x336ae9[_0x1a5f6c(0x1e7)])[_0x1a5f6c(0x36c)](_0x45ff01(this['dispose$']),_0x15716c(0x10))['subscribe'](async _0x3ef38d=>{var _0x3e2c2f=_0x1a5f6c;const _0x57d000=_0x3ef38d['getUnitId'](),_0x5074d4=await this[_0x3e2c2f(0xef)](_0x57d000,Q[_0x3e2c2f(0x1e7)]);this[_0x3e2c2f(0x34e)][_0x3e2c2f(0x2ba)](_0x57d000,_0x5074d4);}),this[_0x1a5f6c(0x11c)][_0x1a5f6c(0x2cc)](_0x336ae9[_0x1a5f6c(0x314)])[_0x1a5f6c(0x36c)](_0x45ff01(this[_0x1a5f6c(0xea)]),_0x15716c(0x10))['pipe'](_0x34859f(_0x14ffdb=>!_0x14ffdb['getUnitId']()[_0x1a5f6c(0x171)]('__')))[_0x1a5f6c(0x126)](async _0x5c3e75=>{var _0x50ba7b=_0x1a5f6c;const _0x3a1e02=_0x5c3e75[_0x50ba7b(0x329)](),_0x43fbe1=await this[_0x50ba7b(0xef)](_0x3a1e02,Q['UNIVER_DOC']);this[_0x50ba7b(0x34e)][_0x50ba7b(0x2ba)](_0x3a1e02,_0x43fbe1);}),_0x288d28(this[_0x1a5f6c(0x11c)][_0x1a5f6c(0x17d)](_0x336ae9[_0x1a5f6c(0x1e7)]),this[_0x1a5f6c(0x11c)]['getTypeOfUnitDisposed$'](_0x336ae9[_0x1a5f6c(0x314)]))['pipe'](_0x45ff01(this[_0x1a5f6c(0xea)]))[_0x1a5f6c(0x126)](_0x50a77f=>{var _0x3dbcc2=_0x1a5f6c;const _0x278fe6=_0x50a77f[_0x3dbcc2(0x329)](),_0x57c163=this[_0x3dbcc2(0x34e)][_0x3dbcc2(0xff)](_0x278fe6);_0x57c163&&(_0x57c163[_0x3dbcc2(0x1e6)](),this[_0x3dbcc2(0x34e)][_0x3dbcc2(0xcd)](_0x278fe6));});}async['_startCollaboration'](_0x5adf83,_0x2f2a67){var _0x31d2a4=_0x264c89;const _0x5b2e62=await this['_collabSessionService']['requireSession'](_0x5adf83),_0x4b1d54=this[_0x31d2a4(0x154)][_0x31d2a4(0x379)](this[_0x31d2a4(0x164)](_0x2f2a67),_0x5adf83,_0x2f2a67,_0x5b2e62);return await _0x4b1d54[_0x31d2a4(0x101)](),this[_0x31d2a4(0x2d7)][_0x31d2a4(0x12f)](_0x4b1d54),_0x4b1d54;}['_getCtorByUniverType'](_0x8d10fc){var _0x3166b1=_0x264c89;switch(_0x8d10fc){case Q[_0x3166b1(0x314)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x8d10fc);}}};st=cs([ft(0x0,_0x4a5888(_0x2d1333)),ft(0x1,_0x4a5888(xe)),ft(0x2,_0x24d354)],st);var hs=Object[_0x264c89(0x2a4)],_s=(_0xc7e5ec,_0x3bfc7b,_0x3579a7,_0x397893)=>{for(var _0x4aaced=_0x397893>0x1?void 0x0:_0x397893?hs(_0x3bfc7b,_0x3579a7):_0x3bfc7b,_0x5719b5=_0xc7e5ec['length']-0x1,_0x201b71;_0x5719b5>=0x0;_0x5719b5--)(_0x201b71=_0xc7e5ec[_0x5719b5])&&(_0x4aaced=_0x201b71(_0x4aaced)||_0x4aaced);return _0x4aaced;},zt=(_0x201057,_0x30115f)=>(_0x1e872c,_0x59895a)=>_0x30115f(_0x1e872c,_0x59895a,_0x201057);const ls=_0x264c89(0x1e9),us=_0x264c89(0x1d4);let Ct=class extends _0x5975e5{constructor(_0x2d0dd2,_0x3733ca){var _0x54646e=_0x264c89;super(),this['_univerInstanceService']=_0x2d0dd2,this['_configService']=_0x3733ca,this[_0x54646e(0x1f0)]();}['_init'](){var _0x5a2735=_0x264c89;this[_0x5a2735(0xac)](this[_0x5a2735(0x11c)][_0x5a2735(0x1ff)][_0x5a2735(0x126)](()=>{var _0x2c1544=_0x5a2735,_0x2429e1;const _0x534a72=this[_0x2c1544(0x11c)][_0x2c1544(0x258)]();let _0x10ef70=(_0x2429e1=this[_0x2c1544(0x24e)][_0x2c1544(0x343)](ls))!=null?_0x2429e1:us;_0x534a72 instanceof _0x124cc0&&(_0x10ef70=_0x534a72['name']),document[_0x2c1544(0x325)]=_0x10ef70;}));}};Ct=_s([zt(0x0,_0x24d354),zt(0x1,_0x309343)],Ct);var ds=Object[_0x264c89(0x2a4)],fs=(_0x5d0c66,_0x457a13,_0x505d6b,_0x5d3dc9)=>{var _0x5b59f3=_0x264c89;for(var _0x17619a=_0x5d3dc9>0x1?void 0x0:_0x5d3dc9?ds(_0x457a13,_0x505d6b):_0x457a13,_0x2390f3=_0x5d0c66[_0x5b59f3(0x20a)]-0x1,_0x1f0fea;_0x2390f3>=0x0;_0x2390f3--)(_0x1f0fea=_0x5d0c66[_0x2390f3])&&(_0x17619a=_0x1f0fea(_0x17619a)||_0x17619a);return _0x17619a;},vt=(_0x9ceec6,_0xd85ee8)=>(_0x2f9dd0,_0x15ad2e)=>_0xd85ee8(_0x2f9dd0,_0x15ad2e,_0x9ceec6);function _0x2391(){var _0x53d1af=['SUCCUSS','url','onLocalMutation','newCsEvent','result','pending','_collaborationSessionService','title','_joinRoom','{fileID}','_socketReady','getUnitId','LEAVE','CONNECTOR_DATA_TOO_LARGE','3653UdZiCx','_sendHeartbeat','entries','Could\x20not\x20dynamically\x20require\x20\x22','getTime','call','TOO_MANY_REQUESTS','_resendTimeout','_onJoinRoomEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_createInitialStateImpl','copyFileMeta','426724eWxTAw','loadSheet','_sessionStatus$','onRemoteAck','Cipher','getCurrentUser','unit-cache-','PERMISSION_DENIED','saveImage','has','FAIL','getConfig','_getUndoStack','_config','INVALID_ARGUMENT','_getLoginPath','UNRECOGNIZED','_pendingMutations','enableAuthServer','asObservable','concat','sigBytes','_entities','getSheetId','_DEC_XFORM_MODE','lib','x-univer-host','localeService','LOCAL_CACHE_INTERVAL','WordArray','getDeserializedSheetBlock','CHANGESET_ACK','fetchThroughInterceptors','_listenToNetworkCondition','_append','equals','AES','_createSocket','_invKeySchedule','_collaborationUIEventService','hasher','emitEvent','onMissedChangesetFetched','_initUnitPermissionChange','appendMutation','pauseCollaboration','_hasher','reqId','_doReset','prototype','_clearCollaborationTimeoutTimer','SHOULD_CLOSE_CONN','pipe','padding','permissionRejEvent','executeCommand','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','crypto','_exhaustRemoteChangesetQueue','_map','allowed','_sender','sendChangesetTimeout','FileId','_onLocalMutation','createInstance','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','location','loadUnit','LIVESHARE_NEW_HOST','objectID','__creator','_clearRedo','find','_clearTimeoutTimer','range','string','COLLAB_SUBMIT_CHANGESET_URL','INGEST','SOCKET_FAILED_RETRY','infoRsp','PY_RUNTIME_SCRIPT_ERROR','_rescheduleHeartbeat','updateOfflineData','objectType','_eventService','kdf','unpad','UPDATE_PERMISSION_OBJ','liveShareNewHost','getLatestCsReqIdBySid','change$','onRemoteChangeset','rng','COMPLETION_FINISHED','socketService','_cipher','_sendingTimer','offline','_compressMutationService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ERROR_EXCEED_SIZE','resend','_isPermissionRej','NoPadding','_data','_tryEnsureSocket','getCurrentSelections','[SyncedState]:\x20received\x20rejection.','buffer','_waitCount','open$','UNIVER_SLIDE','YUUMI_RATE_OVER_LIMIT','getActiveSheet','NEW_CHANGESETS','joinEvent','SHA1','_getRedoStack','setCurrentUser','PERMISSION_REJ','exports','removeMember','_decreaseWaiting','_retryConnectingTimer','reduce','getUnitType','_iv','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onMissingChangesets','action','_handler','[PendingState]:\x20received\x20acknowledgement.','disposeWithMe','getRandomValues','_initRequestHeader','_syncEditingCollabCursor','univer-pro.collaboration-client.network-condition.service','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','10095642XKCBgQ','list','_awaitingChangeset','Base','LOGIN_FAILED','10iHMeIM','INTERNAL_ERROR','UNIVER_PROJECT','&source=','?size=','awaitingChangeset','20SYcZBb','_loadDoc','[PendingState]:\x20unhandled\x20univer\x20type:\x20','override','_onConnectionOpen','closeSession','[CollaborationSessionService]:\x20socket\x20error','complete','_transformStateCache','addImageSourceCache','_logService','json','MD5','MSG_FOR_ERROR','then','updatePermissionObjEvent','delete','authzUrl','&to=','msCrypto','Encryptor','_onMessage','Base64','UNAUTHENTICATED','SNAPSHOT_INVALID_SNAPSHOT','UNDEFINED','_getCurrentRevision','session.room-cnt-exceeds','SYNCED','sessionStatus','putCollaborators','OPTIONAL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setConfig','createDecryptor','values','_onCombEvent','enc','now','_resendWithTimeout','_socketService','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration_new_changeset','_createHmacHelper','listRoles','dispose$','USERS_ENTER','_transitionLocked','JOIN','charCodeAt','_startCollaboration','clone','code','PasswordBasedCipher','resolve','/rev/','APPLY_REJECT','_localeService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearLocalCache','_sessions','MUTATION','_mode','POST','LIVESHARE_REQUEST_HOST','post','get','_resendTimer','init','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','encrypt','send','submit\x20changeset\x20error!','changesets','INVITE_CODE_HAS_BEEN_UES','slice','_onRecvEvent','UNIVER_UNKNOWN','UserProfileImg','_commentUpdate$','collaMsg','close$','UnitEmbedded','target','_getUploadFileURL','transformMutationsWithChangeset','stopTime','requestParams','enableOfflineEditing','EMAIL_HAS_BEEN_BOUND','JOIN_ROOM_PERMISSION_DENIED','MOBILE_HAS_BEEN_BOUND','APPLY_DUPLICATED','NOT_COLLAB','readInt32LE','_univerInstanceService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','indexOf','params','_xformMode','finalize','onSyncEditingCollabCursor','pad','Failed\x20to\x20update\x20permission\x20point','update','subscribe','[FetchMissState]','_getDownloadEndpointURL','userID','LIVESHARE_OPERATION','image/png','_type','unitID','stringify','next','loginUrlKey','HEARTBEAT_TIMEOUT','cmd','type','getValue','LICENSE_MAX_UNITS_EXCEEDED','getMember','CLOSE_ROOM','duration','online$','_disableEditing','getCollabEntity','INVITE_CODE_ALREADY_BOUND','href','uniscriptRunEvent','_sheetTransformSelectionsService','_singleActiveUnitService','CHANGESET_REVISION_CONFILICT','_doCryptBlock','$super','_onRemoteRetry','m2Prime','_checkMissing','OFFLINE','collaboratorID','ciphertext','YUUMI_UNABLE_LOAD_URL','originalMeta','912439MWWDoC','_transformSelections','toLowerCase','toString','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','/universer-api/user/session-ticket','session','BlockCipher','_injector','_prevBlock','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','push','members','HEARTBEAT_INTERVAL','_handlerCallback','_schedule','entityInit$','JOIN_ROOM_NOT_EXISTS','/universer-api/authz','COMMENT_UPDATE','unitInfo$','loadDoc','_clearUndo','fromCharCode','_getCtorByUniverType','joinRsp','collabWebSocketUrl','updateCursorEvent','_reverseMap','RETRY_CONNECTING_MAX_COUNT','textRanges','USERS_LEAVE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','method','save\x20fail\x20reason\x20is\x20','Decryptor','_initMergeInterceptor','startsWith','[CollaborationSessionService]','_replaceFileID','/universer-api/snapshot','_clearScheduledTask','status$','_sendHeartbeatTimer','image/jpeg','JOIN_ROOM_FULL','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','createSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','getTypeOfUnitDisposed$','_substituteRedoStack','onTransformRemoteChangesetByStateCache','_onRemoteChangeset','_emitMembers','LICENSE_IMPORT_SIZE_EXCEEDED','_startTelemetryCollaborationNewChangeset','decrypt','image/bmp','HmacMD5','substr','onTransformSelections','onSendChangeset','symbol','reject','_imageSourceCache','hostname','_doCreateSocket','_nDataBytes','onRemoteRetry','80808hkAmwU','INVITE_CODE_REQUIRED','getUnit','roomInfos','updateCollaborator','mixIn','HEARTBEAT','_shouldReportTelemetry','revision','_loadSheet','_hash','AWAITING','_snapshotService','_createHandler','PENDING','deepClone','key','PERSON','image/gif','HttpImport','sid','_iKey','_localCacheService','fromCollab','fetch_missing','123264ZAmiuF','_remoteChangesetQueue','awaiting_with_pending','transformSelections','StreamCipher','_snapshotServerService','_incrementRevisionNumber','waitForRoom$','/block/','from','_retryCount','status','_removeRoom','algo','conflict','socket$','UNKNOWN_CODE','sheets','UNISCRIPT_RUN','unsubscribe','HELLO','HmacSHA1','getSnapshotAPIPath','refreshPermission','Latin1','JOINING','_unitID','EvpKDF','add','registerHTTPInterceptor','memberID','Error\x20on\x20receiving\x20event','parse','INVALID_INVITE_CODE','_transformRemoteChangesetByStateCache','readyForCollab','leaveEvent','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/uniscript','words','socket\x20close','batchAllowed','Univer','selections','922915tQzBWT','_clearRetryConnectingTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','confirm','includes','interceptor','Undefined','ONLINE','Pkcs7','_transformUndoredo','connection\x20error','objectActions','[OfflineState]:\x20received\x20rejection.','_stopTelemetryCollaborationNewChangeset','30XRuWLv','/universer-api/comb','dispose','UNIVER_SHEET','updateMember','DEFAULT_FILE_NAME','unitId','80CfxhHv','_tryReconnect','headers','session.join-failed','byteOffset','_init','message$','CHANGESET_SHOULD_RETRY','error','GLOBAL_ROOMS_CNT_EXCEEDS','COMPRESS_MUTATION_SEND','decryptBlock','getCollabEntity$','getResourcesRequest','state','__Key__','_onRemoteACK','reset','/new_changes','clear','focused$','[SyncedState]:\x20received\x20acknowledgement.','_instanceService','_HTTPService','session.room-full','loadOfflineData','HttpExport','unknown','_revisionService','_registerDependencies','_updateLocalCache','length','cfg','_unlockTransition','_applyRemoteChangeset','APPLY_NON_SEQUENTIAL_REVISION','downloadEndpointUrl','UPDATE_CURSOR','mode','c1Prime','_createInitialState','avatar','formatter','_updateState','_createHelper','incrementRevOfUnit','CHANGESET_REJ','_showConflictNotification','getSheetBlock','unitId\x20is\x20not\x20found','blockSize','_socket','/-/object/list','getRoom','APPLY_REVISION_CONFILICT','iterations','_candidateSocket','encode','_clearHeartbeatTimer','_transformRemoteChangesetByIMECache','[PendingState]:\x20received\x20rejection.','_scheduleCompleteTimestamp','state$','socket\x20open.','_scheduleCollaborationTimeoutTimer','SerializableCipher','WECHAT_HAS_BEEN_BOUND','_doFinalize','getUnitOnRev','fetchMiss','_onUserLeave','_memberService','_timeoutTimer','snapshot','APPLY_PERMISSION_DENIED','\x20in\x20_schedule.','CONFLICT','/unit/','ALREADY_EXISTS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[CollaborationUndoRedoService]','function','_undoStacks','compose','_commandService','getMemberID','routeKey','reverse','_process','salt','session.room-not-exists','findIndex','eventID','_status$','[UniverCollaborationClientPlugin]','onTransformIME','collaborators','_httpService','min','_configService','toggleOffline','_transformStack','listCollaborators','JOIN_ROOM_FAILED','getInterceptPoints','Malformed\x20UTF-8\x20data','_onConnectionFailed','file','_changesetSessionId','getFocusedUnit','SUBMIT_CHANGESET','_initDependencies','IDLE','_getAPIPrefixPath','LIVESHARE_FETCH_OPERATIONS','UUID','univer-pro.collaboration-client-socket-service','SNAPSHOT_URL_KEY','_event$','OTHER_CLIENT_EDITING','_fetchMissChangesets','actions','/universer-api/snapshot/','_throwTelemetryCollaborationNewChangeset','generateRandomId','SNAPSHOT_SERVER_URL_KEY','People','collabSubmitChangesetUrl','commentUpdate$','body','reconnect','/resources','_executeRemoteChangeset','clamp','_roomMembers','isPermissionRej','collaboration-client.config','workbook','localCacheService','default','sin','hasOwnProperty','byteLength','_changesetReqId','catch','setWaitCount','_telemetryService','SNAPSHOT_HAS_BEEN_REMOVED','_oKey','toggleOnline','close','encodeURIComponent','_redoStacks','_collaborationPaused','ENSURE_SNAPSHOT_EXECUTION','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','OpenSSL','LIVESHARE_TERMINATE','randomUUID','_acknowledgedAwaitingChangeset','onRemoteRej','requireSession','c2Prime','_lockTransition','mutations','64RtQBiA','_getSendChangesetTimeout','BufferedBlockAlgorithm','event$','execute','format','UnitSnapshot','_change$','awaiting','_userManagerService','encryptBlock','join','_unitInfo$','csRejEvent','_submitChangeset','collaboration-client.local-cache-service','baseRev','subject','ivSize','_keySchedule','getOwnPropertyDescriptor','members$','subUnitId','_minBufferSize','USER_NOT_INVITED_CODE','error$','setShowComponents','onStarting','append','abs','bind','put','defineProperty','splice','Hasher','FETCH_MISS','COLLAB_WEB_SOCKET_URL','PSEUDO_FETCH_MISSING_RESULT','createCollaborator','[CollaborationState]:\x20apply\x20error!','\x0aAfter:\x20','_telemetryInfo','set','/object','_onRemoteRejected','debug','_collaborationTimeoutTimer','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','ERROR_IMAGE','floor','randomBytes','_state','AUTHZ_URL_KEY','random','_getAPIPrefix','\x20-\x20','_doProcessBlock','COMPRESS_MUTATION_APPLY','getImage','_onFetchMissResult','getTypeOfUnitAdded$','_waitForHeartbeatResponse','_members','_collabSessionService','fetchMissingChangesets','data','updatePermissionPoint','getCurrentRevOfUnit','_commentService','patch','NOT_FOUND','_entityInit$','startTime','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUBMIT_CHANGESET_TIMEOUT','_nRounds','transformUndoRedo','editingUnit','Utf8','30747UYTEBF','LOGIN_URL_KEY','max','_state$','_ENC_XFORM_MODE','BASE64','RECV','apply','roles','OTHER_CLIENTS_EDITING','src','keySize','univer-pro.collaboration-client.single-active-unit-service','getAllMembers','_key','initWorkbookPermissionChange','YUUMI_URL_COL_OUT_OF_RANGE','charAt','NO_OTHER_CLIENTS_EDITING','ceil','[CollaborationSession]','/collaborator','_onUserJoin','YUUMI_NO_CUBOID_FOR_QUESTION','_toggleOnline','forEach','[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.','extend','create','map','size','every','[DataLoaderService]','_onConflict','_socket$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformService','getWorkbookSelections','onTransformRemoteChangesetByIMECache','onTransformState','SOCKET_FAILED','image/jpg','_queuedRemoteChangesets','resourceIDs','rev','_updateStatus','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_permissionService','Hex','capture','/allowed','SEND_CHANGESET_TIMEOUT','_toggleOffline','UNIVER_DOC','createEncryptor','_roomCreated$','_networkConditionService','_members$','csAckEvent','transformChangesets','_socketMessageSubscription','/object/','_onOffline'];_0x2391=function(){return _0x53d1af;};return _0x2391();}let rt=class{constructor(_0x7f791c,_0x100773,_0x27e6e0){var _0x40b161=_0x264c89;this[_0x40b161(0x24e)]=_0x7f791c,this[_0x40b161(0x24c)]=_0x100773,this[_0x40b161(0x353)]=_0x27e6e0,this['init']();}['init'](){var _0x2fa49d=_0x264c89;this[_0x2fa49d(0x24c)][_0x2fa49d(0x1c7)]({'priority':0x1,'interceptor':(_0x1fcc12,_0x5d07c4)=>_0x5d07c4(_0x1fcc12)['pipe'](_0x4a83e6(async _0x2367ea=>{var _0x1f1e7a=_0x2fa49d;const _0x34f53f=_0x2367ea;if(_0x34f53f['status']===0x191){if(typeof window>'u')throw new Error(_0x1f1e7a(0x3b8));if(window[_0x1f1e7a(0x1d9)](this[_0x1f1e7a(0x353)]['t']('auth.needGotoLoginAlert'))){const _0x5da88e=window[_0x1f1e7a(0x282)](window[_0x1f1e7a(0x37b)][_0x1f1e7a(0x13d)]);window[_0x1f1e7a(0x37b)][_0x1f1e7a(0x13d)]=this[_0x1f1e7a(0x347)]()+'?url='+_0x5da88e;}}return _0x34f53f;}))});}[_0x264c89(0x347)](){var _0x4d5df7=_0x264c89,_0x5da64d,_0x35b7ee;const _0x2c7a5c=this['_configService'][_0x4d5df7(0x343)](Un),_0x505935=this[_0x4d5df7(0x24e)][_0x4d5df7(0x343)](q);return(_0x35b7ee=(_0x5da64d=_0x505935==null?void 0x0:_0x505935[_0x4d5df7(0x130)])!=null?_0x5da64d:_0x2c7a5c)!=null?_0x35b7ee:An;}};rt=fs([vt(0x0,_0x309343),vt(0x1,_0x4a5888(_0x4207d7)),vt(0x2,_0x4a5888(_0x567ba8))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x48b4c0,_0x5b0b3b,_0xd4cf2d,_0x50f3b5)=>{var _0x11e8ac=_0x264c89;for(var _0x159f74=_0x50f3b5>0x1?void 0x0:_0x50f3b5?vs(_0x5b0b3b,_0xd4cf2d):_0x5b0b3b,_0x31ee50=_0x48b4c0[_0x11e8ac(0x20a)]-0x1,_0x11704d;_0x31ee50>=0x0;_0x31ee50--)(_0x11704d=_0x48b4c0[_0x31ee50])&&(_0x159f74=_0x11704d(_0x159f74)||_0x159f74);return _0x159f74;},Jt=(_0x22793e,_0x3ed2c2)=>(_0x5536cb,_0x794da8)=>_0x3ed2c2(_0x5536cb,_0x794da8,_0x22793e);const Ni=_0x264c89(0x2c4),ms=_0x264c89(0x15e);let Rt=class extends _0x5975e5{constructor(_0x4dc7ed,_0x4ef14c){var _0x21f42b=_0x264c89;super(),this[_0x21f42b(0x202)]=_0x4dc7ed,this[_0x21f42b(0x24e)]=_0x4ef14c,this['_initMergeInterceptor']();}[_0x264c89(0x170)](){var _0x1e57c7=_0x264c89;const _0x327548=this;this[_0x1e57c7(0xac)](this['_HTTPService'][_0x1e57c7(0x1c7)]({'priority':0x3e7,'interceptor':_0x58b4c8({'isMatch'(_0x5cfe05){var _0x1af56d=_0x1e57c7,_0x3937a0;if(_0x5cfe05[_0x1af56d(0x16d)]===_0x1af56d(0xfc)&&((_0x3937a0=_0x5cfe05['requestParams'])!=null&&_0x3937a0['body'])){const {objectID:_0x33131e,objectType:_0x4b76db}=_0x5cfe05[_0x1af56d(0x114)][_0x1af56d(0x26c)]||{};if(!_0x33131e||_0x4b76db===void 0x0)return!0x1;const _0x217efd=_0x327548[_0x1af56d(0x25c)]()+'/'+_0x4b76db+_0x1af56d(0x31c)+_0x33131e+_0x1af56d(0x311);if(_0x5cfe05[_0x1af56d(0x31f)]===_0x217efd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3dd8fa){var _0x2dd1ae=_0x1e57c7,_0x51c0cc;return(_0x51c0cc=_0x3dd8fa[_0x2dd1ae(0x114)])==null?void 0x0:_0x51c0cc[_0x2dd1ae(0x26c)];},'mergeParamsToRequest'(_0xb7d984,_0x4523b7){var _0x400b1f=_0x1e57c7;const _0x381007=_0x327548[_0x400b1f(0x25c)]()+'/-/object/-/batch_allowed',_0x31e643=_0xb7d984[_0x400b1f(0x3b5)]((_0x5a625b,_0x11e2e0)=>{var _0x302fb7=_0x400b1f;const {unitID:_0x3307f7,objectID:_0x1e5abd,objectType:_0x580125,actions:_0x5c592c}=_0x11e2e0;return _0x5a625b[_0x3307f7]||(_0x5a625b[_0x3307f7]={}),_0x5a625b[_0x3307f7][_0x1e5abd]||(_0x5a625b[_0x3307f7][_0x1e5abd]={'objectID':_0x1e5abd,'objectType':_0x580125,'actions':[]}),_0x5a625b[_0x3307f7][_0x1e5abd][_0x302fb7(0x264)][_0x302fb7(0x157)](..._0x5c592c),_0x5a625b;},{}),_0xfe7598=[];for(const _0x282a92 in _0x31e643)for(const _0x54911d in _0x31e643[_0x282a92]){const {actions:_0x22deca,objectType:_0x385ab5}=_0x31e643[_0x282a92][_0x54911d],_0x39f621=[...new Set(_0x22deca)];_0xfe7598['push']({'unitID':_0x282a92,'objectID':_0x54911d,'objectType':_0x385ab5,'actions':_0x39f621});}return new _0x43d84c(_0x400b1f(0xfc),_0x381007,{'headers':_0x4523b7[_0x400b1f(0x1ed)],'withCredentials':_0x4523b7['withCredentials'],'responseType':_0x4523b7['responseType'],'body':{'requests':_0xfe7598}});}},{'distributeResult'(_0x1fce24,_0x51bfe1){var _0x1b9b84=_0x1e57c7;const {objectActions:_0x56f251}=_0x1fce24;return _0x51bfe1[_0x1b9b84(0x2fc)](_0x106b2b=>{var _0x3bc952=_0x1b9b84;const {unitID:_0x2c7459,objectID:_0x5bb897,actions:_0x212c1f}=_0x106b2b,_0xd9402e=_0x56f251[_0x3bc952(0x381)](_0x27d895=>_0x27d895[_0x3bc952(0x12d)]===_0x2c7459&&_0x27d895[_0x3bc952(0x37e)]===_0x5bb897),_0x17e03b=_0x212c1f[_0x3bc952(0x2fc)](_0x478dd6=>_0xd9402e==null?void 0x0:_0xd9402e[_0x3bc952(0x264)]['find'](_0x33d456=>_0x33d456[_0x3bc952(0xa9)]===_0x478dd6))['filter'](_0x3235f0=>!!_0x3235f0);return{'config':_0x106b2b,'result':{'actions':_0x17e03b,'error':_0x1fce24[_0x3bc952(0x1f3)]}};});}})}));}[_0x264c89(0x25c)](){var _0x2b2653=_0x264c89,_0x5b6502,_0x559156;const _0x167f43=this[_0x2b2653(0x24e)][_0x2b2653(0x343)](Ni),_0x225243=this['_configService'][_0x2b2653(0x343)](q);return(_0x559156=(_0x5b6502=_0x225243==null?void 0x0:_0x225243['authzUrl'])!=null?_0x5b6502:_0x167f43)!=null?_0x559156:ms;}async[_0x264c89(0x2fb)](_0xca7e9b){var _0x230039=_0x264c89;const _0x1fde60=this[_0x230039(0x25c)]()+'/'+_0xca7e9b[_0x230039(0x38c)]+_0x230039(0x2bb);return(await this['_HTTPService']['post'](_0x1fde60,{'body':_0xca7e9b}))['body']['objectID']||'';}async[_0x264c89(0xb3)](_0x454468){var _0x3e5cda=_0x264c89;const _0x74886=this[_0x3e5cda(0x25c)]()+_0x3e5cda(0x21f);return(await this['_HTTPService'][_0x3e5cda(0xfe)](_0x74886,{'body':_0x454468}))['body']['objects'];}async[_0x264c89(0x125)](_0x20b973){var _0x13bb47=_0x264c89,_0x20519f,_0x3e9eb2;const _0x1f0896=this['_getAPIPrefixPath']()+'/'+_0x20b973['objectType']+_0x13bb47(0x31c)+_0x20b973[_0x13bb47(0x37e)],_0x261e2c=await this['_HTTPService'][_0x13bb47(0x2af)](_0x1f0896,{'body':_0x20b973});if(((_0x3e9eb2=(_0x20519f=_0x261e2c==null?void 0x0:_0x261e2c[_0x13bb47(0x26c)])==null?void 0x0:_0x20519f[_0x13bb47(0x1f3)])==null?void 0x0:_0x3e9eb2['code'])!==0x1)throw new Error(_0x13bb47(0x124));}async[_0x264c89(0x374)](_0x869067){var _0x28414d=_0x264c89;const _0x10ade1=this['_getAPIPrefixPath']()+'/'+_0x869067['objectType']+_0x28414d(0x31c)+_0x869067[_0x28414d(0x37e)]+_0x28414d(0x311);return(await this[_0x28414d(0x202)][_0x28414d(0xfe)](_0x10ade1,{'body':_0x869067}))[_0x28414d(0x26c)][_0x28414d(0x264)];}async[_0x264c89(0x1d3)](_0xc65e87){var _0x3d4d28=_0x264c89;const _0x1bbdf1=this[_0x3d4d28(0x25c)]()+'/-/object/-/batch_allowed';return(await this[_0x3d4d28(0x202)][_0x3d4d28(0xfe)](_0x1bbdf1,{'body':{'requests':_0xc65e87}}))[_0x3d4d28(0x26c)][_0x3d4d28(0x1e1)];}async[_0x264c89(0xe9)](_0x4af2a7){var _0x281cd5=_0x264c89;const _0x1c6428=this['_getAPIPrefixPath']()+'/'+_0x4af2a7[_0x281cd5(0x38c)]+'/role',_0xbff4e8=await this[_0x281cd5(0x202)][_0x281cd5(0xfe)](_0x1c6428,{'body':_0x4af2a7});return{'roles':_0xbff4e8[_0x281cd5(0x26c)][_0x281cd5(0x2e7)],'actions':_0xbff4e8['body']['actions']};}async['deleteCollaborator'](_0x513915){var _0x5799af=_0x264c89;const _0x7c2740=this[_0x5799af(0x25c)]()+_0x5799af(0x2f4);await this[_0x5799af(0x202)][_0x5799af(0xcd)](_0x7c2740,{'params':{'collaboratorID':_0x513915[_0x5799af(0x148)],'objectID':_0x513915[_0x5799af(0x37e)],'unitID':_0x513915[_0x5799af(0x12d)]}});}async[_0x264c89(0x195)](_0x1be856){var _0x13bc42=_0x264c89;const _0x2fbe9b=this[_0x13bc42(0x25c)]()+'/collaborator';await this[_0x13bc42(0x202)][_0x13bc42(0x2d5)](_0x2fbe9b,{'body':_0x1be856});}async[_0x264c89(0x2b6)](_0x143259){var _0x247d65=_0x264c89;const _0x501a1=this[_0x247d65(0x25c)]()+_0x247d65(0x2f4);await this['_HTTPService'][_0x247d65(0xfe)](_0x501a1,{'body':_0x143259});}async[_0x264c89(0x251)](_0x1a4add){var _0x57f1c9=_0x264c89;const _0x35a143=this[_0x57f1c9(0x25c)]()+_0x57f1c9(0x2f4);return(await this[_0x57f1c9(0x202)][_0x57f1c9(0xff)](_0x35a143,{'params':{'objectID':_0x1a4add['objectID'],'unitID':_0x1a4add[_0x57f1c9(0x12d)]}}))[_0x57f1c9(0x26c)]['collaborators'];}async[_0x264c89(0xdb)](_0x45cdba){var _0x186ed5=_0x264c89;const _0x2f9d37=this['_getAPIPrefixPath']()+_0x186ed5(0x2f4);await this['_HTTPService'][_0x186ed5(0x2af)](_0x2f9d37,{'body':_0x45cdba});}};Rt=ps([Jt(0x0,_0x4a5888(_0x4207d7)),Jt(0x1,_0x4a5888(_0x309343))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x460353){var _0x233d70=_0x264c89;return _0x460353&&_0x460353['__esModule']&&Object[_0x233d70(0x369)]['hasOwnProperty'][_0x233d70(0x331)](_0x460353,_0x233d70(0x276))?_0x460353['default']:_0x460353;}var Ve={'exports':{}};function gs(_0x414b6f){var _0x4e1afb=_0x264c89;throw new Error(_0x4e1afb(0x32f)+_0x414b6f+_0x4e1afb(0x102));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x7272fe=_0x264c89;return Xt||(Xt=0x1,function(_0x152d40,_0x114ad4){(function(_0x181504,_0x5e45b7){var _0x1e3bfa=_0x400c;_0x152d40[_0x1e3bfa(0x3b1)]=_0x5e45b7();}(Ss,function(){var _0x1df86a=_0x1df86a||function(_0x305861,_0x1c91a8){var _0x19561c=_0x400c,_0x2fab02;if(typeof window<'u'&&window[_0x19561c(0x371)]&&(_0x2fab02=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x2fab02=self[_0x19561c(0x371)]),typeof globalThis<'u'&&globalThis[_0x19561c(0x371)]&&(_0x2fab02=globalThis[_0x19561c(0x371)]),!_0x2fab02&&typeof window<'u'&&window[_0x19561c(0xd0)]&&(_0x2fab02=window['msCrypto']),!_0x2fab02&&typeof pt<'u'&&pt[_0x19561c(0x371)]&&(_0x2fab02=pt[_0x19561c(0x371)]),!_0x2fab02&&typeof gs==_0x19561c(0x23c))try{_0x2fab02=require(_0x19561c(0x371));}catch{}var _0x421641=function(){var _0x2aa901=_0x19561c;if(_0x2fab02){if(typeof _0x2fab02[_0x2aa901(0xad)]==_0x2aa901(0x23c))try{return _0x2fab02[_0x2aa901(0xad)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2fab02[_0x2aa901(0x2c2)]==_0x2aa901(0x23c))try{return _0x2fab02[_0x2aa901(0x2c2)](0x4)[_0x2aa901(0x11b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x58bae0=Object[_0x19561c(0x2fb)]||(function(){function _0x5a2d91(){}return function(_0x41ebc0){var _0xae86e1=_0x400c,_0x58a5fd;return _0x5a2d91['prototype']=_0x41ebc0,_0x58a5fd=new _0x5a2d91(),_0x5a2d91[_0xae86e1(0x369)]=null,_0x58a5fd;};}()),_0xe38201={},_0x2daf73=_0xe38201[_0x19561c(0x351)]={},_0xf923ef=_0x2daf73[_0x19561c(0xb5)]=(function(){return{'extend':function(_0x5cbcb8){var _0x4462c6=_0x400c,_0x3fe9c4=_0x58bae0(this);return _0x5cbcb8&&_0x3fe9c4['mixIn'](_0x5cbcb8),(!_0x3fe9c4[_0x4462c6(0x278)]('init')||this['init']===_0x3fe9c4[_0x4462c6(0x101)])&&(_0x3fe9c4['init']=function(){var _0x519259=_0x4462c6;_0x3fe9c4['$super'][_0x519259(0x101)]['apply'](this,arguments);}),_0x3fe9c4['init'][_0x4462c6(0x369)]=_0x3fe9c4,_0x3fe9c4[_0x4462c6(0x143)]=this,_0x3fe9c4;},'create':function(){var _0x127aca=_0x400c,_0x4ddb77=this['extend']();return _0x4ddb77[_0x127aca(0x101)]['apply'](_0x4ddb77,arguments),_0x4ddb77;},'init':function(){},'mixIn':function(_0x35815a){var _0x237ead=_0x400c;for(var _0x227ef1 in _0x35815a)_0x35815a[_0x237ead(0x278)](_0x227ef1)&&(this[_0x227ef1]=_0x35815a[_0x227ef1]);_0x35815a[_0x237ead(0x278)](_0x237ead(0x14f))&&(this['toString']=_0x35815a['toString']);},'clone':function(){var _0x13da3e=_0x400c;return this[_0x13da3e(0x101)][_0x13da3e(0x369)][_0x13da3e(0x2fa)](this);}};}()),_0x584158=_0x2daf73[_0x19561c(0x355)]=_0xf923ef[_0x19561c(0x2fa)]({'init':function(_0x57f883,_0x3cfa97){var _0x3a9edb=_0x19561c;_0x57f883=this['words']=_0x57f883||[],_0x3cfa97!=_0x1c91a8?this[_0x3a9edb(0x34d)]=_0x3cfa97:this[_0x3a9edb(0x34d)]=_0x57f883['length']*0x4;},'toString':function(_0xad982b){var _0x59bcad=_0x19561c;return(_0xad982b||_0x563fe5)[_0x59bcad(0x12e)](this);},'concat':function(_0x1e2648){var _0x5d109c=_0x19561c,_0x5b12dd=this[_0x5d109c(0x1d1)],_0x1ae3fa=_0x1e2648[_0x5d109c(0x1d1)],_0x3153f9=this[_0x5d109c(0x34d)],_0x3da549=_0x1e2648['sigBytes'];if(this[_0x5d109c(0x270)](),_0x3153f9%0x4)for(var _0x5dc5dc=0x0;_0x5dc5dc<_0x3da549;_0x5dc5dc++){var _0x3d0314=_0x1ae3fa[_0x5dc5dc>>>0x2]>>>0x18-_0x5dc5dc%0x4*0x8&0xff;_0x5b12dd[_0x3153f9+_0x5dc5dc>>>0x2]|=_0x3d0314<<0x18-(_0x3153f9+_0x5dc5dc)%0x4*0x8;}else{for(var _0x2bd0ec=0x0;_0x2bd0ec<_0x3da549;_0x2bd0ec+=0x4)_0x5b12dd[_0x3153f9+_0x2bd0ec>>>0x2]=_0x1ae3fa[_0x2bd0ec>>>0x2];}return this[_0x5d109c(0x34d)]+=_0x3da549,this;},'clamp':function(){var _0x550d77=_0x19561c,_0xd6cfb4=this[_0x550d77(0x1d1)],_0x9a44cd=this[_0x550d77(0x34d)];_0xd6cfb4[_0x9a44cd>>>0x2]&=0xffffffff<<0x20-_0x9a44cd%0x4*0x8,_0xd6cfb4[_0x550d77(0x20a)]=_0x305861[_0x550d77(0x2f2)](_0x9a44cd/0x4);},'clone':function(){var _0x276c24=_0x19561c,_0x166afe=_0xf923ef[_0x276c24(0xf0)][_0x276c24(0x331)](this);return _0x166afe[_0x276c24(0x1d1)]=this[_0x276c24(0x1d1)]['slice'](0x0),_0x166afe;},'random':function(_0x594ba5){var _0x532bd9=_0x19561c;for(var _0x5f176f=[],_0xa6750d=0x0;_0xa6750d<_0x594ba5;_0xa6750d+=0x4)_0x5f176f[_0x532bd9(0x157)](_0x421641());return new _0x584158[(_0x532bd9(0x101))](_0x5f176f,_0x594ba5);}}),_0x5f5ca4=_0xe38201[_0x19561c(0xe2)]={},_0x563fe5=_0x5f5ca4[_0x19561c(0x30f)]={'stringify':function(_0x4f50d7){var _0x501028=_0x19561c;for(var _0x5b4ffa=_0x4f50d7[_0x501028(0x1d1)],_0x3ea672=_0x4f50d7[_0x501028(0x34d)],_0x58e5d9=[],_0x1eb0d5=0x0;_0x1eb0d5<_0x3ea672;_0x1eb0d5++){var _0x10fe02=_0x5b4ffa[_0x1eb0d5>>>0x2]>>>0x18-_0x1eb0d5%0x4*0x8&0xff;_0x58e5d9[_0x501028(0x157)]((_0x10fe02>>>0x4)[_0x501028(0x14f)](0x10)),_0x58e5d9['push']((_0x10fe02&0xf)[_0x501028(0x14f)](0x10));}return _0x58e5d9[_0x501028(0x29b)]('');},'parse':function(_0xdf9a5c){var _0x9bebf1=_0x19561c;for(var _0x61907=_0xdf9a5c[_0x9bebf1(0x20a)],_0x445582=[],_0x299ed8=0x0;_0x299ed8<_0x61907;_0x299ed8+=0x2)_0x445582[_0x299ed8>>>0x3]|=parseInt(_0xdf9a5c[_0x9bebf1(0x187)](_0x299ed8,0x2),0x10)<<0x18-_0x299ed8%0x8*0x4;return new _0x584158[(_0x9bebf1(0x101))](_0x445582,_0x61907/0x2);}},_0x19dc80=_0x5f5ca4[_0x19561c(0x1c2)]={'stringify':function(_0x12b0e2){var _0x47d90e=_0x19561c;for(var _0x208a68=_0x12b0e2[_0x47d90e(0x1d1)],_0x1a9a82=_0x12b0e2[_0x47d90e(0x34d)],_0x5dcee8=[],_0x3c10e7=0x0;_0x3c10e7<_0x1a9a82;_0x3c10e7++){var _0x5712b9=_0x208a68[_0x3c10e7>>>0x2]>>>0x18-_0x3c10e7%0x4*0x8&0xff;_0x5dcee8[_0x47d90e(0x157)](String[_0x47d90e(0x163)](_0x5712b9));}return _0x5dcee8[_0x47d90e(0x29b)]('');},'parse':function(_0x4425b6){var _0x318b8a=_0x19561c;for(var _0x46df6c=_0x4425b6['length'],_0x9443b4=[],_0x2c6d0a=0x0;_0x2c6d0a<_0x46df6c;_0x2c6d0a++)_0x9443b4[_0x2c6d0a>>>0x2]|=(_0x4425b6[_0x318b8a(0xee)](_0x2c6d0a)&0xff)<<0x18-_0x2c6d0a%0x4*0x8;return new _0x584158[(_0x318b8a(0x101))](_0x9443b4,_0x46df6c);}},_0x3162c3=_0x5f5ca4[_0x19561c(0x2de)]={'stringify':function(_0x22781d){var _0x46e04f=_0x19561c;try{return decodeURIComponent(escape(_0x19dc80[_0x46e04f(0x12e)](_0x22781d)));}catch{throw new Error(_0x46e04f(0x254));}},'parse':function(_0x288229){var _0x1bb367=_0x19561c;return _0x19dc80[_0x1bb367(0x1ca)](unescape(encodeURIComponent(_0x288229)));}},_0x1c11a2=_0x2daf73[_0x19561c(0x292)]=_0xf923ef['extend']({'reset':function(){var _0x57b7ad=_0x19561c;this[_0x57b7ad(0x3a1)]=new _0x584158[(_0x57b7ad(0x101))](),this[_0x57b7ad(0x18f)]=0x0;},'_append':function(_0x371a97){var _0x44e450=_0x19561c;typeof _0x371a97==_0x44e450(0x384)&&(_0x371a97=_0x3162c3[_0x44e450(0x1ca)](_0x371a97)),this[_0x44e450(0x3a1)][_0x44e450(0x34c)](_0x371a97),this['_nDataBytes']+=_0x371a97['sigBytes'];},'_process':function(_0x435323){var _0x5a55ad=_0x19561c,_0x31f8c0,_0x4fe90c=this[_0x5a55ad(0x3a1)],_0x587e57=_0x4fe90c[_0x5a55ad(0x1d1)],_0x50d898=_0x4fe90c[_0x5a55ad(0x34d)],_0x1d56a4=this[_0x5a55ad(0x21d)],_0x8399e1=_0x1d56a4*0x4,_0x465d22=_0x50d898/_0x8399e1;_0x435323?_0x465d22=_0x305861[_0x5a55ad(0x2f2)](_0x465d22):_0x465d22=_0x305861[_0x5a55ad(0x2e1)]((_0x465d22|0x0)-this[_0x5a55ad(0x2a7)],0x0);var _0x4d6b96=_0x465d22*_0x1d56a4,_0x4c1c78=_0x305861[_0x5a55ad(0x24d)](_0x4d6b96*0x4,_0x50d898);if(_0x4d6b96){for(var _0x21805a=0x0;_0x21805a<_0x4d6b96;_0x21805a+=_0x1d56a4)this[_0x5a55ad(0x2c8)](_0x587e57,_0x21805a);_0x31f8c0=_0x587e57[_0x5a55ad(0x2b1)](0x0,_0x4d6b96),_0x4fe90c[_0x5a55ad(0x34d)]-=_0x4c1c78;}return new _0x584158[(_0x5a55ad(0x101))](_0x31f8c0,_0x4c1c78);},'clone':function(){var _0x350739=_0x19561c,_0x2ad8f6=_0xf923ef[_0x350739(0xf0)][_0x350739(0x331)](this);return _0x2ad8f6['_data']=this[_0x350739(0x3a1)][_0x350739(0xf0)](),_0x2ad8f6;},'_minBufferSize':0x0});_0x2daf73[_0x19561c(0x2b2)]=_0x1c11a2['extend']({'cfg':_0xf923ef[_0x19561c(0x2fa)](),'init':function(_0x2d446a){var _0x4f6d74=_0x19561c;this[_0x4f6d74(0x20b)]=this[_0x4f6d74(0x20b)][_0x4f6d74(0x2fa)](_0x2d446a),this[_0x4f6d74(0x1fc)]();},'reset':function(){var _0x106ced=_0x19561c;_0x1c11a2[_0x106ced(0x1fc)][_0x106ced(0x331)](this),this[_0x106ced(0x368)]();},'update':function(_0xbf4001){var _0xb75c2b=_0x19561c;return this[_0xb75c2b(0x35a)](_0xbf4001),this['_process'](),this;},'finalize':function(_0x2dc27d){var _0x59b23a=_0x19561c;_0x2dc27d&&this['_append'](_0x2dc27d);var _0x527bda=this[_0x59b23a(0x22e)]();return _0x527bda;},'blockSize':0x10,'_createHelper':function(_0x36d726){return function(_0x5bef7a,_0x2fff67){var _0x450de7=_0x400c;return new _0x36d726[(_0x450de7(0x101))](_0x2fff67)['finalize'](_0x5bef7a);};},'_createHmacHelper':function(_0x22f1d2){return function(_0xb3e277,_0x4a2156){var _0x1b85a6=_0x400c;return new _0x3ce057['HMAC'][(_0x1b85a6(0x101))](_0x22f1d2,_0x4a2156)['finalize'](_0xb3e277);};}});var _0x3ce057=_0xe38201[_0x19561c(0x1b7)]={};return _0xe38201;}(Math);return _0x1df86a;}));}(Ge)),Ge[_0x7272fe(0x3b1)];}var We={'exports':{}},Es=We[_0x264c89(0x3b1)],Zt;function Di(){var _0x57f4ea=_0x264c89;return Zt||(Zt=0x1,function(_0x535891,_0x164dcc){(function(_0x35800f,_0x1a7058){var _0x569e19=_0x400c;_0x535891[_0x569e19(0x3b1)]=_0x1a7058(ie());}(Es,function(_0x25d175){var _0x50dd61=_0x400c;return(function(){var _0x28ed00=_0x400c,_0x594cf4=_0x25d175,_0x3b489a=_0x594cf4[_0x28ed00(0x351)],_0x2b4789=_0x3b489a[_0x28ed00(0x355)],_0xd49f81=_0x594cf4[_0x28ed00(0xe2)];_0xd49f81['Base64']={'stringify':function(_0x25fe0c){var _0xfd0ae5=_0x28ed00,_0x58d565=_0x25fe0c[_0xfd0ae5(0x1d1)],_0x115a05=_0x25fe0c[_0xfd0ae5(0x34d)],_0x3d2efa=this[_0xfd0ae5(0x373)];_0x25fe0c['clamp']();for(var _0x2c351e=[],_0x561c9b=0x0;_0x561c9b<_0x115a05;_0x561c9b+=0x3)for(var _0xe42ce9=_0x58d565[_0x561c9b>>>0x2]>>>0x18-_0x561c9b%0x4*0x8&0xff,_0x34ec39=_0x58d565[_0x561c9b+0x1>>>0x2]>>>0x18-(_0x561c9b+0x1)%0x4*0x8&0xff,_0xe6e078=_0x58d565[_0x561c9b+0x2>>>0x2]>>>0x18-(_0x561c9b+0x2)%0x4*0x8&0xff,_0x3a844a=_0xe42ce9<<0x10|_0x34ec39<<0x8|_0xe6e078,_0x5edecb=0x0;_0x5edecb<0x4&&_0x561c9b+_0x5edecb*0.75<_0x115a05;_0x5edecb++)_0x2c351e[_0xfd0ae5(0x157)](_0x3d2efa[_0xfd0ae5(0x2f0)](_0x3a844a>>>0x6*(0x3-_0x5edecb)&0x3f));var _0x23f350=_0x3d2efa[_0xfd0ae5(0x2f0)](0x40);if(_0x23f350){for(;_0x2c351e[_0xfd0ae5(0x20a)]%0x4;)_0x2c351e[_0xfd0ae5(0x157)](_0x23f350);}return _0x2c351e['join']('');},'parse':function(_0xe351f0){var _0x47b5a5=_0x28ed00,_0x107558=_0xe351f0[_0x47b5a5(0x20a)],_0x8dbb6d=this[_0x47b5a5(0x373)],_0x5ef1ac=this[_0x47b5a5(0x168)];if(!_0x5ef1ac){_0x5ef1ac=this[_0x47b5a5(0x168)]=[];for(var _0x2086f9=0x0;_0x2086f9<_0x8dbb6d[_0x47b5a5(0x20a)];_0x2086f9++)_0x5ef1ac[_0x8dbb6d[_0x47b5a5(0xee)](_0x2086f9)]=_0x2086f9;}var _0x287bfe=_0x8dbb6d[_0x47b5a5(0x2f0)](0x40);if(_0x287bfe){var _0x2e270a=_0xe351f0[_0x47b5a5(0x11e)](_0x287bfe);_0x2e270a!==-0x1&&(_0x107558=_0x2e270a);}return _0x1cdeec(_0xe351f0,_0x107558,_0x5ef1ac);},'_map':_0x28ed00(0xf7)};function _0x1cdeec(_0x27f17c,_0x3d3e56,_0x53e28e){var _0x461065=_0x28ed00;for(var _0x574016=[],_0x16e0d4=0x0,_0x102ce2=0x0;_0x102ce2<_0x3d3e56;_0x102ce2++)if(_0x102ce2%0x4){var _0x77061a=_0x53e28e[_0x27f17c[_0x461065(0xee)](_0x102ce2-0x1)]<<_0x102ce2%0x4*0x2,_0xaf668b=_0x53e28e[_0x27f17c['charCodeAt'](_0x102ce2)]>>>0x6-_0x102ce2%0x4*0x2,_0x6664b2=_0x77061a|_0xaf668b;_0x574016[_0x16e0d4>>>0x2]|=_0x6664b2<<0x18-_0x16e0d4%0x4*0x8,_0x16e0d4++;}return _0x2b4789[_0x461065(0x2fb)](_0x574016,_0x16e0d4);}}()),_0x25d175[_0x50dd61(0xe2)][_0x50dd61(0xd3)];}));}(We)),We[_0x57f4ea(0x3b1)];}var Ke={'exports':{}},Is=Ke['exports'],Qt;function Ts(){var _0x17ebeb=_0x264c89;return Qt||(Qt=0x1,function(_0x573353,_0x36ba3f){(function(_0x18685a,_0x265fd){_0x573353['exports']=_0x265fd(ie());}(Is,function(_0x196146){var _0x4fd3ca=_0x400c;return function(_0x576634){var _0x18c0ea=_0x400c,_0x550541=_0x196146,_0x5cdbb9=_0x550541[_0x18c0ea(0x351)],_0x42325c=_0x5cdbb9['WordArray'],_0xcf592f=_0x5cdbb9[_0x18c0ea(0x2b2)],_0x485931=_0x550541[_0x18c0ea(0x1b7)],_0x298892=[];(function(){var _0x1c04f2=_0x18c0ea;for(var _0x27720c=0x0;_0x27720c<0x40;_0x27720c++)_0x298892[_0x27720c]=_0x576634[_0x1c04f2(0x2ad)](_0x576634[_0x1c04f2(0x277)](_0x27720c+0x1))*0x100000000|0x0;}());var _0xe68e61=_0x485931[_0x18c0ea(0xc9)]=_0xcf592f[_0x18c0ea(0x2fa)]({'_doReset':function(){var _0x4e7f04=_0x18c0ea;this['_hash']=new _0x42325c[(_0x4e7f04(0x101))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x903e9d,_0x15d6cb){var _0xefec96=_0x18c0ea;for(var _0x4444d5=0x0;_0x4444d5<0x10;_0x4444d5++){var _0x37a3f1=_0x15d6cb+_0x4444d5,_0x250d4b=_0x903e9d[_0x37a3f1];_0x903e9d[_0x37a3f1]=(_0x250d4b<<0x8|_0x250d4b>>>0x18)&0xff00ff|(_0x250d4b<<0x18|_0x250d4b>>>0x8)&0xff00ff00;}var _0x6c4551=this[_0xefec96(0x19b)]['words'],_0x24c767=_0x903e9d[_0x15d6cb+0x0],_0x14e8f1=_0x903e9d[_0x15d6cb+0x1],_0x1b782c=_0x903e9d[_0x15d6cb+0x2],_0xf2b6ee=_0x903e9d[_0x15d6cb+0x3],_0x4cb039=_0x903e9d[_0x15d6cb+0x4],_0x42885e=_0x903e9d[_0x15d6cb+0x5],_0x1359a9=_0x903e9d[_0x15d6cb+0x6],_0x2049db=_0x903e9d[_0x15d6cb+0x7],_0x19463b=_0x903e9d[_0x15d6cb+0x8],_0x87176e=_0x903e9d[_0x15d6cb+0x9],_0x160b84=_0x903e9d[_0x15d6cb+0xa],_0x5841be=_0x903e9d[_0x15d6cb+0xb],_0xb00db2=_0x903e9d[_0x15d6cb+0xc],_0x2e4c1a=_0x903e9d[_0x15d6cb+0xd],_0x1a584b=_0x903e9d[_0x15d6cb+0xe],_0x52ceec=_0x903e9d[_0x15d6cb+0xf],_0x32d27d=_0x6c4551[0x0],_0x2dbe0b=_0x6c4551[0x1],_0x19a681=_0x6c4551[0x2],_0x2ff993=_0x6c4551[0x3];_0x32d27d=_0x32c19e(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x24c767,0x7,_0x298892[0x0]),_0x2ff993=_0x32c19e(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x14e8f1,0xc,_0x298892[0x1]),_0x19a681=_0x32c19e(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x1b782c,0x11,_0x298892[0x2]),_0x2dbe0b=_0x32c19e(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0xf2b6ee,0x16,_0x298892[0x3]),_0x32d27d=_0x32c19e(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x4cb039,0x7,_0x298892[0x4]),_0x2ff993=_0x32c19e(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x42885e,0xc,_0x298892[0x5]),_0x19a681=_0x32c19e(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x1359a9,0x11,_0x298892[0x6]),_0x2dbe0b=_0x32c19e(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x2049db,0x16,_0x298892[0x7]),_0x32d27d=_0x32c19e(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x19463b,0x7,_0x298892[0x8]),_0x2ff993=_0x32c19e(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x87176e,0xc,_0x298892[0x9]),_0x19a681=_0x32c19e(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x160b84,0x11,_0x298892[0xa]),_0x2dbe0b=_0x32c19e(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x5841be,0x16,_0x298892[0xb]),_0x32d27d=_0x32c19e(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0xb00db2,0x7,_0x298892[0xc]),_0x2ff993=_0x32c19e(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x2e4c1a,0xc,_0x298892[0xd]),_0x19a681=_0x32c19e(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x1a584b,0x11,_0x298892[0xe]),_0x2dbe0b=_0x32c19e(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x52ceec,0x16,_0x298892[0xf]),_0x32d27d=_0x1f604a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x14e8f1,0x5,_0x298892[0x10]),_0x2ff993=_0x1f604a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x1359a9,0x9,_0x298892[0x11]),_0x19a681=_0x1f604a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x5841be,0xe,_0x298892[0x12]),_0x2dbe0b=_0x1f604a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x24c767,0x14,_0x298892[0x13]),_0x32d27d=_0x1f604a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x42885e,0x5,_0x298892[0x14]),_0x2ff993=_0x1f604a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x160b84,0x9,_0x298892[0x15]),_0x19a681=_0x1f604a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x52ceec,0xe,_0x298892[0x16]),_0x2dbe0b=_0x1f604a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x4cb039,0x14,_0x298892[0x17]),_0x32d27d=_0x1f604a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x87176e,0x5,_0x298892[0x18]),_0x2ff993=_0x1f604a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x1a584b,0x9,_0x298892[0x19]),_0x19a681=_0x1f604a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0xf2b6ee,0xe,_0x298892[0x1a]),_0x2dbe0b=_0x1f604a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x19463b,0x14,_0x298892[0x1b]),_0x32d27d=_0x1f604a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x2e4c1a,0x5,_0x298892[0x1c]),_0x2ff993=_0x1f604a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x1b782c,0x9,_0x298892[0x1d]),_0x19a681=_0x1f604a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x2049db,0xe,_0x298892[0x1e]),_0x2dbe0b=_0x1f604a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0xb00db2,0x14,_0x298892[0x1f]),_0x32d27d=_0x1a76f1(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x42885e,0x4,_0x298892[0x20]),_0x2ff993=_0x1a76f1(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x19463b,0xb,_0x298892[0x21]),_0x19a681=_0x1a76f1(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x5841be,0x10,_0x298892[0x22]),_0x2dbe0b=_0x1a76f1(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x1a584b,0x17,_0x298892[0x23]),_0x32d27d=_0x1a76f1(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x14e8f1,0x4,_0x298892[0x24]),_0x2ff993=_0x1a76f1(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x4cb039,0xb,_0x298892[0x25]),_0x19a681=_0x1a76f1(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x2049db,0x10,_0x298892[0x26]),_0x2dbe0b=_0x1a76f1(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x160b84,0x17,_0x298892[0x27]),_0x32d27d=_0x1a76f1(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x2e4c1a,0x4,_0x298892[0x28]),_0x2ff993=_0x1a76f1(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x24c767,0xb,_0x298892[0x29]),_0x19a681=_0x1a76f1(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0xf2b6ee,0x10,_0x298892[0x2a]),_0x2dbe0b=_0x1a76f1(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x1359a9,0x17,_0x298892[0x2b]),_0x32d27d=_0x1a76f1(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x87176e,0x4,_0x298892[0x2c]),_0x2ff993=_0x1a76f1(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0xb00db2,0xb,_0x298892[0x2d]),_0x19a681=_0x1a76f1(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x52ceec,0x10,_0x298892[0x2e]),_0x2dbe0b=_0x1a76f1(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x1b782c,0x17,_0x298892[0x2f]),_0x32d27d=_0x49940a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x24c767,0x6,_0x298892[0x30]),_0x2ff993=_0x49940a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x2049db,0xa,_0x298892[0x31]),_0x19a681=_0x49940a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x1a584b,0xf,_0x298892[0x32]),_0x2dbe0b=_0x49940a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x42885e,0x15,_0x298892[0x33]),_0x32d27d=_0x49940a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0xb00db2,0x6,_0x298892[0x34]),_0x2ff993=_0x49940a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0xf2b6ee,0xa,_0x298892[0x35]),_0x19a681=_0x49940a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x160b84,0xf,_0x298892[0x36]),_0x2dbe0b=_0x49940a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x14e8f1,0x15,_0x298892[0x37]),_0x32d27d=_0x49940a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x19463b,0x6,_0x298892[0x38]),_0x2ff993=_0x49940a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x52ceec,0xa,_0x298892[0x39]),_0x19a681=_0x49940a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x1359a9,0xf,_0x298892[0x3a]),_0x2dbe0b=_0x49940a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x2e4c1a,0x15,_0x298892[0x3b]),_0x32d27d=_0x49940a(_0x32d27d,_0x2dbe0b,_0x19a681,_0x2ff993,_0x4cb039,0x6,_0x298892[0x3c]),_0x2ff993=_0x49940a(_0x2ff993,_0x32d27d,_0x2dbe0b,_0x19a681,_0x5841be,0xa,_0x298892[0x3d]),_0x19a681=_0x49940a(_0x19a681,_0x2ff993,_0x32d27d,_0x2dbe0b,_0x1b782c,0xf,_0x298892[0x3e]),_0x2dbe0b=_0x49940a(_0x2dbe0b,_0x19a681,_0x2ff993,_0x32d27d,_0x87176e,0x15,_0x298892[0x3f]),_0x6c4551[0x0]=_0x6c4551[0x0]+_0x32d27d|0x0,_0x6c4551[0x1]=_0x6c4551[0x1]+_0x2dbe0b|0x0,_0x6c4551[0x2]=_0x6c4551[0x2]+_0x19a681|0x0,_0x6c4551[0x3]=_0x6c4551[0x3]+_0x2ff993|0x0;},'_doFinalize':function(){var _0x18d432=_0x18c0ea,_0x1e81eb=this[_0x18d432(0x3a1)],_0x6dd70d=_0x1e81eb[_0x18d432(0x1d1)],_0x13af5c=this[_0x18d432(0x18f)]*0x8,_0x2f706e=_0x1e81eb['sigBytes']*0x8;_0x6dd70d[_0x2f706e>>>0x5]|=0x80<<0x18-_0x2f706e%0x20;var _0x2bbd08=_0x576634['floor'](_0x13af5c/0x100000000),_0x14332a=_0x13af5c;_0x6dd70d[(_0x2f706e+0x40>>>0x9<<0x4)+0xf]=(_0x2bbd08<<0x8|_0x2bbd08>>>0x18)&0xff00ff|(_0x2bbd08<<0x18|_0x2bbd08>>>0x8)&0xff00ff00,_0x6dd70d[(_0x2f706e+0x40>>>0x9<<0x4)+0xe]=(_0x14332a<<0x8|_0x14332a>>>0x18)&0xff00ff|(_0x14332a<<0x18|_0x14332a>>>0x8)&0xff00ff00,_0x1e81eb[_0x18d432(0x34d)]=(_0x6dd70d[_0x18d432(0x20a)]+0x1)*0x4,this[_0x18d432(0x243)]();for(var _0x404cf8=this[_0x18d432(0x19b)],_0x10c666=_0x404cf8[_0x18d432(0x1d1)],_0x41c51d=0x0;_0x41c51d<0x4;_0x41c51d++){var _0x348862=_0x10c666[_0x41c51d];_0x10c666[_0x41c51d]=(_0x348862<<0x8|_0x348862>>>0x18)&0xff00ff|(_0x348862<<0x18|_0x348862>>>0x8)&0xff00ff00;}return _0x404cf8;},'clone':function(){var _0x21042f=_0x18c0ea,_0x1b71c0=_0xcf592f[_0x21042f(0xf0)][_0x21042f(0x331)](this);return _0x1b71c0[_0x21042f(0x19b)]=this[_0x21042f(0x19b)][_0x21042f(0xf0)](),_0x1b71c0;}});function _0x32c19e(_0x338b2f,_0x549666,_0x11c35b,_0x4d980b,_0x109301,_0x258c2d,_0x14c74d){var _0x2718ec=_0x338b2f+(_0x549666&_0x11c35b|~_0x549666&_0x4d980b)+_0x109301+_0x14c74d;return(_0x2718ec<<_0x258c2d|_0x2718ec>>>0x20-_0x258c2d)+_0x549666;}function _0x1f604a(_0x2296f2,_0x54703a,_0x3cc376,_0x158ac3,_0x4564f3,_0x9e72ca,_0x27ad50){var _0x20d57d=_0x2296f2+(_0x54703a&_0x158ac3|_0x3cc376&~_0x158ac3)+_0x4564f3+_0x27ad50;return(_0x20d57d<<_0x9e72ca|_0x20d57d>>>0x20-_0x9e72ca)+_0x54703a;}function _0x1a76f1(_0x29d9a7,_0xb4e07e,_0x2473d5,_0x514974,_0x4f49fa,_0x40e179,_0x456b95){var _0x4ee1b8=_0x29d9a7+(_0xb4e07e^_0x2473d5^_0x514974)+_0x4f49fa+_0x456b95;return(_0x4ee1b8<<_0x40e179|_0x4ee1b8>>>0x20-_0x40e179)+_0xb4e07e;}function _0x49940a(_0x2b2e12,_0x5445e2,_0x2446ad,_0x537d68,_0x3336f0,_0x21a361,_0x554e17){var _0x338f96=_0x2b2e12+(_0x2446ad^(_0x5445e2|~_0x537d68))+_0x3336f0+_0x554e17;return(_0x338f96<<_0x21a361|_0x338f96>>>0x20-_0x21a361)+_0x5445e2;}_0x550541[_0x18c0ea(0xc9)]=_0xcf592f[_0x18c0ea(0x217)](_0xe68e61),_0x550541[_0x18c0ea(0x186)]=_0xcf592f[_0x18c0ea(0xe8)](_0xe68e61);}(Math),_0x196146[_0x4fd3ca(0xc9)];}));}(Ke)),Ke[_0x17ebeb(0x3b1)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x264c89(0x3b1)],ei;function Rs(){var _0xe88ffd=_0x264c89;return ei||(ei=0x1,function(_0x12e1de,_0x169a5c){(function(_0x46bd1b,_0x1b3e83){_0x12e1de['exports']=_0x1b3e83(ie());}(Cs,function(_0x5b5862){return(function(){var _0x386b6f=_0x400c,_0x39d0f9=_0x5b5862,_0x26ea1b=_0x39d0f9[_0x386b6f(0x351)],_0x40fc53=_0x26ea1b[_0x386b6f(0x355)],_0x213bf4=_0x26ea1b[_0x386b6f(0x2b2)],_0x728ee4=_0x39d0f9[_0x386b6f(0x1b7)],_0x3a7556=[],_0x3c6b10=_0x728ee4[_0x386b6f(0x3ad)]=_0x213bf4[_0x386b6f(0x2fa)]({'_doReset':function(){var _0x4d5e2d=_0x386b6f;this[_0x4d5e2d(0x19b)]=new _0x40fc53[(_0x4d5e2d(0x101))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27fcc5,_0x7cd9b3){var _0x1403f3=_0x386b6f;for(var _0x331d1b=this[_0x1403f3(0x19b)]['words'],_0x1a3eca=_0x331d1b[0x0],_0x3bc545=_0x331d1b[0x1],_0x32b798=_0x331d1b[0x2],_0x5dca6a=_0x331d1b[0x3],_0x31cbe5=_0x331d1b[0x4],_0x572afc=0x0;_0x572afc<0x50;_0x572afc++){if(_0x572afc<0x10)_0x3a7556[_0x572afc]=_0x27fcc5[_0x7cd9b3+_0x572afc]|0x0;else{var _0x5c2d07=_0x3a7556[_0x572afc-0x3]^_0x3a7556[_0x572afc-0x8]^_0x3a7556[_0x572afc-0xe]^_0x3a7556[_0x572afc-0x10];_0x3a7556[_0x572afc]=_0x5c2d07<<0x1|_0x5c2d07>>>0x1f;}var _0x56f005=(_0x1a3eca<<0x5|_0x1a3eca>>>0x1b)+_0x31cbe5+_0x3a7556[_0x572afc];_0x572afc<0x14?_0x56f005+=(_0x3bc545&_0x32b798|~_0x3bc545&_0x5dca6a)+0x5a827999:_0x572afc<0x28?_0x56f005+=(_0x3bc545^_0x32b798^_0x5dca6a)+0x6ed9eba1:_0x572afc<0x3c?_0x56f005+=(_0x3bc545&_0x32b798|_0x3bc545&_0x5dca6a|_0x32b798&_0x5dca6a)-0x70e44324:_0x56f005+=(_0x3bc545^_0x32b798^_0x5dca6a)-0x359d3e2a,_0x31cbe5=_0x5dca6a,_0x5dca6a=_0x32b798,_0x32b798=_0x3bc545<<0x1e|_0x3bc545>>>0x2,_0x3bc545=_0x1a3eca,_0x1a3eca=_0x56f005;}_0x331d1b[0x0]=_0x331d1b[0x0]+_0x1a3eca|0x0,_0x331d1b[0x1]=_0x331d1b[0x1]+_0x3bc545|0x0,_0x331d1b[0x2]=_0x331d1b[0x2]+_0x32b798|0x0,_0x331d1b[0x3]=_0x331d1b[0x3]+_0x5dca6a|0x0,_0x331d1b[0x4]=_0x331d1b[0x4]+_0x31cbe5|0x0;},'_doFinalize':function(){var _0x5ae7ae=_0x386b6f,_0x2bcb26=this[_0x5ae7ae(0x3a1)],_0x39c6bd=_0x2bcb26[_0x5ae7ae(0x1d1)],_0x599de0=this[_0x5ae7ae(0x18f)]*0x8,_0x202047=_0x2bcb26[_0x5ae7ae(0x34d)]*0x8;return _0x39c6bd[_0x202047>>>0x5]|=0x80<<0x18-_0x202047%0x20,_0x39c6bd[(_0x202047+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ae7ae(0x2c1)](_0x599de0/0x100000000),_0x39c6bd[(_0x202047+0x40>>>0x9<<0x4)+0xf]=_0x599de0,_0x2bcb26[_0x5ae7ae(0x34d)]=_0x39c6bd[_0x5ae7ae(0x20a)]*0x4,this[_0x5ae7ae(0x243)](),this[_0x5ae7ae(0x19b)];},'clone':function(){var _0x21f28d=_0x386b6f,_0x5b7aa9=_0x213bf4[_0x21f28d(0xf0)][_0x21f28d(0x331)](this);return _0x5b7aa9[_0x21f28d(0x19b)]=this[_0x21f28d(0x19b)][_0x21f28d(0xf0)](),_0x5b7aa9;}});_0x39d0f9[_0x386b6f(0x3ad)]=_0x213bf4['_createHelper'](_0x3c6b10),_0x39d0f9[_0x386b6f(0x1bf)]=_0x213bf4[_0x386b6f(0xe8)](_0x3c6b10);}()),_0x5b5862['SHA1'];}));}(qe)),qe[_0xe88ffd(0x3b1)];}var ze={'exports':{}},bs=ze[_0x264c89(0x3b1)],ti;function Os(){var _0x200d1f=_0x264c89;return ti||(ti=0x1,function(_0x96011a,_0x11c2d1){(function(_0x3526dc,_0x155b42){var _0x5544bf=_0x400c;_0x96011a[_0x5544bf(0x3b1)]=_0x155b42(ie());}(bs,function(_0x22d447){(function(){var _0xd414c=_0x400c,_0xdbd4df=_0x22d447,_0x3c0b25=_0xdbd4df['lib'],_0x103bd6=_0x3c0b25['Base'],_0x24e8f5=_0xdbd4df[_0xd414c(0xe2)],_0xebab8a=_0x24e8f5[_0xd414c(0x2de)],_0x39943c=_0xdbd4df['algo'];_0x39943c['HMAC']=_0x103bd6['extend']({'init':function(_0x1e483d,_0x4c9998){var _0x239473=_0xd414c;_0x1e483d=this[_0x239473(0x366)]=new _0x1e483d[(_0x239473(0x101))](),typeof _0x4c9998=='string'&&(_0x4c9998=_0xebab8a[_0x239473(0x1ca)](_0x4c9998));var _0x5b50f9=_0x1e483d[_0x239473(0x21d)],_0x26cc2c=_0x5b50f9*0x4;_0x4c9998[_0x239473(0x34d)]>_0x26cc2c&&(_0x4c9998=_0x1e483d[_0x239473(0x121)](_0x4c9998)),_0x4c9998['clamp']();for(var _0x19cf9d=this[_0x239473(0x27f)]=_0x4c9998[_0x239473(0xf0)](),_0x3dd34b=this[_0x239473(0x1a6)]=_0x4c9998[_0x239473(0xf0)](),_0x518272=_0x19cf9d[_0x239473(0x1d1)],_0x11e071=_0x3dd34b[_0x239473(0x1d1)],_0xf6f958=0x0;_0xf6f958<_0x5b50f9;_0xf6f958++)_0x518272[_0xf6f958]^=0x5c5c5c5c,_0x11e071[_0xf6f958]^=0x36363636;_0x19cf9d['sigBytes']=_0x3dd34b[_0x239473(0x34d)]=_0x26cc2c,this[_0x239473(0x1fc)]();},'reset':function(){var _0x5e11d0=_0xd414c,_0x29d664=this['_hasher'];_0x29d664['reset'](),_0x29d664[_0x5e11d0(0x125)](this[_0x5e11d0(0x1a6)]);},'update':function(_0x1c4b5c){var _0x483a2e=_0xd414c;return this[_0x483a2e(0x366)][_0x483a2e(0x125)](_0x1c4b5c),this;},'finalize':function(_0x263e77){var _0x362ef8=_0xd414c,_0x3006ae=this[_0x362ef8(0x366)],_0x23a9aa=_0x3006ae[_0x362ef8(0x121)](_0x263e77);_0x3006ae[_0x362ef8(0x1fc)]();var _0x464d7f=_0x3006ae['finalize'](this[_0x362ef8(0x27f)]['clone']()[_0x362ef8(0x34c)](_0x23a9aa));return _0x464d7f;}});}());}));}(ze)),ze[_0x200d1f(0x3b1)];}var ys=Ye[_0x264c89(0x3b1)],ii;function Ui(){return ii||(ii=0x1,function(_0x1861c8,_0x1da781){(function(_0x5c8544,_0x152366,_0x1c935c){var _0x550b90=_0x400c;_0x1861c8[_0x550b90(0x3b1)]=_0x152366(ie(),Rs(),Os());}(ys,function(_0x441421){var _0x1a83af=_0x400c;return(function(){var _0x915452=_0x400c,_0xe53115=_0x441421,_0x11e287=_0xe53115[_0x915452(0x351)],_0x18cfbc=_0x11e287[_0x915452(0xb5)],_0x4b9848=_0x11e287[_0x915452(0x355)],_0x101846=_0xe53115[_0x915452(0x1b7)],_0x4914c5=_0x101846[_0x915452(0xc9)],_0x5df190=_0x101846[_0x915452(0x1c5)]=_0x18cfbc[_0x915452(0x2fa)]({'cfg':_0x18cfbc['extend']({'keySize':0x80/0x20,'hasher':_0x4914c5,'iterations':0x1}),'init':function(_0x522315){var _0x3596a9=_0x915452;this[_0x3596a9(0x20b)]=this[_0x3596a9(0x20b)][_0x3596a9(0x2fa)](_0x522315);},'compute':function(_0xa90fa0,_0x272e3c){var _0xea124a=_0x915452;for(var _0x4ed1bd,_0x5d262f=this[_0xea124a(0x20b)],_0x1ca166=_0x5d262f['hasher'][_0xea124a(0x2fb)](),_0xdd8be=_0x4b9848[_0xea124a(0x2fb)](),_0x9d06f2=_0xdd8be[_0xea124a(0x1d1)],_0x8518a=_0x5d262f['keySize'],_0x5de70a=_0x5d262f[_0xea124a(0x222)];_0x9d06f2[_0xea124a(0x20a)]<_0x8518a;){_0x4ed1bd&&_0x1ca166[_0xea124a(0x125)](_0x4ed1bd),_0x4ed1bd=_0x1ca166['update'](_0xa90fa0)[_0xea124a(0x121)](_0x272e3c),_0x1ca166[_0xea124a(0x1fc)]();for(var _0x4def58=0x1;_0x4def58<_0x5de70a;_0x4def58++)_0x4ed1bd=_0x1ca166[_0xea124a(0x121)](_0x4ed1bd),_0x1ca166[_0xea124a(0x1fc)]();_0xdd8be[_0xea124a(0x34c)](_0x4ed1bd);}return _0xdd8be[_0xea124a(0x34d)]=_0x8518a*0x4,_0xdd8be;}});_0xe53115[_0x915452(0x1c5)]=function(_0x2b40e4,_0x416e11,_0xec68e){var _0x745c09=_0x915452;return _0x5df190[_0x745c09(0x2fb)](_0xec68e)['compute'](_0x2b40e4,_0x416e11);};}()),_0x441421[_0x1a83af(0x1c5)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x264c89(0x3b1)],ni;function Ai(){return ni||(ni=0x1,function(_0x3cc24b,_0x382415){(function(_0x2dd415,_0x8182a,_0x1903b0){var _0x5ada27=_0x400c;_0x3cc24b[_0x5ada27(0x3b1)]=_0x8182a(ie(),Ui());}(Ns,function(_0x269c4d){var _0x1e381a=_0x400c;_0x269c4d[_0x1e381a(0x351)][_0x1e381a(0x33c)]||function(_0x37266c){var _0x48613f=_0x1e381a,_0x440d85=_0x269c4d,_0x58cbea=_0x440d85[_0x48613f(0x351)],_0x929f3=_0x58cbea[_0x48613f(0xb5)],_0x2c96fa=_0x58cbea[_0x48613f(0x355)],_0x59830a=_0x58cbea[_0x48613f(0x292)],_0x48a640=_0x440d85[_0x48613f(0xe2)];_0x48a640[_0x48613f(0x2de)];var _0x4c94d0=_0x48a640[_0x48613f(0xd3)],_0xe7ec53=_0x440d85[_0x48613f(0x1b7)],_0x2ca612=_0xe7ec53[_0x48613f(0x1c5)],_0x1b99d0=_0x58cbea['Cipher']=_0x59830a[_0x48613f(0x2fa)]({'cfg':_0x929f3['extend'](),'createEncryptor':function(_0x30564b,_0x53c50e){var _0x5b59f9=_0x48613f;return this['create'](this[_0x5b59f9(0x2e3)],_0x30564b,_0x53c50e);},'createDecryptor':function(_0x3d745c,_0x356892){var _0x3cb687=_0x48613f;return this[_0x3cb687(0x2fb)](this[_0x3cb687(0x350)],_0x3d745c,_0x356892);},'init':function(_0x1d3548,_0x1f8468,_0x47834c){var _0x325e44=_0x48613f;this[_0x325e44(0x20b)]=this[_0x325e44(0x20b)]['extend'](_0x47834c),this[_0x325e44(0x120)]=_0x1d3548,this['_key']=_0x1f8468,this[_0x325e44(0x1fc)]();},'reset':function(){var _0x4e720e=_0x48613f;_0x59830a['reset'][_0x4e720e(0x331)](this),this[_0x4e720e(0x368)]();},'process':function(_0x5e972d){var _0x170ee7=_0x48613f;return this[_0x170ee7(0x35a)](_0x5e972d),this['_process']();},'finalize':function(_0xbab39c){var _0x4a9d6f=_0x48613f;_0xbab39c&&this[_0x4a9d6f(0x35a)](_0xbab39c);var _0x157319=this['_doFinalize']();return _0x157319;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2c8028(_0x56da20){var _0x3406a3=_0x400c;return typeof _0x56da20==_0x3406a3(0x384)?_0x4fcd3a:_0x8d2794;}return function(_0x5aa292){return{'encrypt':function(_0x3b4a3f,_0x1fefe3,_0x31817d){var _0x20a085=_0x400c;return _0x2c8028(_0x1fefe3)[_0x20a085(0x103)](_0x5aa292,_0x3b4a3f,_0x1fefe3,_0x31817d);},'decrypt':function(_0x2519b6,_0x237df0,_0x3a4063){var _0x2b6749=_0x400c;return _0x2c8028(_0x237df0)[_0x2b6749(0x184)](_0x5aa292,_0x2519b6,_0x237df0,_0x3a4063);}};};}())});_0x58cbea[_0x48613f(0x1ae)]=_0x1b99d0['extend']({'_doFinalize':function(){var _0x1ccc0a=_0x48613f,_0x519251=this[_0x1ccc0a(0x243)](!0x0);return _0x519251;},'blockSize':0x1});var _0x5e1b5a=_0x440d85[_0x48613f(0x211)]={},_0x31d316=_0x58cbea['BlockCipherMode']=_0x929f3['extend']({'createEncryptor':function(_0x4255c1,_0x1cfba0){var _0x3b705b=_0x48613f;return this[_0x3b705b(0xd1)]['create'](_0x4255c1,_0x1cfba0);},'createDecryptor':function(_0x573ac4,_0x3241ff){var _0x29354b=_0x48613f;return this[_0x29354b(0x16f)][_0x29354b(0x2fb)](_0x573ac4,_0x3241ff);},'init':function(_0xd5d5fa,_0x4dca52){var _0x52089c=_0x48613f;this[_0x52089c(0x398)]=_0xd5d5fa,this[_0x52089c(0x3b7)]=_0x4dca52;}}),_0x437cd4=_0x5e1b5a['CBC']=(function(){var _0x16ac6b=_0x48613f,_0x149ed7=_0x31d316[_0x16ac6b(0x2fa)]();_0x149ed7['Encryptor']=_0x149ed7[_0x16ac6b(0x2fa)]({'processBlock':function(_0xafca7a,_0x317963){var _0xe9c561=_0x16ac6b,_0x5622f8=this['_cipher'],_0x29edd8=_0x5622f8[_0xe9c561(0x21d)];_0x1817dd[_0xe9c561(0x331)](this,_0xafca7a,_0x317963,_0x29edd8),_0x5622f8[_0xe9c561(0x29a)](_0xafca7a,_0x317963),this[_0xe9c561(0x155)]=_0xafca7a['slice'](_0x317963,_0x317963+_0x29edd8);}}),_0x149ed7[_0x16ac6b(0x16f)]=_0x149ed7[_0x16ac6b(0x2fa)]({'processBlock':function(_0x48f2e1,_0x3863ff){var _0x210ee5=_0x16ac6b,_0x205751=this[_0x210ee5(0x398)],_0x1cdd2f=_0x205751['blockSize'],_0x1b6b3b=_0x48f2e1[_0x210ee5(0x108)](_0x3863ff,_0x3863ff+_0x1cdd2f);_0x205751[_0x210ee5(0x1f6)](_0x48f2e1,_0x3863ff),_0x1817dd[_0x210ee5(0x331)](this,_0x48f2e1,_0x3863ff,_0x1cdd2f),this[_0x210ee5(0x155)]=_0x1b6b3b;}});function _0x1817dd(_0x41d897,_0x435f02,_0x2098b7){var _0x49e1f4=_0x16ac6b,_0x5ce463,_0x2e2ed9=this[_0x49e1f4(0x3b7)];_0x2e2ed9?(_0x5ce463=_0x2e2ed9,this['_iv']=_0x37266c):_0x5ce463=this[_0x49e1f4(0x155)];for(var _0x195a0b=0x0;_0x195a0b<_0x2098b7;_0x195a0b++)_0x41d897[_0x435f02+_0x195a0b]^=_0x5ce463[_0x195a0b];}return _0x149ed7;}()),_0x55debe=_0x440d85[_0x48613f(0x123)]={},_0x134f2a=_0x55debe[_0x48613f(0x1de)]={'pad':function(_0xa80302,_0x47ed11){var _0x5af2b6=_0x48613f;for(var _0x2b4ea1=_0x47ed11*0x4,_0x17eb05=_0x2b4ea1-_0xa80302[_0x5af2b6(0x34d)]%_0x2b4ea1,_0x3fed33=_0x17eb05<<0x18|_0x17eb05<<0x10|_0x17eb05<<0x8|_0x17eb05,_0x4bbf17=[],_0x404d5b=0x0;_0x404d5b<_0x17eb05;_0x404d5b+=0x4)_0x4bbf17[_0x5af2b6(0x157)](_0x3fed33);var _0x70e9ac=_0x2c96fa[_0x5af2b6(0x2fb)](_0x4bbf17,_0x17eb05);_0xa80302['concat'](_0x70e9ac);},'unpad':function(_0x47d481){var _0x40f019=_0x48613f,_0xe52f9b=_0x47d481[_0x40f019(0x1d1)][_0x47d481[_0x40f019(0x34d)]-0x1>>>0x2]&0xff;_0x47d481[_0x40f019(0x34d)]-=_0xe52f9b;}};_0x58cbea[_0x48613f(0x153)]=_0x1b99d0[_0x48613f(0x2fa)]({'cfg':_0x1b99d0[_0x48613f(0x20b)][_0x48613f(0x2fa)]({'mode':_0x437cd4,'padding':_0x134f2a}),'reset':function(){var _0x517d87=_0x48613f,_0x226ab9;_0x1b99d0[_0x517d87(0x1fc)]['call'](this);var _0x6f93ab=this[_0x517d87(0x20b)],_0x50727b=_0x6f93ab['iv'],_0x480842=_0x6f93ab['mode'];this[_0x517d87(0x120)]==this[_0x517d87(0x2e3)]?_0x226ab9=_0x480842['createEncryptor']:(_0x226ab9=_0x480842[_0x517d87(0xdf)],this[_0x517d87(0x2a7)]=0x1),this['_mode']&&this[_0x517d87(0xfb)][_0x517d87(0x37f)]==_0x226ab9?this['_mode']['init'](this,_0x50727b&&_0x50727b[_0x517d87(0x1d1)]):(this[_0x517d87(0xfb)]=_0x226ab9['call'](_0x480842,this,_0x50727b&&_0x50727b['words']),this[_0x517d87(0xfb)]['__creator']=_0x226ab9);},'_doProcessBlock':function(_0x174848,_0x3e6473){var _0x30d619=_0x48613f;this[_0x30d619(0xfb)]['processBlock'](_0x174848,_0x3e6473);},'_doFinalize':function(){var _0x59b7fe=_0x48613f,_0x1076cb,_0x26731d=this[_0x59b7fe(0x20b)][_0x59b7fe(0x36d)];return this['_xformMode']==this[_0x59b7fe(0x2e3)]?(_0x26731d[_0x59b7fe(0x123)](this['_data'],this[_0x59b7fe(0x21d)]),_0x1076cb=this[_0x59b7fe(0x243)](!0x0)):(_0x1076cb=this[_0x59b7fe(0x243)](!0x0),_0x26731d[_0x59b7fe(0x38f)](_0x1076cb)),_0x1076cb;},'blockSize':0x80/0x20});var _0x595328=_0x58cbea['CipherParams']=_0x929f3['extend']({'init':function(_0x41ff00){this['mixIn'](_0x41ff00);},'toString':function(_0x4516c3){var _0x57eb17=_0x48613f;return(_0x4516c3||this[_0x57eb17(0x215)])[_0x57eb17(0x12e)](this);}}),_0x5ae046=_0x440d85[_0x48613f(0x295)]={},_0x5e5c0d=_0x5ae046[_0x48613f(0x287)]={'stringify':function(_0x2dae57){var _0x506642=_0x48613f,_0x5d9804,_0xbd7936=_0x2dae57['ciphertext'],_0x5753dd=_0x2dae57[_0x506642(0x244)];return _0x5753dd?_0x5d9804=_0x2c96fa[_0x506642(0x2fb)]([0x53616c74,0x65645f5f])[_0x506642(0x34c)](_0x5753dd)['concat'](_0xbd7936):_0x5d9804=_0xbd7936,_0x5d9804[_0x506642(0x14f)](_0x4c94d0);},'parse':function(_0x414b08){var _0x493a5f=_0x48613f,_0x4a55ee,_0x250557=_0x4c94d0[_0x493a5f(0x1ca)](_0x414b08),_0x23ea39=_0x250557['words'];return _0x23ea39[0x0]==0x53616c74&&_0x23ea39[0x1]==0x65645f5f&&(_0x4a55ee=_0x2c96fa[_0x493a5f(0x2fb)](_0x23ea39[_0x493a5f(0x108)](0x2,0x4)),_0x23ea39[_0x493a5f(0x2b1)](0x0,0x4),_0x250557[_0x493a5f(0x34d)]-=0x10),_0x595328['create']({'ciphertext':_0x250557,'salt':_0x4a55ee});}},_0x8d2794=_0x58cbea[_0x48613f(0x22c)]=_0x929f3['extend']({'cfg':_0x929f3[_0x48613f(0x2fa)]({'format':_0x5e5c0d}),'encrypt':function(_0x80122a,_0x4323c6,_0x52e581,_0x326cb5){var _0x16ecdd=_0x48613f;_0x326cb5=this[_0x16ecdd(0x20b)]['extend'](_0x326cb5);var _0xfc1746=_0x80122a[_0x16ecdd(0x315)](_0x52e581,_0x326cb5),_0x32ddbe=_0xfc1746['finalize'](_0x4323c6),_0xb5e460=_0xfc1746[_0x16ecdd(0x20b)];return _0x595328[_0x16ecdd(0x2fb)]({'ciphertext':_0x32ddbe,'key':_0x52e581,'iv':_0xb5e460['iv'],'algorithm':_0x80122a,'mode':_0xb5e460['mode'],'padding':_0xb5e460[_0x16ecdd(0x36d)],'blockSize':_0x80122a['blockSize'],'formatter':_0x326cb5[_0x16ecdd(0x295)]});},'decrypt':function(_0x3ae428,_0x415cc9,_0x2adfdc,_0x3ab828){var _0x14594f=_0x48613f;_0x3ab828=this[_0x14594f(0x20b)][_0x14594f(0x2fa)](_0x3ab828),_0x415cc9=this['_parse'](_0x415cc9,_0x3ab828[_0x14594f(0x295)]);var _0x26a7d2=_0x3ae428[_0x14594f(0xdf)](_0x2adfdc,_0x3ab828)[_0x14594f(0x121)](_0x415cc9[_0x14594f(0x149)]);return _0x26a7d2;},'_parse':function(_0x507dd1,_0x249c52){var _0x550a8b=_0x48613f;return typeof _0x507dd1==_0x550a8b(0x384)?_0x249c52[_0x550a8b(0x1ca)](_0x507dd1,this):_0x507dd1;}}),_0x33ef8e=_0x440d85[_0x48613f(0x38e)]={},_0x396826=_0x33ef8e['OpenSSL']={'execute':function(_0x36b5f8,_0x23a213,_0x5943a9,_0x218ea3,_0xde109f){var _0x324f05=_0x48613f;if(_0x218ea3||(_0x218ea3=_0x2c96fa[_0x324f05(0x2c5)](0x40/0x8)),_0xde109f)var _0x54e529=_0x2ca612[_0x324f05(0x2fb)]({'keySize':_0x23a213+_0x5943a9,'hasher':_0xde109f})['compute'](_0x36b5f8,_0x218ea3);else var _0x54e529=_0x2ca612['create']({'keySize':_0x23a213+_0x5943a9})['compute'](_0x36b5f8,_0x218ea3);var _0x1648d5=_0x2c96fa[_0x324f05(0x2fb)](_0x54e529[_0x324f05(0x1d1)]['slice'](_0x23a213),_0x5943a9*0x4);return _0x54e529[_0x324f05(0x34d)]=_0x23a213*0x4,_0x595328[_0x324f05(0x2fb)]({'key':_0x54e529,'iv':_0x1648d5,'salt':_0x218ea3});}},_0x4fcd3a=_0x58cbea[_0x48613f(0xf2)]=_0x8d2794[_0x48613f(0x2fa)]({'cfg':_0x8d2794[_0x48613f(0x20b)][_0x48613f(0x2fa)]({'kdf':_0x396826}),'encrypt':function(_0x4b5ff3,_0x57d4ef,_0x6fcad,_0x2a2aaa){var _0x5a1315=_0x48613f;_0x2a2aaa=this['cfg'][_0x5a1315(0x2fa)](_0x2a2aaa);var _0x32b37e=_0x2a2aaa[_0x5a1315(0x38e)]['execute'](_0x6fcad,_0x4b5ff3['keySize'],_0x4b5ff3[_0x5a1315(0x2a2)],_0x2a2aaa[_0x5a1315(0x244)],_0x2a2aaa[_0x5a1315(0x360)]);_0x2a2aaa['iv']=_0x32b37e['iv'];var _0x37dc99=_0x8d2794[_0x5a1315(0x103)][_0x5a1315(0x331)](this,_0x4b5ff3,_0x57d4ef,_0x32b37e[_0x5a1315(0x1a1)],_0x2a2aaa);return _0x37dc99[_0x5a1315(0x196)](_0x32b37e),_0x37dc99;},'decrypt':function(_0x577da4,_0x466201,_0x3b14ba,_0x3692b7){var _0xc705f0=_0x48613f;_0x3692b7=this[_0xc705f0(0x20b)][_0xc705f0(0x2fa)](_0x3692b7),_0x466201=this['_parse'](_0x466201,_0x3692b7['format']);var _0x2ce142=_0x3692b7[_0xc705f0(0x38e)][_0xc705f0(0x294)](_0x3b14ba,_0x577da4[_0xc705f0(0x2ea)],_0x577da4[_0xc705f0(0x2a2)],_0x466201[_0xc705f0(0x244)],_0x3692b7[_0xc705f0(0x360)]);_0x3692b7['iv']=_0x2ce142['iv'];var _0x312961=_0x8d2794[_0xc705f0(0x184)][_0xc705f0(0x331)](this,_0x577da4,_0x466201,_0x2ce142[_0xc705f0(0x1a1)],_0x3692b7);return _0x312961;}});}();}));}(Je)),Je['exports'];}var Ds=Ve[_0x264c89(0x3b1)],si;function Us(){var _0x1cbf9b=_0x264c89;return si||(si=0x1,function(_0x3d4a8e,_0x3a821f){(function(_0x25a388,_0x3ebb7d,_0x3c0ec6){var _0x2dcca3=_0x400c;_0x3d4a8e[_0x2dcca3(0x3b1)]=_0x3ebb7d(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x3e8d0b){return(function(){var _0x563290=_0x400c,_0x1509d2=_0x3e8d0b,_0x7d08a9=_0x1509d2[_0x563290(0x351)],_0x3c4918=_0x7d08a9[_0x563290(0x153)],_0x4b78c8=_0x1509d2[_0x563290(0x1b7)],_0x2d1b4e=[],_0x43aaf0=[],_0x256bf7=[],_0x406a4a=[],_0x465bab=[],_0x3c9292=[],_0x404d9a=[],_0x28cc7a=[],_0x51f15d=[],_0x2c0f80=[];(function(){for(var _0xe52eae=[],_0x58ef43=0x0;_0x58ef43<0x100;_0x58ef43++)_0x58ef43<0x80?_0xe52eae[_0x58ef43]=_0x58ef43<<0x1:_0xe52eae[_0x58ef43]=_0x58ef43<<0x1^0x11b;for(var _0x1cc076=0x0,_0x2b864c=0x0,_0x58ef43=0x0;_0x58ef43<0x100;_0x58ef43++){var _0x37a7c0=_0x2b864c^_0x2b864c<<0x1^_0x2b864c<<0x2^_0x2b864c<<0x3^_0x2b864c<<0x4;_0x37a7c0=_0x37a7c0>>>0x8^_0x37a7c0&0xff^0x63,_0x2d1b4e[_0x1cc076]=_0x37a7c0,_0x43aaf0[_0x37a7c0]=_0x1cc076;var _0x34060b=_0xe52eae[_0x1cc076],_0x109623=_0xe52eae[_0x34060b],_0x242f2e=_0xe52eae[_0x109623],_0x2cdf47=_0xe52eae[_0x37a7c0]*0x101^_0x37a7c0*0x1010100;_0x256bf7[_0x1cc076]=_0x2cdf47<<0x18|_0x2cdf47>>>0x8,_0x406a4a[_0x1cc076]=_0x2cdf47<<0x10|_0x2cdf47>>>0x10,_0x465bab[_0x1cc076]=_0x2cdf47<<0x8|_0x2cdf47>>>0x18,_0x3c9292[_0x1cc076]=_0x2cdf47;var _0x2cdf47=_0x242f2e*0x1010101^_0x109623*0x10001^_0x34060b*0x101^_0x1cc076*0x1010100;_0x404d9a[_0x37a7c0]=_0x2cdf47<<0x18|_0x2cdf47>>>0x8,_0x28cc7a[_0x37a7c0]=_0x2cdf47<<0x10|_0x2cdf47>>>0x10,_0x51f15d[_0x37a7c0]=_0x2cdf47<<0x8|_0x2cdf47>>>0x18,_0x2c0f80[_0x37a7c0]=_0x2cdf47,_0x1cc076?(_0x1cc076=_0x34060b^_0xe52eae[_0xe52eae[_0xe52eae[_0x242f2e^_0x34060b]]],_0x2b864c^=_0xe52eae[_0xe52eae[_0x2b864c]]):_0x1cc076=_0x2b864c=0x1;}}());var _0x53e3c5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4d57b3=_0x4b78c8[_0x563290(0x35c)]=_0x3c4918[_0x563290(0x2fa)]({'_doReset':function(){var _0x501168=_0x563290,_0x599b3a;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x501168(0x2ed)])){for(var _0x440152=this['_keyPriorReset']=this[_0x501168(0x2ed)],_0xf879a1=_0x440152['words'],_0x4afcc5=_0x440152[_0x501168(0x34d)]/0x4,_0x289a83=this[_0x501168(0x2db)]=_0x4afcc5+0x6,_0x18177b=(_0x289a83+0x1)*0x4,_0x449106=this['_keySchedule']=[],_0x389ca7=0x0;_0x389ca7<_0x18177b;_0x389ca7++)_0x389ca7<_0x4afcc5?_0x449106[_0x389ca7]=_0xf879a1[_0x389ca7]:(_0x599b3a=_0x449106[_0x389ca7-0x1],_0x389ca7%_0x4afcc5?_0x4afcc5>0x6&&_0x389ca7%_0x4afcc5==0x4&&(_0x599b3a=_0x2d1b4e[_0x599b3a>>>0x18]<<0x18|_0x2d1b4e[_0x599b3a>>>0x10&0xff]<<0x10|_0x2d1b4e[_0x599b3a>>>0x8&0xff]<<0x8|_0x2d1b4e[_0x599b3a&0xff]):(_0x599b3a=_0x599b3a<<0x8|_0x599b3a>>>0x18,_0x599b3a=_0x2d1b4e[_0x599b3a>>>0x18]<<0x18|_0x2d1b4e[_0x599b3a>>>0x10&0xff]<<0x10|_0x2d1b4e[_0x599b3a>>>0x8&0xff]<<0x8|_0x2d1b4e[_0x599b3a&0xff],_0x599b3a^=_0x53e3c5[_0x389ca7/_0x4afcc5|0x0]<<0x18),_0x449106[_0x389ca7]=_0x449106[_0x389ca7-_0x4afcc5]^_0x599b3a);for(var _0x4f7314=this[_0x501168(0x35e)]=[],_0x18155d=0x0;_0x18155d<_0x18177b;_0x18155d++){var _0x389ca7=_0x18177b-_0x18155d;if(_0x18155d%0x4)var _0x599b3a=_0x449106[_0x389ca7];else var _0x599b3a=_0x449106[_0x389ca7-0x4];_0x18155d<0x4||_0x389ca7<=0x4?_0x4f7314[_0x18155d]=_0x599b3a:_0x4f7314[_0x18155d]=_0x404d9a[_0x2d1b4e[_0x599b3a>>>0x18]]^_0x28cc7a[_0x2d1b4e[_0x599b3a>>>0x10&0xff]]^_0x51f15d[_0x2d1b4e[_0x599b3a>>>0x8&0xff]]^_0x2c0f80[_0x2d1b4e[_0x599b3a&0xff]];}}},'encryptBlock':function(_0x67f937,_0x4e3529){var _0x2dcfee=_0x563290;this[_0x2dcfee(0x142)](_0x67f937,_0x4e3529,this[_0x2dcfee(0x2a3)],_0x256bf7,_0x406a4a,_0x465bab,_0x3c9292,_0x2d1b4e);},'decryptBlock':function(_0x48d227,_0x15e97c){var _0x3dac8f=_0x563290,_0x49b3b5=_0x48d227[_0x15e97c+0x1];_0x48d227[_0x15e97c+0x1]=_0x48d227[_0x15e97c+0x3],_0x48d227[_0x15e97c+0x3]=_0x49b3b5,this[_0x3dac8f(0x142)](_0x48d227,_0x15e97c,this[_0x3dac8f(0x35e)],_0x404d9a,_0x28cc7a,_0x51f15d,_0x2c0f80,_0x43aaf0);var _0x49b3b5=_0x48d227[_0x15e97c+0x1];_0x48d227[_0x15e97c+0x1]=_0x48d227[_0x15e97c+0x3],_0x48d227[_0x15e97c+0x3]=_0x49b3b5;},'_doCryptBlock':function(_0x595609,_0x10fb60,_0x50ca19,_0x397880,_0x2f6a4c,_0x1c4766,_0x1de2d4,_0x5b5b20){for(var _0x530651=this['_nRounds'],_0xaea15b=_0x595609[_0x10fb60]^_0x50ca19[0x0],_0x437cb7=_0x595609[_0x10fb60+0x1]^_0x50ca19[0x1],_0x10f6c9=_0x595609[_0x10fb60+0x2]^_0x50ca19[0x2],_0x17e343=_0x595609[_0x10fb60+0x3]^_0x50ca19[0x3],_0x4ccdf0=0x4,_0x3d3705=0x1;_0x3d3705<_0x530651;_0x3d3705++){var _0x14772c=_0x397880[_0xaea15b>>>0x18]^_0x2f6a4c[_0x437cb7>>>0x10&0xff]^_0x1c4766[_0x10f6c9>>>0x8&0xff]^_0x1de2d4[_0x17e343&0xff]^_0x50ca19[_0x4ccdf0++],_0x19a527=_0x397880[_0x437cb7>>>0x18]^_0x2f6a4c[_0x10f6c9>>>0x10&0xff]^_0x1c4766[_0x17e343>>>0x8&0xff]^_0x1de2d4[_0xaea15b&0xff]^_0x50ca19[_0x4ccdf0++],_0x3adf5b=_0x397880[_0x10f6c9>>>0x18]^_0x2f6a4c[_0x17e343>>>0x10&0xff]^_0x1c4766[_0xaea15b>>>0x8&0xff]^_0x1de2d4[_0x437cb7&0xff]^_0x50ca19[_0x4ccdf0++],_0x47e1ad=_0x397880[_0x17e343>>>0x18]^_0x2f6a4c[_0xaea15b>>>0x10&0xff]^_0x1c4766[_0x437cb7>>>0x8&0xff]^_0x1de2d4[_0x10f6c9&0xff]^_0x50ca19[_0x4ccdf0++];_0xaea15b=_0x14772c,_0x437cb7=_0x19a527,_0x10f6c9=_0x3adf5b,_0x17e343=_0x47e1ad;}var _0x14772c=(_0x5b5b20[_0xaea15b>>>0x18]<<0x18|_0x5b5b20[_0x437cb7>>>0x10&0xff]<<0x10|_0x5b5b20[_0x10f6c9>>>0x8&0xff]<<0x8|_0x5b5b20[_0x17e343&0xff])^_0x50ca19[_0x4ccdf0++],_0x19a527=(_0x5b5b20[_0x437cb7>>>0x18]<<0x18|_0x5b5b20[_0x10f6c9>>>0x10&0xff]<<0x10|_0x5b5b20[_0x17e343>>>0x8&0xff]<<0x8|_0x5b5b20[_0xaea15b&0xff])^_0x50ca19[_0x4ccdf0++],_0x3adf5b=(_0x5b5b20[_0x10f6c9>>>0x18]<<0x18|_0x5b5b20[_0x17e343>>>0x10&0xff]<<0x10|_0x5b5b20[_0xaea15b>>>0x8&0xff]<<0x8|_0x5b5b20[_0x437cb7&0xff])^_0x50ca19[_0x4ccdf0++],_0x47e1ad=(_0x5b5b20[_0x17e343>>>0x18]<<0x18|_0x5b5b20[_0xaea15b>>>0x10&0xff]<<0x10|_0x5b5b20[_0x437cb7>>>0x8&0xff]<<0x8|_0x5b5b20[_0x10f6c9&0xff])^_0x50ca19[_0x4ccdf0++];_0x595609[_0x10fb60]=_0x14772c,_0x595609[_0x10fb60+0x1]=_0x19a527,_0x595609[_0x10fb60+0x2]=_0x3adf5b,_0x595609[_0x10fb60+0x3]=_0x47e1ad;},'keySize':0x100/0x20});_0x1509d2[_0x563290(0x35c)]=_0x3c4918[_0x563290(0x217)](_0x4d57b3);}()),_0x3e8d0b['AES'];}));}(Ve)),Ve[_0x1cbf9b(0x3b1)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x264c89(0x3b1)],ai;function xs(){var _0x46c462=_0x264c89;return ai||(ai=0x1,function(_0x3909d7,_0x119154){(function(_0x266269,_0x5b6bc5){var _0x3a0b11=_0x400c;_0x3909d7[_0x3a0b11(0x3b1)]=_0x5b6bc5(ie());}(Ls,function(_0x3b7ffc){var _0x5e1f4a=_0x400c;return _0x3b7ffc[_0x5e1f4a(0xe2)][_0x5e1f4a(0x2de)];}));}(Xe)),Xe[_0x46c462(0x3b1)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x264c89(0x3b1)],oi;function Hs(){var _0x3919bd=_0x264c89;return oi||(oi=0x1,function(_0x51392a,_0x29258c){(function(_0x289367,_0x49e565){var _0x3bd169=_0x400c;_0x51392a[_0x3bd169(0x3b1)]=_0x49e565(ie());}($s,function(_0x4c888b){var _0x5d7763=_0x400c;return(function(){var _0x31eb86=_0x400c;if(typeof ArrayBuffer==_0x31eb86(0x23c)){var _0x5b5c14=_0x4c888b,_0x4d26aa=_0x5b5c14[_0x31eb86(0x351)],_0x5780c4=_0x4d26aa['WordArray'],_0x5c86af=_0x5780c4['init'],_0x140ddc=_0x5780c4[_0x31eb86(0x101)]=function(_0x472d54){var _0x1f91c7=_0x31eb86;if(_0x472d54 instanceof ArrayBuffer&&(_0x472d54=new Uint8Array(_0x472d54)),(_0x472d54 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x472d54 instanceof Uint8ClampedArray||_0x472d54 instanceof Int16Array||_0x472d54 instanceof Uint16Array||_0x472d54 instanceof Int32Array||_0x472d54 instanceof Uint32Array||_0x472d54 instanceof Float32Array||_0x472d54 instanceof Float64Array)&&(_0x472d54=new Uint8Array(_0x472d54[_0x1f91c7(0x3a5)],_0x472d54[_0x1f91c7(0x1ef)],_0x472d54['byteLength'])),_0x472d54 instanceof Uint8Array){for(var _0x1cf9b6=_0x472d54[_0x1f91c7(0x279)],_0x438efe=[],_0x1538fb=0x0;_0x1538fb<_0x1cf9b6;_0x1538fb++)_0x438efe[_0x1538fb>>>0x2]|=_0x472d54[_0x1538fb]<<0x18-_0x1538fb%0x4*0x8;_0x5c86af[_0x1f91c7(0x331)](this,_0x438efe,_0x1cf9b6);}else _0x5c86af[_0x1f91c7(0x2e6)](this,arguments);};_0x140ddc[_0x31eb86(0x369)]=_0x5780c4;}}()),_0x4c888b[_0x5d7763(0x351)]['WordArray'];}));}(Ze)),Ze[_0x3919bd(0x3b1)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x264c89(0x3b1)],ci;function Vs(){var _0x4b5e9c=_0x264c89;return ci||(ci=0x1,function(_0x35722e,_0x35b23e){(function(_0x2609b6,_0x38acfb,_0x446b65){var _0x362286=_0x400c;_0x35722e[_0x362286(0x3b1)]=_0x38acfb(ie(),Ai());}(Fs,function(_0x31ed84){var _0x6d3a5f=_0x400c;return _0x31ed84[_0x6d3a5f(0x123)][_0x6d3a5f(0x3a0)]={'pad':function(){},'unpad':function(){}},_0x31ed84[_0x6d3a5f(0x123)][_0x6d3a5f(0x3a0)];}));}(Qe)),Qe[_0x4b5e9c(0x3b1)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x56f48d,_0x1bc05c){var _0x4f4878=_0x264c89;const _0x4f1070=_0x1bc05c-_0x56f48d[_0x4f4878(0x20a)]%_0x1bc05c,_0x1f116d=String[_0x4f4878(0x163)](_0x4f1070)['repeat'](_0x4f1070);return _0x56f48d+_0x1f116d;}function Ys(_0x343f4b,_0x4b2e95){var _0x59dc72=_0x264c89;const _0x519958=js[_0x59dc72(0x2c5)](0x10),_0x4dd91e=Ks(_0x343f4b,0x10),_0x223c53=ws[_0x59dc72(0x103)](ks[_0x59dc72(0x1ca)](_0x4dd91e),ri[_0x59dc72(0x1ca)](_0x4b2e95),{'iv':_0x519958,'padding':Ws});return _0x519958[_0x59dc72(0x34c)](_0x223c53[_0x59dc72(0x149)])[_0x59dc72(0x14f)](ri);}function qs(){var _0x200d71=_0x264c89;const _0x367dae=_0x461200()[_0x200d71(0x1fa)];if(_0x367dae){const _0x42c42d={'time':Math[_0x200d71(0x2c1)](Date[_0x200d71(0xe3)]()/0x3e8),'domain':location[_0x200d71(0x18d)]};return Ys(JSON[_0x200d71(0x12e)](_0x42c42d),_0x367dae);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x5af59,_0x1c06b8,_0x3beffc,_0x5441a2)=>{var _0xf1e501=_0x264c89;for(var _0x3a2efe=_0x5441a2>0x1?void 0x0:_0x5441a2?zs(_0x1c06b8,_0x3beffc):_0x1c06b8,_0x20bdab=_0x5af59[_0xf1e501(0x20a)]-0x1,_0x2be51a;_0x20bdab>=0x0;_0x20bdab--)(_0x2be51a=_0x5af59[_0x20bdab])&&(_0x3a2efe=_0x2be51a(_0x3a2efe)||_0x3a2efe);return _0x3a2efe;},Xs=(_0x5ba19c,_0x4c695c)=>(_0x21cfba,_0x2da6b2)=>_0x4c695c(_0x21cfba,_0x2da6b2,_0x5ba19c);let at=class{constructor(_0x18b84f){var _0x3aa3c1=_0x264c89;this[_0x3aa3c1(0x24c)]=_0x18b84f,this['_initRequestHeader']();}[_0x264c89(0xae)](){var _0x4fc111=_0x264c89;this[_0x4fc111(0x24c)][_0x4fc111(0x1c7)]({'interceptor':(_0x2330a7,_0x414839)=>{var _0x395890=_0x4fc111;const _0x3bdb38=_0x2330a7[_0x395890(0x1ed)],_0x42f087=qs();return _0x42f087&&_0x3bdb38['set'](_0x395890(0x352),_0x42f087),_0x414839(_0x2330a7);}});}};at=Js([Xs(0x0,_0x4a5888(_0x4207d7))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x5601bc,_0x318ecb,_0xcc1c48,_0x66017a)=>{var _0x5d6963=_0x264c89;for(var _0x27f824=_0x66017a>0x1?void 0x0:_0x66017a?Zs(_0x318ecb,_0xcc1c48):_0x318ecb,_0x124c60=_0x5601bc[_0x5d6963(0x20a)]-0x1,_0x35c826;_0x124c60>=0x0;_0x124c60--)(_0x35c826=_0x5601bc[_0x124c60])&&(_0x27f824=_0x35c826(_0x27f824)||_0x27f824);return _0x27f824;},mt=(_0x1229f5,_0xb14729)=>(_0x2e5aa2,_0x2e5a24)=>_0xb14729(_0x2e5aa2,_0x2e5a24,_0x1229f5);let bt=class extends _0x10cbe0{constructor(_0x4301ca,_0xb5dfc5,_0x2e4eb6){var _0x454e9f=_0x264c89;super(),N(this,_0x454e9f(0x29c),new _0x10b2eb(null)),N(this,_0x454e9f(0x160),this[_0x454e9f(0x29c)]['asObservable']()),(this[_0x454e9f(0xc7)]=_0x4301ca,this[_0x454e9f(0x19d)]=_0xb5dfc5,this[_0x454e9f(0x1a7)]=_0x2e4eb6);}async[_0x264c89(0x37c)](_0x19e4b4,_0x1368ba,_0x449e23){var _0x5d1831=_0x264c89;this['_unitInfo$'][_0x5d1831(0x12f)]({'unitId':_0x19e4b4,'type':_0x1368ba,'subUnitId':_0x449e23});let _0x34fa6a=null;switch(_0x1368ba){case Q[_0x5d1831(0x1e7)]:{_0x34fa6a=await this['_loadSheet'](_0x19e4b4);break;}case Q[_0x5d1831(0x314)]:{_0x34fa6a=await this[_0x5d1831(0xbe)](_0x19e4b4);break;}default:{this[_0x5d1831(0xc7)][_0x5d1831(0x1f3)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x34fa6a;}async[_0x264c89(0x19a)](_0x522aef){var _0x333fe6=_0x264c89,_0x3ae0f9;let _0x1c703c=0x0;const _0x3d609f=await((_0x3ae0f9=this['_localCacheService'])==null?void 0x0:_0x3ae0f9['loadOfflineData'](_0x522aef));return _0x3d609f&&(_0x3d609f[_0x333fe6(0xbc)]||_0x3d609f['mutations'][_0x333fe6(0x20a)]!==0x0)&&(_0x1c703c=_0x3d609f[_0x333fe6(0x30b)]),_0x1c703c===0x0&&this['_logService'][_0x333fe6(0x2bd)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x333fe6(0x19d)][_0x333fe6(0x339)](_0x522aef,_0x1c703c);}async[_0x264c89(0xbe)](_0x5aba37){var _0x264801=_0x264c89,_0xc6c8fd;let _0x23f6d0=0x0;const _0x58689c=await((_0xc6c8fd=this['_localCacheService'])==null?void 0x0:_0xc6c8fd['loadOfflineData'](_0x5aba37));return _0x58689c&&(_0x58689c[_0x264801(0xbc)]||_0x58689c['mutations'][_0x264801(0x20a)]!==0x0)&&(_0x23f6d0=_0x58689c[_0x264801(0x30b)]),_0x23f6d0===0x0&&this[_0x264801(0xc7)][_0x264801(0x2bd)](_0x264801(0x2ff),_0x264801(0x37a)),this[_0x264801(0x19d)][_0x264801(0x161)](_0x5aba37,_0x23f6d0);}};bt=Qs([mt(0x0,_0x1144bf),mt(0x1,_0x4a5888(_0x509585)),mt(0x2,_0xb373d8(J))],bt);var er=Object[_0x264c89(0x2a4)],tr=(_0xaf0fda,_0x37685d,_0x2cf8c6,_0x159eb3)=>{var _0x46beaf=_0x264c89;for(var _0x59fcaf=_0x159eb3>0x1?void 0x0:_0x159eb3?er(_0x37685d,_0x2cf8c6):_0x37685d,_0x75965f=_0xaf0fda[_0x46beaf(0x20a)]-0x1,_0x43a04c;_0x75965f>=0x0;_0x75965f--)(_0x43a04c=_0xaf0fda[_0x75965f])&&(_0x59fcaf=_0x43a04c(_0x59fcaf)||_0x59fcaf);return _0x59fcaf;},gt=(_0x257308,_0x11b86f)=>(_0x538bb4,_0x1c32e7)=>_0x11b86f(_0x538bb4,_0x1c32e7,_0x257308);const ir=[_0x264c89(0x12b),_0x264c89(0x178),_0x264c89(0x308),_0x264c89(0x1a3),_0x264c89(0x185)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr='/universer-api/stream/file/upload',ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x1af887,_0x312a52,_0x4986ff){var _0xc3266c=_0x264c89;N(this,_0xc3266c(0x3a6),0x0),N(this,'_change$',new _0x5c84de()),N(this,_0xc3266c(0x393),this[_0xc3266c(0x297)]),N(this,'_imageSourceCache',new Map()),(this[_0xc3266c(0x24c)]=_0x1af887,this['_configService']=_0x312a52,this['_univerInstanceService']=_0x4986ff);}[_0x264c89(0x27c)](_0x32c423){var _0x4fa109=_0x264c89;this[_0x4fa109(0x3a6)]=_0x32c423,this['_change$'][_0x4fa109(0x12f)](_0x32c423);}['getImageSourceCache'](_0x396a21,_0x4c9a59){var _0x4bbbbd=_0x264c89;if(_0x4c9a59===_0x1b7691[_0x4bbbbd(0x2e4)]){const _0x128f6f=new Image();return _0x128f6f[_0x4bbbbd(0x2e9)]=_0x396a21,_0x128f6f;}return this['_imageSourceCache'][_0x4bbbbd(0xff)](_0x396a21);}[_0x264c89(0xc6)](_0x543f30,_0x48c874,_0x3adc05){var _0x174215=_0x264c89;_0x48c874===_0x1b7691['BASE64']||_0x3adc05==null||this[_0x174215(0x18c)]['set'](_0x543f30,_0x3adc05);}async[_0x264c89(0x2ca)](_0x48cc1a){var _0xe42331=_0x264c89;try{const _0x5ebb0a=this[_0xe42331(0x173)](this['_getSignURL'](),''+_0x48cc1a),_0x13703e=(await this['_httpService']['get'](_0x5ebb0a))[_0xe42331(0x26c)];if(_0x13703e[_0xe42331(0x1f3)]&&_0x13703e['error'][_0xe42331(0xf1)]===Si['OK']){const _0x28a87d=new URL(_0x13703e[_0xe42331(0x31f)],this['_getDownloadEndpointURL']())[_0xe42331(0x14f)]();return Promise[_0xe42331(0xf3)](_0x28a87d);}return Promise['reject'](_0x13703e[_0xe42331(0x1f3)]);}catch(_0x1e9ebb){return Promise[_0xe42331(0x18b)](_0x1e9ebb);}}async[_0x264c89(0x340)](_0x4641e0){var _0xeba11d=_0x264c89;let _0x4a1e31='';if(!ir[_0xeba11d(0x1da)](_0x4641e0[_0xeba11d(0x133)]))return this[_0xeba11d(0x3b3)](),Promise[_0xeba11d(0x18b)](new Error(_0x25bdc3['ERROR_IMAGE_TYPE']));if(_0x4641e0[_0xeba11d(0x2fd)]>nr)return this[_0xeba11d(0x3b3)](),Promise['reject'](new Error(_0x25bdc3[_0xeba11d(0x39d)]));try{const _0x36d22a=new FormData();_0x36d22a[_0xeba11d(0x2ac)](_0xeba11d(0x256),_0x4641e0);const _0x3a0e6d=this[_0xeba11d(0x11c)]['getFocusedUnit'](),_0xe742fc=_0x3a0e6d==null?void 0x0:_0x3a0e6d[_0xeba11d(0x329)]();if(!_0xe742fc)throw new Error(_0xeba11d(0x21c));const _0x1111c3=this[_0xeba11d(0x111)]()+_0xeba11d(0xbb)+_0x4641e0[_0xeba11d(0x2fd)][_0xeba11d(0x14f)]()+_0xeba11d(0xba)+Ei[_0xeba11d(0x10f)]+'&assign='+encodeURIComponent(_0xe742fc),_0x529f62=await(await fetch(_0x1111c3,{'method':_0xeba11d(0xfc),'body':_0x36d22a}))[_0xeba11d(0xc8)]();if(typeof _0x529f62[_0xeba11d(0x377)]!='string')return this[_0xeba11d(0x3b3)](),Promise['reject'](new Error(_0x25bdc3[_0xeba11d(0x2c0)]));_0x4a1e31=_0x529f62[_0xeba11d(0x377)];}catch{return this[_0xeba11d(0x3b3)](),Promise['reject'](new Error(_0x25bdc3[_0xeba11d(0x2c0)]));}return new Promise((_0x466dd3,_0x4c679a)=>{const _0x502288=new FileReader();_0x502288['readAsDataURL'](_0x4641e0),_0x502288['onload']=_0x55c267=>{var _0x12c2f6=_0x400c,_0x19e97f;const _0x211430=(_0x19e97f=_0x55c267[_0x12c2f6(0x110)])==null?void 0x0:_0x19e97f[_0x12c2f6(0x322)];if(_0x211430==null){this['_decreaseWaiting'](),_0x4c679a(new Error(_0x25bdc3['ERROR_IMAGE']));return;}const _0x3c1f48=_0x175be1[_0x12c2f6(0x267)](0x6);_0x466dd3({'imageId':_0x3c1f48,'imageSourceType':_0x1b7691[_0x12c2f6(0x25e)],'source':_0x4a1e31,'base64Cache':_0x211430,'status':_0x25bdc3[_0x12c2f6(0x31e)]}),this['_decreaseWaiting']();};});}[_0x264c89(0x111)](){var _0x52df2c=_0x264c89,_0x56e2cc,_0x5afea8;const _0x1f1862=this[_0x52df2c(0x24e)]['getConfig'](sr),_0x54db11=this['_configService'][_0x52df2c(0x343)](q);return(_0x5afea8=(_0x56e2cc=_0x54db11==null?void 0x0:_0x54db11['uploadFileServerUrl'])!=null?_0x56e2cc:_0x1f1862)!=null?_0x5afea8:rr;}['_getSignURL'](){var _0x5abbb8=_0x264c89,_0x5150ad,_0x54d00d;const _0x33887e=this[_0x5abbb8(0x24e)][_0x5abbb8(0x343)](ar),_0x47931c=this['_configService'][_0x5abbb8(0x343)](q);return(_0x54d00d=(_0x5150ad=_0x47931c==null?void 0x0:_0x47931c['signUrlServerUrl'])!=null?_0x5150ad:_0x33887e)!=null?_0x54d00d:or;}[_0x264c89(0x128)](){var _0x193ad1=_0x264c89,_0x5217a5;const _0x132154=this['_configService'][_0x193ad1(0x343)](q);return(_0x5217a5=_0x132154==null?void 0x0:_0x132154[_0x193ad1(0x20f)])!=null?_0x5217a5:location['origin'];}[_0x264c89(0x173)](_0x3763dd,_0x4abfd0){var _0x462682=_0x264c89;return _0x3763dd['replace'](_0x462682(0x327),_0x4abfd0);}['_decreaseWaiting'](){var _0x2b2088=_0x264c89;this[_0x2b2088(0x3a6)]-=0x1,this[_0x2b2088(0x297)]['next'](this['_waitCount']);}};Ot=tr([gt(0x0,_0x4a5888(_0x4207d7)),gt(0x1,_0x309343),gt(0x2,_0x4a5888(_0x24d354))],Ot);var cr=Object[_0x264c89(0x2a4)],hr=(_0x11eb67,_0x271912,_0x211354,_0x2d0b08)=>{var _0x188e27=_0x264c89;for(var _0x1496d1=_0x2d0b08>0x1?void 0x0:_0x2d0b08?cr(_0x271912,_0x211354):_0x271912,_0x553b1d=_0x11eb67[_0x188e27(0x20a)]-0x1,_0x4b8942;_0x553b1d>=0x0;_0x553b1d--)(_0x4b8942=_0x11eb67[_0x553b1d])&&(_0x1496d1=_0x4b8942(_0x1496d1)||_0x1496d1);return _0x1496d1;},hi=(_0x405232,_0x69ff07)=>(_0x198ef5,_0x3b9912)=>_0x69ff07(_0x198ef5,_0x3b9912,_0x405232);const _r=_0x264c89(0x15e);let yt=class{constructor(_0x2bc649,_0x4ce459){var _0x59faef=_0x264c89;this[_0x59faef(0x24e)]=_0x2bc649,this[_0x59faef(0x202)]=_0x4ce459;}[_0x264c89(0x25c)](){var _0x17c791=_0x264c89,_0x5af989,_0x1dfe2b;const _0x1547f9=this[_0x17c791(0x24e)][_0x17c791(0x343)](Ni),_0x3bd407=this[_0x17c791(0x24e)][_0x17c791(0x343)](q);return(_0x1dfe2b=(_0x5af989=_0x3bd407==null?void 0x0:_0x3bd407[_0x17c791(0xce)])!=null?_0x5af989:_0x1547f9)!=null?_0x1dfe2b:_r;}async[_0x264c89(0xb3)](_0x300b33){var _0x234645=_0x264c89;const _0x7882a8=this[_0x234645(0x25c)]()+'/collaborator';return{'list':[{'title':_0x234645(0x269),'mentions':(await this[_0x234645(0x202)][_0x234645(0xff)](_0x7882a8,{'params':{'objectID':_0x300b33[_0x234645(0x1ea)],'unitID':_0x300b33['unitId']}}))[_0x234645(0x26c)][_0x234645(0x24b)][_0x234645(0x2fc)](_0x1b2e24=>({'objectId':_0x1b2e24['id'],'name':_0x1b2e24[_0x234645(0x2a1)]['name'],'metadata':{'icon':_0x1b2e24['subject'][_0x234645(0x214)]},'label':_0x1b2e24['subject']['name'],'objectType':_0x1c1a4b[_0x234645(0x1a2)]})),'metadata':{},'type':_0x1c1a4b[_0x234645(0x1a2)]}]};}};yt=hr([hi(0x0,_0x4a5888(_0x309343)),hi(0x1,_0x4a5888(_0x4207d7))],yt);var lr=Object[_0x264c89(0x2a4)],ur=(_0x5c41e1,_0x21a2f8,_0x584662,_0xf41629)=>{var _0x331fcd=_0x264c89;for(var _0x3ec31c=_0xf41629>0x1?void 0x0:_0xf41629?lr(_0x21a2f8,_0x584662):_0x21a2f8,_0x1e843d=_0x5c41e1[_0x331fcd(0x20a)]-0x1,_0x34796c;_0x1e843d>=0x0;_0x1e843d--)(_0x34796c=_0x5c41e1[_0x1e843d])&&(_0x3ec31c=_0x34796c(_0x3ec31c)||_0x3ec31c);return _0x3ec31c;},we=(_0x4fdb54,_0x19ede3)=>(_0x5b365e,_0x192379)=>_0x19ede3(_0x5b365e,_0x192379,_0x4fdb54);let ot=class extends _0x10cbe0{constructor(_0x29f8ad,_0x65ac0f,_0x11f565,_0x41a978,_0x52575f){var _0x33e8de=_0x264c89;super(),this[_0x33e8de(0x154)]=_0x29f8ad,this[_0x33e8de(0x11c)]=_0x65ac0f,this[_0x33e8de(0x30e)]=_0x11f565,this[_0x33e8de(0x324)]=_0x41a978,this['_collaborationUIEventService']=_0x52575f,this[_0x33e8de(0x363)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x494b6b=_0x264c89;const _0x501863=async _0x784c49=>{var _0x1fabf6=_0x400c;(await this[_0x1fabf6(0x324)][_0x1fabf6(0x28c)](_0x784c49))[_0x1fabf6(0x293)][_0x1fabf6(0x36c)](_0x34859f(_0x271d21=>_0x271d21[_0x1fabf6(0x247)]===_0x17f648[_0x1fabf6(0x36b)]),_0x18dcf2(this[_0x1fabf6(0xea)]))['subscribe'](_0x4c3a3f=>{var _0x5f25a5=_0x1fabf6;const _0x50764b=_0x4c3a3f,{reason:_0x32f0e1}=_0x50764b[_0x5f25a5(0x2d1)];this[_0x5f25a5(0x35f)][_0x5f25a5(0x361)]({'id':re['CLOSE_ROOM'],'data':_0x32f0e1}),this[_0x5f25a5(0x30e)]['updatePermissionPoint'](new _0x57ceb2(_0x784c49)['id'],!0x1),this[_0x5f25a5(0x324)][_0x5f25a5(0xc2)](_0x784c49);});};_0x288d28(this['_univerInstanceService'][_0x494b6b(0x2cc)](_0x336ae9[_0x494b6b(0x1e7)]),this[_0x494b6b(0x11c)]['getTypeOfUnitAdded$'](_0x336ae9[_0x494b6b(0x314)]))[_0x494b6b(0x36c)](_0x391a76(_0x4447ac=>_0x4447ac[_0x494b6b(0x329)]()),_0x34859f(_0x6ee624=>!_0x4c87e0(_0x6ee624)),_0x18dcf2(this[_0x494b6b(0xea)]))[_0x494b6b(0x126)](_0x5c7a67=>{_0x501863(_0x5c7a67);});}[_0x264c89(0x363)](){var _0x531b45=_0x264c89;const _0x480695=async _0x365fff=>{var _0x310dca=_0x400c;const _0x5407fc=await this[_0x310dca(0x324)]['requireSession'](_0x365fff),_0x1bea16=this[_0x310dca(0x154)]['get'](_0x11859e);_0x5407fc[_0x310dca(0x293)]['pipe'](_0x34859f(_0x2e1569=>_0x2e1569[_0x310dca(0x247)]===_0x17f648[_0x310dca(0x390)]),_0x18dcf2(this['dispose$']))[_0x310dca(0x126)](_0x5410c2=>{var _0x219360=_0x310dca;const _0x4768ac=_0x5410c2,{objectId:_0x5d63a9}=_0x4768ac['data'];_0x5d63a9===_0x365fff?_0x1bea16[_0x219360(0x2ee)](_0x365fff):_0x1bea16[_0x219360(0x1c1)](_0x365fff,_0x5d63a9);});};_0x288d28(this['_univerInstanceService'][_0x531b45(0x2cc)](_0x336ae9[_0x531b45(0x1e7)]))[_0x531b45(0x36c)](_0x391a76(_0xc1b7e0=>_0xc1b7e0[_0x531b45(0x329)]()),_0x34859f(_0x161f0d=>!_0x4c87e0(_0x161f0d)),_0x18dcf2(this['dispose$']))[_0x531b45(0x126)](_0x3e3d3c=>{_0x480695(_0x3e3d3c);});}};ot=ur([we(0x0,_0x4a5888(_0x2d1333)),we(0x1,_0x24d354),we(0x2,_0x22b714),we(0x3,_0x4a5888(xe)),we(0x4,_0x4a5888(pe))],ot);var dr=Object[_0x264c89(0x2a4)],fr=(_0x2fcce6,_0x48db88,_0x4334a4,_0x21f94b)=>{for(var _0x450577=_0x21f94b>0x1?void 0x0:_0x21f94b?dr(_0x48db88,_0x4334a4):_0x48db88,_0x55a9de=_0x2fcce6['length']-0x1,_0x4276bf;_0x55a9de>=0x0;_0x55a9de--)(_0x4276bf=_0x2fcce6[_0x55a9de])&&(_0x450577=_0x4276bf(_0x450577)||_0x450577);return _0x450577;},_i=(_0x118ebb,_0x4a304f)=>(_0x182dd7,_0x5daee5)=>_0x4a304f(_0x182dd7,_0x5daee5,_0x118ebb);let Nt=class{constructor(_0x2e7c1d,_0x2d44de){var _0xc128dd=_0x264c89;this[_0xc128dd(0x24e)]=_0x2e7c1d,this[_0xc128dd(0x24c)]=_0x2d44de;}async[_0x264c89(0x22f)](_0x8d2cb1,_0x2a87a8){var _0x5912bc=_0x264c89,_0x8ae583;const {unitID:_0x1c8996,type:_0x20d169,revision:_0x315674=0x0}=_0x2a87a8,_0x2766a2=this[_0x5912bc(0x1c0)]()+'/'+_0x20d169+'/unit/'+_0x1c8996+_0x5912bc(0xf4)+_0x315674,_0x36d74e=(await this['_httpService']['get'](_0x2766a2))[_0x5912bc(0x26c)],_0x423579=(_0x8ae583=_0x36d74e[_0x5912bc(0x234)])==null?void 0x0:_0x8ae583[_0x5912bc(0x274)];if(_0x423579){const _0x54f2df=_0x423579==null?void 0x0:_0x423579[_0x5912bc(0x14b)],_0x2fa243=_0x50082b[_0x5912bc(0x224)](_0x23ba02(_0x54f2df));_0x423579[_0x5912bc(0x14b)]=_0x2fa243,Object[_0x5912bc(0x32e)](_0x423579[_0x5912bc(0x1bb)])['forEach'](([,_0x281563])=>{var _0x3ff711=_0x5912bc;const _0x4d35c7=_0x281563[_0x3ff711(0x14b)],_0x3b749d=_0x50082b[_0x3ff711(0x224)](_0x23ba02(_0x4d35c7));_0x281563[_0x3ff711(0x14b)]=_0x3b749d;});}return _0x36d74e;}async[_0x264c89(0x21b)](_0x13b685,_0x281c54){var _0x282dc8=_0x264c89;const {unitID:_0x5a42b5,type:_0x1c5a30,blockID:_0x236166}=_0x281c54,_0x3451a6=this[_0x282dc8(0x2c6)]()+'/'+_0x1c5a30+_0x282dc8(0x238)+_0x5a42b5+_0x282dc8(0x1b2)+_0x236166;return(await this[_0x282dc8(0x24c)]['get'](_0x3451a6))[_0x282dc8(0x26c)];}async[_0x264c89(0x356)](_0x21e3ff,_0x4dd3b3){var _0x4213d9=_0x264c89;const {unitID:_0x333a7a,type:_0x199ef8,blockID:_0x4a220c}=_0x4dd3b3,_0x25914d=this['_getAPIPrefix']()+_0x4213d9(0x1b2)+_0x199ef8+_0x4213d9(0x238)+_0x333a7a+'/block/'+_0x4a220c;return(await this[_0x4213d9(0x24c)][_0x4213d9(0xff)](_0x25914d))[_0x4213d9(0x26c)];}async[_0x264c89(0x2d0)](_0xb53314,_0x1243d1){var _0x14711b=_0x264c89;const {unitID:_0x370383,type:_0x17ac65,from:_0x2f85bf,to:_0x3877c1}=_0x1243d1,_0x14709d=this[_0x14711b(0x2c6)]()+'/'+_0x17ac65+_0x14711b(0x238)+_0x370383+'/fetchmissing?from='+_0x2f85bf+_0x14711b(0xcf)+_0x3877c1;return(await this['_httpService'][_0x14711b(0xff)](_0x14709d))[_0x14711b(0x26c)];}[_0x264c89(0x1c0)](){var _0x43725e=_0x264c89,_0x185548;return(_0x185548=this[_0x43725e(0x24e)][_0x43725e(0x343)](Sn))!=null?_0x185548:this[_0x43725e(0x2c6)]();}[_0x264c89(0x2c6)](){var _0x558092=_0x264c89,_0x3fb35b,_0x130810;const _0x1cc7c7=this['_configService'][_0x558092(0x343)](mn),_0x4220f2=this['_configService'][_0x558092(0x343)](q);return(_0x130810=(_0x3fb35b=_0x4220f2==null?void 0x0:_0x4220f2['snapshotServerUrl'])!=null?_0x3fb35b:_0x1cc7c7)!=null?_0x130810:gn;}async[_0x264c89(0x1f8)](_0x571c82,_0x387441){var _0x523ddc=_0x264c89;const _0x5fe91f=_0x523ddc(0x265)+_0x387441['type']+_0x523ddc(0x238)+_0x387441[_0x523ddc(0x12d)]+_0x523ddc(0x26e);return(await this[_0x523ddc(0x24c)][_0x523ddc(0xff)](_0x5fe91f,{'params':{'resourceId':JSON[_0x523ddc(0x12e)](_0x387441[_0x523ddc(0x30a)])}}))[_0x523ddc(0x26c)];}['saveSnapshot'](){var _0x5eb9a3=_0x264c89;throw new Error(_0x5eb9a3(0x1d8));}['saveSheetBlock'](){var _0x2e827b=_0x264c89;throw new Error(_0x2e827b(0x1d8));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x264c89(0x337)](){var _0x99114f=_0x264c89;throw new Error(_0x99114f(0x1d8));}[_0x264c89(0x392)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x309343),_i(0x1,_0x4a5888(_0x4207d7))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x26dfcc,_0x1151f7,_0x1e6e4f,_0x3be3be)=>{var _0x1c069b=_0x264c89;for(var _0x209827=_0x3be3be>0x1?void 0x0:_0x3be3be?vr(_0x1151f7,_0x1e6e4f):_0x1151f7,_0x4598e8=_0x26dfcc[_0x1c069b(0x20a)]-0x1,_0x162b01;_0x4598e8>=0x0;_0x4598e8--)(_0x162b01=_0x26dfcc[_0x4598e8])&&(_0x209827=_0x162b01(_0x209827)||_0x209827);return _0x209827;},Pe=(_0x493f4f,_0x5eb48f)=>(_0x4b9f16,_0x4a5e71)=>_0x5eb48f(_0x4b9f16,_0x4a5e71,_0x493f4f);let Dt=class extends _0x347939{constructor(_0x29b43f,_0x28615d,_0xbd09f1,_0x2abb86,_0x4ad22a){var _0x5a6981=_0x264c89;super(_0x29b43f,_0x28615d,_0xbd09f1),this[_0x5a6981(0x303)]=_0x2abb86,this[_0x5a6981(0xc7)]=_0x4ad22a;}[_0x264c89(0x2dc)](_0x28a071,_0x49d32a){var _0x5abf60=_0x264c89;const _0x9c80cc=this[_0x5abf60(0x344)](_0x28a071);if(_0x9c80cc)try{const _0x326e56=this[_0x5abf60(0x250)](_0x9c80cc,_0x49d32a);this['_substituteUndoStack'](_0x28a071,_0x326e56);}catch(_0xfc9628){this[_0x5abf60(0xc7)][_0x5abf60(0x1f3)](_0x5abf60(0x23b),_0xfc9628),this[_0x5abf60(0x162)](_0x28a071);}const _0x1948ab=this[_0x5abf60(0x3ae)](_0x28a071);if(_0x1948ab)try{const _0x15d4c6=this[_0x5abf60(0x250)](_0x1948ab,_0x49d32a);this[_0x5abf60(0x17e)](_0x28a071,_0x15d4c6);}catch(_0x357368){this[_0x5abf60(0xc7)][_0x5abf60(0x1f3)](_0x357368),this[_0x5abf60(0x380)](_0x28a071);}}[_0x264c89(0x162)](_0x5ab2f8){var _0x4f67a8=_0x264c89;const _0x421df0=this[_0x4f67a8(0x344)](_0x5ab2f8);_0x421df0&&(_0x421df0['length']=0x0,this[_0x4f67a8(0x30c)]());}[_0x264c89(0x380)](_0x54a67a){var _0xfbf2f1=_0x264c89;const _0x4b0b6b=this[_0xfbf2f1(0x3ae)](_0x54a67a);_0x4b0b6b&&(_0x4b0b6b['length']=0x0,this[_0xfbf2f1(0x30c)]());}['_substituteUndoStack'](_0x2d088f,_0x374862){var _0x5907e4=_0x264c89;this[_0x5907e4(0x23d)][_0x5907e4(0x2ba)](_0x2d088f,_0x374862),this[_0x5907e4(0x30c)]();}['_substituteRedoStack'](_0x317936,_0x24c7dc){var _0x5e8490=_0x264c89;this[_0x5e8490(0x283)][_0x5e8490(0x2ba)](_0x317936,_0x24c7dc),this[_0x5e8490(0x30c)]();}['_transformStack'](_0x2e2b91,_0x40871a){var _0x531bac=_0x264c89;const _0x1f8880=[];let _0xf38d98=_0x40871a,_0x548820=_0x40871a;for(let _0x363948=_0x2e2b91['length']-0x1;_0x363948>=0x0;_0x363948--){const {unitID:_0x3df26c,undoMutations:_0x1f69ab,redoMutations:_0x44c15f}=_0x2e2b91[_0x363948],_0x28fff7=this['_transformService'][_0x531bac(0x112)](_0xf38d98,_0x1f69ab),_0x55afc3=this['_transformService']['transformMutationsWithChangeset'](_0x548820,_0x44c15f);if(_0x1a277c(_0x28fff7)||_0x1a277c(_0x55afc3)){this[_0x531bac(0xc7)][_0x531bac(0x1f3)](_0x531bac(0x23b),'transformStack\x20failed!',_0x28fff7,_0x55afc3);break;}_0xf38d98=_0x28fff7['c1Prime'],_0x548820=_0x55afc3[_0x531bac(0x212)],_0x1f8880[_0x531bac(0x157)]({'unitID':_0x3df26c,'undoMutations':_0x28fff7[_0x531bac(0x145)],'redoMutations':_0x55afc3[_0x531bac(0x145)]});}return _0x1f8880[_0x531bac(0x242)]();}};Dt=pr([Pe(0x0,_0x24d354),Pe(0x1,_0x2c2824),Pe(0x2,_0x5d1239),Pe(0x3,_0x389c1c),Pe(0x4,_0x1144bf)],Dt);var mr=Object[_0x264c89(0x2b0)],gr=Object[_0x264c89(0x2a4)],Sr=(_0x460a81,_0x2df557,_0x594998)=>_0x2df557 in _0x460a81?mr(_0x460a81,_0x2df557,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594998}):_0x460a81[_0x2df557]=_0x594998,Er=(_0x2bd4ce,_0x52fa86,_0x380e62,_0x4d48de)=>{var _0x2e5c1a=_0x264c89;for(var _0x5b2028=_0x4d48de>0x1?void 0x0:_0x4d48de?gr(_0x52fa86,_0x380e62):_0x52fa86,_0x3a09a0=_0x2bd4ce[_0x2e5c1a(0x20a)]-0x1,_0x401a0f;_0x3a09a0>=0x0;_0x3a09a0--)(_0x401a0f=_0x2bd4ce[_0x3a09a0])&&(_0x5b2028=_0x401a0f(_0x5b2028)||_0x5b2028);return _0x5b2028;},St=(_0x9a422e,_0x25d3f2)=>(_0x2a9d33,_0x5ed644)=>_0x25d3f2(_0x2a9d33,_0x5ed644,_0x9a422e),Ir=(_0x5b5e48,_0x3e2de2,_0x1aa1dc)=>Sr(_0x5b5e48,_0x3e2de2+'',_0x1aa1dc);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x35623e{constructor(_0xee8c81,_0x61c508,_0x2c2081,_0x499cd5){var _0x11dc81=_0x264c89;super(),N(this,'_config'),(this['_logService']=_0x61c508,this['_injector']=_0x2c2081,this[_0x11dc81(0x24e)]=_0x499cd5);const {..._0x228540}=_0x143398({},wn,_0xee8c81);if(!_0x228540[_0x11dc81(0x397)])throw new Error(_0x11dc81(0x302));this[_0x11dc81(0x345)]=_0x228540,this[_0x11dc81(0x24e)][_0x11dc81(0xde)](q,_0x228540);}[_0x264c89(0x2ab)](){var _0x5bb37f=_0x264c89;this[_0x5bb37f(0x208)](),this[_0x5bb37f(0x25a)]();}['_registerDependencies'](){var _0x319ccb=_0x264c89,_0x54ec2a,_0x55f312;this['_injector'][_0x319ccb(0x341)](_0x2defcd)&&this[_0x319ccb(0xc7)][_0x319ccb(0x1f3)](_0x319ccb(0x249),_0x319ccb(0x1cf));const _0x3230da=_0x628a37([[_0x2defcd,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x319ccb(0x345)][_0x319ccb(0x397)]}],[_0x55b460,{'useClass':Nt}],[_0x16034b,{'useClass':Rt}],[_0x1e065e,{'useClass':Ot}],[_0x5c9f7d,{'useClass':yt}],[st],[Ct]],(_0x54ec2a=this[_0x319ccb(0x345)])==null?void 0x0:_0x54ec2a[_0x319ccb(0xc0)]);if(!((_0x55f312=this['_config'])!=null&&_0x55f312['enableSingleActiveInstanceLock'])){const _0x4552d5=_0x3230da[_0x319ccb(0x246)](([_0x4e40f1])=>_0x4e40f1===ht);_0x4552d5!==-0x1&&_0x3230da[_0x319ccb(0x2b1)](_0x4552d5,0x1);}_0x2363b4(this[_0x319ccb(0x154)],_0x3230da);}['_initDependencies'](){var _0x16801b=_0x264c89,_0x44e619,_0xea42c0,_0x5d4b63;this[_0x16801b(0x154)][_0x16801b(0xff)](_0x4207d7)[_0x16801b(0x1c7)]({'priority':0x14,'interceptor':_0x3d7339({'maxParallel':0x6})}),(_0x44e619=this['_config'])!=null&&_0x44e619[_0x16801b(0x115)]||(_0xea42c0=this[_0x16801b(0x154)][_0x16801b(0xff)](J,_0x3b9c4c[_0x16801b(0xdc)]))==null||_0xea42c0['disableLocalCache'](),(_0x5d4b63=this['_config'])!=null&&_0x5d4b63[_0x16801b(0x34a)]&&_0xe94e4f(this['_injector'],[[rt]]),_0xe94e4f(this[_0x16801b(0x154)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x5669bd(_0x575b7f,_0x5a64d4),St(0x1,_0x1144bf),St(0x2,_0x4a5888(_0x2d1333)),St(0x3,_0x309343)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};