@univerjs-pro/collaboration-client 0.6.10-nightly.202504131606 → 0.6.10-nightly.202504151606

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 _0x12ec3c=_0x7e46;(function(_0x23d8bd,_0x1a2871){var _0x259dd2=_0x7e46,_0x199dae=_0x23d8bd();while(!![]){try{var _0x4abf10=-parseInt(_0x259dd2(0x16f))/0x1*(-parseInt(_0x259dd2(0x2a6))/0x2)+parseInt(_0x259dd2(0x2a7))/0x3*(-parseInt(_0x259dd2(0x29e))/0x4)+parseInt(_0x259dd2(0x2ae))/0x5*(parseInt(_0x259dd2(0x1e2))/0x6)+parseInt(_0x259dd2(0x3f4))/0x7*(-parseInt(_0x259dd2(0x225))/0x8)+-parseInt(_0x259dd2(0x26d))/0x9+-parseInt(_0x259dd2(0x327))/0xa*(-parseInt(_0x259dd2(0x393))/0xb)+parseInt(_0x259dd2(0x368))/0xc;if(_0x4abf10===_0x1a2871)break;else _0x199dae['push'](_0x199dae['shift']());}catch(_0x43f396){_0x199dae['push'](_0x199dae['shift']());}}}(_0x551a,0xbf88e));var wi=Object[_0x12ec3c(0x2ed)],Pi=(_0x42792e,_0x1ea568,_0x3b8abe)=>_0x1ea568 in _0x42792e?wi(_0x42792e,_0x1ea568,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b8abe}):_0x42792e[_0x1ea568]=_0x3b8abe,N=(_0x23ae11,_0x52b060,_0x1562fd)=>Pi(_0x23ae11,typeof _0x52b060!='symbol'?_0x52b060+'':_0x52b060,_0x1562fd);import{createIdentifier as _0x473f8f,Inject as _0xcdde00,Injector as _0x3ac3e0,IConfigService as _0x1a732b,ILogService as _0x4c4c08,Disposable as _0x3ba9b8,DisposableCollection as _0x4849b6,toDisposable as _0x5d5085,IUniverInstanceService as _0x72f3ae,UserManagerService as _0x9e4b2,UniverInstanceType as _0xa8cbc9,LocaleService as _0x14dddf,Optional as _0x92c5af,RxDisposable as _0x221eab,Tools as _0x325393,Rectangle as _0x566e5c,ICommandService as _0x1a6580,JSONX as _0x4f4e07,CommandType as _0x5baef3,IUndoRedoService as _0x4a8d19,IPermissionService as _0x1f8e18,sequenceExecute as _0x522b5e,Workbook as _0x21c41e,MentionType as _0x19a2e2,isInternalEditorID as _0x361694,LocalUndoRedoService as _0x387e91,IContextService as _0xe3af11,DependentOn as _0x505fbb,Plugin as _0xc2147a,merge as _0x188bea,mergeOverrideWithDependencies as _0xb75436,IAuthzIoService as _0x27972a,IMentionIOService as _0x20c66f,registerDependencies as _0x5f5a3d,Quantity as _0x4fa767,touchDependencies as _0x49e9ca}from'@univerjs/core';import{Subject as _0x238823,merge as _0x1c8303,of as _0x5aa6f4,BehaviorSubject as _0x3eca50,takeUntil as _0x993a0b,ReplaySubject as _0x3d613b,take as _0x1e5b04,map as _0x2394ca,shareReplay as _0x126d73,firstValueFrom as _0x3675db,concatMap as _0x499e2e}from'rxjs';import{map as _0x378e98,take as _0x2ee070,filter as _0x217676,delay as _0x371c85,takeUntil as _0x2a804a}from'rxjs/operators';import{CollaborationEvent as _0x3cdc31,ISnapshotServerService as _0x25633b,parseChangesetToProtocol as _0x40021a,ITransformService as _0x10d518,isTransformMutationsWithChangesetSuccess as _0x46377c,mapDocumentTypeToUniverType as _0x3d3e27,RevisionService as _0x4a118f,isTransformChangesetsSuccess as _0x2404ad,CompressMutationService as _0x2c7d1a,parseProtocolChangeset as _0x5b6b76,SnapshotService as _0x294bcb,textEncoder as _0x28d806,b64DecodeUnicode as _0x401ad9,isTransformMutationsWithChangesetFailure as _0x391ae7,UniverCollaborationPlugin as _0x15a40d}from'@univerjs-pro/collaboration';import{HTTPService as _0x4d96c8,ISocketService as _0x16850a,MergeInterceptorFactory as _0xc9345f,HTTPRequest as _0x4f5cf9,UniverNetworkPlugin as _0x154ba2,ThresholdInterceptorFactory as _0x3de671}from'@univerjs/network';import{ITelemetryService as _0xe84d57}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x331543}from'@univerjs/docs';import{SheetsSelectionsService as _0xf86817,SetSelectionsOperation as _0x35a15f,InsertSheetMutation as _0x26f816,EmptyMutation as _0x4b7f14,WorkbookEditablePermission as _0x2b9c60,SheetPermissionInitController as _0x9908dd}from'@univerjs/sheets';import{ImageSourceType as _0x5294e5,ImageUploadStatusType as _0x1b2ce7,IImageIoService as _0x553cca}from'@univerjs/drawing';import{getGlobalObject as _0x4bd7c5}from'@univerjs-pro/license';const mn=_0x12ec3c(0x37d),gn='/universer-api/snapshot',Sn=_0x12ec3c(0x39f),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x12ec3c(0x42c),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0x12ec3c(0x176),Cn=_0x12ec3c(0x2ee),Rn=0x7530,mi=_0x12ec3c(0x2cf),gi=0x4e20,bn=0x4e20,yn=_0x12ec3c(0x3f9),On=0x3,Mr='LOCAL_CACHE_INTERVAL',kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x12ec3c(0x16b),Un=_0x12ec3c(0x1a7),An=_0x12ec3c(0x17c),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr=_0x12ec3c(0x191);var Si=(_0x3acff4=>(_0x3acff4[_0x3acff4[_0x12ec3c(0x43c)]=0x0]=_0x12ec3c(0x43c),_0x3acff4[_0x3acff4['OK']=0x1]='OK',_0x3acff4[_0x3acff4[_0x12ec3c(0x2c7)]=0x2]=_0x12ec3c(0x2c7),_0x3acff4[_0x3acff4[_0x12ec3c(0x43d)]=0x3]=_0x12ec3c(0x43d),_0x3acff4[_0x3acff4[_0x12ec3c(0x1b5)]=0x4]=_0x12ec3c(0x1b5),_0x3acff4[_0x3acff4[_0x12ec3c(0x20f)]=0x5]='UNAUTHENTICATED',_0x3acff4[_0x3acff4[_0x12ec3c(0x1d5)]=0x6]=_0x12ec3c(0x1d5),_0x3acff4[_0x3acff4['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3acff4[_0x3acff4[_0x12ec3c(0x389)]=0x8]=_0x12ec3c(0x389),_0x3acff4[_0x3acff4[_0x12ec3c(0x276)]=0x9]='COMPLETION_FINISHED',_0x3acff4[_0x3acff4[_0x12ec3c(0x34a)]=0xa]='LOGIN_FAILED',_0x3acff4[_0x3acff4[_0x12ec3c(0x283)]=0x1389]=_0x12ec3c(0x283),_0x3acff4[_0x3acff4[_0x12ec3c(0x377)]=0x1771]=_0x12ec3c(0x377),_0x3acff4[_0x3acff4[_0x12ec3c(0x1af)]=0x1772]=_0x12ec3c(0x1af),_0x3acff4[_0x3acff4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x12ec3c(0x33b),_0x3acff4[_0x3acff4[_0x12ec3c(0x260)]=0x1b59]=_0x12ec3c(0x260),_0x3acff4[_0x3acff4[_0x12ec3c(0x39b)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3acff4[_0x3acff4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x12ec3c(0x301),_0x3acff4[_0x3acff4[_0x12ec3c(0x295)]=0x1b5c]=_0x12ec3c(0x295),_0x3acff4[_0x3acff4[_0x12ec3c(0x220)]=0x1b5d]=_0x12ec3c(0x220),_0x3acff4[_0x3acff4[_0x12ec3c(0x293)]=0x1f41]=_0x12ec3c(0x293),_0x3acff4[_0x3acff4[_0x12ec3c(0x1c2)]=0x2329]=_0x12ec3c(0x1c2),_0x3acff4[_0x3acff4[_0x12ec3c(0x259)]=0x232a]=_0x12ec3c(0x259),_0x3acff4[_0x3acff4[_0x12ec3c(0x357)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3acff4[_0x3acff4[_0x12ec3c(0x31e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3acff4[_0x3acff4[_0x12ec3c(0x3bb)]=0x232d]=_0x12ec3c(0x3bb),_0x3acff4[_0x3acff4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12ec3c(0x32d),_0x3acff4[_0x3acff4[_0x12ec3c(0x161)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3acff4[_0x3acff4[_0x12ec3c(0x3d0)]=0x2713]=_0x12ec3c(0x3d0),_0x3acff4[_0x3acff4[_0x12ec3c(0x24d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3acff4[_0x3acff4[_0x12ec3c(0x3bc)]=0x2af9]=_0x12ec3c(0x3bc),_0x3acff4[_0x3acff4[_0x12ec3c(0x224)]=0x2ee1]=_0x12ec3c(0x224),_0x3acff4[_0x3acff4['INVALID_INVITE_CODE']=0x2ee2]=_0x12ec3c(0x378),_0x3acff4[_0x3acff4['INVITE_CODE_REQUIRED']=0x2ee3]=_0x12ec3c(0x2fd),_0x3acff4[_0x3acff4['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x3acff4[_0x3acff4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x12ec3c(0x26e),_0x3acff4[_0x3acff4[_0x12ec3c(0x2fe)]=0x32c9]=_0x12ec3c(0x2fe),_0x3acff4[_0x3acff4[_0x12ec3c(0x261)]=0x32ca]=_0x12ec3c(0x261),_0x3acff4[_0x3acff4[_0x12ec3c(0x3b5)]=0x32cb]=_0x12ec3c(0x3b5),_0x3acff4[_0x3acff4[_0x12ec3c(0x37c)]=-0x1]=_0x12ec3c(0x37c),_0x3acff4))(Si||{}),Q=(_0x2b1a84=>(_0x2b1a84[_0x2b1a84[_0x12ec3c(0x2c9)]=0x0]='UNIVER_UNKNOWN',_0x2b1a84[_0x2b1a84['UNIVER_DOC']=0x1]=_0x12ec3c(0x374),_0x2b1a84[_0x2b1a84[_0x12ec3c(0x397)]=0x2]=_0x12ec3c(0x397),_0x2b1a84[_0x2b1a84[_0x12ec3c(0x1f4)]=0x3]=_0x12ec3c(0x1f4),_0x2b1a84[_0x2b1a84['UNIVER_PROJECT']=0x4]=_0x12ec3c(0x165),_0x2b1a84[_0x2b1a84[_0x12ec3c(0x37c)]=-0x1]=_0x12ec3c(0x37c),_0x2b1a84))(Q||{}),F=(_0xd180f5=>(_0xd180f5[_0xd180f5[_0x12ec3c(0x287)]=0x0]=_0x12ec3c(0x287),_0xd180f5[_0xd180f5[_0x12ec3c(0x1e7)]=0x1]=_0x12ec3c(0x1e7),_0xd180f5[_0xd180f5[_0x12ec3c(0x2fa)]=0x2]=_0x12ec3c(0x2fa),_0xd180f5[_0xd180f5[_0x12ec3c(0x23f)]=0x3]='LEAVE',_0xd180f5[_0xd180f5['INGEST']=0x4]=_0x12ec3c(0x35f),_0xd180f5[_0xd180f5[_0x12ec3c(0x253)]=0x5]='HEARTBEAT',_0xd180f5[_0xd180f5[_0x12ec3c(0x2f4)]=0x6]=_0x12ec3c(0x2f4),_0xd180f5[_0xd180f5['UNRECOGNIZED']=-0x1]=_0x12ec3c(0x37c),_0xd180f5))(F||{}),ge=(_0x5d84c4=>(_0x5d84c4[_0x5d84c4[_0x12ec3c(0x410)]=0x0]=_0x12ec3c(0x410),_0x5d84c4[_0x5d84c4['OK']=0x1]='OK',_0x5d84c4[_0x5d84c4[_0x12ec3c(0x285)]=0x2]=_0x12ec3c(0x285),_0x5d84c4[_0x5d84c4[_0x12ec3c(0x23b)]=0x3e9]=_0x12ec3c(0x23b),_0x5d84c4[_0x5d84c4[_0x12ec3c(0x379)]=0x3ea]=_0x12ec3c(0x379),_0x5d84c4[_0x5d84c4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x12ec3c(0x308),_0x5d84c4[_0x5d84c4['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5d84c4[_0x5d84c4[_0x12ec3c(0x37c)]=-0x1]=_0x12ec3c(0x37c),_0x5d84c4))(ge||{}),Ei=(_0x4ff3af=>(_0x4ff3af[_0x4ff3af[_0x12ec3c(0x1bc)]=0x0]=_0x12ec3c(0x1bc),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x1b8)]=0x1]=_0x12ec3c(0x1b8),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x274)]=0x2]=_0x12ec3c(0x274),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x200)]=0x3]='UnitEmbedded',_0x4ff3af[_0x4ff3af[_0x12ec3c(0x211)]=0x4]=_0x12ec3c(0x211),_0x4ff3af[_0x4ff3af['UserProfileImg']=0x5]=_0x12ec3c(0x39c),_0x4ff3af[_0x4ff3af[_0x12ec3c(0x37c)]=-0x1]='UNRECOGNIZED',_0x4ff3af))(Ei||{});const q=_0x12ec3c(0x311),wn={};var re=(_0xa37066=>(_0xa37066[_0x12ec3c(0x222)]=_0x12ec3c(0x222),_0xa37066[_0x12ec3c(0x43d)]=_0x12ec3c(0x43d),_0xa37066['CONFLICT']=_0x12ec3c(0x2b3),_0xa37066[_0x12ec3c(0x3c9)]=_0x12ec3c(0x3c9),_0xa37066[_0x12ec3c(0x3e6)]='JOIN_ROOM_FAILED',_0xa37066['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0xa37066[_0x12ec3c(0x332)]=_0x12ec3c(0x332),_0xa37066[_0x12ec3c(0x30e)]=_0x12ec3c(0x30e),_0xa37066))(re||{});class pe{constructor(){var _0x549d74=_0x12ec3c;N(this,_0x549d74(0x369),new _0x238823()),N(this,_0x549d74(0x360),this[_0x549d74(0x369)]['asObservable']());}[_0x12ec3c(0x2ea)](_0xdcf77c){var _0xb433a5=_0x12ec3c;this[_0xb433a5(0x369)]['next'](_0xdcf77c);}}const Pn=_0x473f8f(_0x12ec3c(0x364));function Ln(_0x22390b){var _0x2627a4=_0x12ec3c,_0x24bbd9,_0xedebbf,_0x2428b9,_0x19c0e9,_0x43dc71;const _0x57f0af=_0x22390b[_0x2627a4(0x25e)],_0xc7aacc=JSON['parse'](_0x57f0af);switch(_0xc7aacc[_0x2627a4(0x1aa)]){case F[_0x2627a4(0x253)]:case F['HELLO']:{const _0x50745a=_0xc7aacc[_0x2627a4(0x325)];return{..._0xc7aacc,'data':_0x50745a,'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};}case F[_0x2627a4(0x2fa)]:{const _0x442cae=_0xc7aacc['joinRsp'];return{..._0xc7aacc,'data':_0x442cae,'cmd':_0xc7aacc['cmd']};}case F[_0x2627a4(0x2f4)]:{const _0x317c2e=_0xc7aacc['collaMsg'];switch(_0x317c2e[_0x2627a4(0x244)]){case _0x3cdc31[_0x2627a4(0x1d7)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x24bbd9=_0x317c2e[_0x2627a4(0x2a0)])==null?void 0x0:_0x24bbd9['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x22b)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0xedebbf=_0x317c2e[_0x2627a4(0x384)])==null?void 0x0:_0xedebbf['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x15d)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x2428b9=_0x317c2e['newCsEvent'])==null?void 0x0:_0x2428b9['cs']},'cmd':_0xc7aacc['cmd']};case _0x3cdc31[_0x2627a4(0x409)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x19c0e9=_0x317c2e[_0x2627a4(0x18a)])==null?void 0x0:_0x19c0e9['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31['CHANGESET_SHOULD_RETRY']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':(_0x43dc71=_0x317c2e[_0x2627a4(0x402)])==null?void 0x0:_0x43dc71['cs']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x229)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x2f2)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x2b7)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x20c)]},'cmd':_0xc7aacc['cmd']};case _0x3cdc31[_0x2627a4(0x430)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x19b)]},'cmd':_0xc7aacc['cmd']};case _0x3cdc31['LIVESHARE_NEW_HOST']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x366)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x388)]:case _0x3cdc31[_0x2627a4(0x3d1)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e['liveShareOperation']},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x34c)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x366)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31['MSG_FOR_ERROR']:return{..._0xc7aacc,'data':_0x317c2e,'cmd':_0xc7aacc['cmd']};case _0x3cdc31['COMMENT_UPDATE']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x1bd)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31['UPDATE_PERMISSION_OBJ']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x1b9)]},'cmd':_0xc7aacc['cmd']};case _0x3cdc31['SHOULD_CLOSE_CONN']:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x442)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};case _0x3cdc31[_0x2627a4(0x1f1)]:return{..._0xc7aacc,'data':{..._0x317c2e,'data':_0x317c2e[_0x2627a4(0x335)]},'cmd':_0xc7aacc[_0x2627a4(0x1aa)]};default:return _0xc7aacc;}}default:return _0xc7aacc;}}function xn(_0x5cb045){var _0x45f65a=_0x12ec3c;switch(_0x5cb045[_0x45f65a(0x1aa)]){case F['HEARTBEAT']:case F[_0x45f65a(0x1e7)]:return JSON[_0x45f65a(0x32c)]({'cmd':_0x5cb045[_0x45f65a(0x1aa)],'routeKey':_0x5cb045[_0x45f65a(0x35c)]});case F['INGEST']:{let _0x54d302;switch(_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x244)]){case _0x3cdc31[_0x45f65a(0x229)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x229)],'updateCursorEvent':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31['USERS_LEAVE']:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x430)],'leaveEvent':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x2b7)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x2b7)],'joinEvent':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x317)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x317)],'liveShareNewHost':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x3d1)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x3d1)],'liveShareOperation':_0x5cb045['data'][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x34c)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x34c)],'liveShareTerminate':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x445)]:{_0x54d302={'eventID':_0x3cdc31['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x25e)]};break;}case _0x3cdc31[_0x45f65a(0x388)]:{_0x54d302={'eventID':_0x3cdc31[_0x45f65a(0x388)]};break;}default:_0x54d302={'eventID':_0x5cb045[_0x45f65a(0x25e)][_0x45f65a(0x244)]};}return JSON[_0x45f65a(0x32c)]({'cmd':_0x5cb045[_0x45f65a(0x1aa)],'routeKey':_0x5cb045[_0x45f65a(0x35c)],'collaMsg':_0x54d302});}case F[_0x45f65a(0x2fa)]:return JSON[_0x45f65a(0x32c)]({'cmd':_0x5cb045[_0x45f65a(0x1aa)],'routeKey':_0x5cb045[_0x45f65a(0x35c)],'joinReq':_0x5cb045['data']});case F[_0x45f65a(0x23f)]:return JSON['stringify']({'cmd':_0x5cb045['cmd'],'routeKey':_0x5cb045[_0x45f65a(0x35c)],'leaveReq':_0x5cb045[_0x45f65a(0x25e)]});default:throw new Error(_0x45f65a(0x25b));}}var Mn=Object[_0x12ec3c(0x1d4)],kn=(_0x594b62,_0x420442,_0x1646d0,_0x1e63a6)=>{var _0x4a1465=_0x12ec3c;for(var _0x4ebe08=_0x1e63a6>0x1?void 0x0:_0x1e63a6?Mn(_0x420442,_0x1646d0):_0x420442,_0x9b65bb=_0x594b62[_0x4a1465(0x3e1)]-0x1,_0x31478e;_0x9b65bb>=0x0;_0x9b65bb--)(_0x31478e=_0x594b62[_0x9b65bb])&&(_0x4ebe08=_0x31478e(_0x4ebe08)||_0x4ebe08);return _0x4ebe08;},Ae=(_0x591020,_0x5d1029)=>(_0x2ed5c9,_0x3417a6)=>_0x5d1029(_0x2ed5c9,_0x3417a6,_0x591020);const Ii=_0x473f8f('univer-pro.collaboration-client-socket-service');function $n(_0x5c7079,_0x28b1c5,_0x42e163){var _0x12f0ed=_0x12ec3c;return _0x5c7079+'/'+_0x28b1c5+_0x12f0ed(0x187)+_0x42e163+_0x12f0ed(0x42a);}let Gt=class extends _0x3ba9b8{constructor(_0x158123,_0x2d4e45,_0xac5079,_0x462043,_0xaf6475){var _0x191a93=_0x12ec3c;super(),this['_injector']=_0x158123,this[_0x191a93(0x303)]=_0x2d4e45,this['_configService']=_0xac5079,this['_logService']=_0x462043,this['_snapshotServerService']=_0xaf6475;}[_0x12ec3c(0x18d)](_0x2d4ec9){var _0x3ec56b=_0x12ec3c;const _0x180da5=this['_injector'][_0x3ec56b(0x2e0)](_0x16850a);if(!_0x180da5)throw new Error(_0x3ec56b(0x3fc));const _0x4e986c=_0x180da5[_0x3ec56b(0x153)](_0x2d4ec9);if(!_0x4e986c)throw new Error(_0x3ec56b(0x258));const _0x505d99=new _0x4849b6(),_0x387018=new _0x238823();_0x505d99[_0x3ec56b(0x446)](_0x4e986c[_0x3ec56b(0x24f)][_0x3ec56b(0x209)](_0x1d8068=>_0x387018[_0x3ec56b(0x1fa)](_0x1d8068))),_0x505d99[_0x3ec56b(0x446)](_0x5d5085(()=>_0x387018['complete']()));const _0xab2ad2=new _0x238823();_0x505d99[_0x3ec56b(0x446)](_0x4e986c[_0x3ec56b(0x318)][_0x3ec56b(0x209)](_0x2053d6=>_0xab2ad2['next'](_0x2053d6))),_0x505d99[_0x3ec56b(0x446)](_0x5d5085(()=>_0xab2ad2[_0x3ec56b(0x188)]()));const _0x25674c=new _0x238823();_0x505d99['add'](_0x4e986c['message$'][_0x3ec56b(0x209)](_0x5c0ca2=>{const _0x5b9590=Ln(_0x5c0ca2);_0x25674c['next'](_0x5b9590);})),_0x505d99['add'](_0x5d5085(()=>_0x25674c[_0x3ec56b(0x188)]()));let _0x208001;const _0x6bab2e=()=>{var _0x1989fd=_0x3ec56b;_0xab2ad2[_0x1989fd(0x1fa)](new Event(_0x1989fd(0x221))),_0x387018[_0x1989fd(0x1fa)](new Event(_0x1989fd(0x221))),_0x208001[_0x1989fd(0x1dd)]();};return _0x208001={'memberID':'','close$':_0x387018[_0x3ec56b(0x3e5)](),'error$':_0xab2ad2[_0x3ec56b(0x3e5)](),'open$':_0x4e986c[_0x3ec56b(0x1c0)],'message$':_0x25674c[_0x3ec56b(0x3e5)](),'send':_0xe13ea7=>{var _0x4a2174=_0x3ec56b;if(_0xe13ea7[_0x4a2174(0x1aa)]===F[_0x4a2174(0x35f)]){if(_0xe13ea7[_0x4a2174(0x25e)][_0x4a2174(0x244)]===_0x3cdc31['SUBMIT_CHANGESET']){this[_0x4a2174(0x3c1)](_0x208001,_0xe13ea7[_0x4a2174(0x25e)])[_0x4a2174(0x1b6)](_0x3db6c9=>{var _0xc4777d=_0x4a2174;this[_0xc4777d(0x218)][_0xc4777d(0x1e8)](_0x3db6c9),_0x6bab2e();});return;}if(_0xe13ea7[_0x4a2174(0x25e)]['eventID']===_0x3cdc31[_0x4a2174(0x3a7)]){const _0x5f1ebd=_0xe13ea7[_0x4a2174(0x25e)];this[_0x4a2174(0x184)](_0x5f1ebd)[_0x4a2174(0x247)](_0x50a0d1=>{var _0x1dffc4=_0x4a2174;_0x25674c['next']({'cmd':F[_0x1dffc4(0x2f4)],'code':ge['OK'],'routeKey':_0x5f1ebd[_0x1dffc4(0x25e)][_0x1dffc4(0x214)],'routeType':'','data':{'eventID':_0x3cdc31['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x50a0d1}}});})[_0x4a2174(0x1b6)](_0x2ede30=>{var _0xcb022=_0x4a2174;this[_0xcb022(0x218)]['error'](_0x2ede30),_0x6bab2e();});return;}}_0x4e986c['send'](xn(_0xe13ea7));},'close':()=>{var _0x613476=_0x3ec56b;_0x4e986c[_0x613476(0x1dd)](),_0x505d99['dispose']();}},_0x208001;}async[_0x12ec3c(0x3c1)](_0x23cf2e,_0x3155fe){var _0x57fd81=_0x12ec3c,_0x1fb47f,_0x2d6d87;const {unitType:_0x197a53,unitID:_0x4c1b06,changeset:_0x4d2a6a}=_0x3155fe['data'],_0x4a13a1={'unitID':_0x4c1b06,'memberID':_0x23cf2e[_0x57fd81(0x3bf)],'type':_0x197a53,'changeset':_0x40021a(_0x4d2a6a)},_0x26d35b=this[_0x57fd81(0x2bf)]['getConfig'](Nn),_0x3cdd29=this['_configService']['getConfig'](q),_0x5c0c61=$n((_0x2d6d87=(_0x1fb47f=_0x3cdd29==null?void 0x0:_0x3cdd29[_0x57fd81(0x1f7)])!=null?_0x1fb47f:_0x26d35b)!=null?_0x2d6d87:Dn,_0x197a53,_0x4c1b06);try{await this['_httpService'][_0x57fd81(0x3fd)](_0x5c0c61,{'body':_0x4a13a1});}catch(_0x427a57){throw this[_0x57fd81(0x218)][_0x57fd81(0x1e8)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x427a57;}}async[_0x12ec3c(0x184)](_0x510f01){var _0x104e97=_0x12ec3c;const {unitID:_0x24300c,from:_0x2ef06a,to:_0x178f9d,unitType:_0x6e9b97}=_0x510f01[_0x104e97(0x25e)];return(await this[_0x104e97(0x2d6)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x24300c,'type':_0x6e9b97,'from':_0x2ef06a,'to':_0x178f9d}))[_0x104e97(0x396)];}};Gt=kn([Ae(0x0,_0xcdde00(_0x3ac3e0)),Ae(0x1,_0xcdde00(_0x4d96c8)),Ae(0x2,_0x1a732b),Ae(0x3,_0x4c4c08),Ae(0x4,_0x25633b)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x40a7db){var _0x177fa6=_0x12ec3c;return JSON[_0x177fa6(0x32c)](_0x40a7db)[_0x177fa6(0x3e1)];}class Ti{constructor(){var _0x25c469=_0x12ec3c;N(this,'_commentUpdate$',new _0x238823()),N(this,_0x25c469(0x2e1),this[_0x25c469(0x3ce)][_0x25c469(0x3e5)]());}[_0x12ec3c(0x1e5)](_0x5bae51){this['_commentUpdate$']['next'](_0x5bae51);}}var jn=Object[_0x12ec3c(0x1d4)],Fn=(_0x3051f3,_0x58c11a,_0x2c6d84,_0x482a9e)=>{var _0x417d0b=_0x12ec3c;for(var _0x36fc8c=_0x482a9e>0x1?void 0x0:_0x482a9e?jn(_0x58c11a,_0x2c6d84):_0x58c11a,_0x298cb7=_0x3051f3[_0x417d0b(0x3e1)]-0x1,_0x1e4b1b;_0x298cb7>=0x0;_0x298cb7--)(_0x1e4b1b=_0x3051f3[_0x298cb7])&&(_0x36fc8c=_0x1e4b1b(_0x36fc8c)||_0x36fc8c);return _0x36fc8c;},Wt=(_0x12f3c3,_0x157fc7)=>(_0x5df3e3,_0x5064c0)=>_0x157fc7(_0x5df3e3,_0x5064c0,_0x12f3c3);let Le=class extends _0x3ba9b8{constructor(_0x3e1268,_0x35192c){var _0xbd7208=_0x12ec3c;super(),N(this,_0xbd7208(0x386),new Map()),N(this,_0xbd7208(0x22f),new _0x238823()),(this[_0xbd7208(0x248)]=_0x3e1268,this['_userManagerService']=_0x35192c,this['disposeWithMe'](_0x1c8303(this[_0xbd7208(0x248)]['getTypeOfUnitDisposed$'](_0xa8cbc9['UNIVER_SHEET'])[_0xbd7208(0x275)](_0x378e98(_0x4b65ce=>_0x4b65ce['getUnitId']())),this[_0xbd7208(0x248)]['getTypeOfUnitDisposed$'](_0xa8cbc9['UNIVER_DOC'])[_0xbd7208(0x275)](_0x378e98(_0x4e9dca=>_0x4e9dca[_0xbd7208(0x3f7)]())),this[_0xbd7208(0x248)]['getTypeOfUnitDisposed$'](_0xa8cbc9[_0xbd7208(0x1f4)])[_0xbd7208(0x275)](_0x378e98(_0x4fa2c4=>_0x4fa2c4[_0xbd7208(0x3f7)]())))[_0xbd7208(0x209)](_0x350c4d=>this['_removeRoom'](_0x350c4d))));}[_0x12ec3c(0x392)](_0x4719a9){var _0x4626c2=_0x12ec3c;return this[_0x4626c2(0x386)][_0x4626c2(0x2ec)](_0x4719a9)?_0x5aa6f4(this['_roomMembers'][_0x4626c2(0x2e0)](_0x4719a9)):this[_0x4626c2(0x22f)]['pipe'](_0x378e98(_0x7a7ff3=>{var _0x5f26c0=_0x4626c2;if(_0x7a7ff3===_0x4719a9)return this['_roomMembers'][_0x5f26c0(0x2e0)](_0x7a7ff3);}));}[_0x12ec3c(0x27b)](_0x25073b){var _0x22a067=_0x12ec3c;this[_0x22a067(0x326)][_0x22a067(0x27b)](_0x25073b);}[_0x12ec3c(0x215)](){var _0x265a32=_0x12ec3c;return this[_0x265a32(0x326)]['getCurrentUser']();}[_0x12ec3c(0x1ad)](_0x1da801,_0x4810fa){var _0x5e064b=_0x12ec3c;let _0x353f5f=this[_0x5e064b(0x386)][_0x5e064b(0x2e0)](_0x1da801);_0x353f5f||(_0x353f5f=new Vn(),this[_0x5e064b(0x386)][_0x5e064b(0x2f7)](_0x1da801,_0x353f5f),this[_0x5e064b(0x22f)]['next'](_0x1da801)),_0x353f5f[_0x5e064b(0x1ad)](_0x4810fa);}['removeMember'](_0x220430,_0x17ea67){var _0x20a709=_0x12ec3c;const _0x207609=this[_0x20a709(0x386)][_0x20a709(0x2e0)](_0x220430);_0x207609&&_0x207609[_0x20a709(0x256)](_0x17ea67);}[_0x12ec3c(0x44d)](_0x2c4757){var _0x355e3e=_0x12ec3c;return this[_0x355e3e(0x386)][_0x355e3e(0x2e0)](_0x2c4757);}[_0x12ec3c(0x2cb)](_0x352902,_0x10a07c){var _0x4e1703=_0x12ec3c;const _0x720d3e=this[_0x4e1703(0x386)][_0x4e1703(0x2e0)](_0x352902);if(_0x720d3e)return _0x720d3e[_0x4e1703(0x2cb)](_0x10a07c);}['_removeRoom'](_0x51bcaf){var _0x2295ca=_0x12ec3c;const _0x45982c=this[_0x2295ca(0x386)][_0x2295ca(0x2e0)](_0x51bcaf);_0x45982c&&(_0x45982c[_0x2295ca(0x202)](),this[_0x2295ca(0x386)][_0x2295ca(0x194)](_0x51bcaf));}[_0x12ec3c(0x202)](){var _0x178750=_0x12ec3c;this[_0x178750(0x386)]['forEach'](_0x1caa8=>_0x1caa8[_0x178750(0x202)]()),this[_0x178750(0x386)][_0x178750(0x24e)](),this['_roomCreated$'][_0x178750(0x188)]();}};Le=Fn([Wt(0x0,_0x72f3ae),Wt(0x1,_0xcdde00(_0x9e4b2))],Le);class Vn extends _0x3ba9b8{constructor(){var _0xd97b2b=_0x12ec3c;super(...arguments),N(this,_0xd97b2b(0x376),new Map()),N(this,_0xd97b2b(0x20e),new _0x3eca50(this['_members'])),N(this,_0xd97b2b(0x2dd),this[_0xd97b2b(0x20e)]['asObservable']());}['dispose'](){var _0x515a70=_0x12ec3c;this[_0x515a70(0x376)]['clear']();}[_0x12ec3c(0x1ad)](_0x10f142){var _0x36a16e=_0x12ec3c;this[_0x36a16e(0x376)][_0x36a16e(0x2f7)](_0x10f142[_0x36a16e(0x3bf)],_0x10f142),this[_0x36a16e(0x167)]();}[_0x12ec3c(0x256)](_0x30b774){var _0x2d2df0=_0x12ec3c;this[_0x2d2df0(0x376)][_0x2d2df0(0x194)](_0x30b774);}['getMember'](_0x3e3932){var _0x322a1d=_0x12ec3c;return this[_0x322a1d(0x376)][_0x322a1d(0x2e0)](_0x3e3932);}[_0x12ec3c(0x1a3)](){var _0x2e0479=_0x12ec3c;return Array[_0x2e0479(0x3b6)](this['_members'][_0x2e0479(0x367)]());}[_0x12ec3c(0x167)](){var _0x55589b=_0x12ec3c;this['_members$'][_0x55589b(0x1fa)](this['_members']);}}var Gn=Object[_0x12ec3c(0x1d4)],Wn=(_0x16f962,_0x2fae7a,_0x3232fe,_0x10ae70)=>{for(var _0x2a01b3=_0x10ae70>0x1?void 0x0:_0x10ae70?Gn(_0x2fae7a,_0x3232fe):_0x2fae7a,_0x5df4b1=_0x16f962['length']-0x1,_0x43af66;_0x5df4b1>=0x0;_0x5df4b1--)(_0x43af66=_0x16f962[_0x5df4b1])&&(_0x2a01b3=_0x43af66(_0x2a01b3)||_0x2a01b3);return _0x2a01b3;},me=(_0x580e75,_0x4335e9)=>(_0x561a91,_0x5877d7)=>_0x4335e9(_0x561a91,_0x5877d7,_0x580e75),Ee=(_0x80a734=>(_0x80a734[_0x80a734[_0x12ec3c(0x1f5)]=0x0]=_0x12ec3c(0x1f5),_0x80a734[_0x80a734[_0x12ec3c(0x204)]=0x1]=_0x12ec3c(0x204),_0x80a734[_0x80a734[_0x12ec3c(0x2a1)]=0x2]=_0x12ec3c(0x2a1),_0x80a734[_0x80a734[_0x12ec3c(0x38f)]=0x3]=_0x12ec3c(0x38f),_0x80a734))(Ee||{});const Kt={[ge[_0x12ec3c(0x285)]]:_0x12ec3c(0x232),[ge[_0x12ec3c(0x23b)]]:_0x12ec3c(0x241),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0x12ec3c(0x308)]]:_0x12ec3c(0x302),[ge[_0x12ec3c(0x329)]]:_0x12ec3c(0x21e)};let Et=class extends _0x221eab{constructor(_0x5df7a9,_0x5a4f56,_0x19e552,_0x4f68e3,_0x504e55,_0x89597,_0x24209a,_0x2acaf6,_0x4717bd){var _0x30402a=_0x12ec3c;super(),N(this,'_sessionStatus$',new _0x3eca50(0x0)),N(this,'sessionStatus$',this[_0x30402a(0x3ef)][_0x30402a(0x3e5)]()),N(this,_0x30402a(0x369),new _0x238823()),N(this,_0x30402a(0x360),this[_0x30402a(0x369)][_0x30402a(0x3e5)]()),N(this,_0x30402a(0x1d1)),N(this,_0x30402a(0x155)),N(this,_0x30402a(0x3d6)),N(this,_0x30402a(0x226),!0x1),N(this,_0x30402a(0x1f2),null),(this[_0x30402a(0x3fa)]=_0x5df7a9,this[_0x30402a(0x218)]=_0x19e552,this['_configService']=_0x4f68e3,this[_0x30402a(0x269)]=_0x504e55,this[_0x30402a(0x37f)]=_0x89597,this[_0x30402a(0x3cf)]=_0x24209a,this[_0x30402a(0x355)]=_0x2acaf6,this[_0x30402a(0x41b)]=_0x4717bd,this['_shouldReportTelemetry']=!!this[_0x30402a(0x41b)],_0x5a4f56[_0x30402a(0x275)](_0x993a0b(this[_0x30402a(0x41e)]))[_0x30402a(0x209)](_0x32522f=>{var _0x48e608=_0x30402a,_0x35c619;typeof _0x32522f>'u'||(this[_0x48e608(0x1d1)]=_0x32522f,_0x32522f?(this[_0x48e608(0x29b)](_0x32522f),this[_0x48e608(0x155)]=_0x32522f[_0x48e608(0x44e)][_0x48e608(0x209)](_0x2c75ff=>{var _0x3dd5d5=_0x48e608;_0x2c75ff['routeKey']===this[_0x3dd5d5(0x3fa)]&&this[_0x3dd5d5(0x158)](_0x2c75ff);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x48e608(0x3ef)][_0x48e608(0x1fa)](0x2),(_0x35c619=this[_0x48e608(0x155)])==null||_0x35c619[_0x48e608(0x1de)](),this[_0x48e608(0x155)]=null));}));}get[_0x12ec3c(0x270)](){var _0x19735e=_0x12ec3c;return this[_0x19735e(0x3ef)][_0x19735e(0x40a)]();}[_0x12ec3c(0x38a)](){var _0x4e6abf=_0x12ec3c,_0x39d434,_0x12ad4c;return(_0x12ad4c=(_0x39d434=this['_socket'])==null?void 0x0:_0x39d434[_0x4e6abf(0x3bf)])!=null?_0x12ad4c:null;}[_0x12ec3c(0x202)](){var _0x4ce814=_0x12ec3c;super[_0x4ce814(0x202)](),this['dispose$']['next'](),this[_0x4ce814(0x41e)][_0x4ce814(0x188)]();}[_0x12ec3c(0x1dd)](){var _0x18e67a=_0x12ec3c,_0x156ab0,_0x32e1dd;this[_0x18e67a(0x371)](),(_0x156ab0=this[_0x18e67a(0x1d1)])==null||_0x156ab0[_0x18e67a(0x1b4)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x32e1dd=this[_0x18e67a(0x1d1)])==null||_0x32e1dd[_0x18e67a(0x1dd)](),this[_0x18e67a(0x369)][_0x18e67a(0x188)](),this[_0x18e67a(0x3ef)]['complete'](),this[_0x18e67a(0x202)]();}[_0x12ec3c(0x158)](_0x3848ac){var _0x3381cc=_0x12ec3c;_0x3848ac[_0x3381cc(0x1aa)]===F[_0x3381cc(0x2fa)]?this[_0x3381cc(0x2bc)](_0x3848ac):_0x3848ac[_0x3381cc(0x1aa)]===F[_0x3381cc(0x2f4)]&&this['_onRecvEvent'](_0x3848ac);}[_0x12ec3c(0x29b)](_0x6f166d){var _0x5158fc=_0x12ec3c;this[_0x5158fc(0x3ef)]['next'](0x1),_0x6f166d[_0x5158fc(0x1b4)]({'cmd':F[_0x5158fc(0x2fa)],'routeKey':this[_0x5158fc(0x3fa)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5158fc(0x3fa)]}]}});}['_onJoinRoomEvent'](_0x38872c){var _0x34c361=_0x12ec3c,_0x5e4b86;if(_0x38872c[_0x34c361(0x268)]in Kt){this[_0x34c361(0x355)][_0x34c361(0x2ea)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x38872c[_0x34c361(0x268)]]}),this['_sessionStatus$'][_0x34c361(0x1fa)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x57a7fe=(_0x5e4b86=_0x38872c[_0x34c361(0x25e)][_0x34c361(0x42b)][this[_0x34c361(0x3fa)]])==null?void 0x0:_0x5e4b86[_0x34c361(0x3c2)];_0x57a7fe&&_0x57a7fe[_0x34c361(0x3eb)](_0xe3d11=>this['_memberService']['updateMember'](this['_unitID'],_0xe3d11));}[_0x12ec3c(0x3a1)](_0x42ea0c){var _0x178d9f=_0x12ec3c;try{const _0x4bd868=_0x42ea0c[_0x178d9f(0x25e)];switch(_0x4bd868[_0x178d9f(0x244)]){case _0x3cdc31[_0x178d9f(0x2b7)]:this['_onUserJoin'](_0x4bd868),this[_0x178d9f(0x369)][_0x178d9f(0x1fa)](_0x4bd868);break;case _0x3cdc31[_0x178d9f(0x430)]:this[_0x178d9f(0x33f)](_0x4bd868),this[_0x178d9f(0x369)]['next'](_0x4bd868);break;case _0x3cdc31['CHANGESET_ACK']:case _0x3cdc31[_0x178d9f(0x3ee)]:this[_0x178d9f(0x3ff)](),this[_0x178d9f(0x2f9)](),this[_0x178d9f(0x369)]['next'](_0x4bd868);break;case _0x3cdc31[_0x178d9f(0x3fe)]:this[_0x178d9f(0x218)][_0x178d9f(0x1e8)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x178d9f(0x32c)](_0x4bd868)),this[_0x178d9f(0x369)][_0x178d9f(0x1fa)](_0x4bd868);break;case _0x3cdc31['COMMENT_UPDATE']:this['_commentService'][_0x178d9f(0x1e5)](_0x4bd868[_0x178d9f(0x25e)]),this['_event$'][_0x178d9f(0x1fa)](_0x4bd868);break;default:this['_event$']['next'](_0x4bd868);}}catch(_0x3e5c10){this['_logService'][_0x178d9f(0x1e8)](_0x3e5c10,_0x42ea0c);}}['_onUserJoin'](_0x4ca6b6){var _0x29fae2=_0x12ec3c;this[_0x29fae2(0x37f)][_0x29fae2(0x1ad)](this[_0x29fae2(0x3fa)],_0x4ca6b6[_0x29fae2(0x25e)]);}[_0x12ec3c(0x33f)](_0x5b0f5c){var _0x396aae=_0x12ec3c;this[_0x396aae(0x37f)][_0x396aae(0x256)](this[_0x396aae(0x3fa)],_0x5b0f5c[_0x396aae(0x25e)]['memberID']);}async[_0x12ec3c(0x1b4)](_0x3852b4,_0x15c85e){var _0x267a98=_0x12ec3c;if(this[_0x267a98(0x270)]!==0x3||!this[_0x267a98(0x1d1)])throw new Error(_0x267a98(0x3ca));try{_0x3852b4['eventID']===_0x3cdc31[_0x267a98(0x439)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3852b4)),this[_0x267a98(0x1d1)]['send']({'cmd':F[_0x267a98(0x35f)],'routeKey':_0x15c85e,'routeType':'','data':_0x3852b4});}catch(_0x505d40){this[_0x267a98(0x218)][_0x267a98(0x1e8)](_0x505d40);}}[_0x12ec3c(0x365)](){var _0x2d61a1;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x47386f=_0x7e46;this[_0x47386f(0x3d6)]=null,this[_0x47386f(0x355)]['emitEvent']({'id':re[_0x47386f(0x30e)]});},(_0x2d61a1=this['_configService']['getConfig'](mi))!=null?_0x2d61a1:gi);}[_0x12ec3c(0x2f9)](){var _0x4aad40=_0x12ec3c;this[_0x4aad40(0x3d6)]&&(clearTimeout(this[_0x4aad40(0x3d6)]),this[_0x4aad40(0x3d6)]=null);}[_0x12ec3c(0x340)](_0x4142ce){var _0x4067ac=_0x12ec3c;if(!this[_0x4067ac(0x226)])return;const {data:_0xa931d1}=_0x4142ce,{unitID:_0x9faaa5,changeset:_0x4b877e}=_0xa931d1,{mutations:_0x48806d,type:_0x136966}=_0x4b877e;this[_0x4067ac(0x1f2)]={'unitId':_0x9faaa5,'type':_0x136966,'startTime':performance[_0x4067ac(0x28f)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x48806d)};}[_0x12ec3c(0x3ff)](){var _0x55673b=_0x12ec3c;if(this[_0x55673b(0x226)]){if(!this[_0x55673b(0x1f2)]){this[_0x55673b(0x218)]['error'](_0x55673b(0x353),_0x55673b(0x434));return;}this[_0x55673b(0x1f2)][_0x55673b(0x228)]=performance[_0x55673b(0x28f)](),this[_0x55673b(0x1f2)][_0x55673b(0x198)]=this[_0x55673b(0x1f2)]['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x55673b(0x23c)](Hn,this['_telemetryInfo']),this[_0x55673b(0x1f2)]=null;}}[_0x12ec3c(0x371)](){var _0x2d1fda=_0x12ec3c;this[_0x2d1fda(0x1f2)]=null;}};Et=Wn([me(0x2,_0x4c4c08),me(0x3,_0x1a732b),me(0x4,_0xcdde00(_0x14dddf)),me(0x5,_0xcdde00(Le)),me(0x6,_0xcdde00(Ti)),me(0x7,_0xcdde00(pe)),me(0x8,_0x92c5af(_0xe84d57))],Et);var Kn=Object[_0x12ec3c(0x1d4)],Yn=(_0x29ade0,_0x49e563,_0x5445a6,_0xee3d0e)=>{for(var _0x4e931b=_0xee3d0e>0x1?void 0x0:_0xee3d0e?Kn(_0x49e563,_0x5445a6):_0x49e563,_0x37ea88=_0x29ade0['length']-0x1,_0x5d905c;_0x37ea88>=0x0;_0x37ea88--)(_0x5d905c=_0x29ade0[_0x37ea88])&&(_0x4e931b=_0x5d905c(_0x4e931b)||_0x4e931b);return _0x4e931b;},be=(_0xc75af8,_0x5b2bba)=>(_0x482fe5,_0x46036b)=>_0x5b2bba(_0x482fe5,_0x46036b,_0xc75af8);let xe=class extends _0x3ba9b8{constructor(_0x432832,_0x42c57f,_0x3892d0,_0x59f6b5,_0x3ac4c5,_0x5a6be3){var _0x109c92=_0x12ec3c;super(),N(this,_0x109c92(0x44a),new _0x3eca50(void 0x0)),N(this,_0x109c92(0x2d4),this['_socket$']['asObservable']()),N(this,_0x109c92(0x159),null),N(this,'_sessions',new Map()),N(this,_0x109c92(0x43f),new _0x3eca50(Ee[_0x109c92(0x1f5)])),N(this,_0x109c92(0x2d0),this[_0x109c92(0x43f)][_0x109c92(0x3e5)]()),N(this,'_socketReady',!0x1),N(this,_0x109c92(0x310)),N(this,_0x109c92(0x206),0x0),N(this,_0x109c92(0x1ea)),N(this,_0x109c92(0x420)),(this[_0x109c92(0x1d0)]=_0x432832,this[_0x109c92(0x218)]=_0x42c57f,this[_0x109c92(0x2bf)]=_0x3892d0,this['_socketService']=_0x59f6b5,this[_0x109c92(0x355)]=_0x3ac4c5,this[_0x109c92(0x164)]=_0x5a6be3,this[_0x109c92(0x447)]());}get[_0x12ec3c(0x1d1)](){var _0x292b66=_0x12ec3c;return this['_socket$'][_0x292b66(0x40a)]();}[_0x12ec3c(0x447)](){var _0x2d4de1=_0x12ec3c;this[_0x2d4de1(0x164)]&&this[_0x2d4de1(0x219)](this[_0x2d4de1(0x164)][_0x2d4de1(0x40e)][_0x2d4de1(0x209)](_0x487012=>{var _0x3f0989=_0x2d4de1;_0x487012&&!this[_0x3f0989(0x1d1)]&&this[_0x3f0989(0x192)](),_0x487012||this[_0x3f0989(0x349)]();}));}[_0x12ec3c(0x202)](){var _0x502e90=_0x12ec3c;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x502e90(0x441)](),this[_0x502e90(0x19c)](),this[_0x502e90(0x321)]['forEach'](_0x4e1bd4=>_0x4e1bd4[_0x502e90(0x202)]()),this['_sessions'][_0x502e90(0x24e)](),this[_0x502e90(0x43f)][_0x502e90(0x188)]();}async[_0x12ec3c(0x1bf)](_0x3e2583){var _0x18f5df=_0x12ec3c;if(this[_0x18f5df(0x321)][_0x18f5df(0x2ec)](_0x3e2583))return this[_0x18f5df(0x321)][_0x18f5df(0x2e0)](_0x3e2583);this[_0x18f5df(0x22e)]();const _0x5aaf18=this['_injector'][_0x18f5df(0x1a8)](Et,_0x3e2583,this[_0x18f5df(0x44a)][_0x18f5df(0x3e5)]());return this[_0x18f5df(0x321)][_0x18f5df(0x2f7)](_0x3e2583,_0x5aaf18),_0x5aaf18;}[_0x12ec3c(0x263)](_0x71ba31){var _0x4c0707=_0x12ec3c,_0x396e81;const _0x5a8ba6=this['_sessions'][_0x4c0707(0x2e0)](_0x71ba31);_0x5a8ba6&&(this[_0x4c0707(0x321)][_0x4c0707(0x194)](_0x71ba31),_0x5a8ba6['close']()),this[_0x4c0707(0x321)]['size']||(_0x396e81=this[_0x4c0707(0x1d1)])==null||_0x396e81[_0x4c0707(0x1dd)]();}[_0x12ec3c(0x192)](){var _0x9664a7=_0x12ec3c;this[_0x9664a7(0x206)]=0x0,this[_0x9664a7(0x382)](),this[_0x9664a7(0x3b0)]();}[_0x12ec3c(0x382)](){var _0x3eeffb=_0x12ec3c;this[_0x3eeffb(0x310)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3eeffb(0x310)]=null);}async['_createSocket'](){var _0x522cde=_0x12ec3c,_0x1c5a31,_0x3b89e2;const _0x446495=this[_0x522cde(0x2bf)][_0x522cde(0x235)](In),_0x1c0737=this[_0x522cde(0x2bf)][_0x522cde(0x235)](q),_0x439238=(_0x3b89e2=(_0x1c5a31=_0x1c0737==null?void 0x0:_0x1c0737['collabWebSocketUrl'])!=null?_0x1c5a31:_0x446495)!=null?_0x3b89e2:Tn,_0x173595=await this[_0x522cde(0x405)][_0x522cde(0x153)](_0x439238);return this['_candidateSocket']=_0x173595,_0x173595;}async['_tryEnsureSocket'](){var _0x31b570=_0x12ec3c,_0x347f25,_0x4cfc23;try{const _0x5dc47d=(_0x4cfc23=(_0x347f25=this[_0x31b570(0x1d1)])!=null?_0x347f25:this[_0x31b570(0x159)])!=null?_0x4cfc23:await this[_0x31b570(0x154)]();if(_0x5dc47d){const _0x472b47=_0x5dc47d[_0x31b570(0x1b4)];_0x5dc47d['send']=_0x4580c9=>(this[_0x31b570(0x41c)](),_0x472b47['apply'](_0x5dc47d,[_0x4580c9])),_0x5dc47d[_0x31b570(0x44e)][_0x31b570(0x209)](_0x54ea26=>this['_onMessage'](_0x5dc47d,_0x54ea26)),_0x5dc47d[_0x31b570(0x318)][_0x31b570(0x275)](_0x2ee070(0x1))['subscribe'](_0x5b014d=>this['_logService'][_0x31b570(0x1e8)](_0x31b570(0x1eb),_0x5b014d)),_0x5dc47d['open$'][_0x31b570(0x275)](_0x2ee070(0x1))[_0x31b570(0x209)](()=>{this['_onConnectionOpen'](_0x5dc47d);}),_0x5dc47d['close$'][_0x31b570(0x275)](_0x2ee070(0x1))[_0x31b570(0x209)](_0x246c50=>{var _0x1f666b=_0x31b570;this['_logService']['debug'](_0x1f666b(0x201),'socket\x20close',_0x246c50),this[_0x1f666b(0x33a)]();});}}catch(_0x244a3c){this['_logService'][_0x31b570(0x1e8)](_0x244a3c),this[_0x31b570(0x33a)]();}}[_0x12ec3c(0x43b)](_0x5dc76e){var _0x25f8a4=_0x12ec3c;this[_0x25f8a4(0x218)]['debug']('[CollaborationSessionService]',_0x25f8a4(0x183)),_0x5dc76e[_0x25f8a4(0x1b4)]({'cmd':F[_0x25f8a4(0x1e7)]}),this[_0x25f8a4(0x41c)]();}[_0x12ec3c(0x349)](){var _0x50c895=_0x12ec3c;this[_0x50c895(0x2c4)]=!0x1,this[_0x50c895(0x159)]=null,this[_0x50c895(0x43f)]['next'](Ee[_0x50c895(0x2a1)]),this['_socket$']['next'](null),this[_0x50c895(0x441)](),this['_clearHeartbeatTimer']();}[_0x12ec3c(0x33a)](){var _0x28cee7=_0x12ec3c,_0x3cc652;this['_onOffline'](),this[_0x28cee7(0x206)]<((_0x3cc652=this[_0x28cee7(0x2bf)][_0x28cee7(0x235)](yn))!=null?_0x3cc652:On)?(this[_0x28cee7(0x355)]['emitEvent']({'id':re[_0x28cee7(0x3db)]}),this['_tryReconnect']()):this[_0x28cee7(0x355)][_0x28cee7(0x2ea)]({'id':re['SOCKET_FAILED']});}[_0x12ec3c(0x3b0)](){var _0xc1a4b3=_0x12ec3c,_0x5499bf;const _0x53f84a=this[_0xc1a4b3(0x206)],_0x337c97=this[_0xc1a4b3(0x2bf)][_0xc1a4b3(0x235)](q),_0x22efcc=_0x53f84a===0x0?0x0:((_0x5499bf=_0x337c97==null?void 0x0:_0x337c97['retryConnectingInterval'])!=null?_0x5499bf:bn)*0x2**_0x53f84a;this[_0xc1a4b3(0x310)]=setTimeout(()=>{var _0x51669f=_0xc1a4b3;clearTimeout(this[_0x51669f(0x310)]),this['_retryConnectingTimer']=null,this[_0x51669f(0x22e)]();},_0x22efcc),this[_0xc1a4b3(0x206)]+=0x1;}[_0x12ec3c(0x2b9)](_0x5f2e52,_0x393536){var _0x40165d=_0x12ec3c;const {cmd:_0x3f888c}=_0x393536;_0x3f888c===F[_0x40165d(0x1e7)]&&!this[_0x40165d(0x2c4)]&&(_0x5f2e52[_0x40165d(0x3bf)]=_0x393536[_0x40165d(0x25e)][_0x40165d(0x3bf)],this[_0x40165d(0x44a)][_0x40165d(0x1fa)](_0x5f2e52),this[_0x40165d(0x43f)][_0x40165d(0x1fa)](Ee[_0x40165d(0x38f)]),this[_0x40165d(0x2c4)]=!0x0,this[_0x40165d(0x159)]=null),_0x3f888c===F[_0x40165d(0x253)]&&this[_0x40165d(0x441)](),this[_0x40165d(0x41c)]();}[_0x12ec3c(0x41c)](){var _0x2bdbed=_0x12ec3c,_0xd248b2;this[_0x2bdbed(0x19c)](),this[_0x2bdbed(0x1ea)]=setTimeout(()=>this[_0x2bdbed(0x3cb)](),(_0xd248b2=this['_configService'][_0x2bdbed(0x235)](Cn))!=null?_0xd248b2:Rn);}[_0x12ec3c(0x3cb)](){var _0x55b843=_0x12ec3c;this[_0x55b843(0x1d1)][_0x55b843(0x1b4)]({'cmd':F[_0x55b843(0x253)]}),this[_0x55b843(0x1ed)]();}[_0x12ec3c(0x1ed)](){var _0x35b4b5=_0x12ec3c,_0x2a2b1c;this[_0x35b4b5(0x420)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2a2b1c=this['_configService'][_0x35b4b5(0x235)](mi))!=null?_0x2a2b1c:gi);}['_clearHeartbeatTimer'](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x12ec3c(0x441)](){var _0x1a8e97=_0x12ec3c;this[_0x1a8e97(0x420)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0xcdde00(_0x3ac3e0)),be(0x1,_0x4c4c08),be(0x2,_0x1a732b),be(0x3,Ii),be(0x4,_0xcdde00(pe)),be(0x5,_0x92c5af(Pn))],xe);const V=[];function _0x7e46(_0x26d816,_0x453e47){var _0x551a0c=_0x551a();return _0x7e46=function(_0x7e4639,_0x146c18){_0x7e4639=_0x7e4639-0x153;var _0x4b8cf8=_0x551a0c[_0x7e4639];return _0x4b8cf8;},_0x7e46(_0x26d816,_0x453e47);}for(let t=0x0;t<0x100;++t)V[_0x12ec3c(0x404)]((t+0x100)[_0x12ec3c(0x433)](0x10)[_0x12ec3c(0x3e9)](0x1));function qn(_0x1a2c8d,_0x36eb19=0x0){return(V[_0x1a2c8d[_0x36eb19+0x0]]+V[_0x1a2c8d[_0x36eb19+0x1]]+V[_0x1a2c8d[_0x36eb19+0x2]]+V[_0x1a2c8d[_0x36eb19+0x3]]+'-'+V[_0x1a2c8d[_0x36eb19+0x4]]+V[_0x1a2c8d[_0x36eb19+0x5]]+'-'+V[_0x1a2c8d[_0x36eb19+0x6]]+V[_0x1a2c8d[_0x36eb19+0x7]]+'-'+V[_0x1a2c8d[_0x36eb19+0x8]]+V[_0x1a2c8d[_0x36eb19+0x9]]+'-'+V[_0x1a2c8d[_0x36eb19+0xa]]+V[_0x1a2c8d[_0x36eb19+0xb]]+V[_0x1a2c8d[_0x36eb19+0xc]]+V[_0x1a2c8d[_0x36eb19+0xd]]+V[_0x1a2c8d[_0x36eb19+0xe]]+V[_0x1a2c8d[_0x36eb19+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x14f7bb=_0x12ec3c;if(!ut){if(typeof crypto>'u'||!crypto[_0x14f7bb(0x414)])throw new Error(_0x14f7bb(0x1c8));ut=crypto[_0x14f7bb(0x414)][_0x14f7bb(0x3c7)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x12ec3c(0x1f0)]&&crypto[_0x12ec3c(0x1f0)][_0x12ec3c(0x3c7)](crypto),Yt={'randomUUID':Xn};function Zn(_0x1eeb39,_0x26a89d,_0x1c3b6d){var _0x4629b0=_0x12ec3c,_0x271e5b,_0x2c7e3b,_0x16796d;if(Yt[_0x4629b0(0x1f0)]&&!_0x1eeb39)return Yt[_0x4629b0(0x1f0)]();_0x1eeb39=_0x1eeb39||{};const _0x372277=(_0x16796d=(_0x2c7e3b=_0x1eeb39['random'])!=null?_0x2c7e3b:(_0x271e5b=_0x1eeb39[_0x4629b0(0x3f3)])==null?void 0x0:_0x271e5b['call'](_0x1eeb39))!=null?_0x16796d:Jn();if(_0x372277[_0x4629b0(0x3e1)]<0x10)throw new Error(_0x4629b0(0x1a0));return _0x372277[0x6]=_0x372277[0x6]&0xf|0x40,_0x372277[0x8]=_0x372277[0x8]&0x3f|0x80,qn(_0x372277);}const J=_0x473f8f(_0x12ec3c(0x21f));function Br(_0x5eb602){var _0x2c3aa0=_0x12ec3c;return _0x2c3aa0(0x339)+_0x5eb602;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x3409f6,_0x1f663c,_0x19e0f4,_0x2610e1)=>{var _0x49cc83=_0x12ec3c;for(var _0x2e11a9=_0x2610e1>0x1?void 0x0:_0x2610e1?Qn(_0x1f663c,_0x19e0f4):_0x1f663c,_0x3b86cf=_0x3409f6[_0x49cc83(0x3e1)]-0x1,_0x227b1b;_0x3b86cf>=0x0;_0x3b86cf--)(_0x227b1b=_0x3409f6[_0x3b86cf])&&(_0x2e11a9=_0x227b1b(_0x2e11a9)||_0x2e11a9);return _0x2e11a9;},dt=(_0x12474c,_0x1a77d5)=>(_0xb4cd61,_0x1475a3)=>_0x1a77d5(_0xb4cd61,_0x1475a3,_0x12474c);function ts(_0x4a2ab7){const {unitID:_0x5d8938,mutations:_0x61fe09}=_0x4a2ab7;return{'unitId':_0x5d8938,'subUnitId':_0x61fe09[0x0]['params']['subUnitId']};}let it=class{constructor(_0x2662ba,_0x1196a9,_0x25c30){var _0x253213=_0x12ec3c;this[_0x253213(0x1d0)]=_0x2662ba,this['_transformService']=_0x1196a9,this[_0x253213(0x44f)]=_0x25c30;}[_0x12ec3c(0x39d)](_0x3e8855){var _0x5aeb3a=_0x12ec3c,_0x43ba1f,_0xbaa786,_0x3ffe24,_0x448317;const _0x63902c=this[_0x5aeb3a(0x1d0)][_0x5aeb3a(0x2e0)](_0xf86817),{unitId:_0x7d4582,subUnitId:_0x5b0a85}=ts(_0x3e8855),_0x169af1=_0x63902c==null?void 0x0:_0x63902c['getWorkbookSelections'](_0x7d4582)[_0x5aeb3a(0x40d)](),_0x3678bc=(_0xbaa786=(_0x43ba1f=this['_instanceService'][_0x5aeb3a(0x412)](_0x7d4582))==null?void 0x0:_0x43ba1f[_0x5aeb3a(0x363)]())==null?void 0x0:_0xbaa786[_0x5aeb3a(0x1a9)]();if(_0x169af1[_0x5aeb3a(0x3e1)]===0x0||!_0x7d4582||!_0x5b0a85)return;const _0x152500=[{'id':_0x35a15f['id'],'params':{'unitId':_0x7d4582,'subUnitId':_0x3678bc,'selections':_0x325393[_0x5aeb3a(0x266)](_0x169af1)}}],_0x117e80=this['_transformService'][_0x5aeb3a(0x449)](_0x3e8855,_0x152500);if(!_0x46377c(_0x117e80))throw _0x117e80['error'];const _0x17b2e0=(_0x448317=(_0x3ffe24=_0x117e80[_0x5aeb3a(0x44b)][0x0])==null?void 0x0:_0x3ffe24['params'])==null?void 0x0:_0x448317['selections'];if(Array[_0x5aeb3a(0x3b7)](_0x17b2e0)&&_0x17b2e0[_0x5aeb3a(0x3e1)]){if(_0x17b2e0[_0x5aeb3a(0x3e1)]===_0x152500[0x0][_0x5aeb3a(0x35e)][_0x5aeb3a(0x30a)][_0x5aeb3a(0x3e1)]&&_0x17b2e0['every']((_0x251550,_0x51b3f8)=>_0x566e5c[_0x5aeb3a(0x408)](_0x251550[_0x5aeb3a(0x207)],_0x152500[0x0][_0x5aeb3a(0x35e)][_0x5aeb3a(0x30a)][_0x51b3f8]['range'])))return;this[_0x5aeb3a(0x1d0)][_0x5aeb3a(0x2e0)](_0x1a6580)[_0x5aeb3a(0x1ec)](_0x35a15f['id'],{'unitId':_0x7d4582,'subUnitId':_0x3678bc,'selections':_0x17b2e0});}}};it=es([dt(0x0,_0xcdde00(_0x3ac3e0)),dt(0x1,_0x10d518),dt(0x2,_0x72f3ae)],it);const ht=_0x473f8f(_0x12ec3c(0x2ab));var Ci=(_0x1769a7=>(_0x1769a7[_0x1769a7[_0x12ec3c(0x1ff)]=0x0]=_0x12ec3c(0x1ff),_0x1769a7[_0x1769a7[_0x12ec3c(0x3d3)]=0x1]=_0x12ec3c(0x3d3),_0x1769a7))(Ci||{});const is=new Set([_0x26f816['id']]);function qt(_0x5dc220,_0x12846a,_0x292c29,_0x52d618,_0x36bdab){var _0x230983=_0x12ec3c,_0x508848,_0x162949,_0x2fa18f,_0x59dfba;const _0x5f52ca=[];for(const _0x32d1ee of _0x5dc220)if(is[_0x230983(0x2ec)](_0x32d1ee['id'])){if(_0x5f52ca[_0x230983(0x3e1)]>0x0)break;_0x5f52ca['push'](_0x32d1ee);break;}else _0x5f52ca[_0x230983(0x404)](_0x32d1ee);const _0x2bab00=(_0x162949=(_0x508848=_0x36bdab[_0x230983(0x215)]())==null?void 0x0:_0x508848[_0x230983(0x351)])!=null?_0x162949:'unknown',_0xe5409=(_0x59dfba=(_0x2fa18f=_0x36bdab[_0x230983(0x215)]())==null?void 0x0:_0x2fa18f['memberID'])!=null?_0x59dfba:_0x230983(0x3dc);return{'changeset':{'unitID':_0x12846a,'type':_0x3d3e27(_0x292c29[_0x230983(0x27d)](_0x12846a)),'baseRev':_0x52d618['getCurrentRevOfUnit'](_0x12846a),'revision':0x0,'userID':_0x2bab00,'memberID':_0xe5409,'mutations':_0x5f52ca},'pendingMutations':_0x5dc220['slice'](_0x5f52ca[_0x230983(0x3e1)])};}function ns(_0xc6ad89,_0xd6da61,_0x333b89,_0x216120,_0x3e51db){var _0x244d99=_0x12ec3c,_0xf68e1a,_0xa4ed18,_0x128c17,_0x1fa94a;const _0x59fd32=[_0xc6ad89['reduce']((_0x19152a,_0x1bb7c4)=>{var _0x4b2db9=_0x7e46,_0x1cadcb;const {id:_0x4f4960}=_0x19152a,{id:_0x1e5a56,type:_0x49208d}=_0x1bb7c4,_0x3b933b=(_0x1cadcb=_0x19152a[_0x4b2db9(0x35e)])!=null?_0x1cadcb:{'actions':null},_0xc8812d=_0x1bb7c4['params'];if(_0x4f4960&&_0x4f4960!==_0x1e5a56)throw new Error(_0x4b2db9(0x2b5)+_0x4f4960+'\x20-\x20'+_0x1e5a56+'.');return{..._0x19152a,'id':_0x1e5a56,'type':_0x49208d,'params':{'unitId':_0xc8812d[_0x4b2db9(0x41d)],'textRanges':_0xc8812d[_0x4b2db9(0x19f)],'actions':_0x4f4e07['compose'](_0x3b933b['actions'],_0xc8812d[_0x4b2db9(0x3d8)])}};},{})],_0x3fc9be=(_0xa4ed18=(_0xf68e1a=_0x3e51db[_0x244d99(0x215)]())==null?void 0x0:_0xf68e1a[_0x244d99(0x351)])!=null?_0xa4ed18:_0x244d99(0x3dc),_0x401910=(_0x1fa94a=(_0x128c17=_0x3e51db[_0x244d99(0x215)]())==null?void 0x0:_0x128c17[_0x244d99(0x3bf)])!=null?_0x1fa94a:_0x244d99(0x3dc);return{'changeset':{'unitID':_0xd6da61,'type':_0x3d3e27(_0x333b89[_0x244d99(0x27d)](_0xd6da61)),'baseRev':_0x216120[_0x244d99(0x2fc)](_0xd6da61),'revision':0x0,'userID':_0x3fc9be,'memberID':_0x401910,'mutations':_0x59fd32},'pendingMutations':[]};}function Ri(_0x11c3ac,_0x4289a3){var _0x3701a6=_0x12ec3c;const _0x7b7b23=new _0x3d613b(0x1);return setTimeout(()=>_0x7b7b23[_0x3701a6(0x1fa)](_0x4289a3),_0x11c3ac),_0x7b7b23[_0x3701a6(0x3e5)]()[_0x3701a6(0x275)](_0x1e5b04(0x1));}const ss={'id':_0x4b7f14['id'],'type':_0x5baef3[_0x12ec3c(0x21a)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x4776be,_0x5c57c3,_0xb315ba,_0x576dc9)=>{var _0x687419=_0x12ec3c;for(var _0x16ba7c=_0x576dc9>0x1?void 0x0:_0x576dc9?rs(_0x5c57c3,_0xb315ba):_0x5c57c3,_0x526aa8=_0x4776be[_0x687419(0x3e1)]-0x1,_0x39375f;_0x526aa8>=0x0;_0x526aa8--)(_0x39375f=_0x4776be[_0x526aa8])&&(_0x16ba7c=_0x39375f(_0x16ba7c)||_0x16ba7c);return _0x16ba7c;},P=(_0x322b2c,_0x4136bd)=>(_0x361ef6,_0x56c210)=>_0x4136bd(_0x361ef6,_0x56c210,_0x322b2c),bi=(_0x469a62=>(_0x469a62['NOT_COLLAB']='not_collab',_0x469a62[_0x12ec3c(0x3a2)]=_0x12ec3c(0x17d),_0x469a62[_0x12ec3c(0x2d3)]='pending',_0x469a62[_0x12ec3c(0x3a3)]=_0x12ec3c(0x352),_0x469a62[_0x12ec3c(0x3c6)]=_0x12ec3c(0x2d9),_0x469a62[_0x12ec3c(0x29f)]=_0x12ec3c(0x2d8),_0x469a62[_0x12ec3c(0x2b3)]=_0x12ec3c(0x199),_0x469a62[_0x12ec3c(0x2a1)]=_0x12ec3c(0x39a),_0x469a62))(bi||{});const yi=0xea60;class Ce{constructor(_0x21fae4,_0xcf0968,_0x160afb,_0x1397e5,_0x24c61e,_0x26eb31,_0x4f7774,_0x2a09e3,_0xf98bb){var _0x248d6c=_0x12ec3c;N(this,_0x248d6c(0x3d5),null),N(this,_0x248d6c(0x3e8),[]),(this['unitID']=_0x21fae4,this[_0x248d6c(0x237)]=_0xcf0968,this['_handler']=_0x24c61e,this['_commandService']=_0x26eb31,this['_undoRedoService']=_0x4f7774,this[_0x248d6c(0x163)]=_0x2a09e3,this[_0x248d6c(0x1f9)]=_0xf98bb,this[_0x248d6c(0x3d5)]=_0x160afb,this[_0x248d6c(0x3e8)]=_0x1397e5);}['_checkMissing'](_0x550200){var _0x50ced0=_0x12ec3c;const _0x30d06f=this[_0x50ced0(0x163)]['getCurrentRevOfUnit'](this[_0x50ced0(0x214)]);return _0x550200[_0x50ced0(0x1fb)]>_0x30d06f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x30d06f,'to':_0x550200[_0x50ced0(0x1fb)]-0x1}),!0x0):!0x1;}[_0x12ec3c(0x40c)](_0x24f9f3){var _0x970370=_0x12ec3c;this[_0x970370(0x3ae)][_0x970370(0x42e)](this[_0x970370(0x214)],_0x24f9f3);}[_0x12ec3c(0x395)](_0x2da5b8){var _0xe27ac2=_0x12ec3c,_0x2a102c,_0x36f831;(_0x36f831=(_0x2a102c=this['_handler'])[_0xe27ac2(0x1cb)])==null||_0x36f831['call'](_0x2a102c,_0x2da5b8);}[_0x12ec3c(0x38c)](_0x31d509){var _0x4f23c1=_0x12ec3c,_0x57632c,_0x3f0bb3;return(_0x3f0bb3=(_0x57632c=this[_0x4f23c1(0x2d2)])['onTransformIME'])==null?void 0x0:_0x3f0bb3[_0x4f23c1(0x288)](_0x57632c,_0x31d509);}[_0x12ec3c(0x334)](_0x165788){var _0x482581=_0x12ec3c,_0x3e1233,_0x580f1f;return(_0x580f1f=(_0x3e1233=this[_0x482581(0x2d2)])[_0x482581(0x251)])==null?void 0x0:_0x580f1f[_0x482581(0x288)](_0x3e1233,_0x165788);}[_0x12ec3c(0x257)](_0x4afd3d){var _0x4930c0=_0x12ec3c,_0x1b2842,_0x1ee3f8,_0x5d518b;return(_0x5d518b=(_0x1ee3f8=(_0x1b2842=this[_0x4930c0(0x2d2)])[_0x4930c0(0x1ef)])==null?void 0x0:_0x1ee3f8[_0x4930c0(0x288)](_0x1b2842,_0x4afd3d))!=null?_0x5d518b:_0x4afd3d;}[_0x12ec3c(0x29c)](_0x1e286c){var _0x51ad20=_0x12ec3c,_0x5f0ef4,_0xc2b75c,_0x2a81de;return(_0x2a81de=(_0xc2b75c=(_0x5f0ef4=this['_handler'])[_0x51ad20(0x312)])==null?void 0x0:_0xc2b75c['call'](_0x5f0ef4,_0x1e286c))!=null?_0x2a81de:_0x1e286c;}['_syncEditingCollabCursor'](_0x5bd85c){var _0x37b516=_0x12ec3c,_0x37e427,_0x1dce6a;if(this['type']===Q[_0x37b516(0x374)]){const {unitID:_0x39eacf,mutations:_0x25dcbc,memberID:_0x128331}=_0x5bd85c,_0xa6b717=_0x25dcbc[0x0]['params'][_0x37b516(0x19f)];Array[_0x37b516(0x3b7)](_0xa6b717)&&_0xa6b717[_0x37b516(0x3e1)]>0x0&&((_0x1dce6a=(_0x37e427=this['_handler'])[_0x37b516(0x18c)])==null||_0x1dce6a[_0x37b516(0x288)](_0x37e427,{'unitID':_0x39eacf,'memberID':_0x128331,'textRanges':_0xa6b717}));}}['_updateLocalCache'](){var _0x555ce8=_0x12ec3c,_0x1c6e26;(_0x1c6e26=this[_0x555ce8(0x1f9)])==null||_0x1c6e26['updateOfflineData'](this[_0x555ce8(0x214)],this[_0x555ce8(0x237)],this[_0x555ce8(0x3d5)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x3e9ac1=_0x12ec3c;return this[_0x3e9ac1(0x163)][_0x3e9ac1(0x2fc)](this['unitID']);}[_0x12ec3c(0x217)](){var _0x396656=_0x12ec3c;this[_0x396656(0x163)][_0x396656(0x1ee)](this['unitID']);}['_executeRemoteChangeset'](_0x5e9080){var _0x41d66b=_0x12ec3c,_0xe66276;let _0x153c68=this[_0x41d66b(0x257)](_0x5e9080);_0x153c68=this[_0x41d66b(0x29c)](_0x153c68);const _0xc073b7=_0x522b5e(_0x153c68['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0xc073b7[_0x41d66b(0x383)])throw _0xc073b7['error']instanceof Error?_0xc073b7['error']:new Error((_0xe66276=_0xc073b7[_0x41d66b(0x1e8)])!=null?_0xe66276:_0x41d66b(0x390));this[_0x41d66b(0x38c)](_0x153c68),this[_0x41d66b(0x334)](_0x153c68),this[_0x41d66b(0x40c)](_0x5e9080),this['_transformSelections'](_0x153c68),this[_0x41d66b(0x347)](_0x153c68),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x4961f3,_0xb13284,_0x10920b,_0x4df97f,_0x55fbc7,_0x5b8c91,_0x12c783,_0x326c8b,_0x4b4496,_0x24fba4){var _0x2d7080=_0x12ec3c;super(_0x4961f3,_0xb13284,null,[],_0x10920b,_0x12c783,_0x5b8c91,_0x4df97f,_0x24fba4),N(this,_0x2d7080(0x319),_0x2d7080(0x17d)),(this[_0x2d7080(0x1d0)]=_0x55fbc7,this[_0x2d7080(0x218)]=_0x326c8b,this['_transformService']=_0x4b4496,this[_0x2d7080(0x333)]=_0x24fba4);}['appendMutation'](_0x4684a3){var _0x42ef7a=_0x12ec3c;const _0x22b4a4=this[_0x42ef7a(0x1d0)][_0x42ef7a(0x1a8)](ae,this['unitID'],this[_0x42ef7a(0x237)],[_0x4684a3],this[_0x42ef7a(0x2d2)]);return _0x22b4a4[_0x42ef7a(0x171)](),_0x22b4a4[_0x42ef7a(0x212)](),_0x22b4a4;}[_0x12ec3c(0x3f1)](_0x2d3201){var _0x891637=_0x12ec3c;if(this[_0x891637(0x3ad)](_0x2d3201))return this[_0x891637(0x1d0)][_0x891637(0x1a8)](ee,this[_0x891637(0x214)],this[_0x891637(0x237)],null,[],null,[_0x2d3201],this[_0x891637(0x2d2)]);try{const _0x500f00=this[_0x891637(0x3d2)][_0x891637(0x449)](_0x2d3201,[ss]);if(_0x46377c(_0x500f00)){const {c1Prime:_0x146138}=_0x500f00;return this[_0x891637(0x297)](_0x146138),this;}throw _0x500f00[_0x891637(0x1e8)];}catch(_0x52f4f5){return this['_logService'][_0x891637(0x1e8)](_0x52f4f5),this[_0x891637(0x2cc)](!0x1);}}[_0x12ec3c(0x2cc)](_0x5da4c7){var _0x2a31ed=_0x12ec3c;return this[_0x2a31ed(0x1d0)][_0x2a31ed(0x1a8)](ue,this[_0x2a31ed(0x214)],this['type'],null,[],this['_handler'],_0x5da4c7);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x19c49b=_0x12ec3c;throw new Error(_0x19c49b(0x421));}[_0x12ec3c(0x213)](){return this;}[_0x12ec3c(0x2fb)](){var _0x39f731=_0x12ec3c;return this[_0x39f731(0x1d0)]['createInstance'](de,this[_0x39f731(0x214)],this['type'],null,[],this[_0x39f731(0x2d2)]);}[_0x12ec3c(0x29a)](){return this;}[_0x12ec3c(0x252)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x12ec3c(0x3b8)](){var _0x38a9db=_0x12ec3c;const _0x4fb62c=this[_0x38a9db(0x163)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x38a9db(0x177)]({'from':_0x4fb62c,'to':0x0}),this[_0x38a9db(0x1d0)]['createInstance'](ee,this[_0x38a9db(0x214)],this[_0x38a9db(0x237)],null,[],null,[],this[_0x38a9db(0x2d2)]);}};Ne=Te([P(0x3,_0xcdde00(_0x4a118f)),P(0x4,_0xcdde00(_0x3ac3e0)),P(0x5,_0x4a8d19),P(0x6,_0x1a6580),P(0x7,_0x4c4c08),P(0x8,_0x10d518),P(0x9,_0x92c5af(J))],Ne);let ae=class extends Ce{constructor(_0x520daa,_0x46191a,_0x482397,_0x302a56,_0x3c7e35,_0x3064fb,_0x4b1315,_0x308222,_0x41ea36,_0x42f56c,_0x53ec14,_0x51c5ad,_0x1879be,_0x2bc655){var _0x475ac7=_0x12ec3c;super(_0x520daa,_0x46191a,null,_0x482397,_0x302a56,_0x41ea36,_0x1879be,_0x3064fb,_0x2bc655),N(this,_0x475ac7(0x319),'pending'),N(this,_0x475ac7(0x380),null),N(this,_0x475ac7(0x216),null),(this[_0x475ac7(0x1d0)]=_0x3c7e35,this[_0x475ac7(0x37f)]=_0x4b1315,this[_0x475ac7(0x218)]=_0x308222,this[_0x475ac7(0x2bf)]=_0x42f56c,this[_0x475ac7(0x3d2)]=_0x53ec14,this[_0x475ac7(0x248)]=_0x51c5ad);}[_0x12ec3c(0x3c5)](_0x3b2819){var _0x1efc47=_0x12ec3c;return this[_0x1efc47(0x3e8)]['push'](_0x3b2819),this[_0x1efc47(0x212)](),this;}['onRemoteChangeset'](_0x359071){var _0x1d66f4=_0x12ec3c;if(this[_0x1d66f4(0x3ad)](_0x359071))return this[_0x1d66f4(0x2da)](),this[_0x1d66f4(0x1d0)][_0x1d66f4(0x1a8)](ee,this[_0x1d66f4(0x214)],this['type'],null,this['_pendingMutations'],null,[_0x359071],this[_0x1d66f4(0x2d2)]);try{const _0x4ff1a9=this[_0x1d66f4(0x3d2)][_0x1d66f4(0x449)](_0x359071,this['_pendingMutations']);if(_0x46377c(_0x4ff1a9)){const {c1Prime:_0xc00334,m2Prime:_0x59e8a9}=_0x4ff1a9;this[_0x1d66f4(0x297)](_0xc00334);const _0x428fcb=this['_injector'][_0x1d66f4(0x1a8)](ae,this[_0x1d66f4(0x214)],this[_0x1d66f4(0x237)],_0x59e8a9,this[_0x1d66f4(0x2d2)]);this[_0x1d66f4(0x2da)]();const _0xc7f230=new Date()[_0x1d66f4(0x32e)](),_0x2fae51=this[_0x1d66f4(0x380)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xc7f230,0x0):this[_0x1d66f4(0x166)]();return _0x428fcb[_0x1d66f4(0x171)](_0x2fae51),_0x428fcb;}throw _0x4ff1a9[_0x1d66f4(0x1e8)];}catch(_0x3a1639){return this[_0x1d66f4(0x218)]['error'](_0x3a1639),this[_0x1d66f4(0x2cc)](!0x1);}}['onRemoteAck'](){var _0x26044b=_0x12ec3c;throw new Error(_0x26044b(0x168));}[_0x12ec3c(0x3e3)](){var _0x3af8e8=_0x12ec3c;throw new Error(_0x3af8e8(0x38e));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4e2a23=_0x12ec3c;return this[_0x4e2a23(0x2da)](),this[_0x4e2a23(0x1d0)][_0x4e2a23(0x1a8)](de,this[_0x4e2a23(0x214)],this['type'],null,this['_pendingMutations'],this[_0x4e2a23(0x2d2)]);}['toggleOnline'](){return this;}[_0x12ec3c(0x171)](_0x1f01cc){var _0x506bfe=_0x12ec3c;const _0x20b566=_0x1f01cc!=null?_0x1f01cc:this[_0x506bfe(0x166)]();this['_scheduleCompleteTimestamp']=new Date()[_0x506bfe(0x32e)]()+_0x20b566,this[_0x506bfe(0x216)]=setTimeout(()=>{var _0x497cb6=_0x506bfe;this['_clearScheduledTask']();let _0x17521d=null;switch(this[_0x497cb6(0x237)]){case Q['UNIVER_SHEET']:{_0x17521d=qt(this[_0x497cb6(0x3e8)],this[_0x497cb6(0x214)],this[_0x497cb6(0x248)],this[_0x497cb6(0x163)],this[_0x497cb6(0x37f)]);break;}case Q[_0x497cb6(0x374)]:{this[_0x497cb6(0x3e8)]['every'](_0x272375=>_0x272375['id']===_0x331543['id'])?_0x17521d=ns(this[_0x497cb6(0x3e8)],this[_0x497cb6(0x214)],this[_0x497cb6(0x248)],this['_revisionService'],this[_0x497cb6(0x37f)]):_0x17521d=qt(this[_0x497cb6(0x3e8)],this[_0x497cb6(0x214)],this[_0x497cb6(0x248)],this[_0x497cb6(0x163)],this['_memberService']);break;}default:throw new Error(_0x497cb6(0x18e)+this['type']+_0x497cb6(0x307));}const {changeset:_0x3c3069,pendingMutations:_0x59f653}=_0x17521d;this[_0x497cb6(0x2d2)][_0x497cb6(0x300)](_0x3c3069);const _0x49106d=_0x59f653[_0x497cb6(0x3e1)]?this[_0x497cb6(0x1d0)][_0x497cb6(0x1a8)](oe,this[_0x497cb6(0x214)],this[_0x497cb6(0x237)],_0x3c3069,_0x59f653,this['_handler'],void 0x0):this[_0x497cb6(0x1d0)][_0x497cb6(0x1a8)](le,this[_0x497cb6(0x214)],this[_0x497cb6(0x237)],_0x3c3069,this[_0x497cb6(0x2d2)]);_0x49106d[_0x497cb6(0x212)](),this[_0x497cb6(0x2d2)][_0x497cb6(0x2b8)](this,_0x49106d);},_0x20b566);}['_getSendChangesetTimeout'](){var _0x553036=_0x12ec3c,_0x303682;const _0x24a555=this[_0x553036(0x2bf)][_0x553036(0x235)](q);return(_0x303682=_0x24a555==null?void 0x0:_0x24a555['sendChangesetTimeout'])!=null?_0x303682:En;}[_0x12ec3c(0x252)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x12ec3c(0x2da)](){var _0x18a8cd=_0x12ec3c;this[_0x18a8cd(0x216)]!=null&&(clearTimeout(this[_0x18a8cd(0x216)]),this[_0x18a8cd(0x216)]=null);}[_0x12ec3c(0x2cc)](_0x14ad4a){var _0x2b6ed1=_0x12ec3c;return this['_clearScheduledTask'](),this[_0x2b6ed1(0x1d0)][_0x2b6ed1(0x1a8)](ue,this[_0x2b6ed1(0x214)],this[_0x2b6ed1(0x237)],null,this[_0x2b6ed1(0x3e8)],this[_0x2b6ed1(0x2d2)],_0x14ad4a);}};ae=Te([P(0x4,_0xcdde00(_0x3ac3e0)),P(0x5,_0xcdde00(_0x4a118f)),P(0x6,_0xcdde00(Le)),P(0x7,_0x4c4c08),P(0x8,_0x1a6580),P(0x9,_0x1a732b),P(0xa,_0x10d518),P(0xb,_0x72f3ae),P(0xc,_0x4a8d19),P(0xd,_0x92c5af(J))],ae);let le=class extends Ce{constructor(_0x25ab52,_0xf611d7,_0x13f9d1,_0x40cf9e,_0x26fd2b,_0x3e09fa,_0x2d82a3,_0x51eee3,_0x40fc8a,_0xb1384d,_0x11fcc1){var _0x2016b3=_0x12ec3c;super(_0x25ab52,_0xf611d7,_0x13f9d1,[],_0x40cf9e,_0x2d82a3,_0xb1384d,_0x3e09fa,_0x11fcc1),N(this,_0x2016b3(0x319),_0x2016b3(0x352)),N(this,_0x2016b3(0x3ac),0x0),N(this,_0x2016b3(0x273)),N(this,_0x2016b3(0x435)),(this[_0x2016b3(0x1d0)]=_0x26fd2b,this[_0x2016b3(0x218)]=_0x51eee3,this['_transformService']=_0x40fc8a);}[_0x12ec3c(0x3c5)](_0x269a30){var _0x5f3728=_0x12ec3c;this['_clearScheduledTask']();const _0x2a457f=this['_injector'][_0x5f3728(0x1a8)](oe,this[_0x5f3728(0x214)],this[_0x5f3728(0x237)],this[_0x5f3728(0x3d5)],[_0x269a30],this['_handler'],this[_0x5f3728(0x273)]);return _0x2a457f['_updateLocalCache'](),_0x2a457f;}[_0x12ec3c(0x3f1)](_0x16c307){var _0x25c483=_0x12ec3c;if(this[_0x25c483(0x3ad)](_0x16c307))return this['_clearScheduledTask'](),this[_0x25c483(0x1d0)][_0x25c483(0x1a8)](ee,this[_0x25c483(0x214)],this[_0x25c483(0x237)],this[_0x25c483(0x3d5)],[],null,[_0x16c307],this[_0x25c483(0x2d2)]);try{const _0x5efb33=this[_0x25c483(0x3d2)][_0x25c483(0x2d5)]([_0x16c307],[this[_0x25c483(0x3d5)]],!0x1);if(_0x2404ad(_0x5efb33)){const {c1Prime:_0x33f0f1,c2Prime:_0x4cbf06}=_0x5efb33;this[_0x25c483(0x297)](_0x33f0f1[0x0]),_0x4cbf06[0x0][_0x25c483(0x337)]=this[_0x25c483(0x255)](),this[_0x25c483(0x2da)]();const _0x1039d6=this['_injector'][_0x25c483(0x1a8)](le,this[_0x25c483(0x214)],this[_0x25c483(0x237)],_0x4cbf06[0x0],this[_0x25c483(0x2d2)]);return _0x1039d6['_updateLocalCache'](),_0x1039d6;}return this[_0x25c483(0x2cc)](!0x1);}catch(_0x16da4b){return this[_0x25c483(0x218)][_0x25c483(0x1e8)](_0x16da4b),this[_0x25c483(0x2cc)](!0x1);}}[_0x12ec3c(0x2be)](_0x583135){var _0x139da5=_0x12ec3c;this['_clearScheduledTask']();const _0x51f0b5=this['_revisionService'][_0x139da5(0x2fc)](this['unitID']);if(_0x583135[_0x139da5(0x1fb)]<_0x51f0b5-0x1)return this;if(this[_0x139da5(0x3ad)](_0x583135))return this[_0x139da5(0x1d0)][_0x139da5(0x1a8)](ee,this[_0x139da5(0x214)],this[_0x139da5(0x237)],null,[],this[_0x139da5(0x3d5)],[],this[_0x139da5(0x2d2)]);this['_incrementRevisionNumber']();const _0x220524=this['_injector'][_0x139da5(0x1a8)](Ne,this['unitID'],this['type'],this[_0x139da5(0x2d2)]);return _0x220524[_0x139da5(0x212)](),_0x220524;}['onRemoteRej'](_0x38dbff){var _0x19ede9=_0x12ec3c;return this[_0x19ede9(0x2cc)](!!(_0x38dbff!=null&&_0x38dbff[_0x19ede9(0x320)]));}[_0x12ec3c(0x213)](_0x4dfe78){var _0x489945=_0x12ec3c;return this[_0x489945(0x3ac)]>yi?this[_0x489945(0x2fb)]():(this[_0x489945(0x273)]=Ri(this[_0x489945(0x3ac)],{'timeout':this[_0x489945(0x3ac)],'reqId':_0x4dfe78['reqId']}),this['_sender']=this[_0x489945(0x273)][_0x489945(0x209)](({reqId:_0x4c96c7,timeout:_0x2634a1})=>{var _0x13c7f2=_0x489945;this[_0x13c7f2(0x358)](_0x4c96c7,_0x2634a1);}),this);}[_0x12ec3c(0x2fb)](){var _0x542d1a=_0x12ec3c;return this['_clearScheduledTask'](),this[_0x542d1a(0x1d0)][_0x542d1a(0x1a8)](de,this[_0x542d1a(0x214)],this[_0x542d1a(0x237)],this[_0x542d1a(0x3d5)],[],this[_0x542d1a(0x2d2)]);}[_0x12ec3c(0x29a)](){return this;}[_0x12ec3c(0x252)](){var _0x5186e3=_0x12ec3c;this[_0x5186e3(0x2d2)][_0x5186e3(0x300)](this[_0x5186e3(0x3d5)]);}[_0x12ec3c(0x2cc)](_0xf0b8b1){var _0xff3968=_0x12ec3c;return this[_0xff3968(0x2da)](),this[_0xff3968(0x1d0)][_0xff3968(0x1a8)](ue,this[_0xff3968(0x214)],this[_0xff3968(0x237)],this[_0xff3968(0x3d5)],[],this[_0xff3968(0x2d2)],_0xf0b8b1);}[_0x12ec3c(0x358)](_0x3a2672,_0x523a4e){var _0x4778c8=_0x12ec3c,_0x29ec9c;_0x3a2672===((_0x29ec9c=this[_0x4778c8(0x3d5)])==null?void 0x0:_0x29ec9c[_0x4778c8(0x3e7)])&&(this[_0x4778c8(0x252)](),this[_0x4778c8(0x3ac)]=_0x523a4e===0x0?0x3e8:_0x523a4e*0x2);}[_0x12ec3c(0x2da)](){var _0x5d5880=_0x12ec3c,_0x1c0a67;(_0x1c0a67=this[_0x5d5880(0x435)])==null||_0x1c0a67['unsubscribe'](),this[_0x5d5880(0x3ac)]=0x0;}};le=Te([P(0x4,_0xcdde00(_0x3ac3e0)),P(0x5,_0xcdde00(_0x4a118f)),P(0x6,_0x1a6580),P(0x7,_0x4c4c08),P(0x8,_0x10d518),P(0x9,_0x4a8d19),P(0xa,_0x92c5af(J))],le);let oe=class extends Ce{constructor(_0x470f36,_0x52dcb7,_0xb95a49,_0x3887fd,_0x2dc55b,_0x281dae,_0x4f6581,_0x2904b0,_0x303dcc,_0x260888,_0x57bc79,_0x1756ea,_0x1f79c0){var _0x56122f=_0x12ec3c;super(_0x470f36,_0x52dcb7,_0xb95a49,_0x3887fd,_0x2dc55b,_0x303dcc,_0x1756ea,_0x2904b0,_0x1f79c0),N(this,_0x56122f(0x319),_0x56122f(0x2d9)),N(this,'_resendTimeout',0x0),N(this,_0x56122f(0x273)),N(this,_0x56122f(0x435)),(this['_injector']=_0x4f6581,this[_0x56122f(0x218)]=_0x260888,this[_0x56122f(0x3d2)]=_0x57bc79,this[_0x56122f(0x333)]=_0x1f79c0,_0x281dae&&(this[_0x56122f(0x273)]=_0x281dae,this['_sender']=this[_0x56122f(0x273)][_0x56122f(0x209)](({reqId:_0x2bcbcf,timeout:_0x8a8d78})=>{this['_resendWithTimeout'](_0x2bcbcf,_0x8a8d78);})));}['appendMutation'](_0x5f1b66){var _0x4a9282=_0x12ec3c;return this[_0x4a9282(0x3e8)][_0x4a9282(0x404)](_0x5f1b66),this;}[_0x12ec3c(0x3f1)](_0x1bf6d8){var _0x5926bc=_0x12ec3c;if(this[_0x5926bc(0x3ad)](_0x1bf6d8))return this[_0x5926bc(0x2da)](),this[_0x5926bc(0x1d0)]['createInstance'](ee,this[_0x5926bc(0x214)],this['type'],this['_awaitingChangeset'],this[_0x5926bc(0x3e8)],null,[_0x1bf6d8],this[_0x5926bc(0x2d2)]);try{const _0x591a6f=this[_0x5926bc(0x3d2)][_0x5926bc(0x2d5)]([_0x1bf6d8],[this[_0x5926bc(0x3d5)]],!0x1);if(_0x2404ad(_0x591a6f)){const {c1Prime:_0x3d803e,c2Prime:_0x4ee5fd}=_0x591a6f,_0x5dd3b3=this[_0x5926bc(0x3d2)]['transformMutationsWithChangeset'](_0x3d803e[0x0],this[_0x5926bc(0x3e8)]);if(_0x46377c(_0x5dd3b3)){const {c1Prime:_0x1a4d66,m2Prime:_0x12c8d6}=_0x5dd3b3;return this['_executeRemoteChangeset'](_0x1a4d66),_0x4ee5fd[0x0][_0x5926bc(0x337)]=this[_0x5926bc(0x255)](),this['_clearScheduledTask'](),this[_0x5926bc(0x1d0)]['createInstance'](oe,this[_0x5926bc(0x214)],this[_0x5926bc(0x237)],_0x4ee5fd[0x0],_0x12c8d6,this[_0x5926bc(0x2d2)],void 0x0);}throw _0x5dd3b3['error'];}throw _0x591a6f[_0x5926bc(0x1e8)];}catch(_0x21330b){return this[_0x5926bc(0x218)][_0x5926bc(0x1e8)](_0x21330b),this[_0x5926bc(0x2cc)](!0x1);}}[_0x12ec3c(0x2be)](_0xe40e05){var _0x2d924f=_0x12ec3c;if(this[_0x2d924f(0x2da)](),this['_checkMissing'](_0xe40e05))return this[_0x2d924f(0x1d0)]['createInstance'](ee,this['unitID'],this[_0x2d924f(0x237)],null,this[_0x2d924f(0x3e8)],this[_0x2d924f(0x3d5)],[],this[_0x2d924f(0x2d2)]);this[_0x2d924f(0x217)]();const _0x5cc533=this[_0x2d924f(0x1d0)][_0x2d924f(0x1a8)](ae,this['unitID'],this[_0x2d924f(0x237)],this['_pendingMutations'],this[_0x2d924f(0x2d2)]);return _0x5cc533[_0x2d924f(0x171)](),_0x5cc533[_0x2d924f(0x212)](),_0x5cc533;}['onRemoteRej'](_0x483382){var _0x2209ee=_0x12ec3c;return this[_0x2209ee(0x2cc)](!!(_0x483382!=null&&_0x483382[_0x2209ee(0x320)]));}[_0x12ec3c(0x213)](_0x4b2d20){var _0x477f23=_0x12ec3c;return this[_0x477f23(0x3ac)]>yi?this[_0x477f23(0x2fb)]():(this[_0x477f23(0x273)]=Ri(this['_resendTimeout'],{'timeout':this[_0x477f23(0x3ac)],'reqId':_0x4b2d20[_0x477f23(0x3e7)]}),this['_sender']=this[_0x477f23(0x273)]['subscribe'](({reqId:_0x1000ec,timeout:_0x512fc6})=>{var _0xa451ec=_0x477f23;this[_0xa451ec(0x358)](_0x1000ec,_0x512fc6);}),this);}[_0x12ec3c(0x2fb)](){var _0x4552b9=_0x12ec3c;return this[_0x4552b9(0x2da)](),this[_0x4552b9(0x1d0)][_0x4552b9(0x1a8)](de,this[_0x4552b9(0x214)],this[_0x4552b9(0x237)],this[_0x4552b9(0x3d5)],this[_0x4552b9(0x3e8)],this['_handler']);}[_0x12ec3c(0x29a)](){return this;}['resend'](){var _0x4d42fc=_0x12ec3c;this[_0x4d42fc(0x2d2)]['onSendChangeset'](this[_0x4d42fc(0x3d5)]);}['_onConflict'](_0x29d1f8){var _0x553a59=_0x12ec3c;return this['_clearScheduledTask'](),this['_injector'][_0x553a59(0x1a8)](ue,this[_0x553a59(0x214)],this['type'],null,this[_0x553a59(0x3e8)],this[_0x553a59(0x2d2)],_0x29d1f8);}[_0x12ec3c(0x358)](_0x9f5a8c,_0x3d9fd2){var _0x287e8a=_0x12ec3c,_0x30eae1;_0x9f5a8c===((_0x30eae1=this['_awaitingChangeset'])==null?void 0x0:_0x30eae1[_0x287e8a(0x3e7)])&&(this[_0x287e8a(0x252)](),this['_resendTimeout']=_0x3d9fd2===0x0?0x3e8:_0x3d9fd2*0x2);}[_0x12ec3c(0x2da)](){var _0x1769e1=_0x12ec3c,_0xdf85b7;(_0xdf85b7=this[_0x1769e1(0x435)])==null||_0xdf85b7[_0x1769e1(0x1de)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0xcdde00(_0x3ac3e0)),P(0x7,_0xcdde00(_0x4a118f)),P(0x8,_0x1a6580),P(0x9,_0x4c4c08),P(0xa,_0x10d518),P(0xb,_0x4a8d19),P(0xc,_0x92c5af(J))],oe);let ue=class extends Ce{constructor(_0x4e7ddf,_0x400ac,_0x4c80cb,_0x471948,_0x4bb444,_0x16d628=!0x1,_0xb7fbb7,_0x18aedb,_0x3f473f,_0x4539fb,_0x324d33,_0x4d6d94,_0x1c3b0f){var _0x41957e=_0x12ec3c;super(_0x4e7ddf,_0x400ac,_0x4c80cb,_0x471948,_0x4bb444,_0x18aedb,_0x3f473f,_0x4539fb,_0x1c3b0f),N(this,_0x41957e(0x319),_0x41957e(0x199)),(this[_0x41957e(0x32a)]=_0x16d628,this[_0x41957e(0x16d)]=_0xb7fbb7,this[_0x41957e(0x269)]=_0x324d33,this[_0x41957e(0x355)]=_0x4d6d94,this[_0x41957e(0x333)]=_0x1c3b0f,this[_0x41957e(0x3a8)](),this['_clearLocalCache'](),this[_0x41957e(0x2eb)]());}[_0x12ec3c(0x3c5)](){return this;}[_0x12ec3c(0x3f1)](){return this;}[_0x12ec3c(0x2be)](){return this;}['onRemoteRej'](){return this;}[_0x12ec3c(0x213)](){return this;}[_0x12ec3c(0x2fb)](){return this;}[_0x12ec3c(0x29a)](){return this;}['resend'](){var _0x10807a=_0x12ec3c;throw new Error(_0x10807a(0x425));}[_0x12ec3c(0x18b)](){var _0x4eaed3=_0x12ec3c,_0x4501a0;(_0x4501a0=this[_0x4eaed3(0x1f9)])==null||_0x4501a0['updateOfflineData'](this[_0x4eaed3(0x214)],this[_0x4eaed3(0x237)],null,[]);}[_0x12ec3c(0x3a8)](){var _0x6b6350=_0x12ec3c;this[_0x6b6350(0x32a)]?this[_0x6b6350(0x355)][_0x6b6350(0x2ea)]({'id':re[_0x6b6350(0x43d)]}):this[_0x6b6350(0x355)][_0x6b6350(0x2ea)]({'id':re[_0x6b6350(0x2b3)]});}['_disableEditing'](){var _0x5c824f=_0x12ec3c;this[_0x5c824f(0x16d)][_0x5c824f(0x415)](new _0x2b9c60(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0xcdde00(_0x1f8e18)),P(0x7,_0x1a6580),P(0x8,_0x4a8d19),P(0x9,_0xcdde00(_0x4a118f)),P(0xa,_0xcdde00(_0x14dddf)),P(0xb,_0xcdde00(pe)),P(0xc,_0x92c5af(J))],ue);let de=class extends Ce{constructor(_0x51441e,_0x3ce04c,_0x3e267e,_0xd74840,_0xed8423,_0x593181,_0x261c39,_0x32a6cb,_0x54894d,_0x48f0fd){super(_0x51441e,_0x3ce04c,_0x3e267e,_0xd74840,_0xed8423,_0x32a6cb,_0x54894d,_0x261c39,_0x48f0fd),N(this,'status','offline'),this['_injector']=_0x593181;}[_0x12ec3c(0x3c5)](_0x3177ef){var _0xc71b9=_0x12ec3c;return this['_pendingMutations'][_0xc71b9(0x404)](_0x3177ef),this[_0xc71b9(0x212)](),this;}[_0x12ec3c(0x3f1)](_0x4ed877){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x12ec3c(0x2be)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x12ec3c(0x3e3)](){var _0x3655ad=_0x12ec3c;throw new Error(_0x3655ad(0x3ba));}['onRemoteRetry'](){return this;}[_0x12ec3c(0x2fb)](){return this;}['toggleOnline'](){var _0x23eb5f=_0x12ec3c;const {_injector:_0x3fd2f2,_pendingMutations:_0x1188fe,_awaitingChangeset:_0x22cef5,unitID:_0x1b2dda,_handler:_0x219c95,type:_0x272efa}=this,_0x99af3a=Oi(_0x3fd2f2,_0x1b2dda,_0x272efa,_0x22cef5,_0x1188fe,_0x219c95);return _0x99af3a instanceof ae?_0x99af3a[_0x23eb5f(0x171)]():(_0x99af3a instanceof oe||_0x99af3a instanceof le)&&_0x99af3a[_0x23eb5f(0x252)](),_0x99af3a;}['resend'](){var _0x31ef9c=_0x12ec3c;throw new Error(_0x31ef9c(0x210));}};de=Te([P(0x5,_0xcdde00(_0x3ac3e0)),P(0x6,_0xcdde00(_0x4a118f)),P(0x7,_0x1a6580),P(0x8,_0x4a8d19),P(0x9,_0x92c5af(J))],de);let ee=class extends Ce{constructor(_0x4a1916,_0x3e8473,_0x3b5bf9,_0x4adcd5,_0x13cf3b,_0x2f6b47,_0x410fb6,_0x2fa0e9,_0x1de8d3,_0x5d5037,_0x24038e,_0x253757,_0x4a2652,_0x4812ff){var _0x5d517b=_0x12ec3c;super(_0x4a1916,_0x3e8473,_0x3b5bf9,_0x4adcd5,_0x410fb6,_0x24038e,_0x253757,_0x1de8d3,_0x4812ff),N(this,_0x5d517b(0x319),_0x5d517b(0x2d8)),(this['_acknowledgedAwaitingChangeset']=_0x13cf3b,this[_0x5d517b(0x35b)]=_0x2f6b47,this[_0x5d517b(0x1d0)]=_0x2fa0e9,this[_0x5d517b(0x218)]=_0x5d5037,this['_transformService']=_0x4a2652,this['localCacheService']=_0x4812ff);}[_0x12ec3c(0x1a6)](_0x16619a){var _0x3070ad=_0x12ec3c;try{const _0x5e92f2=[..._0x16619a,...this[_0x3070ad(0x35b)]],_0x389800=[this[_0x3070ad(0x3d5)]||this[_0x3070ad(0x38b)]][_0x3070ad(0x2c8)](_0x4f68e9=>!!_0x4f68e9);let _0x283bf7,_0x50a861;if(_0x389800[_0x3070ad(0x3e1)]){const _0x19393d=this[_0x3070ad(0x3d2)]['transformChangesets'](_0x5e92f2,_0x389800,!0x1);if(!_0x2404ad(_0x19393d))throw _0x19393d[_0x3070ad(0x1e8)];_0x283bf7=_0x19393d[_0x3070ad(0x29d)],_0x50a861=_0x19393d[_0x3070ad(0x40b)];}else _0x283bf7=_0x5e92f2,_0x50a861=[];let _0x58441f=this[_0x3070ad(0x3e8)];_0x283bf7[_0x3070ad(0x3eb)](_0x2875fa=>{var _0x1c2efb=_0x3070ad;let _0x336f1c;if(_0x58441f[_0x1c2efb(0x3e1)]){const _0x19e223=this['_transformService'][_0x1c2efb(0x449)](_0x2875fa,_0x58441f);if(!_0x46377c(_0x19e223))throw _0x19e223[_0x1c2efb(0x1e8)];_0x336f1c=_0x19e223[_0x1c2efb(0x29d)],_0x58441f=_0x19e223[_0x1c2efb(0x44b)];}else _0x336f1c=_0x2875fa;this[_0x1c2efb(0x297)](_0x336f1c);}),this[_0x3070ad(0x38b)]&&this[_0x3070ad(0x217)](),this[_0x3070ad(0x3d5)]&&_0x50a861[_0x3070ad(0x3e1)]&&(_0x50a861[0x0][_0x3070ad(0x337)]=this[_0x3070ad(0x255)]());let _0x2427e7;if(this[_0x3070ad(0x3d5)]&&_0x58441f[_0x3070ad(0x3e1)]!==0x0)_0x2427e7=this['_injector'][_0x3070ad(0x1a8)](oe,this[_0x3070ad(0x214)],this[_0x3070ad(0x237)],_0x50a861[0x0],_0x58441f,this[_0x3070ad(0x2d2)],void 0x0);else{if(this['_awaitingChangeset']&&_0x58441f[_0x3070ad(0x3e1)]===0x0)_0x50a861[0x0][_0x3070ad(0x337)]=this[_0x3070ad(0x255)](),_0x2427e7=this[_0x3070ad(0x1d0)][_0x3070ad(0x1a8)](le,this['unitID'],this['type'],_0x50a861[0x0],this[_0x3070ad(0x2d2)]);else{if(_0x58441f[_0x3070ad(0x3e1)]!==0x0){const _0x51ed4c=this[_0x3070ad(0x1d0)]['createInstance'](ae,this['unitID'],this[_0x3070ad(0x237)],_0x58441f,this[_0x3070ad(0x2d2)]);_0x51ed4c['_schedule'](),_0x2427e7=_0x51ed4c;}else _0x2427e7=this['_injector'][_0x3070ad(0x1a8)](Ne,this[_0x3070ad(0x214)],this[_0x3070ad(0x237)],this[_0x3070ad(0x2d2)]);}}return _0x2427e7[_0x3070ad(0x212)](),_0x2427e7;}catch(_0xe706dc){return this[_0x3070ad(0x218)][_0x3070ad(0x1e8)](_0x3070ad(0x31d),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe706dc),this['_injector'][_0x3070ad(0x1a8)](ue,this['unitID'],this[_0x3070ad(0x237)],this[_0x3070ad(0x3d5)],this[_0x3070ad(0x3e8)],this[_0x3070ad(0x2d2)],!0x1);}}['resend'](){var _0x483300=_0x12ec3c;throw new Error(_0x483300(0x403));}[_0x12ec3c(0x3c5)](_0xef79f1){var _0x26a2f7=_0x12ec3c;return this[_0x26a2f7(0x3e8)]['push'](_0xef79f1),this;}['onRemoteChangeset'](_0x4a2c56){var _0x41df0d=_0x12ec3c;return this[_0x41df0d(0x35b)][_0x41df0d(0x404)](_0x4a2c56),this;}['onRemoteAck'](_0x2d61ee){var _0x30cc11=_0x12ec3c;if(this[_0x30cc11(0x3d5)])return this[_0x30cc11(0x38b)]=this[_0x30cc11(0x3d5)],this[_0x30cc11(0x3d5)]=null,this;throw new Error(_0x30cc11(0x20b));}[_0x12ec3c(0x3e3)](_0x57b2c1){var _0x3669ed=_0x12ec3c;return this[_0x3669ed(0x2cc)](!!(_0x57b2c1!=null&&_0x57b2c1[_0x3669ed(0x320)]));}[_0x12ec3c(0x213)](){return this;}['toggleOffline'](){var _0x4834c2=_0x12ec3c;return this[_0x4834c2(0x1d0)][_0x4834c2(0x1a8)](de,this[_0x4834c2(0x214)],this[_0x4834c2(0x237)],this[_0x4834c2(0x3d5)],this[_0x4834c2(0x3e8)],this[_0x4834c2(0x2d2)]);}[_0x12ec3c(0x29a)](){return this;}['_onConflict'](_0x38b60f){var _0x99895b=_0x12ec3c;return this[_0x99895b(0x1d0)]['createInstance'](ue,this[_0x99895b(0x214)],this[_0x99895b(0x237)],this['_awaitingChangeset'],this[_0x99895b(0x3e8)],this[_0x99895b(0x2d2)],_0x38b60f);}};ee=Te([P(0x7,_0xcdde00(_0x3ac3e0)),P(0x8,_0xcdde00(_0x4a118f)),P(0x9,_0x4c4c08),P(0xa,_0x1a6580),P(0xb,_0x4a8d19),P(0xc,_0x10d518),P(0xd,_0x92c5af(J))],ee);function Oi(_0x3f97fc,_0x211ea9,_0x38ff80,_0x429863,_0xafeb27,_0x5b73ec){var _0x5f4a42=_0x12ec3c;return _0x429863&&_0xafeb27[_0x5f4a42(0x3e1)]?_0x3f97fc[_0x5f4a42(0x1a8)](oe,_0x211ea9,_0x38ff80,_0x429863,_0xafeb27,_0x5b73ec,void 0x0):_0x429863?_0x3f97fc[_0x5f4a42(0x1a8)](le,_0x211ea9,_0x38ff80,_0x429863,_0x5b73ec):_0xafeb27['length']?_0x3f97fc['createInstance'](ae,_0x211ea9,_0x38ff80,_0xafeb27,_0x5b73ec):_0x3f97fc[_0x5f4a42(0x1a8)](Ne,_0x211ea9,_0x38ff80,_0x5b73ec);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x124a34,_0x5d141e,_0x58cf41,_0x2a29b5)=>{var _0x2b708a=_0x12ec3c;for(var _0x5a049f=_0x2a29b5>0x1?void 0x0:_0x2a29b5?as(_0x5d141e,_0x58cf41):_0x5d141e,_0x19a717=_0x124a34[_0x2b708a(0x3e1)]-0x1,_0x2bf66f;_0x19a717>=0x0;_0x19a717--)(_0x2bf66f=_0x124a34[_0x19a717])&&(_0x5a049f=_0x2bf66f(_0x5a049f)||_0x5a049f);return _0x5a049f;},H=(_0xebe234,_0x4e9ce1)=>(_0x536a35,_0x4f2b14)=>_0x4e9ce1(_0x536a35,_0x4f2b14,_0xebe234);let nt=class extends _0x221eab{constructor(_0x528f58,_0x2ad5e8,_0x515f8a,_0x121ed9,_0x27422e,_0x2e06de,_0x1a145b,_0x33fe23,_0x1a2804,_0x25d853,_0xbffd32,_0x13c36f,_0x13ec9d){var _0x567a6f=_0x12ec3c;super(),N(this,_0x567a6f(0x416),new _0x3eca50(null)),N(this,_0x567a6f(0x3cd),this[_0x567a6f(0x416)][_0x567a6f(0x3e5)]()),N(this,_0x567a6f(0x2c3)),N(this,'_collaborationPaused',!0x1),N(this,_0x567a6f(0x40f),''),N(this,_0x567a6f(0x37e),0x0),N(this,_0x567a6f(0x2d0),this[_0x567a6f(0x3cd)]['pipe'](_0x2394ca(_0x1cc445=>_0x1cc445?_0x1cc445[_0x567a6f(0x319)]:bi['OFFLINE']),_0x126d73(0x1))),N(this,_0x567a6f(0x345),!0x1),N(this,_0x567a6f(0x2a5),[]),(this[_0x567a6f(0x214)]=_0x528f58,this[_0x567a6f(0x264)]=_0x2ad5e8,this[_0x567a6f(0x1e3)]=_0x515f8a,this[_0x567a6f(0x1d0)]=_0x121ed9,this['_compressMutationService']=_0x27422e,this[_0x567a6f(0x269)]=_0x2e06de,this[_0x567a6f(0x163)]=_0x1a145b,this[_0x567a6f(0x284)]=_0x33fe23,this[_0x567a6f(0x218)]=_0x1a2804,this[_0x567a6f(0x2e4)]=_0x25d853,this['_permissionService']=_0xbffd32,this[_0x567a6f(0x239)]=_0x13c36f,this[_0x567a6f(0x1f9)]=_0x13ec9d);}get[_0x12ec3c(0x27a)](){var _0x2438a9=_0x12ec3c;return this[_0x2438a9(0x2c3)];}async['init'](){var _0x547d72=_0x12ec3c;if(this[_0x547d72(0x27a)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x87426e=_0x12ec3c;return this[_0x87426e(0x286)]=!0x0,_0x5d5085(()=>{var _0x37dd9d=_0x87426e;this['_collaborationPaused']=!0x1,this[_0x37dd9d(0x28d)]();});}[_0x12ec3c(0x281)](_0x585856){var _0x3ced61=_0x12ec3c;this[_0x3ced61(0x15f)](_0x585856);}[_0x12ec3c(0x16e)](_0xade07b){var _0xfc239c=_0x12ec3c;this[_0xfc239c(0x2c3)]=_0xade07b,this[_0xfc239c(0x416)]['next'](_0xade07b);}async[_0x12ec3c(0x2ac)](){var _0x5284c9=_0x12ec3c,_0x4173ac;this[_0x5284c9(0x16e)](await this[_0x5284c9(0x356)]()),this[_0x5284c9(0x239)]&&((_0x4173ac=this[_0x5284c9(0x239)])==null||_0x4173ac[_0x5284c9(0x1bb)](this[_0x5284c9(0x214)]),this[_0x5284c9(0x219)](this['_singleActiveUnitService'][_0x5284c9(0x282)](this[_0x5284c9(0x214)])['subscribe'](_0x5251ce=>{var _0x312dc8=_0x5284c9;this['_logService'][_0x312dc8(0x2aa)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x5251ce),_0x5251ce===Ci['OTHER_CLIENTS_EDITING']?(this[_0x312dc8(0x284)]['emitEvent']({'id':re['OTHER_CLIENT_EDITING']}),this[_0x312dc8(0x16d)][_0x312dc8(0x415)](new _0x2b9c60(this[_0x312dc8(0x214)])['id'],!0x1),this[_0x312dc8(0x16d)]['setShowComponents'](!0x1)):(this[_0x312dc8(0x16d)][_0x312dc8(0x415)](new _0x2b9c60(this[_0x312dc8(0x214)])['id'],!0x0),this[_0x312dc8(0x16d)][_0x312dc8(0x1c3)](!0x0));})));let _0x1c215a=!0x1;return this[_0x5284c9(0x219)](this[_0x5284c9(0x264)][_0x5284c9(0x1fd)][_0x5284c9(0x209)](_0x137d26=>{var _0x171c31=_0x5284c9;_0x137d26===Ee[_0x171c31(0x38f)]?this['_toggleOnline'](_0x1c215a):_0x137d26===Ee[_0x171c31(0x2a1)]&&(_0x1c215a=!0x0,this['_toggleOffline']());})),this[_0x5284c9(0x219)](this[_0x5284c9(0x264)][_0x5284c9(0x360)][_0x5284c9(0x209)](_0x482a87=>{var _0x5070da=_0x5284c9;try{switch(_0x482a87[_0x5070da(0x244)]){case _0x3cdc31['NEW_CHANGESETS']:{this[_0x5070da(0x15a)](_0x5b6b76(_0x482a87[_0x5070da(0x25e)]));break;}case _0x3cdc31[_0x5070da(0x22b)]:{this[_0x5070da(0x2bb)](_0x482a87[_0x5070da(0x25e)]);break;}case _0x3cdc31[_0x5070da(0x409)]:{this[_0x5070da(0x1e1)]();break;}case _0x3cdc31[_0x5070da(0x3ee)]:{this['_onRemoteRetry'](_0x482a87['data']);break;}case _0x3cdc31[_0x5070da(0x2a9)]:{this[_0x5070da(0x2e9)](_0x482a87['data']['changesets'][_0x5070da(0x413)](_0x2218a2=>_0x5b6b76(_0x2218a2)));break;}case _0x3cdc31[_0x5070da(0x1d7)]:{this[_0x5070da(0x1e1)]({'isPermissionRej':!0x0});break;}case _0x3cdc31[_0x5070da(0x1f1)]:break;}}catch(_0x2e4b56){throw console[_0x5070da(0x1e8)]('Error\x20on\x20receiving\x20event',_0x2e4b56),_0x2e4b56;}})),this[_0x5284c9(0x2c3)];}[_0x12ec3c(0x1c5)](){this['_transitionLocked']=!0x1;}[_0x12ec3c(0x1fe)](){var _0x1dc7a8=_0x12ec3c;if(this[_0x1dc7a8(0x345)])throw new Error(_0x1dc7a8(0x1da));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x5a39ba){var _0x76f09d=_0x12ec3c;this[_0x76f09d(0x1fe)](),this[_0x76f09d(0x16e)](this['_state'][_0x76f09d(0x3c5)](_0x5a39ba)),this[_0x76f09d(0x1c5)]();}[_0x12ec3c(0x15a)](_0x1d8e97){var _0x2a2fba=_0x12ec3c;if(!(_0x1d8e97['revision']<=this[_0x2a2fba(0x163)][_0x2a2fba(0x2fc)](this['unitID']))){if(this[_0x2a2fba(0x286)]){this[_0x2a2fba(0x2a5)]['push'](_0x1d8e97);return;}this[_0x2a2fba(0x25f)](_0x1d8e97);}}[_0x12ec3c(0x28d)](){var _0x52f58c=_0x12ec3c;this[_0x52f58c(0x2a5)]['forEach'](_0x234e08=>this[_0x52f58c(0x25f)](_0x234e08)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x29ac93){var _0x211758=_0x12ec3c;const _0x2040ff=this[_0x211758(0x28e)][_0x211758(0x17a)][_0x211758(0x26f)](this[_0x211758(0x28e)][_0x211758(0x17a)][_0x211758(0x1b1)]()[_0x211758(0x322)])(_0x29ac93[_0x211758(0x328)],null)||_0x29ac93[_0x211758(0x328)],_0x30dad4={..._0x29ac93,'mutations':_0x2040ff};this[_0x211758(0x1fe)](),this['_updateState'](this[_0x211758(0x2c3)][_0x211758(0x3f1)](_0x30dad4)),this[_0x211758(0x1c5)]();}[_0x12ec3c(0x2bb)](_0x375f5f){var _0x384d11=_0x12ec3c;this[_0x384d11(0x1fe)](),this[_0x384d11(0x16e)](this[_0x384d11(0x2c3)][_0x384d11(0x2be)](_0x375f5f)),this[_0x384d11(0x1c5)]();}[_0x12ec3c(0x1e1)](_0x5ce18d){var _0x50882f=_0x12ec3c;this['_lockTransition'](),this[_0x50882f(0x16e)](this[_0x50882f(0x2c3)][_0x50882f(0x3e3)](_0x5ce18d)),this['_unlockTransition']();}['_onRemoteRetry'](_0xb9cf67){var _0x43bb5b=_0x12ec3c;this[_0x43bb5b(0x1fe)](),this[_0x43bb5b(0x16e)](this[_0x43bb5b(0x2c3)][_0x43bb5b(0x213)](_0xb9cf67)),this[_0x43bb5b(0x1c5)]();}[_0x12ec3c(0x2e9)](_0x17576c){var _0x173e78=_0x12ec3c;if(!(this[_0x173e78(0x2c3)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x276f49=_0x17576c[_0x173e78(0x413)](_0x4e9906=>{var _0xaf7560=_0x173e78;const _0x4962e6=this[_0xaf7560(0x28e)]['interceptor'][_0xaf7560(0x26f)](this[_0xaf7560(0x28e)][_0xaf7560(0x17a)]['getInterceptPoints']()[_0xaf7560(0x322)])(_0x4e9906[_0xaf7560(0x328)],null)||_0x4e9906['mutations'];return{..._0x4e9906,'mutations':_0x4962e6};});this[_0x173e78(0x1fe)](),this[_0x173e78(0x16e)](this[_0x173e78(0x2c3)][_0x173e78(0x1a6)](_0x276f49)),this[_0x173e78(0x1c5)]();}[_0x12ec3c(0x3de)](){var _0x238e2e=_0x12ec3c;this[_0x238e2e(0x1fe)](),this['_updateState'](this['_state'][_0x238e2e(0x2fb)]()),this[_0x238e2e(0x1c5)]();}['_toggleOnline'](_0x57cde1=!0x1){var _0x48cfe2=_0x12ec3c;this[_0x48cfe2(0x1fe)](),this[_0x48cfe2(0x16e)](this['_state'][_0x48cfe2(0x29a)]()),this['_unlockTransition']();const _0x1e50f8=this[_0x48cfe2(0x2c3)];_0x57cde1&&_0x1e50f8 instanceof Ne&&(this[_0x48cfe2(0x1fe)](),this[_0x48cfe2(0x16e)](_0x1e50f8['fetchMiss']()),this[_0x48cfe2(0x1c5)]());}async[_0x12ec3c(0x356)](){return new Promise(_0x197e73=>{var _0x1a4922=_0x7e46;this[_0x1a4922(0x264)][_0x1a4922(0x1fd)][_0x1a4922(0x275)](_0x1e5b04(0x1))['subscribe'](async _0x211ef0=>{var _0x4a05b0=_0x1a4922;_0x197e73(await this['_createInitialStateImpl'](_0x211ef0===Ee[_0x4a05b0(0x38f)]));});});}['_createHandler'](){var _0x2dca1b=_0x12ec3c;const _0x41f819=this[_0x2dca1b(0x214)];return{'onStateChange':(_0x1c74f5,_0x2dd1ee)=>{var _0x4ad1af=_0x2dca1b;if(_0x1c74f5!==this['_state'])throw new Error(_0x4ad1af(0x1ab)+_0x1c74f5[_0x4ad1af(0x319)]+_0x4ad1af(0x1a5)+_0x2dd1ee[_0x4ad1af(0x319)]+_0x4ad1af(0x336)+this[_0x4ad1af(0x2c3)][_0x4ad1af(0x319)]);this[_0x4ad1af(0x16e)](_0x2dd1ee);},'onSendChangeset':_0x1e3e60=>{var _0x4f8329=_0x2dca1b;_0x1e3e60[_0x4f8329(0x15c)]||(_0x1e3e60[_0x4f8329(0x15c)]=this[_0x4f8329(0x40f)],_0x1e3e60[_0x4f8329(0x3e7)]=++this[_0x4f8329(0x37e)]);const _0x31e61e={'eventID':_0x3cdc31['SUBMIT_CHANGESET'],'data':{'unitID':_0x1e3e60['unitID'],'unitType':this[_0x4f8329(0x1e3)],'changeset':_0x1e3e60,'memberID':this[_0x4f8329(0x264)]['getMemberID']()}};this[_0x4f8329(0x264)]['send'](_0x31e61e,this[_0x4f8329(0x214)]);},'onMissingChangesets':({from:_0x2bf2cb,to:_0xad2dde})=>{var _0x243119=_0x2dca1b;this[_0x243119(0x218)][_0x243119(0x2aa)]('[CollaborationEntity]',_0x243119(0x27e)+_0x2bf2cb+_0x243119(0x2ff)+_0xad2dde);const _0x4b53ee={'eventID':_0x3cdc31['FETCH_MISSING'],'data':{'unitID':_0x41f819,'unitType':this[_0x243119(0x1e3)],'from':_0x2bf2cb,'to':_0xad2dde}};this[_0x243119(0x264)][_0x243119(0x1b4)](_0x4b53ee,this[_0x243119(0x214)]);}};}async[_0x12ec3c(0x296)](_0x419337){var _0x27c4be=_0x12ec3c,_0x2e12cd,_0x2698af,_0x3d9b89;const _0x5f2727=await((_0x2e12cd=this[_0x27c4be(0x1f9)])==null?void 0x0:_0x2e12cd[_0x27c4be(0x427)](this['unitID'])),_0x5b09a2=(_0x2698af=_0x5f2727==null?void 0x0:_0x5f2727[_0x27c4be(0x328)])!=null?_0x2698af:[],_0xd038b6=(_0x3d9b89=_0x5f2727==null?void 0x0:_0x5f2727['awaitingChangeset'])!=null?_0x3d9b89:null,_0x50b691=!!(_0xd038b6!=null&&_0xd038b6['sid'])&&!!(_0xd038b6!=null&&_0xd038b6[_0x27c4be(0x3e7)]);this[_0x27c4be(0x40f)]=_0x50b691?_0xd038b6[_0x27c4be(0x15c)]:Zn(),this[_0x27c4be(0x37e)]=_0x50b691?_0xd038b6[_0x27c4be(0x3e7)]:0x0;const _0x5a0507=this[_0x27c4be(0x214)];try{this['_replayCachedMutations'](_0xd038b6,_0x5b09a2);}catch(_0x2993f2){this['_logService']['error'](_0x2993f2);}const _0x4cf911=this[_0x27c4be(0x16a)]();if(_0x419337){const _0x792db4=Oi(this[_0x27c4be(0x1d0)],_0x5a0507,this[_0x27c4be(0x1e3)],_0xd038b6,_0x5b09a2,_0x4cf911);return _0x792db4 instanceof ae?_0x792db4[_0x27c4be(0x171)]():(_0x792db4 instanceof oe||_0x792db4 instanceof le)&&_0x792db4[_0x27c4be(0x252)](),_0x792db4;}return this[_0x27c4be(0x1d0)][_0x27c4be(0x1a8)](de,_0x5a0507,this[_0x27c4be(0x1e3)],_0xd038b6,_0x5b09a2,_0x4cf911);}['_replayCachedMutations'](_0x670baa,_0x5af439){var _0x1461af=_0x12ec3c,_0x4032ae,_0xd28732;const _0x200c30=this[_0x1461af(0x28e)][_0x1461af(0x17a)][_0x1461af(0x26f)](this[_0x1461af(0x28e)][_0x1461af(0x17a)][_0x1461af(0x1b1)]()[_0x1461af(0x322)]);(_0x4032ae=_0x200c30((_0x670baa==null?void 0x0:_0x670baa[_0x1461af(0x328)])||[],null))==null||_0x4032ae[_0x1461af(0x3eb)](_0xd60ea1=>this['_commandService'][_0x1461af(0x1ec)](_0xd60ea1['id'],_0xd60ea1[_0x1461af(0x35e)])),(_0xd28732=_0x200c30(_0x5af439||[],null))==null||_0xd28732[_0x1461af(0x3eb)](_0x5ed1de=>this[_0x1461af(0x2e4)]['executeCommand'](_0x5ed1de['id'],_0x5ed1de['params']));}};nt=Lt([H(0x3,_0xcdde00(_0x3ac3e0)),H(0x4,_0xcdde00(_0x2c7d1a)),H(0x5,_0xcdde00(_0x14dddf)),H(0x6,_0xcdde00(_0x4a118f)),H(0x7,_0xcdde00(pe)),H(0x8,_0x4c4c08),H(0x9,_0x1a6580),H(0xa,_0x1f8e18),H(0xb,_0x92c5af(ht)),H(0xc,_0x92c5af(J))],nt);let It=class extends nt{constructor(_0x143f02,_0x27c73d,_0x2afdf5,_0x5bbf95,_0x5c1d6,_0x134f03,_0x58c2e3,_0x3e3814,_0x158733,_0x2db508,_0x29ee79,_0x4995d9,_0x2c6487){var _0x32c23b=_0x12ec3c;super(_0x143f02,_0x2afdf5,_0x27c73d,_0x5bbf95,_0x5c1d6,_0x134f03,_0x58c2e3,_0x3e3814,_0x158733,_0x2db508,_0x29ee79,_0x4995d9,_0x2c6487),N(this,_0x32c23b(0x227),null),(this[_0x32c23b(0x214)]=_0x143f02,this[_0x32c23b(0x237)]=_0x27c73d);}['addHandlerCallback'](_0x11cefb){var _0x13de7b=_0x12ec3c;this[_0x13de7b(0x227)]=_0x11cefb;}['dispose'](){var _0x3e2487=_0x12ec3c;this[_0x3e2487(0x227)]=null,super[_0x3e2487(0x202)]();}[_0x12ec3c(0x16a)](){var _0x13a4bb=_0x12ec3c;const _0xc3503=super['_createHandler']();return _0xc3503[_0x13a4bb(0x17b)]=_0x529c35=>{var _0x43fcf0=_0x13a4bb,_0x3c76d3,_0x16bfaa;return(_0x16bfaa=(_0x3c76d3=this['_handlerCallback'])==null?void 0x0:_0x3c76d3[_0x43fcf0(0x17b)])==null?void 0x0:_0x16bfaa['call'](_0x3c76d3,_0x529c35);},_0xc3503[_0x13a4bb(0x251)]=_0x51085e=>{var _0x2d4e4b=_0x13a4bb,_0x4a0bb9,_0x187303;return(_0x187303=(_0x4a0bb9=this[_0x2d4e4b(0x227)])==null?void 0x0:_0x4a0bb9[_0x2d4e4b(0x251)])==null?void 0x0:_0x187303['call'](_0x4a0bb9,_0x51085e);},_0xc3503[_0x13a4bb(0x1cb)]=_0x12970e=>{var _0x5e1939=_0x13a4bb,_0x389979,_0x11d6b7;return(_0x11d6b7=(_0x389979=this[_0x5e1939(0x227)])==null?void 0x0:_0x389979[_0x5e1939(0x1cb)])==null?void 0x0:_0x11d6b7[_0x5e1939(0x288)](_0x389979,_0x12970e);},_0xc3503['onSyncEditingCollabCursor']=_0x490fcc=>{var _0x24b810=_0x13a4bb,_0x3ca787,_0x2587ae;return(_0x2587ae=(_0x3ca787=this[_0x24b810(0x227)])==null?void 0x0:_0x3ca787[_0x24b810(0x18c)])==null?void 0x0:_0x2587ae[_0x24b810(0x288)](_0x3ca787,_0x490fcc);},_0xc3503[_0x13a4bb(0x1ef)]=_0x5b9178=>{var _0x295a0d=_0x13a4bb,_0x3f2e79,_0x3b07a3,_0x2fbc11;if(!((_0x3f2e79=this[_0x295a0d(0x227)])!=null&&_0x3f2e79['onTransformRemoteChangesetByIMECache']))throw new Error(_0x295a0d(0x193));return(_0x2fbc11=(_0x3b07a3=this[_0x295a0d(0x227)])==null?void 0x0:_0x3b07a3[_0x295a0d(0x1ef)])==null?void 0x0:_0x2fbc11[_0x295a0d(0x288)](_0x3b07a3,_0x5b9178);},_0xc3503[_0x13a4bb(0x312)]=_0xf34b5f=>{var _0x46a49e=_0x13a4bb,_0x4d1722,_0x5ace3b,_0x344261;if(!((_0x4d1722=this['_handlerCallback'])!=null&&_0x4d1722[_0x46a49e(0x312)]))throw new Error(_0x46a49e(0x223));return(_0x344261=(_0x5ace3b=this[_0x46a49e(0x227)])==null?void 0x0:_0x5ace3b[_0x46a49e(0x312)])==null?void 0x0:_0x344261[_0x46a49e(0x288)](_0x5ace3b,_0xf34b5f);},_0xc3503;}async['_init'](){var _0x5ed9cc=_0x12ec3c;const _0x4c3864=await super[_0x5ed9cc(0x2ac)]();return this[_0x5ed9cc(0x219)](this[_0x5ed9cc(0x2e4)][_0x5ed9cc(0x180)]((_0x432f0b,_0x47cb51)=>{var _0x8569be=_0x5ed9cc;if(_0x432f0b['type']!==_0x5baef3[_0x8569be(0x21a)]||_0x47cb51!=null&&_0x47cb51[_0x8569be(0x23e)]||_0x47cb51!=null&&_0x47cb51[_0x8569be(0x418)]||_0x432f0b['id']===_0x331543['id'])return;const _0x1c45d8=_0x432f0b[_0x8569be(0x35e)];if((_0x1c45d8==null?void 0x0:_0x1c45d8[_0x8569be(0x41d)])!==this['unitID'])return;const _0x29f5e7=_0x432f0b,_0x1b862d=this[_0x8569be(0x28e)][_0x8569be(0x17a)][_0x8569be(0x26f)](this['_compressMutationService'][_0x8569be(0x17a)][_0x8569be(0x1b1)]()['COMPRESS_MUTATION_SEND'])([_0x29f5e7],null)||[_0x29f5e7];this[_0x8569be(0x15f)](_0x1b862d[0x0]);})),_0x4c3864;}};It=Lt([H(0x3,_0xcdde00(_0x3ac3e0)),H(0x4,_0xcdde00(_0x2c7d1a)),H(0x5,_0xcdde00(_0x14dddf)),H(0x6,_0xcdde00(_0x4a118f)),H(0x7,_0xcdde00(pe)),H(0x8,_0x4c4c08),H(0x9,_0x1a6580),H(0xa,_0x1f8e18),H(0xb,_0x92c5af(ht)),H(0xc,_0x92c5af(J))],It);let Tt=class extends nt{constructor(_0x292723,_0x59f309,_0x56a740,_0x1ad2f6,_0x1f2987,_0x3c1344,_0xf5bd41,_0x478033,_0x3ece91,_0x4957f3,_0x14eda9,_0x550a4c,_0x2a6fad,_0x48060c){var _0x3d564a=_0x12ec3c;super(_0x292723,_0x56a740,_0x59f309,_0x1ad2f6,_0x1f2987,_0x3c1344,_0xf5bd41,_0x3ece91,_0x4957f3,_0x14eda9,_0x550a4c,_0x2a6fad,_0x48060c),this[_0x3d564a(0x214)]=_0x292723,this[_0x3d564a(0x237)]=_0x59f309,this[_0x3d564a(0x401)]=_0x478033;}[_0x12ec3c(0x16a)](){var _0x1219fc=_0x12ec3c;const _0x190a82=super[_0x1219fc(0x16a)]();return _0x190a82[_0x1219fc(0x1cb)]=_0x2d5898=>this[_0x1219fc(0x401)][_0x1219fc(0x39d)](_0x2d5898),_0x190a82;}async[_0x12ec3c(0x2ac)](){var _0x5b693f=_0x12ec3c;const _0x59a941=await super[_0x5b693f(0x2ac)]();return this[_0x5b693f(0x219)](this[_0x5b693f(0x2e4)]['onCommandExecuted']((_0x77e908,_0x796943)=>{var _0x49d502=_0x5b693f;if(_0x77e908[_0x49d502(0x237)]!==_0x5baef3[_0x49d502(0x21a)]||_0x796943!=null&&_0x796943[_0x49d502(0x23e)]||_0x796943!=null&&_0x796943[_0x49d502(0x418)])return;const _0x133fd4=_0x77e908[_0x49d502(0x35e)];if((_0x133fd4==null?void 0x0:_0x133fd4['unitId'])!==this['unitID'])return;const _0x3bace1=_0x77e908,_0x1c21d4=this[_0x49d502(0x28e)]['interceptor'][_0x49d502(0x26f)](this[_0x49d502(0x28e)][_0x49d502(0x17a)][_0x49d502(0x1b1)]()[_0x49d502(0x2df)])([_0x3bace1],null)||[_0x3bace1];this[_0x49d502(0x15f)](_0x1c21d4[0x0]);})),_0x59a941;}};Tt=Lt([H(0x3,_0xcdde00(_0x3ac3e0)),H(0x4,_0xcdde00(_0x2c7d1a)),H(0x5,_0xcdde00(_0x14dddf)),H(0x6,_0xcdde00(_0x4a118f)),H(0x7,_0xcdde00(it)),H(0x8,_0xcdde00(pe)),H(0x9,_0x4c4c08),H(0xa,_0x1a6580),H(0xb,_0x1f8e18),H(0xc,_0x92c5af(ht)),H(0xd,_0x92c5af(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x4749ce,_0x5e02cf,_0x4d5ca1,_0x121550)=>{for(var _0xcacf31=_0x121550>0x1?void 0x0:_0x121550?os(_0x5e02cf,_0x4d5ca1):_0x5e02cf,_0x40be4c=_0x4749ce['length']-0x1,_0x1699b0;_0x40be4c>=0x0;_0x40be4c--)(_0x1699b0=_0x4749ce[_0x40be4c])&&(_0xcacf31=_0x1699b0(_0xcacf31)||_0xcacf31);return _0xcacf31;},ft=(_0x5eea9f,_0x21067e)=>(_0x356433,_0x59cd32)=>_0x21067e(_0x356433,_0x59cd32,_0x5eea9f);let st=class extends _0x221eab{constructor(_0x1a16b3,_0x443412,_0x35a0e8){var _0x547fca=_0x12ec3c;super(),N(this,_0x547fca(0x298),new Map()),N(this,_0x547fca(0x36d),new _0x238823()),N(this,_0x547fca(0x1c7),this[_0x547fca(0x36d)][_0x547fca(0x3e5)]()),(this[_0x547fca(0x1d0)]=_0x1a16b3,this['_collabSessionService']=_0x443412,this['_univerInstanceService']=_0x35a0e8,this[_0x547fca(0x2ac)]());}[_0x12ec3c(0x202)](){var _0x5e6e1b=_0x12ec3c;super[_0x5e6e1b(0x202)](),this['_entities']['forEach'](_0x55bbd0=>_0x55bbd0[_0x5e6e1b(0x202)]()),this['_entities'][_0x5e6e1b(0x24e)]();}[_0x12ec3c(0x1c6)](_0x23d561){var _0x168f76=_0x12ec3c,_0x937283;return(_0x937283=this[_0x168f76(0x298)][_0x168f76(0x2e0)](_0x23d561))!=null?_0x937283:null;}[_0x12ec3c(0x1fc)](_0xa4f6ee){var _0x589be5=_0x12ec3c;const _0x212597=this[_0x589be5(0x1c6)](_0xa4f6ee);return _0x212597?_0x5aa6f4(_0x212597):this[_0x589be5(0x36d)][_0x589be5(0x275)](_0x217676(_0x1b20c7=>_0x1b20c7[_0x589be5(0x214)]===_0xa4f6ee));}[_0x12ec3c(0x173)](_0x540711){var _0x45eebf=_0x12ec3c;return _0x3675db(this[_0x45eebf(0x1fc)](_0x540711)[_0x45eebf(0x275)](_0x378e98(()=>{})));}['_init'](){var _0x4f388e=_0x12ec3c;this[_0x4f388e(0x248)][_0x4f388e(0x31a)](_0xa8cbc9['UNIVER_SHEET'])['pipe'](_0x993a0b(this[_0x4f388e(0x41e)]),_0x371c85(0x10))['subscribe'](async _0x40def9=>{var _0xf2b51=_0x4f388e;const _0x1446d0=_0x40def9['getUnitId'](),_0x54c05a=await this['_startCollaboration'](_0x1446d0,Q[_0xf2b51(0x397)]);this[_0xf2b51(0x298)][_0xf2b51(0x2f7)](_0x1446d0,_0x54c05a);}),this[_0x4f388e(0x248)]['getTypeOfUnitAdded$'](_0xa8cbc9[_0x4f388e(0x374)])[_0x4f388e(0x275)](_0x993a0b(this['dispose$']),_0x371c85(0x10))[_0x4f388e(0x275)](_0x217676(_0x4478e2=>!_0x4478e2[_0x4f388e(0x3f7)]()['startsWith']('__')))['subscribe'](async _0x193e3e=>{var _0x263e4b=_0x4f388e;const _0x1e93bf=_0x193e3e['getUnitId'](),_0x67dda5=await this[_0x263e4b(0x2a8)](_0x1e93bf,Q[_0x263e4b(0x374)]);this['_entities'][_0x263e4b(0x2f7)](_0x1e93bf,_0x67dda5);}),_0x1c8303(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xa8cbc9[_0x4f388e(0x397)]),this['_univerInstanceService'][_0x4f388e(0x36f)](_0xa8cbc9['UNIVER_DOC']))['pipe'](_0x993a0b(this[_0x4f388e(0x41e)]))[_0x4f388e(0x209)](_0x5235b9=>{var _0x37164f=_0x4f388e;const _0x1cfe4e=_0x5235b9[_0x37164f(0x3f7)](),_0x271f29=this['_entities'][_0x37164f(0x2e0)](_0x1cfe4e);_0x271f29&&(_0x271f29['dispose'](),this[_0x37164f(0x298)][_0x37164f(0x194)](_0x1cfe4e));});}async[_0x12ec3c(0x2a8)](_0x594696,_0x1ad898){var _0x13cb35=_0x12ec3c;const _0xb1dfbc=await this[_0x13cb35(0x437)]['requireSession'](_0x594696),_0x5d48b0=this[_0x13cb35(0x1d0)]['createInstance'](this[_0x13cb35(0x2ad)](_0x1ad898),_0x594696,_0x1ad898,_0xb1dfbc);return await _0x5d48b0[_0x13cb35(0x2b6)](),this[_0x13cb35(0x36d)][_0x13cb35(0x1fa)](_0x5d48b0),_0x5d48b0;}[_0x12ec3c(0x2ad)](_0x4a7045){var _0x307207=_0x12ec3c;switch(_0x4a7045){case Q[_0x307207(0x374)]:return It;case Q[_0x307207(0x397)]:return Tt;default:throw new Error(_0x307207(0x3e0)+_0x4a7045);}}};st=cs([ft(0x0,_0xcdde00(_0x3ac3e0)),ft(0x1,_0xcdde00(xe)),ft(0x2,_0x72f3ae)],st);var hs=Object[_0x12ec3c(0x1d4)],_s=(_0x495227,_0x363d87,_0x4830d7,_0x2d519a)=>{var _0xe67c1e=_0x12ec3c;for(var _0x96ee42=_0x2d519a>0x1?void 0x0:_0x2d519a?hs(_0x363d87,_0x4830d7):_0x363d87,_0x2beb18=_0x495227[_0xe67c1e(0x3e1)]-0x1,_0xdb089b;_0x2beb18>=0x0;_0x2beb18--)(_0xdb089b=_0x495227[_0x2beb18])&&(_0x96ee42=_0xdb089b(_0x96ee42)||_0x96ee42);return _0x96ee42;},zt=(_0x5a34cf,_0x4c095e)=>(_0x27753e,_0x2ee094)=>_0x4c095e(_0x27753e,_0x2ee094,_0x5a34cf);const ls=_0x12ec3c(0x182),us=_0x12ec3c(0x424);let Ct=class extends _0x3ba9b8{constructor(_0xb6ea6c,_0x488cc1){var _0xd50f49=_0x12ec3c;super(),this[_0xd50f49(0x248)]=_0xb6ea6c,this[_0xd50f49(0x2bf)]=_0x488cc1,this['_init']();}[_0x12ec3c(0x2ac)](){var _0x3a17c4=_0x12ec3c;this[_0x3a17c4(0x219)](this[_0x3a17c4(0x248)][_0x3a17c4(0x236)]['subscribe'](()=>{var _0x51886f=_0x3a17c4,_0xb008fb;const _0x355f30=this['_univerInstanceService'][_0x51886f(0x381)]();let _0x9eb7fc=(_0xb008fb=this[_0x51886f(0x2bf)]['getConfig'](ls))!=null?_0xb008fb:us;_0x355f30 instanceof _0x21c41e&&(_0x9eb7fc=_0x355f30[_0x51886f(0x1f6)]),document[_0x51886f(0x18f)]=_0x9eb7fc;}));}};Ct=_s([zt(0x0,_0x72f3ae),zt(0x1,_0x1a732b)],Ct);var ds=Object[_0x12ec3c(0x1d4)],fs=(_0x442795,_0x1a5110,_0x57cb75,_0x899756)=>{var _0x4ed9d2=_0x12ec3c;for(var _0x4f8061=_0x899756>0x1?void 0x0:_0x899756?ds(_0x1a5110,_0x57cb75):_0x1a5110,_0x3e2f2e=_0x442795[_0x4ed9d2(0x3e1)]-0x1,_0x2f9caf;_0x3e2f2e>=0x0;_0x3e2f2e--)(_0x2f9caf=_0x442795[_0x3e2f2e])&&(_0x4f8061=_0x2f9caf(_0x4f8061)||_0x4f8061);return _0x4f8061;},vt=(_0x5ca8df,_0x2a5d67)=>(_0x5899cf,_0x1a16af)=>_0x2a5d67(_0x5899cf,_0x1a16af,_0x5ca8df);let rt=class{constructor(_0x228acd,_0x257435,_0x126dd8){var _0x4c7a26=_0x12ec3c;this[_0x4c7a26(0x2bf)]=_0x228acd,this['_httpService']=_0x257435,this[_0x4c7a26(0x1dc)]=_0x126dd8,this[_0x4c7a26(0x2b6)]();}[_0x12ec3c(0x2b6)](){var _0xba35d=_0x12ec3c;this[_0xba35d(0x303)][_0xba35d(0x423)]({'priority':0x1,'interceptor':(_0x8661f9,_0x5e5863)=>_0x5e5863(_0x8661f9)[_0xba35d(0x275)](_0x499e2e(async _0x550000=>{var _0x2f538c=_0xba35d;const _0x1e8478=_0x550000;if(_0x1e8478['status']===0x191){if(typeof window>'u')throw new Error(_0x2f538c(0x323));if(window[_0x2f538c(0x3af)](this[_0x2f538c(0x1dc)]['t'](_0x2f538c(0x1e4)))){const _0x5de52d=window[_0x2f538c(0x1ac)](window[_0x2f538c(0x292)][_0x2f538c(0x2ca)]);window['location'][_0x2f538c(0x2ca)]=this['_getLoginPath']()+_0x2f538c(0x3cc)+_0x5de52d;}}return _0x1e8478;}))});}['_getLoginPath'](){var _0x899a36=_0x12ec3c,_0x1e2575,_0x4e1b27;const _0x2d8aca=this[_0x899a36(0x2bf)][_0x899a36(0x235)](Un),_0x20a644=this[_0x899a36(0x2bf)][_0x899a36(0x235)](q);return(_0x4e1b27=(_0x1e2575=_0x20a644==null?void 0x0:_0x20a644['loginUrlKey'])!=null?_0x1e2575:_0x2d8aca)!=null?_0x4e1b27:An;}};rt=fs([vt(0x0,_0x1a732b),vt(0x1,_0xcdde00(_0x4d96c8)),vt(0x2,_0xcdde00(_0x14dddf))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x516494,_0x21a5a0,_0x3b3ad5,_0x37b8de)=>{var _0x153998=_0x12ec3c;for(var _0x510a3c=_0x37b8de>0x1?void 0x0:_0x37b8de?vs(_0x21a5a0,_0x3b3ad5):_0x21a5a0,_0x477e16=_0x516494[_0x153998(0x3e1)]-0x1,_0x1e5bb8;_0x477e16>=0x0;_0x477e16--)(_0x1e5bb8=_0x516494[_0x477e16])&&(_0x510a3c=_0x1e5bb8(_0x510a3c)||_0x510a3c);return _0x510a3c;},Jt=(_0x267d3a,_0x3ceb07)=>(_0x3341f0,_0x5e08b9)=>_0x3ceb07(_0x3341f0,_0x5e08b9,_0x267d3a);const Ni=_0x12ec3c(0x3a0),ms='/universer-api/authz';let Rt=class extends _0x3ba9b8{constructor(_0x31727e,_0x505fb2){var _0x83b7db=_0x12ec3c;super(),this[_0x83b7db(0x33c)]=_0x31727e,this[_0x83b7db(0x2bf)]=_0x505fb2,this[_0x83b7db(0x35d)]();}[_0x12ec3c(0x35d)](){const _0x2030cd=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc9345f({'isMatch'(_0x2fe4e0){var _0x4bce0d=_0x7e46,_0x53d2f6;if(_0x2fe4e0['method']==='POST'&&((_0x53d2f6=_0x2fe4e0[_0x4bce0d(0x375)])!=null&&_0x53d2f6[_0x4bce0d(0x411)])){const {objectID:_0x1c1b1a,objectType:_0x13b58e}=_0x2fe4e0[_0x4bce0d(0x375)][_0x4bce0d(0x411)]||{};if(!_0x1c1b1a||_0x13b58e===void 0x0)return!0x1;const _0x3de2b7=_0x2030cd[_0x4bce0d(0x36c)]()+'/'+_0x13b58e+_0x4bce0d(0x3f0)+_0x1c1b1a+'/allowed';if(_0x2fe4e0[_0x4bce0d(0x3a9)]===_0x3de2b7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4827d8){var _0x157ba9=_0x7e46,_0x250be6;return(_0x250be6=_0x4827d8[_0x157ba9(0x375)])==null?void 0x0:_0x250be6[_0x157ba9(0x411)];},'mergeParamsToRequest'(_0x340a52,_0xde38dc){var _0x9172ea=_0x7e46;const _0x207763=_0x2030cd[_0x9172ea(0x36c)]()+'/-/object/-/batch_allowed',_0x4a396a=_0x340a52[_0x9172ea(0x3ab)]((_0xf8d5a3,_0x54cead)=>{var _0x10b9fc=_0x9172ea;const {unitID:_0x5c8ed4,objectID:_0x774496,objectType:_0x5c3c6e,actions:_0x2c1290}=_0x54cead;return _0xf8d5a3[_0x5c8ed4]||(_0xf8d5a3[_0x5c8ed4]={}),_0xf8d5a3[_0x5c8ed4][_0x774496]||(_0xf8d5a3[_0x5c8ed4][_0x774496]={'objectID':_0x774496,'objectType':_0x5c3c6e,'actions':[]}),_0xf8d5a3[_0x5c8ed4][_0x774496][_0x10b9fc(0x3d8)][_0x10b9fc(0x404)](..._0x2c1290),_0xf8d5a3;},{}),_0x31dc34=[];for(const _0x3373f0 in _0x4a396a)for(const _0xfcdb70 in _0x4a396a[_0x3373f0]){const {actions:_0x1d57b4,objectType:_0x3244ea}=_0x4a396a[_0x3373f0][_0xfcdb70],_0xbdf8cc=[...new Set(_0x1d57b4)];_0x31dc34['push']({'unitID':_0x3373f0,'objectID':_0xfcdb70,'objectType':_0x3244ea,'actions':_0xbdf8cc});}return new _0x4f5cf9('POST',_0x207763,{'headers':_0xde38dc[_0x9172ea(0x344)],'withCredentials':_0xde38dc[_0x9172ea(0x1c1)],'responseType':_0xde38dc[_0x9172ea(0x242)],'body':{'requests':_0x31dc34}});}},{'distributeResult'(_0x2ee15d,_0x3e877e){var _0x229e15=_0x7e46;const {objectActions:_0x155f86}=_0x2ee15d;return _0x3e877e[_0x229e15(0x413)](_0xd2ae15=>{var _0x477a5d=_0x229e15;const {unitID:_0x4600ce,objectID:_0x5bc719,actions:_0x498c7f}=_0xd2ae15,_0x4db901=_0x155f86[_0x477a5d(0x314)](_0x24705a=>_0x24705a['unitID']===_0x4600ce&&_0x24705a['objectID']===_0x5bc719),_0x2acd61=_0x498c7f['map'](_0x372469=>_0x4db901==null?void 0x0:_0x4db901[_0x477a5d(0x3d8)][_0x477a5d(0x314)](_0x37a852=>_0x37a852['action']===_0x372469))['filter'](_0x302407=>!!_0x302407);return{'config':_0xd2ae15,'result':{'actions':_0x2acd61,'error':_0x2ee15d['error']}};});}})}));}[_0x12ec3c(0x36c)](){var _0x20ddea=_0x12ec3c,_0x4bf81c,_0x4926de;const _0x40072a=this[_0x20ddea(0x2bf)][_0x20ddea(0x235)](Ni),_0x30bbfe=this[_0x20ddea(0x2bf)]['getConfig'](q);return(_0x4926de=(_0x4bf81c=_0x30bbfe==null?void 0x0:_0x30bbfe[_0x20ddea(0x306)])!=null?_0x4bf81c:_0x40072a)!=null?_0x4926de:ms;}async['create'](_0x5b1da6){var _0xba60c6=_0x12ec3c;const _0x1aa09f=this[_0xba60c6(0x36c)]()+'/'+_0x5b1da6[_0xba60c6(0x3b3)]+_0xba60c6(0x24b);return(await this[_0xba60c6(0x33c)][_0xba60c6(0x3fd)](_0x1aa09f,{'body':_0x5b1da6}))['body'][_0xba60c6(0x19e)]||'';}async[_0x12ec3c(0x1a4)](_0x21c705){var _0x50783c=_0x12ec3c;const _0x347a95=this['_getAPIPrefixPath']()+_0x50783c(0x1cc);return(await this['_HTTPService'][_0x50783c(0x3fd)](_0x347a95,{'body':_0x21c705}))[_0x50783c(0x411)]['objects'];}async[_0x12ec3c(0x2c1)](_0x1ec1be){var _0x54c926=_0x12ec3c,_0x1a5674,_0x38261e;const _0x451d8c=this[_0x54c926(0x36c)]()+'/'+_0x1ec1be[_0x54c926(0x3b3)]+_0x54c926(0x3f0)+_0x1ec1be['objectID'],_0x2c0aa9=await this['_HTTPService']['put'](_0x451d8c,{'body':_0x1ec1be});if(((_0x38261e=(_0x1a5674=_0x2c0aa9==null?void 0x0:_0x2c0aa9[_0x54c926(0x411)])==null?void 0x0:_0x1a5674[_0x54c926(0x1e8)])==null?void 0x0:_0x38261e[_0x54c926(0x268)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x12ec3c(0x37a)](_0x1aa5d6){var _0x30d4b1=_0x12ec3c;const _0x1ab626=this['_getAPIPrefixPath']()+'/'+_0x1aa5d6[_0x30d4b1(0x3b3)]+'/object/'+_0x1aa5d6['objectID']+_0x30d4b1(0x208);return(await this[_0x30d4b1(0x33c)][_0x30d4b1(0x3fd)](_0x1ab626,{'body':_0x1aa5d6}))['body'][_0x30d4b1(0x3d8)];}async['batchAllowed'](_0x2f3c15){var _0x522970=_0x12ec3c;const _0x113539=this[_0x522970(0x36c)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x522970(0x3fd)](_0x113539,{'body':{'requests':_0x2f3c15}}))[_0x522970(0x411)][_0x522970(0x27f)];}async[_0x12ec3c(0x432)](_0x102fbe){var _0xd00b84=_0x12ec3c;const _0x4a7c8e=this[_0xd00b84(0x36c)]()+'/'+_0x102fbe['objectType']+_0xd00b84(0x35a),_0x3a3420=await this['_HTTPService'][_0xd00b84(0x3fd)](_0x4a7c8e,{'body':_0x102fbe});return{'roles':_0x3a3420[_0xd00b84(0x411)]['roles'],'actions':_0x3a3420['body'][_0xd00b84(0x3d8)]};}async[_0x12ec3c(0x3d9)](_0x284f47){var _0x5a68ff=_0x12ec3c;const _0x1f17ef=this[_0x5a68ff(0x36c)]()+'/collaborator';await this[_0x5a68ff(0x33c)][_0x5a68ff(0x194)](_0x1f17ef,{'params':{'collaboratorID':_0x284f47['collaboratorID'],'objectID':_0x284f47[_0x5a68ff(0x19e)],'unitID':_0x284f47[_0x5a68ff(0x214)]}});}async[_0x12ec3c(0x3a5)](_0x187c6a){var _0x5ac296=_0x12ec3c;const _0x3461d2=this[_0x5ac296(0x36c)]()+'/collaborator';await this[_0x5ac296(0x33c)][_0x5ac296(0x185)](_0x3461d2,{'body':_0x187c6a});}async[_0x12ec3c(0x3b9)](_0x3a7336){var _0x52ea04=_0x12ec3c;const _0x8af361=this[_0x52ea04(0x36c)]()+_0x52ea04(0x245);await this['_HTTPService'][_0x52ea04(0x3fd)](_0x8af361,{'body':_0x3a7336});}async[_0x12ec3c(0x1ca)](_0x109209){var _0x39789=_0x12ec3c;const _0x2b0d07=this[_0x39789(0x36c)]()+_0x39789(0x245);return(await this['_HTTPService'][_0x39789(0x2e0)](_0x2b0d07,{'params':{'objectID':_0x109209[_0x39789(0x19e)],'unitID':_0x109209[_0x39789(0x214)]}}))['body'][_0x39789(0x1df)];}async['putCollaborators'](_0xee1f02){var _0x537c57=_0x12ec3c;const _0x2a1a66=this[_0x537c57(0x36c)]()+_0x537c57(0x245);await this[_0x537c57(0x33c)][_0x537c57(0x3bd)](_0x2a1a66,{'body':_0xee1f02});}};Rt=ps([Jt(0x0,_0xcdde00(_0x4d96c8)),Jt(0x1,_0xcdde00(_0x1a732b))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3446d1){var _0x34f19e=_0x12ec3c;return _0x3446d1&&_0x3446d1[_0x34f19e(0x42f)]&&Object[_0x34f19e(0x291)]['hasOwnProperty'][_0x34f19e(0x288)](_0x3446d1,'default')?_0x3446d1[_0x34f19e(0x16c)]:_0x3446d1;}function _0x551a(){var _0x4c1114=['words','infoRsp','_userManagerService','1310HUcLYG','mutations','GLOBAL_ROOMS_CNT_EXCEEDS','_isPermissionRej','enableAuthServer','stringify','YUUMI_UNABLE_LOAD_URL','getTime','iterations','repeat','_redoStacks','SOCKET_FAILED','localCacheService','_transformStateCache','uniscriptRunEvent','\x0aCurrent:\x20','baseRev','FileId','unit-cache-','_onConnectionFailed','ENSURE_SNAPSHOT_EXECUTION','_HTTPService','_process','[CollaborationUndoRedoService]','_onUserLeave','_startTelemetryCollaborationNewChangeset','parse','_replaceFileID','_initCloseConn','headers','_transitionLocked','_waitCount','_syncEditingCollabCursor','reverse','_onOffline','LOGIN_FAILED','&source=','LIVESHARE_TERMINATE','_iv','Encryptor','getUnitOnRev','_getSignURL','userID','awaiting','[CollaborationSession]','loadDoc','_collaborationUIEventService','_createInitialState','LICENSE_IMPORT_SIZE_EXCEEDED','_resendWithTimeout','concat','/role','_queuedRemoteChangesets','routeKey','_initMergeInterceptor','params','INGEST','event$','_doFinalize','__creator','getActiveSheet','univer-pro.collaboration-client.network-condition.service','_scheduleCollaborationTimeoutTimer','liveShareNewHost','values','40041780LnouVs','_event$','floor','_reverseMap','_getAPIPrefixPath','_entityInit$','_clearRedo','getTypeOfUnitDisposed$','copyFileMeta','_throwTelemetryCollaborationNewChangeset','POST','_doProcessBlock','UNIVER_DOC','requestParams','_members','SNAPSHOT_INVALID_SNAPSHOT','INVALID_INVITE_CODE','JOIN_ROOM_NOT_EXISTS','allowed','MD5','UNRECOGNIZED','SNAPSHOT_SERVER_URL_KEY','_changesetReqId','_memberService','_scheduleCompleteTimestamp','getFocusedUnit','_clearRetryConnectingTimer','result','csAckEvent','hasher','_roomMembers','ERROR_EXCEED_SIZE','LIVESHARE_FETCH_OPERATIONS','TOO_MANY_REQUESTS','getMemberID','_acknowledgedAwaitingChangeset','_transformIMECache','generateRandomId','[PendingState]:\x20received\x20rejection.','ONLINE','[CollaborationState]:\x20apply\x20error!','HmacMD5','waitForRoom$','1925iDShJf','apply','_transformSelections','changesets','UNIVER_SHEET','__Key__','Hasher','offline','APPLY_NON_SEQUENTIAL_REVISION','UserProfileImg','transformSelections','ceil','SNAPSHOT_URL_KEY','AUTHZ_URL_KEY','_onRecvEvent','SYNCED','AWAITING','_ENC_XFORM_MODE','updateCollaborator','kdf','FETCH_MISSING','_showConflictNotification','url','x-univer-host','reduce','_resendTimeout','_checkMissing','_undoRedoService','confirm','_tryReconnect','OPTIONAL','awaitingChangeset','objectType','unitId\x20is\x20not\x20found','EMAIL_HAS_BEEN_BOUND','from','isArray','fetchMiss','createCollaborator','[OfflineState]:\x20received\x20rejection.','LICENSE_DISTRO_REJECTED','PY_RUNTIME_SCRIPT_ERROR','put','_keySchedule','memberID','SerializableCipher','_submitChangeset','members','findIndex','target','appendMutation','AWAITING_WITH_PENDING','bind','/universer-api/snapshot/','CLOSE_ROOM','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_sendHeartbeat','?url=','state$','_commentUpdate$','_commentService','YUUMI_RATE_OVER_LIMIT','LIVESHARE_OPERATION','_transformService','OTHER_CLIENTS_EDITING','random','_awaitingChangeset','_collaborationTimeoutTimer','Pkcs7','actions','deleteCollaborator','/universer-api/stream/file/upload','SOCKET_FAILED_RETRY','unknown','saveSnapshot','_toggleOffline','$super','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','length','_decreaseWaiting','onRemoteRej','reject','asObservable','JOIN_ROOM_FAILED','reqId','_pendingMutations','slice','_getAPIPrefix','forEach','clone','key','CHANGESET_SHOULD_RETRY','_sessionStatus$','/object/','onRemoteChangeset','/universer-api/authz','rng','10360szPGCo','PasswordBasedCipher','_getRedoStack','getUnitId','charAt','RETRY_CONNECTING_MAX_COUNT','_unitID','BASE64','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','post','MSG_FOR_ERROR','_stopTelemetryCollaborationNewChangeset','saveImage','_sheetTransformSelectionsService','csShouldRetryEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','push','_socketService','buffer','_hasher','equals','CHANGESET_REJ','getValue','c2Prime','_transformUndoredo','getCurrentSelections','online$','_changesetSessionId','UNKNOWN_CODE','body','getUnit','map','getRandomValues','updatePermissionPoint','_state$','image/jpeg','onlyLocal','byteLength','_initUnitPermissionChange','_telemetryService','_rescheduleHeartbeat','unitId','dispose$','getSheetBlock','_timeoutTimer','[SyncedState]:\x20received\x20rejection.','_map','registerHTTPInterceptor','Univer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','loadOfflineData','abs','_keyPriorReset','/new_changes','roomInfos','COLLAB_WEB_SOCKET_URL','splice','transformUndoRedo','__esModule','USERS_LEAVE','&to=','listRoles','toString','telemetry\x20info\x20is\x20not\x20initialized','_sender','finalize','_collabSessionService','ERROR_IMAGE','SUBMIT_CHANGESET','EvpKDF','_onConnectionOpen','UNDEFINED','PERMISSION_DENIED','Base','_status$','signUrlServerUrl','_clearTimeoutTimer','shouldCloseConn','pluginName','&assign=','LIVESHARE_REQUEST_HOST','add','_listenToNetworkCondition','indexOf','transformMutationsWithChangeset','_socket$','m2Prime','join','getRoom','message$','_instanceService','createSocket','_createSocket','_socketMessageSubscription','_prevBlock','originalMeta','_onCombEvent','_candidateSocket','_onRemoteChangeset','cfg','sid','NEW_CHANGESETS','compute','_onLocalMutation','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_URL_COL_OUT_OF_RANGE','blockSize','_revisionService','_networkConditionService','UNIVER_PROJECT','_getSendChangesetTimeout','_emitMembers','[PendingState]:\x20received\x20acknowledgement.','_imageSourceCache','_createHandler','/universer-api/comb','default','_permissionService','_updateState','239XwZtGJ','_loadDoc','_schedule','setWaitCount','readyForCollab','readInt32LE','disableLocalCache','/universer-api/user/session-ticket','onMissingChangesets','ivSize','Hex','interceptor','onTransformIME','/universer-api/oidc/authpage','synced','padding','decryptBlock','onCommandExecuted','randomBytes','DEFAULT_FILE_NAME','socket\x20open.','_fetchMissChangesets','patch','image/bmp','/unit/','complete','_updateStatus','csRejEvent','_clearLocalCache','onSyncEditingCollabCursor','_doCreateSocket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','title','processBlock','/universer-api/uniscript','reconnect','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','delete','Cipher','createDecryptor','reset','duration','conflict','transformStack\x20failed!','leaveEvent','_clearHeartbeatTimer','CipherParams','objectID','textRanges','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','create','Could\x20not\x20dynamically\x20require\x20\x22','getAllMembers','list','\x0aAfter:\x20','onMissedChangesetFetched','LOGIN_URL_KEY','createInstance','getSheetId','cmd','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','encodeURIComponent','updateMember','BlockCipherMode','SNAPSHOT_HAS_BEEN_REMOVED','ciphertext','getInterceptPoints','_xformMode','mode','send','NOT_FOUND','catch','/resources','HttpImport','updatePermissionObjEvent','_unitInfo$','editingUnit','Undefined','commentUpdateEvent','_DEC_XFORM_MODE','requireSession','open$','withCredentials','LICENSE_MAX_UNITS_EXCEEDED','setShowComponents','WordArray','_unlockTransition','getCollabEntity','entityInit$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','decrypt','listCollaborators','onTransformSelections','/-/object/list','image/png','_config','rev','_injector','_socket','createEncryptor','getResourcesRequest','getOwnPropertyDescriptor','ALREADY_EXISTS','_collaborationSessionService','PERMISSION_REJ','_getDownloadEndpointURL','exports','[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.','onStarting','localeService','close','unsubscribe','collaborators','NoPadding','_onRemoteRejected','6coQcVS','_type','auth.needGotoLoginAlert','onCommentUpdate','includes','HELLO','error','execute','_sendHeartbeatTimer','[CollaborationSessionService]:\x20socket\x20error','executeCommand','_waitForHeartbeatResponse','incrementRevOfUnit','onTransformRemoteChangesetByIMECache','randomUUID','UNISCRIPT_RUN','_telemetryInfo','_minBufferSize','UNIVER_SLIDE','IDLE','name','collabSubmitChangesetUrl','_parse','_localCacheService','next','revision','getCollabEntity$','sessionStatus$','_lockTransition','NO_OTHER_CLIENTS_EDITING','UnitEmbedded','[CollaborationSessionService]','dispose','fromCharCode','JOINING','_iKey','_retryCount','range','/allowed','subscribe','string','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','joinEvent','_nDataBytes','_members$','UNAUTHENTICATED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitSnapshot','_updateLocalCache','onRemoteRetry','unitID','getCurrentUser','_sendingTimer','_incrementRevisionNumber','_logService','disposeWithMe','MUTATION','BufferedBlockAlgorithm','encode','Decryptor','session.room-cnt-exceeds','collaboration-client.local-cache-service','APPLY_DUPLICATED','connection\x20error','OTHER_CLIENT_EDITING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','INVITE_CODE_HAS_BEEN_UES','7880rwEUgo','_shouldReportTelemetry','_handlerCallback','stopTime','UPDATE_CURSOR','keySize','CHANGESET_ACK','_clearUndo','clamp','_tryEnsureSocket','_roomCreated$','min','SHA1','session.join-failed','_mode','snapshot','getConfig','focused$','type','crypto','_singleActiveUnitService','mixIn','JOIN_ROOM_FULL','capture','loadSheet','fromCollab','LEAVE','socketService','session.room-full','responseType','substr','eventID','/collaborator','Base64','then','_univerInstanceService','hostname','_doReset','/object','sigBytes','YUUMI_SUBSCRIPTION_NOT_FOUND','clear','close$','saveChangeset','onTransformState','resend','HEARTBEAT','formatter','_getCurrentRevision','removeMember','_transformRemoteChangesetByIMECache','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BlockCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_append','_initRequestHeader','data','_applyRemoteChangeset','APPLY_REJECT','MOBILE_HAS_BEEN_BOUND','max','closeSession','session','_hash','deepClone','encryptBlock','code','_localeService','_doCryptBlock','initWorkbookPermissionChange','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','6774858RhhMor','INVITE_CODE_ALREADY_BOUND','fetchThroughInterceptors','sessionStatus','_createHelper','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_resendTimer','HttpExport','pipe','COMPLETION_FINISHED','_data','HmacSHA1','downloadEndpointUrl','state','setCurrentUser','msCrypto','getUnitType','fetching\x20missing\x20changesets\x20from\x20','objectActions','PERSON','onLocalMutation','getUnitStatus$','CHANGESET_REVISION_CONFILICT','_eventService','FAIL','_collaborationPaused','UNKNOWN_CMD','call','_getUndoStack','src','_createHmacHelper','origin','_exhaustRemoteChangesetQueue','_compressMutationService','now','CBC','prototype','location','CONNECTOR_DATA_TOO_LARGE','pad','APPLY_PERMISSION_DENIED','_createInitialStateImpl','_executeRemoteChangeset','_entities','_cipher','toggleOnline','_joinRoom','_transformRemoteChangesetByStateCache','c1Prime','564204QMbAJh','FETCH_MISS','permissionRejEvent','OFFLINE','getSnapshotAPIPath','algo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_remoteChangesetQueue','2954viYvBE','21bXcQgn','_startCollaboration','PSEUDO_FETCH_MISSING_RESULT','debug','univer-pro.collaboration-client.single-active-unit-service','_init','_getCtorByUniverType','1348510JEMRDP','StreamCipher','Latin1','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CONFLICT','function','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','init','USERS_ENTER','onStateChange','_onMessage','enc','_onRemoteACK','_onJoinRoomEvent','[DataLoaderService]','onRemoteAck','_configService','_key','update','subject','_state','_socketReady','byteOffset','size','INTERNAL_ERROR','filter','UNIVER_UNKNOWN','href','getMember','_onConflict','_substituteRedoStack','Utf8','HEARTBEAT_TIMEOUT','status$','change$','_handler','PENDING','socket$','transformChangesets','_snapshotServerService','_nRounds','fetch_missing','awaiting_with_pending','_clearScheduledTask','encrypt','{fileID}','members$','/block/','COMPRESS_MUTATION_SEND','get','commentUpdate$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','extend','_commandService','_transformStack','salt','_loadSheet','_getUploadFileURL','_onFetchMissResult','emitEvent','_disableEditing','has','defineProperty','HEARTBEAT_INTERVAL','_undoStacks','file','People','updateCursorEvent','refreshPermission','RECV','_substituteUndoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','set','AES','_clearCollaborationTimeoutTimer','JOIN','toggleOffline','getCurrentRevOfUnit','INVITE_CODE_REQUIRED','WECHAT_HAS_BEEN_BOUND','\x20to\x20','onSendChangeset','APPLY_REVISION_CONFILICT','session.room-permission-denied','_httpService','_initDependencies','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','authzUrl','\x20in\x20_schedule.','JOIN_ROOM_PERMISSION_DENIED','HMAC','selections','fetchMissingChangesets','avatar','OpenSSL','SUBMIT_CHANGESET_TIMEOUT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_retryConnectingTimer','collaboration-client.config','onTransformRemoteChangesetByStateCache','lib','find','_registerDependencies','format','LIVESHARE_NEW_HOST','error$','status','getTypeOfUnitAdded$','/rev/','_snapshotService','[FetchMissState]','LICENSE_EXPORT_SIZE_EXCEEDED','setConfig','isPermissionRej','_sessions','COMPRESS_MUTATION_APPLY','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.'];_0x551a=function(){return _0x4c1114;};return _0x551a();}var Ve={'exports':{}};function gs(_0x3011e0){var _0x2e214b=_0x12ec3c;throw new Error(_0x2e214b(0x1a2)+_0x3011e0+_0x2e214b(0x2a4));}var Ge={'exports':{}},Ss=Ge[_0x12ec3c(0x1d9)],Xt;function ie(){var _0x2c1cd2=_0x12ec3c;return Xt||(Xt=0x1,function(_0x19b3f6,_0x2019f1){(function(_0x1e5845,_0x5ac89c){var _0xf531ec=_0x7e46;_0x19b3f6[_0xf531ec(0x1d9)]=_0x5ac89c();}(Ss,function(){var _0x4431df=_0x4431df||function(_0x21a977,_0x4144f4){var _0x29550c=_0x7e46,_0x2719e5;if(typeof window<'u'&&window[_0x29550c(0x238)]&&(_0x2719e5=window['crypto']),typeof self<'u'&&self[_0x29550c(0x238)]&&(_0x2719e5=self[_0x29550c(0x238)]),typeof globalThis<'u'&&globalThis[_0x29550c(0x238)]&&(_0x2719e5=globalThis[_0x29550c(0x238)]),!_0x2719e5&&typeof window<'u'&&window[_0x29550c(0x27c)]&&(_0x2719e5=window[_0x29550c(0x27c)]),!_0x2719e5&&typeof pt<'u'&&pt[_0x29550c(0x238)]&&(_0x2719e5=pt[_0x29550c(0x238)]),!_0x2719e5&&typeof gs=='function')try{_0x2719e5=require(_0x29550c(0x238));}catch{}var _0x38055f=function(){var _0x3a1f40=_0x29550c;if(_0x2719e5){if(typeof _0x2719e5['getRandomValues']==_0x3a1f40(0x2b4))try{return _0x2719e5[_0x3a1f40(0x414)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2719e5[_0x3a1f40(0x181)]==_0x3a1f40(0x2b4))try{return _0x2719e5[_0x3a1f40(0x181)](0x4)[_0x3a1f40(0x174)]();}catch{}}throw new Error(_0x3a1f40(0x2b2));},_0xcc629f=Object['create']||(function(){function _0x4fcd0f(){}return function(_0x7e55fe){var _0x36c8f9=_0x7e46,_0x1b1984;return _0x4fcd0f[_0x36c8f9(0x291)]=_0x7e55fe,_0x1b1984=new _0x4fcd0f(),_0x4fcd0f[_0x36c8f9(0x291)]=null,_0x1b1984;};}()),_0x39d42e={},_0x40eff3=_0x39d42e[_0x29550c(0x313)]={},_0x5167f9=_0x40eff3[_0x29550c(0x43e)]=(function(){return{'extend':function(_0x28fe15){var _0x460b21=_0x7e46,_0x237292=_0xcc629f(this);return _0x28fe15&&_0x237292['mixIn'](_0x28fe15),(!_0x237292['hasOwnProperty']('init')||this['init']===_0x237292[_0x460b21(0x2b6)])&&(_0x237292[_0x460b21(0x2b6)]=function(){var _0x446791=_0x460b21;_0x237292[_0x446791(0x3df)][_0x446791(0x2b6)][_0x446791(0x394)](this,arguments);}),_0x237292[_0x460b21(0x2b6)][_0x460b21(0x291)]=_0x237292,_0x237292[_0x460b21(0x3df)]=this,_0x237292;},'create':function(){var _0x46fb6e=_0x7e46,_0x10ad68=this[_0x46fb6e(0x2e3)]();return _0x10ad68[_0x46fb6e(0x2b6)][_0x46fb6e(0x394)](_0x10ad68,arguments),_0x10ad68;},'init':function(){},'mixIn':function(_0xa7d58f){var _0x27c4e0=_0x7e46;for(var _0x45899d in _0xa7d58f)_0xa7d58f['hasOwnProperty'](_0x45899d)&&(this[_0x45899d]=_0xa7d58f[_0x45899d]);_0xa7d58f['hasOwnProperty'](_0x27c4e0(0x433))&&(this['toString']=_0xa7d58f[_0x27c4e0(0x433)]);},'clone':function(){var _0x29b8d2=_0x7e46;return this['init']['prototype'][_0x29b8d2(0x2e3)](this);}};}()),_0x48936e=_0x40eff3[_0x29550c(0x1c4)]=_0x5167f9[_0x29550c(0x2e3)]({'init':function(_0x3e2a6f,_0x2f2ab0){var _0x4e406e=_0x29550c;_0x3e2a6f=this[_0x4e406e(0x324)]=_0x3e2a6f||[],_0x2f2ab0!=_0x4144f4?this[_0x4e406e(0x24c)]=_0x2f2ab0:this[_0x4e406e(0x24c)]=_0x3e2a6f['length']*0x4;},'toString':function(_0x283d6f){return(_0x283d6f||_0x4c5ba1)['stringify'](this);},'concat':function(_0x4850d7){var _0x36c46d=_0x29550c,_0x5f28e5=this[_0x36c46d(0x324)],_0x3990df=_0x4850d7[_0x36c46d(0x324)],_0x4b0b79=this['sigBytes'],_0x579b85=_0x4850d7[_0x36c46d(0x24c)];if(this[_0x36c46d(0x22d)](),_0x4b0b79%0x4)for(var _0x436b88=0x0;_0x436b88<_0x579b85;_0x436b88++){var _0x4c7fa7=_0x3990df[_0x436b88>>>0x2]>>>0x18-_0x436b88%0x4*0x8&0xff;_0x5f28e5[_0x4b0b79+_0x436b88>>>0x2]|=_0x4c7fa7<<0x18-(_0x4b0b79+_0x436b88)%0x4*0x8;}else{for(var _0x4c602d=0x0;_0x4c602d<_0x579b85;_0x4c602d+=0x4)_0x5f28e5[_0x4b0b79+_0x4c602d>>>0x2]=_0x3990df[_0x4c602d>>>0x2];}return this['sigBytes']+=_0x579b85,this;},'clamp':function(){var _0x52507e=_0x29550c,_0x587371=this[_0x52507e(0x324)],_0x181c8d=this[_0x52507e(0x24c)];_0x587371[_0x181c8d>>>0x2]&=0xffffffff<<0x20-_0x181c8d%0x4*0x8,_0x587371[_0x52507e(0x3e1)]=_0x21a977[_0x52507e(0x39e)](_0x181c8d/0x4);},'clone':function(){var _0x53c8f6=_0x29550c,_0x44a159=_0x5167f9['clone']['call'](this);return _0x44a159['words']=this[_0x53c8f6(0x324)][_0x53c8f6(0x3e9)](0x0),_0x44a159;},'random':function(_0x19ca50){var _0x2dcfab=_0x29550c;for(var _0xadfc1d=[],_0x4ba2ef=0x0;_0x4ba2ef<_0x19ca50;_0x4ba2ef+=0x4)_0xadfc1d[_0x2dcfab(0x404)](_0x38055f());return new _0x48936e['init'](_0xadfc1d,_0x19ca50);}}),_0x316233=_0x39d42e['enc']={},_0x4c5ba1=_0x316233[_0x29550c(0x179)]={'stringify':function(_0x2e88bf){var _0x3014ba=_0x29550c;for(var _0x4f9de1=_0x2e88bf[_0x3014ba(0x324)],_0x2eb679=_0x2e88bf[_0x3014ba(0x24c)],_0x2cb654=[],_0x54a16b=0x0;_0x54a16b<_0x2eb679;_0x54a16b++){var _0x46b882=_0x4f9de1[_0x54a16b>>>0x2]>>>0x18-_0x54a16b%0x4*0x8&0xff;_0x2cb654[_0x3014ba(0x404)]((_0x46b882>>>0x4)[_0x3014ba(0x433)](0x10)),_0x2cb654[_0x3014ba(0x404)]((_0x46b882&0xf)[_0x3014ba(0x433)](0x10));}return _0x2cb654[_0x3014ba(0x44c)]('');},'parse':function(_0x141af9){var _0x1576d7=_0x29550c;for(var _0x45b924=_0x141af9[_0x1576d7(0x3e1)],_0x23caf1=[],_0x320501=0x0;_0x320501<_0x45b924;_0x320501+=0x2)_0x23caf1[_0x320501>>>0x3]|=parseInt(_0x141af9[_0x1576d7(0x243)](_0x320501,0x2),0x10)<<0x18-_0x320501%0x8*0x4;return new _0x48936e['init'](_0x23caf1,_0x45b924/0x2);}},_0x32f642=_0x316233[_0x29550c(0x2b0)]={'stringify':function(_0x3c74fb){var _0x2ef03d=_0x29550c;for(var _0x1dad6b=_0x3c74fb[_0x2ef03d(0x324)],_0x5742c6=_0x3c74fb[_0x2ef03d(0x24c)],_0x2d26d7=[],_0x47dcb8=0x0;_0x47dcb8<_0x5742c6;_0x47dcb8++){var _0x348d0f=_0x1dad6b[_0x47dcb8>>>0x2]>>>0x18-_0x47dcb8%0x4*0x8&0xff;_0x2d26d7[_0x2ef03d(0x404)](String[_0x2ef03d(0x203)](_0x348d0f));}return _0x2d26d7[_0x2ef03d(0x44c)]('');},'parse':function(_0x7fec0f){var _0x16e8f7=_0x29550c;for(var _0x406b33=_0x7fec0f[_0x16e8f7(0x3e1)],_0x552fc2=[],_0x3d343b=0x0;_0x3d343b<_0x406b33;_0x3d343b++)_0x552fc2[_0x3d343b>>>0x2]|=(_0x7fec0f['charCodeAt'](_0x3d343b)&0xff)<<0x18-_0x3d343b%0x4*0x8;return new _0x48936e[(_0x16e8f7(0x2b6))](_0x552fc2,_0x406b33);}},_0x5789a4=_0x316233[_0x29550c(0x2ce)]={'stringify':function(_0x54347f){var _0xf34dc5=_0x29550c;try{return decodeURIComponent(escape(_0x32f642[_0xf34dc5(0x32c)](_0x54347f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4aa555){return _0x32f642['parse'](unescape(encodeURIComponent(_0x4aa555)));}},_0x1103fd=_0x40eff3[_0x29550c(0x21b)]=_0x5167f9[_0x29550c(0x2e3)]({'reset':function(){var _0x284161=_0x29550c;this[_0x284161(0x277)]=new _0x48936e[(_0x284161(0x2b6))](),this['_nDataBytes']=0x0;},'_append':function(_0x468765){var _0x345521=_0x29550c;typeof _0x468765==_0x345521(0x20a)&&(_0x468765=_0x5789a4[_0x345521(0x341)](_0x468765)),this['_data'][_0x345521(0x359)](_0x468765),this[_0x345521(0x20d)]+=_0x468765['sigBytes'];},'_process':function(_0x3d6c58){var _0x50fc1b=_0x29550c,_0x58b6d3,_0x3faf1d=this[_0x50fc1b(0x277)],_0x494c6b=_0x3faf1d['words'],_0x7d2f92=_0x3faf1d['sigBytes'],_0x54aa01=this['blockSize'],_0x5e8fb3=_0x54aa01*0x4,_0x254e17=_0x7d2f92/_0x5e8fb3;_0x3d6c58?_0x254e17=_0x21a977[_0x50fc1b(0x39e)](_0x254e17):_0x254e17=_0x21a977[_0x50fc1b(0x262)]((_0x254e17|0x0)-this['_minBufferSize'],0x0);var _0x221a82=_0x254e17*_0x54aa01,_0x3d3097=_0x21a977[_0x50fc1b(0x230)](_0x221a82*0x4,_0x7d2f92);if(_0x221a82){for(var _0x23ffcb=0x0;_0x23ffcb<_0x221a82;_0x23ffcb+=_0x54aa01)this[_0x50fc1b(0x373)](_0x494c6b,_0x23ffcb);_0x58b6d3=_0x494c6b[_0x50fc1b(0x42d)](0x0,_0x221a82),_0x3faf1d[_0x50fc1b(0x24c)]-=_0x3d3097;}return new _0x48936e['init'](_0x58b6d3,_0x3d3097);},'clone':function(){var _0x504a17=_0x29550c,_0x5da9ac=_0x5167f9['clone'][_0x504a17(0x288)](this);return _0x5da9ac[_0x504a17(0x277)]=this[_0x504a17(0x277)]['clone'](),_0x5da9ac;},'_minBufferSize':0x0});_0x40eff3['Hasher']=_0x1103fd['extend']({'cfg':_0x5167f9[_0x29550c(0x2e3)](),'init':function(_0x29ea2c){var _0x556877=_0x29550c;this[_0x556877(0x15b)]=this[_0x556877(0x15b)][_0x556877(0x2e3)](_0x29ea2c),this[_0x556877(0x197)]();},'reset':function(){var _0x52a8e5=_0x29550c;_0x1103fd[_0x52a8e5(0x197)]['call'](this),this[_0x52a8e5(0x24a)]();},'update':function(_0x243b37){var _0x10a0e5=_0x29550c;return this[_0x10a0e5(0x25c)](_0x243b37),this['_process'](),this;},'finalize':function(_0x16370b){var _0x4b2cbb=_0x29550c;_0x16370b&&this[_0x4b2cbb(0x25c)](_0x16370b);var _0x24f66c=this['_doFinalize']();return _0x24f66c;},'blockSize':0x10,'_createHelper':function(_0xabf51f){return function(_0x13fe97,_0x92412e){var _0x534ed6=_0x7e46;return new _0xabf51f[(_0x534ed6(0x2b6))](_0x92412e)[_0x534ed6(0x436)](_0x13fe97);};},'_createHmacHelper':function(_0x55477e){return function(_0x5a0147,_0x506827){return new _0x3f60e8['HMAC']['init'](_0x55477e,_0x506827)['finalize'](_0x5a0147);};}});var _0x3f60e8=_0x39d42e['algo']={};return _0x39d42e;}(Math);return _0x4431df;}));}(Ge)),Ge[_0x2c1cd2(0x1d9)];}var We={'exports':{}},Es=We[_0x12ec3c(0x1d9)],Zt;function Di(){var _0x1ce2df=_0x12ec3c;return Zt||(Zt=0x1,function(_0x100d43,_0x387a6c){(function(_0x53fe5f,_0x2cc003){var _0x263957=_0x7e46;_0x100d43[_0x263957(0x1d9)]=_0x2cc003(ie());}(Es,function(_0x213283){var _0x460cd6=_0x7e46;return(function(){var _0x159a1d=_0x7e46,_0x3a82bf=_0x213283,_0x4e6e9b=_0x3a82bf[_0x159a1d(0x313)],_0x44fe2f=_0x4e6e9b['WordArray'],_0x5211cb=_0x3a82bf[_0x159a1d(0x2ba)];_0x5211cb['Base64']={'stringify':function(_0x2b0fec){var _0x3e45d0=_0x159a1d,_0x32ec8c=_0x2b0fec[_0x3e45d0(0x324)],_0x244d3c=_0x2b0fec[_0x3e45d0(0x24c)],_0x382a5c=this[_0x3e45d0(0x422)];_0x2b0fec[_0x3e45d0(0x22d)]();for(var _0x4e579a=[],_0x59e2cd=0x0;_0x59e2cd<_0x244d3c;_0x59e2cd+=0x3)for(var _0x40e079=_0x32ec8c[_0x59e2cd>>>0x2]>>>0x18-_0x59e2cd%0x4*0x8&0xff,_0x2629a4=_0x32ec8c[_0x59e2cd+0x1>>>0x2]>>>0x18-(_0x59e2cd+0x1)%0x4*0x8&0xff,_0x33cde1=_0x32ec8c[_0x59e2cd+0x2>>>0x2]>>>0x18-(_0x59e2cd+0x2)%0x4*0x8&0xff,_0x487a61=_0x40e079<<0x10|_0x2629a4<<0x8|_0x33cde1,_0x40fa7d=0x0;_0x40fa7d<0x4&&_0x59e2cd+_0x40fa7d*0.75<_0x244d3c;_0x40fa7d++)_0x4e579a[_0x3e45d0(0x404)](_0x382a5c[_0x3e45d0(0x3f8)](_0x487a61>>>0x6*(0x3-_0x40fa7d)&0x3f));var _0x2e583b=_0x382a5c[_0x3e45d0(0x3f8)](0x40);if(_0x2e583b){for(;_0x4e579a[_0x3e45d0(0x3e1)]%0x4;)_0x4e579a[_0x3e45d0(0x404)](_0x2e583b);}return _0x4e579a[_0x3e45d0(0x44c)]('');},'parse':function(_0x4076d9){var _0xbc5fdc=_0x159a1d,_0x558f6b=_0x4076d9[_0xbc5fdc(0x3e1)],_0x27ba6c=this[_0xbc5fdc(0x422)],_0x3ebecc=this[_0xbc5fdc(0x36b)];if(!_0x3ebecc){_0x3ebecc=this[_0xbc5fdc(0x36b)]=[];for(var _0x187929=0x0;_0x187929<_0x27ba6c['length'];_0x187929++)_0x3ebecc[_0x27ba6c['charCodeAt'](_0x187929)]=_0x187929;}var _0x447cc8=_0x27ba6c[_0xbc5fdc(0x3f8)](0x40);if(_0x447cc8){var _0x54f6cf=_0x4076d9[_0xbc5fdc(0x448)](_0x447cc8);_0x54f6cf!==-0x1&&(_0x558f6b=_0x54f6cf);}return _0xc73f1d(_0x4076d9,_0x558f6b,_0x3ebecc);},'_map':_0x159a1d(0x2b1)};function _0xc73f1d(_0x374ec9,_0x3ed57b,_0x273ec4){var _0x56f372=_0x159a1d;for(var _0x5b8ad1=[],_0x359519=0x0,_0x241239=0x0;_0x241239<_0x3ed57b;_0x241239++)if(_0x241239%0x4){var _0x3d388d=_0x273ec4[_0x374ec9['charCodeAt'](_0x241239-0x1)]<<_0x241239%0x4*0x2,_0x2f8022=_0x273ec4[_0x374ec9['charCodeAt'](_0x241239)]>>>0x6-_0x241239%0x4*0x2,_0x4ed9b6=_0x3d388d|_0x2f8022;_0x5b8ad1[_0x359519>>>0x2]|=_0x4ed9b6<<0x18-_0x359519%0x4*0x8,_0x359519++;}return _0x44fe2f[_0x56f372(0x1a1)](_0x5b8ad1,_0x359519);}}()),_0x213283[_0x460cd6(0x2ba)][_0x460cd6(0x246)];}));}(We)),We[_0x1ce2df(0x1d9)];}var Ke={'exports':{}},Is=Ke[_0x12ec3c(0x1d9)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0x115f7b,_0x1aecf5){(function(_0x2e84d3,_0x44febd){var _0x49f9d5=_0x7e46;_0x115f7b[_0x49f9d5(0x1d9)]=_0x44febd(ie());}(Is,function(_0x2fb2d9){return function(_0x49f8d7){var _0x3ab5b2=_0x7e46,_0x7b0981=_0x2fb2d9,_0x4d6d30=_0x7b0981[_0x3ab5b2(0x313)],_0x1be78d=_0x4d6d30[_0x3ab5b2(0x1c4)],_0x3363be=_0x4d6d30[_0x3ab5b2(0x399)],_0x404683=_0x7b0981[_0x3ab5b2(0x2a3)],_0x3c5d78=[];(function(){var _0x51c2a7=_0x3ab5b2;for(var _0x7c4951=0x0;_0x7c4951<0x40;_0x7c4951++)_0x3c5d78[_0x7c4951]=_0x49f8d7[_0x51c2a7(0x428)](_0x49f8d7['sin'](_0x7c4951+0x1))*0x100000000|0x0;}());var _0x53b03f=_0x404683[_0x3ab5b2(0x37b)]=_0x3363be['extend']({'_doReset':function(){var _0x3a9423=_0x3ab5b2;this[_0x3a9423(0x265)]=new _0x1be78d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x526a10,_0x426d60){var _0xe98bf1=_0x3ab5b2;for(var _0x52e7ab=0x0;_0x52e7ab<0x10;_0x52e7ab++){var _0x7b2ae6=_0x426d60+_0x52e7ab,_0x49c417=_0x526a10[_0x7b2ae6];_0x526a10[_0x7b2ae6]=(_0x49c417<<0x8|_0x49c417>>>0x18)&0xff00ff|(_0x49c417<<0x18|_0x49c417>>>0x8)&0xff00ff00;}var _0x74f1f8=this[_0xe98bf1(0x265)][_0xe98bf1(0x324)],_0x12328c=_0x526a10[_0x426d60+0x0],_0x2c512f=_0x526a10[_0x426d60+0x1],_0x3204dd=_0x526a10[_0x426d60+0x2],_0x55b27c=_0x526a10[_0x426d60+0x3],_0x3bca23=_0x526a10[_0x426d60+0x4],_0x536ec9=_0x526a10[_0x426d60+0x5],_0x5648a9=_0x526a10[_0x426d60+0x6],_0x5ee73e=_0x526a10[_0x426d60+0x7],_0x1f01d3=_0x526a10[_0x426d60+0x8],_0x4df510=_0x526a10[_0x426d60+0x9],_0x1bd724=_0x526a10[_0x426d60+0xa],_0x427de5=_0x526a10[_0x426d60+0xb],_0x258fdc=_0x526a10[_0x426d60+0xc],_0x415a4b=_0x526a10[_0x426d60+0xd],_0xe745d2=_0x526a10[_0x426d60+0xe],_0x458be1=_0x526a10[_0x426d60+0xf],_0xdf74a9=_0x74f1f8[0x0],_0x51fe81=_0x74f1f8[0x1],_0x5031d0=_0x74f1f8[0x2],_0x4e384c=_0x74f1f8[0x3];_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x12328c,0x7,_0x3c5d78[0x0]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x2c512f,0xc,_0x3c5d78[0x1]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x3204dd,0x11,_0x3c5d78[0x2]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x55b27c,0x16,_0x3c5d78[0x3]),_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x3bca23,0x7,_0x3c5d78[0x4]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x536ec9,0xc,_0x3c5d78[0x5]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5648a9,0x11,_0x3c5d78[0x6]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x5ee73e,0x16,_0x3c5d78[0x7]),_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x1f01d3,0x7,_0x3c5d78[0x8]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x4df510,0xc,_0x3c5d78[0x9]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x1bd724,0x11,_0x3c5d78[0xa]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x427de5,0x16,_0x3c5d78[0xb]),_0xdf74a9=_0x1fd237(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x258fdc,0x7,_0x3c5d78[0xc]),_0x4e384c=_0x1fd237(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x415a4b,0xc,_0x3c5d78[0xd]),_0x5031d0=_0x1fd237(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0xe745d2,0x11,_0x3c5d78[0xe]),_0x51fe81=_0x1fd237(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x458be1,0x16,_0x3c5d78[0xf]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x2c512f,0x5,_0x3c5d78[0x10]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x5648a9,0x9,_0x3c5d78[0x11]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x427de5,0xe,_0x3c5d78[0x12]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x12328c,0x14,_0x3c5d78[0x13]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x536ec9,0x5,_0x3c5d78[0x14]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x1bd724,0x9,_0x3c5d78[0x15]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x458be1,0xe,_0x3c5d78[0x16]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x3bca23,0x14,_0x3c5d78[0x17]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x4df510,0x5,_0x3c5d78[0x18]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0xe745d2,0x9,_0x3c5d78[0x19]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x55b27c,0xe,_0x3c5d78[0x1a]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x1f01d3,0x14,_0x3c5d78[0x1b]),_0xdf74a9=_0x50d274(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x415a4b,0x5,_0x3c5d78[0x1c]),_0x4e384c=_0x50d274(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x3204dd,0x9,_0x3c5d78[0x1d]),_0x5031d0=_0x50d274(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5ee73e,0xe,_0x3c5d78[0x1e]),_0x51fe81=_0x50d274(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x258fdc,0x14,_0x3c5d78[0x1f]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x536ec9,0x4,_0x3c5d78[0x20]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x1f01d3,0xb,_0x3c5d78[0x21]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x427de5,0x10,_0x3c5d78[0x22]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0xe745d2,0x17,_0x3c5d78[0x23]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x2c512f,0x4,_0x3c5d78[0x24]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x3bca23,0xb,_0x3c5d78[0x25]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5ee73e,0x10,_0x3c5d78[0x26]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x1bd724,0x17,_0x3c5d78[0x27]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x415a4b,0x4,_0x3c5d78[0x28]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x12328c,0xb,_0x3c5d78[0x29]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x55b27c,0x10,_0x3c5d78[0x2a]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x5648a9,0x17,_0x3c5d78[0x2b]),_0xdf74a9=_0x1fb129(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x4df510,0x4,_0x3c5d78[0x2c]),_0x4e384c=_0x1fb129(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x258fdc,0xb,_0x3c5d78[0x2d]),_0x5031d0=_0x1fb129(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x458be1,0x10,_0x3c5d78[0x2e]),_0x51fe81=_0x1fb129(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x3204dd,0x17,_0x3c5d78[0x2f]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x12328c,0x6,_0x3c5d78[0x30]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x5ee73e,0xa,_0x3c5d78[0x31]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0xe745d2,0xf,_0x3c5d78[0x32]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x536ec9,0x15,_0x3c5d78[0x33]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x258fdc,0x6,_0x3c5d78[0x34]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x55b27c,0xa,_0x3c5d78[0x35]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x1bd724,0xf,_0x3c5d78[0x36]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x2c512f,0x15,_0x3c5d78[0x37]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x1f01d3,0x6,_0x3c5d78[0x38]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x458be1,0xa,_0x3c5d78[0x39]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x5648a9,0xf,_0x3c5d78[0x3a]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x415a4b,0x15,_0x3c5d78[0x3b]),_0xdf74a9=_0x21e323(_0xdf74a9,_0x51fe81,_0x5031d0,_0x4e384c,_0x3bca23,0x6,_0x3c5d78[0x3c]),_0x4e384c=_0x21e323(_0x4e384c,_0xdf74a9,_0x51fe81,_0x5031d0,_0x427de5,0xa,_0x3c5d78[0x3d]),_0x5031d0=_0x21e323(_0x5031d0,_0x4e384c,_0xdf74a9,_0x51fe81,_0x3204dd,0xf,_0x3c5d78[0x3e]),_0x51fe81=_0x21e323(_0x51fe81,_0x5031d0,_0x4e384c,_0xdf74a9,_0x4df510,0x15,_0x3c5d78[0x3f]),_0x74f1f8[0x0]=_0x74f1f8[0x0]+_0xdf74a9|0x0,_0x74f1f8[0x1]=_0x74f1f8[0x1]+_0x51fe81|0x0,_0x74f1f8[0x2]=_0x74f1f8[0x2]+_0x5031d0|0x0,_0x74f1f8[0x3]=_0x74f1f8[0x3]+_0x4e384c|0x0;},'_doFinalize':function(){var _0x136db4=_0x3ab5b2,_0x257480=this[_0x136db4(0x277)],_0x4ec247=_0x257480[_0x136db4(0x324)],_0x104edf=this['_nDataBytes']*0x8,_0xa14892=_0x257480[_0x136db4(0x24c)]*0x8;_0x4ec247[_0xa14892>>>0x5]|=0x80<<0x18-_0xa14892%0x20;var _0x233540=_0x49f8d7[_0x136db4(0x36a)](_0x104edf/0x100000000),_0x31dbcb=_0x104edf;_0x4ec247[(_0xa14892+0x40>>>0x9<<0x4)+0xf]=(_0x233540<<0x8|_0x233540>>>0x18)&0xff00ff|(_0x233540<<0x18|_0x233540>>>0x8)&0xff00ff00,_0x4ec247[(_0xa14892+0x40>>>0x9<<0x4)+0xe]=(_0x31dbcb<<0x8|_0x31dbcb>>>0x18)&0xff00ff|(_0x31dbcb<<0x18|_0x31dbcb>>>0x8)&0xff00ff00,_0x257480['sigBytes']=(_0x4ec247['length']+0x1)*0x4,this[_0x136db4(0x33d)]();for(var _0x403412=this[_0x136db4(0x265)],_0x27934e=_0x403412['words'],_0x5030d4=0x0;_0x5030d4<0x4;_0x5030d4++){var _0x4f238d=_0x27934e[_0x5030d4];_0x27934e[_0x5030d4]=(_0x4f238d<<0x8|_0x4f238d>>>0x18)&0xff00ff|(_0x4f238d<<0x18|_0x4f238d>>>0x8)&0xff00ff00;}return _0x403412;},'clone':function(){var _0xa27f3a=_0x3ab5b2,_0x315aef=_0x3363be[_0xa27f3a(0x3ec)][_0xa27f3a(0x288)](this);return _0x315aef[_0xa27f3a(0x265)]=this[_0xa27f3a(0x265)]['clone'](),_0x315aef;}});function _0x1fd237(_0x492193,_0x3bdaf8,_0x52a771,_0x39f116,_0x29e420,_0x1a139c,_0x537d75){var _0x2b75cf=_0x492193+(_0x3bdaf8&_0x52a771|~_0x3bdaf8&_0x39f116)+_0x29e420+_0x537d75;return(_0x2b75cf<<_0x1a139c|_0x2b75cf>>>0x20-_0x1a139c)+_0x3bdaf8;}function _0x50d274(_0x1b9b06,_0x2059c6,_0x396cce,_0x3293e4,_0x3e927c,_0x478f7b,_0x1747c8){var _0x14212b=_0x1b9b06+(_0x2059c6&_0x3293e4|_0x396cce&~_0x3293e4)+_0x3e927c+_0x1747c8;return(_0x14212b<<_0x478f7b|_0x14212b>>>0x20-_0x478f7b)+_0x2059c6;}function _0x1fb129(_0xfea0b,_0x2515b1,_0x4e8e3e,_0x25bcae,_0x4ec03e,_0x15276c,_0x5afc2e){var _0x3dec0c=_0xfea0b+(_0x2515b1^_0x4e8e3e^_0x25bcae)+_0x4ec03e+_0x5afc2e;return(_0x3dec0c<<_0x15276c|_0x3dec0c>>>0x20-_0x15276c)+_0x2515b1;}function _0x21e323(_0x322603,_0x148754,_0x294bcf,_0x8c6b36,_0x24a371,_0x64e0b2,_0x33e540){var _0x926bf6=_0x322603+(_0x294bcf^(_0x148754|~_0x8c6b36))+_0x24a371+_0x33e540;return(_0x926bf6<<_0x64e0b2|_0x926bf6>>>0x20-_0x64e0b2)+_0x148754;}_0x7b0981['MD5']=_0x3363be[_0x3ab5b2(0x271)](_0x53b03f),_0x7b0981[_0x3ab5b2(0x391)]=_0x3363be['_createHmacHelper'](_0x53b03f);}(Math),_0x2fb2d9['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x12ec3c(0x1d9)],ei;function Rs(){return ei||(ei=0x1,function(_0x1f704a,_0x3c037b){(function(_0x12e58d,_0x3cd7e0){var _0xfdd7b=_0x7e46;_0x1f704a[_0xfdd7b(0x1d9)]=_0x3cd7e0(ie());}(Cs,function(_0x178615){var _0x3d1f44=_0x7e46;return(function(){var _0x57bcbf=_0x7e46,_0x4e1dc2=_0x178615,_0x325d42=_0x4e1dc2['lib'],_0x978b01=_0x325d42[_0x57bcbf(0x1c4)],_0x3692dd=_0x325d42[_0x57bcbf(0x399)],_0x172e45=_0x4e1dc2['algo'],_0x253f81=[],_0x24925f=_0x172e45[_0x57bcbf(0x231)]=_0x3692dd[_0x57bcbf(0x2e3)]({'_doReset':function(){var _0x121f32=_0x57bcbf;this[_0x121f32(0x265)]=new _0x978b01[(_0x121f32(0x2b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4dc4ec,_0x1973b2){var _0x40d0a8=_0x57bcbf;for(var _0xa6cc23=this[_0x40d0a8(0x265)][_0x40d0a8(0x324)],_0x1d0d16=_0xa6cc23[0x0],_0x3d8c8a=_0xa6cc23[0x1],_0x1dfa3b=_0xa6cc23[0x2],_0x25aef1=_0xa6cc23[0x3],_0x4f164c=_0xa6cc23[0x4],_0x5a1a7b=0x0;_0x5a1a7b<0x50;_0x5a1a7b++){if(_0x5a1a7b<0x10)_0x253f81[_0x5a1a7b]=_0x4dc4ec[_0x1973b2+_0x5a1a7b]|0x0;else{var _0x367826=_0x253f81[_0x5a1a7b-0x3]^_0x253f81[_0x5a1a7b-0x8]^_0x253f81[_0x5a1a7b-0xe]^_0x253f81[_0x5a1a7b-0x10];_0x253f81[_0x5a1a7b]=_0x367826<<0x1|_0x367826>>>0x1f;}var _0x3ab2da=(_0x1d0d16<<0x5|_0x1d0d16>>>0x1b)+_0x4f164c+_0x253f81[_0x5a1a7b];_0x5a1a7b<0x14?_0x3ab2da+=(_0x3d8c8a&_0x1dfa3b|~_0x3d8c8a&_0x25aef1)+0x5a827999:_0x5a1a7b<0x28?_0x3ab2da+=(_0x3d8c8a^_0x1dfa3b^_0x25aef1)+0x6ed9eba1:_0x5a1a7b<0x3c?_0x3ab2da+=(_0x3d8c8a&_0x1dfa3b|_0x3d8c8a&_0x25aef1|_0x1dfa3b&_0x25aef1)-0x70e44324:_0x3ab2da+=(_0x3d8c8a^_0x1dfa3b^_0x25aef1)-0x359d3e2a,_0x4f164c=_0x25aef1,_0x25aef1=_0x1dfa3b,_0x1dfa3b=_0x3d8c8a<<0x1e|_0x3d8c8a>>>0x2,_0x3d8c8a=_0x1d0d16,_0x1d0d16=_0x3ab2da;}_0xa6cc23[0x0]=_0xa6cc23[0x0]+_0x1d0d16|0x0,_0xa6cc23[0x1]=_0xa6cc23[0x1]+_0x3d8c8a|0x0,_0xa6cc23[0x2]=_0xa6cc23[0x2]+_0x1dfa3b|0x0,_0xa6cc23[0x3]=_0xa6cc23[0x3]+_0x25aef1|0x0,_0xa6cc23[0x4]=_0xa6cc23[0x4]+_0x4f164c|0x0;},'_doFinalize':function(){var _0x5931f1=_0x57bcbf,_0x505721=this['_data'],_0x206098=_0x505721[_0x5931f1(0x324)],_0x13715f=this[_0x5931f1(0x20d)]*0x8,_0xa1a763=_0x505721['sigBytes']*0x8;return _0x206098[_0xa1a763>>>0x5]|=0x80<<0x18-_0xa1a763%0x20,_0x206098[(_0xa1a763+0x40>>>0x9<<0x4)+0xe]=Math[_0x5931f1(0x36a)](_0x13715f/0x100000000),_0x206098[(_0xa1a763+0x40>>>0x9<<0x4)+0xf]=_0x13715f,_0x505721[_0x5931f1(0x24c)]=_0x206098[_0x5931f1(0x3e1)]*0x4,this['_process'](),this[_0x5931f1(0x265)];},'clone':function(){var _0x5d7df3=_0x57bcbf,_0x1b161f=_0x3692dd[_0x5d7df3(0x3ec)][_0x5d7df3(0x288)](this);return _0x1b161f[_0x5d7df3(0x265)]=this['_hash'][_0x5d7df3(0x3ec)](),_0x1b161f;}});_0x4e1dc2[_0x57bcbf(0x231)]=_0x3692dd[_0x57bcbf(0x271)](_0x24925f),_0x4e1dc2[_0x57bcbf(0x278)]=_0x3692dd[_0x57bcbf(0x28b)](_0x24925f);}()),_0x178615[_0x3d1f44(0x231)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x12ec3c(0x1d9)],ti;function ys(){var _0x54f7b4=_0x12ec3c;return ti||(ti=0x1,function(_0x4bb9cd,_0xcf654a){(function(_0x4b1bf1,_0x5177f3){var _0xa7bab1=_0x7e46;_0x4bb9cd[_0xa7bab1(0x1d9)]=_0x5177f3(ie());}(bs,function(_0x2ba694){(function(){var _0x475bc8=_0x7e46,_0x45fc7b=_0x2ba694,_0x2e004f=_0x45fc7b[_0x475bc8(0x313)],_0x494e44=_0x2e004f[_0x475bc8(0x43e)],_0x30aeb8=_0x45fc7b[_0x475bc8(0x2ba)],_0x4a2ab6=_0x30aeb8[_0x475bc8(0x2ce)],_0x4227dc=_0x45fc7b['algo'];_0x4227dc[_0x475bc8(0x309)]=_0x494e44['extend']({'init':function(_0x36b74b,_0x5aef60){var _0x3e3be6=_0x475bc8;_0x36b74b=this[_0x3e3be6(0x407)]=new _0x36b74b[(_0x3e3be6(0x2b6))](),typeof _0x5aef60==_0x3e3be6(0x20a)&&(_0x5aef60=_0x4a2ab6['parse'](_0x5aef60));var _0x38804d=_0x36b74b['blockSize'],_0x86a270=_0x38804d*0x4;_0x5aef60[_0x3e3be6(0x24c)]>_0x86a270&&(_0x5aef60=_0x36b74b[_0x3e3be6(0x436)](_0x5aef60)),_0x5aef60[_0x3e3be6(0x22d)]();for(var _0x5c33e9=this['_oKey']=_0x5aef60[_0x3e3be6(0x3ec)](),_0x275301=this[_0x3e3be6(0x205)]=_0x5aef60[_0x3e3be6(0x3ec)](),_0x43a6d2=_0x5c33e9[_0x3e3be6(0x324)],_0x385ae2=_0x275301[_0x3e3be6(0x324)],_0x428dbd=0x0;_0x428dbd<_0x38804d;_0x428dbd++)_0x43a6d2[_0x428dbd]^=0x5c5c5c5c,_0x385ae2[_0x428dbd]^=0x36363636;_0x5c33e9[_0x3e3be6(0x24c)]=_0x275301['sigBytes']=_0x86a270,this['reset']();},'reset':function(){var _0x359523=_0x475bc8,_0x471dd2=this[_0x359523(0x407)];_0x471dd2[_0x359523(0x197)](),_0x471dd2[_0x359523(0x2c1)](this[_0x359523(0x205)]);},'update':function(_0x3cf6d2){var _0x2756ee=_0x475bc8;return this[_0x2756ee(0x407)][_0x2756ee(0x2c1)](_0x3cf6d2),this;},'finalize':function(_0x1aa83c){var _0x42289a=_0x475bc8,_0x1fbc14=this[_0x42289a(0x407)],_0x23ef8a=_0x1fbc14[_0x42289a(0x436)](_0x1aa83c);_0x1fbc14[_0x42289a(0x197)]();var _0x27d387=_0x1fbc14['finalize'](this['_oKey'][_0x42289a(0x3ec)]()[_0x42289a(0x359)](_0x23ef8a));return _0x27d387;}});}());}));}(ze)),ze[_0x54f7b4(0x1d9)];}var Os=Ye[_0x12ec3c(0x1d9)],ii;function Ui(){var _0x17d80d=_0x12ec3c;return ii||(ii=0x1,function(_0x11b970,_0x394c34){(function(_0xca4a60,_0x323ca2,_0x49bb78){var _0x577a20=_0x7e46;_0x11b970[_0x577a20(0x1d9)]=_0x323ca2(ie(),Rs(),ys());}(Os,function(_0x44666b){var _0x45fc19=_0x7e46;return(function(){var _0x197e3=_0x7e46,_0x16e3de=_0x44666b,_0x4ac207=_0x16e3de['lib'],_0x2e02f7=_0x4ac207[_0x197e3(0x43e)],_0x3e76b7=_0x4ac207['WordArray'],_0x37da1a=_0x16e3de['algo'],_0x1e6efe=_0x37da1a['MD5'],_0x5871f4=_0x37da1a[_0x197e3(0x43a)]=_0x2e02f7[_0x197e3(0x2e3)]({'cfg':_0x2e02f7[_0x197e3(0x2e3)]({'keySize':0x80/0x20,'hasher':_0x1e6efe,'iterations':0x1}),'init':function(_0x140306){var _0x75431e=_0x197e3;this[_0x75431e(0x15b)]=this[_0x75431e(0x15b)][_0x75431e(0x2e3)](_0x140306);},'compute':function(_0x5e44fa,_0x3dd939){var _0x2b2e7f=_0x197e3;for(var _0x15721f,_0x4c9b4b=this[_0x2b2e7f(0x15b)],_0x31e12f=_0x4c9b4b[_0x2b2e7f(0x385)]['create'](),_0x4b0806=_0x3e76b7[_0x2b2e7f(0x1a1)](),_0x5295d5=_0x4b0806[_0x2b2e7f(0x324)],_0x125c13=_0x4c9b4b['keySize'],_0x16d142=_0x4c9b4b[_0x2b2e7f(0x32f)];_0x5295d5[_0x2b2e7f(0x3e1)]<_0x125c13;){_0x15721f&&_0x31e12f['update'](_0x15721f),_0x15721f=_0x31e12f[_0x2b2e7f(0x2c1)](_0x5e44fa)[_0x2b2e7f(0x436)](_0x3dd939),_0x31e12f[_0x2b2e7f(0x197)]();for(var _0x942cc3=0x1;_0x942cc3<_0x16d142;_0x942cc3++)_0x15721f=_0x31e12f['finalize'](_0x15721f),_0x31e12f[_0x2b2e7f(0x197)]();_0x4b0806[_0x2b2e7f(0x359)](_0x15721f);}return _0x4b0806[_0x2b2e7f(0x24c)]=_0x125c13*0x4,_0x4b0806;}});_0x16e3de[_0x197e3(0x43a)]=function(_0x25f571,_0x1f0af0,_0x35973){var _0x2ade9e=_0x197e3;return _0x5871f4[_0x2ade9e(0x1a1)](_0x35973)[_0x2ade9e(0x15e)](_0x25f571,_0x1f0af0);};}()),_0x44666b[_0x45fc19(0x43a)];}));}(Ye)),Ye[_0x17d80d(0x1d9)];}var Je={'exports':{}},Ns=Je[_0x12ec3c(0x1d9)],ni;function Ai(){return ni||(ni=0x1,function(_0x37035d,_0x20eb68){(function(_0x4c0a66,_0x42e76f,_0x36c278){_0x37035d['exports']=_0x42e76f(ie(),Ui());}(Ns,function(_0x24de18){var _0x114b7b=_0x7e46;_0x24de18[_0x114b7b(0x313)][_0x114b7b(0x195)]||function(_0x29e2ea){var _0x5f5aa0=_0x114b7b,_0x3e1f20=_0x24de18,_0x513248=_0x3e1f20[_0x5f5aa0(0x313)],_0x1b96ea=_0x513248[_0x5f5aa0(0x43e)],_0x774da1=_0x513248[_0x5f5aa0(0x1c4)],_0x3f264b=_0x513248[_0x5f5aa0(0x21b)],_0x4622d7=_0x3e1f20['enc'];_0x4622d7['Utf8'];var _0x1561cd=_0x4622d7['Base64'],_0x42d62a=_0x3e1f20[_0x5f5aa0(0x2a3)],_0x20dd16=_0x42d62a['EvpKDF'],_0x51aece=_0x513248[_0x5f5aa0(0x195)]=_0x3f264b[_0x5f5aa0(0x2e3)]({'cfg':_0x1b96ea[_0x5f5aa0(0x2e3)](),'createEncryptor':function(_0x1a622c,_0x1569b6){var _0x4b2dcf=_0x5f5aa0;return this[_0x4b2dcf(0x1a1)](this[_0x4b2dcf(0x3a4)],_0x1a622c,_0x1569b6);},'createDecryptor':function(_0x4207bf,_0x5780ee){var _0x344b4=_0x5f5aa0;return this[_0x344b4(0x1a1)](this[_0x344b4(0x1be)],_0x4207bf,_0x5780ee);},'init':function(_0x4d2ca2,_0x111ed7,_0x47c107){var _0xd242ea=_0x5f5aa0;this['cfg']=this[_0xd242ea(0x15b)][_0xd242ea(0x2e3)](_0x47c107),this[_0xd242ea(0x1b2)]=_0x4d2ca2,this[_0xd242ea(0x2c0)]=_0x111ed7,this[_0xd242ea(0x197)]();},'reset':function(){var _0x3cb7e8=_0x5f5aa0;_0x3f264b[_0x3cb7e8(0x197)][_0x3cb7e8(0x288)](this),this[_0x3cb7e8(0x24a)]();},'process':function(_0x31aede){var _0x15b706=_0x5f5aa0;return this['_append'](_0x31aede),this[_0x15b706(0x33d)]();},'finalize':function(_0x485164){var _0x32c0e7=_0x5f5aa0;_0x485164&&this['_append'](_0x485164);var _0x24d408=this[_0x32c0e7(0x361)]();return _0x24d408;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6b86b1(_0x5e303f){var _0x24651f=_0x7e46;return typeof _0x5e303f==_0x24651f(0x20a)?_0x51f7aa:_0x439e8e;}return function(_0x56aec1){return{'encrypt':function(_0x7bd37d,_0x6cb739,_0x4db39e){var _0x21f6f2=_0x7e46;return _0x6b86b1(_0x6cb739)[_0x21f6f2(0x2db)](_0x56aec1,_0x7bd37d,_0x6cb739,_0x4db39e);},'decrypt':function(_0x3ed01d,_0x242aad,_0x2e5a4d){var _0x3d2ace=_0x7e46;return _0x6b86b1(_0x242aad)[_0x3d2ace(0x1c9)](_0x56aec1,_0x3ed01d,_0x242aad,_0x2e5a4d);}};};}())});_0x513248[_0x5f5aa0(0x2af)]=_0x51aece[_0x5f5aa0(0x2e3)]({'_doFinalize':function(){var _0x374115=_0x5f5aa0,_0x42dc17=this[_0x374115(0x33d)](!0x0);return _0x42dc17;},'blockSize':0x1});var _0x32a7a8=_0x3e1f20[_0x5f5aa0(0x1b3)]={},_0x3b6749=_0x513248[_0x5f5aa0(0x1ae)]=_0x1b96ea[_0x5f5aa0(0x2e3)]({'createEncryptor':function(_0x5647ad,_0x1f4bb0){var _0x396e45=_0x5f5aa0;return this[_0x396e45(0x34e)][_0x396e45(0x1a1)](_0x5647ad,_0x1f4bb0);},'createDecryptor':function(_0x5eff15,_0x1b7858){var _0x52f08d=_0x5f5aa0;return this[_0x52f08d(0x21d)][_0x52f08d(0x1a1)](_0x5eff15,_0x1b7858);},'init':function(_0x145a6f,_0xedb420){var _0xeec224=_0x5f5aa0;this['_cipher']=_0x145a6f,this[_0xeec224(0x34d)]=_0xedb420;}}),_0x26b6f0=_0x32a7a8[_0x5f5aa0(0x290)]=(function(){var _0x438068=_0x5f5aa0,_0x3395cb=_0x3b6749[_0x438068(0x2e3)]();_0x3395cb[_0x438068(0x34e)]=_0x3395cb[_0x438068(0x2e3)]({'processBlock':function(_0xd99077,_0x5d7213){var _0x243ca1=_0x438068,_0x1c715e=this[_0x243ca1(0x299)],_0x40dfce=_0x1c715e[_0x243ca1(0x162)];_0x41c436[_0x243ca1(0x288)](this,_0xd99077,_0x5d7213,_0x40dfce),_0x1c715e[_0x243ca1(0x267)](_0xd99077,_0x5d7213),this[_0x243ca1(0x156)]=_0xd99077['slice'](_0x5d7213,_0x5d7213+_0x40dfce);}}),_0x3395cb[_0x438068(0x21d)]=_0x3395cb['extend']({'processBlock':function(_0x5810be,_0xf93bca){var _0x15f792=_0x438068,_0x31a8a8=this['_cipher'],_0xc992b1=_0x31a8a8[_0x15f792(0x162)],_0x1efafa=_0x5810be[_0x15f792(0x3e9)](_0xf93bca,_0xf93bca+_0xc992b1);_0x31a8a8[_0x15f792(0x17f)](_0x5810be,_0xf93bca),_0x41c436[_0x15f792(0x288)](this,_0x5810be,_0xf93bca,_0xc992b1),this[_0x15f792(0x156)]=_0x1efafa;}});function _0x41c436(_0x4d46fd,_0x411d9d,_0x178cfc){var _0x533020=_0x438068,_0x56a36f,_0xb94579=this[_0x533020(0x34d)];_0xb94579?(_0x56a36f=_0xb94579,this[_0x533020(0x34d)]=_0x29e2ea):_0x56a36f=this[_0x533020(0x156)];for(var _0x48ed3a=0x0;_0x48ed3a<_0x178cfc;_0x48ed3a++)_0x4d46fd[_0x411d9d+_0x48ed3a]^=_0x56a36f[_0x48ed3a];}return _0x3395cb;}()),_0x3f2424=_0x3e1f20[_0x5f5aa0(0x294)]={},_0x1eb029=_0x3f2424[_0x5f5aa0(0x3d7)]={'pad':function(_0x6666b3,_0x262ba0){var _0x2a7f23=_0x5f5aa0;for(var _0x1a9e02=_0x262ba0*0x4,_0x12e230=_0x1a9e02-_0x6666b3[_0x2a7f23(0x24c)]%_0x1a9e02,_0x5c6dde=_0x12e230<<0x18|_0x12e230<<0x10|_0x12e230<<0x8|_0x12e230,_0xa417b=[],_0x2355be=0x0;_0x2355be<_0x12e230;_0x2355be+=0x4)_0xa417b['push'](_0x5c6dde);var _0x5d499f=_0x774da1[_0x2a7f23(0x1a1)](_0xa417b,_0x12e230);_0x6666b3[_0x2a7f23(0x359)](_0x5d499f);},'unpad':function(_0x1ca21d){var _0x3118b2=_0x5f5aa0,_0x12bd10=_0x1ca21d[_0x3118b2(0x324)][_0x1ca21d[_0x3118b2(0x24c)]-0x1>>>0x2]&0xff;_0x1ca21d['sigBytes']-=_0x12bd10;}};_0x513248[_0x5f5aa0(0x25a)]=_0x51aece['extend']({'cfg':_0x51aece[_0x5f5aa0(0x15b)][_0x5f5aa0(0x2e3)]({'mode':_0x26b6f0,'padding':_0x1eb029}),'reset':function(){var _0x328c0f=_0x5f5aa0,_0x4c45ad;_0x51aece[_0x328c0f(0x197)][_0x328c0f(0x288)](this);var _0x3aa52f=this[_0x328c0f(0x15b)],_0x255893=_0x3aa52f['iv'],_0x45881d=_0x3aa52f['mode'];this['_xformMode']==this[_0x328c0f(0x3a4)]?_0x4c45ad=_0x45881d['createEncryptor']:(_0x4c45ad=_0x45881d[_0x328c0f(0x196)],this[_0x328c0f(0x1f3)]=0x1),this['_mode']&&this['_mode'][_0x328c0f(0x362)]==_0x4c45ad?this[_0x328c0f(0x233)][_0x328c0f(0x2b6)](this,_0x255893&&_0x255893['words']):(this[_0x328c0f(0x233)]=_0x4c45ad[_0x328c0f(0x288)](_0x45881d,this,_0x255893&&_0x255893[_0x328c0f(0x324)]),this[_0x328c0f(0x233)][_0x328c0f(0x362)]=_0x4c45ad);},'_doProcessBlock':function(_0x16feba,_0x3f344a){var _0x3065a2=_0x5f5aa0;this[_0x3065a2(0x233)][_0x3065a2(0x190)](_0x16feba,_0x3f344a);},'_doFinalize':function(){var _0x3e5f96=_0x5f5aa0,_0x5b0999,_0x5226c8=this[_0x3e5f96(0x15b)][_0x3e5f96(0x17e)];return this[_0x3e5f96(0x1b2)]==this['_ENC_XFORM_MODE']?(_0x5226c8[_0x3e5f96(0x294)](this['_data'],this[_0x3e5f96(0x162)]),_0x5b0999=this['_process'](!0x0)):(_0x5b0999=this[_0x3e5f96(0x33d)](!0x0),_0x5226c8['unpad'](_0x5b0999)),_0x5b0999;},'blockSize':0x80/0x20});var _0x54ebef=_0x513248[_0x5f5aa0(0x19d)]=_0x1b96ea[_0x5f5aa0(0x2e3)]({'init':function(_0x4eeaf2){var _0x4cf845=_0x5f5aa0;this[_0x4cf845(0x23a)](_0x4eeaf2);},'toString':function(_0x13bafe){var _0x6b5a92=_0x5f5aa0;return(_0x13bafe||this[_0x6b5a92(0x254)])[_0x6b5a92(0x32c)](this);}}),_0x2b406a=_0x3e1f20['format']={},_0xa8947c=_0x2b406a[_0x5f5aa0(0x30d)]={'stringify':function(_0x18306a){var _0x935188=_0x5f5aa0,_0x16815f,_0x560e09=_0x18306a[_0x935188(0x1b0)],_0x5cc7f2=_0x18306a[_0x935188(0x2e6)];return _0x5cc7f2?_0x16815f=_0x774da1['create']([0x53616c74,0x65645f5f])[_0x935188(0x359)](_0x5cc7f2)['concat'](_0x560e09):_0x16815f=_0x560e09,_0x16815f[_0x935188(0x433)](_0x1561cd);},'parse':function(_0x23327e){var _0x179bf8=_0x5f5aa0,_0x526bd5,_0x30165b=_0x1561cd[_0x179bf8(0x341)](_0x23327e),_0x27b971=_0x30165b[_0x179bf8(0x324)];return _0x27b971[0x0]==0x53616c74&&_0x27b971[0x1]==0x65645f5f&&(_0x526bd5=_0x774da1[_0x179bf8(0x1a1)](_0x27b971[_0x179bf8(0x3e9)](0x2,0x4)),_0x27b971['splice'](0x0,0x4),_0x30165b[_0x179bf8(0x24c)]-=0x10),_0x54ebef[_0x179bf8(0x1a1)]({'ciphertext':_0x30165b,'salt':_0x526bd5});}},_0x439e8e=_0x513248[_0x5f5aa0(0x3c0)]=_0x1b96ea[_0x5f5aa0(0x2e3)]({'cfg':_0x1b96ea[_0x5f5aa0(0x2e3)]({'format':_0xa8947c}),'encrypt':function(_0xef1944,_0x13dd56,_0x203612,_0x35a368){var _0x1c5d8b=_0x5f5aa0;_0x35a368=this['cfg']['extend'](_0x35a368);var _0x4f3157=_0xef1944[_0x1c5d8b(0x1d2)](_0x203612,_0x35a368),_0x569520=_0x4f3157[_0x1c5d8b(0x436)](_0x13dd56),_0x4c591d=_0x4f3157[_0x1c5d8b(0x15b)];return _0x54ebef[_0x1c5d8b(0x1a1)]({'ciphertext':_0x569520,'key':_0x203612,'iv':_0x4c591d['iv'],'algorithm':_0xef1944,'mode':_0x4c591d['mode'],'padding':_0x4c591d[_0x1c5d8b(0x17e)],'blockSize':_0xef1944[_0x1c5d8b(0x162)],'formatter':_0x35a368[_0x1c5d8b(0x316)]});},'decrypt':function(_0x5e1b85,_0x2152f7,_0xf59ea7,_0x30682d){var _0x2ddc22=_0x5f5aa0;_0x30682d=this[_0x2ddc22(0x15b)][_0x2ddc22(0x2e3)](_0x30682d),_0x2152f7=this['_parse'](_0x2152f7,_0x30682d[_0x2ddc22(0x316)]);var _0x227efb=_0x5e1b85[_0x2ddc22(0x196)](_0xf59ea7,_0x30682d)[_0x2ddc22(0x436)](_0x2152f7[_0x2ddc22(0x1b0)]);return _0x227efb;},'_parse':function(_0x3eebb1,_0x3666b9){return typeof _0x3eebb1=='string'?_0x3666b9['parse'](_0x3eebb1,this):_0x3eebb1;}}),_0x1f7a18=_0x3e1f20[_0x5f5aa0(0x3a6)]={},_0x50cf8a=_0x1f7a18['OpenSSL']={'execute':function(_0x23c5d0,_0x4d7ac2,_0x4e1f0b,_0x1c5e0d,_0x2dcd36){var _0x47b11d=_0x5f5aa0;if(_0x1c5e0d||(_0x1c5e0d=_0x774da1[_0x47b11d(0x3d4)](0x40/0x8)),_0x2dcd36)var _0x1d281e=_0x20dd16['create']({'keySize':_0x4d7ac2+_0x4e1f0b,'hasher':_0x2dcd36})['compute'](_0x23c5d0,_0x1c5e0d);else var _0x1d281e=_0x20dd16[_0x47b11d(0x1a1)]({'keySize':_0x4d7ac2+_0x4e1f0b})[_0x47b11d(0x15e)](_0x23c5d0,_0x1c5e0d);var _0x11e50c=_0x774da1[_0x47b11d(0x1a1)](_0x1d281e[_0x47b11d(0x324)][_0x47b11d(0x3e9)](_0x4d7ac2),_0x4e1f0b*0x4);return _0x1d281e[_0x47b11d(0x24c)]=_0x4d7ac2*0x4,_0x54ebef[_0x47b11d(0x1a1)]({'key':_0x1d281e,'iv':_0x11e50c,'salt':_0x1c5e0d});}},_0x51f7aa=_0x513248[_0x5f5aa0(0x3f5)]=_0x439e8e[_0x5f5aa0(0x2e3)]({'cfg':_0x439e8e['cfg'][_0x5f5aa0(0x2e3)]({'kdf':_0x50cf8a}),'encrypt':function(_0x1b09b1,_0x25b40a,_0x2f9cbd,_0x3fa475){var _0x2b07d6=_0x5f5aa0;_0x3fa475=this[_0x2b07d6(0x15b)][_0x2b07d6(0x2e3)](_0x3fa475);var _0x4a5cec=_0x3fa475[_0x2b07d6(0x3a6)][_0x2b07d6(0x1e9)](_0x2f9cbd,_0x1b09b1[_0x2b07d6(0x22a)],_0x1b09b1[_0x2b07d6(0x178)],_0x3fa475[_0x2b07d6(0x2e6)],_0x3fa475[_0x2b07d6(0x385)]);_0x3fa475['iv']=_0x4a5cec['iv'];var _0xe8bbc4=_0x439e8e[_0x2b07d6(0x2db)][_0x2b07d6(0x288)](this,_0x1b09b1,_0x25b40a,_0x4a5cec['key'],_0x3fa475);return _0xe8bbc4['mixIn'](_0x4a5cec),_0xe8bbc4;},'decrypt':function(_0x1dc75c,_0xeb4079,_0x5a50e0,_0x12998a){var _0x1482b8=_0x5f5aa0;_0x12998a=this[_0x1482b8(0x15b)]['extend'](_0x12998a),_0xeb4079=this[_0x1482b8(0x1f8)](_0xeb4079,_0x12998a[_0x1482b8(0x316)]);var _0x3e7a5e=_0x12998a[_0x1482b8(0x3a6)][_0x1482b8(0x1e9)](_0x5a50e0,_0x1dc75c[_0x1482b8(0x22a)],_0x1dc75c[_0x1482b8(0x178)],_0xeb4079['salt'],_0x12998a['hasher']);_0x12998a['iv']=_0x3e7a5e['iv'];var _0x3591e2=_0x439e8e[_0x1482b8(0x1c9)]['call'](this,_0x1dc75c,_0xeb4079,_0x3e7a5e[_0x1482b8(0x3ed)],_0x12998a);return _0x3591e2;}});}();}));}(Je)),Je['exports'];}var Ds=Ve[_0x12ec3c(0x1d9)],si;function Us(){var _0x2a2d2f=_0x12ec3c;return si||(si=0x1,function(_0x1fab60,_0x4f47d8){(function(_0x3ea9cf,_0x1c38bf,_0x557101){var _0x324998=_0x7e46;_0x1fab60[_0x324998(0x1d9)]=_0x1c38bf(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x91392f){var _0xb17a6f=_0x7e46;return(function(){var _0xe85fb4=_0x7e46,_0x51df58=_0x91392f,_0x35924a=_0x51df58[_0xe85fb4(0x313)],_0x45b321=_0x35924a[_0xe85fb4(0x25a)],_0x106041=_0x51df58[_0xe85fb4(0x2a3)],_0x131926=[],_0x715a5f=[],_0x227385=[],_0x291111=[],_0x5de7f8=[],_0x57b7b9=[],_0x2b59cc=[],_0x3a8bf4=[],_0x4e45a1=[],_0x5c1aee=[];(function(){for(var _0x53ccd9=[],_0x178093=0x0;_0x178093<0x100;_0x178093++)_0x178093<0x80?_0x53ccd9[_0x178093]=_0x178093<<0x1:_0x53ccd9[_0x178093]=_0x178093<<0x1^0x11b;for(var _0x8e6c54=0x0,_0x2b41a4=0x0,_0x178093=0x0;_0x178093<0x100;_0x178093++){var _0x2a72c6=_0x2b41a4^_0x2b41a4<<0x1^_0x2b41a4<<0x2^_0x2b41a4<<0x3^_0x2b41a4<<0x4;_0x2a72c6=_0x2a72c6>>>0x8^_0x2a72c6&0xff^0x63,_0x131926[_0x8e6c54]=_0x2a72c6,_0x715a5f[_0x2a72c6]=_0x8e6c54;var _0x4ab4f0=_0x53ccd9[_0x8e6c54],_0x4af9aa=_0x53ccd9[_0x4ab4f0],_0x4553a2=_0x53ccd9[_0x4af9aa],_0x1ce70d=_0x53ccd9[_0x2a72c6]*0x101^_0x2a72c6*0x1010100;_0x227385[_0x8e6c54]=_0x1ce70d<<0x18|_0x1ce70d>>>0x8,_0x291111[_0x8e6c54]=_0x1ce70d<<0x10|_0x1ce70d>>>0x10,_0x5de7f8[_0x8e6c54]=_0x1ce70d<<0x8|_0x1ce70d>>>0x18,_0x57b7b9[_0x8e6c54]=_0x1ce70d;var _0x1ce70d=_0x4553a2*0x1010101^_0x4af9aa*0x10001^_0x4ab4f0*0x101^_0x8e6c54*0x1010100;_0x2b59cc[_0x2a72c6]=_0x1ce70d<<0x18|_0x1ce70d>>>0x8,_0x3a8bf4[_0x2a72c6]=_0x1ce70d<<0x10|_0x1ce70d>>>0x10,_0x4e45a1[_0x2a72c6]=_0x1ce70d<<0x8|_0x1ce70d>>>0x18,_0x5c1aee[_0x2a72c6]=_0x1ce70d,_0x8e6c54?(_0x8e6c54=_0x4ab4f0^_0x53ccd9[_0x53ccd9[_0x53ccd9[_0x4553a2^_0x4ab4f0]]],_0x2b41a4^=_0x53ccd9[_0x53ccd9[_0x2b41a4]]):_0x8e6c54=_0x2b41a4=0x1;}}());var _0x28b4cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x261ff9=_0x106041['AES']=_0x45b321[_0xe85fb4(0x2e3)]({'_doReset':function(){var _0x501b9a=_0xe85fb4,_0x3d71a0;if(!(this[_0x501b9a(0x2d7)]&&this[_0x501b9a(0x429)]===this[_0x501b9a(0x2c0)])){for(var _0x344d21=this[_0x501b9a(0x429)]=this[_0x501b9a(0x2c0)],_0x497bc5=_0x344d21[_0x501b9a(0x324)],_0x362051=_0x344d21[_0x501b9a(0x24c)]/0x4,_0x2cc95c=this[_0x501b9a(0x2d7)]=_0x362051+0x6,_0x5d0dfe=(_0x2cc95c+0x1)*0x4,_0x2c3419=this[_0x501b9a(0x3be)]=[],_0xf2d7a1=0x0;_0xf2d7a1<_0x5d0dfe;_0xf2d7a1++)_0xf2d7a1<_0x362051?_0x2c3419[_0xf2d7a1]=_0x497bc5[_0xf2d7a1]:(_0x3d71a0=_0x2c3419[_0xf2d7a1-0x1],_0xf2d7a1%_0x362051?_0x362051>0x6&&_0xf2d7a1%_0x362051==0x4&&(_0x3d71a0=_0x131926[_0x3d71a0>>>0x18]<<0x18|_0x131926[_0x3d71a0>>>0x10&0xff]<<0x10|_0x131926[_0x3d71a0>>>0x8&0xff]<<0x8|_0x131926[_0x3d71a0&0xff]):(_0x3d71a0=_0x3d71a0<<0x8|_0x3d71a0>>>0x18,_0x3d71a0=_0x131926[_0x3d71a0>>>0x18]<<0x18|_0x131926[_0x3d71a0>>>0x10&0xff]<<0x10|_0x131926[_0x3d71a0>>>0x8&0xff]<<0x8|_0x131926[_0x3d71a0&0xff],_0x3d71a0^=_0x28b4cf[_0xf2d7a1/_0x362051|0x0]<<0x18),_0x2c3419[_0xf2d7a1]=_0x2c3419[_0xf2d7a1-_0x362051]^_0x3d71a0);for(var _0x28ab66=this['_invKeySchedule']=[],_0x4c9fc7=0x0;_0x4c9fc7<_0x5d0dfe;_0x4c9fc7++){var _0xf2d7a1=_0x5d0dfe-_0x4c9fc7;if(_0x4c9fc7%0x4)var _0x3d71a0=_0x2c3419[_0xf2d7a1];else var _0x3d71a0=_0x2c3419[_0xf2d7a1-0x4];_0x4c9fc7<0x4||_0xf2d7a1<=0x4?_0x28ab66[_0x4c9fc7]=_0x3d71a0:_0x28ab66[_0x4c9fc7]=_0x2b59cc[_0x131926[_0x3d71a0>>>0x18]]^_0x3a8bf4[_0x131926[_0x3d71a0>>>0x10&0xff]]^_0x4e45a1[_0x131926[_0x3d71a0>>>0x8&0xff]]^_0x5c1aee[_0x131926[_0x3d71a0&0xff]];}}},'encryptBlock':function(_0x1602eb,_0x468bb4){var _0x475415=_0xe85fb4;this[_0x475415(0x26a)](_0x1602eb,_0x468bb4,this[_0x475415(0x3be)],_0x227385,_0x291111,_0x5de7f8,_0x57b7b9,_0x131926);},'decryptBlock':function(_0x1fa4f,_0x15fec4){var _0x5d757a=_0xe85fb4,_0x9eeb94=_0x1fa4f[_0x15fec4+0x1];_0x1fa4f[_0x15fec4+0x1]=_0x1fa4f[_0x15fec4+0x3],_0x1fa4f[_0x15fec4+0x3]=_0x9eeb94,this[_0x5d757a(0x26a)](_0x1fa4f,_0x15fec4,this['_invKeySchedule'],_0x2b59cc,_0x3a8bf4,_0x4e45a1,_0x5c1aee,_0x715a5f);var _0x9eeb94=_0x1fa4f[_0x15fec4+0x1];_0x1fa4f[_0x15fec4+0x1]=_0x1fa4f[_0x15fec4+0x3],_0x1fa4f[_0x15fec4+0x3]=_0x9eeb94;},'_doCryptBlock':function(_0x11e8ed,_0x305ff8,_0xcce435,_0xcdc0e3,_0x20c228,_0xae11af,_0x27d9d8,_0x31b453){var _0x1c3925=_0xe85fb4;for(var _0x279805=this[_0x1c3925(0x2d7)],_0x46121c=_0x11e8ed[_0x305ff8]^_0xcce435[0x0],_0x3318c6=_0x11e8ed[_0x305ff8+0x1]^_0xcce435[0x1],_0x19309a=_0x11e8ed[_0x305ff8+0x2]^_0xcce435[0x2],_0x222e04=_0x11e8ed[_0x305ff8+0x3]^_0xcce435[0x3],_0x1549d0=0x4,_0x562c10=0x1;_0x562c10<_0x279805;_0x562c10++){var _0x166e46=_0xcdc0e3[_0x46121c>>>0x18]^_0x20c228[_0x3318c6>>>0x10&0xff]^_0xae11af[_0x19309a>>>0x8&0xff]^_0x27d9d8[_0x222e04&0xff]^_0xcce435[_0x1549d0++],_0xe27a40=_0xcdc0e3[_0x3318c6>>>0x18]^_0x20c228[_0x19309a>>>0x10&0xff]^_0xae11af[_0x222e04>>>0x8&0xff]^_0x27d9d8[_0x46121c&0xff]^_0xcce435[_0x1549d0++],_0x353da8=_0xcdc0e3[_0x19309a>>>0x18]^_0x20c228[_0x222e04>>>0x10&0xff]^_0xae11af[_0x46121c>>>0x8&0xff]^_0x27d9d8[_0x3318c6&0xff]^_0xcce435[_0x1549d0++],_0x2dc5be=_0xcdc0e3[_0x222e04>>>0x18]^_0x20c228[_0x46121c>>>0x10&0xff]^_0xae11af[_0x3318c6>>>0x8&0xff]^_0x27d9d8[_0x19309a&0xff]^_0xcce435[_0x1549d0++];_0x46121c=_0x166e46,_0x3318c6=_0xe27a40,_0x19309a=_0x353da8,_0x222e04=_0x2dc5be;}var _0x166e46=(_0x31b453[_0x46121c>>>0x18]<<0x18|_0x31b453[_0x3318c6>>>0x10&0xff]<<0x10|_0x31b453[_0x19309a>>>0x8&0xff]<<0x8|_0x31b453[_0x222e04&0xff])^_0xcce435[_0x1549d0++],_0xe27a40=(_0x31b453[_0x3318c6>>>0x18]<<0x18|_0x31b453[_0x19309a>>>0x10&0xff]<<0x10|_0x31b453[_0x222e04>>>0x8&0xff]<<0x8|_0x31b453[_0x46121c&0xff])^_0xcce435[_0x1549d0++],_0x353da8=(_0x31b453[_0x19309a>>>0x18]<<0x18|_0x31b453[_0x222e04>>>0x10&0xff]<<0x10|_0x31b453[_0x46121c>>>0x8&0xff]<<0x8|_0x31b453[_0x3318c6&0xff])^_0xcce435[_0x1549d0++],_0x2dc5be=(_0x31b453[_0x222e04>>>0x18]<<0x18|_0x31b453[_0x46121c>>>0x10&0xff]<<0x10|_0x31b453[_0x3318c6>>>0x8&0xff]<<0x8|_0x31b453[_0x19309a&0xff])^_0xcce435[_0x1549d0++];_0x11e8ed[_0x305ff8]=_0x166e46,_0x11e8ed[_0x305ff8+0x1]=_0xe27a40,_0x11e8ed[_0x305ff8+0x2]=_0x353da8,_0x11e8ed[_0x305ff8+0x3]=_0x2dc5be;},'keySize':0x100/0x20});_0x51df58[_0xe85fb4(0x2f8)]=_0x45b321[_0xe85fb4(0x271)](_0x261ff9);}()),_0x91392f[_0xb17a6f(0x2f8)];}));}(Ve)),Ve[_0x2a2d2f(0x1d9)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x12ec3c(0x1d9)],ai;function xs(){var _0x153107=_0x12ec3c;return ai||(ai=0x1,function(_0x2277a4,_0x182274){(function(_0x5322e2,_0x340136){var _0x27187f=_0x7e46;_0x2277a4[_0x27187f(0x1d9)]=_0x340136(ie());}(Ls,function(_0x548082){var _0x5eee5e=_0x7e46;return _0x548082[_0x5eee5e(0x2ba)][_0x5eee5e(0x2ce)];}));}(Xe)),Xe[_0x153107(0x1d9)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x12ec3c(0x1d9)],oi;function Hs(){return oi||(oi=0x1,function(_0x5ab60b,_0x4f97b3){(function(_0x2acf7b,_0xbd6909){var _0x4ca901=_0x7e46;_0x5ab60b[_0x4ca901(0x1d9)]=_0xbd6909(ie());}($s,function(_0x226b81){var _0x46eafd=_0x7e46;return(function(){var _0x560a11=_0x7e46;if(typeof ArrayBuffer=='function'){var _0x56bb28=_0x226b81,_0x3d8d50=_0x56bb28[_0x560a11(0x313)],_0x37eb13=_0x3d8d50[_0x560a11(0x1c4)],_0xcfcf6c=_0x37eb13['init'],_0x1f80e7=_0x37eb13[_0x560a11(0x2b6)]=function(_0x1ffb76){var _0x2d4f5c=_0x560a11;if(_0x1ffb76 instanceof ArrayBuffer&&(_0x1ffb76=new Uint8Array(_0x1ffb76)),(_0x1ffb76 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ffb76 instanceof Uint8ClampedArray||_0x1ffb76 instanceof Int16Array||_0x1ffb76 instanceof Uint16Array||_0x1ffb76 instanceof Int32Array||_0x1ffb76 instanceof Uint32Array||_0x1ffb76 instanceof Float32Array||_0x1ffb76 instanceof Float64Array)&&(_0x1ffb76=new Uint8Array(_0x1ffb76[_0x2d4f5c(0x406)],_0x1ffb76[_0x2d4f5c(0x2c5)],_0x1ffb76[_0x2d4f5c(0x419)])),_0x1ffb76 instanceof Uint8Array){for(var _0x440ffb=_0x1ffb76['byteLength'],_0xa7563=[],_0x3e2b5d=0x0;_0x3e2b5d<_0x440ffb;_0x3e2b5d++)_0xa7563[_0x3e2b5d>>>0x2]|=_0x1ffb76[_0x3e2b5d]<<0x18-_0x3e2b5d%0x4*0x8;_0xcfcf6c[_0x2d4f5c(0x288)](this,_0xa7563,_0x440ffb);}else _0xcfcf6c['apply'](this,arguments);};_0x1f80e7[_0x560a11(0x291)]=_0x37eb13;}}()),_0x226b81[_0x46eafd(0x313)][_0x46eafd(0x1c4)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x12ec3c(0x1d9)],ci;function Vs(){return ci||(ci=0x1,function(_0x437e43,_0x2446bb){(function(_0x4765c9,_0x27758a,_0x1b8d91){var _0x493560=_0x7e46;_0x437e43[_0x493560(0x1d9)]=_0x27758a(ie(),Ai());}(Fs,function(_0x258395){var _0x5177e9=_0x7e46;return _0x258395['pad'][_0x5177e9(0x1e0)]={'pad':function(){},'unpad':function(){}},_0x258395[_0x5177e9(0x294)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x332f45,_0x1631ba){var _0xc1d2b4=_0x12ec3c;const _0x40d991=_0x1631ba-_0x332f45['length']%_0x1631ba,_0x5270a0=String['fromCharCode'](_0x40d991)[_0xc1d2b4(0x330)](_0x40d991);return _0x332f45+_0x5270a0;}function Ys(_0xe0b28d,_0x6f7257){var _0x431e1e=_0x12ec3c;const _0x295c18=js[_0x431e1e(0x3d4)](0x10),_0xf12674=Ks(_0xe0b28d,0x10),_0x1371d2=ws[_0x431e1e(0x2db)](ks[_0x431e1e(0x341)](_0xf12674),ri[_0x431e1e(0x341)](_0x6f7257),{'iv':_0x295c18,'padding':Ws});return _0x295c18[_0x431e1e(0x359)](_0x1371d2['ciphertext'])[_0x431e1e(0x433)](ri);}function qs(){var _0x46d72b=_0x12ec3c;const _0x22e9d6=_0x4bd7c5()[_0x46d72b(0x398)];if(_0x22e9d6){const _0x51cad0={'time':Math[_0x46d72b(0x36a)](Date['now']()/0x3e8),'domain':location[_0x46d72b(0x249)]};return Ys(JSON[_0x46d72b(0x32c)](_0x51cad0),_0x22e9d6);}}var zs=Object[_0x12ec3c(0x1d4)],Js=(_0x561591,_0x140c00,_0x71b3be,_0x554b90)=>{var _0x1cbe7e=_0x12ec3c;for(var _0x196466=_0x554b90>0x1?void 0x0:_0x554b90?zs(_0x140c00,_0x71b3be):_0x140c00,_0xe3bb3d=_0x561591[_0x1cbe7e(0x3e1)]-0x1,_0x331c2d;_0xe3bb3d>=0x0;_0xe3bb3d--)(_0x331c2d=_0x561591[_0xe3bb3d])&&(_0x196466=_0x331c2d(_0x196466)||_0x196466);return _0x196466;},Xs=(_0xd22d1,_0x302645)=>(_0x5e316b,_0x22ba49)=>_0x302645(_0x5e316b,_0x22ba49,_0xd22d1);let at=class{constructor(_0x321877){var _0x467db8=_0x12ec3c;this[_0x467db8(0x303)]=_0x321877,this[_0x467db8(0x25d)]();}['_initRequestHeader'](){var _0x287314=_0x12ec3c;this[_0x287314(0x303)][_0x287314(0x423)]({'interceptor':(_0x58cf7f,_0x927c90)=>{var _0x499c6b=_0x287314;const _0x3cb228=_0x58cf7f[_0x499c6b(0x344)],_0x572c37=qs();return _0x572c37&&_0x3cb228['set'](_0x499c6b(0x3aa),_0x572c37),_0x927c90(_0x58cf7f);}});}};at=Js([Xs(0x0,_0xcdde00(_0x4d96c8))],at);var Zs=Object[_0x12ec3c(0x1d4)],Qs=(_0x55973e,_0x5113df,_0x27cb69,_0x8e4af3)=>{var _0x2b4782=_0x12ec3c;for(var _0x3df293=_0x8e4af3>0x1?void 0x0:_0x8e4af3?Zs(_0x5113df,_0x27cb69):_0x5113df,_0x4841d3=_0x55973e[_0x2b4782(0x3e1)]-0x1,_0x164a09;_0x4841d3>=0x0;_0x4841d3--)(_0x164a09=_0x55973e[_0x4841d3])&&(_0x3df293=_0x164a09(_0x3df293)||_0x3df293);return _0x3df293;},mt=(_0x26841b,_0x62cdad)=>(_0x171104,_0x258f74)=>_0x62cdad(_0x171104,_0x258f74,_0x26841b);let bt=class extends _0x221eab{constructor(_0xd272c2,_0x49af0e,_0x2bde4b){var _0x21dcbc=_0x12ec3c;super(),N(this,_0x21dcbc(0x1ba),new _0x3eca50(null)),N(this,'unitInfo$',this[_0x21dcbc(0x1ba)][_0x21dcbc(0x3e5)]()),(this[_0x21dcbc(0x218)]=_0xd272c2,this[_0x21dcbc(0x31c)]=_0x49af0e,this[_0x21dcbc(0x1f9)]=_0x2bde4b);}async['loadUnit'](_0x28efd6,_0x552d3e,_0x4b304c){var _0x381242=_0x12ec3c;this[_0x381242(0x1ba)][_0x381242(0x1fa)]({'unitId':_0x28efd6,'type':_0x552d3e,'subUnitId':_0x4b304c});let _0x5c03fd=null;switch(_0x552d3e){case Q[_0x381242(0x397)]:{_0x5c03fd=await this['_loadSheet'](_0x28efd6);break;}case Q[_0x381242(0x374)]:{_0x5c03fd=await this[_0x381242(0x170)](_0x28efd6);break;}default:{this['_logService']['error'](_0x381242(0x2bd),_0x381242(0x26c));break;}}return _0x5c03fd;}async[_0x12ec3c(0x2e7)](_0x31c219){var _0x42dda9=_0x12ec3c,_0x3c4bfe;let _0x4c3b9b=0x0;const _0x3c9a07=await((_0x3c4bfe=this['_localCacheService'])==null?void 0x0:_0x3c4bfe[_0x42dda9(0x427)](_0x31c219));return _0x3c9a07&&(_0x3c9a07['awaitingChangeset']||_0x3c9a07[_0x42dda9(0x328)][_0x42dda9(0x3e1)]!==0x0)&&(_0x4c3b9b=_0x3c9a07[_0x42dda9(0x1cf)]),_0x4c3b9b===0x0&&this[_0x42dda9(0x218)][_0x42dda9(0x2aa)](_0x42dda9(0x2bd),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x42dda9(0x23d)](_0x31c219,_0x4c3b9b);}async[_0x12ec3c(0x170)](_0x50dfa5){var _0x150f70=_0x12ec3c,_0x454500;let _0x544d02=0x0;const _0x4fb130=await((_0x454500=this[_0x150f70(0x1f9)])==null?void 0x0:_0x454500[_0x150f70(0x427)](_0x50dfa5));return _0x4fb130&&(_0x4fb130[_0x150f70(0x3b2)]||_0x4fb130[_0x150f70(0x328)][_0x150f70(0x3e1)]!==0x0)&&(_0x544d02=_0x4fb130['rev']),_0x544d02===0x0&&this[_0x150f70(0x218)][_0x150f70(0x2aa)](_0x150f70(0x2bd),_0x150f70(0x2e2)),this[_0x150f70(0x31c)][_0x150f70(0x354)](_0x50dfa5,_0x544d02);}};bt=Qs([mt(0x0,_0x4c4c08),mt(0x1,_0xcdde00(_0x294bcb)),mt(0x2,_0x92c5af(J))],bt);var er=Object[_0x12ec3c(0x1d4)],tr=(_0x5460f0,_0x86f88e,_0x58e61a,_0x3997a8)=>{for(var _0x163f07=_0x3997a8>0x1?void 0x0:_0x3997a8?er(_0x86f88e,_0x58e61a):_0x86f88e,_0xb6d35c=_0x5460f0['length']-0x1,_0x3b06f7;_0xb6d35c>=0x0;_0xb6d35c--)(_0x3b06f7=_0x5460f0[_0xb6d35c])&&(_0x163f07=_0x3b06f7(_0x163f07)||_0x163f07);return _0x163f07;},gt=(_0x7e699f,_0x3d9029)=>(_0x38a760,_0x5e9123)=>_0x3d9029(_0x38a760,_0x5e9123,_0x7e699f);const ir=[_0x12ec3c(0x1cd),_0x12ec3c(0x417),'image/jpg','image/gif',_0x12ec3c(0x186)],nr=0x5*0x400*0x400,sr=_0x12ec3c(0x305),rr=_0x12ec3c(0x3da),ar=_0x12ec3c(0x272),or='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x48a9e2,_0x9e3950,_0x2598a4){var _0x1a31ab=_0x12ec3c;N(this,'_waitCount',0x0),N(this,_0x1a31ab(0x426),new _0x238823()),N(this,_0x1a31ab(0x2d1),this[_0x1a31ab(0x426)]),N(this,'_imageSourceCache',new Map()),(this[_0x1a31ab(0x303)]=_0x48a9e2,this[_0x1a31ab(0x2bf)]=_0x9e3950,this['_univerInstanceService']=_0x2598a4);}[_0x12ec3c(0x172)](_0x5b2243){var _0x3d523d=_0x12ec3c;this[_0x3d523d(0x346)]=_0x5b2243,this[_0x3d523d(0x426)][_0x3d523d(0x1fa)](_0x5b2243);}['getImageSourceCache'](_0x11b4fd,_0x2c9da4){var _0x5cae02=_0x12ec3c;if(_0x2c9da4===_0x5294e5['BASE64']){const _0x5c3b18=new Image();return _0x5c3b18[_0x5cae02(0x28a)]=_0x11b4fd,_0x5c3b18;}return this[_0x5cae02(0x169)]['get'](_0x11b4fd);}['addImageSourceCache'](_0x519adb,_0x4c8039,_0x4b2ed7){var _0x18a827=_0x12ec3c;_0x4c8039===_0x5294e5[_0x18a827(0x3fb)]||_0x4b2ed7==null||this[_0x18a827(0x169)][_0x18a827(0x2f7)](_0x519adb,_0x4b2ed7);}async['getImage'](_0x5d4e1d){var _0x2a1c97=_0x12ec3c;try{const _0x5eb5df=this[_0x2a1c97(0x342)](this[_0x2a1c97(0x350)](),''+_0x5d4e1d),_0x4761c5=(await this[_0x2a1c97(0x303)][_0x2a1c97(0x2e0)](_0x5eb5df))[_0x2a1c97(0x411)];if(_0x4761c5[_0x2a1c97(0x1e8)]&&_0x4761c5['error']['code']===Si['OK']){const _0x43c7a0=new URL(_0x4761c5[_0x2a1c97(0x3a9)],this[_0x2a1c97(0x1d8)]())['toString']();return Promise['resolve'](_0x43c7a0);}return Promise['reject'](_0x4761c5['error']);}catch(_0x194abb){return Promise[_0x2a1c97(0x3e4)](_0x194abb);}}async[_0x12ec3c(0x400)](_0x4305a9){var _0x27ed22=_0x12ec3c;let _0x1407ad='';if(!ir[_0x27ed22(0x1e6)](_0x4305a9[_0x27ed22(0x237)]))return this['_decreaseWaiting'](),Promise[_0x27ed22(0x3e4)](new Error(_0x1b2ce7['ERROR_IMAGE_TYPE']));if(_0x4305a9['size']>nr)return this[_0x27ed22(0x3e2)](),Promise[_0x27ed22(0x3e4)](new Error(_0x1b2ce7[_0x27ed22(0x387)]));try{const _0x12f355=new FormData();_0x12f355['append'](_0x27ed22(0x2f0),_0x4305a9);const _0x1687da=this[_0x27ed22(0x248)][_0x27ed22(0x381)](),_0x22da92=_0x1687da==null?void 0x0:_0x1687da['getUnitId']();if(!_0x22da92)throw new Error(_0x27ed22(0x3b4));const _0x32d23a=this[_0x27ed22(0x2e8)]()+'?size='+_0x4305a9[_0x27ed22(0x2c6)]['toString']()+_0x27ed22(0x34b)+Ei[_0x27ed22(0x200)]+_0x27ed22(0x444)+encodeURIComponent(_0x22da92),_0x1a52d8=await(await fetch(_0x32d23a,{'method':_0x27ed22(0x372),'body':_0x12f355}))['json']();if(typeof _0x1a52d8[_0x27ed22(0x338)]!='string')return this[_0x27ed22(0x3e2)](),Promise[_0x27ed22(0x3e4)](new Error(_0x1b2ce7[_0x27ed22(0x438)]));_0x1407ad=_0x1a52d8[_0x27ed22(0x338)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1b2ce7[_0x27ed22(0x438)]));}return new Promise((_0x2c2be5,_0x5a7fed)=>{const _0x5f5403=new FileReader();_0x5f5403['readAsDataURL'](_0x4305a9),_0x5f5403['onload']=_0xe17f46=>{var _0xb2a3b9=_0x7e46,_0x4c3163;const _0x4d894d=(_0x4c3163=_0xe17f46[_0xb2a3b9(0x3c4)])==null?void 0x0:_0x4c3163[_0xb2a3b9(0x383)];if(_0x4d894d==null){this[_0xb2a3b9(0x3e2)](),_0x5a7fed(new Error(_0x1b2ce7[_0xb2a3b9(0x438)]));return;}const _0x1f6e86=_0x325393[_0xb2a3b9(0x38d)](0x6);_0x2c2be5({'imageId':_0x1f6e86,'imageSourceType':_0x5294e5['UUID'],'source':_0x1407ad,'base64Cache':_0x4d894d,'status':_0x1b2ce7['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x35305b=_0x12ec3c,_0x4ed702,_0x4b9c0b;const _0x4855a1=this[_0x35305b(0x2bf)][_0x35305b(0x235)](sr),_0x3cc581=this[_0x35305b(0x2bf)][_0x35305b(0x235)](q);return(_0x4b9c0b=(_0x4ed702=_0x3cc581==null?void 0x0:_0x3cc581['uploadFileServerUrl'])!=null?_0x4ed702:_0x4855a1)!=null?_0x4b9c0b:rr;}[_0x12ec3c(0x350)](){var _0x35a6ef=_0x12ec3c,_0x989bd,_0x1a79fe;const _0x13c29b=this[_0x35a6ef(0x2bf)]['getConfig'](ar),_0x1a01b5=this[_0x35a6ef(0x2bf)][_0x35a6ef(0x235)](q);return(_0x1a79fe=(_0x989bd=_0x1a01b5==null?void 0x0:_0x1a01b5[_0x35a6ef(0x440)])!=null?_0x989bd:_0x13c29b)!=null?_0x1a79fe:or;}[_0x12ec3c(0x1d8)](){var _0x4b5b0b=_0x12ec3c,_0x10db5b;const _0x3e7000=this[_0x4b5b0b(0x2bf)][_0x4b5b0b(0x235)](q);return(_0x10db5b=_0x3e7000==null?void 0x0:_0x3e7000[_0x4b5b0b(0x279)])!=null?_0x10db5b:location[_0x4b5b0b(0x28c)];}[_0x12ec3c(0x342)](_0x4bb5d3,_0x14be6e){var _0x1d82d8=_0x12ec3c;return _0x4bb5d3['replace'](_0x1d82d8(0x2dc),_0x14be6e);}[_0x12ec3c(0x3e2)](){var _0x5ee858=_0x12ec3c;this[_0x5ee858(0x346)]-=0x1,this[_0x5ee858(0x426)][_0x5ee858(0x1fa)](this[_0x5ee858(0x346)]);}};yt=tr([gt(0x0,_0xcdde00(_0x4d96c8)),gt(0x1,_0x1a732b),gt(0x2,_0xcdde00(_0x72f3ae))],yt);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x32d207,_0x42bd7e,_0x5459e1,_0x5c6d6e)=>{var _0x124a84=_0x12ec3c;for(var _0x10179f=_0x5c6d6e>0x1?void 0x0:_0x5c6d6e?cr(_0x42bd7e,_0x5459e1):_0x42bd7e,_0x22f06b=_0x32d207[_0x124a84(0x3e1)]-0x1,_0x49c261;_0x22f06b>=0x0;_0x22f06b--)(_0x49c261=_0x32d207[_0x22f06b])&&(_0x10179f=_0x49c261(_0x10179f)||_0x10179f);return _0x10179f;},hi=(_0x5e0965,_0x5c2532)=>(_0x49fd00,_0x2591d9)=>_0x5c2532(_0x49fd00,_0x2591d9,_0x5e0965);const _r=_0x12ec3c(0x3f2);let Ot=class{constructor(_0x13b131,_0x1d254d){var _0x463962=_0x12ec3c;this['_configService']=_0x13b131,this[_0x463962(0x33c)]=_0x1d254d;}['_getAPIPrefixPath'](){var _0x4ca25f=_0x12ec3c,_0x4944bd,_0x30e9b6;const _0x5111c8=this[_0x4ca25f(0x2bf)][_0x4ca25f(0x235)](Ni),_0x2b2fd1=this[_0x4ca25f(0x2bf)][_0x4ca25f(0x235)](q);return(_0x30e9b6=(_0x4944bd=_0x2b2fd1==null?void 0x0:_0x2b2fd1[_0x4ca25f(0x306)])!=null?_0x4944bd:_0x5111c8)!=null?_0x30e9b6:_r;}async[_0x12ec3c(0x1a4)](_0x351c67){var _0x109f54=_0x12ec3c;const _0x2e8c12=this[_0x109f54(0x36c)]()+_0x109f54(0x245);return{'list':[{'title':_0x109f54(0x2f1),'mentions':(await this['_HTTPService'][_0x109f54(0x2e0)](_0x2e8c12,{'params':{'objectID':_0x351c67['unitId'],'unitID':_0x351c67['unitId']}}))['body'][_0x109f54(0x1df)][_0x109f54(0x413)](_0x58717b=>({'objectId':_0x58717b['id'],'name':_0x58717b['subject'][_0x109f54(0x1f6)],'metadata':{'icon':_0x58717b[_0x109f54(0x2c2)][_0x109f54(0x30c)]},'label':_0x58717b[_0x109f54(0x2c2)][_0x109f54(0x1f6)],'objectType':_0x19a2e2[_0x109f54(0x280)]})),'metadata':{},'type':_0x19a2e2[_0x109f54(0x280)]}]};}};Ot=hr([hi(0x0,_0xcdde00(_0x1a732b)),hi(0x1,_0xcdde00(_0x4d96c8))],Ot);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x2c8e17,_0x36d23c,_0xa98e50,_0x40b514)=>{var _0x238e9c=_0x12ec3c;for(var _0x1bc1d6=_0x40b514>0x1?void 0x0:_0x40b514?lr(_0x36d23c,_0xa98e50):_0x36d23c,_0x3a94a6=_0x2c8e17[_0x238e9c(0x3e1)]-0x1,_0x3cdcf8;_0x3a94a6>=0x0;_0x3a94a6--)(_0x3cdcf8=_0x2c8e17[_0x3a94a6])&&(_0x1bc1d6=_0x3cdcf8(_0x1bc1d6)||_0x1bc1d6);return _0x1bc1d6;},we=(_0x487d88,_0x4e7465)=>(_0x3f8edd,_0x7b5363)=>_0x4e7465(_0x3f8edd,_0x7b5363,_0x487d88);let ot=class extends _0x221eab{constructor(_0x4a7879,_0x55ef88,_0x79420d,_0x3df470,_0x23ec7d){var _0x39b293=_0x12ec3c;super(),this[_0x39b293(0x1d0)]=_0x4a7879,this[_0x39b293(0x248)]=_0x55ef88,this[_0x39b293(0x16d)]=_0x79420d,this[_0x39b293(0x1d6)]=_0x3df470,this[_0x39b293(0x355)]=_0x23ec7d,this[_0x39b293(0x41a)](),this[_0x39b293(0x343)]();}['_initCloseConn'](){var _0x1fc04f=_0x12ec3c;const _0x2c9647=async _0x26656a=>{var _0x316116=_0x7e46;(await this[_0x316116(0x1d6)]['requireSession'](_0x26656a))[_0x316116(0x360)]['pipe'](_0x217676(_0x2ae994=>_0x2ae994[_0x316116(0x244)]===_0x3cdc31['SHOULD_CLOSE_CONN']),_0x2a804a(this['dispose$']))['subscribe'](_0x332a0d=>{var _0x55ad4b=_0x316116;const _0x10eac6=_0x332a0d,{reason:_0x2da1d8}=_0x10eac6[_0x55ad4b(0x25e)];this[_0x55ad4b(0x355)][_0x55ad4b(0x2ea)]({'id':re[_0x55ad4b(0x3c9)],'data':_0x2da1d8}),this[_0x55ad4b(0x16d)]['updatePermissionPoint'](new _0x2b9c60(_0x26656a)['id'],!0x1),this[_0x55ad4b(0x1d6)]['closeSession'](_0x26656a);});};_0x1c8303(this[_0x1fc04f(0x248)]['getTypeOfUnitAdded$'](_0xa8cbc9['UNIVER_SHEET']),this[_0x1fc04f(0x248)]['getTypeOfUnitAdded$'](_0xa8cbc9[_0x1fc04f(0x374)]))[_0x1fc04f(0x275)](_0x378e98(_0x22b7d6=>_0x22b7d6[_0x1fc04f(0x3f7)]()),_0x217676(_0x400e43=>!_0x361694(_0x400e43)),_0x2a804a(this[_0x1fc04f(0x41e)]))['subscribe'](_0x542019=>{_0x2c9647(_0x542019);});}[_0x12ec3c(0x41a)](){var _0x11b520=_0x12ec3c;const _0x424e0d=async _0x28f95c=>{var _0x7ddc7=_0x7e46;const _0xc41e86=await this[_0x7ddc7(0x1d6)][_0x7ddc7(0x1bf)](_0x28f95c),_0x50de3c=this[_0x7ddc7(0x1d0)][_0x7ddc7(0x2e0)](_0x9908dd);_0xc41e86[_0x7ddc7(0x360)][_0x7ddc7(0x275)](_0x217676(_0x37f6c7=>_0x37f6c7[_0x7ddc7(0x244)]===_0x3cdc31['UPDATE_PERMISSION_OBJ']),_0x2a804a(this[_0x7ddc7(0x41e)]))[_0x7ddc7(0x209)](_0xd6361f=>{var _0x573ea6=_0x7ddc7;const _0x51f28c=_0xd6361f,{objectId:_0x172e06}=_0x51f28c[_0x573ea6(0x25e)];_0x172e06===_0x28f95c?_0x50de3c[_0x573ea6(0x26b)](_0x28f95c):_0x50de3c[_0x573ea6(0x2f3)](_0x28f95c,_0x172e06);});};_0x1c8303(this[_0x11b520(0x248)][_0x11b520(0x31a)](_0xa8cbc9[_0x11b520(0x397)]))['pipe'](_0x378e98(_0x519cc0=>_0x519cc0[_0x11b520(0x3f7)]()),_0x217676(_0x3c0874=>!_0x361694(_0x3c0874)),_0x2a804a(this[_0x11b520(0x41e)]))['subscribe'](_0x28516c=>{_0x424e0d(_0x28516c);});}};ot=ur([we(0x0,_0xcdde00(_0x3ac3e0)),we(0x1,_0x72f3ae),we(0x2,_0x1f8e18),we(0x3,_0xcdde00(xe)),we(0x4,_0xcdde00(pe))],ot);var dr=Object[_0x12ec3c(0x1d4)],fr=(_0x8a5c78,_0x4c2222,_0x4deb11,_0x135260)=>{var _0x3040f2=_0x12ec3c;for(var _0x217cca=_0x135260>0x1?void 0x0:_0x135260?dr(_0x4c2222,_0x4deb11):_0x4c2222,_0x1fb694=_0x8a5c78[_0x3040f2(0x3e1)]-0x1,_0x4cac0d;_0x1fb694>=0x0;_0x1fb694--)(_0x4cac0d=_0x8a5c78[_0x1fb694])&&(_0x217cca=_0x4cac0d(_0x217cca)||_0x217cca);return _0x217cca;},_i=(_0x1beb01,_0x3729c3)=>(_0x2290c5,_0x4eb1d3)=>_0x3729c3(_0x2290c5,_0x4eb1d3,_0x1beb01);let Nt=class{constructor(_0x4b0ab7,_0x327757){var _0x1d29fa=_0x12ec3c;this[_0x1d29fa(0x2bf)]=_0x4b0ab7,this[_0x1d29fa(0x303)]=_0x327757;}async[_0x12ec3c(0x34f)](_0x1daeb2,_0x48a3c7){var _0x154b42=_0x12ec3c,_0x1b84d8;const {unitID:_0x7c9542,type:_0x306d55,revision:_0x3559d4=0x0}=_0x48a3c7,_0x25ca11=this['getSnapshotAPIPath']()+'/'+_0x306d55+'/unit/'+_0x7c9542+_0x154b42(0x31b)+_0x3559d4,_0x4c6c58=(await this[_0x154b42(0x303)]['get'](_0x25ca11))['body'],_0x267989=(_0x1b84d8=_0x4c6c58[_0x154b42(0x234)])==null?void 0x0:_0x1b84d8['workbook'];if(_0x267989){const _0x421046=_0x267989==null?void 0x0:_0x267989[_0x154b42(0x157)],_0x34d062=_0x28d806[_0x154b42(0x21c)](_0x401ad9(_0x421046));_0x267989['originalMeta']=_0x34d062,Object['entries'](_0x267989['sheets'])[_0x154b42(0x3eb)](([,_0x315937])=>{const _0x54ff1e=_0x315937['originalMeta'],_0x2f7434=_0x28d806['encode'](_0x401ad9(_0x54ff1e));_0x315937['originalMeta']=_0x2f7434;});}return _0x4c6c58;}async[_0x12ec3c(0x41f)](_0xfc5d09,_0x192601){var _0x446652=_0x12ec3c;const {unitID:_0x498045,type:_0x38eacb,blockID:_0x2009dc}=_0x192601,_0x27310e=this[_0x446652(0x3ea)]()+'/'+_0x38eacb+_0x446652(0x187)+_0x498045+'/block/'+_0x2009dc;return(await this['_httpService'][_0x446652(0x2e0)](_0x27310e))['body'];}async['getDeserializedSheetBlock'](_0x189435,_0x5f2d91){var _0x301640=_0x12ec3c;const {unitID:_0x47b410,type:_0x58c30e,blockID:_0x67ed36}=_0x5f2d91,_0x24e7db=this[_0x301640(0x3ea)]()+_0x301640(0x2de)+_0x58c30e+_0x301640(0x187)+_0x47b410+_0x301640(0x2de)+_0x67ed36;return(await this['_httpService'][_0x301640(0x2e0)](_0x24e7db))[_0x301640(0x411)];}async[_0x12ec3c(0x30b)](_0x30ce3f,_0x4a8419){var _0x5aa83c=_0x12ec3c;const {unitID:_0x7223a7,type:_0x4dc96f,from:_0x158e2a,to:_0x819e83}=_0x4a8419,_0x49dacf=this['_getAPIPrefix']()+'/'+_0x4dc96f+'/unit/'+_0x7223a7+'/fetchmissing?from='+_0x158e2a+_0x5aa83c(0x431)+_0x819e83;return(await this[_0x5aa83c(0x303)]['get'](_0x49dacf))[_0x5aa83c(0x411)];}[_0x12ec3c(0x2a2)](){var _0x1753ed=_0x12ec3c,_0x23507f;return(_0x23507f=this[_0x1753ed(0x2bf)][_0x1753ed(0x235)](Sn))!=null?_0x23507f:this['_getAPIPrefix']();}[_0x12ec3c(0x3ea)](){var _0x403aea=_0x12ec3c,_0x4053f5,_0x29043d;const _0xf80dc7=this[_0x403aea(0x2bf)][_0x403aea(0x235)](mn),_0x57c45f=this[_0x403aea(0x2bf)][_0x403aea(0x235)](q);return(_0x29043d=(_0x4053f5=_0x57c45f==null?void 0x0:_0x57c45f['snapshotServerUrl'])!=null?_0x4053f5:_0xf80dc7)!=null?_0x29043d:gn;}async[_0x12ec3c(0x1d3)](_0x661d29,_0x1b3c48){var _0x31fb66=_0x12ec3c;const _0x3f30dc=_0x31fb66(0x3c8)+_0x1b3c48[_0x31fb66(0x237)]+'/unit/'+_0x1b3c48[_0x31fb66(0x214)]+_0x31fb66(0x1b7);return(await this[_0x31fb66(0x303)][_0x31fb66(0x2e0)](_0x3f30dc,{'params':{'resourceId':JSON[_0x31fb66(0x32c)](_0x1b3c48['resourceIDs'])}}))[_0x31fb66(0x411)];}[_0x12ec3c(0x3dd)](){var _0x408361=_0x12ec3c;throw new Error(_0x408361(0x30f));}['saveSheetBlock'](){var _0x31111f=_0x12ec3c;throw new Error(_0x31111f(0x30f));}[_0x12ec3c(0x250)](){var _0x21c0f2=_0x12ec3c;throw new Error(_0x21c0f2(0x30f));}[_0x12ec3c(0x370)](){var _0x18b751=_0x12ec3c;throw new Error(_0x18b751(0x30f));}['getLatestCsReqIdBySid'](){var _0x2c0d61=_0x12ec3c;throw new Error(_0x2c0d61(0x30f));}};Nt=fr([_i(0x0,_0x1a732b),_i(0x1,_0xcdde00(_0x4d96c8))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x35ac55,_0x5e24bd,_0xf1e882,_0xa4a699)=>{for(var _0x450407=_0xa4a699>0x1?void 0x0:_0xa4a699?vr(_0x5e24bd,_0xf1e882):_0x5e24bd,_0x39bf1f=_0x35ac55['length']-0x1,_0x271f17;_0x39bf1f>=0x0;_0x39bf1f--)(_0x271f17=_0x35ac55[_0x39bf1f])&&(_0x450407=_0x271f17(_0x450407)||_0x450407);return _0x450407;},Pe=(_0x2101b9,_0x11e241)=>(_0x1db91d,_0x1f7f74)=>_0x11e241(_0x1db91d,_0x1f7f74,_0x2101b9);let Dt=class extends _0x387e91{constructor(_0x1f13d8,_0x469a46,_0x2f3ed8,_0x48487f,_0x257f81){var _0x2b6367=_0x12ec3c;super(_0x1f13d8,_0x469a46,_0x2f3ed8),this[_0x2b6367(0x3d2)]=_0x48487f,this['_logService']=_0x257f81;}['transformUndoRedo'](_0x34244c,_0x472a58){var _0x118b22=_0x12ec3c;const _0x4073f8=this[_0x118b22(0x289)](_0x34244c);if(_0x4073f8)try{const _0x3627f9=this[_0x118b22(0x2e5)](_0x4073f8,_0x472a58);this[_0x118b22(0x2f5)](_0x34244c,_0x3627f9);}catch(_0x4bfd8a){this['_logService'][_0x118b22(0x1e8)]('[CollaborationUndoRedoService]',_0x4bfd8a),this[_0x118b22(0x22c)](_0x34244c);}const _0x39d491=this[_0x118b22(0x3f6)](_0x34244c);if(_0x39d491)try{const _0x3c57d0=this[_0x118b22(0x2e5)](_0x39d491,_0x472a58);this['_substituteRedoStack'](_0x34244c,_0x3c57d0);}catch(_0x2a278c){this[_0x118b22(0x218)][_0x118b22(0x1e8)](_0x2a278c),this[_0x118b22(0x36e)](_0x34244c);}}[_0x12ec3c(0x22c)](_0x5a6dc3){var _0xa306b3=_0x12ec3c;const _0x469df5=this[_0xa306b3(0x289)](_0x5a6dc3);_0x469df5&&(_0x469df5[_0xa306b3(0x3e1)]=0x0,this[_0xa306b3(0x189)]());}[_0x12ec3c(0x36e)](_0xb0fedf){var _0x28a768=_0x12ec3c;const _0x49bb48=this[_0x28a768(0x3f6)](_0xb0fedf);_0x49bb48&&(_0x49bb48[_0x28a768(0x3e1)]=0x0,this[_0x28a768(0x189)]());}[_0x12ec3c(0x2f5)](_0x145af7,_0x1a4939){var _0x53e4f9=_0x12ec3c;this[_0x53e4f9(0x2ef)][_0x53e4f9(0x2f7)](_0x145af7,_0x1a4939),this[_0x53e4f9(0x189)]();}[_0x12ec3c(0x2cd)](_0x22e92d,_0xe77e7d){var _0x5c95ff=_0x12ec3c;this[_0x5c95ff(0x331)]['set'](_0x22e92d,_0xe77e7d),this['_updateStatus']();}[_0x12ec3c(0x2e5)](_0x5949a4,_0x2df164){var _0x27ea1f=_0x12ec3c;const _0x29dc1c=[];let _0x307599=_0x2df164,_0x5032b1=_0x2df164;for(let _0x555f87=_0x5949a4[_0x27ea1f(0x3e1)]-0x1;_0x555f87>=0x0;_0x555f87--){const {unitID:_0x5a84de,undoMutations:_0x572650,redoMutations:_0x218e5c}=_0x5949a4[_0x555f87],_0x4eb93d=this[_0x27ea1f(0x3d2)][_0x27ea1f(0x449)](_0x307599,_0x572650),_0xa202d6=this[_0x27ea1f(0x3d2)]['transformMutationsWithChangeset'](_0x5032b1,_0x218e5c);if(_0x391ae7(_0x4eb93d)||_0x391ae7(_0xa202d6)){this['_logService'][_0x27ea1f(0x1e8)](_0x27ea1f(0x33e),_0x27ea1f(0x19a),_0x4eb93d,_0xa202d6);break;}_0x307599=_0x4eb93d[_0x27ea1f(0x29d)],_0x5032b1=_0xa202d6[_0x27ea1f(0x29d)],_0x29dc1c[_0x27ea1f(0x404)]({'unitID':_0x5a84de,'undoMutations':_0x4eb93d['m2Prime'],'redoMutations':_0xa202d6[_0x27ea1f(0x44b)]});}return _0x29dc1c[_0x27ea1f(0x348)]();}};Dt=pr([Pe(0x0,_0x72f3ae),Pe(0x1,_0x1a6580),Pe(0x2,_0xe3af11),Pe(0x3,_0x10d518),Pe(0x4,_0x4c4c08)],Dt);var mr=Object[_0x12ec3c(0x2ed)],gr=Object[_0x12ec3c(0x1d4)],Sr=(_0x40b179,_0xdbf5e1,_0x3837e6)=>_0xdbf5e1 in _0x40b179?mr(_0x40b179,_0xdbf5e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3837e6}):_0x40b179[_0xdbf5e1]=_0x3837e6,Er=(_0x4732fd,_0x4fa2bf,_0xbbe73a,_0x1de21e)=>{var _0x461b5f=_0x12ec3c;for(var _0x12ad36=_0x1de21e>0x1?void 0x0:_0x1de21e?gr(_0x4fa2bf,_0xbbe73a):_0x4fa2bf,_0x5e32cc=_0x4732fd[_0x461b5f(0x3e1)]-0x1,_0x359845;_0x5e32cc>=0x0;_0x5e32cc--)(_0x359845=_0x4732fd[_0x5e32cc])&&(_0x12ad36=_0x359845(_0x12ad36)||_0x12ad36);return _0x12ad36;},St=(_0x44329b,_0xe1ce39)=>(_0x213d7d,_0x423639)=>_0xe1ce39(_0x213d7d,_0x423639,_0x44329b),Ir=(_0x10df5a,_0x1e0c12,_0x1d4dad)=>Sr(_0x10df5a,_0x1e0c12+'',_0x1d4dad);const Tr=_0x12ec3c(0x2f6);let Ut=class extends _0xc2147a{constructor(_0x1fdd84,_0xd38ba4,_0x2f5767,_0x1fc3bc){var _0x36f1fc=_0x12ec3c;super(),N(this,_0x36f1fc(0x1ce)),(this[_0x36f1fc(0x218)]=_0xd38ba4,this['_injector']=_0x2f5767,this[_0x36f1fc(0x2bf)]=_0x1fc3bc);const {..._0x5a58cb}=_0x188bea({},wn,_0x1fdd84);if(!_0x5a58cb[_0x36f1fc(0x240)])throw new Error(_0x36f1fc(0x160));this[_0x36f1fc(0x1ce)]=_0x5a58cb,this[_0x36f1fc(0x2bf)][_0x36f1fc(0x31f)](q,_0x5a58cb);}[_0x12ec3c(0x1db)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x12ec3c(0x315)](){var _0x21f8e1=_0x12ec3c,_0x527878,_0x3b7878;this[_0x21f8e1(0x1d0)][_0x21f8e1(0x2ec)](_0x4a8d19)&&this[_0x21f8e1(0x218)][_0x21f8e1(0x1e8)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a1ac0=_0xb75436([[_0x4a8d19,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x21f8e1(0x1ce)][_0x21f8e1(0x240)]}],[_0x25633b,{'useClass':Nt}],[_0x27972a,{'useClass':Rt}],[_0x553cca,{'useClass':yt}],[_0x20c66f,{'useClass':Ot}],[st],[Ct]],(_0x527878=this[_0x21f8e1(0x1ce)])==null?void 0x0:_0x527878['override']);if(!((_0x3b7878=this[_0x21f8e1(0x1ce)])!=null&&_0x3b7878['enableSingleActiveInstanceLock'])){const _0x430987=_0x5a1ac0[_0x21f8e1(0x3c3)](([_0x347850])=>_0x347850===ht);_0x430987!==-0x1&&_0x5a1ac0[_0x21f8e1(0x42d)](_0x430987,0x1);}_0x5f5a3d(this[_0x21f8e1(0x1d0)],_0x5a1ac0);}[_0x12ec3c(0x304)](){var _0x5297c8=_0x12ec3c,_0x27431f,_0x588217,_0x2150b9;this[_0x5297c8(0x1d0)][_0x5297c8(0x2e0)](_0x4d96c8)[_0x5297c8(0x423)]({'priority':0x14,'interceptor':_0x3de671({'maxParallel':0x6})}),(_0x27431f=this[_0x5297c8(0x1ce)])!=null&&_0x27431f['enableOfflineEditing']||(_0x588217=this[_0x5297c8(0x1d0)][_0x5297c8(0x2e0)](J,_0x4fa767[_0x5297c8(0x3b1)]))==null||_0x588217[_0x5297c8(0x175)](),(_0x2150b9=this['_config'])!=null&&_0x2150b9[_0x5297c8(0x32b)]&&_0x49e9ca(this[_0x5297c8(0x1d0)],[[rt]]),_0x49e9ca(this[_0x5297c8(0x1d0)],[[at],[st],[ot]]);}};Ir(Ut,_0x12ec3c(0x443),Tr),Ut=Er([_0x505fbb(_0x15a40d,_0x154ba2),St(0x1,_0x4c4c08),St(0x2,_0xcdde00(_0x3ac3e0)),St(0x3,_0x1a732b)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
1
+ var _0x43b0b2=_0x3f50;(function(_0x17441d,_0x26fcc8){var _0x560a35=_0x3f50,_0x54b3b3=_0x17441d();while(!![]){try{var _0x458880=-parseInt(_0x560a35(0x22b))/0x1*(parseInt(_0x560a35(0x162))/0x2)+parseInt(_0x560a35(0x24e))/0x3*(parseInt(_0x560a35(0x354))/0x4)+-parseInt(_0x560a35(0x1bb))/0x5*(parseInt(_0x560a35(0x3b3))/0x6)+parseInt(_0x560a35(0x156))/0x7+parseInt(_0x560a35(0x364))/0x8+-parseInt(_0x560a35(0x1a3))/0x9+parseInt(_0x560a35(0xe0))/0xa*(parseInt(_0x560a35(0x239))/0xb);if(_0x458880===_0x26fcc8)break;else _0x54b3b3['push'](_0x54b3b3['shift']());}catch(_0xf3b0ad){_0x54b3b3['push'](_0x54b3b3['shift']());}}}(_0x48e2,0xc6018));var wi=Object[_0x43b0b2(0x37f)],Pi=(_0x34b8ec,_0x5ce426,_0x4c3515)=>_0x5ce426 in _0x34b8ec?wi(_0x34b8ec,_0x5ce426,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3515}):_0x34b8ec[_0x5ce426]=_0x4c3515,N=(_0xee91e,_0xe49574,_0x1394a0)=>Pi(_0xee91e,typeof _0xe49574!=_0x43b0b2(0x217)?_0xe49574+'':_0xe49574,_0x1394a0);import{createIdentifier as _0x5de0c2,Inject as _0x2ffd40,Injector as _0x4f0850,IConfigService as _0x167670,ILogService as _0x1e90e1,Disposable as _0x203808,DisposableCollection as _0x198d2d,toDisposable as _0x29cf04,IUniverInstanceService as _0x5e61b9,UserManagerService as _0x2ce2e4,UniverInstanceType as _0x143937,LocaleService as _0x29e59f,Optional as _0x29dab8,RxDisposable as _0x34812f,Tools as _0x4e6303,Rectangle as _0x29a28b,ICommandService as _0x564f8e,JSONX as _0x1849ab,CommandType as _0xfe81c8,IUndoRedoService as _0x89eb02,IPermissionService as _0x30c700,sequenceExecute as _0x53c5af,Workbook as _0x285281,MentionType as _0x260802,isInternalEditorID as _0x1ffad5,LocalUndoRedoService as _0x496ec3,IContextService as _0x548ec0,DependentOn as _0x2f1092,Plugin as _0x34e22b,merge as _0x24b74b,mergeOverrideWithDependencies as _0x15c081,IAuthzIoService as _0x10c5b7,IMentionIOService as _0x4bea32,registerDependencies as _0x2dea0a,Quantity as _0x22f54a,touchDependencies as _0x5f0909}from'@univerjs/core';import{Subject as _0xa5a9dd,merge as _0x54b487,of as _0x170808,BehaviorSubject as _0x1de1f8,takeUntil as _0x5b0264,ReplaySubject as _0x41a43b,take as _0x48721f,map as _0x3da591,shareReplay as _0x245b5c,firstValueFrom as _0x250f32,concatMap as _0x5262df}from'rxjs';import{map as _0x5b4b25,take as _0x24450f,filter as _0x1cb4fc,delay as _0x50d1b5,takeUntil as _0xf7e5f0}from'rxjs/operators';import{CollaborationEvent as _0x2e7a75,ISnapshotServerService as _0x2a0c92,parseChangesetToProtocol as _0x4a2c7f,ITransformService as _0x218fca,isTransformMutationsWithChangesetSuccess as _0x43612d,mapDocumentTypeToUniverType as _0x59b5be,RevisionService as _0x1880c7,isTransformChangesetsSuccess as _0x3d9fc6,CompressMutationService as _0x5909fa,parseProtocolChangeset as _0x13c9b5,SnapshotService as _0x4bf841,textEncoder as _0xa78804,b64DecodeUnicode as _0x317360,isTransformMutationsWithChangesetFailure as _0x8540ec,UniverCollaborationPlugin as _0x54c53a}from'@univerjs-pro/collaboration';import{HTTPService as _0x4a85be,ISocketService as _0x291fbe,MergeInterceptorFactory as _0x4910cf,HTTPRequest as _0x1ac042,UniverNetworkPlugin as _0x460cd1,ThresholdInterceptorFactory as _0x43eb34}from'@univerjs/network';import{ITelemetryService as _0xa5a2a3}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3ab470}from'@univerjs/docs';import{SheetsSelectionsService as _0x2594b3,SetSelectionsOperation as _0x83dba0,InsertSheetMutation as _0x2d44e9,EmptyMutation as _0x2e470d,WorkbookEditablePermission as _0x3542fd,SheetPermissionInitController as _0x498719}from'@univerjs/sheets';import{ImageSourceType as _0x90a3c4,ImageUploadStatusType as _0x235e32,IImageIoService as _0x49c7eb}from'@univerjs/drawing';import{getGlobalObject as _0x23f053}from'@univerjs-pro/license';const mn=_0x43b0b2(0x1a1),gn=_0x43b0b2(0x363),Sn=_0x43b0b2(0x214),Lr=_0x43b0b2(0x3ae),En=0x7d0,In=_0x43b0b2(0x347),Tn=_0x43b0b2(0x2bc),xr='/universer-api/user/session-ticket',Cn=_0x43b0b2(0x338),Rn=0x7530,mi=_0x43b0b2(0x23a),gi=0x4e20,bn=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',On=0x3,Mr=_0x43b0b2(0x125),kr=0x3e8,Nn=_0x43b0b2(0x2dc),Dn=_0x43b0b2(0x36e),Un=_0x43b0b2(0x19f),An='/universer-api/oidc/authpage',$r=_0x43b0b2(0x23b),Hr=_0x43b0b2(0x36a);var Si=(_0x421b5a=>(_0x421b5a[_0x421b5a[_0x43b0b2(0x36b)]=0x0]='UNDEFINED',_0x421b5a[_0x421b5a['OK']=0x1]='OK',_0x421b5a[_0x421b5a[_0x43b0b2(0xc8)]=0x2]=_0x43b0b2(0xc8),_0x421b5a[_0x421b5a['PERMISSION_DENIED']=0x3]=_0x43b0b2(0x230),_0x421b5a[_0x421b5a[_0x43b0b2(0x1c2)]=0x4]='NOT_FOUND',_0x421b5a[_0x421b5a[_0x43b0b2(0x133)]=0x5]=_0x43b0b2(0x133),_0x421b5a[_0x421b5a[_0x43b0b2(0x2b3)]=0x6]=_0x43b0b2(0x2b3),_0x421b5a[_0x421b5a['INVALID_ARGUMENT']=0x7]=_0x43b0b2(0x149),_0x421b5a[_0x421b5a[_0x43b0b2(0x27a)]=0x8]=_0x43b0b2(0x27a),_0x421b5a[_0x421b5a[_0x43b0b2(0x147)]=0x9]=_0x43b0b2(0x147),_0x421b5a[_0x421b5a[_0x43b0b2(0x1ce)]=0xa]=_0x43b0b2(0x1ce),_0x421b5a[_0x421b5a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x43b0b2(0x37d),_0x421b5a[_0x421b5a[_0x43b0b2(0x2d2)]=0x1771]=_0x43b0b2(0x2d2),_0x421b5a[_0x421b5a[_0x43b0b2(0xcc)]=0x1772]=_0x43b0b2(0xcc),_0x421b5a[_0x421b5a[_0x43b0b2(0x209)]=0x1773]=_0x43b0b2(0x209),_0x421b5a[_0x421b5a[_0x43b0b2(0x101)]=0x1b59]=_0x43b0b2(0x101),_0x421b5a[_0x421b5a[_0x43b0b2(0x1e7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x421b5a[_0x421b5a[_0x43b0b2(0x276)]=0x1b5b]=_0x43b0b2(0x276),_0x421b5a[_0x421b5a[_0x43b0b2(0x218)]=0x1b5c]=_0x43b0b2(0x218),_0x421b5a[_0x421b5a['APPLY_DUPLICATED']=0x1b5d]=_0x43b0b2(0x38f),_0x421b5a[_0x421b5a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x43b0b2(0x293),_0x421b5a[_0x421b5a[_0x43b0b2(0x35c)]=0x2329]=_0x43b0b2(0x35c),_0x421b5a[_0x421b5a[_0x43b0b2(0x1f6)]=0x232a]=_0x43b0b2(0x1f6),_0x421b5a[_0x421b5a[_0x43b0b2(0x396)]=0x232b]=_0x43b0b2(0x396),_0x421b5a[_0x421b5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x421b5a[_0x421b5a[_0x43b0b2(0x1e4)]=0x232d]=_0x43b0b2(0x1e4),_0x421b5a[_0x421b5a[_0x43b0b2(0x1f0)]=0x2711]=_0x43b0b2(0x1f0),_0x421b5a[_0x421b5a[_0x43b0b2(0x1bd)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x421b5a[_0x421b5a[_0x43b0b2(0x19a)]=0x2713]=_0x43b0b2(0x19a),_0x421b5a[_0x421b5a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x43b0b2(0xbe),_0x421b5a[_0x421b5a[_0x43b0b2(0x31d)]=0x2af9]=_0x43b0b2(0x31d),_0x421b5a[_0x421b5a[_0x43b0b2(0x160)]=0x2ee1]=_0x43b0b2(0x160),_0x421b5a[_0x421b5a[_0x43b0b2(0x359)]=0x2ee2]=_0x43b0b2(0x359),_0x421b5a[_0x421b5a['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x421b5a[_0x421b5a[_0x43b0b2(0x115)]=0x2ee4]=_0x43b0b2(0x115),_0x421b5a[_0x421b5a[_0x43b0b2(0x264)]=0x2ee5]=_0x43b0b2(0x264),_0x421b5a[_0x421b5a[_0x43b0b2(0x2b2)]=0x32c9]=_0x43b0b2(0x2b2),_0x421b5a[_0x421b5a[_0x43b0b2(0x2e5)]=0x32ca]=_0x43b0b2(0x2e5),_0x421b5a[_0x421b5a[_0x43b0b2(0x2eb)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x421b5a[_0x421b5a[_0x43b0b2(0x119)]=-0x1]=_0x43b0b2(0x119),_0x421b5a))(Si||{}),Q=(_0x1641a=>(_0x1641a[_0x1641a['UNIVER_UNKNOWN']=0x0]=_0x43b0b2(0xdf),_0x1641a[_0x1641a[_0x43b0b2(0x248)]=0x1]=_0x43b0b2(0x248),_0x1641a[_0x1641a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1641a[_0x1641a['UNIVER_SLIDE']=0x3]=_0x43b0b2(0x339),_0x1641a[_0x1641a[_0x43b0b2(0x23c)]=0x4]=_0x43b0b2(0x23c),_0x1641a[_0x1641a[_0x43b0b2(0x119)]=-0x1]='UNRECOGNIZED',_0x1641a))(Q||{}),F=(_0x4ebcef=>(_0x4ebcef[_0x4ebcef[_0x43b0b2(0xd4)]=0x0]=_0x43b0b2(0xd4),_0x4ebcef[_0x4ebcef[_0x43b0b2(0x28e)]=0x1]='HELLO',_0x4ebcef[_0x4ebcef['JOIN']=0x2]=_0x43b0b2(0x30a),_0x4ebcef[_0x4ebcef['LEAVE']=0x3]=_0x43b0b2(0x1f2),_0x4ebcef[_0x4ebcef[_0x43b0b2(0x1b4)]=0x4]=_0x43b0b2(0x1b4),_0x4ebcef[_0x4ebcef[_0x43b0b2(0x3c7)]=0x5]=_0x43b0b2(0x3c7),_0x4ebcef[_0x4ebcef[_0x43b0b2(0xce)]=0x6]='RECV',_0x4ebcef[_0x4ebcef[_0x43b0b2(0x119)]=-0x1]=_0x43b0b2(0x119),_0x4ebcef))(F||{}),ge=(_0x30785d=>(_0x30785d[_0x30785d[_0x43b0b2(0x22c)]=0x0]=_0x43b0b2(0x22c),_0x30785d[_0x30785d['OK']=0x1]='OK',_0x30785d[_0x30785d['FAIL']=0x2]=_0x43b0b2(0x28c),_0x30785d[_0x30785d[_0x43b0b2(0x322)]=0x3e9]=_0x43b0b2(0x322),_0x30785d[_0x30785d[_0x43b0b2(0x318)]=0x3ea]=_0x43b0b2(0x318),_0x30785d[_0x30785d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x43b0b2(0x244),_0x30785d[_0x30785d[_0x43b0b2(0x3b4)]=0x3ec]=_0x43b0b2(0x3b4),_0x30785d[_0x30785d['UNRECOGNIZED']=-0x1]=_0x43b0b2(0x119),_0x30785d))(ge||{}),Ei=(_0x26d0c2=>(_0x26d0c2[_0x26d0c2['Undefined']=0x0]=_0x43b0b2(0xeb),_0x26d0c2[_0x26d0c2[_0x43b0b2(0x174)]=0x1]='HttpImport',_0x26d0c2[_0x26d0c2[_0x43b0b2(0x376)]=0x2]='HttpExport',_0x26d0c2[_0x26d0c2[_0x43b0b2(0x384)]=0x3]='UnitEmbedded',_0x26d0c2[_0x26d0c2['UnitSnapshot']=0x4]='UnitSnapshot',_0x26d0c2[_0x26d0c2[_0x43b0b2(0x18f)]=0x5]='UserProfileImg',_0x26d0c2[_0x26d0c2['UNRECOGNIZED']=-0x1]=_0x43b0b2(0x119),_0x26d0c2))(Ei||{});const q=_0x43b0b2(0x14b),wn={};var re=(_0x2837b0=>(_0x2837b0[_0x43b0b2(0x2b5)]=_0x43b0b2(0x2b5),_0x2837b0[_0x43b0b2(0x230)]='PERMISSION_DENIED',_0x2837b0[_0x43b0b2(0x2ad)]=_0x43b0b2(0x2ad),_0x2837b0[_0x43b0b2(0x1db)]='CLOSE_ROOM',_0x2837b0[_0x43b0b2(0x182)]=_0x43b0b2(0x182),_0x2837b0['SOCKET_FAILED_RETRY']=_0x43b0b2(0x378),_0x2837b0[_0x43b0b2(0x157)]='SOCKET_FAILED',_0x2837b0['SUBMIT_CHANGESET_TIMEOUT']=_0x43b0b2(0x207),_0x2837b0))(re||{});class pe{constructor(){var _0x514a41=_0x43b0b2;N(this,_0x514a41(0x2a8),new _0xa5a9dd()),N(this,_0x514a41(0x35a),this[_0x514a41(0x2a8)][_0x514a41(0x1fc)]());}[_0x43b0b2(0x2e2)](_0x44acdf){var _0x5a7653=_0x43b0b2;this[_0x5a7653(0x2a8)][_0x5a7653(0xef)](_0x44acdf);}}const Pn=_0x5de0c2(_0x43b0b2(0x1dd));function Ln(_0x16249d){var _0x527f1c=_0x43b0b2,_0x1d90fb,_0x4973e5,_0x1120d7,_0x34d6b0,_0x3581f0;const _0x2486f4=_0x16249d['data'],_0x2c8abb=JSON[_0x527f1c(0x352)](_0x2486f4);switch(_0x2c8abb[_0x527f1c(0x1cb)]){case F[_0x527f1c(0x3c7)]:case F[_0x527f1c(0x28e)]:{const _0x3bf034=_0x2c8abb[_0x527f1c(0x2cd)];return{..._0x2c8abb,'data':_0x3bf034,'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};}case F[_0x527f1c(0x30a)]:{const _0x3d2ac5=_0x2c8abb['joinRsp'];return{..._0x2c8abb,'data':_0x3d2ac5,'cmd':_0x2c8abb['cmd']};}case F[_0x527f1c(0xce)]:{const _0x16b272=_0x2c8abb['collaMsg'];switch(_0x16b272[_0x527f1c(0x172)]){case _0x2e7a75[_0x527f1c(0xfe)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':(_0x1d90fb=_0x16b272[_0x527f1c(0x312)])==null?void 0x0:_0x1d90fb['cs']},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0xea)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':(_0x4973e5=_0x16b272[_0x527f1c(0xd8)])==null?void 0x0:_0x4973e5['cs']},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x3b6)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':(_0x1120d7=_0x16b272[_0x527f1c(0x372)])==null?void 0x0:_0x1120d7['cs']},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};case _0x2e7a75[_0x527f1c(0x1aa)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':(_0x34d6b0=_0x16b272[_0x527f1c(0x12f)])==null?void 0x0:_0x34d6b0['cs']},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x31e)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':(_0x3581f0=_0x16b272[_0x527f1c(0x336)])==null?void 0x0:_0x3581f0['cs']},'cmd':_0x2c8abb['cmd']};case _0x2e7a75['UPDATE_CURSOR']:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x2b4)]},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x332)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x15e)]},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};case _0x2e7a75[_0x527f1c(0xfb)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x20a)]},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};case _0x2e7a75[_0x527f1c(0x270)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x141)]},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};case _0x2e7a75[_0x527f1c(0xc9)]:case _0x2e7a75[_0x527f1c(0x286)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x1f8)]},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x1a2)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x141)]},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x38c)]:return{..._0x2c8abb,'data':_0x16b272,'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x1c5)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x26e)]},'cmd':_0x2c8abb['cmd']};case _0x2e7a75[_0x527f1c(0x2f0)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x2fc)]},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};case _0x2e7a75[_0x527f1c(0x335)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272['shouldCloseConn']},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};case _0x2e7a75[_0x527f1c(0x132)]:return{..._0x2c8abb,'data':{..._0x16b272,'data':_0x16b272[_0x527f1c(0x100)]},'cmd':_0x2c8abb[_0x527f1c(0x1cb)]};default:return _0x2c8abb;}}default:return _0x2c8abb;}}function xn(_0x255691){var _0x46c002=_0x43b0b2;switch(_0x255691[_0x46c002(0x1cb)]){case F[_0x46c002(0x3c7)]:case F[_0x46c002(0x28e)]:return JSON[_0x46c002(0x37c)]({'cmd':_0x255691[_0x46c002(0x1cb)],'routeKey':_0x255691[_0x46c002(0x105)]});case F['INGEST']:{let _0x1343d7;switch(_0x255691[_0x46c002(0xf6)]['eventID']){case _0x2e7a75['UPDATE_CURSOR']:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0x1cd)],'updateCursorEvent':_0x255691[_0x46c002(0xf6)][_0x46c002(0xf6)]};break;}case _0x2e7a75[_0x46c002(0xfb)]:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0xfb)],'leaveEvent':_0x255691[_0x46c002(0xf6)][_0x46c002(0xf6)]};break;}case _0x2e7a75[_0x46c002(0x332)]:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0x332)],'joinEvent':_0x255691['data'][_0x46c002(0xf6)]};break;}case _0x2e7a75[_0x46c002(0x270)]:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0x270)],'liveShareNewHost':_0x255691['data']['data']};break;}case _0x2e7a75[_0x46c002(0x286)]:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0x286)],'liveShareOperation':_0x255691[_0x46c002(0xf6)][_0x46c002(0xf6)]};break;}case _0x2e7a75['LIVESHARE_TERMINATE']:{_0x1343d7={'eventID':_0x2e7a75['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x255691['data'][_0x46c002(0xf6)]};break;}case _0x2e7a75[_0x46c002(0x1a9)]:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0x1a9)],'liveShareRequestHost':_0x255691[_0x46c002(0xf6)][_0x46c002(0xf6)]};break;}case _0x2e7a75[_0x46c002(0xc9)]:{_0x1343d7={'eventID':_0x2e7a75[_0x46c002(0xc9)]};break;}default:_0x1343d7={'eventID':_0x255691[_0x46c002(0xf6)][_0x46c002(0x172)]};}return JSON[_0x46c002(0x37c)]({'cmd':_0x255691[_0x46c002(0x1cb)],'routeKey':_0x255691[_0x46c002(0x105)],'collaMsg':_0x1343d7});}case F['JOIN']:return JSON[_0x46c002(0x37c)]({'cmd':_0x255691[_0x46c002(0x1cb)],'routeKey':_0x255691[_0x46c002(0x105)],'joinReq':_0x255691[_0x46c002(0xf6)]});case F[_0x46c002(0x1f2)]:return JSON[_0x46c002(0x37c)]({'cmd':_0x255691['cmd'],'routeKey':_0x255691['routeKey'],'leaveReq':_0x255691['data']});default:throw new Error(_0x46c002(0x2cc));}}var Mn=Object[_0x43b0b2(0x368)],kn=(_0x307968,_0x1900a5,_0x1bbf71,_0xd921f9)=>{var _0x521253=_0x43b0b2;for(var _0x2366a5=_0xd921f9>0x1?void 0x0:_0xd921f9?Mn(_0x1900a5,_0x1bbf71):_0x1900a5,_0x38b9fd=_0x307968[_0x521253(0x129)]-0x1,_0x1f8019;_0x38b9fd>=0x0;_0x38b9fd--)(_0x1f8019=_0x307968[_0x38b9fd])&&(_0x2366a5=_0x1f8019(_0x2366a5)||_0x2366a5);return _0x2366a5;},Ae=(_0x1bb1ac,_0x1c2dd3)=>(_0x2d1b13,_0xe703e7)=>_0x1c2dd3(_0x2d1b13,_0xe703e7,_0x1bb1ac);const Ii=_0x5de0c2(_0x43b0b2(0x1ba));function $n(_0x50d9da,_0x1306ea,_0x4104ae){var _0x217497=_0x43b0b2;return _0x50d9da+'/'+_0x1306ea+_0x217497(0x2f9)+_0x4104ae+'/new_changes';}let Gt=class extends _0x203808{constructor(_0x45ac0b,_0x28ea23,_0x93c44c,_0x197951,_0x27f553){var _0x3f2477=_0x43b0b2;super(),this[_0x3f2477(0xe3)]=_0x45ac0b,this['_httpService']=_0x28ea23,this['_configService']=_0x93c44c,this[_0x3f2477(0x1ef)]=_0x197951,this[_0x3f2477(0x379)]=_0x27f553;}[_0x43b0b2(0x104)](_0x2fb67d){var _0x46d858=_0x43b0b2;const _0x1007f5=this['_injector'][_0x46d858(0x2e9)](_0x291fbe);if(!_0x1007f5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1b52ed=_0x1007f5[_0x46d858(0x2cf)](_0x2fb67d);if(!_0x1b52ed)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xb26dbf=new _0x198d2d(),_0x3041b6=new _0xa5a9dd();_0xb26dbf[_0x46d858(0x3a7)](_0x1b52ed[_0x46d858(0x250)][_0x46d858(0x29e)](_0x528155=>_0x3041b6[_0x46d858(0xef)](_0x528155))),_0xb26dbf[_0x46d858(0x3a7)](_0x29cf04(()=>_0x3041b6[_0x46d858(0x18b)]()));const _0x4811b4=new _0xa5a9dd();_0xb26dbf[_0x46d858(0x3a7)](_0x1b52ed[_0x46d858(0x2e1)][_0x46d858(0x29e)](_0x5b7157=>_0x4811b4['next'](_0x5b7157))),_0xb26dbf[_0x46d858(0x3a7)](_0x29cf04(()=>_0x4811b4[_0x46d858(0x18b)]()));const _0x343165=new _0xa5a9dd();_0xb26dbf['add'](_0x1b52ed['message$'][_0x46d858(0x29e)](_0x27a2d6=>{var _0xd36bb0=_0x46d858;const _0x231b49=Ln(_0x27a2d6);_0x343165[_0xd36bb0(0xef)](_0x231b49);})),_0xb26dbf['add'](_0x29cf04(()=>_0x343165[_0x46d858(0x18b)]()));let _0x426b86;const _0x1385b6=()=>{var _0x1fb29a=_0x46d858;_0x4811b4[_0x1fb29a(0xef)](new Event('connection\x20error')),_0x3041b6['next'](new Event(_0x1fb29a(0x200))),_0x426b86[_0x1fb29a(0x109)]();};return _0x426b86={'memberID':'','close$':_0x3041b6[_0x46d858(0x1fc)](),'error$':_0x4811b4[_0x46d858(0x1fc)](),'open$':_0x1b52ed[_0x46d858(0x34d)],'message$':_0x343165['asObservable'](),'send':_0x2d7688=>{var _0x375ca4=_0x46d858;if(_0x2d7688[_0x375ca4(0x1cb)]===F[_0x375ca4(0x1b4)]){if(_0x2d7688['data']['eventID']===_0x2e7a75[_0x375ca4(0x25e)]){this['_submitChangeset'](_0x426b86,_0x2d7688['data'])[_0x375ca4(0x289)](_0x3c3121=>{var _0x44e2e7=_0x375ca4;this[_0x44e2e7(0x1ef)][_0x44e2e7(0x3a0)](_0x3c3121),_0x1385b6();});return;}if(_0x2d7688[_0x375ca4(0xf6)][_0x375ca4(0x172)]===_0x2e7a75['FETCH_MISSING']){const _0x30f1ef=_0x2d7688[_0x375ca4(0xf6)];this['_fetchMissChangesets'](_0x30f1ef)[_0x375ca4(0x237)](_0x9bf283=>{var _0x3b4418=_0x375ca4;_0x343165[_0x3b4418(0xef)]({'cmd':F[_0x3b4418(0xce)],'code':ge['OK'],'routeKey':_0x30f1ef['data'][_0x3b4418(0x1e8)],'routeType':'','data':{'eventID':_0x2e7a75[_0x3b4418(0x392)],'data':{'changesets':_0x9bf283}}});})[_0x375ca4(0x289)](_0x4a0945=>{var _0x181279=_0x375ca4;this[_0x181279(0x1ef)]['error'](_0x4a0945),_0x1385b6();});return;}}_0x1b52ed[_0x375ca4(0x3b0)](xn(_0x2d7688));},'close':()=>{var _0x2b32b1=_0x46d858;_0x1b52ed[_0x2b32b1(0x109)](),_0xb26dbf[_0x2b32b1(0xc2)]();}},_0x426b86;}async[_0x43b0b2(0x1fd)](_0x39ae31,_0x4b7cff){var _0x1820a0=_0x43b0b2,_0x2c3934,_0x348dec;const {unitType:_0x31bca1,unitID:_0x2e4c6a,changeset:_0xd6a694}=_0x4b7cff['data'],_0x2abcd0={'unitID':_0x2e4c6a,'memberID':_0x39ae31['memberID'],'type':_0x31bca1,'changeset':_0x4a2c7f(_0xd6a694)},_0x370033=this[_0x1820a0(0x27d)][_0x1820a0(0xc0)](Nn),_0x11a82f=this[_0x1820a0(0x27d)][_0x1820a0(0xc0)](q),_0x2ed59b=$n((_0x348dec=(_0x2c3934=_0x11a82f==null?void 0x0:_0x11a82f[_0x1820a0(0x24a)])!=null?_0x2c3934:_0x370033)!=null?_0x348dec:Dn,_0x31bca1,_0x2e4c6a);try{await this[_0x1820a0(0x139)][_0x1820a0(0x33d)](_0x2ed59b,{'body':_0x2abcd0});}catch(_0x22ae52){throw this[_0x1820a0(0x1ef)]['error'](_0x1820a0(0x27e),'submit\x20changeset\x20error!'),_0x22ae52;}}async[_0x43b0b2(0x144)](_0x4a0715){var _0x3f9853=_0x43b0b2;const {unitID:_0x5b539f,from:_0x3e3ce0,to:_0x1ae0fe,unitType:_0x1ad79f}=_0x4a0715[_0x3f9853(0xf6)];return(await this[_0x3f9853(0x379)][_0x3f9853(0x124)]({'metadata':void 0x0},{'unitID':_0x5b539f,'type':_0x1ad79f,'from':_0x3e3ce0,'to':_0x1ae0fe}))[_0x3f9853(0x30f)];}};Gt=kn([Ae(0x0,_0x2ffd40(_0x4f0850)),Ae(0x1,_0x2ffd40(_0x4a85be)),Ae(0x2,_0x167670),Ae(0x3,_0x1e90e1),Ae(0x4,_0x2a0c92)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x4bb993){var _0x547876=_0x43b0b2;return JSON[_0x547876(0x37c)](_0x4bb993)[_0x547876(0x129)];}class Ti{constructor(){var _0x3cf0a8=_0x43b0b2;N(this,_0x3cf0a8(0x1b8),new _0xa5a9dd()),N(this,_0x3cf0a8(0x241),this[_0x3cf0a8(0x1b8)][_0x3cf0a8(0x1fc)]());}[_0x43b0b2(0x37a)](_0x3af5f6){var _0x34e681=_0x43b0b2;this[_0x34e681(0x1b8)]['next'](_0x3af5f6);}}var jn=Object[_0x43b0b2(0x368)],Fn=(_0x4d20dc,_0x32464f,_0x427160,_0x384e38)=>{for(var _0xab7c51=_0x384e38>0x1?void 0x0:_0x384e38?jn(_0x32464f,_0x427160):_0x32464f,_0x4f8a94=_0x4d20dc['length']-0x1,_0x25a457;_0x4f8a94>=0x0;_0x4f8a94--)(_0x25a457=_0x4d20dc[_0x4f8a94])&&(_0xab7c51=_0x25a457(_0xab7c51)||_0xab7c51);return _0xab7c51;},Wt=(_0x482bd4,_0x13515c)=>(_0x83fd58,_0x24bea2)=>_0x13515c(_0x83fd58,_0x24bea2,_0x482bd4);let Le=class extends _0x203808{constructor(_0x263b71,_0x5426b2){var _0x24be13=_0x43b0b2;super(),N(this,_0x24be13(0x2c1),new Map()),N(this,_0x24be13(0xf5),new _0xa5a9dd()),(this['_univerInstanceService']=_0x263b71,this[_0x24be13(0x38a)]=_0x5426b2,this[_0x24be13(0x1a7)](_0x54b487(this[_0x24be13(0x20d)][_0x24be13(0x371)](_0x143937[_0x24be13(0x159)])[_0x24be13(0x304)](_0x5b4b25(_0x1095b2=>_0x1095b2[_0x24be13(0x18e)]())),this[_0x24be13(0x20d)][_0x24be13(0x371)](_0x143937[_0x24be13(0x248)])[_0x24be13(0x304)](_0x5b4b25(_0x188c0c=>_0x188c0c[_0x24be13(0x18e)]())),this[_0x24be13(0x20d)][_0x24be13(0x371)](_0x143937[_0x24be13(0x339)])[_0x24be13(0x304)](_0x5b4b25(_0x38551d=>_0x38551d[_0x24be13(0x18e)]())))[_0x24be13(0x29e)](_0x420d77=>this[_0x24be13(0x321)](_0x420d77))));}['waitForRoom$'](_0x3f62c3){var _0xfa1360=_0x43b0b2;return this[_0xfa1360(0x2c1)][_0xfa1360(0xf1)](_0x3f62c3)?_0x170808(this[_0xfa1360(0x2c1)][_0xfa1360(0x2e9)](_0x3f62c3)):this[_0xfa1360(0xf5)][_0xfa1360(0x304)](_0x5b4b25(_0xe6053d=>{var _0x1f9b3c=_0xfa1360;if(_0xe6053d===_0x3f62c3)return this[_0x1f9b3c(0x2c1)][_0x1f9b3c(0x2e9)](_0xe6053d);}));}[_0x43b0b2(0x365)](_0x549258){var _0x3a8487=_0x43b0b2;this[_0x3a8487(0x38a)][_0x3a8487(0x365)](_0x549258);}[_0x43b0b2(0x38d)](){var _0x2adfae=_0x43b0b2;return this[_0x2adfae(0x38a)][_0x2adfae(0x38d)]();}[_0x43b0b2(0x153)](_0x2e1d1d,_0x3ed396){var _0x4bbcbb=_0x43b0b2;let _0x2e9e04=this[_0x4bbcbb(0x2c1)][_0x4bbcbb(0x2e9)](_0x2e1d1d);_0x2e9e04||(_0x2e9e04=new Vn(),this[_0x4bbcbb(0x2c1)][_0x4bbcbb(0x1b1)](_0x2e1d1d,_0x2e9e04),this[_0x4bbcbb(0xf5)][_0x4bbcbb(0xef)](_0x2e1d1d)),_0x2e9e04[_0x4bbcbb(0x153)](_0x3ed396);}[_0x43b0b2(0x10d)](_0x2bb7c1,_0x7b87ea){var _0x428293=_0x43b0b2;const _0x801863=this[_0x428293(0x2c1)][_0x428293(0x2e9)](_0x2bb7c1);_0x801863&&_0x801863[_0x428293(0x10d)](_0x7b87ea);}[_0x43b0b2(0x1bf)](_0x313b94){var _0x45fbed=_0x43b0b2;return this[_0x45fbed(0x2c1)][_0x45fbed(0x2e9)](_0x313b94);}[_0x43b0b2(0x1ed)](_0x5339b9,_0x36066e){var _0x5b8450=_0x43b0b2;const _0x35d268=this[_0x5b8450(0x2c1)][_0x5b8450(0x2e9)](_0x5339b9);if(_0x35d268)return _0x35d268[_0x5b8450(0x1ed)](_0x36066e);}['_removeRoom'](_0x251ab7){var _0x5ac4e7=_0x43b0b2;const _0x5a6456=this['_roomMembers'][_0x5ac4e7(0x2e9)](_0x251ab7);_0x5a6456&&(_0x5a6456[_0x5ac4e7(0xc2)](),this[_0x5ac4e7(0x2c1)][_0x5ac4e7(0x17e)](_0x251ab7));}['dispose'](){var _0x33afa6=_0x43b0b2;this[_0x33afa6(0x2c1)][_0x33afa6(0x285)](_0x2b42fa=>_0x2b42fa[_0x33afa6(0xc2)]()),this[_0x33afa6(0x2c1)][_0x33afa6(0x32c)](),this['_roomCreated$'][_0x33afa6(0x18b)]();}};Le=Fn([Wt(0x0,_0x5e61b9),Wt(0x1,_0x2ffd40(_0x2ce2e4))],Le);class Vn extends _0x203808{constructor(){var _0x48f825=_0x43b0b2;super(...arguments),N(this,'_members',new Map()),N(this,_0x48f825(0x238),new _0x1de1f8(this[_0x48f825(0x316)])),N(this,_0x48f825(0x1b6),this[_0x48f825(0x238)]['asObservable']());}['dispose'](){var _0x565030=_0x43b0b2;this[_0x565030(0x316)][_0x565030(0x32c)]();}[_0x43b0b2(0x153)](_0x406ddc){var _0x450be9=_0x43b0b2;this['_members'][_0x450be9(0x1b1)](_0x406ddc[_0x450be9(0x2f4)],_0x406ddc),this[_0x450be9(0x2a3)]();}[_0x43b0b2(0x10d)](_0x58eeb6){var _0x5b53b7=_0x43b0b2;this[_0x5b53b7(0x316)]['delete'](_0x58eeb6);}[_0x43b0b2(0x1ed)](_0x385e59){var _0x2320bb=_0x43b0b2;return this[_0x2320bb(0x316)][_0x2320bb(0x2e9)](_0x385e59);}[_0x43b0b2(0xc4)](){var _0x272edc=_0x43b0b2;return Array[_0x272edc(0x14a)](this[_0x272edc(0x316)][_0x272edc(0x21b)]());}[_0x43b0b2(0x2a3)](){var _0x3f9322=_0x43b0b2;this[_0x3f9322(0x238)][_0x3f9322(0xef)](this['_members']);}}var Gn=Object[_0x43b0b2(0x368)],Wn=(_0x55094b,_0x2ced4a,_0x16162b,_0x1bd4da)=>{var _0xdf447e=_0x43b0b2;for(var _0x47d3ce=_0x1bd4da>0x1?void 0x0:_0x1bd4da?Gn(_0x2ced4a,_0x16162b):_0x2ced4a,_0x8b2a94=_0x55094b[_0xdf447e(0x129)]-0x1,_0x5317a7;_0x8b2a94>=0x0;_0x8b2a94--)(_0x5317a7=_0x55094b[_0x8b2a94])&&(_0x47d3ce=_0x5317a7(_0x47d3ce)||_0x47d3ce);return _0x47d3ce;},me=(_0x382bd4,_0x50a4b0)=>(_0x1c2bae,_0xf81643)=>_0x50a4b0(_0x1c2bae,_0xf81643,_0x382bd4),Ee=(_0x2c8a76=>(_0x2c8a76[_0x2c8a76['IDLE']=0x0]=_0x43b0b2(0x198),_0x2c8a76[_0x2c8a76['JOINING']=0x1]='JOINING',_0x2c8a76[_0x2c8a76[_0x43b0b2(0x16c)]=0x2]=_0x43b0b2(0x16c),_0x2c8a76[_0x2c8a76[_0x43b0b2(0x307)]=0x3]=_0x43b0b2(0x307),_0x2c8a76))(Ee||{});const Kt={[ge['FAIL']]:'session.join-failed',[ge['JOIN_ROOM_FULL']]:_0x43b0b2(0x33a),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x43b0b2(0x24d),[ge[_0x43b0b2(0x244)]]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x43b0b2(0xf7)};let Et=class extends _0x34812f{constructor(_0x95ae9f,_0x39e687,_0x371845,_0x17484a,_0x496b91,_0xd16dab,_0xb98134,_0x5326ea,_0x58c07c){var _0x3f81c9=_0x43b0b2;super(),N(this,'_sessionStatus$',new _0x1de1f8(0x0)),N(this,'sessionStatus$',this[_0x3f81c9(0x29f)][_0x3f81c9(0x1fc)]()),N(this,'_event$',new _0xa5a9dd()),N(this,'event$',this[_0x3f81c9(0x2a8)][_0x3f81c9(0x1fc)]()),N(this,_0x3f81c9(0x3ab)),N(this,_0x3f81c9(0x1e0)),N(this,_0x3f81c9(0x360)),N(this,_0x3f81c9(0x3bd),!0x1),N(this,_0x3f81c9(0x30d),null),(this['_unitID']=_0x95ae9f,this[_0x3f81c9(0x1ef)]=_0x371845,this[_0x3f81c9(0x27d)]=_0x17484a,this[_0x3f81c9(0x351)]=_0x496b91,this[_0x3f81c9(0x2b7)]=_0xd16dab,this[_0x3f81c9(0x1f5)]=_0xb98134,this['_collaborationUIEventService']=_0x5326ea,this[_0x3f81c9(0x116)]=_0x58c07c,this[_0x3f81c9(0x3bd)]=!!this[_0x3f81c9(0x116)],_0x39e687[_0x3f81c9(0x304)](_0x5b0264(this['dispose$']))[_0x3f81c9(0x29e)](_0x4441b0=>{var _0x26961e=_0x3f81c9,_0x52f6b7;typeof _0x4441b0>'u'||(this['_socket']=_0x4441b0,_0x4441b0?(this[_0x26961e(0x2e7)](_0x4441b0),this[_0x26961e(0x1e0)]=_0x4441b0['message$'][_0x26961e(0x29e)](_0x74c706=>{var _0xdb90ff=_0x26961e;_0x74c706['routeKey']===this[_0xdb90ff(0x282)]&&this[_0xdb90ff(0x188)](_0x74c706);})):(this[_0x26961e(0x127)](),this['_sessionStatus$'][_0x26961e(0xef)](0x2),(_0x52f6b7=this[_0x26961e(0x1e0)])==null||_0x52f6b7[_0x26961e(0x302)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x626036=_0x43b0b2;return this['_sessionStatus$'][_0x626036(0x2c5)]();}['getMemberID'](){var _0x10129a=_0x43b0b2,_0x231d3e,_0x219e8d;return(_0x219e8d=(_0x231d3e=this['_socket'])==null?void 0x0:_0x231d3e[_0x10129a(0x2f4)])!=null?_0x219e8d:null;}['dispose'](){var _0x3450cd=_0x43b0b2;super[_0x3450cd(0xc2)](),this[_0x3450cd(0xdd)][_0x3450cd(0xef)](),this[_0x3450cd(0xdd)]['complete']();}[_0x43b0b2(0x109)](){var _0x3dc918=_0x43b0b2,_0xd47a8b,_0x5be2fb;this[_0x3dc918(0x127)](),(_0xd47a8b=this[_0x3dc918(0x3ab)])==null||_0xd47a8b[_0x3dc918(0x3b0)]({'cmd':F[_0x3dc918(0x1f2)],'data':{'roomID':this[_0x3dc918(0x282)]}}),(_0x5be2fb=this[_0x3dc918(0x3ab)])==null||_0x5be2fb[_0x3dc918(0x109)](),this[_0x3dc918(0x2a8)][_0x3dc918(0x18b)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x43b0b2(0x188)](_0x374581){var _0x33e22c=_0x43b0b2;_0x374581[_0x33e22c(0x1cb)]===F[_0x33e22c(0x30a)]?this[_0x33e22c(0x3c0)](_0x374581):_0x374581[_0x33e22c(0x1cb)]===F[_0x33e22c(0xce)]&&this[_0x33e22c(0x265)](_0x374581);}[_0x43b0b2(0x2e7)](_0x35d257){var _0x554717=_0x43b0b2;this[_0x554717(0x29f)]['next'](0x1),_0x35d257['send']({'cmd':F[_0x554717(0x30a)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x43b0b2(0x3c0)](_0x2cf4d4){var _0x407aef=_0x43b0b2,_0x2f0e55;if(_0x2cf4d4[_0x407aef(0x222)]in Kt){this[_0x407aef(0x3bf)][_0x407aef(0x2e2)]({'id':re[_0x407aef(0x182)],'data':Kt[_0x2cf4d4[_0x407aef(0x222)]]}),this[_0x407aef(0x29f)]['next'](0x2);return;}this[_0x407aef(0x29f)][_0x407aef(0xef)](0x3);const _0x21a779=(_0x2f0e55=_0x2cf4d4['data'][_0x407aef(0x15b)][this[_0x407aef(0x282)]])==null?void 0x0:_0x2f0e55[_0x407aef(0x36f)];_0x21a779&&_0x21a779[_0x407aef(0x285)](_0x340ea9=>this['_memberService'][_0x407aef(0x153)](this[_0x407aef(0x282)],_0x340ea9));}[_0x43b0b2(0x265)](_0x8e4369){var _0x4d577d=_0x43b0b2;try{const _0x31ae5b=_0x8e4369[_0x4d577d(0xf6)];switch(_0x31ae5b[_0x4d577d(0x172)]){case _0x2e7a75[_0x4d577d(0x332)]:this[_0x4d577d(0x29d)](_0x31ae5b),this[_0x4d577d(0x2a8)][_0x4d577d(0xef)](_0x31ae5b);break;case _0x2e7a75[_0x4d577d(0xfb)]:this[_0x4d577d(0x1b5)](_0x31ae5b),this[_0x4d577d(0x2a8)]['next'](_0x31ae5b);break;case _0x2e7a75[_0x4d577d(0xea)]:case _0x2e7a75[_0x4d577d(0x31e)]:this[_0x4d577d(0x310)](),this[_0x4d577d(0x2e6)](),this[_0x4d577d(0x2a8)][_0x4d577d(0xef)](_0x31ae5b);break;case _0x2e7a75['MSG_FOR_ERROR']:this[_0x4d577d(0x1ef)]['error'](_0x4d577d(0x195)+JSON['stringify'](_0x31ae5b)),this[_0x4d577d(0x2a8)][_0x4d577d(0xef)](_0x31ae5b);break;case _0x2e7a75['COMMENT_UPDATE']:this[_0x4d577d(0x1f5)][_0x4d577d(0x37a)](_0x31ae5b[_0x4d577d(0xf6)]),this['_event$'][_0x4d577d(0xef)](_0x31ae5b);break;default:this[_0x4d577d(0x2a8)][_0x4d577d(0xef)](_0x31ae5b);}}catch(_0x207cd7){this['_logService'][_0x4d577d(0x3a0)](_0x207cd7,_0x8e4369);}}[_0x43b0b2(0x29d)](_0x311bb0){var _0x3878be=_0x43b0b2;this['_memberService'][_0x3878be(0x153)](this[_0x3878be(0x282)],_0x311bb0[_0x3878be(0xf6)]);}[_0x43b0b2(0x1b5)](_0x476ed6){var _0x1bf8b9=_0x43b0b2;this[_0x1bf8b9(0x2b7)][_0x1bf8b9(0x10d)](this[_0x1bf8b9(0x282)],_0x476ed6['data'][_0x1bf8b9(0x2f4)]);}async[_0x43b0b2(0x3b0)](_0xb5088a,_0x285fbd){var _0x397457=_0x43b0b2;if(this[_0x397457(0xe9)]!==0x3||!this['_socket'])throw new Error(_0x397457(0x11c));try{_0xb5088a['eventID']===_0x2e7a75[_0x397457(0x25e)]&&(this[_0x397457(0xcf)](),this[_0x397457(0x334)](_0xb5088a)),this[_0x397457(0x3ab)][_0x397457(0x3b0)]({'cmd':F[_0x397457(0x1b4)],'routeKey':_0x285fbd,'routeType':'','data':_0xb5088a});}catch(_0x40521a){this['_logService'][_0x397457(0x3a0)](_0x40521a);}}[_0x43b0b2(0xcf)](){var _0x351d06=_0x43b0b2,_0x396160;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x14f999=_0x3f50;this[_0x14f999(0x360)]=null,this[_0x14f999(0x3bf)][_0x14f999(0x2e2)]({'id':re[_0x14f999(0x207)]});},(_0x396160=this[_0x351d06(0x27d)][_0x351d06(0xc0)](mi))!=null?_0x396160:gi);}[_0x43b0b2(0x2e6)](){var _0x2fea5c=_0x43b0b2;this[_0x2fea5c(0x360)]&&(clearTimeout(this[_0x2fea5c(0x360)]),this[_0x2fea5c(0x360)]=null);}[_0x43b0b2(0x334)](_0x1e1ad8){var _0x1041af=_0x43b0b2;if(!this[_0x1041af(0x3bd)])return;const {data:_0x56d52c}=_0x1e1ad8,{unitID:_0x42a322,changeset:_0x1c28ba}=_0x56d52c,{mutations:_0x21fb23,type:_0x477002}=_0x1c28ba;this[_0x1041af(0x30d)]={'unitId':_0x42a322,'type':_0x477002,'startTime':performance[_0x1041af(0x196)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x21fb23)};}[_0x43b0b2(0x310)](){var _0x595196=_0x43b0b2;if(this[_0x595196(0x3bd)]){if(!this['_telemetryInfo']){this['_logService'][_0x595196(0x3a0)](_0x595196(0x27e),_0x595196(0x30c));return;}this['_telemetryInfo'][_0x595196(0x224)]=performance[_0x595196(0x196)](),this[_0x595196(0x30d)][_0x595196(0x121)]=this[_0x595196(0x30d)]['stopTime']-this[_0x595196(0x30d)][_0x595196(0x206)],this[_0x595196(0x116)][_0x595196(0x253)](Hn,this['_telemetryInfo']),this[_0x595196(0x30d)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x1e90e1),me(0x3,_0x167670),me(0x4,_0x2ffd40(_0x29e59f)),me(0x5,_0x2ffd40(Le)),me(0x6,_0x2ffd40(Ti)),me(0x7,_0x2ffd40(pe)),me(0x8,_0x29dab8(_0xa5a2a3))],Et);var Kn=Object[_0x43b0b2(0x368)],Yn=(_0x54d18f,_0x4a19e6,_0x2d5f5,_0x4f3dee)=>{var _0x20b45b=_0x43b0b2;for(var _0x5e6bae=_0x4f3dee>0x1?void 0x0:_0x4f3dee?Kn(_0x4a19e6,_0x2d5f5):_0x4a19e6,_0x2ace86=_0x54d18f[_0x20b45b(0x129)]-0x1,_0x5534fe;_0x2ace86>=0x0;_0x2ace86--)(_0x5534fe=_0x54d18f[_0x2ace86])&&(_0x5e6bae=_0x5534fe(_0x5e6bae)||_0x5e6bae);return _0x5e6bae;},be=(_0x327ce8,_0x54ef26)=>(_0x4575d5,_0x4ee9e4)=>_0x54ef26(_0x4575d5,_0x4ee9e4,_0x327ce8);let xe=class extends _0x203808{constructor(_0x14664b,_0x1f998,_0x24e84d,_0x3300e8,_0x73abbc,_0x59a0b7){var _0x243c1d=_0x43b0b2;super(),N(this,'_socket$',new _0x1de1f8(void 0x0)),N(this,_0x243c1d(0x361),this[_0x243c1d(0x1e6)][_0x243c1d(0x1fc)]()),N(this,_0x243c1d(0x2ac),null),N(this,'_sessions',new Map()),N(this,_0x243c1d(0x3ad),new _0x1de1f8(Ee[_0x243c1d(0x198)])),N(this,_0x243c1d(0x13a),this['_status$'][_0x243c1d(0x1fc)]()),N(this,_0x243c1d(0x22e),!0x1),N(this,_0x243c1d(0x39b)),N(this,_0x243c1d(0x1b0),0x0),N(this,_0x243c1d(0x330)),N(this,_0x243c1d(0x107)),(this['_injector']=_0x14664b,this['_logService']=_0x1f998,this[_0x243c1d(0x27d)]=_0x24e84d,this[_0x243c1d(0x232)]=_0x3300e8,this[_0x243c1d(0x3bf)]=_0x73abbc,this[_0x243c1d(0x186)]=_0x59a0b7,this[_0x243c1d(0x193)]());}get[_0x43b0b2(0x3ab)](){var _0x186ee6=_0x43b0b2;return this[_0x186ee6(0x1e6)][_0x186ee6(0x2c5)]();}[_0x43b0b2(0x193)](){var _0x7d784c=_0x43b0b2;this['_networkConditionService']&&this[_0x7d784c(0x1a7)](this['_networkConditionService'][_0x7d784c(0x229)][_0x7d784c(0x29e)](_0xab72c6=>{var _0x19e998=_0x7d784c;_0xab72c6&&!this[_0x19e998(0x3ab)]&&this[_0x19e998(0x12b)](),_0xab72c6||this['_onOffline']();}));}[_0x43b0b2(0xc2)](){var _0x4c73ec=_0x43b0b2;super[_0x4c73ec(0xc2)](),this['_clearRetryConnectingTimer'](),this[_0x4c73ec(0x317)](),this['_clearHeartbeatTimer'](),this[_0x4c73ec(0x131)]['forEach'](_0x479528=>_0x479528['dispose']()),this[_0x4c73ec(0x131)][_0x4c73ec(0x32c)](),this['_status$']['complete']();}async[_0x43b0b2(0x319)](_0x95f7a5){var _0x172da3=_0x43b0b2;if(this[_0x172da3(0x131)][_0x172da3(0xf1)](_0x95f7a5))return this[_0x172da3(0x131)][_0x172da3(0x2e9)](_0x95f7a5);this[_0x172da3(0x12c)]();const _0x506128=this[_0x172da3(0xe3)][_0x172da3(0x3b7)](Et,_0x95f7a5,this[_0x172da3(0x1e6)][_0x172da3(0x1fc)]());return this[_0x172da3(0x131)][_0x172da3(0x1b1)](_0x95f7a5,_0x506128),_0x506128;}[_0x43b0b2(0x21d)](_0x181746){var _0x4f166a=_0x43b0b2,_0x2a743e;const _0x1ac852=this[_0x4f166a(0x131)][_0x4f166a(0x2e9)](_0x181746);_0x1ac852&&(this['_sessions']['delete'](_0x181746),_0x1ac852['close']()),this[_0x4f166a(0x131)]['size']||(_0x2a743e=this['_socket'])==null||_0x2a743e[_0x4f166a(0x109)]();}[_0x43b0b2(0x12b)](){var _0x201284=_0x43b0b2;this[_0x201284(0x1b0)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x201284(0x275)]();}['_clearRetryConnectingTimer'](){var _0x44a54c=_0x43b0b2;this[_0x44a54c(0x39b)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x44a54c(0x39b)]=null);}async[_0x43b0b2(0x324)](){var _0x55a109=_0x43b0b2,_0x54cbe8,_0x564aed;const _0x115052=this[_0x55a109(0x27d)]['getConfig'](In),_0x3702bc=this[_0x55a109(0x27d)][_0x55a109(0xc0)](q),_0x49aa0c=(_0x564aed=(_0x54cbe8=_0x3702bc==null?void 0x0:_0x3702bc[_0x55a109(0x383)])!=null?_0x54cbe8:_0x115052)!=null?_0x564aed:Tn,_0x57d35d=await this['_socketService'][_0x55a109(0x2cf)](_0x49aa0c);return this[_0x55a109(0x2ac)]=_0x57d35d,_0x57d35d;}async[_0x43b0b2(0x12c)](){var _0x4ea3a9=_0x43b0b2,_0x2bcfd0,_0x51f91a;try{const _0x292e45=(_0x51f91a=(_0x2bcfd0=this[_0x4ea3a9(0x3ab)])!=null?_0x2bcfd0:this[_0x4ea3a9(0x2ac)])!=null?_0x51f91a:await this[_0x4ea3a9(0x324)]();if(_0x292e45){const _0x13b4f1=_0x292e45[_0x4ea3a9(0x3b0)];_0x292e45[_0x4ea3a9(0x3b0)]=_0x84cb06=>(this[_0x4ea3a9(0xe7)](),_0x13b4f1[_0x4ea3a9(0x151)](_0x292e45,[_0x84cb06])),_0x292e45[_0x4ea3a9(0x102)][_0x4ea3a9(0x29e)](_0x51f1b7=>this[_0x4ea3a9(0x18a)](_0x292e45,_0x51f1b7)),_0x292e45[_0x4ea3a9(0x2e1)]['pipe'](_0x24450f(0x1))[_0x4ea3a9(0x29e)](_0x2da622=>this[_0x4ea3a9(0x1ef)][_0x4ea3a9(0x3a0)](_0x4ea3a9(0x2bf),_0x2da622)),_0x292e45[_0x4ea3a9(0x34d)][_0x4ea3a9(0x304)](_0x24450f(0x1))[_0x4ea3a9(0x29e)](()=>{this['_onConnectionOpen'](_0x292e45);}),_0x292e45[_0x4ea3a9(0x250)][_0x4ea3a9(0x304)](_0x24450f(0x1))[_0x4ea3a9(0x29e)](_0x2c483c=>{var _0x4ec199=_0x4ea3a9;this[_0x4ec199(0x1ef)][_0x4ec199(0x175)](_0x4ec199(0x399),_0x4ec199(0x10c),_0x2c483c),this[_0x4ec199(0x256)]();});}}catch(_0x44e5e5){this[_0x4ea3a9(0x1ef)][_0x4ea3a9(0x3a0)](_0x44e5e5),this[_0x4ea3a9(0x256)]();}}[_0x43b0b2(0x126)](_0x1ccd89){var _0x2ff4c8=_0x43b0b2;this[_0x2ff4c8(0x1ef)][_0x2ff4c8(0x175)](_0x2ff4c8(0x399),_0x2ff4c8(0x1c8)),_0x1ccd89[_0x2ff4c8(0x3b0)]({'cmd':F[_0x2ff4c8(0x28e)]}),this[_0x2ff4c8(0xe7)]();}[_0x43b0b2(0x3b2)](){var _0xbb5659=_0x43b0b2;this[_0xbb5659(0x22e)]=!0x1,this[_0xbb5659(0x2ac)]=null,this[_0xbb5659(0x3ad)][_0xbb5659(0xef)](Ee['OFFLINE']),this[_0xbb5659(0x1e6)][_0xbb5659(0xef)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x43b0b2(0x256)](){var _0xc9a2e8=_0x43b0b2,_0x1ae6c0;this['_onOffline'](),this['_retryCount']<((_0x1ae6c0=this[_0xc9a2e8(0x27d)][_0xc9a2e8(0xc0)](yn))!=null?_0x1ae6c0:On)?(this[_0xc9a2e8(0x3bf)][_0xc9a2e8(0x2e2)]({'id':re[_0xc9a2e8(0x378)]}),this['_tryReconnect']()):this[_0xc9a2e8(0x3bf)][_0xc9a2e8(0x2e2)]({'id':re['SOCKET_FAILED']});}[_0x43b0b2(0x275)](){var _0x5c1907=_0x43b0b2,_0x2efc94;const _0x2dea91=this[_0x5c1907(0x1b0)],_0x5e1b95=this[_0x5c1907(0x27d)][_0x5c1907(0xc0)](q),_0x4b4795=_0x2dea91===0x0?0x0:((_0x2efc94=_0x5e1b95==null?void 0x0:_0x5e1b95[_0x5c1907(0x1ca)])!=null?_0x2efc94:bn)*0x2**_0x2dea91;this[_0x5c1907(0x39b)]=setTimeout(()=>{var _0x3cd910=_0x5c1907;clearTimeout(this[_0x3cd910(0x39b)]),this[_0x3cd910(0x39b)]=null,this[_0x3cd910(0x12c)]();},_0x4b4795),this[_0x5c1907(0x1b0)]+=0x1;}[_0x43b0b2(0x18a)](_0x409903,_0x5327e4){var _0x3e4ba1=_0x43b0b2;const {cmd:_0x8d0ea8}=_0x5327e4;_0x8d0ea8===F[_0x3e4ba1(0x28e)]&&!this['_socketReady']&&(_0x409903[_0x3e4ba1(0x2f4)]=_0x5327e4['data'][_0x3e4ba1(0x2f4)],this[_0x3e4ba1(0x1e6)][_0x3e4ba1(0xef)](_0x409903),this[_0x3e4ba1(0x3ad)][_0x3e4ba1(0xef)](Ee['ONLINE']),this[_0x3e4ba1(0x22e)]=!0x0,this[_0x3e4ba1(0x2ac)]=null),_0x8d0ea8===F['HEARTBEAT']&&this[_0x3e4ba1(0x317)](),this[_0x3e4ba1(0xe7)]();}[_0x43b0b2(0xe7)](){var _0x439e00=_0x43b0b2,_0x29d002;this[_0x439e00(0x2a7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x29d002=this[_0x439e00(0x27d)][_0x439e00(0xc0)](Cn))!=null?_0x29d002:Rn);}['_sendHeartbeat'](){var _0x231926=_0x43b0b2;this['_socket'][_0x231926(0x3b0)]({'cmd':F['HEARTBEAT']}),this[_0x231926(0x26b)]();}[_0x43b0b2(0x26b)](){var _0x5282f2=_0x43b0b2,_0x1226cd;this[_0x5282f2(0x107)]=setTimeout(()=>this[_0x5282f2(0x256)](),(_0x1226cd=this[_0x5282f2(0x27d)]['getConfig'](mi))!=null?_0x1226cd:gi);}[_0x43b0b2(0x2a7)](){var _0x52681a=_0x43b0b2;this[_0x52681a(0x330)]!=null&&(clearTimeout(this[_0x52681a(0x330)]),this[_0x52681a(0x330)]=null);}[_0x43b0b2(0x317)](){var _0xb95282=_0x43b0b2;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xb95282(0x107)]),this[_0xb95282(0x107)]=null);}};xe=Yn([be(0x0,_0x2ffd40(_0x4f0850)),be(0x1,_0x1e90e1),be(0x2,_0x167670),be(0x3,Ii),be(0x4,_0x2ffd40(pe)),be(0x5,_0x29dab8(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)[_0x43b0b2(0x3cc)](0x10)['slice'](0x1));function qn(_0x4b1b3e,_0x2e0f03=0x0){var _0x59c31f=_0x43b0b2;return(V[_0x4b1b3e[_0x2e0f03+0x0]]+V[_0x4b1b3e[_0x2e0f03+0x1]]+V[_0x4b1b3e[_0x2e0f03+0x2]]+V[_0x4b1b3e[_0x2e0f03+0x3]]+'-'+V[_0x4b1b3e[_0x2e0f03+0x4]]+V[_0x4b1b3e[_0x2e0f03+0x5]]+'-'+V[_0x4b1b3e[_0x2e0f03+0x6]]+V[_0x4b1b3e[_0x2e0f03+0x7]]+'-'+V[_0x4b1b3e[_0x2e0f03+0x8]]+V[_0x4b1b3e[_0x2e0f03+0x9]]+'-'+V[_0x4b1b3e[_0x2e0f03+0xa]]+V[_0x4b1b3e[_0x2e0f03+0xb]]+V[_0x4b1b3e[_0x2e0f03+0xc]]+V[_0x4b1b3e[_0x2e0f03+0xd]]+V[_0x4b1b3e[_0x2e0f03+0xe]]+V[_0x4b1b3e[_0x2e0f03+0xf]])[_0x59c31f(0x277)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x73b303=_0x43b0b2;if(!ut){if(typeof crypto>'u'||!crypto[_0x73b303(0x1f4)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x43b0b2(0x152)]&&crypto[_0x43b0b2(0x152)][_0x43b0b2(0x1d0)](crypto),Yt={'randomUUID':Xn};function Zn(_0xd13042,_0x2e9a47,_0x4710f2){var _0x4177ce=_0x43b0b2,_0x2787fe,_0x2fcb42,_0x21f266;if(Yt[_0x4177ce(0x152)]&&!_0xd13042)return Yt[_0x4177ce(0x152)]();_0xd13042=_0xd13042||{};const _0x5490d2=(_0x21f266=(_0x2fcb42=_0xd13042['random'])!=null?_0x2fcb42:(_0x2787fe=_0xd13042['rng'])==null?void 0x0:_0x2787fe[_0x4177ce(0x306)](_0xd13042))!=null?_0x21f266:Jn();if(_0x5490d2[_0x4177ce(0x129)]<0x10)throw new Error(_0x4177ce(0x21f));return _0x5490d2[0x6]=_0x5490d2[0x6]&0xf|0x40,_0x5490d2[0x8]=_0x5490d2[0x8]&0x3f|0x80,qn(_0x5490d2);}const J=_0x5de0c2('collaboration-client.local-cache-service');function Br(_0x456522){return'unit-cache-'+_0x456522;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x3f39df,_0x596525,_0x409e99,_0x234265)=>{var _0x63dc07=_0x43b0b2;for(var _0x4c7f97=_0x234265>0x1?void 0x0:_0x234265?Qn(_0x596525,_0x409e99):_0x596525,_0x19b984=_0x3f39df[_0x63dc07(0x129)]-0x1,_0x2a240e;_0x19b984>=0x0;_0x19b984--)(_0x2a240e=_0x3f39df[_0x19b984])&&(_0x4c7f97=_0x2a240e(_0x4c7f97)||_0x4c7f97);return _0x4c7f97;},dt=(_0x3cac86,_0x37363c)=>(_0x552a94,_0x210e71)=>_0x37363c(_0x552a94,_0x210e71,_0x3cac86);function ts(_0x292b09){var _0x32bf89=_0x43b0b2;const {unitID:_0x1f85f2,mutations:_0x195cec}=_0x292b09;return{'unitId':_0x1f85f2,'subUnitId':_0x195cec[0x0][_0x32bf89(0x1b2)][_0x32bf89(0x2a0)]};}let it=class{constructor(_0x505184,_0x490920,_0x3d2ab9){var _0x25fe4d=_0x43b0b2;this[_0x25fe4d(0xe3)]=_0x505184,this[_0x25fe4d(0x2ae)]=_0x490920,this[_0x25fe4d(0x290)]=_0x3d2ab9;}[_0x43b0b2(0x15d)](_0x3b5e89){var _0x423e93=_0x43b0b2,_0x18a6d7,_0x49ea40,_0x5ce3c0,_0xd0cfeb;const _0x245dff=this[_0x423e93(0xe3)][_0x423e93(0x2e9)](_0x2594b3),{unitId:_0xfc718,subUnitId:_0x34c333}=ts(_0x3b5e89),_0x13ea9d=_0x245dff==null?void 0x0:_0x245dff[_0x423e93(0x15f)](_0xfc718)['getCurrentSelections'](),_0x5bed9a=(_0x49ea40=(_0x18a6d7=this['_instanceService'][_0x423e93(0x2c0)](_0xfc718))==null?void 0x0:_0x18a6d7[_0x423e93(0x30e)]())==null?void 0x0:_0x49ea40[_0x423e93(0x2fa)]();if(_0x13ea9d[_0x423e93(0x129)]===0x0||!_0xfc718||!_0x34c333)return;const _0x5525ed=[{'id':_0x83dba0['id'],'params':{'unitId':_0xfc718,'subUnitId':_0x5bed9a,'selections':_0x4e6303[_0x423e93(0x1f1)](_0x13ea9d)}}],_0x2fb296=this['_transformService'][_0x423e93(0x245)](_0x3b5e89,_0x5525ed);if(!_0x43612d(_0x2fb296))throw _0x2fb296['error'];const _0x181699=(_0xd0cfeb=(_0x5ce3c0=_0x2fb296[_0x423e93(0x220)][0x0])==null?void 0x0:_0x5ce3c0[_0x423e93(0x1b2)])==null?void 0x0:_0xd0cfeb[_0x423e93(0x2b6)];if(Array[_0x423e93(0x11a)](_0x181699)&&_0x181699['length']){if(_0x181699[_0x423e93(0x129)]===_0x5525ed[0x0][_0x423e93(0x1b2)][_0x423e93(0x2b6)][_0x423e93(0x129)]&&_0x181699[_0x423e93(0x37e)]((_0xe24af,_0x31156a)=>_0x29a28b[_0x423e93(0x171)](_0xe24af[_0x423e93(0x260)],_0x5525ed[0x0][_0x423e93(0x1b2)]['selections'][_0x31156a][_0x423e93(0x260)])))return;this[_0x423e93(0xe3)]['get'](_0x564f8e)['executeCommand'](_0x83dba0['id'],{'unitId':_0xfc718,'subUnitId':_0x5bed9a,'selections':_0x181699});}}};it=es([dt(0x0,_0x2ffd40(_0x4f0850)),dt(0x1,_0x218fca),dt(0x2,_0x5e61b9)],it);const ht=_0x5de0c2('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x15ec17=>(_0x15ec17[_0x15ec17[_0x43b0b2(0x1b3)]=0x0]=_0x43b0b2(0x1b3),_0x15ec17[_0x15ec17[_0x43b0b2(0xed)]=0x1]=_0x43b0b2(0xed),_0x15ec17))(Ci||{});const is=new Set([_0x2d44e9['id']]);function qt(_0x53066f,_0x2463a3,_0x1349bb,_0x2c178d,_0x522ab2){var _0x495f9d=_0x43b0b2,_0xcc1ddd,_0x2bbe9e,_0x409a71,_0x1c7ec2;const _0x298004=[];for(const _0x4deb1b of _0x53066f)if(is[_0x495f9d(0xf1)](_0x4deb1b['id'])){if(_0x298004['length']>0x0)break;_0x298004[_0x495f9d(0x3b9)](_0x4deb1b);break;}else _0x298004['push'](_0x4deb1b);const _0x147f5c=(_0x2bbe9e=(_0xcc1ddd=_0x522ab2[_0x495f9d(0x38d)]())==null?void 0x0:_0xcc1ddd[_0x495f9d(0x136)])!=null?_0x2bbe9e:_0x495f9d(0x202),_0x135c51=(_0x1c7ec2=(_0x409a71=_0x522ab2['getCurrentUser']())==null?void 0x0:_0x409a71[_0x495f9d(0x2f4)])!=null?_0x1c7ec2:'unknown';return{'changeset':{'unitID':_0x2463a3,'type':_0x59b5be(_0x1349bb[_0x495f9d(0x309)](_0x2463a3)),'baseRev':_0x2c178d[_0x495f9d(0x3a4)](_0x2463a3),'revision':0x0,'userID':_0x147f5c,'memberID':_0x135c51,'mutations':_0x298004},'pendingMutations':_0x53066f[_0x495f9d(0x11b)](_0x298004[_0x495f9d(0x129)])};}function ns(_0x5413e3,_0x12ea4f,_0x2b79b1,_0xd497f1,_0x18a962){var _0x471283=_0x43b0b2,_0x31a531,_0x108aff,_0xe4b109,_0x20f83e;const _0x12a3b5=[_0x5413e3[_0x471283(0x1be)]((_0x58b6ee,_0x2b49d5)=>{var _0x4fbedd=_0x471283,_0x20fab3;const {id:_0x30706b}=_0x58b6ee,{id:_0x50d407,type:_0x492edf}=_0x2b49d5,_0x465e00=(_0x20fab3=_0x58b6ee[_0x4fbedd(0x1b2)])!=null?_0x20fab3:{'actions':null},_0x1ac64d=_0x2b49d5[_0x4fbedd(0x1b2)];if(_0x30706b&&_0x30706b!==_0x50d407)throw new Error(_0x4fbedd(0x34a)+_0x30706b+_0x4fbedd(0x1e2)+_0x50d407+'.');return{..._0x58b6ee,'id':_0x50d407,'type':_0x492edf,'params':{'unitId':_0x1ac64d[_0x4fbedd(0x2d9)],'textRanges':_0x1ac64d[_0x4fbedd(0x22f)],'actions':_0x1849ab['compose'](_0x465e00['actions'],_0x1ac64d[_0x4fbedd(0x140)])}};},{})],_0x1d8286=(_0x108aff=(_0x31a531=_0x18a962['getCurrentUser']())==null?void 0x0:_0x31a531['userID'])!=null?_0x108aff:_0x471283(0x202),_0x506a16=(_0x20f83e=(_0xe4b109=_0x18a962[_0x471283(0x38d)]())==null?void 0x0:_0xe4b109[_0x471283(0x2f4)])!=null?_0x20f83e:_0x471283(0x202);return{'changeset':{'unitID':_0x12ea4f,'type':_0x59b5be(_0x2b79b1[_0x471283(0x309)](_0x12ea4f)),'baseRev':_0xd497f1['getCurrentRevOfUnit'](_0x12ea4f),'revision':0x0,'userID':_0x1d8286,'memberID':_0x506a16,'mutations':_0x12a3b5},'pendingMutations':[]};}function Ri(_0x1f304d,_0x214c2a){var _0x2a175f=_0x43b0b2;const _0x4f514d=new _0x41a43b(0x1);return setTimeout(()=>_0x4f514d[_0x2a175f(0xef)](_0x214c2a),_0x1f304d),_0x4f514d[_0x2a175f(0x1fc)]()[_0x2a175f(0x304)](_0x48721f(0x1));}const ss={'id':_0x2e470d['id'],'type':_0xfe81c8[_0x43b0b2(0x1c9)],'params':{}};var rs=Object[_0x43b0b2(0x368)],Te=(_0x128873,_0x47349e,_0x44f933,_0x502138)=>{var _0x3a431a=_0x43b0b2;for(var _0x1f74e9=_0x502138>0x1?void 0x0:_0x502138?rs(_0x47349e,_0x44f933):_0x47349e,_0x33291e=_0x128873[_0x3a431a(0x129)]-0x1,_0x25a0b4;_0x33291e>=0x0;_0x33291e--)(_0x25a0b4=_0x128873[_0x33291e])&&(_0x1f74e9=_0x25a0b4(_0x1f74e9)||_0x1f74e9);return _0x1f74e9;},P=(_0x3d781f,_0xb038ec)=>(_0x73f0af,_0x14caad)=>_0xb038ec(_0x73f0af,_0x14caad,_0x3d781f),bi=(_0x35b915=>(_0x35b915[_0x43b0b2(0x1a4)]=_0x43b0b2(0x14d),_0x35b915['SYNCED']=_0x43b0b2(0x1c3),_0x35b915[_0x43b0b2(0xec)]=_0x43b0b2(0x263),_0x35b915['AWAITING']=_0x43b0b2(0x2ab),_0x35b915['AWAITING_WITH_PENDING']=_0x43b0b2(0x32a),_0x35b915[_0x43b0b2(0x259)]=_0x43b0b2(0x1d5),_0x35b915['CONFLICT']=_0x43b0b2(0x33b),_0x35b915[_0x43b0b2(0x16c)]=_0x43b0b2(0x170),_0x35b915))(bi||{});const yi=0xea60;class Ce{constructor(_0x524a01,_0x3fa0ab,_0x131541,_0x4928d4,_0x243144,_0x424e61,_0x4c429f,_0x159373,_0x109d82){var _0xbda4e=_0x43b0b2;N(this,_0xbda4e(0x2be),null),N(this,_0xbda4e(0x1b7),[]),(this['unitID']=_0x524a01,this[_0xbda4e(0xe6)]=_0x3fa0ab,this[_0xbda4e(0x32e)]=_0x243144,this[_0xbda4e(0x106)]=_0x424e61,this['_undoRedoService']=_0x4c429f,this['_revisionService']=_0x159373,this[_0xbda4e(0x3c5)]=_0x109d82,this[_0xbda4e(0x2be)]=_0x131541,this[_0xbda4e(0x1b7)]=_0x4928d4);}[_0x43b0b2(0x358)](_0x21e4f6){var _0x111967=_0x43b0b2;const _0x3c3182=this[_0x111967(0xd0)]['getCurrentRevOfUnit'](this[_0x111967(0x1e8)]);return _0x21e4f6['revision']>_0x3c3182+0x1?(this[_0x111967(0x32e)][_0x111967(0x3c6)]({'from':_0x3c3182,'to':_0x21e4f6[_0x111967(0x30b)]-0x1}),!0x0):!0x1;}[_0x43b0b2(0x235)](_0x26ce4e){var _0x43fd35=_0x43b0b2;this[_0x43fd35(0xcd)][_0x43fd35(0x31b)](this['unitID'],_0x26ce4e);}[_0x43b0b2(0x236)](_0x360d30){var _0x5f12fc=_0x43b0b2,_0x17be8d,_0x1b5350;(_0x1b5350=(_0x17be8d=this[_0x5f12fc(0x32e)])[_0x5f12fc(0x166)])==null||_0x1b5350[_0x5f12fc(0x306)](_0x17be8d,_0x360d30);}[_0x43b0b2(0x117)](_0x501fd7){var _0x116e83=_0x43b0b2,_0x226715,_0x3da7ca;return(_0x3da7ca=(_0x226715=this[_0x116e83(0x32e)])['onTransformIME'])==null?void 0x0:_0x3da7ca[_0x116e83(0x306)](_0x226715,_0x501fd7);}[_0x43b0b2(0x234)](_0xf7b9c4){var _0x5825ab=_0x43b0b2,_0x1b7d1a,_0x266d6d;return(_0x266d6d=(_0x1b7d1a=this['_handler'])[_0x5825ab(0x29b)])==null?void 0x0:_0x266d6d['call'](_0x1b7d1a,_0xf7b9c4);}[_0x43b0b2(0x329)](_0x396207){var _0x1184ca=_0x43b0b2,_0x51831c,_0x3d5213,_0x45ceb6;return(_0x45ceb6=(_0x3d5213=(_0x51831c=this[_0x1184ca(0x32e)])[_0x1184ca(0x173)])==null?void 0x0:_0x3d5213[_0x1184ca(0x306)](_0x51831c,_0x396207))!=null?_0x45ceb6:_0x396207;}[_0x43b0b2(0x37b)](_0x249842){var _0x247bef=_0x43b0b2,_0x50df57,_0x38c543,_0x3ca2d6;return(_0x3ca2d6=(_0x38c543=(_0x50df57=this[_0x247bef(0x32e)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x38c543['call'](_0x50df57,_0x249842))!=null?_0x3ca2d6:_0x249842;}[_0x43b0b2(0x331)](_0x55dbaa){var _0x31851c=_0x43b0b2,_0x527002,_0x55bdd0;if(this[_0x31851c(0xe6)]===Q[_0x31851c(0x248)]){const {unitID:_0x222af7,mutations:_0x3f619d,memberID:_0x470b6b}=_0x55dbaa,_0x5a5cb4=_0x3f619d[0x0][_0x31851c(0x1b2)][_0x31851c(0x22f)];Array['isArray'](_0x5a5cb4)&&_0x5a5cb4[_0x31851c(0x129)]>0x0&&((_0x55bdd0=(_0x527002=this[_0x31851c(0x32e)])[_0x31851c(0x1da)])==null||_0x55bdd0[_0x31851c(0x306)](_0x527002,{'unitID':_0x222af7,'memberID':_0x470b6b,'textRanges':_0x5a5cb4}));}}['_updateLocalCache'](){var _0x469a21=_0x43b0b2,_0x5189df;(_0x5189df=this[_0x469a21(0x3c5)])==null||_0x5189df[_0x469a21(0x2c4)](this[_0x469a21(0x1e8)],this['type'],this[_0x469a21(0x2be)],this[_0x469a21(0x1b7)]);}[_0x43b0b2(0x18d)](){var _0xbcae53=_0x43b0b2;return this[_0xbcae53(0xd0)][_0xbcae53(0x3a4)](this['unitID']);}[_0x43b0b2(0x167)](){var _0xffadfe=_0x43b0b2;this[_0xffadfe(0xd0)][_0xffadfe(0x395)](this[_0xffadfe(0x1e8)]);}[_0x43b0b2(0x251)](_0x4cc572){var _0x3198f9=_0x43b0b2,_0x580c46;let _0x18f3a6=this[_0x3198f9(0x329)](_0x4cc572);_0x18f3a6=this[_0x3198f9(0x37b)](_0x18f3a6);const _0x399327=_0x53c5af(_0x18f3a6[_0x3198f9(0x128)],this[_0x3198f9(0x106)],{'fromCollab':!0x0});if(!_0x399327[_0x3198f9(0x2ea)])throw _0x399327[_0x3198f9(0x3a0)]instanceof Error?_0x399327[_0x3198f9(0x3a0)]:new Error((_0x580c46=_0x399327[_0x3198f9(0x3a0)])!=null?_0x580c46:_0x3198f9(0x278));this['_transformIMECache'](_0x18f3a6),this[_0x3198f9(0x234)](_0x18f3a6),this[_0x3198f9(0x235)](_0x4cc572),this[_0x3198f9(0x236)](_0x18f3a6),this[_0x3198f9(0x331)](_0x18f3a6),this[_0x3198f9(0x167)]();}}let Ne=class extends Ce{constructor(_0x5a5136,_0x23e54e,_0x18303a,_0x372cf1,_0x58cd53,_0x805dd8,_0x54a8de,_0x48adda,_0x54203f,_0x9be924){var _0x598eb2=_0x43b0b2;super(_0x5a5136,_0x23e54e,null,[],_0x18303a,_0x54a8de,_0x805dd8,_0x372cf1,_0x9be924),N(this,'status','synced'),(this[_0x598eb2(0xe3)]=_0x58cd53,this[_0x598eb2(0x1ef)]=_0x48adda,this['_transformService']=_0x54203f,this['localCacheService']=_0x9be924);}[_0x43b0b2(0x34b)](_0x2556fb){var _0x2f2aae=_0x43b0b2;const _0x5cd27d=this[_0x2f2aae(0xe3)][_0x2f2aae(0x3b7)](ae,this[_0x2f2aae(0x1e8)],this['type'],[_0x2556fb],this['_handler']);return _0x5cd27d[_0x2f2aae(0x345)](),_0x5cd27d[_0x2f2aae(0x3a9)](),_0x5cd27d;}['onRemoteChangeset'](_0x1677d4){var _0x29567b=_0x43b0b2;if(this['_checkMissing'](_0x1677d4))return this[_0x29567b(0xe3)]['createInstance'](ee,this[_0x29567b(0x1e8)],this[_0x29567b(0xe6)],null,[],null,[_0x1677d4],this['_handler']);try{const _0x573b5a=this[_0x29567b(0x2ae)][_0x29567b(0x245)](_0x1677d4,[ss]);if(_0x43612d(_0x573b5a)){const {c1Prime:_0x59af78}=_0x573b5a;return this[_0x29567b(0x251)](_0x59af78),this;}throw _0x573b5a['error'];}catch(_0x920402){return this[_0x29567b(0x1ef)][_0x29567b(0x3a0)](_0x920402),this[_0x29567b(0x199)](!0x1);}}[_0x43b0b2(0x199)](_0x1fface){var _0x43101a=_0x43b0b2;return this[_0x43101a(0xe3)][_0x43101a(0x3b7)](ue,this[_0x43101a(0x1e8)],this[_0x43101a(0xe6)],null,[],this[_0x43101a(0x32e)],_0x1fface);}['onRemoteAck'](){var _0x33446=_0x43b0b2;throw new Error(_0x33446(0x2b8));}[_0x43b0b2(0xf2)](){var _0x89c94f=_0x43b0b2;throw new Error(_0x89c94f(0x337));}[_0x43b0b2(0x15c)](){return this;}[_0x43b0b2(0x2c7)](){var _0x7998c7=_0x43b0b2;return this[_0x7998c7(0xe3)]['createInstance'](de,this[_0x7998c7(0x1e8)],this[_0x7998c7(0xe6)],null,[],this[_0x7998c7(0x32e)]);}[_0x43b0b2(0x291)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x43b0b2(0x164)](){var _0x1717a2=_0x43b0b2;const _0x69e1b6=this[_0x1717a2(0xd0)][_0x1717a2(0x3a4)](this[_0x1717a2(0x1e8)]);return this[_0x1717a2(0x32e)]['onMissingChangesets']({'from':_0x69e1b6,'to':0x0}),this['_injector'][_0x1717a2(0x3b7)](ee,this['unitID'],this[_0x1717a2(0xe6)],null,[],null,[],this[_0x1717a2(0x32e)]);}};function _0x3f50(_0x3653c8,_0x12d63f){var _0x48e261=_0x48e2();return _0x3f50=function(_0x3f50f8,_0x4e925d){_0x3f50f8=_0x3f50f8-0xbd;var _0x47e606=_0x48e261[_0x3f50f8];return _0x47e606;},_0x3f50(_0x3653c8,_0x12d63f);}Ne=Te([P(0x3,_0x2ffd40(_0x1880c7)),P(0x4,_0x2ffd40(_0x4f0850)),P(0x5,_0x89eb02),P(0x6,_0x564f8e),P(0x7,_0x1e90e1),P(0x8,_0x218fca),P(0x9,_0x29dab8(J))],Ne);let ae=class extends Ce{constructor(_0x58086f,_0x245069,_0x1e6d25,_0x42d1f6,_0x9ef040,_0x9b273a,_0x5a2555,_0x34b518,_0x38464f,_0x318c4f,_0x5014d2,_0x24b992,_0x20b3cc,_0xc81184){var _0x1de107=_0x43b0b2;super(_0x58086f,_0x245069,null,_0x1e6d25,_0x42d1f6,_0x38464f,_0x20b3cc,_0x9b273a,_0xc81184),N(this,_0x1de107(0x2f7),_0x1de107(0x263)),N(this,_0x1de107(0x1d6),null),N(this,_0x1de107(0xfc),null),(this['_injector']=_0x9ef040,this[_0x1de107(0x2b7)]=_0x5a2555,this[_0x1de107(0x1ef)]=_0x34b518,this['_configService']=_0x318c4f,this[_0x1de107(0x2ae)]=_0x5014d2,this['_univerInstanceService']=_0x24b992);}[_0x43b0b2(0x34b)](_0x5865d7){var _0x5b5f3e=_0x43b0b2;return this[_0x5b5f3e(0x1b7)][_0x5b5f3e(0x3b9)](_0x5865d7),this[_0x5b5f3e(0x3a9)](),this;}[_0x43b0b2(0x1cf)](_0xf8cd7b){var _0x4b4d98=_0x43b0b2;if(this[_0x4b4d98(0x358)](_0xf8cd7b))return this[_0x4b4d98(0x176)](),this[_0x4b4d98(0xe3)][_0x4b4d98(0x3b7)](ee,this[_0x4b4d98(0x1e8)],this[_0x4b4d98(0xe6)],null,this[_0x4b4d98(0x1b7)],null,[_0xf8cd7b],this[_0x4b4d98(0x32e)]);try{const _0x50f42d=this[_0x4b4d98(0x2ae)]['transformMutationsWithChangeset'](_0xf8cd7b,this[_0x4b4d98(0x1b7)]);if(_0x43612d(_0x50f42d)){const {c1Prime:_0x2f906a,m2Prime:_0x309680}=_0x50f42d;this[_0x4b4d98(0x251)](_0x2f906a);const _0x289a39=this['_injector']['createInstance'](ae,this[_0x4b4d98(0x1e8)],this[_0x4b4d98(0xe6)],_0x309680,this[_0x4b4d98(0x32e)]);this[_0x4b4d98(0x176)]();const _0x235996=new Date()['getTime'](),_0x524e49=this[_0x4b4d98(0x1d6)]?Math[_0x4b4d98(0x216)](this[_0x4b4d98(0x1d6)]-_0x235996,0x0):this[_0x4b4d98(0xc3)]();return _0x289a39['_schedule'](_0x524e49),_0x289a39;}throw _0x50f42d[_0x4b4d98(0x3a0)];}catch(_0x5fc6c){return this[_0x4b4d98(0x1ef)]['error'](_0x5fc6c),this['_onConflict'](!0x1);}}[_0x43b0b2(0x1fa)](){var _0x46a003=_0x43b0b2;throw new Error(_0x46a003(0x246));}[_0x43b0b2(0xf2)](){var _0xd4a746=_0x43b0b2;throw new Error(_0xd4a746(0x25d));}[_0x43b0b2(0x15c)](){return this;}[_0x43b0b2(0x2c7)](){var _0x312a3b=_0x43b0b2;return this[_0x312a3b(0x176)](),this['_injector'][_0x312a3b(0x3b7)](de,this[_0x312a3b(0x1e8)],this[_0x312a3b(0xe6)],null,this['_pendingMutations'],this[_0x312a3b(0x32e)]);}[_0x43b0b2(0x291)](){return this;}[_0x43b0b2(0x345)](_0x2f01cd){var _0x17083d=_0x43b0b2;const _0x18164c=_0x2f01cd!=null?_0x2f01cd:this[_0x17083d(0xc3)]();this['_scheduleCompleteTimestamp']=new Date()[_0x17083d(0x2ce)]()+_0x18164c,this[_0x17083d(0xfc)]=setTimeout(()=>{var _0x1d3047=_0x17083d;this['_clearScheduledTask']();let _0xc60d53=null;switch(this[_0x1d3047(0xe6)]){case Q[_0x1d3047(0x159)]:{_0xc60d53=qt(this[_0x1d3047(0x1b7)],this[_0x1d3047(0x1e8)],this[_0x1d3047(0x20d)],this['_revisionService'],this['_memberService']);break;}case Q[_0x1d3047(0x248)]:{this[_0x1d3047(0x1b7)]['every'](_0x31a371=>_0x31a371['id']===_0x3ab470['id'])?_0xc60d53=ns(this[_0x1d3047(0x1b7)],this['unitID'],this[_0x1d3047(0x20d)],this[_0x1d3047(0xd0)],this['_memberService']):_0xc60d53=qt(this['_pendingMutations'],this[_0x1d3047(0x1e8)],this[_0x1d3047(0x20d)],this[_0x1d3047(0xd0)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1d3047(0xe6)]+_0x1d3047(0x137));}const {changeset:_0x253771,pendingMutations:_0x4178be}=_0xc60d53;this[_0x1d3047(0x32e)][_0x1d3047(0x297)](_0x253771);const _0x104f2c=_0x4178be[_0x1d3047(0x129)]?this[_0x1d3047(0xe3)][_0x1d3047(0x3b7)](oe,this[_0x1d3047(0x1e8)],this[_0x1d3047(0xe6)],_0x253771,_0x4178be,this[_0x1d3047(0x32e)],void 0x0):this['_injector'][_0x1d3047(0x3b7)](le,this[_0x1d3047(0x1e8)],this[_0x1d3047(0xe6)],_0x253771,this[_0x1d3047(0x32e)]);_0x104f2c[_0x1d3047(0x3a9)](),this[_0x1d3047(0x32e)]['onStateChange'](this,_0x104f2c);},_0x18164c);}['_getSendChangesetTimeout'](){var _0x42f033=_0x43b0b2,_0x418630;const _0x77b2b7=this['_configService'][_0x42f033(0xc0)](q);return(_0x418630=_0x77b2b7==null?void 0x0:_0x77b2b7[_0x42f033(0x257)])!=null?_0x418630:En;}[_0x43b0b2(0x1e1)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x43b0b2(0x176)](){var _0x310f61=_0x43b0b2;this[_0x310f61(0xfc)]!=null&&(clearTimeout(this[_0x310f61(0xfc)]),this[_0x310f61(0xfc)]=null);}['_onConflict'](_0x4435f2){var _0x1206e8=_0x43b0b2;return this[_0x1206e8(0x176)](),this[_0x1206e8(0xe3)][_0x1206e8(0x3b7)](ue,this[_0x1206e8(0x1e8)],this[_0x1206e8(0xe6)],null,this[_0x1206e8(0x1b7)],this[_0x1206e8(0x32e)],_0x4435f2);}};ae=Te([P(0x4,_0x2ffd40(_0x4f0850)),P(0x5,_0x2ffd40(_0x1880c7)),P(0x6,_0x2ffd40(Le)),P(0x7,_0x1e90e1),P(0x8,_0x564f8e),P(0x9,_0x167670),P(0xa,_0x218fca),P(0xb,_0x5e61b9),P(0xc,_0x89eb02),P(0xd,_0x29dab8(J))],ae);let le=class extends Ce{constructor(_0x3e0a44,_0x466d01,_0x1fe911,_0x5654c6,_0x544757,_0x179ca3,_0x534791,_0x22928f,_0x3c3819,_0x1d004c,_0x251c73){var _0x3231f0=_0x43b0b2;super(_0x3e0a44,_0x466d01,_0x1fe911,[],_0x5654c6,_0x534791,_0x1d004c,_0x179ca3,_0x251c73),N(this,_0x3231f0(0x2f7),_0x3231f0(0x2ab)),N(this,_0x3231f0(0x2aa),0x0),N(this,_0x3231f0(0x243)),N(this,_0x3231f0(0x344)),(this[_0x3231f0(0xe3)]=_0x544757,this[_0x3231f0(0x1ef)]=_0x22928f,this[_0x3231f0(0x2ae)]=_0x3c3819);}['appendMutation'](_0x16c849){var _0x4e1ccc=_0x43b0b2;this[_0x4e1ccc(0x176)]();const _0x184840=this[_0x4e1ccc(0xe3)][_0x4e1ccc(0x3b7)](oe,this[_0x4e1ccc(0x1e8)],this['type'],this[_0x4e1ccc(0x2be)],[_0x16c849],this[_0x4e1ccc(0x32e)],this[_0x4e1ccc(0x243)]);return _0x184840['_updateLocalCache'](),_0x184840;}[_0x43b0b2(0x1cf)](_0x38cab7){var _0x585b11=_0x43b0b2;if(this[_0x585b11(0x358)](_0x38cab7))return this[_0x585b11(0x176)](),this[_0x585b11(0xe3)][_0x585b11(0x3b7)](ee,this['unitID'],this[_0x585b11(0xe6)],this[_0x585b11(0x2be)],[],null,[_0x38cab7],this[_0x585b11(0x32e)]);try{const _0x17a295=this[_0x585b11(0x2ae)][_0x585b11(0xff)]([_0x38cab7],[this[_0x585b11(0x2be)]],!0x1);if(_0x3d9fc6(_0x17a295)){const {c1Prime:_0x31afee,c2Prime:_0x1868ed}=_0x17a295;this[_0x585b11(0x251)](_0x31afee[0x0]),_0x1868ed[0x0][_0x585b11(0x118)]=this[_0x585b11(0x18d)](),this['_clearScheduledTask']();const _0x4fb89a=this[_0x585b11(0xe3)][_0x585b11(0x3b7)](le,this[_0x585b11(0x1e8)],this[_0x585b11(0xe6)],_0x1868ed[0x0],this[_0x585b11(0x32e)]);return _0x4fb89a[_0x585b11(0x3a9)](),_0x4fb89a;}return this[_0x585b11(0x199)](!0x1);}catch(_0x4d75cd){return this['_logService'][_0x585b11(0x3a0)](_0x4d75cd),this[_0x585b11(0x199)](!0x1);}}['onRemoteAck'](_0xc6c3da){var _0x19a9f4=_0x43b0b2;this[_0x19a9f4(0x176)]();const _0x5ce0d5=this[_0x19a9f4(0xd0)][_0x19a9f4(0x3a4)](this['unitID']);if(_0xc6c3da[_0x19a9f4(0x30b)]<_0x5ce0d5-0x1)return this;if(this[_0x19a9f4(0x358)](_0xc6c3da))return this[_0x19a9f4(0xe3)][_0x19a9f4(0x3b7)](ee,this[_0x19a9f4(0x1e8)],this[_0x19a9f4(0xe6)],null,[],this[_0x19a9f4(0x2be)],[],this[_0x19a9f4(0x32e)]);this[_0x19a9f4(0x167)]();const _0x3f71db=this[_0x19a9f4(0xe3)][_0x19a9f4(0x3b7)](Ne,this[_0x19a9f4(0x1e8)],this[_0x19a9f4(0xe6)],this[_0x19a9f4(0x32e)]);return _0x3f71db['_updateLocalCache'](),_0x3f71db;}[_0x43b0b2(0xf2)](_0x1b6a3a){var _0x4f1367=_0x43b0b2;return this['_onConflict'](!!(_0x1b6a3a!=null&&_0x1b6a3a[_0x4f1367(0x17f)]));}[_0x43b0b2(0x15c)](_0x3297eb){var _0x137d4a=_0x43b0b2;return this[_0x137d4a(0x2aa)]>yi?this[_0x137d4a(0x2c7)]():(this[_0x137d4a(0x243)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3297eb[_0x137d4a(0x228)]}),this[_0x137d4a(0x344)]=this[_0x137d4a(0x243)][_0x137d4a(0x29e)](({reqId:_0x2cc5f1,timeout:_0x2ed043})=>{var _0x1bce4a=_0x137d4a;this[_0x1bce4a(0x145)](_0x2cc5f1,_0x2ed043);}),this);}[_0x43b0b2(0x2c7)](){var _0x4331eb=_0x43b0b2;return this['_clearScheduledTask'](),this[_0x4331eb(0xe3)][_0x4331eb(0x3b7)](de,this['unitID'],this[_0x4331eb(0xe6)],this['_awaitingChangeset'],[],this[_0x4331eb(0x32e)]);}['toggleOnline'](){return this;}['resend'](){var _0x114a05=_0x43b0b2;this[_0x114a05(0x32e)]['onSendChangeset'](this[_0x114a05(0x2be)]);}[_0x43b0b2(0x199)](_0x5e3d08){var _0x2df0ed=_0x43b0b2;return this[_0x2df0ed(0x176)](),this['_injector'][_0x2df0ed(0x3b7)](ue,this['unitID'],this[_0x2df0ed(0xe6)],this[_0x2df0ed(0x2be)],[],this[_0x2df0ed(0x32e)],_0x5e3d08);}[_0x43b0b2(0x145)](_0xda47ac,_0x14abf9){var _0x26bbb7=_0x43b0b2,_0x930245;_0xda47ac===((_0x930245=this['_awaitingChangeset'])==null?void 0x0:_0x930245[_0x26bbb7(0x228)])&&(this[_0x26bbb7(0x1e1)](),this['_resendTimeout']=_0x14abf9===0x0?0x3e8:_0x14abf9*0x2);}[_0x43b0b2(0x176)](){var _0x57ac33;(_0x57ac33=this['_sender'])==null||_0x57ac33['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x2ffd40(_0x4f0850)),P(0x5,_0x2ffd40(_0x1880c7)),P(0x6,_0x564f8e),P(0x7,_0x1e90e1),P(0x8,_0x218fca),P(0x9,_0x89eb02),P(0xa,_0x29dab8(J))],le);let oe=class extends Ce{constructor(_0x80698a,_0x6ba75,_0x15fe9b,_0x273edf,_0x2833ed,_0x219321,_0x4cca9f,_0x1909d3,_0x37f171,_0x798898,_0x3894a4,_0x2341f2,_0x105562){var _0x1543fb=_0x43b0b2;super(_0x80698a,_0x6ba75,_0x15fe9b,_0x273edf,_0x2833ed,_0x37f171,_0x2341f2,_0x1909d3,_0x105562),N(this,'status',_0x1543fb(0x32a)),N(this,_0x1543fb(0x2aa),0x0),N(this,_0x1543fb(0x243)),N(this,_0x1543fb(0x344)),(this[_0x1543fb(0xe3)]=_0x4cca9f,this[_0x1543fb(0x1ef)]=_0x798898,this[_0x1543fb(0x2ae)]=_0x3894a4,this['localCacheService']=_0x105562,_0x219321&&(this[_0x1543fb(0x243)]=_0x219321,this[_0x1543fb(0x344)]=this[_0x1543fb(0x243)][_0x1543fb(0x29e)](({reqId:_0x1251ce,timeout:_0x433f63})=>{var _0x315e12=_0x1543fb;this[_0x315e12(0x145)](_0x1251ce,_0x433f63);})));}[_0x43b0b2(0x34b)](_0x986899){var _0x3ef955=_0x43b0b2;return this[_0x3ef955(0x1b7)][_0x3ef955(0x3b9)](_0x986899),this;}[_0x43b0b2(0x1cf)](_0x176fe6){var _0x31ea97=_0x43b0b2;if(this[_0x31ea97(0x358)](_0x176fe6))return this[_0x31ea97(0x176)](),this['_injector'][_0x31ea97(0x3b7)](ee,this['unitID'],this[_0x31ea97(0xe6)],this[_0x31ea97(0x2be)],this[_0x31ea97(0x1b7)],null,[_0x176fe6],this['_handler']);try{const _0x2b46ee=this[_0x31ea97(0x2ae)][_0x31ea97(0xff)]([_0x176fe6],[this[_0x31ea97(0x2be)]],!0x1);if(_0x3d9fc6(_0x2b46ee)){const {c1Prime:_0x88e5af,c2Prime:_0x5eb45c}=_0x2b46ee,_0x4d293d=this[_0x31ea97(0x2ae)]['transformMutationsWithChangeset'](_0x88e5af[0x0],this['_pendingMutations']);if(_0x43612d(_0x4d293d)){const {c1Prime:_0xd73f92,m2Prime:_0xa61ac0}=_0x4d293d;return this[_0x31ea97(0x251)](_0xd73f92),_0x5eb45c[0x0][_0x31ea97(0x118)]=this[_0x31ea97(0x18d)](),this[_0x31ea97(0x176)](),this[_0x31ea97(0xe3)][_0x31ea97(0x3b7)](oe,this['unitID'],this[_0x31ea97(0xe6)],_0x5eb45c[0x0],_0xa61ac0,this[_0x31ea97(0x32e)],void 0x0);}throw _0x4d293d[_0x31ea97(0x3a0)];}throw _0x2b46ee[_0x31ea97(0x3a0)];}catch(_0x220021){return this[_0x31ea97(0x1ef)][_0x31ea97(0x3a0)](_0x220021),this[_0x31ea97(0x199)](!0x1);}}[_0x43b0b2(0x1fa)](_0x5a31e2){var _0x5c1bc9=_0x43b0b2;if(this['_clearScheduledTask'](),this[_0x5c1bc9(0x358)](_0x5a31e2))return this[_0x5c1bc9(0xe3)]['createInstance'](ee,this['unitID'],this[_0x5c1bc9(0xe6)],null,this['_pendingMutations'],this[_0x5c1bc9(0x2be)],[],this[_0x5c1bc9(0x32e)]);this[_0x5c1bc9(0x167)]();const _0x6207c7=this[_0x5c1bc9(0xe3)]['createInstance'](ae,this[_0x5c1bc9(0x1e8)],this[_0x5c1bc9(0xe6)],this['_pendingMutations'],this['_handler']);return _0x6207c7[_0x5c1bc9(0x345)](),_0x6207c7[_0x5c1bc9(0x3a9)](),_0x6207c7;}[_0x43b0b2(0xf2)](_0x4508fb){var _0x5a0ef6=_0x43b0b2;return this[_0x5a0ef6(0x199)](!!(_0x4508fb!=null&&_0x4508fb[_0x5a0ef6(0x17f)]));}[_0x43b0b2(0x15c)](_0x2c10f6){var _0x52945a=_0x43b0b2;return this[_0x52945a(0x2aa)]>yi?this[_0x52945a(0x2c7)]():(this[_0x52945a(0x243)]=Ri(this[_0x52945a(0x2aa)],{'timeout':this[_0x52945a(0x2aa)],'reqId':_0x2c10f6[_0x52945a(0x228)]}),this[_0x52945a(0x344)]=this[_0x52945a(0x243)][_0x52945a(0x29e)](({reqId:_0x7152d9,timeout:_0x5a8c6a})=>{var _0x1f5077=_0x52945a;this[_0x1f5077(0x145)](_0x7152d9,_0x5a8c6a);}),this);}[_0x43b0b2(0x2c7)](){var _0x3083c2=_0x43b0b2;return this[_0x3083c2(0x176)](),this[_0x3083c2(0xe3)][_0x3083c2(0x3b7)](de,this[_0x3083c2(0x1e8)],this[_0x3083c2(0xe6)],this['_awaitingChangeset'],this[_0x3083c2(0x1b7)],this[_0x3083c2(0x32e)]);}['toggleOnline'](){return this;}[_0x43b0b2(0x1e1)](){var _0x5d8efe=_0x43b0b2;this[_0x5d8efe(0x32e)][_0x5d8efe(0x297)](this[_0x5d8efe(0x2be)]);}[_0x43b0b2(0x199)](_0x4a9f84){var _0x106883=_0x43b0b2;return this['_clearScheduledTask'](),this['_injector'][_0x106883(0x3b7)](ue,this[_0x106883(0x1e8)],this[_0x106883(0xe6)],null,this[_0x106883(0x1b7)],this[_0x106883(0x32e)],_0x4a9f84);}[_0x43b0b2(0x145)](_0x16c06e,_0x5153ec){var _0x3857b2=_0x43b0b2,_0x57ddf4;_0x16c06e===((_0x57ddf4=this[_0x3857b2(0x2be)])==null?void 0x0:_0x57ddf4[_0x3857b2(0x228)])&&(this['resend'](),this['_resendTimeout']=_0x5153ec===0x0?0x3e8:_0x5153ec*0x2);}['_clearScheduledTask'](){var _0x397e6f=_0x43b0b2,_0x535a39;(_0x535a39=this[_0x397e6f(0x344)])==null||_0x535a39[_0x397e6f(0x302)](),this[_0x397e6f(0x2aa)]=0x0;}};oe=Te([P(0x6,_0x2ffd40(_0x4f0850)),P(0x7,_0x2ffd40(_0x1880c7)),P(0x8,_0x564f8e),P(0x9,_0x1e90e1),P(0xa,_0x218fca),P(0xb,_0x89eb02),P(0xc,_0x29dab8(J))],oe);let ue=class extends Ce{constructor(_0x742e45,_0x56fd07,_0xbcc974,_0xfa1e45,_0x1c1f38,_0x3afcab=!0x1,_0x20804a,_0x507f10,_0x221572,_0x490ec1,_0x4d2acc,_0xcaf0f4,_0x4ec631){var _0x2a1e0e=_0x43b0b2;super(_0x742e45,_0x56fd07,_0xbcc974,_0xfa1e45,_0x1c1f38,_0x507f10,_0x221572,_0x490ec1,_0x4ec631),N(this,_0x2a1e0e(0x2f7),_0x2a1e0e(0x33b)),(this[_0x2a1e0e(0x114)]=_0x3afcab,this['_permissionService']=_0x20804a,this['_localeService']=_0x4d2acc,this[_0x2a1e0e(0x3bf)]=_0xcaf0f4,this[_0x2a1e0e(0x1fb)]=_0x4ec631,this[_0x2a1e0e(0x393)](),this[_0x2a1e0e(0x1fe)](),this[_0x2a1e0e(0x1c0)]());}[_0x43b0b2(0x34b)](){return this;}[_0x43b0b2(0x1cf)](){return this;}[_0x43b0b2(0x1fa)](){return this;}[_0x43b0b2(0xf2)](){return this;}['onRemoteRetry'](){return this;}[_0x43b0b2(0x2c7)](){return this;}['toggleOnline'](){return this;}[_0x43b0b2(0x1e1)](){var _0x14c200=_0x43b0b2;throw new Error(_0x14c200(0x35e));}['_clearLocalCache'](){var _0x3bef69=_0x43b0b2,_0x555c51;(_0x555c51=this[_0x3bef69(0x3c5)])==null||_0x555c51['updateOfflineData'](this[_0x3bef69(0x1e8)],this[_0x3bef69(0xe6)],null,[]);}[_0x43b0b2(0x393)](){var _0x2360de=_0x43b0b2;this['_isPermissionRej']?this[_0x2360de(0x3bf)]['emitEvent']({'id':re[_0x2360de(0x230)]}):this['_collaborationUIEventService'][_0x2360de(0x2e2)]({'id':re[_0x2360de(0x2ad)]});}[_0x43b0b2(0x1c0)](){var _0x4f8cf1=_0x43b0b2;this[_0x4f8cf1(0x255)][_0x4f8cf1(0x2ee)](new _0x3542fd(this[_0x4f8cf1(0x1e8)])['id'],!0x1);}};ue=Te([P(0x6,_0x2ffd40(_0x30c700)),P(0x7,_0x564f8e),P(0x8,_0x89eb02),P(0x9,_0x2ffd40(_0x1880c7)),P(0xa,_0x2ffd40(_0x29e59f)),P(0xb,_0x2ffd40(pe)),P(0xc,_0x29dab8(J))],ue);let de=class extends Ce{constructor(_0x55fc42,_0x2210f8,_0xbfe3d5,_0x235928,_0x8c1f06,_0x1d03f7,_0x413ec2,_0x4bbdbc,_0x415176,_0x2b5579){var _0x5c61cd=_0x43b0b2;super(_0x55fc42,_0x2210f8,_0xbfe3d5,_0x235928,_0x8c1f06,_0x4bbdbc,_0x415176,_0x413ec2,_0x2b5579),N(this,'status','offline'),this[_0x5c61cd(0xe3)]=_0x1d03f7;}[_0x43b0b2(0x34b)](_0x3b396a){var _0x570583=_0x43b0b2;return this[_0x570583(0x1b7)][_0x570583(0x3b9)](_0x3b396a),this['_updateLocalCache'](),this;}[_0x43b0b2(0x1cf)](_0x2b6a08){var _0xebf270=_0x43b0b2;throw new Error(_0xebf270(0x2fb));}[_0x43b0b2(0x1fa)](){var _0x43a579=_0x43b0b2;throw new Error(_0x43a579(0xc1));}[_0x43b0b2(0xf2)](){var _0x5d2e89=_0x43b0b2;throw new Error(_0x5d2e89(0x16b));}['onRemoteRetry'](){return this;}[_0x43b0b2(0x2c7)](){return this;}[_0x43b0b2(0x291)](){var _0x4ae8d1=_0x43b0b2;const {_injector:_0x28f906,_pendingMutations:_0x40ac5f,_awaitingChangeset:_0x493e49,unitID:_0xb14025,_handler:_0x42172f,type:_0x3701bf}=this,_0x34223c=Oi(_0x28f906,_0xb14025,_0x3701bf,_0x493e49,_0x40ac5f,_0x42172f);return _0x34223c instanceof ae?_0x34223c['_schedule']():(_0x34223c instanceof oe||_0x34223c instanceof le)&&_0x34223c[_0x4ae8d1(0x1e1)](),_0x34223c;}['resend'](){var _0x2c76ca=_0x43b0b2;throw new Error(_0x2c76ca(0x165));}};de=Te([P(0x5,_0x2ffd40(_0x4f0850)),P(0x6,_0x2ffd40(_0x1880c7)),P(0x7,_0x564f8e),P(0x8,_0x89eb02),P(0x9,_0x29dab8(J))],de);let ee=class extends Ce{constructor(_0x5b1014,_0x38bd17,_0xc43d33,_0x24358d,_0x596340,_0x3c1c41,_0x3db4f5,_0x4601aa,_0x109361,_0x7f731f,_0x60af95,_0x4e4048,_0xacd6d1,_0x56d272){var _0x558db6=_0x43b0b2;super(_0x5b1014,_0x38bd17,_0xc43d33,_0x24358d,_0x3db4f5,_0x60af95,_0x4e4048,_0x109361,_0x56d272),N(this,_0x558db6(0x2f7),'fetch_missing'),(this[_0x558db6(0x13b)]=_0x596340,this[_0x558db6(0x223)]=_0x3c1c41,this[_0x558db6(0xe3)]=_0x4601aa,this['_logService']=_0x7f731f,this[_0x558db6(0x2ae)]=_0xacd6d1,this[_0x558db6(0x1fb)]=_0x56d272);}[_0x43b0b2(0x268)](_0x288539){var _0x31b046=_0x43b0b2;try{const _0x526545=[..._0x288539,...this[_0x31b046(0x223)]],_0x5b5742=[this['_awaitingChangeset']||this[_0x31b046(0x13b)]][_0x31b046(0x111)](_0x23febd=>!!_0x23febd);let _0x7513ae,_0x4c51c2;if(_0x5b5742[_0x31b046(0x129)]){const _0x1ac73e=this[_0x31b046(0x2ae)][_0x31b046(0xff)](_0x526545,_0x5b5742,!0x1);if(!_0x3d9fc6(_0x1ac73e))throw _0x1ac73e[_0x31b046(0x3a0)];_0x7513ae=_0x1ac73e[_0x31b046(0xd5)],_0x4c51c2=_0x1ac73e['c2Prime'];}else _0x7513ae=_0x526545,_0x4c51c2=[];let _0x368aa4=this[_0x31b046(0x1b7)];_0x7513ae[_0x31b046(0x285)](_0x25145e=>{var _0x44d298=_0x31b046;let _0x53f9b3;if(_0x368aa4[_0x44d298(0x129)]){const _0x3893ab=this[_0x44d298(0x2ae)][_0x44d298(0x245)](_0x25145e,_0x368aa4);if(!_0x43612d(_0x3893ab))throw _0x3893ab['error'];_0x53f9b3=_0x3893ab['c1Prime'],_0x368aa4=_0x3893ab['m2Prime'];}else _0x53f9b3=_0x25145e;this[_0x44d298(0x251)](_0x53f9b3);}),this[_0x31b046(0x13b)]&&this[_0x31b046(0x167)](),this[_0x31b046(0x2be)]&&_0x4c51c2[_0x31b046(0x129)]&&(_0x4c51c2[0x0][_0x31b046(0x118)]=this[_0x31b046(0x18d)]());let _0x131c0a;if(this[_0x31b046(0x2be)]&&_0x368aa4['length']!==0x0)_0x131c0a=this[_0x31b046(0xe3)][_0x31b046(0x3b7)](oe,this[_0x31b046(0x1e8)],this[_0x31b046(0xe6)],_0x4c51c2[0x0],_0x368aa4,this[_0x31b046(0x32e)],void 0x0);else{if(this[_0x31b046(0x2be)]&&_0x368aa4[_0x31b046(0x129)]===0x0)_0x4c51c2[0x0][_0x31b046(0x118)]=this[_0x31b046(0x18d)](),_0x131c0a=this[_0x31b046(0xe3)][_0x31b046(0x3b7)](le,this[_0x31b046(0x1e8)],this[_0x31b046(0xe6)],_0x4c51c2[0x0],this['_handler']);else{if(_0x368aa4['length']!==0x0){const _0x44e780=this[_0x31b046(0xe3)][_0x31b046(0x3b7)](ae,this['unitID'],this[_0x31b046(0xe6)],_0x368aa4,this[_0x31b046(0x32e)]);_0x44e780[_0x31b046(0x345)](),_0x131c0a=_0x44e780;}else _0x131c0a=this['_injector'][_0x31b046(0x3b7)](Ne,this[_0x31b046(0x1e8)],this[_0x31b046(0xe6)],this[_0x31b046(0x32e)]);}}return _0x131c0a[_0x31b046(0x3a9)](),_0x131c0a;}catch(_0xdcaba){return this['_logService'][_0x31b046(0x3a0)](_0x31b046(0x2df),_0x31b046(0x1af),_0xdcaba),this[_0x31b046(0xe3)][_0x31b046(0x3b7)](ue,this[_0x31b046(0x1e8)],this[_0x31b046(0xe6)],this['_awaitingChangeset'],this[_0x31b046(0x1b7)],this[_0x31b046(0x32e)],!0x1);}}[_0x43b0b2(0x1e1)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x43b0b2(0x34b)](_0x2b5d04){var _0x1aa9cc=_0x43b0b2;return this[_0x1aa9cc(0x1b7)][_0x1aa9cc(0x3b9)](_0x2b5d04),this;}[_0x43b0b2(0x1cf)](_0x10b7b5){var _0x78c1da=_0x43b0b2;return this[_0x78c1da(0x223)][_0x78c1da(0x3b9)](_0x10b7b5),this;}[_0x43b0b2(0x1fa)](_0xf58897){var _0x585b78=_0x43b0b2;if(this[_0x585b78(0x2be)])return this[_0x585b78(0x13b)]=this['_awaitingChangeset'],this[_0x585b78(0x2be)]=null,this;throw new Error(_0x585b78(0x279));}[_0x43b0b2(0xf2)](_0x65e9ca){var _0x2db8a5=_0x43b0b2;return this[_0x2db8a5(0x199)](!!(_0x65e9ca!=null&&_0x65e9ca[_0x2db8a5(0x17f)]));}[_0x43b0b2(0x15c)](){return this;}[_0x43b0b2(0x2c7)](){var _0x498968=_0x43b0b2;return this[_0x498968(0xe3)][_0x498968(0x3b7)](de,this[_0x498968(0x1e8)],this[_0x498968(0xe6)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x498968(0x32e)]);}[_0x43b0b2(0x291)](){return this;}[_0x43b0b2(0x199)](_0x5b059e){var _0x4f82ff=_0x43b0b2;return this[_0x4f82ff(0xe3)][_0x4f82ff(0x3b7)](ue,this[_0x4f82ff(0x1e8)],this[_0x4f82ff(0xe6)],this[_0x4f82ff(0x2be)],this[_0x4f82ff(0x1b7)],this['_handler'],_0x5b059e);}};ee=Te([P(0x7,_0x2ffd40(_0x4f0850)),P(0x8,_0x2ffd40(_0x1880c7)),P(0x9,_0x1e90e1),P(0xa,_0x564f8e),P(0xb,_0x89eb02),P(0xc,_0x218fca),P(0xd,_0x29dab8(J))],ee);function Oi(_0x456fb6,_0x725691,_0x4c9376,_0xf77d15,_0x58fad7,_0x4023c8){var _0x5f04d6=_0x43b0b2;return _0xf77d15&&_0x58fad7[_0x5f04d6(0x129)]?_0x456fb6[_0x5f04d6(0x3b7)](oe,_0x725691,_0x4c9376,_0xf77d15,_0x58fad7,_0x4023c8,void 0x0):_0xf77d15?_0x456fb6[_0x5f04d6(0x3b7)](le,_0x725691,_0x4c9376,_0xf77d15,_0x4023c8):_0x58fad7[_0x5f04d6(0x129)]?_0x456fb6[_0x5f04d6(0x3b7)](ae,_0x725691,_0x4c9376,_0x58fad7,_0x4023c8):_0x456fb6[_0x5f04d6(0x3b7)](Ne,_0x725691,_0x4c9376,_0x4023c8);}var as=Object[_0x43b0b2(0x368)],Lt=(_0x2af9e0,_0x33d858,_0x3d59e2,_0xdec14f)=>{var _0x53bdf5=_0x43b0b2;for(var _0x26c139=_0xdec14f>0x1?void 0x0:_0xdec14f?as(_0x33d858,_0x3d59e2):_0x33d858,_0x29619b=_0x2af9e0[_0x53bdf5(0x129)]-0x1,_0x14ee16;_0x29619b>=0x0;_0x29619b--)(_0x14ee16=_0x2af9e0[_0x29619b])&&(_0x26c139=_0x14ee16(_0x26c139)||_0x26c139);return _0x26c139;},H=(_0x83ba9c,_0x31ff2c)=>(_0x8580af,_0x305a9b)=>_0x31ff2c(_0x8580af,_0x305a9b,_0x83ba9c);let nt=class extends _0x34812f{constructor(_0x873e4d,_0x365822,_0x1b3dc9,_0x123942,_0xe9d867,_0x3f4757,_0xef99b7,_0x5694fe,_0xb608ce,_0x3b4c27,_0xc089f9,_0x536fd6,_0x9aba36){var _0x1dd0aa=_0x43b0b2;super(),N(this,_0x1dd0aa(0x341),new _0x1de1f8(null)),N(this,_0x1dd0aa(0xd2),this[_0x1dd0aa(0x341)][_0x1dd0aa(0x1fc)]()),N(this,_0x1dd0aa(0x3a3)),N(this,_0x1dd0aa(0x388),!0x1),N(this,_0x1dd0aa(0x3c4),''),N(this,'_changesetReqId',0x0),N(this,_0x1dd0aa(0x13a),this[_0x1dd0aa(0xd2)][_0x1dd0aa(0x304)](_0x3da591(_0x616631=>_0x616631?_0x616631[_0x1dd0aa(0x2f7)]:bi[_0x1dd0aa(0x16c)]),_0x245b5c(0x1))),N(this,_0x1dd0aa(0x19d),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x1dd0aa(0x1e8)]=_0x873e4d,this['session']=_0x365822,this[_0x1dd0aa(0x342)]=_0x1b3dc9,this[_0x1dd0aa(0xe3)]=_0x123942,this[_0x1dd0aa(0x357)]=_0xe9d867,this[_0x1dd0aa(0x351)]=_0x3f4757,this[_0x1dd0aa(0xd0)]=_0xef99b7,this['_eventService']=_0x5694fe,this[_0x1dd0aa(0x1ef)]=_0xb608ce,this[_0x1dd0aa(0x106)]=_0x3b4c27,this[_0x1dd0aa(0x255)]=_0xc089f9,this[_0x1dd0aa(0x2a6)]=_0x536fd6,this[_0x1dd0aa(0x3c5)]=_0x9aba36);}get[_0x43b0b2(0x12d)](){var _0x28824d=_0x43b0b2;return this[_0x28824d(0x3a3)];}async[_0x43b0b2(0x194)](){var _0x146b1f=_0x43b0b2;if(this[_0x146b1f(0x12d)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x146b1f(0xf8)]();}['pauseCollaboration'](){var _0x2ab7e1=_0x43b0b2;return this[_0x2ab7e1(0x388)]=!0x0,_0x29cf04(()=>{var _0x4e5f06=_0x2ab7e1;this[_0x4e5f06(0x388)]=!0x1,this[_0x4e5f06(0x3bb)]();});}[_0x43b0b2(0x24b)](_0x1cb868){this['_onLocalMutation'](_0x1cb868);}[_0x43b0b2(0x328)](_0x34f594){var _0x597bc7=_0x43b0b2;this[_0x597bc7(0x3a3)]=_0x34f594,this[_0x597bc7(0x341)][_0x597bc7(0xef)](_0x34f594);}async[_0x43b0b2(0xf8)](){var _0x15ffdd=_0x43b0b2,_0x3aa976;this[_0x15ffdd(0x328)](await this[_0x15ffdd(0x2f1)]()),this['_singleActiveUnitService']&&((_0x3aa976=this[_0x15ffdd(0x2a6)])==null||_0x3aa976['editingUnit'](this[_0x15ffdd(0x1e8)]),this[_0x15ffdd(0x1a7)](this[_0x15ffdd(0x2a6)]['getUnitStatus$'](this[_0x15ffdd(0x1e8)])['subscribe'](_0x3d0736=>{var _0x64db55=_0x15ffdd;this[_0x64db55(0x1ef)][_0x64db55(0x175)](_0x64db55(0x226),_0x64db55(0x1ae),_0x3d0736),_0x3d0736===Ci[_0x64db55(0xed)]?(this['_eventService'][_0x64db55(0x2e2)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x64db55(0x255)]['updatePermissionPoint'](new _0x3542fd(this[_0x64db55(0x1e8)])['id'],!0x1),this[_0x64db55(0x255)]['setShowComponents'](!0x1)):(this[_0x64db55(0x255)][_0x64db55(0x2ee)](new _0x3542fd(this[_0x64db55(0x1e8)])['id'],!0x0),this[_0x64db55(0x255)]['setShowComponents'](!0x0));})));let _0x968c0c=!0x1;return this[_0x15ffdd(0x1a7)](this['session'][_0x15ffdd(0x181)][_0x15ffdd(0x29e)](_0x3f8fe3=>{var _0x323ee3=_0x15ffdd;_0x3f8fe3===Ee[_0x323ee3(0x307)]?this[_0x323ee3(0x1ff)](_0x968c0c):_0x3f8fe3===Ee[_0x323ee3(0x16c)]&&(_0x968c0c=!0x0,this[_0x323ee3(0x205)]());})),this[_0x15ffdd(0x1a7)](this[_0x15ffdd(0x287)][_0x15ffdd(0x35a)][_0x15ffdd(0x29e)](_0x626f70=>{var _0x15afd3=_0x15ffdd;try{switch(_0x626f70[_0x15afd3(0x172)]){case _0x2e7a75[_0x15afd3(0x3b6)]:{this[_0x15afd3(0x148)](_0x13c9b5(_0x626f70[_0x15afd3(0xf6)]));break;}case _0x2e7a75[_0x15afd3(0xea)]:{this[_0x15afd3(0x13f)](_0x626f70[_0x15afd3(0xf6)]);break;}case _0x2e7a75[_0x15afd3(0x1aa)]:{this[_0x15afd3(0x169)]();break;}case _0x2e7a75['CHANGESET_SHOULD_RETRY']:{this[_0x15afd3(0x179)](_0x626f70['data']);break;}case _0x2e7a75['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x15afd3(0x2dd)](_0x626f70[_0x15afd3(0xf6)][_0x15afd3(0x30f)][_0x15afd3(0x3c2)](_0x205e12=>_0x13c9b5(_0x205e12)));break;}case _0x2e7a75['PERMISSION_REJ']:{this[_0x15afd3(0x169)]({'isPermissionRej':!0x0});break;}case _0x2e7a75[_0x15afd3(0x132)]:break;}}catch(_0x5e1ffc){throw console[_0x15afd3(0x3a0)]('Error\x20on\x20receiving\x20event',_0x5e1ffc),_0x5e1ffc;}})),this[_0x15ffdd(0x3a3)];}['_unlockTransition'](){var _0x1c29b5=_0x43b0b2;this[_0x1c29b5(0x19d)]=!0x1;}[_0x43b0b2(0x3cb)](){var _0x72725e=_0x43b0b2;if(this[_0x72725e(0x19d)])throw new Error(_0x72725e(0x29a));this[_0x72725e(0x19d)]=!0x0;}[_0x43b0b2(0x3c1)](_0x2b3adc){var _0x433cee=_0x43b0b2;this[_0x433cee(0x3cb)](),this[_0x433cee(0x328)](this[_0x433cee(0x3a3)]['appendMutation'](_0x2b3adc)),this['_unlockTransition']();}[_0x43b0b2(0x148)](_0x750468){var _0x294243=_0x43b0b2;if(!(_0x750468['revision']<=this[_0x294243(0xd0)][_0x294243(0x3a4)](this[_0x294243(0x1e8)]))){if(this['_collaborationPaused']){this[_0x294243(0x1e3)][_0x294243(0x3b9)](_0x750468);return;}this[_0x294243(0x32b)](_0x750468);}}['_exhaustRemoteChangesetQueue'](){var _0x2d69d5=_0x43b0b2;this['_remoteChangesetQueue'][_0x2d69d5(0x285)](_0x385204=>this[_0x2d69d5(0x32b)](_0x385204)),this[_0x2d69d5(0x1e3)]=[];}[_0x43b0b2(0x32b)](_0x75e4d3){var _0x213bb9=_0x43b0b2;const _0x24b09c=this[_0x213bb9(0x357)][_0x213bb9(0x227)]['fetchThroughInterceptors'](this[_0x213bb9(0x357)][_0x213bb9(0x227)][_0x213bb9(0x10b)]()[_0x213bb9(0x13c)])(_0x75e4d3[_0x213bb9(0x128)],null)||_0x75e4d3[_0x213bb9(0x128)],_0x574e0c={..._0x75e4d3,'mutations':_0x24b09c};this['_lockTransition'](),this[_0x213bb9(0x328)](this[_0x213bb9(0x3a3)][_0x213bb9(0x1cf)](_0x574e0c)),this['_unlockTransition']();}[_0x43b0b2(0x13f)](_0x1363bb){var _0x321d5c=_0x43b0b2;this['_lockTransition'](),this[_0x321d5c(0x328)](this['_state'][_0x321d5c(0x1fa)](_0x1363bb)),this[_0x321d5c(0x367)]();}['_onRemoteRejected'](_0xd68fff){var _0x499e59=_0x43b0b2;this[_0x499e59(0x3cb)](),this[_0x499e59(0x328)](this[_0x499e59(0x3a3)][_0x499e59(0xf2)](_0xd68fff)),this[_0x499e59(0x367)]();}[_0x43b0b2(0x179)](_0x16b6b8){var _0x7b979b=_0x43b0b2;this[_0x7b979b(0x3cb)](),this[_0x7b979b(0x328)](this[_0x7b979b(0x3a3)][_0x7b979b(0x15c)](_0x16b6b8)),this['_unlockTransition']();}[_0x43b0b2(0x2dd)](_0x46449b){var _0x181bf4=_0x43b0b2;if(!(this[_0x181bf4(0x3a3)]instanceof ee))throw new TypeError(_0x181bf4(0x219));const _0x158d6e=_0x46449b['map'](_0x130350=>{var _0x2000ca=_0x181bf4;const _0x4461fc=this['_compressMutationService'][_0x2000ca(0x227)][_0x2000ca(0x2a2)](this[_0x2000ca(0x357)][_0x2000ca(0x227)][_0x2000ca(0x10b)]()[_0x2000ca(0x13c)])(_0x130350['mutations'],null)||_0x130350[_0x2000ca(0x128)];return{..._0x130350,'mutations':_0x4461fc};});this[_0x181bf4(0x3cb)](),this['_updateState'](this[_0x181bf4(0x3a3)][_0x181bf4(0x268)](_0x158d6e)),this[_0x181bf4(0x367)]();}[_0x43b0b2(0x205)](){var _0x500e19=_0x43b0b2;this[_0x500e19(0x3cb)](),this[_0x500e19(0x328)](this[_0x500e19(0x3a3)][_0x500e19(0x2c7)]()),this[_0x500e19(0x367)]();}[_0x43b0b2(0x1ff)](_0x4283a9=!0x1){var _0x2c491f=_0x43b0b2;this[_0x2c491f(0x3cb)](),this['_updateState'](this[_0x2c491f(0x3a3)][_0x2c491f(0x291)]()),this[_0x2c491f(0x367)]();const _0x125441=this['_state'];_0x4283a9&&_0x125441 instanceof Ne&&(this[_0x2c491f(0x3cb)](),this[_0x2c491f(0x328)](_0x125441[_0x2c491f(0x164)]()),this[_0x2c491f(0x367)]());}async[_0x43b0b2(0x2f1)](){return new Promise(_0x37beca=>{var _0x214b32=_0x3f50;this[_0x214b32(0x287)][_0x214b32(0x181)]['pipe'](_0x48721f(0x1))[_0x214b32(0x29e)](async _0xdac20f=>{var _0xdbdb36=_0x214b32;_0x37beca(await this[_0xdbdb36(0x204)](_0xdac20f===Ee['ONLINE']));});});}[_0x43b0b2(0x10a)](){var _0x438471=_0x43b0b2;const _0x4861a4=this[_0x438471(0x1e8)];return{'onStateChange':(_0x1601c6,_0x38094d)=>{var _0x3aa1c9=_0x438471;if(_0x1601c6!==this[_0x3aa1c9(0x3a3)])throw new Error(_0x3aa1c9(0x2d8)+_0x1601c6[_0x3aa1c9(0x2f7)]+_0x3aa1c9(0x35f)+_0x38094d['status']+_0x3aa1c9(0x2f3)+this[_0x3aa1c9(0x3a3)][_0x3aa1c9(0x2f7)]);this[_0x3aa1c9(0x328)](_0x38094d);},'onSendChangeset':_0x1eed99=>{var _0x37c4eb=_0x438471;_0x1eed99[_0x37c4eb(0x210)]||(_0x1eed99[_0x37c4eb(0x210)]=this[_0x37c4eb(0x3c4)],_0x1eed99[_0x37c4eb(0x228)]=++this[_0x37c4eb(0x150)]);const _0x11c1e6={'eventID':_0x2e7a75[_0x37c4eb(0x25e)],'data':{'unitID':_0x1eed99[_0x37c4eb(0x1e8)],'unitType':this[_0x37c4eb(0x342)],'changeset':_0x1eed99,'memberID':this['session']['getMemberID']()}};this[_0x37c4eb(0x287)][_0x37c4eb(0x3b0)](_0x11c1e6,this['unitID']);},'onMissingChangesets':({from:_0xbab017,to:_0x4063ca})=>{var _0x558d64=_0x438471;this[_0x558d64(0x1ef)][_0x558d64(0x175)](_0x558d64(0x226),_0x558d64(0x38e)+_0xbab017+_0x558d64(0x1ac)+_0x4063ca);const _0x33f4d9={'eventID':_0x2e7a75[_0x558d64(0x39e)],'data':{'unitID':_0x4861a4,'unitType':this[_0x558d64(0x342)],'from':_0xbab017,'to':_0x4063ca}};this[_0x558d64(0x287)]['send'](_0x33f4d9,this[_0x558d64(0x1e8)]);}};}async[_0x43b0b2(0x204)](_0x2ee0cb){var _0x3f89cf=_0x43b0b2,_0x52f65b,_0x26946e,_0x317746;const _0x427e48=await((_0x52f65b=this[_0x3f89cf(0x3c5)])==null?void 0x0:_0x52f65b['loadOfflineData'](this['unitID'])),_0x26b558=(_0x26946e=_0x427e48==null?void 0x0:_0x427e48[_0x3f89cf(0x128)])!=null?_0x26946e:[],_0x37b78d=(_0x317746=_0x427e48==null?void 0x0:_0x427e48[_0x3f89cf(0x343)])!=null?_0x317746:null,_0x5332cf=!!(_0x37b78d!=null&&_0x37b78d[_0x3f89cf(0x210)])&&!!(_0x37b78d!=null&&_0x37b78d[_0x3f89cf(0x228)]);this[_0x3f89cf(0x3c4)]=_0x5332cf?_0x37b78d[_0x3f89cf(0x210)]:Zn(),this[_0x3f89cf(0x150)]=_0x5332cf?_0x37b78d[_0x3f89cf(0x228)]:0x0;const _0x335959=this[_0x3f89cf(0x1e8)];try{this[_0x3f89cf(0x2ca)](_0x37b78d,_0x26b558);}catch(_0x3a61d0){this[_0x3f89cf(0x1ef)][_0x3f89cf(0x3a0)](_0x3a61d0);}const _0x44ec78=this[_0x3f89cf(0x10a)]();if(_0x2ee0cb){const _0x16f72d=Oi(this[_0x3f89cf(0xe3)],_0x335959,this[_0x3f89cf(0x342)],_0x37b78d,_0x26b558,_0x44ec78);return _0x16f72d instanceof ae?_0x16f72d[_0x3f89cf(0x345)]():(_0x16f72d instanceof oe||_0x16f72d instanceof le)&&_0x16f72d[_0x3f89cf(0x1e1)](),_0x16f72d;}return this['_injector'][_0x3f89cf(0x3b7)](de,_0x335959,this['_type'],_0x37b78d,_0x26b558,_0x44ec78);}[_0x43b0b2(0x2ca)](_0x5cd123,_0x202158){var _0x47fded=_0x43b0b2,_0xa3e2,_0x4c9005;const _0x4fa3a7=this[_0x47fded(0x357)][_0x47fded(0x227)][_0x47fded(0x2a2)](this[_0x47fded(0x357)]['interceptor']['getInterceptPoints']()[_0x47fded(0x13c)]);(_0xa3e2=_0x4fa3a7((_0x5cd123==null?void 0x0:_0x5cd123[_0x47fded(0x128)])||[],null))==null||_0xa3e2[_0x47fded(0x285)](_0x4c0aa6=>this[_0x47fded(0x106)]['executeCommand'](_0x4c0aa6['id'],_0x4c0aa6[_0x47fded(0x1b2)])),(_0x4c9005=_0x4fa3a7(_0x202158||[],null))==null||_0x4c9005[_0x47fded(0x285)](_0x106d2a=>this[_0x47fded(0x106)]['executeCommand'](_0x106d2a['id'],_0x106d2a[_0x47fded(0x1b2)]));}};nt=Lt([H(0x3,_0x2ffd40(_0x4f0850)),H(0x4,_0x2ffd40(_0x5909fa)),H(0x5,_0x2ffd40(_0x29e59f)),H(0x6,_0x2ffd40(_0x1880c7)),H(0x7,_0x2ffd40(pe)),H(0x8,_0x1e90e1),H(0x9,_0x564f8e),H(0xa,_0x30c700),H(0xb,_0x29dab8(ht)),H(0xc,_0x29dab8(J))],nt);let It=class extends nt{constructor(_0x2af4c2,_0x1e1e68,_0x48152e,_0x4ab18f,_0x951c68,_0x54a13e,_0x2096d8,_0xeeba00,_0x223fe9,_0x359e45,_0x499b87,_0x14ca8d,_0x5a9623){var _0x3d6ba8=_0x43b0b2;super(_0x2af4c2,_0x48152e,_0x1e1e68,_0x4ab18f,_0x951c68,_0x54a13e,_0x2096d8,_0xeeba00,_0x223fe9,_0x359e45,_0x499b87,_0x14ca8d,_0x5a9623),N(this,_0x3d6ba8(0x16e),null),(this[_0x3d6ba8(0x1e8)]=_0x2af4c2,this[_0x3d6ba8(0xe6)]=_0x1e1e68);}[_0x43b0b2(0x212)](_0x2d909c){var _0x556538=_0x43b0b2;this[_0x556538(0x16e)]=_0x2d909c;}[_0x43b0b2(0xc2)](){var _0xce524=_0x43b0b2;this['_handlerCallback']=null,super[_0xce524(0xc2)]();}[_0x43b0b2(0x10a)](){var _0xe18fa5=_0x43b0b2;const _0x11c21f=super[_0xe18fa5(0x10a)]();return _0x11c21f[_0xe18fa5(0x2bd)]=_0x4bca66=>{var _0x45cc96=_0xe18fa5,_0x38a240,_0x1560e7;return(_0x1560e7=(_0x38a240=this[_0x45cc96(0x16e)])==null?void 0x0:_0x38a240[_0x45cc96(0x2bd)])==null?void 0x0:_0x1560e7[_0x45cc96(0x306)](_0x38a240,_0x4bca66);},_0x11c21f[_0xe18fa5(0x29b)]=_0x16c62f=>{var _0x20cbfc=_0xe18fa5,_0x1c9de4,_0x45a4ef;return(_0x45a4ef=(_0x1c9de4=this['_handlerCallback'])==null?void 0x0:_0x1c9de4[_0x20cbfc(0x29b)])==null?void 0x0:_0x45a4ef[_0x20cbfc(0x306)](_0x1c9de4,_0x16c62f);},_0x11c21f[_0xe18fa5(0x166)]=_0x367fe4=>{var _0x44a0c8=_0xe18fa5,_0x2a8aa9,_0x337e94;return(_0x337e94=(_0x2a8aa9=this[_0x44a0c8(0x16e)])==null?void 0x0:_0x2a8aa9['onTransformSelections'])==null?void 0x0:_0x337e94[_0x44a0c8(0x306)](_0x2a8aa9,_0x367fe4);},_0x11c21f['onSyncEditingCollabCursor']=_0x2ed37d=>{var _0x52c0ae=_0xe18fa5,_0x4546dd,_0x3a25e6;return(_0x3a25e6=(_0x4546dd=this[_0x52c0ae(0x16e)])==null?void 0x0:_0x4546dd[_0x52c0ae(0x1da)])==null?void 0x0:_0x3a25e6['call'](_0x4546dd,_0x2ed37d);},_0x11c21f[_0xe18fa5(0x173)]=_0x35a2ff=>{var _0x2694af=_0xe18fa5,_0x505413,_0x993219,_0x137121;if(!((_0x505413=this['_handlerCallback'])!=null&&_0x505413[_0x2694af(0x173)]))throw new Error(_0x2694af(0x2d5));return(_0x137121=(_0x993219=this[_0x2694af(0x16e)])==null?void 0x0:_0x993219[_0x2694af(0x173)])==null?void 0x0:_0x137121[_0x2694af(0x306)](_0x993219,_0x35a2ff);},_0x11c21f[_0xe18fa5(0x2ef)]=_0x3ef2a1=>{var _0x37bedf=_0xe18fa5,_0x1053b4,_0x298ad2,_0x1c5b20;if(!((_0x1053b4=this[_0x37bedf(0x16e)])!=null&&_0x1053b4['onTransformRemoteChangesetByStateCache']))throw new Error(_0x37bedf(0x3a6));return(_0x1c5b20=(_0x298ad2=this[_0x37bedf(0x16e)])==null?void 0x0:_0x298ad2[_0x37bedf(0x2ef)])==null?void 0x0:_0x1c5b20['call'](_0x298ad2,_0x3ef2a1);},_0x11c21f;}async[_0x43b0b2(0xf8)](){var _0x587a6=_0x43b0b2;const _0x17650c=await super[_0x587a6(0xf8)]();return this[_0x587a6(0x1a7)](this[_0x587a6(0x106)]['onCommandExecuted']((_0x3cbea4,_0x13b9fd)=>{var _0xecf267=_0x587a6;if(_0x3cbea4[_0xecf267(0xe6)]!==_0xfe81c8['MUTATION']||_0x13b9fd!=null&&_0x13b9fd[_0xecf267(0x183)]||_0x13b9fd!=null&&_0x13b9fd[_0xecf267(0x2da)]||_0x3cbea4['id']===_0x3ab470['id'])return;const _0x1ee696=_0x3cbea4[_0xecf267(0x1b2)];if((_0x1ee696==null?void 0x0:_0x1ee696['unitId'])!==this[_0xecf267(0x1e8)])return;const _0x409910=_0x3cbea4,_0x224b1f=this[_0xecf267(0x357)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0xecf267(0x10b)]()[_0xecf267(0x32d)])([_0x409910],null)||[_0x409910];this[_0xecf267(0x3c1)](_0x224b1f[0x0]);})),_0x17650c;}};It=Lt([H(0x3,_0x2ffd40(_0x4f0850)),H(0x4,_0x2ffd40(_0x5909fa)),H(0x5,_0x2ffd40(_0x29e59f)),H(0x6,_0x2ffd40(_0x1880c7)),H(0x7,_0x2ffd40(pe)),H(0x8,_0x1e90e1),H(0x9,_0x564f8e),H(0xa,_0x30c700),H(0xb,_0x29dab8(ht)),H(0xc,_0x29dab8(J))],It);let Tt=class extends nt{constructor(_0x3775a8,_0x10aa8f,_0x41c63a,_0x46e007,_0xed62b1,_0x5711a9,_0x5c96c9,_0x18ec5c,_0x3fd70b,_0x42b2fe,_0x405fee,_0xf6ed4e,_0x1c9870,_0x7e2aec){var _0x30ed63=_0x43b0b2;super(_0x3775a8,_0x41c63a,_0x10aa8f,_0x46e007,_0xed62b1,_0x5711a9,_0x5c96c9,_0x3fd70b,_0x42b2fe,_0x405fee,_0xf6ed4e,_0x1c9870,_0x7e2aec),this[_0x30ed63(0x1e8)]=_0x3775a8,this[_0x30ed63(0xe6)]=_0x10aa8f,this[_0x30ed63(0x1f9)]=_0x18ec5c;}[_0x43b0b2(0x10a)](){var _0x5ce342=_0x43b0b2;const _0x530662=super[_0x5ce342(0x10a)]();return _0x530662[_0x5ce342(0x166)]=_0x296b62=>this[_0x5ce342(0x1f9)][_0x5ce342(0x15d)](_0x296b62),_0x530662;}async[_0x43b0b2(0xf8)](){var _0x19766f=_0x43b0b2;const _0x3794fe=await super[_0x19766f(0xf8)]();return this[_0x19766f(0x1a7)](this[_0x19766f(0x106)][_0x19766f(0xdb)]((_0x17bc59,_0x5e71b7)=>{var _0x4f9129=_0x19766f;if(_0x17bc59['type']!==_0xfe81c8[_0x4f9129(0x1c9)]||_0x5e71b7!=null&&_0x5e71b7['fromCollab']||_0x5e71b7!=null&&_0x5e71b7[_0x4f9129(0x2da)])return;const _0x162409=_0x17bc59[_0x4f9129(0x1b2)];if((_0x162409==null?void 0x0:_0x162409[_0x4f9129(0x2d9)])!==this[_0x4f9129(0x1e8)])return;const _0x154c3b=_0x17bc59,_0x22f30b=this[_0x4f9129(0x357)][_0x4f9129(0x227)]['fetchThroughInterceptors'](this[_0x4f9129(0x357)][_0x4f9129(0x227)][_0x4f9129(0x10b)]()[_0x4f9129(0x32d)])([_0x154c3b],null)||[_0x154c3b];this[_0x4f9129(0x3c1)](_0x22f30b[0x0]);})),_0x3794fe;}};Tt=Lt([H(0x3,_0x2ffd40(_0x4f0850)),H(0x4,_0x2ffd40(_0x5909fa)),H(0x5,_0x2ffd40(_0x29e59f)),H(0x6,_0x2ffd40(_0x1880c7)),H(0x7,_0x2ffd40(it)),H(0x8,_0x2ffd40(pe)),H(0x9,_0x1e90e1),H(0xa,_0x564f8e),H(0xb,_0x30c700),H(0xc,_0x29dab8(ht)),H(0xd,_0x29dab8(J))],Tt);var os=Object[_0x43b0b2(0x368)],cs=(_0x424b58,_0x38068a,_0x3f755f,_0x36bc31)=>{for(var _0x57fb53=_0x36bc31>0x1?void 0x0:_0x36bc31?os(_0x38068a,_0x3f755f):_0x38068a,_0x365f9c=_0x424b58['length']-0x1,_0x29ac9f;_0x365f9c>=0x0;_0x365f9c--)(_0x29ac9f=_0x424b58[_0x365f9c])&&(_0x57fb53=_0x29ac9f(_0x57fb53)||_0x57fb53);return _0x57fb53;},ft=(_0x387baa,_0x3d77b5)=>(_0x1bccae,_0x2118c4)=>_0x3d77b5(_0x1bccae,_0x2118c4,_0x387baa);let st=class extends _0x34812f{constructor(_0x329d7e,_0x5a2e5a,_0x29e5c7){var _0x5b042b=_0x43b0b2;super(),N(this,_0x5b042b(0x135),new Map()),N(this,_0x5b042b(0xc6),new _0xa5a9dd()),N(this,_0x5b042b(0x1d3),this[_0x5b042b(0xc6)][_0x5b042b(0x1fc)]()),(this[_0x5b042b(0xe3)]=_0x329d7e,this[_0x5b042b(0x138)]=_0x5a2e5a,this[_0x5b042b(0x20d)]=_0x29e5c7,this[_0x5b042b(0xf8)]());}[_0x43b0b2(0xc2)](){var _0x577795=_0x43b0b2;super['dispose'](),this[_0x577795(0x135)][_0x577795(0x285)](_0x29a298=>_0x29a298[_0x577795(0xc2)]()),this[_0x577795(0x135)][_0x577795(0x32c)]();}[_0x43b0b2(0x25b)](_0x49556e){var _0x4c3795=_0x43b0b2,_0x1e45be;return(_0x1e45be=this[_0x4c3795(0x135)][_0x4c3795(0x2e9)](_0x49556e))!=null?_0x1e45be:null;}[_0x43b0b2(0x123)](_0xae5508){var _0x2874f9=_0x43b0b2;const _0x1ef0a7=this[_0x2874f9(0x25b)](_0xae5508);return _0x1ef0a7?_0x170808(_0x1ef0a7):this[_0x2874f9(0xc6)][_0x2874f9(0x304)](_0x1cb4fc(_0x5d049e=>_0x5d049e['unitID']===_0xae5508));}[_0x43b0b2(0x39f)](_0x34a10a){var _0x2be03c=_0x43b0b2;return _0x250f32(this[_0x2be03c(0x123)](_0x34a10a)['pipe'](_0x5b4b25(()=>{})));}['_init'](){var _0x48949a=_0x43b0b2;this[_0x48949a(0x20d)][_0x48949a(0x2d7)](_0x143937['UNIVER_SHEET'])[_0x48949a(0x304)](_0x5b0264(this[_0x48949a(0xdd)]),_0x50d1b5(0x10))[_0x48949a(0x29e)](async _0x346b14=>{var _0x583822=_0x48949a;const _0x2845d5=_0x346b14[_0x583822(0x18e)](),_0x4d5ec1=await this[_0x583822(0x2c3)](_0x2845d5,Q[_0x583822(0x159)]);this[_0x583822(0x135)][_0x583822(0x1b1)](_0x2845d5,_0x4d5ec1);}),this[_0x48949a(0x20d)][_0x48949a(0x2d7)](_0x143937[_0x48949a(0x248)])[_0x48949a(0x304)](_0x5b0264(this['dispose$']),_0x50d1b5(0x10))[_0x48949a(0x304)](_0x1cb4fc(_0x4c40e4=>!_0x4c40e4[_0x48949a(0x18e)]()[_0x48949a(0x314)]('__')))[_0x48949a(0x29e)](async _0x41d072=>{var _0x272619=_0x48949a;const _0x2bf9a3=_0x41d072['getUnitId'](),_0x2ba9f1=await this['_startCollaboration'](_0x2bf9a3,Q[_0x272619(0x248)]);this[_0x272619(0x135)][_0x272619(0x1b1)](_0x2bf9a3,_0x2ba9f1);}),_0x54b487(this[_0x48949a(0x20d)][_0x48949a(0x371)](_0x143937[_0x48949a(0x159)]),this[_0x48949a(0x20d)]['getTypeOfUnitDisposed$'](_0x143937[_0x48949a(0x248)]))[_0x48949a(0x304)](_0x5b0264(this[_0x48949a(0xdd)]))['subscribe'](_0x453ee8=>{var _0x2f0325=_0x48949a;const _0x38ef3d=_0x453ee8['getUnitId'](),_0x2c1521=this[_0x2f0325(0x135)]['get'](_0x38ef3d);_0x2c1521&&(_0x2c1521[_0x2f0325(0xc2)](),this[_0x2f0325(0x135)][_0x2f0325(0x17e)](_0x38ef3d));});}async[_0x43b0b2(0x2c3)](_0x53e914,_0x1b92ad){var _0x5095f6=_0x43b0b2;const _0x1542b1=await this[_0x5095f6(0x138)][_0x5095f6(0x319)](_0x53e914),_0x188075=this[_0x5095f6(0xe3)]['createInstance'](this[_0x5095f6(0x221)](_0x1b92ad),_0x53e914,_0x1b92ad,_0x1542b1);return await _0x188075[_0x5095f6(0x194)](),this[_0x5095f6(0xc6)]['next'](_0x188075),_0x188075;}[_0x43b0b2(0x221)](_0x151b75){var _0x34df4=_0x43b0b2;switch(_0x151b75){case Q[_0x34df4(0x248)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x34df4(0x190)+_0x151b75);}}};st=cs([ft(0x0,_0x2ffd40(_0x4f0850)),ft(0x1,_0x2ffd40(xe)),ft(0x2,_0x5e61b9)],st);var hs=Object[_0x43b0b2(0x368)],_s=(_0x49e7ff,_0x31124f,_0x7ef92f,_0x3dc426)=>{var _0x549905=_0x43b0b2;for(var _0x3b5cb3=_0x3dc426>0x1?void 0x0:_0x3dc426?hs(_0x31124f,_0x7ef92f):_0x31124f,_0x28e7a3=_0x49e7ff[_0x549905(0x129)]-0x1,_0x36ed24;_0x28e7a3>=0x0;_0x28e7a3--)(_0x36ed24=_0x49e7ff[_0x28e7a3])&&(_0x3b5cb3=_0x36ed24(_0x3b5cb3)||_0x3b5cb3);return _0x3b5cb3;},zt=(_0x45835d,_0x47107e)=>(_0x51de8f,_0xc246be)=>_0x47107e(_0x51de8f,_0xc246be,_0x45835d);const ls=_0x43b0b2(0x261),us=_0x43b0b2(0x27b);let Ct=class extends _0x203808{constructor(_0x56d083,_0x4eb3f0){var _0x1e5a98=_0x43b0b2;super(),this['_univerInstanceService']=_0x56d083,this[_0x1e5a98(0x27d)]=_0x4eb3f0,this[_0x1e5a98(0xf8)]();}[_0x43b0b2(0xf8)](){var _0x1a57ef=_0x43b0b2;this[_0x1a57ef(0x1a7)](this[_0x1a57ef(0x20d)][_0x1a57ef(0x25a)]['subscribe'](()=>{var _0x1ee548=_0x1a57ef,_0x3fa2f1;const _0xa6b4dc=this[_0x1ee548(0x20d)][_0x1ee548(0x2c9)]();let _0x3cd032=(_0x3fa2f1=this[_0x1ee548(0x27d)][_0x1ee548(0xc0)](ls))!=null?_0x3fa2f1:us;_0xa6b4dc instanceof _0x285281&&(_0x3cd032=_0xa6b4dc['name']),document[_0x1ee548(0x231)]=_0x3cd032;}));}};Ct=_s([zt(0x0,_0x5e61b9),zt(0x1,_0x167670)],Ct);var ds=Object[_0x43b0b2(0x368)],fs=(_0x4768a9,_0x20e24a,_0x2b9f05,_0x5aa2d1)=>{var _0x51d8e9=_0x43b0b2;for(var _0xd53e0d=_0x5aa2d1>0x1?void 0x0:_0x5aa2d1?ds(_0x20e24a,_0x2b9f05):_0x20e24a,_0x19b55e=_0x4768a9[_0x51d8e9(0x129)]-0x1,_0x6195d3;_0x19b55e>=0x0;_0x19b55e--)(_0x6195d3=_0x4768a9[_0x19b55e])&&(_0xd53e0d=_0x6195d3(_0xd53e0d)||_0xd53e0d);return _0xd53e0d;},vt=(_0xfeaaf8,_0x197404)=>(_0x738a32,_0x154c45)=>_0x197404(_0x738a32,_0x154c45,_0xfeaaf8);let rt=class{constructor(_0x2dba43,_0x295285,_0x4254a6){var _0x52c97c=_0x43b0b2;this[_0x52c97c(0x27d)]=_0x2dba43,this['_httpService']=_0x295285,this[_0x52c97c(0xbf)]=_0x4254a6,this[_0x52c97c(0x194)]();}[_0x43b0b2(0x194)](){var _0x299a6d=_0x43b0b2;this[_0x299a6d(0x139)][_0x299a6d(0x23d)]({'priority':0x1,'interceptor':(_0x38e3b9,_0x19ec22)=>_0x19ec22(_0x38e3b9)['pipe'](_0x5262df(async _0x421e57=>{var _0x58f0ac=_0x299a6d;const _0x24b6b2=_0x421e57;if(_0x24b6b2[_0x58f0ac(0x2f7)]===0x191){if(typeof window>'u')throw new Error(_0x58f0ac(0x1ee));if(window[_0x58f0ac(0x3a2)](this['localeService']['t'](_0x58f0ac(0x34f)))){const _0x3a6670=window[_0x58f0ac(0x3b5)](window[_0x58f0ac(0x1e9)][_0x58f0ac(0x1b9)]);window[_0x58f0ac(0x1e9)]['href']=this['_getLoginPath']()+_0x58f0ac(0x2ec)+_0x3a6670;}}return _0x24b6b2;}))});}[_0x43b0b2(0x398)](){var _0x190d5c=_0x43b0b2,_0x45a00b,_0x1f407d;const _0x230d5c=this[_0x190d5c(0x27d)][_0x190d5c(0xc0)](Un),_0x1ace4b=this[_0x190d5c(0x27d)]['getConfig'](q);return(_0x1f407d=(_0x45a00b=_0x1ace4b==null?void 0x0:_0x1ace4b[_0x190d5c(0xe8)])!=null?_0x45a00b:_0x230d5c)!=null?_0x1f407d:An;}};function _0x48e2(){var _0x54b702=['workbook','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MOBILE_HAS_BEEN_BOUND','_clearCollaborationTimeoutTimer','_joinRoom','_loadDoc','get','result','EMAIL_HAS_BEEN_BOUND','?url=','exports','updatePermissionPoint','onTransformRemoteChangesetByStateCache','UPDATE_PERMISSION_OBJ','_createInitialState','&to=','\x0aCurrent:\x20','memberID','_reverseMap','_unitInfo$','status','_loadSheet','/unit/','getSheetId','[OfflineState]:\x20received\x20changeset.','updatePermissionObjEvent','socketService','key','_createHelper','_initCloseConn','_iv','unsubscribe','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','pipe','sheets','call','ONLINE','Base64','getUnitType','JOIN','revision','telemetry\x20info\x20is\x20not\x20initialized','_telemetryInfo','getActiveSheet','changesets','_stopTelemetryCollaborationNewChangeset','BASE64','permissionRejEvent','hasOwnProperty','startsWith','crypto','_members','_clearTimeoutTimer','JOIN_ROOM_NOT_EXISTS','requireSession','algo','transformUndoRedo','readInt32LE','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_SHOULD_RETRY','disableLocalCache','onStarting','_removeRoom','JOIN_ROOM_FULL','processBlock','_createSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','mode','listCollaborators','_updateState','_transformRemoteChangesetByIMECache','awaiting_with_pending','_applyRemoteChangeset','clear','COMPRESS_MUTATION_SEND','_handler','_redoStacks','_sendHeartbeatTimer','_syncEditingCollabCursor','USERS_ENTER','/universer-api/authz','_startTelemetryCollaborationNewChangeset','SHOULD_CLOSE_CONN','csShouldRetryEvent','[SyncedState]:\x20received\x20rejection.','HEARTBEAT_INTERVAL','UNIVER_SLIDE','session.room-full','conflict','enableAuthServer','post','_doFinalize','body','[UniverCollaborationClientPlugin]','_state$','_type','awaitingChangeset','_sender','_schedule','onload','COLLAB_WEB_SOCKET_URL','update','_prevBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','appendMutation','subject','open$','_key','auth.needGotoLoginAlert','putCollaborators','_localeService','parse','splice','510152DmPLIu','clone','WordArray','_compressMutationService','_checkMissing','INVALID_INVITE_CODE','event$','objectActions','LICENSE_MAX_UNITS_EXCEEDED','_getSignURL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','\x0aAfter:\x20','_collaborationTimeoutTimer','socket$','_cipher','/universer-api/snapshot','4043688HDwfBm','setCurrentUser','image/gif','_unlockTransition','getOwnPropertyDescriptor','buffer','/universer-api/uniscript','UNDEFINED','saveImage','createDecryptor','/universer-api/comb','members','prototype','getTypeOfUnitDisposed$','newCsEvent','responseType','getDeserializedSheetBlock','HmacMD5','HttpExport','avatar','SOCKET_FAILED_RETRY','_snapshotServerService','onCommentUpdate','_transformRemoteChangesetByStateCache','stringify','CHANGESET_REVISION_CONFILICT','every','defineProperty','saveChangeset','_oKey','blockSize','collabWebSocketUrl','UnitEmbedded','withCredentials','createEncryptor','_hasher','_collaborationPaused','Decryptor','_userManagerService','People','MSG_FOR_ERROR','getCurrentUser','fetching\x20missing\x20changesets\x20from\x20','APPLY_DUPLICATED','originalMeta','Encryptor','PSEUDO_FETCH_MISSING_RESULT','_showConflictNotification','_nDataBytes','incrementRevOfUnit','LICENSE_IMPORT_SIZE_EXCEEDED','SerializableCipher','_getLoginPath','[CollaborationSessionService]','reset','_retryConnectingTimer','override','put','FETCH_MISSING','readyForCollab','error','_process','confirm','_state','getCurrentRevOfUnit','url','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','add','reject','_updateLocalCache','{fileID}','_socket','BlockCipherMode','_status$','SEND_CHANGESET_TIMEOUT','getImage','send','join','_onOffline','42YBMzHo','GLOBAL_ROOMS_CNT_EXCEEDS','encodeURIComponent','NEW_CHANGESETS','createInstance','image/jpeg','push','abs','_exhaustRemoteChangesetQueue','_snapshotService','_shouldReportTelemetry','cfg','_collaborationUIEventService','_onJoinRoomEvent','_onLocalMutation','map','fromCharCode','_changesetSessionId','_localCacheService','onMissingChangesets','HEARTBEAT','createCollaborator','includes','_change$','_lockTransition','toString','_config','YUUMI_SUBSCRIPTION_NOT_FOUND','localeService','getConfig','[OfflineState]:\x20received\x20acknowledgement.','dispose','_getSendChangesetTimeout','getAllMembers','size','_entityInit$','StreamCipher','INTERNAL_ERROR','LIVESHARE_FETCH_OPERATIONS','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','$super','SNAPSHOT_HAS_BEEN_REMOVED','_undoRedoService','RECV','_scheduleCollaborationTimeoutTimer','_revisionService','[CollaborationUndoRedoService]','state$','clamp','UNKNOWN_CMD','c1Prime','compute','salt','csAckEvent','string','__creator','onCommandExecuted','SHA1','dispose$','_hash','UNIVER_UNKNOWN','17210eUmBjp','ceil','enableOfflineEditing','_injector','_initRequestHeader','allowed','type','_rescheduleHeartbeat','loginUrlKey','sessionStatus','CHANGESET_ACK','Undefined','PENDING','OTHER_CLIENTS_EDITING','_getUploadFileURL','next','byteOffset','has','onRemoteRej','/object','BlockCipher','_roomCreated$','data','session.room-cnt-exceeds','_init','_initUnitPermissionChange','origin','USERS_LEAVE','_sendingTimer','format','PERMISSION_REJ','transformChangesets','uniscriptRunEvent','APPLY_REJECT','message$','/-/object/-/batch_allowed','_doCreateSocket','routeKey','_commandService','_timeoutTimer','loadOfflineData','close','_createHandler','getInterceptPoints','socket\x20close','removeMember','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','copyFileMeta','replace','filter','pad','image/bmp','_isPermissionRej','USER_NOT_INVITED_CODE','_telemetryService','_transformIMECache','baseRev','UNRECOGNIZED','isArray','slice','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','keySize','PasswordBasedCipher','hasher','decryptBlock','duration','hostname','getCollabEntity$','fetchMissingChangesets','LOCAL_CACHE_INTERVAL','_onConnectionOpen','_throwTelemetryCollaborationNewChangeset','mutations','length','mixIn','reconnect','_tryEnsureSocket','state','roles','csRejEvent','enableSingleActiveInstanceLock','_sessions','UNISCRIPT_RUN','UNAUTHENTICATED','CipherParams','_entities','userID','\x20in\x20_schedule.','_collabSessionService','_httpService','status$','_acknowledgedAwaitingChangeset','COMPRESS_MUTATION_APPLY','ERROR_IMAGE','random','_onRemoteACK','actions','liveShareNewHost','_getDownloadEndpointURL','_getAPIPrefixPath','_fetchMissChangesets','_resendWithTimeout','byteLength','COMPLETION_FINISHED','_onRemoteChangeset','INVALID_ARGUMENT','from','collaboration-client.config','FileId','not_collab','ERROR_EXCEED_SIZE','Malformed\x20UTF-8\x20data','_changesetReqId','apply','randomUUID','updateMember','BufferedBlockAlgorithm','Base','10750859bNrIkY','SOCKET_FAILED','getResourcesRequest','UNIVER_SHEET','?size=','roomInfos','onRemoteRetry','transformSelections','joinEvent','getWorkbookSelections','INVITE_CODE_HAS_BEEN_UES','_doReset','184fvqvFO','_waitCount','fetchMiss','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformSelections','_incrementRevisionNumber','padding','_onRemoteRejected','_HTTPService','[OfflineState]:\x20received\x20rejection.','OFFLINE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_handlerCallback','/object/','offline','equals','eventID','onTransformRemoteChangesetByIMECache','HttpImport','debug','_clearScheduledTask','encode','authzUrl','_onRemoteRetry','collaboratorID','requestParams','findIndex','unpad','delete','isPermissionRej','UUID','sessionStatus$','JOIN_ROOM_FAILED','fromCollab','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getAPIPrefix','_networkConditionService','AUTHZ_URL_KEY','_onCombEvent','_imageSourceCache','_onMessage','complete','__esModule','_getCurrentRevision','getUnitId','UserProfileImg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','snapshotServerUrl','Utf8','_listenToNetworkCondition','init','save\x20fail\x20reason\x20is\x20','now','_replaceFileID','IDLE','_onConflict','YUUMI_RATE_OVER_LIMIT','find','enc','_transitionLocked','floor','LOGIN_URL_KEY','_keyPriorReset','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_TERMINATE','14037426QtZrBR','NOT_COLLAB','decrypt','function','disposeWithMe','iterations','LIVESHARE_REQUEST_HOST','CHANGESET_REJ','/universer-api/stream/file/upload','\x20to\x20','getSnapshotAPIPath','editing\x20status\x20changed\x20to','failed\x20to\x20apply\x20missed\x20changesets!','_retryCount','set','params','NO_OTHER_CLIENTS_EDITING','INGEST','_onUserLeave','members$','_pendingMutations','_commentUpdate$','href','univer-pro.collaboration-client-socket-service','360865BYHZdT','downloadEndpointUrl','YUUMI_URL_COL_OUT_OF_RANGE','reduce','getRoom','_disableEditing','_transformStack','NOT_FOUND','synced','create','COMMENT_UPDATE','entries','Cipher','socket\x20open.','MUTATION','retryConnectingInterval','cmd','snapshot','UPDATE_CURSOR','LOGIN_FAILED','onRemoteChangeset','bind','_collaborationSessionService','_initDependencies','entityInit$','indexOf','fetch_missing','_scheduleCompleteTimestamp','resolve','Latin1','sigBytes','onSyncEditingCollabCursor','CLOSE_ROOM','Hex','univer-pro.collaboration-client.network-condition.service','_updateStatus','min','_socketMessageSubscription','resend','\x20-\x20','_remoteChangesetQueue','LICENSE_DISTRO_REJECTED','finalize','_socket$','APPLY_NON_SEQUENTIAL_REVISION','unitID','location','ERROR_IMAGE_TYPE','charCodeAt','/collaborator','getMember','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_logService','YUUMI_UNABLE_LOAD_URL','deepClone','LEAVE','/allowed','getRandomValues','_commentService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetBlock','liveShareOperation','_sheetTransformSelectionsService','onRemoteAck','localCacheService','asObservable','_submitChangeset','_clearLocalCache','_toggleOnline','connection\x20error','concat','unknown','reverse','_createInitialStateImpl','_toggleOffline','startTime','SUBMIT_CHANGESET_TIMEOUT','Hasher','ENSURE_SNAPSHOT_EXECUTION','leaveEvent','patch','CBC','_univerInstanceService','_ENC_XFORM_MODE','list','sid','transformStack\x20failed!','addHandlerCallback','_append','SNAPSHOT_URL_KEY','readAsDataURL','max','symbol','APPLY_PERMISSION_DENIED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','loadSheet','values','default','closeSession','_xformMode','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','m2Prime','_getCtorByUniverType','code','_queuedRemoteChangesets','stopTime','/universer-api/file/{fileID}/sign-url','[CollaborationEntity]','interceptor','reqId','online$','_minBufferSize','15842GWyjEx','UNKNOWN_CODE','name','_socketReady','textRanges','PERMISSION_DENIED','title','_socketService','_undoStacks','_transformStateCache','_transformUndoredo','_transformSelections','then','_members$','8129ObAyTl','HEARTBEAT_TIMEOUT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNIVER_PROJECT','registerHTTPInterceptor','charAt','sin','execute','commentUpdate$','headers','_resendTimer','JOIN_ROOM_PERMISSION_DENIED','transformMutationsWithChangeset','[PendingState]:\x20received\x20acknowledgement.','msCrypto','UNIVER_DOC','_mode','collabSubmitChangesetUrl','onLocalMutation','_nRounds','session.room-not-exists','24LFJXIm','AES','close$','_executeRemoteChangeset','signUrlServerUrl','capture','OpenSSL','_permissionService','_onConnectionFailed','sendChangesetTimeout','_parse','FETCH_MISS','focused$','getCollabEntity','_decreaseWaiting','[PendingState]:\x20received\x20rejection.','SUBMIT_CHANGESET','collaborators','range','DEFAULT_FILE_NAME','Could\x20not\x20dynamically\x20require\x20\x22','pending','INVITE_CODE_ALREADY_BOUND','_onRecvEvent','extend','POST','onMissedChangesetFetched','MD5','image/png','_waitForHeartbeatResponse','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','x-univer-host','commentUpdateEvent','_substituteUndoStack','LIVESHARE_NEW_HOST','encrypt','objectType','listRoles','/resources','_tryReconnect','APPLY_REVISION_CONFILICT','toLowerCase','[CollaborationState]:\x20apply\x20error!','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','TOO_MANY_REQUESTS','Univer','/-/object/list','_configService','[CollaborationSession]','_data','deleteCollaborator','kdf','_unitID','addImageSourceCache','_clearUndo','forEach','LIVESHARE_OPERATION','session','_DEC_XFORM_MODE','catch','loadDoc','pluginName','FAIL','EvpKDF','HELLO','substr','_instanceService','toggleOnline','words','CONNECTOR_DATA_TOO_LARGE','PERSON','_doCryptBlock','ciphertext','onSendChangeset','batchAllowed','/block/','[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.','onTransformState','_substituteRedoStack','_onUserJoin','subscribe','_sessionStatus$','subUnitId','/universer-api/snapshot/','fetchThroughInterceptors','_emitMembers','_initMergeInterceptor','_clearRedo','_singleActiveUnitService','_clearHeartbeatTimer','_event$','_invKeySchedule','_resendTimeout','awaiting','_candidateSocket','CONFLICT','_transformService','_getRedoStack','_iKey','uploadFileServerUrl','WECHAT_HAS_BEEN_BOUND','ALREADY_EXISTS','updateCursorEvent','OTHER_CLIENT_EDITING','selections','_memberService','[SyncedState]:\x20received\x20acknowledgement.','__Key__','lib','UNIVER_COLLABORATION_CLIENT_PLUGIN','ws://127.0.0.1:8000/universer-api/comb/connect','onTransformIME','_awaitingChangeset','[CollaborationSessionService]:\x20socket\x20error','getUnit','_roomMembers','updateCollaborator','_startCollaboration','updateOfflineData','getValue','Failed\x20to\x20update\x20permission\x20point','toggleOffline','randomBytes','getFocusedUnit','_replayCachedMutations','initWorkbookPermissionChange','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','infoRsp','getTime','createSocket','&source=','rev','SNAPSHOT_INVALID_SNAPSHOT','saveSheetBlock','_createHmacHelper','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getUnitOnRev','getTypeOfUnitAdded$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unitId','onlyLocal','HmacSHA1','COLLAB_SUBMIT_CHANGESET_URL','_onFetchMissResult','objectID','[FetchMissState]','NoPadding','error$','emitEvent'];_0x48e2=function(){return _0x54b702;};return _0x48e2();}rt=fs([vt(0x0,_0x167670),vt(0x1,_0x2ffd40(_0x4a85be)),vt(0x2,_0x2ffd40(_0x29e59f))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x46828e,_0x153237,_0x3f3d3a,_0x301ff6)=>{var _0x21f4a5=_0x43b0b2;for(var _0x2bda0d=_0x301ff6>0x1?void 0x0:_0x301ff6?vs(_0x153237,_0x3f3d3a):_0x153237,_0x30da29=_0x46828e[_0x21f4a5(0x129)]-0x1,_0x28ea41;_0x30da29>=0x0;_0x30da29--)(_0x28ea41=_0x46828e[_0x30da29])&&(_0x2bda0d=_0x28ea41(_0x2bda0d)||_0x2bda0d);return _0x2bda0d;},Jt=(_0x159972,_0x5c42b4)=>(_0x3e048b,_0x262dbc)=>_0x5c42b4(_0x3e048b,_0x262dbc,_0x159972);const Ni=_0x43b0b2(0x187),ms='/universer-api/authz';let Rt=class extends _0x203808{constructor(_0x5b1bc8,_0x293fe9){var _0x5c3874=_0x43b0b2;super(),this[_0x5c3874(0x16a)]=_0x5b1bc8,this[_0x5c3874(0x27d)]=_0x293fe9,this[_0x5c3874(0x2a4)]();}[_0x43b0b2(0x2a4)](){var _0x52fb7c=_0x43b0b2;const _0x4010cd=this;this['disposeWithMe'](this[_0x52fb7c(0x16a)][_0x52fb7c(0x23d)]({'priority':0x3e7,'interceptor':_0x4910cf({'isMatch'(_0x35430e){var _0x17a853=_0x52fb7c,_0x53cb94;if(_0x35430e['method']===_0x17a853(0x267)&&((_0x53cb94=_0x35430e[_0x17a853(0x17b)])!=null&&_0x53cb94[_0x17a853(0x33f)])){const {objectID:_0x636f86,objectType:_0xf5b858}=_0x35430e[_0x17a853(0x17b)][_0x17a853(0x33f)]||{};if(!_0x636f86||_0xf5b858===void 0x0)return!0x1;const _0x26eaef=_0x4010cd[_0x17a853(0x143)]()+'/'+_0xf5b858+_0x17a853(0x16f)+_0x636f86+_0x17a853(0x1f3);if(_0x35430e[_0x17a853(0x3a5)]===_0x26eaef)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x569885){var _0x2734e6=_0x52fb7c,_0x414cd2;return(_0x414cd2=_0x569885[_0x2734e6(0x17b)])==null?void 0x0:_0x414cd2[_0x2734e6(0x33f)];},'mergeParamsToRequest'(_0x39a949,_0x6f2ac2){var _0x216410=_0x52fb7c;const _0x34baff=_0x4010cd[_0x216410(0x143)]()+_0x216410(0x103),_0x417c53=_0x39a949['reduce']((_0x352b70,_0x4330ec)=>{var _0x28f9d6=_0x216410;const {unitID:_0x343045,objectID:_0x28b1ca,objectType:_0x1c1157,actions:_0x81cbca}=_0x4330ec;return _0x352b70[_0x343045]||(_0x352b70[_0x343045]={}),_0x352b70[_0x343045][_0x28b1ca]||(_0x352b70[_0x343045][_0x28b1ca]={'objectID':_0x28b1ca,'objectType':_0x1c1157,'actions':[]}),_0x352b70[_0x343045][_0x28b1ca][_0x28f9d6(0x140)]['push'](..._0x81cbca),_0x352b70;},{}),_0x4247da=[];for(const _0x53b235 in _0x417c53)for(const _0x1b066b in _0x417c53[_0x53b235]){const {actions:_0x2d2afd,objectType:_0x560143}=_0x417c53[_0x53b235][_0x1b066b],_0x4c0eeb=[...new Set(_0x2d2afd)];_0x4247da[_0x216410(0x3b9)]({'unitID':_0x53b235,'objectID':_0x1b066b,'objectType':_0x560143,'actions':_0x4c0eeb});}return new _0x1ac042(_0x216410(0x267),_0x34baff,{'headers':_0x6f2ac2[_0x216410(0x242)],'withCredentials':_0x6f2ac2[_0x216410(0x385)],'responseType':_0x6f2ac2[_0x216410(0x373)],'body':{'requests':_0x4247da}});}},{'distributeResult'(_0x2df8dc,_0x30c752){var _0x32a9e8=_0x52fb7c;const {objectActions:_0x1fe78c}=_0x2df8dc;return _0x30c752[_0x32a9e8(0x3c2)](_0x1c710f=>{var _0x4d6d17=_0x32a9e8;const {unitID:_0x38574c,objectID:_0xb88849,actions:_0x1c6e08}=_0x1c710f,_0x4963a5=_0x1fe78c[_0x4d6d17(0x19b)](_0x46fc9b=>_0x46fc9b[_0x4d6d17(0x1e8)]===_0x38574c&&_0x46fc9b['objectID']===_0xb88849),_0x5be88b=_0x1c6e08['map'](_0x98d620=>_0x4963a5==null?void 0x0:_0x4963a5[_0x4d6d17(0x140)][_0x4d6d17(0x19b)](_0x2de4ac=>_0x2de4ac['action']===_0x98d620))[_0x4d6d17(0x111)](_0x1e4670=>!!_0x1e4670);return{'config':_0x1c710f,'result':{'actions':_0x5be88b,'error':_0x2df8dc[_0x4d6d17(0x3a0)]}};});}})}));}[_0x43b0b2(0x143)](){var _0xb21e84=_0x43b0b2,_0x1ccb82,_0xa6113a;const _0x503115=this[_0xb21e84(0x27d)][_0xb21e84(0xc0)](Ni),_0xc84d21=this[_0xb21e84(0x27d)][_0xb21e84(0xc0)](q);return(_0xa6113a=(_0x1ccb82=_0xc84d21==null?void 0x0:_0xc84d21[_0xb21e84(0x178)])!=null?_0x1ccb82:_0x503115)!=null?_0xa6113a:ms;}async[_0x43b0b2(0x1c4)](_0xe97933){var _0x5224d5=_0x43b0b2;const _0x1a6a9b=this[_0x5224d5(0x143)]()+'/'+_0xe97933[_0x5224d5(0x272)]+_0x5224d5(0xf3);return(await this[_0x5224d5(0x16a)][_0x5224d5(0x33d)](_0x1a6a9b,{'body':_0xe97933}))['body'][_0x5224d5(0x2de)]||'';}async[_0x43b0b2(0x20f)](_0x46e020){var _0x5caf68=_0x43b0b2;const _0x27fa7c=this[_0x5caf68(0x143)]()+_0x5caf68(0x27c);return(await this[_0x5caf68(0x16a)][_0x5caf68(0x33d)](_0x27fa7c,{'body':_0x46e020}))[_0x5caf68(0x33f)]['objects'];}async[_0x43b0b2(0x348)](_0x494a9e){var _0x39c078=_0x43b0b2,_0x54a02e,_0x3e91d1;const _0xd0854c=this[_0x39c078(0x143)]()+'/'+_0x494a9e[_0x39c078(0x272)]+'/object/'+_0x494a9e[_0x39c078(0x2de)],_0x1b2d66=await this[_0x39c078(0x16a)]['put'](_0xd0854c,{'body':_0x494a9e});if(((_0x3e91d1=(_0x54a02e=_0x1b2d66==null?void 0x0:_0x1b2d66[_0x39c078(0x33f)])==null?void 0x0:_0x54a02e['error'])==null?void 0x0:_0x3e91d1[_0x39c078(0x222)])!==0x1)throw new Error(_0x39c078(0x2c6));}async[_0x43b0b2(0xe5)](_0x56f354){var _0x581252=_0x43b0b2;const _0x306158=this[_0x581252(0x143)]()+'/'+_0x56f354[_0x581252(0x272)]+_0x581252(0x16f)+_0x56f354['objectID']+_0x581252(0x1f3);return(await this[_0x581252(0x16a)][_0x581252(0x33d)](_0x306158,{'body':_0x56f354}))[_0x581252(0x33f)]['actions'];}async[_0x43b0b2(0x298)](_0x486f33){var _0xd63f92=_0x43b0b2;const _0x3728ae=this[_0xd63f92(0x143)]()+_0xd63f92(0x103);return(await this[_0xd63f92(0x16a)]['post'](_0x3728ae,{'body':{'requests':_0x486f33}}))[_0xd63f92(0x33f)][_0xd63f92(0x35b)];}async[_0x43b0b2(0x273)](_0x346098){var _0x3274db=_0x43b0b2;const _0x5eaf2d=this[_0x3274db(0x143)]()+'/'+_0x346098[_0x3274db(0x272)]+'/role',_0x40c8c4=await this[_0x3274db(0x16a)][_0x3274db(0x33d)](_0x5eaf2d,{'body':_0x346098});return{'roles':_0x40c8c4[_0x3274db(0x33f)][_0x3274db(0x12e)],'actions':_0x40c8c4[_0x3274db(0x33f)][_0x3274db(0x140)]};}async[_0x43b0b2(0x280)](_0x3a99b9){var _0x530c9d=_0x43b0b2;const _0x30b284=this[_0x530c9d(0x143)]()+_0x530c9d(0x1ec);await this[_0x530c9d(0x16a)][_0x530c9d(0x17e)](_0x30b284,{'params':{'collaboratorID':_0x3a99b9[_0x530c9d(0x17a)],'objectID':_0x3a99b9[_0x530c9d(0x2de)],'unitID':_0x3a99b9[_0x530c9d(0x1e8)]}});}async[_0x43b0b2(0x2c2)](_0x273e86){var _0x57e884=_0x43b0b2;const _0x5e6356=this[_0x57e884(0x143)]()+_0x57e884(0x1ec);await this[_0x57e884(0x16a)][_0x57e884(0x20b)](_0x5e6356,{'body':_0x273e86});}async[_0x43b0b2(0x3c8)](_0x37f86f){var _0x390797=_0x43b0b2;const _0x3999f9=this[_0x390797(0x143)]()+_0x390797(0x1ec);await this[_0x390797(0x16a)][_0x390797(0x33d)](_0x3999f9,{'body':_0x37f86f});}async[_0x43b0b2(0x327)](_0x43dd96){var _0xd71b84=_0x43b0b2;const _0x2248ea=this[_0xd71b84(0x143)]()+_0xd71b84(0x1ec);return(await this['_HTTPService'][_0xd71b84(0x2e9)](_0x2248ea,{'params':{'objectID':_0x43dd96[_0xd71b84(0x2de)],'unitID':_0x43dd96[_0xd71b84(0x1e8)]}}))[_0xd71b84(0x33f)][_0xd71b84(0x25f)];}async[_0x43b0b2(0x350)](_0x5d58a1){var _0x5219aa=_0x43b0b2;const _0x445f07=this[_0x5219aa(0x143)]()+_0x5219aa(0x1ec);await this['_HTTPService'][_0x5219aa(0x39d)](_0x445f07,{'body':_0x5d58a1});}};Rt=ps([Jt(0x0,_0x2ffd40(_0x4a85be)),Jt(0x1,_0x2ffd40(_0x167670))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3e4643){var _0x37c3a7=_0x43b0b2;return _0x3e4643&&_0x3e4643[_0x37c3a7(0x18c)]&&Object[_0x37c3a7(0x370)][_0x37c3a7(0x313)]['call'](_0x3e4643,_0x37c3a7(0x21c))?_0x3e4643[_0x37c3a7(0x21c)]:_0x3e4643;}var Ve={'exports':{}};function gs(_0x3840ed){var _0x1752e9=_0x43b0b2;throw new Error(_0x1752e9(0x262)+_0x3840ed+_0x1752e9(0xca));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x21b7bd,_0x19116d){(function(_0x2b6d72,_0x23a1ce){var _0x126662=_0x3f50;_0x21b7bd[_0x126662(0x2ed)]=_0x23a1ce();}(Ss,function(){var _0x3979fd=_0x3979fd||function(_0x46a8e7,_0x4878f0){var _0xca6dd8=_0x3f50,_0x3ef859;if(typeof window<'u'&&window[_0xca6dd8(0x315)]&&(_0x3ef859=window[_0xca6dd8(0x315)]),typeof self<'u'&&self[_0xca6dd8(0x315)]&&(_0x3ef859=self[_0xca6dd8(0x315)]),typeof globalThis<'u'&&globalThis[_0xca6dd8(0x315)]&&(_0x3ef859=globalThis[_0xca6dd8(0x315)]),!_0x3ef859&&typeof window<'u'&&window[_0xca6dd8(0x247)]&&(_0x3ef859=window['msCrypto']),!_0x3ef859&&typeof pt<'u'&&pt[_0xca6dd8(0x315)]&&(_0x3ef859=pt[_0xca6dd8(0x315)]),!_0x3ef859&&typeof gs==_0xca6dd8(0x1a6))try{_0x3ef859=require('crypto');}catch{}var _0x53e7dc=function(){var _0x4db067=_0xca6dd8;if(_0x3ef859){if(typeof _0x3ef859[_0x4db067(0x1f4)]=='function')try{return _0x3ef859[_0x4db067(0x1f4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ef859[_0x4db067(0x2c8)]==_0x4db067(0x1a6))try{return _0x3ef859[_0x4db067(0x2c8)](0x4)[_0x4db067(0x31c)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2f689e=Object['create']||(function(){function _0x2cf801(){}return function(_0x1467ad){var _0x3e2133=_0x3f50,_0x5ec020;return _0x2cf801[_0x3e2133(0x370)]=_0x1467ad,_0x5ec020=new _0x2cf801(),_0x2cf801['prototype']=null,_0x5ec020;};}()),_0x5d4c86={},_0x3657d7=_0x5d4c86[_0xca6dd8(0x2ba)]={},_0xaa9a29=_0x3657d7[_0xca6dd8(0x155)]=(function(){return{'extend':function(_0x17c703){var _0x592292=_0x3f50,_0x37efae=_0x2f689e(this);return _0x17c703&&_0x37efae[_0x592292(0x12a)](_0x17c703),(!_0x37efae[_0x592292(0x313)](_0x592292(0x194))||this['init']===_0x37efae[_0x592292(0x194)])&&(_0x37efae[_0x592292(0x194)]=function(){var _0x1e6813=_0x592292;_0x37efae['$super'][_0x1e6813(0x194)][_0x1e6813(0x151)](this,arguments);}),_0x37efae['init'][_0x592292(0x370)]=_0x37efae,_0x37efae[_0x592292(0xcb)]=this,_0x37efae;},'create':function(){var _0x3958f4=_0x3f50,_0x5954c4=this[_0x3958f4(0x266)]();return _0x5954c4[_0x3958f4(0x194)]['apply'](_0x5954c4,arguments),_0x5954c4;},'init':function(){},'mixIn':function(_0x5aac43){var _0x362a22=_0x3f50;for(var _0x35b9aa in _0x5aac43)_0x5aac43[_0x362a22(0x313)](_0x35b9aa)&&(this[_0x35b9aa]=_0x5aac43[_0x35b9aa]);_0x5aac43[_0x362a22(0x313)](_0x362a22(0x3cc))&&(this[_0x362a22(0x3cc)]=_0x5aac43[_0x362a22(0x3cc)]);},'clone':function(){var _0x50aa0a=_0x3f50;return this[_0x50aa0a(0x194)][_0x50aa0a(0x370)][_0x50aa0a(0x266)](this);}};}()),_0x100cd7=_0x3657d7[_0xca6dd8(0x356)]=_0xaa9a29[_0xca6dd8(0x266)]({'init':function(_0x134326,_0x54d547){var _0xe5a043=_0xca6dd8;_0x134326=this[_0xe5a043(0x292)]=_0x134326||[],_0x54d547!=_0x4878f0?this['sigBytes']=_0x54d547:this['sigBytes']=_0x134326['length']*0x4;},'toString':function(_0x50decb){return(_0x50decb||_0x43c93c)['stringify'](this);},'concat':function(_0x2e8cd3){var _0xfad916=_0xca6dd8,_0x49168d=this['words'],_0x37b437=_0x2e8cd3[_0xfad916(0x292)],_0x527b9d=this['sigBytes'],_0x4b8096=_0x2e8cd3[_0xfad916(0x1d9)];if(this[_0xfad916(0xd3)](),_0x527b9d%0x4)for(var _0x2013f9=0x0;_0x2013f9<_0x4b8096;_0x2013f9++){var _0x334003=_0x37b437[_0x2013f9>>>0x2]>>>0x18-_0x2013f9%0x4*0x8&0xff;_0x49168d[_0x527b9d+_0x2013f9>>>0x2]|=_0x334003<<0x18-(_0x527b9d+_0x2013f9)%0x4*0x8;}else{for(var _0x3d8118=0x0;_0x3d8118<_0x4b8096;_0x3d8118+=0x4)_0x49168d[_0x527b9d+_0x3d8118>>>0x2]=_0x37b437[_0x3d8118>>>0x2];}return this[_0xfad916(0x1d9)]+=_0x4b8096,this;},'clamp':function(){var _0x41e324=_0xca6dd8,_0x2d4a7d=this['words'],_0x855730=this['sigBytes'];_0x2d4a7d[_0x855730>>>0x2]&=0xffffffff<<0x20-_0x855730%0x4*0x8,_0x2d4a7d['length']=_0x46a8e7[_0x41e324(0xe1)](_0x855730/0x4);},'clone':function(){var _0x810741=_0xca6dd8,_0x34e560=_0xaa9a29[_0x810741(0x355)][_0x810741(0x306)](this);return _0x34e560[_0x810741(0x292)]=this[_0x810741(0x292)][_0x810741(0x11b)](0x0),_0x34e560;},'random':function(_0x412ee2){var _0x465b6e=_0xca6dd8;for(var _0x581fb6=[],_0x4a3251=0x0;_0x4a3251<_0x412ee2;_0x4a3251+=0x4)_0x581fb6[_0x465b6e(0x3b9)](_0x53e7dc());return new _0x100cd7[(_0x465b6e(0x194))](_0x581fb6,_0x412ee2);}}),_0x4cff14=_0x5d4c86[_0xca6dd8(0x19c)]={},_0x43c93c=_0x4cff14[_0xca6dd8(0x1dc)]={'stringify':function(_0x2e55c6){var _0x1f754a=_0xca6dd8;for(var _0x870211=_0x2e55c6[_0x1f754a(0x292)],_0x2462e6=_0x2e55c6[_0x1f754a(0x1d9)],_0x10c45e=[],_0x1f2b4d=0x0;_0x1f2b4d<_0x2462e6;_0x1f2b4d++){var _0x383387=_0x870211[_0x1f2b4d>>>0x2]>>>0x18-_0x1f2b4d%0x4*0x8&0xff;_0x10c45e[_0x1f754a(0x3b9)]((_0x383387>>>0x4)['toString'](0x10)),_0x10c45e[_0x1f754a(0x3b9)]((_0x383387&0xf)[_0x1f754a(0x3cc)](0x10));}return _0x10c45e[_0x1f754a(0x3b1)]('');},'parse':function(_0x515c1c){var _0x51ef46=_0xca6dd8;for(var _0x489c97=_0x515c1c[_0x51ef46(0x129)],_0x47f50c=[],_0x328dff=0x0;_0x328dff<_0x489c97;_0x328dff+=0x2)_0x47f50c[_0x328dff>>>0x3]|=parseInt(_0x515c1c[_0x51ef46(0x28f)](_0x328dff,0x2),0x10)<<0x18-_0x328dff%0x8*0x4;return new _0x100cd7[(_0x51ef46(0x194))](_0x47f50c,_0x489c97/0x2);}},_0x5cb3eb=_0x4cff14[_0xca6dd8(0x1d8)]={'stringify':function(_0x41b8b1){var _0x46d767=_0xca6dd8;for(var _0x1ca842=_0x41b8b1[_0x46d767(0x292)],_0x57706a=_0x41b8b1['sigBytes'],_0x774ece=[],_0x2d9451=0x0;_0x2d9451<_0x57706a;_0x2d9451++){var _0x52e33e=_0x1ca842[_0x2d9451>>>0x2]>>>0x18-_0x2d9451%0x4*0x8&0xff;_0x774ece[_0x46d767(0x3b9)](String[_0x46d767(0x3c3)](_0x52e33e));}return _0x774ece['join']('');},'parse':function(_0x34f9a4){var _0x517adf=_0xca6dd8;for(var _0x44bb99=_0x34f9a4[_0x517adf(0x129)],_0x3d5054=[],_0xff48d=0x0;_0xff48d<_0x44bb99;_0xff48d++)_0x3d5054[_0xff48d>>>0x2]|=(_0x34f9a4[_0x517adf(0x1eb)](_0xff48d)&0xff)<<0x18-_0xff48d%0x4*0x8;return new _0x100cd7[(_0x517adf(0x194))](_0x3d5054,_0x44bb99);}},_0x19c21b=_0x4cff14[_0xca6dd8(0x192)]={'stringify':function(_0x2e17c2){var _0x6be770=_0xca6dd8;try{return decodeURIComponent(escape(_0x5cb3eb[_0x6be770(0x37c)](_0x2e17c2)));}catch{throw new Error(_0x6be770(0x14f));}},'parse':function(_0x2f9d1b){return _0x5cb3eb['parse'](unescape(encodeURIComponent(_0x2f9d1b)));}},_0x165630=_0x3657d7[_0xca6dd8(0x154)]=_0xaa9a29['extend']({'reset':function(){var _0x4a4b6a=_0xca6dd8;this[_0x4a4b6a(0x27f)]=new _0x100cd7[(_0x4a4b6a(0x194))](),this['_nDataBytes']=0x0;},'_append':function(_0x4d11c3){var _0x595022=_0xca6dd8;typeof _0x4d11c3=='string'&&(_0x4d11c3=_0x19c21b['parse'](_0x4d11c3)),this['_data'][_0x595022(0x201)](_0x4d11c3),this[_0x595022(0x394)]+=_0x4d11c3['sigBytes'];},'_process':function(_0x34d7b3){var _0x4fc533=_0xca6dd8,_0x11ad03,_0x7c173=this[_0x4fc533(0x27f)],_0xd186d7=_0x7c173[_0x4fc533(0x292)],_0x54b94e=_0x7c173['sigBytes'],_0x21a404=this[_0x4fc533(0x382)],_0x2f765a=_0x21a404*0x4,_0x4e831e=_0x54b94e/_0x2f765a;_0x34d7b3?_0x4e831e=_0x46a8e7[_0x4fc533(0xe1)](_0x4e831e):_0x4e831e=_0x46a8e7[_0x4fc533(0x216)]((_0x4e831e|0x0)-this[_0x4fc533(0x22a)],0x0);var _0x11cbfa=_0x4e831e*_0x21a404,_0x16ff08=_0x46a8e7[_0x4fc533(0x1df)](_0x11cbfa*0x4,_0x54b94e);if(_0x11cbfa){for(var _0x1688f2=0x0;_0x1688f2<_0x11cbfa;_0x1688f2+=_0x21a404)this['_doProcessBlock'](_0xd186d7,_0x1688f2);_0x11ad03=_0xd186d7[_0x4fc533(0x353)](0x0,_0x11cbfa),_0x7c173[_0x4fc533(0x1d9)]-=_0x16ff08;}return new _0x100cd7['init'](_0x11ad03,_0x16ff08);},'clone':function(){var _0x333daa=_0xca6dd8,_0x2705cc=_0xaa9a29[_0x333daa(0x355)]['call'](this);return _0x2705cc[_0x333daa(0x27f)]=this['_data']['clone'](),_0x2705cc;},'_minBufferSize':0x0});_0x3657d7[_0xca6dd8(0x208)]=_0x165630[_0xca6dd8(0x266)]({'cfg':_0xaa9a29[_0xca6dd8(0x266)](),'init':function(_0x52c0e1){var _0x43bac9=_0xca6dd8;this[_0x43bac9(0x3be)]=this[_0x43bac9(0x3be)][_0x43bac9(0x266)](_0x52c0e1),this[_0x43bac9(0x39a)]();},'reset':function(){var _0x528ad6=_0xca6dd8;_0x165630['reset']['call'](this),this[_0x528ad6(0x161)]();},'update':function(_0x576531){var _0x2d595f=_0xca6dd8;return this[_0x2d595f(0x213)](_0x576531),this[_0x2d595f(0x3a1)](),this;},'finalize':function(_0x43937f){var _0x41ba0e=_0xca6dd8;_0x43937f&&this[_0x41ba0e(0x213)](_0x43937f);var _0x11fb45=this[_0x41ba0e(0x33e)]();return _0x11fb45;},'blockSize':0x10,'_createHelper':function(_0x43a7e7){return function(_0x5228d3,_0x34dacb){var _0x3cff28=_0x3f50;return new _0x43a7e7['init'](_0x34dacb)[_0x3cff28(0x1e5)](_0x5228d3);};},'_createHmacHelper':function(_0x3cfb10){return function(_0x1aef32,_0x539920){var _0x17873a=_0x3f50;return new _0x509411['HMAC']['init'](_0x3cfb10,_0x539920)[_0x17873a(0x1e5)](_0x1aef32);};}});var _0x509411=_0x5d4c86[_0xca6dd8(0x31a)]={};return _0x5d4c86;}(Math);return _0x3979fd;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x43b0b2(0x2ed)],Zt;function Di(){var _0xf90e7c=_0x43b0b2;return Zt||(Zt=0x1,function(_0x253ebc,_0x3b2a0c){(function(_0xffb20,_0x4838a5){var _0x575e38=_0x3f50;_0x253ebc[_0x575e38(0x2ed)]=_0x4838a5(ie());}(Es,function(_0xab732e){var _0x15d06e=_0x3f50;return(function(){var _0x5ec0a1=_0x3f50,_0x3cd122=_0xab732e,_0x5497e5=_0x3cd122['lib'],_0xa0dd5a=_0x5497e5[_0x5ec0a1(0x356)],_0x53583c=_0x3cd122[_0x5ec0a1(0x19c)];_0x53583c['Base64']={'stringify':function(_0x321740){var _0x25120f=_0x5ec0a1,_0x4923f1=_0x321740[_0x25120f(0x292)],_0x2f0956=_0x321740['sigBytes'],_0x476f46=this['_map'];_0x321740['clamp']();for(var _0x3a93a4=[],_0x2900a8=0x0;_0x2900a8<_0x2f0956;_0x2900a8+=0x3)for(var _0x59dbb9=_0x4923f1[_0x2900a8>>>0x2]>>>0x18-_0x2900a8%0x4*0x8&0xff,_0x50d6a2=_0x4923f1[_0x2900a8+0x1>>>0x2]>>>0x18-(_0x2900a8+0x1)%0x4*0x8&0xff,_0xae449=_0x4923f1[_0x2900a8+0x2>>>0x2]>>>0x18-(_0x2900a8+0x2)%0x4*0x8&0xff,_0x394823=_0x59dbb9<<0x10|_0x50d6a2<<0x8|_0xae449,_0x534c18=0x0;_0x534c18<0x4&&_0x2900a8+_0x534c18*0.75<_0x2f0956;_0x534c18++)_0x3a93a4[_0x25120f(0x3b9)](_0x476f46[_0x25120f(0x23e)](_0x394823>>>0x6*(0x3-_0x534c18)&0x3f));var _0x175ede=_0x476f46['charAt'](0x40);if(_0x175ede){for(;_0x3a93a4['length']%0x4;)_0x3a93a4[_0x25120f(0x3b9)](_0x175ede);}return _0x3a93a4[_0x25120f(0x3b1)]('');},'parse':function(_0x9a40c){var _0x47c8ca=_0x5ec0a1,_0x2b37be=_0x9a40c[_0x47c8ca(0x129)],_0x18aa79=this['_map'],_0x47bf3e=this['_reverseMap'];if(!_0x47bf3e){_0x47bf3e=this[_0x47c8ca(0x2f5)]=[];for(var _0x45c88f=0x0;_0x45c88f<_0x18aa79[_0x47c8ca(0x129)];_0x45c88f++)_0x47bf3e[_0x18aa79[_0x47c8ca(0x1eb)](_0x45c88f)]=_0x45c88f;}var _0x2a043f=_0x18aa79[_0x47c8ca(0x23e)](0x40);if(_0x2a043f){var _0x2276c8=_0x9a40c[_0x47c8ca(0x1d4)](_0x2a043f);_0x2276c8!==-0x1&&(_0x2b37be=_0x2276c8);}return _0xd5a290(_0x9a40c,_0x2b37be,_0x47bf3e);},'_map':_0x5ec0a1(0x26c)};function _0xd5a290(_0x45ba44,_0xd8f073,_0xe71928){var _0x937836=_0x5ec0a1;for(var _0x33f29e=[],_0x5b0f60=0x0,_0x76d2a4=0x0;_0x76d2a4<_0xd8f073;_0x76d2a4++)if(_0x76d2a4%0x4){var _0x43ddb6=_0xe71928[_0x45ba44['charCodeAt'](_0x76d2a4-0x1)]<<_0x76d2a4%0x4*0x2,_0x2cb66f=_0xe71928[_0x45ba44[_0x937836(0x1eb)](_0x76d2a4)]>>>0x6-_0x76d2a4%0x4*0x2,_0x44d9d2=_0x43ddb6|_0x2cb66f;_0x33f29e[_0x5b0f60>>>0x2]|=_0x44d9d2<<0x18-_0x5b0f60%0x4*0x8,_0x5b0f60++;}return _0xa0dd5a['create'](_0x33f29e,_0x5b0f60);}}()),_0xab732e[_0x15d06e(0x19c)][_0x15d06e(0x308)];}));}(We)),We[_0xf90e7c(0x2ed)];}var Ke={'exports':{}},Is=Ke[_0x43b0b2(0x2ed)],Qt;function Ts(){return Qt||(Qt=0x1,function(_0x4e4941,_0x2e4437){(function(_0x246d40,_0x3488d1){var _0x1060a0=_0x3f50;_0x4e4941[_0x1060a0(0x2ed)]=_0x3488d1(ie());}(Is,function(_0x787ea){var _0x5600ae=_0x3f50;return function(_0x13869a){var _0x19219b=_0x3f50,_0x64b3ce=_0x787ea,_0x25522e=_0x64b3ce[_0x19219b(0x2ba)],_0xda7300=_0x25522e['WordArray'],_0x25f7ff=_0x25522e['Hasher'],_0x406472=_0x64b3ce['algo'],_0x3444b4=[];(function(){var _0x5a1e70=_0x19219b;for(var _0x4495ec=0x0;_0x4495ec<0x40;_0x4495ec++)_0x3444b4[_0x4495ec]=_0x13869a[_0x5a1e70(0x3ba)](_0x13869a[_0x5a1e70(0x23f)](_0x4495ec+0x1))*0x100000000|0x0;}());var _0x3ed2dc=_0x406472[_0x19219b(0x269)]=_0x25f7ff[_0x19219b(0x266)]({'_doReset':function(){var _0x4c62fe=_0x19219b;this[_0x4c62fe(0xde)]=new _0xda7300[(_0x4c62fe(0x194))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x12096a,_0x448db8){var _0x44b24b=_0x19219b;for(var _0x499e43=0x0;_0x499e43<0x10;_0x499e43++){var _0x5ca4d8=_0x448db8+_0x499e43,_0x12309d=_0x12096a[_0x5ca4d8];_0x12096a[_0x5ca4d8]=(_0x12309d<<0x8|_0x12309d>>>0x18)&0xff00ff|(_0x12309d<<0x18|_0x12309d>>>0x8)&0xff00ff00;}var _0x10c694=this[_0x44b24b(0xde)]['words'],_0x1baa34=_0x12096a[_0x448db8+0x0],_0x595968=_0x12096a[_0x448db8+0x1],_0x410ba2=_0x12096a[_0x448db8+0x2],_0x4a665c=_0x12096a[_0x448db8+0x3],_0x53b36b=_0x12096a[_0x448db8+0x4],_0x1760bc=_0x12096a[_0x448db8+0x5],_0x385dfb=_0x12096a[_0x448db8+0x6],_0x925341=_0x12096a[_0x448db8+0x7],_0x4fdfb3=_0x12096a[_0x448db8+0x8],_0x23d6c9=_0x12096a[_0x448db8+0x9],_0x33a8ff=_0x12096a[_0x448db8+0xa],_0x1af00e=_0x12096a[_0x448db8+0xb],_0x499f12=_0x12096a[_0x448db8+0xc],_0xf21477=_0x12096a[_0x448db8+0xd],_0x3092ac=_0x12096a[_0x448db8+0xe],_0x19582a=_0x12096a[_0x448db8+0xf],_0x34e346=_0x10c694[0x0],_0x2aaceb=_0x10c694[0x1],_0x417ecd=_0x10c694[0x2],_0x1dc3f3=_0x10c694[0x3];_0x34e346=_0x414e8c(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x1baa34,0x7,_0x3444b4[0x0]),_0x1dc3f3=_0x414e8c(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x595968,0xc,_0x3444b4[0x1]),_0x417ecd=_0x414e8c(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x410ba2,0x11,_0x3444b4[0x2]),_0x2aaceb=_0x414e8c(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x4a665c,0x16,_0x3444b4[0x3]),_0x34e346=_0x414e8c(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x53b36b,0x7,_0x3444b4[0x4]),_0x1dc3f3=_0x414e8c(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x1760bc,0xc,_0x3444b4[0x5]),_0x417ecd=_0x414e8c(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x385dfb,0x11,_0x3444b4[0x6]),_0x2aaceb=_0x414e8c(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x925341,0x16,_0x3444b4[0x7]),_0x34e346=_0x414e8c(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x4fdfb3,0x7,_0x3444b4[0x8]),_0x1dc3f3=_0x414e8c(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x23d6c9,0xc,_0x3444b4[0x9]),_0x417ecd=_0x414e8c(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x33a8ff,0x11,_0x3444b4[0xa]),_0x2aaceb=_0x414e8c(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x1af00e,0x16,_0x3444b4[0xb]),_0x34e346=_0x414e8c(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x499f12,0x7,_0x3444b4[0xc]),_0x1dc3f3=_0x414e8c(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0xf21477,0xc,_0x3444b4[0xd]),_0x417ecd=_0x414e8c(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x3092ac,0x11,_0x3444b4[0xe]),_0x2aaceb=_0x414e8c(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x19582a,0x16,_0x3444b4[0xf]),_0x34e346=_0xcd844d(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x595968,0x5,_0x3444b4[0x10]),_0x1dc3f3=_0xcd844d(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x385dfb,0x9,_0x3444b4[0x11]),_0x417ecd=_0xcd844d(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x1af00e,0xe,_0x3444b4[0x12]),_0x2aaceb=_0xcd844d(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x1baa34,0x14,_0x3444b4[0x13]),_0x34e346=_0xcd844d(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x1760bc,0x5,_0x3444b4[0x14]),_0x1dc3f3=_0xcd844d(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x33a8ff,0x9,_0x3444b4[0x15]),_0x417ecd=_0xcd844d(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x19582a,0xe,_0x3444b4[0x16]),_0x2aaceb=_0xcd844d(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x53b36b,0x14,_0x3444b4[0x17]),_0x34e346=_0xcd844d(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x23d6c9,0x5,_0x3444b4[0x18]),_0x1dc3f3=_0xcd844d(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x3092ac,0x9,_0x3444b4[0x19]),_0x417ecd=_0xcd844d(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x4a665c,0xe,_0x3444b4[0x1a]),_0x2aaceb=_0xcd844d(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x4fdfb3,0x14,_0x3444b4[0x1b]),_0x34e346=_0xcd844d(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0xf21477,0x5,_0x3444b4[0x1c]),_0x1dc3f3=_0xcd844d(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x410ba2,0x9,_0x3444b4[0x1d]),_0x417ecd=_0xcd844d(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x925341,0xe,_0x3444b4[0x1e]),_0x2aaceb=_0xcd844d(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x499f12,0x14,_0x3444b4[0x1f]),_0x34e346=_0x382881(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x1760bc,0x4,_0x3444b4[0x20]),_0x1dc3f3=_0x382881(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x4fdfb3,0xb,_0x3444b4[0x21]),_0x417ecd=_0x382881(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x1af00e,0x10,_0x3444b4[0x22]),_0x2aaceb=_0x382881(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x3092ac,0x17,_0x3444b4[0x23]),_0x34e346=_0x382881(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x595968,0x4,_0x3444b4[0x24]),_0x1dc3f3=_0x382881(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x53b36b,0xb,_0x3444b4[0x25]),_0x417ecd=_0x382881(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x925341,0x10,_0x3444b4[0x26]),_0x2aaceb=_0x382881(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x33a8ff,0x17,_0x3444b4[0x27]),_0x34e346=_0x382881(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0xf21477,0x4,_0x3444b4[0x28]),_0x1dc3f3=_0x382881(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x1baa34,0xb,_0x3444b4[0x29]),_0x417ecd=_0x382881(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x4a665c,0x10,_0x3444b4[0x2a]),_0x2aaceb=_0x382881(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x385dfb,0x17,_0x3444b4[0x2b]),_0x34e346=_0x382881(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x23d6c9,0x4,_0x3444b4[0x2c]),_0x1dc3f3=_0x382881(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x499f12,0xb,_0x3444b4[0x2d]),_0x417ecd=_0x382881(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x19582a,0x10,_0x3444b4[0x2e]),_0x2aaceb=_0x382881(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x410ba2,0x17,_0x3444b4[0x2f]),_0x34e346=_0x5e83d5(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x1baa34,0x6,_0x3444b4[0x30]),_0x1dc3f3=_0x5e83d5(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x925341,0xa,_0x3444b4[0x31]),_0x417ecd=_0x5e83d5(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x3092ac,0xf,_0x3444b4[0x32]),_0x2aaceb=_0x5e83d5(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x1760bc,0x15,_0x3444b4[0x33]),_0x34e346=_0x5e83d5(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x499f12,0x6,_0x3444b4[0x34]),_0x1dc3f3=_0x5e83d5(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x4a665c,0xa,_0x3444b4[0x35]),_0x417ecd=_0x5e83d5(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x33a8ff,0xf,_0x3444b4[0x36]),_0x2aaceb=_0x5e83d5(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x595968,0x15,_0x3444b4[0x37]),_0x34e346=_0x5e83d5(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x4fdfb3,0x6,_0x3444b4[0x38]),_0x1dc3f3=_0x5e83d5(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x19582a,0xa,_0x3444b4[0x39]),_0x417ecd=_0x5e83d5(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x385dfb,0xf,_0x3444b4[0x3a]),_0x2aaceb=_0x5e83d5(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0xf21477,0x15,_0x3444b4[0x3b]),_0x34e346=_0x5e83d5(_0x34e346,_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x53b36b,0x6,_0x3444b4[0x3c]),_0x1dc3f3=_0x5e83d5(_0x1dc3f3,_0x34e346,_0x2aaceb,_0x417ecd,_0x1af00e,0xa,_0x3444b4[0x3d]),_0x417ecd=_0x5e83d5(_0x417ecd,_0x1dc3f3,_0x34e346,_0x2aaceb,_0x410ba2,0xf,_0x3444b4[0x3e]),_0x2aaceb=_0x5e83d5(_0x2aaceb,_0x417ecd,_0x1dc3f3,_0x34e346,_0x23d6c9,0x15,_0x3444b4[0x3f]),_0x10c694[0x0]=_0x10c694[0x0]+_0x34e346|0x0,_0x10c694[0x1]=_0x10c694[0x1]+_0x2aaceb|0x0,_0x10c694[0x2]=_0x10c694[0x2]+_0x417ecd|0x0,_0x10c694[0x3]=_0x10c694[0x3]+_0x1dc3f3|0x0;},'_doFinalize':function(){var _0x3f4f2d=_0x19219b,_0x29b5d4=this[_0x3f4f2d(0x27f)],_0x3ab1c7=_0x29b5d4[_0x3f4f2d(0x292)],_0xe74d05=this[_0x3f4f2d(0x394)]*0x8,_0x5d4ac8=_0x29b5d4['sigBytes']*0x8;_0x3ab1c7[_0x5d4ac8>>>0x5]|=0x80<<0x18-_0x5d4ac8%0x20;var _0x5b6418=_0x13869a['floor'](_0xe74d05/0x100000000),_0x2327b7=_0xe74d05;_0x3ab1c7[(_0x5d4ac8+0x40>>>0x9<<0x4)+0xf]=(_0x5b6418<<0x8|_0x5b6418>>>0x18)&0xff00ff|(_0x5b6418<<0x18|_0x5b6418>>>0x8)&0xff00ff00,_0x3ab1c7[(_0x5d4ac8+0x40>>>0x9<<0x4)+0xe]=(_0x2327b7<<0x8|_0x2327b7>>>0x18)&0xff00ff|(_0x2327b7<<0x18|_0x2327b7>>>0x8)&0xff00ff00,_0x29b5d4[_0x3f4f2d(0x1d9)]=(_0x3ab1c7[_0x3f4f2d(0x129)]+0x1)*0x4,this['_process']();for(var _0x5b4cac=this[_0x3f4f2d(0xde)],_0x1791ca=_0x5b4cac[_0x3f4f2d(0x292)],_0x27da71=0x0;_0x27da71<0x4;_0x27da71++){var _0x2d551c=_0x1791ca[_0x27da71];_0x1791ca[_0x27da71]=(_0x2d551c<<0x8|_0x2d551c>>>0x18)&0xff00ff|(_0x2d551c<<0x18|_0x2d551c>>>0x8)&0xff00ff00;}return _0x5b4cac;},'clone':function(){var _0xe0d2fe=_0x19219b,_0x34d890=_0x25f7ff[_0xe0d2fe(0x355)][_0xe0d2fe(0x306)](this);return _0x34d890[_0xe0d2fe(0xde)]=this[_0xe0d2fe(0xde)][_0xe0d2fe(0x355)](),_0x34d890;}});function _0x414e8c(_0x124746,_0x34f84c,_0x2a2be5,_0x8ca567,_0xb63445,_0x25fd29,_0x548cdb){var _0x60ec9f=_0x124746+(_0x34f84c&_0x2a2be5|~_0x34f84c&_0x8ca567)+_0xb63445+_0x548cdb;return(_0x60ec9f<<_0x25fd29|_0x60ec9f>>>0x20-_0x25fd29)+_0x34f84c;}function _0xcd844d(_0x482cba,_0x3a93d4,_0x4f9bb7,_0x490bbc,_0xe1c5ba,_0x6b2068,_0x25873f){var _0x15f3e1=_0x482cba+(_0x3a93d4&_0x490bbc|_0x4f9bb7&~_0x490bbc)+_0xe1c5ba+_0x25873f;return(_0x15f3e1<<_0x6b2068|_0x15f3e1>>>0x20-_0x6b2068)+_0x3a93d4;}function _0x382881(_0x32972b,_0x61e333,_0x24c450,_0x55a3f7,_0x53e11c,_0x1ee773,_0x404060){var _0x4a18fa=_0x32972b+(_0x61e333^_0x24c450^_0x55a3f7)+_0x53e11c+_0x404060;return(_0x4a18fa<<_0x1ee773|_0x4a18fa>>>0x20-_0x1ee773)+_0x61e333;}function _0x5e83d5(_0x4c9bd2,_0x60d6b,_0x2e79fd,_0x59c6c8,_0x30806c,_0x25db0d,_0x197741){var _0x42d5bf=_0x4c9bd2+(_0x2e79fd^(_0x60d6b|~_0x59c6c8))+_0x30806c+_0x197741;return(_0x42d5bf<<_0x25db0d|_0x42d5bf>>>0x20-_0x25db0d)+_0x60d6b;}_0x64b3ce[_0x19219b(0x269)]=_0x25f7ff[_0x19219b(0x2ff)](_0x3ed2dc),_0x64b3ce[_0x19219b(0x375)]=_0x25f7ff[_0x19219b(0x2d4)](_0x3ed2dc);}(Math),_0x787ea[_0x5600ae(0x269)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){return ei||(ei=0x1,function(_0x225bd3,_0x1d6776){(function(_0x404721,_0x611772){var _0x4e5517=_0x3f50;_0x225bd3[_0x4e5517(0x2ed)]=_0x611772(ie());}(Cs,function(_0x455643){var _0x2b39a0=_0x3f50;return(function(){var _0x3a5e27=_0x3f50,_0x5e367a=_0x455643,_0x36697f=_0x5e367a['lib'],_0x25e3b9=_0x36697f[_0x3a5e27(0x356)],_0x456e06=_0x36697f['Hasher'],_0x1ae93a=_0x5e367a['algo'],_0x8ee995=[],_0x44d3ed=_0x1ae93a['SHA1']=_0x456e06[_0x3a5e27(0x266)]({'_doReset':function(){var _0x2f28a7=_0x3a5e27;this[_0x2f28a7(0xde)]=new _0x25e3b9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x29bd25,_0x3003b0){var _0xc15ae3=_0x3a5e27;for(var _0x34a84e=this[_0xc15ae3(0xde)][_0xc15ae3(0x292)],_0x38ec52=_0x34a84e[0x0],_0xd64f08=_0x34a84e[0x1],_0xc80ecc=_0x34a84e[0x2],_0x4c8a35=_0x34a84e[0x3],_0x59942e=_0x34a84e[0x4],_0x147fa4=0x0;_0x147fa4<0x50;_0x147fa4++){if(_0x147fa4<0x10)_0x8ee995[_0x147fa4]=_0x29bd25[_0x3003b0+_0x147fa4]|0x0;else{var _0x57d05d=_0x8ee995[_0x147fa4-0x3]^_0x8ee995[_0x147fa4-0x8]^_0x8ee995[_0x147fa4-0xe]^_0x8ee995[_0x147fa4-0x10];_0x8ee995[_0x147fa4]=_0x57d05d<<0x1|_0x57d05d>>>0x1f;}var _0x1b44ac=(_0x38ec52<<0x5|_0x38ec52>>>0x1b)+_0x59942e+_0x8ee995[_0x147fa4];_0x147fa4<0x14?_0x1b44ac+=(_0xd64f08&_0xc80ecc|~_0xd64f08&_0x4c8a35)+0x5a827999:_0x147fa4<0x28?_0x1b44ac+=(_0xd64f08^_0xc80ecc^_0x4c8a35)+0x6ed9eba1:_0x147fa4<0x3c?_0x1b44ac+=(_0xd64f08&_0xc80ecc|_0xd64f08&_0x4c8a35|_0xc80ecc&_0x4c8a35)-0x70e44324:_0x1b44ac+=(_0xd64f08^_0xc80ecc^_0x4c8a35)-0x359d3e2a,_0x59942e=_0x4c8a35,_0x4c8a35=_0xc80ecc,_0xc80ecc=_0xd64f08<<0x1e|_0xd64f08>>>0x2,_0xd64f08=_0x38ec52,_0x38ec52=_0x1b44ac;}_0x34a84e[0x0]=_0x34a84e[0x0]+_0x38ec52|0x0,_0x34a84e[0x1]=_0x34a84e[0x1]+_0xd64f08|0x0,_0x34a84e[0x2]=_0x34a84e[0x2]+_0xc80ecc|0x0,_0x34a84e[0x3]=_0x34a84e[0x3]+_0x4c8a35|0x0,_0x34a84e[0x4]=_0x34a84e[0x4]+_0x59942e|0x0;},'_doFinalize':function(){var _0x57eed8=_0x3a5e27,_0x457bd5=this[_0x57eed8(0x27f)],_0xd0db5f=_0x457bd5[_0x57eed8(0x292)],_0x190617=this[_0x57eed8(0x394)]*0x8,_0x47eabd=_0x457bd5[_0x57eed8(0x1d9)]*0x8;return _0xd0db5f[_0x47eabd>>>0x5]|=0x80<<0x18-_0x47eabd%0x20,_0xd0db5f[(_0x47eabd+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x190617/0x100000000),_0xd0db5f[(_0x47eabd+0x40>>>0x9<<0x4)+0xf]=_0x190617,_0x457bd5['sigBytes']=_0xd0db5f[_0x57eed8(0x129)]*0x4,this[_0x57eed8(0x3a1)](),this['_hash'];},'clone':function(){var _0x4db236=_0x3a5e27,_0x188fd0=_0x456e06[_0x4db236(0x355)][_0x4db236(0x306)](this);return _0x188fd0['_hash']=this['_hash']['clone'](),_0x188fd0;}});_0x5e367a[_0x3a5e27(0xdc)]=_0x456e06['_createHelper'](_0x44d3ed),_0x5e367a[_0x3a5e27(0x2db)]=_0x456e06[_0x3a5e27(0x2d4)](_0x44d3ed);}()),_0x455643[_0x2b39a0(0xdc)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x43b0b2(0x2ed)],ti;function ys(){return ti||(ti=0x1,function(_0xb985c2,_0x534941){(function(_0x4c24ef,_0x219de4){var _0xedd1f9=_0x3f50;_0xb985c2[_0xedd1f9(0x2ed)]=_0x219de4(ie());}(bs,function(_0xdf5da7){(function(){var _0x1c2f33=_0x3f50,_0x20a71d=_0xdf5da7,_0x2735ca=_0x20a71d[_0x1c2f33(0x2ba)],_0x1b39e6=_0x2735ca[_0x1c2f33(0x155)],_0x25f8ed=_0x20a71d[_0x1c2f33(0x19c)],_0x12c817=_0x25f8ed['Utf8'],_0x2070bc=_0x20a71d[_0x1c2f33(0x31a)];_0x2070bc['HMAC']=_0x1b39e6[_0x1c2f33(0x266)]({'init':function(_0x6b7f6,_0x3a6644){var _0x3cb8f9=_0x1c2f33;_0x6b7f6=this[_0x3cb8f9(0x387)]=new _0x6b7f6[(_0x3cb8f9(0x194))](),typeof _0x3a6644==_0x3cb8f9(0xd9)&&(_0x3a6644=_0x12c817[_0x3cb8f9(0x352)](_0x3a6644));var _0x521543=_0x6b7f6[_0x3cb8f9(0x382)],_0x3c12cb=_0x521543*0x4;_0x3a6644['sigBytes']>_0x3c12cb&&(_0x3a6644=_0x6b7f6['finalize'](_0x3a6644)),_0x3a6644[_0x3cb8f9(0xd3)]();for(var _0x876204=this[_0x3cb8f9(0x381)]=_0x3a6644[_0x3cb8f9(0x355)](),_0x154baf=this[_0x3cb8f9(0x2b0)]=_0x3a6644['clone'](),_0x1414aa=_0x876204['words'],_0x4f21b3=_0x154baf[_0x3cb8f9(0x292)],_0x19725b=0x0;_0x19725b<_0x521543;_0x19725b++)_0x1414aa[_0x19725b]^=0x5c5c5c5c,_0x4f21b3[_0x19725b]^=0x36363636;_0x876204[_0x3cb8f9(0x1d9)]=_0x154baf[_0x3cb8f9(0x1d9)]=_0x3c12cb,this[_0x3cb8f9(0x39a)]();},'reset':function(){var _0xc67270=_0x1c2f33,_0x489ae0=this['_hasher'];_0x489ae0['reset'](),_0x489ae0['update'](this[_0xc67270(0x2b0)]);},'update':function(_0x2c6014){var _0x3c9544=_0x1c2f33;return this[_0x3c9544(0x387)]['update'](_0x2c6014),this;},'finalize':function(_0x19cf5e){var _0x18c83b=_0x1c2f33,_0x3f391e=this['_hasher'],_0x2af1f3=_0x3f391e['finalize'](_0x19cf5e);_0x3f391e['reset']();var _0x41126a=_0x3f391e[_0x18c83b(0x1e5)](this[_0x18c83b(0x381)][_0x18c83b(0x355)]()[_0x18c83b(0x201)](_0x2af1f3));return _0x41126a;}});}());}));}(ze)),ze['exports'];}var Os=Ye[_0x43b0b2(0x2ed)],ii;function Ui(){return ii||(ii=0x1,function(_0x3ba3fc,_0x152a1c){(function(_0x2a4564,_0x300aa9,_0x25363d){var _0x260ab9=_0x3f50;_0x3ba3fc[_0x260ab9(0x2ed)]=_0x300aa9(ie(),Rs(),ys());}(Os,function(_0x2e293c){var _0xb7aad7=_0x3f50;return(function(){var _0x146307=_0x3f50,_0x230f15=_0x2e293c,_0x26bf93=_0x230f15[_0x146307(0x2ba)],_0x4894a2=_0x26bf93['Base'],_0x462bcf=_0x26bf93[_0x146307(0x356)],_0x24ae1e=_0x230f15[_0x146307(0x31a)],_0xd4dd48=_0x24ae1e[_0x146307(0x269)],_0x924f2b=_0x24ae1e[_0x146307(0x28d)]=_0x4894a2[_0x146307(0x266)]({'cfg':_0x4894a2['extend']({'keySize':0x80/0x20,'hasher':_0xd4dd48,'iterations':0x1}),'init':function(_0x128984){var _0x737c0e=_0x146307;this[_0x737c0e(0x3be)]=this[_0x737c0e(0x3be)][_0x737c0e(0x266)](_0x128984);},'compute':function(_0x4ec0d2,_0x3be7a3){var _0x598eb3=_0x146307;for(var _0x2d6907,_0x2730e6=this[_0x598eb3(0x3be)],_0x209249=_0x2730e6[_0x598eb3(0x11f)][_0x598eb3(0x1c4)](),_0xb450a1=_0x462bcf['create'](),_0x3781f2=_0xb450a1[_0x598eb3(0x292)],_0x332aa1=_0x2730e6[_0x598eb3(0x11d)],_0x25b074=_0x2730e6[_0x598eb3(0x1a8)];_0x3781f2[_0x598eb3(0x129)]<_0x332aa1;){_0x2d6907&&_0x209249['update'](_0x2d6907),_0x2d6907=_0x209249['update'](_0x4ec0d2)[_0x598eb3(0x1e5)](_0x3be7a3),_0x209249['reset']();for(var _0x15cab7=0x1;_0x15cab7<_0x25b074;_0x15cab7++)_0x2d6907=_0x209249[_0x598eb3(0x1e5)](_0x2d6907),_0x209249[_0x598eb3(0x39a)]();_0xb450a1[_0x598eb3(0x201)](_0x2d6907);}return _0xb450a1['sigBytes']=_0x332aa1*0x4,_0xb450a1;}});_0x230f15['EvpKDF']=function(_0x154baa,_0x34f8ed,_0x3ae335){var _0x3cd583=_0x146307;return _0x924f2b[_0x3cd583(0x1c4)](_0x3ae335)[_0x3cd583(0xd6)](_0x154baa,_0x34f8ed);};}()),_0x2e293c[_0xb7aad7(0x28d)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x1f323e=_0x43b0b2;return ni||(ni=0x1,function(_0x47d2d1,_0x134b80){(function(_0x33c6f8,_0x3af63b,_0x5e2454){_0x47d2d1['exports']=_0x3af63b(ie(),Ui());}(Ns,function(_0x323c59){var _0x8d91e4=_0x3f50;_0x323c59[_0x8d91e4(0x2ba)]['Cipher']||function(_0x12643a){var _0x5f1531=_0x8d91e4,_0x594306=_0x323c59,_0x234b94=_0x594306[_0x5f1531(0x2ba)],_0x30cf0d=_0x234b94[_0x5f1531(0x155)],_0x28a13e=_0x234b94['WordArray'],_0x225498=_0x234b94[_0x5f1531(0x154)],_0x330382=_0x594306[_0x5f1531(0x19c)];_0x330382[_0x5f1531(0x192)];var _0x253f98=_0x330382[_0x5f1531(0x308)],_0x46127c=_0x594306['algo'],_0x550785=_0x46127c[_0x5f1531(0x28d)],_0x5f1902=_0x234b94[_0x5f1531(0x1c7)]=_0x225498['extend']({'cfg':_0x30cf0d[_0x5f1531(0x266)](),'createEncryptor':function(_0x59c9ca,_0xfc0537){var _0x5e36ee=_0x5f1531;return this[_0x5e36ee(0x1c4)](this[_0x5e36ee(0x20e)],_0x59c9ca,_0xfc0537);},'createDecryptor':function(_0x76ee3d,_0x37277b){var _0x5696a5=_0x5f1531;return this['create'](this[_0x5696a5(0x288)],_0x76ee3d,_0x37277b);},'init':function(_0x33c212,_0x3e5fab,_0x946579){var _0x2f6c54=_0x5f1531;this[_0x2f6c54(0x3be)]=this[_0x2f6c54(0x3be)]['extend'](_0x946579),this[_0x2f6c54(0x21e)]=_0x33c212,this[_0x2f6c54(0x34e)]=_0x3e5fab,this[_0x2f6c54(0x39a)]();},'reset':function(){var _0x4c1ae6=_0x5f1531;_0x225498[_0x4c1ae6(0x39a)][_0x4c1ae6(0x306)](this),this[_0x4c1ae6(0x161)]();},'process':function(_0x20a1e9){var _0xfda164=_0x5f1531;return this[_0xfda164(0x213)](_0x20a1e9),this[_0xfda164(0x3a1)]();},'finalize':function(_0x2547e6){var _0x550222=_0x5f1531;_0x2547e6&&this[_0x550222(0x213)](_0x2547e6);var _0x314393=this['_doFinalize']();return _0x314393;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5ed0c1(_0x57b204){return typeof _0x57b204=='string'?_0x3385b5:_0x369ce8;}return function(_0x254118){return{'encrypt':function(_0x1bd187,_0x26bc69,_0x1025b8){var _0x30d58d=_0x3f50;return _0x5ed0c1(_0x26bc69)[_0x30d58d(0x271)](_0x254118,_0x1bd187,_0x26bc69,_0x1025b8);},'decrypt':function(_0x10cb16,_0x52f768,_0x2b58df){var _0x218d4b=_0x3f50;return _0x5ed0c1(_0x52f768)[_0x218d4b(0x1a5)](_0x254118,_0x10cb16,_0x52f768,_0x2b58df);}};};}())});_0x234b94[_0x5f1531(0xc7)]=_0x5f1902[_0x5f1531(0x266)]({'_doFinalize':function(){var _0x105fb8=_0x5f1531,_0x3bc16a=this[_0x105fb8(0x3a1)](!0x0);return _0x3bc16a;},'blockSize':0x1});var _0x3562c8=_0x594306[_0x5f1531(0x326)]={},_0xea6c3f=_0x234b94[_0x5f1531(0x3ac)]=_0x30cf0d[_0x5f1531(0x266)]({'createEncryptor':function(_0x86198a,_0x4c0094){var _0x563fc=_0x5f1531;return this[_0x563fc(0x391)][_0x563fc(0x1c4)](_0x86198a,_0x4c0094);},'createDecryptor':function(_0x4ae99a,_0x2b9355){var _0x316000=_0x5f1531;return this['Decryptor'][_0x316000(0x1c4)](_0x4ae99a,_0x2b9355);},'init':function(_0x433cae,_0x1f2c02){var _0x4b67d5=_0x5f1531;this[_0x4b67d5(0x362)]=_0x433cae,this['_iv']=_0x1f2c02;}}),_0x471fb5=_0x3562c8[_0x5f1531(0x20c)]=(function(){var _0x5ed4bc=_0x5f1531,_0x4e7429=_0xea6c3f[_0x5ed4bc(0x266)]();_0x4e7429['Encryptor']=_0x4e7429['extend']({'processBlock':function(_0x4f514e,_0x44be80){var _0x76c524=_0x5ed4bc,_0x11725f=this['_cipher'],_0x23acd9=_0x11725f[_0x76c524(0x382)];_0x324ed2[_0x76c524(0x306)](this,_0x4f514e,_0x44be80,_0x23acd9),_0x11725f['encryptBlock'](_0x4f514e,_0x44be80),this[_0x76c524(0x349)]=_0x4f514e[_0x76c524(0x11b)](_0x44be80,_0x44be80+_0x23acd9);}}),_0x4e7429[_0x5ed4bc(0x389)]=_0x4e7429[_0x5ed4bc(0x266)]({'processBlock':function(_0x128b09,_0x105216){var _0x3d23b5=_0x5ed4bc,_0xf640f1=this['_cipher'],_0x11d5f4=_0xf640f1[_0x3d23b5(0x382)],_0x1b9f79=_0x128b09[_0x3d23b5(0x11b)](_0x105216,_0x105216+_0x11d5f4);_0xf640f1[_0x3d23b5(0x120)](_0x128b09,_0x105216),_0x324ed2['call'](this,_0x128b09,_0x105216,_0x11d5f4),this[_0x3d23b5(0x349)]=_0x1b9f79;}});function _0x324ed2(_0x34b654,_0x599563,_0x3760c4){var _0x5817f7=_0x5ed4bc,_0x4cc3aa,_0x1fda92=this[_0x5817f7(0x301)];_0x1fda92?(_0x4cc3aa=_0x1fda92,this[_0x5817f7(0x301)]=_0x12643a):_0x4cc3aa=this[_0x5817f7(0x349)];for(var _0x4012fd=0x0;_0x4012fd<_0x3760c4;_0x4012fd++)_0x34b654[_0x599563+_0x4012fd]^=_0x4cc3aa[_0x4012fd];}return _0x4e7429;}()),_0x3d605c=_0x594306[_0x5f1531(0x112)]={},_0x160d36=_0x3d605c['Pkcs7']={'pad':function(_0x1818e5,_0x48be22){var _0x576cef=_0x5f1531;for(var _0x177fc4=_0x48be22*0x4,_0x1f7e3e=_0x177fc4-_0x1818e5[_0x576cef(0x1d9)]%_0x177fc4,_0x46b809=_0x1f7e3e<<0x18|_0x1f7e3e<<0x10|_0x1f7e3e<<0x8|_0x1f7e3e,_0x1cf3c0=[],_0x1bb5ed=0x0;_0x1bb5ed<_0x1f7e3e;_0x1bb5ed+=0x4)_0x1cf3c0[_0x576cef(0x3b9)](_0x46b809);var _0x3a9f4c=_0x28a13e[_0x576cef(0x1c4)](_0x1cf3c0,_0x1f7e3e);_0x1818e5[_0x576cef(0x201)](_0x3a9f4c);},'unpad':function(_0x1720ab){var _0x168580=_0x5f1531,_0x383388=_0x1720ab[_0x168580(0x292)][_0x1720ab[_0x168580(0x1d9)]-0x1>>>0x2]&0xff;_0x1720ab[_0x168580(0x1d9)]-=_0x383388;}};_0x234b94['BlockCipher']=_0x5f1902['extend']({'cfg':_0x5f1902['cfg'][_0x5f1531(0x266)]({'mode':_0x471fb5,'padding':_0x160d36}),'reset':function(){var _0x260c76=_0x5f1531,_0x100d67;_0x5f1902[_0x260c76(0x39a)][_0x260c76(0x306)](this);var _0x1cb766=this[_0x260c76(0x3be)],_0x4b876c=_0x1cb766['iv'],_0x3021fb=_0x1cb766[_0x260c76(0x326)];this['_xformMode']==this[_0x260c76(0x20e)]?_0x100d67=_0x3021fb['createEncryptor']:(_0x100d67=_0x3021fb[_0x260c76(0x36d)],this[_0x260c76(0x22a)]=0x1),this['_mode']&&this[_0x260c76(0x249)]['__creator']==_0x100d67?this[_0x260c76(0x249)]['init'](this,_0x4b876c&&_0x4b876c[_0x260c76(0x292)]):(this[_0x260c76(0x249)]=_0x100d67[_0x260c76(0x306)](_0x3021fb,this,_0x4b876c&&_0x4b876c[_0x260c76(0x292)]),this['_mode'][_0x260c76(0xda)]=_0x100d67);},'_doProcessBlock':function(_0xa06e59,_0x469af4){var _0x544412=_0x5f1531;this['_mode'][_0x544412(0x323)](_0xa06e59,_0x469af4);},'_doFinalize':function(){var _0x3c12f8=_0x5f1531,_0x564513,_0x4aadc1=this[_0x3c12f8(0x3be)][_0x3c12f8(0x168)];return this['_xformMode']==this[_0x3c12f8(0x20e)]?(_0x4aadc1[_0x3c12f8(0x112)](this['_data'],this[_0x3c12f8(0x382)]),_0x564513=this['_process'](!0x0)):(_0x564513=this[_0x3c12f8(0x3a1)](!0x0),_0x4aadc1[_0x3c12f8(0x17d)](_0x564513)),_0x564513;},'blockSize':0x80/0x20});var _0x1d6268=_0x234b94[_0x5f1531(0x134)]=_0x30cf0d[_0x5f1531(0x266)]({'init':function(_0x166377){var _0x5ab6df=_0x5f1531;this[_0x5ab6df(0x12a)](_0x166377);},'toString':function(_0x325888){var _0x43dda2=_0x5f1531;return(_0x325888||this['formatter'])[_0x43dda2(0x37c)](this);}}),_0x49fc2b=_0x594306[_0x5f1531(0xfd)]={},_0x329d3c=_0x49fc2b[_0x5f1531(0x254)]={'stringify':function(_0x572359){var _0x1240bd=_0x5f1531,_0xd0e8e6,_0x3cef8b=_0x572359[_0x1240bd(0x296)],_0x3157a7=_0x572359[_0x1240bd(0xd7)];return _0x3157a7?_0xd0e8e6=_0x28a13e[_0x1240bd(0x1c4)]([0x53616c74,0x65645f5f])[_0x1240bd(0x201)](_0x3157a7)['concat'](_0x3cef8b):_0xd0e8e6=_0x3cef8b,_0xd0e8e6[_0x1240bd(0x3cc)](_0x253f98);},'parse':function(_0x223e36){var _0x323e40=_0x5f1531,_0x440d95,_0x5f4b05=_0x253f98[_0x323e40(0x352)](_0x223e36),_0x5fb6a7=_0x5f4b05[_0x323e40(0x292)];return _0x5fb6a7[0x0]==0x53616c74&&_0x5fb6a7[0x1]==0x65645f5f&&(_0x440d95=_0x28a13e[_0x323e40(0x1c4)](_0x5fb6a7['slice'](0x2,0x4)),_0x5fb6a7[_0x323e40(0x353)](0x0,0x4),_0x5f4b05['sigBytes']-=0x10),_0x1d6268[_0x323e40(0x1c4)]({'ciphertext':_0x5f4b05,'salt':_0x440d95});}},_0x369ce8=_0x234b94[_0x5f1531(0x397)]=_0x30cf0d[_0x5f1531(0x266)]({'cfg':_0x30cf0d['extend']({'format':_0x329d3c}),'encrypt':function(_0x3a1fdd,_0xbbdd6f,_0x38a51f,_0x593e84){var _0x15a0c2=_0x5f1531;_0x593e84=this[_0x15a0c2(0x3be)][_0x15a0c2(0x266)](_0x593e84);var _0x5a5a3a=_0x3a1fdd[_0x15a0c2(0x386)](_0x38a51f,_0x593e84),_0x4a9fc2=_0x5a5a3a['finalize'](_0xbbdd6f),_0x479097=_0x5a5a3a[_0x15a0c2(0x3be)];return _0x1d6268[_0x15a0c2(0x1c4)]({'ciphertext':_0x4a9fc2,'key':_0x38a51f,'iv':_0x479097['iv'],'algorithm':_0x3a1fdd,'mode':_0x479097[_0x15a0c2(0x326)],'padding':_0x479097[_0x15a0c2(0x168)],'blockSize':_0x3a1fdd[_0x15a0c2(0x382)],'formatter':_0x593e84[_0x15a0c2(0xfd)]});},'decrypt':function(_0x5a7c3f,_0x5366f1,_0x2470f4,_0x26a468){var _0x504298=_0x5f1531;_0x26a468=this[_0x504298(0x3be)][_0x504298(0x266)](_0x26a468),_0x5366f1=this[_0x504298(0x258)](_0x5366f1,_0x26a468['format']);var _0x167805=_0x5a7c3f['createDecryptor'](_0x2470f4,_0x26a468)[_0x504298(0x1e5)](_0x5366f1[_0x504298(0x296)]);return _0x167805;},'_parse':function(_0x5d7de9,_0x423943){var _0x3a1094=_0x5f1531;return typeof _0x5d7de9==_0x3a1094(0xd9)?_0x423943[_0x3a1094(0x352)](_0x5d7de9,this):_0x5d7de9;}}),_0x2659a4=_0x594306[_0x5f1531(0x281)]={},_0x22d2b3=_0x2659a4[_0x5f1531(0x254)]={'execute':function(_0x26e4fc,_0x2a2834,_0x8ee7a6,_0x58edb1,_0x1c7ecd){var _0x23f96a=_0x5f1531;if(_0x58edb1||(_0x58edb1=_0x28a13e[_0x23f96a(0x13e)](0x40/0x8)),_0x1c7ecd)var _0x431f6c=_0x550785[_0x23f96a(0x1c4)]({'keySize':_0x2a2834+_0x8ee7a6,'hasher':_0x1c7ecd})[_0x23f96a(0xd6)](_0x26e4fc,_0x58edb1);else var _0x431f6c=_0x550785['create']({'keySize':_0x2a2834+_0x8ee7a6})[_0x23f96a(0xd6)](_0x26e4fc,_0x58edb1);var _0x4f1a84=_0x28a13e['create'](_0x431f6c[_0x23f96a(0x292)][_0x23f96a(0x11b)](_0x2a2834),_0x8ee7a6*0x4);return _0x431f6c['sigBytes']=_0x2a2834*0x4,_0x1d6268[_0x23f96a(0x1c4)]({'key':_0x431f6c,'iv':_0x4f1a84,'salt':_0x58edb1});}},_0x3385b5=_0x234b94[_0x5f1531(0x11e)]=_0x369ce8[_0x5f1531(0x266)]({'cfg':_0x369ce8['cfg'][_0x5f1531(0x266)]({'kdf':_0x22d2b3}),'encrypt':function(_0x2c85ad,_0x104118,_0x1c892f,_0x44bd7e){var _0x2ffbce=_0x5f1531;_0x44bd7e=this[_0x2ffbce(0x3be)][_0x2ffbce(0x266)](_0x44bd7e);var _0x185ced=_0x44bd7e[_0x2ffbce(0x281)][_0x2ffbce(0x240)](_0x1c892f,_0x2c85ad[_0x2ffbce(0x11d)],_0x2c85ad['ivSize'],_0x44bd7e[_0x2ffbce(0xd7)],_0x44bd7e[_0x2ffbce(0x11f)]);_0x44bd7e['iv']=_0x185ced['iv'];var _0x1052bd=_0x369ce8[_0x2ffbce(0x271)][_0x2ffbce(0x306)](this,_0x2c85ad,_0x104118,_0x185ced[_0x2ffbce(0x2fe)],_0x44bd7e);return _0x1052bd[_0x2ffbce(0x12a)](_0x185ced),_0x1052bd;},'decrypt':function(_0x326fd0,_0xa98ba4,_0x2a786d,_0x4d0fa0){var _0x32be20=_0x5f1531;_0x4d0fa0=this['cfg'][_0x32be20(0x266)](_0x4d0fa0),_0xa98ba4=this[_0x32be20(0x258)](_0xa98ba4,_0x4d0fa0['format']);var _0x5eca60=_0x4d0fa0['kdf'][_0x32be20(0x240)](_0x2a786d,_0x326fd0[_0x32be20(0x11d)],_0x326fd0['ivSize'],_0xa98ba4[_0x32be20(0xd7)],_0x4d0fa0['hasher']);_0x4d0fa0['iv']=_0x5eca60['iv'];var _0x5461aa=_0x369ce8['decrypt'][_0x32be20(0x306)](this,_0x326fd0,_0xa98ba4,_0x5eca60[_0x32be20(0x2fe)],_0x4d0fa0);return _0x5461aa;}});}();}));}(Je)),Je[_0x1f323e(0x2ed)];}var Ds=Ve[_0x43b0b2(0x2ed)],si;function Us(){var _0x3dd785=_0x43b0b2;return si||(si=0x1,function(_0x3d4c05,_0x4c0458){(function(_0x53d258,_0x1de8f1,_0x1cf417){var _0xd1648c=_0x3f50;_0x3d4c05[_0xd1648c(0x2ed)]=_0x1de8f1(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x4c4878){var _0x120867=_0x3f50;return(function(){var _0x18f179=_0x3f50,_0x356f08=_0x4c4878,_0x2294e6=_0x356f08['lib'],_0x9d1db9=_0x2294e6[_0x18f179(0xf4)],_0x20e632=_0x356f08[_0x18f179(0x31a)],_0x55dac0=[],_0x231486=[],_0x23ae9b=[],_0x1307ca=[],_0x530191=[],_0x30181e=[],_0x2b306f=[],_0x16e3ed=[],_0x43860b=[],_0x5a7f2f=[];(function(){for(var _0x11827b=[],_0x59026a=0x0;_0x59026a<0x100;_0x59026a++)_0x59026a<0x80?_0x11827b[_0x59026a]=_0x59026a<<0x1:_0x11827b[_0x59026a]=_0x59026a<<0x1^0x11b;for(var _0x47ceda=0x0,_0x439602=0x0,_0x59026a=0x0;_0x59026a<0x100;_0x59026a++){var _0xa350d1=_0x439602^_0x439602<<0x1^_0x439602<<0x2^_0x439602<<0x3^_0x439602<<0x4;_0xa350d1=_0xa350d1>>>0x8^_0xa350d1&0xff^0x63,_0x55dac0[_0x47ceda]=_0xa350d1,_0x231486[_0xa350d1]=_0x47ceda;var _0x3a748d=_0x11827b[_0x47ceda],_0x3ea6cc=_0x11827b[_0x3a748d],_0x4467f4=_0x11827b[_0x3ea6cc],_0x39995e=_0x11827b[_0xa350d1]*0x101^_0xa350d1*0x1010100;_0x23ae9b[_0x47ceda]=_0x39995e<<0x18|_0x39995e>>>0x8,_0x1307ca[_0x47ceda]=_0x39995e<<0x10|_0x39995e>>>0x10,_0x530191[_0x47ceda]=_0x39995e<<0x8|_0x39995e>>>0x18,_0x30181e[_0x47ceda]=_0x39995e;var _0x39995e=_0x4467f4*0x1010101^_0x3ea6cc*0x10001^_0x3a748d*0x101^_0x47ceda*0x1010100;_0x2b306f[_0xa350d1]=_0x39995e<<0x18|_0x39995e>>>0x8,_0x16e3ed[_0xa350d1]=_0x39995e<<0x10|_0x39995e>>>0x10,_0x43860b[_0xa350d1]=_0x39995e<<0x8|_0x39995e>>>0x18,_0x5a7f2f[_0xa350d1]=_0x39995e,_0x47ceda?(_0x47ceda=_0x3a748d^_0x11827b[_0x11827b[_0x11827b[_0x4467f4^_0x3a748d]]],_0x439602^=_0x11827b[_0x11827b[_0x439602]]):_0x47ceda=_0x439602=0x1;}}());var _0x536a7b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x32dd68=_0x20e632[_0x18f179(0x24f)]=_0x9d1db9['extend']({'_doReset':function(){var _0x4b5011=_0x18f179,_0x59a138;if(!(this['_nRounds']&&this[_0x4b5011(0x1a0)]===this[_0x4b5011(0x34e)])){for(var _0x131b55=this[_0x4b5011(0x1a0)]=this[_0x4b5011(0x34e)],_0x30a963=_0x131b55[_0x4b5011(0x292)],_0x1bfd79=_0x131b55[_0x4b5011(0x1d9)]/0x4,_0x6df3e5=this[_0x4b5011(0x24c)]=_0x1bfd79+0x6,_0x39238f=(_0x6df3e5+0x1)*0x4,_0x35a2e1=this['_keySchedule']=[],_0x48b17d=0x0;_0x48b17d<_0x39238f;_0x48b17d++)_0x48b17d<_0x1bfd79?_0x35a2e1[_0x48b17d]=_0x30a963[_0x48b17d]:(_0x59a138=_0x35a2e1[_0x48b17d-0x1],_0x48b17d%_0x1bfd79?_0x1bfd79>0x6&&_0x48b17d%_0x1bfd79==0x4&&(_0x59a138=_0x55dac0[_0x59a138>>>0x18]<<0x18|_0x55dac0[_0x59a138>>>0x10&0xff]<<0x10|_0x55dac0[_0x59a138>>>0x8&0xff]<<0x8|_0x55dac0[_0x59a138&0xff]):(_0x59a138=_0x59a138<<0x8|_0x59a138>>>0x18,_0x59a138=_0x55dac0[_0x59a138>>>0x18]<<0x18|_0x55dac0[_0x59a138>>>0x10&0xff]<<0x10|_0x55dac0[_0x59a138>>>0x8&0xff]<<0x8|_0x55dac0[_0x59a138&0xff],_0x59a138^=_0x536a7b[_0x48b17d/_0x1bfd79|0x0]<<0x18),_0x35a2e1[_0x48b17d]=_0x35a2e1[_0x48b17d-_0x1bfd79]^_0x59a138);for(var _0x289056=this[_0x4b5011(0x2a9)]=[],_0x48eed3=0x0;_0x48eed3<_0x39238f;_0x48eed3++){var _0x48b17d=_0x39238f-_0x48eed3;if(_0x48eed3%0x4)var _0x59a138=_0x35a2e1[_0x48b17d];else var _0x59a138=_0x35a2e1[_0x48b17d-0x4];_0x48eed3<0x4||_0x48b17d<=0x4?_0x289056[_0x48eed3]=_0x59a138:_0x289056[_0x48eed3]=_0x2b306f[_0x55dac0[_0x59a138>>>0x18]]^_0x16e3ed[_0x55dac0[_0x59a138>>>0x10&0xff]]^_0x43860b[_0x55dac0[_0x59a138>>>0x8&0xff]]^_0x5a7f2f[_0x55dac0[_0x59a138&0xff]];}}},'encryptBlock':function(_0x40d8ae,_0x53c76b){var _0xbf34a2=_0x18f179;this[_0xbf34a2(0x295)](_0x40d8ae,_0x53c76b,this['_keySchedule'],_0x23ae9b,_0x1307ca,_0x530191,_0x30181e,_0x55dac0);},'decryptBlock':function(_0x29012d,_0x5162cf){var _0x46764c=_0x18f179,_0x1d2ca0=_0x29012d[_0x5162cf+0x1];_0x29012d[_0x5162cf+0x1]=_0x29012d[_0x5162cf+0x3],_0x29012d[_0x5162cf+0x3]=_0x1d2ca0,this[_0x46764c(0x295)](_0x29012d,_0x5162cf,this[_0x46764c(0x2a9)],_0x2b306f,_0x16e3ed,_0x43860b,_0x5a7f2f,_0x231486);var _0x1d2ca0=_0x29012d[_0x5162cf+0x1];_0x29012d[_0x5162cf+0x1]=_0x29012d[_0x5162cf+0x3],_0x29012d[_0x5162cf+0x3]=_0x1d2ca0;},'_doCryptBlock':function(_0x29136c,_0x60bde5,_0x4d8693,_0x261251,_0x14dc6e,_0x53c226,_0x21215f,_0x1d6c01){var _0x5c1bf9=_0x18f179;for(var _0x52f5ce=this[_0x5c1bf9(0x24c)],_0x457695=_0x29136c[_0x60bde5]^_0x4d8693[0x0],_0x544b54=_0x29136c[_0x60bde5+0x1]^_0x4d8693[0x1],_0x39cb68=_0x29136c[_0x60bde5+0x2]^_0x4d8693[0x2],_0x289404=_0x29136c[_0x60bde5+0x3]^_0x4d8693[0x3],_0x1d4d00=0x4,_0x2138b0=0x1;_0x2138b0<_0x52f5ce;_0x2138b0++){var _0x4664f3=_0x261251[_0x457695>>>0x18]^_0x14dc6e[_0x544b54>>>0x10&0xff]^_0x53c226[_0x39cb68>>>0x8&0xff]^_0x21215f[_0x289404&0xff]^_0x4d8693[_0x1d4d00++],_0x5c0a23=_0x261251[_0x544b54>>>0x18]^_0x14dc6e[_0x39cb68>>>0x10&0xff]^_0x53c226[_0x289404>>>0x8&0xff]^_0x21215f[_0x457695&0xff]^_0x4d8693[_0x1d4d00++],_0x1dcf5c=_0x261251[_0x39cb68>>>0x18]^_0x14dc6e[_0x289404>>>0x10&0xff]^_0x53c226[_0x457695>>>0x8&0xff]^_0x21215f[_0x544b54&0xff]^_0x4d8693[_0x1d4d00++],_0x2ccb0d=_0x261251[_0x289404>>>0x18]^_0x14dc6e[_0x457695>>>0x10&0xff]^_0x53c226[_0x544b54>>>0x8&0xff]^_0x21215f[_0x39cb68&0xff]^_0x4d8693[_0x1d4d00++];_0x457695=_0x4664f3,_0x544b54=_0x5c0a23,_0x39cb68=_0x1dcf5c,_0x289404=_0x2ccb0d;}var _0x4664f3=(_0x1d6c01[_0x457695>>>0x18]<<0x18|_0x1d6c01[_0x544b54>>>0x10&0xff]<<0x10|_0x1d6c01[_0x39cb68>>>0x8&0xff]<<0x8|_0x1d6c01[_0x289404&0xff])^_0x4d8693[_0x1d4d00++],_0x5c0a23=(_0x1d6c01[_0x544b54>>>0x18]<<0x18|_0x1d6c01[_0x39cb68>>>0x10&0xff]<<0x10|_0x1d6c01[_0x289404>>>0x8&0xff]<<0x8|_0x1d6c01[_0x457695&0xff])^_0x4d8693[_0x1d4d00++],_0x1dcf5c=(_0x1d6c01[_0x39cb68>>>0x18]<<0x18|_0x1d6c01[_0x289404>>>0x10&0xff]<<0x10|_0x1d6c01[_0x457695>>>0x8&0xff]<<0x8|_0x1d6c01[_0x544b54&0xff])^_0x4d8693[_0x1d4d00++],_0x2ccb0d=(_0x1d6c01[_0x289404>>>0x18]<<0x18|_0x1d6c01[_0x457695>>>0x10&0xff]<<0x10|_0x1d6c01[_0x544b54>>>0x8&0xff]<<0x8|_0x1d6c01[_0x39cb68&0xff])^_0x4d8693[_0x1d4d00++];_0x29136c[_0x60bde5]=_0x4664f3,_0x29136c[_0x60bde5+0x1]=_0x5c0a23,_0x29136c[_0x60bde5+0x2]=_0x1dcf5c,_0x29136c[_0x60bde5+0x3]=_0x2ccb0d;},'keySize':0x100/0x20});_0x356f08[_0x18f179(0x24f)]=_0x9d1db9[_0x18f179(0x2ff)](_0x32dd68);}()),_0x4c4878[_0x120867(0x24f)];}));}(Ve)),Ve[_0x3dd785(0x2ed)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x43b0b2(0x2ed)],ai;function xs(){return ai||(ai=0x1,function(_0x415c0b,_0xacc091){(function(_0x5cafa9,_0x1c1e52){var _0x1d65bf=_0x3f50;_0x415c0b[_0x1d65bf(0x2ed)]=_0x1c1e52(ie());}(Ls,function(_0x4218f9){var _0x397264=_0x3f50;return _0x4218f9[_0x397264(0x19c)][_0x397264(0x192)];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x43b0b2(0x2ed)],oi;function Hs(){return oi||(oi=0x1,function(_0x42a23a,_0x3a59d3){(function(_0x5dfdc8,_0x3ab0a5){var _0xe2c7a9=_0x3f50;_0x42a23a[_0xe2c7a9(0x2ed)]=_0x3ab0a5(ie());}($s,function(_0x28ca9c){var _0x5daaf4=_0x3f50;return(function(){var _0x506f4d=_0x3f50;if(typeof ArrayBuffer==_0x506f4d(0x1a6)){var _0x63651=_0x28ca9c,_0xbfcb5a=_0x63651[_0x506f4d(0x2ba)],_0x3f8102=_0xbfcb5a[_0x506f4d(0x356)],_0x119a5b=_0x3f8102['init'],_0x4a14f4=_0x3f8102[_0x506f4d(0x194)]=function(_0x109549){var _0x4dbc33=_0x506f4d;if(_0x109549 instanceof ArrayBuffer&&(_0x109549=new Uint8Array(_0x109549)),(_0x109549 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x109549 instanceof Uint8ClampedArray||_0x109549 instanceof Int16Array||_0x109549 instanceof Uint16Array||_0x109549 instanceof Int32Array||_0x109549 instanceof Uint32Array||_0x109549 instanceof Float32Array||_0x109549 instanceof Float64Array)&&(_0x109549=new Uint8Array(_0x109549[_0x4dbc33(0x369)],_0x109549[_0x4dbc33(0xf0)],_0x109549[_0x4dbc33(0x146)])),_0x109549 instanceof Uint8Array){for(var _0x188af9=_0x109549['byteLength'],_0x18edbd=[],_0x231e7b=0x0;_0x231e7b<_0x188af9;_0x231e7b++)_0x18edbd[_0x231e7b>>>0x2]|=_0x109549[_0x231e7b]<<0x18-_0x231e7b%0x4*0x8;_0x119a5b[_0x4dbc33(0x306)](this,_0x18edbd,_0x188af9);}else _0x119a5b[_0x4dbc33(0x151)](this,arguments);};_0x4a14f4[_0x506f4d(0x370)]=_0x3f8102;}}()),_0x28ca9c[_0x5daaf4(0x2ba)][_0x5daaf4(0x356)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x43b0b2(0x2ed)],ci;function Vs(){var _0x134f5a=_0x43b0b2;return ci||(ci=0x1,function(_0x428e84,_0x3eebfd){(function(_0x2d04e9,_0x2ef6ff,_0x9d0c74){var _0xb7dd7f=_0x3f50;_0x428e84[_0xb7dd7f(0x2ed)]=_0x2ef6ff(ie(),Ai());}(Fs,function(_0x2b695a){var _0x1b13dd=_0x3f50;return _0x2b695a[_0x1b13dd(0x112)][_0x1b13dd(0x2e0)]={'pad':function(){},'unpad':function(){}},_0x2b695a[_0x1b13dd(0x112)][_0x1b13dd(0x2e0)];}));}(Qe)),Qe[_0x134f5a(0x2ed)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x180f25,_0x4de331){var _0x48a563=_0x43b0b2;const _0xc8860b=_0x4de331-_0x180f25[_0x48a563(0x129)]%_0x4de331,_0x3baa01=String[_0x48a563(0x3c3)](_0xc8860b)['repeat'](_0xc8860b);return _0x180f25+_0x3baa01;}function Ys(_0x4c342f,_0x43bf6e){var _0x5acf8b=_0x43b0b2;const _0x1043e4=js[_0x5acf8b(0x13e)](0x10),_0x11d0e2=Ks(_0x4c342f,0x10),_0x78efbb=ws[_0x5acf8b(0x271)](ks[_0x5acf8b(0x352)](_0x11d0e2),ri[_0x5acf8b(0x352)](_0x43bf6e),{'iv':_0x1043e4,'padding':Ws});return _0x1043e4[_0x5acf8b(0x201)](_0x78efbb[_0x5acf8b(0x296)])[_0x5acf8b(0x3cc)](ri);}function qs(){var _0x31b6ea=_0x43b0b2;const _0x2227a9=_0x23f053()[_0x31b6ea(0x2b9)];if(_0x2227a9){const _0x290e7c={'time':Math[_0x31b6ea(0x19e)](Date[_0x31b6ea(0x196)]()/0x3e8),'domain':location[_0x31b6ea(0x122)]};return Ys(JSON[_0x31b6ea(0x37c)](_0x290e7c),_0x2227a9);}}var zs=Object[_0x43b0b2(0x368)],Js=(_0x2bc86d,_0x401a7a,_0x4dd1c5,_0x248189)=>{var _0x3a394e=_0x43b0b2;for(var _0x550ce6=_0x248189>0x1?void 0x0:_0x248189?zs(_0x401a7a,_0x4dd1c5):_0x401a7a,_0x1904de=_0x2bc86d[_0x3a394e(0x129)]-0x1,_0x4d1766;_0x1904de>=0x0;_0x1904de--)(_0x4d1766=_0x2bc86d[_0x1904de])&&(_0x550ce6=_0x4d1766(_0x550ce6)||_0x550ce6);return _0x550ce6;},Xs=(_0x3afc58,_0x4f95be)=>(_0x3f149c,_0x2db718)=>_0x4f95be(_0x3f149c,_0x2db718,_0x3afc58);let at=class{constructor(_0x29fc88){var _0x37a6b4=_0x43b0b2;this[_0x37a6b4(0x139)]=_0x29fc88,this[_0x37a6b4(0xe4)]();}[_0x43b0b2(0xe4)](){var _0x4671c7=_0x43b0b2;this[_0x4671c7(0x139)][_0x4671c7(0x23d)]({'interceptor':(_0x4b50c7,_0x5c9518)=>{var _0x34ad8a=_0x4671c7;const _0x5e24c7=_0x4b50c7['headers'],_0x2c57a8=qs();return _0x2c57a8&&_0x5e24c7[_0x34ad8a(0x1b1)](_0x34ad8a(0x26d),_0x2c57a8),_0x5c9518(_0x4b50c7);}});}};at=Js([Xs(0x0,_0x2ffd40(_0x4a85be))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x3addec,_0x4044a7,_0xa913c4,_0x1897c4)=>{var _0x1b4a6b=_0x43b0b2;for(var _0x40a44c=_0x1897c4>0x1?void 0x0:_0x1897c4?Zs(_0x4044a7,_0xa913c4):_0x4044a7,_0xa1a704=_0x3addec[_0x1b4a6b(0x129)]-0x1,_0x2a3b73;_0xa1a704>=0x0;_0xa1a704--)(_0x2a3b73=_0x3addec[_0xa1a704])&&(_0x40a44c=_0x2a3b73(_0x40a44c)||_0x40a44c);return _0x40a44c;},mt=(_0x3f5fbe,_0xe5c6b9)=>(_0x1c8c67,_0x19d9eb)=>_0xe5c6b9(_0x1c8c67,_0x19d9eb,_0x3f5fbe);let bt=class extends _0x34812f{constructor(_0x1f4802,_0x2eed48,_0x332f69){var _0x33735d=_0x43b0b2;super(),N(this,'_unitInfo$',new _0x1de1f8(null)),N(this,'unitInfo$',this[_0x33735d(0x2f6)][_0x33735d(0x1fc)]()),(this[_0x33735d(0x1ef)]=_0x1f4802,this[_0x33735d(0x3bc)]=_0x2eed48,this[_0x33735d(0x3c5)]=_0x332f69);}async['loadUnit'](_0x5f4537,_0x2e7a47,_0x128831){var _0x58028d=_0x43b0b2;this[_0x58028d(0x2f6)][_0x58028d(0xef)]({'unitId':_0x5f4537,'type':_0x2e7a47,'subUnitId':_0x128831});let _0x1cbc38=null;switch(_0x2e7a47){case Q[_0x58028d(0x159)]:{_0x1cbc38=await this[_0x58028d(0x2f8)](_0x5f4537);break;}case Q[_0x58028d(0x248)]:{_0x1cbc38=await this[_0x58028d(0x2e8)](_0x5f4537);break;}default:{this['_logService'][_0x58028d(0x3a0)]('[DataLoaderService]',_0x58028d(0x10e));break;}}return _0x1cbc38;}async[_0x43b0b2(0x2f8)](_0x5a7398){var _0x1f89e7=_0x43b0b2,_0x539889;let _0x3555c4=0x0;const _0x4d9fcb=await((_0x539889=this['_localCacheService'])==null?void 0x0:_0x539889[_0x1f89e7(0x108)](_0x5a7398));return _0x4d9fcb&&(_0x4d9fcb[_0x1f89e7(0x343)]||_0x4d9fcb['mutations'][_0x1f89e7(0x129)]!==0x0)&&(_0x3555c4=_0x4d9fcb[_0x1f89e7(0x2d1)]),_0x3555c4===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1f89e7(0x3bc)][_0x1f89e7(0x21a)](_0x5a7398,_0x3555c4);}async[_0x43b0b2(0x2e8)](_0x1057b1){var _0x7b7922=_0x43b0b2,_0x2f8bc9;let _0x52c717=0x0;const _0x6c29ec=await((_0x2f8bc9=this[_0x7b7922(0x3c5)])==null?void 0x0:_0x2f8bc9[_0x7b7922(0x108)](_0x1057b1));return _0x6c29ec&&(_0x6c29ec[_0x7b7922(0x343)]||_0x6c29ec[_0x7b7922(0x128)][_0x7b7922(0x129)]!==0x0)&&(_0x52c717=_0x6c29ec[_0x7b7922(0x2d1)]),_0x52c717===0x0&&this[_0x7b7922(0x1ef)][_0x7b7922(0x175)]('[DataLoaderService]',_0x7b7922(0x303)),this[_0x7b7922(0x3bc)][_0x7b7922(0x28a)](_0x1057b1,_0x52c717);}};bt=Qs([mt(0x0,_0x1e90e1),mt(0x1,_0x2ffd40(_0x4bf841)),mt(0x2,_0x29dab8(J))],bt);var er=Object[_0x43b0b2(0x368)],tr=(_0xa74409,_0x5256a5,_0x16098b,_0x22ad80)=>{var _0x8e6caf=_0x43b0b2;for(var _0x39fab2=_0x22ad80>0x1?void 0x0:_0x22ad80?er(_0x5256a5,_0x16098b):_0x5256a5,_0x134bea=_0xa74409[_0x8e6caf(0x129)]-0x1,_0x27872f;_0x134bea>=0x0;_0x134bea--)(_0x27872f=_0xa74409[_0x134bea])&&(_0x39fab2=_0x27872f(_0x39fab2)||_0x39fab2);return _0x39fab2;},gt=(_0x3a5f35,_0x31e72a)=>(_0x49b6f4,_0x26c8ac)=>_0x31e72a(_0x49b6f4,_0x26c8ac,_0x3a5f35);const ir=[_0x43b0b2(0x26a),_0x43b0b2(0x3b8),'image/jpg',_0x43b0b2(0x366),_0x43b0b2(0x113)],nr=0x5*0x400*0x400,sr=_0x43b0b2(0x184),rr=_0x43b0b2(0x1ab),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x43b0b2(0x225);let yt=class{constructor(_0x3a275d,_0x26c72f,_0x31221b){var _0x2d664d=_0x43b0b2;N(this,_0x2d664d(0x163),0x0),N(this,_0x2d664d(0x3ca),new _0xa5a9dd()),N(this,'change$',this[_0x2d664d(0x3ca)]),N(this,_0x2d664d(0x189),new Map()),(this[_0x2d664d(0x139)]=_0x3a275d,this['_configService']=_0x26c72f,this[_0x2d664d(0x20d)]=_0x31221b);}['setWaitCount'](_0x37d79c){var _0x3862f4=_0x43b0b2;this[_0x3862f4(0x163)]=_0x37d79c,this[_0x3862f4(0x3ca)][_0x3862f4(0xef)](_0x37d79c);}['getImageSourceCache'](_0x43e6af,_0x320672){var _0x2cc41d=_0x43b0b2;if(_0x320672===_0x90a3c4[_0x2cc41d(0x311)]){const _0x13454e=new Image();return _0x13454e['src']=_0x43e6af,_0x13454e;}return this['_imageSourceCache'][_0x2cc41d(0x2e9)](_0x43e6af);}[_0x43b0b2(0x283)](_0x4c4505,_0x53026a,_0x58e4f9){var _0x15b1ec=_0x43b0b2;_0x53026a===_0x90a3c4[_0x15b1ec(0x311)]||_0x58e4f9==null||this['_imageSourceCache'][_0x15b1ec(0x1b1)](_0x4c4505,_0x58e4f9);}async[_0x43b0b2(0x3af)](_0x5a9bb4){var _0x42bac5=_0x43b0b2;try{const _0x46530f=this['_replaceFileID'](this[_0x42bac5(0x35d)](),''+_0x5a9bb4),_0xac4ffa=(await this['_httpService'][_0x42bac5(0x2e9)](_0x46530f))[_0x42bac5(0x33f)];if(_0xac4ffa[_0x42bac5(0x3a0)]&&_0xac4ffa[_0x42bac5(0x3a0)]['code']===Si['OK']){const _0x29902f=new URL(_0xac4ffa[_0x42bac5(0x3a5)],this[_0x42bac5(0x142)]())['toString']();return Promise[_0x42bac5(0x1d7)](_0x29902f);}return Promise[_0x42bac5(0x3a8)](_0xac4ffa[_0x42bac5(0x3a0)]);}catch(_0x34b598){return Promise['reject'](_0x34b598);}}async[_0x43b0b2(0x36c)](_0x2f8c57){var _0x470670=_0x43b0b2;let _0x1e2622='';if(!ir[_0x470670(0x3c9)](_0x2f8c57['type']))return this[_0x470670(0x25c)](),Promise[_0x470670(0x3a8)](new Error(_0x235e32[_0x470670(0x1ea)]));if(_0x2f8c57[_0x470670(0xc5)]>nr)return this[_0x470670(0x25c)](),Promise[_0x470670(0x3a8)](new Error(_0x235e32[_0x470670(0x14e)]));try{const _0x29b957=new FormData();_0x29b957['append']('file',_0x2f8c57);const _0x14f24b=this['_univerInstanceService'][_0x470670(0x2c9)](),_0x2923d4=_0x14f24b==null?void 0x0:_0x14f24b[_0x470670(0x18e)]();if(!_0x2923d4)throw new Error('unitId\x20is\x20not\x20found');const _0x5b1ae2=this[_0x470670(0xee)]()+_0x470670(0x15a)+_0x2f8c57[_0x470670(0xc5)][_0x470670(0x3cc)]()+_0x470670(0x2d0)+Ei[_0x470670(0x384)]+'&assign='+encodeURIComponent(_0x2923d4),_0x276b1b=await(await fetch(_0x5b1ae2,{'method':_0x470670(0x267),'body':_0x29b957}))['json']();if(typeof _0x276b1b[_0x470670(0x14c)]!=_0x470670(0xd9))return this[_0x470670(0x25c)](),Promise[_0x470670(0x3a8)](new Error(_0x235e32[_0x470670(0x13d)]));_0x1e2622=_0x276b1b['FileId'];}catch{return this[_0x470670(0x25c)](),Promise[_0x470670(0x3a8)](new Error(_0x235e32[_0x470670(0x13d)]));}return new Promise((_0x1e2575,_0x21a70d)=>{var _0x1a94b8=_0x470670;const _0x1f9dd8=new FileReader();_0x1f9dd8[_0x1a94b8(0x215)](_0x2f8c57),_0x1f9dd8[_0x1a94b8(0x346)]=_0x533f21=>{var _0x329406=_0x1a94b8,_0x3e3fef;const _0x5dc529=(_0x3e3fef=_0x533f21['target'])==null?void 0x0:_0x3e3fef['result'];if(_0x5dc529==null){this[_0x329406(0x25c)](),_0x21a70d(new Error(_0x235e32[_0x329406(0x13d)]));return;}const _0x3b2df6=_0x4e6303['generateRandomId'](0x6);_0x1e2575({'imageId':_0x3b2df6,'imageSourceType':_0x90a3c4[_0x329406(0x180)],'source':_0x1e2622,'base64Cache':_0x5dc529,'status':_0x235e32['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x43b0b2(0xee)](){var _0x437064=_0x43b0b2,_0x4a3c63,_0x2da4d1;const _0x1dde0a=this[_0x437064(0x27d)][_0x437064(0xc0)](sr),_0x2a3059=this[_0x437064(0x27d)][_0x437064(0xc0)](q);return(_0x2da4d1=(_0x4a3c63=_0x2a3059==null?void 0x0:_0x2a3059[_0x437064(0x2b1)])!=null?_0x4a3c63:_0x1dde0a)!=null?_0x2da4d1:rr;}[_0x43b0b2(0x35d)](){var _0x2f7ca9=_0x43b0b2,_0x2ea29e,_0x6589a1;const _0x4f647c=this['_configService'][_0x2f7ca9(0xc0)](ar),_0x39e296=this['_configService'][_0x2f7ca9(0xc0)](q);return(_0x6589a1=(_0x2ea29e=_0x39e296==null?void 0x0:_0x39e296[_0x2f7ca9(0x252)])!=null?_0x2ea29e:_0x4f647c)!=null?_0x6589a1:or;}['_getDownloadEndpointURL'](){var _0x31a19b=_0x43b0b2,_0x81cef3;const _0x5e5158=this['_configService']['getConfig'](q);return(_0x81cef3=_0x5e5158==null?void 0x0:_0x5e5158[_0x31a19b(0x1bc)])!=null?_0x81cef3:location[_0x31a19b(0xfa)];}[_0x43b0b2(0x197)](_0x2551f4,_0x4679e9){var _0x48e19e=_0x43b0b2;return _0x2551f4[_0x48e19e(0x110)](_0x48e19e(0x3aa),_0x4679e9);}[_0x43b0b2(0x25c)](){var _0x5f3bf9=_0x43b0b2;this['_waitCount']-=0x1,this[_0x5f3bf9(0x3ca)][_0x5f3bf9(0xef)](this[_0x5f3bf9(0x163)]);}};yt=tr([gt(0x0,_0x2ffd40(_0x4a85be)),gt(0x1,_0x167670),gt(0x2,_0x2ffd40(_0x5e61b9))],yt);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x2cbcb2,_0xa8a3b9,_0x150765,_0x2a090f)=>{var _0x23e379=_0x43b0b2;for(var _0x305699=_0x2a090f>0x1?void 0x0:_0x2a090f?cr(_0xa8a3b9,_0x150765):_0xa8a3b9,_0x3004fe=_0x2cbcb2[_0x23e379(0x129)]-0x1,_0x356965;_0x3004fe>=0x0;_0x3004fe--)(_0x356965=_0x2cbcb2[_0x3004fe])&&(_0x305699=_0x356965(_0x305699)||_0x305699);return _0x305699;},hi=(_0x2fa957,_0x52d936)=>(_0x19f61f,_0xbb4647)=>_0x52d936(_0x19f61f,_0xbb4647,_0x2fa957);const _r=_0x43b0b2(0x333);let Ot=class{constructor(_0x2fe599,_0x453761){var _0x11facf=_0x43b0b2;this[_0x11facf(0x27d)]=_0x2fe599,this[_0x11facf(0x16a)]=_0x453761;}['_getAPIPrefixPath'](){var _0x45edb3=_0x43b0b2,_0x24ec6a,_0x13f2a0;const _0x4533ae=this[_0x45edb3(0x27d)][_0x45edb3(0xc0)](Ni),_0x29840f=this[_0x45edb3(0x27d)]['getConfig'](q);return(_0x13f2a0=(_0x24ec6a=_0x29840f==null?void 0x0:_0x29840f[_0x45edb3(0x178)])!=null?_0x24ec6a:_0x4533ae)!=null?_0x13f2a0:_r;}async[_0x43b0b2(0x20f)](_0x5ae2ad){var _0x37f6b7=_0x43b0b2;const _0x14908f=this[_0x37f6b7(0x143)]()+_0x37f6b7(0x1ec);return{'list':[{'title':_0x37f6b7(0x38b),'mentions':(await this[_0x37f6b7(0x16a)][_0x37f6b7(0x2e9)](_0x14908f,{'params':{'objectID':_0x5ae2ad['unitId'],'unitID':_0x5ae2ad[_0x37f6b7(0x2d9)]}}))['body'][_0x37f6b7(0x25f)][_0x37f6b7(0x3c2)](_0x5b18dd=>({'objectId':_0x5b18dd['id'],'name':_0x5b18dd[_0x37f6b7(0x34c)][_0x37f6b7(0x22d)],'metadata':{'icon':_0x5b18dd[_0x37f6b7(0x34c)][_0x37f6b7(0x377)]},'label':_0x5b18dd[_0x37f6b7(0x34c)][_0x37f6b7(0x22d)],'objectType':_0x260802[_0x37f6b7(0x294)]})),'metadata':{},'type':_0x260802['PERSON']}]};}};Ot=hr([hi(0x0,_0x2ffd40(_0x167670)),hi(0x1,_0x2ffd40(_0x4a85be))],Ot);var lr=Object[_0x43b0b2(0x368)],ur=(_0x54e079,_0x2f1b75,_0x50ee0f,_0x2f2a12)=>{for(var _0x58f52e=_0x2f2a12>0x1?void 0x0:_0x2f2a12?lr(_0x2f1b75,_0x50ee0f):_0x2f1b75,_0x251df0=_0x54e079['length']-0x1,_0xc0588d;_0x251df0>=0x0;_0x251df0--)(_0xc0588d=_0x54e079[_0x251df0])&&(_0x58f52e=_0xc0588d(_0x58f52e)||_0x58f52e);return _0x58f52e;},we=(_0x100a06,_0x410cef)=>(_0x3d267b,_0xb2296f)=>_0x410cef(_0x3d267b,_0xb2296f,_0x100a06);let ot=class extends _0x34812f{constructor(_0x58b20c,_0x3ed70d,_0x66e06a,_0x1e60b5,_0x5111a3){var _0x5a0ed3=_0x43b0b2;super(),this['_injector']=_0x58b20c,this[_0x5a0ed3(0x20d)]=_0x3ed70d,this[_0x5a0ed3(0x255)]=_0x66e06a,this[_0x5a0ed3(0x1d1)]=_0x1e60b5,this['_collaborationUIEventService']=_0x5111a3,this[_0x5a0ed3(0xf9)](),this[_0x5a0ed3(0x300)]();}[_0x43b0b2(0x300)](){var _0x5297fb=_0x43b0b2;const _0x1d23d0=async _0x5bb847=>{var _0x1523ea=_0x3f50;(await this[_0x1523ea(0x1d1)][_0x1523ea(0x319)](_0x5bb847))[_0x1523ea(0x35a)][_0x1523ea(0x304)](_0x1cb4fc(_0x315eb2=>_0x315eb2[_0x1523ea(0x172)]===_0x2e7a75[_0x1523ea(0x335)]),_0xf7e5f0(this[_0x1523ea(0xdd)]))['subscribe'](_0x3c6094=>{var _0x4cf947=_0x1523ea;const _0x3527e8=_0x3c6094,{reason:_0x24c254}=_0x3527e8[_0x4cf947(0xf6)];this[_0x4cf947(0x3bf)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x24c254}),this['_permissionService'][_0x4cf947(0x2ee)](new _0x3542fd(_0x5bb847)['id'],!0x1),this[_0x4cf947(0x1d1)][_0x4cf947(0x21d)](_0x5bb847);});};_0x54b487(this['_univerInstanceService'][_0x5297fb(0x2d7)](_0x143937[_0x5297fb(0x159)]),this[_0x5297fb(0x20d)][_0x5297fb(0x2d7)](_0x143937[_0x5297fb(0x248)]))['pipe'](_0x5b4b25(_0x181ba5=>_0x181ba5[_0x5297fb(0x18e)]()),_0x1cb4fc(_0x565db1=>!_0x1ffad5(_0x565db1)),_0xf7e5f0(this[_0x5297fb(0xdd)]))[_0x5297fb(0x29e)](_0x3c94a9=>{_0x1d23d0(_0x3c94a9);});}[_0x43b0b2(0xf9)](){var _0x30ac1f=_0x43b0b2;const _0xff20e=async _0x416cd4=>{var _0x19c196=_0x3f50;const _0x2b4959=await this['_collaborationSessionService'][_0x19c196(0x319)](_0x416cd4),_0x3fe812=this[_0x19c196(0xe3)]['get'](_0x498719);_0x2b4959[_0x19c196(0x35a)][_0x19c196(0x304)](_0x1cb4fc(_0x7a8adf=>_0x7a8adf['eventID']===_0x2e7a75[_0x19c196(0x2f0)]),_0xf7e5f0(this[_0x19c196(0xdd)]))[_0x19c196(0x29e)](_0x417a83=>{var _0x305a75=_0x19c196;const _0x20ae71=_0x417a83,{objectId:_0x53d5e8}=_0x20ae71[_0x305a75(0xf6)];_0x53d5e8===_0x416cd4?_0x3fe812[_0x305a75(0x2cb)](_0x416cd4):_0x3fe812['refreshPermission'](_0x416cd4,_0x53d5e8);});};_0x54b487(this[_0x30ac1f(0x20d)][_0x30ac1f(0x2d7)](_0x143937[_0x30ac1f(0x159)]))[_0x30ac1f(0x304)](_0x5b4b25(_0x9f92bf=>_0x9f92bf['getUnitId']()),_0x1cb4fc(_0x146045=>!_0x1ffad5(_0x146045)),_0xf7e5f0(this[_0x30ac1f(0xdd)]))[_0x30ac1f(0x29e)](_0x282315=>{_0xff20e(_0x282315);});}};ot=ur([we(0x0,_0x2ffd40(_0x4f0850)),we(0x1,_0x5e61b9),we(0x2,_0x30c700),we(0x3,_0x2ffd40(xe)),we(0x4,_0x2ffd40(pe))],ot);var dr=Object[_0x43b0b2(0x368)],fr=(_0xca599b,_0x31621d,_0x3a3ea1,_0x5b1b8f)=>{var _0xe51f0f=_0x43b0b2;for(var _0x4bb32b=_0x5b1b8f>0x1?void 0x0:_0x5b1b8f?dr(_0x31621d,_0x3a3ea1):_0x31621d,_0x7134e1=_0xca599b[_0xe51f0f(0x129)]-0x1,_0x266d60;_0x7134e1>=0x0;_0x7134e1--)(_0x266d60=_0xca599b[_0x7134e1])&&(_0x4bb32b=_0x266d60(_0x4bb32b)||_0x4bb32b);return _0x4bb32b;},_i=(_0x4cdc3a,_0x334d5c)=>(_0x31ea70,_0x2e4a04)=>_0x334d5c(_0x31ea70,_0x2e4a04,_0x4cdc3a);let Nt=class{constructor(_0x19dabc,_0x5bddc1){var _0x4389cb=_0x43b0b2;this['_configService']=_0x19dabc,this[_0x4389cb(0x139)]=_0x5bddc1;}async[_0x43b0b2(0x2d6)](_0x49af65,_0x3ebf1f){var _0x3be448=_0x43b0b2,_0x22f35f;const {unitID:_0x31e37e,type:_0x3db522,revision:_0x400247=0x0}=_0x3ebf1f,_0x35828e=this[_0x3be448(0x1ad)]()+'/'+_0x3db522+'/unit/'+_0x31e37e+'/rev/'+_0x400247,_0x51f0a7=(await this['_httpService'][_0x3be448(0x2e9)](_0x35828e))[_0x3be448(0x33f)],_0x494a75=(_0x22f35f=_0x51f0a7[_0x3be448(0x1cc)])==null?void 0x0:_0x22f35f[_0x3be448(0x2e3)];if(_0x494a75){const _0x2c6777=_0x494a75==null?void 0x0:_0x494a75[_0x3be448(0x390)],_0x33bb4c=_0xa78804[_0x3be448(0x177)](_0x317360(_0x2c6777));_0x494a75[_0x3be448(0x390)]=_0x33bb4c,Object[_0x3be448(0x1c6)](_0x494a75[_0x3be448(0x305)])[_0x3be448(0x285)](([,_0x12f887])=>{var _0x59d686=_0x3be448;const _0x523d39=_0x12f887[_0x59d686(0x390)],_0x100089=_0xa78804[_0x59d686(0x177)](_0x317360(_0x523d39));_0x12f887[_0x59d686(0x390)]=_0x100089;});}return _0x51f0a7;}async[_0x43b0b2(0x1f7)](_0x5c0955,_0x465290){var _0x129829=_0x43b0b2;const {unitID:_0x95ead6,type:_0x44da79,blockID:_0x142061}=_0x465290,_0x81e05d=this['_getAPIPrefix']()+'/'+_0x44da79+_0x129829(0x2f9)+_0x95ead6+'/block/'+_0x142061;return(await this[_0x129829(0x139)]['get'](_0x81e05d))['body'];}async[_0x43b0b2(0x374)](_0x4564c9,_0x638be0){var _0x5c76a8=_0x43b0b2;const {unitID:_0x262333,type:_0x47c2d9,blockID:_0x4ab858}=_0x638be0,_0x30dd5b=this[_0x5c76a8(0x185)]()+_0x5c76a8(0x299)+_0x47c2d9+_0x5c76a8(0x2f9)+_0x262333+_0x5c76a8(0x299)+_0x4ab858;return(await this['_httpService'][_0x5c76a8(0x2e9)](_0x30dd5b))[_0x5c76a8(0x33f)];}async[_0x43b0b2(0x124)](_0x4a1d41,_0x13c502){var _0x5e7659=_0x43b0b2;const {unitID:_0x2a77de,type:_0x2b21e0,from:_0x10d64f,to:_0x29f917}=_0x13c502,_0x4ad1ae=this[_0x5e7659(0x185)]()+'/'+_0x2b21e0+_0x5e7659(0x2f9)+_0x2a77de+'/fetchmissing?from='+_0x10d64f+_0x5e7659(0x2f2)+_0x29f917;return(await this[_0x5e7659(0x139)][_0x5e7659(0x2e9)](_0x4ad1ae))['body'];}[_0x43b0b2(0x1ad)](){var _0x31bdd2=_0x43b0b2,_0x3eeecc;return(_0x3eeecc=this[_0x31bdd2(0x27d)][_0x31bdd2(0xc0)](Sn))!=null?_0x3eeecc:this[_0x31bdd2(0x185)]();}[_0x43b0b2(0x185)](){var _0x5496a2=_0x43b0b2,_0x47964b,_0x12a8cb;const _0x58498b=this[_0x5496a2(0x27d)][_0x5496a2(0xc0)](mn),_0x24598b=this[_0x5496a2(0x27d)]['getConfig'](q);return(_0x12a8cb=(_0x47964b=_0x24598b==null?void 0x0:_0x24598b[_0x5496a2(0x191)])!=null?_0x47964b:_0x58498b)!=null?_0x12a8cb:gn;}async[_0x43b0b2(0x158)](_0x49d78f,_0x51783d){var _0xfe62=_0x43b0b2;const _0x13bacb=_0xfe62(0x2a1)+_0x51783d[_0xfe62(0xe6)]+_0xfe62(0x2f9)+_0x51783d[_0xfe62(0x1e8)]+_0xfe62(0x274);return(await this[_0xfe62(0x139)][_0xfe62(0x2e9)](_0x13bacb,{'params':{'resourceId':JSON[_0xfe62(0x37c)](_0x51783d['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x31d456=_0x43b0b2;throw new Error(_0x31d456(0x2e4));}[_0x43b0b2(0x2d3)](){var _0x580626=_0x43b0b2;throw new Error(_0x580626(0x2e4));}[_0x43b0b2(0x380)](){var _0x5e6875=_0x43b0b2;throw new Error(_0x5e6875(0x2e4));}[_0x43b0b2(0x10f)](){var _0x35e650=_0x43b0b2;throw new Error(_0x35e650(0x2e4));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x167670),_i(0x1,_0x2ffd40(_0x4a85be))],Nt);var vr=Object[_0x43b0b2(0x368)],pr=(_0x149084,_0x43c4e5,_0xef7ae8,_0x1867f5)=>{var _0x2d3c81=_0x43b0b2;for(var _0x2f2c21=_0x1867f5>0x1?void 0x0:_0x1867f5?vr(_0x43c4e5,_0xef7ae8):_0x43c4e5,_0x17031e=_0x149084[_0x2d3c81(0x129)]-0x1,_0x51f930;_0x17031e>=0x0;_0x17031e--)(_0x51f930=_0x149084[_0x17031e])&&(_0x2f2c21=_0x51f930(_0x2f2c21)||_0x2f2c21);return _0x2f2c21;},Pe=(_0x133947,_0x4e2b5d)=>(_0x5593f6,_0x384470)=>_0x4e2b5d(_0x5593f6,_0x384470,_0x133947);let Dt=class extends _0x496ec3{constructor(_0x35ed72,_0xc630cc,_0x2e6771,_0x2c0f7b,_0x2a4aa6){super(_0x35ed72,_0xc630cc,_0x2e6771),this['_transformService']=_0x2c0f7b,this['_logService']=_0x2a4aa6;}[_0x43b0b2(0x31b)](_0x50e5a2,_0x36883f){var _0x242906=_0x43b0b2;const _0x649eba=this['_getUndoStack'](_0x50e5a2);if(_0x649eba)try{const _0x32b52a=this[_0x242906(0x1c1)](_0x649eba,_0x36883f);this[_0x242906(0x26f)](_0x50e5a2,_0x32b52a);}catch(_0x4ac726){this['_logService']['error']('[CollaborationUndoRedoService]',_0x4ac726),this[_0x242906(0x284)](_0x50e5a2);}const _0x4a206d=this[_0x242906(0x2af)](_0x50e5a2);if(_0x4a206d)try{const _0x35f0d5=this[_0x242906(0x1c1)](_0x4a206d,_0x36883f);this[_0x242906(0x29c)](_0x50e5a2,_0x35f0d5);}catch(_0x22bc28){this[_0x242906(0x1ef)][_0x242906(0x3a0)](_0x22bc28),this[_0x242906(0x2a5)](_0x50e5a2);}}[_0x43b0b2(0x284)](_0x13543d){var _0x2d33e4=_0x43b0b2;const _0x1832da=this['_getUndoStack'](_0x13543d);_0x1832da&&(_0x1832da[_0x2d33e4(0x129)]=0x0,this[_0x2d33e4(0x1de)]());}[_0x43b0b2(0x2a5)](_0x5b3412){var _0x5c5533=_0x43b0b2;const _0x436100=this['_getRedoStack'](_0x5b3412);_0x436100&&(_0x436100[_0x5c5533(0x129)]=0x0,this[_0x5c5533(0x1de)]());}[_0x43b0b2(0x26f)](_0x7c152f,_0x2b7b8b){var _0x1b2ec3=_0x43b0b2;this[_0x1b2ec3(0x233)][_0x1b2ec3(0x1b1)](_0x7c152f,_0x2b7b8b),this[_0x1b2ec3(0x1de)]();}[_0x43b0b2(0x29c)](_0x568a27,_0x579823){var _0x5c6ea4=_0x43b0b2;this[_0x5c6ea4(0x32f)][_0x5c6ea4(0x1b1)](_0x568a27,_0x579823),this['_updateStatus']();}[_0x43b0b2(0x1c1)](_0x337e70,_0x2e634c){var _0x4d4725=_0x43b0b2;const _0x57bf8c=[];let _0x777ef1=_0x2e634c,_0x1626fe=_0x2e634c;for(let _0x441672=_0x337e70[_0x4d4725(0x129)]-0x1;_0x441672>=0x0;_0x441672--){const {unitID:_0x154b20,undoMutations:_0xf85f4d,redoMutations:_0x4fd786}=_0x337e70[_0x441672],_0x2e209e=this['_transformService']['transformMutationsWithChangeset'](_0x777ef1,_0xf85f4d),_0x3ac53d=this[_0x4d4725(0x2ae)]['transformMutationsWithChangeset'](_0x1626fe,_0x4fd786);if(_0x8540ec(_0x2e209e)||_0x8540ec(_0x3ac53d)){this[_0x4d4725(0x1ef)]['error'](_0x4d4725(0xd1),_0x4d4725(0x211),_0x2e209e,_0x3ac53d);break;}_0x777ef1=_0x2e209e['c1Prime'],_0x1626fe=_0x3ac53d[_0x4d4725(0xd5)],_0x57bf8c['push']({'unitID':_0x154b20,'undoMutations':_0x2e209e['m2Prime'],'redoMutations':_0x3ac53d[_0x4d4725(0x220)]});}return _0x57bf8c[_0x4d4725(0x203)]();}};Dt=pr([Pe(0x0,_0x5e61b9),Pe(0x1,_0x564f8e),Pe(0x2,_0x548ec0),Pe(0x3,_0x218fca),Pe(0x4,_0x1e90e1)],Dt);var mr=Object[_0x43b0b2(0x37f)],gr=Object[_0x43b0b2(0x368)],Sr=(_0xbfd5,_0x485023,_0x383350)=>_0x485023 in _0xbfd5?mr(_0xbfd5,_0x485023,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x383350}):_0xbfd5[_0x485023]=_0x383350,Er=(_0x1b950c,_0x25ea2a,_0x80ba73,_0x2db39f)=>{var _0x15d1f3=_0x43b0b2;for(var _0x2b7dc5=_0x2db39f>0x1?void 0x0:_0x2db39f?gr(_0x25ea2a,_0x80ba73):_0x25ea2a,_0x3ad0cf=_0x1b950c[_0x15d1f3(0x129)]-0x1,_0x3d13e6;_0x3ad0cf>=0x0;_0x3ad0cf--)(_0x3d13e6=_0x1b950c[_0x3ad0cf])&&(_0x2b7dc5=_0x3d13e6(_0x2b7dc5)||_0x2b7dc5);return _0x2b7dc5;},St=(_0x78be9a,_0x1d051e)=>(_0x5580e7,_0x32b5f5)=>_0x1d051e(_0x5580e7,_0x32b5f5,_0x78be9a),Ir=(_0x36dd74,_0x432bcb,_0xc15439)=>Sr(_0x36dd74,_0x432bcb+'',_0xc15439);const Tr=_0x43b0b2(0x2bb);let Ut=class extends _0x34e22b{constructor(_0x5e0409,_0x3fa3d9,_0x13e774,_0x57542b){var _0x5bf15f=_0x43b0b2;super(),N(this,'_config'),(this['_logService']=_0x3fa3d9,this['_injector']=_0x13e774,this[_0x5bf15f(0x27d)]=_0x57542b);const {..._0x26d219}=_0x24b74b({},wn,_0x5e0409);if(!_0x26d219[_0x5bf15f(0x2fd)])throw new Error(_0x5bf15f(0x16d));this[_0x5bf15f(0xbd)]=_0x26d219,this[_0x5bf15f(0x27d)]['setConfig'](q,_0x26d219);}[_0x43b0b2(0x320)](){var _0x1c4999=_0x43b0b2;this['_registerDependencies'](),this[_0x1c4999(0x1d2)]();}['_registerDependencies'](){var _0x494985=_0x43b0b2,_0x6c3250,_0x53e740;this[_0x494985(0xe3)][_0x494985(0xf1)](_0x89eb02)&&this[_0x494985(0x1ef)][_0x494985(0x3a0)](_0x494985(0x340),_0x494985(0x325));const _0x51f9d3=_0x15c081([[_0x89eb02,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x494985(0xbd)][_0x494985(0x2fd)]}],[_0x2a0c92,{'useClass':Nt}],[_0x10c5b7,{'useClass':Rt}],[_0x49c7eb,{'useClass':yt}],[_0x4bea32,{'useClass':Ot}],[st],[Ct]],(_0x6c3250=this[_0x494985(0xbd)])==null?void 0x0:_0x6c3250[_0x494985(0x39c)]);if(!((_0x53e740=this['_config'])!=null&&_0x53e740[_0x494985(0x130)])){const _0x41c128=_0x51f9d3[_0x494985(0x17c)](([_0xb9812d])=>_0xb9812d===ht);_0x41c128!==-0x1&&_0x51f9d3['splice'](_0x41c128,0x1);}_0x2dea0a(this[_0x494985(0xe3)],_0x51f9d3);}[_0x43b0b2(0x1d2)](){var _0x368410=_0x43b0b2,_0x22f3ad,_0x36fb5f,_0x3a5fa6;this[_0x368410(0xe3)][_0x368410(0x2e9)](_0x4a85be)[_0x368410(0x23d)]({'priority':0x14,'interceptor':_0x43eb34({'maxParallel':0x6})}),(_0x22f3ad=this['_config'])!=null&&_0x22f3ad[_0x368410(0xe2)]||(_0x36fb5f=this[_0x368410(0xe3)][_0x368410(0x2e9)](J,_0x22f54a['OPTIONAL']))==null||_0x36fb5f[_0x368410(0x31f)](),(_0x3a5fa6=this['_config'])!=null&&_0x3a5fa6[_0x368410(0x33c)]&&_0x5f0909(this[_0x368410(0xe3)],[[rt]]),_0x5f0909(this[_0x368410(0xe3)],[[at],[st],[ot]]);}};Ir(Ut,_0x43b0b2(0x28b),Tr),Ut=Er([_0x2f1092(_0x54c53a,_0x460cd1),St(0x1,_0x1e90e1),St(0x2,_0x2ffd40(_0x4f0850)),St(0x3,_0x167670)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};