@univerjs-pro/collaboration-client 0.5.5-nightly.202501201336 → 0.5.5-nightly.202501201606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2c8be9=_0x2fe9;(function(_0x3ef8d7,_0x14eb1a){var _0x57e911=_0x2fe9,_0x261cc8=_0x3ef8d7();while(!![]){try{var _0x1db15e=-parseInt(_0x57e911(0x1eb))/0x1*(-parseInt(_0x57e911(0x2a7))/0x2)+parseInt(_0x57e911(0x21e))/0x3+parseInt(_0x57e911(0x2aa))/0x4*(-parseInt(_0x57e911(0x40e))/0x5)+-parseInt(_0x57e911(0x306))/0x6+parseInt(_0x57e911(0x16e))/0x7+-parseInt(_0x57e911(0x19d))/0x8+-parseInt(_0x57e911(0x3c4))/0x9*(-parseInt(_0x57e911(0x209))/0xa);if(_0x1db15e===_0x14eb1a)break;else _0x261cc8['push'](_0x261cc8['shift']());}catch(_0x457787){_0x261cc8['push'](_0x261cc8['shift']());}}}(_0x538b,0xf3cab));var Li=Object[_0x2c8be9(0x2d0)],Mi=(_0x100949,_0xa3f6b9,_0x583c72)=>_0xa3f6b9 in _0x100949?Li(_0x100949,_0xa3f6b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583c72}):_0x100949[_0xa3f6b9]=_0x583c72,N=(_0x59a5fd,_0x1d1d3d,_0x5240c0)=>Mi(_0x59a5fd,typeof _0x1d1d3d!=_0x2c8be9(0x1d5)?_0x1d1d3d+'':_0x1d1d3d,_0x5240c0);import{createIdentifier as _0x1b03ca,Inject as _0x10d55b,Injector as _0x39e7be,Disposable as _0x156d7f,DisposableCollection as _0xfd1d66,toDisposable as _0x161f5f,IConfigService as _0x2b885e,ILogService as _0x292d5e,UserManagerService as _0x483bad,UniverInstanceType as _0x128e68,IUniverInstanceService as _0x10f563,LocaleService as _0x26c876,Optional as _0x1bb88c,RxDisposable as _0x589b61,Tools as _0x3f8dcb,Rectangle as _0x35983a,ICommandService as _0x2f506b,JSONX as _0x6300d8,CommandType as _0x371a38,IPermissionService as _0x1b7b77,IUndoRedoService as _0x42569f,sequenceExecute as _0x51c202,Workbook as _0x49c12f,MentionType as _0x2dd114,IAuthzIoService as _0x433e75,isInternalEditorID as _0x258900,LocalUndoRedoService as _0x506cd1,IContextService as _0x4ed369,DependentOn as _0x328ed5,Plugin as _0x33ae55,merge as _0x598041,mergeOverrideWithDependencies as _0x15a3c1,IMentionIOService as _0x51d453,registerDependencies as _0x3a9849,Quantity as _0x523e80,touchDependencies as _0x537b9a}from'@univerjs/core';import{Subject as _0x1705e4,merge as _0x1508ec,of as _0x3eeaa3,BehaviorSubject as _0x581433,takeUntil as _0x4d2f07,ReplaySubject as _0xa32232,take as _0xb6eed8,map as _0x234ac4,shareReplay as _0xc2fd7a,firstValueFrom as _0x79de2f,concatMap as _0x5a1149}from'rxjs';import{map as _0x276a35,take as _0x1a44d0,filter as _0x4e5b7f,delay as _0x5b16b9,takeUntil as _0x3a994c}from'rxjs/operators';import{HTTPService as _0x17ffb1,ISocketService as _0x11e925,MergeInterceptorFactory as _0x4412cf,HTTPRequest as _0x5be359,UniverNetworkPlugin as _0x3d07ed,ThresholdInterceptorFactory as _0x4a0c4a}from'@univerjs/network';import{CollaborationEvent as _0x4e7988,parseChangesetToProtocol as _0x3373e8,ISnapshotServerService as _0x1a508b,isTransformMutationsWithChangesetSuccess as _0x729cb6,ITransformService as _0x4e18e3,mapDocumentTypeToUniverType as _0x182cb6,RevisionService as _0x37bd29,isTransformChangesetsSuccess as _0x398cb8,CompressMutationService as _0x2994c6,parseProtocolChangeset as _0x13711c,SnapshotService as _0x532d6a,textEncoder as _0xac0c0d,b64DecodeUnicode as _0x159913,isTransformMutationsWithChangesetFailure as _0x334a34,UniverCollaborationPlugin as _0x27ad37}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xd5dbaf}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4df352}from'@univerjs/docs';import{SheetsSelectionsService as _0x309f5f,SetSelectionsOperation as _0x384e3c,InsertSheetMutation as _0x554aa8,EmptyMutation as _0x45c056,WorkbookEditablePermission as _0x30479c,SheetPermissionInitController as _0x422905,UniverSheetsPlugin as _0x21e146}from'@univerjs/sheets';import{ImageSourceType as _0x5f0b84,ImageUploadStatusType as _0x5731d1,IImageIoService as _0x152340}from'@univerjs/drawing';import{getGlobalObject as _0x1cf43a}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x2c8be9(0x270),Tn=_0x2c8be9(0x335),eo=_0x2c8be9(0x228),Cn=0x7d0,Rn=_0x2c8be9(0x2f1),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x2c8be9(0x2cd),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x2c8be9(0x43b),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x2c8be9(0x178),io=0x3e8,Un=_0x2c8be9(0x1dd),An=_0x2c8be9(0x43a),xn=_0x2c8be9(0x301),Ln=_0x2c8be9(0x39b),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro='/universer-api/uniscript';var Ii=(_0x381cf6=>(_0x381cf6[_0x381cf6[_0x2c8be9(0x426)]=0x0]=_0x2c8be9(0x426),_0x381cf6[_0x381cf6['OK']=0x1]='OK',_0x381cf6[_0x381cf6[_0x2c8be9(0x395)]=0x2]=_0x2c8be9(0x395),_0x381cf6[_0x381cf6['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x381cf6[_0x381cf6[_0x2c8be9(0x282)]=0x4]=_0x2c8be9(0x282),_0x381cf6[_0x381cf6[_0x2c8be9(0x20c)]=0x5]=_0x2c8be9(0x20c),_0x381cf6[_0x381cf6['ALREADY_EXISTS']=0x6]=_0x2c8be9(0x190),_0x381cf6[_0x381cf6['INVALID_ARGUMENT']=0x7]=_0x2c8be9(0x28c),_0x381cf6[_0x381cf6[_0x2c8be9(0x3e2)]=0x8]='TOO_MANY_REQUESTS',_0x381cf6[_0x381cf6[_0x2c8be9(0x1a8)]=0x9]=_0x2c8be9(0x1a8),_0x381cf6[_0x381cf6[_0x2c8be9(0x1a4)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x381cf6[_0x381cf6[_0x2c8be9(0x3db)]=0x1771]=_0x2c8be9(0x3db),_0x381cf6[_0x381cf6[_0x2c8be9(0x235)]=0x1772]=_0x2c8be9(0x235),_0x381cf6[_0x381cf6[_0x2c8be9(0x3a9)]=0x1773]=_0x2c8be9(0x3a9),_0x381cf6[_0x381cf6[_0x2c8be9(0x45e)]=0x1b59]=_0x2c8be9(0x45e),_0x381cf6[_0x381cf6[_0x2c8be9(0x2da)]=0x1b5a]=_0x2c8be9(0x2da),_0x381cf6[_0x381cf6[_0x2c8be9(0x45d)]=0x1b5b]=_0x2c8be9(0x45d),_0x381cf6[_0x381cf6['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c8be9(0x39a),_0x381cf6[_0x381cf6['APPLY_DUPLICATED']=0x1b5d]=_0x2c8be9(0x212),_0x381cf6[_0x381cf6['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x381cf6[_0x381cf6[_0x2c8be9(0x238)]=0x2329]=_0x2c8be9(0x238),_0x381cf6[_0x381cf6[_0x2c8be9(0x3d4)]=0x232a]=_0x2c8be9(0x3d4),_0x381cf6[_0x381cf6[_0x2c8be9(0x428)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x381cf6[_0x381cf6[_0x2c8be9(0x16f)]=0x232c]=_0x2c8be9(0x16f),_0x381cf6[_0x381cf6[_0x2c8be9(0x17e)]=0x232d]=_0x2c8be9(0x17e),_0x381cf6[_0x381cf6['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2c8be9(0x31c),_0x381cf6[_0x381cf6[_0x2c8be9(0x403)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x381cf6[_0x381cf6[_0x2c8be9(0x2e2)]=0x2713]=_0x2c8be9(0x2e2),_0x381cf6[_0x381cf6[_0x2c8be9(0x271)]=0x2714]=_0x2c8be9(0x271),_0x381cf6[_0x381cf6[_0x2c8be9(0x1c1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x381cf6[_0x381cf6[_0x2c8be9(0x3e8)]=-0x1]=_0x2c8be9(0x3e8),_0x381cf6))(Ii||{}),Q=(_0x2ee957=>(_0x2ee957[_0x2ee957[_0x2c8be9(0x1c7)]=0x0]=_0x2c8be9(0x1c7),_0x2ee957[_0x2ee957[_0x2c8be9(0x26d)]=0x1]='UNIVER_DOC',_0x2ee957[_0x2ee957[_0x2c8be9(0x295)]=0x2]=_0x2c8be9(0x295),_0x2ee957[_0x2ee957[_0x2c8be9(0x368)]=0x3]=_0x2c8be9(0x368),_0x2ee957[_0x2ee957[_0x2c8be9(0x26e)]=0x4]=_0x2c8be9(0x26e),_0x2ee957[_0x2ee957['UNRECOGNIZED']=-0x1]=_0x2c8be9(0x3e8),_0x2ee957))(Q||{}),F=(_0x6f25db=>(_0x6f25db[_0x6f25db[_0x2c8be9(0x41f)]=0x0]='UNKNOWN_CMD',_0x6f25db[_0x6f25db[_0x2c8be9(0x401)]=0x1]=_0x2c8be9(0x401),_0x6f25db[_0x6f25db[_0x2c8be9(0x2af)]=0x2]='JOIN',_0x6f25db[_0x6f25db[_0x2c8be9(0x274)]=0x3]='LEAVE',_0x6f25db[_0x6f25db['INGEST']=0x4]='INGEST',_0x6f25db[_0x6f25db['HEARTBEAT']=0x5]=_0x2c8be9(0x208),_0x6f25db[_0x6f25db[_0x2c8be9(0x43f)]=0x6]=_0x2c8be9(0x43f),_0x6f25db[_0x6f25db[_0x2c8be9(0x3e8)]=-0x1]=_0x2c8be9(0x3e8),_0x6f25db))(F||{}),Ee=(_0x2f35d1=>(_0x2f35d1[_0x2f35d1[_0x2c8be9(0x246)]=0x0]=_0x2c8be9(0x246),_0x2f35d1[_0x2f35d1['OK']=0x1]='OK',_0x2f35d1[_0x2f35d1['FAIL']=0x2]='FAIL',_0x2f35d1[_0x2f35d1['JOIN_ROOM_FULL']=0x3e9]=_0x2c8be9(0x39f),_0x2f35d1[_0x2f35d1['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2c8be9(0x165),_0x2f35d1[_0x2f35d1[_0x2c8be9(0x264)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2f35d1[_0x2f35d1[_0x2c8be9(0x20d)]=0x3ec]=_0x2c8be9(0x20d),_0x2f35d1[_0x2f35d1[_0x2c8be9(0x3e8)]=-0x1]='UNRECOGNIZED',_0x2f35d1))(Ee||{}),Ti=(_0x2864f9=>(_0x2864f9[_0x2864f9[_0x2c8be9(0x39c)]=0x0]=_0x2c8be9(0x39c),_0x2864f9[_0x2864f9[_0x2c8be9(0x233)]=0x1]=_0x2c8be9(0x233),_0x2864f9[_0x2864f9[_0x2c8be9(0x283)]=0x2]=_0x2c8be9(0x283),_0x2864f9[_0x2864f9[_0x2c8be9(0x1fd)]=0x3]=_0x2c8be9(0x1fd),_0x2864f9[_0x2864f9['UnitSnapshot']=0x4]=_0x2c8be9(0x2b4),_0x2864f9[_0x2864f9[_0x2c8be9(0x3e8)]=-0x1]=_0x2c8be9(0x3e8),_0x2864f9))(Ti||{});const q=_0x2c8be9(0x2a5),Wt={};var se=(_0x3b50af=>(_0x3b50af[_0x2c8be9(0x204)]=_0x2c8be9(0x204),_0x3b50af['PERMISSION_DENIED']=_0x2c8be9(0x3f7),_0x3b50af[_0x2c8be9(0x1ec)]=_0x2c8be9(0x1ec),_0x3b50af[_0x2c8be9(0x218)]='CLOSE_ROOM',_0x3b50af[_0x2c8be9(0x18d)]='JOIN_ROOM_FAILED',_0x3b50af['SOCKET_FAILED_RETRY']=_0x2c8be9(0x24f),_0x3b50af[_0x2c8be9(0x23d)]=_0x2c8be9(0x23d),_0x3b50af[_0x2c8be9(0x32f)]='SUBMIT_CHANGESET_TIMEOUT',_0x3b50af))(se||{});class pe{constructor(){var _0x31b63e=_0x2c8be9;N(this,_0x31b63e(0x205),new _0x1705e4()),N(this,_0x31b63e(0x2cf),this[_0x31b63e(0x205)][_0x31b63e(0x343)]());}['emitEvent'](_0x546dc3){var _0x28a954=_0x2c8be9;this[_0x28a954(0x205)]['next'](_0x546dc3);}}const Mn=_0x1b03ca('univer-pro.collaboration-client.network-condition.service');function $n(_0x35b054){var _0x2c0e12=_0x2c8be9,_0x17eac9,_0x314d17,_0x192c3e,_0x12f693,_0x20f0aa;const _0xe407cd=_0x35b054[_0x2c0e12(0x213)],_0x1d9a9a=JSON[_0x2c0e12(0x25b)](_0xe407cd);switch(_0x1d9a9a[_0x2c0e12(0x174)]){case F[_0x2c0e12(0x208)]:case F[_0x2c0e12(0x401)]:{const _0x56b6af=_0x1d9a9a['infoRsp'];return{..._0x1d9a9a,'data':_0x56b6af,'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};}case F['JOIN']:{const _0x3a58bb=_0x1d9a9a['joinRsp'];return{..._0x1d9a9a,'data':_0x3a58bb,'cmd':_0x1d9a9a['cmd']};}case F[_0x2c0e12(0x43f)]:{const _0x167b73=_0x1d9a9a[_0x2c0e12(0x26a)];switch(_0x167b73[_0x2c0e12(0x3ff)]){case _0x4e7988[_0x2c0e12(0x3c3)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':(_0x17eac9=_0x167b73[_0x2c0e12(0x192)])==null?void 0x0:_0x17eac9['cs']},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x2d3)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':(_0x314d17=_0x167b73[_0x2c0e12(0x243)])==null?void 0x0:_0x314d17['cs']},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988['NEW_CHANGESETS']:return{..._0x1d9a9a,'data':{..._0x167b73,'data':(_0x192c3e=_0x167b73[_0x2c0e12(0x227)])==null?void 0x0:_0x192c3e['cs']},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x24b)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':(_0x12f693=_0x167b73[_0x2c0e12(0x364)])==null?void 0x0:_0x12f693['cs']},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988['CHANGESET_SHOULD_RETRY']:return{..._0x1d9a9a,'data':{..._0x167b73,'data':(_0x20f0aa=_0x167b73[_0x2c0e12(0x2c2)])==null?void 0x0:_0x20f0aa['cs']},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x384)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73['updateCursorEvent']},'cmd':_0x1d9a9a['cmd']};case _0x4e7988[_0x2c0e12(0x181)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x29d)]},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x28f)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x29c)]},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988['LIVESHARE_NEW_HOST']:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x445)]},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988['LIVESHARE_FETCH_OPERATIONS']:case _0x4e7988[_0x2c0e12(0x352)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x320)]},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x367)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73['liveShareNewHost']},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x23f)]:return{..._0x1d9a9a,'data':_0x167b73,'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x3e5)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x323)]},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x1a1)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x2bb)]},'cmd':_0x1d9a9a[_0x2c0e12(0x174)]};case _0x4e7988[_0x2c0e12(0x2f5)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x41d)]},'cmd':_0x1d9a9a['cmd']};case _0x4e7988[_0x2c0e12(0x2eb)]:return{..._0x1d9a9a,'data':{..._0x167b73,'data':_0x167b73[_0x2c0e12(0x176)]},'cmd':_0x1d9a9a['cmd']};default:return _0x1d9a9a;}}default:return _0x1d9a9a;}}function Hn(_0x53a7a1){var _0x552c73=_0x2c8be9;switch(_0x53a7a1['cmd']){case F[_0x552c73(0x208)]:case F[_0x552c73(0x401)]:return JSON[_0x552c73(0x431)]({'cmd':_0x53a7a1[_0x552c73(0x174)],'routeKey':_0x53a7a1[_0x552c73(0x249)]});case F['INGEST']:{let _0x38ed45;switch(_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x3ff)]){case _0x4e7988[_0x552c73(0x384)]:{_0x38ed45={'eventID':_0x4e7988[_0x552c73(0x384)],'updateCursorEvent':_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x213)]};break;}case _0x4e7988[_0x552c73(0x28f)]:{_0x38ed45={'eventID':_0x4e7988[_0x552c73(0x28f)],'leaveEvent':_0x53a7a1[_0x552c73(0x213)]['data']};break;}case _0x4e7988[_0x552c73(0x181)]:{_0x38ed45={'eventID':_0x4e7988[_0x552c73(0x181)],'joinEvent':_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x213)]};break;}case _0x4e7988['LIVESHARE_NEW_HOST']:{_0x38ed45={'eventID':_0x4e7988[_0x552c73(0x402)],'liveShareNewHost':_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x213)]};break;}case _0x4e7988[_0x552c73(0x352)]:{_0x38ed45={'eventID':_0x4e7988['LIVESHARE_OPERATION'],'liveShareOperation':_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x213)]};break;}case _0x4e7988[_0x552c73(0x367)]:{_0x38ed45={'eventID':_0x4e7988['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x53a7a1['data']['data']};break;}case _0x4e7988[_0x552c73(0x230)]:{_0x38ed45={'eventID':_0x4e7988['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x213)]};break;}case _0x4e7988[_0x552c73(0x3af)]:{_0x38ed45={'eventID':_0x4e7988[_0x552c73(0x3af)]};break;}default:_0x38ed45={'eventID':_0x53a7a1[_0x552c73(0x213)][_0x552c73(0x3ff)]};}return JSON[_0x552c73(0x431)]({'cmd':_0x53a7a1[_0x552c73(0x174)],'routeKey':_0x53a7a1['routeKey'],'collaMsg':_0x38ed45});}case F[_0x552c73(0x2af)]:return JSON[_0x552c73(0x431)]({'cmd':_0x53a7a1[_0x552c73(0x174)],'routeKey':_0x53a7a1['routeKey'],'joinReq':_0x53a7a1[_0x552c73(0x213)]});case F[_0x552c73(0x274)]:return JSON[_0x552c73(0x431)]({'cmd':_0x53a7a1[_0x552c73(0x174)],'routeKey':_0x53a7a1[_0x552c73(0x249)],'leaveReq':_0x53a7a1[_0x552c73(0x213)]});default:throw new Error(_0x552c73(0x412));}}var kn=Object[_0x2c8be9(0x2d0)],jn=Object[_0x2c8be9(0x1da)],Bn=(_0x3ac654,_0x463d30,_0x2ed294,_0x10a0ba)=>{var _0x562272=_0x2c8be9;for(var _0xb6d5ab=_0x10a0ba>0x1?void 0x0:_0x10a0ba?jn(_0x463d30,_0x2ed294):_0x463d30,_0x174da5=_0x3ac654[_0x562272(0x387)]-0x1,_0x15de17;_0x174da5>=0x0;_0x174da5--)(_0x15de17=_0x3ac654[_0x174da5])&&(_0xb6d5ab=(_0x10a0ba?_0x15de17(_0x463d30,_0x2ed294,_0xb6d5ab):_0x15de17(_0xb6d5ab))||_0xb6d5ab);return _0x10a0ba&&_0xb6d5ab&&kn(_0x463d30,_0x2ed294,_0xb6d5ab),_0xb6d5ab;},Ue=(_0xeaa019,_0xcdaa7e)=>(_0x1c0f99,_0x439373)=>_0xcdaa7e(_0x1c0f99,_0x439373,_0xeaa019);const Ci=_0x1b03ca('univer-pro.collaboration-client-socket-service');function Fn(_0x5a5f03,_0x2f18e3,_0x2ce2dd){var _0x5156c3=_0x2c8be9;return _0x5a5f03+'/'+_0x2f18e3+_0x5156c3(0x162)+_0x2ce2dd+_0x5156c3(0x3be);}let Et=class extends _0x156d7f{constructor(_0x58f628,_0x4c9b3c,_0x1bed15,_0x3e3023,_0x1f504f){var _0xb7c718=_0x2c8be9;super(),this[_0xb7c718(0x1e8)]=_0x58f628,this['_http']=_0x4c9b3c,this[_0xb7c718(0x187)]=_0x1bed15,this['_logService']=_0x3e3023,this[_0xb7c718(0x32b)]=_0x1f504f;}[_0x2c8be9(0x2b5)](_0x2d9b60){var _0x49b11a=_0x2c8be9;const _0x34f8d1=this[_0x49b11a(0x1e8)][_0x49b11a(0x2ee)](_0x11e925);if(!_0x34f8d1)throw new Error(_0x49b11a(0x229));const _0x290b1f=_0x34f8d1[_0x49b11a(0x2b5)](_0x2d9b60);if(!_0x290b1f)throw new Error(_0x49b11a(0x44a));const _0xafd7e2=new _0xfd1d66(),_0x400d7f=new _0x1705e4();_0xafd7e2['add'](_0x290b1f[_0x49b11a(0x1ca)][_0x49b11a(0x251)](_0xea1b41=>_0x400d7f[_0x49b11a(0x344)](_0xea1b41))),_0xafd7e2[_0x49b11a(0x2f8)](_0x161f5f(()=>_0x400d7f[_0x49b11a(0x46b)]()));const _0x280240=new _0x1705e4();_0xafd7e2[_0x49b11a(0x2f8)](_0x290b1f[_0x49b11a(0x226)][_0x49b11a(0x251)](_0xafacc=>_0x280240[_0x49b11a(0x344)](_0xafacc))),_0xafd7e2[_0x49b11a(0x2f8)](_0x161f5f(()=>_0x280240['complete']()));const _0x38c39f=new _0x1705e4();_0xafd7e2[_0x49b11a(0x2f8)](_0x290b1f[_0x49b11a(0x28b)]['subscribe'](_0x27abfa=>{var _0x234373=_0x49b11a;const _0x4692ac=$n(_0x27abfa);_0x38c39f[_0x234373(0x344)](_0x4692ac);})),_0xafd7e2['add'](_0x161f5f(()=>_0x38c39f[_0x49b11a(0x46b)]()));let _0x55c96f;const _0x5a2332=()=>{var _0x5ea336=_0x49b11a;_0x280240[_0x5ea336(0x344)](new Event(_0x5ea336(0x175))),_0x400d7f[_0x5ea336(0x344)](new CloseEvent(_0x5ea336(0x175))),_0x55c96f[_0x5ea336(0x23c)]();};return _0x55c96f={'memberID':'','close$':_0x400d7f[_0x49b11a(0x343)](),'error$':_0x280240['asObservable'](),'open$':_0x290b1f[_0x49b11a(0x18e)],'message$':_0x38c39f[_0x49b11a(0x343)](),'send':_0x52031a=>{var _0xc6ab54=_0x49b11a;if(_0x52031a[_0xc6ab54(0x174)]===F['INGEST']){if(_0x52031a['data'][_0xc6ab54(0x3ff)]===_0x4e7988[_0xc6ab54(0x285)]){this[_0xc6ab54(0x337)](_0x55c96f,_0x52031a[_0xc6ab54(0x213)])[_0xc6ab54(0x414)](_0x24fd27=>{var _0xd9c3af=_0xc6ab54;this[_0xd9c3af(0x17d)][_0xd9c3af(0x2ce)](_0x24fd27),_0x5a2332();});return;}if(_0x52031a[_0xc6ab54(0x213)][_0xc6ab54(0x3ff)]===_0x4e7988[_0xc6ab54(0x31b)]){const _0x280c25=_0x52031a[_0xc6ab54(0x213)];this[_0xc6ab54(0x3cf)](_0x280c25)['then'](_0x231ec1=>{var _0x85cbdb=_0xc6ab54;_0x38c39f['next']({'cmd':F[_0x85cbdb(0x43f)],'code':Ee['OK'],'routeKey':_0x280c25[_0x85cbdb(0x213)]['unitID'],'routeType':'','data':{'eventID':_0x4e7988[_0x85cbdb(0x193)],'data':{'changesets':_0x231ec1}}});})[_0xc6ab54(0x414)](_0x9d9e51=>{var _0x22b103=_0xc6ab54;this[_0x22b103(0x17d)][_0x22b103(0x2ce)](_0x9d9e51),_0x5a2332();});return;}}_0x290b1f[_0xc6ab54(0x1f6)](Hn(_0x52031a));},'close':()=>{var _0x5b81d3=_0x49b11a;_0x290b1f[_0x5b81d3(0x23c)](),_0xafd7e2[_0x5b81d3(0x1d4)]();}},_0x55c96f;}async[_0x2c8be9(0x337)](_0x556817,_0x2bee09){var _0x5ab713=_0x2c8be9,_0x5e2b65,_0x409054;const {unitType:_0x44670c,unitID:_0x12ac65,changeset:_0x1ef92a}=_0x2bee09[_0x5ab713(0x213)],_0x3985c0={'unitID':_0x12ac65,'memberID':_0x556817['memberID'],'type':_0x44670c,'changeset':_0x3373e8(_0x1ef92a)},_0x5c6a70=this[_0x5ab713(0x187)]['getConfig'](Un),_0x1a7948=this[_0x5ab713(0x187)]['getConfig'](q),_0x4b8ea5=Fn((_0x409054=(_0x5e2b65=_0x1a7948==null?void 0x0:_0x1a7948[_0x5ab713(0x30a)])!=null?_0x5e2b65:_0x5c6a70)!=null?_0x409054:An,_0x44670c,_0x12ac65);try{await this[_0x5ab713(0x28e)][_0x5ab713(0x3da)](_0x4b8ea5,{'body':_0x3985c0});}catch(_0x35a26d){throw this[_0x5ab713(0x17d)][_0x5ab713(0x2ce)]('[CollaborationSession]',_0x5ab713(0x415)),_0x35a26d;}}async['_fetchMissChangesets'](_0x36d415){var _0x2dbf46=_0x2c8be9;const {unitID:_0x2ebfb5,from:_0x23a459,to:_0x1e3262,unitType:_0x3388c6}=_0x36d415[_0x2dbf46(0x213)];return(await this[_0x2dbf46(0x32b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2ebfb5,'type':_0x3388c6,'from':_0x23a459,'to':_0x1e3262}))[_0x2dbf46(0x1e9)];}};Et=Bn([Ue(0x0,_0x10d55b(_0x39e7be)),Ue(0x1,_0x10d55b(_0x17ffb1)),Ue(0x2,_0x2b885e),Ue(0x3,_0x292d5e),Ue(0x4,_0x1a508b)],Et);const Vn=_0x2c8be9(0x467);function Gn(_0xb98296){var _0x4c66d1=_0x2c8be9;return JSON[_0x4c66d1(0x431)](_0xb98296)[_0x4c66d1(0x387)];}class Ri{constructor(){var _0x277997=_0x2c8be9;N(this,_0x277997(0x292),new _0x1705e4()),N(this,_0x277997(0x46e),this[_0x277997(0x292)][_0x277997(0x343)]());}[_0x2c8be9(0x234)](_0x59f043){var _0x5e54c7=_0x2c8be9;this['_commentUpdate$'][_0x5e54c7(0x344)](_0x59f043);}}var Wn=Object[_0x2c8be9(0x2d0)],Kn=Object[_0x2c8be9(0x1da)],Yn=(_0x137965,_0xe2792b,_0x2edfc7,_0x2db220)=>{for(var _0x24328b=_0x2db220>0x1?void 0x0:_0x2db220?Kn(_0xe2792b,_0x2edfc7):_0xe2792b,_0x2f49c9=_0x137965['length']-0x1,_0x58a724;_0x2f49c9>=0x0;_0x2f49c9--)(_0x58a724=_0x137965[_0x2f49c9])&&(_0x24328b=(_0x2db220?_0x58a724(_0xe2792b,_0x2edfc7,_0x24328b):_0x58a724(_0x24328b))||_0x24328b);return _0x2db220&&_0x24328b&&Wn(_0xe2792b,_0x2edfc7,_0x24328b),_0x24328b;},Kt=(_0x500d94,_0x734b00)=>(_0x102d25,_0x1286af)=>_0x734b00(_0x102d25,_0x1286af,_0x500d94);let xe=class extends _0x156d7f{constructor(_0x27f399,_0x5f1fac){var _0xdf634c=_0x2c8be9;super(),N(this,_0xdf634c(0x168),new Map()),N(this,_0xdf634c(0x2f3),new _0x1705e4()),(this[_0xdf634c(0x2f4)]=_0x27f399,this[_0xdf634c(0x1df)]=_0x5f1fac,this['disposeWithMe'](_0x1508ec(this[_0xdf634c(0x2f4)][_0xdf634c(0x1bb)](_0x128e68[_0xdf634c(0x295)])[_0xdf634c(0x3f5)](_0x276a35(_0x1d2fcd=>_0x1d2fcd[_0xdf634c(0x315)]())),this[_0xdf634c(0x2f4)][_0xdf634c(0x1bb)](_0x128e68[_0xdf634c(0x26d)])[_0xdf634c(0x3f5)](_0x276a35(_0x50a7b6=>_0x50a7b6['getUnitId']())),this[_0xdf634c(0x2f4)][_0xdf634c(0x1bb)](_0x128e68[_0xdf634c(0x368)])[_0xdf634c(0x3f5)](_0x276a35(_0x246309=>_0x246309[_0xdf634c(0x315)]())))[_0xdf634c(0x251)](_0x1225e5=>this[_0xdf634c(0x1b7)](_0x1225e5))));}['waitForRoom$'](_0x55f99f){var _0x1e4906=_0x2c8be9;return this['_roomMembers']['has'](_0x55f99f)?_0x3eeaa3(this[_0x1e4906(0x168)][_0x1e4906(0x2ee)](_0x55f99f)):this['_roomCreated$']['pipe'](_0x276a35(_0x176fb9=>{var _0x58a9d5=_0x1e4906;if(_0x176fb9===_0x55f99f)return this[_0x58a9d5(0x168)]['get'](_0x176fb9);}));}[_0x2c8be9(0x2b6)](_0x20713c){var _0x1a9278=_0x2c8be9;this[_0x1a9278(0x1df)][_0x1a9278(0x2b6)](_0x20713c);}[_0x2c8be9(0x429)](){var _0x2ddb47=_0x2c8be9;return this[_0x2ddb47(0x1df)][_0x2ddb47(0x429)]();}[_0x2c8be9(0x382)](_0x39a0ca,_0x2ac17f){var _0x265118=_0x2c8be9;let _0x3faae0=this[_0x265118(0x168)][_0x265118(0x2ee)](_0x39a0ca);_0x3faae0||(_0x3faae0=new qn(),this[_0x265118(0x168)][_0x265118(0x2b9)](_0x39a0ca,_0x3faae0),this['_roomCreated$'][_0x265118(0x344)](_0x39a0ca)),_0x3faae0['updateMember'](_0x2ac17f);}[_0x2c8be9(0x288)](_0x19effb,_0x36e475){var _0x71ffcb=_0x2c8be9;const _0xb11f90=this[_0x71ffcb(0x168)]['get'](_0x19effb);_0xb11f90&&_0xb11f90[_0x71ffcb(0x288)](_0x36e475);}[_0x2c8be9(0x18b)](_0x132ebc){var _0x5d123a=_0x2c8be9;return this[_0x5d123a(0x168)][_0x5d123a(0x2ee)](_0x132ebc);}[_0x2c8be9(0x396)](_0x2e40de,_0x58ecc2){var _0x1f0fdd=_0x2c8be9;const _0x26bde5=this[_0x1f0fdd(0x168)]['get'](_0x2e40de);if(_0x26bde5)return _0x26bde5[_0x1f0fdd(0x396)](_0x58ecc2);}[_0x2c8be9(0x1b7)](_0x26c84c){var _0x9f428c=_0x2c8be9;const _0x254407=this[_0x9f428c(0x168)][_0x9f428c(0x2ee)](_0x26c84c);_0x254407&&(_0x254407[_0x9f428c(0x1d4)](),this[_0x9f428c(0x168)][_0x9f428c(0x3a8)](_0x26c84c));}[_0x2c8be9(0x1d4)](){var _0x3e75eb=_0x2c8be9;this[_0x3e75eb(0x168)][_0x3e75eb(0x41b)](_0x13391b=>_0x13391b[_0x3e75eb(0x1d4)]()),this[_0x3e75eb(0x168)]['clear'](),this[_0x3e75eb(0x2f3)][_0x3e75eb(0x46b)]();}};xe=Yn([Kt(0x0,_0x10f563),Kt(0x1,_0x10d55b(_0x483bad))],xe);class qn extends _0x156d7f{constructor(){var _0x5160dc=_0x2c8be9;super(...arguments),N(this,_0x5160dc(0x3ac),new Map()),N(this,_0x5160dc(0x353),new _0x581433(this[_0x5160dc(0x3ac)])),N(this,_0x5160dc(0x3bb),this[_0x5160dc(0x353)]['asObservable']());}[_0x2c8be9(0x1d4)](){var _0x456e67=_0x2c8be9;this[_0x456e67(0x3ac)]['clear']();}[_0x2c8be9(0x382)](_0x261a98){var _0x2f6c1b=_0x2c8be9;this[_0x2f6c1b(0x3ac)]['set'](_0x261a98['memberID'],_0x261a98),this[_0x2f6c1b(0x1e6)]();}[_0x2c8be9(0x288)](_0x14800e){var _0x9144b6=_0x2c8be9;this[_0x9144b6(0x3ac)]['delete'](_0x14800e);}[_0x2c8be9(0x396)](_0x44e3d2){var _0x2a3d35=_0x2c8be9;return this[_0x2a3d35(0x3ac)][_0x2a3d35(0x2ee)](_0x44e3d2);}['getAllMembers'](){var _0x5533ee=_0x2c8be9;return Array[_0x5533ee(0x1b5)](this[_0x5533ee(0x3ac)][_0x5533ee(0x2e3)]());}[_0x2c8be9(0x1e6)](){var _0x4e17cd=_0x2c8be9;this['_members$']['next'](this[_0x4e17cd(0x3ac)]);}}var zn=Object['defineProperty'],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x947491,_0x33b839,_0x384b3b,_0x4e74a6)=>{var _0x1d443c=_0x2c8be9;for(var _0x2e1807=_0x4e74a6>0x1?void 0x0:_0x4e74a6?Jn(_0x33b839,_0x384b3b):_0x33b839,_0x4f667b=_0x947491[_0x1d443c(0x387)]-0x1,_0x254eef;_0x4f667b>=0x0;_0x4f667b--)(_0x254eef=_0x947491[_0x4f667b])&&(_0x2e1807=(_0x4e74a6?_0x254eef(_0x33b839,_0x384b3b,_0x2e1807):_0x254eef(_0x2e1807))||_0x2e1807);return _0x4e74a6&&_0x2e1807&&zn(_0x33b839,_0x384b3b,_0x2e1807),_0x2e1807;},me=(_0x429862,_0x4bdca9)=>(_0x45b0db,_0x4dfc55)=>_0x4bdca9(_0x45b0db,_0x4dfc55,_0x429862),Te=(_0x4e4c85=>(_0x4e4c85[_0x4e4c85[_0x2c8be9(0x1fc)]=0x0]='IDLE',_0x4e4c85[_0x4e4c85[_0x2c8be9(0x3f1)]=0x1]=_0x2c8be9(0x3f1),_0x4e4c85[_0x4e4c85[_0x2c8be9(0x2e5)]=0x2]=_0x2c8be9(0x2e5),_0x4e4c85[_0x4e4c85[_0x2c8be9(0x3f8)]=0x3]=_0x2c8be9(0x3f8),_0x4e4c85))(Te||{});const Yt={[Ee['FAIL']]:_0x2c8be9(0x407),[Ee[_0x2c8be9(0x39f)]]:_0x2c8be9(0x432),[Ee[_0x2c8be9(0x165)]]:'session.room-not-exists',[Ee[_0x2c8be9(0x264)]]:'session.room-permission-denied',[Ee[_0x2c8be9(0x20d)]]:_0x2c8be9(0x3d1)};let It=class extends _0x589b61{constructor(_0x3f21dd,_0xa61aa5,_0x69720d,_0x2ec2f8,_0x3fb745,_0x11ce22,_0x5e5420,_0xc70f31,_0xa22b88){var _0x3ce966=_0x2c8be9;super(),N(this,_0x3ce966(0x284),new _0x581433(0x0)),N(this,_0x3ce966(0x2d7),this[_0x3ce966(0x284)][_0x3ce966(0x343)]()),N(this,_0x3ce966(0x205),new _0x1705e4()),N(this,_0x3ce966(0x2cf),this[_0x3ce966(0x205)]['asObservable']()),N(this,'_socket'),N(this,_0x3ce966(0x3dd)),N(this,_0x3ce966(0x299)),N(this,_0x3ce966(0x300),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x3f21dd,this[_0x3ce966(0x17d)]=_0x69720d,this[_0x3ce966(0x187)]=_0x2ec2f8,this[_0x3ce966(0x2c4)]=_0x3fb745,this['_memberService']=_0x11ce22,this[_0x3ce966(0x293)]=_0x5e5420,this['_collaborationUIEventService']=_0xc70f31,this[_0x3ce966(0x36a)]=_0xa22b88,this[_0x3ce966(0x300)]=!!this['_telemetryService'],_0xa61aa5[_0x3ce966(0x3f5)](_0x4d2f07(this['dispose$']))[_0x3ce966(0x251)](_0x96f117=>{var _0x372f94=_0x3ce966,_0x4ca589;typeof _0x96f117>'u'||(this[_0x372f94(0x1fa)]=_0x96f117,_0x96f117?(this[_0x372f94(0x3b4)](_0x96f117),this[_0x372f94(0x3dd)]=_0x96f117['message$'][_0x372f94(0x251)](_0x268662=>{var _0x53c045=_0x372f94;_0x268662[_0x53c045(0x249)]===this[_0x53c045(0x371)]&&this[_0x53c045(0x25d)](_0x268662);})):(this[_0x372f94(0x40b)](),this[_0x372f94(0x284)][_0x372f94(0x344)](0x2),(_0x4ca589=this[_0x372f94(0x3dd)])==null||_0x4ca589[_0x372f94(0x1de)](),this['_socketMessageSubscription']=null));}));}get[_0x2c8be9(0x1c3)](){var _0x4f5503=_0x2c8be9;return this[_0x4f5503(0x284)][_0x4f5503(0x2ca)]();}['getMemberID'](){var _0x1d91cc=_0x2c8be9,_0x4f958f,_0x31b89f;return(_0x31b89f=(_0x4f958f=this['_socket'])==null?void 0x0:_0x4f958f[_0x1d91cc(0x30f)])!=null?_0x31b89f:null;}['dispose'](){var _0x100428=_0x2c8be9;super[_0x100428(0x1d4)](),this[_0x100428(0x40d)][_0x100428(0x344)](),this[_0x100428(0x40d)][_0x100428(0x46b)]();}[_0x2c8be9(0x23c)](){var _0x2ce474=_0x2c8be9,_0x4df327,_0x5c88f8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4df327=this[_0x2ce474(0x1fa)])==null||_0x4df327['send']({'cmd':F[_0x2ce474(0x274)],'data':{'roomID':this[_0x2ce474(0x371)]}}),(_0x5c88f8=this[_0x2ce474(0x1fa)])==null||_0x5c88f8[_0x2ce474(0x23c)](),this[_0x2ce474(0x205)]['complete'](),this[_0x2ce474(0x284)][_0x2ce474(0x46b)](),this['dispose']();}[_0x2c8be9(0x25d)](_0x488be4){var _0x4b7cb6=_0x2c8be9;_0x488be4[_0x4b7cb6(0x174)]===F[_0x4b7cb6(0x2af)]?this[_0x4b7cb6(0x2cc)](_0x488be4):_0x488be4[_0x4b7cb6(0x174)]===F[_0x4b7cb6(0x43f)]&&this[_0x4b7cb6(0x298)](_0x488be4);}['_joinRoom'](_0x223e75){var _0x1868d6=_0x2c8be9;this[_0x1868d6(0x284)][_0x1868d6(0x344)](0x1),_0x223e75[_0x1868d6(0x1f6)]({'cmd':F[_0x1868d6(0x2af)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1868d6(0x371)]}]}});}[_0x2c8be9(0x2cc)](_0x1c0b30){var _0x20b449=_0x2c8be9,_0x11a2e1;if(_0x1c0b30[_0x20b449(0x252)]in Yt){this[_0x20b449(0x222)]['emitEvent']({'id':se[_0x20b449(0x18d)],'data':Yt[_0x1c0b30[_0x20b449(0x252)]]}),this[_0x20b449(0x284)][_0x20b449(0x344)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3b75b0=(_0x11a2e1=_0x1c0b30[_0x20b449(0x213)][_0x20b449(0x380)][this['_unitID']])==null?void 0x0:_0x11a2e1['members'];_0x3b75b0&&_0x3b75b0[_0x20b449(0x41b)](_0x1fc358=>this[_0x20b449(0x302)][_0x20b449(0x382)](this['_unitID'],_0x1fc358));}[_0x2c8be9(0x298)](_0x449a07){var _0x579893=_0x2c8be9;try{const _0x39dbd2=_0x449a07['data'];switch(_0x39dbd2['eventID']){case _0x4e7988[_0x579893(0x181)]:this['_onUserJoin'](_0x39dbd2),this[_0x579893(0x205)][_0x579893(0x344)](_0x39dbd2);break;case _0x4e7988[_0x579893(0x28f)]:this[_0x579893(0x240)](_0x39dbd2),this[_0x579893(0x205)][_0x579893(0x344)](_0x39dbd2);break;case _0x4e7988['CHANGESET_ACK']:case _0x4e7988[_0x579893(0x43c)]:this[_0x579893(0x194)](),this[_0x579893(0x321)](),this[_0x579893(0x205)][_0x579893(0x344)](_0x39dbd2);break;case _0x4e7988[_0x579893(0x23f)]:this[_0x579893(0x17d)][_0x579893(0x2ce)](_0x579893(0x33e)+JSON[_0x579893(0x431)](_0x39dbd2)),this[_0x579893(0x205)][_0x579893(0x344)](_0x39dbd2);break;case _0x4e7988[_0x579893(0x3e5)]:this[_0x579893(0x293)][_0x579893(0x234)](_0x39dbd2[_0x579893(0x213)]),this[_0x579893(0x205)][_0x579893(0x344)](_0x39dbd2);break;default:this[_0x579893(0x205)][_0x579893(0x344)](_0x39dbd2);}}catch(_0x3dada4){this[_0x579893(0x17d)]['error'](_0x3dada4,_0x449a07);}}[_0x2c8be9(0x1c5)](_0x52a9f8){var _0x4d35a3=_0x2c8be9;this[_0x4d35a3(0x302)][_0x4d35a3(0x382)](this[_0x4d35a3(0x371)],_0x52a9f8[_0x4d35a3(0x213)]);}['_onUserLeave'](_0x419de2){var _0x5edbca=_0x2c8be9;this['_memberService'][_0x5edbca(0x288)](this[_0x5edbca(0x371)],_0x419de2[_0x5edbca(0x213)][_0x5edbca(0x30f)]);}async['send'](_0x5918ce,_0x52b70b){var _0x282cde=_0x2c8be9;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x282cde(0x399));try{_0x5918ce[_0x282cde(0x3ff)]===_0x4e7988['SUBMIT_CHANGESET']&&(this[_0x282cde(0x416)](),this[_0x282cde(0x43d)](_0x5918ce)),this[_0x282cde(0x1fa)]['send']({'cmd':F[_0x282cde(0x2c8)],'routeKey':_0x52b70b,'routeType':'','data':_0x5918ce});}catch(_0x15a238){this[_0x282cde(0x17d)][_0x282cde(0x2ce)](_0x15a238);}}[_0x2c8be9(0x416)](){var _0x58fedc=_0x2c8be9,_0xfa7941;this[_0x58fedc(0x299)]=setTimeout(()=>{var _0x4a887e=_0x58fedc;this[_0x4a887e(0x299)]=null,this['_collaborationUIEventService'][_0x4a887e(0x1e4)]({'id':se[_0x4a887e(0x32f)]});},(_0xfa7941=this[_0x58fedc(0x187)][_0x58fedc(0x2ec)](Si))!=null?_0xfa7941:Ei);}[_0x2c8be9(0x321)](){var _0x319f30=_0x2c8be9;this[_0x319f30(0x299)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x319f30(0x299)]=null);}[_0x2c8be9(0x43d)](_0xc71abe){var _0x7abf2e=_0x2c8be9;if(!this[_0x7abf2e(0x300)])return;const {data:_0x116300}=_0xc71abe,{unitID:_0x5d8a65,changeset:_0x40f14b}=_0x116300,{mutations:_0x3f181d,type:_0x3e1dac}=_0x40f14b;this[_0x7abf2e(0x164)]={'unitId':_0x5d8a65,'type':_0x3e1dac,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x3f181d)};}[_0x2c8be9(0x194)](){var _0xa29170=_0x2c8be9;if(this[_0xa29170(0x300)]){if(!this[_0xa29170(0x164)]){this[_0xa29170(0x17d)][_0xa29170(0x2ce)]('[CollaborationSession]',_0xa29170(0x1b6));return;}this[_0xa29170(0x164)][_0xa29170(0x2b2)]=performance[_0xa29170(0x1c9)](),this['_telemetryInfo']['duration']=this[_0xa29170(0x164)][_0xa29170(0x2b2)]-this[_0xa29170(0x164)][_0xa29170(0x245)],this[_0xa29170(0x36a)][_0xa29170(0x32e)](Vn,this[_0xa29170(0x164)]),this[_0xa29170(0x164)]=null;}}[_0x2c8be9(0x40b)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x292d5e),me(0x3,_0x2b885e),me(0x4,_0x10d55b(_0x26c876)),me(0x5,_0x10d55b(xe)),me(0x6,_0x10d55b(Ri)),me(0x7,_0x10d55b(pe)),me(0x8,_0x1bb88c(_0xd5dbaf))],It);var Zn=Object[_0x2c8be9(0x2d0)],Qn=Object[_0x2c8be9(0x1da)],er=(_0xa70f54,_0x379435,_0xbafd81,_0x43df96)=>{var _0x1c21d2=_0x2c8be9;for(var _0x105c72=_0x43df96>0x1?void 0x0:_0x43df96?Qn(_0x379435,_0xbafd81):_0x379435,_0x4c9a35=_0xa70f54[_0x1c21d2(0x387)]-0x1,_0x1ba98c;_0x4c9a35>=0x0;_0x4c9a35--)(_0x1ba98c=_0xa70f54[_0x4c9a35])&&(_0x105c72=(_0x43df96?_0x1ba98c(_0x379435,_0xbafd81,_0x105c72):_0x1ba98c(_0x105c72))||_0x105c72);return _0x43df96&&_0x105c72&&Zn(_0x379435,_0xbafd81,_0x105c72),_0x105c72;},ge=(_0x4b02c2,_0x4a3dd7)=>(_0x4611d2,_0xf1d866)=>_0x4a3dd7(_0x4611d2,_0xf1d866,_0x4b02c2);let Le=class extends _0x156d7f{constructor(_0x10dd18,_0x45f220,_0x98d1e6,_0x567b1c,_0x4e35d5,_0xde7f0f,_0x376476){var _0x3c6f17=_0x2c8be9;super(),N(this,_0x3c6f17(0x2c1),new _0x581433(void 0x0)),N(this,_0x3c6f17(0x1b0),this['_socket$']['asObservable']()),N(this,_0x3c6f17(0x307),null),N(this,_0x3c6f17(0x1a0),new Map()),N(this,'_status$',new _0x581433(Te[_0x3c6f17(0x1fc)])),N(this,_0x3c6f17(0x2c6),this[_0x3c6f17(0x40a)][_0x3c6f17(0x343)]()),N(this,_0x3c6f17(0x3fa),!0x1),N(this,_0x3c6f17(0x397)),N(this,_0x3c6f17(0x2fe),0x0),N(this,_0x3c6f17(0x206)),N(this,'_timeoutTimer'),(this[_0x3c6f17(0x1e8)]=_0x10dd18,this[_0x3c6f17(0x17d)]=_0x45f220,this['_configService']=_0x98d1e6,this['_socketService']=_0x567b1c,this[_0x3c6f17(0x171)]=_0x4e35d5,this[_0x3c6f17(0x222)]=_0xde7f0f,this[_0x3c6f17(0x410)]=_0x376476,this['_listenToNetworkCondition']());}get[_0x2c8be9(0x1fa)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x52b7e6=_0x2c8be9;this[_0x52b7e6(0x410)]&&this[_0x52b7e6(0x37c)](this[_0x52b7e6(0x410)][_0x52b7e6(0x411)][_0x52b7e6(0x251)](_0x11538e=>{var _0x3680b6=_0x52b7e6;_0x11538e&&!this[_0x3680b6(0x1fa)]&&this[_0x3680b6(0x1b3)](),_0x11538e||this[_0x3680b6(0x3ea)]();}));}[_0x2c8be9(0x1d4)](){var _0x3cc0b2=_0x2c8be9;super[_0x3cc0b2(0x1d4)](),this[_0x3cc0b2(0x1a0)][_0x3cc0b2(0x41b)](_0x256877=>_0x256877['dispose']()),this[_0x3cc0b2(0x1a0)][_0x3cc0b2(0x1a3)](),this['_status$'][_0x3cc0b2(0x46b)]();}async[_0x2c8be9(0x448)](_0x3c0bb1){var _0x4f802a=_0x2c8be9;if(this[_0x4f802a(0x1a0)]['has'](_0x3c0bb1))return this[_0x4f802a(0x1a0)][_0x4f802a(0x2ee)](_0x3c0bb1);this[_0x4f802a(0x3cc)]();const _0x526082=this[_0x4f802a(0x1e8)]['createInstance'](It,_0x3c0bb1,this[_0x4f802a(0x2c1)][_0x4f802a(0x343)]());return this['_sessions'][_0x4f802a(0x2b9)](_0x3c0bb1,_0x526082),_0x526082;}['closeSession'](_0x2fc338){var _0x409775=_0x2c8be9,_0x541c0b;const _0x485369=this[_0x409775(0x1a0)][_0x409775(0x2ee)](_0x2fc338);_0x485369&&(this['_sessions']['delete'](_0x2fc338),_0x485369[_0x409775(0x23c)]()),this[_0x409775(0x1a0)][_0x409775(0x258)]||(_0x541c0b=this[_0x409775(0x1fa)])==null||_0x541c0b['close']();}[_0x2c8be9(0x1b3)](){var _0x4b83f6=_0x2c8be9;this[_0x4b83f6(0x2fe)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4b83f6(0x397)]),this['_retryConnectingTimer']=null),this[_0x4b83f6(0x370)]();}async[_0x2c8be9(0x3c1)](){var _0x3b0871=_0x2c8be9,_0x1d3611,_0x3b645d,_0x5957ce;const _0x514fb6=this[_0x3b0871(0x187)][_0x3b0871(0x2ec)](q),_0x40e2cd=(_0x1d3611=_0x514fb6==null?void 0x0:_0x514fb6[_0x3b0871(0x376)])!=null?_0x1d3611:On;return(_0x5957ce=(_0x3b645d=(await this[_0x3b0871(0x171)][_0x3b0871(0x2ee)](_0x40e2cd,{'headers':{'Content-Type':_0x3b0871(0x3d9)}}))[_0x3b0871(0x2b3)])==null?void 0x0:_0x3b645d[_0x3b0871(0x231)])!=null?_0x5957ce:'';}[_0x2c8be9(0x36e)](_0x44656d){var _0x253993=_0x2c8be9,_0x4a97ab,_0x466c56;const _0xd1550d=this[_0x253993(0x187)]['getConfig'](Rn),_0x13aa7a=this[_0x253993(0x187)]['getConfig'](q),_0x335a7b=(_0x466c56=(_0x4a97ab=_0x13aa7a==null?void 0x0:_0x13aa7a[_0x253993(0x16a)])!=null?_0x4a97ab:_0xd1550d)!=null?_0x466c56:bn,_0x161644=typeof window>'u'?new URL(_0x335a7b):new URL(_0x335a7b,window[_0x253993(0x1dc)][_0x253993(0x189)]);_0x161644[_0x253993(0x25f)][_0x253993(0x2b9)](_0x253993(0x31f),_0x44656d);const _0x10a9a1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x253993(0x447)]);return _0x10a9a1[_0x253993(0x2ee)](_0x253993(0x406))&&_0x161644[_0x253993(0x25f)]['set'](_0x253993(0x406),_0x10a9a1[_0x253993(0x2ee)]('runId')),_0x161644['toString']();}async['_createSocket'](){var _0x513c49=_0x2c8be9;const _0x26732b=await this['_getSessionTicket'](),_0xdd2679=this[_0x513c49(0x36e)](_0x26732b),_0x1f5103=this['_socketService'][_0x513c49(0x2b5)](_0xdd2679);return this[_0x513c49(0x307)]=_0x1f5103,_0x1f5103;}async[_0x2c8be9(0x3cc)](){var _0xa0da5a=_0x2c8be9,_0x325098,_0x57c397;try{const _0x7dbd49=(_0x57c397=(_0x325098=this[_0xa0da5a(0x1fa)])!=null?_0x325098:this['_candidateSocket'])!=null?_0x57c397:await this[_0xa0da5a(0x35e)]();if(_0x7dbd49){const _0x36f624=_0x7dbd49[_0xa0da5a(0x1f6)];_0x7dbd49[_0xa0da5a(0x1f6)]=_0x19ed81=>(this['_rescheduleHeartbeat'](),_0x36f624[_0xa0da5a(0x45f)](_0x7dbd49,[_0x19ed81])),_0x7dbd49[_0xa0da5a(0x28b)][_0xa0da5a(0x251)](_0x244512=>this['_onMessage'](_0x7dbd49,_0x244512)),_0x7dbd49[_0xa0da5a(0x226)][_0xa0da5a(0x3f5)](_0x1a44d0(0x1))[_0xa0da5a(0x251)](_0x149888=>this[_0xa0da5a(0x17d)][_0xa0da5a(0x2ce)](_0xa0da5a(0x3bf),_0x149888)),_0x7dbd49[_0xa0da5a(0x18e)][_0xa0da5a(0x3f5)](_0x1a44d0(0x1))[_0xa0da5a(0x251)](()=>{var _0x5108b2=_0xa0da5a;this[_0x5108b2(0x1f3)](_0x7dbd49);}),_0x7dbd49['close$'][_0xa0da5a(0x3f5)](_0x1a44d0(0x1))['subscribe'](_0x50101f=>{var _0x3af3a3=_0xa0da5a;this[_0x3af3a3(0x17d)][_0x3af3a3(0x1c4)](_0x3af3a3(0x388),_0x3af3a3(0x2f6),_0x50101f),this['_onConnectionFailed']();});}}catch(_0x161c97){this[_0xa0da5a(0x17d)][_0xa0da5a(0x2ce)](_0x161c97),this[_0xa0da5a(0x342)]();}}[_0x2c8be9(0x1f3)](_0x59fd0c){var _0x3e58c0=_0x2c8be9;this['_logService'][_0x3e58c0(0x1c4)](_0x3e58c0(0x388),'socket\x20open.'),_0x59fd0c[_0x3e58c0(0x1f6)]({'cmd':F[_0x3e58c0(0x401)]}),this[_0x3e58c0(0x41c)]();}[_0x2c8be9(0x3ea)](){var _0x5edafa=_0x2c8be9;this['_socketReady']=!0x1,this[_0x5edafa(0x307)]=null,this['_status$'][_0x5edafa(0x344)](Te[_0x5edafa(0x2e5)]),this[_0x5edafa(0x2c1)][_0x5edafa(0x344)](null),this[_0x5edafa(0x446)](),this[_0x5edafa(0x1d0)]();}['_onConnectionFailed'](){var _0x1020f1=_0x2c8be9,_0xd4fbd6;this['_onOffline'](),this[_0x1020f1(0x2fe)]<((_0xd4fbd6=this['_configService'][_0x1020f1(0x2ec)](Pn))!=null?_0xd4fbd6:wn)?(this[_0x1020f1(0x222)][_0x1020f1(0x1e4)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x1020f1(0x370)]()):this[_0x1020f1(0x222)][_0x1020f1(0x1e4)]({'id':se[_0x1020f1(0x23d)]});}[_0x2c8be9(0x370)](){var _0x3b4c1a=_0x2c8be9,_0x27350a;const _0x34541a=this[_0x3b4c1a(0x2fe)],_0x56edd5=this[_0x3b4c1a(0x187)][_0x3b4c1a(0x2ec)](q),_0x31304e=_0x34541a===0x0?0x0:((_0x27350a=_0x56edd5==null?void 0x0:_0x56edd5['retryConnectingInterval'])!=null?_0x27350a:Dn)*0x2**_0x34541a;this[_0x3b4c1a(0x397)]=setTimeout(()=>{var _0x6d089a=_0x3b4c1a;clearTimeout(this[_0x6d089a(0x397)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x31304e),this['_retryCount']+=0x1;}[_0x2c8be9(0x44f)](_0x4652be,_0x26494a){var _0x47817e=_0x2c8be9;const {cmd:_0x56d966}=_0x26494a;_0x56d966===F[_0x47817e(0x401)]&&!this[_0x47817e(0x3fa)]&&(_0x4652be[_0x47817e(0x30f)]=_0x26494a[_0x47817e(0x213)][_0x47817e(0x30f)],this[_0x47817e(0x2c1)][_0x47817e(0x344)](_0x4652be),this['_status$'][_0x47817e(0x344)](Te[_0x47817e(0x3f8)]),this['_socketReady']=!0x0,this[_0x47817e(0x307)]=null),_0x56d966===F[_0x47817e(0x208)]&&this[_0x47817e(0x446)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x4bc2ec=_0x2c8be9,_0x3e5fe5;this[_0x4bc2ec(0x1d0)](),this[_0x4bc2ec(0x206)]=setTimeout(()=>this[_0x4bc2ec(0x201)](),(_0x3e5fe5=this[_0x4bc2ec(0x187)][_0x4bc2ec(0x2ec)](yn))!=null?_0x3e5fe5:Nn);}[_0x2c8be9(0x201)](){var _0x2171ab=_0x2c8be9;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0x2171ab(0x339)]();}[_0x2c8be9(0x339)](){var _0x281f2e=_0x2c8be9,_0x3a14ec;this['_timeoutTimer']=setTimeout(()=>this[_0x281f2e(0x342)](),(_0x3a14ec=this['_configService'][_0x281f2e(0x2ec)](Si))!=null?_0x3a14ec:Ei);}['_clearHeartbeatTimer'](){var _0x4ac44e=_0x2c8be9;this[_0x4ac44e(0x206)]!=null&&(clearTimeout(this[_0x4ac44e(0x206)]),this['_sendHeartbeatTimer']=null);}[_0x2c8be9(0x446)](){var _0x518c2c=_0x2c8be9;this[_0x518c2c(0x318)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x10d55b(_0x39e7be)),ge(0x1,_0x292d5e),ge(0x2,_0x2b885e),ge(0x3,Ci),ge(0x4,_0x10d55b(_0x17ffb1)),ge(0x5,_0x10d55b(pe)),ge(0x6,_0x1bb88c(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x2c8be9(0x3eb)]((n+0x100)['toString'](0x10)[_0x2c8be9(0x217)](0x1));function tr(_0x1f2cfd,_0x40376c=0x0){return(V[_0x1f2cfd[_0x40376c+0x0]]+V[_0x1f2cfd[_0x40376c+0x1]]+V[_0x1f2cfd[_0x40376c+0x2]]+V[_0x1f2cfd[_0x40376c+0x3]]+'-'+V[_0x1f2cfd[_0x40376c+0x4]]+V[_0x1f2cfd[_0x40376c+0x5]]+'-'+V[_0x1f2cfd[_0x40376c+0x6]]+V[_0x1f2cfd[_0x40376c+0x7]]+'-'+V[_0x1f2cfd[_0x40376c+0x8]]+V[_0x1f2cfd[_0x40376c+0x9]]+'-'+V[_0x1f2cfd[_0x40376c+0xa]]+V[_0x1f2cfd[_0x40376c+0xb]]+V[_0x1f2cfd[_0x40376c+0xc]]+V[_0x1f2cfd[_0x40376c+0xd]]+V[_0x1f2cfd[_0x40376c+0xe]]+V[_0x1f2cfd[_0x40376c+0xf]])['toLowerCase']();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x108e4b=_0x2c8be9;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x108e4b(0x2d1));ut=crypto['getRandomValues'][_0x108e4b(0x460)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x2c8be9(0x207)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':rr};function sr(_0x1e295b,_0x30ef10,_0x51fe53){var _0x205c9e=_0x2c8be9,_0x240408,_0xfa5b03,_0x3ea1cf;if(qt[_0x205c9e(0x207)]&&!_0x1e295b)return qt['randomUUID']();_0x1e295b=_0x1e295b||{};const _0x590ad8=(_0x3ea1cf=(_0xfa5b03=_0x1e295b[_0x205c9e(0x3ca)])!=null?_0xfa5b03:(_0x240408=_0x1e295b['rng'])==null?void 0x0:_0x240408[_0x205c9e(0x439)](_0x1e295b))!=null?_0x3ea1cf:nr();if(_0x590ad8[_0x205c9e(0x387)]<0x10)throw new Error(_0x205c9e(0x278));return _0x590ad8[0x6]=_0x590ad8[0x6]&0xf|0x40,_0x590ad8[0x8]=_0x590ad8[0x8]&0x3f|0x80,tr(_0x590ad8);}const J=_0x1b03ca(_0x2c8be9(0x357));function so(_0x5b1346){var _0x305b5d=_0x2c8be9;return _0x305b5d(0x328)+_0x5b1346;}var or=Object[_0x2c8be9(0x2d0)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x5872b5,_0x309902,_0x22c4cb,_0x55f918)=>{for(var _0x8dc6a9=_0x55f918>0x1?void 0x0:_0x55f918?ar(_0x309902,_0x22c4cb):_0x309902,_0x13f0a3=_0x5872b5['length']-0x1,_0x32f3b2;_0x13f0a3>=0x0;_0x13f0a3--)(_0x32f3b2=_0x5872b5[_0x13f0a3])&&(_0x8dc6a9=(_0x55f918?_0x32f3b2(_0x309902,_0x22c4cb,_0x8dc6a9):_0x32f3b2(_0x8dc6a9))||_0x8dc6a9);return _0x55f918&&_0x8dc6a9&&or(_0x309902,_0x22c4cb,_0x8dc6a9),_0x8dc6a9;},dt=(_0x521b70,_0x303bec)=>(_0x1a70bc,_0xb7bb82)=>_0x303bec(_0x1a70bc,_0xb7bb82,_0x521b70);function hr(_0x3ccd1d){const {unitID:_0x2b5e0d,mutations:_0x2ae8a4}=_0x3ccd1d;return{'unitId':_0x2b5e0d,'subUnitId':_0x2ae8a4[0x0]['params']['subUnitId']};}let it=class{constructor(_0x1adef1,_0x15f8ba,_0x3ef409){var _0x34ed46=_0x2c8be9;this[_0x34ed46(0x1e8)]=_0x1adef1,this['_transformService']=_0x15f8ba,this[_0x34ed46(0x1e3)]=_0x3ef409;}[_0x2c8be9(0x2ff)](_0x34b828){var _0x8b327a=_0x2c8be9,_0x5b59c4,_0x48dd65,_0x406915,_0x3a153f;const _0x12c205=this[_0x8b327a(0x1e8)][_0x8b327a(0x2ee)](_0x309f5f),{unitId:_0x2a5cfb,subUnitId:_0x2b4ce5}=hr(_0x34b828),_0xb4c58b=_0x12c205==null?void 0x0:_0x12c205['getWorkbookSelections'](_0x2a5cfb)[_0x8b327a(0x3c8)](),_0x3160fc=(_0x48dd65=(_0x5b59c4=this[_0x8b327a(0x1e3)][_0x8b327a(0x3f6)](_0x2a5cfb))==null?void 0x0:_0x5b59c4['getActiveSheet']())==null?void 0x0:_0x48dd65['getSheetId']();if(_0xb4c58b[_0x8b327a(0x387)]===0x0||!_0x2a5cfb||!_0x2b4ce5)return;const _0x38c4bd=[{'id':_0x384e3c['id'],'params':{'unitId':_0x2a5cfb,'subUnitId':_0x3160fc,'selections':_0x3f8dcb[_0x8b327a(0x2f7)](_0xb4c58b)}}],_0x47e72b=this[_0x8b327a(0x325)][_0x8b327a(0x280)](_0x34b828,_0x38c4bd);if(!_0x729cb6(_0x47e72b))throw _0x47e72b[_0x8b327a(0x2ce)];const _0xe2a056=(_0x3a153f=(_0x406915=_0x47e72b[_0x8b327a(0x232)][0x0])==null?void 0x0:_0x406915['params'])==null?void 0x0:_0x3a153f[_0x8b327a(0x3fc)];if(Array[_0x8b327a(0x177)](_0xe2a056)&&_0xe2a056[_0x8b327a(0x387)]){if(_0xe2a056['length']===_0x38c4bd[0x0][_0x8b327a(0x46c)]['selections'][_0x8b327a(0x387)]&&_0xe2a056['every']((_0x296c70,_0xd0305f)=>_0x35983a['equals'](_0x296c70['range'],_0x38c4bd[0x0]['params']['selections'][_0xd0305f]['range'])))return;this[_0x8b327a(0x1e8)]['get'](_0x2f506b)[_0x8b327a(0x27c)](_0x384e3c['id'],{'unitId':_0x2a5cfb,'subUnitId':_0x3160fc,'selections':_0xe2a056});}}};it=cr([dt(0x0,_0x10d55b(_0x39e7be)),dt(0x1,_0x4e18e3),dt(0x2,_0x10f563)],it);const ht=_0x1b03ca(_0x2c8be9(0x2a8));var bi=(_0x3f8110=>(_0x3f8110[_0x3f8110[_0x2c8be9(0x1b8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3f8110[_0x3f8110[_0x2c8be9(0x2fa)]=0x1]=_0x2c8be9(0x2fa),_0x3f8110))(bi||{});const _r=new Set([_0x554aa8['id']]);function zt(_0x4ecb8f,_0x31e69c,_0xdf8056,_0x29aaec,_0x27d582){var _0x149b92=_0x2c8be9,_0x306213,_0x9c305d,_0x436f71,_0x27d55f;const _0x20d701=[];for(const _0xe7a1e2 of _0x4ecb8f)if(_r[_0x149b92(0x44c)](_0xe7a1e2['id'])){if(_0x20d701[_0x149b92(0x387)]>0x0)break;_0x20d701[_0x149b92(0x3eb)](_0xe7a1e2);break;}else _0x20d701[_0x149b92(0x3eb)](_0xe7a1e2);const _0x124fd6=(_0x9c305d=(_0x306213=_0x27d582[_0x149b92(0x429)]())==null?void 0x0:_0x306213['userID'])!=null?_0x9c305d:_0x149b92(0x1fe),_0x5891db=(_0x27d55f=(_0x436f71=_0x27d582[_0x149b92(0x429)]())==null?void 0x0:_0x436f71['memberID'])!=null?_0x27d55f:_0x149b92(0x1fe);return{'changeset':{'unitID':_0x31e69c,'type':_0x182cb6(_0xdf8056[_0x149b92(0x351)](_0x31e69c)),'baseRev':_0x29aaec[_0x149b92(0x2b7)](_0x31e69c),'revision':0x0,'userID':_0x124fd6,'memberID':_0x5891db,'mutations':_0x20d701},'pendingMutations':_0x4ecb8f['slice'](_0x20d701[_0x149b92(0x387)])};}function lr(_0x5c87b3,_0x679588,_0x3bb764,_0x5b983c,_0x4db01a){var _0x3ca359=_0x2c8be9,_0x1b545f,_0x3baebd,_0x20efbe,_0xa8222a;const _0x2bbba2=[_0x5c87b3[_0x3ca359(0x3c0)]((_0x2da66c,_0x318971)=>{var _0x2a0d57=_0x3ca359,_0xd228c3;const {id:_0x18caac}=_0x2da66c,{id:_0x2843d2,type:_0x4f55b2}=_0x318971,_0x3e526b=(_0xd228c3=_0x2da66c[_0x2a0d57(0x46c)])!=null?_0xd228c3:{'actions':null},_0x1c4d07=_0x318971['params'];if(_0x18caac&&_0x18caac!==_0x2843d2)throw new Error(_0x2a0d57(0x22d)+_0x18caac+_0x2a0d57(0x242)+_0x2843d2+'.');return{..._0x2da66c,'id':_0x2843d2,'type':_0x4f55b2,'params':{'unitId':_0x1c4d07['unitId'],'textRanges':_0x1c4d07[_0x2a0d57(0x453)],'actions':_0x6300d8['compose'](_0x3e526b[_0x2a0d57(0x18c)],_0x1c4d07['actions'])}};},{})],_0x3f3a99=(_0x3baebd=(_0x1b545f=_0x4db01a[_0x3ca359(0x429)]())==null?void 0x0:_0x1b545f['userID'])!=null?_0x3baebd:'unknown',_0x4a9113=(_0xa8222a=(_0x20efbe=_0x4db01a[_0x3ca359(0x429)]())==null?void 0x0:_0x20efbe[_0x3ca359(0x30f)])!=null?_0xa8222a:_0x3ca359(0x1fe);return{'changeset':{'unitID':_0x679588,'type':_0x182cb6(_0x3bb764[_0x3ca359(0x351)](_0x679588)),'baseRev':_0x5b983c[_0x3ca359(0x2b7)](_0x679588),'revision':0x0,'userID':_0x3f3a99,'memberID':_0x4a9113,'mutations':_0x2bbba2},'pendingMutations':[]};}function Oi(_0x2f7525,_0x3fa604){var _0x2f5b41=_0x2c8be9;const _0x231b3b=new _0xa32232(0x1);return setTimeout(()=>_0x231b3b['next'](_0x3fa604),_0x2f7525),_0x231b3b[_0x2f5b41(0x343)]()[_0x2f5b41(0x3f5)](_0xb6eed8(0x1));}const ur={'id':_0x45c056['id'],'type':_0x371a38['MUTATION'],'params':{}};var dr=Object[_0x2c8be9(0x2d0)],fr=Object[_0x2c8be9(0x1da)],Re=(_0x22ee2c,_0x1c7089,_0x584c97,_0x497a0d)=>{for(var _0x142c10=_0x497a0d>0x1?void 0x0:_0x497a0d?fr(_0x1c7089,_0x584c97):_0x1c7089,_0x3d1afe=_0x22ee2c['length']-0x1,_0x43298d;_0x3d1afe>=0x0;_0x3d1afe--)(_0x43298d=_0x22ee2c[_0x3d1afe])&&(_0x142c10=(_0x497a0d?_0x43298d(_0x1c7089,_0x584c97,_0x142c10):_0x43298d(_0x142c10))||_0x142c10);return _0x497a0d&&_0x142c10&&dr(_0x1c7089,_0x584c97,_0x142c10),_0x142c10;},A=(_0x3f835d,_0x116700)=>(_0xe9ed0e,_0x31d29b)=>_0x116700(_0xe9ed0e,_0x31d29b,_0x3f835d),yi=(_0x37c071=>(_0x37c071[_0x2c8be9(0x3a3)]='not_collab',_0x37c071['SYNCED']=_0x2c8be9(0x40c),_0x37c071[_0x2c8be9(0x3a2)]=_0x2c8be9(0x188),_0x37c071['AWAITING']=_0x2c8be9(0x317),_0x37c071[_0x2c8be9(0x200)]=_0x2c8be9(0x2b0),_0x37c071[_0x2c8be9(0x259)]='fetch_missing',_0x37c071[_0x2c8be9(0x1ec)]=_0x2c8be9(0x19e),_0x37c071[_0x2c8be9(0x2e5)]=_0x2c8be9(0x313),_0x37c071))(yi||{});const Ni=0xea60;class be{constructor(_0x2f9463,_0x18ba96,_0xdef127,_0x5af3d9,_0x5d9889,_0x41e6ed,_0x2fb552,_0x126e58,_0x1d4e3a){var _0x4f4e59=_0x2c8be9;N(this,_0x4f4e59(0x3fe),null),N(this,_0x4f4e59(0x354),[]),(this[_0x4f4e59(0x2d6)]=_0x2f9463,this[_0x4f4e59(0x36b)]=_0x18ba96,this[_0x4f4e59(0x1c0)]=_0x5d9889,this[_0x4f4e59(0x257)]=_0x41e6ed,this[_0x4f4e59(0x161)]=_0x2fb552,this[_0x4f4e59(0x35c)]=_0x126e58,this['_localCacheService']=_0x1d4e3a,this[_0x4f4e59(0x3fe)]=_0xdef127,this['_pendingMutations']=_0x5af3d9);}[_0x2c8be9(0x1f4)](_0x4d64cb){var _0x42cb12=_0x2c8be9;const _0x2b2333=this[_0x42cb12(0x35c)][_0x42cb12(0x2b7)](this[_0x42cb12(0x2d6)]);return _0x4d64cb[_0x42cb12(0x413)]>_0x2b2333+0x1?(this['_handler']['onMissingChangesets']({'from':_0x2b2333,'to':_0x4d64cb['revision']-0x1}),!0x0):!0x1;}[_0x2c8be9(0x42c)](_0x4bc803){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x4bc803);}[_0x2c8be9(0x2e4)](_0x225c1a){var _0x7c6986=_0x2c8be9,_0xe3f653,_0x5a0c52;(_0x5a0c52=(_0xe3f653=this[_0x7c6986(0x1c0)])[_0x7c6986(0x173)])==null||_0x5a0c52[_0x7c6986(0x439)](_0xe3f653,_0x225c1a);}[_0x2c8be9(0x3e9)](_0x350516){var _0x4124a9=_0x2c8be9,_0x2eea89,_0xf9fd76;return(_0xf9fd76=(_0x2eea89=this[_0x4124a9(0x1c0)])[_0x4124a9(0x1cc)])==null?void 0x0:_0xf9fd76[_0x4124a9(0x439)](_0x2eea89,_0x350516);}['_transformStateCache'](_0x22456d){var _0xefea29,_0xd91829;return(_0xd91829=(_0xefea29=this['_handler'])['onTransformState'])==null?void 0x0:_0xd91829['call'](_0xefea29,_0x22456d);}[_0x2c8be9(0x3d0)](_0x1b07b9){var _0x5cb0e8=_0x2c8be9,_0x4f5749,_0x5c2b55,_0x7a80d4;return(_0x7a80d4=(_0x5c2b55=(_0x4f5749=this['_handler'])[_0x5cb0e8(0x266)])==null?void 0x0:_0x5c2b55[_0x5cb0e8(0x439)](_0x4f5749,_0x1b07b9))!=null?_0x7a80d4:_0x1b07b9;}['_transformRemoteChangesetByStateCache'](_0x3a81e1){var _0x3405da=_0x2c8be9,_0x1396c5,_0x501d10,_0x23404d;return(_0x23404d=(_0x501d10=(_0x1396c5=this[_0x3405da(0x1c0)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x501d10[_0x3405da(0x439)](_0x1396c5,_0x3a81e1))!=null?_0x23404d:_0x3a81e1;}['_syncEditingCollabCursor'](_0x27f686){var _0x3af72c=_0x2c8be9,_0x5c914d,_0x4dc305;if(this[_0x3af72c(0x36b)]===Q[_0x3af72c(0x26d)]){const {unitID:_0x218886,mutations:_0x2fd796,memberID:_0x2b5d20}=_0x27f686,_0x979c7f=_0x2fd796[0x0][_0x3af72c(0x46c)][_0x3af72c(0x453)];Array[_0x3af72c(0x177)](_0x979c7f)&&_0x979c7f[_0x3af72c(0x387)]>0x0&&((_0x4dc305=(_0x5c914d=this[_0x3af72c(0x1c0)])[_0x3af72c(0x2ef)])==null||_0x4dc305[_0x3af72c(0x439)](_0x5c914d,{'unitID':_0x218886,'memberID':_0x2b5d20,'textRanges':_0x979c7f}));}}[_0x2c8be9(0x3c7)](){var _0x540648=_0x2c8be9,_0x3774be;(_0x3774be=this[_0x540648(0x203)])==null||_0x3774be[_0x540648(0x458)](this['unitID'],this['type'],this[_0x540648(0x3fe)],this[_0x540648(0x354)]);}[_0x2c8be9(0x3e1)](){var _0x3e295e=_0x2c8be9;return this[_0x3e295e(0x35c)][_0x3e295e(0x2b7)](this['unitID']);}[_0x2c8be9(0x2de)](){var _0x273bfc=_0x2c8be9;this[_0x273bfc(0x35c)][_0x273bfc(0x291)](this[_0x273bfc(0x2d6)]);}[_0x2c8be9(0x400)](_0x58388a){var _0x2c64f8=_0x2c8be9,_0xfcf014;let _0x3b7f10=this[_0x2c64f8(0x3d0)](_0x58388a);_0x3b7f10=this[_0x2c64f8(0x20a)](_0x3b7f10);const _0x117e28=_0x51c202(_0x3b7f10[_0x2c64f8(0x244)],this[_0x2c64f8(0x257)],{'fromCollab':!0x0});if(!_0x117e28[_0x2c64f8(0x256)])throw _0x117e28[_0x2c64f8(0x2ce)]instanceof Error?_0x117e28[_0x2c64f8(0x2ce)]:new Error((_0xfcf014=_0x117e28[_0x2c64f8(0x2ce)])!=null?_0xfcf014:_0x2c64f8(0x37d));this[_0x2c64f8(0x3e9)](_0x3b7f10),this['_transformStateCache'](_0x3b7f10),this[_0x2c64f8(0x42c)](_0x58388a),this['_transformSelections'](_0x3b7f10),this[_0x2c64f8(0x42e)](_0x3b7f10),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x4803f8,_0x55d24a,_0x3f2647,_0x7d0417,_0x37fbcd,_0x41a6b4,_0x46923e,_0x518a45,_0x21b9bc,_0x5cc9a5){var _0x333dc5=_0x2c8be9;super(_0x4803f8,_0x55d24a,null,[],_0x3f2647,_0x46923e,_0x41a6b4,_0x7d0417,_0x5cc9a5),N(this,'status',_0x333dc5(0x40c)),(this[_0x333dc5(0x1e8)]=_0x37fbcd,this['_logService']=_0x518a45,this[_0x333dc5(0x325)]=_0x21b9bc,this[_0x333dc5(0x2bf)]=_0x5cc9a5);}[_0x2c8be9(0x465)](_0x4c8665){var _0x226f9a=_0x2c8be9;const _0x190382=this[_0x226f9a(0x1e8)][_0x226f9a(0x16c)](oe,this[_0x226f9a(0x2d6)],this[_0x226f9a(0x36b)],[_0x4c8665],this['_handler']);return _0x190382[_0x226f9a(0x417)](),_0x190382[_0x226f9a(0x3c7)](),_0x190382;}[_0x2c8be9(0x331)](_0x23c5dc){var _0x5653d1=_0x2c8be9;if(this['_checkMissing'](_0x23c5dc))return this[_0x5653d1(0x1e8)]['createInstance'](te,this[_0x5653d1(0x2d6)],this[_0x5653d1(0x36b)],null,[],null,[_0x23c5dc],this[_0x5653d1(0x1c0)]);try{const _0x230ddc=this['_transformService']['transformMutationsWithChangeset'](_0x23c5dc,[ur]);if(_0x729cb6(_0x230ddc)){const {c1Prime:_0x4d9543}=_0x230ddc;return this[_0x5653d1(0x400)](_0x4d9543),this;}throw _0x230ddc[_0x5653d1(0x2ce)];}catch(_0x306248){return this[_0x5653d1(0x17d)][_0x5653d1(0x2ce)](_0x306248),this[_0x5653d1(0x1ba)](!0x1);}}[_0x2c8be9(0x1ba)](_0x12aa3b){var _0x263855=_0x2c8be9;return this[_0x263855(0x1e8)]['createInstance'](de,this[_0x263855(0x2d6)],this[_0x263855(0x36b)],null,[],this[_0x263855(0x1c0)],_0x12aa3b);}[_0x2c8be9(0x1f7)](){var _0x28eb19=_0x2c8be9;throw new Error(_0x28eb19(0x19f));}['onRemoteRej'](){var _0x529f7c=_0x2c8be9;throw new Error(_0x529f7c(0x44e));}[_0x2c8be9(0x3b0)](){return this;}[_0x2c8be9(0x17a)](){var _0x277eab=_0x2c8be9;return this[_0x277eab(0x1e8)][_0x277eab(0x16c)](fe,this[_0x277eab(0x2d6)],this[_0x277eab(0x36b)],null,[],this[_0x277eab(0x1c0)]);}[_0x2c8be9(0x1cb)](){return this;}[_0x2c8be9(0x2a9)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2c8be9(0x3c6)](){var _0x3c9e66=_0x2c8be9;const _0x1e6969=this[_0x3c9e66(0x35c)]['getCurrentRevOfUnit'](this[_0x3c9e66(0x2d6)]);return this[_0x3c9e66(0x1c0)][_0x3c9e66(0x340)]({'from':_0x1e6969,'to':0x0}),this['_injector'][_0x3c9e66(0x16c)](te,this['unitID'],this['type'],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x10d55b(_0x37bd29)),A(0x4,_0x10d55b(_0x39e7be)),A(0x5,_0x42569f),A(0x6,_0x2f506b),A(0x7,_0x292d5e),A(0x8,_0x4e18e3),A(0x9,_0x1bb88c(J))],De);let oe=class extends be{constructor(_0x5f3b97,_0x44f740,_0x3b36ef,_0x42efc5,_0x51bf55,_0x5763b3,_0x15fbae,_0x3b9caa,_0xc0793b,_0x56c220,_0x16a378,_0x4e4e58,_0x569a04,_0x27fa4c){var _0x5e0ae9=_0x2c8be9;super(_0x5f3b97,_0x44f740,null,_0x3b36ef,_0x42efc5,_0xc0793b,_0x569a04,_0x5763b3,_0x27fa4c),N(this,_0x5e0ae9(0x184),_0x5e0ae9(0x188)),N(this,_0x5e0ae9(0x267),null),N(this,_0x5e0ae9(0x17b),null),(this[_0x5e0ae9(0x1e8)]=_0x51bf55,this[_0x5e0ae9(0x302)]=_0x15fbae,this[_0x5e0ae9(0x17d)]=_0x3b9caa,this['_configService']=_0x56c220,this[_0x5e0ae9(0x325)]=_0x16a378,this[_0x5e0ae9(0x2f4)]=_0x4e4e58);}[_0x2c8be9(0x465)](_0xc9d6b4){var _0x2aa0a1=_0x2c8be9;return this['_pendingMutations'][_0x2aa0a1(0x3eb)](_0xc9d6b4),this[_0x2aa0a1(0x3c7)](),this;}['onRemoteChangeset'](_0x230018){var _0x33b98c=_0x2c8be9;if(this[_0x33b98c(0x1f4)](_0x230018))return this[_0x33b98c(0x1c6)](),this[_0x33b98c(0x1e8)][_0x33b98c(0x16c)](te,this[_0x33b98c(0x2d6)],this[_0x33b98c(0x36b)],null,this[_0x33b98c(0x354)],null,[_0x230018],this[_0x33b98c(0x1c0)]);try{const _0x521546=this[_0x33b98c(0x325)]['transformMutationsWithChangeset'](_0x230018,this[_0x33b98c(0x354)]);if(_0x729cb6(_0x521546)){const {c1Prime:_0x55b243,m2Prime:_0x203f04}=_0x521546;this['_executeRemoteChangeset'](_0x55b243);const _0x24c421=this[_0x33b98c(0x1e8)][_0x33b98c(0x16c)](oe,this[_0x33b98c(0x2d6)],this['type'],_0x203f04,this[_0x33b98c(0x1c0)]);this['_clearScheduledTask']();const _0x22cb33=new Date()[_0x33b98c(0x21d)](),_0x2efa39=this['_scheduleCompleteTimestamp']?Math[_0x33b98c(0x1ea)](this[_0x33b98c(0x267)]-_0x22cb33,0x0):this['_getSendChangesetTimeout']();return _0x24c421['_schedule'](_0x2efa39),_0x24c421;}throw _0x521546[_0x33b98c(0x2ce)];}catch(_0x1b273c){return this['_logService'][_0x33b98c(0x2ce)](_0x1b273c),this[_0x33b98c(0x1ba)](!0x1);}}[_0x2c8be9(0x1f7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2c8be9(0x2a1)](){var _0x27f6ce=_0x2c8be9;throw new Error(_0x27f6ce(0x170));}['onRemoteRetry'](){return this;}[_0x2c8be9(0x17a)](){var _0x5c2188=_0x2c8be9;return this[_0x5c2188(0x1c6)](),this['_injector'][_0x5c2188(0x16c)](fe,this[_0x5c2188(0x2d6)],this[_0x5c2188(0x36b)],null,this[_0x5c2188(0x354)],this[_0x5c2188(0x1c0)]);}[_0x2c8be9(0x1cb)](){return this;}['_schedule'](_0x53fee7){var _0x246b6e=_0x2c8be9;const _0x5b827d=_0x53fee7!=null?_0x53fee7:this[_0x246b6e(0x198)]();this['_scheduleCompleteTimestamp']=new Date()[_0x246b6e(0x21d)]()+_0x5b827d,this['_sendingTimer']=setTimeout(()=>{var _0x32c94d=_0x246b6e;this[_0x32c94d(0x1c6)]();let _0x5ed69e=null;switch(this[_0x32c94d(0x36b)]){case Q[_0x32c94d(0x295)]:{_0x5ed69e=zt(this[_0x32c94d(0x354)],this['unitID'],this[_0x32c94d(0x2f4)],this['_revisionService'],this[_0x32c94d(0x302)]);break;}case Q['UNIVER_DOC']:{this[_0x32c94d(0x354)][_0x32c94d(0x1e1)](_0x14de21=>_0x14de21['id']===_0x4df352['id'])?_0x5ed69e=lr(this[_0x32c94d(0x354)],this[_0x32c94d(0x2d6)],this[_0x32c94d(0x2f4)],this[_0x32c94d(0x35c)],this[_0x32c94d(0x302)]):_0x5ed69e=zt(this[_0x32c94d(0x354)],this[_0x32c94d(0x2d6)],this['_univerInstanceService'],this[_0x32c94d(0x35c)],this[_0x32c94d(0x302)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x32c94d(0x36b)]+'\x20in\x20_schedule.');}const {changeset:_0x1519bd,pendingMutations:_0x2e9dc1}=_0x5ed69e;this[_0x32c94d(0x1c0)][_0x32c94d(0x3ad)](_0x1519bd);const _0x122cb1=_0x2e9dc1[_0x32c94d(0x387)]?this[_0x32c94d(0x1e8)]['createInstance'](ae,this[_0x32c94d(0x2d6)],this[_0x32c94d(0x36b)],_0x1519bd,_0x2e9dc1,this[_0x32c94d(0x1c0)],void 0x0):this['_injector']['createInstance'](ue,this[_0x32c94d(0x2d6)],this[_0x32c94d(0x36b)],_0x1519bd,this[_0x32c94d(0x1c0)]);_0x122cb1[_0x32c94d(0x3c7)](),this[_0x32c94d(0x1c0)]['onStateChange'](this,_0x122cb1);},_0x5b827d);}['_getSendChangesetTimeout'](){var _0xb4d0a1=_0x2c8be9,_0x1eb8a0;const _0x3d5c86=this[_0xb4d0a1(0x187)][_0xb4d0a1(0x2ec)](q);return(_0x1eb8a0=_0x3d5c86==null?void 0x0:_0x3d5c86[_0xb4d0a1(0x1a2)])!=null?_0x1eb8a0:Cn;}['resend'](){var _0x830488=_0x2c8be9;throw new Error(_0x830488(0x316));}[_0x2c8be9(0x1c6)](){var _0x5b0a3b=_0x2c8be9;this[_0x5b0a3b(0x17b)]!=null&&(clearTimeout(this[_0x5b0a3b(0x17b)]),this[_0x5b0a3b(0x17b)]=null);}[_0x2c8be9(0x1ba)](_0x369e2b){var _0x3f6a7c=_0x2c8be9;return this['_clearScheduledTask'](),this[_0x3f6a7c(0x1e8)][_0x3f6a7c(0x16c)](de,this['unitID'],this['type'],null,this[_0x3f6a7c(0x354)],this[_0x3f6a7c(0x1c0)],_0x369e2b);}};oe=Re([A(0x4,_0x10d55b(_0x39e7be)),A(0x5,_0x10d55b(_0x37bd29)),A(0x6,_0x10d55b(xe)),A(0x7,_0x292d5e),A(0x8,_0x2f506b),A(0x9,_0x2b885e),A(0xa,_0x4e18e3),A(0xb,_0x10f563),A(0xc,_0x42569f),A(0xd,_0x1bb88c(J))],oe);let ue=class extends be{constructor(_0x3bc88b,_0x5ac3f5,_0x1df5af,_0x3ede68,_0x280366,_0x5926a7,_0x32d72d,_0x2e1107,_0x4f7550,_0x471aba,_0x321faf){var _0x4ee90d=_0x2c8be9;super(_0x3bc88b,_0x5ac3f5,_0x1df5af,[],_0x3ede68,_0x32d72d,_0x471aba,_0x5926a7,_0x321faf),N(this,_0x4ee90d(0x184),_0x4ee90d(0x317)),N(this,_0x4ee90d(0x423),0x0),N(this,_0x4ee90d(0x2d2)),N(this,_0x4ee90d(0x389)),(this[_0x4ee90d(0x1e8)]=_0x280366,this[_0x4ee90d(0x17d)]=_0x2e1107,this[_0x4ee90d(0x325)]=_0x4f7550);}['appendMutation'](_0x3af8ed){var _0x1e97f1=_0x2c8be9;this['_clearScheduledTask']();const _0x16fbc6=this[_0x1e97f1(0x1e8)][_0x1e97f1(0x16c)](ae,this[_0x1e97f1(0x2d6)],this[_0x1e97f1(0x36b)],this['_awaitingChangeset'],[_0x3af8ed],this[_0x1e97f1(0x1c0)],this[_0x1e97f1(0x2d2)]);return _0x16fbc6[_0x1e97f1(0x3c7)](),_0x16fbc6;}['onRemoteChangeset'](_0x2786d7){var _0x34b4bb=_0x2c8be9;if(this[_0x34b4bb(0x1f4)](_0x2786d7))return this[_0x34b4bb(0x1c6)](),this[_0x34b4bb(0x1e8)][_0x34b4bb(0x16c)](te,this[_0x34b4bb(0x2d6)],this[_0x34b4bb(0x36b)],this['_awaitingChangeset'],[],null,[_0x2786d7],this[_0x34b4bb(0x1c0)]);try{const _0x173406=this[_0x34b4bb(0x325)][_0x34b4bb(0x334)]([_0x2786d7],[this['_awaitingChangeset']],!0x1);if(_0x398cb8(_0x173406)){const {c1Prime:_0x2d5724,c2Prime:_0x48c08b}=_0x173406;this['_executeRemoteChangeset'](_0x2d5724[0x0]),_0x48c08b[0x0][_0x34b4bb(0x34f)]=this[_0x34b4bb(0x3e1)](),this[_0x34b4bb(0x1c6)]();const _0x32ccf6=this[_0x34b4bb(0x1e8)][_0x34b4bb(0x16c)](ue,this['unitID'],this[_0x34b4bb(0x36b)],_0x48c08b[0x0],this['_handler']);return _0x32ccf6[_0x34b4bb(0x3c7)](),_0x32ccf6;}return this['_onConflict'](!0x1);}catch(_0x225a2d){return this[_0x34b4bb(0x17d)][_0x34b4bb(0x2ce)](_0x225a2d),this[_0x34b4bb(0x1ba)](!0x1);}}[_0x2c8be9(0x1f7)](_0x6e0990){var _0x38f7b9=_0x2c8be9;this[_0x38f7b9(0x1c6)]();const _0x49050b=this[_0x38f7b9(0x35c)]['getCurrentRevOfUnit'](this['unitID']);if(_0x6e0990[_0x38f7b9(0x413)]<_0x49050b-0x1)return this;if(this[_0x38f7b9(0x1f4)](_0x6e0990))return this['_injector'][_0x38f7b9(0x16c)](te,this[_0x38f7b9(0x2d6)],this['type'],null,[],this[_0x38f7b9(0x3fe)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x28a8ea=this[_0x38f7b9(0x1e8)][_0x38f7b9(0x16c)](De,this[_0x38f7b9(0x2d6)],this[_0x38f7b9(0x36b)],this['_handler']);return _0x28a8ea[_0x38f7b9(0x3c7)](),_0x28a8ea;}[_0x2c8be9(0x2a1)](_0x112465){var _0x19484c=_0x2c8be9;return this[_0x19484c(0x1ba)](!!(_0x112465!=null&&_0x112465[_0x19484c(0x28d)]));}[_0x2c8be9(0x3b0)](_0x3d732a){var _0x48feb5=_0x2c8be9;return this[_0x48feb5(0x423)]>Ni?this[_0x48feb5(0x17a)]():(this[_0x48feb5(0x2d2)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3d732a[_0x48feb5(0x1d1)]}),this[_0x48feb5(0x389)]=this[_0x48feb5(0x2d2)]['subscribe'](({reqId:_0x4c39b2,timeout:_0x4445a8})=>{this['_resendWithTimeout'](_0x4c39b2,_0x4445a8);}),this);}['toggleOffline'](){var _0x40f7ee=_0x2c8be9;return this[_0x40f7ee(0x1c6)](),this['_injector'][_0x40f7ee(0x16c)](fe,this['unitID'],this[_0x40f7ee(0x36b)],this[_0x40f7ee(0x3fe)],[],this[_0x40f7ee(0x1c0)]);}['toggleOnline'](){return this;}[_0x2c8be9(0x2a9)](){var _0xcaa46b=_0x2c8be9;this['_handler'][_0xcaa46b(0x3ad)](this[_0xcaa46b(0x3fe)]);}[_0x2c8be9(0x1ba)](_0x2f32e1){var _0x4e459a=_0x2c8be9;return this[_0x4e459a(0x1c6)](),this[_0x4e459a(0x1e8)][_0x4e459a(0x16c)](de,this[_0x4e459a(0x2d6)],this[_0x4e459a(0x36b)],this['_awaitingChangeset'],[],this[_0x4e459a(0x1c0)],_0x2f32e1);}[_0x2c8be9(0x225)](_0x19ef07,_0x68da5e){var _0x140f43=_0x2c8be9,_0x3f11b4;_0x19ef07===((_0x3f11b4=this[_0x140f43(0x3fe)])==null?void 0x0:_0x3f11b4[_0x140f43(0x1d1)])&&(this[_0x140f43(0x2a9)](),this[_0x140f43(0x423)]=_0x68da5e===0x0?0x3e8:_0x68da5e*0x2);}[_0x2c8be9(0x1c6)](){var _0x2cfd0c=_0x2c8be9,_0x277d08;(_0x277d08=this['_sender'])==null||_0x277d08[_0x2cfd0c(0x1de)](),this[_0x2cfd0c(0x423)]=0x0;}};ue=Re([A(0x4,_0x10d55b(_0x39e7be)),A(0x5,_0x10d55b(_0x37bd29)),A(0x6,_0x2f506b),A(0x7,_0x292d5e),A(0x8,_0x4e18e3),A(0x9,_0x42569f),A(0xa,_0x1bb88c(J))],ue);let ae=class extends be{constructor(_0x21b35c,_0x4a574a,_0x32763c,_0xf03af5,_0x558437,_0x32710c,_0x169391,_0x36a5b9,_0x40f254,_0xfc3d3e,_0x79c397,_0x3845a2,_0xe5559b){var _0x3ab830=_0x2c8be9;super(_0x21b35c,_0x4a574a,_0x32763c,_0xf03af5,_0x558437,_0x40f254,_0x3845a2,_0x36a5b9,_0xe5559b),N(this,_0x3ab830(0x184),_0x3ab830(0x2b0)),N(this,_0x3ab830(0x423),0x0),N(this,_0x3ab830(0x2d2)),N(this,'_sender'),(this[_0x3ab830(0x1e8)]=_0x169391,this[_0x3ab830(0x17d)]=_0xfc3d3e,this[_0x3ab830(0x325)]=_0x79c397,this['localCacheService']=_0xe5559b,_0x32710c&&(this[_0x3ab830(0x2d2)]=_0x32710c,this['_sender']=this[_0x3ab830(0x2d2)][_0x3ab830(0x251)](({reqId:_0x3efaa0,timeout:_0x173bde})=>{var _0x247e68=_0x3ab830;this[_0x247e68(0x225)](_0x3efaa0,_0x173bde);})));}['appendMutation'](_0x48b42a){var _0x5d3b49=_0x2c8be9;return this[_0x5d3b49(0x354)][_0x5d3b49(0x3eb)](_0x48b42a),this;}[_0x2c8be9(0x331)](_0x1314a0){var _0x51d45f=_0x2c8be9;if(this[_0x51d45f(0x1f4)](_0x1314a0))return this[_0x51d45f(0x1c6)](),this[_0x51d45f(0x1e8)][_0x51d45f(0x16c)](te,this[_0x51d45f(0x2d6)],this[_0x51d45f(0x36b)],this[_0x51d45f(0x3fe)],this[_0x51d45f(0x354)],null,[_0x1314a0],this[_0x51d45f(0x1c0)]);try{const _0x28e8d1=this[_0x51d45f(0x325)]['transformChangesets']([_0x1314a0],[this['_awaitingChangeset']],!0x1);if(_0x398cb8(_0x28e8d1)){const {c1Prime:_0x1809d9,c2Prime:_0xb761c2}=_0x28e8d1,_0x1f581f=this['_transformService']['transformMutationsWithChangeset'](_0x1809d9[0x0],this[_0x51d45f(0x354)]);if(_0x729cb6(_0x1f581f)){const {c1Prime:_0x10b860,m2Prime:_0x54a3b1}=_0x1f581f;return this[_0x51d45f(0x400)](_0x10b860),_0xb761c2[0x0][_0x51d45f(0x34f)]=this[_0x51d45f(0x3e1)](),this[_0x51d45f(0x1c6)](),this[_0x51d45f(0x1e8)][_0x51d45f(0x16c)](ae,this[_0x51d45f(0x2d6)],this[_0x51d45f(0x36b)],_0xb761c2[0x0],_0x54a3b1,this[_0x51d45f(0x1c0)],void 0x0);}throw _0x1f581f['error'];}throw _0x28e8d1['error'];}catch(_0x29a14d){return this[_0x51d45f(0x17d)][_0x51d45f(0x2ce)](_0x29a14d),this[_0x51d45f(0x1ba)](!0x1);}}[_0x2c8be9(0x1f7)](_0x503213){var _0x6944f3=_0x2c8be9;if(this[_0x6944f3(0x1c6)](),this['_checkMissing'](_0x503213))return this[_0x6944f3(0x1e8)][_0x6944f3(0x16c)](te,this[_0x6944f3(0x2d6)],this[_0x6944f3(0x36b)],null,this[_0x6944f3(0x354)],this['_awaitingChangeset'],[],this[_0x6944f3(0x1c0)]);this[_0x6944f3(0x2de)]();const _0x5f19ae=this[_0x6944f3(0x1e8)][_0x6944f3(0x16c)](oe,this[_0x6944f3(0x2d6)],this[_0x6944f3(0x36b)],this['_pendingMutations'],this['_handler']);return _0x5f19ae['_schedule'](),_0x5f19ae[_0x6944f3(0x3c7)](),_0x5f19ae;}[_0x2c8be9(0x2a1)](_0x547c1a){var _0x529091=_0x2c8be9;return this[_0x529091(0x1ba)](!!(_0x547c1a!=null&&_0x547c1a[_0x529091(0x28d)]));}[_0x2c8be9(0x3b0)](_0x1e8332){var _0x5f53af=_0x2c8be9;return this['_resendTimeout']>Ni?this[_0x5f53af(0x17a)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x5f53af(0x423)],'reqId':_0x1e8332[_0x5f53af(0x1d1)]}),this['_sender']=this[_0x5f53af(0x2d2)]['subscribe'](({reqId:_0xd89ba6,timeout:_0x3689be})=>{var _0x2b3648=_0x5f53af;this[_0x2b3648(0x225)](_0xd89ba6,_0x3689be);}),this);}[_0x2c8be9(0x17a)](){var _0x4a0f1b=_0x2c8be9;return this['_clearScheduledTask'](),this[_0x4a0f1b(0x1e8)]['createInstance'](fe,this['unitID'],this[_0x4a0f1b(0x36b)],this[_0x4a0f1b(0x3fe)],this[_0x4a0f1b(0x354)],this['_handler']);}['toggleOnline'](){return this;}[_0x2c8be9(0x2a9)](){var _0x2fe0a2=_0x2c8be9;this[_0x2fe0a2(0x1c0)][_0x2fe0a2(0x3ad)](this[_0x2fe0a2(0x3fe)]);}['_onConflict'](_0x3fa52f){var _0x160a0a=_0x2c8be9;return this['_clearScheduledTask'](),this['_injector'][_0x160a0a(0x16c)](de,this[_0x160a0a(0x2d6)],this[_0x160a0a(0x36b)],null,this[_0x160a0a(0x354)],this[_0x160a0a(0x1c0)],_0x3fa52f);}[_0x2c8be9(0x225)](_0x24427f,_0x2ee20e){var _0x5727d8=_0x2c8be9,_0x1ab897;_0x24427f===((_0x1ab897=this[_0x5727d8(0x3fe)])==null?void 0x0:_0x1ab897[_0x5727d8(0x1d1)])&&(this['resend'](),this[_0x5727d8(0x423)]=_0x2ee20e===0x0?0x3e8:_0x2ee20e*0x2);}['_clearScheduledTask'](){var _0x5a9a83=_0x2c8be9,_0x260725;(_0x260725=this[_0x5a9a83(0x389)])==null||_0x260725['unsubscribe'](),this[_0x5a9a83(0x423)]=0x0;}};ae=Re([A(0x6,_0x10d55b(_0x39e7be)),A(0x7,_0x10d55b(_0x37bd29)),A(0x8,_0x2f506b),A(0x9,_0x292d5e),A(0xa,_0x4e18e3),A(0xb,_0x42569f),A(0xc,_0x1bb88c(J))],ae);let de=class extends be{constructor(_0x574fcf,_0x5a7afe,_0x2b2281,_0x2e3705,_0x1bee39,_0x35d3f1=!0x1,_0xa76512,_0x10f8f1,_0x1180ec,_0x487d16,_0x52e94e,_0x1ff40e,_0x553f16){var _0x12c308=_0x2c8be9;super(_0x574fcf,_0x5a7afe,_0x2b2281,_0x2e3705,_0x1bee39,_0x10f8f1,_0x1180ec,_0x487d16,_0x553f16),N(this,_0x12c308(0x184),_0x12c308(0x19e)),(this[_0x12c308(0x450)]=_0x35d3f1,this[_0x12c308(0x185)]=_0xa76512,this[_0x12c308(0x2c4)]=_0x52e94e,this['_collaborationUIEventService']=_0x1ff40e,this[_0x12c308(0x2bf)]=_0x553f16,this[_0x12c308(0x1ce)](),this[_0x12c308(0x24a)](),this[_0x12c308(0x37e)]());}[_0x2c8be9(0x465)](){return this;}['onRemoteChangeset'](){return this;}[_0x2c8be9(0x1f7)](){return this;}['onRemoteRej'](){return this;}[_0x2c8be9(0x3b0)](){return this;}['toggleOffline'](){return this;}[_0x2c8be9(0x1cb)](){return this;}[_0x2c8be9(0x2a9)](){var _0x30ecd6=_0x2c8be9;throw new Error(_0x30ecd6(0x441));}['_clearLocalCache'](){var _0x207549=_0x2c8be9,_0x5de93f;(_0x5de93f=this[_0x207549(0x203)])==null||_0x5de93f[_0x207549(0x458)](this[_0x207549(0x2d6)],this[_0x207549(0x36b)],null,[]);}[_0x2c8be9(0x1ce)](){var _0x1d2deb=_0x2c8be9;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x1d2deb(0x1e4)]({'id':se[_0x1d2deb(0x3f7)]}):this[_0x1d2deb(0x222)][_0x1d2deb(0x1e4)]({'id':se[_0x1d2deb(0x1ec)]});}[_0x2c8be9(0x37e)](){var _0x3874fe=_0x2c8be9;this[_0x3874fe(0x185)][_0x3874fe(0x39e)](new _0x30479c(this[_0x3874fe(0x2d6)])['id'],!0x1);}};de=Re([A(0x6,_0x10d55b(_0x1b7b77)),A(0x7,_0x2f506b),A(0x8,_0x42569f),A(0x9,_0x10d55b(_0x37bd29)),A(0xa,_0x10d55b(_0x26c876)),A(0xb,_0x10d55b(pe)),A(0xc,_0x1bb88c(J))],de);let fe=class extends be{constructor(_0x2b3b11,_0x407f14,_0x2f844c,_0x2b614a,_0x144d9b,_0x5d12a7,_0x9ce1a9,_0x40d242,_0x17605c,_0x335408){var _0x3ba284=_0x2c8be9;super(_0x2b3b11,_0x407f14,_0x2f844c,_0x2b614a,_0x144d9b,_0x40d242,_0x17605c,_0x9ce1a9,_0x335408),N(this,_0x3ba284(0x184),_0x3ba284(0x313)),this[_0x3ba284(0x1e8)]=_0x5d12a7;}[_0x2c8be9(0x465)](_0x534cd9){var _0x548c68=_0x2c8be9;return this['_pendingMutations'][_0x548c68(0x3eb)](_0x534cd9),this[_0x548c68(0x3c7)](),this;}[_0x2c8be9(0x331)](_0x2de2ca){var _0x42aaa8=_0x2c8be9;throw new Error(_0x42aaa8(0x237));}['onRemoteAck'](){var _0x43af17=_0x2c8be9;throw new Error(_0x43af17(0x386));}[_0x2c8be9(0x2a1)](){var _0x168e6e=_0x2c8be9;throw new Error(_0x168e6e(0x2f2));}[_0x2c8be9(0x3b0)](){return this;}[_0x2c8be9(0x17a)](){return this;}[_0x2c8be9(0x1cb)](){var _0x5c31bf=_0x2c8be9;const {_injector:_0x2a3e1b,_pendingMutations:_0x2123f8,_awaitingChangeset:_0x16f0a9,unitID:_0x220702,_handler:_0x4b8acd,type:_0xa19af0}=this,_0x295040=Di(_0x2a3e1b,_0x220702,_0xa19af0,_0x16f0a9,_0x2123f8,_0x4b8acd);return _0x295040 instanceof oe?_0x295040[_0x5c31bf(0x417)]():(_0x295040 instanceof ae||_0x295040 instanceof ue)&&_0x295040[_0x5c31bf(0x2a9)](),_0x295040;}[_0x2c8be9(0x2a9)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x10d55b(_0x39e7be)),A(0x6,_0x10d55b(_0x37bd29)),A(0x7,_0x2f506b),A(0x8,_0x42569f),A(0x9,_0x1bb88c(J))],fe);let te=class extends be{constructor(_0x51d183,_0x460557,_0xfd2d47,_0x3a9ff6,_0x297341,_0x27b1d3,_0x2b5eac,_0x2b8f1d,_0x170ac8,_0x52a16e,_0x290308,_0x46add5,_0x5f45b7,_0x249c79){var _0x90fe6b=_0x2c8be9;super(_0x51d183,_0x460557,_0xfd2d47,_0x3a9ff6,_0x2b5eac,_0x290308,_0x46add5,_0x170ac8,_0x249c79),N(this,_0x90fe6b(0x184),_0x90fe6b(0x196)),(this[_0x90fe6b(0x308)]=_0x297341,this[_0x90fe6b(0x2db)]=_0x27b1d3,this[_0x90fe6b(0x1e8)]=_0x2b8f1d,this[_0x90fe6b(0x17d)]=_0x52a16e,this[_0x90fe6b(0x325)]=_0x5f45b7,this[_0x90fe6b(0x2bf)]=_0x249c79);}[_0x2c8be9(0x3d5)](_0x571ca8){var _0x40833a=_0x2c8be9;try{const _0x6b19c=[..._0x571ca8,...this[_0x40833a(0x2db)]],_0x2cd43d=[this[_0x40833a(0x3fe)]||this['_acknowledgedAwaitingChangeset']][_0x40833a(0x42f)](_0x503b61=>!!_0x503b61);let _0x3847cc,_0x3e4332;if(_0x2cd43d[_0x40833a(0x387)]){const _0x4beabf=this['_transformService'][_0x40833a(0x334)](_0x6b19c,_0x2cd43d,!0x1);if(!_0x398cb8(_0x4beabf))throw _0x4beabf[_0x40833a(0x2ce)];_0x3847cc=_0x4beabf[_0x40833a(0x46d)],_0x3e4332=_0x4beabf[_0x40833a(0x2b8)];}else _0x3847cc=_0x6b19c,_0x3e4332=[];let _0x1e343a=this[_0x40833a(0x354)];_0x3847cc['forEach'](_0x393617=>{var _0x5df45a=_0x40833a;let _0x389286;if(_0x1e343a['length']){const _0xf2345c=this[_0x5df45a(0x325)][_0x5df45a(0x280)](_0x393617,_0x1e343a);if(!_0x729cb6(_0xf2345c))throw _0xf2345c['error'];_0x389286=_0xf2345c[_0x5df45a(0x46d)],_0x1e343a=_0xf2345c[_0x5df45a(0x232)];}else _0x389286=_0x393617;this['_executeRemoteChangeset'](_0x389286);}),this['_acknowledgedAwaitingChangeset']&&this[_0x40833a(0x2de)](),this[_0x40833a(0x3fe)]&&_0x3e4332['length']&&(_0x3e4332[0x0][_0x40833a(0x34f)]=this[_0x40833a(0x3e1)]());let _0x4e663e;if(this[_0x40833a(0x3fe)]&&_0x1e343a[_0x40833a(0x387)]!==0x0)_0x4e663e=this[_0x40833a(0x1e8)][_0x40833a(0x16c)](ae,this[_0x40833a(0x2d6)],this['type'],_0x3e4332[0x0],_0x1e343a,this[_0x40833a(0x1c0)],void 0x0);else{if(this[_0x40833a(0x3fe)]&&_0x1e343a[_0x40833a(0x387)]===0x0)_0x3e4332[0x0][_0x40833a(0x34f)]=this['_getCurrentRevision'](),_0x4e663e=this[_0x40833a(0x1e8)]['createInstance'](ue,this[_0x40833a(0x2d6)],this[_0x40833a(0x36b)],_0x3e4332[0x0],this['_handler']);else{if(_0x1e343a[_0x40833a(0x387)]!==0x0){const _0x521219=this[_0x40833a(0x1e8)][_0x40833a(0x16c)](oe,this['unitID'],this[_0x40833a(0x36b)],_0x1e343a,this[_0x40833a(0x1c0)]);_0x521219[_0x40833a(0x417)](),_0x4e663e=_0x521219;}else _0x4e663e=this[_0x40833a(0x1e8)][_0x40833a(0x16c)](De,this[_0x40833a(0x2d6)],this[_0x40833a(0x36b)],this[_0x40833a(0x1c0)]);}}return _0x4e663e[_0x40833a(0x3c7)](),_0x4e663e;}catch(_0x31b271){return this[_0x40833a(0x17d)]['error'](_0x40833a(0x3ab),_0x40833a(0x1a6),_0x31b271),this['_injector'][_0x40833a(0x16c)](de,this[_0x40833a(0x2d6)],this[_0x40833a(0x36b)],this[_0x40833a(0x3fe)],this[_0x40833a(0x354)],this['_handler'],!0x1);}}[_0x2c8be9(0x2a9)](){var _0x1e96fc=_0x2c8be9;throw new Error(_0x1e96fc(0x436));}[_0x2c8be9(0x465)](_0x1f757){var _0x2f3021=_0x2c8be9;return this['_pendingMutations'][_0x2f3021(0x3eb)](_0x1f757),this;}[_0x2c8be9(0x331)](_0x2ce491){return this['_queuedRemoteChangesets']['push'](_0x2ce491),this;}['onRemoteAck'](_0xfc2130){var _0x430743=_0x2c8be9;if(this[_0x430743(0x3fe)])return this[_0x430743(0x308)]=this[_0x430743(0x3fe)],this[_0x430743(0x3fe)]=null,this;throw new Error(_0x430743(0x2c5));}['onRemoteRej'](_0x5f5b69){var _0x1e6db5=_0x2c8be9;return this[_0x1e6db5(0x1ba)](!!(_0x5f5b69!=null&&_0x5f5b69['isPermissionRej']));}[_0x2c8be9(0x3b0)](){return this;}[_0x2c8be9(0x17a)](){var _0x50f320=_0x2c8be9;return this['_injector'][_0x50f320(0x16c)](fe,this[_0x50f320(0x2d6)],this[_0x50f320(0x36b)],this[_0x50f320(0x3fe)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x2c8be9(0x1ba)](_0x535661){var _0x4bbd31=_0x2c8be9;return this[_0x4bbd31(0x1e8)][_0x4bbd31(0x16c)](de,this[_0x4bbd31(0x2d6)],this[_0x4bbd31(0x36b)],this['_awaitingChangeset'],this[_0x4bbd31(0x354)],this['_handler'],_0x535661);}};te=Re([A(0x7,_0x10d55b(_0x39e7be)),A(0x8,_0x10d55b(_0x37bd29)),A(0x9,_0x292d5e),A(0xa,_0x2f506b),A(0xb,_0x42569f),A(0xc,_0x4e18e3),A(0xd,_0x1bb88c(J))],te);function Di(_0x236ab5,_0x5bb002,_0xc9bf7e,_0x415c86,_0x265100,_0x5b8dc5){var _0x1fe30a=_0x2c8be9;return _0x415c86&&_0x265100[_0x1fe30a(0x387)]?_0x236ab5[_0x1fe30a(0x16c)](ae,_0x5bb002,_0xc9bf7e,_0x415c86,_0x265100,_0x5b8dc5,void 0x0):_0x415c86?_0x236ab5[_0x1fe30a(0x16c)](ue,_0x5bb002,_0xc9bf7e,_0x415c86,_0x5b8dc5):_0x265100['length']?_0x236ab5[_0x1fe30a(0x16c)](oe,_0x5bb002,_0xc9bf7e,_0x265100,_0x5b8dc5):_0x236ab5[_0x1fe30a(0x16c)](De,_0x5bb002,_0xc9bf7e,_0x5b8dc5);}var vr=Object[_0x2c8be9(0x2d0)],pr=Object[_0x2c8be9(0x1da)],Lt=(_0x399401,_0x19b6e3,_0x4eee3c,_0x2a6e96)=>{var _0xf358aa=_0x2c8be9;for(var _0x13e18e=_0x2a6e96>0x1?void 0x0:_0x2a6e96?pr(_0x19b6e3,_0x4eee3c):_0x19b6e3,_0x5d9c9e=_0x399401[_0xf358aa(0x387)]-0x1,_0x3d6257;_0x5d9c9e>=0x0;_0x5d9c9e--)(_0x3d6257=_0x399401[_0x5d9c9e])&&(_0x13e18e=(_0x2a6e96?_0x3d6257(_0x19b6e3,_0x4eee3c,_0x13e18e):_0x3d6257(_0x13e18e))||_0x13e18e);return _0x2a6e96&&_0x13e18e&&vr(_0x19b6e3,_0x4eee3c,_0x13e18e),_0x13e18e;},k=(_0x210e3c,_0x1eaa4b)=>(_0x378091,_0x188f14)=>_0x1eaa4b(_0x378091,_0x188f14,_0x210e3c);let nt=class extends _0x589b61{constructor(_0x39d590,_0x55e992,_0x2405d1,_0x6bf99e,_0x3ab2a2,_0x4416c6,_0xb46643,_0x41bb18,_0x23f3ef,_0x24ecd2,_0x101639,_0x1ff115,_0x4a54a4){var _0x1b28c5=_0x2c8be9;super(),N(this,_0x1b28c5(0x272),new _0x581433(null)),N(this,_0x1b28c5(0x36f),this[_0x1b28c5(0x272)][_0x1b28c5(0x343)]()),N(this,_0x1b28c5(0x1a9)),N(this,_0x1b28c5(0x468),!0x1),N(this,_0x1b28c5(0x3ec),''),N(this,_0x1b28c5(0x3d3),0x0),N(this,'status$',this[_0x1b28c5(0x36f)][_0x1b28c5(0x3f5)](_0x234ac4(_0x28df6e=>_0x28df6e?_0x28df6e[_0x1b28c5(0x184)]:yi[_0x1b28c5(0x2e5)]),_0xc2fd7a(0x1))),N(this,_0x1b28c5(0x409),!0x1),N(this,_0x1b28c5(0x45c),[]),(this['unitID']=_0x39d590,this['session']=_0x55e992,this[_0x1b28c5(0x438)]=_0x2405d1,this[_0x1b28c5(0x1e8)]=_0x6bf99e,this[_0x1b28c5(0x2ad)]=_0x3ab2a2,this['_localeService']=_0x4416c6,this[_0x1b28c5(0x35c)]=_0xb46643,this[_0x1b28c5(0x3b3)]=_0x41bb18,this[_0x1b28c5(0x17d)]=_0x23f3ef,this[_0x1b28c5(0x257)]=_0x24ecd2,this[_0x1b28c5(0x185)]=_0x101639,this[_0x1b28c5(0x2d8)]=_0x1ff115,this['_localCacheService']=_0x4a54a4);}get['state'](){var _0x1a160c=_0x2c8be9;return this[_0x1a160c(0x1a9)];}async[_0x2c8be9(0x25e)](){var _0xeb495a=_0x2c8be9;if(this[_0xeb495a(0x3df)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xeb495a(0x3b7)]();}[_0x2c8be9(0x26f)](){var _0x539ea7=_0x2c8be9;return this[_0x539ea7(0x468)]=!0x0,_0x161f5f(()=>{var _0x24cdd2=_0x539ea7;this['_collaborationPaused']=!0x1,this[_0x24cdd2(0x19b)]();});}[_0x2c8be9(0x461)](_0x12c0a4){var _0x49f869=_0x2c8be9;this[_0x49f869(0x437)](_0x12c0a4);}['_updateState'](_0x463876){var _0x4a642c=_0x2c8be9;this[_0x4a642c(0x1a9)]=_0x463876,this['_state$'][_0x4a642c(0x344)](_0x463876);}async[_0x2c8be9(0x3b7)](){var _0x594675=_0x2c8be9,_0x6c7ef0;this[_0x594675(0x3c2)](await this['_createInitialState']()),this[_0x594675(0x2d8)]&&((_0x6c7ef0=this[_0x594675(0x2d8)])==null||_0x6c7ef0[_0x594675(0x1f5)](this[_0x594675(0x2d6)]),this[_0x594675(0x37c)](this['_singleActiveUnitService'][_0x594675(0x358)](this['unitID'])['subscribe'](_0xf7e82e=>{var _0x1e7203=_0x594675;this[_0x1e7203(0x17d)]['debug'](_0x1e7203(0x163),_0x1e7203(0x241),_0xf7e82e),_0xf7e82e===bi[_0x1e7203(0x2fa)]?(this['_eventService'][_0x1e7203(0x1e4)]({'id':se[_0x1e7203(0x204)]}),this[_0x1e7203(0x185)]['updatePermissionPoint'](new _0x30479c(this[_0x1e7203(0x2d6)])['id'],!0x1),this[_0x1e7203(0x185)][_0x1e7203(0x2ba)](!0x1)):(this[_0x1e7203(0x185)][_0x1e7203(0x39e)](new _0x30479c(this[_0x1e7203(0x2d6)])['id'],!0x0),this[_0x1e7203(0x185)][_0x1e7203(0x2ba)](!0x0));})));let _0x543aa1=!0x1;return this[_0x594675(0x37c)](this['session'][_0x594675(0x2d7)][_0x594675(0x251)](_0x4d92be=>{var _0x2f4628=_0x594675;_0x4d92be===Te[_0x2f4628(0x3f8)]?this['_toggleOnline'](_0x543aa1):_0x4d92be===Te[_0x2f4628(0x2e5)]&&(_0x543aa1=!0x0,this[_0x2f4628(0x374)]());})),this[_0x594675(0x37c)](this[_0x594675(0x2a3)]['event$'][_0x594675(0x251)](_0x12fa9f=>{var _0x4c7295=_0x594675;try{switch(_0x12fa9f['eventID']){case _0x4e7988['NEW_CHANGESETS']:{this[_0x4c7295(0x261)](_0x13711c(_0x12fa9f[_0x4c7295(0x213)]));break;}case _0x4e7988['CHANGESET_ACK']:{this[_0x4c7295(0x45a)](_0x12fa9f['data']);break;}case _0x4e7988[_0x4c7295(0x24b)]:{this[_0x4c7295(0x182)]();break;}case _0x4e7988[_0x4c7295(0x43c)]:{this[_0x4c7295(0x22c)](_0x12fa9f[_0x4c7295(0x213)]);break;}case _0x4e7988[_0x4c7295(0x193)]:{this['_onFetchMissResult'](_0x12fa9f[_0x4c7295(0x213)][_0x4c7295(0x1e9)][_0x4c7295(0x221)](_0x1ca097=>_0x13711c(_0x1ca097)));break;}case _0x4e7988['PERMISSION_REJ']:{this[_0x4c7295(0x182)]({'isPermissionRej':!0x0});break;}case _0x4e7988[_0x4c7295(0x2eb)]:break;}}catch(_0x22984d){throw console[_0x4c7295(0x2ce)](_0x4c7295(0x332),_0x22984d),_0x22984d;}})),this[_0x594675(0x1a9)];}[_0x2c8be9(0x304)](){var _0x40c65b=_0x2c8be9;this[_0x40c65b(0x409)]=!0x1;}[_0x2c8be9(0x379)](){var _0x570fea=_0x2c8be9;if(this[_0x570fea(0x409)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x570fea(0x409)]=!0x0;}[_0x2c8be9(0x437)](_0x386bd9){var _0x5528=_0x2c8be9;this[_0x5528(0x379)](),this['_updateState'](this[_0x5528(0x1a9)]['appendMutation'](_0x386bd9)),this['_unlockTransition']();}[_0x2c8be9(0x261)](_0x5c1c1a){var _0x59c272=_0x2c8be9;if(!(_0x5c1c1a[_0x59c272(0x413)]<=this[_0x59c272(0x35c)][_0x59c272(0x2b7)](this[_0x59c272(0x2d6)]))){if(this[_0x59c272(0x468)]){this[_0x59c272(0x45c)]['push'](_0x5c1c1a);return;}this[_0x59c272(0x405)](_0x5c1c1a);}}['_exhaustRemoteChangesetQueue'](){var _0x2eae00=_0x2c8be9;this[_0x2eae00(0x45c)]['forEach'](_0x46f835=>this[_0x2eae00(0x405)](_0x46f835)),this['_remoteChangesetQueue']=[];}[_0x2c8be9(0x405)](_0x50167){var _0x496077=_0x2c8be9;const _0x55e5c1=this[_0x496077(0x2ad)][_0x496077(0x350)]['fetchThroughInterceptors'](this[_0x496077(0x2ad)][_0x496077(0x350)][_0x496077(0x297)]()['COMPRESS_MUTATION_APPLY'])(_0x50167['mutations'],null)||_0x50167[_0x496077(0x244)],_0x15335c={..._0x50167,'mutations':_0x55e5c1};this['_lockTransition'](),this['_updateState'](this[_0x496077(0x1a9)]['onRemoteChangeset'](_0x15335c)),this['_unlockTransition']();}[_0x2c8be9(0x45a)](_0x4eebdd){var _0x529766=_0x2c8be9;this[_0x529766(0x379)](),this['_updateState'](this['_state'][_0x529766(0x1f7)](_0x4eebdd)),this[_0x529766(0x304)]();}[_0x2c8be9(0x182)](_0x12ab15){var _0x4e627f=_0x2c8be9;this[_0x4e627f(0x379)](),this[_0x4e627f(0x3c2)](this[_0x4e627f(0x1a9)][_0x4e627f(0x2a1)](_0x12ab15)),this[_0x4e627f(0x304)]();}['_onRemoteRetry'](_0x56d050){var _0x3be356=_0x2c8be9;this[_0x3be356(0x379)](),this[_0x3be356(0x3c2)](this[_0x3be356(0x1a9)][_0x3be356(0x3b0)](_0x56d050)),this['_unlockTransition']();}[_0x2c8be9(0x23e)](_0x27d5a0){var _0x4bf69c=_0x2c8be9;if(!(this[_0x4bf69c(0x1a9)]instanceof te))throw new TypeError(_0x4bf69c(0x3e6));const _0xff7853=_0x27d5a0['map'](_0x24dc69=>{var _0x27d49c=_0x4bf69c;const _0xb499bd=this[_0x27d49c(0x2ad)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x27d49c(0x350)][_0x27d49c(0x297)]()[_0x27d49c(0x38a)])(_0x24dc69[_0x27d49c(0x244)],null)||_0x24dc69[_0x27d49c(0x244)];return{..._0x24dc69,'mutations':_0xb499bd};});this[_0x4bf69c(0x379)](),this[_0x4bf69c(0x3c2)](this[_0x4bf69c(0x1a9)]['onMissedChangesetFetched'](_0xff7853)),this['_unlockTransition']();}[_0x2c8be9(0x374)](){var _0x15137b=_0x2c8be9;this['_lockTransition'](),this[_0x15137b(0x3c2)](this[_0x15137b(0x1a9)][_0x15137b(0x17a)]()),this[_0x15137b(0x304)]();}[_0x2c8be9(0x214)](_0x27e185=!0x1){var _0x31ed1c=_0x2c8be9;this[_0x31ed1c(0x379)](),this['_updateState'](this[_0x31ed1c(0x1a9)][_0x31ed1c(0x1cb)]()),this[_0x31ed1c(0x304)]();const _0x1299d2=this[_0x31ed1c(0x1a9)];_0x27e185&&_0x1299d2 instanceof De&&(this['_lockTransition'](),this[_0x31ed1c(0x3c2)](_0x1299d2[_0x31ed1c(0x3c6)]()),this[_0x31ed1c(0x304)]());}async[_0x2c8be9(0x2a0)](){return new Promise(_0x1308ff=>{var _0x5527bb=_0x2fe9;this[_0x5527bb(0x2a3)]['sessionStatus$'][_0x5527bb(0x3f5)](_0xb6eed8(0x1))[_0x5527bb(0x251)](async _0x2f779f=>{var _0x341e49=_0x5527bb;_0x1308ff(await this[_0x341e49(0x166)](_0x2f779f===Te[_0x341e49(0x3f8)]));});});}[_0x2c8be9(0x466)](){var _0x122296=_0x2c8be9;const _0x29b1f5=this[_0x122296(0x2d6)];return{'onStateChange':(_0x5bb715,_0x5f1b34)=>{var _0x304468=_0x122296;if(_0x5bb715!==this[_0x304468(0x1a9)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5bb715[_0x304468(0x184)]+_0x304468(0x29b)+_0x5f1b34['status']+_0x304468(0x1af)+this[_0x304468(0x1a9)]['status']);this[_0x304468(0x3c2)](_0x5f1b34);},'onSendChangeset':_0x6d46e3=>{var _0x13712f=_0x122296;_0x6d46e3[_0x13712f(0x35b)]||(_0x6d46e3[_0x13712f(0x35b)]=this[_0x13712f(0x3ec)],_0x6d46e3[_0x13712f(0x1d1)]=++this['_changesetReqId']);const _0x566edb={'eventID':_0x4e7988[_0x13712f(0x285)],'data':{'unitID':_0x6d46e3[_0x13712f(0x2d6)],'unitType':this[_0x13712f(0x438)],'changeset':_0x6d46e3,'memberID':this['session'][_0x13712f(0x3a1)]()}};this[_0x13712f(0x2a3)]['send'](_0x566edb,this['unitID']);},'onMissingChangesets':({from:_0x569df3,to:_0x52f84e})=>{var _0x169394=_0x122296;this[_0x169394(0x17d)][_0x169394(0x1c4)](_0x169394(0x163),_0x169394(0x1ac)+_0x569df3+_0x169394(0x3cd)+_0x52f84e);const _0x5e1e66={'eventID':_0x4e7988['FETCH_MISSING'],'data':{'unitID':_0x29b1f5,'unitType':this[_0x169394(0x438)],'from':_0x569df3,'to':_0x52f84e}};this['session'][_0x169394(0x1f6)](_0x5e1e66,this[_0x169394(0x2d6)]);}};}async[_0x2c8be9(0x166)](_0x1d4a9b){var _0x463640=_0x2c8be9,_0x4da8d5,_0x5de02b,_0x444415;const _0x6a5459=await((_0x4da8d5=this[_0x463640(0x203)])==null?void 0x0:_0x4da8d5[_0x463640(0x3cb)](this[_0x463640(0x2d6)])),_0x19abc8=(_0x5de02b=_0x6a5459==null?void 0x0:_0x6a5459[_0x463640(0x244)])!=null?_0x5de02b:[],_0x58f365=(_0x444415=_0x6a5459==null?void 0x0:_0x6a5459['awaitingChangeset'])!=null?_0x444415:null,_0x48b6fa=!!(_0x58f365!=null&&_0x58f365[_0x463640(0x35b)])&&!!(_0x58f365!=null&&_0x58f365[_0x463640(0x1d1)]);this[_0x463640(0x3ec)]=_0x48b6fa?_0x58f365[_0x463640(0x35b)]:sr(),this[_0x463640(0x3d3)]=_0x48b6fa?_0x58f365[_0x463640(0x1d1)]:0x0;const _0x1881e6=this[_0x463640(0x2d6)];try{this[_0x463640(0x3e0)](_0x58f365,_0x19abc8);}catch(_0x3748d5){this[_0x463640(0x17d)][_0x463640(0x2ce)](_0x3748d5);}const _0x297ae9=this['_createHandler']();if(_0x1d4a9b){const _0x212d37=Di(this[_0x463640(0x1e8)],_0x1881e6,this[_0x463640(0x438)],_0x58f365,_0x19abc8,_0x297ae9);return _0x212d37 instanceof oe?_0x212d37[_0x463640(0x417)]():(_0x212d37 instanceof ae||_0x212d37 instanceof ue)&&_0x212d37[_0x463640(0x2a9)](),_0x212d37;}return this[_0x463640(0x1e8)]['createInstance'](fe,_0x1881e6,this['_type'],_0x58f365,_0x19abc8,_0x297ae9);}[_0x2c8be9(0x3e0)](_0x4c517e,_0x2b8d7f){var _0x203379=_0x2c8be9,_0x144a7d,_0x29523e;const _0x28f62b=this['_compressMutationService'][_0x203379(0x350)][_0x203379(0x1b4)](this[_0x203379(0x2ad)]['interceptor']['getInterceptPoints']()[_0x203379(0x38a)]);(_0x144a7d=_0x28f62b((_0x4c517e==null?void 0x0:_0x4c517e[_0x203379(0x244)])||[],null))==null||_0x144a7d[_0x203379(0x41b)](_0x14b735=>this['_commandService'][_0x203379(0x27c)](_0x14b735['id'],_0x14b735[_0x203379(0x46c)])),(_0x29523e=_0x28f62b(_0x2b8d7f||[],null))==null||_0x29523e[_0x203379(0x41b)](_0x32bf71=>this[_0x203379(0x257)][_0x203379(0x27c)](_0x32bf71['id'],_0x32bf71[_0x203379(0x46c)]));}};nt=Lt([k(0x3,_0x10d55b(_0x39e7be)),k(0x4,_0x10d55b(_0x2994c6)),k(0x5,_0x10d55b(_0x26c876)),k(0x6,_0x10d55b(_0x37bd29)),k(0x7,_0x10d55b(pe)),k(0x8,_0x292d5e),k(0x9,_0x2f506b),k(0xa,_0x1b7b77),k(0xb,_0x1bb88c(ht)),k(0xc,_0x1bb88c(J))],nt);let Tt=class extends nt{constructor(_0x21c45d,_0x8a9ce4,_0x3a1973,_0x4713c8,_0x1e7d14,_0x2f7828,_0x215ef0,_0x36331b,_0x84d416,_0x25946c,_0x3a86bb,_0x54ed5d,_0x338bac){var _0x960bad=_0x2c8be9;super(_0x21c45d,_0x3a1973,_0x8a9ce4,_0x4713c8,_0x1e7d14,_0x2f7828,_0x215ef0,_0x36331b,_0x84d416,_0x25946c,_0x3a86bb,_0x54ed5d,_0x338bac),N(this,_0x960bad(0x38b),null),(this['unitID']=_0x21c45d,this[_0x960bad(0x36b)]=_0x8a9ce4);}[_0x2c8be9(0x338)](_0x2d9cdb){var _0x51d836=_0x2c8be9;this[_0x51d836(0x38b)]=_0x2d9cdb;}['dispose'](){var _0x1bc9e4=_0x2c8be9;this[_0x1bc9e4(0x38b)]=null,super[_0x1bc9e4(0x1d4)]();}[_0x2c8be9(0x466)](){var _0x177fbc=_0x2c8be9;const _0x1c335c=super[_0x177fbc(0x466)]();return _0x1c335c[_0x177fbc(0x1cc)]=_0x2b96d1=>{var _0x239598=_0x177fbc,_0x29c6a0,_0x2e8745;return(_0x2e8745=(_0x29c6a0=this[_0x239598(0x38b)])==null?void 0x0:_0x29c6a0[_0x239598(0x1cc)])==null?void 0x0:_0x2e8745[_0x239598(0x439)](_0x29c6a0,_0x2b96d1);},_0x1c335c[_0x177fbc(0x1ee)]=_0x5989be=>{var _0x4b50cd=_0x177fbc,_0x23ab09,_0x4efb57;return(_0x4efb57=(_0x23ab09=this[_0x4b50cd(0x38b)])==null?void 0x0:_0x23ab09[_0x4b50cd(0x1ee)])==null?void 0x0:_0x4efb57[_0x4b50cd(0x439)](_0x23ab09,_0x5989be);},_0x1c335c['onTransformSelections']=_0x2f6b56=>{var _0x121aa0=_0x177fbc,_0x2801d2,_0xbe3092;return(_0xbe3092=(_0x2801d2=this['_handlerCallback'])==null?void 0x0:_0x2801d2[_0x121aa0(0x173)])==null?void 0x0:_0xbe3092['call'](_0x2801d2,_0x2f6b56);},_0x1c335c[_0x177fbc(0x2ef)]=_0x518084=>{var _0x235b75=_0x177fbc,_0xd88a5f,_0x347f9c;return(_0x347f9c=(_0xd88a5f=this[_0x235b75(0x38b)])==null?void 0x0:_0xd88a5f[_0x235b75(0x2ef)])==null?void 0x0:_0x347f9c[_0x235b75(0x439)](_0xd88a5f,_0x518084);},_0x1c335c['onTransformRemoteChangesetByIMECache']=_0xd9bb23=>{var _0x1072a2=_0x177fbc,_0x3e1f41,_0x1fbcd3,_0x17ea5a;if(!((_0x3e1f41=this[_0x1072a2(0x38b)])!=null&&_0x3e1f41[_0x1072a2(0x266)]))throw new Error(_0x1072a2(0x324));return(_0x17ea5a=(_0x1fbcd3=this[_0x1072a2(0x38b)])==null?void 0x0:_0x1fbcd3[_0x1072a2(0x266)])==null?void 0x0:_0x17ea5a[_0x1072a2(0x439)](_0x1fbcd3,_0xd9bb23);},_0x1c335c[_0x177fbc(0x1be)]=_0x521833=>{var _0x490ca3=_0x177fbc,_0x584156,_0x5d9550,_0x560b60;if(!((_0x584156=this[_0x490ca3(0x38b)])!=null&&_0x584156[_0x490ca3(0x1be)]))throw new Error(_0x490ca3(0x255));return(_0x560b60=(_0x5d9550=this['_handlerCallback'])==null?void 0x0:_0x5d9550[_0x490ca3(0x1be)])==null?void 0x0:_0x560b60['call'](_0x5d9550,_0x521833);},_0x1c335c;}async['_init'](){var _0x2dea74=_0x2c8be9;const _0x249534=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x2dea74(0x254)]((_0x3c0795,_0x32f2cf)=>{var _0x2b21ca=_0x2dea74;if(_0x3c0795[_0x2b21ca(0x36b)]!==_0x371a38['MUTATION']||_0x32f2cf!=null&&_0x32f2cf[_0x2b21ca(0x329)]||_0x32f2cf!=null&&_0x32f2cf[_0x2b21ca(0x263)]||_0x3c0795['id']===_0x4df352['id'])return;const _0x1f71c0=_0x3c0795['params'];if((_0x1f71c0==null?void 0x0:_0x1f71c0[_0x2b21ca(0x2e9)])!==this[_0x2b21ca(0x2d6)])return;const _0x356e3b=_0x3c0795,_0x3e708e=this[_0x2b21ca(0x2ad)][_0x2b21ca(0x350)][_0x2b21ca(0x1b4)](this[_0x2b21ca(0x2ad)][_0x2b21ca(0x350)][_0x2b21ca(0x297)]()[_0x2b21ca(0x333)])([_0x356e3b],null)||[_0x356e3b];this[_0x2b21ca(0x437)](_0x3e708e[0x0]);})),_0x249534;}};Tt=Lt([k(0x3,_0x10d55b(_0x39e7be)),k(0x4,_0x10d55b(_0x2994c6)),k(0x5,_0x10d55b(_0x26c876)),k(0x6,_0x10d55b(_0x37bd29)),k(0x7,_0x10d55b(pe)),k(0x8,_0x292d5e),k(0x9,_0x2f506b),k(0xa,_0x1b7b77),k(0xb,_0x1bb88c(ht)),k(0xc,_0x1bb88c(J))],Tt);let Ct=class extends nt{constructor(_0x4b2858,_0x5ba599,_0x28fe22,_0x840c80,_0x3e8b49,_0x1a973b,_0x149326,_0x1136b1,_0x5a19fd,_0x2028d7,_0x3765a0,_0x5707e8,_0x45320e,_0x7643ab){var _0x4d9c91=_0x2c8be9;super(_0x4b2858,_0x28fe22,_0x5ba599,_0x840c80,_0x3e8b49,_0x1a973b,_0x149326,_0x5a19fd,_0x2028d7,_0x3765a0,_0x5707e8,_0x45320e,_0x7643ab),this[_0x4d9c91(0x2d6)]=_0x4b2858,this[_0x4d9c91(0x36b)]=_0x5ba599,this[_0x4d9c91(0x281)]=_0x1136b1;}[_0x2c8be9(0x466)](){var _0x4054bd=_0x2c8be9;const _0x468072=super[_0x4054bd(0x466)]();return _0x468072[_0x4054bd(0x173)]=_0xa5da5c=>this['_sheetTransformSelectionsService'][_0x4054bd(0x2ff)](_0xa5da5c),_0x468072;}async[_0x2c8be9(0x3b7)](){var _0x3b4d81=_0x2c8be9;const _0x32eaed=await super[_0x3b4d81(0x3b7)]();return this['disposeWithMe'](this[_0x3b4d81(0x257)][_0x3b4d81(0x254)]((_0x3b5d1d,_0x42f3e0)=>{var _0xd50563=_0x3b4d81;if(_0x3b5d1d[_0xd50563(0x36b)]!==_0x371a38[_0xd50563(0x1d3)]||_0x42f3e0!=null&&_0x42f3e0[_0xd50563(0x329)]||_0x42f3e0!=null&&_0x42f3e0['onlyLocal'])return;const _0xdf36a4=_0x3b5d1d[_0xd50563(0x46c)];if((_0xdf36a4==null?void 0x0:_0xdf36a4[_0xd50563(0x2e9)])!==this['unitID'])return;const _0x1a8ac7=_0x3b5d1d,_0x49705c=this[_0xd50563(0x2ad)]['interceptor'][_0xd50563(0x1b4)](this['_compressMutationService'][_0xd50563(0x350)][_0xd50563(0x297)]()[_0xd50563(0x333)])([_0x1a8ac7],null)||[_0x1a8ac7];this[_0xd50563(0x437)](_0x49705c[0x0]);})),_0x32eaed;}};Ct=Lt([k(0x3,_0x10d55b(_0x39e7be)),k(0x4,_0x10d55b(_0x2994c6)),k(0x5,_0x10d55b(_0x26c876)),k(0x6,_0x10d55b(_0x37bd29)),k(0x7,_0x10d55b(it)),k(0x8,_0x10d55b(pe)),k(0x9,_0x292d5e),k(0xa,_0x2f506b),k(0xb,_0x1b7b77),k(0xc,_0x1bb88c(ht)),k(0xd,_0x1bb88c(J))],Ct);var mr=Object[_0x2c8be9(0x2d0)],gr=Object[_0x2c8be9(0x1da)],Sr=(_0x58f73a,_0xf307c8,_0x433d74,_0x99880)=>{for(var _0x35291a=_0x99880>0x1?void 0x0:_0x99880?gr(_0xf307c8,_0x433d74):_0xf307c8,_0x1714b8=_0x58f73a['length']-0x1,_0xdf26ef;_0x1714b8>=0x0;_0x1714b8--)(_0xdf26ef=_0x58f73a[_0x1714b8])&&(_0x35291a=(_0x99880?_0xdf26ef(_0xf307c8,_0x433d74,_0x35291a):_0xdf26ef(_0x35291a))||_0x35291a);return _0x99880&&_0x35291a&&mr(_0xf307c8,_0x433d74,_0x35291a),_0x35291a;},ft=(_0x31c575,_0x58aea9)=>(_0x116c00,_0xbe8530)=>_0x58aea9(_0x116c00,_0xbe8530,_0x31c575);let rt=class extends _0x589b61{constructor(_0x264d38,_0x3b3e58,_0x1e32cd){var _0x5c5221=_0x2c8be9;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x1705e4()),N(this,_0x5c5221(0x24c),this['_entityInit$'][_0x5c5221(0x343)]()),(this[_0x5c5221(0x1e8)]=_0x264d38,this[_0x5c5221(0x34e)]=_0x3b3e58,this['_univerInstanceService']=_0x1e32cd,this[_0x5c5221(0x3b7)]());}[_0x2c8be9(0x1d4)](){var _0x29aaad=_0x2c8be9;super[_0x29aaad(0x1d4)](),this['_entities'][_0x29aaad(0x41b)](_0x314adc=>_0x314adc[_0x29aaad(0x1d4)]()),this['_entities'][_0x29aaad(0x1a3)]();}['getCollabEntity'](_0xa6529f){var _0x158033=_0x2c8be9,_0x19eda3;return(_0x19eda3=this[_0x158033(0x27b)][_0x158033(0x2ee)](_0xa6529f))!=null?_0x19eda3:null;}[_0x2c8be9(0x32c)](_0x17f88d){var _0x2bd87b=_0x2c8be9;const _0x42b88e=this[_0x2bd87b(0x37f)](_0x17f88d);return _0x42b88e?_0x3eeaa3(_0x42b88e):this[_0x2bd87b(0x45b)][_0x2bd87b(0x3f5)](_0x4e5b7f(_0x2c8717=>_0x2c8717['unitID']===_0x17f88d));}[_0x2c8be9(0x36d)](_0x5148f2){var _0x4213ea=_0x2c8be9;return _0x79de2f(this[_0x4213ea(0x32c)](_0x5148f2)['pipe'](_0x276a35(()=>{})));}['_init'](){var _0xbe8723=_0x2c8be9;this[_0xbe8723(0x2f4)][_0xbe8723(0x1ff)](_0x128e68[_0xbe8723(0x295)])[_0xbe8723(0x3f5)](_0x4d2f07(this[_0xbe8723(0x40d)]),_0x5b16b9(0x10))[_0xbe8723(0x251)](async _0x5591f7=>{var _0x49024f=_0xbe8723;const _0x181365=_0x5591f7['getUnitId'](),_0x226aaf=await this[_0x49024f(0x356)](_0x181365,Q[_0x49024f(0x295)]);this[_0x49024f(0x27b)]['set'](_0x181365,_0x226aaf);}),this['_univerInstanceService'][_0xbe8723(0x1ff)](_0x128e68['UNIVER_DOC'])[_0xbe8723(0x3f5)](_0x4d2f07(this[_0xbe8723(0x40d)]),_0x5b16b9(0x10))[_0xbe8723(0x3f5)](_0x4e5b7f(_0x7f898d=>!_0x7f898d[_0xbe8723(0x315)]()[_0xbe8723(0x33d)]('__')))[_0xbe8723(0x251)](async _0x23560d=>{var _0x4c4352=_0xbe8723;const _0x41d599=_0x23560d[_0x4c4352(0x315)](),_0x4e6837=await this[_0x4c4352(0x356)](_0x41d599,Q['UNIVER_DOC']);this[_0x4c4352(0x27b)][_0x4c4352(0x2b9)](_0x41d599,_0x4e6837);}),_0x1508ec(this[_0xbe8723(0x2f4)][_0xbe8723(0x1bb)](_0x128e68['UNIVER_SHEET']),this[_0xbe8723(0x2f4)]['getTypeOfUnitDisposed$'](_0x128e68[_0xbe8723(0x26d)]))[_0xbe8723(0x3f5)](_0x4d2f07(this['dispose$']))['subscribe'](_0x2de393=>{var _0x529411=_0xbe8723;const _0x20774b=_0x2de393[_0x529411(0x315)](),_0x2e03b5=this[_0x529411(0x27b)]['get'](_0x20774b);_0x2e03b5&&(_0x2e03b5['dispose'](),this[_0x529411(0x27b)]['delete'](_0x20774b));});}async[_0x2c8be9(0x356)](_0x4e9130,_0x525ce5){var _0x119ae4=_0x2c8be9;const _0x48a088=await this[_0x119ae4(0x34e)][_0x119ae4(0x448)](_0x4e9130),_0x39fede=this[_0x119ae4(0x1e8)]['createInstance'](this[_0x119ae4(0x2f9)](_0x525ce5),_0x4e9130,_0x525ce5,_0x48a088);return await _0x39fede[_0x119ae4(0x25e)](),this[_0x119ae4(0x45b)]['next'](_0x39fede),_0x39fede;}['_getCtorByUniverType'](_0x4165d5){var _0x42a0e7=_0x2c8be9;switch(_0x4165d5){case Q['UNIVER_DOC']:return Tt;case Q[_0x42a0e7(0x295)]:return Ct;default:throw new Error(_0x42a0e7(0x38c)+_0x4165d5);}}};rt=Sr([ft(0x0,_0x10d55b(_0x39e7be)),ft(0x1,_0x10d55b(Le)),ft(0x2,_0x10f563)],rt);var Er=Object['defineProperty'],Ir=Object[_0x2c8be9(0x1da)],Tr=(_0x5366a1,_0x22d260,_0x2559f5,_0xb66d6f)=>{for(var _0x35d70b=_0xb66d6f>0x1?void 0x0:_0xb66d6f?Ir(_0x22d260,_0x2559f5):_0x22d260,_0xe9a68f=_0x5366a1['length']-0x1,_0x39ee3e;_0xe9a68f>=0x0;_0xe9a68f--)(_0x39ee3e=_0x5366a1[_0xe9a68f])&&(_0x35d70b=(_0xb66d6f?_0x39ee3e(_0x22d260,_0x2559f5,_0x35d70b):_0x39ee3e(_0x35d70b))||_0x35d70b);return _0xb66d6f&&_0x35d70b&&Er(_0x22d260,_0x2559f5,_0x35d70b),_0x35d70b;},Jt=(_0x47e404,_0x546187)=>(_0x179b94,_0x19dd5b)=>_0x546187(_0x179b94,_0x19dd5b,_0x47e404);const Cr=_0x2c8be9(0x37a),Rr=_0x2c8be9(0x22e);let Rt=class extends _0x156d7f{constructor(_0x5aa157,_0xe872d4){var _0x2bff56=_0x2c8be9;super(),this[_0x2bff56(0x2f4)]=_0x5aa157,this['_configService']=_0xe872d4,this[_0x2bff56(0x3b7)]();}[_0x2c8be9(0x3b7)](){var _0x313fec=_0x2c8be9;this['disposeWithMe'](this[_0x313fec(0x2f4)]['focused$'][_0x313fec(0x251)](()=>{var _0x28897e=_0x313fec,_0x36596d;const _0x302168=this[_0x28897e(0x2f4)]['getFocusedUnit']();let _0xbe4214=(_0x36596d=this[_0x28897e(0x187)][_0x28897e(0x2ec)](Cr))!=null?_0x36596d:Rr;_0x302168 instanceof _0x49c12f&&(_0xbe4214=_0x302168[_0x28897e(0x418)]),document[_0x28897e(0x20b)]=_0xbe4214;}));}};Rt=Tr([Jt(0x0,_0x10f563),Jt(0x1,_0x2b885e)],Rt);var br=Object[_0x2c8be9(0x2d0)],Or=Object[_0x2c8be9(0x1da)],yr=(_0xf4fc48,_0x1edc71,_0x42ee7d,_0x480535)=>{for(var _0x1fa0c0=_0x480535>0x1?void 0x0:_0x480535?Or(_0x1edc71,_0x42ee7d):_0x1edc71,_0x27e14b=_0xf4fc48['length']-0x1,_0x3f16ac;_0x27e14b>=0x0;_0x27e14b--)(_0x3f16ac=_0xf4fc48[_0x27e14b])&&(_0x1fa0c0=(_0x480535?_0x3f16ac(_0x1edc71,_0x42ee7d,_0x1fa0c0):_0x3f16ac(_0x1fa0c0))||_0x1fa0c0);return _0x480535&&_0x1fa0c0&&br(_0x1edc71,_0x42ee7d,_0x1fa0c0),_0x1fa0c0;},vt=(_0xdaea0e,_0x2b96d4)=>(_0x15f108,_0x29d2e8)=>_0x2b96d4(_0x15f108,_0x29d2e8,_0xdaea0e);let st=class{constructor(_0x5f4407,_0x3eac91,_0x508473){var _0x1bb8dc=_0x2c8be9;this[_0x1bb8dc(0x187)]=_0x5f4407,this[_0x1bb8dc(0x171)]=_0x3eac91,this[_0x1bb8dc(0x427)]=_0x508473,this['init']();}[_0x2c8be9(0x25e)](){var _0xe2b7e=_0x2c8be9;this['_httpService'][_0xe2b7e(0x330)]({'priority':0x1,'interceptor':(_0x406f09,_0x51ab47)=>_0x51ab47(_0x406f09)[_0xe2b7e(0x3f5)](_0x5a1149(async _0x2ef3a4=>{var _0x4c48f8=_0xe2b7e;const _0x3d7373=_0x2ef3a4;if(_0x3d7373[_0x4c48f8(0x184)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4c48f8(0x34a)](this[_0x4c48f8(0x427)]['t']('auth.needGotoLoginAlert'))){const _0x319ee8=window[_0x4c48f8(0x363)](window['location'][_0x4c48f8(0x191)]);window[_0x4c48f8(0x1dc)][_0x4c48f8(0x191)]=this[_0x4c48f8(0x3fb)]()+_0x4c48f8(0x286)+_0x319ee8;}}return _0x3d7373;}))});}[_0x2c8be9(0x3fb)](){var _0x14ba68=_0x2c8be9,_0x5ac57e,_0xf041ae;const _0x275cff=this[_0x14ba68(0x187)][_0x14ba68(0x2ec)](xn),_0x93dc15=this[_0x14ba68(0x187)][_0x14ba68(0x2ec)](q);return(_0xf041ae=(_0x5ac57e=_0x93dc15==null?void 0x0:_0x93dc15[_0x14ba68(0x3a6)])!=null?_0x5ac57e:_0x275cff)!=null?_0xf041ae:Ln;}};st=yr([vt(0x0,_0x2b885e),vt(0x1,_0x10d55b(_0x17ffb1)),vt(0x2,_0x10d55b(_0x26c876))],st);var Nr=Object[_0x2c8be9(0x2d0)],Dr=Object[_0x2c8be9(0x1da)],Pr=(_0x5d6240,_0x8fdebe,_0x48665c,_0x5e860b)=>{var _0x2d9531=_0x2c8be9;for(var _0x58a561=_0x5e860b>0x1?void 0x0:_0x5e860b?Dr(_0x8fdebe,_0x48665c):_0x8fdebe,_0x3fd4e2=_0x5d6240[_0x2d9531(0x387)]-0x1,_0x5a650f;_0x3fd4e2>=0x0;_0x3fd4e2--)(_0x5a650f=_0x5d6240[_0x3fd4e2])&&(_0x58a561=(_0x5e860b?_0x5a650f(_0x8fdebe,_0x48665c,_0x58a561):_0x5a650f(_0x58a561))||_0x58a561);return _0x5e860b&&_0x58a561&&Nr(_0x8fdebe,_0x48665c,_0x58a561),_0x58a561;},Xt=(_0x2aee88,_0x4863a0)=>(_0x5601e5,_0x400479)=>_0x4863a0(_0x5601e5,_0x400479,_0x2aee88);const Pi='AUTHZ_URL_KEY',wr=_0x2c8be9(0x440);let bt=class extends _0x156d7f{constructor(_0x34ff22,_0x24c07b){var _0x383fd0=_0x2c8be9;super(),this[_0x383fd0(0x435)]=_0x34ff22,this['_configService']=_0x24c07b,this[_0x383fd0(0x3b9)]();}[_0x2c8be9(0x3b9)](){var _0x43abc1=_0x2c8be9;const _0x6f1bb7=this;this[_0x43abc1(0x37c)](this[_0x43abc1(0x435)][_0x43abc1(0x330)]({'priority':0x3e7,'interceptor':_0x4412cf({'isMatch'(_0x44047e){var _0x34f778=_0x43abc1,_0x41d5a4;if(_0x44047e[_0x34f778(0x167)]===_0x34f778(0x2ac)&&((_0x41d5a4=_0x44047e[_0x34f778(0x197)])!=null&&_0x41d5a4[_0x34f778(0x2b3)])){const {objectID:_0x1e454e,objectType:_0x1b0c96}=_0x44047e['requestParams'][_0x34f778(0x2b3)]||{};if(!_0x1e454e||_0x1b0c96===void 0x0)return!0x1;const _0x55d61a=_0x6f1bb7['_getAPIPrefixPath']()+'/'+_0x1b0c96+_0x34f778(0x433)+_0x1e454e+_0x34f778(0x22b);if(_0x44047e[_0x34f778(0x202)]===_0x55d61a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a8e4b){var _0x5b2d1d=_0x43abc1,_0x3d17db;return(_0x3d17db=_0x4a8e4b['requestParams'])==null?void 0x0:_0x3d17db[_0x5b2d1d(0x2b3)];},'mergeParamsToRequest'(_0x40ac77,_0x586c9c){var _0x271706=_0x43abc1;const _0x33c839=_0x6f1bb7[_0x271706(0x369)]()+'/-/object/-/batch_allowed',_0x4c391f=_0x40ac77[_0x271706(0x3c0)]((_0x5bb352,_0x537adc)=>{var _0x55140e=_0x271706;const {unitID:_0x3bbaa5,objectID:_0x18b743,objectType:_0x1ec1c5,actions:_0x39c65a}=_0x537adc;return _0x5bb352[_0x3bbaa5]||(_0x5bb352[_0x3bbaa5]={}),_0x5bb352[_0x3bbaa5][_0x18b743]||(_0x5bb352[_0x3bbaa5][_0x18b743]={'objectID':_0x18b743,'objectType':_0x1ec1c5,'actions':[]}),_0x5bb352[_0x3bbaa5][_0x18b743][_0x55140e(0x18c)]['push'](..._0x39c65a),_0x5bb352;},{}),_0x48848e=[];for(const _0x12f7a9 in _0x4c391f)for(const _0x1a3579 in _0x4c391f[_0x12f7a9]){const {actions:_0x11adb3,objectType:_0x229552}=_0x4c391f[_0x12f7a9][_0x1a3579],_0x29e90b=[...new Set(_0x11adb3)];_0x48848e['push']({'unitID':_0x12f7a9,'objectID':_0x1a3579,'objectType':_0x229552,'actions':_0x29e90b});}return new _0x5be359('POST',_0x33c839,{'headers':_0x586c9c[_0x271706(0x21f)],'withCredentials':_0x586c9c['withCredentials'],'responseType':_0x586c9c[_0x271706(0x398)],'body':{'requests':_0x48848e}});}},{'distributeResult'(_0x4390b8,_0x2f7d2b){const {objectActions:_0x20181a}=_0x4390b8;return _0x2f7d2b['map'](_0x4f3e19=>{var _0x2c3fd5=_0x2fe9;const {unitID:_0x45dae2,objectID:_0x49edd5,actions:_0x2baf07}=_0x4f3e19,_0x28e673=_0x20181a[_0x2c3fd5(0x3b5)](_0x311050=>_0x311050[_0x2c3fd5(0x2d6)]===_0x45dae2&&_0x311050[_0x2c3fd5(0x26c)]===_0x49edd5),_0x20c4b2=_0x2baf07[_0x2c3fd5(0x221)](_0x5ea810=>_0x28e673==null?void 0x0:_0x28e673[_0x2c3fd5(0x18c)]['find'](_0x537d47=>_0x537d47[_0x2c3fd5(0x18f)]===_0x5ea810))[_0x2c3fd5(0x42f)](_0x205589=>!!_0x205589);return{'config':_0x4f3e19,'result':{'actions':_0x20c4b2,'error':_0x4390b8['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3433da=_0x2c8be9,_0x5359e7,_0x149eeb;const _0x1b5d20=this['_configService'][_0x3433da(0x2ec)](Pi),_0x402664=this[_0x3433da(0x187)][_0x3433da(0x2ec)](q);return(_0x149eeb=(_0x5359e7=_0x402664==null?void 0x0:_0x402664[_0x3433da(0x42b)])!=null?_0x5359e7:_0x1b5d20)!=null?_0x149eeb:wr;}async[_0x2c8be9(0x442)](_0x43fe09){var _0x30732f=_0x2c8be9;const _0x56a7f6=this[_0x30732f(0x369)]()+'/'+_0x43fe09['objectType']+_0x30732f(0x17f);return(await this[_0x30732f(0x435)][_0x30732f(0x3da)](_0x56a7f6,{'body':_0x43fe09}))[_0x30732f(0x2b3)][_0x30732f(0x26c)]||'';}async[_0x2c8be9(0x30e)](_0x5aff6f){var _0xdbfa6d=_0x2c8be9;const _0x234e9c=this[_0xdbfa6d(0x369)]()+_0xdbfa6d(0x24e);return(await this['_HTTPService']['post'](_0x234e9c,{'body':_0x5aff6f}))[_0xdbfa6d(0x2b3)][_0xdbfa6d(0x215)];}async['update'](_0x5b9095){var _0x3386f0=_0x2c8be9;const _0x1f7c83=this[_0x3386f0(0x369)]()+'/'+_0x5b9095['objectType']+'/object/'+_0x5b9095[_0x3386f0(0x26c)];await this[_0x3386f0(0x435)][_0x3386f0(0x3c5)](_0x1f7c83,{'body':_0x5b9095});}async['allowed'](_0x4eee71){var _0x2de62b=_0x2c8be9;const _0x49690f=this[_0x2de62b(0x369)]()+'/'+_0x4eee71['objectType']+'/object/'+_0x4eee71[_0x2de62b(0x26c)]+_0x2de62b(0x22b);return(await this[_0x2de62b(0x435)][_0x2de62b(0x3da)](_0x49690f,{'body':_0x4eee71}))[_0x2de62b(0x2b3)]['actions'];}async[_0x2c8be9(0x2ae)](_0x380360){var _0x29301c=_0x2c8be9;const _0x418d7d=this[_0x29301c(0x369)]()+_0x29301c(0x216);return(await this['_HTTPService'][_0x29301c(0x3da)](_0x418d7d,{'body':{'requests':_0x380360}}))[_0x29301c(0x2b3)][_0x29301c(0x195)];}async[_0x2c8be9(0x430)](_0x52e8fb){var _0x256f2c=_0x2c8be9;const _0x107bf6=this['_getAPIPrefixPath']()+'/'+_0x52e8fb[_0x256f2c(0x3de)]+_0x256f2c(0x27a),_0x180e71=await this[_0x256f2c(0x435)][_0x256f2c(0x3da)](_0x107bf6,{'body':_0x52e8fb});return{'roles':_0x180e71['body'][_0x256f2c(0x16b)],'actions':_0x180e71[_0x256f2c(0x2b3)][_0x256f2c(0x18c)]};}async[_0x2c8be9(0x1cf)](_0x339d4e){var _0x1e0e5d=_0x2c8be9;const _0x56d179=this['_getAPIPrefixPath']()+_0x1e0e5d(0x336);await this['_HTTPService'][_0x1e0e5d(0x3a8)](_0x56d179,{'params':{'collaboratorID':_0x339d4e['collaboratorID'],'objectID':_0x339d4e['objectID'],'unitID':_0x339d4e[_0x1e0e5d(0x2d6)]}});}async[_0x2c8be9(0x1fb)](_0x3c00cb){var _0x20bb98=_0x2c8be9;const _0x2f4cfe=this[_0x20bb98(0x369)]()+'/collaborator';await this[_0x20bb98(0x435)][_0x20bb98(0x421)](_0x2f4cfe,{'body':_0x3c00cb});}async[_0x2c8be9(0x1f0)](_0x39e1f4){var _0x46984d=_0x2c8be9;const _0x34c4a0=this[_0x46984d(0x369)]()+_0x46984d(0x336);await this['_HTTPService'][_0x46984d(0x3da)](_0x34c4a0,{'body':_0x39e1f4});}async['listCollaborators'](_0x1f1baa){var _0x5c3dda=_0x2c8be9;const _0x3683ab=this[_0x5c3dda(0x369)]()+_0x5c3dda(0x336);return(await this[_0x5c3dda(0x435)][_0x5c3dda(0x2ee)](_0x3683ab,{'params':{'objectID':_0x1f1baa[_0x5c3dda(0x26c)],'unitID':_0x1f1baa[_0x5c3dda(0x2d6)]}}))[_0x5c3dda(0x2b3)][_0x5c3dda(0x2d5)];}async[_0x2c8be9(0x392)](_0x389658){var _0x550a2d=_0x2c8be9;const _0x542179=this[_0x550a2d(0x369)]()+_0x550a2d(0x336);await this[_0x550a2d(0x435)][_0x550a2d(0x3c5)](_0x542179,{'body':_0x389658});}};bt=Pr([Xt(0x0,_0x10d55b(_0x17ffb1)),Xt(0x1,_0x10d55b(_0x2b885e))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x101093){var _0x3fa4ea=_0x2c8be9;return _0x101093&&_0x101093[_0x3fa4ea(0x349)]&&Object['prototype'][_0x3fa4ea(0x2ea)][_0x3fa4ea(0x439)](_0x101093,_0x3fa4ea(0x2ab))?_0x101093['default']:_0x101093;}var Ve={'exports':{}};function Ur(_0x472b94){var _0x3d8b01=_0x2c8be9;throw new Error(_0x3d8b01(0x27e)+_0x472b94+_0x3d8b01(0x2c9));}var Ge={'exports':{}},Ar=Ge[_0x2c8be9(0x425)],Zt;function ne(){var _0x147a79=_0x2c8be9;return Zt||(Zt=0x1,function(_0x58dddb,_0x5b3587){(function(_0x38748f,_0x30a3f8){var _0x41237d=_0x2fe9;_0x58dddb[_0x41237d(0x425)]=_0x30a3f8();}(Ar,function(){var _0x2c0b94=_0x2c0b94||function(_0x588d67,_0x389439){var _0x59fb16=_0x2fe9,_0x4a4d7e;if(typeof window<'u'&&window[_0x59fb16(0x273)]&&(_0x4a4d7e=window[_0x59fb16(0x273)]),typeof self<'u'&&self[_0x59fb16(0x273)]&&(_0x4a4d7e=self[_0x59fb16(0x273)]),typeof globalThis<'u'&&globalThis[_0x59fb16(0x273)]&&(_0x4a4d7e=globalThis[_0x59fb16(0x273)]),!_0x4a4d7e&&typeof window<'u'&&window[_0x59fb16(0x327)]&&(_0x4a4d7e=window[_0x59fb16(0x327)]),!_0x4a4d7e&&typeof pt<'u'&&pt['crypto']&&(_0x4a4d7e=pt['crypto']),!_0x4a4d7e&&typeof Ur=='function')try{_0x4a4d7e=require(_0x59fb16(0x273));}catch{}var _0x14eef4=function(){var _0x189c8d=_0x59fb16;if(_0x4a4d7e){if(typeof _0x4a4d7e[_0x189c8d(0x1a7)]=='function')try{return _0x4a4d7e[_0x189c8d(0x1a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a4d7e['randomBytes']==_0x189c8d(0x37b))try{return _0x4a4d7e[_0x189c8d(0x180)](0x4)[_0x189c8d(0x362)]();}catch{}}throw new Error(_0x189c8d(0x1d6));},_0x44a186=Object[_0x59fb16(0x442)]||(function(){function _0x5a2a8d(){}return function(_0x5952e5){var _0x9685f6=_0x2fe9,_0x51d72e;return _0x5a2a8d[_0x9685f6(0x33f)]=_0x5952e5,_0x51d72e=new _0x5a2a8d(),_0x5a2a8d[_0x9685f6(0x33f)]=null,_0x51d72e;};}()),_0x2fd6fd={},_0x29d73a=_0x2fd6fd['lib']={},_0x59ee33=_0x29d73a[_0x59fb16(0x1b9)]=(function(){return{'extend':function(_0x12e681){var _0x3cbb98=_0x2fe9,_0x40315a=_0x44a186(this);return _0x12e681&&_0x40315a[_0x3cbb98(0x2c3)](_0x12e681),(!_0x40315a['hasOwnProperty'](_0x3cbb98(0x25e))||this[_0x3cbb98(0x25e)]===_0x40315a[_0x3cbb98(0x25e)])&&(_0x40315a[_0x3cbb98(0x25e)]=function(){var _0x2f6369=_0x3cbb98;_0x40315a['$super'][_0x2f6369(0x25e)][_0x2f6369(0x45f)](this,arguments);}),_0x40315a[_0x3cbb98(0x25e)][_0x3cbb98(0x33f)]=_0x40315a,_0x40315a[_0x3cbb98(0x25a)]=this,_0x40315a;},'create':function(){var _0x2f0dd0=_0x2fe9,_0xb107f9=this[_0x2f0dd0(0x31d)]();return _0xb107f9[_0x2f0dd0(0x25e)][_0x2f0dd0(0x45f)](_0xb107f9,arguments),_0xb107f9;},'init':function(){},'mixIn':function(_0x2cfed1){var _0x5b2052=_0x2fe9;for(var _0x42eac8 in _0x2cfed1)_0x2cfed1['hasOwnProperty'](_0x42eac8)&&(this[_0x42eac8]=_0x2cfed1[_0x42eac8]);_0x2cfed1['hasOwnProperty'](_0x5b2052(0x3ef))&&(this[_0x5b2052(0x3ef)]=_0x2cfed1[_0x5b2052(0x3ef)]);},'clone':function(){var _0x3027c9=_0x2fe9;return this[_0x3027c9(0x25e)]['prototype'][_0x3027c9(0x31d)](this);}};}()),_0x593875=_0x29d73a['WordArray']=_0x59ee33[_0x59fb16(0x31d)]({'init':function(_0x469463,_0x4df26d){var _0x27533a=_0x59fb16;_0x469463=this[_0x27533a(0x17c)]=_0x469463||[],_0x4df26d!=_0x389439?this['sigBytes']=_0x4df26d:this[_0x27533a(0x3b8)]=_0x469463['length']*0x4;},'toString':function(_0x1a56f0){var _0x5789fa=_0x59fb16;return(_0x1a56f0||_0x456104)[_0x5789fa(0x431)](this);},'concat':function(_0x3afce2){var _0x337bf9=_0x59fb16,_0x1a5d59=this[_0x337bf9(0x17c)],_0x28d29e=_0x3afce2[_0x337bf9(0x17c)],_0xbca05c=this[_0x337bf9(0x3b8)],_0x181c0a=_0x3afce2[_0x337bf9(0x3b8)];if(this['clamp'](),_0xbca05c%0x4)for(var _0x44518e=0x0;_0x44518e<_0x181c0a;_0x44518e++){var _0x57418d=_0x28d29e[_0x44518e>>>0x2]>>>0x18-_0x44518e%0x4*0x8&0xff;_0x1a5d59[_0xbca05c+_0x44518e>>>0x2]|=_0x57418d<<0x18-(_0xbca05c+_0x44518e)%0x4*0x8;}else{for(var _0x62cb34=0x0;_0x62cb34<_0x181c0a;_0x62cb34+=0x4)_0x1a5d59[_0xbca05c+_0x62cb34>>>0x2]=_0x28d29e[_0x62cb34>>>0x2];}return this[_0x337bf9(0x3b8)]+=_0x181c0a,this;},'clamp':function(){var _0xa6f494=_0x59fb16,_0x1665c9=this[_0xa6f494(0x17c)],_0x1dcffe=this['sigBytes'];_0x1665c9[_0x1dcffe>>>0x2]&=0xffffffff<<0x20-_0x1dcffe%0x4*0x8,_0x1665c9[_0xa6f494(0x387)]=_0x588d67[_0xa6f494(0x365)](_0x1dcffe/0x4);},'clone':function(){var _0x40cac1=_0x59fb16,_0x590f04=_0x59ee33[_0x40cac1(0x314)]['call'](this);return _0x590f04[_0x40cac1(0x17c)]=this[_0x40cac1(0x17c)][_0x40cac1(0x217)](0x0),_0x590f04;},'random':function(_0x38cf8b){var _0x57564f=_0x59fb16;for(var _0x36b8c9=[],_0x290f92=0x0;_0x290f92<_0x38cf8b;_0x290f92+=0x4)_0x36b8c9['push'](_0x14eef4());return new _0x593875[(_0x57564f(0x25e))](_0x36b8c9,_0x38cf8b);}}),_0x3b5313=_0x2fd6fd['enc']={},_0x456104=_0x3b5313[_0x59fb16(0x408)]={'stringify':function(_0x301593){var _0x2e20f2=_0x59fb16;for(var _0x35b25b=_0x301593['words'],_0x1bdd1a=_0x301593[_0x2e20f2(0x3b8)],_0x193de9=[],_0x468322=0x0;_0x468322<_0x1bdd1a;_0x468322++){var _0x2ff4c3=_0x35b25b[_0x468322>>>0x2]>>>0x18-_0x468322%0x4*0x8&0xff;_0x193de9['push']((_0x2ff4c3>>>0x4)['toString'](0x10)),_0x193de9[_0x2e20f2(0x3eb)]((_0x2ff4c3&0xf)[_0x2e20f2(0x3ef)](0x10));}return _0x193de9['join']('');},'parse':function(_0x1ec07d){var _0x1b9cd3=_0x59fb16;for(var _0x334c92=_0x1ec07d[_0x1b9cd3(0x387)],_0x2d9505=[],_0x5b637d=0x0;_0x5b637d<_0x334c92;_0x5b637d+=0x2)_0x2d9505[_0x5b637d>>>0x3]|=parseInt(_0x1ec07d[_0x1b9cd3(0x366)](_0x5b637d,0x2),0x10)<<0x18-_0x5b637d%0x8*0x4;return new _0x593875[(_0x1b9cd3(0x25e))](_0x2d9505,_0x334c92/0x2);}},_0x28437f=_0x3b5313[_0x59fb16(0x260)]={'stringify':function(_0x2d003f){var _0x195215=_0x59fb16;for(var _0x35bb8d=_0x2d003f[_0x195215(0x17c)],_0x53491d=_0x2d003f[_0x195215(0x3b8)],_0x7c944c=[],_0x35fef2=0x0;_0x35fef2<_0x53491d;_0x35fef2++){var _0x526615=_0x35bb8d[_0x35fef2>>>0x2]>>>0x18-_0x35fef2%0x4*0x8&0xff;_0x7c944c['push'](String[_0x195215(0x40f)](_0x526615));}return _0x7c944c['join']('');},'parse':function(_0x458e3a){var _0x3a8d4b=_0x59fb16;for(var _0x1be5a4=_0x458e3a[_0x3a8d4b(0x387)],_0x422284=[],_0x16a5d5=0x0;_0x16a5d5<_0x1be5a4;_0x16a5d5++)_0x422284[_0x16a5d5>>>0x2]|=(_0x458e3a[_0x3a8d4b(0x250)](_0x16a5d5)&0xff)<<0x18-_0x16a5d5%0x4*0x8;return new _0x593875['init'](_0x422284,_0x1be5a4);}},_0x4edba1=_0x3b5313[_0x59fb16(0x1ae)]={'stringify':function(_0x35bf17){var _0x59eeb1=_0x59fb16;try{return decodeURIComponent(escape(_0x28437f['stringify'](_0x35bf17)));}catch{throw new Error(_0x59eeb1(0x420));}},'parse':function(_0x268667){var _0x2abf02=_0x59fb16;return _0x28437f[_0x2abf02(0x25b)](unescape(encodeURIComponent(_0x268667)));}},_0x50d93b=_0x29d73a[_0x59fb16(0x294)]=_0x59ee33[_0x59fb16(0x31d)]({'reset':function(){var _0x5bf647=_0x59fb16;this[_0x5bf647(0x2bc)]=new _0x593875['init'](),this[_0x5bf647(0x444)]=0x0;},'_append':function(_0x1d986d){var _0x24cc9c=_0x59fb16;typeof _0x1d986d=='string'&&(_0x1d986d=_0x4edba1[_0x24cc9c(0x25b)](_0x1d986d)),this['_data'][_0x24cc9c(0x378)](_0x1d986d),this[_0x24cc9c(0x444)]+=_0x1d986d[_0x24cc9c(0x3b8)];},'_process':function(_0x13ae1c){var _0x54719d=_0x59fb16,_0x14bf66,_0x54cfd1=this[_0x54719d(0x2bc)],_0x1ce730=_0x54cfd1['words'],_0x10cd62=_0x54cfd1[_0x54719d(0x3b8)],_0x2941d5=this[_0x54719d(0x20f)],_0x371463=_0x2941d5*0x4,_0xea579f=_0x10cd62/_0x371463;_0x13ae1c?_0xea579f=_0x588d67[_0x54719d(0x365)](_0xea579f):_0xea579f=_0x588d67[_0x54719d(0x1ea)]((_0xea579f|0x0)-this[_0x54719d(0x443)],0x0);var _0x36c828=_0xea579f*_0x2941d5,_0x1c79c7=_0x588d67[_0x54719d(0x3d2)](_0x36c828*0x4,_0x10cd62);if(_0x36c828){for(var _0x5cb65a=0x0;_0x5cb65a<_0x36c828;_0x5cb65a+=_0x2941d5)this[_0x54719d(0x326)](_0x1ce730,_0x5cb65a);_0x14bf66=_0x1ce730[_0x54719d(0x383)](0x0,_0x36c828),_0x54cfd1['sigBytes']-=_0x1c79c7;}return new _0x593875[(_0x54719d(0x25e))](_0x14bf66,_0x1c79c7);},'clone':function(){var _0xb85b5=_0x59fb16,_0x2613b6=_0x59ee33[_0xb85b5(0x314)][_0xb85b5(0x439)](this);return _0x2613b6['_data']=this['_data'][_0xb85b5(0x314)](),_0x2613b6;},'_minBufferSize':0x0});_0x29d73a[_0x59fb16(0x454)]=_0x50d93b['extend']({'cfg':_0x59ee33['extend'](),'init':function(_0x2523a2){var _0x4924e8=_0x59fb16;this[_0x4924e8(0x2a2)]=this[_0x4924e8(0x2a2)][_0x4924e8(0x31d)](_0x2523a2),this[_0x4924e8(0x23a)]();},'reset':function(){var _0x43d482=_0x59fb16;_0x50d93b[_0x43d482(0x23a)][_0x43d482(0x439)](this),this['_doReset']();},'update':function(_0x398ece){var _0x1f0299=_0x59fb16;return this[_0x1f0299(0x31a)](_0x398ece),this[_0x1f0299(0x2f0)](),this;},'finalize':function(_0x235988){var _0x19edd4=_0x59fb16;_0x235988&&this['_append'](_0x235988);var _0x504805=this[_0x19edd4(0x265)]();return _0x504805;},'blockSize':0x10,'_createHelper':function(_0x345eaf){return function(_0x2bed99,_0x507ffb){var _0x56fb6c=_0x2fe9;return new _0x345eaf[(_0x56fb6c(0x25e))](_0x507ffb)[_0x56fb6c(0x29e)](_0x2bed99);};},'_createHmacHelper':function(_0x177a8e){return function(_0x339e48,_0x1f60ba){var _0x5ab445=_0x2fe9;return new _0x5130a6[(_0x5ab445(0x1f2))]['init'](_0x177a8e,_0x1f60ba)[_0x5ab445(0x29e)](_0x339e48);};}});var _0x5130a6=_0x2fd6fd[_0x59fb16(0x451)]={};return _0x2fd6fd;}(Math);return _0x2c0b94;}));}(Ge)),Ge[_0x147a79(0x425)];}var We={'exports':{}},xr=We[_0x2c8be9(0x425)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x1daf45,_0x4111e0){(function(_0x638d44,_0x37633b){var _0x3ac10c=_0x2fe9;_0x1daf45[_0x3ac10c(0x425)]=_0x37633b(ne());}(xr,function(_0x22d00a){var _0x532b4f=_0x2fe9;return(function(){var _0x2eb587=_0x2fe9,_0x7c53d8=_0x22d00a,_0x3a6040=_0x7c53d8[_0x2eb587(0x34b)],_0x4a9086=_0x3a6040['WordArray'],_0x2229b5=_0x7c53d8['enc'];_0x2229b5['Base64']={'stringify':function(_0xa13895){var _0x27c0e1=_0x2eb587,_0x42684d=_0xa13895[_0x27c0e1(0x17c)],_0x496c43=_0xa13895['sigBytes'],_0x1a1169=this['_map'];_0xa13895[_0x27c0e1(0x1d7)]();for(var _0x4bc3b1=[],_0x154ca3=0x0;_0x154ca3<_0x496c43;_0x154ca3+=0x3)for(var _0x27f560=_0x42684d[_0x154ca3>>>0x2]>>>0x18-_0x154ca3%0x4*0x8&0xff,_0x1d3a60=_0x42684d[_0x154ca3+0x1>>>0x2]>>>0x18-(_0x154ca3+0x1)%0x4*0x8&0xff,_0x35f63f=_0x42684d[_0x154ca3+0x2>>>0x2]>>>0x18-(_0x154ca3+0x2)%0x4*0x8&0xff,_0x93af8b=_0x27f560<<0x10|_0x1d3a60<<0x8|_0x35f63f,_0x2cee51=0x0;_0x2cee51<0x4&&_0x154ca3+_0x2cee51*0.75<_0x496c43;_0x2cee51++)_0x4bc3b1[_0x27c0e1(0x3eb)](_0x1a1169[_0x27c0e1(0x44d)](_0x93af8b>>>0x6*(0x3-_0x2cee51)&0x3f));var _0x4039a8=_0x1a1169[_0x27c0e1(0x44d)](0x40);if(_0x4039a8){for(;_0x4bc3b1[_0x27c0e1(0x387)]%0x4;)_0x4bc3b1['push'](_0x4039a8);}return _0x4bc3b1['join']('');},'parse':function(_0x57f116){var _0x30636f=_0x2eb587,_0x3f3018=_0x57f116[_0x30636f(0x387)],_0x42f5a9=this['_map'],_0x5aadb8=this['_reverseMap'];if(!_0x5aadb8){_0x5aadb8=this['_reverseMap']=[];for(var _0x25df52=0x0;_0x25df52<_0x42f5a9['length'];_0x25df52++)_0x5aadb8[_0x42f5a9[_0x30636f(0x250)](_0x25df52)]=_0x25df52;}var _0x19d880=_0x42f5a9['charAt'](0x40);if(_0x19d880){var _0x18320e=_0x57f116['indexOf'](_0x19d880);_0x18320e!==-0x1&&(_0x3f3018=_0x18320e);}return _0x66b310(_0x57f116,_0x3f3018,_0x5aadb8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x66b310(_0x5df925,_0x1553d0,_0x3835a7){var _0x2a4a4b=_0x2eb587;for(var _0x579e42=[],_0x3d7b81=0x0,_0x8aa7f5=0x0;_0x8aa7f5<_0x1553d0;_0x8aa7f5++)if(_0x8aa7f5%0x4){var _0x23c8f0=_0x3835a7[_0x5df925['charCodeAt'](_0x8aa7f5-0x1)]<<_0x8aa7f5%0x4*0x2,_0x20b00b=_0x3835a7[_0x5df925[_0x2a4a4b(0x250)](_0x8aa7f5)]>>>0x6-_0x8aa7f5%0x4*0x2,_0x9f4e42=_0x23c8f0|_0x20b00b;_0x579e42[_0x3d7b81>>>0x2]|=_0x9f4e42<<0x18-_0x3d7b81%0x4*0x8,_0x3d7b81++;}return _0x4a9086[_0x2a4a4b(0x442)](_0x579e42,_0x3d7b81);}}()),_0x22d00a[_0x532b4f(0x1b1)][_0x532b4f(0x277)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x2c8be9(0x425)],ei;function Mr(){return ei||(ei=0x1,function(_0x11a4b5,_0x42f117){(function(_0x29d853,_0x4a49eb){var _0x1102e4=_0x2fe9;_0x11a4b5[_0x1102e4(0x425)]=_0x4a49eb(ne());}(Lr,function(_0x5c8b74){return function(_0x6a29b2){var _0x2825e2=_0x2fe9,_0x54bb8c=_0x5c8b74,_0x5718b1=_0x54bb8c['lib'],_0x47d022=_0x5718b1[_0x2825e2(0x2d9)],_0x50bbac=_0x5718b1[_0x2825e2(0x454)],_0x2d14be=_0x54bb8c[_0x2825e2(0x451)],_0x34652e=[];(function(){var _0x25766e=_0x2825e2;for(var _0x4e19cf=0x0;_0x4e19cf<0x40;_0x4e19cf++)_0x34652e[_0x4e19cf]=_0x6a29b2['abs'](_0x6a29b2[_0x25766e(0x456)](_0x4e19cf+0x1))*0x100000000|0x0;}());var _0x422e57=_0x2d14be[_0x2825e2(0x2fc)]=_0x50bbac[_0x2825e2(0x31d)]({'_doReset':function(){var _0xe0274f=_0x2825e2;this[_0xe0274f(0x262)]=new _0x47d022[(_0xe0274f(0x25e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x215168,_0x453d3e){var _0x921c32=_0x2825e2;for(var _0x12a08f=0x0;_0x12a08f<0x10;_0x12a08f++){var _0x5c8757=_0x453d3e+_0x12a08f,_0x516260=_0x215168[_0x5c8757];_0x215168[_0x5c8757]=(_0x516260<<0x8|_0x516260>>>0x18)&0xff00ff|(_0x516260<<0x18|_0x516260>>>0x8)&0xff00ff00;}var _0xb8888c=this[_0x921c32(0x262)][_0x921c32(0x17c)],_0x5768c4=_0x215168[_0x453d3e+0x0],_0x15b6b6=_0x215168[_0x453d3e+0x1],_0x3a5349=_0x215168[_0x453d3e+0x2],_0x423182=_0x215168[_0x453d3e+0x3],_0x432ac4=_0x215168[_0x453d3e+0x4],_0x4648a6=_0x215168[_0x453d3e+0x5],_0x2e1de6=_0x215168[_0x453d3e+0x6],_0x1c8640=_0x215168[_0x453d3e+0x7],_0x200ae0=_0x215168[_0x453d3e+0x8],_0x360025=_0x215168[_0x453d3e+0x9],_0x10985f=_0x215168[_0x453d3e+0xa],_0x573cb8=_0x215168[_0x453d3e+0xb],_0x54c49b=_0x215168[_0x453d3e+0xc],_0x33602a=_0x215168[_0x453d3e+0xd],_0xa44f08=_0x215168[_0x453d3e+0xe],_0x7404bb=_0x215168[_0x453d3e+0xf],_0x59c4f7=_0xb8888c[0x0],_0x3ac776=_0xb8888c[0x1],_0x27ea3f=_0xb8888c[0x2],_0x122a3e=_0xb8888c[0x3];_0x59c4f7=_0x20e3d4(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x5768c4,0x7,_0x34652e[0x0]),_0x122a3e=_0x20e3d4(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x15b6b6,0xc,_0x34652e[0x1]),_0x27ea3f=_0x20e3d4(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x3a5349,0x11,_0x34652e[0x2]),_0x3ac776=_0x20e3d4(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x423182,0x16,_0x34652e[0x3]),_0x59c4f7=_0x20e3d4(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x432ac4,0x7,_0x34652e[0x4]),_0x122a3e=_0x20e3d4(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x4648a6,0xc,_0x34652e[0x5]),_0x27ea3f=_0x20e3d4(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x2e1de6,0x11,_0x34652e[0x6]),_0x3ac776=_0x20e3d4(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x1c8640,0x16,_0x34652e[0x7]),_0x59c4f7=_0x20e3d4(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x200ae0,0x7,_0x34652e[0x8]),_0x122a3e=_0x20e3d4(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x360025,0xc,_0x34652e[0x9]),_0x27ea3f=_0x20e3d4(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x10985f,0x11,_0x34652e[0xa]),_0x3ac776=_0x20e3d4(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x573cb8,0x16,_0x34652e[0xb]),_0x59c4f7=_0x20e3d4(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x54c49b,0x7,_0x34652e[0xc]),_0x122a3e=_0x20e3d4(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x33602a,0xc,_0x34652e[0xd]),_0x27ea3f=_0x20e3d4(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0xa44f08,0x11,_0x34652e[0xe]),_0x3ac776=_0x20e3d4(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x7404bb,0x16,_0x34652e[0xf]),_0x59c4f7=_0x3b65f5(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x15b6b6,0x5,_0x34652e[0x10]),_0x122a3e=_0x3b65f5(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x2e1de6,0x9,_0x34652e[0x11]),_0x27ea3f=_0x3b65f5(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x573cb8,0xe,_0x34652e[0x12]),_0x3ac776=_0x3b65f5(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x5768c4,0x14,_0x34652e[0x13]),_0x59c4f7=_0x3b65f5(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x4648a6,0x5,_0x34652e[0x14]),_0x122a3e=_0x3b65f5(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x10985f,0x9,_0x34652e[0x15]),_0x27ea3f=_0x3b65f5(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x7404bb,0xe,_0x34652e[0x16]),_0x3ac776=_0x3b65f5(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x432ac4,0x14,_0x34652e[0x17]),_0x59c4f7=_0x3b65f5(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x360025,0x5,_0x34652e[0x18]),_0x122a3e=_0x3b65f5(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0xa44f08,0x9,_0x34652e[0x19]),_0x27ea3f=_0x3b65f5(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x423182,0xe,_0x34652e[0x1a]),_0x3ac776=_0x3b65f5(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x200ae0,0x14,_0x34652e[0x1b]),_0x59c4f7=_0x3b65f5(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x33602a,0x5,_0x34652e[0x1c]),_0x122a3e=_0x3b65f5(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x3a5349,0x9,_0x34652e[0x1d]),_0x27ea3f=_0x3b65f5(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x1c8640,0xe,_0x34652e[0x1e]),_0x3ac776=_0x3b65f5(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x54c49b,0x14,_0x34652e[0x1f]),_0x59c4f7=_0x5d1f16(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x4648a6,0x4,_0x34652e[0x20]),_0x122a3e=_0x5d1f16(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x200ae0,0xb,_0x34652e[0x21]),_0x27ea3f=_0x5d1f16(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x573cb8,0x10,_0x34652e[0x22]),_0x3ac776=_0x5d1f16(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0xa44f08,0x17,_0x34652e[0x23]),_0x59c4f7=_0x5d1f16(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x15b6b6,0x4,_0x34652e[0x24]),_0x122a3e=_0x5d1f16(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x432ac4,0xb,_0x34652e[0x25]),_0x27ea3f=_0x5d1f16(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x1c8640,0x10,_0x34652e[0x26]),_0x3ac776=_0x5d1f16(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x10985f,0x17,_0x34652e[0x27]),_0x59c4f7=_0x5d1f16(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x33602a,0x4,_0x34652e[0x28]),_0x122a3e=_0x5d1f16(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x5768c4,0xb,_0x34652e[0x29]),_0x27ea3f=_0x5d1f16(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x423182,0x10,_0x34652e[0x2a]),_0x3ac776=_0x5d1f16(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x2e1de6,0x17,_0x34652e[0x2b]),_0x59c4f7=_0x5d1f16(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x360025,0x4,_0x34652e[0x2c]),_0x122a3e=_0x5d1f16(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x54c49b,0xb,_0x34652e[0x2d]),_0x27ea3f=_0x5d1f16(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x7404bb,0x10,_0x34652e[0x2e]),_0x3ac776=_0x5d1f16(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3a5349,0x17,_0x34652e[0x2f]),_0x59c4f7=_0x4a892e(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x5768c4,0x6,_0x34652e[0x30]),_0x122a3e=_0x4a892e(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x1c8640,0xa,_0x34652e[0x31]),_0x27ea3f=_0x4a892e(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0xa44f08,0xf,_0x34652e[0x32]),_0x3ac776=_0x4a892e(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x4648a6,0x15,_0x34652e[0x33]),_0x59c4f7=_0x4a892e(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x54c49b,0x6,_0x34652e[0x34]),_0x122a3e=_0x4a892e(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x423182,0xa,_0x34652e[0x35]),_0x27ea3f=_0x4a892e(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x10985f,0xf,_0x34652e[0x36]),_0x3ac776=_0x4a892e(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x15b6b6,0x15,_0x34652e[0x37]),_0x59c4f7=_0x4a892e(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x200ae0,0x6,_0x34652e[0x38]),_0x122a3e=_0x4a892e(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x7404bb,0xa,_0x34652e[0x39]),_0x27ea3f=_0x4a892e(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x2e1de6,0xf,_0x34652e[0x3a]),_0x3ac776=_0x4a892e(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x33602a,0x15,_0x34652e[0x3b]),_0x59c4f7=_0x4a892e(_0x59c4f7,_0x3ac776,_0x27ea3f,_0x122a3e,_0x432ac4,0x6,_0x34652e[0x3c]),_0x122a3e=_0x4a892e(_0x122a3e,_0x59c4f7,_0x3ac776,_0x27ea3f,_0x573cb8,0xa,_0x34652e[0x3d]),_0x27ea3f=_0x4a892e(_0x27ea3f,_0x122a3e,_0x59c4f7,_0x3ac776,_0x3a5349,0xf,_0x34652e[0x3e]),_0x3ac776=_0x4a892e(_0x3ac776,_0x27ea3f,_0x122a3e,_0x59c4f7,_0x360025,0x15,_0x34652e[0x3f]),_0xb8888c[0x0]=_0xb8888c[0x0]+_0x59c4f7|0x0,_0xb8888c[0x1]=_0xb8888c[0x1]+_0x3ac776|0x0,_0xb8888c[0x2]=_0xb8888c[0x2]+_0x27ea3f|0x0,_0xb8888c[0x3]=_0xb8888c[0x3]+_0x122a3e|0x0;},'_doFinalize':function(){var _0x263e6=_0x2825e2,_0x11ebb0=this[_0x263e6(0x2bc)],_0x3de43d=_0x11ebb0[_0x263e6(0x17c)],_0x3350d2=this[_0x263e6(0x444)]*0x8,_0x4707b6=_0x11ebb0[_0x263e6(0x3b8)]*0x8;_0x3de43d[_0x4707b6>>>0x5]|=0x80<<0x18-_0x4707b6%0x20;var _0x4a0a16=_0x6a29b2['floor'](_0x3350d2/0x100000000),_0x384d5d=_0x3350d2;_0x3de43d[(_0x4707b6+0x40>>>0x9<<0x4)+0xf]=(_0x4a0a16<<0x8|_0x4a0a16>>>0x18)&0xff00ff|(_0x4a0a16<<0x18|_0x4a0a16>>>0x8)&0xff00ff00,_0x3de43d[(_0x4707b6+0x40>>>0x9<<0x4)+0xe]=(_0x384d5d<<0x8|_0x384d5d>>>0x18)&0xff00ff|(_0x384d5d<<0x18|_0x384d5d>>>0x8)&0xff00ff00,_0x11ebb0[_0x263e6(0x3b8)]=(_0x3de43d[_0x263e6(0x387)]+0x1)*0x4,this[_0x263e6(0x2f0)]();for(var _0x272d8f=this[_0x263e6(0x262)],_0x31ad2f=_0x272d8f[_0x263e6(0x17c)],_0x162b12=0x0;_0x162b12<0x4;_0x162b12++){var _0x43e6f4=_0x31ad2f[_0x162b12];_0x31ad2f[_0x162b12]=(_0x43e6f4<<0x8|_0x43e6f4>>>0x18)&0xff00ff|(_0x43e6f4<<0x18|_0x43e6f4>>>0x8)&0xff00ff00;}return _0x272d8f;},'clone':function(){var _0x273b5c=_0x2825e2,_0x385a18=_0x50bbac['clone']['call'](this);return _0x385a18[_0x273b5c(0x262)]=this[_0x273b5c(0x262)]['clone'](),_0x385a18;}});function _0x20e3d4(_0x47de75,_0x581e80,_0x1a8e1f,_0x479a8e,_0x8d0307,_0x4cdf5e,_0x5f0c8f){var _0xb9669e=_0x47de75+(_0x581e80&_0x1a8e1f|~_0x581e80&_0x479a8e)+_0x8d0307+_0x5f0c8f;return(_0xb9669e<<_0x4cdf5e|_0xb9669e>>>0x20-_0x4cdf5e)+_0x581e80;}function _0x3b65f5(_0x3cae56,_0x8d3597,_0x242af8,_0xa4b59e,_0xb6eeb4,_0x2eccec,_0x8b54e9){var _0x2b3bb3=_0x3cae56+(_0x8d3597&_0xa4b59e|_0x242af8&~_0xa4b59e)+_0xb6eeb4+_0x8b54e9;return(_0x2b3bb3<<_0x2eccec|_0x2b3bb3>>>0x20-_0x2eccec)+_0x8d3597;}function _0x5d1f16(_0x233580,_0x1c45ae,_0x8428dd,_0x31cf2c,_0x15192d,_0x592ac8,_0x18726f){var _0x3244ef=_0x233580+(_0x1c45ae^_0x8428dd^_0x31cf2c)+_0x15192d+_0x18726f;return(_0x3244ef<<_0x592ac8|_0x3244ef>>>0x20-_0x592ac8)+_0x1c45ae;}function _0x4a892e(_0x5e5ee6,_0x6b1a0f,_0x2a1b33,_0x1861e6,_0x507d4f,_0x20be03,_0x4d6bb5){var _0x67ed04=_0x5e5ee6+(_0x2a1b33^(_0x6b1a0f|~_0x1861e6))+_0x507d4f+_0x4d6bb5;return(_0x67ed04<<_0x20be03|_0x67ed04>>>0x20-_0x20be03)+_0x6b1a0f;}_0x54bb8c['MD5']=_0x50bbac[_0x2825e2(0x2be)](_0x422e57),_0x54bb8c['HmacMD5']=_0x50bbac[_0x2825e2(0x360)](_0x422e57);}(Math),_0x5c8b74['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x2c8be9(0x425)],ti;function Hr(){var _0x9599c9=_0x2c8be9;return ti||(ti=0x1,function(_0x486d2f,_0x3c2239){(function(_0x3e7bdb,_0xde0af2){_0x486d2f['exports']=_0xde0af2(ne());}($r,function(_0x61a97b){return(function(){var _0x157c99=_0x2fe9,_0x2d9e44=_0x61a97b,_0x370cfa=_0x2d9e44[_0x157c99(0x34b)],_0x24aba2=_0x370cfa['WordArray'],_0x5e26df=_0x370cfa['Hasher'],_0x5dc4d9=_0x2d9e44['algo'],_0x1b88cf=[],_0x2d86a1=_0x5dc4d9[_0x157c99(0x2c0)]=_0x5e26df[_0x157c99(0x31d)]({'_doReset':function(){var _0x310100=_0x157c99;this[_0x310100(0x262)]=new _0x24aba2[(_0x310100(0x25e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1b5a13,_0x1e7875){var _0x256fb6=_0x157c99;for(var _0x2e368a=this[_0x256fb6(0x262)]['words'],_0x4b6112=_0x2e368a[0x0],_0x32cbf0=_0x2e368a[0x1],_0x3a54a2=_0x2e368a[0x2],_0x22b92e=_0x2e368a[0x3],_0x528ac9=_0x2e368a[0x4],_0x2fc45b=0x0;_0x2fc45b<0x50;_0x2fc45b++){if(_0x2fc45b<0x10)_0x1b88cf[_0x2fc45b]=_0x1b5a13[_0x1e7875+_0x2fc45b]|0x0;else{var _0x63ace0=_0x1b88cf[_0x2fc45b-0x3]^_0x1b88cf[_0x2fc45b-0x8]^_0x1b88cf[_0x2fc45b-0xe]^_0x1b88cf[_0x2fc45b-0x10];_0x1b88cf[_0x2fc45b]=_0x63ace0<<0x1|_0x63ace0>>>0x1f;}var _0x44b841=(_0x4b6112<<0x5|_0x4b6112>>>0x1b)+_0x528ac9+_0x1b88cf[_0x2fc45b];_0x2fc45b<0x14?_0x44b841+=(_0x32cbf0&_0x3a54a2|~_0x32cbf0&_0x22b92e)+0x5a827999:_0x2fc45b<0x28?_0x44b841+=(_0x32cbf0^_0x3a54a2^_0x22b92e)+0x6ed9eba1:_0x2fc45b<0x3c?_0x44b841+=(_0x32cbf0&_0x3a54a2|_0x32cbf0&_0x22b92e|_0x3a54a2&_0x22b92e)-0x70e44324:_0x44b841+=(_0x32cbf0^_0x3a54a2^_0x22b92e)-0x359d3e2a,_0x528ac9=_0x22b92e,_0x22b92e=_0x3a54a2,_0x3a54a2=_0x32cbf0<<0x1e|_0x32cbf0>>>0x2,_0x32cbf0=_0x4b6112,_0x4b6112=_0x44b841;}_0x2e368a[0x0]=_0x2e368a[0x0]+_0x4b6112|0x0,_0x2e368a[0x1]=_0x2e368a[0x1]+_0x32cbf0|0x0,_0x2e368a[0x2]=_0x2e368a[0x2]+_0x3a54a2|0x0,_0x2e368a[0x3]=_0x2e368a[0x3]+_0x22b92e|0x0,_0x2e368a[0x4]=_0x2e368a[0x4]+_0x528ac9|0x0;},'_doFinalize':function(){var _0x42e786=_0x157c99,_0x2cac8d=this['_data'],_0x5f5770=_0x2cac8d[_0x42e786(0x17c)],_0x4ff9ef=this[_0x42e786(0x444)]*0x8,_0x588552=_0x2cac8d[_0x42e786(0x3b8)]*0x8;return _0x5f5770[_0x588552>>>0x5]|=0x80<<0x18-_0x588552%0x20,_0x5f5770[(_0x588552+0x40>>>0x9<<0x4)+0xe]=Math[_0x42e786(0x16d)](_0x4ff9ef/0x100000000),_0x5f5770[(_0x588552+0x40>>>0x9<<0x4)+0xf]=_0x4ff9ef,_0x2cac8d[_0x42e786(0x3b8)]=_0x5f5770['length']*0x4,this[_0x42e786(0x2f0)](),this[_0x42e786(0x262)];},'clone':function(){var _0x37f248=_0x157c99,_0x50c2dc=_0x5e26df[_0x37f248(0x314)][_0x37f248(0x439)](this);return _0x50c2dc[_0x37f248(0x262)]=this[_0x37f248(0x262)][_0x37f248(0x314)](),_0x50c2dc;}});_0x2d9e44[_0x157c99(0x2c0)]=_0x5e26df['_createHelper'](_0x2d86a1),_0x2d9e44[_0x157c99(0x3ed)]=_0x5e26df[_0x157c99(0x360)](_0x2d86a1);}()),_0x61a97b['SHA1'];}));}(qe)),qe[_0x9599c9(0x425)];}var ze={'exports':{}},kr=ze[_0x2c8be9(0x425)],ii;function jr(){return ii||(ii=0x1,function(_0x4c3038,_0x4557e0){(function(_0x44bd14,_0xaf98da){_0x4c3038['exports']=_0xaf98da(ne());}(kr,function(_0xc833b){(function(){var _0x4d67c1=_0x2fe9,_0x6c9ef9=_0xc833b,_0x36ce8d=_0x6c9ef9[_0x4d67c1(0x34b)],_0x27a8be=_0x36ce8d[_0x4d67c1(0x1b9)],_0x5ce0af=_0x6c9ef9[_0x4d67c1(0x1b1)],_0x691fe5=_0x5ce0af[_0x4d67c1(0x1ae)],_0x3b6bdc=_0x6c9ef9[_0x4d67c1(0x451)];_0x3b6bdc[_0x4d67c1(0x1f2)]=_0x27a8be[_0x4d67c1(0x31d)]({'init':function(_0x3c22ca,_0x2ec295){var _0x36e16=_0x4d67c1;_0x3c22ca=this[_0x36e16(0x2e8)]=new _0x3c22ca[(_0x36e16(0x25e))](),typeof _0x2ec295=='string'&&(_0x2ec295=_0x691fe5[_0x36e16(0x25b)](_0x2ec295));var _0x1d9b7d=_0x3c22ca[_0x36e16(0x20f)],_0x29ccf9=_0x1d9b7d*0x4;_0x2ec295[_0x36e16(0x3b8)]>_0x29ccf9&&(_0x2ec295=_0x3c22ca[_0x36e16(0x29e)](_0x2ec295)),_0x2ec295[_0x36e16(0x1d7)]();for(var _0x1a4fc5=this[_0x36e16(0x1c8)]=_0x2ec295[_0x36e16(0x314)](),_0xcb1f87=this['_iKey']=_0x2ec295[_0x36e16(0x314)](),_0x30de80=_0x1a4fc5[_0x36e16(0x17c)],_0x3d1a04=_0xcb1f87['words'],_0x37ccdf=0x0;_0x37ccdf<_0x1d9b7d;_0x37ccdf++)_0x30de80[_0x37ccdf]^=0x5c5c5c5c,_0x3d1a04[_0x37ccdf]^=0x36363636;_0x1a4fc5[_0x36e16(0x3b8)]=_0xcb1f87[_0x36e16(0x3b8)]=_0x29ccf9,this[_0x36e16(0x23a)]();},'reset':function(){var _0x1b740c=_0x4d67c1,_0x6b429=this[_0x1b740c(0x2e8)];_0x6b429['reset'](),_0x6b429[_0x1b740c(0x404)](this[_0x1b740c(0x36c)]);},'update':function(_0x436dd3){return this['_hasher']['update'](_0x436dd3),this;},'finalize':function(_0x1cf2b5){var _0x18d73d=_0x4d67c1,_0x2f0f0a=this[_0x18d73d(0x2e8)],_0x4be136=_0x2f0f0a[_0x18d73d(0x29e)](_0x1cf2b5);_0x2f0f0a[_0x18d73d(0x23a)]();var _0x4351d9=_0x2f0f0a[_0x18d73d(0x29e)](this[_0x18d73d(0x1c8)]['clone']()[_0x18d73d(0x378)](_0x4be136));return _0x4351d9;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x2c8be9(0x425)],ni;function Ui(){var _0x1a2383=_0x2c8be9;return ni||(ni=0x1,function(_0x145025,_0x56664c){(function(_0xc5d828,_0x1aa53b,_0x4905f8){var _0x3cb282=_0x2fe9;_0x145025[_0x3cb282(0x425)]=_0x1aa53b(ne(),Hr(),jr());}(Br,function(_0x550236){return(function(){var _0x4476fc=_0x2fe9,_0xa0bd80=_0x550236,_0xb8b925=_0xa0bd80[_0x4476fc(0x34b)],_0x14b51=_0xb8b925[_0x4476fc(0x1b9)],_0x1d4d60=_0xb8b925['WordArray'],_0x400947=_0xa0bd80[_0x4476fc(0x451)],_0x47027b=_0x400947[_0x4476fc(0x2fc)],_0x3c7fa3=_0x400947[_0x4476fc(0x311)]=_0x14b51[_0x4476fc(0x31d)]({'cfg':_0x14b51[_0x4476fc(0x31d)]({'keySize':0x80/0x20,'hasher':_0x47027b,'iterations':0x1}),'init':function(_0x41fd24){var _0x40c280=_0x4476fc;this[_0x40c280(0x2a2)]=this[_0x40c280(0x2a2)][_0x40c280(0x31d)](_0x41fd24);},'compute':function(_0x279353,_0x49ca45){var _0x5bb74e=_0x4476fc;for(var _0x3681ac,_0x3f354f=this[_0x5bb74e(0x2a2)],_0x599e7b=_0x3f354f[_0x5bb74e(0x346)][_0x5bb74e(0x442)](),_0x324fea=_0x1d4d60[_0x5bb74e(0x442)](),_0x9f39ff=_0x324fea['words'],_0xcc6eaa=_0x3f354f[_0x5bb74e(0x38e)],_0x199327=_0x3f354f[_0x5bb74e(0x424)];_0x9f39ff[_0x5bb74e(0x387)]<_0xcc6eaa;){_0x3681ac&&_0x599e7b[_0x5bb74e(0x404)](_0x3681ac),_0x3681ac=_0x599e7b['update'](_0x279353)[_0x5bb74e(0x29e)](_0x49ca45),_0x599e7b[_0x5bb74e(0x23a)]();for(var _0x3d1c57=0x1;_0x3d1c57<_0x199327;_0x3d1c57++)_0x3681ac=_0x599e7b[_0x5bb74e(0x29e)](_0x3681ac),_0x599e7b[_0x5bb74e(0x23a)]();_0x324fea['concat'](_0x3681ac);}return _0x324fea[_0x5bb74e(0x3b8)]=_0xcc6eaa*0x4,_0x324fea;}});_0xa0bd80[_0x4476fc(0x311)]=function(_0x40d214,_0x3f28c1,_0x4826c5){var _0x14a13c=_0x4476fc;return _0x3c7fa3[_0x14a13c(0x442)](_0x4826c5)[_0x14a13c(0x1e7)](_0x40d214,_0x3f28c1);};}()),_0x550236['EvpKDF'];}));}(Ye)),Ye[_0x1a2383(0x425)];}var Je={'exports':{}},Fr=Je[_0x2c8be9(0x425)],ri;function Ai(){var _0x43a1cd=_0x2c8be9;return ri||(ri=0x1,function(_0x426773,_0x3460db){(function(_0x53cab0,_0xe1e101,_0x47fd99){var _0x2606cc=_0x2fe9;_0x426773[_0x2606cc(0x425)]=_0xe1e101(ne(),Ui());}(Fr,function(_0x242d94){var _0xa413cb=_0x2fe9;_0x242d94[_0xa413cb(0x34b)][_0xa413cb(0x44b)]||function(_0x4a7b3f){var _0x353aca=_0xa413cb,_0x108a81=_0x242d94,_0x59f0bc=_0x108a81[_0x353aca(0x34b)],_0xd6ebc5=_0x59f0bc[_0x353aca(0x1b9)],_0x3924a8=_0x59f0bc[_0x353aca(0x2d9)],_0xd14144=_0x59f0bc[_0x353aca(0x294)],_0x525b00=_0x108a81['enc'];_0x525b00[_0x353aca(0x1ae)];var _0x56d37e=_0x525b00[_0x353aca(0x277)],_0x1c2b15=_0x108a81[_0x353aca(0x451)],_0x1b089a=_0x1c2b15[_0x353aca(0x311)],_0x303e0c=_0x59f0bc[_0x353aca(0x44b)]=_0xd14144[_0x353aca(0x31d)]({'cfg':_0xd6ebc5[_0x353aca(0x31d)](),'createEncryptor':function(_0x579611,_0x22153a){var _0x34084c=_0x353aca;return this[_0x34084c(0x442)](this['_ENC_XFORM_MODE'],_0x579611,_0x22153a);},'createDecryptor':function(_0x1384d1,_0x29a373){var _0x73a169=_0x353aca;return this[_0x73a169(0x442)](this[_0x73a169(0x310)],_0x1384d1,_0x29a373);},'init':function(_0x1835f1,_0x446e0b,_0x3adaf6){var _0x352fd1=_0x353aca;this[_0x352fd1(0x2a2)]=this[_0x352fd1(0x2a2)][_0x352fd1(0x31d)](_0x3adaf6),this[_0x352fd1(0x35f)]=_0x1835f1,this[_0x352fd1(0x303)]=_0x446e0b,this[_0x352fd1(0x23a)]();},'reset':function(){var _0x1c7d90=_0x353aca;_0xd14144[_0x1c7d90(0x23a)]['call'](this),this[_0x1c7d90(0x30b)]();},'process':function(_0x15d2cf){var _0x41cf51=_0x353aca;return this[_0x41cf51(0x31a)](_0x15d2cf),this[_0x41cf51(0x2f0)]();},'finalize':function(_0x8aa7d3){var _0x137438=_0x353aca;_0x8aa7d3&&this[_0x137438(0x31a)](_0x8aa7d3);var _0xb9990a=this[_0x137438(0x265)]();return _0xb9990a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3c1d39(_0xcc052f){var _0xb1cd96=_0x2fe9;return typeof _0xcc052f==_0xb1cd96(0x1d2)?_0x5b2b4b:_0x1b4995;}return function(_0x1d630d){return{'encrypt':function(_0x445085,_0x56f357,_0x486782){var _0x1afb13=_0x2fe9;return _0x3c1d39(_0x56f357)[_0x1afb13(0x38f)](_0x1d630d,_0x445085,_0x56f357,_0x486782);},'decrypt':function(_0x51e274,_0x3b72e6,_0x2803c5){var _0x20ac9b=_0x2fe9;return _0x3c1d39(_0x3b72e6)[_0x20ac9b(0x372)](_0x1d630d,_0x51e274,_0x3b72e6,_0x2803c5);}};};}())});_0x59f0bc[_0x353aca(0x287)]=_0x303e0c[_0x353aca(0x31d)]({'_doFinalize':function(){var _0x123f02=_0x353aca,_0x227592=this[_0x123f02(0x2f0)](!0x0);return _0x227592;},'blockSize':0x1});var _0x5a545f=_0x108a81[_0x353aca(0x20e)]={},_0x9068d9=_0x59f0bc[_0x353aca(0x32d)]=_0xd6ebc5['extend']({'createEncryptor':function(_0x54e58f,_0x3bb24e){var _0x53ab87=_0x353aca;return this[_0x53ab87(0x21b)][_0x53ab87(0x442)](_0x54e58f,_0x3bb24e);},'createDecryptor':function(_0x18cdee,_0x24002c){var _0x3debd5=_0x353aca;return this[_0x3debd5(0x385)][_0x3debd5(0x442)](_0x18cdee,_0x24002c);},'init':function(_0xd482a9,_0x4ff500){var _0x43e478=_0x353aca;this['_cipher']=_0xd482a9,this[_0x43e478(0x2a4)]=_0x4ff500;}}),_0x2dc5af=_0x5a545f[_0x353aca(0x21c)]=(function(){var _0x2e898=_0x353aca,_0x483df2=_0x9068d9[_0x2e898(0x31d)]();_0x483df2[_0x2e898(0x21b)]=_0x483df2[_0x2e898(0x31d)]({'processBlock':function(_0x22b029,_0x466125){var _0x34fbe8=_0x2e898,_0xde8d86=this[_0x34fbe8(0x3dc)],_0x542a4b=_0xde8d86[_0x34fbe8(0x20f)];_0x292b82['call'](this,_0x22b029,_0x466125,_0x542a4b),_0xde8d86[_0x34fbe8(0x393)](_0x22b029,_0x466125),this[_0x34fbe8(0x24d)]=_0x22b029[_0x34fbe8(0x217)](_0x466125,_0x466125+_0x542a4b);}}),_0x483df2[_0x2e898(0x385)]=_0x483df2[_0x2e898(0x31d)]({'processBlock':function(_0x19fd3c,_0x11ba4f){var _0x199e2e=_0x2e898,_0x47f8b3=this[_0x199e2e(0x3dc)],_0x12f9dd=_0x47f8b3[_0x199e2e(0x20f)],_0x240676=_0x19fd3c[_0x199e2e(0x217)](_0x11ba4f,_0x11ba4f+_0x12f9dd);_0x47f8b3[_0x199e2e(0x210)](_0x19fd3c,_0x11ba4f),_0x292b82[_0x199e2e(0x439)](this,_0x19fd3c,_0x11ba4f,_0x12f9dd),this['_prevBlock']=_0x240676;}});function _0x292b82(_0x2c14f4,_0x5139e0,_0x50cae9){var _0x1ff840=_0x2e898,_0x2e1e8c,_0x2caaa=this[_0x1ff840(0x2a4)];_0x2caaa?(_0x2e1e8c=_0x2caaa,this[_0x1ff840(0x2a4)]=_0x4a7b3f):_0x2e1e8c=this[_0x1ff840(0x24d)];for(var _0x3b3c04=0x0;_0x3b3c04<_0x50cae9;_0x3b3c04++)_0x2c14f4[_0x5139e0+_0x3b3c04]^=_0x2e1e8c[_0x3b3c04];}return _0x483df2;}()),_0x5c556e=_0x108a81[_0x353aca(0x275)]={},_0x1fdd83=_0x5c556e[_0x353aca(0x3c9)]={'pad':function(_0x247194,_0x4c5170){var _0x56c362=_0x353aca;for(var _0x3eb01c=_0x4c5170*0x4,_0x1bd744=_0x3eb01c-_0x247194[_0x56c362(0x3b8)]%_0x3eb01c,_0x119ab7=_0x1bd744<<0x18|_0x1bd744<<0x10|_0x1bd744<<0x8|_0x1bd744,_0x31a1fa=[],_0x551177=0x0;_0x551177<_0x1bd744;_0x551177+=0x4)_0x31a1fa[_0x56c362(0x3eb)](_0x119ab7);var _0x59e91f=_0x3924a8[_0x56c362(0x442)](_0x31a1fa,_0x1bd744);_0x247194[_0x56c362(0x378)](_0x59e91f);},'unpad':function(_0x5c8d5e){var _0x5463e4=_0x353aca,_0x4fe744=_0x5c8d5e[_0x5463e4(0x17c)][_0x5c8d5e['sigBytes']-0x1>>>0x2]&0xff;_0x5c8d5e[_0x5463e4(0x3b8)]-=_0x4fe744;}};_0x59f0bc[_0x353aca(0x42a)]=_0x303e0c[_0x353aca(0x31d)]({'cfg':_0x303e0c['cfg'][_0x353aca(0x31d)]({'mode':_0x2dc5af,'padding':_0x1fdd83}),'reset':function(){var _0x1550e4=_0x353aca,_0x2ccd0e;_0x303e0c[_0x1550e4(0x23a)][_0x1550e4(0x439)](this);var _0x3b4ead=this[_0x1550e4(0x2a2)],_0x3303c4=_0x3b4ead['iv'],_0x2b2dba=_0x3b4ead[_0x1550e4(0x20e)];this['_xformMode']==this[_0x1550e4(0x3ba)]?_0x2ccd0e=_0x2b2dba[_0x1550e4(0x2c7)]:(_0x2ccd0e=_0x2b2dba['createDecryptor'],this[_0x1550e4(0x443)]=0x1),this['_mode']&&this[_0x1550e4(0x1ed)]['__creator']==_0x2ccd0e?this['_mode']['init'](this,_0x3303c4&&_0x3303c4[_0x1550e4(0x17c)]):(this['_mode']=_0x2ccd0e[_0x1550e4(0x439)](_0x2b2dba,this,_0x3303c4&&_0x3303c4['words']),this['_mode']['__creator']=_0x2ccd0e);},'_doProcessBlock':function(_0x3117f7,_0x53d968){var _0x4e3a1a=_0x353aca;this[_0x4e3a1a(0x1ed)][_0x4e3a1a(0x390)](_0x3117f7,_0x53d968);},'_doFinalize':function(){var _0x5003e9=_0x353aca,_0x2cb268,_0x53c7e5=this[_0x5003e9(0x2a2)][_0x5003e9(0x248)];return this[_0x5003e9(0x35f)]==this['_ENC_XFORM_MODE']?(_0x53c7e5[_0x5003e9(0x275)](this[_0x5003e9(0x2bc)],this[_0x5003e9(0x20f)]),_0x2cb268=this[_0x5003e9(0x2f0)](!0x0)):(_0x2cb268=this[_0x5003e9(0x2f0)](!0x0),_0x53c7e5[_0x5003e9(0x199)](_0x2cb268)),_0x2cb268;},'blockSize':0x80/0x20});var _0x1d3708=_0x59f0bc[_0x353aca(0x3e4)]=_0xd6ebc5[_0x353aca(0x31d)]({'init':function(_0x118e74){this['mixIn'](_0x118e74);},'toString':function(_0x50606a){var _0x1c3690=_0x353aca;return(_0x50606a||this[_0x1c3690(0x347)])[_0x1c3690(0x431)](this);}}),_0x226d64=_0x108a81[_0x353aca(0x1e0)]={},_0xb4b9eb=_0x226d64[_0x353aca(0x30d)]={'stringify':function(_0xf39281){var _0x468783=_0x353aca,_0x1a77fa,_0x4d5e99=_0xf39281[_0x468783(0x319)],_0x5cc59a=_0xf39281[_0x468783(0x1ab)];return _0x5cc59a?_0x1a77fa=_0x3924a8[_0x468783(0x442)]([0x53616c74,0x65645f5f])[_0x468783(0x378)](_0x5cc59a)['concat'](_0x4d5e99):_0x1a77fa=_0x4d5e99,_0x1a77fa['toString'](_0x56d37e);},'parse':function(_0x3c5074){var _0x1c3d31=_0x353aca,_0x54f909,_0x59697a=_0x56d37e[_0x1c3d31(0x25b)](_0x3c5074),_0x532c29=_0x59697a[_0x1c3d31(0x17c)];return _0x532c29[0x0]==0x53616c74&&_0x532c29[0x1]==0x65645f5f&&(_0x54f909=_0x3924a8[_0x1c3d31(0x442)](_0x532c29[_0x1c3d31(0x217)](0x2,0x4)),_0x532c29[_0x1c3d31(0x383)](0x0,0x4),_0x59697a['sigBytes']-=0x10),_0x1d3708[_0x1c3d31(0x442)]({'ciphertext':_0x59697a,'salt':_0x54f909});}},_0x1b4995=_0x59f0bc[_0x353aca(0x35d)]=_0xd6ebc5[_0x353aca(0x31d)]({'cfg':_0xd6ebc5[_0x353aca(0x31d)]({'format':_0xb4b9eb}),'encrypt':function(_0x17a3f7,_0x2fca3d,_0x15c0ff,_0x2459fb){var _0x1a5dc7=_0x353aca;_0x2459fb=this[_0x1a5dc7(0x2a2)][_0x1a5dc7(0x31d)](_0x2459fb);var _0x8321e1=_0x17a3f7['createEncryptor'](_0x15c0ff,_0x2459fb),_0x6f1c8=_0x8321e1[_0x1a5dc7(0x29e)](_0x2fca3d),_0x2fb4be=_0x8321e1[_0x1a5dc7(0x2a2)];return _0x1d3708[_0x1a5dc7(0x442)]({'ciphertext':_0x6f1c8,'key':_0x15c0ff,'iv':_0x2fb4be['iv'],'algorithm':_0x17a3f7,'mode':_0x2fb4be[_0x1a5dc7(0x20e)],'padding':_0x2fb4be[_0x1a5dc7(0x248)],'blockSize':_0x17a3f7[_0x1a5dc7(0x20f)],'formatter':_0x2459fb[_0x1a5dc7(0x1e0)]});},'decrypt':function(_0xfc50df,_0x2f96ba,_0x5b0620,_0x2670d8){var _0x5c16f2=_0x353aca;_0x2670d8=this[_0x5c16f2(0x2a2)][_0x5c16f2(0x31d)](_0x2670d8),_0x2f96ba=this['_parse'](_0x2f96ba,_0x2670d8[_0x5c16f2(0x1e0)]);var _0x2c6eb9=_0xfc50df[_0x5c16f2(0x26b)](_0x5b0620,_0x2670d8)[_0x5c16f2(0x29e)](_0x2f96ba[_0x5c16f2(0x319)]);return _0x2c6eb9;},'_parse':function(_0x3ccff2,_0x3a53fc){var _0xb3c672=_0x353aca;return typeof _0x3ccff2==_0xb3c672(0x1d2)?_0x3a53fc['parse'](_0x3ccff2,this):_0x3ccff2;}}),_0x58c909=_0x108a81[_0x353aca(0x3bd)]={},_0x2b55df=_0x58c909[_0x353aca(0x30d)]={'execute':function(_0x289aee,_0x1d33d0,_0x3d405f,_0x1fade5,_0x351539){var _0x5c6f2a=_0x353aca;if(_0x1fade5||(_0x1fade5=_0x3924a8[_0x5c6f2a(0x3ca)](0x40/0x8)),_0x351539)var _0x4c6469=_0x1b089a['create']({'keySize':_0x1d33d0+_0x3d405f,'hasher':_0x351539})[_0x5c6f2a(0x1e7)](_0x289aee,_0x1fade5);else var _0x4c6469=_0x1b089a[_0x5c6f2a(0x442)]({'keySize':_0x1d33d0+_0x3d405f})['compute'](_0x289aee,_0x1fade5);var _0x1a5915=_0x3924a8[_0x5c6f2a(0x442)](_0x4c6469[_0x5c6f2a(0x17c)][_0x5c6f2a(0x217)](_0x1d33d0),_0x3d405f*0x4);return _0x4c6469[_0x5c6f2a(0x3b8)]=_0x1d33d0*0x4,_0x1d3708['create']({'key':_0x4c6469,'iv':_0x1a5915,'salt':_0x1fade5});}},_0x5b2b4b=_0x59f0bc[_0x353aca(0x459)]=_0x1b4995[_0x353aca(0x31d)]({'cfg':_0x1b4995[_0x353aca(0x2a2)][_0x353aca(0x31d)]({'kdf':_0x2b55df}),'encrypt':function(_0x2a759e,_0x2438af,_0x4f7633,_0x231df5){var _0x3103a1=_0x353aca;_0x231df5=this[_0x3103a1(0x2a2)][_0x3103a1(0x31d)](_0x231df5);var _0x3ad8db=_0x231df5[_0x3103a1(0x3bd)][_0x3103a1(0x2cb)](_0x4f7633,_0x2a759e['keySize'],_0x2a759e[_0x3103a1(0x3a5)],_0x231df5['salt'],_0x231df5[_0x3103a1(0x346)]);_0x231df5['iv']=_0x3ad8db['iv'];var _0x2f045d=_0x1b4995['encrypt'][_0x3103a1(0x439)](this,_0x2a759e,_0x2438af,_0x3ad8db[_0x3103a1(0x1cd)],_0x231df5);return _0x2f045d['mixIn'](_0x3ad8db),_0x2f045d;},'decrypt':function(_0x22e92e,_0x3e5f48,_0x284a30,_0x8a593){var _0x40abb6=_0x353aca;_0x8a593=this[_0x40abb6(0x2a2)][_0x40abb6(0x31d)](_0x8a593),_0x3e5f48=this[_0x40abb6(0x25c)](_0x3e5f48,_0x8a593[_0x40abb6(0x1e0)]);var _0x245cfe=_0x8a593['kdf']['execute'](_0x284a30,_0x22e92e[_0x40abb6(0x38e)],_0x22e92e[_0x40abb6(0x3a5)],_0x3e5f48[_0x40abb6(0x1ab)],_0x8a593[_0x40abb6(0x346)]);_0x8a593['iv']=_0x245cfe['iv'];var _0x3e3b42=_0x1b4995[_0x40abb6(0x372)][_0x40abb6(0x439)](this,_0x22e92e,_0x3e5f48,_0x245cfe[_0x40abb6(0x1cd)],_0x8a593);return _0x3e3b42;}});}();}));}(Je)),Je[_0x43a1cd(0x425)];}var Vr=Ve[_0x2c8be9(0x425)],si;function Gr(){var _0x3fd030=_0x2c8be9;return si||(si=0x1,function(_0x14ce45,_0x472189){(function(_0x4ac9e1,_0x4ba58c,_0x42ceaa){var _0x336b12=_0x2fe9;_0x14ce45[_0x336b12(0x425)]=_0x4ba58c(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x4e8bcc){var _0x3a383f=_0x2fe9;return(function(){var _0x2749ae=_0x2fe9,_0xb1df8=_0x4e8bcc,_0x4a07c1=_0xb1df8[_0x2749ae(0x34b)],_0x5a536d=_0x4a07c1['BlockCipher'],_0x279aab=_0xb1df8[_0x2749ae(0x451)],_0x15ebaa=[],_0x569fff=[],_0x11d1a7=[],_0x2ce36f=[],_0xd4f355=[],_0x2149ed=[],_0x258932=[],_0xbd29a3=[],_0x54c3f3=[],_0x254129=[];(function(){for(var _0x53c96e=[],_0xdd3fb1=0x0;_0xdd3fb1<0x100;_0xdd3fb1++)_0xdd3fb1<0x80?_0x53c96e[_0xdd3fb1]=_0xdd3fb1<<0x1:_0x53c96e[_0xdd3fb1]=_0xdd3fb1<<0x1^0x11b;for(var _0x33842b=0x0,_0x515377=0x0,_0xdd3fb1=0x0;_0xdd3fb1<0x100;_0xdd3fb1++){var _0x51709a=_0x515377^_0x515377<<0x1^_0x515377<<0x2^_0x515377<<0x3^_0x515377<<0x4;_0x51709a=_0x51709a>>>0x8^_0x51709a&0xff^0x63,_0x15ebaa[_0x33842b]=_0x51709a,_0x569fff[_0x51709a]=_0x33842b;var _0x3bc794=_0x53c96e[_0x33842b],_0x57132c=_0x53c96e[_0x3bc794],_0x22d319=_0x53c96e[_0x57132c],_0x1ebb04=_0x53c96e[_0x51709a]*0x101^_0x51709a*0x1010100;_0x11d1a7[_0x33842b]=_0x1ebb04<<0x18|_0x1ebb04>>>0x8,_0x2ce36f[_0x33842b]=_0x1ebb04<<0x10|_0x1ebb04>>>0x10,_0xd4f355[_0x33842b]=_0x1ebb04<<0x8|_0x1ebb04>>>0x18,_0x2149ed[_0x33842b]=_0x1ebb04;var _0x1ebb04=_0x22d319*0x1010101^_0x57132c*0x10001^_0x3bc794*0x101^_0x33842b*0x1010100;_0x258932[_0x51709a]=_0x1ebb04<<0x18|_0x1ebb04>>>0x8,_0xbd29a3[_0x51709a]=_0x1ebb04<<0x10|_0x1ebb04>>>0x10,_0x54c3f3[_0x51709a]=_0x1ebb04<<0x8|_0x1ebb04>>>0x18,_0x254129[_0x51709a]=_0x1ebb04,_0x33842b?(_0x33842b=_0x3bc794^_0x53c96e[_0x53c96e[_0x53c96e[_0x22d319^_0x3bc794]]],_0x515377^=_0x53c96e[_0x53c96e[_0x515377]]):_0x33842b=_0x515377=0x1;}}());var _0x498a03=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x283a21=_0x279aab['AES']=_0x5a536d[_0x2749ae(0x31d)]({'_doReset':function(){var _0x10a606=_0x2749ae,_0x16ca76;if(!(this[_0x10a606(0x2e6)]&&this[_0x10a606(0x296)]===this['_key'])){for(var _0x555262=this[_0x10a606(0x296)]=this['_key'],_0x1a3c2a=_0x555262[_0x10a606(0x17c)],_0x22ca33=_0x555262[_0x10a606(0x3b8)]/0x4,_0x32ede1=this['_nRounds']=_0x22ca33+0x6,_0x5421f2=(_0x32ede1+0x1)*0x4,_0x1ee104=this[_0x10a606(0x341)]=[],_0x3e0595=0x0;_0x3e0595<_0x5421f2;_0x3e0595++)_0x3e0595<_0x22ca33?_0x1ee104[_0x3e0595]=_0x1a3c2a[_0x3e0595]:(_0x16ca76=_0x1ee104[_0x3e0595-0x1],_0x3e0595%_0x22ca33?_0x22ca33>0x6&&_0x3e0595%_0x22ca33==0x4&&(_0x16ca76=_0x15ebaa[_0x16ca76>>>0x18]<<0x18|_0x15ebaa[_0x16ca76>>>0x10&0xff]<<0x10|_0x15ebaa[_0x16ca76>>>0x8&0xff]<<0x8|_0x15ebaa[_0x16ca76&0xff]):(_0x16ca76=_0x16ca76<<0x8|_0x16ca76>>>0x18,_0x16ca76=_0x15ebaa[_0x16ca76>>>0x18]<<0x18|_0x15ebaa[_0x16ca76>>>0x10&0xff]<<0x10|_0x15ebaa[_0x16ca76>>>0x8&0xff]<<0x8|_0x15ebaa[_0x16ca76&0xff],_0x16ca76^=_0x498a03[_0x3e0595/_0x22ca33|0x0]<<0x18),_0x1ee104[_0x3e0595]=_0x1ee104[_0x3e0595-_0x22ca33]^_0x16ca76);for(var _0x1f6b73=this[_0x10a606(0x1ad)]=[],_0x51a415=0x0;_0x51a415<_0x5421f2;_0x51a415++){var _0x3e0595=_0x5421f2-_0x51a415;if(_0x51a415%0x4)var _0x16ca76=_0x1ee104[_0x3e0595];else var _0x16ca76=_0x1ee104[_0x3e0595-0x4];_0x51a415<0x4||_0x3e0595<=0x4?_0x1f6b73[_0x51a415]=_0x16ca76:_0x1f6b73[_0x51a415]=_0x258932[_0x15ebaa[_0x16ca76>>>0x18]]^_0xbd29a3[_0x15ebaa[_0x16ca76>>>0x10&0xff]]^_0x54c3f3[_0x15ebaa[_0x16ca76>>>0x8&0xff]]^_0x254129[_0x15ebaa[_0x16ca76&0xff]];}}},'encryptBlock':function(_0x593289,_0x4b175a){var _0x1ef7da=_0x2749ae;this[_0x1ef7da(0x1f1)](_0x593289,_0x4b175a,this[_0x1ef7da(0x341)],_0x11d1a7,_0x2ce36f,_0xd4f355,_0x2149ed,_0x15ebaa);},'decryptBlock':function(_0xd2d8a6,_0x42ff7f){var _0x14b980=_0x2749ae,_0x12ca3b=_0xd2d8a6[_0x42ff7f+0x1];_0xd2d8a6[_0x42ff7f+0x1]=_0xd2d8a6[_0x42ff7f+0x3],_0xd2d8a6[_0x42ff7f+0x3]=_0x12ca3b,this[_0x14b980(0x1f1)](_0xd2d8a6,_0x42ff7f,this[_0x14b980(0x1ad)],_0x258932,_0xbd29a3,_0x54c3f3,_0x254129,_0x569fff);var _0x12ca3b=_0xd2d8a6[_0x42ff7f+0x1];_0xd2d8a6[_0x42ff7f+0x1]=_0xd2d8a6[_0x42ff7f+0x3],_0xd2d8a6[_0x42ff7f+0x3]=_0x12ca3b;},'_doCryptBlock':function(_0x221d30,_0x5ef3aa,_0x41eb7b,_0x5a63de,_0x358e80,_0x74daf3,_0x2e0fd8,_0x47821e){for(var _0x470ff0=this['_nRounds'],_0x3b49f7=_0x221d30[_0x5ef3aa]^_0x41eb7b[0x0],_0x19b331=_0x221d30[_0x5ef3aa+0x1]^_0x41eb7b[0x1],_0x17ba0d=_0x221d30[_0x5ef3aa+0x2]^_0x41eb7b[0x2],_0x2c2273=_0x221d30[_0x5ef3aa+0x3]^_0x41eb7b[0x3],_0x3e5734=0x4,_0x1c221b=0x1;_0x1c221b<_0x470ff0;_0x1c221b++){var _0x4eec19=_0x5a63de[_0x3b49f7>>>0x18]^_0x358e80[_0x19b331>>>0x10&0xff]^_0x74daf3[_0x17ba0d>>>0x8&0xff]^_0x2e0fd8[_0x2c2273&0xff]^_0x41eb7b[_0x3e5734++],_0x3c5592=_0x5a63de[_0x19b331>>>0x18]^_0x358e80[_0x17ba0d>>>0x10&0xff]^_0x74daf3[_0x2c2273>>>0x8&0xff]^_0x2e0fd8[_0x3b49f7&0xff]^_0x41eb7b[_0x3e5734++],_0x4ce8c4=_0x5a63de[_0x17ba0d>>>0x18]^_0x358e80[_0x2c2273>>>0x10&0xff]^_0x74daf3[_0x3b49f7>>>0x8&0xff]^_0x2e0fd8[_0x19b331&0xff]^_0x41eb7b[_0x3e5734++],_0x1762a4=_0x5a63de[_0x2c2273>>>0x18]^_0x358e80[_0x3b49f7>>>0x10&0xff]^_0x74daf3[_0x19b331>>>0x8&0xff]^_0x2e0fd8[_0x17ba0d&0xff]^_0x41eb7b[_0x3e5734++];_0x3b49f7=_0x4eec19,_0x19b331=_0x3c5592,_0x17ba0d=_0x4ce8c4,_0x2c2273=_0x1762a4;}var _0x4eec19=(_0x47821e[_0x3b49f7>>>0x18]<<0x18|_0x47821e[_0x19b331>>>0x10&0xff]<<0x10|_0x47821e[_0x17ba0d>>>0x8&0xff]<<0x8|_0x47821e[_0x2c2273&0xff])^_0x41eb7b[_0x3e5734++],_0x3c5592=(_0x47821e[_0x19b331>>>0x18]<<0x18|_0x47821e[_0x17ba0d>>>0x10&0xff]<<0x10|_0x47821e[_0x2c2273>>>0x8&0xff]<<0x8|_0x47821e[_0x3b49f7&0xff])^_0x41eb7b[_0x3e5734++],_0x4ce8c4=(_0x47821e[_0x17ba0d>>>0x18]<<0x18|_0x47821e[_0x2c2273>>>0x10&0xff]<<0x10|_0x47821e[_0x3b49f7>>>0x8&0xff]<<0x8|_0x47821e[_0x19b331&0xff])^_0x41eb7b[_0x3e5734++],_0x1762a4=(_0x47821e[_0x2c2273>>>0x18]<<0x18|_0x47821e[_0x3b49f7>>>0x10&0xff]<<0x10|_0x47821e[_0x19b331>>>0x8&0xff]<<0x8|_0x47821e[_0x17ba0d&0xff])^_0x41eb7b[_0x3e5734++];_0x221d30[_0x5ef3aa]=_0x4eec19,_0x221d30[_0x5ef3aa+0x1]=_0x3c5592,_0x221d30[_0x5ef3aa+0x2]=_0x4ce8c4,_0x221d30[_0x5ef3aa+0x3]=_0x1762a4;},'keySize':0x100/0x20});_0xb1df8[_0x2749ae(0x1f9)]=_0x5a536d[_0x2749ae(0x2be)](_0x283a21);}()),_0x4e8bcc[_0x3a383f(0x1f9)];}));}(Ve)),Ve[_0x3fd030(0x425)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe['exports'],ai;function zr(){return ai||(ai=0x1,function(_0x48ab8c,_0x2c38f8){(function(_0x5ee079,_0x2ea940){var _0x35e50b=_0x2fe9;_0x48ab8c[_0x35e50b(0x425)]=_0x2ea940(ne());}(qr,function(_0xaf07a8){var _0x5fb1da=_0x2fe9;return _0xaf07a8[_0x5fb1da(0x1b1)][_0x5fb1da(0x1ae)];}));}(Xe)),Xe['exports'];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x2c8be9(0x425)],ci;function Qr(){var _0x219f0c=_0x2c8be9;return ci||(ci=0x1,function(_0x11301b,_0x441c1c){(function(_0x502a40,_0x53dfdb){var _0x34ae65=_0x2fe9;_0x11301b[_0x34ae65(0x425)]=_0x53dfdb(ne());}(Zr,function(_0x1156b1){var _0x3c7a66=_0x2fe9;return(function(){var _0x1fcbf0=_0x2fe9;if(typeof ArrayBuffer==_0x1fcbf0(0x37b)){var _0x597e08=_0x1156b1,_0x4133b1=_0x597e08[_0x1fcbf0(0x34b)],_0x38866c=_0x4133b1[_0x1fcbf0(0x2d9)],_0x45caf1=_0x38866c['init'],_0x457df3=_0x38866c[_0x1fcbf0(0x25e)]=function(_0x502ec9){var _0x2b3088=_0x1fcbf0;if(_0x502ec9 instanceof ArrayBuffer&&(_0x502ec9=new Uint8Array(_0x502ec9)),(_0x502ec9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x502ec9 instanceof Uint8ClampedArray||_0x502ec9 instanceof Int16Array||_0x502ec9 instanceof Uint16Array||_0x502ec9 instanceof Int32Array||_0x502ec9 instanceof Uint32Array||_0x502ec9 instanceof Float32Array||_0x502ec9 instanceof Float64Array)&&(_0x502ec9=new Uint8Array(_0x502ec9[_0x2b3088(0x377)],_0x502ec9['byteOffset'],_0x502ec9['byteLength'])),_0x502ec9 instanceof Uint8Array){for(var _0x70144b=_0x502ec9[_0x2b3088(0x3b2)],_0x9c2e70=[],_0x5721fe=0x0;_0x5721fe<_0x70144b;_0x5721fe++)_0x9c2e70[_0x5721fe>>>0x2]|=_0x502ec9[_0x5721fe]<<0x18-_0x5721fe%0x4*0x8;_0x45caf1[_0x2b3088(0x439)](this,_0x9c2e70,_0x70144b);}else _0x45caf1[_0x2b3088(0x45f)](this,arguments);};_0x457df3[_0x1fcbf0(0x33f)]=_0x38866c;}}()),_0x1156b1[_0x3c7a66(0x34b)][_0x3c7a66(0x2d9)];}));}(Ze)),Ze[_0x219f0c(0x425)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x2c8be9(0x425)],hi;function ns(){return hi||(hi=0x1,function(_0x23b240,_0x35c1c6){(function(_0x359d58,_0x121a8e,_0x5f0c31){var _0x1fa71c=_0x2fe9;_0x23b240[_0x1fa71c(0x425)]=_0x121a8e(ne(),Ai());}(is,function(_0x26eabb){var _0x37b5d6=_0x2fe9;return _0x26eabb[_0x37b5d6(0x275)][_0x37b5d6(0x186)]={'pad':function(){},'unpad':function(){}},_0x26eabb[_0x37b5d6(0x275)][_0x37b5d6(0x186)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x2ba9ba,_0x5681d3){var _0x44625b=_0x2c8be9;const _0x5219d6=_0x5681d3-_0x2ba9ba[_0x44625b(0x387)]%_0x5681d3,_0x16421c=String[_0x44625b(0x40f)](_0x5219d6)[_0x44625b(0x1d9)](_0x5219d6);return _0x2ba9ba+_0x16421c;}function as(_0x3995bd,_0x1e6549){var _0xb0607b=_0x2c8be9;const _0x47863b=ts[_0xb0607b(0x3ca)](0x10),_0x1378a4=os(_0x3995bd,0x10),_0x5c2ed7=Kr[_0xb0607b(0x38f)](Xr[_0xb0607b(0x25b)](_0x1378a4),oi[_0xb0607b(0x25b)](_0x1e6549),{'iv':_0x47863b,'padding':ss});return _0x47863b[_0xb0607b(0x378)](_0x5c2ed7['ciphertext'])[_0xb0607b(0x3ef)](oi);}function cs(){var _0x1339b7=_0x2c8be9;const _0x5cf452=_0x1cf43a()[_0x1339b7(0x34d)];if(_0x5cf452){const _0x545fb4={'time':Math['floor'](Date[_0x1339b7(0x1c9)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x1339b7(0x431)](_0x545fb4),_0x5cf452);}}var hs=Object['defineProperty'],_s=Object['getOwnPropertyDescriptor'],ls=(_0x15121a,_0x5615df,_0x23d6d5,_0x39cb85)=>{var _0x59e9d9=_0x2c8be9;for(var _0xb8e239=_0x39cb85>0x1?void 0x0:_0x39cb85?_s(_0x5615df,_0x23d6d5):_0x5615df,_0x4dfeaa=_0x15121a[_0x59e9d9(0x387)]-0x1,_0x1b9c15;_0x4dfeaa>=0x0;_0x4dfeaa--)(_0x1b9c15=_0x15121a[_0x4dfeaa])&&(_0xb8e239=(_0x39cb85?_0x1b9c15(_0x5615df,_0x23d6d5,_0xb8e239):_0x1b9c15(_0xb8e239))||_0xb8e239);return _0x39cb85&&_0xb8e239&&hs(_0x5615df,_0x23d6d5,_0xb8e239),_0xb8e239;},us=(_0x308035,_0x3ac82c)=>(_0x483636,_0x13b0d4)=>_0x3ac82c(_0x483636,_0x13b0d4,_0x308035);let ot=class{constructor(_0x3d96e5){var _0x394493=_0x2c8be9;this[_0x394493(0x171)]=_0x3d96e5,this['_initRequestHeader']();}[_0x2c8be9(0x3e3)](){var _0x500b49=_0x2c8be9;this[_0x500b49(0x171)]['registerHTTPInterceptor']({'interceptor':(_0x516753,_0x46ebd0)=>{var _0x31778b=_0x500b49;const _0x189846=_0x516753[_0x31778b(0x21f)],_0xd43ab1=cs();return _0xd43ab1&&_0x189846[_0x31778b(0x2b9)](_0x31778b(0x3ae),_0xd43ab1),_0x46ebd0(_0x516753);}});}};ot=ls([us(0x0,_0x10d55b(_0x17ffb1))],ot);var ds=Object[_0x2c8be9(0x2d0)],fs=Object[_0x2c8be9(0x1da)],vs=(_0x1dc088,_0x2f9183,_0x2035e4,_0x826624)=>{for(var _0x47a008=_0x826624>0x1?void 0x0:_0x826624?fs(_0x2f9183,_0x2035e4):_0x2f9183,_0x2dd2db=_0x1dc088['length']-0x1,_0x15b825;_0x2dd2db>=0x0;_0x2dd2db--)(_0x15b825=_0x1dc088[_0x2dd2db])&&(_0x47a008=(_0x826624?_0x15b825(_0x2f9183,_0x2035e4,_0x47a008):_0x15b825(_0x47a008))||_0x47a008);return _0x826624&&_0x47a008&&ds(_0x2f9183,_0x2035e4,_0x47a008),_0x47a008;},mt=(_0x728e36,_0x580d30)=>(_0x3eaa91,_0x1eed8e)=>_0x580d30(_0x3eaa91,_0x1eed8e,_0x728e36);let Ot=class extends _0x589b61{constructor(_0x22492c,_0x16efc6,_0x40d8cc){var _0x152e39=_0x2c8be9;super(),N(this,_0x152e39(0x419),new _0x581433(null)),N(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x152e39(0x17d)]=_0x22492c,this[_0x152e39(0x33c)]=_0x16efc6,this['_localCacheService']=_0x40d8cc);}async[_0x2c8be9(0x211)](_0x604e9a,_0x1403d9,_0x45d4a4){var _0x19cc25=_0x2c8be9;this['_unitInfo$'][_0x19cc25(0x344)]({'unitId':_0x604e9a,'type':_0x1403d9,'subUnitId':_0x45d4a4});let _0x3fc73f=null;switch(_0x1403d9){case Q[_0x19cc25(0x295)]:{_0x3fc73f=await this[_0x19cc25(0x247)](_0x604e9a);break;}case Q['UNIVER_DOC']:{_0x3fc73f=await this[_0x19cc25(0x224)](_0x604e9a);break;}default:{this[_0x19cc25(0x17d)][_0x19cc25(0x2ce)](_0x19cc25(0x3f9),_0x19cc25(0x2bd));break;}}return _0x3fc73f;}async[_0x2c8be9(0x247)](_0x15d07c){var _0x3d9348=_0x2c8be9,_0x58314e;let _0x4083fa=0x0;const _0x182878=await((_0x58314e=this[_0x3d9348(0x203)])==null?void 0x0:_0x58314e[_0x3d9348(0x3cb)](_0x15d07c));return _0x182878&&(_0x182878[_0x3d9348(0x375)]||_0x182878['mutations']['length']!==0x0)&&(_0x4083fa=_0x182878[_0x3d9348(0x464)]),_0x4083fa===0x0&&this[_0x3d9348(0x17d)][_0x3d9348(0x1c4)]('[DataLoaderService]',_0x3d9348(0x3d7)),this['_snapshotService'][_0x3d9348(0x3a0)](_0x15d07c,_0x4083fa);}async[_0x2c8be9(0x224)](_0x5ea77e){var _0xe77867=_0x2c8be9,_0x4b17c6;let _0x4168ba=0x0;const _0x532042=await((_0x4b17c6=this[_0xe77867(0x203)])==null?void 0x0:_0x4b17c6[_0xe77867(0x3cb)](_0x5ea77e));return _0x532042&&(_0x532042[_0xe77867(0x375)]||_0x532042[_0xe77867(0x244)][_0xe77867(0x387)]!==0x0)&&(_0x4168ba=_0x532042['rev']),_0x4168ba===0x0&&this[_0xe77867(0x17d)][_0xe77867(0x1c4)](_0xe77867(0x3f9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xe77867(0x33c)]['loadDoc'](_0x5ea77e,_0x4168ba);}};Ot=vs([mt(0x0,_0x292d5e),mt(0x1,_0x10d55b(_0x532d6a)),mt(0x2,_0x1bb88c(J))],Ot);var ps=Object[_0x2c8be9(0x2d0)],ms=Object[_0x2c8be9(0x1da)],gs=(_0x283ebc,_0x3a2d10,_0xd7a04d,_0x17bdb0)=>{var _0x35043d=_0x2c8be9;for(var _0x142128=_0x17bdb0>0x1?void 0x0:_0x17bdb0?ms(_0x3a2d10,_0xd7a04d):_0x3a2d10,_0x40ff4c=_0x283ebc[_0x35043d(0x387)]-0x1,_0x7cdf29;_0x40ff4c>=0x0;_0x40ff4c--)(_0x7cdf29=_0x283ebc[_0x40ff4c])&&(_0x142128=(_0x17bdb0?_0x7cdf29(_0x3a2d10,_0xd7a04d,_0x142128):_0x7cdf29(_0x142128))||_0x142128);return _0x17bdb0&&_0x142128&&ps(_0x3a2d10,_0xd7a04d,_0x142128),_0x142128;},gt=(_0xa1dd3f,_0x4c05e1)=>(_0x195eda,_0xcd4cde)=>_0x4c05e1(_0x195eda,_0xcd4cde,_0xa1dd3f);const Ss=[_0x2c8be9(0x3a4),_0x2c8be9(0x19c),_0x2c8be9(0x305),_0x2c8be9(0x2e7),_0x2c8be9(0x19a)],Es=0x5*0x400*0x400,Is=_0x2c8be9(0x43e),Ts=_0x2c8be9(0x3d8),Cs=_0x2c8be9(0x223),Rs=_0x2c8be9(0x2d4);function _0x538b(){var _0x15564b=['_disableEditing','getCollabEntity','roomInfos','_waitCount','updateMember','splice','UPDATE_CURSOR','Decryptor','[OfflineState]:\x20received\x20acknowledgement.','length','[CollaborationSessionService]','_sender','COMPRESS_MUTATION_APPLY','_handlerCallback','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/block/','keySize','encrypt','processBlock','reject','putCollaborators','encryptBlock','_initCloseConn','INTERNAL_ERROR','getMember','_retryConnectingTimer','responseType','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','APPLY_PERMISSION_DENIED','/universer-api/oidc/authpage','Undefined','BASE64','updatePermissionPoint','JOIN_ROOM_FULL','loadSheet','getMemberID','PENDING','NOT_COLLAB','image/png','ivSize','loginUrlKey','OPTIONAL','delete','ENSURE_SNAPSHOT_EXECUTION','_clearRedo','[FetchMissState]','_members','onSendChangeset','x-univer-host','LIVESHARE_FETCH_OPERATIONS','onRemoteRetry','resourceIDs','byteLength','_eventService','_joinRoom','find','file','_init','sigBytes','_initMergeInterceptor','_ENC_XFORM_MODE','members$','_registerDependencies','kdf','/new_changes','[CollaborationSessionService]:\x20socket\x20error','reduce','_getSessionTicket','_updateState','PERMISSION_REJ','5216121cHVizw','put','fetchMiss','_updateLocalCache','getCurrentSelections','Pkcs7','random','loadOfflineData','_tryEnsureSocket','\x20to\x20','saveSnapshot','_fetchMissChangesets','_transformRemoteChangesetByIMECache','session.room-cnt-exceeds','min','_changesetReqId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onMissedChangesetFetched','enableAuthServer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/stream/file/upload','application/json','post','SNAPSHOT_INVALID_SNAPSHOT','_cipher','_socketMessageSubscription','objectType','state','_replayCachedMutations','_getCurrentRevision','TOO_MANY_REQUESTS','_initRequestHeader','CipherParams','COMMENT_UPDATE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/resources','UNRECOGNIZED','_transformIMECache','_onOffline','push','_changesetSessionId','HmacSHA1','/universer-api/snapshot/','toString','_transformStack','JOINING','_initUnitPermissionChange','_replaceFileID','[CollaborationUndoRedoService]','pipe','getUnit','PERMISSION_DENIED','ONLINE','[DataLoaderService]','_socketReady','_getLoginPath','selections','originalMeta','_awaitingChangeset','eventID','_executeRemoteChangeset','HELLO','LIVESHARE_NEW_HOST','YUUMI_URL_COL_OUT_OF_RANGE','update','_applyRemoteChangeset','runId','session.join-failed','Hex','_transitionLocked','_status$','_throwTelemetryCollaborationNewChangeset','synced','dispose$','5ShnOqd','fromCharCode','_networkConditionService','online$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','revision','catch','submit\x20changeset\x20error!','_scheduleCollaborationTimeoutTimer','_schedule','name','_unitInfo$','{fileID}','forEach','_rescheduleHeartbeat','shouldCloseConn','onload','UNKNOWN_CMD','Malformed\x20UTF-8\x20data','patch','copyFileMeta','_resendTimeout','iterations','exports','UNDEFINED','localeService','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentUser','BlockCipher','authzUrl','_transformUndoredo','unitId\x20is\x20not\x20found','_syncEditingCollabCursor','filter','listRoles','stringify','session.room-full','/object/','_updateStatus','_HTTPService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onLocalMutation','_type','call','/universer-api/comb','HEARTBEAT_TIMEOUT','CHANGESET_SHOULD_RETRY','_startTelemetryCollaborationNewChangeset','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','RECV','/universer-api/authz','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','create','_minBufferSize','_nDataBytes','liveShareNewHost','_clearTimeoutTimer','search','requireSession','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Cipher','has','charAt','[SyncedState]:\x20received\x20rejection.','_onMessage','_isPermissionRej','algo','_decreaseWaiting','textRanges','Hasher','ERROR_IMAGE_TYPE','sin','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','updateOfflineData','PasswordBasedCipher','_onRemoteACK','_entityInit$','_remoteChangesetQueue','APPLY_REVISION_CONFILICT','APPLY_REJECT','apply','bind','onLocalMutation','pluginName','SUCCUSS','rev','appendMutation','_createHandler','collaboration_new_changeset','_collaborationPaused','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','replace','complete','params','c1Prime','commentUpdate$','_undoRedoService','/unit/','[CollaborationEntity]','_telemetryInfo','JOIN_ROOM_NOT_EXISTS','_createInitialStateImpl','method','_roomMembers','snapshotServerUrl','collabWebSocketUrl','roles','createInstance','floor','224098eHkyON','LICENSE_EXPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20rejection.','_httpService','FileId','onTransformSelections','cmd','connection\x20error','uniscriptRunEvent','isArray','LOCAL_CACHE_INTERVAL','_initDependencies','toggleOffline','_sendingTimer','words','_logService','LICENSE_DISTRO_REJECTED','/object','randomBytes','USERS_ENTER','_onRemoteRejected','transformUndoRedo','status','_permissionService','NoPadding','_configService','pending','origin','getSnapshotAPIPath','getRoom','actions','JOIN_ROOM_FAILED','open$','action','ALREADY_EXISTS','href','permissionRejEvent','PSEUDO_FETCH_MISSING_RESULT','_stopTelemetryCollaborationNewChangeset','objectActions','fetch_missing','requestParams','_getSendChangesetTimeout','unpad','image/bmp','_exhaustRemoteChangesetQueue','image/jpeg','6353416dwjeKe','conflict','[SyncedState]:\x20received\x20acknowledgement.','_sessions','UPDATE_PERMISSION_OBJ','sendChangesetTimeout','clear','CHANGESET_REVISION_CONFILICT','/fetchmissing?from=','failed\x20to\x20apply\x20missed\x20changesets!','getRandomValues','COMPLETION_FINISHED','_state','UUID','salt','fetching\x20missing\x20changesets\x20from\x20','_invKeySchedule','Utf8','\x0aCurrent:\x20','socket$','enc','override','reconnect','fetchThroughInterceptors','from','telemetry\x20info\x20is\x20not\x20initialized','_removeRoom','NO_OTHER_CLIENTS_EDITING','Base','_onConflict','getTypeOfUnitDisposed$','readAsDataURL','refreshPermission','onTransformRemoteChangesetByStateCache','_getRedoStack','_handler','PY_RUNTIME_SCRIPT_ERROR','_getAPIPrefix','sessionStatus','debug','_onUserJoin','_clearScheduledTask','UNIVER_UNKNOWN','_oKey','now','close$','toggleOnline','onTransformIME','key','_showConflictNotification','deleteCollaborator','_clearHeartbeatTimer','reqId','string','MUTATION','dispose','symbol','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','clamp','_substituteRedoStack','repeat','getOwnPropertyDescriptor','json','location','COLLAB_SUBMIT_CHANGESET_URL','unsubscribe','_userManagerService','format','every','[UniverCollaborationClientPlugin]','_instanceService','emitEvent','fetchMissingChangesets','_emitMembers','compute','_injector','changesets','max','2gFkSAK','CONFLICT','_mode','onTransformState','_getUploadFileURL','createCollaborator','_doCryptBlock','HMAC','_onConnectionOpen','_checkMissing','editingUnit','send','onRemoteAck','_redoStacks','AES','_socket','updateCollaborator','IDLE','UnitEmbedded','unknown','getTypeOfUnitAdded$','AWAITING_WITH_PENDING','_sendHeartbeat','url','_localCacheService','OTHER_CLIENT_EDITING','_event$','_sendHeartbeatTimer','randomUUID','HEARTBEAT','60AQqDhj','_transformRemoteChangesetByStateCache','title','UNAUTHENTICATED','GLOBAL_ROOMS_CNT_EXCEEDS','mode','blockSize','decryptBlock','loadUnit','APPLY_DUPLICATED','data','_toggleOnline','objects','/-/object/-/batch_allowed','slice','CLOSE_ROOM','workbook','/rev/','Encryptor','CBC','getTime','160368cgNhgV','headers','getSheetBlock','map','_collaborationUIEventService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_loadDoc','_resendWithTimeout','error$','newCsEvent','SEND_CHANGESET_TIMEOUT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','enableOfflineEditing','/allowed','_onRemoteRetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Univer','getImage','LIVESHARE_REQUEST_HOST','ticket','m2Prime','HttpImport','onCommentUpdate','SNAPSHOT_HAS_BEEN_REMOVED','_substituteUndoStack','[OfflineState]:\x20received\x20changeset.','LICENSE_MAX_UNITS_EXCEEDED','findIndex','reset','_change$','close','SOCKET_FAILED','_onFetchMissResult','MSG_FOR_ERROR','_onUserLeave','editing\x20status\x20changed\x20to','\x20-\x20','csAckEvent','mutations','startTime','UNKNOWN_CODE','_loadSheet','padding','routeKey','_clearLocalCache','CHANGESET_REJ','entityInit$','_prevBlock','/-/object/list','SOCKET_FAILED_RETRY','charCodeAt','subscribe','code','generateRandomId','onCommandExecuted','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','result','_commandService','size','FETCH_MISS','$super','parse','_parse','_onCombEvent','init','searchParams','Latin1','_onRemoteChangeset','_hash','onlyLocal','JOIN_ROOM_PERMISSION_DENIED','_doFinalize','onTransformRemoteChangesetByIMECache','_scheduleCompleteTimestamp','_clearUndo','_imageSourceCache','collaMsg','createDecryptor','objectID','UNIVER_DOC','UNIVER_PROJECT','pauseCollaboration','/universer-api/snapshot','YUUMI_SUBSCRIPTION_NOT_FOUND','_state$','crypto','LEAVE','pad','addImageSourceCache','Base64','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','change$','/role','_entities','executeCommand','reverse','Could\x20not\x20dynamically\x20require\x20\x22','_undoStacks','transformMutationsWithChangeset','_sheetTransformSelectionsService','NOT_FOUND','HttpExport','_sessionStatus$','SUBMIT_CHANGESET','?url=','StreamCipher','removeMember','getImageSourceCache','initWorkbookPermissionChange','message$','INVALID_ARGUMENT','isPermissionRej','_http','USERS_LEAVE','uploadFileServerUrl','incrementRevOfUnit','_commentUpdate$','_commentService','BufferedBlockAlgorithm','UNIVER_SHEET','_keyPriorReset','getInterceptPoints','_onRecvEvent','_collaborationTimeoutTimer','includes','\x0aAfter:\x20','leaveEvent','joinEvent','finalize','resolve','_createInitialState','onRemoteRej','cfg','session','_iv','collaboration-client.config','sheets','1247920ALIotV','univer-pro.collaboration-client.single-active-unit-service','resend','7020056PUwzcd','default','POST','_compressMutationService','batchAllowed','JOIN','awaiting_with_pending','setWaitCount','stopTime','body','UnitSnapshot','createSocket','setCurrentUser','getCurrentRevOfUnit','c2Prime','set','setShowComponents','updatePermissionObjEvent','_data','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHelper','localCacheService','SHA1','_socket$','csShouldRetryEvent','mixIn','_localeService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','status$','createEncryptor','INGEST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getValue','execute','_onJoinRoomEvent','/universer-api/user/session-ticket','error','event$','defineProperty','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_resendTimer','CHANGESET_ACK','/universer-api/file/{fileID}/sign-url','collaborators','unitID','sessionStatus$','_singleActiveUnitService','WordArray','APPLY_NON_SEQUENTIAL_REVISION','_queuedRemoteChangesets','getUnitOnRev','entries','_incrementRevisionNumber','transformStack\x20failed!','avatar','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_RATE_OVER_LIMIT','values','_transformSelections','OFFLINE','_nRounds','image/gif','_hasher','unitId','hasOwnProperty','UNISCRIPT_RUN','getConfig','ERROR_IMAGE','get','onSyncEditingCollabCursor','_process','COLLAB_WEB_SOCKET_URL','[OfflineState]:\x20received\x20rejection.','_roomCreated$','_univerInstanceService','SHOULD_CLOSE_CONN','socket\x20close','deepClone','add','_getCtorByUniverType','OTHER_CLIENTS_EDITING','subject','MD5','closeSession','_retryCount','transformSelections','_shouldReportTelemetry','LOGIN_URL_KEY','_memberService','_key','_unlockTransition','image/jpg','7578252btTwra','_candidateSocket','_acknowledgedAwaitingChangeset','saveChangeset','collabSubmitChangesetUrl','_doReset','_collaborationSessionService','OpenSSL','list','memberID','_DEC_XFORM_MODE','EvpKDF','_getSignURL','offline','clone','getUnitId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting','_timeoutTimer','ciphertext','_append','FETCH_MISSING','YUUMI_UNABLE_LOAD_URL','extend','ERROR_EXCEED_SIZE','sessionTicket','liveShareOperation','_clearCollaborationTimeoutTimer','snapshot','commentUpdateEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformService','_doProcessBlock','msCrypto','unit-cache-','fromCollab','saveImage','_snapshotServerService','getCollabEntity$','BlockCipherMode','capture','SUBMIT_CHANGESET_TIMEOUT','registerHTTPInterceptor','onRemoteChangeset','Error\x20on\x20receiving\x20event','COMPRESS_MUTATION_SEND','transformChangesets','SNAPSHOT_URL_KEY','/collaborator','_submitChangeset','addHandlerCallback','_waitForHeartbeatResponse','People','encode','_snapshotService','startsWith','save\x20fail\x20reason\x20is\x20','prototype','onMissingChangesets','_keySchedule','_onConnectionFailed','asObservable','next','saveSheetBlock','hasher','formatter','onStarting','__esModule','confirm','lib','_authzIoService','__Key__','_collabSessionService','baseRev','interceptor','getUnitType','LIVESHARE_OPERATION','_members$','_pendingMutations','getLatestCsReqIdBySid','_startCollaboration','collaboration-client.local-cache-service','getUnitStatus$','_config','&source=','sid','_revisionService','SerializableCipher','_createSocket','_xformMode','_createHmacHelper','&assign=','readInt32LE','encodeURIComponent','csRejEvent','ceil','substr','LIVESHARE_TERMINATE','UNIVER_SLIDE','_getAPIPrefixPath','_telemetryService','type','_iKey','readyForCollab','_createSocketURL','state$','_tryReconnect','_unitID','decrypt','PERSON','_toggleOffline','awaitingChangeset','wsSessionTicketUrl','buffer','concat','_lockTransition','DEFAULT_FILE_NAME','function','disposeWithMe','[CollaborationState]:\x20apply\x20error!'];_0x538b=function(){return _0x15564b;};return _0x538b();}let yt=class{constructor(_0x50ea9f,_0x1d0a2e,_0x19bd2f){var _0x57e99c=_0x2c8be9;N(this,_0x57e99c(0x381),0x0),N(this,'_change$',new _0x1705e4()),N(this,_0x57e99c(0x279),this[_0x57e99c(0x23b)]),N(this,_0x57e99c(0x269),new Map()),(this[_0x57e99c(0x171)]=_0x50ea9f,this['_configService']=_0x1d0a2e,this[_0x57e99c(0x2f4)]=_0x19bd2f);}[_0x2c8be9(0x2b1)](_0x178ae0){var _0xcf9c49=_0x2c8be9;this[_0xcf9c49(0x381)]=_0x178ae0,this[_0xcf9c49(0x23b)]['next'](_0x178ae0);}[_0x2c8be9(0x289)](_0x432dc0,_0x4ea77f){var _0x4a58a3=_0x2c8be9;if(_0x4ea77f===_0x5f0b84['BASE64']){const _0x4643c8=new Image();return _0x4643c8['src']=_0x432dc0,_0x4643c8;}return this['_imageSourceCache'][_0x4a58a3(0x2ee)](_0x432dc0);}[_0x2c8be9(0x276)](_0x534c7d,_0x230500,_0xd093f0){var _0x18a7d1=_0x2c8be9;_0x230500===_0x5f0b84[_0x18a7d1(0x39d)]||_0xd093f0==null||this[_0x18a7d1(0x269)][_0x18a7d1(0x2b9)](_0x534c7d,_0xd093f0);}async[_0x2c8be9(0x22f)](_0x22e545){var _0x1479a4=_0x2c8be9;try{const _0x1c087d=this[_0x1479a4(0x3f3)](this[_0x1479a4(0x312)](),''+_0x22e545),_0xc875d4=(await this[_0x1479a4(0x171)]['get'](_0x1c087d))[_0x1479a4(0x2b3)];if(_0xc875d4[_0x1479a4(0x2ce)]&&_0xc875d4[_0x1479a4(0x2ce)][_0x1479a4(0x252)]===Ii['OK']){const _0x449fc3=new URL(_0xc875d4[_0x1479a4(0x202)],this['_getDownloadEndpointURL']())[_0x1479a4(0x3ef)]();return Promise[_0x1479a4(0x29f)](_0x449fc3);}return Promise['reject'](_0xc875d4['error']);}catch(_0x238379){return Promise[_0x1479a4(0x391)](_0x238379);}}async[_0x2c8be9(0x32a)](_0x46d64e){var _0x31f2fd=_0x2c8be9;let _0x4bc07e='';if(!Ss[_0x31f2fd(0x29a)](_0x46d64e['type']))return this[_0x31f2fd(0x452)](),Promise[_0x31f2fd(0x391)](new Error(_0x5731d1[_0x31f2fd(0x455)]));if(_0x46d64e[_0x31f2fd(0x258)]>Es)return this[_0x31f2fd(0x452)](),Promise[_0x31f2fd(0x391)](new Error(_0x5731d1[_0x31f2fd(0x31e)]));try{const _0x5b33ed=new FormData();_0x5b33ed['append'](_0x31f2fd(0x3b6),_0x46d64e);const _0xab8b1f=this['_univerInstanceService']['getFocusedUnit'](),_0x32d8e6=_0xab8b1f==null?void 0x0:_0xab8b1f[_0x31f2fd(0x315)]();if(!_0x32d8e6)throw new Error(_0x31f2fd(0x42d));const _0x1a76e3=this['_getUploadFileURL']()+'?size='+_0x46d64e[_0x31f2fd(0x258)]['toString']()+_0x31f2fd(0x35a)+Ti[_0x31f2fd(0x1fd)]+_0x31f2fd(0x361)+encodeURIComponent(_0x32d8e6),_0x47235d=await(await fetch(_0x1a76e3,{'method':_0x31f2fd(0x2ac),'body':_0x5b33ed}))[_0x31f2fd(0x1db)]();if(typeof _0x47235d[_0x31f2fd(0x172)]!=_0x31f2fd(0x1d2))return this[_0x31f2fd(0x452)](),Promise['reject'](new Error(_0x5731d1[_0x31f2fd(0x2ed)]));_0x4bc07e=_0x47235d['FileId'];}catch{return this[_0x31f2fd(0x452)](),Promise[_0x31f2fd(0x391)](new Error(_0x5731d1[_0x31f2fd(0x2ed)]));}return new Promise((_0x3c96c4,_0x3b4409)=>{var _0x42c533=_0x31f2fd;const _0x5ca60d=new FileReader();_0x5ca60d[_0x42c533(0x1bc)](_0x46d64e),_0x5ca60d[_0x42c533(0x41e)]=_0x303476=>{var _0x2b3004=_0x42c533,_0x5847c7;const _0xd64f76=(_0x5847c7=_0x303476['target'])==null?void 0x0:_0x5847c7[_0x2b3004(0x256)];if(_0xd64f76==null){this[_0x2b3004(0x452)](),_0x3b4409(new Error(_0x5731d1[_0x2b3004(0x2ed)]));return;}const _0x574e8c=_0x3f8dcb[_0x2b3004(0x253)](0x6);_0x3c96c4({'imageId':_0x574e8c,'imageSourceType':_0x5f0b84[_0x2b3004(0x1aa)],'source':_0x4bc07e,'base64Cache':_0xd64f76,'status':_0x5731d1[_0x2b3004(0x463)]}),this[_0x2b3004(0x452)]();};});}[_0x2c8be9(0x1ef)](){var _0x46132e=_0x2c8be9,_0x291fc2,_0x1dacf1;const _0x5006ca=this[_0x46132e(0x187)][_0x46132e(0x2ec)](Is),_0x3e8205=this[_0x46132e(0x187)][_0x46132e(0x2ec)](q);return(_0x1dacf1=(_0x291fc2=_0x3e8205==null?void 0x0:_0x3e8205[_0x46132e(0x290)])!=null?_0x291fc2:_0x5006ca)!=null?_0x1dacf1:Ts;}[_0x2c8be9(0x312)](){var _0x546412=_0x2c8be9,_0x14a5f4,_0x146711;const _0x53dc16=this[_0x546412(0x187)][_0x546412(0x2ec)](Cs),_0x1d914d=this[_0x546412(0x187)][_0x546412(0x2ec)](q);return(_0x146711=(_0x14a5f4=_0x1d914d==null?void 0x0:_0x1d914d['signUrlServerUrl'])!=null?_0x14a5f4:_0x53dc16)!=null?_0x146711:Rs;}['_getDownloadEndpointURL'](){var _0x533588=_0x2c8be9,_0x718e2c;const _0x5c9799=this[_0x533588(0x187)][_0x533588(0x2ec)](q);return(_0x718e2c=_0x5c9799==null?void 0x0:_0x5c9799['downloadEndpointUrl'])!=null?_0x718e2c:location[_0x533588(0x189)];}['_replaceFileID'](_0x146f87,_0x40421e){var _0x3bd763=_0x2c8be9;return _0x146f87[_0x3bd763(0x46a)](_0x3bd763(0x41a),_0x40421e);}[_0x2c8be9(0x452)](){var _0x4a33ca=_0x2c8be9;this['_waitCount']-=0x1,this['_change$'][_0x4a33ca(0x344)](this['_waitCount']);}};yt=gs([gt(0x0,_0x10d55b(_0x17ffb1)),gt(0x1,_0x2b885e),gt(0x2,_0x10d55b(_0x10f563))],yt);var bs=Object[_0x2c8be9(0x2d0)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x342dd1,_0x5da3a0,_0x9739c9,_0x361a2b)=>{for(var _0x51c65=_0x361a2b>0x1?void 0x0:_0x361a2b?Os(_0x5da3a0,_0x9739c9):_0x5da3a0,_0x562cd1=_0x342dd1['length']-0x1,_0x3b176c;_0x562cd1>=0x0;_0x562cd1--)(_0x3b176c=_0x342dd1[_0x562cd1])&&(_0x51c65=(_0x361a2b?_0x3b176c(_0x5da3a0,_0x9739c9,_0x51c65):_0x3b176c(_0x51c65))||_0x51c65);return _0x361a2b&&_0x51c65&&bs(_0x5da3a0,_0x9739c9,_0x51c65),_0x51c65;},_i=(_0x2c647e,_0x860f5e)=>(_0x27ee43,_0x52dfc4)=>_0x860f5e(_0x27ee43,_0x52dfc4,_0x2c647e);const Ns='/universer-api/authz';let Nt=class{constructor(_0x1441c8,_0x56e68e){var _0x22187a=_0x2c8be9;this['_configService']=_0x1441c8,this[_0x22187a(0x435)]=_0x56e68e;}[_0x2c8be9(0x369)](){var _0x324b86=_0x2c8be9,_0x5d76d6,_0x10e8b9;const _0x30d740=this['_configService'][_0x324b86(0x2ec)](Pi),_0x5335b2=this['_configService'][_0x324b86(0x2ec)](q);return(_0x10e8b9=(_0x5d76d6=_0x5335b2==null?void 0x0:_0x5335b2[_0x324b86(0x42b)])!=null?_0x5d76d6:_0x30d740)!=null?_0x10e8b9:Ns;}async[_0x2c8be9(0x30e)](_0x85c378){var _0x543e78=_0x2c8be9;const _0x52ef3e=this[_0x543e78(0x369)]()+_0x543e78(0x336);return{'list':[{'title':_0x543e78(0x33a),'mentions':(await this[_0x543e78(0x435)][_0x543e78(0x2ee)](_0x52ef3e,{'params':{'objectID':_0x85c378[_0x543e78(0x2e9)],'unitID':_0x85c378['unitId']}}))['body'][_0x543e78(0x2d5)][_0x543e78(0x221)](_0x29be84=>({'objectId':_0x29be84['id'],'name':_0x29be84[_0x543e78(0x2fb)]['name'],'metadata':{'icon':_0x29be84[_0x543e78(0x2fb)][_0x543e78(0x2e0)]},'label':_0x29be84[_0x543e78(0x2fb)][_0x543e78(0x418)],'objectType':_0x2dd114['PERSON']})),'metadata':{},'type':_0x2dd114[_0x543e78(0x373)]}]};}};Nt=ys([_i(0x0,_0x10d55b(_0x2b885e)),_i(0x1,_0x10d55b(_0x17ffb1))],Nt);var Ds=Object[_0x2c8be9(0x2d0)],Ps=Object[_0x2c8be9(0x1da)],ws=(_0x56595f,_0x4ce9b2,_0x2694ed,_0x1bdbaf)=>{var _0xeebef4=_0x2c8be9;for(var _0x4e186f=_0x1bdbaf>0x1?void 0x0:_0x1bdbaf?Ps(_0x4ce9b2,_0x2694ed):_0x4ce9b2,_0x13389f=_0x56595f[_0xeebef4(0x387)]-0x1,_0xe45538;_0x13389f>=0x0;_0x13389f--)(_0xe45538=_0x56595f[_0x13389f])&&(_0x4e186f=(_0x1bdbaf?_0xe45538(_0x4ce9b2,_0x2694ed,_0x4e186f):_0xe45538(_0x4e186f))||_0x4e186f);return _0x1bdbaf&&_0x4e186f&&Ds(_0x4ce9b2,_0x2694ed,_0x4e186f),_0x4e186f;},Se=(_0x6dcaa2,_0x5667f2)=>(_0x4f5617,_0xfa0e8b)=>_0x5667f2(_0x4f5617,_0xfa0e8b,_0x6dcaa2);let at=class extends _0x589b61{constructor(_0x23cf84,_0x21e9d1,_0x3cbc7d,_0x4f5850,_0x2a2fc6,_0x48373d,_0x3ff847){var _0x48695b=_0x2c8be9;super(),this[_0x48695b(0x1e8)]=_0x23cf84,this[_0x48695b(0x2f4)]=_0x21e9d1,this['_permissionService']=_0x3cbc7d,this['_collaborationSessionService']=_0x4f5850,this[_0x48695b(0x222)]=_0x2a2fc6,this[_0x48695b(0x34c)]=_0x48373d,this[_0x48695b(0x161)]=_0x3ff847,this[_0x48695b(0x3f2)](),this[_0x48695b(0x394)]();}[_0x2c8be9(0x394)](){var _0x340eba=_0x2c8be9;const _0x55ec41=async _0x428b29=>{var _0x524100=_0x2fe9;(await this[_0x524100(0x30c)][_0x524100(0x448)](_0x428b29))[_0x524100(0x2cf)][_0x524100(0x3f5)](_0x4e5b7f(_0x46f222=>_0x46f222['eventID']===_0x4e7988[_0x524100(0x2f5)]),_0x3a994c(this[_0x524100(0x40d)]))[_0x524100(0x251)](_0x1e8bc5=>{var _0x2b1f3e=_0x524100;const _0x5ec6cd=_0x1e8bc5,{reason:_0x2ceca1}=_0x5ec6cd[_0x2b1f3e(0x213)];this[_0x2b1f3e(0x222)]['emitEvent']({'id':se[_0x2b1f3e(0x218)],'data':_0x2ceca1}),this[_0x2b1f3e(0x185)][_0x2b1f3e(0x39e)](new _0x30479c(_0x428b29)['id'],!0x1),this[_0x2b1f3e(0x30c)][_0x2b1f3e(0x2fd)](_0x428b29);});};_0x1508ec(this[_0x340eba(0x2f4)]['getTypeOfUnitAdded$'](_0x128e68['UNIVER_SHEET']),this['_univerInstanceService'][_0x340eba(0x1ff)](_0x128e68[_0x340eba(0x26d)]))[_0x340eba(0x3f5)](_0x276a35(_0x1b9fb=>_0x1b9fb[_0x340eba(0x315)]()),_0x4e5b7f(_0x631d07=>!_0x258900(_0x631d07)),_0x3a994c(this['dispose$']))[_0x340eba(0x251)](_0x577588=>{_0x55ec41(_0x577588);});}[_0x2c8be9(0x3f2)](){var _0x2ceb70=_0x2c8be9;const _0x2e46c8=async _0x8593e3=>{var _0x2cdee2=_0x2fe9;const _0x3a8d67=await this[_0x2cdee2(0x30c)][_0x2cdee2(0x448)](_0x8593e3),_0x410de4=this['_injector']['get'](_0x422905);_0x3a8d67[_0x2cdee2(0x2cf)][_0x2cdee2(0x3f5)](_0x4e5b7f(_0x1a934f=>_0x1a934f[_0x2cdee2(0x3ff)]===_0x4e7988[_0x2cdee2(0x1a1)]),_0x3a994c(this[_0x2cdee2(0x40d)]))['subscribe'](_0x2db46e=>{var _0x6184eb=_0x2cdee2;const _0x48b9ad=_0x2db46e,{objectId:_0x482f9f}=_0x48b9ad['data'];_0x482f9f===_0x8593e3?_0x410de4[_0x6184eb(0x28a)](_0x8593e3):_0x410de4[_0x6184eb(0x1bd)](_0x8593e3,_0x482f9f);});};_0x1508ec(this[_0x2ceb70(0x2f4)]['getTypeOfUnitAdded$'](_0x128e68['UNIVER_SHEET']),this[_0x2ceb70(0x2f4)][_0x2ceb70(0x1ff)](_0x128e68[_0x2ceb70(0x26d)]))[_0x2ceb70(0x3f5)](_0x276a35(_0x3f31c9=>_0x3f31c9[_0x2ceb70(0x315)]()),_0x4e5b7f(_0x4919e=>!_0x258900(_0x4919e)),_0x3a994c(this[_0x2ceb70(0x40d)]))[_0x2ceb70(0x251)](_0x664540=>{_0x2e46c8(_0x664540);});}};at=ws([Se(0x0,_0x10d55b(_0x39e7be)),Se(0x1,_0x10f563),Se(0x2,_0x1b7b77),Se(0x3,_0x10d55b(Le)),Se(0x4,_0x10d55b(pe)),Se(0x5,_0x433e75),Se(0x6,_0x42569f)],at);var Us=Object[_0x2c8be9(0x2d0)],As=Object['getOwnPropertyDescriptor'],xs=(_0x165877,_0x305fa3,_0xfffbef,_0x57d4f9)=>{var _0x375e40=_0x2c8be9;for(var _0x14df69=_0x57d4f9>0x1?void 0x0:_0x57d4f9?As(_0x305fa3,_0xfffbef):_0x305fa3,_0x1ce8bf=_0x165877[_0x375e40(0x387)]-0x1,_0x566886;_0x1ce8bf>=0x0;_0x1ce8bf--)(_0x566886=_0x165877[_0x1ce8bf])&&(_0x14df69=(_0x57d4f9?_0x566886(_0x305fa3,_0xfffbef,_0x14df69):_0x566886(_0x14df69))||_0x14df69);return _0x57d4f9&&_0x14df69&&Us(_0x305fa3,_0xfffbef,_0x14df69),_0x14df69;},li=(_0x4c1669,_0x4c33d7)=>(_0x5aade5,_0x330b19)=>_0x4c33d7(_0x5aade5,_0x330b19,_0x4c1669);let Dt=class{constructor(_0x13bdf9,_0x5c8676){var _0x3c0c4e=_0x2c8be9;this['_configService']=_0x13bdf9,this[_0x3c0c4e(0x171)]=_0x5c8676;}async[_0x2c8be9(0x2dc)](_0x1e886e,_0x2f741b){var _0x114b43=_0x2c8be9,_0x457ce7;const {unitID:_0x2514db,type:_0xeae3a,revision:_0x5902db=0x0}=_0x2f741b,_0x4ec5de=this['getSnapshotAPIPath']()+'/'+_0xeae3a+_0x114b43(0x162)+_0x2514db+_0x114b43(0x21a)+_0x5902db,_0x299689=(await this[_0x114b43(0x171)][_0x114b43(0x2ee)](_0x4ec5de))[_0x114b43(0x2b3)],_0x227a10=(_0x457ce7=_0x299689[_0x114b43(0x322)])==null?void 0x0:_0x457ce7[_0x114b43(0x219)];if(_0x227a10){const _0x29e49c=_0x227a10==null?void 0x0:_0x227a10[_0x114b43(0x3fd)],_0x4e5f5b=_0xac0c0d['encode'](_0x159913(_0x29e49c));_0x227a10['originalMeta']=_0x4e5f5b,Object[_0x114b43(0x2dd)](_0x227a10[_0x114b43(0x2a6)])[_0x114b43(0x41b)](([,_0x246d3b])=>{var _0x3412c1=_0x114b43;const _0x44f11f=_0x246d3b[_0x3412c1(0x3fd)],_0x11b167=_0xac0c0d[_0x3412c1(0x33b)](_0x159913(_0x44f11f));_0x246d3b[_0x3412c1(0x3fd)]=_0x11b167;});}return _0x299689;}async[_0x2c8be9(0x220)](_0x33a7a3,_0x724327){var _0x35aaf3=_0x2c8be9;const {unitID:_0x4e6f2f,type:_0x44bceb,blockID:_0x9f778}=_0x724327,_0x1dfb13=this[_0x35aaf3(0x1c2)]()+'/'+_0x44bceb+_0x35aaf3(0x162)+_0x4e6f2f+_0x35aaf3(0x38d)+_0x9f778;return(await this[_0x35aaf3(0x171)][_0x35aaf3(0x2ee)](_0x1dfb13))[_0x35aaf3(0x2b3)];}async['getDeserializedSheetBlock'](_0x224b39,_0x17705d){var _0x2d96d5=_0x2c8be9;const {unitID:_0x16ce56,type:_0x68b68a,blockID:_0xc1d951}=_0x17705d,_0x2828e5=this['_getAPIPrefix']()+_0x2d96d5(0x38d)+_0x68b68a+'/unit/'+_0x16ce56+_0x2d96d5(0x38d)+_0xc1d951;return(await this[_0x2d96d5(0x171)][_0x2d96d5(0x2ee)](_0x2828e5))[_0x2d96d5(0x2b3)];}async[_0x2c8be9(0x1e5)](_0x117856,_0x11dced){var _0x45f731=_0x2c8be9;const {unitID:_0x4734ea,type:_0x3d2fae,from:_0x223251,to:_0x52f3d8}=_0x11dced,_0x53df4c=this[_0x45f731(0x1c2)]()+'/'+_0x3d2fae+_0x45f731(0x162)+_0x4734ea+_0x45f731(0x1a5)+_0x223251+'&to='+_0x52f3d8;return(await this['_httpService'][_0x45f731(0x2ee)](_0x53df4c))['body'];}[_0x2c8be9(0x18a)](){var _0x40ff5f=_0x2c8be9,_0x4641e2;return(_0x4641e2=this[_0x40ff5f(0x187)][_0x40ff5f(0x2ec)](Tn))!=null?_0x4641e2:this[_0x40ff5f(0x1c2)]();}[_0x2c8be9(0x1c2)](){var _0x2013ed=_0x2c8be9,_0x3ca1fa,_0x4994b5;const _0x2605cd=this['_configService']['getConfig'](En),_0x461c52=this[_0x2013ed(0x187)][_0x2013ed(0x2ec)](q);return(_0x4994b5=(_0x3ca1fa=_0x461c52==null?void 0x0:_0x461c52[_0x2013ed(0x169)])!=null?_0x3ca1fa:_0x2605cd)!=null?_0x4994b5:In;}async[_0x2c8be9(0x449)](_0x37bdff,_0x1374c2){var _0x1a27b3=_0x2c8be9;const _0x5a4bb5=_0x1a27b3(0x3ee)+_0x1374c2['type']+'/unit/'+_0x1374c2[_0x1a27b3(0x2d6)]+_0x1a27b3(0x3e7);return(await this[_0x1a27b3(0x171)][_0x1a27b3(0x2ee)](_0x5a4bb5,{'params':{'resourceId':JSON[_0x1a27b3(0x431)](_0x1374c2[_0x1a27b3(0x3b1)])}}))[_0x1a27b3(0x2b3)];}[_0x2c8be9(0x3ce)](){var _0x5d165d=_0x2c8be9;throw new Error(_0x5d165d(0x457));}[_0x2c8be9(0x345)](){var _0x41617d=_0x2c8be9;throw new Error(_0x41617d(0x457));}[_0x2c8be9(0x309)](){var _0x4bb967=_0x2c8be9;throw new Error(_0x4bb967(0x457));}[_0x2c8be9(0x422)](){var _0xb8bd54=_0x2c8be9;throw new Error(_0xb8bd54(0x457));}[_0x2c8be9(0x355)](){var _0x209464=_0x2c8be9;throw new Error(_0x209464(0x457));}};Dt=xs([li(0x0,_0x2b885e),li(0x1,_0x10d55b(_0x17ffb1))],Dt);function _0x2fe9(_0x3cb036,_0x7945b){var _0x538b60=_0x538b();return _0x2fe9=function(_0x2fe903,_0x973828){_0x2fe903=_0x2fe903-0x161;var _0xdd3a6a=_0x538b60[_0x2fe903];return _0xdd3a6a;},_0x2fe9(_0x3cb036,_0x7945b);}var Ls=Object[_0x2c8be9(0x2d0)],Ms=Object[_0x2c8be9(0x1da)],$s=(_0x215527,_0x2b437c,_0x1fa56b,_0x26d429)=>{var _0x28c246=_0x2c8be9;for(var _0x3f1745=_0x26d429>0x1?void 0x0:_0x26d429?Ms(_0x2b437c,_0x1fa56b):_0x2b437c,_0x508e42=_0x215527[_0x28c246(0x387)]-0x1,_0x3a6412;_0x508e42>=0x0;_0x508e42--)(_0x3a6412=_0x215527[_0x508e42])&&(_0x3f1745=(_0x26d429?_0x3a6412(_0x2b437c,_0x1fa56b,_0x3f1745):_0x3a6412(_0x3f1745))||_0x3f1745);return _0x26d429&&_0x3f1745&&Ls(_0x2b437c,_0x1fa56b,_0x3f1745),_0x3f1745;},Ae=(_0x5de6ca,_0x254d70)=>(_0x31a763,_0x3d7da8)=>_0x254d70(_0x31a763,_0x3d7da8,_0x5de6ca);let Pt=class extends _0x506cd1{constructor(_0x323d5b,_0x21961f,_0xedf105,_0x414909,_0x229e27){var _0x4e4afd=_0x2c8be9;super(_0x323d5b,_0x21961f,_0xedf105),this[_0x4e4afd(0x325)]=_0x414909,this[_0x4e4afd(0x17d)]=_0x229e27;}[_0x2c8be9(0x183)](_0x3b7e07,_0x5c03b1){var _0x29d46a=_0x2c8be9;const _0xa1d31d=this['_getUndoStack'](_0x3b7e07);if(_0xa1d31d)try{const _0x4244bf=this[_0x29d46a(0x3f0)](_0xa1d31d,_0x5c03b1);this[_0x29d46a(0x236)](_0x3b7e07,_0x4244bf);}catch(_0x1d2325){this[_0x29d46a(0x17d)][_0x29d46a(0x2ce)](_0x29d46a(0x3f4),_0x1d2325),this[_0x29d46a(0x268)](_0x3b7e07);}const _0x339fae=this[_0x29d46a(0x1bf)](_0x3b7e07);if(_0x339fae)try{const _0x509e8c=this['_transformStack'](_0x339fae,_0x5c03b1);this[_0x29d46a(0x1d8)](_0x3b7e07,_0x509e8c);}catch(_0x5ceb48){this['_logService'][_0x29d46a(0x2ce)](_0x5ceb48),this[_0x29d46a(0x3aa)](_0x3b7e07);}}['_clearUndo'](_0x2b27e6){var _0x49270e=_0x2c8be9;const _0x10e55a=this['_getUndoStack'](_0x2b27e6);_0x10e55a&&(_0x10e55a['length']=0x0,this[_0x49270e(0x434)]());}[_0x2c8be9(0x3aa)](_0x4b3cac){var _0x33bf26=_0x2c8be9;const _0x34655a=this['_getRedoStack'](_0x4b3cac);_0x34655a&&(_0x34655a[_0x33bf26(0x387)]=0x0,this[_0x33bf26(0x434)]());}[_0x2c8be9(0x236)](_0x744c19,_0x4ce6e3){var _0x47a193=_0x2c8be9;this[_0x47a193(0x27f)]['set'](_0x744c19,_0x4ce6e3),this[_0x47a193(0x434)]();}[_0x2c8be9(0x1d8)](_0x5e7504,_0x1ae8dd){var _0x4eacfb=_0x2c8be9;this[_0x4eacfb(0x1f8)][_0x4eacfb(0x2b9)](_0x5e7504,_0x1ae8dd),this[_0x4eacfb(0x434)]();}[_0x2c8be9(0x3f0)](_0x73e4da,_0x13fd7c){var _0x4ad4df=_0x2c8be9;const _0x2878e2=[];let _0x3526ac=_0x13fd7c,_0x4bdc85=_0x13fd7c;for(let _0x46cc10=_0x73e4da[_0x4ad4df(0x387)]-0x1;_0x46cc10>=0x0;_0x46cc10--){const {unitID:_0x3f5c38,undoMutations:_0x57c2fd,redoMutations:_0x52094d}=_0x73e4da[_0x46cc10],_0x42c6fe=this[_0x4ad4df(0x325)][_0x4ad4df(0x280)](_0x3526ac,_0x57c2fd),_0x27fd25=this[_0x4ad4df(0x325)]['transformMutationsWithChangeset'](_0x4bdc85,_0x52094d);if(_0x334a34(_0x42c6fe)||_0x334a34(_0x27fd25)){this[_0x4ad4df(0x17d)][_0x4ad4df(0x2ce)]('[CollaborationUndoRedoService]',_0x4ad4df(0x2df),_0x42c6fe,_0x27fd25);break;}_0x3526ac=_0x42c6fe[_0x4ad4df(0x46d)],_0x4bdc85=_0x27fd25[_0x4ad4df(0x46d)],_0x2878e2['push']({'unitID':_0x3f5c38,'undoMutations':_0x42c6fe[_0x4ad4df(0x232)],'redoMutations':_0x27fd25[_0x4ad4df(0x232)]});}return _0x2878e2[_0x4ad4df(0x27d)]();}};Pt=$s([Ae(0x0,_0x10f563),Ae(0x1,_0x2f506b),Ae(0x2,_0x4ed369),Ae(0x3,_0x4e18e3),Ae(0x4,_0x292d5e)],Pt);var xi=Object[_0x2c8be9(0x2d0)],Hs=Object[_0x2c8be9(0x1da)],ks=(_0x10963f,_0x4eb9f8,_0x2d2cce)=>_0x4eb9f8 in _0x10963f?xi(_0x10963f,_0x4eb9f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d2cce}):_0x10963f[_0x4eb9f8]=_0x2d2cce,js=(_0x33fe5a,_0x191bc6,_0x124b81,_0x2189bb)=>{var _0x576131=_0x2c8be9;for(var _0x1408e0=_0x2189bb>0x1?void 0x0:_0x2189bb?Hs(_0x191bc6,_0x124b81):_0x191bc6,_0x44c6=_0x33fe5a[_0x576131(0x387)]-0x1,_0x3a9b5c;_0x44c6>=0x0;_0x44c6--)(_0x3a9b5c=_0x33fe5a[_0x44c6])&&(_0x1408e0=(_0x2189bb?_0x3a9b5c(_0x191bc6,_0x124b81,_0x1408e0):_0x3a9b5c(_0x1408e0))||_0x1408e0);return _0x2189bb&&_0x1408e0&&xi(_0x191bc6,_0x124b81,_0x1408e0),_0x1408e0;},St=(_0x4e6d33,_0x48a791)=>(_0xc8de94,_0x27f88c)=>_0x48a791(_0xc8de94,_0x27f88c,_0x4e6d33),Bs=(_0x191477,_0x2c353e,_0x35c620)=>ks(_0x191477,_0x2c353e+'',_0x35c620);const Fs=_0x2c8be9(0x2e1);let wt=class extends _0x33ae55{constructor(_0x598473=Wt,_0x3cbcb8,_0x49943e,_0x4af14f){var _0x153bfd=_0x2c8be9;super(),this[_0x153bfd(0x359)]=_0x598473,this[_0x153bfd(0x17d)]=_0x3cbcb8,this[_0x153bfd(0x1e8)]=_0x49943e,this['_configService']=_0x4af14f;const {..._0x4d1708}=_0x598041({},Wt,this['_config']);this['_configService']['setConfig'](q,_0x4d1708);}[_0x2c8be9(0x348)](){var _0x3b32be=_0x2c8be9;this[_0x3b32be(0x3bc)](),this[_0x3b32be(0x179)]();}[_0x2c8be9(0x3bc)](){var _0x28e1f7=_0x2c8be9,_0x1c98ea,_0xabb487,_0x200589,_0x3ef621;this[_0x28e1f7(0x1e8)][_0x28e1f7(0x44c)](_0x42569f)&&this[_0x28e1f7(0x17d)]['error'](_0x28e1f7(0x1e2),_0x28e1f7(0x469));const _0x245a45=_0x15a3c1([[_0x42569f,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0xabb487=(_0x1c98ea=this[_0x28e1f7(0x359)])==null?void 0x0:_0x1c98ea['socketService'])!=null?_0xabb487:Et}],[_0x1a508b,{'useClass':Dt}],[_0x433e75,{'useClass':bt}],[_0x152340,{'useClass':yt}],[_0x51d453,{'useClass':Nt}],[rt],[Rt]],(_0x200589=this[_0x28e1f7(0x359)])==null?void 0x0:_0x200589[_0x28e1f7(0x1b2)]);if(!((_0x3ef621=this[_0x28e1f7(0x359)])!=null&&_0x3ef621['enableSingleActiveInstanceLock'])){const _0x33e7b2=_0x245a45[_0x28e1f7(0x239)](([_0x10ae7a])=>_0x10ae7a===ht);_0x33e7b2!==-0x1&&_0x245a45[_0x28e1f7(0x383)](_0x33e7b2,0x1);}_0x3a9849(this[_0x28e1f7(0x1e8)],_0x245a45);}[_0x2c8be9(0x179)](){var _0x2e0efb=_0x2c8be9,_0x1db29a,_0x43096f,_0x9ae525;this[_0x2e0efb(0x1e8)][_0x2e0efb(0x2ee)](_0x17ffb1)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4a0c4a({'maxParallel':0x6})}),(_0x1db29a=this['_config'])!=null&&_0x1db29a[_0x2e0efb(0x22a)]||(_0x43096f=this['_injector'][_0x2e0efb(0x2ee)](J,_0x523e80[_0x2e0efb(0x3a7)]))==null||_0x43096f['disableLocalCache'](),(_0x9ae525=this[_0x2e0efb(0x359)])!=null&&_0x9ae525[_0x2e0efb(0x3d6)]&&_0x537b9a(this[_0x2e0efb(0x1e8)],[[st]]),_0x537b9a(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x2c8be9(0x462),Fs),wt=js([_0x328ed5(_0x27ad37,_0x21e146,_0x3d07ed),St(0x1,_0x292d5e),St(0x2,_0x10d55b(_0x39e7be)),St(0x3,_0x2b885e)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x5bfca8=_0xe7de;(function(_0x199ba8,_0x2dfad9){var _0x2fb1d8=_0xe7de,_0x6ba702=_0x199ba8();while(!![]){try{var _0x39a2c3=parseInt(_0x2fb1d8(0x39d))/0x1+parseInt(_0x2fb1d8(0x10c))/0x2*(-parseInt(_0x2fb1d8(0x37a))/0x3)+-parseInt(_0x2fb1d8(0x19c))/0x4*(parseInt(_0x2fb1d8(0x2ed))/0x5)+-parseInt(_0x2fb1d8(0x1a7))/0x6*(-parseInt(_0x2fb1d8(0x2e7))/0x7)+parseInt(_0x2fb1d8(0x241))/0x8*(parseInt(_0x2fb1d8(0x260))/0x9)+-parseInt(_0x2fb1d8(0x168))/0xa*(parseInt(_0x2fb1d8(0x32e))/0xb)+parseInt(_0x2fb1d8(0x256))/0xc;if(_0x39a2c3===_0x2dfad9)break;else _0x6ba702['push'](_0x6ba702['shift']());}catch(_0x19566c){_0x6ba702['push'](_0x6ba702['shift']());}}}(_0x5106,0x8b50a));var Li=Object['defineProperty'],Mi=(_0x49b7bf,_0x6a8a38,_0x3f17bc)=>_0x6a8a38 in _0x49b7bf?Li(_0x49b7bf,_0x6a8a38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f17bc}):_0x49b7bf[_0x6a8a38]=_0x3f17bc,N=(_0x23c77c,_0x4ab271,_0x4ac4d5)=>Mi(_0x23c77c,typeof _0x4ab271!='symbol'?_0x4ab271+'':_0x4ab271,_0x4ac4d5);import{createIdentifier as _0x29e1a9,Inject as _0x285a0e,Injector as _0x22efd7,Disposable as _0x4971ea,DisposableCollection as _0x1c6031,toDisposable as _0x162b76,IConfigService as _0x44e247,ILogService as _0x43c1be,UserManagerService as _0x18f24f,UniverInstanceType as _0x1f23c0,IUniverInstanceService as _0x34354e,LocaleService as _0xc8816f,Optional as _0x22b405,RxDisposable as _0x13f3a3,Tools as _0xd0a3e0,Rectangle as _0x22779f,ICommandService as _0x36fb84,JSONX as _0x57e42f,CommandType as _0x43ebc5,IPermissionService as _0x537f08,IUndoRedoService as _0x46a1d6,sequenceExecute as _0x51db05,Workbook as _0x494125,MentionType as _0x306ad6,IAuthzIoService as _0x35b29b,isInternalEditorID as _0x56fe53,LocalUndoRedoService as _0x1d83d4,IContextService as _0x70d195,DependentOn as _0xd14b3,Plugin as _0x2071a8,merge as _0x2b9995,mergeOverrideWithDependencies as _0x575c49,IMentionIOService as _0x250626,registerDependencies as _0x4f4782,Quantity as _0x256a8e,touchDependencies as _0x401588}from'@univerjs/core';import{Subject as _0x4268af,merge as _0x230e2e,of as _0x278228,BehaviorSubject as _0x3de5fe,takeUntil as _0x22b2ec,ReplaySubject as _0x5aa0d0,take as _0x5b513c,map as _0x548032,shareReplay as _0x4c5ea5,firstValueFrom as _0x29bacb,concatMap as _0x427af4}from'rxjs';import{map as _0x15918f,take as _0x28869a,filter as _0x533c34,delay as _0x43fab7,takeUntil as _0x247a10}from'rxjs/operators';import{HTTPService as _0x48889b,ISocketService as _0x4bdb07,MergeInterceptorFactory as _0x1718c7,HTTPRequest as _0x3d38c3,UniverNetworkPlugin as _0x43f7df,ThresholdInterceptorFactory as _0x4ded48}from'@univerjs/network';import{CollaborationEvent as _0x3167f1,parseChangesetToProtocol as _0x5e9c6b,ISnapshotServerService as _0x410261,isTransformMutationsWithChangesetSuccess as _0x3c5083,ITransformService as _0x45197c,mapDocumentTypeToUniverType as _0x5cb3c7,RevisionService as _0x45e6f8,isTransformChangesetsSuccess as _0x504f72,CompressMutationService as _0x358415,parseProtocolChangeset as _0x4b9402,SnapshotService as _0x33b424,textEncoder as _0x166c48,b64DecodeUnicode as _0x196ae5,isTransformMutationsWithChangesetFailure as _0x123514,UniverCollaborationPlugin as _0x2ab92a}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x27c86e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x23b199}from'@univerjs/docs';import{SheetsSelectionsService as _0x3fe6f4,SetSelectionsOperation as _0x38551e,InsertSheetMutation as _0x436b24,EmptyMutation as _0x528277,WorkbookEditablePermission as _0x36b9b5,SheetPermissionInitController as _0x251b0e,UniverSheetsPlugin as _0x6cc86}from'@univerjs/sheets';import{ImageSourceType as _0x45d4d9,ImageUploadStatusType as _0x35f44c,IImageIoService as _0x5b1197}from'@univerjs/drawing';import{getGlobalObject as _0x2efffb}from'@univerjs-pro/license';const En=_0x5bfca8(0x165),In=_0x5bfca8(0x17a),Tn=_0x5bfca8(0x221),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x5bfca8(0x232),bn=_0x5bfca8(0x366),On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x5bfca8(0x3aa),An=_0x5bfca8(0x11f),xn=_0x5bfca8(0x180),Ln=_0x5bfca8(0x1c8),no=_0x5bfca8(0x2d5),ro='/universer-api/uniscript';var Ii=(_0x374553=>(_0x374553[_0x374553[_0x5bfca8(0x10b)]=0x0]=_0x5bfca8(0x10b),_0x374553[_0x374553['OK']=0x1]='OK',_0x374553[_0x374553[_0x5bfca8(0x32f)]=0x2]='INTERNAL_ERROR',_0x374553[_0x374553[_0x5bfca8(0x239)]=0x3]=_0x5bfca8(0x239),_0x374553[_0x374553['NOT_FOUND']=0x4]='NOT_FOUND',_0x374553[_0x374553['UNAUTHENTICATED']=0x5]=_0x5bfca8(0x214),_0x374553[_0x374553[_0x5bfca8(0x179)]=0x6]=_0x5bfca8(0x179),_0x374553[_0x374553['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x374553[_0x374553[_0x5bfca8(0xc9)]=0x8]='TOO_MANY_REQUESTS',_0x374553[_0x374553[_0x5bfca8(0x251)]=0x9]=_0x5bfca8(0x251),_0x374553[_0x374553[_0x5bfca8(0x318)]=0x1389]=_0x5bfca8(0x318),_0x374553[_0x374553[_0x5bfca8(0x2d0)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x374553[_0x374553[_0x5bfca8(0x1b6)]=0x1772]=_0x5bfca8(0x1b6),_0x374553[_0x374553[_0x5bfca8(0x262)]=0x1773]=_0x5bfca8(0x262),_0x374553[_0x374553[_0x5bfca8(0x2cc)]=0x1b59]=_0x5bfca8(0x2cc),_0x374553[_0x374553[_0x5bfca8(0x247)]=0x1b5a]=_0x5bfca8(0x247),_0x374553[_0x374553[_0x5bfca8(0x2d7)]=0x1b5b]=_0x5bfca8(0x2d7),_0x374553[_0x374553[_0x5bfca8(0x13e)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x374553[_0x374553['APPLY_DUPLICATED']=0x1b5d]=_0x5bfca8(0x1c9),_0x374553[_0x374553[_0x5bfca8(0x29a)]=0x1f41]=_0x5bfca8(0x29a),_0x374553[_0x374553['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5bfca8(0x115),_0x374553[_0x374553['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5bfca8(0x12d),_0x374553[_0x374553['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5bfca8(0x16e),_0x374553[_0x374553[_0x5bfca8(0x13c)]=0x232c]=_0x5bfca8(0x13c),_0x374553[_0x374553[_0x5bfca8(0x14e)]=0x232d]=_0x5bfca8(0x14e),_0x374553[_0x374553[_0x5bfca8(0x321)]=0x2711]=_0x5bfca8(0x321),_0x374553[_0x374553[_0x5bfca8(0x312)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x374553[_0x374553[_0x5bfca8(0x192)]=0x2713]=_0x5bfca8(0x192),_0x374553[_0x374553[_0x5bfca8(0x21c)]=0x2714]=_0x5bfca8(0x21c),_0x374553[_0x374553[_0x5bfca8(0x309)]=0x2af9]=_0x5bfca8(0x309),_0x374553[_0x374553[_0x5bfca8(0x352)]=-0x1]=_0x5bfca8(0x352),_0x374553))(Ii||{}),Q=(_0xe8dcf7=>(_0xe8dcf7[_0xe8dcf7[_0x5bfca8(0xb7)]=0x0]=_0x5bfca8(0xb7),_0xe8dcf7[_0xe8dcf7['UNIVER_DOC']=0x1]=_0x5bfca8(0x1aa),_0xe8dcf7[_0xe8dcf7[_0x5bfca8(0x200)]=0x2]=_0x5bfca8(0x200),_0xe8dcf7[_0xe8dcf7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0xe8dcf7[_0xe8dcf7['UNIVER_PROJECT']=0x4]=_0x5bfca8(0xf6),_0xe8dcf7[_0xe8dcf7[_0x5bfca8(0x352)]=-0x1]=_0x5bfca8(0x352),_0xe8dcf7))(Q||{}),F=(_0x5ea7a9=>(_0x5ea7a9[_0x5ea7a9['UNKNOWN_CMD']=0x0]=_0x5bfca8(0x397),_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0x2dd)]=0x1]=_0x5bfca8(0x2dd),_0x5ea7a9[_0x5ea7a9['JOIN']=0x2]=_0x5bfca8(0x266),_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0x286)]=0x3]='LEAVE',_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0xe3)]=0x4]=_0x5bfca8(0xe3),_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0x314)]=0x5]=_0x5bfca8(0x314),_0x5ea7a9[_0x5ea7a9['RECV']=0x6]='RECV',_0x5ea7a9[_0x5ea7a9['UNRECOGNIZED']=-0x1]=_0x5bfca8(0x352),_0x5ea7a9))(F||{}),Ee=(_0x31418c=>(_0x31418c[_0x31418c[_0x5bfca8(0x1cd)]=0x0]='UNKNOWN_CODE',_0x31418c[_0x31418c['OK']=0x1]='OK',_0x31418c[_0x31418c[_0x5bfca8(0x26e)]=0x2]='FAIL',_0x31418c[_0x31418c['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x31418c[_0x31418c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5bfca8(0x33f),_0x31418c[_0x31418c[_0x5bfca8(0x2f7)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x31418c[_0x31418c[_0x5bfca8(0x31a)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x31418c[_0x31418c[_0x5bfca8(0x352)]=-0x1]=_0x5bfca8(0x352),_0x31418c))(Ee||{}),Ti=(_0x3d5151=>(_0x3d5151[_0x3d5151[_0x5bfca8(0x1c7)]=0x0]=_0x5bfca8(0x1c7),_0x3d5151[_0x3d5151['HttpImport']=0x1]=_0x5bfca8(0x11e),_0x3d5151[_0x3d5151['HttpExport']=0x2]=_0x5bfca8(0x2fb),_0x3d5151[_0x3d5151[_0x5bfca8(0x282)]=0x3]=_0x5bfca8(0x282),_0x3d5151[_0x3d5151['UnitSnapshot']=0x4]=_0x5bfca8(0xf1),_0x3d5151[_0x3d5151['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3d5151))(Ti||{});const q=_0x5bfca8(0x210),Wt={};var se=(_0x149e4d=>(_0x149e4d[_0x5bfca8(0x2e1)]=_0x5bfca8(0x2e1),_0x149e4d[_0x5bfca8(0x239)]=_0x5bfca8(0x239),_0x149e4d['CONFLICT']=_0x5bfca8(0x311),_0x149e4d[_0x5bfca8(0x22f)]=_0x5bfca8(0x22f),_0x149e4d[_0x5bfca8(0x23b)]=_0x5bfca8(0x23b),_0x149e4d[_0x5bfca8(0x2c9)]=_0x5bfca8(0x2c9),_0x149e4d[_0x5bfca8(0x2e0)]=_0x5bfca8(0x2e0),_0x149e4d['SUBMIT_CHANGESET_TIMEOUT']=_0x5bfca8(0x108),_0x149e4d))(se||{});class pe{constructor(){var _0x11192f=_0x5bfca8;N(this,_0x11192f(0x1ad),new _0x4268af()),N(this,_0x11192f(0x147),this[_0x11192f(0x1ad)][_0x11192f(0x176)]());}[_0x5bfca8(0x275)](_0x179731){var _0x254dad=_0x5bfca8;this[_0x254dad(0x1ad)]['next'](_0x179731);}}const Mn=_0x29e1a9(_0x5bfca8(0x24c));function $n(_0x1167b2){var _0x521f4c=_0x5bfca8,_0x170daf,_0x38fe1e,_0x34c71e,_0x1c5d08,_0xf5dd0f;const _0x1305a1=_0x1167b2[_0x521f4c(0x18e)],_0x31a2cc=JSON[_0x521f4c(0x395)](_0x1305a1);switch(_0x31a2cc['cmd']){case F[_0x521f4c(0x314)]:case F[_0x521f4c(0x2dd)]:{const _0x5ce096=_0x31a2cc[_0x521f4c(0x34a)];return{..._0x31a2cc,'data':_0x5ce096,'cmd':_0x31a2cc[_0x521f4c(0x27b)]};}case F['JOIN']:{const _0xa867a9=_0x31a2cc['joinRsp'];return{..._0x31a2cc,'data':_0xa867a9,'cmd':_0x31a2cc['cmd']};}case F[_0x521f4c(0x217)]:{const _0x3115d3=_0x31a2cc['collaMsg'];switch(_0x3115d3[_0x521f4c(0x131)]){case _0x3167f1[_0x521f4c(0xf7)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x170daf=_0x3115d3[_0x521f4c(0xfe)])==null?void 0x0:_0x170daf['cs']},'cmd':_0x31a2cc['cmd']};case _0x3167f1['CHANGESET_ACK']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x38fe1e=_0x3115d3['csAckEvent'])==null?void 0x0:_0x38fe1e['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x119)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x34c71e=_0x3115d3[_0x521f4c(0x2e4)])==null?void 0x0:_0x34c71e['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x356)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x1c5d08=_0x3115d3[_0x521f4c(0x323)])==null?void 0x0:_0x1c5d08['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x134)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0xf5dd0f=_0x3115d3[_0x521f4c(0x201)])==null?void 0x0:_0xf5dd0f['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x28c)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x254)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x136)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x29f)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1['USERS_LEAVE']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3['leaveEvent']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1['LIVESHARE_NEW_HOST']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x389)]},'cmd':_0x31a2cc['cmd']};case _0x3167f1[_0x521f4c(0x2ba)]:case _0x3167f1[_0x521f4c(0x3a5)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x21a)]},'cmd':_0x31a2cc['cmd']};case _0x3167f1[_0x521f4c(0x12f)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x389)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0xde)]:return{..._0x31a2cc,'data':_0x3115d3,'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1['COMMENT_UPDATE']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x305)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x36c)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x28a)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x1f7)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x342)]},'cmd':_0x31a2cc['cmd']};case _0x3167f1[_0x521f4c(0xff)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x2da)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};default:return _0x31a2cc;}}default:return _0x31a2cc;}}function Hn(_0x5f3d36){var _0x59d426=_0x5bfca8;switch(_0x5f3d36[_0x59d426(0x27b)]){case F[_0x59d426(0x314)]:case F[_0x59d426(0x2dd)]:return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36[_0x59d426(0x27b)],'routeKey':_0x5f3d36[_0x59d426(0x36f)]});case F[_0x59d426(0xe3)]:{let _0xdab3c8;switch(_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x131)]){case _0x3167f1[_0x59d426(0x28c)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x28c)],'updateCursorEvent':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x346)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x346)],'leaveEvent':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x136)]:{_0xdab3c8={'eventID':_0x3167f1['USERS_ENTER'],'joinEvent':_0x5f3d36['data']['data']};break;}case _0x3167f1[_0x59d426(0x38e)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x38e)],'liveShareNewHost':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x3a5)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x3a5)],'liveShareOperation':_0x5f3d36['data'][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x12f)]:{_0xdab3c8={'eventID':_0x3167f1['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x27c)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x27c)],'liveShareRequestHost':_0x5f3d36['data']['data']};break;}case _0x3167f1[_0x59d426(0x2ba)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x2ba)]};break;}default:_0xdab3c8={'eventID':_0x5f3d36[_0x59d426(0x18e)]['eventID']};}return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36['cmd'],'routeKey':_0x5f3d36[_0x59d426(0x36f)],'collaMsg':_0xdab3c8});}case F[_0x59d426(0x266)]:return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36[_0x59d426(0x27b)],'routeKey':_0x5f3d36[_0x59d426(0x36f)],'joinReq':_0x5f3d36[_0x59d426(0x18e)]});case F['LEAVE']:return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36[_0x59d426(0x27b)],'routeKey':_0x5f3d36[_0x59d426(0x36f)],'leaveReq':_0x5f3d36['data']});default:throw new Error(_0x59d426(0x13f));}}var kn=Object['defineProperty'],jn=Object[_0x5bfca8(0x2cb)],Bn=(_0x48de75,_0x2c6598,_0x274d50,_0x50a76e)=>{for(var _0x5c5575=_0x50a76e>0x1?void 0x0:_0x50a76e?jn(_0x2c6598,_0x274d50):_0x2c6598,_0x40407f=_0x48de75['length']-0x1,_0x39d4e9;_0x40407f>=0x0;_0x40407f--)(_0x39d4e9=_0x48de75[_0x40407f])&&(_0x5c5575=(_0x50a76e?_0x39d4e9(_0x2c6598,_0x274d50,_0x5c5575):_0x39d4e9(_0x5c5575))||_0x5c5575);return _0x50a76e&&_0x5c5575&&kn(_0x2c6598,_0x274d50,_0x5c5575),_0x5c5575;},Ue=(_0x5694e0,_0x326880)=>(_0x58092d,_0x1b6c22)=>_0x326880(_0x58092d,_0x1b6c22,_0x5694e0);const Ci=_0x29e1a9(_0x5bfca8(0x2f1));function Fn(_0x34aaa4,_0x202833,_0x4b8241){var _0x5a6d49=_0x5bfca8;return _0x34aaa4+'/'+_0x202833+_0x5a6d49(0x287)+_0x4b8241+_0x5a6d49(0x3b5);}let Et=class extends _0x4971ea{constructor(_0x250492,_0xd18d3,_0x3842aa,_0xa200f6,_0x37f586){var _0x28d7e3=_0x5bfca8;super(),this['_injector']=_0x250492,this['_http']=_0xd18d3,this[_0x28d7e3(0x313)]=_0x3842aa,this['_logService']=_0xa200f6,this[_0x28d7e3(0x1c1)]=_0x37f586;}[_0x5bfca8(0x34e)](_0x592666){var _0x6df6b3=_0x5bfca8;const _0x128843=this[_0x6df6b3(0x2ad)][_0x6df6b3(0x3a3)](_0x4bdb07);if(!_0x128843)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x24ca0f=_0x128843[_0x6df6b3(0x34e)](_0x592666);if(!_0x24ca0f)throw new Error(_0x6df6b3(0x2d3));const _0x2007df=new _0x1c6031(),_0x49e0eb=new _0x4268af();_0x2007df['add'](_0x24ca0f[_0x6df6b3(0x2b4)][_0x6df6b3(0xbd)](_0x2bf105=>_0x49e0eb[_0x6df6b3(0x26d)](_0x2bf105))),_0x2007df[_0x6df6b3(0x2ce)](_0x162b76(()=>_0x49e0eb['complete']()));const _0x1f343d=new _0x4268af();_0x2007df[_0x6df6b3(0x2ce)](_0x24ca0f[_0x6df6b3(0x36e)][_0x6df6b3(0xbd)](_0x285a3d=>_0x1f343d['next'](_0x285a3d))),_0x2007df[_0x6df6b3(0x2ce)](_0x162b76(()=>_0x1f343d[_0x6df6b3(0x38d)]()));const _0x54d78f=new _0x4268af();_0x2007df[_0x6df6b3(0x2ce)](_0x24ca0f[_0x6df6b3(0x2ab)][_0x6df6b3(0xbd)](_0x154c96=>{var _0x45cb7d=_0x6df6b3;const _0x1c8a7c=$n(_0x154c96);_0x54d78f[_0x45cb7d(0x26d)](_0x1c8a7c);})),_0x2007df['add'](_0x162b76(()=>_0x54d78f[_0x6df6b3(0x38d)]()));let _0xf3da03;const _0x77b82a=()=>{var _0x23e615=_0x6df6b3;_0x1f343d[_0x23e615(0x26d)](new Event(_0x23e615(0xbb))),_0x49e0eb['next'](new CloseEvent(_0x23e615(0xbb))),_0xf3da03[_0x23e615(0x2b8)]();};return _0xf3da03={'memberID':'','close$':_0x49e0eb[_0x6df6b3(0x176)](),'error$':_0x1f343d[_0x6df6b3(0x176)](),'open$':_0x24ca0f[_0x6df6b3(0x25c)],'message$':_0x54d78f['asObservable'](),'send':_0x1a25fc=>{var _0x268bc5=_0x6df6b3;if(_0x1a25fc['cmd']===F[_0x268bc5(0xe3)]){if(_0x1a25fc[_0x268bc5(0x18e)]['eventID']===_0x3167f1[_0x268bc5(0x1db)]){this[_0x268bc5(0x20f)](_0xf3da03,_0x1a25fc[_0x268bc5(0x18e)])[_0x268bc5(0x1c5)](_0x46f894=>{var _0x39f7a8=_0x268bc5;this['_logService'][_0x39f7a8(0x348)](_0x46f894),_0x77b82a();});return;}if(_0x1a25fc[_0x268bc5(0x18e)][_0x268bc5(0x131)]===_0x3167f1[_0x268bc5(0xb8)]){const _0x441102=_0x1a25fc[_0x268bc5(0x18e)];this[_0x268bc5(0x1d6)](_0x441102)[_0x268bc5(0x37c)](_0xd7b51e=>{var _0xba27f7=_0x268bc5;_0x54d78f[_0xba27f7(0x26d)]({'cmd':F[_0xba27f7(0x217)],'code':Ee['OK'],'routeKey':_0x441102[_0xba27f7(0x18e)][_0xba27f7(0x372)],'routeType':'','data':{'eventID':_0x3167f1[_0xba27f7(0x36b)],'data':{'changesets':_0xd7b51e}}});})[_0x268bc5(0x1c5)](_0x2ac10e=>{var _0x5375=_0x268bc5;this[_0x5375(0x2bf)][_0x5375(0x348)](_0x2ac10e),_0x77b82a();});return;}}_0x24ca0f[_0x268bc5(0x187)](Hn(_0x1a25fc));},'close':()=>{var _0x27f38b=_0x6df6b3;_0x24ca0f[_0x27f38b(0x2b8)](),_0x2007df[_0x27f38b(0x2f0)]();}},_0xf3da03;}async[_0x5bfca8(0x20f)](_0x347338,_0x5e5a34){var _0x4b45d8=_0x5bfca8,_0x5478fe,_0x56e8eb;const {unitType:_0x52826c,unitID:_0x285354,changeset:_0x1bbb55}=_0x5e5a34[_0x4b45d8(0x18e)],_0x2cd5b8={'unitID':_0x285354,'memberID':_0x347338['memberID'],'type':_0x52826c,'changeset':_0x5e9c6b(_0x1bbb55)},_0x2c1ed3=this['_configService']['getConfig'](Un),_0x23c2b0=this[_0x4b45d8(0x313)][_0x4b45d8(0x242)](q),_0x49c283=Fn((_0x56e8eb=(_0x5478fe=_0x23c2b0==null?void 0x0:_0x23c2b0['collabSubmitChangesetUrl'])!=null?_0x5478fe:_0x2c1ed3)!=null?_0x56e8eb:An,_0x52826c,_0x285354);try{await this[_0x4b45d8(0x21b)][_0x4b45d8(0x295)](_0x49c283,{'body':_0x2cd5b8});}catch(_0x1ec594){throw this['_logService']['error'](_0x4b45d8(0x391),_0x4b45d8(0x1b1)),_0x1ec594;}}async['_fetchMissChangesets'](_0x53801c){var _0x1fc6b3=_0x5bfca8;const {unitID:_0x232990,from:_0x5830f5,to:_0x25f69c,unitType:_0x3632e2}=_0x53801c[_0x1fc6b3(0x18e)];return(await this['_snapshotServerService'][_0x1fc6b3(0x25d)]({'metadata':void 0x0},{'unitID':_0x232990,'type':_0x3632e2,'from':_0x5830f5,'to':_0x25f69c}))[_0x1fc6b3(0x25f)];}};Et=Bn([Ue(0x0,_0x285a0e(_0x22efd7)),Ue(0x1,_0x285a0e(_0x48889b)),Ue(0x2,_0x44e247),Ue(0x3,_0x43c1be),Ue(0x4,_0x410261)],Et);const Vn=_0x5bfca8(0x2ae);function Gn(_0xc5fc6f){var _0x371b22=_0x5bfca8;return JSON['stringify'](_0xc5fc6f)[_0x371b22(0xc8)];}class Ri{constructor(){var _0x17c2e2=_0x5bfca8;N(this,_0x17c2e2(0x35b),new _0x4268af()),N(this,_0x17c2e2(0xcc),this[_0x17c2e2(0x35b)][_0x17c2e2(0x176)]());}['onCommentUpdate'](_0x579812){var _0x35cd40=_0x5bfca8;this[_0x35cd40(0x35b)]['next'](_0x579812);}}var Wn=Object[_0x5bfca8(0x37e)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x517908,_0x46d96f,_0x54e698,_0x210443)=>{var _0x173de9=_0x5bfca8;for(var _0x40612f=_0x210443>0x1?void 0x0:_0x210443?Kn(_0x46d96f,_0x54e698):_0x46d96f,_0x2e620d=_0x517908[_0x173de9(0xc8)]-0x1,_0x2c878a;_0x2e620d>=0x0;_0x2e620d--)(_0x2c878a=_0x517908[_0x2e620d])&&(_0x40612f=(_0x210443?_0x2c878a(_0x46d96f,_0x54e698,_0x40612f):_0x2c878a(_0x40612f))||_0x40612f);return _0x210443&&_0x40612f&&Wn(_0x46d96f,_0x54e698,_0x40612f),_0x40612f;},Kt=(_0x74bdd3,_0x436314)=>(_0x2ab3a8,_0x53b9ce)=>_0x436314(_0x2ab3a8,_0x53b9ce,_0x74bdd3);let xe=class extends _0x4971ea{constructor(_0x2809b8,_0x1c20d9){var _0xdc7588=_0x5bfca8;super(),N(this,_0xdc7588(0x1cb),new Map()),N(this,_0xdc7588(0x139),new _0x4268af()),(this['_univerInstanceService']=_0x2809b8,this[_0xdc7588(0x148)]=_0x1c20d9,this[_0xdc7588(0x2e9)](_0x230e2e(this[_0xdc7588(0xc3)][_0xdc7588(0x2f4)](_0x1f23c0[_0xdc7588(0x200)])[_0xdc7588(0x3b9)](_0x15918f(_0x399fc3=>_0x399fc3[_0xdc7588(0x2d9)]())),this[_0xdc7588(0xc3)][_0xdc7588(0x2f4)](_0x1f23c0[_0xdc7588(0x1aa)])[_0xdc7588(0x3b9)](_0x15918f(_0x412b47=>_0x412b47[_0xdc7588(0x2d9)]())),this[_0xdc7588(0xc3)]['getTypeOfUnitDisposed$'](_0x1f23c0[_0xdc7588(0x37f)])[_0xdc7588(0x3b9)](_0x15918f(_0x104abd=>_0x104abd[_0xdc7588(0x2d9)]())))[_0xdc7588(0xbd)](_0x4965f7=>this[_0xdc7588(0xe0)](_0x4965f7))));}[_0x5bfca8(0x25e)](_0x4a5ed1){var _0x190768=_0x5bfca8;return this[_0x190768(0x1cb)][_0x190768(0x2bc)](_0x4a5ed1)?_0x278228(this[_0x190768(0x1cb)][_0x190768(0x3a3)](_0x4a5ed1)):this[_0x190768(0x139)][_0x190768(0x3b9)](_0x15918f(_0xf49e4c=>{var _0x5bf717=_0x190768;if(_0xf49e4c===_0x4a5ed1)return this[_0x5bf717(0x1cb)]['get'](_0xf49e4c);}));}[_0x5bfca8(0x223)](_0x417da2){var _0x353df8=_0x5bfca8;this[_0x353df8(0x148)][_0x353df8(0x223)](_0x417da2);}['getCurrentUser'](){var _0x1fe9d8=_0x5bfca8;return this['_userManagerService'][_0x1fe9d8(0x182)]();}[_0x5bfca8(0xc4)](_0x1cc9fe,_0x1941d9){var _0x35cf07=_0x5bfca8;let _0x4411e3=this['_roomMembers']['get'](_0x1cc9fe);_0x4411e3||(_0x4411e3=new qn(),this[_0x35cf07(0x1cb)][_0x35cf07(0x122)](_0x1cc9fe,_0x4411e3),this['_roomCreated$'][_0x35cf07(0x26d)](_0x1cc9fe)),_0x4411e3[_0x35cf07(0xc4)](_0x1941d9);}[_0x5bfca8(0x27d)](_0x83e07e,_0x282420){var _0x441567=_0x5bfca8;const _0x416925=this['_roomMembers'][_0x441567(0x3a3)](_0x83e07e);_0x416925&&_0x416925[_0x441567(0x27d)](_0x282420);}[_0x5bfca8(0x1b3)](_0xd3d4d0){var _0x5af4f1=_0x5bfca8;return this[_0x5af4f1(0x1cb)][_0x5af4f1(0x3a3)](_0xd3d4d0);}[_0x5bfca8(0x120)](_0x514da3,_0x4a5f70){var _0x47cdac=_0x5bfca8;const _0x2f8acb=this[_0x47cdac(0x1cb)]['get'](_0x514da3);if(_0x2f8acb)return _0x2f8acb['getMember'](_0x4a5f70);}[_0x5bfca8(0xe0)](_0x590237){var _0x541070=_0x5bfca8;const _0x20b0ed=this[_0x541070(0x1cb)][_0x541070(0x3a3)](_0x590237);_0x20b0ed&&(_0x20b0ed[_0x541070(0x2f0)](),this[_0x541070(0x1cb)][_0x541070(0xe1)](_0x590237));}[_0x5bfca8(0x2f0)](){var _0x331b04=_0x5bfca8;this[_0x331b04(0x1cb)][_0x331b04(0x33e)](_0x5aec37=>_0x5aec37['dispose']()),this[_0x331b04(0x1cb)][_0x331b04(0x30c)](),this[_0x331b04(0x139)][_0x331b04(0x38d)]();}};xe=Yn([Kt(0x0,_0x34354e),Kt(0x1,_0x285a0e(_0x18f24f))],xe);class qn extends _0x4971ea{constructor(){var _0x1fc288=_0x5bfca8;super(...arguments),N(this,_0x1fc288(0x3b3),new Map()),N(this,_0x1fc288(0x230),new _0x3de5fe(this[_0x1fc288(0x3b3)])),N(this,_0x1fc288(0x355),this[_0x1fc288(0x230)][_0x1fc288(0x176)]());}[_0x5bfca8(0x2f0)](){var _0x1bd9e7=_0x5bfca8;this[_0x1bd9e7(0x3b3)][_0x1bd9e7(0x30c)]();}['updateMember'](_0x4aaef8){var _0x47c92e=_0x5bfca8;this[_0x47c92e(0x3b3)]['set'](_0x4aaef8[_0x47c92e(0x347)],_0x4aaef8),this[_0x47c92e(0x2c5)]();}[_0x5bfca8(0x27d)](_0x46cf40){var _0x469bb7=_0x5bfca8;this[_0x469bb7(0x3b3)][_0x469bb7(0xe1)](_0x46cf40);}['getMember'](_0x286dec){var _0x922d61=_0x5bfca8;return this[_0x922d61(0x3b3)]['get'](_0x286dec);}[_0x5bfca8(0x15b)](){var _0x3bb4cf=_0x5bfca8;return Array[_0x3bb4cf(0x15a)](this['_members']['values']());}[_0x5bfca8(0x2c5)](){var _0x5b1fd3=_0x5bfca8;this['_members$'][_0x5b1fd3(0x26d)](this[_0x5b1fd3(0x3b3)]);}}var zn=Object['defineProperty'],Jn=Object[_0x5bfca8(0x2cb)],Xn=(_0x55074d,_0x310ffd,_0xb91542,_0xe67ce0)=>{var _0x574abb=_0x5bfca8;for(var _0x43a86c=_0xe67ce0>0x1?void 0x0:_0xe67ce0?Jn(_0x310ffd,_0xb91542):_0x310ffd,_0x2e3333=_0x55074d[_0x574abb(0xc8)]-0x1,_0x4e0c82;_0x2e3333>=0x0;_0x2e3333--)(_0x4e0c82=_0x55074d[_0x2e3333])&&(_0x43a86c=(_0xe67ce0?_0x4e0c82(_0x310ffd,_0xb91542,_0x43a86c):_0x4e0c82(_0x43a86c))||_0x43a86c);return _0xe67ce0&&_0x43a86c&&zn(_0x310ffd,_0xb91542,_0x43a86c),_0x43a86c;},me=(_0x14b00b,_0x459b82)=>(_0xe05e68,_0x5e9f06)=>_0x459b82(_0xe05e68,_0x5e9f06,_0x14b00b),Te=(_0x3e2dcb=>(_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0xd3)]=0x0]=_0x5bfca8(0xd3),_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0xc1)]=0x1]=_0x5bfca8(0xc1),_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0x1b2)]=0x2]=_0x5bfca8(0x1b2),_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0x259)]=0x3]=_0x5bfca8(0x259),_0x3e2dcb))(Te||{});const Yt={[Ee[_0x5bfca8(0x26e)]]:_0x5bfca8(0x1e3),[Ee[_0x5bfca8(0x2f8)]]:_0x5bfca8(0x2ee),[Ee[_0x5bfca8(0x33f)]]:'session.room-not-exists',[Ee[_0x5bfca8(0x2f7)]]:_0x5bfca8(0x1a2),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5bfca8(0x109)};let It=class extends _0x13f3a3{constructor(_0x5967a6,_0xf17160,_0x3145a5,_0x1c1068,_0x178b9a,_0x4908d3,_0x169d65,_0x5c020b,_0x22a865){var _0x530a7d=_0x5bfca8;super(),N(this,_0x530a7d(0xc5),new _0x3de5fe(0x0)),N(this,_0x530a7d(0x1d0),this[_0x530a7d(0xc5)][_0x530a7d(0x176)]()),N(this,'_event$',new _0x4268af()),N(this,_0x530a7d(0x147),this[_0x530a7d(0x1ad)]['asObservable']()),N(this,_0x530a7d(0x231)),N(this,'_socketMessageSubscription'),N(this,_0x530a7d(0xaf)),N(this,_0x530a7d(0x396),!0x1),N(this,'_telemetryInfo',null),(this[_0x530a7d(0x302)]=_0x5967a6,this['_logService']=_0x3145a5,this[_0x530a7d(0x313)]=_0x1c1068,this['_localeService']=_0x178b9a,this[_0x530a7d(0x2db)]=_0x4908d3,this[_0x530a7d(0x35a)]=_0x169d65,this[_0x530a7d(0xe4)]=_0x5c020b,this['_telemetryService']=_0x22a865,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0xf17160[_0x530a7d(0x3b9)](_0x22b2ec(this['dispose$']))[_0x530a7d(0xbd)](_0x4108f0=>{var _0xafde08=_0x530a7d,_0x3f56ac;typeof _0x4108f0>'u'||(this[_0xafde08(0x231)]=_0x4108f0,_0x4108f0?(this[_0xafde08(0x357)](_0x4108f0),this['_socketMessageSubscription']=_0x4108f0[_0xafde08(0x2ab)][_0xafde08(0xbd)](_0x11bc94=>{var _0x17cb48=_0xafde08;_0x11bc94[_0x17cb48(0x36f)]===this['_unitID']&&this[_0x17cb48(0x15f)](_0x11bc94);})):(this[_0xafde08(0x173)](),this[_0xafde08(0xc5)][_0xafde08(0x26d)](0x2),(_0x3f56ac=this[_0xafde08(0x35f)])==null||_0x3f56ac[_0xafde08(0x14f)](),this[_0xafde08(0x35f)]=null));}));}get[_0x5bfca8(0x211)](){var _0x5388db=_0x5bfca8;return this[_0x5388db(0xc5)][_0x5388db(0x340)]();}[_0x5bfca8(0x265)](){var _0x79caf6=_0x5bfca8,_0x2be4d2,_0x473c48;return(_0x473c48=(_0x2be4d2=this[_0x79caf6(0x231)])==null?void 0x0:_0x2be4d2[_0x79caf6(0x347)])!=null?_0x473c48:null;}[_0x5bfca8(0x2f0)](){var _0xdb710b=_0x5bfca8;super[_0xdb710b(0x2f0)](),this[_0xdb710b(0x1e1)][_0xdb710b(0x26d)](),this[_0xdb710b(0x1e1)][_0xdb710b(0x38d)]();}['close'](){var _0x577034=_0x5bfca8,_0xc05795,_0x1ed2da;this[_0x577034(0x173)](),(_0xc05795=this[_0x577034(0x231)])==null||_0xc05795[_0x577034(0x187)]({'cmd':F[_0x577034(0x286)],'data':{'roomID':this[_0x577034(0x302)]}}),(_0x1ed2da=this[_0x577034(0x231)])==null||_0x1ed2da['close'](),this[_0x577034(0x1ad)][_0x577034(0x38d)](),this[_0x577034(0xc5)][_0x577034(0x38d)](),this[_0x577034(0x2f0)]();}[_0x5bfca8(0x15f)](_0x16f387){var _0x360204=_0x5bfca8;_0x16f387[_0x360204(0x27b)]===F[_0x360204(0x266)]?this['_onJoinRoomEvent'](_0x16f387):_0x16f387[_0x360204(0x27b)]===F[_0x360204(0x217)]&&this[_0x360204(0x175)](_0x16f387);}[_0x5bfca8(0x357)](_0x240d1a){var _0x5ae036=_0x5bfca8;this['_sessionStatus$'][_0x5ae036(0x26d)](0x1),_0x240d1a['send']({'cmd':F[_0x5ae036(0x266)],'routeKey':this[_0x5ae036(0x302)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5bfca8(0x385)](_0xbc4059){var _0x35481e=_0x5bfca8,_0x1af842;if(_0xbc4059['code']in Yt){this[_0x35481e(0xe4)][_0x35481e(0x275)]({'id':se[_0x35481e(0x23b)],'data':Yt[_0xbc4059['code']]}),this[_0x35481e(0xc5)][_0x35481e(0x26d)](0x2);return;}this[_0x35481e(0xc5)]['next'](0x3);const _0x4984f0=(_0x1af842=_0xbc4059['data'][_0x35481e(0x319)][this['_unitID']])==null?void 0x0:_0x1af842[_0x35481e(0x1f5)];_0x4984f0&&_0x4984f0[_0x35481e(0x33e)](_0x201afe=>this[_0x35481e(0x2db)][_0x35481e(0xc4)](this[_0x35481e(0x302)],_0x201afe));}[_0x5bfca8(0x175)](_0x343e86){var _0x1cea27=_0x5bfca8;try{const _0x450315=_0x343e86[_0x1cea27(0x18e)];switch(_0x450315[_0x1cea27(0x131)]){case _0x3167f1['USERS_ENTER']:this[_0x1cea27(0x2c8)](_0x450315),this[_0x1cea27(0x1ad)][_0x1cea27(0x26d)](_0x450315);break;case _0x3167f1['USERS_LEAVE']:this[_0x1cea27(0x2dc)](_0x450315),this[_0x1cea27(0x1ad)]['next'](_0x450315);break;case _0x3167f1[_0x1cea27(0x2b5)]:case _0x3167f1[_0x1cea27(0x134)]:this[_0x1cea27(0xf5)](),this[_0x1cea27(0x219)](),this['_event$'][_0x1cea27(0x26d)](_0x450315);break;case _0x3167f1[_0x1cea27(0xde)]:this[_0x1cea27(0x2bf)][_0x1cea27(0x348)](_0x1cea27(0x1f0)+JSON['stringify'](_0x450315)),this[_0x1cea27(0x1ad)]['next'](_0x450315);break;case _0x3167f1['COMMENT_UPDATE']:this[_0x1cea27(0x35a)]['onCommentUpdate'](_0x450315[_0x1cea27(0x18e)]),this[_0x1cea27(0x1ad)][_0x1cea27(0x26d)](_0x450315);break;default:this['_event$']['next'](_0x450315);}}catch(_0x327abe){this[_0x1cea27(0x2bf)]['error'](_0x327abe,_0x343e86);}}[_0x5bfca8(0x2c8)](_0x1f7552){var _0x3690ac=_0x5bfca8;this['_memberService'][_0x3690ac(0xc4)](this[_0x3690ac(0x302)],_0x1f7552['data']);}[_0x5bfca8(0x2dc)](_0xa54fff){var _0x40a6c5=_0x5bfca8;this['_memberService'][_0x40a6c5(0x27d)](this[_0x40a6c5(0x302)],_0xa54fff['data'][_0x40a6c5(0x347)]);}async[_0x5bfca8(0x187)](_0x1fc747,_0x234e07){var _0x64a965=_0x5bfca8;if(this[_0x64a965(0x211)]!==0x3||!this['_socket'])throw new Error(_0x64a965(0x1af));try{_0x1fc747[_0x64a965(0x131)]===_0x3167f1[_0x64a965(0x1db)]&&(this[_0x64a965(0x290)](),this[_0x64a965(0x2b3)](_0x1fc747)),this['_socket'][_0x64a965(0x187)]({'cmd':F['INGEST'],'routeKey':_0x234e07,'routeType':'','data':_0x1fc747});}catch(_0x572516){this[_0x64a965(0x2bf)][_0x64a965(0x348)](_0x572516);}}[_0x5bfca8(0x290)](){var _0x157e20=_0x5bfca8,_0x1788ea;this[_0x157e20(0xaf)]=setTimeout(()=>{var _0x4f003d=_0x157e20;this[_0x4f003d(0xaf)]=null,this[_0x4f003d(0xe4)][_0x4f003d(0x275)]({'id':se[_0x4f003d(0x108)]});},(_0x1788ea=this['_configService'][_0x157e20(0x242)](Si))!=null?_0x1788ea:Ei);}[_0x5bfca8(0x219)](){var _0x4d6eb2=_0x5bfca8;this[_0x4d6eb2(0xaf)]&&(clearTimeout(this[_0x4d6eb2(0xaf)]),this['_collaborationTimeoutTimer']=null);}[_0x5bfca8(0x2b3)](_0x232674){var _0x58068d=_0x5bfca8;if(!this['_shouldReportTelemetry'])return;const {data:_0x551b7a}=_0x232674,{unitID:_0x6c4791,changeset:_0x55162b}=_0x551b7a,{mutations:_0x4178e4,type:_0x20822d}=_0x55162b;this[_0x58068d(0x2ca)]={'unitId':_0x6c4791,'type':_0x20822d,'startTime':performance[_0x58068d(0x329)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4178e4)};}[_0x5bfca8(0xf5)](){var _0x2bfbf0=_0x5bfca8;if(this[_0x2bfbf0(0x396)]){if(!this[_0x2bfbf0(0x2ca)]){this['_logService'][_0x2bfbf0(0x348)](_0x2bfbf0(0x391),_0x2bfbf0(0x191));return;}this[_0x2bfbf0(0x2ca)][_0x2bfbf0(0x26f)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0x2bfbf0(0x2ca)][_0x2bfbf0(0x26f)]-this[_0x2bfbf0(0x2ca)][_0x2bfbf0(0xf4)],this[_0x2bfbf0(0x1ac)][_0x2bfbf0(0x33a)](Vn,this['_telemetryInfo']),this[_0x2bfbf0(0x2ca)]=null;}}[_0x5bfca8(0x173)](){var _0xa7b2b1=_0x5bfca8;this[_0xa7b2b1(0x2ca)]=null;}};It=Xn([me(0x2,_0x43c1be),me(0x3,_0x44e247),me(0x4,_0x285a0e(_0xc8816f)),me(0x5,_0x285a0e(xe)),me(0x6,_0x285a0e(Ri)),me(0x7,_0x285a0e(pe)),me(0x8,_0x22b405(_0x27c86e))],It);var Zn=Object[_0x5bfca8(0x37e)],Qn=Object[_0x5bfca8(0x2cb)],er=(_0x3673e1,_0x2ab52d,_0x4d980e,_0xf10ebc)=>{for(var _0xc93059=_0xf10ebc>0x1?void 0x0:_0xf10ebc?Qn(_0x2ab52d,_0x4d980e):_0x2ab52d,_0x32f1ee=_0x3673e1['length']-0x1,_0x3892cf;_0x32f1ee>=0x0;_0x32f1ee--)(_0x3892cf=_0x3673e1[_0x32f1ee])&&(_0xc93059=(_0xf10ebc?_0x3892cf(_0x2ab52d,_0x4d980e,_0xc93059):_0x3892cf(_0xc93059))||_0xc93059);return _0xf10ebc&&_0xc93059&&Zn(_0x2ab52d,_0x4d980e,_0xc93059),_0xc93059;},ge=(_0x5d60c1,_0x26ae5f)=>(_0x24079d,_0x18036b)=>_0x26ae5f(_0x24079d,_0x18036b,_0x5d60c1);let Le=class extends _0x4971ea{constructor(_0x15dd34,_0x37afbf,_0x167d4f,_0x3fdf9e,_0x37ad1c,_0x37cd45,_0xb0ac61){var _0x231e42=_0x5bfca8;super(),N(this,'_socket$',new _0x3de5fe(void 0x0)),N(this,_0x231e42(0x1a5),this[_0x231e42(0x1a0)][_0x231e42(0x176)]()),N(this,_0x231e42(0x228),null),N(this,_0x231e42(0x296),new Map()),N(this,'_status$',new _0x3de5fe(Te['IDLE'])),N(this,_0x231e42(0x2c6),this[_0x231e42(0x29e)]['asObservable']()),N(this,_0x231e42(0x29d),!0x1),N(this,_0x231e42(0x1a1)),N(this,_0x231e42(0xcb),0x0),N(this,_0x231e42(0x2e3)),N(this,_0x231e42(0x2b7)),(this[_0x231e42(0x2ad)]=_0x15dd34,this['_logService']=_0x37afbf,this[_0x231e42(0x313)]=_0x167d4f,this[_0x231e42(0x1e5)]=_0x3fdf9e,this[_0x231e42(0x11c)]=_0x37ad1c,this[_0x231e42(0xe4)]=_0x37cd45,this[_0x231e42(0x384)]=_0xb0ac61,this['_listenToNetworkCondition']());}get[_0x5bfca8(0x231)](){var _0x46a039=_0x5bfca8;return this[_0x46a039(0x1a0)][_0x46a039(0x340)]();}['_listenToNetworkCondition'](){var _0x17bfe4=_0x5bfca8;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x17bfe4(0x27f)][_0x17bfe4(0xbd)](_0x4457c0=>{var _0x265b29=_0x17bfe4;_0x4457c0&&!this[_0x265b29(0x231)]&&this['reconnect'](),_0x4457c0||this[_0x265b29(0x16f)]();}));}[_0x5bfca8(0x2f0)](){var _0x1c939b=_0x5bfca8;super['dispose'](),this['_sessions'][_0x1c939b(0x33e)](_0x50c2af=>_0x50c2af['dispose']()),this[_0x1c939b(0x296)][_0x1c939b(0x30c)](),this[_0x1c939b(0x29e)][_0x1c939b(0x38d)]();}async['requireSession'](_0x15a051){var _0x552167=_0x5bfca8;if(this['_sessions']['has'](_0x15a051))return this['_sessions'][_0x552167(0x3a3)](_0x15a051);this[_0x552167(0x398)]();const _0x66e433=this[_0x552167(0x2ad)]['createInstance'](It,_0x15a051,this['_socket$']['asObservable']());return this[_0x552167(0x296)][_0x552167(0x122)](_0x15a051,_0x66e433),_0x66e433;}['closeSession'](_0x1dce53){var _0x28f03e=_0x5bfca8,_0x407a20;const _0x4cfe6e=this[_0x28f03e(0x296)]['get'](_0x1dce53);_0x4cfe6e&&(this['_sessions'][_0x28f03e(0xe1)](_0x1dce53),_0x4cfe6e[_0x28f03e(0x2b8)]()),this['_sessions'][_0x28f03e(0x28f)]||(_0x407a20=this[_0x28f03e(0x231)])==null||_0x407a20[_0x28f03e(0x2b8)]();}[_0x5bfca8(0x2b2)](){var _0x5a0899=_0x5bfca8;this[_0x5a0899(0xcb)]=0x0,this[_0x5a0899(0x1a1)]!=null&&(clearTimeout(this[_0x5a0899(0x1a1)]),this[_0x5a0899(0x1a1)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x36be61=_0x5bfca8,_0x2fa97e,_0x55fe4b,_0x2ecb8d;const _0x2d354b=this[_0x36be61(0x313)][_0x36be61(0x242)](q),_0x56035a=(_0x2fa97e=_0x2d354b==null?void 0x0:_0x2d354b['wsSessionTicketUrl'])!=null?_0x2fa97e:On;return(_0x2ecb8d=(_0x55fe4b=(await this['_httpService']['get'](_0x56035a,{'headers':{'Content-Type':_0x36be61(0x380)}}))[_0x36be61(0x15d)])==null?void 0x0:_0x55fe4b[_0x36be61(0x38c)])!=null?_0x2ecb8d:'';}[_0x5bfca8(0x349)](_0x162b37){var _0x99c5c5=_0x5bfca8,_0xfcbe35,_0x85a92b;const _0x5b0083=this[_0x99c5c5(0x313)][_0x99c5c5(0x242)](Rn),_0x3829d9=this['_configService'][_0x99c5c5(0x242)](q),_0x56db77=(_0x85a92b=(_0xfcbe35=_0x3829d9==null?void 0x0:_0x3829d9['collabWebSocketUrl'])!=null?_0xfcbe35:_0x5b0083)!=null?_0x85a92b:bn,_0xbdc864=typeof window>'u'?new URL(_0x56db77):new URL(_0x56db77,window[_0x99c5c5(0x22a)][_0x99c5c5(0x105)]);_0xbdc864[_0x99c5c5(0x252)][_0x99c5c5(0x122)](_0x99c5c5(0x277),_0x162b37);const _0xacaf75=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x99c5c5(0x22a)]['search']);return _0xacaf75[_0x99c5c5(0x3a3)](_0x99c5c5(0x188))&&_0xbdc864[_0x99c5c5(0x252)][_0x99c5c5(0x122)](_0x99c5c5(0x188),_0xacaf75['get']('runId')),_0xbdc864[_0x99c5c5(0x203)]();}async[_0x5bfca8(0x278)](){var _0x245074=_0x5bfca8;const _0xc96acf=await this[_0x245074(0x235)](),_0x100ae3=this['_createSocketURL'](_0xc96acf),_0xce380e=this[_0x245074(0x1e5)][_0x245074(0x34e)](_0x100ae3);return this['_candidateSocket']=_0xce380e,_0xce380e;}async[_0x5bfca8(0x398)](){var _0x411ada=_0x5bfca8,_0x5449a9,_0x34756f;try{const _0xae2dbb=(_0x34756f=(_0x5449a9=this[_0x411ada(0x231)])!=null?_0x5449a9:this[_0x411ada(0x228)])!=null?_0x34756f:await this[_0x411ada(0x278)]();if(_0xae2dbb){const _0x26cb1d=_0xae2dbb[_0x411ada(0x187)];_0xae2dbb['send']=_0x5218c8=>(this[_0x411ada(0x1b0)](),_0x26cb1d['apply'](_0xae2dbb,[_0x5218c8])),_0xae2dbb[_0x411ada(0x2ab)][_0x411ada(0xbd)](_0xaf5a89=>this[_0x411ada(0x20d)](_0xae2dbb,_0xaf5a89)),_0xae2dbb[_0x411ada(0x36e)][_0x411ada(0x3b9)](_0x28869a(0x1))[_0x411ada(0xbd)](_0xd1064=>this[_0x411ada(0x2bf)][_0x411ada(0x348)](_0x411ada(0xb5),_0xd1064)),_0xae2dbb[_0x411ada(0x25c)]['pipe'](_0x28869a(0x1))[_0x411ada(0xbd)](()=>{var _0x58ddab=_0x411ada;this[_0x58ddab(0x37b)](_0xae2dbb);}),_0xae2dbb[_0x411ada(0x2b4)][_0x411ada(0x3b9)](_0x28869a(0x1))[_0x411ada(0xbd)](_0x565c62=>{var _0x442b7b=_0x411ada;this[_0x442b7b(0x2bf)][_0x442b7b(0x2fd)](_0x442b7b(0x2ff),_0x442b7b(0x2e5),_0x565c62),this[_0x442b7b(0x23a)]();});}}catch(_0x4513f2){this[_0x411ada(0x2bf)]['error'](_0x4513f2),this[_0x411ada(0x23a)]();}}['_onConnectionOpen'](_0x32a8e6){var _0x2e5ddb=_0x5bfca8;this[_0x2e5ddb(0x2bf)][_0x2e5ddb(0x2fd)]('[CollaborationSessionService]',_0x2e5ddb(0x24d)),_0x32a8e6[_0x2e5ddb(0x187)]({'cmd':F[_0x2e5ddb(0x2dd)]}),this[_0x2e5ddb(0x1b0)]();}['_onOffline'](){var _0x1357c1=_0x5bfca8;this[_0x1357c1(0x29d)]=!0x1,this[_0x1357c1(0x228)]=null,this[_0x1357c1(0x29e)][_0x1357c1(0x26d)](Te[_0x1357c1(0x1b2)]),this[_0x1357c1(0x1a0)]['next'](null),this[_0x1357c1(0x24a)](),this[_0x1357c1(0x330)]();}[_0x5bfca8(0x23a)](){var _0x4c9219=_0x5bfca8,_0x331179;this[_0x4c9219(0x16f)](),this['_retryCount']<((_0x331179=this[_0x4c9219(0x313)][_0x4c9219(0x242)](Pn))!=null?_0x331179:wn)?(this[_0x4c9219(0xe4)][_0x4c9219(0x275)]({'id':se[_0x4c9219(0x2c9)]}),this[_0x4c9219(0xe5)]()):this[_0x4c9219(0xe4)]['emitEvent']({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x38fc20=_0x5bfca8,_0x3e204d;const _0x318183=this[_0x38fc20(0xcb)],_0x29693c=this[_0x38fc20(0x313)][_0x38fc20(0x242)](q),_0x539094=_0x318183===0x0?0x0:((_0x3e204d=_0x29693c==null?void 0x0:_0x29693c[_0x38fc20(0x238)])!=null?_0x3e204d:Dn)*0x2**_0x318183;this[_0x38fc20(0x1a1)]=setTimeout(()=>{var _0x2bb1b6=_0x38fc20;clearTimeout(this['_retryConnectingTimer']),this[_0x2bb1b6(0x1a1)]=null,this[_0x2bb1b6(0x398)]();},_0x539094),this[_0x38fc20(0xcb)]+=0x1;}['_onMessage'](_0x39abb4,_0x57f6f0){var _0x501718=_0x5bfca8;const {cmd:_0x19d0f7}=_0x57f6f0;_0x19d0f7===F[_0x501718(0x2dd)]&&!this['_socketReady']&&(_0x39abb4[_0x501718(0x347)]=_0x57f6f0[_0x501718(0x18e)][_0x501718(0x347)],this[_0x501718(0x1a0)][_0x501718(0x26d)](_0x39abb4),this['_status$']['next'](Te['ONLINE']),this[_0x501718(0x29d)]=!0x0,this['_candidateSocket']=null),_0x19d0f7===F[_0x501718(0x314)]&&this[_0x501718(0x24a)](),this['_rescheduleHeartbeat']();}[_0x5bfca8(0x1b0)](){var _0x575ea7=_0x5bfca8,_0x13ae65;this[_0x575ea7(0x330)](),this[_0x575ea7(0x2e3)]=setTimeout(()=>this[_0x575ea7(0x1ce)](),(_0x13ae65=this[_0x575ea7(0x313)][_0x575ea7(0x242)](yn))!=null?_0x13ae65:Nn);}[_0x5bfca8(0x1ce)](){var _0x2785b9=_0x5bfca8;this['_socket'][_0x2785b9(0x187)]({'cmd':F['HEARTBEAT']}),this[_0x2785b9(0x233)]();}[_0x5bfca8(0x233)](){var _0x30bc9c=_0x5bfca8,_0x11cff0;this[_0x30bc9c(0x2b7)]=setTimeout(()=>this[_0x30bc9c(0x23a)](),(_0x11cff0=this[_0x30bc9c(0x313)][_0x30bc9c(0x242)](Si))!=null?_0x11cff0:Ei);}['_clearHeartbeatTimer'](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x5bfca8(0x24a)](){var _0x4d15b6=_0x5bfca8;this[_0x4d15b6(0x2b7)]!=null&&(clearTimeout(this[_0x4d15b6(0x2b7)]),this[_0x4d15b6(0x2b7)]=null);}};Le=er([ge(0x0,_0x285a0e(_0x22efd7)),ge(0x1,_0x43c1be),ge(0x2,_0x44e247),ge(0x3,Ci),ge(0x4,_0x285a0e(_0x48889b)),ge(0x5,_0x285a0e(pe)),ge(0x6,_0x22b405(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5bfca8(0x306)]((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x16f63b,_0x5f10a5=0x0){var _0x33d5d0=_0x5bfca8;return(V[_0x16f63b[_0x5f10a5+0x0]]+V[_0x16f63b[_0x5f10a5+0x1]]+V[_0x16f63b[_0x5f10a5+0x2]]+V[_0x16f63b[_0x5f10a5+0x3]]+'-'+V[_0x16f63b[_0x5f10a5+0x4]]+V[_0x16f63b[_0x5f10a5+0x5]]+'-'+V[_0x16f63b[_0x5f10a5+0x6]]+V[_0x16f63b[_0x5f10a5+0x7]]+'-'+V[_0x16f63b[_0x5f10a5+0x8]]+V[_0x16f63b[_0x5f10a5+0x9]]+'-'+V[_0x16f63b[_0x5f10a5+0xa]]+V[_0x16f63b[_0x5f10a5+0xb]]+V[_0x16f63b[_0x5f10a5+0xc]]+V[_0x16f63b[_0x5f10a5+0xd]]+V[_0x16f63b[_0x5f10a5+0xe]]+V[_0x16f63b[_0x5f10a5+0xf]])[_0x33d5d0(0x2eb)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3ff72a=_0x5bfca8;if(!ut){if(typeof crypto>'u'||!crypto[_0x3ff72a(0x22c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x3ff72a(0x22c)][_0x3ff72a(0x281)](crypto);}return ut(ir);}function _0x5106(){var _0x5993b9=['PY_RUNTIME_SCRIPT_ERROR','floor','_type','clear','objects','onTransformRemoteChangesetByStateCache','__esModule','_permissionService','CONFLICT','YUUMI_URL_COL_OUT_OF_RANGE','_configService','HEARTBEAT','update','createInstance','loadSheet','CHANGESET_REVISION_CONFILICT','roomInfos','GLOBAL_ROOMS_CNT_EXCEEDS','substr','clamp','NO_OTHER_CLIENTS_EDITING','hasOwnProperty','not_collab','_sheetTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','_clearScheduledTask','csRejEvent','title','_isPermissionRej','fetchThroughInterceptors','toggleOffline','_collaborationPaused','now','offline','blockSize','createCollaborator','getCollabEntity$','11DnkzEi','INTERNAL_ERROR','_clearHeartbeatTimer','change$','_eventService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_awaitingChangeset','workbook','resourceIDs','PENDING','requestParams','finalize','capture','HmacSHA1','/block/','StreamCipher','forEach','JOIN_ROOM_NOT_EXISTS','getValue','_handler','shouldCloseConn','_getAPIPrefixPath','_parse','call','USERS_LEAVE','memberID','error','_createSocketURL','infoRsp','getSnapshotAPIPath','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Utf8','createSocket','onload','HmacMD5','saveChangeset','UNRECOGNIZED','_doFinalize','MUTATION','members$','CHANGESET_REJ','_joinRoom','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_commentService','_commentUpdate$','image/bmp','onRemoteAck','authzUrl','_socketMessageSubscription','readInt32LE','type','subject','roles','map','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ws://127.0.0.1:8000/universer-api/comb/connect','registerHTTPInterceptor','_prevBlock','_transformRemoteChangesetByIMECache','replace','PSEUDO_FETCH_MISSING_RESULT','UPDATE_PERMISSION_OBJ','userID','error$','routeKey','OPTIONAL','_config','unitID','_clearUndo','univer-pro.collaboration-client.single-active-unit-service','_state','sendChangesetTimeout','/fetchmissing?from=','_transformRemoteChangesetByStateCache','Pkcs7','430239OtwNhM','_onConnectionOpen','then','isArray','defineProperty','UNIVER_SLIDE','application/json','isPermissionRej','awaiting','_onRemoteRejected','_networkConditionService','_onJoinRoomEvent','/rev/','key','/object','liveShareNewHost','\x20to\x20','_onRemoteRetry','ticket','complete','LIVESHARE_NEW_HOST','_loadDoc','_queuedRemoteChangesets','[CollaborationSession]','words','_lockTransition','POST','parse','_shouldReportTelemetry','UNKNOWN_CMD','_tryEnsureSocket','\x20-\x20','/allowed','_getDownloadEndpointURL','_createHmacHelper','686234hzUkHq','_getCurrentRevision','_hash','_loadSheet','byteOffset','getImage','get','_init','LIVESHARE_OPERATION','_onLocalMutation','editing\x20status\x20changed\x20to','closeSession','listCollaborators','COLLAB_SUBMIT_CHANGESET_URL','[UniverCollaborationClientPlugin]','href','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AWAITING_WITH_PENDING','_resendTimer','ciphertext','sigBytes','target','_members','kdf','/new_changes','_toggleOffline','_snapshotService','abs','pipe','equals','_nDataBytes','processBlock','_collaborationTimeoutTimer','\x0aCurrent:\x20','url','Decryptor','getDeserializedSheetBlock','put','[CollaborationSessionService]:\x20socket\x20error','enableAuthServer','UNIVER_UNKNOWN','FETCH_MISSING','charCodeAt','_unlockTransition','connection\x20error','exports','subscribe','?url=','c1Prime','getUnit','JOINING','getCollabEntity','_univerInstanceService','updateMember','_sessionStatus$','create','[FetchMissState]','length','TOO_MANY_REQUESTS','localCacheService','_retryCount','commentUpdate$','onSyncEditingCollabCursor','string','reset','getFocusedUnit','pluginName','enc','IDLE','onMissingChangesets','iterations','getWorkbookSelections','objectActions','BlockCipher','_transformStack','result','_oKey','reverse','awaitingChangeset','MSG_FOR_ERROR','Base','_removeRoom','delete','list','INGEST','_collaborationUIEventService','_tryReconnect','[PendingState]:\x20unhandled\x20univer\x20type:\x20','unit-cache-','transformUndoRedo','getCurrentRevOfUnit','pad','Hex','pauseCollaboration','getInterceptPoints','createEncryptor','_clearLocalCache','synced','UnitSnapshot','?size=','interceptor','startTime','_stopTelemetryCollaborationNewChangeset','UNIVER_PROJECT','PERMISSION_REJ','[OfflineState]:\x20received\x20changeset.','initWorkbookPermissionChange','_keyPriorReset','saveSnapshot','getActiveSheet','[PendingState]:\x20received\x20acknowledgement.','permissionRejEvent','UNISCRIPT_RUN','_doCryptBlock','Malformed\x20UTF-8\x20data','state$','editingUnit','deleteCollaborator','origin','_undoStacks','x-univer-host','SUBMIT_CHANGESET_TIMEOUT','session.room-cnt-exceeds','_waitCount','UNDEFINED','14JILkQd','m2Prime','onRemoteChangeset','{fileID}','onCommandExecuted','hostname','_getCtorByUniverType','textRanges','CipherParams','LICENSE_MAX_UNITS_EXCEEDED','_changesetSessionId','_initDependencies','json','NEW_CHANGESETS','_executeRemoteChangeset','padding','_httpService','PERSON','HttpImport','/universer-api/comb','getMember','_scheduleCompleteTimestamp','set','COMPRESS_MUTATION_SEND','_acknowledgedAwaitingChangeset','_incrementRevisionNumber','resolve','_iv','unitId\x20is\x20not\x20found','_remoteChangesetQueue','ERROR_EXCEED_SIZE','_getAPIPrefix','AWAITING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','extend','eventID','getLatestCsReqIdBySid','loadUnit','CHANGESET_SHOULD_RETRY','getResourcesRequest','USERS_ENTER','_unitInfo$','mode','_roomCreated$','encryptBlock','_keySchedule','LICENSE_EXPORT_SIZE_EXCEEDED','_transformSelections','APPLY_PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','prototype','_getRedoStack','getCurrentSelections','crypto','Could\x20not\x20dynamically\x20require\x20\x22','/universer-api/file/{fileID}/sign-url','\x0aAfter:\x20','event$','_userManagerService','[DataLoaderService]','DEFAULT_FILE_NAME','_resendWithTimeout','BufferedBlockAlgorithm','splice','LICENSE_DISTRO_REJECTED','unsubscribe','fetch_missing','join','SHA1','CBC','/role','_instanceService','toggleOnline','_getSendChangesetTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','clone','from','getAllMembers','reject','body','_onConflict','_onCombEvent','_transformIMECache','_syncEditingCollabCursor','auth.needGotoLoginAlert','_createHandler','_ENC_XFORM_MODE','SNAPSHOT_SERVER_URL_KEY','[OfflineState]:\x20received\x20rejection.','fromCharCode','1591360JnNNhD','init','_state$','_handlerCallback','/universer-api/stream/file/upload','\x20in\x20_schedule.','LICENSE_IMPORT_SIZE_EXCEEDED','_onOffline','addImageSourceCache','responseType','Cipher','_throwTelemetryCollaborationNewChangeset','downloadEndpointUrl','_onRecvEvent','asObservable','originalMeta','execute','ALREADY_EXISTS','/universer-api/snapshot','transformSelections','_xformMode','subUnitId','objectType','cfg','LOGIN_URL_KEY','baseRev','getCurrentUser','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','max','awaiting_with_pending','send','runId','rng','_transformService','randomUUID','_nRounds','compose','data','encrypt','slice','telemetry\x20info\x20is\x20not\x20initialized','YUUMI_RATE_OVER_LIMIT','/object/','setConfig','getUnitType','findIndex','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onlyLocal','BASE64','_hasher','updatePermissionPoint','136RJbuoj','apply','collaboration-client.local-cache-service','_schedule','_socket$','_retryConnectingTimer','session.room-permission-denied','focused$','ceil','socket$','executeCommand','20238MflGqk','onRemoteRetry','onTransformState','UNIVER_DOC','_change$','_telemetryService','_event$','Encryptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_rescheduleHeartbeat','submit\x20changeset\x20error!','OFFLINE','getRoom','_doReset','image/jpeg','SNAPSHOT_HAS_BEEN_REMOVED','listRoles','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_minBufferSize','random','uploadFileServerUrl','hasher','loadDoc','deepClone','_imageSourceCache','refreshPermission','_snapshotServerService','OTHER_CLIENTS_EDITING','getUnitOnRev','_initCloseConn','catch','[SyncedState]:\x20received\x20acknowledgement.','Undefined','/universer-api/oidc/authpage','APPLY_DUPLICATED','mixIn','_roomMembers','_key','UNKNOWN_CODE','_sendHeartbeat','fetching\x20missing\x20changesets\x20from\x20','sessionStatus$','_data','range','[CollaborationUndoRedoService]','HMAC','sheets','_fetchMissChangesets','_getSignURL','_mode','patch','session','SUBMIT_CHANGESET','objectID','_changesetReqId','onTransformSelections','&source=','msCrypto','dispose$','actions','session.join-failed','createDecryptor','_socketService','_onRemoteChangeset','_createInitialStateImpl','getTypeOfUnitAdded$','_createHelper','mutations','default','resend','charAt','format','/collaborator','save\x20fail\x20reason\x20is\x20','_disableEditing','_sendingTimer','NoPadding','encodeURIComponent','members','_sender','SHOULD_CLOSE_CONN','requireSession','compute','readyForCollab','saveImage','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_localCacheService','copyFileMeta','[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.','UNIVER_SHEET','csShouldRetryEvent','updateOfflineData','toString','_authzIoService','selections','image/gif','getSheetId','onStateChange','batchAllowed','_transformUndoredo','_localeService','byteLength','_onMessage','_updateLocalCache','_submitChangeset','collaboration-client.config','sessionStatus','_onFetchMissResult','SYNCED','UNAUTHENTICATED','ERROR_IMAGE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RECV','_compressMutationService','_clearCollaborationTimeoutTimer','liveShareOperation','_http','YUUMI_SUBSCRIPTION_NOT_FOUND','_startCollaboration','_showConflictNotification','confirm','sid','SNAPSHOT_URL_KEY','$super','setCurrentUser','unknown','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transitionLocked','pending','_candidateSocket','Base64','location','_singleActiveUnitService','getRandomValues','override','reduce','CLOSE_ROOM','_members$','_socket','COLLAB_WEB_SOCKET_URL','_waitForHeartbeatResponse','entries','_getSessionTicket','getSheetBlock','file','retryConnectingInterval','PERMISSION_DENIED','_onConnectionFailed','JOIN_ROOM_FAILED','/-/object/-/batch_allowed','loadOfflineData','onSendChangeset','__creator','enableSingleActiveInstanceLock','4240EUXyLe','getConfig','getUnitStatus$','_updateState','onLocalMutation','_pendingMutations','APPLY_NON_SEQUENTIAL_REVISION','FileId','headers','_clearTimeoutTimer','_replayCachedMutations','univer-pro.collaboration-client.network-condition.service','socket\x20open.','_toggleOnline','_applyRemoteChangeset','_createInitialState','COMPLETION_FINISHED','searchParams','code','updateCursorEvent','image/jpg','10599492VCIvUO','[CollaborationState]:\x20apply\x20error!','_redoStacks','ONLINE','lib','algo','open$','fetchMissingChangesets','waitForRoom$','changesets','441aCmSSd','function','ENSURE_SNAPSHOT_EXECUTION','_undoRedoService','stringify','getMemberID','JOIN','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_process','&to=','buffer','withCredentials','revision','next','FAIL','stopTime','_getUploadFileURL','concat','_replaceFileID','_resendTimeout','_exhaustRemoteChangesetQueue','emitEvent','[CollaborationEntity]','sessionTicket','_createSocket','_transformStateCache','_entityInit$','cmd','LIVESHARE_REQUEST_HOST','removeMember','setShowComponents','online$','_collaborationSessionService','bind','UnitEmbedded','_decreaseWaiting','/universer-api/authz','COMPRESS_MUTATION_APPLY','LEAVE','/unit/','indexOf','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','updatePermissionObjEvent','unitId','UPDATE_CURSOR','_registerDependencies','MD5','size','_scheduleCollaborationTimeoutTimer','formatter','name','decrypt','onRemoteRej','post','_sessions','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/resources','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','onTransformRemoteChangesetByIMECache','fromCollab','_socketReady','_status$','joinEvent','PasswordBasedCipher','_doProcessBlock','onTransformIME','UNIVER_COLLABORATION_CLIENT_PLUGIN','params','method','_cipher','Hasher','AES','salt','collaboratorID','message$','keySize','_injector','collaboration_new_changeset','putCollaborators','status','rev','reconnect','_startTelemetryCollaborationNewChangeset','close$','CHANGESET_ACK','/universer-api/snapshot/','_timeoutTimer','close','[OfflineState]:\x20received\x20acknowledgement.','LIVESHARE_FETCH_OPERATIONS','reqId','has','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getLoginPath','_logService','fetchMiss','_updateStatus','_initMergeInterceptor','randomBytes','signUrlServerUrl','_emitMembers','status$','_iKey','_onUserJoin','SOCKET_FAILED_RETRY','_telemetryInfo','getOwnPropertyDescriptor','APPLY_REJECT','_reverseMap','add','_entities','SNAPSHOT_INVALID_SNAPSHOT','_revisionService','_onRemoteACK','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','allowed','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getTime','APPLY_REVISION_CONFILICT','conflict','getUnitId','uniscriptRunEvent','_memberService','_onUserLeave','HELLO','onMissedChangesetFetched','_initRequestHeader','SOCKET_FAILED','OTHER_CLIENT_EDITING','_commandService','_sendHeartbeatTimer','newCsEvent','socket\x20close','onStarting','364DLUSDG','_checkMissing','disposeWithMe','_clearRedo','toLowerCase','transformChangesets','5475ykASPI','session.room-full','People','dispose','univer-pro.collaboration-client-socket-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','localeService','getTypeOfUnitDisposed$','readAsDataURL','WordArray','JOIN_ROOM_PERMISSION_DENIED','JOIN_ROOM_FULL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_HTTPService','HttpExport','filter','debug','_invKeySchedule','[CollaborationSessionService]','EvpKDF','&assign=','_unitID','loginUrlKey','ivSize','commentUpdateEvent','push','_append','OpenSSL'];_0x5106=function(){return _0x5993b9;};return _0x5106();}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x5bfca8(0x18b)][_0x5bfca8(0x281)](crypto),qt={'randomUUID':rr};function sr(_0x1cee3d,_0x559d34,_0x35eb8d){var _0xbc1634=_0x5bfca8,_0x5afd64,_0x2551f7,_0x3b897d;if(qt[_0xbc1634(0x18b)]&&!_0x1cee3d)return qt['randomUUID']();_0x1cee3d=_0x1cee3d||{};const _0x2033fb=(_0x3b897d=(_0x2551f7=_0x1cee3d[_0xbc1634(0x1ba)])!=null?_0x2551f7:(_0x5afd64=_0x1cee3d[_0xbc1634(0x189)])==null?void 0x0:_0x5afd64[_0xbc1634(0x345)](_0x1cee3d))!=null?_0x3b897d:nr();if(_0x2033fb[_0xbc1634(0xc8)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x2033fb[0x6]=_0x2033fb[0x6]&0xf|0x40,_0x2033fb[0x8]=_0x2033fb[0x8]&0x3f|0x80,tr(_0x2033fb);}const J=_0x29e1a9(_0x5bfca8(0x19e));function so(_0x117a2){var _0x5d748a=_0x5bfca8;return _0x5d748a(0xe7)+_0x117a2;}var or=Object[_0x5bfca8(0x37e)],ar=Object[_0x5bfca8(0x2cb)],cr=(_0x157868,_0x264e44,_0x204d10,_0x2934a0)=>{var _0x469c66=_0x5bfca8;for(var _0x2b5f36=_0x2934a0>0x1?void 0x0:_0x2934a0?ar(_0x264e44,_0x204d10):_0x264e44,_0xa2cb02=_0x157868[_0x469c66(0xc8)]-0x1,_0x8a5045;_0xa2cb02>=0x0;_0xa2cb02--)(_0x8a5045=_0x157868[_0xa2cb02])&&(_0x2b5f36=(_0x2934a0?_0x8a5045(_0x264e44,_0x204d10,_0x2b5f36):_0x8a5045(_0x2b5f36))||_0x2b5f36);return _0x2934a0&&_0x2b5f36&&or(_0x264e44,_0x204d10,_0x2b5f36),_0x2b5f36;},dt=(_0x2d00f8,_0x559197)=>(_0x22398c,_0x244c3a)=>_0x559197(_0x22398c,_0x244c3a,_0x2d00f8);function hr(_0x2e3c63){var _0x1914b3=_0x5bfca8;const {unitID:_0xdd46e7,mutations:_0x18b6f8}=_0x2e3c63;return{'unitId':_0xdd46e7,'subUnitId':_0x18b6f8[0x0]['params'][_0x1914b3(0x17d)]};}let it=class{constructor(_0x20608d,_0x434cd7,_0x429bd5){var _0x4254ec=_0x5bfca8;this[_0x4254ec(0x2ad)]=_0x20608d,this[_0x4254ec(0x18a)]=_0x434cd7,this[_0x4254ec(0x155)]=_0x429bd5;}[_0x5bfca8(0x17b)](_0x335529){var _0x340441=_0x5bfca8,_0x4530bf,_0x3141bc,_0x4f9a1f,_0x5ee900;const _0x45d0c1=this['_injector'][_0x340441(0x3a3)](_0x3fe6f4),{unitId:_0x2eb835,subUnitId:_0x2cd3af}=hr(_0x335529),_0x2e2dad=_0x45d0c1==null?void 0x0:_0x45d0c1[_0x340441(0xd6)](_0x2eb835)[_0x340441(0x142)](),_0x3ef1fa=(_0x3141bc=(_0x4530bf=this[_0x340441(0x155)][_0x340441(0xc0)](_0x2eb835))==null?void 0x0:_0x4530bf[_0x340441(0xfc)]())==null?void 0x0:_0x3141bc[_0x340441(0x207)]();if(_0x2e2dad['length']===0x0||!_0x2eb835||!_0x2cd3af)return;const _0x33810f=[{'id':_0x38551e['id'],'params':{'unitId':_0x2eb835,'subUnitId':_0x3ef1fa,'selections':_0xd0a3e0[_0x340441(0x1be)](_0x2e2dad)}}],_0x1cccc7=this['_transformService'][_0x340441(0x184)](_0x335529,_0x33810f);if(!_0x3c5083(_0x1cccc7))throw _0x1cccc7['error'];const _0x2d59e2=(_0x5ee900=(_0x4f9a1f=_0x1cccc7[_0x340441(0x10d)][0x0])==null?void 0x0:_0x4f9a1f[_0x340441(0x2a4)])==null?void 0x0:_0x5ee900[_0x340441(0x205)];if(Array[_0x340441(0x37d)](_0x2d59e2)&&_0x2d59e2[_0x340441(0xc8)]){if(_0x2d59e2[_0x340441(0xc8)]===_0x33810f[0x0]['params'][_0x340441(0x205)]['length']&&_0x2d59e2['every']((_0x4fca2b,_0x3882d4)=>_0x22779f[_0x340441(0x3ba)](_0x4fca2b[_0x340441(0x1d2)],_0x33810f[0x0][_0x340441(0x2a4)][_0x340441(0x205)][_0x3882d4][_0x340441(0x1d2)])))return;this[_0x340441(0x2ad)]['get'](_0x36fb84)['executeCommand'](_0x38551e['id'],{'unitId':_0x2eb835,'subUnitId':_0x3ef1fa,'selections':_0x2d59e2});}}};it=cr([dt(0x0,_0x285a0e(_0x22efd7)),dt(0x1,_0x45197c),dt(0x2,_0x34354e)],it);const ht=_0x29e1a9(_0x5bfca8(0x374));var bi=(_0x400b41=>(_0x400b41[_0x400b41[_0x5bfca8(0x31d)]=0x0]=_0x5bfca8(0x31d),_0x400b41[_0x400b41[_0x5bfca8(0x1c2)]=0x1]=_0x5bfca8(0x1c2),_0x400b41))(bi||{});const _r=new Set([_0x436b24['id']]);function zt(_0x4a0fac,_0x3dd83a,_0x1dd4e0,_0x558846,_0x4f52b8){var _0x1c80f8=_0x5bfca8,_0x5c15e9,_0x3f7217,_0x2f1664,_0x46bcee;const _0x215f68=[];for(const _0x2ba6a2 of _0x4a0fac)if(_r[_0x1c80f8(0x2bc)](_0x2ba6a2['id'])){if(_0x215f68[_0x1c80f8(0xc8)]>0x0)break;_0x215f68[_0x1c80f8(0x306)](_0x2ba6a2);break;}else _0x215f68[_0x1c80f8(0x306)](_0x2ba6a2);const _0x30370c=(_0x3f7217=(_0x5c15e9=_0x4f52b8[_0x1c80f8(0x182)]())==null?void 0x0:_0x5c15e9['userID'])!=null?_0x3f7217:'unknown',_0x20bf35=(_0x46bcee=(_0x2f1664=_0x4f52b8['getCurrentUser']())==null?void 0x0:_0x2f1664[_0x1c80f8(0x347)])!=null?_0x46bcee:_0x1c80f8(0x224);return{'changeset':{'unitID':_0x3dd83a,'type':_0x5cb3c7(_0x1dd4e0[_0x1c80f8(0x195)](_0x3dd83a)),'baseRev':_0x558846['getCurrentRevOfUnit'](_0x3dd83a),'revision':0x0,'userID':_0x30370c,'memberID':_0x20bf35,'mutations':_0x215f68},'pendingMutations':_0x4a0fac[_0x1c80f8(0x190)](_0x215f68[_0x1c80f8(0xc8)])};}function lr(_0x13d4c9,_0x59ffe5,_0x5a2d71,_0x45df60,_0x50d659){var _0x5c9c93=_0x5bfca8,_0xb44f0f,_0x35c1a5,_0x5865eb,_0x5ef88e;const _0x1a2f3a=[_0x13d4c9[_0x5c9c93(0x22e)]((_0x13b6d0,_0xc2934)=>{var _0x2d5e15=_0x5c9c93,_0x4a7d64;const {id:_0x3fb60e}=_0x13b6d0,{id:_0x2de30b,type:_0x3f9ac6}=_0xc2934,_0x36adc3=(_0x4a7d64=_0x13b6d0[_0x2d5e15(0x2a4)])!=null?_0x4a7d64:{'actions':null},_0xc99144=_0xc2934[_0x2d5e15(0x2a4)];if(_0x3fb60e&&_0x3fb60e!==_0x2de30b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3fb60e+_0x2d5e15(0x399)+_0x2de30b+'.');return{..._0x13b6d0,'id':_0x2de30b,'type':_0x3f9ac6,'params':{'unitId':_0xc99144[_0x2d5e15(0x28b)],'textRanges':_0xc99144[_0x2d5e15(0x113)],'actions':_0x57e42f[_0x2d5e15(0x18d)](_0x36adc3[_0x2d5e15(0x1e2)],_0xc99144[_0x2d5e15(0x1e2)])}};},{})],_0x11184a=(_0x35c1a5=(_0xb44f0f=_0x50d659[_0x5c9c93(0x182)]())==null?void 0x0:_0xb44f0f[_0x5c9c93(0x36d)])!=null?_0x35c1a5:_0x5c9c93(0x224),_0x3d8f3b=(_0x5ef88e=(_0x5865eb=_0x50d659[_0x5c9c93(0x182)]())==null?void 0x0:_0x5865eb[_0x5c9c93(0x347)])!=null?_0x5ef88e:'unknown';return{'changeset':{'unitID':_0x59ffe5,'type':_0x5cb3c7(_0x5a2d71['getUnitType'](_0x59ffe5)),'baseRev':_0x45df60[_0x5c9c93(0xe9)](_0x59ffe5),'revision':0x0,'userID':_0x11184a,'memberID':_0x3d8f3b,'mutations':_0x1a2f3a},'pendingMutations':[]};}function Oi(_0x4a4a15,_0x51ca09){var _0x37ccf6=_0x5bfca8;const _0xe7addf=new _0x5aa0d0(0x1);return setTimeout(()=>_0xe7addf[_0x37ccf6(0x26d)](_0x51ca09),_0x4a4a15),_0xe7addf[_0x37ccf6(0x176)]()[_0x37ccf6(0x3b9)](_0x5b513c(0x1));}const ur={'id':_0x528277['id'],'type':_0x43ebc5['MUTATION'],'params':{}};var dr=Object[_0x5bfca8(0x37e)],fr=Object['getOwnPropertyDescriptor'],Re=(_0xb4c290,_0x54bd23,_0x19fb95,_0x5828e6)=>{var _0x2ce843=_0x5bfca8;for(var _0x435164=_0x5828e6>0x1?void 0x0:_0x5828e6?fr(_0x54bd23,_0x19fb95):_0x54bd23,_0x5830c9=_0xb4c290[_0x2ce843(0xc8)]-0x1,_0x57cc0b;_0x5830c9>=0x0;_0x5830c9--)(_0x57cc0b=_0xb4c290[_0x5830c9])&&(_0x435164=(_0x5828e6?_0x57cc0b(_0x54bd23,_0x19fb95,_0x435164):_0x57cc0b(_0x435164))||_0x435164);return _0x5828e6&&_0x435164&&dr(_0x54bd23,_0x19fb95,_0x435164),_0x435164;},A=(_0x160ac0,_0x242de7)=>(_0x2e5a1d,_0x5ee3c6)=>_0x242de7(_0x2e5a1d,_0x5ee3c6,_0x160ac0),yi=(_0x316827=>(_0x316827['NOT_COLLAB']=_0x5bfca8(0x31f),_0x316827[_0x5bfca8(0x213)]=_0x5bfca8(0xf0),_0x316827[_0x5bfca8(0x337)]='pending',_0x316827[_0x5bfca8(0x12c)]=_0x5bfca8(0x382),_0x316827[_0x5bfca8(0x3ae)]=_0x5bfca8(0x186),_0x316827['FETCH_MISS']=_0x5bfca8(0x150),_0x316827['CONFLICT']=_0x5bfca8(0x2d8),_0x316827[_0x5bfca8(0x1b2)]=_0x5bfca8(0x32a),_0x316827))(yi||{});function _0xe7de(_0x4361d7,_0x4b2a3e){var _0x510615=_0x5106();return _0xe7de=function(_0xe7de46,_0x52f360){_0xe7de46=_0xe7de46-0xae;var _0x3e6cf4=_0x510615[_0xe7de46];return _0x3e6cf4;},_0xe7de(_0x4361d7,_0x4b2a3e);}const Ni=0xea60;class be{constructor(_0x22269c,_0x3b3921,_0x23fdd6,_0xc90fd0,_0x96ca3d,_0x538152,_0x561106,_0x8f4f45,_0x4dbf4b){var _0x34f687=_0x5bfca8;N(this,'_awaitingChangeset',null),N(this,_0x34f687(0x246),[]),(this[_0x34f687(0x372)]=_0x22269c,this[_0x34f687(0x361)]=_0x3b3921,this[_0x34f687(0x341)]=_0x96ca3d,this[_0x34f687(0x2e2)]=_0x538152,this[_0x34f687(0x263)]=_0x561106,this[_0x34f687(0x2d1)]=_0x8f4f45,this[_0x34f687(0x1fd)]=_0x4dbf4b,this['_awaitingChangeset']=_0x23fdd6,this[_0x34f687(0x246)]=_0xc90fd0);}[_0x5bfca8(0x2e8)](_0x298bc8){var _0xd32bd5=_0x5bfca8;const _0x53f0a9=this[_0xd32bd5(0x2d1)][_0xd32bd5(0xe9)](this[_0xd32bd5(0x372)]);return _0x298bc8['revision']>_0x53f0a9+0x1?(this[_0xd32bd5(0x341)][_0xd32bd5(0xd4)]({'from':_0x53f0a9,'to':_0x298bc8[_0xd32bd5(0x26c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2b7e3e){var _0x2a77d5=_0x5bfca8;this[_0x2a77d5(0x263)][_0x2a77d5(0xe8)](this[_0x2a77d5(0x372)],_0x2b7e3e);}[_0x5bfca8(0x13d)](_0x1b67a4){var _0x3048e4=_0x5bfca8,_0x5caf42,_0x1c5bf0;(_0x1c5bf0=(_0x5caf42=this['_handler'])[_0x3048e4(0x1de)])==null||_0x1c5bf0[_0x3048e4(0x345)](_0x5caf42,_0x1b67a4);}[_0x5bfca8(0x160)](_0x40c412){var _0x5e7012=_0x5bfca8,_0x25b72a,_0x45bda6;return(_0x45bda6=(_0x25b72a=this[_0x5e7012(0x341)])['onTransformIME'])==null?void 0x0:_0x45bda6['call'](_0x25b72a,_0x40c412);}[_0x5bfca8(0x279)](_0x42052f){var _0x2203ed=_0x5bfca8,_0x163fd4,_0x42e9b5;return(_0x42e9b5=(_0x163fd4=this[_0x2203ed(0x341)])[_0x2203ed(0x1a9)])==null?void 0x0:_0x42e9b5[_0x2203ed(0x345)](_0x163fd4,_0x42052f);}[_0x5bfca8(0x369)](_0x3e39b5){var _0x3fd870=_0x5bfca8,_0x52c86a,_0x528963,_0x4753bf;return(_0x4753bf=(_0x528963=(_0x52c86a=this[_0x3fd870(0x341)])[_0x3fd870(0x29b)])==null?void 0x0:_0x528963[_0x3fd870(0x345)](_0x52c86a,_0x3e39b5))!=null?_0x4753bf:_0x3e39b5;}[_0x5bfca8(0x378)](_0x429531){var _0x2e67c3=_0x5bfca8,_0x4b50e3,_0x1e010d,_0x255c85;return(_0x255c85=(_0x1e010d=(_0x4b50e3=this['_handler'])[_0x2e67c3(0x30e)])==null?void 0x0:_0x1e010d[_0x2e67c3(0x345)](_0x4b50e3,_0x429531))!=null?_0x255c85:_0x429531;}['_syncEditingCollabCursor'](_0x68a4de){var _0x5f2231=_0x5bfca8,_0x13eae2,_0x4d705b;if(this[_0x5f2231(0x361)]===Q['UNIVER_DOC']){const {unitID:_0xb905a4,mutations:_0x42b49a,memberID:_0x7d2479}=_0x68a4de,_0x47130b=_0x42b49a[0x0][_0x5f2231(0x2a4)][_0x5f2231(0x113)];Array[_0x5f2231(0x37d)](_0x47130b)&&_0x47130b[_0x5f2231(0xc8)]>0x0&&((_0x4d705b=(_0x13eae2=this['_handler'])[_0x5f2231(0xcd)])==null||_0x4d705b[_0x5f2231(0x345)](_0x13eae2,{'unitID':_0xb905a4,'memberID':_0x7d2479,'textRanges':_0x47130b}));}}[_0x5bfca8(0x20e)](){var _0x2da3c2=_0x5bfca8,_0x265a26;(_0x265a26=this[_0x2da3c2(0x1fd)])==null||_0x265a26[_0x2da3c2(0x202)](this['unitID'],this[_0x2da3c2(0x361)],this[_0x2da3c2(0x334)],this[_0x2da3c2(0x246)]);}[_0x5bfca8(0x39e)](){var _0xe2a844=_0x5bfca8;return this[_0xe2a844(0x2d1)][_0xe2a844(0xe9)](this['unitID']);}[_0x5bfca8(0x125)](){var _0x39f3f8=_0x5bfca8;this[_0x39f3f8(0x2d1)]['incrementRevOfUnit'](this['unitID']);}[_0x5bfca8(0x11a)](_0x46ead4){var _0x5cbf98=_0x5bfca8,_0x335723;let _0x16da6b=this[_0x5cbf98(0x369)](_0x46ead4);_0x16da6b=this['_transformRemoteChangesetByStateCache'](_0x16da6b);const _0x3d1253=_0x51db05(_0x16da6b[_0x5cbf98(0x1ea)],this[_0x5cbf98(0x2e2)],{'fromCollab':!0x0});if(!_0x3d1253[_0x5cbf98(0xda)])throw _0x3d1253['error']instanceof Error?_0x3d1253[_0x5cbf98(0x348)]:new Error((_0x335723=_0x3d1253[_0x5cbf98(0x348)])!=null?_0x335723:_0x5cbf98(0x257));this[_0x5cbf98(0x160)](_0x16da6b),this[_0x5cbf98(0x279)](_0x16da6b),this[_0x5cbf98(0x20a)](_0x46ead4),this[_0x5cbf98(0x13d)](_0x16da6b),this[_0x5cbf98(0x161)](_0x16da6b),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x1d3bf1,_0x3e085c,_0x37337e,_0x4306e8,_0x4035dd,_0x28b481,_0x5c9320,_0x5c38d7,_0x507216,_0x2ef0ce){var _0x9c8fca=_0x5bfca8;super(_0x1d3bf1,_0x3e085c,null,[],_0x37337e,_0x5c9320,_0x28b481,_0x4306e8,_0x2ef0ce),N(this,_0x9c8fca(0x2b0),_0x9c8fca(0xf0)),(this['_injector']=_0x4035dd,this['_logService']=_0x5c38d7,this['_transformService']=_0x507216,this[_0x9c8fca(0xca)]=_0x2ef0ce);}['appendMutation'](_0x5bd3d8){var _0x383915=_0x5bfca8;const _0x2c5826=this[_0x383915(0x2ad)][_0x383915(0x316)](oe,this[_0x383915(0x372)],this[_0x383915(0x361)],[_0x5bd3d8],this[_0x383915(0x341)]);return _0x2c5826[_0x383915(0x19f)](),_0x2c5826[_0x383915(0x20e)](),_0x2c5826;}[_0x5bfca8(0x10e)](_0x275c01){var _0xc706ca=_0x5bfca8;if(this[_0xc706ca(0x2e8)](_0x275c01))return this['_injector'][_0xc706ca(0x316)](te,this[_0xc706ca(0x372)],this[_0xc706ca(0x361)],null,[],null,[_0x275c01],this[_0xc706ca(0x341)]);try{const _0xfcaf09=this[_0xc706ca(0x18a)]['transformMutationsWithChangeset'](_0x275c01,[ur]);if(_0x3c5083(_0xfcaf09)){const {c1Prime:_0x3d31f6}=_0xfcaf09;return this[_0xc706ca(0x11a)](_0x3d31f6),this;}throw _0xfcaf09['error'];}catch(_0x3ffdd1){return this[_0xc706ca(0x2bf)][_0xc706ca(0x348)](_0x3ffdd1),this[_0xc706ca(0x15e)](!0x1);}}['_onConflict'](_0x16ff61){var _0x26c961=_0x5bfca8;return this[_0x26c961(0x2ad)][_0x26c961(0x316)](de,this[_0x26c961(0x372)],this[_0x26c961(0x361)],null,[],this[_0x26c961(0x341)],_0x16ff61);}[_0x5bfca8(0x35d)](){var _0x11ea6b=_0x5bfca8;throw new Error(_0x11ea6b(0x1c6));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5bfca8(0x1a8)](){return this;}['toggleOffline'](){var _0x5554e3=_0x5bfca8;return this[_0x5554e3(0x2ad)]['createInstance'](fe,this['unitID'],this[_0x5554e3(0x361)],null,[],this['_handler']);}[_0x5bfca8(0x156)](){return this;}[_0x5bfca8(0x1ec)](){var _0x2cf75b=_0x5bfca8;throw new Error(_0x2cf75b(0x225));}[_0x5bfca8(0x2c0)](){var _0x206bec=_0x5bfca8;const _0x213eb7=this[_0x206bec(0x2d1)][_0x206bec(0xe9)](this[_0x206bec(0x372)]);return this['_handler'][_0x206bec(0xd4)]({'from':_0x213eb7,'to':0x0}),this[_0x206bec(0x2ad)][_0x206bec(0x316)](te,this[_0x206bec(0x372)],this['type'],null,[],null,[],this[_0x206bec(0x341)]);}};De=Re([A(0x3,_0x285a0e(_0x45e6f8)),A(0x4,_0x285a0e(_0x22efd7)),A(0x5,_0x46a1d6),A(0x6,_0x36fb84),A(0x7,_0x43c1be),A(0x8,_0x45197c),A(0x9,_0x22b405(J))],De);let oe=class extends be{constructor(_0x4f151e,_0x139bfb,_0xda477f,_0xa9fd68,_0x325b33,_0x5b4cb0,_0x1b6322,_0x2a5e6b,_0x622c54,_0x5083e1,_0x556f04,_0x37cfbe,_0x5516a9,_0x588e86){var _0x9248cd=_0x5bfca8;super(_0x4f151e,_0x139bfb,null,_0xda477f,_0xa9fd68,_0x622c54,_0x5516a9,_0x5b4cb0,_0x588e86),N(this,_0x9248cd(0x2b0),_0x9248cd(0x227)),N(this,_0x9248cd(0x121),null),N(this,_0x9248cd(0x1f2),null),(this[_0x9248cd(0x2ad)]=_0x325b33,this[_0x9248cd(0x2db)]=_0x1b6322,this['_logService']=_0x2a5e6b,this['_configService']=_0x5083e1,this[_0x9248cd(0x18a)]=_0x556f04,this[_0x9248cd(0xc3)]=_0x37cfbe);}['appendMutation'](_0x3ba769){var _0x2c9c61=_0x5bfca8;return this['_pendingMutations']['push'](_0x3ba769),this[_0x2c9c61(0x20e)](),this;}[_0x5bfca8(0x10e)](_0x544203){var _0x139cec=_0x5bfca8;if(this[_0x139cec(0x2e8)](_0x544203))return this[_0x139cec(0x322)](),this[_0x139cec(0x2ad)]['createInstance'](te,this[_0x139cec(0x372)],this[_0x139cec(0x361)],null,this[_0x139cec(0x246)],null,[_0x544203],this[_0x139cec(0x341)]);try{const _0x1f7a24=this[_0x139cec(0x18a)][_0x139cec(0x184)](_0x544203,this[_0x139cec(0x246)]);if(_0x3c5083(_0x1f7a24)){const {c1Prime:_0x197d8b,m2Prime:_0x165484}=_0x1f7a24;this[_0x139cec(0x11a)](_0x197d8b);const _0x3fe033=this[_0x139cec(0x2ad)][_0x139cec(0x316)](oe,this[_0x139cec(0x372)],this['type'],_0x165484,this['_handler']);this[_0x139cec(0x322)]();const _0x5c4a70=new Date()['getTime'](),_0x4dd809=this[_0x139cec(0x121)]?Math[_0x139cec(0x185)](this[_0x139cec(0x121)]-_0x5c4a70,0x0):this['_getSendChangesetTimeout']();return _0x3fe033[_0x139cec(0x19f)](_0x4dd809),_0x3fe033;}throw _0x1f7a24[_0x139cec(0x348)];}catch(_0x3e06a0){return this[_0x139cec(0x2bf)][_0x139cec(0x348)](_0x3e06a0),this[_0x139cec(0x15e)](!0x1);}}[_0x5bfca8(0x35d)](){var _0x2b6fa9=_0x5bfca8;throw new Error(_0x2b6fa9(0xfd));}[_0x5bfca8(0x294)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){var _0xa1caa=_0x5bfca8;return this[_0xa1caa(0x322)](),this['_injector'][_0xa1caa(0x316)](fe,this[_0xa1caa(0x372)],this[_0xa1caa(0x361)],null,this[_0xa1caa(0x246)],this[_0xa1caa(0x341)]);}['toggleOnline'](){return this;}['_schedule'](_0x2690e6){var _0x48f5b9=_0x5bfca8;const _0x4c7061=_0x2690e6!=null?_0x2690e6:this['_getSendChangesetTimeout']();this[_0x48f5b9(0x121)]=new Date()[_0x48f5b9(0x2d6)]()+_0x4c7061,this[_0x48f5b9(0x1f2)]=setTimeout(()=>{var _0x33baee=_0x48f5b9;this['_clearScheduledTask']();let _0x5efb91=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x5efb91=zt(this[_0x33baee(0x246)],this[_0x33baee(0x372)],this['_univerInstanceService'],this[_0x33baee(0x2d1)],this[_0x33baee(0x2db)]);break;}case Q[_0x33baee(0x1aa)]:{this['_pendingMutations']['every'](_0x5328a8=>_0x5328a8['id']===_0x23b199['id'])?_0x5efb91=lr(this[_0x33baee(0x246)],this[_0x33baee(0x372)],this[_0x33baee(0xc3)],this['_revisionService'],this['_memberService']):_0x5efb91=zt(this[_0x33baee(0x246)],this[_0x33baee(0x372)],this[_0x33baee(0xc3)],this[_0x33baee(0x2d1)],this[_0x33baee(0x2db)]);break;}default:throw new Error(_0x33baee(0xe6)+this[_0x33baee(0x361)]+_0x33baee(0x16d));}const {changeset:_0x3a0d3c,pendingMutations:_0x27a671}=_0x5efb91;this[_0x33baee(0x341)]['onSendChangeset'](_0x3a0d3c);const _0x809c2d=_0x27a671['length']?this['_injector'][_0x33baee(0x316)](ae,this[_0x33baee(0x372)],this[_0x33baee(0x361)],_0x3a0d3c,_0x27a671,this[_0x33baee(0x341)],void 0x0):this[_0x33baee(0x2ad)][_0x33baee(0x316)](ue,this[_0x33baee(0x372)],this[_0x33baee(0x361)],_0x3a0d3c,this['_handler']);_0x809c2d['_updateLocalCache'](),this['_handler'][_0x33baee(0x208)](this,_0x809c2d);},_0x4c7061);}[_0x5bfca8(0x157)](){var _0x358942=_0x5bfca8,_0x30f656;const _0x436383=this['_configService'][_0x358942(0x242)](q);return(_0x30f656=_0x436383==null?void 0x0:_0x436383[_0x358942(0x376)])!=null?_0x30f656:Cn;}[_0x5bfca8(0x1ec)](){var _0x1002d8=_0x5bfca8;throw new Error(_0x1002d8(0x12e));}[_0x5bfca8(0x322)](){var _0x3828ae=_0x5bfca8;this[_0x3828ae(0x1f2)]!=null&&(clearTimeout(this[_0x3828ae(0x1f2)]),this[_0x3828ae(0x1f2)]=null);}[_0x5bfca8(0x15e)](_0x42a9be){var _0x3ac73a=_0x5bfca8;return this[_0x3ac73a(0x322)](),this[_0x3ac73a(0x2ad)][_0x3ac73a(0x316)](de,this[_0x3ac73a(0x372)],this[_0x3ac73a(0x361)],null,this[_0x3ac73a(0x246)],this['_handler'],_0x42a9be);}};oe=Re([A(0x4,_0x285a0e(_0x22efd7)),A(0x5,_0x285a0e(_0x45e6f8)),A(0x6,_0x285a0e(xe)),A(0x7,_0x43c1be),A(0x8,_0x36fb84),A(0x9,_0x44e247),A(0xa,_0x45197c),A(0xb,_0x34354e),A(0xc,_0x46a1d6),A(0xd,_0x22b405(J))],oe);let ue=class extends be{constructor(_0x1ebc07,_0x51188b,_0x4f3c5b,_0x52649e,_0x24c7b8,_0x4b19ac,_0x1cf6a1,_0x20f621,_0x3a699b,_0x338d99,_0x3ebe07){var _0x5d985e=_0x5bfca8;super(_0x1ebc07,_0x51188b,_0x4f3c5b,[],_0x52649e,_0x1cf6a1,_0x338d99,_0x4b19ac,_0x3ebe07),N(this,_0x5d985e(0x2b0),_0x5d985e(0x382)),N(this,'_resendTimeout',0x0),N(this,_0x5d985e(0x3af)),N(this,'_sender'),(this[_0x5d985e(0x2ad)]=_0x24c7b8,this[_0x5d985e(0x2bf)]=_0x20f621,this[_0x5d985e(0x18a)]=_0x3a699b);}[_0x5bfca8(0x358)](_0x1448ef){var _0x58e470=_0x5bfca8;this['_clearScheduledTask']();const _0x31a47f=this[_0x58e470(0x2ad)][_0x58e470(0x316)](ae,this['unitID'],this[_0x58e470(0x361)],this[_0x58e470(0x334)],[_0x1448ef],this[_0x58e470(0x341)],this[_0x58e470(0x3af)]);return _0x31a47f[_0x58e470(0x20e)](),_0x31a47f;}[_0x5bfca8(0x10e)](_0x39e411){var _0xc36921=_0x5bfca8;if(this[_0xc36921(0x2e8)](_0x39e411))return this[_0xc36921(0x322)](),this[_0xc36921(0x2ad)][_0xc36921(0x316)](te,this[_0xc36921(0x372)],this[_0xc36921(0x361)],this[_0xc36921(0x334)],[],null,[_0x39e411],this[_0xc36921(0x341)]);try{const _0x32ff46=this[_0xc36921(0x18a)][_0xc36921(0x2ec)]([_0x39e411],[this['_awaitingChangeset']],!0x1);if(_0x504f72(_0x32ff46)){const {c1Prime:_0x369801,c2Prime:_0x5c359f}=_0x32ff46;this[_0xc36921(0x11a)](_0x369801[0x0]),_0x5c359f[0x0][_0xc36921(0x181)]=this['_getCurrentRevision'](),this[_0xc36921(0x322)]();const _0x3fe1a3=this[_0xc36921(0x2ad)]['createInstance'](ue,this[_0xc36921(0x372)],this[_0xc36921(0x361)],_0x5c359f[0x0],this[_0xc36921(0x341)]);return _0x3fe1a3[_0xc36921(0x20e)](),_0x3fe1a3;}return this[_0xc36921(0x15e)](!0x1);}catch(_0xafd2ae){return this[_0xc36921(0x2bf)][_0xc36921(0x348)](_0xafd2ae),this[_0xc36921(0x15e)](!0x1);}}['onRemoteAck'](_0xa3e036){var _0x1a37ea=_0x5bfca8;this[_0x1a37ea(0x322)]();const _0x309955=this[_0x1a37ea(0x2d1)][_0x1a37ea(0xe9)](this[_0x1a37ea(0x372)]);if(_0xa3e036[_0x1a37ea(0x26c)]<_0x309955-0x1)return this;if(this['_checkMissing'](_0xa3e036))return this['_injector'][_0x1a37ea(0x316)](te,this['unitID'],this[_0x1a37ea(0x361)],null,[],this['_awaitingChangeset'],[],this[_0x1a37ea(0x341)]);this[_0x1a37ea(0x125)]();const _0x5eb604=this[_0x1a37ea(0x2ad)][_0x1a37ea(0x316)](De,this[_0x1a37ea(0x372)],this[_0x1a37ea(0x361)],this['_handler']);return _0x5eb604['_updateLocalCache'](),_0x5eb604;}[_0x5bfca8(0x294)](_0x409254){var _0x56b0ee=_0x5bfca8;return this[_0x56b0ee(0x15e)](!!(_0x409254!=null&&_0x409254[_0x56b0ee(0x381)]));}['onRemoteRetry'](_0x56f444){var _0x407667=_0x5bfca8;return this[_0x407667(0x273)]>Ni?this[_0x407667(0x327)]():(this[_0x407667(0x3af)]=Oi(this[_0x407667(0x273)],{'timeout':this[_0x407667(0x273)],'reqId':_0x56f444[_0x407667(0x2bb)]}),this[_0x407667(0x1f6)]=this[_0x407667(0x3af)][_0x407667(0xbd)](({reqId:_0x3fe599,timeout:_0x4de907})=>{var _0x4e100f=_0x407667;this[_0x4e100f(0x14b)](_0x3fe599,_0x4de907);}),this);}['toggleOffline'](){var _0x11ab74=_0x5bfca8;return this[_0x11ab74(0x322)](),this[_0x11ab74(0x2ad)][_0x11ab74(0x316)](fe,this[_0x11ab74(0x372)],this[_0x11ab74(0x361)],this['_awaitingChangeset'],[],this[_0x11ab74(0x341)]);}['toggleOnline'](){return this;}[_0x5bfca8(0x1ec)](){var _0x3865b1=_0x5bfca8;this[_0x3865b1(0x341)][_0x3865b1(0x23e)](this[_0x3865b1(0x334)]);}[_0x5bfca8(0x15e)](_0x3d2452){var _0x4ee9db=_0x5bfca8;return this[_0x4ee9db(0x322)](),this[_0x4ee9db(0x2ad)][_0x4ee9db(0x316)](de,this['unitID'],this[_0x4ee9db(0x361)],this['_awaitingChangeset'],[],this[_0x4ee9db(0x341)],_0x3d2452);}[_0x5bfca8(0x14b)](_0x153814,_0x3fb7ab){var _0x433b10=_0x5bfca8,_0x59af9e;_0x153814===((_0x59af9e=this['_awaitingChangeset'])==null?void 0x0:_0x59af9e[_0x433b10(0x2bb)])&&(this[_0x433b10(0x1ec)](),this[_0x433b10(0x273)]=_0x3fb7ab===0x0?0x3e8:_0x3fb7ab*0x2);}[_0x5bfca8(0x322)](){var _0x192265=_0x5bfca8,_0x302bd7;(_0x302bd7=this[_0x192265(0x1f6)])==null||_0x302bd7[_0x192265(0x14f)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x285a0e(_0x22efd7)),A(0x5,_0x285a0e(_0x45e6f8)),A(0x6,_0x36fb84),A(0x7,_0x43c1be),A(0x8,_0x45197c),A(0x9,_0x46a1d6),A(0xa,_0x22b405(J))],ue);let ae=class extends be{constructor(_0x5d0e2a,_0x4adbd8,_0x323a11,_0x1be82b,_0x34e863,_0x727bd4,_0xf6a38c,_0x13d318,_0x507026,_0xc3945c,_0x202c40,_0x1612a3,_0x4af899){var _0x40a01a=_0x5bfca8;super(_0x5d0e2a,_0x4adbd8,_0x323a11,_0x1be82b,_0x34e863,_0x507026,_0x1612a3,_0x13d318,_0x4af899),N(this,_0x40a01a(0x2b0),_0x40a01a(0x186)),N(this,_0x40a01a(0x273),0x0),N(this,_0x40a01a(0x3af)),N(this,_0x40a01a(0x1f6)),(this[_0x40a01a(0x2ad)]=_0xf6a38c,this['_logService']=_0xc3945c,this[_0x40a01a(0x18a)]=_0x202c40,this['localCacheService']=_0x4af899,_0x727bd4&&(this['_resendTimer']=_0x727bd4,this['_sender']=this[_0x40a01a(0x3af)]['subscribe'](({reqId:_0x3efaed,timeout:_0x941120})=>{var _0x5a7ccd=_0x40a01a;this[_0x5a7ccd(0x14b)](_0x3efaed,_0x941120);})));}[_0x5bfca8(0x358)](_0x499bde){var _0x19feed=_0x5bfca8;return this[_0x19feed(0x246)][_0x19feed(0x306)](_0x499bde),this;}['onRemoteChangeset'](_0x277479){var _0x12d388=_0x5bfca8;if(this[_0x12d388(0x2e8)](_0x277479))return this[_0x12d388(0x322)](),this[_0x12d388(0x2ad)][_0x12d388(0x316)](te,this['unitID'],this[_0x12d388(0x361)],this[_0x12d388(0x334)],this['_pendingMutations'],null,[_0x277479],this['_handler']);try{const _0x174f0e=this[_0x12d388(0x18a)][_0x12d388(0x2ec)]([_0x277479],[this[_0x12d388(0x334)]],!0x1);if(_0x504f72(_0x174f0e)){const {c1Prime:_0x380255,c2Prime:_0x16895f}=_0x174f0e,_0x57c791=this['_transformService'][_0x12d388(0x184)](_0x380255[0x0],this[_0x12d388(0x246)]);if(_0x3c5083(_0x57c791)){const {c1Prime:_0x3ab39d,m2Prime:_0x18d708}=_0x57c791;return this[_0x12d388(0x11a)](_0x3ab39d),_0x16895f[0x0][_0x12d388(0x181)]=this[_0x12d388(0x39e)](),this[_0x12d388(0x322)](),this[_0x12d388(0x2ad)][_0x12d388(0x316)](ae,this[_0x12d388(0x372)],this[_0x12d388(0x361)],_0x16895f[0x0],_0x18d708,this[_0x12d388(0x341)],void 0x0);}throw _0x57c791[_0x12d388(0x348)];}throw _0x174f0e[_0x12d388(0x348)];}catch(_0x1c5f1c){return this[_0x12d388(0x2bf)][_0x12d388(0x348)](_0x1c5f1c),this[_0x12d388(0x15e)](!0x1);}}['onRemoteAck'](_0x371d33){var _0x109ca6=_0x5bfca8;if(this[_0x109ca6(0x322)](),this[_0x109ca6(0x2e8)](_0x371d33))return this[_0x109ca6(0x2ad)][_0x109ca6(0x316)](te,this['unitID'],this['type'],null,this[_0x109ca6(0x246)],this[_0x109ca6(0x334)],[],this[_0x109ca6(0x341)]);this[_0x109ca6(0x125)]();const _0x367517=this[_0x109ca6(0x2ad)][_0x109ca6(0x316)](oe,this[_0x109ca6(0x372)],this[_0x109ca6(0x361)],this['_pendingMutations'],this['_handler']);return _0x367517[_0x109ca6(0x19f)](),_0x367517['_updateLocalCache'](),_0x367517;}[_0x5bfca8(0x294)](_0x11dda7){var _0x564f1e=_0x5bfca8;return this[_0x564f1e(0x15e)](!!(_0x11dda7!=null&&_0x11dda7[_0x564f1e(0x381)]));}[_0x5bfca8(0x1a8)](_0x12b1b7){var _0x771dfa=_0x5bfca8;return this[_0x771dfa(0x273)]>Ni?this['toggleOffline']():(this[_0x771dfa(0x3af)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x12b1b7[_0x771dfa(0x2bb)]}),this['_sender']=this[_0x771dfa(0x3af)][_0x771dfa(0xbd)](({reqId:_0xc460a9,timeout:_0x416e86})=>{var _0x519c5b=_0x771dfa;this[_0x519c5b(0x14b)](_0xc460a9,_0x416e86);}),this);}[_0x5bfca8(0x327)](){var _0x585210=_0x5bfca8;return this[_0x585210(0x322)](),this[_0x585210(0x2ad)][_0x585210(0x316)](fe,this[_0x585210(0x372)],this['type'],this[_0x585210(0x334)],this[_0x585210(0x246)],this['_handler']);}['toggleOnline'](){return this;}[_0x5bfca8(0x1ec)](){var _0x1b7835=_0x5bfca8;this['_handler'][_0x1b7835(0x23e)](this[_0x1b7835(0x334)]);}[_0x5bfca8(0x15e)](_0x14948a){var _0x245e1d=_0x5bfca8;return this[_0x245e1d(0x322)](),this[_0x245e1d(0x2ad)][_0x245e1d(0x316)](de,this[_0x245e1d(0x372)],this[_0x245e1d(0x361)],null,this[_0x245e1d(0x246)],this['_handler'],_0x14948a);}[_0x5bfca8(0x14b)](_0x1e809b,_0x5f5d38){var _0x396c28=_0x5bfca8,_0xd5fa3f;_0x1e809b===((_0xd5fa3f=this[_0x396c28(0x334)])==null?void 0x0:_0xd5fa3f[_0x396c28(0x2bb)])&&(this[_0x396c28(0x1ec)](),this[_0x396c28(0x273)]=_0x5f5d38===0x0?0x3e8:_0x5f5d38*0x2);}[_0x5bfca8(0x322)](){var _0x11431d=_0x5bfca8,_0x2d8e90;(_0x2d8e90=this[_0x11431d(0x1f6)])==null||_0x2d8e90[_0x11431d(0x14f)](),this[_0x11431d(0x273)]=0x0;}};ae=Re([A(0x6,_0x285a0e(_0x22efd7)),A(0x7,_0x285a0e(_0x45e6f8)),A(0x8,_0x36fb84),A(0x9,_0x43c1be),A(0xa,_0x45197c),A(0xb,_0x46a1d6),A(0xc,_0x22b405(J))],ae);let de=class extends be{constructor(_0x463836,_0x36d52c,_0x3e11fe,_0x7516ed,_0x397fa5,_0x3ed80c=!0x1,_0x1b8ec3,_0x2b02e3,_0x1a5fbc,_0x1bb830,_0x30abb8,_0x98165e,_0x3ea12c){var _0xa486bc=_0x5bfca8;super(_0x463836,_0x36d52c,_0x3e11fe,_0x7516ed,_0x397fa5,_0x2b02e3,_0x1a5fbc,_0x1bb830,_0x3ea12c),N(this,_0xa486bc(0x2b0),_0xa486bc(0x2d8)),(this['_isPermissionRej']=_0x3ed80c,this['_permissionService']=_0x1b8ec3,this[_0xa486bc(0x20b)]=_0x30abb8,this['_collaborationUIEventService']=_0x98165e,this['localCacheService']=_0x3ea12c,this[_0xa486bc(0x21e)](),this['_clearLocalCache'](),this[_0xa486bc(0x1f1)]());}['appendMutation'](){return this;}[_0x5bfca8(0x10e)](){return this;}[_0x5bfca8(0x35d)](){return this;}['onRemoteRej'](){return this;}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){return this;}['toggleOnline'](){return this;}[_0x5bfca8(0x1ec)](){var _0x2dba01=_0x5bfca8;throw new Error(_0x2dba01(0x183));}[_0x5bfca8(0xef)](){var _0x3685b0=_0x5bfca8,_0x33f738;(_0x33f738=this[_0x3685b0(0x1fd)])==null||_0x33f738[_0x3685b0(0x202)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x38250c=_0x5bfca8;this[_0x38250c(0x325)]?this['_collaborationUIEventService'][_0x38250c(0x275)]({'id':se[_0x38250c(0x239)]}):this['_collaborationUIEventService'][_0x38250c(0x275)]({'id':se[_0x38250c(0x311)]});}['_disableEditing'](){var _0x8b4e7d=_0x5bfca8;this[_0x8b4e7d(0x310)]['updatePermissionPoint'](new _0x36b9b5(this[_0x8b4e7d(0x372)])['id'],!0x1);}};de=Re([A(0x6,_0x285a0e(_0x537f08)),A(0x7,_0x36fb84),A(0x8,_0x46a1d6),A(0x9,_0x285a0e(_0x45e6f8)),A(0xa,_0x285a0e(_0xc8816f)),A(0xb,_0x285a0e(pe)),A(0xc,_0x22b405(J))],de);let fe=class extends be{constructor(_0x452c41,_0x2165c5,_0x187f73,_0xe29623,_0x5062ee,_0x26f912,_0x2ef2e0,_0xeebb75,_0x435b74,_0x447c48){var _0x39b938=_0x5bfca8;super(_0x452c41,_0x2165c5,_0x187f73,_0xe29623,_0x5062ee,_0xeebb75,_0x435b74,_0x2ef2e0,_0x447c48),N(this,'status','offline'),this[_0x39b938(0x2ad)]=_0x26f912;}[_0x5bfca8(0x358)](_0x5b392f){var _0x4bbd9c=_0x5bfca8;return this[_0x4bbd9c(0x246)]['push'](_0x5b392f),this[_0x4bbd9c(0x20e)](),this;}['onRemoteChangeset'](_0x1a70c3){var _0x4db357=_0x5bfca8;throw new Error(_0x4db357(0xf8));}[_0x5bfca8(0x35d)](){var _0x20335f=_0x5bfca8;throw new Error(_0x20335f(0x2b9));}[_0x5bfca8(0x294)](){var _0x2e94cd=_0x5bfca8;throw new Error(_0x2e94cd(0x166));}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){return this;}[_0x5bfca8(0x156)](){var _0x525d6e=_0x5bfca8;const {_injector:_0x2e84be,_pendingMutations:_0x499351,_awaitingChangeset:_0x5ac304,unitID:_0x40cfe0,_handler:_0x29579d,type:_0x325045}=this,_0x1d822f=Di(_0x2e84be,_0x40cfe0,_0x325045,_0x5ac304,_0x499351,_0x29579d);return _0x1d822f instanceof oe?_0x1d822f[_0x525d6e(0x19f)]():(_0x1d822f instanceof ae||_0x1d822f instanceof ue)&&_0x1d822f[_0x525d6e(0x1ec)](),_0x1d822f;}[_0x5bfca8(0x1ec)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x285a0e(_0x22efd7)),A(0x6,_0x285a0e(_0x45e6f8)),A(0x7,_0x36fb84),A(0x8,_0x46a1d6),A(0x9,_0x22b405(J))],fe);let te=class extends be{constructor(_0x24858e,_0x383d39,_0x5e32f6,_0x45ee19,_0x2f96ec,_0x11e360,_0x41512f,_0x5459ee,_0x270b2b,_0xec21bb,_0x2bbf4b,_0x31f251,_0x37aedf,_0x536dd6){var _0x13bb96=_0x5bfca8;super(_0x24858e,_0x383d39,_0x5e32f6,_0x45ee19,_0x41512f,_0x2bbf4b,_0x31f251,_0x270b2b,_0x536dd6),N(this,'status',_0x13bb96(0x150)),(this[_0x13bb96(0x124)]=_0x2f96ec,this[_0x13bb96(0x390)]=_0x11e360,this[_0x13bb96(0x2ad)]=_0x5459ee,this[_0x13bb96(0x2bf)]=_0xec21bb,this[_0x13bb96(0x18a)]=_0x37aedf,this['localCacheService']=_0x536dd6);}[_0x5bfca8(0x2de)](_0x51a205){var _0x430c0a=_0x5bfca8;try{const _0x39c92b=[..._0x51a205,...this[_0x430c0a(0x390)]],_0x35677c=[this[_0x430c0a(0x334)]||this[_0x430c0a(0x124)]][_0x430c0a(0x2fc)](_0x259426=>!!_0x259426);let _0x4dabfc,_0x2a3b9a;if(_0x35677c[_0x430c0a(0xc8)]){const _0x5d29da=this[_0x430c0a(0x18a)][_0x430c0a(0x2ec)](_0x39c92b,_0x35677c,!0x1);if(!_0x504f72(_0x5d29da))throw _0x5d29da[_0x430c0a(0x348)];_0x4dabfc=_0x5d29da[_0x430c0a(0xbf)],_0x2a3b9a=_0x5d29da['c2Prime'];}else _0x4dabfc=_0x39c92b,_0x2a3b9a=[];let _0x592c35=this[_0x430c0a(0x246)];_0x4dabfc[_0x430c0a(0x33e)](_0xd1f582=>{var _0x4e0fc7=_0x430c0a;let _0x9a7deb;if(_0x592c35[_0x4e0fc7(0xc8)]){const _0x3e9c5f=this[_0x4e0fc7(0x18a)]['transformMutationsWithChangeset'](_0xd1f582,_0x592c35);if(!_0x3c5083(_0x3e9c5f))throw _0x3e9c5f[_0x4e0fc7(0x348)];_0x9a7deb=_0x3e9c5f[_0x4e0fc7(0xbf)],_0x592c35=_0x3e9c5f[_0x4e0fc7(0x10d)];}else _0x9a7deb=_0xd1f582;this['_executeRemoteChangeset'](_0x9a7deb);}),this[_0x430c0a(0x124)]&&this[_0x430c0a(0x125)](),this['_awaitingChangeset']&&_0x2a3b9a['length']&&(_0x2a3b9a[0x0][_0x430c0a(0x181)]=this[_0x430c0a(0x39e)]());let _0x3e161a;if(this[_0x430c0a(0x334)]&&_0x592c35['length']!==0x0)_0x3e161a=this[_0x430c0a(0x2ad)][_0x430c0a(0x316)](ae,this[_0x430c0a(0x372)],this[_0x430c0a(0x361)],_0x2a3b9a[0x0],_0x592c35,this[_0x430c0a(0x341)],void 0x0);else{if(this[_0x430c0a(0x334)]&&_0x592c35[_0x430c0a(0xc8)]===0x0)_0x2a3b9a[0x0][_0x430c0a(0x181)]=this[_0x430c0a(0x39e)](),_0x3e161a=this[_0x430c0a(0x2ad)]['createInstance'](ue,this[_0x430c0a(0x372)],this[_0x430c0a(0x361)],_0x2a3b9a[0x0],this[_0x430c0a(0x341)]);else{if(_0x592c35[_0x430c0a(0xc8)]!==0x0){const _0xa7352d=this[_0x430c0a(0x2ad)][_0x430c0a(0x316)](oe,this['unitID'],this[_0x430c0a(0x361)],_0x592c35,this[_0x430c0a(0x341)]);_0xa7352d[_0x430c0a(0x19f)](),_0x3e161a=_0xa7352d;}else _0x3e161a=this['_injector'][_0x430c0a(0x316)](De,this[_0x430c0a(0x372)],this[_0x430c0a(0x361)],this[_0x430c0a(0x341)]);}}return _0x3e161a[_0x430c0a(0x20e)](),_0x3e161a;}catch(_0x1b7505){return this[_0x430c0a(0x2bf)][_0x430c0a(0x348)](_0x430c0a(0xc7),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1b7505),this[_0x430c0a(0x2ad)]['createInstance'](de,this['unitID'],this['type'],this[_0x430c0a(0x334)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x5bfca8(0x1ec)](){var _0x65c666=_0x5bfca8;throw new Error(_0x65c666(0x2f2));}[_0x5bfca8(0x358)](_0x3bfe40){var _0x2a8d15=_0x5bfca8;return this[_0x2a8d15(0x246)][_0x2a8d15(0x306)](_0x3bfe40),this;}[_0x5bfca8(0x10e)](_0x225b3b){var _0x8cb1ab=_0x5bfca8;return this['_queuedRemoteChangesets'][_0x8cb1ab(0x306)](_0x225b3b),this;}[_0x5bfca8(0x35d)](_0x3544e5){var _0x282586=_0x5bfca8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x282586(0x334)],this[_0x282586(0x334)]=null,this;throw new Error(_0x282586(0x197));}[_0x5bfca8(0x294)](_0x3099ce){var _0x14d976=_0x5bfca8;return this[_0x14d976(0x15e)](!!(_0x3099ce!=null&&_0x3099ce['isPermissionRej']));}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){var _0x311d4f=_0x5bfca8;return this[_0x311d4f(0x2ad)][_0x311d4f(0x316)](fe,this[_0x311d4f(0x372)],this[_0x311d4f(0x361)],this['_awaitingChangeset'],this[_0x311d4f(0x246)],this[_0x311d4f(0x341)]);}[_0x5bfca8(0x156)](){return this;}[_0x5bfca8(0x15e)](_0x5b0eea){var _0x5a644e=_0x5bfca8;return this[_0x5a644e(0x2ad)][_0x5a644e(0x316)](de,this['unitID'],this[_0x5a644e(0x361)],this[_0x5a644e(0x334)],this[_0x5a644e(0x246)],this[_0x5a644e(0x341)],_0x5b0eea);}};te=Re([A(0x7,_0x285a0e(_0x22efd7)),A(0x8,_0x285a0e(_0x45e6f8)),A(0x9,_0x43c1be),A(0xa,_0x36fb84),A(0xb,_0x46a1d6),A(0xc,_0x45197c),A(0xd,_0x22b405(J))],te);function Di(_0x1e6195,_0x2d72ff,_0x747bb4,_0x30e0f4,_0x17d527,_0x2c5a7){var _0x2ae5ad=_0x5bfca8;return _0x30e0f4&&_0x17d527[_0x2ae5ad(0xc8)]?_0x1e6195[_0x2ae5ad(0x316)](ae,_0x2d72ff,_0x747bb4,_0x30e0f4,_0x17d527,_0x2c5a7,void 0x0):_0x30e0f4?_0x1e6195[_0x2ae5ad(0x316)](ue,_0x2d72ff,_0x747bb4,_0x30e0f4,_0x2c5a7):_0x17d527[_0x2ae5ad(0xc8)]?_0x1e6195[_0x2ae5ad(0x316)](oe,_0x2d72ff,_0x747bb4,_0x17d527,_0x2c5a7):_0x1e6195[_0x2ae5ad(0x316)](De,_0x2d72ff,_0x747bb4,_0x2c5a7);}var vr=Object[_0x5bfca8(0x37e)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x59ca9d,_0x3e4166,_0x24ca97,_0x5d7974)=>{var _0x22754f=_0x5bfca8;for(var _0x3193a8=_0x5d7974>0x1?void 0x0:_0x5d7974?pr(_0x3e4166,_0x24ca97):_0x3e4166,_0xd27c52=_0x59ca9d[_0x22754f(0xc8)]-0x1,_0x276347;_0xd27c52>=0x0;_0xd27c52--)(_0x276347=_0x59ca9d[_0xd27c52])&&(_0x3193a8=(_0x5d7974?_0x276347(_0x3e4166,_0x24ca97,_0x3193a8):_0x276347(_0x3193a8))||_0x3193a8);return _0x5d7974&&_0x3193a8&&vr(_0x3e4166,_0x24ca97,_0x3193a8),_0x3193a8;},k=(_0x2c24ba,_0x3dd880)=>(_0x281b0a,_0x741f47)=>_0x3dd880(_0x281b0a,_0x741f47,_0x2c24ba);let nt=class extends _0x13f3a3{constructor(_0x58161e,_0x23878a,_0x38fa6f,_0x1d6507,_0x4d9ac4,_0x45e439,_0x4e09d4,_0x43d490,_0x5702ee,_0x4e6393,_0x5d4110,_0x2c8c76,_0x984f70){var _0x4a7498=_0x5bfca8;super(),N(this,_0x4a7498(0x16a),new _0x3de5fe(null)),N(this,_0x4a7498(0x102),this[_0x4a7498(0x16a)]['asObservable']()),N(this,'_state'),N(this,_0x4a7498(0x328),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4a7498(0x1dd),0x0),N(this,'status$',this[_0x4a7498(0x102)][_0x4a7498(0x3b9)](_0x548032(_0x1cfbff=>_0x1cfbff?_0x1cfbff['status']:yi[_0x4a7498(0x1b2)]),_0x4c5ea5(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x4a7498(0x129),[]),(this[_0x4a7498(0x372)]=_0x58161e,this['session']=_0x23878a,this['_type']=_0x38fa6f,this[_0x4a7498(0x2ad)]=_0x1d6507,this[_0x4a7498(0x218)]=_0x4d9ac4,this[_0x4a7498(0x20b)]=_0x45e439,this[_0x4a7498(0x2d1)]=_0x4e09d4,this['_eventService']=_0x43d490,this[_0x4a7498(0x2bf)]=_0x5702ee,this[_0x4a7498(0x2e2)]=_0x4e6393,this['_permissionService']=_0x5d4110,this['_singleActiveUnitService']=_0x2c8c76,this[_0x4a7498(0x1fd)]=_0x984f70);}get['state'](){return this['_state'];}async[_0x5bfca8(0x169)](){var _0x5d52bf=_0x5bfca8;if(this['state'])throw new Error(_0x5d52bf(0x158));await this[_0x5d52bf(0x3a4)]();}[_0x5bfca8(0xec)](){return this['_collaborationPaused']=!0x0,_0x162b76(()=>{var _0x29da31=_0xe7de;this[_0x29da31(0x328)]=!0x1,this[_0x29da31(0x274)]();});}[_0x5bfca8(0x245)](_0x1d82e2){var _0x4ea809=_0x5bfca8;this[_0x4ea809(0x3a6)](_0x1d82e2);}[_0x5bfca8(0x244)](_0x29e524){var _0x111292=_0x5bfca8;this[_0x111292(0x375)]=_0x29e524,this[_0x111292(0x16a)][_0x111292(0x26d)](_0x29e524);}async[_0x5bfca8(0x3a4)](){var _0x19097d=_0x5bfca8,_0x27c906;this['_updateState'](await this[_0x19097d(0x250)]()),this['_singleActiveUnitService']&&((_0x27c906=this[_0x19097d(0x22b)])==null||_0x27c906[_0x19097d(0x103)](this[_0x19097d(0x372)]),this[_0x19097d(0x2e9)](this[_0x19097d(0x22b)][_0x19097d(0x243)](this[_0x19097d(0x372)])['subscribe'](_0x2a51d5=>{var _0x21f371=_0x19097d;this[_0x21f371(0x2bf)][_0x21f371(0x2fd)](_0x21f371(0x276),_0x21f371(0x3a7),_0x2a51d5),_0x2a51d5===bi[_0x21f371(0x1c2)]?(this[_0x21f371(0x332)][_0x21f371(0x275)]({'id':se[_0x21f371(0x2e1)]}),this[_0x21f371(0x310)][_0x21f371(0x19b)](new _0x36b9b5(this[_0x21f371(0x372)])['id'],!0x1),this[_0x21f371(0x310)][_0x21f371(0x27e)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x36b9b5(this[_0x21f371(0x372)])['id'],!0x0),this[_0x21f371(0x310)][_0x21f371(0x27e)](!0x0));})));let _0x3d16b8=!0x1;return this[_0x19097d(0x2e9)](this[_0x19097d(0x1da)][_0x19097d(0x1d0)]['subscribe'](_0x53d2d2=>{var _0x54af75=_0x19097d;_0x53d2d2===Te[_0x54af75(0x259)]?this['_toggleOnline'](_0x3d16b8):_0x53d2d2===Te[_0x54af75(0x1b2)]&&(_0x3d16b8=!0x0,this[_0x54af75(0x3b6)]());})),this[_0x19097d(0x2e9)](this['session'][_0x19097d(0x147)]['subscribe'](_0xf89291=>{var _0x3e398d=_0x19097d;try{switch(_0xf89291[_0x3e398d(0x131)]){case _0x3167f1[_0x3e398d(0x119)]:{this[_0x3e398d(0x1e6)](_0x4b9402(_0xf89291[_0x3e398d(0x18e)]));break;}case _0x3167f1['CHANGESET_ACK']:{this[_0x3e398d(0x2d2)](_0xf89291[_0x3e398d(0x18e)]);break;}case _0x3167f1['CHANGESET_REJ']:{this[_0x3e398d(0x383)]();break;}case _0x3167f1[_0x3e398d(0x134)]:{this[_0x3e398d(0x38b)](_0xf89291[_0x3e398d(0x18e)]);break;}case _0x3167f1['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xf89291[_0x3e398d(0x18e)]['changesets'][_0x3e398d(0x364)](_0x232e0f=>_0x4b9402(_0x232e0f)));break;}case _0x3167f1[_0x3e398d(0xf7)]:{this[_0x3e398d(0x383)]({'isPermissionRej':!0x0});break;}case _0x3167f1[_0x3e398d(0xff)]:break;}}catch(_0x405b7){throw console[_0x3e398d(0x348)]('Error\x20on\x20receiving\x20event',_0x405b7),_0x405b7;}})),this[_0x19097d(0x375)];}[_0x5bfca8(0xba)](){this['_transitionLocked']=!0x1;}[_0x5bfca8(0x393)](){var _0x2455e7=_0x5bfca8;if(this[_0x2455e7(0x226)])throw new Error(_0x2455e7(0x1ff));this['_transitionLocked']=!0x0;}[_0x5bfca8(0x3a6)](_0x4aa72f){var _0x1a7986=_0x5bfca8;this[_0x1a7986(0x393)](),this['_updateState'](this[_0x1a7986(0x375)][_0x1a7986(0x358)](_0x4aa72f)),this['_unlockTransition']();}[_0x5bfca8(0x1e6)](_0x46a647){var _0x3c9962=_0x5bfca8;if(!(_0x46a647['revision']<=this[_0x3c9962(0x2d1)][_0x3c9962(0xe9)](this[_0x3c9962(0x372)]))){if(this[_0x3c9962(0x328)]){this[_0x3c9962(0x129)][_0x3c9962(0x306)](_0x46a647);return;}this[_0x3c9962(0x24f)](_0x46a647);}}[_0x5bfca8(0x274)](){var _0x416649=_0x5bfca8;this[_0x416649(0x129)][_0x416649(0x33e)](_0x15a7c5=>this['_applyRemoteChangeset'](_0x15a7c5)),this[_0x416649(0x129)]=[];}['_applyRemoteChangeset'](_0x58e44d){var _0x5c19a6=_0x5bfca8;const _0x3ffa73=this[_0x5c19a6(0x218)]['interceptor']['fetchThroughInterceptors'](this[_0x5c19a6(0x218)][_0x5c19a6(0xf3)][_0x5c19a6(0xed)]()['COMPRESS_MUTATION_APPLY'])(_0x58e44d[_0x5c19a6(0x1ea)],null)||_0x58e44d[_0x5c19a6(0x1ea)],_0x53ad86={..._0x58e44d,'mutations':_0x3ffa73};this[_0x5c19a6(0x393)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x53ad86)),this['_unlockTransition']();}[_0x5bfca8(0x2d2)](_0xcdfe53){var _0x3b6016=_0x5bfca8;this[_0x3b6016(0x393)](),this[_0x3b6016(0x244)](this[_0x3b6016(0x375)][_0x3b6016(0x35d)](_0xcdfe53)),this[_0x3b6016(0xba)]();}[_0x5bfca8(0x383)](_0x359571){var _0xe1e6f9=_0x5bfca8;this[_0xe1e6f9(0x393)](),this[_0xe1e6f9(0x244)](this[_0xe1e6f9(0x375)]['onRemoteRej'](_0x359571)),this['_unlockTransition']();}[_0x5bfca8(0x38b)](_0x1cc825){var _0x25ab88=_0x5bfca8;this[_0x25ab88(0x393)](),this[_0x25ab88(0x244)](this[_0x25ab88(0x375)][_0x25ab88(0x1a8)](_0x1cc825)),this[_0x25ab88(0xba)]();}[_0x5bfca8(0x212)](_0x53bf12){var _0xfb504e=_0x5bfca8;if(!(this[_0xfb504e(0x375)]instanceof te))throw new TypeError(_0xfb504e(0x1fc));const _0x408f41=_0x53bf12['map'](_0x957164=>{var _0x67854a=_0xfb504e;const _0x539686=this[_0x67854a(0x218)][_0x67854a(0xf3)][_0x67854a(0x326)](this[_0x67854a(0x218)]['interceptor'][_0x67854a(0xed)]()['COMPRESS_MUTATION_APPLY'])(_0x957164[_0x67854a(0x1ea)],null)||_0x957164[_0x67854a(0x1ea)];return{..._0x957164,'mutations':_0x539686};});this['_lockTransition'](),this[_0xfb504e(0x244)](this[_0xfb504e(0x375)][_0xfb504e(0x2de)](_0x408f41)),this[_0xfb504e(0xba)]();}[_0x5bfca8(0x3b6)](){var _0x53fef1=_0x5bfca8;this[_0x53fef1(0x393)](),this[_0x53fef1(0x244)](this[_0x53fef1(0x375)][_0x53fef1(0x327)]()),this[_0x53fef1(0xba)]();}[_0x5bfca8(0x24e)](_0x109870=!0x1){var _0x19c687=_0x5bfca8;this[_0x19c687(0x393)](),this['_updateState'](this[_0x19c687(0x375)]['toggleOnline']()),this[_0x19c687(0xba)]();const _0x363548=this[_0x19c687(0x375)];_0x109870&&_0x363548 instanceof De&&(this[_0x19c687(0x393)](),this[_0x19c687(0x244)](_0x363548[_0x19c687(0x2c0)]()),this[_0x19c687(0xba)]());}async[_0x5bfca8(0x250)](){return new Promise(_0xb8550=>{var _0x17f839=_0xe7de;this['session'][_0x17f839(0x1d0)][_0x17f839(0x3b9)](_0x5b513c(0x1))['subscribe'](async _0x39c236=>{var _0xfad35=_0x17f839;_0xb8550(await this[_0xfad35(0x1e7)](_0x39c236===Te[_0xfad35(0x259)]));});});}[_0x5bfca8(0x163)](){const _0x5c9748=this['unitID'];return{'onStateChange':(_0x125a2a,_0x471d52)=>{var _0x22b367=_0xe7de;if(_0x125a2a!==this[_0x22b367(0x375)])throw new Error(_0x22b367(0x365)+_0x125a2a[_0x22b367(0x2b0)]+_0x22b367(0x146)+_0x471d52[_0x22b367(0x2b0)]+_0x22b367(0xb0)+this[_0x22b367(0x375)][_0x22b367(0x2b0)]);this[_0x22b367(0x244)](_0x471d52);},'onSendChangeset':_0x4c9e57=>{var _0x5d65a8=_0xe7de;_0x4c9e57[_0x5d65a8(0x220)]||(_0x4c9e57[_0x5d65a8(0x220)]=this['_changesetSessionId'],_0x4c9e57[_0x5d65a8(0x2bb)]=++this['_changesetReqId']);const _0x3737b9={'eventID':_0x3167f1['SUBMIT_CHANGESET'],'data':{'unitID':_0x4c9e57[_0x5d65a8(0x372)],'unitType':this[_0x5d65a8(0x30b)],'changeset':_0x4c9e57,'memberID':this['session']['getMemberID']()}};this[_0x5d65a8(0x1da)][_0x5d65a8(0x187)](_0x3737b9,this[_0x5d65a8(0x372)]);},'onMissingChangesets':({from:_0x2a9745,to:_0x42fae7})=>{var _0x5235f5=_0xe7de;this[_0x5235f5(0x2bf)][_0x5235f5(0x2fd)]('[CollaborationEntity]',_0x5235f5(0x1cf)+_0x2a9745+_0x5235f5(0x38a)+_0x42fae7);const _0x3ed6ea={'eventID':_0x3167f1['FETCH_MISSING'],'data':{'unitID':_0x5c9748,'unitType':this[_0x5235f5(0x30b)],'from':_0x2a9745,'to':_0x42fae7}};this['session'][_0x5235f5(0x187)](_0x3ed6ea,this[_0x5235f5(0x372)]);}};}async[_0x5bfca8(0x1e7)](_0x31c622){var _0x528631=_0x5bfca8,_0x37aed1,_0x2d970e,_0x2b66b5;const _0x300955=await((_0x37aed1=this[_0x528631(0x1fd)])==null?void 0x0:_0x37aed1[_0x528631(0x23d)](this[_0x528631(0x372)])),_0x4b1bcb=(_0x2d970e=_0x300955==null?void 0x0:_0x300955['mutations'])!=null?_0x2d970e:[],_0x99ecf5=(_0x2b66b5=_0x300955==null?void 0x0:_0x300955[_0x528631(0xdd)])!=null?_0x2b66b5:null,_0x46c43f=!!(_0x99ecf5!=null&&_0x99ecf5['sid'])&&!!(_0x99ecf5!=null&&_0x99ecf5[_0x528631(0x2bb)]);this[_0x528631(0x116)]=_0x46c43f?_0x99ecf5[_0x528631(0x220)]:sr(),this[_0x528631(0x1dd)]=_0x46c43f?_0x99ecf5['reqId']:0x0;const _0x28fa40=this[_0x528631(0x372)];try{this[_0x528631(0x24b)](_0x99ecf5,_0x4b1bcb);}catch(_0x1ffcb8){this['_logService'][_0x528631(0x348)](_0x1ffcb8);}const _0xc08311=this[_0x528631(0x163)]();if(_0x31c622){const _0x27f55f=Di(this[_0x528631(0x2ad)],_0x28fa40,this[_0x528631(0x30b)],_0x99ecf5,_0x4b1bcb,_0xc08311);return _0x27f55f instanceof oe?_0x27f55f[_0x528631(0x19f)]():(_0x27f55f instanceof ae||_0x27f55f instanceof ue)&&_0x27f55f['resend'](),_0x27f55f;}return this['_injector'][_0x528631(0x316)](fe,_0x28fa40,this[_0x528631(0x30b)],_0x99ecf5,_0x4b1bcb,_0xc08311);}['_replayCachedMutations'](_0x1861b8,_0xb9f17){var _0x5f347b=_0x5bfca8,_0x1a6d78,_0x3a2cf4;const _0x4e69b4=this[_0x5f347b(0x218)]['interceptor'][_0x5f347b(0x326)](this[_0x5f347b(0x218)][_0x5f347b(0xf3)][_0x5f347b(0xed)]()[_0x5f347b(0x285)]);(_0x1a6d78=_0x4e69b4((_0x1861b8==null?void 0x0:_0x1861b8[_0x5f347b(0x1ea)])||[],null))==null||_0x1a6d78[_0x5f347b(0x33e)](_0xb1d1f7=>this[_0x5f347b(0x2e2)][_0x5f347b(0x1a6)](_0xb1d1f7['id'],_0xb1d1f7[_0x5f347b(0x2a4)])),(_0x3a2cf4=_0x4e69b4(_0xb9f17||[],null))==null||_0x3a2cf4[_0x5f347b(0x33e)](_0x4d953b=>this['_commandService'][_0x5f347b(0x1a6)](_0x4d953b['id'],_0x4d953b['params']));}};nt=Lt([k(0x3,_0x285a0e(_0x22efd7)),k(0x4,_0x285a0e(_0x358415)),k(0x5,_0x285a0e(_0xc8816f)),k(0x6,_0x285a0e(_0x45e6f8)),k(0x7,_0x285a0e(pe)),k(0x8,_0x43c1be),k(0x9,_0x36fb84),k(0xa,_0x537f08),k(0xb,_0x22b405(ht)),k(0xc,_0x22b405(J))],nt);let Tt=class extends nt{constructor(_0xbe740,_0x1e4e75,_0x265924,_0x344aad,_0xc02880,_0x529b97,_0x384f23,_0x387783,_0x228b19,_0x28b850,_0x1a8cce,_0x4d2827,_0xfd6cf4){var _0x119d80=_0x5bfca8;super(_0xbe740,_0x265924,_0x1e4e75,_0x344aad,_0xc02880,_0x529b97,_0x384f23,_0x387783,_0x228b19,_0x28b850,_0x1a8cce,_0x4d2827,_0xfd6cf4),N(this,_0x119d80(0x16b),null),(this[_0x119d80(0x372)]=_0xbe740,this[_0x119d80(0x361)]=_0x1e4e75);}['addHandlerCallback'](_0x18682b){var _0x3582a6=_0x5bfca8;this[_0x3582a6(0x16b)]=_0x18682b;}['dispose'](){var _0x1ab090=_0x5bfca8;this[_0x1ab090(0x16b)]=null,super['dispose']();}[_0x5bfca8(0x163)](){var _0x5b7dd6=_0x5bfca8;const _0x232fcf=super[_0x5b7dd6(0x163)]();return _0x232fcf['onTransformIME']=_0x2db3e7=>{var _0x1313e0=_0x5b7dd6,_0x2f75b9,_0x50db89;return(_0x50db89=(_0x2f75b9=this[_0x1313e0(0x16b)])==null?void 0x0:_0x2f75b9[_0x1313e0(0x2a2)])==null?void 0x0:_0x50db89[_0x1313e0(0x345)](_0x2f75b9,_0x2db3e7);},_0x232fcf[_0x5b7dd6(0x1a9)]=_0x57a176=>{var _0x335b9c=_0x5b7dd6,_0x14a69f,_0x5cafa9;return(_0x5cafa9=(_0x14a69f=this['_handlerCallback'])==null?void 0x0:_0x14a69f[_0x335b9c(0x1a9)])==null?void 0x0:_0x5cafa9[_0x335b9c(0x345)](_0x14a69f,_0x57a176);},_0x232fcf[_0x5b7dd6(0x1de)]=_0x1ddb48=>{var _0x277e66=_0x5b7dd6,_0x58438f,_0x14a1f5;return(_0x14a1f5=(_0x58438f=this[_0x277e66(0x16b)])==null?void 0x0:_0x58438f[_0x277e66(0x1de)])==null?void 0x0:_0x14a1f5[_0x277e66(0x345)](_0x58438f,_0x1ddb48);},_0x232fcf[_0x5b7dd6(0xcd)]=_0x34028c=>{var _0x21753f=_0x5b7dd6,_0x463e93,_0x39c74d;return(_0x39c74d=(_0x463e93=this[_0x21753f(0x16b)])==null?void 0x0:_0x463e93[_0x21753f(0xcd)])==null?void 0x0:_0x39c74d[_0x21753f(0x345)](_0x463e93,_0x34028c);},_0x232fcf[_0x5b7dd6(0x29b)]=_0x3221a7=>{var _0x258a72=_0x5b7dd6,_0xfd212f,_0x50dfb8,_0x25ef93;if(!((_0xfd212f=this[_0x258a72(0x16b)])!=null&&_0xfd212f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x258a72(0x1b8));return(_0x25ef93=(_0x50dfb8=this[_0x258a72(0x16b)])==null?void 0x0:_0x50dfb8[_0x258a72(0x29b)])==null?void 0x0:_0x25ef93[_0x258a72(0x345)](_0x50dfb8,_0x3221a7);},_0x232fcf[_0x5b7dd6(0x30e)]=_0x4f959e=>{var _0x3eb77b=_0x5b7dd6,_0x3d305b,_0x20a1fd,_0x1e75d7;if(!((_0x3d305b=this[_0x3eb77b(0x16b)])!=null&&_0x3d305b[_0x3eb77b(0x30e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1e75d7=(_0x20a1fd=this[_0x3eb77b(0x16b)])==null?void 0x0:_0x20a1fd[_0x3eb77b(0x30e)])==null?void 0x0:_0x1e75d7[_0x3eb77b(0x345)](_0x20a1fd,_0x4f959e);},_0x232fcf;}async[_0x5bfca8(0x3a4)](){var _0x4a83f5=_0x5bfca8;const _0x32ffbb=await super[_0x4a83f5(0x3a4)]();return this['disposeWithMe'](this['_commandService'][_0x4a83f5(0x110)]((_0x3874c2,_0x3c5457)=>{var _0x47f820=_0x4a83f5;if(_0x3874c2[_0x47f820(0x361)]!==_0x43ebc5[_0x47f820(0x354)]||_0x3c5457!=null&&_0x3c5457['fromCollab']||_0x3c5457!=null&&_0x3c5457['onlyLocal']||_0x3874c2['id']===_0x23b199['id'])return;const _0x4ccf42=_0x3874c2['params'];if((_0x4ccf42==null?void 0x0:_0x4ccf42['unitId'])!==this[_0x47f820(0x372)])return;const _0x47fccd=_0x3874c2,_0x13b7a5=this[_0x47f820(0x218)][_0x47f820(0xf3)][_0x47f820(0x326)](this[_0x47f820(0x218)][_0x47f820(0xf3)][_0x47f820(0xed)]()['COMPRESS_MUTATION_SEND'])([_0x47fccd],null)||[_0x47fccd];this[_0x47f820(0x3a6)](_0x13b7a5[0x0]);})),_0x32ffbb;}};Tt=Lt([k(0x3,_0x285a0e(_0x22efd7)),k(0x4,_0x285a0e(_0x358415)),k(0x5,_0x285a0e(_0xc8816f)),k(0x6,_0x285a0e(_0x45e6f8)),k(0x7,_0x285a0e(pe)),k(0x8,_0x43c1be),k(0x9,_0x36fb84),k(0xa,_0x537f08),k(0xb,_0x22b405(ht)),k(0xc,_0x22b405(J))],Tt);let Ct=class extends nt{constructor(_0x10ce37,_0x40a6b6,_0x550a24,_0x5a861a,_0x283ab2,_0x3c65b0,_0x37b741,_0xb1d629,_0x3c0d7c,_0x5a8b35,_0x2c14ea,_0x353aa2,_0xf19d63,_0xe48575){var _0x4bcc38=_0x5bfca8;super(_0x10ce37,_0x550a24,_0x40a6b6,_0x5a861a,_0x283ab2,_0x3c65b0,_0x37b741,_0x3c0d7c,_0x5a8b35,_0x2c14ea,_0x353aa2,_0xf19d63,_0xe48575),this[_0x4bcc38(0x372)]=_0x10ce37,this[_0x4bcc38(0x361)]=_0x40a6b6,this[_0x4bcc38(0x320)]=_0xb1d629;}[_0x5bfca8(0x163)](){var _0x547fef=_0x5bfca8;const _0x19af7e=super[_0x547fef(0x163)]();return _0x19af7e[_0x547fef(0x1de)]=_0x5eded3=>this[_0x547fef(0x320)][_0x547fef(0x17b)](_0x5eded3),_0x19af7e;}async[_0x5bfca8(0x3a4)](){var _0x377d1c=_0x5bfca8;const _0x3cc5c6=await super[_0x377d1c(0x3a4)]();return this[_0x377d1c(0x2e9)](this[_0x377d1c(0x2e2)]['onCommandExecuted']((_0x321425,_0x4f41d1)=>{var _0x363c59=_0x377d1c;if(_0x321425[_0x363c59(0x361)]!==_0x43ebc5[_0x363c59(0x354)]||_0x4f41d1!=null&&_0x4f41d1[_0x363c59(0x29c)]||_0x4f41d1!=null&&_0x4f41d1[_0x363c59(0x198)])return;const _0x47ac11=_0x321425[_0x363c59(0x2a4)];if((_0x47ac11==null?void 0x0:_0x47ac11['unitId'])!==this['unitID'])return;const _0x12782c=_0x321425,_0x265630=this['_compressMutationService']['interceptor'][_0x363c59(0x326)](this[_0x363c59(0x218)][_0x363c59(0xf3)][_0x363c59(0xed)]()[_0x363c59(0x123)])([_0x12782c],null)||[_0x12782c];this[_0x363c59(0x3a6)](_0x265630[0x0]);})),_0x3cc5c6;}};Ct=Lt([k(0x3,_0x285a0e(_0x22efd7)),k(0x4,_0x285a0e(_0x358415)),k(0x5,_0x285a0e(_0xc8816f)),k(0x6,_0x285a0e(_0x45e6f8)),k(0x7,_0x285a0e(it)),k(0x8,_0x285a0e(pe)),k(0x9,_0x43c1be),k(0xa,_0x36fb84),k(0xb,_0x537f08),k(0xc,_0x22b405(ht)),k(0xd,_0x22b405(J))],Ct);var mr=Object['defineProperty'],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x4e08d7,_0x40dfae,_0x33e2ae,_0x2fa83f)=>{for(var _0x18b81e=_0x2fa83f>0x1?void 0x0:_0x2fa83f?gr(_0x40dfae,_0x33e2ae):_0x40dfae,_0xe05d04=_0x4e08d7['length']-0x1,_0x29206a;_0xe05d04>=0x0;_0xe05d04--)(_0x29206a=_0x4e08d7[_0xe05d04])&&(_0x18b81e=(_0x2fa83f?_0x29206a(_0x40dfae,_0x33e2ae,_0x18b81e):_0x29206a(_0x18b81e))||_0x18b81e);return _0x2fa83f&&_0x18b81e&&mr(_0x40dfae,_0x33e2ae,_0x18b81e),_0x18b81e;},ft=(_0x3d3b9f,_0x10d85b)=>(_0x4da164,_0x380429)=>_0x10d85b(_0x4da164,_0x380429,_0x3d3b9f);let rt=class extends _0x13f3a3{constructor(_0x2446c5,_0xce21bd,_0x40d8cb){var _0x320afa=_0x5bfca8;super(),N(this,'_entities',new Map()),N(this,_0x320afa(0x27a),new _0x4268af()),N(this,'entityInit$',this[_0x320afa(0x27a)][_0x320afa(0x176)]()),(this[_0x320afa(0x2ad)]=_0x2446c5,this['_collabSessionService']=_0xce21bd,this['_univerInstanceService']=_0x40d8cb,this[_0x320afa(0x3a4)]());}[_0x5bfca8(0x2f0)](){var _0x55e630=_0x5bfca8;super[_0x55e630(0x2f0)](),this[_0x55e630(0x2cf)][_0x55e630(0x33e)](_0x49d4af=>_0x49d4af['dispose']()),this['_entities']['clear']();}['getCollabEntity'](_0x1d87aa){var _0x10d497=_0x5bfca8,_0x3c66dc;return(_0x3c66dc=this[_0x10d497(0x2cf)]['get'](_0x1d87aa))!=null?_0x3c66dc:null;}[_0x5bfca8(0x32d)](_0x5435dd){var _0x2f4e6b=_0x5bfca8;const _0x338932=this[_0x2f4e6b(0xc2)](_0x5435dd);return _0x338932?_0x278228(_0x338932):this[_0x2f4e6b(0x27a)]['pipe'](_0x533c34(_0x53ae8d=>_0x53ae8d[_0x2f4e6b(0x372)]===_0x5435dd));}[_0x5bfca8(0x1fa)](_0x28b59b){var _0x151dea=_0x5bfca8;return _0x29bacb(this[_0x151dea(0x32d)](_0x28b59b)[_0x151dea(0x3b9)](_0x15918f(()=>{})));}[_0x5bfca8(0x3a4)](){var _0x494f2f=_0x5bfca8;this[_0x494f2f(0xc3)]['getTypeOfUnitAdded$'](_0x1f23c0[_0x494f2f(0x200)])[_0x494f2f(0x3b9)](_0x22b2ec(this[_0x494f2f(0x1e1)]),_0x43fab7(0x10))[_0x494f2f(0xbd)](async _0x3db801=>{var _0x3d6977=_0x494f2f;const _0x3f0d8b=_0x3db801[_0x3d6977(0x2d9)](),_0x1d816f=await this[_0x3d6977(0x21d)](_0x3f0d8b,Q[_0x3d6977(0x200)]);this[_0x3d6977(0x2cf)][_0x3d6977(0x122)](_0x3f0d8b,_0x1d816f);}),this[_0x494f2f(0xc3)][_0x494f2f(0x1e8)](_0x1f23c0[_0x494f2f(0x1aa)])[_0x494f2f(0x3b9)](_0x22b2ec(this['dispose$']),_0x43fab7(0x10))['pipe'](_0x533c34(_0x344c91=>!_0x344c91['getUnitId']()['startsWith']('__')))[_0x494f2f(0xbd)](async _0x5d723c=>{var _0x960c95=_0x494f2f;const _0x402180=_0x5d723c[_0x960c95(0x2d9)](),_0x2b0ea8=await this[_0x960c95(0x21d)](_0x402180,Q['UNIVER_DOC']);this[_0x960c95(0x2cf)][_0x960c95(0x122)](_0x402180,_0x2b0ea8);}),_0x230e2e(this[_0x494f2f(0xc3)][_0x494f2f(0x2f4)](_0x1f23c0[_0x494f2f(0x200)]),this[_0x494f2f(0xc3)]['getTypeOfUnitDisposed$'](_0x1f23c0['UNIVER_DOC']))[_0x494f2f(0x3b9)](_0x22b2ec(this[_0x494f2f(0x1e1)]))[_0x494f2f(0xbd)](_0xc04fff=>{var _0x24b160=_0x494f2f;const _0x6dc886=_0xc04fff['getUnitId'](),_0x45ba6f=this['_entities']['get'](_0x6dc886);_0x45ba6f&&(_0x45ba6f['dispose'](),this[_0x24b160(0x2cf)]['delete'](_0x6dc886));});}async[_0x5bfca8(0x21d)](_0x4e29c5,_0x18f66e){var _0x59f17d=_0x5bfca8;const _0x6539f4=await this['_collabSessionService'][_0x59f17d(0x1f8)](_0x4e29c5),_0x4fec15=this[_0x59f17d(0x2ad)][_0x59f17d(0x316)](this[_0x59f17d(0x112)](_0x18f66e),_0x4e29c5,_0x18f66e,_0x6539f4);return await _0x4fec15[_0x59f17d(0x169)](),this[_0x59f17d(0x27a)]['next'](_0x4fec15),_0x4fec15;}[_0x5bfca8(0x112)](_0x413517){var _0x3f8b83=_0x5bfca8;switch(_0x413517){case Q[_0x3f8b83(0x1aa)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x3f8b83(0x2f9)+_0x413517);}}};rt=Sr([ft(0x0,_0x285a0e(_0x22efd7)),ft(0x1,_0x285a0e(Le)),ft(0x2,_0x34354e)],rt);var Er=Object[_0x5bfca8(0x37e)],Ir=Object[_0x5bfca8(0x2cb)],Tr=(_0x38cef5,_0xb2599e,_0x517505,_0x46aa73)=>{var _0x33a86a=_0x5bfca8;for(var _0x3c2ee3=_0x46aa73>0x1?void 0x0:_0x46aa73?Ir(_0xb2599e,_0x517505):_0xb2599e,_0x421f49=_0x38cef5[_0x33a86a(0xc8)]-0x1,_0x3e112f;_0x421f49>=0x0;_0x421f49--)(_0x3e112f=_0x38cef5[_0x421f49])&&(_0x3c2ee3=(_0x46aa73?_0x3e112f(_0xb2599e,_0x517505,_0x3c2ee3):_0x3e112f(_0x3c2ee3))||_0x3c2ee3);return _0x46aa73&&_0x3c2ee3&&Er(_0xb2599e,_0x517505,_0x3c2ee3),_0x3c2ee3;},Jt=(_0x590459,_0x4332a3)=>(_0x5ac9fe,_0x1c56eb)=>_0x4332a3(_0x5ac9fe,_0x1c56eb,_0x590459);const Cr=_0x5bfca8(0x14a),Rr='Univer';let Rt=class extends _0x4971ea{constructor(_0x445d13,_0x302967){var _0xf38163=_0x5bfca8;super(),this['_univerInstanceService']=_0x445d13,this[_0xf38163(0x313)]=_0x302967,this[_0xf38163(0x3a4)]();}['_init'](){var _0x3f3678=_0x5bfca8;this['disposeWithMe'](this[_0x3f3678(0xc3)][_0x3f3678(0x1a3)][_0x3f3678(0xbd)](()=>{var _0x51ba1e=_0x3f3678,_0xe5f322;const _0xaaccab=this[_0x51ba1e(0xc3)]['getFocusedUnit']();let _0x111e8e=(_0xe5f322=this[_0x51ba1e(0x313)][_0x51ba1e(0x242)](Cr))!=null?_0xe5f322:Rr;_0xaaccab instanceof _0x494125&&(_0x111e8e=_0xaaccab[_0x51ba1e(0x292)]),document[_0x51ba1e(0x324)]=_0x111e8e;}));}};Rt=Tr([Jt(0x0,_0x34354e),Jt(0x1,_0x44e247)],Rt);var br=Object[_0x5bfca8(0x37e)],Or=Object[_0x5bfca8(0x2cb)],yr=(_0x2aa01c,_0x3e06cb,_0x81c8bd,_0x5cd172)=>{var _0x2e876f=_0x5bfca8;for(var _0x10c5b9=_0x5cd172>0x1?void 0x0:_0x5cd172?Or(_0x3e06cb,_0x81c8bd):_0x3e06cb,_0x4c9fe3=_0x2aa01c[_0x2e876f(0xc8)]-0x1,_0x87ecf5;_0x4c9fe3>=0x0;_0x4c9fe3--)(_0x87ecf5=_0x2aa01c[_0x4c9fe3])&&(_0x10c5b9=(_0x5cd172?_0x87ecf5(_0x3e06cb,_0x81c8bd,_0x10c5b9):_0x87ecf5(_0x10c5b9))||_0x10c5b9);return _0x5cd172&&_0x10c5b9&&br(_0x3e06cb,_0x81c8bd,_0x10c5b9),_0x10c5b9;},vt=(_0x130d54,_0x14a6cf)=>(_0x49d70c,_0x4ec9fc)=>_0x14a6cf(_0x49d70c,_0x4ec9fc,_0x130d54);let st=class{constructor(_0x4bc536,_0x13513a,_0x21019d){var _0x25ece0=_0x5bfca8;this[_0x25ece0(0x313)]=_0x4bc536,this[_0x25ece0(0x11c)]=_0x13513a,this[_0x25ece0(0x2f3)]=_0x21019d,this['init']();}[_0x5bfca8(0x169)](){var _0x4da02e=_0x5bfca8;this['_httpService'][_0x4da02e(0x367)]({'priority':0x1,'interceptor':(_0x2f125b,_0x25bd3b)=>_0x25bd3b(_0x2f125b)[_0x4da02e(0x3b9)](_0x427af4(async _0x245db7=>{var _0x1bc8d0=_0x4da02e;const _0x3e0318=_0x245db7;if(_0x3e0318['status']===0x191){if(typeof window>'u')throw new Error(_0x1bc8d0(0x333));if(window[_0x1bc8d0(0x21f)](this[_0x1bc8d0(0x2f3)]['t'](_0x1bc8d0(0x162)))){const _0x460889=window[_0x1bc8d0(0x1f4)](window[_0x1bc8d0(0x22a)]['href']);window[_0x1bc8d0(0x22a)][_0x1bc8d0(0x3ac)]=this[_0x1bc8d0(0x2be)]()+_0x1bc8d0(0xbe)+_0x460889;}}return _0x3e0318;}))});}[_0x5bfca8(0x2be)](){var _0x134988=_0x5bfca8,_0x157dd3,_0x5011f1;const _0x3ff458=this[_0x134988(0x313)][_0x134988(0x242)](xn),_0x1c4646=this[_0x134988(0x313)][_0x134988(0x242)](q);return(_0x5011f1=(_0x157dd3=_0x1c4646==null?void 0x0:_0x1c4646[_0x134988(0x303)])!=null?_0x157dd3:_0x3ff458)!=null?_0x5011f1:Ln;}};st=yr([vt(0x0,_0x44e247),vt(0x1,_0x285a0e(_0x48889b)),vt(0x2,_0x285a0e(_0xc8816f))],st);var Nr=Object['defineProperty'],Dr=Object[_0x5bfca8(0x2cb)],Pr=(_0x542db2,_0x4ea38e,_0x49b24a,_0x36e9fe)=>{var _0x3b3061=_0x5bfca8;for(var _0x34d571=_0x36e9fe>0x1?void 0x0:_0x36e9fe?Dr(_0x4ea38e,_0x49b24a):_0x4ea38e,_0x3debbe=_0x542db2[_0x3b3061(0xc8)]-0x1,_0x510f9c;_0x3debbe>=0x0;_0x3debbe--)(_0x510f9c=_0x542db2[_0x3debbe])&&(_0x34d571=(_0x36e9fe?_0x510f9c(_0x4ea38e,_0x49b24a,_0x34d571):_0x510f9c(_0x34d571))||_0x34d571);return _0x36e9fe&&_0x34d571&&Nr(_0x4ea38e,_0x49b24a,_0x34d571),_0x34d571;},Xt=(_0x28443f,_0x417efb)=>(_0x2bb335,_0x271332)=>_0x417efb(_0x2bb335,_0x271332,_0x28443f);const Pi='AUTHZ_URL_KEY',wr=_0x5bfca8(0x284);let bt=class extends _0x4971ea{constructor(_0x284413,_0x39979f){var _0x49a4eb=_0x5bfca8;super(),this[_0x49a4eb(0x2fa)]=_0x284413,this[_0x49a4eb(0x313)]=_0x39979f,this['_initMergeInterceptor']();}[_0x5bfca8(0x2c2)](){var _0x107ed8=_0x5bfca8;const _0x4ffafa=this;this[_0x107ed8(0x2e9)](this[_0x107ed8(0x2fa)][_0x107ed8(0x367)]({'priority':0x3e7,'interceptor':_0x1718c7({'isMatch'(_0x2e65e4){var _0x363df5=_0x107ed8,_0x3f548f;if(_0x2e65e4[_0x363df5(0x2a5)]===_0x363df5(0x394)&&((_0x3f548f=_0x2e65e4[_0x363df5(0x338)])!=null&&_0x3f548f['body'])){const {objectID:_0x5e55c3,objectType:_0xc074f1}=_0x2e65e4[_0x363df5(0x338)]['body']||{};if(!_0x5e55c3||_0xc074f1===void 0x0)return!0x1;const _0x4d3f25=_0x4ffafa['_getAPIPrefixPath']()+'/'+_0xc074f1+_0x363df5(0x193)+_0x5e55c3+_0x363df5(0x39a);if(_0x2e65e4[_0x363df5(0xb1)]===_0x4d3f25)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48d605){var _0x49e2b6=_0x107ed8,_0x496711;return(_0x496711=_0x48d605[_0x49e2b6(0x338)])==null?void 0x0:_0x496711[_0x49e2b6(0x15d)];},'mergeParamsToRequest'(_0x22a0ba,_0xd10b91){var _0x1a8f97=_0x107ed8;const _0x283226=_0x4ffafa[_0x1a8f97(0x343)]()+'/-/object/-/batch_allowed',_0x399257=_0x22a0ba['reduce']((_0x1a02c9,_0xc3536c)=>{var _0x54f197=_0x1a8f97;const {unitID:_0xc92863,objectID:_0x573d38,objectType:_0x5973f8,actions:_0x3c689d}=_0xc3536c;return _0x1a02c9[_0xc92863]||(_0x1a02c9[_0xc92863]={}),_0x1a02c9[_0xc92863][_0x573d38]||(_0x1a02c9[_0xc92863][_0x573d38]={'objectID':_0x573d38,'objectType':_0x5973f8,'actions':[]}),_0x1a02c9[_0xc92863][_0x573d38]['actions'][_0x54f197(0x306)](..._0x3c689d),_0x1a02c9;},{}),_0x2d9b22=[];for(const _0x46e408 in _0x399257)for(const _0x1777c5 in _0x399257[_0x46e408]){const {actions:_0x9b995a,objectType:_0xc9f3a4}=_0x399257[_0x46e408][_0x1777c5],_0x5877a4=[...new Set(_0x9b995a)];_0x2d9b22[_0x1a8f97(0x306)]({'unitID':_0x46e408,'objectID':_0x1777c5,'objectType':_0xc9f3a4,'actions':_0x5877a4});}return new _0x3d38c3(_0x1a8f97(0x394),_0x283226,{'headers':_0xd10b91[_0x1a8f97(0x249)],'withCredentials':_0xd10b91[_0x1a8f97(0x26b)],'responseType':_0xd10b91[_0x1a8f97(0x171)],'body':{'requests':_0x2d9b22}});}},{'distributeResult'(_0x21dd5a,_0x3646d5){var _0x570dbd=_0x107ed8;const {objectActions:_0xfb28b8}=_0x21dd5a;return _0x3646d5[_0x570dbd(0x364)](_0x2d2401=>{var _0x45c54f=_0x570dbd;const {unitID:_0x47b475,objectID:_0x1d612f,actions:_0x1c001e}=_0x2d2401,_0x263e4e=_0xfb28b8['find'](_0x4b806f=>_0x4b806f[_0x45c54f(0x372)]===_0x47b475&&_0x4b806f['objectID']===_0x1d612f),_0x1650be=_0x1c001e[_0x45c54f(0x364)](_0x3e9d72=>_0x263e4e==null?void 0x0:_0x263e4e['actions']['find'](_0x58a43a=>_0x58a43a['action']===_0x3e9d72))['filter'](_0x53f89d=>!!_0x53f89d);return{'config':_0x2d2401,'result':{'actions':_0x1650be,'error':_0x21dd5a[_0x45c54f(0x348)]}};});}})}));}[_0x5bfca8(0x343)](){var _0x292abc=_0x5bfca8,_0x1c9ee8,_0x65be90;const _0x158a08=this['_configService'][_0x292abc(0x242)](Pi),_0x4e343f=this[_0x292abc(0x313)][_0x292abc(0x242)](q);return(_0x65be90=(_0x1c9ee8=_0x4e343f==null?void 0x0:_0x4e343f[_0x292abc(0x35e)])!=null?_0x1c9ee8:_0x158a08)!=null?_0x65be90:wr;}async[_0x5bfca8(0xc6)](_0x2e6f9e){var _0xfa4402=_0x5bfca8;const _0xb491c7=this[_0xfa4402(0x343)]()+'/'+_0x2e6f9e[_0xfa4402(0x17e)]+_0xfa4402(0x388);return(await this['_HTTPService'][_0xfa4402(0x295)](_0xb491c7,{'body':_0x2e6f9e}))[_0xfa4402(0x15d)][_0xfa4402(0x1dc)]||'';}async[_0x5bfca8(0xe2)](_0x4846bf){var _0x45ae61=_0x5bfca8;const _0x3fa26b=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x45ae61(0x2fa)][_0x45ae61(0x295)](_0x3fa26b,{'body':_0x4846bf}))[_0x45ae61(0x15d)][_0x45ae61(0x30d)];}async[_0x5bfca8(0x315)](_0x5bf967){var _0x2a68cb=_0x5bfca8;const _0x51ae20=this['_getAPIPrefixPath']()+'/'+_0x5bf967[_0x2a68cb(0x17e)]+_0x2a68cb(0x193)+_0x5bf967[_0x2a68cb(0x1dc)];await this[_0x2a68cb(0x2fa)][_0x2a68cb(0xb4)](_0x51ae20,{'body':_0x5bf967});}async[_0x5bfca8(0x2d4)](_0x117974){var _0xc4b89b=_0x5bfca8;const _0x170090=this['_getAPIPrefixPath']()+'/'+_0x117974['objectType']+_0xc4b89b(0x193)+_0x117974[_0xc4b89b(0x1dc)]+_0xc4b89b(0x39a);return(await this[_0xc4b89b(0x2fa)]['post'](_0x170090,{'body':_0x117974}))['body']['actions'];}async[_0x5bfca8(0x209)](_0x24afbf){var _0x11824d=_0x5bfca8;const _0x520c1d=this['_getAPIPrefixPath']()+_0x11824d(0x23c);return(await this['_HTTPService'][_0x11824d(0x295)](_0x520c1d,{'body':{'requests':_0x24afbf}}))[_0x11824d(0x15d)][_0x11824d(0xd7)];}async[_0x5bfca8(0x1b7)](_0x154c0d){var _0x1de185=_0x5bfca8;const _0x61b904=this[_0x1de185(0x343)]()+'/'+_0x154c0d[_0x1de185(0x17e)]+_0x1de185(0x154),_0x221c1f=await this['_HTTPService'][_0x1de185(0x295)](_0x61b904,{'body':_0x154c0d});return{'roles':_0x221c1f[_0x1de185(0x15d)][_0x1de185(0x363)],'actions':_0x221c1f[_0x1de185(0x15d)]['actions']};}async[_0x5bfca8(0x104)](_0x492b22){var _0x3570f4=_0x5bfca8;const _0x3754cd=this[_0x3570f4(0x343)]()+_0x3570f4(0x1ef);await this[_0x3570f4(0x2fa)]['delete'](_0x3754cd,{'params':{'collaboratorID':_0x492b22[_0x3570f4(0x2aa)],'objectID':_0x492b22[_0x3570f4(0x1dc)],'unitID':_0x492b22[_0x3570f4(0x372)]}});}async['updateCollaborator'](_0x592f94){var _0x587ac1=_0x5bfca8;const _0x4a3484=this[_0x587ac1(0x343)]()+_0x587ac1(0x1ef);await this['_HTTPService'][_0x587ac1(0x1d9)](_0x4a3484,{'body':_0x592f94});}async[_0x5bfca8(0x32c)](_0x31f323){var _0x491eea=_0x5bfca8;const _0x1d5ef0=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x491eea(0x2fa)]['post'](_0x1d5ef0,{'body':_0x31f323});}async[_0x5bfca8(0x3a9)](_0xad36d8){var _0x135cbf=_0x5bfca8;const _0x7c1111=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x135cbf(0x3a3)](_0x7c1111,{'params':{'objectID':_0xad36d8[_0x135cbf(0x1dc)],'unitID':_0xad36d8[_0x135cbf(0x372)]}}))[_0x135cbf(0x15d)]['collaborators'];}async[_0x5bfca8(0x2af)](_0x1e3363){var _0x2f50b0=_0x5bfca8;const _0x4a1af3=this[_0x2f50b0(0x343)]()+_0x2f50b0(0x1ef);await this[_0x2f50b0(0x2fa)][_0x2f50b0(0xb4)](_0x4a1af3,{'body':_0x1e3363});}};bt=Pr([Xt(0x0,_0x285a0e(_0x48889b)),Xt(0x1,_0x285a0e(_0x44e247))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x371262){var _0x7cff60=_0x5bfca8;return _0x371262&&_0x371262[_0x7cff60(0x30f)]&&Object[_0x7cff60(0x140)][_0x7cff60(0x31e)][_0x7cff60(0x345)](_0x371262,'default')?_0x371262[_0x7cff60(0x1eb)]:_0x371262;}var Ve={'exports':{}};function Ur(_0x1a68f4){var _0x4228d1=_0x5bfca8;throw new Error(_0x4228d1(0x144)+_0x1a68f4+_0x4228d1(0x297));}var Ge={'exports':{}},Ar=Ge[_0x5bfca8(0xbc)],Zt;function ne(){var _0x31584a=_0x5bfca8;return Zt||(Zt=0x1,function(_0x544b3c,_0x402df7){(function(_0x27f7e9,_0x431dc4){var _0x47ef96=_0xe7de;_0x544b3c[_0x47ef96(0xbc)]=_0x431dc4();}(Ar,function(){var _0x2fd9e5=_0x2fd9e5||function(_0x4f2baa,_0x3b8288){var _0x37259a=_0xe7de,_0x4b4c92;if(typeof window<'u'&&window[_0x37259a(0x143)]&&(_0x4b4c92=window[_0x37259a(0x143)]),typeof self<'u'&&self[_0x37259a(0x143)]&&(_0x4b4c92=self[_0x37259a(0x143)]),typeof globalThis<'u'&&globalThis[_0x37259a(0x143)]&&(_0x4b4c92=globalThis['crypto']),!_0x4b4c92&&typeof window<'u'&&window['msCrypto']&&(_0x4b4c92=window[_0x37259a(0x1e0)]),!_0x4b4c92&&typeof pt<'u'&&pt[_0x37259a(0x143)]&&(_0x4b4c92=pt[_0x37259a(0x143)]),!_0x4b4c92&&typeof Ur==_0x37259a(0x261))try{_0x4b4c92=require(_0x37259a(0x143));}catch{}var _0x1cbcd6=function(){var _0x22befb=_0x37259a;if(_0x4b4c92){if(typeof _0x4b4c92[_0x22befb(0x22c)]==_0x22befb(0x261))try{return _0x4b4c92['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4b4c92['randomBytes']=='function')try{return _0x4b4c92[_0x22befb(0x2c3)](0x4)[_0x22befb(0x360)]();}catch{}}throw new Error(_0x22befb(0x289));},_0x1ce830=Object[_0x37259a(0xc6)]||(function(){function _0x3054e3(){}return function(_0x1d6e97){var _0x2c031a=_0xe7de,_0x1463d2;return _0x3054e3['prototype']=_0x1d6e97,_0x1463d2=new _0x3054e3(),_0x3054e3[_0x2c031a(0x140)]=null,_0x1463d2;};}()),_0x50a15d={},_0xe324f=_0x50a15d[_0x37259a(0x25a)]={},_0x4fd33a=_0xe324f['Base']=(function(){return{'extend':function(_0x1d3069){var _0x2bbaeb=_0xe7de,_0x39f917=_0x1ce830(this);return _0x1d3069&&_0x39f917['mixIn'](_0x1d3069),(!_0x39f917['hasOwnProperty'](_0x2bbaeb(0x169))||this[_0x2bbaeb(0x169)]===_0x39f917[_0x2bbaeb(0x169)])&&(_0x39f917[_0x2bbaeb(0x169)]=function(){var _0x311b6b=_0x2bbaeb;_0x39f917[_0x311b6b(0x222)][_0x311b6b(0x169)][_0x311b6b(0x19d)](this,arguments);}),_0x39f917[_0x2bbaeb(0x169)]['prototype']=_0x39f917,_0x39f917[_0x2bbaeb(0x222)]=this,_0x39f917;},'create':function(){var _0x1d209a=_0xe7de,_0x924f95=this[_0x1d209a(0x130)]();return _0x924f95[_0x1d209a(0x169)][_0x1d209a(0x19d)](_0x924f95,arguments),_0x924f95;},'init':function(){},'mixIn':function(_0x43da8e){var _0x1fc426=_0xe7de;for(var _0x2e9828 in _0x43da8e)_0x43da8e[_0x1fc426(0x31e)](_0x2e9828)&&(this[_0x2e9828]=_0x43da8e[_0x2e9828]);_0x43da8e['hasOwnProperty'](_0x1fc426(0x203))&&(this[_0x1fc426(0x203)]=_0x43da8e[_0x1fc426(0x203)]);},'clone':function(){var _0x52d4ba=_0xe7de;return this[_0x52d4ba(0x169)]['prototype'][_0x52d4ba(0x130)](this);}};}()),_0x5cf33d=_0xe324f['WordArray']=_0x4fd33a[_0x37259a(0x130)]({'init':function(_0x4fb653,_0x1cf8d8){var _0x680b5c=_0x37259a;_0x4fb653=this['words']=_0x4fb653||[],_0x1cf8d8!=_0x3b8288?this['sigBytes']=_0x1cf8d8:this[_0x680b5c(0x3b1)]=_0x4fb653['length']*0x4;},'toString':function(_0x462b6f){var _0x4a96e0=_0x37259a;return(_0x462b6f||_0x110af0)[_0x4a96e0(0x264)](this);},'concat':function(_0x2f1989){var _0xf63ba4=_0x37259a,_0x551c62=this['words'],_0x2eb398=_0x2f1989[_0xf63ba4(0x392)],_0x52b8ec=this[_0xf63ba4(0x3b1)],_0x4507bb=_0x2f1989[_0xf63ba4(0x3b1)];if(this[_0xf63ba4(0x31c)](),_0x52b8ec%0x4)for(var _0x1f438c=0x0;_0x1f438c<_0x4507bb;_0x1f438c++){var _0x4762f6=_0x2eb398[_0x1f438c>>>0x2]>>>0x18-_0x1f438c%0x4*0x8&0xff;_0x551c62[_0x52b8ec+_0x1f438c>>>0x2]|=_0x4762f6<<0x18-(_0x52b8ec+_0x1f438c)%0x4*0x8;}else{for(var _0x5d03ea=0x0;_0x5d03ea<_0x4507bb;_0x5d03ea+=0x4)_0x551c62[_0x52b8ec+_0x5d03ea>>>0x2]=_0x2eb398[_0x5d03ea>>>0x2];}return this[_0xf63ba4(0x3b1)]+=_0x4507bb,this;},'clamp':function(){var _0x5ad572=_0x37259a,_0x23a0b4=this[_0x5ad572(0x392)],_0xc536e0=this[_0x5ad572(0x3b1)];_0x23a0b4[_0xc536e0>>>0x2]&=0xffffffff<<0x20-_0xc536e0%0x4*0x8,_0x23a0b4['length']=_0x4f2baa[_0x5ad572(0x1a4)](_0xc536e0/0x4);},'clone':function(){var _0x19a4c8=_0x37259a,_0x515644=_0x4fd33a[_0x19a4c8(0x159)][_0x19a4c8(0x345)](this);return _0x515644['words']=this[_0x19a4c8(0x392)]['slice'](0x0),_0x515644;},'random':function(_0x5dc9c6){var _0x2bc564=_0x37259a;for(var _0x4ed0b4=[],_0x485440=0x0;_0x485440<_0x5dc9c6;_0x485440+=0x4)_0x4ed0b4[_0x2bc564(0x306)](_0x1cbcd6());return new _0x5cf33d[(_0x2bc564(0x169))](_0x4ed0b4,_0x5dc9c6);}}),_0x3a9c62=_0x50a15d[_0x37259a(0xd2)]={},_0x110af0=_0x3a9c62[_0x37259a(0xeb)]={'stringify':function(_0x275a0a){var _0x438a4d=_0x37259a;for(var _0x452ea0=_0x275a0a['words'],_0x1e116d=_0x275a0a['sigBytes'],_0x199b46=[],_0x4536d7=0x0;_0x4536d7<_0x1e116d;_0x4536d7++){var _0x2c3c2a=_0x452ea0[_0x4536d7>>>0x2]>>>0x18-_0x4536d7%0x4*0x8&0xff;_0x199b46[_0x438a4d(0x306)]((_0x2c3c2a>>>0x4)[_0x438a4d(0x203)](0x10)),_0x199b46['push']((_0x2c3c2a&0xf)['toString'](0x10));}return _0x199b46['join']('');},'parse':function(_0x25accf){var _0x719832=_0x37259a;for(var _0x153533=_0x25accf[_0x719832(0xc8)],_0x5dddb6=[],_0x5f104e=0x0;_0x5f104e<_0x153533;_0x5f104e+=0x2)_0x5dddb6[_0x5f104e>>>0x3]|=parseInt(_0x25accf[_0x719832(0x31b)](_0x5f104e,0x2),0x10)<<0x18-_0x5f104e%0x8*0x4;return new _0x5cf33d[(_0x719832(0x169))](_0x5dddb6,_0x153533/0x2);}},_0x82e677=_0x3a9c62['Latin1']={'stringify':function(_0x52b28d){var _0x3c8535=_0x37259a;for(var _0x55a770=_0x52b28d[_0x3c8535(0x392)],_0x4f0ed8=_0x52b28d[_0x3c8535(0x3b1)],_0x22382c=[],_0x4b2c8d=0x0;_0x4b2c8d<_0x4f0ed8;_0x4b2c8d++){var _0x340a7c=_0x55a770[_0x4b2c8d>>>0x2]>>>0x18-_0x4b2c8d%0x4*0x8&0xff;_0x22382c['push'](String[_0x3c8535(0x167)](_0x340a7c));}return _0x22382c[_0x3c8535(0x151)]('');},'parse':function(_0x376a92){var _0x4ae838=_0x37259a;for(var _0x130c9f=_0x376a92[_0x4ae838(0xc8)],_0x15dcc7=[],_0x5157ae=0x0;_0x5157ae<_0x130c9f;_0x5157ae++)_0x15dcc7[_0x5157ae>>>0x2]|=(_0x376a92[_0x4ae838(0xb9)](_0x5157ae)&0xff)<<0x18-_0x5157ae%0x4*0x8;return new _0x5cf33d[(_0x4ae838(0x169))](_0x15dcc7,_0x130c9f);}},_0x4696d4=_0x3a9c62['Utf8']={'stringify':function(_0x16648f){var _0x23e753=_0x37259a;try{return decodeURIComponent(escape(_0x82e677[_0x23e753(0x264)](_0x16648f)));}catch{throw new Error(_0x23e753(0x101));}},'parse':function(_0x1fb43e){var _0x138175=_0x37259a;return _0x82e677[_0x138175(0x395)](unescape(encodeURIComponent(_0x1fb43e)));}},_0x2177de=_0xe324f['BufferedBlockAlgorithm']=_0x4fd33a[_0x37259a(0x130)]({'reset':function(){var _0x3bf3fa=_0x37259a;this[_0x3bf3fa(0x1d1)]=new _0x5cf33d[(_0x3bf3fa(0x169))](),this[_0x3bf3fa(0x3bb)]=0x0;},'_append':function(_0x585f4b){var _0x4e3141=_0x37259a;typeof _0x585f4b==_0x4e3141(0xce)&&(_0x585f4b=_0x4696d4[_0x4e3141(0x395)](_0x585f4b)),this['_data'][_0x4e3141(0x271)](_0x585f4b),this[_0x4e3141(0x3bb)]+=_0x585f4b[_0x4e3141(0x3b1)];},'_process':function(_0x303eed){var _0x49d987=_0x37259a,_0x2eeb3f,_0x1807a7=this[_0x49d987(0x1d1)],_0x2ae073=_0x1807a7[_0x49d987(0x392)],_0x554c15=_0x1807a7[_0x49d987(0x3b1)],_0x409e8d=this['blockSize'],_0x291399=_0x409e8d*0x4,_0x51a399=_0x554c15/_0x291399;_0x303eed?_0x51a399=_0x4f2baa[_0x49d987(0x1a4)](_0x51a399):_0x51a399=_0x4f2baa['max']((_0x51a399|0x0)-this[_0x49d987(0x1b9)],0x0);var _0x36972c=_0x51a399*_0x409e8d,_0x7f83da=_0x4f2baa['min'](_0x36972c*0x4,_0x554c15);if(_0x36972c){for(var _0x2a9f30=0x0;_0x2a9f30<_0x36972c;_0x2a9f30+=_0x409e8d)this[_0x49d987(0x2a1)](_0x2ae073,_0x2a9f30);_0x2eeb3f=_0x2ae073['splice'](0x0,_0x36972c),_0x1807a7[_0x49d987(0x3b1)]-=_0x7f83da;}return new _0x5cf33d[(_0x49d987(0x169))](_0x2eeb3f,_0x7f83da);},'clone':function(){var _0x440945=_0x37259a,_0x257cfe=_0x4fd33a[_0x440945(0x159)]['call'](this);return _0x257cfe[_0x440945(0x1d1)]=this['_data'][_0x440945(0x159)](),_0x257cfe;},'_minBufferSize':0x0});_0xe324f[_0x37259a(0x2a7)]=_0x2177de[_0x37259a(0x130)]({'cfg':_0x4fd33a[_0x37259a(0x130)](),'init':function(_0xed61fe){var _0x3a0d2c=_0x37259a;this['cfg']=this[_0x3a0d2c(0x17f)]['extend'](_0xed61fe),this[_0x3a0d2c(0xcf)]();},'reset':function(){var _0x42f353=_0x37259a;_0x2177de[_0x42f353(0xcf)][_0x42f353(0x345)](this),this[_0x42f353(0x1b4)]();},'update':function(_0x132070){var _0x578b36=_0x37259a;return this[_0x578b36(0x307)](_0x132070),this['_process'](),this;},'finalize':function(_0x7e8244){var _0x4a1ae4=_0x37259a;_0x7e8244&&this[_0x4a1ae4(0x307)](_0x7e8244);var _0x310b62=this[_0x4a1ae4(0x353)]();return _0x310b62;},'blockSize':0x10,'_createHelper':function(_0x55be71){return function(_0x45cfb8,_0xdbf959){var _0x588ddb=_0xe7de;return new _0x55be71['init'](_0xdbf959)[_0x588ddb(0x339)](_0x45cfb8);};},'_createHmacHelper':function(_0xe3bf6e){return function(_0x565b92,_0x35ee58){var _0x2a2a88=_0xe7de;return new _0x4d8b9a['HMAC']['init'](_0xe3bf6e,_0x35ee58)[_0x2a2a88(0x339)](_0x565b92);};}});var _0x4d8b9a=_0x50a15d[_0x37259a(0x25b)]={};return _0x50a15d;}(Math);return _0x2fd9e5;}));}(Ge)),Ge[_0x31584a(0xbc)];}var We={'exports':{}},xr=We[_0x5bfca8(0xbc)],Qt;function wi(){var _0x1fec59=_0x5bfca8;return Qt||(Qt=0x1,function(_0x22a5a7,_0x23f9a3){(function(_0x5b0b06,_0x44f4d9){var _0x2cdb40=_0xe7de;_0x22a5a7[_0x2cdb40(0xbc)]=_0x44f4d9(ne());}(xr,function(_0x23ed87){return(function(){var _0x56679f=_0xe7de,_0x41d1e3=_0x23ed87,_0x1c4b01=_0x41d1e3['lib'],_0x15b72d=_0x1c4b01[_0x56679f(0x2f6)],_0x4ab9f9=_0x41d1e3[_0x56679f(0xd2)];_0x4ab9f9['Base64']={'stringify':function(_0x27596c){var _0x5de6d9=_0x56679f,_0x435291=_0x27596c[_0x5de6d9(0x392)],_0x818f50=_0x27596c['sigBytes'],_0x8504a8=this['_map'];_0x27596c[_0x5de6d9(0x31c)]();for(var _0x46a8d1=[],_0x2dbbe6=0x0;_0x2dbbe6<_0x818f50;_0x2dbbe6+=0x3)for(var _0x1f1730=_0x435291[_0x2dbbe6>>>0x2]>>>0x18-_0x2dbbe6%0x4*0x8&0xff,_0x5476c5=_0x435291[_0x2dbbe6+0x1>>>0x2]>>>0x18-(_0x2dbbe6+0x1)%0x4*0x8&0xff,_0x374730=_0x435291[_0x2dbbe6+0x2>>>0x2]>>>0x18-(_0x2dbbe6+0x2)%0x4*0x8&0xff,_0x4b9eb4=_0x1f1730<<0x10|_0x5476c5<<0x8|_0x374730,_0x3cde4e=0x0;_0x3cde4e<0x4&&_0x2dbbe6+_0x3cde4e*0.75<_0x818f50;_0x3cde4e++)_0x46a8d1[_0x5de6d9(0x306)](_0x8504a8['charAt'](_0x4b9eb4>>>0x6*(0x3-_0x3cde4e)&0x3f));var _0x168335=_0x8504a8['charAt'](0x40);if(_0x168335){for(;_0x46a8d1['length']%0x4;)_0x46a8d1[_0x5de6d9(0x306)](_0x168335);}return _0x46a8d1[_0x5de6d9(0x151)]('');},'parse':function(_0x1bc781){var _0x3324a0=_0x56679f,_0x3fe2e4=_0x1bc781[_0x3324a0(0xc8)],_0x3c41a6=this['_map'],_0x4ba067=this['_reverseMap'];if(!_0x4ba067){_0x4ba067=this[_0x3324a0(0x2cd)]=[];for(var _0x3265a1=0x0;_0x3265a1<_0x3c41a6[_0x3324a0(0xc8)];_0x3265a1++)_0x4ba067[_0x3c41a6[_0x3324a0(0xb9)](_0x3265a1)]=_0x3265a1;}var _0x3574f9=_0x3c41a6[_0x3324a0(0x1ed)](0x40);if(_0x3574f9){var _0x1bd57b=_0x1bc781[_0x3324a0(0x288)](_0x3574f9);_0x1bd57b!==-0x1&&(_0x3fe2e4=_0x1bd57b);}return _0x2a7b7f(_0x1bc781,_0x3fe2e4,_0x4ba067);},'_map':_0x56679f(0x34c)};function _0x2a7b7f(_0x1cacdd,_0x172e3d,_0x3ab297){var _0x514e46=_0x56679f;for(var _0x49b2cd=[],_0x212036=0x0,_0x573286=0x0;_0x573286<_0x172e3d;_0x573286++)if(_0x573286%0x4){var _0x264e7c=_0x3ab297[_0x1cacdd['charCodeAt'](_0x573286-0x1)]<<_0x573286%0x4*0x2,_0x3cb4f1=_0x3ab297[_0x1cacdd[_0x514e46(0xb9)](_0x573286)]>>>0x6-_0x573286%0x4*0x2,_0x4aebdf=_0x264e7c|_0x3cb4f1;_0x49b2cd[_0x212036>>>0x2]|=_0x4aebdf<<0x18-_0x212036%0x4*0x8,_0x212036++;}return _0x15b72d['create'](_0x49b2cd,_0x212036);}}()),_0x23ed87['enc']['Base64'];}));}(We)),We[_0x1fec59(0xbc)];}var Ke={'exports':{}},Lr=Ke[_0x5bfca8(0xbc)],ei;function Mr(){var _0x3a5fb8=_0x5bfca8;return ei||(ei=0x1,function(_0x21a6a7,_0x8ee270){(function(_0x3f2454,_0x2feb53){var _0x1a3504=_0xe7de;_0x21a6a7[_0x1a3504(0xbc)]=_0x2feb53(ne());}(Lr,function(_0x292e36){var _0x3366cb=_0xe7de;return function(_0x1d6dfd){var _0x3e60cd=_0xe7de,_0x51cb08=_0x292e36,_0x4f1444=_0x51cb08['lib'],_0x1e3e71=_0x4f1444['WordArray'],_0x1990b5=_0x4f1444[_0x3e60cd(0x2a7)],_0x202823=_0x51cb08[_0x3e60cd(0x25b)],_0x25dab0=[];(function(){var _0x179412=_0x3e60cd;for(var _0x5e5cca=0x0;_0x5e5cca<0x40;_0x5e5cca++)_0x25dab0[_0x5e5cca]=_0x1d6dfd[_0x179412(0x3b8)](_0x1d6dfd['sin'](_0x5e5cca+0x1))*0x100000000|0x0;}());var _0x5730e7=_0x202823['MD5']=_0x1990b5[_0x3e60cd(0x130)]({'_doReset':function(){this['_hash']=new _0x1e3e71['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xcce799,_0x244a31){var _0x75cae1=_0x3e60cd;for(var _0x14e9ed=0x0;_0x14e9ed<0x10;_0x14e9ed++){var _0x4d7d0a=_0x244a31+_0x14e9ed,_0x2b49ab=_0xcce799[_0x4d7d0a];_0xcce799[_0x4d7d0a]=(_0x2b49ab<<0x8|_0x2b49ab>>>0x18)&0xff00ff|(_0x2b49ab<<0x18|_0x2b49ab>>>0x8)&0xff00ff00;}var _0x49becd=this['_hash'][_0x75cae1(0x392)],_0x4bb6b9=_0xcce799[_0x244a31+0x0],_0x3f09f1=_0xcce799[_0x244a31+0x1],_0x3c4320=_0xcce799[_0x244a31+0x2],_0x5dfdc7=_0xcce799[_0x244a31+0x3],_0x16419d=_0xcce799[_0x244a31+0x4],_0x570a62=_0xcce799[_0x244a31+0x5],_0xd0b8b4=_0xcce799[_0x244a31+0x6],_0x45353b=_0xcce799[_0x244a31+0x7],_0x252b16=_0xcce799[_0x244a31+0x8],_0xe1914d=_0xcce799[_0x244a31+0x9],_0x5645e4=_0xcce799[_0x244a31+0xa],_0x404056=_0xcce799[_0x244a31+0xb],_0x1143e7=_0xcce799[_0x244a31+0xc],_0x457259=_0xcce799[_0x244a31+0xd],_0x4448ea=_0xcce799[_0x244a31+0xe],_0x4354f3=_0xcce799[_0x244a31+0xf],_0x32e57b=_0x49becd[0x0],_0x2a10ad=_0x49becd[0x1],_0x121bbb=_0x49becd[0x2],_0x21dc78=_0x49becd[0x3];_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x4bb6b9,0x7,_0x25dab0[0x0]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x3f09f1,0xc,_0x25dab0[0x1]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x3c4320,0x11,_0x25dab0[0x2]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x5dfdc7,0x16,_0x25dab0[0x3]),_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x16419d,0x7,_0x25dab0[0x4]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x570a62,0xc,_0x25dab0[0x5]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0xd0b8b4,0x11,_0x25dab0[0x6]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x45353b,0x16,_0x25dab0[0x7]),_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x252b16,0x7,_0x25dab0[0x8]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0xe1914d,0xc,_0x25dab0[0x9]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5645e4,0x11,_0x25dab0[0xa]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x404056,0x16,_0x25dab0[0xb]),_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x1143e7,0x7,_0x25dab0[0xc]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x457259,0xc,_0x25dab0[0xd]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4448ea,0x11,_0x25dab0[0xe]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x4354f3,0x16,_0x25dab0[0xf]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x3f09f1,0x5,_0x25dab0[0x10]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0xd0b8b4,0x9,_0x25dab0[0x11]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x404056,0xe,_0x25dab0[0x12]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x4bb6b9,0x14,_0x25dab0[0x13]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x570a62,0x5,_0x25dab0[0x14]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x5645e4,0x9,_0x25dab0[0x15]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4354f3,0xe,_0x25dab0[0x16]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x16419d,0x14,_0x25dab0[0x17]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0xe1914d,0x5,_0x25dab0[0x18]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x4448ea,0x9,_0x25dab0[0x19]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5dfdc7,0xe,_0x25dab0[0x1a]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x252b16,0x14,_0x25dab0[0x1b]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x457259,0x5,_0x25dab0[0x1c]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x3c4320,0x9,_0x25dab0[0x1d]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x45353b,0xe,_0x25dab0[0x1e]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x1143e7,0x14,_0x25dab0[0x1f]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x570a62,0x4,_0x25dab0[0x20]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x252b16,0xb,_0x25dab0[0x21]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x404056,0x10,_0x25dab0[0x22]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x4448ea,0x17,_0x25dab0[0x23]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x3f09f1,0x4,_0x25dab0[0x24]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x16419d,0xb,_0x25dab0[0x25]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x45353b,0x10,_0x25dab0[0x26]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x5645e4,0x17,_0x25dab0[0x27]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x457259,0x4,_0x25dab0[0x28]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x4bb6b9,0xb,_0x25dab0[0x29]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5dfdc7,0x10,_0x25dab0[0x2a]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0xd0b8b4,0x17,_0x25dab0[0x2b]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0xe1914d,0x4,_0x25dab0[0x2c]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x1143e7,0xb,_0x25dab0[0x2d]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4354f3,0x10,_0x25dab0[0x2e]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x3c4320,0x17,_0x25dab0[0x2f]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x4bb6b9,0x6,_0x25dab0[0x30]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x45353b,0xa,_0x25dab0[0x31]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4448ea,0xf,_0x25dab0[0x32]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x570a62,0x15,_0x25dab0[0x33]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x1143e7,0x6,_0x25dab0[0x34]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x5dfdc7,0xa,_0x25dab0[0x35]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5645e4,0xf,_0x25dab0[0x36]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x3f09f1,0x15,_0x25dab0[0x37]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x252b16,0x6,_0x25dab0[0x38]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x4354f3,0xa,_0x25dab0[0x39]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0xd0b8b4,0xf,_0x25dab0[0x3a]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x457259,0x15,_0x25dab0[0x3b]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x16419d,0x6,_0x25dab0[0x3c]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x404056,0xa,_0x25dab0[0x3d]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x3c4320,0xf,_0x25dab0[0x3e]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0xe1914d,0x15,_0x25dab0[0x3f]),_0x49becd[0x0]=_0x49becd[0x0]+_0x32e57b|0x0,_0x49becd[0x1]=_0x49becd[0x1]+_0x2a10ad|0x0,_0x49becd[0x2]=_0x49becd[0x2]+_0x121bbb|0x0,_0x49becd[0x3]=_0x49becd[0x3]+_0x21dc78|0x0;},'_doFinalize':function(){var _0x35ec26=_0x3e60cd,_0x37e3ea=this[_0x35ec26(0x1d1)],_0x4e4a2d=_0x37e3ea['words'],_0x36ba38=this['_nDataBytes']*0x8,_0x547222=_0x37e3ea[_0x35ec26(0x3b1)]*0x8;_0x4e4a2d[_0x547222>>>0x5]|=0x80<<0x18-_0x547222%0x20;var _0x395066=_0x1d6dfd[_0x35ec26(0x30a)](_0x36ba38/0x100000000),_0x42c309=_0x36ba38;_0x4e4a2d[(_0x547222+0x40>>>0x9<<0x4)+0xf]=(_0x395066<<0x8|_0x395066>>>0x18)&0xff00ff|(_0x395066<<0x18|_0x395066>>>0x8)&0xff00ff00,_0x4e4a2d[(_0x547222+0x40>>>0x9<<0x4)+0xe]=(_0x42c309<<0x8|_0x42c309>>>0x18)&0xff00ff|(_0x42c309<<0x18|_0x42c309>>>0x8)&0xff00ff00,_0x37e3ea[_0x35ec26(0x3b1)]=(_0x4e4a2d[_0x35ec26(0xc8)]+0x1)*0x4,this[_0x35ec26(0x268)]();for(var _0x25d0eb=this[_0x35ec26(0x39f)],_0xc1d320=_0x25d0eb['words'],_0x165a9c=0x0;_0x165a9c<0x4;_0x165a9c++){var _0x49f010=_0xc1d320[_0x165a9c];_0xc1d320[_0x165a9c]=(_0x49f010<<0x8|_0x49f010>>>0x18)&0xff00ff|(_0x49f010<<0x18|_0x49f010>>>0x8)&0xff00ff00;}return _0x25d0eb;},'clone':function(){var _0x4de712=_0x3e60cd,_0x2137e3=_0x1990b5['clone'][_0x4de712(0x345)](this);return _0x2137e3[_0x4de712(0x39f)]=this[_0x4de712(0x39f)]['clone'](),_0x2137e3;}});function _0x1e44f6(_0x1087fd,_0x5a7809,_0x36b7ca,_0x5e0f8f,_0x5bae3d,_0x4797c5,_0x310f41){var _0x3d2b7f=_0x1087fd+(_0x5a7809&_0x36b7ca|~_0x5a7809&_0x5e0f8f)+_0x5bae3d+_0x310f41;return(_0x3d2b7f<<_0x4797c5|_0x3d2b7f>>>0x20-_0x4797c5)+_0x5a7809;}function _0x1afc20(_0xf289b5,_0x2d648e,_0x552362,_0x5c2f44,_0x199b21,_0x320fe3,_0x29089e){var _0x3f0dc5=_0xf289b5+(_0x2d648e&_0x5c2f44|_0x552362&~_0x5c2f44)+_0x199b21+_0x29089e;return(_0x3f0dc5<<_0x320fe3|_0x3f0dc5>>>0x20-_0x320fe3)+_0x2d648e;}function _0x15a6c4(_0x30f31f,_0x22a12e,_0x5727af,_0x1722bf,_0x3c0531,_0x2045ba,_0x4b2ccb){var _0x580c91=_0x30f31f+(_0x22a12e^_0x5727af^_0x1722bf)+_0x3c0531+_0x4b2ccb;return(_0x580c91<<_0x2045ba|_0x580c91>>>0x20-_0x2045ba)+_0x22a12e;}function _0x312588(_0x22a3d0,_0x45d8f2,_0x1662c9,_0x90382c,_0x20f990,_0x1096fc,_0x17bb1b){var _0x5220b0=_0x22a3d0+(_0x1662c9^(_0x45d8f2|~_0x90382c))+_0x20f990+_0x17bb1b;return(_0x5220b0<<_0x1096fc|_0x5220b0>>>0x20-_0x1096fc)+_0x45d8f2;}_0x51cb08[_0x3e60cd(0x28e)]=_0x1990b5[_0x3e60cd(0x1e9)](_0x5730e7),_0x51cb08[_0x3e60cd(0x350)]=_0x1990b5[_0x3e60cd(0x39c)](_0x5730e7);}(Math),_0x292e36[_0x3366cb(0x28e)];}));}(Ke)),Ke[_0x3a5fb8(0xbc)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){return ti||(ti=0x1,function(_0x6dfee0,_0x53d47f){(function(_0x8fc2d3,_0x41d4b4){var _0x2492c1=_0xe7de;_0x6dfee0[_0x2492c1(0xbc)]=_0x41d4b4(ne());}($r,function(_0x26372c){return(function(){var _0x48d4c3=_0xe7de,_0x76e31b=_0x26372c,_0x4c3db4=_0x76e31b['lib'],_0x4fc547=_0x4c3db4['WordArray'],_0x1bef28=_0x4c3db4[_0x48d4c3(0x2a7)],_0x106b46=_0x76e31b[_0x48d4c3(0x25b)],_0x5c6e93=[],_0x5c5640=_0x106b46[_0x48d4c3(0x152)]=_0x1bef28[_0x48d4c3(0x130)]({'_doReset':function(){var _0x19d504=_0x48d4c3;this[_0x19d504(0x39f)]=new _0x4fc547[(_0x19d504(0x169))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c15a2,_0x30bed0){var _0xaeb359=_0x48d4c3;for(var _0x592012=this[_0xaeb359(0x39f)][_0xaeb359(0x392)],_0x160fd4=_0x592012[0x0],_0x1623ea=_0x592012[0x1],_0x383115=_0x592012[0x2],_0x2f416a=_0x592012[0x3],_0x28fa4a=_0x592012[0x4],_0x28a94d=0x0;_0x28a94d<0x50;_0x28a94d++){if(_0x28a94d<0x10)_0x5c6e93[_0x28a94d]=_0x3c15a2[_0x30bed0+_0x28a94d]|0x0;else{var _0x2ef7b2=_0x5c6e93[_0x28a94d-0x3]^_0x5c6e93[_0x28a94d-0x8]^_0x5c6e93[_0x28a94d-0xe]^_0x5c6e93[_0x28a94d-0x10];_0x5c6e93[_0x28a94d]=_0x2ef7b2<<0x1|_0x2ef7b2>>>0x1f;}var _0x56e00d=(_0x160fd4<<0x5|_0x160fd4>>>0x1b)+_0x28fa4a+_0x5c6e93[_0x28a94d];_0x28a94d<0x14?_0x56e00d+=(_0x1623ea&_0x383115|~_0x1623ea&_0x2f416a)+0x5a827999:_0x28a94d<0x28?_0x56e00d+=(_0x1623ea^_0x383115^_0x2f416a)+0x6ed9eba1:_0x28a94d<0x3c?_0x56e00d+=(_0x1623ea&_0x383115|_0x1623ea&_0x2f416a|_0x383115&_0x2f416a)-0x70e44324:_0x56e00d+=(_0x1623ea^_0x383115^_0x2f416a)-0x359d3e2a,_0x28fa4a=_0x2f416a,_0x2f416a=_0x383115,_0x383115=_0x1623ea<<0x1e|_0x1623ea>>>0x2,_0x1623ea=_0x160fd4,_0x160fd4=_0x56e00d;}_0x592012[0x0]=_0x592012[0x0]+_0x160fd4|0x0,_0x592012[0x1]=_0x592012[0x1]+_0x1623ea|0x0,_0x592012[0x2]=_0x592012[0x2]+_0x383115|0x0,_0x592012[0x3]=_0x592012[0x3]+_0x2f416a|0x0,_0x592012[0x4]=_0x592012[0x4]+_0x28fa4a|0x0;},'_doFinalize':function(){var _0x2526d2=_0x48d4c3,_0x3c7a17=this[_0x2526d2(0x1d1)],_0x2593cf=_0x3c7a17['words'],_0x13ab92=this[_0x2526d2(0x3bb)]*0x8,_0x2bdd5c=_0x3c7a17[_0x2526d2(0x3b1)]*0x8;return _0x2593cf[_0x2bdd5c>>>0x5]|=0x80<<0x18-_0x2bdd5c%0x20,_0x2593cf[(_0x2bdd5c+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x13ab92/0x100000000),_0x2593cf[(_0x2bdd5c+0x40>>>0x9<<0x4)+0xf]=_0x13ab92,_0x3c7a17['sigBytes']=_0x2593cf[_0x2526d2(0xc8)]*0x4,this[_0x2526d2(0x268)](),this[_0x2526d2(0x39f)];},'clone':function(){var _0x2c22fb=_0x48d4c3,_0x1c1c1a=_0x1bef28[_0x2c22fb(0x159)][_0x2c22fb(0x345)](this);return _0x1c1c1a[_0x2c22fb(0x39f)]=this[_0x2c22fb(0x39f)][_0x2c22fb(0x159)](),_0x1c1c1a;}});_0x76e31b[_0x48d4c3(0x152)]=_0x1bef28[_0x48d4c3(0x1e9)](_0x5c5640),_0x76e31b[_0x48d4c3(0x33b)]=_0x1bef28[_0x48d4c3(0x39c)](_0x5c5640);}()),_0x26372c['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x5bfca8(0xbc)],ii;function jr(){var _0x4547b4=_0x5bfca8;return ii||(ii=0x1,function(_0x44d3b4,_0x2b7281){(function(_0x5d02a1,_0x3372fb){_0x44d3b4['exports']=_0x3372fb(ne());}(kr,function(_0x434b63){(function(){var _0x2c2b87=_0xe7de,_0x6c9d62=_0x434b63,_0x1b5ab7=_0x6c9d62[_0x2c2b87(0x25a)],_0x16f60f=_0x1b5ab7[_0x2c2b87(0xdf)],_0x45eeb6=_0x6c9d62[_0x2c2b87(0xd2)],_0x4afa6c=_0x45eeb6[_0x2c2b87(0x34d)],_0x20575f=_0x6c9d62[_0x2c2b87(0x25b)];_0x20575f[_0x2c2b87(0x1d4)]=_0x16f60f[_0x2c2b87(0x130)]({'init':function(_0x471732,_0x3d40a5){var _0x5d588b=_0x2c2b87;_0x471732=this[_0x5d588b(0x19a)]=new _0x471732[(_0x5d588b(0x169))](),typeof _0x3d40a5==_0x5d588b(0xce)&&(_0x3d40a5=_0x4afa6c[_0x5d588b(0x395)](_0x3d40a5));var _0x24bc1=_0x471732[_0x5d588b(0x32b)],_0x34ce9a=_0x24bc1*0x4;_0x3d40a5[_0x5d588b(0x3b1)]>_0x34ce9a&&(_0x3d40a5=_0x471732[_0x5d588b(0x339)](_0x3d40a5)),_0x3d40a5['clamp']();for(var _0x35c791=this[_0x5d588b(0xdb)]=_0x3d40a5['clone'](),_0xfd5182=this[_0x5d588b(0x2c7)]=_0x3d40a5[_0x5d588b(0x159)](),_0x29b404=_0x35c791[_0x5d588b(0x392)],_0xb3105f=_0xfd5182[_0x5d588b(0x392)],_0x477683=0x0;_0x477683<_0x24bc1;_0x477683++)_0x29b404[_0x477683]^=0x5c5c5c5c,_0xb3105f[_0x477683]^=0x36363636;_0x35c791[_0x5d588b(0x3b1)]=_0xfd5182[_0x5d588b(0x3b1)]=_0x34ce9a,this[_0x5d588b(0xcf)]();},'reset':function(){var _0x3e6904=_0x2c2b87,_0x586695=this[_0x3e6904(0x19a)];_0x586695[_0x3e6904(0xcf)](),_0x586695[_0x3e6904(0x315)](this[_0x3e6904(0x2c7)]);},'update':function(_0x195ce9){return this['_hasher']['update'](_0x195ce9),this;},'finalize':function(_0x2df1e5){var _0x5955b8=_0x2c2b87,_0x1d601b=this['_hasher'],_0x5db6fa=_0x1d601b['finalize'](_0x2df1e5);_0x1d601b[_0x5955b8(0xcf)]();var _0x56346c=_0x1d601b[_0x5955b8(0x339)](this[_0x5955b8(0xdb)][_0x5955b8(0x159)]()[_0x5955b8(0x271)](_0x5db6fa));return _0x56346c;}});}());}));}(ze)),ze[_0x4547b4(0xbc)];}var Br=Ye[_0x5bfca8(0xbc)],ni;function Ui(){var _0x547abd=_0x5bfca8;return ni||(ni=0x1,function(_0x393e12,_0x425531){(function(_0x18ddd0,_0x52fb7f,_0xdee3fc){_0x393e12['exports']=_0x52fb7f(ne(),Hr(),jr());}(Br,function(_0x4c7e31){return(function(){var _0x34d49e=_0xe7de,_0x3ddcac=_0x4c7e31,_0x260e7f=_0x3ddcac['lib'],_0x436d6d=_0x260e7f[_0x34d49e(0xdf)],_0x3d1b4e=_0x260e7f[_0x34d49e(0x2f6)],_0x11cebd=_0x3ddcac[_0x34d49e(0x25b)],_0x16d6f9=_0x11cebd[_0x34d49e(0x28e)],_0x36b35b=_0x11cebd[_0x34d49e(0x300)]=_0x436d6d[_0x34d49e(0x130)]({'cfg':_0x436d6d[_0x34d49e(0x130)]({'keySize':0x80/0x20,'hasher':_0x16d6f9,'iterations':0x1}),'init':function(_0x4de702){var _0x4e8bdc=_0x34d49e;this[_0x4e8bdc(0x17f)]=this['cfg'][_0x4e8bdc(0x130)](_0x4de702);},'compute':function(_0x5c5664,_0x225b25){var _0x14f681=_0x34d49e;for(var _0x1f52da,_0x4a000f=this['cfg'],_0x4ef506=_0x4a000f[_0x14f681(0x1bc)][_0x14f681(0xc6)](),_0x3f40f7=_0x3d1b4e[_0x14f681(0xc6)](),_0x30216c=_0x3f40f7[_0x14f681(0x392)],_0x99a1c2=_0x4a000f['keySize'],_0x4420ab=_0x4a000f[_0x14f681(0xd5)];_0x30216c[_0x14f681(0xc8)]<_0x99a1c2;){_0x1f52da&&_0x4ef506[_0x14f681(0x315)](_0x1f52da),_0x1f52da=_0x4ef506[_0x14f681(0x315)](_0x5c5664)[_0x14f681(0x339)](_0x225b25),_0x4ef506[_0x14f681(0xcf)]();for(var _0x1cc16e=0x1;_0x1cc16e<_0x4420ab;_0x1cc16e++)_0x1f52da=_0x4ef506[_0x14f681(0x339)](_0x1f52da),_0x4ef506[_0x14f681(0xcf)]();_0x3f40f7[_0x14f681(0x271)](_0x1f52da);}return _0x3f40f7[_0x14f681(0x3b1)]=_0x99a1c2*0x4,_0x3f40f7;}});_0x3ddcac['EvpKDF']=function(_0x44f50d,_0x1d48a1,_0x5082d4){var _0x10712f=_0x34d49e;return _0x36b35b['create'](_0x5082d4)[_0x10712f(0x1f9)](_0x44f50d,_0x1d48a1);};}()),_0x4c7e31['EvpKDF'];}));}(Ye)),Ye[_0x547abd(0xbc)];}var Je={'exports':{}},Fr=Je[_0x5bfca8(0xbc)],ri;function Ai(){var _0x24a72c=_0x5bfca8;return ri||(ri=0x1,function(_0x47ecde,_0x3b67e1){(function(_0x77d034,_0x1a1c44,_0x1a55bc){var _0x525273=_0xe7de;_0x47ecde[_0x525273(0xbc)]=_0x1a1c44(ne(),Ui());}(Fr,function(_0x4e28ba){var _0x76ba59=_0xe7de;_0x4e28ba[_0x76ba59(0x25a)][_0x76ba59(0x172)]||function(_0x250484){var _0x47ec18=_0x76ba59,_0x364156=_0x4e28ba,_0x5342d9=_0x364156[_0x47ec18(0x25a)],_0x566214=_0x5342d9[_0x47ec18(0xdf)],_0x4ed710=_0x5342d9[_0x47ec18(0x2f6)],_0x30b1fa=_0x5342d9[_0x47ec18(0x14c)],_0x26ebcd=_0x364156[_0x47ec18(0xd2)];_0x26ebcd[_0x47ec18(0x34d)];var _0x2cdd92=_0x26ebcd[_0x47ec18(0x229)],_0x91985d=_0x364156[_0x47ec18(0x25b)],_0x58c363=_0x91985d[_0x47ec18(0x300)],_0x72686a=_0x5342d9[_0x47ec18(0x172)]=_0x30b1fa[_0x47ec18(0x130)]({'cfg':_0x566214[_0x47ec18(0x130)](),'createEncryptor':function(_0x388141,_0x355f78){var _0x5b8a4d=_0x47ec18;return this[_0x5b8a4d(0xc6)](this[_0x5b8a4d(0x164)],_0x388141,_0x355f78);},'createDecryptor':function(_0x2704cf,_0x312823){var _0x55a3bc=_0x47ec18;return this[_0x55a3bc(0xc6)](this['_DEC_XFORM_MODE'],_0x2704cf,_0x312823);},'init':function(_0x28e836,_0x5d7f92,_0x44ceb4){var _0x1106ee=_0x47ec18;this[_0x1106ee(0x17f)]=this[_0x1106ee(0x17f)]['extend'](_0x44ceb4),this[_0x1106ee(0x17c)]=_0x28e836,this[_0x1106ee(0x1cc)]=_0x5d7f92,this[_0x1106ee(0xcf)]();},'reset':function(){var _0x389b55=_0x47ec18;_0x30b1fa['reset']['call'](this),this[_0x389b55(0x1b4)]();},'process':function(_0x3109c5){var _0x1d0e62=_0x47ec18;return this[_0x1d0e62(0x307)](_0x3109c5),this[_0x1d0e62(0x268)]();},'finalize':function(_0x32ee34){var _0x4d8278=_0x47ec18;_0x32ee34&&this[_0x4d8278(0x307)](_0x32ee34);var _0x350c3e=this[_0x4d8278(0x353)]();return _0x350c3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4beee9(_0x389222){return typeof _0x389222=='string'?_0xa1f43c:_0x1b514f;}return function(_0x5e686f){return{'encrypt':function(_0x4bb8b9,_0x2ff24c,_0x3922aa){var _0x11ff09=_0xe7de;return _0x4beee9(_0x2ff24c)[_0x11ff09(0x18f)](_0x5e686f,_0x4bb8b9,_0x2ff24c,_0x3922aa);},'decrypt':function(_0x2d337b,_0x2bcb89,_0x2ab55f){var _0x92a4e3=_0xe7de;return _0x4beee9(_0x2bcb89)[_0x92a4e3(0x293)](_0x5e686f,_0x2d337b,_0x2bcb89,_0x2ab55f);}};};}())});_0x5342d9[_0x47ec18(0x33d)]=_0x72686a[_0x47ec18(0x130)]({'_doFinalize':function(){var _0x905e47=_0x47ec18,_0x46679a=this[_0x905e47(0x268)](!0x0);return _0x46679a;},'blockSize':0x1});var _0x1f7c5c=_0x364156[_0x47ec18(0x138)]={},_0x44bf78=_0x5342d9[_0x47ec18(0x299)]=_0x566214['extend']({'createEncryptor':function(_0x391d09,_0x2d9eec){var _0x56325d=_0x47ec18;return this[_0x56325d(0x1ae)][_0x56325d(0xc6)](_0x391d09,_0x2d9eec);},'createDecryptor':function(_0xc244b4,_0x1c039a){var _0x322e5d=_0x47ec18;return this[_0x322e5d(0xb2)][_0x322e5d(0xc6)](_0xc244b4,_0x1c039a);},'init':function(_0x664a22,_0x20977f){var _0x20c5e8=_0x47ec18;this[_0x20c5e8(0x2a6)]=_0x664a22,this[_0x20c5e8(0x127)]=_0x20977f;}}),_0x2b1d55=_0x1f7c5c[_0x47ec18(0x153)]=(function(){var _0x14b2e9=_0x47ec18,_0x55a7c7=_0x44bf78[_0x14b2e9(0x130)]();_0x55a7c7[_0x14b2e9(0x1ae)]=_0x55a7c7['extend']({'processBlock':function(_0xce34b6,_0x520ff1){var _0x50dcce=_0x14b2e9,_0x29c001=this[_0x50dcce(0x2a6)],_0xbc10bc=_0x29c001[_0x50dcce(0x32b)];_0x2d9422['call'](this,_0xce34b6,_0x520ff1,_0xbc10bc),_0x29c001[_0x50dcce(0x13a)](_0xce34b6,_0x520ff1),this[_0x50dcce(0x368)]=_0xce34b6[_0x50dcce(0x190)](_0x520ff1,_0x520ff1+_0xbc10bc);}}),_0x55a7c7[_0x14b2e9(0xb2)]=_0x55a7c7[_0x14b2e9(0x130)]({'processBlock':function(_0x194c0b,_0x4bd260){var _0x4738b5=_0x14b2e9,_0x255698=this[_0x4738b5(0x2a6)],_0x12732d=_0x255698[_0x4738b5(0x32b)],_0x18c1b3=_0x194c0b['slice'](_0x4bd260,_0x4bd260+_0x12732d);_0x255698['decryptBlock'](_0x194c0b,_0x4bd260),_0x2d9422[_0x4738b5(0x345)](this,_0x194c0b,_0x4bd260,_0x12732d),this['_prevBlock']=_0x18c1b3;}});function _0x2d9422(_0x4c58ed,_0x31b627,_0x426daa){var _0x4afa85=_0x14b2e9,_0x5539c3,_0x37a63f=this['_iv'];_0x37a63f?(_0x5539c3=_0x37a63f,this[_0x4afa85(0x127)]=_0x250484):_0x5539c3=this[_0x4afa85(0x368)];for(var _0x21be1b=0x0;_0x21be1b<_0x426daa;_0x21be1b++)_0x4c58ed[_0x31b627+_0x21be1b]^=_0x5539c3[_0x21be1b];}return _0x55a7c7;}()),_0x5abc96=_0x364156[_0x47ec18(0xea)]={},_0x4a85df=_0x5abc96[_0x47ec18(0x379)]={'pad':function(_0x13f860,_0x1d8845){var _0x565e94=_0x47ec18;for(var _0xb32078=_0x1d8845*0x4,_0x51c482=_0xb32078-_0x13f860[_0x565e94(0x3b1)]%_0xb32078,_0x6aa338=_0x51c482<<0x18|_0x51c482<<0x10|_0x51c482<<0x8|_0x51c482,_0x152b6a=[],_0x19e21f=0x0;_0x19e21f<_0x51c482;_0x19e21f+=0x4)_0x152b6a['push'](_0x6aa338);var _0xa58836=_0x4ed710[_0x565e94(0xc6)](_0x152b6a,_0x51c482);_0x13f860[_0x565e94(0x271)](_0xa58836);},'unpad':function(_0x3be4de){var _0x55985b=_0x47ec18,_0xdc3818=_0x3be4de[_0x55985b(0x392)][_0x3be4de['sigBytes']-0x1>>>0x2]&0xff;_0x3be4de[_0x55985b(0x3b1)]-=_0xdc3818;}};_0x5342d9[_0x47ec18(0xd8)]=_0x72686a[_0x47ec18(0x130)]({'cfg':_0x72686a[_0x47ec18(0x17f)][_0x47ec18(0x130)]({'mode':_0x2b1d55,'padding':_0x4a85df}),'reset':function(){var _0x4d64f0=_0x47ec18,_0x1eec7c;_0x72686a['reset'][_0x4d64f0(0x345)](this);var _0x2475d9=this['cfg'],_0x391de2=_0x2475d9['iv'],_0x19c4a8=_0x2475d9[_0x4d64f0(0x138)];this[_0x4d64f0(0x17c)]==this[_0x4d64f0(0x164)]?_0x1eec7c=_0x19c4a8[_0x4d64f0(0xee)]:(_0x1eec7c=_0x19c4a8[_0x4d64f0(0x1e4)],this['_minBufferSize']=0x1),this[_0x4d64f0(0x1d8)]&&this[_0x4d64f0(0x1d8)][_0x4d64f0(0x23f)]==_0x1eec7c?this[_0x4d64f0(0x1d8)]['init'](this,_0x391de2&&_0x391de2[_0x4d64f0(0x392)]):(this['_mode']=_0x1eec7c['call'](_0x19c4a8,this,_0x391de2&&_0x391de2[_0x4d64f0(0x392)]),this[_0x4d64f0(0x1d8)]['__creator']=_0x1eec7c);},'_doProcessBlock':function(_0x1d7488,_0x388470){var _0x1d1e97=_0x47ec18;this[_0x1d1e97(0x1d8)][_0x1d1e97(0xae)](_0x1d7488,_0x388470);},'_doFinalize':function(){var _0x591b72=_0x47ec18,_0xa83b1c,_0x11a23b=this[_0x591b72(0x17f)]['padding'];return this[_0x591b72(0x17c)]==this[_0x591b72(0x164)]?(_0x11a23b[_0x591b72(0xea)](this[_0x591b72(0x1d1)],this[_0x591b72(0x32b)]),_0xa83b1c=this[_0x591b72(0x268)](!0x0)):(_0xa83b1c=this[_0x591b72(0x268)](!0x0),_0x11a23b['unpad'](_0xa83b1c)),_0xa83b1c;},'blockSize':0x80/0x20});var _0x3c5daa=_0x5342d9[_0x47ec18(0x114)]=_0x566214[_0x47ec18(0x130)]({'init':function(_0x3482e5){var _0x1e1e0d=_0x47ec18;this[_0x1e1e0d(0x1ca)](_0x3482e5);},'toString':function(_0x5b2d43){var _0x166eb0=_0x47ec18;return(_0x5b2d43||this[_0x166eb0(0x291)])['stringify'](this);}}),_0x74bd44=_0x364156[_0x47ec18(0x1ee)]={},_0x2a312a=_0x74bd44[_0x47ec18(0x308)]={'stringify':function(_0xdec55){var _0x51259a=_0x47ec18,_0x376b56,_0x2ab837=_0xdec55['ciphertext'],_0x1f3e60=_0xdec55[_0x51259a(0x2a9)];return _0x1f3e60?_0x376b56=_0x4ed710['create']([0x53616c74,0x65645f5f])[_0x51259a(0x271)](_0x1f3e60)['concat'](_0x2ab837):_0x376b56=_0x2ab837,_0x376b56[_0x51259a(0x203)](_0x2cdd92);},'parse':function(_0x34fe1c){var _0x4bede2=_0x47ec18,_0x31e5fb,_0x2e249b=_0x2cdd92['parse'](_0x34fe1c),_0x285e8c=_0x2e249b['words'];return _0x285e8c[0x0]==0x53616c74&&_0x285e8c[0x1]==0x65645f5f&&(_0x31e5fb=_0x4ed710['create'](_0x285e8c[_0x4bede2(0x190)](0x2,0x4)),_0x285e8c[_0x4bede2(0x14d)](0x0,0x4),_0x2e249b[_0x4bede2(0x3b1)]-=0x10),_0x3c5daa[_0x4bede2(0xc6)]({'ciphertext':_0x2e249b,'salt':_0x31e5fb});}},_0x1b514f=_0x5342d9['SerializableCipher']=_0x566214[_0x47ec18(0x130)]({'cfg':_0x566214[_0x47ec18(0x130)]({'format':_0x2a312a}),'encrypt':function(_0x4aaf54,_0x4eb812,_0xacd89c,_0x5bae1d){var _0x351f0f=_0x47ec18;_0x5bae1d=this['cfg'][_0x351f0f(0x130)](_0x5bae1d);var _0x4a1a35=_0x4aaf54[_0x351f0f(0xee)](_0xacd89c,_0x5bae1d),_0xe894d5=_0x4a1a35[_0x351f0f(0x339)](_0x4eb812),_0x24edc4=_0x4a1a35['cfg'];return _0x3c5daa['create']({'ciphertext':_0xe894d5,'key':_0xacd89c,'iv':_0x24edc4['iv'],'algorithm':_0x4aaf54,'mode':_0x24edc4[_0x351f0f(0x138)],'padding':_0x24edc4[_0x351f0f(0x11b)],'blockSize':_0x4aaf54[_0x351f0f(0x32b)],'formatter':_0x5bae1d[_0x351f0f(0x1ee)]});},'decrypt':function(_0x1da2db,_0x9a7d3d,_0x1c3380,_0x19fe5e){var _0x15f682=_0x47ec18;_0x19fe5e=this['cfg'][_0x15f682(0x130)](_0x19fe5e),_0x9a7d3d=this['_parse'](_0x9a7d3d,_0x19fe5e[_0x15f682(0x1ee)]);var _0x12149a=_0x1da2db[_0x15f682(0x1e4)](_0x1c3380,_0x19fe5e)['finalize'](_0x9a7d3d[_0x15f682(0x3b0)]);return _0x12149a;},'_parse':function(_0x28830e,_0xd2a33f){var _0x27be64=_0x47ec18;return typeof _0x28830e==_0x27be64(0xce)?_0xd2a33f[_0x27be64(0x395)](_0x28830e,this):_0x28830e;}}),_0x505dae=_0x364156['kdf']={},_0xabe0e3=_0x505dae[_0x47ec18(0x308)]={'execute':function(_0x436e79,_0xf8c748,_0x2a4dde,_0x4927a7,_0x5b649e){var _0x2fa12d=_0x47ec18;if(_0x4927a7||(_0x4927a7=_0x4ed710[_0x2fa12d(0x1ba)](0x40/0x8)),_0x5b649e)var _0x427907=_0x58c363[_0x2fa12d(0xc6)]({'keySize':_0xf8c748+_0x2a4dde,'hasher':_0x5b649e})[_0x2fa12d(0x1f9)](_0x436e79,_0x4927a7);else var _0x427907=_0x58c363['create']({'keySize':_0xf8c748+_0x2a4dde})['compute'](_0x436e79,_0x4927a7);var _0x198bec=_0x4ed710[_0x2fa12d(0xc6)](_0x427907['words'][_0x2fa12d(0x190)](_0xf8c748),_0x2a4dde*0x4);return _0x427907[_0x2fa12d(0x3b1)]=_0xf8c748*0x4,_0x3c5daa['create']({'key':_0x427907,'iv':_0x198bec,'salt':_0x4927a7});}},_0xa1f43c=_0x5342d9[_0x47ec18(0x2a0)]=_0x1b514f[_0x47ec18(0x130)]({'cfg':_0x1b514f[_0x47ec18(0x17f)]['extend']({'kdf':_0xabe0e3}),'encrypt':function(_0x3ad9ab,_0x37d052,_0x534a5d,_0x2ad038){var _0x578d56=_0x47ec18;_0x2ad038=this['cfg'][_0x578d56(0x130)](_0x2ad038);var _0x344e68=_0x2ad038['kdf']['execute'](_0x534a5d,_0x3ad9ab[_0x578d56(0x2ac)],_0x3ad9ab[_0x578d56(0x304)],_0x2ad038[_0x578d56(0x2a9)],_0x2ad038[_0x578d56(0x1bc)]);_0x2ad038['iv']=_0x344e68['iv'];var _0x3ac253=_0x1b514f['encrypt'][_0x578d56(0x345)](this,_0x3ad9ab,_0x37d052,_0x344e68['key'],_0x2ad038);return _0x3ac253[_0x578d56(0x1ca)](_0x344e68),_0x3ac253;},'decrypt':function(_0x5b6259,_0x15cb92,_0x33d9bd,_0x481f52){var _0x47b867=_0x47ec18;_0x481f52=this[_0x47b867(0x17f)][_0x47b867(0x130)](_0x481f52),_0x15cb92=this[_0x47b867(0x344)](_0x15cb92,_0x481f52[_0x47b867(0x1ee)]);var _0x190814=_0x481f52[_0x47b867(0x3b4)][_0x47b867(0x178)](_0x33d9bd,_0x5b6259[_0x47b867(0x2ac)],_0x5b6259['ivSize'],_0x15cb92[_0x47b867(0x2a9)],_0x481f52[_0x47b867(0x1bc)]);_0x481f52['iv']=_0x190814['iv'];var _0x122e2d=_0x1b514f[_0x47b867(0x293)][_0x47b867(0x345)](this,_0x5b6259,_0x15cb92,_0x190814[_0x47b867(0x387)],_0x481f52);return _0x122e2d;}});}();}));}(Je)),Je[_0x24a72c(0xbc)];}var Vr=Ve[_0x5bfca8(0xbc)],si;function Gr(){return si||(si=0x1,function(_0x5ed807,_0x5dc50b){(function(_0x273339,_0x3b6bc9,_0x2e10f2){var _0x285c32=_0xe7de;_0x5ed807[_0x285c32(0xbc)]=_0x3b6bc9(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x3aeace){var _0x5a3cbf=_0xe7de;return(function(){var _0x468312=_0xe7de,_0x2958a9=_0x3aeace,_0x45bf4c=_0x2958a9[_0x468312(0x25a)],_0xbd0e54=_0x45bf4c[_0x468312(0xd8)],_0x1f0522=_0x2958a9[_0x468312(0x25b)],_0x6cac3f=[],_0x2b07dd=[],_0x3a219c=[],_0x5c566c=[],_0x2c9e8b=[],_0x3661f9=[],_0x4abb32=[],_0x231ed6=[],_0x6f9f91=[],_0x508f23=[];(function(){for(var _0xa1a582=[],_0x2c8145=0x0;_0x2c8145<0x100;_0x2c8145++)_0x2c8145<0x80?_0xa1a582[_0x2c8145]=_0x2c8145<<0x1:_0xa1a582[_0x2c8145]=_0x2c8145<<0x1^0x11b;for(var _0x4dc29d=0x0,_0x4cce0e=0x0,_0x2c8145=0x0;_0x2c8145<0x100;_0x2c8145++){var _0x46d4ee=_0x4cce0e^_0x4cce0e<<0x1^_0x4cce0e<<0x2^_0x4cce0e<<0x3^_0x4cce0e<<0x4;_0x46d4ee=_0x46d4ee>>>0x8^_0x46d4ee&0xff^0x63,_0x6cac3f[_0x4dc29d]=_0x46d4ee,_0x2b07dd[_0x46d4ee]=_0x4dc29d;var _0x35717e=_0xa1a582[_0x4dc29d],_0x39dc63=_0xa1a582[_0x35717e],_0x450435=_0xa1a582[_0x39dc63],_0x5edae4=_0xa1a582[_0x46d4ee]*0x101^_0x46d4ee*0x1010100;_0x3a219c[_0x4dc29d]=_0x5edae4<<0x18|_0x5edae4>>>0x8,_0x5c566c[_0x4dc29d]=_0x5edae4<<0x10|_0x5edae4>>>0x10,_0x2c9e8b[_0x4dc29d]=_0x5edae4<<0x8|_0x5edae4>>>0x18,_0x3661f9[_0x4dc29d]=_0x5edae4;var _0x5edae4=_0x450435*0x1010101^_0x39dc63*0x10001^_0x35717e*0x101^_0x4dc29d*0x1010100;_0x4abb32[_0x46d4ee]=_0x5edae4<<0x18|_0x5edae4>>>0x8,_0x231ed6[_0x46d4ee]=_0x5edae4<<0x10|_0x5edae4>>>0x10,_0x6f9f91[_0x46d4ee]=_0x5edae4<<0x8|_0x5edae4>>>0x18,_0x508f23[_0x46d4ee]=_0x5edae4,_0x4dc29d?(_0x4dc29d=_0x35717e^_0xa1a582[_0xa1a582[_0xa1a582[_0x450435^_0x35717e]]],_0x4cce0e^=_0xa1a582[_0xa1a582[_0x4cce0e]]):_0x4dc29d=_0x4cce0e=0x1;}}());var _0x168dbd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51d163=_0x1f0522['AES']=_0xbd0e54[_0x468312(0x130)]({'_doReset':function(){var _0x5ac4a2=_0x468312,_0xd03571;if(!(this[_0x5ac4a2(0x18c)]&&this[_0x5ac4a2(0xfa)]===this[_0x5ac4a2(0x1cc)])){for(var _0x2e3849=this[_0x5ac4a2(0xfa)]=this['_key'],_0x58dc09=_0x2e3849[_0x5ac4a2(0x392)],_0x17efd2=_0x2e3849[_0x5ac4a2(0x3b1)]/0x4,_0x16c5dc=this[_0x5ac4a2(0x18c)]=_0x17efd2+0x6,_0x1e93e7=(_0x16c5dc+0x1)*0x4,_0x120fef=this[_0x5ac4a2(0x13b)]=[],_0x3e0933=0x0;_0x3e0933<_0x1e93e7;_0x3e0933++)_0x3e0933<_0x17efd2?_0x120fef[_0x3e0933]=_0x58dc09[_0x3e0933]:(_0xd03571=_0x120fef[_0x3e0933-0x1],_0x3e0933%_0x17efd2?_0x17efd2>0x6&&_0x3e0933%_0x17efd2==0x4&&(_0xd03571=_0x6cac3f[_0xd03571>>>0x18]<<0x18|_0x6cac3f[_0xd03571>>>0x10&0xff]<<0x10|_0x6cac3f[_0xd03571>>>0x8&0xff]<<0x8|_0x6cac3f[_0xd03571&0xff]):(_0xd03571=_0xd03571<<0x8|_0xd03571>>>0x18,_0xd03571=_0x6cac3f[_0xd03571>>>0x18]<<0x18|_0x6cac3f[_0xd03571>>>0x10&0xff]<<0x10|_0x6cac3f[_0xd03571>>>0x8&0xff]<<0x8|_0x6cac3f[_0xd03571&0xff],_0xd03571^=_0x168dbd[_0x3e0933/_0x17efd2|0x0]<<0x18),_0x120fef[_0x3e0933]=_0x120fef[_0x3e0933-_0x17efd2]^_0xd03571);for(var _0x4c7b6f=this[_0x5ac4a2(0x2fe)]=[],_0x5974de=0x0;_0x5974de<_0x1e93e7;_0x5974de++){var _0x3e0933=_0x1e93e7-_0x5974de;if(_0x5974de%0x4)var _0xd03571=_0x120fef[_0x3e0933];else var _0xd03571=_0x120fef[_0x3e0933-0x4];_0x5974de<0x4||_0x3e0933<=0x4?_0x4c7b6f[_0x5974de]=_0xd03571:_0x4c7b6f[_0x5974de]=_0x4abb32[_0x6cac3f[_0xd03571>>>0x18]]^_0x231ed6[_0x6cac3f[_0xd03571>>>0x10&0xff]]^_0x6f9f91[_0x6cac3f[_0xd03571>>>0x8&0xff]]^_0x508f23[_0x6cac3f[_0xd03571&0xff]];}}},'encryptBlock':function(_0x57c331,_0x5809da){var _0xac8eb4=_0x468312;this[_0xac8eb4(0x100)](_0x57c331,_0x5809da,this['_keySchedule'],_0x3a219c,_0x5c566c,_0x2c9e8b,_0x3661f9,_0x6cac3f);},'decryptBlock':function(_0x5a2ebc,_0x55c2f2){var _0x168fc7=_0x468312,_0x157c6c=_0x5a2ebc[_0x55c2f2+0x1];_0x5a2ebc[_0x55c2f2+0x1]=_0x5a2ebc[_0x55c2f2+0x3],_0x5a2ebc[_0x55c2f2+0x3]=_0x157c6c,this[_0x168fc7(0x100)](_0x5a2ebc,_0x55c2f2,this['_invKeySchedule'],_0x4abb32,_0x231ed6,_0x6f9f91,_0x508f23,_0x2b07dd);var _0x157c6c=_0x5a2ebc[_0x55c2f2+0x1];_0x5a2ebc[_0x55c2f2+0x1]=_0x5a2ebc[_0x55c2f2+0x3],_0x5a2ebc[_0x55c2f2+0x3]=_0x157c6c;},'_doCryptBlock':function(_0x1d5e08,_0x454fe9,_0x12cc70,_0x1bd617,_0x2be2e0,_0x2ece7c,_0x1482ab,_0x426863){var _0x2f01ba=_0x468312;for(var _0x473c42=this[_0x2f01ba(0x18c)],_0x1f21b9=_0x1d5e08[_0x454fe9]^_0x12cc70[0x0],_0x1e3203=_0x1d5e08[_0x454fe9+0x1]^_0x12cc70[0x1],_0x2fb127=_0x1d5e08[_0x454fe9+0x2]^_0x12cc70[0x2],_0x279e6b=_0x1d5e08[_0x454fe9+0x3]^_0x12cc70[0x3],_0x43baf5=0x4,_0xdc08b=0x1;_0xdc08b<_0x473c42;_0xdc08b++){var _0x25818d=_0x1bd617[_0x1f21b9>>>0x18]^_0x2be2e0[_0x1e3203>>>0x10&0xff]^_0x2ece7c[_0x2fb127>>>0x8&0xff]^_0x1482ab[_0x279e6b&0xff]^_0x12cc70[_0x43baf5++],_0x47dffc=_0x1bd617[_0x1e3203>>>0x18]^_0x2be2e0[_0x2fb127>>>0x10&0xff]^_0x2ece7c[_0x279e6b>>>0x8&0xff]^_0x1482ab[_0x1f21b9&0xff]^_0x12cc70[_0x43baf5++],_0x5b30df=_0x1bd617[_0x2fb127>>>0x18]^_0x2be2e0[_0x279e6b>>>0x10&0xff]^_0x2ece7c[_0x1f21b9>>>0x8&0xff]^_0x1482ab[_0x1e3203&0xff]^_0x12cc70[_0x43baf5++],_0x706c4b=_0x1bd617[_0x279e6b>>>0x18]^_0x2be2e0[_0x1f21b9>>>0x10&0xff]^_0x2ece7c[_0x1e3203>>>0x8&0xff]^_0x1482ab[_0x2fb127&0xff]^_0x12cc70[_0x43baf5++];_0x1f21b9=_0x25818d,_0x1e3203=_0x47dffc,_0x2fb127=_0x5b30df,_0x279e6b=_0x706c4b;}var _0x25818d=(_0x426863[_0x1f21b9>>>0x18]<<0x18|_0x426863[_0x1e3203>>>0x10&0xff]<<0x10|_0x426863[_0x2fb127>>>0x8&0xff]<<0x8|_0x426863[_0x279e6b&0xff])^_0x12cc70[_0x43baf5++],_0x47dffc=(_0x426863[_0x1e3203>>>0x18]<<0x18|_0x426863[_0x2fb127>>>0x10&0xff]<<0x10|_0x426863[_0x279e6b>>>0x8&0xff]<<0x8|_0x426863[_0x1f21b9&0xff])^_0x12cc70[_0x43baf5++],_0x5b30df=(_0x426863[_0x2fb127>>>0x18]<<0x18|_0x426863[_0x279e6b>>>0x10&0xff]<<0x10|_0x426863[_0x1f21b9>>>0x8&0xff]<<0x8|_0x426863[_0x1e3203&0xff])^_0x12cc70[_0x43baf5++],_0x706c4b=(_0x426863[_0x279e6b>>>0x18]<<0x18|_0x426863[_0x1f21b9>>>0x10&0xff]<<0x10|_0x426863[_0x1e3203>>>0x8&0xff]<<0x8|_0x426863[_0x2fb127&0xff])^_0x12cc70[_0x43baf5++];_0x1d5e08[_0x454fe9]=_0x25818d,_0x1d5e08[_0x454fe9+0x1]=_0x47dffc,_0x1d5e08[_0x454fe9+0x2]=_0x5b30df,_0x1d5e08[_0x454fe9+0x3]=_0x706c4b;},'keySize':0x100/0x20});_0x2958a9[_0x468312(0x2a8)]=_0xbd0e54[_0x468312(0x1e9)](_0x51d163);}()),_0x3aeace[_0x5a3cbf(0x2a8)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x5bfca8(0xbc)],ai;function zr(){var _0x27369b=_0x5bfca8;return ai||(ai=0x1,function(_0x5095e9,_0x5ab24e){(function(_0x169bfc,_0xb0f137){var _0x9a9491=_0xe7de;_0x5095e9[_0x9a9491(0xbc)]=_0xb0f137(ne());}(qr,function(_0x802e26){var _0x2117f1=_0xe7de;return _0x802e26[_0x2117f1(0xd2)]['Utf8'];}));}(Xe)),Xe[_0x27369b(0xbc)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x5bfca8(0xbc)],ci;function Qr(){var _0x30404e=_0x5bfca8;return ci||(ci=0x1,function(_0x27cbd2,_0x1fc70b){(function(_0xce4a10,_0xdfde98){var _0x2ce9fb=_0xe7de;_0x27cbd2[_0x2ce9fb(0xbc)]=_0xdfde98(ne());}(Zr,function(_0x21f0dd){var _0x98d6d1=_0xe7de;return(function(){var _0xbc5612=_0xe7de;if(typeof ArrayBuffer==_0xbc5612(0x261)){var _0x1e11c2=_0x21f0dd,_0x397b10=_0x1e11c2[_0xbc5612(0x25a)],_0x5b7ab8=_0x397b10[_0xbc5612(0x2f6)],_0x12679e=_0x5b7ab8[_0xbc5612(0x169)],_0x4bbf16=_0x5b7ab8[_0xbc5612(0x169)]=function(_0x5c745c){var _0x2bf152=_0xbc5612;if(_0x5c745c instanceof ArrayBuffer&&(_0x5c745c=new Uint8Array(_0x5c745c)),(_0x5c745c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5c745c instanceof Uint8ClampedArray||_0x5c745c instanceof Int16Array||_0x5c745c instanceof Uint16Array||_0x5c745c instanceof Int32Array||_0x5c745c instanceof Uint32Array||_0x5c745c instanceof Float32Array||_0x5c745c instanceof Float64Array)&&(_0x5c745c=new Uint8Array(_0x5c745c[_0x2bf152(0x26a)],_0x5c745c[_0x2bf152(0x3a1)],_0x5c745c['byteLength'])),_0x5c745c instanceof Uint8Array){for(var _0x4a81a6=_0x5c745c[_0x2bf152(0x20c)],_0x15de05=[],_0x41b553=0x0;_0x41b553<_0x4a81a6;_0x41b553++)_0x15de05[_0x41b553>>>0x2]|=_0x5c745c[_0x41b553]<<0x18-_0x41b553%0x4*0x8;_0x12679e[_0x2bf152(0x345)](this,_0x15de05,_0x4a81a6);}else _0x12679e[_0x2bf152(0x19d)](this,arguments);};_0x4bbf16[_0xbc5612(0x140)]=_0x5b7ab8;}}()),_0x21f0dd[_0x98d6d1(0x25a)][_0x98d6d1(0x2f6)];}));}(Ze)),Ze[_0x30404e(0xbc)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x5bfca8(0xbc)],hi;function ns(){return hi||(hi=0x1,function(_0x17e8dd,_0x5340c3){(function(_0xed060a,_0x42afbd,_0x4742c7){_0x17e8dd['exports']=_0x42afbd(ne(),Ai());}(is,function(_0x44ee08){var _0x450171=_0xe7de;return _0x44ee08['pad'][_0x450171(0x1f3)]={'pad':function(){},'unpad':function(){}},_0x44ee08[_0x450171(0xea)][_0x450171(0x1f3)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x1660a8,_0x104b4f){var _0xdb4e03=_0x5bfca8;const _0x36509=_0x104b4f-_0x1660a8[_0xdb4e03(0xc8)]%_0x104b4f,_0x4becbe=String[_0xdb4e03(0x167)](_0x36509)['repeat'](_0x36509);return _0x1660a8+_0x4becbe;}function as(_0x378535,_0x49b219){var _0x38c989=_0x5bfca8;const _0x2c2aae=ts[_0x38c989(0x1ba)](0x10),_0x21810f=os(_0x378535,0x10),_0x1665e=Kr['encrypt'](Xr[_0x38c989(0x395)](_0x21810f),oi[_0x38c989(0x395)](_0x49b219),{'iv':_0x2c2aae,'padding':ss});return _0x2c2aae[_0x38c989(0x271)](_0x1665e[_0x38c989(0x3b0)])['toString'](oi);}function cs(){var _0x227587=_0x5bfca8;const _0x3e7728=_0x2efffb()['__Key__'];if(_0x3e7728){const _0x467c16={'time':Math[_0x227587(0x30a)](Date['now']()/0x3e8),'domain':location[_0x227587(0x111)]};return as(JSON['stringify'](_0x467c16),_0x3e7728);}}var hs=Object[_0x5bfca8(0x37e)],_s=Object[_0x5bfca8(0x2cb)],ls=(_0x2bdbba,_0x134038,_0xbca606,_0x49bd08)=>{var _0x1d70df=_0x5bfca8;for(var _0x328a16=_0x49bd08>0x1?void 0x0:_0x49bd08?_s(_0x134038,_0xbca606):_0x134038,_0x2198ee=_0x2bdbba[_0x1d70df(0xc8)]-0x1,_0xe5a78d;_0x2198ee>=0x0;_0x2198ee--)(_0xe5a78d=_0x2bdbba[_0x2198ee])&&(_0x328a16=(_0x49bd08?_0xe5a78d(_0x134038,_0xbca606,_0x328a16):_0xe5a78d(_0x328a16))||_0x328a16);return _0x49bd08&&_0x328a16&&hs(_0x134038,_0xbca606,_0x328a16),_0x328a16;},us=(_0x1d0e6b,_0x521e0f)=>(_0xbdddfb,_0x2cf80b)=>_0x521e0f(_0xbdddfb,_0x2cf80b,_0x1d0e6b);let ot=class{constructor(_0x201c6e){var _0x65d789=_0x5bfca8;this[_0x65d789(0x11c)]=_0x201c6e,this[_0x65d789(0x2df)]();}['_initRequestHeader'](){var _0x58e304=_0x5bfca8;this[_0x58e304(0x11c)][_0x58e304(0x367)]({'interceptor':(_0x2c44f4,_0x1975ac)=>{var _0x2b112c=_0x58e304;const _0x3bda99=_0x2c44f4['headers'],_0x4536d6=cs();return _0x4536d6&&_0x3bda99[_0x2b112c(0x122)](_0x2b112c(0x107),_0x4536d6),_0x1975ac(_0x2c44f4);}});}};ot=ls([us(0x0,_0x285a0e(_0x48889b))],ot);var ds=Object[_0x5bfca8(0x37e)],fs=Object[_0x5bfca8(0x2cb)],vs=(_0x2d1847,_0x29704f,_0x339e53,_0x1cbf39)=>{var _0x187b6e=_0x5bfca8;for(var _0x310986=_0x1cbf39>0x1?void 0x0:_0x1cbf39?fs(_0x29704f,_0x339e53):_0x29704f,_0x242e39=_0x2d1847[_0x187b6e(0xc8)]-0x1,_0x1fc98a;_0x242e39>=0x0;_0x242e39--)(_0x1fc98a=_0x2d1847[_0x242e39])&&(_0x310986=(_0x1cbf39?_0x1fc98a(_0x29704f,_0x339e53,_0x310986):_0x1fc98a(_0x310986))||_0x310986);return _0x1cbf39&&_0x310986&&ds(_0x29704f,_0x339e53,_0x310986),_0x310986;},mt=(_0x5f4608,_0x5e76b4)=>(_0xb76887,_0x3327cc)=>_0x5e76b4(_0xb76887,_0x3327cc,_0x5f4608);let Ot=class extends _0x13f3a3{constructor(_0x17c0a5,_0x148f73,_0x1892ab){var _0x490333=_0x5bfca8;super(),N(this,_0x490333(0x137),new _0x3de5fe(null)),N(this,'unitInfo$',this[_0x490333(0x137)]['asObservable']()),(this[_0x490333(0x2bf)]=_0x17c0a5,this[_0x490333(0x3b7)]=_0x148f73,this[_0x490333(0x1fd)]=_0x1892ab);}async[_0x5bfca8(0x133)](_0x26d997,_0x3f3a4b,_0x2acb11){var _0x146783=_0x5bfca8;this['_unitInfo$'][_0x146783(0x26d)]({'unitId':_0x26d997,'type':_0x3f3a4b,'subUnitId':_0x2acb11});let _0x964ada=null;switch(_0x3f3a4b){case Q[_0x146783(0x200)]:{_0x964ada=await this[_0x146783(0x3a0)](_0x26d997);break;}case Q['UNIVER_DOC']:{_0x964ada=await this[_0x146783(0x38f)](_0x26d997);break;}default:{this[_0x146783(0x2bf)]['error'](_0x146783(0x149),_0x146783(0x267));break;}}return _0x964ada;}async[_0x5bfca8(0x3a0)](_0x49035a){var _0x3a4973=_0x5bfca8,_0x8914de;let _0x39d42c=0x0;const _0x35193a=await((_0x8914de=this[_0x3a4973(0x1fd)])==null?void 0x0:_0x8914de['loadOfflineData'](_0x49035a));return _0x35193a&&(_0x35193a['awaitingChangeset']||_0x35193a[_0x3a4973(0x1ea)][_0x3a4973(0xc8)]!==0x0)&&(_0x39d42c=_0x35193a[_0x3a4973(0x2b1)]),_0x39d42c===0x0&&this['_logService'][_0x3a4973(0x2fd)](_0x3a4973(0x149),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3a4973(0x3b7)][_0x3a4973(0x317)](_0x49035a,_0x39d42c);}async[_0x5bfca8(0x38f)](_0x57e20d){var _0xed6351=_0x5bfca8,_0x4c278b;let _0x4f9190=0x0;const _0x19d14a=await((_0x4c278b=this[_0xed6351(0x1fd)])==null?void 0x0:_0x4c278b[_0xed6351(0x23d)](_0x57e20d));return _0x19d14a&&(_0x19d14a[_0xed6351(0xdd)]||_0x19d14a['mutations'][_0xed6351(0xc8)]!==0x0)&&(_0x4f9190=_0x19d14a['rev']),_0x4f9190===0x0&&this[_0xed6351(0x2bf)][_0xed6351(0x2fd)](_0xed6351(0x149),_0xed6351(0x216)),this['_snapshotService'][_0xed6351(0x1bd)](_0x57e20d,_0x4f9190);}};Ot=vs([mt(0x0,_0x43c1be),mt(0x1,_0x285a0e(_0x33b424)),mt(0x2,_0x22b405(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x5bfca8(0x2cb)],gs=(_0xf712fb,_0x4fc420,_0x1a2621,_0x353830)=>{var _0x11c32e=_0x5bfca8;for(var _0x2ed8ef=_0x353830>0x1?void 0x0:_0x353830?ms(_0x4fc420,_0x1a2621):_0x4fc420,_0x3188cc=_0xf712fb[_0x11c32e(0xc8)]-0x1,_0x60ad7b;_0x3188cc>=0x0;_0x3188cc--)(_0x60ad7b=_0xf712fb[_0x3188cc])&&(_0x2ed8ef=(_0x353830?_0x60ad7b(_0x4fc420,_0x1a2621,_0x2ed8ef):_0x60ad7b(_0x2ed8ef))||_0x2ed8ef);return _0x353830&&_0x2ed8ef&&ps(_0x4fc420,_0x1a2621,_0x2ed8ef),_0x2ed8ef;},gt=(_0x2074a6,_0x1f9200)=>(_0x1583ae,_0x28cd3c)=>_0x1f9200(_0x1583ae,_0x28cd3c,_0x2074a6);const Ss=['image/png',_0x5bfca8(0x1b5),_0x5bfca8(0x255),_0x5bfca8(0x206),_0x5bfca8(0x35c)],Es=0x5*0x400*0x400,Is=_0x5bfca8(0x2bd),Ts=_0x5bfca8(0x16c),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x5bfca8(0x145);let yt=class{constructor(_0x31f247,_0x5dbaf6,_0x3de221){var _0x429741=_0x5bfca8;N(this,'_waitCount',0x0),N(this,_0x429741(0x1ab),new _0x4268af()),N(this,_0x429741(0x331),this[_0x429741(0x1ab)]),N(this,_0x429741(0x1bf),new Map()),(this[_0x429741(0x11c)]=_0x31f247,this[_0x429741(0x313)]=_0x5dbaf6,this[_0x429741(0xc3)]=_0x3de221);}['setWaitCount'](_0x5cdf7e){var _0x5eb08e=_0x5bfca8;this[_0x5eb08e(0x10a)]=_0x5cdf7e,this[_0x5eb08e(0x1ab)][_0x5eb08e(0x26d)](_0x5cdf7e);}['getImageSourceCache'](_0x3200d0,_0x30a8d7){var _0xdeed85=_0x5bfca8;if(_0x30a8d7===_0x45d4d9[_0xdeed85(0x199)]){const _0x476450=new Image();return _0x476450['src']=_0x3200d0,_0x476450;}return this[_0xdeed85(0x1bf)][_0xdeed85(0x3a3)](_0x3200d0);}[_0x5bfca8(0x170)](_0x34cdc0,_0x3a6e78,_0x5bdee2){var _0x46e2d4=_0x5bfca8;_0x3a6e78===_0x45d4d9['BASE64']||_0x5bdee2==null||this['_imageSourceCache'][_0x46e2d4(0x122)](_0x34cdc0,_0x5bdee2);}async[_0x5bfca8(0x3a2)](_0xd72652){var _0x28bc6d=_0x5bfca8;try{const _0x1ade0d=this[_0x28bc6d(0x272)](this[_0x28bc6d(0x1d7)](),''+_0xd72652),_0x425c82=(await this['_httpService']['get'](_0x1ade0d))[_0x28bc6d(0x15d)];if(_0x425c82[_0x28bc6d(0x348)]&&_0x425c82[_0x28bc6d(0x348)][_0x28bc6d(0x253)]===Ii['OK']){const _0x4745b3=new URL(_0x425c82[_0x28bc6d(0xb1)],this[_0x28bc6d(0x39b)]())[_0x28bc6d(0x203)]();return Promise[_0x28bc6d(0x126)](_0x4745b3);}return Promise[_0x28bc6d(0x15c)](_0x425c82[_0x28bc6d(0x348)]);}catch(_0xcfecff){return Promise[_0x28bc6d(0x15c)](_0xcfecff);}}async[_0x5bfca8(0x1fb)](_0x1919c7){var _0x1c6af2=_0x5bfca8;let _0x400717='';if(!Ss['includes'](_0x1919c7[_0x1c6af2(0x361)]))return this[_0x1c6af2(0x283)](),Promise[_0x1c6af2(0x15c)](new Error(_0x35f44c['ERROR_IMAGE_TYPE']));if(_0x1919c7['size']>Es)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x35f44c[_0x1c6af2(0x12a)]));try{const _0x4f8225=new FormData();_0x4f8225['append'](_0x1c6af2(0x237),_0x1919c7);const _0x2971aa=this[_0x1c6af2(0xc3)][_0x1c6af2(0xd0)](),_0x116fb3=_0x2971aa==null?void 0x0:_0x2971aa[_0x1c6af2(0x2d9)]();if(!_0x116fb3)throw new Error(_0x1c6af2(0x128));const _0x135acb=this[_0x1c6af2(0x270)]()+_0x1c6af2(0xf2)+_0x1919c7[_0x1c6af2(0x28f)][_0x1c6af2(0x203)]()+_0x1c6af2(0x1df)+Ti[_0x1c6af2(0x282)]+_0x1c6af2(0x301)+encodeURIComponent(_0x116fb3),_0x59bb8c=await(await fetch(_0x135acb,{'method':_0x1c6af2(0x394),'body':_0x4f8225}))[_0x1c6af2(0x118)]();if(typeof _0x59bb8c[_0x1c6af2(0x248)]!=_0x1c6af2(0xce))return this[_0x1c6af2(0x283)](),Promise['reject'](new Error(_0x35f44c[_0x1c6af2(0x215)]));_0x400717=_0x59bb8c[_0x1c6af2(0x248)];}catch{return this['_decreaseWaiting'](),Promise[_0x1c6af2(0x15c)](new Error(_0x35f44c['ERROR_IMAGE']));}return new Promise((_0x4403c2,_0x33e703)=>{var _0x575dd3=_0x1c6af2;const _0x5c2db3=new FileReader();_0x5c2db3[_0x575dd3(0x2f5)](_0x1919c7),_0x5c2db3[_0x575dd3(0x34f)]=_0x5e8c61=>{var _0x5439b3=_0x575dd3,_0x2815f6;const _0x41ee35=(_0x2815f6=_0x5e8c61[_0x5439b3(0x3b2)])==null?void 0x0:_0x2815f6[_0x5439b3(0xda)];if(_0x41ee35==null){this['_decreaseWaiting'](),_0x33e703(new Error(_0x35f44c[_0x5439b3(0x215)]));return;}const _0x2c23a0=_0xd0a3e0['generateRandomId'](0x6);_0x4403c2({'imageId':_0x2c23a0,'imageSourceType':_0x45d4d9['UUID'],'source':_0x400717,'base64Cache':_0x41ee35,'status':_0x35f44c['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x4e3dd2=_0x5bfca8,_0x343915,_0x367143;const _0x5a410f=this[_0x4e3dd2(0x313)][_0x4e3dd2(0x242)](Is),_0x1361ec=this['_configService']['getConfig'](q);return(_0x367143=(_0x343915=_0x1361ec==null?void 0x0:_0x1361ec[_0x4e3dd2(0x1bb)])!=null?_0x343915:_0x5a410f)!=null?_0x367143:Ts;}[_0x5bfca8(0x1d7)](){var _0x4768d8=_0x5bfca8,_0xf3492,_0x5aecc0;const _0xfc725c=this[_0x4768d8(0x313)][_0x4768d8(0x242)](Cs),_0x2651c0=this[_0x4768d8(0x313)][_0x4768d8(0x242)](q);return(_0x5aecc0=(_0xf3492=_0x2651c0==null?void 0x0:_0x2651c0[_0x4768d8(0x2c4)])!=null?_0xf3492:_0xfc725c)!=null?_0x5aecc0:Rs;}[_0x5bfca8(0x39b)](){var _0x2a4c85=_0x5bfca8,_0x49c363;const _0x3d29ab=this[_0x2a4c85(0x313)][_0x2a4c85(0x242)](q);return(_0x49c363=_0x3d29ab==null?void 0x0:_0x3d29ab[_0x2a4c85(0x174)])!=null?_0x49c363:location[_0x2a4c85(0x105)];}[_0x5bfca8(0x272)](_0x5041ba,_0x5adc14){var _0xdfd0a5=_0x5bfca8;return _0x5041ba[_0xdfd0a5(0x36a)](_0xdfd0a5(0x10f),_0x5adc14);}['_decreaseWaiting'](){var _0x3a8b5d=_0x5bfca8;this['_waitCount']-=0x1,this[_0x3a8b5d(0x1ab)][_0x3a8b5d(0x26d)](this[_0x3a8b5d(0x10a)]);}};yt=gs([gt(0x0,_0x285a0e(_0x48889b)),gt(0x1,_0x44e247),gt(0x2,_0x285a0e(_0x34354e))],yt);var bs=Object[_0x5bfca8(0x37e)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x557f78,_0x177e37,_0x39407c,_0x12a426)=>{var _0x21bf1b=_0x5bfca8;for(var _0x498f39=_0x12a426>0x1?void 0x0:_0x12a426?Os(_0x177e37,_0x39407c):_0x177e37,_0x10a4e7=_0x557f78[_0x21bf1b(0xc8)]-0x1,_0x37f806;_0x10a4e7>=0x0;_0x10a4e7--)(_0x37f806=_0x557f78[_0x10a4e7])&&(_0x498f39=(_0x12a426?_0x37f806(_0x177e37,_0x39407c,_0x498f39):_0x37f806(_0x498f39))||_0x498f39);return _0x12a426&&_0x498f39&&bs(_0x177e37,_0x39407c,_0x498f39),_0x498f39;},_i=(_0x53bd5f,_0x43092c)=>(_0x16bac0,_0x3057f1)=>_0x43092c(_0x16bac0,_0x3057f1,_0x53bd5f);const Ns=_0x5bfca8(0x284);let Nt=class{constructor(_0x574d93,_0xe22dc5){var _0x2f72d2=_0x5bfca8;this[_0x2f72d2(0x313)]=_0x574d93,this[_0x2f72d2(0x2fa)]=_0xe22dc5;}['_getAPIPrefixPath'](){var _0x38635f=_0x5bfca8,_0x56661f,_0x4900f2;const _0x5dfb4b=this['_configService'][_0x38635f(0x242)](Pi),_0x5b3c6a=this['_configService']['getConfig'](q);return(_0x4900f2=(_0x56661f=_0x5b3c6a==null?void 0x0:_0x5b3c6a[_0x38635f(0x35e)])!=null?_0x56661f:_0x5dfb4b)!=null?_0x4900f2:Ns;}async['list'](_0x357400){var _0x2b485a=_0x5bfca8;const _0x40357b=this['_getAPIPrefixPath']()+_0x2b485a(0x1ef);return{'list':[{'title':_0x2b485a(0x2ef),'mentions':(await this['_HTTPService']['get'](_0x40357b,{'params':{'objectID':_0x357400[_0x2b485a(0x28b)],'unitID':_0x357400[_0x2b485a(0x28b)]}}))[_0x2b485a(0x15d)]['collaborators'][_0x2b485a(0x364)](_0x4da833=>({'objectId':_0x4da833['id'],'name':_0x4da833[_0x2b485a(0x362)][_0x2b485a(0x292)],'metadata':{'icon':_0x4da833['subject']['avatar']},'label':_0x4da833[_0x2b485a(0x362)][_0x2b485a(0x292)],'objectType':_0x306ad6[_0x2b485a(0x11d)]})),'metadata':{},'type':_0x306ad6['PERSON']}]};}};Nt=ys([_i(0x0,_0x285a0e(_0x44e247)),_i(0x1,_0x285a0e(_0x48889b))],Nt);var Ds=Object[_0x5bfca8(0x37e)],Ps=Object[_0x5bfca8(0x2cb)],ws=(_0x1138a2,_0x556150,_0x44345e,_0x41cb3a)=>{var _0x25ace4=_0x5bfca8;for(var _0x194ecc=_0x41cb3a>0x1?void 0x0:_0x41cb3a?Ps(_0x556150,_0x44345e):_0x556150,_0x333267=_0x1138a2[_0x25ace4(0xc8)]-0x1,_0x566309;_0x333267>=0x0;_0x333267--)(_0x566309=_0x1138a2[_0x333267])&&(_0x194ecc=(_0x41cb3a?_0x566309(_0x556150,_0x44345e,_0x194ecc):_0x566309(_0x194ecc))||_0x194ecc);return _0x41cb3a&&_0x194ecc&&Ds(_0x556150,_0x44345e,_0x194ecc),_0x194ecc;},Se=(_0x2ab3,_0x437e0e)=>(_0x1519d8,_0x4a6284)=>_0x437e0e(_0x1519d8,_0x4a6284,_0x2ab3);let at=class extends _0x13f3a3{constructor(_0x5731c0,_0x12a9a1,_0x43989a,_0x104b48,_0x3bd92b,_0x3c5d54,_0x121b88){var _0x385637=_0x5bfca8;super(),this[_0x385637(0x2ad)]=_0x5731c0,this['_univerInstanceService']=_0x12a9a1,this[_0x385637(0x310)]=_0x43989a,this['_collaborationSessionService']=_0x104b48,this[_0x385637(0xe4)]=_0x3bd92b,this[_0x385637(0x204)]=_0x3c5d54,this[_0x385637(0x263)]=_0x121b88,this['_initUnitPermissionChange'](),this[_0x385637(0x1c4)]();}[_0x5bfca8(0x1c4)](){var _0x3f42d5=_0x5bfca8;const _0x45dd39=async _0x2165b2=>{var _0x16adee=_0xe7de;(await this[_0x16adee(0x280)]['requireSession'](_0x2165b2))[_0x16adee(0x147)][_0x16adee(0x3b9)](_0x533c34(_0x9ad881=>_0x9ad881[_0x16adee(0x131)]===_0x3167f1['SHOULD_CLOSE_CONN']),_0x247a10(this[_0x16adee(0x1e1)]))[_0x16adee(0xbd)](_0x2d5089=>{var _0x21d425=_0x16adee;const _0x354cd5=_0x2d5089,{reason:_0xdc7a6d}=_0x354cd5[_0x21d425(0x18e)];this[_0x21d425(0xe4)]['emitEvent']({'id':se[_0x21d425(0x22f)],'data':_0xdc7a6d}),this[_0x21d425(0x310)]['updatePermissionPoint'](new _0x36b9b5(_0x2165b2)['id'],!0x1),this[_0x21d425(0x280)][_0x21d425(0x3a8)](_0x2165b2);});};_0x230e2e(this[_0x3f42d5(0xc3)][_0x3f42d5(0x1e8)](_0x1f23c0[_0x3f42d5(0x200)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1f23c0[_0x3f42d5(0x1aa)]))[_0x3f42d5(0x3b9)](_0x15918f(_0x480c09=>_0x480c09[_0x3f42d5(0x2d9)]()),_0x533c34(_0x184b87=>!_0x56fe53(_0x184b87)),_0x247a10(this[_0x3f42d5(0x1e1)]))['subscribe'](_0x397e51=>{_0x45dd39(_0x397e51);});}['_initUnitPermissionChange'](){var _0x42c6e5=_0x5bfca8;const _0x50c9f5=async _0x1c1e12=>{var _0x2116f6=_0xe7de;const _0x5a3ab3=await this['_collaborationSessionService'][_0x2116f6(0x1f8)](_0x1c1e12),_0x3c41ea=this[_0x2116f6(0x2ad)][_0x2116f6(0x3a3)](_0x251b0e);_0x5a3ab3[_0x2116f6(0x147)][_0x2116f6(0x3b9)](_0x533c34(_0x28c626=>_0x28c626[_0x2116f6(0x131)]===_0x3167f1[_0x2116f6(0x36c)]),_0x247a10(this[_0x2116f6(0x1e1)]))[_0x2116f6(0xbd)](_0x979da0=>{var _0x52fab5=_0x2116f6;const _0x13ade7=_0x979da0,{objectId:_0x198a69}=_0x13ade7[_0x52fab5(0x18e)];_0x198a69===_0x1c1e12?_0x3c41ea[_0x52fab5(0xf9)](_0x1c1e12):_0x3c41ea[_0x52fab5(0x1c0)](_0x1c1e12,_0x198a69);});};_0x230e2e(this[_0x42c6e5(0xc3)][_0x42c6e5(0x1e8)](_0x1f23c0[_0x42c6e5(0x200)]),this['_univerInstanceService'][_0x42c6e5(0x1e8)](_0x1f23c0[_0x42c6e5(0x1aa)]))[_0x42c6e5(0x3b9)](_0x15918f(_0x3fc2bf=>_0x3fc2bf['getUnitId']()),_0x533c34(_0x2d2c1e=>!_0x56fe53(_0x2d2c1e)),_0x247a10(this[_0x42c6e5(0x1e1)]))[_0x42c6e5(0xbd)](_0x59e5de=>{_0x50c9f5(_0x59e5de);});}};at=ws([Se(0x0,_0x285a0e(_0x22efd7)),Se(0x1,_0x34354e),Se(0x2,_0x537f08),Se(0x3,_0x285a0e(Le)),Se(0x4,_0x285a0e(pe)),Se(0x5,_0x35b29b),Se(0x6,_0x46a1d6)],at);var Us=Object[_0x5bfca8(0x37e)],As=Object[_0x5bfca8(0x2cb)],xs=(_0x77f45c,_0x2b4676,_0xd63d75,_0x561225)=>{var _0x373187=_0x5bfca8;for(var _0x589bd9=_0x561225>0x1?void 0x0:_0x561225?As(_0x2b4676,_0xd63d75):_0x2b4676,_0x4ac001=_0x77f45c[_0x373187(0xc8)]-0x1,_0x2ba1fa;_0x4ac001>=0x0;_0x4ac001--)(_0x2ba1fa=_0x77f45c[_0x4ac001])&&(_0x589bd9=(_0x561225?_0x2ba1fa(_0x2b4676,_0xd63d75,_0x589bd9):_0x2ba1fa(_0x589bd9))||_0x589bd9);return _0x561225&&_0x589bd9&&Us(_0x2b4676,_0xd63d75,_0x589bd9),_0x589bd9;},li=(_0x557715,_0x19b4ce)=>(_0x3c7ee0,_0x4a80f2)=>_0x19b4ce(_0x3c7ee0,_0x4a80f2,_0x557715);let Dt=class{constructor(_0x1298b1,_0x13a35e){var _0x9c4e3c=_0x5bfca8;this[_0x9c4e3c(0x313)]=_0x1298b1,this['_httpService']=_0x13a35e;}async[_0x5bfca8(0x1c3)](_0x4b97fa,_0x151c3b){var _0x324c5c=_0x5bfca8,_0x1aaa87;const {unitID:_0x42319d,type:_0x36bee3,revision:_0x4755c2=0x0}=_0x151c3b,_0x5166cd=this[_0x324c5c(0x34b)]()+'/'+_0x36bee3+_0x324c5c(0x287)+_0x42319d+_0x324c5c(0x386)+_0x4755c2,_0x32ee9d=(await this[_0x324c5c(0x11c)][_0x324c5c(0x3a3)](_0x5166cd))['body'],_0x5a2729=(_0x1aaa87=_0x32ee9d['snapshot'])==null?void 0x0:_0x1aaa87[_0x324c5c(0x335)];if(_0x5a2729){const _0x304f35=_0x5a2729==null?void 0x0:_0x5a2729[_0x324c5c(0x177)],_0x44050d=_0x166c48['encode'](_0x196ae5(_0x304f35));_0x5a2729[_0x324c5c(0x177)]=_0x44050d,Object[_0x324c5c(0x234)](_0x5a2729[_0x324c5c(0x1d5)])[_0x324c5c(0x33e)](([,_0x561688])=>{const _0x33dbc4=_0x561688['originalMeta'],_0x1275e7=_0x166c48['encode'](_0x196ae5(_0x33dbc4));_0x561688['originalMeta']=_0x1275e7;});}return _0x32ee9d;}async[_0x5bfca8(0x236)](_0x38c0d4,_0x3d887f){var _0x4c60ba=_0x5bfca8;const {unitID:_0x2d7afb,type:_0x56e23b,blockID:_0x59dc23}=_0x3d887f,_0x555d67=this[_0x4c60ba(0x12b)]()+'/'+_0x56e23b+'/unit/'+_0x2d7afb+_0x4c60ba(0x33c)+_0x59dc23;return(await this['_httpService'][_0x4c60ba(0x3a3)](_0x555d67))['body'];}async[_0x5bfca8(0xb3)](_0x5d7f2c,_0x417e71){var _0x543cee=_0x5bfca8;const {unitID:_0x1d0ea2,type:_0x455338,blockID:_0x3d5b6c}=_0x417e71,_0x560efb=this[_0x543cee(0x12b)]()+'/block/'+_0x455338+_0x543cee(0x287)+_0x1d0ea2+_0x543cee(0x33c)+_0x3d5b6c;return(await this[_0x543cee(0x11c)]['get'](_0x560efb))[_0x543cee(0x15d)];}async[_0x5bfca8(0x25d)](_0x1b16bd,_0x3faf9e){var _0x1a6f46=_0x5bfca8;const {unitID:_0x5ce5f9,type:_0x4db46f,from:_0x1228d8,to:_0x259891}=_0x3faf9e,_0x2b9830=this[_0x1a6f46(0x12b)]()+'/'+_0x4db46f+_0x1a6f46(0x287)+_0x5ce5f9+_0x1a6f46(0x377)+_0x1228d8+_0x1a6f46(0x269)+_0x259891;return(await this[_0x1a6f46(0x11c)][_0x1a6f46(0x3a3)](_0x2b9830))[_0x1a6f46(0x15d)];}[_0x5bfca8(0x34b)](){var _0x9f2647=_0x5bfca8,_0x37e3d9;return(_0x37e3d9=this[_0x9f2647(0x313)][_0x9f2647(0x242)](Tn))!=null?_0x37e3d9:this[_0x9f2647(0x12b)]();}['_getAPIPrefix'](){var _0x1fbefa=_0x5bfca8,_0x242aaf,_0x48ab45;const _0x31fc3d=this['_configService'][_0x1fbefa(0x242)](En),_0x2ca69c=this[_0x1fbefa(0x313)][_0x1fbefa(0x242)](q);return(_0x48ab45=(_0x242aaf=_0x2ca69c==null?void 0x0:_0x2ca69c['snapshotServerUrl'])!=null?_0x242aaf:_0x31fc3d)!=null?_0x48ab45:In;}async[_0x5bfca8(0x135)](_0x540aee,_0x97d13a){var _0x562d2b=_0x5bfca8;const _0x549051=_0x562d2b(0x2b6)+_0x97d13a[_0x562d2b(0x361)]+_0x562d2b(0x287)+_0x97d13a['unitID']+_0x562d2b(0x298);return(await this[_0x562d2b(0x11c)]['get'](_0x549051,{'params':{'resourceId':JSON[_0x562d2b(0x264)](_0x97d13a[_0x562d2b(0x336)])}}))[_0x562d2b(0x15d)];}[_0x5bfca8(0xfb)](){var _0x625355=_0x5bfca8;throw new Error(_0x625355(0x3ad));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bfca8(0x351)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bfca8(0x1fe)](){var _0x2739a8=_0x5bfca8;throw new Error(_0x2739a8(0x3ad));}[_0x5bfca8(0x132)](){var _0x5a305b=_0x5bfca8;throw new Error(_0x5a305b(0x3ad));}};Dt=xs([li(0x0,_0x44e247),li(0x1,_0x285a0e(_0x48889b))],Dt);var Ls=Object[_0x5bfca8(0x37e)],Ms=Object[_0x5bfca8(0x2cb)],$s=(_0x252d27,_0x45cb7a,_0x5a3e87,_0xfc4418)=>{var _0x145c7e=_0x5bfca8;for(var _0x4183f0=_0xfc4418>0x1?void 0x0:_0xfc4418?Ms(_0x45cb7a,_0x5a3e87):_0x45cb7a,_0x4cbcb0=_0x252d27[_0x145c7e(0xc8)]-0x1,_0x2544ee;_0x4cbcb0>=0x0;_0x4cbcb0--)(_0x2544ee=_0x252d27[_0x4cbcb0])&&(_0x4183f0=(_0xfc4418?_0x2544ee(_0x45cb7a,_0x5a3e87,_0x4183f0):_0x2544ee(_0x4183f0))||_0x4183f0);return _0xfc4418&&_0x4183f0&&Ls(_0x45cb7a,_0x5a3e87,_0x4183f0),_0x4183f0;},Ae=(_0x39f9e3,_0x5841ea)=>(_0x3a6da9,_0x5194aa)=>_0x5841ea(_0x3a6da9,_0x5194aa,_0x39f9e3);let Pt=class extends _0x1d83d4{constructor(_0x5c1e8d,_0x3037cd,_0x2c54c5,_0x4f8564,_0x8e6b43){var _0x52c325=_0x5bfca8;super(_0x5c1e8d,_0x3037cd,_0x2c54c5),this[_0x52c325(0x18a)]=_0x4f8564,this[_0x52c325(0x2bf)]=_0x8e6b43;}[_0x5bfca8(0xe8)](_0x20367a,_0x2c83ae){var _0x540a12=_0x5bfca8;const _0x394339=this['_getUndoStack'](_0x20367a);if(_0x394339)try{const _0x5e77d8=this[_0x540a12(0xd9)](_0x394339,_0x2c83ae);this['_substituteUndoStack'](_0x20367a,_0x5e77d8);}catch(_0xc9c15f){this[_0x540a12(0x2bf)]['error'](_0x540a12(0x1d3),_0xc9c15f),this['_clearUndo'](_0x20367a);}const _0x2b3da9=this['_getRedoStack'](_0x20367a);if(_0x2b3da9)try{const _0x380795=this[_0x540a12(0xd9)](_0x2b3da9,_0x2c83ae);this['_substituteRedoStack'](_0x20367a,_0x380795);}catch(_0x153a7a){this[_0x540a12(0x2bf)][_0x540a12(0x348)](_0x153a7a),this[_0x540a12(0x2ea)](_0x20367a);}}[_0x5bfca8(0x373)](_0x3d169e){var _0x272dbb=_0x5bfca8;const _0x28c6f8=this['_getUndoStack'](_0x3d169e);_0x28c6f8&&(_0x28c6f8[_0x272dbb(0xc8)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x99823b){var _0x122c52=_0x5bfca8;const _0x4327a7=this[_0x122c52(0x141)](_0x99823b);_0x4327a7&&(_0x4327a7[_0x122c52(0xc8)]=0x0,this[_0x122c52(0x2c1)]());}['_substituteUndoStack'](_0x179ec9,_0xdbb109){var _0x4acc6a=_0x5bfca8;this[_0x4acc6a(0x106)]['set'](_0x179ec9,_0xdbb109),this['_updateStatus']();}['_substituteRedoStack'](_0x7a51e7,_0x212b90){var _0x5af5fe=_0x5bfca8;this[_0x5af5fe(0x258)][_0x5af5fe(0x122)](_0x7a51e7,_0x212b90),this[_0x5af5fe(0x2c1)]();}[_0x5bfca8(0xd9)](_0x581626,_0x334dc4){var _0x3c6f36=_0x5bfca8;const _0x75a759=[];let _0x42694b=_0x334dc4,_0x96daf4=_0x334dc4;for(let _0x482a86=_0x581626[_0x3c6f36(0xc8)]-0x1;_0x482a86>=0x0;_0x482a86--){const {unitID:_0x14fd32,undoMutations:_0x2caa9b,redoMutations:_0x58b4de}=_0x581626[_0x482a86],_0x469ea0=this[_0x3c6f36(0x18a)][_0x3c6f36(0x184)](_0x42694b,_0x2caa9b),_0x558054=this[_0x3c6f36(0x18a)][_0x3c6f36(0x184)](_0x96daf4,_0x58b4de);if(_0x123514(_0x469ea0)||_0x123514(_0x558054)){this[_0x3c6f36(0x2bf)][_0x3c6f36(0x348)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x469ea0,_0x558054);break;}_0x42694b=_0x469ea0[_0x3c6f36(0xbf)],_0x96daf4=_0x558054[_0x3c6f36(0xbf)],_0x75a759[_0x3c6f36(0x306)]({'unitID':_0x14fd32,'undoMutations':_0x469ea0[_0x3c6f36(0x10d)],'redoMutations':_0x558054[_0x3c6f36(0x10d)]});}return _0x75a759[_0x3c6f36(0xdc)]();}};Pt=$s([Ae(0x0,_0x34354e),Ae(0x1,_0x36fb84),Ae(0x2,_0x70d195),Ae(0x3,_0x45197c),Ae(0x4,_0x43c1be)],Pt);var xi=Object[_0x5bfca8(0x37e)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x40b6e6,_0x17ae32,_0xb03c68)=>_0x17ae32 in _0x40b6e6?xi(_0x40b6e6,_0x17ae32,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb03c68}):_0x40b6e6[_0x17ae32]=_0xb03c68,js=(_0x2c0724,_0x4ab55d,_0x2c4f8d,_0x10cd9d)=>{var _0x11f96b=_0x5bfca8;for(var _0x35dd5f=_0x10cd9d>0x1?void 0x0:_0x10cd9d?Hs(_0x4ab55d,_0x2c4f8d):_0x4ab55d,_0x2d50c0=_0x2c0724[_0x11f96b(0xc8)]-0x1,_0x438062;_0x2d50c0>=0x0;_0x2d50c0--)(_0x438062=_0x2c0724[_0x2d50c0])&&(_0x35dd5f=(_0x10cd9d?_0x438062(_0x4ab55d,_0x2c4f8d,_0x35dd5f):_0x438062(_0x35dd5f))||_0x35dd5f);return _0x10cd9d&&_0x35dd5f&&xi(_0x4ab55d,_0x2c4f8d,_0x35dd5f),_0x35dd5f;},St=(_0x4994e9,_0x5a8aa7)=>(_0x3165e8,_0x3f2d39)=>_0x5a8aa7(_0x3165e8,_0x3f2d39,_0x4994e9),Bs=(_0x2af5e3,_0x2cf374,_0x978a6f)=>ks(_0x2af5e3,_0x2cf374+'',_0x978a6f);const Fs=_0x5bfca8(0x2a3);let wt=class extends _0x2071a8{constructor(_0x18a097=Wt,_0x23f5df,_0x4b133d,_0x15b4a8){var _0x101b8e=_0x5bfca8;super(),this['_config']=_0x18a097,this[_0x101b8e(0x2bf)]=_0x23f5df,this['_injector']=_0x4b133d,this[_0x101b8e(0x313)]=_0x15b4a8;const {..._0x5d2f03}=_0x2b9995({},Wt,this[_0x101b8e(0x371)]);this[_0x101b8e(0x313)][_0x101b8e(0x194)](q,_0x5d2f03);}[_0x5bfca8(0x2e6)](){var _0xece4f6=_0x5bfca8;this[_0xece4f6(0x28d)](),this[_0xece4f6(0x117)]();}[_0x5bfca8(0x28d)](){var _0x4a87cf=_0x5bfca8,_0x11933c,_0x56411e,_0x4b59e4,_0x41cf93;this[_0x4a87cf(0x2ad)][_0x4a87cf(0x2bc)](_0x46a1d6)&&this['_logService'][_0x4a87cf(0x348)](_0x4a87cf(0x3ab),_0x4a87cf(0x359));const _0x49e58a=_0x575c49([[_0x46a1d6,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x56411e=(_0x11933c=this[_0x4a87cf(0x371)])==null?void 0x0:_0x11933c['socketService'])!=null?_0x56411e:Et}],[_0x410261,{'useClass':Dt}],[_0x35b29b,{'useClass':bt}],[_0x5b1197,{'useClass':yt}],[_0x250626,{'useClass':Nt}],[rt],[Rt]],(_0x4b59e4=this[_0x4a87cf(0x371)])==null?void 0x0:_0x4b59e4[_0x4a87cf(0x22d)]);if(!((_0x41cf93=this[_0x4a87cf(0x371)])!=null&&_0x41cf93[_0x4a87cf(0x240)])){const _0x54132c=_0x49e58a[_0x4a87cf(0x196)](([_0x22ad0b])=>_0x22ad0b===ht);_0x54132c!==-0x1&&_0x49e58a[_0x4a87cf(0x14d)](_0x54132c,0x1);}_0x4f4782(this['_injector'],_0x49e58a);}['_initDependencies'](){var _0x2973c6=_0x5bfca8,_0x1b33c9,_0x2085e9,_0x49a79d;this['_injector']['get'](_0x48889b)[_0x2973c6(0x367)]({'priority':0x14,'interceptor':_0x4ded48({'maxParallel':0x6})}),(_0x1b33c9=this[_0x2973c6(0x371)])!=null&&_0x1b33c9['enableOfflineEditing']||(_0x2085e9=this[_0x2973c6(0x2ad)]['get'](J,_0x256a8e[_0x2973c6(0x370)]))==null||_0x2085e9['disableLocalCache'](),(_0x49a79d=this['_config'])!=null&&_0x49a79d[_0x2973c6(0xb6)]&&_0x401588(this[_0x2973c6(0x2ad)],[[st]]),_0x401588(this[_0x2973c6(0x2ad)],[[ot],[rt],[at]]);}};Bs(wt,_0x5bfca8(0xd1),Fs),wt=js([_0xd14b3(_0x2ab92a,_0x6cc86,_0x43f7df),St(0x1,_0x43c1be),St(0x2,_0x285a0e(_0x22efd7)),St(0x3,_0x44e247)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};