@univerjs-pro/collaboration-client 0.7.0-nightly.202505161607 → 0.7.0-nightly.202505181606

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 _0x21fa21=_0x4934;(function(_0x4da22d,_0x4c8e1f){var _0x2b9051=_0x4934,_0x254980=_0x4da22d();while(!![]){try{var _0xac72f0=-parseInt(_0x2b9051(0x215))/0x1*(parseInt(_0x2b9051(0x285))/0x2)+-parseInt(_0x2b9051(0x1e1))/0x3+-parseInt(_0x2b9051(0x3fb))/0x4+-parseInt(_0x2b9051(0x2ee))/0x5+parseInt(_0x2b9051(0x1d0))/0x6+-parseInt(_0x2b9051(0x3f3))/0x7+parseInt(_0x2b9051(0x277))/0x8;if(_0xac72f0===_0x4c8e1f)break;else _0x254980['push'](_0x254980['shift']());}catch(_0x116f67){_0x254980['push'](_0x254980['shift']());}}}(_0x4a51,0x9eb29));var wi=Object[_0x21fa21(0x185)],Pi=(_0x1db9e4,_0x320578,_0x198139)=>_0x320578 in _0x1db9e4?wi(_0x1db9e4,_0x320578,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x198139}):_0x1db9e4[_0x320578]=_0x198139,N=(_0xaf27e8,_0x227837,_0x576b47)=>Pi(_0xaf27e8,typeof _0x227837!=_0x21fa21(0x3cd)?_0x227837+'':_0x227837,_0x576b47);import{createIdentifier as _0x1c57ef,Inject as _0x19c414,Injector as _0x50fda6,IConfigService as _0x51423a,ILogService as _0x459fda,Disposable as _0x23b53b,DisposableCollection as _0x24524a,toDisposable as _0x570176,IUniverInstanceService as _0x11d3ee,UserManagerService as _0xb72226,UniverInstanceType as _0x57bf09,LocaleService as _0x4ac43d,Optional as _0x548a6f,RxDisposable as _0x37cb10,Tools as _0x4da9f1,Rectangle as _0x188977,ICommandService as _0x1ce977,JSONX as _0x325b4b,CommandType as _0x5e236c,IUndoRedoService as _0x3319d4,IPermissionService as _0x19d05d,sequenceExecute as _0x17ff19,Workbook as _0xc13b30,MentionType as _0x34a700,isInternalEditorID as _0x173af8,LocalUndoRedoService as _0x5c1da8,IContextService as _0x3ee25d,DependentOn as _0x291a63,Plugin as _0x5c5ff6,merge as _0x4d2b25,mergeOverrideWithDependencies as _0x2c416d,IAuthzIoService as _0x11b08a,IMentionIOService as _0x2d31ed,registerDependencies as _0x3efd00,Quantity as _0xc2a92d,touchDependencies as _0x949144}from'@univerjs/core';import{Subject as _0x1db3bf,merge as _0x3b99f9,of as _0x169840,BehaviorSubject as _0x214797,takeUntil as _0x5e89af,ReplaySubject as _0x43e32f,take as _0x3b10f3,map as _0x83c841,shareReplay as _0x1dd3ef,firstValueFrom as _0x461100,concatMap as _0x9bafb0}from'rxjs';import{map as _0x7fca1a,take as _0x24cadd,filter as _0x439f72,delay as _0x4dde13,takeUntil as _0x35f491}from'rxjs/operators';import{CollaborationEvent as _0xea38b9,ISnapshotServerService as _0x468c9b,parseChangesetToProtocol as _0xd1ca6c,ITransformService as _0x5ef856,isTransformMutationsWithChangesetSuccess as _0x16c2fd,mapDocumentTypeToUniverType as _0x4f4e81,RevisionService as _0x16a918,isTransformChangesetsSuccess as _0x276042,CompressMutationService as _0x1d8788,parseProtocolChangeset as _0x18e7a3,SnapshotService as _0x3fe4ff,textEncoder as _0x1e7d49,b64DecodeUnicode as _0x5acace,isTransformMutationsWithChangesetFailure as _0x20a6d,UniverCollaborationPlugin as _0x26e1ba}from'@univerjs-pro/collaboration';import{HTTPService as _0xf7c598,ISocketService as _0x5845ad,MergeInterceptorFactory as _0x40b73d,HTTPRequest as _0x2bac94,UniverNetworkPlugin as _0x16b5d9,ThresholdInterceptorFactory as _0x16a45f}from'@univerjs/network';import{ITelemetryService as _0x35693f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x309e0}from'@univerjs/docs';import{SheetsSelectionsService as _0x1a7f47,SetSelectionsOperation as _0x41c317,InsertSheetMutation as _0x281dc0,EmptyMutation as _0x14ed1d,WorkbookEditablePermission as _0x3477ec,SheetPermissionInitController as _0x280abf}from'@univerjs/sheets';import{ImageSourceType as _0x57bdd4,ImageUploadStatusType as _0x2b686e,IImageIoService as _0x167b34}from'@univerjs/drawing';import{getGlobalObject as _0x11365b}from'@univerjs-pro/license';const mn=_0x21fa21(0x1ab),gn='/universer-api/snapshot',Sn=_0x21fa21(0x2b6),Lr=_0x21fa21(0x145),En=0x7d0,In=_0x21fa21(0x361),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Mr='/universer-api/user/session-ticket',Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x21fa21(0x35a),gi=0x4e20,bn=0x4e20,On=_0x21fa21(0x2e5),yn=0x3,xr=_0x21fa21(0x3e9),kr=0x3e8,Nn=_0x21fa21(0x2fd),Dn=_0x21fa21(0x13b),Un=_0x21fa21(0x1d6),An=_0x21fa21(0x33f),$r=_0x21fa21(0x1cb),Hr=_0x21fa21(0x390);var Si=(_0x5c9900=>(_0x5c9900[_0x5c9900[_0x21fa21(0x317)]=0x0]=_0x21fa21(0x317),_0x5c9900[_0x5c9900['OK']=0x1]='OK',_0x5c9900[_0x5c9900[_0x21fa21(0x2b8)]=0x2]=_0x21fa21(0x2b8),_0x5c9900[_0x5c9900[_0x21fa21(0x160)]=0x3]=_0x21fa21(0x160),_0x5c9900[_0x5c9900[_0x21fa21(0x175)]=0x4]=_0x21fa21(0x175),_0x5c9900[_0x5c9900['UNAUTHENTICATED']=0x5]=_0x21fa21(0x310),_0x5c9900[_0x5c9900['ALREADY_EXISTS']=0x6]=_0x21fa21(0x203),_0x5c9900[_0x5c9900[_0x21fa21(0x2a9)]=0x7]='INVALID_ARGUMENT',_0x5c9900[_0x5c9900[_0x21fa21(0x2e7)]=0x8]=_0x21fa21(0x2e7),_0x5c9900[_0x5c9900[_0x21fa21(0x35d)]=0x9]=_0x21fa21(0x35d),_0x5c9900[_0x5c9900[_0x21fa21(0x1c3)]=0xa]='LOGIN_FAILED',_0x5c9900[_0x5c9900['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x21fa21(0x28e),_0x5c9900[_0x5c9900[_0x21fa21(0x346)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5c9900[_0x5c9900[_0x21fa21(0x3b8)]=0x1772]=_0x21fa21(0x3b8),_0x5c9900[_0x5c9900[_0x21fa21(0x2e2)]=0x1773]=_0x21fa21(0x2e2),_0x5c9900[_0x5c9900[_0x21fa21(0x2f0)]=0x1b59]=_0x21fa21(0x2f0),_0x5c9900[_0x5c9900[_0x21fa21(0x314)]=0x1b5a]=_0x21fa21(0x314),_0x5c9900[_0x5c9900[_0x21fa21(0x2c4)]=0x1b5b]=_0x21fa21(0x2c4),_0x5c9900[_0x5c9900['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x21fa21(0x36b),_0x5c9900[_0x5c9900[_0x21fa21(0x1e2)]=0x1b5d]=_0x21fa21(0x1e2),_0x5c9900[_0x5c9900[_0x21fa21(0x1c1)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c9900[_0x5c9900[_0x21fa21(0x3e0)]=0x2329]=_0x21fa21(0x3e0),_0x5c9900[_0x5c9900['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x21fa21(0x12a),_0x5c9900[_0x5c9900['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x21fa21(0x13c),_0x5c9900[_0x5c9900[_0x21fa21(0x325)]=0x232c]=_0x21fa21(0x325),_0x5c9900[_0x5c9900['LICENSE_DISTRO_REJECTED']=0x232d]=_0x21fa21(0x243),_0x5c9900[_0x5c9900[_0x21fa21(0x220)]=0x2711]=_0x21fa21(0x220),_0x5c9900[_0x5c9900[_0x21fa21(0x167)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5c9900[_0x5c9900['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x21fa21(0x201),_0x5c9900[_0x5c9900['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x21fa21(0x1a5),_0x5c9900[_0x5c9900[_0x21fa21(0x42d)]=0x271a]=_0x21fa21(0x42d),_0x5c9900[_0x5c9900[_0x21fa21(0x34b)]=0x271b]=_0x21fa21(0x34b),_0x5c9900[_0x5c9900[_0x21fa21(0x3d4)]=0x271c]=_0x21fa21(0x3d4),_0x5c9900[_0x5c9900[_0x21fa21(0x3b3)]=0x271d]=_0x21fa21(0x3b3),_0x5c9900[_0x5c9900[_0x21fa21(0x28b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c9900[_0x5c9900[_0x21fa21(0x351)]=0x271f]=_0x21fa21(0x351),_0x5c9900[_0x5c9900[_0x21fa21(0x13e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c9900[_0x5c9900['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5c9900[_0x5c9900[_0x21fa21(0x3b1)]=0x2ee2]='INVALID_INVITE_CODE',_0x5c9900[_0x5c9900[_0x21fa21(0x284)]=0x2ee3]=_0x21fa21(0x284),_0x5c9900[_0x5c9900[_0x21fa21(0x227)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5c9900[_0x5c9900[_0x21fa21(0x3ee)]=0x2ee5]=_0x21fa21(0x3ee),_0x5c9900[_0x5c9900[_0x21fa21(0x234)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c9900[_0x5c9900[_0x21fa21(0x31f)]=0x32ca]=_0x21fa21(0x31f),_0x5c9900[_0x5c9900[_0x21fa21(0x3a5)]=0x32cb]=_0x21fa21(0x3a5),_0x5c9900[_0x5c9900[_0x21fa21(0x1f9)]=-0x1]=_0x21fa21(0x1f9),_0x5c9900))(Si||{}),Q=(_0x5586f1=>(_0x5586f1[_0x5586f1['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5586f1[_0x5586f1[_0x21fa21(0x240)]=0x1]='UNIVER_DOC',_0x5586f1[_0x5586f1[_0x21fa21(0x19a)]=0x2]=_0x21fa21(0x19a),_0x5586f1[_0x5586f1[_0x21fa21(0x2d0)]=0x3]=_0x21fa21(0x2d0),_0x5586f1[_0x5586f1['UNIVER_PROJECT']=0x4]=_0x21fa21(0x253),_0x5586f1[_0x5586f1[_0x21fa21(0x1f9)]=-0x1]=_0x21fa21(0x1f9),_0x5586f1))(Q||{}),F=(_0x19fbea=>(_0x19fbea[_0x19fbea['UNKNOWN_CMD']=0x0]=_0x21fa21(0x3b5),_0x19fbea[_0x19fbea[_0x21fa21(0x37a)]=0x1]=_0x21fa21(0x37a),_0x19fbea[_0x19fbea[_0x21fa21(0x1ad)]=0x2]=_0x21fa21(0x1ad),_0x19fbea[_0x19fbea[_0x21fa21(0x289)]=0x3]=_0x21fa21(0x289),_0x19fbea[_0x19fbea[_0x21fa21(0x2c8)]=0x4]=_0x21fa21(0x2c8),_0x19fbea[_0x19fbea[_0x21fa21(0x235)]=0x5]=_0x21fa21(0x235),_0x19fbea[_0x19fbea[_0x21fa21(0x350)]=0x6]=_0x21fa21(0x350),_0x19fbea[_0x19fbea[_0x21fa21(0x1f9)]=-0x1]='UNRECOGNIZED',_0x19fbea))(F||{}),ge=(_0x16053f=>(_0x16053f[_0x16053f[_0x21fa21(0x31c)]=0x0]=_0x21fa21(0x31c),_0x16053f[_0x16053f['OK']=0x1]='OK',_0x16053f[_0x16053f[_0x21fa21(0x222)]=0x2]='FAIL',_0x16053f[_0x16053f[_0x21fa21(0x363)]=0x3e9]='JOIN_ROOM_FULL',_0x16053f[_0x16053f[_0x21fa21(0x2ca)]=0x3ea]=_0x21fa21(0x2ca),_0x16053f[_0x16053f['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x16053f[_0x16053f[_0x21fa21(0x345)]=0x3ec]=_0x21fa21(0x345),_0x16053f[_0x16053f[_0x21fa21(0x1f9)]=-0x1]='UNRECOGNIZED',_0x16053f))(ge||{}),Ei=(_0xef78b8=>(_0xef78b8[_0xef78b8['Undefined']=0x0]=_0x21fa21(0x3fc),_0xef78b8[_0xef78b8[_0x21fa21(0x360)]=0x1]=_0x21fa21(0x360),_0xef78b8[_0xef78b8[_0x21fa21(0x278)]=0x2]=_0x21fa21(0x278),_0xef78b8[_0xef78b8[_0x21fa21(0x184)]=0x3]='UnitEmbedded',_0xef78b8[_0xef78b8[_0x21fa21(0x1bd)]=0x4]=_0x21fa21(0x1bd),_0xef78b8[_0xef78b8[_0x21fa21(0x2ac)]=0x5]='UserProfileImg',_0xef78b8[_0xef78b8[_0x21fa21(0x1f9)]=-0x1]=_0x21fa21(0x1f9),_0xef78b8))(Ei||{});const q=_0x21fa21(0x421),wn={};var re=(_0x57a963=>(_0x57a963[_0x21fa21(0x324)]=_0x21fa21(0x324),_0x57a963[_0x21fa21(0x160)]=_0x21fa21(0x160),_0x57a963[_0x21fa21(0x3e4)]=_0x21fa21(0x3e4),_0x57a963['CLOSE_ROOM']=_0x21fa21(0x188),_0x57a963[_0x21fa21(0x218)]='JOIN_ROOM_FAILED',_0x57a963[_0x21fa21(0x2f8)]=_0x21fa21(0x2f8),_0x57a963[_0x21fa21(0x18d)]='SOCKET_FAILED',_0x57a963[_0x21fa21(0x2ff)]=_0x21fa21(0x2ff),_0x57a963))(re||{});class pe{constructor(){var _0x3792f3=_0x21fa21;N(this,_0x3792f3(0x1c4),new _0x1db3bf()),N(this,'event$',this[_0x3792f3(0x1c4)][_0x3792f3(0x27d)]());}[_0x21fa21(0x374)](_0xa82f6c){var _0x307a60=_0x21fa21;this[_0x307a60(0x1c4)][_0x307a60(0x40a)](_0xa82f6c);}}const Pn=_0x1c57ef(_0x21fa21(0x1b0));function Ln(_0x4bacb1){var _0x21d63c=_0x21fa21,_0x1d5474,_0xef5d61,_0x295a6e,_0x28a9f1,_0x268fc6;const _0x5e8007=_0x4bacb1[_0x21d63c(0x1de)],_0x1deffb=JSON[_0x21d63c(0x27e)](_0x5e8007);switch(_0x1deffb[_0x21d63c(0x161)]){case F[_0x21d63c(0x235)]:case F[_0x21d63c(0x37a)]:{const _0x118275=_0x1deffb[_0x21d63c(0x158)];return{..._0x1deffb,'data':_0x118275,'cmd':_0x1deffb[_0x21d63c(0x161)]};}case F['JOIN']:{const _0x4225e4=_0x1deffb[_0x21d63c(0x1a7)];return{..._0x1deffb,'data':_0x4225e4,'cmd':_0x1deffb[_0x21d63c(0x161)]};}case F['RECV']:{const _0x264487=_0x1deffb['collaMsg'];switch(_0x264487['eventID']){case _0xea38b9['PERMISSION_REJ']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x1d5474=_0x264487[_0x21d63c(0x2a6)])==null?void 0x0:_0x1d5474['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x171)]:return{..._0x1deffb,'data':{..._0x264487,'data':(_0xef5d61=_0x264487['csAckEvent'])==null?void 0x0:_0xef5d61['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['NEW_CHANGESETS']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x295a6e=_0x264487[_0x21d63c(0x342)])==null?void 0x0:_0x295a6e['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['CHANGESET_REJ']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x28a9f1=_0x264487['csRejEvent'])==null?void 0x0:_0x28a9f1['cs']},'cmd':_0x1deffb['cmd']};case _0xea38b9['CHANGESET_SHOULD_RETRY']:return{..._0x1deffb,'data':{..._0x264487,'data':(_0x268fc6=_0x264487['csShouldRetryEvent'])==null?void 0x0:_0x268fc6['cs']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x2f7)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x426)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['USERS_ENTER']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487['joinEvent']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x3c6)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487['leaveEvent']},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x3af)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x177)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['LIVESHARE_FETCH_OPERATIONS']:case _0xea38b9[_0x21d63c(0x42a)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x274)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['LIVESHARE_TERMINATE']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x177)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['MSG_FOR_ERROR']:return{..._0x1deffb,'data':_0x264487,'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['COMMENT_UPDATE']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x16a)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9[_0x21d63c(0x13a)]:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x2f9)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};case _0xea38b9['SHOULD_CLOSE_CONN']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x267)]},'cmd':_0x1deffb['cmd']};case _0xea38b9['UNISCRIPT_RUN']:return{..._0x1deffb,'data':{..._0x264487,'data':_0x264487[_0x21d63c(0x2e1)]},'cmd':_0x1deffb[_0x21d63c(0x161)]};default:return _0x1deffb;}}default:return _0x1deffb;}}function Mn(_0x112fe9){var _0x40c3d4=_0x21fa21;switch(_0x112fe9[_0x40c3d4(0x161)]){case F[_0x40c3d4(0x235)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x112fe9[_0x40c3d4(0x161)],'routeKey':_0x112fe9[_0x40c3d4(0x1f2)]});case F[_0x40c3d4(0x2c8)]:{let _0x45477b;switch(_0x112fe9[_0x40c3d4(0x1de)]['eventID']){case _0xea38b9[_0x40c3d4(0x2f7)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x2f7)],'updateCursorEvent':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x3c6)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x3c6)],'leaveEvent':_0x112fe9['data']['data']};break;}case _0xea38b9[_0x40c3d4(0x1e6)]:{_0x45477b={'eventID':_0xea38b9['USERS_ENTER'],'joinEvent':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9['LIVESHARE_NEW_HOST']:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x3af)],'liveShareNewHost':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x42a)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x42a)],'liveShareOperation':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x36a)]:{_0x45477b={'eventID':_0xea38b9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x112fe9['data'][_0x40c3d4(0x1de)]};break;}case _0xea38b9['LIVESHARE_REQUEST_HOST']:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x25b)],'liveShareRequestHost':_0x112fe9[_0x40c3d4(0x1de)][_0x40c3d4(0x1de)]};break;}case _0xea38b9[_0x40c3d4(0x340)]:{_0x45477b={'eventID':_0xea38b9[_0x40c3d4(0x340)]};break;}default:_0x45477b={'eventID':_0x112fe9['data'][_0x40c3d4(0x180)]};}return JSON[_0x40c3d4(0x306)]({'cmd':_0x112fe9[_0x40c3d4(0x161)],'routeKey':_0x112fe9['routeKey'],'collaMsg':_0x45477b});}case F[_0x40c3d4(0x1ad)]:return JSON[_0x40c3d4(0x306)]({'cmd':_0x112fe9[_0x40c3d4(0x161)],'routeKey':_0x112fe9[_0x40c3d4(0x1f2)],'joinReq':_0x112fe9['data']});case F[_0x40c3d4(0x289)]:return JSON[_0x40c3d4(0x306)]({'cmd':_0x112fe9['cmd'],'routeKey':_0x112fe9[_0x40c3d4(0x1f2)],'leaveReq':_0x112fe9[_0x40c3d4(0x1de)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var xn=Object[_0x21fa21(0x16f)],kn=(_0xdbc48,_0x5bd1c0,_0x51346f,_0x544307)=>{for(var _0x3ae8d0=_0x544307>0x1?void 0x0:_0x544307?xn(_0x5bd1c0,_0x51346f):_0x5bd1c0,_0x492580=_0xdbc48['length']-0x1,_0x29caa4;_0x492580>=0x0;_0x492580--)(_0x29caa4=_0xdbc48[_0x492580])&&(_0x3ae8d0=_0x29caa4(_0x3ae8d0)||_0x3ae8d0);return _0x3ae8d0;},Ae=(_0x463d8f,_0x4c0350)=>(_0x53893b,_0x32e91c)=>_0x4c0350(_0x53893b,_0x32e91c,_0x463d8f);const Ii=_0x1c57ef('univer-pro.collaboration-client-socket-service');function $n(_0x49c5c4,_0x278fd6,_0x3cadca){var _0x489e0e=_0x21fa21;return _0x49c5c4+'/'+_0x278fd6+_0x489e0e(0x239)+_0x3cadca+_0x489e0e(0x3db);}let Gt=class extends _0x23b53b{constructor(_0x1a640e,_0x4ba8e3,_0x231ce9,_0x329d35,_0x17fc48){var _0x1022ff=_0x21fa21;super(),this['_injector']=_0x1a640e,this[_0x1022ff(0x32a)]=_0x4ba8e3,this[_0x1022ff(0x1a6)]=_0x231ce9,this[_0x1022ff(0x233)]=_0x329d35,this[_0x1022ff(0x1ee)]=_0x17fc48;}['_doCreateSocket'](_0x5a9a0d){var _0x133456=_0x21fa21;const _0x1b7d83=this[_0x133456(0x1f8)][_0x133456(0x3f7)](_0x5845ad);if(!_0x1b7d83)throw new Error(_0x133456(0x26c));const _0xacea9c=_0x1b7d83[_0x133456(0x3df)](_0x5a9a0d);if(!_0xacea9c)throw new Error(_0x133456(0x3b6));const _0x15b89d=new _0x24524a(),_0x2ebda=new _0x1db3bf();_0x15b89d[_0x133456(0x307)](_0xacea9c[_0x133456(0x15f)][_0x133456(0x223)](_0x2b3a94=>_0x2ebda['next'](_0x2b3a94))),_0x15b89d['add'](_0x570176(()=>_0x2ebda[_0x133456(0x31d)]()));const _0x24b3e7=new _0x1db3bf();_0x15b89d[_0x133456(0x307)](_0xacea9c['error$'][_0x133456(0x223)](_0x1a2e24=>_0x24b3e7[_0x133456(0x40a)](_0x1a2e24))),_0x15b89d[_0x133456(0x307)](_0x570176(()=>_0x24b3e7[_0x133456(0x31d)]()));const _0x6be45e=new _0x1db3bf();_0x15b89d[_0x133456(0x307)](_0xacea9c[_0x133456(0x236)][_0x133456(0x223)](_0x3211a4=>{var _0x2c2ddf=_0x133456;const _0x3db25f=Ln(_0x3211a4);_0x6be45e[_0x2c2ddf(0x40a)](_0x3db25f);})),_0x15b89d[_0x133456(0x307)](_0x570176(()=>_0x6be45e[_0x133456(0x31d)]()));let _0x3c28a6;const _0x43d315=()=>{var _0x3f9c44=_0x133456;_0x24b3e7[_0x3f9c44(0x40a)](new Event(_0x3f9c44(0x18b))),_0x2ebda[_0x3f9c44(0x40a)](new Event('connection\x20error')),_0x3c28a6['close']();};return _0x3c28a6={'memberID':'','close$':_0x2ebda[_0x133456(0x27d)](),'error$':_0x24b3e7[_0x133456(0x27d)](),'open$':_0xacea9c[_0x133456(0x195)],'message$':_0x6be45e[_0x133456(0x27d)](),'send':_0x323225=>{var _0x5c9cb6=_0x133456;if(_0x323225[_0x5c9cb6(0x161)]===F[_0x5c9cb6(0x2c8)]){if(_0x323225[_0x5c9cb6(0x1de)][_0x5c9cb6(0x180)]===_0xea38b9[_0x5c9cb6(0x198)]){this[_0x5c9cb6(0x2dc)](_0x3c28a6,_0x323225[_0x5c9cb6(0x1de)])[_0x5c9cb6(0x391)](_0x402eae=>{var _0x16488e=_0x5c9cb6;this['_logService'][_0x16488e(0x1e9)](_0x402eae),_0x43d315();});return;}if(_0x323225['data'][_0x5c9cb6(0x180)]===_0xea38b9[_0x5c9cb6(0x2b2)]){const _0x4237d6=_0x323225['data'];this[_0x5c9cb6(0x210)](_0x4237d6)[_0x5c9cb6(0x1aa)](_0x4c1208=>{var _0x5c6200=_0x5c9cb6;_0x6be45e['next']({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x4237d6[_0x5c6200(0x1de)][_0x5c6200(0x1ef)],'routeType':'','data':{'eventID':_0xea38b9[_0x5c6200(0x150)],'data':{'changesets':_0x4c1208}}});})[_0x5c9cb6(0x391)](_0x130721=>{var _0x501fc7=_0x5c9cb6;this['_logService'][_0x501fc7(0x1e9)](_0x130721),_0x43d315();});return;}}_0xacea9c[_0x5c9cb6(0x1d3)](Mn(_0x323225));},'close':()=>{var _0x4249b2=_0x133456;_0xacea9c[_0x4249b2(0x34d)](),_0x15b89d[_0x4249b2(0x297)]();}},_0x3c28a6;}async[_0x21fa21(0x2dc)](_0x359344,_0x261761){var _0x36f487=_0x21fa21,_0x51eaf9,_0x1289eb;const {unitType:_0x3d66e1,unitID:_0x4604c2,changeset:_0x4e8ad2}=_0x261761[_0x36f487(0x1de)],_0x5e2c78={'unitID':_0x4604c2,'memberID':_0x359344['memberID'],'type':_0x3d66e1,'changeset':_0xd1ca6c(_0x4e8ad2)},_0x5a5270=this[_0x36f487(0x1a6)]['getConfig'](Nn),_0x1d8f6b=this[_0x36f487(0x1a6)][_0x36f487(0x417)](q),_0x391883=$n((_0x1289eb=(_0x51eaf9=_0x1d8f6b==null?void 0x0:_0x1d8f6b[_0x36f487(0x355)])!=null?_0x51eaf9:_0x5a5270)!=null?_0x1289eb:Dn,_0x3d66e1,_0x4604c2);try{await this[_0x36f487(0x32a)]['post'](_0x391883,{'body':_0x5e2c78});}catch(_0x3f0b3a){throw this[_0x36f487(0x233)]['error']('[CollaborationSession]',_0x36f487(0x316)),_0x3f0b3a;}}async['_fetchMissChangesets'](_0x15a50c){var _0x296a7a=_0x21fa21;const {unitID:_0x40a97f,from:_0x13bd8c,to:_0x5802c5,unitType:_0x1989b9}=_0x15a50c[_0x296a7a(0x1de)];return(await this[_0x296a7a(0x1ee)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x40a97f,'type':_0x1989b9,'from':_0x13bd8c,'to':_0x5802c5}))['changesets'];}};Gt=kn([Ae(0x0,_0x19c414(_0x50fda6)),Ae(0x1,_0x19c414(_0xf7c598)),Ae(0x2,_0x51423a),Ae(0x3,_0x459fda),Ae(0x4,_0x468c9b)],Gt);const Hn=_0x21fa21(0x163);function Bn(_0x52e002){var _0x5329f5=_0x21fa21;return JSON[_0x5329f5(0x306)](_0x52e002)[_0x5329f5(0x286)];}class Ti{constructor(){var _0x38f497=_0x21fa21;N(this,_0x38f497(0x42c),new _0x1db3bf()),N(this,'commentUpdate$',this[_0x38f497(0x42c)][_0x38f497(0x27d)]());}[_0x21fa21(0x3d8)](_0x21cdfb){var _0x1bf0f3=_0x21fa21;this[_0x1bf0f3(0x42c)]['next'](_0x21cdfb);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3bf994,_0x4a8e4c,_0xfd1021,_0x42b70a)=>{var _0x1d0c94=_0x21fa21;for(var _0x113c02=_0x42b70a>0x1?void 0x0:_0x42b70a?jn(_0x4a8e4c,_0xfd1021):_0x4a8e4c,_0x283f1f=_0x3bf994[_0x1d0c94(0x286)]-0x1,_0x165d7f;_0x283f1f>=0x0;_0x283f1f--)(_0x165d7f=_0x3bf994[_0x283f1f])&&(_0x113c02=_0x165d7f(_0x113c02)||_0x113c02);return _0x113c02;},Wt=(_0x468a4f,_0x6da267)=>(_0x117265,_0x16dfdb)=>_0x6da267(_0x117265,_0x16dfdb,_0x468a4f);let Le=class extends _0x23b53b{constructor(_0x379119,_0x517e1e){var _0x51e23f=_0x21fa21;super(),N(this,_0x51e23f(0x3cf),new Map()),N(this,_0x51e23f(0x24b),new _0x1db3bf()),(this[_0x51e23f(0x282)]=_0x379119,this['_userManagerService']=_0x517e1e,this['disposeWithMe'](_0x3b99f9(this[_0x51e23f(0x282)][_0x51e23f(0x39b)](_0x57bf09[_0x51e23f(0x19a)])['pipe'](_0x7fca1a(_0x3a5526=>_0x3a5526[_0x51e23f(0x1df)]())),this[_0x51e23f(0x282)][_0x51e23f(0x39b)](_0x57bf09['UNIVER_DOC'])[_0x51e23f(0x1be)](_0x7fca1a(_0x446ce5=>_0x446ce5[_0x51e23f(0x1df)]())),this[_0x51e23f(0x282)][_0x51e23f(0x39b)](_0x57bf09['UNIVER_SLIDE'])[_0x51e23f(0x1be)](_0x7fca1a(_0x1561b3=>_0x1561b3[_0x51e23f(0x1df)]())))[_0x51e23f(0x223)](_0x37dfd1=>this[_0x51e23f(0x23b)](_0x37dfd1))));}[_0x21fa21(0x15b)](_0x48bc34){var _0x43329e=_0x21fa21;return this[_0x43329e(0x3cf)][_0x43329e(0x212)](_0x48bc34)?_0x169840(this[_0x43329e(0x3cf)][_0x43329e(0x3f7)](_0x48bc34)):this[_0x43329e(0x24b)]['pipe'](_0x7fca1a(_0x4b2d39=>{var _0x5e9eb1=_0x43329e;if(_0x4b2d39===_0x48bc34)return this['_roomMembers'][_0x5e9eb1(0x3f7)](_0x4b2d39);}));}['setCurrentUser'](_0x4e6622){this['_userManagerService']['setCurrentUser'](_0x4e6622);}[_0x21fa21(0x1ca)](){var _0x442ba0=_0x21fa21;return this[_0x442ba0(0x141)]['getCurrentUser']();}[_0x21fa21(0x193)](_0x2bd4d1,_0x1eb86e){var _0x40b89c=_0x21fa21;let _0x53b004=this['_roomMembers']['get'](_0x2bd4d1);_0x53b004||(_0x53b004=new Vn(),this['_roomMembers'][_0x40b89c(0x3c1)](_0x2bd4d1,_0x53b004),this[_0x40b89c(0x24b)]['next'](_0x2bd4d1)),_0x53b004['updateMember'](_0x1eb86e);}[_0x21fa21(0x3ef)](_0x3bd1ab,_0x4b82db){var _0x22a03f=_0x21fa21;const _0x3f2f2a=this['_roomMembers'][_0x22a03f(0x3f7)](_0x3bd1ab);_0x3f2f2a&&_0x3f2f2a[_0x22a03f(0x3ef)](_0x4b82db);}[_0x21fa21(0x207)](_0x1508f1){var _0x49a3a7=_0x21fa21;return this['_roomMembers'][_0x49a3a7(0x3f7)](_0x1508f1);}[_0x21fa21(0x32d)](_0x4a682b,_0x125aaa){var _0x47e294=_0x21fa21;const _0x517c47=this['_roomMembers'][_0x47e294(0x3f7)](_0x4a682b);if(_0x517c47)return _0x517c47['getMember'](_0x125aaa);}[_0x21fa21(0x23b)](_0x10bd0a){var _0x5ab848=_0x21fa21;const _0x3d09aa=this[_0x5ab848(0x3cf)]['get'](_0x10bd0a);_0x3d09aa&&(_0x3d09aa[_0x5ab848(0x297)](),this[_0x5ab848(0x3cf)]['delete'](_0x10bd0a));}[_0x21fa21(0x297)](){var _0xfa1333=_0x21fa21;this[_0xfa1333(0x3cf)][_0xfa1333(0x189)](_0x1f749a=>_0x1f749a[_0xfa1333(0x297)]()),this['_roomMembers']['clear'](),this['_roomCreated$'][_0xfa1333(0x31d)]();}};Le=Fn([Wt(0x0,_0x11d3ee),Wt(0x1,_0x19c414(_0xb72226))],Le);class Vn extends _0x23b53b{constructor(){var _0x4fb672=_0x21fa21;super(...arguments),N(this,_0x4fb672(0x1b4),new Map()),N(this,_0x4fb672(0x399),new _0x214797(this['_members'])),N(this,'members$',this[_0x4fb672(0x399)][_0x4fb672(0x27d)]());}[_0x21fa21(0x297)](){var _0x15a828=_0x21fa21;this[_0x15a828(0x1b4)][_0x15a828(0x19c)]();}[_0x21fa21(0x193)](_0x4cbffa){var _0x22c745=_0x21fa21;this[_0x22c745(0x1b4)]['set'](_0x4cbffa[_0x22c745(0x1e8)],_0x4cbffa),this[_0x22c745(0x39e)]();}[_0x21fa21(0x3ef)](_0x16b274){var _0x2305e3=_0x21fa21;this[_0x2305e3(0x1b4)][_0x2305e3(0x29e)](_0x16b274);}[_0x21fa21(0x32d)](_0x7bc54a){var _0x165317=_0x21fa21;return this[_0x165317(0x1b4)][_0x165317(0x3f7)](_0x7bc54a);}[_0x21fa21(0x343)](){var _0x495ba1=_0x21fa21;return Array[_0x495ba1(0x25c)](this[_0x495ba1(0x1b4)][_0x495ba1(0x2dd)]());}[_0x21fa21(0x39e)](){var _0x4e2b3f=_0x21fa21;this[_0x4e2b3f(0x399)][_0x4e2b3f(0x40a)](this['_members']);}}var Gn=Object[_0x21fa21(0x16f)],Wn=(_0x2131a3,_0x3a097e,_0x1beb51,_0x8c6b3a)=>{var _0x1cab7b=_0x21fa21;for(var _0xea734b=_0x8c6b3a>0x1?void 0x0:_0x8c6b3a?Gn(_0x3a097e,_0x1beb51):_0x3a097e,_0x47304c=_0x2131a3[_0x1cab7b(0x286)]-0x1,_0x27bf79;_0x47304c>=0x0;_0x47304c--)(_0x27bf79=_0x2131a3[_0x47304c])&&(_0xea734b=_0x27bf79(_0xea734b)||_0xea734b);return _0xea734b;},me=(_0x5b96bd,_0x446de7)=>(_0x1d17ae,_0x5d92b5)=>_0x446de7(_0x1d17ae,_0x5d92b5,_0x5b96bd),Ee=(_0x4316ad=>(_0x4316ad[_0x4316ad[_0x21fa21(0x14a)]=0x0]=_0x21fa21(0x14a),_0x4316ad[_0x4316ad['JOINING']=0x1]=_0x21fa21(0x183),_0x4316ad[_0x4316ad[_0x21fa21(0x1fb)]=0x2]='OFFLINE',_0x4316ad[_0x4316ad[_0x21fa21(0x3f4)]=0x3]=_0x21fa21(0x3f4),_0x4316ad))(Ee||{});const Yt={[ge[_0x21fa21(0x222)]]:'session.join-failed',[ge[_0x21fa21(0x363)]]:_0x21fa21(0x1d5),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x21fa21(0x357),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x21fa21(0x3b7),[ge[_0x21fa21(0x345)]]:'session.room-cnt-exceeds'};let Et=class extends _0x37cb10{constructor(_0x29965b,_0x9fd59f,_0x2f933e,_0x2eafec,_0x1bfe6e,_0x12c6e6,_0x1cc9cc,_0x31608e,_0x4caa26){var _0x4a56f2=_0x21fa21;super(),N(this,'_sessionStatus$',new _0x214797(0x0)),N(this,_0x4a56f2(0x386),this[_0x4a56f2(0x411)]['asObservable']()),N(this,'_event$',new _0x1db3bf()),N(this,_0x4a56f2(0x143),this[_0x4a56f2(0x1c4)]['asObservable']()),N(this,_0x4a56f2(0x295)),N(this,_0x4a56f2(0x428)),N(this,_0x4a56f2(0x2d7)),N(this,_0x4a56f2(0x38c),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x29965b,this[_0x4a56f2(0x233)]=_0x2f933e,this[_0x4a56f2(0x1a6)]=_0x2eafec,this[_0x4a56f2(0x164)]=_0x1bfe6e,this[_0x4a56f2(0x252)]=_0x12c6e6,this[_0x4a56f2(0x1b9)]=_0x1cc9cc,this['_collaborationUIEventService']=_0x31608e,this[_0x4a56f2(0x3d0)]=_0x4caa26,this[_0x4a56f2(0x38c)]=!!this[_0x4a56f2(0x3d0)],_0x9fd59f['pipe'](_0x5e89af(this[_0x4a56f2(0x186)]))[_0x4a56f2(0x223)](_0x52fcab=>{var _0x12ae66=_0x4a56f2,_0x11aa74;typeof _0x52fcab>'u'||(this[_0x12ae66(0x295)]=_0x52fcab,_0x52fcab?(this[_0x12ae66(0x3de)](_0x52fcab),this['_socketMessageSubscription']=_0x52fcab[_0x12ae66(0x236)][_0x12ae66(0x223)](_0x336d4f=>{var _0x199ba5=_0x12ae66;_0x336d4f['routeKey']===this[_0x199ba5(0x264)]&&this[_0x199ba5(0x35c)](_0x336d4f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x12ae66(0x411)][_0x12ae66(0x40a)](0x2),(_0x11aa74=this[_0x12ae66(0x428)])==null||_0x11aa74['unsubscribe'](),this[_0x12ae66(0x428)]=null));}));}get[_0x21fa21(0x22b)](){var _0x4c1c07=_0x21fa21;return this[_0x4c1c07(0x411)][_0x4c1c07(0x200)]();}[_0x21fa21(0x348)](){var _0x3699c0=_0x21fa21,_0x52ff0e,_0x825db9;return(_0x825db9=(_0x52ff0e=this[_0x3699c0(0x295)])==null?void 0x0:_0x52ff0e['memberID'])!=null?_0x825db9:null;}[_0x21fa21(0x297)](){var _0x412961=_0x21fa21;super[_0x412961(0x297)](),this['dispose$']['next'](),this[_0x412961(0x186)][_0x412961(0x31d)]();}[_0x21fa21(0x34d)](){var _0x980112=_0x21fa21,_0x5a1edb,_0x46c92a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5a1edb=this[_0x980112(0x295)])==null||_0x5a1edb[_0x980112(0x1d3)]({'cmd':F[_0x980112(0x289)],'data':{'roomID':this['_unitID']}}),(_0x46c92a=this[_0x980112(0x295)])==null||_0x46c92a['close'](),this['_event$'][_0x980112(0x31d)](),this[_0x980112(0x411)]['complete'](),this[_0x980112(0x297)]();}[_0x21fa21(0x35c)](_0x8ffe0f){var _0x83ce4d=_0x21fa21;_0x8ffe0f[_0x83ce4d(0x161)]===F[_0x83ce4d(0x1ad)]?this[_0x83ce4d(0x30a)](_0x8ffe0f):_0x8ffe0f[_0x83ce4d(0x161)]===F[_0x83ce4d(0x350)]&&this['_onRecvEvent'](_0x8ffe0f);}[_0x21fa21(0x3de)](_0x441b91){var _0x937df1=_0x21fa21;this['_sessionStatus$'][_0x937df1(0x40a)](0x1),_0x441b91[_0x937df1(0x1d3)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x937df1(0x264)]}]}});}[_0x21fa21(0x30a)](_0x5e44c6){var _0x5e14a8=_0x21fa21,_0x1e9dfc;if(_0x5e44c6[_0x5e14a8(0x176)]in Yt){this[_0x5e14a8(0x41a)][_0x5e14a8(0x374)]({'id':re[_0x5e14a8(0x218)],'data':Yt[_0x5e44c6['code']]}),this[_0x5e14a8(0x411)][_0x5e14a8(0x40a)](0x2);return;}this['_sessionStatus$'][_0x5e14a8(0x40a)](0x3);const _0x31be05=(_0x1e9dfc=_0x5e44c6['data'][_0x5e14a8(0x217)][this['_unitID']])==null?void 0x0:_0x1e9dfc[_0x5e14a8(0x256)];_0x31be05&&_0x31be05[_0x5e14a8(0x189)](_0x5a9115=>this['_memberService']['updateMember'](this[_0x5e14a8(0x264)],_0x5a9115));}[_0x21fa21(0x15c)](_0x4645ba){var _0x2a50de=_0x21fa21;try{const _0x1dd4c3=_0x4645ba[_0x2a50de(0x1de)];switch(_0x1dd4c3['eventID']){case _0xea38b9['USERS_ENTER']:this['_onUserJoin'](_0x1dd4c3),this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);break;case _0xea38b9[_0x2a50de(0x3c6)]:this['_onUserLeave'](_0x1dd4c3),this[_0x2a50de(0x1c4)]['next'](_0x1dd4c3);break;case _0xea38b9[_0x2a50de(0x171)]:case _0xea38b9[_0x2a50de(0x237)]:this[_0x2a50de(0x2f5)](),this[_0x2a50de(0x1c0)](),this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);break;case _0xea38b9['MSG_FOR_ERROR']:this[_0x2a50de(0x233)][_0x2a50de(0x1e9)](_0x2a50de(0x3d2)+JSON['stringify'](_0x1dd4c3)),this['_event$'][_0x2a50de(0x40a)](_0x1dd4c3);break;case _0xea38b9[_0x2a50de(0x251)]:this[_0x2a50de(0x1b9)][_0x2a50de(0x3d8)](_0x1dd4c3['data']),this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);break;default:this[_0x2a50de(0x1c4)][_0x2a50de(0x40a)](_0x1dd4c3);}}catch(_0x9d754a){this[_0x2a50de(0x233)][_0x2a50de(0x1e9)](_0x9d754a,_0x4645ba);}}['_onUserJoin'](_0x2ea8e9){var _0x31207d=_0x21fa21;this[_0x31207d(0x252)][_0x31207d(0x193)](this['_unitID'],_0x2ea8e9[_0x31207d(0x1de)]);}[_0x21fa21(0x17b)](_0x1adaca){var _0x45bb40=_0x21fa21;this[_0x45bb40(0x252)]['removeMember'](this['_unitID'],_0x1adaca[_0x45bb40(0x1de)][_0x45bb40(0x1e8)]);}async[_0x21fa21(0x1d3)](_0x5231a0,_0x4c067c){var _0xdc0ce9=_0x21fa21;if(this['sessionStatus']!==0x3||!this[_0xdc0ce9(0x295)])throw new Error(_0xdc0ce9(0x416));try{_0x5231a0[_0xdc0ce9(0x180)]===_0xea38b9['SUBMIT_CHANGESET']&&(this[_0xdc0ce9(0x24d)](),this[_0xdc0ce9(0x179)](_0x5231a0)),this[_0xdc0ce9(0x295)][_0xdc0ce9(0x1d3)]({'cmd':F[_0xdc0ce9(0x2c8)],'routeKey':_0x4c067c,'routeType':'','data':_0x5231a0});}catch(_0x460fab){this[_0xdc0ce9(0x233)]['error'](_0x460fab);}}[_0x21fa21(0x24d)](){var _0x3b1a3e=_0x21fa21,_0x56ec97;this[_0x3b1a3e(0x2d7)]=setTimeout(()=>{var _0x48d5c2=_0x3b1a3e;this['_collaborationTimeoutTimer']=null,this[_0x48d5c2(0x41a)][_0x48d5c2(0x374)]({'id':re[_0x48d5c2(0x2ff)]});},(_0x56ec97=this[_0x3b1a3e(0x1a6)][_0x3b1a3e(0x417)](mi))!=null?_0x56ec97:gi);}[_0x21fa21(0x1c0)](){var _0x522f90=_0x21fa21;this[_0x522f90(0x2d7)]&&(clearTimeout(this[_0x522f90(0x2d7)]),this[_0x522f90(0x2d7)]=null);}[_0x21fa21(0x179)](_0x53f86e){var _0x5b0d9a=_0x21fa21;if(!this[_0x5b0d9a(0x38c)])return;const {data:_0x44e803}=_0x53f86e,{unitID:_0x25cf66,changeset:_0x920913}=_0x44e803,{mutations:_0xf752aa,type:_0x4967dc}=_0x920913;this[_0x5b0d9a(0x320)]={'unitId':_0x25cf66,'type':_0x4967dc,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0xf752aa)};}[_0x21fa21(0x2f5)](){var _0x4c9ef3=_0x21fa21;if(this[_0x4c9ef3(0x38c)]){if(!this[_0x4c9ef3(0x320)]){this['_logService']['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4c9ef3(0x320)][_0x4c9ef3(0x396)]=performance['now'](),this['_telemetryInfo'][_0x4c9ef3(0x19f)]=this[_0x4c9ef3(0x320)]['stopTime']-this[_0x4c9ef3(0x320)]['startTime'],this[_0x4c9ef3(0x3d0)][_0x4c9ef3(0x15e)](Hn,this[_0x4c9ef3(0x320)]),this[_0x4c9ef3(0x320)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x459fda),me(0x3,_0x51423a),me(0x4,_0x19c414(_0x4ac43d)),me(0x5,_0x19c414(Le)),me(0x6,_0x19c414(Ti)),me(0x7,_0x19c414(pe)),me(0x8,_0x548a6f(_0x35693f))],Et);var Yn=Object[_0x21fa21(0x16f)],Kn=(_0x53ff6b,_0x3ff631,_0x3463dd,_0x3df8fc)=>{var _0x4521ea=_0x21fa21;for(var _0x3b8829=_0x3df8fc>0x1?void 0x0:_0x3df8fc?Yn(_0x3ff631,_0x3463dd):_0x3ff631,_0x3e5434=_0x53ff6b[_0x4521ea(0x286)]-0x1,_0x47d55c;_0x3e5434>=0x0;_0x3e5434--)(_0x47d55c=_0x53ff6b[_0x3e5434])&&(_0x3b8829=_0x47d55c(_0x3b8829)||_0x3b8829);return _0x3b8829;},be=(_0x19c9cd,_0x28e4c3)=>(_0x2717c2,_0x3944e6)=>_0x28e4c3(_0x2717c2,_0x3944e6,_0x19c9cd);let Me=class extends _0x23b53b{constructor(_0x57f3a2,_0x4d6e24,_0x360733,_0x20c5aa,_0x2678d9,_0x1cd4be){var _0x2e8d7f=_0x21fa21;super(),N(this,'_socket$',new _0x214797(void 0x0)),N(this,'socket$',this[_0x2e8d7f(0x14e)]['asObservable']()),N(this,'_candidateSocket',null),N(this,_0x2e8d7f(0x31b),new Map()),N(this,'_status$',new _0x214797(Ee['IDLE'])),N(this,'status$',this['_status$'][_0x2e8d7f(0x27d)]()),N(this,_0x2e8d7f(0x1d7),!0x1),N(this,_0x2e8d7f(0x22e)),N(this,_0x2e8d7f(0x26f),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x2e8d7f(0x1f7)),(this['_injector']=_0x57f3a2,this[_0x2e8d7f(0x233)]=_0x4d6e24,this['_configService']=_0x360733,this[_0x2e8d7f(0x156)]=_0x20c5aa,this[_0x2e8d7f(0x41a)]=_0x2678d9,this[_0x2e8d7f(0x3f1)]=_0x1cd4be,this['_listenToNetworkCondition']());}get[_0x21fa21(0x295)](){var _0x4dfa3e=_0x21fa21;return this[_0x4dfa3e(0x14e)][_0x4dfa3e(0x200)]();}[_0x21fa21(0x3b9)](){var _0x63d1e5=_0x21fa21;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x63d1e5(0x34f)][_0x63d1e5(0x223)](_0x2e4095=>{var _0x195471=_0x63d1e5;_0x2e4095&&!this[_0x195471(0x295)]&&this['reconnect'](),_0x2e4095||this['_onOffline']();}));}[_0x21fa21(0x297)](){var _0x45f2f0=_0x21fa21;super[_0x45f2f0(0x297)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x45f2f0(0x189)](_0x2c8df2=>_0x2c8df2[_0x45f2f0(0x297)]()),this[_0x45f2f0(0x31b)][_0x45f2f0(0x19c)](),this[_0x45f2f0(0x39f)][_0x45f2f0(0x31d)]();}async['requireSession'](_0x4b927e){var _0x593d52=_0x21fa21;if(this[_0x593d52(0x31b)][_0x593d52(0x212)](_0x4b927e))return this[_0x593d52(0x31b)][_0x593d52(0x3f7)](_0x4b927e);this[_0x593d52(0x356)]();const _0x5b2ffa=this[_0x593d52(0x1f8)]['createInstance'](Et,_0x4b927e,this[_0x593d52(0x14e)][_0x593d52(0x27d)]());return this['_sessions']['set'](_0x4b927e,_0x5b2ffa),_0x5b2ffa;}['closeSession'](_0x3bb1b0){var _0x10e31d=_0x21fa21,_0xfd9e8c;const _0x3c75db=this[_0x10e31d(0x31b)][_0x10e31d(0x3f7)](_0x3bb1b0);_0x3c75db&&(this['_sessions'][_0x10e31d(0x29e)](_0x3bb1b0),_0x3c75db[_0x10e31d(0x34d)]()),this[_0x10e31d(0x31b)][_0x10e31d(0x24e)]||(_0xfd9e8c=this[_0x10e31d(0x295)])==null||_0xfd9e8c[_0x10e31d(0x34d)]();}[_0x21fa21(0x1d9)](){var _0x439960=_0x21fa21;this[_0x439960(0x26f)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x439960(0x38a)]();}[_0x21fa21(0x369)](){var _0x409a47=_0x21fa21;this[_0x409a47(0x22e)]!=null&&(clearTimeout(this[_0x409a47(0x22e)]),this[_0x409a47(0x22e)]=null);}async[_0x21fa21(0x266)](){var _0x156ffe=_0x21fa21,_0x16f614,_0x4b06af;const _0x2e15e3=this['_configService']['getConfig'](In),_0xd6e1d0=this['_configService']['getConfig'](q),_0x2636d5=(_0x4b06af=(_0x16f614=_0xd6e1d0==null?void 0x0:_0xd6e1d0[_0x156ffe(0x1ac)])!=null?_0x16f614:_0x2e15e3)!=null?_0x4b06af:Tn,_0x23f1ed=await this['_socketService']['createSocket'](_0x2636d5);return this[_0x156ffe(0x423)]=_0x23f1ed,_0x23f1ed;}async['_tryEnsureSocket'](){var _0x3f4976=_0x21fa21,_0x4b32fa,_0x31e704;try{const _0x4fc5ac=(_0x31e704=(_0x4b32fa=this[_0x3f4976(0x295)])!=null?_0x4b32fa:this[_0x3f4976(0x423)])!=null?_0x31e704:await this['_createSocket']();if(_0x4fc5ac){const _0x453bb6=_0x4fc5ac[_0x3f4976(0x1d3)];_0x4fc5ac[_0x3f4976(0x1d3)]=_0x416f5f=>(this[_0x3f4976(0x41b)](),_0x453bb6['apply'](_0x4fc5ac,[_0x416f5f])),_0x4fc5ac[_0x3f4976(0x236)]['subscribe'](_0x13d955=>this[_0x3f4976(0x3c8)](_0x4fc5ac,_0x13d955)),_0x4fc5ac['error$'][_0x3f4976(0x1be)](_0x24cadd(0x1))[_0x3f4976(0x223)](_0x8c1834=>this[_0x3f4976(0x233)][_0x3f4976(0x1e9)](_0x3f4976(0x2f4),_0x8c1834)),_0x4fc5ac[_0x3f4976(0x195)]['pipe'](_0x24cadd(0x1))[_0x3f4976(0x223)](()=>{var _0xbb332f=_0x3f4976;this[_0xbb332f(0x165)](_0x4fc5ac);}),_0x4fc5ac[_0x3f4976(0x15f)][_0x3f4976(0x1be)](_0x24cadd(0x1))[_0x3f4976(0x223)](_0x86110c=>{var _0x565d4d=_0x3f4976;this[_0x565d4d(0x233)][_0x565d4d(0x419)](_0x565d4d(0x3ca),_0x565d4d(0x362),_0x86110c),this[_0x565d4d(0x309)]();});}}catch(_0x578ac6){this[_0x3f4976(0x233)][_0x3f4976(0x1e9)](_0x578ac6),this[_0x3f4976(0x309)]();}}[_0x21fa21(0x165)](_0x43e063){var _0x58fd34=_0x21fa21;this[_0x58fd34(0x233)][_0x58fd34(0x419)](_0x58fd34(0x3ca),_0x58fd34(0x2b3)),_0x43e063[_0x58fd34(0x1d3)]({'cmd':F[_0x58fd34(0x37a)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x692235=_0x21fa21;this[_0x692235(0x1d7)]=!0x1,this[_0x692235(0x423)]=null,this[_0x692235(0x39f)][_0x692235(0x40a)](Ee[_0x692235(0x1fb)]),this['_socket$'][_0x692235(0x40a)](null),this[_0x692235(0x2f3)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x156f85=_0x21fa21,_0x3ee79a;this[_0x156f85(0x39a)](),this[_0x156f85(0x26f)]<((_0x3ee79a=this[_0x156f85(0x1a6)][_0x156f85(0x417)](On))!=null?_0x3ee79a:yn)?(this[_0x156f85(0x41a)][_0x156f85(0x374)]({'id':re[_0x156f85(0x2f8)]}),this[_0x156f85(0x38a)]()):this['_collaborationUIEventService'][_0x156f85(0x374)]({'id':re[_0x156f85(0x18d)]});}['_tryReconnect'](){var _0x329cb2=_0x21fa21,_0x47a04b;const _0x591885=this[_0x329cb2(0x26f)],_0xb91920=this['_configService'][_0x329cb2(0x417)](q),_0x368784=_0x591885===0x0?0x0:((_0x47a04b=_0xb91920==null?void 0x0:_0xb91920['retryConnectingInterval'])!=null?_0x47a04b:bn)*0x2**_0x591885;this[_0x329cb2(0x22e)]=setTimeout(()=>{var _0x6676e8=_0x329cb2;clearTimeout(this[_0x6676e8(0x22e)]),this[_0x6676e8(0x22e)]=null,this[_0x6676e8(0x356)]();},_0x368784),this[_0x329cb2(0x26f)]+=0x1;}[_0x21fa21(0x3c8)](_0x223351,_0x3fccc3){var _0x48fc1d=_0x21fa21;const {cmd:_0x44145b}=_0x3fccc3;_0x44145b===F[_0x48fc1d(0x37a)]&&!this['_socketReady']&&(_0x223351[_0x48fc1d(0x1e8)]=_0x3fccc3['data'][_0x48fc1d(0x1e8)],this[_0x48fc1d(0x14e)][_0x48fc1d(0x40a)](_0x223351),this['_status$'][_0x48fc1d(0x40a)](Ee['ONLINE']),this[_0x48fc1d(0x1d7)]=!0x0,this['_candidateSocket']=null),_0x44145b===F[_0x48fc1d(0x235)]&&this[_0x48fc1d(0x2f3)](),this[_0x48fc1d(0x41b)]();}[_0x21fa21(0x41b)](){var _0x250857=_0x21fa21,_0x25947a;this['_clearHeartbeatTimer'](),this[_0x250857(0x1ce)]=setTimeout(()=>this[_0x250857(0x14f)](),(_0x25947a=this[_0x250857(0x1a6)]['getConfig'](Cn))!=null?_0x25947a:Rn);}[_0x21fa21(0x14f)](){var _0x20f145=_0x21fa21;this[_0x20f145(0x295)][_0x20f145(0x1d3)]({'cmd':F[_0x20f145(0x235)]}),this[_0x20f145(0x331)]();}[_0x21fa21(0x331)](){var _0x5a0435=_0x21fa21,_0x7bce96;this[_0x5a0435(0x1f7)]=setTimeout(()=>this[_0x5a0435(0x309)](),(_0x7bce96=this[_0x5a0435(0x1a6)][_0x5a0435(0x417)](mi))!=null?_0x7bce96:gi);}[_0x21fa21(0x3e3)](){var _0x3b97c5=_0x21fa21;this[_0x3b97c5(0x1ce)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3b97c5(0x1ce)]=null);}[_0x21fa21(0x2f3)](){var _0x28d15b=_0x21fa21;this[_0x28d15b(0x1f7)]!=null&&(clearTimeout(this[_0x28d15b(0x1f7)]),this['_timeoutTimer']=null);}};Me=Kn([be(0x0,_0x19c414(_0x50fda6)),be(0x1,_0x459fda),be(0x2,_0x51423a),be(0x3,Ii),be(0x4,_0x19c414(pe)),be(0x5,_0x548a6f(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x21fa21(0x136)]((t+0x100)['toString'](0x10)[_0x21fa21(0x2bb)](0x1));function qn(_0x24deef,_0x51f90d=0x0){var _0x381620=_0x21fa21;return(V[_0x24deef[_0x51f90d+0x0]]+V[_0x24deef[_0x51f90d+0x1]]+V[_0x24deef[_0x51f90d+0x2]]+V[_0x24deef[_0x51f90d+0x3]]+'-'+V[_0x24deef[_0x51f90d+0x4]]+V[_0x24deef[_0x51f90d+0x5]]+'-'+V[_0x24deef[_0x51f90d+0x6]]+V[_0x24deef[_0x51f90d+0x7]]+'-'+V[_0x24deef[_0x51f90d+0x8]]+V[_0x24deef[_0x51f90d+0x9]]+'-'+V[_0x24deef[_0x51f90d+0xa]]+V[_0x24deef[_0x51f90d+0xb]]+V[_0x24deef[_0x51f90d+0xc]]+V[_0x24deef[_0x51f90d+0xd]]+V[_0x24deef[_0x51f90d+0xe]]+V[_0x24deef[_0x51f90d+0xf]])[_0x381620(0x17d)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x2a5652=_0x21fa21;if(!ut){if(typeof crypto>'u'||!crypto[_0x2a5652(0x41c)])throw new Error(_0x2a5652(0x332));ut=crypto[_0x2a5652(0x41c)][_0x2a5652(0x382)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x21fa21(0x315)]&&crypto[_0x21fa21(0x315)][_0x21fa21(0x382)](crypto),Kt={'randomUUID':Xn};function Zn(_0x35d187,_0x55beef,_0x1b3544){var _0x3f72d6=_0x21fa21,_0x39aa1d,_0x100f3e,_0x3180f3;if(Kt[_0x3f72d6(0x315)]&&!_0x35d187)return Kt[_0x3f72d6(0x315)]();_0x35d187=_0x35d187||{};const _0x2466b1=(_0x3180f3=(_0x100f3e=_0x35d187[_0x3f72d6(0x2be)])!=null?_0x100f3e:(_0x39aa1d=_0x35d187['rng'])==null?void 0x0:_0x39aa1d['call'](_0x35d187))!=null?_0x3180f3:Jn();if(_0x2466b1[_0x3f72d6(0x286)]<0x10)throw new Error(_0x3f72d6(0x202));return _0x2466b1[0x6]=_0x2466b1[0x6]&0xf|0x40,_0x2466b1[0x8]=_0x2466b1[0x8]&0x3f|0x80,qn(_0x2466b1);}const J=_0x1c57ef(_0x21fa21(0x18e));function Br(_0x3bc54c){var _0x5ed900=_0x21fa21;return _0x5ed900(0x2c1)+_0x3bc54c;}var Qn=Object[_0x21fa21(0x16f)],es=(_0x51da9d,_0x413d80,_0x35324b,_0x187809)=>{var _0x3c02d1=_0x21fa21;for(var _0x3748d5=_0x187809>0x1?void 0x0:_0x187809?Qn(_0x413d80,_0x35324b):_0x413d80,_0x500071=_0x51da9d[_0x3c02d1(0x286)]-0x1,_0x3c53fc;_0x500071>=0x0;_0x500071--)(_0x3c53fc=_0x51da9d[_0x500071])&&(_0x3748d5=_0x3c53fc(_0x3748d5)||_0x3748d5);return _0x3748d5;},dt=(_0x4e64bb,_0x1e755e)=>(_0x29d334,_0x51b058)=>_0x1e755e(_0x29d334,_0x51b058,_0x4e64bb);function ts(_0x24b6cc){const {unitID:_0x333567,mutations:_0x14c657}=_0x24b6cc;return{'unitId':_0x333567,'subUnitId':_0x14c657[0x0]['params']['subUnitId']};}let it=class{constructor(_0x3d099a,_0x230b4d,_0x298b70){var _0x545e6e=_0x21fa21;this['_injector']=_0x3d099a,this['_transformService']=_0x230b4d,this[_0x545e6e(0x337)]=_0x298b70;}[_0x21fa21(0x3bc)](_0x361870){var _0x36b605=_0x21fa21,_0x54330a,_0x491b62,_0x12ed9a,_0xaef35b;const _0x370c47=this[_0x36b605(0x1f8)][_0x36b605(0x3f7)](_0x1a7f47),{unitId:_0x37d63b,subUnitId:_0x5aa880}=ts(_0x361870),_0x355c9e=_0x370c47==null?void 0x0:_0x370c47['getWorkbookSelections'](_0x37d63b)[_0x36b605(0x383)](),_0x5cb4ca=(_0x491b62=(_0x54330a=this[_0x36b605(0x337)]['getUnit'](_0x37d63b))==null?void 0x0:_0x54330a[_0x36b605(0x1e3)]())==null?void 0x0:_0x491b62['getSheetId']();if(_0x355c9e[_0x36b605(0x286)]===0x0||!_0x37d63b||!_0x5aa880)return;const _0x3604ff=[{'id':_0x41c317['id'],'params':{'unitId':_0x37d63b,'subUnitId':_0x5cb4ca,'selections':_0x4da9f1[_0x36b605(0x1fe)](_0x355c9e)}}],_0x1284d2=this[_0x36b605(0x2d1)][_0x36b605(0x1ec)](_0x361870,_0x3604ff);if(!_0x16c2fd(_0x1284d2))throw _0x1284d2['error'];const _0x1b1605=(_0xaef35b=(_0x12ed9a=_0x1284d2[_0x36b605(0x23d)][0x0])==null?void 0x0:_0x12ed9a[_0x36b605(0x301)])==null?void 0x0:_0xaef35b[_0x36b605(0x1b3)];if(Array[_0x36b605(0x37c)](_0x1b1605)&&_0x1b1605[_0x36b605(0x286)]){if(_0x1b1605['length']===_0x3604ff[0x0][_0x36b605(0x301)]['selections']['length']&&_0x1b1605[_0x36b605(0x2a5)]((_0x4845c6,_0x1900b9)=>_0x188977[_0x36b605(0x395)](_0x4845c6['range'],_0x3604ff[0x0]['params'][_0x36b605(0x1b3)][_0x1900b9][_0x36b605(0x2af)])))return;this[_0x36b605(0x1f8)]['get'](_0x1ce977)[_0x36b605(0x149)](_0x41c317['id'],{'unitId':_0x37d63b,'subUnitId':_0x5cb4ca,'selections':_0x1b1605});}}};it=es([dt(0x0,_0x19c414(_0x50fda6)),dt(0x1,_0x5ef856),dt(0x2,_0x11d3ee)],it);const ht=_0x1c57ef(_0x21fa21(0x273));var Ci=(_0x3851fe=>(_0x3851fe[_0x3851fe['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x21fa21(0x283),_0x3851fe[_0x3851fe[_0x21fa21(0x147)]=0x1]=_0x21fa21(0x147),_0x3851fe))(Ci||{});const is=new Set([_0x281dc0['id']]);function qt(_0x547a9d,_0xa3ce85,_0x215f59,_0x559df4,_0x542e3a){var _0x26d41a=_0x21fa21,_0x641ab1,_0x29fc69,_0x18c706,_0x3cfe2d;const _0x485617=[];for(const _0x56b4aa of _0x547a9d)if(is[_0x26d41a(0x212)](_0x56b4aa['id'])){if(_0x485617[_0x26d41a(0x286)]>0x0)break;_0x485617[_0x26d41a(0x136)](_0x56b4aa);break;}else _0x485617[_0x26d41a(0x136)](_0x56b4aa);const _0x151a6e=(_0x29fc69=(_0x641ab1=_0x542e3a[_0x26d41a(0x1ca)]())==null?void 0x0:_0x641ab1['userID'])!=null?_0x29fc69:_0x26d41a(0x1d2),_0x16939a=(_0x3cfe2d=(_0x18c706=_0x542e3a['getCurrentUser']())==null?void 0x0:_0x18c706[_0x26d41a(0x1e8)])!=null?_0x3cfe2d:_0x26d41a(0x1d2);return{'changeset':{'unitID':_0xa3ce85,'type':_0x4f4e81(_0x215f59['getUnitType'](_0xa3ce85)),'baseRev':_0x559df4[_0x26d41a(0x140)](_0xa3ce85),'revision':0x0,'userID':_0x151a6e,'memberID':_0x16939a,'mutations':_0x485617},'pendingMutations':_0x547a9d[_0x26d41a(0x2bb)](_0x485617[_0x26d41a(0x286)])};}function ns(_0x3f33e1,_0x295244,_0xfc5492,_0x2443e1,_0x108d56){var _0x445ae9=_0x21fa21,_0x2f2414,_0x4960f7,_0x2ef958,_0x5bab22;const _0x364753=[_0x3f33e1[_0x445ae9(0x21c)]((_0x492f0f,_0x12e138)=>{var _0x378ea1=_0x445ae9,_0x4f6d1a;const {id:_0x267877}=_0x492f0f,{id:_0xdd7690,type:_0x29cfc5}=_0x12e138,_0x5a134b=(_0x4f6d1a=_0x492f0f[_0x378ea1(0x301)])!=null?_0x4f6d1a:{'actions':null},_0x313a1c=_0x12e138[_0x378ea1(0x301)];if(_0x267877&&_0x267877!==_0xdd7690)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x267877+_0x378ea1(0x296)+_0xdd7690+'.');return{..._0x492f0f,'id':_0xdd7690,'type':_0x29cfc5,'params':{'unitId':_0x313a1c[_0x378ea1(0x2e6)],'textRanges':_0x313a1c[_0x378ea1(0x33c)],'actions':_0x325b4b[_0x378ea1(0x393)](_0x5a134b[_0x378ea1(0x13f)],_0x313a1c['actions'])}};},{})],_0x236d86=(_0x4960f7=(_0x2f2414=_0x108d56[_0x445ae9(0x1ca)]())==null?void 0x0:_0x2f2414[_0x445ae9(0x276)])!=null?_0x4960f7:_0x445ae9(0x1d2),_0x4a1a81=(_0x5bab22=(_0x2ef958=_0x108d56[_0x445ae9(0x1ca)]())==null?void 0x0:_0x2ef958['memberID'])!=null?_0x5bab22:'unknown';return{'changeset':{'unitID':_0x295244,'type':_0x4f4e81(_0xfc5492[_0x445ae9(0x33b)](_0x295244)),'baseRev':_0x2443e1['getCurrentRevOfUnit'](_0x295244),'revision':0x0,'userID':_0x236d86,'memberID':_0x4a1a81,'mutations':_0x364753},'pendingMutations':[]};}function Ri(_0x2e6b3a,_0x4891f0){var _0x3dbbea=_0x21fa21;const _0x2ea453=new _0x43e32f(0x1);return setTimeout(()=>_0x2ea453[_0x3dbbea(0x40a)](_0x4891f0),_0x2e6b3a),_0x2ea453['asObservable']()[_0x3dbbea(0x1be)](_0x3b10f3(0x1));}const ss={'id':_0x14ed1d['id'],'type':_0x5e236c[_0x21fa21(0x31e)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x276c9c,_0x4bf3d4,_0x233d2e,_0xdc3b59)=>{var _0x1d4d9b=_0x21fa21;for(var _0x55852e=_0xdc3b59>0x1?void 0x0:_0xdc3b59?rs(_0x4bf3d4,_0x233d2e):_0x4bf3d4,_0x13e908=_0x276c9c[_0x1d4d9b(0x286)]-0x1,_0x25a6cc;_0x13e908>=0x0;_0x13e908--)(_0x25a6cc=_0x276c9c[_0x13e908])&&(_0x55852e=_0x25a6cc(_0x55852e)||_0x55852e);return _0x55852e;},P=(_0x5b5dbf,_0x46489f)=>(_0x24a146,_0xa8c5d4)=>_0x46489f(_0x24a146,_0xa8c5d4,_0x5b5dbf),bi=(_0x3828d9=>(_0x3828d9[_0x21fa21(0x248)]=_0x21fa21(0x254),_0x3828d9[_0x21fa21(0x1c6)]='synced',_0x3828d9['PENDING']=_0x21fa21(0x406),_0x3828d9['AWAITING']=_0x21fa21(0x415),_0x3828d9[_0x21fa21(0x35b)]=_0x21fa21(0x418),_0x3828d9['FETCH_MISS']=_0x21fa21(0x1e5),_0x3828d9[_0x21fa21(0x3e4)]='conflict',_0x3828d9['OFFLINE']='offline',_0x3828d9))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2937f3,_0x1936b2,_0x23f26f,_0x488081,_0x5cd69a,_0x6ed00,_0x38cc91,_0x108795,_0x40b455){var _0x2077bc=_0x21fa21;N(this,_0x2077bc(0x24a),null),N(this,'_pendingMutations',[]),(this[_0x2077bc(0x1ef)]=_0x2937f3,this[_0x2077bc(0x231)]=_0x1936b2,this[_0x2077bc(0x162)]=_0x5cd69a,this[_0x2077bc(0x2cb)]=_0x6ed00,this['_undoRedoService']=_0x38cc91,this[_0x2077bc(0x144)]=_0x108795,this[_0x2077bc(0x242)]=_0x40b455,this['_awaitingChangeset']=_0x23f26f,this[_0x2077bc(0x157)]=_0x488081);}[_0x21fa21(0x211)](_0x4e4b31){var _0x35d7de=_0x21fa21;const _0x42ed87=this['_revisionService'][_0x35d7de(0x140)](this[_0x35d7de(0x1ef)]);return _0x4e4b31[_0x35d7de(0x41d)]>_0x42ed87+0x1?(this['_handler'][_0x35d7de(0x247)]({'from':_0x42ed87,'to':_0x4e4b31[_0x35d7de(0x41d)]-0x1}),!0x0):!0x1;}[_0x21fa21(0x33a)](_0x49017a){var _0x158159=_0x21fa21;this['_undoRedoService'][_0x158159(0x238)](this[_0x158159(0x1ef)],_0x49017a);}[_0x21fa21(0x367)](_0xabb909){var _0x1651c8=_0x21fa21,_0x2ec448,_0x33e3e2;(_0x33e3e2=(_0x2ec448=this[_0x1651c8(0x162)])[_0x1651c8(0x3e1)])==null||_0x33e3e2[_0x1651c8(0x377)](_0x2ec448,_0xabb909);}[_0x21fa21(0x42b)](_0x509a43){var _0x42913f=_0x21fa21,_0x4db21a,_0x47e011;return(_0x47e011=(_0x4db21a=this[_0x42913f(0x162)])[_0x42913f(0x389)])==null?void 0x0:_0x47e011['call'](_0x4db21a,_0x509a43);}['_transformStateCache'](_0x28d945){var _0x35bea8=_0x21fa21,_0x2dc25e,_0x4cc793;return(_0x4cc793=(_0x2dc25e=this[_0x35bea8(0x162)])[_0x35bea8(0x413)])==null?void 0x0:_0x4cc793[_0x35bea8(0x377)](_0x2dc25e,_0x28d945);}[_0x21fa21(0x36d)](_0xcbd863){var _0xf01d7f=_0x21fa21,_0x26a90b,_0x590660,_0xde757a;return(_0xde757a=(_0x590660=(_0x26a90b=this[_0xf01d7f(0x162)])[_0xf01d7f(0x29c)])==null?void 0x0:_0x590660[_0xf01d7f(0x377)](_0x26a90b,_0xcbd863))!=null?_0xde757a:_0xcbd863;}[_0x21fa21(0x34a)](_0x466432){var _0x408eae=_0x21fa21,_0x4e250a,_0x1f8cae,_0x46edec;return(_0x46edec=(_0x1f8cae=(_0x4e250a=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1f8cae[_0x408eae(0x377)](_0x4e250a,_0x466432))!=null?_0x46edec:_0x466432;}[_0x21fa21(0x2e3)](_0x370dc4){var _0x1f18fe=_0x21fa21,_0x30f356,_0x22cdbb;if(this[_0x1f18fe(0x231)]===Q[_0x1f18fe(0x240)]){const {unitID:_0x197007,mutations:_0x732aa1,memberID:_0x52dc8d}=_0x370dc4,_0x58eb8b=_0x732aa1[0x0][_0x1f18fe(0x301)][_0x1f18fe(0x33c)];Array[_0x1f18fe(0x37c)](_0x58eb8b)&&_0x58eb8b['length']>0x0&&((_0x22cdbb=(_0x30f356=this[_0x1f18fe(0x162)])['onSyncEditingCollabCursor'])==null||_0x22cdbb[_0x1f18fe(0x377)](_0x30f356,{'unitID':_0x197007,'memberID':_0x52dc8d,'textRanges':_0x58eb8b}));}}['_updateLocalCache'](){var _0x3eb98e=_0x21fa21,_0x40b326;(_0x40b326=this[_0x3eb98e(0x242)])==null||_0x40b326[_0x3eb98e(0x31a)](this[_0x3eb98e(0x1ef)],this[_0x3eb98e(0x231)],this[_0x3eb98e(0x24a)],this[_0x3eb98e(0x157)]);}[_0x21fa21(0x224)](){var _0x1d4228=_0x21fa21;return this[_0x1d4228(0x144)]['getCurrentRevOfUnit'](this[_0x1d4228(0x1ef)]);}[_0x21fa21(0x3a8)](){var _0x5e758b=_0x21fa21;this[_0x5e758b(0x144)]['incrementRevOfUnit'](this[_0x5e758b(0x1ef)]);}[_0x21fa21(0x29f)](_0x743a4b){var _0x5a0b9d=_0x21fa21,_0x5efdb0;let _0xf6dce8=this['_transformRemoteChangesetByIMECache'](_0x743a4b);_0xf6dce8=this[_0x5a0b9d(0x34a)](_0xf6dce8);const _0x4ba5f5=_0x17ff19(_0xf6dce8['mutations'],this[_0x5a0b9d(0x2cb)],{'fromCollab':!0x0});if(!_0x4ba5f5[_0x5a0b9d(0x26a)])throw _0x4ba5f5[_0x5a0b9d(0x1e9)]instanceof Error?_0x4ba5f5['error']:new Error((_0x5efdb0=_0x4ba5f5['error'])!=null?_0x5efdb0:_0x5a0b9d(0x329));this['_transformIMECache'](_0xf6dce8),this[_0x5a0b9d(0x272)](_0xf6dce8),this[_0x5a0b9d(0x33a)](_0x743a4b),this['_transformSelections'](_0xf6dce8),this[_0x5a0b9d(0x2e3)](_0xf6dce8),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x54b323,_0x1d4d86,_0x56044c,_0x205776,_0x471942,_0x49ec1a,_0x1ab2ce,_0x1cc044,_0xf0a3a8,_0xfbe413){var _0x1ad423=_0x21fa21;super(_0x54b323,_0x1d4d86,null,[],_0x56044c,_0x1ab2ce,_0x49ec1a,_0x205776,_0xfbe413),N(this,_0x1ad423(0x1b5),'synced'),(this[_0x1ad423(0x1f8)]=_0x471942,this[_0x1ad423(0x233)]=_0x1cc044,this[_0x1ad423(0x2d1)]=_0xf0a3a8,this['localCacheService']=_0xfbe413);}[_0x21fa21(0x15d)](_0x3f8132){var _0x309f9f=_0x21fa21;const _0x59a704=this['_injector'][_0x309f9f(0x2b1)](ae,this[_0x309f9f(0x1ef)],this[_0x309f9f(0x231)],[_0x3f8132],this[_0x309f9f(0x162)]);return _0x59a704[_0x309f9f(0x2ea)](),_0x59a704[_0x309f9f(0x2fc)](),_0x59a704;}[_0x21fa21(0x28a)](_0x21f560){var _0xb79e4c=_0x21fa21;if(this['_checkMissing'](_0x21f560))return this[_0xb79e4c(0x1f8)][_0xb79e4c(0x2b1)](ee,this[_0xb79e4c(0x1ef)],this['type'],null,[],null,[_0x21f560],this[_0xb79e4c(0x162)]);try{const _0x51114c=this[_0xb79e4c(0x2d1)][_0xb79e4c(0x1ec)](_0x21f560,[ss]);if(_0x16c2fd(_0x51114c)){const {c1Prime:_0x5a0b69}=_0x51114c;return this['_executeRemoteChangeset'](_0x5a0b69),this;}throw _0x51114c[_0xb79e4c(0x1e9)];}catch(_0x1baaa5){return this['_logService'][_0xb79e4c(0x1e9)](_0x1baaa5),this[_0xb79e4c(0x261)](!0x1);}}['_onConflict'](_0x4ef1ff){var _0x22f352=_0x21fa21;return this[_0x22f352(0x1f8)]['createInstance'](ue,this[_0x22f352(0x1ef)],this[_0x22f352(0x231)],null,[],this[_0x22f352(0x162)],_0x4ef1ff);}[_0x21fa21(0x1c9)](){var _0x5354a7=_0x21fa21;throw new Error(_0x5354a7(0x2aa));}[_0x21fa21(0x3fd)](){var _0x345d97=_0x21fa21;throw new Error(_0x345d97(0x425));}['onRemoteRetry'](){return this;}[_0x21fa21(0x2a8)](){var _0x4559c2=_0x21fa21;return this['_injector'][_0x4559c2(0x2b1)](de,this[_0x4559c2(0x1ef)],this[_0x4559c2(0x231)],null,[],this[_0x4559c2(0x162)]);}[_0x21fa21(0x2df)](){return this;}['resend'](){var _0x51f721=_0x21fa21;throw new Error(_0x51f721(0x2fb));}['fetchMiss'](){var _0x14ed13=_0x21fa21;const _0x2ed1e9=this[_0x14ed13(0x144)]['getCurrentRevOfUnit'](this[_0x14ed13(0x1ef)]);return this['_handler'][_0x14ed13(0x247)]({'from':_0x2ed1e9,'to':0x0}),this['_injector'][_0x14ed13(0x2b1)](ee,this[_0x14ed13(0x1ef)],this['type'],null,[],null,[],this[_0x14ed13(0x162)]);}};Ne=Te([P(0x3,_0x19c414(_0x16a918)),P(0x4,_0x19c414(_0x50fda6)),P(0x5,_0x3319d4),P(0x6,_0x1ce977),P(0x7,_0x459fda),P(0x8,_0x5ef856),P(0x9,_0x548a6f(J))],Ne);let ae=class extends Ce{constructor(_0x5468bb,_0x52f7bb,_0x5e7bd4,_0x4e1ef3,_0x11fb28,_0x458772,_0x23f7da,_0x133a92,_0x284258,_0x1e5a51,_0xcde21d,_0x2bf5e2,_0x2a4756,_0x170dd0){var _0x2d8fc3=_0x21fa21;super(_0x5468bb,_0x52f7bb,null,_0x5e7bd4,_0x4e1ef3,_0x284258,_0x2a4756,_0x458772,_0x170dd0),N(this,_0x2d8fc3(0x1b5),_0x2d8fc3(0x406)),N(this,_0x2d8fc3(0x258),null),N(this,_0x2d8fc3(0x403),null),(this['_injector']=_0x11fb28,this['_memberService']=_0x23f7da,this[_0x2d8fc3(0x233)]=_0x133a92,this[_0x2d8fc3(0x1a6)]=_0x1e5a51,this['_transformService']=_0xcde21d,this[_0x2d8fc3(0x282)]=_0x2bf5e2);}['appendMutation'](_0x3245c8){var _0x4e902e=_0x21fa21;return this['_pendingMutations'][_0x4e902e(0x136)](_0x3245c8),this[_0x4e902e(0x2fc)](),this;}[_0x21fa21(0x28a)](_0x2fd662){var _0x7bf01c=_0x21fa21;if(this[_0x7bf01c(0x211)](_0x2fd662))return this[_0x7bf01c(0x3d1)](),this[_0x7bf01c(0x1f8)][_0x7bf01c(0x2b1)](ee,this[_0x7bf01c(0x1ef)],this[_0x7bf01c(0x231)],null,this[_0x7bf01c(0x157)],null,[_0x2fd662],this[_0x7bf01c(0x162)]);try{const _0x5902d3=this[_0x7bf01c(0x2d1)]['transformMutationsWithChangeset'](_0x2fd662,this[_0x7bf01c(0x157)]);if(_0x16c2fd(_0x5902d3)){const {c1Prime:_0x3431eb,m2Prime:_0x306c0a}=_0x5902d3;this[_0x7bf01c(0x29f)](_0x3431eb);const _0x4e39e3=this[_0x7bf01c(0x1f8)][_0x7bf01c(0x2b1)](ae,this[_0x7bf01c(0x1ef)],this[_0x7bf01c(0x231)],_0x306c0a,this[_0x7bf01c(0x162)]);this[_0x7bf01c(0x3d1)]();const _0x17399d=new Date()[_0x7bf01c(0x1a3)](),_0x4bd072=this[_0x7bf01c(0x258)]?Math[_0x7bf01c(0x166)](this['_scheduleCompleteTimestamp']-_0x17399d,0x0):this['_getSendChangesetTimeout']();return _0x4e39e3[_0x7bf01c(0x2ea)](_0x4bd072),_0x4e39e3;}throw _0x5902d3[_0x7bf01c(0x1e9)];}catch(_0x34f8d3){return this['_logService'][_0x7bf01c(0x1e9)](_0x34f8d3),this[_0x7bf01c(0x261)](!0x1);}}[_0x21fa21(0x1c9)](){var _0x2e7218=_0x21fa21;throw new Error(_0x2e7218(0x214));}[_0x21fa21(0x3fd)](){var _0x29f614=_0x21fa21;throw new Error(_0x29f614(0x322));}[_0x21fa21(0x1a0)](){return this;}['toggleOffline'](){var _0x538e3c=_0x21fa21;return this[_0x538e3c(0x3d1)](),this[_0x538e3c(0x1f8)][_0x538e3c(0x2b1)](de,this[_0x538e3c(0x1ef)],this[_0x538e3c(0x231)],null,this[_0x538e3c(0x157)],this['_handler']);}['toggleOnline'](){return this;}[_0x21fa21(0x2ea)](_0x1254bc){var _0x3c7aac=_0x21fa21;const _0xce0e3c=_0x1254bc!=null?_0x1254bc:this[_0x3c7aac(0x25d)]();this[_0x3c7aac(0x258)]=new Date()[_0x3c7aac(0x1a3)]()+_0xce0e3c,this[_0x3c7aac(0x403)]=setTimeout(()=>{var _0x5bdc63=_0x3c7aac;this[_0x5bdc63(0x3d1)]();let _0x400c87=null;switch(this['type']){case Q[_0x5bdc63(0x19a)]:{_0x400c87=qt(this[_0x5bdc63(0x157)],this[_0x5bdc63(0x1ef)],this[_0x5bdc63(0x282)],this[_0x5bdc63(0x144)],this[_0x5bdc63(0x252)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x5bdc63(0x2a5)](_0x2ce606=>_0x2ce606['id']===_0x309e0['id'])?_0x400c87=ns(this[_0x5bdc63(0x157)],this[_0x5bdc63(0x1ef)],this['_univerInstanceService'],this[_0x5bdc63(0x144)],this[_0x5bdc63(0x252)]):_0x400c87=qt(this[_0x5bdc63(0x157)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x5bdc63(0x252)]);break;}default:throw new Error(_0x5bdc63(0x1fc)+this[_0x5bdc63(0x231)]+_0x5bdc63(0x12f));}const {changeset:_0x3e166d,pendingMutations:_0x16361f}=_0x400c87;this['_handler'][_0x5bdc63(0x3ed)](_0x3e166d);const _0x2a2dce=_0x16361f[_0x5bdc63(0x286)]?this['_injector'][_0x5bdc63(0x2b1)](oe,this['unitID'],this['type'],_0x3e166d,_0x16361f,this['_handler'],void 0x0):this[_0x5bdc63(0x1f8)][_0x5bdc63(0x2b1)](le,this[_0x5bdc63(0x1ef)],this['type'],_0x3e166d,this[_0x5bdc63(0x162)]);_0x2a2dce['_updateLocalCache'](),this[_0x5bdc63(0x162)][_0x5bdc63(0x17c)](this,_0x2a2dce);},_0xce0e3c);}[_0x21fa21(0x25d)](){var _0x34203d=_0x21fa21,_0x4bab89;const _0x15233b=this[_0x34203d(0x1a6)][_0x34203d(0x417)](q);return(_0x4bab89=_0x15233b==null?void 0x0:_0x15233b['sendChangesetTimeout'])!=null?_0x4bab89:En;}['resend'](){var _0xe8d59e=_0x21fa21;throw new Error(_0xe8d59e(0x341));}[_0x21fa21(0x3d1)](){var _0x3c5105=_0x21fa21;this[_0x3c5105(0x403)]!=null&&(clearTimeout(this[_0x3c5105(0x403)]),this['_sendingTimer']=null);}[_0x21fa21(0x261)](_0xd6cac4){var _0xa432bc=_0x21fa21;return this[_0xa432bc(0x3d1)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0xa432bc(0x231)],null,this[_0xa432bc(0x157)],this[_0xa432bc(0x162)],_0xd6cac4);}};ae=Te([P(0x4,_0x19c414(_0x50fda6)),P(0x5,_0x19c414(_0x16a918)),P(0x6,_0x19c414(Le)),P(0x7,_0x459fda),P(0x8,_0x1ce977),P(0x9,_0x51423a),P(0xa,_0x5ef856),P(0xb,_0x11d3ee),P(0xc,_0x3319d4),P(0xd,_0x548a6f(J))],ae);let le=class extends Ce{constructor(_0x5ccd21,_0x559063,_0x2da765,_0x4cc979,_0xc3032,_0x2e0ff6,_0x2faf21,_0x2c2fb9,_0x5449e5,_0x178e8b,_0x3e99e6){var _0x5e1b0c=_0x21fa21;super(_0x5ccd21,_0x559063,_0x2da765,[],_0x4cc979,_0x2faf21,_0x178e8b,_0x2e0ff6,_0x3e99e6),N(this,_0x5e1b0c(0x1b5),'awaiting'),N(this,_0x5e1b0c(0x245),0x0),N(this,_0x5e1b0c(0x132)),N(this,'_sender'),(this[_0x5e1b0c(0x1f8)]=_0xc3032,this['_logService']=_0x2c2fb9,this[_0x5e1b0c(0x2d1)]=_0x5449e5);}[_0x21fa21(0x15d)](_0x5b219b){var _0x39c54f=_0x21fa21;this[_0x39c54f(0x3d1)]();const _0x368c48=this[_0x39c54f(0x1f8)][_0x39c54f(0x2b1)](oe,this[_0x39c54f(0x1ef)],this[_0x39c54f(0x231)],this['_awaitingChangeset'],[_0x5b219b],this[_0x39c54f(0x162)],this['_resendTimer']);return _0x368c48['_updateLocalCache'](),_0x368c48;}[_0x21fa21(0x28a)](_0x5944fe){var _0x75ffe5=_0x21fa21;if(this['_checkMissing'](_0x5944fe))return this['_clearScheduledTask'](),this[_0x75ffe5(0x1f8)]['createInstance'](ee,this[_0x75ffe5(0x1ef)],this[_0x75ffe5(0x231)],this[_0x75ffe5(0x24a)],[],null,[_0x5944fe],this[_0x75ffe5(0x162)]);try{const _0x5911db=this['_transformService']['transformChangesets']([_0x5944fe],[this['_awaitingChangeset']],!0x1);if(_0x276042(_0x5911db)){const {c1Prime:_0x1e3dda,c2Prime:_0xcecec2}=_0x5911db;this[_0x75ffe5(0x29f)](_0x1e3dda[0x0]),_0xcecec2[0x0][_0x75ffe5(0x405)]=this[_0x75ffe5(0x224)](),this[_0x75ffe5(0x3d1)]();const _0x242ba7=this[_0x75ffe5(0x1f8)]['createInstance'](le,this[_0x75ffe5(0x1ef)],this[_0x75ffe5(0x231)],_0xcecec2[0x0],this[_0x75ffe5(0x162)]);return _0x242ba7[_0x75ffe5(0x2fc)](),_0x242ba7;}return this[_0x75ffe5(0x261)](!0x1);}catch(_0x24e20a){return this[_0x75ffe5(0x233)][_0x75ffe5(0x1e9)](_0x24e20a),this[_0x75ffe5(0x261)](!0x1);}}[_0x21fa21(0x1c9)](_0x4a90ae){var _0x50c8ff=_0x21fa21;this[_0x50c8ff(0x3d1)]();const _0x2458dd=this['_revisionService'][_0x50c8ff(0x140)](this[_0x50c8ff(0x1ef)]);if(_0x4a90ae[_0x50c8ff(0x41d)]<_0x2458dd-0x1)return this;if(this[_0x50c8ff(0x211)](_0x4a90ae))return this[_0x50c8ff(0x1f8)][_0x50c8ff(0x2b1)](ee,this['unitID'],this[_0x50c8ff(0x231)],null,[],this['_awaitingChangeset'],[],this[_0x50c8ff(0x162)]);this['_incrementRevisionNumber']();const _0xd28be2=this[_0x50c8ff(0x1f8)][_0x50c8ff(0x2b1)](Ne,this['unitID'],this[_0x50c8ff(0x231)],this['_handler']);return _0xd28be2[_0x50c8ff(0x2fc)](),_0xd28be2;}[_0x21fa21(0x3fd)](_0x599d64){var _0x168a93=_0x21fa21;return this['_onConflict'](!!(_0x599d64!=null&&_0x599d64[_0x168a93(0x196)]));}['onRemoteRetry'](_0x39491a){var _0xa1ecc2=_0x21fa21;return this[_0xa1ecc2(0x245)]>Oi?this['toggleOffline']():(this[_0xa1ecc2(0x132)]=Ri(this[_0xa1ecc2(0x245)],{'timeout':this[_0xa1ecc2(0x245)],'reqId':_0x39491a['reqId']}),this[_0xa1ecc2(0x336)]=this[_0xa1ecc2(0x132)][_0xa1ecc2(0x223)](({reqId:_0x40728c,timeout:_0x138fd0})=>{var _0x346dab=_0xa1ecc2;this[_0x346dab(0x42e)](_0x40728c,_0x138fd0);}),this);}[_0x21fa21(0x2a8)](){var _0x4e48e6=_0x21fa21;return this[_0x4e48e6(0x3d1)](),this[_0x4e48e6(0x1f8)][_0x4e48e6(0x2b1)](de,this[_0x4e48e6(0x1ef)],this[_0x4e48e6(0x231)],this['_awaitingChangeset'],[],this[_0x4e48e6(0x162)]);}[_0x21fa21(0x2df)](){return this;}[_0x21fa21(0x1f4)](){var _0x47ed76=_0x21fa21;this[_0x47ed76(0x162)][_0x47ed76(0x3ed)](this[_0x47ed76(0x24a)]);}[_0x21fa21(0x261)](_0x32d4e5){var _0x5ded85=_0x21fa21;return this[_0x5ded85(0x3d1)](),this[_0x5ded85(0x1f8)]['createInstance'](ue,this[_0x5ded85(0x1ef)],this['type'],this[_0x5ded85(0x24a)],[],this[_0x5ded85(0x162)],_0x32d4e5);}[_0x21fa21(0x42e)](_0x51a1ac,_0x3382e0){var _0x5dcde5=_0x21fa21,_0x1b5f15;_0x51a1ac===((_0x1b5f15=this[_0x5dcde5(0x24a)])==null?void 0x0:_0x1b5f15[_0x5dcde5(0x41e)])&&(this[_0x5dcde5(0x1f4)](),this[_0x5dcde5(0x245)]=_0x3382e0===0x0?0x3e8:_0x3382e0*0x2);}['_clearScheduledTask'](){var _0x687572=_0x21fa21,_0x44880d;(_0x44880d=this[_0x687572(0x336)])==null||_0x44880d['unsubscribe'](),this[_0x687572(0x245)]=0x0;}};le=Te([P(0x4,_0x19c414(_0x50fda6)),P(0x5,_0x19c414(_0x16a918)),P(0x6,_0x1ce977),P(0x7,_0x459fda),P(0x8,_0x5ef856),P(0x9,_0x3319d4),P(0xa,_0x548a6f(J))],le);let oe=class extends Ce{constructor(_0x42855c,_0xe50ddd,_0x5612ea,_0xacb68e,_0x2fb833,_0x200deb,_0x24c3f6,_0x2f0ed1,_0x33f356,_0x585aa2,_0x1a8a5c,_0x3106df,_0x1638f7){var _0x517015=_0x21fa21;super(_0x42855c,_0xe50ddd,_0x5612ea,_0xacb68e,_0x2fb833,_0x33f356,_0x3106df,_0x2f0ed1,_0x1638f7),N(this,'status',_0x517015(0x418)),N(this,'_resendTimeout',0x0),N(this,_0x517015(0x132)),N(this,'_sender'),(this[_0x517015(0x1f8)]=_0x24c3f6,this[_0x517015(0x233)]=_0x585aa2,this[_0x517015(0x2d1)]=_0x1a8a5c,this[_0x517015(0x308)]=_0x1638f7,_0x200deb&&(this[_0x517015(0x132)]=_0x200deb,this['_sender']=this[_0x517015(0x132)][_0x517015(0x223)](({reqId:_0x5eeeaf,timeout:_0x2f7cc2})=>{var _0x38ff10=_0x517015;this[_0x38ff10(0x42e)](_0x5eeeaf,_0x2f7cc2);})));}['appendMutation'](_0x477e08){var _0x28ac15=_0x21fa21;return this[_0x28ac15(0x157)]['push'](_0x477e08),this;}[_0x21fa21(0x28a)](_0x495a1d){var _0x4dbb89=_0x21fa21;if(this[_0x4dbb89(0x211)](_0x495a1d))return this['_clearScheduledTask'](),this[_0x4dbb89(0x1f8)][_0x4dbb89(0x2b1)](ee,this[_0x4dbb89(0x1ef)],this['type'],this[_0x4dbb89(0x24a)],this['_pendingMutations'],null,[_0x495a1d],this[_0x4dbb89(0x162)]);try{const _0x348358=this['_transformService'][_0x4dbb89(0x187)]([_0x495a1d],[this[_0x4dbb89(0x24a)]],!0x1);if(_0x276042(_0x348358)){const {c1Prime:_0x39c5d2,c2Prime:_0x58b828}=_0x348358,_0x219e39=this[_0x4dbb89(0x2d1)][_0x4dbb89(0x1ec)](_0x39c5d2[0x0],this[_0x4dbb89(0x157)]);if(_0x16c2fd(_0x219e39)){const {c1Prime:_0x390f4f,m2Prime:_0x1b1587}=_0x219e39;return this[_0x4dbb89(0x29f)](_0x390f4f),_0x58b828[0x0][_0x4dbb89(0x405)]=this[_0x4dbb89(0x224)](),this[_0x4dbb89(0x3d1)](),this['_injector'][_0x4dbb89(0x2b1)](oe,this[_0x4dbb89(0x1ef)],this[_0x4dbb89(0x231)],_0x58b828[0x0],_0x1b1587,this['_handler'],void 0x0);}throw _0x219e39[_0x4dbb89(0x1e9)];}throw _0x348358['error'];}catch(_0xba9c68){return this[_0x4dbb89(0x233)]['error'](_0xba9c68),this[_0x4dbb89(0x261)](!0x1);}}[_0x21fa21(0x1c9)](_0x4f973d){var _0xdf10d7=_0x21fa21;if(this[_0xdf10d7(0x3d1)](),this[_0xdf10d7(0x211)](_0x4f973d))return this['_injector'][_0xdf10d7(0x2b1)](ee,this[_0xdf10d7(0x1ef)],this[_0xdf10d7(0x231)],null,this[_0xdf10d7(0x157)],this[_0xdf10d7(0x24a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x53cabe=this['_injector'][_0xdf10d7(0x2b1)](ae,this[_0xdf10d7(0x1ef)],this['type'],this['_pendingMutations'],this[_0xdf10d7(0x162)]);return _0x53cabe[_0xdf10d7(0x2ea)](),_0x53cabe[_0xdf10d7(0x2fc)](),_0x53cabe;}[_0x21fa21(0x3fd)](_0x512162){return this['_onConflict'](!!(_0x512162!=null&&_0x512162['isPermissionRej']));}[_0x21fa21(0x1a0)](_0xaad517){var _0x55e02c=_0x21fa21;return this[_0x55e02c(0x245)]>Oi?this['toggleOffline']():(this[_0x55e02c(0x132)]=Ri(this['_resendTimeout'],{'timeout':this[_0x55e02c(0x245)],'reqId':_0xaad517[_0x55e02c(0x41e)]}),this[_0x55e02c(0x336)]=this[_0x55e02c(0x132)]['subscribe'](({reqId:_0x51ecd4,timeout:_0x21e39d})=>{var _0x34d705=_0x55e02c;this[_0x34d705(0x42e)](_0x51ecd4,_0x21e39d);}),this);}[_0x21fa21(0x2a8)](){var _0x3ce3af=_0x21fa21;return this[_0x3ce3af(0x3d1)](),this[_0x3ce3af(0x1f8)][_0x3ce3af(0x2b1)](de,this[_0x3ce3af(0x1ef)],this[_0x3ce3af(0x231)],this[_0x3ce3af(0x24a)],this[_0x3ce3af(0x157)],this[_0x3ce3af(0x162)]);}[_0x21fa21(0x2df)](){return this;}[_0x21fa21(0x1f4)](){var _0x1f1ba5=_0x21fa21;this[_0x1f1ba5(0x162)][_0x1f1ba5(0x3ed)](this['_awaitingChangeset']);}[_0x21fa21(0x261)](_0x287608){var _0x49a771=_0x21fa21;return this[_0x49a771(0x3d1)](),this[_0x49a771(0x1f8)]['createInstance'](ue,this[_0x49a771(0x1ef)],this[_0x49a771(0x231)],null,this[_0x49a771(0x157)],this[_0x49a771(0x162)],_0x287608);}[_0x21fa21(0x42e)](_0x5f4b18,_0x57f72b){var _0x31793a=_0x21fa21,_0x7a897e;_0x5f4b18===((_0x7a897e=this[_0x31793a(0x24a)])==null?void 0x0:_0x7a897e[_0x31793a(0x41e)])&&(this[_0x31793a(0x1f4)](),this[_0x31793a(0x245)]=_0x57f72b===0x0?0x3e8:_0x57f72b*0x2);}[_0x21fa21(0x3d1)](){var _0x1e4130=_0x21fa21,_0x167b92;(_0x167b92=this[_0x1e4130(0x336)])==null||_0x167b92[_0x1e4130(0x3cc)](),this[_0x1e4130(0x245)]=0x0;}};oe=Te([P(0x6,_0x19c414(_0x50fda6)),P(0x7,_0x19c414(_0x16a918)),P(0x8,_0x1ce977),P(0x9,_0x459fda),P(0xa,_0x5ef856),P(0xb,_0x3319d4),P(0xc,_0x548a6f(J))],oe);let ue=class extends Ce{constructor(_0x3f386d,_0x930263,_0x5a2e9c,_0x1b42ac,_0xc9ec94,_0x5418e6=!0x1,_0x3d4bfa,_0x1109bf,_0x6d8915,_0x29055e,_0x3cb409,_0x6755b5,_0x9e926d){var _0x363a5f=_0x21fa21;super(_0x3f386d,_0x930263,_0x5a2e9c,_0x1b42ac,_0xc9ec94,_0x1109bf,_0x6d8915,_0x29055e,_0x9e926d),N(this,_0x363a5f(0x1b5),_0x363a5f(0x3dd)),(this[_0x363a5f(0x288)]=_0x5418e6,this[_0x363a5f(0x275)]=_0x3d4bfa,this[_0x363a5f(0x164)]=_0x3cb409,this[_0x363a5f(0x41a)]=_0x6755b5,this[_0x363a5f(0x308)]=_0x9e926d,this['_showConflictNotification'](),this[_0x363a5f(0x30b)](),this[_0x363a5f(0x32e)]());}[_0x21fa21(0x15d)](){return this;}[_0x21fa21(0x28a)](){return this;}[_0x21fa21(0x1c9)](){return this;}[_0x21fa21(0x3fd)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x21fa21(0x2df)](){return this;}[_0x21fa21(0x1f4)](){var _0x5ac0c2=_0x21fa21;throw new Error(_0x5ac0c2(0x250));}['_clearLocalCache'](){var _0x8240d7=_0x21fa21,_0x92d76c;(_0x92d76c=this[_0x8240d7(0x242)])==null||_0x92d76c[_0x8240d7(0x31a)](this[_0x8240d7(0x1ef)],this[_0x8240d7(0x231)],null,[]);}[_0x21fa21(0x153)](){var _0xa15613=_0x21fa21;this[_0xa15613(0x288)]?this['_collaborationUIEventService'][_0xa15613(0x374)]({'id':re[_0xa15613(0x160)]}):this['_collaborationUIEventService'][_0xa15613(0x374)]({'id':re[_0xa15613(0x3e4)]});}[_0x21fa21(0x32e)](){var _0x4f0ad0=_0x21fa21;this[_0x4f0ad0(0x275)][_0x4f0ad0(0x40f)](new _0x3477ec(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x19c414(_0x19d05d)),P(0x7,_0x1ce977),P(0x8,_0x3319d4),P(0x9,_0x19c414(_0x16a918)),P(0xa,_0x19c414(_0x4ac43d)),P(0xb,_0x19c414(pe)),P(0xc,_0x548a6f(J))],ue);let de=class extends Ce{constructor(_0x2e8739,_0x443787,_0x276afc,_0x242c47,_0x1a35f7,_0x1b1da2,_0x2fce09,_0x4d9905,_0x3a9ade,_0x4e6d63){var _0xe70586=_0x21fa21;super(_0x2e8739,_0x443787,_0x276afc,_0x242c47,_0x1a35f7,_0x4d9905,_0x3a9ade,_0x2fce09,_0x4e6d63),N(this,'status',_0xe70586(0x2bd)),this[_0xe70586(0x1f8)]=_0x1b1da2;}[_0x21fa21(0x15d)](_0x84cce2){var _0x5e4377=_0x21fa21;return this['_pendingMutations']['push'](_0x84cce2),this[_0x5e4377(0x2fc)](),this;}[_0x21fa21(0x28a)](_0x319126){var _0x49b98a=_0x21fa21;throw new Error(_0x49b98a(0x303));}[_0x21fa21(0x1c9)](){var _0x461773=_0x21fa21;throw new Error(_0x461773(0x20b));}[_0x21fa21(0x3fd)](){var _0x480358=_0x21fa21;throw new Error(_0x480358(0x2c3));}[_0x21fa21(0x1a0)](){return this;}['toggleOffline'](){return this;}[_0x21fa21(0x2df)](){var _0x5dcbab=_0x21fa21;const {_injector:_0x53e341,_pendingMutations:_0x423ef3,_awaitingChangeset:_0x2739c6,unitID:_0xac0bc5,_handler:_0x402e2f,type:_0x4887e2}=this,_0x7200f9=yi(_0x53e341,_0xac0bc5,_0x4887e2,_0x2739c6,_0x423ef3,_0x402e2f);return _0x7200f9 instanceof ae?_0x7200f9[_0x5dcbab(0x2ea)]():(_0x7200f9 instanceof oe||_0x7200f9 instanceof le)&&_0x7200f9['resend'](),_0x7200f9;}[_0x21fa21(0x1f4)](){var _0x2424be=_0x21fa21;throw new Error(_0x2424be(0x24c));}};de=Te([P(0x5,_0x19c414(_0x50fda6)),P(0x6,_0x19c414(_0x16a918)),P(0x7,_0x1ce977),P(0x8,_0x3319d4),P(0x9,_0x548a6f(J))],de);let ee=class extends Ce{constructor(_0x545236,_0x28247d,_0x5f095e,_0x27e2ee,_0x9ae189,_0x43bfe8,_0x5058ba,_0x361737,_0x42072c,_0x195328,_0x3e821b,_0x4719ce,_0x183344,_0x3827b0){var _0x455abc=_0x21fa21;super(_0x545236,_0x28247d,_0x5f095e,_0x27e2ee,_0x5058ba,_0x3e821b,_0x4719ce,_0x42072c,_0x3827b0),N(this,'status',_0x455abc(0x1e5)),(this[_0x455abc(0x2e4)]=_0x9ae189,this[_0x455abc(0x3d5)]=_0x43bfe8,this[_0x455abc(0x1f8)]=_0x361737,this[_0x455abc(0x233)]=_0x195328,this[_0x455abc(0x2d1)]=_0x183344,this['localCacheService']=_0x3827b0);}['onMissedChangesetFetched'](_0x539691){var _0x2ca6b3=_0x21fa21;try{const _0x34b702=[..._0x539691,...this[_0x2ca6b3(0x3d5)]],_0x1b9cb7=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x2ca6b3(0x2cc)](_0x419a19=>!!_0x419a19);let _0x754c57,_0x14db29;if(_0x1b9cb7[_0x2ca6b3(0x286)]){const _0x202754=this[_0x2ca6b3(0x2d1)]['transformChangesets'](_0x34b702,_0x1b9cb7,!0x1);if(!_0x276042(_0x202754))throw _0x202754[_0x2ca6b3(0x1e9)];_0x754c57=_0x202754[_0x2ca6b3(0x199)],_0x14db29=_0x202754['c2Prime'];}else _0x754c57=_0x34b702,_0x14db29=[];let _0x1c8852=this[_0x2ca6b3(0x157)];_0x754c57['forEach'](_0x32dc25=>{var _0x4c27a3=_0x2ca6b3;let _0x1a6110;if(_0x1c8852[_0x4c27a3(0x286)]){const _0x533b7f=this[_0x4c27a3(0x2d1)][_0x4c27a3(0x1ec)](_0x32dc25,_0x1c8852);if(!_0x16c2fd(_0x533b7f))throw _0x533b7f[_0x4c27a3(0x1e9)];_0x1a6110=_0x533b7f[_0x4c27a3(0x199)],_0x1c8852=_0x533b7f[_0x4c27a3(0x23d)];}else _0x1a6110=_0x32dc25;this[_0x4c27a3(0x29f)](_0x1a6110);}),this[_0x2ca6b3(0x2e4)]&&this[_0x2ca6b3(0x3a8)](),this['_awaitingChangeset']&&_0x14db29['length']&&(_0x14db29[0x0][_0x2ca6b3(0x405)]=this[_0x2ca6b3(0x224)]());let _0x59d554;if(this['_awaitingChangeset']&&_0x1c8852[_0x2ca6b3(0x286)]!==0x0)_0x59d554=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](oe,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],_0x14db29[0x0],_0x1c8852,this[_0x2ca6b3(0x162)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1c8852['length']===0x0)_0x14db29[0x0]['baseRev']=this[_0x2ca6b3(0x224)](),_0x59d554=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](le,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],_0x14db29[0x0],this[_0x2ca6b3(0x162)]);else{if(_0x1c8852[_0x2ca6b3(0x286)]!==0x0){const _0x1b668d=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](ae,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],_0x1c8852,this[_0x2ca6b3(0x162)]);_0x1b668d[_0x2ca6b3(0x2ea)](),_0x59d554=_0x1b668d;}else _0x59d554=this[_0x2ca6b3(0x1f8)][_0x2ca6b3(0x2b1)](Ne,this[_0x2ca6b3(0x1ef)],this[_0x2ca6b3(0x231)],this[_0x2ca6b3(0x162)]);}}return _0x59d554['_updateLocalCache'](),_0x59d554;}catch(_0x3bdab0){return this[_0x2ca6b3(0x233)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x3bdab0),this[_0x2ca6b3(0x1f8)]['createInstance'](ue,this[_0x2ca6b3(0x1ef)],this['type'],this[_0x2ca6b3(0x24a)],this[_0x2ca6b3(0x157)],this['_handler'],!0x1);}}[_0x21fa21(0x1f4)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x21fa21(0x15d)](_0x5c9a6a){var _0xf7ca79=_0x21fa21;return this['_pendingMutations'][_0xf7ca79(0x136)](_0x5c9a6a),this;}['onRemoteChangeset'](_0x20a8ee){var _0x791a2f=_0x21fa21;return this[_0x791a2f(0x3d5)][_0x791a2f(0x136)](_0x20a8ee),this;}['onRemoteAck'](_0x550cca){var _0x3df6ef=_0x21fa21;if(this[_0x3df6ef(0x24a)])return this[_0x3df6ef(0x2e4)]=this[_0x3df6ef(0x24a)],this[_0x3df6ef(0x24a)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x21fa21(0x3fd)](_0x149be7){var _0x3ce1df=_0x21fa21;return this[_0x3ce1df(0x261)](!!(_0x149be7!=null&&_0x149be7[_0x3ce1df(0x196)]));}[_0x21fa21(0x1a0)](){return this;}[_0x21fa21(0x2a8)](){var _0x300ce4=_0x21fa21;return this[_0x300ce4(0x1f8)]['createInstance'](de,this[_0x300ce4(0x1ef)],this['type'],this[_0x300ce4(0x24a)],this[_0x300ce4(0x157)],this['_handler']);}[_0x21fa21(0x2df)](){return this;}['_onConflict'](_0x5c5329){var _0x5b7312=_0x21fa21;return this['_injector'][_0x5b7312(0x2b1)](ue,this['unitID'],this[_0x5b7312(0x231)],this[_0x5b7312(0x24a)],this[_0x5b7312(0x157)],this[_0x5b7312(0x162)],_0x5c5329);}};ee=Te([P(0x7,_0x19c414(_0x50fda6)),P(0x8,_0x19c414(_0x16a918)),P(0x9,_0x459fda),P(0xa,_0x1ce977),P(0xb,_0x3319d4),P(0xc,_0x5ef856),P(0xd,_0x548a6f(J))],ee);function yi(_0x16f675,_0x36ef71,_0x41134b,_0x414f0d,_0x405166,_0x35b311){var _0x3ba02f=_0x21fa21;return _0x414f0d&&_0x405166['length']?_0x16f675[_0x3ba02f(0x2b1)](oe,_0x36ef71,_0x41134b,_0x414f0d,_0x405166,_0x35b311,void 0x0):_0x414f0d?_0x16f675[_0x3ba02f(0x2b1)](le,_0x36ef71,_0x41134b,_0x414f0d,_0x35b311):_0x405166['length']?_0x16f675[_0x3ba02f(0x2b1)](ae,_0x36ef71,_0x41134b,_0x405166,_0x35b311):_0x16f675['createInstance'](Ne,_0x36ef71,_0x41134b,_0x35b311);}var as=Object[_0x21fa21(0x16f)],Lt=(_0x55e2ec,_0x5042c5,_0x522811,_0x86ff3f)=>{var _0x467cb5=_0x21fa21;for(var _0x5cf976=_0x86ff3f>0x1?void 0x0:_0x86ff3f?as(_0x5042c5,_0x522811):_0x5042c5,_0x346a99=_0x55e2ec[_0x467cb5(0x286)]-0x1,_0x4004ff;_0x346a99>=0x0;_0x346a99--)(_0x4004ff=_0x55e2ec[_0x346a99])&&(_0x5cf976=_0x4004ff(_0x5cf976)||_0x5cf976);return _0x5cf976;},H=(_0x847b45,_0x12ca47)=>(_0x524cb2,_0x49f579)=>_0x12ca47(_0x524cb2,_0x49f579,_0x847b45);let nt=class extends _0x37cb10{constructor(_0xca45b5,_0x126275,_0x2f41d6,_0x5e11da,_0x32dc80,_0x366ffe,_0x73c3f0,_0x566a51,_0x2a2684,_0x455f85,_0x139f25,_0x5090ed,_0x819d78){var _0x453452=_0x21fa21;super(),N(this,_0x453452(0x2a3),new _0x214797(null)),N(this,_0x453452(0x326),this[_0x453452(0x2a3)][_0x453452(0x27d)]()),N(this,'_state'),N(this,_0x453452(0x2f2),!0x1),N(this,_0x453452(0x36e),''),N(this,'_changesetReqId',0x0),N(this,_0x453452(0x22a),this[_0x453452(0x326)][_0x453452(0x1be)](_0x83c841(_0x55dbf7=>_0x55dbf7?_0x55dbf7[_0x453452(0x1b5)]:bi[_0x453452(0x1fb)]),_0x1dd3ef(0x1))),N(this,_0x453452(0x1a9),!0x1),N(this,_0x453452(0x131),[]),(this[_0x453452(0x1ef)]=_0xca45b5,this['session']=_0x126275,this[_0x453452(0x22c)]=_0x2f41d6,this[_0x453452(0x1f8)]=_0x5e11da,this[_0x453452(0x3ff)]=_0x32dc80,this[_0x453452(0x164)]=_0x366ffe,this[_0x453452(0x144)]=_0x73c3f0,this['_eventService']=_0x566a51,this[_0x453452(0x233)]=_0x2a2684,this[_0x453452(0x2cb)]=_0x455f85,this['_permissionService']=_0x139f25,this[_0x453452(0x3a1)]=_0x5090ed,this[_0x453452(0x242)]=_0x819d78);}get['state'](){return this['_state'];}async[_0x21fa21(0x1da)](){var _0x1a7ff5=_0x21fa21;if(this[_0x1a7ff5(0x1f6)])throw new Error(_0x1a7ff5(0x3e2));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x570176(()=>{var _0x49aa93=_0x4934;this[_0x49aa93(0x2f2)]=!0x1,this[_0x49aa93(0x3a4)]();});}[_0x21fa21(0x25e)](_0x5c9451){var _0x162494=_0x21fa21;this[_0x162494(0x16b)](_0x5c9451);}[_0x21fa21(0x3c4)](_0x50ef18){var _0x5263ed=_0x21fa21;this['_state']=_0x50ef18,this['_state$'][_0x5263ed(0x40a)](_0x50ef18);}async[_0x21fa21(0x2c2)](){var _0x178105=_0x21fa21,_0x1d2037;this[_0x178105(0x3c4)](await this['_createInitialState']()),this[_0x178105(0x3a1)]&&((_0x1d2037=this[_0x178105(0x3a1)])==null||_0x1d2037['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x178105(0x3a1)][_0x178105(0x32b)](this[_0x178105(0x1ef)])[_0x178105(0x223)](_0x8203c=>{var _0x330c79=_0x178105;this['_logService']['debug']('[CollaborationEntity]',_0x330c79(0x22f),_0x8203c),_0x8203c===Ci[_0x330c79(0x147)]?(this[_0x330c79(0x2bf)][_0x330c79(0x374)]({'id':re[_0x330c79(0x324)]}),this[_0x330c79(0x275)][_0x330c79(0x40f)](new _0x3477ec(this['unitID'])['id'],!0x1),this[_0x330c79(0x275)][_0x330c79(0x260)](!0x1)):(this[_0x330c79(0x275)][_0x330c79(0x40f)](new _0x3477ec(this[_0x330c79(0x1ef)])['id'],!0x0),this[_0x330c79(0x275)]['setShowComponents'](!0x0));})));let _0x2da7c0=!0x1;return this['disposeWithMe'](this[_0x178105(0x2a0)][_0x178105(0x386)][_0x178105(0x223)](_0x2268b0=>{var _0xd68173=_0x178105;_0x2268b0===Ee[_0xd68173(0x3f4)]?this[_0xd68173(0x18f)](_0x2da7c0):_0x2268b0===Ee[_0xd68173(0x1fb)]&&(_0x2da7c0=!0x0,this[_0xd68173(0x1dd)]());})),this[_0x178105(0x2f1)](this[_0x178105(0x2a0)]['event$'][_0x178105(0x223)](_0x1dedbe=>{var _0x487ab2=_0x178105;try{switch(_0x1dedbe['eventID']){case _0xea38b9[_0x487ab2(0x21a)]:{this[_0x487ab2(0x414)](_0x18e7a3(_0x1dedbe['data']));break;}case _0xea38b9[_0x487ab2(0x171)]:{this[_0x487ab2(0x2ab)](_0x1dedbe[_0x487ab2(0x1de)]);break;}case _0xea38b9[_0x487ab2(0x344)]:{this[_0x487ab2(0x29a)]();break;}case _0xea38b9[_0x487ab2(0x237)]:{this[_0x487ab2(0x36f)](_0x1dedbe[_0x487ab2(0x1de)]);break;}case _0xea38b9[_0x487ab2(0x150)]:{this[_0x487ab2(0x3a9)](_0x1dedbe['data'][_0x487ab2(0x3eb)]['map'](_0x5db59d=>_0x18e7a3(_0x5db59d)));break;}case _0xea38b9[_0x487ab2(0x40e)]:{this[_0x487ab2(0x29a)]({'isPermissionRej':!0x0});break;}case _0xea38b9[_0x487ab2(0x271)]:break;}}catch(_0x372cac){throw console[_0x487ab2(0x1e9)](_0x487ab2(0x312),_0x372cac),_0x372cac;}})),this['_state'];}[_0x21fa21(0x401)](){this['_transitionLocked']=!0x1;}[_0x21fa21(0x2d5)](){var _0x5cb9c3=_0x21fa21;if(this[_0x5cb9c3(0x1a9)])throw new Error(_0x5cb9c3(0x181));this[_0x5cb9c3(0x1a9)]=!0x0;}[_0x21fa21(0x16b)](_0x30b05b){var _0x4916de=_0x21fa21;this['_lockTransition'](),this['_updateState'](this['_state'][_0x4916de(0x15d)](_0x30b05b)),this[_0x4916de(0x401)]();}[_0x21fa21(0x414)](_0x5283bb){var _0x9cca7b=_0x21fa21;if(!(_0x5283bb[_0x9cca7b(0x41d)]<=this[_0x9cca7b(0x144)][_0x9cca7b(0x140)](this[_0x9cca7b(0x1ef)]))){if(this[_0x9cca7b(0x2f2)]){this['_remoteChangesetQueue'][_0x9cca7b(0x136)](_0x5283bb);return;}this[_0x9cca7b(0x3d9)](_0x5283bb);}}[_0x21fa21(0x3a4)](){var _0x17ba3c=_0x21fa21;this[_0x17ba3c(0x131)][_0x17ba3c(0x189)](_0x217b58=>this[_0x17ba3c(0x3d9)](_0x217b58)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x2f0986){var _0x394963=_0x21fa21;const _0x30234b=this['_compressMutationService'][_0x394963(0x404)][_0x394963(0x190)](this['_compressMutationService'][_0x394963(0x404)][_0x394963(0x23a)]()[_0x394963(0x23c)])(_0x2f0986[_0x394963(0x1ae)],null)||_0x2f0986[_0x394963(0x1ae)],_0x5ad21b={..._0x2f0986,'mutations':_0x30234b};this[_0x394963(0x2d5)](),this[_0x394963(0x3c4)](this[_0x394963(0x3d3)][_0x394963(0x28a)](_0x5ad21b)),this[_0x394963(0x401)]();}[_0x21fa21(0x2ab)](_0x2f3b2a){var _0x59a66b=_0x21fa21;this[_0x59a66b(0x2d5)](),this[_0x59a66b(0x3c4)](this[_0x59a66b(0x3d3)][_0x59a66b(0x1c9)](_0x2f3b2a)),this[_0x59a66b(0x401)]();}['_onRemoteRejected'](_0x588954){var _0x353a19=_0x21fa21;this['_lockTransition'](),this[_0x353a19(0x3c4)](this[_0x353a19(0x3d3)][_0x353a19(0x3fd)](_0x588954)),this[_0x353a19(0x401)]();}['_onRemoteRetry'](_0x31bdd7){var _0x45bfb0=_0x21fa21;this['_lockTransition'](),this[_0x45bfb0(0x3c4)](this['_state'][_0x45bfb0(0x1a0)](_0x31bdd7)),this[_0x45bfb0(0x401)]();}[_0x21fa21(0x3a9)](_0x1d749a){var _0x3f18fb=_0x21fa21;if(!(this['_state']instanceof ee))throw new TypeError(_0x3f18fb(0x219));const _0x44de2c=_0x1d749a[_0x3f18fb(0x20e)](_0x31a5de=>{var _0x5acbe6=_0x3f18fb;const _0x3d3c6b=this[_0x5acbe6(0x3ff)][_0x5acbe6(0x404)][_0x5acbe6(0x190)](this[_0x5acbe6(0x3ff)][_0x5acbe6(0x404)][_0x5acbe6(0x23a)]()[_0x5acbe6(0x23c)])(_0x31a5de[_0x5acbe6(0x1ae)],null)||_0x31a5de[_0x5acbe6(0x1ae)];return{..._0x31a5de,'mutations':_0x3d3c6b};});this['_lockTransition'](),this[_0x3f18fb(0x3c4)](this['_state'][_0x3f18fb(0x18a)](_0x44de2c)),this[_0x3f18fb(0x401)]();}[_0x21fa21(0x1dd)](){var _0x284082=_0x21fa21;this[_0x284082(0x2d5)](),this[_0x284082(0x3c4)](this['_state']['toggleOffline']()),this[_0x284082(0x401)]();}['_toggleOnline'](_0x4ba7fc=!0x1){var _0x409d56=_0x21fa21;this[_0x409d56(0x2d5)](),this[_0x409d56(0x3c4)](this[_0x409d56(0x3d3)][_0x409d56(0x2df)]()),this[_0x409d56(0x401)]();const _0x223347=this[_0x409d56(0x3d3)];_0x4ba7fc&&_0x223347 instanceof Ne&&(this[_0x409d56(0x2d5)](),this['_updateState'](_0x223347['fetchMiss']()),this[_0x409d56(0x401)]());}async[_0x21fa21(0x14c)](){return new Promise(_0x2735d6=>{var _0x6b45a6=_0x4934;this[_0x6b45a6(0x2a0)][_0x6b45a6(0x386)][_0x6b45a6(0x1be)](_0x3b10f3(0x1))[_0x6b45a6(0x223)](async _0x1e6b1f=>{var _0x300628=_0x6b45a6;_0x2735d6(await this[_0x300628(0x1d1)](_0x1e6b1f===Ee['ONLINE']));});});}['_createHandler'](){var _0x4a991f=_0x21fa21;const _0x32dca6=this[_0x4a991f(0x1ef)];return{'onStateChange':(_0x909020,_0x468b92)=>{var _0x4e5750=_0x4a991f;if(_0x909020!==this[_0x4e5750(0x3d3)])throw new Error(_0x4e5750(0x25f)+_0x909020[_0x4e5750(0x1b5)]+_0x4e5750(0x1f5)+_0x468b92[_0x4e5750(0x1b5)]+_0x4e5750(0x323)+this[_0x4e5750(0x3d3)][_0x4e5750(0x1b5)]);this['_updateState'](_0x468b92);},'onSendChangeset':_0x135587=>{var _0x2c9b40=_0x4a991f;_0x135587[_0x2c9b40(0x3f2)]||(_0x135587['sid']=this[_0x2c9b40(0x36e)],_0x135587['reqId']=++this[_0x2c9b40(0x1a8)]);const _0x793e23={'eventID':_0xea38b9[_0x2c9b40(0x198)],'data':{'unitID':_0x135587[_0x2c9b40(0x1ef)],'unitType':this[_0x2c9b40(0x22c)],'changeset':_0x135587,'memberID':this[_0x2c9b40(0x2a0)]['getMemberID']()}};this['session']['send'](_0x793e23,this[_0x2c9b40(0x1ef)]);},'onMissingChangesets':({from:_0x1518bf,to:_0x40f5d0})=>{var _0x1f2d4e=_0x4a991f;this['_logService']['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1518bf+_0x1f2d4e(0x2c6)+_0x40f5d0);const _0x442674={'eventID':_0xea38b9[_0x1f2d4e(0x2b2)],'data':{'unitID':_0x32dca6,'unitType':this[_0x1f2d4e(0x22c)],'from':_0x1518bf,'to':_0x40f5d0}};this[_0x1f2d4e(0x2a0)]['send'](_0x442674,this[_0x1f2d4e(0x1ef)]);}};}async[_0x21fa21(0x1d1)](_0xcb47b8){var _0x1d0796=_0x21fa21,_0x4aa090,_0x176862,_0x16f026;const _0x163a10=await((_0x4aa090=this[_0x1d0796(0x242)])==null?void 0x0:_0x4aa090[_0x1d0796(0x249)](this[_0x1d0796(0x1ef)])),_0x1f9cc3=(_0x176862=_0x163a10==null?void 0x0:_0x163a10['mutations'])!=null?_0x176862:[],_0x116b90=(_0x16f026=_0x163a10==null?void 0x0:_0x163a10[_0x1d0796(0x17a)])!=null?_0x16f026:null,_0x4d17e1=!!(_0x116b90!=null&&_0x116b90[_0x1d0796(0x3f2)])&&!!(_0x116b90!=null&&_0x116b90[_0x1d0796(0x41e)]);this[_0x1d0796(0x36e)]=_0x4d17e1?_0x116b90[_0x1d0796(0x3f2)]:Zn(),this['_changesetReqId']=_0x4d17e1?_0x116b90[_0x1d0796(0x41e)]:0x0;const _0x18ea63=this[_0x1d0796(0x1ef)];try{this[_0x1d0796(0x35e)](_0x116b90,_0x1f9cc3);}catch(_0x5b22c2){this[_0x1d0796(0x233)][_0x1d0796(0x1e9)](_0x5b22c2);}const _0x551964=this[_0x1d0796(0x2c7)]();if(_0xcb47b8){const _0x10f620=yi(this[_0x1d0796(0x1f8)],_0x18ea63,this[_0x1d0796(0x22c)],_0x116b90,_0x1f9cc3,_0x551964);return _0x10f620 instanceof ae?_0x10f620[_0x1d0796(0x2ea)]():(_0x10f620 instanceof oe||_0x10f620 instanceof le)&&_0x10f620['resend'](),_0x10f620;}return this[_0x1d0796(0x1f8)][_0x1d0796(0x2b1)](de,_0x18ea63,this[_0x1d0796(0x22c)],_0x116b90,_0x1f9cc3,_0x551964);}[_0x21fa21(0x35e)](_0x27c6b5,_0x1dbb4a){var _0x182b2a=_0x21fa21,_0x4954d3,_0x583390;const _0xe5fe71=this[_0x182b2a(0x3ff)][_0x182b2a(0x404)][_0x182b2a(0x190)](this[_0x182b2a(0x3ff)][_0x182b2a(0x404)][_0x182b2a(0x23a)]()[_0x182b2a(0x23c)]);(_0x4954d3=_0xe5fe71((_0x27c6b5==null?void 0x0:_0x27c6b5[_0x182b2a(0x1ae)])||[],null))==null||_0x4954d3[_0x182b2a(0x189)](_0x22a555=>this['_commandService'][_0x182b2a(0x149)](_0x22a555['id'],_0x22a555['params'])),(_0x583390=_0xe5fe71(_0x1dbb4a||[],null))==null||_0x583390[_0x182b2a(0x189)](_0x380a48=>this[_0x182b2a(0x2cb)][_0x182b2a(0x149)](_0x380a48['id'],_0x380a48['params']));}};nt=Lt([H(0x3,_0x19c414(_0x50fda6)),H(0x4,_0x19c414(_0x1d8788)),H(0x5,_0x19c414(_0x4ac43d)),H(0x6,_0x19c414(_0x16a918)),H(0x7,_0x19c414(pe)),H(0x8,_0x459fda),H(0x9,_0x1ce977),H(0xa,_0x19d05d),H(0xb,_0x548a6f(ht)),H(0xc,_0x548a6f(J))],nt);let It=class extends nt{constructor(_0x1a219d,_0x5f7c62,_0x17465a,_0x59ad91,_0x4aff7a,_0x4d9acf,_0x421b46,_0x1e4439,_0x2c635b,_0x3c96dd,_0x770287,_0x25a858,_0xb1d9dc){var _0x2045ef=_0x21fa21;super(_0x1a219d,_0x17465a,_0x5f7c62,_0x59ad91,_0x4aff7a,_0x4d9acf,_0x421b46,_0x1e4439,_0x2c635b,_0x3c96dd,_0x770287,_0x25a858,_0xb1d9dc),N(this,'_handlerCallback',null),(this[_0x2045ef(0x1ef)]=_0x1a219d,this[_0x2045ef(0x231)]=_0x5f7c62);}[_0x21fa21(0x37f)](_0xe20b14){this['_handlerCallback']=_0xe20b14;}[_0x21fa21(0x297)](){var _0x48fc23=_0x21fa21;this[_0x48fc23(0x3fa)]=null,super[_0x48fc23(0x297)]();}[_0x21fa21(0x2c7)](){var _0x39c1d6=_0x21fa21;const _0x1db487=super[_0x39c1d6(0x2c7)]();return _0x1db487[_0x39c1d6(0x389)]=_0x59bfcc=>{var _0x30ce8c=_0x39c1d6,_0x1678b5,_0x47a873;return(_0x47a873=(_0x1678b5=this['_handlerCallback'])==null?void 0x0:_0x1678b5[_0x30ce8c(0x389)])==null?void 0x0:_0x47a873[_0x30ce8c(0x377)](_0x1678b5,_0x59bfcc);},_0x1db487[_0x39c1d6(0x413)]=_0x465244=>{var _0x358995=_0x39c1d6,_0x29819c,_0x51fe9a;return(_0x51fe9a=(_0x29819c=this[_0x358995(0x3fa)])==null?void 0x0:_0x29819c['onTransformState'])==null?void 0x0:_0x51fe9a[_0x358995(0x377)](_0x29819c,_0x465244);},_0x1db487[_0x39c1d6(0x3e1)]=_0x456365=>{var _0x529195=_0x39c1d6,_0x30c0d9,_0x5615ee;return(_0x5615ee=(_0x30c0d9=this[_0x529195(0x3fa)])==null?void 0x0:_0x30c0d9['onTransformSelections'])==null?void 0x0:_0x5615ee[_0x529195(0x377)](_0x30c0d9,_0x456365);},_0x1db487['onSyncEditingCollabCursor']=_0x352972=>{var _0x491c65=_0x39c1d6,_0x4cc50c,_0x2023bd;return(_0x2023bd=(_0x4cc50c=this[_0x491c65(0x3fa)])==null?void 0x0:_0x4cc50c[_0x491c65(0x27c)])==null?void 0x0:_0x2023bd[_0x491c65(0x377)](_0x4cc50c,_0x352972);},_0x1db487[_0x39c1d6(0x29c)]=_0x27a0b5=>{var _0x10350a=_0x39c1d6,_0x3bf212,_0xd6d929,_0x2658c0;if(!((_0x3bf212=this['_handlerCallback'])!=null&&_0x3bf212['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2658c0=(_0xd6d929=this['_handlerCallback'])==null?void 0x0:_0xd6d929[_0x10350a(0x29c)])==null?void 0x0:_0x2658c0['call'](_0xd6d929,_0x27a0b5);},_0x1db487[_0x39c1d6(0x30f)]=_0x159f63=>{var _0x49c6f6=_0x39c1d6,_0x59d938,_0xb772b8,_0x413ed5;if(!((_0x59d938=this[_0x49c6f6(0x3fa)])!=null&&_0x59d938[_0x49c6f6(0x30f)]))throw new Error(_0x49c6f6(0x2ae));return(_0x413ed5=(_0xb772b8=this[_0x49c6f6(0x3fa)])==null?void 0x0:_0xb772b8['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x413ed5['call'](_0xb772b8,_0x159f63);},_0x1db487;}async[_0x21fa21(0x2c2)](){var _0x5d7e58=_0x21fa21;const _0x695a1a=await super['_init']();return this['disposeWithMe'](this[_0x5d7e58(0x2cb)][_0x5d7e58(0x3ba)]((_0x543f52,_0x98e57d)=>{var _0x55d922=_0x5d7e58;if(_0x543f52['type']!==_0x5e236c[_0x55d922(0x31e)]||_0x98e57d!=null&&_0x98e57d[_0x55d922(0x335)]||_0x98e57d!=null&&_0x98e57d[_0x55d922(0x2c0)]||_0x543f52['id']===_0x309e0['id'])return;const _0x463a40=_0x543f52[_0x55d922(0x301)];if((_0x463a40==null?void 0x0:_0x463a40[_0x55d922(0x2e6)])!==this[_0x55d922(0x1ef)])return;const _0x3358a7=_0x543f52,_0x36e273=this[_0x55d922(0x3ff)]['interceptor'][_0x55d922(0x190)](this[_0x55d922(0x3ff)][_0x55d922(0x404)]['getInterceptPoints']()[_0x55d922(0x151)])([_0x3358a7],null)||[_0x3358a7];this[_0x55d922(0x16b)](_0x36e273[0x0]);})),_0x695a1a;}};It=Lt([H(0x3,_0x19c414(_0x50fda6)),H(0x4,_0x19c414(_0x1d8788)),H(0x5,_0x19c414(_0x4ac43d)),H(0x6,_0x19c414(_0x16a918)),H(0x7,_0x19c414(pe)),H(0x8,_0x459fda),H(0x9,_0x1ce977),H(0xa,_0x19d05d),H(0xb,_0x548a6f(ht)),H(0xc,_0x548a6f(J))],It);let Tt=class extends nt{constructor(_0x51b674,_0x21b102,_0xe75533,_0x28687b,_0x2106de,_0x4909d0,_0x81292b,_0x5d7ee4,_0xb66956,_0x4058be,_0x3bd393,_0x255f01,_0x584b61,_0x3f6343){var _0xd954e9=_0x21fa21;super(_0x51b674,_0xe75533,_0x21b102,_0x28687b,_0x2106de,_0x4909d0,_0x81292b,_0xb66956,_0x4058be,_0x3bd393,_0x255f01,_0x584b61,_0x3f6343),this[_0xd954e9(0x1ef)]=_0x51b674,this['type']=_0x21b102,this[_0xd954e9(0x173)]=_0x5d7ee4;}[_0x21fa21(0x2c7)](){var _0x5b6ed5=_0x21fa21;const _0x2cfed1=super[_0x5b6ed5(0x2c7)]();return _0x2cfed1[_0x5b6ed5(0x3e1)]=_0x551c74=>this[_0x5b6ed5(0x173)][_0x5b6ed5(0x3bc)](_0x551c74),_0x2cfed1;}async[_0x21fa21(0x2c2)](){var _0x4473ec=_0x21fa21;const _0x16b2f8=await super[_0x4473ec(0x2c2)]();return this['disposeWithMe'](this[_0x4473ec(0x2cb)][_0x4473ec(0x3ba)]((_0x53ac2e,_0x37d219)=>{var _0x26073c=_0x4473ec;if(_0x53ac2e[_0x26073c(0x231)]!==_0x5e236c['MUTATION']||_0x37d219!=null&&_0x37d219[_0x26073c(0x335)]||_0x37d219!=null&&_0x37d219[_0x26073c(0x2c0)])return;const _0x56e2a8=_0x53ac2e['params'];if((_0x56e2a8==null?void 0x0:_0x56e2a8[_0x26073c(0x2e6)])!==this['unitID'])return;const _0xba782c=_0x53ac2e,_0x15fc29=this[_0x26073c(0x3ff)]['interceptor'][_0x26073c(0x190)](this[_0x26073c(0x3ff)][_0x26073c(0x404)][_0x26073c(0x23a)]()[_0x26073c(0x151)])([_0xba782c],null)||[_0xba782c];this[_0x26073c(0x16b)](_0x15fc29[0x0]);})),_0x16b2f8;}};Tt=Lt([H(0x3,_0x19c414(_0x50fda6)),H(0x4,_0x19c414(_0x1d8788)),H(0x5,_0x19c414(_0x4ac43d)),H(0x6,_0x19c414(_0x16a918)),H(0x7,_0x19c414(it)),H(0x8,_0x19c414(pe)),H(0x9,_0x459fda),H(0xa,_0x1ce977),H(0xb,_0x19d05d),H(0xc,_0x548a6f(ht)),H(0xd,_0x548a6f(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x402202,_0x1d081d,_0x5f2f7b,_0x138824)=>{var _0x2c93f5=_0x21fa21;for(var _0x56751a=_0x138824>0x1?void 0x0:_0x138824?os(_0x1d081d,_0x5f2f7b):_0x1d081d,_0x181908=_0x402202[_0x2c93f5(0x286)]-0x1,_0x3199f0;_0x181908>=0x0;_0x181908--)(_0x3199f0=_0x402202[_0x181908])&&(_0x56751a=_0x3199f0(_0x56751a)||_0x56751a);return _0x56751a;},ft=(_0x21cbb7,_0x5a9590)=>(_0x2e93f3,_0x47482b)=>_0x5a9590(_0x2e93f3,_0x47482b,_0x21cbb7);let st=class extends _0x37cb10{constructor(_0x55bc10,_0x275f66,_0x7827c7){var _0x43ae8a=_0x21fa21;super(),N(this,_0x43ae8a(0x394),new Map()),N(this,_0x43ae8a(0x2c9),new _0x1db3bf()),N(this,_0x43ae8a(0x268),this[_0x43ae8a(0x2c9)][_0x43ae8a(0x27d)]()),(this[_0x43ae8a(0x1f8)]=_0x55bc10,this[_0x43ae8a(0x1c7)]=_0x275f66,this[_0x43ae8a(0x282)]=_0x7827c7,this[_0x43ae8a(0x2c2)]());}[_0x21fa21(0x297)](){var _0x51b5e9=_0x21fa21;super[_0x51b5e9(0x297)](),this[_0x51b5e9(0x394)][_0x51b5e9(0x189)](_0x5a1bb7=>_0x5a1bb7[_0x51b5e9(0x297)]()),this['_entities'][_0x51b5e9(0x19c)]();}[_0x21fa21(0x3bd)](_0x12a1a2){var _0x4317b6=_0x21fa21,_0x1a38fc;return(_0x1a38fc=this[_0x4317b6(0x394)][_0x4317b6(0x3f7)](_0x12a1a2))!=null?_0x1a38fc:null;}[_0x21fa21(0x38d)](_0x43c231){var _0x20049a=_0x21fa21;const _0x323cb1=this['getCollabEntity'](_0x43c231);return _0x323cb1?_0x169840(_0x323cb1):this[_0x20049a(0x2c9)][_0x20049a(0x1be)](_0x439f72(_0x2b5345=>_0x2b5345[_0x20049a(0x1ef)]===_0x43c231));}[_0x21fa21(0x2bc)](_0x3481dd){var _0x33087c=_0x21fa21;return _0x461100(this['getCollabEntity$'](_0x3481dd)[_0x33087c(0x1be)](_0x7fca1a(()=>{})));}['_init'](){var _0x3dbf23=_0x21fa21;this[_0x3dbf23(0x282)][_0x3dbf23(0x3a6)](_0x57bf09[_0x3dbf23(0x19a)])['pipe'](_0x5e89af(this[_0x3dbf23(0x186)]),_0x4dde13(0x10))[_0x3dbf23(0x223)](async _0x16d112=>{var _0x50cf84=_0x3dbf23;const _0x56d63f=_0x16d112[_0x50cf84(0x1df)](),_0x5ded2b=await this[_0x50cf84(0x38f)](_0x56d63f,Q[_0x50cf84(0x19a)]);this[_0x50cf84(0x394)][_0x50cf84(0x3c1)](_0x56d63f,_0x5ded2b);}),this[_0x3dbf23(0x282)]['getTypeOfUnitAdded$'](_0x57bf09[_0x3dbf23(0x240)])[_0x3dbf23(0x1be)](_0x5e89af(this[_0x3dbf23(0x186)]),_0x4dde13(0x10))[_0x3dbf23(0x1be)](_0x439f72(_0x30b4a0=>!_0x30b4a0['getUnitId']()['startsWith']('__')))[_0x3dbf23(0x223)](async _0x1a5ccf=>{var _0x404aed=_0x3dbf23;const _0x49ad2a=_0x1a5ccf['getUnitId'](),_0x102745=await this[_0x404aed(0x38f)](_0x49ad2a,Q['UNIVER_DOC']);this[_0x404aed(0x394)][_0x404aed(0x3c1)](_0x49ad2a,_0x102745);}),_0x3b99f9(this[_0x3dbf23(0x282)][_0x3dbf23(0x39b)](_0x57bf09['UNIVER_SHEET']),this[_0x3dbf23(0x282)][_0x3dbf23(0x39b)](_0x57bf09[_0x3dbf23(0x240)]))[_0x3dbf23(0x1be)](_0x5e89af(this[_0x3dbf23(0x186)]))[_0x3dbf23(0x223)](_0x392ab6=>{var _0x25750d=_0x3dbf23;const _0x5a2d55=_0x392ab6[_0x25750d(0x1df)](),_0x5199d2=this[_0x25750d(0x394)][_0x25750d(0x3f7)](_0x5a2d55);_0x5199d2&&(_0x5199d2[_0x25750d(0x297)](),this[_0x25750d(0x394)]['delete'](_0x5a2d55));});}async['_startCollaboration'](_0x47615a,_0x30e4ae){var _0x4a08b4=_0x21fa21;const _0x49eb6c=await this[_0x4a08b4(0x1c7)][_0x4a08b4(0x3ac)](_0x47615a),_0x53ce01=this['_injector'][_0x4a08b4(0x2b1)](this[_0x4a08b4(0x265)](_0x30e4ae),_0x47615a,_0x30e4ae,_0x49eb6c);return await _0x53ce01[_0x4a08b4(0x1da)](),this[_0x4a08b4(0x2c9)]['next'](_0x53ce01),_0x53ce01;}[_0x21fa21(0x265)](_0x1bf13c){var _0x256518=_0x21fa21;switch(_0x1bf13c){case Q[_0x256518(0x240)]:return It;case Q[_0x256518(0x19a)]:return Tt;default:throw new Error(_0x256518(0x3a7)+_0x1bf13c);}}};st=cs([ft(0x0,_0x19c414(_0x50fda6)),ft(0x1,_0x19c414(Me)),ft(0x2,_0x11d3ee)],st);var hs=Object[_0x21fa21(0x16f)],_s=(_0x178dbb,_0x2c38e8,_0x1020cf,_0x41a7ea)=>{var _0x350d54=_0x21fa21;for(var _0x18e4ea=_0x41a7ea>0x1?void 0x0:_0x41a7ea?hs(_0x2c38e8,_0x1020cf):_0x2c38e8,_0x4ddb27=_0x178dbb[_0x350d54(0x286)]-0x1,_0x4faeb8;_0x4ddb27>=0x0;_0x4ddb27--)(_0x4faeb8=_0x178dbb[_0x4ddb27])&&(_0x18e4ea=_0x4faeb8(_0x18e4ea)||_0x18e4ea);return _0x18e4ea;},zt=(_0x4b2630,_0x1247d0)=>(_0x4f3d54,_0x45ae9a)=>_0x1247d0(_0x4f3d54,_0x45ae9a,_0x4b2630);const ls=_0x21fa21(0x302),us='Univer';let Ct=class extends _0x23b53b{constructor(_0x4db372,_0x2eb083){var _0x159207=_0x21fa21;super(),this['_univerInstanceService']=_0x4db372,this[_0x159207(0x1a6)]=_0x2eb083,this[_0x159207(0x2c2)]();}[_0x21fa21(0x2c2)](){var _0x2ec54b=_0x21fa21;this[_0x2ec54b(0x2f1)](this['_univerInstanceService']['focused$'][_0x2ec54b(0x223)](()=>{var _0x21a4cf=_0x2ec54b,_0x161455;const _0x204db6=this['_univerInstanceService'][_0x21a4cf(0x19b)]();let _0x49a90a=(_0x161455=this['_configService']['getConfig'](ls))!=null?_0x161455:us;_0x204db6 instanceof _0xc13b30&&(_0x49a90a=_0x204db6[_0x21a4cf(0x3ad)]),document[_0x21a4cf(0x1eb)]=_0x49a90a;}));}};Ct=_s([zt(0x0,_0x11d3ee),zt(0x1,_0x51423a)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x3c8cef,_0x55153c,_0x1388b1,_0x3027e1)=>{var _0x5de753=_0x21fa21;for(var _0x5d29d0=_0x3027e1>0x1?void 0x0:_0x3027e1?ds(_0x55153c,_0x1388b1):_0x55153c,_0x2d441=_0x3c8cef[_0x5de753(0x286)]-0x1,_0x3196eb;_0x2d441>=0x0;_0x2d441--)(_0x3196eb=_0x3c8cef[_0x2d441])&&(_0x5d29d0=_0x3196eb(_0x5d29d0)||_0x5d29d0);return _0x5d29d0;},vt=(_0x401deb,_0x5a91c0)=>(_0x13d917,_0x2ceaf8)=>_0x5a91c0(_0x13d917,_0x2ceaf8,_0x401deb);let rt=class{constructor(_0x2bed69,_0x277f13,_0xdadf93){var _0x47f1e9=_0x21fa21;this[_0x47f1e9(0x1a6)]=_0x2bed69,this[_0x47f1e9(0x32a)]=_0x277f13,this[_0x47f1e9(0x376)]=_0xdadf93,this[_0x47f1e9(0x1da)]();}[_0x21fa21(0x1da)](){var _0x4efa0b=_0x21fa21;this[_0x4efa0b(0x32a)][_0x4efa0b(0x2d2)]({'priority':0x1,'interceptor':(_0x36c0ca,_0x22e378)=>_0x22e378(_0x36c0ca)['pipe'](_0x9bafb0(async _0x4861f8=>{var _0x1b5825=_0x4efa0b;const _0x498499=_0x4861f8;if(_0x498499[_0x1b5825(0x1b5)]===0x191){if(typeof window>'u')throw new Error(_0x1b5825(0x1fd));if(window['confirm'](this[_0x1b5825(0x376)]['t'](_0x1b5825(0x2d9)))){const _0x4d7e15=window[_0x1b5825(0x2fe)](window[_0x1b5825(0x1cd)][_0x1b5825(0x21e)]);window[_0x1b5825(0x1cd)][_0x1b5825(0x21e)]=this[_0x1b5825(0x2b4)]()+_0x1b5825(0x17e)+_0x4d7e15;}}return _0x498499;}))});}[_0x21fa21(0x2b4)](){var _0xf9a6b6=_0x21fa21,_0xad93b0,_0xe76619;const _0x4289cb=this[_0xf9a6b6(0x1a6)][_0xf9a6b6(0x417)](Un),_0x492e45=this['_configService'][_0xf9a6b6(0x417)](q);return(_0xe76619=(_0xad93b0=_0x492e45==null?void 0x0:_0x492e45[_0xf9a6b6(0x3e5)])!=null?_0xad93b0:_0x4289cb)!=null?_0xe76619:An;}};rt=fs([vt(0x0,_0x51423a),vt(0x1,_0x19c414(_0xf7c598)),vt(0x2,_0x19c414(_0x4ac43d))],rt);var vs=Object[_0x21fa21(0x16f)],ps=(_0x399fe7,_0x36db06,_0x5b9b94,_0x53fa8e)=>{var _0x4fce5d=_0x21fa21;for(var _0x543910=_0x53fa8e>0x1?void 0x0:_0x53fa8e?vs(_0x36db06,_0x5b9b94):_0x36db06,_0x31fcd3=_0x399fe7[_0x4fce5d(0x286)]-0x1,_0x452e41;_0x31fcd3>=0x0;_0x31fcd3--)(_0x452e41=_0x399fe7[_0x31fcd3])&&(_0x543910=_0x452e41(_0x543910)||_0x543910);return _0x543910;},Jt=(_0x2d637e,_0xc3b09)=>(_0x636f6,_0x107da2)=>_0xc3b09(_0x636f6,_0x107da2,_0x2d637e);const Ni=_0x21fa21(0x15a),ms=_0x21fa21(0x3c9);let Rt=class extends _0x23b53b{constructor(_0x14563b,_0x57bcc7){var _0x5b0948=_0x21fa21;super(),this[_0x5b0948(0x225)]=_0x14563b,this['_configService']=_0x57bcc7,this['_initMergeInterceptor']();}[_0x21fa21(0x172)](){var _0x4feef0=_0x21fa21;const _0x4072f9=this;this[_0x4feef0(0x2f1)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x40b73d({'isMatch'(_0x1f1292){var _0x2df60b=_0x4feef0,_0x27be12;if(_0x1f1292[_0x2df60b(0x29d)]===_0x2df60b(0x178)&&((_0x27be12=_0x1f1292[_0x2df60b(0x2b5)])!=null&&_0x27be12['body'])){const {objectID:_0x306c4d,objectType:_0x41412c}=_0x1f1292[_0x2df60b(0x2b5)][_0x2df60b(0x3bb)]||{};if(!_0x306c4d||_0x41412c===void 0x0)return!0x1;const _0x1fdfee=_0x4072f9[_0x2df60b(0x2da)]()+'/'+_0x41412c+_0x2df60b(0x1d8)+_0x306c4d+_0x2df60b(0x407);if(_0x1f1292[_0x2df60b(0x12c)]===_0x1fdfee)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x292450){var _0x256ef9=_0x4feef0,_0x23e814;return(_0x23e814=_0x292450[_0x256ef9(0x2b5)])==null?void 0x0:_0x23e814['body'];},'mergeParamsToRequest'(_0x38ca0d,_0x43fc84){var _0x4b71d3=_0x4feef0;const _0x555c69=_0x4072f9['_getAPIPrefixPath']()+_0x4b71d3(0x328),_0x2dbe33=_0x38ca0d[_0x4b71d3(0x21c)]((_0x1b052c,_0x108023)=>{var _0x40f655=_0x4b71d3;const {unitID:_0x151213,objectID:_0x350f2c,objectType:_0x40afe6,actions:_0x4a29a6}=_0x108023;return _0x1b052c[_0x151213]||(_0x1b052c[_0x151213]={}),_0x1b052c[_0x151213][_0x350f2c]||(_0x1b052c[_0x151213][_0x350f2c]={'objectID':_0x350f2c,'objectType':_0x40afe6,'actions':[]}),_0x1b052c[_0x151213][_0x350f2c][_0x40f655(0x13f)][_0x40f655(0x136)](..._0x4a29a6),_0x1b052c;},{}),_0x20b1b3=[];for(const _0x172ce5 in _0x2dbe33)for(const _0x478fcb in _0x2dbe33[_0x172ce5]){const {actions:_0x48d1d5,objectType:_0x4cc483}=_0x2dbe33[_0x172ce5][_0x478fcb],_0x469ed0=[...new Set(_0x48d1d5)];_0x20b1b3['push']({'unitID':_0x172ce5,'objectID':_0x478fcb,'objectType':_0x4cc483,'actions':_0x469ed0});}return new _0x2bac94(_0x4b71d3(0x178),_0x555c69,{'headers':_0x43fc84[_0x4b71d3(0x159)],'withCredentials':_0x43fc84['withCredentials'],'responseType':_0x43fc84[_0x4b71d3(0x384)],'body':{'requests':_0x20b1b3}});}},{'distributeResult'(_0x5eea5c,_0x4ed5d0){var _0x41c5a6=_0x4feef0;const {objectActions:_0x450ecc}=_0x5eea5c;return _0x4ed5d0[_0x41c5a6(0x20e)](_0x31ba50=>{var _0x3562af=_0x41c5a6;const {unitID:_0x30fb7a,objectID:_0x35c836,actions:_0x5c69bd}=_0x31ba50,_0x596587=_0x450ecc['find'](_0x4b42fb=>_0x4b42fb[_0x3562af(0x1ef)]===_0x30fb7a&&_0x4b42fb[_0x3562af(0x2db)]===_0x35c836),_0x33d293=_0x5c69bd['map'](_0x57b351=>_0x596587==null?void 0x0:_0x596587['actions'][_0x3562af(0x370)](_0x230274=>_0x230274[_0x3562af(0x16d)]===_0x57b351))[_0x3562af(0x2cc)](_0xdc87ef=>!!_0xdc87ef);return{'config':_0x31ba50,'result':{'actions':_0x33d293,'error':_0x5eea5c[_0x3562af(0x1e9)]}};});}})}));}[_0x21fa21(0x2da)](){var _0x5641bb=_0x21fa21,_0x5dba7d,_0x155559;const _0x410f5f=this[_0x5641bb(0x1a6)]['getConfig'](Ni),_0x4bc4a9=this['_configService']['getConfig'](q);return(_0x155559=(_0x5dba7d=_0x4bc4a9==null?void 0x0:_0x4bc4a9[_0x5641bb(0x338)])!=null?_0x5dba7d:_0x410f5f)!=null?_0x155559:ms;}async[_0x21fa21(0x1fa)](_0x19c46d){var _0x55b4bd=_0x21fa21;const _0x39aa02=this[_0x55b4bd(0x2da)]()+'/'+_0x19c46d[_0x55b4bd(0x2ed)]+_0x55b4bd(0x25a);return(await this[_0x55b4bd(0x225)][_0x55b4bd(0x37b)](_0x39aa02,{'body':_0x19c46d}))[_0x55b4bd(0x3bb)]['objectID']||'';}async[_0x21fa21(0x2a1)](_0x392e5b){var _0x115bf0=_0x21fa21;const _0x452328=this[_0x115bf0(0x2da)]()+'/-/object/list';return(await this[_0x115bf0(0x225)]['post'](_0x452328,{'body':_0x392e5b}))[_0x115bf0(0x3bb)][_0x115bf0(0x388)];}async[_0x21fa21(0x35f)](_0x12e72b){var _0x52291d=_0x21fa21,_0x2199f8,_0x298250;const _0x35ce77=this['_getAPIPrefixPath']()+'/'+_0x12e72b['objectType']+_0x52291d(0x1d8)+_0x12e72b['objectID'],_0x479de6=await this['_HTTPService'][_0x52291d(0x40c)](_0x35ce77,{'body':_0x12e72b});if(((_0x298250=(_0x2199f8=_0x479de6==null?void 0x0:_0x479de6[_0x52291d(0x3bb)])==null?void 0x0:_0x2199f8[_0x52291d(0x1e9)])==null?void 0x0:_0x298250[_0x52291d(0x176)])!==0x1)throw new Error(_0x52291d(0x29b));}async[_0x21fa21(0x381)](_0x4b15bd){var _0x3ad213=_0x21fa21;const _0x493374=this[_0x3ad213(0x2da)]()+'/'+_0x4b15bd['objectType']+_0x3ad213(0x1d8)+_0x4b15bd['objectID']+_0x3ad213(0x407);return(await this['_HTTPService'][_0x3ad213(0x37b)](_0x493374,{'body':_0x4b15bd}))[_0x3ad213(0x3bb)][_0x3ad213(0x13f)];}async[_0x21fa21(0x339)](_0x7adb42){var _0x55e77c=_0x21fa21;const _0x147ddd=this[_0x55e77c(0x2da)]()+_0x55e77c(0x328);return(await this['_HTTPService']['post'](_0x147ddd,{'body':{'requests':_0x7adb42}}))[_0x55e77c(0x3bb)][_0x55e77c(0x294)];}async[_0x21fa21(0x3bf)](_0x27ab2e){var _0x5caa17=_0x21fa21;const _0x1b1566=this[_0x5caa17(0x2da)]()+'/'+_0x27ab2e[_0x5caa17(0x2ed)]+_0x5caa17(0x229),_0x1140f6=await this[_0x5caa17(0x225)][_0x5caa17(0x37b)](_0x1b1566,{'body':_0x27ab2e});return{'roles':_0x1140f6['body'][_0x5caa17(0x14b)],'actions':_0x1140f6[_0x5caa17(0x3bb)][_0x5caa17(0x13f)]};}async[_0x21fa21(0x155)](_0x335865){var _0x18330e=_0x21fa21;const _0x17391b=this['_getAPIPrefixPath']()+_0x18330e(0x22d);await this['_HTTPService'][_0x18330e(0x29e)](_0x17391b,{'params':{'collaboratorID':_0x335865[_0x18330e(0x139)],'objectID':_0x335865['objectID'],'unitID':_0x335865[_0x18330e(0x1ef)]}});}async['updateCollaborator'](_0x22e0f8){var _0x36c5ec=_0x21fa21;const _0x440214=this[_0x36c5ec(0x2da)]()+'/collaborator';await this[_0x36c5ec(0x225)][_0x36c5ec(0x1e7)](_0x440214,{'body':_0x22e0f8});}async[_0x21fa21(0x20f)](_0x2498a8){var _0x378291=_0x21fa21;const _0x3adaf2=this[_0x378291(0x2da)]()+_0x378291(0x22d);await this[_0x378291(0x225)][_0x378291(0x37b)](_0x3adaf2,{'body':_0x2498a8});}async[_0x21fa21(0x2e8)](_0x5eacaf){var _0x42ba9f=_0x21fa21;const _0x223444=this[_0x42ba9f(0x2da)]()+_0x42ba9f(0x22d);return(await this[_0x42ba9f(0x225)][_0x42ba9f(0x3f7)](_0x223444,{'params':{'objectID':_0x5eacaf['objectID'],'unitID':_0x5eacaf['unitID']}}))[_0x42ba9f(0x3bb)][_0x42ba9f(0x154)];}async[_0x21fa21(0x299)](_0x3a090e){var _0x2fec01=_0x21fa21;const _0x4f715c=this[_0x2fec01(0x2da)]()+_0x2fec01(0x22d);await this[_0x2fec01(0x225)][_0x2fec01(0x40c)](_0x4f715c,{'body':_0x3a090e});}};Rt=ps([Jt(0x0,_0x19c414(_0xf7c598)),Jt(0x1,_0x19c414(_0x51423a))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x26fcd9){var _0x4e3b47=_0x21fa21;return _0x26fcd9&&_0x26fcd9[_0x4e3b47(0x321)]&&Object[_0x4e3b47(0x205)][_0x4e3b47(0x3fe)]['call'](_0x26fcd9,_0x4e3b47(0x2ce))?_0x26fcd9[_0x4e3b47(0x2ce)]:_0x26fcd9;}var Ve={'exports':{}};function gs(_0x53a253){var _0x3aabf1=_0x21fa21;throw new Error(_0x3aabf1(0x168)+_0x53a253+_0x3aabf1(0x1a1));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x29dd71=_0x21fa21;return Xt||(Xt=0x1,function(_0x9f7ab7,_0x262a7f){(function(_0x548ac9,_0x4efaa9){var _0x5c9484=_0x4934;_0x9f7ab7[_0x5c9484(0x3b4)]=_0x4efaa9();}(Ss,function(){var _0x4971ed=_0x4971ed||function(_0x4191f1,_0x52a091){var _0x369dda=_0x4934,_0x5829e3;if(typeof window<'u'&&window[_0x369dda(0x2b0)]&&(_0x5829e3=window[_0x369dda(0x2b0)]),typeof self<'u'&&self[_0x369dda(0x2b0)]&&(_0x5829e3=self[_0x369dda(0x2b0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5829e3=globalThis[_0x369dda(0x2b0)]),!_0x5829e3&&typeof window<'u'&&window[_0x369dda(0x12b)]&&(_0x5829e3=window[_0x369dda(0x12b)]),!_0x5829e3&&typeof pt<'u'&&pt['crypto']&&(_0x5829e3=pt[_0x369dda(0x2b0)]),!_0x5829e3&&typeof gs=='function')try{_0x5829e3=require(_0x369dda(0x2b0));}catch{}var _0xbb7d=function(){var _0x36d1ed=_0x369dda;if(_0x5829e3){if(typeof _0x5829e3[_0x36d1ed(0x41c)]==_0x36d1ed(0x3c7))try{return _0x5829e3['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5829e3['randomBytes']==_0x36d1ed(0x3c7))try{return _0x5829e3['randomBytes'](0x4)[_0x36d1ed(0x12e)]();}catch{}}throw new Error(_0x36d1ed(0x2de));},_0x385896=Object['create']||(function(){function _0x2ac575(){}return function(_0x305382){var _0x51a7eb=_0x4934,_0x5c8816;return _0x2ac575['prototype']=_0x305382,_0x5c8816=new _0x2ac575(),_0x2ac575[_0x51a7eb(0x205)]=null,_0x5c8816;};}()),_0x202577={},_0x106f10=_0x202577['lib']={},_0x1b81c0=_0x106f10[_0x369dda(0x232)]=(function(){return{'extend':function(_0x1fda5a){var _0x478613=_0x4934,_0x227be7=_0x385896(this);return _0x1fda5a&&_0x227be7[_0x478613(0x385)](_0x1fda5a),(!_0x227be7[_0x478613(0x3fe)](_0x478613(0x1da))||this[_0x478613(0x1da)]===_0x227be7[_0x478613(0x1da)])&&(_0x227be7[_0x478613(0x1da)]=function(){var _0x4c1db0=_0x478613;_0x227be7[_0x4c1db0(0x36c)][_0x4c1db0(0x1da)][_0x4c1db0(0x2ba)](this,arguments);}),_0x227be7[_0x478613(0x1da)][_0x478613(0x205)]=_0x227be7,_0x227be7[_0x478613(0x36c)]=this,_0x227be7;},'create':function(){var _0x1d2084=_0x4934,_0x1ff904=this[_0x1d2084(0x3e6)]();return _0x1ff904[_0x1d2084(0x1da)]['apply'](_0x1ff904,arguments),_0x1ff904;},'init':function(){},'mixIn':function(_0x3c6454){var _0x2f1493=_0x4934;for(var _0x10a88e in _0x3c6454)_0x3c6454[_0x2f1493(0x3fe)](_0x10a88e)&&(this[_0x10a88e]=_0x3c6454[_0x10a88e]);_0x3c6454[_0x2f1493(0x3fe)]('toString')&&(this['toString']=_0x3c6454['toString']);},'clone':function(){var _0xd51090=_0x4934;return this[_0xd51090(0x1da)][_0xd51090(0x205)][_0xd51090(0x3e6)](this);}};}()),_0x2266e9=_0x106f10[_0x369dda(0x375)]=_0x1b81c0[_0x369dda(0x3e6)]({'init':function(_0xea241,_0x197951){var _0x367cb6=_0x369dda;_0xea241=this[_0x367cb6(0x255)]=_0xea241||[],_0x197951!=_0x52a091?this[_0x367cb6(0x2b9)]=_0x197951:this[_0x367cb6(0x2b9)]=_0xea241[_0x367cb6(0x286)]*0x4;},'toString':function(_0x43288a){var _0x39546f=_0x369dda;return(_0x43288a||_0x1187d2)[_0x39546f(0x306)](this);},'concat':function(_0x262869){var _0x4ef4a6=_0x369dda,_0x5391f3=this[_0x4ef4a6(0x255)],_0x2efd30=_0x262869[_0x4ef4a6(0x255)],_0x636c28=this[_0x4ef4a6(0x2b9)],_0x531fc0=_0x262869[_0x4ef4a6(0x2b9)];if(this[_0x4ef4a6(0x279)](),_0x636c28%0x4)for(var _0x325ab0=0x0;_0x325ab0<_0x531fc0;_0x325ab0++){var _0x3b048f=_0x2efd30[_0x325ab0>>>0x2]>>>0x18-_0x325ab0%0x4*0x8&0xff;_0x5391f3[_0x636c28+_0x325ab0>>>0x2]|=_0x3b048f<<0x18-(_0x636c28+_0x325ab0)%0x4*0x8;}else{for(var _0x434e26=0x0;_0x434e26<_0x531fc0;_0x434e26+=0x4)_0x5391f3[_0x636c28+_0x434e26>>>0x2]=_0x2efd30[_0x434e26>>>0x2];}return this['sigBytes']+=_0x531fc0,this;},'clamp':function(){var _0xeffb95=_0x369dda,_0x2e59c8=this[_0xeffb95(0x255)],_0x28fb2c=this['sigBytes'];_0x2e59c8[_0x28fb2c>>>0x2]&=0xffffffff<<0x20-_0x28fb2c%0x4*0x8,_0x2e59c8[_0xeffb95(0x286)]=_0x4191f1['ceil'](_0x28fb2c/0x4);},'clone':function(){var _0x21094f=_0x369dda,_0x265690=_0x1b81c0[_0x21094f(0x208)]['call'](this);return _0x265690[_0x21094f(0x255)]=this[_0x21094f(0x255)][_0x21094f(0x2bb)](0x0),_0x265690;},'random':function(_0x4f3cc8){var _0x873cd7=_0x369dda;for(var _0x277463=[],_0x4cdd0d=0x0;_0x4cdd0d<_0x4f3cc8;_0x4cdd0d+=0x4)_0x277463[_0x873cd7(0x136)](_0xbb7d());return new _0x2266e9['init'](_0x277463,_0x4f3cc8);}}),_0x1587e5=_0x202577['enc']={},_0x1187d2=_0x1587e5['Hex']={'stringify':function(_0x513064){var _0x1ce475=_0x369dda;for(var _0x29102b=_0x513064['words'],_0x10de0d=_0x513064[_0x1ce475(0x2b9)],_0x23bb45=[],_0x190c50=0x0;_0x190c50<_0x10de0d;_0x190c50++){var _0x15b47f=_0x29102b[_0x190c50>>>0x2]>>>0x18-_0x190c50%0x4*0x8&0xff;_0x23bb45[_0x1ce475(0x136)]((_0x15b47f>>>0x4)[_0x1ce475(0x1bb)](0x10)),_0x23bb45[_0x1ce475(0x136)]((_0x15b47f&0xf)[_0x1ce475(0x1bb)](0x10));}return _0x23bb45[_0x1ce475(0x1cc)]('');},'parse':function(_0x15bde4){var _0x1c4a5b=_0x369dda;for(var _0xe2f9a0=_0x15bde4[_0x1c4a5b(0x286)],_0x4609b6=[],_0x902b33=0x0;_0x902b33<_0xe2f9a0;_0x902b33+=0x2)_0x4609b6[_0x902b33>>>0x3]|=parseInt(_0x15bde4[_0x1c4a5b(0x2fa)](_0x902b33,0x2),0x10)<<0x18-_0x902b33%0x8*0x4;return new _0x2266e9[(_0x1c4a5b(0x1da))](_0x4609b6,_0xe2f9a0/0x2);}},_0x2f4060=_0x1587e5[_0x369dda(0x2cd)]={'stringify':function(_0x5eaad3){var _0x19744a=_0x369dda;for(var _0x59a2c3=_0x5eaad3[_0x19744a(0x255)],_0x5f5686=_0x5eaad3[_0x19744a(0x2b9)],_0x5777e7=[],_0x32b485=0x0;_0x32b485<_0x5f5686;_0x32b485++){var _0x3016cd=_0x59a2c3[_0x32b485>>>0x2]>>>0x18-_0x32b485%0x4*0x8&0xff;_0x5777e7[_0x19744a(0x136)](String['fromCharCode'](_0x3016cd));}return _0x5777e7[_0x19744a(0x1cc)]('');},'parse':function(_0x56745e){var _0x2ae60c=_0x369dda;for(var _0x59877b=_0x56745e[_0x2ae60c(0x286)],_0x56927f=[],_0x3b4dcb=0x0;_0x3b4dcb<_0x59877b;_0x3b4dcb++)_0x56927f[_0x3b4dcb>>>0x2]|=(_0x56745e['charCodeAt'](_0x3b4dcb)&0xff)<<0x18-_0x3b4dcb%0x4*0x8;return new _0x2266e9[(_0x2ae60c(0x1da))](_0x56927f,_0x59877b);}},_0x42b56d=_0x1587e5['Utf8']={'stringify':function(_0x91c7fb){var _0x5b693f=_0x369dda;try{return decodeURIComponent(escape(_0x2f4060[_0x5b693f(0x306)](_0x91c7fb)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4e8ac6){var _0x2456db=_0x369dda;return _0x2f4060[_0x2456db(0x27e)](unescape(encodeURIComponent(_0x4e8ac6)));}},_0x56f3f4=_0x106f10[_0x369dda(0x182)]=_0x1b81c0[_0x369dda(0x3e6)]({'reset':function(){var _0x23c5cb=_0x369dda;this[_0x23c5cb(0x20d)]=new _0x2266e9[(_0x23c5cb(0x1da))](),this[_0x23c5cb(0x3e8)]=0x0;},'_append':function(_0x3314d9){var _0x2e7b33=_0x369dda;typeof _0x3314d9==_0x2e7b33(0x228)&&(_0x3314d9=_0x42b56d[_0x2e7b33(0x27e)](_0x3314d9)),this[_0x2e7b33(0x20d)][_0x2e7b33(0x427)](_0x3314d9),this['_nDataBytes']+=_0x3314d9[_0x2e7b33(0x2b9)];},'_process':function(_0x3657ed){var _0x407315=_0x369dda,_0x2eda01,_0x54fc94=this['_data'],_0x50bb36=_0x54fc94[_0x407315(0x255)],_0x4d0935=_0x54fc94[_0x407315(0x2b9)],_0x3b453c=this[_0x407315(0x372)],_0x1fb2df=_0x3b453c*0x4,_0x381551=_0x4d0935/_0x1fb2df;_0x3657ed?_0x381551=_0x4191f1[_0x407315(0x300)](_0x381551):_0x381551=_0x4191f1['max']((_0x381551|0x0)-this[_0x407315(0x32f)],0x0);var _0x5348f9=_0x381551*_0x3b453c,_0x5acfa9=_0x4191f1[_0x407315(0x27f)](_0x5348f9*0x4,_0x4d0935);if(_0x5348f9){for(var _0x3705c2=0x0;_0x3705c2<_0x5348f9;_0x3705c2+=_0x3b453c)this[_0x407315(0x2a4)](_0x50bb36,_0x3705c2);_0x2eda01=_0x50bb36[_0x407315(0x133)](0x0,_0x5348f9),_0x54fc94[_0x407315(0x2b9)]-=_0x5acfa9;}return new _0x2266e9[(_0x407315(0x1da))](_0x2eda01,_0x5acfa9);},'clone':function(){var _0x1ab312=_0x369dda,_0x363fa4=_0x1b81c0['clone'][_0x1ab312(0x377)](this);return _0x363fa4[_0x1ab312(0x20d)]=this['_data']['clone'](),_0x363fa4;},'_minBufferSize':0x0});_0x106f10['Hasher']=_0x56f3f4[_0x369dda(0x3e6)]({'cfg':_0x1b81c0[_0x369dda(0x3e6)](),'init':function(_0x1181ba){var _0x3e3c51=_0x369dda;this[_0x3e3c51(0x3ce)]=this[_0x3e3c51(0x3ce)][_0x3e3c51(0x3e6)](_0x1181ba),this[_0x3e3c51(0x3f0)]();},'reset':function(){var _0x257a63=_0x369dda;_0x56f3f4[_0x257a63(0x3f0)][_0x257a63(0x377)](this),this[_0x257a63(0x21f)]();},'update':function(_0x1ead5a){var _0x22417d=_0x369dda;return this[_0x22417d(0x1f1)](_0x1ead5a),this['_process'](),this;},'finalize':function(_0x45e684){var _0x26a0eb=_0x369dda;_0x45e684&&this[_0x26a0eb(0x1f1)](_0x45e684);var _0x31fb6d=this[_0x26a0eb(0x21b)]();return _0x31fb6d;},'blockSize':0x10,'_createHelper':function(_0x3074e7){return function(_0x2f2c72,_0x8c9718){var _0x538589=_0x4934;return new _0x3074e7[(_0x538589(0x1da))](_0x8c9718)['finalize'](_0x2f2c72);};},'_createHmacHelper':function(_0x50c2ee){return function(_0x170261,_0x6d927c){var _0xacaafb=_0x4934;return new _0x3734b8[(_0xacaafb(0x23f))][(_0xacaafb(0x1da))](_0x50c2ee,_0x6d927c)[_0xacaafb(0x3be)](_0x170261);};}});var _0x3734b8=_0x202577['algo']={};return _0x202577;}(Math);return _0x4971ed;}));}(Ge)),Ge[_0x29dd71(0x3b4)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0xc3e45b,_0xcc16ff){(function(_0xab8344,_0x55e39c){var _0x13918e=_0x4934;_0xc3e45b[_0x13918e(0x3b4)]=_0x55e39c(ie());}(Es,function(_0x3670cc){var _0x368998=_0x4934;return(function(){var _0x5ecb83=_0x4934,_0x4b7c87=_0x3670cc,_0x4e4fc1=_0x4b7c87[_0x5ecb83(0x2ad)],_0x4aca0f=_0x4e4fc1[_0x5ecb83(0x375)],_0xa0b4c3=_0x4b7c87[_0x5ecb83(0x380)];_0xa0b4c3[_0x5ecb83(0x368)]={'stringify':function(_0x44ac32){var _0x43e617=_0x5ecb83,_0x257872=_0x44ac32[_0x43e617(0x255)],_0x5540f2=_0x44ac32[_0x43e617(0x2b9)],_0x4ca8a0=this['_map'];_0x44ac32['clamp']();for(var _0x3b8bbf=[],_0x386f39=0x0;_0x386f39<_0x5540f2;_0x386f39+=0x3)for(var _0x5c5d4d=_0x257872[_0x386f39>>>0x2]>>>0x18-_0x386f39%0x4*0x8&0xff,_0x110cb5=_0x257872[_0x386f39+0x1>>>0x2]>>>0x18-(_0x386f39+0x1)%0x4*0x8&0xff,_0x3dbe2f=_0x257872[_0x386f39+0x2>>>0x2]>>>0x18-(_0x386f39+0x2)%0x4*0x8&0xff,_0x202ad9=_0x5c5d4d<<0x10|_0x110cb5<<0x8|_0x3dbe2f,_0x1706e7=0x0;_0x1706e7<0x4&&_0x386f39+_0x1706e7*0.75<_0x5540f2;_0x1706e7++)_0x3b8bbf['push'](_0x4ca8a0[_0x43e617(0x365)](_0x202ad9>>>0x6*(0x3-_0x1706e7)&0x3f));var _0x5c8eeb=_0x4ca8a0[_0x43e617(0x365)](0x40);if(_0x5c8eeb){for(;_0x3b8bbf[_0x43e617(0x286)]%0x4;)_0x3b8bbf['push'](_0x5c8eeb);}return _0x3b8bbf[_0x43e617(0x1cc)]('');},'parse':function(_0x55410d){var _0x508262=_0x5ecb83,_0x1d64ac=_0x55410d[_0x508262(0x286)],_0x497712=this[_0x508262(0x13d)],_0xabaa64=this[_0x508262(0x257)];if(!_0xabaa64){_0xabaa64=this[_0x508262(0x257)]=[];for(var _0x5ba654=0x0;_0x5ba654<_0x497712[_0x508262(0x286)];_0x5ba654++)_0xabaa64[_0x497712['charCodeAt'](_0x5ba654)]=_0x5ba654;}var _0x2d85b8=_0x497712[_0x508262(0x365)](0x40);if(_0x2d85b8){var _0x3a0696=_0x55410d['indexOf'](_0x2d85b8);_0x3a0696!==-0x1&&(_0x1d64ac=_0x3a0696);}return _0x51d353(_0x55410d,_0x1d64ac,_0xabaa64);},'_map':_0x5ecb83(0x39d)};function _0x51d353(_0x1cef8b,_0x36ca50,_0xf36e53){var _0x5348e9=_0x5ecb83;for(var _0xf5012a=[],_0xe0d407=0x0,_0x208521=0x0;_0x208521<_0x36ca50;_0x208521++)if(_0x208521%0x4){var _0x1fae5d=_0xf36e53[_0x1cef8b[_0x5348e9(0x410)](_0x208521-0x1)]<<_0x208521%0x4*0x2,_0x3e6aab=_0xf36e53[_0x1cef8b[_0x5348e9(0x410)](_0x208521)]>>>0x6-_0x208521%0x4*0x2,_0x189d9f=_0x1fae5d|_0x3e6aab;_0xf5012a[_0xe0d407>>>0x2]|=_0x189d9f<<0x18-_0xe0d407%0x4*0x8,_0xe0d407++;}return _0x4aca0f[_0x5348e9(0x1fa)](_0xf5012a,_0xe0d407);}}()),_0x3670cc['enc'][_0x368998(0x368)];}));}(We)),We['exports'];}var Ye={'exports':{}},Is=Ye[_0x21fa21(0x3b4)],Qt;function Ts(){var _0x6bd986=_0x21fa21;return Qt||(Qt=0x1,function(_0x57efde,_0x215492){(function(_0x4d60d1,_0x4088f4){var _0x31e6b9=_0x4934;_0x57efde[_0x31e6b9(0x3b4)]=_0x4088f4(ie());}(Is,function(_0x19255d){var _0x1b614c=_0x4934;return function(_0xa2bff7){var _0x2aefce=_0x4934,_0x1e5c7f=_0x19255d,_0x3f7e33=_0x1e5c7f[_0x2aefce(0x2ad)],_0xa62876=_0x3f7e33[_0x2aefce(0x375)],_0x497b52=_0x3f7e33['Hasher'],_0x51c3fe=_0x1e5c7f[_0x2aefce(0x3f8)],_0x3d2c18=[];(function(){var _0x2ba118=_0x2aefce;for(var _0x121a1a=0x0;_0x121a1a<0x40;_0x121a1a++)_0x3d2c18[_0x121a1a]=_0xa2bff7[_0x2ba118(0x148)](_0xa2bff7[_0x2ba118(0x3d6)](_0x121a1a+0x1))*0x100000000|0x0;}());var _0x18b7de=_0x51c3fe[_0x2aefce(0x2e0)]=_0x497b52['extend']({'_doReset':function(){var _0x57165e=_0x2aefce;this[_0x57165e(0x2d8)]=new _0xa62876[(_0x57165e(0x1da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x435346,_0x148744){var _0x12245a=_0x2aefce;for(var _0x4e3523=0x0;_0x4e3523<0x10;_0x4e3523++){var _0x16b111=_0x148744+_0x4e3523,_0x4a6d0f=_0x435346[_0x16b111];_0x435346[_0x16b111]=(_0x4a6d0f<<0x8|_0x4a6d0f>>>0x18)&0xff00ff|(_0x4a6d0f<<0x18|_0x4a6d0f>>>0x8)&0xff00ff00;}var _0x428c33=this[_0x12245a(0x2d8)][_0x12245a(0x255)],_0x1f7574=_0x435346[_0x148744+0x0],_0x3046f6=_0x435346[_0x148744+0x1],_0x11f4d1=_0x435346[_0x148744+0x2],_0x446511=_0x435346[_0x148744+0x3],_0x46b73a=_0x435346[_0x148744+0x4],_0x4879da=_0x435346[_0x148744+0x5],_0x2de7be=_0x435346[_0x148744+0x6],_0x4fcef8=_0x435346[_0x148744+0x7],_0x310ac0=_0x435346[_0x148744+0x8],_0x1a66fe=_0x435346[_0x148744+0x9],_0x5d1a0a=_0x435346[_0x148744+0xa],_0x22b141=_0x435346[_0x148744+0xb],_0x291461=_0x435346[_0x148744+0xc],_0xc94708=_0x435346[_0x148744+0xd],_0x3b5a81=_0x435346[_0x148744+0xe],_0x4b11b1=_0x435346[_0x148744+0xf],_0x29232f=_0x428c33[0x0],_0x6def0f=_0x428c33[0x1],_0x49c355=_0x428c33[0x2],_0x1808cd=_0x428c33[0x3];_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1f7574,0x7,_0x3d2c18[0x0]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x3046f6,0xc,_0x3d2c18[0x1]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x11f4d1,0x11,_0x3d2c18[0x2]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x446511,0x16,_0x3d2c18[0x3]),_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x46b73a,0x7,_0x3d2c18[0x4]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x4879da,0xc,_0x3d2c18[0x5]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x2de7be,0x11,_0x3d2c18[0x6]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x4fcef8,0x16,_0x3d2c18[0x7]),_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x310ac0,0x7,_0x3d2c18[0x8]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x1a66fe,0xc,_0x3d2c18[0x9]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x5d1a0a,0x11,_0x3d2c18[0xa]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x22b141,0x16,_0x3d2c18[0xb]),_0x29232f=_0x3ef407(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x291461,0x7,_0x3d2c18[0xc]),_0x1808cd=_0x3ef407(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0xc94708,0xc,_0x3d2c18[0xd]),_0x49c355=_0x3ef407(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x3b5a81,0x11,_0x3d2c18[0xe]),_0x6def0f=_0x3ef407(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x4b11b1,0x16,_0x3d2c18[0xf]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x3046f6,0x5,_0x3d2c18[0x10]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x2de7be,0x9,_0x3d2c18[0x11]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x22b141,0xe,_0x3d2c18[0x12]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x1f7574,0x14,_0x3d2c18[0x13]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x4879da,0x5,_0x3d2c18[0x14]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x5d1a0a,0x9,_0x3d2c18[0x15]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4b11b1,0xe,_0x3d2c18[0x16]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x46b73a,0x14,_0x3d2c18[0x17]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1a66fe,0x5,_0x3d2c18[0x18]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x3b5a81,0x9,_0x3d2c18[0x19]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x446511,0xe,_0x3d2c18[0x1a]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x310ac0,0x14,_0x3d2c18[0x1b]),_0x29232f=_0x5920da(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0xc94708,0x5,_0x3d2c18[0x1c]),_0x1808cd=_0x5920da(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x11f4d1,0x9,_0x3d2c18[0x1d]),_0x49c355=_0x5920da(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4fcef8,0xe,_0x3d2c18[0x1e]),_0x6def0f=_0x5920da(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x291461,0x14,_0x3d2c18[0x1f]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x4879da,0x4,_0x3d2c18[0x20]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x310ac0,0xb,_0x3d2c18[0x21]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x22b141,0x10,_0x3d2c18[0x22]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x3b5a81,0x17,_0x3d2c18[0x23]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x3046f6,0x4,_0x3d2c18[0x24]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x46b73a,0xb,_0x3d2c18[0x25]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4fcef8,0x10,_0x3d2c18[0x26]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x5d1a0a,0x17,_0x3d2c18[0x27]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0xc94708,0x4,_0x3d2c18[0x28]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x1f7574,0xb,_0x3d2c18[0x29]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x446511,0x10,_0x3d2c18[0x2a]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x2de7be,0x17,_0x3d2c18[0x2b]),_0x29232f=_0x57fbf6(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1a66fe,0x4,_0x3d2c18[0x2c]),_0x1808cd=_0x57fbf6(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x291461,0xb,_0x3d2c18[0x2d]),_0x49c355=_0x57fbf6(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x4b11b1,0x10,_0x3d2c18[0x2e]),_0x6def0f=_0x57fbf6(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x11f4d1,0x17,_0x3d2c18[0x2f]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x1f7574,0x6,_0x3d2c18[0x30]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x4fcef8,0xa,_0x3d2c18[0x31]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x3b5a81,0xf,_0x3d2c18[0x32]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x4879da,0x15,_0x3d2c18[0x33]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x291461,0x6,_0x3d2c18[0x34]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x446511,0xa,_0x3d2c18[0x35]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x5d1a0a,0xf,_0x3d2c18[0x36]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x3046f6,0x15,_0x3d2c18[0x37]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x310ac0,0x6,_0x3d2c18[0x38]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x4b11b1,0xa,_0x3d2c18[0x39]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x2de7be,0xf,_0x3d2c18[0x3a]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0xc94708,0x15,_0x3d2c18[0x3b]),_0x29232f=_0x22f2fa(_0x29232f,_0x6def0f,_0x49c355,_0x1808cd,_0x46b73a,0x6,_0x3d2c18[0x3c]),_0x1808cd=_0x22f2fa(_0x1808cd,_0x29232f,_0x6def0f,_0x49c355,_0x22b141,0xa,_0x3d2c18[0x3d]),_0x49c355=_0x22f2fa(_0x49c355,_0x1808cd,_0x29232f,_0x6def0f,_0x11f4d1,0xf,_0x3d2c18[0x3e]),_0x6def0f=_0x22f2fa(_0x6def0f,_0x49c355,_0x1808cd,_0x29232f,_0x1a66fe,0x15,_0x3d2c18[0x3f]),_0x428c33[0x0]=_0x428c33[0x0]+_0x29232f|0x0,_0x428c33[0x1]=_0x428c33[0x1]+_0x6def0f|0x0,_0x428c33[0x2]=_0x428c33[0x2]+_0x49c355|0x0,_0x428c33[0x3]=_0x428c33[0x3]+_0x1808cd|0x0;},'_doFinalize':function(){var _0x4c438a=_0x2aefce,_0x2ffb1d=this[_0x4c438a(0x20d)],_0x546cb9=_0x2ffb1d[_0x4c438a(0x255)],_0x4f62b0=this[_0x4c438a(0x3e8)]*0x8,_0x5a63a1=_0x2ffb1d[_0x4c438a(0x2b9)]*0x8;_0x546cb9[_0x5a63a1>>>0x5]|=0x80<<0x18-_0x5a63a1%0x20;var _0x44dfbf=_0xa2bff7[_0x4c438a(0x263)](_0x4f62b0/0x100000000),_0x3f4df8=_0x4f62b0;_0x546cb9[(_0x5a63a1+0x40>>>0x9<<0x4)+0xf]=(_0x44dfbf<<0x8|_0x44dfbf>>>0x18)&0xff00ff|(_0x44dfbf<<0x18|_0x44dfbf>>>0x8)&0xff00ff00,_0x546cb9[(_0x5a63a1+0x40>>>0x9<<0x4)+0xe]=(_0x3f4df8<<0x8|_0x3f4df8>>>0x18)&0xff00ff|(_0x3f4df8<<0x18|_0x3f4df8>>>0x8)&0xff00ff00,_0x2ffb1d[_0x4c438a(0x2b9)]=(_0x546cb9[_0x4c438a(0x286)]+0x1)*0x4,this[_0x4c438a(0x26b)]();for(var _0x1e571a=this['_hash'],_0x56141c=_0x1e571a[_0x4c438a(0x255)],_0x3d23f4=0x0;_0x3d23f4<0x4;_0x3d23f4++){var _0x2b649e=_0x56141c[_0x3d23f4];_0x56141c[_0x3d23f4]=(_0x2b649e<<0x8|_0x2b649e>>>0x18)&0xff00ff|(_0x2b649e<<0x18|_0x2b649e>>>0x8)&0xff00ff00;}return _0x1e571a;},'clone':function(){var _0xd30469=_0x2aefce,_0x5de1f9=_0x497b52['clone']['call'](this);return _0x5de1f9[_0xd30469(0x2d8)]=this[_0xd30469(0x2d8)][_0xd30469(0x208)](),_0x5de1f9;}});function _0x3ef407(_0x1c76e7,_0x3eec31,_0x20d2cf,_0x2c2310,_0x544f3d,_0xff69c1,_0x4ba1a1){var _0x1d7a1d=_0x1c76e7+(_0x3eec31&_0x20d2cf|~_0x3eec31&_0x2c2310)+_0x544f3d+_0x4ba1a1;return(_0x1d7a1d<<_0xff69c1|_0x1d7a1d>>>0x20-_0xff69c1)+_0x3eec31;}function _0x5920da(_0xca3dc6,_0x3f9ead,_0x14778f,_0x42f3fe,_0x3f2b42,_0x452d47,_0x468638){var _0x45a102=_0xca3dc6+(_0x3f9ead&_0x42f3fe|_0x14778f&~_0x42f3fe)+_0x3f2b42+_0x468638;return(_0x45a102<<_0x452d47|_0x45a102>>>0x20-_0x452d47)+_0x3f9ead;}function _0x57fbf6(_0x270fc6,_0x19e796,_0x5af15d,_0x1af52f,_0x2b4031,_0x4cd14d,_0x382aee){var _0x39b028=_0x270fc6+(_0x19e796^_0x5af15d^_0x1af52f)+_0x2b4031+_0x382aee;return(_0x39b028<<_0x4cd14d|_0x39b028>>>0x20-_0x4cd14d)+_0x19e796;}function _0x22f2fa(_0x145140,_0x47f15e,_0x58f1fc,_0x538895,_0x32ec9e,_0x5b31b1,_0x2406d8){var _0x36b777=_0x145140+(_0x58f1fc^(_0x47f15e|~_0x538895))+_0x32ec9e+_0x2406d8;return(_0x36b777<<_0x5b31b1|_0x36b777>>>0x20-_0x5b31b1)+_0x47f15e;}_0x1e5c7f['MD5']=_0x497b52[_0x2aefce(0x398)](_0x18b7de),_0x1e5c7f['HmacMD5']=_0x497b52[_0x2aefce(0x1e4)](_0x18b7de);}(Math),_0x19255d[_0x1b614c(0x2e0)];}));}(Ye)),Ye[_0x6bd986(0x3b4)];}function _0x4934(_0x2071d7,_0x362656){var _0x4a51a6=_0x4a51();return _0x4934=function(_0x49343f,_0x4c3a38){_0x49343f=_0x49343f-0x12a;var _0x291453=_0x4a51a6[_0x49343f];return _0x291453;},_0x4934(_0x2071d7,_0x362656);}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x21fa21(0x3b4)],ei;function Rs(){var _0xe6af27=_0x21fa21;return ei||(ei=0x1,function(_0x630d59,_0x36c948){(function(_0x1b481a,_0xa03d59){var _0xda5738=_0x4934;_0x630d59[_0xda5738(0x3b4)]=_0xa03d59(ie());}(Cs,function(_0x5481a0){return(function(){var _0x1e1032=_0x4934,_0x672b69=_0x5481a0,_0x28839d=_0x672b69[_0x1e1032(0x2ad)],_0x25b42a=_0x28839d['WordArray'],_0x37422b=_0x28839d[_0x1e1032(0x152)],_0x874341=_0x672b69[_0x1e1032(0x3f8)],_0x52d573=[],_0x25bb82=_0x874341[_0x1e1032(0x3ab)]=_0x37422b[_0x1e1032(0x3e6)]({'_doReset':function(){var _0x30f29a=_0x1e1032;this[_0x30f29a(0x2d8)]=new _0x25b42a[(_0x30f29a(0x1da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xb3f6d9,_0x1e4c24){var _0x11cd59=_0x1e1032;for(var _0x53423a=this[_0x11cd59(0x2d8)][_0x11cd59(0x255)],_0x27615f=_0x53423a[0x0],_0x4eac4e=_0x53423a[0x1],_0x29fd7=_0x53423a[0x2],_0x23e737=_0x53423a[0x3],_0x396b3f=_0x53423a[0x4],_0x45674f=0x0;_0x45674f<0x50;_0x45674f++){if(_0x45674f<0x10)_0x52d573[_0x45674f]=_0xb3f6d9[_0x1e4c24+_0x45674f]|0x0;else{var _0x313e3d=_0x52d573[_0x45674f-0x3]^_0x52d573[_0x45674f-0x8]^_0x52d573[_0x45674f-0xe]^_0x52d573[_0x45674f-0x10];_0x52d573[_0x45674f]=_0x313e3d<<0x1|_0x313e3d>>>0x1f;}var _0x2907e2=(_0x27615f<<0x5|_0x27615f>>>0x1b)+_0x396b3f+_0x52d573[_0x45674f];_0x45674f<0x14?_0x2907e2+=(_0x4eac4e&_0x29fd7|~_0x4eac4e&_0x23e737)+0x5a827999:_0x45674f<0x28?_0x2907e2+=(_0x4eac4e^_0x29fd7^_0x23e737)+0x6ed9eba1:_0x45674f<0x3c?_0x2907e2+=(_0x4eac4e&_0x29fd7|_0x4eac4e&_0x23e737|_0x29fd7&_0x23e737)-0x70e44324:_0x2907e2+=(_0x4eac4e^_0x29fd7^_0x23e737)-0x359d3e2a,_0x396b3f=_0x23e737,_0x23e737=_0x29fd7,_0x29fd7=_0x4eac4e<<0x1e|_0x4eac4e>>>0x2,_0x4eac4e=_0x27615f,_0x27615f=_0x2907e2;}_0x53423a[0x0]=_0x53423a[0x0]+_0x27615f|0x0,_0x53423a[0x1]=_0x53423a[0x1]+_0x4eac4e|0x0,_0x53423a[0x2]=_0x53423a[0x2]+_0x29fd7|0x0,_0x53423a[0x3]=_0x53423a[0x3]+_0x23e737|0x0,_0x53423a[0x4]=_0x53423a[0x4]+_0x396b3f|0x0;},'_doFinalize':function(){var _0x3fa1b8=_0x1e1032,_0x1dae2d=this[_0x3fa1b8(0x20d)],_0x420c4d=_0x1dae2d['words'],_0x29f7b1=this['_nDataBytes']*0x8,_0x199b7=_0x1dae2d[_0x3fa1b8(0x2b9)]*0x8;return _0x420c4d[_0x199b7>>>0x5]|=0x80<<0x18-_0x199b7%0x20,_0x420c4d[(_0x199b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x3fa1b8(0x263)](_0x29f7b1/0x100000000),_0x420c4d[(_0x199b7+0x40>>>0x9<<0x4)+0xf]=_0x29f7b1,_0x1dae2d[_0x3fa1b8(0x2b9)]=_0x420c4d[_0x3fa1b8(0x286)]*0x4,this['_process'](),this[_0x3fa1b8(0x2d8)];},'clone':function(){var _0x21f8be=_0x1e1032,_0x25c07e=_0x37422b['clone'][_0x21f8be(0x377)](this);return _0x25c07e[_0x21f8be(0x2d8)]=this[_0x21f8be(0x2d8)][_0x21f8be(0x208)](),_0x25c07e;}});_0x672b69[_0x1e1032(0x3ab)]=_0x37422b['_createHelper'](_0x25bb82),_0x672b69[_0x1e1032(0x226)]=_0x37422b[_0x1e1032(0x1e4)](_0x25bb82);}()),_0x5481a0['SHA1'];}));}(qe)),qe[_0xe6af27(0x3b4)];}var ze={'exports':{}},bs=ze[_0x21fa21(0x3b4)],ti;function Os(){var _0xded80=_0x21fa21;return ti||(ti=0x1,function(_0x4f0e8c,_0x3368ad){(function(_0x3fa58e,_0x61f396){_0x4f0e8c['exports']=_0x61f396(ie());}(bs,function(_0x24e7d3){(function(){var _0x218caa=_0x4934,_0x19e9ab=_0x24e7d3,_0x3bfb3b=_0x19e9ab[_0x218caa(0x2ad)],_0xda2192=_0x3bfb3b[_0x218caa(0x232)],_0x3d5f33=_0x19e9ab['enc'],_0x89f01=_0x3d5f33['Utf8'],_0xf0505b=_0x19e9ab['algo'];_0xf0505b[_0x218caa(0x23f)]=_0xda2192[_0x218caa(0x3e6)]({'init':function(_0x4e05f3,_0xb8c9a1){var _0xcf6cb5=_0x218caa;_0x4e05f3=this[_0xcf6cb5(0x412)]=new _0x4e05f3[(_0xcf6cb5(0x1da))](),typeof _0xb8c9a1=='string'&&(_0xb8c9a1=_0x89f01['parse'](_0xb8c9a1));var _0x4466a1=_0x4e05f3[_0xcf6cb5(0x372)],_0x41c8a0=_0x4466a1*0x4;_0xb8c9a1[_0xcf6cb5(0x2b9)]>_0x41c8a0&&(_0xb8c9a1=_0x4e05f3[_0xcf6cb5(0x3be)](_0xb8c9a1)),_0xb8c9a1[_0xcf6cb5(0x279)]();for(var _0x15fd84=this[_0xcf6cb5(0x319)]=_0xb8c9a1['clone'](),_0x5e2c81=this[_0xcf6cb5(0x1e0)]=_0xb8c9a1[_0xcf6cb5(0x208)](),_0x14ae64=_0x15fd84['words'],_0x22ec80=_0x5e2c81[_0xcf6cb5(0x255)],_0xc07bfc=0x0;_0xc07bfc<_0x4466a1;_0xc07bfc++)_0x14ae64[_0xc07bfc]^=0x5c5c5c5c,_0x22ec80[_0xc07bfc]^=0x36363636;_0x15fd84[_0xcf6cb5(0x2b9)]=_0x5e2c81[_0xcf6cb5(0x2b9)]=_0x41c8a0,this[_0xcf6cb5(0x3f0)]();},'reset':function(){var _0x45c742=_0x218caa,_0x4ee153=this[_0x45c742(0x412)];_0x4ee153[_0x45c742(0x3f0)](),_0x4ee153['update'](this[_0x45c742(0x1e0)]);},'update':function(_0x129f27){var _0x15376d=_0x218caa;return this[_0x15376d(0x412)][_0x15376d(0x35f)](_0x129f27),this;},'finalize':function(_0x393a98){var _0x928a57=_0x218caa,_0x177be8=this[_0x928a57(0x412)],_0x493bf7=_0x177be8[_0x928a57(0x3be)](_0x393a98);_0x177be8[_0x928a57(0x3f0)]();var _0x48b2e3=_0x177be8[_0x928a57(0x3be)](this[_0x928a57(0x319)][_0x928a57(0x208)]()[_0x928a57(0x427)](_0x493bf7));return _0x48b2e3;}});}());}));}(ze)),ze[_0xded80(0x3b4)];}var ys=Ke[_0x21fa21(0x3b4)],ii;function Ui(){var _0x31bd2e=_0x21fa21;return ii||(ii=0x1,function(_0x5b65b6,_0x2c6bdd){(function(_0x1be482,_0x434fc4,_0xdc6bdb){var _0x17a386=_0x4934;_0x5b65b6[_0x17a386(0x3b4)]=_0x434fc4(ie(),Rs(),Os());}(ys,function(_0x179e1b){return(function(){var _0x27fde2=_0x4934,_0x5c8eff=_0x179e1b,_0x423e11=_0x5c8eff['lib'],_0x45cb54=_0x423e11[_0x27fde2(0x232)],_0x556587=_0x423e11[_0x27fde2(0x375)],_0x2cea56=_0x5c8eff[_0x27fde2(0x3f8)],_0x157be0=_0x2cea56[_0x27fde2(0x2e0)],_0x536e31=_0x2cea56[_0x27fde2(0x30d)]=_0x45cb54[_0x27fde2(0x3e6)]({'cfg':_0x45cb54[_0x27fde2(0x3e6)]({'keySize':0x80/0x20,'hasher':_0x157be0,'iterations':0x1}),'init':function(_0x26125b){var _0xd20e54=_0x27fde2;this['cfg']=this[_0xd20e54(0x3ce)][_0xd20e54(0x3e6)](_0x26125b);},'compute':function(_0x5a827f,_0x4dbfae){var _0x565034=_0x27fde2;for(var _0x17f578,_0x2f8aef=this[_0x565034(0x3ce)],_0x162235=_0x2f8aef[_0x565034(0x30e)][_0x565034(0x1fa)](),_0x1614d2=_0x556587[_0x565034(0x1fa)](),_0x2f939f=_0x1614d2[_0x565034(0x255)],_0x1faf46=_0x2f8aef[_0x565034(0x387)],_0x139a29=_0x2f8aef[_0x565034(0x2c5)];_0x2f939f[_0x565034(0x286)]<_0x1faf46;){_0x17f578&&_0x162235[_0x565034(0x35f)](_0x17f578),_0x17f578=_0x162235['update'](_0x5a827f)[_0x565034(0x3be)](_0x4dbfae),_0x162235[_0x565034(0x3f0)]();for(var _0x16ec22=0x1;_0x16ec22<_0x139a29;_0x16ec22++)_0x17f578=_0x162235[_0x565034(0x3be)](_0x17f578),_0x162235[_0x565034(0x3f0)]();_0x1614d2[_0x565034(0x427)](_0x17f578);}return _0x1614d2[_0x565034(0x2b9)]=_0x1faf46*0x4,_0x1614d2;}});_0x5c8eff['EvpKDF']=function(_0x2fb157,_0x5dcc01,_0xe77288){var _0x32d18e=_0x27fde2;return _0x536e31[_0x32d18e(0x1fa)](_0xe77288)[_0x32d18e(0x14d)](_0x2fb157,_0x5dcc01);};}()),_0x179e1b['EvpKDF'];}));}(Ke)),Ke[_0x31bd2e(0x3b4)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x4ceeb1=_0x21fa21;return ni||(ni=0x1,function(_0x5bb5c5,_0x158a6f){(function(_0x21d3e2,_0x4c6e76,_0x192232){var _0x49b84f=_0x4934;_0x5bb5c5[_0x49b84f(0x3b4)]=_0x4c6e76(ie(),Ui());}(Ns,function(_0x5c1305){var _0x2a822d=_0x4934;_0x5c1305[_0x2a822d(0x2ad)][_0x2a822d(0x422)]||function(_0x489988){var _0x5e3fed=_0x2a822d,_0x26c077=_0x5c1305,_0x8f02a8=_0x26c077[_0x5e3fed(0x2ad)],_0x8bfba9=_0x8f02a8['Base'],_0x5c679a=_0x8f02a8[_0x5e3fed(0x375)],_0x2de3ab=_0x8f02a8[_0x5e3fed(0x182)],_0x26b397=_0x26c077[_0x5e3fed(0x380)];_0x26b397[_0x5e3fed(0x3aa)];var _0x30437f=_0x26b397[_0x5e3fed(0x368)],_0x9017aa=_0x26c077[_0x5e3fed(0x3f8)],_0x1500e5=_0x9017aa['EvpKDF'],_0x5c827e=_0x8f02a8[_0x5e3fed(0x422)]=_0x2de3ab[_0x5e3fed(0x3e6)]({'cfg':_0x8bfba9[_0x5e3fed(0x3e6)](),'createEncryptor':function(_0xfebc93,_0x2c259a){var _0x2a244d=_0x5e3fed;return this['create'](this[_0x2a244d(0x41f)],_0xfebc93,_0x2c259a);},'createDecryptor':function(_0x5f49a2,_0x15bce3){var _0x22c096=_0x5e3fed;return this[_0x22c096(0x1fa)](this['_DEC_XFORM_MODE'],_0x5f49a2,_0x15bce3);},'init':function(_0x45f1d8,_0xe46d15,_0x799ded){var _0x2cf8e9=_0x5e3fed;this[_0x2cf8e9(0x3ce)]=this[_0x2cf8e9(0x3ce)][_0x2cf8e9(0x3e6)](_0x799ded),this['_xformMode']=_0x45f1d8,this[_0x2cf8e9(0x420)]=_0xe46d15,this[_0x2cf8e9(0x3f0)]();},'reset':function(){var _0x3aad07=_0x5e3fed;_0x2de3ab[_0x3aad07(0x3f0)][_0x3aad07(0x377)](this),this['_doReset']();},'process':function(_0xc8ee2f){var _0x1e7e13=_0x5e3fed;return this[_0x1e7e13(0x1f1)](_0xc8ee2f),this['_process']();},'finalize':function(_0x4f7946){var _0xc99f66=_0x5e3fed;_0x4f7946&&this[_0xc99f66(0x1f1)](_0x4f7946);var _0x52ab3e=this['_doFinalize']();return _0x52ab3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x456160(_0x1404b5){var _0x39bcc3=_0x4934;return typeof _0x1404b5==_0x39bcc3(0x228)?_0x3efc83:_0x45092d;}return function(_0x17960d){return{'encrypt':function(_0x2bf2ed,_0x7fcc34,_0x124475){return _0x456160(_0x7fcc34)['encrypt'](_0x17960d,_0x2bf2ed,_0x7fcc34,_0x124475);},'decrypt':function(_0x311782,_0x354972,_0x1525fb){var _0x19944e=_0x4934;return _0x456160(_0x354972)[_0x19944e(0x37d)](_0x17960d,_0x311782,_0x354972,_0x1525fb);}};};}())});_0x8f02a8[_0x5e3fed(0x281)]=_0x5c827e[_0x5e3fed(0x3e6)]({'_doFinalize':function(){var _0x4d4811=_0x5e3fed,_0x220eca=this[_0x4d4811(0x26b)](!0x0);return _0x220eca;},'blockSize':0x1});var _0x4c40ad=_0x26c077[_0x5e3fed(0x1b2)]={},_0x1e85db=_0x8f02a8[_0x5e3fed(0x292)]=_0x8bfba9['extend']({'createEncryptor':function(_0x30871a,_0x30db9e){var _0x984e8=_0x5e3fed;return this[_0x984e8(0x2d3)]['create'](_0x30871a,_0x30db9e);},'createDecryptor':function(_0x3274fd,_0x26c275){var _0x12d41e=_0x5e3fed;return this[_0x12d41e(0x3ae)][_0x12d41e(0x1fa)](_0x3274fd,_0x26c275);},'init':function(_0x917781,_0x181599){var _0x4e9a2e=_0x5e3fed;this[_0x4e9a2e(0x318)]=_0x917781,this[_0x4e9a2e(0x138)]=_0x181599;}}),_0x3cfe62=_0x4c40ad[_0x5e3fed(0x3c3)]=(function(){var _0x592cfd=_0x5e3fed,_0x58ba4d=_0x1e85db[_0x592cfd(0x3e6)]();_0x58ba4d[_0x592cfd(0x2d3)]=_0x58ba4d['extend']({'processBlock':function(_0x5ad53d,_0x4f1aae){var _0x5c0fd8=_0x592cfd,_0xc36286=this[_0x5c0fd8(0x318)],_0x336a1f=_0xc36286[_0x5c0fd8(0x372)];_0x252579[_0x5c0fd8(0x377)](this,_0x5ad53d,_0x4f1aae,_0x336a1f),_0xc36286['encryptBlock'](_0x5ad53d,_0x4f1aae),this[_0x5c0fd8(0x3c2)]=_0x5ad53d[_0x5c0fd8(0x2bb)](_0x4f1aae,_0x4f1aae+_0x336a1f);}}),_0x58ba4d[_0x592cfd(0x3ae)]=_0x58ba4d['extend']({'processBlock':function(_0x4fb2c2,_0x371df1){var _0x4ed335=_0x592cfd,_0x45313e=this['_cipher'],_0x7492c9=_0x45313e[_0x4ed335(0x372)],_0x421e47=_0x4fb2c2[_0x4ed335(0x2bb)](_0x371df1,_0x371df1+_0x7492c9);_0x45313e['decryptBlock'](_0x4fb2c2,_0x371df1),_0x252579[_0x4ed335(0x377)](this,_0x4fb2c2,_0x371df1,_0x7492c9),this['_prevBlock']=_0x421e47;}});function _0x252579(_0x3c30ba,_0x3afdbf,_0x41c884){var _0x1884ad=_0x592cfd,_0x16c8c1,_0x461db9=this[_0x1884ad(0x138)];_0x461db9?(_0x16c8c1=_0x461db9,this[_0x1884ad(0x138)]=_0x489988):_0x16c8c1=this['_prevBlock'];for(var _0x1c68af=0x0;_0x1c68af<_0x41c884;_0x1c68af++)_0x3c30ba[_0x3afdbf+_0x1c68af]^=_0x16c8c1[_0x1c68af];}return _0x58ba4d;}()),_0x496504=_0x26c077['pad']={},_0x3fd04e=_0x496504['Pkcs7']={'pad':function(_0x54db6c,_0x51cfcd){var _0x478ff2=_0x5e3fed;for(var _0x2377fc=_0x51cfcd*0x4,_0xcf4a4=_0x2377fc-_0x54db6c[_0x478ff2(0x2b9)]%_0x2377fc,_0x46e31a=_0xcf4a4<<0x18|_0xcf4a4<<0x10|_0xcf4a4<<0x8|_0xcf4a4,_0x8e99ec=[],_0xf644e3=0x0;_0xf644e3<_0xcf4a4;_0xf644e3+=0x4)_0x8e99ec[_0x478ff2(0x136)](_0x46e31a);var _0x468c39=_0x5c679a['create'](_0x8e99ec,_0xcf4a4);_0x54db6c['concat'](_0x468c39);},'unpad':function(_0x2e7035){var _0x519e02=_0x5e3fed,_0x41df38=_0x2e7035[_0x519e02(0x255)][_0x2e7035[_0x519e02(0x2b9)]-0x1>>>0x2]&0xff;_0x2e7035[_0x519e02(0x2b9)]-=_0x41df38;}};_0x8f02a8['BlockCipher']=_0x5c827e['extend']({'cfg':_0x5c827e[_0x5e3fed(0x3ce)][_0x5e3fed(0x3e6)]({'mode':_0x3cfe62,'padding':_0x3fd04e}),'reset':function(){var _0x575498=_0x5e3fed,_0x57cd06;_0x5c827e[_0x575498(0x3f0)][_0x575498(0x377)](this);var _0x1e9fe1=this[_0x575498(0x3ce)],_0x5c6f67=_0x1e9fe1['iv'],_0x22384=_0x1e9fe1[_0x575498(0x1b2)];this[_0x575498(0x1cf)]==this['_ENC_XFORM_MODE']?_0x57cd06=_0x22384[_0x575498(0x134)]:(_0x57cd06=_0x22384[_0x575498(0x262)],this[_0x575498(0x32f)]=0x1),this['_mode']&&this['_mode'][_0x575498(0x305)]==_0x57cd06?this[_0x575498(0x2ef)][_0x575498(0x1da)](this,_0x5c6f67&&_0x5c6f67[_0x575498(0x255)]):(this[_0x575498(0x2ef)]=_0x57cd06['call'](_0x22384,this,_0x5c6f67&&_0x5c6f67['words']),this[_0x575498(0x2ef)][_0x575498(0x305)]=_0x57cd06);},'_doProcessBlock':function(_0x242764,_0xb07bfd){var _0x2aa898=_0x5e3fed;this[_0x2aa898(0x2ef)][_0x2aa898(0x400)](_0x242764,_0xb07bfd);},'_doFinalize':function(){var _0x34f4b5=_0x5e3fed,_0x394e78,_0x42e483=this[_0x34f4b5(0x3ce)]['padding'];return this[_0x34f4b5(0x1cf)]==this[_0x34f4b5(0x41f)]?(_0x42e483[_0x34f4b5(0x3c5)](this[_0x34f4b5(0x20d)],this[_0x34f4b5(0x372)]),_0x394e78=this['_process'](!0x0)):(_0x394e78=this[_0x34f4b5(0x26b)](!0x0),_0x42e483[_0x34f4b5(0x3a3)](_0x394e78)),_0x394e78;},'blockSize':0x80/0x20});var _0x17e72f=_0x8f02a8[_0x5e3fed(0x359)]=_0x8bfba9[_0x5e3fed(0x3e6)]({'init':function(_0x4fa1a3){this['mixIn'](_0x4fa1a3);},'toString':function(_0x18fd54){var _0x33cd2a=_0x5e3fed;return(_0x18fd54||this[_0x33cd2a(0x3e7)])['stringify'](this);}}),_0x4e31e4=_0x26c077[_0x5e3fed(0x244)]={},_0xd0ab1=_0x4e31e4['OpenSSL']={'stringify':function(_0x24d415){var _0x329dee=_0x5e3fed,_0x7533cd,_0x5880cd=_0x24d415[_0x329dee(0x17f)],_0x557dce=_0x24d415[_0x329dee(0x1b7)];return _0x557dce?_0x7533cd=_0x5c679a[_0x329dee(0x1fa)]([0x53616c74,0x65645f5f])['concat'](_0x557dce)[_0x329dee(0x427)](_0x5880cd):_0x7533cd=_0x5880cd,_0x7533cd[_0x329dee(0x1bb)](_0x30437f);},'parse':function(_0x133337){var _0x4b3f37=_0x5e3fed,_0x1e9229,_0x1695a2=_0x30437f[_0x4b3f37(0x27e)](_0x133337),_0x1f0e94=_0x1695a2[_0x4b3f37(0x255)];return _0x1f0e94[0x0]==0x53616c74&&_0x1f0e94[0x1]==0x65645f5f&&(_0x1e9229=_0x5c679a['create'](_0x1f0e94[_0x4b3f37(0x2bb)](0x2,0x4)),_0x1f0e94[_0x4b3f37(0x133)](0x0,0x4),_0x1695a2['sigBytes']-=0x10),_0x17e72f['create']({'ciphertext':_0x1695a2,'salt':_0x1e9229});}},_0x45092d=_0x8f02a8[_0x5e3fed(0x334)]=_0x8bfba9[_0x5e3fed(0x3e6)]({'cfg':_0x8bfba9[_0x5e3fed(0x3e6)]({'format':_0xd0ab1}),'encrypt':function(_0x27dd9d,_0x312320,_0x282b29,_0x218ce2){var _0x581564=_0x5e3fed;_0x218ce2=this[_0x581564(0x3ce)]['extend'](_0x218ce2);var _0x2554c1=_0x27dd9d[_0x581564(0x134)](_0x282b29,_0x218ce2),_0x67833=_0x2554c1[_0x581564(0x3be)](_0x312320),_0x4e8600=_0x2554c1[_0x581564(0x3ce)];return _0x17e72f[_0x581564(0x1fa)]({'ciphertext':_0x67833,'key':_0x282b29,'iv':_0x4e8600['iv'],'algorithm':_0x27dd9d,'mode':_0x4e8600[_0x581564(0x1b2)],'padding':_0x4e8600[_0x581564(0x1db)],'blockSize':_0x27dd9d[_0x581564(0x372)],'formatter':_0x218ce2[_0x581564(0x244)]});},'decrypt':function(_0x3548c7,_0x5bb624,_0x27f7c1,_0x51dcbb){var _0x226a83=_0x5e3fed;_0x51dcbb=this[_0x226a83(0x3ce)][_0x226a83(0x3e6)](_0x51dcbb),_0x5bb624=this[_0x226a83(0x1c8)](_0x5bb624,_0x51dcbb['format']);var _0x350b55=_0x3548c7['createDecryptor'](_0x27f7c1,_0x51dcbb)[_0x226a83(0x3be)](_0x5bb624['ciphertext']);return _0x350b55;},'_parse':function(_0x41d489,_0x1877e4){var _0x16edec=_0x5e3fed;return typeof _0x41d489==_0x16edec(0x228)?_0x1877e4[_0x16edec(0x27e)](_0x41d489,this):_0x41d489;}}),_0x3eb3a7=_0x26c077[_0x5e3fed(0x130)]={},_0xfdbda5=_0x3eb3a7[_0x5e3fed(0x3ec)]={'execute':function(_0x5bf47e,_0x1da809,_0x46fcbc,_0x21f585,_0x1c7b1f){var _0x317660=_0x5e3fed;if(_0x21f585||(_0x21f585=_0x5c679a[_0x317660(0x2be)](0x40/0x8)),_0x1c7b1f)var _0x46f9cf=_0x1500e5['create']({'keySize':_0x1da809+_0x46fcbc,'hasher':_0x1c7b1f})[_0x317660(0x14d)](_0x5bf47e,_0x21f585);else var _0x46f9cf=_0x1500e5[_0x317660(0x1fa)]({'keySize':_0x1da809+_0x46fcbc})['compute'](_0x5bf47e,_0x21f585);var _0x39a11b=_0x5c679a['create'](_0x46f9cf['words'][_0x317660(0x2bb)](_0x1da809),_0x46fcbc*0x4);return _0x46f9cf['sigBytes']=_0x1da809*0x4,_0x17e72f[_0x317660(0x1fa)]({'key':_0x46f9cf,'iv':_0x39a11b,'salt':_0x21f585});}},_0x3efc83=_0x8f02a8['PasswordBasedCipher']=_0x45092d['extend']({'cfg':_0x45092d[_0x5e3fed(0x3ce)][_0x5e3fed(0x3e6)]({'kdf':_0xfdbda5}),'encrypt':function(_0x254155,_0x4e2f69,_0x1c9f65,_0x3ed481){var _0x302a22=_0x5e3fed;_0x3ed481=this[_0x302a22(0x3ce)][_0x302a22(0x3e6)](_0x3ed481);var _0xe77338=_0x3ed481['kdf'][_0x302a22(0x21d)](_0x1c9f65,_0x254155[_0x302a22(0x387)],_0x254155['ivSize'],_0x3ed481['salt'],_0x3ed481[_0x302a22(0x30e)]);_0x3ed481['iv']=_0xe77338['iv'];var _0x11c9d6=_0x45092d[_0x302a22(0x397)][_0x302a22(0x377)](this,_0x254155,_0x4e2f69,_0xe77338['key'],_0x3ed481);return _0x11c9d6[_0x302a22(0x385)](_0xe77338),_0x11c9d6;},'decrypt':function(_0x40f0a5,_0x77202e,_0x130e65,_0x4ceef2){var _0x35bfbb=_0x5e3fed;_0x4ceef2=this['cfg'][_0x35bfbb(0x3e6)](_0x4ceef2),_0x77202e=this[_0x35bfbb(0x1c8)](_0x77202e,_0x4ceef2['format']);var _0x11bc37=_0x4ceef2['kdf']['execute'](_0x130e65,_0x40f0a5[_0x35bfbb(0x387)],_0x40f0a5[_0x35bfbb(0x2d4)],_0x77202e[_0x35bfbb(0x1b7)],_0x4ceef2[_0x35bfbb(0x30e)]);_0x4ceef2['iv']=_0x11bc37['iv'];var _0x112054=_0x45092d[_0x35bfbb(0x37d)][_0x35bfbb(0x377)](this,_0x40f0a5,_0x77202e,_0x11bc37[_0x35bfbb(0x1a4)],_0x4ceef2);return _0x112054;}});}();}));}(Je)),Je[_0x4ceeb1(0x3b4)];}var Ds=Ve[_0x21fa21(0x3b4)],si;function Us(){var _0x52fd9f=_0x21fa21;return si||(si=0x1,function(_0x14ad71,_0x1cd7be){(function(_0x3c2b10,_0x88166c,_0x4f05bd){var _0x403fc4=_0x4934;_0x14ad71[_0x403fc4(0x3b4)]=_0x88166c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x180c21){var _0x59dc6d=_0x4934;return(function(){var _0x169fd6=_0x4934,_0xdf25ba=_0x180c21,_0x2f26ca=_0xdf25ba[_0x169fd6(0x2ad)],_0x4deb88=_0x2f26ca[_0x169fd6(0x241)],_0x241231=_0xdf25ba[_0x169fd6(0x3f8)],_0x5e4f2c=[],_0x11eb86=[],_0x384bf9=[],_0x53c0ed=[],_0x2320aa=[],_0x52a6ed=[],_0x5e3c06=[],_0xaac9a3=[],_0x5f5d1f=[],_0x308888=[];(function(){for(var _0x1d45b4=[],_0x2840d7=0x0;_0x2840d7<0x100;_0x2840d7++)_0x2840d7<0x80?_0x1d45b4[_0x2840d7]=_0x2840d7<<0x1:_0x1d45b4[_0x2840d7]=_0x2840d7<<0x1^0x11b;for(var _0x4cc938=0x0,_0x5239af=0x0,_0x2840d7=0x0;_0x2840d7<0x100;_0x2840d7++){var _0x24f8fe=_0x5239af^_0x5239af<<0x1^_0x5239af<<0x2^_0x5239af<<0x3^_0x5239af<<0x4;_0x24f8fe=_0x24f8fe>>>0x8^_0x24f8fe&0xff^0x63,_0x5e4f2c[_0x4cc938]=_0x24f8fe,_0x11eb86[_0x24f8fe]=_0x4cc938;var _0x10fade=_0x1d45b4[_0x4cc938],_0x5348fc=_0x1d45b4[_0x10fade],_0x583312=_0x1d45b4[_0x5348fc],_0x23f7af=_0x1d45b4[_0x24f8fe]*0x101^_0x24f8fe*0x1010100;_0x384bf9[_0x4cc938]=_0x23f7af<<0x18|_0x23f7af>>>0x8,_0x53c0ed[_0x4cc938]=_0x23f7af<<0x10|_0x23f7af>>>0x10,_0x2320aa[_0x4cc938]=_0x23f7af<<0x8|_0x23f7af>>>0x18,_0x52a6ed[_0x4cc938]=_0x23f7af;var _0x23f7af=_0x583312*0x1010101^_0x5348fc*0x10001^_0x10fade*0x101^_0x4cc938*0x1010100;_0x5e3c06[_0x24f8fe]=_0x23f7af<<0x18|_0x23f7af>>>0x8,_0xaac9a3[_0x24f8fe]=_0x23f7af<<0x10|_0x23f7af>>>0x10,_0x5f5d1f[_0x24f8fe]=_0x23f7af<<0x8|_0x23f7af>>>0x18,_0x308888[_0x24f8fe]=_0x23f7af,_0x4cc938?(_0x4cc938=_0x10fade^_0x1d45b4[_0x1d45b4[_0x1d45b4[_0x583312^_0x10fade]]],_0x5239af^=_0x1d45b4[_0x1d45b4[_0x5239af]]):_0x4cc938=_0x5239af=0x1;}}());var _0x26c723=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x957135=_0x241231[_0x169fd6(0x142)]=_0x4deb88[_0x169fd6(0x3e6)]({'_doReset':function(){var _0x4a9ec6=_0x169fd6,_0x36f440;if(!(this[_0x4a9ec6(0x3cb)]&&this[_0x4a9ec6(0x424)]===this[_0x4a9ec6(0x420)])){for(var _0x55ac97=this[_0x4a9ec6(0x424)]=this[_0x4a9ec6(0x420)],_0x5c9ccb=_0x55ac97[_0x4a9ec6(0x255)],_0x857169=_0x55ac97[_0x4a9ec6(0x2b9)]/0x4,_0x4a159d=this['_nRounds']=_0x857169+0x6,_0x18b5cb=(_0x4a159d+0x1)*0x4,_0x1daa84=this[_0x4a9ec6(0x2a7)]=[],_0x5e72a6=0x0;_0x5e72a6<_0x18b5cb;_0x5e72a6++)_0x5e72a6<_0x857169?_0x1daa84[_0x5e72a6]=_0x5c9ccb[_0x5e72a6]:(_0x36f440=_0x1daa84[_0x5e72a6-0x1],_0x5e72a6%_0x857169?_0x857169>0x6&&_0x5e72a6%_0x857169==0x4&&(_0x36f440=_0x5e4f2c[_0x36f440>>>0x18]<<0x18|_0x5e4f2c[_0x36f440>>>0x10&0xff]<<0x10|_0x5e4f2c[_0x36f440>>>0x8&0xff]<<0x8|_0x5e4f2c[_0x36f440&0xff]):(_0x36f440=_0x36f440<<0x8|_0x36f440>>>0x18,_0x36f440=_0x5e4f2c[_0x36f440>>>0x18]<<0x18|_0x5e4f2c[_0x36f440>>>0x10&0xff]<<0x10|_0x5e4f2c[_0x36f440>>>0x8&0xff]<<0x8|_0x5e4f2c[_0x36f440&0xff],_0x36f440^=_0x26c723[_0x5e72a6/_0x857169|0x0]<<0x18),_0x1daa84[_0x5e72a6]=_0x1daa84[_0x5e72a6-_0x857169]^_0x36f440);for(var _0x226369=this[_0x4a9ec6(0x33e)]=[],_0x4cb1a0=0x0;_0x4cb1a0<_0x18b5cb;_0x4cb1a0++){var _0x5e72a6=_0x18b5cb-_0x4cb1a0;if(_0x4cb1a0%0x4)var _0x36f440=_0x1daa84[_0x5e72a6];else var _0x36f440=_0x1daa84[_0x5e72a6-0x4];_0x4cb1a0<0x4||_0x5e72a6<=0x4?_0x226369[_0x4cb1a0]=_0x36f440:_0x226369[_0x4cb1a0]=_0x5e3c06[_0x5e4f2c[_0x36f440>>>0x18]]^_0xaac9a3[_0x5e4f2c[_0x36f440>>>0x10&0xff]]^_0x5f5d1f[_0x5e4f2c[_0x36f440>>>0x8&0xff]]^_0x308888[_0x5e4f2c[_0x36f440&0xff]];}}},'encryptBlock':function(_0x4738ba,_0x3297e1){var _0x5652a1=_0x169fd6;this[_0x5652a1(0x373)](_0x4738ba,_0x3297e1,this[_0x5652a1(0x2a7)],_0x384bf9,_0x53c0ed,_0x2320aa,_0x52a6ed,_0x5e4f2c);},'decryptBlock':function(_0x407234,_0x126711){var _0x3b0ae9=_0x169fd6,_0x26b264=_0x407234[_0x126711+0x1];_0x407234[_0x126711+0x1]=_0x407234[_0x126711+0x3],_0x407234[_0x126711+0x3]=_0x26b264,this[_0x3b0ae9(0x373)](_0x407234,_0x126711,this[_0x3b0ae9(0x33e)],_0x5e3c06,_0xaac9a3,_0x5f5d1f,_0x308888,_0x11eb86);var _0x26b264=_0x407234[_0x126711+0x1];_0x407234[_0x126711+0x1]=_0x407234[_0x126711+0x3],_0x407234[_0x126711+0x3]=_0x26b264;},'_doCryptBlock':function(_0x4ce453,_0x11128b,_0x8671f5,_0x47fed7,_0x18bf8e,_0x1152ac,_0x3ea311,_0x54dd01){var _0x54fbbc=_0x169fd6;for(var _0x1eaba4=this[_0x54fbbc(0x3cb)],_0xe281c=_0x4ce453[_0x11128b]^_0x8671f5[0x0],_0x501e5a=_0x4ce453[_0x11128b+0x1]^_0x8671f5[0x1],_0x472bfd=_0x4ce453[_0x11128b+0x2]^_0x8671f5[0x2],_0x2bc5b2=_0x4ce453[_0x11128b+0x3]^_0x8671f5[0x3],_0x2bc34a=0x4,_0xa5a18=0x1;_0xa5a18<_0x1eaba4;_0xa5a18++){var _0x18ee14=_0x47fed7[_0xe281c>>>0x18]^_0x18bf8e[_0x501e5a>>>0x10&0xff]^_0x1152ac[_0x472bfd>>>0x8&0xff]^_0x3ea311[_0x2bc5b2&0xff]^_0x8671f5[_0x2bc34a++],_0x3dee77=_0x47fed7[_0x501e5a>>>0x18]^_0x18bf8e[_0x472bfd>>>0x10&0xff]^_0x1152ac[_0x2bc5b2>>>0x8&0xff]^_0x3ea311[_0xe281c&0xff]^_0x8671f5[_0x2bc34a++],_0x33cbc0=_0x47fed7[_0x472bfd>>>0x18]^_0x18bf8e[_0x2bc5b2>>>0x10&0xff]^_0x1152ac[_0xe281c>>>0x8&0xff]^_0x3ea311[_0x501e5a&0xff]^_0x8671f5[_0x2bc34a++],_0x3dea93=_0x47fed7[_0x2bc5b2>>>0x18]^_0x18bf8e[_0xe281c>>>0x10&0xff]^_0x1152ac[_0x501e5a>>>0x8&0xff]^_0x3ea311[_0x472bfd&0xff]^_0x8671f5[_0x2bc34a++];_0xe281c=_0x18ee14,_0x501e5a=_0x3dee77,_0x472bfd=_0x33cbc0,_0x2bc5b2=_0x3dea93;}var _0x18ee14=(_0x54dd01[_0xe281c>>>0x18]<<0x18|_0x54dd01[_0x501e5a>>>0x10&0xff]<<0x10|_0x54dd01[_0x472bfd>>>0x8&0xff]<<0x8|_0x54dd01[_0x2bc5b2&0xff])^_0x8671f5[_0x2bc34a++],_0x3dee77=(_0x54dd01[_0x501e5a>>>0x18]<<0x18|_0x54dd01[_0x472bfd>>>0x10&0xff]<<0x10|_0x54dd01[_0x2bc5b2>>>0x8&0xff]<<0x8|_0x54dd01[_0xe281c&0xff])^_0x8671f5[_0x2bc34a++],_0x33cbc0=(_0x54dd01[_0x472bfd>>>0x18]<<0x18|_0x54dd01[_0x2bc5b2>>>0x10&0xff]<<0x10|_0x54dd01[_0xe281c>>>0x8&0xff]<<0x8|_0x54dd01[_0x501e5a&0xff])^_0x8671f5[_0x2bc34a++],_0x3dea93=(_0x54dd01[_0x2bc5b2>>>0x18]<<0x18|_0x54dd01[_0xe281c>>>0x10&0xff]<<0x10|_0x54dd01[_0x501e5a>>>0x8&0xff]<<0x8|_0x54dd01[_0x472bfd&0xff])^_0x8671f5[_0x2bc34a++];_0x4ce453[_0x11128b]=_0x18ee14,_0x4ce453[_0x11128b+0x1]=_0x3dee77,_0x4ce453[_0x11128b+0x2]=_0x33cbc0,_0x4ce453[_0x11128b+0x3]=_0x3dea93;},'keySize':0x100/0x20});_0xdf25ba[_0x169fd6(0x142)]=_0x4deb88[_0x169fd6(0x398)](_0x957135);}()),_0x180c21[_0x59dc6d(0x142)];}));}(Ve)),Ve[_0x52fd9f(0x3b4)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x21fa21(0x3b4)],ai;function Ms(){var _0x273c2=_0x21fa21;return ai||(ai=0x1,function(_0x5b42d5,_0x328ffc){(function(_0x4ad0f9,_0x148ce5){var _0x602190=_0x4934;_0x5b42d5[_0x602190(0x3b4)]=_0x148ce5(ie());}(Ls,function(_0x1b386b){var _0x44d1f3=_0x4934;return _0x1b386b[_0x44d1f3(0x380)][_0x44d1f3(0x3aa)];}));}(Xe)),Xe[_0x273c2(0x3b4)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x21fa21(0x3b4)],oi;function Hs(){var _0x5805c9=_0x21fa21;return oi||(oi=0x1,function(_0xce0cd9,_0x455e2d){(function(_0x445477,_0x1af492){var _0x4e7fe5=_0x4934;_0xce0cd9[_0x4e7fe5(0x3b4)]=_0x1af492(ie());}($s,function(_0x305db3){var _0x351e57=_0x4934;return(function(){var _0x1294bb=_0x4934;if(typeof ArrayBuffer==_0x1294bb(0x3c7)){var _0x24e642=_0x305db3,_0xab47c9=_0x24e642[_0x1294bb(0x2ad)],_0x1d6818=_0xab47c9[_0x1294bb(0x375)],_0x5c6922=_0x1d6818[_0x1294bb(0x1da)],_0x56df1e=_0x1d6818['init']=function(_0x18c98b){var _0x2fdfa1=_0x1294bb;if(_0x18c98b instanceof ArrayBuffer&&(_0x18c98b=new Uint8Array(_0x18c98b)),(_0x18c98b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18c98b instanceof Uint8ClampedArray||_0x18c98b instanceof Int16Array||_0x18c98b instanceof Uint16Array||_0x18c98b instanceof Int32Array||_0x18c98b instanceof Uint32Array||_0x18c98b instanceof Float32Array||_0x18c98b instanceof Float64Array)&&(_0x18c98b=new Uint8Array(_0x18c98b[_0x2fdfa1(0x146)],_0x18c98b[_0x2fdfa1(0x269)],_0x18c98b[_0x2fdfa1(0x26d)])),_0x18c98b instanceof Uint8Array){for(var _0xa6537c=_0x18c98b[_0x2fdfa1(0x26d)],_0x1b4d9e=[],_0x409564=0x0;_0x409564<_0xa6537c;_0x409564++)_0x1b4d9e[_0x409564>>>0x2]|=_0x18c98b[_0x409564]<<0x18-_0x409564%0x4*0x8;_0x5c6922[_0x2fdfa1(0x377)](this,_0x1b4d9e,_0xa6537c);}else _0x5c6922[_0x2fdfa1(0x2ba)](this,arguments);};_0x56df1e[_0x1294bb(0x205)]=_0x1d6818;}}()),_0x305db3[_0x351e57(0x2ad)]['WordArray'];}));}(Ze)),Ze[_0x5805c9(0x3b4)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x11a7d4=_0x21fa21;return ci||(ci=0x1,function(_0x233f9c,_0x166671){(function(_0x265e30,_0x1c259f,_0x2e9036){var _0x48c5fe=_0x4934;_0x233f9c[_0x48c5fe(0x3b4)]=_0x1c259f(ie(),Ai());}(Fs,function(_0x37273a){var _0x498aa6=_0x4934;return _0x37273a[_0x498aa6(0x3c5)][_0x498aa6(0x3f6)]={'pad':function(){},'unpad':function(){}},_0x37273a[_0x498aa6(0x3c5)][_0x498aa6(0x3f6)];}));}(Qe)),Qe[_0x11a7d4(0x3b4)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x5d48e5,_0x587f88){var _0x22c930=_0x21fa21;const _0x1fc675=_0x587f88-_0x5d48e5[_0x22c930(0x286)]%_0x587f88,_0x1a1201=String['fromCharCode'](_0x1fc675)[_0x22c930(0x37e)](_0x1fc675);return _0x5d48e5+_0x1a1201;}function Ks(_0x4bf354,_0x4fba31){var _0x309888=_0x21fa21;const _0x11b0de=js[_0x309888(0x2be)](0x10),_0x54db6b=Ys(_0x4bf354,0x10),_0xebbba4=ws[_0x309888(0x397)](ks[_0x309888(0x27e)](_0x54db6b),ri['parse'](_0x4fba31),{'iv':_0x11b0de,'padding':Ws});return _0x11b0de[_0x309888(0x427)](_0xebbba4['ciphertext'])[_0x309888(0x1bb)](ri);}function qs(){var _0x494117=_0x21fa21;const _0x549744=_0x11365b()[_0x494117(0x209)];if(_0x549744){const _0x16632f={'time':Math[_0x494117(0x263)](Date[_0x494117(0x191)]()/0x3e8),'domain':location['hostname']};return Ks(JSON[_0x494117(0x306)](_0x16632f),_0x549744);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x1607f4,_0x292a85,_0x21f9de,_0x222bb7)=>{for(var _0x744429=_0x222bb7>0x1?void 0x0:_0x222bb7?zs(_0x292a85,_0x21f9de):_0x292a85,_0x1b7757=_0x1607f4['length']-0x1,_0x56edf6;_0x1b7757>=0x0;_0x1b7757--)(_0x56edf6=_0x1607f4[_0x1b7757])&&(_0x744429=_0x56edf6(_0x744429)||_0x744429);return _0x744429;},Xs=(_0x475346,_0x3948c3)=>(_0x48b8d8,_0x289721)=>_0x3948c3(_0x48b8d8,_0x289721,_0x475346);let at=class{constructor(_0x17c450){var _0x4b6360=_0x21fa21;this[_0x4b6360(0x32a)]=_0x17c450,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x55b072=_0x21fa21;this[_0x55b072(0x32a)][_0x55b072(0x2d2)]({'interceptor':(_0x2b667e,_0x56266b)=>{var _0x516513=_0x55b072;const _0x298724=_0x2b667e[_0x516513(0x159)],_0x35b1ef=qs();return _0x35b1ef&&_0x298724[_0x516513(0x3c1)](_0x516513(0x1f0),_0x35b1ef),_0x56266b(_0x2b667e);}});}};at=Js([Xs(0x0,_0x19c414(_0xf7c598))],at);var Zs=Object[_0x21fa21(0x16f)],Qs=(_0x357696,_0x1e5f61,_0xfd4645,_0x2d6deb)=>{var _0x47fa09=_0x21fa21;for(var _0x5280fd=_0x2d6deb>0x1?void 0x0:_0x2d6deb?Zs(_0x1e5f61,_0xfd4645):_0x1e5f61,_0x2da890=_0x357696[_0x47fa09(0x286)]-0x1,_0x343242;_0x2da890>=0x0;_0x2da890--)(_0x343242=_0x357696[_0x2da890])&&(_0x5280fd=_0x343242(_0x5280fd)||_0x5280fd);return _0x5280fd;},mt=(_0x41c863,_0x139a04)=>(_0x2cfa77,_0xda4101)=>_0x139a04(_0x2cfa77,_0xda4101,_0x41c863);let bt=class extends _0x37cb10{constructor(_0x4e3eee,_0x492f9f,_0xa4cf9){var _0x1b02d5=_0x21fa21;super(),N(this,_0x1b02d5(0x221),new _0x214797(null)),N(this,_0x1b02d5(0x311),this[_0x1b02d5(0x221)][_0x1b02d5(0x27d)]()),(this[_0x1b02d5(0x233)]=_0x4e3eee,this['_snapshotService']=_0x492f9f,this[_0x1b02d5(0x242)]=_0xa4cf9);}async['loadUnit'](_0x32780b,_0x5e674e,_0x5c7739){var _0x2d13ae=_0x21fa21;this[_0x2d13ae(0x221)]['next']({'unitId':_0x32780b,'type':_0x5e674e,'subUnitId':_0x5c7739});let _0x32df7e=null;switch(_0x5e674e){case Q[_0x2d13ae(0x19a)]:{_0x32df7e=await this['_loadSheet'](_0x32780b);break;}case Q[_0x2d13ae(0x240)]:{_0x32df7e=await this[_0x2d13ae(0x327)](_0x32780b);break;}default:{this[_0x2d13ae(0x233)]['error'](_0x2d13ae(0x26e),_0x2d13ae(0x19e));break;}}return _0x32df7e;}async[_0x21fa21(0x333)](_0x5539dd){var _0x49c860=_0x21fa21,_0x3d4862;let _0x5d463c=0x0;const _0x4e8109=await((_0x3d4862=this[_0x49c860(0x242)])==null?void 0x0:_0x3d4862[_0x49c860(0x249)](_0x5539dd));return _0x4e8109&&(_0x4e8109[_0x49c860(0x17a)]||_0x4e8109[_0x49c860(0x1ae)][_0x49c860(0x286)]!==0x0)&&(_0x5d463c=_0x4e8109['rev']),_0x5d463c===0x0&&this[_0x49c860(0x233)]['debug'](_0x49c860(0x26e),_0x49c860(0x2a2)),this['_snapshotService']['loadSheet'](_0x5539dd,_0x5d463c);}async[_0x21fa21(0x327)](_0xe58bb5){var _0x1568f9=_0x21fa21,_0x3af483;let _0x439a55=0x0;const _0x508ba7=await((_0x3af483=this[_0x1568f9(0x242)])==null?void 0x0:_0x3af483['loadOfflineData'](_0xe58bb5));return _0x508ba7&&(_0x508ba7['awaitingChangeset']||_0x508ba7['mutations'][_0x1568f9(0x286)]!==0x0)&&(_0x439a55=_0x508ba7[_0x1568f9(0x38b)]),_0x439a55===0x0&&this['_logService'][_0x1568f9(0x419)]('[DataLoaderService]',_0x1568f9(0x2a2)),this[_0x1568f9(0x3b0)][_0x1568f9(0x213)](_0xe58bb5,_0x439a55);}};bt=Qs([mt(0x0,_0x459fda),mt(0x1,_0x19c414(_0x3fe4ff)),mt(0x2,_0x548a6f(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0xfada7e,_0x1d1713,_0x5614bc,_0x4a1294)=>{var _0x5edbc8=_0x21fa21;for(var _0x34a6dc=_0x4a1294>0x1?void 0x0:_0x4a1294?er(_0x1d1713,_0x5614bc):_0x1d1713,_0x259b58=_0xfada7e[_0x5edbc8(0x286)]-0x1,_0x37801a;_0x259b58>=0x0;_0x259b58--)(_0x37801a=_0xfada7e[_0x259b58])&&(_0x34a6dc=_0x37801a(_0x34a6dc)||_0x34a6dc);return _0x34a6dc;},gt=(_0xf22009,_0xd7571c)=>(_0x25d1c0,_0x182fe7)=>_0xd7571c(_0x25d1c0,_0x182fe7,_0xf22009);const ir=[_0x21fa21(0x3b2),'image/jpeg',_0x21fa21(0x137),_0x21fa21(0x290),'image/bmp'],nr=0x5*0x400*0x400,sr=_0x21fa21(0x2ec),rr=_0x21fa21(0x392),ar=_0x21fa21(0x28d),or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x3345ca,_0x4371af,_0x2563de){var _0x3a379d=_0x21fa21;N(this,_0x3a379d(0x287),0x0),N(this,_0x3a379d(0x194),new _0x1db3bf()),N(this,_0x3a379d(0x2d6),this[_0x3a379d(0x194)]),N(this,_0x3a379d(0x169),new Map()),(this[_0x3a379d(0x32a)]=_0x3345ca,this[_0x3a379d(0x1a6)]=_0x4371af,this['_univerInstanceService']=_0x2563de);}[_0x21fa21(0x293)](_0x3aab7e){var _0x3d0103=_0x21fa21;this['_waitCount']=_0x3aab7e,this[_0x3d0103(0x194)][_0x3d0103(0x40a)](_0x3aab7e);}['getImageSourceCache'](_0x4e80fc,_0x51b539){var _0x37aea9=_0x21fa21;if(_0x51b539===_0x57bdd4[_0x37aea9(0x23e)]){const _0x2ec5be=new Image();return _0x2ec5be[_0x37aea9(0x1c2)]=_0x4e80fc,_0x2ec5be;}return this[_0x37aea9(0x169)][_0x37aea9(0x3f7)](_0x4e80fc);}[_0x21fa21(0x330)](_0x5aea53,_0x3d4423,_0x3c6da2){var _0x214ed4=_0x21fa21;_0x3d4423===_0x57bdd4[_0x214ed4(0x23e)]||_0x3c6da2==null||this['_imageSourceCache'][_0x214ed4(0x3c1)](_0x5aea53,_0x3c6da2);}async[_0x21fa21(0x1a2)](_0x3e19b4){var _0x237fac=_0x21fa21;try{const _0x2c6081=this[_0x237fac(0x2e9)](this[_0x237fac(0x3a0)](),''+_0x3e19b4),_0xbe664=(await this[_0x237fac(0x32a)][_0x237fac(0x3f7)](_0x2c6081))['body'];if(_0xbe664[_0x237fac(0x1e9)]&&_0xbe664[_0x237fac(0x1e9)][_0x237fac(0x176)]===Si['OK']){const _0x5f18d0=new URL(_0xbe664[_0x237fac(0x12c)],this[_0x237fac(0x192)]())[_0x237fac(0x1bb)]();return Promise[_0x237fac(0x354)](_0x5f18d0);}return Promise[_0x237fac(0x270)](_0xbe664[_0x237fac(0x1e9)]);}catch(_0x1cd11e){return Promise[_0x237fac(0x270)](_0x1cd11e);}}async[_0x21fa21(0x1ba)](_0x314c44){var _0x420ab9=_0x21fa21;let _0x208f46='';if(!ir[_0x420ab9(0x27a)](_0x314c44['type']))return this[_0x420ab9(0x1af)](),Promise[_0x420ab9(0x270)](new Error(_0x2b686e[_0x420ab9(0x28c)]));if(_0x314c44[_0x420ab9(0x24e)]>nr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2b686e[_0x420ab9(0x429)]));try{const _0x3a254b=new FormData();_0x3a254b['append']('file',_0x314c44);const _0x261d97=this[_0x420ab9(0x282)]['getFocusedUnit'](),_0x1adec2=_0x261d97==null?void 0x0:_0x261d97[_0x420ab9(0x1df)]();if(!_0x1adec2)throw new Error('unitId\x20is\x20not\x20found');const _0x2683b4=this[_0x420ab9(0x371)]()+_0x420ab9(0x230)+_0x314c44[_0x420ab9(0x24e)][_0x420ab9(0x1bb)]()+_0x420ab9(0x1f3)+Ei['UnitEmbedded']+_0x420ab9(0x2f6)+encodeURIComponent(_0x1adec2),_0x4a6741={'body':_0x3a254b},_0x76545d=(await this[_0x420ab9(0x32a)][_0x420ab9(0x37b)](_0x2683b4,_0x4a6741))[_0x420ab9(0x3bb)];if(typeof _0x76545d['FileId']!='string')return this[_0x420ab9(0x1af)](),Promise[_0x420ab9(0x270)](new Error(_0x2b686e[_0x420ab9(0x408)]));_0x208f46=_0x76545d['FileId'];}catch{return this[_0x420ab9(0x1af)](),Promise[_0x420ab9(0x270)](new Error(_0x2b686e['ERROR_IMAGE']));}return new Promise((_0x11045f,_0xa97300)=>{var _0x5b78c7=_0x420ab9;const _0x200e1c=new FileReader();_0x200e1c[_0x5b78c7(0x291)](_0x314c44),_0x200e1c[_0x5b78c7(0x3f9)]=_0x3e7111=>{var _0x48497c=_0x5b78c7,_0x58137b;const _0x4d0a3a=(_0x58137b=_0x3e7111[_0x48497c(0x349)])==null?void 0x0:_0x58137b[_0x48497c(0x26a)];if(_0x4d0a3a==null){this[_0x48497c(0x1af)](),_0xa97300(new Error(_0x2b686e[_0x48497c(0x408)]));return;}const _0xdb9629=_0x4da9f1[_0x48497c(0x2eb)](0x6);_0x11045f({'imageId':_0xdb9629,'imageSourceType':_0x57bdd4[_0x48497c(0x313)],'source':_0x208f46,'base64Cache':_0x4d0a3a,'status':_0x2b686e[_0x48497c(0x353)]}),this[_0x48497c(0x1af)]();};});}[_0x21fa21(0x371)](){var _0x2f20b7=_0x21fa21,_0x474c00,_0x480e3c;const _0x111e87=this[_0x2f20b7(0x1a6)]['getConfig'](sr),_0x207b57=this[_0x2f20b7(0x1a6)][_0x2f20b7(0x417)](q);return(_0x480e3c=(_0x474c00=_0x207b57==null?void 0x0:_0x207b57['uploadFileServerUrl'])!=null?_0x474c00:_0x111e87)!=null?_0x480e3c:rr;}[_0x21fa21(0x3a0)](){var _0x5ce782=_0x21fa21,_0x2adfa5,_0x7674e1;const _0x1accda=this[_0x5ce782(0x1a6)][_0x5ce782(0x417)](ar),_0x4dee1b=this[_0x5ce782(0x1a6)][_0x5ce782(0x417)](q);return(_0x7674e1=(_0x2adfa5=_0x4dee1b==null?void 0x0:_0x4dee1b[_0x5ce782(0x19d)])!=null?_0x2adfa5:_0x1accda)!=null?_0x7674e1:or;}[_0x21fa21(0x192)](){var _0x396476=_0x21fa21,_0x11c557;const _0x3cff32=this[_0x396476(0x1a6)][_0x396476(0x417)](q);return(_0x11c557=_0x3cff32==null?void 0x0:_0x3cff32[_0x396476(0x3c0)])!=null?_0x11c557:location[_0x396476(0x1c5)];}[_0x21fa21(0x2e9)](_0x4c1cec,_0x4741a0){var _0x4c74b0=_0x21fa21;return _0x4c1cec[_0x4c74b0(0x3a2)]('{fileID}',_0x4741a0);}[_0x21fa21(0x1af)](){var _0x2aa814=_0x21fa21;this['_waitCount']-=0x1,this[_0x2aa814(0x194)][_0x2aa814(0x40a)](this[_0x2aa814(0x287)]);}};Ot=tr([gt(0x0,_0x19c414(_0xf7c598)),gt(0x1,_0x51423a),gt(0x2,_0x19c414(_0x11d3ee))],Ot);var cr=Object[_0x21fa21(0x16f)],hr=(_0x19b937,_0x3a61f5,_0x13d871,_0x6479b6)=>{for(var _0x1416e9=_0x6479b6>0x1?void 0x0:_0x6479b6?cr(_0x3a61f5,_0x13d871):_0x3a61f5,_0x1b02e4=_0x19b937['length']-0x1,_0x9e70a6;_0x1b02e4>=0x0;_0x1b02e4--)(_0x9e70a6=_0x19b937[_0x1b02e4])&&(_0x1416e9=_0x9e70a6(_0x1416e9)||_0x1416e9);return _0x1416e9;},hi=(_0x843d2a,_0x175d3e)=>(_0x11aaf3,_0x91e909)=>_0x175d3e(_0x11aaf3,_0x91e909,_0x843d2a);const _r=_0x21fa21(0x3c9);let yt=class{constructor(_0x49d18b,_0x3a2046){var _0x5bae73=_0x21fa21;this[_0x5bae73(0x1a6)]=_0x49d18b,this[_0x5bae73(0x225)]=_0x3a2046;}[_0x21fa21(0x2da)](){var _0x4343b7=_0x21fa21,_0x293dc7,_0x3a6228;const _0x339a46=this[_0x4343b7(0x1a6)]['getConfig'](Ni),_0x57bdc6=this[_0x4343b7(0x1a6)][_0x4343b7(0x417)](q);return(_0x3a6228=(_0x293dc7=_0x57bdc6==null?void 0x0:_0x57bdc6[_0x4343b7(0x338)])!=null?_0x293dc7:_0x339a46)!=null?_0x3a6228:_r;}async[_0x21fa21(0x2a1)](_0x1122b2){var _0x2c2e3b=_0x21fa21;const _0x4667cd=this[_0x2c2e3b(0x2da)]()+_0x2c2e3b(0x22d);return{'list':[{'title':'People','mentions':(await this[_0x2c2e3b(0x225)][_0x2c2e3b(0x3f7)](_0x4667cd,{'params':{'objectID':_0x1122b2[_0x2c2e3b(0x2e6)],'unitID':_0x1122b2['unitId']}}))[_0x2c2e3b(0x3bb)][_0x2c2e3b(0x154)][_0x2c2e3b(0x20e)](_0x319b4b=>({'objectId':_0x319b4b['id'],'name':_0x319b4b['subject'][_0x2c2e3b(0x3ad)],'metadata':{'icon':_0x319b4b[_0x2c2e3b(0x379)][_0x2c2e3b(0x1b1)]},'label':_0x319b4b[_0x2c2e3b(0x379)][_0x2c2e3b(0x3ad)],'objectType':_0x34a700['PERSON']})),'metadata':{},'type':_0x34a700[_0x2c2e3b(0x216)]}]};}};yt=hr([hi(0x0,_0x19c414(_0x51423a)),hi(0x1,_0x19c414(_0xf7c598))],yt);var lr=Object[_0x21fa21(0x16f)],ur=(_0x5c90f9,_0x3c5add,_0x160e86,_0x2304d2)=>{for(var _0x550465=_0x2304d2>0x1?void 0x0:_0x2304d2?lr(_0x3c5add,_0x160e86):_0x3c5add,_0x4ba58d=_0x5c90f9['length']-0x1,_0x4718c3;_0x4ba58d>=0x0;_0x4ba58d--)(_0x4718c3=_0x5c90f9[_0x4ba58d])&&(_0x550465=_0x4718c3(_0x550465)||_0x550465);return _0x550465;},we=(_0x525753,_0x51a3fb)=>(_0x18a0cc,_0x4ba77a)=>_0x51a3fb(_0x18a0cc,_0x4ba77a,_0x525753);let ot=class extends _0x37cb10{constructor(_0x31b150,_0x35fb2e,_0x53bdc9,_0x4c7221,_0x304feb){var _0x5ee5ec=_0x21fa21;super(),this[_0x5ee5ec(0x1f8)]=_0x31b150,this[_0x5ee5ec(0x282)]=_0x35fb2e,this[_0x5ee5ec(0x275)]=_0x53bdc9,this['_collaborationSessionService']=_0x4c7221,this[_0x5ee5ec(0x41a)]=_0x304feb,this[_0x5ee5ec(0x1ff)](),this['_initCloseConn']();}[_0x21fa21(0x3ea)](){var _0x28a2a7=_0x21fa21;const _0x320d95=async _0x3b1bb8=>{var _0x4fdd83=_0x4934;(await this[_0x4fdd83(0x135)][_0x4fdd83(0x3ac)](_0x3b1bb8))[_0x4fdd83(0x143)]['pipe'](_0x439f72(_0xb652a1=>_0xb652a1['eventID']===_0xea38b9[_0x4fdd83(0x20a)]),_0x35f491(this[_0x4fdd83(0x186)]))['subscribe'](_0x3a04fe=>{var _0x7ce3a4=_0x4fdd83;const _0x246d36=_0x3a04fe,{reason:_0x1edaa9}=_0x246d36[_0x7ce3a4(0x1de)];this['_collaborationUIEventService'][_0x7ce3a4(0x374)]({'id':re[_0x7ce3a4(0x188)],'data':_0x1edaa9}),this[_0x7ce3a4(0x275)][_0x7ce3a4(0x40f)](new _0x3477ec(_0x3b1bb8)['id'],!0x1),this[_0x7ce3a4(0x135)]['closeSession'](_0x3b1bb8);});};_0x3b99f9(this['_univerInstanceService'][_0x28a2a7(0x3a6)](_0x57bf09[_0x28a2a7(0x19a)]),this['_univerInstanceService'][_0x28a2a7(0x3a6)](_0x57bf09[_0x28a2a7(0x240)]))[_0x28a2a7(0x1be)](_0x7fca1a(_0x1b4bc4=>_0x1b4bc4['getUnitId']()),_0x439f72(_0x2fd0de=>!_0x173af8(_0x2fd0de)),_0x35f491(this[_0x28a2a7(0x186)]))['subscribe'](_0x1f04ca=>{_0x320d95(_0x1f04ca);});}['_initUnitPermissionChange'](){var _0x5001a2=_0x21fa21;const _0x5d023f=async _0xad9cfb=>{var _0x102994=_0x4934;const _0x541367=await this['_collaborationSessionService'][_0x102994(0x3ac)](_0xad9cfb),_0x1694d3=this[_0x102994(0x1f8)][_0x102994(0x3f7)](_0x280abf);_0x541367['event$'][_0x102994(0x1be)](_0x439f72(_0x3b93b0=>_0x3b93b0[_0x102994(0x180)]===_0xea38b9[_0x102994(0x13a)]),_0x35f491(this['dispose$']))[_0x102994(0x223)](_0x297c55=>{var _0x5b6f04=_0x102994;const _0x282c6e=_0x297c55,{objectId:_0x4262e8}=_0x282c6e[_0x5b6f04(0x1de)];_0x4262e8===_0xad9cfb?_0x1694d3[_0x5b6f04(0x12d)](_0xad9cfb):_0x1694d3['refreshPermission'](_0xad9cfb,_0x4262e8);});};_0x3b99f9(this[_0x5001a2(0x282)]['getTypeOfUnitAdded$'](_0x57bf09[_0x5001a2(0x19a)]))[_0x5001a2(0x1be)](_0x7fca1a(_0x1cbf96=>_0x1cbf96[_0x5001a2(0x1df)]()),_0x439f72(_0x5d2054=>!_0x173af8(_0x5d2054)),_0x35f491(this['dispose$']))[_0x5001a2(0x223)](_0x48b958=>{_0x5d023f(_0x48b958);});}};ot=ur([we(0x0,_0x19c414(_0x50fda6)),we(0x1,_0x11d3ee),we(0x2,_0x19d05d),we(0x3,_0x19c414(Me)),we(0x4,_0x19c414(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0xe6b874,_0x4c77a8,_0x57cc35,_0x109afc)=>{var _0x16e155=_0x21fa21;for(var _0x4d90c2=_0x109afc>0x1?void 0x0:_0x109afc?dr(_0x4c77a8,_0x57cc35):_0x4c77a8,_0x2de0a5=_0xe6b874[_0x16e155(0x286)]-0x1,_0x68b5fb;_0x2de0a5>=0x0;_0x2de0a5--)(_0x68b5fb=_0xe6b874[_0x2de0a5])&&(_0x4d90c2=_0x68b5fb(_0x4d90c2)||_0x4d90c2);return _0x4d90c2;},_i=(_0x5d6a8f,_0x5a454b)=>(_0x135fb9,_0xce92c9)=>_0x5a454b(_0x135fb9,_0xce92c9,_0x5d6a8f);let Nt=class{constructor(_0x18366f,_0x3ceb0a){var _0x25f1e4=_0x21fa21;this[_0x25f1e4(0x1a6)]=_0x18366f,this['_httpService']=_0x3ceb0a;}async[_0x21fa21(0x206)](_0x12502f,_0xd38eb6){var _0x507b13=_0x21fa21,_0x22acaf;const {unitID:_0x5a53da,type:_0x517f66,revision:_0x51985a=0x0}=_0xd38eb6,_0x3a9941=this[_0x507b13(0x28f)]()+'/'+_0x517f66+_0x507b13(0x239)+_0x5a53da+_0x507b13(0x3dc)+_0x51985a,_0x55db8d=(await this[_0x507b13(0x32a)]['get'](_0x3a9941))['body'],_0xd9ff33=(_0x22acaf=_0x55db8d[_0x507b13(0x1ed)])==null?void 0x0:_0x22acaf[_0x507b13(0x40d)];if(_0xd9ff33){const _0x3d9aa3=_0xd9ff33==null?void 0x0:_0xd9ff33[_0x507b13(0x16c)],_0x4c25cb=_0x1e7d49[_0x507b13(0x1b6)](_0x5acace(_0x3d9aa3));_0xd9ff33[_0x507b13(0x16c)]=_0x4c25cb,Object[_0x507b13(0x174)](_0xd9ff33[_0x507b13(0x30c)])[_0x507b13(0x189)](([,_0x5521da])=>{var _0x3ab3c7=_0x507b13;const _0x28d9da=_0x5521da[_0x3ab3c7(0x16c)],_0x2261a1=_0x1e7d49[_0x3ab3c7(0x1b6)](_0x5acace(_0x28d9da));_0x5521da[_0x3ab3c7(0x16c)]=_0x2261a1;});}return _0x55db8d;}async[_0x21fa21(0x40b)](_0x241065,_0x1cc135){var _0x2519cf=_0x21fa21;const {unitID:_0x3b3793,type:_0x4191b1,blockID:_0x4f391f}=_0x1cc135,_0x2c5849=this[_0x2519cf(0x1d4)]()+'/'+_0x4191b1+_0x2519cf(0x239)+_0x3b3793+_0x2519cf(0x347)+_0x4f391f;return(await this[_0x2519cf(0x32a)][_0x2519cf(0x3f7)](_0x2c5849))[_0x2519cf(0x3bb)];}async['getDeserializedSheetBlock'](_0x3f5d13,_0x3b1f85){var _0x11a9d5=_0x21fa21;const {unitID:_0x28eafd,type:_0x2cb18d,blockID:_0x1fde49}=_0x3b1f85,_0x49e901=this[_0x11a9d5(0x1d4)]()+_0x11a9d5(0x347)+_0x2cb18d+_0x11a9d5(0x239)+_0x28eafd+'/block/'+_0x1fde49;return(await this[_0x11a9d5(0x32a)][_0x11a9d5(0x3f7)](_0x49e901))[_0x11a9d5(0x3bb)];}async['fetchMissingChangesets'](_0x306b06,_0x4a6712){var _0x47f162=_0x21fa21;const {unitID:_0x4199d9,type:_0x18c20c,from:_0x299b2d,to:_0x40a313}=_0x4a6712,_0x4c91ee=this[_0x47f162(0x1d4)]()+'/'+_0x18c20c+_0x47f162(0x239)+_0x4199d9+_0x47f162(0x32c)+_0x299b2d+_0x47f162(0x364)+_0x40a313;return(await this[_0x47f162(0x32a)][_0x47f162(0x3f7)](_0x4c91ee))[_0x47f162(0x3bb)];}[_0x21fa21(0x28f)](){var _0x370715=_0x21fa21,_0x442874;return(_0x442874=this[_0x370715(0x1a6)][_0x370715(0x417)](Sn))!=null?_0x442874:this['_getAPIPrefix']();}[_0x21fa21(0x1d4)](){var _0x13e943=_0x21fa21,_0x1f94f7,_0x394ea8;const _0x3d3323=this[_0x13e943(0x1a6)][_0x13e943(0x417)](mn),_0x2dd76d=this[_0x13e943(0x1a6)]['getConfig'](q);return(_0x394ea8=(_0x1f94f7=_0x2dd76d==null?void 0x0:_0x2dd76d[_0x13e943(0x3d7)])!=null?_0x1f94f7:_0x3d3323)!=null?_0x394ea8:gn;}async[_0x21fa21(0x3f5)](_0x52aacb,_0x43305e){var _0x58af26=_0x21fa21;const _0xc248a2=_0x58af26(0x1b8)+_0x43305e[_0x58af26(0x231)]+_0x58af26(0x239)+_0x43305e[_0x58af26(0x1ef)]+_0x58af26(0x197);return(await this[_0x58af26(0x32a)]['get'](_0xc248a2,{'params':{'resourceId':JSON[_0x58af26(0x306)](_0x43305e['resourceIDs'])}}))['body'];}[_0x21fa21(0x3da)](){var _0x406a51=_0x21fa21;throw new Error(_0x406a51(0x409));}['saveSheetBlock'](){var _0x37ac37=_0x21fa21;throw new Error(_0x37ac37(0x409));}[_0x21fa21(0x38e)](){var _0x2f4f84=_0x21fa21;throw new Error(_0x2f4f84(0x409));}[_0x21fa21(0x170)](){var _0x5c4294=_0x21fa21;throw new Error(_0x5c4294(0x409));}[_0x21fa21(0x304)](){var _0xef5b9d=_0x21fa21;throw new Error(_0xef5b9d(0x409));}};Nt=fr([_i(0x0,_0x51423a),_i(0x1,_0x19c414(_0xf7c598))],Nt);var vr=Object[_0x21fa21(0x16f)],pr=(_0x48770b,_0x526f2e,_0x5cf91b,_0x157dfc)=>{var _0x1ac5ce=_0x21fa21;for(var _0x5a6a6d=_0x157dfc>0x1?void 0x0:_0x157dfc?vr(_0x526f2e,_0x5cf91b):_0x526f2e,_0x2a231e=_0x48770b[_0x1ac5ce(0x286)]-0x1,_0x30dadf;_0x2a231e>=0x0;_0x2a231e--)(_0x30dadf=_0x48770b[_0x2a231e])&&(_0x5a6a6d=_0x30dadf(_0x5a6a6d)||_0x5a6a6d);return _0x5a6a6d;},Pe=(_0xe0bcad,_0x401874)=>(_0xea5af7,_0x2d6590)=>_0x401874(_0xea5af7,_0x2d6590,_0xe0bcad);function _0x4a51(){var _0x30b720=['JOIN_ROOM_FULL','&to=','charAt','_clearRedo','_transformSelections','Base64','_clearRetryConnectingTimer','LIVESHARE_TERMINATE','APPLY_PERMISSION_DENIED','$super','_transformRemoteChangesetByIMECache','_changesetSessionId','_onRemoteRetry','find','_getUploadFileURL','blockSize','_doCryptBlock','emitEvent','WordArray','localeService','call','_substituteRedoStack','subject','HELLO','post','isArray','decrypt','repeat','addHandlerCallback','enc','allowed','bind','getCurrentSelections','responseType','mixIn','sessionStatus$','keySize','objects','onTransformIME','_tryReconnect','rev','_shouldReportTelemetry','getCollabEntity$','saveChangeset','_startCollaboration','/universer-api/uniscript','catch','/universer-api/stream/file/upload','compose','_entities','equals','stopTime','encrypt','_createHelper','_members$','_onOffline','getTypeOfUnitDisposed$','_getRedoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_emitMembers','_status$','_getSignURL','_singleActiveUnitService','replace','unpad','_exhaustRemoteChangesetQueue','EMAIL_HAS_BEEN_BOUND','getTypeOfUnitAdded$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_incrementRevisionNumber','_onFetchMissResult','Utf8','SHA1','requireSession','name','Decryptor','LIVESHARE_NEW_HOST','_snapshotService','INVALID_INVITE_CODE','image/png','YUUMI_ALL_TABLES_IS_INVALID','exports','UNKNOWN_CMD','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','session.room-permission-denied','SNAPSHOT_HAS_BEEN_REMOVED','_listenToNetworkCondition','onCommandExecuted','body','transformSelections','getCollabEntity','finalize','listRoles','downloadEndpointUrl','set','_prevBlock','CBC','_updateState','pad','USERS_LEAVE','function','_onMessage','/universer-api/authz','[CollaborationSessionService]','_nRounds','unsubscribe','symbol','cfg','_roomMembers','_telemetryService','_clearScheduledTask','save\x20fail\x20reason\x20is\x20','_state','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_queuedRemoteChangesets','sin','snapshotServerUrl','onCommentUpdate','_applyRemoteChangeset','saveSnapshot','/new_changes','/rev/','conflict','_joinRoom','createSocket','LICENSE_MAX_UNITS_EXCEEDED','onTransformSelections','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearHeartbeatTimer','CONFLICT','loginUrlKey','extend','formatter','_nDataBytes','LOCAL_CACHE_INTERVAL','_initCloseConn','changesets','OpenSSL','onSendChangeset','INVITE_CODE_ALREADY_BOUND','removeMember','reset','_networkConditionService','sid','4362561VahAEK','ONLINE','getResourcesRequest','NoPadding','get','algo','onload','_handlerCallback','4936604TrmkBY','Undefined','onRemoteRej','hasOwnProperty','_compressMutationService','processBlock','_unlockTransition','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sendingTimer','interceptor','baseRev','pending','/allowed','ERROR_IMAGE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','next','getSheetBlock','put','workbook','PERMISSION_REJ','updatePermissionPoint','charCodeAt','_sessionStatus$','_hasher','onTransformState','_onRemoteChangeset','awaiting','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getConfig','awaiting_with_pending','debug','_collaborationUIEventService','_rescheduleHeartbeat','getRandomValues','revision','reqId','_ENC_XFORM_MODE','_key','collaboration-client.config','Cipher','_candidateSocket','_keyPriorReset','[SyncedState]:\x20received\x20rejection.','updateCursorEvent','concat','_socketMessageSubscription','ERROR_EXCEED_SIZE','LIVESHARE_OPERATION','_transformIMECache','_commentUpdate$','YUUMI_NO_CUBOID_FOR_QUESTION','_resendWithTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','msCrypto','url','initWorkbookPermissionChange','readInt32LE','\x20in\x20_schedule.','kdf','_remoteChangesetQueue','_resendTimer','splice','createEncryptor','_collaborationSessionService','push','image/jpg','_iv','collaboratorID','UPDATE_PERMISSION_OBJ','/universer-api/comb','LICENSE_IMPORT_SIZE_EXCEEDED','_map','PY_RUNTIME_SCRIPT_ERROR','actions','getCurrentRevOfUnit','_userManagerService','AES','event$','_revisionService','SEND_CHANGESET_TIMEOUT','buffer','OTHER_CLIENTS_EDITING','abs','executeCommand','IDLE','roles','_createInitialState','compute','_socket$','_sendHeartbeat','PSEUDO_FETCH_MISSING_RESULT','COMPRESS_MUTATION_SEND','Hasher','_showConflictNotification','collaborators','deleteCollaborator','_socketService','_pendingMutations','infoRsp','headers','AUTHZ_URL_KEY','waitForRoom$','_onRecvEvent','appendMutation','capture','close$','PERMISSION_DENIED','cmd','_handler','collaboration_new_changeset','_localeService','_onConnectionOpen','max','YUUMI_URL_COL_OUT_OF_RANGE','Could\x20not\x20dynamically\x20require\x20\x22','_imageSourceCache','commentUpdateEvent','_onLocalMutation','originalMeta','action','override','getOwnPropertyDescriptor','copyFileMeta','CHANGESET_ACK','_initMergeInterceptor','_sheetTransformSelectionsService','entries','NOT_FOUND','code','liveShareNewHost','POST','_startTelemetryCollaborationNewChangeset','awaitingChangeset','_onUserLeave','onStateChange','toLowerCase','?url=','ciphertext','eventID','[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.','BufferedBlockAlgorithm','JOINING','UnitEmbedded','defineProperty','dispose$','transformChangesets','CLOSE_ROOM','forEach','onMissedChangesetFetched','connection\x20error','_config','SOCKET_FAILED','collaboration-client.local-cache-service','_toggleOnline','fetchThroughInterceptors','now','_getDownloadEndpointURL','updateMember','_change$','open$','isPermissionRej','/resources','SUBMIT_CHANGESET','c1Prime','UNIVER_SHEET','getFocusedUnit','clear','signUrlServerUrl','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','duration','onRemoteRetry','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getImage','getTime','key','YUUMI_SUBSCRIPTION_NOT_FOUND','_configService','joinRsp','_changesetReqId','_transitionLocked','then','SNAPSHOT_SERVER_URL_KEY','collabWebSocketUrl','JOIN','mutations','_decreaseWaiting','univer-pro.collaboration-client.network-condition.service','avatar','mode','selections','_members','status','encode','salt','/universer-api/snapshot/','_commentService','saveImage','toString','_getUndoStack','UnitSnapshot','pipe','_transformStack','_clearCollaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','src','LOGIN_FAILED','_event$','origin','SYNCED','_collabSessionService','_parse','onRemoteAck','getCurrentUser','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','join','location','_sendHeartbeatTimer','_xformMode','6403632cMZVxb','_createInitialStateImpl','unknown','send','_getAPIPrefix','session.room-full','LOGIN_URL_KEY','_socketReady','/object/','reconnect','init','padding','transformStack\x20failed!','_toggleOffline','data','getUnitId','_iKey','88473pqFqdN','APPLY_DUPLICATED','getActiveSheet','_createHmacHelper','fetch_missing','USERS_ENTER','patch','memberID','error','_registerDependencies','title','transformMutationsWithChangeset','snapshot','_snapshotServerService','unitID','x-univer-host','_append','routeKey','&source=','resend','\x0aAfter:\x20','state','_timeoutTimer','_injector','UNRECOGNIZED','create','OFFLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','deepClone','_initUnitPermissionChange','getValue','YUUMI_RATE_OVER_LIMIT','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','ALREADY_EXISTS','_redoStacks','prototype','getUnitOnRev','getRoom','clone','__Key__','SHOULD_CLOSE_CONN','[OfflineState]:\x20received\x20acknowledgement.','OPTIONAL','_data','map','createCollaborator','_fetchMissChangesets','_checkMissing','has','loadDoc','[PendingState]:\x20received\x20acknowledgement.','44hCXHAU','PERSON','roomInfos','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','NEW_CHANGESETS','_doFinalize','reduce','execute','href','_doReset','YUUMI_UNABLE_LOAD_URL','_unitInfo$','FAIL','subscribe','_getCurrentRevision','_HTTPService','HmacSHA1','USER_NOT_INVITED_CODE','string','/role','status$','sessionStatus','_type','/collaborator','_retryConnectingTimer','editing\x20status\x20changed\x20to','?size=','type','Base','_logService','WECHAT_HAS_BEEN_BOUND','HEARTBEAT','message$','CHANGESET_SHOULD_RETRY','transformUndoRedo','/unit/','getInterceptPoints','_removeRoom','COMPRESS_MUTATION_APPLY','m2Prime','BASE64','HMAC','UNIVER_DOC','BlockCipher','_localCacheService','LICENSE_DISTRO_REJECTED','format','_resendTimeout','_updateStatus','onMissingChangesets','NOT_COLLAB','loadOfflineData','_awaitingChangeset','_roomCreated$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','size','_clearUndo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COMMENT_UPDATE','_memberService','UNIVER_PROJECT','not_collab','words','members','_reverseMap','_scheduleCompleteTimestamp','_initDependencies','/object','LIVESHARE_REQUEST_HOST','from','_getSendChangesetTimeout','onLocalMutation','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setShowComponents','_onConflict','createDecryptor','floor','_unitID','_getCtorByUniverType','_createSocket','shouldCloseConn','entityInit$','byteOffset','result','_process','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','byteLength','[DataLoaderService]','_retryCount','reject','UNISCRIPT_RUN','_transformStateCache','univer-pro.collaboration-client.single-active-unit-service','liveShareOperation','_permissionService','userID','18561576CoTVUg','HttpExport','clamp','includes','socketService','onSyncEditingCollabCursor','asObservable','parse','min','enableSingleActiveInstanceLock','StreamCipher','_univerInstanceService','NO_OTHER_CLIENTS_EDITING','INVITE_CODE_REQUIRED','22954IssFjP','length','_waitCount','_isPermissionRej','LEAVE','onRemoteChangeset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ERROR_IMAGE_TYPE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_REVISION_CONFILICT','getSnapshotAPIPath','image/gif','readAsDataURL','BlockCipherMode','setWaitCount','objectActions','_socket','\x20-\x20','dispose','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','putCollaborators','_onRemoteRejected','Failed\x20to\x20update\x20permission\x20point','onTransformRemoteChangesetByIMECache','method','delete','_executeRemoteChangeset','session','list','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_state$','_doProcessBlock','every','permissionRejEvent','_keySchedule','toggleOffline','INVALID_ARGUMENT','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteACK','UserProfileImg','lib','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','range','crypto','createInstance','FETCH_MISSING','socket\x20open.','_getLoginPath','requestParams','SNAPSHOT_URL_KEY','[UniverCollaborationClientPlugin]','INTERNAL_ERROR','sigBytes','apply','slice','readyForCollab','offline','random','_eventService','onlyLocal','unit-cache-','_init','[OfflineState]:\x20received\x20rejection.','APPLY_REVISION_CONFILICT','iterations','\x20to\x20','_createHandler','INGEST','_entityInit$','JOIN_ROOM_NOT_EXISTS','_commandService','filter','Latin1','default','setConfig','UNIVER_SLIDE','_transformService','registerHTTPInterceptor','Encryptor','ivSize','_lockTransition','change$','_collaborationTimeoutTimer','_hash','auth.needGotoLoginAlert','_getAPIPrefixPath','objectID','_submitChangeset','values','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','toggleOnline','MD5','uniscriptRunEvent','ENSURE_SNAPSHOT_EXECUTION','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','RETRY_CONNECTING_MAX_COUNT','unitId','TOO_MANY_REQUESTS','listCollaborators','_replaceFileID','_schedule','generateRandomId','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','objectType','1727955EyKOWG','_mode','APPLY_REJECT','disposeWithMe','_collaborationPaused','_clearTimeoutTimer','[CollaborationSessionService]:\x20socket\x20error','_stopTelemetryCollaborationNewChangeset','&assign=','UPDATE_CURSOR','SOCKET_FAILED_RETRY','updatePermissionObjEvent','substr','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateLocalCache','COLLAB_SUBMIT_CHANGESET_URL','encodeURIComponent','SUBMIT_CHANGESET_TIMEOUT','ceil','params','DEFAULT_FILE_NAME','[OfflineState]:\x20received\x20changeset.','getLatestCsReqIdBySid','__creator','stringify','add','localCacheService','_onConnectionFailed','_onJoinRoomEvent','_clearLocalCache','sheets','EvpKDF','hasher','onTransformRemoteChangesetByStateCache','UNAUTHENTICATED','unitInfo$','Error\x20on\x20receiving\x20event','UUID','APPLY_NON_SEQUENTIAL_REVISION','randomUUID','submit\x20changeset\x20error!','UNDEFINED','_cipher','_oKey','updateOfflineData','_sessions','UNKNOWN_CODE','complete','MUTATION','MOBILE_HAS_BEEN_BOUND','_telemetryInfo','__esModule','[PendingState]:\x20received\x20rejection.','\x0aCurrent:\x20','OTHER_CLIENT_EDITING','LICENSE_EXPORT_SIZE_EXCEEDED','state$','_loadDoc','/-/object/-/batch_allowed','[CollaborationState]:\x20apply\x20error!','_httpService','getUnitStatus$','/fetchmissing?from=','getMember','_disableEditing','_minBufferSize','addImageSourceCache','_waitForHeartbeatResponse','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_loadSheet','SerializableCipher','fromCollab','_sender','_instanceService','authzUrl','batchAllowed','_transformUndoredo','getUnitType','textRanges','enableAuthServer','_invKeySchedule','/universer-api/oidc/authpage','LIVESHARE_FETCH_OPERATIONS','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','newCsEvent','getAllMembers','CHANGESET_REJ','GLOBAL_ROOMS_CNT_EXCEEDS','SNAPSHOT_INVALID_SNAPSHOT','/block/','getMemberID','target','_transformRemoteChangesetByStateCache','YUUMI_ASYNCIO_CANCELLED','onStarting','close','_substituteUndoStack','online$','RECV','YUUMI_AI_RUN_FAILED','[CollaborationUndoRedoService]','SUCCUSS','resolve','collabSubmitChangesetUrl','_tryEnsureSocket','session.room-not-exists','enableOfflineEditing','CipherParams','HEARTBEAT_TIMEOUT','AWAITING_WITH_PENDING','_onCombEvent','COMPLETION_FINISHED','_replayCachedMutations','update','HttpImport','COLLAB_WEB_SOCKET_URL','socket\x20close'];_0x4a51=function(){return _0x30b720;};return _0x4a51();}let Dt=class extends _0x5c1da8{constructor(_0x49ffb5,_0x53290d,_0x2d9b44,_0x3ce046,_0x343ada){super(_0x49ffb5,_0x53290d,_0x2d9b44),this['_transformService']=_0x3ce046,this['_logService']=_0x343ada;}[_0x21fa21(0x238)](_0x9a5f69,_0x5f26ef){var _0xa1cd0a=_0x21fa21;const _0x9ba9cd=this[_0xa1cd0a(0x1bc)](_0x9a5f69);if(_0x9ba9cd)try{const _0x20004c=this[_0xa1cd0a(0x1bf)](_0x9ba9cd,_0x5f26ef);this[_0xa1cd0a(0x34e)](_0x9a5f69,_0x20004c);}catch(_0x28dc61){this[_0xa1cd0a(0x233)][_0xa1cd0a(0x1e9)](_0xa1cd0a(0x352),_0x28dc61),this[_0xa1cd0a(0x24f)](_0x9a5f69);}const _0x2a6d6b=this[_0xa1cd0a(0x39c)](_0x9a5f69);if(_0x2a6d6b)try{const _0x5b2e9b=this[_0xa1cd0a(0x1bf)](_0x2a6d6b,_0x5f26ef);this[_0xa1cd0a(0x378)](_0x9a5f69,_0x5b2e9b);}catch(_0x978bdd){this[_0xa1cd0a(0x233)]['error'](_0x978bdd),this[_0xa1cd0a(0x366)](_0x9a5f69);}}[_0x21fa21(0x24f)](_0x305cf5){var _0x540c93=_0x21fa21;const _0x317f2e=this[_0x540c93(0x1bc)](_0x305cf5);_0x317f2e&&(_0x317f2e[_0x540c93(0x286)]=0x0,this['_updateStatus']());}[_0x21fa21(0x366)](_0x381563){var _0x454a4e=_0x21fa21;const _0x35f25f=this[_0x454a4e(0x39c)](_0x381563);_0x35f25f&&(_0x35f25f[_0x454a4e(0x286)]=0x0,this[_0x454a4e(0x246)]());}[_0x21fa21(0x34e)](_0x1959c7,_0x36571d){var _0x46b862=_0x21fa21;this['_undoStacks'][_0x46b862(0x3c1)](_0x1959c7,_0x36571d),this['_updateStatus']();}[_0x21fa21(0x378)](_0x3c5f35,_0x57e550){var _0x13c655=_0x21fa21;this[_0x13c655(0x204)][_0x13c655(0x3c1)](_0x3c5f35,_0x57e550),this[_0x13c655(0x246)]();}[_0x21fa21(0x1bf)](_0x558b08,_0x536a86){var _0x2bc524=_0x21fa21;const _0x7531c4=[];let _0x244266=_0x536a86,_0x4fa089=_0x536a86;for(let _0x1acd1c=_0x558b08['length']-0x1;_0x1acd1c>=0x0;_0x1acd1c--){const {unitID:_0x16489a,undoMutations:_0x569bb9,redoMutations:_0x2590c1}=_0x558b08[_0x1acd1c],_0x210c33=this[_0x2bc524(0x2d1)][_0x2bc524(0x1ec)](_0x244266,_0x569bb9),_0x1f886e=this[_0x2bc524(0x2d1)][_0x2bc524(0x1ec)](_0x4fa089,_0x2590c1);if(_0x20a6d(_0x210c33)||_0x20a6d(_0x1f886e)){this['_logService'][_0x2bc524(0x1e9)]('[CollaborationUndoRedoService]',_0x2bc524(0x1dc),_0x210c33,_0x1f886e);break;}_0x244266=_0x210c33['c1Prime'],_0x4fa089=_0x1f886e['c1Prime'],_0x7531c4[_0x2bc524(0x136)]({'unitID':_0x16489a,'undoMutations':_0x210c33[_0x2bc524(0x23d)],'redoMutations':_0x1f886e[_0x2bc524(0x23d)]});}return _0x7531c4['reverse']();}};Dt=pr([Pe(0x0,_0x11d3ee),Pe(0x1,_0x1ce977),Pe(0x2,_0x3ee25d),Pe(0x3,_0x5ef856),Pe(0x4,_0x459fda)],Dt);var mr=Object[_0x21fa21(0x185)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x29057e,_0x4e8ea5,_0x5f0b75)=>_0x4e8ea5 in _0x29057e?mr(_0x29057e,_0x4e8ea5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f0b75}):_0x29057e[_0x4e8ea5]=_0x5f0b75,Er=(_0x5b0bd1,_0x801a9b,_0x513e31,_0x235bcf)=>{var _0x20b0f0=_0x21fa21;for(var _0x1762a5=_0x235bcf>0x1?void 0x0:_0x235bcf?gr(_0x801a9b,_0x513e31):_0x801a9b,_0x5eb016=_0x5b0bd1[_0x20b0f0(0x286)]-0x1,_0x55ecd9;_0x5eb016>=0x0;_0x5eb016--)(_0x55ecd9=_0x5b0bd1[_0x5eb016])&&(_0x1762a5=_0x55ecd9(_0x1762a5)||_0x1762a5);return _0x1762a5;},St=(_0x4b30b0,_0x4893a1)=>(_0x43cf8c,_0x195e80)=>_0x4893a1(_0x43cf8c,_0x195e80,_0x4b30b0),Ir=(_0xf1bdff,_0x50c072,_0x5be14d)=>Sr(_0xf1bdff,_0x50c072+'',_0x5be14d);const Tr=_0x21fa21(0x402);let Ut=class extends _0x5c5ff6{constructor(_0x31d669,_0x3e7e4e,_0x444e4f,_0x3c31d3){var _0x1cc8a3=_0x21fa21;super(),N(this,_0x1cc8a3(0x18c)),(this['_logService']=_0x3e7e4e,this[_0x1cc8a3(0x1f8)]=_0x444e4f,this[_0x1cc8a3(0x1a6)]=_0x3c31d3);const {..._0x52134d}=_0x4d2b25({},wn,_0x31d669);if(!_0x52134d[_0x1cc8a3(0x27b)])throw new Error(_0x1cc8a3(0x298));this[_0x1cc8a3(0x18c)]=_0x52134d,this[_0x1cc8a3(0x1a6)][_0x1cc8a3(0x2cf)](q,_0x52134d);}[_0x21fa21(0x34c)](){var _0x28faf1=_0x21fa21;this[_0x28faf1(0x1ea)](),this[_0x28faf1(0x259)]();}[_0x21fa21(0x1ea)](){var _0x5e24c6=_0x21fa21,_0x466d20,_0x173aec;this[_0x5e24c6(0x1f8)]['has'](_0x3319d4)&&this['_logService']['error'](_0x5e24c6(0x2b7),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x58006b=_0x2c416d([[_0x3319d4,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x5e24c6(0x27b)]}],[_0x468c9b,{'useClass':Nt}],[_0x11b08a,{'useClass':Rt}],[_0x167b34,{'useClass':Ot}],[_0x2d31ed,{'useClass':yt}],[st],[Ct]],(_0x466d20=this[_0x5e24c6(0x18c)])==null?void 0x0:_0x466d20[_0x5e24c6(0x16e)]);if(!((_0x173aec=this[_0x5e24c6(0x18c)])!=null&&_0x173aec[_0x5e24c6(0x280)])){const _0x15017b=_0x58006b['findIndex'](([_0x5c9761])=>_0x5c9761===ht);_0x15017b!==-0x1&&_0x58006b[_0x5e24c6(0x133)](_0x15017b,0x1);}_0x3efd00(this[_0x5e24c6(0x1f8)],_0x58006b);}['_initDependencies'](){var _0x23dbbe=_0x21fa21,_0x52e112,_0x2c32fd,_0x580f54;this[_0x23dbbe(0x1f8)][_0x23dbbe(0x3f7)](_0xf7c598)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x16a45f({'maxParallel':0x6})}),(_0x52e112=this[_0x23dbbe(0x18c)])!=null&&_0x52e112[_0x23dbbe(0x358)]||(_0x2c32fd=this[_0x23dbbe(0x1f8)]['get'](J,_0xc2a92d[_0x23dbbe(0x20c)]))==null||_0x2c32fd['disableLocalCache'](),(_0x580f54=this[_0x23dbbe(0x18c)])!=null&&_0x580f54[_0x23dbbe(0x33d)]&&_0x949144(this[_0x23dbbe(0x1f8)],[[rt]]),_0x949144(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x291a63(_0x26e1ba,_0x16b5d9),St(0x1,_0x459fda),St(0x2,_0x19c414(_0x50fda6)),St(0x3,_0x51423a)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me 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,Mr 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,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
1
+ var _0x52ec77=_0x406d;(function(_0x10b53f,_0x78b16c){var _0x3120c0=_0x406d,_0x368bb3=_0x10b53f();while(!![]){try{var _0x37ad12=-parseInt(_0x3120c0(0x339))/0x1*(parseInt(_0x3120c0(0x3de))/0x2)+parseInt(_0x3120c0(0x3e9))/0x3+parseInt(_0x3120c0(0x335))/0x4*(-parseInt(_0x3120c0(0x2b3))/0x5)+-parseInt(_0x3120c0(0x21a))/0x6+parseInt(_0x3120c0(0x3e1))/0x7*(parseInt(_0x3120c0(0x266))/0x8)+parseInt(_0x3120c0(0x1f8))/0x9*(-parseInt(_0x3120c0(0x2e8))/0xa)+parseInt(_0x3120c0(0x21d))/0xb*(parseInt(_0x3120c0(0x3b5))/0xc);if(_0x37ad12===_0x78b16c)break;else _0x368bb3['push'](_0x368bb3['shift']());}catch(_0x334f59){_0x368bb3['push'](_0x368bb3['shift']());}}}(_0x3017,0xef7e7));var wi=Object[_0x52ec77(0x320)],Pi=(_0x32635c,_0x24cd3e,_0x8f8961)=>_0x24cd3e in _0x32635c?wi(_0x32635c,_0x24cd3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8f8961}):_0x32635c[_0x24cd3e]=_0x8f8961,N=(_0x4cb7ce,_0xd2904a,_0xa759fb)=>Pi(_0x4cb7ce,typeof _0xd2904a!='symbol'?_0xd2904a+'':_0xd2904a,_0xa759fb);import{createIdentifier as _0xa243f1,Inject as _0xba0ecf,Injector as _0x8e3ca0,IConfigService as _0x88d960,ILogService as _0x9fbca6,Disposable as _0x5f5a21,DisposableCollection as _0x1cf5cb,toDisposable as _0x2d6dd4,IUniverInstanceService as _0x23b21c,UserManagerService as _0x55e5df,UniverInstanceType as _0x177373,LocaleService as _0x335da4,Optional as _0x7418f6,RxDisposable as _0x3fa1f4,Tools as _0x493d53,Rectangle as _0xe71da2,ICommandService as _0x5481d1,JSONX as _0x4d278c,CommandType as _0x2a4448,IUndoRedoService as _0x2fdb04,IPermissionService as _0x206a87,sequenceExecute as _0xe3901c,Workbook as _0x107137,MentionType as _0x211eb4,isInternalEditorID as _0x24270f,LocalUndoRedoService as _0x5b8ef1,IContextService as _0x9b5302,DependentOn as _0x5462e4,Plugin as _0x5ad994,merge as _0x2a362f,mergeOverrideWithDependencies as _0x168f09,IAuthzIoService as _0x507f35,IMentionIOService as _0x1148c4,registerDependencies as _0x2342fc,Quantity as _0x254718,touchDependencies as _0x51eba1}from'@univerjs/core';import{Subject as _0xa2c003,merge as _0x87bfc3,of as _0x12ec9c,BehaviorSubject as _0x4340e3,takeUntil as _0x2933a0,ReplaySubject as _0x340ab8,take as _0x42684f,map as _0x45673e,shareReplay as _0x4ceb21,firstValueFrom as _0x5892d6,concatMap as _0x466c2d}from'rxjs';import{map as _0x45bba4,take as _0x42264c,filter as _0x23e992,delay as _0x3b6c77,takeUntil as _0x516950}from'rxjs/operators';import{CollaborationEvent as _0x3eeb59,ISnapshotServerService as _0x5c9893,parseChangesetToProtocol as _0x4ec226,ITransformService as _0x106d03,isTransformMutationsWithChangesetSuccess as _0x2668b0,mapDocumentTypeToUniverType as _0x5abc44,RevisionService as _0x3cc3c8,isTransformChangesetsSuccess as _0x318f2c,CompressMutationService as _0x25aff2,parseProtocolChangeset as _0x114040,SnapshotService as _0x535422,textEncoder as _0x3d05d7,b64DecodeUnicode as _0x2eb3b3,isTransformMutationsWithChangesetFailure as _0x246dc7,UniverCollaborationPlugin as _0x37cb6b}from'@univerjs-pro/collaboration';import{HTTPService as _0x540523,ISocketService as _0xe44910,MergeInterceptorFactory as _0x57fbc8,HTTPRequest as _0x51ed8a,UniverNetworkPlugin as _0x1bda09,ThresholdInterceptorFactory as _0x46f41a}from'@univerjs/network';import{ITelemetryService as _0x4130c1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1614d7}from'@univerjs/docs';import{SheetsSelectionsService as _0x16c796,SetSelectionsOperation as _0xb0e3d2,InsertSheetMutation as _0x3e373b,EmptyMutation as _0x5b0914,WorkbookEditablePermission as _0x2805e7,SheetPermissionInitController as _0x36210a}from'@univerjs/sheets';import{ImageSourceType as _0xc8b8f6,ImageUploadStatusType as _0x2b4a97,IImageIoService as _0x31864b}from'@univerjs/drawing';import{getGlobalObject as _0x4f567e}from'@univerjs-pro/license';const mn=_0x52ec77(0x3d8),gn='/universer-api/snapshot',Sn='SNAPSHOT_URL_KEY',Lr=_0x52ec77(0x459),En=0x7d0,In=_0x52ec77(0x360),Tn=_0x52ec77(0x46d),Mr=_0x52ec77(0x429),Cn=_0x52ec77(0x279),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0x52ec77(0x4b4),yn=0x3,xr=_0x52ec77(0x31b),kr=0x3e8,Nn=_0x52ec77(0x1f5),Dn=_0x52ec77(0x3bf),Un=_0x52ec77(0x30f),An='/universer-api/oidc/authpage',$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr='/universer-api/uniscript';var Si=(_0x5a3bb8=>(_0x5a3bb8[_0x5a3bb8['UNDEFINED']=0x0]=_0x52ec77(0x37c),_0x5a3bb8[_0x5a3bb8['OK']=0x1]='OK',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x29f)]=0x2]=_0x52ec77(0x29f),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x254)]=0x3]=_0x52ec77(0x254),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x2ca)]=0x4]=_0x52ec77(0x2ca),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x483)]=0x5]=_0x52ec77(0x483),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x306)]=0x6]=_0x52ec77(0x306),_0x5a3bb8[_0x5a3bb8['INVALID_ARGUMENT']=0x7]=_0x52ec77(0x435),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x3c6)]=0x8]=_0x52ec77(0x3c6),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x246)]=0x9]=_0x52ec77(0x246),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x1d5)]=0xa]=_0x52ec77(0x1d5),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x286)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x489)]=0x1771]=_0x52ec77(0x489),_0x5a3bb8[_0x5a3bb8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x52ec77(0x3c1),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x1fe)]=0x1773]=_0x52ec77(0x1fe),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x318)]=0x1b59]='APPLY_REJECT',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x35e)]=0x1b5a]=_0x52ec77(0x35e),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x204)]=0x1b5b]=_0x52ec77(0x204),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x341)]=0x1b5c]=_0x52ec77(0x341),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x21b)]=0x1b5d]=_0x52ec77(0x21b),_0x5a3bb8[_0x5a3bb8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x52ec77(0x4a9),_0x5a3bb8[_0x5a3bb8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x52ec77(0x2be),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x472)]=0x232a]=_0x52ec77(0x472),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x3c8)]=0x232b]=_0x52ec77(0x3c8),_0x5a3bb8[_0x5a3bb8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x52ec77(0x452),_0x5a3bb8[_0x5a3bb8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x52ec77(0x4b0),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x3d2)]=0x2711]=_0x52ec77(0x3d2),_0x5a3bb8[_0x5a3bb8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x52ec77(0x1da),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x2bc)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x3d1)]=0x2714]=_0x52ec77(0x3d1),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x25d)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x26d)]=0x271b]=_0x52ec77(0x26d),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x2f8)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x3f6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x431)]=0x271e]=_0x52ec77(0x431),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x434)]=0x271f]=_0x52ec77(0x434),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x2d7)]=0x2af9]=_0x52ec77(0x2d7),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x44b)]=0x2ee1]=_0x52ec77(0x44b),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x1be)]=0x2ee2]=_0x52ec77(0x1be),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x21e)]=0x2ee3]=_0x52ec77(0x21e),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x1fc)]=0x2ee4]=_0x52ec77(0x1fc),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x25c)]=0x2ee5]=_0x52ec77(0x25c),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x30d)]=0x32c9]=_0x52ec77(0x30d),_0x5a3bb8[_0x5a3bb8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x52ec77(0x38b),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x4c0)]=0x32cb]=_0x52ec77(0x4c0),_0x5a3bb8[_0x5a3bb8[_0x52ec77(0x3fc)]=-0x1]=_0x52ec77(0x3fc),_0x5a3bb8))(Si||{}),Q=(_0x4a4df3=>(_0x4a4df3[_0x4a4df3[_0x52ec77(0x282)]=0x0]='UNIVER_UNKNOWN',_0x4a4df3[_0x4a4df3['UNIVER_DOC']=0x1]=_0x52ec77(0x2c0),_0x4a4df3[_0x4a4df3['UNIVER_SHEET']=0x2]=_0x52ec77(0x20b),_0x4a4df3[_0x4a4df3[_0x52ec77(0x3bb)]=0x3]=_0x52ec77(0x3bb),_0x4a4df3[_0x4a4df3[_0x52ec77(0x401)]=0x4]=_0x52ec77(0x401),_0x4a4df3[_0x4a4df3['UNRECOGNIZED']=-0x1]=_0x52ec77(0x3fc),_0x4a4df3))(Q||{}),F=(_0x3f3d14=>(_0x3f3d14[_0x3f3d14['UNKNOWN_CMD']=0x0]=_0x52ec77(0x471),_0x3f3d14[_0x3f3d14[_0x52ec77(0x440)]=0x1]=_0x52ec77(0x440),_0x3f3d14[_0x3f3d14[_0x52ec77(0x391)]=0x2]=_0x52ec77(0x391),_0x3f3d14[_0x3f3d14['LEAVE']=0x3]='LEAVE',_0x3f3d14[_0x3f3d14[_0x52ec77(0x392)]=0x4]='INGEST',_0x3f3d14[_0x3f3d14['HEARTBEAT']=0x5]=_0x52ec77(0x1f1),_0x3f3d14[_0x3f3d14[_0x52ec77(0x274)]=0x6]=_0x52ec77(0x274),_0x3f3d14[_0x3f3d14[_0x52ec77(0x3fc)]=-0x1]='UNRECOGNIZED',_0x3f3d14))(F||{}),ge=(_0x5791d3=>(_0x5791d3[_0x5791d3[_0x52ec77(0x2fb)]=0x0]=_0x52ec77(0x2fb),_0x5791d3[_0x5791d3['OK']=0x1]='OK',_0x5791d3[_0x5791d3[_0x52ec77(0x414)]=0x2]=_0x52ec77(0x414),_0x5791d3[_0x5791d3['JOIN_ROOM_FULL']=0x3e9]=_0x52ec77(0x462),_0x5791d3[_0x5791d3[_0x52ec77(0x47d)]=0x3ea]=_0x52ec77(0x47d),_0x5791d3[_0x5791d3[_0x52ec77(0x215)]=0x3eb]=_0x52ec77(0x215),_0x5791d3[_0x5791d3[_0x52ec77(0x2a9)]=0x3ec]=_0x52ec77(0x2a9),_0x5791d3[_0x5791d3[_0x52ec77(0x3fc)]=-0x1]=_0x52ec77(0x3fc),_0x5791d3))(ge||{}),Ei=(_0x34e04d=>(_0x34e04d[_0x34e04d[_0x52ec77(0x2ef)]=0x0]=_0x52ec77(0x2ef),_0x34e04d[_0x34e04d[_0x52ec77(0x444)]=0x1]=_0x52ec77(0x444),_0x34e04d[_0x34e04d[_0x52ec77(0x2e4)]=0x2]=_0x52ec77(0x2e4),_0x34e04d[_0x34e04d['UnitEmbedded']=0x3]='UnitEmbedded',_0x34e04d[_0x34e04d[_0x52ec77(0x3af)]=0x4]='UnitSnapshot',_0x34e04d[_0x34e04d[_0x52ec77(0x294)]=0x5]='UserProfileImg',_0x34e04d[_0x34e04d[_0x52ec77(0x3fc)]=-0x1]='UNRECOGNIZED',_0x34e04d))(Ei||{});const q=_0x52ec77(0x348),wn={};var re=(_0x4f38a1=>(_0x4f38a1[_0x52ec77(0x3da)]='OTHER_CLIENT_EDITING',_0x4f38a1[_0x52ec77(0x254)]=_0x52ec77(0x254),_0x4f38a1[_0x52ec77(0x1cf)]=_0x52ec77(0x1cf),_0x4f38a1['CLOSE_ROOM']=_0x52ec77(0x3b6),_0x4f38a1[_0x52ec77(0x2e2)]=_0x52ec77(0x2e2),_0x4f38a1['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x4f38a1[_0x52ec77(0x1ef)]='SOCKET_FAILED',_0x4f38a1['SUBMIT_CHANGESET_TIMEOUT']=_0x52ec77(0x207),_0x4f38a1))(re||{});class pe{constructor(){var _0x3769c0=_0x52ec77;N(this,_0x3769c0(0x470),new _0xa2c003()),N(this,'event$',this[_0x3769c0(0x470)][_0x3769c0(0x3dd)]());}[_0x52ec77(0x219)](_0x458b71){var _0x3da6f0=_0x52ec77;this[_0x3da6f0(0x470)]['next'](_0x458b71);}}const Pn=_0xa243f1(_0x52ec77(0x3a4));function Ln(_0x16f7b5){var _0x243597=_0x52ec77,_0x3c0eab,_0xf6a45f,_0x342b59,_0x4f937a,_0x4c3ae9;const _0x214ac2=_0x16f7b5['data'],_0x31b1a2=JSON['parse'](_0x214ac2);switch(_0x31b1a2[_0x243597(0x373)]){case F[_0x243597(0x1f1)]:case F[_0x243597(0x440)]:{const _0x28760d=_0x31b1a2[_0x243597(0x461)];return{..._0x31b1a2,'data':_0x28760d,'cmd':_0x31b1a2[_0x243597(0x373)]};}case F[_0x243597(0x391)]:{const _0xb4498f=_0x31b1a2['joinRsp'];return{..._0x31b1a2,'data':_0xb4498f,'cmd':_0x31b1a2[_0x243597(0x373)]};}case F[_0x243597(0x274)]:{const _0x70e018=_0x31b1a2[_0x243597(0x3b1)];switch(_0x70e018[_0x243597(0x45d)]){case _0x3eeb59[_0x243597(0x1db)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':(_0x3c0eab=_0x70e018[_0x243597(0x333)])==null?void 0x0:_0x3c0eab['cs']},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59['CHANGESET_ACK']:return{..._0x31b1a2,'data':{..._0x70e018,'data':(_0xf6a45f=_0x70e018[_0x243597(0x46c)])==null?void 0x0:_0xf6a45f['cs']},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59['NEW_CHANGESETS']:return{..._0x31b1a2,'data':{..._0x70e018,'data':(_0x342b59=_0x70e018[_0x243597(0x26b)])==null?void 0x0:_0x342b59['cs']},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59['CHANGESET_REJ']:return{..._0x31b1a2,'data':{..._0x70e018,'data':(_0x4f937a=_0x70e018['csRejEvent'])==null?void 0x0:_0x4f937a['cs']},'cmd':_0x31b1a2['cmd']};case _0x3eeb59['CHANGESET_SHOULD_RETRY']:return{..._0x31b1a2,'data':{..._0x70e018,'data':(_0x4c3ae9=_0x70e018['csShouldRetryEvent'])==null?void 0x0:_0x4c3ae9['cs']},'cmd':_0x31b1a2['cmd']};case _0x3eeb59['UPDATE_CURSOR']:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018['updateCursorEvent']},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x1b7)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x355)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59['USERS_LEAVE']:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x377)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59['LIVESHARE_NEW_HOST']:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x48d)]},'cmd':_0x31b1a2['cmd']};case _0x3eeb59[_0x243597(0x240)]:case _0x3eeb59['LIVESHARE_OPERATION']:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x39c)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x43d)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x48d)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x46f)]:return{..._0x31b1a2,'data':_0x70e018,'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x1de)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x464)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x393)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x3f4)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x1e2)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018[_0x243597(0x23a)]},'cmd':_0x31b1a2[_0x243597(0x373)]};case _0x3eeb59[_0x243597(0x380)]:return{..._0x31b1a2,'data':{..._0x70e018,'data':_0x70e018['uniscriptRunEvent']},'cmd':_0x31b1a2[_0x243597(0x373)]};default:return _0x31b1a2;}}default:return _0x31b1a2;}}function Mn(_0x31a7ae){var _0x33acb5=_0x52ec77;switch(_0x31a7ae[_0x33acb5(0x373)]){case F[_0x33acb5(0x1f1)]:case F[_0x33acb5(0x440)]:return JSON[_0x33acb5(0x33b)]({'cmd':_0x31a7ae['cmd'],'routeKey':_0x31a7ae[_0x33acb5(0x416)]});case F[_0x33acb5(0x392)]:{let _0x5057fa;switch(_0x31a7ae[_0x33acb5(0x34e)][_0x33acb5(0x45d)]){case _0x3eeb59[_0x33acb5(0x2c1)]:{_0x5057fa={'eventID':_0x3eeb59['UPDATE_CURSOR'],'updateCursorEvent':_0x31a7ae[_0x33acb5(0x34e)][_0x33acb5(0x34e)]};break;}case _0x3eeb59[_0x33acb5(0x2b6)]:{_0x5057fa={'eventID':_0x3eeb59['USERS_LEAVE'],'leaveEvent':_0x31a7ae[_0x33acb5(0x34e)][_0x33acb5(0x34e)]};break;}case _0x3eeb59[_0x33acb5(0x1b7)]:{_0x5057fa={'eventID':_0x3eeb59['USERS_ENTER'],'joinEvent':_0x31a7ae[_0x33acb5(0x34e)][_0x33acb5(0x34e)]};break;}case _0x3eeb59[_0x33acb5(0x477)]:{_0x5057fa={'eventID':_0x3eeb59[_0x33acb5(0x477)],'liveShareNewHost':_0x31a7ae[_0x33acb5(0x34e)]['data']};break;}case _0x3eeb59['LIVESHARE_OPERATION']:{_0x5057fa={'eventID':_0x3eeb59[_0x33acb5(0x2e6)],'liveShareOperation':_0x31a7ae[_0x33acb5(0x34e)]['data']};break;}case _0x3eeb59[_0x33acb5(0x43d)]:{_0x5057fa={'eventID':_0x3eeb59['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x31a7ae[_0x33acb5(0x34e)][_0x33acb5(0x34e)]};break;}case _0x3eeb59[_0x33acb5(0x1d0)]:{_0x5057fa={'eventID':_0x3eeb59[_0x33acb5(0x1d0)],'liveShareRequestHost':_0x31a7ae[_0x33acb5(0x34e)]['data']};break;}case _0x3eeb59['LIVESHARE_FETCH_OPERATIONS']:{_0x5057fa={'eventID':_0x3eeb59[_0x33acb5(0x240)]};break;}default:_0x5057fa={'eventID':_0x31a7ae[_0x33acb5(0x34e)][_0x33acb5(0x45d)]};}return JSON['stringify']({'cmd':_0x31a7ae[_0x33acb5(0x373)],'routeKey':_0x31a7ae[_0x33acb5(0x416)],'collaMsg':_0x5057fa});}case F[_0x33acb5(0x391)]:return JSON[_0x33acb5(0x33b)]({'cmd':_0x31a7ae[_0x33acb5(0x373)],'routeKey':_0x31a7ae[_0x33acb5(0x416)],'joinReq':_0x31a7ae[_0x33acb5(0x34e)]});case F[_0x33acb5(0x4b2)]:return JSON[_0x33acb5(0x33b)]({'cmd':_0x31a7ae[_0x33acb5(0x373)],'routeKey':_0x31a7ae[_0x33acb5(0x416)],'leaveReq':_0x31a7ae['data']});default:throw new Error(_0x33acb5(0x441));}}var xn=Object[_0x52ec77(0x2a4)],kn=(_0x3346bf,_0x297c17,_0x22c627,_0x3cc445)=>{var _0x29c5e1=_0x52ec77;for(var _0x39f82c=_0x3cc445>0x1?void 0x0:_0x3cc445?xn(_0x297c17,_0x22c627):_0x297c17,_0x2f1d8c=_0x3346bf[_0x29c5e1(0x35b)]-0x1,_0x284e47;_0x2f1d8c>=0x0;_0x2f1d8c--)(_0x284e47=_0x3346bf[_0x2f1d8c])&&(_0x39f82c=_0x284e47(_0x39f82c)||_0x39f82c);return _0x39f82c;},Ae=(_0x3f4a88,_0x378acf)=>(_0x53d252,_0x36e412)=>_0x378acf(_0x53d252,_0x36e412,_0x3f4a88);const Ii=_0xa243f1(_0x52ec77(0x362));function $n(_0x4db09c,_0x522834,_0x902eba){var _0x312c99=_0x52ec77;return _0x4db09c+'/'+_0x522834+_0x312c99(0x460)+_0x902eba+_0x312c99(0x23e);}let Gt=class extends _0x5f5a21{constructor(_0x1e1009,_0x45f196,_0x4033ee,_0x13383e,_0x2cb434){var _0x319802=_0x52ec77;super(),this[_0x319802(0x32a)]=_0x1e1009,this[_0x319802(0x32b)]=_0x45f196,this[_0x319802(0x3b0)]=_0x4033ee,this[_0x319802(0x45f)]=_0x13383e,this['_snapshotServerService']=_0x2cb434;}[_0x52ec77(0x3ce)](_0xba7b1e){var _0x4995ff=_0x52ec77;const _0xd65956=this[_0x4995ff(0x32a)][_0x4995ff(0x2da)](_0xe44910);if(!_0xd65956)throw new Error(_0x4995ff(0x3ed));const _0x4a00e7=_0xd65956[_0x4995ff(0x38c)](_0xba7b1e);if(!_0x4a00e7)throw new Error(_0x4995ff(0x2ba));const _0x23aeb2=new _0x1cf5cb(),_0xbb7458=new _0xa2c003();_0x23aeb2['add'](_0x4a00e7['close$'][_0x4995ff(0x420)](_0x5b9a42=>_0xbb7458['next'](_0x5b9a42))),_0x23aeb2['add'](_0x2d6dd4(()=>_0xbb7458['complete']()));const _0x5ec59c=new _0xa2c003();_0x23aeb2[_0x4995ff(0x2e1)](_0x4a00e7['error$'][_0x4995ff(0x420)](_0x134267=>_0x5ec59c[_0x4995ff(0x430)](_0x134267))),_0x23aeb2[_0x4995ff(0x2e1)](_0x2d6dd4(()=>_0x5ec59c['complete']()));const _0x524125=new _0xa2c003();_0x23aeb2[_0x4995ff(0x2e1)](_0x4a00e7[_0x4995ff(0x227)][_0x4995ff(0x420)](_0x66034a=>{var _0x3b8ee2=_0x4995ff;const _0xf2febe=Ln(_0x66034a);_0x524125[_0x3b8ee2(0x430)](_0xf2febe);})),_0x23aeb2[_0x4995ff(0x2e1)](_0x2d6dd4(()=>_0x524125['complete']()));let _0x44c770;const _0x131333=()=>{var _0x520c90=_0x4995ff;_0x5ec59c[_0x520c90(0x430)](new Event('connection\x20error')),_0xbb7458['next'](new Event(_0x520c90(0x39f))),_0x44c770[_0x520c90(0x2cf)]();};return _0x44c770={'memberID':'','close$':_0xbb7458[_0x4995ff(0x3dd)](),'error$':_0x5ec59c['asObservable'](),'open$':_0x4a00e7['open$'],'message$':_0x524125[_0x4995ff(0x3dd)](),'send':_0x12aef3=>{var _0x56f763=_0x4995ff;if(_0x12aef3['cmd']===F[_0x56f763(0x392)]){if(_0x12aef3['data']['eventID']===_0x3eeb59['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x44c770,_0x12aef3[_0x56f763(0x34e)])[_0x56f763(0x382)](_0x1e380c=>{var _0x6f54bc=_0x56f763;this[_0x6f54bc(0x45f)][_0x6f54bc(0x49b)](_0x1e380c),_0x131333();});return;}if(_0x12aef3['data'][_0x56f763(0x45d)]===_0x3eeb59[_0x56f763(0x4a8)]){const _0x23c56b=_0x12aef3[_0x56f763(0x34e)];this[_0x56f763(0x409)](_0x23c56b)[_0x56f763(0x1d9)](_0x4aed3c=>{var _0x1fed89=_0x56f763;_0x524125[_0x1fed89(0x430)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x23c56b['data'][_0x1fed89(0x308)],'routeType':'','data':{'eventID':_0x3eeb59[_0x1fed89(0x24b)],'data':{'changesets':_0x4aed3c}}});})[_0x56f763(0x382)](_0x449b1d=>{var _0x28cd4b=_0x56f763;this[_0x28cd4b(0x45f)][_0x28cd4b(0x49b)](_0x449b1d),_0x131333();});return;}}_0x4a00e7[_0x56f763(0x273)](Mn(_0x12aef3));},'close':()=>{var _0x5a24c1=_0x4995ff;_0x4a00e7[_0x5a24c1(0x2cf)](),_0x23aeb2['dispose']();}},_0x44c770;}async[_0x52ec77(0x406)](_0x105062,_0x1c1ed2){var _0x5e5ddf=_0x52ec77,_0x438f6d,_0x3315b6;const {unitType:_0x4adcbb,unitID:_0x53e43d,changeset:_0x323627}=_0x1c1ed2['data'],_0x5182ca={'unitID':_0x53e43d,'memberID':_0x105062[_0x5e5ddf(0x490)],'type':_0x4adcbb,'changeset':_0x4ec226(_0x323627)},_0x25d1ca=this[_0x5e5ddf(0x3b0)][_0x5e5ddf(0x3f9)](Nn),_0x5302ec=this[_0x5e5ddf(0x3b0)][_0x5e5ddf(0x3f9)](q),_0x1544bc=$n((_0x3315b6=(_0x438f6d=_0x5302ec==null?void 0x0:_0x5302ec[_0x5e5ddf(0x417)])!=null?_0x438f6d:_0x25d1ca)!=null?_0x3315b6:Dn,_0x4adcbb,_0x53e43d);try{await this[_0x5e5ddf(0x32b)]['post'](_0x1544bc,{'body':_0x5182ca});}catch(_0x589dd4){throw this[_0x5e5ddf(0x45f)]['error'](_0x5e5ddf(0x4b5),_0x5e5ddf(0x3b3)),_0x589dd4;}}async[_0x52ec77(0x409)](_0x23ec30){var _0x5e5373=_0x52ec77;const {unitID:_0x28c79c,from:_0x510259,to:_0x46583b,unitType:_0xa0c423}=_0x23ec30[_0x5e5373(0x34e)];return(await this['_snapshotServerService'][_0x5e5373(0x342)]({'metadata':void 0x0},{'unitID':_0x28c79c,'type':_0xa0c423,'from':_0x510259,'to':_0x46583b}))[_0x5e5373(0x203)];}};Gt=kn([Ae(0x0,_0xba0ecf(_0x8e3ca0)),Ae(0x1,_0xba0ecf(_0x540523)),Ae(0x2,_0x88d960),Ae(0x3,_0x9fbca6),Ae(0x4,_0x5c9893)],Gt);const Hn=_0x52ec77(0x40a);function Bn(_0x1f23fa){var _0x120e61=_0x52ec77;return JSON[_0x120e61(0x33b)](_0x1f23fa)[_0x120e61(0x35b)];}class Ti{constructor(){var _0x5c5d62=_0x52ec77;N(this,_0x5c5d62(0x2c2),new _0xa2c003()),N(this,_0x5c5d62(0x3cc),this['_commentUpdate$'][_0x5c5d62(0x3dd)]());}[_0x52ec77(0x374)](_0x4cb3f6){var _0x29e46f=_0x52ec77;this[_0x29e46f(0x2c2)][_0x29e46f(0x430)](_0x4cb3f6);}}var jn=Object[_0x52ec77(0x2a4)],Fn=(_0x1e4250,_0x37faac,_0x498dc3,_0x3449bc)=>{for(var _0x41f527=_0x3449bc>0x1?void 0x0:_0x3449bc?jn(_0x37faac,_0x498dc3):_0x37faac,_0x4e3c27=_0x1e4250['length']-0x1,_0x497d18;_0x4e3c27>=0x0;_0x4e3c27--)(_0x497d18=_0x1e4250[_0x4e3c27])&&(_0x41f527=_0x497d18(_0x41f527)||_0x41f527);return _0x41f527;},Wt=(_0xdc9059,_0x3dd3b1)=>(_0x1c07a5,_0x4278f3)=>_0x3dd3b1(_0x1c07a5,_0x4278f3,_0xdc9059);let Le=class extends _0x5f5a21{constructor(_0x484bf0,_0x57c943){var _0x14ea46=_0x52ec77;super(),N(this,'_roomMembers',new Map()),N(this,_0x14ea46(0x2d1),new _0xa2c003()),(this[_0x14ea46(0x485)]=_0x484bf0,this[_0x14ea46(0x313)]=_0x57c943,this[_0x14ea46(0x43a)](_0x87bfc3(this[_0x14ea46(0x485)][_0x14ea46(0x315)](_0x177373['UNIVER_SHEET'])[_0x14ea46(0x3a9)](_0x45bba4(_0x2b19c9=>_0x2b19c9[_0x14ea46(0x38a)]())),this[_0x14ea46(0x485)]['getTypeOfUnitDisposed$'](_0x177373[_0x14ea46(0x2c0)])[_0x14ea46(0x3a9)](_0x45bba4(_0x467e86=>_0x467e86['getUnitId']())),this['_univerInstanceService'][_0x14ea46(0x315)](_0x177373[_0x14ea46(0x3bb)])[_0x14ea46(0x3a9)](_0x45bba4(_0x599144=>_0x599144['getUnitId']())))[_0x14ea46(0x420)](_0x367bbf=>this['_removeRoom'](_0x367bbf))));}['waitForRoom$'](_0x5403b4){var _0x4e1e91=_0x52ec77;return this[_0x4e1e91(0x1f3)][_0x4e1e91(0x322)](_0x5403b4)?_0x12ec9c(this['_roomMembers'][_0x4e1e91(0x2da)](_0x5403b4)):this['_roomCreated$']['pipe'](_0x45bba4(_0x192ed7=>{var _0x285e2c=_0x4e1e91;if(_0x192ed7===_0x5403b4)return this[_0x285e2c(0x1f3)]['get'](_0x192ed7);}));}['setCurrentUser'](_0x1fb932){var _0x12691=_0x52ec77;this[_0x12691(0x313)]['setCurrentUser'](_0x1fb932);}['getCurrentUser'](){var _0x45d52c=_0x52ec77;return this[_0x45d52c(0x313)][_0x45d52c(0x200)]();}[_0x52ec77(0x1b6)](_0x2e7cc3,_0x396788){var _0x273b35=_0x52ec77;let _0x43177d=this['_roomMembers'][_0x273b35(0x2da)](_0x2e7cc3);_0x43177d||(_0x43177d=new Vn(),this['_roomMembers'][_0x273b35(0x32c)](_0x2e7cc3,_0x43177d),this[_0x273b35(0x2d1)][_0x273b35(0x430)](_0x2e7cc3)),_0x43177d[_0x273b35(0x1b6)](_0x396788);}[_0x52ec77(0x1d2)](_0x44fce3,_0x3f2b60){var _0x35dc2a=_0x52ec77;const _0x208e14=this['_roomMembers'][_0x35dc2a(0x2da)](_0x44fce3);_0x208e14&&_0x208e14[_0x35dc2a(0x1d2)](_0x3f2b60);}[_0x52ec77(0x247)](_0x550ea8){var _0x3c5a4a=_0x52ec77;return this[_0x3c5a4a(0x1f3)][_0x3c5a4a(0x2da)](_0x550ea8);}[_0x52ec77(0x42c)](_0x4443b1,_0x411732){var _0x346f7e=_0x52ec77;const _0x2bea62=this['_roomMembers'][_0x346f7e(0x2da)](_0x4443b1);if(_0x2bea62)return _0x2bea62[_0x346f7e(0x42c)](_0x411732);}[_0x52ec77(0x327)](_0x3d9966){var _0xff0d3c=_0x52ec77;const _0x2dd7ba=this[_0xff0d3c(0x1f3)][_0xff0d3c(0x2da)](_0x3d9966);_0x2dd7ba&&(_0x2dd7ba['dispose'](),this[_0xff0d3c(0x1f3)][_0xff0d3c(0x265)](_0x3d9966));}[_0x52ec77(0x1ce)](){var _0x40b91f=_0x52ec77;this['_roomMembers'][_0x40b91f(0x1df)](_0x4fa6e6=>_0x4fa6e6[_0x40b91f(0x1ce)]()),this[_0x40b91f(0x1f3)]['clear'](),this[_0x40b91f(0x2d1)][_0x40b91f(0x334)]();}};Le=Fn([Wt(0x0,_0x23b21c),Wt(0x1,_0xba0ecf(_0x55e5df))],Le);class Vn extends _0x5f5a21{constructor(){var _0x59d416=_0x52ec77;super(...arguments),N(this,_0x59d416(0x2d6),new Map()),N(this,_0x59d416(0x3cf),new _0x4340e3(this[_0x59d416(0x2d6)])),N(this,'members$',this[_0x59d416(0x3cf)][_0x59d416(0x3dd)]());}[_0x52ec77(0x1ce)](){var _0x5d21b7=_0x52ec77;this[_0x5d21b7(0x2d6)][_0x5d21b7(0x38e)]();}[_0x52ec77(0x1b6)](_0x5cf236){var _0x1599c7=_0x52ec77;this[_0x1599c7(0x2d6)][_0x1599c7(0x32c)](_0x5cf236[_0x1599c7(0x490)],_0x5cf236),this[_0x1599c7(0x1c4)]();}[_0x52ec77(0x1d2)](_0x363abc){var _0xe1d191=_0x52ec77;this[_0xe1d191(0x2d6)][_0xe1d191(0x265)](_0x363abc);}[_0x52ec77(0x42c)](_0xfe7973){var _0x16c9eb=_0x52ec77;return this[_0x16c9eb(0x2d6)][_0x16c9eb(0x2da)](_0xfe7973);}[_0x52ec77(0x276)](){var _0x32d8bd=_0x52ec77;return Array[_0x32d8bd(0x498)](this[_0x32d8bd(0x2d6)][_0x32d8bd(0x1f7)]());}[_0x52ec77(0x1c4)](){var _0x4acb5f=_0x52ec77;this[_0x4acb5f(0x3cf)]['next'](this[_0x4acb5f(0x2d6)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x66a152,_0x515e16,_0x9b8ad8,_0x420c6b)=>{var _0x1bad13=_0x52ec77;for(var _0x5575c2=_0x420c6b>0x1?void 0x0:_0x420c6b?Gn(_0x515e16,_0x9b8ad8):_0x515e16,_0x4188ea=_0x66a152[_0x1bad13(0x35b)]-0x1,_0x1a1607;_0x4188ea>=0x0;_0x4188ea--)(_0x1a1607=_0x66a152[_0x4188ea])&&(_0x5575c2=_0x1a1607(_0x5575c2)||_0x5575c2);return _0x5575c2;},me=(_0x18328a,_0x557078)=>(_0x3aaa4f,_0x414e0e)=>_0x557078(_0x3aaa4f,_0x414e0e,_0x18328a),Ee=(_0x2440d5=>(_0x2440d5[_0x2440d5[_0x52ec77(0x49f)]=0x0]='IDLE',_0x2440d5[_0x2440d5[_0x52ec77(0x1ff)]=0x1]=_0x52ec77(0x1ff),_0x2440d5[_0x2440d5[_0x52ec77(0x3db)]=0x2]=_0x52ec77(0x3db),_0x2440d5[_0x2440d5[_0x52ec77(0x486)]=0x3]=_0x52ec77(0x486),_0x2440d5))(Ee||{});const Yt={[ge[_0x52ec77(0x414)]]:_0x52ec77(0x42d),[ge[_0x52ec77(0x462)]]:_0x52ec77(0x3aa),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x52ec77(0x26c),[ge[_0x52ec77(0x215)]]:_0x52ec77(0x317),[ge[_0x52ec77(0x2a9)]]:_0x52ec77(0x4be)};function _0x406d(_0x5c0642,_0x550ddd){var _0x301744=_0x3017();return _0x406d=function(_0x406db0,_0x53c0af){_0x406db0=_0x406db0-0x1b2;var _0x370050=_0x301744[_0x406db0];return _0x370050;},_0x406d(_0x5c0642,_0x550ddd);}let Et=class extends _0x3fa1f4{constructor(_0x34aa24,_0x61f863,_0x5a72a2,_0x3ff851,_0x271776,_0x72b40d,_0xce08cf,_0x145298,_0xf921c6){var _0x20d159=_0x52ec77;super(),N(this,_0x20d159(0x2b2),new _0x4340e3(0x0)),N(this,_0x20d159(0x29d),this[_0x20d159(0x2b2)]['asObservable']()),N(this,'_event$',new _0xa2c003()),N(this,'event$',this[_0x20d159(0x470)][_0x20d159(0x3dd)]()),N(this,_0x20d159(0x201)),N(this,_0x20d159(0x23d)),N(this,_0x20d159(0x478)),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this[_0x20d159(0x4ac)]=_0x34aa24,this[_0x20d159(0x45f)]=_0x5a72a2,this[_0x20d159(0x3b0)]=_0x3ff851,this[_0x20d159(0x343)]=_0x271776,this['_memberService']=_0x72b40d,this[_0x20d159(0x2a6)]=_0xce08cf,this[_0x20d159(0x1fa)]=_0x145298,this[_0x20d159(0x245)]=_0xf921c6,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x61f863[_0x20d159(0x3a9)](_0x2933a0(this[_0x20d159(0x1e7)]))[_0x20d159(0x420)](_0x2a6930=>{var _0x1af28e=_0x20d159,_0x193254;typeof _0x2a6930>'u'||(this[_0x1af28e(0x201)]=_0x2a6930,_0x2a6930?(this['_joinRoom'](_0x2a6930),this[_0x1af28e(0x23d)]=_0x2a6930[_0x1af28e(0x227)][_0x1af28e(0x420)](_0x4d822d=>{var _0x303a75=_0x1af28e;_0x4d822d[_0x303a75(0x416)]===this['_unitID']&&this[_0x303a75(0x2e5)](_0x4d822d);})):(this[_0x1af28e(0x2cd)](),this[_0x1af28e(0x2b2)][_0x1af28e(0x430)](0x2),(_0x193254=this[_0x1af28e(0x23d)])==null||_0x193254[_0x1af28e(0x3eb)](),this[_0x1af28e(0x23d)]=null));}));}get['sessionStatus'](){var _0x105837=_0x52ec77;return this[_0x105837(0x2b2)][_0x105837(0x3bd)]();}[_0x52ec77(0x1b3)](){var _0x430c1c=_0x52ec77,_0xce36c0,_0x434831;return(_0x434831=(_0xce36c0=this[_0x430c1c(0x201)])==null?void 0x0:_0xce36c0[_0x430c1c(0x490)])!=null?_0x434831:null;}[_0x52ec77(0x1ce)](){var _0x22eec3=_0x52ec77;super[_0x22eec3(0x1ce)](),this['dispose$'][_0x22eec3(0x430)](),this[_0x22eec3(0x1e7)][_0x22eec3(0x334)]();}['close'](){var _0x2ed4ef=_0x52ec77,_0x17fd62,_0x5f03c7;this[_0x2ed4ef(0x2cd)](),(_0x17fd62=this['_socket'])==null||_0x17fd62[_0x2ed4ef(0x273)]({'cmd':F[_0x2ed4ef(0x4b2)],'data':{'roomID':this[_0x2ed4ef(0x4ac)]}}),(_0x5f03c7=this[_0x2ed4ef(0x201)])==null||_0x5f03c7[_0x2ed4ef(0x2cf)](),this[_0x2ed4ef(0x470)][_0x2ed4ef(0x334)](),this[_0x2ed4ef(0x2b2)][_0x2ed4ef(0x334)](),this[_0x2ed4ef(0x1ce)]();}[_0x52ec77(0x2e5)](_0x202744){var _0x3d89ea=_0x52ec77;_0x202744[_0x3d89ea(0x373)]===F[_0x3d89ea(0x391)]?this[_0x3d89ea(0x307)](_0x202744):_0x202744[_0x3d89ea(0x373)]===F[_0x3d89ea(0x274)]&&this[_0x3d89ea(0x1bd)](_0x202744);}[_0x52ec77(0x43e)](_0x58abd7){var _0x23fbb7=_0x52ec77;this[_0x23fbb7(0x2b2)][_0x23fbb7(0x430)](0x1),_0x58abd7[_0x23fbb7(0x273)]({'cmd':F[_0x23fbb7(0x391)],'routeKey':this[_0x23fbb7(0x4ac)],'routeType':'','data':{'rooms':[{'roomID':this[_0x23fbb7(0x4ac)]}]}});}[_0x52ec77(0x307)](_0x3c4060){var _0x328d10=_0x52ec77,_0x14224d;if(_0x3c4060[_0x328d10(0x48e)]in Yt){this[_0x328d10(0x1fa)][_0x328d10(0x219)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x3c4060[_0x328d10(0x48e)]]}),this[_0x328d10(0x2b2)][_0x328d10(0x430)](0x2);return;}this[_0x328d10(0x2b2)][_0x328d10(0x430)](0x3);const _0x3b03f5=(_0x14224d=_0x3c4060[_0x328d10(0x34e)][_0x328d10(0x2c3)][this[_0x328d10(0x4ac)]])==null?void 0x0:_0x14224d[_0x328d10(0x300)];_0x3b03f5&&_0x3b03f5['forEach'](_0x4ca58f=>this[_0x328d10(0x3d6)]['updateMember'](this[_0x328d10(0x4ac)],_0x4ca58f));}[_0x52ec77(0x1bd)](_0x327ce5){var _0xc2d662=_0x52ec77;try{const _0x361617=_0x327ce5[_0xc2d662(0x34e)];switch(_0x361617['eventID']){case _0x3eeb59[_0xc2d662(0x1b7)]:this[_0xc2d662(0x217)](_0x361617),this['_event$'][_0xc2d662(0x430)](_0x361617);break;case _0x3eeb59[_0xc2d662(0x2b6)]:this[_0xc2d662(0x275)](_0x361617),this[_0xc2d662(0x470)][_0xc2d662(0x430)](_0x361617);break;case _0x3eeb59[_0xc2d662(0x3c0)]:case _0x3eeb59[_0xc2d662(0x23c)]:this[_0xc2d662(0x3f2)](),this['_clearCollaborationTimeoutTimer'](),this[_0xc2d662(0x470)][_0xc2d662(0x430)](_0x361617);break;case _0x3eeb59[_0xc2d662(0x46f)]:this[_0xc2d662(0x45f)][_0xc2d662(0x49b)](_0xc2d662(0x284)+JSON[_0xc2d662(0x33b)](_0x361617)),this['_event$'][_0xc2d662(0x430)](_0x361617);break;case _0x3eeb59['COMMENT_UPDATE']:this[_0xc2d662(0x2a6)][_0xc2d662(0x374)](_0x361617['data']),this['_event$'][_0xc2d662(0x430)](_0x361617);break;default:this[_0xc2d662(0x470)][_0xc2d662(0x430)](_0x361617);}}catch(_0xbb672c){this[_0xc2d662(0x45f)][_0xc2d662(0x49b)](_0xbb672c,_0x327ce5);}}[_0x52ec77(0x217)](_0x341de8){var _0x191f07=_0x52ec77;this['_memberService']['updateMember'](this[_0x191f07(0x4ac)],_0x341de8[_0x191f07(0x34e)]);}[_0x52ec77(0x275)](_0x42f83c){var _0x1e4ead=_0x52ec77;this[_0x1e4ead(0x3d6)]['removeMember'](this['_unitID'],_0x42f83c[_0x1e4ead(0x34e)][_0x1e4ead(0x490)]);}async[_0x52ec77(0x273)](_0x153388,_0x3487bf){var _0x2d740d=_0x52ec77;if(this[_0x2d740d(0x241)]!==0x3||!this['_socket'])throw new Error(_0x2d740d(0x446));try{_0x153388['eventID']===_0x3eeb59[_0x2d740d(0x46e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x153388)),this['_socket'][_0x2d740d(0x273)]({'cmd':F[_0x2d740d(0x392)],'routeKey':_0x3487bf,'routeType':'','data':_0x153388});}catch(_0x36bf03){this['_logService']['error'](_0x36bf03);}}[_0x52ec77(0x2ab)](){var _0x48871b=_0x52ec77,_0xf1b47a;this[_0x48871b(0x478)]=setTimeout(()=>{var _0x387968=_0x48871b;this[_0x387968(0x478)]=null,this[_0x387968(0x1fa)][_0x387968(0x219)]({'id':re[_0x387968(0x207)]});},(_0xf1b47a=this[_0x48871b(0x3b0)][_0x48871b(0x3f9)](mi))!=null?_0xf1b47a:gi);}[_0x52ec77(0x22f)](){var _0x561e69=_0x52ec77;this[_0x561e69(0x478)]&&(clearTimeout(this[_0x561e69(0x478)]),this['_collaborationTimeoutTimer']=null);}[_0x52ec77(0x3bc)](_0x22f336){var _0x4bd46f=_0x52ec77;if(!this[_0x4bd46f(0x3fa)])return;const {data:_0x36a5f1}=_0x22f336,{unitID:_0x8d3be7,changeset:_0x40cc0e}=_0x36a5f1,{mutations:_0x4c418c,type:_0x4c763b}=_0x40cc0e;this[_0x4bd46f(0x1b9)]={'unitId':_0x8d3be7,'type':_0x4c763b,'startTime':performance[_0x4bd46f(0x271)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x4c418c)};}[_0x52ec77(0x3f2)](){var _0x5456c1=_0x52ec77;if(this[_0x5456c1(0x3fa)]){if(!this[_0x5456c1(0x1b9)]){this[_0x5456c1(0x45f)]['error'](_0x5456c1(0x4b5),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5456c1(0x1b9)][_0x5456c1(0x4a1)]=performance['now'](),this[_0x5456c1(0x1b9)][_0x5456c1(0x1f2)]=this[_0x5456c1(0x1b9)][_0x5456c1(0x4a1)]-this['_telemetryInfo'][_0x5456c1(0x2fc)],this[_0x5456c1(0x245)][_0x5456c1(0x3ec)](Hn,this[_0x5456c1(0x1b9)]),this['_telemetryInfo']=null;}}[_0x52ec77(0x2cd)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x9fbca6),me(0x3,_0x88d960),me(0x4,_0xba0ecf(_0x335da4)),me(0x5,_0xba0ecf(Le)),me(0x6,_0xba0ecf(Ti)),me(0x7,_0xba0ecf(pe)),me(0x8,_0x7418f6(_0x4130c1))],Et);var Yn=Object[_0x52ec77(0x2a4)],Kn=(_0x4c23b6,_0x5204a8,_0x31625b,_0x42e66e)=>{var _0x10374e=_0x52ec77;for(var _0x5976cd=_0x42e66e>0x1?void 0x0:_0x42e66e?Yn(_0x5204a8,_0x31625b):_0x5204a8,_0x106e41=_0x4c23b6[_0x10374e(0x35b)]-0x1,_0x3202ff;_0x106e41>=0x0;_0x106e41--)(_0x3202ff=_0x4c23b6[_0x106e41])&&(_0x5976cd=_0x3202ff(_0x5976cd)||_0x5976cd);return _0x5976cd;},be=(_0x222fd1,_0x2b1abf)=>(_0x61e287,_0x4191f2)=>_0x2b1abf(_0x61e287,_0x4191f2,_0x222fd1);let Me=class extends _0x5f5a21{constructor(_0x4b1147,_0x5708c9,_0x1dd245,_0x715ed6,_0x652207,_0x26e883){var _0x2255fc=_0x52ec77;super(),N(this,_0x2255fc(0x407),new _0x4340e3(void 0x0)),N(this,'socket$',this[_0x2255fc(0x407)]['asObservable']()),N(this,_0x2255fc(0x2e3),null),N(this,_0x2255fc(0x1d7),new Map()),N(this,'_status$',new _0x4340e3(Ee[_0x2255fc(0x49f)])),N(this,_0x2255fc(0x337),this[_0x2255fc(0x238)][_0x2255fc(0x3dd)]()),N(this,_0x2255fc(0x467),!0x1),N(this,_0x2255fc(0x1d3)),N(this,_0x2255fc(0x1e3),0x0),N(this,_0x2255fc(0x210)),N(this,_0x2255fc(0x425)),(this[_0x2255fc(0x32a)]=_0x4b1147,this['_logService']=_0x5708c9,this[_0x2255fc(0x3b0)]=_0x1dd245,this[_0x2255fc(0x1b8)]=_0x715ed6,this[_0x2255fc(0x1fa)]=_0x652207,this[_0x2255fc(0x3e8)]=_0x26e883,this[_0x2255fc(0x497)]());}get[_0x52ec77(0x201)](){var _0x212f3b=_0x52ec77;return this[_0x212f3b(0x407)][_0x212f3b(0x3bd)]();}[_0x52ec77(0x497)](){var _0x32facc=_0x52ec77;this[_0x32facc(0x3e8)]&&this['disposeWithMe'](this['_networkConditionService'][_0x32facc(0x351)][_0x32facc(0x420)](_0x482930=>{var _0x5d5415=_0x32facc;_0x482930&&!this[_0x5d5415(0x201)]&&this[_0x5d5415(0x27d)](),_0x482930||this[_0x5d5415(0x228)]();}));}[_0x52ec77(0x1ce)](){var _0xae0dd4=_0x52ec77;super[_0xae0dd4(0x1ce)](),this[_0xae0dd4(0x33a)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0xae0dd4(0x1d7)][_0xae0dd4(0x1df)](_0x2d7133=>_0x2d7133['dispose']()),this[_0xae0dd4(0x1d7)][_0xae0dd4(0x38e)](),this[_0xae0dd4(0x238)]['complete']();}async[_0x52ec77(0x47e)](_0x15c7fb){var _0x1916e2=_0x52ec77;if(this[_0x1916e2(0x1d7)][_0x1916e2(0x322)](_0x15c7fb))return this['_sessions'][_0x1916e2(0x2da)](_0x15c7fb);this['_tryEnsureSocket']();const _0x5a47f5=this[_0x1916e2(0x32a)]['createInstance'](Et,_0x15c7fb,this[_0x1916e2(0x407)][_0x1916e2(0x3dd)]());return this[_0x1916e2(0x1d7)][_0x1916e2(0x32c)](_0x15c7fb,_0x5a47f5),_0x5a47f5;}[_0x52ec77(0x346)](_0x481776){var _0x2937ea=_0x52ec77,_0x4508eb;const _0x4af9a3=this[_0x2937ea(0x1d7)][_0x2937ea(0x2da)](_0x481776);_0x4af9a3&&(this[_0x2937ea(0x1d7)][_0x2937ea(0x265)](_0x481776),_0x4af9a3[_0x2937ea(0x2cf)]()),this[_0x2937ea(0x1d7)]['size']||(_0x4508eb=this[_0x2937ea(0x201)])==null||_0x4508eb[_0x2937ea(0x2cf)]();}[_0x52ec77(0x27d)](){var _0x4fb83d=_0x52ec77;this[_0x4fb83d(0x1e3)]=0x0,this[_0x4fb83d(0x33a)](),this[_0x4fb83d(0x310)]();}[_0x52ec77(0x33a)](){var _0x8a9572=_0x52ec77;this[_0x8a9572(0x1d3)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x57796f=_0x52ec77,_0x1ae893,_0x3e0b4d;const _0x377f2b=this[_0x57796f(0x3b0)][_0x57796f(0x3f9)](In),_0x1b0b78=this[_0x57796f(0x3b0)][_0x57796f(0x3f9)](q),_0x3128c3=(_0x3e0b4d=(_0x1ae893=_0x1b0b78==null?void 0x0:_0x1b0b78['collabWebSocketUrl'])!=null?_0x1ae893:_0x377f2b)!=null?_0x3e0b4d:Tn,_0x1bcc5e=await this[_0x57796f(0x1b8)][_0x57796f(0x38c)](_0x3128c3);return this[_0x57796f(0x2e3)]=_0x1bcc5e,_0x1bcc5e;}async[_0x52ec77(0x3b9)](){var _0x1b55a3=_0x52ec77,_0xc2f0e9,_0x17fb72;try{const _0x416c61=(_0x17fb72=(_0xc2f0e9=this[_0x1b55a3(0x201)])!=null?_0xc2f0e9:this[_0x1b55a3(0x2e3)])!=null?_0x17fb72:await this['_createSocket']();if(_0x416c61){const _0x1f0835=_0x416c61[_0x1b55a3(0x273)];_0x416c61[_0x1b55a3(0x273)]=_0x784323=>(this['_rescheduleHeartbeat'](),_0x1f0835[_0x1b55a3(0x3c7)](_0x416c61,[_0x784323])),_0x416c61[_0x1b55a3(0x227)][_0x1b55a3(0x420)](_0x4a9c02=>this[_0x1b55a3(0x433)](_0x416c61,_0x4a9c02)),_0x416c61[_0x1b55a3(0x1bb)][_0x1b55a3(0x3a9)](_0x42264c(0x1))['subscribe'](_0x4ce707=>this[_0x1b55a3(0x45f)][_0x1b55a3(0x49b)](_0x1b55a3(0x383),_0x4ce707)),_0x416c61[_0x1b55a3(0x2d4)][_0x1b55a3(0x3a9)](_0x42264c(0x1))[_0x1b55a3(0x420)](()=>{this['_onConnectionOpen'](_0x416c61);}),_0x416c61[_0x1b55a3(0x28b)]['pipe'](_0x42264c(0x1))[_0x1b55a3(0x420)](_0x31e7a6=>{var _0x25688b=_0x1b55a3;this[_0x25688b(0x45f)]['debug'](_0x25688b(0x49d),'socket\x20close',_0x31e7a6),this[_0x25688b(0x422)]();});}}catch(_0x3d8a0b){this[_0x1b55a3(0x45f)][_0x1b55a3(0x49b)](_0x3d8a0b),this['_onConnectionFailed']();}}[_0x52ec77(0x397)](_0xf6b3bd){var _0x7b0b8=_0x52ec77;this[_0x7b0b8(0x45f)]['debug'](_0x7b0b8(0x49d),_0x7b0b8(0x344)),_0xf6b3bd[_0x7b0b8(0x273)]({'cmd':F[_0x7b0b8(0x440)]}),this[_0x7b0b8(0x479)]();}[_0x52ec77(0x228)](){var _0x37bbb2=_0x52ec77;this[_0x37bbb2(0x467)]=!0x1,this[_0x37bbb2(0x2e3)]=null,this[_0x37bbb2(0x238)][_0x37bbb2(0x430)](Ee[_0x37bbb2(0x3db)]),this['_socket$'][_0x37bbb2(0x430)](null),this[_0x37bbb2(0x4a5)](),this[_0x37bbb2(0x2db)]();}[_0x52ec77(0x422)](){var _0x4356e3=_0x52ec77,_0x1d3937;this[_0x4356e3(0x228)](),this[_0x4356e3(0x1e3)]<((_0x1d3937=this[_0x4356e3(0x3b0)]['getConfig'](On))!=null?_0x1d3937:yn)?(this['_collaborationUIEventService'][_0x4356e3(0x219)]({'id':re[_0x4356e3(0x1b2)]}),this[_0x4356e3(0x310)]()):this['_collaborationUIEventService'][_0x4356e3(0x219)]({'id':re[_0x4356e3(0x1ef)]});}[_0x52ec77(0x310)](){var _0x717c3b=_0x52ec77,_0x2285e1;const _0x2d3c00=this[_0x717c3b(0x1e3)],_0xe64470=this['_configService']['getConfig'](q),_0x338606=_0x2d3c00===0x0?0x0:((_0x2285e1=_0xe64470==null?void 0x0:_0xe64470[_0x717c3b(0x2b8)])!=null?_0x2285e1:bn)*0x2**_0x2d3c00;this['_retryConnectingTimer']=setTimeout(()=>{var _0x31e38b=_0x717c3b;clearTimeout(this[_0x31e38b(0x1d3)]),this[_0x31e38b(0x1d3)]=null,this[_0x31e38b(0x3b9)]();},_0x338606),this[_0x717c3b(0x1e3)]+=0x1;}['_onMessage'](_0x544ba9,_0x1e9ed1){var _0x2a27fc=_0x52ec77;const {cmd:_0x5a7374}=_0x1e9ed1;_0x5a7374===F[_0x2a27fc(0x440)]&&!this[_0x2a27fc(0x467)]&&(_0x544ba9[_0x2a27fc(0x490)]=_0x1e9ed1[_0x2a27fc(0x34e)][_0x2a27fc(0x490)],this[_0x2a27fc(0x407)][_0x2a27fc(0x430)](_0x544ba9),this['_status$'][_0x2a27fc(0x430)](Ee[_0x2a27fc(0x486)]),this[_0x2a27fc(0x467)]=!0x0,this[_0x2a27fc(0x2e3)]=null),_0x5a7374===F['HEARTBEAT']&&this[_0x2a27fc(0x4a5)](),this[_0x2a27fc(0x479)]();}[_0x52ec77(0x479)](){var _0x5bf725=_0x52ec77,_0x4a82f6;this[_0x5bf725(0x2db)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4a82f6=this['_configService'][_0x5bf725(0x3f9)](Cn))!=null?_0x4a82f6:Rn);}[_0x52ec77(0x29a)](){var _0x42fed0=_0x52ec77;this['_socket'][_0x42fed0(0x273)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x48aa64=_0x52ec77,_0x21bbb5;this[_0x48aa64(0x425)]=setTimeout(()=>this[_0x48aa64(0x422)](),(_0x21bbb5=this['_configService'][_0x48aa64(0x3f9)](mi))!=null?_0x21bbb5:gi);}[_0x52ec77(0x2db)](){var _0x1e3172=_0x52ec77;this[_0x1e3172(0x210)]!=null&&(clearTimeout(this[_0x1e3172(0x210)]),this[_0x1e3172(0x210)]=null);}[_0x52ec77(0x4a5)](){var _0x5178ce=_0x52ec77;this[_0x5178ce(0x425)]!=null&&(clearTimeout(this[_0x5178ce(0x425)]),this[_0x5178ce(0x425)]=null);}};Me=Kn([be(0x0,_0xba0ecf(_0x8e3ca0)),be(0x1,_0x9fbca6),be(0x2,_0x88d960),be(0x3,Ii),be(0x4,_0xba0ecf(pe)),be(0x5,_0x7418f6(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x52ec77(0x22b)]((t+0x100)[_0x52ec77(0x326)](0x10)[_0x52ec77(0x25f)](0x1));function qn(_0x5a229c,_0x489843=0x0){var _0x1f2a06=_0x52ec77;return(V[_0x5a229c[_0x489843+0x0]]+V[_0x5a229c[_0x489843+0x1]]+V[_0x5a229c[_0x489843+0x2]]+V[_0x5a229c[_0x489843+0x3]]+'-'+V[_0x5a229c[_0x489843+0x4]]+V[_0x5a229c[_0x489843+0x5]]+'-'+V[_0x5a229c[_0x489843+0x6]]+V[_0x5a229c[_0x489843+0x7]]+'-'+V[_0x5a229c[_0x489843+0x8]]+V[_0x5a229c[_0x489843+0x9]]+'-'+V[_0x5a229c[_0x489843+0xa]]+V[_0x5a229c[_0x489843+0xb]]+V[_0x5a229c[_0x489843+0xc]]+V[_0x5a229c[_0x489843+0xd]]+V[_0x5a229c[_0x489843+0xe]]+V[_0x5a229c[_0x489843+0xf]])[_0x1f2a06(0x493)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x18dcf2=_0x52ec77;if(!ut){if(typeof crypto>'u'||!crypto[_0x18dcf2(0x31a)])throw new Error(_0x18dcf2(0x1e8));ut=crypto[_0x18dcf2(0x31a)][_0x18dcf2(0x225)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x52ec77(0x30c)]&&crypto['randomUUID']['bind'](crypto),Kt={'randomUUID':Xn};function Zn(_0x492830,_0x1b2872,_0x3d0093){var _0x3bfaa3=_0x52ec77,_0x32d63e,_0x2fc24b,_0x5c12d0;if(Kt[_0x3bfaa3(0x30c)]&&!_0x492830)return Kt[_0x3bfaa3(0x30c)]();_0x492830=_0x492830||{};const _0x582d6e=(_0x5c12d0=(_0x2fc24b=_0x492830[_0x3bfaa3(0x3c9)])!=null?_0x2fc24b:(_0x32d63e=_0x492830[_0x3bfaa3(0x259)])==null?void 0x0:_0x32d63e[_0x3bfaa3(0x239)](_0x492830))!=null?_0x5c12d0:Jn();if(_0x582d6e[_0x3bfaa3(0x35b)]<0x10)throw new Error(_0x3bfaa3(0x224));return _0x582d6e[0x6]=_0x582d6e[0x6]&0xf|0x40,_0x582d6e[0x8]=_0x582d6e[0x8]&0x3f|0x80,qn(_0x582d6e);}const J=_0xa243f1('collaboration-client.local-cache-service');function Br(_0x4202ff){var _0x1f2a42=_0x52ec77;return _0x1f2a42(0x34c)+_0x4202ff;}var Qn=Object[_0x52ec77(0x2a4)],es=(_0x3da4c3,_0x4c1a57,_0x299890,_0x4aea3c)=>{var _0x9f231a=_0x52ec77;for(var _0x36433e=_0x4aea3c>0x1?void 0x0:_0x4aea3c?Qn(_0x4c1a57,_0x299890):_0x4c1a57,_0x5d6be2=_0x3da4c3[_0x9f231a(0x35b)]-0x1,_0x2e8af0;_0x5d6be2>=0x0;_0x5d6be2--)(_0x2e8af0=_0x3da4c3[_0x5d6be2])&&(_0x36433e=_0x2e8af0(_0x36433e)||_0x36433e);return _0x36433e;},dt=(_0x4cc0ae,_0x19c226)=>(_0x2a70bd,_0x10c1a2)=>_0x19c226(_0x2a70bd,_0x10c1a2,_0x4cc0ae);function ts(_0x2c4b83){var _0x58188d=_0x52ec77;const {unitID:_0x34b0df,mutations:_0x174a25}=_0x2c4b83;return{'unitId':_0x34b0df,'subUnitId':_0x174a25[0x0][_0x58188d(0x283)][_0x58188d(0x475)]};}let it=class{constructor(_0x320628,_0x539d55,_0x54b576){var _0x44cc93=_0x52ec77;this[_0x44cc93(0x32a)]=_0x320628,this[_0x44cc93(0x1dd)]=_0x539d55,this[_0x44cc93(0x213)]=_0x54b576;}[_0x52ec77(0x345)](_0x171349){var _0x180d7b=_0x52ec77,_0x15a856,_0x4ff8a1,_0xf3361,_0x275f5e;const _0x31f64d=this[_0x180d7b(0x32a)][_0x180d7b(0x2da)](_0x16c796),{unitId:_0x336b21,subUnitId:_0x173618}=ts(_0x171349),_0x185ebb=_0x31f64d==null?void 0x0:_0x31f64d[_0x180d7b(0x3fd)](_0x336b21)['getCurrentSelections'](),_0x255aff=(_0x4ff8a1=(_0x15a856=this['_instanceService'][_0x180d7b(0x1c1)](_0x336b21))==null?void 0x0:_0x15a856[_0x180d7b(0x39e)]())==null?void 0x0:_0x4ff8a1['getSheetId']();if(_0x185ebb['length']===0x0||!_0x336b21||!_0x173618)return;const _0x42eaed=[{'id':_0xb0e3d2['id'],'params':{'unitId':_0x336b21,'subUnitId':_0x255aff,'selections':_0x493d53[_0x180d7b(0x32f)](_0x185ebb)}}],_0x2ed0f6=this[_0x180d7b(0x1dd)][_0x180d7b(0x289)](_0x171349,_0x42eaed);if(!_0x2668b0(_0x2ed0f6))throw _0x2ed0f6[_0x180d7b(0x49b)];const _0x5c6b9d=(_0x275f5e=(_0xf3361=_0x2ed0f6[_0x180d7b(0x220)][0x0])==null?void 0x0:_0xf3361['params'])==null?void 0x0:_0x275f5e['selections'];if(Array[_0x180d7b(0x226)](_0x5c6b9d)&&_0x5c6b9d[_0x180d7b(0x35b)]){if(_0x5c6b9d[_0x180d7b(0x35b)]===_0x42eaed[0x0][_0x180d7b(0x283)][_0x180d7b(0x27c)]['length']&&_0x5c6b9d[_0x180d7b(0x28a)]((_0x20fea5,_0x20483d)=>_0xe71da2[_0x180d7b(0x264)](_0x20fea5[_0x180d7b(0x405)],_0x42eaed[0x0][_0x180d7b(0x283)][_0x180d7b(0x27c)][_0x20483d][_0x180d7b(0x405)])))return;this[_0x180d7b(0x32a)]['get'](_0x5481d1)[_0x180d7b(0x4a0)](_0xb0e3d2['id'],{'unitId':_0x336b21,'subUnitId':_0x255aff,'selections':_0x5c6b9d});}}};it=es([dt(0x0,_0xba0ecf(_0x8e3ca0)),dt(0x1,_0x106d03),dt(0x2,_0x23b21c)],it);const ht=_0xa243f1('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x1e0c6b=>(_0x1e0c6b[_0x1e0c6b[_0x52ec77(0x329)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x1e0c6b[_0x1e0c6b[_0x52ec77(0x411)]=0x1]=_0x52ec77(0x411),_0x1e0c6b))(Ci||{});const is=new Set([_0x3e373b['id']]);function qt(_0x2dc120,_0x5a2e79,_0x44c46b,_0x2698f2,_0x20e965){var _0x4ba901=_0x52ec77,_0x2fab74,_0x483528,_0x32757d,_0x68da6d;const _0x59eea1=[];for(const _0x21f463 of _0x2dc120)if(is[_0x4ba901(0x322)](_0x21f463['id'])){if(_0x59eea1['length']>0x0)break;_0x59eea1[_0x4ba901(0x22b)](_0x21f463);break;}else _0x59eea1['push'](_0x21f463);const _0x4f268f=(_0x483528=(_0x2fab74=_0x20e965[_0x4ba901(0x200)]())==null?void 0x0:_0x2fab74['userID'])!=null?_0x483528:'unknown',_0x18536e=(_0x68da6d=(_0x32757d=_0x20e965[_0x4ba901(0x200)]())==null?void 0x0:_0x32757d[_0x4ba901(0x490)])!=null?_0x68da6d:_0x4ba901(0x48c);return{'changeset':{'unitID':_0x5a2e79,'type':_0x5abc44(_0x44c46b['getUnitType'](_0x5a2e79)),'baseRev':_0x2698f2[_0x4ba901(0x4b7)](_0x5a2e79),'revision':0x0,'userID':_0x4f268f,'memberID':_0x18536e,'mutations':_0x59eea1},'pendingMutations':_0x2dc120['slice'](_0x59eea1['length'])};}function ns(_0x3690ff,_0x128e19,_0x34a012,_0x37fc7e,_0x42043d){var _0x2f04a2=_0x52ec77,_0x453f52,_0x2a3572,_0x55c275,_0x4fad19;const _0x230ead=[_0x3690ff['reduce']((_0x292b3e,_0x361ab5)=>{var _0x495a13=_0x406d,_0x1d99fb;const {id:_0x4c2fd0}=_0x292b3e,{id:_0x50aae1,type:_0x5334d6}=_0x361ab5,_0x273ee6=(_0x1d99fb=_0x292b3e[_0x495a13(0x283)])!=null?_0x1d99fb:{'actions':null},_0x477e8f=_0x361ab5[_0x495a13(0x283)];if(_0x4c2fd0&&_0x4c2fd0!==_0x50aae1)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4c2fd0+'\x20-\x20'+_0x50aae1+'.');return{..._0x292b3e,'id':_0x50aae1,'type':_0x5334d6,'params':{'unitId':_0x477e8f['unitId'],'textRanges':_0x477e8f['textRanges'],'actions':_0x4d278c[_0x495a13(0x2d3)](_0x273ee6[_0x495a13(0x3c3)],_0x477e8f[_0x495a13(0x3c3)])}};},{})],_0x362609=(_0x2a3572=(_0x453f52=_0x42043d[_0x2f04a2(0x200)]())==null?void 0x0:_0x453f52[_0x2f04a2(0x26f)])!=null?_0x2a3572:'unknown',_0x16a902=(_0x4fad19=(_0x55c275=_0x42043d[_0x2f04a2(0x200)]())==null?void 0x0:_0x55c275[_0x2f04a2(0x490)])!=null?_0x4fad19:_0x2f04a2(0x48c);return{'changeset':{'unitID':_0x128e19,'type':_0x5abc44(_0x34a012[_0x2f04a2(0x454)](_0x128e19)),'baseRev':_0x37fc7e['getCurrentRevOfUnit'](_0x128e19),'revision':0x0,'userID':_0x362609,'memberID':_0x16a902,'mutations':_0x230ead},'pendingMutations':[]};}function Ri(_0x48f1ab,_0x36f39b){var _0x20a5e4=_0x52ec77;const _0xdb4159=new _0x340ab8(0x1);return setTimeout(()=>_0xdb4159[_0x20a5e4(0x430)](_0x36f39b),_0x48f1ab),_0xdb4159[_0x20a5e4(0x3dd)]()[_0x20a5e4(0x3a9)](_0x42684f(0x1));}const ss={'id':_0x5b0914['id'],'type':_0x2a4448[_0x52ec77(0x3e2)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x451e62,_0x2fea81,_0x50f56f,_0x4b172a)=>{var _0x20b492=_0x52ec77;for(var _0x170afa=_0x4b172a>0x1?void 0x0:_0x4b172a?rs(_0x2fea81,_0x50f56f):_0x2fea81,_0xbc1f90=_0x451e62[_0x20b492(0x35b)]-0x1,_0x2ed061;_0xbc1f90>=0x0;_0xbc1f90--)(_0x2ed061=_0x451e62[_0xbc1f90])&&(_0x170afa=_0x2ed061(_0x170afa)||_0x170afa);return _0x170afa;},P=(_0x5acf62,_0x53bad8)=>(_0x12d971,_0x557e45)=>_0x53bad8(_0x12d971,_0x557e45,_0x5acf62),bi=(_0x2d6d7e=>(_0x2d6d7e[_0x52ec77(0x260)]=_0x52ec77(0x2cb),_0x2d6d7e[_0x52ec77(0x44e)]=_0x52ec77(0x395),_0x2d6d7e[_0x52ec77(0x2f2)]='pending',_0x2d6d7e[_0x52ec77(0x230)]='awaiting',_0x2d6d7e[_0x52ec77(0x314)]=_0x52ec77(0x385),_0x2d6d7e[_0x52ec77(0x3d7)]='fetch_missing',_0x2d6d7e['CONFLICT']=_0x52ec77(0x36c),_0x2d6d7e[_0x52ec77(0x3db)]=_0x52ec77(0x316),_0x2d6d7e))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2d1c09,_0xf29b0d,_0x2cd918,_0x2acfde,_0x1d26e9,_0x4f725f,_0xb91588,_0x2965be,_0x29f872){var _0x2f6a3b=_0x52ec77;N(this,'_awaitingChangeset',null),N(this,_0x2f6a3b(0x480),[]),(this[_0x2f6a3b(0x308)]=_0x2d1c09,this[_0x2f6a3b(0x3e5)]=_0xf29b0d,this['_handler']=_0x1d26e9,this['_commandService']=_0x4f725f,this['_undoRedoService']=_0xb91588,this[_0x2f6a3b(0x36d)]=_0x2965be,this[_0x2f6a3b(0x1fb)]=_0x29f872,this[_0x2f6a3b(0x332)]=_0x2cd918,this[_0x2f6a3b(0x480)]=_0x2acfde);}['_checkMissing'](_0x2c66f0){var _0x184851=_0x52ec77;const _0x5aa384=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x2c66f0[_0x184851(0x32d)]>_0x5aa384+0x1?(this['_handler']['onMissingChangesets']({'from':_0x5aa384,'to':_0x2c66f0['revision']-0x1}),!0x0):!0x1;}[_0x52ec77(0x1ee)](_0x2f2b38){var _0x58111f=_0x52ec77;this[_0x58111f(0x386)][_0x58111f(0x450)](this[_0x58111f(0x308)],_0x2f2b38);}[_0x52ec77(0x2ff)](_0x4c294c){var _0x2d5f81=_0x52ec77,_0x5e7f00,_0x3461e0;(_0x3461e0=(_0x5e7f00=this[_0x2d5f81(0x463)])[_0x2d5f81(0x1f0)])==null||_0x3461e0['call'](_0x5e7f00,_0x4c294c);}['_transformIMECache'](_0xe501eb){var _0x4bf84d=_0x52ec77,_0x5ecd47,_0x1e3994;return(_0x1e3994=(_0x5ecd47=this['_handler'])[_0x4bf84d(0x3ad)])==null?void 0x0:_0x1e3994[_0x4bf84d(0x239)](_0x5ecd47,_0xe501eb);}['_transformStateCache'](_0x57d5f8){var _0x5171f2=_0x52ec77,_0x112c2c,_0x7d6542;return(_0x7d6542=(_0x112c2c=this[_0x5171f2(0x463)])[_0x5171f2(0x49e)])==null?void 0x0:_0x7d6542[_0x5171f2(0x239)](_0x112c2c,_0x57d5f8);}[_0x52ec77(0x438)](_0x2c82c0){var _0x5179c4=_0x52ec77,_0x51df7f,_0x193056,_0x772d24;return(_0x772d24=(_0x193056=(_0x51df7f=this[_0x5179c4(0x463)])[_0x5179c4(0x1e4)])==null?void 0x0:_0x193056[_0x5179c4(0x239)](_0x51df7f,_0x2c82c0))!=null?_0x772d24:_0x2c82c0;}[_0x52ec77(0x1ed)](_0x23ea21){var _0x5ed872=_0x52ec77,_0x2cef8b,_0x319914,_0x41a7f7;return(_0x41a7f7=(_0x319914=(_0x2cef8b=this[_0x5ed872(0x463)])[_0x5ed872(0x214)])==null?void 0x0:_0x319914[_0x5ed872(0x239)](_0x2cef8b,_0x23ea21))!=null?_0x41a7f7:_0x23ea21;}[_0x52ec77(0x376)](_0x3d8b26){var _0x13e645=_0x52ec77,_0x55c3f1,_0x1e6567;if(this[_0x13e645(0x3e5)]===Q[_0x13e645(0x2c0)]){const {unitID:_0x5c52a9,mutations:_0x23c4ec,memberID:_0x380cf3}=_0x3d8b26,_0x191d6d=_0x23c4ec[0x0][_0x13e645(0x283)]['textRanges'];Array[_0x13e645(0x226)](_0x191d6d)&&_0x191d6d[_0x13e645(0x35b)]>0x0&&((_0x1e6567=(_0x55c3f1=this[_0x13e645(0x463)])[_0x13e645(0x31f)])==null||_0x1e6567[_0x13e645(0x239)](_0x55c3f1,{'unitID':_0x5c52a9,'memberID':_0x380cf3,'textRanges':_0x191d6d}));}}[_0x52ec77(0x36b)](){var _0x37e338=_0x52ec77,_0x5c6f19;(_0x5c6f19=this[_0x37e338(0x1fb)])==null||_0x5c6f19[_0x37e338(0x33c)](this[_0x37e338(0x308)],this[_0x37e338(0x3e5)],this[_0x37e338(0x332)],this[_0x37e338(0x480)]);}[_0x52ec77(0x34b)](){var _0x1fd38b=_0x52ec77;return this[_0x1fd38b(0x36d)][_0x1fd38b(0x4b7)](this[_0x1fd38b(0x308)]);}['_incrementRevisionNumber'](){var _0x11d9ef=_0x52ec77;this[_0x11d9ef(0x36d)][_0x11d9ef(0x4ae)](this[_0x11d9ef(0x308)]);}['_executeRemoteChangeset'](_0x159ead){var _0x360e10=_0x52ec77,_0x111111;let _0x27f7b8=this[_0x360e10(0x438)](_0x159ead);_0x27f7b8=this['_transformRemoteChangesetByStateCache'](_0x27f7b8);const _0x4a2296=_0xe3901c(_0x27f7b8[_0x360e10(0x34d)],this[_0x360e10(0x415)],{'fromCollab':!0x0});if(!_0x4a2296[_0x360e10(0x358)])throw _0x4a2296[_0x360e10(0x49b)]instanceof Error?_0x4a2296['error']:new Error((_0x111111=_0x4a2296['error'])!=null?_0x111111:_0x360e10(0x3ee));this[_0x360e10(0x24c)](_0x27f7b8),this[_0x360e10(0x2fe)](_0x27f7b8),this['_transformUndoredo'](_0x159ead),this[_0x360e10(0x2ff)](_0x27f7b8),this[_0x360e10(0x376)](_0x27f7b8),this[_0x360e10(0x41b)]();}}let Ne=class extends Ce{constructor(_0x2f0f03,_0x2a87f4,_0x5c65d7,_0x10bf68,_0x529922,_0x5937b7,_0x5dbd02,_0x32fe8c,_0x3d0486,_0x184278){var _0x3313ed=_0x52ec77;super(_0x2f0f03,_0x2a87f4,null,[],_0x5c65d7,_0x5dbd02,_0x5937b7,_0x10bf68,_0x184278),N(this,_0x3313ed(0x427),_0x3313ed(0x395)),(this[_0x3313ed(0x32a)]=_0x529922,this['_logService']=_0x32fe8c,this[_0x3313ed(0x1dd)]=_0x3d0486,this['localCacheService']=_0x184278);}[_0x52ec77(0x2e9)](_0x4b5af8){var _0x33bdf6=_0x52ec77;const _0x292deb=this['_injector'][_0x33bdf6(0x375)](ae,this[_0x33bdf6(0x308)],this[_0x33bdf6(0x3e5)],[_0x4b5af8],this[_0x33bdf6(0x463)]);return _0x292deb[_0x33bdf6(0x37e)](),_0x292deb['_updateLocalCache'](),_0x292deb;}[_0x52ec77(0x3be)](_0x186c2e){var _0x552bf4=_0x52ec77;if(this['_checkMissing'](_0x186c2e))return this['_injector'][_0x552bf4(0x375)](ee,this[_0x552bf4(0x308)],this[_0x552bf4(0x3e5)],null,[],null,[_0x186c2e],this['_handler']);try{const _0x47de4e=this[_0x552bf4(0x1dd)][_0x552bf4(0x289)](_0x186c2e,[ss]);if(_0x2668b0(_0x47de4e)){const {c1Prime:_0x4ed5bd}=_0x47de4e;return this['_executeRemoteChangeset'](_0x4ed5bd),this;}throw _0x47de4e[_0x552bf4(0x49b)];}catch(_0x3267ac){return this[_0x552bf4(0x45f)][_0x552bf4(0x49b)](_0x3267ac),this['_onConflict'](!0x1);}}[_0x52ec77(0x4a6)](_0x248677){var _0x5208d8=_0x52ec77;return this[_0x5208d8(0x32a)]['createInstance'](ue,this['unitID'],this[_0x5208d8(0x3e5)],null,[],this[_0x5208d8(0x463)],_0x248677);}[_0x52ec77(0x251)](){var _0x54a7b8=_0x52ec77;throw new Error(_0x54a7b8(0x426));}[_0x52ec77(0x298)](){var _0xa32500=_0x52ec77;throw new Error(_0xa32500(0x2a8));}[_0x52ec77(0x291)](){return this;}['toggleOffline'](){var _0x2865ca=_0x52ec77;return this[_0x2865ca(0x32a)][_0x2865ca(0x375)](de,this[_0x2865ca(0x308)],this[_0x2865ca(0x3e5)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x52ec77(0x3b4)](){var _0x115081=_0x52ec77;const _0x26223f=this[_0x115081(0x36d)]['getCurrentRevOfUnit'](this[_0x115081(0x308)]);return this['_handler'][_0x115081(0x22d)]({'from':_0x26223f,'to':0x0}),this[_0x115081(0x32a)]['createInstance'](ee,this['unitID'],this[_0x115081(0x3e5)],null,[],null,[],this[_0x115081(0x463)]);}};Ne=Te([P(0x3,_0xba0ecf(_0x3cc3c8)),P(0x4,_0xba0ecf(_0x8e3ca0)),P(0x5,_0x2fdb04),P(0x6,_0x5481d1),P(0x7,_0x9fbca6),P(0x8,_0x106d03),P(0x9,_0x7418f6(J))],Ne);let ae=class extends Ce{constructor(_0x40a028,_0x5df0c1,_0x3ad579,_0xbbea0c,_0x182bfe,_0x4cd5af,_0x4c83e1,_0x46ba3d,_0x519fa8,_0x1b5855,_0x39e603,_0xf4617f,_0x1319b6,_0x237c3b){var _0x58e802=_0x52ec77;super(_0x40a028,_0x5df0c1,null,_0x3ad579,_0xbbea0c,_0x519fa8,_0x1319b6,_0x4cd5af,_0x237c3b),N(this,'status','pending'),N(this,_0x58e802(0x436),null),N(this,'_sendingTimer',null),(this[_0x58e802(0x32a)]=_0x182bfe,this[_0x58e802(0x3d6)]=_0x4c83e1,this[_0x58e802(0x45f)]=_0x46ba3d,this[_0x58e802(0x3b0)]=_0x1b5855,this[_0x58e802(0x1dd)]=_0x39e603,this[_0x58e802(0x485)]=_0xf4617f);}[_0x52ec77(0x2e9)](_0x4ad382){var _0xac928e=_0x52ec77;return this[_0xac928e(0x480)][_0xac928e(0x22b)](_0x4ad382),this[_0xac928e(0x36b)](),this;}[_0x52ec77(0x3be)](_0x1ea257){var _0x263fbb=_0x52ec77;if(this[_0x263fbb(0x2d8)](_0x1ea257))return this[_0x263fbb(0x451)](),this[_0x263fbb(0x32a)]['createInstance'](ee,this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x1ea257],this['_handler']);try{const _0x48e062=this[_0x263fbb(0x1dd)][_0x263fbb(0x289)](_0x1ea257,this[_0x263fbb(0x480)]);if(_0x2668b0(_0x48e062)){const {c1Prime:_0x16d419,m2Prime:_0x26f2dd}=_0x48e062;this[_0x263fbb(0x45c)](_0x16d419);const _0x16dc9e=this[_0x263fbb(0x32a)][_0x263fbb(0x375)](ae,this[_0x263fbb(0x308)],this['type'],_0x26f2dd,this[_0x263fbb(0x463)]);this[_0x263fbb(0x451)]();const _0x301c9f=new Date()[_0x263fbb(0x297)](),_0x430e35=this[_0x263fbb(0x436)]?Math[_0x263fbb(0x24e)](this[_0x263fbb(0x436)]-_0x301c9f,0x0):this[_0x263fbb(0x3a6)]();return _0x16dc9e['_schedule'](_0x430e35),_0x16dc9e;}throw _0x48e062[_0x263fbb(0x49b)];}catch(_0xfb9c7e){return this[_0x263fbb(0x45f)][_0x263fbb(0x49b)](_0xfb9c7e),this['_onConflict'](!0x1);}}[_0x52ec77(0x251)](){var _0x37a66b=_0x52ec77;throw new Error(_0x37a66b(0x379));}['onRemoteRej'](){var _0x3b2b69=_0x52ec77;throw new Error(_0x3b2b69(0x205));}[_0x52ec77(0x291)](){return this;}['toggleOffline'](){var _0x59901d=_0x52ec77;return this[_0x59901d(0x451)](),this[_0x59901d(0x32a)]['createInstance'](de,this[_0x59901d(0x308)],this[_0x59901d(0x3e5)],null,this[_0x59901d(0x480)],this[_0x59901d(0x463)]);}[_0x52ec77(0x209)](){return this;}[_0x52ec77(0x37e)](_0x517c64){var _0x631a8c=_0x52ec77;const _0x276261=_0x517c64!=null?_0x517c64:this['_getSendChangesetTimeout']();this[_0x631a8c(0x436)]=new Date()[_0x631a8c(0x297)]()+_0x276261,this[_0x631a8c(0x2c5)]=setTimeout(()=>{var _0x4e15a3=_0x631a8c;this['_clearScheduledTask']();let _0x1abaf9=null;switch(this[_0x4e15a3(0x3e5)]){case Q[_0x4e15a3(0x20b)]:{_0x1abaf9=qt(this[_0x4e15a3(0x480)],this[_0x4e15a3(0x308)],this['_univerInstanceService'],this[_0x4e15a3(0x36d)],this[_0x4e15a3(0x3d6)]);break;}case Q[_0x4e15a3(0x2c0)]:{this[_0x4e15a3(0x480)]['every'](_0x41beb4=>_0x41beb4['id']===_0x1614d7['id'])?_0x1abaf9=ns(this['_pendingMutations'],this[_0x4e15a3(0x308)],this[_0x4e15a3(0x485)],this[_0x4e15a3(0x36d)],this[_0x4e15a3(0x3d6)]):_0x1abaf9=qt(this['_pendingMutations'],this[_0x4e15a3(0x308)],this[_0x4e15a3(0x485)],this[_0x4e15a3(0x36d)],this[_0x4e15a3(0x3d6)]);break;}default:throw new Error(_0x4e15a3(0x248)+this[_0x4e15a3(0x3e5)]+_0x4e15a3(0x481));}const {changeset:_0x1b05a1,pendingMutations:_0x213ef1}=_0x1abaf9;this[_0x4e15a3(0x463)][_0x4e15a3(0x2c8)](_0x1b05a1);const _0x2c1c85=_0x213ef1[_0x4e15a3(0x35b)]?this['_injector'][_0x4e15a3(0x375)](oe,this['unitID'],this[_0x4e15a3(0x3e5)],_0x1b05a1,_0x213ef1,this[_0x4e15a3(0x463)],void 0x0):this[_0x4e15a3(0x32a)][_0x4e15a3(0x375)](le,this[_0x4e15a3(0x308)],this[_0x4e15a3(0x3e5)],_0x1b05a1,this[_0x4e15a3(0x463)]);_0x2c1c85['_updateLocalCache'](),this[_0x4e15a3(0x463)]['onStateChange'](this,_0x2c1c85);},_0x276261);}[_0x52ec77(0x3a6)](){var _0x55d3a4=_0x52ec77,_0x301eb8;const _0x5c01c7=this[_0x55d3a4(0x3b0)]['getConfig'](q);return(_0x301eb8=_0x5c01c7==null?void 0x0:_0x5c01c7['sendChangesetTimeout'])!=null?_0x301eb8:En;}[_0x52ec77(0x3dc)](){var _0x157a14=_0x52ec77;throw new Error(_0x157a14(0x2ce));}[_0x52ec77(0x451)](){var _0x20c27e=_0x52ec77;this[_0x20c27e(0x2c5)]!=null&&(clearTimeout(this[_0x20c27e(0x2c5)]),this[_0x20c27e(0x2c5)]=null);}[_0x52ec77(0x4a6)](_0x261391){var _0x59b83c=_0x52ec77;return this[_0x59b83c(0x451)](),this['_injector'][_0x59b83c(0x375)](ue,this[_0x59b83c(0x308)],this[_0x59b83c(0x3e5)],null,this[_0x59b83c(0x480)],this[_0x59b83c(0x463)],_0x261391);}};ae=Te([P(0x4,_0xba0ecf(_0x8e3ca0)),P(0x5,_0xba0ecf(_0x3cc3c8)),P(0x6,_0xba0ecf(Le)),P(0x7,_0x9fbca6),P(0x8,_0x5481d1),P(0x9,_0x88d960),P(0xa,_0x106d03),P(0xb,_0x23b21c),P(0xc,_0x2fdb04),P(0xd,_0x7418f6(J))],ae);let le=class extends Ce{constructor(_0x50b87c,_0x1f61b6,_0x40ffe3,_0x4390bd,_0x454cf,_0x2a5fee,_0x240bab,_0x43efd0,_0x23c1a0,_0x451abd,_0x440f50){var _0x25ffe6=_0x52ec77;super(_0x50b87c,_0x1f61b6,_0x40ffe3,[],_0x4390bd,_0x240bab,_0x451abd,_0x2a5fee,_0x440f50),N(this,_0x25ffe6(0x427),_0x25ffe6(0x3ea)),N(this,_0x25ffe6(0x3d0),0x0),N(this,_0x25ffe6(0x235)),N(this,_0x25ffe6(0x206)),(this[_0x25ffe6(0x32a)]=_0x454cf,this[_0x25ffe6(0x45f)]=_0x43efd0,this['_transformService']=_0x23c1a0);}['appendMutation'](_0x58970b){var _0x222aaa=_0x52ec77;this['_clearScheduledTask']();const _0x33c20a=this[_0x222aaa(0x32a)]['createInstance'](oe,this['unitID'],this[_0x222aaa(0x3e5)],this[_0x222aaa(0x332)],[_0x58970b],this['_handler'],this[_0x222aaa(0x235)]);return _0x33c20a[_0x222aaa(0x36b)](),_0x33c20a;}[_0x52ec77(0x3be)](_0x356da3){var _0x3aa977=_0x52ec77;if(this[_0x3aa977(0x2d8)](_0x356da3))return this['_clearScheduledTask'](),this[_0x3aa977(0x32a)]['createInstance'](ee,this[_0x3aa977(0x308)],this[_0x3aa977(0x3e5)],this[_0x3aa977(0x332)],[],null,[_0x356da3],this[_0x3aa977(0x463)]);try{const _0x135b32=this[_0x3aa977(0x1dd)]['transformChangesets']([_0x356da3],[this['_awaitingChangeset']],!0x1);if(_0x318f2c(_0x135b32)){const {c1Prime:_0x134d5f,c2Prime:_0x54d50a}=_0x135b32;this[_0x3aa977(0x45c)](_0x134d5f[0x0]),_0x54d50a[0x0]['baseRev']=this[_0x3aa977(0x34b)](),this[_0x3aa977(0x451)]();const _0x3fd5fe=this[_0x3aa977(0x32a)][_0x3aa977(0x375)](le,this['unitID'],this['type'],_0x54d50a[0x0],this['_handler']);return _0x3fd5fe[_0x3aa977(0x36b)](),_0x3fd5fe;}return this[_0x3aa977(0x4a6)](!0x1);}catch(_0x26d722){return this[_0x3aa977(0x45f)][_0x3aa977(0x49b)](_0x26d722),this[_0x3aa977(0x4a6)](!0x1);}}[_0x52ec77(0x251)](_0x486903){var _0x98722c=_0x52ec77;this[_0x98722c(0x451)]();const _0x309622=this[_0x98722c(0x36d)][_0x98722c(0x4b7)](this['unitID']);if(_0x486903[_0x98722c(0x32d)]<_0x309622-0x1)return this;if(this[_0x98722c(0x2d8)](_0x486903))return this['_injector'][_0x98722c(0x375)](ee,this[_0x98722c(0x308)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x98722c(0x463)]);this['_incrementRevisionNumber']();const _0x588fcb=this[_0x98722c(0x32a)][_0x98722c(0x375)](Ne,this[_0x98722c(0x308)],this[_0x98722c(0x3e5)],this[_0x98722c(0x463)]);return _0x588fcb['_updateLocalCache'](),_0x588fcb;}[_0x52ec77(0x298)](_0x5b2067){var _0x1cd830=_0x52ec77;return this['_onConflict'](!!(_0x5b2067!=null&&_0x5b2067[_0x1cd830(0x423)]));}[_0x52ec77(0x291)](_0x5ca55e){var _0x324be7=_0x52ec77;return this['_resendTimeout']>Oi?this['toggleOffline']():(this[_0x324be7(0x235)]=Ri(this['_resendTimeout'],{'timeout':this[_0x324be7(0x3d0)],'reqId':_0x5ca55e[_0x324be7(0x47f)]}),this[_0x324be7(0x206)]=this[_0x324be7(0x235)]['subscribe'](({reqId:_0x392f69,timeout:_0xb3a97e})=>{this['_resendWithTimeout'](_0x392f69,_0xb3a97e);}),this);}[_0x52ec77(0x24f)](){var _0x1ea30b=_0x52ec77;return this[_0x1ea30b(0x451)](),this[_0x1ea30b(0x32a)]['createInstance'](de,this['unitID'],this[_0x1ea30b(0x3e5)],this['_awaitingChangeset'],[],this[_0x1ea30b(0x463)]);}[_0x52ec77(0x209)](){return this;}[_0x52ec77(0x3dc)](){var _0x479e1d=_0x52ec77;this[_0x479e1d(0x463)][_0x479e1d(0x2c8)](this[_0x479e1d(0x332)]);}[_0x52ec77(0x4a6)](_0x1934be){var _0x46195c=_0x52ec77;return this['_clearScheduledTask'](),this[_0x46195c(0x32a)][_0x46195c(0x375)](ue,this['unitID'],this[_0x46195c(0x3e5)],this['_awaitingChangeset'],[],this[_0x46195c(0x463)],_0x1934be);}[_0x52ec77(0x36a)](_0x69fb48,_0x4bc1f7){var _0x5b88b2=_0x52ec77,_0x24b03c;_0x69fb48===((_0x24b03c=this[_0x5b88b2(0x332)])==null?void 0x0:_0x24b03c[_0x5b88b2(0x47f)])&&(this[_0x5b88b2(0x3dc)](),this[_0x5b88b2(0x3d0)]=_0x4bc1f7===0x0?0x3e8:_0x4bc1f7*0x2);}[_0x52ec77(0x451)](){var _0x32a671=_0x52ec77,_0xe29fcd;(_0xe29fcd=this[_0x32a671(0x206)])==null||_0xe29fcd[_0x32a671(0x3eb)](),this[_0x32a671(0x3d0)]=0x0;}};le=Te([P(0x4,_0xba0ecf(_0x8e3ca0)),P(0x5,_0xba0ecf(_0x3cc3c8)),P(0x6,_0x5481d1),P(0x7,_0x9fbca6),P(0x8,_0x106d03),P(0x9,_0x2fdb04),P(0xa,_0x7418f6(J))],le);let oe=class extends Ce{constructor(_0x38516a,_0x390d12,_0x1b32fd,_0x3d48bd,_0x2a1af3,_0x447f77,_0x4efed9,_0x3c6af0,_0x5c988b,_0x2cee93,_0x4e37d2,_0x399245,_0xe1d6ac){var _0x1cea01=_0x52ec77;super(_0x38516a,_0x390d12,_0x1b32fd,_0x3d48bd,_0x2a1af3,_0x5c988b,_0x399245,_0x3c6af0,_0xe1d6ac),N(this,_0x1cea01(0x427),'awaiting_with_pending'),N(this,_0x1cea01(0x3d0),0x0),N(this,_0x1cea01(0x235)),N(this,'_sender'),(this[_0x1cea01(0x32a)]=_0x4efed9,this['_logService']=_0x2cee93,this[_0x1cea01(0x1dd)]=_0x4e37d2,this[_0x1cea01(0x2f5)]=_0xe1d6ac,_0x447f77&&(this[_0x1cea01(0x235)]=_0x447f77,this[_0x1cea01(0x206)]=this[_0x1cea01(0x235)][_0x1cea01(0x420)](({reqId:_0x11df8d,timeout:_0x550f9d})=>{this['_resendWithTimeout'](_0x11df8d,_0x550f9d);})));}['appendMutation'](_0x1cb930){var _0x46a145=_0x52ec77;return this[_0x46a145(0x480)][_0x46a145(0x22b)](_0x1cb930),this;}[_0x52ec77(0x3be)](_0x308759){var _0x55c708=_0x52ec77;if(this[_0x55c708(0x2d8)](_0x308759))return this['_clearScheduledTask'](),this[_0x55c708(0x32a)][_0x55c708(0x375)](ee,this[_0x55c708(0x308)],this['type'],this[_0x55c708(0x332)],this[_0x55c708(0x480)],null,[_0x308759],this[_0x55c708(0x463)]);try{const _0x5b564d=this['_transformService'][_0x55c708(0x4bc)]([_0x308759],[this[_0x55c708(0x332)]],!0x1);if(_0x318f2c(_0x5b564d)){const {c1Prime:_0x40f406,c2Prime:_0x4cfca0}=_0x5b564d,_0x4933d0=this['_transformService'][_0x55c708(0x289)](_0x40f406[0x0],this[_0x55c708(0x480)]);if(_0x2668b0(_0x4933d0)){const {c1Prime:_0x59b1aa,m2Prime:_0x3b7d57}=_0x4933d0;return this[_0x55c708(0x45c)](_0x59b1aa),_0x4cfca0[0x0][_0x55c708(0x231)]=this[_0x55c708(0x34b)](),this[_0x55c708(0x451)](),this[_0x55c708(0x32a)][_0x55c708(0x375)](oe,this[_0x55c708(0x308)],this[_0x55c708(0x3e5)],_0x4cfca0[0x0],_0x3b7d57,this[_0x55c708(0x463)],void 0x0);}throw _0x4933d0['error'];}throw _0x5b564d[_0x55c708(0x49b)];}catch(_0x1fc1fb){return this[_0x55c708(0x45f)][_0x55c708(0x49b)](_0x1fc1fb),this[_0x55c708(0x4a6)](!0x1);}}['onRemoteAck'](_0x2cfdd2){var _0x2f0c1a=_0x52ec77;if(this[_0x2f0c1a(0x451)](),this[_0x2f0c1a(0x2d8)](_0x2cfdd2))return this[_0x2f0c1a(0x32a)][_0x2f0c1a(0x375)](ee,this['unitID'],this['type'],null,this[_0x2f0c1a(0x480)],this[_0x2f0c1a(0x332)],[],this[_0x2f0c1a(0x463)]);this['_incrementRevisionNumber']();const _0x53bd8b=this[_0x2f0c1a(0x32a)][_0x2f0c1a(0x375)](ae,this['unitID'],this['type'],this[_0x2f0c1a(0x480)],this['_handler']);return _0x53bd8b[_0x2f0c1a(0x37e)](),_0x53bd8b[_0x2f0c1a(0x36b)](),_0x53bd8b;}[_0x52ec77(0x298)](_0x2efb08){var _0x120454=_0x52ec77;return this[_0x120454(0x4a6)](!!(_0x2efb08!=null&&_0x2efb08[_0x120454(0x423)]));}[_0x52ec77(0x291)](_0x6b8e3f){var _0x21ab20=_0x52ec77;return this['_resendTimeout']>Oi?this['toggleOffline']():(this[_0x21ab20(0x235)]=Ri(this[_0x21ab20(0x3d0)],{'timeout':this[_0x21ab20(0x3d0)],'reqId':_0x6b8e3f[_0x21ab20(0x47f)]}),this[_0x21ab20(0x206)]=this[_0x21ab20(0x235)][_0x21ab20(0x420)](({reqId:_0x39d694,timeout:_0x1fd869})=>{var _0x4bb601=_0x21ab20;this[_0x4bb601(0x36a)](_0x39d694,_0x1fd869);}),this);}['toggleOffline'](){var _0x4e59de=_0x52ec77;return this[_0x4e59de(0x451)](),this[_0x4e59de(0x32a)]['createInstance'](de,this[_0x4e59de(0x308)],this[_0x4e59de(0x3e5)],this[_0x4e59de(0x332)],this[_0x4e59de(0x480)],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0xf80fa5=_0x52ec77;this[_0xf80fa5(0x463)]['onSendChangeset'](this[_0xf80fa5(0x332)]);}['_onConflict'](_0x1ff724){var _0x21f7eb=_0x52ec77;return this[_0x21f7eb(0x451)](),this[_0x21f7eb(0x32a)]['createInstance'](ue,this['unitID'],this[_0x21f7eb(0x3e5)],null,this[_0x21f7eb(0x480)],this[_0x21f7eb(0x463)],_0x1ff724);}['_resendWithTimeout'](_0x9a0304,_0x29e883){var _0x559349=_0x52ec77,_0x5ebfce;_0x9a0304===((_0x5ebfce=this[_0x559349(0x332)])==null?void 0x0:_0x5ebfce[_0x559349(0x47f)])&&(this['resend'](),this[_0x559349(0x3d0)]=_0x29e883===0x0?0x3e8:_0x29e883*0x2);}['_clearScheduledTask'](){var _0x136bd4=_0x52ec77,_0x282736;(_0x282736=this[_0x136bd4(0x206)])==null||_0x282736[_0x136bd4(0x3eb)](),this[_0x136bd4(0x3d0)]=0x0;}};oe=Te([P(0x6,_0xba0ecf(_0x8e3ca0)),P(0x7,_0xba0ecf(_0x3cc3c8)),P(0x8,_0x5481d1),P(0x9,_0x9fbca6),P(0xa,_0x106d03),P(0xb,_0x2fdb04),P(0xc,_0x7418f6(J))],oe);let ue=class extends Ce{constructor(_0x76af9d,_0x51adce,_0x1e6792,_0x38b8cf,_0xc5be3d,_0x25b43e=!0x1,_0x5cb437,_0x45f756,_0x100f80,_0x4d002b,_0x39f415,_0x1bed6e,_0x1fdc52){var _0x3ec7d1=_0x52ec77;super(_0x76af9d,_0x51adce,_0x1e6792,_0x38b8cf,_0xc5be3d,_0x45f756,_0x100f80,_0x4d002b,_0x1fdc52),N(this,_0x3ec7d1(0x427),_0x3ec7d1(0x36c)),(this['_isPermissionRej']=_0x25b43e,this['_permissionService']=_0x5cb437,this[_0x3ec7d1(0x343)]=_0x39f415,this[_0x3ec7d1(0x1fa)]=_0x1bed6e,this[_0x3ec7d1(0x2f5)]=_0x1fdc52,this[_0x3ec7d1(0x2d0)](),this['_clearLocalCache'](),this[_0x3ec7d1(0x419)]());}[_0x52ec77(0x2e9)](){return this;}['onRemoteChangeset'](){return this;}[_0x52ec77(0x251)](){return this;}[_0x52ec77(0x298)](){return this;}[_0x52ec77(0x291)](){return this;}[_0x52ec77(0x24f)](){return this;}[_0x52ec77(0x209)](){return this;}['resend'](){var _0x44683c=_0x52ec77;throw new Error(_0x44683c(0x1c5));}[_0x52ec77(0x1cd)](){var _0x393c41=_0x52ec77,_0xbbffbf;(_0xbbffbf=this['_localCacheService'])==null||_0xbbffbf['updateOfflineData'](this['unitID'],this[_0x393c41(0x3e5)],null,[]);}[_0x52ec77(0x2d0)](){var _0x5c25ff=_0x52ec77;this['_isPermissionRej']?this[_0x5c25ff(0x1fa)][_0x5c25ff(0x219)]({'id':re['PERMISSION_DENIED']}):this[_0x5c25ff(0x1fa)][_0x5c25ff(0x219)]({'id':re[_0x5c25ff(0x1cf)]});}[_0x52ec77(0x419)](){var _0x56be57=_0x52ec77;this['_permissionService']['updatePermissionPoint'](new _0x2805e7(this[_0x56be57(0x308)])['id'],!0x1);}};ue=Te([P(0x6,_0xba0ecf(_0x206a87)),P(0x7,_0x5481d1),P(0x8,_0x2fdb04),P(0x9,_0xba0ecf(_0x3cc3c8)),P(0xa,_0xba0ecf(_0x335da4)),P(0xb,_0xba0ecf(pe)),P(0xc,_0x7418f6(J))],ue);function _0x3017(){var _0x481cb1=['COLLAB_WEB_SOCKET_URL','_startCollaboration','univer-pro.collaboration-client-socket-service','includes','_initUnitPermissionChange','/universer-api/file/{fileID}/sign-url','_initDependencies','COMPRESS_MUTATION_SEND','getUnitOnRev','originalMeta','_resendWithTimeout','_updateLocalCache','conflict','_revisionService','Encryptor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','clone','_singleActiveUnitService','_changesetSessionId','cmd','onCommentUpdate','createInstance','_syncEditingCollabCursor','leaveEvent','getTypeOfUnitAdded$','[PendingState]:\x20received\x20acknowledgement.','_init','_changesetReqId','UNDEFINED','put','_schedule','_minBufferSize','UNISCRIPT_RUN','collaboratorID','catch','[CollaborationSessionService]:\x20socket\x20error','createDecryptor','awaiting_with_pending','_undoRedoService','rev','SHA1','_iKey','getUnitId','MOBILE_HAS_BEEN_BOUND','createSocket','string','clear','initWorkbookPermissionChange','entityInit$','JOIN','INGEST','UPDATE_PERMISSION_OBJ','_onRemoteChangeset','synced','lib','_onConnectionOpen','StreamCipher','file','Latin1','PERSON','liveShareOperation','[DataLoaderService]','getActiveSheet','connection\x20error','format','_redoStacks','_onRemoteRetry','_createHmacHelper','univer-pro.collaboration-client.network-condition.service','resolve','_getSendChangesetTimeout','salt','_config','pipe','session.room-full','_clearRedo','Base64','onTransformIME','extend','UnitSnapshot','_configService','collaMsg','objectActions','submit\x20changeset\x20error!','fetchMiss','58667352ISIsPx','CLOSE_ROOM','/rev/','createEncryptor','_tryEnsureSocket','getCollabEntity$','UNIVER_SLIDE','_startTelemetryCollaborationNewChangeset','getValue','onRemoteChangeset','/universer-api/comb','CHANGESET_ACK','SNAPSHOT_HAS_BEEN_REMOVED','_data','actions','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','MD5','TOO_MANY_REQUESTS','apply','LICENSE_IMPORT_SIZE_EXCEEDED','random','?size=','words','commentUpdate$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_doCreateSocket','_members$','_resendTimeout','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','_initCloseConn','processBlock','[CollaborationEntity]','_memberService','FETCH_MISS','SNAPSHOT_SERVER_URL_KEY','_queuedRemoteChangesets','OTHER_CLIENT_EDITING','OFFLINE','resend','asObservable','208672aaxVKS','_getUndoStack','_getAPIPrefix','2814bVEMcb','MUTATION','allowed','_substituteUndoStack','type','_transitionLocked','map','_networkConditionService','1753401YpMRkL','awaiting','unsubscribe','capture','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[CollaborationState]:\x20apply\x20error!','hasher','_doCryptBlock','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_stopTelemetryCollaborationNewChangeset','{fileID}','updatePermissionObjEvent','_updateStatus','YUUMI_ALL_TABLES_IS_INVALID','reduce','setConfig','getConfig','_shouldReportTelemetry','size','UNRECOGNIZED','getWorkbookSelections','addImageSourceCache','_snapshotService','splice','UNIVER_PROJECT','find','avatar','session','range','_submitChangeset','_socket$','prototype','_fetchMissChangesets','collaboration_new_changeset','enc','readAsDataURL','resourceIDs','transformStack\x20failed!','reject','byteLength','OTHER_CLIENTS_EDITING','_change$','Base','FAIL','_commandService','routeKey','collabSubmitChangesetUrl','WordArray','_disableEditing','encrypt','_incrementRevisionNumber','disableLocalCache','event$','c2Prime','_nDataBytes','subscribe','_hash','_onConnectionFailed','isPermissionRej','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_timeoutTimer','[SyncedState]:\x20received\x20acknowledgement.','status','abs','/universer-api/user/session-ticket','_iv','_nRounds','getMember','session.join-failed','_getCtorByUniverType','/fetchmissing?from=','next','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','patch','_onMessage','YUUMI_AI_RUN_FAILED','INVALID_ARGUMENT','_scheduleCompleteTimestamp','_oKey','_transformRemoteChangesetByIMECache','onCommandExecuted','disposeWithMe','getImageSourceCache','image/gif','LIVESHARE_TERMINATE','_joinRoom','Cipher','HELLO','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_getDownloadEndpointURL','findIndex','HttpImport','confirm','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','cfg','src','CipherParams','_initRequestHeader','INVITE_CODE_HAS_BEEN_UES','onlyLocal','_hasher','SYNCED','getSheetBlock','transformUndoRedo','_clearScheduledTask','LICENSE_EXPORT_SIZE_EXCEEDED','COMPRESS_MUTATION_APPLY','getUnitType','Hex','Hasher','AUTHZ_URL_KEY','title','SEND_CHANGESET_TIMEOUT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','loadUnit','_executeRemoteChangeset','eventID','_remoteChangesetQueue','_logService','/unit/','infoRsp','JOIN_ROOM_FULL','_handler','commentUpdateEvent','init','_doReset','_socketReady','_HTTPService','_cipher','fromCollab','putCollaborators','csAckEvent','ws://127.0.0.1:8000/universer-api/comb/connect','SUBMIT_CHANGESET','MSG_FOR_ERROR','_event$','UNKNOWN_CMD','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','method','url','subUnitId','workbook','LIVESHARE_NEW_HOST','_collaborationTimeoutTimer','_rescheduleHeartbeat','unitId\x20is\x20not\x20found','x-univer-host','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOIN_ROOM_NOT_EXISTS','requireSession','reqId','_pendingMutations','\x20in\x20_schedule.','_transformStack','UNAUTHENTICATED','getInterceptPoints','_univerInstanceService','ONLINE','_getAPIPrefixPath','append','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/snapshot/','loadOfflineData','unknown','liveShareNewHost','code','readyForCollab','memberID','_ENC_XFORM_MODE','interceptor','toLowerCase','BlockCipherMode','blockSize','getFocusedUnit','_listenToNetworkCondition','from','pauseCollaboration','BufferedBlockAlgorithm','error','reverse','[CollaborationSessionService]','onTransformState','IDLE','executeCommand','stopTime','function','generateRandomId','keySize','_clearTimeoutTimer','_onConflict','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','FETCH_MISSING','CONNECTOR_DATA_TOO_LARGE','onStarting','updateCollaborator','_unitID','socketService','incrementRevOfUnit','charAt','LICENSE_DISTRO_REJECTED','location','LEAVE','[OfflineState]:\x20received\x20acknowledgement.','RETRY_CONNECTING_MAX_COUNT','[CollaborationSession]','auth.needGotoLoginAlert','getCurrentRevOfUnit','state','body','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','loadDoc','transformChangesets','_entityInit$','session.room-cnt-exceeds','_permissionService','EMAIL_HAS_BEEN_BOUND','_compressMutationService','SOCKET_FAILED_RETRY','getMemberID','algo','list','updateMember','USERS_ENTER','_socketService','_telemetryInfo','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','error$','_acknowledgedAwaitingChangeset','_onRecvEvent','INVALID_INVITE_CODE','_onFetchMissResult','_undoStacks','getUnit','Pkcs7','loginUrlKey','_emitMembers','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','downloadEndpointUrl','saveChangeset','\x20to\x20','_invKeySchedule','[OfflineState]:\x20received\x20changeset.','_collabSessionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_clearLocalCache','dispose','CONFLICT','LIVESHARE_REQUEST_HOST','fetch_missing','removeMember','_retryConnectingTimer','focused$','LOGIN_FAILED','Decryptor','_sessions','getLatestCsReqIdBySid','then','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_REJ','_unitInfo$','_transformService','COMMENT_UPDATE','forEach','_map','getImage','SHOULD_CLOSE_CONN','_retryCount','onTransformRemoteChangesetByIMECache','sheets','_collaborationPaused','dispose$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_clearUndo','_updateState','Malformed\x20UTF-8\x20data','_onRemoteRejected','_transformRemoteChangesetByStateCache','_transformUndoredo','SOCKET_FAILED','onTransformSelections','HEARTBEAT','duration','_roomMembers','headers','COLLAB_SUBMIT_CHANGESET_URL','concat','values','90nMWCUZ','_collaborationSessionService','_collaborationUIEventService','_localCacheService','USER_NOT_INVITED_CODE','BASE64','ENSURE_SNAPSHOT_EXECUTION','JOINING','getCurrentUser','_socket','addHandlerCallback','changesets','APPLY_REVISION_CONFILICT','[PendingState]:\x20received\x20rejection.','_sender','SUBMIT_CHANGESET_TIMEOUT','batchAllowed','toggleOnline','HMAC','UNIVER_SHEET','listRoles','Error\x20on\x20receiving\x20event','&assign=','_toggleOffline','_sendHeartbeatTimer','editingUnit','objectType','_instanceService','onTransformRemoteChangesetByStateCache','JOIN_ROOM_PERMISSION_DENIED','crypto','_onUserJoin','SUCCUSS','emitEvent','9553194VedMGP','APPLY_DUPLICATED','getCollabEntity','11lPelzg','INVITE_CODE_REQUIRED','_prevBlock','m2Prime','OPTIONAL','_sheetTransformSelectionsService','__Key__','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','bind','isArray','message$','_onOffline','SerializableCipher','objectID','push','unitId','onMissingChangesets','_loadSheet','_clearCollaborationTimeoutTimer','AWAITING','baseRev','_eventService','/allowed','Utf8','_resendTimer','localeService','_entities','_status$','call','shouldCloseConn','objects','CHANGESET_SHOULD_RETRY','_socketMessageSubscription','/new_changes','_getRedoStack','LIVESHARE_FETCH_OPERATIONS','sessionStatus','POST','indexOf','UUID','_telemetryService','COMPLETION_FINISHED','getRoom','[PendingState]:\x20unhandled\x20univer\x20type:\x20','image/jpeg','signUrlServerUrl','PSEUDO_FETCH_MISSING_RESULT','_transformIMECache','EvpKDF','max','toggleOffline','compute','onRemoteAck','readInt32LE','reset','PERMISSION_DENIED','authzUrl','copyFileMeta','encode','_getSignURL','rng','OpenSSL','ciphertext','INVITE_CODE_ALREADY_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','ceil','slice','NOT_COLLAB','sid','_toggleOnline','_applyRemoteChangeset','equals','delete','22296argszy','onMissedChangesetFetched','origin','unitInfo$','update','newCsEvent','session.room-not-exists','YUUMI_ASYNCIO_CANCELLED','_DEC_XFORM_MODE','userID','_keyPriorReset','now','_parse','send','RECV','_onUserLeave','getAllMembers','floor','charCodeAt','HEARTBEAT_INTERVAL','debug','post','selections','reconnect','getSnapshotAPIPath','NoPadding','/universer-api/stream/file/upload','_onLocalMutation','UNIVER_UNKNOWN','params','save\x20fail\x20reason\x20is\x20','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_REVISION_CONFILICT','default','_xformMode','transformMutationsWithChangeset','every','close$','/-/object/list','_mode','__esModule','_append','sigBytes','onRemoteRetry','setWaitCount','min','UserProfileImg','_imageSourceCache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getTime','onRemoteRej','[UniverCollaborationClientPlugin]','_sendHeartbeat','_keySchedule','buffer','sessionStatus$','registerHTTPInterceptor','INTERNAL_ERROR','filter','_createHandler','_doFinalize','_onRemoteACK','getOwnPropertyDescriptor','randomBytes','_commentService','execute','[SyncedState]:\x20received\x20rejection.','GLOBAL_ROOMS_CNT_EXCEEDS','substr','_scheduleCollaborationTimeoutTimer','decrypt','key','/resources','NEW_CHANGESETS','_handlerCallback','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_sessionStatus$','35mMKXRy','hostname','responseType','USERS_LEAVE','_process','retryConnectingInterval','hasOwnProperty','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_waitCount','YUUMI_RATE_OVER_LIMIT','editing\x20status\x20changed\x20to','LICENSE_MAX_UNITS_EXCEEDED','getResourcesRequest','UNIVER_DOC','UPDATE_CURSOR','_commentUpdate$','roomInfos','_getUploadFileURL','_sendingTimer','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_replayCachedMutations','onSendChangeset','_state','NOT_FOUND','not_collab','uploadFileServerUrl','_throwTelemetryCollaborationNewChangeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','close','_showConflictNotification','_roomCreated$','_key','compose','open$','_unlockTransition','_members','PY_RUNTIME_SCRIPT_ERROR','_checkMissing','decryptBlock','get','_clearHeartbeatTimer','iterations','fetchThroughInterceptors','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/block/','People','add','JOIN_ROOM_FAILED','_candidateSocket','HttpExport','_onCombEvent','LIVESHARE_OPERATION','ERROR_IMAGE','1569950XRAYwB','appendMutation','/role','mode','AES','unpad','enableOfflineEditing','Undefined','_decreaseWaiting','encodeURIComponent','PENDING','pad','_lockTransition','localCacheService','join','formatter','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/object/','[CollaborationUndoRedoService]','UNKNOWN_CODE','startTime','name','_transformStateCache','_transformSelections','members','href','image/jpg','state$','\x0aAfter:\x20','failed\x20to\x20apply\x20missed\x20changesets!','ALREADY_EXISTS','_onJoinRoomEvent','unitID','image/bmp','fetching\x20missing\x20changesets\x20from\x20','$super','randomUUID','WECHAT_HAS_BEEN_BOUND','_state$','LOGIN_URL_KEY','_tryReconnect','exports','_reverseMap','_userManagerService','AWAITING_WITH_PENDING','getTypeOfUnitDisposed$','offline','session.room-permission-denied','APPLY_REJECT','subject','getRandomValues','LOCAL_CACHE_INTERVAL','startsWith','_replaceFileID','\x0aCurrent:\x20','onSyncEditingCollabCursor','defineProperty','saveSheetBlock','has','mixIn','ERROR_IMAGE_TYPE','_substituteRedoStack','toString','_removeRoom','awaitingChangeset','NO_OTHER_CLIENTS_EDITING','_injector','_httpService','set','revision','_initMergeInterceptor','deepClone','target','deleteCollaborator','_awaitingChangeset','permissionRejEvent','complete','625316TNoxik','/collaborator','status$','c1Prime','13kVDBpn','_clearRetryConnectingTimer','stringify','updateOfflineData','create','_createHelper','saveImage','_createInitialStateImpl','APPLY_PERMISSION_DENIED','fetchMissingChangesets','_localeService','socket\x20open.','transformSelections','closeSession','/-/object/-/batch_allowed','collaboration-client.config','refreshPermission','parse','_getCurrentRevision','unit-cache-','mutations','data','kdf','finalize','online$','clamp','CBC','_registerDependencies','joinEvent','fromCharCode','requestParams','result','/universer-api/authz','collaborators','length','CHANGESET_REJ','change$','APPLY_NON_SEQUENTIAL_REVISION','_type'];_0x3017=function(){return _0x481cb1;};return _0x3017();}let de=class extends Ce{constructor(_0x25acc3,_0x4a702c,_0xc12533,_0x427525,_0x2b1d68,_0x3dfb8c,_0xcd8000,_0x57f577,_0x30ab05,_0x2713f7){var _0x2538a0=_0x52ec77;super(_0x25acc3,_0x4a702c,_0xc12533,_0x427525,_0x2b1d68,_0x57f577,_0x30ab05,_0xcd8000,_0x2713f7),N(this,'status',_0x2538a0(0x316)),this[_0x2538a0(0x32a)]=_0x3dfb8c;}[_0x52ec77(0x2e9)](_0xf3844e){var _0x5c5372=_0x52ec77;return this[_0x5c5372(0x480)][_0x5c5372(0x22b)](_0xf3844e),this[_0x5c5372(0x36b)](),this;}['onRemoteChangeset'](_0x351c76){var _0x25cbd3=_0x52ec77;throw new Error(_0x25cbd3(0x1ca));}['onRemoteAck'](){var _0x1b417e=_0x52ec77;throw new Error(_0x1b417e(0x4b3));}[_0x52ec77(0x298)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x52ec77(0x291)](){return this;}['toggleOffline'](){return this;}[_0x52ec77(0x209)](){var _0x3d5afb=_0x52ec77;const {_injector:_0x34b292,_pendingMutations:_0x3f99c2,_awaitingChangeset:_0x4ec7d4,unitID:_0xd1b779,_handler:_0x131765,type:_0x2d768a}=this,_0x200f0b=yi(_0x34b292,_0xd1b779,_0x2d768a,_0x4ec7d4,_0x3f99c2,_0x131765);return _0x200f0b instanceof ae?_0x200f0b[_0x3d5afb(0x37e)]():(_0x200f0b instanceof oe||_0x200f0b instanceof le)&&_0x200f0b[_0x3d5afb(0x3dc)](),_0x200f0b;}[_0x52ec77(0x3dc)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0xba0ecf(_0x8e3ca0)),P(0x6,_0xba0ecf(_0x3cc3c8)),P(0x7,_0x5481d1),P(0x8,_0x2fdb04),P(0x9,_0x7418f6(J))],de);let ee=class extends Ce{constructor(_0x567313,_0x40f3f8,_0xb71f67,_0x33c020,_0x592ab8,_0x1e4cfa,_0x548fa3,_0x489ce5,_0x101b7e,_0x2760af,_0x4cb00e,_0x114cbc,_0x4184df,_0x25be0a){var _0xdb62f4=_0x52ec77;super(_0x567313,_0x40f3f8,_0xb71f67,_0x33c020,_0x548fa3,_0x4cb00e,_0x114cbc,_0x101b7e,_0x25be0a),N(this,_0xdb62f4(0x427),_0xdb62f4(0x1d1)),(this[_0xdb62f4(0x1bc)]=_0x592ab8,this[_0xdb62f4(0x3d9)]=_0x1e4cfa,this['_injector']=_0x489ce5,this[_0xdb62f4(0x45f)]=_0x2760af,this[_0xdb62f4(0x1dd)]=_0x4184df,this[_0xdb62f4(0x2f5)]=_0x25be0a);}[_0x52ec77(0x267)](_0x38889e){var _0x346dd2=_0x52ec77;try{const _0x277e12=[..._0x38889e,...this[_0x346dd2(0x3d9)]],_0x3bf520=[this['_awaitingChangeset']||this[_0x346dd2(0x1bc)]][_0x346dd2(0x2a0)](_0x33ade6=>!!_0x33ade6);let _0x35ee00,_0xfe7597;if(_0x3bf520[_0x346dd2(0x35b)]){const _0x3ed5fb=this['_transformService'][_0x346dd2(0x4bc)](_0x277e12,_0x3bf520,!0x1);if(!_0x318f2c(_0x3ed5fb))throw _0x3ed5fb[_0x346dd2(0x49b)];_0x35ee00=_0x3ed5fb[_0x346dd2(0x338)],_0xfe7597=_0x3ed5fb[_0x346dd2(0x41e)];}else _0x35ee00=_0x277e12,_0xfe7597=[];let _0x583346=this[_0x346dd2(0x480)];_0x35ee00[_0x346dd2(0x1df)](_0x1dd6e0=>{var _0x488704=_0x346dd2;let _0x1d2108;if(_0x583346[_0x488704(0x35b)]){const _0x5501f2=this[_0x488704(0x1dd)][_0x488704(0x289)](_0x1dd6e0,_0x583346);if(!_0x2668b0(_0x5501f2))throw _0x5501f2['error'];_0x1d2108=_0x5501f2[_0x488704(0x338)],_0x583346=_0x5501f2['m2Prime'];}else _0x1d2108=_0x1dd6e0;this[_0x488704(0x45c)](_0x1d2108);}),this[_0x346dd2(0x1bc)]&&this[_0x346dd2(0x41b)](),this['_awaitingChangeset']&&_0xfe7597[_0x346dd2(0x35b)]&&(_0xfe7597[0x0]['baseRev']=this[_0x346dd2(0x34b)]());let _0x1bc920;if(this['_awaitingChangeset']&&_0x583346['length']!==0x0)_0x1bc920=this['_injector'][_0x346dd2(0x375)](oe,this[_0x346dd2(0x308)],this['type'],_0xfe7597[0x0],_0x583346,this[_0x346dd2(0x463)],void 0x0);else{if(this[_0x346dd2(0x332)]&&_0x583346[_0x346dd2(0x35b)]===0x0)_0xfe7597[0x0]['baseRev']=this[_0x346dd2(0x34b)](),_0x1bc920=this[_0x346dd2(0x32a)][_0x346dd2(0x375)](le,this[_0x346dd2(0x308)],this[_0x346dd2(0x3e5)],_0xfe7597[0x0],this['_handler']);else{if(_0x583346['length']!==0x0){const _0x3f9fac=this[_0x346dd2(0x32a)]['createInstance'](ae,this[_0x346dd2(0x308)],this[_0x346dd2(0x3e5)],_0x583346,this[_0x346dd2(0x463)]);_0x3f9fac['_schedule'](),_0x1bc920=_0x3f9fac;}else _0x1bc920=this['_injector'][_0x346dd2(0x375)](Ne,this['unitID'],this[_0x346dd2(0x3e5)],this[_0x346dd2(0x463)]);}}return _0x1bc920[_0x346dd2(0x36b)](),_0x1bc920;}catch(_0x11e3aa){return this['_logService'][_0x346dd2(0x49b)]('[FetchMissState]',_0x346dd2(0x305),_0x11e3aa),this[_0x346dd2(0x32a)][_0x346dd2(0x375)](ue,this[_0x346dd2(0x308)],this[_0x346dd2(0x3e5)],this[_0x346dd2(0x332)],this[_0x346dd2(0x480)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x52ec77(0x2e9)](_0x5028dd){var _0x28bc72=_0x52ec77;return this[_0x28bc72(0x480)][_0x28bc72(0x22b)](_0x5028dd),this;}['onRemoteChangeset'](_0x33147c){var _0x38af57=_0x52ec77;return this[_0x38af57(0x3d9)][_0x38af57(0x22b)](_0x33147c),this;}[_0x52ec77(0x251)](_0x33618b){var _0x376a8b=_0x52ec77;if(this['_awaitingChangeset'])return this[_0x376a8b(0x1bc)]=this[_0x376a8b(0x332)],this[_0x376a8b(0x332)]=null,this;throw new Error(_0x376a8b(0x2de));}[_0x52ec77(0x298)](_0x5f2ade){var _0x52f3cc=_0x52ec77;return this[_0x52f3cc(0x4a6)](!!(_0x5f2ade!=null&&_0x5f2ade['isPermissionRej']));}[_0x52ec77(0x291)](){return this;}['toggleOffline'](){var _0x117ede=_0x52ec77;return this[_0x117ede(0x32a)][_0x117ede(0x375)](de,this[_0x117ede(0x308)],this['type'],this[_0x117ede(0x332)],this[_0x117ede(0x480)],this[_0x117ede(0x463)]);}['toggleOnline'](){return this;}[_0x52ec77(0x4a6)](_0x3cc55b){var _0x3ea62b=_0x52ec77;return this[_0x3ea62b(0x32a)][_0x3ea62b(0x375)](ue,this['unitID'],this[_0x3ea62b(0x3e5)],this['_awaitingChangeset'],this[_0x3ea62b(0x480)],this['_handler'],_0x3cc55b);}};ee=Te([P(0x7,_0xba0ecf(_0x8e3ca0)),P(0x8,_0xba0ecf(_0x3cc3c8)),P(0x9,_0x9fbca6),P(0xa,_0x5481d1),P(0xb,_0x2fdb04),P(0xc,_0x106d03),P(0xd,_0x7418f6(J))],ee);function yi(_0x116338,_0x3d4290,_0x2e0837,_0x4d8953,_0x12cd51,_0x57adc6){var _0x515b4f=_0x52ec77;return _0x4d8953&&_0x12cd51[_0x515b4f(0x35b)]?_0x116338['createInstance'](oe,_0x3d4290,_0x2e0837,_0x4d8953,_0x12cd51,_0x57adc6,void 0x0):_0x4d8953?_0x116338['createInstance'](le,_0x3d4290,_0x2e0837,_0x4d8953,_0x57adc6):_0x12cd51['length']?_0x116338[_0x515b4f(0x375)](ae,_0x3d4290,_0x2e0837,_0x12cd51,_0x57adc6):_0x116338[_0x515b4f(0x375)](Ne,_0x3d4290,_0x2e0837,_0x57adc6);}var as=Object[_0x52ec77(0x2a4)],Lt=(_0x4c4005,_0x3919bb,_0x360217,_0x662ab4)=>{var _0x16bc52=_0x52ec77;for(var _0x44927d=_0x662ab4>0x1?void 0x0:_0x662ab4?as(_0x3919bb,_0x360217):_0x3919bb,_0x49c920=_0x4c4005[_0x16bc52(0x35b)]-0x1,_0x54af8e;_0x49c920>=0x0;_0x49c920--)(_0x54af8e=_0x4c4005[_0x49c920])&&(_0x44927d=_0x54af8e(_0x44927d)||_0x44927d);return _0x44927d;},H=(_0x582c3f,_0x3d6922)=>(_0xa5895d,_0x201bc5)=>_0x3d6922(_0xa5895d,_0x201bc5,_0x582c3f);let nt=class extends _0x3fa1f4{constructor(_0x3b267a,_0x9ab2c6,_0x16d591,_0x20f146,_0x3f0dd8,_0x32625d,_0x5694e0,_0xe1988c,_0xdabd5e,_0x26ca85,_0x57ec1e,_0x2947e9,_0x2055c6){var _0x2d4a74=_0x52ec77;super(),N(this,_0x2d4a74(0x30e),new _0x4340e3(null)),N(this,_0x2d4a74(0x303),this[_0x2d4a74(0x30e)][_0x2d4a74(0x3dd)]()),N(this,_0x2d4a74(0x2c9)),N(this,'_collaborationPaused',!0x1),N(this,_0x2d4a74(0x372),''),N(this,_0x2d4a74(0x37b),0x0),N(this,'status$',this[_0x2d4a74(0x303)][_0x2d4a74(0x3a9)](_0x45673e(_0xcceb84=>_0xcceb84?_0xcceb84['status']:bi[_0x2d4a74(0x3db)]),_0x4ceb21(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x2d4a74(0x308)]=_0x3b267a,this[_0x2d4a74(0x404)]=_0x9ab2c6,this[_0x2d4a74(0x35f)]=_0x16d591,this[_0x2d4a74(0x32a)]=_0x20f146,this[_0x2d4a74(0x4c1)]=_0x3f0dd8,this[_0x2d4a74(0x343)]=_0x32625d,this[_0x2d4a74(0x36d)]=_0x5694e0,this[_0x2d4a74(0x232)]=_0xe1988c,this[_0x2d4a74(0x45f)]=_0xdabd5e,this['_commandService']=_0x26ca85,this[_0x2d4a74(0x4bf)]=_0x57ec1e,this[_0x2d4a74(0x371)]=_0x2947e9,this['_localCacheService']=_0x2055c6);}get[_0x52ec77(0x4b8)](){var _0x147d00=_0x52ec77;return this[_0x147d00(0x2c9)];}async[_0x52ec77(0x465)](){var _0x25a800=_0x52ec77;if(this[_0x25a800(0x4b8)])throw new Error(_0x25a800(0x36f));await this['_init']();}[_0x52ec77(0x499)](){var _0x6a107=_0x52ec77;return this[_0x6a107(0x1e6)]=!0x0,_0x2d6dd4(()=>{var _0x11afdd=_0x6a107;this[_0x11afdd(0x1e6)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x438a24){var _0x1c3ccb=_0x52ec77;this[_0x1c3ccb(0x281)](_0x438a24);}[_0x52ec77(0x1ea)](_0x3fa26a){var _0x2ed1b7=_0x52ec77;this['_state']=_0x3fa26a,this[_0x2ed1b7(0x30e)][_0x2ed1b7(0x430)](_0x3fa26a);}async[_0x52ec77(0x37a)](){var _0x3dcdda=_0x52ec77,_0x4f4346;this[_0x3dcdda(0x1ea)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x4f4346=this[_0x3dcdda(0x371)])==null||_0x4f4346[_0x3dcdda(0x211)](this[_0x3dcdda(0x308)]),this['disposeWithMe'](this[_0x3dcdda(0x371)]['getUnitStatus$'](this[_0x3dcdda(0x308)])[_0x3dcdda(0x420)](_0xf72660=>{var _0x566fb3=_0x3dcdda;this[_0x566fb3(0x45f)][_0x566fb3(0x27a)](_0x566fb3(0x3d5),_0x566fb3(0x2bd),_0xf72660),_0xf72660===Ci['OTHER_CLIENTS_EDITING']?(this[_0x566fb3(0x232)]['emitEvent']({'id':re[_0x566fb3(0x3da)]}),this[_0x566fb3(0x4bf)]['updatePermissionPoint'](new _0x2805e7(this['unitID'])['id'],!0x1),this[_0x566fb3(0x4bf)]['setShowComponents'](!0x1)):(this[_0x566fb3(0x4bf)]['updatePermissionPoint'](new _0x2805e7(this['unitID'])['id'],!0x0),this[_0x566fb3(0x4bf)]['setShowComponents'](!0x0));})));let _0x4e6956=!0x1;return this[_0x3dcdda(0x43a)](this[_0x3dcdda(0x404)][_0x3dcdda(0x29d)]['subscribe'](_0x16d4e2=>{var _0x3e9d52=_0x3dcdda;_0x16d4e2===Ee['ONLINE']?this[_0x3e9d52(0x262)](_0x4e6956):_0x16d4e2===Ee[_0x3e9d52(0x3db)]&&(_0x4e6956=!0x0,this[_0x3e9d52(0x20f)]());})),this[_0x3dcdda(0x43a)](this[_0x3dcdda(0x404)][_0x3dcdda(0x41d)][_0x3dcdda(0x420)](_0x5686b8=>{var _0x71e6a3=_0x3dcdda;try{switch(_0x5686b8[_0x71e6a3(0x45d)]){case _0x3eeb59[_0x71e6a3(0x2af)]:{this[_0x71e6a3(0x394)](_0x114040(_0x5686b8['data']));break;}case _0x3eeb59[_0x71e6a3(0x3c0)]:{this[_0x71e6a3(0x2a3)](_0x5686b8[_0x71e6a3(0x34e)]);break;}case _0x3eeb59[_0x71e6a3(0x35c)]:{this[_0x71e6a3(0x1ec)]();break;}case _0x3eeb59['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5686b8[_0x71e6a3(0x34e)]);break;}case _0x3eeb59[_0x71e6a3(0x24b)]:{this[_0x71e6a3(0x1bf)](_0x5686b8[_0x71e6a3(0x34e)][_0x71e6a3(0x203)][_0x71e6a3(0x3e7)](_0x3e027c=>_0x114040(_0x3e027c)));break;}case _0x3eeb59[_0x71e6a3(0x1db)]:{this[_0x71e6a3(0x1ec)]({'isPermissionRej':!0x0});break;}case _0x3eeb59['UNISCRIPT_RUN']:break;}}catch(_0x5d76a2){throw console[_0x71e6a3(0x49b)](_0x71e6a3(0x20d),_0x5d76a2),_0x5d76a2;}})),this[_0x3dcdda(0x2c9)];}[_0x52ec77(0x2d5)](){this['_transitionLocked']=!0x1;}[_0x52ec77(0x2f4)](){var _0x23a0b8=_0x52ec77;if(this[_0x23a0b8(0x3e6)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x52ec77(0x281)](_0x3bdd23){var _0x544ffa=_0x52ec77;this[_0x544ffa(0x2f4)](),this[_0x544ffa(0x1ea)](this[_0x544ffa(0x2c9)]['appendMutation'](_0x3bdd23)),this[_0x544ffa(0x2d5)]();}[_0x52ec77(0x394)](_0x8a186a){var _0x33e8ae=_0x52ec77;if(!(_0x8a186a[_0x33e8ae(0x32d)]<=this[_0x33e8ae(0x36d)][_0x33e8ae(0x4b7)](this[_0x33e8ae(0x308)]))){if(this[_0x33e8ae(0x1e6)]){this[_0x33e8ae(0x45e)][_0x33e8ae(0x22b)](_0x8a186a);return;}this[_0x33e8ae(0x263)](_0x8a186a);}}['_exhaustRemoteChangesetQueue'](){var _0x2bc96e=_0x52ec77;this[_0x2bc96e(0x45e)][_0x2bc96e(0x1df)](_0x1701a4=>this[_0x2bc96e(0x263)](_0x1701a4)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x180101){var _0x514e38=_0x52ec77;const _0x29790e=this[_0x514e38(0x4c1)]['interceptor'][_0x514e38(0x2dd)](this[_0x514e38(0x4c1)][_0x514e38(0x492)][_0x514e38(0x484)]()[_0x514e38(0x453)])(_0x180101[_0x514e38(0x34d)],null)||_0x180101['mutations'],_0xb98baf={..._0x180101,'mutations':_0x29790e};this[_0x514e38(0x2f4)](),this[_0x514e38(0x1ea)](this['_state']['onRemoteChangeset'](_0xb98baf)),this[_0x514e38(0x2d5)]();}[_0x52ec77(0x2a3)](_0x5c550e){var _0x3fdfa4=_0x52ec77;this[_0x3fdfa4(0x2f4)](),this[_0x3fdfa4(0x1ea)](this['_state']['onRemoteAck'](_0x5c550e)),this[_0x3fdfa4(0x2d5)]();}['_onRemoteRejected'](_0x3913c5){var _0x3c9113=_0x52ec77;this[_0x3c9113(0x2f4)](),this['_updateState'](this[_0x3c9113(0x2c9)][_0x3c9113(0x298)](_0x3913c5)),this[_0x3c9113(0x2d5)]();}[_0x52ec77(0x3a2)](_0x19d507){var _0x454542=_0x52ec77;this[_0x454542(0x2f4)](),this[_0x454542(0x1ea)](this['_state'][_0x454542(0x291)](_0x19d507)),this[_0x454542(0x2d5)]();}[_0x52ec77(0x1bf)](_0x1d00a4){var _0x505d74=_0x52ec77;if(!(this['_state']instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x51d87c=_0x1d00a4[_0x505d74(0x3e7)](_0x2296da=>{var _0x22df9c=_0x505d74;const _0x488b51=this[_0x22df9c(0x4c1)][_0x22df9c(0x492)][_0x22df9c(0x2dd)](this['_compressMutationService'][_0x22df9c(0x492)][_0x22df9c(0x484)]()[_0x22df9c(0x453)])(_0x2296da['mutations'],null)||_0x2296da[_0x22df9c(0x34d)];return{..._0x2296da,'mutations':_0x488b51};});this[_0x505d74(0x2f4)](),this['_updateState'](this[_0x505d74(0x2c9)]['onMissedChangesetFetched'](_0x51d87c)),this['_unlockTransition']();}[_0x52ec77(0x20f)](){var _0x372f78=_0x52ec77;this[_0x372f78(0x2f4)](),this[_0x372f78(0x1ea)](this[_0x372f78(0x2c9)][_0x372f78(0x24f)]()),this[_0x372f78(0x2d5)]();}[_0x52ec77(0x262)](_0x9c171d=!0x1){var _0x26a5d7=_0x52ec77;this[_0x26a5d7(0x2f4)](),this['_updateState'](this[_0x26a5d7(0x2c9)][_0x26a5d7(0x209)]()),this[_0x26a5d7(0x2d5)]();const _0x469ede=this[_0x26a5d7(0x2c9)];_0x9c171d&&_0x469ede instanceof Ne&&(this[_0x26a5d7(0x2f4)](),this[_0x26a5d7(0x1ea)](_0x469ede[_0x26a5d7(0x3b4)]()),this[_0x26a5d7(0x2d5)]());}async['_createInitialState'](){return new Promise(_0x4940bc=>{var _0xae0a8d=_0x406d;this[_0xae0a8d(0x404)][_0xae0a8d(0x29d)][_0xae0a8d(0x3a9)](_0x42684f(0x1))['subscribe'](async _0x431db4=>{var _0x37f71b=_0xae0a8d;_0x4940bc(await this[_0x37f71b(0x340)](_0x431db4===Ee['ONLINE']));});});}[_0x52ec77(0x2a1)](){var _0x397d6f=_0x52ec77;const _0x81437f=this[_0x397d6f(0x308)];return{'onStateChange':(_0x55a262,_0x48bcf8)=>{var _0x4cb342=_0x397d6f;if(_0x55a262!==this[_0x4cb342(0x2c9)])throw new Error(_0x4cb342(0x424)+_0x55a262[_0x4cb342(0x427)]+_0x4cb342(0x304)+_0x48bcf8['status']+_0x4cb342(0x31e)+this[_0x4cb342(0x2c9)][_0x4cb342(0x427)]);this[_0x4cb342(0x1ea)](_0x48bcf8);},'onSendChangeset':_0x3f2b99=>{var _0x41ab06=_0x397d6f;_0x3f2b99[_0x41ab06(0x261)]||(_0x3f2b99[_0x41ab06(0x261)]=this[_0x41ab06(0x372)],_0x3f2b99['reqId']=++this[_0x41ab06(0x37b)]);const _0x552689={'eventID':_0x3eeb59[_0x41ab06(0x46e)],'data':{'unitID':_0x3f2b99['unitID'],'unitType':this[_0x41ab06(0x35f)],'changeset':_0x3f2b99,'memberID':this[_0x41ab06(0x404)][_0x41ab06(0x1b3)]()}};this['session']['send'](_0x552689,this[_0x41ab06(0x308)]);},'onMissingChangesets':({from:_0x4a6b80,to:_0x5715fe})=>{var _0x2e96e2=_0x397d6f;this[_0x2e96e2(0x45f)][_0x2e96e2(0x27a)](_0x2e96e2(0x3d5),_0x2e96e2(0x30a)+_0x4a6b80+_0x2e96e2(0x1c8)+_0x5715fe);const _0x5cfac3={'eventID':_0x3eeb59[_0x2e96e2(0x4a8)],'data':{'unitID':_0x81437f,'unitType':this[_0x2e96e2(0x35f)],'from':_0x4a6b80,'to':_0x5715fe}};this[_0x2e96e2(0x404)]['send'](_0x5cfac3,this[_0x2e96e2(0x308)]);}};}async[_0x52ec77(0x340)](_0x35c724){var _0x31ec4f=_0x52ec77,_0x438374,_0x4e802b,_0x675440;const _0x58a60b=await((_0x438374=this[_0x31ec4f(0x1fb)])==null?void 0x0:_0x438374[_0x31ec4f(0x48b)](this[_0x31ec4f(0x308)])),_0x5ef9c4=(_0x4e802b=_0x58a60b==null?void 0x0:_0x58a60b[_0x31ec4f(0x34d)])!=null?_0x4e802b:[],_0x382ee4=(_0x675440=_0x58a60b==null?void 0x0:_0x58a60b[_0x31ec4f(0x328)])!=null?_0x675440:null,_0x54357b=!!(_0x382ee4!=null&&_0x382ee4[_0x31ec4f(0x261)])&&!!(_0x382ee4!=null&&_0x382ee4[_0x31ec4f(0x47f)]);this[_0x31ec4f(0x372)]=_0x54357b?_0x382ee4['sid']:Zn(),this[_0x31ec4f(0x37b)]=_0x54357b?_0x382ee4[_0x31ec4f(0x47f)]:0x0;const _0xa2ba3e=this[_0x31ec4f(0x308)];try{this[_0x31ec4f(0x2c7)](_0x382ee4,_0x5ef9c4);}catch(_0x45bf1f){this[_0x31ec4f(0x45f)][_0x31ec4f(0x49b)](_0x45bf1f);}const _0x1a3b7f=this['_createHandler']();if(_0x35c724){const _0x1fd648=yi(this[_0x31ec4f(0x32a)],_0xa2ba3e,this['_type'],_0x382ee4,_0x5ef9c4,_0x1a3b7f);return _0x1fd648 instanceof ae?_0x1fd648[_0x31ec4f(0x37e)]():(_0x1fd648 instanceof oe||_0x1fd648 instanceof le)&&_0x1fd648[_0x31ec4f(0x3dc)](),_0x1fd648;}return this[_0x31ec4f(0x32a)]['createInstance'](de,_0xa2ba3e,this['_type'],_0x382ee4,_0x5ef9c4,_0x1a3b7f);}[_0x52ec77(0x2c7)](_0x38439e,_0x283dd7){var _0x12536e=_0x52ec77,_0x16690c,_0xd93831;const _0x249897=this[_0x12536e(0x4c1)][_0x12536e(0x492)]['fetchThroughInterceptors'](this[_0x12536e(0x4c1)][_0x12536e(0x492)][_0x12536e(0x484)]()[_0x12536e(0x453)]);(_0x16690c=_0x249897((_0x38439e==null?void 0x0:_0x38439e[_0x12536e(0x34d)])||[],null))==null||_0x16690c['forEach'](_0x53cd6e=>this[_0x12536e(0x415)]['executeCommand'](_0x53cd6e['id'],_0x53cd6e[_0x12536e(0x283)])),(_0xd93831=_0x249897(_0x283dd7||[],null))==null||_0xd93831[_0x12536e(0x1df)](_0x33ba93=>this[_0x12536e(0x415)][_0x12536e(0x4a0)](_0x33ba93['id'],_0x33ba93['params']));}};nt=Lt([H(0x3,_0xba0ecf(_0x8e3ca0)),H(0x4,_0xba0ecf(_0x25aff2)),H(0x5,_0xba0ecf(_0x335da4)),H(0x6,_0xba0ecf(_0x3cc3c8)),H(0x7,_0xba0ecf(pe)),H(0x8,_0x9fbca6),H(0x9,_0x5481d1),H(0xa,_0x206a87),H(0xb,_0x7418f6(ht)),H(0xc,_0x7418f6(J))],nt);let It=class extends nt{constructor(_0x273176,_0x14b66e,_0x28e1f0,_0x43dbe1,_0x49cb13,_0x443df9,_0x2a8ed2,_0x2b3807,_0x21bbe0,_0x26199d,_0x37c6f3,_0x4b8d56,_0x1a9493){var _0x4648e2=_0x52ec77;super(_0x273176,_0x28e1f0,_0x14b66e,_0x43dbe1,_0x49cb13,_0x443df9,_0x2a8ed2,_0x2b3807,_0x21bbe0,_0x26199d,_0x37c6f3,_0x4b8d56,_0x1a9493),N(this,_0x4648e2(0x2b0),null),(this[_0x4648e2(0x308)]=_0x273176,this['type']=_0x14b66e);}[_0x52ec77(0x202)](_0x3fbaa2){var _0x176f59=_0x52ec77;this[_0x176f59(0x2b0)]=_0x3fbaa2;}['dispose'](){var _0x16693f=_0x52ec77;this[_0x16693f(0x2b0)]=null,super['dispose']();}['_createHandler'](){var _0x213160=_0x52ec77;const _0x39b277=super[_0x213160(0x2a1)]();return _0x39b277[_0x213160(0x3ad)]=_0x2d9378=>{var _0x3e60e2=_0x213160,_0x5234de,_0x105b2a;return(_0x105b2a=(_0x5234de=this[_0x3e60e2(0x2b0)])==null?void 0x0:_0x5234de[_0x3e60e2(0x3ad)])==null?void 0x0:_0x105b2a['call'](_0x5234de,_0x2d9378);},_0x39b277[_0x213160(0x49e)]=_0x42a763=>{var _0x59dc7b=_0x213160,_0x187d48,_0x10bf32;return(_0x10bf32=(_0x187d48=this[_0x59dc7b(0x2b0)])==null?void 0x0:_0x187d48[_0x59dc7b(0x49e)])==null?void 0x0:_0x10bf32['call'](_0x187d48,_0x42a763);},_0x39b277['onTransformSelections']=_0x43a65c=>{var _0xd37874=_0x213160,_0xa4d4d7,_0x1b70d9;return(_0x1b70d9=(_0xa4d4d7=this['_handlerCallback'])==null?void 0x0:_0xa4d4d7[_0xd37874(0x1f0)])==null?void 0x0:_0x1b70d9[_0xd37874(0x239)](_0xa4d4d7,_0x43a65c);},_0x39b277['onSyncEditingCollabCursor']=_0x52f750=>{var _0x534a9e=_0x213160,_0x577d1e,_0x6d7f72;return(_0x6d7f72=(_0x577d1e=this[_0x534a9e(0x2b0)])==null?void 0x0:_0x577d1e[_0x534a9e(0x31f)])==null?void 0x0:_0x6d7f72[_0x534a9e(0x239)](_0x577d1e,_0x52f750);},_0x39b277[_0x213160(0x1e4)]=_0x39cc1c=>{var _0xd9b0fc=_0x213160,_0x65acf0,_0x5451,_0x2878d3;if(!((_0x65acf0=this[_0xd9b0fc(0x2b0)])!=null&&_0x65acf0[_0xd9b0fc(0x1e4)]))throw new Error(_0xd9b0fc(0x45a));return(_0x2878d3=(_0x5451=this[_0xd9b0fc(0x2b0)])==null?void 0x0:_0x5451['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2878d3[_0xd9b0fc(0x239)](_0x5451,_0x39cc1c);},_0x39b277[_0x213160(0x214)]=_0x1a9837=>{var _0x1490bc=_0x213160,_0x395694,_0x23fcb1,_0x56705c;if(!((_0x395694=this[_0x1490bc(0x2b0)])!=null&&_0x395694['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1490bc(0x3c4));return(_0x56705c=(_0x23fcb1=this['_handlerCallback'])==null?void 0x0:_0x23fcb1[_0x1490bc(0x214)])==null?void 0x0:_0x56705c[_0x1490bc(0x239)](_0x23fcb1,_0x1a9837);},_0x39b277;}async[_0x52ec77(0x37a)](){var _0x5031af=_0x52ec77;const _0x4d1d8b=await super['_init']();return this[_0x5031af(0x43a)](this[_0x5031af(0x415)][_0x5031af(0x439)]((_0x99940,_0x293d9b)=>{var _0x4a4db3=_0x5031af;if(_0x99940[_0x4a4db3(0x3e5)]!==_0x2a4448['MUTATION']||_0x293d9b!=null&&_0x293d9b[_0x4a4db3(0x46a)]||_0x293d9b!=null&&_0x293d9b[_0x4a4db3(0x44c)]||_0x99940['id']===_0x1614d7['id'])return;const _0x49c737=_0x99940[_0x4a4db3(0x283)];if((_0x49c737==null?void 0x0:_0x49c737['unitId'])!==this[_0x4a4db3(0x308)])return;const _0x241fab=_0x99940,_0x535ae0=this[_0x4a4db3(0x4c1)]['interceptor'][_0x4a4db3(0x2dd)](this[_0x4a4db3(0x4c1)]['interceptor'][_0x4a4db3(0x484)]()[_0x4a4db3(0x367)])([_0x241fab],null)||[_0x241fab];this[_0x4a4db3(0x281)](_0x535ae0[0x0]);})),_0x4d1d8b;}};It=Lt([H(0x3,_0xba0ecf(_0x8e3ca0)),H(0x4,_0xba0ecf(_0x25aff2)),H(0x5,_0xba0ecf(_0x335da4)),H(0x6,_0xba0ecf(_0x3cc3c8)),H(0x7,_0xba0ecf(pe)),H(0x8,_0x9fbca6),H(0x9,_0x5481d1),H(0xa,_0x206a87),H(0xb,_0x7418f6(ht)),H(0xc,_0x7418f6(J))],It);let Tt=class extends nt{constructor(_0x24e147,_0x3eaf3a,_0x2dca98,_0xbed78f,_0x2e3d9a,_0x17ce0a,_0x469740,_0x3d71ee,_0x11166f,_0x18fa03,_0x129611,_0x566bb8,_0x43f0ab,_0x13f127){var _0x50fd5a=_0x52ec77;super(_0x24e147,_0x2dca98,_0x3eaf3a,_0xbed78f,_0x2e3d9a,_0x17ce0a,_0x469740,_0x11166f,_0x18fa03,_0x129611,_0x566bb8,_0x43f0ab,_0x13f127),this[_0x50fd5a(0x308)]=_0x24e147,this[_0x50fd5a(0x3e5)]=_0x3eaf3a,this[_0x50fd5a(0x222)]=_0x3d71ee;}[_0x52ec77(0x2a1)](){var _0x2c1f1a=_0x52ec77;const _0x371594=super[_0x2c1f1a(0x2a1)]();return _0x371594[_0x2c1f1a(0x1f0)]=_0x56ca00=>this[_0x2c1f1a(0x222)][_0x2c1f1a(0x345)](_0x56ca00),_0x371594;}async['_init'](){var _0x1124a5=_0x52ec77;const _0x269748=await super['_init']();return this[_0x1124a5(0x43a)](this[_0x1124a5(0x415)][_0x1124a5(0x439)]((_0x3addde,_0x2b70ae)=>{var _0x5d0840=_0x1124a5;if(_0x3addde[_0x5d0840(0x3e5)]!==_0x2a4448['MUTATION']||_0x2b70ae!=null&&_0x2b70ae[_0x5d0840(0x46a)]||_0x2b70ae!=null&&_0x2b70ae[_0x5d0840(0x44c)])return;const _0x2b7d16=_0x3addde[_0x5d0840(0x283)];if((_0x2b7d16==null?void 0x0:_0x2b7d16[_0x5d0840(0x22c)])!==this['unitID'])return;const _0x30209a=_0x3addde,_0x222ff7=this[_0x5d0840(0x4c1)][_0x5d0840(0x492)][_0x5d0840(0x2dd)](this[_0x5d0840(0x4c1)][_0x5d0840(0x492)][_0x5d0840(0x484)]()[_0x5d0840(0x367)])([_0x30209a],null)||[_0x30209a];this['_onLocalMutation'](_0x222ff7[0x0]);})),_0x269748;}};Tt=Lt([H(0x3,_0xba0ecf(_0x8e3ca0)),H(0x4,_0xba0ecf(_0x25aff2)),H(0x5,_0xba0ecf(_0x335da4)),H(0x6,_0xba0ecf(_0x3cc3c8)),H(0x7,_0xba0ecf(it)),H(0x8,_0xba0ecf(pe)),H(0x9,_0x9fbca6),H(0xa,_0x5481d1),H(0xb,_0x206a87),H(0xc,_0x7418f6(ht)),H(0xd,_0x7418f6(J))],Tt);var os=Object[_0x52ec77(0x2a4)],cs=(_0xef793f,_0x3e6f76,_0x431647,_0x34790c)=>{for(var _0x13056b=_0x34790c>0x1?void 0x0:_0x34790c?os(_0x3e6f76,_0x431647):_0x3e6f76,_0x2b145a=_0xef793f['length']-0x1,_0x5dc394;_0x2b145a>=0x0;_0x2b145a--)(_0x5dc394=_0xef793f[_0x2b145a])&&(_0x13056b=_0x5dc394(_0x13056b)||_0x13056b);return _0x13056b;},ft=(_0x5a7d3e,_0x39c6c3)=>(_0x44d684,_0x3d31c4)=>_0x39c6c3(_0x44d684,_0x3d31c4,_0x5a7d3e);let st=class extends _0x3fa1f4{constructor(_0x2b4cfc,_0x4e3ba1,_0x260c4c){var _0x27a03b=_0x52ec77;super(),N(this,_0x27a03b(0x237),new Map()),N(this,'_entityInit$',new _0xa2c003()),N(this,_0x27a03b(0x390),this['_entityInit$'][_0x27a03b(0x3dd)]()),(this[_0x27a03b(0x32a)]=_0x2b4cfc,this[_0x27a03b(0x1cb)]=_0x4e3ba1,this[_0x27a03b(0x485)]=_0x260c4c,this[_0x27a03b(0x37a)]());}[_0x52ec77(0x1ce)](){var _0x216522=_0x52ec77;super[_0x216522(0x1ce)](),this[_0x216522(0x237)][_0x216522(0x1df)](_0x1360b2=>_0x1360b2['dispose']()),this[_0x216522(0x237)][_0x216522(0x38e)]();}[_0x52ec77(0x21c)](_0x247d1d){var _0xd6c929=_0x52ec77,_0x4071ff;return(_0x4071ff=this[_0xd6c929(0x237)]['get'](_0x247d1d))!=null?_0x4071ff:null;}[_0x52ec77(0x3ba)](_0x35392a){var _0x551936=_0x52ec77;const _0x4c1d89=this[_0x551936(0x21c)](_0x35392a);return _0x4c1d89?_0x12ec9c(_0x4c1d89):this[_0x551936(0x4bd)][_0x551936(0x3a9)](_0x23e992(_0x501f68=>_0x501f68[_0x551936(0x308)]===_0x35392a));}[_0x52ec77(0x48f)](_0x16a208){var _0x3aa761=_0x52ec77;return _0x5892d6(this[_0x3aa761(0x3ba)](_0x16a208)['pipe'](_0x45bba4(()=>{})));}[_0x52ec77(0x37a)](){var _0x3cb91c=_0x52ec77;this[_0x3cb91c(0x485)][_0x3cb91c(0x378)](_0x177373[_0x3cb91c(0x20b)])[_0x3cb91c(0x3a9)](_0x2933a0(this['dispose$']),_0x3b6c77(0x10))['subscribe'](async _0x308056=>{var _0x51dc0a=_0x3cb91c;const _0x31339c=_0x308056['getUnitId'](),_0x653b80=await this[_0x51dc0a(0x361)](_0x31339c,Q['UNIVER_SHEET']);this[_0x51dc0a(0x237)]['set'](_0x31339c,_0x653b80);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x177373['UNIVER_DOC'])[_0x3cb91c(0x3a9)](_0x2933a0(this['dispose$']),_0x3b6c77(0x10))['pipe'](_0x23e992(_0x18215a=>!_0x18215a[_0x3cb91c(0x38a)]()[_0x3cb91c(0x31c)]('__')))[_0x3cb91c(0x420)](async _0x1bcea5=>{var _0x414b95=_0x3cb91c;const _0x265d62=_0x1bcea5[_0x414b95(0x38a)](),_0x4dffa3=await this['_startCollaboration'](_0x265d62,Q[_0x414b95(0x2c0)]);this[_0x414b95(0x237)][_0x414b95(0x32c)](_0x265d62,_0x4dffa3);}),_0x87bfc3(this[_0x3cb91c(0x485)]['getTypeOfUnitDisposed$'](_0x177373['UNIVER_SHEET']),this[_0x3cb91c(0x485)][_0x3cb91c(0x315)](_0x177373['UNIVER_DOC']))['pipe'](_0x2933a0(this[_0x3cb91c(0x1e7)]))[_0x3cb91c(0x420)](_0x422284=>{var _0x137263=_0x3cb91c;const _0x491705=_0x422284['getUnitId'](),_0x399e0b=this[_0x137263(0x237)][_0x137263(0x2da)](_0x491705);_0x399e0b&&(_0x399e0b[_0x137263(0x1ce)](),this['_entities'][_0x137263(0x265)](_0x491705));});}async[_0x52ec77(0x361)](_0xac81ea,_0x18180d){var _0xca3fd2=_0x52ec77;const _0x303b81=await this[_0xca3fd2(0x1cb)][_0xca3fd2(0x47e)](_0xac81ea),_0x23032e=this[_0xca3fd2(0x32a)][_0xca3fd2(0x375)](this[_0xca3fd2(0x42e)](_0x18180d),_0xac81ea,_0x18180d,_0x303b81);return await _0x23032e[_0xca3fd2(0x465)](),this['_entityInit$'][_0xca3fd2(0x430)](_0x23032e),_0x23032e;}[_0x52ec77(0x42e)](_0x342a8d){var _0x36e0cf=_0x52ec77;switch(_0x342a8d){case Q['UNIVER_DOC']:return It;case Q[_0x36e0cf(0x20b)]:return Tt;default:throw new Error(_0x36e0cf(0x2c6)+_0x342a8d);}}};st=cs([ft(0x0,_0xba0ecf(_0x8e3ca0)),ft(0x1,_0xba0ecf(Me)),ft(0x2,_0x23b21c)],st);var hs=Object[_0x52ec77(0x2a4)],_s=(_0x348064,_0x2b52a7,_0x84fb39,_0x53c86d)=>{var _0x176add=_0x52ec77;for(var _0x50a5d9=_0x53c86d>0x1?void 0x0:_0x53c86d?hs(_0x2b52a7,_0x84fb39):_0x2b52a7,_0x385f7f=_0x348064[_0x176add(0x35b)]-0x1,_0x4d5f88;_0x385f7f>=0x0;_0x385f7f--)(_0x4d5f88=_0x348064[_0x385f7f])&&(_0x50a5d9=_0x4d5f88(_0x50a5d9)||_0x50a5d9);return _0x50a5d9;},zt=(_0x3ba605,_0x5008e5)=>(_0x465114,_0x578367)=>_0x5008e5(_0x465114,_0x578367,_0x3ba605);const ls='DEFAULT_FILE_NAME',us='Univer';let Ct=class extends _0x5f5a21{constructor(_0x10041d,_0x104e53){var _0x69953b=_0x52ec77;super(),this['_univerInstanceService']=_0x10041d,this[_0x69953b(0x3b0)]=_0x104e53,this[_0x69953b(0x37a)]();}[_0x52ec77(0x37a)](){var _0x29ec0a=_0x52ec77;this[_0x29ec0a(0x43a)](this[_0x29ec0a(0x485)][_0x29ec0a(0x1d4)][_0x29ec0a(0x420)](()=>{var _0x488211=_0x29ec0a,_0x18a4b8;const _0xd67669=this[_0x488211(0x485)][_0x488211(0x496)]();let _0x10532c=(_0x18a4b8=this[_0x488211(0x3b0)]['getConfig'](ls))!=null?_0x18a4b8:us;_0xd67669 instanceof _0x107137&&(_0x10532c=_0xd67669['name']),document[_0x488211(0x458)]=_0x10532c;}));}};Ct=_s([zt(0x0,_0x23b21c),zt(0x1,_0x88d960)],Ct);var ds=Object[_0x52ec77(0x2a4)],fs=(_0x1ff084,_0x3df293,_0x41c5d6,_0x14d2db)=>{for(var _0x2e0194=_0x14d2db>0x1?void 0x0:_0x14d2db?ds(_0x3df293,_0x41c5d6):_0x3df293,_0x20077b=_0x1ff084['length']-0x1,_0x30d2e6;_0x20077b>=0x0;_0x20077b--)(_0x30d2e6=_0x1ff084[_0x20077b])&&(_0x2e0194=_0x30d2e6(_0x2e0194)||_0x2e0194);return _0x2e0194;},vt=(_0x559b7e,_0x3fc13e)=>(_0x3e3297,_0x5b01c7)=>_0x3fc13e(_0x3e3297,_0x5b01c7,_0x559b7e);let rt=class{constructor(_0x1eb375,_0x3b6792,_0x56e201){var _0xb908db=_0x52ec77;this[_0xb908db(0x3b0)]=_0x1eb375,this['_httpService']=_0x3b6792,this['localeService']=_0x56e201,this[_0xb908db(0x465)]();}['init'](){var _0x256aa6=_0x52ec77;this[_0x256aa6(0x32b)][_0x256aa6(0x29e)]({'priority':0x1,'interceptor':(_0x4339a8,_0x3f66f9)=>_0x3f66f9(_0x4339a8)['pipe'](_0x466c2d(async _0x5c7ea4=>{var _0x406d0b=_0x256aa6;const _0x7e8874=_0x5c7ea4;if(_0x7e8874['status']===0x191){if(typeof window>'u')throw new Error(_0x406d0b(0x47c));if(window[_0x406d0b(0x445)](this[_0x406d0b(0x236)]['t'](_0x406d0b(0x4b6)))){const _0x323d88=window[_0x406d0b(0x2f1)](window[_0x406d0b(0x4b1)]['href']);window[_0x406d0b(0x4b1)][_0x406d0b(0x301)]=this['_getLoginPath']()+'?url='+_0x323d88;}}return _0x7e8874;}))});}['_getLoginPath'](){var _0x4331f4=_0x52ec77,_0x462b63,_0x5ea36a;const _0x5fa512=this['_configService'][_0x4331f4(0x3f9)](Un),_0x179a59=this[_0x4331f4(0x3b0)][_0x4331f4(0x3f9)](q);return(_0x5ea36a=(_0x462b63=_0x179a59==null?void 0x0:_0x179a59[_0x4331f4(0x1c3)])!=null?_0x462b63:_0x5fa512)!=null?_0x5ea36a:An;}};rt=fs([vt(0x0,_0x88d960),vt(0x1,_0xba0ecf(_0x540523)),vt(0x2,_0xba0ecf(_0x335da4))],rt);var vs=Object[_0x52ec77(0x2a4)],ps=(_0x34fc16,_0x39f725,_0x28ebba,_0x1fec12)=>{var _0x4ad665=_0x52ec77;for(var _0x2dbbb1=_0x1fec12>0x1?void 0x0:_0x1fec12?vs(_0x39f725,_0x28ebba):_0x39f725,_0x8e7f09=_0x34fc16[_0x4ad665(0x35b)]-0x1,_0x43a2c3;_0x8e7f09>=0x0;_0x8e7f09--)(_0x43a2c3=_0x34fc16[_0x8e7f09])&&(_0x2dbbb1=_0x43a2c3(_0x2dbbb1)||_0x2dbbb1);return _0x2dbbb1;},Jt=(_0x10a69f,_0x66ba04)=>(_0x3eb8dc,_0x44d2ee)=>_0x66ba04(_0x3eb8dc,_0x44d2ee,_0x10a69f);const Ni=_0x52ec77(0x457),ms=_0x52ec77(0x359);let Rt=class extends _0x5f5a21{constructor(_0x146d52,_0xca7a15){var _0x1ba330=_0x52ec77;super(),this['_HTTPService']=_0x146d52,this[_0x1ba330(0x3b0)]=_0xca7a15,this[_0x1ba330(0x32e)]();}[_0x52ec77(0x32e)](){var _0xcbde0d=_0x52ec77;const _0x3988e4=this;this['disposeWithMe'](this[_0xcbde0d(0x468)][_0xcbde0d(0x29e)]({'priority':0x3e7,'interceptor':_0x57fbc8({'isMatch'(_0x586bad){var _0x6ae440=_0xcbde0d,_0x5c40ac;if(_0x586bad[_0x6ae440(0x473)]===_0x6ae440(0x242)&&((_0x5c40ac=_0x586bad[_0x6ae440(0x357)])!=null&&_0x5c40ac[_0x6ae440(0x4b9)])){const {objectID:_0x953270,objectType:_0x16c48e}=_0x586bad['requestParams'][_0x6ae440(0x4b9)]||{};if(!_0x953270||_0x16c48e===void 0x0)return!0x1;const _0x5b7057=_0x3988e4[_0x6ae440(0x487)]()+'/'+_0x16c48e+_0x6ae440(0x2f9)+_0x953270+_0x6ae440(0x233);if(_0x586bad[_0x6ae440(0x474)]===_0x5b7057)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bd768){var _0xe74849=_0xcbde0d,_0x2c46fe;return(_0x2c46fe=_0x1bd768[_0xe74849(0x357)])==null?void 0x0:_0x2c46fe[_0xe74849(0x4b9)];},'mergeParamsToRequest'(_0x29ca84,_0x10b933){var _0x42f40a=_0xcbde0d;const _0x5a534d=_0x3988e4[_0x42f40a(0x487)]()+_0x42f40a(0x347),_0x4632b=_0x29ca84[_0x42f40a(0x3f7)]((_0x14c918,_0x41822a)=>{var _0x51ca6e=_0x42f40a;const {unitID:_0x1da1d7,objectID:_0x2a2888,objectType:_0x14a5dd,actions:_0x273513}=_0x41822a;return _0x14c918[_0x1da1d7]||(_0x14c918[_0x1da1d7]={}),_0x14c918[_0x1da1d7][_0x2a2888]||(_0x14c918[_0x1da1d7][_0x2a2888]={'objectID':_0x2a2888,'objectType':_0x14a5dd,'actions':[]}),_0x14c918[_0x1da1d7][_0x2a2888][_0x51ca6e(0x3c3)]['push'](..._0x273513),_0x14c918;},{}),_0x391753=[];for(const _0x37eaf5 in _0x4632b)for(const _0x1f805d in _0x4632b[_0x37eaf5]){const {actions:_0x482ebc,objectType:_0x1c124e}=_0x4632b[_0x37eaf5][_0x1f805d],_0x3d905f=[...new Set(_0x482ebc)];_0x391753['push']({'unitID':_0x37eaf5,'objectID':_0x1f805d,'objectType':_0x1c124e,'actions':_0x3d905f});}return new _0x51ed8a(_0x42f40a(0x242),_0x5a534d,{'headers':_0x10b933[_0x42f40a(0x1f4)],'withCredentials':_0x10b933['withCredentials'],'responseType':_0x10b933[_0x42f40a(0x2b5)],'body':{'requests':_0x391753}});}},{'distributeResult'(_0xc8a8dc,_0x57021a){var _0x1bf038=_0xcbde0d;const {objectActions:_0x5bf653}=_0xc8a8dc;return _0x57021a[_0x1bf038(0x3e7)](_0x4d0900=>{var _0x57bfd2=_0x1bf038;const {unitID:_0x529548,objectID:_0x51f81d,actions:_0x19b272}=_0x4d0900,_0x3300d6=_0x5bf653[_0x57bfd2(0x402)](_0x369e9b=>_0x369e9b['unitID']===_0x529548&&_0x369e9b[_0x57bfd2(0x22a)]===_0x51f81d),_0x1bd0d9=_0x19b272[_0x57bfd2(0x3e7)](_0x29bd0f=>_0x3300d6==null?void 0x0:_0x3300d6[_0x57bfd2(0x3c3)][_0x57bfd2(0x402)](_0x15fa07=>_0x15fa07['action']===_0x29bd0f))[_0x57bfd2(0x2a0)](_0x33c1d6=>!!_0x33c1d6);return{'config':_0x4d0900,'result':{'actions':_0x1bd0d9,'error':_0xc8a8dc['error']}};});}})}));}[_0x52ec77(0x487)](){var _0x4d9cc2=_0x52ec77,_0x52e7aa,_0x23d856;const _0x36b73b=this[_0x4d9cc2(0x3b0)][_0x4d9cc2(0x3f9)](Ni),_0x44bfc0=this[_0x4d9cc2(0x3b0)]['getConfig'](q);return(_0x23d856=(_0x52e7aa=_0x44bfc0==null?void 0x0:_0x44bfc0[_0x4d9cc2(0x255)])!=null?_0x52e7aa:_0x36b73b)!=null?_0x23d856:ms;}async[_0x52ec77(0x33d)](_0x44c802){var _0x197a02=_0x52ec77;const _0x64f023=this['_getAPIPrefixPath']()+'/'+_0x44c802['objectType']+'/object';return(await this[_0x197a02(0x468)][_0x197a02(0x27b)](_0x64f023,{'body':_0x44c802}))['body'][_0x197a02(0x22a)]||'';}async[_0x52ec77(0x1b5)](_0x21760f){var _0x4cc297=_0x52ec77;const _0x28e516=this[_0x4cc297(0x487)]()+_0x4cc297(0x28c);return(await this[_0x4cc297(0x468)]['post'](_0x28e516,{'body':_0x21760f}))[_0x4cc297(0x4b9)][_0x4cc297(0x23b)];}async[_0x52ec77(0x26a)](_0x1d4c9c){var _0x17ffab=_0x52ec77,_0x359383,_0x3868b0;const _0x1cb402=this['_getAPIPrefixPath']()+'/'+_0x1d4c9c['objectType']+_0x17ffab(0x2f9)+_0x1d4c9c[_0x17ffab(0x22a)],_0x46718c=await this[_0x17ffab(0x468)][_0x17ffab(0x37d)](_0x1cb402,{'body':_0x1d4c9c});if(((_0x3868b0=(_0x359383=_0x46718c==null?void 0x0:_0x46718c['body'])==null?void 0x0:_0x359383[_0x17ffab(0x49b)])==null?void 0x0:_0x3868b0[_0x17ffab(0x48e)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x52ec77(0x3e3)](_0xe6e784){var _0x2deeef=_0x52ec77;const _0x5c032b=this['_getAPIPrefixPath']()+'/'+_0xe6e784[_0x2deeef(0x212)]+_0x2deeef(0x2f9)+_0xe6e784['objectID']+'/allowed';return(await this[_0x2deeef(0x468)]['post'](_0x5c032b,{'body':_0xe6e784}))['body'][_0x2deeef(0x3c3)];}async[_0x52ec77(0x208)](_0x4e69d1){var _0x3158b0=_0x52ec77;const _0x36a223=this[_0x3158b0(0x487)]()+'/-/object/-/batch_allowed';return(await this[_0x3158b0(0x468)][_0x3158b0(0x27b)](_0x36a223,{'body':{'requests':_0x4e69d1}}))['body'][_0x3158b0(0x3b2)];}async[_0x52ec77(0x20c)](_0x1965ba){var _0x11707f=_0x52ec77;const _0x2521b5=this[_0x11707f(0x487)]()+'/'+_0x1965ba[_0x11707f(0x212)]+_0x11707f(0x2ea),_0x4d3830=await this[_0x11707f(0x468)][_0x11707f(0x27b)](_0x2521b5,{'body':_0x1965ba});return{'roles':_0x4d3830['body']['roles'],'actions':_0x4d3830[_0x11707f(0x4b9)]['actions']};}async[_0x52ec77(0x331)](_0x2aa6d6){var _0xaf1aaf=_0x52ec77;const _0x4f6c9d=this[_0xaf1aaf(0x487)]()+'/collaborator';await this[_0xaf1aaf(0x468)][_0xaf1aaf(0x265)](_0x4f6c9d,{'params':{'collaboratorID':_0x2aa6d6[_0xaf1aaf(0x381)],'objectID':_0x2aa6d6[_0xaf1aaf(0x22a)],'unitID':_0x2aa6d6[_0xaf1aaf(0x308)]}});}async[_0x52ec77(0x4ab)](_0x5223c3){var _0x36a375=_0x52ec77;const _0x219bc7=this['_getAPIPrefixPath']()+_0x36a375(0x336);await this[_0x36a375(0x468)][_0x36a375(0x432)](_0x219bc7,{'body':_0x5223c3});}async['createCollaborator'](_0x2accff){var _0x4ed00d=_0x52ec77;const _0x3ba993=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4ed00d(0x468)][_0x4ed00d(0x27b)](_0x3ba993,{'body':_0x2accff});}async['listCollaborators'](_0x52d15b){var _0x3df729=_0x52ec77;const _0x43e316=this[_0x3df729(0x487)]()+_0x3df729(0x336);return(await this[_0x3df729(0x468)]['get'](_0x43e316,{'params':{'objectID':_0x52d15b[_0x3df729(0x22a)],'unitID':_0x52d15b[_0x3df729(0x308)]}}))[_0x3df729(0x4b9)][_0x3df729(0x35a)];}async[_0x52ec77(0x46b)](_0x489e7d){var _0x14eaa9=_0x52ec77;const _0x45e6a3=this['_getAPIPrefixPath']()+_0x14eaa9(0x336);await this[_0x14eaa9(0x468)][_0x14eaa9(0x37d)](_0x45e6a3,{'body':_0x489e7d});}};Rt=ps([Jt(0x0,_0xba0ecf(_0x540523)),Jt(0x1,_0xba0ecf(_0x88d960))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x5d7436){var _0x3c4612=_0x52ec77;return _0x5d7436&&_0x5d7436[_0x3c4612(0x28e)]&&Object[_0x3c4612(0x408)][_0x3c4612(0x2b9)]['call'](_0x5d7436,_0x3c4612(0x287))?_0x5d7436[_0x3c4612(0x287)]:_0x5d7436;}var Ve={'exports':{}};function gs(_0x16fd75){var _0x1304f=_0x52ec77;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x16fd75+_0x1304f(0x3cd));}var Ge={'exports':{}},Ss=Ge[_0x52ec77(0x311)],Xt;function ie(){var _0x20a0c3=_0x52ec77;return Xt||(Xt=0x1,function(_0x18debc,_0x1fcd42){(function(_0x4f4aca,_0x36b555){var _0x327542=_0x406d;_0x18debc[_0x327542(0x311)]=_0x36b555();}(Ss,function(){var _0x313edd=_0x313edd||function(_0x490fbf,_0x42ee4d){var _0x49a245=_0x406d,_0x4a7e27;if(typeof window<'u'&&window['crypto']&&(_0x4a7e27=window[_0x49a245(0x216)]),typeof self<'u'&&self['crypto']&&(_0x4a7e27=self[_0x49a245(0x216)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4a7e27=globalThis['crypto']),!_0x4a7e27&&typeof window<'u'&&window['msCrypto']&&(_0x4a7e27=window['msCrypto']),!_0x4a7e27&&typeof pt<'u'&&pt[_0x49a245(0x216)]&&(_0x4a7e27=pt[_0x49a245(0x216)]),!_0x4a7e27&&typeof gs==_0x49a245(0x4a2))try{_0x4a7e27=require('crypto');}catch{}var _0x5ac99c=function(){var _0x2c0a14=_0x49a245;if(_0x4a7e27){if(typeof _0x4a7e27[_0x2c0a14(0x31a)]=='function')try{return _0x4a7e27[_0x2c0a14(0x31a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a7e27[_0x2c0a14(0x2a5)]==_0x2c0a14(0x4a2))try{return _0x4a7e27[_0x2c0a14(0x2a5)](0x4)[_0x2c0a14(0x252)]();}catch{}}throw new Error(_0x2c0a14(0x4ba));},_0x3f18f8=Object[_0x49a245(0x33d)]||(function(){function _0x6073f0(){}return function(_0xc1e77f){var _0x577125=_0x406d,_0x2da6b7;return _0x6073f0[_0x577125(0x408)]=_0xc1e77f,_0x2da6b7=new _0x6073f0(),_0x6073f0[_0x577125(0x408)]=null,_0x2da6b7;};}()),_0x16f95a={},_0x125864=_0x16f95a[_0x49a245(0x396)]={},_0x12c0f7=_0x125864[_0x49a245(0x413)]=(function(){return{'extend':function(_0x2dcbb6){var _0x26ed2f=_0x406d,_0x348654=_0x3f18f8(this);return _0x2dcbb6&&_0x348654[_0x26ed2f(0x323)](_0x2dcbb6),(!_0x348654['hasOwnProperty'](_0x26ed2f(0x465))||this[_0x26ed2f(0x465)]===_0x348654['init'])&&(_0x348654[_0x26ed2f(0x465)]=function(){var _0x21f9a3=_0x26ed2f;_0x348654['$super'][_0x21f9a3(0x465)][_0x21f9a3(0x3c7)](this,arguments);}),_0x348654[_0x26ed2f(0x465)][_0x26ed2f(0x408)]=_0x348654,_0x348654[_0x26ed2f(0x30b)]=this,_0x348654;},'create':function(){var _0x599532=_0x406d,_0x3fc2a2=this['extend']();return _0x3fc2a2[_0x599532(0x465)][_0x599532(0x3c7)](_0x3fc2a2,arguments),_0x3fc2a2;},'init':function(){},'mixIn':function(_0x149d2c){var _0x381426=_0x406d;for(var _0x30f3c2 in _0x149d2c)_0x149d2c[_0x381426(0x2b9)](_0x30f3c2)&&(this[_0x30f3c2]=_0x149d2c[_0x30f3c2]);_0x149d2c[_0x381426(0x2b9)](_0x381426(0x326))&&(this[_0x381426(0x326)]=_0x149d2c[_0x381426(0x326)]);},'clone':function(){var _0x2936bf=_0x406d;return this[_0x2936bf(0x465)]['prototype']['extend'](this);}};}()),_0x2ac1c5=_0x125864['WordArray']=_0x12c0f7['extend']({'init':function(_0x4b5ca9,_0x373941){var _0x588a59=_0x49a245;_0x4b5ca9=this[_0x588a59(0x3cb)]=_0x4b5ca9||[],_0x373941!=_0x42ee4d?this['sigBytes']=_0x373941:this[_0x588a59(0x290)]=_0x4b5ca9[_0x588a59(0x35b)]*0x4;},'toString':function(_0x5903b9){var _0x4fee45=_0x49a245;return(_0x5903b9||_0x21a037)[_0x4fee45(0x33b)](this);},'concat':function(_0x3b4b39){var _0xbafad0=_0x49a245,_0x449efc=this['words'],_0x3706a6=_0x3b4b39[_0xbafad0(0x3cb)],_0xd8eee4=this[_0xbafad0(0x290)],_0x1b0ba8=_0x3b4b39[_0xbafad0(0x290)];if(this[_0xbafad0(0x352)](),_0xd8eee4%0x4)for(var _0x429d27=0x0;_0x429d27<_0x1b0ba8;_0x429d27++){var _0x5e653c=_0x3706a6[_0x429d27>>>0x2]>>>0x18-_0x429d27%0x4*0x8&0xff;_0x449efc[_0xd8eee4+_0x429d27>>>0x2]|=_0x5e653c<<0x18-(_0xd8eee4+_0x429d27)%0x4*0x8;}else{for(var _0x435711=0x0;_0x435711<_0x1b0ba8;_0x435711+=0x4)_0x449efc[_0xd8eee4+_0x435711>>>0x2]=_0x3706a6[_0x435711>>>0x2];}return this[_0xbafad0(0x290)]+=_0x1b0ba8,this;},'clamp':function(){var _0x54b8a3=_0x49a245,_0x4b8878=this['words'],_0x3e3f95=this[_0x54b8a3(0x290)];_0x4b8878[_0x3e3f95>>>0x2]&=0xffffffff<<0x20-_0x3e3f95%0x4*0x8,_0x4b8878[_0x54b8a3(0x35b)]=_0x490fbf[_0x54b8a3(0x25e)](_0x3e3f95/0x4);},'clone':function(){var _0x57f18d=_0x49a245,_0x332c24=_0x12c0f7[_0x57f18d(0x370)]['call'](this);return _0x332c24[_0x57f18d(0x3cb)]=this['words']['slice'](0x0),_0x332c24;},'random':function(_0x14635b){var _0x45931c=_0x49a245;for(var _0x18f97f=[],_0x13679c=0x0;_0x13679c<_0x14635b;_0x13679c+=0x4)_0x18f97f[_0x45931c(0x22b)](_0x5ac99c());return new _0x2ac1c5['init'](_0x18f97f,_0x14635b);}}),_0x7c63ee=_0x16f95a[_0x49a245(0x40b)]={},_0x21a037=_0x7c63ee[_0x49a245(0x455)]={'stringify':function(_0x33f5c6){var _0x19216e=_0x49a245;for(var _0x108c4a=_0x33f5c6[_0x19216e(0x3cb)],_0x37ae88=_0x33f5c6[_0x19216e(0x290)],_0x469955=[],_0x553934=0x0;_0x553934<_0x37ae88;_0x553934++){var _0x2a99c0=_0x108c4a[_0x553934>>>0x2]>>>0x18-_0x553934%0x4*0x8&0xff;_0x469955[_0x19216e(0x22b)]((_0x2a99c0>>>0x4)[_0x19216e(0x326)](0x10)),_0x469955['push']((_0x2a99c0&0xf)['toString'](0x10));}return _0x469955[_0x19216e(0x2f6)]('');},'parse':function(_0x5439fc){var _0x11d06c=_0x49a245;for(var _0x8dcfb5=_0x5439fc['length'],_0x39206e=[],_0x47d1e9=0x0;_0x47d1e9<_0x8dcfb5;_0x47d1e9+=0x2)_0x39206e[_0x47d1e9>>>0x3]|=parseInt(_0x5439fc[_0x11d06c(0x2aa)](_0x47d1e9,0x2),0x10)<<0x18-_0x47d1e9%0x8*0x4;return new _0x2ac1c5[(_0x11d06c(0x465))](_0x39206e,_0x8dcfb5/0x2);}},_0x4fce41=_0x7c63ee[_0x49a245(0x39a)]={'stringify':function(_0x1e60c7){var _0x1068ae=_0x49a245;for(var _0x382b7a=_0x1e60c7[_0x1068ae(0x3cb)],_0x532e31=_0x1e60c7['sigBytes'],_0x54e3ff=[],_0x5c0d6c=0x0;_0x5c0d6c<_0x532e31;_0x5c0d6c++){var _0x83a13e=_0x382b7a[_0x5c0d6c>>>0x2]>>>0x18-_0x5c0d6c%0x4*0x8&0xff;_0x54e3ff[_0x1068ae(0x22b)](String[_0x1068ae(0x356)](_0x83a13e));}return _0x54e3ff[_0x1068ae(0x2f6)]('');},'parse':function(_0x3e7012){var _0x3bbec3=_0x49a245;for(var _0x4b1895=_0x3e7012[_0x3bbec3(0x35b)],_0x48781f=[],_0x40f717=0x0;_0x40f717<_0x4b1895;_0x40f717++)_0x48781f[_0x40f717>>>0x2]|=(_0x3e7012[_0x3bbec3(0x278)](_0x40f717)&0xff)<<0x18-_0x40f717%0x4*0x8;return new _0x2ac1c5[(_0x3bbec3(0x465))](_0x48781f,_0x4b1895);}},_0x229e58=_0x7c63ee[_0x49a245(0x234)]={'stringify':function(_0x36fa19){var _0x582086=_0x49a245;try{return decodeURIComponent(escape(_0x4fce41['stringify'](_0x36fa19)));}catch{throw new Error(_0x582086(0x1eb));}},'parse':function(_0x4271fb){var _0x136819=_0x49a245;return _0x4fce41[_0x136819(0x34a)](unescape(encodeURIComponent(_0x4271fb)));}},_0x1c6873=_0x125864[_0x49a245(0x49a)]=_0x12c0f7[_0x49a245(0x3ae)]({'reset':function(){var _0x34d0ee=_0x49a245;this['_data']=new _0x2ac1c5[(_0x34d0ee(0x465))](),this[_0x34d0ee(0x41f)]=0x0;},'_append':function(_0x4c19a2){var _0x9b7e8c=_0x49a245;typeof _0x4c19a2=='string'&&(_0x4c19a2=_0x229e58[_0x9b7e8c(0x34a)](_0x4c19a2)),this[_0x9b7e8c(0x3c2)][_0x9b7e8c(0x1f6)](_0x4c19a2),this[_0x9b7e8c(0x41f)]+=_0x4c19a2[_0x9b7e8c(0x290)];},'_process':function(_0x419722){var _0x1bcbcf=_0x49a245,_0x46257c,_0x4bcf83=this[_0x1bcbcf(0x3c2)],_0x255377=_0x4bcf83[_0x1bcbcf(0x3cb)],_0x150e91=_0x4bcf83[_0x1bcbcf(0x290)],_0x1b48a6=this[_0x1bcbcf(0x495)],_0x4f6012=_0x1b48a6*0x4,_0x58617a=_0x150e91/_0x4f6012;_0x419722?_0x58617a=_0x490fbf['ceil'](_0x58617a):_0x58617a=_0x490fbf[_0x1bcbcf(0x24e)]((_0x58617a|0x0)-this[_0x1bcbcf(0x37f)],0x0);var _0x7a81b9=_0x58617a*_0x1b48a6,_0x335702=_0x490fbf[_0x1bcbcf(0x293)](_0x7a81b9*0x4,_0x150e91);if(_0x7a81b9){for(var _0x49172=0x0;_0x49172<_0x7a81b9;_0x49172+=_0x1b48a6)this['_doProcessBlock'](_0x255377,_0x49172);_0x46257c=_0x255377[_0x1bcbcf(0x400)](0x0,_0x7a81b9),_0x4bcf83[_0x1bcbcf(0x290)]-=_0x335702;}return new _0x2ac1c5[(_0x1bcbcf(0x465))](_0x46257c,_0x335702);},'clone':function(){var _0x1d6b44=_0x49a245,_0x189f4e=_0x12c0f7['clone'][_0x1d6b44(0x239)](this);return _0x189f4e[_0x1d6b44(0x3c2)]=this[_0x1d6b44(0x3c2)][_0x1d6b44(0x370)](),_0x189f4e;},'_minBufferSize':0x0});_0x125864[_0x49a245(0x456)]=_0x1c6873[_0x49a245(0x3ae)]({'cfg':_0x12c0f7[_0x49a245(0x3ae)](),'init':function(_0x424bfa){var _0x4407a8=_0x49a245;this[_0x4407a8(0x447)]=this['cfg']['extend'](_0x424bfa),this[_0x4407a8(0x253)]();},'reset':function(){var _0xab4ec3=_0x49a245;_0x1c6873[_0xab4ec3(0x253)][_0xab4ec3(0x239)](this),this['_doReset']();},'update':function(_0x3dc42f){var _0x8e9e2b=_0x49a245;return this['_append'](_0x3dc42f),this[_0x8e9e2b(0x2b7)](),this;},'finalize':function(_0x201d2e){var _0x1f30e2=_0x49a245;_0x201d2e&&this[_0x1f30e2(0x28f)](_0x201d2e);var _0x42d450=this[_0x1f30e2(0x2a2)]();return _0x42d450;},'blockSize':0x10,'_createHelper':function(_0x281c5d){return function(_0x183841,_0x5c14ae){var _0x4a7512=_0x406d;return new _0x281c5d[(_0x4a7512(0x465))](_0x5c14ae)[_0x4a7512(0x350)](_0x183841);};},'_createHmacHelper':function(_0x42af0d){return function(_0x2bac68,_0xb5b0a0){var _0x4dc424=_0x406d;return new _0x30a49b[(_0x4dc424(0x20a))]['init'](_0x42af0d,_0xb5b0a0)['finalize'](_0x2bac68);};}});var _0x30a49b=_0x16f95a[_0x49a245(0x1b4)]={};return _0x16f95a;}(Math);return _0x313edd;}));}(Ge)),Ge[_0x20a0c3(0x311)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0x57df23,_0x475ac3){(function(_0x8a2158,_0x5a81d3){var _0x13923c=_0x406d;_0x57df23[_0x13923c(0x311)]=_0x5a81d3(ie());}(Es,function(_0x231231){var _0x58e73b=_0x406d;return(function(){var _0x38cc1a=_0x406d,_0x5b9390=_0x231231,_0x5a9ea3=_0x5b9390[_0x38cc1a(0x396)],_0x568b18=_0x5a9ea3['WordArray'],_0x387a09=_0x5b9390['enc'];_0x387a09[_0x38cc1a(0x3ac)]={'stringify':function(_0x2ff3e8){var _0x326272=_0x38cc1a,_0x1b3cea=_0x2ff3e8[_0x326272(0x3cb)],_0x20aa88=_0x2ff3e8[_0x326272(0x290)],_0x130229=this['_map'];_0x2ff3e8['clamp']();for(var _0x1a18b4=[],_0x1c79df=0x0;_0x1c79df<_0x20aa88;_0x1c79df+=0x3)for(var _0x3efebf=_0x1b3cea[_0x1c79df>>>0x2]>>>0x18-_0x1c79df%0x4*0x8&0xff,_0x5e6719=_0x1b3cea[_0x1c79df+0x1>>>0x2]>>>0x18-(_0x1c79df+0x1)%0x4*0x8&0xff,_0x12fd45=_0x1b3cea[_0x1c79df+0x2>>>0x2]>>>0x18-(_0x1c79df+0x2)%0x4*0x8&0xff,_0x17f3ef=_0x3efebf<<0x10|_0x5e6719<<0x8|_0x12fd45,_0x213f6d=0x0;_0x213f6d<0x4&&_0x1c79df+_0x213f6d*0.75<_0x20aa88;_0x213f6d++)_0x1a18b4[_0x326272(0x22b)](_0x130229[_0x326272(0x4af)](_0x17f3ef>>>0x6*(0x3-_0x213f6d)&0x3f));var _0x1cecbf=_0x130229[_0x326272(0x4af)](0x40);if(_0x1cecbf){for(;_0x1a18b4['length']%0x4;)_0x1a18b4[_0x326272(0x22b)](_0x1cecbf);}return _0x1a18b4[_0x326272(0x2f6)]('');},'parse':function(_0x523959){var _0xadcd75=_0x38cc1a,_0x29c557=_0x523959[_0xadcd75(0x35b)],_0x2a94c3=this[_0xadcd75(0x1e0)],_0x2df9cc=this[_0xadcd75(0x312)];if(!_0x2df9cc){_0x2df9cc=this['_reverseMap']=[];for(var _0x58ad2c=0x0;_0x58ad2c<_0x2a94c3[_0xadcd75(0x35b)];_0x58ad2c++)_0x2df9cc[_0x2a94c3[_0xadcd75(0x278)](_0x58ad2c)]=_0x58ad2c;}var _0x4a3097=_0x2a94c3[_0xadcd75(0x4af)](0x40);if(_0x4a3097){var _0x2b7dba=_0x523959[_0xadcd75(0x243)](_0x4a3097);_0x2b7dba!==-0x1&&(_0x29c557=_0x2b7dba);}return _0x44df9e(_0x523959,_0x29c557,_0x2df9cc);},'_map':_0x38cc1a(0x4a7)};function _0x44df9e(_0x5519ec,_0x3ece81,_0x2c0d4b){var _0x3d77a5=_0x38cc1a;for(var _0x483570=[],_0x502843=0x0,_0x888d9c=0x0;_0x888d9c<_0x3ece81;_0x888d9c++)if(_0x888d9c%0x4){var _0x209d83=_0x2c0d4b[_0x5519ec['charCodeAt'](_0x888d9c-0x1)]<<_0x888d9c%0x4*0x2,_0x24bcd8=_0x2c0d4b[_0x5519ec[_0x3d77a5(0x278)](_0x888d9c)]>>>0x6-_0x888d9c%0x4*0x2,_0x4ab35e=_0x209d83|_0x24bcd8;_0x483570[_0x502843>>>0x2]|=_0x4ab35e<<0x18-_0x502843%0x4*0x8,_0x502843++;}return _0x568b18[_0x3d77a5(0x33d)](_0x483570,_0x502843);}}()),_0x231231['enc'][_0x58e73b(0x3ac)];}));}(We)),We['exports'];}var Ye={'exports':{}},Is=Ye[_0x52ec77(0x311)],Qt;function Ts(){var _0x5e3ecf=_0x52ec77;return Qt||(Qt=0x1,function(_0x537555,_0x475931){(function(_0x22e981,_0x2ebe90){var _0x56545c=_0x406d;_0x537555[_0x56545c(0x311)]=_0x2ebe90(ie());}(Is,function(_0x42a99a){var _0x14dc77=_0x406d;return function(_0x307874){var _0x3f836e=_0x406d,_0x10472e=_0x42a99a,_0x31d328=_0x10472e[_0x3f836e(0x396)],_0x41bfd5=_0x31d328[_0x3f836e(0x418)],_0xc07582=_0x31d328[_0x3f836e(0x456)],_0x4fb262=_0x10472e[_0x3f836e(0x1b4)],_0x4b7211=[];(function(){var _0x4b7b5e=_0x3f836e;for(var _0xef6815=0x0;_0xef6815<0x40;_0xef6815++)_0x4b7211[_0xef6815]=_0x307874[_0x4b7b5e(0x428)](_0x307874['sin'](_0xef6815+0x1))*0x100000000|0x0;}());var _0x282153=_0x4fb262[_0x3f836e(0x3c5)]=_0xc07582[_0x3f836e(0x3ae)]({'_doReset':function(){var _0x4b423f=_0x3f836e;this[_0x4b423f(0x421)]=new _0x41bfd5[(_0x4b423f(0x465))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x609eb7,_0x2dbdfb){var _0x5669d1=_0x3f836e;for(var _0x5e45f2=0x0;_0x5e45f2<0x10;_0x5e45f2++){var _0x4055c6=_0x2dbdfb+_0x5e45f2,_0x1af063=_0x609eb7[_0x4055c6];_0x609eb7[_0x4055c6]=(_0x1af063<<0x8|_0x1af063>>>0x18)&0xff00ff|(_0x1af063<<0x18|_0x1af063>>>0x8)&0xff00ff00;}var _0x97bf54=this[_0x5669d1(0x421)]['words'],_0x26be86=_0x609eb7[_0x2dbdfb+0x0],_0x3d5da9=_0x609eb7[_0x2dbdfb+0x1],_0x30a8d9=_0x609eb7[_0x2dbdfb+0x2],_0x43912d=_0x609eb7[_0x2dbdfb+0x3],_0x54329f=_0x609eb7[_0x2dbdfb+0x4],_0x280186=_0x609eb7[_0x2dbdfb+0x5],_0x14b7ef=_0x609eb7[_0x2dbdfb+0x6],_0x48d733=_0x609eb7[_0x2dbdfb+0x7],_0x4332b8=_0x609eb7[_0x2dbdfb+0x8],_0x204add=_0x609eb7[_0x2dbdfb+0x9],_0x1cbc85=_0x609eb7[_0x2dbdfb+0xa],_0x5dffff=_0x609eb7[_0x2dbdfb+0xb],_0x362300=_0x609eb7[_0x2dbdfb+0xc],_0x9a8702=_0x609eb7[_0x2dbdfb+0xd],_0x5d84c5=_0x609eb7[_0x2dbdfb+0xe],_0x312816=_0x609eb7[_0x2dbdfb+0xf],_0x3d1a17=_0x97bf54[0x0],_0x4a7749=_0x97bf54[0x1],_0x4148d5=_0x97bf54[0x2],_0x7e1ac3=_0x97bf54[0x3];_0x3d1a17=_0x79bc59(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x26be86,0x7,_0x4b7211[0x0]),_0x7e1ac3=_0x79bc59(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x3d5da9,0xc,_0x4b7211[0x1]),_0x4148d5=_0x79bc59(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x30a8d9,0x11,_0x4b7211[0x2]),_0x4a7749=_0x79bc59(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x43912d,0x16,_0x4b7211[0x3]),_0x3d1a17=_0x79bc59(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x54329f,0x7,_0x4b7211[0x4]),_0x7e1ac3=_0x79bc59(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x280186,0xc,_0x4b7211[0x5]),_0x4148d5=_0x79bc59(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x14b7ef,0x11,_0x4b7211[0x6]),_0x4a7749=_0x79bc59(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x48d733,0x16,_0x4b7211[0x7]),_0x3d1a17=_0x79bc59(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x4332b8,0x7,_0x4b7211[0x8]),_0x7e1ac3=_0x79bc59(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x204add,0xc,_0x4b7211[0x9]),_0x4148d5=_0x79bc59(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x1cbc85,0x11,_0x4b7211[0xa]),_0x4a7749=_0x79bc59(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x5dffff,0x16,_0x4b7211[0xb]),_0x3d1a17=_0x79bc59(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x362300,0x7,_0x4b7211[0xc]),_0x7e1ac3=_0x79bc59(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x9a8702,0xc,_0x4b7211[0xd]),_0x4148d5=_0x79bc59(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x5d84c5,0x11,_0x4b7211[0xe]),_0x4a7749=_0x79bc59(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x312816,0x16,_0x4b7211[0xf]),_0x3d1a17=_0x2ee8cc(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d5da9,0x5,_0x4b7211[0x10]),_0x7e1ac3=_0x2ee8cc(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x14b7ef,0x9,_0x4b7211[0x11]),_0x4148d5=_0x2ee8cc(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x5dffff,0xe,_0x4b7211[0x12]),_0x4a7749=_0x2ee8cc(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x26be86,0x14,_0x4b7211[0x13]),_0x3d1a17=_0x2ee8cc(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x280186,0x5,_0x4b7211[0x14]),_0x7e1ac3=_0x2ee8cc(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x1cbc85,0x9,_0x4b7211[0x15]),_0x4148d5=_0x2ee8cc(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x312816,0xe,_0x4b7211[0x16]),_0x4a7749=_0x2ee8cc(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x54329f,0x14,_0x4b7211[0x17]),_0x3d1a17=_0x2ee8cc(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x204add,0x5,_0x4b7211[0x18]),_0x7e1ac3=_0x2ee8cc(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x5d84c5,0x9,_0x4b7211[0x19]),_0x4148d5=_0x2ee8cc(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x43912d,0xe,_0x4b7211[0x1a]),_0x4a7749=_0x2ee8cc(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4332b8,0x14,_0x4b7211[0x1b]),_0x3d1a17=_0x2ee8cc(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x9a8702,0x5,_0x4b7211[0x1c]),_0x7e1ac3=_0x2ee8cc(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x30a8d9,0x9,_0x4b7211[0x1d]),_0x4148d5=_0x2ee8cc(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x48d733,0xe,_0x4b7211[0x1e]),_0x4a7749=_0x2ee8cc(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x362300,0x14,_0x4b7211[0x1f]),_0x3d1a17=_0x2a6585(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x280186,0x4,_0x4b7211[0x20]),_0x7e1ac3=_0x2a6585(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x4332b8,0xb,_0x4b7211[0x21]),_0x4148d5=_0x2a6585(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x5dffff,0x10,_0x4b7211[0x22]),_0x4a7749=_0x2a6585(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x5d84c5,0x17,_0x4b7211[0x23]),_0x3d1a17=_0x2a6585(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d5da9,0x4,_0x4b7211[0x24]),_0x7e1ac3=_0x2a6585(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x54329f,0xb,_0x4b7211[0x25]),_0x4148d5=_0x2a6585(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x48d733,0x10,_0x4b7211[0x26]),_0x4a7749=_0x2a6585(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x1cbc85,0x17,_0x4b7211[0x27]),_0x3d1a17=_0x2a6585(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x9a8702,0x4,_0x4b7211[0x28]),_0x7e1ac3=_0x2a6585(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x26be86,0xb,_0x4b7211[0x29]),_0x4148d5=_0x2a6585(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x43912d,0x10,_0x4b7211[0x2a]),_0x4a7749=_0x2a6585(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x14b7ef,0x17,_0x4b7211[0x2b]),_0x3d1a17=_0x2a6585(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x204add,0x4,_0x4b7211[0x2c]),_0x7e1ac3=_0x2a6585(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x362300,0xb,_0x4b7211[0x2d]),_0x4148d5=_0x2a6585(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x312816,0x10,_0x4b7211[0x2e]),_0x4a7749=_0x2a6585(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x30a8d9,0x17,_0x4b7211[0x2f]),_0x3d1a17=_0x374a48(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x26be86,0x6,_0x4b7211[0x30]),_0x7e1ac3=_0x374a48(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x48d733,0xa,_0x4b7211[0x31]),_0x4148d5=_0x374a48(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x5d84c5,0xf,_0x4b7211[0x32]),_0x4a7749=_0x374a48(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x280186,0x15,_0x4b7211[0x33]),_0x3d1a17=_0x374a48(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x362300,0x6,_0x4b7211[0x34]),_0x7e1ac3=_0x374a48(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x43912d,0xa,_0x4b7211[0x35]),_0x4148d5=_0x374a48(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x1cbc85,0xf,_0x4b7211[0x36]),_0x4a7749=_0x374a48(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x3d5da9,0x15,_0x4b7211[0x37]),_0x3d1a17=_0x374a48(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x4332b8,0x6,_0x4b7211[0x38]),_0x7e1ac3=_0x374a48(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x312816,0xa,_0x4b7211[0x39]),_0x4148d5=_0x374a48(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x14b7ef,0xf,_0x4b7211[0x3a]),_0x4a7749=_0x374a48(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x9a8702,0x15,_0x4b7211[0x3b]),_0x3d1a17=_0x374a48(_0x3d1a17,_0x4a7749,_0x4148d5,_0x7e1ac3,_0x54329f,0x6,_0x4b7211[0x3c]),_0x7e1ac3=_0x374a48(_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x4148d5,_0x5dffff,0xa,_0x4b7211[0x3d]),_0x4148d5=_0x374a48(_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x4a7749,_0x30a8d9,0xf,_0x4b7211[0x3e]),_0x4a7749=_0x374a48(_0x4a7749,_0x4148d5,_0x7e1ac3,_0x3d1a17,_0x204add,0x15,_0x4b7211[0x3f]),_0x97bf54[0x0]=_0x97bf54[0x0]+_0x3d1a17|0x0,_0x97bf54[0x1]=_0x97bf54[0x1]+_0x4a7749|0x0,_0x97bf54[0x2]=_0x97bf54[0x2]+_0x4148d5|0x0,_0x97bf54[0x3]=_0x97bf54[0x3]+_0x7e1ac3|0x0;},'_doFinalize':function(){var _0x1e9f33=_0x3f836e,_0x46cf4e=this[_0x1e9f33(0x3c2)],_0x2b46e1=_0x46cf4e[_0x1e9f33(0x3cb)],_0x1f94b5=this['_nDataBytes']*0x8,_0x3ee3cc=_0x46cf4e[_0x1e9f33(0x290)]*0x8;_0x2b46e1[_0x3ee3cc>>>0x5]|=0x80<<0x18-_0x3ee3cc%0x20;var _0x630947=_0x307874['floor'](_0x1f94b5/0x100000000),_0x490ee0=_0x1f94b5;_0x2b46e1[(_0x3ee3cc+0x40>>>0x9<<0x4)+0xf]=(_0x630947<<0x8|_0x630947>>>0x18)&0xff00ff|(_0x630947<<0x18|_0x630947>>>0x8)&0xff00ff00,_0x2b46e1[(_0x3ee3cc+0x40>>>0x9<<0x4)+0xe]=(_0x490ee0<<0x8|_0x490ee0>>>0x18)&0xff00ff|(_0x490ee0<<0x18|_0x490ee0>>>0x8)&0xff00ff00,_0x46cf4e[_0x1e9f33(0x290)]=(_0x2b46e1[_0x1e9f33(0x35b)]+0x1)*0x4,this[_0x1e9f33(0x2b7)]();for(var _0x2d885c=this[_0x1e9f33(0x421)],_0x56281a=_0x2d885c['words'],_0x5c6555=0x0;_0x5c6555<0x4;_0x5c6555++){var _0x2cc583=_0x56281a[_0x5c6555];_0x56281a[_0x5c6555]=(_0x2cc583<<0x8|_0x2cc583>>>0x18)&0xff00ff|(_0x2cc583<<0x18|_0x2cc583>>>0x8)&0xff00ff00;}return _0x2d885c;},'clone':function(){var _0x5cc2e2=_0x3f836e,_0x304c70=_0xc07582['clone'][_0x5cc2e2(0x239)](this);return _0x304c70['_hash']=this['_hash'][_0x5cc2e2(0x370)](),_0x304c70;}});function _0x79bc59(_0x391b06,_0x42377a,_0x35fac6,_0x38762b,_0x4a15ec,_0x3d3a44,_0x117a8b){var _0x5d7c9d=_0x391b06+(_0x42377a&_0x35fac6|~_0x42377a&_0x38762b)+_0x4a15ec+_0x117a8b;return(_0x5d7c9d<<_0x3d3a44|_0x5d7c9d>>>0x20-_0x3d3a44)+_0x42377a;}function _0x2ee8cc(_0x335ec0,_0x359655,_0x3ae8f3,_0x42e30f,_0x1e0e7b,_0x108b39,_0x7656a3){var _0x1a845e=_0x335ec0+(_0x359655&_0x42e30f|_0x3ae8f3&~_0x42e30f)+_0x1e0e7b+_0x7656a3;return(_0x1a845e<<_0x108b39|_0x1a845e>>>0x20-_0x108b39)+_0x359655;}function _0x2a6585(_0x21a840,_0x134849,_0x25f267,_0x17b07f,_0x5ad2cc,_0x459a7f,_0x105d93){var _0x1d6923=_0x21a840+(_0x134849^_0x25f267^_0x17b07f)+_0x5ad2cc+_0x105d93;return(_0x1d6923<<_0x459a7f|_0x1d6923>>>0x20-_0x459a7f)+_0x134849;}function _0x374a48(_0x38fd95,_0x4f4758,_0x22833a,_0x1396e0,_0x23010f,_0x280686,_0x51d013){var _0x2dd6a2=_0x38fd95+(_0x22833a^(_0x4f4758|~_0x1396e0))+_0x23010f+_0x51d013;return(_0x2dd6a2<<_0x280686|_0x2dd6a2>>>0x20-_0x280686)+_0x4f4758;}_0x10472e[_0x3f836e(0x3c5)]=_0xc07582[_0x3f836e(0x33e)](_0x282153),_0x10472e['HmacMD5']=_0xc07582['_createHmacHelper'](_0x282153);}(Math),_0x42a99a[_0x14dc77(0x3c5)];}));}(Ye)),Ye[_0x5e3ecf(0x311)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x52ec77(0x311)],ei;function Rs(){var _0x2fecd7=_0x52ec77;return ei||(ei=0x1,function(_0x12cab0,_0x272fc0){(function(_0x2e2b60,_0x473de9){_0x12cab0['exports']=_0x473de9(ie());}(Cs,function(_0x170ad2){var _0x43fdd6=_0x406d;return(function(){var _0x521f73=_0x406d,_0x3e0eca=_0x170ad2,_0x45a499=_0x3e0eca[_0x521f73(0x396)],_0x2d2f46=_0x45a499[_0x521f73(0x418)],_0x370274=_0x45a499[_0x521f73(0x456)],_0x63b830=_0x3e0eca[_0x521f73(0x1b4)],_0x91cc8c=[],_0x4b09ad=_0x63b830[_0x521f73(0x388)]=_0x370274[_0x521f73(0x3ae)]({'_doReset':function(){var _0xa6ad3a=_0x521f73;this[_0xa6ad3a(0x421)]=new _0x2d2f46['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4c5534,_0x3fc021){var _0x44ac72=_0x521f73;for(var _0x5674e2=this[_0x44ac72(0x421)][_0x44ac72(0x3cb)],_0x58a918=_0x5674e2[0x0],_0x443372=_0x5674e2[0x1],_0x3c2bec=_0x5674e2[0x2],_0x5c4fb4=_0x5674e2[0x3],_0x4e9861=_0x5674e2[0x4],_0x2336fa=0x0;_0x2336fa<0x50;_0x2336fa++){if(_0x2336fa<0x10)_0x91cc8c[_0x2336fa]=_0x4c5534[_0x3fc021+_0x2336fa]|0x0;else{var _0xcd0b4=_0x91cc8c[_0x2336fa-0x3]^_0x91cc8c[_0x2336fa-0x8]^_0x91cc8c[_0x2336fa-0xe]^_0x91cc8c[_0x2336fa-0x10];_0x91cc8c[_0x2336fa]=_0xcd0b4<<0x1|_0xcd0b4>>>0x1f;}var _0x4c1200=(_0x58a918<<0x5|_0x58a918>>>0x1b)+_0x4e9861+_0x91cc8c[_0x2336fa];_0x2336fa<0x14?_0x4c1200+=(_0x443372&_0x3c2bec|~_0x443372&_0x5c4fb4)+0x5a827999:_0x2336fa<0x28?_0x4c1200+=(_0x443372^_0x3c2bec^_0x5c4fb4)+0x6ed9eba1:_0x2336fa<0x3c?_0x4c1200+=(_0x443372&_0x3c2bec|_0x443372&_0x5c4fb4|_0x3c2bec&_0x5c4fb4)-0x70e44324:_0x4c1200+=(_0x443372^_0x3c2bec^_0x5c4fb4)-0x359d3e2a,_0x4e9861=_0x5c4fb4,_0x5c4fb4=_0x3c2bec,_0x3c2bec=_0x443372<<0x1e|_0x443372>>>0x2,_0x443372=_0x58a918,_0x58a918=_0x4c1200;}_0x5674e2[0x0]=_0x5674e2[0x0]+_0x58a918|0x0,_0x5674e2[0x1]=_0x5674e2[0x1]+_0x443372|0x0,_0x5674e2[0x2]=_0x5674e2[0x2]+_0x3c2bec|0x0,_0x5674e2[0x3]=_0x5674e2[0x3]+_0x5c4fb4|0x0,_0x5674e2[0x4]=_0x5674e2[0x4]+_0x4e9861|0x0;},'_doFinalize':function(){var _0x4d1105=_0x521f73,_0x545d91=this[_0x4d1105(0x3c2)],_0x32915f=_0x545d91['words'],_0x2bb57f=this[_0x4d1105(0x41f)]*0x8,_0x404b25=_0x545d91[_0x4d1105(0x290)]*0x8;return _0x32915f[_0x404b25>>>0x5]|=0x80<<0x18-_0x404b25%0x20,_0x32915f[(_0x404b25+0x40>>>0x9<<0x4)+0xe]=Math[_0x4d1105(0x277)](_0x2bb57f/0x100000000),_0x32915f[(_0x404b25+0x40>>>0x9<<0x4)+0xf]=_0x2bb57f,_0x545d91['sigBytes']=_0x32915f[_0x4d1105(0x35b)]*0x4,this[_0x4d1105(0x2b7)](),this['_hash'];},'clone':function(){var _0x44d13b=_0x521f73,_0x1c3eb7=_0x370274[_0x44d13b(0x370)][_0x44d13b(0x239)](this);return _0x1c3eb7[_0x44d13b(0x421)]=this[_0x44d13b(0x421)][_0x44d13b(0x370)](),_0x1c3eb7;}});_0x3e0eca['SHA1']=_0x370274[_0x521f73(0x33e)](_0x4b09ad),_0x3e0eca['HmacSHA1']=_0x370274[_0x521f73(0x3a3)](_0x4b09ad);}()),_0x170ad2[_0x43fdd6(0x388)];}));}(qe)),qe[_0x2fecd7(0x311)];}var ze={'exports':{}},bs=ze[_0x52ec77(0x311)],ti;function Os(){return ti||(ti=0x1,function(_0x4d2dec,_0x333721){(function(_0x523cb4,_0x490077){_0x4d2dec['exports']=_0x490077(ie());}(bs,function(_0x22b1de){(function(){var _0xcefecf=_0x406d,_0x2e86b7=_0x22b1de,_0x263c36=_0x2e86b7['lib'],_0x2017bc=_0x263c36[_0xcefecf(0x413)],_0x2e606a=_0x2e86b7[_0xcefecf(0x40b)],_0x460508=_0x2e606a['Utf8'],_0x5c1b5b=_0x2e86b7[_0xcefecf(0x1b4)];_0x5c1b5b['HMAC']=_0x2017bc['extend']({'init':function(_0x507c0d,_0x265d21){var _0x9e3f6c=_0xcefecf;_0x507c0d=this[_0x9e3f6c(0x44d)]=new _0x507c0d[(_0x9e3f6c(0x465))](),typeof _0x265d21=='string'&&(_0x265d21=_0x460508[_0x9e3f6c(0x34a)](_0x265d21));var _0x1a6080=_0x507c0d[_0x9e3f6c(0x495)],_0x5266a7=_0x1a6080*0x4;_0x265d21[_0x9e3f6c(0x290)]>_0x5266a7&&(_0x265d21=_0x507c0d[_0x9e3f6c(0x350)](_0x265d21)),_0x265d21[_0x9e3f6c(0x352)]();for(var _0xc13dad=this[_0x9e3f6c(0x437)]=_0x265d21[_0x9e3f6c(0x370)](),_0x3f14d7=this[_0x9e3f6c(0x389)]=_0x265d21[_0x9e3f6c(0x370)](),_0x46af77=_0xc13dad[_0x9e3f6c(0x3cb)],_0x562fb1=_0x3f14d7[_0x9e3f6c(0x3cb)],_0x12c01e=0x0;_0x12c01e<_0x1a6080;_0x12c01e++)_0x46af77[_0x12c01e]^=0x5c5c5c5c,_0x562fb1[_0x12c01e]^=0x36363636;_0xc13dad[_0x9e3f6c(0x290)]=_0x3f14d7[_0x9e3f6c(0x290)]=_0x5266a7,this[_0x9e3f6c(0x253)]();},'reset':function(){var _0x65821d=_0xcefecf,_0x28ef79=this[_0x65821d(0x44d)];_0x28ef79[_0x65821d(0x253)](),_0x28ef79[_0x65821d(0x26a)](this[_0x65821d(0x389)]);},'update':function(_0x23816a){var _0x161d30=_0xcefecf;return this[_0x161d30(0x44d)][_0x161d30(0x26a)](_0x23816a),this;},'finalize':function(_0x3e9198){var _0x402344=_0xcefecf,_0x4d4aef=this['_hasher'],_0x4d1231=_0x4d4aef[_0x402344(0x350)](_0x3e9198);_0x4d4aef[_0x402344(0x253)]();var _0x50e22a=_0x4d4aef['finalize'](this[_0x402344(0x437)][_0x402344(0x370)]()[_0x402344(0x1f6)](_0x4d1231));return _0x50e22a;}});}());}));}(ze)),ze['exports'];}var ys=Ke['exports'],ii;function Ui(){var _0x4ce1e3=_0x52ec77;return ii||(ii=0x1,function(_0x3a6677,_0xe97220){(function(_0x393335,_0x1e9295,_0x42121b){_0x3a6677['exports']=_0x1e9295(ie(),Rs(),Os());}(ys,function(_0x406ca0){var _0x11a39c=_0x406d;return(function(){var _0x49c80f=_0x406d,_0x564eff=_0x406ca0,_0x34a50f=_0x564eff[_0x49c80f(0x396)],_0x553c8f=_0x34a50f[_0x49c80f(0x413)],_0x532f23=_0x34a50f[_0x49c80f(0x418)],_0x571ce1=_0x564eff[_0x49c80f(0x1b4)],_0xa5270d=_0x571ce1[_0x49c80f(0x3c5)],_0x4fbfb3=_0x571ce1[_0x49c80f(0x24d)]=_0x553c8f[_0x49c80f(0x3ae)]({'cfg':_0x553c8f[_0x49c80f(0x3ae)]({'keySize':0x80/0x20,'hasher':_0xa5270d,'iterations':0x1}),'init':function(_0x595808){var _0x367180=_0x49c80f;this[_0x367180(0x447)]=this[_0x367180(0x447)][_0x367180(0x3ae)](_0x595808);},'compute':function(_0x34cd82,_0x269e95){var _0x46dd73=_0x49c80f;for(var _0x218193,_0x1c57fb=this[_0x46dd73(0x447)],_0x524f71=_0x1c57fb[_0x46dd73(0x3ef)][_0x46dd73(0x33d)](),_0x230754=_0x532f23[_0x46dd73(0x33d)](),_0x4b13c8=_0x230754['words'],_0x3da183=_0x1c57fb[_0x46dd73(0x4a4)],_0x4f037b=_0x1c57fb[_0x46dd73(0x2dc)];_0x4b13c8[_0x46dd73(0x35b)]<_0x3da183;){_0x218193&&_0x524f71[_0x46dd73(0x26a)](_0x218193),_0x218193=_0x524f71[_0x46dd73(0x26a)](_0x34cd82)[_0x46dd73(0x350)](_0x269e95),_0x524f71['reset']();for(var _0x27a7c3=0x1;_0x27a7c3<_0x4f037b;_0x27a7c3++)_0x218193=_0x524f71[_0x46dd73(0x350)](_0x218193),_0x524f71[_0x46dd73(0x253)]();_0x230754[_0x46dd73(0x1f6)](_0x218193);}return _0x230754['sigBytes']=_0x3da183*0x4,_0x230754;}});_0x564eff[_0x49c80f(0x24d)]=function(_0x295a0a,_0x3c3056,_0x3dd1e4){var _0x2eb233=_0x49c80f;return _0x4fbfb3[_0x2eb233(0x33d)](_0x3dd1e4)['compute'](_0x295a0a,_0x3c3056);};}()),_0x406ca0[_0x11a39c(0x24d)];}));}(Ke)),Ke[_0x4ce1e3(0x311)];}var Je={'exports':{}},Ns=Je[_0x52ec77(0x311)],ni;function Ai(){var _0x5cba4d=_0x52ec77;return ni||(ni=0x1,function(_0xfb6b31,_0x5174ad){(function(_0x9ae523,_0x171796,_0x224927){var _0x309a96=_0x406d;_0xfb6b31[_0x309a96(0x311)]=_0x171796(ie(),Ui());}(Ns,function(_0x51e671){_0x51e671['lib']['Cipher']||function(_0x5b7cea){var _0x1c8f3b=_0x406d,_0x11782d=_0x51e671,_0x26db19=_0x11782d[_0x1c8f3b(0x396)],_0x4919c5=_0x26db19[_0x1c8f3b(0x413)],_0x3b5b92=_0x26db19[_0x1c8f3b(0x418)],_0x1f0e9b=_0x26db19[_0x1c8f3b(0x49a)],_0x340397=_0x11782d[_0x1c8f3b(0x40b)];_0x340397[_0x1c8f3b(0x234)];var _0x431d31=_0x340397[_0x1c8f3b(0x3ac)],_0x4656ef=_0x11782d[_0x1c8f3b(0x1b4)],_0x57c0f4=_0x4656ef[_0x1c8f3b(0x24d)],_0x46d425=_0x26db19[_0x1c8f3b(0x43f)]=_0x1f0e9b['extend']({'cfg':_0x4919c5[_0x1c8f3b(0x3ae)](),'createEncryptor':function(_0x23f9da,_0x326f66){var _0x363d9f=_0x1c8f3b;return this[_0x363d9f(0x33d)](this[_0x363d9f(0x491)],_0x23f9da,_0x326f66);},'createDecryptor':function(_0x41a66a,_0x53a1f5){var _0x4d02c0=_0x1c8f3b;return this[_0x4d02c0(0x33d)](this[_0x4d02c0(0x26e)],_0x41a66a,_0x53a1f5);},'init':function(_0x39c797,_0x26433,_0x4d9d24){var _0x4cfc06=_0x1c8f3b;this[_0x4cfc06(0x447)]=this[_0x4cfc06(0x447)][_0x4cfc06(0x3ae)](_0x4d9d24),this['_xformMode']=_0x39c797,this[_0x4cfc06(0x2d2)]=_0x26433,this['reset']();},'reset':function(){var _0x4a54c6=_0x1c8f3b;_0x1f0e9b['reset'][_0x4a54c6(0x239)](this),this[_0x4a54c6(0x466)]();},'process':function(_0x1fb7e8){var _0x30171f=_0x1c8f3b;return this['_append'](_0x1fb7e8),this[_0x30171f(0x2b7)]();},'finalize':function(_0x3ef78e){var _0x418e3e=_0x1c8f3b;_0x3ef78e&&this[_0x418e3e(0x28f)](_0x3ef78e);var _0x4b9a0b=this[_0x418e3e(0x2a2)]();return _0x4b9a0b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x22d6c9(_0x3d0d25){return typeof _0x3d0d25=='string'?_0x4813c0:_0x274e46;}return function(_0x58dfdc){return{'encrypt':function(_0x5cf91a,_0x29c749,_0x5667c5){return _0x22d6c9(_0x29c749)['encrypt'](_0x58dfdc,_0x5cf91a,_0x29c749,_0x5667c5);},'decrypt':function(_0x3f6a92,_0x3a7b48,_0x9e8c79){var _0x2ade2c=_0x406d;return _0x22d6c9(_0x3a7b48)[_0x2ade2c(0x2ac)](_0x58dfdc,_0x3f6a92,_0x3a7b48,_0x9e8c79);}};};}())});_0x26db19[_0x1c8f3b(0x398)]=_0x46d425[_0x1c8f3b(0x3ae)]({'_doFinalize':function(){var _0x590783=this['_process'](!0x0);return _0x590783;},'blockSize':0x1});var _0x3e0d55=_0x11782d[_0x1c8f3b(0x2eb)]={},_0x16d112=_0x26db19[_0x1c8f3b(0x494)]=_0x4919c5['extend']({'createEncryptor':function(_0x33c517,_0x320ece){var _0x1503b7=_0x1c8f3b;return this[_0x1503b7(0x36e)][_0x1503b7(0x33d)](_0x33c517,_0x320ece);},'createDecryptor':function(_0x595b1a,_0x41865e){var _0x58e41a=_0x1c8f3b;return this['Decryptor'][_0x58e41a(0x33d)](_0x595b1a,_0x41865e);},'init':function(_0x2d4d57,_0x366b02){var _0x1e3278=_0x1c8f3b;this[_0x1e3278(0x469)]=_0x2d4d57,this[_0x1e3278(0x42a)]=_0x366b02;}}),_0x3584d9=_0x3e0d55[_0x1c8f3b(0x353)]=(function(){var _0x2195c8=_0x1c8f3b,_0x377a31=_0x16d112[_0x2195c8(0x3ae)]();_0x377a31[_0x2195c8(0x36e)]=_0x377a31['extend']({'processBlock':function(_0xe043d,_0x44a23e){var _0x25b8e3=_0x2195c8,_0x3076bd=this['_cipher'],_0x24e64c=_0x3076bd[_0x25b8e3(0x495)];_0x2b3957[_0x25b8e3(0x239)](this,_0xe043d,_0x44a23e,_0x24e64c),_0x3076bd['encryptBlock'](_0xe043d,_0x44a23e),this[_0x25b8e3(0x21f)]=_0xe043d[_0x25b8e3(0x25f)](_0x44a23e,_0x44a23e+_0x24e64c);}}),_0x377a31[_0x2195c8(0x1d6)]=_0x377a31['extend']({'processBlock':function(_0x4d280f,_0x52cf29){var _0x42a2fa=_0x2195c8,_0x172af8=this[_0x42a2fa(0x469)],_0x72fb7a=_0x172af8[_0x42a2fa(0x495)],_0x120bbb=_0x4d280f[_0x42a2fa(0x25f)](_0x52cf29,_0x52cf29+_0x72fb7a);_0x172af8[_0x42a2fa(0x2d9)](_0x4d280f,_0x52cf29),_0x2b3957[_0x42a2fa(0x239)](this,_0x4d280f,_0x52cf29,_0x72fb7a),this[_0x42a2fa(0x21f)]=_0x120bbb;}});function _0x2b3957(_0x5c4fa6,_0x564e84,_0x2fbea4){var _0x5be883=_0x2195c8,_0x367383,_0x395fee=this[_0x5be883(0x42a)];_0x395fee?(_0x367383=_0x395fee,this['_iv']=_0x5b7cea):_0x367383=this[_0x5be883(0x21f)];for(var _0x7bf649=0x0;_0x7bf649<_0x2fbea4;_0x7bf649++)_0x5c4fa6[_0x564e84+_0x7bf649]^=_0x367383[_0x7bf649];}return _0x377a31;}()),_0x131dfc=_0x11782d[_0x1c8f3b(0x2f3)]={},_0x3f759b=_0x131dfc[_0x1c8f3b(0x1c2)]={'pad':function(_0x2af6d4,_0x3e0377){var _0x382d1d=_0x1c8f3b;for(var _0x1d81ba=_0x3e0377*0x4,_0xed0b57=_0x1d81ba-_0x2af6d4[_0x382d1d(0x290)]%_0x1d81ba,_0x36f011=_0xed0b57<<0x18|_0xed0b57<<0x10|_0xed0b57<<0x8|_0xed0b57,_0x477d04=[],_0x5aee56=0x0;_0x5aee56<_0xed0b57;_0x5aee56+=0x4)_0x477d04[_0x382d1d(0x22b)](_0x36f011);var _0x92003=_0x3b5b92[_0x382d1d(0x33d)](_0x477d04,_0xed0b57);_0x2af6d4[_0x382d1d(0x1f6)](_0x92003);},'unpad':function(_0x59e720){var _0x500169=_0x1c8f3b,_0x357b9b=_0x59e720[_0x500169(0x3cb)][_0x59e720[_0x500169(0x290)]-0x1>>>0x2]&0xff;_0x59e720[_0x500169(0x290)]-=_0x357b9b;}};_0x26db19['BlockCipher']=_0x46d425['extend']({'cfg':_0x46d425[_0x1c8f3b(0x447)][_0x1c8f3b(0x3ae)]({'mode':_0x3584d9,'padding':_0x3f759b}),'reset':function(){var _0x5ae21d=_0x1c8f3b,_0x586f3e;_0x46d425[_0x5ae21d(0x253)][_0x5ae21d(0x239)](this);var _0x4e510b=this[_0x5ae21d(0x447)],_0x321135=_0x4e510b['iv'],_0x5ad8a0=_0x4e510b[_0x5ae21d(0x2eb)];this[_0x5ae21d(0x288)]==this['_ENC_XFORM_MODE']?_0x586f3e=_0x5ad8a0[_0x5ae21d(0x3b8)]:(_0x586f3e=_0x5ad8a0['createDecryptor'],this[_0x5ae21d(0x37f)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x586f3e?this[_0x5ae21d(0x28d)][_0x5ae21d(0x465)](this,_0x321135&&_0x321135['words']):(this[_0x5ae21d(0x28d)]=_0x586f3e['call'](_0x5ad8a0,this,_0x321135&&_0x321135[_0x5ae21d(0x3cb)]),this[_0x5ae21d(0x28d)]['__creator']=_0x586f3e);},'_doProcessBlock':function(_0x500968,_0x18bf8c){var _0x49d2ef=_0x1c8f3b;this[_0x49d2ef(0x28d)][_0x49d2ef(0x3d4)](_0x500968,_0x18bf8c);},'_doFinalize':function(){var _0x11f3b6=_0x1c8f3b,_0x321845,_0x768e1d=this[_0x11f3b6(0x447)]['padding'];return this[_0x11f3b6(0x288)]==this['_ENC_XFORM_MODE']?(_0x768e1d[_0x11f3b6(0x2f3)](this[_0x11f3b6(0x3c2)],this[_0x11f3b6(0x495)]),_0x321845=this['_process'](!0x0)):(_0x321845=this['_process'](!0x0),_0x768e1d[_0x11f3b6(0x2ed)](_0x321845)),_0x321845;},'blockSize':0x80/0x20});var _0x37ea84=_0x26db19[_0x1c8f3b(0x449)]=_0x4919c5[_0x1c8f3b(0x3ae)]({'init':function(_0x4ffbe2){this['mixIn'](_0x4ffbe2);},'toString':function(_0x1eb47f){var _0x3138c2=_0x1c8f3b;return(_0x1eb47f||this[_0x3138c2(0x2f7)])[_0x3138c2(0x33b)](this);}}),_0x296891=_0x11782d[_0x1c8f3b(0x3a0)]={},_0x417ec1=_0x296891[_0x1c8f3b(0x25a)]={'stringify':function(_0x2aa3d8){var _0x56596b=_0x1c8f3b,_0x2a7497,_0xe2a3d4=_0x2aa3d8[_0x56596b(0x25b)],_0x5e48cd=_0x2aa3d8[_0x56596b(0x3a7)];return _0x5e48cd?_0x2a7497=_0x3b5b92[_0x56596b(0x33d)]([0x53616c74,0x65645f5f])[_0x56596b(0x1f6)](_0x5e48cd)['concat'](_0xe2a3d4):_0x2a7497=_0xe2a3d4,_0x2a7497[_0x56596b(0x326)](_0x431d31);},'parse':function(_0x12ba54){var _0x9415e3=_0x1c8f3b,_0x3fb832,_0xf41e88=_0x431d31[_0x9415e3(0x34a)](_0x12ba54),_0x30aa4c=_0xf41e88[_0x9415e3(0x3cb)];return _0x30aa4c[0x0]==0x53616c74&&_0x30aa4c[0x1]==0x65645f5f&&(_0x3fb832=_0x3b5b92[_0x9415e3(0x33d)](_0x30aa4c['slice'](0x2,0x4)),_0x30aa4c['splice'](0x0,0x4),_0xf41e88['sigBytes']-=0x10),_0x37ea84[_0x9415e3(0x33d)]({'ciphertext':_0xf41e88,'salt':_0x3fb832});}},_0x274e46=_0x26db19[_0x1c8f3b(0x229)]=_0x4919c5[_0x1c8f3b(0x3ae)]({'cfg':_0x4919c5[_0x1c8f3b(0x3ae)]({'format':_0x417ec1}),'encrypt':function(_0x5a775b,_0x32d3ef,_0x115e3c,_0x1f30e5){var _0x4d159e=_0x1c8f3b;_0x1f30e5=this[_0x4d159e(0x447)]['extend'](_0x1f30e5);var _0x4a041c=_0x5a775b['createEncryptor'](_0x115e3c,_0x1f30e5),_0x312e87=_0x4a041c[_0x4d159e(0x350)](_0x32d3ef),_0x3f29bf=_0x4a041c[_0x4d159e(0x447)];return _0x37ea84['create']({'ciphertext':_0x312e87,'key':_0x115e3c,'iv':_0x3f29bf['iv'],'algorithm':_0x5a775b,'mode':_0x3f29bf[_0x4d159e(0x2eb)],'padding':_0x3f29bf['padding'],'blockSize':_0x5a775b['blockSize'],'formatter':_0x1f30e5[_0x4d159e(0x3a0)]});},'decrypt':function(_0x4de28b,_0x49ff19,_0x20aa75,_0x32616d){var _0x475341=_0x1c8f3b;_0x32616d=this[_0x475341(0x447)][_0x475341(0x3ae)](_0x32616d),_0x49ff19=this[_0x475341(0x272)](_0x49ff19,_0x32616d[_0x475341(0x3a0)]);var _0x124334=_0x4de28b[_0x475341(0x384)](_0x20aa75,_0x32616d)[_0x475341(0x350)](_0x49ff19[_0x475341(0x25b)]);return _0x124334;},'_parse':function(_0x228db4,_0xebd65c){var _0x13f00f=_0x1c8f3b;return typeof _0x228db4==_0x13f00f(0x38d)?_0xebd65c['parse'](_0x228db4,this):_0x228db4;}}),_0x202c9c=_0x11782d[_0x1c8f3b(0x34f)]={},_0x2b099e=_0x202c9c[_0x1c8f3b(0x25a)]={'execute':function(_0x2527af,_0x337eb5,_0x2b1453,_0x1c6d52,_0x37abae){var _0x10c56f=_0x1c8f3b;if(_0x1c6d52||(_0x1c6d52=_0x3b5b92[_0x10c56f(0x3c9)](0x40/0x8)),_0x37abae)var _0x5c0e16=_0x57c0f4[_0x10c56f(0x33d)]({'keySize':_0x337eb5+_0x2b1453,'hasher':_0x37abae})[_0x10c56f(0x250)](_0x2527af,_0x1c6d52);else var _0x5c0e16=_0x57c0f4[_0x10c56f(0x33d)]({'keySize':_0x337eb5+_0x2b1453})[_0x10c56f(0x250)](_0x2527af,_0x1c6d52);var _0x231c4a=_0x3b5b92['create'](_0x5c0e16['words']['slice'](_0x337eb5),_0x2b1453*0x4);return _0x5c0e16[_0x10c56f(0x290)]=_0x337eb5*0x4,_0x37ea84[_0x10c56f(0x33d)]({'key':_0x5c0e16,'iv':_0x231c4a,'salt':_0x1c6d52});}},_0x4813c0=_0x26db19['PasswordBasedCipher']=_0x274e46[_0x1c8f3b(0x3ae)]({'cfg':_0x274e46[_0x1c8f3b(0x447)][_0x1c8f3b(0x3ae)]({'kdf':_0x2b099e}),'encrypt':function(_0x46bed9,_0x260d2d,_0x535f5b,_0x5cd960){var _0x595e97=_0x1c8f3b;_0x5cd960=this[_0x595e97(0x447)][_0x595e97(0x3ae)](_0x5cd960);var _0x14ba55=_0x5cd960['kdf'][_0x595e97(0x2a7)](_0x535f5b,_0x46bed9[_0x595e97(0x4a4)],_0x46bed9['ivSize'],_0x5cd960[_0x595e97(0x3a7)],_0x5cd960[_0x595e97(0x3ef)]);_0x5cd960['iv']=_0x14ba55['iv'];var _0x2656e1=_0x274e46[_0x595e97(0x41a)][_0x595e97(0x239)](this,_0x46bed9,_0x260d2d,_0x14ba55['key'],_0x5cd960);return _0x2656e1[_0x595e97(0x323)](_0x14ba55),_0x2656e1;},'decrypt':function(_0x67490c,_0x2ecd9e,_0x35a643,_0x4b1289){var _0x25c77e=_0x1c8f3b;_0x4b1289=this[_0x25c77e(0x447)][_0x25c77e(0x3ae)](_0x4b1289),_0x2ecd9e=this[_0x25c77e(0x272)](_0x2ecd9e,_0x4b1289[_0x25c77e(0x3a0)]);var _0x5a8788=_0x4b1289[_0x25c77e(0x34f)][_0x25c77e(0x2a7)](_0x35a643,_0x67490c[_0x25c77e(0x4a4)],_0x67490c['ivSize'],_0x2ecd9e[_0x25c77e(0x3a7)],_0x4b1289[_0x25c77e(0x3ef)]);_0x4b1289['iv']=_0x5a8788['iv'];var _0x4c6b07=_0x274e46['decrypt']['call'](this,_0x67490c,_0x2ecd9e,_0x5a8788[_0x25c77e(0x2ad)],_0x4b1289);return _0x4c6b07;}});}();}));}(Je)),Je[_0x5cba4d(0x311)];}var Ds=Ve['exports'],si;function Us(){return si||(si=0x1,function(_0x554d9a,_0x619744){(function(_0x243207,_0x36e8b3,_0x4c9cac){var _0x4ae51a=_0x406d;_0x554d9a[_0x4ae51a(0x311)]=_0x36e8b3(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x408a1b){var _0x5f4c92=_0x406d;return(function(){var _0x2e33e4=_0x406d,_0x1eaf9f=_0x408a1b,_0xf0f5bf=_0x1eaf9f['lib'],_0x1cb8b8=_0xf0f5bf['BlockCipher'],_0x1e1776=_0x1eaf9f['algo'],_0x43b1bf=[],_0x1d9127=[],_0x18a6c4=[],_0x1bcdc1=[],_0x450cd2=[],_0x2843fc=[],_0xe86f38=[],_0x1a24d8=[],_0x9953a8=[],_0xc9765=[];(function(){for(var _0x40f592=[],_0x5bb7f8=0x0;_0x5bb7f8<0x100;_0x5bb7f8++)_0x5bb7f8<0x80?_0x40f592[_0x5bb7f8]=_0x5bb7f8<<0x1:_0x40f592[_0x5bb7f8]=_0x5bb7f8<<0x1^0x11b;for(var _0x30e56e=0x0,_0x6b05eb=0x0,_0x5bb7f8=0x0;_0x5bb7f8<0x100;_0x5bb7f8++){var _0x17a9e1=_0x6b05eb^_0x6b05eb<<0x1^_0x6b05eb<<0x2^_0x6b05eb<<0x3^_0x6b05eb<<0x4;_0x17a9e1=_0x17a9e1>>>0x8^_0x17a9e1&0xff^0x63,_0x43b1bf[_0x30e56e]=_0x17a9e1,_0x1d9127[_0x17a9e1]=_0x30e56e;var _0x4523dc=_0x40f592[_0x30e56e],_0x466c30=_0x40f592[_0x4523dc],_0x55e32a=_0x40f592[_0x466c30],_0x356fda=_0x40f592[_0x17a9e1]*0x101^_0x17a9e1*0x1010100;_0x18a6c4[_0x30e56e]=_0x356fda<<0x18|_0x356fda>>>0x8,_0x1bcdc1[_0x30e56e]=_0x356fda<<0x10|_0x356fda>>>0x10,_0x450cd2[_0x30e56e]=_0x356fda<<0x8|_0x356fda>>>0x18,_0x2843fc[_0x30e56e]=_0x356fda;var _0x356fda=_0x55e32a*0x1010101^_0x466c30*0x10001^_0x4523dc*0x101^_0x30e56e*0x1010100;_0xe86f38[_0x17a9e1]=_0x356fda<<0x18|_0x356fda>>>0x8,_0x1a24d8[_0x17a9e1]=_0x356fda<<0x10|_0x356fda>>>0x10,_0x9953a8[_0x17a9e1]=_0x356fda<<0x8|_0x356fda>>>0x18,_0xc9765[_0x17a9e1]=_0x356fda,_0x30e56e?(_0x30e56e=_0x4523dc^_0x40f592[_0x40f592[_0x40f592[_0x55e32a^_0x4523dc]]],_0x6b05eb^=_0x40f592[_0x40f592[_0x6b05eb]]):_0x30e56e=_0x6b05eb=0x1;}}());var _0x25fdbc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3d6e25=_0x1e1776[_0x2e33e4(0x2ec)]=_0x1cb8b8[_0x2e33e4(0x3ae)]({'_doReset':function(){var _0x1ebedb=_0x2e33e4,_0x4bdc9f;if(!(this[_0x1ebedb(0x42b)]&&this[_0x1ebedb(0x270)]===this[_0x1ebedb(0x2d2)])){for(var _0x269819=this[_0x1ebedb(0x270)]=this[_0x1ebedb(0x2d2)],_0x47ebed=_0x269819[_0x1ebedb(0x3cb)],_0x2fb7e0=_0x269819[_0x1ebedb(0x290)]/0x4,_0x44934e=this['_nRounds']=_0x2fb7e0+0x6,_0x50ea71=(_0x44934e+0x1)*0x4,_0x427b74=this[_0x1ebedb(0x29b)]=[],_0x44f7c4=0x0;_0x44f7c4<_0x50ea71;_0x44f7c4++)_0x44f7c4<_0x2fb7e0?_0x427b74[_0x44f7c4]=_0x47ebed[_0x44f7c4]:(_0x4bdc9f=_0x427b74[_0x44f7c4-0x1],_0x44f7c4%_0x2fb7e0?_0x2fb7e0>0x6&&_0x44f7c4%_0x2fb7e0==0x4&&(_0x4bdc9f=_0x43b1bf[_0x4bdc9f>>>0x18]<<0x18|_0x43b1bf[_0x4bdc9f>>>0x10&0xff]<<0x10|_0x43b1bf[_0x4bdc9f>>>0x8&0xff]<<0x8|_0x43b1bf[_0x4bdc9f&0xff]):(_0x4bdc9f=_0x4bdc9f<<0x8|_0x4bdc9f>>>0x18,_0x4bdc9f=_0x43b1bf[_0x4bdc9f>>>0x18]<<0x18|_0x43b1bf[_0x4bdc9f>>>0x10&0xff]<<0x10|_0x43b1bf[_0x4bdc9f>>>0x8&0xff]<<0x8|_0x43b1bf[_0x4bdc9f&0xff],_0x4bdc9f^=_0x25fdbc[_0x44f7c4/_0x2fb7e0|0x0]<<0x18),_0x427b74[_0x44f7c4]=_0x427b74[_0x44f7c4-_0x2fb7e0]^_0x4bdc9f);for(var _0x30bc15=this[_0x1ebedb(0x1c9)]=[],_0x25ecfb=0x0;_0x25ecfb<_0x50ea71;_0x25ecfb++){var _0x44f7c4=_0x50ea71-_0x25ecfb;if(_0x25ecfb%0x4)var _0x4bdc9f=_0x427b74[_0x44f7c4];else var _0x4bdc9f=_0x427b74[_0x44f7c4-0x4];_0x25ecfb<0x4||_0x44f7c4<=0x4?_0x30bc15[_0x25ecfb]=_0x4bdc9f:_0x30bc15[_0x25ecfb]=_0xe86f38[_0x43b1bf[_0x4bdc9f>>>0x18]]^_0x1a24d8[_0x43b1bf[_0x4bdc9f>>>0x10&0xff]]^_0x9953a8[_0x43b1bf[_0x4bdc9f>>>0x8&0xff]]^_0xc9765[_0x43b1bf[_0x4bdc9f&0xff]];}}},'encryptBlock':function(_0x291a7f,_0xd6672d){var _0x2dfb86=_0x2e33e4;this[_0x2dfb86(0x3f0)](_0x291a7f,_0xd6672d,this[_0x2dfb86(0x29b)],_0x18a6c4,_0x1bcdc1,_0x450cd2,_0x2843fc,_0x43b1bf);},'decryptBlock':function(_0x1dd443,_0x109013){var _0x8b9c9d=_0x2e33e4,_0x52ddfb=_0x1dd443[_0x109013+0x1];_0x1dd443[_0x109013+0x1]=_0x1dd443[_0x109013+0x3],_0x1dd443[_0x109013+0x3]=_0x52ddfb,this[_0x8b9c9d(0x3f0)](_0x1dd443,_0x109013,this['_invKeySchedule'],_0xe86f38,_0x1a24d8,_0x9953a8,_0xc9765,_0x1d9127);var _0x52ddfb=_0x1dd443[_0x109013+0x1];_0x1dd443[_0x109013+0x1]=_0x1dd443[_0x109013+0x3],_0x1dd443[_0x109013+0x3]=_0x52ddfb;},'_doCryptBlock':function(_0x68e6da,_0x481365,_0x543cbc,_0x326d66,_0x45687a,_0x5072b2,_0x50e5de,_0x2cc5b1){var _0x3e7f1f=_0x2e33e4;for(var _0x3a45a9=this[_0x3e7f1f(0x42b)],_0x3c7a09=_0x68e6da[_0x481365]^_0x543cbc[0x0],_0x3353d5=_0x68e6da[_0x481365+0x1]^_0x543cbc[0x1],_0x49e5e3=_0x68e6da[_0x481365+0x2]^_0x543cbc[0x2],_0x1cfba3=_0x68e6da[_0x481365+0x3]^_0x543cbc[0x3],_0x5da3ab=0x4,_0x1c062e=0x1;_0x1c062e<_0x3a45a9;_0x1c062e++){var _0x3778db=_0x326d66[_0x3c7a09>>>0x18]^_0x45687a[_0x3353d5>>>0x10&0xff]^_0x5072b2[_0x49e5e3>>>0x8&0xff]^_0x50e5de[_0x1cfba3&0xff]^_0x543cbc[_0x5da3ab++],_0x2cc282=_0x326d66[_0x3353d5>>>0x18]^_0x45687a[_0x49e5e3>>>0x10&0xff]^_0x5072b2[_0x1cfba3>>>0x8&0xff]^_0x50e5de[_0x3c7a09&0xff]^_0x543cbc[_0x5da3ab++],_0x52f6c4=_0x326d66[_0x49e5e3>>>0x18]^_0x45687a[_0x1cfba3>>>0x10&0xff]^_0x5072b2[_0x3c7a09>>>0x8&0xff]^_0x50e5de[_0x3353d5&0xff]^_0x543cbc[_0x5da3ab++],_0x190dd0=_0x326d66[_0x1cfba3>>>0x18]^_0x45687a[_0x3c7a09>>>0x10&0xff]^_0x5072b2[_0x3353d5>>>0x8&0xff]^_0x50e5de[_0x49e5e3&0xff]^_0x543cbc[_0x5da3ab++];_0x3c7a09=_0x3778db,_0x3353d5=_0x2cc282,_0x49e5e3=_0x52f6c4,_0x1cfba3=_0x190dd0;}var _0x3778db=(_0x2cc5b1[_0x3c7a09>>>0x18]<<0x18|_0x2cc5b1[_0x3353d5>>>0x10&0xff]<<0x10|_0x2cc5b1[_0x49e5e3>>>0x8&0xff]<<0x8|_0x2cc5b1[_0x1cfba3&0xff])^_0x543cbc[_0x5da3ab++],_0x2cc282=(_0x2cc5b1[_0x3353d5>>>0x18]<<0x18|_0x2cc5b1[_0x49e5e3>>>0x10&0xff]<<0x10|_0x2cc5b1[_0x1cfba3>>>0x8&0xff]<<0x8|_0x2cc5b1[_0x3c7a09&0xff])^_0x543cbc[_0x5da3ab++],_0x52f6c4=(_0x2cc5b1[_0x49e5e3>>>0x18]<<0x18|_0x2cc5b1[_0x1cfba3>>>0x10&0xff]<<0x10|_0x2cc5b1[_0x3c7a09>>>0x8&0xff]<<0x8|_0x2cc5b1[_0x3353d5&0xff])^_0x543cbc[_0x5da3ab++],_0x190dd0=(_0x2cc5b1[_0x1cfba3>>>0x18]<<0x18|_0x2cc5b1[_0x3c7a09>>>0x10&0xff]<<0x10|_0x2cc5b1[_0x3353d5>>>0x8&0xff]<<0x8|_0x2cc5b1[_0x49e5e3&0xff])^_0x543cbc[_0x5da3ab++];_0x68e6da[_0x481365]=_0x3778db,_0x68e6da[_0x481365+0x1]=_0x2cc282,_0x68e6da[_0x481365+0x2]=_0x52f6c4,_0x68e6da[_0x481365+0x3]=_0x190dd0;},'keySize':0x100/0x20});_0x1eaf9f[_0x2e33e4(0x2ec)]=_0x1cb8b8[_0x2e33e4(0x33e)](_0x3d6e25);}()),_0x408a1b[_0x5f4c92(0x2ec)];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function Ms(){return ai||(ai=0x1,function(_0x492e7c,_0x3674e3){(function(_0xe5aa7,_0x5e84ac){var _0x245298=_0x406d;_0x492e7c[_0x245298(0x311)]=_0x5e84ac(ie());}(Ls,function(_0x2eea6a){var _0x24c78b=_0x406d;return _0x2eea6a[_0x24c78b(0x40b)][_0x24c78b(0x234)];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze['exports'],oi;function Hs(){return oi||(oi=0x1,function(_0x23b17d,_0x889249){(function(_0x5b0744,_0x1ae711){_0x23b17d['exports']=_0x1ae711(ie());}($s,function(_0x3a0250){var _0x527103=_0x406d;return(function(){var _0x33da74=_0x406d;if(typeof ArrayBuffer==_0x33da74(0x4a2)){var _0xe02fe=_0x3a0250,_0x30e635=_0xe02fe['lib'],_0x3362f4=_0x30e635[_0x33da74(0x418)],_0xc6178c=_0x3362f4[_0x33da74(0x465)],_0x379302=_0x3362f4[_0x33da74(0x465)]=function(_0xfa07e4){var _0x268982=_0x33da74;if(_0xfa07e4 instanceof ArrayBuffer&&(_0xfa07e4=new Uint8Array(_0xfa07e4)),(_0xfa07e4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xfa07e4 instanceof Uint8ClampedArray||_0xfa07e4 instanceof Int16Array||_0xfa07e4 instanceof Uint16Array||_0xfa07e4 instanceof Int32Array||_0xfa07e4 instanceof Uint32Array||_0xfa07e4 instanceof Float32Array||_0xfa07e4 instanceof Float64Array)&&(_0xfa07e4=new Uint8Array(_0xfa07e4[_0x268982(0x29c)],_0xfa07e4['byteOffset'],_0xfa07e4[_0x268982(0x410)])),_0xfa07e4 instanceof Uint8Array){for(var _0x41dd89=_0xfa07e4[_0x268982(0x410)],_0x49545f=[],_0x94ea52=0x0;_0x94ea52<_0x41dd89;_0x94ea52++)_0x49545f[_0x94ea52>>>0x2]|=_0xfa07e4[_0x94ea52]<<0x18-_0x94ea52%0x4*0x8;_0xc6178c[_0x268982(0x239)](this,_0x49545f,_0x41dd89);}else _0xc6178c['apply'](this,arguments);};_0x379302[_0x33da74(0x408)]=_0x3362f4;}}()),_0x3a0250[_0x527103(0x396)][_0x527103(0x418)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x52ec77(0x311)],ci;function Vs(){return ci||(ci=0x1,function(_0x348d4b,_0x33a6bf){(function(_0x167a46,_0x20f337,_0x341957){var _0x2c7796=_0x406d;_0x348d4b[_0x2c7796(0x311)]=_0x20f337(ie(),Ai());}(Fs,function(_0x385df5){var _0x2e0c55=_0x406d;return _0x385df5[_0x2e0c55(0x2f3)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x385df5[_0x2e0c55(0x2f3)][_0x2e0c55(0x27f)];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x1dccba,_0x4031f){var _0x35e11d=_0x52ec77;const _0x155f83=_0x4031f-_0x1dccba[_0x35e11d(0x35b)]%_0x4031f,_0x20c2d5=String[_0x35e11d(0x356)](_0x155f83)['repeat'](_0x155f83);return _0x1dccba+_0x20c2d5;}function Ks(_0x5ef108,_0x464fb4){var _0x13956c=_0x52ec77;const _0x2c8e0c=js[_0x13956c(0x3c9)](0x10),_0x46ca05=Ys(_0x5ef108,0x10),_0x2d3b68=ws[_0x13956c(0x41a)](ks[_0x13956c(0x34a)](_0x46ca05),ri['parse'](_0x464fb4),{'iv':_0x2c8e0c,'padding':Ws});return _0x2c8e0c[_0x13956c(0x1f6)](_0x2d3b68[_0x13956c(0x25b)])[_0x13956c(0x326)](ri);}function qs(){var _0x25a96c=_0x52ec77;const _0x55899a=_0x4f567e()[_0x25a96c(0x223)];if(_0x55899a){const _0x45d4ac={'time':Math[_0x25a96c(0x277)](Date['now']()/0x3e8),'domain':location[_0x25a96c(0x2b4)]};return Ks(JSON[_0x25a96c(0x33b)](_0x45d4ac),_0x55899a);}}var zs=Object[_0x52ec77(0x2a4)],Js=(_0x1e18a0,_0x1d2fc0,_0x589bd3,_0x51c0f0)=>{var _0x2e7491=_0x52ec77;for(var _0x5e4186=_0x51c0f0>0x1?void 0x0:_0x51c0f0?zs(_0x1d2fc0,_0x589bd3):_0x1d2fc0,_0x45cd5f=_0x1e18a0[_0x2e7491(0x35b)]-0x1,_0x239c51;_0x45cd5f>=0x0;_0x45cd5f--)(_0x239c51=_0x1e18a0[_0x45cd5f])&&(_0x5e4186=_0x239c51(_0x5e4186)||_0x5e4186);return _0x5e4186;},Xs=(_0x1b4a4f,_0x2764f7)=>(_0x6e0de,_0x291cbb)=>_0x2764f7(_0x6e0de,_0x291cbb,_0x1b4a4f);let at=class{constructor(_0x280ea8){var _0x453a6e=_0x52ec77;this['_httpService']=_0x280ea8,this[_0x453a6e(0x44a)]();}[_0x52ec77(0x44a)](){var _0x3f76e7=_0x52ec77;this[_0x3f76e7(0x32b)][_0x3f76e7(0x29e)]({'interceptor':(_0x41782e,_0x503b0b)=>{var _0x1aaec9=_0x3f76e7;const _0x91dae0=_0x41782e[_0x1aaec9(0x1f4)],_0x2ec1f0=qs();return _0x2ec1f0&&_0x91dae0[_0x1aaec9(0x32c)](_0x1aaec9(0x47b),_0x2ec1f0),_0x503b0b(_0x41782e);}});}};at=Js([Xs(0x0,_0xba0ecf(_0x540523))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x438c50,_0x36448f,_0x3c54d9,_0x5a9884)=>{for(var _0x2af260=_0x5a9884>0x1?void 0x0:_0x5a9884?Zs(_0x36448f,_0x3c54d9):_0x36448f,_0x551e85=_0x438c50['length']-0x1,_0x182d3c;_0x551e85>=0x0;_0x551e85--)(_0x182d3c=_0x438c50[_0x551e85])&&(_0x2af260=_0x182d3c(_0x2af260)||_0x2af260);return _0x2af260;},mt=(_0x34dc8e,_0x347399)=>(_0x47e25e,_0x85cd6)=>_0x347399(_0x47e25e,_0x85cd6,_0x34dc8e);let bt=class extends _0x3fa1f4{constructor(_0x54201b,_0x512d22,_0x969b98){var _0xcefb26=_0x52ec77;super(),N(this,_0xcefb26(0x1dc),new _0x4340e3(null)),N(this,_0xcefb26(0x269),this[_0xcefb26(0x1dc)]['asObservable']()),(this['_logService']=_0x54201b,this[_0xcefb26(0x3ff)]=_0x512d22,this[_0xcefb26(0x1fb)]=_0x969b98);}async[_0x52ec77(0x45b)](_0x1d9eb9,_0x2ecec8,_0x1d13c8){var _0xe9dd40=_0x52ec77;this[_0xe9dd40(0x1dc)][_0xe9dd40(0x430)]({'unitId':_0x1d9eb9,'type':_0x2ecec8,'subUnitId':_0x1d13c8});let _0x1717f4=null;switch(_0x2ecec8){case Q[_0xe9dd40(0x20b)]:{_0x1717f4=await this[_0xe9dd40(0x22e)](_0x1d9eb9);break;}case Q[_0xe9dd40(0x2c0)]:{_0x1717f4=await this['_loadDoc'](_0x1d9eb9);break;}default:{this[_0xe9dd40(0x45f)][_0xe9dd40(0x49b)](_0xe9dd40(0x39d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1717f4;}async[_0x52ec77(0x22e)](_0x4cf83a){var _0x143c51=_0x52ec77,_0x5abe1a;let _0x482c65=0x0;const _0x2f934c=await((_0x5abe1a=this[_0x143c51(0x1fb)])==null?void 0x0:_0x5abe1a['loadOfflineData'](_0x4cf83a));return _0x2f934c&&(_0x2f934c[_0x143c51(0x328)]||_0x2f934c[_0x143c51(0x34d)][_0x143c51(0x35b)]!==0x0)&&(_0x482c65=_0x2f934c[_0x143c51(0x387)]),_0x482c65===0x0&&this['_logService'][_0x143c51(0x27a)](_0x143c51(0x39d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x143c51(0x3ff)]['loadSheet'](_0x4cf83a,_0x482c65);}async['_loadDoc'](_0x1670f9){var _0x33457c=_0x52ec77,_0x432552;let _0x53d70b=0x0;const _0x1e464c=await((_0x432552=this[_0x33457c(0x1fb)])==null?void 0x0:_0x432552[_0x33457c(0x48b)](_0x1670f9));return _0x1e464c&&(_0x1e464c['awaitingChangeset']||_0x1e464c[_0x33457c(0x34d)][_0x33457c(0x35b)]!==0x0)&&(_0x53d70b=_0x1e464c[_0x33457c(0x387)]),_0x53d70b===0x0&&this[_0x33457c(0x45f)][_0x33457c(0x27a)](_0x33457c(0x39d),_0x33457c(0x3f1)),this[_0x33457c(0x3ff)][_0x33457c(0x4bb)](_0x1670f9,_0x53d70b);}};bt=Qs([mt(0x0,_0x9fbca6),mt(0x1,_0xba0ecf(_0x535422)),mt(0x2,_0x7418f6(J))],bt);var er=Object[_0x52ec77(0x2a4)],tr=(_0x31fee3,_0x7e8578,_0x5284bd,_0x5cdcf3)=>{var _0x10fa3a=_0x52ec77;for(var _0x26f2b0=_0x5cdcf3>0x1?void 0x0:_0x5cdcf3?er(_0x7e8578,_0x5284bd):_0x7e8578,_0x29f661=_0x31fee3[_0x10fa3a(0x35b)]-0x1,_0x258206;_0x29f661>=0x0;_0x29f661--)(_0x258206=_0x31fee3[_0x29f661])&&(_0x26f2b0=_0x258206(_0x26f2b0)||_0x26f2b0);return _0x26f2b0;},gt=(_0x201d12,_0x1ba8cc)=>(_0x459897,_0x54df5b)=>_0x1ba8cc(_0x459897,_0x54df5b,_0x201d12);const ir=['image/png',_0x52ec77(0x249),_0x52ec77(0x302),_0x52ec77(0x43c),_0x52ec77(0x309)],nr=0x5*0x400*0x400,sr=_0x52ec77(0x1cc),rr=_0x52ec77(0x280),ar=_0x52ec77(0x285),or=_0x52ec77(0x365);let Ot=class{constructor(_0x59acbf,_0x547a78,_0x4573f0){var _0x171e9a=_0x52ec77;N(this,_0x171e9a(0x2bb),0x0),N(this,_0x171e9a(0x412),new _0xa2c003()),N(this,_0x171e9a(0x35d),this[_0x171e9a(0x412)]),N(this,_0x171e9a(0x295),new Map()),(this['_httpService']=_0x59acbf,this[_0x171e9a(0x3b0)]=_0x547a78,this[_0x171e9a(0x485)]=_0x4573f0);}[_0x52ec77(0x292)](_0x47067e){var _0xa5bcf9=_0x52ec77;this[_0xa5bcf9(0x2bb)]=_0x47067e,this[_0xa5bcf9(0x412)]['next'](_0x47067e);}[_0x52ec77(0x43b)](_0x4ab320,_0x386d8e){var _0x38050e=_0x52ec77;if(_0x386d8e===_0xc8b8f6[_0x38050e(0x1fd)]){const _0xf7fb25=new Image();return _0xf7fb25[_0x38050e(0x448)]=_0x4ab320,_0xf7fb25;}return this[_0x38050e(0x295)]['get'](_0x4ab320);}[_0x52ec77(0x3fe)](_0x4811ba,_0x1f217d,_0x16889c){var _0xc906cf=_0x52ec77;_0x1f217d===_0xc8b8f6[_0xc906cf(0x1fd)]||_0x16889c==null||this['_imageSourceCache']['set'](_0x4811ba,_0x16889c);}async[_0x52ec77(0x1e1)](_0x17c966){var _0x5adf1d=_0x52ec77;try{const _0x2e2378=this[_0x5adf1d(0x31d)](this[_0x5adf1d(0x258)](),''+_0x17c966),_0x3bea1f=(await this['_httpService'][_0x5adf1d(0x2da)](_0x2e2378))[_0x5adf1d(0x4b9)];if(_0x3bea1f['error']&&_0x3bea1f[_0x5adf1d(0x49b)][_0x5adf1d(0x48e)]===Si['OK']){const _0x22ee06=new URL(_0x3bea1f[_0x5adf1d(0x474)],this[_0x5adf1d(0x442)]())[_0x5adf1d(0x326)]();return Promise[_0x5adf1d(0x3a5)](_0x22ee06);}return Promise[_0x5adf1d(0x40f)](_0x3bea1f['error']);}catch(_0x5bfd21){return Promise[_0x5adf1d(0x40f)](_0x5bfd21);}}async[_0x52ec77(0x33f)](_0x3a6570){var _0x148250=_0x52ec77;let _0x4be391='';if(!ir[_0x148250(0x363)](_0x3a6570[_0x148250(0x3e5)]))return this[_0x148250(0x2f0)](),Promise['reject'](new Error(_0x2b4a97[_0x148250(0x324)]));if(_0x3a6570[_0x148250(0x3fb)]>nr)return this[_0x148250(0x2f0)](),Promise[_0x148250(0x40f)](new Error(_0x2b4a97['ERROR_EXCEED_SIZE']));try{const _0x37ba23=new FormData();_0x37ba23[_0x148250(0x488)](_0x148250(0x399),_0x3a6570);const _0x229d60=this['_univerInstanceService'][_0x148250(0x496)](),_0x5004e9=_0x229d60==null?void 0x0:_0x229d60[_0x148250(0x38a)]();if(!_0x5004e9)throw new Error(_0x148250(0x47a));const _0x5e3c17=this[_0x148250(0x2c4)]()+_0x148250(0x3ca)+_0x3a6570[_0x148250(0x3fb)][_0x148250(0x326)]()+'&source='+Ei['UnitEmbedded']+_0x148250(0x20e)+encodeURIComponent(_0x5004e9),_0x2901a4={'body':_0x37ba23},_0x2cb1b6=(await this['_httpService']['post'](_0x5e3c17,_0x2901a4))[_0x148250(0x4b9)];if(typeof _0x2cb1b6['FileId']!=_0x148250(0x38d))return this[_0x148250(0x2f0)](),Promise['reject'](new Error(_0x2b4a97['ERROR_IMAGE']));_0x4be391=_0x2cb1b6['FileId'];}catch{return this[_0x148250(0x2f0)](),Promise[_0x148250(0x40f)](new Error(_0x2b4a97['ERROR_IMAGE']));}return new Promise((_0x1e7dea,_0x4ffa40)=>{var _0x1182c4=_0x148250;const _0x1c0b4c=new FileReader();_0x1c0b4c[_0x1182c4(0x40c)](_0x3a6570),_0x1c0b4c['onload']=_0x314511=>{var _0x4caf4d=_0x1182c4,_0x296475;const _0x22588c=(_0x296475=_0x314511[_0x4caf4d(0x330)])==null?void 0x0:_0x296475['result'];if(_0x22588c==null){this[_0x4caf4d(0x2f0)](),_0x4ffa40(new Error(_0x2b4a97[_0x4caf4d(0x2e7)]));return;}const _0xaf3c04=_0x493d53[_0x4caf4d(0x4a3)](0x6);_0x1e7dea({'imageId':_0xaf3c04,'imageSourceType':_0xc8b8f6[_0x4caf4d(0x244)],'source':_0x4be391,'base64Cache':_0x22588c,'status':_0x2b4a97[_0x4caf4d(0x218)]}),this[_0x4caf4d(0x2f0)]();};});}[_0x52ec77(0x2c4)](){var _0x50e641=_0x52ec77,_0x4fd5bb,_0x293de6;const _0x3d97f8=this[_0x50e641(0x3b0)]['getConfig'](sr),_0x1bf65b=this[_0x50e641(0x3b0)][_0x50e641(0x3f9)](q);return(_0x293de6=(_0x4fd5bb=_0x1bf65b==null?void 0x0:_0x1bf65b[_0x50e641(0x2cc)])!=null?_0x4fd5bb:_0x3d97f8)!=null?_0x293de6:rr;}[_0x52ec77(0x258)](){var _0x12652b=_0x52ec77,_0x200c38,_0xce3c8;const _0xef03=this[_0x12652b(0x3b0)][_0x12652b(0x3f9)](ar),_0x2fcd91=this['_configService'][_0x12652b(0x3f9)](q);return(_0xce3c8=(_0x200c38=_0x2fcd91==null?void 0x0:_0x2fcd91[_0x12652b(0x24a)])!=null?_0x200c38:_0xef03)!=null?_0xce3c8:or;}[_0x52ec77(0x442)](){var _0x1d3973=_0x52ec77,_0x20cf6e;const _0x21b9db=this[_0x1d3973(0x3b0)][_0x1d3973(0x3f9)](q);return(_0x20cf6e=_0x21b9db==null?void 0x0:_0x21b9db[_0x1d3973(0x1c6)])!=null?_0x20cf6e:location[_0x1d3973(0x268)];}[_0x52ec77(0x31d)](_0x5aab21,_0x5e366c){var _0x22901e=_0x52ec77;return _0x5aab21['replace'](_0x22901e(0x3f3),_0x5e366c);}[_0x52ec77(0x2f0)](){var _0x33fee5=_0x52ec77;this[_0x33fee5(0x2bb)]-=0x1,this['_change$'][_0x33fee5(0x430)](this[_0x33fee5(0x2bb)]);}};Ot=tr([gt(0x0,_0xba0ecf(_0x540523)),gt(0x1,_0x88d960),gt(0x2,_0xba0ecf(_0x23b21c))],Ot);var cr=Object[_0x52ec77(0x2a4)],hr=(_0x10f129,_0x38d75f,_0x29a3d0,_0x3f7830)=>{var _0x2a18ba=_0x52ec77;for(var _0x2d985b=_0x3f7830>0x1?void 0x0:_0x3f7830?cr(_0x38d75f,_0x29a3d0):_0x38d75f,_0x4081b5=_0x10f129[_0x2a18ba(0x35b)]-0x1,_0x45c4b4;_0x4081b5>=0x0;_0x4081b5--)(_0x45c4b4=_0x10f129[_0x4081b5])&&(_0x2d985b=_0x45c4b4(_0x2d985b)||_0x2d985b);return _0x2d985b;},hi=(_0x380b0f,_0x416c5b)=>(_0x54950a,_0x47b012)=>_0x416c5b(_0x54950a,_0x47b012,_0x380b0f);const _r='/universer-api/authz';let yt=class{constructor(_0x559107,_0x59a446){var _0x259162=_0x52ec77;this[_0x259162(0x3b0)]=_0x559107,this[_0x259162(0x468)]=_0x59a446;}[_0x52ec77(0x487)](){var _0x38f2c6=_0x52ec77,_0x3d16e0,_0x23662e;const _0x11fe53=this[_0x38f2c6(0x3b0)]['getConfig'](Ni),_0x576a57=this[_0x38f2c6(0x3b0)]['getConfig'](q);return(_0x23662e=(_0x3d16e0=_0x576a57==null?void 0x0:_0x576a57[_0x38f2c6(0x255)])!=null?_0x3d16e0:_0x11fe53)!=null?_0x23662e:_r;}async['list'](_0x2e9986){var _0xa3c1b5=_0x52ec77;const _0x6132f1=this[_0xa3c1b5(0x487)]()+_0xa3c1b5(0x336);return{'list':[{'title':_0xa3c1b5(0x2e0),'mentions':(await this['_HTTPService'][_0xa3c1b5(0x2da)](_0x6132f1,{'params':{'objectID':_0x2e9986[_0xa3c1b5(0x22c)],'unitID':_0x2e9986[_0xa3c1b5(0x22c)]}}))[_0xa3c1b5(0x4b9)][_0xa3c1b5(0x35a)][_0xa3c1b5(0x3e7)](_0x55466a=>({'objectId':_0x55466a['id'],'name':_0x55466a[_0xa3c1b5(0x319)][_0xa3c1b5(0x2fd)],'metadata':{'icon':_0x55466a['subject'][_0xa3c1b5(0x403)]},'label':_0x55466a[_0xa3c1b5(0x319)][_0xa3c1b5(0x2fd)],'objectType':_0x211eb4[_0xa3c1b5(0x39b)]})),'metadata':{},'type':_0x211eb4[_0xa3c1b5(0x39b)]}]};}};yt=hr([hi(0x0,_0xba0ecf(_0x88d960)),hi(0x1,_0xba0ecf(_0x540523))],yt);var lr=Object[_0x52ec77(0x2a4)],ur=(_0x437786,_0x277a62,_0x5b5dc8,_0x5c5d72)=>{var _0x4e62f3=_0x52ec77;for(var _0x3d1d56=_0x5c5d72>0x1?void 0x0:_0x5c5d72?lr(_0x277a62,_0x5b5dc8):_0x277a62,_0x42a3dc=_0x437786[_0x4e62f3(0x35b)]-0x1,_0x28e4c2;_0x42a3dc>=0x0;_0x42a3dc--)(_0x28e4c2=_0x437786[_0x42a3dc])&&(_0x3d1d56=_0x28e4c2(_0x3d1d56)||_0x3d1d56);return _0x3d1d56;},we=(_0x4dfdd5,_0x4f0c27)=>(_0x42b1b2,_0x343e50)=>_0x4f0c27(_0x42b1b2,_0x343e50,_0x4dfdd5);let ot=class extends _0x3fa1f4{constructor(_0x3bfdf5,_0x1d31f6,_0x5de0a2,_0x499cf4,_0x2a842d){var _0x2f9d1a=_0x52ec77;super(),this[_0x2f9d1a(0x32a)]=_0x3bfdf5,this[_0x2f9d1a(0x485)]=_0x1d31f6,this[_0x2f9d1a(0x4bf)]=_0x5de0a2,this[_0x2f9d1a(0x1f9)]=_0x499cf4,this['_collaborationUIEventService']=_0x2a842d,this['_initUnitPermissionChange'](),this[_0x2f9d1a(0x3d3)]();}[_0x52ec77(0x3d3)](){var _0x124f7f=_0x52ec77;const _0x4be092=async _0x3e5efb=>{var _0x41a3ca=_0x406d;(await this['_collaborationSessionService'][_0x41a3ca(0x47e)](_0x3e5efb))[_0x41a3ca(0x41d)]['pipe'](_0x23e992(_0x4169f3=>_0x4169f3[_0x41a3ca(0x45d)]===_0x3eeb59['SHOULD_CLOSE_CONN']),_0x516950(this['dispose$']))[_0x41a3ca(0x420)](_0x937368=>{var _0x30a7f5=_0x41a3ca;const _0x3c7d1b=_0x937368,{reason:_0x2df5b4}=_0x3c7d1b['data'];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x30a7f5(0x3b6)],'data':_0x2df5b4}),this[_0x30a7f5(0x4bf)]['updatePermissionPoint'](new _0x2805e7(_0x3e5efb)['id'],!0x1),this['_collaborationSessionService'][_0x30a7f5(0x346)](_0x3e5efb);});};_0x87bfc3(this[_0x124f7f(0x485)][_0x124f7f(0x378)](_0x177373[_0x124f7f(0x20b)]),this[_0x124f7f(0x485)]['getTypeOfUnitAdded$'](_0x177373[_0x124f7f(0x2c0)]))[_0x124f7f(0x3a9)](_0x45bba4(_0x4d9f7a=>_0x4d9f7a[_0x124f7f(0x38a)]()),_0x23e992(_0x57e331=>!_0x24270f(_0x57e331)),_0x516950(this[_0x124f7f(0x1e7)]))['subscribe'](_0x5ae498=>{_0x4be092(_0x5ae498);});}[_0x52ec77(0x364)](){var _0x8924f=_0x52ec77;const _0x171663=async _0x33f792=>{var _0x55071f=_0x406d;const _0x3ba1ea=await this[_0x55071f(0x1f9)][_0x55071f(0x47e)](_0x33f792),_0x41e10b=this[_0x55071f(0x32a)]['get'](_0x36210a);_0x3ba1ea[_0x55071f(0x41d)][_0x55071f(0x3a9)](_0x23e992(_0x123136=>_0x123136[_0x55071f(0x45d)]===_0x3eeb59[_0x55071f(0x393)]),_0x516950(this[_0x55071f(0x1e7)]))[_0x55071f(0x420)](_0x452994=>{var _0x1014de=_0x55071f;const _0x38a788=_0x452994,{objectId:_0x33378d}=_0x38a788[_0x1014de(0x34e)];_0x33378d===_0x33f792?_0x41e10b[_0x1014de(0x38f)](_0x33f792):_0x41e10b[_0x1014de(0x349)](_0x33f792,_0x33378d);});};_0x87bfc3(this['_univerInstanceService'][_0x8924f(0x378)](_0x177373[_0x8924f(0x20b)]))[_0x8924f(0x3a9)](_0x45bba4(_0x58a9ce=>_0x58a9ce['getUnitId']()),_0x23e992(_0x4cf407=>!_0x24270f(_0x4cf407)),_0x516950(this[_0x8924f(0x1e7)]))[_0x8924f(0x420)](_0xedc89a=>{_0x171663(_0xedc89a);});}};ot=ur([we(0x0,_0xba0ecf(_0x8e3ca0)),we(0x1,_0x23b21c),we(0x2,_0x206a87),we(0x3,_0xba0ecf(Me)),we(0x4,_0xba0ecf(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x43537f,_0x3c456b,_0x337397,_0x55f122)=>{var _0x1289d9=_0x52ec77;for(var _0x2173db=_0x55f122>0x1?void 0x0:_0x55f122?dr(_0x3c456b,_0x337397):_0x3c456b,_0x340f6e=_0x43537f[_0x1289d9(0x35b)]-0x1,_0x578f15;_0x340f6e>=0x0;_0x340f6e--)(_0x578f15=_0x43537f[_0x340f6e])&&(_0x2173db=_0x578f15(_0x2173db)||_0x2173db);return _0x2173db;},_i=(_0x376b2b,_0x7c35c1)=>(_0x4861ab,_0x241baf)=>_0x7c35c1(_0x4861ab,_0x241baf,_0x376b2b);let Nt=class{constructor(_0x89a759,_0x5ae50e){this['_configService']=_0x89a759,this['_httpService']=_0x5ae50e;}async[_0x52ec77(0x368)](_0xbd0598,_0x3d2353){var _0x2c270f=_0x52ec77,_0x399c76;const {unitID:_0x57f977,type:_0x2b259a,revision:_0x4e475e=0x0}=_0x3d2353,_0x2f8e45=this[_0x2c270f(0x27e)]()+'/'+_0x2b259a+_0x2c270f(0x460)+_0x57f977+_0x2c270f(0x3b7)+_0x4e475e,_0x55a26e=(await this[_0x2c270f(0x32b)][_0x2c270f(0x2da)](_0x2f8e45))[_0x2c270f(0x4b9)],_0x379306=(_0x399c76=_0x55a26e['snapshot'])==null?void 0x0:_0x399c76[_0x2c270f(0x476)];if(_0x379306){const _0x2f4934=_0x379306==null?void 0x0:_0x379306[_0x2c270f(0x369)],_0x2996a9=_0x3d05d7[_0x2c270f(0x257)](_0x2eb3b3(_0x2f4934));_0x379306[_0x2c270f(0x369)]=_0x2996a9,Object['entries'](_0x379306[_0x2c270f(0x1e5)])['forEach'](([,_0x566a11])=>{var _0x7aa99=_0x2c270f;const _0x56e6b4=_0x566a11[_0x7aa99(0x369)],_0x5420eb=_0x3d05d7[_0x7aa99(0x257)](_0x2eb3b3(_0x56e6b4));_0x566a11[_0x7aa99(0x369)]=_0x5420eb;});}return _0x55a26e;}async[_0x52ec77(0x44f)](_0x2e8c2f,_0x406b8c){var _0xa5b2ed=_0x52ec77;const {unitID:_0x4daa10,type:_0x4b0e87,blockID:_0x1bbc01}=_0x406b8c,_0xff0d92=this['_getAPIPrefix']()+'/'+_0x4b0e87+_0xa5b2ed(0x460)+_0x4daa10+_0xa5b2ed(0x2df)+_0x1bbc01;return(await this[_0xa5b2ed(0x32b)][_0xa5b2ed(0x2da)](_0xff0d92))[_0xa5b2ed(0x4b9)];}async['getDeserializedSheetBlock'](_0x573c56,_0x324c9e){var _0x487100=_0x52ec77;const {unitID:_0xb9f675,type:_0x303350,blockID:_0x5a96d3}=_0x324c9e,_0x2b3c0f=this[_0x487100(0x3e0)]()+_0x487100(0x2df)+_0x303350+_0x487100(0x460)+_0xb9f675+'/block/'+_0x5a96d3;return(await this[_0x487100(0x32b)][_0x487100(0x2da)](_0x2b3c0f))[_0x487100(0x4b9)];}async[_0x52ec77(0x342)](_0x3d3c43,_0x246c28){var _0xa2840f=_0x52ec77;const {unitID:_0x43cdac,type:_0xecebef,from:_0xc07174,to:_0x237847}=_0x246c28,_0x2d5372=this['_getAPIPrefix']()+'/'+_0xecebef+'/unit/'+_0x43cdac+_0xa2840f(0x42f)+_0xc07174+'&to='+_0x237847;return(await this[_0xa2840f(0x32b)][_0xa2840f(0x2da)](_0x2d5372))[_0xa2840f(0x4b9)];}['getSnapshotAPIPath'](){var _0x4b457c=_0x52ec77,_0x170de4;return(_0x170de4=this['_configService'][_0x4b457c(0x3f9)](Sn))!=null?_0x170de4:this[_0x4b457c(0x3e0)]();}[_0x52ec77(0x3e0)](){var _0x4f3b9f=_0x52ec77,_0x277101,_0xda6d2e;const _0x4765a4=this[_0x4f3b9f(0x3b0)][_0x4f3b9f(0x3f9)](mn),_0x311ec2=this[_0x4f3b9f(0x3b0)][_0x4f3b9f(0x3f9)](q);return(_0xda6d2e=(_0x277101=_0x311ec2==null?void 0x0:_0x311ec2['snapshotServerUrl'])!=null?_0x277101:_0x4765a4)!=null?_0xda6d2e:gn;}async[_0x52ec77(0x2bf)](_0xb9f66f,_0x120379){var _0x2129b1=_0x52ec77;const _0x5358a4=_0x2129b1(0x48a)+_0x120379[_0x2129b1(0x3e5)]+'/unit/'+_0x120379[_0x2129b1(0x308)]+_0x2129b1(0x2ae);return(await this[_0x2129b1(0x32b)]['get'](_0x5358a4,{'params':{'resourceId':JSON[_0x2129b1(0x33b)](_0x120379[_0x2129b1(0x40d)])}}))[_0x2129b1(0x4b9)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x52ec77(0x321)](){var _0x1ccefd=_0x52ec77;throw new Error(_0x1ccefd(0x296));}[_0x52ec77(0x1c7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x52ec77(0x256)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x52ec77(0x1d8)](){var _0x53e427=_0x52ec77;throw new Error(_0x53e427(0x296));}};Nt=fr([_i(0x0,_0x88d960),_i(0x1,_0xba0ecf(_0x540523))],Nt);var vr=Object[_0x52ec77(0x2a4)],pr=(_0x10ecbb,_0x4024cb,_0x37216e,_0x4dae23)=>{var _0x1ca2ab=_0x52ec77;for(var _0x202e8b=_0x4dae23>0x1?void 0x0:_0x4dae23?vr(_0x4024cb,_0x37216e):_0x4024cb,_0x8c5775=_0x10ecbb[_0x1ca2ab(0x35b)]-0x1,_0x44cedd;_0x8c5775>=0x0;_0x8c5775--)(_0x44cedd=_0x10ecbb[_0x8c5775])&&(_0x202e8b=_0x44cedd(_0x202e8b)||_0x202e8b);return _0x202e8b;},Pe=(_0x103767,_0x8ba384)=>(_0x434f74,_0x1ce673)=>_0x8ba384(_0x434f74,_0x1ce673,_0x103767);let Dt=class extends _0x5b8ef1{constructor(_0x3968e8,_0x276eba,_0x41636c,_0x36f9dc,_0x5d87d9){var _0x5b0cbf=_0x52ec77;super(_0x3968e8,_0x276eba,_0x41636c),this[_0x5b0cbf(0x1dd)]=_0x36f9dc,this[_0x5b0cbf(0x45f)]=_0x5d87d9;}[_0x52ec77(0x450)](_0x52201c,_0x569a8f){var _0x4a015b=_0x52ec77;const _0x32882e=this['_getUndoStack'](_0x52201c);if(_0x32882e)try{const _0x260bd3=this['_transformStack'](_0x32882e,_0x569a8f);this[_0x4a015b(0x3e4)](_0x52201c,_0x260bd3);}catch(_0x1a3bab){this[_0x4a015b(0x45f)][_0x4a015b(0x49b)](_0x4a015b(0x2fa),_0x1a3bab),this[_0x4a015b(0x1e9)](_0x52201c);}const _0x1e90ee=this['_getRedoStack'](_0x52201c);if(_0x1e90ee)try{const _0x4e50db=this[_0x4a015b(0x482)](_0x1e90ee,_0x569a8f);this[_0x4a015b(0x325)](_0x52201c,_0x4e50db);}catch(_0x2c7646){this[_0x4a015b(0x45f)]['error'](_0x2c7646),this[_0x4a015b(0x3ab)](_0x52201c);}}[_0x52ec77(0x1e9)](_0x30207c){var _0x216398=_0x52ec77;const _0x271ff4=this[_0x216398(0x3df)](_0x30207c);_0x271ff4&&(_0x271ff4['length']=0x0,this['_updateStatus']());}[_0x52ec77(0x3ab)](_0x39a280){var _0x2cb987=_0x52ec77;const _0x3c031e=this[_0x2cb987(0x23f)](_0x39a280);_0x3c031e&&(_0x3c031e[_0x2cb987(0x35b)]=0x0,this['_updateStatus']());}[_0x52ec77(0x3e4)](_0x503490,_0x5d0796){var _0x211c44=_0x52ec77;this[_0x211c44(0x1c0)][_0x211c44(0x32c)](_0x503490,_0x5d0796),this[_0x211c44(0x3f5)]();}[_0x52ec77(0x325)](_0x197834,_0x5e8e50){var _0x333782=_0x52ec77;this[_0x333782(0x3a1)][_0x333782(0x32c)](_0x197834,_0x5e8e50),this[_0x333782(0x3f5)]();}[_0x52ec77(0x482)](_0x138197,_0x1ddc64){var _0x57e5e9=_0x52ec77;const _0x556ddb=[];let _0x2f3c6c=_0x1ddc64,_0x371d33=_0x1ddc64;for(let _0x5184f1=_0x138197['length']-0x1;_0x5184f1>=0x0;_0x5184f1--){const {unitID:_0x345a2d,undoMutations:_0x541695,redoMutations:_0x5042f4}=_0x138197[_0x5184f1],_0x5486c2=this[_0x57e5e9(0x1dd)]['transformMutationsWithChangeset'](_0x2f3c6c,_0x541695),_0x376551=this['_transformService']['transformMutationsWithChangeset'](_0x371d33,_0x5042f4);if(_0x246dc7(_0x5486c2)||_0x246dc7(_0x376551)){this[_0x57e5e9(0x45f)]['error']('[CollaborationUndoRedoService]',_0x57e5e9(0x40e),_0x5486c2,_0x376551);break;}_0x2f3c6c=_0x5486c2['c1Prime'],_0x371d33=_0x376551[_0x57e5e9(0x338)],_0x556ddb[_0x57e5e9(0x22b)]({'unitID':_0x345a2d,'undoMutations':_0x5486c2[_0x57e5e9(0x220)],'redoMutations':_0x376551[_0x57e5e9(0x220)]});}return _0x556ddb[_0x57e5e9(0x49c)]();}};Dt=pr([Pe(0x0,_0x23b21c),Pe(0x1,_0x5481d1),Pe(0x2,_0x9b5302),Pe(0x3,_0x106d03),Pe(0x4,_0x9fbca6)],Dt);var mr=Object[_0x52ec77(0x320)],gr=Object[_0x52ec77(0x2a4)],Sr=(_0x481ee1,_0x15a540,_0x2b6ea2)=>_0x15a540 in _0x481ee1?mr(_0x481ee1,_0x15a540,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b6ea2}):_0x481ee1[_0x15a540]=_0x2b6ea2,Er=(_0x6cd445,_0x5b7ecf,_0x1f50ce,_0x582a04)=>{var _0x259583=_0x52ec77;for(var _0x159d40=_0x582a04>0x1?void 0x0:_0x582a04?gr(_0x5b7ecf,_0x1f50ce):_0x5b7ecf,_0xaf3325=_0x6cd445[_0x259583(0x35b)]-0x1,_0x3b285d;_0xaf3325>=0x0;_0xaf3325--)(_0x3b285d=_0x6cd445[_0xaf3325])&&(_0x159d40=_0x3b285d(_0x159d40)||_0x159d40);return _0x159d40;},St=(_0x3199ff,_0x4431d4)=>(_0x158d37,_0x67ff70)=>_0x4431d4(_0x158d37,_0x67ff70,_0x3199ff),Ir=(_0x2fc843,_0x5040a6,_0x3517bc)=>Sr(_0x2fc843,_0x5040a6+'',_0x3517bc);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x5ad994{constructor(_0x5eb7fe,_0x2bd91f,_0x1fd438,_0x5ac0d7){var _0x1231f7=_0x52ec77;super(),N(this,_0x1231f7(0x3a8)),(this[_0x1231f7(0x45f)]=_0x2bd91f,this[_0x1231f7(0x32a)]=_0x1fd438,this[_0x1231f7(0x3b0)]=_0x5ac0d7);const {..._0x2803ab}=_0x2a362f({},wn,_0x5eb7fe);if(!_0x2803ab[_0x1231f7(0x4ad)])throw new Error(_0x1231f7(0x1ba));this[_0x1231f7(0x3a8)]=_0x2803ab,this['_configService'][_0x1231f7(0x3f8)](q,_0x2803ab);}[_0x52ec77(0x4aa)](){var _0x1ca151=_0x52ec77;this[_0x1ca151(0x354)](),this['_initDependencies']();}[_0x52ec77(0x354)](){var _0x1db893=_0x52ec77,_0xf41431,_0x1eeb26;this['_injector'][_0x1db893(0x322)](_0x2fdb04)&&this[_0x1db893(0x45f)][_0x1db893(0x49b)](_0x1db893(0x299),_0x1db893(0x2b1));const _0x5badb5=_0x168f09([[_0x2fdb04,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x1db893(0x3a8)][_0x1db893(0x4ad)]}],[_0x5c9893,{'useClass':Nt}],[_0x507f35,{'useClass':Rt}],[_0x31864b,{'useClass':Ot}],[_0x1148c4,{'useClass':yt}],[st],[Ct]],(_0xf41431=this[_0x1db893(0x3a8)])==null?void 0x0:_0xf41431['override']);if(!((_0x1eeb26=this[_0x1db893(0x3a8)])!=null&&_0x1eeb26['enableSingleActiveInstanceLock'])){const _0x4a3054=_0x5badb5[_0x1db893(0x443)](([_0x237636])=>_0x237636===ht);_0x4a3054!==-0x1&&_0x5badb5['splice'](_0x4a3054,0x1);}_0x2342fc(this[_0x1db893(0x32a)],_0x5badb5);}[_0x52ec77(0x366)](){var _0x5b7aab=_0x52ec77,_0x4d83f9,_0x445432,_0x43524e;this['_injector'][_0x5b7aab(0x2da)](_0x540523)[_0x5b7aab(0x29e)]({'priority':0x14,'interceptor':_0x46f41a({'maxParallel':0x6})}),(_0x4d83f9=this[_0x5b7aab(0x3a8)])!=null&&_0x4d83f9[_0x5b7aab(0x2ee)]||(_0x445432=this[_0x5b7aab(0x32a)]['get'](J,_0x254718[_0x5b7aab(0x221)]))==null||_0x445432[_0x5b7aab(0x41c)](),(_0x43524e=this['_config'])!=null&&_0x43524e['enableAuthServer']&&_0x51eba1(this['_injector'],[[rt]]),_0x51eba1(this[_0x5b7aab(0x32a)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x5462e4(_0x37cb6b,_0x1bda09),St(0x1,_0x9fbca6),St(0x2,_0xba0ecf(_0x8e3ca0)),St(0x3,_0x88d960)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me 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,Mr 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,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};