@univerjs-pro/collaboration-client 0.5.3-experimental.20250106-e3b7a39 → 0.5.3-experimental.20250106-4af1f4e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/services/permission/permission.service.d.ts +0 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3817ac=_0x7017;(function(_0x300fca,_0x58f32a){var _0x247371=_0x7017,_0x3945d9=_0x300fca();while(!![]){try{var _0x329b61=-parseInt(_0x247371(0x1d7))/0x1+parseInt(_0x247371(0x2dc))/0x2+parseInt(_0x247371(0x42c))/0x3+-parseInt(_0x247371(0x413))/0x4+-parseInt(_0x247371(0x396))/0x5*(-parseInt(_0x247371(0x2ea))/0x6)+parseInt(_0x247371(0x3a0))/0x7+-parseInt(_0x247371(0x371))/0x8*(parseInt(_0x247371(0x321))/0x9);if(_0x329b61===_0x58f32a)break;else _0x3945d9['push'](_0x3945d9['shift']());}catch(_0x2dcfa0){_0x3945d9['push'](_0x3945d9['shift']());}}}(_0x484f,0xdd107));var $i=Object[_0x3817ac(0x3b8)],Hi=(_0x2b060d,_0x1c0900,_0x5c705b)=>_0x1c0900 in _0x2b060d?$i(_0x2b060d,_0x1c0900,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c705b}):_0x2b060d[_0x1c0900]=_0x5c705b,P=(_0x35b100,_0x4ac9ea,_0x227ab6)=>Hi(_0x35b100,typeof _0x4ac9ea!=_0x3817ac(0x19e)?_0x4ac9ea+'':_0x4ac9ea,_0x227ab6);import{createIdentifier as _0x526b95,Inject as _0x880ce4,Injector as _0x28aed1,Disposable as _0x4c5e0f,DisposableCollection as _0x345077,toDisposable as _0x3282bc,IConfigService as _0x268506,ILogService as _0x3b11ba,UserManagerService as _0x41099,UniverInstanceType as _0x1f11e9,IUniverInstanceService as _0x369bbf,LocaleService as _0x42e13a,Optional as _0x1d2db0,RxDisposable as _0x9c8dcc,Tools as _0x19a3c3,Rectangle as _0x5381ba,ICommandService as _0x5ee12b,JSONX as _0x4f4e18,CommandType as _0x2cbde1,IPermissionService as _0x3310d6,IUndoRedoService as _0x43dc49,sequenceExecute as _0x6e8ef5,Workbook as _0x7013a8,MentionType as _0x54eafb,IAuthzIoService as _0x400bc0,isInternalEditorID as _0x4417ac,LocalUndoRedoService as _0x864ba1,IContextService as _0x24222f,DependentOn as _0x269592,Plugin as _0x2968e0,merge as _0x2d506e,mergeOverrideWithDependencies as _0x189fb3,IMentionIOService as _0x2d119d,registerDependencies as _0x16ef9f,Quantity as _0x12cdfd,touchDependencies as _0x338f1b}from'@univerjs/core';import{Subject as _0x560c85,merge as _0x30e992,of as _0x41a794,BehaviorSubject as _0x576e29,takeUntil as _0x44ee9f,ReplaySubject as _0xd22070,take as _0x551224,map as _0x155080,shareReplay as _0x55005f,firstValueFrom as _0x54a0bb,concatMap as _0xe3238b}from'rxjs';import{map as _0x24684d,take as _0x512f7a,filter as _0x1b785d,delay as _0x54d682,takeUntil as _0x22e3d2}from'rxjs/operators';import{HTTPService as _0x157352,ISocketService as _0x222759,MergeInterceptorFactory as _0x3b4411,HTTPRequest as _0x57bb69,UniverNetworkPlugin as _0x3afd6f,ThresholdInterceptorFactory as _0x3812a}from'@univerjs/network';import{CollaborationEvent as _0x48cdf6,parseChangesetToProtocol as _0x830f4a,ISnapshotServerService as _0x2e5790,isTransformMutationsWithChangesetSuccess as _0x490500,ITransformService as _0x5e4ebe,mapDocumentTypeToUniverType as _0x177af8,RevisionService as _0x46b1c6,isTransformChangesetsSuccess as _0x1a2959,CompressMutationService as _0x261980,parseProtocolChangeset as _0x42c60c,SnapshotService as _0x1b376d,textEncoder as _0x5cb200,b64DecodeUnicode as _0x4b2c2e,isTransformMutationsWithChangesetFailure as _0x389b7d,UniverCollaborationPlugin as _0x6570e7}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2e5b5e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4aee6a}from'@univerjs/docs';import{SheetsSelectionsService as _0x40f603,SetSelectionsOperation as _0x3529cb,InsertSheetMutation as _0x2e554f,EmptyMutation as _0x57917a,WorkbookEditablePermission as _0x1fa601,UnitObject as _0x4dfcaf,defaultWorkbookPermissionPoints as _0x541e5e,getAllWorkbookPermissionPoint as _0x4d802e,WorksheetProtectionRuleModel as _0x36a6e8,baseProtectionActions as _0x400bf2,getAllWorksheetPermissionPoint as _0x11f5cd,WorksheetProtectionPointModel as _0x2bf8b1,defaultWorksheetPermissionPoint as _0x425cad,getAllWorksheetPermissionPointByPointPanel as _0x425436,RangeProtectionRuleModel as _0x25606f,getAllRangePermissionPoint as _0x3831c2,UniverSheetsPlugin as _0x36a5db}from'@univerjs/sheets';import{ImageSourceType as _0xbb2960,ImageUploadStatusType as _0xff6d54,IImageIoService as _0x5695e0}from'@univerjs/drawing';import{getGlobalObject as _0x13e641}from'@univerjs-pro/license';const Dn=_0x3817ac(0x3e9),wn=_0x3817ac(0x32b),Un=_0x3817ac(0x2df),_o=_0x3817ac(0x40f),An=0x7d0,xn=_0x3817ac(0x498),Ln=_0x3817ac(0x3df),Mn=_0x3817ac(0x35b),$n=_0x3817ac(0x322),Hn=0x7530,Ii=_0x3817ac(0x31c),Ti=0x4e20,kn=0x4e20,jn=_0x3817ac(0x412),Bn=0x3,lo=_0x3817ac(0x3b4),uo=0x3e8,Fn='COLLAB_SUBMIT_CHANGESET_URL',Vn=_0x3817ac(0x299),Wn='LOGIN_URL_KEY',Gn=_0x3817ac(0x2aa),fo='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',vo=_0x3817ac(0x351);var Ci=(_0x43243c=>(_0x43243c[_0x43243c[_0x3817ac(0x329)]=0x0]=_0x3817ac(0x329),_0x43243c[_0x43243c['OK']=0x1]='OK',_0x43243c[_0x43243c[_0x3817ac(0x298)]=0x2]=_0x3817ac(0x298),_0x43243c[_0x43243c['PERMISSION_DENIED']=0x3]=_0x3817ac(0x218),_0x43243c[_0x43243c[_0x3817ac(0x2ac)]=0x4]=_0x3817ac(0x2ac),_0x43243c[_0x43243c[_0x3817ac(0x19d)]=0x5]=_0x3817ac(0x19d),_0x43243c[_0x43243c[_0x3817ac(0x1c4)]=0x6]=_0x3817ac(0x1c4),_0x43243c[_0x43243c[_0x3817ac(0x423)]=0x7]=_0x3817ac(0x423),_0x43243c[_0x43243c[_0x3817ac(0x485)]=0x8]='TOO_MANY_REQUESTS',_0x43243c[_0x43243c['COMPLETION_FINISHED']=0x9]=_0x3817ac(0x3d4),_0x43243c[_0x43243c[_0x3817ac(0x444)]=0x1389]=_0x3817ac(0x444),_0x43243c[_0x43243c[_0x3817ac(0x3d5)]=0x1771]=_0x3817ac(0x3d5),_0x43243c[_0x43243c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3817ac(0x461),_0x43243c[_0x43243c[_0x3817ac(0x1f8)]=0x1773]=_0x3817ac(0x1f8),_0x43243c[_0x43243c[_0x3817ac(0x1da)]=0x1b59]='APPLY_REJECT',_0x43243c[_0x43243c[_0x3817ac(0x359)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43243c[_0x43243c[_0x3817ac(0x2cd)]=0x1b5b]=_0x3817ac(0x2cd),_0x43243c[_0x43243c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3817ac(0x2d0),_0x43243c[_0x43243c[_0x3817ac(0x2b9)]=0x1b5d]=_0x3817ac(0x2b9),_0x43243c[_0x43243c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3817ac(0x34b),_0x43243c[_0x43243c[_0x3817ac(0x267)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x43243c[_0x43243c[_0x3817ac(0x2a9)]=0x232a]=_0x3817ac(0x2a9),_0x43243c[_0x43243c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3817ac(0x365),_0x43243c[_0x43243c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3817ac(0x3ba),_0x43243c[_0x43243c[_0x3817ac(0x3af)]=0x232d]=_0x3817ac(0x3af),_0x43243c[_0x43243c[_0x3817ac(0x226)]=0x2711]=_0x3817ac(0x226),_0x43243c[_0x43243c[_0x3817ac(0x3e6)]=0x2712]=_0x3817ac(0x3e6),_0x43243c[_0x43243c[_0x3817ac(0x24b)]=0x2713]=_0x3817ac(0x24b),_0x43243c[_0x43243c[_0x3817ac(0x269)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x43243c[_0x43243c[_0x3817ac(0x360)]=-0x1]='UNRECOGNIZED',_0x43243c))(Ci||{}),Q=(_0xde918b=>(_0xde918b[_0xde918b['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xde918b[_0xde918b[_0x3817ac(0x1f6)]=0x1]=_0x3817ac(0x1f6),_0xde918b[_0xde918b[_0x3817ac(0x2e1)]=0x2]=_0x3817ac(0x2e1),_0xde918b[_0xde918b[_0x3817ac(0x343)]=0x3]=_0x3817ac(0x343),_0xde918b[_0xde918b[_0x3817ac(0x286)]=0x4]='UNIVER_PROJECT',_0xde918b[_0xde918b['UNRECOGNIZED']=-0x1]=_0x3817ac(0x360),_0xde918b))(Q||{}),F=(_0x149d33=>(_0x149d33[_0x149d33[_0x3817ac(0x219)]=0x0]=_0x3817ac(0x219),_0x149d33[_0x149d33[_0x3817ac(0x262)]=0x1]=_0x3817ac(0x262),_0x149d33[_0x149d33[_0x3817ac(0x1a5)]=0x2]=_0x3817ac(0x1a5),_0x149d33[_0x149d33[_0x3817ac(0x3c0)]=0x3]='LEAVE',_0x149d33[_0x149d33[_0x3817ac(0x1b7)]=0x4]=_0x3817ac(0x1b7),_0x149d33[_0x149d33[_0x3817ac(0x1f1)]=0x5]=_0x3817ac(0x1f1),_0x149d33[_0x149d33[_0x3817ac(0x344)]=0x6]=_0x3817ac(0x344),_0x149d33[_0x149d33['UNRECOGNIZED']=-0x1]=_0x3817ac(0x360),_0x149d33))(F||{}),Ee=(_0x145f0f=>(_0x145f0f[_0x145f0f['UNKNOWN_CODE']=0x0]=_0x3817ac(0x200),_0x145f0f[_0x145f0f['OK']=0x1]='OK',_0x145f0f[_0x145f0f[_0x3817ac(0x341)]=0x2]=_0x3817ac(0x341),_0x145f0f[_0x145f0f[_0x3817ac(0x2be)]=0x3e9]=_0x3817ac(0x2be),_0x145f0f[_0x145f0f['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x145f0f[_0x145f0f[_0x3817ac(0x35a)]=0x3eb]=_0x3817ac(0x35a),_0x145f0f[_0x145f0f[_0x3817ac(0x20f)]=0x3ec]=_0x3817ac(0x20f),_0x145f0f[_0x145f0f[_0x3817ac(0x360)]=-0x1]=_0x3817ac(0x360),_0x145f0f))(Ee||{}),bi=(_0x48d03a=>(_0x48d03a[_0x48d03a[_0x3817ac(0x1e6)]=0x0]=_0x3817ac(0x1e6),_0x48d03a[_0x48d03a[_0x3817ac(0x256)]=0x1]=_0x3817ac(0x256),_0x48d03a[_0x48d03a['HttpExport']=0x2]=_0x3817ac(0x2e2),_0x48d03a[_0x48d03a[_0x3817ac(0x47f)]=0x3]='UnitEmbedded',_0x48d03a[_0x48d03a['UnitSnapshot']=0x4]='UnitSnapshot',_0x48d03a[_0x48d03a[_0x3817ac(0x360)]=-0x1]=_0x3817ac(0x360),_0x48d03a))(bi||{});const Y=_0x3817ac(0x2ce),zt={};var re=(_0x594e86=>(_0x594e86[_0x3817ac(0x456)]=_0x3817ac(0x456),_0x594e86[_0x3817ac(0x218)]=_0x3817ac(0x218),_0x594e86[_0x3817ac(0x42d)]=_0x3817ac(0x42d),_0x594e86[_0x3817ac(0x402)]=_0x3817ac(0x402),_0x594e86[_0x3817ac(0x3a3)]=_0x3817ac(0x3a3),_0x594e86['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x594e86[_0x3817ac(0x257)]=_0x3817ac(0x257),_0x594e86[_0x3817ac(0x23d)]=_0x3817ac(0x23d),_0x594e86))(re||{});class pe{constructor(){var _0x2fea7d=_0x3817ac;P(this,_0x2fea7d(0x1e0),new _0x560c85()),P(this,_0x2fea7d(0x1a7),this[_0x2fea7d(0x1e0)]['asObservable']());}[_0x3817ac(0x426)](_0x3bac2c){var _0x53a636=_0x3817ac;this[_0x53a636(0x1e0)][_0x53a636(0x394)](_0x3bac2c);}}const Kn=_0x526b95(_0x3817ac(0x3ca));function zn(_0x2c94a6){var _0x1967ed=_0x3817ac,_0x4a541f,_0x273d9b,_0x40b320,_0x1ccbf7,_0x1cf759;const _0x59a56d=_0x2c94a6[_0x1967ed(0x289)],_0x14f249=JSON[_0x1967ed(0x414)](_0x59a56d);switch(_0x14f249['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0xc86d3=_0x14f249[_0x1967ed(0x2ee)];return{..._0x14f249,'data':_0xc86d3,'cmd':_0x14f249[_0x1967ed(0x427)]};}case F['JOIN']:{const _0xc04b20=_0x14f249[_0x1967ed(0x3ff)];return{..._0x14f249,'data':_0xc04b20,'cmd':_0x14f249[_0x1967ed(0x427)]};}case F[_0x1967ed(0x344)]:{const _0x401c16=_0x14f249[_0x1967ed(0x271)];switch(_0x401c16[_0x1967ed(0x40b)]){case _0x48cdf6['PERMISSION_REJ']:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x4a541f=_0x401c16[_0x1967ed(0x312)])==null?void 0x0:_0x4a541f['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1e2)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x273d9b=_0x401c16[_0x1967ed(0x30f)])==null?void 0x0:_0x273d9b['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6['NEW_CHANGESETS']:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x40b320=_0x401c16[_0x1967ed(0x1ad)])==null?void 0x0:_0x40b320['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x436)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x1ccbf7=_0x401c16[_0x1967ed(0x446)])==null?void 0x0:_0x1ccbf7['cs']},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x20d)]:return{..._0x14f249,'data':{..._0x401c16,'data':(_0x1cf759=_0x401c16[_0x1967ed(0x215)])==null?void 0x0:_0x1cf759['cs']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x353)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['updateCursorEvent']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x208)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x448)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x27e)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x372)]},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x25e)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x3ea)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x31f)]:case _0x48cdf6[_0x1967ed(0x1d3)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x338)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x2fc)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['liveShareNewHost']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1e3)]:return{..._0x14f249,'data':_0x401c16,'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x209)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16['commentUpdateEvent']},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x266)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x21f)]},'cmd':_0x14f249['cmd']};case _0x48cdf6[_0x1967ed(0x3f2)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x4a8)]},'cmd':_0x14f249[_0x1967ed(0x427)]};case _0x48cdf6[_0x1967ed(0x1f7)]:return{..._0x14f249,'data':{..._0x401c16,'data':_0x401c16[_0x1967ed(0x325)]},'cmd':_0x14f249['cmd']};default:return _0x14f249;}}default:return _0x14f249;}}function Yn(_0x3f81f0){var _0x11640b=_0x3817ac;switch(_0x3f81f0['cmd']){case F['HEARTBEAT']:case F[_0x11640b(0x262)]:return JSON[_0x11640b(0x274)]({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)]});case F[_0x11640b(0x1b7)]:{let _0x4effa4;switch(_0x3f81f0[_0x11640b(0x289)]['eventID']){case _0x48cdf6[_0x11640b(0x353)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x353)],'updateCursorEvent':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x27e)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x27e)],'leaveEvent':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x208)]:{_0x4effa4={'eventID':_0x48cdf6['USERS_ENTER'],'joinEvent':_0x3f81f0['data'][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x25e)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x25e)],'liveShareNewHost':_0x3f81f0[_0x11640b(0x289)]['data']};break;}case _0x48cdf6[_0x11640b(0x1d3)]:{_0x4effa4={'eventID':_0x48cdf6['LIVESHARE_OPERATION'],'liveShareOperation':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6['LIVESHARE_TERMINATE']:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x2fc)],'liveShareTerminate':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x1b1)]:{_0x4effa4={'eventID':_0x48cdf6['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3f81f0[_0x11640b(0x289)][_0x11640b(0x289)]};break;}case _0x48cdf6[_0x11640b(0x31f)]:{_0x4effa4={'eventID':_0x48cdf6[_0x11640b(0x31f)]};break;}default:_0x4effa4={'eventID':_0x3f81f0[_0x11640b(0x289)]['eventID']};}return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)],'collaMsg':_0x4effa4});}case F[_0x11640b(0x1a5)]:return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0['routeKey'],'joinReq':_0x3f81f0[_0x11640b(0x289)]});case F[_0x11640b(0x3c0)]:return JSON['stringify']({'cmd':_0x3f81f0[_0x11640b(0x427)],'routeKey':_0x3f81f0[_0x11640b(0x233)],'leaveReq':_0x3f81f0[_0x11640b(0x289)]});default:throw new Error(_0x11640b(0x250));}}var qn=Object['defineProperty'],Jn=Object[_0x3817ac(0x1df)],Xn=(_0x5a8ad5,_0x2af060,_0xdd3387,_0x376dd3)=>{for(var _0x1787fc=_0x376dd3>0x1?void 0x0:_0x376dd3?Jn(_0x2af060,_0xdd3387):_0x2af060,_0x23f783=_0x5a8ad5['length']-0x1,_0x2ef56c;_0x23f783>=0x0;_0x23f783--)(_0x2ef56c=_0x5a8ad5[_0x23f783])&&(_0x1787fc=(_0x376dd3?_0x2ef56c(_0x2af060,_0xdd3387,_0x1787fc):_0x2ef56c(_0x1787fc))||_0x1787fc);return _0x376dd3&&_0x1787fc&&qn(_0x2af060,_0xdd3387,_0x1787fc),_0x1787fc;},Ue=(_0x1cb80b,_0x52b9a1)=>(_0x102a5c,_0x47cb64)=>_0x52b9a1(_0x102a5c,_0x47cb64,_0x1cb80b);const Ri=_0x526b95(_0x3817ac(0x331));function Zn(_0x206726,_0x372b5b,_0x33a6da){return _0x206726+'/'+_0x372b5b+'/unit/'+_0x33a6da+'/new_changes';}let It=class extends _0x4c5e0f{constructor(_0x58f5ec,_0x3f3c00,_0x9003a8,_0x283ac8,_0x2a1280){var _0x20bc3c=_0x3817ac;super(),this['_injector']=_0x58f5ec,this[_0x20bc3c(0x437)]=_0x3f3c00,this[_0x20bc3c(0x2e5)]=_0x9003a8,this['_logService']=_0x283ac8,this[_0x20bc3c(0x42f)]=_0x2a1280;}[_0x3817ac(0x39f)](_0x4e0b70){var _0xaa364e=_0x3817ac;const _0x45d7b6=this['_injector'][_0xaa364e(0x1b5)](_0x222759);if(!_0x45d7b6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x32ab42=_0x45d7b6[_0xaa364e(0x39f)](_0x4e0b70);if(!_0x32ab42)throw new Error(_0xaa364e(0x239));const _0x5883e8=new _0x345077(),_0x3e0d00=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42['close$']['subscribe'](_0x330c24=>_0x3e0d00[_0xaa364e(0x394)](_0x330c24))),_0x5883e8[_0xaa364e(0x281)](_0x3282bc(()=>_0x3e0d00[_0xaa364e(0x44a)]()));const _0x15977e=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42[_0xaa364e(0x475)][_0xaa364e(0x3da)](_0x22a5bc=>_0x15977e['next'](_0x22a5bc))),_0x5883e8['add'](_0x3282bc(()=>_0x15977e[_0xaa364e(0x44a)]()));const _0x133e2f=new _0x560c85();_0x5883e8[_0xaa364e(0x281)](_0x32ab42[_0xaa364e(0x345)]['subscribe'](_0x4abbf7=>{var _0x52ad32=_0xaa364e;const _0x10138f=zn(_0x4abbf7);_0x133e2f[_0x52ad32(0x394)](_0x10138f);})),_0x5883e8[_0xaa364e(0x281)](_0x3282bc(()=>_0x133e2f[_0xaa364e(0x44a)]()));let _0x40280e;const _0x3bbeb2=()=>{var _0x3f5a22=_0xaa364e;_0x15977e[_0x3f5a22(0x394)](new Event(_0x3f5a22(0x36c))),_0x3e0d00[_0x3f5a22(0x394)](new CloseEvent('connection\x20error')),_0x40280e['close']();};return _0x40280e={'memberID':'','close$':_0x3e0d00[_0xaa364e(0x34a)](),'error$':_0x15977e[_0xaa364e(0x34a)](),'open$':_0x32ab42[_0xaa364e(0x452)],'message$':_0x133e2f['asObservable'](),'send':_0x22ee28=>{var _0x5ece08=_0xaa364e;if(_0x22ee28[_0x5ece08(0x427)]===F[_0x5ece08(0x1b7)]){if(_0x22ee28[_0x5ece08(0x289)]['eventID']===_0x48cdf6['SUBMIT_CHANGESET']){this[_0x5ece08(0x1cd)](_0x40280e,_0x22ee28['data'])[_0x5ece08(0x43a)](_0x56962c=>{var _0x4822a9=_0x5ece08;this[_0x4822a9(0x334)]['error'](_0x56962c),_0x3bbeb2();});return;}if(_0x22ee28[_0x5ece08(0x289)][_0x5ece08(0x40b)]===_0x48cdf6[_0x5ece08(0x216)]){const _0x50637=_0x22ee28[_0x5ece08(0x289)];this['_fetchMissChangesets'](_0x50637)['then'](_0x3bc77f=>{var _0x1e35f9=_0x5ece08;_0x133e2f[_0x1e35f9(0x394)]({'cmd':F[_0x1e35f9(0x344)],'code':Ee['OK'],'routeKey':_0x50637[_0x1e35f9(0x289)][_0x1e35f9(0x22f)],'routeType':'','data':{'eventID':_0x48cdf6[_0x1e35f9(0x2b8)],'data':{'changesets':_0x3bc77f}}});})[_0x5ece08(0x43a)](_0x1ccd39=>{var _0x34a977=_0x5ece08;this[_0x34a977(0x334)][_0x34a977(0x2d3)](_0x1ccd39),_0x3bbeb2();});return;}}_0x32ab42[_0x5ece08(0x3bb)](Yn(_0x22ee28));},'close':()=>{_0x32ab42['close'](),_0x5883e8['dispose']();}},_0x40280e;}async[_0x3817ac(0x1cd)](_0xd44e85,_0x1e0f47){var _0x3ed176=_0x3817ac,_0x577673,_0x1b7511;const {unitType:_0x351c69,unitID:_0x1064cd,changeset:_0x3a403}=_0x1e0f47[_0x3ed176(0x289)],_0x11b379={'unitID':_0x1064cd,'memberID':_0xd44e85[_0x3ed176(0x311)],'type':_0x351c69,'changeset':_0x830f4a(_0x3a403)},_0xed22db=this[_0x3ed176(0x2e5)][_0x3ed176(0x3a7)](Fn),_0x59fb74=this[_0x3ed176(0x2e5)]['getConfig'](Y),_0x1ad8c0=Zn((_0x1b7511=(_0x577673=_0x59fb74==null?void 0x0:_0x59fb74[_0x3ed176(0x1ca)])!=null?_0x577673:_0xed22db)!=null?_0x1b7511:Vn,_0x351c69,_0x1064cd);try{await this[_0x3ed176(0x437)][_0x3ed176(0x3e7)](_0x1ad8c0,{'body':_0x11b379});}catch(_0x2ed57e){throw this[_0x3ed176(0x334)][_0x3ed176(0x2d3)](_0x3ed176(0x391),_0x3ed176(0x44c)),_0x2ed57e;}}async[_0x3817ac(0x307)](_0x527e0d){var _0x3aa373=_0x3817ac;const {unitID:_0x5f400f,from:_0x2930a3,to:_0xb64092,unitType:_0x510c91}=_0x527e0d[_0x3aa373(0x289)];return(await this[_0x3aa373(0x42f)][_0x3aa373(0x488)]({'metadata':void 0x0},{'unitID':_0x5f400f,'type':_0x510c91,'from':_0x2930a3,'to':_0xb64092}))[_0x3aa373(0x2a1)];}};It=Xn([Ue(0x0,_0x880ce4(_0x28aed1)),Ue(0x1,_0x880ce4(_0x157352)),Ue(0x2,_0x268506),Ue(0x3,_0x3b11ba),Ue(0x4,_0x2e5790)],It);const Qn='collaboration_new_changeset';function es(_0x3a6dc0){var _0x15334c=_0x3817ac;return JSON['stringify'](_0x3a6dc0)[_0x15334c(0x450)];}class yi{constructor(){var _0x54757b=_0x3817ac;P(this,_0x54757b(0x1dc),new _0x560c85()),P(this,_0x54757b(0x22e),this['_commentUpdate$']['asObservable']());}[_0x3817ac(0x26f)](_0x23059a){var _0x107c7f=_0x3817ac;this['_commentUpdate$'][_0x107c7f(0x394)](_0x23059a);}}var ts=Object[_0x3817ac(0x3b8)],is=Object['getOwnPropertyDescriptor'],ns=(_0x44abf8,_0x2ef582,_0x76d3ac,_0x4c15b2)=>{var _0x4a0e61=_0x3817ac;for(var _0x5e1ca3=_0x4c15b2>0x1?void 0x0:_0x4c15b2?is(_0x2ef582,_0x76d3ac):_0x2ef582,_0x1b11e2=_0x44abf8[_0x4a0e61(0x450)]-0x1,_0x2381dc;_0x1b11e2>=0x0;_0x1b11e2--)(_0x2381dc=_0x44abf8[_0x1b11e2])&&(_0x5e1ca3=(_0x4c15b2?_0x2381dc(_0x2ef582,_0x76d3ac,_0x5e1ca3):_0x2381dc(_0x5e1ca3))||_0x5e1ca3);return _0x4c15b2&&_0x5e1ca3&&ts(_0x2ef582,_0x76d3ac,_0x5e1ca3),_0x5e1ca3;},Yt=(_0x46378a,_0x2a866a)=>(_0x39630b,_0x34b321)=>_0x2a866a(_0x39630b,_0x34b321,_0x46378a);let xe=class extends _0x4c5e0f{constructor(_0x453a24,_0x184c4f){var _0x4b19a6=_0x3817ac;super(),P(this,_0x4b19a6(0x45b),new Map()),P(this,_0x4b19a6(0x3a9),new _0x560c85()),(this['_univerInstanceService']=_0x453a24,this[_0x4b19a6(0x49b)]=_0x184c4f,this[_0x4b19a6(0x38f)](_0x30e992(this[_0x4b19a6(0x3cf)][_0x4b19a6(0x313)](_0x1f11e9[_0x4b19a6(0x2e1)])[_0x4b19a6(0x37a)](_0x24684d(_0x26b6e7=>_0x26b6e7[_0x4b19a6(0x370)]())),this[_0x4b19a6(0x3cf)][_0x4b19a6(0x313)](_0x1f11e9[_0x4b19a6(0x1f6)])[_0x4b19a6(0x37a)](_0x24684d(_0x278eaa=>_0x278eaa[_0x4b19a6(0x370)]())),this[_0x4b19a6(0x3cf)]['getTypeOfUnitDisposed$'](_0x1f11e9['UNIVER_SLIDE'])[_0x4b19a6(0x37a)](_0x24684d(_0x4d4e3f=>_0x4d4e3f[_0x4b19a6(0x370)]())))[_0x4b19a6(0x3da)](_0x52ad29=>this[_0x4b19a6(0x471)](_0x52ad29))));}[_0x3817ac(0x47d)](_0x260322){var _0x2f732f=_0x3817ac;return this[_0x2f732f(0x45b)]['has'](_0x260322)?_0x41a794(this['_roomMembers'][_0x2f732f(0x1b5)](_0x260322)):this[_0x2f732f(0x3a9)][_0x2f732f(0x37a)](_0x24684d(_0x731cb0=>{if(_0x731cb0===_0x260322)return this['_roomMembers']['get'](_0x731cb0);}));}['setCurrentUser'](_0xdbac4b){var _0x540372=_0x3817ac;this[_0x540372(0x49b)][_0x540372(0x2b2)](_0xdbac4b);}[_0x3817ac(0x459)](){var _0x2cb5cc=_0x3817ac;return this['_userManagerService'][_0x2cb5cc(0x459)]();}[_0x3817ac(0x20c)](_0x5895e9,_0x5d8d5f){var _0x3b92c7=_0x3817ac;let _0x107a2f=this[_0x3b92c7(0x45b)]['get'](_0x5895e9);_0x107a2f||(_0x107a2f=new ss(),this[_0x3b92c7(0x45b)][_0x3b92c7(0x3dd)](_0x5895e9,_0x107a2f),this[_0x3b92c7(0x3a9)][_0x3b92c7(0x394)](_0x5895e9)),_0x107a2f['updateMember'](_0x5d8d5f);}[_0x3817ac(0x3e8)](_0x43694d,_0x25b8a1){var _0x306ffc=_0x3817ac;const _0x32f0fc=this[_0x306ffc(0x45b)][_0x306ffc(0x1b5)](_0x43694d);_0x32f0fc&&_0x32f0fc[_0x306ffc(0x3e8)](_0x25b8a1);}[_0x3817ac(0x411)](_0x634497){var _0x173baf=_0x3817ac;return this[_0x173baf(0x45b)][_0x173baf(0x1b5)](_0x634497);}[_0x3817ac(0x1f5)](_0x3e842d,_0xa2df13){var _0x314053=_0x3817ac;const _0x218ff9=this[_0x314053(0x45b)][_0x314053(0x1b5)](_0x3e842d);if(_0x218ff9)return _0x218ff9[_0x314053(0x1f5)](_0xa2df13);}[_0x3817ac(0x471)](_0x48e4dc){var _0xc5217=_0x3817ac;const _0x2e5d68=this[_0xc5217(0x45b)][_0xc5217(0x1b5)](_0x48e4dc);_0x2e5d68&&(_0x2e5d68['dispose'](),this[_0xc5217(0x45b)][_0xc5217(0x220)](_0x48e4dc));}[_0x3817ac(0x42b)](){var _0xbb222c=_0x3817ac;this[_0xbb222c(0x45b)][_0xbb222c(0x28f)](_0x41438c=>_0x41438c[_0xbb222c(0x42b)]()),this['_roomMembers'][_0xbb222c(0x24e)](),this[_0xbb222c(0x3a9)][_0xbb222c(0x44a)]();}};xe=ns([Yt(0x0,_0x369bbf),Yt(0x1,_0x880ce4(_0x41099))],xe);class ss extends _0x4c5e0f{constructor(){var _0x4d6e3a=_0x3817ac;super(...arguments),P(this,'_members',new Map()),P(this,_0x4d6e3a(0x2f8),new _0x576e29(this['_members'])),P(this,_0x4d6e3a(0x1c3),this['_members$']['asObservable']());}['dispose'](){this['_members']['clear']();}[_0x3817ac(0x20c)](_0x1f1f75){var _0x2bf9f5=_0x3817ac;this[_0x2bf9f5(0x3b1)][_0x2bf9f5(0x3dd)](_0x1f1f75[_0x2bf9f5(0x311)],_0x1f1f75),this[_0x2bf9f5(0x4a1)]();}[_0x3817ac(0x3e8)](_0x27a079){var _0x568dcd=_0x3817ac;this[_0x568dcd(0x3b1)][_0x568dcd(0x220)](_0x27a079);}[_0x3817ac(0x1f5)](_0x56e272){var _0xa2b989=_0x3817ac;return this['_members'][_0xa2b989(0x1b5)](_0x56e272);}[_0x3817ac(0x464)](){var _0x358286=_0x3817ac;return Array[_0x358286(0x3a2)](this[_0x358286(0x3b1)][_0x358286(0x21d)]());}[_0x3817ac(0x4a1)](){var _0x5a0bc5=_0x3817ac;this[_0x5a0bc5(0x2f8)][_0x5a0bc5(0x394)](this[_0x5a0bc5(0x3b1)]);}}var rs=Object[_0x3817ac(0x3b8)],os=Object[_0x3817ac(0x1df)],as=(_0x2e14d5,_0xb680c5,_0x21e49c,_0x1e44a4)=>{for(var _0x59da63=_0x1e44a4>0x1?void 0x0:_0x1e44a4?os(_0xb680c5,_0x21e49c):_0xb680c5,_0x3ebef9=_0x2e14d5['length']-0x1,_0x37213f;_0x3ebef9>=0x0;_0x3ebef9--)(_0x37213f=_0x2e14d5[_0x3ebef9])&&(_0x59da63=(_0x1e44a4?_0x37213f(_0xb680c5,_0x21e49c,_0x59da63):_0x37213f(_0x59da63))||_0x59da63);return _0x1e44a4&&_0x59da63&&rs(_0xb680c5,_0x21e49c,_0x59da63),_0x59da63;},me=(_0x576fd4,_0x45ba32)=>(_0x356f33,_0x583350)=>_0x45ba32(_0x356f33,_0x583350,_0x576fd4),Te=(_0x88dac8=>(_0x88dac8[_0x88dac8[_0x3817ac(0x3e4)]=0x0]=_0x3817ac(0x3e4),_0x88dac8[_0x88dac8['JOINING']=0x1]=_0x3817ac(0x1c6),_0x88dac8[_0x88dac8[_0x3817ac(0x41a)]=0x2]=_0x3817ac(0x41a),_0x88dac8[_0x88dac8['ONLINE']=0x3]=_0x3817ac(0x348),_0x88dac8))(Te||{});const qt={[Ee[_0x3817ac(0x341)]]:_0x3817ac(0x3be),[Ee['JOIN_ROOM_FULL']]:_0x3817ac(0x3cc),[Ee[_0x3817ac(0x445)]]:'session.room-not-exists',[Ee[_0x3817ac(0x35a)]]:'session.room-permission-denied',[Ee[_0x3817ac(0x20f)]]:_0x3817ac(0x435)};let Tt=class extends _0x9c8dcc{constructor(_0x463b79,_0x372898,_0x1d5774,_0x48a6e6,_0x5b3aad,_0x378971,_0x50192d,_0x10e249,_0x1633b6){var _0x2492d2=_0x3817ac;super(),P(this,_0x2492d2(0x1ac),new _0x576e29(0x0)),P(this,_0x2492d2(0x32d),this[_0x2492d2(0x1ac)][_0x2492d2(0x34a)]()),P(this,'_event$',new _0x560c85()),P(this,_0x2492d2(0x1a7),this[_0x2492d2(0x1e0)][_0x2492d2(0x34a)]()),P(this,'_socket'),P(this,'_socketMessageSubscription'),P(this,_0x2492d2(0x1bd)),P(this,_0x2492d2(0x2fa),!0x1),P(this,_0x2492d2(0x25b),null),(this[_0x2492d2(0x1af)]=_0x463b79,this['_logService']=_0x1d5774,this['_configService']=_0x48a6e6,this['_localeService']=_0x5b3aad,this[_0x2492d2(0x3ac)]=_0x378971,this[_0x2492d2(0x380)]=_0x50192d,this[_0x2492d2(0x46b)]=_0x10e249,this[_0x2492d2(0x407)]=_0x1633b6,this[_0x2492d2(0x2fa)]=!!this[_0x2492d2(0x407)],_0x372898[_0x2492d2(0x37a)](_0x44ee9f(this['dispose$']))[_0x2492d2(0x3da)](_0x2370e6=>{var _0x3b7557=_0x2492d2,_0x3e9596;typeof _0x2370e6>'u'||(this[_0x3b7557(0x367)]=_0x2370e6,_0x2370e6?(this['_joinRoom'](_0x2370e6),this['_socketMessageSubscription']=_0x2370e6['message$'][_0x3b7557(0x3da)](_0x177646=>{var _0x1c64e3=_0x3b7557;_0x177646['routeKey']===this['_unitID']&&this[_0x1c64e3(0x49e)](_0x177646);})):(this[_0x3b7557(0x3a1)](),this['_sessionStatus$'][_0x3b7557(0x394)](0x2),(_0x3e9596=this[_0x3b7557(0x3c5)])==null||_0x3e9596['unsubscribe'](),this[_0x3b7557(0x3c5)]=null));}));}get['sessionStatus'](){var _0x241abd=_0x3817ac;return this[_0x241abd(0x1ac)]['getValue']();}[_0x3817ac(0x319)](){var _0x4ebb82=_0x3817ac,_0x28fa25,_0x560c49;return(_0x560c49=(_0x28fa25=this['_socket'])==null?void 0x0:_0x28fa25[_0x4ebb82(0x311)])!=null?_0x560c49:null;}['dispose'](){var _0x192780=_0x3817ac;super[_0x192780(0x42b)](),this[_0x192780(0x2e8)][_0x192780(0x394)](),this[_0x192780(0x2e8)][_0x192780(0x44a)]();}[_0x3817ac(0x32f)](){var _0x438882=_0x3817ac,_0x5a7ad8,_0x17e940;this[_0x438882(0x3a1)](),(_0x5a7ad8=this[_0x438882(0x367)])==null||_0x5a7ad8['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x438882(0x1af)]}}),(_0x17e940=this[_0x438882(0x367)])==null||_0x17e940['close'](),this[_0x438882(0x1e0)][_0x438882(0x44a)](),this[_0x438882(0x1ac)]['complete'](),this[_0x438882(0x42b)]();}[_0x3817ac(0x49e)](_0x5bf78a){var _0x57cb31=_0x3817ac;_0x5bf78a[_0x57cb31(0x427)]===F[_0x57cb31(0x1a5)]?this['_onJoinRoomEvent'](_0x5bf78a):_0x5bf78a['cmd']===F[_0x57cb31(0x344)]&&this[_0x57cb31(0x31e)](_0x5bf78a);}['_joinRoom'](_0x109f8d){var _0x480953=_0x3817ac;this[_0x480953(0x1ac)][_0x480953(0x394)](0x1),_0x109f8d['send']({'cmd':F[_0x480953(0x1a5)],'routeKey':this[_0x480953(0x1af)],'routeType':'','data':{'rooms':[{'roomID':this[_0x480953(0x1af)]}]}});}[_0x3817ac(0x497)](_0x1db3d3){var _0xc15102=_0x3817ac,_0x4870e1;if(_0x1db3d3[_0xc15102(0x41c)]in qt){this[_0xc15102(0x46b)]['emitEvent']({'id':re[_0xc15102(0x3a3)],'data':qt[_0x1db3d3[_0xc15102(0x41c)]]}),this['_sessionStatus$'][_0xc15102(0x394)](0x2);return;}this['_sessionStatus$'][_0xc15102(0x394)](0x3);const _0x30902d=(_0x4870e1=_0x1db3d3[_0xc15102(0x289)][_0xc15102(0x315)][this[_0xc15102(0x1af)]])==null?void 0x0:_0x4870e1[_0xc15102(0x2ef)];_0x30902d&&_0x30902d['forEach'](_0xc731c7=>this[_0xc15102(0x3ac)][_0xc15102(0x20c)](this[_0xc15102(0x1af)],_0xc731c7));}[_0x3817ac(0x31e)](_0x3d0eb0){var _0x200fc3=_0x3817ac;try{const _0x2eb22d=_0x3d0eb0[_0x200fc3(0x289)];switch(_0x2eb22d[_0x200fc3(0x40b)]){case _0x48cdf6[_0x200fc3(0x208)]:this[_0x200fc3(0x2bf)](_0x2eb22d),this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x27e)]:this[_0x200fc3(0x463)](_0x2eb22d),this[_0x200fc3(0x1e0)][_0x200fc3(0x394)](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x1e2)]:case _0x48cdf6[_0x200fc3(0x20d)]:this[_0x200fc3(0x305)](),this[_0x200fc3(0x451)](),this['_event$']['next'](_0x2eb22d);break;case _0x48cdf6['MSG_FOR_ERROR']:this[_0x200fc3(0x334)][_0x200fc3(0x2d3)](_0x200fc3(0x28b)+JSON[_0x200fc3(0x274)](_0x2eb22d)),this[_0x200fc3(0x1e0)][_0x200fc3(0x394)](_0x2eb22d);break;case _0x48cdf6[_0x200fc3(0x209)]:this[_0x200fc3(0x380)][_0x200fc3(0x26f)](_0x2eb22d[_0x200fc3(0x289)]),this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);break;default:this[_0x200fc3(0x1e0)]['next'](_0x2eb22d);}}catch(_0x278252){this['_logService'][_0x200fc3(0x2d3)](_0x278252,_0x3d0eb0);}}[_0x3817ac(0x2bf)](_0x53d6ef){var _0x569c20=_0x3817ac;this[_0x569c20(0x3ac)]['updateMember'](this['_unitID'],_0x53d6ef[_0x569c20(0x289)]);}[_0x3817ac(0x463)](_0x20b9e0){var _0x5fbd68=_0x3817ac;this[_0x5fbd68(0x3ac)][_0x5fbd68(0x3e8)](this[_0x5fbd68(0x1af)],_0x20b9e0[_0x5fbd68(0x289)][_0x5fbd68(0x311)]);}async[_0x3817ac(0x3bb)](_0xee6010,_0x5cbd8d){var _0x3f2389=_0x3817ac;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xee6010[_0x3f2389(0x40b)]===_0x48cdf6[_0x3f2389(0x374)]&&(this[_0x3f2389(0x474)](),this[_0x3f2389(0x405)](_0xee6010)),this[_0x3f2389(0x367)]['send']({'cmd':F[_0x3f2389(0x1b7)],'routeKey':_0x5cbd8d,'routeType':'','data':_0xee6010});}catch(_0x296dea){this[_0x3f2389(0x334)][_0x3f2389(0x2d3)](_0x296dea);}}[_0x3817ac(0x474)](){var _0x34ce67=_0x3817ac,_0x106ad8;this[_0x34ce67(0x1bd)]=setTimeout(()=>{var _0xbc8f2b=_0x34ce67;this[_0xbc8f2b(0x1bd)]=null,this[_0xbc8f2b(0x46b)][_0xbc8f2b(0x426)]({'id':re[_0xbc8f2b(0x23d)]});},(_0x106ad8=this['_configService']['getConfig'](Ii))!=null?_0x106ad8:Ti);}[_0x3817ac(0x451)](){var _0x3bb8cd=_0x3817ac;this[_0x3bb8cd(0x1bd)]&&(clearTimeout(this[_0x3bb8cd(0x1bd)]),this['_collaborationTimeoutTimer']=null);}[_0x3817ac(0x405)](_0x119c34){var _0x47cd6c=_0x3817ac;if(!this[_0x47cd6c(0x2fa)])return;const {data:_0x54cbf6}=_0x119c34,{unitID:_0x2f3704,changeset:_0x2188ed}=_0x54cbf6,{mutations:_0x5825a2,type:_0x559ef1}=_0x2188ed;this['_telemetryInfo']={'unitId':_0x2f3704,'type':_0x559ef1,'startTime':performance[_0x47cd6c(0x4ac)](),'stopTime':0x0,'duration':0x0,'size':es(_0x5825a2)};}[_0x3817ac(0x305)](){var _0x575303=_0x3817ac;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x575303(0x334)][_0x575303(0x2d3)]('[CollaborationSession]',_0x575303(0x291));return;}this[_0x575303(0x25b)]['stopTime']=performance['now'](),this[_0x575303(0x25b)][_0x575303(0x33c)]=this[_0x575303(0x25b)][_0x575303(0x1b8)]-this[_0x575303(0x25b)][_0x575303(0x3de)],this[_0x575303(0x407)]['capture'](Qn,this[_0x575303(0x25b)]),this['_telemetryInfo']=null;}}[_0x3817ac(0x3a1)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x3b11ba),me(0x3,_0x268506),me(0x4,_0x880ce4(_0x42e13a)),me(0x5,_0x880ce4(xe)),me(0x6,_0x880ce4(yi)),me(0x7,_0x880ce4(pe)),me(0x8,_0x1d2db0(_0x2e5b5e))],Tt);var cs=Object[_0x3817ac(0x3b8)],hs=Object[_0x3817ac(0x1df)],_s=(_0x8246ee,_0x464adc,_0x41def7,_0x15f911)=>{var _0x5bd23e=_0x3817ac;for(var _0x29199e=_0x15f911>0x1?void 0x0:_0x15f911?hs(_0x464adc,_0x41def7):_0x464adc,_0x4b7598=_0x8246ee[_0x5bd23e(0x450)]-0x1,_0x1a8ffc;_0x4b7598>=0x0;_0x4b7598--)(_0x1a8ffc=_0x8246ee[_0x4b7598])&&(_0x29199e=(_0x15f911?_0x1a8ffc(_0x464adc,_0x41def7,_0x29199e):_0x1a8ffc(_0x29199e))||_0x29199e);return _0x15f911&&_0x29199e&&cs(_0x464adc,_0x41def7,_0x29199e),_0x29199e;},ge=(_0x1c2771,_0x450f80)=>(_0x132e0c,_0x4f1f2b)=>_0x450f80(_0x132e0c,_0x4f1f2b,_0x1c2771);let Le=class extends _0x4c5e0f{constructor(_0x1e49e6,_0x565fd8,_0x253bd7,_0x414a55,_0x8a1a5f,_0x4a6cb7,_0x16be53){var _0x10cf4b=_0x3817ac;super(),P(this,_0x10cf4b(0x434),new _0x576e29(void 0x0)),P(this,_0x10cf4b(0x480),this['_socket$'][_0x10cf4b(0x34a)]()),P(this,_0x10cf4b(0x3db),null),P(this,_0x10cf4b(0x324),new Map()),P(this,'_status$',new _0x576e29(Te[_0x10cf4b(0x3e4)])),P(this,_0x10cf4b(0x340),this[_0x10cf4b(0x2b5)][_0x10cf4b(0x34a)]()),P(this,'_socketReady',!0x1),P(this,_0x10cf4b(0x410)),P(this,_0x10cf4b(0x1fb),0x0),P(this,_0x10cf4b(0x263)),P(this,_0x10cf4b(0x19a)),(this['_injector']=_0x1e49e6,this['_logService']=_0x565fd8,this[_0x10cf4b(0x2e5)]=_0x253bd7,this[_0x10cf4b(0x229)]=_0x414a55,this[_0x10cf4b(0x3d2)]=_0x8a1a5f,this['_collaborationUIEventService']=_0x4a6cb7,this[_0x10cf4b(0x1c9)]=_0x16be53,this[_0x10cf4b(0x368)]());}get[_0x3817ac(0x367)](){var _0x4c8733=_0x3817ac;return this[_0x4c8733(0x434)][_0x4c8733(0x45a)]();}[_0x3817ac(0x368)](){var _0x2bc458=_0x3817ac;this[_0x2bc458(0x1c9)]&&this[_0x2bc458(0x38f)](this['_networkConditionService'][_0x2bc458(0x1b4)][_0x2bc458(0x3da)](_0x369c4f=>{var _0x1372c3=_0x2bc458;_0x369c4f&&!this[_0x1372c3(0x367)]&&this[_0x1372c3(0x34c)](),_0x369c4f||this[_0x1372c3(0x428)]();}));}[_0x3817ac(0x42b)](){var _0x34d23b=_0x3817ac;super[_0x34d23b(0x42b)](),this['_sessions']['forEach'](_0x24dda7=>_0x24dda7[_0x34d23b(0x42b)]()),this[_0x34d23b(0x324)][_0x34d23b(0x24e)](),this[_0x34d23b(0x2b5)][_0x34d23b(0x44a)]();}async[_0x3817ac(0x310)](_0x5bf086){var _0x43e225=_0x3817ac;if(this['_sessions'][_0x43e225(0x303)](_0x5bf086))return this['_sessions'][_0x43e225(0x1b5)](_0x5bf086);this['_tryEnsureSocket']();const _0x3142dd=this['_injector'][_0x43e225(0x440)](Tt,_0x5bf086,this[_0x43e225(0x434)][_0x43e225(0x34a)]());return this[_0x43e225(0x324)][_0x43e225(0x3dd)](_0x5bf086,_0x3142dd),_0x3142dd;}['closeSession'](_0x462f15){var _0x51e41e=_0x3817ac,_0x35d7f9;const _0x34ca9f=this[_0x51e41e(0x324)][_0x51e41e(0x1b5)](_0x462f15);_0x34ca9f&&(this[_0x51e41e(0x324)][_0x51e41e(0x220)](_0x462f15),_0x34ca9f[_0x51e41e(0x32f)]()),this[_0x51e41e(0x324)]['size']||(_0x35d7f9=this[_0x51e41e(0x367)])==null||_0x35d7f9[_0x51e41e(0x32f)]();}[_0x3817ac(0x34c)](){var _0x2be57b=_0x3817ac;this[_0x2be57b(0x1fb)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x2be57b(0x3c6)]();}async['_getSessionTicket'](){var _0x4ef4ef=_0x3817ac,_0x20975f,_0x5930bf,_0x1e5676;const _0xc18b96=this[_0x4ef4ef(0x2e5)][_0x4ef4ef(0x3a7)](Y),_0x44188c=(_0x20975f=_0xc18b96==null?void 0x0:_0xc18b96[_0x4ef4ef(0x1ef)])!=null?_0x20975f:Mn;return(_0x1e5676=(_0x5930bf=(await this[_0x4ef4ef(0x3d2)][_0x4ef4ef(0x1b5)](_0x44188c,{'headers':{'Content-Type':_0x4ef4ef(0x458)}}))[_0x4ef4ef(0x400)])==null?void 0x0:_0x5930bf['ticket'])!=null?_0x1e5676:'';}[_0x3817ac(0x33e)](_0x3a59c7){var _0x32fd8d=_0x3817ac,_0xb0e24,_0x1f29d5;const _0x8f6d9c=this[_0x32fd8d(0x2e5)][_0x32fd8d(0x3a7)](xn),_0x4011ea=this[_0x32fd8d(0x2e5)]['getConfig'](Y),_0x13f4ec=(_0x1f29d5=(_0xb0e24=_0x4011ea==null?void 0x0:_0x4011ea[_0x32fd8d(0x254)])!=null?_0xb0e24:_0x8f6d9c)!=null?_0x1f29d5:Ln,_0x19d9dc=typeof window>'u'?new URL(_0x13f4ec):new URL(_0x13f4ec,window[_0x32fd8d(0x238)][_0x32fd8d(0x482)]);_0x19d9dc['searchParams']['set']('sessionTicket',_0x3a59c7);const _0x331a28=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x32fd8d(0x238)][_0x32fd8d(0x1be)]);return _0x331a28[_0x32fd8d(0x1b5)](_0x32fd8d(0x3f1))&&_0x19d9dc['searchParams']['set'](_0x32fd8d(0x3f1),_0x331a28['get'](_0x32fd8d(0x3f1))),_0x19d9dc[_0x32fd8d(0x22a)]();}async[_0x3817ac(0x439)](){var _0x3c44f3=_0x3817ac;const _0x4eb5ad=await this['_getSessionTicket'](),_0x5c6bd4=this[_0x3c44f3(0x33e)](_0x4eb5ad),_0x4bb92f=this['_socketService']['createSocket'](_0x5c6bd4);return this[_0x3c44f3(0x3db)]=_0x4bb92f,_0x4bb92f;}async[_0x3817ac(0x24a)](){var _0x3bc60e=_0x3817ac,_0x146b1b,_0x462b6b;try{const _0x38482b=(_0x462b6b=(_0x146b1b=this[_0x3bc60e(0x367)])!=null?_0x146b1b:this['_candidateSocket'])!=null?_0x462b6b:await this[_0x3bc60e(0x439)]();if(_0x38482b){const _0x6e09e6=_0x38482b['send'];_0x38482b[_0x3bc60e(0x3bb)]=_0x519950=>(this['_rescheduleHeartbeat'](),_0x6e09e6['apply'](_0x38482b,[_0x519950])),_0x38482b['message$'][_0x3bc60e(0x3da)](_0x1e1334=>this[_0x3bc60e(0x44b)](_0x38482b,_0x1e1334)),_0x38482b[_0x3bc60e(0x475)][_0x3bc60e(0x37a)](_0x512f7a(0x1))[_0x3bc60e(0x3da)](_0x96b9d3=>this[_0x3bc60e(0x334)][_0x3bc60e(0x2d3)](_0x3bc60e(0x1b6),_0x96b9d3)),_0x38482b[_0x3bc60e(0x452)][_0x3bc60e(0x37a)](_0x512f7a(0x1))[_0x3bc60e(0x3da)](()=>{var _0x437c51=_0x3bc60e;this[_0x437c51(0x35e)](_0x38482b);}),_0x38482b[_0x3bc60e(0x4ab)][_0x3bc60e(0x37a)](_0x512f7a(0x1))['subscribe'](_0x284406=>{var _0x4d03a0=_0x3bc60e;this[_0x4d03a0(0x334)][_0x4d03a0(0x406)]('[CollaborationSessionService]',_0x4d03a0(0x352),_0x284406),this['_onConnectionFailed']();});}}catch(_0x1d8810){this[_0x3bc60e(0x334)]['error'](_0x1d8810),this[_0x3bc60e(0x294)]();}}[_0x3817ac(0x35e)](_0x103888){var _0x47934b=_0x3817ac;this[_0x47934b(0x334)]['debug'](_0x47934b(0x47e),_0x47934b(0x3ab)),_0x103888['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3817ac(0x428)](){var _0x18a6dc=_0x3817ac;this[_0x18a6dc(0x1e5)]=!0x1,this[_0x18a6dc(0x3db)]=null,this[_0x18a6dc(0x2b5)][_0x18a6dc(0x394)](Te[_0x18a6dc(0x41a)]),this[_0x18a6dc(0x434)]['next'](null),this[_0x18a6dc(0x2d5)](),this[_0x18a6dc(0x3a4)]();}[_0x3817ac(0x294)](){var _0xe80281=_0x3817ac,_0x4f537c;this['_onOffline'](),this[_0xe80281(0x1fb)]<((_0x4f537c=this[_0xe80281(0x2e5)][_0xe80281(0x3a7)](jn))!=null?_0x4f537c:Bn)?(this['_collaborationUIEventService']['emitEvent']({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xe80281(0x257)]});}[_0x3817ac(0x3c6)](){var _0x1f43d1=_0x3817ac,_0x415a81;const _0x1a6a39=this[_0x1f43d1(0x1fb)],_0x8fad87=this[_0x1f43d1(0x2e5)]['getConfig'](Y),_0x1f894e=_0x1a6a39===0x0?0x0:((_0x415a81=_0x8fad87==null?void 0x0:_0x8fad87[_0x1f43d1(0x28d)])!=null?_0x415a81:kn)*0x2**_0x1a6a39;this['_retryConnectingTimer']=setTimeout(()=>{var _0x485282=_0x1f43d1;clearTimeout(this[_0x485282(0x410)]),this[_0x485282(0x410)]=null,this[_0x485282(0x24a)]();},_0x1f894e),this[_0x1f43d1(0x1fb)]+=0x1;}[_0x3817ac(0x44b)](_0x5010bd,_0x491814){var _0x40ac5c=_0x3817ac;const {cmd:_0x2ef282}=_0x491814;_0x2ef282===F[_0x40ac5c(0x262)]&&!this['_socketReady']&&(_0x5010bd[_0x40ac5c(0x311)]=_0x491814[_0x40ac5c(0x289)][_0x40ac5c(0x311)],this[_0x40ac5c(0x434)]['next'](_0x5010bd),this[_0x40ac5c(0x2b5)][_0x40ac5c(0x394)](Te['ONLINE']),this[_0x40ac5c(0x1e5)]=!0x0,this['_candidateSocket']=null),_0x2ef282===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x40ac5c(0x2cc)]();}[_0x3817ac(0x2cc)](){var _0x15b35b=_0x3817ac,_0x17ebba;this[_0x15b35b(0x3a4)](),this[_0x15b35b(0x263)]=setTimeout(()=>this[_0x15b35b(0x241)](),(_0x17ebba=this[_0x15b35b(0x2e5)]['getConfig']($n))!=null?_0x17ebba:Hn);}[_0x3817ac(0x241)](){var _0x49fc08=_0x3817ac;this[_0x49fc08(0x367)][_0x49fc08(0x3bb)]({'cmd':F[_0x49fc08(0x1f1)]}),this[_0x49fc08(0x2e4)]();}[_0x3817ac(0x2e4)](){var _0x282f2c=_0x3817ac,_0xfd3f8a;this[_0x282f2c(0x19a)]=setTimeout(()=>this[_0x282f2c(0x294)](),(_0xfd3f8a=this[_0x282f2c(0x2e5)]['getConfig'](Ii))!=null?_0xfd3f8a:Ti);}[_0x3817ac(0x3a4)](){var _0x10818c=_0x3817ac;this[_0x10818c(0x263)]!=null&&(clearTimeout(this[_0x10818c(0x263)]),this[_0x10818c(0x263)]=null);}[_0x3817ac(0x2d5)](){var _0x52f467=_0x3817ac;this[_0x52f467(0x19a)]!=null&&(clearTimeout(this[_0x52f467(0x19a)]),this[_0x52f467(0x19a)]=null);}};Le=_s([ge(0x0,_0x880ce4(_0x28aed1)),ge(0x1,_0x3b11ba),ge(0x2,_0x268506),ge(0x3,Ri),ge(0x4,_0x880ce4(_0x157352)),ge(0x5,_0x880ce4(pe)),ge(0x6,_0x1d2db0(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x3817ac(0x399)]((n+0x100)['toString'](0x10)[_0x3817ac(0x2ba)](0x1));function ls(_0x305aaa,_0x50477a=0x0){var _0x152327=_0x3817ac;return(V[_0x305aaa[_0x50477a+0x0]]+V[_0x305aaa[_0x50477a+0x1]]+V[_0x305aaa[_0x50477a+0x2]]+V[_0x305aaa[_0x50477a+0x3]]+'-'+V[_0x305aaa[_0x50477a+0x4]]+V[_0x305aaa[_0x50477a+0x5]]+'-'+V[_0x305aaa[_0x50477a+0x6]]+V[_0x305aaa[_0x50477a+0x7]]+'-'+V[_0x305aaa[_0x50477a+0x8]]+V[_0x305aaa[_0x50477a+0x9]]+'-'+V[_0x305aaa[_0x50477a+0xa]]+V[_0x305aaa[_0x50477a+0xb]]+V[_0x305aaa[_0x50477a+0xc]]+V[_0x305aaa[_0x50477a+0xd]]+V[_0x305aaa[_0x50477a+0xe]]+V[_0x305aaa[_0x50477a+0xf]])[_0x152327(0x247)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x171fa3=_0x3817ac;if(!dt){if(typeof crypto>'u'||!crypto[_0x171fa3(0x19b)])throw new Error(_0x171fa3(0x276));dt=crypto[_0x171fa3(0x19b)][_0x171fa3(0x397)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x3817ac(0x433)]&&crypto[_0x3817ac(0x433)][_0x3817ac(0x397)](crypto),Jt={'randomUUID':fs};function vs(_0x57196f,_0x3d63d9,_0x55ded9){var _0x1bb90b=_0x3817ac;if(Jt['randomUUID']&&!_0x3d63d9&&!_0x57196f)return Jt[_0x1bb90b(0x433)]();_0x57196f=_0x57196f||{};const _0x27ebae=_0x57196f['random']||(_0x57196f[_0x1bb90b(0x48e)]||ds)();return _0x27ebae[0x6]=_0x27ebae[0x6]&0xf|0x40,_0x27ebae[0x8]=_0x27ebae[0x8]&0x3f|0x80,ls(_0x27ebae);}const X=_0x526b95(_0x3817ac(0x3f4));function po(_0x206113){var _0x53c970=_0x3817ac;return _0x53c970(0x366)+_0x206113;}var ps=Object['defineProperty'],ms=Object[_0x3817ac(0x1df)],gs=(_0x41469c,_0x9fb70b,_0x28f1fc,_0x5cd1c8)=>{var _0x1330b3=_0x3817ac;for(var _0x3cac46=_0x5cd1c8>0x1?void 0x0:_0x5cd1c8?ms(_0x9fb70b,_0x28f1fc):_0x9fb70b,_0x1871c0=_0x41469c[_0x1330b3(0x450)]-0x1,_0x32236e;_0x1871c0>=0x0;_0x1871c0--)(_0x32236e=_0x41469c[_0x1871c0])&&(_0x3cac46=(_0x5cd1c8?_0x32236e(_0x9fb70b,_0x28f1fc,_0x3cac46):_0x32236e(_0x3cac46))||_0x3cac46);return _0x5cd1c8&&_0x3cac46&&ps(_0x9fb70b,_0x28f1fc,_0x3cac46),_0x3cac46;},ft=(_0x7df817,_0x386f74)=>(_0x58b0bb,_0x2d8337)=>_0x386f74(_0x58b0bb,_0x2d8337,_0x7df817);function Ss(_0x46c4aa){var _0x4f450f=_0x3817ac;const {unitID:_0x346d9a,mutations:_0x2dd00f}=_0x46c4aa;return{'unitId':_0x346d9a,'subUnitId':_0x2dd00f[0x0][_0x4f450f(0x3f3)][_0x4f450f(0x3ee)]};}let nt=class{constructor(_0x552acd,_0x1acb73,_0x1463c9){var _0x423781=_0x3817ac;this['_injector']=_0x552acd,this[_0x423781(0x2af)]=_0x1acb73,this[_0x423781(0x2a4)]=_0x1463c9;}[_0x3817ac(0x225)](_0x1b9b95){var _0xe710d=_0x3817ac,_0x176b82,_0x2fe2e3,_0x52b7fc,_0x3be10f;const _0x148cb4=this[_0xe710d(0x393)][_0xe710d(0x1b5)](_0x40f603),{unitId:_0x2446d3,subUnitId:_0x1000d9}=Ss(_0x1b9b95),_0x15bf95=_0x148cb4==null?void 0x0:_0x148cb4['getWorkbookSelections'](_0x2446d3)[_0xe710d(0x403)](),_0x2b0a00=(_0x2fe2e3=(_0x176b82=this['_instanceService'][_0xe710d(0x304)](_0x2446d3))==null?void 0x0:_0x176b82['getActiveSheet']())==null?void 0x0:_0x2fe2e3['getSheetId']();if(_0x15bf95[_0xe710d(0x450)]===0x0||!_0x2446d3||!_0x1000d9)return;const _0x2d2d0e=[{'id':_0x3529cb['id'],'params':{'unitId':_0x2446d3,'subUnitId':_0x2b0a00,'selections':_0x19a3c3[_0xe710d(0x45e)](_0x15bf95)}}],_0x3d4836=this[_0xe710d(0x2af)][_0xe710d(0x401)](_0x1b9b95,_0x2d2d0e);if(!_0x490500(_0x3d4836))throw _0x3d4836[_0xe710d(0x2d3)];const _0x398858=(_0x3be10f=(_0x52b7fc=_0x3d4836[_0xe710d(0x2ec)][0x0])==null?void 0x0:_0x52b7fc[_0xe710d(0x3f3)])==null?void 0x0:_0x3be10f[_0xe710d(0x44f)];if(Array[_0xe710d(0x431)](_0x398858)&&_0x398858[_0xe710d(0x450)]){if(_0x398858[_0xe710d(0x450)]===_0x2d2d0e[0x0][_0xe710d(0x3f3)]['selections'][_0xe710d(0x450)]&&_0x398858['every']((_0x15884c,_0x2c6d14)=>_0x5381ba['equals'](_0x15884c['range'],_0x2d2d0e[0x0][_0xe710d(0x3f3)][_0xe710d(0x44f)][_0x2c6d14]['range'])))return;this[_0xe710d(0x393)][_0xe710d(0x1b5)](_0x5ee12b)['executeCommand'](_0x3529cb['id'],{'unitId':_0x2446d3,'subUnitId':_0x2b0a00,'selections':_0x398858});}}};nt=gs([ft(0x0,_0x880ce4(_0x28aed1)),ft(0x1,_0x5e4ebe),ft(0x2,_0x369bbf)],nt);const _t=_0x526b95(_0x3817ac(0x2c7));var Oi=(_0x399a9f=>(_0x399a9f[_0x399a9f[_0x3817ac(0x326)]=0x0]=_0x3817ac(0x326),_0x399a9f[_0x399a9f['OTHER_CLIENTS_EDITING']=0x1]=_0x3817ac(0x222),_0x399a9f))(Oi||{});const Es=new Set([_0x2e554f['id']]);function Xt(_0x2143fb,_0x59acbe,_0xb7dcd3,_0x1ae7a6,_0x160932){var _0x589145=_0x3817ac,_0x45686d,_0x62bc19,_0xef02b7,_0x43ba86;const _0x13961a=[];for(const _0x39ad57 of _0x2143fb)if(Es['has'](_0x39ad57['id'])){if(_0x13961a['length']>0x0)break;_0x13961a[_0x589145(0x399)](_0x39ad57);break;}else _0x13961a[_0x589145(0x399)](_0x39ad57);const _0x107e23=(_0x62bc19=(_0x45686d=_0x160932[_0x589145(0x459)]())==null?void 0x0:_0x45686d[_0x589145(0x357)])!=null?_0x62bc19:_0x589145(0x259),_0x2956da=(_0x43ba86=(_0xef02b7=_0x160932['getCurrentUser']())==null?void 0x0:_0xef02b7['memberID'])!=null?_0x43ba86:_0x589145(0x259);return{'changeset':{'unitID':_0x59acbe,'type':_0x177af8(_0xb7dcd3[_0x589145(0x323)](_0x59acbe)),'baseRev':_0x1ae7a6[_0x589145(0x484)](_0x59acbe),'revision':0x0,'userID':_0x107e23,'memberID':_0x2956da,'mutations':_0x13961a},'pendingMutations':_0x2143fb[_0x589145(0x2ba)](_0x13961a['length'])};}function Is(_0x22f47b,_0x443381,_0x1ac17f,_0xffd603,_0x26c54e){var _0x3a4854=_0x3817ac,_0x26abba,_0x7a89b8,_0x12653f,_0x2271cc;const _0x479c65=[_0x22f47b['reduce']((_0x57b825,_0x47ff0a)=>{var _0xa818a1=_0x7017,_0xc738a0;const {id:_0x256951}=_0x57b825,{id:_0x5a31a7,type:_0x121bb5}=_0x47ff0a,_0x414915=(_0xc738a0=_0x57b825[_0xa818a1(0x3f3)])!=null?_0xc738a0:{'actions':null},_0x2b8edc=_0x47ff0a[_0xa818a1(0x3f3)];if(_0x256951&&_0x256951!==_0x5a31a7)throw new Error(_0xa818a1(0x382)+_0x256951+_0xa818a1(0x202)+_0x5a31a7+'.');return{..._0x57b825,'id':_0x5a31a7,'type':_0x121bb5,'params':{'unitId':_0x2b8edc[_0xa818a1(0x49d)],'textRanges':_0x2b8edc[_0xa818a1(0x1eb)],'actions':_0x4f4e18[_0xa818a1(0x1d8)](_0x414915[_0xa818a1(0x2ae)],_0x2b8edc[_0xa818a1(0x2ae)])}};},{})],_0x22271f=(_0x7a89b8=(_0x26abba=_0x26c54e[_0x3a4854(0x459)]())==null?void 0x0:_0x26abba[_0x3a4854(0x357)])!=null?_0x7a89b8:_0x3a4854(0x259),_0x412724=(_0x2271cc=(_0x12653f=_0x26c54e['getCurrentUser']())==null?void 0x0:_0x12653f[_0x3a4854(0x311)])!=null?_0x2271cc:'unknown';return{'changeset':{'unitID':_0x443381,'type':_0x177af8(_0x1ac17f[_0x3a4854(0x323)](_0x443381)),'baseRev':_0xffd603['getCurrentRevOfUnit'](_0x443381),'revision':0x0,'userID':_0x22271f,'memberID':_0x412724,'mutations':_0x479c65},'pendingMutations':[]};}function Ni(_0x384337,_0x444e76){var _0x430755=_0x3817ac;const _0x16e934=new _0xd22070(0x1);return setTimeout(()=>_0x16e934[_0x430755(0x394)](_0x444e76),_0x384337),_0x16e934['asObservable']()[_0x430755(0x37a)](_0x551224(0x1));}const Ts={'id':_0x57917a['id'],'type':_0x2cbde1[_0x3817ac(0x384)],'params':{}};var Cs=Object['defineProperty'],bs=Object[_0x3817ac(0x1df)],be=(_0x51669f,_0xb45e0,_0x471f50,_0x4f746e)=>{var _0x100544=_0x3817ac;for(var _0x564ad1=_0x4f746e>0x1?void 0x0:_0x4f746e?bs(_0xb45e0,_0x471f50):_0xb45e0,_0x14f035=_0x51669f[_0x100544(0x450)]-0x1,_0x288fab;_0x14f035>=0x0;_0x14f035--)(_0x288fab=_0x51669f[_0x14f035])&&(_0x564ad1=(_0x4f746e?_0x288fab(_0xb45e0,_0x471f50,_0x564ad1):_0x288fab(_0x564ad1))||_0x564ad1);return _0x4f746e&&_0x564ad1&&Cs(_0xb45e0,_0x471f50,_0x564ad1),_0x564ad1;},A=(_0x389813,_0x58d407)=>(_0x2e2c79,_0xe7d1eb)=>_0x58d407(_0x2e2c79,_0xe7d1eb,_0x389813),Pi=(_0x1d9e50=>(_0x1d9e50['NOT_COLLAB']=_0x3817ac(0x358),_0x1d9e50[_0x3817ac(0x278)]=_0x3817ac(0x37e),_0x1d9e50[_0x3817ac(0x3fc)]='pending',_0x1d9e50[_0x3817ac(0x39c)]=_0x3817ac(0x362),_0x1d9e50[_0x3817ac(0x2fe)]='awaiting_with_pending',_0x1d9e50[_0x3817ac(0x282)]=_0x3817ac(0x466),_0x1d9e50[_0x3817ac(0x42d)]='conflict',_0x1d9e50['OFFLINE']=_0x3817ac(0x317),_0x1d9e50))(Pi||{});const Di=0xea60;class Re{constructor(_0x23fd57,_0x24f705,_0x5c1a80,_0xa09004,_0x2e2c46,_0x51f192,_0x38d913,_0x57c1d4,_0x4e37b0){var _0x169815=_0x3817ac;P(this,_0x169815(0x2a6),null),P(this,_0x169815(0x490),[]),(this[_0x169815(0x22f)]=_0x23fd57,this[_0x169815(0x408)]=_0x24f705,this['_handler']=_0x2e2c46,this['_commandService']=_0x51f192,this['_undoRedoService']=_0x38d913,this[_0x169815(0x3d9)]=_0x57c1d4,this[_0x169815(0x38e)]=_0x4e37b0,this[_0x169815(0x2a6)]=_0x5c1a80,this[_0x169815(0x490)]=_0xa09004);}[_0x3817ac(0x48a)](_0x41bd8c){var _0x2235b0=_0x3817ac;const _0x4fbe36=this[_0x2235b0(0x3d9)][_0x2235b0(0x484)](this[_0x2235b0(0x22f)]);return _0x41bd8c[_0x2235b0(0x236)]>_0x4fbe36+0x1?(this[_0x2235b0(0x3c9)][_0x2235b0(0x2c3)]({'from':_0x4fbe36,'to':_0x41bd8c['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x34de1c){var _0x18a0fd=_0x3817ac;this[_0x18a0fd(0x280)][_0x18a0fd(0x19c)](this['unitID'],_0x34de1c);}[_0x3817ac(0x47c)](_0x199cf0){var _0x111c83=_0x3817ac,_0x455e5a,_0xef6f7f;(_0xef6f7f=(_0x455e5a=this[_0x111c83(0x3c9)])[_0x111c83(0x3e5)])==null||_0xef6f7f[_0x111c83(0x26b)](_0x455e5a,_0x199cf0);}[_0x3817ac(0x285)](_0x18a528){var _0x52042d=_0x3817ac,_0x545fb4,_0x55ddb3;return(_0x55ddb3=(_0x545fb4=this['_handler'])[_0x52042d(0x470)])==null?void 0x0:_0x55ddb3['call'](_0x545fb4,_0x18a528);}[_0x3817ac(0x3c4)](_0x2b5d20){var _0x2bdcfe=_0x3817ac,_0x750afb,_0x4439ca;return(_0x4439ca=(_0x750afb=this[_0x2bdcfe(0x3c9)])['onTransformState'])==null?void 0x0:_0x4439ca[_0x2bdcfe(0x26b)](_0x750afb,_0x2b5d20);}[_0x3817ac(0x3dc)](_0x4d2677){var _0x2b19fc=_0x3817ac,_0xf585fc,_0x4af537,_0x38a713;return(_0x38a713=(_0x4af537=(_0xf585fc=this[_0x2b19fc(0x3c9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4af537[_0x2b19fc(0x26b)](_0xf585fc,_0x4d2677))!=null?_0x38a713:_0x4d2677;}[_0x3817ac(0x207)](_0x5dbc8a){var _0x5e65b6=_0x3817ac,_0xedb08a,_0x3c1ce6,_0x548063;return(_0x548063=(_0x3c1ce6=(_0xedb08a=this['_handler'])[_0x5e65b6(0x214)])==null?void 0x0:_0x3c1ce6[_0x5e65b6(0x26b)](_0xedb08a,_0x5dbc8a))!=null?_0x548063:_0x5dbc8a;}[_0x3817ac(0x4a9)](_0x4e14dd){var _0x58bd48=_0x3817ac,_0x1c4757,_0x332eff;if(this[_0x58bd48(0x408)]===Q['UNIVER_DOC']){const {unitID:_0x150359,mutations:_0x13bd93,memberID:_0x2baf29}=_0x4e14dd,_0x5b43e0=_0x13bd93[0x0]['params']['textRanges'];Array['isArray'](_0x5b43e0)&&_0x5b43e0['length']>0x0&&((_0x332eff=(_0x1c4757=this[_0x58bd48(0x3c9)])['onSyncEditingCollabCursor'])==null||_0x332eff[_0x58bd48(0x26b)](_0x1c4757,{'unitID':_0x150359,'memberID':_0x2baf29,'textRanges':_0x5b43e0}));}}[_0x3817ac(0x378)](){var _0x338f65=_0x3817ac,_0x1984b9;(_0x1984b9=this[_0x338f65(0x38e)])==null||_0x1984b9[_0x338f65(0x1f9)](this[_0x338f65(0x22f)],this[_0x338f65(0x408)],this[_0x338f65(0x2a6)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x5a1967=_0x3817ac;return this['_revisionService'][_0x5a1967(0x484)](this[_0x5a1967(0x22f)]);}[_0x3817ac(0x416)](){var _0x9297fb=_0x3817ac;this['_revisionService'][_0x9297fb(0x1d6)](this[_0x9297fb(0x22f)]);}[_0x3817ac(0x346)](_0x39ad0c){var _0x16c219=_0x3817ac,_0x15a333;let _0x49b912=this[_0x16c219(0x3dc)](_0x39ad0c);_0x49b912=this[_0x16c219(0x207)](_0x49b912);const _0x1f7ad7=_0x6e8ef5(_0x49b912[_0x16c219(0x2da)],this[_0x16c219(0x3b3)],{'fromCollab':!0x0});if(!_0x1f7ad7[_0x16c219(0x449)])throw _0x1f7ad7[_0x16c219(0x2d3)]instanceof Error?_0x1f7ad7[_0x16c219(0x2d3)]:new Error((_0x15a333=_0x1f7ad7['error'])!=null?_0x15a333:_0x16c219(0x2d1));this[_0x16c219(0x285)](_0x49b912),this[_0x16c219(0x3c4)](_0x49b912),this['_transformUndoredo'](_0x39ad0c),this[_0x16c219(0x47c)](_0x49b912),this['_syncEditingCollabCursor'](_0x49b912),this[_0x16c219(0x416)]();}}let Pe=class extends Re{constructor(_0x32aed1,_0xa27c18,_0x596379,_0x4dced9,_0x223ac4,_0x3deeaa,_0x5302ed,_0x43fd5e,_0x5a408d,_0x32b5f3){var _0x37cef3=_0x3817ac;super(_0x32aed1,_0xa27c18,null,[],_0x596379,_0x5302ed,_0x3deeaa,_0x4dced9,_0x32b5f3),P(this,_0x37cef3(0x1f4),_0x37cef3(0x37e)),(this[_0x37cef3(0x393)]=_0x223ac4,this['_logService']=_0x43fd5e,this[_0x37cef3(0x2af)]=_0x5a408d,this[_0x37cef3(0x3a6)]=_0x32b5f3);}[_0x3817ac(0x3b9)](_0x3a4ed9){var _0x2f8aa7=_0x3817ac;const _0x587b82=this[_0x2f8aa7(0x393)]['createInstance'](oe,this[_0x2f8aa7(0x22f)],this[_0x2f8aa7(0x408)],[_0x3a4ed9],this[_0x2f8aa7(0x3c9)]);return _0x587b82[_0x2f8aa7(0x23b)](),_0x587b82['_updateLocalCache'](),_0x587b82;}['onRemoteChangeset'](_0x151cd5){var _0x1f290f=_0x3817ac;if(this['_checkMissing'](_0x151cd5))return this[_0x1f290f(0x393)][_0x1f290f(0x440)](te,this['unitID'],this['type'],null,[],null,[_0x151cd5],this['_handler']);try{const _0x125b3b=this[_0x1f290f(0x2af)][_0x1f290f(0x401)](_0x151cd5,[Ts]);if(_0x490500(_0x125b3b)){const {c1Prime:_0x8418d}=_0x125b3b;return this['_executeRemoteChangeset'](_0x8418d),this;}throw _0x125b3b[_0x1f290f(0x2d3)];}catch(_0x5103d3){return this[_0x1f290f(0x334)]['error'](_0x5103d3),this[_0x1f290f(0x363)](!0x1);}}[_0x3817ac(0x363)](_0x508ccd){var _0x269ab5=_0x3817ac;return this[_0x269ab5(0x393)][_0x269ab5(0x440)](de,this['unitID'],this['type'],null,[],this[_0x269ab5(0x3c9)],_0x508ccd);}[_0x3817ac(0x415)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3817ac(0x253)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){var _0x2b5328=_0x3817ac;return this[_0x2b5328(0x393)][_0x2b5328(0x440)](fe,this[_0x2b5328(0x22f)],this[_0x2b5328(0x408)],null,[],this['_handler']);}[_0x3817ac(0x44e)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3817ac(0x260)](){var _0x11c551=_0x3817ac;const _0x1e738e=this[_0x11c551(0x3d9)][_0x11c551(0x484)](this[_0x11c551(0x22f)]);return this[_0x11c551(0x3c9)][_0x11c551(0x2c3)]({'from':_0x1e738e,'to':0x0}),this[_0x11c551(0x393)][_0x11c551(0x440)](te,this[_0x11c551(0x22f)],this['type'],null,[],null,[],this[_0x11c551(0x3c9)]);}};Pe=be([A(0x3,_0x880ce4(_0x46b1c6)),A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x43dc49),A(0x6,_0x5ee12b),A(0x7,_0x3b11ba),A(0x8,_0x5e4ebe),A(0x9,_0x1d2db0(X))],Pe);let oe=class extends Re{constructor(_0x2100d3,_0x16eef1,_0x421156,_0x4a8865,_0x1dddb6,_0x28b2c8,_0x4ebcb7,_0x4d8933,_0x31deab,_0x2d023e,_0x104e19,_0xb32bbf,_0x5d6307,_0x3a6428){var _0x18aa2d=_0x3817ac;super(_0x2100d3,_0x16eef1,null,_0x421156,_0x4a8865,_0x31deab,_0x5d6307,_0x28b2c8,_0x3a6428),P(this,_0x18aa2d(0x1f4),_0x18aa2d(0x468)),P(this,'_scheduleCompleteTimestamp',null),P(this,'_sendingTimer',null),(this[_0x18aa2d(0x393)]=_0x1dddb6,this[_0x18aa2d(0x3ac)]=_0x4ebcb7,this['_logService']=_0x4d8933,this[_0x18aa2d(0x2e5)]=_0x2d023e,this['_transformService']=_0x104e19,this['_univerInstanceService']=_0xb32bbf);}[_0x3817ac(0x3b9)](_0x3aaf68){var _0x15cdb8=_0x3817ac;return this[_0x15cdb8(0x490)][_0x15cdb8(0x399)](_0x3aaf68),this[_0x15cdb8(0x378)](),this;}[_0x3817ac(0x1c5)](_0x35a8ae){var _0x40bfb7=_0x3817ac;if(this['_checkMissing'](_0x35a8ae))return this[_0x40bfb7(0x1aa)](),this['_injector'][_0x40bfb7(0x440)](te,this[_0x40bfb7(0x22f)],this[_0x40bfb7(0x408)],null,this[_0x40bfb7(0x490)],null,[_0x35a8ae],this[_0x40bfb7(0x3c9)]);try{const _0x38748a=this[_0x40bfb7(0x2af)]['transformMutationsWithChangeset'](_0x35a8ae,this[_0x40bfb7(0x490)]);if(_0x490500(_0x38748a)){const {c1Prime:_0x38b9ca,m2Prime:_0x44cb12}=_0x38748a;this[_0x40bfb7(0x346)](_0x38b9ca);const _0x408939=this[_0x40bfb7(0x393)]['createInstance'](oe,this[_0x40bfb7(0x22f)],this['type'],_0x44cb12,this[_0x40bfb7(0x3c9)]);this[_0x40bfb7(0x1aa)]();const _0x242f32=new Date()[_0x40bfb7(0x235)](),_0xc4ee55=this['_scheduleCompleteTimestamp']?Math[_0x40bfb7(0x491)](this['_scheduleCompleteTimestamp']-_0x242f32,0x0):this[_0x40bfb7(0x2c6)]();return _0x408939[_0x40bfb7(0x23b)](_0xc4ee55),_0x408939;}throw _0x38748a[_0x40bfb7(0x2d3)];}catch(_0x29ef70){return this[_0x40bfb7(0x334)]['error'](_0x29ef70),this[_0x40bfb7(0x363)](!0x1);}}[_0x3817ac(0x415)](){var _0x3e8f37=_0x3817ac;throw new Error(_0x3e8f37(0x1fc));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3817ac(0x29f)](){var _0x16054c=_0x3817ac;return this[_0x16054c(0x1aa)](),this[_0x16054c(0x393)][_0x16054c(0x440)](fe,this[_0x16054c(0x22f)],this[_0x16054c(0x408)],null,this[_0x16054c(0x490)],this[_0x16054c(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x23b)](_0x25637c){var _0x449583=_0x3817ac;const _0x56c26d=_0x25637c!=null?_0x25637c:this[_0x449583(0x2c6)]();this['_scheduleCompleteTimestamp']=new Date()[_0x449583(0x235)]()+_0x56c26d,this[_0x449583(0x472)]=setTimeout(()=>{var _0x3f9c7a=_0x449583;this[_0x3f9c7a(0x1aa)]();let _0xba02c9=null;switch(this['type']){case Q[_0x3f9c7a(0x2e1)]:{_0xba02c9=Xt(this[_0x3f9c7a(0x490)],this[_0x3f9c7a(0x22f)],this[_0x3f9c7a(0x3cf)],this['_revisionService'],this[_0x3f9c7a(0x3ac)]);break;}case Q[_0x3f9c7a(0x1f6)]:{this[_0x3f9c7a(0x490)][_0x3f9c7a(0x1a8)](_0x4978f7=>_0x4978f7['id']===_0x4aee6a['id'])?_0xba02c9=Is(this['_pendingMutations'],this[_0x3f9c7a(0x22f)],this['_univerInstanceService'],this[_0x3f9c7a(0x3d9)],this[_0x3f9c7a(0x3ac)]):_0xba02c9=Xt(this[_0x3f9c7a(0x490)],this[_0x3f9c7a(0x22f)],this[_0x3f9c7a(0x3cf)],this['_revisionService'],this[_0x3f9c7a(0x3ac)]);break;}default:throw new Error(_0x3f9c7a(0x1b9)+this[_0x3f9c7a(0x408)]+_0x3f9c7a(0x495));}const {changeset:_0x36d47b,pendingMutations:_0xf1bab8}=_0xba02c9;this[_0x3f9c7a(0x3c9)][_0x3f9c7a(0x2ab)](_0x36d47b);const _0x2352e6=_0xf1bab8[_0x3f9c7a(0x450)]?this['_injector']['createInstance'](ae,this[_0x3f9c7a(0x22f)],this['type'],_0x36d47b,_0xf1bab8,this[_0x3f9c7a(0x3c9)],void 0x0):this['_injector'][_0x3f9c7a(0x440)](ue,this['unitID'],this[_0x3f9c7a(0x408)],_0x36d47b,this[_0x3f9c7a(0x3c9)]);_0x2352e6[_0x3f9c7a(0x378)](),this[_0x3f9c7a(0x3c9)][_0x3f9c7a(0x38a)](this,_0x2352e6);},_0x56c26d);}['_getSendChangesetTimeout'](){var _0x442a51=_0x3817ac,_0x3011a3;const _0xedf570=this['_configService'][_0x442a51(0x3a7)](Y);return(_0x3011a3=_0xedf570==null?void 0x0:_0xedf570['sendChangesetTimeout'])!=null?_0x3011a3:An;}[_0x3817ac(0x230)](){var _0xbd687a=_0x3817ac;throw new Error(_0xbd687a(0x2d8));}[_0x3817ac(0x1aa)](){var _0x19d07c=_0x3817ac;this[_0x19d07c(0x472)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x19d07c(0x472)]=null);}[_0x3817ac(0x363)](_0x2649fa){var _0x18e9f9=_0x3817ac;return this['_clearScheduledTask'](),this[_0x18e9f9(0x393)][_0x18e9f9(0x440)](de,this[_0x18e9f9(0x22f)],this[_0x18e9f9(0x408)],null,this[_0x18e9f9(0x490)],this[_0x18e9f9(0x3c9)],_0x2649fa);}};oe=be([A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x880ce4(_0x46b1c6)),A(0x6,_0x880ce4(xe)),A(0x7,_0x3b11ba),A(0x8,_0x5ee12b),A(0x9,_0x268506),A(0xa,_0x5e4ebe),A(0xb,_0x369bbf),A(0xc,_0x43dc49),A(0xd,_0x1d2db0(X))],oe);let ue=class extends Re{constructor(_0x41ae21,_0x55b042,_0x41a9b3,_0x557054,_0x422aba,_0x5f449a,_0x238c3e,_0x375628,_0x3748cf,_0x2e6a5a,_0x2d39ec){var _0x5ab07c=_0x3817ac;super(_0x41ae21,_0x55b042,_0x41a9b3,[],_0x557054,_0x238c3e,_0x2e6a5a,_0x5f449a,_0x2d39ec),P(this,_0x5ab07c(0x1f4),_0x5ab07c(0x362)),P(this,_0x5ab07c(0x37b),0x0),P(this,_0x5ab07c(0x479)),P(this,_0x5ab07c(0x3c7)),(this[_0x5ab07c(0x393)]=_0x422aba,this[_0x5ab07c(0x334)]=_0x375628,this[_0x5ab07c(0x2af)]=_0x3748cf);}[_0x3817ac(0x3b9)](_0x1a4f7e){var _0x4e18ce=_0x3817ac;this[_0x4e18ce(0x1aa)]();const _0x6ff4b0=this[_0x4e18ce(0x393)]['createInstance'](ae,this[_0x4e18ce(0x22f)],this[_0x4e18ce(0x408)],this[_0x4e18ce(0x2a6)],[_0x1a4f7e],this[_0x4e18ce(0x3c9)],this[_0x4e18ce(0x479)]);return _0x6ff4b0[_0x4e18ce(0x378)](),_0x6ff4b0;}[_0x3817ac(0x1c5)](_0x4bec62){var _0x240ed6=_0x3817ac;if(this[_0x240ed6(0x48a)](_0x4bec62))return this[_0x240ed6(0x1aa)](),this[_0x240ed6(0x393)][_0x240ed6(0x440)](te,this[_0x240ed6(0x22f)],this['type'],this[_0x240ed6(0x2a6)],[],null,[_0x4bec62],this['_handler']);try{const _0x452b5d=this[_0x240ed6(0x2af)][_0x240ed6(0x342)]([_0x4bec62],[this[_0x240ed6(0x2a6)]],!0x1);if(_0x1a2959(_0x452b5d)){const {c1Prime:_0x2f10be,c2Prime:_0x288409}=_0x452b5d;this[_0x240ed6(0x346)](_0x2f10be[0x0]),_0x288409[0x0][_0x240ed6(0x314)]=this[_0x240ed6(0x1a3)](),this[_0x240ed6(0x1aa)]();const _0x368196=this[_0x240ed6(0x393)][_0x240ed6(0x440)](ue,this[_0x240ed6(0x22f)],this[_0x240ed6(0x408)],_0x288409[0x0],this[_0x240ed6(0x3c9)]);return _0x368196['_updateLocalCache'](),_0x368196;}return this[_0x240ed6(0x363)](!0x1);}catch(_0x43ac2a){return this[_0x240ed6(0x334)]['error'](_0x43ac2a),this[_0x240ed6(0x363)](!0x1);}}['onRemoteAck'](_0x2ea120){var _0xf4f78c=_0x3817ac;this[_0xf4f78c(0x1aa)]();const _0x5485e2=this[_0xf4f78c(0x3d9)][_0xf4f78c(0x484)](this[_0xf4f78c(0x22f)]);if(_0x2ea120[_0xf4f78c(0x236)]<_0x5485e2-0x1)return this;if(this[_0xf4f78c(0x48a)](_0x2ea120))return this[_0xf4f78c(0x393)][_0xf4f78c(0x440)](te,this[_0xf4f78c(0x22f)],this[_0xf4f78c(0x408)],null,[],this[_0xf4f78c(0x2a6)],[],this['_handler']);this[_0xf4f78c(0x416)]();const _0x27e059=this['_injector'][_0xf4f78c(0x440)](Pe,this[_0xf4f78c(0x22f)],this[_0xf4f78c(0x408)],this[_0xf4f78c(0x3c9)]);return _0x27e059[_0xf4f78c(0x378)](),_0x27e059;}[_0x3817ac(0x253)](_0x52b5fc){var _0x562e5f=_0x3817ac;return this['_onConflict'](!!(_0x52b5fc!=null&&_0x52b5fc[_0x562e5f(0x492)]));}['onRemoteRetry'](_0x22aafd){var _0x45c24e=_0x3817ac;return this[_0x45c24e(0x37b)]>Di?this[_0x45c24e(0x29f)]():(this[_0x45c24e(0x479)]=Ni(this[_0x45c24e(0x37b)],{'timeout':this[_0x45c24e(0x37b)],'reqId':_0x22aafd[_0x45c24e(0x49a)]}),this[_0x45c24e(0x3c7)]=this[_0x45c24e(0x479)][_0x45c24e(0x3da)](({reqId:_0x11fc09,timeout:_0xa254cc})=>{var _0x461e34=_0x45c24e;this[_0x461e34(0x3f9)](_0x11fc09,_0xa254cc);}),this);}[_0x3817ac(0x29f)](){var _0x8177a0=_0x3817ac;return this['_clearScheduledTask'](),this[_0x8177a0(0x393)]['createInstance'](fe,this[_0x8177a0(0x22f)],this[_0x8177a0(0x408)],this[_0x8177a0(0x2a6)],[],this[_0x8177a0(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x290945=_0x3817ac;this['_handler']['onSendChangeset'](this[_0x290945(0x2a6)]);}[_0x3817ac(0x363)](_0x4b8a65){var _0x28cbc4=_0x3817ac;return this[_0x28cbc4(0x1aa)](),this[_0x28cbc4(0x393)][_0x28cbc4(0x440)](de,this[_0x28cbc4(0x22f)],this[_0x28cbc4(0x408)],this[_0x28cbc4(0x2a6)],[],this[_0x28cbc4(0x3c9)],_0x4b8a65);}[_0x3817ac(0x3f9)](_0x52439c,_0x3898ef){var _0x59dfb4=_0x3817ac,_0x380587;_0x52439c===((_0x380587=this[_0x59dfb4(0x2a6)])==null?void 0x0:_0x380587[_0x59dfb4(0x49a)])&&(this[_0x59dfb4(0x230)](),this[_0x59dfb4(0x37b)]=_0x3898ef===0x0?0x3e8:_0x3898ef*0x2);}[_0x3817ac(0x1aa)](){var _0x233dc8=_0x3817ac,_0x1a5651;(_0x1a5651=this[_0x233dc8(0x3c7)])==null||_0x1a5651['unsubscribe'](),this[_0x233dc8(0x37b)]=0x0;}};ue=be([A(0x4,_0x880ce4(_0x28aed1)),A(0x5,_0x880ce4(_0x46b1c6)),A(0x6,_0x5ee12b),A(0x7,_0x3b11ba),A(0x8,_0x5e4ebe),A(0x9,_0x43dc49),A(0xa,_0x1d2db0(X))],ue);let ae=class extends Re{constructor(_0x4cd753,_0x47e5e2,_0x39709b,_0x1f2efa,_0x4ac8f8,_0x2d86e5,_0x1a2894,_0x29a288,_0x13e337,_0x4ddc90,_0x42544b,_0x14ba90,_0x6b2ebc){var _0x38d344=_0x3817ac;super(_0x4cd753,_0x47e5e2,_0x39709b,_0x1f2efa,_0x4ac8f8,_0x13e337,_0x14ba90,_0x29a288,_0x6b2ebc),P(this,'status',_0x38d344(0x22c)),P(this,'_resendTimeout',0x0),P(this,_0x38d344(0x479)),P(this,_0x38d344(0x3c7)),(this[_0x38d344(0x393)]=_0x1a2894,this[_0x38d344(0x334)]=_0x4ddc90,this[_0x38d344(0x2af)]=_0x42544b,this[_0x38d344(0x3a6)]=_0x6b2ebc,_0x2d86e5&&(this[_0x38d344(0x479)]=_0x2d86e5,this['_sender']=this['_resendTimer'][_0x38d344(0x3da)](({reqId:_0x4e6cdb,timeout:_0xc6de41})=>{var _0x3620cd=_0x38d344;this[_0x3620cd(0x3f9)](_0x4e6cdb,_0xc6de41);})));}[_0x3817ac(0x3b9)](_0x5f14e3){var _0x1ee5b7=_0x3817ac;return this[_0x1ee5b7(0x490)]['push'](_0x5f14e3),this;}['onRemoteChangeset'](_0x4c6b3c){var _0x1d7361=_0x3817ac;if(this['_checkMissing'](_0x4c6b3c))return this[_0x1d7361(0x1aa)](),this[_0x1d7361(0x393)][_0x1d7361(0x440)](te,this[_0x1d7361(0x22f)],this[_0x1d7361(0x408)],this[_0x1d7361(0x2a6)],this[_0x1d7361(0x490)],null,[_0x4c6b3c],this[_0x1d7361(0x3c9)]);try{const _0x22f20f=this['_transformService'][_0x1d7361(0x342)]([_0x4c6b3c],[this[_0x1d7361(0x2a6)]],!0x1);if(_0x1a2959(_0x22f20f)){const {c1Prime:_0x430af3,c2Prime:_0x3f19c5}=_0x22f20f,_0x14f491=this[_0x1d7361(0x2af)][_0x1d7361(0x401)](_0x430af3[0x0],this[_0x1d7361(0x490)]);if(_0x490500(_0x14f491)){const {c1Prime:_0x58c298,m2Prime:_0x3e90f9}=_0x14f491;return this[_0x1d7361(0x346)](_0x58c298),_0x3f19c5[0x0]['baseRev']=this[_0x1d7361(0x1a3)](),this[_0x1d7361(0x1aa)](),this['_injector']['createInstance'](ae,this[_0x1d7361(0x22f)],this[_0x1d7361(0x408)],_0x3f19c5[0x0],_0x3e90f9,this[_0x1d7361(0x3c9)],void 0x0);}throw _0x14f491['error'];}throw _0x22f20f[_0x1d7361(0x2d3)];}catch(_0x3c95cf){return this[_0x1d7361(0x334)][_0x1d7361(0x2d3)](_0x3c95cf),this[_0x1d7361(0x363)](!0x1);}}[_0x3817ac(0x415)](_0x599b7d){var _0x5e7347=_0x3817ac;if(this[_0x5e7347(0x1aa)](),this[_0x5e7347(0x48a)](_0x599b7d))return this[_0x5e7347(0x393)][_0x5e7347(0x440)](te,this['unitID'],this[_0x5e7347(0x408)],null,this[_0x5e7347(0x490)],this['_awaitingChangeset'],[],this[_0x5e7347(0x3c9)]);this[_0x5e7347(0x416)]();const _0x2ba35a=this[_0x5e7347(0x393)]['createInstance'](oe,this[_0x5e7347(0x22f)],this[_0x5e7347(0x408)],this[_0x5e7347(0x490)],this[_0x5e7347(0x3c9)]);return _0x2ba35a['_schedule'](),_0x2ba35a[_0x5e7347(0x378)](),_0x2ba35a;}['onRemoteRej'](_0x1af121){var _0x3ccc27=_0x3817ac;return this[_0x3ccc27(0x363)](!!(_0x1af121!=null&&_0x1af121['isPermissionRej']));}[_0x3817ac(0x25c)](_0x3dcba7){var _0x3d84ff=_0x3817ac;return this[_0x3d84ff(0x37b)]>Di?this[_0x3d84ff(0x29f)]():(this['_resendTimer']=Ni(this[_0x3d84ff(0x37b)],{'timeout':this[_0x3d84ff(0x37b)],'reqId':_0x3dcba7['reqId']}),this[_0x3d84ff(0x3c7)]=this[_0x3d84ff(0x479)][_0x3d84ff(0x3da)](({reqId:_0x4a1ecf,timeout:_0x1c1387})=>{var _0x5706da=_0x3d84ff;this[_0x5706da(0x3f9)](_0x4a1ecf,_0x1c1387);}),this);}[_0x3817ac(0x29f)](){var _0x48206f=_0x3817ac;return this[_0x48206f(0x1aa)](),this['_injector'][_0x48206f(0x440)](fe,this[_0x48206f(0x22f)],this[_0x48206f(0x408)],this['_awaitingChangeset'],this[_0x48206f(0x490)],this[_0x48206f(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x302dd3=_0x3817ac;this[_0x302dd3(0x3c9)][_0x302dd3(0x2ab)](this[_0x302dd3(0x2a6)]);}[_0x3817ac(0x363)](_0x66fe09){var _0x38b688=_0x3817ac;return this[_0x38b688(0x1aa)](),this[_0x38b688(0x393)]['createInstance'](de,this[_0x38b688(0x22f)],this[_0x38b688(0x408)],null,this[_0x38b688(0x490)],this[_0x38b688(0x3c9)],_0x66fe09);}[_0x3817ac(0x3f9)](_0xd7089,_0x18470e){var _0x1d3649=_0x3817ac,_0xf5e382;_0xd7089===((_0xf5e382=this['_awaitingChangeset'])==null?void 0x0:_0xf5e382[_0x1d3649(0x49a)])&&(this[_0x1d3649(0x230)](),this['_resendTimeout']=_0x18470e===0x0?0x3e8:_0x18470e*0x2);}['_clearScheduledTask'](){var _0x1a3ede=_0x3817ac,_0x12e265;(_0x12e265=this[_0x1a3ede(0x3c7)])==null||_0x12e265[_0x1a3ede(0x198)](),this[_0x1a3ede(0x37b)]=0x0;}};ae=be([A(0x6,_0x880ce4(_0x28aed1)),A(0x7,_0x880ce4(_0x46b1c6)),A(0x8,_0x5ee12b),A(0x9,_0x3b11ba),A(0xa,_0x5e4ebe),A(0xb,_0x43dc49),A(0xc,_0x1d2db0(X))],ae);let de=class extends Re{constructor(_0x6a1222,_0x3a2f10,_0x34e6b4,_0x452270,_0x4754cc,_0x3cd520=!0x1,_0x4f1af2,_0x32d36c,_0x36daa4,_0x2231ed,_0x5e8d95,_0x24ca8d,_0x3582c7){var _0x323cac=_0x3817ac;super(_0x6a1222,_0x3a2f10,_0x34e6b4,_0x452270,_0x4754cc,_0x32d36c,_0x36daa4,_0x2231ed,_0x3582c7),P(this,_0x323cac(0x1f4),_0x323cac(0x252)),(this[_0x323cac(0x404)]=_0x3cd520,this[_0x323cac(0x46c)]=_0x4f1af2,this[_0x323cac(0x1c8)]=_0x5e8d95,this[_0x323cac(0x46b)]=_0x24ca8d,this[_0x323cac(0x3a6)]=_0x3582c7,this[_0x323cac(0x489)](),this[_0x323cac(0x332)](),this[_0x323cac(0x31d)]());}[_0x3817ac(0x3b9)](){return this;}[_0x3817ac(0x1c5)](){return this;}[_0x3817ac(0x415)](){return this;}[_0x3817ac(0x253)](){return this;}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){return this;}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x230)](){var _0x15b9ad=_0x3817ac;throw new Error(_0x15b9ad(0x1d4));}[_0x3817ac(0x332)](){var _0x10b656=_0x3817ac,_0x3b3a64;(_0x3b3a64=this[_0x10b656(0x38e)])==null||_0x3b3a64[_0x10b656(0x1f9)](this[_0x10b656(0x22f)],this['type'],null,[]);}[_0x3817ac(0x489)](){var _0x3ad4cc=_0x3817ac;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x3ad4cc(0x426)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x3ad4cc(0x42d)]});}[_0x3817ac(0x31d)](){var _0x30d53e=_0x3817ac;this[_0x30d53e(0x46c)][_0x30d53e(0x478)](new _0x1fa601(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x880ce4(_0x3310d6)),A(0x7,_0x5ee12b),A(0x8,_0x43dc49),A(0x9,_0x880ce4(_0x46b1c6)),A(0xa,_0x880ce4(_0x42e13a)),A(0xb,_0x880ce4(pe)),A(0xc,_0x1d2db0(X))],de);let fe=class extends Re{constructor(_0x4dba3e,_0x4519d,_0x347a93,_0x16d83f,_0xd729f4,_0x1d07c1,_0x2fda16,_0x438ba1,_0x59b3c6,_0x5f28e1){var _0x15ce56=_0x3817ac;super(_0x4dba3e,_0x4519d,_0x347a93,_0x16d83f,_0xd729f4,_0x438ba1,_0x59b3c6,_0x2fda16,_0x5f28e1),P(this,_0x15ce56(0x1f4),_0x15ce56(0x317)),this[_0x15ce56(0x393)]=_0x1d07c1;}[_0x3817ac(0x3b9)](_0x222729){var _0x4f43ef=_0x3817ac;return this[_0x4f43ef(0x490)][_0x4f43ef(0x399)](_0x222729),this[_0x4f43ef(0x378)](),this;}[_0x3817ac(0x1c5)](_0x3d9ffa){var _0x20bf96=_0x3817ac;throw new Error(_0x20bf96(0x49c));}['onRemoteAck'](){var _0x249aaa=_0x3817ac;throw new Error(_0x249aaa(0x41d));}[_0x3817ac(0x253)](){var _0x9d7844=_0x3817ac;throw new Error(_0x9d7844(0x2d9));}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){return this;}[_0x3817ac(0x44e)](){var _0x3dc98b=_0x3817ac;const {_injector:_0xdaa4e2,_pendingMutations:_0x4799a7,_awaitingChangeset:_0xcd3ae1,unitID:_0x47819e,_handler:_0x5910bf,type:_0x293308}=this,_0x391b12=wi(_0xdaa4e2,_0x47819e,_0x293308,_0xcd3ae1,_0x4799a7,_0x5910bf);return _0x391b12 instanceof oe?_0x391b12[_0x3dc98b(0x23b)]():(_0x391b12 instanceof ae||_0x391b12 instanceof ue)&&_0x391b12[_0x3dc98b(0x230)](),_0x391b12;}[_0x3817ac(0x230)](){var _0x360639=_0x3817ac;throw new Error(_0x360639(0x29e));}};fe=be([A(0x5,_0x880ce4(_0x28aed1)),A(0x6,_0x880ce4(_0x46b1c6)),A(0x7,_0x5ee12b),A(0x8,_0x43dc49),A(0x9,_0x1d2db0(X))],fe);let te=class extends Re{constructor(_0x41ce0e,_0x4687df,_0x75ca73,_0x21b138,_0x262d28,_0xe3723d,_0x187dfb,_0x125cc4,_0x215a4e,_0x5e1ed1,_0x4cd348,_0x146786,_0x46ecdd,_0x6ea198){var _0xb59e38=_0x3817ac;super(_0x41ce0e,_0x4687df,_0x75ca73,_0x21b138,_0x187dfb,_0x4cd348,_0x146786,_0x215a4e,_0x6ea198),P(this,_0xb59e38(0x1f4),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x262d28,this[_0xb59e38(0x361)]=_0xe3723d,this[_0xb59e38(0x393)]=_0x125cc4,this[_0xb59e38(0x334)]=_0x5e1ed1,this['_transformService']=_0x46ecdd,this[_0xb59e38(0x3a6)]=_0x6ea198);}['onMissedChangesetFetched'](_0x3704c1){var _0x56e6a8=_0x3817ac;try{const _0x571240=[..._0x3704c1,...this[_0x56e6a8(0x361)]],_0x3f41d6=[this[_0x56e6a8(0x2a6)]||this[_0x56e6a8(0x2c0)]][_0x56e6a8(0x2c5)](_0x2ac99f=>!!_0x2ac99f);let _0x3d190f,_0x585a48;if(_0x3f41d6[_0x56e6a8(0x450)]){const _0x248b21=this['_transformService'][_0x56e6a8(0x342)](_0x571240,_0x3f41d6,!0x1);if(!_0x1a2959(_0x248b21))throw _0x248b21[_0x56e6a8(0x2d3)];_0x3d190f=_0x248b21['c1Prime'],_0x585a48=_0x248b21[_0x56e6a8(0x199)];}else _0x3d190f=_0x571240,_0x585a48=[];let _0x4fb278=this[_0x56e6a8(0x490)];_0x3d190f[_0x56e6a8(0x28f)](_0x2ec968=>{var _0x208429=_0x56e6a8;let _0x1404f3;if(_0x4fb278[_0x208429(0x450)]){const _0x443d=this['_transformService']['transformMutationsWithChangeset'](_0x2ec968,_0x4fb278);if(!_0x490500(_0x443d))throw _0x443d[_0x208429(0x2d3)];_0x1404f3=_0x443d[_0x208429(0x1ed)],_0x4fb278=_0x443d[_0x208429(0x2ec)];}else _0x1404f3=_0x2ec968;this['_executeRemoteChangeset'](_0x1404f3);}),this['_acknowledgedAwaitingChangeset']&&this[_0x56e6a8(0x416)](),this[_0x56e6a8(0x2a6)]&&_0x585a48[_0x56e6a8(0x450)]&&(_0x585a48[0x0][_0x56e6a8(0x314)]=this['_getCurrentRevision']());let _0x3dbe96;if(this['_awaitingChangeset']&&_0x4fb278[_0x56e6a8(0x450)]!==0x0)_0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](ae,this[_0x56e6a8(0x22f)],this['type'],_0x585a48[0x0],_0x4fb278,this[_0x56e6a8(0x3c9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4fb278[_0x56e6a8(0x450)]===0x0)_0x585a48[0x0][_0x56e6a8(0x314)]=this[_0x56e6a8(0x1a3)](),_0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](ue,this[_0x56e6a8(0x22f)],this[_0x56e6a8(0x408)],_0x585a48[0x0],this[_0x56e6a8(0x3c9)]);else{if(_0x4fb278[_0x56e6a8(0x450)]!==0x0){const _0xe5759d=this['_injector'][_0x56e6a8(0x440)](oe,this['unitID'],this[_0x56e6a8(0x408)],_0x4fb278,this['_handler']);_0xe5759d[_0x56e6a8(0x23b)](),_0x3dbe96=_0xe5759d;}else _0x3dbe96=this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](Pe,this['unitID'],this['type'],this[_0x56e6a8(0x3c9)]);}}return _0x3dbe96[_0x56e6a8(0x378)](),_0x3dbe96;}catch(_0x2ca290){return this[_0x56e6a8(0x334)][_0x56e6a8(0x2d3)](_0x56e6a8(0x2a5),_0x56e6a8(0x36e),_0x2ca290),this[_0x56e6a8(0x393)][_0x56e6a8(0x440)](de,this[_0x56e6a8(0x22f)],this['type'],this['_awaitingChangeset'],this[_0x56e6a8(0x490)],this[_0x56e6a8(0x3c9)],!0x1);}}[_0x3817ac(0x230)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3817ac(0x3b9)](_0x3b8416){var _0x6e58b3=_0x3817ac;return this['_pendingMutations'][_0x6e58b3(0x399)](_0x3b8416),this;}[_0x3817ac(0x1c5)](_0x4b07b0){var _0x40338c=_0x3817ac;return this[_0x40338c(0x361)][_0x40338c(0x399)](_0x4b07b0),this;}[_0x3817ac(0x415)](_0x539324){var _0x584950=_0x3817ac;if(this[_0x584950(0x2a6)])return this['_acknowledgedAwaitingChangeset']=this[_0x584950(0x2a6)],this[_0x584950(0x2a6)]=null,this;throw new Error(_0x584950(0x39b));}[_0x3817ac(0x253)](_0xe10b68){var _0x2a6a86=_0x3817ac;return this[_0x2a6a86(0x363)](!!(_0xe10b68!=null&&_0xe10b68['isPermissionRej']));}[_0x3817ac(0x25c)](){return this;}[_0x3817ac(0x29f)](){var _0xafcfee=_0x3817ac;return this['_injector'][_0xafcfee(0x440)](fe,this['unitID'],this[_0xafcfee(0x408)],this['_awaitingChangeset'],this[_0xafcfee(0x490)],this[_0xafcfee(0x3c9)]);}[_0x3817ac(0x44e)](){return this;}[_0x3817ac(0x363)](_0x3cce73){var _0x6daaf4=_0x3817ac;return this[_0x6daaf4(0x393)][_0x6daaf4(0x440)](de,this[_0x6daaf4(0x22f)],this[_0x6daaf4(0x408)],this[_0x6daaf4(0x2a6)],this[_0x6daaf4(0x490)],this[_0x6daaf4(0x3c9)],_0x3cce73);}};te=be([A(0x7,_0x880ce4(_0x28aed1)),A(0x8,_0x880ce4(_0x46b1c6)),A(0x9,_0x3b11ba),A(0xa,_0x5ee12b),A(0xb,_0x43dc49),A(0xc,_0x5e4ebe),A(0xd,_0x1d2db0(X))],te);function wi(_0x43f567,_0x1b85d7,_0xd8560,_0x54e059,_0x5c005a,_0x43577a){var _0x28f91a=_0x3817ac;return _0x54e059&&_0x5c005a[_0x28f91a(0x450)]?_0x43f567['createInstance'](ae,_0x1b85d7,_0xd8560,_0x54e059,_0x5c005a,_0x43577a,void 0x0):_0x54e059?_0x43f567[_0x28f91a(0x440)](ue,_0x1b85d7,_0xd8560,_0x54e059,_0x43577a):_0x5c005a[_0x28f91a(0x450)]?_0x43f567[_0x28f91a(0x440)](oe,_0x1b85d7,_0xd8560,_0x5c005a,_0x43577a):_0x43f567[_0x28f91a(0x440)](Pe,_0x1b85d7,_0xd8560,_0x43577a);}var Rs=Object[_0x3817ac(0x3b8)],ys=Object[_0x3817ac(0x1df)],Mt=(_0x156789,_0x4113a0,_0x2e8f65,_0x497f28)=>{var _0x5a01f3=_0x3817ac;for(var _0x38f601=_0x497f28>0x1?void 0x0:_0x497f28?ys(_0x4113a0,_0x2e8f65):_0x4113a0,_0x1b674b=_0x156789[_0x5a01f3(0x450)]-0x1,_0x98c9e9;_0x1b674b>=0x0;_0x1b674b--)(_0x98c9e9=_0x156789[_0x1b674b])&&(_0x38f601=(_0x497f28?_0x98c9e9(_0x4113a0,_0x2e8f65,_0x38f601):_0x98c9e9(_0x38f601))||_0x38f601);return _0x497f28&&_0x38f601&&Rs(_0x4113a0,_0x2e8f65,_0x38f601),_0x38f601;},k=(_0x1598ae,_0x31097e)=>(_0x19de09,_0x4c7dcc)=>_0x31097e(_0x19de09,_0x4c7dcc,_0x1598ae);function _0x7017(_0xa01964,_0x3374c9){var _0x484f2f=_0x484f();return _0x7017=function(_0x70178,_0x381ecd){_0x70178=_0x70178-0x197;var _0x3b5a87=_0x484f2f[_0x70178];return _0x3b5a87;},_0x7017(_0xa01964,_0x3374c9);}let st=class extends _0x9c8dcc{constructor(_0x395bde,_0xdcf52a,_0x5acdf9,_0xdae846,_0x303a1f,_0x5d3ec,_0xf154f1,_0x1cfd8c,_0x45d7b4,_0x2eb93f,_0x17c4b1,_0x2574c2,_0x278aa2){var _0x357af4=_0x3817ac;super(),P(this,_0x357af4(0x375),new _0x576e29(null)),P(this,_0x357af4(0x224),this[_0x357af4(0x375)][_0x357af4(0x34a)]()),P(this,_0x357af4(0x462)),P(this,'_collaborationPaused',!0x1),P(this,_0x357af4(0x36f),''),P(this,_0x357af4(0x41b),0x0),P(this,_0x357af4(0x340),this['state$'][_0x357af4(0x37a)](_0x155080(_0x9b4423=>_0x9b4423?_0x9b4423[_0x357af4(0x1f4)]:Pi[_0x357af4(0x41a)]),_0x55005f(0x1))),P(this,'_transitionLocked',!0x1),P(this,_0x357af4(0x3b0),[]),(this[_0x357af4(0x22f)]=_0x395bde,this[_0x357af4(0x275)]=_0xdcf52a,this[_0x357af4(0x3fb)]=_0x5acdf9,this[_0x357af4(0x393)]=_0xdae846,this['_compressMutationService']=_0x303a1f,this['_localeService']=_0x5d3ec,this[_0x357af4(0x3d9)]=_0xf154f1,this[_0x357af4(0x455)]=_0x1cfd8c,this[_0x357af4(0x334)]=_0x45d7b4,this[_0x357af4(0x3b3)]=_0x2eb93f,this[_0x357af4(0x46c)]=_0x17c4b1,this['_singleActiveUnitService']=_0x2574c2,this['_localCacheService']=_0x278aa2);}get[_0x3817ac(0x48c)](){var _0x3abc27=_0x3817ac;return this[_0x3abc27(0x462)];}async[_0x3817ac(0x494)](){var _0x40476c=_0x3817ac;if(this['state'])throw new Error(_0x40476c(0x47a));await this['_init']();}['pauseCollaboration'](){var _0x21ed4d=_0x3817ac;return this[_0x21ed4d(0x223)]=!0x0,_0x3282bc(()=>{var _0x1f0e4a=_0x21ed4d;this['_collaborationPaused']=!0x1,this[_0x1f0e4a(0x206)]();});}[_0x3817ac(0x2f0)](_0x49a900){var _0x5751e6=_0x3817ac;this[_0x5751e6(0x3d0)](_0x49a900);}[_0x3817ac(0x2d2)](_0x1f6ad3){var _0x312eab=_0x3817ac;this['_state']=_0x1f6ad3,this['_state$'][_0x312eab(0x394)](_0x1f6ad3);}async[_0x3817ac(0x265)](){var _0x865d47=_0x3817ac,_0x3576eb;this[_0x865d47(0x2d2)](await this['_createInitialState']()),this[_0x865d47(0x347)]&&((_0x3576eb=this[_0x865d47(0x347)])==null||_0x3576eb['editingUnit'](this[_0x865d47(0x22f)]),this[_0x865d47(0x38f)](this[_0x865d47(0x347)][_0x865d47(0x3cb)](this[_0x865d47(0x22f)])[_0x865d47(0x3da)](_0x690b27=>{var _0x574d40=_0x865d47;this['_logService'][_0x574d40(0x406)](_0x574d40(0x1fa),'editing\x20status\x20changed\x20to',_0x690b27),_0x690b27===Oi[_0x574d40(0x222)]?(this[_0x574d40(0x455)][_0x574d40(0x426)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x574d40(0x46c)][_0x574d40(0x478)](new _0x1fa601(this['unitID'])['id'],!0x1),this[_0x574d40(0x46c)][_0x574d40(0x2c2)](!0x1)):(this[_0x574d40(0x46c)][_0x574d40(0x478)](new _0x1fa601(this[_0x574d40(0x22f)])['id'],!0x0),this[_0x574d40(0x46c)][_0x574d40(0x2c2)](!0x0));})));let _0xfb1aea=!0x1;return this['disposeWithMe'](this[_0x865d47(0x275)][_0x865d47(0x32d)][_0x865d47(0x3da)](_0x14c039=>{var _0x4459b9=_0x865d47;_0x14c039===Te[_0x4459b9(0x348)]?this['_toggleOnline'](_0xfb1aea):_0x14c039===Te[_0x4459b9(0x41a)]&&(_0xfb1aea=!0x0,this[_0x4459b9(0x37c)]());})),this[_0x865d47(0x38f)](this['session'][_0x865d47(0x1a7)][_0x865d47(0x3da)](_0x243b8c=>{var _0x42a87c=_0x865d47;try{switch(_0x243b8c['eventID']){case _0x48cdf6[_0x42a87c(0x1c0)]:{this[_0x42a87c(0x386)](_0x42c60c(_0x243b8c[_0x42a87c(0x289)]));break;}case _0x48cdf6[_0x42a87c(0x1e2)]:{this[_0x42a87c(0x376)](_0x243b8c[_0x42a87c(0x289)]);break;}case _0x48cdf6[_0x42a87c(0x436)]:{this[_0x42a87c(0x4a5)]();break;}case _0x48cdf6[_0x42a87c(0x20d)]:{this[_0x42a87c(0x27c)](_0x243b8c[_0x42a87c(0x289)]);break;}case _0x48cdf6[_0x42a87c(0x2b8)]:{this[_0x42a87c(0x306)](_0x243b8c[_0x42a87c(0x289)][_0x42a87c(0x2a1)][_0x42a87c(0x418)](_0x14a44c=>_0x42c60c(_0x14a44c)));break;}case _0x48cdf6[_0x42a87c(0x47b)]:{this[_0x42a87c(0x4a5)]({'isPermissionRej':!0x0});break;}case _0x48cdf6[_0x42a87c(0x1f7)]:break;}}catch(_0x2049cf){throw console['error'](_0x42a87c(0x203),_0x2049cf),_0x2049cf;}})),this[_0x865d47(0x462)];}[_0x3817ac(0x473)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x4370a1=_0x3817ac;if(this[_0x4370a1(0x292)])throw new Error(_0x4370a1(0x45d));this[_0x4370a1(0x292)]=!0x0;}['_onLocalMutation'](_0x5af95a){var _0x173f36=_0x3817ac;this[_0x173f36(0x460)](),this[_0x173f36(0x2d2)](this['_state'][_0x173f36(0x3b9)](_0x5af95a)),this[_0x173f36(0x473)]();}[_0x3817ac(0x386)](_0x82cf41){var _0x472dc5=_0x3817ac;if(!(_0x82cf41['revision']<=this[_0x472dc5(0x3d9)]['getCurrentRevOfUnit'](this[_0x472dc5(0x22f)]))){if(this[_0x472dc5(0x223)]){this[_0x472dc5(0x3b0)][_0x472dc5(0x399)](_0x82cf41);return;}this[_0x472dc5(0x447)](_0x82cf41);}}['_exhaustRemoteChangesetQueue'](){var _0x497361=_0x3817ac;this[_0x497361(0x3b0)][_0x497361(0x28f)](_0x2e9935=>this[_0x497361(0x447)](_0x2e9935)),this[_0x497361(0x3b0)]=[];}[_0x3817ac(0x447)](_0x29fc5b){var _0x300737=_0x3817ac;const _0x1dba3a=this[_0x300737(0x30a)][_0x300737(0x3bc)][_0x300737(0x2f1)](this[_0x300737(0x30a)]['interceptor'][_0x300737(0x2b4)]()[_0x300737(0x33a)])(_0x29fc5b[_0x300737(0x2da)],null)||_0x29fc5b[_0x300737(0x2da)],_0x1f1ca8={..._0x29fc5b,'mutations':_0x1dba3a};this['_lockTransition'](),this['_updateState'](this[_0x300737(0x462)][_0x300737(0x1c5)](_0x1f1ca8)),this[_0x300737(0x473)]();}[_0x3817ac(0x376)](_0x25864b){var _0x3ae355=_0x3817ac;this[_0x3ae355(0x460)](),this['_updateState'](this[_0x3ae355(0x462)]['onRemoteAck'](_0x25864b)),this['_unlockTransition']();}[_0x3817ac(0x4a5)](_0x56de73){var _0x342c76=_0x3817ac;this[_0x342c76(0x460)](),this[_0x342c76(0x2d2)](this[_0x342c76(0x462)][_0x342c76(0x253)](_0x56de73)),this['_unlockTransition']();}[_0x3817ac(0x27c)](_0x263e44){var _0x378244=_0x3817ac;this[_0x378244(0x460)](),this['_updateState'](this[_0x378244(0x462)][_0x378244(0x25c)](_0x263e44)),this['_unlockTransition']();}[_0x3817ac(0x306)](_0xbfc41a){var _0x550292=_0x3817ac;if(!(this[_0x550292(0x462)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3567dc=_0xbfc41a[_0x550292(0x418)](_0x248fe8=>{var _0x4352ad=_0x550292;const _0x2c7128=this['_compressMutationService'][_0x4352ad(0x3bc)][_0x4352ad(0x2f1)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x248fe8[_0x4352ad(0x2da)],null)||_0x248fe8[_0x4352ad(0x2da)];return{..._0x248fe8,'mutations':_0x2c7128};});this[_0x550292(0x460)](),this[_0x550292(0x2d2)](this[_0x550292(0x462)][_0x550292(0x3ed)](_0x3567dc)),this['_unlockTransition']();}[_0x3817ac(0x37c)](){var _0x54db1a=_0x3817ac;this[_0x54db1a(0x460)](),this[_0x54db1a(0x2d2)](this[_0x54db1a(0x462)][_0x54db1a(0x29f)]()),this[_0x54db1a(0x473)]();}[_0x3817ac(0x1a2)](_0x47fbf6=!0x1){var _0x58588e=_0x3817ac;this['_lockTransition'](),this[_0x58588e(0x2d2)](this[_0x58588e(0x462)][_0x58588e(0x44e)]()),this[_0x58588e(0x473)]();const _0x43c3d9=this[_0x58588e(0x462)];_0x47fbf6&&_0x43c3d9 instanceof Pe&&(this['_lockTransition'](),this[_0x58588e(0x2d2)](_0x43c3d9[_0x58588e(0x260)]()),this[_0x58588e(0x473)]());}async[_0x3817ac(0x3e0)](){return new Promise(_0x1529d7=>{var _0x4eebcb=_0x7017;this[_0x4eebcb(0x275)][_0x4eebcb(0x32d)][_0x4eebcb(0x37a)](_0x551224(0x1))['subscribe'](async _0x12db79=>{var _0x159f32=_0x4eebcb;_0x1529d7(await this[_0x159f32(0x328)](_0x12db79===Te[_0x159f32(0x348)]));});});}[_0x3817ac(0x43c)](){var _0x443d13=_0x3817ac;const _0x430fd1=this[_0x443d13(0x22f)];return{'onStateChange':(_0x37d3e1,_0x2f3984)=>{var _0x38a467=_0x443d13;if(_0x37d3e1!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x37d3e1[_0x38a467(0x1f4)]+_0x38a467(0x438)+_0x2f3984[_0x38a467(0x1f4)]+_0x38a467(0x4aa)+this[_0x38a467(0x462)][_0x38a467(0x1f4)]);this[_0x38a467(0x2d2)](_0x2f3984);},'onSendChangeset':_0x4a52c5=>{var _0x1d3331=_0x443d13;_0x4a52c5[_0x1d3331(0x2c9)]||(_0x4a52c5[_0x1d3331(0x2c9)]=this[_0x1d3331(0x36f)],_0x4a52c5[_0x1d3331(0x49a)]=++this[_0x1d3331(0x41b)]);const _0x98e7a4={'eventID':_0x48cdf6['SUBMIT_CHANGESET'],'data':{'unitID':_0x4a52c5[_0x1d3331(0x22f)],'unitType':this[_0x1d3331(0x3fb)],'changeset':_0x4a52c5,'memberID':this[_0x1d3331(0x275)][_0x1d3331(0x319)]()}};this[_0x1d3331(0x275)]['send'](_0x98e7a4,this[_0x1d3331(0x22f)]);},'onMissingChangesets':({from:_0x25a456,to:_0x5488fd})=>{var _0x2e9b37=_0x443d13;this[_0x2e9b37(0x334)]['debug'](_0x2e9b37(0x1fa),_0x2e9b37(0x364)+_0x25a456+_0x2e9b37(0x1e8)+_0x5488fd);const _0x51d7f7={'eventID':_0x48cdf6[_0x2e9b37(0x216)],'data':{'unitID':_0x430fd1,'unitType':this[_0x2e9b37(0x3fb)],'from':_0x25a456,'to':_0x5488fd}};this[_0x2e9b37(0x275)]['send'](_0x51d7f7,this['unitID']);}};}async[_0x3817ac(0x328)](_0x1759be){var _0x36d5d7=_0x3817ac,_0x54a4f6,_0x52c5ac,_0xddae9a;const _0x42fa5a=await((_0x54a4f6=this['_localCacheService'])==null?void 0x0:_0x54a4f6['loadOfflineData'](this[_0x36d5d7(0x22f)])),_0x327782=(_0x52c5ac=_0x42fa5a==null?void 0x0:_0x42fa5a[_0x36d5d7(0x2da)])!=null?_0x52c5ac:[],_0x2b4844=(_0xddae9a=_0x42fa5a==null?void 0x0:_0x42fa5a['awaitingChangeset'])!=null?_0xddae9a:null,_0x1ca1e5=!!(_0x2b4844!=null&&_0x2b4844[_0x36d5d7(0x2c9)])&&!!(_0x2b4844!=null&&_0x2b4844[_0x36d5d7(0x49a)]);this[_0x36d5d7(0x36f)]=_0x1ca1e5?_0x2b4844['sid']:vs(),this[_0x36d5d7(0x41b)]=_0x1ca1e5?_0x2b4844[_0x36d5d7(0x49a)]:0x0;const _0x53c3b3=this[_0x36d5d7(0x22f)];try{this[_0x36d5d7(0x40d)](_0x2b4844,_0x327782);}catch(_0x327ee9){this[_0x36d5d7(0x334)][_0x36d5d7(0x2d3)](_0x327ee9);}const _0x1a227f=this[_0x36d5d7(0x43c)]();if(_0x1759be){const _0x4c6f84=wi(this[_0x36d5d7(0x393)],_0x53c3b3,this[_0x36d5d7(0x3fb)],_0x2b4844,_0x327782,_0x1a227f);return _0x4c6f84 instanceof oe?_0x4c6f84[_0x36d5d7(0x23b)]():(_0x4c6f84 instanceof ae||_0x4c6f84 instanceof ue)&&_0x4c6f84[_0x36d5d7(0x230)](),_0x4c6f84;}return this[_0x36d5d7(0x393)][_0x36d5d7(0x440)](fe,_0x53c3b3,this[_0x36d5d7(0x3fb)],_0x2b4844,_0x327782,_0x1a227f);}['_replayCachedMutations'](_0x5be804,_0x8ea6c8){var _0x165fbc=_0x3817ac,_0x1070c4,_0x1a5b42;const _0x10b07f=this[_0x165fbc(0x30a)][_0x165fbc(0x3bc)][_0x165fbc(0x2f1)](this[_0x165fbc(0x30a)][_0x165fbc(0x3bc)][_0x165fbc(0x2b4)]()['COMPRESS_MUTATION_APPLY']);(_0x1070c4=_0x10b07f((_0x5be804==null?void 0x0:_0x5be804[_0x165fbc(0x2da)])||[],null))==null||_0x1070c4['forEach'](_0x20d31f=>this['_commandService'][_0x165fbc(0x287)](_0x20d31f['id'],_0x20d31f['params'])),(_0x1a5b42=_0x10b07f(_0x8ea6c8||[],null))==null||_0x1a5b42[_0x165fbc(0x28f)](_0x1d46ae=>this[_0x165fbc(0x3b3)][_0x165fbc(0x287)](_0x1d46ae['id'],_0x1d46ae[_0x165fbc(0x3f3)]));}};st=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(pe)),k(0x8,_0x3b11ba),k(0x9,_0x5ee12b),k(0xa,_0x3310d6),k(0xb,_0x1d2db0(_t)),k(0xc,_0x1d2db0(X))],st);let Ct=class extends st{constructor(_0x24d2b7,_0x51fa1e,_0x50fe57,_0x50c9be,_0x223759,_0x2df351,_0x452c85,_0x2032ed,_0x3d3d8f,_0x4cefcb,_0x56d943,_0x4332ac,_0xa60871){var _0x56470a=_0x3817ac;super(_0x24d2b7,_0x50fe57,_0x51fa1e,_0x50c9be,_0x223759,_0x2df351,_0x452c85,_0x2032ed,_0x3d3d8f,_0x4cefcb,_0x56d943,_0x4332ac,_0xa60871),P(this,_0x56470a(0x24d),null),(this[_0x56470a(0x22f)]=_0x24d2b7,this[_0x56470a(0x408)]=_0x51fa1e);}[_0x3817ac(0x23c)](_0x275c7b){var _0x2740b6=_0x3817ac;this[_0x2740b6(0x24d)]=_0x275c7b;}[_0x3817ac(0x42b)](){var _0xa0eb29=_0x3817ac;this[_0xa0eb29(0x24d)]=null,super[_0xa0eb29(0x42b)]();}['_createHandler'](){var _0x245b7a=_0x3817ac;const _0x440d8b=super[_0x245b7a(0x43c)]();return _0x440d8b['onTransformIME']=_0x2cd725=>{var _0x71be1c=_0x245b7a,_0x52b0ed,_0x14289f;return(_0x14289f=(_0x52b0ed=this['_handlerCallback'])==null?void 0x0:_0x52b0ed['onTransformIME'])==null?void 0x0:_0x14289f[_0x71be1c(0x26b)](_0x52b0ed,_0x2cd725);},_0x440d8b['onTransformState']=_0x345bb6=>{var _0x3b0e5e=_0x245b7a,_0x59aa44,_0x417953;return(_0x417953=(_0x59aa44=this['_handlerCallback'])==null?void 0x0:_0x59aa44[_0x3b0e5e(0x24c)])==null?void 0x0:_0x417953[_0x3b0e5e(0x26b)](_0x59aa44,_0x345bb6);},_0x440d8b[_0x245b7a(0x3e5)]=_0x32db6d=>{var _0x30b744=_0x245b7a,_0x1c3aa7,_0x5106cc;return(_0x5106cc=(_0x1c3aa7=this[_0x30b744(0x24d)])==null?void 0x0:_0x1c3aa7[_0x30b744(0x3e5)])==null?void 0x0:_0x5106cc[_0x30b744(0x26b)](_0x1c3aa7,_0x32db6d);},_0x440d8b[_0x245b7a(0x385)]=_0x363d6=>{var _0x46a3ea=_0x245b7a,_0x104432,_0x1ff69a;return(_0x1ff69a=(_0x104432=this[_0x46a3ea(0x24d)])==null?void 0x0:_0x104432[_0x46a3ea(0x385)])==null?void 0x0:_0x1ff69a[_0x46a3ea(0x26b)](_0x104432,_0x363d6);},_0x440d8b['onTransformRemoteChangesetByIMECache']=_0x37294e=>{var _0x41994a=_0x245b7a,_0x3cd3b9,_0x52da9c,_0x538568;if(!((_0x3cd3b9=this[_0x41994a(0x24d)])!=null&&_0x3cd3b9[_0x41994a(0x1d0)]))throw new Error(_0x41994a(0x2f5));return(_0x538568=(_0x52da9c=this[_0x41994a(0x24d)])==null?void 0x0:_0x52da9c[_0x41994a(0x1d0)])==null?void 0x0:_0x538568[_0x41994a(0x26b)](_0x52da9c,_0x37294e);},_0x440d8b[_0x245b7a(0x214)]=_0x5f1708=>{var _0x5ec6a8=_0x245b7a,_0xddefa,_0x50dac4,_0x3eab4a;if(!((_0xddefa=this['_handlerCallback'])!=null&&_0xddefa[_0x5ec6a8(0x214)]))throw new Error(_0x5ec6a8(0x20b));return(_0x3eab4a=(_0x50dac4=this[_0x5ec6a8(0x24d)])==null?void 0x0:_0x50dac4['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3eab4a[_0x5ec6a8(0x26b)](_0x50dac4,_0x5f1708);},_0x440d8b;}async[_0x3817ac(0x265)](){var _0x279fea=_0x3817ac;const _0x2a48cb=await super[_0x279fea(0x265)]();return this[_0x279fea(0x38f)](this[_0x279fea(0x3b3)][_0x279fea(0x1a1)]((_0x483648,_0x210bb6)=>{var _0x16d7a5=_0x279fea;if(_0x483648[_0x16d7a5(0x408)]!==_0x2cbde1['MUTATION']||_0x210bb6!=null&&_0x210bb6['fromCollab']||_0x210bb6!=null&&_0x210bb6[_0x16d7a5(0x29d)]||_0x483648['id']===_0x4aee6a['id'])return;const _0x3c6ef5=_0x483648[_0x16d7a5(0x3f3)];if((_0x3c6ef5==null?void 0x0:_0x3c6ef5[_0x16d7a5(0x49d)])!==this['unitID'])return;const _0x1fdede=_0x483648,_0x53e608=this[_0x16d7a5(0x30a)][_0x16d7a5(0x3bc)]['fetchThroughInterceptors'](this[_0x16d7a5(0x30a)][_0x16d7a5(0x3bc)][_0x16d7a5(0x2b4)]()['COMPRESS_MUTATION_SEND'])([_0x1fdede],null)||[_0x1fdede];this['_onLocalMutation'](_0x53e608[0x0]);})),_0x2a48cb;}};Ct=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(pe)),k(0x8,_0x3b11ba),k(0x9,_0x5ee12b),k(0xa,_0x3310d6),k(0xb,_0x1d2db0(_t)),k(0xc,_0x1d2db0(X))],Ct);let bt=class extends st{constructor(_0x24c5fe,_0x29cd17,_0x19c961,_0x2625a9,_0x2c24e0,_0x1c01e1,_0x2afe74,_0x59df0f,_0x452d62,_0x4b4f44,_0x517d4d,_0x548b45,_0x3d5ab9,_0x5e19e7){var _0x21127d=_0x3817ac;super(_0x24c5fe,_0x19c961,_0x29cd17,_0x2625a9,_0x2c24e0,_0x1c01e1,_0x2afe74,_0x452d62,_0x4b4f44,_0x517d4d,_0x548b45,_0x3d5ab9,_0x5e19e7),this['unitID']=_0x24c5fe,this[_0x21127d(0x408)]=_0x29cd17,this[_0x21127d(0x26c)]=_0x59df0f;}[_0x3817ac(0x43c)](){var _0xe30a58=_0x3817ac;const _0xde32d2=super[_0xe30a58(0x43c)]();return _0xde32d2[_0xe30a58(0x3e5)]=_0x5a1ffd=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5a1ffd),_0xde32d2;}async[_0x3817ac(0x265)](){var _0xc7b994=_0x3817ac;const _0x2bd5ad=await super[_0xc7b994(0x265)]();return this[_0xc7b994(0x38f)](this['_commandService'][_0xc7b994(0x1a1)]((_0x3962c5,_0x592d49)=>{var _0x14a3dc=_0xc7b994;if(_0x3962c5['type']!==_0x2cbde1[_0x14a3dc(0x384)]||_0x592d49!=null&&_0x592d49['fromCollab']||_0x592d49!=null&&_0x592d49[_0x14a3dc(0x29d)])return;const _0x54acfd=_0x3962c5[_0x14a3dc(0x3f3)];if((_0x54acfd==null?void 0x0:_0x54acfd['unitId'])!==this[_0x14a3dc(0x22f)])return;const _0x2d68fa=_0x3962c5,_0x1b7d47=this[_0x14a3dc(0x30a)][_0x14a3dc(0x3bc)][_0x14a3dc(0x2f1)](this[_0x14a3dc(0x30a)][_0x14a3dc(0x3bc)]['getInterceptPoints']()[_0x14a3dc(0x3bf)])([_0x2d68fa],null)||[_0x2d68fa];this['_onLocalMutation'](_0x1b7d47[0x0]);})),_0x2bd5ad;}};bt=Mt([k(0x3,_0x880ce4(_0x28aed1)),k(0x4,_0x880ce4(_0x261980)),k(0x5,_0x880ce4(_0x42e13a)),k(0x6,_0x880ce4(_0x46b1c6)),k(0x7,_0x880ce4(nt)),k(0x8,_0x880ce4(pe)),k(0x9,_0x3b11ba),k(0xa,_0x5ee12b),k(0xb,_0x3310d6),k(0xc,_0x1d2db0(_t)),k(0xd,_0x1d2db0(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x3817ac(0x1df)],Ps=(_0x56a6d1,_0x371dc1,_0x57f74d,_0x2e6104)=>{var _0x54fab7=_0x3817ac;for(var _0x5778a5=_0x2e6104>0x1?void 0x0:_0x2e6104?Ns(_0x371dc1,_0x57f74d):_0x371dc1,_0x51265c=_0x56a6d1[_0x54fab7(0x450)]-0x1,_0x515a24;_0x51265c>=0x0;_0x51265c--)(_0x515a24=_0x56a6d1[_0x51265c])&&(_0x5778a5=(_0x2e6104?_0x515a24(_0x371dc1,_0x57f74d,_0x5778a5):_0x515a24(_0x5778a5))||_0x5778a5);return _0x2e6104&&_0x5778a5&&Os(_0x371dc1,_0x57f74d,_0x5778a5),_0x5778a5;},vt=(_0xb2dc21,_0xddf372)=>(_0x1bdb04,_0x391578)=>_0xddf372(_0x1bdb04,_0x391578,_0xb2dc21);let rt=class extends _0x9c8dcc{constructor(_0x346e24,_0x2dd46b,_0x2e5b5c){var _0x4a4417=_0x3817ac;super(),P(this,_0x4a4417(0x40e),new Map()),P(this,_0x4a4417(0x246),new _0x560c85()),P(this,_0x4a4417(0x1e1),this['_entityInit$'][_0x4a4417(0x34a)]()),(this[_0x4a4417(0x393)]=_0x346e24,this['_collabSessionService']=_0x2dd46b,this[_0x4a4417(0x3cf)]=_0x2e5b5c,this[_0x4a4417(0x265)]());}[_0x3817ac(0x42b)](){var _0x39e35b=_0x3817ac;super['dispose'](),this[_0x39e35b(0x40e)][_0x39e35b(0x28f)](_0x574a9c=>_0x574a9c[_0x39e35b(0x42b)]()),this[_0x39e35b(0x40e)][_0x39e35b(0x24e)]();}['getCollabEntity'](_0x129985){var _0x2e6643=_0x3817ac,_0x4d8003;return(_0x4d8003=this['_entities'][_0x2e6643(0x1b5)](_0x129985))!=null?_0x4d8003:null;}[_0x3817ac(0x2c1)](_0x457750){var _0x116bc1=_0x3817ac;const _0xd1bb8f=this[_0x116bc1(0x3b6)](_0x457750);return _0xd1bb8f?_0x41a794(_0xd1bb8f):this[_0x116bc1(0x246)]['pipe'](_0x1b785d(_0x246bc9=>_0x246bc9[_0x116bc1(0x22f)]===_0x457750));}[_0x3817ac(0x389)](_0x282ddc){var _0x4c8469=_0x3817ac;return _0x54a0bb(this[_0x4c8469(0x2c1)](_0x282ddc)[_0x4c8469(0x37a)](_0x24684d(()=>{})));}[_0x3817ac(0x265)](){var _0x52d107=_0x3817ac;this['_univerInstanceService'][_0x52d107(0x422)](_0x1f11e9[_0x52d107(0x2e1)])[_0x52d107(0x37a)](_0x44ee9f(this[_0x52d107(0x2e8)]),_0x54d682(0x10))[_0x52d107(0x3da)](async _0x49d3c5=>{var _0x34e443=_0x52d107;const _0x359bea=_0x49d3c5[_0x34e443(0x370)](),_0x56fc36=await this[_0x34e443(0x41f)](_0x359bea,Q[_0x34e443(0x2e1)]);this[_0x34e443(0x40e)]['set'](_0x359bea,_0x56fc36);}),this[_0x52d107(0x3cf)][_0x52d107(0x422)](_0x1f11e9[_0x52d107(0x1f6)])['pipe'](_0x44ee9f(this[_0x52d107(0x2e8)]),_0x54d682(0x10))[_0x52d107(0x37a)](_0x1b785d(_0x462f0e=>!_0x462f0e[_0x52d107(0x370)]()[_0x52d107(0x1b2)]('__')))[_0x52d107(0x3da)](async _0xcadb5d=>{var _0x47ce54=_0x52d107;const _0x51d6ed=_0xcadb5d[_0x47ce54(0x370)](),_0x57cef8=await this[_0x47ce54(0x41f)](_0x51d6ed,Q['UNIVER_DOC']);this[_0x47ce54(0x40e)][_0x47ce54(0x3dd)](_0x51d6ed,_0x57cef8);}),_0x30e992(this[_0x52d107(0x3cf)][_0x52d107(0x313)](_0x1f11e9[_0x52d107(0x2e1)]),this['_univerInstanceService'][_0x52d107(0x313)](_0x1f11e9[_0x52d107(0x1f6)]))['pipe'](_0x44ee9f(this[_0x52d107(0x2e8)]))[_0x52d107(0x3da)](_0xf2b9b3=>{var _0x4b7edb=_0x52d107;const _0x508f46=_0xf2b9b3['getUnitId'](),_0x5b8581=this[_0x4b7edb(0x40e)]['get'](_0x508f46);_0x5b8581&&(_0x5b8581[_0x4b7edb(0x42b)](),this[_0x4b7edb(0x40e)][_0x4b7edb(0x220)](_0x508f46));});}async[_0x3817ac(0x41f)](_0x36b289,_0x5351a2){var _0x34746=_0x3817ac;const _0x176890=await this[_0x34746(0x1c7)]['requireSession'](_0x36b289),_0x443343=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x5351a2),_0x36b289,_0x5351a2,_0x176890);return await _0x443343[_0x34746(0x494)](),this[_0x34746(0x246)]['next'](_0x443343),_0x443343;}[_0x3817ac(0x28a)](_0x499b0a){var _0x2e88f4=_0x3817ac;switch(_0x499b0a){case Q['UNIVER_DOC']:return Ct;case Q[_0x2e88f4(0x2e1)]:return bt;default:throw new Error(_0x2e88f4(0x29b)+_0x499b0a);}}};rt=Ps([vt(0x0,_0x880ce4(_0x28aed1)),vt(0x1,_0x880ce4(Le)),vt(0x2,_0x369bbf)],rt);var Ds=Object['defineProperty'],ws=Object[_0x3817ac(0x1df)],Us=(_0x3093da,_0x33e2ce,_0x5acf21,_0x7a7c3)=>{for(var _0x1745fe=_0x7a7c3>0x1?void 0x0:_0x7a7c3?ws(_0x33e2ce,_0x5acf21):_0x33e2ce,_0x1cbf50=_0x3093da['length']-0x1,_0x5031f2;_0x1cbf50>=0x0;_0x1cbf50--)(_0x5031f2=_0x3093da[_0x1cbf50])&&(_0x1745fe=(_0x7a7c3?_0x5031f2(_0x33e2ce,_0x5acf21,_0x1745fe):_0x5031f2(_0x1745fe))||_0x1745fe);return _0x7a7c3&&_0x1745fe&&Ds(_0x33e2ce,_0x5acf21,_0x1745fe),_0x1745fe;},Zt=(_0x547a0f,_0x4c8b8e)=>(_0x14c13d,_0xe61e33)=>_0x4c8b8e(_0x14c13d,_0xe61e33,_0x547a0f);const As=_0x3817ac(0x441),xs=_0x3817ac(0x268);let Rt=class extends _0x4c5e0f{constructor(_0x41b3df,_0x4d6d09){var _0x33a830=_0x3817ac;super(),this[_0x33a830(0x3cf)]=_0x41b3df,this[_0x33a830(0x2e5)]=_0x4d6d09,this[_0x33a830(0x265)]();}['_init'](){var _0x1fb968=_0x3817ac;this[_0x1fb968(0x38f)](this[_0x1fb968(0x3cf)][_0x1fb968(0x29a)]['subscribe'](()=>{var _0xe83a40=_0x1fb968,_0x41c8d4;const _0x36094c=this['_univerInstanceService']['getFocusedUnit']();let _0x1c639c=(_0x41c8d4=this[_0xe83a40(0x2e5)][_0xe83a40(0x3a7)](As))!=null?_0x41c8d4:xs;_0x36094c instanceof _0x7013a8&&(_0x1c639c=_0x36094c[_0xe83a40(0x36a)]),document[_0xe83a40(0x43e)]=_0x1c639c;}));}};Rt=Us([Zt(0x0,_0x369bbf),Zt(0x1,_0x268506)],Rt);var Ls=Object[_0x3817ac(0x3b8)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x569020,_0x244926,_0xe762cf,_0xf032b)=>{var _0x45c148=_0x3817ac;for(var _0x32c92b=_0xf032b>0x1?void 0x0:_0xf032b?Ms(_0x244926,_0xe762cf):_0x244926,_0xaa599f=_0x569020[_0x45c148(0x450)]-0x1,_0x1da3b8;_0xaa599f>=0x0;_0xaa599f--)(_0x1da3b8=_0x569020[_0xaa599f])&&(_0x32c92b=(_0xf032b?_0x1da3b8(_0x244926,_0xe762cf,_0x32c92b):_0x1da3b8(_0x32c92b))||_0x32c92b);return _0xf032b&&_0x32c92b&&Ls(_0x244926,_0xe762cf,_0x32c92b),_0x32c92b;},pt=(_0x2318f8,_0x5f4645)=>(_0xcf7472,_0x4115d8)=>_0x5f4645(_0xcf7472,_0x4115d8,_0x2318f8);let ot=class{constructor(_0x2bacca,_0x315e36,_0x195ddc){var _0x120127=_0x3817ac;this[_0x120127(0x2e5)]=_0x2bacca,this[_0x120127(0x3d2)]=_0x315e36,this[_0x120127(0x40c)]=_0x195ddc,this[_0x120127(0x494)]();}[_0x3817ac(0x494)](){var _0x19e28e=_0x3817ac;this['_httpService'][_0x19e28e(0x381)]({'priority':0x1,'interceptor':(_0x249534,_0x144cdf)=>_0x144cdf(_0x249534)['pipe'](_0xe3238b(async _0x693963=>{var _0x4de02a=_0x19e28e;const _0x377279=_0x693963;if(_0x377279[_0x4de02a(0x1f4)]===0x191){if(typeof window>'u')throw new Error(_0x4de02a(0x354));if(window[_0x4de02a(0x1e4)](this[_0x4de02a(0x40c)]['t'](_0x4de02a(0x45f)))){const _0x4e0862=window[_0x4de02a(0x2a2)](window[_0x4de02a(0x238)][_0x4de02a(0x290)]);window[_0x4de02a(0x238)][_0x4de02a(0x290)]=this['_getLoginPath']()+'?url='+_0x4e0862;}}return _0x377279;}))});}['_getLoginPath'](){var _0x222e3a=_0x3817ac,_0x4a6cd2,_0x58b22e;const _0x42e4f6=this[_0x222e3a(0x2e5)][_0x222e3a(0x3a7)](Wn),_0x335171=this[_0x222e3a(0x2e5)][_0x222e3a(0x3a7)](Y);return(_0x58b22e=(_0x4a6cd2=_0x335171==null?void 0x0:_0x335171[_0x222e3a(0x2d4)])!=null?_0x4a6cd2:_0x42e4f6)!=null?_0x58b22e:Gn;}};ot=$s([pt(0x0,_0x268506),pt(0x1,_0x880ce4(_0x157352)),pt(0x2,_0x880ce4(_0x42e13a))],ot);var Hs=Object['defineProperty'],ks=Object[_0x3817ac(0x1df)],js=(_0x42c1e5,_0x2c693b,_0x2470ea,_0x261db3)=>{var _0xcd4b38=_0x3817ac;for(var _0x45c4d1=_0x261db3>0x1?void 0x0:_0x261db3?ks(_0x2c693b,_0x2470ea):_0x2c693b,_0x1480f8=_0x42c1e5[_0xcd4b38(0x450)]-0x1,_0x5d0910;_0x1480f8>=0x0;_0x1480f8--)(_0x5d0910=_0x42c1e5[_0x1480f8])&&(_0x45c4d1=(_0x261db3?_0x5d0910(_0x2c693b,_0x2470ea,_0x45c4d1):_0x5d0910(_0x45c4d1))||_0x45c4d1);return _0x261db3&&_0x45c4d1&&Hs(_0x2c693b,_0x2470ea,_0x45c4d1),_0x45c4d1;},Qt=(_0x18c43c,_0x1ad5ad)=>(_0x5e386f,_0x23dd25)=>_0x1ad5ad(_0x5e386f,_0x23dd25,_0x18c43c);const Ui=_0x3817ac(0x27b),Bs=_0x3817ac(0x2ff);let yt=class extends _0x4c5e0f{constructor(_0x5ec513,_0x1b00e5){var _0x113e55=_0x3817ac;super(),this[_0x113e55(0x419)]=_0x5ec513,this[_0x113e55(0x2e5)]=_0x1b00e5,this[_0x113e55(0x2cb)]();}[_0x3817ac(0x2cb)](){var _0x4535b3=_0x3817ac;const _0x53f080=this;this[_0x4535b3(0x38f)](this[_0x4535b3(0x419)][_0x4535b3(0x381)]({'priority':0x3e7,'interceptor':_0x3b4411({'isMatch'(_0x10a47d){var _0x3c2ae3=_0x4535b3,_0x48c579;if(_0x10a47d[_0x3c2ae3(0x3b2)]===_0x3c2ae3(0x3eb)&&((_0x48c579=_0x10a47d[_0x3c2ae3(0x465)])!=null&&_0x48c579[_0x3c2ae3(0x400)])){const {objectID:_0x5e0848,objectType:_0x4abb51}=_0x10a47d[_0x3c2ae3(0x465)]['body']||{};if(!_0x5e0848||_0x4abb51===void 0x0)return!0x1;const _0x15c7ef=_0x53f080[_0x3c2ae3(0x3ae)]()+'/'+_0x4abb51+'/object/'+_0x5e0848+_0x3c2ae3(0x336);if(_0x10a47d['url']===_0x15c7ef)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d4937){var _0x4cb875=_0x4535b3,_0x444c48;return(_0x444c48=_0x5d4937[_0x4cb875(0x465)])==null?void 0x0:_0x444c48[_0x4cb875(0x400)];},'mergeParamsToRequest'(_0x1b1020,_0x434112){var _0x1b29ab=_0x4535b3;const _0x1138da=_0x53f080[_0x1b29ab(0x3ae)]()+'/-/object/-/batch_allowed',_0x5775cc=_0x1b1020[_0x1b29ab(0x3fa)]((_0x1c1e11,_0x483221)=>{var _0x52b750=_0x1b29ab;const {unitID:_0x4083fd,objectID:_0xb878e0,objectType:_0x55e99e,actions:_0x129e23}=_0x483221;return _0x1c1e11[_0x4083fd]||(_0x1c1e11[_0x4083fd]={}),_0x1c1e11[_0x4083fd][_0xb878e0]||(_0x1c1e11[_0x4083fd][_0xb878e0]={'objectID':_0xb878e0,'objectType':_0x55e99e,'actions':[]}),_0x1c1e11[_0x4083fd][_0xb878e0][_0x52b750(0x2ae)]['push'](..._0x129e23),_0x1c1e11;},{}),_0x323936=[];for(const _0x1c7875 in _0x5775cc)for(const _0x2fde01 in _0x5775cc[_0x1c7875]){const {actions:_0x31aadb,objectType:_0x1f27b7}=_0x5775cc[_0x1c7875][_0x2fde01],_0x3d5c10=[...new Set(_0x31aadb)];_0x323936[_0x1b29ab(0x399)]({'unitID':_0x1c7875,'objectID':_0x2fde01,'objectType':_0x1f27b7,'actions':_0x3d5c10});}return new _0x57bb69(_0x1b29ab(0x3eb),_0x1138da,{'headers':_0x434112[_0x1b29ab(0x1d5)],'withCredentials':_0x434112[_0x1b29ab(0x1fd)],'responseType':_0x434112[_0x1b29ab(0x1bb)],'body':{'requests':_0x323936}});}},{'distributeResult'(_0x429bd0,_0x272724){const {objectActions:_0x1dfe68}=_0x429bd0;return _0x272724['map'](_0x19e724=>{var _0x289581=_0x7017;const {unitID:_0x36b564,objectID:_0x19e5b0,actions:_0x1fe615}=_0x19e724,_0x47224f=_0x1dfe68[_0x289581(0x240)](_0xd71726=>_0xd71726[_0x289581(0x22f)]===_0x36b564&&_0xd71726['objectID']===_0x19e5b0),_0x29dfd8=_0x1fe615['map'](_0x5aafe9=>_0x47224f==null?void 0x0:_0x47224f['actions'][_0x289581(0x240)](_0x1a6f7f=>_0x1a6f7f[_0x289581(0x2f2)]===_0x5aafe9))[_0x289581(0x2c5)](_0x42f7ce=>!!_0x42f7ce);return{'config':_0x19e724,'result':{'actions':_0x29dfd8,'error':_0x429bd0[_0x289581(0x2d3)]}};});}})}));}['_getAPIPrefixPath'](){var _0x744cf3=_0x3817ac,_0x380af8,_0x2a7a91;const _0x547cb1=this['_configService']['getConfig'](Ui),_0x690f8b=this['_configService'][_0x744cf3(0x3a7)](Y);return(_0x2a7a91=(_0x380af8=_0x690f8b==null?void 0x0:_0x690f8b[_0x744cf3(0x432)])!=null?_0x380af8:_0x547cb1)!=null?_0x2a7a91:Bs;}async[_0x3817ac(0x443)](_0x5c34b6){var _0x41f174=_0x3817ac;const _0x48cba1=this[_0x41f174(0x3ae)]()+'/'+_0x5c34b6[_0x41f174(0x27a)]+'/object';return(await this[_0x41f174(0x419)][_0x41f174(0x3e7)](_0x48cba1,{'body':_0x5c34b6}))[_0x41f174(0x400)][_0x41f174(0x264)]||'';}async[_0x3817ac(0x2c8)](_0x5a2df1){var _0x2e898e=_0x3817ac;const _0x939411=this[_0x2e898e(0x3ae)]()+'/-/object/list';return(await this[_0x2e898e(0x419)][_0x2e898e(0x3e7)](_0x939411,{'body':_0x5a2df1}))['body'][_0x2e898e(0x30c)];}async[_0x3817ac(0x45c)](_0x58bb58){var _0x376f82=_0x3817ac;const _0x46c4e3=this['_getAPIPrefixPath']()+'/'+_0x58bb58['objectType']+'/object/'+_0x58bb58[_0x376f82(0x264)];await this['_HTTPService'][_0x376f82(0x424)](_0x46c4e3,{'body':_0x58bb58});}async[_0x3817ac(0x2bc)](_0x2f808c){var _0x5df56a=_0x3817ac;const _0x492154=this['_getAPIPrefixPath']()+'/'+_0x2f808c[_0x5df56a(0x27a)]+_0x5df56a(0x30e)+_0x2f808c[_0x5df56a(0x264)]+_0x5df56a(0x336);return(await this[_0x5df56a(0x419)]['post'](_0x492154,{'body':_0x2f808c}))[_0x5df56a(0x400)][_0x5df56a(0x2ae)];}async[_0x3817ac(0x21a)](_0x317eb0){var _0x143cac=_0x3817ac;const _0x4d2181=this[_0x143cac(0x3ae)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x143cac(0x3e7)](_0x4d2181,{'body':{'requests':_0x317eb0}}))[_0x143cac(0x400)][_0x143cac(0x1bf)];}async[_0x3817ac(0x2fb)](_0x21b81f){var _0x4a7432=_0x3817ac;const _0x2ae775=this[_0x4a7432(0x3ae)]()+'/'+_0x21b81f[_0x4a7432(0x27a)]+_0x4a7432(0x373),_0xc510fc=await this[_0x4a7432(0x419)][_0x4a7432(0x3e7)](_0x2ae775,{'body':_0x21b81f});return{'roles':_0xc510fc['body'][_0x4a7432(0x228)],'actions':_0xc510fc[_0x4a7432(0x400)][_0x4a7432(0x2ae)]};}async[_0x3817ac(0x3a5)](_0x4fa17f){var _0x12f492=_0x3817ac;const _0x177918=this[_0x12f492(0x3ae)]()+_0x12f492(0x3c8);await this[_0x12f492(0x419)]['delete'](_0x177918,{'params':{'collaboratorID':_0x4fa17f[_0x12f492(0x210)],'objectID':_0x4fa17f[_0x12f492(0x264)],'unitID':_0x4fa17f[_0x12f492(0x22f)]}});}async['updateCollaborator'](_0x40b59f){var _0x596a4c=_0x3817ac;const _0x2c3183=this[_0x596a4c(0x3ae)]()+_0x596a4c(0x3c8);await this['_HTTPService']['patch'](_0x2c3183,{'body':_0x40b59f});}async['createCollaborator'](_0x37327a){var _0x4b93ce=_0x3817ac;const _0x390229=this[_0x4b93ce(0x3ae)]()+'/collaborator';await this[_0x4b93ce(0x419)][_0x4b93ce(0x3e7)](_0x390229,{'body':_0x37327a});}async['listCollaborators'](_0x470f56){var _0x2b19ab=_0x3817ac;const _0xb2d05f=this[_0x2b19ab(0x3ae)]()+'/collaborator';return(await this['_HTTPService'][_0x2b19ab(0x1b5)](_0xb2d05f,{'params':{'objectID':_0x470f56[_0x2b19ab(0x264)],'unitID':_0x470f56[_0x2b19ab(0x22f)]}}))[_0x2b19ab(0x400)][_0x2b19ab(0x487)];}async['putCollaborators'](_0x8ab561){var _0x5dc0de=_0x3817ac;const _0x5811c4=this[_0x5dc0de(0x3ae)]()+_0x5dc0de(0x3c8);await this[_0x5dc0de(0x419)][_0x5dc0de(0x424)](_0x5811c4,{'body':_0x8ab561});}};yt=js([Qt(0x0,_0x880ce4(_0x157352)),Qt(0x1,_0x880ce4(_0x268506))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4682bd){var _0x3d33aa=_0x3817ac;return _0x4682bd&&_0x4682bd[_0x3d33aa(0x483)]&&Object[_0x3d33aa(0x3fd)][_0x3d33aa(0x23a)][_0x3d33aa(0x26b)](_0x4682bd,_0x3d33aa(0x3c3))?_0x4682bd[_0x3d33aa(0x3c3)]:_0x4682bd;}var We={'exports':{}};function Fs(_0x468dfc){var _0x3079b6=_0x3817ac;throw new Error(_0x3079b6(0x25a)+_0x468dfc+_0x3079b6(0x316));}var Ge={'exports':{}},Vs=Ge['exports'],ei;function ne(){var _0x44ba43=_0x3817ac;return ei||(ei=0x1,function(_0x1716b7,_0x145469){(function(_0x330b90,_0x1c1ee5){var _0xde9ae7=_0x7017;_0x1716b7[_0xde9ae7(0x1a6)]=_0x1c1ee5();}(Vs,function(){var _0x1a6e03=_0x1a6e03||function(_0x2b7189,_0x3c293d){var _0x521c48=_0x7017,_0xf4d7a0;if(typeof window<'u'&&window[_0x521c48(0x2e0)]&&(_0xf4d7a0=window[_0x521c48(0x2e0)]),typeof self<'u'&&self[_0x521c48(0x2e0)]&&(_0xf4d7a0=self['crypto']),typeof globalThis<'u'&&globalThis[_0x521c48(0x2e0)]&&(_0xf4d7a0=globalThis[_0x521c48(0x2e0)]),!_0xf4d7a0&&typeof window<'u'&&window[_0x521c48(0x3e2)]&&(_0xf4d7a0=window[_0x521c48(0x3e2)]),!_0xf4d7a0&&typeof mt<'u'&&mt[_0x521c48(0x2e0)]&&(_0xf4d7a0=mt[_0x521c48(0x2e0)]),!_0xf4d7a0&&typeof Fs=='function')try{_0xf4d7a0=require(_0x521c48(0x2e0));}catch{}var _0x358473=function(){var _0x19b8bf=_0x521c48;if(_0xf4d7a0){if(typeof _0xf4d7a0['getRandomValues']==_0x19b8bf(0x42e))try{return _0xf4d7a0['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xf4d7a0[_0x19b8bf(0x3f7)]==_0x19b8bf(0x42e))try{return _0xf4d7a0[_0x19b8bf(0x3f7)](0x4)[_0x19b8bf(0x2b6)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x49257a=Object[_0x521c48(0x443)]||(function(){function _0x518d52(){}return function(_0x2c9b4f){var _0x365719=_0x7017,_0x4b0ec0;return _0x518d52[_0x365719(0x3fd)]=_0x2c9b4f,_0x4b0ec0=new _0x518d52(),_0x518d52['prototype']=null,_0x4b0ec0;};}()),_0xef8c80={},_0x4680b7=_0xef8c80[_0x521c48(0x3f0)]={},_0x19cb25=_0x4680b7[_0x521c48(0x21c)]=(function(){return{'extend':function(_0x477870){var _0x1e35db=_0x7017,_0x5bc6fa=_0x49257a(this);return _0x477870&&_0x5bc6fa[_0x1e35db(0x477)](_0x477870),(!_0x5bc6fa[_0x1e35db(0x23a)](_0x1e35db(0x494))||this[_0x1e35db(0x494)]===_0x5bc6fa[_0x1e35db(0x494)])&&(_0x5bc6fa[_0x1e35db(0x494)]=function(){var _0x4b81a7=_0x1e35db;_0x5bc6fa['$super']['init'][_0x4b81a7(0x302)](this,arguments);}),_0x5bc6fa[_0x1e35db(0x494)][_0x1e35db(0x3fd)]=_0x5bc6fa,_0x5bc6fa[_0x1e35db(0x23f)]=this,_0x5bc6fa;},'create':function(){var _0x13218d=_0x7017,_0x97db6a=this[_0x13218d(0x469)]();return _0x97db6a[_0x13218d(0x494)][_0x13218d(0x302)](_0x97db6a,arguments),_0x97db6a;},'init':function(){},'mixIn':function(_0x41437c){var _0x4fee6c=_0x7017;for(var _0x49fb3c in _0x41437c)_0x41437c[_0x4fee6c(0x23a)](_0x49fb3c)&&(this[_0x49fb3c]=_0x41437c[_0x49fb3c]);_0x41437c['hasOwnProperty'](_0x4fee6c(0x22a))&&(this[_0x4fee6c(0x22a)]=_0x41437c['toString']);},'clone':function(){var _0x32084a=_0x7017;return this[_0x32084a(0x494)]['prototype'][_0x32084a(0x469)](this);}};}()),_0x5591c8=_0x4680b7[_0x521c48(0x2de)]=_0x19cb25[_0x521c48(0x469)]({'init':function(_0xf87190,_0x56eb69){var _0x61574=_0x521c48;_0xf87190=this[_0x61574(0x3ad)]=_0xf87190||[],_0x56eb69!=_0x3c293d?this[_0x61574(0x387)]=_0x56eb69:this['sigBytes']=_0xf87190[_0x61574(0x450)]*0x4;},'toString':function(_0x411264){var _0x36b95d=_0x521c48;return(_0x411264||_0x542a6f)[_0x36b95d(0x274)](this);},'concat':function(_0x5719b7){var _0x2cd5f3=_0x521c48,_0x2cb707=this['words'],_0x4cf48d=_0x5719b7[_0x2cd5f3(0x3ad)],_0x254b12=this[_0x2cd5f3(0x387)],_0x2f0b13=_0x5719b7[_0x2cd5f3(0x387)];if(this['clamp'](),_0x254b12%0x4)for(var _0x591f07=0x0;_0x591f07<_0x2f0b13;_0x591f07++){var _0x22eef2=_0x4cf48d[_0x591f07>>>0x2]>>>0x18-_0x591f07%0x4*0x8&0xff;_0x2cb707[_0x254b12+_0x591f07>>>0x2]|=_0x22eef2<<0x18-(_0x254b12+_0x591f07)%0x4*0x8;}else{for(var _0x27fc00=0x0;_0x27fc00<_0x2f0b13;_0x27fc00+=0x4)_0x2cb707[_0x254b12+_0x27fc00>>>0x2]=_0x4cf48d[_0x27fc00>>>0x2];}return this['sigBytes']+=_0x2f0b13,this;},'clamp':function(){var _0x4375ad=_0x521c48,_0x2fabe=this[_0x4375ad(0x3ad)],_0x5baef2=this[_0x4375ad(0x387)];_0x2fabe[_0x5baef2>>>0x2]&=0xffffffff<<0x20-_0x5baef2%0x4*0x8,_0x2fabe[_0x4375ad(0x450)]=_0x2b7189['ceil'](_0x5baef2/0x4);},'clone':function(){var _0x5f5328=_0x521c48,_0x28c2e2=_0x19cb25[_0x5f5328(0x1ee)][_0x5f5328(0x26b)](this);return _0x28c2e2['words']=this[_0x5f5328(0x3ad)][_0x5f5328(0x2ba)](0x0),_0x28c2e2;},'random':function(_0x2d98a3){var _0x2ca4c5=_0x521c48;for(var _0x597fd5=[],_0x1f1cea=0x0;_0x1f1cea<_0x2d98a3;_0x1f1cea+=0x4)_0x597fd5[_0x2ca4c5(0x399)](_0x358473());return new _0x5591c8[(_0x2ca4c5(0x494))](_0x597fd5,_0x2d98a3);}}),_0x56b0c6=_0xef8c80[_0x521c48(0x33b)]={},_0x542a6f=_0x56b0c6[_0x521c48(0x3d7)]={'stringify':function(_0x18e7a1){var _0x2bcbf7=_0x521c48;for(var _0x135441=_0x18e7a1['words'],_0x47e91d=_0x18e7a1[_0x2bcbf7(0x387)],_0x2c1719=[],_0x3a6ab1=0x0;_0x3a6ab1<_0x47e91d;_0x3a6ab1++){var _0x2f9a40=_0x135441[_0x3a6ab1>>>0x2]>>>0x18-_0x3a6ab1%0x4*0x8&0xff;_0x2c1719[_0x2bcbf7(0x399)]((_0x2f9a40>>>0x4)[_0x2bcbf7(0x22a)](0x10)),_0x2c1719[_0x2bcbf7(0x399)]((_0x2f9a40&0xf)[_0x2bcbf7(0x22a)](0x10));}return _0x2c1719['join']('');},'parse':function(_0x147956){var _0x394870=_0x521c48;for(var _0x1a8510=_0x147956['length'],_0x111492=[],_0x244b90=0x0;_0x244b90<_0x1a8510;_0x244b90+=0x2)_0x111492[_0x244b90>>>0x3]|=parseInt(_0x147956[_0x394870(0x37f)](_0x244b90,0x2),0x10)<<0x18-_0x244b90%0x8*0x4;return new _0x5591c8[(_0x394870(0x494))](_0x111492,_0x1a8510/0x2);}},_0x59e540=_0x56b0c6[_0x521c48(0x430)]={'stringify':function(_0x5bdfe4){var _0x557bec=_0x521c48;for(var _0x4a6b4b=_0x5bdfe4[_0x557bec(0x3ad)],_0x488107=_0x5bdfe4[_0x557bec(0x387)],_0x2ebe4e=[],_0x213ae4=0x0;_0x213ae4<_0x488107;_0x213ae4++){var _0x2b902f=_0x4a6b4b[_0x213ae4>>>0x2]>>>0x18-_0x213ae4%0x4*0x8&0xff;_0x2ebe4e['push'](String['fromCharCode'](_0x2b902f));}return _0x2ebe4e[_0x557bec(0x2d7)]('');},'parse':function(_0x4c6846){var _0x3ef081=_0x521c48;for(var _0x22d30d=_0x4c6846[_0x3ef081(0x450)],_0x12da09=[],_0x1e477e=0x0;_0x1e477e<_0x22d30d;_0x1e477e++)_0x12da09[_0x1e477e>>>0x2]|=(_0x4c6846[_0x3ef081(0x1ae)](_0x1e477e)&0xff)<<0x18-_0x1e477e%0x4*0x8;return new _0x5591c8['init'](_0x12da09,_0x22d30d);}},_0x48d58a=_0x56b0c6['Utf8']={'stringify':function(_0x4482c5){var _0x3cc065=_0x521c48;try{return decodeURIComponent(escape(_0x59e540['stringify'](_0x4482c5)));}catch{throw new Error(_0x3cc065(0x34f));}},'parse':function(_0x24dbc1){var _0x2b0a9a=_0x521c48;return _0x59e540[_0x2b0a9a(0x414)](unescape(encodeURIComponent(_0x24dbc1)));}},_0x52b640=_0x4680b7[_0x521c48(0x309)]=_0x19cb25[_0x521c48(0x469)]({'reset':function(){var _0x4fba1f=_0x521c48;this[_0x4fba1f(0x273)]=new _0x5591c8[(_0x4fba1f(0x494))](),this[_0x4fba1f(0x30b)]=0x0;},'_append':function(_0x21b207){var _0x873c41=_0x521c48;typeof _0x21b207==_0x873c41(0x255)&&(_0x21b207=_0x48d58a[_0x873c41(0x414)](_0x21b207)),this['_data']['concat'](_0x21b207),this[_0x873c41(0x30b)]+=_0x21b207[_0x873c41(0x387)];},'_process':function(_0x5cdaac){var _0x324864=_0x521c48,_0x53c11c,_0x2ae548=this[_0x324864(0x273)],_0xbac1b1=_0x2ae548[_0x324864(0x3ad)],_0x46c479=_0x2ae548[_0x324864(0x387)],_0x5b396c=this['blockSize'],_0x193cc5=_0x5b396c*0x4,_0x25cb3f=_0x46c479/_0x193cc5;_0x5cdaac?_0x25cb3f=_0x2b7189[_0x324864(0x3ec)](_0x25cb3f):_0x25cb3f=_0x2b7189[_0x324864(0x491)]((_0x25cb3f|0x0)-this['_minBufferSize'],0x0);var _0x5d1bc5=_0x25cb3f*_0x5b396c,_0xe8f912=_0x2b7189[_0x324864(0x1de)](_0x5d1bc5*0x4,_0x46c479);if(_0x5d1bc5){for(var _0x22a0f8=0x0;_0x22a0f8<_0x5d1bc5;_0x22a0f8+=_0x5b396c)this[_0x324864(0x46e)](_0xbac1b1,_0x22a0f8);_0x53c11c=_0xbac1b1[_0x324864(0x4a3)](0x0,_0x5d1bc5),_0x2ae548[_0x324864(0x387)]-=_0xe8f912;}return new _0x5591c8[(_0x324864(0x494))](_0x53c11c,_0xe8f912);},'clone':function(){var _0x4a7a59=_0x521c48,_0x2b1f18=_0x19cb25[_0x4a7a59(0x1ee)][_0x4a7a59(0x26b)](this);return _0x2b1f18[_0x4a7a59(0x273)]=this[_0x4a7a59(0x273)][_0x4a7a59(0x1ee)](),_0x2b1f18;},'_minBufferSize':0x0});_0x4680b7[_0x521c48(0x232)]=_0x52b640[_0x521c48(0x469)]({'cfg':_0x19cb25['extend'](),'init':function(_0x3b03de){var _0x15bf9f=_0x521c48;this['cfg']=this[_0x15bf9f(0x2f7)][_0x15bf9f(0x469)](_0x3b03de),this[_0x15bf9f(0x383)]();},'reset':function(){var _0x2fe4a4=_0x521c48;_0x52b640[_0x2fe4a4(0x383)][_0x2fe4a4(0x26b)](this),this['_doReset']();},'update':function(_0x458aab){var _0x55a039=_0x521c48;return this[_0x55a039(0x26a)](_0x458aab),this['_process'](),this;},'finalize':function(_0x5563b6){var _0x19e4ec=_0x521c48;_0x5563b6&&this['_append'](_0x5563b6);var _0x176228=this[_0x19e4ec(0x3e3)]();return _0x176228;},'blockSize':0x10,'_createHelper':function(_0x45cbf3){return function(_0x1b417d,_0x8352ce){var _0x1fd761=_0x7017;return new _0x45cbf3['init'](_0x8352ce)[_0x1fd761(0x476)](_0x1b417d);};},'_createHmacHelper':function(_0x5daf62){return function(_0x18f835,_0x419567){var _0x3e628d=_0x7017;return new _0x4b95bc[(_0x3e628d(0x217))][(_0x3e628d(0x494))](_0x5daf62,_0x419567)['finalize'](_0x18f835);};}});var _0x4b95bc=_0xef8c80[_0x521c48(0x258)]={};return _0xef8c80;}(Math);return _0x1a6e03;}));}(Ge)),Ge[_0x44ba43(0x1a6)];}var Ke={'exports':{}},Ws=Ke[_0x3817ac(0x1a6)],ti;function Ai(){var _0x3d6035=_0x3817ac;return ti||(ti=0x1,function(_0x3b1dd5,_0x607345){(function(_0x103848,_0xd4761d){var _0x309f61=_0x7017;_0x3b1dd5[_0x309f61(0x1a6)]=_0xd4761d(ne());}(Ws,function(_0xe119da){var _0x37c3ae=_0x7017;return(function(){var _0x3faa8c=_0x7017,_0x3f1ada=_0xe119da,_0x5dfdc5=_0x3f1ada[_0x3faa8c(0x3f0)],_0x5a313c=_0x5dfdc5['WordArray'],_0x3f9bd7=_0x3f1ada['enc'];_0x3f9bd7[_0x3faa8c(0x4a4)]={'stringify':function(_0x229349){var _0x57ea0e=_0x3faa8c,_0x4194e6=_0x229349[_0x57ea0e(0x3ad)],_0x5b0996=_0x229349[_0x57ea0e(0x387)],_0x32cc0b=this['_map'];_0x229349[_0x57ea0e(0x2a7)]();for(var _0x211f42=[],_0x50e59c=0x0;_0x50e59c<_0x5b0996;_0x50e59c+=0x3)for(var _0x20efad=_0x4194e6[_0x50e59c>>>0x2]>>>0x18-_0x50e59c%0x4*0x8&0xff,_0xe25e9f=_0x4194e6[_0x50e59c+0x1>>>0x2]>>>0x18-(_0x50e59c+0x1)%0x4*0x8&0xff,_0x14e931=_0x4194e6[_0x50e59c+0x2>>>0x2]>>>0x18-(_0x50e59c+0x2)%0x4*0x8&0xff,_0x399243=_0x20efad<<0x10|_0xe25e9f<<0x8|_0x14e931,_0x30bd43=0x0;_0x30bd43<0x4&&_0x50e59c+_0x30bd43*0.75<_0x5b0996;_0x30bd43++)_0x211f42['push'](_0x32cc0b[_0x57ea0e(0x1ea)](_0x399243>>>0x6*(0x3-_0x30bd43)&0x3f));var _0xadd1af=_0x32cc0b['charAt'](0x40);if(_0xadd1af){for(;_0x211f42['length']%0x4;)_0x211f42[_0x57ea0e(0x399)](_0xadd1af);}return _0x211f42[_0x57ea0e(0x2d7)]('');},'parse':function(_0x49a1eb){var _0x301a8a=_0x3faa8c,_0x13e025=_0x49a1eb[_0x301a8a(0x450)],_0xfd2629=this[_0x301a8a(0x212)],_0x43c7d2=this['_reverseMap'];if(!_0x43c7d2){_0x43c7d2=this[_0x301a8a(0x1f2)]=[];for(var _0x31c5b8=0x0;_0x31c5b8<_0xfd2629[_0x301a8a(0x450)];_0x31c5b8++)_0x43c7d2[_0xfd2629['charCodeAt'](_0x31c5b8)]=_0x31c5b8;}var _0x55eb7b=_0xfd2629[_0x301a8a(0x1ea)](0x40);if(_0x55eb7b){var _0x1e8d8d=_0x49a1eb[_0x301a8a(0x21e)](_0x55eb7b);_0x1e8d8d!==-0x1&&(_0x13e025=_0x1e8d8d);}return _0x1750a3(_0x49a1eb,_0x13e025,_0x43c7d2);},'_map':_0x3faa8c(0x20e)};function _0x1750a3(_0x25aaca,_0x244edb,_0x2a7365){var _0x1adf90=_0x3faa8c;for(var _0x3a5927=[],_0xb530cf=0x0,_0x4d74b9=0x0;_0x4d74b9<_0x244edb;_0x4d74b9++)if(_0x4d74b9%0x4){var _0x4e345d=_0x2a7365[_0x25aaca[_0x1adf90(0x1ae)](_0x4d74b9-0x1)]<<_0x4d74b9%0x4*0x2,_0x44f443=_0x2a7365[_0x25aaca[_0x1adf90(0x1ae)](_0x4d74b9)]>>>0x6-_0x4d74b9%0x4*0x2,_0x46541b=_0x4e345d|_0x44f443;_0x3a5927[_0xb530cf>>>0x2]|=_0x46541b<<0x18-_0xb530cf%0x4*0x8,_0xb530cf++;}return _0x5a313c['create'](_0x3a5927,_0xb530cf);}}()),_0xe119da[_0x37c3ae(0x33b)][_0x37c3ae(0x4a4)];}));}(Ke)),Ke[_0x3d6035(0x1a6)];}var ze={'exports':{}},Gs=ze[_0x3817ac(0x1a6)],ii;function Ks(){var _0x436d38=_0x3817ac;return ii||(ii=0x1,function(_0x3bd6ab,_0xc06c68){(function(_0x33b502,_0x591745){var _0x22ed48=_0x7017;_0x3bd6ab[_0x22ed48(0x1a6)]=_0x591745(ne());}(Gs,function(_0x4e74e8){var _0x116195=_0x7017;return function(_0x12dcd9){var _0x22655b=_0x7017,_0x563fa8=_0x4e74e8,_0x5e31ed=_0x563fa8['lib'],_0x527775=_0x5e31ed[_0x22655b(0x2de)],_0x4c8adf=_0x5e31ed[_0x22655b(0x232)],_0x4fbab2=_0x563fa8[_0x22655b(0x258)],_0x49fd88=[];(function(){var _0xb594b6=_0x22655b;for(var _0x25acfd=0x0;_0x25acfd<0x40;_0x25acfd++)_0x49fd88[_0x25acfd]=_0x12dcd9[_0xb594b6(0x2b0)](_0x12dcd9[_0xb594b6(0x3a8)](_0x25acfd+0x1))*0x100000000|0x0;}());var _0xb234a1=_0x4fbab2[_0x22655b(0x2b1)]=_0x4c8adf['extend']({'_doReset':function(){var _0x1b583f=_0x22655b;this[_0x1b583f(0x4a0)]=new _0x527775[(_0x1b583f(0x494))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x208f26,_0x429c02){var _0x49dd1d=_0x22655b;for(var _0x1bb21c=0x0;_0x1bb21c<0x10;_0x1bb21c++){var _0x5b17e4=_0x429c02+_0x1bb21c,_0x48bea8=_0x208f26[_0x5b17e4];_0x208f26[_0x5b17e4]=(_0x48bea8<<0x8|_0x48bea8>>>0x18)&0xff00ff|(_0x48bea8<<0x18|_0x48bea8>>>0x8)&0xff00ff00;}var _0x492f94=this[_0x49dd1d(0x4a0)][_0x49dd1d(0x3ad)],_0x49fbeb=_0x208f26[_0x429c02+0x0],_0x545297=_0x208f26[_0x429c02+0x1],_0x26d852=_0x208f26[_0x429c02+0x2],_0xade2e3=_0x208f26[_0x429c02+0x3],_0x3aef93=_0x208f26[_0x429c02+0x4],_0x1e2563=_0x208f26[_0x429c02+0x5],_0x51b81b=_0x208f26[_0x429c02+0x6],_0x5e6d0d=_0x208f26[_0x429c02+0x7],_0x2a31d2=_0x208f26[_0x429c02+0x8],_0x2f3c0f=_0x208f26[_0x429c02+0x9],_0x2ed58c=_0x208f26[_0x429c02+0xa],_0x5de4af=_0x208f26[_0x429c02+0xb],_0x2b2924=_0x208f26[_0x429c02+0xc],_0x6d2ccd=_0x208f26[_0x429c02+0xd],_0x2ccee7=_0x208f26[_0x429c02+0xe],_0x5650ae=_0x208f26[_0x429c02+0xf],_0x5a504f=_0x492f94[0x0],_0x47dac6=_0x492f94[0x1],_0x26d964=_0x492f94[0x2],_0x525436=_0x492f94[0x3];_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x49fbeb,0x7,_0x49fd88[0x0]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x545297,0xc,_0x49fd88[0x1]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x26d852,0x11,_0x49fd88[0x2]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0xade2e3,0x16,_0x49fd88[0x3]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x3aef93,0x7,_0x49fd88[0x4]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x1e2563,0xc,_0x49fd88[0x5]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x51b81b,0x11,_0x49fd88[0x6]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5e6d0d,0x16,_0x49fd88[0x7]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2a31d2,0x7,_0x49fd88[0x8]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2f3c0f,0xc,_0x49fd88[0x9]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ed58c,0x11,_0x49fd88[0xa]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5de4af,0x16,_0x49fd88[0xb]),_0x5a504f=_0x4ae672(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2b2924,0x7,_0x49fd88[0xc]),_0x525436=_0x4ae672(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x6d2ccd,0xc,_0x49fd88[0xd]),_0x26d964=_0x4ae672(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ccee7,0x11,_0x49fd88[0xe]),_0x47dac6=_0x4ae672(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x5650ae,0x16,_0x49fd88[0xf]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x545297,0x5,_0x49fd88[0x10]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x51b81b,0x9,_0x49fd88[0x11]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5de4af,0xe,_0x49fd88[0x12]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x49fbeb,0x14,_0x49fd88[0x13]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x1e2563,0x5,_0x49fd88[0x14]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2ed58c,0x9,_0x49fd88[0x15]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5650ae,0xe,_0x49fd88[0x16]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x3aef93,0x14,_0x49fd88[0x17]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2f3c0f,0x5,_0x49fd88[0x18]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2ccee7,0x9,_0x49fd88[0x19]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0xade2e3,0xe,_0x49fd88[0x1a]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2a31d2,0x14,_0x49fd88[0x1b]),_0x5a504f=_0x5a9ada(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x6d2ccd,0x5,_0x49fd88[0x1c]),_0x525436=_0x5a9ada(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x26d852,0x9,_0x49fd88[0x1d]),_0x26d964=_0x5a9ada(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5e6d0d,0xe,_0x49fd88[0x1e]),_0x47dac6=_0x5a9ada(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2b2924,0x14,_0x49fd88[0x1f]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x1e2563,0x4,_0x49fd88[0x20]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2a31d2,0xb,_0x49fd88[0x21]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5de4af,0x10,_0x49fd88[0x22]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2ccee7,0x17,_0x49fd88[0x23]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x545297,0x4,_0x49fd88[0x24]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x3aef93,0xb,_0x49fd88[0x25]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5e6d0d,0x10,_0x49fd88[0x26]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2ed58c,0x17,_0x49fd88[0x27]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x6d2ccd,0x4,_0x49fd88[0x28]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x49fbeb,0xb,_0x49fd88[0x29]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0xade2e3,0x10,_0x49fd88[0x2a]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x51b81b,0x17,_0x49fd88[0x2b]),_0x5a504f=_0x3e19d8(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2f3c0f,0x4,_0x49fd88[0x2c]),_0x525436=_0x3e19d8(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x2b2924,0xb,_0x49fd88[0x2d]),_0x26d964=_0x3e19d8(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x5650ae,0x10,_0x49fd88[0x2e]),_0x47dac6=_0x3e19d8(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x26d852,0x17,_0x49fd88[0x2f]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x49fbeb,0x6,_0x49fd88[0x30]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5e6d0d,0xa,_0x49fd88[0x31]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ccee7,0xf,_0x49fd88[0x32]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x1e2563,0x15,_0x49fd88[0x33]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2b2924,0x6,_0x49fd88[0x34]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0xade2e3,0xa,_0x49fd88[0x35]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x2ed58c,0xf,_0x49fd88[0x36]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x545297,0x15,_0x49fd88[0x37]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x2a31d2,0x6,_0x49fd88[0x38]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5650ae,0xa,_0x49fd88[0x39]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x51b81b,0xf,_0x49fd88[0x3a]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x6d2ccd,0x15,_0x49fd88[0x3b]),_0x5a504f=_0x16f442(_0x5a504f,_0x47dac6,_0x26d964,_0x525436,_0x3aef93,0x6,_0x49fd88[0x3c]),_0x525436=_0x16f442(_0x525436,_0x5a504f,_0x47dac6,_0x26d964,_0x5de4af,0xa,_0x49fd88[0x3d]),_0x26d964=_0x16f442(_0x26d964,_0x525436,_0x5a504f,_0x47dac6,_0x26d852,0xf,_0x49fd88[0x3e]),_0x47dac6=_0x16f442(_0x47dac6,_0x26d964,_0x525436,_0x5a504f,_0x2f3c0f,0x15,_0x49fd88[0x3f]),_0x492f94[0x0]=_0x492f94[0x0]+_0x5a504f|0x0,_0x492f94[0x1]=_0x492f94[0x1]+_0x47dac6|0x0,_0x492f94[0x2]=_0x492f94[0x2]+_0x26d964|0x0,_0x492f94[0x3]=_0x492f94[0x3]+_0x525436|0x0;},'_doFinalize':function(){var _0x3c75fb=_0x22655b,_0x53fdff=this[_0x3c75fb(0x273)],_0x5a3414=_0x53fdff[_0x3c75fb(0x3ad)],_0x48857a=this[_0x3c75fb(0x30b)]*0x8,_0x3daf99=_0x53fdff[_0x3c75fb(0x387)]*0x8;_0x5a3414[_0x3daf99>>>0x5]|=0x80<<0x18-_0x3daf99%0x20;var _0x339b70=_0x12dcd9[_0x3c75fb(0x39a)](_0x48857a/0x100000000),_0x4fd156=_0x48857a;_0x5a3414[(_0x3daf99+0x40>>>0x9<<0x4)+0xf]=(_0x339b70<<0x8|_0x339b70>>>0x18)&0xff00ff|(_0x339b70<<0x18|_0x339b70>>>0x8)&0xff00ff00,_0x5a3414[(_0x3daf99+0x40>>>0x9<<0x4)+0xe]=(_0x4fd156<<0x8|_0x4fd156>>>0x18)&0xff00ff|(_0x4fd156<<0x18|_0x4fd156>>>0x8)&0xff00ff00,_0x53fdff[_0x3c75fb(0x387)]=(_0x5a3414[_0x3c75fb(0x450)]+0x1)*0x4,this[_0x3c75fb(0x48d)]();for(var _0x552f8d=this[_0x3c75fb(0x4a0)],_0x5c60c4=_0x552f8d[_0x3c75fb(0x3ad)],_0xd450c5=0x0;_0xd450c5<0x4;_0xd450c5++){var _0x436ffd=_0x5c60c4[_0xd450c5];_0x5c60c4[_0xd450c5]=(_0x436ffd<<0x8|_0x436ffd>>>0x18)&0xff00ff|(_0x436ffd<<0x18|_0x436ffd>>>0x8)&0xff00ff00;}return _0x552f8d;},'clone':function(){var _0xebe1bb=_0x22655b,_0x3e0066=_0x4c8adf[_0xebe1bb(0x1ee)]['call'](this);return _0x3e0066['_hash']=this['_hash'][_0xebe1bb(0x1ee)](),_0x3e0066;}});function _0x4ae672(_0x1fce83,_0x386b39,_0x3bc23f,_0x4feea6,_0x5e4fc7,_0x4370ba,_0x32148a){var _0x2c7ec3=_0x1fce83+(_0x386b39&_0x3bc23f|~_0x386b39&_0x4feea6)+_0x5e4fc7+_0x32148a;return(_0x2c7ec3<<_0x4370ba|_0x2c7ec3>>>0x20-_0x4370ba)+_0x386b39;}function _0x5a9ada(_0x39dce7,_0x5908e8,_0x58d525,_0x170b5c,_0x1023de,_0x309540,_0x3258c9){var _0x5d7d4c=_0x39dce7+(_0x5908e8&_0x170b5c|_0x58d525&~_0x170b5c)+_0x1023de+_0x3258c9;return(_0x5d7d4c<<_0x309540|_0x5d7d4c>>>0x20-_0x309540)+_0x5908e8;}function _0x3e19d8(_0x520b76,_0x30ec36,_0x4406bd,_0x28b9e9,_0x1f369b,_0x1bb080,_0x3c68b0){var _0x3305d1=_0x520b76+(_0x30ec36^_0x4406bd^_0x28b9e9)+_0x1f369b+_0x3c68b0;return(_0x3305d1<<_0x1bb080|_0x3305d1>>>0x20-_0x1bb080)+_0x30ec36;}function _0x16f442(_0x5d534f,_0x2ac7fd,_0x3a0bc9,_0xf91a6f,_0x10362f,_0x46e622,_0x3a0425){var _0x31ac31=_0x5d534f+(_0x3a0bc9^(_0x2ac7fd|~_0xf91a6f))+_0x10362f+_0x3a0425;return(_0x31ac31<<_0x46e622|_0x31ac31>>>0x20-_0x46e622)+_0x2ac7fd;}_0x563fa8[_0x22655b(0x2b1)]=_0x4c8adf['_createHelper'](_0xb234a1),_0x563fa8[_0x22655b(0x32e)]=_0x4c8adf[_0x22655b(0x425)](_0xb234a1);}(Math),_0x4e74e8[_0x116195(0x2b1)];}));}(ze)),ze[_0x436d38(0x1a6)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x3817ac(0x1a6)],ni;function Ys(){var _0x3292c8=_0x3817ac;return ni||(ni=0x1,function(_0x3a33a5,_0x59d978){(function(_0x2645a6,_0x3e3058){var _0x198cb3=_0x7017;_0x3a33a5[_0x198cb3(0x1a6)]=_0x3e3058(ne());}(zs,function(_0x5d17bd){var _0x571b2c=_0x7017;return(function(){var _0x535890=_0x7017,_0x3551aa=_0x5d17bd,_0x3c9152=_0x3551aa[_0x535890(0x3f0)],_0x426b57=_0x3c9152[_0x535890(0x2de)],_0x3cb9af=_0x3c9152[_0x535890(0x232)],_0x4e9fa6=_0x3551aa['algo'],_0x4a74f2=[],_0x25915b=_0x4e9fa6[_0x535890(0x38d)]=_0x3cb9af[_0x535890(0x469)]({'_doReset':function(){var _0x42ab7d=_0x535890;this[_0x42ab7d(0x4a0)]=new _0x426b57['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x127e25,_0x5c2cfa){var _0x256cfb=_0x535890;for(var _0x3bf541=this['_hash'][_0x256cfb(0x3ad)],_0x1857c5=_0x3bf541[0x0],_0x174596=_0x3bf541[0x1],_0x27bf5f=_0x3bf541[0x2],_0x5aae68=_0x3bf541[0x3],_0x107049=_0x3bf541[0x4],_0x3dd625=0x0;_0x3dd625<0x50;_0x3dd625++){if(_0x3dd625<0x10)_0x4a74f2[_0x3dd625]=_0x127e25[_0x5c2cfa+_0x3dd625]|0x0;else{var _0x552e52=_0x4a74f2[_0x3dd625-0x3]^_0x4a74f2[_0x3dd625-0x8]^_0x4a74f2[_0x3dd625-0xe]^_0x4a74f2[_0x3dd625-0x10];_0x4a74f2[_0x3dd625]=_0x552e52<<0x1|_0x552e52>>>0x1f;}var _0x2988c7=(_0x1857c5<<0x5|_0x1857c5>>>0x1b)+_0x107049+_0x4a74f2[_0x3dd625];_0x3dd625<0x14?_0x2988c7+=(_0x174596&_0x27bf5f|~_0x174596&_0x5aae68)+0x5a827999:_0x3dd625<0x28?_0x2988c7+=(_0x174596^_0x27bf5f^_0x5aae68)+0x6ed9eba1:_0x3dd625<0x3c?_0x2988c7+=(_0x174596&_0x27bf5f|_0x174596&_0x5aae68|_0x27bf5f&_0x5aae68)-0x70e44324:_0x2988c7+=(_0x174596^_0x27bf5f^_0x5aae68)-0x359d3e2a,_0x107049=_0x5aae68,_0x5aae68=_0x27bf5f,_0x27bf5f=_0x174596<<0x1e|_0x174596>>>0x2,_0x174596=_0x1857c5,_0x1857c5=_0x2988c7;}_0x3bf541[0x0]=_0x3bf541[0x0]+_0x1857c5|0x0,_0x3bf541[0x1]=_0x3bf541[0x1]+_0x174596|0x0,_0x3bf541[0x2]=_0x3bf541[0x2]+_0x27bf5f|0x0,_0x3bf541[0x3]=_0x3bf541[0x3]+_0x5aae68|0x0,_0x3bf541[0x4]=_0x3bf541[0x4]+_0x107049|0x0;},'_doFinalize':function(){var _0x2d437a=_0x535890,_0x4dcd3f=this[_0x2d437a(0x273)],_0x168d6f=_0x4dcd3f[_0x2d437a(0x3ad)],_0xcb3bc2=this[_0x2d437a(0x30b)]*0x8,_0x11dc28=_0x4dcd3f[_0x2d437a(0x387)]*0x8;return _0x168d6f[_0x11dc28>>>0x5]|=0x80<<0x18-_0x11dc28%0x20,_0x168d6f[(_0x11dc28+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d437a(0x39a)](_0xcb3bc2/0x100000000),_0x168d6f[(_0x11dc28+0x40>>>0x9<<0x4)+0xf]=_0xcb3bc2,_0x4dcd3f[_0x2d437a(0x387)]=_0x168d6f['length']*0x4,this[_0x2d437a(0x48d)](),this['_hash'];},'clone':function(){var _0x36c4ce=_0x535890,_0x42a2e7=_0x3cb9af['clone'][_0x36c4ce(0x26b)](this);return _0x42a2e7[_0x36c4ce(0x4a0)]=this['_hash'][_0x36c4ce(0x1ee)](),_0x42a2e7;}});_0x3551aa[_0x535890(0x38d)]=_0x3cb9af['_createHelper'](_0x25915b),_0x3551aa[_0x535890(0x24f)]=_0x3cb9af[_0x535890(0x425)](_0x25915b);}()),_0x5d17bd[_0x571b2c(0x38d)];}));}(qe)),qe[_0x3292c8(0x1a6)];}var Je={'exports':{}},qs=Je[_0x3817ac(0x1a6)],si;function Js(){var _0x116714=_0x3817ac;return si||(si=0x1,function(_0x455496,_0xa6348c){(function(_0x45a435,_0x3fcc30){var _0x57232c=_0x7017;_0x455496[_0x57232c(0x1a6)]=_0x3fcc30(ne());}(qs,function(_0x5e51c){(function(){var _0x2c0366=_0x7017,_0xb0d520=_0x5e51c,_0x3d0b2c=_0xb0d520[_0x2c0366(0x3f0)],_0x16925f=_0x3d0b2c['Base'],_0x1714bd=_0xb0d520[_0x2c0366(0x33b)],_0x24edf7=_0x1714bd['Utf8'],_0x7c6f40=_0xb0d520[_0x2c0366(0x258)];_0x7c6f40[_0x2c0366(0x217)]=_0x16925f['extend']({'init':function(_0x5642f7,_0x8b9909){var _0x41e47c=_0x2c0366;_0x5642f7=this[_0x41e47c(0x234)]=new _0x5642f7[(_0x41e47c(0x494))](),typeof _0x8b9909=='string'&&(_0x8b9909=_0x24edf7[_0x41e47c(0x414)](_0x8b9909));var _0x156c28=_0x5642f7[_0x41e47c(0x3f6)],_0x3fd4f6=_0x156c28*0x4;_0x8b9909[_0x41e47c(0x387)]>_0x3fd4f6&&(_0x8b9909=_0x5642f7[_0x41e47c(0x476)](_0x8b9909)),_0x8b9909['clamp']();for(var _0x2e0589=this['_oKey']=_0x8b9909['clone'](),_0x3fe44d=this['_iKey']=_0x8b9909[_0x41e47c(0x1ee)](),_0x434b4e=_0x2e0589['words'],_0x1b5f0f=_0x3fe44d[_0x41e47c(0x3ad)],_0x5de194=0x0;_0x5de194<_0x156c28;_0x5de194++)_0x434b4e[_0x5de194]^=0x5c5c5c5c,_0x1b5f0f[_0x5de194]^=0x36363636;_0x2e0589['sigBytes']=_0x3fe44d[_0x41e47c(0x387)]=_0x3fd4f6,this[_0x41e47c(0x383)]();},'reset':function(){var _0x4aff4c=_0x2c0366,_0x52bf52=this['_hasher'];_0x52bf52[_0x4aff4c(0x383)](),_0x52bf52[_0x4aff4c(0x45c)](this[_0x4aff4c(0x43d)]);},'update':function(_0x118161){var _0x582469=_0x2c0366;return this[_0x582469(0x234)][_0x582469(0x45c)](_0x118161),this;},'finalize':function(_0x1e322c){var _0x583f45=_0x2c0366,_0x3865d8=this[_0x583f45(0x234)],_0x31940b=_0x3865d8[_0x583f45(0x476)](_0x1e322c);_0x3865d8[_0x583f45(0x383)]();var _0xf17125=_0x3865d8['finalize'](this[_0x583f45(0x197)][_0x583f45(0x1ee)]()[_0x583f45(0x2e9)](_0x31940b));return _0xf17125;}});}());}));}(Je)),Je[_0x116714(0x1a6)];}var Xs=Ye['exports'],ri;function xi(){var _0x570e5b=_0x3817ac;return ri||(ri=0x1,function(_0x34e8de,_0x55ddc2){(function(_0x3e82a4,_0x273527,_0x1bd7b0){_0x34e8de['exports']=_0x273527(ne(),Ys(),Js());}(Xs,function(_0x3a9cd3){return(function(){var _0x245076=_0x7017,_0x3ba0c7=_0x3a9cd3,_0x3105e8=_0x3ba0c7[_0x245076(0x3f0)],_0x3e3186=_0x3105e8[_0x245076(0x21c)],_0x5c3347=_0x3105e8[_0x245076(0x2de)],_0x25ed4b=_0x3ba0c7[_0x245076(0x258)],_0x19e3e7=_0x25ed4b[_0x245076(0x2b1)],_0x355e61=_0x25ed4b['EvpKDF']=_0x3e3186[_0x245076(0x469)]({'cfg':_0x3e3186['extend']({'keySize':0x80/0x20,'hasher':_0x19e3e7,'iterations':0x1}),'init':function(_0x338161){var _0x260342=_0x245076;this[_0x260342(0x2f7)]=this[_0x260342(0x2f7)][_0x260342(0x469)](_0x338161);},'compute':function(_0x118719,_0x55f107){var _0x2ccab2=_0x245076;for(var _0x43b666,_0x2ea586=this[_0x2ccab2(0x2f7)],_0x1a6cfb=_0x2ea586[_0x2ccab2(0x377)][_0x2ccab2(0x443)](),_0x96b43d=_0x5c3347['create'](),_0x28b6ff=_0x96b43d[_0x2ccab2(0x3ad)],_0x5f2837=_0x2ea586[_0x2ccab2(0x2ed)],_0x4f6fc5=_0x2ea586['iterations'];_0x28b6ff[_0x2ccab2(0x450)]<_0x5f2837;){_0x43b666&&_0x1a6cfb[_0x2ccab2(0x45c)](_0x43b666),_0x43b666=_0x1a6cfb[_0x2ccab2(0x45c)](_0x118719)[_0x2ccab2(0x476)](_0x55f107),_0x1a6cfb['reset']();for(var _0x243238=0x1;_0x243238<_0x4f6fc5;_0x243238++)_0x43b666=_0x1a6cfb[_0x2ccab2(0x476)](_0x43b666),_0x1a6cfb['reset']();_0x96b43d['concat'](_0x43b666);}return _0x96b43d[_0x2ccab2(0x387)]=_0x5f2837*0x4,_0x96b43d;}});_0x3ba0c7['EvpKDF']=function(_0x43d3d7,_0x4345f8,_0x10c1d4){var _0xc33dd1=_0x245076;return _0x355e61[_0xc33dd1(0x443)](_0x10c1d4)[_0xc33dd1(0x398)](_0x43d3d7,_0x4345f8);};}()),_0x3a9cd3['EvpKDF'];}));}(Ye)),Ye[_0x570e5b(0x1a6)];}var Xe={'exports':{}},Zs=Xe[_0x3817ac(0x1a6)],oi;function Li(){var _0xfd210a=_0x3817ac;return oi||(oi=0x1,function(_0x4e8076,_0x2550fd){(function(_0x29919d,_0x2aead5,_0x4f7370){var _0x42e5e7=_0x7017;_0x4e8076[_0x42e5e7(0x1a6)]=_0x2aead5(ne(),xi());}(Zs,function(_0x399c94){var _0x488239=_0x7017;_0x399c94[_0x488239(0x3f0)]['Cipher']||function(_0x2f9983){var _0x198cd8=_0x488239,_0x3a40ee=_0x399c94,_0x13781c=_0x3a40ee['lib'],_0x982840=_0x13781c[_0x198cd8(0x21c)],_0xc4d553=_0x13781c[_0x198cd8(0x2de)],_0x874c95=_0x13781c['BufferedBlockAlgorithm'],_0x4f4a03=_0x3a40ee[_0x198cd8(0x33b)];_0x4f4a03[_0x198cd8(0x22b)];var _0x3799e3=_0x4f4a03[_0x198cd8(0x4a4)],_0x42fbe2=_0x3a40ee[_0x198cd8(0x258)],_0x2a173d=_0x42fbe2[_0x198cd8(0x248)],_0x1d65bc=_0x13781c['Cipher']=_0x874c95[_0x198cd8(0x469)]({'cfg':_0x982840['extend'](),'createEncryptor':function(_0xe93655,_0x38dd9a){var _0x2d149c=_0x198cd8;return this[_0x2d149c(0x443)](this['_ENC_XFORM_MODE'],_0xe93655,_0x38dd9a);},'createDecryptor':function(_0x6f1c05,_0x15d61d){var _0x15d8d1=_0x198cd8;return this['create'](this[_0x15d8d1(0x3b7)],_0x6f1c05,_0x15d61d);},'init':function(_0x19ed5b,_0x219aad,_0xa456f2){var _0x136a6a=_0x198cd8;this[_0x136a6a(0x2f7)]=this[_0x136a6a(0x2f7)][_0x136a6a(0x469)](_0xa456f2),this['_xformMode']=_0x19ed5b,this[_0x136a6a(0x349)]=_0x219aad,this[_0x136a6a(0x383)]();},'reset':function(){var _0x1a5707=_0x198cd8;_0x874c95[_0x1a5707(0x383)][_0x1a5707(0x26b)](this),this[_0x1a5707(0x1cc)]();},'process':function(_0x24b888){var _0x54154f=_0x198cd8;return this[_0x54154f(0x26a)](_0x24b888),this[_0x54154f(0x48d)]();},'finalize':function(_0x22ce58){var _0x10bf3f=_0x198cd8;_0x22ce58&&this[_0x10bf3f(0x26a)](_0x22ce58);var _0x121851=this['_doFinalize']();return _0x121851;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x45b6c5(_0x26a482){var _0x33dd6c=_0x7017;return typeof _0x26a482==_0x33dd6c(0x255)?_0x10cdbb:_0x349080;}return function(_0x321463){return{'encrypt':function(_0x2aaf7c,_0x125690,_0x2ea685){return _0x45b6c5(_0x125690)['encrypt'](_0x321463,_0x2aaf7c,_0x125690,_0x2ea685);},'decrypt':function(_0x53a805,_0x1192d2,_0x49fbf2){var _0x37dbf3=_0x7017;return _0x45b6c5(_0x1192d2)[_0x37dbf3(0x242)](_0x321463,_0x53a805,_0x1192d2,_0x49fbf2);}};};}())});_0x13781c[_0x198cd8(0x293)]=_0x1d65bc[_0x198cd8(0x469)]({'_doFinalize':function(){var _0x55cf72=_0x198cd8,_0x228ad5=this[_0x55cf72(0x48d)](!0x0);return _0x228ad5;},'blockSize':0x1});var _0x1077e7=_0x3a40ee[_0x198cd8(0x335)]={},_0x5a1478=_0x13781c[_0x198cd8(0x39d)]=_0x982840[_0x198cd8(0x469)]({'createEncryptor':function(_0x15eee4,_0x5204bd){var _0xc7da5c=_0x198cd8;return this[_0xc7da5c(0x283)]['create'](_0x15eee4,_0x5204bd);},'createDecryptor':function(_0x11d280,_0x30a953){var _0x25c2e5=_0x198cd8;return this[_0x25c2e5(0x1bc)][_0x25c2e5(0x443)](_0x11d280,_0x30a953);},'init':function(_0x50c737,_0x1add30){var _0x4d90ab=_0x198cd8;this[_0x4d90ab(0x33d)]=_0x50c737,this[_0x4d90ab(0x3cd)]=_0x1add30;}}),_0x5b20a9=_0x1077e7[_0x198cd8(0x1d1)]=(function(){var _0xbb5538=_0x198cd8,_0x462d13=_0x5a1478[_0xbb5538(0x469)]();_0x462d13['Encryptor']=_0x462d13[_0xbb5538(0x469)]({'processBlock':function(_0x52bcda,_0x51ae3c){var _0x358094=_0xbb5538,_0x2632f1=this[_0x358094(0x33d)],_0x2c5456=_0x2632f1[_0x358094(0x3f6)];_0x2bdb2a[_0x358094(0x26b)](this,_0x52bcda,_0x51ae3c,_0x2c5456),_0x2632f1[_0x358094(0x429)](_0x52bcda,_0x51ae3c),this['_prevBlock']=_0x52bcda[_0x358094(0x2ba)](_0x51ae3c,_0x51ae3c+_0x2c5456);}}),_0x462d13[_0xbb5538(0x1bc)]=_0x462d13[_0xbb5538(0x469)]({'processBlock':function(_0x3ef622,_0x5ad473){var _0x1d5b66=_0xbb5538,_0x4fd870=this['_cipher'],_0xf94c7c=_0x4fd870['blockSize'],_0x2bb988=_0x3ef622[_0x1d5b66(0x2ba)](_0x5ad473,_0x5ad473+_0xf94c7c);_0x4fd870[_0x1d5b66(0x3d3)](_0x3ef622,_0x5ad473),_0x2bdb2a[_0x1d5b66(0x26b)](this,_0x3ef622,_0x5ad473,_0xf94c7c),this['_prevBlock']=_0x2bb988;}});function _0x2bdb2a(_0x3dc008,_0x1c0aff,_0x162172){var _0x5d6385=_0xbb5538,_0x5aebc8,_0x11e26f=this[_0x5d6385(0x3cd)];_0x11e26f?(_0x5aebc8=_0x11e26f,this[_0x5d6385(0x3cd)]=_0x2f9983):_0x5aebc8=this[_0x5d6385(0x337)];for(var _0x195164=0x0;_0x195164<_0x162172;_0x195164++)_0x3dc008[_0x1c0aff+_0x195164]^=_0x5aebc8[_0x195164];}return _0x462d13;}()),_0x39b2a5=_0x3a40ee[_0x198cd8(0x201)]={},_0x5c59c0=_0x39b2a5[_0x198cd8(0x25f)]={'pad':function(_0x238344,_0x534ed9){var _0x4971e2=_0x198cd8;for(var _0x5804cd=_0x534ed9*0x4,_0x4b8ce0=_0x5804cd-_0x238344['sigBytes']%_0x5804cd,_0x13f739=_0x4b8ce0<<0x18|_0x4b8ce0<<0x10|_0x4b8ce0<<0x8|_0x4b8ce0,_0x36a745=[],_0x5732bd=0x0;_0x5732bd<_0x4b8ce0;_0x5732bd+=0x4)_0x36a745[_0x4971e2(0x399)](_0x13f739);var _0x59d3f2=_0xc4d553[_0x4971e2(0x443)](_0x36a745,_0x4b8ce0);_0x238344['concat'](_0x59d3f2);},'unpad':function(_0x4ece2d){var _0x129930=_0x198cd8,_0x3b338a=_0x4ece2d[_0x129930(0x3ad)][_0x4ece2d[_0x129930(0x387)]-0x1>>>0x2]&0xff;_0x4ece2d[_0x129930(0x387)]-=_0x3b338a;}};_0x13781c[_0x198cd8(0x23e)]=_0x1d65bc['extend']({'cfg':_0x1d65bc[_0x198cd8(0x2f7)]['extend']({'mode':_0x5b20a9,'padding':_0x5c59c0}),'reset':function(){var _0x33a33b=_0x198cd8,_0xc7a828;_0x1d65bc[_0x33a33b(0x383)]['call'](this);var _0x9c143d=this[_0x33a33b(0x2f7)],_0xad8856=_0x9c143d['iv'],_0x3f801a=_0x9c143d[_0x33a33b(0x335)];this[_0x33a33b(0x3aa)]==this[_0x33a33b(0x32c)]?_0xc7a828=_0x3f801a['createEncryptor']:(_0xc7a828=_0x3f801a['createDecryptor'],this['_minBufferSize']=0x1),this[_0x33a33b(0x270)]&&this[_0x33a33b(0x270)][_0x33a33b(0x213)]==_0xc7a828?this[_0x33a33b(0x270)][_0x33a33b(0x494)](this,_0xad8856&&_0xad8856[_0x33a33b(0x3ad)]):(this['_mode']=_0xc7a828['call'](_0x3f801a,this,_0xad8856&&_0xad8856[_0x33a33b(0x3ad)]),this[_0x33a33b(0x270)][_0x33a33b(0x213)]=_0xc7a828);},'_doProcessBlock':function(_0x4e40bd,_0x4f4966){var _0x56fbd2=_0x198cd8;this[_0x56fbd2(0x270)]['processBlock'](_0x4e40bd,_0x4f4966);},'_doFinalize':function(){var _0x51d9c4=_0x198cd8,_0x329898,_0x11576a=this[_0x51d9c4(0x2f7)][_0x51d9c4(0x33f)];return this[_0x51d9c4(0x3aa)]==this[_0x51d9c4(0x32c)]?(_0x11576a['pad'](this[_0x51d9c4(0x273)],this[_0x51d9c4(0x3f6)]),_0x329898=this[_0x51d9c4(0x48d)](!0x0)):(_0x329898=this[_0x51d9c4(0x48d)](!0x0),_0x11576a[_0x51d9c4(0x249)](_0x329898)),_0x329898;},'blockSize':0x80/0x20});var _0x378f31=_0x13781c[_0x198cd8(0x35f)]=_0x982840[_0x198cd8(0x469)]({'init':function(_0x2f4627){var _0x9c44e5=_0x198cd8;this[_0x9c44e5(0x477)](_0x2f4627);},'toString':function(_0x5701de){var _0x5461ef=_0x198cd8;return(_0x5701de||this['formatter'])[_0x5461ef(0x274)](this);}}),_0x1c1220=_0x3a40ee[_0x198cd8(0x3d8)]={},_0x2c38a0=_0x1c1220[_0x198cd8(0x48f)]={'stringify':function(_0x4888f9){var _0xd215f6=_0x198cd8,_0x4a29b4,_0x2a9481=_0x4888f9[_0xd215f6(0x1ce)],_0x1b6f71=_0x4888f9[_0xd215f6(0x3ef)];return _0x1b6f71?_0x4a29b4=_0xc4d553[_0xd215f6(0x443)]([0x53616c74,0x65645f5f])['concat'](_0x1b6f71)[_0xd215f6(0x2e9)](_0x2a9481):_0x4a29b4=_0x2a9481,_0x4a29b4[_0xd215f6(0x22a)](_0x3799e3);},'parse':function(_0x3b483a){var _0x5b6313=_0x198cd8,_0x3a3862,_0x1d3303=_0x3799e3[_0x5b6313(0x414)](_0x3b483a),_0x53c900=_0x1d3303[_0x5b6313(0x3ad)];return _0x53c900[0x0]==0x53616c74&&_0x53c900[0x1]==0x65645f5f&&(_0x3a3862=_0xc4d553['create'](_0x53c900[_0x5b6313(0x2ba)](0x2,0x4)),_0x53c900[_0x5b6313(0x4a3)](0x0,0x4),_0x1d3303[_0x5b6313(0x387)]-=0x10),_0x378f31[_0x5b6313(0x443)]({'ciphertext':_0x1d3303,'salt':_0x3a3862});}},_0x349080=_0x13781c[_0x198cd8(0x1a4)]=_0x982840[_0x198cd8(0x469)]({'cfg':_0x982840[_0x198cd8(0x469)]({'format':_0x2c38a0}),'encrypt':function(_0x9944ee,_0x30d9af,_0x1566ee,_0x2b35d5){var _0x5d2615=_0x198cd8;_0x2b35d5=this[_0x5d2615(0x2f7)][_0x5d2615(0x469)](_0x2b35d5);var _0x56e396=_0x9944ee[_0x5d2615(0x44d)](_0x1566ee,_0x2b35d5),_0x363671=_0x56e396[_0x5d2615(0x476)](_0x30d9af),_0x58581e=_0x56e396[_0x5d2615(0x2f7)];return _0x378f31[_0x5d2615(0x443)]({'ciphertext':_0x363671,'key':_0x1566ee,'iv':_0x58581e['iv'],'algorithm':_0x9944ee,'mode':_0x58581e[_0x5d2615(0x335)],'padding':_0x58581e[_0x5d2615(0x33f)],'blockSize':_0x9944ee[_0x5d2615(0x3f6)],'formatter':_0x2b35d5['format']});},'decrypt':function(_0x7af75,_0x1e2729,_0x1c5b4d,_0x2749a8){var _0x11d7e7=_0x198cd8;_0x2749a8=this[_0x11d7e7(0x2f7)]['extend'](_0x2749a8),_0x1e2729=this[_0x11d7e7(0x243)](_0x1e2729,_0x2749a8[_0x11d7e7(0x3d8)]);var _0x3cd693=_0x7af75['createDecryptor'](_0x1c5b4d,_0x2749a8)[_0x11d7e7(0x476)](_0x1e2729['ciphertext']);return _0x3cd693;},'_parse':function(_0x3e6d00,_0x5a0e1e){var _0x1ca17a=_0x198cd8;return typeof _0x3e6d00==_0x1ca17a(0x255)?_0x5a0e1e[_0x1ca17a(0x414)](_0x3e6d00,this):_0x3e6d00;}}),_0x424cf1=_0x3a40ee[_0x198cd8(0x2cf)]={},_0xdcf0a4=_0x424cf1['OpenSSL']={'execute':function(_0x8efb4e,_0x3b5b53,_0x4ae284,_0x59bb6b,_0x1117f1){var _0x50dab9=_0x198cd8;if(_0x59bb6b||(_0x59bb6b=_0xc4d553[_0x50dab9(0x356)](0x40/0x8)),_0x1117f1)var _0xc4ac62=_0x2a173d['create']({'keySize':_0x3b5b53+_0x4ae284,'hasher':_0x1117f1})[_0x50dab9(0x398)](_0x8efb4e,_0x59bb6b);else var _0xc4ac62=_0x2a173d[_0x50dab9(0x443)]({'keySize':_0x3b5b53+_0x4ae284})[_0x50dab9(0x398)](_0x8efb4e,_0x59bb6b);var _0x48fa47=_0xc4d553[_0x50dab9(0x443)](_0xc4ac62[_0x50dab9(0x3ad)][_0x50dab9(0x2ba)](_0x3b5b53),_0x4ae284*0x4);return _0xc4ac62[_0x50dab9(0x387)]=_0x3b5b53*0x4,_0x378f31[_0x50dab9(0x443)]({'key':_0xc4ac62,'iv':_0x48fa47,'salt':_0x59bb6b});}},_0x10cdbb=_0x13781c[_0x198cd8(0x2ca)]=_0x349080[_0x198cd8(0x469)]({'cfg':_0x349080[_0x198cd8(0x2f7)][_0x198cd8(0x469)]({'kdf':_0xdcf0a4}),'encrypt':function(_0x2e16dd,_0x44fea2,_0x397437,_0x2f3af7){var _0x5a5e76=_0x198cd8;_0x2f3af7=this[_0x5a5e76(0x2f7)][_0x5a5e76(0x469)](_0x2f3af7);var _0x3f2c49=_0x2f3af7[_0x5a5e76(0x2cf)][_0x5a5e76(0x1f0)](_0x397437,_0x2e16dd[_0x5a5e76(0x2ed)],_0x2e16dd['ivSize'],_0x2f3af7['salt'],_0x2f3af7[_0x5a5e76(0x377)]);_0x2f3af7['iv']=_0x3f2c49['iv'];var _0x357259=_0x349080[_0x5a5e76(0x350)]['call'](this,_0x2e16dd,_0x44fea2,_0x3f2c49['key'],_0x2f3af7);return _0x357259['mixIn'](_0x3f2c49),_0x357259;},'decrypt':function(_0xae7dc2,_0x2774f8,_0xc919fc,_0x57736f){var _0x56f350=_0x198cd8;_0x57736f=this['cfg'][_0x56f350(0x469)](_0x57736f),_0x2774f8=this[_0x56f350(0x243)](_0x2774f8,_0x57736f[_0x56f350(0x3d8)]);var _0x3c4dc7=_0x57736f['kdf'][_0x56f350(0x1f0)](_0xc919fc,_0xae7dc2[_0x56f350(0x2ed)],_0xae7dc2[_0x56f350(0x3fe)],_0x2774f8[_0x56f350(0x3ef)],_0x57736f['hasher']);_0x57736f['iv']=_0x3c4dc7['iv'];var _0xd91298=_0x349080['decrypt'][_0x56f350(0x26b)](this,_0xae7dc2,_0x2774f8,_0x3c4dc7['key'],_0x57736f);return _0xd91298;}});}();}));}(Xe)),Xe[_0xfd210a(0x1a6)];}var Qs=We[_0x3817ac(0x1a6)],ai;function er(){return ai||(ai=0x1,function(_0x20b0af,_0x336010){(function(_0x3a29b7,_0x41f70d,_0x2b9757){var _0x2c38e2=_0x7017;_0x20b0af[_0x2c38e2(0x1a6)]=_0x41f70d(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x5984bf){var _0x2e1c6d=_0x7017;return(function(){var _0x2b908b=_0x7017,_0x229ee7=_0x5984bf,_0x3e8920=_0x229ee7[_0x2b908b(0x3f0)],_0x324590=_0x3e8920[_0x2b908b(0x23e)],_0x545429=_0x229ee7[_0x2b908b(0x258)],_0x407e6a=[],_0x4a7ee1=[],_0x3f97af=[],_0x87de99=[],_0x3a4084=[],_0x21db66=[],_0x5c6ddd=[],_0x5dd6d0=[],_0x2ef31d=[],_0x5ab4c0=[];(function(){for(var _0x841aba=[],_0x4cc093=0x0;_0x4cc093<0x100;_0x4cc093++)_0x4cc093<0x80?_0x841aba[_0x4cc093]=_0x4cc093<<0x1:_0x841aba[_0x4cc093]=_0x4cc093<<0x1^0x11b;for(var _0x42e523=0x0,_0x225519=0x0,_0x4cc093=0x0;_0x4cc093<0x100;_0x4cc093++){var _0x3ccfaa=_0x225519^_0x225519<<0x1^_0x225519<<0x2^_0x225519<<0x3^_0x225519<<0x4;_0x3ccfaa=_0x3ccfaa>>>0x8^_0x3ccfaa&0xff^0x63,_0x407e6a[_0x42e523]=_0x3ccfaa,_0x4a7ee1[_0x3ccfaa]=_0x42e523;var _0x426dd1=_0x841aba[_0x42e523],_0xe92839=_0x841aba[_0x426dd1],_0x20b94f=_0x841aba[_0xe92839],_0x4bcfda=_0x841aba[_0x3ccfaa]*0x101^_0x3ccfaa*0x1010100;_0x3f97af[_0x42e523]=_0x4bcfda<<0x18|_0x4bcfda>>>0x8,_0x87de99[_0x42e523]=_0x4bcfda<<0x10|_0x4bcfda>>>0x10,_0x3a4084[_0x42e523]=_0x4bcfda<<0x8|_0x4bcfda>>>0x18,_0x21db66[_0x42e523]=_0x4bcfda;var _0x4bcfda=_0x20b94f*0x1010101^_0xe92839*0x10001^_0x426dd1*0x101^_0x42e523*0x1010100;_0x5c6ddd[_0x3ccfaa]=_0x4bcfda<<0x18|_0x4bcfda>>>0x8,_0x5dd6d0[_0x3ccfaa]=_0x4bcfda<<0x10|_0x4bcfda>>>0x10,_0x2ef31d[_0x3ccfaa]=_0x4bcfda<<0x8|_0x4bcfda>>>0x18,_0x5ab4c0[_0x3ccfaa]=_0x4bcfda,_0x42e523?(_0x42e523=_0x426dd1^_0x841aba[_0x841aba[_0x841aba[_0x20b94f^_0x426dd1]]],_0x225519^=_0x841aba[_0x841aba[_0x225519]]):_0x42e523=_0x225519=0x1;}}());var _0x5947f2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x16fc86=_0x545429[_0x2b908b(0x467)]=_0x324590[_0x2b908b(0x469)]({'_doReset':function(){var _0x488e78=_0x2b908b,_0x8622cb;if(!(this[_0x488e78(0x481)]&&this[_0x488e78(0x272)]===this[_0x488e78(0x349)])){for(var _0x33e4d2=this[_0x488e78(0x272)]=this[_0x488e78(0x349)],_0x392d9c=_0x33e4d2[_0x488e78(0x3ad)],_0x102389=_0x33e4d2[_0x488e78(0x387)]/0x4,_0x1dcae2=this[_0x488e78(0x481)]=_0x102389+0x6,_0x565a72=(_0x1dcae2+0x1)*0x4,_0x503f7c=this[_0x488e78(0x288)]=[],_0x3fdbda=0x0;_0x3fdbda<_0x565a72;_0x3fdbda++)_0x3fdbda<_0x102389?_0x503f7c[_0x3fdbda]=_0x392d9c[_0x3fdbda]:(_0x8622cb=_0x503f7c[_0x3fdbda-0x1],_0x3fdbda%_0x102389?_0x102389>0x6&&_0x3fdbda%_0x102389==0x4&&(_0x8622cb=_0x407e6a[_0x8622cb>>>0x18]<<0x18|_0x407e6a[_0x8622cb>>>0x10&0xff]<<0x10|_0x407e6a[_0x8622cb>>>0x8&0xff]<<0x8|_0x407e6a[_0x8622cb&0xff]):(_0x8622cb=_0x8622cb<<0x8|_0x8622cb>>>0x18,_0x8622cb=_0x407e6a[_0x8622cb>>>0x18]<<0x18|_0x407e6a[_0x8622cb>>>0x10&0xff]<<0x10|_0x407e6a[_0x8622cb>>>0x8&0xff]<<0x8|_0x407e6a[_0x8622cb&0xff],_0x8622cb^=_0x5947f2[_0x3fdbda/_0x102389|0x0]<<0x18),_0x503f7c[_0x3fdbda]=_0x503f7c[_0x3fdbda-_0x102389]^_0x8622cb);for(var _0x5cdef8=this[_0x488e78(0x42a)]=[],_0x15f72f=0x0;_0x15f72f<_0x565a72;_0x15f72f++){var _0x3fdbda=_0x565a72-_0x15f72f;if(_0x15f72f%0x4)var _0x8622cb=_0x503f7c[_0x3fdbda];else var _0x8622cb=_0x503f7c[_0x3fdbda-0x4];_0x15f72f<0x4||_0x3fdbda<=0x4?_0x5cdef8[_0x15f72f]=_0x8622cb:_0x5cdef8[_0x15f72f]=_0x5c6ddd[_0x407e6a[_0x8622cb>>>0x18]]^_0x5dd6d0[_0x407e6a[_0x8622cb>>>0x10&0xff]]^_0x2ef31d[_0x407e6a[_0x8622cb>>>0x8&0xff]]^_0x5ab4c0[_0x407e6a[_0x8622cb&0xff]];}}},'encryptBlock':function(_0x33e3a4,_0x4bf9fb){var _0x34e779=_0x2b908b;this[_0x34e779(0x231)](_0x33e3a4,_0x4bf9fb,this[_0x34e779(0x288)],_0x3f97af,_0x87de99,_0x3a4084,_0x21db66,_0x407e6a);},'decryptBlock':function(_0xee68fb,_0x19a32b){var _0x4966a7=_0x2b908b,_0x2fc5b3=_0xee68fb[_0x19a32b+0x1];_0xee68fb[_0x19a32b+0x1]=_0xee68fb[_0x19a32b+0x3],_0xee68fb[_0x19a32b+0x3]=_0x2fc5b3,this[_0x4966a7(0x231)](_0xee68fb,_0x19a32b,this[_0x4966a7(0x42a)],_0x5c6ddd,_0x5dd6d0,_0x2ef31d,_0x5ab4c0,_0x4a7ee1);var _0x2fc5b3=_0xee68fb[_0x19a32b+0x1];_0xee68fb[_0x19a32b+0x1]=_0xee68fb[_0x19a32b+0x3],_0xee68fb[_0x19a32b+0x3]=_0x2fc5b3;},'_doCryptBlock':function(_0x217ae6,_0x247e5a,_0x98eb63,_0x4843ec,_0x4e9627,_0xf079e,_0xfbaf7f,_0x3178ed){for(var _0x32457a=this['_nRounds'],_0x3bae6d=_0x217ae6[_0x247e5a]^_0x98eb63[0x0],_0x2dee23=_0x217ae6[_0x247e5a+0x1]^_0x98eb63[0x1],_0x30e0be=_0x217ae6[_0x247e5a+0x2]^_0x98eb63[0x2],_0x228830=_0x217ae6[_0x247e5a+0x3]^_0x98eb63[0x3],_0x2719b8=0x4,_0x193cfa=0x1;_0x193cfa<_0x32457a;_0x193cfa++){var _0x4a2f54=_0x4843ec[_0x3bae6d>>>0x18]^_0x4e9627[_0x2dee23>>>0x10&0xff]^_0xf079e[_0x30e0be>>>0x8&0xff]^_0xfbaf7f[_0x228830&0xff]^_0x98eb63[_0x2719b8++],_0x32267e=_0x4843ec[_0x2dee23>>>0x18]^_0x4e9627[_0x30e0be>>>0x10&0xff]^_0xf079e[_0x228830>>>0x8&0xff]^_0xfbaf7f[_0x3bae6d&0xff]^_0x98eb63[_0x2719b8++],_0x52e1b2=_0x4843ec[_0x30e0be>>>0x18]^_0x4e9627[_0x228830>>>0x10&0xff]^_0xf079e[_0x3bae6d>>>0x8&0xff]^_0xfbaf7f[_0x2dee23&0xff]^_0x98eb63[_0x2719b8++],_0x7db2a3=_0x4843ec[_0x228830>>>0x18]^_0x4e9627[_0x3bae6d>>>0x10&0xff]^_0xf079e[_0x2dee23>>>0x8&0xff]^_0xfbaf7f[_0x30e0be&0xff]^_0x98eb63[_0x2719b8++];_0x3bae6d=_0x4a2f54,_0x2dee23=_0x32267e,_0x30e0be=_0x52e1b2,_0x228830=_0x7db2a3;}var _0x4a2f54=(_0x3178ed[_0x3bae6d>>>0x18]<<0x18|_0x3178ed[_0x2dee23>>>0x10&0xff]<<0x10|_0x3178ed[_0x30e0be>>>0x8&0xff]<<0x8|_0x3178ed[_0x228830&0xff])^_0x98eb63[_0x2719b8++],_0x32267e=(_0x3178ed[_0x2dee23>>>0x18]<<0x18|_0x3178ed[_0x30e0be>>>0x10&0xff]<<0x10|_0x3178ed[_0x228830>>>0x8&0xff]<<0x8|_0x3178ed[_0x3bae6d&0xff])^_0x98eb63[_0x2719b8++],_0x52e1b2=(_0x3178ed[_0x30e0be>>>0x18]<<0x18|_0x3178ed[_0x228830>>>0x10&0xff]<<0x10|_0x3178ed[_0x3bae6d>>>0x8&0xff]<<0x8|_0x3178ed[_0x2dee23&0xff])^_0x98eb63[_0x2719b8++],_0x7db2a3=(_0x3178ed[_0x228830>>>0x18]<<0x18|_0x3178ed[_0x3bae6d>>>0x10&0xff]<<0x10|_0x3178ed[_0x2dee23>>>0x8&0xff]<<0x8|_0x3178ed[_0x30e0be&0xff])^_0x98eb63[_0x2719b8++];_0x217ae6[_0x247e5a]=_0x4a2f54,_0x217ae6[_0x247e5a+0x1]=_0x32267e,_0x217ae6[_0x247e5a+0x2]=_0x52e1b2,_0x217ae6[_0x247e5a+0x3]=_0x7db2a3;},'keySize':0x100/0x20});_0x229ee7[_0x2b908b(0x467)]=_0x324590[_0x2b908b(0x46d)](_0x16fc86);}()),_0x5984bf[_0x2e1c6d(0x467)];}));}(We)),We['exports'];}var tr=er();const ir=ke(tr);var nr=Ai();function _0x484f(){var _0x36e06f=['_createHmacHelper','emitEvent','cmd','_onOffline','encryptBlock','_invKeySchedule','dispose','2002287ciGUTQ','CONFLICT','function','_snapshotServerService','Latin1','isArray','authzUrl','randomUUID','_socket$','session.room-cnt-exceeds','CHANGESET_REJ','_http','\x0aAfter:\x20','_createSocket','catch','pluginName','_createHandler','_iKey','title','/unit/','createInstance','DEFAULT_FILE_NAME','ERROR_IMAGE_TYPE','create','CHANGESET_REVISION_CONFILICT','JOIN_ROOM_NOT_EXISTS','csRejEvent','_applyRemoteChangeset','joinEvent','result','complete','_onMessage','submit\x20changeset\x20error!','createEncryptor','toggleOnline','selections','length','_clearCollaborationTimeoutTimer','open$','x-univer-host','getTargetByPermissionId','_eventService','OTHER_CLIENT_EDITING','saveSnapshot','application/json','getCurrentUser','getValue','_roomMembers','update','[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.','deepClone','auth.needGotoLoginAlert','_lockTransition','SNAPSHOT_HAS_BEEN_REMOVED','_state','_onUserLeave','getAllMembers','requestParams','fetch_missing','AES','pending','extend','?size=','_collaborationUIEventService','_permissionService','_createHelper','_doProcessBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformIME','_removeRoom','_sendingTimer','_unlockTransition','_scheduleCollaborationTimeoutTimer','error$','finalize','mixIn','updatePermissionPoint','_resendTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PERMISSION_REJ','_transformSelections','waitForRoom$','[CollaborationSessionService]','UnitEmbedded','socket$','_nRounds','origin','__esModule','getCurrentRevOfUnit','TOO_MANY_REQUESTS','{fileID}','collaborators','fetchMissingChangesets','_showConflictNotification','_checkMissing','_authzIoService','state','_process','rng','OpenSSL','_pendingMutations','max','isPermissionRej','_getDownloadEndpointURL','init','\x20in\x20_schedule.','NoPadding','_onJoinRoomEvent','COLLAB_WEB_SOCKET_URL','rev','reqId','_userManagerService','[OfflineState]:\x20received\x20changeset.','unitId','_onCombEvent','getCurrentUnitForType','_hash','_emitMembers','_initRequestHeader','splice','Base64','_onRemoteRejected','_waitCount','reverse','shouldCloseConn','_syncEditingCollabCursor','\x0aCurrent:\x20','close$','now','_oKey','unsubscribe','c2Prime','_timeoutTimer','getRandomValues','transformUndoRedo','UNAUTHENTICATED','symbol','avatar','closeSession','onCommandExecuted','_toggleOnline','_getCurrentRevision','SerializableCipher','JOIN','exports','event$','every','downloadEndpointUrl','_clearScheduledTask','ruleRefresh','_sessionStatus$','newCsEvent','charCodeAt','_unitID','_transformStack','LIVESHARE_REQUEST_HOST','startsWith','reject','online$','get','[CollaborationSessionService]:\x20socket\x20error','INGEST','stopTime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERSON','responseType','Decryptor','_collaborationTimeoutTimer','search','objectActions','NEW_CHANGESETS','_initUnitPermissionChange','append','members$','ALREADY_EXISTS','onRemoteChangeset','JOINING','_collabSessionService','_localeService','_networkConditionService','collabSubmitChangesetUrl','FileId','_doReset','_submitChangeset','ciphertext','transformStack\x20failed!','onTransformRemoteChangesetByIMECache','CBC','_replaceFileID','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','incrementRevOfUnit','1123926IDDhhz','compose','getSheetBlock','APPLY_REJECT','_config','_commentUpdate$','_substituteUndoStack','min','getOwnPropertyDescriptor','_event$','entityInit$','CHANGESET_ACK','MSG_FOR_ERROR','confirm','_socketReady','Undefined','saveChangeset','\x20to\x20','size','charAt','textRanges','entries','c1Prime','clone','wsSessionTicketUrl','execute','HEARTBEAT','_reverseMap','_getUploadFileURL','status','getMember','UNIVER_DOC','UNISCRIPT_RUN','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','[CollaborationEntity]','_retryCount','[PendingState]:\x20received\x20acknowledgement.','withCredentials','then','BASE64','UNKNOWN_CODE','pad','\x20-\x20','Error\x20on\x20receiving\x20event','_loadDoc','url','_exhaustRemoteChangesetQueue','_transformRemoteChangesetByStateCache','USERS_ENTER','COMMENT_UPDATE','_imageSourceCache','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','updateMember','CHANGESET_SHOULD_RETRY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','GLOBAL_ROOMS_CNT_EXCEEDS','collaboratorID','snapshotServerUrl','_map','__creator','onTransformRemoteChangesetByStateCache','csShouldRetryEvent','FETCH_MISSING','HMAC','PERMISSION_DENIED','UNKNOWN_CMD','batchAllowed','getResourcesRequest','Base','values','indexOf','updatePermissionObjEvent','delete','/resources','OTHER_CLIENTS_EDITING','_collaborationPaused','state$','transformSelections','YUUMI_UNABLE_LOAD_URL','getSnapshotAPIPath','roles','_socketService','toString','Utf8','awaiting_with_pending','workbook','commentUpdate$','unitID','resend','_doCryptBlock','Hasher','routeKey','_hasher','getTime','revision','_change$','location','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','hasOwnProperty','_schedule','addHandlerCallback','SUBMIT_CHANGESET_TIMEOUT','BlockCipher','$super','find','_sendHeartbeat','decrypt','_parse','_snapshotService','_getSignURL','_entityInit$','toLowerCase','EvpKDF','unpad','_tryEnsureSocket','YUUMI_RATE_OVER_LIMIT','onTransformState','_handlerCallback','clear','HmacSHA1','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','snapshot','conflict','onRemoteRej','collabWebSocketUrl','string','HttpImport','SOCKET_FAILED','algo','unknown','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryInfo','onRemoteRetry','findIndex','LIVESHARE_NEW_HOST','Pkcs7','fetchMiss','&assign=','HELLO','_sendHeartbeatTimer','objectID','_init','UPDATE_PERMISSION_OBJ','LICENSE_MAX_UNITS_EXCEEDED','Univer','YUUMI_SUBSCRIPTION_NOT_FOUND','_append','call','_sheetTransformSelectionsService','_clearUndo','change$','onCommentUpdate','_mode','collaMsg','_keyPriorReset','_data','stringify','session','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','setWaitCount','SYNCED','loadSheet','objectType','AUTHZ_URL_KEY','_onRemoteRetry','_unitInfo$','USERS_LEAVE','enableOfflineEditing','_undoRedoService','add','FETCH_MISS','Encryptor','signUrlServerUrl','_transformIMECache','UNIVER_PROJECT','executeCommand','_keySchedule','data','_getCtorByUniverType','save\x20fail\x20reason\x20is\x20','Workbook','retryConnectingInterval','_getUndoStack','forEach','href','telemetry\x20info\x20is\x20not\x20initialized','_transitionLocked','StreamCipher','_onConnectionFailed','target','_substituteRedoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','INTERNAL_ERROR','/universer-api/comb','focused$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateStatus','onlyLocal','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOffline','_getRedoStack','changesets','encodeURIComponent','includes','_instanceService','[FetchMissState]','_awaitingChangeset','clamp','onStarting','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/oidc/authpage','onSendChangeset','NOT_FOUND','originalMeta','actions','_transformService','abs','MD5','setCurrentUser','getUnitOnRev','getInterceptPoints','_status$','readInt32LE','UUID','PSEUDO_FETCH_MISSING_RESULT','APPLY_DUPLICATED','slice','_decreaseWaiting','allowed','_initDependencies','JOIN_ROOM_FULL','_onUserJoin','_acknowledgedAwaitingChangeset','getCollabEntity$','setShowComponents','onMissingChangesets','getImageSourceCache','filter','_getSendChangesetTimeout','univer-pro.collaboration-client.single-active-unit-service','list','sid','PasswordBasedCipher','_initMergeInterceptor','_rescheduleHeartbeat','APPLY_REVISION_CONFILICT','collaboration-client.config','kdf','APPLY_PERMISSION_DENIED','[CollaborationState]:\x20apply\x20error!','_updateState','error','loginUrlKey','_clearTimeoutTimer','refreshPermission','join','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20rejection.','mutations','[CollaborationUndoRedoService]','2575886spvIzX','subType','WordArray','SNAPSHOT_URL_KEY','crypto','UNIVER_SHEET','HttpExport','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_waitForHeartbeatResponse','_configService','_registerDependencies','_collaborationSessionService','dispose$','concat','762276lbQNqM','byteLength','m2Prime','keySize','infoRsp','members','onLocalMutation','fetchThroughInterceptors','action','clearUndoRedo','_loadSheet','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveImage','cfg','_members$','&source=','_shouldReportTelemetry','listRoles','LIVESHARE_TERMINATE','_getAPIPrefix','AWAITING_WITH_PENDING','/universer-api/authz','image/jpg','override','apply','has','getUnit','_stopTelemetryCollaborationNewChangeset','_onFetchMissResult','_fetchMissChangesets','sheets','BufferedBlockAlgorithm','_compressMutationService','_nDataBytes','objects','/rev/','/object/','csAckEvent','requireSession','memberID','permissionRejEvent','getTypeOfUnitDisposed$','baseRev','roomInfos','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','offline','/block/','getMemberID','copyFileMeta','value','HEARTBEAT_TIMEOUT','_disableEditing','_onRecvEvent','LIVESHARE_FETCH_OPERATIONS','image/png','17061327UhpvnA','HEARTBEAT_INTERVAL','getUnitType','_sessions','uniscriptRunEvent','NO_OTHER_CLIENTS_EDITING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','UNDEFINED','src','/universer-api/snapshot','_ENC_XFORM_MODE','sessionStatus$','HmacMD5','close','_initCloseConn','univer-pro.collaboration-client-socket-service','_clearLocalCache','getImage','_logService','mode','/allowed','_prevBlock','liveShareOperation','loadOfflineData','COMPRESS_MUTATION_APPLY','enc','duration','_cipher','_createSocketURL','padding','status$','FAIL','transformChangesets','UNIVER_SLIDE','RECV','message$','_executeRemoteChangeset','_singleActiveUnitService','ONLINE','_key','asObservable','CONNECTOR_DATA_TOO_LARGE','reconnect','resourceIDs','loadDoc','Malformed\x20UTF-8\x20data','encrypt','/universer-api/uniscript','socket\x20close','UPDATE_CURSOR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','awaitingChangeset','random','userID','not_collab','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_PERMISSION_DENIED','/universer-api/user/session-ticket','/fetchmissing?from=','getLatestCsReqIdBySid','_onConnectionOpen','CipherParams','UNRECOGNIZED','_queuedRemoteChangesets','awaiting','_onConflict','fetching\x20missing\x20changesets\x20from\x20','LICENSE_IMPORT_SIZE_EXCEEDED','unit-cache-','_socket','_listenToNetworkCondition','_clearRedo','name','ERROR_EXCEED_SIZE','connection\x20error','repeat','failed\x20to\x20apply\x20missed\x20changesets!','_changesetSessionId','getUnitId','8aSntvo','leaveEvent','/role','SUBMIT_CHANGESET','_state$','_onRemoteACK','hasher','_updateLocalCache','SelectRange','pipe','_resendTimeout','_toggleOffline','initWorkbookPermissionChange','synced','substr','_commentService','registerHTTPInterceptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','reset','MUTATION','onSyncEditingCollabCursor','_onRemoteChangeset','sigBytes','unitInfo$','readyForCollab','onStateChange','[DataLoaderService]','/universer-api/file/{fileID}/sign-url','SHA1','_localCacheService','disposeWithMe','saveSheetBlock','[CollaborationSession]','/universer-api/stream/file/upload','_injector','next','Worksheet','70jUGLEm','bind','compute','push','floor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','AWAITING','BlockCipherMode','loadUnit','createSocket','8758610IeAJBH','_throwTelemetryCollaborationNewChangeset','from','JOIN_ROOM_FAILED','_clearHeartbeatTimer','deleteCollaborator','localCacheService','getConfig','sin','_roomCreated$','_xformMode','socket\x20open.','_memberService','words','_getAPIPrefixPath','LICENSE_DISTRO_REJECTED','_remoteChangesetQueue','_members','method','_commandService','LOCAL_CACHE_INTERVAL','hostname','getCollabEntity','_DEC_XFORM_MODE','defineProperty','appendMutation','LICENSE_EXPORT_SIZE_EXCEEDED','send','interceptor','encode','session.join-failed','COMPRESS_MUTATION_SEND','LEAVE','addImageSourceCache','subject','default','_transformStateCache','_socketMessageSubscription','_tryReconnect','_sender','/collaborator','_handler','univer-pro.collaboration-client.network-condition.service','getUnitStatus$','session.room-full','_iv','image/bmp','_univerInstanceService','_onLocalMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_httpService','decryptBlock','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','byteOffset','Hex','format','_revisionService','subscribe','_candidateSocket','_transformRemoteChangesetByIMECache','set','startTime','ws://127.0.0.1:8000/universer-api/comb/connect','_createInitialState','json','msCrypto','_doFinalize','IDLE','onTransformSelections','YUUMI_URL_COL_OUT_OF_RANGE','post','removeMember','SNAPSHOT_SERVER_URL_KEY','liveShareNewHost','POST','ceil','onMissedChangesetFetched','subUnitId','salt','lib','runId','SHOULD_CLOSE_CONN','params','collaboration-client.local-cache-service','getFocusedUnit','blockSize','randomBytes','getDeserializedSheetBlock','_resendWithTimeout','reduce','_type','PENDING','prototype','ivSize','joinRsp','body','transformMutationsWithChangeset','CLOSE_ROOM','getCurrentSelections','_isPermissionRej','_startTelemetryCollaborationNewChangeset','debug','_telemetryService','type','_undoStacks','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','eventID','localeService','_replayCachedMutations','_entities','SEND_CHANGESET_TIMEOUT','_retryConnectingTimer','getRoom','RETRY_CONNECTING_MAX_COUNT','4240552uUVmoi','parse','onRemoteAck','_incrementRevisionNumber','socketService','map','_HTTPService','OFFLINE','_changesetReqId','code','[OfflineState]:\x20received\x20acknowledgement.','ERROR_IMAGE','_startCollaboration','fromCharCode','image/jpeg','getTypeOfUnitAdded$','INVALID_ARGUMENT','put'];_0x484f=function(){return _0x36e06f;};return _0x484f();}const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x3817ac(0x1a6)],hi;function rr(){var _0x217e37=_0x3817ac;return hi||(hi=0x1,function(_0x5793e3,_0x41d2ec){(function(_0x12e744,_0x4b41fe){var _0x5ec13d=_0x7017;_0x5793e3[_0x5ec13d(0x1a6)]=_0x4b41fe(ne());}(sr,function(_0xa801dd){var _0x101cf9=_0x7017;return _0xa801dd[_0x101cf9(0x33b)][_0x101cf9(0x22b)];}));}(Ze)),Ze[_0x217e37(0x1a6)];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe[_0x3817ac(0x1a6)],_i;function hr(){var _0x29534e=_0x3817ac;return _i||(_i=0x1,function(_0x4cf020,_0x2599ac){(function(_0x1db022,_0x20fa72){var _0x5cccb0=_0x7017;_0x4cf020[_0x5cccb0(0x1a6)]=_0x20fa72(ne());}(cr,function(_0x14e1e9){var _0xeb05df=_0x7017;return(function(){var _0xbf41b4=_0x7017;if(typeof ArrayBuffer==_0xbf41b4(0x42e)){var _0x3d7cdc=_0x14e1e9,_0x372345=_0x3d7cdc['lib'],_0x51e2cb=_0x372345[_0xbf41b4(0x2de)],_0x41dac9=_0x51e2cb[_0xbf41b4(0x494)],_0x2f9561=_0x51e2cb[_0xbf41b4(0x494)]=function(_0x20641c){var _0x531621=_0xbf41b4;if(_0x20641c instanceof ArrayBuffer&&(_0x20641c=new Uint8Array(_0x20641c)),(_0x20641c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20641c instanceof Uint8ClampedArray||_0x20641c instanceof Int16Array||_0x20641c instanceof Uint16Array||_0x20641c instanceof Int32Array||_0x20641c instanceof Uint32Array||_0x20641c instanceof Float32Array||_0x20641c instanceof Float64Array)&&(_0x20641c=new Uint8Array(_0x20641c['buffer'],_0x20641c[_0x531621(0x3d6)],_0x20641c['byteLength'])),_0x20641c instanceof Uint8Array){for(var _0x1e7013=_0x20641c[_0x531621(0x2eb)],_0x469624=[],_0x403e8a=0x0;_0x403e8a<_0x1e7013;_0x403e8a++)_0x469624[_0x403e8a>>>0x2]|=_0x20641c[_0x403e8a]<<0x18-_0x403e8a%0x4*0x8;_0x41dac9[_0x531621(0x26b)](this,_0x469624,_0x1e7013);}else _0x41dac9[_0x531621(0x302)](this,arguments);};_0x2f9561[_0xbf41b4(0x3fd)]=_0x51e2cb;}}()),_0x14e1e9[_0xeb05df(0x3f0)][_0xeb05df(0x2de)];}));}(Qe)),Qe[_0x29534e(0x1a6)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et[_0x3817ac(0x1a6)],li;function dr(){return li||(li=0x1,function(_0x77f156,_0x3a9ac9){(function(_0x47635f,_0x12c7b8,_0x5eb0e4){var _0x252809=_0x7017;_0x77f156[_0x252809(0x1a6)]=_0x12c7b8(ne(),Li());}(ur,function(_0x29f30f){var _0xd6752a=_0x7017;return _0x29f30f[_0xd6752a(0x201)][_0xd6752a(0x496)]={'pad':function(){},'unpad':function(){}},_0x29f30f[_0xd6752a(0x201)][_0xd6752a(0x496)];}));}(et)),et['exports'];}var fr=dr();const vr=ke(fr);function pr(_0x1b10b1,_0x997162){var _0x5db4a6=_0x3817ac;const _0x5a7f56=_0x997162-_0x1b10b1[_0x5db4a6(0x450)]%_0x997162,_0x1d1894=String[_0x5db4a6(0x420)](_0x5a7f56)[_0x5db4a6(0x36d)](_0x5a7f56);return _0x1b10b1+_0x1d1894;}function mr(_0x29854d,_0x4a0f3a){var _0x5485f9=_0x3817ac;const _0x27d720=lr[_0x5485f9(0x356)](0x10),_0x18796f=pr(_0x29854d,0x10),_0x120e6f=ir[_0x5485f9(0x350)](ar['parse'](_0x18796f),ci[_0x5485f9(0x414)](_0x4a0f3a),{'iv':_0x27d720,'padding':vr});return _0x27d720[_0x5485f9(0x2e9)](_0x120e6f[_0x5485f9(0x1ce)])['toString'](ci);}function gr(){var _0x3f3856=_0x3817ac;const _0x44ac86=_0x13e641()['__Key__'];if(_0x44ac86){const _0x30c52a={'time':Math[_0x3f3856(0x39a)](Date[_0x3f3856(0x4ac)]()/0x3e8),'domain':location[_0x3f3856(0x3b5)]};return mr(JSON[_0x3f3856(0x274)](_0x30c52a),_0x44ac86);}}var Sr=Object['defineProperty'],Er=Object['getOwnPropertyDescriptor'],Ir=(_0x313acb,_0x7f241e,_0x89500a,_0x302b28)=>{var _0x1abee4=_0x3817ac;for(var _0x5d6d91=_0x302b28>0x1?void 0x0:_0x302b28?Er(_0x7f241e,_0x89500a):_0x7f241e,_0x16d9fd=_0x313acb[_0x1abee4(0x450)]-0x1,_0x5177b2;_0x16d9fd>=0x0;_0x16d9fd--)(_0x5177b2=_0x313acb[_0x16d9fd])&&(_0x5d6d91=(_0x302b28?_0x5177b2(_0x7f241e,_0x89500a,_0x5d6d91):_0x5177b2(_0x5d6d91))||_0x5d6d91);return _0x302b28&&_0x5d6d91&&Sr(_0x7f241e,_0x89500a,_0x5d6d91),_0x5d6d91;},Tr=(_0x478019,_0x29631b)=>(_0x4f3a16,_0x1e0ae7)=>_0x29631b(_0x4f3a16,_0x1e0ae7,_0x478019);let at=class{constructor(_0x27c3e7){var _0x8753c7=_0x3817ac;this[_0x8753c7(0x3d2)]=_0x27c3e7,this[_0x8753c7(0x4a2)]();}[_0x3817ac(0x4a2)](){var _0x37ef49=_0x3817ac;this['_httpService'][_0x37ef49(0x381)]({'interceptor':(_0x4ed34a,_0x230901)=>{var _0x58b8f2=_0x37ef49;const _0x116235=_0x4ed34a[_0x58b8f2(0x1d5)],_0x2bd293=gr();return _0x2bd293&&_0x116235['set'](_0x58b8f2(0x453),_0x2bd293),_0x230901(_0x4ed34a);}});}};at=Ir([Tr(0x0,_0x880ce4(_0x157352))],at);var Cr=Object[_0x3817ac(0x3b8)],br=Object[_0x3817ac(0x1df)],Rr=(_0x429956,_0x3b525a,_0x390bf1,_0xb8a676)=>{var _0x4685c6=_0x3817ac;for(var _0x17946c=_0xb8a676>0x1?void 0x0:_0xb8a676?br(_0x3b525a,_0x390bf1):_0x3b525a,_0x52ec05=_0x429956[_0x4685c6(0x450)]-0x1,_0x3789b0;_0x52ec05>=0x0;_0x52ec05--)(_0x3789b0=_0x429956[_0x52ec05])&&(_0x17946c=(_0xb8a676?_0x3789b0(_0x3b525a,_0x390bf1,_0x17946c):_0x3789b0(_0x17946c))||_0x17946c);return _0xb8a676&&_0x17946c&&Cr(_0x3b525a,_0x390bf1,_0x17946c),_0x17946c;},gt=(_0x12d27f,_0x56dad9)=>(_0x3f3942,_0x295429)=>_0x56dad9(_0x3f3942,_0x295429,_0x12d27f);let Ot=class extends _0x9c8dcc{constructor(_0x4dcb0e,_0x9cc4c,_0xe2d5e6){var _0x2e6158=_0x3817ac;super(),P(this,_0x2e6158(0x27d),new _0x576e29(null)),P(this,_0x2e6158(0x388),this[_0x2e6158(0x27d)]['asObservable']()),(this['_logService']=_0x4dcb0e,this[_0x2e6158(0x244)]=_0x9cc4c,this[_0x2e6158(0x38e)]=_0xe2d5e6);}async[_0x3817ac(0x39e)](_0x717901,_0x3c5650,_0x17593e){var _0x5c60a8=_0x3817ac;this[_0x5c60a8(0x27d)][_0x5c60a8(0x394)]({'unitId':_0x717901,'type':_0x3c5650,'subUnitId':_0x17593e});let _0x194d00=null;switch(_0x3c5650){case Q['UNIVER_SHEET']:{_0x194d00=await this['_loadSheet'](_0x717901);break;}case Q['UNIVER_DOC']:{_0x194d00=await this[_0x5c60a8(0x204)](_0x717901);break;}default:{this[_0x5c60a8(0x334)][_0x5c60a8(0x2d3)](_0x5c60a8(0x38b),_0x5c60a8(0x46f));break;}}return _0x194d00;}async[_0x3817ac(0x2f4)](_0x10b82e){var _0x45f098=_0x3817ac,_0x20904b;let _0x229457=0x0;const _0x30c6bb=await((_0x20904b=this['_localCacheService'])==null?void 0x0:_0x20904b[_0x45f098(0x339)](_0x10b82e));return _0x30c6bb&&(_0x30c6bb[_0x45f098(0x355)]||_0x30c6bb[_0x45f098(0x2da)][_0x45f098(0x450)]!==0x0)&&(_0x229457=_0x30c6bb[_0x45f098(0x499)]),_0x229457===0x0&&this[_0x45f098(0x334)][_0x45f098(0x406)](_0x45f098(0x38b),_0x45f098(0x40a)),this[_0x45f098(0x244)][_0x45f098(0x279)](_0x10b82e,_0x229457);}async[_0x3817ac(0x204)](_0x3025a9){var _0x1b808d=_0x3817ac,_0x2b06a0;let _0x197dca=0x0;const _0x390250=await((_0x2b06a0=this['_localCacheService'])==null?void 0x0:_0x2b06a0[_0x1b808d(0x339)](_0x3025a9));return _0x390250&&(_0x390250['awaitingChangeset']||_0x390250[_0x1b808d(0x2da)][_0x1b808d(0x450)]!==0x0)&&(_0x197dca=_0x390250[_0x1b808d(0x499)]),_0x197dca===0x0&&this[_0x1b808d(0x334)][_0x1b808d(0x406)](_0x1b808d(0x38b),_0x1b808d(0x40a)),this['_snapshotService'][_0x1b808d(0x34e)](_0x3025a9,_0x197dca);}};Ot=Rr([gt(0x0,_0x3b11ba),gt(0x1,_0x880ce4(_0x1b376d)),gt(0x2,_0x1d2db0(X))],Ot);var yr=Object[_0x3817ac(0x3b8)],Or=Object['getOwnPropertyDescriptor'],Nr=(_0x5a8117,_0xa576e6,_0x4855e8,_0x55ccf6)=>{for(var _0x3eb6e5=_0x55ccf6>0x1?void 0x0:_0x55ccf6?Or(_0xa576e6,_0x4855e8):_0xa576e6,_0x903a7f=_0x5a8117['length']-0x1,_0x19f961;_0x903a7f>=0x0;_0x903a7f--)(_0x19f961=_0x5a8117[_0x903a7f])&&(_0x3eb6e5=(_0x55ccf6?_0x19f961(_0xa576e6,_0x4855e8,_0x3eb6e5):_0x19f961(_0x3eb6e5))||_0x3eb6e5);return _0x55ccf6&&_0x3eb6e5&&yr(_0xa576e6,_0x4855e8,_0x3eb6e5),_0x3eb6e5;},St=(_0x433531,_0x11193e)=>(_0x5ba52f,_0x83f688)=>_0x11193e(_0x5ba52f,_0x83f688,_0x433531);const Pr=[_0x3817ac(0x320),_0x3817ac(0x421),_0x3817ac(0x300),'image/gif',_0x3817ac(0x3ce)],Dr=0x5*0x400*0x400,wr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ur=_0x3817ac(0x392),Ar=_0x3817ac(0x2e3),xr=_0x3817ac(0x38c);let Nt=class{constructor(_0x1d5451,_0x50830c,_0x42c831){var _0x11d5f3=_0x3817ac;P(this,_0x11d5f3(0x4a6),0x0),P(this,_0x11d5f3(0x237),new _0x560c85()),P(this,_0x11d5f3(0x26e),this[_0x11d5f3(0x237)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1d5451,this['_configService']=_0x50830c,this[_0x11d5f3(0x3cf)]=_0x42c831);}[_0x3817ac(0x277)](_0x561151){var _0x2b2fca=_0x3817ac;this['_waitCount']=_0x561151,this[_0x2b2fca(0x237)]['next'](_0x561151);}[_0x3817ac(0x2c4)](_0x1c8599,_0x39a217){var _0x302425=_0x3817ac;if(_0x39a217===_0xbb2960[_0x302425(0x1ff)]){const _0x263a0d=new Image();return _0x263a0d[_0x302425(0x32a)]=_0x1c8599,_0x263a0d;}return this[_0x302425(0x20a)][_0x302425(0x1b5)](_0x1c8599);}[_0x3817ac(0x3c1)](_0x2e5f3b,_0x260799,_0x19b285){var _0x529956=_0x3817ac;_0x260799===_0xbb2960[_0x529956(0x1ff)]||_0x19b285==null||this['_imageSourceCache'][_0x529956(0x3dd)](_0x2e5f3b,_0x19b285);}async[_0x3817ac(0x333)](_0x2f68c1){var _0x321b24=_0x3817ac;try{const _0x109020=this['_replaceFileID'](this[_0x321b24(0x245)](),''+_0x2f68c1),_0x7a379b=(await this[_0x321b24(0x3d2)][_0x321b24(0x1b5)](_0x109020))[_0x321b24(0x400)];if(_0x7a379b[_0x321b24(0x2d3)]&&_0x7a379b[_0x321b24(0x2d3)][_0x321b24(0x41c)]===Ci['OK']){const _0xbcf5e7=new URL(_0x7a379b[_0x321b24(0x205)],this[_0x321b24(0x493)]())['toString']();return Promise['resolve'](_0xbcf5e7);}return Promise['reject'](_0x7a379b['error']);}catch(_0x132cc0){return Promise[_0x321b24(0x1b3)](_0x132cc0);}}async[_0x3817ac(0x2f6)](_0x43e2fc){var _0x10e952=_0x3817ac;let _0x41e3b7='';if(!Pr[_0x10e952(0x2a3)](_0x43e2fc[_0x10e952(0x408)]))return this[_0x10e952(0x2bb)](),Promise['reject'](new Error(_0xff6d54[_0x10e952(0x442)]));if(_0x43e2fc[_0x10e952(0x1e9)]>Dr)return this[_0x10e952(0x2bb)](),Promise[_0x10e952(0x1b3)](new Error(_0xff6d54[_0x10e952(0x36b)]));try{const _0x417190=new FormData();_0x417190[_0x10e952(0x1c2)]('file',_0x43e2fc);const _0x395416=this[_0x10e952(0x3cf)][_0x10e952(0x3f5)](),_0xd34214=_0x395416==null?void 0x0:_0x395416['getUnitId']();if(!_0xd34214)throw new Error('unitId\x20is\x20not\x20found');const _0x5a38b0=this[_0x10e952(0x1f3)]()+_0x10e952(0x46a)+_0x43e2fc['size'][_0x10e952(0x22a)]()+_0x10e952(0x2f9)+bi['UnitEmbedded']+_0x10e952(0x261)+encodeURIComponent(_0xd34214),_0x31caff=await(await fetch(_0x5a38b0,{'method':'POST','body':_0x417190}))[_0x10e952(0x3e1)]();if(typeof _0x31caff[_0x10e952(0x1cb)]!='string')return this[_0x10e952(0x2bb)](),Promise[_0x10e952(0x1b3)](new Error(_0xff6d54[_0x10e952(0x41e)]));_0x41e3b7=_0x31caff[_0x10e952(0x1cb)];}catch{return this[_0x10e952(0x2bb)](),Promise['reject'](new Error(_0xff6d54[_0x10e952(0x41e)]));}return new Promise((_0x144104,_0x178426)=>{const _0x91da0d=new FileReader();_0x91da0d['readAsDataURL'](_0x43e2fc),_0x91da0d['onload']=_0x23a18a=>{var _0x2ca5a9=_0x7017,_0x26a7aa;const _0x5741c6=(_0x26a7aa=_0x23a18a[_0x2ca5a9(0x295)])==null?void 0x0:_0x26a7aa[_0x2ca5a9(0x449)];if(_0x5741c6==null){this[_0x2ca5a9(0x2bb)](),_0x178426(new Error(_0xff6d54['ERROR_IMAGE']));return;}const _0x56d271=_0x19a3c3['generateRandomId'](0x6);_0x144104({'imageId':_0x56d271,'imageSourceType':_0xbb2960[_0x2ca5a9(0x2b7)],'source':_0x41e3b7,'base64Cache':_0x5741c6,'status':_0xff6d54['SUCCUSS']}),this[_0x2ca5a9(0x2bb)]();};});}['_getUploadFileURL'](){var _0x3a241a=_0x3817ac,_0x33918d,_0x1b3af0;const _0x19772f=this[_0x3a241a(0x2e5)][_0x3a241a(0x3a7)](wr),_0x3d50bf=this['_configService']['getConfig'](Y);return(_0x1b3af0=(_0x33918d=_0x3d50bf==null?void 0x0:_0x3d50bf['uploadFileServerUrl'])!=null?_0x33918d:_0x19772f)!=null?_0x1b3af0:Ur;}[_0x3817ac(0x245)](){var _0x2614bc=_0x3817ac,_0x67e2f4,_0x2fb7b2;const _0x11d983=this['_configService'][_0x2614bc(0x3a7)](Ar),_0x12b036=this[_0x2614bc(0x2e5)][_0x2614bc(0x3a7)](Y);return(_0x2fb7b2=(_0x67e2f4=_0x12b036==null?void 0x0:_0x12b036[_0x2614bc(0x284)])!=null?_0x67e2f4:_0x11d983)!=null?_0x2fb7b2:xr;}['_getDownloadEndpointURL'](){var _0xe732b3=_0x3817ac,_0x1a8265;const _0x40d70b=this[_0xe732b3(0x2e5)]['getConfig'](Y);return(_0x1a8265=_0x40d70b==null?void 0x0:_0x40d70b[_0xe732b3(0x1a9)])!=null?_0x1a8265:location[_0xe732b3(0x482)];}[_0x3817ac(0x1d2)](_0x491a69,_0x31cc5a){var _0x228e10=_0x3817ac;return _0x491a69['replace'](_0x228e10(0x486),_0x31cc5a);}[_0x3817ac(0x2bb)](){var _0x119a4a=_0x3817ac;this['_waitCount']-=0x1,this[_0x119a4a(0x237)]['next'](this[_0x119a4a(0x4a6)]);}};Nt=Nr([St(0x0,_0x880ce4(_0x157352)),St(0x1,_0x268506),St(0x2,_0x880ce4(_0x369bbf))],Nt);var Lr=Object[_0x3817ac(0x3b8)],Mr=Object[_0x3817ac(0x1df)],$r=(_0x5b9600,_0x17397c,_0x2d2d80,_0x31dfe6)=>{var _0x5e5c73=_0x3817ac;for(var _0x28d75f=_0x31dfe6>0x1?void 0x0:_0x31dfe6?Mr(_0x17397c,_0x2d2d80):_0x17397c,_0x5e14f2=_0x5b9600[_0x5e5c73(0x450)]-0x1,_0x26b6dd;_0x5e14f2>=0x0;_0x5e14f2--)(_0x26b6dd=_0x5b9600[_0x5e14f2])&&(_0x28d75f=(_0x31dfe6?_0x26b6dd(_0x17397c,_0x2d2d80,_0x28d75f):_0x26b6dd(_0x28d75f))||_0x28d75f);return _0x31dfe6&&_0x28d75f&&Lr(_0x17397c,_0x2d2d80,_0x28d75f),_0x28d75f;},ui=(_0xef092d,_0x2889a3)=>(_0x2a77e1,_0x12f289)=>_0x2889a3(_0x2a77e1,_0x12f289,_0xef092d);const Hr=_0x3817ac(0x2ff);let Pt=class{constructor(_0x3c6fa9,_0x5339de){var _0x49623e=_0x3817ac;this['_configService']=_0x3c6fa9,this[_0x49623e(0x419)]=_0x5339de;}[_0x3817ac(0x3ae)](){var _0x9efcfb=_0x3817ac,_0x454c6a,_0x125315;const _0x2df453=this[_0x9efcfb(0x2e5)]['getConfig'](Ui),_0x3e7a56=this['_configService'][_0x9efcfb(0x3a7)](Y);return(_0x125315=(_0x454c6a=_0x3e7a56==null?void 0x0:_0x3e7a56[_0x9efcfb(0x432)])!=null?_0x454c6a:_0x2df453)!=null?_0x125315:Hr;}async[_0x3817ac(0x2c8)](_0x29458c){var _0x524260=_0x3817ac;const _0x593bff=this['_getAPIPrefixPath']()+_0x524260(0x3c8);return{'list':[{'title':'People','mentions':(await this[_0x524260(0x419)]['get'](_0x593bff,{'params':{'objectID':_0x29458c['unitId'],'unitID':_0x29458c[_0x524260(0x49d)]}}))[_0x524260(0x400)][_0x524260(0x487)][_0x524260(0x418)](_0x4d606e=>({'objectId':_0x4d606e['id'],'name':_0x4d606e[_0x524260(0x3c2)][_0x524260(0x36a)],'metadata':{'icon':_0x4d606e[_0x524260(0x3c2)][_0x524260(0x19f)]},'label':_0x4d606e[_0x524260(0x3c2)]['name'],'objectType':_0x54eafb[_0x524260(0x1ba)]})),'metadata':{},'type':_0x54eafb['PERSON']}]};}};Pt=$r([ui(0x0,_0x880ce4(_0x268506)),ui(0x1,_0x880ce4(_0x157352))],Pt);var kr=Object[_0x3817ac(0x3b8)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x13a70d,_0x5dc4ca,_0x16a194,_0xa40009)=>{for(var _0x2e3e36=_0xa40009>0x1?void 0x0:_0xa40009?jr(_0x5dc4ca,_0x16a194):_0x5dc4ca,_0x14d5e8=_0x13a70d['length']-0x1,_0x4f70ec;_0x14d5e8>=0x0;_0x14d5e8--)(_0x4f70ec=_0x13a70d[_0x14d5e8])&&(_0x2e3e36=(_0xa40009?_0x4f70ec(_0x5dc4ca,_0x16a194,_0x2e3e36):_0x4f70ec(_0x2e3e36))||_0x2e3e36);return _0xa40009&&_0x2e3e36&&kr(_0x5dc4ca,_0x16a194,_0x2e3e36),_0x2e3e36;},Se=(_0x2fcb40,_0x2c33c1)=>(_0xa97604,_0x4b7964)=>_0x2c33c1(_0xa97604,_0x4b7964,_0x2fcb40);let ct=class extends _0x9c8dcc{constructor(_0x430aec,_0x15dfdf,_0x2e60f6,_0x4b913a,_0x4aa417,_0x14c8bc,_0x15903b){var _0x594551=_0x3817ac;super(),this[_0x594551(0x393)]=_0x430aec,this[_0x594551(0x3cf)]=_0x15dfdf,this[_0x594551(0x46c)]=_0x2e60f6,this[_0x594551(0x2e7)]=_0x4b913a,this[_0x594551(0x46b)]=_0x4aa417,this['_authzIoService']=_0x14c8bc,this[_0x594551(0x280)]=_0x15903b,this[_0x594551(0x1c1)](),this[_0x594551(0x330)]();}['_initCloseConn'](){var _0x40b978=_0x3817ac;const _0x13940c=async _0x36f645=>{var _0x599107=_0x7017;(await this[_0x599107(0x2e7)][_0x599107(0x310)](_0x36f645))[_0x599107(0x1a7)][_0x599107(0x37a)](_0x1b785d(_0x2af1b0=>_0x2af1b0[_0x599107(0x40b)]===_0x48cdf6[_0x599107(0x3f2)]),_0x22e3d2(this[_0x599107(0x2e8)]))[_0x599107(0x3da)](_0x45dc97=>{var _0x3f2cce=_0x599107;const _0x4b264e=_0x45dc97,{reason:_0x3ec87c}=_0x4b264e[_0x3f2cce(0x289)];this[_0x3f2cce(0x46b)][_0x3f2cce(0x426)]({'id':re[_0x3f2cce(0x402)],'data':_0x3ec87c}),this['_permissionService']['updatePermissionPoint'](new _0x1fa601(_0x36f645)['id'],!0x1),this[_0x3f2cce(0x2e7)][_0x3f2cce(0x1a0)](_0x36f645);});};_0x30e992(this[_0x40b978(0x3cf)][_0x40b978(0x422)](_0x1f11e9['UNIVER_SHEET']),this[_0x40b978(0x3cf)]['getTypeOfUnitAdded$'](_0x1f11e9[_0x40b978(0x1f6)]))[_0x40b978(0x37a)](_0x24684d(_0x274c3a=>_0x274c3a['getUnitId']()),_0x1b785d(_0x2caa78=>!_0x4417ac(_0x2caa78)),_0x22e3d2(this['dispose$']))[_0x40b978(0x3da)](_0x13bf02=>{_0x13940c(_0x13bf02);});}[_0x3817ac(0x1c1)](){var _0x28939e=_0x3817ac;const _0x1eb52f=async _0x15a4a7=>{var _0x3b0d38=_0x7017;(await this[_0x3b0d38(0x2e7)]['requireSession'](_0x15a4a7))['event$'][_0x3b0d38(0x37a)](_0x1b785d(_0xc7a389=>_0xc7a389[_0x3b0d38(0x40b)]===_0x48cdf6[_0x3b0d38(0x266)]),_0x22e3d2(this[_0x3b0d38(0x2e8)]))[_0x3b0d38(0x3da)](_0x5e7ec2=>{var _0x344b6a=_0x3b0d38;const _0x10d69a=_0x5e7ec2,{objectId:_0x163570}=_0x10d69a[_0x344b6a(0x289)];_0x163570===_0x15a4a7?this[_0x344b6a(0x37d)](_0x15a4a7):this[_0x344b6a(0x2d6)](_0x15a4a7,_0x163570);});};_0x30e992(this[_0x28939e(0x3cf)][_0x28939e(0x422)](_0x1f11e9[_0x28939e(0x2e1)]),this[_0x28939e(0x3cf)][_0x28939e(0x422)](_0x1f11e9[_0x28939e(0x1f6)]))[_0x28939e(0x37a)](_0x24684d(_0x2d9646=>_0x2d9646['getUnitId']()),_0x1b785d(_0x144016=>!_0x4417ac(_0x144016)),_0x22e3d2(this[_0x28939e(0x2e8)]))[_0x28939e(0x3da)](_0x181f4d=>{_0x1eb52f(_0x181f4d);});}async[_0x3817ac(0x37d)](_0x2c2acb){var _0x4ecb1b=_0x3817ac,_0x73bbd0;const _0xd7fd8c=_0x2c2acb||((_0x73bbd0=this[_0x4ecb1b(0x3cf)][_0x4ecb1b(0x49f)](_0x1f11e9[_0x4ecb1b(0x2e1)]))==null?void 0x0:_0x73bbd0[_0x4ecb1b(0x370)]());_0xd7fd8c&&this[_0x4ecb1b(0x48b)][_0x4ecb1b(0x2bc)]({'objectID':_0xd7fd8c,'objectType':_0x4dfcaf[_0x4ecb1b(0x28c)],'unitID':_0xd7fd8c,'actions':_0x541e5e})[_0x4ecb1b(0x1fe)](_0x4ba848=>{var _0x4f1340=_0x4ecb1b;_0x4d802e()[_0x4f1340(0x28f)](_0x23b582=>{var _0x26b0c6=_0x4f1340;const _0x28e22f=new _0x23b582(_0xd7fd8c),_0x234314=_0x28e22f[_0x26b0c6(0x2dd)],_0x1300a2=_0x4ba848[_0x26b0c6(0x240)](_0x1cf68a=>_0x1cf68a[_0x26b0c6(0x2f2)]===_0x234314);_0x1300a2&&this[_0x26b0c6(0x46c)][_0x26b0c6(0x478)](_0x28e22f['id'],_0x1300a2[_0x26b0c6(0x2bc)]);});});}['refreshPermission'](_0x320076,_0xf6ef2a){var _0x21908b=_0x3817ac;const _0x50d7c7=this[_0x21908b(0x393)]['get'](_0x36a6e8),_0x3bde8e=_0x50d7c7[_0x21908b(0x454)](_0x320076,_0xf6ef2a);let _0x5157e1=!0x1;if(_0x3bde8e){const [_0x4c9ecf,_0x60261c]=_0x3bde8e;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf['Worksheet'],'actions':_0x400bf2})[_0x21908b(0x1fe)](_0x1505ad=>{var _0x5a717c=_0x21908b;let _0x1bd177='';_0x11f5cd()[_0x5a717c(0x28f)](_0x41510d=>{var _0x2b20ae=_0x5a717c,_0x254f7d;const _0x53987f=new _0x41510d(_0x320076,_0x60261c),_0x447385=_0x53987f[_0x2b20ae(0x2dd)],_0x56ac45=_0x1505ad['find'](_0x18da0b=>_0x18da0b['action']===_0x447385);_0x56ac45&&(((_0x254f7d=this['_permissionService']['getPermissionPoint'](_0x53987f['id']))==null?void 0x0:_0x254f7d[_0x2b20ae(0x31b)])!==_0x56ac45[_0x2b20ae(0x2bc)]&&(_0x5157e1=!0x0),this['_permissionService'][_0x2b20ae(0x478)](_0x53987f['id'],_0x56ac45['allowed']),_0x1bd177+=_0x56ac45['action']+'_'+_0x56ac45['allowed']);}),_0x50d7c7[_0x5a717c(0x1ab)](_0xf6ef2a+'_'+_0x1bd177),_0x5157e1&&this[_0x5a717c(0x280)][_0x5a717c(0x2f3)](_0x320076);});}const _0x406af4=this['_injector'][_0x21908b(0x1b5)](_0x2bf8b1)[_0x21908b(0x454)](_0x320076,_0xf6ef2a);if(_0x406af4){const [_0x142ff8,_0x4fc402]=_0x406af4;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf[_0x21908b(0x395)],'actions':_0x425cad})[_0x21908b(0x1fe)](_0x486a02=>{var _0x52afce=_0x21908b;_0x425436()[_0x52afce(0x28f)](_0x1139e8=>{var _0x1031e3=_0x52afce,_0x5d1870;const _0x4adb4d=new _0x1139e8(_0x320076,_0x4fc402),_0xfa99aa=_0x4adb4d['subType'],_0x1ab66b=_0x486a02[_0x1031e3(0x240)](_0x5bf793=>_0x5bf793[_0x1031e3(0x2f2)]===_0xfa99aa);_0x1ab66b&&(((_0x5d1870=this[_0x1031e3(0x46c)]['getPermissionPoint'](_0x4adb4d['id']))==null?void 0x0:_0x5d1870[_0x1031e3(0x31b)])!==_0x1ab66b[_0x1031e3(0x2bc)]&&(_0x5157e1=!0x0),this[_0x1031e3(0x46c)][_0x1031e3(0x478)](_0x4adb4d['id'],_0x1ab66b[_0x1031e3(0x2bc)]));}),_0x5157e1&&this['_undoRedoService'][_0x52afce(0x2f3)](_0x320076);});}const _0x4f4d94=this[_0x21908b(0x393)]['get'](_0x25606f),_0x512d22=_0x4f4d94[_0x21908b(0x454)](_0x320076,_0xf6ef2a);if(_0x512d22){const [_0x50a046,_0x2e8a58]=_0x512d22;this[_0x21908b(0x48b)][_0x21908b(0x2bc)]({'objectID':_0xf6ef2a,'unitID':_0x320076,'objectType':_0x4dfcaf[_0x21908b(0x379)],'actions':_0x400bf2})[_0x21908b(0x1fe)](_0x319354=>{var _0x57ad32=_0x21908b;let _0x3f0eb1='';_0x3831c2()[_0x57ad32(0x28f)](_0x1f72d3=>{var _0x5d37ee=_0x57ad32,_0x100633;const _0x19f921=new _0x1f72d3(_0x320076,_0x2e8a58,_0xf6ef2a),_0x42e649=_0x19f921[_0x5d37ee(0x2dd)],_0x99fa15=_0x319354[_0x5d37ee(0x240)](_0x1e18e2=>_0x1e18e2[_0x5d37ee(0x2f2)]===_0x42e649);_0x99fa15&&(((_0x100633=this['_permissionService']['getPermissionPoint'](_0x19f921['id']))==null?void 0x0:_0x100633[_0x5d37ee(0x31b)])!==_0x99fa15[_0x5d37ee(0x2bc)]&&(_0x5157e1=!0x0),this[_0x5d37ee(0x46c)][_0x5d37ee(0x478)](_0x19f921['id'],_0x99fa15[_0x5d37ee(0x2bc)]),_0x3f0eb1+=_0x99fa15[_0x5d37ee(0x2f2)]+'_'+_0x99fa15[_0x5d37ee(0x2bc)]);}),_0x4f4d94[_0x57ad32(0x1ab)](_0xf6ef2a+'_'+_0x3f0eb1),_0x5157e1&&this[_0x57ad32(0x280)]['clearUndoRedo'](_0x320076);});}}};ct=Br([Se(0x0,_0x880ce4(_0x28aed1)),Se(0x1,_0x369bbf),Se(0x2,_0x3310d6),Se(0x3,_0x880ce4(Le)),Se(0x4,_0x880ce4(pe)),Se(0x5,_0x400bc0),Se(0x6,_0x43dc49)],ct);var Fr=Object['defineProperty'],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x5dd17d,_0x4513ea,_0x574059,_0x514120)=>{for(var _0x5db22a=_0x514120>0x1?void 0x0:_0x514120?Vr(_0x4513ea,_0x574059):_0x4513ea,_0x5cbb6a=_0x5dd17d['length']-0x1,_0x2e562b;_0x5cbb6a>=0x0;_0x5cbb6a--)(_0x2e562b=_0x5dd17d[_0x5cbb6a])&&(_0x5db22a=(_0x514120?_0x2e562b(_0x4513ea,_0x574059,_0x5db22a):_0x2e562b(_0x5db22a))||_0x5db22a);return _0x514120&&_0x5db22a&&Fr(_0x4513ea,_0x574059,_0x5db22a),_0x5db22a;},di=(_0x4ef241,_0x32b857)=>(_0x20605e,_0x5aa0ca)=>_0x32b857(_0x20605e,_0x5aa0ca,_0x4ef241);let Dt=class{constructor(_0x355e3e,_0x3aee7b){var _0x6abff6=_0x3817ac;this[_0x6abff6(0x2e5)]=_0x355e3e,this['_httpService']=_0x3aee7b;}async[_0x3817ac(0x2b3)](_0x3a654a,_0x38d20a){var _0x176642=_0x3817ac,_0x5e367c;const {unitID:_0x34cd01,type:_0x12c06c,revision:_0x3ca9da=0x0}=_0x38d20a,_0x352eed=this[_0x176642(0x227)]()+'/'+_0x12c06c+_0x176642(0x43f)+_0x34cd01+_0x176642(0x30d)+_0x3ca9da,_0x55f71d=(await this[_0x176642(0x3d2)]['get'](_0x352eed))[_0x176642(0x400)],_0x2a58b8=(_0x5e367c=_0x55f71d[_0x176642(0x251)])==null?void 0x0:_0x5e367c[_0x176642(0x22d)];if(_0x2a58b8){const _0xc7a402=_0x2a58b8==null?void 0x0:_0x2a58b8[_0x176642(0x2ad)],_0x58e640=_0x5cb200[_0x176642(0x3bd)](_0x4b2c2e(_0xc7a402));_0x2a58b8['originalMeta']=_0x58e640,Object[_0x176642(0x1ec)](_0x2a58b8[_0x176642(0x308)])[_0x176642(0x28f)](([,_0x3387fd])=>{var _0x230f6c=_0x176642;const _0x2f6914=_0x3387fd[_0x230f6c(0x2ad)],_0x213ed7=_0x5cb200[_0x230f6c(0x3bd)](_0x4b2c2e(_0x2f6914));_0x3387fd[_0x230f6c(0x2ad)]=_0x213ed7;});}return _0x55f71d;}async[_0x3817ac(0x1d9)](_0xaa21bd,_0xa1c140){var _0x460557=_0x3817ac;const {unitID:_0x8fc73d,type:_0x299231,blockID:_0x384970}=_0xa1c140,_0x4e4a57=this[_0x460557(0x2fd)]()+'/'+_0x299231+_0x460557(0x43f)+_0x8fc73d+_0x460557(0x318)+_0x384970;return(await this[_0x460557(0x3d2)][_0x460557(0x1b5)](_0x4e4a57))[_0x460557(0x400)];}async[_0x3817ac(0x3f8)](_0x31da38,_0x4f73a5){var _0x21cc54=_0x3817ac;const {unitID:_0x215bed,type:_0x16905b,blockID:_0x2b9ef6}=_0x4f73a5,_0x358f16=this[_0x21cc54(0x2fd)]()+'/block/'+_0x16905b+_0x21cc54(0x43f)+_0x215bed+_0x21cc54(0x318)+_0x2b9ef6;return(await this[_0x21cc54(0x3d2)]['get'](_0x358f16))[_0x21cc54(0x400)];}async[_0x3817ac(0x488)](_0xd8e205,_0x587914){var _0x4e5ece=_0x3817ac;const {unitID:_0x15ee4e,type:_0x4da158,from:_0x363eb6,to:_0x4b9b94}=_0x587914,_0x438735=this['_getAPIPrefix']()+'/'+_0x4da158+_0x4e5ece(0x43f)+_0x15ee4e+_0x4e5ece(0x35c)+_0x363eb6+'&to='+_0x4b9b94;return(await this[_0x4e5ece(0x3d2)][_0x4e5ece(0x1b5)](_0x438735))[_0x4e5ece(0x400)];}[_0x3817ac(0x227)](){var _0x1639c0=_0x3817ac,_0x174c0d;return(_0x174c0d=this[_0x1639c0(0x2e5)][_0x1639c0(0x3a7)](Un))!=null?_0x174c0d:this[_0x1639c0(0x2fd)]();}[_0x3817ac(0x2fd)](){var _0x3c64aa=_0x3817ac,_0x5f34f5,_0x2be8ae;const _0x48d04e=this['_configService'][_0x3c64aa(0x3a7)](Dn),_0x5c4305=this[_0x3c64aa(0x2e5)][_0x3c64aa(0x3a7)](Y);return(_0x2be8ae=(_0x5f34f5=_0x5c4305==null?void 0x0:_0x5c4305[_0x3c64aa(0x211)])!=null?_0x5f34f5:_0x48d04e)!=null?_0x2be8ae:wn;}async[_0x3817ac(0x21b)](_0x2793a2,_0x41ece3){var _0x5d684f=_0x3817ac;const _0x38587b='/universer-api/snapshot/'+_0x41ece3[_0x5d684f(0x408)]+'/unit/'+_0x41ece3[_0x5d684f(0x22f)]+_0x5d684f(0x221);return(await this[_0x5d684f(0x3d2)][_0x5d684f(0x1b5)](_0x38587b,{'params':{'resourceId':JSON[_0x5d684f(0x274)](_0x41ece3[_0x5d684f(0x34d)])}}))[_0x5d684f(0x400)];}[_0x3817ac(0x457)](){var _0x2f9a8f=_0x3817ac;throw new Error(_0x2f9a8f(0x327));}[_0x3817ac(0x390)](){var _0x7746a9=_0x3817ac;throw new Error(_0x7746a9(0x327));}[_0x3817ac(0x1e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3817ac(0x31a)](){var _0x58ce3c=_0x3817ac;throw new Error(_0x58ce3c(0x327));}[_0x3817ac(0x35d)](){var _0x3236bf=_0x3817ac;throw new Error(_0x3236bf(0x327));}};Dt=Wr([di(0x0,_0x268506),di(0x1,_0x880ce4(_0x157352))],Dt);var Gr=Object[_0x3817ac(0x3b8)],Kr=Object[_0x3817ac(0x1df)],zr=(_0x2b5d63,_0x283eed,_0x1a417d,_0x3b3c2a)=>{var _0xce2b0c=_0x3817ac;for(var _0x4d54a1=_0x3b3c2a>0x1?void 0x0:_0x3b3c2a?Kr(_0x283eed,_0x1a417d):_0x283eed,_0x12ee4d=_0x2b5d63[_0xce2b0c(0x450)]-0x1,_0x498f50;_0x12ee4d>=0x0;_0x12ee4d--)(_0x498f50=_0x2b5d63[_0x12ee4d])&&(_0x4d54a1=(_0x3b3c2a?_0x498f50(_0x283eed,_0x1a417d,_0x4d54a1):_0x498f50(_0x4d54a1))||_0x4d54a1);return _0x3b3c2a&&_0x4d54a1&&Gr(_0x283eed,_0x1a417d,_0x4d54a1),_0x4d54a1;},Ae=(_0x1b0b1e,_0x3e4847)=>(_0x782078,_0x40c085)=>_0x3e4847(_0x782078,_0x40c085,_0x1b0b1e);let wt=class extends _0x864ba1{constructor(_0x481b48,_0x171107,_0x488e71,_0x2c200a,_0x3df73a){var _0x5339b4=_0x3817ac;super(_0x481b48,_0x171107,_0x488e71),this[_0x5339b4(0x2af)]=_0x2c200a,this[_0x5339b4(0x334)]=_0x3df73a;}[_0x3817ac(0x19c)](_0x158a85,_0x418910){var _0x3adbbc=_0x3817ac;const _0x16b0ed=this[_0x3adbbc(0x28e)](_0x158a85);if(_0x16b0ed)try{const _0x457b38=this[_0x3adbbc(0x1b0)](_0x16b0ed,_0x418910);this[_0x3adbbc(0x1dd)](_0x158a85,_0x457b38);}catch(_0x2b501c){this[_0x3adbbc(0x334)][_0x3adbbc(0x2d3)]('[CollaborationUndoRedoService]',_0x2b501c),this['_clearUndo'](_0x158a85);}const _0x3e8bbf=this[_0x3adbbc(0x2a0)](_0x158a85);if(_0x3e8bbf)try{const _0x2ff70e=this['_transformStack'](_0x3e8bbf,_0x418910);this[_0x3adbbc(0x296)](_0x158a85,_0x2ff70e);}catch(_0x57afba){this[_0x3adbbc(0x334)][_0x3adbbc(0x2d3)](_0x57afba),this[_0x3adbbc(0x369)](_0x158a85);}}[_0x3817ac(0x26d)](_0x30ff1e){var _0x1858b5=_0x3817ac;const _0x1faae7=this['_getUndoStack'](_0x30ff1e);_0x1faae7&&(_0x1faae7[_0x1858b5(0x450)]=0x0,this[_0x1858b5(0x29c)]());}['_clearRedo'](_0x1ac5cb){var _0x5785c9=_0x3817ac;const _0xd8c79c=this['_getRedoStack'](_0x1ac5cb);_0xd8c79c&&(_0xd8c79c[_0x5785c9(0x450)]=0x0,this[_0x5785c9(0x29c)]());}[_0x3817ac(0x1dd)](_0x2b851f,_0x1b8b85){var _0x1354f2=_0x3817ac;this[_0x1354f2(0x409)][_0x1354f2(0x3dd)](_0x2b851f,_0x1b8b85),this[_0x1354f2(0x29c)]();}['_substituteRedoStack'](_0x56c720,_0x2dbed8){var _0x50eb07=_0x3817ac;this['_redoStacks'][_0x50eb07(0x3dd)](_0x56c720,_0x2dbed8),this[_0x50eb07(0x29c)]();}['_transformStack'](_0x4d6bca,_0x57ba9f){var _0x2ee34f=_0x3817ac;const _0x486b2d=[];let _0x4cfc73=_0x57ba9f,_0x2eb56e=_0x57ba9f;for(let _0x5ab621=_0x4d6bca[_0x2ee34f(0x450)]-0x1;_0x5ab621>=0x0;_0x5ab621--){const {unitID:_0x1b427e,undoMutations:_0x514035,redoMutations:_0x4a14be}=_0x4d6bca[_0x5ab621],_0x2a6d2a=this[_0x2ee34f(0x2af)]['transformMutationsWithChangeset'](_0x4cfc73,_0x514035),_0x40ccae=this[_0x2ee34f(0x2af)][_0x2ee34f(0x401)](_0x2eb56e,_0x4a14be);if(_0x389b7d(_0x2a6d2a)||_0x389b7d(_0x40ccae)){this[_0x2ee34f(0x334)]['error'](_0x2ee34f(0x2db),_0x2ee34f(0x1cf),_0x2a6d2a,_0x40ccae);break;}_0x4cfc73=_0x2a6d2a[_0x2ee34f(0x1ed)],_0x2eb56e=_0x40ccae['c1Prime'],_0x486b2d['push']({'unitID':_0x1b427e,'undoMutations':_0x2a6d2a['m2Prime'],'redoMutations':_0x40ccae[_0x2ee34f(0x2ec)]});}return _0x486b2d[_0x2ee34f(0x4a7)]();}};wt=zr([Ae(0x0,_0x369bbf),Ae(0x1,_0x5ee12b),Ae(0x2,_0x24222f),Ae(0x3,_0x5e4ebe),Ae(0x4,_0x3b11ba)],wt);var Mi=Object[_0x3817ac(0x3b8)],Yr=Object[_0x3817ac(0x1df)],qr=(_0x1a2010,_0x481211,_0x583490)=>_0x481211 in _0x1a2010?Mi(_0x1a2010,_0x481211,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583490}):_0x1a2010[_0x481211]=_0x583490,Jr=(_0x243b72,_0x1dab84,_0x5de3e2,_0x4885d0)=>{var _0x304ce3=_0x3817ac;for(var _0x1722ff=_0x4885d0>0x1?void 0x0:_0x4885d0?Yr(_0x1dab84,_0x5de3e2):_0x1dab84,_0x4e2818=_0x243b72[_0x304ce3(0x450)]-0x1,_0x2d27e8;_0x4e2818>=0x0;_0x4e2818--)(_0x2d27e8=_0x243b72[_0x4e2818])&&(_0x1722ff=(_0x4885d0?_0x2d27e8(_0x1dab84,_0x5de3e2,_0x1722ff):_0x2d27e8(_0x1722ff))||_0x1722ff);return _0x4885d0&&_0x1722ff&&Mi(_0x1dab84,_0x5de3e2,_0x1722ff),_0x1722ff;},Et=(_0x337b54,_0x20b2ea)=>(_0x1e85d8,_0x5b18ca)=>_0x20b2ea(_0x1e85d8,_0x5b18ca,_0x337b54),Xr=(_0x30573c,_0x30e221,_0x2ff176)=>qr(_0x30573c,_0x30e221+'',_0x2ff176);const Zr=_0x3817ac(0x297);let Ut=class extends _0x2968e0{constructor(_0x40ca2b=zt,_0x2a2c9b,_0x15727f,_0x351e8d){var _0x3f9072=_0x3817ac;super(),this[_0x3f9072(0x1db)]=_0x40ca2b,this['_logService']=_0x2a2c9b,this[_0x3f9072(0x393)]=_0x15727f,this[_0x3f9072(0x2e5)]=_0x351e8d;const {..._0x167419}=_0x2d506e({},zt,this[_0x3f9072(0x1db)]);this[_0x3f9072(0x2e5)]['setConfig'](Y,_0x167419);}[_0x3817ac(0x2a8)](){var _0x1d00eb=_0x3817ac;this[_0x1d00eb(0x2e6)](),this[_0x1d00eb(0x2bd)]();}[_0x3817ac(0x2e6)](){var _0x72f145=_0x3817ac,_0x315fe1,_0x1f22c3,_0x2bedeb,_0x304981;this['_injector'][_0x72f145(0x303)](_0x43dc49)&&this['_logService'][_0x72f145(0x2d3)]('[UniverCollaborationClientPlugin]',_0x72f145(0x3d1));const _0xe8e97d=_0x189fb3([[_0x43dc49,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x1f22c3=(_0x315fe1=this['_config'])==null?void 0x0:_0x315fe1[_0x72f145(0x417)])!=null?_0x1f22c3:It}],[_0x2e5790,{'useClass':Dt}],[_0x400bc0,{'useClass':yt}],[_0x5695e0,{'useClass':Nt}],[_0x2d119d,{'useClass':Pt}],[rt],[Rt]],(_0x2bedeb=this[_0x72f145(0x1db)])==null?void 0x0:_0x2bedeb[_0x72f145(0x301)]);if(!((_0x304981=this[_0x72f145(0x1db)])!=null&&_0x304981['enableSingleActiveInstanceLock'])){const _0x31cae7=_0xe8e97d[_0x72f145(0x25d)](([_0x70296])=>_0x70296===_t);_0x31cae7!==-0x1&&_0xe8e97d[_0x72f145(0x4a3)](_0x31cae7,0x1);}_0x16ef9f(this[_0x72f145(0x393)],_0xe8e97d);}[_0x3817ac(0x2bd)](){var _0x5afea1=_0x3817ac,_0x566ff0,_0x36487e,_0x47a6e3;this[_0x5afea1(0x393)]['get'](_0x157352)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3812a({'maxParallel':0x6})}),(_0x566ff0=this[_0x5afea1(0x1db)])!=null&&_0x566ff0[_0x5afea1(0x27f)]||(_0x36487e=this[_0x5afea1(0x393)][_0x5afea1(0x1b5)](X,_0x12cdfd['OPTIONAL']))==null||_0x36487e['disableLocalCache'](),(_0x47a6e3=this[_0x5afea1(0x1db)])!=null&&_0x47a6e3['enableAuthServer']&&_0x338f1b(this[_0x5afea1(0x393)],[[ot]]),_0x338f1b(this[_0x5afea1(0x393)],[[at],[rt],[ct]]);}};Xr(Ut,_0x3817ac(0x43b),Zr),Ut=Jr([_0x269592(_0x6570e7,_0x36a5db,_0x3afd6f),Et(0x1,_0x3b11ba),Et(0x2,_0x880ce4(_0x28aed1)),Et(0x3,_0x268506)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};
|
1
|
+
var _0xf95350=_0x4451;(function(_0x4f7ff3,_0x323c1d){var _0x2cef3d=_0x4451,_0x574da2=_0x4f7ff3();while(!![]){try{var _0x558b54=parseInt(_0x2cef3d(0x123))/0x1+parseInt(_0x2cef3d(0x253))/0x2+parseInt(_0x2cef3d(0x1f6))/0x3*(parseInt(_0x2cef3d(0x376))/0x4)+parseInt(_0x2cef3d(0xe9))/0x5*(-parseInt(_0x2cef3d(0x2ef))/0x6)+-parseInt(_0x2cef3d(0x26e))/0x7+parseInt(_0x2cef3d(0xf0))/0x8*(-parseInt(_0x2cef3d(0xb5))/0x9)+-parseInt(_0x2cef3d(0x20d))/0xa*(parseInt(_0x2cef3d(0x333))/0xb);if(_0x558b54===_0x323c1d)break;else _0x574da2['push'](_0x574da2['shift']());}catch(_0x4738b8){_0x574da2['push'](_0x574da2['shift']());}}}(_0x58d9,0x9dba4));var Li=Object[_0xf95350(0x35a)],Mi=(_0x52d0fb,_0x3f71b6,_0x30c284)=>_0x3f71b6 in _0x52d0fb?Li(_0x52d0fb,_0x3f71b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30c284}):_0x52d0fb[_0x3f71b6]=_0x30c284,N=(_0x3d8d4e,_0x3f3eeb,_0x5acbba)=>Mi(_0x3d8d4e,typeof _0x3f3eeb!=_0xf95350(0x1b4)?_0x3f3eeb+'':_0x3f3eeb,_0x5acbba);import{createIdentifier as _0x5f2d11,Inject as _0x1f377b,Injector as _0x459b1e,Disposable as _0x21c7f9,DisposableCollection as _0x144435,toDisposable as _0x6c04a6,IConfigService as _0x4ef789,ILogService as _0x2cd95e,UserManagerService as _0x476b93,UniverInstanceType as _0x4fe211,IUniverInstanceService as _0x4accb0,LocaleService as _0x3b591c,Optional as _0x36e3d4,RxDisposable as _0x426883,Tools as _0x324eba,Rectangle as _0x107aa5,ICommandService as _0x16ead5,JSONX as _0x34d239,CommandType as _0x368d91,IPermissionService as _0x193a1a,IUndoRedoService as _0x122feb,sequenceExecute as _0x4370f1,Workbook as _0x3569b1,MentionType as _0xa72733,IAuthzIoService as _0x3db02c,isInternalEditorID as _0x4b9cfa,LocalUndoRedoService as _0x4a8bd3,IContextService as _0x21a4dd,DependentOn as _0x296661,Plugin as _0x509d00,merge as _0x1c25ec,mergeOverrideWithDependencies as _0x467c59,IMentionIOService as _0x4c2436,registerDependencies as _0x463499,Quantity as _0x124bff,touchDependencies as _0x536f41}from'@univerjs/core';import{Subject as _0x1d9c1a,merge as _0x127445,of as _0x22b9ed,BehaviorSubject as _0x26dbcc,takeUntil as _0x30c8dd,ReplaySubject as _0x2eb1e0,take as _0x3b0b7e,map as _0xb6f026,shareReplay as _0x194fbd,firstValueFrom as _0x12dc12,concatMap as _0x17ba71}from'rxjs';import{map as _0x3dd616,take as _0x4f99c6,filter as _0x2ac5d0,delay as _0x2a4396,takeUntil as _0x4eb1e7}from'rxjs/operators';import{HTTPService as _0x1d95e4,ISocketService as _0x45d75e,MergeInterceptorFactory as _0x516ca5,HTTPRequest as _0x3dc882,UniverNetworkPlugin as _0x5b8d93,ThresholdInterceptorFactory as _0x39c3a7}from'@univerjs/network';import{CollaborationEvent as _0x15e414,parseChangesetToProtocol as _0x4bb802,ISnapshotServerService as _0x359a3a,isTransformMutationsWithChangesetSuccess as _0x5e1805,ITransformService as _0xd312f2,mapDocumentTypeToUniverType as _0x1bcb48,RevisionService as _0x3aeefc,isTransformChangesetsSuccess as _0x337292,CompressMutationService as _0x387e7e,parseProtocolChangeset as _0x36f3b5,SnapshotService as _0x3b76b2,textEncoder as _0x5547ea,b64DecodeUnicode as _0x25a9a5,isTransformMutationsWithChangesetFailure as _0x36809c,UniverCollaborationPlugin as _0x5db6f5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4c4a70}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x775ef5}from'@univerjs/docs';function _0x58d9(){var _0x26d285=['/fetchmissing?from=','APPLY_DUPLICATED','enc','eventID','resolve','awaiting','apply','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteACK','_getUndoStack','_keySchedule','session','SOCKET_FAILED','search','NEW_CHANGESETS','avatar','stopTime','RECV','LICENSE_IMPORT_SIZE_EXCEEDED','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','RETRY_CONNECTING_MAX_COUNT','toggleOffline','_getUploadFileURL','incrementRevOfUnit','_reverseMap','has','isArray','[PendingState]:\x20received\x20acknowledgement.','_acknowledgedAwaitingChangeset','[PendingState]:\x20received\x20rejection.','updateOfflineData','method','_transformStateCache','_doCryptBlock','_nDataBytes','LIVESHARE_NEW_HOST','getUnitId','save\x20fail\x20reason\x20is\x20','csShouldRetryEvent','retryConnectingInterval','application/json','pauseCollaboration','SHA1','_logService','YUUMI_SUBSCRIPTION_NOT_FOUND','onTransformState','/universer-api/snapshot/','closeSession','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socketService','_parse','_clearHeartbeatTimer','originalMeta','action','headers','/universer-api/authz','_map','reduce','_unlockTransition','_pendingMutations','clear','clamp','compose','baseRev','duration','[CollaborationEntity]','enableAuthServer','_state$','crypto','YUUMI_UNABLE_LOAD_URL','_incrementRevisionNumber','_startCollaboration','toggleOnline','IDLE','CONFLICT','_emitMembers','function','body','downloadEndpointUrl','_key','UPDATE_PERMISSION_OBJ','LOGIN_URL_KEY','_remoteChangesetQueue','/resources','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SLIDE','_iKey','editing\x20status\x20changed\x20to','COMPLETION_FINISHED','[SyncedState]:\x20received\x20acknowledgement.','onStarting','UPDATE_CURSOR','createSocket','COLLAB_WEB_SOCKET_URL','execute','conflict','readAsDataURL','HttpExport','/universer-api/file/{fileID}/sign-url','_transitionLocked','call','_handlerCallback','_changesetReqId','_status$','_submitChangeset','slice','reconnect','UNIVER_DOC','push','CONNECTOR_DATA_TOO_LARGE','[CollaborationSession]','_univerInstanceService','_commentService','wsSessionTicketUrl','SOCKET_FAILED_RETRY','_commandService','unsubscribe','saveSheetBlock','_networkConditionService','snapshotServerUrl','_hash','FileId','getSheetBlock','216abIOlk','UNIVER_UNKNOWN','onSyncEditingCollabCursor','_keyPriorReset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','capture','_imageSourceCache','subscribe','FAIL','_getCurrentRevision','next','ONLINE','getCurrentUser','_entityInit$','type','_injector','getFocusedUnit','startsWith','getRandomValues','default','decrypt','_lockTransition','[OfflineState]:\x20received\x20changeset.','_onConnectionOpen','getLatestCsReqIdBySid','_instanceService','executeCommand','_onMessage','pad','UNKNOWN_CODE','StreamCipher','copyFileMeta','src','OpenSSL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','entityInit$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendHeartbeat','_eventService','_transformStack','entries','onRemoteRetry','HmacSHA1','_sheetTransformSelectionsService','ERROR_EXCEED_SIZE','_removeRoom','_hasher','AWAITING_WITH_PENDING','USERS_LEAVE','onSendChangeset','HEARTBEAT_TIMEOUT','patch','APPLY_NON_SEQUENTIAL_REVISION','buffer','Base','UNDEFINED','_loadSheet','disableLocalCache','{fileID}','fromCharCode','APPLY_REJECT','error','size','_resendWithTimeout','JOIN_ROOM_FAILED','/-/object/list','getTypeOfUnitAdded$','HmacMD5','4039838gdRXpD','key','localeService','saveChangeset','finalize','_changesetSessionId','bind','waitForRoom$','UNISCRIPT_RUN','UnitEmbedded','subUnitId','memberID','registerHTTPInterceptor','_roomMembers','title','/new_changes','readyForCollab','_scheduleCollaborationTimeoutTimer','getUnitStatus$','_members','_type','/unit/','Base64','[SyncedState]:\x20received\x20rejection.','_clearCollaborationTimeoutTimer','CHANGESET_REVISION_CONFILICT','_awaitingChangeset','state$','_loadDoc','Malformed\x20UTF-8\x20data','cfg','getActiveSheet','_joinRoom','emitEvent','_onUserJoin','_transformRemoteChangesetByIMECache','_authzIoService','_compressMutationService','disposeWithMe','defineProperty','_getAPIPrefixPath','SHOULD_CLOSE_CONN','_config','_mode','_stopTelemetryCollaborationNewChangeset','_sendingTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','forEach','_waitCount','GLOBAL_ROOMS_CNT_EXCEEDS','LIVESHARE_FETCH_OPERATIONS','ENSURE_SNAPSHOT_EXECUTION','[DataLoaderService]','_members$','unitInfo$','_startTelemetryCollaborationNewChangeset','session.room-cnt-exceeds','_fetchMissChangesets','_socketMessageSubscription','_collaborationPaused','fetchMiss','_getSignURL','_timeoutTimer','_memberService','_createHandler','CBC','from','1474348nPFiJB','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','charCodeAt','_syncEditingCollabCursor','_schedule','&source=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','_applyRemoteChangeset','signUrlServerUrl','getSheetId','[CollaborationSessionService]:\x20socket\x20error','getSnapshotAPIPath','state','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','list','awaitingChangeset','objectType','WordArray','isPermissionRej','mixIn','_replayCachedMutations','/universer-api/user/session-ticket','randomBytes','PERMISSION_DENIED','online$','_snapshotService','LEAVE','_checkMissing','c2Prime','_onCombEvent','append','range','unknown','onTransformSelections','getCurrentSelections','_substituteUndoStack','\x20-\x20','_isPermissionRej','deleteCollaborator','params','pipe','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setShowComponents','[OfflineState]:\x20received\x20rejection.','_createHelper','?url=','_updateStatus','MSG_FOR_ERROR','fetch_missing','_sendHeartbeatTimer','max','_onConflict','blockSize','format','abs','algo','/block/','Could\x20not\x20dynamically\x20require\x20\x22','getTypeOfUnitDisposed$','_append','/universer-api/stream/file/upload','onLocalMutation','621QevlVD','LICENSE_DISTRO_REJECTED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','encode','_disableEditing','joinEvent','permissionRejEvent','subject','updatePermissionObjEvent','\x20in\x20_schedule.','map','error$','getUnitOnRev','infoRsp','searchParams','__creator','extend','ceil','findIndex','prototype','_clearLocalCache','close$','byteLength','NOT_FOUND','getImageSourceCache','_singleActiveUnitService','_ENC_XFORM_MODE','_redoStacks','Utf8','HttpImport','requestParams','_collaborationUIEventService','collaboration-client.local-cache-service','encodeURIComponent','debug','getMemberID','liveShareNewHost','UNIVER_SHEET','_onUserLeave','_updateLocalCache','runId','_clearRedo','_httpService','SerializableCipher','add','resend','_onJoinRoomEvent','_onRecvEvent','HEARTBEAT_INTERVAL','getCollabEntity$','LOCAL_CACHE_INTERVAL','_createSocket','35745wosHyi','reqId','target','_entities','DEFAULT_FILE_NAME','_telemetryInfo','result','53488ekgqiL','_handler','pluginName','LICENSE_MAX_UNITS_EXCEEDED','updateCursorEvent','Cipher','createInstance','_retryConnectingTimer','univer-pro.collaboration-client.network-condition.service','_substituteRedoStack','_createInitialState','changesets','updatePermissionPoint','cmd','_createHmacHelper','_permissionService','_socketReady','_doReset','_exhaustRemoteChangesetQueue','listCollaborators','ERROR_IMAGE','_sender','_state','sessionStatus$','addImageSourceCache','now','JOIN_ROOM_FULL','sid','name','_scheduleCompleteTimestamp','Decryptor','_getAPIPrefix','loadUnit','then','\x20to\x20','_cipher','_listenToNetworkCondition','JOIN_ROOM_NOT_EXISTS','/object','_initRequestHeader','failed\x20to\x20apply\x20missed\x20changesets!','createDecryptor','INVALID_ARGUMENT','close','transformMutationsWithChangeset','readInt32LE','_sessions','init','floor','c1Prime','onMissingChangesets','985907CQLayo','_nRounds','TOO_MANY_REQUESTS','APPLY_PERMISSION_DENIED','/collaborator','_waitForHeartbeatResponse','_updateState','_socketService','lib','ticket','[CollaborationSessionService]','univer-pro.collaboration-client-socket-service','_doFinalize','collaboration-client.config','length','_onLocalMutation','members','PENDING','includes','_onRemoteChangeset','socket\x20close','processBlock','_xformMode','INGEST','offline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_minBufferSize','collaborators','data','complete','SNAPSHOT_INVALID_SNAPSHOT','_socket','onRemoteChangeset','_candidateSocket','getCurrentRevOfUnit','PERMISSION_REJ','collabSubmitChangesetUrl','sheets','unitId','_transformUndoredo','UNAUTHENTICATED','Hasher','_unitInfo$','_undoRedoService','SNAPSHOT_HAS_BEEN_REMOVED','_onFetchMissResult','get','sessionTicket','collaMsg','collabWebSocketUrl','JOIN','_transformSelections','LIVESHARE_OPERATION','ALREADY_EXISTS','objectID','SEND_CHANGESET_TIMEOUT','_collaborationTimeoutTimer','_rescheduleHeartbeat','updateMember','loginUrlKey','_getCtorByUniverType','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SUCCUSS','actions','put','_sessionStatus$','Encryptor','ivSize','localCacheService','SNAPSHOT_SERVER_URL_KEY','$super','m2Prime','_transformService','APPLY_REVISION_CONFILICT','sessionStatus','onTransformRemoteChangesetByStateCache','_process','_snapshotServerService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','kdf','mode','_tryEnsureSocket','addHandlerCallback','toLowerCase','_toggleOffline','_initDependencies','hasOwnProperty','_getSessionTicket','origin','OPTIONAL','unitID','collaboration_new_changeset','transformChangesets','_telemetryService','filter','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_change$','workbook','JOIN_ROOM_PERMISSION_DENIED','BASE64','OFFLINE','_localeService','OTHER_CLIENTS_EDITING','onCommentUpdate','create','_createSocketURL','OTHER_CLIENT_EDITING','collaboratorID','LIVESHARE_REQUEST_HOST','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','UNRECOGNIZED','ciphertext','padding','_clearScheduledTask','_clearTimeoutTimer','AES','join','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_tryReconnect','uniscriptRunEvent','onTransformIME','_data','startTime','getValue','_localCacheService','location','_init','getRoom','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','parse','csAckEvent','byteOffset','snapshot','NOT_COLLAB','getConfig','_clearUndo','COMPRESS_MUTATION_SEND','keySize','/object/','_transformIMECache','SUBMIT_CHANGESET_TIMEOUT','exports','randomUUID','symbol','getOwnPropertyDescriptor','/role','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','refreshPermission','userID','_roomCreated$','open$','x-univer-host','joinRsp','_initCloseConn','reset','UNIVER_PROJECT','createCollaborator','decryptBlock','BufferedBlockAlgorithm','send','FETCH_MISSING','update','_collaborationSessionService','[UniverCollaborationClientPlugin]','_resendTimeout','rev','MD5','clone','_getSendChangesetTimeout','_getLoginPath','commentUpdateEvent','INTERNAL_ERROR','change$','authzUrl','HELLO','_replaceFileID','image/jpeg','image/png','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CHANGESET_SHOULD_RETRY','getInterceptPoints','substr','_createInitialStateImpl','COLLAB_SUBMIT_CHANGESET_URL','getMember','PasswordBasedCipher','BlockCipher','_revisionService','delete','__esModule','toString','_onConnectionFailed','Error\x20on\x20receiving\x20event','createEncryptor','sigBytes','univer-pro.collaboration-client.single-active-unit-service','_http','hostname','_HTTPService','encrypt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_resendTimer','_socket$','hasher','deepClone','stringify','_undoStacks','unpad','putCollaborators','6mVFSJK','json','connection\x20error','replace','_onRemoteRetry','appendMutation','onRemoteRej','status','values','onCommandExecuted','pending','status$','onTransformRemoteChangesetByIMECache','removeMember','_queuedRemoteChangesets','dispose$','asObservable','NO_OTHER_CLIENTS_EDITING','PERSON','[FetchMissState]','SUBMIT_CHANGESET','shouldCloseConn','textRanges','10uAkLke','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','interceptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COMPRESS_MUTATION_APPLY','onMissedChangesetFetched','JOINING','_configService','_unitID','CLOSE_ROOM','_retryCount','session.room-full','_event$','[CollaborationUndoRedoService]','transformStack\x20failed!','_onOffline','UnitSnapshot','getTime','random','catch','_prevBlock','_shouldReportTelemetry','transformUndoRedo','getUnit','NoPadding','_toggleOnline','submit\x20changeset\x20error!','csRejEvent','HMAC','_iv','/universer-api/oidc/authpage','getCollabEntity','selections','getResourcesRequest','synced','session.join-failed','_executeRemoteChangeset','transformSelections','_transformRemoteChangesetByStateCache','revision','EvpKDF','dispose','salt','listRoles','BlockCipherMode','_initMergeInterceptor','fetchThroughInterceptors','event$','Hex','splice','COMMENT_UPDATE','concat','USERS_ENTER','charAt','/-/object/-/batch_allowed','every','People','msCrypto','[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.','url','post','requireSession','code','words','_throwTelemetryCollaborationNewChangeset','_onRemoteRejected','?size=','members$','indexOf','1511646XhVFJZ','objectActions','fromCollab','YUUMI_URL_COL_OUT_OF_RANGE','onRemoteAck','session.room-not-exists','_initUnitPermissionChange','getUnitType','_oKey','HEARTBEAT','rng','roles','onload','AWAITING','MUTATION','_userManagerService','fetchMissingChangesets','_commentUpdate$','message$','_getDownloadEndpointURL','string','_decreaseWaiting','set','Undefined','loadOfflineData','POST','routeKey','5228272KEnrOU','UNKNOWN_CMD','reject','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_showConflictNotification'];_0x58d9=function(){return _0x26d285;};return _0x58d9();}import{SheetsSelectionsService as _0x232e9a,SetSelectionsOperation as _0x244d63,InsertSheetMutation as _0x4090d9,EmptyMutation as _0x27bacb,WorkbookEditablePermission as _0xf5ebb3,SheetPermissionInitController as _0xaa84b0,UniverSheetsPlugin as _0x5eafd8}from'@univerjs/sheets';import{ImageSourceType as _0x525dac,ImageUploadStatusType as _0x2252a1,IImageIoService as _0x14c982}from'@univerjs/drawing';import{getGlobalObject as _0x11d3a1}from'@univerjs-pro/license';const Ss=_0xf95350(0x169),Es='/universer-api/snapshot',Is='SNAPSHOT_URL_KEY',eo=_0xf95350(0x15a),Ts=0x7d0,Cs=_0xf95350(0x2d1),bs=_0xf95350(0x286),Rs=_0xf95350(0x38c),Os=_0xf95350(0xe5),ys=0x7530,Si=_0xf95350(0x321),Ei=0x4e20,Ns=0x4e20,Ds=_0xf95350(0x288),Ps=0x3,to=_0xf95350(0xe7),io=0x3e8,ws=_0xf95350(0x1dc),Us='/universer-api/comb',As=_0xf95350(0x2c5),xs=_0xf95350(0x22c),so=_0xf95350(0x1d7),ro='/universer-api/uniscript';var Ii=(_0x2465de=>(_0x2465de[_0x2465de[_0xf95350(0x326)]=0x0]=_0xf95350(0x326),_0x2465de[_0x2465de['OK']=0x1]='OK',_0x2465de[_0x2465de[_0xf95350(0x1d0)]=0x2]=_0xf95350(0x1d0),_0x2465de[_0x2465de['PERMISSION_DENIED']=0x3]=_0xf95350(0x38e),_0x2465de[_0x2465de[_0xf95350(0xcc)]=0x4]=_0xf95350(0xcc),_0x2465de[_0x2465de[_0xf95350(0x14b)]=0x5]='UNAUTHENTICATED',_0x2465de[_0x2465de[_0xf95350(0x158)]=0x6]=_0xf95350(0x158),_0x2465de[_0x2465de['INVALID_ARGUMENT']=0x7]=_0xf95350(0x11a),_0x2465de[_0x2465de['TOO_MANY_REQUESTS']=0x8]=_0xf95350(0x125),_0x2465de[_0x2465de[_0xf95350(0x2cc)]=0x9]=_0xf95350(0x2cc),_0x2465de[_0x2465de[_0xf95350(0x34c)]=0x1389]=_0xf95350(0x34c),_0x2465de[_0x2465de[_0xf95350(0x141)]=0x1771]=_0xf95350(0x141),_0x2465de[_0x2465de[_0xf95350(0x14f)]=0x1772]=_0xf95350(0x14f),_0x2465de[_0x2465de[_0xf95350(0x366)]=0x1773]=_0xf95350(0x366),_0x2465de[_0x2465de[_0xf95350(0x32b)]=0x1b59]='APPLY_REJECT',_0x2465de[_0x2465de[_0xf95350(0x323)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2465de[_0x2465de[_0xf95350(0x16d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2465de[_0x2465de[_0xf95350(0x126)]=0x1b5c]=_0xf95350(0x126),_0x2465de[_0x2465de['APPLY_DUPLICATED']=0x1b5d]=_0xf95350(0x274),_0x2465de[_0x2465de[_0xf95350(0x2e1)]=0x1f41]=_0xf95350(0x2e1),_0x2465de[_0x2465de[_0xf95350(0xf3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2465de[_0x2465de[_0xf95350(0x361)]=0x232a]=_0xf95350(0x361),_0x2465de[_0x2465de[_0xf95350(0x285)]=0x232b]=_0xf95350(0x285),_0x2465de[_0x2465de[_0xf95350(0x191)]=0x232c]=_0xf95350(0x191),_0x2465de[_0x2465de[_0xf95350(0xb6)]=0x232d]=_0xf95350(0xb6),_0x2465de[_0x2465de[_0xf95350(0x2b9)]=0x2711]=_0xf95350(0x2b9),_0x2465de[_0x2465de[_0xf95350(0x256)]=0x2712]=_0xf95350(0x256),_0x2465de[_0x2465de['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2465de[_0x2465de[_0xf95350(0x2a0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2465de[_0x2465de['UNRECOGNIZED']=-0x1]=_0xf95350(0x193),_0x2465de))(Ii||{}),Q=(_0x4c4052=>(_0x4c4052[_0x4c4052[_0xf95350(0x2f0)]=0x0]=_0xf95350(0x2f0),_0x4c4052[_0x4c4052['UNIVER_DOC']=0x1]=_0xf95350(0x2df),_0x4c4052[_0x4c4052[_0xf95350(0xda)]=0x2]=_0xf95350(0xda),_0x4c4052[_0x4c4052[_0xf95350(0x2c9)]=0x3]='UNIVER_SLIDE',_0x4c4052[_0x4c4052[_0xf95350(0x1c0)]=0x4]=_0xf95350(0x1c0),_0x4c4052[_0x4c4052['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4c4052))(Q||{}),F=(_0x128b2e=>(_0x128b2e[_0x128b2e[_0xf95350(0x26f)]=0x0]=_0xf95350(0x26f),_0x128b2e[_0x128b2e['HELLO']=0x1]=_0xf95350(0x1d3),_0x128b2e[_0x128b2e['JOIN']=0x2]=_0xf95350(0x155),_0x128b2e[_0x128b2e[_0xf95350(0x391)]=0x3]='LEAVE',_0x128b2e[_0x128b2e[_0xf95350(0x13a)]=0x4]=_0xf95350(0x13a),_0x128b2e[_0x128b2e['HEARTBEAT']=0x5]=_0xf95350(0x25c),_0x128b2e[_0x128b2e[_0xf95350(0x284)]=0x6]=_0xf95350(0x284),_0x128b2e[_0x128b2e[_0xf95350(0x193)]=-0x1]='UNRECOGNIZED',_0x128b2e))(F||{}),Ee=(_0x36b2d1=>(_0x36b2d1[_0x36b2d1[_0xf95350(0x30c)]=0x0]=_0xf95350(0x30c),_0x36b2d1[_0x36b2d1['OK']=0x1]='OK',_0x36b2d1[_0x36b2d1[_0xf95350(0x2f7)]=0x2]=_0xf95350(0x2f7),_0x36b2d1[_0x36b2d1[_0xf95350(0x10a)]=0x3e9]=_0xf95350(0x10a),_0x36b2d1[_0x36b2d1['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xf95350(0x115),_0x36b2d1[_0x36b2d1[_0xf95350(0x186)]=0x3eb]=_0xf95350(0x186),_0x36b2d1[_0x36b2d1[_0xf95350(0x364)]=0x3ec]=_0xf95350(0x364),_0x36b2d1[_0x36b2d1[_0xf95350(0x193)]=-0x1]=_0xf95350(0x193),_0x36b2d1))(Ee||{}),Ti=(_0x49b553=>(_0x49b553[_0x49b553[_0xf95350(0x26a)]=0x0]=_0xf95350(0x26a),_0x49b553[_0x49b553[_0xf95350(0xd2)]=0x1]=_0xf95350(0xd2),_0x49b553[_0x49b553[_0xf95350(0x2d5)]=0x2]=_0xf95350(0x2d5),_0x49b553[_0x49b553[_0xf95350(0x33c)]=0x3]=_0xf95350(0x33c),_0x49b553[_0x49b553[_0xf95350(0x21e)]=0x4]=_0xf95350(0x21e),_0x49b553[_0x49b553['UNRECOGNIZED']=-0x1]=_0xf95350(0x193),_0x49b553))(Ti||{});const q=_0xf95350(0x130),Wt={};var ne=(_0x3ce9cd=>(_0x3ce9cd[_0xf95350(0x18e)]=_0xf95350(0x18e),_0x3ce9cd[_0xf95350(0x38e)]=_0xf95350(0x38e),_0x3ce9cd[_0xf95350(0x2be)]=_0xf95350(0x2be),_0x3ce9cd['CLOSE_ROOM']=_0xf95350(0x217),_0x3ce9cd[_0xf95350(0x32f)]=_0xf95350(0x32f),_0x3ce9cd[_0xf95350(0x2e6)]=_0xf95350(0x2e6),_0x3ce9cd[_0xf95350(0x27f)]=_0xf95350(0x27f),_0x3ce9cd[_0xf95350(0x1b1)]=_0xf95350(0x1b1),_0x3ce9cd))(ne||{});class pe{constructor(){var _0xd07b40=_0xf95350;N(this,_0xd07b40(0x21a),new _0x1d9c1a()),N(this,_0xd07b40(0x23d),this[_0xd07b40(0x21a)]['asObservable']());}[_0xf95350(0x354)](_0x58e3a4){var _0xffb533=_0xf95350;this[_0xffb533(0x21a)][_0xffb533(0x2f9)](_0x58e3a4);}}const Ls=_0x5f2d11(_0xf95350(0xf8));function Ms(_0x5dfc16){var _0x2205f7=_0xf95350,_0x451ca3,_0x5150ea,_0x48c8df,_0x1c38ab,_0x38c0de;const _0x12644d=_0x5dfc16[_0x2205f7(0x13f)],_0x5ba246=JSON[_0x2205f7(0x1a6)](_0x12644d);switch(_0x5ba246['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0x298789=_0x5ba246[_0x2205f7(0xc2)];return{..._0x5ba246,'data':_0x298789,'cmd':_0x5ba246[_0x2205f7(0xfd)]};}case F['JOIN']:{const _0x48ab62=_0x5ba246[_0x2205f7(0x1bd)];return{..._0x5ba246,'data':_0x48ab62,'cmd':_0x5ba246[_0x2205f7(0xfd)]};}case F[_0x2205f7(0x284)]:{const _0x532a04=_0x5ba246[_0x2205f7(0x153)];switch(_0x532a04['eventID']){case _0x15e414['PERMISSION_REJ']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x451ca3=_0x532a04[_0x2205f7(0xbb)])==null?void 0x0:_0x451ca3['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x287)]:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x5150ea=_0x532a04[_0x2205f7(0x1a7)])==null?void 0x0:_0x5150ea['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['NEW_CHANGESETS']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x48c8df=_0x532a04['newCsEvent'])==null?void 0x0:_0x48c8df['cs']},'cmd':_0x5ba246['cmd']};case _0x15e414['CHANGESET_REJ']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x1c38ab=_0x532a04[_0x2205f7(0x229)])==null?void 0x0:_0x1c38ab['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x1d8)]:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x38c0de=_0x532a04[_0x2205f7(0x29a)])==null?void 0x0:_0x38c0de['cs']},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x2cf)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xf4)]},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x242)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xba)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['USERS_LEAVE']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04['leaveEvent']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x297)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xd9)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['LIVESHARE_FETCH_OPERATIONS']:case _0x15e414[_0x2205f7(0x157)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04['liveShareOperation']},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x37d)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xd9)]},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x3a6)]:return{..._0x5ba246,'data':_0x532a04,'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['COMMENT_UPDATE']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x1cf)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x2c4)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xbd)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x35c)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x20b)]},'cmd':_0x5ba246['cmd']};case _0x15e414['UNISCRIPT_RUN']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x19c)]},'cmd':_0x5ba246['cmd']};default:return _0x5ba246;}}default:return _0x5ba246;}}function $s(_0x48d2f8){var _0x32c82e=_0xf95350;switch(_0x48d2f8[_0x32c82e(0xfd)]){case F[_0x32c82e(0x25c)]:case F[_0x32c82e(0x1d3)]:return JSON[_0x32c82e(0x1f2)]({'cmd':_0x48d2f8[_0x32c82e(0xfd)],'routeKey':_0x48d2f8[_0x32c82e(0x26d)]});case F[_0x32c82e(0x13a)]:{let _0x3a96a6;switch(_0x48d2f8[_0x32c82e(0x13f)]['eventID']){case _0x15e414[_0x32c82e(0x2cf)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x2cf)],'updateCursorEvent':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414['USERS_LEAVE']:{_0x3a96a6={'eventID':_0x15e414['USERS_LEAVE'],'leaveEvent':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x242)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x242)],'joinEvent':_0x48d2f8['data'][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x297)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x297)],'liveShareNewHost':_0x48d2f8['data']['data']};break;}case _0x15e414[_0x32c82e(0x157)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x157)],'liveShareOperation':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x37d)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x37d)],'liveShareTerminate':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414['LIVESHARE_REQUEST_HOST']:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x190)],'liveShareRequestHost':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x365)]:{_0x3a96a6={'eventID':_0x15e414['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3a96a6={'eventID':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x276)]};}return JSON[_0x32c82e(0x1f2)]({'cmd':_0x48d2f8['cmd'],'routeKey':_0x48d2f8['routeKey'],'collaMsg':_0x3a96a6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x48d2f8[_0x32c82e(0xfd)],'routeKey':_0x48d2f8[_0x32c82e(0x26d)],'joinReq':_0x48d2f8[_0x32c82e(0x13f)]});case F[_0x32c82e(0x391)]:return JSON['stringify']({'cmd':_0x48d2f8['cmd'],'routeKey':_0x48d2f8[_0x32c82e(0x26d)],'leaveReq':_0x48d2f8[_0x32c82e(0x13f)]});default:throw new Error(_0x32c82e(0x271));}}var Hs=Object[_0xf95350(0x35a)],ks=Object[_0xf95350(0x1b5)],js=(_0x44e9b6,_0x55054,_0x35e27c,_0x16d3ac)=>{var _0x4fce28=_0xf95350;for(var _0x3ee349=_0x16d3ac>0x1?void 0x0:_0x16d3ac?ks(_0x55054,_0x35e27c):_0x55054,_0x14051c=_0x44e9b6[_0x4fce28(0x131)]-0x1,_0x13121c;_0x14051c>=0x0;_0x14051c--)(_0x13121c=_0x44e9b6[_0x14051c])&&(_0x3ee349=(_0x16d3ac?_0x13121c(_0x55054,_0x35e27c,_0x3ee349):_0x13121c(_0x3ee349))||_0x3ee349);return _0x16d3ac&&_0x3ee349&&Hs(_0x55054,_0x35e27c,_0x3ee349),_0x3ee349;},Ue=(_0xa87ac4,_0x45b5c7)=>(_0x580c2b,_0xf784a4)=>_0x45b5c7(_0x580c2b,_0xf784a4,_0xa87ac4);const Ci=_0x5f2d11(_0xf95350(0x12e));function Bs(_0x10a6c6,_0x46e453,_0x9c8cca){var _0x5416e9=_0xf95350;return _0x10a6c6+'/'+_0x46e453+_0x5416e9(0x348)+_0x9c8cca+_0x5416e9(0x342);}let Et=class extends _0x21c7f9{constructor(_0xb0976d,_0x18371c,_0x8cf5f1,_0x2e8b2a,_0x564bc3){var _0x2c6d7a=_0xf95350;super(),this[_0x2c6d7a(0x2fe)]=_0xb0976d,this[_0x2c6d7a(0x1e9)]=_0x18371c,this[_0x2c6d7a(0x215)]=_0x8cf5f1,this[_0x2c6d7a(0x29f)]=_0x2e8b2a,this['_snapshotServerService']=_0x564bc3;}['createSocket'](_0x10c564){var _0x49afcc=_0xf95350;const _0x54cc20=this['_injector'][_0x49afcc(0x151)](_0x45d75e);if(!_0x54cc20)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5eccef=_0x54cc20[_0x49afcc(0x2d0)](_0x10c564);if(!_0x5eccef)throw new Error(_0x49afcc(0x211));const _0xfc2a18=new _0x144435(),_0x469038=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef['close$'][_0x49afcc(0x2f6)](_0x36a9dd=>_0x469038[_0x49afcc(0x2f9)](_0x36a9dd))),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x469038[_0x49afcc(0x140)]()));const _0x1748aa=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef[_0x49afcc(0xc0)][_0x49afcc(0x2f6)](_0x32aa12=>_0x1748aa[_0x49afcc(0x2f9)](_0x32aa12))),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x1748aa[_0x49afcc(0x140)]()));const _0x238c21=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef[_0x49afcc(0x265)][_0x49afcc(0x2f6)](_0x521dfd=>{var _0x275f1f=_0x49afcc;const _0x566a04=Ms(_0x521dfd);_0x238c21[_0x275f1f(0x2f9)](_0x566a04);})),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x238c21[_0x49afcc(0x140)]()));let _0x23198a;const _0x493d1e=()=>{var _0x85ebbb=_0x49afcc;_0x1748aa[_0x85ebbb(0x2f9)](new Event(_0x85ebbb(0x1f8))),_0x469038[_0x85ebbb(0x2f9)](new CloseEvent('connection\x20error')),_0x23198a[_0x85ebbb(0x11b)]();};return _0x23198a={'memberID':'','close$':_0x469038[_0x49afcc(0x206)](),'error$':_0x1748aa['asObservable'](),'open$':_0x5eccef[_0x49afcc(0x1bb)],'message$':_0x238c21[_0x49afcc(0x206)](),'send':_0xdbebab=>{var _0x27e48c=_0x49afcc;if(_0xdbebab[_0x27e48c(0xfd)]===F[_0x27e48c(0x13a)]){if(_0xdbebab[_0x27e48c(0x13f)]['eventID']===_0x15e414[_0x27e48c(0x20a)]){this[_0x27e48c(0x2dc)](_0x23198a,_0xdbebab[_0x27e48c(0x13f)])['catch'](_0x21e5ca=>{var _0xbec722=_0x27e48c;this['_logService'][_0xbec722(0x32c)](_0x21e5ca),_0x493d1e();});return;}if(_0xdbebab[_0x27e48c(0x13f)][_0x27e48c(0x276)]===_0x15e414['FETCH_MISSING']){const _0x571282=_0xdbebab[_0x27e48c(0x13f)];this[_0x27e48c(0x36c)](_0x571282)[_0x27e48c(0x111)](_0x5916c6=>{var _0x272463=_0x27e48c;_0x238c21['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x571282[_0x272463(0x13f)][_0x272463(0x17e)],'routeType':'','data':{'eventID':_0x15e414['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5916c6}}});})[_0x27e48c(0x221)](_0xaf823f=>{var _0xdf7767=_0x27e48c;this['_logService'][_0xdf7767(0x32c)](_0xaf823f),_0x493d1e();});return;}}_0x5eccef['send']($s(_0xdbebab));},'close':()=>{var _0x3def67=_0x49afcc;_0x5eccef['close'](),_0xfc2a18[_0x3def67(0x237)]();}},_0x23198a;}async[_0xf95350(0x2dc)](_0x542550,_0x7dfcb1){var _0x110f74=_0xf95350,_0x2ec7c5,_0x381e7d;const {unitType:_0x4f89e2,unitID:_0x54049d,changeset:_0x4e120}=_0x7dfcb1[_0x110f74(0x13f)],_0x52613a={'unitID':_0x54049d,'memberID':_0x542550[_0x110f74(0x33e)],'type':_0x4f89e2,'changeset':_0x4bb802(_0x4e120)},_0x37afb3=this[_0x110f74(0x215)]['getConfig'](ws),_0x1b5a9e=this[_0x110f74(0x215)]['getConfig'](q),_0x42ea33=Bs((_0x381e7d=(_0x2ec7c5=_0x1b5a9e==null?void 0x0:_0x1b5a9e[_0x110f74(0x147)])!=null?_0x2ec7c5:_0x37afb3)!=null?_0x381e7d:Us,_0x4f89e2,_0x54049d);try{await this['_http'][_0x110f74(0x24a)](_0x42ea33,{'body':_0x52613a});}catch(_0x2494d1){throw this[_0x110f74(0x29f)][_0x110f74(0x32c)](_0x110f74(0x2e2),_0x110f74(0x228)),_0x2494d1;}}async[_0xf95350(0x36c)](_0x1c43c4){var _0x56e3af=_0xf95350;const {unitID:_0x5e5aa8,from:_0x292fc6,to:_0x343b04,unitType:_0xa25154}=_0x1c43c4[_0x56e3af(0x13f)];return(await this[_0x56e3af(0x171)][_0x56e3af(0x263)]({'metadata':void 0x0},{'unitID':_0x5e5aa8,'type':_0xa25154,'from':_0x292fc6,'to':_0x343b04}))[_0x56e3af(0xfb)];}};Et=js([Ue(0x0,_0x1f377b(_0x459b1e)),Ue(0x1,_0x1f377b(_0x1d95e4)),Ue(0x2,_0x4ef789),Ue(0x3,_0x2cd95e),Ue(0x4,_0x359a3a)],Et);const Fs=_0xf95350(0x17f);function Vs(_0x940e3f){var _0x39a2c2=_0xf95350;return JSON[_0x39a2c2(0x1f2)](_0x940e3f)[_0x39a2c2(0x131)];}class bi{constructor(){var _0x5386c5=_0xf95350;N(this,_0x5386c5(0x264),new _0x1d9c1a()),N(this,_0x5386c5(0x192),this[_0x5386c5(0x264)][_0x5386c5(0x206)]());}[_0xf95350(0x18b)](_0x3953b3){var _0x1d3a8d=_0xf95350;this['_commentUpdate$'][_0x1d3a8d(0x2f9)](_0x3953b3);}}var Gs=Object[_0xf95350(0x35a)],Ws=Object[_0xf95350(0x1b5)],Ks=(_0xa4b3cf,_0xa435d2,_0x4f548c,_0x47884a)=>{var _0x430cae=_0xf95350;for(var _0x38d381=_0x47884a>0x1?void 0x0:_0x47884a?Ws(_0xa435d2,_0x4f548c):_0xa435d2,_0x14204f=_0xa4b3cf[_0x430cae(0x131)]-0x1,_0x364a34;_0x14204f>=0x0;_0x14204f--)(_0x364a34=_0xa4b3cf[_0x14204f])&&(_0x38d381=(_0x47884a?_0x364a34(_0xa435d2,_0x4f548c,_0x38d381):_0x364a34(_0x38d381))||_0x38d381);return _0x47884a&&_0x38d381&&Gs(_0xa435d2,_0x4f548c,_0x38d381),_0x38d381;},Kt=(_0x59f23f,_0x122405)=>(_0x41bd11,_0x2e6879)=>_0x122405(_0x41bd11,_0x2e6879,_0x59f23f);let xe=class extends _0x21c7f9{constructor(_0x1101fd,_0x5e15b5){var _0x5adc54=_0xf95350;super(),N(this,_0x5adc54(0x340),new Map()),N(this,_0x5adc54(0x1ba),new _0x1d9c1a()),(this['_univerInstanceService']=_0x1101fd,this['_userManagerService']=_0x5e15b5,this[_0x5adc54(0x359)](_0x127445(this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0xda)])[_0x5adc54(0x39f)](_0x3dd616(_0x17f455=>_0x17f455['getUnitId']())),this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0x2df)])[_0x5adc54(0x39f)](_0x3dd616(_0x437649=>_0x437649[_0x5adc54(0x298)]())),this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0x2c9)])['pipe'](_0x3dd616(_0xd77b42=>_0xd77b42['getUnitId']())))[_0x5adc54(0x2f6)](_0x4ebd9b=>this[_0x5adc54(0x31c)](_0x4ebd9b))));}[_0xf95350(0x33a)](_0x3a048f){var _0x4472a4=_0xf95350;return this[_0x4472a4(0x340)][_0x4472a4(0x28d)](_0x3a048f)?_0x22b9ed(this[_0x4472a4(0x340)]['get'](_0x3a048f)):this[_0x4472a4(0x1ba)]['pipe'](_0x3dd616(_0x23624a=>{var _0x19a1d7=_0x4472a4;if(_0x23624a===_0x3a048f)return this[_0x19a1d7(0x340)]['get'](_0x23624a);}));}['setCurrentUser'](_0x2fffd8){var _0x1b4d7c=_0xf95350;this[_0x1b4d7c(0x262)]['setCurrentUser'](_0x2fffd8);}[_0xf95350(0x2fb)](){var _0x3a6317=_0xf95350;return this[_0x3a6317(0x262)][_0x3a6317(0x2fb)]();}[_0xf95350(0x15d)](_0xb82c91,_0x55e625){var _0xc53748=_0xf95350;let _0x2d6197=this['_roomMembers'][_0xc53748(0x151)](_0xb82c91);_0x2d6197||(_0x2d6197=new Ys(),this[_0xc53748(0x340)][_0xc53748(0x269)](_0xb82c91,_0x2d6197),this['_roomCreated$'][_0xc53748(0x2f9)](_0xb82c91)),_0x2d6197['updateMember'](_0x55e625);}[_0xf95350(0x203)](_0x2c0613,_0x5f29a7){var _0x17d626=_0xf95350;const _0xdb1a1=this[_0x17d626(0x340)][_0x17d626(0x151)](_0x2c0613);_0xdb1a1&&_0xdb1a1[_0x17d626(0x203)](_0x5f29a7);}[_0xf95350(0x1a4)](_0x4d17c1){var _0x40aa4d=_0xf95350;return this[_0x40aa4d(0x340)][_0x40aa4d(0x151)](_0x4d17c1);}[_0xf95350(0x1dd)](_0x174fb7,_0x2cb9f1){var _0x45a291=_0xf95350;const _0x458ddf=this[_0x45a291(0x340)][_0x45a291(0x151)](_0x174fb7);if(_0x458ddf)return _0x458ddf[_0x45a291(0x1dd)](_0x2cb9f1);}['_removeRoom'](_0x269d20){var _0x5ec998=_0xf95350;const _0x35bfa7=this['_roomMembers'][_0x5ec998(0x151)](_0x269d20);_0x35bfa7&&(_0x35bfa7[_0x5ec998(0x237)](),this[_0x5ec998(0x340)][_0x5ec998(0x1e1)](_0x269d20));}['dispose'](){var _0x4ba849=_0xf95350;this[_0x4ba849(0x340)][_0x4ba849(0x362)](_0x3a821e=>_0x3a821e['dispose']()),this[_0x4ba849(0x340)][_0x4ba849(0x2b0)](),this[_0x4ba849(0x1ba)][_0x4ba849(0x140)]();}};xe=Ks([Kt(0x0,_0x4accb0),Kt(0x1,_0x1f377b(_0x476b93))],xe);class Ys extends _0x21c7f9{constructor(){var _0x1de78a=_0xf95350;super(...arguments),N(this,_0x1de78a(0x346),new Map()),N(this,_0x1de78a(0x368),new _0x26dbcc(this[_0x1de78a(0x346)])),N(this,_0x1de78a(0x251),this[_0x1de78a(0x368)][_0x1de78a(0x206)]());}['dispose'](){var _0x25ccd0=_0xf95350;this[_0x25ccd0(0x346)][_0x25ccd0(0x2b0)]();}[_0xf95350(0x15d)](_0x2fd51e){var _0x21bd71=_0xf95350;this[_0x21bd71(0x346)][_0x21bd71(0x269)](_0x2fd51e[_0x21bd71(0x33e)],_0x2fd51e),this[_0x21bd71(0x2bf)]();}[_0xf95350(0x203)](_0x449b5f){var _0x3b305d=_0xf95350;this[_0x3b305d(0x346)]['delete'](_0x449b5f);}[_0xf95350(0x1dd)](_0x22fab7){var _0x4025a4=_0xf95350;return this[_0x4025a4(0x346)][_0x4025a4(0x151)](_0x22fab7);}['getAllMembers'](){var _0x433c2a=_0xf95350;return Array[_0x433c2a(0x375)](this[_0x433c2a(0x346)][_0x433c2a(0x1fe)]());}[_0xf95350(0x2bf)](){var _0x49d5a0=_0xf95350;this[_0x49d5a0(0x368)][_0x49d5a0(0x2f9)](this[_0x49d5a0(0x346)]);}}var qs=Object[_0xf95350(0x35a)],zs=Object[_0xf95350(0x1b5)],Js=(_0x1a1813,_0x460e1b,_0x2660a5,_0x31d87e)=>{var _0x5eccf8=_0xf95350;for(var _0x403466=_0x31d87e>0x1?void 0x0:_0x31d87e?zs(_0x460e1b,_0x2660a5):_0x460e1b,_0x309776=_0x1a1813[_0x5eccf8(0x131)]-0x1,_0x394603;_0x309776>=0x0;_0x309776--)(_0x394603=_0x1a1813[_0x309776])&&(_0x403466=(_0x31d87e?_0x394603(_0x460e1b,_0x2660a5,_0x403466):_0x394603(_0x403466))||_0x403466);return _0x31d87e&&_0x403466&&qs(_0x460e1b,_0x2660a5,_0x403466),_0x403466;},me=(_0x134345,_0x7c6c02)=>(_0x4daa9c,_0xbeba90)=>_0x7c6c02(_0x4daa9c,_0xbeba90,_0x134345),Te=(_0x10ae04=>(_0x10ae04[_0x10ae04['IDLE']=0x0]='IDLE',_0x10ae04[_0x10ae04['JOINING']=0x1]=_0xf95350(0x214),_0x10ae04[_0x10ae04[_0xf95350(0x188)]=0x2]=_0xf95350(0x188),_0x10ae04[_0x10ae04[_0xf95350(0x2fa)]=0x3]=_0xf95350(0x2fa),_0x10ae04))(Te||{});const Yt={[Ee[_0xf95350(0x2f7)]]:_0xf95350(0x231),[Ee[_0xf95350(0x10a)]]:_0xf95350(0x219),[Ee[_0xf95350(0x115)]]:_0xf95350(0x258),[Ee[_0xf95350(0x186)]]:'session.room-permission-denied',[Ee[_0xf95350(0x364)]]:_0xf95350(0x36b)};let It=class extends _0x426883{constructor(_0x1f732b,_0xfa80d7,_0x41cfe2,_0x2ad34a,_0x369c04,_0x1cbf3c,_0x462c1b,_0x5bd7a1,_0x27ab69){var _0x595fb0=_0xf95350;super(),N(this,'_sessionStatus$',new _0x26dbcc(0x0)),N(this,_0x595fb0(0x107),this['_sessionStatus$'][_0x595fb0(0x206)]()),N(this,_0x595fb0(0x21a),new _0x1d9c1a()),N(this,_0x595fb0(0x23d),this[_0x595fb0(0x21a)][_0x595fb0(0x206)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x595fb0(0x15b)),N(this,_0x595fb0(0x223),!0x1),N(this,'_telemetryInfo',null),(this[_0x595fb0(0x216)]=_0x1f732b,this[_0x595fb0(0x29f)]=_0x41cfe2,this[_0x595fb0(0x215)]=_0x2ad34a,this[_0x595fb0(0x189)]=_0x369c04,this[_0x595fb0(0x372)]=_0x1cbf3c,this[_0x595fb0(0x2e4)]=_0x462c1b,this['_collaborationUIEventService']=_0x5bd7a1,this[_0x595fb0(0x181)]=_0x27ab69,this[_0x595fb0(0x223)]=!!this['_telemetryService'],_0xfa80d7[_0x595fb0(0x39f)](_0x30c8dd(this[_0x595fb0(0x205)]))['subscribe'](_0x350457=>{var _0x4a2b4b=_0x595fb0,_0xaedfa5;typeof _0x350457>'u'||(this['_socket']=_0x350457,_0x350457?(this[_0x4a2b4b(0x353)](_0x350457),this[_0x4a2b4b(0x36d)]=_0x350457[_0x4a2b4b(0x265)][_0x4a2b4b(0x2f6)](_0x364dac=>{var _0x3658fd=_0x4a2b4b;_0x364dac[_0x3658fd(0x26d)]===this[_0x3658fd(0x216)]&&this[_0x3658fd(0x394)](_0x364dac);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4a2b4b(0x165)][_0x4a2b4b(0x2f9)](0x2),(_0xaedfa5=this['_socketMessageSubscription'])==null||_0xaedfa5[_0x4a2b4b(0x2e8)](),this[_0x4a2b4b(0x36d)]=null));}));}get['sessionStatus'](){var _0x3c8ef6=_0xf95350;return this['_sessionStatus$'][_0x3c8ef6(0x1a0)]();}[_0xf95350(0xd8)](){var _0x547097=_0xf95350,_0x504164,_0x27994c;return(_0x27994c=(_0x504164=this[_0x547097(0x142)])==null?void 0x0:_0x504164[_0x547097(0x33e)])!=null?_0x27994c:null;}[_0xf95350(0x237)](){var _0x5a3c0c=_0xf95350;super[_0x5a3c0c(0x237)](),this['dispose$'][_0x5a3c0c(0x2f9)](),this['dispose$']['complete']();}[_0xf95350(0x11b)](){var _0x5de2a4=_0xf95350,_0x4f4c5d,_0x27cd17;this[_0x5de2a4(0x24e)](),(_0x4f4c5d=this[_0x5de2a4(0x142)])==null||_0x4f4c5d[_0x5de2a4(0x1c4)]({'cmd':F[_0x5de2a4(0x391)],'data':{'roomID':this[_0x5de2a4(0x216)]}}),(_0x27cd17=this[_0x5de2a4(0x142)])==null||_0x27cd17[_0x5de2a4(0x11b)](),this[_0x5de2a4(0x21a)]['complete'](),this['_sessionStatus$'][_0x5de2a4(0x140)](),this[_0x5de2a4(0x237)]();}['_onCombEvent'](_0x2b2ecf){var _0x37c9ea=_0xf95350;_0x2b2ecf[_0x37c9ea(0xfd)]===F['JOIN']?this['_onJoinRoomEvent'](_0x2b2ecf):_0x2b2ecf[_0x37c9ea(0xfd)]===F[_0x37c9ea(0x284)]&&this[_0x37c9ea(0xe4)](_0x2b2ecf);}['_joinRoom'](_0x263371){var _0x1e0352=_0xf95350;this['_sessionStatus$'][_0x1e0352(0x2f9)](0x1),_0x263371[_0x1e0352(0x1c4)]({'cmd':F['JOIN'],'routeKey':this[_0x1e0352(0x216)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e0352(0x216)]}]}});}[_0xf95350(0xe3)](_0x21d169){var _0x159db8=_0xf95350,_0x548617;if(_0x21d169['code']in Yt){this[_0x159db8(0xd4)][_0x159db8(0x354)]({'id':ne[_0x159db8(0x32f)],'data':Yt[_0x21d169[_0x159db8(0x24c)]]}),this[_0x159db8(0x165)][_0x159db8(0x2f9)](0x2);return;}this[_0x159db8(0x165)][_0x159db8(0x2f9)](0x3);const _0x51e3fa=(_0x548617=_0x21d169[_0x159db8(0x13f)]['roomInfos'][this[_0x159db8(0x216)]])==null?void 0x0:_0x548617[_0x159db8(0x133)];_0x51e3fa&&_0x51e3fa['forEach'](_0x4418a7=>this['_memberService'][_0x159db8(0x15d)](this[_0x159db8(0x216)],_0x4418a7));}['_onRecvEvent'](_0x592c1e){var _0x59ca12=_0xf95350;try{const _0x479d24=_0x592c1e[_0x59ca12(0x13f)];switch(_0x479d24[_0x59ca12(0x276)]){case _0x15e414[_0x59ca12(0x242)]:this[_0x59ca12(0x355)](_0x479d24),this[_0x59ca12(0x21a)][_0x59ca12(0x2f9)](_0x479d24);break;case _0x15e414[_0x59ca12(0x31f)]:this['_onUserLeave'](_0x479d24),this[_0x59ca12(0x21a)]['next'](_0x479d24);break;case _0x15e414[_0x59ca12(0x287)]:case _0x15e414[_0x59ca12(0x1d8)]:this[_0x59ca12(0x35f)](),this[_0x59ca12(0x34b)](),this[_0x59ca12(0x21a)]['next'](_0x479d24);break;case _0x15e414['MSG_FOR_ERROR']:this[_0x59ca12(0x29f)][_0x59ca12(0x32c)](_0x59ca12(0x299)+JSON['stringify'](_0x479d24)),this[_0x59ca12(0x21a)][_0x59ca12(0x2f9)](_0x479d24);break;case _0x15e414[_0x59ca12(0x240)]:this[_0x59ca12(0x2e4)]['onCommentUpdate'](_0x479d24[_0x59ca12(0x13f)]),this['_event$'][_0x59ca12(0x2f9)](_0x479d24);break;default:this['_event$'][_0x59ca12(0x2f9)](_0x479d24);}}catch(_0x19ab87){this[_0x59ca12(0x29f)][_0x59ca12(0x32c)](_0x19ab87,_0x592c1e);}}[_0xf95350(0x355)](_0x54adf0){var _0xd86983=_0xf95350;this[_0xd86983(0x372)][_0xd86983(0x15d)](this['_unitID'],_0x54adf0[_0xd86983(0x13f)]);}[_0xf95350(0xdb)](_0x275ff5){var _0x341007=_0xf95350;this[_0x341007(0x372)]['removeMember'](this['_unitID'],_0x275ff5[_0x341007(0x13f)]['memberID']);}async[_0xf95350(0x1c4)](_0x31ac7c,_0x4c06bd){var _0xfb84b9=_0xf95350;if(this[_0xfb84b9(0x16e)]!==0x3||!this[_0xfb84b9(0x142)])throw new Error(_0xfb84b9(0x161));try{_0x31ac7c['eventID']===_0x15e414[_0xfb84b9(0x20a)]&&(this[_0xfb84b9(0x344)](),this[_0xfb84b9(0x36a)](_0x31ac7c)),this[_0xfb84b9(0x142)][_0xfb84b9(0x1c4)]({'cmd':F[_0xfb84b9(0x13a)],'routeKey':_0x4c06bd,'routeType':'','data':_0x31ac7c});}catch(_0xc1a2e2){this[_0xfb84b9(0x29f)][_0xfb84b9(0x32c)](_0xc1a2e2);}}[_0xf95350(0x344)](){var _0x772391=_0xf95350,_0x97dc26;this[_0x772391(0x15b)]=setTimeout(()=>{var _0x2b5d9a=_0x772391;this['_collaborationTimeoutTimer']=null,this[_0x2b5d9a(0xd4)][_0x2b5d9a(0x354)]({'id':ne[_0x2b5d9a(0x1b1)]});},(_0x97dc26=this[_0x772391(0x215)][_0x772391(0x1ab)](Si))!=null?_0x97dc26:Ei);}[_0xf95350(0x34b)](){var _0x47f981=_0xf95350;this[_0x47f981(0x15b)]&&(clearTimeout(this[_0x47f981(0x15b)]),this['_collaborationTimeoutTimer']=null);}[_0xf95350(0x36a)](_0x3b64f9){var _0x196237=_0xf95350;if(!this['_shouldReportTelemetry'])return;const {data:_0x932e1a}=_0x3b64f9,{unitID:_0x992897,changeset:_0x174862}=_0x932e1a,{mutations:_0x11ce16,type:_0x5e25f1}=_0x174862;this[_0x196237(0xee)]={'unitId':_0x992897,'type':_0x5e25f1,'startTime':performance[_0x196237(0x109)](),'stopTime':0x0,'duration':0x0,'size':Vs(_0x11ce16)};}[_0xf95350(0x35f)](){var _0x2e99ff=_0xf95350;if(this[_0x2e99ff(0x223)]){if(!this[_0x2e99ff(0xee)]){this['_logService'][_0x2e99ff(0x32c)](_0x2e99ff(0x2e2),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e99ff(0xee)][_0x2e99ff(0x283)]=performance[_0x2e99ff(0x109)](),this[_0x2e99ff(0xee)][_0x2e99ff(0x2b4)]=this['_telemetryInfo']['stopTime']-this[_0x2e99ff(0xee)][_0x2e99ff(0x19f)],this[_0x2e99ff(0x181)][_0x2e99ff(0x2f4)](Fs,this['_telemetryInfo']),this[_0x2e99ff(0xee)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Js([me(0x2,_0x2cd95e),me(0x3,_0x4ef789),me(0x4,_0x1f377b(_0x3b591c)),me(0x5,_0x1f377b(xe)),me(0x6,_0x1f377b(bi)),me(0x7,_0x1f377b(pe)),me(0x8,_0x36e3d4(_0x4c4a70))],It);var Xs=Object[_0xf95350(0x35a)],Zs=Object[_0xf95350(0x1b5)],Qs=(_0x446e3e,_0x177da2,_0x5ebd89,_0x179af7)=>{var _0x419704=_0xf95350;for(var _0x22f99b=_0x179af7>0x1?void 0x0:_0x179af7?Zs(_0x177da2,_0x5ebd89):_0x177da2,_0x105079=_0x446e3e[_0x419704(0x131)]-0x1,_0x1b0795;_0x105079>=0x0;_0x105079--)(_0x1b0795=_0x446e3e[_0x105079])&&(_0x22f99b=(_0x179af7?_0x1b0795(_0x177da2,_0x5ebd89,_0x22f99b):_0x1b0795(_0x22f99b))||_0x22f99b);return _0x179af7&&_0x22f99b&&Xs(_0x177da2,_0x5ebd89,_0x22f99b),_0x22f99b;},ge=(_0x1186f8,_0x5286ac)=>(_0x3462ec,_0x4504b3)=>_0x5286ac(_0x3462ec,_0x4504b3,_0x1186f8);let Le=class extends _0x21c7f9{constructor(_0x40221e,_0x4c7217,_0x5b0b3f,_0x59141d,_0x38685f,_0x2a37cb,_0xb91999){var _0x7d9743=_0xf95350;super(),N(this,_0x7d9743(0x1ef),new _0x26dbcc(void 0x0)),N(this,'socket$',this[_0x7d9743(0x1ef)]['asObservable']()),N(this,_0x7d9743(0x144),null),N(this,'_sessions',new Map()),N(this,_0x7d9743(0x2db),new _0x26dbcc(Te[_0x7d9743(0x2bd)])),N(this,_0x7d9743(0x201),this[_0x7d9743(0x2db)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x7d9743(0xf7)),N(this,_0x7d9743(0x218),0x0),N(this,_0x7d9743(0x3a8)),N(this,_0x7d9743(0x371)),(this[_0x7d9743(0x2fe)]=_0x40221e,this[_0x7d9743(0x29f)]=_0x4c7217,this['_configService']=_0x5b0b3f,this['_socketService']=_0x59141d,this[_0x7d9743(0xdf)]=_0x38685f,this[_0x7d9743(0xd4)]=_0x2a37cb,this[_0x7d9743(0x2ea)]=_0xb91999,this['_listenToNetworkCondition']());}get[_0xf95350(0x142)](){var _0x3ed577=_0xf95350;return this[_0x3ed577(0x1ef)][_0x3ed577(0x1a0)]();}[_0xf95350(0x114)](){var _0x584f9a=_0xf95350;this[_0x584f9a(0x2ea)]&&this[_0x584f9a(0x359)](this['_networkConditionService'][_0x584f9a(0x38f)][_0x584f9a(0x2f6)](_0x282f88=>{var _0x271907=_0x584f9a;_0x282f88&&!this[_0x271907(0x142)]&&this[_0x271907(0x2de)](),_0x282f88||this[_0x271907(0x21d)]();}));}['dispose'](){var _0x533fa3=_0xf95350;super['dispose'](),this[_0x533fa3(0x11e)][_0x533fa3(0x362)](_0x41503d=>_0x41503d['dispose']()),this[_0x533fa3(0x11e)][_0x533fa3(0x2b0)](),this[_0x533fa3(0x2db)][_0x533fa3(0x140)]();}async[_0xf95350(0x24b)](_0x170546){var _0x5b480e=_0xf95350;if(this['_sessions']['has'](_0x170546))return this['_sessions'][_0x5b480e(0x151)](_0x170546);this['_tryEnsureSocket']();const _0x246f31=this[_0x5b480e(0x2fe)][_0x5b480e(0xf6)](It,_0x170546,this[_0x5b480e(0x1ef)]['asObservable']());return this[_0x5b480e(0x11e)][_0x5b480e(0x269)](_0x170546,_0x246f31),_0x246f31;}[_0xf95350(0x2a3)](_0x100497){var _0x3b494a=_0xf95350,_0xb17ff4;const _0x15c1a7=this[_0x3b494a(0x11e)][_0x3b494a(0x151)](_0x100497);_0x15c1a7&&(this[_0x3b494a(0x11e)][_0x3b494a(0x1e1)](_0x100497),_0x15c1a7['close']()),this['_sessions']['size']||(_0xb17ff4=this[_0x3b494a(0x142)])==null||_0xb17ff4[_0x3b494a(0x11b)]();}[_0xf95350(0x2de)](){var _0x2efd26=_0xf95350;this[_0x2efd26(0x218)]=0x0,this[_0x2efd26(0xf7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2efd26(0xf7)]=null),this[_0x2efd26(0x19b)]();}async[_0xf95350(0x17b)](){var _0x4ff0e7=_0xf95350,_0x2a883c,_0x30e4aa,_0x2ca886;const _0xb3ca90=this[_0x4ff0e7(0x215)]['getConfig'](q),_0xc9d79a=(_0x2a883c=_0xb3ca90==null?void 0x0:_0xb3ca90[_0x4ff0e7(0x2e5)])!=null?_0x2a883c:Rs;return(_0x2ca886=(_0x30e4aa=(await this[_0x4ff0e7(0xdf)][_0x4ff0e7(0x151)](_0xc9d79a,{'headers':{'Content-Type':_0x4ff0e7(0x29c)}}))[_0x4ff0e7(0x2c1)])==null?void 0x0:_0x30e4aa[_0x4ff0e7(0x12c)])!=null?_0x2ca886:'';}[_0xf95350(0x18d)](_0x1e60e5){var _0x4a9604=_0xf95350,_0x1d3259,_0x596de2;const _0x14e267=this[_0x4a9604(0x215)][_0x4a9604(0x1ab)](Cs),_0x5339e0=this[_0x4a9604(0x215)][_0x4a9604(0x1ab)](q),_0x20ac3a=(_0x596de2=(_0x1d3259=_0x5339e0==null?void 0x0:_0x5339e0[_0x4a9604(0x154)])!=null?_0x1d3259:_0x14e267)!=null?_0x596de2:bs,_0x522855=typeof window>'u'?new URL(_0x20ac3a):new URL(_0x20ac3a,window['location'][_0x4a9604(0x17c)]);_0x522855[_0x4a9604(0xc3)][_0x4a9604(0x269)](_0x4a9604(0x152),_0x1e60e5);const _0x4738bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4a9604(0x280)]);return _0x4738bc[_0x4a9604(0x151)]('runId')&&_0x522855[_0x4a9604(0xc3)][_0x4a9604(0x269)](_0x4a9604(0xdd),_0x4738bc[_0x4a9604(0x151)]('runId')),_0x522855[_0x4a9604(0x1e3)]();}async[_0xf95350(0xe8)](){var _0x409864=_0xf95350;const _0x1cc6ac=await this['_getSessionTicket'](),_0x178759=this['_createSocketURL'](_0x1cc6ac),_0x2a9a0a=this[_0x409864(0x12a)]['createSocket'](_0x178759);return this[_0x409864(0x144)]=_0x2a9a0a,_0x2a9a0a;}async[_0xf95350(0x175)](){var _0x23d514=_0xf95350,_0x93c52,_0x474c39;try{const _0x177c68=(_0x474c39=(_0x93c52=this[_0x23d514(0x142)])!=null?_0x93c52:this['_candidateSocket'])!=null?_0x474c39:await this[_0x23d514(0xe8)]();if(_0x177c68){const _0x165119=_0x177c68[_0x23d514(0x1c4)];_0x177c68[_0x23d514(0x1c4)]=_0x236d7d=>(this[_0x23d514(0x15c)](),_0x165119[_0x23d514(0x279)](_0x177c68,[_0x236d7d])),_0x177c68[_0x23d514(0x265)][_0x23d514(0x2f6)](_0x41eca6=>this[_0x23d514(0x30a)](_0x177c68,_0x41eca6)),_0x177c68[_0x23d514(0xc0)][_0x23d514(0x39f)](_0x4f99c6(0x1))[_0x23d514(0x2f6)](_0x2d98dc=>this['_logService'][_0x23d514(0x32c)](_0x23d514(0x381),_0x2d98dc)),_0x177c68['open$'][_0x23d514(0x39f)](_0x4f99c6(0x1))['subscribe'](()=>{var _0x5b298b=_0x23d514;this[_0x5b298b(0x306)](_0x177c68);}),_0x177c68[_0x23d514(0xca)][_0x23d514(0x39f)](_0x4f99c6(0x1))['subscribe'](_0x353184=>{var _0x5ca668=_0x23d514;this[_0x5ca668(0x29f)][_0x5ca668(0xd7)](_0x5ca668(0x12d),_0x5ca668(0x137),_0x353184),this[_0x5ca668(0x1e4)]();});}}catch(_0x5df28b){this[_0x23d514(0x29f)][_0x23d514(0x32c)](_0x5df28b),this[_0x23d514(0x1e4)]();}}[_0xf95350(0x306)](_0x427261){var _0xfb5717=_0xf95350;this[_0xfb5717(0x29f)][_0xfb5717(0xd7)](_0xfb5717(0x12d),'socket\x20open.'),_0x427261['send']({'cmd':F[_0xfb5717(0x1d3)]}),this[_0xfb5717(0x15c)]();}[_0xf95350(0x21d)](){var _0x330981=_0xf95350;this[_0x330981(0x100)]=!0x1,this['_candidateSocket']=null,this[_0x330981(0x2db)]['next'](Te[_0x330981(0x188)]),this[_0x330981(0x1ef)][_0x330981(0x2f9)](null),this[_0x330981(0x197)](),this[_0x330981(0x2a7)]();}[_0xf95350(0x1e4)](){var _0x8239b8=_0xf95350,_0x3e5ce1;this[_0x8239b8(0x21d)](),this[_0x8239b8(0x218)]<((_0x3e5ce1=this[_0x8239b8(0x215)][_0x8239b8(0x1ab)](Ds))!=null?_0x3e5ce1:Ps)?(this[_0x8239b8(0xd4)][_0x8239b8(0x354)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x8239b8(0xd4)][_0x8239b8(0x354)]({'id':ne['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5a87e3=_0xf95350,_0x22387b;const _0x1928cb=this['_retryCount'],_0x4356d6=this[_0x5a87e3(0x215)][_0x5a87e3(0x1ab)](q),_0x43dedb=_0x1928cb===0x0?0x0:((_0x22387b=_0x4356d6==null?void 0x0:_0x4356d6[_0x5a87e3(0x29b)])!=null?_0x22387b:Ns)*0x2**_0x1928cb;this[_0x5a87e3(0xf7)]=setTimeout(()=>{var _0x466e42=_0x5a87e3;clearTimeout(this[_0x466e42(0xf7)]),this[_0x466e42(0xf7)]=null,this[_0x466e42(0x175)]();},_0x43dedb),this[_0x5a87e3(0x218)]+=0x1;}[_0xf95350(0x30a)](_0x50ea50,_0x26223a){var _0x2e3258=_0xf95350;const {cmd:_0x10edcb}=_0x26223a;_0x10edcb===F['HELLO']&&!this[_0x2e3258(0x100)]&&(_0x50ea50[_0x2e3258(0x33e)]=_0x26223a[_0x2e3258(0x13f)][_0x2e3258(0x33e)],this[_0x2e3258(0x1ef)]['next'](_0x50ea50),this[_0x2e3258(0x2db)][_0x2e3258(0x2f9)](Te['ONLINE']),this[_0x2e3258(0x100)]=!0x0,this[_0x2e3258(0x144)]=null),_0x10edcb===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x2e3258(0x15c)]();}['_rescheduleHeartbeat'](){var _0x571e08=_0xf95350,_0x1461ee;this['_clearHeartbeatTimer'](),this[_0x571e08(0x3a8)]=setTimeout(()=>this[_0x571e08(0x314)](),(_0x1461ee=this[_0x571e08(0x215)]['getConfig'](Os))!=null?_0x1461ee:ys);}[_0xf95350(0x314)](){var _0x49227b=_0xf95350;this[_0x49227b(0x142)][_0x49227b(0x1c4)]({'cmd':F[_0x49227b(0x25c)]}),this[_0x49227b(0x128)]();}[_0xf95350(0x128)](){var _0x2edf62=_0xf95350,_0x380963;this[_0x2edf62(0x371)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x380963=this[_0x2edf62(0x215)][_0x2edf62(0x1ab)](Si))!=null?_0x380963:Ei);}[_0xf95350(0x2a7)](){var _0x49f1ce=_0xf95350;this[_0x49f1ce(0x3a8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xf95350(0x197)](){var _0xa35551=_0xf95350;this[_0xa35551(0x371)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa35551(0x371)]=null);}};Le=Qs([ge(0x0,_0x1f377b(_0x459b1e)),ge(0x1,_0x2cd95e),ge(0x2,_0x4ef789),ge(0x3,Ci),ge(0x4,_0x1f377b(_0x1d95e4)),ge(0x5,_0x1f377b(pe)),ge(0x6,_0x36e3d4(Ls))],Le);const V=[];for(let s=0x0;s<0x100;++s)V[_0xf95350(0x2e0)]((s+0x100)[_0xf95350(0x1e3)](0x10)[_0xf95350(0x2dd)](0x1));function er(_0x1647ff,_0x403e08=0x0){var _0x5d322f=_0xf95350;return(V[_0x1647ff[_0x403e08+0x0]]+V[_0x1647ff[_0x403e08+0x1]]+V[_0x1647ff[_0x403e08+0x2]]+V[_0x1647ff[_0x403e08+0x3]]+'-'+V[_0x1647ff[_0x403e08+0x4]]+V[_0x1647ff[_0x403e08+0x5]]+'-'+V[_0x1647ff[_0x403e08+0x6]]+V[_0x1647ff[_0x403e08+0x7]]+'-'+V[_0x1647ff[_0x403e08+0x8]]+V[_0x1647ff[_0x403e08+0x9]]+'-'+V[_0x1647ff[_0x403e08+0xa]]+V[_0x1647ff[_0x403e08+0xb]]+V[_0x1647ff[_0x403e08+0xc]]+V[_0x1647ff[_0x403e08+0xd]]+V[_0x1647ff[_0x403e08+0xe]]+V[_0x1647ff[_0x403e08+0xf]])[_0x5d322f(0x177)]();}let ut;const tr=new Uint8Array(0x10);function ir(){var _0x3b4bc2=_0xf95350;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b4bc2(0x301)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x3b4bc2(0x301)][_0x3b4bc2(0x339)](crypto);}return ut(tr);}const sr=typeof crypto<'u'&&crypto[_0xf95350(0x1b3)]&&crypto[_0xf95350(0x1b3)][_0xf95350(0x339)](crypto),qt={'randomUUID':sr};function rr(_0x25bf7d,_0x5a67c4,_0x41635e){var _0x596e51=_0xf95350;if(qt[_0x596e51(0x1b3)]&&!_0x5a67c4&&!_0x25bf7d)return qt[_0x596e51(0x1b3)]();_0x25bf7d=_0x25bf7d||{};const _0x1f65db=_0x25bf7d[_0x596e51(0x220)]||(_0x25bf7d[_0x596e51(0x25d)]||ir)();return _0x1f65db[0x6]=_0x1f65db[0x6]&0xf|0x40,_0x1f65db[0x8]=_0x1f65db[0x8]&0x3f|0x80,er(_0x1f65db);}const J=_0x5f2d11(_0xf95350(0xd5));function no(_0x308307){return'unit-cache-'+_0x308307;}var nr=Object[_0xf95350(0x35a)],or=Object[_0xf95350(0x1b5)],ar=(_0x5b2987,_0x3de9fd,_0x513f47,_0x4812b4)=>{var _0x2fde73=_0xf95350;for(var _0x452a02=_0x4812b4>0x1?void 0x0:_0x4812b4?or(_0x3de9fd,_0x513f47):_0x3de9fd,_0x37e4b2=_0x5b2987[_0x2fde73(0x131)]-0x1,_0x15359c;_0x37e4b2>=0x0;_0x37e4b2--)(_0x15359c=_0x5b2987[_0x37e4b2])&&(_0x452a02=(_0x4812b4?_0x15359c(_0x3de9fd,_0x513f47,_0x452a02):_0x15359c(_0x452a02))||_0x452a02);return _0x4812b4&&_0x452a02&&nr(_0x3de9fd,_0x513f47,_0x452a02),_0x452a02;},dt=(_0x314abb,_0x929054)=>(_0x4b34d1,_0x4f76da)=>_0x929054(_0x4b34d1,_0x4f76da,_0x314abb);function cr(_0x37e08b){var _0x398bb0=_0xf95350;const {unitID:_0x34219e,mutations:_0x3a6b98}=_0x37e08b;return{'unitId':_0x34219e,'subUnitId':_0x3a6b98[0x0][_0x398bb0(0x39e)][_0x398bb0(0x33d)]};}let it=class{constructor(_0x52deff,_0xd0b066,_0x858f66){var _0x54b935=_0xf95350;this[_0x54b935(0x2fe)]=_0x52deff,this['_transformService']=_0xd0b066,this[_0x54b935(0x308)]=_0x858f66;}[_0xf95350(0x233)](_0x267ff1){var _0x493b2d=_0xf95350,_0x34aa78,_0x4d0fe0,_0x455c88,_0x1f649d;const _0xe68dc6=this['_injector']['get'](_0x232e9a),{unitId:_0x329a73,subUnitId:_0x418fcd}=cr(_0x267ff1),_0x49553=_0xe68dc6==null?void 0x0:_0xe68dc6['getWorkbookSelections'](_0x329a73)[_0x493b2d(0x399)](),_0x5071cc=(_0x4d0fe0=(_0x34aa78=this[_0x493b2d(0x308)][_0x493b2d(0x225)](_0x329a73))==null?void 0x0:_0x34aa78[_0x493b2d(0x352)]())==null?void 0x0:_0x4d0fe0[_0x493b2d(0x380)]();if(_0x49553[_0x493b2d(0x131)]===0x0||!_0x329a73||!_0x418fcd)return;const _0x676816=[{'id':_0x244d63['id'],'params':{'unitId':_0x329a73,'subUnitId':_0x5071cc,'selections':_0x324eba[_0x493b2d(0x1f1)](_0x49553)}}],_0x6097f4=this[_0x493b2d(0x16c)]['transformMutationsWithChangeset'](_0x267ff1,_0x676816);if(!_0x5e1805(_0x6097f4))throw _0x6097f4[_0x493b2d(0x32c)];const _0x1bdaec=(_0x1f649d=(_0x455c88=_0x6097f4['m2Prime'][0x0])==null?void 0x0:_0x455c88[_0x493b2d(0x39e)])==null?void 0x0:_0x1f649d[_0x493b2d(0x22e)];if(Array[_0x493b2d(0x28e)](_0x1bdaec)&&_0x1bdaec[_0x493b2d(0x131)]){if(_0x1bdaec['length']===_0x676816[0x0][_0x493b2d(0x39e)][_0x493b2d(0x22e)][_0x493b2d(0x131)]&&_0x1bdaec['every']((_0x100abd,_0x1242b7)=>_0x107aa5['equals'](_0x100abd[_0x493b2d(0x396)],_0x676816[0x0][_0x493b2d(0x39e)]['selections'][_0x1242b7][_0x493b2d(0x396)])))return;this[_0x493b2d(0x2fe)][_0x493b2d(0x151)](_0x16ead5)[_0x493b2d(0x309)](_0x244d63['id'],{'unitId':_0x329a73,'subUnitId':_0x5071cc,'selections':_0x1bdaec});}}};it=ar([dt(0x0,_0x1f377b(_0x459b1e)),dt(0x1,_0xd312f2),dt(0x2,_0x4accb0)],it);const ht=_0x5f2d11(_0xf95350(0x1e8));var Ri=(_0x5d4e37=>(_0x5d4e37[_0x5d4e37['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xf95350(0x207),_0x5d4e37[_0x5d4e37['OTHER_CLIENTS_EDITING']=0x1]=_0xf95350(0x18a),_0x5d4e37))(Ri||{});const hr=new Set([_0x4090d9['id']]);function zt(_0x317ba6,_0x1b2bac,_0x5be8ba,_0xcad0d2,_0x407ef9){var _0x54a6f5=_0xf95350,_0x3508cb,_0x6051e0,_0x557011,_0x4c95e9;const _0x10b9cb=[];for(const _0x87a995 of _0x317ba6)if(hr[_0x54a6f5(0x28d)](_0x87a995['id'])){if(_0x10b9cb['length']>0x0)break;_0x10b9cb['push'](_0x87a995);break;}else _0x10b9cb[_0x54a6f5(0x2e0)](_0x87a995);const _0x4e1237=(_0x6051e0=(_0x3508cb=_0x407ef9[_0x54a6f5(0x2fb)]())==null?void 0x0:_0x3508cb[_0x54a6f5(0x1b9)])!=null?_0x6051e0:_0x54a6f5(0x397),_0x1a0e34=(_0x4c95e9=(_0x557011=_0x407ef9[_0x54a6f5(0x2fb)]())==null?void 0x0:_0x557011['memberID'])!=null?_0x4c95e9:'unknown';return{'changeset':{'unitID':_0x1b2bac,'type':_0x1bcb48(_0x5be8ba[_0x54a6f5(0x25a)](_0x1b2bac)),'baseRev':_0xcad0d2['getCurrentRevOfUnit'](_0x1b2bac),'revision':0x0,'userID':_0x4e1237,'memberID':_0x1a0e34,'mutations':_0x10b9cb},'pendingMutations':_0x317ba6[_0x54a6f5(0x2dd)](_0x10b9cb[_0x54a6f5(0x131)])};}function _r(_0x180304,_0xd9e871,_0x7baa9b,_0x2f4fd9,_0x2c1c13){var _0x404315=_0xf95350,_0x2fe7d3,_0xd81ffd,_0x5f47c2,_0x6eddd3;const _0x5e3af8=[_0x180304[_0x404315(0x2ad)]((_0x590711,_0x18fc5c)=>{var _0x417f07=_0x404315,_0x334504;const {id:_0x479435}=_0x590711,{id:_0x335204,type:_0x2262be}=_0x18fc5c,_0x346b65=(_0x334504=_0x590711[_0x417f07(0x39e)])!=null?_0x334504:{'actions':null},_0x100539=_0x18fc5c[_0x417f07(0x39e)];if(_0x479435&&_0x479435!==_0x335204)throw new Error(_0x417f07(0x311)+_0x479435+_0x417f07(0x39b)+_0x335204+'.');return{..._0x590711,'id':_0x335204,'type':_0x2262be,'params':{'unitId':_0x100539[_0x417f07(0x149)],'textRanges':_0x100539[_0x417f07(0x20c)],'actions':_0x34d239[_0x417f07(0x2b2)](_0x346b65[_0x417f07(0x163)],_0x100539[_0x417f07(0x163)])}};},{})],_0x43c40b=(_0xd81ffd=(_0x2fe7d3=_0x2c1c13[_0x404315(0x2fb)]())==null?void 0x0:_0x2fe7d3[_0x404315(0x1b9)])!=null?_0xd81ffd:'unknown',_0x51fec6=(_0x6eddd3=(_0x5f47c2=_0x2c1c13[_0x404315(0x2fb)]())==null?void 0x0:_0x5f47c2[_0x404315(0x33e)])!=null?_0x6eddd3:_0x404315(0x397);return{'changeset':{'unitID':_0xd9e871,'type':_0x1bcb48(_0x7baa9b[_0x404315(0x25a)](_0xd9e871)),'baseRev':_0x2f4fd9['getCurrentRevOfUnit'](_0xd9e871),'revision':0x0,'userID':_0x43c40b,'memberID':_0x51fec6,'mutations':_0x5e3af8},'pendingMutations':[]};}function Oi(_0x2dd375,_0x111a07){var _0x115d9f=_0xf95350;const _0x4aed4a=new _0x2eb1e0(0x1);return setTimeout(()=>_0x4aed4a[_0x115d9f(0x2f9)](_0x111a07),_0x2dd375),_0x4aed4a[_0x115d9f(0x206)]()[_0x115d9f(0x39f)](_0x3b0b7e(0x1));}function _0x4451(_0x13226c,_0x5cf809){var _0x58d966=_0x58d9();return _0x4451=function(_0x4451c4,_0x27ae80){_0x4451c4=_0x4451c4-0xa9;var _0x4bf4e5=_0x58d966[_0x4451c4];return _0x4bf4e5;},_0x4451(_0x13226c,_0x5cf809);}const lr={'id':_0x27bacb['id'],'type':_0x368d91[_0xf95350(0x261)],'params':{}};var ur=Object['defineProperty'],dr=Object[_0xf95350(0x1b5)],be=(_0x34e0f4,_0x1624cd,_0x260ae3,_0x2c6e5c)=>{var _0x319682=_0xf95350;for(var _0x207ea1=_0x2c6e5c>0x1?void 0x0:_0x2c6e5c?dr(_0x1624cd,_0x260ae3):_0x1624cd,_0xacab4c=_0x34e0f4[_0x319682(0x131)]-0x1,_0x46946e;_0xacab4c>=0x0;_0xacab4c--)(_0x46946e=_0x34e0f4[_0xacab4c])&&(_0x207ea1=(_0x2c6e5c?_0x46946e(_0x1624cd,_0x260ae3,_0x207ea1):_0x46946e(_0x207ea1))||_0x207ea1);return _0x2c6e5c&&_0x207ea1&&ur(_0x1624cd,_0x260ae3,_0x207ea1),_0x207ea1;},A=(_0x2f2d20,_0x508a0b)=>(_0x3a4b46,_0x27af83)=>_0x508a0b(_0x3a4b46,_0x27af83,_0x2f2d20),yi=(_0x2bbf80=>(_0x2bbf80[_0xf95350(0x1aa)]='not_collab',_0x2bbf80['SYNCED']=_0xf95350(0x230),_0x2bbf80[_0xf95350(0x134)]=_0xf95350(0x200),_0x2bbf80[_0xf95350(0x260)]=_0xf95350(0x278),_0x2bbf80[_0xf95350(0x31e)]='awaiting_with_pending',_0x2bbf80['FETCH_MISS']=_0xf95350(0x3a7),_0x2bbf80['CONFLICT']=_0xf95350(0x2d3),_0x2bbf80[_0xf95350(0x188)]='offline',_0x2bbf80))(yi||{});const Ni=0xea60;class Re{constructor(_0x54683b,_0x5055b5,_0x3f2d5f,_0x4737c0,_0x3174d8,_0x1c08ce,_0x15e308,_0x3d1336,_0x1d6dee){var _0x4ed560=_0xf95350;N(this,_0x4ed560(0x34d),null),N(this,_0x4ed560(0x2af),[]),(this[_0x4ed560(0x17e)]=_0x54683b,this[_0x4ed560(0x2fd)]=_0x5055b5,this[_0x4ed560(0xf1)]=_0x3174d8,this[_0x4ed560(0x2e7)]=_0x1c08ce,this[_0x4ed560(0x14e)]=_0x15e308,this['_revisionService']=_0x3d1336,this[_0x4ed560(0x1a1)]=_0x1d6dee,this['_awaitingChangeset']=_0x3f2d5f,this[_0x4ed560(0x2af)]=_0x4737c0);}[_0xf95350(0x392)](_0x1dc91f){var _0x27138c=_0xf95350;const _0x3e2335=this[_0x27138c(0x1e0)][_0x27138c(0x145)](this['unitID']);return _0x1dc91f['revision']>_0x3e2335+0x1?(this[_0x27138c(0xf1)][_0x27138c(0x122)]({'from':_0x3e2335,'to':_0x1dc91f[_0x27138c(0x235)]-0x1}),!0x0):!0x1;}[_0xf95350(0x14a)](_0x2df9fd){var _0x76d864=_0xf95350;this[_0x76d864(0x14e)][_0x76d864(0x224)](this[_0x76d864(0x17e)],_0x2df9fd);}[_0xf95350(0x156)](_0x557d56){var _0x1e9199=_0xf95350,_0x51baa9,_0x15dd1e;(_0x15dd1e=(_0x51baa9=this[_0x1e9199(0xf1)])[_0x1e9199(0x398)])==null||_0x15dd1e[_0x1e9199(0x2d8)](_0x51baa9,_0x557d56);}['_transformIMECache'](_0x1f3185){var _0x1c4617=_0xf95350,_0x7c8061,_0x185ea7;return(_0x185ea7=(_0x7c8061=this[_0x1c4617(0xf1)])[_0x1c4617(0x19d)])==null?void 0x0:_0x185ea7[_0x1c4617(0x2d8)](_0x7c8061,_0x1f3185);}[_0xf95350(0x294)](_0x4fe047){var _0x37e49c=_0xf95350,_0xc4ebb2,_0x27f96d;return(_0x27f96d=(_0xc4ebb2=this[_0x37e49c(0xf1)])[_0x37e49c(0x2a1)])==null?void 0x0:_0x27f96d['call'](_0xc4ebb2,_0x4fe047);}['_transformRemoteChangesetByIMECache'](_0x182075){var _0x8f28be=_0xf95350,_0x2ee2a6,_0x2d781e,_0x5e8c71;return(_0x5e8c71=(_0x2d781e=(_0x2ee2a6=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2d781e[_0x8f28be(0x2d8)](_0x2ee2a6,_0x182075))!=null?_0x5e8c71:_0x182075;}[_0xf95350(0x234)](_0x5ebc0a){var _0x30c8d4=_0xf95350,_0x46e927,_0x3a9654,_0x26fd7e;return(_0x26fd7e=(_0x3a9654=(_0x46e927=this[_0x30c8d4(0xf1)])[_0x30c8d4(0x16f)])==null?void 0x0:_0x3a9654[_0x30c8d4(0x2d8)](_0x46e927,_0x5ebc0a))!=null?_0x26fd7e:_0x5ebc0a;}['_syncEditingCollabCursor'](_0x26f6b2){var _0x4acc4a=_0xf95350,_0x174055,_0x1a325e;if(this[_0x4acc4a(0x2fd)]===Q[_0x4acc4a(0x2df)]){const {unitID:_0x5069b5,mutations:_0x3278bb,memberID:_0x50768b}=_0x26f6b2,_0x35e2f8=_0x3278bb[0x0][_0x4acc4a(0x39e)][_0x4acc4a(0x20c)];Array[_0x4acc4a(0x28e)](_0x35e2f8)&&_0x35e2f8[_0x4acc4a(0x131)]>0x0&&((_0x1a325e=(_0x174055=this[_0x4acc4a(0xf1)])[_0x4acc4a(0x2f1)])==null||_0x1a325e[_0x4acc4a(0x2d8)](_0x174055,{'unitID':_0x5069b5,'memberID':_0x50768b,'textRanges':_0x35e2f8}));}}['_updateLocalCache'](){var _0x44a9f9=_0xf95350,_0x1fab6c;(_0x1fab6c=this[_0x44a9f9(0x1a1)])==null||_0x1fab6c[_0x44a9f9(0x292)](this[_0x44a9f9(0x17e)],this[_0x44a9f9(0x2fd)],this[_0x44a9f9(0x34d)],this[_0x44a9f9(0x2af)]);}['_getCurrentRevision'](){var _0x17bc23=_0xf95350;return this[_0x17bc23(0x1e0)][_0x17bc23(0x145)](this[_0x17bc23(0x17e)]);}['_incrementRevisionNumber'](){var _0x1e64e0=_0xf95350;this['_revisionService'][_0x1e64e0(0x28b)](this['unitID']);}[_0xf95350(0x232)](_0x10e5dc){var _0x552423=_0xf95350,_0x293303;let _0x15efa2=this[_0x552423(0x356)](_0x10e5dc);_0x15efa2=this[_0x552423(0x234)](_0x15efa2);const _0x302523=_0x4370f1(_0x15efa2[_0x552423(0x20f)],this[_0x552423(0x2e7)],{'fromCollab':!0x0});if(!_0x302523[_0x552423(0xef)])throw _0x302523['error']instanceof Error?_0x302523[_0x552423(0x32c)]:new Error((_0x293303=_0x302523[_0x552423(0x32c)])!=null?_0x293303:'[CollaborationState]:\x20apply\x20error!');this[_0x552423(0x1b0)](_0x15efa2),this[_0x552423(0x294)](_0x15efa2),this[_0x552423(0x14a)](_0x10e5dc),this[_0x552423(0x156)](_0x15efa2),this[_0x552423(0x379)](_0x15efa2),this[_0x552423(0x2ba)]();}}let De=class extends Re{constructor(_0x150d23,_0xe4fb1f,_0x1c51a4,_0x1b5f26,_0x54023a,_0x48deff,_0x5deb89,_0x1053a9,_0x193807,_0x38e0dd){var _0xe1c7ae=_0xf95350;super(_0x150d23,_0xe4fb1f,null,[],_0x1c51a4,_0x5deb89,_0x48deff,_0x1b5f26,_0x38e0dd),N(this,_0xe1c7ae(0x1fd),_0xe1c7ae(0x230)),(this[_0xe1c7ae(0x2fe)]=_0x54023a,this[_0xe1c7ae(0x29f)]=_0x1053a9,this[_0xe1c7ae(0x16c)]=_0x193807,this[_0xe1c7ae(0x168)]=_0x38e0dd);}[_0xf95350(0x1fb)](_0x23f3ee){var _0x27a92b=_0xf95350;const _0x1c5a9c=this['_injector'][_0x27a92b(0xf6)](oe,this[_0x27a92b(0x17e)],this['type'],[_0x23f3ee],this['_handler']);return _0x1c5a9c[_0x27a92b(0x37a)](),_0x1c5a9c['_updateLocalCache'](),_0x1c5a9c;}[_0xf95350(0x143)](_0x4203eb){var _0x3a3f3b=_0xf95350;if(this[_0x3a3f3b(0x392)](_0x4203eb))return this[_0x3a3f3b(0x2fe)][_0x3a3f3b(0xf6)](te,this[_0x3a3f3b(0x17e)],this['type'],null,[],null,[_0x4203eb],this[_0x3a3f3b(0xf1)]);try{const _0x2c1623=this['_transformService'][_0x3a3f3b(0x11c)](_0x4203eb,[lr]);if(_0x5e1805(_0x2c1623)){const {c1Prime:_0x13df57}=_0x2c1623;return this[_0x3a3f3b(0x232)](_0x13df57),this;}throw _0x2c1623[_0x3a3f3b(0x32c)];}catch(_0x3e4b7f){return this[_0x3a3f3b(0x29f)][_0x3a3f3b(0x32c)](_0x3e4b7f),this[_0x3a3f3b(0xaa)](!0x1);}}[_0xf95350(0xaa)](_0x24a9d6){var _0x2b409f=_0xf95350;return this[_0x2b409f(0x2fe)][_0x2b409f(0xf6)](de,this[_0x2b409f(0x17e)],this[_0x2b409f(0x2fd)],null,[],this[_0x2b409f(0xf1)],_0x24a9d6);}[_0xf95350(0x257)](){var _0x120f93=_0xf95350;throw new Error(_0x120f93(0x2cd));}[_0xf95350(0x1fc)](){var _0x3ea970=_0xf95350;throw new Error(_0x3ea970(0x34a));}[_0xf95350(0x318)](){return this;}[_0xf95350(0x289)](){var _0x6e470=_0xf95350;return this[_0x6e470(0x2fe)][_0x6e470(0xf6)](fe,this[_0x6e470(0x17e)],this[_0x6e470(0x2fd)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xf95350(0xe2)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf95350(0x36f)](){var _0x52abfb=_0xf95350;const _0xf7fd67=this[_0x52abfb(0x1e0)][_0x52abfb(0x145)](this['unitID']);return this[_0x52abfb(0xf1)][_0x52abfb(0x122)]({'from':_0xf7fd67,'to':0x0}),this[_0x52abfb(0x2fe)][_0x52abfb(0xf6)](te,this[_0x52abfb(0x17e)],this[_0x52abfb(0x2fd)],null,[],null,[],this[_0x52abfb(0xf1)]);}};De=be([A(0x3,_0x1f377b(_0x3aeefc)),A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x122feb),A(0x6,_0x16ead5),A(0x7,_0x2cd95e),A(0x8,_0xd312f2),A(0x9,_0x36e3d4(J))],De);let oe=class extends Re{constructor(_0x4e1cf4,_0x22d169,_0x30d237,_0x300477,_0x419662,_0x3150b3,_0x5ac144,_0x3effee,_0x3e2ec8,_0x312401,_0xb80aa3,_0x3894f7,_0x38ebed,_0x288679){var _0x5a507c=_0xf95350;super(_0x4e1cf4,_0x22d169,null,_0x30d237,_0x300477,_0x3e2ec8,_0x38ebed,_0x3150b3,_0x288679),N(this,_0x5a507c(0x1fd),_0x5a507c(0x200)),N(this,_0x5a507c(0x10d),null),N(this,_0x5a507c(0x360),null),(this[_0x5a507c(0x2fe)]=_0x419662,this[_0x5a507c(0x372)]=_0x5ac144,this[_0x5a507c(0x29f)]=_0x3effee,this[_0x5a507c(0x215)]=_0x312401,this['_transformService']=_0xb80aa3,this[_0x5a507c(0x2e3)]=_0x3894f7);}[_0xf95350(0x1fb)](_0x3a8b01){var _0x250a8a=_0xf95350;return this[_0x250a8a(0x2af)][_0x250a8a(0x2e0)](_0x3a8b01),this[_0x250a8a(0xdc)](),this;}[_0xf95350(0x143)](_0x48d539){var _0x2ec1fe=_0xf95350;if(this[_0x2ec1fe(0x392)](_0x48d539))return this[_0x2ec1fe(0x196)](),this[_0x2ec1fe(0x2fe)]['createInstance'](te,this[_0x2ec1fe(0x17e)],this['type'],null,this['_pendingMutations'],null,[_0x48d539],this['_handler']);try{const _0x3fd5f1=this[_0x2ec1fe(0x16c)]['transformMutationsWithChangeset'](_0x48d539,this[_0x2ec1fe(0x2af)]);if(_0x5e1805(_0x3fd5f1)){const {c1Prime:_0x5cefb8,m2Prime:_0x44b1b4}=_0x3fd5f1;this[_0x2ec1fe(0x232)](_0x5cefb8);const _0x5bf7be=this[_0x2ec1fe(0x2fe)][_0x2ec1fe(0xf6)](oe,this['unitID'],this[_0x2ec1fe(0x2fd)],_0x44b1b4,this['_handler']);this[_0x2ec1fe(0x196)]();const _0x1bf885=new Date()['getTime'](),_0x20a012=this[_0x2ec1fe(0x10d)]?Math['max'](this[_0x2ec1fe(0x10d)]-_0x1bf885,0x0):this[_0x2ec1fe(0x1cd)]();return _0x5bf7be['_schedule'](_0x20a012),_0x5bf7be;}throw _0x3fd5f1['error'];}catch(_0x1ef380){return this['_logService'][_0x2ec1fe(0x32c)](_0x1ef380),this[_0x2ec1fe(0xaa)](!0x1);}}[_0xf95350(0x257)](){var _0x471b82=_0xf95350;throw new Error(_0x471b82(0x28f));}['onRemoteRej'](){var _0x201e03=_0xf95350;throw new Error(_0x201e03(0x291));}[_0xf95350(0x318)](){return this;}[_0xf95350(0x289)](){var _0x4d85b3=_0xf95350;return this['_clearScheduledTask'](),this[_0x4d85b3(0x2fe)][_0x4d85b3(0xf6)](fe,this[_0x4d85b3(0x17e)],this['type'],null,this[_0x4d85b3(0x2af)],this[_0x4d85b3(0xf1)]);}['toggleOnline'](){return this;}[_0xf95350(0x37a)](_0x5d7621){var _0x5e801d=_0xf95350;const _0x5055cf=_0x5d7621!=null?_0x5d7621:this['_getSendChangesetTimeout']();this[_0x5e801d(0x10d)]=new Date()[_0x5e801d(0x21f)]()+_0x5055cf,this[_0x5e801d(0x360)]=setTimeout(()=>{var _0x58f6dd=_0x5e801d;this[_0x58f6dd(0x196)]();let _0x1c69bd=null;switch(this[_0x58f6dd(0x2fd)]){case Q[_0x58f6dd(0xda)]:{_0x1c69bd=zt(this[_0x58f6dd(0x2af)],this[_0x58f6dd(0x17e)],this[_0x58f6dd(0x2e3)],this['_revisionService'],this[_0x58f6dd(0x372)]);break;}case Q[_0x58f6dd(0x2df)]:{this[_0x58f6dd(0x2af)][_0x58f6dd(0x245)](_0x1831b2=>_0x1831b2['id']===_0x775ef5['id'])?_0x1c69bd=_r(this[_0x58f6dd(0x2af)],this['unitID'],this['_univerInstanceService'],this[_0x58f6dd(0x1e0)],this[_0x58f6dd(0x372)]):_0x1c69bd=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x58f6dd(0x372)]);break;}default:throw new Error(_0x58f6dd(0xb7)+this[_0x58f6dd(0x2fd)]+_0x58f6dd(0xbe));}const {changeset:_0x4ca15b,pendingMutations:_0x513767}=_0x1c69bd;this[_0x58f6dd(0xf1)][_0x58f6dd(0x320)](_0x4ca15b);const _0x227587=_0x513767[_0x58f6dd(0x131)]?this['_injector'][_0x58f6dd(0xf6)](ae,this['unitID'],this[_0x58f6dd(0x2fd)],_0x4ca15b,_0x513767,this[_0x58f6dd(0xf1)],void 0x0):this[_0x58f6dd(0x2fe)][_0x58f6dd(0xf6)](ue,this[_0x58f6dd(0x17e)],this[_0x58f6dd(0x2fd)],_0x4ca15b,this['_handler']);_0x227587['_updateLocalCache'](),this[_0x58f6dd(0xf1)]['onStateChange'](this,_0x227587);},_0x5055cf);}['_getSendChangesetTimeout'](){var _0x1c1d00=_0xf95350,_0x3ed057;const _0x20aedf=this[_0x1c1d00(0x215)][_0x1c1d00(0x1ab)](q);return(_0x3ed057=_0x20aedf==null?void 0x0:_0x20aedf['sendChangesetTimeout'])!=null?_0x3ed057:Ts;}[_0xf95350(0xe2)](){var _0x2c3193=_0xf95350;throw new Error(_0x2c3193(0x2c8));}['_clearScheduledTask'](){var _0x31761c=_0xf95350;this[_0x31761c(0x360)]!=null&&(clearTimeout(this[_0x31761c(0x360)]),this[_0x31761c(0x360)]=null);}['_onConflict'](_0x33548f){var _0x3394a6=_0xf95350;return this[_0x3394a6(0x196)](),this['_injector'][_0x3394a6(0xf6)](de,this['unitID'],this[_0x3394a6(0x2fd)],null,this[_0x3394a6(0x2af)],this[_0x3394a6(0xf1)],_0x33548f);}};oe=be([A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x1f377b(_0x3aeefc)),A(0x6,_0x1f377b(xe)),A(0x7,_0x2cd95e),A(0x8,_0x16ead5),A(0x9,_0x4ef789),A(0xa,_0xd312f2),A(0xb,_0x4accb0),A(0xc,_0x122feb),A(0xd,_0x36e3d4(J))],oe);let ue=class extends Re{constructor(_0x3888b7,_0x1e57b1,_0xd97cc7,_0x2b1d89,_0x5dbfd3,_0x4a2f47,_0x25fb56,_0x496002,_0x5e30d9,_0x4fb7b3,_0x3e09ee){var _0x336a38=_0xf95350;super(_0x3888b7,_0x1e57b1,_0xd97cc7,[],_0x2b1d89,_0x25fb56,_0x4fb7b3,_0x4a2f47,_0x3e09ee),N(this,_0x336a38(0x1fd),'awaiting'),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x336a38(0x2fe)]=_0x5dbfd3,this['_logService']=_0x496002,this[_0x336a38(0x16c)]=_0x5e30d9);}['appendMutation'](_0x2731c9){var _0x1076bb=_0xf95350;this[_0x1076bb(0x196)]();const _0x56851d=this['_injector'][_0x1076bb(0xf6)](ae,this[_0x1076bb(0x17e)],this['type'],this['_awaitingChangeset'],[_0x2731c9],this[_0x1076bb(0xf1)],this[_0x1076bb(0x1ee)]);return _0x56851d[_0x1076bb(0xdc)](),_0x56851d;}[_0xf95350(0x143)](_0x5ab113){var _0x4a717a=_0xf95350;if(this[_0x4a717a(0x392)](_0x5ab113))return this[_0x4a717a(0x196)](),this[_0x4a717a(0x2fe)][_0x4a717a(0xf6)](te,this[_0x4a717a(0x17e)],this['type'],this[_0x4a717a(0x34d)],[],null,[_0x5ab113],this['_handler']);try{const _0x1453f0=this[_0x4a717a(0x16c)][_0x4a717a(0x180)]([_0x5ab113],[this[_0x4a717a(0x34d)]],!0x1);if(_0x337292(_0x1453f0)){const {c1Prime:_0x369c9d,c2Prime:_0x53fc9a}=_0x1453f0;this[_0x4a717a(0x232)](_0x369c9d[0x0]),_0x53fc9a[0x0]['baseRev']=this[_0x4a717a(0x2f8)](),this[_0x4a717a(0x196)]();const _0x266c81=this[_0x4a717a(0x2fe)][_0x4a717a(0xf6)](ue,this[_0x4a717a(0x17e)],this[_0x4a717a(0x2fd)],_0x53fc9a[0x0],this[_0x4a717a(0xf1)]);return _0x266c81['_updateLocalCache'](),_0x266c81;}return this[_0x4a717a(0xaa)](!0x1);}catch(_0x32b4da){return this['_logService'][_0x4a717a(0x32c)](_0x32b4da),this[_0x4a717a(0xaa)](!0x1);}}[_0xf95350(0x257)](_0x47c4bd){var _0x113ae3=_0xf95350;this['_clearScheduledTask']();const _0x35f7ca=this[_0x113ae3(0x1e0)][_0x113ae3(0x145)](this[_0x113ae3(0x17e)]);if(_0x47c4bd[_0x113ae3(0x235)]<_0x35f7ca-0x1)return this;if(this[_0x113ae3(0x392)](_0x47c4bd))return this[_0x113ae3(0x2fe)]['createInstance'](te,this['unitID'],this[_0x113ae3(0x2fd)],null,[],this['_awaitingChangeset'],[],this[_0x113ae3(0xf1)]);this[_0x113ae3(0x2ba)]();const _0x4307e4=this['_injector'][_0x113ae3(0xf6)](De,this[_0x113ae3(0x17e)],this['type'],this[_0x113ae3(0xf1)]);return _0x4307e4['_updateLocalCache'](),_0x4307e4;}[_0xf95350(0x1fc)](_0x5901ca){var _0x502ddd=_0xf95350;return this[_0x502ddd(0xaa)](!!(_0x5901ca!=null&&_0x5901ca[_0x502ddd(0x389)]));}[_0xf95350(0x318)](_0x2781b7){var _0x2aa2af=_0xf95350;return this['_resendTimeout']>Ni?this[_0x2aa2af(0x289)]():(this[_0x2aa2af(0x1ee)]=Oi(this['_resendTimeout'],{'timeout':this[_0x2aa2af(0x1c9)],'reqId':_0x2781b7[_0x2aa2af(0xea)]}),this[_0x2aa2af(0x105)]=this[_0x2aa2af(0x1ee)][_0x2aa2af(0x2f6)](({reqId:_0x1dbbfc,timeout:_0x320176})=>{var _0x55c579=_0x2aa2af;this[_0x55c579(0x32e)](_0x1dbbfc,_0x320176);}),this);}[_0xf95350(0x289)](){var _0x42b1ff=_0xf95350;return this[_0x42b1ff(0x196)](),this[_0x42b1ff(0x2fe)][_0x42b1ff(0xf6)](fe,this[_0x42b1ff(0x17e)],this[_0x42b1ff(0x2fd)],this[_0x42b1ff(0x34d)],[],this[_0x42b1ff(0xf1)]);}[_0xf95350(0x2bc)](){return this;}[_0xf95350(0xe2)](){var _0x43de29=_0xf95350;this[_0x43de29(0xf1)]['onSendChangeset'](this[_0x43de29(0x34d)]);}[_0xf95350(0xaa)](_0x2e726c){var _0x5c7a35=_0xf95350;return this[_0x5c7a35(0x196)](),this[_0x5c7a35(0x2fe)][_0x5c7a35(0xf6)](de,this[_0x5c7a35(0x17e)],this['type'],this[_0x5c7a35(0x34d)],[],this[_0x5c7a35(0xf1)],_0x2e726c);}[_0xf95350(0x32e)](_0x953997,_0x4ad904){var _0x37a9e7=_0xf95350,_0x1f6c03;_0x953997===((_0x1f6c03=this['_awaitingChangeset'])==null?void 0x0:_0x1f6c03[_0x37a9e7(0xea)])&&(this[_0x37a9e7(0xe2)](),this[_0x37a9e7(0x1c9)]=_0x4ad904===0x0?0x3e8:_0x4ad904*0x2);}[_0xf95350(0x196)](){var _0x34ec72=_0xf95350,_0x234459;(_0x234459=this[_0x34ec72(0x105)])==null||_0x234459['unsubscribe'](),this[_0x34ec72(0x1c9)]=0x0;}};ue=be([A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x1f377b(_0x3aeefc)),A(0x6,_0x16ead5),A(0x7,_0x2cd95e),A(0x8,_0xd312f2),A(0x9,_0x122feb),A(0xa,_0x36e3d4(J))],ue);let ae=class extends Re{constructor(_0x1726c4,_0x871a6a,_0x5013c3,_0x38b8d3,_0x58047a,_0xb9a22,_0x3358f2,_0x4b9b6f,_0x313f51,_0x3bf4fd,_0x48aa53,_0x5ce115,_0x10d697){var _0x3da347=_0xf95350;super(_0x1726c4,_0x871a6a,_0x5013c3,_0x38b8d3,_0x58047a,_0x313f51,_0x5ce115,_0x4b9b6f,_0x10d697),N(this,_0x3da347(0x1fd),'awaiting_with_pending'),N(this,_0x3da347(0x1c9),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3da347(0x2fe)]=_0x3358f2,this[_0x3da347(0x29f)]=_0x3bf4fd,this['_transformService']=_0x48aa53,this[_0x3da347(0x168)]=_0x10d697,_0xb9a22&&(this[_0x3da347(0x1ee)]=_0xb9a22,this[_0x3da347(0x105)]=this['_resendTimer'][_0x3da347(0x2f6)](({reqId:_0x3af4f6,timeout:_0x1e8b78})=>{var _0x12edc0=_0x3da347;this[_0x12edc0(0x32e)](_0x3af4f6,_0x1e8b78);})));}[_0xf95350(0x1fb)](_0x298cf5){var _0x4bfed0=_0xf95350;return this['_pendingMutations'][_0x4bfed0(0x2e0)](_0x298cf5),this;}[_0xf95350(0x143)](_0x362017){var _0x3d453e=_0xf95350;if(this[_0x3d453e(0x392)](_0x362017))return this[_0x3d453e(0x196)](),this[_0x3d453e(0x2fe)][_0x3d453e(0xf6)](te,this[_0x3d453e(0x17e)],this[_0x3d453e(0x2fd)],this[_0x3d453e(0x34d)],this['_pendingMutations'],null,[_0x362017],this['_handler']);try{const _0x39dc23=this['_transformService'][_0x3d453e(0x180)]([_0x362017],[this[_0x3d453e(0x34d)]],!0x1);if(_0x337292(_0x39dc23)){const {c1Prime:_0x2f549c,c2Prime:_0x1bca02}=_0x39dc23,_0x52f5f8=this[_0x3d453e(0x16c)][_0x3d453e(0x11c)](_0x2f549c[0x0],this[_0x3d453e(0x2af)]);if(_0x5e1805(_0x52f5f8)){const {c1Prime:_0x1991a3,m2Prime:_0x125915}=_0x52f5f8;return this[_0x3d453e(0x232)](_0x1991a3),_0x1bca02[0x0][_0x3d453e(0x2b3)]=this[_0x3d453e(0x2f8)](),this[_0x3d453e(0x196)](),this[_0x3d453e(0x2fe)][_0x3d453e(0xf6)](ae,this[_0x3d453e(0x17e)],this[_0x3d453e(0x2fd)],_0x1bca02[0x0],_0x125915,this[_0x3d453e(0xf1)],void 0x0);}throw _0x52f5f8[_0x3d453e(0x32c)];}throw _0x39dc23[_0x3d453e(0x32c)];}catch(_0x10472e){return this[_0x3d453e(0x29f)][_0x3d453e(0x32c)](_0x10472e),this[_0x3d453e(0xaa)](!0x1);}}[_0xf95350(0x257)](_0xd08b55){var _0x3e5dd9=_0xf95350;if(this[_0x3e5dd9(0x196)](),this[_0x3e5dd9(0x392)](_0xd08b55))return this['_injector'][_0x3e5dd9(0xf6)](te,this[_0x3e5dd9(0x17e)],this[_0x3e5dd9(0x2fd)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x11cf15=this[_0x3e5dd9(0x2fe)]['createInstance'](oe,this[_0x3e5dd9(0x17e)],this[_0x3e5dd9(0x2fd)],this[_0x3e5dd9(0x2af)],this['_handler']);return _0x11cf15[_0x3e5dd9(0x37a)](),_0x11cf15[_0x3e5dd9(0xdc)](),_0x11cf15;}['onRemoteRej'](_0x360b07){var _0x5e434a=_0xf95350;return this[_0x5e434a(0xaa)](!!(_0x360b07!=null&&_0x360b07[_0x5e434a(0x389)]));}[_0xf95350(0x318)](_0x1b5749){var _0x5df087=_0xf95350;return this[_0x5df087(0x1c9)]>Ni?this[_0x5df087(0x289)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x5df087(0x1c9)],'reqId':_0x1b5749['reqId']}),this[_0x5df087(0x105)]=this[_0x5df087(0x1ee)][_0x5df087(0x2f6)](({reqId:_0x5a856d,timeout:_0xbe68d7})=>{var _0x13a6c8=_0x5df087;this[_0x13a6c8(0x32e)](_0x5a856d,_0xbe68d7);}),this);}[_0xf95350(0x289)](){var _0x2e845e=_0xf95350;return this[_0x2e845e(0x196)](),this[_0x2e845e(0x2fe)]['createInstance'](fe,this['unitID'],this['type'],this[_0x2e845e(0x34d)],this['_pendingMutations'],this[_0x2e845e(0xf1)]);}['toggleOnline'](){return this;}['resend'](){var _0x2fdf9d=_0xf95350;this[_0x2fdf9d(0xf1)][_0x2fdf9d(0x320)](this['_awaitingChangeset']);}[_0xf95350(0xaa)](_0x523973){var _0xf0f859=_0xf95350;return this[_0xf0f859(0x196)](),this[_0xf0f859(0x2fe)]['createInstance'](de,this[_0xf0f859(0x17e)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x523973);}[_0xf95350(0x32e)](_0x162564,_0xc4c71a){var _0x40e628=_0xf95350,_0x17ac10;_0x162564===((_0x17ac10=this[_0x40e628(0x34d)])==null?void 0x0:_0x17ac10[_0x40e628(0xea)])&&(this[_0x40e628(0xe2)](),this['_resendTimeout']=_0xc4c71a===0x0?0x3e8:_0xc4c71a*0x2);}[_0xf95350(0x196)](){var _0xd504d0=_0xf95350,_0x1c4721;(_0x1c4721=this['_sender'])==null||_0x1c4721[_0xd504d0(0x2e8)](),this[_0xd504d0(0x1c9)]=0x0;}};ae=be([A(0x6,_0x1f377b(_0x459b1e)),A(0x7,_0x1f377b(_0x3aeefc)),A(0x8,_0x16ead5),A(0x9,_0x2cd95e),A(0xa,_0xd312f2),A(0xb,_0x122feb),A(0xc,_0x36e3d4(J))],ae);let de=class extends Re{constructor(_0x29cf9e,_0x26fe23,_0x4d9af7,_0x2d54d5,_0x1b678c,_0x27ef8b=!0x1,_0x566038,_0x17f994,_0x16c514,_0x23af16,_0x4774e6,_0x5d0183,_0xad46a8){var _0x1b45cd=_0xf95350;super(_0x29cf9e,_0x26fe23,_0x4d9af7,_0x2d54d5,_0x1b678c,_0x17f994,_0x16c514,_0x23af16,_0xad46a8),N(this,_0x1b45cd(0x1fd),_0x1b45cd(0x2d3)),(this['_isPermissionRej']=_0x27ef8b,this[_0x1b45cd(0xff)]=_0x566038,this[_0x1b45cd(0x189)]=_0x4774e6,this['_collaborationUIEventService']=_0x5d0183,this[_0x1b45cd(0x168)]=_0xad46a8,this[_0x1b45cd(0x272)](),this[_0x1b45cd(0xc9)](),this[_0x1b45cd(0xb9)]());}[_0xf95350(0x1fb)](){return this;}[_0xf95350(0x143)](){return this;}[_0xf95350(0x257)](){return this;}[_0xf95350(0x1fc)](){return this;}[_0xf95350(0x318)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xf95350(0xe2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x133f5e=_0xf95350,_0x4f330e;(_0x4f330e=this[_0x133f5e(0x1a1)])==null||_0x4f330e[_0x133f5e(0x292)](this[_0x133f5e(0x17e)],this['type'],null,[]);}['_showConflictNotification'](){var _0x33700d=_0xf95350;this[_0x33700d(0x39c)]?this[_0x33700d(0xd4)][_0x33700d(0x354)]({'id':ne['PERMISSION_DENIED']}):this[_0x33700d(0xd4)]['emitEvent']({'id':ne[_0x33700d(0x2be)]});}[_0xf95350(0xb9)](){var _0x5ad808=_0xf95350;this[_0x5ad808(0xff)][_0x5ad808(0xfc)](new _0xf5ebb3(this[_0x5ad808(0x17e)])['id'],!0x1);}};de=be([A(0x6,_0x1f377b(_0x193a1a)),A(0x7,_0x16ead5),A(0x8,_0x122feb),A(0x9,_0x1f377b(_0x3aeefc)),A(0xa,_0x1f377b(_0x3b591c)),A(0xb,_0x1f377b(pe)),A(0xc,_0x36e3d4(J))],de);let fe=class extends Re{constructor(_0x3e1dd9,_0x5e0414,_0x1667f9,_0x4888ff,_0xbdc183,_0x473001,_0x5d9d64,_0x116491,_0x420d28,_0x2d3048){var _0x538c89=_0xf95350;super(_0x3e1dd9,_0x5e0414,_0x1667f9,_0x4888ff,_0xbdc183,_0x116491,_0x420d28,_0x5d9d64,_0x2d3048),N(this,'status',_0x538c89(0x13b)),this[_0x538c89(0x2fe)]=_0x473001;}[_0xf95350(0x1fb)](_0x5c6d9a){var _0x5ce956=_0xf95350;return this[_0x5ce956(0x2af)]['push'](_0x5c6d9a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2a48a7){var _0x458fc4=_0xf95350;throw new Error(_0x458fc4(0x305));}[_0xf95350(0x257)](){var _0x3e1abb=_0xf95350;throw new Error(_0x3e1abb(0x27a));}[_0xf95350(0x1fc)](){var _0x14ce0f=_0xf95350;throw new Error(_0x14ce0f(0x3a2));}['onRemoteRetry'](){return this;}[_0xf95350(0x289)](){return this;}[_0xf95350(0x2bc)](){var _0x17acb1=_0xf95350;const {_injector:_0x5228fe,_pendingMutations:_0x1377f3,_awaitingChangeset:_0x3f90b6,unitID:_0x1c386f,_handler:_0x310db6,type:_0x1eb271}=this,_0x5e9bc3=Di(_0x5228fe,_0x1c386f,_0x1eb271,_0x3f90b6,_0x1377f3,_0x310db6);return _0x5e9bc3 instanceof oe?_0x5e9bc3[_0x17acb1(0x37a)]():(_0x5e9bc3 instanceof ae||_0x5e9bc3 instanceof ue)&&_0x5e9bc3[_0x17acb1(0xe2)](),_0x5e9bc3;}[_0xf95350(0xe2)](){var _0x215955=_0xf95350;throw new Error(_0x215955(0x37c));}};fe=be([A(0x5,_0x1f377b(_0x459b1e)),A(0x6,_0x1f377b(_0x3aeefc)),A(0x7,_0x16ead5),A(0x8,_0x122feb),A(0x9,_0x36e3d4(J))],fe);let te=class extends Re{constructor(_0x46c512,_0x40699,_0x1bdb00,_0x462b0b,_0x37f394,_0x23830b,_0x26a499,_0x675c53,_0x57ed6c,_0x79ba1,_0x48d425,_0x5ae0dd,_0x1a3a88,_0x38fbdc){var _0x5c0066=_0xf95350;super(_0x46c512,_0x40699,_0x1bdb00,_0x462b0b,_0x26a499,_0x48d425,_0x5ae0dd,_0x57ed6c,_0x38fbdc),N(this,_0x5c0066(0x1fd),_0x5c0066(0x3a7)),(this[_0x5c0066(0x290)]=_0x37f394,this[_0x5c0066(0x204)]=_0x23830b,this['_injector']=_0x675c53,this['_logService']=_0x79ba1,this[_0x5c0066(0x16c)]=_0x1a3a88,this[_0x5c0066(0x168)]=_0x38fbdc);}[_0xf95350(0x213)](_0xb3fca2){var _0x42730c=_0xf95350;try{const _0xa3c93e=[..._0xb3fca2,...this[_0x42730c(0x204)]],_0x2b2da9=[this['_awaitingChangeset']||this[_0x42730c(0x290)]]['filter'](_0x57d454=>!!_0x57d454);let _0xe5f136,_0x55c20d;if(_0x2b2da9[_0x42730c(0x131)]){const _0x29b050=this['_transformService'][_0x42730c(0x180)](_0xa3c93e,_0x2b2da9,!0x1);if(!_0x337292(_0x29b050))throw _0x29b050[_0x42730c(0x32c)];_0xe5f136=_0x29b050[_0x42730c(0x121)],_0x55c20d=_0x29b050[_0x42730c(0x393)];}else _0xe5f136=_0xa3c93e,_0x55c20d=[];let _0x2f651a=this['_pendingMutations'];_0xe5f136[_0x42730c(0x362)](_0x41217c=>{var _0x44576f=_0x42730c;let _0x28697d;if(_0x2f651a['length']){const _0x38a962=this[_0x44576f(0x16c)][_0x44576f(0x11c)](_0x41217c,_0x2f651a);if(!_0x5e1805(_0x38a962))throw _0x38a962[_0x44576f(0x32c)];_0x28697d=_0x38a962[_0x44576f(0x121)],_0x2f651a=_0x38a962[_0x44576f(0x16b)];}else _0x28697d=_0x41217c;this[_0x44576f(0x232)](_0x28697d);}),this[_0x42730c(0x290)]&&this[_0x42730c(0x2ba)](),this[_0x42730c(0x34d)]&&_0x55c20d['length']&&(_0x55c20d[0x0][_0x42730c(0x2b3)]=this[_0x42730c(0x2f8)]());let _0x151ddb;if(this[_0x42730c(0x34d)]&&_0x2f651a[_0x42730c(0x131)]!==0x0)_0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](ae,this[_0x42730c(0x17e)],this[_0x42730c(0x2fd)],_0x55c20d[0x0],_0x2f651a,this['_handler'],void 0x0);else{if(this[_0x42730c(0x34d)]&&_0x2f651a['length']===0x0)_0x55c20d[0x0][_0x42730c(0x2b3)]=this[_0x42730c(0x2f8)](),_0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](ue,this[_0x42730c(0x17e)],this[_0x42730c(0x2fd)],_0x55c20d[0x0],this['_handler']);else{if(_0x2f651a['length']!==0x0){const _0x3b8926=this[_0x42730c(0x2fe)]['createInstance'](oe,this[_0x42730c(0x17e)],this['type'],_0x2f651a,this[_0x42730c(0xf1)]);_0x3b8926[_0x42730c(0x37a)](),_0x151ddb=_0x3b8926;}else _0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](De,this['unitID'],this[_0x42730c(0x2fd)],this[_0x42730c(0xf1)]);}}return _0x151ddb[_0x42730c(0xdc)](),_0x151ddb;}catch(_0x48ce77){return this[_0x42730c(0x29f)][_0x42730c(0x32c)](_0x42730c(0x209),_0x42730c(0x118),_0x48ce77),this[_0x42730c(0x2fe)][_0x42730c(0xf6)](de,this['unitID'],this[_0x42730c(0x2fd)],this['_awaitingChangeset'],this[_0x42730c(0x2af)],this[_0x42730c(0xf1)],!0x1);}}[_0xf95350(0xe2)](){var _0x15eca3=_0xf95350;throw new Error(_0x15eca3(0x3a0));}[_0xf95350(0x1fb)](_0x16921d){var _0x2d5c39=_0xf95350;return this[_0x2d5c39(0x2af)][_0x2d5c39(0x2e0)](_0x16921d),this;}['onRemoteChangeset'](_0x1c854e){var _0x17a127=_0xf95350;return this[_0x17a127(0x204)][_0x17a127(0x2e0)](_0x1c854e),this;}[_0xf95350(0x257)](_0x4ff885){var _0x557b27=_0xf95350;if(this[_0x557b27(0x34d)])return this[_0x557b27(0x290)]=this[_0x557b27(0x34d)],this[_0x557b27(0x34d)]=null,this;throw new Error(_0x557b27(0x13c));}[_0xf95350(0x1fc)](_0x2becbc){var _0x10fa0f=_0xf95350;return this[_0x10fa0f(0xaa)](!!(_0x2becbc!=null&&_0x2becbc[_0x10fa0f(0x389)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x15f7f1=_0xf95350;return this[_0x15f7f1(0x2fe)][_0x15f7f1(0xf6)](fe,this[_0x15f7f1(0x17e)],this[_0x15f7f1(0x2fd)],this['_awaitingChangeset'],this[_0x15f7f1(0x2af)],this['_handler']);}[_0xf95350(0x2bc)](){return this;}[_0xf95350(0xaa)](_0x5f2b2a){var _0x125846=_0xf95350;return this[_0x125846(0x2fe)][_0x125846(0xf6)](de,this[_0x125846(0x17e)],this['type'],this[_0x125846(0x34d)],this[_0x125846(0x2af)],this[_0x125846(0xf1)],_0x5f2b2a);}};te=be([A(0x7,_0x1f377b(_0x459b1e)),A(0x8,_0x1f377b(_0x3aeefc)),A(0x9,_0x2cd95e),A(0xa,_0x16ead5),A(0xb,_0x122feb),A(0xc,_0xd312f2),A(0xd,_0x36e3d4(J))],te);function Di(_0x12745e,_0xf85346,_0x257a19,_0x28a9f5,_0xae87c9,_0x567b49){var _0x4d682c=_0xf95350;return _0x28a9f5&&_0xae87c9[_0x4d682c(0x131)]?_0x12745e[_0x4d682c(0xf6)](ae,_0xf85346,_0x257a19,_0x28a9f5,_0xae87c9,_0x567b49,void 0x0):_0x28a9f5?_0x12745e[_0x4d682c(0xf6)](ue,_0xf85346,_0x257a19,_0x28a9f5,_0x567b49):_0xae87c9['length']?_0x12745e[_0x4d682c(0xf6)](oe,_0xf85346,_0x257a19,_0xae87c9,_0x567b49):_0x12745e[_0x4d682c(0xf6)](De,_0xf85346,_0x257a19,_0x567b49);}var fr=Object['defineProperty'],vr=Object[_0xf95350(0x1b5)],Lt=(_0x5585fa,_0x404d66,_0x53dc19,_0x56e200)=>{for(var _0x5b201a=_0x56e200>0x1?void 0x0:_0x56e200?vr(_0x404d66,_0x53dc19):_0x404d66,_0x49bebf=_0x5585fa['length']-0x1,_0x2f63f0;_0x49bebf>=0x0;_0x49bebf--)(_0x2f63f0=_0x5585fa[_0x49bebf])&&(_0x5b201a=(_0x56e200?_0x2f63f0(_0x404d66,_0x53dc19,_0x5b201a):_0x2f63f0(_0x5b201a))||_0x5b201a);return _0x56e200&&_0x5b201a&&fr(_0x404d66,_0x53dc19,_0x5b201a),_0x5b201a;},k=(_0xad4106,_0x1d6334)=>(_0x54cfb3,_0x490054)=>_0x1d6334(_0x54cfb3,_0x490054,_0xad4106);let st=class extends _0x426883{constructor(_0x2a53f3,_0x3902ac,_0x47a7e1,_0x68fa5,_0x3ab33b,_0x36221b,_0x25fbca,_0x19bf9f,_0x245c8a,_0x42456e,_0x104cd5,_0x5cbf00,_0xb3319){var _0x2aadd1=_0xf95350;super(),N(this,'_state$',new _0x26dbcc(null)),N(this,_0x2aadd1(0x34e),this['_state$'][_0x2aadd1(0x206)]()),N(this,_0x2aadd1(0x106)),N(this,_0x2aadd1(0x36e),!0x1),N(this,_0x2aadd1(0x338),''),N(this,'_changesetReqId',0x0),N(this,_0x2aadd1(0x201),this[_0x2aadd1(0x34e)][_0x2aadd1(0x39f)](_0xb6f026(_0x15f495=>_0x15f495?_0x15f495[_0x2aadd1(0x1fd)]:yi[_0x2aadd1(0x188)]),_0x194fbd(0x1))),N(this,_0x2aadd1(0x2d7),!0x1),N(this,_0x2aadd1(0x2c6),[]),(this[_0x2aadd1(0x17e)]=_0x2a53f3,this['session']=_0x3902ac,this[_0x2aadd1(0x347)]=_0x47a7e1,this[_0x2aadd1(0x2fe)]=_0x68fa5,this[_0x2aadd1(0x358)]=_0x3ab33b,this['_localeService']=_0x36221b,this[_0x2aadd1(0x1e0)]=_0x25fbca,this[_0x2aadd1(0x315)]=_0x19bf9f,this['_logService']=_0x245c8a,this[_0x2aadd1(0x2e7)]=_0x42456e,this['_permissionService']=_0x104cd5,this[_0x2aadd1(0xce)]=_0x5cbf00,this[_0x2aadd1(0x1a1)]=_0xb3319);}get[_0xf95350(0x383)](){return this['_state'];}async[_0xf95350(0x11f)](){var _0x389afd=_0xf95350;if(this[_0x389afd(0x383)])throw new Error(_0x389afd(0x313));await this['_init']();}[_0xf95350(0x29d)](){var _0xc4b7fd=_0xf95350;return this[_0xc4b7fd(0x36e)]=!0x0,_0x6c04a6(()=>{var _0x2fa1a5=_0xc4b7fd;this[_0x2fa1a5(0x36e)]=!0x1,this[_0x2fa1a5(0x102)]();});}[_0xf95350(0xb4)](_0x49ca44){var _0x184bfa=_0xf95350;this[_0x184bfa(0x132)](_0x49ca44);}['_updateState'](_0x1381e2){var _0x2eb9ff=_0xf95350;this[_0x2eb9ff(0x106)]=_0x1381e2,this[_0x2eb9ff(0x2b7)][_0x2eb9ff(0x2f9)](_0x1381e2);}async['_init'](){var _0x34f1d5=_0xf95350,_0x1025c8;this[_0x34f1d5(0x129)](await this[_0x34f1d5(0xfa)]()),this[_0x34f1d5(0xce)]&&((_0x1025c8=this[_0x34f1d5(0xce)])==null||_0x1025c8['editingUnit'](this[_0x34f1d5(0x17e)]),this['disposeWithMe'](this[_0x34f1d5(0xce)][_0x34f1d5(0x345)](this[_0x34f1d5(0x17e)])[_0x34f1d5(0x2f6)](_0x28b0ff=>{var _0x45ffa9=_0x34f1d5;this[_0x45ffa9(0x29f)]['debug'](_0x45ffa9(0x2b5),_0x45ffa9(0x2cb),_0x28b0ff),_0x28b0ff===Ri[_0x45ffa9(0x18a)]?(this[_0x45ffa9(0x315)]['emitEvent']({'id':ne[_0x45ffa9(0x18e)]}),this[_0x45ffa9(0xff)][_0x45ffa9(0xfc)](new _0xf5ebb3(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x45ffa9(0xff)]['updatePermissionPoint'](new _0xf5ebb3(this[_0x45ffa9(0x17e)])['id'],!0x0),this[_0x45ffa9(0xff)][_0x45ffa9(0x3a1)](!0x0));})));let _0x5c42c7=!0x1;return this[_0x34f1d5(0x359)](this[_0x34f1d5(0x27e)][_0x34f1d5(0x107)]['subscribe'](_0x7e530b=>{var _0x4902a4=_0x34f1d5;_0x7e530b===Te[_0x4902a4(0x2fa)]?this[_0x4902a4(0x227)](_0x5c42c7):_0x7e530b===Te['OFFLINE']&&(_0x5c42c7=!0x0,this[_0x4902a4(0x178)]());})),this['disposeWithMe'](this[_0x34f1d5(0x27e)]['event$'][_0x34f1d5(0x2f6)](_0x101c3c=>{var _0x2fdd30=_0x34f1d5;try{switch(_0x101c3c[_0x2fdd30(0x276)]){case _0x15e414[_0x2fdd30(0x281)]:{this[_0x2fdd30(0x136)](_0x36f3b5(_0x101c3c['data']));break;}case _0x15e414[_0x2fdd30(0x287)]:{this[_0x2fdd30(0x27b)](_0x101c3c['data']);break;}case _0x15e414['CHANGESET_REJ']:{this[_0x2fdd30(0x24f)]();break;}case _0x15e414[_0x2fdd30(0x1d8)]:{this[_0x2fdd30(0x1fa)](_0x101c3c[_0x2fdd30(0x13f)]);break;}case _0x15e414['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2fdd30(0x150)](_0x101c3c[_0x2fdd30(0x13f)]['changesets'][_0x2fdd30(0xbf)](_0x5e6242=>_0x36f3b5(_0x5e6242)));break;}case _0x15e414[_0x2fdd30(0x146)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x15e414[_0x2fdd30(0x33b)]:break;}}catch(_0x234d1d){throw console[_0x2fdd30(0x32c)](_0x2fdd30(0x1e5),_0x234d1d),_0x234d1d;}})),this[_0x34f1d5(0x106)];}[_0xf95350(0x2ae)](){var _0x18ca69=_0xf95350;this[_0x18ca69(0x2d7)]=!0x1;}[_0xf95350(0x304)](){var _0x26adaf=_0xf95350;if(this['_transitionLocked'])throw new Error(_0x26adaf(0x248));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x21742d){var _0x3cf1ef=_0xf95350;this[_0x3cf1ef(0x304)](),this[_0x3cf1ef(0x129)](this['_state'][_0x3cf1ef(0x1fb)](_0x21742d)),this[_0x3cf1ef(0x2ae)]();}[_0xf95350(0x136)](_0x527885){var _0x541c6f=_0xf95350;if(!(_0x527885['revision']<=this[_0x541c6f(0x1e0)][_0x541c6f(0x145)](this[_0x541c6f(0x17e)]))){if(this[_0x541c6f(0x36e)]){this['_remoteChangesetQueue'][_0x541c6f(0x2e0)](_0x527885);return;}this[_0x541c6f(0x37e)](_0x527885);}}['_exhaustRemoteChangesetQueue'](){var _0x4da947=_0xf95350;this[_0x4da947(0x2c6)][_0x4da947(0x362)](_0x4f41e8=>this[_0x4da947(0x37e)](_0x4f41e8)),this['_remoteChangesetQueue']=[];}[_0xf95350(0x37e)](_0x2b9a80){var _0x9f01f4=_0xf95350;const _0x3a94e9=this['_compressMutationService'][_0x9f01f4(0x210)][_0x9f01f4(0x23c)](this[_0x9f01f4(0x358)][_0x9f01f4(0x210)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2b9a80[_0x9f01f4(0x20f)],null)||_0x2b9a80[_0x9f01f4(0x20f)],_0xa1f790={..._0x2b9a80,'mutations':_0x3a94e9};this[_0x9f01f4(0x304)](),this['_updateState'](this[_0x9f01f4(0x106)][_0x9f01f4(0x143)](_0xa1f790)),this[_0x9f01f4(0x2ae)]();}[_0xf95350(0x27b)](_0x112022){var _0x184b76=_0xf95350;this[_0x184b76(0x304)](),this['_updateState'](this[_0x184b76(0x106)][_0x184b76(0x257)](_0x112022)),this[_0x184b76(0x2ae)]();}[_0xf95350(0x24f)](_0x1c1236){var _0x22daae=_0xf95350;this[_0x22daae(0x304)](),this[_0x22daae(0x129)](this[_0x22daae(0x106)]['onRemoteRej'](_0x1c1236)),this[_0x22daae(0x2ae)]();}[_0xf95350(0x1fa)](_0x42cac9){var _0x25c2f4=_0xf95350;this[_0x25c2f4(0x304)](),this[_0x25c2f4(0x129)](this[_0x25c2f4(0x106)]['onRemoteRetry'](_0x42cac9)),this[_0x25c2f4(0x2ae)]();}[_0xf95350(0x150)](_0x3bf942){var _0x571060=_0xf95350;if(!(this['_state']instanceof te))throw new TypeError(_0x571060(0x384));const _0x4255a1=_0x3bf942[_0x571060(0xbf)](_0x846a99=>{var _0x1c35f3=_0x571060;const _0x438b3f=this[_0x1c35f3(0x358)]['interceptor']['fetchThroughInterceptors'](this[_0x1c35f3(0x358)][_0x1c35f3(0x210)][_0x1c35f3(0x1d9)]()[_0x1c35f3(0x212)])(_0x846a99['mutations'],null)||_0x846a99['mutations'];return{..._0x846a99,'mutations':_0x438b3f};});this[_0x571060(0x304)](),this[_0x571060(0x129)](this[_0x571060(0x106)][_0x571060(0x213)](_0x4255a1)),this['_unlockTransition']();}['_toggleOffline'](){var _0x107eb0=_0xf95350;this[_0x107eb0(0x304)](),this['_updateState'](this[_0x107eb0(0x106)][_0x107eb0(0x289)]()),this[_0x107eb0(0x2ae)]();}['_toggleOnline'](_0x26eec7=!0x1){var _0x399580=_0xf95350;this[_0x399580(0x304)](),this[_0x399580(0x129)](this[_0x399580(0x106)][_0x399580(0x2bc)]()),this[_0x399580(0x2ae)]();const _0x567753=this[_0x399580(0x106)];_0x26eec7&&_0x567753 instanceof De&&(this[_0x399580(0x304)](),this[_0x399580(0x129)](_0x567753[_0x399580(0x36f)]()),this['_unlockTransition']());}async[_0xf95350(0xfa)](){return new Promise(_0x513888=>{var _0x2b1781=_0x4451;this[_0x2b1781(0x27e)][_0x2b1781(0x107)][_0x2b1781(0x39f)](_0x3b0b7e(0x1))[_0x2b1781(0x2f6)](async _0x1b4452=>{var _0x2d81e3=_0x2b1781;_0x513888(await this['_createInitialStateImpl'](_0x1b4452===Te[_0x2d81e3(0x2fa)]));});});}[_0xf95350(0x373)](){const _0x4deb38=this['unitID'];return{'onStateChange':(_0x14e3c2,_0x1179e2)=>{var _0xda55ee=_0x4451;if(_0x14e3c2!==this[_0xda55ee(0x106)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x14e3c2[_0xda55ee(0x1fd)]+'\x0aAfter:\x20'+_0x1179e2['status']+'\x0aCurrent:\x20'+this['_state']['status']);this['_updateState'](_0x1179e2);},'onSendChangeset':_0x20610c=>{var _0xf41275=_0x4451;_0x20610c['sid']||(_0x20610c[_0xf41275(0x10b)]=this['_changesetSessionId'],_0x20610c['reqId']=++this[_0xf41275(0x2da)]);const _0x32a9ee={'eventID':_0x15e414[_0xf41275(0x20a)],'data':{'unitID':_0x20610c['unitID'],'unitType':this[_0xf41275(0x347)],'changeset':_0x20610c,'memberID':this['session'][_0xf41275(0xd8)]()}};this[_0xf41275(0x27e)][_0xf41275(0x1c4)](_0x32a9ee,this[_0xf41275(0x17e)]);},'onMissingChangesets':({from:_0x290ba6,to:_0x2f8609})=>{var _0x4400f7=_0x4451;this[_0x4400f7(0x29f)][_0x4400f7(0xd7)](_0x4400f7(0x2b5),'fetching\x20missing\x20changesets\x20from\x20'+_0x290ba6+_0x4400f7(0x112)+_0x2f8609);const _0xe8630f={'eventID':_0x15e414[_0x4400f7(0x1c5)],'data':{'unitID':_0x4deb38,'unitType':this[_0x4400f7(0x347)],'from':_0x290ba6,'to':_0x2f8609}};this[_0x4400f7(0x27e)][_0x4400f7(0x1c4)](_0xe8630f,this['unitID']);}};}async[_0xf95350(0x1db)](_0x2460b6){var _0x33bb71=_0xf95350,_0x38368e,_0x325ffa,_0x214cbc;const _0x238d79=await((_0x38368e=this[_0x33bb71(0x1a1)])==null?void 0x0:_0x38368e['loadOfflineData'](this['unitID'])),_0x5e60d2=(_0x325ffa=_0x238d79==null?void 0x0:_0x238d79['mutations'])!=null?_0x325ffa:[],_0x5223ac=(_0x214cbc=_0x238d79==null?void 0x0:_0x238d79[_0x33bb71(0x386)])!=null?_0x214cbc:null,_0x13aa9e=!!(_0x5223ac!=null&&_0x5223ac[_0x33bb71(0x10b)])&&!!(_0x5223ac!=null&&_0x5223ac[_0x33bb71(0xea)]);this[_0x33bb71(0x338)]=_0x13aa9e?_0x5223ac[_0x33bb71(0x10b)]:rr(),this[_0x33bb71(0x2da)]=_0x13aa9e?_0x5223ac['reqId']:0x0;const _0x384877=this[_0x33bb71(0x17e)];try{this['_replayCachedMutations'](_0x5223ac,_0x5e60d2);}catch(_0x4b689a){this[_0x33bb71(0x29f)][_0x33bb71(0x32c)](_0x4b689a);}const _0x1f93ae=this[_0x33bb71(0x373)]();if(_0x2460b6){const _0x513988=Di(this[_0x33bb71(0x2fe)],_0x384877,this[_0x33bb71(0x347)],_0x5223ac,_0x5e60d2,_0x1f93ae);return _0x513988 instanceof oe?_0x513988['_schedule']():(_0x513988 instanceof ae||_0x513988 instanceof ue)&&_0x513988[_0x33bb71(0xe2)](),_0x513988;}return this['_injector']['createInstance'](fe,_0x384877,this['_type'],_0x5223ac,_0x5e60d2,_0x1f93ae);}[_0xf95350(0x38b)](_0x2d1126,_0x33c811){var _0x21429b=_0xf95350,_0x13191b,_0x32847f;const _0x1744a9=this[_0x21429b(0x358)]['interceptor'][_0x21429b(0x23c)](this[_0x21429b(0x358)][_0x21429b(0x210)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x13191b=_0x1744a9((_0x2d1126==null?void 0x0:_0x2d1126[_0x21429b(0x20f)])||[],null))==null||_0x13191b[_0x21429b(0x362)](_0x4ca4df=>this['_commandService'][_0x21429b(0x309)](_0x4ca4df['id'],_0x4ca4df[_0x21429b(0x39e)])),(_0x32847f=_0x1744a9(_0x33c811||[],null))==null||_0x32847f[_0x21429b(0x362)](_0x36e28b=>this[_0x21429b(0x2e7)][_0x21429b(0x309)](_0x36e28b['id'],_0x36e28b[_0x21429b(0x39e)]));}};st=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(pe)),k(0x8,_0x2cd95e),k(0x9,_0x16ead5),k(0xa,_0x193a1a),k(0xb,_0x36e3d4(ht)),k(0xc,_0x36e3d4(J))],st);let Tt=class extends st{constructor(_0x3a80fd,_0x52da32,_0x4cefc0,_0x13682b,_0x8ac11c,_0x488590,_0x10963d,_0x3c0500,_0x6cce5b,_0x2034c7,_0x1df139,_0x4fd8ed,_0x57924d){var _0x49ed87=_0xf95350;super(_0x3a80fd,_0x4cefc0,_0x52da32,_0x13682b,_0x8ac11c,_0x488590,_0x10963d,_0x3c0500,_0x6cce5b,_0x2034c7,_0x1df139,_0x4fd8ed,_0x57924d),N(this,_0x49ed87(0x2d9),null),(this[_0x49ed87(0x17e)]=_0x3a80fd,this['type']=_0x52da32);}[_0xf95350(0x176)](_0x50cded){this['_handlerCallback']=_0x50cded;}[_0xf95350(0x237)](){var _0x239830=_0xf95350;this[_0x239830(0x2d9)]=null,super[_0x239830(0x237)]();}[_0xf95350(0x373)](){var _0x2a1402=_0xf95350;const _0xbb9ba0=super[_0x2a1402(0x373)]();return _0xbb9ba0['onTransformIME']=_0x475d3f=>{var _0x3535c8=_0x2a1402,_0x4498a1,_0x111a7d;return(_0x111a7d=(_0x4498a1=this[_0x3535c8(0x2d9)])==null?void 0x0:_0x4498a1[_0x3535c8(0x19d)])==null?void 0x0:_0x111a7d[_0x3535c8(0x2d8)](_0x4498a1,_0x475d3f);},_0xbb9ba0['onTransformState']=_0x9a5f38=>{var _0x46919d=_0x2a1402,_0x3776f3,_0x1e81bd;return(_0x1e81bd=(_0x3776f3=this[_0x46919d(0x2d9)])==null?void 0x0:_0x3776f3[_0x46919d(0x2a1)])==null?void 0x0:_0x1e81bd[_0x46919d(0x2d8)](_0x3776f3,_0x9a5f38);},_0xbb9ba0[_0x2a1402(0x398)]=_0xfb79a3=>{var _0x21d90b,_0x42b598;return(_0x42b598=(_0x21d90b=this['_handlerCallback'])==null?void 0x0:_0x21d90b['onTransformSelections'])==null?void 0x0:_0x42b598['call'](_0x21d90b,_0xfb79a3);},_0xbb9ba0[_0x2a1402(0x2f1)]=_0x5b7ec4=>{var _0x581cc6=_0x2a1402,_0x5e0efc,_0x169c9f;return(_0x169c9f=(_0x5e0efc=this[_0x581cc6(0x2d9)])==null?void 0x0:_0x5e0efc[_0x581cc6(0x2f1)])==null?void 0x0:_0x169c9f['call'](_0x5e0efc,_0x5b7ec4);},_0xbb9ba0['onTransformRemoteChangesetByIMECache']=_0x5a8623=>{var _0x343517=_0x2a1402,_0x5ab866,_0x4e7ab3,_0x3f843c;if(!((_0x5ab866=this[_0x343517(0x2d9)])!=null&&_0x5ab866['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3f843c=(_0x4e7ab3=this[_0x343517(0x2d9)])==null?void 0x0:_0x4e7ab3[_0x343517(0x202)])==null?void 0x0:_0x3f843c[_0x343517(0x2d8)](_0x4e7ab3,_0x5a8623);},_0xbb9ba0[_0x2a1402(0x16f)]=_0x2e0db5=>{var _0x4ea8a8=_0x2a1402,_0x1b837f,_0x469832,_0x41c21e;if(!((_0x1b837f=this[_0x4ea8a8(0x2d9)])!=null&&_0x1b837f[_0x4ea8a8(0x16f)]))throw new Error(_0x4ea8a8(0x1a5));return(_0x41c21e=(_0x469832=this['_handlerCallback'])==null?void 0x0:_0x469832['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x41c21e[_0x4ea8a8(0x2d8)](_0x469832,_0x2e0db5);},_0xbb9ba0;}async[_0xf95350(0x1a3)](){var _0x14a2f3=_0xf95350;const _0x55ed8c=await super[_0x14a2f3(0x1a3)]();return this['disposeWithMe'](this[_0x14a2f3(0x2e7)][_0x14a2f3(0x1ff)]((_0x575368,_0x3b59a2)=>{var _0x346ff0=_0x14a2f3;if(_0x575368[_0x346ff0(0x2fd)]!==_0x368d91['MUTATION']||_0x3b59a2!=null&&_0x3b59a2[_0x346ff0(0x255)]||_0x3b59a2!=null&&_0x3b59a2['onlyLocal']||_0x575368['id']===_0x775ef5['id'])return;const _0x5b4572=_0x575368['params'];if((_0x5b4572==null?void 0x0:_0x5b4572['unitId'])!==this[_0x346ff0(0x17e)])return;const _0x582fb6=_0x575368,_0x6b71ef=this['_compressMutationService'][_0x346ff0(0x210)]['fetchThroughInterceptors'](this[_0x346ff0(0x358)]['interceptor'][_0x346ff0(0x1d9)]()[_0x346ff0(0x1ad)])([_0x582fb6],null)||[_0x582fb6];this[_0x346ff0(0x132)](_0x6b71ef[0x0]);})),_0x55ed8c;}};Tt=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(pe)),k(0x8,_0x2cd95e),k(0x9,_0x16ead5),k(0xa,_0x193a1a),k(0xb,_0x36e3d4(ht)),k(0xc,_0x36e3d4(J))],Tt);let Ct=class extends st{constructor(_0x1f8858,_0x5a5e79,_0x36f923,_0x2c87cc,_0x4bdb1f,_0x339220,_0x54fdf5,_0xc9754e,_0x334db,_0x88cbef,_0x58c318,_0x1d484f,_0x132bbc,_0x181a96){var _0x5c347e=_0xf95350;super(_0x1f8858,_0x36f923,_0x5a5e79,_0x2c87cc,_0x4bdb1f,_0x339220,_0x54fdf5,_0x334db,_0x88cbef,_0x58c318,_0x1d484f,_0x132bbc,_0x181a96),this['unitID']=_0x1f8858,this['type']=_0x5a5e79,this[_0x5c347e(0x31a)]=_0xc9754e;}[_0xf95350(0x373)](){var _0x40130f=_0xf95350;const _0xd74e5a=super[_0x40130f(0x373)]();return _0xd74e5a[_0x40130f(0x398)]=_0x373064=>this[_0x40130f(0x31a)]['transformSelections'](_0x373064),_0xd74e5a;}async['_init'](){var _0xe192d7=_0xf95350;const _0x51f8ec=await super[_0xe192d7(0x1a3)]();return this[_0xe192d7(0x359)](this[_0xe192d7(0x2e7)][_0xe192d7(0x1ff)]((_0x12f202,_0x150c40)=>{var _0x5675ef=_0xe192d7;if(_0x12f202[_0x5675ef(0x2fd)]!==_0x368d91[_0x5675ef(0x261)]||_0x150c40!=null&&_0x150c40['fromCollab']||_0x150c40!=null&&_0x150c40['onlyLocal'])return;const _0x3da5d7=_0x12f202['params'];if((_0x3da5d7==null?void 0x0:_0x3da5d7['unitId'])!==this[_0x5675ef(0x17e)])return;const _0x3aaef4=_0x12f202,_0x3a2e78=this[_0x5675ef(0x358)]['interceptor'][_0x5675ef(0x23c)](this['_compressMutationService']['interceptor'][_0x5675ef(0x1d9)]()[_0x5675ef(0x1ad)])([_0x3aaef4],null)||[_0x3aaef4];this[_0x5675ef(0x132)](_0x3a2e78[0x0]);})),_0x51f8ec;}};Ct=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(it)),k(0x8,_0x1f377b(pe)),k(0x9,_0x2cd95e),k(0xa,_0x16ead5),k(0xb,_0x193a1a),k(0xc,_0x36e3d4(ht)),k(0xd,_0x36e3d4(J))],Ct);var pr=Object['defineProperty'],mr=Object[_0xf95350(0x1b5)],gr=(_0x5b211e,_0x85607a,_0x2ee793,_0x112496)=>{var _0x57122e=_0xf95350;for(var _0xbc198c=_0x112496>0x1?void 0x0:_0x112496?mr(_0x85607a,_0x2ee793):_0x85607a,_0x5321ec=_0x5b211e[_0x57122e(0x131)]-0x1,_0x4537c8;_0x5321ec>=0x0;_0x5321ec--)(_0x4537c8=_0x5b211e[_0x5321ec])&&(_0xbc198c=(_0x112496?_0x4537c8(_0x85607a,_0x2ee793,_0xbc198c):_0x4537c8(_0xbc198c))||_0xbc198c);return _0x112496&&_0xbc198c&&pr(_0x85607a,_0x2ee793,_0xbc198c),_0xbc198c;},ft=(_0x49fe75,_0x2a6d34)=>(_0x11711b,_0x115adb)=>_0x2a6d34(_0x11711b,_0x115adb,_0x49fe75);let rt=class extends _0x426883{constructor(_0x3b8bee,_0x40db06,_0x20ec5e){var _0x54da88=_0xf95350;super(),N(this,_0x54da88(0xec),new Map()),N(this,'_entityInit$',new _0x1d9c1a()),N(this,_0x54da88(0x312),this['_entityInit$']['asObservable']()),(this['_injector']=_0x3b8bee,this['_collabSessionService']=_0x40db06,this[_0x54da88(0x2e3)]=_0x20ec5e,this['_init']());}[_0xf95350(0x237)](){var _0x4b02c6=_0xf95350;super[_0x4b02c6(0x237)](),this[_0x4b02c6(0xec)][_0x4b02c6(0x362)](_0x3904b0=>_0x3904b0[_0x4b02c6(0x237)]()),this[_0x4b02c6(0xec)][_0x4b02c6(0x2b0)]();}[_0xf95350(0x22d)](_0x2282ca){var _0x3631b6=_0xf95350,_0x14d6e5;return(_0x14d6e5=this[_0x3631b6(0xec)]['get'](_0x2282ca))!=null?_0x14d6e5:null;}['getCollabEntity$'](_0x482cd4){var _0x534770=_0xf95350;const _0x5b728f=this[_0x534770(0x22d)](_0x482cd4);return _0x5b728f?_0x22b9ed(_0x5b728f):this['_entityInit$'][_0x534770(0x39f)](_0x2ac5d0(_0x33938b=>_0x33938b['unitID']===_0x482cd4));}[_0xf95350(0x343)](_0x33b1f8){var _0x5c8682=_0xf95350;return _0x12dc12(this[_0x5c8682(0xe6)](_0x33b1f8)[_0x5c8682(0x39f)](_0x3dd616(()=>{})));}[_0xf95350(0x1a3)](){var _0x526210=_0xf95350;this['_univerInstanceService'][_0x526210(0x331)](_0x4fe211[_0x526210(0xda)])[_0x526210(0x39f)](_0x30c8dd(this[_0x526210(0x205)]),_0x2a4396(0x10))[_0x526210(0x2f6)](async _0x3f89d3=>{var _0x18a17b=_0x526210;const _0x36cdd0=_0x3f89d3[_0x18a17b(0x298)](),_0x43f387=await this[_0x18a17b(0x2bb)](_0x36cdd0,Q[_0x18a17b(0xda)]);this[_0x18a17b(0xec)][_0x18a17b(0x269)](_0x36cdd0,_0x43f387);}),this[_0x526210(0x2e3)]['getTypeOfUnitAdded$'](_0x4fe211[_0x526210(0x2df)])[_0x526210(0x39f)](_0x30c8dd(this['dispose$']),_0x2a4396(0x10))[_0x526210(0x39f)](_0x2ac5d0(_0x2341cf=>!_0x2341cf[_0x526210(0x298)]()[_0x526210(0x300)]('__')))[_0x526210(0x2f6)](async _0x275f39=>{var _0x35a576=_0x526210;const _0x1180dd=_0x275f39[_0x35a576(0x298)](),_0xe96778=await this[_0x35a576(0x2bb)](_0x1180dd,Q[_0x35a576(0x2df)]);this[_0x35a576(0xec)]['set'](_0x1180dd,_0xe96778);}),_0x127445(this[_0x526210(0x2e3)]['getTypeOfUnitDisposed$'](_0x4fe211[_0x526210(0xda)]),this[_0x526210(0x2e3)][_0x526210(0xb1)](_0x4fe211['UNIVER_DOC']))[_0x526210(0x39f)](_0x30c8dd(this[_0x526210(0x205)]))[_0x526210(0x2f6)](_0x4b93c9=>{var _0x370e03=_0x526210;const _0x382399=_0x4b93c9[_0x370e03(0x298)](),_0xacf34c=this[_0x370e03(0xec)][_0x370e03(0x151)](_0x382399);_0xacf34c&&(_0xacf34c[_0x370e03(0x237)](),this[_0x370e03(0xec)][_0x370e03(0x1e1)](_0x382399));});}async[_0xf95350(0x2bb)](_0x1aec05,_0x3def2d){var _0x12070a=_0xf95350;const _0x3c5ce0=await this['_collabSessionService'][_0x12070a(0x24b)](_0x1aec05),_0x2babd9=this[_0x12070a(0x2fe)]['createInstance'](this[_0x12070a(0x15f)](_0x3def2d),_0x1aec05,_0x3def2d,_0x3c5ce0);return await _0x2babd9[_0x12070a(0x11f)](),this[_0x12070a(0x2fc)][_0x12070a(0x2f9)](_0x2babd9),_0x2babd9;}[_0xf95350(0x15f)](_0x2e0ad3){var _0x4c6e75=_0xf95350;switch(_0x2e0ad3){case Q['UNIVER_DOC']:return Tt;case Q[_0x4c6e75(0xda)]:return Ct;default:throw new Error(_0x4c6e75(0x160)+_0x2e0ad3);}}};rt=gr([ft(0x0,_0x1f377b(_0x459b1e)),ft(0x1,_0x1f377b(Le)),ft(0x2,_0x4accb0)],rt);var Sr=Object[_0xf95350(0x35a)],Er=Object[_0xf95350(0x1b5)],Ir=(_0x2438b1,_0x59ebdd,_0x544b,_0x7fa920)=>{var _0x32873d=_0xf95350;for(var _0x11786e=_0x7fa920>0x1?void 0x0:_0x7fa920?Er(_0x59ebdd,_0x544b):_0x59ebdd,_0x5341c7=_0x2438b1[_0x32873d(0x131)]-0x1,_0x32b8c8;_0x5341c7>=0x0;_0x5341c7--)(_0x32b8c8=_0x2438b1[_0x5341c7])&&(_0x11786e=(_0x7fa920?_0x32b8c8(_0x59ebdd,_0x544b,_0x11786e):_0x32b8c8(_0x11786e))||_0x11786e);return _0x7fa920&&_0x11786e&&Sr(_0x59ebdd,_0x544b,_0x11786e),_0x11786e;},Jt=(_0x22279c,_0x2492bc)=>(_0x40fd1c,_0x554cdb)=>_0x2492bc(_0x40fd1c,_0x554cdb,_0x22279c);const Tr=_0xf95350(0xed),Cr='Univer';let bt=class extends _0x21c7f9{constructor(_0x5df010,_0x12d380){var _0x2030e2=_0xf95350;super(),this[_0x2030e2(0x2e3)]=_0x5df010,this[_0x2030e2(0x215)]=_0x12d380,this[_0x2030e2(0x1a3)]();}[_0xf95350(0x1a3)](){var _0x313090=_0xf95350;this['disposeWithMe'](this[_0x313090(0x2e3)]['focused$'][_0x313090(0x2f6)](()=>{var _0x1f1bd9=_0x313090,_0x38fbd0;const _0x31f23e=this[_0x1f1bd9(0x2e3)][_0x1f1bd9(0x2ff)]();let _0x266d80=(_0x38fbd0=this[_0x1f1bd9(0x215)][_0x1f1bd9(0x1ab)](Tr))!=null?_0x38fbd0:Cr;_0x31f23e instanceof _0x3569b1&&(_0x266d80=_0x31f23e[_0x1f1bd9(0x10c)]),document[_0x1f1bd9(0x341)]=_0x266d80;}));}};bt=Ir([Jt(0x0,_0x4accb0),Jt(0x1,_0x4ef789)],bt);var br=Object[_0xf95350(0x35a)],Rr=Object['getOwnPropertyDescriptor'],Or=(_0x24b84c,_0x534c33,_0x4fe3bc,_0xf655e8)=>{var _0x33d6a8=_0xf95350;for(var _0x1143c8=_0xf655e8>0x1?void 0x0:_0xf655e8?Rr(_0x534c33,_0x4fe3bc):_0x534c33,_0x4ae9d0=_0x24b84c[_0x33d6a8(0x131)]-0x1,_0x1865c4;_0x4ae9d0>=0x0;_0x4ae9d0--)(_0x1865c4=_0x24b84c[_0x4ae9d0])&&(_0x1143c8=(_0xf655e8?_0x1865c4(_0x534c33,_0x4fe3bc,_0x1143c8):_0x1865c4(_0x1143c8))||_0x1143c8);return _0xf655e8&&_0x1143c8&&br(_0x534c33,_0x4fe3bc,_0x1143c8),_0x1143c8;},vt=(_0x1370c8,_0x5b0b10)=>(_0x3be96c,_0x2d3ac8)=>_0x5b0b10(_0x3be96c,_0x2d3ac8,_0x1370c8);let nt=class{constructor(_0x2a5cd4,_0x530a02,_0x44b349){var _0x3bfb7b=_0xf95350;this[_0x3bfb7b(0x215)]=_0x2a5cd4,this['_httpService']=_0x530a02,this[_0x3bfb7b(0x335)]=_0x44b349,this[_0x3bfb7b(0x11f)]();}[_0xf95350(0x11f)](){var _0x47b42b=_0xf95350;this[_0x47b42b(0xdf)][_0x47b42b(0x33f)]({'priority':0x1,'interceptor':(_0x1f6bd0,_0x5bfdcc)=>_0x5bfdcc(_0x1f6bd0)[_0x47b42b(0x39f)](_0x17ba71(async _0x3751f7=>{var _0x475319=_0x47b42b;const _0x137143=_0x3751f7;if(_0x137143[_0x475319(0x1fd)]===0x191){if(typeof window>'u')throw new Error(_0x475319(0x1ed));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x592ab9=window[_0x475319(0xd6)](window[_0x475319(0x1a2)]['href']);window['location']['href']=this['_getLoginPath']()+_0x475319(0x3a4)+_0x592ab9;}}return _0x137143;}))});}[_0xf95350(0x1ce)](){var _0x14e3ac=_0xf95350,_0x46ea21,_0xb7680c;const _0x2f2b2b=this[_0x14e3ac(0x215)][_0x14e3ac(0x1ab)](As),_0x44527b=this[_0x14e3ac(0x215)][_0x14e3ac(0x1ab)](q);return(_0xb7680c=(_0x46ea21=_0x44527b==null?void 0x0:_0x44527b[_0x14e3ac(0x15e)])!=null?_0x46ea21:_0x2f2b2b)!=null?_0xb7680c:xs;}};nt=Or([vt(0x0,_0x4ef789),vt(0x1,_0x1f377b(_0x1d95e4)),vt(0x2,_0x1f377b(_0x3b591c))],nt);var yr=Object[_0xf95350(0x35a)],Nr=Object['getOwnPropertyDescriptor'],Dr=(_0x391c6c,_0x1ed573,_0x2532a2,_0x14787f)=>{var _0x3ee546=_0xf95350;for(var _0x2f2239=_0x14787f>0x1?void 0x0:_0x14787f?Nr(_0x1ed573,_0x2532a2):_0x1ed573,_0x454cfd=_0x391c6c[_0x3ee546(0x131)]-0x1,_0x44aecc;_0x454cfd>=0x0;_0x454cfd--)(_0x44aecc=_0x391c6c[_0x454cfd])&&(_0x2f2239=(_0x14787f?_0x44aecc(_0x1ed573,_0x2532a2,_0x2f2239):_0x44aecc(_0x2f2239))||_0x2f2239);return _0x14787f&&_0x2f2239&&yr(_0x1ed573,_0x2532a2,_0x2f2239),_0x2f2239;},Xt=(_0x505b98,_0x9d5697)=>(_0x1f64d3,_0x246716)=>_0x9d5697(_0x1f64d3,_0x246716,_0x505b98);const Pi='AUTHZ_URL_KEY',Pr=_0xf95350(0x2ab);let Rt=class extends _0x21c7f9{constructor(_0x1f8c71,_0x1171eb){var _0x3cda76=_0xf95350;super(),this[_0x3cda76(0x1eb)]=_0x1f8c71,this[_0x3cda76(0x215)]=_0x1171eb,this['_initMergeInterceptor']();}[_0xf95350(0x23b)](){var _0x374c7c=_0xf95350;const _0x2d3ae2=this;this[_0x374c7c(0x359)](this[_0x374c7c(0x1eb)][_0x374c7c(0x33f)]({'priority':0x3e7,'interceptor':_0x516ca5({'isMatch'(_0x5e2b88){var _0x3a62a4=_0x374c7c,_0x4fe4c7;if(_0x5e2b88[_0x3a62a4(0x293)]==='POST'&&((_0x4fe4c7=_0x5e2b88[_0x3a62a4(0xd3)])!=null&&_0x4fe4c7['body'])){const {objectID:_0x52e56b,objectType:_0x58ea67}=_0x5e2b88[_0x3a62a4(0xd3)][_0x3a62a4(0x2c1)]||{};if(!_0x52e56b||_0x58ea67===void 0x0)return!0x1;const _0x2554ba=_0x2d3ae2[_0x3a62a4(0x35b)]()+'/'+_0x58ea67+_0x3a62a4(0x1af)+_0x52e56b+'/allowed';if(_0x5e2b88[_0x3a62a4(0x249)]===_0x2554ba)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4dd854){var _0xf19279=_0x374c7c,_0x42be89;return(_0x42be89=_0x4dd854['requestParams'])==null?void 0x0:_0x42be89[_0xf19279(0x2c1)];},'mergeParamsToRequest'(_0x4151b5,_0x2feb4f){var _0x1b6644=_0x374c7c;const _0x4c51d3=_0x2d3ae2[_0x1b6644(0x35b)]()+_0x1b6644(0x244),_0x506c80=_0x4151b5[_0x1b6644(0x2ad)]((_0x3ef0fc,_0x5bd8e4)=>{var _0x3d505c=_0x1b6644;const {unitID:_0x506570,objectID:_0x782b95,objectType:_0x4fc6f4,actions:_0x4d0056}=_0x5bd8e4;return _0x3ef0fc[_0x506570]||(_0x3ef0fc[_0x506570]={}),_0x3ef0fc[_0x506570][_0x782b95]||(_0x3ef0fc[_0x506570][_0x782b95]={'objectID':_0x782b95,'objectType':_0x4fc6f4,'actions':[]}),_0x3ef0fc[_0x506570][_0x782b95][_0x3d505c(0x163)][_0x3d505c(0x2e0)](..._0x4d0056),_0x3ef0fc;},{}),_0x331347=[];for(const _0x5464b5 in _0x506c80)for(const _0x258438 in _0x506c80[_0x5464b5]){const {actions:_0x45ef14,objectType:_0x2ed007}=_0x506c80[_0x5464b5][_0x258438],_0x3c8efe=[...new Set(_0x45ef14)];_0x331347['push']({'unitID':_0x5464b5,'objectID':_0x258438,'objectType':_0x2ed007,'actions':_0x3c8efe});}return new _0x3dc882(_0x1b6644(0x26c),_0x4c51d3,{'headers':_0x2feb4f[_0x1b6644(0x2aa)],'withCredentials':_0x2feb4f['withCredentials'],'responseType':_0x2feb4f['responseType'],'body':{'requests':_0x331347}});}},{'distributeResult'(_0x35cb05,_0x1deb5b){var _0x48a3a4=_0x374c7c;const {objectActions:_0x584935}=_0x35cb05;return _0x1deb5b[_0x48a3a4(0xbf)](_0x2b9e9e=>{var _0x458e29=_0x48a3a4;const {unitID:_0xedf8bd,objectID:_0x42d37c,actions:_0x59e8aa}=_0x2b9e9e,_0xd8b9a4=_0x584935['find'](_0x5d724f=>_0x5d724f['unitID']===_0xedf8bd&&_0x5d724f[_0x458e29(0x159)]===_0x42d37c),_0x57074a=_0x59e8aa[_0x458e29(0xbf)](_0x37285d=>_0xd8b9a4==null?void 0x0:_0xd8b9a4[_0x458e29(0x163)]['find'](_0x3683ce=>_0x3683ce[_0x458e29(0x2a9)]===_0x37285d))[_0x458e29(0x182)](_0x11d0a1=>!!_0x11d0a1);return{'config':_0x2b9e9e,'result':{'actions':_0x57074a,'error':_0x35cb05['error']}};});}})}));}[_0xf95350(0x35b)](){var _0xeb68dc=_0xf95350,_0x11bd24,_0x5e8333;const _0xe5da75=this[_0xeb68dc(0x215)][_0xeb68dc(0x1ab)](Pi),_0xa93814=this['_configService'][_0xeb68dc(0x1ab)](q);return(_0x5e8333=(_0x11bd24=_0xa93814==null?void 0x0:_0xa93814['authzUrl'])!=null?_0x11bd24:_0xe5da75)!=null?_0x5e8333:Pr;}async['create'](_0x564d0b){var _0x118b04=_0xf95350;const _0x189972=this['_getAPIPrefixPath']()+'/'+_0x564d0b[_0x118b04(0x387)]+_0x118b04(0x116);return(await this[_0x118b04(0x1eb)]['post'](_0x189972,{'body':_0x564d0b}))[_0x118b04(0x2c1)][_0x118b04(0x159)]||'';}async[_0xf95350(0x385)](_0x25fa1a){var _0x24a8d3=_0xf95350;const _0x5d22d0=this[_0x24a8d3(0x35b)]()+_0x24a8d3(0x330);return(await this[_0x24a8d3(0x1eb)][_0x24a8d3(0x24a)](_0x5d22d0,{'body':_0x25fa1a}))[_0x24a8d3(0x2c1)]['objects'];}async[_0xf95350(0x1c6)](_0x48fd91){var _0x64ab0c=_0xf95350;const _0xbde8a3=this[_0x64ab0c(0x35b)]()+'/'+_0x48fd91[_0x64ab0c(0x387)]+'/object/'+_0x48fd91['objectID'];await this['_HTTPService'][_0x64ab0c(0x164)](_0xbde8a3,{'body':_0x48fd91});}async['allowed'](_0x26b28c){var _0x5c97d4=_0xf95350;const _0x21db8a=this['_getAPIPrefixPath']()+'/'+_0x26b28c[_0x5c97d4(0x387)]+_0x5c97d4(0x1af)+_0x26b28c[_0x5c97d4(0x159)]+'/allowed';return(await this[_0x5c97d4(0x1eb)][_0x5c97d4(0x24a)](_0x21db8a,{'body':_0x26b28c}))[_0x5c97d4(0x2c1)][_0x5c97d4(0x163)];}async['batchAllowed'](_0x2f6cbb){var _0x1839f3=_0xf95350;const _0x29e43b=this[_0x1839f3(0x35b)]()+'/-/object/-/batch_allowed';return(await this[_0x1839f3(0x1eb)][_0x1839f3(0x24a)](_0x29e43b,{'body':{'requests':_0x2f6cbb}}))[_0x1839f3(0x2c1)][_0x1839f3(0x254)];}async[_0xf95350(0x239)](_0x48f657){var _0x11de34=_0xf95350;const _0x2aae39=this['_getAPIPrefixPath']()+'/'+_0x48f657[_0x11de34(0x387)]+_0x11de34(0x1b6),_0x368dc0=await this[_0x11de34(0x1eb)]['post'](_0x2aae39,{'body':_0x48f657});return{'roles':_0x368dc0[_0x11de34(0x2c1)][_0x11de34(0x25e)],'actions':_0x368dc0[_0x11de34(0x2c1)][_0x11de34(0x163)]};}async[_0xf95350(0x39d)](_0x40b4ec){var _0x192cf3=_0xf95350;const _0x4dc3e8=this[_0x192cf3(0x35b)]()+'/collaborator';await this[_0x192cf3(0x1eb)]['delete'](_0x4dc3e8,{'params':{'collaboratorID':_0x40b4ec[_0x192cf3(0x18f)],'objectID':_0x40b4ec[_0x192cf3(0x159)],'unitID':_0x40b4ec[_0x192cf3(0x17e)]}});}async['updateCollaborator'](_0x48287c){var _0x1c7718=_0xf95350;const _0x58a755=this[_0x1c7718(0x35b)]()+_0x1c7718(0x127);await this['_HTTPService'][_0x1c7718(0x322)](_0x58a755,{'body':_0x48287c});}async[_0xf95350(0x1c1)](_0x3ed157){var _0x3433d3=_0xf95350;const _0x39efcd=this['_getAPIPrefixPath']()+_0x3433d3(0x127);await this[_0x3433d3(0x1eb)][_0x3433d3(0x24a)](_0x39efcd,{'body':_0x3ed157});}async[_0xf95350(0x103)](_0x70b4c6){var _0xa414d1=_0xf95350;const _0x4a8ebb=this[_0xa414d1(0x35b)]()+'/collaborator';return(await this[_0xa414d1(0x1eb)][_0xa414d1(0x151)](_0x4a8ebb,{'params':{'objectID':_0x70b4c6[_0xa414d1(0x159)],'unitID':_0x70b4c6['unitID']}}))[_0xa414d1(0x2c1)][_0xa414d1(0x13e)];}async[_0xf95350(0x1f5)](_0x467f4c){var _0x5655e8=_0xf95350;const _0x3e5061=this['_getAPIPrefixPath']()+_0x5655e8(0x127);await this[_0x5655e8(0x1eb)]['put'](_0x3e5061,{'body':_0x467f4c});}};Rt=Dr([Xt(0x0,_0x1f377b(_0x1d95e4)),Xt(0x1,_0x1f377b(_0x4ef789))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2bf27f){var _0xc29c10=_0xf95350;return _0x2bf27f&&_0x2bf27f[_0xc29c10(0x1e2)]&&Object['prototype'][_0xc29c10(0x17a)]['call'](_0x2bf27f,_0xc29c10(0x302))?_0x2bf27f['default']:_0x2bf27f;}var Ve={'exports':{}};function wr(_0x3f277f){var _0x331b54=_0xf95350;throw new Error(_0x331b54(0xb0)+_0x3f277f+_0x331b54(0x377));}var Ge={'exports':{}},Ur=Ge['exports'],Zt;function se(){var _0x36529d=_0xf95350;return Zt||(Zt=0x1,function(_0x173800,_0x17277e){(function(_0x39c759,_0x5bd832){var _0x405e45=_0x4451;_0x173800[_0x405e45(0x1b2)]=_0x5bd832();}(Ur,function(){var _0x41f585=_0x41f585||function(_0xbcdc42,_0x4ffca5){var _0x39f0ff=_0x4451,_0x34e3bf;if(typeof window<'u'&&window[_0x39f0ff(0x2b8)]&&(_0x34e3bf=window[_0x39f0ff(0x2b8)]),typeof self<'u'&&self[_0x39f0ff(0x2b8)]&&(_0x34e3bf=self[_0x39f0ff(0x2b8)]),typeof globalThis<'u'&&globalThis[_0x39f0ff(0x2b8)]&&(_0x34e3bf=globalThis['crypto']),!_0x34e3bf&&typeof window<'u'&&window[_0x39f0ff(0x247)]&&(_0x34e3bf=window[_0x39f0ff(0x247)]),!_0x34e3bf&&typeof pt<'u'&&pt['crypto']&&(_0x34e3bf=pt[_0x39f0ff(0x2b8)]),!_0x34e3bf&&typeof wr==_0x39f0ff(0x2c0))try{_0x34e3bf=require('crypto');}catch{}var _0x42ff79=function(){var _0x3b0eed=_0x39f0ff;if(_0x34e3bf){if(typeof _0x34e3bf[_0x3b0eed(0x301)]==_0x3b0eed(0x2c0))try{return _0x34e3bf[_0x3b0eed(0x301)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34e3bf[_0x3b0eed(0x38d)]==_0x3b0eed(0x2c0))try{return _0x34e3bf[_0x3b0eed(0x38d)](0x4)[_0x3b0eed(0x11d)]();}catch{}}throw new Error(_0x3b0eed(0x2f3));},_0x126728=Object[_0x39f0ff(0x18c)]||(function(){function _0x407e21(){}return function(_0x1b6736){var _0x1fdcf7=_0x4451,_0xbea9b3;return _0x407e21[_0x1fdcf7(0xc8)]=_0x1b6736,_0xbea9b3=new _0x407e21(),_0x407e21[_0x1fdcf7(0xc8)]=null,_0xbea9b3;};}()),_0x43cbea={},_0x7d6a8a=_0x43cbea[_0x39f0ff(0x12b)]={},_0x5eaba4=_0x7d6a8a[_0x39f0ff(0x325)]=(function(){return{'extend':function(_0x2312ce){var _0x100b2d=_0x4451,_0x2fe74c=_0x126728(this);return _0x2312ce&&_0x2fe74c[_0x100b2d(0x38a)](_0x2312ce),(!_0x2fe74c[_0x100b2d(0x17a)](_0x100b2d(0x11f))||this['init']===_0x2fe74c['init'])&&(_0x2fe74c[_0x100b2d(0x11f)]=function(){var _0x1d8f02=_0x100b2d;_0x2fe74c[_0x1d8f02(0x16a)][_0x1d8f02(0x11f)][_0x1d8f02(0x279)](this,arguments);}),_0x2fe74c[_0x100b2d(0x11f)][_0x100b2d(0xc8)]=_0x2fe74c,_0x2fe74c[_0x100b2d(0x16a)]=this,_0x2fe74c;},'create':function(){var _0x5642a4=_0x4451,_0x4459e4=this[_0x5642a4(0xc5)]();return _0x4459e4['init']['apply'](_0x4459e4,arguments),_0x4459e4;},'init':function(){},'mixIn':function(_0x5e2137){var _0x15d43b=_0x4451;for(var _0x2e2aba in _0x5e2137)_0x5e2137[_0x15d43b(0x17a)](_0x2e2aba)&&(this[_0x2e2aba]=_0x5e2137[_0x2e2aba]);_0x5e2137[_0x15d43b(0x17a)](_0x15d43b(0x1e3))&&(this[_0x15d43b(0x1e3)]=_0x5e2137[_0x15d43b(0x1e3)]);},'clone':function(){var _0x13d43c=_0x4451;return this[_0x13d43c(0x11f)][_0x13d43c(0xc8)][_0x13d43c(0xc5)](this);}};}()),_0x4b2a1b=_0x7d6a8a['WordArray']=_0x5eaba4[_0x39f0ff(0xc5)]({'init':function(_0x49320d,_0x8d8b0e){var _0x4271ef=_0x39f0ff;_0x49320d=this['words']=_0x49320d||[],_0x8d8b0e!=_0x4ffca5?this[_0x4271ef(0x1e7)]=_0x8d8b0e:this[_0x4271ef(0x1e7)]=_0x49320d[_0x4271ef(0x131)]*0x4;},'toString':function(_0x33a67d){var _0x48d3ad=_0x39f0ff;return(_0x33a67d||_0x3e7861)[_0x48d3ad(0x1f2)](this);},'concat':function(_0xff5a18){var _0xfda208=_0x39f0ff,_0x1e612f=this[_0xfda208(0x24d)],_0x2a7c2b=_0xff5a18[_0xfda208(0x24d)],_0x518179=this[_0xfda208(0x1e7)],_0x17b8a2=_0xff5a18[_0xfda208(0x1e7)];if(this[_0xfda208(0x2b1)](),_0x518179%0x4)for(var _0x2636f4=0x0;_0x2636f4<_0x17b8a2;_0x2636f4++){var _0x2fa531=_0x2a7c2b[_0x2636f4>>>0x2]>>>0x18-_0x2636f4%0x4*0x8&0xff;_0x1e612f[_0x518179+_0x2636f4>>>0x2]|=_0x2fa531<<0x18-(_0x518179+_0x2636f4)%0x4*0x8;}else{for(var _0xf6e594=0x0;_0xf6e594<_0x17b8a2;_0xf6e594+=0x4)_0x1e612f[_0x518179+_0xf6e594>>>0x2]=_0x2a7c2b[_0xf6e594>>>0x2];}return this[_0xfda208(0x1e7)]+=_0x17b8a2,this;},'clamp':function(){var _0xd9bd9f=_0x39f0ff,_0x2c11c9=this[_0xd9bd9f(0x24d)],_0x5221cf=this[_0xd9bd9f(0x1e7)];_0x2c11c9[_0x5221cf>>>0x2]&=0xffffffff<<0x20-_0x5221cf%0x4*0x8,_0x2c11c9[_0xd9bd9f(0x131)]=_0xbcdc42['ceil'](_0x5221cf/0x4);},'clone':function(){var _0x313886=_0x39f0ff,_0x494442=_0x5eaba4[_0x313886(0x1cc)][_0x313886(0x2d8)](this);return _0x494442[_0x313886(0x24d)]=this[_0x313886(0x24d)][_0x313886(0x2dd)](0x0),_0x494442;},'random':function(_0x5c6b57){for(var _0x4f360e=[],_0x455cbc=0x0;_0x455cbc<_0x5c6b57;_0x455cbc+=0x4)_0x4f360e['push'](_0x42ff79());return new _0x4b2a1b['init'](_0x4f360e,_0x5c6b57);}}),_0x5b3044=_0x43cbea['enc']={},_0x3e7861=_0x5b3044[_0x39f0ff(0x23e)]={'stringify':function(_0x594f2e){var _0x262a86=_0x39f0ff;for(var _0x2ccd10=_0x594f2e[_0x262a86(0x24d)],_0x5b6407=_0x594f2e['sigBytes'],_0x3c611c=[],_0x4f1f8c=0x0;_0x4f1f8c<_0x5b6407;_0x4f1f8c++){var _0x261ffb=_0x2ccd10[_0x4f1f8c>>>0x2]>>>0x18-_0x4f1f8c%0x4*0x8&0xff;_0x3c611c[_0x262a86(0x2e0)]((_0x261ffb>>>0x4)[_0x262a86(0x1e3)](0x10)),_0x3c611c['push']((_0x261ffb&0xf)['toString'](0x10));}return _0x3c611c[_0x262a86(0x199)]('');},'parse':function(_0x3ac824){var _0x4d540b=_0x39f0ff;for(var _0x2493fe=_0x3ac824[_0x4d540b(0x131)],_0x4b4ce8=[],_0xf6f1ec=0x0;_0xf6f1ec<_0x2493fe;_0xf6f1ec+=0x2)_0x4b4ce8[_0xf6f1ec>>>0x3]|=parseInt(_0x3ac824[_0x4d540b(0x1da)](_0xf6f1ec,0x2),0x10)<<0x18-_0xf6f1ec%0x8*0x4;return new _0x4b2a1b[(_0x4d540b(0x11f))](_0x4b4ce8,_0x2493fe/0x2);}},_0x17edc9=_0x5b3044['Latin1']={'stringify':function(_0x1b1080){var _0x48f42b=_0x39f0ff;for(var _0x3ff51d=_0x1b1080[_0x48f42b(0x24d)],_0x571719=_0x1b1080[_0x48f42b(0x1e7)],_0x11569d=[],_0x244ae1=0x0;_0x244ae1<_0x571719;_0x244ae1++){var _0x3b26b3=_0x3ff51d[_0x244ae1>>>0x2]>>>0x18-_0x244ae1%0x4*0x8&0xff;_0x11569d[_0x48f42b(0x2e0)](String['fromCharCode'](_0x3b26b3));}return _0x11569d['join']('');},'parse':function(_0x111a8d){var _0x15e104=_0x39f0ff;for(var _0x118dd8=_0x111a8d['length'],_0x435505=[],_0x30669c=0x0;_0x30669c<_0x118dd8;_0x30669c++)_0x435505[_0x30669c>>>0x2]|=(_0x111a8d[_0x15e104(0x378)](_0x30669c)&0xff)<<0x18-_0x30669c%0x4*0x8;return new _0x4b2a1b[(_0x15e104(0x11f))](_0x435505,_0x118dd8);}},_0x89e48c=_0x5b3044[_0x39f0ff(0xd1)]={'stringify':function(_0x1c8495){var _0x39007f=_0x39f0ff;try{return decodeURIComponent(escape(_0x17edc9[_0x39007f(0x1f2)](_0x1c8495)));}catch{throw new Error(_0x39007f(0x350));}},'parse':function(_0x4bef4c){var _0x51f9ef=_0x39f0ff;return _0x17edc9[_0x51f9ef(0x1a6)](unescape(encodeURIComponent(_0x4bef4c)));}},_0x5593d1=_0x7d6a8a['BufferedBlockAlgorithm']=_0x5eaba4[_0x39f0ff(0xc5)]({'reset':function(){var _0x4fa655=_0x39f0ff;this[_0x4fa655(0x19e)]=new _0x4b2a1b[(_0x4fa655(0x11f))](),this[_0x4fa655(0x296)]=0x0;},'_append':function(_0x2b1dcb){var _0xf6e95e=_0x39f0ff;typeof _0x2b1dcb==_0xf6e95e(0x267)&&(_0x2b1dcb=_0x89e48c[_0xf6e95e(0x1a6)](_0x2b1dcb)),this[_0xf6e95e(0x19e)][_0xf6e95e(0x241)](_0x2b1dcb),this['_nDataBytes']+=_0x2b1dcb[_0xf6e95e(0x1e7)];},'_process':function(_0x1109e4){var _0x500885=_0x39f0ff,_0x31ba0a,_0x5affe7=this[_0x500885(0x19e)],_0x2d04d5=_0x5affe7[_0x500885(0x24d)],_0x2c0f13=_0x5affe7['sigBytes'],_0x3f4df0=this[_0x500885(0xab)],_0x2d5224=_0x3f4df0*0x4,_0x13a40f=_0x2c0f13/_0x2d5224;_0x1109e4?_0x13a40f=_0xbcdc42[_0x500885(0xc6)](_0x13a40f):_0x13a40f=_0xbcdc42[_0x500885(0xa9)]((_0x13a40f|0x0)-this[_0x500885(0x13d)],0x0);var _0x8dd809=_0x13a40f*_0x3f4df0,_0x5ee22f=_0xbcdc42['min'](_0x8dd809*0x4,_0x2c0f13);if(_0x8dd809){for(var _0x2c4bf8=0x0;_0x2c4bf8<_0x8dd809;_0x2c4bf8+=_0x3f4df0)this['_doProcessBlock'](_0x2d04d5,_0x2c4bf8);_0x31ba0a=_0x2d04d5[_0x500885(0x23f)](0x0,_0x8dd809),_0x5affe7[_0x500885(0x1e7)]-=_0x5ee22f;}return new _0x4b2a1b[(_0x500885(0x11f))](_0x31ba0a,_0x5ee22f);},'clone':function(){var _0x5442e5=_0x39f0ff,_0x5408b1=_0x5eaba4[_0x5442e5(0x1cc)][_0x5442e5(0x2d8)](this);return _0x5408b1['_data']=this[_0x5442e5(0x19e)]['clone'](),_0x5408b1;},'_minBufferSize':0x0});_0x7d6a8a[_0x39f0ff(0x14c)]=_0x5593d1['extend']({'cfg':_0x5eaba4[_0x39f0ff(0xc5)](),'init':function(_0x55c7a5){var _0x273177=_0x39f0ff;this[_0x273177(0x351)]=this[_0x273177(0x351)]['extend'](_0x55c7a5),this[_0x273177(0x1bf)]();},'reset':function(){var _0x3f9bcc=_0x39f0ff;_0x5593d1[_0x3f9bcc(0x1bf)]['call'](this),this[_0x3f9bcc(0x101)]();},'update':function(_0x1f9a4f){var _0x34c6fd=_0x39f0ff;return this[_0x34c6fd(0xb2)](_0x1f9a4f),this['_process'](),this;},'finalize':function(_0x30ba23){var _0x28fd56=_0x39f0ff;_0x30ba23&&this['_append'](_0x30ba23);var _0x30f2e9=this[_0x28fd56(0x12f)]();return _0x30f2e9;},'blockSize':0x10,'_createHelper':function(_0x1e6dad){return function(_0x39e992,_0x2792b0){var _0x489746=_0x4451;return new _0x1e6dad[(_0x489746(0x11f))](_0x2792b0)[_0x489746(0x337)](_0x39e992);};},'_createHmacHelper':function(_0x26335e){return function(_0x56dde0,_0x5d94cf){var _0x3f986e=_0x4451;return new _0x2aee1d['HMAC'][(_0x3f986e(0x11f))](_0x26335e,_0x5d94cf)['finalize'](_0x56dde0);};}});var _0x2aee1d=_0x43cbea[_0x39f0ff(0xae)]={};return _0x43cbea;}(Math);return _0x41f585;}));}(Ge)),Ge[_0x36529d(0x1b2)];}var We={'exports':{}},Ar=We[_0xf95350(0x1b2)],Qt;function wi(){var _0x5d70c3=_0xf95350;return Qt||(Qt=0x1,function(_0x11759f,_0x5f321a){(function(_0x53cb73,_0x2da374){var _0x23e296=_0x4451;_0x11759f[_0x23e296(0x1b2)]=_0x2da374(se());}(Ar,function(_0x29dc8e){var _0x383e3e=_0x4451;return(function(){var _0x501bca=_0x4451,_0x45640a=_0x29dc8e,_0x21b828=_0x45640a[_0x501bca(0x12b)],_0xbb746b=_0x21b828[_0x501bca(0x388)],_0x4f1697=_0x45640a['enc'];_0x4f1697[_0x501bca(0x349)]={'stringify':function(_0xda2fda){var _0x1ad4fb=_0x501bca,_0x302cac=_0xda2fda[_0x1ad4fb(0x24d)],_0x2ffa7e=_0xda2fda[_0x1ad4fb(0x1e7)],_0x302658=this[_0x1ad4fb(0x2ac)];_0xda2fda[_0x1ad4fb(0x2b1)]();for(var _0x2a9036=[],_0x5624db=0x0;_0x5624db<_0x2ffa7e;_0x5624db+=0x3)for(var _0x1e281a=_0x302cac[_0x5624db>>>0x2]>>>0x18-_0x5624db%0x4*0x8&0xff,_0x28081d=_0x302cac[_0x5624db+0x1>>>0x2]>>>0x18-(_0x5624db+0x1)%0x4*0x8&0xff,_0x4810ea=_0x302cac[_0x5624db+0x2>>>0x2]>>>0x18-(_0x5624db+0x2)%0x4*0x8&0xff,_0x20fa9c=_0x1e281a<<0x10|_0x28081d<<0x8|_0x4810ea,_0x13137c=0x0;_0x13137c<0x4&&_0x5624db+_0x13137c*0.75<_0x2ffa7e;_0x13137c++)_0x2a9036['push'](_0x302658[_0x1ad4fb(0x243)](_0x20fa9c>>>0x6*(0x3-_0x13137c)&0x3f));var _0xecaae4=_0x302658[_0x1ad4fb(0x243)](0x40);if(_0xecaae4){for(;_0x2a9036[_0x1ad4fb(0x131)]%0x4;)_0x2a9036[_0x1ad4fb(0x2e0)](_0xecaae4);}return _0x2a9036['join']('');},'parse':function(_0x57c4a3){var _0x3721d3=_0x501bca,_0x273568=_0x57c4a3[_0x3721d3(0x131)],_0x20e8fd=this[_0x3721d3(0x2ac)],_0x4ec7dd=this['_reverseMap'];if(!_0x4ec7dd){_0x4ec7dd=this[_0x3721d3(0x28c)]=[];for(var _0x35b5eb=0x0;_0x35b5eb<_0x20e8fd[_0x3721d3(0x131)];_0x35b5eb++)_0x4ec7dd[_0x20e8fd[_0x3721d3(0x378)](_0x35b5eb)]=_0x35b5eb;}var _0x43e44f=_0x20e8fd[_0x3721d3(0x243)](0x40);if(_0x43e44f){var _0x1d7fa6=_0x57c4a3[_0x3721d3(0x252)](_0x43e44f);_0x1d7fa6!==-0x1&&(_0x273568=_0x1d7fa6);}return _0x32773a(_0x57c4a3,_0x273568,_0x4ec7dd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x32773a(_0x532d20,_0x8ce56e,_0x34e95a){var _0x53108c=_0x501bca;for(var _0xa5f127=[],_0x54ffc3=0x0,_0x321639=0x0;_0x321639<_0x8ce56e;_0x321639++)if(_0x321639%0x4){var _0x47ee14=_0x34e95a[_0x532d20['charCodeAt'](_0x321639-0x1)]<<_0x321639%0x4*0x2,_0x4dda82=_0x34e95a[_0x532d20[_0x53108c(0x378)](_0x321639)]>>>0x6-_0x321639%0x4*0x2,_0xb74781=_0x47ee14|_0x4dda82;_0xa5f127[_0x54ffc3>>>0x2]|=_0xb74781<<0x18-_0x54ffc3%0x4*0x8,_0x54ffc3++;}return _0xbb746b[_0x53108c(0x18c)](_0xa5f127,_0x54ffc3);}}()),_0x29dc8e[_0x383e3e(0x275)][_0x383e3e(0x349)];}));}(We)),We[_0x5d70c3(0x1b2)];}var Ke={'exports':{}},xr=Ke[_0xf95350(0x1b2)],ei;function Lr(){return ei||(ei=0x1,function(_0x2d5980,_0x410669){(function(_0xdd6dfb,_0x5aa345){var _0x3e42a0=_0x4451;_0x2d5980[_0x3e42a0(0x1b2)]=_0x5aa345(se());}(xr,function(_0x5ce2d6){return function(_0x227866){var _0x2b4f51=_0x4451,_0xedfe35=_0x5ce2d6,_0x3b0060=_0xedfe35[_0x2b4f51(0x12b)],_0x3f87ce=_0x3b0060['WordArray'],_0x28128c=_0x3b0060[_0x2b4f51(0x14c)],_0x32fb44=_0xedfe35[_0x2b4f51(0xae)],_0x91176e=[];(function(){var _0x146834=_0x2b4f51;for(var _0x2d3782=0x0;_0x2d3782<0x40;_0x2d3782++)_0x91176e[_0x2d3782]=_0x227866[_0x146834(0xad)](_0x227866['sin'](_0x2d3782+0x1))*0x100000000|0x0;}());var _0x4a05fe=_0x32fb44[_0x2b4f51(0x1cb)]=_0x28128c[_0x2b4f51(0xc5)]({'_doReset':function(){var _0x4dc6b2=_0x2b4f51;this[_0x4dc6b2(0x2ec)]=new _0x3f87ce[(_0x4dc6b2(0x11f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c887d,_0x45ceb8){var _0x34bf81=_0x2b4f51;for(var _0x358782=0x0;_0x358782<0x10;_0x358782++){var _0xe4c1c3=_0x45ceb8+_0x358782,_0x3bcaa0=_0x5c887d[_0xe4c1c3];_0x5c887d[_0xe4c1c3]=(_0x3bcaa0<<0x8|_0x3bcaa0>>>0x18)&0xff00ff|(_0x3bcaa0<<0x18|_0x3bcaa0>>>0x8)&0xff00ff00;}var _0x4a6e43=this[_0x34bf81(0x2ec)][_0x34bf81(0x24d)],_0x48fdbd=_0x5c887d[_0x45ceb8+0x0],_0x1fe725=_0x5c887d[_0x45ceb8+0x1],_0x5210f8=_0x5c887d[_0x45ceb8+0x2],_0x1925c5=_0x5c887d[_0x45ceb8+0x3],_0x46984b=_0x5c887d[_0x45ceb8+0x4],_0x96ff09=_0x5c887d[_0x45ceb8+0x5],_0x3a8066=_0x5c887d[_0x45ceb8+0x6],_0x52caa5=_0x5c887d[_0x45ceb8+0x7],_0x64313e=_0x5c887d[_0x45ceb8+0x8],_0x5a6263=_0x5c887d[_0x45ceb8+0x9],_0x2efb3f=_0x5c887d[_0x45ceb8+0xa],_0x139db8=_0x5c887d[_0x45ceb8+0xb],_0x588037=_0x5c887d[_0x45ceb8+0xc],_0x32a171=_0x5c887d[_0x45ceb8+0xd],_0x2dba95=_0x5c887d[_0x45ceb8+0xe],_0x4d6365=_0x5c887d[_0x45ceb8+0xf],_0x302219=_0x4a6e43[0x0],_0xdf05a6=_0x4a6e43[0x1],_0x1790ee=_0x4a6e43[0x2],_0x5148c0=_0x4a6e43[0x3];_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x48fdbd,0x7,_0x91176e[0x0]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x1fe725,0xc,_0x91176e[0x1]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x5210f8,0x11,_0x91176e[0x2]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x1925c5,0x16,_0x91176e[0x3]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x46984b,0x7,_0x91176e[0x4]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x96ff09,0xc,_0x91176e[0x5]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x3a8066,0x11,_0x91176e[0x6]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x52caa5,0x16,_0x91176e[0x7]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x64313e,0x7,_0x91176e[0x8]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x5a6263,0xc,_0x91176e[0x9]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2efb3f,0x11,_0x91176e[0xa]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x139db8,0x16,_0x91176e[0xb]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x588037,0x7,_0x91176e[0xc]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x32a171,0xc,_0x91176e[0xd]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2dba95,0x11,_0x91176e[0xe]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x4d6365,0x16,_0x91176e[0xf]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x1fe725,0x5,_0x91176e[0x10]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x3a8066,0x9,_0x91176e[0x11]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x139db8,0xe,_0x91176e[0x12]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x48fdbd,0x14,_0x91176e[0x13]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x96ff09,0x5,_0x91176e[0x14]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x2efb3f,0x9,_0x91176e[0x15]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x4d6365,0xe,_0x91176e[0x16]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x46984b,0x14,_0x91176e[0x17]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x5a6263,0x5,_0x91176e[0x18]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x2dba95,0x9,_0x91176e[0x19]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x1925c5,0xe,_0x91176e[0x1a]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x64313e,0x14,_0x91176e[0x1b]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x32a171,0x5,_0x91176e[0x1c]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x5210f8,0x9,_0x91176e[0x1d]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x52caa5,0xe,_0x91176e[0x1e]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x588037,0x14,_0x91176e[0x1f]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x96ff09,0x4,_0x91176e[0x20]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x64313e,0xb,_0x91176e[0x21]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x139db8,0x10,_0x91176e[0x22]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x2dba95,0x17,_0x91176e[0x23]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x1fe725,0x4,_0x91176e[0x24]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x46984b,0xb,_0x91176e[0x25]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x52caa5,0x10,_0x91176e[0x26]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x2efb3f,0x17,_0x91176e[0x27]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x32a171,0x4,_0x91176e[0x28]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x48fdbd,0xb,_0x91176e[0x29]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x1925c5,0x10,_0x91176e[0x2a]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x3a8066,0x17,_0x91176e[0x2b]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x5a6263,0x4,_0x91176e[0x2c]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x588037,0xb,_0x91176e[0x2d]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x4d6365,0x10,_0x91176e[0x2e]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x5210f8,0x17,_0x91176e[0x2f]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x48fdbd,0x6,_0x91176e[0x30]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x52caa5,0xa,_0x91176e[0x31]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2dba95,0xf,_0x91176e[0x32]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x96ff09,0x15,_0x91176e[0x33]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x588037,0x6,_0x91176e[0x34]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x1925c5,0xa,_0x91176e[0x35]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2efb3f,0xf,_0x91176e[0x36]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x1fe725,0x15,_0x91176e[0x37]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x64313e,0x6,_0x91176e[0x38]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x4d6365,0xa,_0x91176e[0x39]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x3a8066,0xf,_0x91176e[0x3a]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x32a171,0x15,_0x91176e[0x3b]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x46984b,0x6,_0x91176e[0x3c]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x139db8,0xa,_0x91176e[0x3d]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x5210f8,0xf,_0x91176e[0x3e]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x5a6263,0x15,_0x91176e[0x3f]),_0x4a6e43[0x0]=_0x4a6e43[0x0]+_0x302219|0x0,_0x4a6e43[0x1]=_0x4a6e43[0x1]+_0xdf05a6|0x0,_0x4a6e43[0x2]=_0x4a6e43[0x2]+_0x1790ee|0x0,_0x4a6e43[0x3]=_0x4a6e43[0x3]+_0x5148c0|0x0;},'_doFinalize':function(){var _0x5970ce=_0x2b4f51,_0x33c068=this[_0x5970ce(0x19e)],_0x4e86fe=_0x33c068[_0x5970ce(0x24d)],_0x6bfe81=this['_nDataBytes']*0x8,_0x55eaee=_0x33c068[_0x5970ce(0x1e7)]*0x8;_0x4e86fe[_0x55eaee>>>0x5]|=0x80<<0x18-_0x55eaee%0x20;var _0x1474eb=_0x227866[_0x5970ce(0x120)](_0x6bfe81/0x100000000),_0x15ee22=_0x6bfe81;_0x4e86fe[(_0x55eaee+0x40>>>0x9<<0x4)+0xf]=(_0x1474eb<<0x8|_0x1474eb>>>0x18)&0xff00ff|(_0x1474eb<<0x18|_0x1474eb>>>0x8)&0xff00ff00,_0x4e86fe[(_0x55eaee+0x40>>>0x9<<0x4)+0xe]=(_0x15ee22<<0x8|_0x15ee22>>>0x18)&0xff00ff|(_0x15ee22<<0x18|_0x15ee22>>>0x8)&0xff00ff00,_0x33c068[_0x5970ce(0x1e7)]=(_0x4e86fe[_0x5970ce(0x131)]+0x1)*0x4,this[_0x5970ce(0x170)]();for(var _0x13a3bd=this[_0x5970ce(0x2ec)],_0x4fb9e1=_0x13a3bd[_0x5970ce(0x24d)],_0x485a51=0x0;_0x485a51<0x4;_0x485a51++){var _0x335d1b=_0x4fb9e1[_0x485a51];_0x4fb9e1[_0x485a51]=(_0x335d1b<<0x8|_0x335d1b>>>0x18)&0xff00ff|(_0x335d1b<<0x18|_0x335d1b>>>0x8)&0xff00ff00;}return _0x13a3bd;},'clone':function(){var _0x3241a9=_0x2b4f51,_0x6c7182=_0x28128c[_0x3241a9(0x1cc)]['call'](this);return _0x6c7182['_hash']=this[_0x3241a9(0x2ec)][_0x3241a9(0x1cc)](),_0x6c7182;}});function _0x5329b9(_0x302f30,_0x5f4572,_0x383864,_0x1b47c3,_0x1ebc4b,_0x174f7b,_0x2a200d){var _0x2f5d42=_0x302f30+(_0x5f4572&_0x383864|~_0x5f4572&_0x1b47c3)+_0x1ebc4b+_0x2a200d;return(_0x2f5d42<<_0x174f7b|_0x2f5d42>>>0x20-_0x174f7b)+_0x5f4572;}function _0x5ef45e(_0x51f932,_0x1bc9c9,_0x218358,_0x52bdc6,_0x3b170a,_0x1a4307,_0x22ccc3){var _0x17901e=_0x51f932+(_0x1bc9c9&_0x52bdc6|_0x218358&~_0x52bdc6)+_0x3b170a+_0x22ccc3;return(_0x17901e<<_0x1a4307|_0x17901e>>>0x20-_0x1a4307)+_0x1bc9c9;}function _0x55bd19(_0x331df7,_0x3d31f8,_0x3b95b2,_0x46a7ee,_0x447790,_0x4b0725,_0xd84a39){var _0x56888c=_0x331df7+(_0x3d31f8^_0x3b95b2^_0x46a7ee)+_0x447790+_0xd84a39;return(_0x56888c<<_0x4b0725|_0x56888c>>>0x20-_0x4b0725)+_0x3d31f8;}function _0x3be933(_0x607c2a,_0x5184ba,_0x2c9808,_0x9d02da,_0x32854b,_0x4421ba,_0x298de1){var _0x22fd2c=_0x607c2a+(_0x2c9808^(_0x5184ba|~_0x9d02da))+_0x32854b+_0x298de1;return(_0x22fd2c<<_0x4421ba|_0x22fd2c>>>0x20-_0x4421ba)+_0x5184ba;}_0xedfe35[_0x2b4f51(0x1cb)]=_0x28128c[_0x2b4f51(0x3a3)](_0x4a05fe),_0xedfe35[_0x2b4f51(0x332)]=_0x28128c['_createHmacHelper'](_0x4a05fe);}(Math),_0x5ce2d6['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Mr=qe[_0xf95350(0x1b2)],ti;function $r(){var _0x148d73=_0xf95350;return ti||(ti=0x1,function(_0x77bd21,_0x44fba7){(function(_0x593211,_0xfcd647){var _0x3e2b36=_0x4451;_0x77bd21[_0x3e2b36(0x1b2)]=_0xfcd647(se());}(Mr,function(_0x5603ab){var _0x231010=_0x4451;return(function(){var _0x456036=_0x4451,_0x40213a=_0x5603ab,_0x4a30ff=_0x40213a[_0x456036(0x12b)],_0x45da4b=_0x4a30ff[_0x456036(0x388)],_0x25639c=_0x4a30ff[_0x456036(0x14c)],_0x387d9b=_0x40213a[_0x456036(0xae)],_0x598b73=[],_0x15b890=_0x387d9b[_0x456036(0x29e)]=_0x25639c['extend']({'_doReset':function(){var _0x3b5a17=_0x456036;this[_0x3b5a17(0x2ec)]=new _0x45da4b[(_0x3b5a17(0x11f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x19b9cd,_0x23b181){var _0x1b1632=_0x456036;for(var _0x124e78=this[_0x1b1632(0x2ec)]['words'],_0x403ffc=_0x124e78[0x0],_0x147b1c=_0x124e78[0x1],_0x18a7d3=_0x124e78[0x2],_0x1cb70e=_0x124e78[0x3],_0x3b9068=_0x124e78[0x4],_0x23a340=0x0;_0x23a340<0x50;_0x23a340++){if(_0x23a340<0x10)_0x598b73[_0x23a340]=_0x19b9cd[_0x23b181+_0x23a340]|0x0;else{var _0xad46e0=_0x598b73[_0x23a340-0x3]^_0x598b73[_0x23a340-0x8]^_0x598b73[_0x23a340-0xe]^_0x598b73[_0x23a340-0x10];_0x598b73[_0x23a340]=_0xad46e0<<0x1|_0xad46e0>>>0x1f;}var _0x182741=(_0x403ffc<<0x5|_0x403ffc>>>0x1b)+_0x3b9068+_0x598b73[_0x23a340];_0x23a340<0x14?_0x182741+=(_0x147b1c&_0x18a7d3|~_0x147b1c&_0x1cb70e)+0x5a827999:_0x23a340<0x28?_0x182741+=(_0x147b1c^_0x18a7d3^_0x1cb70e)+0x6ed9eba1:_0x23a340<0x3c?_0x182741+=(_0x147b1c&_0x18a7d3|_0x147b1c&_0x1cb70e|_0x18a7d3&_0x1cb70e)-0x70e44324:_0x182741+=(_0x147b1c^_0x18a7d3^_0x1cb70e)-0x359d3e2a,_0x3b9068=_0x1cb70e,_0x1cb70e=_0x18a7d3,_0x18a7d3=_0x147b1c<<0x1e|_0x147b1c>>>0x2,_0x147b1c=_0x403ffc,_0x403ffc=_0x182741;}_0x124e78[0x0]=_0x124e78[0x0]+_0x403ffc|0x0,_0x124e78[0x1]=_0x124e78[0x1]+_0x147b1c|0x0,_0x124e78[0x2]=_0x124e78[0x2]+_0x18a7d3|0x0,_0x124e78[0x3]=_0x124e78[0x3]+_0x1cb70e|0x0,_0x124e78[0x4]=_0x124e78[0x4]+_0x3b9068|0x0;},'_doFinalize':function(){var _0x5ae344=_0x456036,_0x57c742=this[_0x5ae344(0x19e)],_0x3a7206=_0x57c742['words'],_0x38b84c=this['_nDataBytes']*0x8,_0x217cec=_0x57c742[_0x5ae344(0x1e7)]*0x8;return _0x3a7206[_0x217cec>>>0x5]|=0x80<<0x18-_0x217cec%0x20,_0x3a7206[(_0x217cec+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ae344(0x120)](_0x38b84c/0x100000000),_0x3a7206[(_0x217cec+0x40>>>0x9<<0x4)+0xf]=_0x38b84c,_0x57c742[_0x5ae344(0x1e7)]=_0x3a7206[_0x5ae344(0x131)]*0x4,this[_0x5ae344(0x170)](),this[_0x5ae344(0x2ec)];},'clone':function(){var _0x5dd07f=_0x456036,_0x501a95=_0x25639c[_0x5dd07f(0x1cc)][_0x5dd07f(0x2d8)](this);return _0x501a95[_0x5dd07f(0x2ec)]=this[_0x5dd07f(0x2ec)]['clone'](),_0x501a95;}});_0x40213a[_0x456036(0x29e)]=_0x25639c[_0x456036(0x3a3)](_0x15b890),_0x40213a[_0x456036(0x319)]=_0x25639c[_0x456036(0xfe)](_0x15b890);}()),_0x5603ab[_0x231010(0x29e)];}));}(qe)),qe[_0x148d73(0x1b2)];}var ze={'exports':{}},Hr=ze[_0xf95350(0x1b2)],ii;function kr(){var _0x23f946=_0xf95350;return ii||(ii=0x1,function(_0x46b00e,_0x56f62b){(function(_0x3c2889,_0x4fc258){var _0x49b817=_0x4451;_0x46b00e[_0x49b817(0x1b2)]=_0x4fc258(se());}(Hr,function(_0x3a8e1){(function(){var _0x58c0df=_0x4451,_0xf9329a=_0x3a8e1,_0x670394=_0xf9329a[_0x58c0df(0x12b)],_0x2641da=_0x670394[_0x58c0df(0x325)],_0x3655c6=_0xf9329a[_0x58c0df(0x275)],_0x279385=_0x3655c6[_0x58c0df(0xd1)],_0x30e88c=_0xf9329a[_0x58c0df(0xae)];_0x30e88c[_0x58c0df(0x22a)]=_0x2641da[_0x58c0df(0xc5)]({'init':function(_0x5cdb73,_0x27522c){var _0x335d2a=_0x58c0df;_0x5cdb73=this['_hasher']=new _0x5cdb73[(_0x335d2a(0x11f))](),typeof _0x27522c==_0x335d2a(0x267)&&(_0x27522c=_0x279385[_0x335d2a(0x1a6)](_0x27522c));var _0x4f00fa=_0x5cdb73[_0x335d2a(0xab)],_0xa93478=_0x4f00fa*0x4;_0x27522c[_0x335d2a(0x1e7)]>_0xa93478&&(_0x27522c=_0x5cdb73['finalize'](_0x27522c)),_0x27522c['clamp']();for(var _0x35c66c=this[_0x335d2a(0x25b)]=_0x27522c['clone'](),_0x3c7df7=this[_0x335d2a(0x2ca)]=_0x27522c[_0x335d2a(0x1cc)](),_0x10fb0a=_0x35c66c['words'],_0xb95c75=_0x3c7df7[_0x335d2a(0x24d)],_0x3563ac=0x0;_0x3563ac<_0x4f00fa;_0x3563ac++)_0x10fb0a[_0x3563ac]^=0x5c5c5c5c,_0xb95c75[_0x3563ac]^=0x36363636;_0x35c66c['sigBytes']=_0x3c7df7[_0x335d2a(0x1e7)]=_0xa93478,this['reset']();},'reset':function(){var _0x1cb33d=_0x58c0df,_0x360bdf=this[_0x1cb33d(0x31d)];_0x360bdf[_0x1cb33d(0x1bf)](),_0x360bdf[_0x1cb33d(0x1c6)](this[_0x1cb33d(0x2ca)]);},'update':function(_0x360948){var _0x30d5c6=_0x58c0df;return this[_0x30d5c6(0x31d)][_0x30d5c6(0x1c6)](_0x360948),this;},'finalize':function(_0x11edeb){var _0x5869e2=_0x58c0df,_0x9f972d=this[_0x5869e2(0x31d)],_0x34aa05=_0x9f972d[_0x5869e2(0x337)](_0x11edeb);_0x9f972d[_0x5869e2(0x1bf)]();var _0x22e090=_0x9f972d['finalize'](this['_oKey']['clone']()[_0x5869e2(0x241)](_0x34aa05));return _0x22e090;}});}());}));}(ze)),ze[_0x23f946(0x1b2)];}var jr=Ye[_0xf95350(0x1b2)],si;function Ui(){var _0x22e9bf=_0xf95350;return si||(si=0x1,function(_0x5004c9,_0x251662){(function(_0x46f7ab,_0x56e553,_0xfc0016){var _0xc0474=_0x4451;_0x5004c9[_0xc0474(0x1b2)]=_0x56e553(se(),$r(),kr());}(jr,function(_0x17dc54){var _0x8e679b=_0x4451;return(function(){var _0x462f2c=_0x4451,_0x13d8f4=_0x17dc54,_0x73ca46=_0x13d8f4[_0x462f2c(0x12b)],_0x46f2ce=_0x73ca46[_0x462f2c(0x325)],_0xf2c283=_0x73ca46[_0x462f2c(0x388)],_0x53812f=_0x13d8f4['algo'],_0x28afc4=_0x53812f['MD5'],_0x4a2350=_0x53812f[_0x462f2c(0x236)]=_0x46f2ce[_0x462f2c(0xc5)]({'cfg':_0x46f2ce['extend']({'keySize':0x80/0x20,'hasher':_0x28afc4,'iterations':0x1}),'init':function(_0x4353be){var _0x3268ff=_0x462f2c;this[_0x3268ff(0x351)]=this[_0x3268ff(0x351)][_0x3268ff(0xc5)](_0x4353be);},'compute':function(_0x249ec3,_0x2de2ee){var _0x3070d0=_0x462f2c;for(var _0x71bf12,_0x383654=this[_0x3070d0(0x351)],_0x25e76b=_0x383654['hasher'][_0x3070d0(0x18c)](),_0x3e8ad4=_0xf2c283[_0x3070d0(0x18c)](),_0x5ea902=_0x3e8ad4['words'],_0x4be8fe=_0x383654[_0x3070d0(0x1ae)],_0x40034a=_0x383654['iterations'];_0x5ea902[_0x3070d0(0x131)]<_0x4be8fe;){_0x71bf12&&_0x25e76b[_0x3070d0(0x1c6)](_0x71bf12),_0x71bf12=_0x25e76b[_0x3070d0(0x1c6)](_0x249ec3)[_0x3070d0(0x337)](_0x2de2ee),_0x25e76b[_0x3070d0(0x1bf)]();for(var _0x19a703=0x1;_0x19a703<_0x40034a;_0x19a703++)_0x71bf12=_0x25e76b['finalize'](_0x71bf12),_0x25e76b[_0x3070d0(0x1bf)]();_0x3e8ad4['concat'](_0x71bf12);}return _0x3e8ad4[_0x3070d0(0x1e7)]=_0x4be8fe*0x4,_0x3e8ad4;}});_0x13d8f4[_0x462f2c(0x236)]=function(_0x1935c7,_0x58c644,_0x14356d){var _0x1afdab=_0x462f2c;return _0x4a2350[_0x1afdab(0x18c)](_0x14356d)['compute'](_0x1935c7,_0x58c644);};}()),_0x17dc54[_0x8e679b(0x236)];}));}(Ye)),Ye[_0x22e9bf(0x1b2)];}var Je={'exports':{}},Br=Je['exports'],ri;function Ai(){var _0x5e0b64=_0xf95350;return ri||(ri=0x1,function(_0x516b2a,_0x51a0dc){(function(_0x481cbd,_0x4d559f,_0x28113e){var _0x10b8f5=_0x4451;_0x516b2a[_0x10b8f5(0x1b2)]=_0x4d559f(se(),Ui());}(Br,function(_0x4c6ee9){var _0x3fd7a4=_0x4451;_0x4c6ee9[_0x3fd7a4(0x12b)][_0x3fd7a4(0xf5)]||function(_0x393a30){var _0x506043=_0x3fd7a4,_0x55e418=_0x4c6ee9,_0x513f87=_0x55e418[_0x506043(0x12b)],_0x39d1d5=_0x513f87[_0x506043(0x325)],_0x5a5d2d=_0x513f87[_0x506043(0x388)],_0x4d20b2=_0x513f87[_0x506043(0x1c3)],_0x238e6d=_0x55e418[_0x506043(0x275)];_0x238e6d['Utf8'];var _0x2e77da=_0x238e6d['Base64'],_0x1aa531=_0x55e418['algo'],_0x302f44=_0x1aa531[_0x506043(0x236)],_0x1983ad=_0x513f87[_0x506043(0xf5)]=_0x4d20b2[_0x506043(0xc5)]({'cfg':_0x39d1d5[_0x506043(0xc5)](),'createEncryptor':function(_0x361c18,_0x1264c9){var _0x1d1fcf=_0x506043;return this[_0x1d1fcf(0x18c)](this['_ENC_XFORM_MODE'],_0x361c18,_0x1264c9);},'createDecryptor':function(_0x137838,_0x91cc75){return this['create'](this['_DEC_XFORM_MODE'],_0x137838,_0x91cc75);},'init':function(_0xddcd8,_0x1f166d,_0x121451){var _0x2dfc9f=_0x506043;this[_0x2dfc9f(0x351)]=this[_0x2dfc9f(0x351)][_0x2dfc9f(0xc5)](_0x121451),this[_0x2dfc9f(0x139)]=_0xddcd8,this[_0x2dfc9f(0x2c3)]=_0x1f166d,this[_0x2dfc9f(0x1bf)]();},'reset':function(){var _0x16b4e3=_0x506043;_0x4d20b2[_0x16b4e3(0x1bf)]['call'](this),this[_0x16b4e3(0x101)]();},'process':function(_0x22b26c){var _0x2e5fac=_0x506043;return this['_append'](_0x22b26c),this[_0x2e5fac(0x170)]();},'finalize':function(_0x460657){var _0x212153=_0x506043;_0x460657&&this[_0x212153(0xb2)](_0x460657);var _0x58cca9=this['_doFinalize']();return _0x58cca9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x100b4f(_0x18d2dc){return typeof _0x18d2dc=='string'?_0x47bd57:_0x42eedf;}return function(_0x941c35){return{'encrypt':function(_0x566483,_0x3c7b5f,_0x2f9f15){var _0x5b0736=_0x4451;return _0x100b4f(_0x3c7b5f)[_0x5b0736(0x1ec)](_0x941c35,_0x566483,_0x3c7b5f,_0x2f9f15);},'decrypt':function(_0x1fb842,_0x460ec0,_0x3430d6){var _0x4ee30e=_0x4451;return _0x100b4f(_0x460ec0)[_0x4ee30e(0x303)](_0x941c35,_0x1fb842,_0x460ec0,_0x3430d6);}};};}())});_0x513f87[_0x506043(0x30d)]=_0x1983ad['extend']({'_doFinalize':function(){var _0x4c419e=_0x506043,_0x2000b0=this[_0x4c419e(0x170)](!0x0);return _0x2000b0;},'blockSize':0x1});var _0x10f11d=_0x55e418[_0x506043(0x174)]={},_0x4d3946=_0x513f87[_0x506043(0x23a)]=_0x39d1d5['extend']({'createEncryptor':function(_0x4a3ecf,_0x146685){var _0xfad742=_0x506043;return this[_0xfad742(0x166)][_0xfad742(0x18c)](_0x4a3ecf,_0x146685);},'createDecryptor':function(_0x13f59f,_0x14774d){var _0x41dd6e=_0x506043;return this[_0x41dd6e(0x10e)][_0x41dd6e(0x18c)](_0x13f59f,_0x14774d);},'init':function(_0x40d1cc,_0x57c981){var _0x502564=_0x506043;this[_0x502564(0x113)]=_0x40d1cc,this[_0x502564(0x22b)]=_0x57c981;}}),_0x4e42eb=_0x10f11d[_0x506043(0x374)]=(function(){var _0x1ff126=_0x506043,_0x14a4db=_0x4d3946[_0x1ff126(0xc5)]();_0x14a4db[_0x1ff126(0x166)]=_0x14a4db[_0x1ff126(0xc5)]({'processBlock':function(_0x1f3260,_0x4f8934){var _0x183f79=_0x1ff126,_0x232e40=this[_0x183f79(0x113)],_0x2a3c81=_0x232e40['blockSize'];_0x40a448[_0x183f79(0x2d8)](this,_0x1f3260,_0x4f8934,_0x2a3c81),_0x232e40['encryptBlock'](_0x1f3260,_0x4f8934),this[_0x183f79(0x222)]=_0x1f3260[_0x183f79(0x2dd)](_0x4f8934,_0x4f8934+_0x2a3c81);}}),_0x14a4db[_0x1ff126(0x10e)]=_0x14a4db['extend']({'processBlock':function(_0x3a93a0,_0x906afb){var _0x2ff0b5=_0x1ff126,_0x5c9045=this[_0x2ff0b5(0x113)],_0x2f3a93=_0x5c9045['blockSize'],_0x26228f=_0x3a93a0[_0x2ff0b5(0x2dd)](_0x906afb,_0x906afb+_0x2f3a93);_0x5c9045[_0x2ff0b5(0x1c2)](_0x3a93a0,_0x906afb),_0x40a448['call'](this,_0x3a93a0,_0x906afb,_0x2f3a93),this['_prevBlock']=_0x26228f;}});function _0x40a448(_0x479101,_0x4dfd60,_0x230e6a){var _0x39eda8=_0x1ff126,_0x3df12a,_0x577ec=this[_0x39eda8(0x22b)];_0x577ec?(_0x3df12a=_0x577ec,this[_0x39eda8(0x22b)]=_0x393a30):_0x3df12a=this[_0x39eda8(0x222)];for(var _0x323466=0x0;_0x323466<_0x230e6a;_0x323466++)_0x479101[_0x4dfd60+_0x323466]^=_0x3df12a[_0x323466];}return _0x14a4db;}()),_0x120254=_0x55e418[_0x506043(0x30b)]={},_0xeba553=_0x120254['Pkcs7']={'pad':function(_0x256758,_0x34adbd){var _0x2d083b=_0x506043;for(var _0xfdf605=_0x34adbd*0x4,_0x2f58eb=_0xfdf605-_0x256758[_0x2d083b(0x1e7)]%_0xfdf605,_0x3c3ee8=_0x2f58eb<<0x18|_0x2f58eb<<0x10|_0x2f58eb<<0x8|_0x2f58eb,_0x1abdab=[],_0x520634=0x0;_0x520634<_0x2f58eb;_0x520634+=0x4)_0x1abdab[_0x2d083b(0x2e0)](_0x3c3ee8);var _0x3c39a6=_0x5a5d2d[_0x2d083b(0x18c)](_0x1abdab,_0x2f58eb);_0x256758[_0x2d083b(0x241)](_0x3c39a6);},'unpad':function(_0x409f8b){var _0x47fbf7=_0x506043,_0x45a6be=_0x409f8b[_0x47fbf7(0x24d)][_0x409f8b['sigBytes']-0x1>>>0x2]&0xff;_0x409f8b[_0x47fbf7(0x1e7)]-=_0x45a6be;}};_0x513f87[_0x506043(0x1df)]=_0x1983ad[_0x506043(0xc5)]({'cfg':_0x1983ad[_0x506043(0x351)][_0x506043(0xc5)]({'mode':_0x4e42eb,'padding':_0xeba553}),'reset':function(){var _0x35dd1f=_0x506043,_0x1063ab;_0x1983ad['reset']['call'](this);var _0x1b126f=this['cfg'],_0xa032bf=_0x1b126f['iv'],_0x1e6473=_0x1b126f[_0x35dd1f(0x174)];this['_xformMode']==this[_0x35dd1f(0xcf)]?_0x1063ab=_0x1e6473[_0x35dd1f(0x1e6)]:(_0x1063ab=_0x1e6473['createDecryptor'],this['_minBufferSize']=0x1),this[_0x35dd1f(0x35e)]&&this['_mode'][_0x35dd1f(0xc4)]==_0x1063ab?this[_0x35dd1f(0x35e)][_0x35dd1f(0x11f)](this,_0xa032bf&&_0xa032bf['words']):(this[_0x35dd1f(0x35e)]=_0x1063ab['call'](_0x1e6473,this,_0xa032bf&&_0xa032bf[_0x35dd1f(0x24d)]),this['_mode'][_0x35dd1f(0xc4)]=_0x1063ab);},'_doProcessBlock':function(_0x370906,_0x1905a6){var _0x3692d1=_0x506043;this[_0x3692d1(0x35e)][_0x3692d1(0x138)](_0x370906,_0x1905a6);},'_doFinalize':function(){var _0x2e48f3=_0x506043,_0x10a8ce,_0x2decd6=this[_0x2e48f3(0x351)][_0x2e48f3(0x195)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x2decd6['pad'](this[_0x2e48f3(0x19e)],this['blockSize']),_0x10a8ce=this[_0x2e48f3(0x170)](!0x0)):(_0x10a8ce=this[_0x2e48f3(0x170)](!0x0),_0x2decd6[_0x2e48f3(0x1f4)](_0x10a8ce)),_0x10a8ce;},'blockSize':0x80/0x20});var _0x338966=_0x513f87['CipherParams']=_0x39d1d5[_0x506043(0xc5)]({'init':function(_0x93825c){var _0x36b540=_0x506043;this[_0x36b540(0x38a)](_0x93825c);},'toString':function(_0x44be50){var _0x57184c=_0x506043;return(_0x44be50||this['formatter'])[_0x57184c(0x1f2)](this);}}),_0x1efee0=_0x55e418['format']={},_0x1eab9e=_0x1efee0[_0x506043(0x310)]={'stringify':function(_0x199370){var _0x2681d4=_0x506043,_0x36dffb,_0x3c3413=_0x199370['ciphertext'],_0x3f9928=_0x199370[_0x2681d4(0x238)];return _0x3f9928?_0x36dffb=_0x5a5d2d['create']([0x53616c74,0x65645f5f])['concat'](_0x3f9928)[_0x2681d4(0x241)](_0x3c3413):_0x36dffb=_0x3c3413,_0x36dffb[_0x2681d4(0x1e3)](_0x2e77da);},'parse':function(_0x39a9a5){var _0x3a5210=_0x506043,_0x3f06f3,_0x2238db=_0x2e77da[_0x3a5210(0x1a6)](_0x39a9a5),_0xb772c6=_0x2238db[_0x3a5210(0x24d)];return _0xb772c6[0x0]==0x53616c74&&_0xb772c6[0x1]==0x65645f5f&&(_0x3f06f3=_0x5a5d2d[_0x3a5210(0x18c)](_0xb772c6[_0x3a5210(0x2dd)](0x2,0x4)),_0xb772c6[_0x3a5210(0x23f)](0x0,0x4),_0x2238db[_0x3a5210(0x1e7)]-=0x10),_0x338966[_0x3a5210(0x18c)]({'ciphertext':_0x2238db,'salt':_0x3f06f3});}},_0x42eedf=_0x513f87[_0x506043(0xe0)]=_0x39d1d5[_0x506043(0xc5)]({'cfg':_0x39d1d5['extend']({'format':_0x1eab9e}),'encrypt':function(_0x143522,_0x3e43cc,_0x5f1824,_0x5e620a){var _0x15afe6=_0x506043;_0x5e620a=this[_0x15afe6(0x351)]['extend'](_0x5e620a);var _0x1bdd8c=_0x143522[_0x15afe6(0x1e6)](_0x5f1824,_0x5e620a),_0x223a49=_0x1bdd8c[_0x15afe6(0x337)](_0x3e43cc),_0x100edc=_0x1bdd8c[_0x15afe6(0x351)];return _0x338966[_0x15afe6(0x18c)]({'ciphertext':_0x223a49,'key':_0x5f1824,'iv':_0x100edc['iv'],'algorithm':_0x143522,'mode':_0x100edc['mode'],'padding':_0x100edc['padding'],'blockSize':_0x143522[_0x15afe6(0xab)],'formatter':_0x5e620a[_0x15afe6(0xac)]});},'decrypt':function(_0x356304,_0x3b3414,_0x1fdc4d,_0xb9af4e){var _0x3cf067=_0x506043;_0xb9af4e=this[_0x3cf067(0x351)][_0x3cf067(0xc5)](_0xb9af4e),_0x3b3414=this[_0x3cf067(0x2a6)](_0x3b3414,_0xb9af4e[_0x3cf067(0xac)]);var _0x5c35a6=_0x356304[_0x3cf067(0x119)](_0x1fdc4d,_0xb9af4e)[_0x3cf067(0x337)](_0x3b3414[_0x3cf067(0x194)]);return _0x5c35a6;},'_parse':function(_0x3829cc,_0x1b384f){var _0x36d7a2=_0x506043;return typeof _0x3829cc==_0x36d7a2(0x267)?_0x1b384f[_0x36d7a2(0x1a6)](_0x3829cc,this):_0x3829cc;}}),_0x4f936a=_0x55e418[_0x506043(0x173)]={},_0x4db37d=_0x4f936a['OpenSSL']={'execute':function(_0x53b3dc,_0x3e2d44,_0x54ef8c,_0x1f4baf,_0x577f48){var _0x268da9=_0x506043;if(_0x1f4baf||(_0x1f4baf=_0x5a5d2d[_0x268da9(0x220)](0x40/0x8)),_0x577f48)var _0x586775=_0x302f44[_0x268da9(0x18c)]({'keySize':_0x3e2d44+_0x54ef8c,'hasher':_0x577f48})['compute'](_0x53b3dc,_0x1f4baf);else var _0x586775=_0x302f44[_0x268da9(0x18c)]({'keySize':_0x3e2d44+_0x54ef8c})['compute'](_0x53b3dc,_0x1f4baf);var _0x2e7d65=_0x5a5d2d[_0x268da9(0x18c)](_0x586775[_0x268da9(0x24d)][_0x268da9(0x2dd)](_0x3e2d44),_0x54ef8c*0x4);return _0x586775['sigBytes']=_0x3e2d44*0x4,_0x338966['create']({'key':_0x586775,'iv':_0x2e7d65,'salt':_0x1f4baf});}},_0x47bd57=_0x513f87[_0x506043(0x1de)]=_0x42eedf[_0x506043(0xc5)]({'cfg':_0x42eedf[_0x506043(0x351)]['extend']({'kdf':_0x4db37d}),'encrypt':function(_0x247204,_0xf0aca0,_0x3a62e1,_0x48eccd){var _0x28eb67=_0x506043;_0x48eccd=this[_0x28eb67(0x351)][_0x28eb67(0xc5)](_0x48eccd);var _0x5a89e7=_0x48eccd[_0x28eb67(0x173)]['execute'](_0x3a62e1,_0x247204[_0x28eb67(0x1ae)],_0x247204[_0x28eb67(0x167)],_0x48eccd[_0x28eb67(0x238)],_0x48eccd[_0x28eb67(0x1f0)]);_0x48eccd['iv']=_0x5a89e7['iv'];var _0x4a48a1=_0x42eedf[_0x28eb67(0x1ec)][_0x28eb67(0x2d8)](this,_0x247204,_0xf0aca0,_0x5a89e7[_0x28eb67(0x334)],_0x48eccd);return _0x4a48a1[_0x28eb67(0x38a)](_0x5a89e7),_0x4a48a1;},'decrypt':function(_0x141e64,_0x106414,_0x32bacb,_0xa80c5e){var _0x31d1bd=_0x506043;_0xa80c5e=this[_0x31d1bd(0x351)]['extend'](_0xa80c5e),_0x106414=this['_parse'](_0x106414,_0xa80c5e[_0x31d1bd(0xac)]);var _0x1e6fcc=_0xa80c5e[_0x31d1bd(0x173)][_0x31d1bd(0x2d2)](_0x32bacb,_0x141e64[_0x31d1bd(0x1ae)],_0x141e64[_0x31d1bd(0x167)],_0x106414[_0x31d1bd(0x238)],_0xa80c5e[_0x31d1bd(0x1f0)]);_0xa80c5e['iv']=_0x1e6fcc['iv'];var _0x1a0a9f=_0x42eedf[_0x31d1bd(0x303)]['call'](this,_0x141e64,_0x106414,_0x1e6fcc[_0x31d1bd(0x334)],_0xa80c5e);return _0x1a0a9f;}});}();}));}(Je)),Je[_0x5e0b64(0x1b2)];}var Fr=Ve[_0xf95350(0x1b2)],ni;function Vr(){var _0x1c33a7=_0xf95350;return ni||(ni=0x1,function(_0x1d77e3,_0xd5febb){(function(_0xf34aad,_0x34dd26,_0x142249){var _0x3e1cb1=_0x4451;_0x1d77e3[_0x3e1cb1(0x1b2)]=_0x34dd26(se(),wi(),Lr(),Ui(),Ai());}(Fr,function(_0xc60f5b){var _0x102fa1=_0x4451;return(function(){var _0x577bd2=_0x4451,_0x546432=_0xc60f5b,_0x4f1d81=_0x546432[_0x577bd2(0x12b)],_0x36e9cd=_0x4f1d81[_0x577bd2(0x1df)],_0x3ddd04=_0x546432[_0x577bd2(0xae)],_0x2e3955=[],_0x1f8262=[],_0xa11aac=[],_0x2d2d0c=[],_0x31c030=[],_0x2c55cc=[],_0x59360b=[],_0x872753=[],_0x19f7d2=[],_0x485a56=[];(function(){for(var _0x2badf8=[],_0x43c381=0x0;_0x43c381<0x100;_0x43c381++)_0x43c381<0x80?_0x2badf8[_0x43c381]=_0x43c381<<0x1:_0x2badf8[_0x43c381]=_0x43c381<<0x1^0x11b;for(var _0x319d66=0x0,_0x416d1c=0x0,_0x43c381=0x0;_0x43c381<0x100;_0x43c381++){var _0x3335e2=_0x416d1c^_0x416d1c<<0x1^_0x416d1c<<0x2^_0x416d1c<<0x3^_0x416d1c<<0x4;_0x3335e2=_0x3335e2>>>0x8^_0x3335e2&0xff^0x63,_0x2e3955[_0x319d66]=_0x3335e2,_0x1f8262[_0x3335e2]=_0x319d66;var _0x4dc6de=_0x2badf8[_0x319d66],_0x141788=_0x2badf8[_0x4dc6de],_0x9dca36=_0x2badf8[_0x141788],_0x4a5918=_0x2badf8[_0x3335e2]*0x101^_0x3335e2*0x1010100;_0xa11aac[_0x319d66]=_0x4a5918<<0x18|_0x4a5918>>>0x8,_0x2d2d0c[_0x319d66]=_0x4a5918<<0x10|_0x4a5918>>>0x10,_0x31c030[_0x319d66]=_0x4a5918<<0x8|_0x4a5918>>>0x18,_0x2c55cc[_0x319d66]=_0x4a5918;var _0x4a5918=_0x9dca36*0x1010101^_0x141788*0x10001^_0x4dc6de*0x101^_0x319d66*0x1010100;_0x59360b[_0x3335e2]=_0x4a5918<<0x18|_0x4a5918>>>0x8,_0x872753[_0x3335e2]=_0x4a5918<<0x10|_0x4a5918>>>0x10,_0x19f7d2[_0x3335e2]=_0x4a5918<<0x8|_0x4a5918>>>0x18,_0x485a56[_0x3335e2]=_0x4a5918,_0x319d66?(_0x319d66=_0x4dc6de^_0x2badf8[_0x2badf8[_0x2badf8[_0x9dca36^_0x4dc6de]]],_0x416d1c^=_0x2badf8[_0x2badf8[_0x416d1c]]):_0x319d66=_0x416d1c=0x1;}}());var _0x4f7661=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29c593=_0x3ddd04['AES']=_0x36e9cd['extend']({'_doReset':function(){var _0xc20602=_0x577bd2,_0x123411;if(!(this[_0xc20602(0x124)]&&this[_0xc20602(0x2f2)]===this[_0xc20602(0x2c3)])){for(var _0x3909da=this['_keyPriorReset']=this[_0xc20602(0x2c3)],_0x54d73f=_0x3909da[_0xc20602(0x24d)],_0xcb5df5=_0x3909da[_0xc20602(0x1e7)]/0x4,_0x4cd858=this[_0xc20602(0x124)]=_0xcb5df5+0x6,_0x1294c5=(_0x4cd858+0x1)*0x4,_0x44bee2=this['_keySchedule']=[],_0xc0d446=0x0;_0xc0d446<_0x1294c5;_0xc0d446++)_0xc0d446<_0xcb5df5?_0x44bee2[_0xc0d446]=_0x54d73f[_0xc0d446]:(_0x123411=_0x44bee2[_0xc0d446-0x1],_0xc0d446%_0xcb5df5?_0xcb5df5>0x6&&_0xc0d446%_0xcb5df5==0x4&&(_0x123411=_0x2e3955[_0x123411>>>0x18]<<0x18|_0x2e3955[_0x123411>>>0x10&0xff]<<0x10|_0x2e3955[_0x123411>>>0x8&0xff]<<0x8|_0x2e3955[_0x123411&0xff]):(_0x123411=_0x123411<<0x8|_0x123411>>>0x18,_0x123411=_0x2e3955[_0x123411>>>0x18]<<0x18|_0x2e3955[_0x123411>>>0x10&0xff]<<0x10|_0x2e3955[_0x123411>>>0x8&0xff]<<0x8|_0x2e3955[_0x123411&0xff],_0x123411^=_0x4f7661[_0xc0d446/_0xcb5df5|0x0]<<0x18),_0x44bee2[_0xc0d446]=_0x44bee2[_0xc0d446-_0xcb5df5]^_0x123411);for(var _0x3e4bdc=this['_invKeySchedule']=[],_0x3db61b=0x0;_0x3db61b<_0x1294c5;_0x3db61b++){var _0xc0d446=_0x1294c5-_0x3db61b;if(_0x3db61b%0x4)var _0x123411=_0x44bee2[_0xc0d446];else var _0x123411=_0x44bee2[_0xc0d446-0x4];_0x3db61b<0x4||_0xc0d446<=0x4?_0x3e4bdc[_0x3db61b]=_0x123411:_0x3e4bdc[_0x3db61b]=_0x59360b[_0x2e3955[_0x123411>>>0x18]]^_0x872753[_0x2e3955[_0x123411>>>0x10&0xff]]^_0x19f7d2[_0x2e3955[_0x123411>>>0x8&0xff]]^_0x485a56[_0x2e3955[_0x123411&0xff]];}}},'encryptBlock':function(_0x2fc0d6,_0x3eeca4){var _0x32eaf9=_0x577bd2;this['_doCryptBlock'](_0x2fc0d6,_0x3eeca4,this[_0x32eaf9(0x27d)],_0xa11aac,_0x2d2d0c,_0x31c030,_0x2c55cc,_0x2e3955);},'decryptBlock':function(_0x2dbea0,_0x1581e6){var _0x1a5baf=_0x577bd2,_0x21c168=_0x2dbea0[_0x1581e6+0x1];_0x2dbea0[_0x1581e6+0x1]=_0x2dbea0[_0x1581e6+0x3],_0x2dbea0[_0x1581e6+0x3]=_0x21c168,this[_0x1a5baf(0x295)](_0x2dbea0,_0x1581e6,this['_invKeySchedule'],_0x59360b,_0x872753,_0x19f7d2,_0x485a56,_0x1f8262);var _0x21c168=_0x2dbea0[_0x1581e6+0x1];_0x2dbea0[_0x1581e6+0x1]=_0x2dbea0[_0x1581e6+0x3],_0x2dbea0[_0x1581e6+0x3]=_0x21c168;},'_doCryptBlock':function(_0x121d5a,_0x4ee53f,_0x8a64dd,_0x60a52e,_0x407c31,_0x768768,_0x2ccbe8,_0x4ba8a0){var _0x1eed79=_0x577bd2;for(var _0x4c9b10=this[_0x1eed79(0x124)],_0x256f50=_0x121d5a[_0x4ee53f]^_0x8a64dd[0x0],_0x428fe8=_0x121d5a[_0x4ee53f+0x1]^_0x8a64dd[0x1],_0x5e6356=_0x121d5a[_0x4ee53f+0x2]^_0x8a64dd[0x2],_0x51a187=_0x121d5a[_0x4ee53f+0x3]^_0x8a64dd[0x3],_0x23ce48=0x4,_0x3b25bb=0x1;_0x3b25bb<_0x4c9b10;_0x3b25bb++){var _0x2c25c7=_0x60a52e[_0x256f50>>>0x18]^_0x407c31[_0x428fe8>>>0x10&0xff]^_0x768768[_0x5e6356>>>0x8&0xff]^_0x2ccbe8[_0x51a187&0xff]^_0x8a64dd[_0x23ce48++],_0x2e87d9=_0x60a52e[_0x428fe8>>>0x18]^_0x407c31[_0x5e6356>>>0x10&0xff]^_0x768768[_0x51a187>>>0x8&0xff]^_0x2ccbe8[_0x256f50&0xff]^_0x8a64dd[_0x23ce48++],_0x358d06=_0x60a52e[_0x5e6356>>>0x18]^_0x407c31[_0x51a187>>>0x10&0xff]^_0x768768[_0x256f50>>>0x8&0xff]^_0x2ccbe8[_0x428fe8&0xff]^_0x8a64dd[_0x23ce48++],_0x4b7bff=_0x60a52e[_0x51a187>>>0x18]^_0x407c31[_0x256f50>>>0x10&0xff]^_0x768768[_0x428fe8>>>0x8&0xff]^_0x2ccbe8[_0x5e6356&0xff]^_0x8a64dd[_0x23ce48++];_0x256f50=_0x2c25c7,_0x428fe8=_0x2e87d9,_0x5e6356=_0x358d06,_0x51a187=_0x4b7bff;}var _0x2c25c7=(_0x4ba8a0[_0x256f50>>>0x18]<<0x18|_0x4ba8a0[_0x428fe8>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x5e6356>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x51a187&0xff])^_0x8a64dd[_0x23ce48++],_0x2e87d9=(_0x4ba8a0[_0x428fe8>>>0x18]<<0x18|_0x4ba8a0[_0x5e6356>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x51a187>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x256f50&0xff])^_0x8a64dd[_0x23ce48++],_0x358d06=(_0x4ba8a0[_0x5e6356>>>0x18]<<0x18|_0x4ba8a0[_0x51a187>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x256f50>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x428fe8&0xff])^_0x8a64dd[_0x23ce48++],_0x4b7bff=(_0x4ba8a0[_0x51a187>>>0x18]<<0x18|_0x4ba8a0[_0x256f50>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x428fe8>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x5e6356&0xff])^_0x8a64dd[_0x23ce48++];_0x121d5a[_0x4ee53f]=_0x2c25c7,_0x121d5a[_0x4ee53f+0x1]=_0x2e87d9,_0x121d5a[_0x4ee53f+0x2]=_0x358d06,_0x121d5a[_0x4ee53f+0x3]=_0x4b7bff;},'keySize':0x100/0x20});_0x546432[_0x577bd2(0x198)]=_0x36e9cd[_0x577bd2(0x3a3)](_0x29c593);}()),_0xc60f5b[_0x102fa1(0x198)];}));}(Ve)),Ve[_0x1c33a7(0x1b2)];}var Gr=Vr();const Wr=ke(Gr);var Kr=wi();const oi=ke(Kr);var Xe={'exports':{}},Yr=Xe[_0xf95350(0x1b2)],ai;function qr(){var _0x33fd67=_0xf95350;return ai||(ai=0x1,function(_0x2089a9,_0x42c417){(function(_0x515106,_0x338514){var _0x3c741b=_0x4451;_0x2089a9[_0x3c741b(0x1b2)]=_0x338514(se());}(Yr,function(_0xf74574){return _0xf74574['enc']['Utf8'];}));}(Xe)),Xe[_0x33fd67(0x1b2)];}var zr=qr();const Jr=ke(zr);var Ze={'exports':{}},Xr=Ze[_0xf95350(0x1b2)],ci;function Zr(){var _0x93a99d=_0xf95350;return ci||(ci=0x1,function(_0x2da5f6,_0x40c57b){(function(_0x4732cc,_0x59d88a){_0x2da5f6['exports']=_0x59d88a(se());}(Xr,function(_0x290e44){var _0x5e9889=_0x4451;return(function(){var _0x3d9c4c=_0x4451;if(typeof ArrayBuffer==_0x3d9c4c(0x2c0)){var _0x2cf140=_0x290e44,_0x382437=_0x2cf140[_0x3d9c4c(0x12b)],_0x3139a9=_0x382437[_0x3d9c4c(0x388)],_0x1465d4=_0x3139a9[_0x3d9c4c(0x11f)],_0x3d4d9d=_0x3139a9[_0x3d9c4c(0x11f)]=function(_0x118cf3){var _0x13808f=_0x3d9c4c;if(_0x118cf3 instanceof ArrayBuffer&&(_0x118cf3=new Uint8Array(_0x118cf3)),(_0x118cf3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x118cf3 instanceof Uint8ClampedArray||_0x118cf3 instanceof Int16Array||_0x118cf3 instanceof Uint16Array||_0x118cf3 instanceof Int32Array||_0x118cf3 instanceof Uint32Array||_0x118cf3 instanceof Float32Array||_0x118cf3 instanceof Float64Array)&&(_0x118cf3=new Uint8Array(_0x118cf3[_0x13808f(0x324)],_0x118cf3[_0x13808f(0x1a8)],_0x118cf3[_0x13808f(0xcb)])),_0x118cf3 instanceof Uint8Array){for(var _0x3ab0f9=_0x118cf3[_0x13808f(0xcb)],_0xf1860a=[],_0x3f375b=0x0;_0x3f375b<_0x3ab0f9;_0x3f375b++)_0xf1860a[_0x3f375b>>>0x2]|=_0x118cf3[_0x3f375b]<<0x18-_0x3f375b%0x4*0x8;_0x1465d4['call'](this,_0xf1860a,_0x3ab0f9);}else _0x1465d4[_0x13808f(0x279)](this,arguments);};_0x3d4d9d[_0x3d9c4c(0xc8)]=_0x3139a9;}}()),_0x290e44['lib'][_0x5e9889(0x388)];}));}(Ze)),Ze[_0x93a99d(0x1b2)];}var Qr=Zr();const en=ke(Qr);var Qe={'exports':{}},tn=Qe[_0xf95350(0x1b2)],hi;function sn(){var _0x5766b2=_0xf95350;return hi||(hi=0x1,function(_0x12ee0b,_0x4613cf){(function(_0x3cee87,_0x5de877,_0x337c93){var _0x4e4302=_0x4451;_0x12ee0b[_0x4e4302(0x1b2)]=_0x5de877(se(),Ai());}(tn,function(_0x2b77b1){var _0x7a6e33=_0x4451;return _0x2b77b1[_0x7a6e33(0x30b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2b77b1[_0x7a6e33(0x30b)][_0x7a6e33(0x226)];}));}(Qe)),Qe[_0x5766b2(0x1b2)];}var rn=sn();const nn=ke(rn);function on(_0x6b4ad5,_0x5bb07f){var _0x466440=_0xf95350;const _0x57f155=_0x5bb07f-_0x6b4ad5[_0x466440(0x131)]%_0x5bb07f,_0x245791=String[_0x466440(0x32a)](_0x57f155)['repeat'](_0x57f155);return _0x6b4ad5+_0x245791;}function an(_0x46fc1b,_0x1b64d9){var _0x57a233=_0xf95350;const _0xf7ada6=en[_0x57a233(0x220)](0x10),_0xf16745=on(_0x46fc1b,0x10),_0x5004e9=Wr[_0x57a233(0x1ec)](Jr[_0x57a233(0x1a6)](_0xf16745),oi['parse'](_0x1b64d9),{'iv':_0xf7ada6,'padding':nn});return _0xf7ada6[_0x57a233(0x241)](_0x5004e9[_0x57a233(0x194)])[_0x57a233(0x1e3)](oi);}function cn(){var _0x532f1f=_0xf95350;const _0x29c5af=_0x11d3a1()['__Key__'];if(_0x29c5af){const _0x238245={'time':Math['floor'](Date[_0x532f1f(0x109)]()/0x3e8),'domain':location[_0x532f1f(0x1ea)]};return an(JSON['stringify'](_0x238245),_0x29c5af);}}var hn=Object[_0xf95350(0x35a)],_n=Object[_0xf95350(0x1b5)],ln=(_0x29f81d,_0x46fe67,_0x1c0a10,_0x1ef8a0)=>{for(var _0x2de176=_0x1ef8a0>0x1?void 0x0:_0x1ef8a0?_n(_0x46fe67,_0x1c0a10):_0x46fe67,_0x3b645b=_0x29f81d['length']-0x1,_0x579990;_0x3b645b>=0x0;_0x3b645b--)(_0x579990=_0x29f81d[_0x3b645b])&&(_0x2de176=(_0x1ef8a0?_0x579990(_0x46fe67,_0x1c0a10,_0x2de176):_0x579990(_0x2de176))||_0x2de176);return _0x1ef8a0&&_0x2de176&&hn(_0x46fe67,_0x1c0a10,_0x2de176),_0x2de176;},un=(_0x2fe9a3,_0x3caa3b)=>(_0x385e02,_0x537500)=>_0x3caa3b(_0x385e02,_0x537500,_0x2fe9a3);let ot=class{constructor(_0x441c0d){var _0x5d533e=_0xf95350;this[_0x5d533e(0xdf)]=_0x441c0d,this[_0x5d533e(0x117)]();}[_0xf95350(0x117)](){var _0x28ac55=_0xf95350;this[_0x28ac55(0xdf)][_0x28ac55(0x33f)]({'interceptor':(_0x219c14,_0x2346ac)=>{var _0x3db412=_0x28ac55;const _0x1a3cc5=_0x219c14[_0x3db412(0x2aa)],_0x4fdb84=cn();return _0x4fdb84&&_0x1a3cc5['set'](_0x3db412(0x1bc),_0x4fdb84),_0x2346ac(_0x219c14);}});}};ot=ln([un(0x0,_0x1f377b(_0x1d95e4))],ot);var dn=Object[_0xf95350(0x35a)],fn=Object['getOwnPropertyDescriptor'],vn=(_0x20a7d9,_0x553933,_0x520c0e,_0x248c95)=>{for(var _0x5be79b=_0x248c95>0x1?void 0x0:_0x248c95?fn(_0x553933,_0x520c0e):_0x553933,_0x3034f0=_0x20a7d9['length']-0x1,_0x3a906d;_0x3034f0>=0x0;_0x3034f0--)(_0x3a906d=_0x20a7d9[_0x3034f0])&&(_0x5be79b=(_0x248c95?_0x3a906d(_0x553933,_0x520c0e,_0x5be79b):_0x3a906d(_0x5be79b))||_0x5be79b);return _0x248c95&&_0x5be79b&&dn(_0x553933,_0x520c0e,_0x5be79b),_0x5be79b;},mt=(_0x51c996,_0x19f233)=>(_0x5b2dfe,_0x363d2c)=>_0x19f233(_0x5b2dfe,_0x363d2c,_0x51c996);let Ot=class extends _0x426883{constructor(_0x490880,_0x170ee2,_0x4ad648){var _0x4d68e4=_0xf95350;super(),N(this,'_unitInfo$',new _0x26dbcc(null)),N(this,_0x4d68e4(0x369),this[_0x4d68e4(0x14d)][_0x4d68e4(0x206)]()),(this[_0x4d68e4(0x29f)]=_0x490880,this[_0x4d68e4(0x390)]=_0x170ee2,this[_0x4d68e4(0x1a1)]=_0x4ad648);}async[_0xf95350(0x110)](_0x3473a3,_0x47fc15,_0x53de4c){var _0xfbe322=_0xf95350;this['_unitInfo$']['next']({'unitId':_0x3473a3,'type':_0x47fc15,'subUnitId':_0x53de4c});let _0x5186f4=null;switch(_0x47fc15){case Q[_0xfbe322(0xda)]:{_0x5186f4=await this[_0xfbe322(0x327)](_0x3473a3);break;}case Q[_0xfbe322(0x2df)]:{_0x5186f4=await this[_0xfbe322(0x34f)](_0x3473a3);break;}default:{this[_0xfbe322(0x29f)][_0xfbe322(0x32c)](_0xfbe322(0x367),_0xfbe322(0x1b7));break;}}return _0x5186f4;}async[_0xf95350(0x327)](_0x303f09){var _0x319d10=_0xf95350,_0x243c3a;let _0x5bd488=0x0;const _0xc468d9=await((_0x243c3a=this[_0x319d10(0x1a1)])==null?void 0x0:_0x243c3a[_0x319d10(0x26b)](_0x303f09));return _0xc468d9&&(_0xc468d9[_0x319d10(0x386)]||_0xc468d9[_0x319d10(0x20f)]['length']!==0x0)&&(_0x5bd488=_0xc468d9[_0x319d10(0x1ca)]),_0x5bd488===0x0&&this[_0x319d10(0x29f)][_0x319d10(0xd7)]('[DataLoaderService]',_0x319d10(0x2a4)),this[_0x319d10(0x390)]['loadSheet'](_0x303f09,_0x5bd488);}async['_loadDoc'](_0x18a893){var _0x48d579=_0xf95350,_0x20318a;let _0x2b3244=0x0;const _0x46d001=await((_0x20318a=this[_0x48d579(0x1a1)])==null?void 0x0:_0x20318a[_0x48d579(0x26b)](_0x18a893));return _0x46d001&&(_0x46d001[_0x48d579(0x386)]||_0x46d001[_0x48d579(0x20f)][_0x48d579(0x131)]!==0x0)&&(_0x2b3244=_0x46d001[_0x48d579(0x1ca)]),_0x2b3244===0x0&&this[_0x48d579(0x29f)][_0x48d579(0xd7)](_0x48d579(0x367),_0x48d579(0x2a4)),this['_snapshotService']['loadDoc'](_0x18a893,_0x2b3244);}};Ot=vn([mt(0x0,_0x2cd95e),mt(0x1,_0x1f377b(_0x3b76b2)),mt(0x2,_0x36e3d4(J))],Ot);var pn=Object[_0xf95350(0x35a)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x58ca66,_0x11c68c,_0x2ab4e9,_0x23347c)=>{var _0x6cf4dd=_0xf95350;for(var _0x2e0cfd=_0x23347c>0x1?void 0x0:_0x23347c?mn(_0x11c68c,_0x2ab4e9):_0x11c68c,_0x42f501=_0x58ca66[_0x6cf4dd(0x131)]-0x1,_0x2bf48b;_0x42f501>=0x0;_0x42f501--)(_0x2bf48b=_0x58ca66[_0x42f501])&&(_0x2e0cfd=(_0x23347c?_0x2bf48b(_0x11c68c,_0x2ab4e9,_0x2e0cfd):_0x2bf48b(_0x2e0cfd))||_0x2e0cfd);return _0x23347c&&_0x2e0cfd&&pn(_0x11c68c,_0x2ab4e9,_0x2e0cfd),_0x2e0cfd;},gt=(_0x2838b3,_0x1f3392)=>(_0x210f75,_0x268fd3)=>_0x1f3392(_0x210f75,_0x268fd3,_0x2838b3);const Sn=[_0xf95350(0x1d6),_0xf95350(0x1d5),'image/jpg','image/gif','image/bmp'],En=0x5*0x400*0x400,In=_0xf95350(0x19a),Tn=_0xf95350(0xb3),Cn=_0xf95350(0x183),bn=_0xf95350(0x2d6);let yt=class{constructor(_0x5221a6,_0x29b804,_0x1916db){var _0x50a84a=_0xf95350;N(this,_0x50a84a(0x363),0x0),N(this,'_change$',new _0x1d9c1a()),N(this,_0x50a84a(0x1d1),this[_0x50a84a(0x184)]),N(this,_0x50a84a(0x2f5),new Map()),(this[_0x50a84a(0xdf)]=_0x5221a6,this[_0x50a84a(0x215)]=_0x29b804,this['_univerInstanceService']=_0x1916db);}['setWaitCount'](_0x309d00){var _0x2db9a6=_0xf95350;this['_waitCount']=_0x309d00,this[_0x2db9a6(0x184)][_0x2db9a6(0x2f9)](_0x309d00);}[_0xf95350(0xcd)](_0x4b2c8c,_0x4f9d80){var _0x34d836=_0xf95350;if(_0x4f9d80===_0x525dac[_0x34d836(0x187)]){const _0x22d421=new Image();return _0x22d421[_0x34d836(0x30f)]=_0x4b2c8c,_0x22d421;}return this[_0x34d836(0x2f5)][_0x34d836(0x151)](_0x4b2c8c);}[_0xf95350(0x108)](_0x3220ab,_0x1896bf,_0x51de63){var _0xde68df=_0xf95350;_0x1896bf===_0x525dac[_0xde68df(0x187)]||_0x51de63==null||this[_0xde68df(0x2f5)][_0xde68df(0x269)](_0x3220ab,_0x51de63);}async['getImage'](_0x529ecb){var _0x276fbf=_0xf95350;try{const _0x5737e2=this[_0x276fbf(0x1d4)](this[_0x276fbf(0x370)](),''+_0x529ecb),_0xa23064=(await this['_httpService'][_0x276fbf(0x151)](_0x5737e2))[_0x276fbf(0x2c1)];if(_0xa23064[_0x276fbf(0x32c)]&&_0xa23064[_0x276fbf(0x32c)][_0x276fbf(0x24c)]===Ii['OK']){const _0x130fdd=new URL(_0xa23064[_0x276fbf(0x249)],this[_0x276fbf(0x266)]())['toString']();return Promise[_0x276fbf(0x277)](_0x130fdd);}return Promise[_0x276fbf(0x270)](_0xa23064[_0x276fbf(0x32c)]);}catch(_0x5ec322){return Promise['reject'](_0x5ec322);}}async['saveImage'](_0x2e2ad2){var _0x1cb56a=_0xf95350;let _0xcceb2e='';if(!Sn[_0x1cb56a(0x135)](_0x2e2ad2[_0x1cb56a(0x2fd)]))return this[_0x1cb56a(0x268)](),Promise['reject'](new Error(_0x2252a1['ERROR_IMAGE_TYPE']));if(_0x2e2ad2[_0x1cb56a(0x32d)]>En)return this[_0x1cb56a(0x268)](),Promise[_0x1cb56a(0x270)](new Error(_0x2252a1[_0x1cb56a(0x31b)]));try{const _0x47a77e=new FormData();_0x47a77e[_0x1cb56a(0x395)]('file',_0x2e2ad2);const _0x519500=this['_univerInstanceService'][_0x1cb56a(0x2ff)](),_0x56b84f=_0x519500==null?void 0x0:_0x519500[_0x1cb56a(0x298)]();if(!_0x56b84f)throw new Error('unitId\x20is\x20not\x20found');const _0x38a07d=this['_getUploadFileURL']()+_0x1cb56a(0x250)+_0x2e2ad2[_0x1cb56a(0x32d)][_0x1cb56a(0x1e3)]()+_0x1cb56a(0x37b)+Ti[_0x1cb56a(0x33c)]+'&assign='+encodeURIComponent(_0x56b84f),_0x4b6f54=await(await fetch(_0x38a07d,{'method':_0x1cb56a(0x26c),'body':_0x47a77e}))[_0x1cb56a(0x1f7)]();if(typeof _0x4b6f54['FileId']!=_0x1cb56a(0x267))return this['_decreaseWaiting'](),Promise[_0x1cb56a(0x270)](new Error(_0x2252a1[_0x1cb56a(0x104)]));_0xcceb2e=_0x4b6f54[_0x1cb56a(0x2ed)];}catch{return this[_0x1cb56a(0x268)](),Promise['reject'](new Error(_0x2252a1['ERROR_IMAGE']));}return new Promise((_0x46534e,_0x28a2b9)=>{var _0x52b890=_0x1cb56a;const _0x17e19a=new FileReader();_0x17e19a[_0x52b890(0x2d4)](_0x2e2ad2),_0x17e19a[_0x52b890(0x25f)]=_0x2b1041=>{var _0x19a48d=_0x52b890,_0xa54dac;const _0x28a5b5=(_0xa54dac=_0x2b1041[_0x19a48d(0xeb)])==null?void 0x0:_0xa54dac['result'];if(_0x28a5b5==null){this[_0x19a48d(0x268)](),_0x28a2b9(new Error(_0x2252a1[_0x19a48d(0x104)]));return;}const _0x34928c=_0x324eba['generateRandomId'](0x6);_0x46534e({'imageId':_0x34928c,'imageSourceType':_0x525dac['UUID'],'source':_0xcceb2e,'base64Cache':_0x28a5b5,'status':_0x2252a1[_0x19a48d(0x162)]}),this[_0x19a48d(0x268)]();};});}[_0xf95350(0x28a)](){var _0x56465b=_0xf95350,_0x1f4d8e,_0x2e0279;const _0x1f183b=this['_configService'][_0x56465b(0x1ab)](In),_0x39a305=this[_0x56465b(0x215)]['getConfig'](q);return(_0x2e0279=(_0x1f4d8e=_0x39a305==null?void 0x0:_0x39a305['uploadFileServerUrl'])!=null?_0x1f4d8e:_0x1f183b)!=null?_0x2e0279:Tn;}[_0xf95350(0x370)](){var _0x302817=_0xf95350,_0x45a5ca,_0x4793d3;const _0x44342d=this[_0x302817(0x215)][_0x302817(0x1ab)](Cn),_0x4c62ca=this[_0x302817(0x215)][_0x302817(0x1ab)](q);return(_0x4793d3=(_0x45a5ca=_0x4c62ca==null?void 0x0:_0x4c62ca[_0x302817(0x37f)])!=null?_0x45a5ca:_0x44342d)!=null?_0x4793d3:bn;}[_0xf95350(0x266)](){var _0x590de0=_0xf95350,_0x240cac;const _0x279ac2=this[_0x590de0(0x215)][_0x590de0(0x1ab)](q);return(_0x240cac=_0x279ac2==null?void 0x0:_0x279ac2[_0x590de0(0x2c2)])!=null?_0x240cac:location[_0x590de0(0x17c)];}[_0xf95350(0x1d4)](_0x392c11,_0x5b142c){var _0xeb6933=_0xf95350;return _0x392c11[_0xeb6933(0x1f9)](_0xeb6933(0x329),_0x5b142c);}['_decreaseWaiting'](){var _0x1a2ae2=_0xf95350;this[_0x1a2ae2(0x363)]-=0x1,this['_change$'][_0x1a2ae2(0x2f9)](this[_0x1a2ae2(0x363)]);}};yt=gn([gt(0x0,_0x1f377b(_0x1d95e4)),gt(0x1,_0x4ef789),gt(0x2,_0x1f377b(_0x4accb0))],yt);var Rn=Object[_0xf95350(0x35a)],On=Object[_0xf95350(0x1b5)],yn=(_0x43428a,_0x4dc51c,_0x519170,_0x393b51)=>{var _0x5b7765=_0xf95350;for(var _0x37957b=_0x393b51>0x1?void 0x0:_0x393b51?On(_0x4dc51c,_0x519170):_0x4dc51c,_0xbe5507=_0x43428a[_0x5b7765(0x131)]-0x1,_0x50d702;_0xbe5507>=0x0;_0xbe5507--)(_0x50d702=_0x43428a[_0xbe5507])&&(_0x37957b=(_0x393b51?_0x50d702(_0x4dc51c,_0x519170,_0x37957b):_0x50d702(_0x37957b))||_0x37957b);return _0x393b51&&_0x37957b&&Rn(_0x4dc51c,_0x519170,_0x37957b),_0x37957b;},_i=(_0x303ad6,_0x2c0db3)=>(_0x21719a,_0x49a10c)=>_0x2c0db3(_0x21719a,_0x49a10c,_0x303ad6);const Nn='/universer-api/authz';let Nt=class{constructor(_0x1dd3fd,_0x3498c6){var _0x1a1002=_0xf95350;this[_0x1a1002(0x215)]=_0x1dd3fd,this[_0x1a1002(0x1eb)]=_0x3498c6;}[_0xf95350(0x35b)](){var _0x5bfb22=_0xf95350,_0x2b5444,_0x27f38b;const _0x3c24aa=this[_0x5bfb22(0x215)]['getConfig'](Pi),_0x5561ee=this[_0x5bfb22(0x215)][_0x5bfb22(0x1ab)](q);return(_0x27f38b=(_0x2b5444=_0x5561ee==null?void 0x0:_0x5561ee[_0x5bfb22(0x1d2)])!=null?_0x2b5444:_0x3c24aa)!=null?_0x27f38b:Nn;}async['list'](_0x240cef){var _0x1ce108=_0xf95350;const _0x4a65f1=this[_0x1ce108(0x35b)]()+_0x1ce108(0x127);return{'list':[{'title':_0x1ce108(0x246),'mentions':(await this[_0x1ce108(0x1eb)][_0x1ce108(0x151)](_0x4a65f1,{'params':{'objectID':_0x240cef[_0x1ce108(0x149)],'unitID':_0x240cef[_0x1ce108(0x149)]}}))['body'][_0x1ce108(0x13e)][_0x1ce108(0xbf)](_0x3075f1=>({'objectId':_0x3075f1['id'],'name':_0x3075f1['subject'][_0x1ce108(0x10c)],'metadata':{'icon':_0x3075f1[_0x1ce108(0xbc)][_0x1ce108(0x282)]},'label':_0x3075f1[_0x1ce108(0xbc)][_0x1ce108(0x10c)],'objectType':_0xa72733[_0x1ce108(0x208)]})),'metadata':{},'type':_0xa72733[_0x1ce108(0x208)]}]};}};Nt=yn([_i(0x0,_0x1f377b(_0x4ef789)),_i(0x1,_0x1f377b(_0x1d95e4))],Nt);var Dn=Object['defineProperty'],Pn=Object['getOwnPropertyDescriptor'],wn=(_0x144a82,_0x3d4cb0,_0xe1b58,_0x4ee694)=>{for(var _0x35a449=_0x4ee694>0x1?void 0x0:_0x4ee694?Pn(_0x3d4cb0,_0xe1b58):_0x3d4cb0,_0x1d0451=_0x144a82['length']-0x1,_0x564780;_0x1d0451>=0x0;_0x1d0451--)(_0x564780=_0x144a82[_0x1d0451])&&(_0x35a449=(_0x4ee694?_0x564780(_0x3d4cb0,_0xe1b58,_0x35a449):_0x564780(_0x35a449))||_0x35a449);return _0x4ee694&&_0x35a449&&Dn(_0x3d4cb0,_0xe1b58,_0x35a449),_0x35a449;},Se=(_0x157dcb,_0x38e594)=>(_0xb8bbfb,_0x43b7e5)=>_0x38e594(_0xb8bbfb,_0x43b7e5,_0x157dcb);let at=class extends _0x426883{constructor(_0x3b4f31,_0x589ee2,_0x5d3c14,_0x63cc3c,_0x1b46b9,_0x32c28e,_0x5b4558){var _0x5908b2=_0xf95350;super(),this[_0x5908b2(0x2fe)]=_0x3b4f31,this[_0x5908b2(0x2e3)]=_0x589ee2,this[_0x5908b2(0xff)]=_0x5d3c14,this['_collaborationSessionService']=_0x63cc3c,this[_0x5908b2(0xd4)]=_0x1b46b9,this[_0x5908b2(0x357)]=_0x32c28e,this[_0x5908b2(0x14e)]=_0x5b4558,this[_0x5908b2(0x259)](),this[_0x5908b2(0x1be)]();}[_0xf95350(0x1be)](){var _0xfa460b=_0xf95350;const _0x47bf83=async _0x336e06=>{var _0x18cb91=_0x4451;(await this[_0x18cb91(0x1c7)][_0x18cb91(0x24b)](_0x336e06))['event$'][_0x18cb91(0x39f)](_0x2ac5d0(_0x1378cc=>_0x1378cc['eventID']===_0x15e414['SHOULD_CLOSE_CONN']),_0x4eb1e7(this[_0x18cb91(0x205)]))[_0x18cb91(0x2f6)](_0x1c0962=>{var _0x573919=_0x18cb91;const _0x2788d1=_0x1c0962,{reason:_0x7bd163}=_0x2788d1[_0x573919(0x13f)];this[_0x573919(0xd4)]['emitEvent']({'id':ne[_0x573919(0x217)],'data':_0x7bd163}),this[_0x573919(0xff)][_0x573919(0xfc)](new _0xf5ebb3(_0x336e06)['id'],!0x1),this[_0x573919(0x1c7)][_0x573919(0x2a3)](_0x336e06);});};_0x127445(this[_0xfa460b(0x2e3)][_0xfa460b(0x331)](_0x4fe211[_0xfa460b(0xda)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4fe211['UNIVER_DOC']))[_0xfa460b(0x39f)](_0x3dd616(_0x4bf7f2=>_0x4bf7f2[_0xfa460b(0x298)]()),_0x2ac5d0(_0x193eeb=>!_0x4b9cfa(_0x193eeb)),_0x4eb1e7(this[_0xfa460b(0x205)]))[_0xfa460b(0x2f6)](_0x217c17=>{_0x47bf83(_0x217c17);});}[_0xf95350(0x259)](){var _0x1b8885=_0xf95350;const _0x231ab6=async _0x1f59cd=>{var _0x65185=_0x4451;const _0x5f3575=await this[_0x65185(0x1c7)][_0x65185(0x24b)](_0x1f59cd),_0x4767be=this[_0x65185(0x2fe)][_0x65185(0x151)](_0xaa84b0);_0x5f3575[_0x65185(0x23d)]['pipe'](_0x2ac5d0(_0x22cb0d=>_0x22cb0d[_0x65185(0x276)]===_0x15e414['UPDATE_PERMISSION_OBJ']),_0x4eb1e7(this['dispose$']))['subscribe'](_0x786beb=>{var _0x504d32=_0x65185;const _0x1e5235=_0x786beb,{objectId:_0x1df875}=_0x1e5235[_0x504d32(0x13f)];_0x1df875===_0x1f59cd?_0x4767be['initWorkbookPermissionChange'](_0x1f59cd):_0x4767be[_0x504d32(0x1b8)](_0x1f59cd,_0x1df875);});};_0x127445(this[_0x1b8885(0x2e3)][_0x1b8885(0x331)](_0x4fe211[_0x1b8885(0xda)]),this[_0x1b8885(0x2e3)][_0x1b8885(0x331)](_0x4fe211[_0x1b8885(0x2df)]))[_0x1b8885(0x39f)](_0x3dd616(_0x210b5a=>_0x210b5a[_0x1b8885(0x298)]()),_0x2ac5d0(_0x1da886=>!_0x4b9cfa(_0x1da886)),_0x4eb1e7(this[_0x1b8885(0x205)]))[_0x1b8885(0x2f6)](_0x4a9565=>{_0x231ab6(_0x4a9565);});}};at=wn([Se(0x0,_0x1f377b(_0x459b1e)),Se(0x1,_0x4accb0),Se(0x2,_0x193a1a),Se(0x3,_0x1f377b(Le)),Se(0x4,_0x1f377b(pe)),Se(0x5,_0x3db02c),Se(0x6,_0x122feb)],at);var Un=Object[_0xf95350(0x35a)],An=Object['getOwnPropertyDescriptor'],xn=(_0x273dbf,_0x3ac541,_0x3cfa7f,_0x3cd096)=>{var _0x1ad79c=_0xf95350;for(var _0x3b236b=_0x3cd096>0x1?void 0x0:_0x3cd096?An(_0x3ac541,_0x3cfa7f):_0x3ac541,_0x4a4455=_0x273dbf[_0x1ad79c(0x131)]-0x1,_0x1ce605;_0x4a4455>=0x0;_0x4a4455--)(_0x1ce605=_0x273dbf[_0x4a4455])&&(_0x3b236b=(_0x3cd096?_0x1ce605(_0x3ac541,_0x3cfa7f,_0x3b236b):_0x1ce605(_0x3b236b))||_0x3b236b);return _0x3cd096&&_0x3b236b&&Un(_0x3ac541,_0x3cfa7f,_0x3b236b),_0x3b236b;},li=(_0x254503,_0x97f465)=>(_0x21d110,_0x4b1b2f)=>_0x97f465(_0x21d110,_0x4b1b2f,_0x254503);let Dt=class{constructor(_0x18affa,_0x36ad55){var _0x167d0e=_0xf95350;this[_0x167d0e(0x215)]=_0x18affa,this[_0x167d0e(0xdf)]=_0x36ad55;}async[_0xf95350(0xc1)](_0x4b9075,_0x2613b3){var _0x559efc=_0xf95350,_0x39b984;const {unitID:_0x150d64,type:_0x1edc8c,revision:_0x411493=0x0}=_0x2613b3,_0x4ce3b6=this['getSnapshotAPIPath']()+'/'+_0x1edc8c+'/unit/'+_0x150d64+'/rev/'+_0x411493,_0x113574=(await this[_0x559efc(0xdf)][_0x559efc(0x151)](_0x4ce3b6))[_0x559efc(0x2c1)],_0x3ef3f4=(_0x39b984=_0x113574[_0x559efc(0x1a9)])==null?void 0x0:_0x39b984[_0x559efc(0x185)];if(_0x3ef3f4){const _0x49ca28=_0x3ef3f4==null?void 0x0:_0x3ef3f4[_0x559efc(0x2a8)],_0x2c85f7=_0x5547ea[_0x559efc(0xb8)](_0x25a9a5(_0x49ca28));_0x3ef3f4[_0x559efc(0x2a8)]=_0x2c85f7,Object[_0x559efc(0x317)](_0x3ef3f4[_0x559efc(0x148)])[_0x559efc(0x362)](([,_0x276045])=>{var _0x1bbc9a=_0x559efc;const _0x3f0732=_0x276045[_0x1bbc9a(0x2a8)],_0x23a5c7=_0x5547ea[_0x1bbc9a(0xb8)](_0x25a9a5(_0x3f0732));_0x276045[_0x1bbc9a(0x2a8)]=_0x23a5c7;});}return _0x113574;}async[_0xf95350(0x2ee)](_0x14daeb,_0x33df3e){var _0x27c268=_0xf95350;const {unitID:_0x4c4bca,type:_0x22951d,blockID:_0x13a368}=_0x33df3e,_0x3cb0c1=this['_getAPIPrefix']()+'/'+_0x22951d+'/unit/'+_0x4c4bca+'/block/'+_0x13a368;return(await this['_httpService'][_0x27c268(0x151)](_0x3cb0c1))[_0x27c268(0x2c1)];}async['getDeserializedSheetBlock'](_0x3a5e60,_0x53eea2){var _0x352b43=_0xf95350;const {unitID:_0x1bb166,type:_0x250aa3,blockID:_0x8684b3}=_0x53eea2,_0x3b5b28=this[_0x352b43(0x10f)]()+_0x352b43(0xaf)+_0x250aa3+'/unit/'+_0x1bb166+_0x352b43(0xaf)+_0x8684b3;return(await this[_0x352b43(0xdf)][_0x352b43(0x151)](_0x3b5b28))[_0x352b43(0x2c1)];}async[_0xf95350(0x263)](_0x3f5668,_0x56c869){var _0x39cceb=_0xf95350;const {unitID:_0x22282c,type:_0x2444b9,from:_0x18fad3,to:_0x4a1e52}=_0x56c869,_0x76dfe4=this[_0x39cceb(0x10f)]()+'/'+_0x2444b9+_0x39cceb(0x348)+_0x22282c+_0x39cceb(0x273)+_0x18fad3+'&to='+_0x4a1e52;return(await this['_httpService'][_0x39cceb(0x151)](_0x76dfe4))[_0x39cceb(0x2c1)];}[_0xf95350(0x382)](){var _0x4596f7=_0xf95350,_0x4b51c3;return(_0x4b51c3=this[_0x4596f7(0x215)][_0x4596f7(0x1ab)](Is))!=null?_0x4b51c3:this[_0x4596f7(0x10f)]();}['_getAPIPrefix'](){var _0x5bf63e=_0xf95350,_0x192874,_0x585f5c;const _0x246a00=this[_0x5bf63e(0x215)][_0x5bf63e(0x1ab)](Ss),_0x13cab5=this['_configService'][_0x5bf63e(0x1ab)](q);return(_0x585f5c=(_0x192874=_0x13cab5==null?void 0x0:_0x13cab5[_0x5bf63e(0x2eb)])!=null?_0x192874:_0x246a00)!=null?_0x585f5c:Es;}async[_0xf95350(0x22f)](_0x1fd5dd,_0x207435){var _0x2d2487=_0xf95350;const _0x52792f=_0x2d2487(0x2a2)+_0x207435[_0x2d2487(0x2fd)]+'/unit/'+_0x207435[_0x2d2487(0x17e)]+_0x2d2487(0x2c7);return(await this[_0x2d2487(0xdf)][_0x2d2487(0x151)](_0x52792f,{'params':{'resourceId':JSON[_0x2d2487(0x1f2)](_0x207435['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf95350(0x2e9)](){var _0x152be8=_0xf95350;throw new Error(_0x152be8(0x172));}[_0xf95350(0x336)](){var _0x42e6e8=_0xf95350;throw new Error(_0x42e6e8(0x172));}[_0xf95350(0x30e)](){var _0xefd5b1=_0xf95350;throw new Error(_0xefd5b1(0x172));}[_0xf95350(0x307)](){var _0x2ced3b=_0xf95350;throw new Error(_0x2ced3b(0x172));}};Dt=xn([li(0x0,_0x4ef789),li(0x1,_0x1f377b(_0x1d95e4))],Dt);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],$n=(_0x10218b,_0x327e15,_0x2065fb,_0x44f551)=>{var _0x3e6d7b=_0xf95350;for(var _0x50f3dd=_0x44f551>0x1?void 0x0:_0x44f551?Mn(_0x327e15,_0x2065fb):_0x327e15,_0x53818d=_0x10218b[_0x3e6d7b(0x131)]-0x1,_0x125f0f;_0x53818d>=0x0;_0x53818d--)(_0x125f0f=_0x10218b[_0x53818d])&&(_0x50f3dd=(_0x44f551?_0x125f0f(_0x327e15,_0x2065fb,_0x50f3dd):_0x125f0f(_0x50f3dd))||_0x50f3dd);return _0x44f551&&_0x50f3dd&&Ln(_0x327e15,_0x2065fb,_0x50f3dd),_0x50f3dd;},Ae=(_0x20ead4,_0x75fab4)=>(_0x3658e6,_0x27315a)=>_0x75fab4(_0x3658e6,_0x27315a,_0x20ead4);let Pt=class extends _0x4a8bd3{constructor(_0x580ff3,_0x14aba6,_0x547cc0,_0x52f8ee,_0x1a6939){var _0xc5b3d3=_0xf95350;super(_0x580ff3,_0x14aba6,_0x547cc0),this[_0xc5b3d3(0x16c)]=_0x52f8ee,this[_0xc5b3d3(0x29f)]=_0x1a6939;}[_0xf95350(0x224)](_0x384782,_0x24e770){var _0x2957cf=_0xf95350;const _0x92fb7a=this[_0x2957cf(0x27c)](_0x384782);if(_0x92fb7a)try{const _0x2c4ed2=this['_transformStack'](_0x92fb7a,_0x24e770);this['_substituteUndoStack'](_0x384782,_0x2c4ed2);}catch(_0x115c67){this['_logService'][_0x2957cf(0x32c)](_0x2957cf(0x21b),_0x115c67),this[_0x2957cf(0x1ac)](_0x384782);}const _0x15f3c2=this['_getRedoStack'](_0x384782);if(_0x15f3c2)try{const _0x3f02bf=this[_0x2957cf(0x316)](_0x15f3c2,_0x24e770);this[_0x2957cf(0xf9)](_0x384782,_0x3f02bf);}catch(_0x2ce5fb){this[_0x2957cf(0x29f)]['error'](_0x2ce5fb),this[_0x2957cf(0xde)](_0x384782);}}[_0xf95350(0x1ac)](_0x134233){var _0x47f86c=_0xf95350;const _0xf77cb9=this[_0x47f86c(0x27c)](_0x134233);_0xf77cb9&&(_0xf77cb9[_0x47f86c(0x131)]=0x0,this[_0x47f86c(0x3a5)]());}['_clearRedo'](_0x1ce883){var _0x4f7108=_0xf95350;const _0x4774aa=this['_getRedoStack'](_0x1ce883);_0x4774aa&&(_0x4774aa[_0x4f7108(0x131)]=0x0,this[_0x4f7108(0x3a5)]());}[_0xf95350(0x39a)](_0x2c5efb,_0x53c55a){var _0x173bb1=_0xf95350;this[_0x173bb1(0x1f3)][_0x173bb1(0x269)](_0x2c5efb,_0x53c55a),this[_0x173bb1(0x3a5)]();}[_0xf95350(0xf9)](_0x3e3ceb,_0x184ebd){var _0x3787e2=_0xf95350;this[_0x3787e2(0xd0)][_0x3787e2(0x269)](_0x3e3ceb,_0x184ebd),this[_0x3787e2(0x3a5)]();}[_0xf95350(0x316)](_0x4fadba,_0x1bc081){var _0x28a35e=_0xf95350;const _0x120fed=[];let _0x220830=_0x1bc081,_0x5ab87e=_0x1bc081;for(let _0x423a24=_0x4fadba[_0x28a35e(0x131)]-0x1;_0x423a24>=0x0;_0x423a24--){const {unitID:_0xdfadbd,undoMutations:_0x474fae,redoMutations:_0x3d342c}=_0x4fadba[_0x423a24],_0x3ece43=this[_0x28a35e(0x16c)][_0x28a35e(0x11c)](_0x220830,_0x474fae),_0x5b245a=this['_transformService'][_0x28a35e(0x11c)](_0x5ab87e,_0x3d342c);if(_0x36809c(_0x3ece43)||_0x36809c(_0x5b245a)){this['_logService'][_0x28a35e(0x32c)](_0x28a35e(0x21b),_0x28a35e(0x21c),_0x3ece43,_0x5b245a);break;}_0x220830=_0x3ece43['c1Prime'],_0x5ab87e=_0x5b245a[_0x28a35e(0x121)],_0x120fed[_0x28a35e(0x2e0)]({'unitID':_0xdfadbd,'undoMutations':_0x3ece43['m2Prime'],'redoMutations':_0x5b245a['m2Prime']});}return _0x120fed['reverse']();}};Pt=$n([Ae(0x0,_0x4accb0),Ae(0x1,_0x16ead5),Ae(0x2,_0x21a4dd),Ae(0x3,_0xd312f2),Ae(0x4,_0x2cd95e)],Pt);var xi=Object['defineProperty'],Hn=Object[_0xf95350(0x1b5)],kn=(_0x2164bd,_0x4af14d,_0x493353)=>_0x4af14d in _0x2164bd?xi(_0x2164bd,_0x4af14d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x493353}):_0x2164bd[_0x4af14d]=_0x493353,jn=(_0x5831ba,_0x1cbbb1,_0x26381d,_0x4c5218)=>{var _0x270ed8=_0xf95350;for(var _0x50e857=_0x4c5218>0x1?void 0x0:_0x4c5218?Hn(_0x1cbbb1,_0x26381d):_0x1cbbb1,_0xe05afd=_0x5831ba[_0x270ed8(0x131)]-0x1,_0x2106d5;_0xe05afd>=0x0;_0xe05afd--)(_0x2106d5=_0x5831ba[_0xe05afd])&&(_0x50e857=(_0x4c5218?_0x2106d5(_0x1cbbb1,_0x26381d,_0x50e857):_0x2106d5(_0x50e857))||_0x50e857);return _0x4c5218&&_0x50e857&&xi(_0x1cbbb1,_0x26381d,_0x50e857),_0x50e857;},St=(_0x55dffa,_0x1639fe)=>(_0x5a9fe2,_0xb45236)=>_0x1639fe(_0x5a9fe2,_0xb45236,_0x55dffa),Bn=(_0x59cc88,_0x492aa9,_0x5c10e9)=>kn(_0x59cc88,_0x492aa9+'',_0x5c10e9);const Fn=_0xf95350(0x20e);let wt=class extends _0x509d00{constructor(_0x331e7c=Wt,_0x5e5cb7,_0x57fa1c,_0x3715c6){var _0x488f37=_0xf95350;super(),this[_0x488f37(0x35d)]=_0x331e7c,this[_0x488f37(0x29f)]=_0x5e5cb7,this[_0x488f37(0x2fe)]=_0x57fa1c,this[_0x488f37(0x215)]=_0x3715c6;const {..._0x5bd0c6}=_0x1c25ec({},Wt,this[_0x488f37(0x35d)]);this['_configService']['setConfig'](q,_0x5bd0c6);}[_0xf95350(0x2ce)](){var _0x400d2d=_0xf95350;this['_registerDependencies'](),this[_0x400d2d(0x179)]();}['_registerDependencies'](){var _0x32298d=_0xf95350,_0x4a0fc7,_0x48999d,_0x14c39e,_0x12947f;this['_injector'][_0x32298d(0x28d)](_0x122feb)&&this['_logService'][_0x32298d(0x32c)](_0x32298d(0x1c8),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a6728=_0x467c59([[_0x122feb,{'useClass':Pt}],[Le],[xe],[it],[nt],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x48999d=(_0x4a0fc7=this[_0x32298d(0x35d)])==null?void 0x0:_0x4a0fc7[_0x32298d(0x2a5)])!=null?_0x48999d:Et}],[_0x359a3a,{'useClass':Dt}],[_0x3db02c,{'useClass':Rt}],[_0x14c982,{'useClass':yt}],[_0x4c2436,{'useClass':Nt}],[rt],[bt]],(_0x14c39e=this[_0x32298d(0x35d)])==null?void 0x0:_0x14c39e['override']);if(!((_0x12947f=this[_0x32298d(0x35d)])!=null&&_0x12947f['enableSingleActiveInstanceLock'])){const _0x26e38b=_0x5a6728[_0x32298d(0xc7)](([_0x3c8535])=>_0x3c8535===ht);_0x26e38b!==-0x1&&_0x5a6728[_0x32298d(0x23f)](_0x26e38b,0x1);}_0x463499(this[_0x32298d(0x2fe)],_0x5a6728);}[_0xf95350(0x179)](){var _0x132f54=_0xf95350,_0x5172c9,_0x5de156,_0x167313;this[_0x132f54(0x2fe)][_0x132f54(0x151)](_0x1d95e4)[_0x132f54(0x33f)]({'priority':0x14,'interceptor':_0x39c3a7({'maxParallel':0x6})}),(_0x5172c9=this[_0x132f54(0x35d)])!=null&&_0x5172c9['enableOfflineEditing']||(_0x5de156=this['_injector']['get'](J,_0x124bff[_0x132f54(0x17d)]))==null||_0x5de156[_0x132f54(0x328)](),(_0x167313=this[_0x132f54(0x35d)])!=null&&_0x167313[_0x132f54(0x2b6)]&&_0x536f41(this['_injector'],[[nt]]),_0x536f41(this[_0x132f54(0x2fe)],[[ot],[rt],[at]]);}};Bn(wt,_0xf95350(0xf2),Fn),wt=jn([_0x296661(_0x5db6f5,_0x5eafd8,_0x5b8d93),St(0x1,_0x2cd95e),St(0x2,_0x1f377b(_0x459b1e)),St(0x3,_0x4ef789)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,ws as COLLAB_SUBMIT_CHANGESET_URL_KEY,Cs as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,ne as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,bs as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Os as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Ls as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,As as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,so as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ds as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,Ss as SNAPSHOT_SERVER_URL_KEY,Is as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,Ms as deserializeToCombResponse,no as getLocalCacheKey,$s as serializeCombRequest};
|