@univerjs-pro/collaboration-client 0.5.1-nightly.202412110405 → 0.5.1-nightly.202412111606
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/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 +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x34d539=_0x3b8e;(function(_0x366b3b,_0xf409d4){var _0x484bd4=_0x3b8e,_0x3e90b2=_0x366b3b();while(!![]){try{var _0x4a5aa9=parseInt(_0x484bd4(0x2a4))/0x1+-parseInt(_0x484bd4(0x122))/0x2*(parseInt(_0x484bd4(0x2a2))/0x3)+parseInt(_0x484bd4(0x2bb))/0x4+-parseInt(_0x484bd4(0x3f6))/0x5*(-parseInt(_0x484bd4(0x278))/0x6)+-parseInt(_0x484bd4(0x286))/0x7+parseInt(_0x484bd4(0x3d1))/0x8+-parseInt(_0x484bd4(0x16b))/0x9*(parseInt(_0x484bd4(0x17c))/0xa);if(_0x4a5aa9===_0xf409d4)break;else _0x3e90b2['push'](_0x3e90b2['shift']());}catch(_0x10d733){_0x3e90b2['push'](_0x3e90b2['shift']());}}}(_0x62f3,0x82db7));var Li=Object[_0x34d539(0x257)],Mi=(_0x2e7b7,_0x2f3f38,_0x4a7ce2)=>_0x2f3f38 in _0x2e7b7?Li(_0x2e7b7,_0x2f3f38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a7ce2}):_0x2e7b7[_0x2f3f38]=_0x4a7ce2,D=(_0x39162a,_0xec46f5,_0x2c8547)=>Mi(_0x39162a,typeof _0xec46f5!=_0x34d539(0x1bd)?_0xec46f5+'':_0xec46f5,_0x2c8547);import{createIdentifier as _0x17bea6,Inject as _0x36ffd1,Injector as _0xb63fc9,Disposable as _0x2053e8,DisposableCollection as _0xe81fb8,toDisposable as _0x141d1f,IConfigService as _0x3c1aae,ILogService as _0x1141f5,UserManagerService as _0x1c7be5,UniverInstanceType as _0x4cef19,IUniverInstanceService as _0x21b5bb,LocaleService as _0x770142,Optional as _0x2a417f,RxDisposable as _0x280b11,Tools as _0x3843b,Rectangle as _0xa032ed,ICommandService as _0x267c35,JSONX as _0x592a78,CommandType as _0x431021,IPermissionService as _0x89cb60,IUndoRedoService as _0x45aef5,sequenceExecute as _0x3c4562,Workbook as _0x5ae8e6,MentionType as _0x332b22,IAuthzIoService as _0x4203d3,isInternalEditorID as _0x4e2276,LocalUndoRedoService as _0x16956f,IContextService as _0x344e1c,DependentOn as _0x502615,Plugin as _0x302e4a,mergeOverrideWithDependencies as _0x2ea8b5,IMentionIOService as _0x2cbfac,registerDependencies as _0x2834cf,Quantity as _0x569b53,touchDependencies as _0x1c7b95}from'@univerjs/core';import{Subject as _0x11e05e,merge as _0x53e3df,takeUntil as _0xba5ffd,BehaviorSubject as _0x367720,ReplaySubject as _0x411c20,take as _0x42237e,map as _0x5784df,shareReplay as _0x57b8e5,of as _0x4dc5d8,firstValueFrom as _0x4d1bc7,concatMap as _0x59b2a1}from'rxjs';import{map as _0x5b1134,take as _0x3b234d,filter as _0xd166ea,delay as _0x3ebf49,takeUntil as _0x234c88}from'rxjs/operators';import{HTTPService as _0x37d339,ISocketService as _0x192f5e,MergeInterceptorFactory as _0x2d197f,HTTPRequest as _0xd58ab0,UniverNetworkPlugin as _0x2afd67,ThresholdInterceptorFactory as _0x842f7e}from'@univerjs/network';import{CollaborationEvent as _0x12192b,parseChangesetToProtocol as _0x7cd40b,ISnapshotServerService as _0x501b8d,isTransformMutationsWithChangesetSuccess as _0x98a3a,ITransformService as _0x376269,mapDocumentTypeToUniverType as _0x1e52d1,RevisionService as _0x536e31,isTransformChangesetsSuccess as _0x2bcf7a,CompressMutationService as _0x58b364,parseProtocolChangeset as _0x58a252,SnapshotService as _0x4daeb7,textEncoder as _0x3eb1af,b64DecodeUnicode as _0x6ef87e,isTransformMutationsWithChangesetFailure as _0x46362b,UniverCollaborationPlugin as _0x2b3f93}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x38163f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1c15a5}from'@univerjs/docs';import{SheetsSelectionsService as _0x4fd3f8,SetSelectionsOperation as _0x1cd2b1,InsertSheetMutation as _0xc8ec1a,EmptyMutation as _0x2e9211,WorkbookEditablePermission as _0x4dbfb7,UnitObject as _0x516b63,defaultWorkbookPermissionPoints as _0x1a29a3,getAllWorkbookPermissionPoint as _0x2555dd,WorksheetProtectionRuleModel as _0x36cbb9,baseProtectionActions as _0x3a5624,getAllWorksheetPermissionPoint as _0x44ad6b,WorksheetProtectionPointModel as _0x5298a7,defaultWorksheetPermissionPoint as _0x1d0734,getAllWorksheetPermissionPointByPointPanel as _0x3d5bed,RangeProtectionRuleModel as _0xd2cbc7,getAllRangePermissionPoint as _0x34f39a,UniverSheetsPlugin as _0x16a51e}from'@univerjs/sheets';import{ImageSourceType as _0x44966f,ImageUploadStatusType as _0x49d4ec,IImageIoService as _0x40a4c3}from'@univerjs/drawing';import{getGlobalObject as _0x354a35}from'@univerjs-pro/license';const Pn='SNAPSHOT_SERVER_URL_KEY',Nn='/universer-api/snapshot',Dn=_0x34d539(0x1d8),ho=_0x34d539(0x10b),wn=0x7d0,Un=_0x34d539(0x250),An=_0x34d539(0x3e4),xn=_0x34d539(0x176),Ln=_0x34d539(0x183),Mn=0x7530,Si=_0x34d539(0x2a3),Ei=0x4e20,$n=0x4e20,Hn=_0x34d539(0x363),kn=0x3,_o=_0x34d539(0x136),lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn='/universer-api/comb',Fn=_0x34d539(0x333),Vn=_0x34d539(0x263);var Ii=(_0x5eb278=>(_0x5eb278[_0x5eb278[_0x34d539(0x38b)]=0x0]=_0x34d539(0x38b),_0x5eb278[_0x5eb278['OK']=0x1]='OK',_0x5eb278[_0x5eb278[_0x34d539(0x290)]=0x2]=_0x34d539(0x290),_0x5eb278[_0x5eb278[_0x34d539(0x25c)]=0x3]=_0x34d539(0x25c),_0x5eb278[_0x5eb278[_0x34d539(0x20d)]=0x4]=_0x34d539(0x20d),_0x5eb278[_0x5eb278['UNAUTHENTICATED']=0x5]=_0x34d539(0x102),_0x5eb278[_0x5eb278[_0x34d539(0x35b)]=0x6]=_0x34d539(0x35b),_0x5eb278[_0x5eb278[_0x34d539(0x1da)]=0x7]=_0x34d539(0x1da),_0x5eb278[_0x5eb278[_0x34d539(0x3ca)]=0x8]=_0x34d539(0x3ca),_0x5eb278[_0x5eb278['COMPLETION_FINISHED']=0x9]=_0x34d539(0x2b0),_0x5eb278[_0x5eb278[_0x34d539(0x1d1)]=0x1389]=_0x34d539(0x1d1),_0x5eb278[_0x5eb278[_0x34d539(0x2b6)]=0x1771]=_0x34d539(0x2b6),_0x5eb278[_0x5eb278[_0x34d539(0x1be)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5eb278[_0x5eb278[_0x34d539(0x31d)]=0x1773]=_0x34d539(0x31d),_0x5eb278[_0x5eb278[_0x34d539(0x380)]=0x1b59]=_0x34d539(0x380),_0x5eb278[_0x5eb278[_0x34d539(0x165)]=0x1b5a]=_0x34d539(0x165),_0x5eb278[_0x5eb278[_0x34d539(0x31c)]=0x1b5b]=_0x34d539(0x31c),_0x5eb278[_0x5eb278[_0x34d539(0x1b0)]=0x1b5c]=_0x34d539(0x1b0),_0x5eb278[_0x5eb278[_0x34d539(0x2ce)]=0x1b5d]='APPLY_DUPLICATED',_0x5eb278[_0x5eb278[_0x34d539(0x29f)]=0x1f41]=_0x34d539(0x29f),_0x5eb278[_0x5eb278[_0x34d539(0x31f)]=0x2329]=_0x34d539(0x31f),_0x5eb278[_0x5eb278[_0x34d539(0x328)]=0x232a]=_0x34d539(0x328),_0x5eb278[_0x5eb278[_0x34d539(0x197)]=0x232b]=_0x34d539(0x197),_0x5eb278[_0x5eb278['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x34d539(0x2fd),_0x5eb278[_0x5eb278['LICENSE_DISTRO_REJECTED']=0x232d]=_0x34d539(0x199),_0x5eb278[_0x5eb278[_0x34d539(0x177)]=0x2711]=_0x34d539(0x177),_0x5eb278[_0x5eb278[_0x34d539(0x262)]=0x2712]=_0x34d539(0x262),_0x5eb278[_0x5eb278[_0x34d539(0x2b3)]=0x2713]=_0x34d539(0x2b3),_0x5eb278[_0x5eb278[_0x34d539(0x2d8)]=0x2714]=_0x34d539(0x2d8),_0x5eb278[_0x5eb278[_0x34d539(0x3e9)]=-0x1]=_0x34d539(0x3e9),_0x5eb278))(Ii||{}),Q=(_0x10a07f=>(_0x10a07f[_0x10a07f[_0x34d539(0x3e8)]=0x0]=_0x34d539(0x3e8),_0x10a07f[_0x10a07f[_0x34d539(0x14a)]=0x1]=_0x34d539(0x14a),_0x10a07f[_0x10a07f['UNIVER_SHEET']=0x2]=_0x34d539(0x3d5),_0x10a07f[_0x10a07f['UNIVER_SLIDE']=0x3]=_0x34d539(0x145),_0x10a07f[_0x10a07f[_0x34d539(0x3c7)]=0x4]=_0x34d539(0x3c7),_0x10a07f[_0x10a07f[_0x34d539(0x3e9)]=-0x1]='UNRECOGNIZED',_0x10a07f))(Q||{}),F=(_0x31c0cd=>(_0x31c0cd[_0x31c0cd[_0x34d539(0x1d2)]=0x0]=_0x34d539(0x1d2),_0x31c0cd[_0x31c0cd[_0x34d539(0x1ea)]=0x1]=_0x34d539(0x1ea),_0x31c0cd[_0x31c0cd[_0x34d539(0x253)]=0x2]='JOIN',_0x31c0cd[_0x31c0cd['LEAVE']=0x3]=_0x34d539(0x1a1),_0x31c0cd[_0x31c0cd[_0x34d539(0x373)]=0x4]='INGEST',_0x31c0cd[_0x31c0cd[_0x34d539(0x28b)]=0x5]=_0x34d539(0x28b),_0x31c0cd[_0x31c0cd['RECV']=0x6]=_0x34d539(0x19b),_0x31c0cd[_0x31c0cd[_0x34d539(0x3e9)]=-0x1]=_0x34d539(0x3e9),_0x31c0cd))(F||{}),Ee=(_0x27199c=>(_0x27199c[_0x27199c[_0x34d539(0x3f5)]=0x0]=_0x34d539(0x3f5),_0x27199c[_0x27199c['OK']=0x1]='OK',_0x27199c[_0x27199c['FAIL']=0x2]=_0x34d539(0x104),_0x27199c[_0x27199c['JOIN_ROOM_FULL']=0x3e9]=_0x34d539(0x101),_0x27199c[_0x27199c[_0x34d539(0x29d)]=0x3ea]=_0x34d539(0x29d),_0x27199c[_0x27199c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x34d539(0x33b),_0x27199c[_0x27199c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x27199c[_0x27199c[_0x34d539(0x3e9)]=-0x1]=_0x34d539(0x3e9),_0x27199c))(Ee||{}),Ti=(_0x41e43f=>(_0x41e43f[_0x41e43f['Undefined']=0x0]=_0x34d539(0x24a),_0x41e43f[_0x41e43f[_0x34d539(0x3e6)]=0x1]=_0x34d539(0x3e6),_0x41e43f[_0x41e43f['HttpExport']=0x2]=_0x34d539(0x1a7),_0x41e43f[_0x41e43f['UnitEmbedded']=0x3]=_0x34d539(0x19c),_0x41e43f[_0x41e43f[_0x34d539(0x156)]=0x4]=_0x34d539(0x156),_0x41e43f[_0x41e43f[_0x34d539(0x3e9)]=-0x1]=_0x34d539(0x3e9),_0x41e43f))(Ti||{});const Y='collaboration-client.config',Wn={};var se=(_0xc75c09=>(_0xc75c09[_0x34d539(0x1d0)]=_0x34d539(0x1d0),_0xc75c09['PERMISSION_DENIED']=_0x34d539(0x25c),_0xc75c09[_0x34d539(0x3a0)]=_0x34d539(0x3a0),_0xc75c09['CLOSE_ROOM']=_0x34d539(0x3be),_0xc75c09[_0x34d539(0x109)]=_0x34d539(0x109),_0xc75c09[_0x34d539(0x2c4)]=_0x34d539(0x2c4),_0xc75c09[_0x34d539(0x225)]=_0x34d539(0x225),_0xc75c09[_0x34d539(0x1fa)]=_0x34d539(0x1fa),_0xc75c09))(se||{});class pe{constructor(){var _0x3271e6=_0x34d539;D(this,_0x3271e6(0xfc),new _0x11e05e()),D(this,'event$',this[_0x3271e6(0xfc)][_0x3271e6(0x2ec)]());}[_0x34d539(0x140)](_0x36dc37){var _0x4e91cd=_0x34d539;this[_0x4e91cd(0xfc)][_0x4e91cd(0x24f)](_0x36dc37);}}const Gn=_0x17bea6('univer-pro.collaboration-client.network-condition.service');function Kn(_0x5f5232){var _0x83844=_0x34d539,_0x328d89,_0x4ca9f7,_0xd4b0c2,_0x100b41,_0x17fe2f;const _0x23097f=_0x5f5232[_0x83844(0x265)],_0x53c904=JSON[_0x83844(0x3ef)](_0x23097f);switch(_0x53c904[_0x83844(0x383)]){case F[_0x83844(0x28b)]:case F[_0x83844(0x1ea)]:{const _0x4cedd7=_0x53c904['infoRsp'];return{..._0x53c904,'data':_0x4cedd7,'cmd':_0x53c904[_0x83844(0x383)]};}case F[_0x83844(0x253)]:{const _0xf175e0=_0x53c904[_0x83844(0x2f9)];return{..._0x53c904,'data':_0xf175e0,'cmd':_0x53c904[_0x83844(0x383)]};}case F['RECV']:{const _0x31ca9f=_0x53c904[_0x83844(0x228)];switch(_0x31ca9f[_0x83844(0x319)]){case _0x12192b[_0x83844(0x282)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':(_0x328d89=_0x31ca9f[_0x83844(0x120)])==null?void 0x0:_0x328d89['cs']},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b['CHANGESET_ACK']:return{..._0x53c904,'data':{..._0x31ca9f,'data':(_0x4ca9f7=_0x31ca9f[_0x83844(0x3fb)])==null?void 0x0:_0x4ca9f7['cs']},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b['NEW_CHANGESETS']:return{..._0x53c904,'data':{..._0x31ca9f,'data':(_0xd4b0c2=_0x31ca9f[_0x83844(0x3f3)])==null?void 0x0:_0xd4b0c2['cs']},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b['CHANGESET_REJ']:return{..._0x53c904,'data':{..._0x31ca9f,'data':(_0x100b41=_0x31ca9f[_0x83844(0x1df)])==null?void 0x0:_0x100b41['cs']},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b[_0x83844(0x2bf)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':(_0x17fe2f=_0x31ca9f[_0x83844(0x309)])==null?void 0x0:_0x17fe2f['cs']},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b[_0x83844(0x2ed)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f['updateCursorEvent']},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b[_0x83844(0x1cb)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x37b)]},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b['USERS_LEAVE']:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x20a)]},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b['LIVESHARE_NEW_HOST']:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x30a)]},'cmd':_0x53c904['cmd']};case _0x12192b[_0x83844(0x301)]:case _0x12192b[_0x83844(0x123)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f['liveShareOperation']},'cmd':_0x53c904['cmd']};case _0x12192b['LIVESHARE_TERMINATE']:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x30a)]},'cmd':_0x53c904['cmd']};case _0x12192b[_0x83844(0x266)]:return{..._0x53c904,'data':_0x31ca9f,'cmd':_0x53c904['cmd']};case _0x12192b['COMMENT_UPDATE']:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x22d)]},'cmd':_0x53c904[_0x83844(0x383)]};case _0x12192b[_0x83844(0x337)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x16c)]},'cmd':_0x53c904['cmd']};case _0x12192b[_0x83844(0x27e)]:return{..._0x53c904,'data':{..._0x31ca9f,'data':_0x31ca9f[_0x83844(0x31b)]},'cmd':_0x53c904['cmd']};default:return _0x53c904;}}default:return _0x53c904;}}function zn(_0x364521){var _0x46b9d5=_0x34d539;switch(_0x364521[_0x46b9d5(0x383)]){case F[_0x46b9d5(0x28b)]:case F[_0x46b9d5(0x1ea)]:return JSON[_0x46b9d5(0x35e)]({'cmd':_0x364521[_0x46b9d5(0x383)],'routeKey':_0x364521['routeKey']});case F[_0x46b9d5(0x373)]:{let _0x4f3c17;switch(_0x364521[_0x46b9d5(0x265)][_0x46b9d5(0x319)]){case _0x12192b[_0x46b9d5(0x2ed)]:{_0x4f3c17={'eventID':_0x12192b[_0x46b9d5(0x2ed)],'updateCursorEvent':_0x364521['data'][_0x46b9d5(0x265)]};break;}case _0x12192b[_0x46b9d5(0x2be)]:{_0x4f3c17={'eventID':_0x12192b[_0x46b9d5(0x2be)],'leaveEvent':_0x364521['data'][_0x46b9d5(0x265)]};break;}case _0x12192b['USERS_ENTER']:{_0x4f3c17={'eventID':_0x12192b[_0x46b9d5(0x1cb)],'joinEvent':_0x364521[_0x46b9d5(0x265)][_0x46b9d5(0x265)]};break;}case _0x12192b['LIVESHARE_NEW_HOST']:{_0x4f3c17={'eventID':_0x12192b['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x364521[_0x46b9d5(0x265)][_0x46b9d5(0x265)]};break;}case _0x12192b[_0x46b9d5(0x123)]:{_0x4f3c17={'eventID':_0x12192b[_0x46b9d5(0x123)],'liveShareOperation':_0x364521[_0x46b9d5(0x265)]['data']};break;}case _0x12192b['LIVESHARE_TERMINATE']:{_0x4f3c17={'eventID':_0x12192b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x364521[_0x46b9d5(0x265)][_0x46b9d5(0x265)]};break;}case _0x12192b[_0x46b9d5(0x26b)]:{_0x4f3c17={'eventID':_0x12192b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x364521[_0x46b9d5(0x265)][_0x46b9d5(0x265)]};break;}case _0x12192b[_0x46b9d5(0x301)]:{_0x4f3c17={'eventID':_0x12192b[_0x46b9d5(0x301)]};break;}default:_0x4f3c17={'eventID':_0x364521['data'][_0x46b9d5(0x319)]};}return JSON['stringify']({'cmd':_0x364521[_0x46b9d5(0x383)],'routeKey':_0x364521[_0x46b9d5(0x203)],'collaMsg':_0x4f3c17});}case F[_0x46b9d5(0x253)]:return JSON['stringify']({'cmd':_0x364521[_0x46b9d5(0x383)],'routeKey':_0x364521[_0x46b9d5(0x203)],'joinReq':_0x364521[_0x46b9d5(0x265)]});case F[_0x46b9d5(0x1a1)]:return JSON[_0x46b9d5(0x35e)]({'cmd':_0x364521['cmd'],'routeKey':_0x364521['routeKey'],'leaveReq':_0x364521[_0x46b9d5(0x265)]});default:throw new Error(_0x46b9d5(0x3de));}}var Yn=Object['defineProperty'],qn=Object[_0x34d539(0x3a8)],Jn=(_0x30649b,_0xfa3d75,_0x4d009f,_0x2ce15b)=>{var _0x50d922=_0x34d539;for(var _0x2818a4=_0x2ce15b>0x1?void 0x0:_0x2ce15b?qn(_0xfa3d75,_0x4d009f):_0xfa3d75,_0x2f82e2=_0x30649b[_0x50d922(0x193)]-0x1,_0x2258e4;_0x2f82e2>=0x0;_0x2f82e2--)(_0x2258e4=_0x30649b[_0x2f82e2])&&(_0x2818a4=(_0x2ce15b?_0x2258e4(_0xfa3d75,_0x4d009f,_0x2818a4):_0x2258e4(_0x2818a4))||_0x2818a4);return _0x2ce15b&&_0x2818a4&&Yn(_0xfa3d75,_0x4d009f,_0x2818a4),_0x2818a4;},we=(_0x59369c,_0xeb4e44)=>(_0x2b60d8,_0x173f30)=>_0xeb4e44(_0x2b60d8,_0x173f30,_0x59369c);const Ci=_0x17bea6(_0x34d539(0x2d9));function Xn(_0x1269e2,_0x4186c9,_0x5a1225){var _0x449cd4=_0x34d539;return _0x1269e2+'/'+_0x4186c9+_0x449cd4(0x1a3)+_0x5a1225+_0x449cd4(0x32b);}let It=class extends _0x2053e8{constructor(_0xe3d04c,_0x13800e,_0xd4e8b5,_0x5271d7,_0x4d90a9){var _0x54318a=_0x34d539;super(),this[_0x54318a(0x267)]=_0xe3d04c,this[_0x54318a(0x12e)]=_0x13800e,this[_0x54318a(0x256)]=_0xd4e8b5,this[_0x54318a(0x3d3)]=_0x5271d7,this[_0x54318a(0x365)]=_0x4d90a9;}[_0x34d539(0x1dc)](_0x4af7cb){var _0x397ea4=_0x34d539;const _0x56022b=this[_0x397ea4(0x267)][_0x397ea4(0x300)](_0x192f5e);if(!_0x56022b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1ec5cc=_0x56022b[_0x397ea4(0x1dc)](_0x4af7cb);if(!_0x1ec5cc)throw new Error(_0x397ea4(0x108));const _0x5ec041=new _0xe81fb8(),_0x3bb208=new _0x11e05e();_0x5ec041[_0x397ea4(0xf7)](_0x1ec5cc[_0x397ea4(0x350)][_0x397ea4(0x3c0)](_0x135796=>_0x3bb208[_0x397ea4(0x24f)](_0x135796))),_0x5ec041[_0x397ea4(0xf7)](_0x141d1f(()=>_0x3bb208[_0x397ea4(0x2b9)]()));const _0x15ea5d=new _0x11e05e();_0x5ec041[_0x397ea4(0xf7)](_0x1ec5cc[_0x397ea4(0x235)][_0x397ea4(0x3c0)](_0x1bda14=>_0x15ea5d[_0x397ea4(0x24f)](_0x1bda14))),_0x5ec041[_0x397ea4(0xf7)](_0x141d1f(()=>_0x15ea5d[_0x397ea4(0x2b9)]()));const _0x22e6b6=new _0x11e05e();_0x5ec041['add'](_0x1ec5cc[_0x397ea4(0x3bf)][_0x397ea4(0x3c0)](_0x1089a5=>{const _0x5d1dea=Kn(_0x1089a5);_0x22e6b6['next'](_0x5d1dea);})),_0x5ec041[_0x397ea4(0xf7)](_0x141d1f(()=>_0x22e6b6[_0x397ea4(0x2b9)]()));let _0x94bf8b;const _0x1142f3=()=>{var _0x28fee3=_0x397ea4;_0x15ea5d[_0x28fee3(0x24f)](new Event(_0x28fee3(0x198))),_0x3bb208[_0x28fee3(0x24f)](new CloseEvent('connection\x20error')),_0x94bf8b[_0x28fee3(0x115)]();};return _0x94bf8b={'memberID':'','close$':_0x3bb208[_0x397ea4(0x2ec)](),'error$':_0x15ea5d[_0x397ea4(0x2ec)](),'open$':_0x1ec5cc[_0x397ea4(0x367)],'message$':_0x22e6b6['asObservable'](),'send':_0x2301c2=>{var _0x14d168=_0x397ea4;if(_0x2301c2[_0x14d168(0x383)]===F[_0x14d168(0x373)]){if(_0x2301c2[_0x14d168(0x265)][_0x14d168(0x319)]===_0x12192b[_0x14d168(0x1ae)]){this[_0x14d168(0x21d)](_0x94bf8b,_0x2301c2[_0x14d168(0x265)])[_0x14d168(0x147)](_0x1d45fa=>{var _0x375e92=_0x14d168;this[_0x375e92(0x3d3)][_0x375e92(0x37a)](_0x1d45fa),_0x1142f3();});return;}if(_0x2301c2[_0x14d168(0x265)]['eventID']===_0x12192b[_0x14d168(0x2b5)]){const _0x4d93bf=_0x2301c2[_0x14d168(0x265)];this[_0x14d168(0x28e)](_0x4d93bf)[_0x14d168(0x237)](_0x5c931a=>{var _0x54805a=_0x14d168;_0x22e6b6[_0x54805a(0x24f)]({'cmd':F[_0x54805a(0x19b)],'code':Ee['OK'],'routeKey':_0x4d93bf[_0x54805a(0x265)][_0x54805a(0xfa)],'routeType':'','data':{'eventID':_0x12192b['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5c931a}}});})[_0x14d168(0x147)](_0x22b53a=>{var _0x4430bb=_0x14d168;this['_logService'][_0x4430bb(0x37a)](_0x22b53a),_0x1142f3();});return;}}_0x1ec5cc[_0x14d168(0x23e)](zn(_0x2301c2));},'close':()=>{var _0x4de3e2=_0x397ea4;_0x1ec5cc[_0x4de3e2(0x115)](),_0x5ec041['dispose']();}},_0x94bf8b;}async[_0x34d539(0x21d)](_0x129a82,_0x239c1e){var _0x6ac7d0=_0x34d539,_0x867190,_0x61a1;const {unitType:_0x375291,unitID:_0x19994d,changeset:_0xfd9aee}=_0x239c1e['data'],_0xbdcc6c={'unitID':_0x19994d,'memberID':_0x129a82[_0x6ac7d0(0x148)],'type':_0x375291,'changeset':_0x7cd40b(_0xfd9aee)},_0x4c2a3b=this[_0x6ac7d0(0x256)][_0x6ac7d0(0x3e5)](jn),_0x5a95d4=this['_configService']['getConfig'](Y),_0x4ee816=Xn((_0x61a1=(_0x867190=_0x5a95d4==null?void 0x0:_0x5a95d4[_0x6ac7d0(0x2de)])!=null?_0x867190:_0x4c2a3b)!=null?_0x61a1:Bn,_0x375291,_0x19994d);try{await this[_0x6ac7d0(0x12e)]['post'](_0x4ee816,{'body':_0xbdcc6c});}catch(_0x37da2c){throw this[_0x6ac7d0(0x3d3)]['error'](_0x6ac7d0(0x297),'submit\x20changeset\x20error!'),_0x37da2c;}}async['_fetchMissChangesets'](_0x50d23c){var _0x29e30e=_0x34d539;const {unitID:_0x4d26c0,from:_0x1b7ac4,to:_0x325968,unitType:_0x32c4da}=_0x50d23c[_0x29e30e(0x265)];return(await this[_0x29e30e(0x365)][_0x29e30e(0x168)]({'metadata':void 0x0},{'unitID':_0x4d26c0,'type':_0x32c4da,'from':_0x1b7ac4,'to':_0x325968}))['changesets'];}};It=Jn([we(0x0,_0x36ffd1(_0xb63fc9)),we(0x1,_0x36ffd1(_0x37d339)),we(0x2,_0x3c1aae),we(0x3,_0x1141f5),we(0x4,_0x501b8d)],It);const Zn=_0x34d539(0x1c0);function Qn(_0x3e1390){var _0x29702d=_0x34d539;return JSON[_0x29702d(0x35e)](_0x3e1390)[_0x29702d(0x193)];}class bi{constructor(){var _0x2699d7=_0x34d539;D(this,_0x2699d7(0x2d4),new _0x11e05e()),D(this,'commentUpdate$',this[_0x2699d7(0x2d4)][_0x2699d7(0x2ec)]());}['onCommentUpdate'](_0x51905c){var _0x32d3ac=_0x34d539;this[_0x32d3ac(0x2d4)][_0x32d3ac(0x24f)](_0x51905c);}}var es=Object[_0x34d539(0x257)],ts=Object[_0x34d539(0x3a8)],is=(_0x162af4,_0xea68b6,_0x5578f3,_0x532135)=>{for(var _0x2575c0=_0x532135>0x1?void 0x0:_0x532135?ts(_0xea68b6,_0x5578f3):_0xea68b6,_0x5d51e0=_0x162af4['length']-0x1,_0x1ed416;_0x5d51e0>=0x0;_0x5d51e0--)(_0x1ed416=_0x162af4[_0x5d51e0])&&(_0x2575c0=(_0x532135?_0x1ed416(_0xea68b6,_0x5578f3,_0x2575c0):_0x1ed416(_0x2575c0))||_0x2575c0);return _0x532135&&_0x2575c0&&es(_0xea68b6,_0x5578f3,_0x2575c0),_0x2575c0;},zt=(_0x2ec5db,_0x19e881)=>(_0x296384,_0x1e16f9)=>_0x19e881(_0x296384,_0x1e16f9,_0x2ec5db);let Le=class extends _0x2053e8{constructor(_0x185dd9,_0x4d4e9a){var _0x2c4756=_0x34d539;super(),D(this,'_roomMembers',new Map()),(this[_0x2c4756(0x323)]=_0x185dd9,this[_0x2c4756(0x1e9)]=_0x4d4e9a,this[_0x2c4756(0x1f9)](_0x141d1f(_0x53e3df(this[_0x2c4756(0x323)]['getTypeOfUnitDisposed$'](_0x4cef19[_0x2c4756(0x3d5)])[_0x2c4756(0x3d2)](_0x5b1134(_0x60b67a=>_0x60b67a['getUnitId']())),this['_univerInstanceService'][_0x2c4756(0x3bb)](_0x4cef19[_0x2c4756(0x14a)])[_0x2c4756(0x3d2)](_0x5b1134(_0x10c8bf=>_0x10c8bf[_0x2c4756(0x17b)]())),this['_univerInstanceService'][_0x2c4756(0x3bb)](_0x4cef19['UNIVER_SLIDE'])[_0x2c4756(0x3d2)](_0x5b1134(_0x26d6d5=>_0x26d6d5[_0x2c4756(0x17b)]())))[_0x2c4756(0x3c0)](_0x3ce709=>this['_removeRoom'](_0x3ce709)))));}['setCurrentUser'](_0x593588){var _0x17ec74=_0x34d539;this[_0x17ec74(0x1e9)][_0x17ec74(0x382)](_0x593588);}[_0x34d539(0x116)](){var _0x22ff64=_0x34d539;return this[_0x22ff64(0x1e9)][_0x22ff64(0x116)]();}[_0x34d539(0x18f)](_0x30447e,_0x217612){var _0x36d4bc=_0x34d539;let _0x34737c=this[_0x36d4bc(0x1bf)]['get'](_0x30447e);_0x34737c||(_0x34737c=new ns(),this[_0x36d4bc(0x1bf)][_0x36d4bc(0x35c)](_0x30447e,_0x34737c)),_0x34737c['updateMember'](_0x217612);}[_0x34d539(0x3ee)](_0x300968,_0xfe6c43){var _0x14c281=_0x34d539;const _0x3aabfe=this['_roomMembers'][_0x14c281(0x300)](_0x300968);_0x3aabfe&&_0x3aabfe[_0x14c281(0x3ee)](_0xfe6c43);}[_0x34d539(0x128)](_0x4b7cea){return this['_roomMembers']['get'](_0x4b7cea);}['getMember'](_0x34be29,_0x582f45){var _0x5c220e=_0x34d539;const _0x2c0bca=this['_roomMembers'][_0x5c220e(0x300)](_0x34be29);if(_0x2c0bca)return _0x2c0bca[_0x5c220e(0x1cf)](_0x582f45);}[_0x34d539(0xf2)](_0x8aded){var _0x21a60b=_0x34d539;const _0x5c9e1a=this[_0x21a60b(0x1bf)]['get'](_0x8aded);_0x5c9e1a&&(_0x5c9e1a['dispose'](),this['_roomMembers'][_0x21a60b(0x359)](_0x8aded));}[_0x34d539(0x3ab)](){var _0x38565d=_0x34d539;this[_0x38565d(0x1bf)]['forEach'](_0x28f4a2=>_0x28f4a2[_0x38565d(0x3ab)]()),this[_0x38565d(0x1bf)][_0x38565d(0x10a)]();}};Le=is([zt(0x0,_0x21b5bb),zt(0x1,_0x36ffd1(_0x1c7be5))],Le);class ns extends _0x2053e8{constructor(){var _0x3953ed=_0x34d539;super(...arguments),D(this,_0x3953ed(0x1d3),new Map());}[_0x34d539(0x3ab)](){var _0xb9399b=_0x34d539;this[_0xb9399b(0x1d3)][_0xb9399b(0x10a)]();}['updateMember'](_0x382eec){var _0x28e73e=_0x34d539;this[_0x28e73e(0x1d3)]['set'](_0x382eec[_0x28e73e(0x148)],_0x382eec);}[_0x34d539(0x3ee)](_0x5a8437){var _0x185b4c=_0x34d539;this[_0x185b4c(0x1d3)][_0x185b4c(0x359)](_0x5a8437);}['getMember'](_0x24ed07){return this['_members']['get'](_0x24ed07);}[_0x34d539(0x1f4)](){var _0x24a228=_0x34d539;return Array[_0x24a228(0x2fe)](this[_0x24a228(0x1d3)]['values']());}}var ss=Object[_0x34d539(0x257)],rs=Object['getOwnPropertyDescriptor'],os=(_0x1066cc,_0x3f713c,_0x5c1c49,_0x24e101)=>{var _0x165420=_0x34d539;for(var _0x21f6b4=_0x24e101>0x1?void 0x0:_0x24e101?rs(_0x3f713c,_0x5c1c49):_0x3f713c,_0x48d5f0=_0x1066cc[_0x165420(0x193)]-0x1,_0x11aa7d;_0x48d5f0>=0x0;_0x48d5f0--)(_0x11aa7d=_0x1066cc[_0x48d5f0])&&(_0x21f6b4=(_0x24e101?_0x11aa7d(_0x3f713c,_0x5c1c49,_0x21f6b4):_0x11aa7d(_0x21f6b4))||_0x21f6b4);return _0x24e101&&_0x21f6b4&&ss(_0x3f713c,_0x5c1c49,_0x21f6b4),_0x21f6b4;},ge=(_0x44730e,_0x11b5f8)=>(_0x51d485,_0xfdae62)=>_0x11b5f8(_0x51d485,_0xfdae62,_0x44730e),Ie=(_0x53b83e=>(_0x53b83e[_0x53b83e['IDLE']=0x0]=_0x34d539(0x1bc),_0x53b83e[_0x53b83e[_0x34d539(0x3a1)]=0x1]=_0x34d539(0x3a1),_0x53b83e[_0x53b83e[_0x34d539(0x2eb)]=0x2]=_0x34d539(0x2eb),_0x53b83e[_0x53b83e[_0x34d539(0x2e8)]=0x3]=_0x34d539(0x2e8),_0x53b83e))(Ie||{});const Yt={[Ee['FAIL']]:_0x34d539(0x155),[Ee[_0x34d539(0x101)]]:'session.room-full',[Ee[_0x34d539(0x29d)]]:_0x34d539(0x2f5),[Ee[_0x34d539(0x33b)]]:_0x34d539(0x11e),[Ee[_0x34d539(0x157)]]:_0x34d539(0x3b0)};let Tt=class extends _0x280b11{constructor(_0x363de8,_0x123ff0,_0x172e8b,_0x3e6db3,_0x4d01cb,_0x57268d,_0x54d820,_0x261a23,_0x45a1a6){var _0x4f8b13=_0x34d539;super(),D(this,_0x4f8b13(0x18b),new _0x367720(0x0)),D(this,_0x4f8b13(0x33d),this[_0x4f8b13(0x18b)][_0x4f8b13(0x2ec)]()),D(this,_0x4f8b13(0xfc),new _0x11e05e()),D(this,'event$',this[_0x4f8b13(0xfc)]['asObservable']()),D(this,'_socket'),D(this,_0x4f8b13(0x248)),D(this,_0x4f8b13(0x1ed)),D(this,_0x4f8b13(0x33c),!0x1),D(this,_0x4f8b13(0x25d),null),(this['_unitID']=_0x363de8,this[_0x4f8b13(0x3d3)]=_0x172e8b,this[_0x4f8b13(0x256)]=_0x3e6db3,this[_0x4f8b13(0x1fb)]=_0x4d01cb,this['_memberService']=_0x57268d,this[_0x4f8b13(0x275)]=_0x54d820,this[_0x4f8b13(0x1a2)]=_0x261a23,this[_0x4f8b13(0x3d4)]=_0x45a1a6,this['_shouldReportTelemetry']=!!this[_0x4f8b13(0x3d4)],_0x123ff0['pipe'](_0xba5ffd(this[_0x4f8b13(0x10c)]))[_0x4f8b13(0x3c0)](_0x85455=>{var _0x2e01f9=_0x4f8b13,_0x1514c9;typeof _0x85455>'u'||(this[_0x2e01f9(0x21e)]=_0x85455,_0x85455?(this[_0x2e01f9(0x2a7)](_0x85455),this[_0x2e01f9(0x248)]=_0x85455['message$'][_0x2e01f9(0x3c0)](_0x14e4b0=>{var _0x1d848d=_0x2e01f9;_0x14e4b0['routeKey']===this['_unitID']&&this[_0x1d848d(0x3e1)](_0x14e4b0);})):(this[_0x2e01f9(0x2f3)](),this['_sessionStatus$'][_0x2e01f9(0x24f)](0x2),(_0x1514c9=this[_0x2e01f9(0x248)])==null||_0x1514c9[_0x2e01f9(0x299)](),this[_0x2e01f9(0x248)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x34d539(0x19d)](){var _0x570b6f=_0x34d539,_0x238e4c,_0x207818;return(_0x207818=(_0x238e4c=this[_0x570b6f(0x21e)])==null?void 0x0:_0x238e4c[_0x570b6f(0x148)])!=null?_0x207818:null;}[_0x34d539(0x3ab)](){var _0x7573f0=_0x34d539;super[_0x7573f0(0x3ab)](),this[_0x7573f0(0x10c)][_0x7573f0(0x24f)](),this[_0x7573f0(0x10c)]['complete']();}[_0x34d539(0x115)](){var _0x520b32=_0x34d539,_0x445405,_0xcd12c6;this[_0x520b32(0x2f3)](),(_0x445405=this[_0x520b32(0x21e)])==null||_0x445405[_0x520b32(0x23e)]({'cmd':F[_0x520b32(0x1a1)],'data':{'roomID':this[_0x520b32(0x130)]}}),(_0xcd12c6=this[_0x520b32(0x21e)])==null||_0xcd12c6['close'](),this[_0x520b32(0xfc)]['complete'](),this[_0x520b32(0x18b)][_0x520b32(0x2b9)](),this[_0x520b32(0x3ab)]();}[_0x34d539(0x3e1)](_0x462577){var _0x5227be=_0x34d539;_0x462577[_0x5227be(0x383)]===F[_0x5227be(0x253)]?this[_0x5227be(0x17f)](_0x462577):_0x462577[_0x5227be(0x383)]===F[_0x5227be(0x19b)]&&this['_onRecvEvent'](_0x462577);}[_0x34d539(0x2a7)](_0x5f5d02){var _0x58d8a5=_0x34d539;this[_0x58d8a5(0x18b)][_0x58d8a5(0x24f)](0x1),_0x5f5d02[_0x58d8a5(0x23e)]({'cmd':F[_0x58d8a5(0x253)],'routeKey':this[_0x58d8a5(0x130)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x34d539(0x17f)](_0x3275c1){var _0x18a502=_0x34d539,_0x37d2b1;if(_0x3275c1[_0x18a502(0x394)]in Yt){this[_0x18a502(0x1a2)][_0x18a502(0x140)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x3275c1[_0x18a502(0x394)]]}),this[_0x18a502(0x18b)]['next'](0x2);return;}this[_0x18a502(0x18b)][_0x18a502(0x24f)](0x3);const _0x57adee=(_0x37d2b1=_0x3275c1['data'][_0x18a502(0x36d)][this[_0x18a502(0x130)]])==null?void 0x0:_0x37d2b1[_0x18a502(0x1fc)];_0x57adee&&_0x57adee[_0x18a502(0x22a)](_0x1d33d7=>this[_0x18a502(0x32d)]['updateMember'](this['_unitID'],_0x1d33d7));}[_0x34d539(0x2c2)](_0x19da57){var _0xc46a65=_0x34d539;try{const _0x40bc59=_0x19da57[_0xc46a65(0x265)];switch(_0x40bc59['eventID']){case _0x12192b[_0xc46a65(0x1cb)]:this[_0xc46a65(0x39d)](_0x40bc59),this[_0xc46a65(0xfc)][_0xc46a65(0x24f)](_0x40bc59);break;case _0x12192b['USERS_LEAVE']:this[_0xc46a65(0x2c0)](_0x40bc59),this[_0xc46a65(0xfc)][_0xc46a65(0x24f)](_0x40bc59);break;case _0x12192b[_0xc46a65(0x1e2)]:case _0x12192b[_0xc46a65(0x2bf)]:this[_0xc46a65(0xf3)](),this[_0xc46a65(0x167)](),this[_0xc46a65(0xfc)][_0xc46a65(0x24f)](_0x40bc59);break;case _0x12192b['MSG_FOR_ERROR']:this[_0xc46a65(0x3d3)][_0xc46a65(0x37a)](_0xc46a65(0x236)+JSON[_0xc46a65(0x35e)](_0x40bc59)),this[_0xc46a65(0xfc)]['next'](_0x40bc59);break;case _0x12192b[_0xc46a65(0x24e)]:this[_0xc46a65(0x275)][_0xc46a65(0x2fa)](_0x40bc59['data']),this[_0xc46a65(0xfc)][_0xc46a65(0x24f)](_0x40bc59);break;default:this[_0xc46a65(0xfc)]['next'](_0x40bc59);}}catch(_0xe407ed){this[_0xc46a65(0x3d3)][_0xc46a65(0x37a)](_0xe407ed,_0x19da57);}}[_0x34d539(0x39d)](_0x1f0157){var _0x43440b=_0x34d539;this[_0x43440b(0x32d)][_0x43440b(0x18f)](this['_unitID'],_0x1f0157[_0x43440b(0x265)]);}['_onUserLeave'](_0x53f59d){var _0x2586a2=_0x34d539;this[_0x2586a2(0x32d)][_0x2586a2(0x3ee)](this[_0x2586a2(0x130)],_0x53f59d[_0x2586a2(0x265)][_0x2586a2(0x148)]);}async['send'](_0x2b6042,_0x139783){var _0x2cc647=_0x34d539;if(this['sessionStatus']!==0x3||!this[_0x2cc647(0x21e)])throw new Error(_0x2cc647(0x1c4));try{_0x2b6042['eventID']===_0x12192b[_0x2cc647(0x1ae)]&&(this[_0x2cc647(0x302)](),this[_0x2cc647(0x2f2)](_0x2b6042)),this[_0x2cc647(0x21e)][_0x2cc647(0x23e)]({'cmd':F['INGEST'],'routeKey':_0x139783,'routeType':'','data':_0x2b6042});}catch(_0x5e32a7){this[_0x2cc647(0x3d3)]['error'](_0x5e32a7);}}['_scheduleCollaborationTimeoutTimer'](){var _0x384371=_0x34d539,_0x593f55;this[_0x384371(0x1ed)]=setTimeout(()=>{var _0x5bb8d3=_0x384371;this['_collaborationTimeoutTimer']=null,this[_0x5bb8d3(0x1a2)]['emitEvent']({'id':se[_0x5bb8d3(0x1fa)]});},(_0x593f55=this[_0x384371(0x256)][_0x384371(0x3e5)](Si))!=null?_0x593f55:Ei);}[_0x34d539(0x167)](){var _0x292542=_0x34d539;this[_0x292542(0x1ed)]&&(clearTimeout(this[_0x292542(0x1ed)]),this[_0x292542(0x1ed)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x25bbd9){var _0x2de080=_0x34d539;if(!this['_shouldReportTelemetry'])return;const {data:_0x292f2f}=_0x25bbd9,{unitID:_0x1a3e10,changeset:_0x8b030c}=_0x292f2f,{mutations:_0x5629c4,type:_0x36b1c5}=_0x8b030c;this[_0x2de080(0x25d)]={'unitId':_0x1a3e10,'type':_0x36b1c5,'startTime':performance[_0x2de080(0x23b)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x5629c4)};}[_0x34d539(0xf3)](){var _0x2853fe=_0x34d539;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x2853fe(0x3d3)][_0x2853fe(0x37a)](_0x2853fe(0x297),_0x2853fe(0x32a));return;}this[_0x2853fe(0x25d)][_0x2853fe(0x22c)]=performance[_0x2853fe(0x23b)](),this[_0x2853fe(0x25d)][_0x2853fe(0x318)]=this[_0x2853fe(0x25d)][_0x2853fe(0x22c)]-this[_0x2853fe(0x25d)][_0x2853fe(0x255)],this[_0x2853fe(0x3d4)]['capture'](Zn,this[_0x2853fe(0x25d)]),this['_telemetryInfo']=null;}}[_0x34d539(0x2f3)](){var _0x2a1727=_0x34d539;this[_0x2a1727(0x25d)]=null;}};Tt=os([ge(0x2,_0x1141f5),ge(0x3,_0x3c1aae),ge(0x4,_0x36ffd1(_0x770142)),ge(0x5,_0x36ffd1(Le)),ge(0x6,_0x36ffd1(bi)),ge(0x7,_0x36ffd1(pe)),ge(0x8,_0x2a417f(_0x38163f))],Tt);var as=Object[_0x34d539(0x257)],cs=Object[_0x34d539(0x3a8)],hs=(_0x54149c,_0x2f0425,_0x173e22,_0x290749)=>{var _0x34c388=_0x34d539;for(var _0xce6d5a=_0x290749>0x1?void 0x0:_0x290749?cs(_0x2f0425,_0x173e22):_0x2f0425,_0x4fb932=_0x54149c[_0x34c388(0x193)]-0x1,_0x3d29d0;_0x4fb932>=0x0;_0x4fb932--)(_0x3d29d0=_0x54149c[_0x4fb932])&&(_0xce6d5a=(_0x290749?_0x3d29d0(_0x2f0425,_0x173e22,_0xce6d5a):_0x3d29d0(_0xce6d5a))||_0xce6d5a);return _0x290749&&_0xce6d5a&&as(_0x2f0425,_0x173e22,_0xce6d5a),_0xce6d5a;},me=(_0x22a5e0,_0x51c814)=>(_0x5a9699,_0x2a73da)=>_0x51c814(_0x5a9699,_0x2a73da,_0x22a5e0);let Me=class extends _0x2053e8{constructor(_0x2d80e9,_0x5881f6,_0xd2244f,_0x398ad6,_0x2640d8,_0x9b4a26,_0x4cb0be){var _0x3176e3=_0x34d539;super(),D(this,_0x3176e3(0x241),new _0x367720(void 0x0)),D(this,'socket$',this[_0x3176e3(0x241)][_0x3176e3(0x2ec)]()),D(this,'_candidateSocket',null),D(this,'_sessions',new Map()),D(this,_0x3176e3(0x188),new _0x367720(Ie['IDLE'])),D(this,_0x3176e3(0x18d),this[_0x3176e3(0x188)][_0x3176e3(0x2ec)]()),D(this,_0x3176e3(0x2df),!0x1),D(this,_0x3176e3(0x138)),D(this,_0x3176e3(0x381),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x3176e3(0x2d3)),(this[_0x3176e3(0x267)]=_0x2d80e9,this['_logService']=_0x5881f6,this['_configService']=_0xd2244f,this[_0x3176e3(0x240)]=_0x398ad6,this[_0x3176e3(0x3c6)]=_0x2640d8,this[_0x3176e3(0x1a2)]=_0x9b4a26,this['_networkConditionService']=_0x4cb0be,this[_0x3176e3(0x12a)]());}get[_0x34d539(0x21e)](){var _0x2936c1=_0x34d539;return this[_0x2936c1(0x241)][_0x2936c1(0x407)]();}[_0x34d539(0x12a)](){var _0x2f540c=_0x34d539;this[_0x2f540c(0x276)]&&this[_0x2f540c(0x1f9)](this[_0x2f540c(0x276)][_0x2f540c(0x2e7)][_0x2f540c(0x3c0)](_0x333332=>{var _0x301ca2=_0x2f540c;_0x333332&&!this[_0x301ca2(0x21e)]&&this[_0x301ca2(0x30e)](),_0x333332||this['_onOffline']();}));}[_0x34d539(0x3ab)](){var _0xdd420e=_0x34d539;super['dispose'](),this[_0xdd420e(0x2e2)][_0xdd420e(0x22a)](_0x500455=>_0x500455['dispose']()),this['_sessions']['clear'](),this[_0xdd420e(0x188)][_0xdd420e(0x2b9)]();}async['requireSession'](_0x30f8ec){var _0x2b240c=_0x34d539;if(this['_sessions'][_0x2b240c(0x242)](_0x30f8ec))return this[_0x2b240c(0x2e2)][_0x2b240c(0x300)](_0x30f8ec);this['_tryEnsureSocket']();const _0x1ba066=this[_0x2b240c(0x267)]['createInstance'](Tt,_0x30f8ec,this[_0x2b240c(0x241)]['asObservable']());return this[_0x2b240c(0x2e2)][_0x2b240c(0x35c)](_0x30f8ec,_0x1ba066),_0x1ba066;}[_0x34d539(0x2ff)](_0x23458b){var _0x1f9bd7=_0x34d539,_0xb94036;const _0x165ead=this['_sessions']['get'](_0x23458b);_0x165ead&&(this[_0x1f9bd7(0x2e2)][_0x1f9bd7(0x359)](_0x23458b),_0x165ead[_0x1f9bd7(0x115)]()),this['_sessions']['size']||(_0xb94036=this[_0x1f9bd7(0x21e)])==null||_0xb94036[_0x1f9bd7(0x115)]();}[_0x34d539(0x30e)](){var _0x6d9af5=_0x34d539;this['_retryCount']=0x0,this[_0x6d9af5(0x138)]!=null&&(clearTimeout(this[_0x6d9af5(0x138)]),this[_0x6d9af5(0x138)]=null),this[_0x6d9af5(0x191)]();}async[_0x34d539(0xf9)](){var _0x4d4b71=_0x34d539,_0x4ea9bc,_0x3f27bb,_0x279149;const _0x408353=this[_0x4d4b71(0x256)][_0x4d4b71(0x3e5)](Y),_0x277cf6=(_0x4ea9bc=_0x408353==null?void 0x0:_0x408353[_0x4d4b71(0x390)])!=null?_0x4ea9bc:xn;return(_0x279149=(_0x3f27bb=(await this[_0x4d4b71(0x3c6)][_0x4d4b71(0x300)](_0x277cf6,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3f27bb[_0x4d4b71(0x3f0)])!=null?_0x279149:'';}[_0x34d539(0x247)](_0x4b0114){var _0x56cbc8=_0x34d539,_0x283dd2,_0x28f3a6;const _0x3b8446=this['_configService'][_0x56cbc8(0x3e5)](Un),_0x1d8e15=this[_0x56cbc8(0x256)][_0x56cbc8(0x3e5)](Y),_0x331bc1=(_0x28f3a6=(_0x283dd2=_0x1d8e15==null?void 0x0:_0x1d8e15[_0x56cbc8(0x26a)])!=null?_0x283dd2:_0x3b8446)!=null?_0x28f3a6:An,_0x36c9c3=typeof window>'u'?new URL(_0x331bc1):new URL(_0x331bc1,window[_0x56cbc8(0x25e)]['origin']);return _0x36c9c3[_0x56cbc8(0x2e9)][_0x56cbc8(0x35c)](_0x56cbc8(0x354),_0x4b0114),_0x36c9c3[_0x56cbc8(0x2db)]();}async[_0x34d539(0x372)](){var _0x4fb6fa=_0x34d539;const _0x2919f3=await this['_getSessionTicket'](),_0x5f33c5=this['_createSocketURL'](_0x2919f3),_0x621a1e=this[_0x4fb6fa(0x240)][_0x4fb6fa(0x1dc)](_0x5f33c5);return this[_0x4fb6fa(0x24c)]=_0x621a1e,_0x621a1e;}async['_tryEnsureSocket'](){var _0x5eaad6=_0x34d539,_0x4d3e3d,_0x13946b;try{const _0x252ccf=(_0x13946b=(_0x4d3e3d=this['_socket'])!=null?_0x4d3e3d:this['_candidateSocket'])!=null?_0x13946b:await this[_0x5eaad6(0x372)]();if(_0x252ccf){const _0x1304f4=_0x252ccf[_0x5eaad6(0x23e)];_0x252ccf[_0x5eaad6(0x23e)]=_0x38ebd1=>(this[_0x5eaad6(0x2f0)](),_0x1304f4[_0x5eaad6(0x314)](_0x252ccf,[_0x38ebd1])),_0x252ccf[_0x5eaad6(0x3bf)]['subscribe'](_0x38d241=>this['_onMessage'](_0x252ccf,_0x38d241)),_0x252ccf[_0x5eaad6(0x235)][_0x5eaad6(0x3d2)](_0x3b234d(0x1))[_0x5eaad6(0x3c0)](_0x5278f2=>this[_0x5eaad6(0x3d3)][_0x5eaad6(0x37a)](_0x5eaad6(0x234),_0x5278f2)),_0x252ccf[_0x5eaad6(0x367)][_0x5eaad6(0x3d2)](_0x3b234d(0x1))[_0x5eaad6(0x3c0)](()=>{this['_onConnectionOpen'](_0x252ccf);}),_0x252ccf[_0x5eaad6(0x350)][_0x5eaad6(0x3d2)](_0x3b234d(0x1))[_0x5eaad6(0x3c0)](_0xfaa60f=>{var _0xe094d3=_0x5eaad6;this[_0xe094d3(0x3d3)]['debug'](_0xe094d3(0x20b),_0xe094d3(0x3ad),_0xfaa60f),this[_0xe094d3(0x2c7)]();});}}catch(_0x44c73c){this[_0x5eaad6(0x3d3)][_0x5eaad6(0x37a)](_0x44c73c),this[_0x5eaad6(0x2c7)]();}}[_0x34d539(0x28d)](_0x2b3f37){var _0x3421c5=_0x34d539;this['_logService'][_0x3421c5(0x27b)](_0x3421c5(0x20b),_0x3421c5(0x355)),_0x2b3f37[_0x3421c5(0x23e)]({'cmd':F[_0x3421c5(0x1ea)]}),this[_0x3421c5(0x2f0)]();}[_0x34d539(0x2bd)](){var _0x5b7e66=_0x34d539;this[_0x5b7e66(0x2df)]=!0x1,this[_0x5b7e66(0x24c)]=null,this['_status$'][_0x5b7e66(0x24f)](Ie['OFFLINE']),this['_socket$'][_0x5b7e66(0x24f)](null),this['_clearTimeoutTimer'](),this[_0x5b7e66(0x3ec)]();}['_onConnectionFailed'](){var _0x4d0acb=_0x34d539,_0x51e673;this[_0x4d0acb(0x2bd)](),this[_0x4d0acb(0x381)]<((_0x51e673=this[_0x4d0acb(0x256)]['getConfig'](Hn))!=null?_0x51e673:kn)?(this[_0x4d0acb(0x1a2)]['emitEvent']({'id':se[_0x4d0acb(0x2c4)]}),this[_0x4d0acb(0x191)]()):this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x34d539(0x191)](){var _0xfe5449=_0x34d539,_0x5bee98;const _0x4067a8=this['_retryCount'],_0x55b487=this[_0xfe5449(0x256)][_0xfe5449(0x3e5)](Y),_0x33f615=_0x4067a8===0x0?0x0:((_0x5bee98=_0x55b487==null?void 0x0:_0x55b487['retryConnectingInterval'])!=null?_0x5bee98:$n)*0x2**_0x4067a8;this[_0xfe5449(0x138)]=setTimeout(()=>{var _0x550545=_0xfe5449;clearTimeout(this[_0x550545(0x138)]),this[_0x550545(0x138)]=null,this[_0x550545(0x1f5)]();},_0x33f615),this[_0xfe5449(0x381)]+=0x1;}['_onMessage'](_0x5d7d63,_0x2868be){var _0x4efe0d=_0x34d539;const {cmd:_0x35a3de}=_0x2868be;_0x35a3de===F[_0x4efe0d(0x1ea)]&&!this[_0x4efe0d(0x2df)]&&(_0x5d7d63['memberID']=_0x2868be[_0x4efe0d(0x265)][_0x4efe0d(0x148)],this['_socket$'][_0x4efe0d(0x24f)](_0x5d7d63),this[_0x4efe0d(0x188)]['next'](Ie['ONLINE']),this[_0x4efe0d(0x2df)]=!0x0,this[_0x4efe0d(0x24c)]=null),_0x35a3de===F[_0x4efe0d(0x28b)]&&this['_clearTimeoutTimer'](),this[_0x4efe0d(0x2f0)]();}[_0x34d539(0x2f0)](){var _0x1c480b=_0x34d539,_0x55cf7b;this['_clearHeartbeatTimer'](),this[_0x1c480b(0x29b)]=setTimeout(()=>this[_0x1c480b(0x2d2)](),(_0x55cf7b=this[_0x1c480b(0x256)][_0x1c480b(0x3e5)](Ln))!=null?_0x55cf7b:Mn);}['_sendHeartbeat'](){var _0xcfae9b=_0x34d539;this[_0xcfae9b(0x21e)][_0xcfae9b(0x23e)]({'cmd':F['HEARTBEAT']}),this[_0xcfae9b(0x306)]();}[_0x34d539(0x306)](){var _0x1df724=_0x34d539,_0x44de42;this[_0x1df724(0x2d3)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x44de42=this[_0x1df724(0x256)][_0x1df724(0x3e5)](Si))!=null?_0x44de42:Ei);}['_clearHeartbeatTimer'](){var _0x3bde3c=_0x34d539;this[_0x3bde3c(0x29b)]!=null&&(clearTimeout(this[_0x3bde3c(0x29b)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x23c3f4=_0x34d539;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x23c3f4(0x2d3)]),this['_timeoutTimer']=null);}};Me=hs([me(0x0,_0x36ffd1(_0xb63fc9)),me(0x1,_0x1141f5),me(0x2,_0x3c1aae),me(0x3,Ci),me(0x4,_0x36ffd1(_0x37d339)),me(0x5,_0x36ffd1(pe)),me(0x6,_0x2a417f(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x34d539(0x127)]((n+0x100)[_0x34d539(0x2db)](0x10)[_0x34d539(0x206)](0x1));function _0x3b8e(_0x418020,_0x4b75fb){var _0x62f3d=_0x62f3();return _0x3b8e=function(_0x3b8e84,_0x106452){_0x3b8e84=_0x3b8e84-0xf1;var _0x4edcbe=_0x62f3d[_0x3b8e84];return _0x4edcbe;},_0x3b8e(_0x418020,_0x4b75fb);}function _s(_0xf2213,_0x162fd5=0x0){return(V[_0xf2213[_0x162fd5+0x0]]+V[_0xf2213[_0x162fd5+0x1]]+V[_0xf2213[_0x162fd5+0x2]]+V[_0xf2213[_0x162fd5+0x3]]+'-'+V[_0xf2213[_0x162fd5+0x4]]+V[_0xf2213[_0x162fd5+0x5]]+'-'+V[_0xf2213[_0x162fd5+0x6]]+V[_0xf2213[_0x162fd5+0x7]]+'-'+V[_0xf2213[_0x162fd5+0x8]]+V[_0xf2213[_0x162fd5+0x9]]+'-'+V[_0xf2213[_0x162fd5+0xa]]+V[_0xf2213[_0x162fd5+0xb]]+V[_0xf2213[_0x162fd5+0xc]]+V[_0xf2213[_0x162fd5+0xd]]+V[_0xf2213[_0x162fd5+0xe]]+V[_0xf2213[_0x162fd5+0xf]])['toLowerCase']();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x3a2672=_0x34d539;if(!dt){if(typeof crypto>'u'||!crypto[_0x3a2672(0x1b8)])throw new Error(_0x3a2672(0x3b5));dt=crypto[_0x3a2672(0x1b8)][_0x3a2672(0x2f4)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x34d539(0x2c9)]&&crypto[_0x34d539(0x2c9)][_0x34d539(0x2f4)](crypto),qt={'randomUUID':ds};function fs(_0x1d5112,_0x3cafcf,_0x2508da){var _0x3c4894=_0x34d539;if(qt['randomUUID']&&!_0x3cafcf&&!_0x1d5112)return qt[_0x3c4894(0x2c9)]();_0x1d5112=_0x1d5112||{};const _0x450234=_0x1d5112[_0x3c4894(0x15f)]||(_0x1d5112[_0x3c4894(0x3f1)]||us)();return _0x450234[0x6]=_0x450234[0x6]&0xf|0x40,_0x450234[0x8]=_0x450234[0x8]&0x3f|0x80,_s(_0x450234);}const X=_0x17bea6(_0x34d539(0x25f));function uo(_0x6af295){var _0x1b2c5d=_0x34d539;return _0x1b2c5d(0x1f0)+_0x6af295;}var vs=Object['defineProperty'],ps=Object[_0x34d539(0x3a8)],gs=(_0x629e27,_0x26b90e,_0x376f14,_0x525611)=>{for(var _0x22153e=_0x525611>0x1?void 0x0:_0x525611?ps(_0x26b90e,_0x376f14):_0x26b90e,_0x312ea0=_0x629e27['length']-0x1,_0x4cc412;_0x312ea0>=0x0;_0x312ea0--)(_0x4cc412=_0x629e27[_0x312ea0])&&(_0x22153e=(_0x525611?_0x4cc412(_0x26b90e,_0x376f14,_0x22153e):_0x4cc412(_0x22153e))||_0x22153e);return _0x525611&&_0x22153e&&vs(_0x26b90e,_0x376f14,_0x22153e),_0x22153e;},ft=(_0x2d77e3,_0x3949df)=>(_0x1cd6c5,_0xd144d8)=>_0x3949df(_0x1cd6c5,_0xd144d8,_0x2d77e3);function ms(_0xf313ad){var _0x13dff2=_0x34d539;const {unitID:_0x5ba306,mutations:_0x218c9e}=_0xf313ad;return{'unitId':_0x5ba306,'subUnitId':_0x218c9e[0x0]['params'][_0x13dff2(0x3b9)]};}let nt=class{constructor(_0xf32f4b,_0x403f36,_0x50f332){var _0x59c029=_0x34d539;this[_0x59c029(0x267)]=_0xf32f4b,this['_transformService']=_0x403f36,this['_instanceService']=_0x50f332;}[_0x34d539(0x400)](_0x294baf){var _0x5a5bb3=_0x34d539,_0x22f71a,_0x4b77f4,_0xf1d2bf,_0x171bb7;const _0x2d16db=this['_injector']['get'](_0x4fd3f8),{unitId:_0xc3370c,subUnitId:_0x3a4061}=ms(_0x294baf),_0xd6d3c9=_0x2d16db==null?void 0x0:_0x2d16db[_0x5a5bb3(0x227)](_0xc3370c)[_0x5a5bb3(0x3dc)](),_0x43526c=(_0x4b77f4=(_0x22f71a=this['_instanceService']['getUnit'](_0xc3370c))==null?void 0x0:_0x22f71a['getActiveSheet']())==null?void 0x0:_0x4b77f4[_0x5a5bb3(0x3fa)]();if(_0xd6d3c9[_0x5a5bb3(0x193)]===0x0||!_0xc3370c||!_0x3a4061)return;const _0x334c1a=[{'id':_0x1cd2b1['id'],'params':{'unitId':_0xc3370c,'subUnitId':_0x43526c,'selections':_0x3843b['deepClone'](_0xd6d3c9)}}],_0xcda28a=this[_0x5a5bb3(0x376)]['transformMutationsWithChangeset'](_0x294baf,_0x334c1a);if(!_0x98a3a(_0xcda28a))throw _0xcda28a['error'];const _0x4ea237=(_0x171bb7=(_0xf1d2bf=_0xcda28a[_0x5a5bb3(0x3d0)][0x0])==null?void 0x0:_0xf1d2bf[_0x5a5bb3(0x35f)])==null?void 0x0:_0x171bb7['selections'];if(Array['isArray'](_0x4ea237)&&_0x4ea237[_0x5a5bb3(0x193)]){if(_0x4ea237[_0x5a5bb3(0x193)]===_0x334c1a[0x0][_0x5a5bb3(0x35f)][_0x5a5bb3(0x2dc)][_0x5a5bb3(0x193)]&&_0x4ea237[_0x5a5bb3(0x307)]((_0x5330ae,_0x4ef867)=>_0xa032ed[_0x5a5bb3(0x259)](_0x5330ae[_0x5a5bb3(0x3cd)],_0x334c1a[0x0]['params'][_0x5a5bb3(0x2dc)][_0x4ef867][_0x5a5bb3(0x3cd)])))return;this['_injector'][_0x5a5bb3(0x300)](_0x267c35)[_0x5a5bb3(0x2d5)](_0x1cd2b1['id'],{'unitId':_0xc3370c,'subUnitId':_0x43526c,'selections':_0x4ea237});}}};nt=gs([ft(0x0,_0x36ffd1(_0xb63fc9)),ft(0x1,_0x376269),ft(0x2,_0x21b5bb)],nt);const _t=_0x17bea6(_0x34d539(0x21a));var Ri=(_0x1efba1=>(_0x1efba1[_0x1efba1['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x1efba1[_0x1efba1['OTHER_CLIENTS_EDITING']=0x1]=_0x34d539(0x3c2),_0x1efba1))(Ri||{});const Ss=new Set([_0xc8ec1a['id']]);function Jt(_0x332c86,_0x419ffd,_0x3c686,_0x3aa6e5,_0x3709e){var _0xb92926=_0x34d539,_0x5a6dcb,_0x1c9a8b,_0x5f2edc,_0x41e9b1;const _0x41f581=[];for(const _0x1f5cb4 of _0x332c86)if(Ss[_0xb92926(0x242)](_0x1f5cb4['id'])){if(_0x41f581[_0xb92926(0x193)]>0x0)break;_0x41f581['push'](_0x1f5cb4);break;}else _0x41f581[_0xb92926(0x127)](_0x1f5cb4);const _0x3aa586=(_0x1c9a8b=(_0x5a6dcb=_0x3709e[_0xb92926(0x116)]())==null?void 0x0:_0x5a6dcb[_0xb92926(0x1fd)])!=null?_0x1c9a8b:_0xb92926(0x311),_0x8c96fc=(_0x41e9b1=(_0x5f2edc=_0x3709e[_0xb92926(0x116)]())==null?void 0x0:_0x5f2edc[_0xb92926(0x148)])!=null?_0x41e9b1:_0xb92926(0x311);return{'changeset':{'unitID':_0x419ffd,'type':_0x1e52d1(_0x3c686[_0xb92926(0x3b7)](_0x419ffd)),'baseRev':_0x3aa6e5['getCurrentRevOfUnit'](_0x419ffd),'revision':0x0,'userID':_0x3aa586,'memberID':_0x8c96fc,'mutations':_0x41f581},'pendingMutations':_0x332c86['slice'](_0x41f581['length'])};}function Es(_0x54f6cd,_0xd50f06,_0x2f228e,_0x577d56,_0x2e0bd4){var _0x4d2bf1=_0x34d539,_0xd1a461,_0x235074,_0x39c918,_0x48ed14;const _0x1fbc61=[_0x54f6cd[_0x4d2bf1(0x3da)]((_0x5a002f,_0x225674)=>{var _0x85cd86=_0x4d2bf1,_0x38ec3c;const {id:_0xb4322e}=_0x5a002f,{id:_0x13ec09,type:_0x55acdf}=_0x225674,_0x31de68=(_0x38ec3c=_0x5a002f[_0x85cd86(0x35f)])!=null?_0x38ec3c:{'actions':null},_0x248bf7=_0x225674[_0x85cd86(0x35f)];if(_0xb4322e&&_0xb4322e!==_0x13ec09)throw new Error(_0x85cd86(0x1ff)+_0xb4322e+_0x85cd86(0x2a1)+_0x13ec09+'.');return{..._0x5a002f,'id':_0x13ec09,'type':_0x55acdf,'params':{'unitId':_0x248bf7[_0x85cd86(0x194)],'textRanges':_0x248bf7[_0x85cd86(0x37c)],'actions':_0x592a78[_0x85cd86(0x360)](_0x31de68[_0x85cd86(0x3f2)],_0x248bf7[_0x85cd86(0x3f2)])}};},{})],_0xa7fc66=(_0x235074=(_0xd1a461=_0x2e0bd4[_0x4d2bf1(0x116)]())==null?void 0x0:_0xd1a461[_0x4d2bf1(0x1fd)])!=null?_0x235074:_0x4d2bf1(0x311),_0x2bbc0c=(_0x48ed14=(_0x39c918=_0x2e0bd4[_0x4d2bf1(0x116)]())==null?void 0x0:_0x39c918[_0x4d2bf1(0x148)])!=null?_0x48ed14:'unknown';return{'changeset':{'unitID':_0xd50f06,'type':_0x1e52d1(_0x2f228e['getUnitType'](_0xd50f06)),'baseRev':_0x577d56[_0x4d2bf1(0x12f)](_0xd50f06),'revision':0x0,'userID':_0xa7fc66,'memberID':_0x2bbc0c,'mutations':_0x1fbc61},'pendingMutations':[]};}function yi(_0x1c40a5,_0xf6cf98){var _0x2a2e8c=_0x34d539;const _0x17b1e8=new _0x411c20(0x1);return setTimeout(()=>_0x17b1e8['next'](_0xf6cf98),_0x1c40a5),_0x17b1e8['asObservable']()[_0x2a2e8c(0x3d2)](_0x42237e(0x1));}const Is={'id':_0x2e9211['id'],'type':_0x431021[_0x34d539(0x15c)],'params':{}};var Ts=Object[_0x34d539(0x257)],Cs=Object[_0x34d539(0x3a8)],Ce=(_0x393a72,_0x31e103,_0x35876e,_0x3f81c7)=>{var _0x5f5119=_0x34d539;for(var _0x280971=_0x3f81c7>0x1?void 0x0:_0x3f81c7?Cs(_0x31e103,_0x35876e):_0x31e103,_0x5cbb8f=_0x393a72[_0x5f5119(0x193)]-0x1,_0x410954;_0x5cbb8f>=0x0;_0x5cbb8f--)(_0x410954=_0x393a72[_0x5cbb8f])&&(_0x280971=(_0x3f81c7?_0x410954(_0x31e103,_0x35876e,_0x280971):_0x410954(_0x280971))||_0x280971);return _0x3f81c7&&_0x280971&&Ts(_0x31e103,_0x35876e,_0x280971),_0x280971;},A=(_0x22669a,_0x425208)=>(_0x2aa69e,_0x1f4b26)=>_0x425208(_0x2aa69e,_0x1f4b26,_0x22669a),Oi=(_0x71f4c2=>(_0x71f4c2['NOT_COLLAB']=_0x34d539(0x1aa),_0x71f4c2[_0x34d539(0x14e)]=_0x34d539(0x399),_0x71f4c2['PENDING']=_0x34d539(0x3f9),_0x71f4c2[_0x34d539(0x320)]=_0x34d539(0x391),_0x71f4c2[_0x34d539(0x1c7)]='awaiting_with_pending',_0x71f4c2[_0x34d539(0x11a)]=_0x34d539(0x180),_0x71f4c2['CONFLICT']=_0x34d539(0x210),_0x71f4c2[_0x34d539(0x2eb)]=_0x34d539(0x273),_0x71f4c2))(Oi||{});const Pi=0xea60;function _0x62f3(){var _0x1826da=['filter','ivSize','_univerInstanceService','reverse','_toggleOnline','key','onRemoteRetry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','$super','telemetry\x20info\x20is\x20not\x20initialized','/new_changes','loadSheet','_memberService','Hex','_replaceFileID','/-/object/-/batch_allowed','_data','session','LOGIN_URL_KEY','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','WordArray','_getAPIPrefix','UPDATE_PERMISSION_OBJ','localeService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','processBlock','JOIN_ROOM_PERMISSION_DENIED','_shouldReportTelemetry','sessionStatus$','downloadEndpointUrl','collaboratorID','_nRounds','words','getFocusedUnit','transformStack\x20failed!','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_doProcessBlock','BufferedBlockAlgorithm','onMissingChangesets','findIndex','image/bmp','allowed','&assign=','/block/','sid','entries','create','close$','[FetchMissState]','SUCCUSS','getSheetBlock','sessionTicket','socket\x20open.','addImageSourceCache','_invKeySchedule','[CollaborationState]:\x20apply\x20error!','delete','getSnapshotAPIPath','ALREADY_EXISTS','set','_collaborationSessionService','stringify','params','compose','blockSize','generateRandomId','RETRY_CONNECTING_MAX_COUNT','saveChangeset','_snapshotServerService','interceptor','open$','snapshotServerUrl','_createInitialState','enc','abs','SHA1','roomInfos','Base64','updateCollaborator','c1Prime','objectType','_createSocket','INGEST','_resendTimeout','[OfflineState]:\x20received\x20rejection.','_transformService','_getCurrentRevision','onRemoteRej','onRemoteAck','error','joinEvent','textRanges','loadDoc','registerHTTPInterceptor','\x0aAfter:\x20','APPLY_REJECT','_retryCount','setCurrentUser','cmd','loadUnit','PasswordBasedCipher','default','UUID','requestParams','incrementRevOfUnit','MD5','UNDEFINED','mutations','Utf8','[DataLoaderService]','name','wsSessionTicketUrl','awaiting','_ENC_XFORM_MODE','[CollaborationEntity]','code','objectID','FileId','_hasher','awaiting_with_pending','synced','_oKey','_initDependencies','_commandService','_onUserJoin','x-univer-host','_init','CONFLICT','JOINING','encryptBlock','BlockCipher','auth.needGotoLoginAlert','Cipher','updateOfflineData','onSyncEditingCollabCursor','getOwnPropertyDescriptor','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','includes','dispose','readAsDataURL','socket\x20close','/object','formatter','session.room-cnt-exceeds','COMPRESS_MUTATION_SEND','createCollaborator','extend','socketService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','Worksheet','getUnitType','/universer-api/stream/file/upload','subUnitId','_loadDoc','getTypeOfUnitDisposed$','_onConflict','_state$','CLOSE_ROOM','message$','subscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','OTHER_CLIENTS_EDITING','_clearScheduledTask','_changesetSessionId','{fileID}','_httpService','UNIVER_PROJECT','clone','disableLocalCache','TOO_MANY_REQUESTS','_transformRemoteChangesetByStateCache','refreshPermission','range','_acknowledgedAwaitingChangeset','_getSendChangesetTimeout','m2Prime','4892736uhSapl','pipe','_logService','_telemetryService','UNIVER_SHEET','_transformIMECache','_clearUndo','put','responseType','reduce','_type','getCurrentSelections','_config','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','uploadFileServerUrl','getUnitOnRev','_onCombEvent','_transformSelections','salt','ws://127.0.0.1:8000/universer-api/comb/connect','getConfig','HttpImport','isPermissionRej','UNIVER_UNKNOWN','UNRECOGNIZED','sigBytes','createEncryptor','_clearHeartbeatTimer','Malformed\x20UTF-8\x20data','removeMember','parse','ticket','rng','actions','newCsEvent','/universer-api/file/{fileID}/sign-url','UNKNOWN_CODE','5oSbRvb','state$','post','pending','getSheetId','csAckEvent','onRemoteChangeset','fromCharCode','createDecryptor','_onRemoteACK','transformSelections','charCodeAt','msCrypto','prototype','_xformMode','workbook','json','getValue','_getSignURL','_removeRoom','_stopTelemetryCollaborationNewChangeset','string','fromCollab','reset','add','file','_getSessionTicket','unitID','min','_event$','keySize','_transformStack','_onRemoteRejected','href','JOIN_ROOM_FULL','UNAUTHENTICATED','encrypt','FAIL','snapshot','_createInitialStateImpl','/allowed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','JOIN_ROOM_FAILED','clear','SEND_CHANGESET_TIMEOUT','dispose$','ruleRefresh','OPTIONAL','rev','_checkMissing','_imageSourceCache','change$','saveImage','_singleActiveUnitService','close','getCurrentUser','_substituteRedoStack','_showConflictNotification','/resources','FETCH_MISS','/fetchmissing?from=','toggleOnline','_remoteChangesetQueue','session.room-permission-denied','&source=','permissionRejEvent','_iKey','422sDUMIj','LIVESHARE_OPERATION','body','withCredentials','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','push','getRoom','format','_listenToNetworkCondition','onlyLocal','_hash','initWorkbookPermissionChange','_http','getCurrentRevOfUnit','_unitID','onCommandExecuted','ceil','_sendingTimer','replace','OpenSSL','LOCAL_CACHE_INTERVAL','signUrlServerUrl','_retryConnectingTimer','_transformRemoteChangesetByIMECache','getInterceptPoints','type','objects','SelectRange','execute','_onRemoteChangeset','emitEvent','_initRequestHeader','copyFileMeta','_lockTransition','[UniverCollaborationClientPlugin]','UNIVER_SLIDE','requireSession','catch','memberID','_revisionService','UNIVER_DOC','byteLength','_onRemoteRetry','baseRev','SYNCED','awaitingChangeset','reqId','onStateChange','NoPadding','authzUrl','getResourcesRequest','session.join-failed','UnitSnapshot','GLOBAL_ROOMS_CNT_EXCEEDS','Decryptor','_loadSheet','fetchThroughInterceptors','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','MUTATION','_exhaustRemoteChangesetQueue','hostname','random','_resendTimer','onTransformIME','Hasher','mixIn','function','APPLY_NON_SEQUENTIAL_REVISION','override','_clearCollaborationTimeoutTimer','fetchMissingChangesets','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','9WnwIPO','updatePermissionObjEvent','People','_undoStacks','_getRedoStack','getPermissionPoint','_sender','algo','isArray','_keyPriorReset','_updateState','/universer-api/user/session-ticket','YUUMI_UNABLE_LOAD_URL','\x0aCurrent:\x20','update','_syncEditingCollabCursor','getUnitId','10410470zqEzal','BlockCipherMode','\x20in\x20_schedule.','_onJoinRoomEvent','fetch_missing','onSendChangeset','_clearLocalCache','HEARTBEAT_INTERVAL','pad','_reverseMap','_prevBlock','concat','_status$','_keySchedule','_awaitingChangeset','_sessionStatus$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','status$','POST','updateMember','_permissionService','_tryReconnect','CipherParams','length','unitId','getImageSourceCache','_decreaseWaiting','LICENSE_IMPORT_SIZE_EXCEEDED','connection\x20error','LICENSE_DISTRO_REJECTED','kdf','RECV','UnitEmbedded','getMemberID','status','repeat','ERROR_IMAGE','LEAVE','_collaborationUIEventService','/unit/','enableSingleActiveInstanceLock','_toggleOffline','onTransformRemoteChangesetByIMECache','HttpExport','hasher','_updateStatus','not_collab','_compressMutationService','method','confirm','SUBMIT_CHANGESET','_onFetchMissResult','APPLY_PERMISSION_DENIED','_undoRedoService','_substituteUndoStack','editingUnit','transformMutationsWithChangeset','image/jpg','onload','call','getRandomValues','collaborators','Could\x20not\x20dynamically\x20require\x20\x22','_pendingMutations','IDLE','symbol','SNAPSHOT_HAS_BEEN_REMOVED','_roomMembers','collaboration_new_changeset','_parse','startsWith','_replayCachedMutations','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_map','_unitInfo$','AWAITING_WITH_PENDING','_eventService','sendChangesetTimeout','saveSheetBlock','USERS_ENTER','_collaborationPaused','_getCtorByUniverType','__esModule','getMember','OTHER_CLIENT_EDITING','CHANGESET_REVISION_CONFILICT','UNKNOWN_CMD','_members','[SyncedState]:\x20received\x20acknowledgement.','[PendingState]:\x20received\x20acknowledgement.','_cipher','find','SNAPSHOT_URL_KEY','\x20to\x20','INVALID_ARGUMENT','UNIVER_COLLABORATION_CLIENT_PLUGIN','createSocket','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_initCloseConn','csRejEvent','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_transformStateCache','CHANGESET_ACK','result','floor','setShowComponents','_getLoginPath','indexOf','_entities','_userManagerService','HELLO','_process','editing\x20status\x20changed\x20to','_collaborationTimeoutTimer','_handler','revision','unit-cache-','_getDownloadEndpointURL','toggleOffline','BASE64','getAllMembers','_tryEnsureSocket','[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.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','randomBytes','disposeWithMe','SUBMIT_CHANGESET_TIMEOUT','_localeService','members','userID','append','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','substr','_mode','map','routeKey','list','readInt32LE','slice','url','onMissedChangesetFetched','[OfflineState]:\x20received\x20acknowledgement.','leaveEvent','[CollaborationSessionService]','reject','NOT_FOUND','join','setWaitCount','conflict','/object/','getCollabEntity$','_createHandler','_resendWithTimeout','getTargetByPermissionId','/universer-api/authz','AUTHZ_URL_KEY','Latin1','crypto','univer-pro.collaboration-client.single-active-unit-service','init','_startCollaboration','_submitChangeset','_socket','decrypt','compute','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','localCacheService','_onLocalMutation','failed\x20to\x20apply\x20missed\x20changesets!','SOCKET_FAILED','getTime','getWorkbookSelections','collaMsg','getLatestCsReqIdBySid','forEach','objectActions','stopTime','commentUpdateEvent','c2Prime','deleteCollaborator','_getUndoStack','origin','_doReset','originalMeta','[CollaborationSessionService]:\x20socket\x20error','error$','save\x20fail\x20reason\x20is\x20','then','exports','splice','buffer','now','pauseCollaboration','_nDataBytes','send','charAt','_socketService','_socket$','has','onTransformSelections','listRoles','_schedule','max','_createSocketURL','_socketMessageSubscription','listCollaborators','Undefined','mode','_candidateSocket','_snapshotService','COMMENT_UPDATE','next','COLLAB_WEB_SOCKET_URL','unpad','loadOfflineData','JOIN','Base','startTime','_configService','defineProperty','_applyRemoteChangeset','equals','_disableEditing','finalize','PERMISSION_DENIED','_telemetryInfo','location','collaboration-client.local-cache-service','iterations','title','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/oidc/authpage','_createHmacHelper','data','MSG_FOR_ERROR','_injector','_scheduleTimestamp','avatar','collabWebSocketUrl','LIVESHARE_REQUEST_HOST','state','subject','onTransformRemoteChangesetByStateCache','_state','getImage','appendMutation','_initMergeInterceptor','offline','_change$','_commentService','_networkConditionService','getTypeOfUnitAdded$','4557102AvsNub','createInstance','AES','debug','_HTTPService','cfg','SHOULD_CLOSE_CONN','?url=','onTransformState','[SyncedState]:\x20received\x20rejection.','PERMISSION_REJ','_createHelper','_waitCount','HmacMD5','5938863WATLrg','_append','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','enableOfflineEditing','image/png','HEARTBEAT','src','_onConnectionOpen','_fetchMissChangesets','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INTERNAL_ERROR','resourceIDs','lib','_key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_handlerCallback','/universer-api/snapshot/','[CollaborationSession]','fetchMiss','unsubscribe','batchAllowed','_sendHeartbeatTimer','updatePermissionPoint','JOIN_ROOM_NOT_EXISTS','sheets','CONNECTOR_DATA_TOO_LARGE','size','\x20-\x20','2826hEWoCp','HEARTBEAT_TIMEOUT','556861kUSiKt','?size=','EvpKDF','_joinRoom','transformChangesets','_queuedRemoteChangesets','_sheetTransformSelectionsService','_unlockTransition','__Key__','Workbook','encode','COMPRESS_MUTATION_APPLY','COMPLETION_FINISHED','HmacSHA1','ERROR_IMAGE_TYPE','YUUMI_RATE_OVER_LIMIT','Pkcs7','FETCH_MISSING','SNAPSHOT_INVALID_SNAPSHOT','onStarting','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','complete','action','2784956Moxyyb','headers','_onOffline','USERS_LEAVE','CHANGESET_SHOULD_RETRY','_onUserLeave','Univer','_onRecvEvent','loginUrlKey','SOCKET_FAILED_RETRY','/collaborator','ciphertext','_onConnectionFailed','_isPermissionRej','randomUUID','subType','[CollaborationUndoRedoService]','_changesetReqId','HMAC','APPLY_DUPLICATED','_updateLocalCache','readyForCollab','CHANGESET_REJ','_sendHeartbeat','_timeoutTimer','_commentUpdate$','executeCommand','hasOwnProperty','_localCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-pro.collaboration-client-socket-service','_getUploadFileURL','toString','selections','byteOffset','collabSubmitChangesetUrl','_socketReady','_transitionLocked','resend','_sessions','putCollaborators','sin','value','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','online$','ONLINE','searchParams','image/jpeg','OFFLINE','asObservable','UPDATE_CURSOR','SerializableCipher','_executeRemoteChangeset','_rescheduleHeartbeat','enableAuthServer','_startTelemetryCollaborationNewChangeset','_throwTelemetryCollaborationNewChangeset','bind','session.room-not-exists','CBC','_entityInit$','padding','joinRsp','onCommentUpdate','_getAPIPrefixPath','clamp','LICENSE_EXPORT_SIZE_EXCEEDED','from','closeSession','get','LIVESHARE_FETCH_OPERATIONS','_scheduleCollaborationTimeoutTimer','_collabSessionService','pluginName','unitId\x20is\x20not\x20found','_waitForHeartbeatResponse','every','PERSON','csShouldRetryEvent','liveShareNewHost','_registerDependencies','_authzIoService','_initUnitPermissionChange','reconnect','getCollabEntity','_minBufferSize','unknown','__creator','ERROR_EXCEED_SIZE','apply','_incrementRevisionNumber','_iv','Encryptor','duration','eventID','event$','shouldCloseConn','APPLY_REVISION_CONFILICT','ENSURE_SNAPSHOT_EXECUTION','transformUndoRedo','LICENSE_MAX_UNITS_EXCEEDED','AWAITING'];_0x62f3=function(){return _0x1826da;};return _0x62f3();}class be{constructor(_0x5450d3,_0x1111b6,_0x45e748,_0x3cfd87,_0x52f68a,_0x21accc,_0x4763a8,_0x45f29a,_0x1b7429){var _0xb7222=_0x34d539;D(this,_0xb7222(0x18a),null),D(this,_0xb7222(0x1bb),[]),(this['unitID']=_0x5450d3,this[_0xb7222(0x13b)]=_0x1111b6,this['_handler']=_0x52f68a,this[_0xb7222(0x39c)]=_0x21accc,this[_0xb7222(0x1b1)]=_0x4763a8,this[_0xb7222(0x149)]=_0x45f29a,this[_0xb7222(0x2d7)]=_0x1b7429,this[_0xb7222(0x18a)]=_0x45e748,this['_pendingMutations']=_0x3cfd87);}['_checkMissing'](_0x4da383){var _0x4995fe=_0x34d539;const _0x29e682=this[_0x4995fe(0x149)][_0x4995fe(0x12f)](this['unitID']);return _0x4da383[_0x4995fe(0x1ef)]>_0x29e682+0x1?(this[_0x4995fe(0x1ee)][_0x4995fe(0x347)]({'from':_0x29e682,'to':_0x4da383[_0x4995fe(0x1ef)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x378570){var _0x56540d=_0x34d539;this['_undoRedoService'][_0x56540d(0x31e)](this[_0x56540d(0xfa)],_0x378570);}['_transformSelections'](_0x3f4983){var _0x343506=_0x34d539,_0x40349b,_0x4e3f02;(_0x4e3f02=(_0x40349b=this[_0x343506(0x1ee)])[_0x343506(0x243)])==null||_0x4e3f02[_0x343506(0x1b7)](_0x40349b,_0x3f4983);}[_0x34d539(0x3d6)](_0xc9bf10){var _0x172975=_0x34d539,_0xe14d65,_0x2b25fe;return(_0x2b25fe=(_0xe14d65=this[_0x172975(0x1ee)])[_0x172975(0x161)])==null?void 0x0:_0x2b25fe[_0x172975(0x1b7)](_0xe14d65,_0xc9bf10);}[_0x34d539(0x1e1)](_0x1d217b){var _0x28156a=_0x34d539,_0x18cd90,_0x4031a8;return(_0x4031a8=(_0x18cd90=this['_handler'])[_0x28156a(0x280)])==null?void 0x0:_0x4031a8[_0x28156a(0x1b7)](_0x18cd90,_0x1d217b);}[_0x34d539(0x139)](_0x35f922){var _0x1e22d4=_0x34d539,_0xb9afd3,_0xfa97ff,_0x15bc03;return(_0x15bc03=(_0xfa97ff=(_0xb9afd3=this[_0x1e22d4(0x1ee)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xfa97ff[_0x1e22d4(0x1b7)](_0xb9afd3,_0x35f922))!=null?_0x15bc03:_0x35f922;}[_0x34d539(0x3cb)](_0x420c24){var _0x714cc3=_0x34d539,_0x4c86e5,_0x1a0458,_0x1d8b88;return(_0x1d8b88=(_0x1a0458=(_0x4c86e5=this['_handler'])[_0x714cc3(0x26e)])==null?void 0x0:_0x1a0458[_0x714cc3(0x1b7)](_0x4c86e5,_0x420c24))!=null?_0x1d8b88:_0x420c24;}[_0x34d539(0x17a)](_0x1c9e28){var _0x385397=_0x34d539,_0x1be0fd,_0x7319bb;if(this['type']===Q[_0x385397(0x14a)]){const {unitID:_0x1401ce,mutations:_0x52df8f,memberID:_0xdc5157}=_0x1c9e28,_0x2913ea=_0x52df8f[0x0][_0x385397(0x35f)][_0x385397(0x37c)];Array[_0x385397(0x173)](_0x2913ea)&&_0x2913ea['length']>0x0&&((_0x7319bb=(_0x1be0fd=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x7319bb['call'](_0x1be0fd,{'unitID':_0x1401ce,'memberID':_0xdc5157,'textRanges':_0x2913ea}));}}[_0x34d539(0x2cf)](){var _0x24bd5c=_0x34d539,_0x4c5e70;(_0x4c5e70=this['_localCacheService'])==null||_0x4c5e70[_0x24bd5c(0x3a6)](this[_0x24bd5c(0xfa)],this[_0x24bd5c(0x13b)],this[_0x24bd5c(0x18a)],this[_0x24bd5c(0x1bb)]);}[_0x34d539(0x377)](){var _0x2923aa=_0x34d539;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x2923aa(0xfa)]);}[_0x34d539(0x315)](){var _0x238947=_0x34d539;this[_0x238947(0x149)][_0x238947(0x389)](this[_0x238947(0xfa)]);}[_0x34d539(0x2ef)](_0x3e1cb2){var _0x1563d9=_0x34d539,_0x3def13;let _0x44da09=this[_0x1563d9(0x139)](_0x3e1cb2);_0x44da09=this['_transformRemoteChangesetByStateCache'](_0x44da09);const _0x3388d5=_0x3c4562(_0x44da09[_0x1563d9(0x38c)],this[_0x1563d9(0x39c)],{'fromCollab':!0x0});if(!_0x3388d5[_0x1563d9(0x1e3)])throw _0x3388d5[_0x1563d9(0x37a)]instanceof Error?_0x3388d5[_0x1563d9(0x37a)]:new Error((_0x3def13=_0x3388d5[_0x1563d9(0x37a)])!=null?_0x3def13:_0x1563d9(0x358));this[_0x1563d9(0x3d6)](_0x44da09),this['_transformStateCache'](_0x44da09),this['_transformUndoredo'](_0x3e1cb2),this[_0x1563d9(0x3e2)](_0x44da09),this[_0x1563d9(0x17a)](_0x44da09),this['_incrementRevisionNumber']();}}let Pe=class extends be{constructor(_0x5c1c6b,_0x28cd32,_0x348bdc,_0x478dd0,_0x133a40,_0x230e2d,_0x46fc79,_0x2820e9,_0x5b1a3f,_0x5742fb){var _0xab5db8=_0x34d539;super(_0x5c1c6b,_0x28cd32,null,[],_0x348bdc,_0x46fc79,_0x230e2d,_0x478dd0,_0x5742fb),D(this,_0xab5db8(0x19e),_0xab5db8(0x399)),(this[_0xab5db8(0x267)]=_0x133a40,this[_0xab5db8(0x3d3)]=_0x2820e9,this[_0xab5db8(0x376)]=_0x5b1a3f,this[_0xab5db8(0x222)]=_0x5742fb);}[_0x34d539(0x271)](_0x58e882){var _0x27bec4=_0x34d539;const _0x46c898=this[_0x27bec4(0x267)][_0x27bec4(0x279)](re,this[_0x27bec4(0xfa)],this[_0x27bec4(0x13b)],[_0x58e882],this[_0x27bec4(0x1ee)]);return _0x46c898[_0x27bec4(0x245)](),_0x46c898[_0x27bec4(0x2cf)](),_0x46c898;}[_0x34d539(0x3fc)](_0x18042e){var _0x40e946=_0x34d539;if(this[_0x40e946(0x110)](_0x18042e))return this['_injector']['createInstance'](te,this[_0x40e946(0xfa)],this['type'],null,[],null,[_0x18042e],this[_0x40e946(0x1ee)]);try{const _0x289098=this[_0x40e946(0x376)][_0x40e946(0x1b4)](_0x18042e,[Is]);if(_0x98a3a(_0x289098)){const {c1Prime:_0x94b88e}=_0x289098;return this['_executeRemoteChangeset'](_0x94b88e),this;}throw _0x289098[_0x40e946(0x37a)];}catch(_0x577c84){return this[_0x40e946(0x3d3)][_0x40e946(0x37a)](_0x577c84),this[_0x40e946(0x3bc)](!0x1);}}[_0x34d539(0x3bc)](_0x1515ca){var _0x22616a=_0x34d539;return this[_0x22616a(0x267)][_0x22616a(0x279)](de,this[_0x22616a(0xfa)],this['type'],null,[],this['_handler'],_0x1515ca);}[_0x34d539(0x379)](){var _0x83095a=_0x34d539;throw new Error(_0x83095a(0x1d4));}[_0x34d539(0x378)](){var _0x4ddcf3=_0x34d539;throw new Error(_0x4ddcf3(0x281));}[_0x34d539(0x327)](){return this;}['toggleOffline'](){var _0x18ebf6=_0x34d539;return this[_0x18ebf6(0x267)]['createInstance'](fe,this[_0x18ebf6(0xfa)],this[_0x18ebf6(0x13b)],null,[],this[_0x18ebf6(0x1ee)]);}[_0x34d539(0x11c)](){return this;}[_0x34d539(0x2e1)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x34d539(0x298)](){var _0x3ab6c6=_0x34d539;const _0x4e45e1=this[_0x3ab6c6(0x149)][_0x3ab6c6(0x12f)](this['unitID']);return this['_handler'][_0x3ab6c6(0x347)]({'from':_0x4e45e1,'to':0x0}),this[_0x3ab6c6(0x267)]['createInstance'](te,this[_0x3ab6c6(0xfa)],this[_0x3ab6c6(0x13b)],null,[],null,[],this['_handler']);}};Pe=Ce([A(0x3,_0x36ffd1(_0x536e31)),A(0x4,_0x36ffd1(_0xb63fc9)),A(0x5,_0x45aef5),A(0x6,_0x267c35),A(0x7,_0x1141f5),A(0x8,_0x376269),A(0x9,_0x2a417f(X))],Pe);let re=class extends be{constructor(_0x25ac6b,_0x1da464,_0x4d2cdb,_0x325f79,_0x2f79f4,_0x5560d0,_0x2860c2,_0xc546c2,_0x24f2bd,_0x93d572,_0x2507cf,_0x4190d2,_0x31d893,_0x3c5167){var _0x23d62a=_0x34d539;super(_0x25ac6b,_0x1da464,null,_0x4d2cdb,_0x325f79,_0x24f2bd,_0x31d893,_0x5560d0,_0x3c5167),D(this,_0x23d62a(0x19e),'pending'),D(this,_0x23d62a(0x268),null),D(this,'_sendingTimer',null),(this[_0x23d62a(0x267)]=_0x2f79f4,this[_0x23d62a(0x32d)]=_0x2860c2,this['_logService']=_0xc546c2,this[_0x23d62a(0x256)]=_0x93d572,this[_0x23d62a(0x376)]=_0x2507cf,this[_0x23d62a(0x323)]=_0x4190d2);}[_0x34d539(0x271)](_0x4cf384){var _0x18473c=_0x34d539;return this['_pendingMutations'][_0x18473c(0x127)](_0x4cf384),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1a9a7e){var _0x5f4877=_0x34d539;if(this[_0x5f4877(0x110)](_0x1a9a7e))return this[_0x5f4877(0x3c3)](),this['_injector'][_0x5f4877(0x279)](te,this[_0x5f4877(0xfa)],this[_0x5f4877(0x13b)],null,this[_0x5f4877(0x1bb)],null,[_0x1a9a7e],this['_handler']);try{const _0x2ada93=this[_0x5f4877(0x376)][_0x5f4877(0x1b4)](_0x1a9a7e,this['_pendingMutations']);if(_0x98a3a(_0x2ada93)){const {c1Prime:_0xd3ada1,m2Prime:_0x3dacb9}=_0x2ada93;this[_0x5f4877(0x2ef)](_0xd3ada1);const _0x5616f4=this['_injector'][_0x5f4877(0x279)](re,this['unitID'],this[_0x5f4877(0x13b)],_0x3dacb9,this[_0x5f4877(0x1ee)]);return this[_0x5f4877(0x3c3)](),_0x5616f4[_0x5f4877(0x245)](this[_0x5f4877(0x268)]?Math[_0x5f4877(0x246)](0x0,new Date()['getTime']()-this[_0x5f4877(0x268)]):this[_0x5f4877(0x3cf)]()),_0x5616f4;}throw _0x2ada93[_0x5f4877(0x37a)];}catch(_0x3d4df7){return this[_0x5f4877(0x3d3)][_0x5f4877(0x37a)](_0x3d4df7),this[_0x5f4877(0x3bc)](!0x1);}}[_0x34d539(0x379)](){var _0x13f966=_0x34d539;throw new Error(_0x13f966(0x1d5));}[_0x34d539(0x378)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x34d539(0x327)](){return this;}[_0x34d539(0x1f2)](){var _0x2d5f9f=_0x34d539;return this[_0x2d5f9f(0x3c3)](),this[_0x2d5f9f(0x267)][_0x2d5f9f(0x279)](fe,this[_0x2d5f9f(0xfa)],this['type'],null,this[_0x2d5f9f(0x1bb)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x302d9f){var _0x11e1ec=_0x34d539;const _0x463a7c=_0x302d9f!=null?_0x302d9f:this[_0x11e1ec(0x3cf)]();this[_0x11e1ec(0x268)]=new Date()[_0x11e1ec(0x226)](),this[_0x11e1ec(0x133)]=setTimeout(()=>{var _0x2c2df9=_0x11e1ec;this[_0x2c2df9(0x3c3)]();let _0x5d2f4e=null;switch(this[_0x2c2df9(0x13b)]){case Q[_0x2c2df9(0x3d5)]:{_0x5d2f4e=Jt(this[_0x2c2df9(0x1bb)],this[_0x2c2df9(0xfa)],this[_0x2c2df9(0x323)],this[_0x2c2df9(0x149)],this[_0x2c2df9(0x32d)]);break;}case Q[_0x2c2df9(0x14a)]:{this['_pendingMutations'][_0x2c2df9(0x307)](_0xb0a4a5=>_0xb0a4a5['id']===_0x1c15a5['id'])?_0x5d2f4e=Es(this['_pendingMutations'],this[_0x2c2df9(0xfa)],this[_0x2c2df9(0x323)],this['_revisionService'],this[_0x2c2df9(0x32d)]):_0x5d2f4e=Jt(this[_0x2c2df9(0x1bb)],this[_0x2c2df9(0xfa)],this[_0x2c2df9(0x323)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x2c2df9(0x169)+this[_0x2c2df9(0x13b)]+_0x2c2df9(0x17e));}const {changeset:_0x2f9f25,pendingMutations:_0x35a482}=_0x5d2f4e;this['_handler'][_0x2c2df9(0x181)](_0x2f9f25);const _0x5b3126=_0x35a482[_0x2c2df9(0x193)]?this[_0x2c2df9(0x267)][_0x2c2df9(0x279)](oe,this['unitID'],this['type'],_0x2f9f25,_0x35a482,this[_0x2c2df9(0x1ee)],void 0x0):this[_0x2c2df9(0x267)][_0x2c2df9(0x279)](ue,this[_0x2c2df9(0xfa)],this[_0x2c2df9(0x13b)],_0x2f9f25,this[_0x2c2df9(0x1ee)]);_0x5b3126['_updateLocalCache'](),this[_0x2c2df9(0x1ee)][_0x2c2df9(0x151)](this,_0x5b3126);},_0x463a7c);}[_0x34d539(0x3cf)](){var _0x49ef85=_0x34d539,_0x66cf54;const _0x473d60=this['_configService'][_0x49ef85(0x3e5)](Y);return(_0x66cf54=_0x473d60==null?void 0x0:_0x473d60[_0x49ef85(0x1c9)])!=null?_0x66cf54:wn;}[_0x34d539(0x2e1)](){var _0x228a05=_0x34d539;throw new Error(_0x228a05(0x2b8));}[_0x34d539(0x3c3)](){var _0x46ca24=_0x34d539;this[_0x46ca24(0x133)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x46ca24(0x133)]=null);}['_onConflict'](_0x93327){var _0x4e1303=_0x34d539;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x4e1303(0xfa)],this[_0x4e1303(0x13b)],null,this[_0x4e1303(0x1bb)],this[_0x4e1303(0x1ee)],_0x93327);}};re=Ce([A(0x4,_0x36ffd1(_0xb63fc9)),A(0x5,_0x36ffd1(_0x536e31)),A(0x6,_0x36ffd1(Le)),A(0x7,_0x1141f5),A(0x8,_0x267c35),A(0x9,_0x3c1aae),A(0xa,_0x376269),A(0xb,_0x21b5bb),A(0xc,_0x45aef5),A(0xd,_0x2a417f(X))],re);let ue=class extends be{constructor(_0x13e259,_0x58ffbd,_0x3d33d4,_0x57c5e5,_0x57914c,_0x4dca5f,_0x35b9bd,_0x5bd5dd,_0xb06ed,_0x3da3b1,_0xbc74a4){var _0x4d4c10=_0x34d539;super(_0x13e259,_0x58ffbd,_0x3d33d4,[],_0x57c5e5,_0x35b9bd,_0x3da3b1,_0x4dca5f,_0xbc74a4),D(this,_0x4d4c10(0x19e),'awaiting'),D(this,_0x4d4c10(0x374),0x0),D(this,'_resendTimer'),D(this,_0x4d4c10(0x171)),(this[_0x4d4c10(0x267)]=_0x57914c,this['_logService']=_0x5bd5dd,this[_0x4d4c10(0x376)]=_0xb06ed);}['appendMutation'](_0x185c79){var _0x2a592c=_0x34d539;this[_0x2a592c(0x3c3)]();const _0x10c090=this[_0x2a592c(0x267)]['createInstance'](oe,this[_0x2a592c(0xfa)],this[_0x2a592c(0x13b)],this[_0x2a592c(0x18a)],[_0x185c79],this[_0x2a592c(0x1ee)],this[_0x2a592c(0x160)]);return _0x10c090[_0x2a592c(0x2cf)](),_0x10c090;}[_0x34d539(0x3fc)](_0x3099fa){var _0x244491=_0x34d539;if(this[_0x244491(0x110)](_0x3099fa))return this[_0x244491(0x3c3)](),this[_0x244491(0x267)][_0x244491(0x279)](te,this['unitID'],this[_0x244491(0x13b)],this[_0x244491(0x18a)],[],null,[_0x3099fa],this['_handler']);try{const _0x41fd94=this[_0x244491(0x376)][_0x244491(0x2a8)]([_0x3099fa],[this[_0x244491(0x18a)]],!0x1);if(_0x2bcf7a(_0x41fd94)){const {c1Prime:_0x5f0aef,c2Prime:_0xd3c40b}=_0x41fd94;this[_0x244491(0x2ef)](_0x5f0aef[0x0]),_0xd3c40b[0x0][_0x244491(0x14d)]=this[_0x244491(0x377)](),this['_clearScheduledTask']();const _0x249bc7=this[_0x244491(0x267)]['createInstance'](ue,this[_0x244491(0xfa)],this[_0x244491(0x13b)],_0xd3c40b[0x0],this['_handler']);return _0x249bc7[_0x244491(0x2cf)](),_0x249bc7;}return this[_0x244491(0x3bc)](!0x1);}catch(_0x2e1e5a){return this[_0x244491(0x3d3)][_0x244491(0x37a)](_0x2e1e5a),this[_0x244491(0x3bc)](!0x1);}}['onRemoteAck'](_0x29c854){var _0x23f712=_0x34d539;this[_0x23f712(0x3c3)]();const _0x4c4323=this[_0x23f712(0x149)][_0x23f712(0x12f)](this['unitID']);if(_0x29c854[_0x23f712(0x1ef)]<_0x4c4323-0x1)return this;if(this[_0x23f712(0x110)](_0x29c854))return this[_0x23f712(0x267)][_0x23f712(0x279)](te,this[_0x23f712(0xfa)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x23f712(0x1ee)]);this[_0x23f712(0x315)]();const _0x2c6f85=this[_0x23f712(0x267)][_0x23f712(0x279)](Pe,this['unitID'],this[_0x23f712(0x13b)],this['_handler']);return _0x2c6f85['_updateLocalCache'](),_0x2c6f85;}[_0x34d539(0x378)](_0x930936){var _0x1eb6d5=_0x34d539;return this[_0x1eb6d5(0x3bc)](!!(_0x930936!=null&&_0x930936[_0x1eb6d5(0x3e7)]));}['onRemoteRetry'](_0x2f95e0){var _0x12bcd4=_0x34d539;return this[_0x12bcd4(0x374)]>Pi?this['toggleOffline']():(this[_0x12bcd4(0x160)]=yi(this[_0x12bcd4(0x374)],{'timeout':this['_resendTimeout'],'reqId':_0x2f95e0[_0x12bcd4(0x150)]}),this['_sender']=this['_resendTimer'][_0x12bcd4(0x3c0)](({reqId:_0xb411d4,timeout:_0x5b6235})=>{var _0x5ee785=_0x12bcd4;this[_0x5ee785(0x214)](_0xb411d4,_0x5b6235);}),this);}[_0x34d539(0x1f2)](){var _0x4c6fd=_0x34d539;return this[_0x4c6fd(0x3c3)](),this[_0x4c6fd(0x267)]['createInstance'](fe,this['unitID'],this[_0x4c6fd(0x13b)],this[_0x4c6fd(0x18a)],[],this[_0x4c6fd(0x1ee)]);}[_0x34d539(0x11c)](){return this;}[_0x34d539(0x2e1)](){var _0x2e73a4=_0x34d539;this[_0x2e73a4(0x1ee)]['onSendChangeset'](this[_0x2e73a4(0x18a)]);}[_0x34d539(0x3bc)](_0x413148){var _0xd2d6b=_0x34d539;return this[_0xd2d6b(0x3c3)](),this[_0xd2d6b(0x267)][_0xd2d6b(0x279)](de,this[_0xd2d6b(0xfa)],this[_0xd2d6b(0x13b)],this[_0xd2d6b(0x18a)],[],this['_handler'],_0x413148);}[_0x34d539(0x214)](_0x5eb161,_0x5adc9b){var _0x56cf7a=_0x34d539,_0x572988;_0x5eb161===((_0x572988=this[_0x56cf7a(0x18a)])==null?void 0x0:_0x572988['reqId'])&&(this[_0x56cf7a(0x2e1)](),this[_0x56cf7a(0x374)]=_0x5adc9b===0x0?0x3e8:_0x5adc9b*0x2);}[_0x34d539(0x3c3)](){var _0x2ff7db=_0x34d539,_0x1a5517;(_0x1a5517=this[_0x2ff7db(0x171)])==null||_0x1a5517[_0x2ff7db(0x299)](),this['_resendTimeout']=0x0;}};ue=Ce([A(0x4,_0x36ffd1(_0xb63fc9)),A(0x5,_0x36ffd1(_0x536e31)),A(0x6,_0x267c35),A(0x7,_0x1141f5),A(0x8,_0x376269),A(0x9,_0x45aef5),A(0xa,_0x2a417f(X))],ue);let oe=class extends be{constructor(_0x131ff4,_0x39dc88,_0x4e7aa6,_0x22b458,_0x4f6463,_0x329402,_0x3fb09b,_0x2e5c63,_0xf00066,_0x617fb2,_0x15124b,_0x409b83,_0x2ef36e){var _0x490fe4=_0x34d539;super(_0x131ff4,_0x39dc88,_0x4e7aa6,_0x22b458,_0x4f6463,_0xf00066,_0x409b83,_0x2e5c63,_0x2ef36e),D(this,_0x490fe4(0x19e),_0x490fe4(0x398)),D(this,_0x490fe4(0x374),0x0),D(this,_0x490fe4(0x160)),D(this,_0x490fe4(0x171)),(this['_injector']=_0x3fb09b,this[_0x490fe4(0x3d3)]=_0x617fb2,this[_0x490fe4(0x376)]=_0x15124b,this[_0x490fe4(0x222)]=_0x2ef36e,_0x329402&&(this['_resendTimer']=_0x329402,this[_0x490fe4(0x171)]=this['_resendTimer'][_0x490fe4(0x3c0)](({reqId:_0x545771,timeout:_0xe97313})=>{var _0x506cf2=_0x490fe4;this[_0x506cf2(0x214)](_0x545771,_0xe97313);})));}[_0x34d539(0x271)](_0x3d485b){var _0x10f717=_0x34d539;return this[_0x10f717(0x1bb)][_0x10f717(0x127)](_0x3d485b),this;}[_0x34d539(0x3fc)](_0x5bcf00){var _0x585d82=_0x34d539;if(this['_checkMissing'](_0x5bcf00))return this[_0x585d82(0x3c3)](),this[_0x585d82(0x267)][_0x585d82(0x279)](te,this[_0x585d82(0xfa)],this[_0x585d82(0x13b)],this['_awaitingChangeset'],this[_0x585d82(0x1bb)],null,[_0x5bcf00],this['_handler']);try{const _0x546990=this[_0x585d82(0x376)]['transformChangesets']([_0x5bcf00],[this[_0x585d82(0x18a)]],!0x1);if(_0x2bcf7a(_0x546990)){const {c1Prime:_0x823568,c2Prime:_0x38e0c3}=_0x546990,_0x30eb52=this[_0x585d82(0x376)][_0x585d82(0x1b4)](_0x823568[0x0],this[_0x585d82(0x1bb)]);if(_0x98a3a(_0x30eb52)){const {c1Prime:_0xfffc4a,m2Prime:_0x195658}=_0x30eb52;return this[_0x585d82(0x2ef)](_0xfffc4a),_0x38e0c3[0x0][_0x585d82(0x14d)]=this['_getCurrentRevision'](),this[_0x585d82(0x3c3)](),this[_0x585d82(0x267)][_0x585d82(0x279)](oe,this[_0x585d82(0xfa)],this[_0x585d82(0x13b)],_0x38e0c3[0x0],_0x195658,this['_handler'],void 0x0);}throw _0x30eb52[_0x585d82(0x37a)];}throw _0x546990[_0x585d82(0x37a)];}catch(_0x4a0284){return this[_0x585d82(0x3d3)][_0x585d82(0x37a)](_0x4a0284),this[_0x585d82(0x3bc)](!0x1);}}[_0x34d539(0x379)](_0x148ec8){var _0x235d7f=_0x34d539;if(this['_clearScheduledTask'](),this[_0x235d7f(0x110)](_0x148ec8))return this[_0x235d7f(0x267)][_0x235d7f(0x279)](te,this[_0x235d7f(0xfa)],this['type'],null,this[_0x235d7f(0x1bb)],this[_0x235d7f(0x18a)],[],this[_0x235d7f(0x1ee)]);this[_0x235d7f(0x315)]();const _0x2a3b7f=this[_0x235d7f(0x267)][_0x235d7f(0x279)](re,this[_0x235d7f(0xfa)],this[_0x235d7f(0x13b)],this['_pendingMutations'],this[_0x235d7f(0x1ee)]);return _0x2a3b7f[_0x235d7f(0x245)](),_0x2a3b7f[_0x235d7f(0x2cf)](),_0x2a3b7f;}['onRemoteRej'](_0x456a61){var _0x5ea895=_0x34d539;return this['_onConflict'](!!(_0x456a61!=null&&_0x456a61[_0x5ea895(0x3e7)]));}['onRemoteRetry'](_0x32a499){var _0x372ae9=_0x34d539;return this['_resendTimeout']>Pi?this[_0x372ae9(0x1f2)]():(this[_0x372ae9(0x160)]=yi(this[_0x372ae9(0x374)],{'timeout':this[_0x372ae9(0x374)],'reqId':_0x32a499['reqId']}),this['_sender']=this[_0x372ae9(0x160)][_0x372ae9(0x3c0)](({reqId:_0x535ffb,timeout:_0x4309b8})=>{var _0x4b9d5b=_0x372ae9;this[_0x4b9d5b(0x214)](_0x535ffb,_0x4309b8);}),this);}[_0x34d539(0x1f2)](){var _0x1c9dcc=_0x34d539;return this[_0x1c9dcc(0x3c3)](),this[_0x1c9dcc(0x267)][_0x1c9dcc(0x279)](fe,this[_0x1c9dcc(0xfa)],this[_0x1c9dcc(0x13b)],this[_0x1c9dcc(0x18a)],this[_0x1c9dcc(0x1bb)],this[_0x1c9dcc(0x1ee)]);}[_0x34d539(0x11c)](){return this;}[_0x34d539(0x2e1)](){var _0x2f39b1=_0x34d539;this[_0x2f39b1(0x1ee)][_0x2f39b1(0x181)](this[_0x2f39b1(0x18a)]);}['_onConflict'](_0x3e2dac){var _0x39ed59=_0x34d539;return this[_0x39ed59(0x3c3)](),this[_0x39ed59(0x267)]['createInstance'](de,this['unitID'],this[_0x39ed59(0x13b)],null,this['_pendingMutations'],this[_0x39ed59(0x1ee)],_0x3e2dac);}['_resendWithTimeout'](_0x1fa044,_0x3fef10){var _0x45c7b7=_0x34d539,_0x1af816;_0x1fa044===((_0x1af816=this[_0x45c7b7(0x18a)])==null?void 0x0:_0x1af816[_0x45c7b7(0x150)])&&(this[_0x45c7b7(0x2e1)](),this[_0x45c7b7(0x374)]=_0x3fef10===0x0?0x3e8:_0x3fef10*0x2);}['_clearScheduledTask'](){var _0x17582a=_0x34d539,_0x14fc61;(_0x14fc61=this[_0x17582a(0x171)])==null||_0x14fc61['unsubscribe'](),this[_0x17582a(0x374)]=0x0;}};oe=Ce([A(0x6,_0x36ffd1(_0xb63fc9)),A(0x7,_0x36ffd1(_0x536e31)),A(0x8,_0x267c35),A(0x9,_0x1141f5),A(0xa,_0x376269),A(0xb,_0x45aef5),A(0xc,_0x2a417f(X))],oe);let de=class extends be{constructor(_0x86a191,_0xa6895d,_0x414d3e,_0x3d594b,_0x55b178,_0x4c8cfb=!0x1,_0xd10059,_0x1eb219,_0x5b9b6f,_0x424fb3,_0x30a908,_0x374f3a,_0x5c45a3){var _0xfdd2f4=_0x34d539;super(_0x86a191,_0xa6895d,_0x414d3e,_0x3d594b,_0x55b178,_0x1eb219,_0x5b9b6f,_0x424fb3,_0x5c45a3),D(this,'status',_0xfdd2f4(0x210)),(this[_0xfdd2f4(0x2c8)]=_0x4c8cfb,this[_0xfdd2f4(0x190)]=_0xd10059,this[_0xfdd2f4(0x1fb)]=_0x30a908,this[_0xfdd2f4(0x1a2)]=_0x374f3a,this[_0xfdd2f4(0x222)]=_0x5c45a3,this[_0xfdd2f4(0x118)](),this['_clearLocalCache'](),this[_0xfdd2f4(0x25a)]());}['appendMutation'](){return this;}[_0x34d539(0x3fc)](){return this;}['onRemoteAck'](){return this;}[_0x34d539(0x378)](){return this;}[_0x34d539(0x327)](){return this;}[_0x34d539(0x1f2)](){return this;}[_0x34d539(0x11c)](){return this;}[_0x34d539(0x2e1)](){var _0x2c61fb=_0x34d539;throw new Error(_0x2c61fb(0x294));}[_0x34d539(0x182)](){var _0x3867df=_0x34d539,_0x229150;(_0x229150=this[_0x3867df(0x2d7)])==null||_0x229150[_0x3867df(0x3a6)](this[_0x3867df(0xfa)],this[_0x3867df(0x13b)],null,[]);}[_0x34d539(0x118)](){var _0x165ac0=_0x34d539;this[_0x165ac0(0x2c8)]?this['_collaborationUIEventService'][_0x165ac0(0x140)]({'id':se[_0x165ac0(0x25c)]}):this[_0x165ac0(0x1a2)][_0x165ac0(0x140)]({'id':se[_0x165ac0(0x3a0)]});}[_0x34d539(0x25a)](){var _0x117bd8=_0x34d539;this[_0x117bd8(0x190)][_0x117bd8(0x29c)](new _0x4dbfb7(this[_0x117bd8(0xfa)])['id'],!0x1);}};de=Ce([A(0x6,_0x36ffd1(_0x89cb60)),A(0x7,_0x267c35),A(0x8,_0x45aef5),A(0x9,_0x36ffd1(_0x536e31)),A(0xa,_0x36ffd1(_0x770142)),A(0xb,_0x36ffd1(pe)),A(0xc,_0x2a417f(X))],de);let fe=class extends be{constructor(_0x56fcef,_0x30832e,_0xc40d9b,_0x2f6632,_0x1b3ce5,_0x1b4985,_0x2afbcc,_0x5b5726,_0x24a487,_0x574e10){var _0x160f26=_0x34d539;super(_0x56fcef,_0x30832e,_0xc40d9b,_0x2f6632,_0x1b3ce5,_0x5b5726,_0x24a487,_0x2afbcc,_0x574e10),D(this,_0x160f26(0x19e),_0x160f26(0x273)),this[_0x160f26(0x267)]=_0x1b4985;}[_0x34d539(0x271)](_0x56d77d){var _0xb12851=_0x34d539;return this[_0xb12851(0x1bb)][_0xb12851(0x127)](_0x56d77d),this[_0xb12851(0x2cf)](),this;}[_0x34d539(0x3fc)](_0x1a9504){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x34d539(0x379)](){var _0x1e7d59=_0x34d539;throw new Error(_0x1e7d59(0x209));}['onRemoteRej'](){var _0x308c78=_0x34d539;throw new Error(_0x308c78(0x375));}[_0x34d539(0x327)](){return this;}['toggleOffline'](){return this;}[_0x34d539(0x11c)](){var _0x4049fc=_0x34d539;const {_injector:_0x2ac36e,_pendingMutations:_0x919f8e,_awaitingChangeset:_0xb46666,unitID:_0x53bd14,_handler:_0x530876,type:_0x11f63c}=this,_0x30f737=Ni(_0x2ac36e,_0x53bd14,_0x11f63c,_0xb46666,_0x919f8e,_0x530876);return _0x30f737 instanceof re?_0x30f737['_schedule']():(_0x30f737 instanceof oe||_0x30f737 instanceof ue)&&_0x30f737[_0x4049fc(0x2e1)](),_0x30f737;}['resend'](){var _0x4019d2=_0x34d539;throw new Error(_0x4019d2(0x3a9));}};fe=Ce([A(0x5,_0x36ffd1(_0xb63fc9)),A(0x6,_0x36ffd1(_0x536e31)),A(0x7,_0x267c35),A(0x8,_0x45aef5),A(0x9,_0x2a417f(X))],fe);let te=class extends be{constructor(_0x3163fb,_0x577148,_0x43e2ad,_0x1eebc7,_0x5ad2b7,_0x18599b,_0x1b09d1,_0x311e8d,_0x518c83,_0x484315,_0x6224aa,_0x27f3fa,_0xeb3ba6,_0x36ff09){var _0x32e2e1=_0x34d539;super(_0x3163fb,_0x577148,_0x43e2ad,_0x1eebc7,_0x1b09d1,_0x6224aa,_0x27f3fa,_0x518c83,_0x36ff09),D(this,_0x32e2e1(0x19e),_0x32e2e1(0x180)),(this[_0x32e2e1(0x3ce)]=_0x5ad2b7,this[_0x32e2e1(0x2a9)]=_0x18599b,this[_0x32e2e1(0x267)]=_0x311e8d,this[_0x32e2e1(0x3d3)]=_0x484315,this[_0x32e2e1(0x376)]=_0xeb3ba6,this[_0x32e2e1(0x222)]=_0x36ff09);}[_0x34d539(0x208)](_0xc29bb1){var _0xeca404=_0x34d539;try{const _0x2ccf4e=[..._0xc29bb1,...this[_0xeca404(0x2a9)]],_0x30a264=[this['_awaitingChangeset']||this[_0xeca404(0x3ce)]][_0xeca404(0x321)](_0x1500cf=>!!_0x1500cf);let _0xad8eb2,_0x45da67;if(_0x30a264[_0xeca404(0x193)]){const _0x5d52fd=this[_0xeca404(0x376)][_0xeca404(0x2a8)](_0x2ccf4e,_0x30a264,!0x1);if(!_0x2bcf7a(_0x5d52fd))throw _0x5d52fd[_0xeca404(0x37a)];_0xad8eb2=_0x5d52fd[_0xeca404(0x370)],_0x45da67=_0x5d52fd[_0xeca404(0x22e)];}else _0xad8eb2=_0x2ccf4e,_0x45da67=[];let _0x342296=this[_0xeca404(0x1bb)];_0xad8eb2[_0xeca404(0x22a)](_0x8a2b17=>{var _0x3d9e68=_0xeca404;let _0x7ab7cd;if(_0x342296[_0x3d9e68(0x193)]){const _0x53e3ff=this[_0x3d9e68(0x376)]['transformMutationsWithChangeset'](_0x8a2b17,_0x342296);if(!_0x98a3a(_0x53e3ff))throw _0x53e3ff[_0x3d9e68(0x37a)];_0x7ab7cd=_0x53e3ff['c1Prime'],_0x342296=_0x53e3ff[_0x3d9e68(0x3d0)];}else _0x7ab7cd=_0x8a2b17;this[_0x3d9e68(0x2ef)](_0x7ab7cd);}),this[_0xeca404(0x3ce)]&&this[_0xeca404(0x315)](),this[_0xeca404(0x18a)]&&_0x45da67[_0xeca404(0x193)]&&(_0x45da67[0x0][_0xeca404(0x14d)]=this[_0xeca404(0x377)]());let _0x4f033b;if(this[_0xeca404(0x18a)]&&_0x342296[_0xeca404(0x193)]!==0x0)_0x4f033b=this[_0xeca404(0x267)][_0xeca404(0x279)](oe,this['unitID'],this[_0xeca404(0x13b)],_0x45da67[0x0],_0x342296,this[_0xeca404(0x1ee)],void 0x0);else{if(this[_0xeca404(0x18a)]&&_0x342296['length']===0x0)_0x45da67[0x0]['baseRev']=this[_0xeca404(0x377)](),_0x4f033b=this[_0xeca404(0x267)]['createInstance'](ue,this[_0xeca404(0xfa)],this[_0xeca404(0x13b)],_0x45da67[0x0],this[_0xeca404(0x1ee)]);else{if(_0x342296[_0xeca404(0x193)]!==0x0){const _0x3c900e=this[_0xeca404(0x267)]['createInstance'](re,this[_0xeca404(0xfa)],this[_0xeca404(0x13b)],_0x342296,this[_0xeca404(0x1ee)]);_0x3c900e[_0xeca404(0x245)](),_0x4f033b=_0x3c900e;}else _0x4f033b=this[_0xeca404(0x267)]['createInstance'](Pe,this[_0xeca404(0xfa)],this['type'],this[_0xeca404(0x1ee)]);}}return _0x4f033b['_updateLocalCache'](),_0x4f033b;}catch(_0x156ff6){return this[_0xeca404(0x3d3)][_0xeca404(0x37a)](_0xeca404(0x351),_0xeca404(0x224),_0x156ff6),this[_0xeca404(0x267)][_0xeca404(0x279)](de,this[_0xeca404(0xfa)],this[_0xeca404(0x13b)],this[_0xeca404(0x18a)],this['_pendingMutations'],this[_0xeca404(0x1ee)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x34009e){var _0x4f2353=_0x34d539;return this[_0x4f2353(0x1bb)][_0x4f2353(0x127)](_0x34009e),this;}['onRemoteChangeset'](_0x483e55){var _0xd396d=_0x34d539;return this[_0xd396d(0x2a9)][_0xd396d(0x127)](_0x483e55),this;}[_0x34d539(0x379)](_0x497d58){var _0x537a45=_0x34d539;if(this[_0x537a45(0x18a)])return this[_0x537a45(0x3ce)]=this[_0x537a45(0x18a)],this[_0x537a45(0x18a)]=null,this;throw new Error(_0x537a45(0x3c1));}[_0x34d539(0x378)](_0xac71b0){var _0x61075d=_0x34d539;return this['_onConflict'](!!(_0xac71b0!=null&&_0xac71b0[_0x61075d(0x3e7)]));}[_0x34d539(0x327)](){return this;}[_0x34d539(0x1f2)](){var _0x4900be=_0x34d539;return this['_injector']['createInstance'](fe,this[_0x4900be(0xfa)],this[_0x4900be(0x13b)],this[_0x4900be(0x18a)],this['_pendingMutations'],this[_0x4900be(0x1ee)]);}[_0x34d539(0x11c)](){return this;}[_0x34d539(0x3bc)](_0x2fa951){var _0x208558=_0x34d539;return this[_0x208558(0x267)][_0x208558(0x279)](de,this['unitID'],this[_0x208558(0x13b)],this[_0x208558(0x18a)],this[_0x208558(0x1bb)],this[_0x208558(0x1ee)],_0x2fa951);}};te=Ce([A(0x7,_0x36ffd1(_0xb63fc9)),A(0x8,_0x36ffd1(_0x536e31)),A(0x9,_0x1141f5),A(0xa,_0x267c35),A(0xb,_0x45aef5),A(0xc,_0x376269),A(0xd,_0x2a417f(X))],te);function Ni(_0x2b12a9,_0x7ac03b,_0x488e55,_0xcd793a,_0x21f47a,_0x17c3e1){var _0x1435a1=_0x34d539;return _0xcd793a&&_0x21f47a[_0x1435a1(0x193)]?_0x2b12a9[_0x1435a1(0x279)](oe,_0x7ac03b,_0x488e55,_0xcd793a,_0x21f47a,_0x17c3e1,void 0x0):_0xcd793a?_0x2b12a9[_0x1435a1(0x279)](ue,_0x7ac03b,_0x488e55,_0xcd793a,_0x17c3e1):_0x21f47a[_0x1435a1(0x193)]?_0x2b12a9[_0x1435a1(0x279)](re,_0x7ac03b,_0x488e55,_0x21f47a,_0x17c3e1):_0x2b12a9[_0x1435a1(0x279)](Pe,_0x7ac03b,_0x488e55,_0x17c3e1);}var bs=Object['defineProperty'],Rs=Object[_0x34d539(0x3a8)],Mt=(_0x110bb4,_0x4cd9e5,_0x248839,_0x20ba9b)=>{var _0x32b3cc=_0x34d539;for(var _0x4ad790=_0x20ba9b>0x1?void 0x0:_0x20ba9b?Rs(_0x4cd9e5,_0x248839):_0x4cd9e5,_0x304b86=_0x110bb4[_0x32b3cc(0x193)]-0x1,_0x4ed347;_0x304b86>=0x0;_0x304b86--)(_0x4ed347=_0x110bb4[_0x304b86])&&(_0x4ad790=(_0x20ba9b?_0x4ed347(_0x4cd9e5,_0x248839,_0x4ad790):_0x4ed347(_0x4ad790))||_0x4ad790);return _0x20ba9b&&_0x4ad790&&bs(_0x4cd9e5,_0x248839,_0x4ad790),_0x4ad790;},k=(_0x2b2ed9,_0x364ea0)=>(_0x4f234b,_0xcb0e67)=>_0x364ea0(_0x4f234b,_0xcb0e67,_0x2b2ed9);let st=class extends _0x280b11{constructor(_0x527613,_0x4a87c1,_0x37e5c7,_0x32bed9,_0x5b77b0,_0xb7ae74,_0x566c63,_0x233aca,_0x3ac9c9,_0x510d49,_0x559e9c,_0x3b0401,_0x228921){var _0x58a466=_0x34d539;super(),D(this,_0x58a466(0x3bd),new _0x367720(null)),D(this,'state$',this[_0x58a466(0x3bd)]['asObservable']()),D(this,_0x58a466(0x26f)),D(this,_0x58a466(0x1cc),!0x1),D(this,_0x58a466(0x3c4),''),D(this,_0x58a466(0x2cc),0x0),D(this,_0x58a466(0x18d),this[_0x58a466(0x3f7)][_0x58a466(0x3d2)](_0x5784df(_0x33a07e=>_0x33a07e?_0x33a07e[_0x58a466(0x19e)]:Oi[_0x58a466(0x2eb)]),_0x57b8e5(0x1))),D(this,_0x58a466(0x2e0),!0x1),D(this,_0x58a466(0x11d),[]),(this['unitID']=_0x527613,this[_0x58a466(0x332)]=_0x4a87c1,this[_0x58a466(0x3db)]=_0x37e5c7,this[_0x58a466(0x267)]=_0x32bed9,this['_compressMutationService']=_0x5b77b0,this[_0x58a466(0x1fb)]=_0xb7ae74,this[_0x58a466(0x149)]=_0x566c63,this[_0x58a466(0x1c8)]=_0x233aca,this[_0x58a466(0x3d3)]=_0x3ac9c9,this[_0x58a466(0x39c)]=_0x510d49,this[_0x58a466(0x190)]=_0x559e9c,this[_0x58a466(0x114)]=_0x3b0401,this['_localCacheService']=_0x228921);}get[_0x34d539(0x26c)](){return this['_state'];}async[_0x34d539(0x21b)](){var _0x528bf5=_0x34d539;if(this[_0x528bf5(0x26c)])throw new Error(_0x528bf5(0x15b));await this[_0x528bf5(0x39f)]();}[_0x34d539(0x23c)](){return this['_collaborationPaused']=!0x0,_0x141d1f(()=>{var _0x8e940a=_0x3b8e;this[_0x8e940a(0x1cc)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0xc0bd68){this['_onLocalMutation'](_0xc0bd68);}[_0x34d539(0x175)](_0x17e534){var _0x5ce65a=_0x34d539;this[_0x5ce65a(0x26f)]=_0x17e534,this[_0x5ce65a(0x3bd)]['next'](_0x17e534);}async['_init'](){var _0x38687c=_0x34d539,_0x4738b7;this[_0x38687c(0x175)](await this[_0x38687c(0x369)]()),this['_singleActiveUnitService']&&((_0x4738b7=this[_0x38687c(0x114)])==null||_0x4738b7[_0x38687c(0x1b3)](this[_0x38687c(0xfa)]),this[_0x38687c(0x1f9)](this[_0x38687c(0x114)]['getUnitStatus$'](this[_0x38687c(0xfa)])[_0x38687c(0x3c0)](_0xf5ddda=>{var _0xc85365=_0x38687c;this[_0xc85365(0x3d3)][_0xc85365(0x27b)]('[CollaborationEntity]',_0xc85365(0x1ec),_0xf5ddda),_0xf5ddda===Ri[_0xc85365(0x3c2)]?(this[_0xc85365(0x1c8)][_0xc85365(0x140)]({'id':se[_0xc85365(0x1d0)]}),this[_0xc85365(0x190)][_0xc85365(0x29c)](new _0x4dbfb7(this['unitID'])['id'],!0x1),this[_0xc85365(0x190)][_0xc85365(0x1e5)](!0x1)):(this['_permissionService'][_0xc85365(0x29c)](new _0x4dbfb7(this[_0xc85365(0xfa)])['id'],!0x0),this[_0xc85365(0x190)]['setShowComponents'](!0x0));})));let _0x4378c0=!0x1;return this[_0x38687c(0x1f9)](this[_0x38687c(0x332)][_0x38687c(0x33d)]['subscribe'](_0x45e5f5=>{var _0x4895e7=_0x38687c;_0x45e5f5===Ie[_0x4895e7(0x2e8)]?this[_0x4895e7(0x325)](_0x4378c0):_0x45e5f5===Ie['OFFLINE']&&(_0x4378c0=!0x0,this[_0x4895e7(0x1a5)]());})),this[_0x38687c(0x1f9)](this['session'][_0x38687c(0x31a)]['subscribe'](_0x16c212=>{var _0x5c8668=_0x38687c;try{switch(_0x16c212[_0x5c8668(0x319)]){case _0x12192b['NEW_CHANGESETS']:{this[_0x5c8668(0x13f)](_0x58a252(_0x16c212['data']));break;}case _0x12192b[_0x5c8668(0x1e2)]:{this[_0x5c8668(0x3ff)](_0x16c212['data']);break;}case _0x12192b[_0x5c8668(0x2d1)]:{this[_0x5c8668(0xff)]();break;}case _0x12192b['CHANGESET_SHOULD_RETRY']:{this[_0x5c8668(0x14c)](_0x16c212[_0x5c8668(0x265)]);break;}case _0x12192b['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x16c212[_0x5c8668(0x265)]['changesets'][_0x5c8668(0x202)](_0x1b588f=>_0x58a252(_0x1b588f)));break;}case _0x12192b[_0x5c8668(0x282)]:this[_0x5c8668(0xff)]({'isPermissionRej':!0x0});}}catch(_0x5dfcb9){throw console['error']('Error\x20on\x20receiving\x20event',_0x5dfcb9),_0x5dfcb9;}})),this[_0x38687c(0x26f)];}['_unlockTransition'](){var _0x2f3119=_0x34d539;this[_0x2f3119(0x2e0)]=!0x1;}[_0x34d539(0x143)](){var _0x3c8af8=_0x34d539;if(this[_0x3c8af8(0x2e0)])throw new Error(_0x3c8af8(0x1f6));this[_0x3c8af8(0x2e0)]=!0x0;}['_onLocalMutation'](_0x20562d){var _0x1d8609=_0x34d539;this['_lockTransition'](),this[_0x1d8609(0x175)](this['_state'][_0x1d8609(0x271)](_0x20562d)),this[_0x1d8609(0x2ab)]();}[_0x34d539(0x13f)](_0x2dfc89){var _0x254631=_0x34d539;if(!(_0x2dfc89[_0x254631(0x1ef)]<=this[_0x254631(0x149)][_0x254631(0x12f)](this[_0x254631(0xfa)]))){if(this[_0x254631(0x1cc)]){this[_0x254631(0x11d)]['push'](_0x2dfc89);return;}this[_0x254631(0x258)](_0x2dfc89);}}[_0x34d539(0x15d)](){var _0x1ca1b0=_0x34d539;this[_0x1ca1b0(0x11d)][_0x1ca1b0(0x22a)](_0x2a3def=>this[_0x1ca1b0(0x258)](_0x2a3def)),this[_0x1ca1b0(0x11d)]=[];}[_0x34d539(0x258)](_0x3e4fd1){var _0x5f0df0=_0x34d539;const _0x2a3f0d=this[_0x5f0df0(0x1ab)][_0x5f0df0(0x366)]['fetchThroughInterceptors'](this[_0x5f0df0(0x1ab)][_0x5f0df0(0x366)][_0x5f0df0(0x13a)]()[_0x5f0df0(0x2af)])(_0x3e4fd1[_0x5f0df0(0x38c)],null)||_0x3e4fd1[_0x5f0df0(0x38c)],_0x4e2ac6={..._0x3e4fd1,'mutations':_0x2a3f0d};this[_0x5f0df0(0x143)](),this[_0x5f0df0(0x175)](this[_0x5f0df0(0x26f)][_0x5f0df0(0x3fc)](_0x4e2ac6)),this[_0x5f0df0(0x2ab)]();}['_onRemoteACK'](_0x35a83e){var _0x403526=_0x34d539;this[_0x403526(0x143)](),this[_0x403526(0x175)](this['_state']['onRemoteAck'](_0x35a83e)),this[_0x403526(0x2ab)]();}[_0x34d539(0xff)](_0x69ed46){var _0x121627=_0x34d539;this[_0x121627(0x143)](),this['_updateState'](this['_state']['onRemoteRej'](_0x69ed46)),this['_unlockTransition']();}['_onRemoteRetry'](_0xe3fedd){var _0x26e648=_0x34d539;this[_0x26e648(0x143)](),this[_0x26e648(0x175)](this[_0x26e648(0x26f)][_0x26e648(0x327)](_0xe3fedd)),this[_0x26e648(0x2ab)]();}[_0x34d539(0x1af)](_0x34ca80){var _0x11aeba=_0x34d539;if(!(this[_0x11aeba(0x26f)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x444475=_0x34ca80[_0x11aeba(0x202)](_0x694aef=>{var _0x1f7811=_0x11aeba;const _0x2badab=this['_compressMutationService'][_0x1f7811(0x366)][_0x1f7811(0x15a)](this[_0x1f7811(0x1ab)][_0x1f7811(0x366)][_0x1f7811(0x13a)]()['COMPRESS_MUTATION_APPLY'])(_0x694aef[_0x1f7811(0x38c)],null)||_0x694aef[_0x1f7811(0x38c)];return{..._0x694aef,'mutations':_0x2badab};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x11aeba(0x208)](_0x444475)),this[_0x11aeba(0x2ab)]();}[_0x34d539(0x1a5)](){var _0x47d3d6=_0x34d539;this[_0x47d3d6(0x143)](),this[_0x47d3d6(0x175)](this[_0x47d3d6(0x26f)][_0x47d3d6(0x1f2)]()),this[_0x47d3d6(0x2ab)]();}['_toggleOnline'](_0x31ce75=!0x1){var _0x2c241a=_0x34d539;this[_0x2c241a(0x143)](),this[_0x2c241a(0x175)](this[_0x2c241a(0x26f)]['toggleOnline']()),this[_0x2c241a(0x2ab)]();const _0x3e4132=this['_state'];_0x31ce75&&_0x3e4132 instanceof Pe&&(this['_lockTransition'](),this[_0x2c241a(0x175)](_0x3e4132[_0x2c241a(0x298)]()),this['_unlockTransition']());}async[_0x34d539(0x369)](){return new Promise(_0x85b6a=>{var _0x2a9dc2=_0x3b8e;this['session'][_0x2a9dc2(0x33d)][_0x2a9dc2(0x3d2)](_0x42237e(0x1))[_0x2a9dc2(0x3c0)](async _0xce1bc=>{var _0x481458=_0x2a9dc2;_0x85b6a(await this[_0x481458(0x106)](_0xce1bc===Ie[_0x481458(0x2e8)]));});});}['_createHandler'](){var _0x2c4ca2=_0x34d539;const _0x5e4c10=this[_0x2c4ca2(0xfa)];return{'onStateChange':(_0x50dcfd,_0x114f8d)=>{var _0x4d8a6e=_0x2c4ca2;if(_0x50dcfd!==this[_0x4d8a6e(0x26f)])throw new Error(_0x4d8a6e(0x221)+_0x50dcfd['status']+_0x4d8a6e(0x37f)+_0x114f8d[_0x4d8a6e(0x19e)]+_0x4d8a6e(0x178)+this['_state'][_0x4d8a6e(0x19e)]);this['_updateState'](_0x114f8d);},'onSendChangeset':_0x197fff=>{var _0x2bfb69=_0x2c4ca2;_0x197fff['sid']||(_0x197fff[_0x2bfb69(0x34d)]=this[_0x2bfb69(0x3c4)],_0x197fff[_0x2bfb69(0x150)]=++this[_0x2bfb69(0x2cc)]);const _0x4b9c9d={'eventID':_0x12192b[_0x2bfb69(0x1ae)],'data':{'unitID':_0x197fff[_0x2bfb69(0xfa)],'unitType':this['_type'],'changeset':_0x197fff,'memberID':this[_0x2bfb69(0x332)][_0x2bfb69(0x19d)]()}};this[_0x2bfb69(0x332)][_0x2bfb69(0x23e)](_0x4b9c9d,this['unitID']);},'onMissingChangesets':({from:_0x4f482e,to:_0x5a528a})=>{var _0x1e549b=_0x2c4ca2;this[_0x1e549b(0x3d3)][_0x1e549b(0x27b)](_0x1e549b(0x393),'fetching\x20missing\x20changesets\x20from\x20'+_0x4f482e+_0x1e549b(0x1d9)+_0x5a528a);const _0x31b7d3={'eventID':_0x12192b[_0x1e549b(0x2b5)],'data':{'unitID':_0x5e4c10,'unitType':this[_0x1e549b(0x3db)],'from':_0x4f482e,'to':_0x5a528a}};this[_0x1e549b(0x332)][_0x1e549b(0x23e)](_0x31b7d3,this[_0x1e549b(0xfa)]);}};}async['_createInitialStateImpl'](_0x960cc2){var _0x43e2ca=_0x34d539,_0x4f957c,_0x385696,_0x486dbc;const _0x431c58=await((_0x4f957c=this[_0x43e2ca(0x2d7)])==null?void 0x0:_0x4f957c[_0x43e2ca(0x252)](this[_0x43e2ca(0xfa)])),_0x186a9e=(_0x385696=_0x431c58==null?void 0x0:_0x431c58['mutations'])!=null?_0x385696:[],_0x42d8a2=(_0x486dbc=_0x431c58==null?void 0x0:_0x431c58['awaitingChangeset'])!=null?_0x486dbc:null,_0xbb4f37=!!(_0x42d8a2!=null&&_0x42d8a2[_0x43e2ca(0x34d)])&&!!(_0x42d8a2!=null&&_0x42d8a2[_0x43e2ca(0x150)]);this[_0x43e2ca(0x3c4)]=_0xbb4f37?_0x42d8a2[_0x43e2ca(0x34d)]:fs(),this['_changesetReqId']=_0xbb4f37?_0x42d8a2[_0x43e2ca(0x150)]:0x0;const _0x32be82=this[_0x43e2ca(0xfa)];try{this[_0x43e2ca(0x1c3)](_0x42d8a2,_0x186a9e);}catch(_0x1ddf2e){this[_0x43e2ca(0x3d3)][_0x43e2ca(0x37a)](_0x1ddf2e);}const _0x4f0051=this[_0x43e2ca(0x213)]();if(_0x960cc2){const _0x1c629e=Ni(this[_0x43e2ca(0x267)],_0x32be82,this[_0x43e2ca(0x3db)],_0x42d8a2,_0x186a9e,_0x4f0051);return _0x1c629e instanceof re?_0x1c629e[_0x43e2ca(0x245)]():(_0x1c629e instanceof oe||_0x1c629e instanceof ue)&&_0x1c629e[_0x43e2ca(0x2e1)](),_0x1c629e;}return this[_0x43e2ca(0x267)][_0x43e2ca(0x279)](fe,_0x32be82,this[_0x43e2ca(0x3db)],_0x42d8a2,_0x186a9e,_0x4f0051);}[_0x34d539(0x1c3)](_0x1cbe87,_0x10fd8b){var _0x18c0c9=_0x34d539,_0x529ed9,_0x43f718;const _0x2c68a9=this[_0x18c0c9(0x1ab)][_0x18c0c9(0x366)][_0x18c0c9(0x15a)](this['_compressMutationService'][_0x18c0c9(0x366)][_0x18c0c9(0x13a)]()[_0x18c0c9(0x2af)]);(_0x529ed9=_0x2c68a9((_0x1cbe87==null?void 0x0:_0x1cbe87[_0x18c0c9(0x38c)])||[],null))==null||_0x529ed9['forEach'](_0x3886c1=>this[_0x18c0c9(0x39c)][_0x18c0c9(0x2d5)](_0x3886c1['id'],_0x3886c1[_0x18c0c9(0x35f)])),(_0x43f718=_0x2c68a9(_0x10fd8b||[],null))==null||_0x43f718[_0x18c0c9(0x22a)](_0xdd1b21=>this[_0x18c0c9(0x39c)]['executeCommand'](_0xdd1b21['id'],_0xdd1b21[_0x18c0c9(0x35f)]));}};st=Mt([k(0x3,_0x36ffd1(_0xb63fc9)),k(0x4,_0x36ffd1(_0x58b364)),k(0x5,_0x36ffd1(_0x770142)),k(0x6,_0x36ffd1(_0x536e31)),k(0x7,_0x36ffd1(pe)),k(0x8,_0x1141f5),k(0x9,_0x267c35),k(0xa,_0x89cb60),k(0xb,_0x2a417f(_t)),k(0xc,_0x2a417f(X))],st);let Ct=class extends st{constructor(_0x2b9149,_0x293958,_0x448667,_0x315dcd,_0x587c03,_0x46d8c4,_0x468d0f,_0x32e7a6,_0x319276,_0x3e4c5a,_0x729555,_0x52bb6f,_0x3f4e7f){var _0x28b93d=_0x34d539;super(_0x2b9149,_0x448667,_0x293958,_0x315dcd,_0x587c03,_0x46d8c4,_0x468d0f,_0x32e7a6,_0x319276,_0x3e4c5a,_0x729555,_0x52bb6f,_0x3f4e7f),D(this,_0x28b93d(0x295),null),(this['unitID']=_0x2b9149,this[_0x28b93d(0x13b)]=_0x293958);}['addHandlerCallback'](_0xb5bc34){this['_handlerCallback']=_0xb5bc34;}[_0x34d539(0x3ab)](){var _0x3b9187=_0x34d539;this['_handlerCallback']=null,super[_0x3b9187(0x3ab)]();}['_createHandler'](){var _0x2f831d=_0x34d539;const _0x18d4e0=super[_0x2f831d(0x213)]();return _0x18d4e0[_0x2f831d(0x161)]=_0x55f826=>{var _0x1863fa=_0x2f831d,_0x175977,_0xd043a2;return(_0xd043a2=(_0x175977=this['_handlerCallback'])==null?void 0x0:_0x175977['onTransformIME'])==null?void 0x0:_0xd043a2[_0x1863fa(0x1b7)](_0x175977,_0x55f826);},_0x18d4e0[_0x2f831d(0x280)]=_0x1d3123=>{var _0x35f028=_0x2f831d,_0x375971,_0x3ac2c1;return(_0x3ac2c1=(_0x375971=this[_0x35f028(0x295)])==null?void 0x0:_0x375971[_0x35f028(0x280)])==null?void 0x0:_0x3ac2c1[_0x35f028(0x1b7)](_0x375971,_0x1d3123);},_0x18d4e0['onTransformSelections']=_0x414411=>{var _0x41d0fd=_0x2f831d,_0x2d62b8,_0x34dbbc;return(_0x34dbbc=(_0x2d62b8=this['_handlerCallback'])==null?void 0x0:_0x2d62b8[_0x41d0fd(0x243)])==null?void 0x0:_0x34dbbc['call'](_0x2d62b8,_0x414411);},_0x18d4e0[_0x2f831d(0x3a7)]=_0x4d0e34=>{var _0x32d598=_0x2f831d,_0x10d31a,_0x22ad23;return(_0x22ad23=(_0x10d31a=this[_0x32d598(0x295)])==null?void 0x0:_0x10d31a[_0x32d598(0x3a7)])==null?void 0x0:_0x22ad23[_0x32d598(0x1b7)](_0x10d31a,_0x4d0e34);},_0x18d4e0[_0x2f831d(0x1a6)]=_0xfcddf8=>{var _0x5c4265=_0x2f831d,_0x3ea737,_0x3f8795,_0x5464c0;if(!((_0x3ea737=this[_0x5c4265(0x295)])!=null&&_0x3ea737[_0x5c4265(0x1a6)]))throw new Error(_0x5c4265(0x344));return(_0x5464c0=(_0x3f8795=this[_0x5c4265(0x295)])==null?void 0x0:_0x3f8795[_0x5c4265(0x1a6)])==null?void 0x0:_0x5464c0[_0x5c4265(0x1b7)](_0x3f8795,_0xfcddf8);},_0x18d4e0[_0x2f831d(0x26e)]=_0x36fbc7=>{var _0x2684d7=_0x2f831d,_0x4e1b58,_0x21dc75,_0x13a8b4;if(!((_0x4e1b58=this['_handlerCallback'])!=null&&_0x4e1b58[_0x2684d7(0x26e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x13a8b4=(_0x21dc75=this['_handlerCallback'])==null?void 0x0:_0x21dc75['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x13a8b4[_0x2684d7(0x1b7)](_0x21dc75,_0x36fbc7);},_0x18d4e0;}async[_0x34d539(0x39f)](){var _0x3b7316=_0x34d539;const _0x2ed21f=await super[_0x3b7316(0x39f)]();return this[_0x3b7316(0x1f9)](this[_0x3b7316(0x39c)]['onCommandExecuted']((_0x19d2dd,_0xc443f5)=>{var _0x50e000=_0x3b7316;if(_0x19d2dd[_0x50e000(0x13b)]!==_0x431021[_0x50e000(0x15c)]||_0xc443f5!=null&&_0xc443f5['fromCollab']||_0xc443f5!=null&&_0xc443f5['onlyLocal']||_0x19d2dd['id']===_0x1c15a5['id'])return;const _0x2aa865=_0x19d2dd[_0x50e000(0x35f)];if((_0x2aa865==null?void 0x0:_0x2aa865[_0x50e000(0x194)])!==this[_0x50e000(0xfa)])return;const _0x4f2cd0=_0x19d2dd,_0x95f550=this['_compressMutationService'][_0x50e000(0x366)][_0x50e000(0x15a)](this[_0x50e000(0x1ab)]['interceptor'][_0x50e000(0x13a)]()[_0x50e000(0x3b1)])([_0x4f2cd0],null)||[_0x4f2cd0];this['_onLocalMutation'](_0x95f550[0x0]);})),_0x2ed21f;}};Ct=Mt([k(0x3,_0x36ffd1(_0xb63fc9)),k(0x4,_0x36ffd1(_0x58b364)),k(0x5,_0x36ffd1(_0x770142)),k(0x6,_0x36ffd1(_0x536e31)),k(0x7,_0x36ffd1(pe)),k(0x8,_0x1141f5),k(0x9,_0x267c35),k(0xa,_0x89cb60),k(0xb,_0x2a417f(_t)),k(0xc,_0x2a417f(X))],Ct);let bt=class extends st{constructor(_0x52abb9,_0xbe748f,_0x1a53e,_0x23c0ec,_0x49879c,_0x3e601d,_0x443e71,_0x512943,_0x296a33,_0x3ce63f,_0x297115,_0x49dfcd,_0x23fef5,_0x19a5bd){var _0x499a46=_0x34d539;super(_0x52abb9,_0x1a53e,_0xbe748f,_0x23c0ec,_0x49879c,_0x3e601d,_0x443e71,_0x296a33,_0x3ce63f,_0x297115,_0x49dfcd,_0x23fef5,_0x19a5bd),this['unitID']=_0x52abb9,this[_0x499a46(0x13b)]=_0xbe748f,this[_0x499a46(0x2aa)]=_0x512943;}[_0x34d539(0x213)](){var _0x5a1f8c=_0x34d539;const _0x307be8=super['_createHandler']();return _0x307be8[_0x5a1f8c(0x243)]=_0xb6a6c9=>this['_sheetTransformSelectionsService'][_0x5a1f8c(0x400)](_0xb6a6c9),_0x307be8;}async[_0x34d539(0x39f)](){var _0x316218=_0x34d539;const _0xb6af31=await super[_0x316218(0x39f)]();return this[_0x316218(0x1f9)](this['_commandService'][_0x316218(0x131)]((_0x3befd0,_0x5e7399)=>{var _0x5478c4=_0x316218;if(_0x3befd0[_0x5478c4(0x13b)]!==_0x431021[_0x5478c4(0x15c)]||_0x5e7399!=null&&_0x5e7399[_0x5478c4(0xf5)]||_0x5e7399!=null&&_0x5e7399[_0x5478c4(0x12b)])return;const _0xf452cc=_0x3befd0['params'];if((_0xf452cc==null?void 0x0:_0xf452cc[_0x5478c4(0x194)])!==this['unitID'])return;const _0x1f1f08=_0x3befd0,_0x1ea42d=this[_0x5478c4(0x1ab)]['interceptor'][_0x5478c4(0x15a)](this['_compressMutationService'][_0x5478c4(0x366)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x1f1f08],null)||[_0x1f1f08];this[_0x5478c4(0x223)](_0x1ea42d[0x0]);})),_0xb6af31;}};bt=Mt([k(0x3,_0x36ffd1(_0xb63fc9)),k(0x4,_0x36ffd1(_0x58b364)),k(0x5,_0x36ffd1(_0x770142)),k(0x6,_0x36ffd1(_0x536e31)),k(0x7,_0x36ffd1(nt)),k(0x8,_0x36ffd1(pe)),k(0x9,_0x1141f5),k(0xa,_0x267c35),k(0xb,_0x89cb60),k(0xc,_0x2a417f(_t)),k(0xd,_0x2a417f(X))],bt);var ys=Object[_0x34d539(0x257)],Os=Object['getOwnPropertyDescriptor'],Ps=(_0x4f1c82,_0x9717f4,_0x174c75,_0xfec43a)=>{var _0x397e9a=_0x34d539;for(var _0x4707eb=_0xfec43a>0x1?void 0x0:_0xfec43a?Os(_0x9717f4,_0x174c75):_0x9717f4,_0x8b2ba8=_0x4f1c82[_0x397e9a(0x193)]-0x1,_0x12acee;_0x8b2ba8>=0x0;_0x8b2ba8--)(_0x12acee=_0x4f1c82[_0x8b2ba8])&&(_0x4707eb=(_0xfec43a?_0x12acee(_0x9717f4,_0x174c75,_0x4707eb):_0x12acee(_0x4707eb))||_0x4707eb);return _0xfec43a&&_0x4707eb&&ys(_0x9717f4,_0x174c75,_0x4707eb),_0x4707eb;},vt=(_0xca46d5,_0x4f7252)=>(_0x40fa10,_0x570fef)=>_0x4f7252(_0x40fa10,_0x570fef,_0xca46d5);let rt=class extends _0x280b11{constructor(_0x17179c,_0xddc8c,_0x5bc847){var _0x40fdf4=_0x34d539;super(),D(this,_0x40fdf4(0x1e8),new Map()),D(this,'_entityInit$',new _0x11e05e()),D(this,'entityInit$',this[_0x40fdf4(0x2f7)][_0x40fdf4(0x2ec)]()),(this['_injector']=_0x17179c,this[_0x40fdf4(0x303)]=_0xddc8c,this['_univerInstanceService']=_0x5bc847,this[_0x40fdf4(0x39f)]());}[_0x34d539(0x3ab)](){var _0x5dd4a1=_0x34d539;super[_0x5dd4a1(0x3ab)](),this['_entities'][_0x5dd4a1(0x22a)](_0x185511=>_0x185511[_0x5dd4a1(0x3ab)]()),this[_0x5dd4a1(0x1e8)][_0x5dd4a1(0x10a)]();}['getCollabEntity'](_0x5cada5){var _0x1cf916=_0x34d539,_0x2bb418;return(_0x2bb418=this[_0x1cf916(0x1e8)][_0x1cf916(0x300)](_0x5cada5))!=null?_0x2bb418:null;}[_0x34d539(0x212)](_0xec35ab){var _0x568776=_0x34d539;const _0x2c81da=this[_0x568776(0x30f)](_0xec35ab);return _0x2c81da?_0x4dc5d8(_0x2c81da):this['_entityInit$'][_0x568776(0x3d2)](_0xd166ea(_0x387f38=>_0x387f38[_0x568776(0xfa)]===_0xec35ab));}[_0x34d539(0x2d0)](_0x4b9887){return _0x4d1bc7(this['getCollabEntity$'](_0x4b9887)['pipe'](_0x5b1134(()=>{})));}[_0x34d539(0x39f)](){var _0x278835=_0x34d539;this[_0x278835(0x323)]['getTypeOfUnitAdded$'](_0x4cef19[_0x278835(0x3d5)])[_0x278835(0x3d2)](_0xba5ffd(this['dispose$']),_0x3ebf49(0x10))[_0x278835(0x3c0)](async _0x2c440b=>{var _0xd3032b=_0x278835;const _0x276953=_0x2c440b[_0xd3032b(0x17b)](),_0x4cfe69=await this[_0xd3032b(0x21c)](_0x276953,Q[_0xd3032b(0x3d5)]);this[_0xd3032b(0x1e8)][_0xd3032b(0x35c)](_0x276953,_0x4cfe69);}),this['_univerInstanceService'][_0x278835(0x277)](_0x4cef19[_0x278835(0x14a)])['pipe'](_0xba5ffd(this[_0x278835(0x10c)]),_0x3ebf49(0x10))['pipe'](_0xd166ea(_0x2f3acc=>!_0x2f3acc[_0x278835(0x17b)]()[_0x278835(0x1c2)]('__')))[_0x278835(0x3c0)](async _0x28394a=>{var _0x4f5322=_0x278835;const _0x402198=_0x28394a[_0x4f5322(0x17b)](),_0x5df374=await this[_0x4f5322(0x21c)](_0x402198,Q[_0x4f5322(0x14a)]);this[_0x4f5322(0x1e8)][_0x4f5322(0x35c)](_0x402198,_0x5df374);}),_0x53e3df(this[_0x278835(0x323)][_0x278835(0x3bb)](_0x4cef19[_0x278835(0x3d5)]),this['_univerInstanceService'][_0x278835(0x3bb)](_0x4cef19[_0x278835(0x14a)]))['pipe'](_0xba5ffd(this[_0x278835(0x10c)]))['subscribe'](_0x486cf=>{var _0x127317=_0x278835;const _0x571017=_0x486cf[_0x127317(0x17b)](),_0x4af3ca=this[_0x127317(0x1e8)]['get'](_0x571017);_0x4af3ca&&(_0x4af3ca['dispose'](),this['_entities']['delete'](_0x571017));});}async[_0x34d539(0x21c)](_0x4dad54,_0x5c8c8c){var _0x393bd1=_0x34d539;const _0x22fa67=await this['_collabSessionService'][_0x393bd1(0x146)](_0x4dad54),_0xca3320=this[_0x393bd1(0x267)][_0x393bd1(0x279)](this[_0x393bd1(0x1cd)](_0x5c8c8c),_0x4dad54,_0x5c8c8c,_0x22fa67);return await _0xca3320[_0x393bd1(0x21b)](),this['_entityInit$'][_0x393bd1(0x24f)](_0xca3320),_0xca3320;}[_0x34d539(0x1cd)](_0x1e3c16){var _0x4a8e91=_0x34d539;switch(_0x1e3c16){case Q['UNIVER_DOC']:return Ct;case Q[_0x4a8e91(0x3d5)]:return bt;default:throw new Error(_0x4a8e91(0x1e0)+_0x1e3c16);}}};rt=Ps([vt(0x0,_0x36ffd1(_0xb63fc9)),vt(0x1,_0x36ffd1(Me)),vt(0x2,_0x21b5bb)],rt);var Ns=Object[_0x34d539(0x257)],Ds=Object[_0x34d539(0x3a8)],ws=(_0x292163,_0x3e099c,_0x40de5d,_0x567a3d)=>{var _0x690ecd=_0x34d539;for(var _0x3a697c=_0x567a3d>0x1?void 0x0:_0x567a3d?Ds(_0x3e099c,_0x40de5d):_0x3e099c,_0x5b62c1=_0x292163[_0x690ecd(0x193)]-0x1,_0x3ad157;_0x5b62c1>=0x0;_0x5b62c1--)(_0x3ad157=_0x292163[_0x5b62c1])&&(_0x3a697c=(_0x567a3d?_0x3ad157(_0x3e099c,_0x40de5d,_0x3a697c):_0x3ad157(_0x3a697c))||_0x3a697c);return _0x567a3d&&_0x3a697c&&Ns(_0x3e099c,_0x40de5d,_0x3a697c),_0x3a697c;},Xt=(_0x5a9b1f,_0x5055e2)=>(_0x1f2bd2,_0x7bcbb0)=>_0x5055e2(_0x1f2bd2,_0x7bcbb0,_0x5a9b1f);const Us='DEFAULT_FILE_NAME',As=_0x34d539(0x2c1);let Rt=class extends _0x2053e8{constructor(_0x1e5a01,_0x5ab97e){var _0x143636=_0x34d539;super(),this[_0x143636(0x323)]=_0x1e5a01,this[_0x143636(0x256)]=_0x5ab97e,this[_0x143636(0x39f)]();}[_0x34d539(0x39f)](){var _0x467648=_0x34d539;this[_0x467648(0x1f9)](this[_0x467648(0x323)]['focused$'][_0x467648(0x3c0)](()=>{var _0x2bdddc=_0x467648,_0x244b88;const _0x4f18d4=this[_0x2bdddc(0x323)][_0x2bdddc(0x342)]();let _0x3742c4=(_0x244b88=this[_0x2bdddc(0x256)][_0x2bdddc(0x3e5)](Us))!=null?_0x244b88:As;_0x4f18d4 instanceof _0x5ae8e6&&(_0x3742c4=_0x4f18d4[_0x2bdddc(0x38f)]),document[_0x2bdddc(0x261)]=_0x3742c4;}));}};Rt=ws([Xt(0x0,_0x21b5bb),Xt(0x1,_0x3c1aae)],Rt);var xs=Object[_0x34d539(0x257)],Ls=Object[_0x34d539(0x3a8)],Ms=(_0x339543,_0x58642d,_0x139066,_0x529070)=>{var _0x43fb64=_0x34d539;for(var _0x2408a5=_0x529070>0x1?void 0x0:_0x529070?Ls(_0x58642d,_0x139066):_0x58642d,_0xe8dc68=_0x339543[_0x43fb64(0x193)]-0x1,_0x15b9c1;_0xe8dc68>=0x0;_0xe8dc68--)(_0x15b9c1=_0x339543[_0xe8dc68])&&(_0x2408a5=(_0x529070?_0x15b9c1(_0x58642d,_0x139066,_0x2408a5):_0x15b9c1(_0x2408a5))||_0x2408a5);return _0x529070&&_0x2408a5&&xs(_0x58642d,_0x139066,_0x2408a5),_0x2408a5;},pt=(_0x3f5ff3,_0x2de095)=>(_0x1361c8,_0x3b5d6b)=>_0x2de095(_0x1361c8,_0x3b5d6b,_0x3f5ff3);let ot=class{constructor(_0x5d1e93,_0x2595c0,_0x130502){var _0x4eb182=_0x34d539;this[_0x4eb182(0x256)]=_0x5d1e93,this[_0x4eb182(0x3c6)]=_0x2595c0,this[_0x4eb182(0x338)]=_0x130502,this[_0x4eb182(0x21b)]();}[_0x34d539(0x21b)](){var _0x4be779=_0x34d539;this[_0x4be779(0x3c6)][_0x4be779(0x37e)]({'priority':0x1,'interceptor':(_0x176980,_0x327a6d)=>_0x327a6d(_0x176980)[_0x4be779(0x3d2)](_0x59b2a1(async _0xc11ddf=>{var _0x84e67f=_0x4be779;const _0x5ed50f=_0xc11ddf;if(_0x5ed50f[_0x84e67f(0x19e)]===0x191){if(typeof window>'u')throw new Error(_0x84e67f(0x1f7));if(window[_0x84e67f(0x1ad)](this[_0x84e67f(0x338)]['t'](_0x84e67f(0x3a4)))){const _0x2d5e18=window['encodeURIComponent'](window[_0x84e67f(0x25e)][_0x84e67f(0x100)]);window[_0x84e67f(0x25e)][_0x84e67f(0x100)]=this[_0x84e67f(0x1e6)]()+_0x84e67f(0x27f)+_0x2d5e18;}}return _0x5ed50f;}))});}[_0x34d539(0x1e6)](){var _0x4c46ed=_0x34d539,_0x336ad2,_0x163ab0;const _0x344103=this[_0x4c46ed(0x256)]['getConfig'](Fn),_0x242b6e=this[_0x4c46ed(0x256)][_0x4c46ed(0x3e5)](Y);return(_0x163ab0=(_0x336ad2=_0x242b6e==null?void 0x0:_0x242b6e[_0x4c46ed(0x2c3)])!=null?_0x336ad2:_0x344103)!=null?_0x163ab0:Vn;}};ot=Ms([pt(0x0,_0x3c1aae),pt(0x1,_0x36ffd1(_0x37d339)),pt(0x2,_0x36ffd1(_0x770142))],ot);var $s=Object[_0x34d539(0x257)],Hs=Object[_0x34d539(0x3a8)],ks=(_0x7b7603,_0x28036e,_0x2fb1d9,_0x46c9e0)=>{var _0x1446a2=_0x34d539;for(var _0x28805f=_0x46c9e0>0x1?void 0x0:_0x46c9e0?Hs(_0x28036e,_0x2fb1d9):_0x28036e,_0x2738c0=_0x7b7603[_0x1446a2(0x193)]-0x1,_0x42f89b;_0x2738c0>=0x0;_0x2738c0--)(_0x42f89b=_0x7b7603[_0x2738c0])&&(_0x28805f=(_0x46c9e0?_0x42f89b(_0x28036e,_0x2fb1d9,_0x28805f):_0x42f89b(_0x28805f))||_0x28805f);return _0x46c9e0&&_0x28805f&&$s(_0x28036e,_0x2fb1d9,_0x28805f),_0x28805f;},Zt=(_0x40e888,_0x45e8aa)=>(_0xc5140d,_0x5e38db)=>_0x45e8aa(_0xc5140d,_0x5e38db,_0x40e888);const Di=_0x34d539(0x217),js=_0x34d539(0x216);let yt=class extends _0x2053e8{constructor(_0x45624d,_0x5a0a88){var _0x2bd746=_0x34d539;super(),this[_0x2bd746(0x27c)]=_0x45624d,this['_configService']=_0x5a0a88,this[_0x2bd746(0x272)]();}[_0x34d539(0x272)](){var _0x1cdff2=_0x34d539;const _0x5f44d6=this;this[_0x1cdff2(0x1f9)](this[_0x1cdff2(0x27c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2d197f({'isMatch'(_0x1425ae){var _0x4a69e1=_0x1cdff2,_0x2b0be3;if(_0x1425ae[_0x4a69e1(0x1ac)]==='POST'&&((_0x2b0be3=_0x1425ae[_0x4a69e1(0x388)])!=null&&_0x2b0be3[_0x4a69e1(0x124)])){const {objectID:_0x82f5e0,objectType:_0x3bace8}=_0x1425ae['requestParams']['body']||{};if(!_0x82f5e0||_0x3bace8===void 0x0)return!0x1;const _0x2f346f=_0x5f44d6['_getAPIPrefixPath']()+'/'+_0x3bace8+'/object/'+_0x82f5e0+'/allowed';if(_0x1425ae[_0x4a69e1(0x207)]===_0x2f346f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x49a08a){var _0x5bcb0c=_0x1cdff2,_0x3288ef;return(_0x3288ef=_0x49a08a[_0x5bcb0c(0x388)])==null?void 0x0:_0x3288ef['body'];},'mergeParamsToRequest'(_0x117403,_0x5c673f){var _0x311598=_0x1cdff2;const _0x78e971=_0x5f44d6[_0x311598(0x2fb)]()+_0x311598(0x330),_0x3c9495=_0x117403[_0x311598(0x3da)]((_0x16b79f,_0x5b3eae)=>{var _0x1efc85=_0x311598;const {unitID:_0x248e7a,objectID:_0x42b940,objectType:_0x230414,actions:_0x468840}=_0x5b3eae;return _0x16b79f[_0x248e7a]||(_0x16b79f[_0x248e7a]={}),_0x16b79f[_0x248e7a][_0x42b940]||(_0x16b79f[_0x248e7a][_0x42b940]={'objectID':_0x42b940,'objectType':_0x230414,'actions':[]}),_0x16b79f[_0x248e7a][_0x42b940][_0x1efc85(0x3f2)][_0x1efc85(0x127)](..._0x468840),_0x16b79f;},{}),_0x38fbba=[];for(const _0x31a588 in _0x3c9495)for(const _0x3a5e08 in _0x3c9495[_0x31a588]){const {actions:_0x3a15ca,objectType:_0x1dd1d3}=_0x3c9495[_0x31a588][_0x3a5e08],_0xdb6d64=[...new Set(_0x3a15ca)];_0x38fbba[_0x311598(0x127)]({'unitID':_0x31a588,'objectID':_0x3a5e08,'objectType':_0x1dd1d3,'actions':_0xdb6d64});}return new _0xd58ab0(_0x311598(0x18e),_0x78e971,{'headers':_0x5c673f[_0x311598(0x2bc)],'withCredentials':_0x5c673f[_0x311598(0x125)],'responseType':_0x5c673f[_0x311598(0x3d9)],'body':{'requests':_0x38fbba}});}},{'distributeResult'(_0x3b1bfb,_0x384c29){const {objectActions:_0xdbb5a1}=_0x3b1bfb;return _0x384c29['map'](_0x43c3f6=>{var _0xea33e=_0x3b8e;const {unitID:_0x2944b6,objectID:_0x27debb,actions:_0xae351b}=_0x43c3f6,_0x4b6b2b=_0xdbb5a1[_0xea33e(0x1d7)](_0x2d9567=>_0x2d9567[_0xea33e(0xfa)]===_0x2944b6&&_0x2d9567[_0xea33e(0x395)]===_0x27debb),_0x5086dc=_0xae351b['map'](_0x1f6d97=>_0x4b6b2b==null?void 0x0:_0x4b6b2b[_0xea33e(0x3f2)][_0xea33e(0x1d7)](_0x511721=>_0x511721[_0xea33e(0x2ba)]===_0x1f6d97))['filter'](_0xf43bf4=>!!_0xf43bf4);return{'config':_0x43c3f6,'result':{'actions':_0x5086dc,'error':_0x3b1bfb['error']}};});}})}));}[_0x34d539(0x2fb)](){var _0x1e6469=_0x34d539,_0x3f68f0,_0x4d8d52;const _0xec33b5=this[_0x1e6469(0x256)]['getConfig'](Di),_0x131c37=this[_0x1e6469(0x256)][_0x1e6469(0x3e5)](Y);return(_0x4d8d52=(_0x3f68f0=_0x131c37==null?void 0x0:_0x131c37[_0x1e6469(0x153)])!=null?_0x3f68f0:_0xec33b5)!=null?_0x4d8d52:js;}async['create'](_0x1642f3){var _0x3abeb3=_0x34d539;const _0x22a005=this[_0x3abeb3(0x2fb)]()+'/'+_0x1642f3[_0x3abeb3(0x371)]+_0x3abeb3(0x3ae);return(await this[_0x3abeb3(0x27c)][_0x3abeb3(0x3f8)](_0x22a005,{'body':_0x1642f3}))[_0x3abeb3(0x124)][_0x3abeb3(0x395)]||'';}async[_0x34d539(0x204)](_0x3f9d1e){var _0x44b865=_0x34d539;const _0x4b203a=this[_0x44b865(0x2fb)]()+'/-/object/list';return(await this['_HTTPService'][_0x44b865(0x3f8)](_0x4b203a,{'body':_0x3f9d1e}))[_0x44b865(0x124)][_0x44b865(0x13c)];}async[_0x34d539(0x179)](_0x3ba670){var _0x16ddee=_0x34d539;const _0x42f46c=this['_getAPIPrefixPath']()+'/'+_0x3ba670[_0x16ddee(0x371)]+'/object/'+_0x3ba670[_0x16ddee(0x395)];await this[_0x16ddee(0x27c)][_0x16ddee(0x3d8)](_0x42f46c,{'body':_0x3ba670});}async[_0x34d539(0x34a)](_0x2bb7ab){var _0x2552f2=_0x34d539;const _0x17403c=this[_0x2552f2(0x2fb)]()+'/'+_0x2bb7ab[_0x2552f2(0x371)]+_0x2552f2(0x211)+_0x2bb7ab[_0x2552f2(0x395)]+_0x2552f2(0x107);return(await this[_0x2552f2(0x27c)][_0x2552f2(0x3f8)](_0x17403c,{'body':_0x2bb7ab}))[_0x2552f2(0x124)]['actions'];}async[_0x34d539(0x29a)](_0x1c8163){var _0x42076c=_0x34d539;const _0x4d1b58=this[_0x42076c(0x2fb)]()+_0x42076c(0x330);return(await this['_HTTPService'][_0x42076c(0x3f8)](_0x4d1b58,{'body':{'requests':_0x1c8163}}))[_0x42076c(0x124)][_0x42076c(0x22b)];}async[_0x34d539(0x244)](_0x3c9fa3){var _0x57a545=_0x34d539;const _0x3e7796=this['_getAPIPrefixPath']()+'/'+_0x3c9fa3['objectType']+'/role',_0x3a606f=await this[_0x57a545(0x27c)]['post'](_0x3e7796,{'body':_0x3c9fa3});return{'roles':_0x3a606f[_0x57a545(0x124)]['roles'],'actions':_0x3a606f[_0x57a545(0x124)][_0x57a545(0x3f2)]};}async[_0x34d539(0x22f)](_0x43e588){var _0x2c258a=_0x34d539;const _0x2d3463=this[_0x2c258a(0x2fb)]()+'/collaborator';await this[_0x2c258a(0x27c)]['delete'](_0x2d3463,{'params':{'collaboratorID':_0x43e588[_0x2c258a(0x33f)],'objectID':_0x43e588[_0x2c258a(0x395)],'unitID':_0x43e588['unitID']}});}async[_0x34d539(0x36f)](_0x174160){var _0x176d1a=_0x34d539;const _0x2ca40e=this[_0x176d1a(0x2fb)]()+_0x176d1a(0x2c5);await this[_0x176d1a(0x27c)]['patch'](_0x2ca40e,{'body':_0x174160});}async[_0x34d539(0x3b2)](_0x28c25e){const _0x4447ac=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['post'](_0x4447ac,{'body':_0x28c25e});}async[_0x34d539(0x249)](_0x2263d8){var _0x43d171=_0x34d539;const _0xd0cabf=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x43d171(0x27c)][_0x43d171(0x300)](_0xd0cabf,{'params':{'objectID':_0x2263d8[_0x43d171(0x395)],'unitID':_0x2263d8[_0x43d171(0xfa)]}}))[_0x43d171(0x124)][_0x43d171(0x1b9)];}async[_0x34d539(0x2e3)](_0x55f39e){var _0x1cc1f8=_0x34d539;const _0x4ce690=this[_0x1cc1f8(0x2fb)]()+'/collaborator';await this[_0x1cc1f8(0x27c)]['put'](_0x4ce690,{'body':_0x55f39e});}};yt=ks([Zt(0x0,_0x36ffd1(_0x37d339)),Zt(0x1,_0x36ffd1(_0x3c1aae))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0xf2c8a2){var _0xb6ed49=_0x34d539;return _0xf2c8a2&&_0xf2c8a2[_0xb6ed49(0x1ce)]&&Object['prototype'][_0xb6ed49(0x2d6)][_0xb6ed49(0x1b7)](_0xf2c8a2,'default')?_0xf2c8a2[_0xb6ed49(0x386)]:_0xf2c8a2;}var We={'exports':{}};function Bs(_0x2df033){var _0x13c7f0=_0x34d539;throw new Error(_0x13c7f0(0x1ba)+_0x2df033+_0x13c7f0(0x339));}var Ge={'exports':{}},Fs=Ge[_0x34d539(0x238)],Qt;function ne(){return Qt||(Qt=0x1,function(_0x34b1df,_0x228d45){(function(_0x4a47aa,_0x360275){var _0x25ac60=_0x3b8e;_0x34b1df[_0x25ac60(0x238)]=_0x360275();}(Fs,function(){var _0x151ef8=_0x151ef8||function(_0x1723ea,_0x435017){var _0x1b9473=_0x3b8e,_0x4bdf28;if(typeof window<'u'&&window[_0x1b9473(0x219)]&&(_0x4bdf28=window[_0x1b9473(0x219)]),typeof self<'u'&&self[_0x1b9473(0x219)]&&(_0x4bdf28=self[_0x1b9473(0x219)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4bdf28=globalThis[_0x1b9473(0x219)]),!_0x4bdf28&&typeof window<'u'&&window[_0x1b9473(0x402)]&&(_0x4bdf28=window[_0x1b9473(0x402)]),!_0x4bdf28&&typeof gt<'u'&>[_0x1b9473(0x219)]&&(_0x4bdf28=gt[_0x1b9473(0x219)]),!_0x4bdf28&&typeof Bs=='function')try{_0x4bdf28=require(_0x1b9473(0x219));}catch{}var _0x5cef9b=function(){var _0xeecb1d=_0x1b9473;if(_0x4bdf28){if(typeof _0x4bdf28[_0xeecb1d(0x1b8)]==_0xeecb1d(0x164))try{return _0x4bdf28[_0xeecb1d(0x1b8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4bdf28[_0xeecb1d(0x1f8)]=='function')try{return _0x4bdf28[_0xeecb1d(0x1f8)](0x4)[_0xeecb1d(0x205)]();}catch{}}throw new Error(_0xeecb1d(0x16a));},_0x1a9e03=Object[_0x1b9473(0x34f)]||(function(){function _0x3253f4(){}return function(_0x3947ef){var _0x570f77=_0x3b8e,_0xe3f1b4;return _0x3253f4[_0x570f77(0x403)]=_0x3947ef,_0xe3f1b4=new _0x3253f4(),_0x3253f4[_0x570f77(0x403)]=null,_0xe3f1b4;};}()),_0x77898d={},_0x2fdbbe=_0x77898d[_0x1b9473(0x292)]={},_0x3c9074=_0x2fdbbe[_0x1b9473(0x254)]=(function(){return{'extend':function(_0x1cbb08){var _0x52e826=_0x3b8e,_0xf41003=_0x1a9e03(this);return _0x1cbb08&&_0xf41003[_0x52e826(0x163)](_0x1cbb08),(!_0xf41003[_0x52e826(0x2d6)](_0x52e826(0x21b))||this['init']===_0xf41003[_0x52e826(0x21b)])&&(_0xf41003[_0x52e826(0x21b)]=function(){var _0x19a95e=_0x52e826;_0xf41003[_0x19a95e(0x329)][_0x19a95e(0x21b)]['apply'](this,arguments);}),_0xf41003[_0x52e826(0x21b)][_0x52e826(0x403)]=_0xf41003,_0xf41003[_0x52e826(0x329)]=this,_0xf41003;},'create':function(){var _0x17d825=_0x3b8e,_0x1069c9=this['extend']();return _0x1069c9[_0x17d825(0x21b)][_0x17d825(0x314)](_0x1069c9,arguments),_0x1069c9;},'init':function(){},'mixIn':function(_0x4c98f4){var _0x1fb5d3=_0x3b8e;for(var _0x3eb144 in _0x4c98f4)_0x4c98f4[_0x1fb5d3(0x2d6)](_0x3eb144)&&(this[_0x3eb144]=_0x4c98f4[_0x3eb144]);_0x4c98f4[_0x1fb5d3(0x2d6)]('toString')&&(this[_0x1fb5d3(0x2db)]=_0x4c98f4[_0x1fb5d3(0x2db)]);},'clone':function(){var _0x17a0a6=_0x3b8e;return this[_0x17a0a6(0x21b)][_0x17a0a6(0x403)][_0x17a0a6(0x3b3)](this);}};}()),_0x159c96=_0x2fdbbe[_0x1b9473(0x335)]=_0x3c9074[_0x1b9473(0x3b3)]({'init':function(_0x14b318,_0x12d076){var _0x4f56c6=_0x1b9473;_0x14b318=this[_0x4f56c6(0x341)]=_0x14b318||[],_0x12d076!=_0x435017?this[_0x4f56c6(0x3ea)]=_0x12d076:this[_0x4f56c6(0x3ea)]=_0x14b318[_0x4f56c6(0x193)]*0x4;},'toString':function(_0x3cd1dc){var _0x252815=_0x1b9473;return(_0x3cd1dc||_0x165d86)[_0x252815(0x35e)](this);},'concat':function(_0x4b3577){var _0x4c6bf9=_0x1b9473,_0x4df18f=this[_0x4c6bf9(0x341)],_0x45dfc6=_0x4b3577[_0x4c6bf9(0x341)],_0x3a2bd7=this['sigBytes'],_0x1a34b9=_0x4b3577[_0x4c6bf9(0x3ea)];if(this[_0x4c6bf9(0x2fc)](),_0x3a2bd7%0x4)for(var _0x53d13e=0x0;_0x53d13e<_0x1a34b9;_0x53d13e++){var _0x3c2a95=_0x45dfc6[_0x53d13e>>>0x2]>>>0x18-_0x53d13e%0x4*0x8&0xff;_0x4df18f[_0x3a2bd7+_0x53d13e>>>0x2]|=_0x3c2a95<<0x18-(_0x3a2bd7+_0x53d13e)%0x4*0x8;}else{for(var _0x18678a=0x0;_0x18678a<_0x1a34b9;_0x18678a+=0x4)_0x4df18f[_0x3a2bd7+_0x18678a>>>0x2]=_0x45dfc6[_0x18678a>>>0x2];}return this['sigBytes']+=_0x1a34b9,this;},'clamp':function(){var _0x1ddcf1=_0x1b9473,_0x3d678a=this['words'],_0x2bf46d=this['sigBytes'];_0x3d678a[_0x2bf46d>>>0x2]&=0xffffffff<<0x20-_0x2bf46d%0x4*0x8,_0x3d678a[_0x1ddcf1(0x193)]=_0x1723ea[_0x1ddcf1(0x132)](_0x2bf46d/0x4);},'clone':function(){var _0x34f170=_0x1b9473,_0x513d2b=_0x3c9074['clone'][_0x34f170(0x1b7)](this);return _0x513d2b[_0x34f170(0x341)]=this[_0x34f170(0x341)][_0x34f170(0x206)](0x0),_0x513d2b;},'random':function(_0x26feec){var _0x5417cc=_0x1b9473;for(var _0x286a43=[],_0x263869=0x0;_0x263869<_0x26feec;_0x263869+=0x4)_0x286a43[_0x5417cc(0x127)](_0x5cef9b());return new _0x159c96['init'](_0x286a43,_0x26feec);}}),_0x1b72a7=_0x77898d[_0x1b9473(0x36a)]={},_0x165d86=_0x1b72a7[_0x1b9473(0x32e)]={'stringify':function(_0x3c26eb){var _0x520865=_0x1b9473;for(var _0x2450c6=_0x3c26eb[_0x520865(0x341)],_0x55d9ec=_0x3c26eb[_0x520865(0x3ea)],_0x57da15=[],_0x17e1e2=0x0;_0x17e1e2<_0x55d9ec;_0x17e1e2++){var _0x42e484=_0x2450c6[_0x17e1e2>>>0x2]>>>0x18-_0x17e1e2%0x4*0x8&0xff;_0x57da15[_0x520865(0x127)]((_0x42e484>>>0x4)['toString'](0x10)),_0x57da15[_0x520865(0x127)]((_0x42e484&0xf)[_0x520865(0x2db)](0x10));}return _0x57da15['join']('');},'parse':function(_0x19a1ae){var _0x970d58=_0x1b9473;for(var _0xc938ba=_0x19a1ae[_0x970d58(0x193)],_0x6db789=[],_0x50d9d8=0x0;_0x50d9d8<_0xc938ba;_0x50d9d8+=0x2)_0x6db789[_0x50d9d8>>>0x3]|=parseInt(_0x19a1ae[_0x970d58(0x200)](_0x50d9d8,0x2),0x10)<<0x18-_0x50d9d8%0x8*0x4;return new _0x159c96[(_0x970d58(0x21b))](_0x6db789,_0xc938ba/0x2);}},_0x4ad59d=_0x1b72a7[_0x1b9473(0x218)]={'stringify':function(_0x3655fa){var _0x12445d=_0x1b9473;for(var _0x3ea7d0=_0x3655fa[_0x12445d(0x341)],_0x3fe575=_0x3655fa[_0x12445d(0x3ea)],_0x2f3fb0=[],_0x3d5fbc=0x0;_0x3d5fbc<_0x3fe575;_0x3d5fbc++){var _0x464294=_0x3ea7d0[_0x3d5fbc>>>0x2]>>>0x18-_0x3d5fbc%0x4*0x8&0xff;_0x2f3fb0[_0x12445d(0x127)](String[_0x12445d(0x3fd)](_0x464294));}return _0x2f3fb0[_0x12445d(0x20e)]('');},'parse':function(_0x51100e){var _0x5cd84e=_0x1b9473;for(var _0x271c54=_0x51100e[_0x5cd84e(0x193)],_0x4a6fb6=[],_0x42afa1=0x0;_0x42afa1<_0x271c54;_0x42afa1++)_0x4a6fb6[_0x42afa1>>>0x2]|=(_0x51100e[_0x5cd84e(0x401)](_0x42afa1)&0xff)<<0x18-_0x42afa1%0x4*0x8;return new _0x159c96[(_0x5cd84e(0x21b))](_0x4a6fb6,_0x271c54);}},_0x479b37=_0x1b72a7[_0x1b9473(0x38d)]={'stringify':function(_0x444d6a){var _0x47f2f6=_0x1b9473;try{return decodeURIComponent(escape(_0x4ad59d[_0x47f2f6(0x35e)](_0x444d6a)));}catch{throw new Error(_0x47f2f6(0x3ed));}},'parse':function(_0x36ac9e){var _0x57b38a=_0x1b9473;return _0x4ad59d[_0x57b38a(0x3ef)](unescape(encodeURIComponent(_0x36ac9e)));}},_0x25f136=_0x2fdbbe['BufferedBlockAlgorithm']=_0x3c9074[_0x1b9473(0x3b3)]({'reset':function(){var _0x2f23a1=_0x1b9473;this['_data']=new _0x159c96[(_0x2f23a1(0x21b))](),this[_0x2f23a1(0x23d)]=0x0;},'_append':function(_0x4be173){var _0x5d1e26=_0x1b9473;typeof _0x4be173=='string'&&(_0x4be173=_0x479b37[_0x5d1e26(0x3ef)](_0x4be173)),this['_data'][_0x5d1e26(0x187)](_0x4be173),this[_0x5d1e26(0x23d)]+=_0x4be173[_0x5d1e26(0x3ea)];},'_process':function(_0x791ba8){var _0x80cfcd=_0x1b9473,_0xe8d101,_0x184252=this[_0x80cfcd(0x331)],_0x5ec796=_0x184252['words'],_0x55d4a8=_0x184252['sigBytes'],_0x18db10=this[_0x80cfcd(0x361)],_0x5b278a=_0x18db10*0x4,_0x2030ae=_0x55d4a8/_0x5b278a;_0x791ba8?_0x2030ae=_0x1723ea['ceil'](_0x2030ae):_0x2030ae=_0x1723ea[_0x80cfcd(0x246)]((_0x2030ae|0x0)-this[_0x80cfcd(0x310)],0x0);var _0x218a74=_0x2030ae*_0x18db10,_0x318a70=_0x1723ea[_0x80cfcd(0xfb)](_0x218a74*0x4,_0x55d4a8);if(_0x218a74){for(var _0x4497b8=0x0;_0x4497b8<_0x218a74;_0x4497b8+=_0x18db10)this[_0x80cfcd(0x345)](_0x5ec796,_0x4497b8);_0xe8d101=_0x5ec796[_0x80cfcd(0x239)](0x0,_0x218a74),_0x184252['sigBytes']-=_0x318a70;}return new _0x159c96[(_0x80cfcd(0x21b))](_0xe8d101,_0x318a70);},'clone':function(){var _0xb8c861=_0x1b9473,_0xb83c37=_0x3c9074[_0xb8c861(0x3c8)]['call'](this);return _0xb83c37[_0xb8c861(0x331)]=this['_data'][_0xb8c861(0x3c8)](),_0xb83c37;},'_minBufferSize':0x0});_0x2fdbbe['Hasher']=_0x25f136[_0x1b9473(0x3b3)]({'cfg':_0x3c9074[_0x1b9473(0x3b3)](),'init':function(_0x58765a){var _0x193ecb=_0x1b9473;this[_0x193ecb(0x27d)]=this[_0x193ecb(0x27d)]['extend'](_0x58765a),this[_0x193ecb(0xf6)]();},'reset':function(){var _0x214c93=_0x1b9473;_0x25f136[_0x214c93(0xf6)][_0x214c93(0x1b7)](this),this[_0x214c93(0x232)]();},'update':function(_0xd3187){var _0x54f2b0=_0x1b9473;return this[_0x54f2b0(0x287)](_0xd3187),this[_0x54f2b0(0x1eb)](),this;},'finalize':function(_0x49224c){var _0x3c5ac7=_0x1b9473;_0x49224c&&this[_0x3c5ac7(0x287)](_0x49224c);var _0x283edf=this['_doFinalize']();return _0x283edf;},'blockSize':0x10,'_createHelper':function(_0x346c67){return function(_0x596a2c,_0x634058){var _0x2b59b6=_0x3b8e;return new _0x346c67[(_0x2b59b6(0x21b))](_0x634058)['finalize'](_0x596a2c);};},'_createHmacHelper':function(_0x19a9be){return function(_0x5581b4,_0x51ec16){var _0x561c29=_0x3b8e;return new _0x5437c1[(_0x561c29(0x2cd))][(_0x561c29(0x21b))](_0x19a9be,_0x51ec16)[_0x561c29(0x25b)](_0x5581b4);};}});var _0x5437c1=_0x77898d[_0x1b9473(0x172)]={};return _0x77898d;}(Math);return _0x151ef8;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke['exports'],ei;function wi(){var _0x1deeab=_0x34d539;return ei||(ei=0x1,function(_0x5c7484,_0x30025f){(function(_0x5688b0,_0x47bed0){var _0x4db766=_0x3b8e;_0x5c7484[_0x4db766(0x238)]=_0x47bed0(ne());}(Vs,function(_0x3a3712){var _0x7a65c0=_0x3b8e;return(function(){var _0x3b7c7d=_0x3b8e,_0x51e884=_0x3a3712,_0x2867ef=_0x51e884[_0x3b7c7d(0x292)],_0x97d688=_0x2867ef[_0x3b7c7d(0x335)],_0x54ecbf=_0x51e884[_0x3b7c7d(0x36a)];_0x54ecbf[_0x3b7c7d(0x36e)]={'stringify':function(_0x14eb00){var _0x19c6d8=_0x3b7c7d,_0x40c328=_0x14eb00[_0x19c6d8(0x341)],_0xb40e6f=_0x14eb00[_0x19c6d8(0x3ea)],_0x167806=this[_0x19c6d8(0x1c5)];_0x14eb00['clamp']();for(var _0x5190da=[],_0x5cfc77=0x0;_0x5cfc77<_0xb40e6f;_0x5cfc77+=0x3)for(var _0x146a59=_0x40c328[_0x5cfc77>>>0x2]>>>0x18-_0x5cfc77%0x4*0x8&0xff,_0x443e2b=_0x40c328[_0x5cfc77+0x1>>>0x2]>>>0x18-(_0x5cfc77+0x1)%0x4*0x8&0xff,_0x3b8ec3=_0x40c328[_0x5cfc77+0x2>>>0x2]>>>0x18-(_0x5cfc77+0x2)%0x4*0x8&0xff,_0x122e4d=_0x146a59<<0x10|_0x443e2b<<0x8|_0x3b8ec3,_0x469a20=0x0;_0x469a20<0x4&&_0x5cfc77+_0x469a20*0.75<_0xb40e6f;_0x469a20++)_0x5190da['push'](_0x167806[_0x19c6d8(0x23f)](_0x122e4d>>>0x6*(0x3-_0x469a20)&0x3f));var _0x40c9e9=_0x167806[_0x19c6d8(0x23f)](0x40);if(_0x40c9e9){for(;_0x5190da[_0x19c6d8(0x193)]%0x4;)_0x5190da[_0x19c6d8(0x127)](_0x40c9e9);}return _0x5190da[_0x19c6d8(0x20e)]('');},'parse':function(_0x100aeb){var _0x3f67ef=_0x3b7c7d,_0x25782a=_0x100aeb['length'],_0x2a413e=this[_0x3f67ef(0x1c5)],_0x126469=this[_0x3f67ef(0x185)];if(!_0x126469){_0x126469=this[_0x3f67ef(0x185)]=[];for(var _0x167c09=0x0;_0x167c09<_0x2a413e[_0x3f67ef(0x193)];_0x167c09++)_0x126469[_0x2a413e[_0x3f67ef(0x401)](_0x167c09)]=_0x167c09;}var _0x4edad1=_0x2a413e[_0x3f67ef(0x23f)](0x40);if(_0x4edad1){var _0x3e9d0a=_0x100aeb[_0x3f67ef(0x1e7)](_0x4edad1);_0x3e9d0a!==-0x1&&(_0x25782a=_0x3e9d0a);}return _0x383841(_0x100aeb,_0x25782a,_0x126469);},'_map':_0x3b7c7d(0x288)};function _0x383841(_0x122683,_0x41d0e5,_0x5249d6){var _0x366e6c=_0x3b7c7d;for(var _0x30bf2e=[],_0x56a70b=0x0,_0x2375c6=0x0;_0x2375c6<_0x41d0e5;_0x2375c6++)if(_0x2375c6%0x4){var _0x199f71=_0x5249d6[_0x122683['charCodeAt'](_0x2375c6-0x1)]<<_0x2375c6%0x4*0x2,_0xab42be=_0x5249d6[_0x122683[_0x366e6c(0x401)](_0x2375c6)]>>>0x6-_0x2375c6%0x4*0x2,_0x2c9d03=_0x199f71|_0xab42be;_0x30bf2e[_0x56a70b>>>0x2]|=_0x2c9d03<<0x18-_0x56a70b%0x4*0x8,_0x56a70b++;}return _0x97d688[_0x366e6c(0x34f)](_0x30bf2e,_0x56a70b);}}()),_0x3a3712[_0x7a65c0(0x36a)][_0x7a65c0(0x36e)];}));}(Ke)),Ke[_0x1deeab(0x238)];}var ze={'exports':{}},Ws=ze[_0x34d539(0x238)],ti;function Gs(){var _0x591e21=_0x34d539;return ti||(ti=0x1,function(_0x6dca51,_0x45add5){(function(_0x2f4b94,_0x3d67cb){var _0x3c1ab4=_0x3b8e;_0x6dca51[_0x3c1ab4(0x238)]=_0x3d67cb(ne());}(Ws,function(_0x3a308c){return function(_0x304a3e){var _0x2fbea0=_0x3b8e,_0x30ae0e=_0x3a308c,_0x42a911=_0x30ae0e['lib'],_0x5a9bfe=_0x42a911['WordArray'],_0x58e199=_0x42a911[_0x2fbea0(0x162)],_0x11058d=_0x30ae0e[_0x2fbea0(0x172)],_0x55ba14=[];(function(){var _0x1ec48c=_0x2fbea0;for(var _0x1e17d5=0x0;_0x1e17d5<0x40;_0x1e17d5++)_0x55ba14[_0x1e17d5]=_0x304a3e[_0x1ec48c(0x36b)](_0x304a3e[_0x1ec48c(0x2e4)](_0x1e17d5+0x1))*0x100000000|0x0;}());var _0x31f280=_0x11058d[_0x2fbea0(0x38a)]=_0x58e199[_0x2fbea0(0x3b3)]({'_doReset':function(){var _0x1a136b=_0x2fbea0;this[_0x1a136b(0x12c)]=new _0x5a9bfe[(_0x1a136b(0x21b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5b2bcb,_0x4540b4){var _0x4b6fd9=_0x2fbea0;for(var _0x205da2=0x0;_0x205da2<0x10;_0x205da2++){var _0x20f252=_0x4540b4+_0x205da2,_0x4e354f=_0x5b2bcb[_0x20f252];_0x5b2bcb[_0x20f252]=(_0x4e354f<<0x8|_0x4e354f>>>0x18)&0xff00ff|(_0x4e354f<<0x18|_0x4e354f>>>0x8)&0xff00ff00;}var _0x55d038=this[_0x4b6fd9(0x12c)]['words'],_0x579e11=_0x5b2bcb[_0x4540b4+0x0],_0x3215a1=_0x5b2bcb[_0x4540b4+0x1],_0x405e95=_0x5b2bcb[_0x4540b4+0x2],_0xca1025=_0x5b2bcb[_0x4540b4+0x3],_0x21b9f6=_0x5b2bcb[_0x4540b4+0x4],_0xc7c9f=_0x5b2bcb[_0x4540b4+0x5],_0xc9feb3=_0x5b2bcb[_0x4540b4+0x6],_0x2e58ce=_0x5b2bcb[_0x4540b4+0x7],_0x1c666f=_0x5b2bcb[_0x4540b4+0x8],_0x1f83cc=_0x5b2bcb[_0x4540b4+0x9],_0x1fdbda=_0x5b2bcb[_0x4540b4+0xa],_0x1298f7=_0x5b2bcb[_0x4540b4+0xb],_0x2c3f48=_0x5b2bcb[_0x4540b4+0xc],_0x5ba0f8=_0x5b2bcb[_0x4540b4+0xd],_0x6a75d1=_0x5b2bcb[_0x4540b4+0xe],_0x37b0a0=_0x5b2bcb[_0x4540b4+0xf],_0x5db7ce=_0x55d038[0x0],_0x1fb38e=_0x55d038[0x1],_0x5ae0b5=_0x55d038[0x2],_0x5e96fe=_0x55d038[0x3];_0x5db7ce=_0x1fe795(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x579e11,0x7,_0x55ba14[0x0]),_0x5e96fe=_0x1fe795(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x3215a1,0xc,_0x55ba14[0x1]),_0x5ae0b5=_0x1fe795(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x405e95,0x11,_0x55ba14[0x2]),_0x1fb38e=_0x1fe795(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0xca1025,0x16,_0x55ba14[0x3]),_0x5db7ce=_0x1fe795(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x21b9f6,0x7,_0x55ba14[0x4]),_0x5e96fe=_0x1fe795(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0xc7c9f,0xc,_0x55ba14[0x5]),_0x5ae0b5=_0x1fe795(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0xc9feb3,0x11,_0x55ba14[0x6]),_0x1fb38e=_0x1fe795(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x2e58ce,0x16,_0x55ba14[0x7]),_0x5db7ce=_0x1fe795(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x1c666f,0x7,_0x55ba14[0x8]),_0x5e96fe=_0x1fe795(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x1f83cc,0xc,_0x55ba14[0x9]),_0x5ae0b5=_0x1fe795(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x1fdbda,0x11,_0x55ba14[0xa]),_0x1fb38e=_0x1fe795(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1298f7,0x16,_0x55ba14[0xb]),_0x5db7ce=_0x1fe795(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x2c3f48,0x7,_0x55ba14[0xc]),_0x5e96fe=_0x1fe795(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5ba0f8,0xc,_0x55ba14[0xd]),_0x5ae0b5=_0x1fe795(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x6a75d1,0x11,_0x55ba14[0xe]),_0x1fb38e=_0x1fe795(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x37b0a0,0x16,_0x55ba14[0xf]),_0x5db7ce=_0x46c786(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x3215a1,0x5,_0x55ba14[0x10]),_0x5e96fe=_0x46c786(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0xc9feb3,0x9,_0x55ba14[0x11]),_0x5ae0b5=_0x46c786(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x1298f7,0xe,_0x55ba14[0x12]),_0x1fb38e=_0x46c786(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x579e11,0x14,_0x55ba14[0x13]),_0x5db7ce=_0x46c786(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0xc7c9f,0x5,_0x55ba14[0x14]),_0x5e96fe=_0x46c786(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x1fdbda,0x9,_0x55ba14[0x15]),_0x5ae0b5=_0x46c786(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x37b0a0,0xe,_0x55ba14[0x16]),_0x1fb38e=_0x46c786(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x21b9f6,0x14,_0x55ba14[0x17]),_0x5db7ce=_0x46c786(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x1f83cc,0x5,_0x55ba14[0x18]),_0x5e96fe=_0x46c786(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x6a75d1,0x9,_0x55ba14[0x19]),_0x5ae0b5=_0x46c786(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0xca1025,0xe,_0x55ba14[0x1a]),_0x1fb38e=_0x46c786(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1c666f,0x14,_0x55ba14[0x1b]),_0x5db7ce=_0x46c786(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5ba0f8,0x5,_0x55ba14[0x1c]),_0x5e96fe=_0x46c786(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x405e95,0x9,_0x55ba14[0x1d]),_0x5ae0b5=_0x46c786(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x2e58ce,0xe,_0x55ba14[0x1e]),_0x1fb38e=_0x46c786(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x2c3f48,0x14,_0x55ba14[0x1f]),_0x5db7ce=_0x102cdc(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0xc7c9f,0x4,_0x55ba14[0x20]),_0x5e96fe=_0x102cdc(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x1c666f,0xb,_0x55ba14[0x21]),_0x5ae0b5=_0x102cdc(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x1298f7,0x10,_0x55ba14[0x22]),_0x1fb38e=_0x102cdc(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x6a75d1,0x17,_0x55ba14[0x23]),_0x5db7ce=_0x102cdc(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x3215a1,0x4,_0x55ba14[0x24]),_0x5e96fe=_0x102cdc(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x21b9f6,0xb,_0x55ba14[0x25]),_0x5ae0b5=_0x102cdc(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x2e58ce,0x10,_0x55ba14[0x26]),_0x1fb38e=_0x102cdc(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fdbda,0x17,_0x55ba14[0x27]),_0x5db7ce=_0x102cdc(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5ba0f8,0x4,_0x55ba14[0x28]),_0x5e96fe=_0x102cdc(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x579e11,0xb,_0x55ba14[0x29]),_0x5ae0b5=_0x102cdc(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0xca1025,0x10,_0x55ba14[0x2a]),_0x1fb38e=_0x102cdc(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0xc9feb3,0x17,_0x55ba14[0x2b]),_0x5db7ce=_0x102cdc(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x1f83cc,0x4,_0x55ba14[0x2c]),_0x5e96fe=_0x102cdc(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x2c3f48,0xb,_0x55ba14[0x2d]),_0x5ae0b5=_0x102cdc(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x37b0a0,0x10,_0x55ba14[0x2e]),_0x1fb38e=_0x102cdc(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x405e95,0x17,_0x55ba14[0x2f]),_0x5db7ce=_0x29fcbd(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x579e11,0x6,_0x55ba14[0x30]),_0x5e96fe=_0x29fcbd(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x2e58ce,0xa,_0x55ba14[0x31]),_0x5ae0b5=_0x29fcbd(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x6a75d1,0xf,_0x55ba14[0x32]),_0x1fb38e=_0x29fcbd(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0xc7c9f,0x15,_0x55ba14[0x33]),_0x5db7ce=_0x29fcbd(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x2c3f48,0x6,_0x55ba14[0x34]),_0x5e96fe=_0x29fcbd(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0xca1025,0xa,_0x55ba14[0x35]),_0x5ae0b5=_0x29fcbd(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x1fdbda,0xf,_0x55ba14[0x36]),_0x1fb38e=_0x29fcbd(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x3215a1,0x15,_0x55ba14[0x37]),_0x5db7ce=_0x29fcbd(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x1c666f,0x6,_0x55ba14[0x38]),_0x5e96fe=_0x29fcbd(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x37b0a0,0xa,_0x55ba14[0x39]),_0x5ae0b5=_0x29fcbd(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0xc9feb3,0xf,_0x55ba14[0x3a]),_0x1fb38e=_0x29fcbd(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x5ba0f8,0x15,_0x55ba14[0x3b]),_0x5db7ce=_0x29fcbd(_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x21b9f6,0x6,_0x55ba14[0x3c]),_0x5e96fe=_0x29fcbd(_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x5ae0b5,_0x1298f7,0xa,_0x55ba14[0x3d]),_0x5ae0b5=_0x29fcbd(_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1fb38e,_0x405e95,0xf,_0x55ba14[0x3e]),_0x1fb38e=_0x29fcbd(_0x1fb38e,_0x5ae0b5,_0x5e96fe,_0x5db7ce,_0x1f83cc,0x15,_0x55ba14[0x3f]),_0x55d038[0x0]=_0x55d038[0x0]+_0x5db7ce|0x0,_0x55d038[0x1]=_0x55d038[0x1]+_0x1fb38e|0x0,_0x55d038[0x2]=_0x55d038[0x2]+_0x5ae0b5|0x0,_0x55d038[0x3]=_0x55d038[0x3]+_0x5e96fe|0x0;},'_doFinalize':function(){var _0x1f809f=_0x2fbea0,_0x841c87=this[_0x1f809f(0x331)],_0x4a9a9b=_0x841c87['words'],_0x58c2e0=this[_0x1f809f(0x23d)]*0x8,_0x22ec71=_0x841c87['sigBytes']*0x8;_0x4a9a9b[_0x22ec71>>>0x5]|=0x80<<0x18-_0x22ec71%0x20;var _0x28b7b0=_0x304a3e[_0x1f809f(0x1e4)](_0x58c2e0/0x100000000),_0x9b931b=_0x58c2e0;_0x4a9a9b[(_0x22ec71+0x40>>>0x9<<0x4)+0xf]=(_0x28b7b0<<0x8|_0x28b7b0>>>0x18)&0xff00ff|(_0x28b7b0<<0x18|_0x28b7b0>>>0x8)&0xff00ff00,_0x4a9a9b[(_0x22ec71+0x40>>>0x9<<0x4)+0xe]=(_0x9b931b<<0x8|_0x9b931b>>>0x18)&0xff00ff|(_0x9b931b<<0x18|_0x9b931b>>>0x8)&0xff00ff00,_0x841c87[_0x1f809f(0x3ea)]=(_0x4a9a9b['length']+0x1)*0x4,this[_0x1f809f(0x1eb)]();for(var _0xb75958=this[_0x1f809f(0x12c)],_0x4f4860=_0xb75958[_0x1f809f(0x341)],_0x231a3f=0x0;_0x231a3f<0x4;_0x231a3f++){var _0x3f6328=_0x4f4860[_0x231a3f];_0x4f4860[_0x231a3f]=(_0x3f6328<<0x8|_0x3f6328>>>0x18)&0xff00ff|(_0x3f6328<<0x18|_0x3f6328>>>0x8)&0xff00ff00;}return _0xb75958;},'clone':function(){var _0xf6dd0e=_0x2fbea0,_0x47d920=_0x58e199[_0xf6dd0e(0x3c8)][_0xf6dd0e(0x1b7)](this);return _0x47d920[_0xf6dd0e(0x12c)]=this[_0xf6dd0e(0x12c)]['clone'](),_0x47d920;}});function _0x1fe795(_0xe8e071,_0x57f3b3,_0x2ce605,_0xe28c47,_0x3d6917,_0x4195da,_0x2b92fd){var _0x4f1ae1=_0xe8e071+(_0x57f3b3&_0x2ce605|~_0x57f3b3&_0xe28c47)+_0x3d6917+_0x2b92fd;return(_0x4f1ae1<<_0x4195da|_0x4f1ae1>>>0x20-_0x4195da)+_0x57f3b3;}function _0x46c786(_0x40895c,_0x5b25f0,_0x452d8c,_0x25b834,_0x3498de,_0x78f3ed,_0x423bc1){var _0x5c227e=_0x40895c+(_0x5b25f0&_0x25b834|_0x452d8c&~_0x25b834)+_0x3498de+_0x423bc1;return(_0x5c227e<<_0x78f3ed|_0x5c227e>>>0x20-_0x78f3ed)+_0x5b25f0;}function _0x102cdc(_0x527e25,_0x2637ab,_0xb22318,_0x1695ba,_0x24d3cd,_0x452fbf,_0x2c5a33){var _0x3fe57c=_0x527e25+(_0x2637ab^_0xb22318^_0x1695ba)+_0x24d3cd+_0x2c5a33;return(_0x3fe57c<<_0x452fbf|_0x3fe57c>>>0x20-_0x452fbf)+_0x2637ab;}function _0x29fcbd(_0x16adda,_0x57a476,_0x485bf1,_0x283b90,_0x28d31d,_0x7b0194,_0x4a4d03){var _0x1c0257=_0x16adda+(_0x485bf1^(_0x57a476|~_0x283b90))+_0x28d31d+_0x4a4d03;return(_0x1c0257<<_0x7b0194|_0x1c0257>>>0x20-_0x7b0194)+_0x57a476;}_0x30ae0e['MD5']=_0x58e199[_0x2fbea0(0x283)](_0x31f280),_0x30ae0e[_0x2fbea0(0x285)]=_0x58e199[_0x2fbea0(0x264)](_0x31f280);}(Math),_0x3a308c['MD5'];}));}(ze)),ze[_0x591e21(0x238)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x34d539(0x238)],ii;function zs(){return ii||(ii=0x1,function(_0x27e128,_0x1d16cf){(function(_0x4d5ef7,_0x46768b){var _0x439347=_0x3b8e;_0x27e128[_0x439347(0x238)]=_0x46768b(ne());}(Ks,function(_0x41ee84){var _0xd6540d=_0x3b8e;return(function(){var _0x3fcd5f=_0x3b8e,_0x20285a=_0x41ee84,_0x2fe63b=_0x20285a[_0x3fcd5f(0x292)],_0x53c4bf=_0x2fe63b[_0x3fcd5f(0x335)],_0x3d8eaf=_0x2fe63b[_0x3fcd5f(0x162)],_0x2fc5c6=_0x20285a['algo'],_0x90dad4=[],_0x4f276a=_0x2fc5c6['SHA1']=_0x3d8eaf[_0x3fcd5f(0x3b3)]({'_doReset':function(){var _0x2297fa=_0x3fcd5f;this[_0x2297fa(0x12c)]=new _0x53c4bf['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x527f0a,_0x1f19dd){var _0x4b4f07=_0x3fcd5f;for(var _0x10abec=this[_0x4b4f07(0x12c)][_0x4b4f07(0x341)],_0x3f6fbe=_0x10abec[0x0],_0x1ae0ec=_0x10abec[0x1],_0xa963ea=_0x10abec[0x2],_0x58fb28=_0x10abec[0x3],_0xbcf9be=_0x10abec[0x4],_0x5c9d6d=0x0;_0x5c9d6d<0x50;_0x5c9d6d++){if(_0x5c9d6d<0x10)_0x90dad4[_0x5c9d6d]=_0x527f0a[_0x1f19dd+_0x5c9d6d]|0x0;else{var _0x5cda77=_0x90dad4[_0x5c9d6d-0x3]^_0x90dad4[_0x5c9d6d-0x8]^_0x90dad4[_0x5c9d6d-0xe]^_0x90dad4[_0x5c9d6d-0x10];_0x90dad4[_0x5c9d6d]=_0x5cda77<<0x1|_0x5cda77>>>0x1f;}var _0x17be2d=(_0x3f6fbe<<0x5|_0x3f6fbe>>>0x1b)+_0xbcf9be+_0x90dad4[_0x5c9d6d];_0x5c9d6d<0x14?_0x17be2d+=(_0x1ae0ec&_0xa963ea|~_0x1ae0ec&_0x58fb28)+0x5a827999:_0x5c9d6d<0x28?_0x17be2d+=(_0x1ae0ec^_0xa963ea^_0x58fb28)+0x6ed9eba1:_0x5c9d6d<0x3c?_0x17be2d+=(_0x1ae0ec&_0xa963ea|_0x1ae0ec&_0x58fb28|_0xa963ea&_0x58fb28)-0x70e44324:_0x17be2d+=(_0x1ae0ec^_0xa963ea^_0x58fb28)-0x359d3e2a,_0xbcf9be=_0x58fb28,_0x58fb28=_0xa963ea,_0xa963ea=_0x1ae0ec<<0x1e|_0x1ae0ec>>>0x2,_0x1ae0ec=_0x3f6fbe,_0x3f6fbe=_0x17be2d;}_0x10abec[0x0]=_0x10abec[0x0]+_0x3f6fbe|0x0,_0x10abec[0x1]=_0x10abec[0x1]+_0x1ae0ec|0x0,_0x10abec[0x2]=_0x10abec[0x2]+_0xa963ea|0x0,_0x10abec[0x3]=_0x10abec[0x3]+_0x58fb28|0x0,_0x10abec[0x4]=_0x10abec[0x4]+_0xbcf9be|0x0;},'_doFinalize':function(){var _0x24385f=_0x3fcd5f,_0x29d56b=this['_data'],_0x351a06=_0x29d56b['words'],_0x5e7227=this[_0x24385f(0x23d)]*0x8,_0xc5c19a=_0x29d56b[_0x24385f(0x3ea)]*0x8;return _0x351a06[_0xc5c19a>>>0x5]|=0x80<<0x18-_0xc5c19a%0x20,_0x351a06[(_0xc5c19a+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5e7227/0x100000000),_0x351a06[(_0xc5c19a+0x40>>>0x9<<0x4)+0xf]=_0x5e7227,_0x29d56b['sigBytes']=_0x351a06['length']*0x4,this[_0x24385f(0x1eb)](),this[_0x24385f(0x12c)];},'clone':function(){var _0xffb5ae=_0x3fcd5f,_0x285666=_0x3d8eaf[_0xffb5ae(0x3c8)]['call'](this);return _0x285666['_hash']=this[_0xffb5ae(0x12c)][_0xffb5ae(0x3c8)](),_0x285666;}});_0x20285a['SHA1']=_0x3d8eaf['_createHelper'](_0x4f276a),_0x20285a[_0x3fcd5f(0x2b1)]=_0x3d8eaf['_createHmacHelper'](_0x4f276a);}()),_0x41ee84[_0xd6540d(0x36c)];}));}(qe)),qe['exports'];}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){var _0x2d6b02=_0x34d539;return ni||(ni=0x1,function(_0x20a2f4,_0x29668c){(function(_0x34914e,_0x57be0a){var _0x467487=_0x3b8e;_0x20a2f4[_0x467487(0x238)]=_0x57be0a(ne());}(Ys,function(_0x539d8e){(function(){var _0xa96d05=_0x3b8e,_0x3a9b31=_0x539d8e,_0x5ab754=_0x3a9b31[_0xa96d05(0x292)],_0x2b38d0=_0x5ab754['Base'],_0x3705d5=_0x3a9b31[_0xa96d05(0x36a)],_0x41dd71=_0x3705d5[_0xa96d05(0x38d)],_0x46e7c0=_0x3a9b31['algo'];_0x46e7c0[_0xa96d05(0x2cd)]=_0x2b38d0['extend']({'init':function(_0x8b26f8,_0x17f7fe){var _0x2b1848=_0xa96d05;_0x8b26f8=this[_0x2b1848(0x397)]=new _0x8b26f8[(_0x2b1848(0x21b))](),typeof _0x17f7fe=='string'&&(_0x17f7fe=_0x41dd71[_0x2b1848(0x3ef)](_0x17f7fe));var _0x4d05bc=_0x8b26f8[_0x2b1848(0x361)],_0x310cfe=_0x4d05bc*0x4;_0x17f7fe[_0x2b1848(0x3ea)]>_0x310cfe&&(_0x17f7fe=_0x8b26f8['finalize'](_0x17f7fe)),_0x17f7fe[_0x2b1848(0x2fc)]();for(var _0x1da033=this[_0x2b1848(0x39a)]=_0x17f7fe[_0x2b1848(0x3c8)](),_0x5cd98d=this[_0x2b1848(0x121)]=_0x17f7fe[_0x2b1848(0x3c8)](),_0x206b9d=_0x1da033[_0x2b1848(0x341)],_0x5c2fa9=_0x5cd98d[_0x2b1848(0x341)],_0x58e4f5=0x0;_0x58e4f5<_0x4d05bc;_0x58e4f5++)_0x206b9d[_0x58e4f5]^=0x5c5c5c5c,_0x5c2fa9[_0x58e4f5]^=0x36363636;_0x1da033['sigBytes']=_0x5cd98d['sigBytes']=_0x310cfe,this[_0x2b1848(0xf6)]();},'reset':function(){var _0x185444=_0xa96d05,_0x83b70a=this['_hasher'];_0x83b70a['reset'](),_0x83b70a[_0x185444(0x179)](this['_iKey']);},'update':function(_0x40a1fc){var _0xfa3223=_0xa96d05;return this['_hasher'][_0xfa3223(0x179)](_0x40a1fc),this;},'finalize':function(_0x3ac9c8){var _0x1422a1=_0xa96d05,_0x4f8055=this[_0x1422a1(0x397)],_0x3d8385=_0x4f8055[_0x1422a1(0x25b)](_0x3ac9c8);_0x4f8055[_0x1422a1(0xf6)]();var _0x475588=_0x4f8055[_0x1422a1(0x25b)](this['_oKey'][_0x1422a1(0x3c8)]()[_0x1422a1(0x187)](_0x3d8385));return _0x475588;}});}());}));}(Je)),Je[_0x2d6b02(0x238)];}var Js=Ye[_0x34d539(0x238)],si;function Ui(){return si||(si=0x1,function(_0x16372c,_0x4ef8f1){(function(_0x201579,_0x33ec39,_0x75ccb0){var _0x371614=_0x3b8e;_0x16372c[_0x371614(0x238)]=_0x33ec39(ne(),zs(),qs());}(Js,function(_0x1cf13f){var _0x215074=_0x3b8e;return(function(){var _0x13b798=_0x3b8e,_0x255919=_0x1cf13f,_0x2ce196=_0x255919['lib'],_0x2ddb5a=_0x2ce196[_0x13b798(0x254)],_0x5cc423=_0x2ce196[_0x13b798(0x335)],_0x176412=_0x255919[_0x13b798(0x172)],_0xdd809e=_0x176412['MD5'],_0x2f2c5e=_0x176412['EvpKDF']=_0x2ddb5a['extend']({'cfg':_0x2ddb5a[_0x13b798(0x3b3)]({'keySize':0x80/0x20,'hasher':_0xdd809e,'iterations':0x1}),'init':function(_0x12694f){var _0x1fbf66=_0x13b798;this[_0x1fbf66(0x27d)]=this[_0x1fbf66(0x27d)][_0x1fbf66(0x3b3)](_0x12694f);},'compute':function(_0x57965c,_0x5b49ab){var _0xaa340b=_0x13b798;for(var _0x4f3413,_0x38f4e6=this[_0xaa340b(0x27d)],_0x2009cf=_0x38f4e6['hasher'][_0xaa340b(0x34f)](),_0x1d5b7b=_0x5cc423['create'](),_0x5db276=_0x1d5b7b[_0xaa340b(0x341)],_0x19da89=_0x38f4e6[_0xaa340b(0xfd)],_0xe506a7=_0x38f4e6[_0xaa340b(0x260)];_0x5db276[_0xaa340b(0x193)]<_0x19da89;){_0x4f3413&&_0x2009cf[_0xaa340b(0x179)](_0x4f3413),_0x4f3413=_0x2009cf[_0xaa340b(0x179)](_0x57965c)[_0xaa340b(0x25b)](_0x5b49ab),_0x2009cf[_0xaa340b(0xf6)]();for(var _0x38739a=0x1;_0x38739a<_0xe506a7;_0x38739a++)_0x4f3413=_0x2009cf[_0xaa340b(0x25b)](_0x4f3413),_0x2009cf[_0xaa340b(0xf6)]();_0x1d5b7b['concat'](_0x4f3413);}return _0x1d5b7b[_0xaa340b(0x3ea)]=_0x19da89*0x4,_0x1d5b7b;}});_0x255919[_0x13b798(0x2a6)]=function(_0x21727f,_0x3268e1,_0x370d67){var _0x55e576=_0x13b798;return _0x2f2c5e[_0x55e576(0x34f)](_0x370d67)['compute'](_0x21727f,_0x3268e1);};}()),_0x1cf13f[_0x215074(0x2a6)];}));}(Ye)),Ye['exports'];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function Ai(){return ri||(ri=0x1,function(_0x39c194,_0x456d9e){(function(_0x3547af,_0x5f188e,_0x4f2514){var _0x18797f=_0x3b8e;_0x39c194[_0x18797f(0x238)]=_0x5f188e(ne(),Ui());}(Xs,function(_0x21b888){_0x21b888['lib']['Cipher']||function(_0x35fd8b){var _0x1a71b7=_0x3b8e,_0x43e857=_0x21b888,_0x235550=_0x43e857['lib'],_0x2bc799=_0x235550[_0x1a71b7(0x254)],_0x5e41a4=_0x235550['WordArray'],_0x26ed4d=_0x235550[_0x1a71b7(0x346)],_0x1af657=_0x43e857[_0x1a71b7(0x36a)];_0x1af657['Utf8'];var _0x6bfc8b=_0x1af657[_0x1a71b7(0x36e)],_0x415e51=_0x43e857[_0x1a71b7(0x172)],_0x13739a=_0x415e51['EvpKDF'],_0x4c2f52=_0x235550[_0x1a71b7(0x3a5)]=_0x26ed4d[_0x1a71b7(0x3b3)]({'cfg':_0x2bc799[_0x1a71b7(0x3b3)](),'createEncryptor':function(_0x1e3451,_0xcbeb27){var _0x55b796=_0x1a71b7;return this[_0x55b796(0x34f)](this['_ENC_XFORM_MODE'],_0x1e3451,_0xcbeb27);},'createDecryptor':function(_0x51df56,_0x277cb7){var _0x5a14c0=_0x1a71b7;return this[_0x5a14c0(0x34f)](this['_DEC_XFORM_MODE'],_0x51df56,_0x277cb7);},'init':function(_0x1f158e,_0x1ca434,_0x586fb1){var _0x2a3e44=_0x1a71b7;this[_0x2a3e44(0x27d)]=this[_0x2a3e44(0x27d)][_0x2a3e44(0x3b3)](_0x586fb1),this['_xformMode']=_0x1f158e,this[_0x2a3e44(0x293)]=_0x1ca434,this[_0x2a3e44(0xf6)]();},'reset':function(){var _0x3f34d2=_0x1a71b7;_0x26ed4d['reset'][_0x3f34d2(0x1b7)](this),this[_0x3f34d2(0x232)]();},'process':function(_0x4af88f){var _0x396fa7=_0x1a71b7;return this[_0x396fa7(0x287)](_0x4af88f),this[_0x396fa7(0x1eb)]();},'finalize':function(_0x115102){_0x115102&&this['_append'](_0x115102);var _0x248838=this['_doFinalize']();return _0x248838;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x23e784(_0x3b33c6){var _0x4780a2=_0x3b8e;return typeof _0x3b33c6==_0x4780a2(0xf4)?_0x160d94:_0x2d5eea;}return function(_0x2fbad1){return{'encrypt':function(_0x2d3854,_0x374bf5,_0x4ebc26){var _0x3a54e0=_0x3b8e;return _0x23e784(_0x374bf5)[_0x3a54e0(0x103)](_0x2fbad1,_0x2d3854,_0x374bf5,_0x4ebc26);},'decrypt':function(_0x50e5a3,_0x3578ab,_0x24130b){var _0x2620e6=_0x3b8e;return _0x23e784(_0x3578ab)[_0x2620e6(0x21f)](_0x2fbad1,_0x50e5a3,_0x3578ab,_0x24130b);}};};}())});_0x235550['StreamCipher']=_0x4c2f52[_0x1a71b7(0x3b3)]({'_doFinalize':function(){var _0x83102f=_0x1a71b7,_0x4c14fe=this[_0x83102f(0x1eb)](!0x0);return _0x4c14fe;},'blockSize':0x1});var _0x1dab28=_0x43e857[_0x1a71b7(0x24b)]={},_0x3b84cb=_0x235550[_0x1a71b7(0x17d)]=_0x2bc799[_0x1a71b7(0x3b3)]({'createEncryptor':function(_0xc8a8e5,_0x3ff646){var _0x9d9fdc=_0x1a71b7;return this[_0x9d9fdc(0x317)]['create'](_0xc8a8e5,_0x3ff646);},'createDecryptor':function(_0x2624cd,_0x124b7a){var _0x1c4a69=_0x1a71b7;return this[_0x1c4a69(0x158)][_0x1c4a69(0x34f)](_0x2624cd,_0x124b7a);},'init':function(_0x1fbc59,_0x1df51b){var _0x23806b=_0x1a71b7;this[_0x23806b(0x1d6)]=_0x1fbc59,this[_0x23806b(0x316)]=_0x1df51b;}}),_0x4f9dd9=_0x1dab28[_0x1a71b7(0x2f6)]=(function(){var _0x48eedf=_0x1a71b7,_0x30a283=_0x3b84cb[_0x48eedf(0x3b3)]();_0x30a283['Encryptor']=_0x30a283[_0x48eedf(0x3b3)]({'processBlock':function(_0x3f2689,_0x2599f7){var _0x2f5667=_0x48eedf,_0x388294=this[_0x2f5667(0x1d6)],_0x43b638=_0x388294['blockSize'];_0x29f360['call'](this,_0x3f2689,_0x2599f7,_0x43b638),_0x388294[_0x2f5667(0x3a2)](_0x3f2689,_0x2599f7),this[_0x2f5667(0x186)]=_0x3f2689['slice'](_0x2599f7,_0x2599f7+_0x43b638);}}),_0x30a283[_0x48eedf(0x158)]=_0x30a283[_0x48eedf(0x3b3)]({'processBlock':function(_0x4b4eb1,_0x45a1c7){var _0x3f671a=_0x48eedf,_0x3f5129=this[_0x3f671a(0x1d6)],_0x3358b5=_0x3f5129[_0x3f671a(0x361)],_0x5a2d5a=_0x4b4eb1[_0x3f671a(0x206)](_0x45a1c7,_0x45a1c7+_0x3358b5);_0x3f5129['decryptBlock'](_0x4b4eb1,_0x45a1c7),_0x29f360[_0x3f671a(0x1b7)](this,_0x4b4eb1,_0x45a1c7,_0x3358b5),this[_0x3f671a(0x186)]=_0x5a2d5a;}});function _0x29f360(_0x206b5c,_0x2623d6,_0x2203a6){var _0x1a2324=_0x48eedf,_0x14cacd,_0x8adf36=this['_iv'];_0x8adf36?(_0x14cacd=_0x8adf36,this[_0x1a2324(0x316)]=_0x35fd8b):_0x14cacd=this['_prevBlock'];for(var _0x31e780=0x0;_0x31e780<_0x2203a6;_0x31e780++)_0x206b5c[_0x2623d6+_0x31e780]^=_0x14cacd[_0x31e780];}return _0x30a283;}()),_0x6d28ce=_0x43e857['pad']={},_0x12a9f5=_0x6d28ce[_0x1a71b7(0x2b4)]={'pad':function(_0x5841eb,_0x151138){var _0x2ff62d=_0x1a71b7;for(var _0x1da5bc=_0x151138*0x4,_0x541886=_0x1da5bc-_0x5841eb['sigBytes']%_0x1da5bc,_0x2ab8d1=_0x541886<<0x18|_0x541886<<0x10|_0x541886<<0x8|_0x541886,_0x29f4bc=[],_0x405e7e=0x0;_0x405e7e<_0x541886;_0x405e7e+=0x4)_0x29f4bc[_0x2ff62d(0x127)](_0x2ab8d1);var _0x2a8188=_0x5e41a4[_0x2ff62d(0x34f)](_0x29f4bc,_0x541886);_0x5841eb[_0x2ff62d(0x187)](_0x2a8188);},'unpad':function(_0x124292){var _0x40b729=_0x1a71b7,_0x48b19b=_0x124292[_0x40b729(0x341)][_0x124292[_0x40b729(0x3ea)]-0x1>>>0x2]&0xff;_0x124292[_0x40b729(0x3ea)]-=_0x48b19b;}};_0x235550[_0x1a71b7(0x3a3)]=_0x4c2f52[_0x1a71b7(0x3b3)]({'cfg':_0x4c2f52[_0x1a71b7(0x27d)]['extend']({'mode':_0x4f9dd9,'padding':_0x12a9f5}),'reset':function(){var _0x432b18=_0x1a71b7,_0x303a8c;_0x4c2f52[_0x432b18(0xf6)]['call'](this);var _0x17111a=this[_0x432b18(0x27d)],_0x5136fd=_0x17111a['iv'],_0x74ed45=_0x17111a['mode'];this[_0x432b18(0x404)]==this[_0x432b18(0x392)]?_0x303a8c=_0x74ed45[_0x432b18(0x3eb)]:(_0x303a8c=_0x74ed45[_0x432b18(0x3fe)],this['_minBufferSize']=0x1),this[_0x432b18(0x201)]&&this['_mode'][_0x432b18(0x312)]==_0x303a8c?this['_mode']['init'](this,_0x5136fd&&_0x5136fd[_0x432b18(0x341)]):(this[_0x432b18(0x201)]=_0x303a8c[_0x432b18(0x1b7)](_0x74ed45,this,_0x5136fd&&_0x5136fd['words']),this[_0x432b18(0x201)][_0x432b18(0x312)]=_0x303a8c);},'_doProcessBlock':function(_0x31e484,_0x4cdf0f){var _0x34f32c=_0x1a71b7;this[_0x34f32c(0x201)][_0x34f32c(0x33a)](_0x31e484,_0x4cdf0f);},'_doFinalize':function(){var _0x2df376=_0x1a71b7,_0x159021,_0xa8500a=this['cfg'][_0x2df376(0x2f8)];return this['_xformMode']==this[_0x2df376(0x392)]?(_0xa8500a[_0x2df376(0x184)](this['_data'],this[_0x2df376(0x361)]),_0x159021=this[_0x2df376(0x1eb)](!0x0)):(_0x159021=this[_0x2df376(0x1eb)](!0x0),_0xa8500a[_0x2df376(0x251)](_0x159021)),_0x159021;},'blockSize':0x80/0x20});var _0x3f1bee=_0x235550[_0x1a71b7(0x192)]=_0x2bc799[_0x1a71b7(0x3b3)]({'init':function(_0x455943){this['mixIn'](_0x455943);},'toString':function(_0x37aeea){var _0x4876ec=_0x1a71b7;return(_0x37aeea||this[_0x4876ec(0x3af)])[_0x4876ec(0x35e)](this);}}),_0xf71bee=_0x43e857[_0x1a71b7(0x129)]={},_0x3612f0=_0xf71bee[_0x1a71b7(0x135)]={'stringify':function(_0x3699ef){var _0x206b7d=_0x1a71b7,_0x1109de,_0x3ddb9e=_0x3699ef['ciphertext'],_0x13a10a=_0x3699ef[_0x206b7d(0x3e3)];return _0x13a10a?_0x1109de=_0x5e41a4[_0x206b7d(0x34f)]([0x53616c74,0x65645f5f])[_0x206b7d(0x187)](_0x13a10a)[_0x206b7d(0x187)](_0x3ddb9e):_0x1109de=_0x3ddb9e,_0x1109de[_0x206b7d(0x2db)](_0x6bfc8b);},'parse':function(_0x2a1623){var _0x46e22a=_0x1a71b7,_0x128d7c,_0x9c84e5=_0x6bfc8b['parse'](_0x2a1623),_0x5bedaa=_0x9c84e5[_0x46e22a(0x341)];return _0x5bedaa[0x0]==0x53616c74&&_0x5bedaa[0x1]==0x65645f5f&&(_0x128d7c=_0x5e41a4[_0x46e22a(0x34f)](_0x5bedaa[_0x46e22a(0x206)](0x2,0x4)),_0x5bedaa[_0x46e22a(0x239)](0x0,0x4),_0x9c84e5[_0x46e22a(0x3ea)]-=0x10),_0x3f1bee[_0x46e22a(0x34f)]({'ciphertext':_0x9c84e5,'salt':_0x128d7c});}},_0x2d5eea=_0x235550[_0x1a71b7(0x2ee)]=_0x2bc799[_0x1a71b7(0x3b3)]({'cfg':_0x2bc799[_0x1a71b7(0x3b3)]({'format':_0x3612f0}),'encrypt':function(_0x4d45b8,_0x1347b9,_0x46fed5,_0x42d553){var _0x48cfbc=_0x1a71b7;_0x42d553=this[_0x48cfbc(0x27d)][_0x48cfbc(0x3b3)](_0x42d553);var _0x1f95b6=_0x4d45b8[_0x48cfbc(0x3eb)](_0x46fed5,_0x42d553),_0x28d6d3=_0x1f95b6[_0x48cfbc(0x25b)](_0x1347b9),_0x285ef1=_0x1f95b6[_0x48cfbc(0x27d)];return _0x3f1bee[_0x48cfbc(0x34f)]({'ciphertext':_0x28d6d3,'key':_0x46fed5,'iv':_0x285ef1['iv'],'algorithm':_0x4d45b8,'mode':_0x285ef1['mode'],'padding':_0x285ef1[_0x48cfbc(0x2f8)],'blockSize':_0x4d45b8[_0x48cfbc(0x361)],'formatter':_0x42d553[_0x48cfbc(0x129)]});},'decrypt':function(_0x1e6a42,_0x1b4e3b,_0x25ab24,_0x2c20e3){var _0x3faee7=_0x1a71b7;_0x2c20e3=this['cfg']['extend'](_0x2c20e3),_0x1b4e3b=this['_parse'](_0x1b4e3b,_0x2c20e3['format']);var _0x464bae=_0x1e6a42[_0x3faee7(0x3fe)](_0x25ab24,_0x2c20e3)[_0x3faee7(0x25b)](_0x1b4e3b[_0x3faee7(0x2c6)]);return _0x464bae;},'_parse':function(_0x2d374a,_0x4c6b39){var _0x2d1307=_0x1a71b7;return typeof _0x2d374a==_0x2d1307(0xf4)?_0x4c6b39[_0x2d1307(0x3ef)](_0x2d374a,this):_0x2d374a;}}),_0x45cd88=_0x43e857[_0x1a71b7(0x19a)]={},_0x41e432=_0x45cd88[_0x1a71b7(0x135)]={'execute':function(_0x3a9e12,_0x5d2ee9,_0x2a7730,_0x99f2f3,_0x5aaaba){var _0x44c360=_0x1a71b7;if(_0x99f2f3||(_0x99f2f3=_0x5e41a4[_0x44c360(0x15f)](0x40/0x8)),_0x5aaaba)var _0x194895=_0x13739a[_0x44c360(0x34f)]({'keySize':_0x5d2ee9+_0x2a7730,'hasher':_0x5aaaba})[_0x44c360(0x220)](_0x3a9e12,_0x99f2f3);else var _0x194895=_0x13739a[_0x44c360(0x34f)]({'keySize':_0x5d2ee9+_0x2a7730})[_0x44c360(0x220)](_0x3a9e12,_0x99f2f3);var _0x113043=_0x5e41a4[_0x44c360(0x34f)](_0x194895[_0x44c360(0x341)][_0x44c360(0x206)](_0x5d2ee9),_0x2a7730*0x4);return _0x194895[_0x44c360(0x3ea)]=_0x5d2ee9*0x4,_0x3f1bee['create']({'key':_0x194895,'iv':_0x113043,'salt':_0x99f2f3});}},_0x160d94=_0x235550[_0x1a71b7(0x385)]=_0x2d5eea['extend']({'cfg':_0x2d5eea['cfg'][_0x1a71b7(0x3b3)]({'kdf':_0x41e432}),'encrypt':function(_0x494ddc,_0x15bb8d,_0x495c38,_0xfd5b8a){var _0x4e5465=_0x1a71b7;_0xfd5b8a=this[_0x4e5465(0x27d)][_0x4e5465(0x3b3)](_0xfd5b8a);var _0x5b80b8=_0xfd5b8a[_0x4e5465(0x19a)][_0x4e5465(0x13e)](_0x495c38,_0x494ddc[_0x4e5465(0xfd)],_0x494ddc[_0x4e5465(0x322)],_0xfd5b8a[_0x4e5465(0x3e3)],_0xfd5b8a[_0x4e5465(0x1a8)]);_0xfd5b8a['iv']=_0x5b80b8['iv'];var _0x458a00=_0x2d5eea[_0x4e5465(0x103)][_0x4e5465(0x1b7)](this,_0x494ddc,_0x15bb8d,_0x5b80b8[_0x4e5465(0x326)],_0xfd5b8a);return _0x458a00[_0x4e5465(0x163)](_0x5b80b8),_0x458a00;},'decrypt':function(_0x42ccd5,_0x57ad42,_0x4123b8,_0x31ea4e){var _0x29b0ca=_0x1a71b7;_0x31ea4e=this[_0x29b0ca(0x27d)][_0x29b0ca(0x3b3)](_0x31ea4e),_0x57ad42=this[_0x29b0ca(0x1c1)](_0x57ad42,_0x31ea4e[_0x29b0ca(0x129)]);var _0x49de55=_0x31ea4e[_0x29b0ca(0x19a)][_0x29b0ca(0x13e)](_0x4123b8,_0x42ccd5[_0x29b0ca(0xfd)],_0x42ccd5['ivSize'],_0x57ad42[_0x29b0ca(0x3e3)],_0x31ea4e[_0x29b0ca(0x1a8)]);_0x31ea4e['iv']=_0x49de55['iv'];var _0x130304=_0x2d5eea[_0x29b0ca(0x21f)][_0x29b0ca(0x1b7)](this,_0x42ccd5,_0x57ad42,_0x49de55[_0x29b0ca(0x326)],_0x31ea4e);return _0x130304;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0x34d539(0x238)],oi;function Qs(){return oi||(oi=0x1,function(_0x444852,_0x805249){(function(_0x5e8c83,_0x3ac618,_0x24d28b){var _0xcf15ed=_0x3b8e;_0x444852[_0xcf15ed(0x238)]=_0x3ac618(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x43801c){var _0x223e29=_0x3b8e;return(function(){var _0x3ef812=_0x3b8e,_0x2cc6db=_0x43801c,_0x1ac79b=_0x2cc6db[_0x3ef812(0x292)],_0x117f09=_0x1ac79b[_0x3ef812(0x3a3)],_0x27110a=_0x2cc6db['algo'],_0x2fa0c9=[],_0x19e507=[],_0x1aac10=[],_0x573fad=[],_0x502b0f=[],_0x543dea=[],_0x483b6f=[],_0x3eb7c5=[],_0x1159aa=[],_0x1389bc=[];(function(){for(var _0x216056=[],_0x4c0c1b=0x0;_0x4c0c1b<0x100;_0x4c0c1b++)_0x4c0c1b<0x80?_0x216056[_0x4c0c1b]=_0x4c0c1b<<0x1:_0x216056[_0x4c0c1b]=_0x4c0c1b<<0x1^0x11b;for(var _0x366e45=0x0,_0x58520e=0x0,_0x4c0c1b=0x0;_0x4c0c1b<0x100;_0x4c0c1b++){var _0x109dbf=_0x58520e^_0x58520e<<0x1^_0x58520e<<0x2^_0x58520e<<0x3^_0x58520e<<0x4;_0x109dbf=_0x109dbf>>>0x8^_0x109dbf&0xff^0x63,_0x2fa0c9[_0x366e45]=_0x109dbf,_0x19e507[_0x109dbf]=_0x366e45;var _0x1e681e=_0x216056[_0x366e45],_0x1fb1f9=_0x216056[_0x1e681e],_0x37a741=_0x216056[_0x1fb1f9],_0x2f8ac=_0x216056[_0x109dbf]*0x101^_0x109dbf*0x1010100;_0x1aac10[_0x366e45]=_0x2f8ac<<0x18|_0x2f8ac>>>0x8,_0x573fad[_0x366e45]=_0x2f8ac<<0x10|_0x2f8ac>>>0x10,_0x502b0f[_0x366e45]=_0x2f8ac<<0x8|_0x2f8ac>>>0x18,_0x543dea[_0x366e45]=_0x2f8ac;var _0x2f8ac=_0x37a741*0x1010101^_0x1fb1f9*0x10001^_0x1e681e*0x101^_0x366e45*0x1010100;_0x483b6f[_0x109dbf]=_0x2f8ac<<0x18|_0x2f8ac>>>0x8,_0x3eb7c5[_0x109dbf]=_0x2f8ac<<0x10|_0x2f8ac>>>0x10,_0x1159aa[_0x109dbf]=_0x2f8ac<<0x8|_0x2f8ac>>>0x18,_0x1389bc[_0x109dbf]=_0x2f8ac,_0x366e45?(_0x366e45=_0x1e681e^_0x216056[_0x216056[_0x216056[_0x37a741^_0x1e681e]]],_0x58520e^=_0x216056[_0x216056[_0x58520e]]):_0x366e45=_0x58520e=0x1;}}());var _0x2cf490=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3b2034=_0x27110a[_0x3ef812(0x27a)]=_0x117f09[_0x3ef812(0x3b3)]({'_doReset':function(){var _0x1f5b16=_0x3ef812,_0xb80ad;if(!(this['_nRounds']&&this[_0x1f5b16(0x174)]===this['_key'])){for(var _0xfcb729=this[_0x1f5b16(0x174)]=this[_0x1f5b16(0x293)],_0x64c6ac=_0xfcb729[_0x1f5b16(0x341)],_0x34a338=_0xfcb729[_0x1f5b16(0x3ea)]/0x4,_0x5d32d0=this['_nRounds']=_0x34a338+0x6,_0x9c9be6=(_0x5d32d0+0x1)*0x4,_0x54669f=this[_0x1f5b16(0x189)]=[],_0xcb6ded=0x0;_0xcb6ded<_0x9c9be6;_0xcb6ded++)_0xcb6ded<_0x34a338?_0x54669f[_0xcb6ded]=_0x64c6ac[_0xcb6ded]:(_0xb80ad=_0x54669f[_0xcb6ded-0x1],_0xcb6ded%_0x34a338?_0x34a338>0x6&&_0xcb6ded%_0x34a338==0x4&&(_0xb80ad=_0x2fa0c9[_0xb80ad>>>0x18]<<0x18|_0x2fa0c9[_0xb80ad>>>0x10&0xff]<<0x10|_0x2fa0c9[_0xb80ad>>>0x8&0xff]<<0x8|_0x2fa0c9[_0xb80ad&0xff]):(_0xb80ad=_0xb80ad<<0x8|_0xb80ad>>>0x18,_0xb80ad=_0x2fa0c9[_0xb80ad>>>0x18]<<0x18|_0x2fa0c9[_0xb80ad>>>0x10&0xff]<<0x10|_0x2fa0c9[_0xb80ad>>>0x8&0xff]<<0x8|_0x2fa0c9[_0xb80ad&0xff],_0xb80ad^=_0x2cf490[_0xcb6ded/_0x34a338|0x0]<<0x18),_0x54669f[_0xcb6ded]=_0x54669f[_0xcb6ded-_0x34a338]^_0xb80ad);for(var _0x399fcd=this[_0x1f5b16(0x357)]=[],_0x3610ba=0x0;_0x3610ba<_0x9c9be6;_0x3610ba++){var _0xcb6ded=_0x9c9be6-_0x3610ba;if(_0x3610ba%0x4)var _0xb80ad=_0x54669f[_0xcb6ded];else var _0xb80ad=_0x54669f[_0xcb6ded-0x4];_0x3610ba<0x4||_0xcb6ded<=0x4?_0x399fcd[_0x3610ba]=_0xb80ad:_0x399fcd[_0x3610ba]=_0x483b6f[_0x2fa0c9[_0xb80ad>>>0x18]]^_0x3eb7c5[_0x2fa0c9[_0xb80ad>>>0x10&0xff]]^_0x1159aa[_0x2fa0c9[_0xb80ad>>>0x8&0xff]]^_0x1389bc[_0x2fa0c9[_0xb80ad&0xff]];}}},'encryptBlock':function(_0x1ae4a1,_0x4819f9){this['_doCryptBlock'](_0x1ae4a1,_0x4819f9,this['_keySchedule'],_0x1aac10,_0x573fad,_0x502b0f,_0x543dea,_0x2fa0c9);},'decryptBlock':function(_0x4cffa7,_0x1de8ff){var _0x47370f=_0x4cffa7[_0x1de8ff+0x1];_0x4cffa7[_0x1de8ff+0x1]=_0x4cffa7[_0x1de8ff+0x3],_0x4cffa7[_0x1de8ff+0x3]=_0x47370f,this['_doCryptBlock'](_0x4cffa7,_0x1de8ff,this['_invKeySchedule'],_0x483b6f,_0x3eb7c5,_0x1159aa,_0x1389bc,_0x19e507);var _0x47370f=_0x4cffa7[_0x1de8ff+0x1];_0x4cffa7[_0x1de8ff+0x1]=_0x4cffa7[_0x1de8ff+0x3],_0x4cffa7[_0x1de8ff+0x3]=_0x47370f;},'_doCryptBlock':function(_0x2decde,_0x1ba092,_0x3606fa,_0x50dbee,_0x58a565,_0x3f9934,_0x3451cf,_0x55fff4){var _0x6f5fb0=_0x3ef812;for(var _0x2042ab=this[_0x6f5fb0(0x340)],_0x429822=_0x2decde[_0x1ba092]^_0x3606fa[0x0],_0x356a5a=_0x2decde[_0x1ba092+0x1]^_0x3606fa[0x1],_0x4d832a=_0x2decde[_0x1ba092+0x2]^_0x3606fa[0x2],_0x548e88=_0x2decde[_0x1ba092+0x3]^_0x3606fa[0x3],_0xdc9b5c=0x4,_0x1aecb8=0x1;_0x1aecb8<_0x2042ab;_0x1aecb8++){var _0x5908ec=_0x50dbee[_0x429822>>>0x18]^_0x58a565[_0x356a5a>>>0x10&0xff]^_0x3f9934[_0x4d832a>>>0x8&0xff]^_0x3451cf[_0x548e88&0xff]^_0x3606fa[_0xdc9b5c++],_0x4353e5=_0x50dbee[_0x356a5a>>>0x18]^_0x58a565[_0x4d832a>>>0x10&0xff]^_0x3f9934[_0x548e88>>>0x8&0xff]^_0x3451cf[_0x429822&0xff]^_0x3606fa[_0xdc9b5c++],_0x58e2cc=_0x50dbee[_0x4d832a>>>0x18]^_0x58a565[_0x548e88>>>0x10&0xff]^_0x3f9934[_0x429822>>>0x8&0xff]^_0x3451cf[_0x356a5a&0xff]^_0x3606fa[_0xdc9b5c++],_0x16e890=_0x50dbee[_0x548e88>>>0x18]^_0x58a565[_0x429822>>>0x10&0xff]^_0x3f9934[_0x356a5a>>>0x8&0xff]^_0x3451cf[_0x4d832a&0xff]^_0x3606fa[_0xdc9b5c++];_0x429822=_0x5908ec,_0x356a5a=_0x4353e5,_0x4d832a=_0x58e2cc,_0x548e88=_0x16e890;}var _0x5908ec=(_0x55fff4[_0x429822>>>0x18]<<0x18|_0x55fff4[_0x356a5a>>>0x10&0xff]<<0x10|_0x55fff4[_0x4d832a>>>0x8&0xff]<<0x8|_0x55fff4[_0x548e88&0xff])^_0x3606fa[_0xdc9b5c++],_0x4353e5=(_0x55fff4[_0x356a5a>>>0x18]<<0x18|_0x55fff4[_0x4d832a>>>0x10&0xff]<<0x10|_0x55fff4[_0x548e88>>>0x8&0xff]<<0x8|_0x55fff4[_0x429822&0xff])^_0x3606fa[_0xdc9b5c++],_0x58e2cc=(_0x55fff4[_0x4d832a>>>0x18]<<0x18|_0x55fff4[_0x548e88>>>0x10&0xff]<<0x10|_0x55fff4[_0x429822>>>0x8&0xff]<<0x8|_0x55fff4[_0x356a5a&0xff])^_0x3606fa[_0xdc9b5c++],_0x16e890=(_0x55fff4[_0x548e88>>>0x18]<<0x18|_0x55fff4[_0x429822>>>0x10&0xff]<<0x10|_0x55fff4[_0x356a5a>>>0x8&0xff]<<0x8|_0x55fff4[_0x4d832a&0xff])^_0x3606fa[_0xdc9b5c++];_0x2decde[_0x1ba092]=_0x5908ec,_0x2decde[_0x1ba092+0x1]=_0x4353e5,_0x2decde[_0x1ba092+0x2]=_0x58e2cc,_0x2decde[_0x1ba092+0x3]=_0x16e890;},'keySize':0x100/0x20});_0x2cc6db[_0x3ef812(0x27a)]=_0x117f09[_0x3ef812(0x283)](_0x3b2034);}()),_0x43801c[_0x223e29(0x27a)];}));}(We)),We['exports'];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x34d539(0x238)],ci;function sr(){var _0x1ed567=_0x34d539;return ci||(ci=0x1,function(_0x242638,_0x942cab){(function(_0x1b07e4,_0x4a21f1){var _0x1cb1ad=_0x3b8e;_0x242638[_0x1cb1ad(0x238)]=_0x4a21f1(ne());}(nr,function(_0x36da7e){var _0x1a5cec=_0x3b8e;return _0x36da7e[_0x1a5cec(0x36a)]['Utf8'];}));}(Ze)),Ze[_0x1ed567(0x238)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe['exports'],hi;function cr(){return hi||(hi=0x1,function(_0x1e1b65,_0x2cdd61){(function(_0x4ac75a,_0x1d9ac9){var _0x162f04=_0x3b8e;_0x1e1b65[_0x162f04(0x238)]=_0x1d9ac9(ne());}(ar,function(_0x2fd029){var _0x380cb5=_0x3b8e;return(function(){var _0x1f81ba=_0x3b8e;if(typeof ArrayBuffer==_0x1f81ba(0x164)){var _0x571ac3=_0x2fd029,_0x44ab26=_0x571ac3['lib'],_0x4bfdab=_0x44ab26[_0x1f81ba(0x335)],_0x590dc2=_0x4bfdab[_0x1f81ba(0x21b)],_0x169a74=_0x4bfdab['init']=function(_0x41790d){var _0x5022cf=_0x1f81ba;if(_0x41790d instanceof ArrayBuffer&&(_0x41790d=new Uint8Array(_0x41790d)),(_0x41790d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x41790d instanceof Uint8ClampedArray||_0x41790d instanceof Int16Array||_0x41790d instanceof Uint16Array||_0x41790d instanceof Int32Array||_0x41790d instanceof Uint32Array||_0x41790d instanceof Float32Array||_0x41790d instanceof Float64Array)&&(_0x41790d=new Uint8Array(_0x41790d[_0x5022cf(0x23a)],_0x41790d[_0x5022cf(0x2dd)],_0x41790d['byteLength'])),_0x41790d instanceof Uint8Array){for(var _0x26c517=_0x41790d[_0x5022cf(0x14b)],_0x1e8d6d=[],_0x1ddeb8=0x0;_0x1ddeb8<_0x26c517;_0x1ddeb8++)_0x1e8d6d[_0x1ddeb8>>>0x2]|=_0x41790d[_0x1ddeb8]<<0x18-_0x1ddeb8%0x4*0x8;_0x590dc2['call'](this,_0x1e8d6d,_0x26c517);}else _0x590dc2[_0x5022cf(0x314)](this,arguments);};_0x169a74[_0x1f81ba(0x403)]=_0x4bfdab;}}()),_0x2fd029[_0x380cb5(0x292)][_0x380cb5(0x335)];}));}(Qe)),Qe['exports'];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0x10fd17=_0x34d539;return _i||(_i=0x1,function(_0x4633b,_0x350f86){(function(_0x48a64d,_0x186af6,_0x4c37df){var _0x3af0f2=_0x3b8e;_0x4633b[_0x3af0f2(0x238)]=_0x186af6(ne(),Ai());}(lr,function(_0xd07b1a){var _0x3e838b=_0x3b8e;return _0xd07b1a[_0x3e838b(0x184)][_0x3e838b(0x152)]={'pad':function(){},'unpad':function(){}},_0xd07b1a[_0x3e838b(0x184)]['NoPadding'];}));}(et)),et[_0x10fd17(0x238)];}var dr=ur();const fr=je(dr);function vr(_0x38b587,_0x5c10fa){var _0x18e35d=_0x34d539;const _0x21b4d2=_0x5c10fa-_0x38b587[_0x18e35d(0x193)]%_0x5c10fa,_0x171194=String[_0x18e35d(0x3fd)](_0x21b4d2)[_0x18e35d(0x19f)](_0x21b4d2);return _0x38b587+_0x171194;}function pr(_0x2b9b29,_0x439f39){var _0x303eb0=_0x34d539;const _0xbee0bc=_r[_0x303eb0(0x15f)](0x10),_0x2742fa=vr(_0x2b9b29,0x10),_0x4358ba=tr[_0x303eb0(0x103)](or['parse'](_0x2742fa),ai[_0x303eb0(0x3ef)](_0x439f39),{'iv':_0xbee0bc,'padding':fr});return _0xbee0bc['concat'](_0x4358ba[_0x303eb0(0x2c6)])[_0x303eb0(0x2db)](ai);}function gr(){var _0x3e6790=_0x34d539;const _0x225d71=_0x354a35()[_0x3e6790(0x2ac)];if(_0x225d71){const _0x12d8f6={'time':Math['floor'](Date[_0x3e6790(0x23b)]()/0x3e8),'domain':location[_0x3e6790(0x15e)]};return pr(JSON[_0x3e6790(0x35e)](_0x12d8f6),_0x225d71);}}var mr=Object[_0x34d539(0x257)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x52e800,_0x46824c,_0x32b7a2,_0x488708)=>{var _0x22e3bd=_0x34d539;for(var _0x2df705=_0x488708>0x1?void 0x0:_0x488708?Sr(_0x46824c,_0x32b7a2):_0x46824c,_0x2d185c=_0x52e800[_0x22e3bd(0x193)]-0x1,_0x14c104;_0x2d185c>=0x0;_0x2d185c--)(_0x14c104=_0x52e800[_0x2d185c])&&(_0x2df705=(_0x488708?_0x14c104(_0x46824c,_0x32b7a2,_0x2df705):_0x14c104(_0x2df705))||_0x2df705);return _0x488708&&_0x2df705&&mr(_0x46824c,_0x32b7a2,_0x2df705),_0x2df705;},Ir=(_0x12a478,_0x31fdd9)=>(_0x1d811d,_0x36162f)=>_0x31fdd9(_0x1d811d,_0x36162f,_0x12a478);let at=class{constructor(_0x4dba5b){var _0x15f92d=_0x34d539;this['_httpService']=_0x4dba5b,this[_0x15f92d(0x141)]();}[_0x34d539(0x141)](){var _0x31b9d8=_0x34d539;this[_0x31b9d8(0x3c6)][_0x31b9d8(0x37e)]({'interceptor':(_0x10cca3,_0x21e343)=>{var _0x2beb1e=_0x31b9d8;const _0x2425b8=_0x10cca3[_0x2beb1e(0x2bc)],_0x21e788=gr();return _0x21e788&&_0x2425b8[_0x2beb1e(0x35c)](_0x2beb1e(0x39e),_0x21e788),_0x21e343(_0x10cca3);}});}};at=Er([Ir(0x0,_0x36ffd1(_0x37d339))],at);var Tr=Object[_0x34d539(0x257)],Cr=Object[_0x34d539(0x3a8)],br=(_0x37a789,_0x1e660b,_0x3a5768,_0x3401c3)=>{for(var _0x42b041=_0x3401c3>0x1?void 0x0:_0x3401c3?Cr(_0x1e660b,_0x3a5768):_0x1e660b,_0x17e6d8=_0x37a789['length']-0x1,_0x342f2c;_0x17e6d8>=0x0;_0x17e6d8--)(_0x342f2c=_0x37a789[_0x17e6d8])&&(_0x42b041=(_0x3401c3?_0x342f2c(_0x1e660b,_0x3a5768,_0x42b041):_0x342f2c(_0x42b041))||_0x42b041);return _0x3401c3&&_0x42b041&&Tr(_0x1e660b,_0x3a5768,_0x42b041),_0x42b041;},mt=(_0x2a8459,_0x1ba873)=>(_0x1014e7,_0x5cf37a)=>_0x1ba873(_0x1014e7,_0x5cf37a,_0x2a8459);let Ot=class extends _0x280b11{constructor(_0x59df07,_0xb26ecb,_0x4d8e1c){var _0x37fb41=_0x34d539;super(),D(this,_0x37fb41(0x1c6),new _0x367720(null)),D(this,'unitInfo$',this[_0x37fb41(0x1c6)][_0x37fb41(0x2ec)]()),(this[_0x37fb41(0x3d3)]=_0x59df07,this[_0x37fb41(0x24d)]=_0xb26ecb,this[_0x37fb41(0x2d7)]=_0x4d8e1c);}async[_0x34d539(0x384)](_0x5ecbbc,_0x1a1bec,_0x35320a){var _0x2debc2=_0x34d539;this['_unitInfo$'][_0x2debc2(0x24f)]({'unitId':_0x5ecbbc,'type':_0x1a1bec,'subUnitId':_0x35320a});let _0x228b7d=null;switch(_0x1a1bec){case Q[_0x2debc2(0x3d5)]:{_0x228b7d=await this[_0x2debc2(0x159)](_0x5ecbbc);break;}case Q[_0x2debc2(0x14a)]:{_0x228b7d=await this['_loadDoc'](_0x5ecbbc);break;}default:{this[_0x2debc2(0x3d3)][_0x2debc2(0x37a)](_0x2debc2(0x38e),_0x2debc2(0x2e6));break;}}return _0x228b7d;}async[_0x34d539(0x159)](_0x6c2cd9){var _0x4e10e6=_0x34d539,_0x419738;let _0xfb01f5=0x0;const _0x3ab8d6=await((_0x419738=this['_localCacheService'])==null?void 0x0:_0x419738['loadOfflineData'](_0x6c2cd9));return _0x3ab8d6&&(_0x3ab8d6[_0x4e10e6(0x14f)]||_0x3ab8d6[_0x4e10e6(0x38c)][_0x4e10e6(0x193)]!==0x0)&&(_0xfb01f5=_0x3ab8d6[_0x4e10e6(0x10f)]),_0xfb01f5===0x0&&this[_0x4e10e6(0x3d3)]['debug'](_0x4e10e6(0x38e),_0x4e10e6(0x18c)),this[_0x4e10e6(0x24d)][_0x4e10e6(0x32c)](_0x6c2cd9,_0xfb01f5);}async[_0x34d539(0x3ba)](_0x90bbb){var _0x3fb8c5=_0x34d539,_0x112a07;let _0x107340=0x0;const _0x17c7d0=await((_0x112a07=this[_0x3fb8c5(0x2d7)])==null?void 0x0:_0x112a07['loadOfflineData'](_0x90bbb));return _0x17c7d0&&(_0x17c7d0[_0x3fb8c5(0x14f)]||_0x17c7d0[_0x3fb8c5(0x38c)][_0x3fb8c5(0x193)]!==0x0)&&(_0x107340=_0x17c7d0[_0x3fb8c5(0x10f)]),_0x107340===0x0&&this['_logService'][_0x3fb8c5(0x27b)](_0x3fb8c5(0x38e),_0x3fb8c5(0x18c)),this[_0x3fb8c5(0x24d)][_0x3fb8c5(0x37d)](_0x90bbb,_0x107340);}};Ot=br([mt(0x0,_0x1141f5),mt(0x1,_0x36ffd1(_0x4daeb7)),mt(0x2,_0x2a417f(X))],Ot);var Rr=Object['defineProperty'],yr=Object[_0x34d539(0x3a8)],Or=(_0x50cada,_0x5118d5,_0x3b1337,_0x552059)=>{var _0x28cc34=_0x34d539;for(var _0x381fd8=_0x552059>0x1?void 0x0:_0x552059?yr(_0x5118d5,_0x3b1337):_0x5118d5,_0x3b321e=_0x50cada[_0x28cc34(0x193)]-0x1,_0x477905;_0x3b321e>=0x0;_0x3b321e--)(_0x477905=_0x50cada[_0x3b321e])&&(_0x381fd8=(_0x552059?_0x477905(_0x5118d5,_0x3b1337,_0x381fd8):_0x477905(_0x381fd8))||_0x381fd8);return _0x552059&&_0x381fd8&&Rr(_0x5118d5,_0x3b1337,_0x381fd8),_0x381fd8;},St=(_0x576b7d,_0x1cbcc5)=>(_0x181995,_0x5ca660)=>_0x1cbcc5(_0x181995,_0x5ca660,_0x576b7d);const Pr=[_0x34d539(0x28a),_0x34d539(0x2ea),_0x34d539(0x1b5),'image/gif',_0x34d539(0x349)],Nr=0x5*0x400*0x400,Dr=_0x34d539(0x126),wr=_0x34d539(0x3b8),Ur=_0x34d539(0x1dd),Ar=_0x34d539(0x3f4);let Pt=class{constructor(_0x3d9954,_0x20d83f,_0x35d5dc){var _0x1c4699=_0x34d539;D(this,_0x1c4699(0x284),0x0),D(this,_0x1c4699(0x274),new _0x11e05e()),D(this,_0x1c4699(0x112),this['_change$']),D(this,_0x1c4699(0x111),new Map()),(this[_0x1c4699(0x3c6)]=_0x3d9954,this[_0x1c4699(0x256)]=_0x20d83f,this[_0x1c4699(0x323)]=_0x35d5dc);}[_0x34d539(0x20f)](_0x484cf3){var _0x48266b=_0x34d539;this[_0x48266b(0x284)]=_0x484cf3,this[_0x48266b(0x274)]['next'](_0x484cf3);}[_0x34d539(0x195)](_0x38e10c,_0x1ba315){var _0xdeb50e=_0x34d539;if(_0x1ba315===_0x44966f[_0xdeb50e(0x1f3)]){const _0x36f195=new Image();return _0x36f195[_0xdeb50e(0x28c)]=_0x38e10c,_0x36f195;}return this[_0xdeb50e(0x111)][_0xdeb50e(0x300)](_0x38e10c);}[_0x34d539(0x356)](_0x41dc99,_0x487a47,_0x5516ee){var _0x3b9a45=_0x34d539;_0x487a47===_0x44966f['BASE64']||_0x5516ee==null||this[_0x3b9a45(0x111)][_0x3b9a45(0x35c)](_0x41dc99,_0x5516ee);}async[_0x34d539(0x270)](_0x4589c4){var _0x2bfc61=_0x34d539;try{const _0x33d52a=this[_0x2bfc61(0x32f)](this[_0x2bfc61(0xf1)](),''+_0x4589c4),_0x221518=(await this[_0x2bfc61(0x3c6)][_0x2bfc61(0x300)](_0x33d52a))[_0x2bfc61(0x124)];if(_0x221518[_0x2bfc61(0x37a)]&&_0x221518[_0x2bfc61(0x37a)][_0x2bfc61(0x394)]===Ii['OK']){const _0x30c371=new URL(_0x221518[_0x2bfc61(0x207)],this[_0x2bfc61(0x1f1)]())[_0x2bfc61(0x2db)]();return Promise['resolve'](_0x30c371);}return Promise[_0x2bfc61(0x20c)](_0x221518['error']);}catch(_0x25876c){return Promise[_0x2bfc61(0x20c)](_0x25876c);}}async[_0x34d539(0x113)](_0x1b3140){var _0x47a69a=_0x34d539;let _0x1c3aa7='';if(!Pr[_0x47a69a(0x3aa)](_0x1b3140['type']))return this[_0x47a69a(0x196)](),Promise[_0x47a69a(0x20c)](new Error(_0x49d4ec[_0x47a69a(0x2b2)]));if(_0x1b3140[_0x47a69a(0x2a0)]>Nr)return this['_decreaseWaiting'](),Promise[_0x47a69a(0x20c)](new Error(_0x49d4ec[_0x47a69a(0x313)]));try{const _0x3c4a1a=new FormData();_0x3c4a1a[_0x47a69a(0x1fe)](_0x47a69a(0xf8),_0x1b3140);const _0xbbcaae=this[_0x47a69a(0x323)][_0x47a69a(0x342)](),_0x3b1349=_0xbbcaae==null?void 0x0:_0xbbcaae[_0x47a69a(0x17b)]();if(!_0x3b1349)throw new Error(_0x47a69a(0x305));const _0x56975b=this[_0x47a69a(0x2da)]()+_0x47a69a(0x2a5)+_0x1b3140['size']['toString']()+_0x47a69a(0x11f)+Ti[_0x47a69a(0x19c)]+_0x47a69a(0x34b)+encodeURIComponent(_0x3b1349),_0x239a3b=await(await fetch(_0x56975b,{'method':_0x47a69a(0x18e),'body':_0x3c4a1a}))[_0x47a69a(0x406)]();if(typeof _0x239a3b[_0x47a69a(0x396)]!=_0x47a69a(0xf4))return this[_0x47a69a(0x196)](),Promise[_0x47a69a(0x20c)](new Error(_0x49d4ec[_0x47a69a(0x1a0)]));_0x1c3aa7=_0x239a3b['FileId'];}catch{return this[_0x47a69a(0x196)](),Promise[_0x47a69a(0x20c)](new Error(_0x49d4ec[_0x47a69a(0x1a0)]));}return new Promise((_0xecccee,_0x452f9a)=>{var _0x20ace2=_0x47a69a;const _0x59ecee=new FileReader();_0x59ecee[_0x20ace2(0x3ac)](_0x1b3140),_0x59ecee[_0x20ace2(0x1b6)]=_0x45c52a=>{var _0x130f53=_0x20ace2,_0x2c34ef;const _0xf73dc=(_0x2c34ef=_0x45c52a['target'])==null?void 0x0:_0x2c34ef[_0x130f53(0x1e3)];if(_0xf73dc==null){this[_0x130f53(0x196)](),_0x452f9a(new Error(_0x49d4ec['ERROR_IMAGE']));return;}const _0x18fe89=_0x3843b[_0x130f53(0x362)](0x6);_0xecccee({'imageId':_0x18fe89,'imageSourceType':_0x44966f[_0x130f53(0x387)],'source':_0x1c3aa7,'base64Cache':_0xf73dc,'status':_0x49d4ec[_0x130f53(0x352)]}),this['_decreaseWaiting']();};});}[_0x34d539(0x2da)](){var _0x5392d9=_0x34d539,_0x29447e,_0x4efa35;const _0x41e850=this[_0x5392d9(0x256)][_0x5392d9(0x3e5)](Dr),_0x201d92=this[_0x5392d9(0x256)]['getConfig'](Y);return(_0x4efa35=(_0x29447e=_0x201d92==null?void 0x0:_0x201d92[_0x5392d9(0x3df)])!=null?_0x29447e:_0x41e850)!=null?_0x4efa35:wr;}['_getSignURL'](){var _0x3aaed4=_0x34d539,_0x12e1da,_0x15f1b1;const _0x3977f4=this[_0x3aaed4(0x256)][_0x3aaed4(0x3e5)](Ur),_0x55728b=this['_configService'][_0x3aaed4(0x3e5)](Y);return(_0x15f1b1=(_0x12e1da=_0x55728b==null?void 0x0:_0x55728b[_0x3aaed4(0x137)])!=null?_0x12e1da:_0x3977f4)!=null?_0x15f1b1:Ar;}['_getDownloadEndpointURL'](){var _0x25f094=_0x34d539,_0x1e4c7c;const _0x5527cf=this[_0x25f094(0x256)][_0x25f094(0x3e5)](Y);return(_0x1e4c7c=_0x5527cf==null?void 0x0:_0x5527cf[_0x25f094(0x33e)])!=null?_0x1e4c7c:location[_0x25f094(0x231)];}[_0x34d539(0x32f)](_0x23af60,_0x1baa72){var _0x4d180e=_0x34d539;return _0x23af60[_0x4d180e(0x134)](_0x4d180e(0x3c5),_0x1baa72);}[_0x34d539(0x196)](){var _0x2979e4=_0x34d539;this[_0x2979e4(0x284)]-=0x1,this[_0x2979e4(0x274)][_0x2979e4(0x24f)](this[_0x2979e4(0x284)]);}};Pt=Or([St(0x0,_0x36ffd1(_0x37d339)),St(0x1,_0x3c1aae),St(0x2,_0x36ffd1(_0x21b5bb))],Pt);var xr=Object[_0x34d539(0x257)],Lr=Object[_0x34d539(0x3a8)],Mr=(_0x3a7c4b,_0x5d03b0,_0x2c3bf5,_0x216e9e)=>{var _0x383fd8=_0x34d539;for(var _0x8a0c2d=_0x216e9e>0x1?void 0x0:_0x216e9e?Lr(_0x5d03b0,_0x2c3bf5):_0x5d03b0,_0x4fb990=_0x3a7c4b[_0x383fd8(0x193)]-0x1,_0x570784;_0x4fb990>=0x0;_0x4fb990--)(_0x570784=_0x3a7c4b[_0x4fb990])&&(_0x8a0c2d=(_0x216e9e?_0x570784(_0x5d03b0,_0x2c3bf5,_0x8a0c2d):_0x570784(_0x8a0c2d))||_0x8a0c2d);return _0x216e9e&&_0x8a0c2d&&xr(_0x5d03b0,_0x2c3bf5,_0x8a0c2d),_0x8a0c2d;},li=(_0x589e5b,_0x3f2579)=>(_0x257ffd,_0x217f05)=>_0x3f2579(_0x257ffd,_0x217f05,_0x589e5b);const $r=_0x34d539(0x216);let Nt=class{constructor(_0x2270d4,_0x2f4c9f){var _0xf3e6e3=_0x34d539;this['_configService']=_0x2270d4,this[_0xf3e6e3(0x27c)]=_0x2f4c9f;}['_getAPIPrefixPath'](){var _0x2f7ea9=_0x34d539,_0x11e4bd,_0x17076c;const _0x5e0e46=this['_configService'][_0x2f7ea9(0x3e5)](Di),_0x342562=this[_0x2f7ea9(0x256)]['getConfig'](Y);return(_0x17076c=(_0x11e4bd=_0x342562==null?void 0x0:_0x342562[_0x2f7ea9(0x153)])!=null?_0x11e4bd:_0x5e0e46)!=null?_0x17076c:$r;}async[_0x34d539(0x204)](_0x4e0a21){var _0x199232=_0x34d539;const _0x406253=this[_0x199232(0x2fb)]()+_0x199232(0x2c5);return{'list':[{'title':_0x199232(0x16d),'mentions':(await this[_0x199232(0x27c)]['get'](_0x406253,{'params':{'objectID':_0x4e0a21['unitId'],'unitID':_0x4e0a21[_0x199232(0x194)]}}))['body'][_0x199232(0x1b9)]['map'](_0x51c406=>({'objectId':_0x51c406['id'],'name':_0x51c406['subject'][_0x199232(0x38f)],'metadata':{'icon':_0x51c406[_0x199232(0x26d)][_0x199232(0x269)]},'label':_0x51c406[_0x199232(0x26d)][_0x199232(0x38f)],'objectType':_0x332b22[_0x199232(0x308)]})),'metadata':{},'type':_0x332b22[_0x199232(0x308)]}]};}};Nt=Mr([li(0x0,_0x36ffd1(_0x3c1aae)),li(0x1,_0x36ffd1(_0x37d339))],Nt);var Hr=Object[_0x34d539(0x257)],kr=Object[_0x34d539(0x3a8)],jr=(_0x4834e4,_0x124663,_0x506b9d,_0x53662a)=>{for(var _0x181bc4=_0x53662a>0x1?void 0x0:_0x53662a?kr(_0x124663,_0x506b9d):_0x124663,_0x5de5ef=_0x4834e4['length']-0x1,_0x5e57d0;_0x5de5ef>=0x0;_0x5de5ef--)(_0x5e57d0=_0x4834e4[_0x5de5ef])&&(_0x181bc4=(_0x53662a?_0x5e57d0(_0x124663,_0x506b9d,_0x181bc4):_0x5e57d0(_0x181bc4))||_0x181bc4);return _0x53662a&&_0x181bc4&&Hr(_0x124663,_0x506b9d,_0x181bc4),_0x181bc4;},Se=(_0xd04234,_0x1198ff)=>(_0x46abb4,_0xebfd32)=>_0x1198ff(_0x46abb4,_0xebfd32,_0xd04234);let ct=class extends _0x280b11{constructor(_0x47a357,_0x42a6ef,_0x28ea52,_0x5e4b7c,_0x1d09d2,_0x50cd47,_0x1018e9){var _0xe4f11c=_0x34d539;super(),this[_0xe4f11c(0x267)]=_0x47a357,this[_0xe4f11c(0x323)]=_0x42a6ef,this[_0xe4f11c(0x190)]=_0x28ea52,this['_collaborationSessionService']=_0x5e4b7c,this[_0xe4f11c(0x1a2)]=_0x1d09d2,this[_0xe4f11c(0x30c)]=_0x50cd47,this[_0xe4f11c(0x1b1)]=_0x1018e9,this[_0xe4f11c(0x30d)](),this[_0xe4f11c(0x1de)]();}[_0x34d539(0x1de)](){var _0x120ad2=_0x34d539;const _0x2b15ad=async _0x2cae71=>{var _0x120bee=_0x3b8e;(await this[_0x120bee(0x35d)][_0x120bee(0x146)](_0x2cae71))[_0x120bee(0x31a)]['pipe'](_0xd166ea(_0x2e871e=>_0x2e871e[_0x120bee(0x319)]===_0x12192b[_0x120bee(0x27e)]),_0x234c88(this[_0x120bee(0x10c)]))['subscribe'](_0x434801=>{var _0x24d6b0=_0x120bee;const _0x49e1f2=_0x434801,{reason:_0x3bbb35}=_0x49e1f2[_0x24d6b0(0x265)];this[_0x24d6b0(0x1a2)][_0x24d6b0(0x140)]({'id':se[_0x24d6b0(0x3be)],'data':_0x3bbb35}),this[_0x24d6b0(0x190)]['updatePermissionPoint'](new _0x4dbfb7(_0x2cae71)['id'],!0x1),this[_0x24d6b0(0x35d)]['closeSession'](_0x2cae71);});};_0x53e3df(this[_0x120ad2(0x323)][_0x120ad2(0x277)](_0x4cef19[_0x120ad2(0x3d5)]),this[_0x120ad2(0x323)][_0x120ad2(0x277)](_0x4cef19[_0x120ad2(0x14a)]))[_0x120ad2(0x3d2)](_0x5b1134(_0xa2468a=>_0xa2468a[_0x120ad2(0x17b)]()),_0xd166ea(_0x1b5140=>!_0x4e2276(_0x1b5140)),_0x234c88(this[_0x120ad2(0x10c)]))[_0x120ad2(0x3c0)](_0x92bb=>{_0x2b15ad(_0x92bb);});}[_0x34d539(0x30d)](){var _0x807ecf=_0x34d539;const _0x29e9c0=async _0x10182d=>{var _0x120816=_0x3b8e;(await this[_0x120816(0x35d)]['requireSession'](_0x10182d))['event$'][_0x120816(0x3d2)](_0xd166ea(_0x5bdfec=>_0x5bdfec[_0x120816(0x319)]===_0x12192b[_0x120816(0x337)]),_0x234c88(this['dispose$']))[_0x120816(0x3c0)](_0x3a7c94=>{var _0x4dc2d5=_0x120816;const _0x59510a=_0x3a7c94,{objectId:_0x412c23}=_0x59510a[_0x4dc2d5(0x265)];_0x412c23===_0x10182d?this['initWorkbookPermissionChange'](_0x10182d):this['refreshPermission'](_0x10182d,_0x412c23);});};_0x53e3df(this[_0x807ecf(0x323)][_0x807ecf(0x277)](_0x4cef19[_0x807ecf(0x3d5)]),this[_0x807ecf(0x323)][_0x807ecf(0x277)](_0x4cef19[_0x807ecf(0x14a)]))['pipe'](_0x5b1134(_0x24c5bc=>_0x24c5bc[_0x807ecf(0x17b)]()),_0xd166ea(_0x4bdc9c=>!_0x4e2276(_0x4bdc9c)),_0x234c88(this[_0x807ecf(0x10c)]))['subscribe'](_0x3efa75=>{_0x29e9c0(_0x3efa75);});}async[_0x34d539(0x12d)](_0x574c06){var _0x49a343=_0x34d539,_0x332142;const _0x28ea40=_0x574c06||((_0x332142=this[_0x49a343(0x323)]['getCurrentUnitForType'](_0x4cef19[_0x49a343(0x3d5)]))==null?void 0x0:_0x332142[_0x49a343(0x17b)]());_0x28ea40&&this[_0x49a343(0x30c)][_0x49a343(0x34a)]({'objectID':_0x28ea40,'objectType':_0x516b63[_0x49a343(0x2ad)],'unitID':_0x28ea40,'actions':_0x1a29a3})[_0x49a343(0x237)](_0x350164=>{var _0x3b6f27=_0x49a343;_0x2555dd()[_0x3b6f27(0x22a)](_0x54cfb7=>{var _0x336e91=_0x3b6f27;const _0x355394=new _0x54cfb7(_0x28ea40),_0x1d7eb1=_0x355394[_0x336e91(0x2ca)],_0x19079a=_0x350164[_0x336e91(0x1d7)](_0x3127ac=>_0x3127ac['action']===_0x1d7eb1);_0x19079a&&this[_0x336e91(0x190)]['updatePermissionPoint'](_0x355394['id'],_0x19079a[_0x336e91(0x34a)]);});});}[_0x34d539(0x3cc)](_0x427288,_0x813973){var _0x5b89c7=_0x34d539;const _0x5bba81=this[_0x5b89c7(0x267)][_0x5b89c7(0x300)](_0x36cbb9),_0x211fde=_0x5bba81['getTargetByPermissionId'](_0x427288,_0x813973);let _0x3eb5c0=!0x1;if(_0x211fde){const [_0x1039cc,_0x142e95]=_0x211fde;this[_0x5b89c7(0x30c)][_0x5b89c7(0x34a)]({'objectID':_0x813973,'unitID':_0x427288,'objectType':_0x516b63[_0x5b89c7(0x3b6)],'actions':_0x3a5624})[_0x5b89c7(0x237)](_0x534293=>{var _0x5afeaa=_0x5b89c7;let _0x2ab645='';_0x44ad6b()['forEach'](_0x4b09bb=>{var _0x5ac13b=_0x3b8e,_0x22d70f;const _0x2f95d1=new _0x4b09bb(_0x427288,_0x142e95),_0x5e9589=_0x2f95d1[_0x5ac13b(0x2ca)],_0x12eb01=_0x534293[_0x5ac13b(0x1d7)](_0xa9229d=>_0xa9229d[_0x5ac13b(0x2ba)]===_0x5e9589);_0x12eb01&&(((_0x22d70f=this[_0x5ac13b(0x190)][_0x5ac13b(0x170)](_0x2f95d1['id']))==null?void 0x0:_0x22d70f['value'])!==_0x12eb01[_0x5ac13b(0x34a)]&&(_0x3eb5c0=!0x0),this[_0x5ac13b(0x190)]['updatePermissionPoint'](_0x2f95d1['id'],_0x12eb01[_0x5ac13b(0x34a)]),_0x2ab645+=_0x12eb01['action']+'_'+_0x12eb01['allowed']);}),_0x5bba81[_0x5afeaa(0x10d)](_0x813973+'_'+_0x2ab645),_0x3eb5c0&&this['_undoRedoService']['clearUndoRedo'](_0x427288);});}const _0x449703=this[_0x5b89c7(0x267)][_0x5b89c7(0x300)](_0x5298a7)[_0x5b89c7(0x215)](_0x427288,_0x813973);if(_0x449703){const [_0x5a3268,_0x2c6cf7]=_0x449703;this[_0x5b89c7(0x30c)][_0x5b89c7(0x34a)]({'objectID':_0x813973,'unitID':_0x427288,'objectType':_0x516b63[_0x5b89c7(0x3b6)],'actions':_0x1d0734})['then'](_0x3446a5=>{var _0x1cbb37=_0x5b89c7;_0x3d5bed()['forEach'](_0x2ea73d=>{var _0x2ad3bc=_0x3b8e,_0x43c419;const _0x38f7f2=new _0x2ea73d(_0x427288,_0x2c6cf7),_0x4286e5=_0x38f7f2[_0x2ad3bc(0x2ca)],_0x2f0010=_0x3446a5[_0x2ad3bc(0x1d7)](_0x4496cc=>_0x4496cc['action']===_0x4286e5);_0x2f0010&&(((_0x43c419=this[_0x2ad3bc(0x190)][_0x2ad3bc(0x170)](_0x38f7f2['id']))==null?void 0x0:_0x43c419[_0x2ad3bc(0x2e5)])!==_0x2f0010['allowed']&&(_0x3eb5c0=!0x0),this[_0x2ad3bc(0x190)][_0x2ad3bc(0x29c)](_0x38f7f2['id'],_0x2f0010['allowed']));}),_0x3eb5c0&&this[_0x1cbb37(0x1b1)]['clearUndoRedo'](_0x427288);});}const _0x29c8b6=this[_0x5b89c7(0x267)]['get'](_0xd2cbc7),_0x428714=_0x29c8b6[_0x5b89c7(0x215)](_0x427288,_0x813973);if(_0x428714){const [_0x1534e4,_0x544ba9]=_0x428714;this[_0x5b89c7(0x30c)][_0x5b89c7(0x34a)]({'objectID':_0x813973,'unitID':_0x427288,'objectType':_0x516b63[_0x5b89c7(0x13d)],'actions':_0x3a5624})[_0x5b89c7(0x237)](_0x1dd26a=>{var _0x388f14=_0x5b89c7;let _0x11e610='';_0x34f39a()['forEach'](_0x1cdd7e=>{var _0x5061cd=_0x3b8e,_0x226009;const _0x1ea6a4=new _0x1cdd7e(_0x427288,_0x544ba9,_0x813973),_0x1360bc=_0x1ea6a4[_0x5061cd(0x2ca)],_0x3d4266=_0x1dd26a[_0x5061cd(0x1d7)](_0x29c984=>_0x29c984[_0x5061cd(0x2ba)]===_0x1360bc);_0x3d4266&&(((_0x226009=this['_permissionService'][_0x5061cd(0x170)](_0x1ea6a4['id']))==null?void 0x0:_0x226009[_0x5061cd(0x2e5)])!==_0x3d4266[_0x5061cd(0x34a)]&&(_0x3eb5c0=!0x0),this[_0x5061cd(0x190)]['updatePermissionPoint'](_0x1ea6a4['id'],_0x3d4266[_0x5061cd(0x34a)]),_0x11e610+=_0x3d4266['action']+'_'+_0x3d4266[_0x5061cd(0x34a)]);}),_0x29c8b6[_0x388f14(0x10d)](_0x813973+'_'+_0x11e610),_0x3eb5c0&&this['_undoRedoService']['clearUndoRedo'](_0x427288);});}}};ct=jr([Se(0x0,_0x36ffd1(_0xb63fc9)),Se(0x1,_0x21b5bb),Se(0x2,_0x89cb60),Se(0x3,_0x36ffd1(Me)),Se(0x4,_0x36ffd1(pe)),Se(0x5,_0x4203d3),Se(0x6,_0x45aef5)],ct);var Br=Object['defineProperty'],Fr=Object[_0x34d539(0x3a8)],Vr=(_0x497a18,_0x24c88c,_0x26ff42,_0x2a4209)=>{for(var _0x9c2b73=_0x2a4209>0x1?void 0x0:_0x2a4209?Fr(_0x24c88c,_0x26ff42):_0x24c88c,_0x2dba30=_0x497a18['length']-0x1,_0x49783f;_0x2dba30>=0x0;_0x2dba30--)(_0x49783f=_0x497a18[_0x2dba30])&&(_0x9c2b73=(_0x2a4209?_0x49783f(_0x24c88c,_0x26ff42,_0x9c2b73):_0x49783f(_0x9c2b73))||_0x9c2b73);return _0x2a4209&&_0x9c2b73&&Br(_0x24c88c,_0x26ff42,_0x9c2b73),_0x9c2b73;},ui=(_0x13f0d0,_0x3a893e)=>(_0x560b3e,_0x2f3117)=>_0x3a893e(_0x560b3e,_0x2f3117,_0x13f0d0);let Dt=class{constructor(_0xcf6ce0,_0x216a36){var _0x2f5554=_0x34d539;this[_0x2f5554(0x256)]=_0xcf6ce0,this['_httpService']=_0x216a36;}async[_0x34d539(0x3e0)](_0x475df0,_0x3084cc){var _0x148386=_0x34d539,_0x5e20d9;const {unitID:_0x51f927,type:_0x1519bb,revision:_0xdb2ff6=0x0}=_0x3084cc,_0x508c60=this[_0x148386(0x35a)]()+'/'+_0x1519bb+_0x148386(0x1a3)+_0x51f927+'/rev/'+_0xdb2ff6,_0x214373=(await this[_0x148386(0x3c6)][_0x148386(0x300)](_0x508c60))[_0x148386(0x124)],_0xfb0c62=(_0x5e20d9=_0x214373[_0x148386(0x105)])==null?void 0x0:_0x5e20d9[_0x148386(0x405)];if(_0xfb0c62){const _0xef4deb=_0xfb0c62==null?void 0x0:_0xfb0c62[_0x148386(0x233)],_0x47f360=_0x3eb1af[_0x148386(0x2ae)](_0x6ef87e(_0xef4deb));_0xfb0c62[_0x148386(0x233)]=_0x47f360,Object[_0x148386(0x34e)](_0xfb0c62[_0x148386(0x29e)])['forEach'](([,_0x41d883])=>{var _0x3ad344=_0x148386;const _0x3fe262=_0x41d883[_0x3ad344(0x233)],_0x315ca7=_0x3eb1af[_0x3ad344(0x2ae)](_0x6ef87e(_0x3fe262));_0x41d883[_0x3ad344(0x233)]=_0x315ca7;});}return _0x214373;}async[_0x34d539(0x353)](_0x102da2,_0x2a0b88){var _0x326262=_0x34d539;const {unitID:_0xec98a8,type:_0x34a6d8,blockID:_0x565f09}=_0x2a0b88,_0x221040=this[_0x326262(0x336)]()+'/'+_0x34a6d8+_0x326262(0x1a3)+_0xec98a8+_0x326262(0x34c)+_0x565f09;return(await this[_0x326262(0x3c6)]['get'](_0x221040))[_0x326262(0x124)];}async['getDeserializedSheetBlock'](_0x176011,_0x1ece48){var _0x45e2bb=_0x34d539;const {unitID:_0x4110fb,type:_0x467a5c,blockID:_0x359dec}=_0x1ece48,_0x58dc9e=this['_getAPIPrefix']()+_0x45e2bb(0x34c)+_0x467a5c+_0x45e2bb(0x1a3)+_0x4110fb+'/block/'+_0x359dec;return(await this['_httpService']['get'](_0x58dc9e))[_0x45e2bb(0x124)];}async['fetchMissingChangesets'](_0x234d9e,_0xfc2f25){var _0x2a8f15=_0x34d539;const {unitID:_0x12a9dc,type:_0x23ea50,from:_0x254a16,to:_0x5614d5}=_0xfc2f25,_0x1ef11c=this['_getAPIPrefix']()+'/'+_0x23ea50+'/unit/'+_0x12a9dc+_0x2a8f15(0x11b)+_0x254a16+'&to='+_0x5614d5;return(await this[_0x2a8f15(0x3c6)]['get'](_0x1ef11c))[_0x2a8f15(0x124)];}['getSnapshotAPIPath'](){var _0x528f51=_0x34d539,_0x452725;return(_0x452725=this[_0x528f51(0x256)][_0x528f51(0x3e5)](Dn))!=null?_0x452725:this[_0x528f51(0x336)]();}[_0x34d539(0x336)](){var _0x3beca1=_0x34d539,_0x508a85,_0x3493fc;const _0x38cca8=this[_0x3beca1(0x256)]['getConfig'](Pn),_0x12a461=this['_configService'][_0x3beca1(0x3e5)](Y);return(_0x3493fc=(_0x508a85=_0x12a461==null?void 0x0:_0x12a461[_0x3beca1(0x368)])!=null?_0x508a85:_0x38cca8)!=null?_0x3493fc:Nn;}async[_0x34d539(0x154)](_0x27a049,_0x314101){var _0x488dd5=_0x34d539;const _0x2eaaf0=_0x488dd5(0x296)+_0x314101[_0x488dd5(0x13b)]+'/unit/'+_0x314101['unitID']+_0x488dd5(0x119);return(await this['_httpService'][_0x488dd5(0x300)](_0x2eaaf0,{'params':{'resourceId':JSON[_0x488dd5(0x35e)](_0x314101[_0x488dd5(0x291)])}}))[_0x488dd5(0x124)];}['saveSnapshot'](){var _0x1d76c0=_0x34d539;throw new Error(_0x1d76c0(0x334));}[_0x34d539(0x1ca)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x34d539(0x364)](){var _0x4404e8=_0x34d539;throw new Error(_0x4404e8(0x334));}[_0x34d539(0x142)](){var _0x40b3ea=_0x34d539;throw new Error(_0x40b3ea(0x334));}[_0x34d539(0x229)](){var _0x1783ac=_0x34d539;throw new Error(_0x1783ac(0x334));}};Dt=Vr([ui(0x0,_0x3c1aae),ui(0x1,_0x36ffd1(_0x37d339))],Dt);var Wr=Object[_0x34d539(0x257)],Gr=Object[_0x34d539(0x3a8)],Kr=(_0x568e32,_0x55e5af,_0x209693,_0x35e25a)=>{for(var _0x260eb5=_0x35e25a>0x1?void 0x0:_0x35e25a?Gr(_0x55e5af,_0x209693):_0x55e5af,_0x54aeae=_0x568e32['length']-0x1,_0x2b3dee;_0x54aeae>=0x0;_0x54aeae--)(_0x2b3dee=_0x568e32[_0x54aeae])&&(_0x260eb5=(_0x35e25a?_0x2b3dee(_0x55e5af,_0x209693,_0x260eb5):_0x2b3dee(_0x260eb5))||_0x260eb5);return _0x35e25a&&_0x260eb5&&Wr(_0x55e5af,_0x209693,_0x260eb5),_0x260eb5;},Ue=(_0xcf24d3,_0x106aaf)=>(_0x447863,_0x264883)=>_0x106aaf(_0x447863,_0x264883,_0xcf24d3);let wt=class extends _0x16956f{constructor(_0xa51a33,_0x3b3bef,_0x3f591c,_0x586ff6,_0x4d6d20){var _0xb43f1b=_0x34d539;super(_0xa51a33,_0x3b3bef,_0x3f591c),this[_0xb43f1b(0x376)]=_0x586ff6,this[_0xb43f1b(0x3d3)]=_0x4d6d20;}['transformUndoRedo'](_0x6b4a42,_0x349398){var _0x16e748=_0x34d539;const _0x20224b=this['_getUndoStack'](_0x6b4a42);if(_0x20224b)try{const _0x8aaf5e=this[_0x16e748(0xfe)](_0x20224b,_0x349398);this['_substituteUndoStack'](_0x6b4a42,_0x8aaf5e);}catch(_0x353ed1){this[_0x16e748(0x3d3)][_0x16e748(0x37a)](_0x16e748(0x2cb),_0x353ed1),this[_0x16e748(0x3d7)](_0x6b4a42);}const _0x52a0a5=this[_0x16e748(0x16f)](_0x6b4a42);if(_0x52a0a5)try{const _0x13ce15=this[_0x16e748(0xfe)](_0x52a0a5,_0x349398);this[_0x16e748(0x117)](_0x6b4a42,_0x13ce15);}catch(_0x3eda08){this[_0x16e748(0x3d3)][_0x16e748(0x37a)](_0x3eda08),this['_clearRedo'](_0x6b4a42);}}[_0x34d539(0x3d7)](_0x3cb929){var _0x79c7ae=_0x34d539;const _0x135192=this[_0x79c7ae(0x230)](_0x3cb929);_0x135192&&(_0x135192[_0x79c7ae(0x193)]=0x0,this[_0x79c7ae(0x1a9)]());}['_clearRedo'](_0x2d57ee){var _0x4e2bbf=_0x34d539;const _0xcc2953=this[_0x4e2bbf(0x16f)](_0x2d57ee);_0xcc2953&&(_0xcc2953[_0x4e2bbf(0x193)]=0x0,this['_updateStatus']());}[_0x34d539(0x1b2)](_0x431a21,_0x25373e){var _0x12e6d4=_0x34d539;this[_0x12e6d4(0x16e)]['set'](_0x431a21,_0x25373e),this[_0x12e6d4(0x1a9)]();}[_0x34d539(0x117)](_0x15e1dd,_0x10cd24){var _0xaeaae8=_0x34d539;this['_redoStacks'][_0xaeaae8(0x35c)](_0x15e1dd,_0x10cd24),this[_0xaeaae8(0x1a9)]();}[_0x34d539(0xfe)](_0x4bbda3,_0x289476){var _0x50f284=_0x34d539;const _0x37cfd1=[];let _0x15f765=_0x289476,_0x11e6f5=_0x289476;for(let _0x1cd06e=_0x4bbda3[_0x50f284(0x193)]-0x1;_0x1cd06e>=0x0;_0x1cd06e--){const {unitID:_0x52b87a,undoMutations:_0x28801d,redoMutations:_0x496faf}=_0x4bbda3[_0x1cd06e],_0x17579a=this['_transformService'][_0x50f284(0x1b4)](_0x15f765,_0x28801d),_0x5a3109=this[_0x50f284(0x376)][_0x50f284(0x1b4)](_0x11e6f5,_0x496faf);if(_0x46362b(_0x17579a)||_0x46362b(_0x5a3109)){this[_0x50f284(0x3d3)][_0x50f284(0x37a)](_0x50f284(0x2cb),_0x50f284(0x343),_0x17579a,_0x5a3109);break;}_0x15f765=_0x17579a[_0x50f284(0x370)],_0x11e6f5=_0x5a3109[_0x50f284(0x370)],_0x37cfd1['push']({'unitID':_0x52b87a,'undoMutations':_0x17579a[_0x50f284(0x3d0)],'redoMutations':_0x5a3109[_0x50f284(0x3d0)]});}return _0x37cfd1[_0x50f284(0x324)]();}};wt=Kr([Ue(0x0,_0x21b5bb),Ue(0x1,_0x267c35),Ue(0x2,_0x344e1c),Ue(0x3,_0x376269),Ue(0x4,_0x1141f5)],wt);var xi=Object['defineProperty'],zr=Object[_0x34d539(0x3a8)],Yr=(_0xcf1350,_0x559749,_0x1a8d96)=>_0x559749 in _0xcf1350?xi(_0xcf1350,_0x559749,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a8d96}):_0xcf1350[_0x559749]=_0x1a8d96,qr=(_0x462049,_0x4bc299,_0x143b22,_0x3841ca)=>{var _0x5d664d=_0x34d539;for(var _0x575a02=_0x3841ca>0x1?void 0x0:_0x3841ca?zr(_0x4bc299,_0x143b22):_0x4bc299,_0x1058b4=_0x462049[_0x5d664d(0x193)]-0x1,_0x2e6e52;_0x1058b4>=0x0;_0x1058b4--)(_0x2e6e52=_0x462049[_0x1058b4])&&(_0x575a02=(_0x3841ca?_0x2e6e52(_0x4bc299,_0x143b22,_0x575a02):_0x2e6e52(_0x575a02))||_0x575a02);return _0x3841ca&&_0x575a02&&xi(_0x4bc299,_0x143b22,_0x575a02),_0x575a02;},Et=(_0x426695,_0x1f9e1d)=>(_0xd559b,_0xc60ed2)=>_0x1f9e1d(_0xd559b,_0xc60ed2,_0x426695),Jr=(_0x45cd02,_0x283168,_0x42d1d5)=>Yr(_0x45cd02,_0x283168+'',_0x42d1d5);const Xr=_0x34d539(0x1db);let Ut=class extends _0x302e4a{constructor(_0x35bfd8=Wn,_0x4326b4,_0x2a9cfa,_0x17cbac){var _0x17de9c=_0x34d539;super(),this[_0x17de9c(0x3dd)]=_0x35bfd8,this[_0x17de9c(0x3d3)]=_0x4326b4,this[_0x17de9c(0x267)]=_0x2a9cfa,this[_0x17de9c(0x256)]=_0x17cbac;const {..._0x56f332}=this['_config'];this[_0x17de9c(0x256)]['setConfig'](Y,_0x56f332);}[_0x34d539(0x2b7)](){var _0x151b35=_0x34d539;this[_0x151b35(0x30b)](),this['_initDependencies']();}['_registerDependencies'](){var _0x415e66=_0x34d539,_0x3bcfae,_0x5b7d07,_0x25c929,_0x52510a;this[_0x415e66(0x267)][_0x415e66(0x242)](_0x45aef5)&&this['_logService'][_0x415e66(0x37a)](_0x415e66(0x144),_0x415e66(0x28f));const _0x5bb266=_0x2ea8b5([[_0x45aef5,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x5b7d07=(_0x3bcfae=this[_0x415e66(0x3dd)])==null?void 0x0:_0x3bcfae[_0x415e66(0x3b4)])!=null?_0x5b7d07:It}],[_0x501b8d,{'useClass':Dt}],[_0x4203d3,{'useClass':yt}],[_0x40a4c3,{'useClass':Pt}],[_0x2cbfac,{'useClass':Nt}],[rt],[Rt]],(_0x25c929=this[_0x415e66(0x3dd)])==null?void 0x0:_0x25c929[_0x415e66(0x166)]);if(!((_0x52510a=this[_0x415e66(0x3dd)])!=null&&_0x52510a[_0x415e66(0x1a4)])){const _0x76db57=_0x5bb266[_0x415e66(0x348)](([_0x49b97a])=>_0x49b97a===_t);_0x76db57!==-0x1&&_0x5bb266[_0x415e66(0x239)](_0x76db57,0x1);}_0x2834cf(this['_injector'],_0x5bb266);}[_0x34d539(0x39b)](){var _0x5a3ef8=_0x34d539,_0x22e650,_0xe38180,_0x684f40;this[_0x5a3ef8(0x267)][_0x5a3ef8(0x300)](_0x37d339)[_0x5a3ef8(0x37e)]({'priority':0x14,'interceptor':_0x842f7e({'maxParallel':0x6})}),(_0x22e650=this[_0x5a3ef8(0x3dd)])!=null&&_0x22e650[_0x5a3ef8(0x289)]||(_0xe38180=this[_0x5a3ef8(0x267)][_0x5a3ef8(0x300)](X,_0x569b53[_0x5a3ef8(0x10e)]))==null||_0xe38180[_0x5a3ef8(0x3c9)](),(_0x684f40=this[_0x5a3ef8(0x3dd)])!=null&&_0x684f40[_0x5a3ef8(0x2f1)]&&_0x1c7b95(this[_0x5a3ef8(0x267)],[[ot]]),_0x1c7b95(this[_0x5a3ef8(0x267)],[[at],[rt],[ct]]);}};Jr(Ut,_0x34d539(0x304),Xr),Ut=qr([_0x502615(_0x2b3f93,_0x16a51e,_0x2afd67),Et(0x1,_0x1141f5),Et(0x2,_0x36ffd1(_0xb63fc9)),Et(0x3,_0x3c1aae)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|
1
|
+
var _0x197d50=_0x30fa;(function(_0x406876,_0x41fd5e){var _0x40fbab=_0x30fa,_0x1257ff=_0x406876();while(!![]){try{var _0xc074db=parseInt(_0x40fbab(0x3d2))/0x1*(-parseInt(_0x40fbab(0x42f))/0x2)+parseInt(_0x40fbab(0x367))/0x3+-parseInt(_0x40fbab(0x19a))/0x4*(-parseInt(_0x40fbab(0x277))/0x5)+-parseInt(_0x40fbab(0x2fb))/0x6+parseInt(_0x40fbab(0x451))/0x7+parseInt(_0x40fbab(0x2a0))/0x8+-parseInt(_0x40fbab(0x394))/0x9*(parseInt(_0x40fbab(0x32a))/0xa);if(_0xc074db===_0x41fd5e)break;else _0x1257ff['push'](_0x1257ff['shift']());}catch(_0x40468a){_0x1257ff['push'](_0x1257ff['shift']());}}}(_0x4437,0x88944));var Li=Object['defineProperty'],Mi=(_0x5a8cf2,_0x580ed9,_0x940d69)=>_0x580ed9 in _0x5a8cf2?Li(_0x5a8cf2,_0x580ed9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x940d69}):_0x5a8cf2[_0x580ed9]=_0x940d69,D=(_0x812c7f,_0x59435b,_0x5b63c8)=>Mi(_0x812c7f,typeof _0x59435b!='symbol'?_0x59435b+'':_0x59435b,_0x5b63c8);import{createIdentifier as _0x40a077,Inject as _0x287bb5,Injector as _0x4574c3,Disposable as _0x2836d1,DisposableCollection as _0x387eb5,toDisposable as _0x4b1dce,IConfigService as _0x3d2b7c,ILogService as _0x12fb6b,UserManagerService as _0x327e4f,UniverInstanceType as _0x14febb,IUniverInstanceService as _0x1d1205,LocaleService as _0x2aec3b,Optional as _0x41b21e,RxDisposable as _0x39849c,Tools as _0x228b6f,Rectangle as _0x465fc7,ICommandService as _0x42cf49,JSONX as _0x3ae794,CommandType as _0x278e3b,IPermissionService as _0x5e556e,IUndoRedoService as _0x112b5f,sequenceExecute as _0x4567de,Workbook as _0x22b4e7,MentionType as _0x521e36,IAuthzIoService as _0x116edf,isInternalEditorID as _0x1550d1,LocalUndoRedoService as _0x47c052,IContextService as _0x447a6b,DependentOn as _0x191565,Plugin as _0x4bac8f,mergeOverrideWithDependencies as _0x53f197,IMentionIOService as _0x3c6065,registerDependencies as _0x124f05,Quantity as _0x4217ce,touchDependencies as _0x3d28dc}from'@univerjs/core';import{Subject as _0x4077c2,merge as _0x1e6f36,takeUntil as _0x17ec8d,BehaviorSubject as _0x32a0c6,ReplaySubject as _0x554ee1,take as _0x396880,map as _0x1efeda,shareReplay as _0xc6d9fa,of as _0x49247d,firstValueFrom as _0x5a06e0,concatMap as _0x329beb}from'rxjs';import{map as _0x4aec01,take as _0x27deb2,filter as _0x139f21,delay as _0x3b6660,takeUntil as _0x1ad504}from'rxjs/operators';import{HTTPService as _0x258eed,ISocketService as _0x1eaefb,MergeInterceptorFactory as _0x26bc9b,HTTPRequest as _0x3e9957,UniverNetworkPlugin as _0x2ea744,ThresholdInterceptorFactory as _0x5ce6ab}from'@univerjs/network';import{CollaborationEvent as _0x4bbd69,parseChangesetToProtocol as _0x113ce5,ISnapshotServerService as _0x1a04b1,isTransformMutationsWithChangesetSuccess as _0x245ab4,ITransformService as _0x1016d9,mapDocumentTypeToUniverType as _0x2b8976,RevisionService as _0x55fb7e,isTransformChangesetsSuccess as _0x50ee0a,CompressMutationService as _0x250c50,parseProtocolChangeset as _0x1bcdf6,SnapshotService as _0xe67479,textEncoder as _0x11268a,b64DecodeUnicode as _0x29ca3b,isTransformMutationsWithChangesetFailure as _0x366dd1,UniverCollaborationPlugin as _0x4f06d6}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x225ea7}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1a3cb2}from'@univerjs/docs';import{SheetsSelectionsService as _0x1c354d,SetSelectionsOperation as _0x50202c,InsertSheetMutation as _0x1e4d40,EmptyMutation as _0x52f814,WorkbookEditablePermission as _0x55aa2b,UnitObject as _0x1d04bb,defaultWorkbookPermissionPoints as _0x5cc867,getAllWorkbookPermissionPoint as _0x2b1300,WorksheetProtectionRuleModel as _0x41f852,baseProtectionActions as _0x451b8c,getAllWorksheetPermissionPoint as _0x217af4,WorksheetProtectionPointModel as _0x58d6b3,defaultWorksheetPermissionPoint as _0x42176a,getAllWorksheetPermissionPointByPointPanel as _0x441338,RangeProtectionRuleModel as _0x5b3b4d,getAllRangePermissionPoint as _0x16d4ef,UniverSheetsPlugin as _0x4a39bc}from'@univerjs/sheets';import{ImageSourceType as _0x3dfd0a,ImageUploadStatusType as _0x113b8e,IImageIoService as _0x3b0ca9}from'@univerjs/drawing';import{getGlobalObject as _0x3c701a}from'@univerjs-pro/license';const Pn=_0x197d50(0x272),Nn=_0x197d50(0x18d),Dn=_0x197d50(0x146),ho='SEND_CHANGESET_TIMEOUT',wn=0x7d0,Un=_0x197d50(0x31e),An='ws://127.0.0.1:8000/universer-api/comb/connect',xn=_0x197d50(0x352),Ln=_0x197d50(0x3e8),Mn=0x7530,Si=_0x197d50(0x1de),Ei=0x4e20,$n=0x4e20,Hn=_0x197d50(0x386),kn=0x3,_o=_0x197d50(0x26c),lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x197d50(0x1b4),Fn='LOGIN_URL_KEY',Vn=_0x197d50(0x3ff);var Ii=(_0x36b6c3=>(_0x36b6c3[_0x36b6c3['UNDEFINED']=0x0]=_0x197d50(0x14c),_0x36b6c3[_0x36b6c3['OK']=0x1]='OK',_0x36b6c3[_0x36b6c3[_0x197d50(0x37c)]=0x2]=_0x197d50(0x37c),_0x36b6c3[_0x36b6c3[_0x197d50(0x3c1)]=0x3]=_0x197d50(0x3c1),_0x36b6c3[_0x36b6c3[_0x197d50(0x415)]=0x4]=_0x197d50(0x415),_0x36b6c3[_0x36b6c3[_0x197d50(0x3fa)]=0x5]=_0x197d50(0x3fa),_0x36b6c3[_0x36b6c3[_0x197d50(0x157)]=0x6]='ALREADY_EXISTS',_0x36b6c3[_0x36b6c3[_0x197d50(0x2d6)]=0x7]=_0x197d50(0x2d6),_0x36b6c3[_0x36b6c3['TOO_MANY_REQUESTS']=0x8]=_0x197d50(0x3fe),_0x36b6c3[_0x36b6c3[_0x197d50(0x1f6)]=0x9]='COMPLETION_FINISHED',_0x36b6c3[_0x36b6c3['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x197d50(0x24a),_0x36b6c3[_0x36b6c3[_0x197d50(0x2b1)]=0x1771]=_0x197d50(0x2b1),_0x36b6c3[_0x36b6c3[_0x197d50(0x42a)]=0x1772]=_0x197d50(0x42a),_0x36b6c3[_0x36b6c3[_0x197d50(0x198)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x36b6c3[_0x36b6c3[_0x197d50(0x33f)]=0x1b59]=_0x197d50(0x33f),_0x36b6c3[_0x36b6c3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x36b6c3[_0x36b6c3[_0x197d50(0x3e3)]=0x1b5b]=_0x197d50(0x3e3),_0x36b6c3[_0x36b6c3[_0x197d50(0x417)]=0x1b5c]=_0x197d50(0x417),_0x36b6c3[_0x36b6c3[_0x197d50(0x258)]=0x1b5d]='APPLY_DUPLICATED',_0x36b6c3[_0x36b6c3[_0x197d50(0x2db)]=0x1f41]=_0x197d50(0x2db),_0x36b6c3[_0x36b6c3[_0x197d50(0x257)]=0x2329]=_0x197d50(0x257),_0x36b6c3[_0x36b6c3[_0x197d50(0x1b8)]=0x232a]=_0x197d50(0x1b8),_0x36b6c3[_0x36b6c3[_0x197d50(0x1c1)]=0x232b]=_0x197d50(0x1c1),_0x36b6c3[_0x36b6c3[_0x197d50(0x285)]=0x232c]=_0x197d50(0x285),_0x36b6c3[_0x36b6c3[_0x197d50(0x34c)]=0x232d]=_0x197d50(0x34c),_0x36b6c3[_0x36b6c3[_0x197d50(0x1b1)]=0x2711]=_0x197d50(0x1b1),_0x36b6c3[_0x36b6c3[_0x197d50(0x392)]=0x2712]=_0x197d50(0x392),_0x36b6c3[_0x36b6c3[_0x197d50(0x22f)]=0x2713]=_0x197d50(0x22f),_0x36b6c3[_0x36b6c3[_0x197d50(0x27a)]=0x2714]=_0x197d50(0x27a),_0x36b6c3[_0x36b6c3['UNRECOGNIZED']=-0x1]=_0x197d50(0x427),_0x36b6c3))(Ii||{}),Q=(_0x2d00eb=>(_0x2d00eb[_0x2d00eb['UNIVER_UNKNOWN']=0x0]=_0x197d50(0x31c),_0x2d00eb[_0x2d00eb[_0x197d50(0x169)]=0x1]='UNIVER_DOC',_0x2d00eb[_0x2d00eb['UNIVER_SHEET']=0x2]=_0x197d50(0x3a1),_0x2d00eb[_0x2d00eb[_0x197d50(0x1fc)]=0x3]=_0x197d50(0x1fc),_0x2d00eb[_0x2d00eb[_0x197d50(0x3a0)]=0x4]=_0x197d50(0x3a0),_0x2d00eb[_0x2d00eb[_0x197d50(0x427)]=-0x1]=_0x197d50(0x427),_0x2d00eb))(Q||{}),F=(_0xd8153f=>(_0xd8153f[_0xd8153f[_0x197d50(0x22b)]=0x0]=_0x197d50(0x22b),_0xd8153f[_0xd8153f[_0x197d50(0x1c5)]=0x1]=_0x197d50(0x1c5),_0xd8153f[_0xd8153f[_0x197d50(0x375)]=0x2]='JOIN',_0xd8153f[_0xd8153f[_0x197d50(0x253)]=0x3]=_0x197d50(0x253),_0xd8153f[_0xd8153f[_0x197d50(0x305)]=0x4]=_0x197d50(0x305),_0xd8153f[_0xd8153f[_0x197d50(0x41e)]=0x5]=_0x197d50(0x41e),_0xd8153f[_0xd8153f[_0x197d50(0x336)]=0x6]=_0x197d50(0x336),_0xd8153f[_0xd8153f[_0x197d50(0x427)]=-0x1]=_0x197d50(0x427),_0xd8153f))(F||{}),Ee=(_0x4b363c=>(_0x4b363c[_0x4b363c[_0x197d50(0x3aa)]=0x0]=_0x197d50(0x3aa),_0x4b363c[_0x4b363c['OK']=0x1]='OK',_0x4b363c[_0x4b363c[_0x197d50(0x2bb)]=0x2]=_0x197d50(0x2bb),_0x4b363c[_0x4b363c['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4b363c[_0x4b363c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x197d50(0x3eb),_0x4b363c[_0x4b363c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4b363c[_0x4b363c[_0x197d50(0x444)]=0x3ec]=_0x197d50(0x444),_0x4b363c[_0x4b363c[_0x197d50(0x427)]=-0x1]=_0x197d50(0x427),_0x4b363c))(Ee||{}),Ti=(_0x5ec307=>(_0x5ec307[_0x5ec307[_0x197d50(0x1da)]=0x0]=_0x197d50(0x1da),_0x5ec307[_0x5ec307['HttpImport']=0x1]=_0x197d50(0x37b),_0x5ec307[_0x5ec307[_0x197d50(0x312)]=0x2]=_0x197d50(0x312),_0x5ec307[_0x5ec307[_0x197d50(0x204)]=0x3]=_0x197d50(0x204),_0x5ec307[_0x5ec307[_0x197d50(0x3cf)]=0x4]=_0x197d50(0x3cf),_0x5ec307[_0x5ec307[_0x197d50(0x427)]=-0x1]=_0x197d50(0x427),_0x5ec307))(Ti||{});const Y='collaboration-client.config',Wn={};var se=(_0x2fc79d=>(_0x2fc79d[_0x197d50(0x193)]=_0x197d50(0x193),_0x2fc79d[_0x197d50(0x3c1)]=_0x197d50(0x3c1),_0x2fc79d['CONFLICT']='CONFLICT',_0x2fc79d['CLOSE_ROOM']=_0x197d50(0x341),_0x2fc79d[_0x197d50(0x155)]=_0x197d50(0x155),_0x2fc79d[_0x197d50(0x3f4)]=_0x197d50(0x3f4),_0x2fc79d[_0x197d50(0x1ee)]=_0x197d50(0x1ee),_0x2fc79d[_0x197d50(0x2c2)]='SUBMIT_CHANGESET_TIMEOUT',_0x2fc79d))(se||{});class pe{constructor(){var _0x46ca79=_0x197d50;D(this,_0x46ca79(0x355),new _0x4077c2()),D(this,_0x46ca79(0x16c),this[_0x46ca79(0x355)]['asObservable']());}[_0x197d50(0x2ad)](_0x49679c){var _0x5eb61b=_0x197d50;this[_0x5eb61b(0x355)]['next'](_0x49679c);}}const Gn=_0x40a077(_0x197d50(0x1d0));function Kn(_0x3ab104){var _0xd66602=_0x197d50,_0x36bdf3,_0x493a0a,_0x2d8fca,_0x5be400,_0x1c44fc;const _0x3b25b3=_0x3ab104['data'],_0x10af69=JSON[_0xd66602(0x2af)](_0x3b25b3);switch(_0x10af69[_0xd66602(0x42b)]){case F[_0xd66602(0x41e)]:case F[_0xd66602(0x1c5)]:{const _0x3faaba=_0x10af69[_0xd66602(0x2d5)];return{..._0x10af69,'data':_0x3faaba,'cmd':_0x10af69[_0xd66602(0x42b)]};}case F['JOIN']:{const _0x247aed=_0x10af69['joinRsp'];return{..._0x10af69,'data':_0x247aed,'cmd':_0x10af69[_0xd66602(0x42b)]};}case F['RECV']:{const _0x42aa08=_0x10af69[_0xd66602(0x27b)];switch(_0x42aa08[_0xd66602(0x324)]){case _0x4bbd69[_0xd66602(0x37f)]:return{..._0x10af69,'data':{..._0x42aa08,'data':(_0x36bdf3=_0x42aa08[_0xd66602(0x2ce)])==null?void 0x0:_0x36bdf3['cs']},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69['CHANGESET_ACK']:return{..._0x10af69,'data':{..._0x42aa08,'data':(_0x493a0a=_0x42aa08[_0xd66602(0x398)])==null?void 0x0:_0x493a0a['cs']},'cmd':_0x10af69['cmd']};case _0x4bbd69[_0xd66602(0x3d6)]:return{..._0x10af69,'data':{..._0x42aa08,'data':(_0x2d8fca=_0x42aa08['newCsEvent'])==null?void 0x0:_0x2d8fca['cs']},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69['CHANGESET_REJ']:return{..._0x10af69,'data':{..._0x42aa08,'data':(_0x5be400=_0x42aa08[_0xd66602(0x2eb)])==null?void 0x0:_0x5be400['cs']},'cmd':_0x10af69['cmd']};case _0x4bbd69['CHANGESET_SHOULD_RETRY']:return{..._0x10af69,'data':{..._0x42aa08,'data':(_0x1c44fc=_0x42aa08[_0xd66602(0x1cf)])==null?void 0x0:_0x1c44fc['cs']},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69['UPDATE_CURSOR']:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x3e4)]},'cmd':_0x10af69['cmd']};case _0x4bbd69[_0xd66602(0x373)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x2c1)]},'cmd':_0x10af69['cmd']};case _0x4bbd69['USERS_LEAVE']:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x303)]},'cmd':_0x10af69['cmd']};case _0x4bbd69[_0xd66602(0x2a2)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x1c4)]},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69[_0xd66602(0x241)]:case _0x4bbd69[_0xd66602(0x1db)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x43e)]},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69[_0xd66602(0x1dc)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08['liveShareNewHost']},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69['MSG_FOR_ERROR']:return{..._0x10af69,'data':_0x42aa08,'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69[_0xd66602(0x26d)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x3d1)]},'cmd':_0x10af69['cmd']};case _0x4bbd69[_0xd66602(0x17d)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x349)]},'cmd':_0x10af69[_0xd66602(0x42b)]};case _0x4bbd69[_0xd66602(0x282)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x268)]},'cmd':_0x10af69['cmd']};case _0x4bbd69[_0xd66602(0x191)]:return{..._0x10af69,'data':{..._0x42aa08,'data':_0x42aa08[_0xd66602(0x3a2)]},'cmd':_0x10af69['cmd']};default:return _0x10af69;}}default:return _0x10af69;}}function zn(_0x11a773){var _0x5aedcc=_0x197d50;switch(_0x11a773['cmd']){case F[_0x5aedcc(0x41e)]:case F[_0x5aedcc(0x1c5)]:return JSON[_0x5aedcc(0x1ca)]({'cmd':_0x11a773['cmd'],'routeKey':_0x11a773[_0x5aedcc(0x3c0)]});case F[_0x5aedcc(0x305)]:{let _0x349448;switch(_0x11a773[_0x5aedcc(0x1f9)][_0x5aedcc(0x324)]){case _0x4bbd69[_0x5aedcc(0x1c3)]:{_0x349448={'eventID':_0x4bbd69[_0x5aedcc(0x1c3)],'updateCursorEvent':_0x11a773[_0x5aedcc(0x1f9)][_0x5aedcc(0x1f9)]};break;}case _0x4bbd69['USERS_LEAVE']:{_0x349448={'eventID':_0x4bbd69[_0x5aedcc(0x1f7)],'leaveEvent':_0x11a773[_0x5aedcc(0x1f9)]['data']};break;}case _0x4bbd69[_0x5aedcc(0x373)]:{_0x349448={'eventID':_0x4bbd69['USERS_ENTER'],'joinEvent':_0x11a773[_0x5aedcc(0x1f9)][_0x5aedcc(0x1f9)]};break;}case _0x4bbd69[_0x5aedcc(0x2a2)]:{_0x349448={'eventID':_0x4bbd69['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x11a773['data'][_0x5aedcc(0x1f9)]};break;}case _0x4bbd69['LIVESHARE_OPERATION']:{_0x349448={'eventID':_0x4bbd69[_0x5aedcc(0x1db)],'liveShareOperation':_0x11a773['data'][_0x5aedcc(0x1f9)]};break;}case _0x4bbd69[_0x5aedcc(0x1dc)]:{_0x349448={'eventID':_0x4bbd69[_0x5aedcc(0x1dc)],'liveShareTerminate':_0x11a773['data'][_0x5aedcc(0x1f9)]};break;}case _0x4bbd69[_0x5aedcc(0x359)]:{_0x349448={'eventID':_0x4bbd69[_0x5aedcc(0x359)],'liveShareRequestHost':_0x11a773[_0x5aedcc(0x1f9)][_0x5aedcc(0x1f9)]};break;}case _0x4bbd69[_0x5aedcc(0x241)]:{_0x349448={'eventID':_0x4bbd69[_0x5aedcc(0x241)]};break;}default:_0x349448={'eventID':_0x11a773[_0x5aedcc(0x1f9)][_0x5aedcc(0x324)]};}return JSON[_0x5aedcc(0x1ca)]({'cmd':_0x11a773[_0x5aedcc(0x42b)],'routeKey':_0x11a773[_0x5aedcc(0x3c0)],'collaMsg':_0x349448});}case F[_0x5aedcc(0x375)]:return JSON[_0x5aedcc(0x1ca)]({'cmd':_0x11a773['cmd'],'routeKey':_0x11a773[_0x5aedcc(0x3c0)],'joinReq':_0x11a773[_0x5aedcc(0x1f9)]});case F[_0x5aedcc(0x253)]:return JSON['stringify']({'cmd':_0x11a773[_0x5aedcc(0x42b)],'routeKey':_0x11a773['routeKey'],'leaveReq':_0x11a773[_0x5aedcc(0x1f9)]});default:throw new Error(_0x5aedcc(0x15a));}}var Yn=Object[_0x197d50(0x196)],qn=Object['getOwnPropertyDescriptor'],Jn=(_0xe3e4a7,_0x6d7a17,_0x3f9e2f,_0x633426)=>{for(var _0xa8653b=_0x633426>0x1?void 0x0:_0x633426?qn(_0x6d7a17,_0x3f9e2f):_0x6d7a17,_0x4d82a2=_0xe3e4a7['length']-0x1,_0x2c6a6e;_0x4d82a2>=0x0;_0x4d82a2--)(_0x2c6a6e=_0xe3e4a7[_0x4d82a2])&&(_0xa8653b=(_0x633426?_0x2c6a6e(_0x6d7a17,_0x3f9e2f,_0xa8653b):_0x2c6a6e(_0xa8653b))||_0xa8653b);return _0x633426&&_0xa8653b&&Yn(_0x6d7a17,_0x3f9e2f,_0xa8653b),_0xa8653b;},we=(_0x3e6c36,_0x46fac9)=>(_0x4f05fa,_0x281c67)=>_0x46fac9(_0x4f05fa,_0x281c67,_0x3e6c36);const Ci=_0x40a077(_0x197d50(0x23c));function Xn(_0x3c0591,_0x4dfc38,_0x21c842){var _0x557461=_0x197d50;return _0x3c0591+'/'+_0x4dfc38+_0x557461(0x262)+_0x21c842+_0x557461(0x212);}let It=class extends _0x2836d1{constructor(_0xdf252c,_0x2d2e11,_0x5df70c,_0x1938e7,_0x451e4c){var _0x496fd8=_0x197d50;super(),this[_0x496fd8(0x388)]=_0xdf252c,this[_0x496fd8(0x1a8)]=_0x2d2e11,this[_0x496fd8(0x28c)]=_0x5df70c,this[_0x496fd8(0x3ad)]=_0x1938e7,this[_0x496fd8(0x34f)]=_0x451e4c;}[_0x197d50(0x37d)](_0x31706e){var _0x5c639b=_0x197d50;const _0x3b4748=this[_0x5c639b(0x388)][_0x5c639b(0x234)](_0x1eaefb);if(!_0x3b4748)throw new Error(_0x5c639b(0x271));const _0xb7d0bf=_0x3b4748[_0x5c639b(0x37d)](_0x31706e);if(!_0xb7d0bf)throw new Error(_0x5c639b(0x414));const _0x184efc=new _0x387eb5(),_0x498a19=new _0x4077c2();_0x184efc[_0x5c639b(0x15d)](_0xb7d0bf[_0x5c639b(0x3f8)][_0x5c639b(0x38f)](_0x59da2d=>_0x498a19[_0x5c639b(0x252)](_0x59da2d))),_0x184efc[_0x5c639b(0x15d)](_0x4b1dce(()=>_0x498a19['complete']()));const _0x430660=new _0x4077c2();_0x184efc[_0x5c639b(0x15d)](_0xb7d0bf['error$'][_0x5c639b(0x38f)](_0x4900e5=>_0x430660[_0x5c639b(0x252)](_0x4900e5))),_0x184efc[_0x5c639b(0x15d)](_0x4b1dce(()=>_0x430660[_0x5c639b(0x2ee)]()));const _0x164c7a=new _0x4077c2();_0x184efc[_0x5c639b(0x15d)](_0xb7d0bf[_0x5c639b(0x391)][_0x5c639b(0x38f)](_0x281ea1=>{var _0x39a13a=_0x5c639b;const _0x24d3b4=Kn(_0x281ea1);_0x164c7a[_0x39a13a(0x252)](_0x24d3b4);})),_0x184efc['add'](_0x4b1dce(()=>_0x164c7a[_0x5c639b(0x2ee)]()));let _0x235560;const _0x4b4282=()=>{var _0x1463e9=_0x5c639b;_0x430660[_0x1463e9(0x252)](new Event(_0x1463e9(0x283))),_0x498a19[_0x1463e9(0x252)](new CloseEvent('connection\x20error')),_0x235560[_0x1463e9(0x232)]();};return _0x235560={'memberID':'','close$':_0x498a19[_0x5c639b(0x32b)](),'error$':_0x430660[_0x5c639b(0x32b)](),'open$':_0xb7d0bf['open$'],'message$':_0x164c7a[_0x5c639b(0x32b)](),'send':_0x3f8265=>{var _0x273fa0=_0x5c639b;if(_0x3f8265[_0x273fa0(0x42b)]===F[_0x273fa0(0x305)]){if(_0x3f8265[_0x273fa0(0x1f9)][_0x273fa0(0x324)]===_0x4bbd69[_0x273fa0(0x292)]){this[_0x273fa0(0x1f1)](_0x235560,_0x3f8265[_0x273fa0(0x1f9)])[_0x273fa0(0x1e3)](_0x297973=>{var _0x3ff131=_0x273fa0;this[_0x3ff131(0x3ad)][_0x3ff131(0x1c7)](_0x297973),_0x4b4282();});return;}if(_0x3f8265[_0x273fa0(0x1f9)][_0x273fa0(0x324)]===_0x4bbd69[_0x273fa0(0x437)]){const _0x10c0e6=_0x3f8265['data'];this[_0x273fa0(0x1b6)](_0x10c0e6)['then'](_0xac1211=>{var _0x7c1136=_0x273fa0;_0x164c7a[_0x7c1136(0x252)]({'cmd':F[_0x7c1136(0x336)],'code':Ee['OK'],'routeKey':_0x10c0e6[_0x7c1136(0x1f9)][_0x7c1136(0x416)],'routeType':'','data':{'eventID':_0x4bbd69[_0x7c1136(0x2e4)],'data':{'changesets':_0xac1211}}});})['catch'](_0x31cfc5=>{var _0x3cac4b=_0x273fa0;this[_0x3cac4b(0x3ad)][_0x3cac4b(0x1c7)](_0x31cfc5),_0x4b4282();});return;}}_0xb7d0bf[_0x273fa0(0x28d)](zn(_0x3f8265));},'close':()=>{var _0x1b2a1c=_0x5c639b;_0xb7d0bf[_0x1b2a1c(0x232)](),_0x184efc[_0x1b2a1c(0x317)]();}},_0x235560;}async[_0x197d50(0x1f1)](_0x167c66,_0x43e09f){var _0x54cf23=_0x197d50,_0x366e34,_0x4ecf50;const {unitType:_0x54069e,unitID:_0x407ea8,changeset:_0xd20e4e}=_0x43e09f[_0x54cf23(0x1f9)],_0x563482={'unitID':_0x407ea8,'memberID':_0x167c66[_0x54cf23(0x344)],'type':_0x54069e,'changeset':_0x113ce5(_0xd20e4e)},_0x5b6c6f=this[_0x54cf23(0x28c)][_0x54cf23(0x408)](jn),_0xe83d41=this[_0x54cf23(0x28c)]['getConfig'](Y),_0x28e04a=Xn((_0x4ecf50=(_0x366e34=_0xe83d41==null?void 0x0:_0xe83d41[_0x54cf23(0x382)])!=null?_0x366e34:_0x5b6c6f)!=null?_0x4ecf50:Bn,_0x54069e,_0x407ea8);try{await this[_0x54cf23(0x1a8)][_0x54cf23(0x38d)](_0x28e04a,{'body':_0x563482});}catch(_0x1624b2){throw this['_logService']['error']('[CollaborationSession]',_0x54cf23(0x25f)),_0x1624b2;}}async['_fetchMissChangesets'](_0x3e02e3){var _0x54cb63=_0x197d50;const {unitID:_0x4f75de,from:_0x24df93,to:_0x525395,unitType:_0x3092ba}=_0x3e02e3[_0x54cb63(0x1f9)];return(await this[_0x54cb63(0x34f)][_0x54cb63(0x3a6)]({'metadata':void 0x0},{'unitID':_0x4f75de,'type':_0x3092ba,'from':_0x24df93,'to':_0x525395}))[_0x54cb63(0x43c)];}};It=Jn([we(0x0,_0x287bb5(_0x4574c3)),we(0x1,_0x287bb5(_0x258eed)),we(0x2,_0x3d2b7c),we(0x3,_0x12fb6b),we(0x4,_0x1a04b1)],It);const Zn=_0x197d50(0x248);function Qn(_0x13fe16){var _0x2701db=_0x197d50;return JSON[_0x2701db(0x1ca)](_0x13fe16)[_0x2701db(0x1c6)];}class bi{constructor(){var _0x5881a5=_0x197d50;D(this,'_commentUpdate$',new _0x4077c2()),D(this,_0x5881a5(0x2a9),this[_0x5881a5(0x249)][_0x5881a5(0x32b)]());}[_0x197d50(0x2c5)](_0x3eb92a){var _0x394743=_0x197d50;this[_0x394743(0x249)][_0x394743(0x252)](_0x3eb92a);}}var es=Object[_0x197d50(0x196)],ts=Object[_0x197d50(0x42d)],is=(_0x11c8fb,_0x3b25f3,_0x3e8695,_0xdd4590)=>{for(var _0x1ed445=_0xdd4590>0x1?void 0x0:_0xdd4590?ts(_0x3b25f3,_0x3e8695):_0x3b25f3,_0x210d2a=_0x11c8fb['length']-0x1,_0x262962;_0x210d2a>=0x0;_0x210d2a--)(_0x262962=_0x11c8fb[_0x210d2a])&&(_0x1ed445=(_0xdd4590?_0x262962(_0x3b25f3,_0x3e8695,_0x1ed445):_0x262962(_0x1ed445))||_0x1ed445);return _0xdd4590&&_0x1ed445&&es(_0x3b25f3,_0x3e8695,_0x1ed445),_0x1ed445;},zt=(_0x21be2c,_0xf7154)=>(_0x39566c,_0x255a44)=>_0xf7154(_0x39566c,_0x255a44,_0x21be2c);let Le=class extends _0x2836d1{constructor(_0x5ad3e8,_0x11edf0){var _0x5e6f6e=_0x197d50;super(),D(this,_0x5e6f6e(0x425),new Map()),(this['_univerInstanceService']=_0x5ad3e8,this[_0x5e6f6e(0x183)]=_0x11edf0,this[_0x5e6f6e(0x1a7)](_0x4b1dce(_0x1e6f36(this['_univerInstanceService'][_0x5e6f6e(0x290)](_0x14febb[_0x5e6f6e(0x3a1)])['pipe'](_0x4aec01(_0xb837b4=>_0xb837b4[_0x5e6f6e(0x16b)]())),this[_0x5e6f6e(0x3ed)][_0x5e6f6e(0x290)](_0x14febb[_0x5e6f6e(0x169)])[_0x5e6f6e(0x370)](_0x4aec01(_0x46adab=>_0x46adab[_0x5e6f6e(0x16b)]())),this['_univerInstanceService'][_0x5e6f6e(0x290)](_0x14febb['UNIVER_SLIDE'])['pipe'](_0x4aec01(_0x3533f5=>_0x3533f5['getUnitId']())))[_0x5e6f6e(0x38f)](_0x2ff1c9=>this[_0x5e6f6e(0x420)](_0x2ff1c9)))));}[_0x197d50(0x2ea)](_0x27dc5e){var _0x12e2eb=_0x197d50;this[_0x12e2eb(0x183)][_0x12e2eb(0x2ea)](_0x27dc5e);}[_0x197d50(0x2fe)](){var _0x49e652=_0x197d50;return this[_0x49e652(0x183)][_0x49e652(0x2fe)]();}[_0x197d50(0x2fd)](_0xfe6c0f,_0x464ad3){var _0x2d2bcf=_0x197d50;let _0x6ebb2f=this['_roomMembers'][_0x2d2bcf(0x234)](_0xfe6c0f);_0x6ebb2f||(_0x6ebb2f=new ns(),this[_0x2d2bcf(0x425)][_0x2d2bcf(0x214)](_0xfe6c0f,_0x6ebb2f)),_0x6ebb2f[_0x2d2bcf(0x2fd)](_0x464ad3);}[_0x197d50(0x255)](_0x58759d,_0x4a662e){var _0x4bfc15=_0x197d50;const _0x21ea0d=this[_0x4bfc15(0x425)][_0x4bfc15(0x234)](_0x58759d);_0x21ea0d&&_0x21ea0d['removeMember'](_0x4a662e);}['getRoom'](_0x3203fe){var _0xd1d462=_0x197d50;return this['_roomMembers'][_0xd1d462(0x234)](_0x3203fe);}['getMember'](_0x32dc63,_0x41e096){var _0x45455c=_0x197d50;const _0x3ee7ff=this[_0x45455c(0x425)][_0x45455c(0x234)](_0x32dc63);if(_0x3ee7ff)return _0x3ee7ff[_0x45455c(0x450)](_0x41e096);}[_0x197d50(0x420)](_0x14944d){var _0x5e0580=_0x197d50;const _0x26c5a3=this[_0x5e0580(0x425)][_0x5e0580(0x234)](_0x14944d);_0x26c5a3&&(_0x26c5a3[_0x5e0580(0x317)](),this['_roomMembers']['delete'](_0x14944d));}[_0x197d50(0x317)](){var _0x294019=_0x197d50;this[_0x294019(0x425)][_0x294019(0x19c)](_0x149e01=>_0x149e01['dispose']()),this[_0x294019(0x425)][_0x294019(0x2f8)]();}};Le=is([zt(0x0,_0x1d1205),zt(0x1,_0x287bb5(_0x327e4f))],Le);class ns extends _0x2836d1{constructor(){var _0x19add3=_0x197d50;super(...arguments),D(this,_0x19add3(0x446),new Map());}[_0x197d50(0x317)](){var _0x1c39cf=_0x197d50;this[_0x1c39cf(0x446)][_0x1c39cf(0x2f8)]();}[_0x197d50(0x2fd)](_0x73fd02){var _0x4e47ba=_0x197d50;this[_0x4e47ba(0x446)][_0x4e47ba(0x214)](_0x73fd02[_0x4e47ba(0x344)],_0x73fd02);}[_0x197d50(0x255)](_0x15da97){var _0x10444a=_0x197d50;this[_0x10444a(0x446)]['delete'](_0x15da97);}[_0x197d50(0x450)](_0x35e7e5){var _0x540fc1=_0x197d50;return this[_0x540fc1(0x446)][_0x540fc1(0x234)](_0x35e7e5);}['getAllMembers'](){var _0x1d3332=_0x197d50;return Array[_0x1d3332(0x3b2)](this['_members'][_0x1d3332(0x224)]());}}var ss=Object[_0x197d50(0x196)],rs=Object[_0x197d50(0x42d)],os=(_0x504e34,_0xfcaf4e,_0x4895d7,_0x2d2ede)=>{var _0x11379f=_0x197d50;for(var _0x371d55=_0x2d2ede>0x1?void 0x0:_0x2d2ede?rs(_0xfcaf4e,_0x4895d7):_0xfcaf4e,_0x3ece84=_0x504e34[_0x11379f(0x1c6)]-0x1,_0x3635cb;_0x3ece84>=0x0;_0x3ece84--)(_0x3635cb=_0x504e34[_0x3ece84])&&(_0x371d55=(_0x2d2ede?_0x3635cb(_0xfcaf4e,_0x4895d7,_0x371d55):_0x3635cb(_0x371d55))||_0x371d55);return _0x2d2ede&&_0x371d55&&ss(_0xfcaf4e,_0x4895d7,_0x371d55),_0x371d55;},me=(_0x307a5c,_0x14cb96)=>(_0x143bc0,_0x50f446)=>_0x14cb96(_0x143bc0,_0x50f446,_0x307a5c),Ie=(_0x69109d=>(_0x69109d[_0x69109d[_0x197d50(0x2c9)]=0x0]=_0x197d50(0x2c9),_0x69109d[_0x69109d[_0x197d50(0x38b)]=0x1]='JOINING',_0x69109d[_0x69109d[_0x197d50(0x29b)]=0x2]=_0x197d50(0x29b),_0x69109d[_0x69109d['ONLINE']=0x3]=_0x197d50(0x20e),_0x69109d))(Ie||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:_0x197d50(0x3be),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x197d50(0x319),[Ee[_0x197d50(0x3bc)]]:'session.room-permission-denied',[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x197d50(0x379)};let Tt=class extends _0x39849c{constructor(_0x3eda2e,_0x1ac685,_0x2bed34,_0x383f39,_0x38774c,_0x8cce93,_0x29e85b,_0x56c55e,_0x78c24c){var _0x474215=_0x197d50;super(),D(this,'_sessionStatus$',new _0x32a0c6(0x0)),D(this,_0x474215(0x2ef),this[_0x474215(0x179)][_0x474215(0x32b)]()),D(this,_0x474215(0x355),new _0x4077c2()),D(this,'event$',this[_0x474215(0x355)]['asObservable']()),D(this,_0x474215(0x1d6)),D(this,'_socketMessageSubscription'),D(this,_0x474215(0x2f2)),D(this,_0x474215(0x441),!0x1),D(this,_0x474215(0x3bb),null),(this[_0x474215(0x314)]=_0x3eda2e,this[_0x474215(0x3ad)]=_0x2bed34,this[_0x474215(0x28c)]=_0x383f39,this['_localeService']=_0x38774c,this[_0x474215(0x435)]=_0x8cce93,this['_commentService']=_0x29e85b,this[_0x474215(0x401)]=_0x56c55e,this['_telemetryService']=_0x78c24c,this[_0x474215(0x441)]=!!this['_telemetryService'],_0x1ac685[_0x474215(0x370)](_0x17ec8d(this[_0x474215(0x294)]))['subscribe'](_0x4d865c=>{var _0x5cb47b=_0x474215,_0x400923;typeof _0x4d865c>'u'||(this[_0x5cb47b(0x1d6)]=_0x4d865c,_0x4d865c?(this[_0x5cb47b(0x20f)](_0x4d865c),this[_0x5cb47b(0x2ec)]=_0x4d865c[_0x5cb47b(0x391)][_0x5cb47b(0x38f)](_0xabb7ae=>{var _0x2daad5=_0x5cb47b;_0xabb7ae[_0x2daad5(0x3c0)]===this[_0x2daad5(0x314)]&&this[_0x2daad5(0x25a)](_0xabb7ae);})):(this[_0x5cb47b(0x2f9)](),this[_0x5cb47b(0x179)][_0x5cb47b(0x252)](0x2),(_0x400923=this[_0x5cb47b(0x2ec)])==null||_0x400923['unsubscribe'](),this[_0x5cb47b(0x2ec)]=null));}));}get[_0x197d50(0x3db)](){var _0x39e71e=_0x197d50;return this[_0x39e71e(0x179)]['getValue']();}[_0x197d50(0x3fd)](){var _0x4917ee=_0x197d50,_0xd1da8f,_0x525ca3;return(_0x525ca3=(_0xd1da8f=this[_0x4917ee(0x1d6)])==null?void 0x0:_0xd1da8f[_0x4917ee(0x344)])!=null?_0x525ca3:null;}[_0x197d50(0x317)](){var _0x217474=_0x197d50;super['dispose'](),this[_0x217474(0x294)][_0x217474(0x252)](),this['dispose$']['complete']();}[_0x197d50(0x232)](){var _0x1b82ab=_0x197d50,_0x258c8a,_0x404e41;this[_0x1b82ab(0x2f9)](),(_0x258c8a=this['_socket'])==null||_0x258c8a[_0x1b82ab(0x28d)]({'cmd':F[_0x1b82ab(0x253)],'data':{'roomID':this[_0x1b82ab(0x314)]}}),(_0x404e41=this[_0x1b82ab(0x1d6)])==null||_0x404e41['close'](),this[_0x1b82ab(0x355)][_0x1b82ab(0x2ee)](),this[_0x1b82ab(0x179)][_0x1b82ab(0x2ee)](),this['dispose']();}['_onCombEvent'](_0x341540){var _0x9e7034=_0x197d50;_0x341540['cmd']===F[_0x9e7034(0x375)]?this[_0x9e7034(0x32d)](_0x341540):_0x341540['cmd']===F[_0x9e7034(0x336)]&&this['_onRecvEvent'](_0x341540);}[_0x197d50(0x20f)](_0x3f53f9){var _0x2865b4=_0x197d50;this[_0x2865b4(0x179)]['next'](0x1),_0x3f53f9[_0x2865b4(0x28d)]({'cmd':F[_0x2865b4(0x375)],'routeKey':this[_0x2865b4(0x314)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x33aea7){var _0x1ce495=_0x197d50,_0x31e3bd;if(_0x33aea7['code']in Yt){this[_0x1ce495(0x401)]['emitEvent']({'id':se[_0x1ce495(0x155)],'data':Yt[_0x33aea7[_0x1ce495(0x19d)]]}),this[_0x1ce495(0x179)][_0x1ce495(0x252)](0x2);return;}this[_0x1ce495(0x179)][_0x1ce495(0x252)](0x3);const _0xff1fd4=(_0x31e3bd=_0x33aea7['data'][_0x1ce495(0x443)][this[_0x1ce495(0x314)]])==null?void 0x0:_0x31e3bd['members'];_0xff1fd4&&_0xff1fd4[_0x1ce495(0x19c)](_0x21fff6=>this['_memberService']['updateMember'](this['_unitID'],_0x21fff6));}[_0x197d50(0x1a9)](_0x535954){var _0x5e1cde=_0x197d50;try{const _0x38e309=_0x535954[_0x5e1cde(0x1f9)];switch(_0x38e309['eventID']){case _0x4bbd69[_0x5e1cde(0x373)]:this['_onUserJoin'](_0x38e309),this[_0x5e1cde(0x355)][_0x5e1cde(0x252)](_0x38e309);break;case _0x4bbd69['USERS_LEAVE']:this[_0x5e1cde(0x2e8)](_0x38e309),this['_event$']['next'](_0x38e309);break;case _0x4bbd69[_0x5e1cde(0x1ed)]:case _0x4bbd69[_0x5e1cde(0x1ae)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5e1cde(0x2c3)](),this[_0x5e1cde(0x355)][_0x5e1cde(0x252)](_0x38e309);break;case _0x4bbd69[_0x5e1cde(0x307)]:this['_logService'][_0x5e1cde(0x1c7)](_0x5e1cde(0x377)+JSON['stringify'](_0x38e309)),this[_0x5e1cde(0x355)][_0x5e1cde(0x252)](_0x38e309);break;case _0x4bbd69['COMMENT_UPDATE']:this[_0x5e1cde(0x27e)]['onCommentUpdate'](_0x38e309['data']),this[_0x5e1cde(0x355)][_0x5e1cde(0x252)](_0x38e309);break;default:this[_0x5e1cde(0x355)][_0x5e1cde(0x252)](_0x38e309);}}catch(_0xbe20d4){this[_0x5e1cde(0x3ad)][_0x5e1cde(0x1c7)](_0xbe20d4,_0x535954);}}[_0x197d50(0x36b)](_0x42a566){var _0x12817f=_0x197d50;this[_0x12817f(0x435)]['updateMember'](this[_0x12817f(0x314)],_0x42a566[_0x12817f(0x1f9)]);}[_0x197d50(0x2e8)](_0x175aa3){var _0x5eccdb=_0x197d50;this[_0x5eccdb(0x435)]['removeMember'](this[_0x5eccdb(0x314)],_0x175aa3[_0x5eccdb(0x1f9)][_0x5eccdb(0x344)]);}async[_0x197d50(0x28d)](_0x5b2cb2,_0x29050a){var _0x36e65b=_0x197d50;if(this['sessionStatus']!==0x3||!this[_0x36e65b(0x1d6)])throw new Error(_0x36e65b(0x44a));try{_0x5b2cb2[_0x36e65b(0x324)]===_0x4bbd69['SUBMIT_CHANGESET']&&(this[_0x36e65b(0x161)](),this[_0x36e65b(0x3de)](_0x5b2cb2)),this['_socket'][_0x36e65b(0x28d)]({'cmd':F['INGEST'],'routeKey':_0x29050a,'routeType':'','data':_0x5b2cb2});}catch(_0x1cd147){this[_0x36e65b(0x3ad)][_0x36e65b(0x1c7)](_0x1cd147);}}[_0x197d50(0x161)](){var _0x521bcd;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x15c34a=_0x30fa;this['_collaborationTimeoutTimer']=null,this[_0x15c34a(0x401)][_0x15c34a(0x2ad)]({'id':se[_0x15c34a(0x2c2)]});},(_0x521bcd=this['_configService']['getConfig'](Si))!=null?_0x521bcd:Ei);}[_0x197d50(0x2c3)](){var _0x5a2b67=_0x197d50;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5a2b67(0x2f2)]),this[_0x5a2b67(0x2f2)]=null);}[_0x197d50(0x3de)](_0x19a19f){var _0x1daad6=_0x197d50;if(!this[_0x1daad6(0x441)])return;const {data:_0xaedd94}=_0x19a19f,{unitID:_0x258bcb,changeset:_0x45429f}=_0xaedd94,{mutations:_0xce63c4,type:_0xbcaeab}=_0x45429f;this[_0x1daad6(0x3bb)]={'unitId':_0x258bcb,'type':_0xbcaeab,'startTime':performance[_0x1daad6(0x16e)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0xce63c4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x154d3e=_0x197d50;if(this[_0x154d3e(0x441)]){if(!this[_0x154d3e(0x3bb)]){this[_0x154d3e(0x3ad)]['error']('[CollaborationSession]',_0x154d3e(0x147));return;}this['_telemetryInfo'][_0x154d3e(0x181)]=performance[_0x154d3e(0x16e)](),this['_telemetryInfo'][_0x154d3e(0x3e7)]=this['_telemetryInfo'][_0x154d3e(0x181)]-this[_0x154d3e(0x3bb)][_0x154d3e(0x455)],this['_telemetryService'][_0x154d3e(0x148)](Zn,this['_telemetryInfo']),this[_0x154d3e(0x3bb)]=null;}}[_0x197d50(0x2f9)](){this['_telemetryInfo']=null;}};Tt=os([me(0x2,_0x12fb6b),me(0x3,_0x3d2b7c),me(0x4,_0x287bb5(_0x2aec3b)),me(0x5,_0x287bb5(Le)),me(0x6,_0x287bb5(bi)),me(0x7,_0x287bb5(pe)),me(0x8,_0x41b21e(_0x225ea7))],Tt);var as=Object[_0x197d50(0x196)],cs=Object[_0x197d50(0x42d)],hs=(_0x1266b3,_0x1f660d,_0x3d78bf,_0x1fd04a)=>{var _0x9de5dc=_0x197d50;for(var _0x13ec9b=_0x1fd04a>0x1?void 0x0:_0x1fd04a?cs(_0x1f660d,_0x3d78bf):_0x1f660d,_0x402cb1=_0x1266b3[_0x9de5dc(0x1c6)]-0x1,_0x41565d;_0x402cb1>=0x0;_0x402cb1--)(_0x41565d=_0x1266b3[_0x402cb1])&&(_0x13ec9b=(_0x1fd04a?_0x41565d(_0x1f660d,_0x3d78bf,_0x13ec9b):_0x41565d(_0x13ec9b))||_0x13ec9b);return _0x1fd04a&&_0x13ec9b&&as(_0x1f660d,_0x3d78bf,_0x13ec9b),_0x13ec9b;},ge=(_0x1453f9,_0x4a02db)=>(_0x529b8b,_0x12bb47)=>_0x4a02db(_0x529b8b,_0x12bb47,_0x1453f9);let Me=class extends _0x2836d1{constructor(_0x2f9278,_0x5a7d63,_0x2ebee7,_0x348a7c,_0x91cd3c,_0xc626aa,_0x5011d6){var _0x21cb60=_0x197d50;super(),D(this,_0x21cb60(0x333),new _0x32a0c6(void 0x0)),D(this,_0x21cb60(0x43d),this[_0x21cb60(0x333)][_0x21cb60(0x32b)]()),D(this,_0x21cb60(0x21d),null),D(this,_0x21cb60(0x256),new Map()),D(this,_0x21cb60(0x1d5),new _0x32a0c6(Ie[_0x21cb60(0x2c9)])),D(this,_0x21cb60(0x16f),this[_0x21cb60(0x1d5)][_0x21cb60(0x32b)]()),D(this,'_socketReady',!0x1),D(this,_0x21cb60(0x1f8)),D(this,_0x21cb60(0x28a),0x0),D(this,_0x21cb60(0x3fb)),D(this,_0x21cb60(0x399)),(this[_0x21cb60(0x388)]=_0x2f9278,this[_0x21cb60(0x3ad)]=_0x5a7d63,this[_0x21cb60(0x28c)]=_0x2ebee7,this[_0x21cb60(0x3f6)]=_0x348a7c,this['_httpService']=_0x91cd3c,this[_0x21cb60(0x401)]=_0xc626aa,this[_0x21cb60(0x291)]=_0x5011d6,this['_listenToNetworkCondition']());}get['_socket'](){var _0x2a2f73=_0x197d50;return this[_0x2a2f73(0x333)][_0x2a2f73(0x438)]();}[_0x197d50(0x186)](){var _0x3b7c0e=_0x197d50;this['_networkConditionService']&&this[_0x3b7c0e(0x1a7)](this['_networkConditionService'][_0x3b7c0e(0x328)][_0x3b7c0e(0x38f)](_0x3a3f9f=>{var _0x5e8e71=_0x3b7c0e;_0x3a3f9f&&!this[_0x5e8e71(0x1d6)]&&this[_0x5e8e71(0x1f2)](),_0x3a3f9f||this['_onOffline']();}));}[_0x197d50(0x317)](){var _0x46206b=_0x197d50;super[_0x46206b(0x317)](),this[_0x46206b(0x256)][_0x46206b(0x19c)](_0x3198ae=>_0x3198ae[_0x46206b(0x317)]()),this[_0x46206b(0x256)][_0x46206b(0x2f8)](),this['_status$'][_0x46206b(0x2ee)]();}async['requireSession'](_0x31244d){var _0x4082cc=_0x197d50;if(this['_sessions'][_0x4082cc(0x2de)](_0x31244d))return this[_0x4082cc(0x256)][_0x4082cc(0x234)](_0x31244d);this['_tryEnsureSocket']();const _0x733bce=this['_injector'][_0x4082cc(0x39c)](Tt,_0x31244d,this[_0x4082cc(0x333)][_0x4082cc(0x32b)]());return this['_sessions'][_0x4082cc(0x214)](_0x31244d,_0x733bce),_0x733bce;}[_0x197d50(0x3ce)](_0x1f1275){var _0x348bb5=_0x197d50,_0x2103bb;const _0x15061c=this[_0x348bb5(0x256)]['get'](_0x1f1275);_0x15061c&&(this[_0x348bb5(0x256)][_0x348bb5(0x21b)](_0x1f1275),_0x15061c[_0x348bb5(0x232)]()),this[_0x348bb5(0x256)]['size']||(_0x2103bb=this[_0x348bb5(0x1d6)])==null||_0x2103bb[_0x348bb5(0x232)]();}[_0x197d50(0x1f2)](){var _0x57cfcd=_0x197d50;this['_retryCount']=0x0,this[_0x57cfcd(0x1f8)]!=null&&(clearTimeout(this[_0x57cfcd(0x1f8)]),this['_retryConnectingTimer']=null),this[_0x57cfcd(0x3e1)]();}async[_0x197d50(0x1a5)](){var _0x45bf30=_0x197d50,_0x9ef04f,_0xb94a1f,_0x59bbdd;const _0x256dd0=this['_configService'][_0x45bf30(0x408)](Y),_0xdbb2b=(_0x9ef04f=_0x256dd0==null?void 0x0:_0x256dd0[_0x45bf30(0x41c)])!=null?_0x9ef04f:xn;return(_0x59bbdd=(_0xb94a1f=(await this[_0x45bf30(0x276)]['get'](_0xdbb2b,{'headers':{'Content-Type':'application/json'}}))[_0x45bf30(0x1a2)])==null?void 0x0:_0xb94a1f[_0x45bf30(0x3ae)])!=null?_0x59bbdd:'';}[_0x197d50(0x3cc)](_0x222702){var _0x44f105=_0x197d50,_0x1733e5,_0x41f96d;const _0x3fc95a=this[_0x44f105(0x28c)][_0x44f105(0x408)](Un),_0x563cea=this[_0x44f105(0x28c)][_0x44f105(0x408)](Y),_0x4aea59=(_0x41f96d=(_0x1733e5=_0x563cea==null?void 0x0:_0x563cea[_0x44f105(0x1cc)])!=null?_0x1733e5:_0x3fc95a)!=null?_0x41f96d:An,_0x576a88=typeof window>'u'?new URL(_0x4aea59):new URL(_0x4aea59,window[_0x44f105(0x1e0)][_0x44f105(0x35f)]);_0x576a88[_0x44f105(0x14a)][_0x44f105(0x214)](_0x44f105(0x1ea),_0x222702);const _0x13be7a=new URLSearchParams(location[_0x44f105(0x23e)]);return _0x13be7a[_0x44f105(0x234)](_0x44f105(0x284))&&_0x576a88['searchParams'][_0x44f105(0x214)](_0x44f105(0x284),_0x13be7a['get'](_0x44f105(0x284))),_0x576a88[_0x44f105(0x1d2)]();}async[_0x197d50(0x360)](){var _0x482f30=_0x197d50;const _0x52e6be=await this[_0x482f30(0x1a5)](),_0x3a4d8c=this['_createSocketURL'](_0x52e6be),_0x25ec9c=this[_0x482f30(0x3f6)][_0x482f30(0x37d)](_0x3a4d8c);return this[_0x482f30(0x21d)]=_0x25ec9c,_0x25ec9c;}async[_0x197d50(0x2dc)](){var _0x3ced3a=_0x197d50,_0x4d709e,_0x4becc0;try{const _0x1e3e9e=(_0x4becc0=(_0x4d709e=this[_0x3ced3a(0x1d6)])!=null?_0x4d709e:this[_0x3ced3a(0x21d)])!=null?_0x4becc0:await this[_0x3ced3a(0x360)]();if(_0x1e3e9e){const _0x76daeb=_0x1e3e9e[_0x3ced3a(0x28d)];_0x1e3e9e['send']=_0x364fd2=>(this[_0x3ced3a(0x2b6)](),_0x76daeb[_0x3ced3a(0x171)](_0x1e3e9e,[_0x364fd2])),_0x1e3e9e['message$'][_0x3ced3a(0x38f)](_0x454c46=>this['_onMessage'](_0x1e3e9e,_0x454c46)),_0x1e3e9e[_0x3ced3a(0x1d7)]['pipe'](_0x27deb2(0x1))[_0x3ced3a(0x38f)](_0x3c9f11=>this[_0x3ced3a(0x3ad)][_0x3ced3a(0x1c7)](_0x3ced3a(0x2f4),_0x3c9f11)),_0x1e3e9e['open$']['pipe'](_0x27deb2(0x1))[_0x3ced3a(0x38f)](()=>{this['_onConnectionOpen'](_0x1e3e9e);}),_0x1e3e9e[_0x3ced3a(0x3f8)][_0x3ced3a(0x370)](_0x27deb2(0x1))['subscribe'](_0x51db67=>{var _0x565aa0=_0x3ced3a;this[_0x565aa0(0x3ad)][_0x565aa0(0x1bf)](_0x565aa0(0x34a),_0x565aa0(0x19b),_0x51db67),this[_0x565aa0(0x372)]();});}}catch(_0x380e5){this[_0x3ced3a(0x3ad)][_0x3ced3a(0x1c7)](_0x380e5),this[_0x3ced3a(0x372)]();}}[_0x197d50(0x2b0)](_0x15970a){var _0x3d17ee=_0x197d50;this[_0x3d17ee(0x3ad)][_0x3d17ee(0x1bf)](_0x3d17ee(0x34a),_0x3d17ee(0x195)),_0x15970a[_0x3d17ee(0x28d)]({'cmd':F[_0x3d17ee(0x1c5)]}),this[_0x3d17ee(0x2b6)]();}[_0x197d50(0x369)](){var _0x229f06=_0x197d50;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x229f06(0x1d5)][_0x229f06(0x252)](Ie[_0x229f06(0x29b)]),this[_0x229f06(0x333)][_0x229f06(0x252)](null),this[_0x229f06(0x2ae)](),this[_0x229f06(0x218)]();}[_0x197d50(0x372)](){var _0x4d4595=_0x197d50,_0x53699b;this['_onOffline'](),this[_0x4d4595(0x28a)]<((_0x53699b=this['_configService'][_0x4d4595(0x408)](Hn))!=null?_0x53699b:kn)?(this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x4d4595(0x3e1)]()):this['_collaborationUIEventService'][_0x4d4595(0x2ad)]({'id':se[_0x4d4595(0x1ee)]});}['_tryReconnect'](){var _0x4c90f5=_0x197d50,_0x55a9aa;const _0xbd638d=this[_0x4c90f5(0x28a)],_0x389c27=this[_0x4c90f5(0x28c)][_0x4c90f5(0x408)](Y),_0xd01c84=_0xbd638d===0x0?0x0:((_0x55a9aa=_0x389c27==null?void 0x0:_0x389c27[_0x4c90f5(0x31d)])!=null?_0x55a9aa:$n)*0x2**_0xbd638d;this[_0x4c90f5(0x1f8)]=setTimeout(()=>{var _0x381486=_0x4c90f5;clearTimeout(this[_0x381486(0x1f8)]),this['_retryConnectingTimer']=null,this[_0x381486(0x2dc)]();},_0xd01c84),this['_retryCount']+=0x1;}[_0x197d50(0x1a1)](_0x641842,_0x177279){var _0x4d61a8=_0x197d50;const {cmd:_0xf90428}=_0x177279;_0xf90428===F[_0x4d61a8(0x1c5)]&&!this[_0x4d61a8(0x2c8)]&&(_0x641842[_0x4d61a8(0x344)]=_0x177279[_0x4d61a8(0x1f9)][_0x4d61a8(0x344)],this[_0x4d61a8(0x333)]['next'](_0x641842),this['_status$'][_0x4d61a8(0x252)](Ie[_0x4d61a8(0x20e)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0xf90428===F[_0x4d61a8(0x41e)]&&this[_0x4d61a8(0x2ae)](),this[_0x4d61a8(0x2b6)]();}[_0x197d50(0x2b6)](){var _0x33c8c8=_0x197d50,_0x17813b;this['_clearHeartbeatTimer'](),this[_0x33c8c8(0x3fb)]=setTimeout(()=>this[_0x33c8c8(0x266)](),(_0x17813b=this['_configService'][_0x33c8c8(0x408)](Ln))!=null?_0x17813b:Mn);}[_0x197d50(0x266)](){var _0x2c0452=_0x197d50;this[_0x2c0452(0x1d6)][_0x2c0452(0x28d)]({'cmd':F[_0x2c0452(0x41e)]}),this[_0x2c0452(0x26e)]();}['_waitForHeartbeatResponse'](){var _0x40f426=_0x197d50,_0x1b569a;this[_0x40f426(0x399)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1b569a=this[_0x40f426(0x28c)]['getConfig'](Si))!=null?_0x1b569a:Ei);}[_0x197d50(0x218)](){var _0x1f7aab=_0x197d50;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1f7aab(0x3fb)]),this[_0x1f7aab(0x3fb)]=null);}[_0x197d50(0x2ae)](){var _0x2e7392=_0x197d50;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x2e7392(0x399)]),this[_0x2e7392(0x399)]=null);}};Me=hs([ge(0x0,_0x287bb5(_0x4574c3)),ge(0x1,_0x12fb6b),ge(0x2,_0x3d2b7c),ge(0x3,Ci),ge(0x4,_0x287bb5(_0x258eed)),ge(0x5,_0x287bb5(pe)),ge(0x6,_0x41b21e(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x197d50(0x1d2)](0x10)[_0x197d50(0x2d1)](0x1));function _s(_0x37e485,_0x36dab1=0x0){return(V[_0x37e485[_0x36dab1+0x0]]+V[_0x37e485[_0x36dab1+0x1]]+V[_0x37e485[_0x36dab1+0x2]]+V[_0x37e485[_0x36dab1+0x3]]+'-'+V[_0x37e485[_0x36dab1+0x4]]+V[_0x37e485[_0x36dab1+0x5]]+'-'+V[_0x37e485[_0x36dab1+0x6]]+V[_0x37e485[_0x36dab1+0x7]]+'-'+V[_0x37e485[_0x36dab1+0x8]]+V[_0x37e485[_0x36dab1+0x9]]+'-'+V[_0x37e485[_0x36dab1+0xa]]+V[_0x37e485[_0x36dab1+0xb]]+V[_0x37e485[_0x36dab1+0xc]]+V[_0x37e485[_0x36dab1+0xd]]+V[_0x37e485[_0x36dab1+0xe]]+V[_0x37e485[_0x36dab1+0xf]])['toLowerCase']();}function _0x30fa(_0x166cbb,_0x5829e4){var _0x443753=_0x4437();return _0x30fa=function(_0x30fa13,_0x5392e6){_0x30fa13=_0x30fa13-0x146;var _0x2852cf=_0x443753[_0x30fa13];return _0x2852cf;},_0x30fa(_0x166cbb,_0x5829e4);}let dt;const ls=new Uint8Array(0x10);function us(){var _0x45dc1d=_0x197d50;if(!dt){if(typeof crypto>'u'||!crypto[_0x45dc1d(0x326)])throw new Error(_0x45dc1d(0x33b));dt=crypto[_0x45dc1d(0x326)]['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x197d50(0x239)]&&crypto[_0x197d50(0x239)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0x2f29ab,_0x5565e4,_0x4e28b8){var _0x5684cd=_0x197d50;if(qt['randomUUID']&&!_0x5565e4&&!_0x2f29ab)return qt[_0x5684cd(0x239)]();_0x2f29ab=_0x2f29ab||{};const _0x5179cc=_0x2f29ab['random']||(_0x2f29ab[_0x5684cd(0x251)]||us)();return _0x5179cc[0x6]=_0x5179cc[0x6]&0xf|0x40,_0x5179cc[0x8]=_0x5179cc[0x8]&0x3f|0x80,_s(_0x5179cc);}const X=_0x40a077(_0x197d50(0x3d4));function uo(_0x450341){var _0x36c00e=_0x197d50;return _0x36c00e(0x30d)+_0x450341;}var vs=Object[_0x197d50(0x196)],ps=Object['getOwnPropertyDescriptor'],ms=(_0x2c3b87,_0xdb416,_0x19f9b5,_0x2b7fcc)=>{var _0xce5b85=_0x197d50;for(var _0x4611aa=_0x2b7fcc>0x1?void 0x0:_0x2b7fcc?ps(_0xdb416,_0x19f9b5):_0xdb416,_0x1ee88e=_0x2c3b87[_0xce5b85(0x1c6)]-0x1,_0x1a1c98;_0x1ee88e>=0x0;_0x1ee88e--)(_0x1a1c98=_0x2c3b87[_0x1ee88e])&&(_0x4611aa=(_0x2b7fcc?_0x1a1c98(_0xdb416,_0x19f9b5,_0x4611aa):_0x1a1c98(_0x4611aa))||_0x4611aa);return _0x2b7fcc&&_0x4611aa&&vs(_0xdb416,_0x19f9b5,_0x4611aa),_0x4611aa;},ft=(_0x1908d2,_0x1c018b)=>(_0x40958b,_0x8a015)=>_0x1c018b(_0x40958b,_0x8a015,_0x1908d2);function gs(_0x4fee38){var _0x4b393d=_0x197d50;const {unitID:_0x1f15ef,mutations:_0x5430ff}=_0x4fee38;return{'unitId':_0x1f15ef,'subUnitId':_0x5430ff[0x0][_0x4b393d(0x3f7)][_0x4b393d(0x3d9)]};}let nt=class{constructor(_0x287cb5,_0x567960,_0x3a6d0a){var _0x350599=_0x197d50;this[_0x350599(0x388)]=_0x287cb5,this[_0x350599(0x222)]=_0x567960,this['_instanceService']=_0x3a6d0a;}[_0x197d50(0x452)](_0x516b25){var _0x45e54c=_0x197d50,_0x21bce1,_0x437abd,_0x2c8e31,_0x26c1f7;const _0x1374b3=this['_injector']['get'](_0x1c354d),{unitId:_0x6a5de,subUnitId:_0x2874e6}=gs(_0x516b25),_0xaab981=_0x1374b3==null?void 0x0:_0x1374b3[_0x45e54c(0x2a1)](_0x6a5de)['getCurrentSelections'](),_0x610539=(_0x437abd=(_0x21bce1=this[_0x45e54c(0x2a7)][_0x45e54c(0x419)](_0x6a5de))==null?void 0x0:_0x21bce1[_0x45e54c(0x453)]())==null?void 0x0:_0x437abd[_0x45e54c(0x2a8)]();if(_0xaab981['length']===0x0||!_0x6a5de||!_0x2874e6)return;const _0x52e5bf=[{'id':_0x50202c['id'],'params':{'unitId':_0x6a5de,'subUnitId':_0x610539,'selections':_0x228b6f[_0x45e54c(0x168)](_0xaab981)}}],_0x45f1ac=this['_transformService']['transformMutationsWithChangeset'](_0x516b25,_0x52e5bf);if(!_0x245ab4(_0x45f1ac))throw _0x45f1ac['error'];const _0x57c48d=(_0x26c1f7=(_0x2c8e31=_0x45f1ac[_0x45e54c(0x321)][0x0])==null?void 0x0:_0x2c8e31[_0x45e54c(0x3f7)])==null?void 0x0:_0x26c1f7['selections'];if(Array[_0x45e54c(0x166)](_0x57c48d)&&_0x57c48d[_0x45e54c(0x1c6)]){if(_0x57c48d[_0x45e54c(0x1c6)]===_0x52e5bf[0x0][_0x45e54c(0x3f7)]['selections'][_0x45e54c(0x1c6)]&&_0x57c48d[_0x45e54c(0x203)]((_0x233fed,_0x1ed7ac)=>_0x465fc7[_0x45e54c(0x430)](_0x233fed['range'],_0x52e5bf[0x0]['params'][_0x45e54c(0x39f)][_0x1ed7ac][_0x45e54c(0x2a4)])))return;this[_0x45e54c(0x388)][_0x45e54c(0x234)](_0x42cf49)[_0x45e54c(0x2b4)](_0x50202c['id'],{'unitId':_0x6a5de,'subUnitId':_0x610539,'selections':_0x57c48d});}}};nt=ms([ft(0x0,_0x287bb5(_0x4574c3)),ft(0x1,_0x1016d9),ft(0x2,_0x1d1205)],nt);const _t=_0x40a077(_0x197d50(0x356));var Ri=(_0x563c67=>(_0x563c67[_0x563c67[_0x197d50(0x421)]=0x0]=_0x197d50(0x421),_0x563c67[_0x563c67[_0x197d50(0x2ac)]=0x1]=_0x197d50(0x2ac),_0x563c67))(Ri||{});const Ss=new Set([_0x1e4d40['id']]);function Jt(_0x55b261,_0x854f40,_0x23d09c,_0xb76595,_0xbfd449){var _0x584977=_0x197d50,_0x2dc108,_0x3afe0b,_0x19773f,_0x10239b;const _0x2cc9c5=[];for(const _0x1cead4 of _0x55b261)if(Ss[_0x584977(0x2de)](_0x1cead4['id'])){if(_0x2cc9c5[_0x584977(0x1c6)]>0x0)break;_0x2cc9c5[_0x584977(0x1a6)](_0x1cead4);break;}else _0x2cc9c5['push'](_0x1cead4);const _0x3f3751=(_0x3afe0b=(_0x2dc108=_0xbfd449[_0x584977(0x2fe)]())==null?void 0x0:_0x2dc108[_0x584977(0x29a)])!=null?_0x3afe0b:_0x584977(0x2f7),_0xd7eb7b=(_0x10239b=(_0x19773f=_0xbfd449[_0x584977(0x2fe)]())==null?void 0x0:_0x19773f[_0x584977(0x344)])!=null?_0x10239b:_0x584977(0x2f7);return{'changeset':{'unitID':_0x854f40,'type':_0x2b8976(_0x23d09c[_0x584977(0x2f3)](_0x854f40)),'baseRev':_0xb76595[_0x584977(0x22a)](_0x854f40),'revision':0x0,'userID':_0x3f3751,'memberID':_0xd7eb7b,'mutations':_0x2cc9c5},'pendingMutations':_0x55b261[_0x584977(0x2d1)](_0x2cc9c5[_0x584977(0x1c6)])};}function Es(_0xcc4825,_0x1e29fb,_0x19050e,_0x5f5196,_0x394189){var _0x124dd8=_0x197d50,_0x3414e2,_0x29fab1,_0x2ffe81,_0x5e4b2f;const _0x112d1e=[_0xcc4825['reduce']((_0x1584db,_0x7de0b3)=>{var _0x2a2524=_0x30fa,_0x3465f2;const {id:_0x1ffb10}=_0x1584db,{id:_0x1d143b,type:_0xe4b1f0}=_0x7de0b3,_0x2a6a6f=(_0x3465f2=_0x1584db[_0x2a2524(0x3f7)])!=null?_0x3465f2:{'actions':null},_0x3c89d8=_0x7de0b3[_0x2a2524(0x3f7)];if(_0x1ffb10&&_0x1ffb10!==_0x1d143b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1ffb10+_0x2a2524(0x3ca)+_0x1d143b+'.');return{..._0x1584db,'id':_0x1d143b,'type':_0xe4b1f0,'params':{'unitId':_0x3c89d8[_0x2a2524(0x2cd)],'textRanges':_0x3c89d8[_0x2a2524(0x30b)],'actions':_0x3ae794[_0x2a2524(0x1fb)](_0x2a6a6f[_0x2a2524(0x1e8)],_0x3c89d8[_0x2a2524(0x1e8)])}};},{})],_0x4cefce=(_0x29fab1=(_0x3414e2=_0x394189['getCurrentUser']())==null?void 0x0:_0x3414e2[_0x124dd8(0x29a)])!=null?_0x29fab1:_0x124dd8(0x2f7),_0x10407c=(_0x5e4b2f=(_0x2ffe81=_0x394189[_0x124dd8(0x2fe)]())==null?void 0x0:_0x2ffe81[_0x124dd8(0x344)])!=null?_0x5e4b2f:'unknown';return{'changeset':{'unitID':_0x1e29fb,'type':_0x2b8976(_0x19050e['getUnitType'](_0x1e29fb)),'baseRev':_0x5f5196['getCurrentRevOfUnit'](_0x1e29fb),'revision':0x0,'userID':_0x4cefce,'memberID':_0x10407c,'mutations':_0x112d1e},'pendingMutations':[]};}function yi(_0x4488cd,_0x19f271){var _0xd6f6a9=_0x197d50;const _0xd96965=new _0x554ee1(0x1);return setTimeout(()=>_0xd96965[_0xd6f6a9(0x252)](_0x19f271),_0x4488cd),_0xd96965[_0xd6f6a9(0x32b)]()[_0xd6f6a9(0x370)](_0x396880(0x1));}const Is={'id':_0x52f814['id'],'type':_0x278e3b[_0x197d50(0x353)],'params':{}};var Ts=Object['defineProperty'],Cs=Object[_0x197d50(0x42d)],Ce=(_0x48b0ba,_0x14f6a8,_0x45092e,_0x5ac56c)=>{var _0x49f38a=_0x197d50;for(var _0x14ab41=_0x5ac56c>0x1?void 0x0:_0x5ac56c?Cs(_0x14f6a8,_0x45092e):_0x14f6a8,_0x27247d=_0x48b0ba[_0x49f38a(0x1c6)]-0x1,_0x15a76e;_0x27247d>=0x0;_0x27247d--)(_0x15a76e=_0x48b0ba[_0x27247d])&&(_0x14ab41=(_0x5ac56c?_0x15a76e(_0x14f6a8,_0x45092e,_0x14ab41):_0x15a76e(_0x14ab41))||_0x14ab41);return _0x5ac56c&&_0x14ab41&&Ts(_0x14f6a8,_0x45092e,_0x14ab41),_0x14ab41;},A=(_0x5266d3,_0x39f150)=>(_0x5a58df,_0x59aec8)=>_0x39f150(_0x5a58df,_0x59aec8,_0x5266d3),Oi=(_0x3f30ba=>(_0x3f30ba['NOT_COLLAB']=_0x197d50(0x279),_0x3f30ba[_0x197d50(0x1d8)]='synced',_0x3f30ba['PENDING']=_0x197d50(0x210),_0x3f30ba[_0x197d50(0x1ec)]=_0x197d50(0x27c),_0x3f30ba[_0x197d50(0x1b3)]=_0x197d50(0x2b2),_0x3f30ba[_0x197d50(0x371)]=_0x197d50(0x2ba),_0x3f30ba['CONFLICT']=_0x197d50(0x18f),_0x3f30ba[_0x197d50(0x29b)]=_0x197d50(0x3c4),_0x3f30ba))(Oi||{});const Pi=0xea60;class be{constructor(_0x516380,_0x3511ef,_0x27e2ca,_0x3d04ea,_0x3e990b,_0x16d8cf,_0x1d11bf,_0x418bc3,_0xfcb1c4){var _0x5d440b=_0x197d50;D(this,_0x5d440b(0x23f),null),D(this,_0x5d440b(0x41a),[]),(this['unitID']=_0x516380,this[_0x5d440b(0x1cd)]=_0x3511ef,this[_0x5d440b(0x325)]=_0x3e990b,this[_0x5d440b(0x270)]=_0x16d8cf,this['_undoRedoService']=_0x1d11bf,this[_0x5d440b(0x1c2)]=_0x418bc3,this[_0x5d440b(0x23d)]=_0xfcb1c4,this[_0x5d440b(0x23f)]=_0x27e2ca,this['_pendingMutations']=_0x3d04ea);}[_0x197d50(0x259)](_0x256ede){var _0x1f84c6=_0x197d50;const _0x5d8876=this[_0x1f84c6(0x1c2)][_0x1f84c6(0x22a)](this[_0x1f84c6(0x416)]);return _0x256ede[_0x1f84c6(0x365)]>_0x5d8876+0x1?(this[_0x1f84c6(0x325)]['onMissingChangesets']({'from':_0x5d8876,'to':_0x256ede[_0x1f84c6(0x365)]-0x1}),!0x0):!0x1;}[_0x197d50(0x422)](_0x1e1adb){var _0x510c5d=_0x197d50;this[_0x510c5d(0x1bd)][_0x510c5d(0x40d)](this['unitID'],_0x1e1adb);}['_transformSelections'](_0x44f695){var _0x125130=_0x197d50,_0xeec4a2,_0x3b96f1;(_0x3b96f1=(_0xeec4a2=this[_0x125130(0x325)])[_0x125130(0x3b6)])==null||_0x3b96f1['call'](_0xeec4a2,_0x44f695);}[_0x197d50(0x25b)](_0xabfde2){var _0x3bf2a8=_0x197d50,_0x11f325,_0x415fbc;return(_0x415fbc=(_0x11f325=this[_0x3bf2a8(0x325)])[_0x3bf2a8(0x1fe)])==null?void 0x0:_0x415fbc[_0x3bf2a8(0x293)](_0x11f325,_0xabfde2);}[_0x197d50(0x39e)](_0x471fe4){var _0x4e905d=_0x197d50,_0x42320f,_0x1c3f1f;return(_0x1c3f1f=(_0x42320f=this[_0x4e905d(0x325)])[_0x4e905d(0x35d)])==null?void 0x0:_0x1c3f1f[_0x4e905d(0x293)](_0x42320f,_0x471fe4);}[_0x197d50(0x287)](_0x4864fa){var _0x4392fd=_0x197d50,_0x2d75b7,_0x993857,_0x50b3ab;return(_0x50b3ab=(_0x993857=(_0x2d75b7=this[_0x4392fd(0x325)])[_0x4392fd(0x413)])==null?void 0x0:_0x993857['call'](_0x2d75b7,_0x4864fa))!=null?_0x50b3ab:_0x4864fa;}[_0x197d50(0x233)](_0x507c74){var _0x588b03=_0x197d50,_0x1a12ff,_0x3d49d7,_0x483d2a;return(_0x483d2a=(_0x3d49d7=(_0x1a12ff=this[_0x588b03(0x325)])[_0x588b03(0x3b3)])==null?void 0x0:_0x3d49d7['call'](_0x1a12ff,_0x507c74))!=null?_0x483d2a:_0x507c74;}[_0x197d50(0x2aa)](_0x536f32){var _0x5a91fe=_0x197d50,_0x3de964,_0x58f9dc;if(this['type']===Q[_0x5a91fe(0x169)]){const {unitID:_0x5722a1,mutations:_0x2325d9,memberID:_0x1ebce2}=_0x536f32,_0x1c771c=_0x2325d9[0x0]['params'][_0x5a91fe(0x30b)];Array['isArray'](_0x1c771c)&&_0x1c771c[_0x5a91fe(0x1c6)]>0x0&&((_0x58f9dc=(_0x3de964=this[_0x5a91fe(0x325)])[_0x5a91fe(0x15c)])==null||_0x58f9dc['call'](_0x3de964,{'unitID':_0x5722a1,'memberID':_0x1ebce2,'textRanges':_0x1c771c}));}}['_updateLocalCache'](){var _0x3af148=_0x197d50,_0x23e79c;(_0x23e79c=this[_0x3af148(0x23d)])==null||_0x23e79c[_0x3af148(0x162)](this[_0x3af148(0x416)],this[_0x3af148(0x1cd)],this[_0x3af148(0x23f)],this['_pendingMutations']);}[_0x197d50(0x345)](){var _0x52b6b3=_0x197d50;return this[_0x52b6b3(0x1c2)][_0x52b6b3(0x22a)](this[_0x52b6b3(0x416)]);}[_0x197d50(0x242)](){var _0x5374e9=_0x197d50;this[_0x5374e9(0x1c2)][_0x5374e9(0x2fa)](this['unitID']);}[_0x197d50(0x219)](_0x148721){var _0x339dc5=_0x197d50,_0x4d72dc;let _0x268061=this['_transformRemoteChangesetByIMECache'](_0x148721);_0x268061=this[_0x339dc5(0x233)](_0x268061);const _0x520c46=_0x4567de(_0x268061['mutations'],this[_0x339dc5(0x270)],{'fromCollab':!0x0});if(!_0x520c46[_0x339dc5(0x3a3)])throw _0x520c46[_0x339dc5(0x1c7)]instanceof Error?_0x520c46[_0x339dc5(0x1c7)]:new Error((_0x4d72dc=_0x520c46[_0x339dc5(0x1c7)])!=null?_0x4d72dc:'[CollaborationState]:\x20apply\x20error!');this[_0x339dc5(0x25b)](_0x268061),this[_0x339dc5(0x39e)](_0x268061),this[_0x339dc5(0x422)](_0x148721),this['_transformSelections'](_0x268061),this[_0x339dc5(0x2aa)](_0x268061),this[_0x339dc5(0x242)]();}}let Pe=class extends be{constructor(_0x4d68fb,_0x48942d,_0x116d26,_0x1e748f,_0x41fc82,_0x174bf8,_0x16a65b,_0x1bcf88,_0x165e32,_0x388767){var _0x2da725=_0x197d50;super(_0x4d68fb,_0x48942d,null,[],_0x116d26,_0x16a65b,_0x174bf8,_0x1e748f,_0x388767),D(this,'status',_0x2da725(0x343)),(this[_0x2da725(0x388)]=_0x41fc82,this[_0x2da725(0x3ad)]=_0x1bcf88,this[_0x2da725(0x222)]=_0x165e32,this[_0x2da725(0x2d2)]=_0x388767);}['appendMutation'](_0x76a1c9){var _0x44e76f=_0x197d50;const _0x3ae7fd=this[_0x44e76f(0x388)][_0x44e76f(0x39c)](re,this[_0x44e76f(0x416)],this['type'],[_0x76a1c9],this[_0x44e76f(0x325)]);return _0x3ae7fd[_0x44e76f(0x14e)](),_0x3ae7fd[_0x44e76f(0x43a)](),_0x3ae7fd;}[_0x197d50(0x36e)](_0x5962e2){var _0x35adb3=_0x197d50;if(this[_0x35adb3(0x259)](_0x5962e2))return this['_injector'][_0x35adb3(0x39c)](te,this[_0x35adb3(0x416)],this[_0x35adb3(0x1cd)],null,[],null,[_0x5962e2],this['_handler']);try{const _0x50eec4=this[_0x35adb3(0x222)]['transformMutationsWithChangeset'](_0x5962e2,[Is]);if(_0x245ab4(_0x50eec4)){const {c1Prime:_0xd2555f}=_0x50eec4;return this[_0x35adb3(0x219)](_0xd2555f),this;}throw _0x50eec4[_0x35adb3(0x1c7)];}catch(_0x479fab){return this[_0x35adb3(0x3ad)][_0x35adb3(0x1c7)](_0x479fab),this['_onConflict'](!0x1);}}['_onConflict'](_0x47dad7){var _0x15fc37=_0x197d50;return this['_injector'][_0x15fc37(0x39c)](de,this[_0x15fc37(0x416)],this[_0x15fc37(0x1cd)],null,[],this[_0x15fc37(0x325)],_0x47dad7);}[_0x197d50(0x368)](){var _0x921bc8=_0x197d50;throw new Error(_0x921bc8(0x395));}[_0x197d50(0x2d8)](){var _0x22e901=_0x197d50;throw new Error(_0x22e901(0x189));}['onRemoteRetry'](){return this;}[_0x197d50(0x3f2)](){var _0x810b62=_0x197d50;return this[_0x810b62(0x388)][_0x810b62(0x39c)](fe,this[_0x810b62(0x416)],this[_0x810b62(0x1cd)],null,[],this[_0x810b62(0x325)]);}[_0x197d50(0x2e5)](){return this;}['resend'](){var _0x45c0ef=_0x197d50;throw new Error(_0x45c0ef(0x250));}[_0x197d50(0x28f)](){var _0x4eeb41=_0x197d50;const _0xcc3084=this[_0x4eeb41(0x1c2)]['getCurrentRevOfUnit'](this[_0x4eeb41(0x416)]);return this['_handler'][_0x4eeb41(0x428)]({'from':_0xcc3084,'to':0x0}),this[_0x4eeb41(0x388)][_0x4eeb41(0x39c)](te,this['unitID'],this['type'],null,[],null,[],this[_0x4eeb41(0x325)]);}};Pe=Ce([A(0x3,_0x287bb5(_0x55fb7e)),A(0x4,_0x287bb5(_0x4574c3)),A(0x5,_0x112b5f),A(0x6,_0x42cf49),A(0x7,_0x12fb6b),A(0x8,_0x1016d9),A(0x9,_0x41b21e(X))],Pe);let re=class extends be{constructor(_0x1a2a37,_0x58ee97,_0x52daf5,_0x544069,_0x2f2623,_0x5249ba,_0x3e9337,_0x539c4d,_0x2c2a62,_0x4c74be,_0x58da5b,_0x29c470,_0x4dd0db,_0x28fbb4){var _0x2a5235=_0x197d50;super(_0x1a2a37,_0x58ee97,null,_0x52daf5,_0x544069,_0x2c2a62,_0x4dd0db,_0x5249ba,_0x28fbb4),D(this,_0x2a5235(0x338),_0x2a5235(0x210)),D(this,_0x2a5235(0x33e),null),D(this,_0x2a5235(0x3ea),null),(this['_injector']=_0x2f2623,this[_0x2a5235(0x435)]=_0x3e9337,this[_0x2a5235(0x3ad)]=_0x539c4d,this[_0x2a5235(0x28c)]=_0x4c74be,this[_0x2a5235(0x222)]=_0x58da5b,this['_univerInstanceService']=_0x29c470);}[_0x197d50(0x17f)](_0x599e28){var _0x4826a4=_0x197d50;return this['_pendingMutations'][_0x4826a4(0x1a6)](_0x599e28),this[_0x4826a4(0x43a)](),this;}[_0x197d50(0x36e)](_0x295bcb){var _0x418359=_0x197d50;if(this[_0x418359(0x259)](_0x295bcb))return this[_0x418359(0x2d4)](),this[_0x418359(0x388)][_0x418359(0x39c)](te,this['unitID'],this[_0x418359(0x1cd)],null,this['_pendingMutations'],null,[_0x295bcb],this[_0x418359(0x325)]);try{const _0x49fd2a=this[_0x418359(0x222)][_0x418359(0x236)](_0x295bcb,this['_pendingMutations']);if(_0x245ab4(_0x49fd2a)){const {c1Prime:_0x105ee0,m2Prime:_0x5e58c3}=_0x49fd2a;this[_0x418359(0x219)](_0x105ee0);const _0x953f36=this[_0x418359(0x388)][_0x418359(0x39c)](re,this[_0x418359(0x416)],this[_0x418359(0x1cd)],_0x5e58c3,this[_0x418359(0x325)]);return this[_0x418359(0x2d4)](),_0x953f36[_0x418359(0x14e)](this[_0x418359(0x33e)]?Math['max'](0x0,new Date()[_0x418359(0x40c)]()-this[_0x418359(0x33e)]):this['_getSendChangesetTimeout']()),_0x953f36;}throw _0x49fd2a['error'];}catch(_0x1d3707){return this[_0x418359(0x3ad)][_0x418359(0x1c7)](_0x1d3707),this[_0x418359(0x37a)](!0x1);}}['onRemoteAck'](){var _0x434c2a=_0x197d50;throw new Error(_0x434c2a(0x397));}[_0x197d50(0x2d8)](){var _0x38e369=_0x197d50;throw new Error(_0x38e369(0x3d7));}[_0x197d50(0x380)](){return this;}['toggleOffline'](){var _0x3322f8=_0x197d50;return this[_0x3322f8(0x2d4)](),this[_0x3322f8(0x388)][_0x3322f8(0x39c)](fe,this[_0x3322f8(0x416)],this['type'],null,this[_0x3322f8(0x41a)],this[_0x3322f8(0x325)]);}[_0x197d50(0x2e5)](){return this;}[_0x197d50(0x14e)](_0x57aded){var _0x5dd42a=_0x197d50;const _0x24a171=_0x57aded!=null?_0x57aded:this['_getSendChangesetTimeout']();this[_0x5dd42a(0x33e)]=new Date()[_0x5dd42a(0x40c)](),this['_sendingTimer']=setTimeout(()=>{var _0x56b0c5=_0x5dd42a;this['_clearScheduledTask']();let _0x173333=null;switch(this[_0x56b0c5(0x1cd)]){case Q[_0x56b0c5(0x3a1)]:{_0x173333=Jt(this[_0x56b0c5(0x41a)],this[_0x56b0c5(0x416)],this[_0x56b0c5(0x3ed)],this[_0x56b0c5(0x1c2)],this['_memberService']);break;}case Q[_0x56b0c5(0x169)]:{this[_0x56b0c5(0x41a)][_0x56b0c5(0x203)](_0x4e1a46=>_0x4e1a46['id']===_0x1a3cb2['id'])?_0x173333=Es(this[_0x56b0c5(0x41a)],this[_0x56b0c5(0x416)],this[_0x56b0c5(0x3ed)],this[_0x56b0c5(0x1c2)],this[_0x56b0c5(0x435)]):_0x173333=Jt(this[_0x56b0c5(0x41a)],this[_0x56b0c5(0x416)],this[_0x56b0c5(0x3ed)],this[_0x56b0c5(0x1c2)],this[_0x56b0c5(0x435)]);break;}default:throw new Error(_0x56b0c5(0x2b5)+this['type']+_0x56b0c5(0x29d));}const {changeset:_0xe10107,pendingMutations:_0x1cdf03}=_0x173333;this[_0x56b0c5(0x325)][_0x56b0c5(0x159)](_0xe10107);const _0x58c4c7=_0x1cdf03[_0x56b0c5(0x1c6)]?this[_0x56b0c5(0x388)][_0x56b0c5(0x39c)](oe,this[_0x56b0c5(0x416)],this[_0x56b0c5(0x1cd)],_0xe10107,_0x1cdf03,this[_0x56b0c5(0x325)],void 0x0):this[_0x56b0c5(0x388)]['createInstance'](ue,this[_0x56b0c5(0x416)],this[_0x56b0c5(0x1cd)],_0xe10107,this[_0x56b0c5(0x325)]);_0x58c4c7[_0x56b0c5(0x43a)](),this['_handler']['onStateChange'](this,_0x58c4c7);},_0x24a171);}['_getSendChangesetTimeout'](){var _0x13be2b=_0x197d50,_0x476493;const _0x3a5f63=this[_0x13be2b(0x28c)][_0x13be2b(0x408)](Y);return(_0x476493=_0x3a5f63==null?void 0x0:_0x3a5f63[_0x13be2b(0x389)])!=null?_0x476493:wn;}[_0x197d50(0x25e)](){var _0x42ab87=_0x197d50;throw new Error(_0x42ab87(0x3c5));}[_0x197d50(0x2d4)](){var _0x412ffe=_0x197d50;this[_0x412ffe(0x3ea)]!=null&&(clearTimeout(this[_0x412ffe(0x3ea)]),this[_0x412ffe(0x3ea)]=null);}['_onConflict'](_0x1beb2a){var _0x3eb2c7=_0x197d50;return this[_0x3eb2c7(0x2d4)](),this[_0x3eb2c7(0x388)]['createInstance'](de,this['unitID'],this[_0x3eb2c7(0x1cd)],null,this[_0x3eb2c7(0x41a)],this[_0x3eb2c7(0x325)],_0x1beb2a);}};re=Ce([A(0x4,_0x287bb5(_0x4574c3)),A(0x5,_0x287bb5(_0x55fb7e)),A(0x6,_0x287bb5(Le)),A(0x7,_0x12fb6b),A(0x8,_0x42cf49),A(0x9,_0x3d2b7c),A(0xa,_0x1016d9),A(0xb,_0x1d1205),A(0xc,_0x112b5f),A(0xd,_0x41b21e(X))],re);let ue=class extends be{constructor(_0x33eebb,_0x5e1fea,_0x1b77fe,_0x5e8cb2,_0x566711,_0x13f6b8,_0x309ce9,_0x1623a6,_0x7531e7,_0x148c78,_0x39b497){var _0x337f7d=_0x197d50;super(_0x33eebb,_0x5e1fea,_0x1b77fe,[],_0x5e8cb2,_0x309ce9,_0x148c78,_0x13f6b8,_0x39b497),D(this,'status',_0x337f7d(0x27c)),D(this,_0x337f7d(0x149),0x0),D(this,_0x337f7d(0x410)),D(this,_0x337f7d(0x38c)),(this[_0x337f7d(0x388)]=_0x566711,this[_0x337f7d(0x3ad)]=_0x1623a6,this[_0x337f7d(0x222)]=_0x7531e7);}[_0x197d50(0x17f)](_0x446053){var _0x1c0597=_0x197d50;this['_clearScheduledTask']();const _0x57a3ca=this['_injector'][_0x1c0597(0x39c)](oe,this[_0x1c0597(0x416)],this[_0x1c0597(0x1cd)],this[_0x1c0597(0x23f)],[_0x446053],this[_0x1c0597(0x325)],this[_0x1c0597(0x410)]);return _0x57a3ca[_0x1c0597(0x43a)](),_0x57a3ca;}[_0x197d50(0x36e)](_0x53f0ec){var _0x29e5a8=_0x197d50;if(this[_0x29e5a8(0x259)](_0x53f0ec))return this[_0x29e5a8(0x2d4)](),this[_0x29e5a8(0x388)][_0x29e5a8(0x39c)](te,this['unitID'],this[_0x29e5a8(0x1cd)],this[_0x29e5a8(0x23f)],[],null,[_0x53f0ec],this[_0x29e5a8(0x325)]);try{const _0x51c9f6=this[_0x29e5a8(0x222)][_0x29e5a8(0x2d3)]([_0x53f0ec],[this[_0x29e5a8(0x23f)]],!0x1);if(_0x50ee0a(_0x51c9f6)){const {c1Prime:_0x2bef1e,c2Prime:_0x52e4d8}=_0x51c9f6;this['_executeRemoteChangeset'](_0x2bef1e[0x0]),_0x52e4d8[0x0][_0x29e5a8(0x297)]=this['_getCurrentRevision'](),this[_0x29e5a8(0x2d4)]();const _0x2f2e73=this[_0x29e5a8(0x388)][_0x29e5a8(0x39c)](ue,this[_0x29e5a8(0x416)],this['type'],_0x52e4d8[0x0],this[_0x29e5a8(0x325)]);return _0x2f2e73[_0x29e5a8(0x43a)](),_0x2f2e73;}return this[_0x29e5a8(0x37a)](!0x1);}catch(_0x4f66bf){return this[_0x29e5a8(0x3ad)][_0x29e5a8(0x1c7)](_0x4f66bf),this[_0x29e5a8(0x37a)](!0x1);}}[_0x197d50(0x368)](_0x5a3f5e){var _0x49f79d=_0x197d50;this['_clearScheduledTask']();const _0x66ad55=this['_revisionService'][_0x49f79d(0x22a)](this[_0x49f79d(0x416)]);if(_0x5a3f5e[_0x49f79d(0x365)]<_0x66ad55-0x1)return this;if(this[_0x49f79d(0x259)](_0x5a3f5e))return this[_0x49f79d(0x388)][_0x49f79d(0x39c)](te,this[_0x49f79d(0x416)],this[_0x49f79d(0x1cd)],null,[],this['_awaitingChangeset'],[],this[_0x49f79d(0x325)]);this[_0x49f79d(0x242)]();const _0x335bad=this[_0x49f79d(0x388)][_0x49f79d(0x39c)](Pe,this['unitID'],this[_0x49f79d(0x1cd)],this[_0x49f79d(0x325)]);return _0x335bad[_0x49f79d(0x43a)](),_0x335bad;}[_0x197d50(0x2d8)](_0x5f47f3){var _0x26735c=_0x197d50;return this[_0x26735c(0x37a)](!!(_0x5f47f3!=null&&_0x5f47f3[_0x26735c(0x192)]));}[_0x197d50(0x380)](_0x33c597){var _0x32b853=_0x197d50;return this[_0x32b853(0x149)]>Pi?this['toggleOffline']():(this['_resendTimer']=yi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x33c597[_0x32b853(0x2bc)]}),this[_0x32b853(0x38c)]=this[_0x32b853(0x410)][_0x32b853(0x38f)](({reqId:_0x4c0737,timeout:_0x39ffec})=>{var _0x3170ea=_0x32b853;this[_0x3170ea(0x164)](_0x4c0737,_0x39ffec);}),this);}['toggleOffline'](){var _0x4aa5c7=_0x197d50;return this[_0x4aa5c7(0x2d4)](),this[_0x4aa5c7(0x388)][_0x4aa5c7(0x39c)](fe,this['unitID'],this[_0x4aa5c7(0x1cd)],this[_0x4aa5c7(0x23f)],[],this[_0x4aa5c7(0x325)]);}['toggleOnline'](){return this;}[_0x197d50(0x25e)](){var _0x181956=_0x197d50;this['_handler'][_0x181956(0x159)](this['_awaitingChangeset']);}['_onConflict'](_0xca794){var _0x3a757b=_0x197d50;return this[_0x3a757b(0x2d4)](),this[_0x3a757b(0x388)][_0x3a757b(0x39c)](de,this[_0x3a757b(0x416)],this[_0x3a757b(0x1cd)],this[_0x3a757b(0x23f)],[],this['_handler'],_0xca794);}[_0x197d50(0x164)](_0x1c5489,_0x20a687){var _0x39c42f=_0x197d50,_0x3b8687;_0x1c5489===((_0x3b8687=this[_0x39c42f(0x23f)])==null?void 0x0:_0x3b8687[_0x39c42f(0x2bc)])&&(this[_0x39c42f(0x25e)](),this['_resendTimeout']=_0x20a687===0x0?0x3e8:_0x20a687*0x2);}[_0x197d50(0x2d4)](){var _0x20ae85=_0x197d50,_0xed3be6;(_0xed3be6=this[_0x20ae85(0x38c)])==null||_0xed3be6['unsubscribe'](),this[_0x20ae85(0x149)]=0x0;}};ue=Ce([A(0x4,_0x287bb5(_0x4574c3)),A(0x5,_0x287bb5(_0x55fb7e)),A(0x6,_0x42cf49),A(0x7,_0x12fb6b),A(0x8,_0x1016d9),A(0x9,_0x112b5f),A(0xa,_0x41b21e(X))],ue);let oe=class extends be{constructor(_0x5ce328,_0x1eef4e,_0x36b8db,_0x5c7d8d,_0x5dc27f,_0xfbca52,_0x407443,_0x5a7554,_0x3f5862,_0x4c1977,_0x4e0823,_0x5c8665,_0x50da98){var _0x325a93=_0x197d50;super(_0x5ce328,_0x1eef4e,_0x36b8db,_0x5c7d8d,_0x5dc27f,_0x3f5862,_0x5c8665,_0x5a7554,_0x50da98),D(this,_0x325a93(0x338),_0x325a93(0x2b2)),D(this,_0x325a93(0x149),0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x325a93(0x388)]=_0x407443,this[_0x325a93(0x3ad)]=_0x4c1977,this['_transformService']=_0x4e0823,this[_0x325a93(0x2d2)]=_0x50da98,_0xfbca52&&(this[_0x325a93(0x410)]=_0xfbca52,this[_0x325a93(0x38c)]=this[_0x325a93(0x410)][_0x325a93(0x38f)](({reqId:_0x9f71dc,timeout:_0x295aef})=>{this['_resendWithTimeout'](_0x9f71dc,_0x295aef);})));}[_0x197d50(0x17f)](_0x48211a){var _0xf506c2=_0x197d50;return this[_0xf506c2(0x41a)][_0xf506c2(0x1a6)](_0x48211a),this;}['onRemoteChangeset'](_0x283b07){var _0x24cffd=_0x197d50;if(this[_0x24cffd(0x259)](_0x283b07))return this[_0x24cffd(0x2d4)](),this['_injector']['createInstance'](te,this[_0x24cffd(0x416)],this[_0x24cffd(0x1cd)],this[_0x24cffd(0x23f)],this[_0x24cffd(0x41a)],null,[_0x283b07],this[_0x24cffd(0x325)]);try{const _0x56c044=this[_0x24cffd(0x222)]['transformChangesets']([_0x283b07],[this[_0x24cffd(0x23f)]],!0x1);if(_0x50ee0a(_0x56c044)){const {c1Prime:_0x1148c6,c2Prime:_0x1ae168}=_0x56c044,_0x5de19d=this[_0x24cffd(0x222)][_0x24cffd(0x236)](_0x1148c6[0x0],this['_pendingMutations']);if(_0x245ab4(_0x5de19d)){const {c1Prime:_0x2baf88,m2Prime:_0x5a5765}=_0x5de19d;return this['_executeRemoteChangeset'](_0x2baf88),_0x1ae168[0x0][_0x24cffd(0x297)]=this[_0x24cffd(0x345)](),this['_clearScheduledTask'](),this['_injector'][_0x24cffd(0x39c)](oe,this[_0x24cffd(0x416)],this['type'],_0x1ae168[0x0],_0x5a5765,this['_handler'],void 0x0);}throw _0x5de19d[_0x24cffd(0x1c7)];}throw _0x56c044['error'];}catch(_0x3ebc39){return this[_0x24cffd(0x3ad)][_0x24cffd(0x1c7)](_0x3ebc39),this[_0x24cffd(0x37a)](!0x1);}}[_0x197d50(0x368)](_0x41e69e){var _0x41f107=_0x197d50;if(this[_0x41f107(0x2d4)](),this[_0x41f107(0x259)](_0x41e69e))return this[_0x41f107(0x388)][_0x41f107(0x39c)](te,this[_0x41f107(0x416)],this['type'],null,this[_0x41f107(0x41a)],this[_0x41f107(0x23f)],[],this[_0x41f107(0x325)]);this[_0x41f107(0x242)]();const _0x308a23=this[_0x41f107(0x388)][_0x41f107(0x39c)](re,this[_0x41f107(0x416)],this[_0x41f107(0x1cd)],this[_0x41f107(0x41a)],this[_0x41f107(0x325)]);return _0x308a23[_0x41f107(0x14e)](),_0x308a23[_0x41f107(0x43a)](),_0x308a23;}[_0x197d50(0x2d8)](_0x22d41a){var _0x48bfb9=_0x197d50;return this[_0x48bfb9(0x37a)](!!(_0x22d41a!=null&&_0x22d41a[_0x48bfb9(0x192)]));}['onRemoteRetry'](_0x2a5a8d){var _0x18cb59=_0x197d50;return this[_0x18cb59(0x149)]>Pi?this[_0x18cb59(0x3f2)]():(this[_0x18cb59(0x410)]=yi(this[_0x18cb59(0x149)],{'timeout':this['_resendTimeout'],'reqId':_0x2a5a8d[_0x18cb59(0x2bc)]}),this[_0x18cb59(0x38c)]=this[_0x18cb59(0x410)]['subscribe'](({reqId:_0x570acb,timeout:_0x403a01})=>{var _0x54c1ae=_0x18cb59;this[_0x54c1ae(0x164)](_0x570acb,_0x403a01);}),this);}['toggleOffline'](){var _0x17ff15=_0x197d50;return this[_0x17ff15(0x2d4)](),this[_0x17ff15(0x388)][_0x17ff15(0x39c)](fe,this[_0x17ff15(0x416)],this['type'],this[_0x17ff15(0x23f)],this[_0x17ff15(0x41a)],this[_0x17ff15(0x325)]);}['toggleOnline'](){return this;}[_0x197d50(0x25e)](){var _0xb8c6d7=_0x197d50;this[_0xb8c6d7(0x325)]['onSendChangeset'](this[_0xb8c6d7(0x23f)]);}[_0x197d50(0x37a)](_0x59c39d){var _0x30916a=_0x197d50;return this[_0x30916a(0x2d4)](),this[_0x30916a(0x388)][_0x30916a(0x39c)](de,this['unitID'],this[_0x30916a(0x1cd)],null,this[_0x30916a(0x41a)],this[_0x30916a(0x325)],_0x59c39d);}['_resendWithTimeout'](_0x329563,_0x53f062){var _0x26fad6=_0x197d50,_0x5e65ba;_0x329563===((_0x5e65ba=this[_0x26fad6(0x23f)])==null?void 0x0:_0x5e65ba[_0x26fad6(0x2bc)])&&(this[_0x26fad6(0x25e)](),this['_resendTimeout']=_0x53f062===0x0?0x3e8:_0x53f062*0x2);}['_clearScheduledTask'](){var _0x4064bd=_0x197d50,_0x3ca48c;(_0x3ca48c=this[_0x4064bd(0x38c)])==null||_0x3ca48c['unsubscribe'](),this[_0x4064bd(0x149)]=0x0;}};oe=Ce([A(0x6,_0x287bb5(_0x4574c3)),A(0x7,_0x287bb5(_0x55fb7e)),A(0x8,_0x42cf49),A(0x9,_0x12fb6b),A(0xa,_0x1016d9),A(0xb,_0x112b5f),A(0xc,_0x41b21e(X))],oe);let de=class extends be{constructor(_0x4f6b7c,_0x1ec46b,_0x4b791a,_0x25ef70,_0x49fd70,_0x1c46fc=!0x1,_0x18435d,_0x59bcb7,_0x433ce9,_0x3db769,_0x58433b,_0x445261,_0x396f41){var _0x1e3a0c=_0x197d50;super(_0x4f6b7c,_0x1ec46b,_0x4b791a,_0x25ef70,_0x49fd70,_0x59bcb7,_0x433ce9,_0x3db769,_0x396f41),D(this,_0x1e3a0c(0x338),'conflict'),(this['_isPermissionRej']=_0x1c46fc,this[_0x1e3a0c(0x3dd)]=_0x18435d,this[_0x1e3a0c(0x1dd)]=_0x58433b,this[_0x1e3a0c(0x401)]=_0x445261,this[_0x1e3a0c(0x2d2)]=_0x396f41,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x197d50(0x17f)](){return this;}[_0x197d50(0x36e)](){return this;}[_0x197d50(0x368)](){return this;}['onRemoteRej'](){return this;}[_0x197d50(0x380)](){return this;}[_0x197d50(0x3f2)](){return this;}[_0x197d50(0x2e5)](){return this;}[_0x197d50(0x25e)](){var _0x2d4690=_0x197d50;throw new Error(_0x2d4690(0x22d));}['_clearLocalCache'](){var _0x18b3e0=_0x197d50,_0x19ccc0;(_0x19ccc0=this['_localCacheService'])==null||_0x19ccc0[_0x18b3e0(0x162)](this[_0x18b3e0(0x416)],this['type'],null,[]);}[_0x197d50(0x156)](){var _0x1b5393=_0x197d50;this['_isPermissionRej']?this[_0x1b5393(0x401)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x1b5393(0x401)][_0x1b5393(0x2ad)]({'id':se[_0x1b5393(0x2f1)]});}[_0x197d50(0x31a)](){var _0x418669=_0x197d50;this['_permissionService'][_0x418669(0x385)](new _0x55aa2b(this[_0x418669(0x416)])['id'],!0x1);}};de=Ce([A(0x6,_0x287bb5(_0x5e556e)),A(0x7,_0x42cf49),A(0x8,_0x112b5f),A(0x9,_0x287bb5(_0x55fb7e)),A(0xa,_0x287bb5(_0x2aec3b)),A(0xb,_0x287bb5(pe)),A(0xc,_0x41b21e(X))],de);let fe=class extends be{constructor(_0x2ec813,_0x16b0da,_0x118878,_0x12f704,_0x17d187,_0x5ecce0,_0x1125a2,_0x5c14ad,_0x522031,_0x3c63e2){var _0x463fad=_0x197d50;super(_0x2ec813,_0x16b0da,_0x118878,_0x12f704,_0x17d187,_0x5c14ad,_0x522031,_0x1125a2,_0x3c63e2),D(this,_0x463fad(0x338),'offline'),this[_0x463fad(0x388)]=_0x5ecce0;}['appendMutation'](_0x146369){var _0x136395=_0x197d50;return this[_0x136395(0x41a)]['push'](_0x146369),this[_0x136395(0x43a)](),this;}['onRemoteChangeset'](_0x2fe59b){var _0x17ef50=_0x197d50;throw new Error(_0x17ef50(0x29f));}['onRemoteAck'](){var _0x1cac83=_0x197d50;throw new Error(_0x1cac83(0x38a));}[_0x197d50(0x2d8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x197d50(0x380)](){return this;}['toggleOffline'](){return this;}[_0x197d50(0x2e5)](){var _0x219829=_0x197d50;const {_injector:_0xa364a5,_pendingMutations:_0xd4ef00,_awaitingChangeset:_0x3a3ddd,unitID:_0x348078,_handler:_0x2a345a,type:_0x5d3f14}=this,_0x41b68e=Ni(_0xa364a5,_0x348078,_0x5d3f14,_0x3a3ddd,_0xd4ef00,_0x2a345a);return _0x41b68e instanceof re?_0x41b68e[_0x219829(0x14e)]():(_0x41b68e instanceof oe||_0x41b68e instanceof ue)&&_0x41b68e[_0x219829(0x25e)](),_0x41b68e;}[_0x197d50(0x25e)](){var _0x40b924=_0x197d50;throw new Error(_0x40b924(0x296));}};fe=Ce([A(0x5,_0x287bb5(_0x4574c3)),A(0x6,_0x287bb5(_0x55fb7e)),A(0x7,_0x42cf49),A(0x8,_0x112b5f),A(0x9,_0x41b21e(X))],fe);let te=class extends be{constructor(_0x42756c,_0x71353,_0x413fc7,_0x14f322,_0x2a69c7,_0x777fc9,_0x2f9804,_0x58da48,_0x4a8908,_0x4bdf00,_0x3399ec,_0x2bc202,_0x2abef0,_0x2a983c){var _0x49c305=_0x197d50;super(_0x42756c,_0x71353,_0x413fc7,_0x14f322,_0x2f9804,_0x3399ec,_0x2bc202,_0x4a8908,_0x2a983c),D(this,_0x49c305(0x338),_0x49c305(0x2ba)),(this[_0x49c305(0x329)]=_0x2a69c7,this[_0x49c305(0x2a5)]=_0x777fc9,this[_0x49c305(0x388)]=_0x58da48,this[_0x49c305(0x3ad)]=_0x4bdf00,this[_0x49c305(0x222)]=_0x2abef0,this['localCacheService']=_0x2a983c);}[_0x197d50(0x16a)](_0x1dbb45){var _0x123e17=_0x197d50;try{const _0x554aa2=[..._0x1dbb45,...this[_0x123e17(0x2a5)]],_0x17c262=[this['_awaitingChangeset']||this[_0x123e17(0x329)]]['filter'](_0x4a0bf5=>!!_0x4a0bf5);let _0x4b1650,_0x3385c4;if(_0x17c262['length']){const _0x4a6d94=this[_0x123e17(0x222)][_0x123e17(0x2d3)](_0x554aa2,_0x17c262,!0x1);if(!_0x50ee0a(_0x4a6d94))throw _0x4a6d94[_0x123e17(0x1c7)];_0x4b1650=_0x4a6d94[_0x123e17(0x2be)],_0x3385c4=_0x4a6d94[_0x123e17(0x445)];}else _0x4b1650=_0x554aa2,_0x3385c4=[];let _0x46139f=this[_0x123e17(0x41a)];_0x4b1650[_0x123e17(0x19c)](_0x360d83=>{var _0x42a9b4=_0x123e17;let _0xa81f87;if(_0x46139f[_0x42a9b4(0x1c6)]){const _0x12402f=this[_0x42a9b4(0x222)]['transformMutationsWithChangeset'](_0x360d83,_0x46139f);if(!_0x245ab4(_0x12402f))throw _0x12402f[_0x42a9b4(0x1c7)];_0xa81f87=_0x12402f['c1Prime'],_0x46139f=_0x12402f[_0x42a9b4(0x321)];}else _0xa81f87=_0x360d83;this['_executeRemoteChangeset'](_0xa81f87);}),this[_0x123e17(0x329)]&&this[_0x123e17(0x242)](),this[_0x123e17(0x23f)]&&_0x3385c4['length']&&(_0x3385c4[0x0]['baseRev']=this['_getCurrentRevision']());let _0x9716e5;if(this[_0x123e17(0x23f)]&&_0x46139f['length']!==0x0)_0x9716e5=this['_injector']['createInstance'](oe,this['unitID'],this[_0x123e17(0x1cd)],_0x3385c4[0x0],_0x46139f,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x46139f['length']===0x0)_0x3385c4[0x0][_0x123e17(0x297)]=this[_0x123e17(0x345)](),_0x9716e5=this['_injector']['createInstance'](ue,this[_0x123e17(0x416)],this[_0x123e17(0x1cd)],_0x3385c4[0x0],this['_handler']);else{if(_0x46139f[_0x123e17(0x1c6)]!==0x0){const _0x36bb2b=this['_injector']['createInstance'](re,this[_0x123e17(0x416)],this[_0x123e17(0x1cd)],_0x46139f,this[_0x123e17(0x325)]);_0x36bb2b[_0x123e17(0x14e)](),_0x9716e5=_0x36bb2b;}else _0x9716e5=this['_injector'][_0x123e17(0x39c)](Pe,this['unitID'],this['type'],this[_0x123e17(0x325)]);}}return _0x9716e5[_0x123e17(0x43a)](),_0x9716e5;}catch(_0x5c9a7d){return this[_0x123e17(0x3ad)]['error']('[FetchMissState]',_0x123e17(0x1eb),_0x5c9a7d),this['_injector'][_0x123e17(0x39c)](de,this[_0x123e17(0x416)],this[_0x123e17(0x1cd)],this['_awaitingChangeset'],this[_0x123e17(0x41a)],this[_0x123e17(0x325)],!0x1);}}[_0x197d50(0x25e)](){var _0x2b821d=_0x197d50;throw new Error(_0x2b821d(0x418));}[_0x197d50(0x17f)](_0x14afff){var _0xdfaf44=_0x197d50;return this[_0xdfaf44(0x41a)][_0xdfaf44(0x1a6)](_0x14afff),this;}[_0x197d50(0x36e)](_0x774160){var _0x1de58b=_0x197d50;return this[_0x1de58b(0x2a5)][_0x1de58b(0x1a6)](_0x774160),this;}[_0x197d50(0x368)](_0x4ea4ab){var _0x2f4b52=_0x197d50;if(this[_0x2f4b52(0x23f)])return this[_0x2f4b52(0x329)]=this['_awaitingChangeset'],this[_0x2f4b52(0x23f)]=null,this;throw new Error(_0x2f4b52(0x1bc));}[_0x197d50(0x2d8)](_0x5ed5f7){var _0x3345f1=_0x197d50;return this[_0x3345f1(0x37a)](!!(_0x5ed5f7!=null&&_0x5ed5f7[_0x3345f1(0x192)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x460173=_0x197d50;return this['_injector'][_0x460173(0x39c)](fe,this['unitID'],this[_0x460173(0x1cd)],this[_0x460173(0x23f)],this[_0x460173(0x41a)],this[_0x460173(0x325)]);}['toggleOnline'](){return this;}[_0x197d50(0x37a)](_0x13a34d){var _0x272830=_0x197d50;return this['_injector'][_0x272830(0x39c)](de,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x272830(0x41a)],this[_0x272830(0x325)],_0x13a34d);}};te=Ce([A(0x7,_0x287bb5(_0x4574c3)),A(0x8,_0x287bb5(_0x55fb7e)),A(0x9,_0x12fb6b),A(0xa,_0x42cf49),A(0xb,_0x112b5f),A(0xc,_0x1016d9),A(0xd,_0x41b21e(X))],te);function Ni(_0x585aea,_0x48d663,_0x153586,_0x32b13a,_0x3116e5,_0x223843){var _0x2440e9=_0x197d50;return _0x32b13a&&_0x3116e5[_0x2440e9(0x1c6)]?_0x585aea[_0x2440e9(0x39c)](oe,_0x48d663,_0x153586,_0x32b13a,_0x3116e5,_0x223843,void 0x0):_0x32b13a?_0x585aea[_0x2440e9(0x39c)](ue,_0x48d663,_0x153586,_0x32b13a,_0x223843):_0x3116e5[_0x2440e9(0x1c6)]?_0x585aea[_0x2440e9(0x39c)](re,_0x48d663,_0x153586,_0x3116e5,_0x223843):_0x585aea[_0x2440e9(0x39c)](Pe,_0x48d663,_0x153586,_0x223843);}var bs=Object['defineProperty'],Rs=Object['getOwnPropertyDescriptor'],Mt=(_0x94dc75,_0x25a8ef,_0xe102a7,_0xbbc7b3)=>{for(var _0x413504=_0xbbc7b3>0x1?void 0x0:_0xbbc7b3?Rs(_0x25a8ef,_0xe102a7):_0x25a8ef,_0x16f9f8=_0x94dc75['length']-0x1,_0x105db8;_0x16f9f8>=0x0;_0x16f9f8--)(_0x105db8=_0x94dc75[_0x16f9f8])&&(_0x413504=(_0xbbc7b3?_0x105db8(_0x25a8ef,_0xe102a7,_0x413504):_0x105db8(_0x413504))||_0x413504);return _0xbbc7b3&&_0x413504&&bs(_0x25a8ef,_0xe102a7,_0x413504),_0x413504;},k=(_0x2e0bea,_0xf1ec7a)=>(_0x1b845f,_0x2cce1d)=>_0xf1ec7a(_0x1b845f,_0x2cce1d,_0x2e0bea);let st=class extends _0x39849c{constructor(_0x74b159,_0xb51c19,_0x36876b,_0x328b06,_0x488b92,_0x429195,_0x1c92ba,_0x2dfd32,_0x117597,_0x44cce3,_0x3e2eac,_0x15cb06,_0x1125b8){var _0x3eca21=_0x197d50;super(),D(this,_0x3eca21(0x1f0),new _0x32a0c6(null)),D(this,_0x3eca21(0x1be),this['_state$'][_0x3eca21(0x32b)]()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x3eca21(0x35c),''),D(this,_0x3eca21(0x15e),0x0),D(this,'status$',this['state$']['pipe'](_0x1efeda(_0x316a50=>_0x316a50?_0x316a50[_0x3eca21(0x338)]:Oi[_0x3eca21(0x29b)]),_0xc6d9fa(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x3eca21(0x261),[]),(this[_0x3eca21(0x416)]=_0x74b159,this[_0x3eca21(0x19e)]=_0xb51c19,this[_0x3eca21(0x374)]=_0x36876b,this[_0x3eca21(0x388)]=_0x328b06,this[_0x3eca21(0x384)]=_0x488b92,this[_0x3eca21(0x1dd)]=_0x429195,this[_0x3eca21(0x1c2)]=_0x1c92ba,this[_0x3eca21(0x174)]=_0x2dfd32,this[_0x3eca21(0x3ad)]=_0x117597,this['_commandService']=_0x44cce3,this[_0x3eca21(0x3dd)]=_0x3e2eac,this[_0x3eca21(0x1ab)]=_0x15cb06,this['_localCacheService']=_0x1125b8);}get[_0x197d50(0x33d)](){var _0x4cee74=_0x197d50;return this[_0x4cee74(0x19f)];}async[_0x197d50(0x17e)](){var _0x2e9d96=_0x197d50;if(this[_0x2e9d96(0x33d)])throw new Error(_0x2e9d96(0x3a8));await this['_init']();}[_0x197d50(0x3f3)](){var _0x5045bb=_0x197d50;return this[_0x5045bb(0x404)]=!0x0,_0x4b1dce(()=>{var _0x51f164=_0x5045bb;this['_collaborationPaused']=!0x1,this[_0x51f164(0x35b)]();});}['onLocalMutation'](_0x2ec1cc){var _0x35bf12=_0x197d50;this[_0x35bf12(0x24e)](_0x2ec1cc);}[_0x197d50(0x23b)](_0xdd719c){var _0x4317f3=_0x197d50;this[_0x4317f3(0x19f)]=_0xdd719c,this[_0x4317f3(0x1f0)][_0x4317f3(0x252)](_0xdd719c);}async[_0x197d50(0x448)](){var _0x4018cd=_0x197d50,_0x2828be;this[_0x4018cd(0x23b)](await this[_0x4018cd(0x2dd)]()),this[_0x4018cd(0x1ab)]&&((_0x2828be=this[_0x4018cd(0x1ab)])==null||_0x2828be[_0x4018cd(0x1e7)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x4018cd(0x3b7)](this[_0x4018cd(0x416)])['subscribe'](_0x2b10e7=>{var _0x416aff=_0x4018cd;this['_logService'][_0x416aff(0x1bf)](_0x416aff(0x245),_0x416aff(0x309),_0x2b10e7),_0x2b10e7===Ri['OTHER_CLIENTS_EDITING']?(this[_0x416aff(0x174)]['emitEvent']({'id':se[_0x416aff(0x193)]}),this[_0x416aff(0x3dd)][_0x416aff(0x385)](new _0x55aa2b(this[_0x416aff(0x416)])['id'],!0x1),this[_0x416aff(0x3dd)][_0x416aff(0x2a6)](!0x1)):(this[_0x416aff(0x3dd)]['updatePermissionPoint'](new _0x55aa2b(this[_0x416aff(0x416)])['id'],!0x0),this[_0x416aff(0x3dd)]['setShowComponents'](!0x0));})));let _0x42f880=!0x1;return this['disposeWithMe'](this[_0x4018cd(0x19e)]['sessionStatus$'][_0x4018cd(0x38f)](_0x30666d=>{var _0xb4220=_0x4018cd;_0x30666d===Ie[_0xb4220(0x20e)]?this[_0xb4220(0x237)](_0x42f880):_0x30666d===Ie['OFFLINE']&&(_0x42f880=!0x0,this[_0xb4220(0x2b3)]());})),this[_0x4018cd(0x1a7)](this['session'][_0x4018cd(0x16c)]['subscribe'](_0x9686f6=>{var _0x7d36f3=_0x4018cd;try{switch(_0x9686f6[_0x7d36f3(0x324)]){case _0x4bbd69[_0x7d36f3(0x3d6)]:{this[_0x7d36f3(0x381)](_0x1bcdf6(_0x9686f6[_0x7d36f3(0x1f9)]));break;}case _0x4bbd69[_0x7d36f3(0x1ed)]:{this[_0x7d36f3(0x278)](_0x9686f6['data']);break;}case _0x4bbd69[_0x7d36f3(0x2c4)]:{this[_0x7d36f3(0x331)]();break;}case _0x4bbd69[_0x7d36f3(0x1ae)]:{this[_0x7d36f3(0x1cb)](_0x9686f6['data']);break;}case _0x4bbd69[_0x7d36f3(0x2e4)]:{this[_0x7d36f3(0x2c7)](_0x9686f6[_0x7d36f3(0x1f9)][_0x7d36f3(0x43c)][_0x7d36f3(0x3fc)](_0x31c86d=>_0x1bcdf6(_0x31c86d)));break;}case _0x4bbd69['PERMISSION_REJ']:{this[_0x7d36f3(0x331)]({'isPermissionRej':!0x0});break;}case _0x4bbd69[_0x7d36f3(0x191)]:break;}}catch(_0x8ddc98){throw console[_0x7d36f3(0x1c7)](_0x7d36f3(0x2e1),_0x8ddc98),_0x8ddc98;}})),this[_0x4018cd(0x19f)];}[_0x197d50(0x3e2)](){var _0x4efe49=_0x197d50;this[_0x4efe49(0x2ab)]=!0x1;}['_lockTransition'](){var _0x8258a2=_0x197d50;if(this[_0x8258a2(0x2ab)])throw new Error(_0x8258a2(0x34d));this[_0x8258a2(0x2ab)]=!0x0;}[_0x197d50(0x24e)](_0x32e766){var _0x172742=_0x197d50;this[_0x172742(0x3ab)](),this[_0x172742(0x23b)](this[_0x172742(0x19f)]['appendMutation'](_0x32e766)),this[_0x172742(0x3e2)]();}['_onRemoteChangeset'](_0x46e61b){var _0x2e4837=_0x197d50;if(!(_0x46e61b['revision']<=this[_0x2e4837(0x1c2)][_0x2e4837(0x22a)](this[_0x2e4837(0x416)]))){if(this['_collaborationPaused']){this[_0x2e4837(0x261)][_0x2e4837(0x1a6)](_0x46e61b);return;}this[_0x2e4837(0x187)](_0x46e61b);}}[_0x197d50(0x35b)](){var _0x555196=_0x197d50;this[_0x555196(0x261)][_0x555196(0x19c)](_0x486278=>this[_0x555196(0x187)](_0x486278)),this[_0x555196(0x261)]=[];}[_0x197d50(0x187)](_0x4c2e6c){var _0x1a746d=_0x197d50;const _0x26e301=this['_compressMutationService'][_0x1a746d(0x376)][_0x1a746d(0x170)](this[_0x1a746d(0x384)][_0x1a746d(0x376)]['getInterceptPoints']()[_0x1a746d(0x37e)])(_0x4c2e6c['mutations'],null)||_0x4c2e6c[_0x1a746d(0x16d)],_0x163c0f={..._0x4c2e6c,'mutations':_0x26e301};this[_0x1a746d(0x3ab)](),this[_0x1a746d(0x23b)](this['_state']['onRemoteChangeset'](_0x163c0f)),this['_unlockTransition']();}[_0x197d50(0x278)](_0x227a9f){var _0x25cf7f=_0x197d50;this[_0x25cf7f(0x3ab)](),this[_0x25cf7f(0x23b)](this[_0x25cf7f(0x19f)][_0x25cf7f(0x368)](_0x227a9f)),this[_0x25cf7f(0x3e2)]();}[_0x197d50(0x331)](_0x17645a){var _0x1fe420=_0x197d50;this['_lockTransition'](),this[_0x1fe420(0x23b)](this[_0x1fe420(0x19f)][_0x1fe420(0x2d8)](_0x17645a)),this['_unlockTransition']();}[_0x197d50(0x1cb)](_0x57f84f){var _0x12278b=_0x197d50;this[_0x12278b(0x3ab)](),this[_0x12278b(0x23b)](this[_0x12278b(0x19f)][_0x12278b(0x380)](_0x57f84f)),this[_0x12278b(0x3e2)]();}[_0x197d50(0x2c7)](_0x46b1ba){var _0x32acce=_0x197d50;if(!(this[_0x32acce(0x19f)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x11ab25=_0x46b1ba['map'](_0x576c5e=>{var _0x15b1b0=_0x32acce;const _0x341e7a=this['_compressMutationService']['interceptor'][_0x15b1b0(0x170)](this[_0x15b1b0(0x384)]['interceptor'][_0x15b1b0(0x1b7)]()['COMPRESS_MUTATION_APPLY'])(_0x576c5e[_0x15b1b0(0x16d)],null)||_0x576c5e[_0x15b1b0(0x16d)];return{..._0x576c5e,'mutations':_0x341e7a};});this[_0x32acce(0x3ab)](),this[_0x32acce(0x23b)](this[_0x32acce(0x19f)][_0x32acce(0x16a)](_0x11ab25)),this['_unlockTransition']();}[_0x197d50(0x2b3)](){var _0x3e6fca=_0x197d50;this[_0x3e6fca(0x3ab)](),this[_0x3e6fca(0x23b)](this['_state'][_0x3e6fca(0x3f2)]()),this['_unlockTransition']();}['_toggleOnline'](_0x339c8b=!0x1){var _0x2e54f8=_0x197d50;this[_0x2e54f8(0x3ab)](),this['_updateState'](this[_0x2e54f8(0x19f)]['toggleOnline']()),this['_unlockTransition']();const _0x48342b=this[_0x2e54f8(0x19f)];_0x339c8b&&_0x48342b instanceof Pe&&(this[_0x2e54f8(0x3ab)](),this[_0x2e54f8(0x23b)](_0x48342b[_0x2e54f8(0x28f)]()),this[_0x2e54f8(0x3e2)]());}async['_createInitialState'](){return new Promise(_0x2a76b3=>{var _0x5e4a0e=_0x30fa;this[_0x5e4a0e(0x19e)]['sessionStatus$']['pipe'](_0x396880(0x1))[_0x5e4a0e(0x38f)](async _0x19ec26=>{var _0x5c03f6=_0x5e4a0e;_0x2a76b3(await this[_0x5c03f6(0x3c7)](_0x19ec26===Ie[_0x5c03f6(0x20e)]));});});}['_createHandler'](){const _0x78cd11=this['unitID'];return{'onStateChange':(_0x346d09,_0x5cec2f)=>{var _0x19fc79=_0x30fa;if(_0x346d09!==this[_0x19fc79(0x19f)])throw new Error(_0x19fc79(0x18c)+_0x346d09['status']+_0x19fc79(0x3b5)+_0x5cec2f[_0x19fc79(0x338)]+_0x19fc79(0x2ca)+this[_0x19fc79(0x19f)][_0x19fc79(0x338)]);this[_0x19fc79(0x23b)](_0x5cec2f);},'onSendChangeset':_0x5507ee=>{var _0x2091e3=_0x30fa;_0x5507ee[_0x2091e3(0x207)]||(_0x5507ee[_0x2091e3(0x207)]=this[_0x2091e3(0x35c)],_0x5507ee[_0x2091e3(0x2bc)]=++this[_0x2091e3(0x15e)]);const _0x42de94={'eventID':_0x4bbd69[_0x2091e3(0x292)],'data':{'unitID':_0x5507ee[_0x2091e3(0x416)],'unitType':this[_0x2091e3(0x374)],'changeset':_0x5507ee,'memberID':this[_0x2091e3(0x19e)][_0x2091e3(0x3fd)]()}};this[_0x2091e3(0x19e)][_0x2091e3(0x28d)](_0x42de94,this[_0x2091e3(0x416)]);},'onMissingChangesets':({from:_0x324205,to:_0x4aebc3})=>{var _0x9318ab=_0x30fa;this[_0x9318ab(0x3ad)][_0x9318ab(0x1bf)](_0x9318ab(0x245),_0x9318ab(0x43f)+_0x324205+_0x9318ab(0x32f)+_0x4aebc3);const _0x2adb52={'eventID':_0x4bbd69[_0x9318ab(0x437)],'data':{'unitID':_0x78cd11,'unitType':this[_0x9318ab(0x374)],'from':_0x324205,'to':_0x4aebc3}};this[_0x9318ab(0x19e)][_0x9318ab(0x28d)](_0x2adb52,this[_0x9318ab(0x416)]);}};}async['_createInitialStateImpl'](_0x48611a){var _0x9f5d70=_0x197d50,_0x39af36,_0x1fe705,_0x26e6fa;const _0x1fbb94=await((_0x39af36=this[_0x9f5d70(0x23d)])==null?void 0x0:_0x39af36[_0x9f5d70(0x1ef)](this[_0x9f5d70(0x416)])),_0x24e13a=(_0x1fe705=_0x1fbb94==null?void 0x0:_0x1fbb94['mutations'])!=null?_0x1fe705:[],_0x477e0f=(_0x26e6fa=_0x1fbb94==null?void 0x0:_0x1fbb94[_0x9f5d70(0x230)])!=null?_0x26e6fa:null,_0x5b73a5=!!(_0x477e0f!=null&&_0x477e0f[_0x9f5d70(0x207)])&&!!(_0x477e0f!=null&&_0x477e0f[_0x9f5d70(0x2bc)]);this[_0x9f5d70(0x35c)]=_0x5b73a5?_0x477e0f[_0x9f5d70(0x207)]:fs(),this['_changesetReqId']=_0x5b73a5?_0x477e0f['reqId']:0x0;const _0x2286ab=this[_0x9f5d70(0x416)];try{this[_0x9f5d70(0x302)](_0x477e0f,_0x24e13a);}catch(_0x488385){this[_0x9f5d70(0x3ad)][_0x9f5d70(0x1c7)](_0x488385);}const _0x11312d=this[_0x9f5d70(0x3b9)]();if(_0x48611a){const _0x43ba2f=Ni(this[_0x9f5d70(0x388)],_0x2286ab,this[_0x9f5d70(0x374)],_0x477e0f,_0x24e13a,_0x11312d);return _0x43ba2f instanceof re?_0x43ba2f['_schedule']():(_0x43ba2f instanceof oe||_0x43ba2f instanceof ue)&&_0x43ba2f['resend'](),_0x43ba2f;}return this[_0x9f5d70(0x388)][_0x9f5d70(0x39c)](fe,_0x2286ab,this['_type'],_0x477e0f,_0x24e13a,_0x11312d);}[_0x197d50(0x302)](_0x1a459c,_0x4c19a8){var _0xc59a95=_0x197d50,_0xfc85ac,_0x15f6c9;const _0x206c3=this[_0xc59a95(0x384)]['interceptor'][_0xc59a95(0x170)](this[_0xc59a95(0x384)][_0xc59a95(0x376)][_0xc59a95(0x1b7)]()[_0xc59a95(0x37e)]);(_0xfc85ac=_0x206c3((_0x1a459c==null?void 0x0:_0x1a459c[_0xc59a95(0x16d)])||[],null))==null||_0xfc85ac[_0xc59a95(0x19c)](_0x169017=>this['_commandService'][_0xc59a95(0x2b4)](_0x169017['id'],_0x169017[_0xc59a95(0x3f7)])),(_0x15f6c9=_0x206c3(_0x4c19a8||[],null))==null||_0x15f6c9[_0xc59a95(0x19c)](_0x292c6d=>this['_commandService'][_0xc59a95(0x2b4)](_0x292c6d['id'],_0x292c6d[_0xc59a95(0x3f7)]));}};st=Mt([k(0x3,_0x287bb5(_0x4574c3)),k(0x4,_0x287bb5(_0x250c50)),k(0x5,_0x287bb5(_0x2aec3b)),k(0x6,_0x287bb5(_0x55fb7e)),k(0x7,_0x287bb5(pe)),k(0x8,_0x12fb6b),k(0x9,_0x42cf49),k(0xa,_0x5e556e),k(0xb,_0x41b21e(_t)),k(0xc,_0x41b21e(X))],st);function _0x4437(){var _0x16ecee=['_tryEnsureSocket','_createInitialState','has','_doProcessBlock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Error\x20on\x20receiving\x20event','_getUploadFileURL','override','PSEUDO_FETCH_MISSING_RESULT','toggleOnline','append','_substituteRedoStack','_onUserLeave','splice','setCurrentUser','csRejEvent','_socketMessageSubscription','/allowed','complete','sessionStatus$','encode','CONFLICT','_collaborationTimeoutTimer','getUnitType','[CollaborationSessionService]:\x20socket\x20error','src','fromCollab','unknown','clear','_throwTelemetryCollaborationNewChangeset','incrementRevOfUnit','1922772jqafrX','_iv','updateMember','getCurrentUser','PERSON','createDecryptor','EvpKDF','_replayCachedMutations','leaveEvent','__Key__','INGEST','_snapshotService','MSG_FOR_ERROR','ivSize','editing\x20status\x20changed\x20to','loadUnit','textRanges','getLatestCsReqIdBySid','unit-cache-','BASE64','_getSignURL','[UniverCollaborationClientPlugin]','subType','HttpExport','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_unitID','_change$','Could\x20not\x20dynamically\x20require\x20\x22','dispose','title','session.room-not-exists','_disableEditing','_clearUndo','UNIVER_UNKNOWN','retryConnectingInterval','COLLAB_WEB_SOCKET_URL','byteOffset','fromCharCode','m2Prime','find','Hasher','eventID','_handler','getRandomValues','getTypeOfUnitAdded$','online$','_acknowledgedAwaitingChangeset','4732840XFqUff','asObservable','_loadSheet','_onJoinRoomEvent','_ENC_XFORM_MODE','\x20to\x20','name','_onRemoteRejected','$super','_socket$','Hex','substr','RECV','_getAPIPrefix','status','pluginName','ERROR_IMAGE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','mode','state','_scheduleTimestamp','APPLY_REJECT','OPTIONAL','CLOSE_ROOM','onload','synced','memberID','_getCurrentRevision','_initUnitPermissionChange','formatter','setConfig','updatePermissionObjEvent','[CollaborationSessionService]','buffer','LICENSE_DISTRO_REJECTED','[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.','headers','_snapshotServerService','size','listCollaborators','/universer-api/user/session-ticket','MUTATION','_hash','_event$','univer-pro.collaboration-client.single-active-unit-service','keySize','reject','LIVESHARE_REQUEST_HOST','ciphertext','_exhaustRemoteChangesetQueue','_changesetSessionId','onTransformState','HmacMD5','origin','_createSocket','hostname','cfg','StreamCipher','/object/','revision','_initDependencies','1887315YBuWiw','onRemoteAck','_onOffline','SerializableCipher','_onUserJoin','hasher','objectActions','onRemoteChangeset','target','pipe','FETCH_MISS','_onConnectionFailed','USERS_ENTER','_type','JOIN','interceptor','save\x20fail\x20reason\x20is\x20','onlyLocal','session.room-cnt-exceeds','_onConflict','HttpImport','INTERNAL_ERROR','createSocket','COMPRESS_MUTATION_APPLY','PERMISSION_REJ','onRemoteRetry','_onRemoteChangeset','collabSubmitChangesetUrl','HMAC','_compressMutationService','updatePermissionPoint','RETRY_CONNECTING_MAX_COUNT','decryptBlock','_injector','sendChangesetTimeout','[OfflineState]:\x20received\x20acknowledgement.','JOINING','_sender','post','responseType','subscribe','floor','message$','YUUMI_URL_COL_OUT_OF_RANGE','disableLocalCache','18jBkhRS','[SyncedState]:\x20received\x20acknowledgement.','_prevBlock','[PendingState]:\x20received\x20acknowledgement.','csAckEvent','_timeoutTimer','_initMergeInterceptor','_minBufferSize','createInstance','unpad','_transformStateCache','selections','UNIVER_PROJECT','UNIVER_SHEET','uniscriptRunEvent','result','charAt','uploadFileServerUrl','fetchMissingChangesets','originalMeta','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','reset','UNKNOWN_CODE','_lockTransition','_unitInfo$','_logService','ticket','_initCloseConn','/-/object/-/batch_allowed','onCommandExecuted','from','onTransformRemoteChangesetByStateCache','deleteCollaborator','\x0aAfter:\x20','onTransformSelections','getUnitStatus$','withCredentials','_createHandler','reduce','_telemetryInfo','JOIN_ROOM_PERMISSION_DENIED','_redoStacks','session.room-full','_collabSessionService','routeKey','PERMISSION_DENIED','abs','filter','offline','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','create','_createInitialStateImpl','__creator','readyForCollab','\x20-\x20','/universer-api/authz','_createSocketURL','_iKey','closeSession','UnitSnapshot','_xformMode','commentUpdateEvent','1JGLxkS','SelectRange','collaboration-client.local-cache-service','processBlock','NEW_CHANGESETS','[PendingState]:\x20received\x20rejection.','loadDoc','subUnitId','collaborators','sessionStatus','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_permissionService','_startTelemetryCollaborationNewChangeset','image/bmp','_oKey','_tryReconnect','_unlockTransition','APPLY_REVISION_CONFILICT','updateCursorEvent','_sheetTransformSelectionsService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','duration','HEARTBEAT_INTERVAL','objectType','_sendingTimer','JOIN_ROOM_NOT_EXISTS','FileId','_univerInstanceService','saveImage','update','function','BufferedBlockAlgorithm','toggleOffline','pauseCollaboration','SOCKET_FAILED_RETRY','/universer-api/snapshot/','_socketService','params','close$','createEncryptor','UNAUTHENTICATED','_sendHeartbeatTimer','map','getMemberID','TOO_MANY_REQUESTS','/universer-api/oidc/authpage','/resources','_collaborationUIEventService','/role','rev','_collaborationPaused','pad','_cipher','_getUndoStack','getConfig','crypto','salt','/universer-api/file/{fileID}/sign-url','getTime','transformUndoRedo','default','getFocusedUnit','_resendTimer','exports','transformStack\x20failed!','onTransformRemoteChangesetByIMECache','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','NOT_FOUND','unitID','APPLY_PERMISSION_DENIED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnit','_pendingMutations','batchAllowed','wsSessionTicketUrl','compute','HEARTBEAT','/block/','_removeRoom','NO_OTHER_CLIENTS_EDITING','_transformUndoredo','_updateStatus','file','_roomMembers','initWorkbookPermissionChange','UNRECOGNIZED','onMissingChangesets','_handlerCallback','SNAPSHOT_HAS_BEEN_REMOVED','cmd','Decryptor','getOwnPropertyDescriptor','getSnapshotAPIPath','1280442zmkLab','equals','getImageSourceCache','getTargetByPermissionId','indexOf','_key','_memberService','entries','FETCH_MISSING','getValue','requestParams','_updateLocalCache','collaboratorID','changesets','socket$','liveShareOperation','fetching\x20missing\x20changesets\x20from\x20','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_shouldReportTelemetry','subject','roomInfos','GLOBAL_ROOMS_CNT_EXCEEDS','c2Prime','_members','saveSnapshot','_init','clearUndoRedo','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','copyFileMeta','localeService','charCodeAt','enableSingleActiveInstanceLock','confirm','getMember','6865824FibYiq','transformSelections','getActiveSheet','getCollabEntity$','startTime','SNAPSHOT_URL_KEY','telemetry\x20info\x20is\x20not\x20initialized','capture','_resendTimeout','searchParams','_nDataBytes','UNDEFINED','/collaborator','_schedule','unitId\x20is\x20not\x20found','snapshotServerUrl','value','sin','_keySchedule','resolve','JOIN_ROOM_FAILED','_showConflictNotification','ALREADY_EXISTS','readAsDataURL','onSendChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','entityInit$','onSyncEditingCollabCursor','add','_changesetReqId','_imageSourceCache','getDeserializedSheetBlock','_scheduleCollaborationTimeoutTimer','updateOfflineData','extend','_resendWithTimeout','getCurrentUnitForType','isArray','allowed','deepClone','UNIVER_DOC','onMissedChangesetFetched','getUnitId','event$','mutations','now','status$','fetchThroughInterceptors','apply','BlockCipher','Malformed\x20UTF-8\x20data','_eventService','_transformStack','execute','clone','COMPRESS_MUTATION_SEND','_sessionStatus$','action','decrypt','_reverseMap','UPDATE_PERMISSION_OBJ','init','appendMutation','Base64','stopTime','?url=','_userManagerService','_doCryptBlock','_mode','_listenToNetworkCondition','_applyRemoteChangeset','_hasher','[SyncedState]:\x20received\x20rejection.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_authzIoService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','/universer-api/snapshot','padding','conflict','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UNISCRIPT_RUN','isPermissionRej','OTHER_CLIENT_EDITING','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','socket\x20open.','defineProperty','_getRedoStack','ENSURE_SNAPSHOT_EXECUTION','concat','12ojDqpD','socket\x20close','forEach','code','session','_state','saveSheetBlock','_onMessage','body','_append','UUID','_getSessionTicket','push','disposeWithMe','_http','_onRecvEvent','finalize','_singleActiveUnitService','ceil','sigBytes','CHANGESET_SHOULD_RETRY','clamp','requireSession','YUUMI_UNABLE_LOAD_URL','saveChangeset','AWAITING_WITH_PENDING','/universer-api/comb','change$','_fetchMissChangesets','getInterceptPoints','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','readInt32LE','_initRequestHeader','key','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_undoRedoService','state$','debug','signUrlServerUrl','LICENSE_IMPORT_SIZE_EXCEEDED','_revisionService','UPDATE_CURSOR','liveShareNewHost','HELLO','length','error','enc','_doFinalize','stringify','_onRemoteRetry','collabWebSocketUrl','type','getImage','csShouldRetryEvent','univer-pro.collaboration-client.network-condition.service','getUnitOnRev','toString','random','_nRounds','_status$','_socket','error$','SYNCED','_createHmacHelper','Undefined','LIVESHARE_OPERATION','LIVESHARE_TERMINATE','_localeService','HEARTBEAT_TIMEOUT','kdf','location','image/jpeg','method','catch','Pkcs7','_registerDependencies','_keyPriorReset','editingUnit','actions','unitInfo$','sessionTicket','failed\x20to\x20apply\x20missed\x20changesets!','AWAITING','CHANGESET_ACK','SOCKET_FAILED','loadOfflineData','_state$','_submitChangeset','reconnect','SUCCUSS','MD5','_clearRedo','COMPLETION_FINISHED','USERS_LEAVE','_retryConnectingTimer','data','WordArray','compose','UNIVER_SLIDE','format','onTransformIME','Workbook','_data','put','_process','every','UnitEmbedded','encrypt','Utf8','sid','NoPadding','_substituteUndoStack','loadSheet','_entities','CipherParams','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ONLINE','_joinRoom','pending','then','/new_changes','_replaceFileID','set','randomBytes','_HTTPService','_entityInit$','_clearHeartbeatTimer','_executeRemoteChangeset','string','delete','algo','_candidateSocket','getPermissionPoint','workbook','lib','avatar','_transformService','_getDownloadEndpointURL','values','words','includes','byteLength','enableAuthServer','_getLoginPath','getCurrentRevOfUnit','UNKNOWN_CMD','createCollaborator','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_startCollaboration','YUUMI_RATE_OVER_LIMIT','awaitingChangeset','join','close','_transformRemoteChangesetByStateCache','get','OpenSSL','transformMutationsWithChangeset','_toggleOnline','image/gif','randomUUID','_doReset','_updateState','univer-pro.collaboration-client-socket-service','_localCacheService','search','_awaitingChangeset','msCrypto','LIVESHARE_FETCH_OPERATIONS','_incrementRevisionNumber','/-/object/list','objectID','[CollaborationEntity]','POST','/rev/','collaboration_new_changeset','_commentUpdate$','CHANGESET_REVISION_CONFILICT','/object','addImageSourceCache','prototype','_onLocalMutation','patch','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','rng','next','LEAVE','_createHelper','removeMember','_sessions','LICENSE_MAX_UNITS_EXCEEDED','APPLY_DUPLICATED','_checkMissing','_onCombEvent','_transformIMECache','[CollaborationUndoRedoService]','Worksheet','resend','submit\x20changeset\x20error!','[DataLoaderService]','_remoteChangesetQueue','/unit/','image/png','addHandlerCallback','_waitCount','_sendHeartbeat','authzUrl','shouldCloseConn','encryptBlock','loginUrlKey','_invKeySchedule','LOCAL_CACHE_INTERVAL','COMMENT_UPDATE','_waitForHeartbeatResponse','_getCtorByUniverType','_commandService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SNAPSHOT_SERVER_URL_KEY','href','_collaborationSessionService','mixIn','_httpService','1250385xRqQkv','_onRemoteACK','not_collab','YUUMI_SUBSCRIPTION_NOT_FOUND','collaMsg','awaiting','objects','_commentService','AES','startsWith','CBC','SHOULD_CLOSE_CONN','connection\x20error','runid','LICENSE_EXPORT_SIZE_EXCEEDED','snapshot','_transformRemoteChangesetByIMECache','?size=','_config','_retryCount','blockSize','_configService','send','_parse','fetchMiss','getTypeOfUnitDisposed$','_networkConditionService','SUBMIT_CHANGESET','call','dispose$','registerHTTPInterceptor','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','baseRev','url','ERROR_EXCEED_SIZE','userID','OFFLINE','_loadDoc','\x20in\x20_schedule.','roles','[OfflineState]:\x20received\x20changeset.','852088NEMiPj','getWorkbookSelections','LIVESHARE_NEW_HOST','hasOwnProperty','range','_queuedRemoteChangesets','setShowComponents','_instanceService','getSheetId','commentUpdate$','_syncEditingCollabCursor','_transitionLocked','OTHER_CLIENTS_EDITING','emitEvent','_clearTimeoutTimer','parse','_onConnectionOpen','SNAPSHOT_INVALID_SNAPSHOT','awaiting_with_pending','_toggleOffline','executeCommand','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_rescheduleHeartbeat','Encryptor','_decreaseWaiting','Base','fetch_missing','FAIL','reqId','ruleRefresh','c1Prime','resourceIDs','socketService','joinEvent','SUBMIT_CHANGESET_TIMEOUT','_clearCollaborationTimeoutTimer','CHANGESET_REJ','onCommentUpdate','ERROR_IMAGE_TYPE','_onFetchMissResult','_socketReady','IDLE','\x0aCurrent:\x20','_getAPIPrefixPath','min','unitId','permissionRejEvent','refreshPermission','SHA1','slice','localCacheService','transformChangesets','_clearScheduledTask','infoRsp','INVALID_ARGUMENT','/fetchmissing?from=','onRemoteRej','reverse','/universer-api/stream/file/upload','CONNECTOR_DATA_TOO_LARGE'];_0x4437=function(){return _0x16ecee;};return _0x4437();}let Ct=class extends st{constructor(_0x4698bd,_0x5ef607,_0x17314e,_0x582b78,_0x13cd6a,_0x4a5d80,_0x3d1056,_0x138824,_0x5be5da,_0x375662,_0xe4f644,_0x377c3f,_0x332e82){var _0x37a35f=_0x197d50;super(_0x4698bd,_0x17314e,_0x5ef607,_0x582b78,_0x13cd6a,_0x4a5d80,_0x3d1056,_0x138824,_0x5be5da,_0x375662,_0xe4f644,_0x377c3f,_0x332e82),D(this,_0x37a35f(0x429),null),(this['unitID']=_0x4698bd,this[_0x37a35f(0x1cd)]=_0x5ef607);}[_0x197d50(0x264)](_0xf8c970){this['_handlerCallback']=_0xf8c970;}[_0x197d50(0x317)](){var _0x4f8018=_0x197d50;this['_handlerCallback']=null,super[_0x4f8018(0x317)]();}[_0x197d50(0x3b9)](){var _0x1acc35=_0x197d50;const _0xd700b6=super[_0x1acc35(0x3b9)]();return _0xd700b6[_0x1acc35(0x1fe)]=_0x17dfe1=>{var _0xcb8668=_0x1acc35,_0xb86feb,_0x3c8e1b;return(_0x3c8e1b=(_0xb86feb=this[_0xcb8668(0x429)])==null?void 0x0:_0xb86feb['onTransformIME'])==null?void 0x0:_0x3c8e1b[_0xcb8668(0x293)](_0xb86feb,_0x17dfe1);},_0xd700b6['onTransformState']=_0x312fc8=>{var _0x306990=_0x1acc35,_0xd72e69,_0x2c56e8;return(_0x2c56e8=(_0xd72e69=this[_0x306990(0x429)])==null?void 0x0:_0xd72e69['onTransformState'])==null?void 0x0:_0x2c56e8[_0x306990(0x293)](_0xd72e69,_0x312fc8);},_0xd700b6[_0x1acc35(0x3b6)]=_0x1be18f=>{var _0x4f5b7a=_0x1acc35,_0x142ec2,_0x50aa4b;return(_0x50aa4b=(_0x142ec2=this[_0x4f5b7a(0x429)])==null?void 0x0:_0x142ec2[_0x4f5b7a(0x3b6)])==null?void 0x0:_0x50aa4b['call'](_0x142ec2,_0x1be18f);},_0xd700b6[_0x1acc35(0x15c)]=_0x508dae=>{var _0x50cb1f=_0x1acc35,_0x320f3f,_0x4004be;return(_0x4004be=(_0x320f3f=this['_handlerCallback'])==null?void 0x0:_0x320f3f[_0x50cb1f(0x15c)])==null?void 0x0:_0x4004be[_0x50cb1f(0x293)](_0x320f3f,_0x508dae);},_0xd700b6[_0x1acc35(0x413)]=_0x56efb7=>{var _0x18b456=_0x1acc35,_0x3e9818,_0x32d1b4,_0xd14390;if(!((_0x3e9818=this[_0x18b456(0x429)])!=null&&_0x3e9818['onTransformRemoteChangesetByIMECache']))throw new Error(_0x18b456(0x3e6));return(_0xd14390=(_0x32d1b4=this[_0x18b456(0x429)])==null?void 0x0:_0x32d1b4[_0x18b456(0x413)])==null?void 0x0:_0xd14390['call'](_0x32d1b4,_0x56efb7);},_0xd700b6['onTransformRemoteChangesetByStateCache']=_0x5dec1d=>{var _0x3baec0=_0x1acc35,_0x462c66,_0x422929,_0x376c16;if(!((_0x462c66=this[_0x3baec0(0x429)])!=null&&_0x462c66['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3baec0(0x3dc));return(_0x376c16=(_0x422929=this[_0x3baec0(0x429)])==null?void 0x0:_0x422929[_0x3baec0(0x3b3)])==null?void 0x0:_0x376c16['call'](_0x422929,_0x5dec1d);},_0xd700b6;}async[_0x197d50(0x448)](){var _0x98fce4=_0x197d50;const _0x51fa4c=await super[_0x98fce4(0x448)]();return this[_0x98fce4(0x1a7)](this[_0x98fce4(0x270)][_0x98fce4(0x3b1)]((_0x4c8caa,_0x40b77c)=>{var _0x41a3bf=_0x98fce4;if(_0x4c8caa[_0x41a3bf(0x1cd)]!==_0x278e3b['MUTATION']||_0x40b77c!=null&&_0x40b77c[_0x41a3bf(0x2f6)]||_0x40b77c!=null&&_0x40b77c[_0x41a3bf(0x378)]||_0x4c8caa['id']===_0x1a3cb2['id'])return;const _0x37d0a5=_0x4c8caa[_0x41a3bf(0x3f7)];if((_0x37d0a5==null?void 0x0:_0x37d0a5['unitId'])!==this['unitID'])return;const _0x3a1dfc=_0x4c8caa,_0x3de08c=this[_0x41a3bf(0x384)]['interceptor'][_0x41a3bf(0x170)](this[_0x41a3bf(0x384)][_0x41a3bf(0x376)]['getInterceptPoints']()[_0x41a3bf(0x178)])([_0x3a1dfc],null)||[_0x3a1dfc];this['_onLocalMutation'](_0x3de08c[0x0]);})),_0x51fa4c;}};Ct=Mt([k(0x3,_0x287bb5(_0x4574c3)),k(0x4,_0x287bb5(_0x250c50)),k(0x5,_0x287bb5(_0x2aec3b)),k(0x6,_0x287bb5(_0x55fb7e)),k(0x7,_0x287bb5(pe)),k(0x8,_0x12fb6b),k(0x9,_0x42cf49),k(0xa,_0x5e556e),k(0xb,_0x41b21e(_t)),k(0xc,_0x41b21e(X))],Ct);let bt=class extends st{constructor(_0x3f5c68,_0x42eb00,_0x49184d,_0x3d711a,_0x193d28,_0x415db8,_0x1b1aad,_0x39a39b,_0x193da2,_0x32666d,_0x63c3bf,_0x4e98bf,_0x4f1b2f,_0x38feec){var _0x458b59=_0x197d50;super(_0x3f5c68,_0x49184d,_0x42eb00,_0x3d711a,_0x193d28,_0x415db8,_0x1b1aad,_0x193da2,_0x32666d,_0x63c3bf,_0x4e98bf,_0x4f1b2f,_0x38feec),this[_0x458b59(0x416)]=_0x3f5c68,this[_0x458b59(0x1cd)]=_0x42eb00,this['_sheetTransformSelectionsService']=_0x39a39b;}['_createHandler'](){var _0x3221be=_0x197d50;const _0x12c2ae=super['_createHandler']();return _0x12c2ae[_0x3221be(0x3b6)]=_0x55a7db=>this[_0x3221be(0x3e5)][_0x3221be(0x452)](_0x55a7db),_0x12c2ae;}async[_0x197d50(0x448)](){var _0x5afa0b=_0x197d50;const _0x30b04b=await super['_init']();return this['disposeWithMe'](this[_0x5afa0b(0x270)][_0x5afa0b(0x3b1)]((_0x17fb33,_0x2b44d9)=>{var _0x391819=_0x5afa0b;if(_0x17fb33[_0x391819(0x1cd)]!==_0x278e3b[_0x391819(0x353)]||_0x2b44d9!=null&&_0x2b44d9[_0x391819(0x2f6)]||_0x2b44d9!=null&&_0x2b44d9[_0x391819(0x378)])return;const _0x2c7d34=_0x17fb33[_0x391819(0x3f7)];if((_0x2c7d34==null?void 0x0:_0x2c7d34['unitId'])!==this[_0x391819(0x416)])return;const _0x51aaf7=_0x17fb33,_0x2a6420=this['_compressMutationService'][_0x391819(0x376)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x391819(0x376)][_0x391819(0x1b7)]()[_0x391819(0x178)])([_0x51aaf7],null)||[_0x51aaf7];this[_0x391819(0x24e)](_0x2a6420[0x0]);})),_0x30b04b;}};bt=Mt([k(0x3,_0x287bb5(_0x4574c3)),k(0x4,_0x287bb5(_0x250c50)),k(0x5,_0x287bb5(_0x2aec3b)),k(0x6,_0x287bb5(_0x55fb7e)),k(0x7,_0x287bb5(nt)),k(0x8,_0x287bb5(pe)),k(0x9,_0x12fb6b),k(0xa,_0x42cf49),k(0xb,_0x5e556e),k(0xc,_0x41b21e(_t)),k(0xd,_0x41b21e(X))],bt);var ys=Object[_0x197d50(0x196)],Os=Object[_0x197d50(0x42d)],Ps=(_0x5daff7,_0xa8ce7d,_0x4f7c3f,_0x1d8095)=>{var _0x22fd90=_0x197d50;for(var _0x5627b7=_0x1d8095>0x1?void 0x0:_0x1d8095?Os(_0xa8ce7d,_0x4f7c3f):_0xa8ce7d,_0x756e12=_0x5daff7[_0x22fd90(0x1c6)]-0x1,_0x11b2b0;_0x756e12>=0x0;_0x756e12--)(_0x11b2b0=_0x5daff7[_0x756e12])&&(_0x5627b7=(_0x1d8095?_0x11b2b0(_0xa8ce7d,_0x4f7c3f,_0x5627b7):_0x11b2b0(_0x5627b7))||_0x5627b7);return _0x1d8095&&_0x5627b7&&ys(_0xa8ce7d,_0x4f7c3f,_0x5627b7),_0x5627b7;},vt=(_0x33f4be,_0x520e41)=>(_0x5c4544,_0x1ee03a)=>_0x520e41(_0x5c4544,_0x1ee03a,_0x33f4be);let rt=class extends _0x39849c{constructor(_0x481154,_0x9a9fd3,_0x5963f9){var _0x2daf54=_0x197d50;super(),D(this,_0x2daf54(0x20b),new Map()),D(this,_0x2daf54(0x217),new _0x4077c2()),D(this,_0x2daf54(0x15b),this['_entityInit$'][_0x2daf54(0x32b)]()),(this[_0x2daf54(0x388)]=_0x481154,this[_0x2daf54(0x3bf)]=_0x9a9fd3,this[_0x2daf54(0x3ed)]=_0x5963f9,this[_0x2daf54(0x448)]());}[_0x197d50(0x317)](){super['dispose'](),this['_entities']['forEach'](_0x3c23d9=>_0x3c23d9['dispose']()),this['_entities']['clear']();}['getCollabEntity'](_0x148ab3){var _0x25de84;return(_0x25de84=this['_entities']['get'](_0x148ab3))!=null?_0x25de84:null;}[_0x197d50(0x454)](_0x435048){var _0x6b9558=_0x197d50;const _0x5088ac=this['getCollabEntity'](_0x435048);return _0x5088ac?_0x49247d(_0x5088ac):this['_entityInit$'][_0x6b9558(0x370)](_0x139f21(_0x562294=>_0x562294[_0x6b9558(0x416)]===_0x435048));}[_0x197d50(0x3c9)](_0x420928){var _0x598b5a=_0x197d50;return _0x5a06e0(this[_0x598b5a(0x454)](_0x420928)[_0x598b5a(0x370)](_0x4aec01(()=>{})));}[_0x197d50(0x448)](){var _0x103a7c=_0x197d50;this['_univerInstanceService'][_0x103a7c(0x327)](_0x14febb[_0x103a7c(0x3a1)])[_0x103a7c(0x370)](_0x17ec8d(this[_0x103a7c(0x294)]),_0x3b6660(0x10))[_0x103a7c(0x38f)](async _0x49e416=>{var _0x245f4d=_0x103a7c;const _0x4836ed=_0x49e416[_0x245f4d(0x16b)](),_0x5d237a=await this[_0x245f4d(0x22e)](_0x4836ed,Q['UNIVER_SHEET']);this[_0x245f4d(0x20b)][_0x245f4d(0x214)](_0x4836ed,_0x5d237a);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x14febb['UNIVER_DOC'])[_0x103a7c(0x370)](_0x17ec8d(this[_0x103a7c(0x294)]),_0x3b6660(0x10))[_0x103a7c(0x370)](_0x139f21(_0x21c832=>!_0x21c832[_0x103a7c(0x16b)]()[_0x103a7c(0x280)]('__')))[_0x103a7c(0x38f)](async _0xf9e539=>{var _0x5b81a4=_0x103a7c;const _0x2b73b4=_0xf9e539[_0x5b81a4(0x16b)](),_0x4cc353=await this[_0x5b81a4(0x22e)](_0x2b73b4,Q[_0x5b81a4(0x169)]);this[_0x5b81a4(0x20b)][_0x5b81a4(0x214)](_0x2b73b4,_0x4cc353);}),_0x1e6f36(this[_0x103a7c(0x3ed)][_0x103a7c(0x290)](_0x14febb['UNIVER_SHEET']),this[_0x103a7c(0x3ed)]['getTypeOfUnitDisposed$'](_0x14febb[_0x103a7c(0x169)]))[_0x103a7c(0x370)](_0x17ec8d(this[_0x103a7c(0x294)]))[_0x103a7c(0x38f)](_0x3b7ea5=>{var _0x596c09=_0x103a7c;const _0x935d3a=_0x3b7ea5[_0x596c09(0x16b)](),_0x1a2131=this[_0x596c09(0x20b)][_0x596c09(0x234)](_0x935d3a);_0x1a2131&&(_0x1a2131['dispose'](),this[_0x596c09(0x20b)][_0x596c09(0x21b)](_0x935d3a));});}async[_0x197d50(0x22e)](_0x59fb6a,_0x34f978){var _0x500c24=_0x197d50;const _0x2280fd=await this['_collabSessionService'][_0x500c24(0x1b0)](_0x59fb6a),_0x20165b=this[_0x500c24(0x388)][_0x500c24(0x39c)](this[_0x500c24(0x26f)](_0x34f978),_0x59fb6a,_0x34f978,_0x2280fd);return await _0x20165b[_0x500c24(0x17e)](),this[_0x500c24(0x217)][_0x500c24(0x252)](_0x20165b),_0x20165b;}[_0x197d50(0x26f)](_0x21608e){switch(_0x21608e){case Q['UNIVER_DOC']:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x21608e);}}};rt=Ps([vt(0x0,_0x287bb5(_0x4574c3)),vt(0x1,_0x287bb5(Me)),vt(0x2,_0x1d1205)],rt);var Ns=Object[_0x197d50(0x196)],Ds=Object[_0x197d50(0x42d)],ws=(_0x4d4753,_0x2010b2,_0x3d98a6,_0x45af74)=>{var _0x9c9d53=_0x197d50;for(var _0x1f6ecc=_0x45af74>0x1?void 0x0:_0x45af74?Ds(_0x2010b2,_0x3d98a6):_0x2010b2,_0x33cd41=_0x4d4753[_0x9c9d53(0x1c6)]-0x1,_0xf39259;_0x33cd41>=0x0;_0x33cd41--)(_0xf39259=_0x4d4753[_0x33cd41])&&(_0x1f6ecc=(_0x45af74?_0xf39259(_0x2010b2,_0x3d98a6,_0x1f6ecc):_0xf39259(_0x1f6ecc))||_0x1f6ecc);return _0x45af74&&_0x1f6ecc&&Ns(_0x2010b2,_0x3d98a6,_0x1f6ecc),_0x1f6ecc;},Xt=(_0xc74657,_0x155b06)=>(_0x2f50ec,_0x2f391f)=>_0x155b06(_0x2f50ec,_0x2f391f,_0xc74657);const Us='DEFAULT_FILE_NAME',As='Univer';let Rt=class extends _0x2836d1{constructor(_0x4683e7,_0x49506d){var _0x24f87a=_0x197d50;super(),this['_univerInstanceService']=_0x4683e7,this[_0x24f87a(0x28c)]=_0x49506d,this[_0x24f87a(0x448)]();}[_0x197d50(0x448)](){var _0x200ee3=_0x197d50;this['disposeWithMe'](this[_0x200ee3(0x3ed)]['focused$'][_0x200ee3(0x38f)](()=>{var _0x98dfd2=_0x200ee3,_0x5bb71c;const _0x1f0439=this[_0x98dfd2(0x3ed)]['getFocusedUnit']();let _0x734521=(_0x5bb71c=this['_configService'][_0x98dfd2(0x408)](Us))!=null?_0x5bb71c:As;_0x1f0439 instanceof _0x22b4e7&&(_0x734521=_0x1f0439[_0x98dfd2(0x330)]),document[_0x98dfd2(0x318)]=_0x734521;}));}};Rt=ws([Xt(0x0,_0x1d1205),Xt(0x1,_0x3d2b7c)],Rt);var xs=Object[_0x197d50(0x196)],Ls=Object[_0x197d50(0x42d)],Ms=(_0x3bde51,_0x595f09,_0x5187ef,_0x5bf50f)=>{var _0x7da366=_0x197d50;for(var _0x287db4=_0x5bf50f>0x1?void 0x0:_0x5bf50f?Ls(_0x595f09,_0x5187ef):_0x595f09,_0xd51c5b=_0x3bde51[_0x7da366(0x1c6)]-0x1,_0x4e6ac1;_0xd51c5b>=0x0;_0xd51c5b--)(_0x4e6ac1=_0x3bde51[_0xd51c5b])&&(_0x287db4=(_0x5bf50f?_0x4e6ac1(_0x595f09,_0x5187ef,_0x287db4):_0x4e6ac1(_0x287db4))||_0x287db4);return _0x5bf50f&&_0x287db4&&xs(_0x595f09,_0x5187ef,_0x287db4),_0x287db4;},pt=(_0x265e2d,_0x5558af)=>(_0x1eb005,_0x447e98)=>_0x5558af(_0x1eb005,_0x447e98,_0x265e2d);let ot=class{constructor(_0x4cd806,_0x300a09,_0x522d4d){var _0x5725dd=_0x197d50;this[_0x5725dd(0x28c)]=_0x4cd806,this['_httpService']=_0x300a09,this[_0x5725dd(0x44c)]=_0x522d4d,this[_0x5725dd(0x17e)]();}[_0x197d50(0x17e)](){var _0x4284a8=_0x197d50;this[_0x4284a8(0x276)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5191c8,_0x29b22d)=>_0x29b22d(_0x5191c8)['pipe'](_0x329beb(async _0x15fff6=>{var _0x307c29=_0x4284a8;const _0x45289e=_0x15fff6;if(_0x45289e[_0x307c29(0x338)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x307c29(0x44f)](this[_0x307c29(0x44c)]['t']('auth.needGotoLoginAlert'))){const _0x159397=window['encodeURIComponent'](window[_0x307c29(0x1e0)][_0x307c29(0x273)]);window[_0x307c29(0x1e0)][_0x307c29(0x273)]=this[_0x307c29(0x229)]()+_0x307c29(0x182)+_0x159397;}}return _0x45289e;}))});}[_0x197d50(0x229)](){var _0x408c75=_0x197d50,_0x3d3967,_0x3f1cfb;const _0x39668a=this['_configService'][_0x408c75(0x408)](Fn),_0x2c8c6f=this['_configService']['getConfig'](Y);return(_0x3f1cfb=(_0x3d3967=_0x2c8c6f==null?void 0x0:_0x2c8c6f[_0x408c75(0x26a)])!=null?_0x3d3967:_0x39668a)!=null?_0x3f1cfb:Vn;}};ot=Ms([pt(0x0,_0x3d2b7c),pt(0x1,_0x287bb5(_0x258eed)),pt(0x2,_0x287bb5(_0x2aec3b))],ot);var $s=Object[_0x197d50(0x196)],Hs=Object[_0x197d50(0x42d)],ks=(_0x1dc88a,_0x5da5f4,_0x391090,_0x1535f6)=>{var _0xbe6a99=_0x197d50;for(var _0x59949b=_0x1535f6>0x1?void 0x0:_0x1535f6?Hs(_0x5da5f4,_0x391090):_0x5da5f4,_0x3a239a=_0x1dc88a[_0xbe6a99(0x1c6)]-0x1,_0x533951;_0x3a239a>=0x0;_0x3a239a--)(_0x533951=_0x1dc88a[_0x3a239a])&&(_0x59949b=(_0x1535f6?_0x533951(_0x5da5f4,_0x391090,_0x59949b):_0x533951(_0x59949b))||_0x59949b);return _0x1535f6&&_0x59949b&&$s(_0x5da5f4,_0x391090,_0x59949b),_0x59949b;},Zt=(_0xd0ce5a,_0x1b3b27)=>(_0x56506f,_0x1ba37a)=>_0x1b3b27(_0x56506f,_0x1ba37a,_0xd0ce5a);const Di='AUTHZ_URL_KEY',js=_0x197d50(0x3cb);let yt=class extends _0x2836d1{constructor(_0x29dcd5,_0x41e8e0){var _0x558d70=_0x197d50;super(),this[_0x558d70(0x216)]=_0x29dcd5,this[_0x558d70(0x28c)]=_0x41e8e0,this[_0x558d70(0x39a)]();}[_0x197d50(0x39a)](){var _0x44d52d=_0x197d50;const _0x2e8bb6=this;this[_0x44d52d(0x1a7)](this[_0x44d52d(0x216)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x26bc9b({'isMatch'(_0x4d137f){var _0x3e291=_0x44d52d,_0x58bca0;if(_0x4d137f[_0x3e291(0x1e2)]===_0x3e291(0x246)&&((_0x58bca0=_0x4d137f[_0x3e291(0x439)])!=null&&_0x58bca0['body'])){const {objectID:_0x709279,objectType:_0x4dbcda}=_0x4d137f['requestParams'][_0x3e291(0x1a2)]||{};if(!_0x709279||_0x4dbcda===void 0x0)return!0x1;const _0xfe010a=_0x2e8bb6[_0x3e291(0x2cb)]()+'/'+_0x4dbcda+'/object/'+_0x709279+_0x3e291(0x2ed);if(_0x4d137f[_0x3e291(0x298)]===_0xfe010a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x536713){var _0x3dfb3b;return(_0x3dfb3b=_0x536713['requestParams'])==null?void 0x0:_0x3dfb3b['body'];},'mergeParamsToRequest'(_0x503c8e,_0x7f28f1){var _0x4920ff=_0x44d52d;const _0x357d1b=_0x2e8bb6[_0x4920ff(0x2cb)]()+'/-/object/-/batch_allowed',_0x3cc98b=_0x503c8e[_0x4920ff(0x3ba)]((_0x5eb384,_0x12f36c)=>{var _0x415a90=_0x4920ff;const {unitID:_0x15df8f,objectID:_0x536474,objectType:_0x4bdc18,actions:_0x5417c1}=_0x12f36c;return _0x5eb384[_0x15df8f]||(_0x5eb384[_0x15df8f]={}),_0x5eb384[_0x15df8f][_0x536474]||(_0x5eb384[_0x15df8f][_0x536474]={'objectID':_0x536474,'objectType':_0x4bdc18,'actions':[]}),_0x5eb384[_0x15df8f][_0x536474][_0x415a90(0x1e8)][_0x415a90(0x1a6)](..._0x5417c1),_0x5eb384;},{}),_0xee1678=[];for(const _0x563670 in _0x3cc98b)for(const _0x3db1ad in _0x3cc98b[_0x563670]){const {actions:_0x110419,objectType:_0x2285fb}=_0x3cc98b[_0x563670][_0x3db1ad],_0x2aaa4a=[...new Set(_0x110419)];_0xee1678[_0x4920ff(0x1a6)]({'unitID':_0x563670,'objectID':_0x3db1ad,'objectType':_0x2285fb,'actions':_0x2aaa4a});}return new _0x3e9957(_0x4920ff(0x246),_0x357d1b,{'headers':_0x7f28f1[_0x4920ff(0x34e)],'withCredentials':_0x7f28f1[_0x4920ff(0x3b8)],'responseType':_0x7f28f1[_0x4920ff(0x38e)],'body':{'requests':_0xee1678}});}},{'distributeResult'(_0x2b027b,_0xf1708){var _0x4da9b3=_0x44d52d;const {objectActions:_0x29c641}=_0x2b027b;return _0xf1708[_0x4da9b3(0x3fc)](_0x5d8f32=>{var _0xe81cd=_0x4da9b3;const {unitID:_0x1121c7,objectID:_0x3a22d3,actions:_0x4a6e18}=_0x5d8f32,_0x199836=_0x29c641[_0xe81cd(0x322)](_0x173acf=>_0x173acf['unitID']===_0x1121c7&&_0x173acf[_0xe81cd(0x244)]===_0x3a22d3),_0x475c8d=_0x4a6e18['map'](_0x5deee4=>_0x199836==null?void 0x0:_0x199836[_0xe81cd(0x1e8)][_0xe81cd(0x322)](_0x368e02=>_0x368e02['action']===_0x5deee4))[_0xe81cd(0x3c3)](_0x32f7d6=>!!_0x32f7d6);return{'config':_0x5d8f32,'result':{'actions':_0x475c8d,'error':_0x2b027b[_0xe81cd(0x1c7)]}};});}})}));}[_0x197d50(0x2cb)](){var _0x30399e=_0x197d50,_0x36e769,_0x4111d9;const _0x4c7574=this['_configService'][_0x30399e(0x408)](Di),_0x3c7c2e=this[_0x30399e(0x28c)][_0x30399e(0x408)](Y);return(_0x4111d9=(_0x36e769=_0x3c7c2e==null?void 0x0:_0x3c7c2e[_0x30399e(0x267)])!=null?_0x36e769:_0x4c7574)!=null?_0x4111d9:js;}async[_0x197d50(0x3c6)](_0x5dc0cd){var _0x22ca01=_0x197d50;const _0x1629cc=this[_0x22ca01(0x2cb)]()+'/'+_0x5dc0cd[_0x22ca01(0x3e9)]+_0x22ca01(0x24b);return(await this[_0x22ca01(0x216)][_0x22ca01(0x38d)](_0x1629cc,{'body':_0x5dc0cd}))[_0x22ca01(0x1a2)]['objectID']||'';}async['list'](_0x13d1b8){var _0x52b939=_0x197d50;const _0x6f49f6=this[_0x52b939(0x2cb)]()+_0x52b939(0x243);return(await this['_HTTPService']['post'](_0x6f49f6,{'body':_0x13d1b8}))[_0x52b939(0x1a2)][_0x52b939(0x27d)];}async[_0x197d50(0x3ef)](_0x5a6167){var _0x1c50a4=_0x197d50;const _0x17be9e=this[_0x1c50a4(0x2cb)]()+'/'+_0x5a6167[_0x1c50a4(0x3e9)]+_0x1c50a4(0x364)+_0x5a6167[_0x1c50a4(0x244)];await this[_0x1c50a4(0x216)][_0x1c50a4(0x201)](_0x17be9e,{'body':_0x5a6167});}async[_0x197d50(0x167)](_0x7fc4e1){var _0x49a6fc=_0x197d50;const _0x4b510a=this[_0x49a6fc(0x2cb)]()+'/'+_0x7fc4e1['objectType']+_0x49a6fc(0x364)+_0x7fc4e1['objectID']+_0x49a6fc(0x2ed);return(await this[_0x49a6fc(0x216)]['post'](_0x4b510a,{'body':_0x7fc4e1}))[_0x49a6fc(0x1a2)][_0x49a6fc(0x1e8)];}async[_0x197d50(0x41b)](_0x2a1cc3){var _0x5ae334=_0x197d50;const _0x5acf91=this[_0x5ae334(0x2cb)]()+_0x5ae334(0x3b0);return(await this['_HTTPService'][_0x5ae334(0x38d)](_0x5acf91,{'body':{'requests':_0x2a1cc3}}))['body'][_0x5ae334(0x36d)];}async['listRoles'](_0x4d837d){var _0x5e3409=_0x197d50;const _0x43e855=this[_0x5e3409(0x2cb)]()+'/'+_0x4d837d['objectType']+_0x5e3409(0x402),_0x35c922=await this[_0x5e3409(0x216)][_0x5e3409(0x38d)](_0x43e855,{'body':_0x4d837d});return{'roles':_0x35c922['body'][_0x5e3409(0x29e)],'actions':_0x35c922[_0x5e3409(0x1a2)][_0x5e3409(0x1e8)]};}async[_0x197d50(0x3b4)](_0x55fb8e){var _0x18f85b=_0x197d50;const _0x111c8e=this[_0x18f85b(0x2cb)]()+'/collaborator';await this[_0x18f85b(0x216)][_0x18f85b(0x21b)](_0x111c8e,{'params':{'collaboratorID':_0x55fb8e[_0x18f85b(0x43b)],'objectID':_0x55fb8e[_0x18f85b(0x244)],'unitID':_0x55fb8e[_0x18f85b(0x416)]}});}async['updateCollaborator'](_0x4a2360){var _0x535d81=_0x197d50;const _0x2896c0=this[_0x535d81(0x2cb)]()+_0x535d81(0x14d);await this['_HTTPService'][_0x535d81(0x24f)](_0x2896c0,{'body':_0x4a2360});}async[_0x197d50(0x22c)](_0x3ac951){var _0x4ea573=_0x197d50;const _0x29a63d=this['_getAPIPrefixPath']()+_0x4ea573(0x14d);await this[_0x4ea573(0x216)][_0x4ea573(0x38d)](_0x29a63d,{'body':_0x3ac951});}async[_0x197d50(0x351)](_0x3e756a){var _0x53fd7b=_0x197d50;const _0x2f96c3=this[_0x53fd7b(0x2cb)]()+_0x53fd7b(0x14d);return(await this[_0x53fd7b(0x216)][_0x53fd7b(0x234)](_0x2f96c3,{'params':{'objectID':_0x3e756a['objectID'],'unitID':_0x3e756a[_0x53fd7b(0x416)]}}))[_0x53fd7b(0x1a2)]['collaborators'];}async['putCollaborators'](_0x4cc346){var _0x4d86eb=_0x197d50;const _0x353ec0=this['_getAPIPrefixPath']()+_0x4d86eb(0x14d);await this['_HTTPService'][_0x4d86eb(0x201)](_0x353ec0,{'body':_0x4cc346});}};yt=ks([Zt(0x0,_0x287bb5(_0x258eed)),Zt(0x1,_0x287bb5(_0x3d2b7c))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x53cd49){var _0x1f0b8d=_0x197d50;return _0x53cd49&&_0x53cd49['__esModule']&&Object['prototype'][_0x1f0b8d(0x2a3)][_0x1f0b8d(0x293)](_0x53cd49,'default')?_0x53cd49[_0x1f0b8d(0x40e)]:_0x53cd49;}var We={'exports':{}};function Bs(_0x450b63){var _0x584db4=_0x197d50;throw new Error(_0x584db4(0x316)+_0x450b63+_0x584db4(0x194));}var Ge={'exports':{}},Fs=Ge[_0x197d50(0x411)],Qt;function ne(){var _0x17a312=_0x197d50;return Qt||(Qt=0x1,function(_0xabd022,_0x5ee8e3){(function(_0x326a81,_0x5010b7){_0xabd022['exports']=_0x5010b7();}(Fs,function(){var _0x87d184=_0x87d184||function(_0x382718,_0x534f80){var _0x50b651=_0x30fa,_0x4a5f38;if(typeof window<'u'&&window['crypto']&&(_0x4a5f38=window[_0x50b651(0x409)]),typeof self<'u'&&self[_0x50b651(0x409)]&&(_0x4a5f38=self[_0x50b651(0x409)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4a5f38=globalThis[_0x50b651(0x409)]),!_0x4a5f38&&typeof window<'u'&&window[_0x50b651(0x240)]&&(_0x4a5f38=window[_0x50b651(0x240)]),!_0x4a5f38&&typeof mt<'u'&&mt[_0x50b651(0x409)]&&(_0x4a5f38=mt[_0x50b651(0x409)]),!_0x4a5f38&&typeof Bs==_0x50b651(0x3f0))try{_0x4a5f38=require(_0x50b651(0x409));}catch{}var _0x3010f3=function(){var _0x2b3ec4=_0x50b651;if(_0x4a5f38){if(typeof _0x4a5f38['getRandomValues']==_0x2b3ec4(0x3f0))try{return _0x4a5f38[_0x2b3ec4(0x326)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a5f38[_0x2b3ec4(0x215)]==_0x2b3ec4(0x3f0))try{return _0x4a5f38[_0x2b3ec4(0x215)](0x4)[_0x2b3ec4(0x1b9)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x15b1de=Object[_0x50b651(0x3c6)]||(function(){function _0x40b749(){}return function(_0x440f46){var _0x4aa52b=_0x30fa,_0x24842d;return _0x40b749[_0x4aa52b(0x24d)]=_0x440f46,_0x24842d=new _0x40b749(),_0x40b749[_0x4aa52b(0x24d)]=null,_0x24842d;};}()),_0xf4e349={},_0x36dd0d=_0xf4e349[_0x50b651(0x220)]={},_0x4c07ae=_0x36dd0d['Base']=(function(){return{'extend':function(_0x2ba985){var _0xe0fda7=_0x30fa,_0x9ea24f=_0x15b1de(this);return _0x2ba985&&_0x9ea24f['mixIn'](_0x2ba985),(!_0x9ea24f['hasOwnProperty']('init')||this[_0xe0fda7(0x17e)]===_0x9ea24f[_0xe0fda7(0x17e)])&&(_0x9ea24f[_0xe0fda7(0x17e)]=function(){var _0xff8b32=_0xe0fda7;_0x9ea24f[_0xff8b32(0x332)][_0xff8b32(0x17e)][_0xff8b32(0x171)](this,arguments);}),_0x9ea24f['init'][_0xe0fda7(0x24d)]=_0x9ea24f,_0x9ea24f['$super']=this,_0x9ea24f;},'create':function(){var _0x2b9584=_0x30fa,_0x24f5bb=this[_0x2b9584(0x163)]();return _0x24f5bb[_0x2b9584(0x17e)][_0x2b9584(0x171)](_0x24f5bb,arguments),_0x24f5bb;},'init':function(){},'mixIn':function(_0x5cb0f1){var _0x3e4105=_0x30fa;for(var _0x3cb990 in _0x5cb0f1)_0x5cb0f1['hasOwnProperty'](_0x3cb990)&&(this[_0x3cb990]=_0x5cb0f1[_0x3cb990]);_0x5cb0f1[_0x3e4105(0x2a3)](_0x3e4105(0x1d2))&&(this[_0x3e4105(0x1d2)]=_0x5cb0f1[_0x3e4105(0x1d2)]);},'clone':function(){var _0x189ea7=_0x30fa;return this[_0x189ea7(0x17e)][_0x189ea7(0x24d)][_0x189ea7(0x163)](this);}};}()),_0x14eda8=_0x36dd0d[_0x50b651(0x1fa)]=_0x4c07ae[_0x50b651(0x163)]({'init':function(_0x3b8140,_0x522617){var _0x27f7a2=_0x50b651;_0x3b8140=this['words']=_0x3b8140||[],_0x522617!=_0x534f80?this[_0x27f7a2(0x1ad)]=_0x522617:this[_0x27f7a2(0x1ad)]=_0x3b8140[_0x27f7a2(0x1c6)]*0x4;},'toString':function(_0x35631d){var _0x242d62=_0x50b651;return(_0x35631d||_0x247880)[_0x242d62(0x1ca)](this);},'concat':function(_0x507e37){var _0x5d799e=_0x50b651,_0x244c4d=this[_0x5d799e(0x225)],_0x25622f=_0x507e37[_0x5d799e(0x225)],_0x35436e=this[_0x5d799e(0x1ad)],_0x1553bf=_0x507e37['sigBytes'];if(this['clamp'](),_0x35436e%0x4)for(var _0x3949d9=0x0;_0x3949d9<_0x1553bf;_0x3949d9++){var _0x14aebd=_0x25622f[_0x3949d9>>>0x2]>>>0x18-_0x3949d9%0x4*0x8&0xff;_0x244c4d[_0x35436e+_0x3949d9>>>0x2]|=_0x14aebd<<0x18-(_0x35436e+_0x3949d9)%0x4*0x8;}else{for(var _0x212874=0x0;_0x212874<_0x1553bf;_0x212874+=0x4)_0x244c4d[_0x35436e+_0x212874>>>0x2]=_0x25622f[_0x212874>>>0x2];}return this[_0x5d799e(0x1ad)]+=_0x1553bf,this;},'clamp':function(){var _0xd9e9f9=_0x50b651,_0x414af3=this[_0xd9e9f9(0x225)],_0x3ddb7c=this[_0xd9e9f9(0x1ad)];_0x414af3[_0x3ddb7c>>>0x2]&=0xffffffff<<0x20-_0x3ddb7c%0x4*0x8,_0x414af3['length']=_0x382718['ceil'](_0x3ddb7c/0x4);},'clone':function(){var _0x33d992=_0x50b651,_0x1a4ae4=_0x4c07ae[_0x33d992(0x177)]['call'](this);return _0x1a4ae4[_0x33d992(0x225)]=this[_0x33d992(0x225)][_0x33d992(0x2d1)](0x0),_0x1a4ae4;},'random':function(_0x4b1908){var _0x3c5002=_0x50b651;for(var _0x236ced=[],_0x37af3f=0x0;_0x37af3f<_0x4b1908;_0x37af3f+=0x4)_0x236ced[_0x3c5002(0x1a6)](_0x3010f3());return new _0x14eda8[(_0x3c5002(0x17e))](_0x236ced,_0x4b1908);}}),_0x103230=_0xf4e349[_0x50b651(0x1c8)]={},_0x247880=_0x103230[_0x50b651(0x334)]={'stringify':function(_0x5d8b52){var _0x3d89eb=_0x50b651;for(var _0xe977a8=_0x5d8b52[_0x3d89eb(0x225)],_0x2384e5=_0x5d8b52['sigBytes'],_0x59bab1=[],_0x3d8f7b=0x0;_0x3d8f7b<_0x2384e5;_0x3d8f7b++){var _0x41127b=_0xe977a8[_0x3d8f7b>>>0x2]>>>0x18-_0x3d8f7b%0x4*0x8&0xff;_0x59bab1[_0x3d89eb(0x1a6)]((_0x41127b>>>0x4)[_0x3d89eb(0x1d2)](0x10)),_0x59bab1[_0x3d89eb(0x1a6)]((_0x41127b&0xf)['toString'](0x10));}return _0x59bab1[_0x3d89eb(0x231)]('');},'parse':function(_0x47d8d0){var _0x4e4448=_0x50b651;for(var _0x1a13be=_0x47d8d0['length'],_0x59eb66=[],_0x418536=0x0;_0x418536<_0x1a13be;_0x418536+=0x2)_0x59eb66[_0x418536>>>0x3]|=parseInt(_0x47d8d0[_0x4e4448(0x335)](_0x418536,0x2),0x10)<<0x18-_0x418536%0x8*0x4;return new _0x14eda8[(_0x4e4448(0x17e))](_0x59eb66,_0x1a13be/0x2);}},_0xaf49b1=_0x103230['Latin1']={'stringify':function(_0x557ff9){var _0x1a1bae=_0x50b651;for(var _0x10afa0=_0x557ff9[_0x1a1bae(0x225)],_0x335ad0=_0x557ff9['sigBytes'],_0x463499=[],_0x5adf19=0x0;_0x5adf19<_0x335ad0;_0x5adf19++){var _0x46d1ac=_0x10afa0[_0x5adf19>>>0x2]>>>0x18-_0x5adf19%0x4*0x8&0xff;_0x463499[_0x1a1bae(0x1a6)](String[_0x1a1bae(0x320)](_0x46d1ac));}return _0x463499[_0x1a1bae(0x231)]('');},'parse':function(_0x4054fc){var _0x4fda6b=_0x50b651;for(var _0x5c7f31=_0x4054fc[_0x4fda6b(0x1c6)],_0x29ed8d=[],_0x25978e=0x0;_0x25978e<_0x5c7f31;_0x25978e++)_0x29ed8d[_0x25978e>>>0x2]|=(_0x4054fc[_0x4fda6b(0x44d)](_0x25978e)&0xff)<<0x18-_0x25978e%0x4*0x8;return new _0x14eda8[(_0x4fda6b(0x17e))](_0x29ed8d,_0x5c7f31);}},_0x41871f=_0x103230[_0x50b651(0x206)]={'stringify':function(_0x5a0f5b){var _0xbc888f=_0x50b651;try{return decodeURIComponent(escape(_0xaf49b1[_0xbc888f(0x1ca)](_0x5a0f5b)));}catch{throw new Error(_0xbc888f(0x173));}},'parse':function(_0x3654d7){var _0x5920d2=_0x50b651;return _0xaf49b1[_0x5920d2(0x2af)](unescape(encodeURIComponent(_0x3654d7)));}},_0xb6b07a=_0x36dd0d[_0x50b651(0x3f1)]=_0x4c07ae['extend']({'reset':function(){var _0x16e8ef=_0x50b651;this[_0x16e8ef(0x200)]=new _0x14eda8['init'](),this[_0x16e8ef(0x14b)]=0x0;},'_append':function(_0x20d89e){var _0x397bd0=_0x50b651;typeof _0x20d89e=='string'&&(_0x20d89e=_0x41871f[_0x397bd0(0x2af)](_0x20d89e)),this[_0x397bd0(0x200)][_0x397bd0(0x199)](_0x20d89e),this[_0x397bd0(0x14b)]+=_0x20d89e[_0x397bd0(0x1ad)];},'_process':function(_0x31743a){var _0x319fbd=_0x50b651,_0x4433b6,_0x379977=this[_0x319fbd(0x200)],_0x295d04=_0x379977[_0x319fbd(0x225)],_0x505d94=_0x379977[_0x319fbd(0x1ad)],_0x3e1118=this[_0x319fbd(0x28b)],_0x3f2b47=_0x3e1118*0x4,_0xe20513=_0x505d94/_0x3f2b47;_0x31743a?_0xe20513=_0x382718[_0x319fbd(0x1ac)](_0xe20513):_0xe20513=_0x382718['max']((_0xe20513|0x0)-this[_0x319fbd(0x39b)],0x0);var _0x5b9ee0=_0xe20513*_0x3e1118,_0x402d9c=_0x382718[_0x319fbd(0x2cc)](_0x5b9ee0*0x4,_0x505d94);if(_0x5b9ee0){for(var _0x59866c=0x0;_0x59866c<_0x5b9ee0;_0x59866c+=_0x3e1118)this[_0x319fbd(0x2df)](_0x295d04,_0x59866c);_0x4433b6=_0x295d04['splice'](0x0,_0x5b9ee0),_0x379977[_0x319fbd(0x1ad)]-=_0x402d9c;}return new _0x14eda8[(_0x319fbd(0x17e))](_0x4433b6,_0x402d9c);},'clone':function(){var _0x266185=_0x50b651,_0x4746ac=_0x4c07ae['clone'][_0x266185(0x293)](this);return _0x4746ac[_0x266185(0x200)]=this[_0x266185(0x200)][_0x266185(0x177)](),_0x4746ac;},'_minBufferSize':0x0});_0x36dd0d[_0x50b651(0x323)]=_0xb6b07a[_0x50b651(0x163)]({'cfg':_0x4c07ae[_0x50b651(0x163)](),'init':function(_0x2142bb){var _0x17b870=_0x50b651;this['cfg']=this['cfg']['extend'](_0x2142bb),this[_0x17b870(0x3a9)]();},'reset':function(){var _0x67355c=_0x50b651;_0xb6b07a[_0x67355c(0x3a9)]['call'](this),this[_0x67355c(0x23a)]();},'update':function(_0x2abba8){return this['_append'](_0x2abba8),this['_process'](),this;},'finalize':function(_0xb1b419){var _0x39868b=_0x50b651;_0xb1b419&&this[_0x39868b(0x1a3)](_0xb1b419);var _0xce5ce2=this[_0x39868b(0x1c9)]();return _0xce5ce2;},'blockSize':0x10,'_createHelper':function(_0x2c8f78){return function(_0x3175b7,_0x82f289){return new _0x2c8f78['init'](_0x82f289)['finalize'](_0x3175b7);};},'_createHmacHelper':function(_0x5a60b2){return function(_0x511bf5,_0x576226){var _0x3c6fa9=_0x30fa;return new _0x54c39a[(_0x3c6fa9(0x383))][(_0x3c6fa9(0x17e))](_0x5a60b2,_0x576226)[_0x3c6fa9(0x1aa)](_0x511bf5);};}});var _0x54c39a=_0xf4e349['algo']={};return _0xf4e349;}(Math);return _0x87d184;}));}(Ge)),Ge[_0x17a312(0x411)];}var Ke={'exports':{}},Vs=Ke[_0x197d50(0x411)],ei;function wi(){var _0x5db310=_0x197d50;return ei||(ei=0x1,function(_0x190b13,_0x1d6cee){(function(_0x29a7ff,_0xf192d9){var _0x3c1582=_0x30fa;_0x190b13[_0x3c1582(0x411)]=_0xf192d9(ne());}(Vs,function(_0xc3df41){var _0x5bdcc4=_0x30fa;return(function(){var _0x17b69d=_0x30fa,_0x306e7a=_0xc3df41,_0x2318d4=_0x306e7a['lib'],_0x3a4717=_0x2318d4[_0x17b69d(0x1fa)],_0x12c2c8=_0x306e7a[_0x17b69d(0x1c8)];_0x12c2c8[_0x17b69d(0x180)]={'stringify':function(_0x429b08){var _0x14734b=_0x17b69d,_0x50f04e=_0x429b08[_0x14734b(0x225)],_0x19f4d6=_0x429b08[_0x14734b(0x1ad)],_0x15fbc5=this['_map'];_0x429b08[_0x14734b(0x1af)]();for(var _0x41df11=[],_0x17ec18=0x0;_0x17ec18<_0x19f4d6;_0x17ec18+=0x3)for(var _0x2da7e0=_0x50f04e[_0x17ec18>>>0x2]>>>0x18-_0x17ec18%0x4*0x8&0xff,_0x1f51ba=_0x50f04e[_0x17ec18+0x1>>>0x2]>>>0x18-(_0x17ec18+0x1)%0x4*0x8&0xff,_0x1d3997=_0x50f04e[_0x17ec18+0x2>>>0x2]>>>0x18-(_0x17ec18+0x2)%0x4*0x8&0xff,_0x464eef=_0x2da7e0<<0x10|_0x1f51ba<<0x8|_0x1d3997,_0x17c9ec=0x0;_0x17c9ec<0x4&&_0x17ec18+_0x17c9ec*0.75<_0x19f4d6;_0x17c9ec++)_0x41df11['push'](_0x15fbc5[_0x14734b(0x3a4)](_0x464eef>>>0x6*(0x3-_0x17c9ec)&0x3f));var _0x58699b=_0x15fbc5['charAt'](0x40);if(_0x58699b){for(;_0x41df11[_0x14734b(0x1c6)]%0x4;)_0x41df11[_0x14734b(0x1a6)](_0x58699b);}return _0x41df11[_0x14734b(0x231)]('');},'parse':function(_0x433bce){var _0x107fc2=_0x17b69d,_0x415686=_0x433bce[_0x107fc2(0x1c6)],_0x35dfa3=this['_map'],_0x296dc8=this[_0x107fc2(0x17c)];if(!_0x296dc8){_0x296dc8=this[_0x107fc2(0x17c)]=[];for(var _0x31334=0x0;_0x31334<_0x35dfa3[_0x107fc2(0x1c6)];_0x31334++)_0x296dc8[_0x35dfa3[_0x107fc2(0x44d)](_0x31334)]=_0x31334;}var _0x186f71=_0x35dfa3[_0x107fc2(0x3a4)](0x40);if(_0x186f71){var _0x1e8fe0=_0x433bce[_0x107fc2(0x433)](_0x186f71);_0x1e8fe0!==-0x1&&(_0x415686=_0x1e8fe0);}return _0x18733b(_0x433bce,_0x415686,_0x296dc8);},'_map':_0x17b69d(0x190)};function _0x18733b(_0x3f8bdf,_0x2b13c9,_0x160838){var _0x34b88a=_0x17b69d;for(var _0x57f216=[],_0x394d5d=0x0,_0x1e7137=0x0;_0x1e7137<_0x2b13c9;_0x1e7137++)if(_0x1e7137%0x4){var _0x4cd208=_0x160838[_0x3f8bdf[_0x34b88a(0x44d)](_0x1e7137-0x1)]<<_0x1e7137%0x4*0x2,_0x4676d8=_0x160838[_0x3f8bdf[_0x34b88a(0x44d)](_0x1e7137)]>>>0x6-_0x1e7137%0x4*0x2,_0x1b7966=_0x4cd208|_0x4676d8;_0x57f216[_0x394d5d>>>0x2]|=_0x1b7966<<0x18-_0x394d5d%0x4*0x8,_0x394d5d++;}return _0x3a4717[_0x34b88a(0x3c6)](_0x57f216,_0x394d5d);}}()),_0xc3df41[_0x5bdcc4(0x1c8)][_0x5bdcc4(0x180)];}));}(Ke)),Ke[_0x5db310(0x411)];}var ze={'exports':{}},Ws=ze[_0x197d50(0x411)],ti;function Gs(){var _0x3811dd=_0x197d50;return ti||(ti=0x1,function(_0x300748,_0x538c83){(function(_0x2cea63,_0x509b79){var _0x5b7c0c=_0x30fa;_0x300748[_0x5b7c0c(0x411)]=_0x509b79(ne());}(Ws,function(_0x4d9391){return function(_0x444be9){var _0x13836e=_0x30fa,_0x193281=_0x4d9391,_0x105396=_0x193281[_0x13836e(0x220)],_0x967e65=_0x105396['WordArray'],_0x1ee1aa=_0x105396[_0x13836e(0x323)],_0x3e081b=_0x193281[_0x13836e(0x21c)],_0x50f88f=[];(function(){var _0x40e1e1=_0x13836e;for(var _0x5e9f59=0x0;_0x5e9f59<0x40;_0x5e9f59++)_0x50f88f[_0x5e9f59]=_0x444be9[_0x40e1e1(0x3c2)](_0x444be9[_0x40e1e1(0x152)](_0x5e9f59+0x1))*0x100000000|0x0;}());var _0x68b863=_0x3e081b[_0x13836e(0x1f4)]=_0x1ee1aa[_0x13836e(0x163)]({'_doReset':function(){var _0x4c64cf=_0x13836e;this[_0x4c64cf(0x354)]=new _0x967e65[(_0x4c64cf(0x17e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x13df35,_0x31d0da){var _0x1b3a0e=_0x13836e;for(var _0x1d6b8e=0x0;_0x1d6b8e<0x10;_0x1d6b8e++){var _0x207e28=_0x31d0da+_0x1d6b8e,_0xf97cf6=_0x13df35[_0x207e28];_0x13df35[_0x207e28]=(_0xf97cf6<<0x8|_0xf97cf6>>>0x18)&0xff00ff|(_0xf97cf6<<0x18|_0xf97cf6>>>0x8)&0xff00ff00;}var _0x4dab81=this['_hash'][_0x1b3a0e(0x225)],_0x5f18dd=_0x13df35[_0x31d0da+0x0],_0x3ab8ad=_0x13df35[_0x31d0da+0x1],_0x55797d=_0x13df35[_0x31d0da+0x2],_0x373642=_0x13df35[_0x31d0da+0x3],_0x3d6e23=_0x13df35[_0x31d0da+0x4],_0x4e8f23=_0x13df35[_0x31d0da+0x5],_0x19b997=_0x13df35[_0x31d0da+0x6],_0x6517d8=_0x13df35[_0x31d0da+0x7],_0x1a0eed=_0x13df35[_0x31d0da+0x8],_0x4ea16f=_0x13df35[_0x31d0da+0x9],_0x73da16=_0x13df35[_0x31d0da+0xa],_0x17462b=_0x13df35[_0x31d0da+0xb],_0x2a3a2d=_0x13df35[_0x31d0da+0xc],_0x399901=_0x13df35[_0x31d0da+0xd],_0x1226f2=_0x13df35[_0x31d0da+0xe],_0x14d7b7=_0x13df35[_0x31d0da+0xf],_0x272675=_0x4dab81[0x0],_0x359e2f=_0x4dab81[0x1],_0x39e781=_0x4dab81[0x2],_0x44a7f7=_0x4dab81[0x3];_0x272675=_0xfeb801(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x5f18dd,0x7,_0x50f88f[0x0]),_0x44a7f7=_0xfeb801(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x3ab8ad,0xc,_0x50f88f[0x1]),_0x39e781=_0xfeb801(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x55797d,0x11,_0x50f88f[0x2]),_0x359e2f=_0xfeb801(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x373642,0x16,_0x50f88f[0x3]),_0x272675=_0xfeb801(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x3d6e23,0x7,_0x50f88f[0x4]),_0x44a7f7=_0xfeb801(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x4e8f23,0xc,_0x50f88f[0x5]),_0x39e781=_0xfeb801(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x19b997,0x11,_0x50f88f[0x6]),_0x359e2f=_0xfeb801(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x6517d8,0x16,_0x50f88f[0x7]),_0x272675=_0xfeb801(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x1a0eed,0x7,_0x50f88f[0x8]),_0x44a7f7=_0xfeb801(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x4ea16f,0xc,_0x50f88f[0x9]),_0x39e781=_0xfeb801(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x73da16,0x11,_0x50f88f[0xa]),_0x359e2f=_0xfeb801(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x17462b,0x16,_0x50f88f[0xb]),_0x272675=_0xfeb801(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x2a3a2d,0x7,_0x50f88f[0xc]),_0x44a7f7=_0xfeb801(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x399901,0xc,_0x50f88f[0xd]),_0x39e781=_0xfeb801(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x1226f2,0x11,_0x50f88f[0xe]),_0x359e2f=_0xfeb801(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x14d7b7,0x16,_0x50f88f[0xf]),_0x272675=_0xbb387(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x3ab8ad,0x5,_0x50f88f[0x10]),_0x44a7f7=_0xbb387(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x19b997,0x9,_0x50f88f[0x11]),_0x39e781=_0xbb387(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x17462b,0xe,_0x50f88f[0x12]),_0x359e2f=_0xbb387(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x5f18dd,0x14,_0x50f88f[0x13]),_0x272675=_0xbb387(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x4e8f23,0x5,_0x50f88f[0x14]),_0x44a7f7=_0xbb387(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x73da16,0x9,_0x50f88f[0x15]),_0x39e781=_0xbb387(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x14d7b7,0xe,_0x50f88f[0x16]),_0x359e2f=_0xbb387(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x3d6e23,0x14,_0x50f88f[0x17]),_0x272675=_0xbb387(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x4ea16f,0x5,_0x50f88f[0x18]),_0x44a7f7=_0xbb387(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x1226f2,0x9,_0x50f88f[0x19]),_0x39e781=_0xbb387(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x373642,0xe,_0x50f88f[0x1a]),_0x359e2f=_0xbb387(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x1a0eed,0x14,_0x50f88f[0x1b]),_0x272675=_0xbb387(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x399901,0x5,_0x50f88f[0x1c]),_0x44a7f7=_0xbb387(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x55797d,0x9,_0x50f88f[0x1d]),_0x39e781=_0xbb387(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x6517d8,0xe,_0x50f88f[0x1e]),_0x359e2f=_0xbb387(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x2a3a2d,0x14,_0x50f88f[0x1f]),_0x272675=_0x994a(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x4e8f23,0x4,_0x50f88f[0x20]),_0x44a7f7=_0x994a(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x1a0eed,0xb,_0x50f88f[0x21]),_0x39e781=_0x994a(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x17462b,0x10,_0x50f88f[0x22]),_0x359e2f=_0x994a(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x1226f2,0x17,_0x50f88f[0x23]),_0x272675=_0x994a(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x3ab8ad,0x4,_0x50f88f[0x24]),_0x44a7f7=_0x994a(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x3d6e23,0xb,_0x50f88f[0x25]),_0x39e781=_0x994a(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x6517d8,0x10,_0x50f88f[0x26]),_0x359e2f=_0x994a(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x73da16,0x17,_0x50f88f[0x27]),_0x272675=_0x994a(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x399901,0x4,_0x50f88f[0x28]),_0x44a7f7=_0x994a(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x5f18dd,0xb,_0x50f88f[0x29]),_0x39e781=_0x994a(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x373642,0x10,_0x50f88f[0x2a]),_0x359e2f=_0x994a(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x19b997,0x17,_0x50f88f[0x2b]),_0x272675=_0x994a(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x4ea16f,0x4,_0x50f88f[0x2c]),_0x44a7f7=_0x994a(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x2a3a2d,0xb,_0x50f88f[0x2d]),_0x39e781=_0x994a(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x14d7b7,0x10,_0x50f88f[0x2e]),_0x359e2f=_0x994a(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x55797d,0x17,_0x50f88f[0x2f]),_0x272675=_0x1a73f9(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x5f18dd,0x6,_0x50f88f[0x30]),_0x44a7f7=_0x1a73f9(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x6517d8,0xa,_0x50f88f[0x31]),_0x39e781=_0x1a73f9(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x1226f2,0xf,_0x50f88f[0x32]),_0x359e2f=_0x1a73f9(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x4e8f23,0x15,_0x50f88f[0x33]),_0x272675=_0x1a73f9(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x2a3a2d,0x6,_0x50f88f[0x34]),_0x44a7f7=_0x1a73f9(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x373642,0xa,_0x50f88f[0x35]),_0x39e781=_0x1a73f9(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x73da16,0xf,_0x50f88f[0x36]),_0x359e2f=_0x1a73f9(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x3ab8ad,0x15,_0x50f88f[0x37]),_0x272675=_0x1a73f9(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x1a0eed,0x6,_0x50f88f[0x38]),_0x44a7f7=_0x1a73f9(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x14d7b7,0xa,_0x50f88f[0x39]),_0x39e781=_0x1a73f9(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x19b997,0xf,_0x50f88f[0x3a]),_0x359e2f=_0x1a73f9(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x399901,0x15,_0x50f88f[0x3b]),_0x272675=_0x1a73f9(_0x272675,_0x359e2f,_0x39e781,_0x44a7f7,_0x3d6e23,0x6,_0x50f88f[0x3c]),_0x44a7f7=_0x1a73f9(_0x44a7f7,_0x272675,_0x359e2f,_0x39e781,_0x17462b,0xa,_0x50f88f[0x3d]),_0x39e781=_0x1a73f9(_0x39e781,_0x44a7f7,_0x272675,_0x359e2f,_0x55797d,0xf,_0x50f88f[0x3e]),_0x359e2f=_0x1a73f9(_0x359e2f,_0x39e781,_0x44a7f7,_0x272675,_0x4ea16f,0x15,_0x50f88f[0x3f]),_0x4dab81[0x0]=_0x4dab81[0x0]+_0x272675|0x0,_0x4dab81[0x1]=_0x4dab81[0x1]+_0x359e2f|0x0,_0x4dab81[0x2]=_0x4dab81[0x2]+_0x39e781|0x0,_0x4dab81[0x3]=_0x4dab81[0x3]+_0x44a7f7|0x0;},'_doFinalize':function(){var _0x7cf962=_0x13836e,_0x5f16e7=this[_0x7cf962(0x200)],_0x743fe4=_0x5f16e7[_0x7cf962(0x225)],_0x3bed29=this[_0x7cf962(0x14b)]*0x8,_0x5df132=_0x5f16e7['sigBytes']*0x8;_0x743fe4[_0x5df132>>>0x5]|=0x80<<0x18-_0x5df132%0x20;var _0x47c8af=_0x444be9[_0x7cf962(0x390)](_0x3bed29/0x100000000),_0x2aec6c=_0x3bed29;_0x743fe4[(_0x5df132+0x40>>>0x9<<0x4)+0xf]=(_0x47c8af<<0x8|_0x47c8af>>>0x18)&0xff00ff|(_0x47c8af<<0x18|_0x47c8af>>>0x8)&0xff00ff00,_0x743fe4[(_0x5df132+0x40>>>0x9<<0x4)+0xe]=(_0x2aec6c<<0x8|_0x2aec6c>>>0x18)&0xff00ff|(_0x2aec6c<<0x18|_0x2aec6c>>>0x8)&0xff00ff00,_0x5f16e7[_0x7cf962(0x1ad)]=(_0x743fe4[_0x7cf962(0x1c6)]+0x1)*0x4,this[_0x7cf962(0x202)]();for(var _0x3ea7d5=this[_0x7cf962(0x354)],_0x32215c=_0x3ea7d5[_0x7cf962(0x225)],_0x6d2ffb=0x0;_0x6d2ffb<0x4;_0x6d2ffb++){var _0x575d53=_0x32215c[_0x6d2ffb];_0x32215c[_0x6d2ffb]=(_0x575d53<<0x8|_0x575d53>>>0x18)&0xff00ff|(_0x575d53<<0x18|_0x575d53>>>0x8)&0xff00ff00;}return _0x3ea7d5;},'clone':function(){var _0x572869=_0x13836e,_0xacb7d5=_0x1ee1aa[_0x572869(0x177)]['call'](this);return _0xacb7d5[_0x572869(0x354)]=this[_0x572869(0x354)][_0x572869(0x177)](),_0xacb7d5;}});function _0xfeb801(_0x572014,_0x35ada7,_0x7f75f,_0x16e163,_0xfabe79,_0x3fc547,_0x7a5f13){var _0x37df4d=_0x572014+(_0x35ada7&_0x7f75f|~_0x35ada7&_0x16e163)+_0xfabe79+_0x7a5f13;return(_0x37df4d<<_0x3fc547|_0x37df4d>>>0x20-_0x3fc547)+_0x35ada7;}function _0xbb387(_0x33508b,_0x6fbe19,_0x533b43,_0x4ecc00,_0x1b2f07,_0x4ad5f0,_0x28c5c7){var _0x453776=_0x33508b+(_0x6fbe19&_0x4ecc00|_0x533b43&~_0x4ecc00)+_0x1b2f07+_0x28c5c7;return(_0x453776<<_0x4ad5f0|_0x453776>>>0x20-_0x4ad5f0)+_0x6fbe19;}function _0x994a(_0x1e50da,_0x20fe39,_0x18d30a,_0x53692d,_0x3a133b,_0x48cdf9,_0x2ab675){var _0x5eb21f=_0x1e50da+(_0x20fe39^_0x18d30a^_0x53692d)+_0x3a133b+_0x2ab675;return(_0x5eb21f<<_0x48cdf9|_0x5eb21f>>>0x20-_0x48cdf9)+_0x20fe39;}function _0x1a73f9(_0x49e231,_0x234f74,_0x4cec73,_0x65baae,_0x5c9bf1,_0x4f0ed2,_0x420d3a){var _0x372d3c=_0x49e231+(_0x4cec73^(_0x234f74|~_0x65baae))+_0x5c9bf1+_0x420d3a;return(_0x372d3c<<_0x4f0ed2|_0x372d3c>>>0x20-_0x4f0ed2)+_0x234f74;}_0x193281[_0x13836e(0x1f4)]=_0x1ee1aa[_0x13836e(0x254)](_0x68b863),_0x193281[_0x13836e(0x35e)]=_0x1ee1aa[_0x13836e(0x1d9)](_0x68b863);}(Math),_0x4d9391['MD5'];}));}(ze)),ze[_0x3811dd(0x411)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x197d50(0x411)],ii;function zs(){return ii||(ii=0x1,function(_0x588f55,_0x2c6194){(function(_0x5817dd,_0x5862c0){var _0x265d4e=_0x30fa;_0x588f55[_0x265d4e(0x411)]=_0x5862c0(ne());}(Ks,function(_0x4f1176){var _0xcbbcd9=_0x30fa;return(function(){var _0x466b3f=_0x30fa,_0x3f1f34=_0x4f1176,_0x689d59=_0x3f1f34['lib'],_0x1f7a13=_0x689d59[_0x466b3f(0x1fa)],_0x9a5720=_0x689d59[_0x466b3f(0x323)],_0x17782b=_0x3f1f34[_0x466b3f(0x21c)],_0x56ba13=[],_0x5a35c2=_0x17782b[_0x466b3f(0x2d0)]=_0x9a5720[_0x466b3f(0x163)]({'_doReset':function(){var _0x55d639=_0x466b3f;this[_0x55d639(0x354)]=new _0x1f7a13['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x55b610,_0x354a80){var _0x2750a3=_0x466b3f;for(var _0x5e5289=this[_0x2750a3(0x354)][_0x2750a3(0x225)],_0x519b28=_0x5e5289[0x0],_0x186a05=_0x5e5289[0x1],_0xa606ae=_0x5e5289[0x2],_0x4b50e8=_0x5e5289[0x3],_0x48ed7e=_0x5e5289[0x4],_0x567e14=0x0;_0x567e14<0x50;_0x567e14++){if(_0x567e14<0x10)_0x56ba13[_0x567e14]=_0x55b610[_0x354a80+_0x567e14]|0x0;else{var _0xea7952=_0x56ba13[_0x567e14-0x3]^_0x56ba13[_0x567e14-0x8]^_0x56ba13[_0x567e14-0xe]^_0x56ba13[_0x567e14-0x10];_0x56ba13[_0x567e14]=_0xea7952<<0x1|_0xea7952>>>0x1f;}var _0x4a64f4=(_0x519b28<<0x5|_0x519b28>>>0x1b)+_0x48ed7e+_0x56ba13[_0x567e14];_0x567e14<0x14?_0x4a64f4+=(_0x186a05&_0xa606ae|~_0x186a05&_0x4b50e8)+0x5a827999:_0x567e14<0x28?_0x4a64f4+=(_0x186a05^_0xa606ae^_0x4b50e8)+0x6ed9eba1:_0x567e14<0x3c?_0x4a64f4+=(_0x186a05&_0xa606ae|_0x186a05&_0x4b50e8|_0xa606ae&_0x4b50e8)-0x70e44324:_0x4a64f4+=(_0x186a05^_0xa606ae^_0x4b50e8)-0x359d3e2a,_0x48ed7e=_0x4b50e8,_0x4b50e8=_0xa606ae,_0xa606ae=_0x186a05<<0x1e|_0x186a05>>>0x2,_0x186a05=_0x519b28,_0x519b28=_0x4a64f4;}_0x5e5289[0x0]=_0x5e5289[0x0]+_0x519b28|0x0,_0x5e5289[0x1]=_0x5e5289[0x1]+_0x186a05|0x0,_0x5e5289[0x2]=_0x5e5289[0x2]+_0xa606ae|0x0,_0x5e5289[0x3]=_0x5e5289[0x3]+_0x4b50e8|0x0,_0x5e5289[0x4]=_0x5e5289[0x4]+_0x48ed7e|0x0;},'_doFinalize':function(){var _0x33d68a=_0x466b3f,_0x1af738=this[_0x33d68a(0x200)],_0x126c7d=_0x1af738[_0x33d68a(0x225)],_0x3211b2=this['_nDataBytes']*0x8,_0x531fbf=_0x1af738[_0x33d68a(0x1ad)]*0x8;return _0x126c7d[_0x531fbf>>>0x5]|=0x80<<0x18-_0x531fbf%0x20,_0x126c7d[(_0x531fbf+0x40>>>0x9<<0x4)+0xe]=Math[_0x33d68a(0x390)](_0x3211b2/0x100000000),_0x126c7d[(_0x531fbf+0x40>>>0x9<<0x4)+0xf]=_0x3211b2,_0x1af738[_0x33d68a(0x1ad)]=_0x126c7d[_0x33d68a(0x1c6)]*0x4,this[_0x33d68a(0x202)](),this[_0x33d68a(0x354)];},'clone':function(){var _0x5efa54=_0x466b3f,_0x56c337=_0x9a5720[_0x5efa54(0x177)][_0x5efa54(0x293)](this);return _0x56c337[_0x5efa54(0x354)]=this['_hash'][_0x5efa54(0x177)](),_0x56c337;}});_0x3f1f34[_0x466b3f(0x2d0)]=_0x9a5720[_0x466b3f(0x254)](_0x5a35c2),_0x3f1f34['HmacSHA1']=_0x9a5720[_0x466b3f(0x1d9)](_0x5a35c2);}()),_0x4f1176[_0xcbbcd9(0x2d0)];}));}(qe)),qe['exports'];}var Je={'exports':{}},Ys=Je[_0x197d50(0x411)],ni;function qs(){var _0x44721c=_0x197d50;return ni||(ni=0x1,function(_0x278fa4,_0x3f84c2){(function(_0x56fbd0,_0x507d5a){var _0xa84362=_0x30fa;_0x278fa4[_0xa84362(0x411)]=_0x507d5a(ne());}(Ys,function(_0x18e295){(function(){var _0x36263d=_0x30fa,_0x51202a=_0x18e295,_0xf4c76a=_0x51202a[_0x36263d(0x220)],_0x22bd2b=_0xf4c76a[_0x36263d(0x2b9)],_0x28b0ba=_0x51202a[_0x36263d(0x1c8)],_0x32beb8=_0x28b0ba[_0x36263d(0x206)],_0x5f222a=_0x51202a[_0x36263d(0x21c)];_0x5f222a['HMAC']=_0x22bd2b['extend']({'init':function(_0x1b6b2f,_0x540bef){var _0xc9ea7=_0x36263d;_0x1b6b2f=this[_0xc9ea7(0x188)]=new _0x1b6b2f[(_0xc9ea7(0x17e))](),typeof _0x540bef==_0xc9ea7(0x21a)&&(_0x540bef=_0x32beb8[_0xc9ea7(0x2af)](_0x540bef));var _0x1efd55=_0x1b6b2f['blockSize'],_0x32a920=_0x1efd55*0x4;_0x540bef[_0xc9ea7(0x1ad)]>_0x32a920&&(_0x540bef=_0x1b6b2f[_0xc9ea7(0x1aa)](_0x540bef)),_0x540bef['clamp']();for(var _0x403a4d=this[_0xc9ea7(0x3e0)]=_0x540bef[_0xc9ea7(0x177)](),_0x4e9fce=this['_iKey']=_0x540bef[_0xc9ea7(0x177)](),_0x588f34=_0x403a4d[_0xc9ea7(0x225)],_0x14f7fc=_0x4e9fce[_0xc9ea7(0x225)],_0x56ae98=0x0;_0x56ae98<_0x1efd55;_0x56ae98++)_0x588f34[_0x56ae98]^=0x5c5c5c5c,_0x14f7fc[_0x56ae98]^=0x36363636;_0x403a4d['sigBytes']=_0x4e9fce[_0xc9ea7(0x1ad)]=_0x32a920,this[_0xc9ea7(0x3a9)]();},'reset':function(){var _0x27e64b=_0x36263d,_0x3c293f=this[_0x27e64b(0x188)];_0x3c293f[_0x27e64b(0x3a9)](),_0x3c293f[_0x27e64b(0x3ef)](this[_0x27e64b(0x3cd)]);},'update':function(_0x2d6f52){var _0x34212a=_0x36263d;return this['_hasher'][_0x34212a(0x3ef)](_0x2d6f52),this;},'finalize':function(_0x1a50e1){var _0x33081a=_0x36263d,_0x3b78d9=this[_0x33081a(0x188)],_0x184bd0=_0x3b78d9['finalize'](_0x1a50e1);_0x3b78d9['reset']();var _0x3acd40=_0x3b78d9['finalize'](this[_0x33081a(0x3e0)][_0x33081a(0x177)]()['concat'](_0x184bd0));return _0x3acd40;}});}());}));}(Je)),Je[_0x44721c(0x411)];}var Js=Ye[_0x197d50(0x411)],si;function Ui(){var _0x171989=_0x197d50;return si||(si=0x1,function(_0xc769f2,_0x29258e){(function(_0x34f473,_0x5a069e,_0x385106){var _0x13f012=_0x30fa;_0xc769f2[_0x13f012(0x411)]=_0x5a069e(ne(),zs(),qs());}(Js,function(_0x7a73c0){var _0x12b80b=_0x30fa;return(function(){var _0x22bf18=_0x30fa,_0x207c53=_0x7a73c0,_0x1f855e=_0x207c53[_0x22bf18(0x220)],_0x49c918=_0x1f855e[_0x22bf18(0x2b9)],_0x1e6121=_0x1f855e[_0x22bf18(0x1fa)],_0x3637ed=_0x207c53['algo'],_0x571a31=_0x3637ed[_0x22bf18(0x1f4)],_0x38b0ce=_0x3637ed[_0x22bf18(0x301)]=_0x49c918['extend']({'cfg':_0x49c918['extend']({'keySize':0x80/0x20,'hasher':_0x571a31,'iterations':0x1}),'init':function(_0x5d694c){var _0x2b021f=_0x22bf18;this[_0x2b021f(0x362)]=this[_0x2b021f(0x362)]['extend'](_0x5d694c);},'compute':function(_0x43dabd,_0x4b2bca){var _0x257c6c=_0x22bf18;for(var _0x48a915,_0x193bdf=this[_0x257c6c(0x362)],_0x484c5e=_0x193bdf[_0x257c6c(0x36c)][_0x257c6c(0x3c6)](),_0x185f0b=_0x1e6121['create'](),_0x4e7367=_0x185f0b[_0x257c6c(0x225)],_0xe6dc3a=_0x193bdf['keySize'],_0x3f49b8=_0x193bdf['iterations'];_0x4e7367[_0x257c6c(0x1c6)]<_0xe6dc3a;){_0x48a915&&_0x484c5e[_0x257c6c(0x3ef)](_0x48a915),_0x48a915=_0x484c5e[_0x257c6c(0x3ef)](_0x43dabd)[_0x257c6c(0x1aa)](_0x4b2bca),_0x484c5e[_0x257c6c(0x3a9)]();for(var _0x16b159=0x1;_0x16b159<_0x3f49b8;_0x16b159++)_0x48a915=_0x484c5e[_0x257c6c(0x1aa)](_0x48a915),_0x484c5e[_0x257c6c(0x3a9)]();_0x185f0b[_0x257c6c(0x199)](_0x48a915);}return _0x185f0b['sigBytes']=_0xe6dc3a*0x4,_0x185f0b;}});_0x207c53[_0x22bf18(0x301)]=function(_0x39d45d,_0x2da49c,_0x10153c){var _0x10473e=_0x22bf18;return _0x38b0ce[_0x10473e(0x3c6)](_0x10153c)['compute'](_0x39d45d,_0x2da49c);};}()),_0x7a73c0[_0x12b80b(0x301)];}));}(Ye)),Ye[_0x171989(0x411)];}var Xe={'exports':{}},Xs=Xe[_0x197d50(0x411)],ri;function Ai(){var _0x4643e7=_0x197d50;return ri||(ri=0x1,function(_0xb864c,_0x5e1fcc){(function(_0xe5d64d,_0x514eec,_0x4e0200){var _0x4cdb73=_0x30fa;_0xb864c[_0x4cdb73(0x411)]=_0x514eec(ne(),Ui());}(Xs,function(_0x5e476b){var _0x4d7549=_0x30fa;_0x5e476b[_0x4d7549(0x220)]['Cipher']||function(_0x2376c0){var _0x1e3571=_0x4d7549,_0x5bc7a1=_0x5e476b,_0x847ffe=_0x5bc7a1['lib'],_0x1f3156=_0x847ffe[_0x1e3571(0x2b9)],_0x3fe4bf=_0x847ffe[_0x1e3571(0x1fa)],_0x4aa530=_0x847ffe[_0x1e3571(0x3f1)],_0x642963=_0x5bc7a1[_0x1e3571(0x1c8)];_0x642963[_0x1e3571(0x206)];var _0x51eee5=_0x642963[_0x1e3571(0x180)],_0x30d517=_0x5bc7a1[_0x1e3571(0x21c)],_0x33b2e1=_0x30d517[_0x1e3571(0x301)],_0x5d4cb0=_0x847ffe['Cipher']=_0x4aa530['extend']({'cfg':_0x1f3156[_0x1e3571(0x163)](),'createEncryptor':function(_0xa9da0d,_0x2b6f20){var _0x1d6c3d=_0x1e3571;return this[_0x1d6c3d(0x3c6)](this['_ENC_XFORM_MODE'],_0xa9da0d,_0x2b6f20);},'createDecryptor':function(_0xa6a028,_0x32c920){return this['create'](this['_DEC_XFORM_MODE'],_0xa6a028,_0x32c920);},'init':function(_0x582b97,_0x1e0ce0,_0x5e7a40){var _0x34f014=_0x1e3571;this['cfg']=this[_0x34f014(0x362)][_0x34f014(0x163)](_0x5e7a40),this['_xformMode']=_0x582b97,this[_0x34f014(0x434)]=_0x1e0ce0,this[_0x34f014(0x3a9)]();},'reset':function(){var _0x4ecc0b=_0x1e3571;_0x4aa530[_0x4ecc0b(0x3a9)][_0x4ecc0b(0x293)](this),this['_doReset']();},'process':function(_0x5ac103){var _0x4bc8c0=_0x1e3571;return this[_0x4bc8c0(0x1a3)](_0x5ac103),this[_0x4bc8c0(0x202)]();},'finalize':function(_0x2a01c9){var _0x4a456c=_0x1e3571;_0x2a01c9&&this[_0x4a456c(0x1a3)](_0x2a01c9);var _0x247cc7=this[_0x4a456c(0x1c9)]();return _0x247cc7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x44c900(_0x807497){var _0x2ddd17=_0x30fa;return typeof _0x807497==_0x2ddd17(0x21a)?_0x3f59cf:_0x4c8167;}return function(_0xbcfdbc){return{'encrypt':function(_0x4253d9,_0x103320,_0x109640){var _0x2d3ca4=_0x30fa;return _0x44c900(_0x103320)[_0x2d3ca4(0x205)](_0xbcfdbc,_0x4253d9,_0x103320,_0x109640);},'decrypt':function(_0x451a18,_0x148b43,_0x3664b4){var _0x3c147c=_0x30fa;return _0x44c900(_0x148b43)[_0x3c147c(0x17b)](_0xbcfdbc,_0x451a18,_0x148b43,_0x3664b4);}};};}())});_0x847ffe[_0x1e3571(0x363)]=_0x5d4cb0[_0x1e3571(0x163)]({'_doFinalize':function(){var _0x4f9d1b=_0x1e3571,_0x1387f7=this[_0x4f9d1b(0x202)](!0x0);return _0x1387f7;},'blockSize':0x1});var _0x1f9821=_0x5bc7a1[_0x1e3571(0x33c)]={},_0x342b54=_0x847ffe['BlockCipherMode']=_0x1f3156['extend']({'createEncryptor':function(_0x479444,_0x1d035e){var _0x2e2f91=_0x1e3571;return this[_0x2e2f91(0x2b7)][_0x2e2f91(0x3c6)](_0x479444,_0x1d035e);},'createDecryptor':function(_0x38b1b6,_0x40415c){var _0x2948ef=_0x1e3571;return this[_0x2948ef(0x42c)]['create'](_0x38b1b6,_0x40415c);},'init':function(_0xd40f62,_0x1259fa){var _0x19650d=_0x1e3571;this[_0x19650d(0x406)]=_0xd40f62,this['_iv']=_0x1259fa;}}),_0x1362ef=_0x1f9821[_0x1e3571(0x281)]=(function(){var _0x531f51=_0x1e3571,_0x38e0de=_0x342b54['extend']();_0x38e0de[_0x531f51(0x2b7)]=_0x38e0de[_0x531f51(0x163)]({'processBlock':function(_0x57b75c,_0x563ef7){var _0x2ec8cf=_0x531f51,_0x38506c=this[_0x2ec8cf(0x406)],_0xd3f390=_0x38506c[_0x2ec8cf(0x28b)];_0x348815[_0x2ec8cf(0x293)](this,_0x57b75c,_0x563ef7,_0xd3f390),_0x38506c[_0x2ec8cf(0x269)](_0x57b75c,_0x563ef7),this['_prevBlock']=_0x57b75c['slice'](_0x563ef7,_0x563ef7+_0xd3f390);}}),_0x38e0de[_0x531f51(0x42c)]=_0x38e0de['extend']({'processBlock':function(_0x1948c,_0xb445a2){var _0x1c0e0b=_0x531f51,_0x4dcaba=this[_0x1c0e0b(0x406)],_0x548ac1=_0x4dcaba[_0x1c0e0b(0x28b)],_0x31fbda=_0x1948c[_0x1c0e0b(0x2d1)](_0xb445a2,_0xb445a2+_0x548ac1);_0x4dcaba[_0x1c0e0b(0x387)](_0x1948c,_0xb445a2),_0x348815[_0x1c0e0b(0x293)](this,_0x1948c,_0xb445a2,_0x548ac1),this[_0x1c0e0b(0x396)]=_0x31fbda;}});function _0x348815(_0x1cc82e,_0x1aadff,_0x523608){var _0x982a3b=_0x531f51,_0x427d82,_0x443fe1=this[_0x982a3b(0x2fc)];_0x443fe1?(_0x427d82=_0x443fe1,this[_0x982a3b(0x2fc)]=_0x2376c0):_0x427d82=this[_0x982a3b(0x396)];for(var _0x253947=0x0;_0x253947<_0x523608;_0x253947++)_0x1cc82e[_0x1aadff+_0x253947]^=_0x427d82[_0x253947];}return _0x38e0de;}()),_0x9300ff=_0x5bc7a1[_0x1e3571(0x405)]={},_0x2f3e18=_0x9300ff[_0x1e3571(0x1e4)]={'pad':function(_0x244c49,_0xefab55){var _0x39d427=_0x1e3571;for(var _0x3ab626=_0xefab55*0x4,_0x265132=_0x3ab626-_0x244c49[_0x39d427(0x1ad)]%_0x3ab626,_0x28570a=_0x265132<<0x18|_0x265132<<0x10|_0x265132<<0x8|_0x265132,_0x4688ba=[],_0x1d8274=0x0;_0x1d8274<_0x265132;_0x1d8274+=0x4)_0x4688ba[_0x39d427(0x1a6)](_0x28570a);var _0x57f206=_0x3fe4bf[_0x39d427(0x3c6)](_0x4688ba,_0x265132);_0x244c49['concat'](_0x57f206);},'unpad':function(_0x700f84){var _0x1c169e=_0x1e3571,_0x519ef1=_0x700f84['words'][_0x700f84[_0x1c169e(0x1ad)]-0x1>>>0x2]&0xff;_0x700f84[_0x1c169e(0x1ad)]-=_0x519ef1;}};_0x847ffe['BlockCipher']=_0x5d4cb0[_0x1e3571(0x163)]({'cfg':_0x5d4cb0[_0x1e3571(0x362)]['extend']({'mode':_0x1362ef,'padding':_0x2f3e18}),'reset':function(){var _0x20be98=_0x1e3571,_0x136488;_0x5d4cb0[_0x20be98(0x3a9)][_0x20be98(0x293)](this);var _0x1e826b=this[_0x20be98(0x362)],_0x4ffe9c=_0x1e826b['iv'],_0x1b3011=_0x1e826b[_0x20be98(0x33c)];this['_xformMode']==this[_0x20be98(0x32e)]?_0x136488=_0x1b3011[_0x20be98(0x3f9)]:(_0x136488=_0x1b3011[_0x20be98(0x300)],this['_minBufferSize']=0x1),this[_0x20be98(0x185)]&&this['_mode'][_0x20be98(0x3c8)]==_0x136488?this[_0x20be98(0x185)][_0x20be98(0x17e)](this,_0x4ffe9c&&_0x4ffe9c[_0x20be98(0x225)]):(this[_0x20be98(0x185)]=_0x136488['call'](_0x1b3011,this,_0x4ffe9c&&_0x4ffe9c['words']),this[_0x20be98(0x185)]['__creator']=_0x136488);},'_doProcessBlock':function(_0x2adf2d,_0x3f133d){var _0x39b8f4=_0x1e3571;this[_0x39b8f4(0x185)][_0x39b8f4(0x3d5)](_0x2adf2d,_0x3f133d);},'_doFinalize':function(){var _0x5bc797=_0x1e3571,_0x3768d4,_0x41e432=this[_0x5bc797(0x362)][_0x5bc797(0x18e)];return this[_0x5bc797(0x3d0)]==this[_0x5bc797(0x32e)]?(_0x41e432[_0x5bc797(0x405)](this['_data'],this[_0x5bc797(0x28b)]),_0x3768d4=this[_0x5bc797(0x202)](!0x0)):(_0x3768d4=this[_0x5bc797(0x202)](!0x0),_0x41e432[_0x5bc797(0x39d)](_0x3768d4)),_0x3768d4;},'blockSize':0x80/0x20});var _0x4ec7fb=_0x847ffe[_0x1e3571(0x20c)]=_0x1f3156['extend']({'init':function(_0x9ca363){this['mixIn'](_0x9ca363);},'toString':function(_0x50c9e5){var _0x1df4e1=_0x1e3571;return(_0x50c9e5||this[_0x1df4e1(0x347)])[_0x1df4e1(0x1ca)](this);}}),_0x2d511f=_0x5bc7a1['format']={},_0x4e0b68=_0x2d511f[_0x1e3571(0x235)]={'stringify':function(_0x1cfc43){var _0x542cd8=_0x1e3571,_0x1ea39a,_0x58683b=_0x1cfc43[_0x542cd8(0x35a)],_0x9aaacd=_0x1cfc43[_0x542cd8(0x40a)];return _0x9aaacd?_0x1ea39a=_0x3fe4bf[_0x542cd8(0x3c6)]([0x53616c74,0x65645f5f])[_0x542cd8(0x199)](_0x9aaacd)[_0x542cd8(0x199)](_0x58683b):_0x1ea39a=_0x58683b,_0x1ea39a['toString'](_0x51eee5);},'parse':function(_0x4c4f1d){var _0xe4f414=_0x1e3571,_0xe3bd9d,_0x5a0496=_0x51eee5[_0xe4f414(0x2af)](_0x4c4f1d),_0x51e559=_0x5a0496['words'];return _0x51e559[0x0]==0x53616c74&&_0x51e559[0x1]==0x65645f5f&&(_0xe3bd9d=_0x3fe4bf[_0xe4f414(0x3c6)](_0x51e559['slice'](0x2,0x4)),_0x51e559['splice'](0x0,0x4),_0x5a0496[_0xe4f414(0x1ad)]-=0x10),_0x4ec7fb[_0xe4f414(0x3c6)]({'ciphertext':_0x5a0496,'salt':_0xe3bd9d});}},_0x4c8167=_0x847ffe[_0x1e3571(0x36a)]=_0x1f3156[_0x1e3571(0x163)]({'cfg':_0x1f3156[_0x1e3571(0x163)]({'format':_0x4e0b68}),'encrypt':function(_0x5a0b26,_0x120528,_0x47766e,_0x5a323d){var _0x40b87e=_0x1e3571;_0x5a323d=this['cfg'][_0x40b87e(0x163)](_0x5a323d);var _0x2879cd=_0x5a0b26[_0x40b87e(0x3f9)](_0x47766e,_0x5a323d),_0x28853d=_0x2879cd['finalize'](_0x120528),_0x5a2feb=_0x2879cd['cfg'];return _0x4ec7fb['create']({'ciphertext':_0x28853d,'key':_0x47766e,'iv':_0x5a2feb['iv'],'algorithm':_0x5a0b26,'mode':_0x5a2feb[_0x40b87e(0x33c)],'padding':_0x5a2feb[_0x40b87e(0x18e)],'blockSize':_0x5a0b26[_0x40b87e(0x28b)],'formatter':_0x5a323d[_0x40b87e(0x1fd)]});},'decrypt':function(_0x61734f,_0x49372a,_0x29a02c,_0x3b73cf){var _0x26a975=_0x1e3571;_0x3b73cf=this['cfg'][_0x26a975(0x163)](_0x3b73cf),_0x49372a=this['_parse'](_0x49372a,_0x3b73cf[_0x26a975(0x1fd)]);var _0x9f45a9=_0x61734f[_0x26a975(0x300)](_0x29a02c,_0x3b73cf)[_0x26a975(0x1aa)](_0x49372a[_0x26a975(0x35a)]);return _0x9f45a9;},'_parse':function(_0x2b0d60,_0x4e93c8){var _0x8c599e=_0x1e3571;return typeof _0x2b0d60==_0x8c599e(0x21a)?_0x4e93c8[_0x8c599e(0x2af)](_0x2b0d60,this):_0x2b0d60;}}),_0x563944=_0x5bc7a1[_0x1e3571(0x1df)]={},_0x58dfa9=_0x563944[_0x1e3571(0x235)]={'execute':function(_0x2e0bc4,_0x2463f4,_0x34bb36,_0x3f1caa,_0x3155d5){var _0x525e50=_0x1e3571;if(_0x3f1caa||(_0x3f1caa=_0x3fe4bf[_0x525e50(0x1d3)](0x40/0x8)),_0x3155d5)var _0x472947=_0x33b2e1['create']({'keySize':_0x2463f4+_0x34bb36,'hasher':_0x3155d5})['compute'](_0x2e0bc4,_0x3f1caa);else var _0x472947=_0x33b2e1['create']({'keySize':_0x2463f4+_0x34bb36})[_0x525e50(0x41d)](_0x2e0bc4,_0x3f1caa);var _0x1bdae5=_0x3fe4bf[_0x525e50(0x3c6)](_0x472947[_0x525e50(0x225)][_0x525e50(0x2d1)](_0x2463f4),_0x34bb36*0x4);return _0x472947[_0x525e50(0x1ad)]=_0x2463f4*0x4,_0x4ec7fb[_0x525e50(0x3c6)]({'key':_0x472947,'iv':_0x1bdae5,'salt':_0x3f1caa});}},_0x3f59cf=_0x847ffe['PasswordBasedCipher']=_0x4c8167[_0x1e3571(0x163)]({'cfg':_0x4c8167[_0x1e3571(0x362)][_0x1e3571(0x163)]({'kdf':_0x58dfa9}),'encrypt':function(_0x269a3a,_0x506221,_0x28fc95,_0x5eecbb){var _0x247d58=_0x1e3571;_0x5eecbb=this[_0x247d58(0x362)]['extend'](_0x5eecbb);var _0x17bd30=_0x5eecbb[_0x247d58(0x1df)]['execute'](_0x28fc95,_0x269a3a['keySize'],_0x269a3a[_0x247d58(0x308)],_0x5eecbb[_0x247d58(0x40a)],_0x5eecbb['hasher']);_0x5eecbb['iv']=_0x17bd30['iv'];var _0x51509b=_0x4c8167[_0x247d58(0x205)][_0x247d58(0x293)](this,_0x269a3a,_0x506221,_0x17bd30[_0x247d58(0x1bb)],_0x5eecbb);return _0x51509b[_0x247d58(0x275)](_0x17bd30),_0x51509b;},'decrypt':function(_0xe8da64,_0x1cb488,_0x3bfca0,_0x500dce){var _0x4ac0d9=_0x1e3571;_0x500dce=this[_0x4ac0d9(0x362)]['extend'](_0x500dce),_0x1cb488=this[_0x4ac0d9(0x28e)](_0x1cb488,_0x500dce[_0x4ac0d9(0x1fd)]);var _0x2a577c=_0x500dce[_0x4ac0d9(0x1df)][_0x4ac0d9(0x176)](_0x3bfca0,_0xe8da64[_0x4ac0d9(0x357)],_0xe8da64[_0x4ac0d9(0x308)],_0x1cb488[_0x4ac0d9(0x40a)],_0x500dce[_0x4ac0d9(0x36c)]);_0x500dce['iv']=_0x2a577c['iv'];var _0x57e2cd=_0x4c8167[_0x4ac0d9(0x17b)]['call'](this,_0xe8da64,_0x1cb488,_0x2a577c[_0x4ac0d9(0x1bb)],_0x500dce);return _0x57e2cd;}});}();}));}(Xe)),Xe[_0x4643e7(0x411)];}var Zs=We[_0x197d50(0x411)],oi;function Qs(){var _0x8e2388=_0x197d50;return oi||(oi=0x1,function(_0x48b313,_0x469dcd){(function(_0x50e3aa,_0x305514,_0x3c2432){var _0x1c052d=_0x30fa;_0x48b313[_0x1c052d(0x411)]=_0x305514(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x1dab1b){var _0x8b9c5b=_0x30fa;return(function(){var _0x46d36a=_0x30fa,_0x59f1e1=_0x1dab1b,_0x25c1bc=_0x59f1e1['lib'],_0x530b1f=_0x25c1bc[_0x46d36a(0x172)],_0x1cea39=_0x59f1e1[_0x46d36a(0x21c)],_0x49e56d=[],_0x1e031b=[],_0x30f5be=[],_0x105e39=[],_0xc29dcc=[],_0x1957d4=[],_0x383280=[],_0x2491c6=[],_0x3efe3c=[],_0x4fca42=[];(function(){for(var _0x27f1f3=[],_0x3a7ee2=0x0;_0x3a7ee2<0x100;_0x3a7ee2++)_0x3a7ee2<0x80?_0x27f1f3[_0x3a7ee2]=_0x3a7ee2<<0x1:_0x27f1f3[_0x3a7ee2]=_0x3a7ee2<<0x1^0x11b;for(var _0x5a7321=0x0,_0x5a5556=0x0,_0x3a7ee2=0x0;_0x3a7ee2<0x100;_0x3a7ee2++){var _0x50504f=_0x5a5556^_0x5a5556<<0x1^_0x5a5556<<0x2^_0x5a5556<<0x3^_0x5a5556<<0x4;_0x50504f=_0x50504f>>>0x8^_0x50504f&0xff^0x63,_0x49e56d[_0x5a7321]=_0x50504f,_0x1e031b[_0x50504f]=_0x5a7321;var _0x326237=_0x27f1f3[_0x5a7321],_0x8378b1=_0x27f1f3[_0x326237],_0x30c537=_0x27f1f3[_0x8378b1],_0x4cdf62=_0x27f1f3[_0x50504f]*0x101^_0x50504f*0x1010100;_0x30f5be[_0x5a7321]=_0x4cdf62<<0x18|_0x4cdf62>>>0x8,_0x105e39[_0x5a7321]=_0x4cdf62<<0x10|_0x4cdf62>>>0x10,_0xc29dcc[_0x5a7321]=_0x4cdf62<<0x8|_0x4cdf62>>>0x18,_0x1957d4[_0x5a7321]=_0x4cdf62;var _0x4cdf62=_0x30c537*0x1010101^_0x8378b1*0x10001^_0x326237*0x101^_0x5a7321*0x1010100;_0x383280[_0x50504f]=_0x4cdf62<<0x18|_0x4cdf62>>>0x8,_0x2491c6[_0x50504f]=_0x4cdf62<<0x10|_0x4cdf62>>>0x10,_0x3efe3c[_0x50504f]=_0x4cdf62<<0x8|_0x4cdf62>>>0x18,_0x4fca42[_0x50504f]=_0x4cdf62,_0x5a7321?(_0x5a7321=_0x326237^_0x27f1f3[_0x27f1f3[_0x27f1f3[_0x30c537^_0x326237]]],_0x5a5556^=_0x27f1f3[_0x27f1f3[_0x5a5556]]):_0x5a7321=_0x5a5556=0x1;}}());var _0x39cbbf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x349e04=_0x1cea39[_0x46d36a(0x27f)]=_0x530b1f[_0x46d36a(0x163)]({'_doReset':function(){var _0x46a8eb=_0x46d36a,_0x55b356;if(!(this[_0x46a8eb(0x1d4)]&&this[_0x46a8eb(0x1e6)]===this[_0x46a8eb(0x434)])){for(var _0x52603b=this[_0x46a8eb(0x1e6)]=this[_0x46a8eb(0x434)],_0x21fd74=_0x52603b[_0x46a8eb(0x225)],_0x41be92=_0x52603b['sigBytes']/0x4,_0x409d5a=this['_nRounds']=_0x41be92+0x6,_0x11b5b2=(_0x409d5a+0x1)*0x4,_0x3a4525=this[_0x46a8eb(0x153)]=[],_0x59480c=0x0;_0x59480c<_0x11b5b2;_0x59480c++)_0x59480c<_0x41be92?_0x3a4525[_0x59480c]=_0x21fd74[_0x59480c]:(_0x55b356=_0x3a4525[_0x59480c-0x1],_0x59480c%_0x41be92?_0x41be92>0x6&&_0x59480c%_0x41be92==0x4&&(_0x55b356=_0x49e56d[_0x55b356>>>0x18]<<0x18|_0x49e56d[_0x55b356>>>0x10&0xff]<<0x10|_0x49e56d[_0x55b356>>>0x8&0xff]<<0x8|_0x49e56d[_0x55b356&0xff]):(_0x55b356=_0x55b356<<0x8|_0x55b356>>>0x18,_0x55b356=_0x49e56d[_0x55b356>>>0x18]<<0x18|_0x49e56d[_0x55b356>>>0x10&0xff]<<0x10|_0x49e56d[_0x55b356>>>0x8&0xff]<<0x8|_0x49e56d[_0x55b356&0xff],_0x55b356^=_0x39cbbf[_0x59480c/_0x41be92|0x0]<<0x18),_0x3a4525[_0x59480c]=_0x3a4525[_0x59480c-_0x41be92]^_0x55b356);for(var _0x54eb04=this['_invKeySchedule']=[],_0x3e65be=0x0;_0x3e65be<_0x11b5b2;_0x3e65be++){var _0x59480c=_0x11b5b2-_0x3e65be;if(_0x3e65be%0x4)var _0x55b356=_0x3a4525[_0x59480c];else var _0x55b356=_0x3a4525[_0x59480c-0x4];_0x3e65be<0x4||_0x59480c<=0x4?_0x54eb04[_0x3e65be]=_0x55b356:_0x54eb04[_0x3e65be]=_0x383280[_0x49e56d[_0x55b356>>>0x18]]^_0x2491c6[_0x49e56d[_0x55b356>>>0x10&0xff]]^_0x3efe3c[_0x49e56d[_0x55b356>>>0x8&0xff]]^_0x4fca42[_0x49e56d[_0x55b356&0xff]];}}},'encryptBlock':function(_0x27beb4,_0x231e0){var _0x22ed97=_0x46d36a;this[_0x22ed97(0x184)](_0x27beb4,_0x231e0,this[_0x22ed97(0x153)],_0x30f5be,_0x105e39,_0xc29dcc,_0x1957d4,_0x49e56d);},'decryptBlock':function(_0x4a46d2,_0x36f9be){var _0x3de3eb=_0x46d36a,_0x16c58e=_0x4a46d2[_0x36f9be+0x1];_0x4a46d2[_0x36f9be+0x1]=_0x4a46d2[_0x36f9be+0x3],_0x4a46d2[_0x36f9be+0x3]=_0x16c58e,this[_0x3de3eb(0x184)](_0x4a46d2,_0x36f9be,this[_0x3de3eb(0x26b)],_0x383280,_0x2491c6,_0x3efe3c,_0x4fca42,_0x1e031b);var _0x16c58e=_0x4a46d2[_0x36f9be+0x1];_0x4a46d2[_0x36f9be+0x1]=_0x4a46d2[_0x36f9be+0x3],_0x4a46d2[_0x36f9be+0x3]=_0x16c58e;},'_doCryptBlock':function(_0x25b7f7,_0x1dba0f,_0x2f27cb,_0x31df07,_0x33c389,_0x2f49b4,_0x30bc0b,_0xfe8c6a){var _0x19f765=_0x46d36a;for(var _0x2209a0=this[_0x19f765(0x1d4)],_0x38439d=_0x25b7f7[_0x1dba0f]^_0x2f27cb[0x0],_0x4fbc15=_0x25b7f7[_0x1dba0f+0x1]^_0x2f27cb[0x1],_0x20fa48=_0x25b7f7[_0x1dba0f+0x2]^_0x2f27cb[0x2],_0x6f9c0f=_0x25b7f7[_0x1dba0f+0x3]^_0x2f27cb[0x3],_0x231b5f=0x4,_0x35aa1=0x1;_0x35aa1<_0x2209a0;_0x35aa1++){var _0x551939=_0x31df07[_0x38439d>>>0x18]^_0x33c389[_0x4fbc15>>>0x10&0xff]^_0x2f49b4[_0x20fa48>>>0x8&0xff]^_0x30bc0b[_0x6f9c0f&0xff]^_0x2f27cb[_0x231b5f++],_0x32c0e3=_0x31df07[_0x4fbc15>>>0x18]^_0x33c389[_0x20fa48>>>0x10&0xff]^_0x2f49b4[_0x6f9c0f>>>0x8&0xff]^_0x30bc0b[_0x38439d&0xff]^_0x2f27cb[_0x231b5f++],_0x30077b=_0x31df07[_0x20fa48>>>0x18]^_0x33c389[_0x6f9c0f>>>0x10&0xff]^_0x2f49b4[_0x38439d>>>0x8&0xff]^_0x30bc0b[_0x4fbc15&0xff]^_0x2f27cb[_0x231b5f++],_0xf1eac5=_0x31df07[_0x6f9c0f>>>0x18]^_0x33c389[_0x38439d>>>0x10&0xff]^_0x2f49b4[_0x4fbc15>>>0x8&0xff]^_0x30bc0b[_0x20fa48&0xff]^_0x2f27cb[_0x231b5f++];_0x38439d=_0x551939,_0x4fbc15=_0x32c0e3,_0x20fa48=_0x30077b,_0x6f9c0f=_0xf1eac5;}var _0x551939=(_0xfe8c6a[_0x38439d>>>0x18]<<0x18|_0xfe8c6a[_0x4fbc15>>>0x10&0xff]<<0x10|_0xfe8c6a[_0x20fa48>>>0x8&0xff]<<0x8|_0xfe8c6a[_0x6f9c0f&0xff])^_0x2f27cb[_0x231b5f++],_0x32c0e3=(_0xfe8c6a[_0x4fbc15>>>0x18]<<0x18|_0xfe8c6a[_0x20fa48>>>0x10&0xff]<<0x10|_0xfe8c6a[_0x6f9c0f>>>0x8&0xff]<<0x8|_0xfe8c6a[_0x38439d&0xff])^_0x2f27cb[_0x231b5f++],_0x30077b=(_0xfe8c6a[_0x20fa48>>>0x18]<<0x18|_0xfe8c6a[_0x6f9c0f>>>0x10&0xff]<<0x10|_0xfe8c6a[_0x38439d>>>0x8&0xff]<<0x8|_0xfe8c6a[_0x4fbc15&0xff])^_0x2f27cb[_0x231b5f++],_0xf1eac5=(_0xfe8c6a[_0x6f9c0f>>>0x18]<<0x18|_0xfe8c6a[_0x38439d>>>0x10&0xff]<<0x10|_0xfe8c6a[_0x4fbc15>>>0x8&0xff]<<0x8|_0xfe8c6a[_0x20fa48&0xff])^_0x2f27cb[_0x231b5f++];_0x25b7f7[_0x1dba0f]=_0x551939,_0x25b7f7[_0x1dba0f+0x1]=_0x32c0e3,_0x25b7f7[_0x1dba0f+0x2]=_0x30077b,_0x25b7f7[_0x1dba0f+0x3]=_0xf1eac5;},'keySize':0x100/0x20});_0x59f1e1[_0x46d36a(0x27f)]=_0x530b1f['_createHelper'](_0x349e04);}()),_0x1dab1b[_0x8b9c5b(0x27f)];}));}(We)),We[_0x8e2388(0x411)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x197d50(0x411)],ci;function sr(){return ci||(ci=0x1,function(_0x7b9235,_0x16e668){(function(_0x673616,_0x5ce964){_0x7b9235['exports']=_0x5ce964(ne());}(nr,function(_0x23a3fd){var _0x452f3e=_0x30fa;return _0x23a3fd['enc'][_0x452f3e(0x206)];}));}(Ze)),Ze['exports'];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x197d50(0x411)],hi;function cr(){var _0x5b8d9d=_0x197d50;return hi||(hi=0x1,function(_0x1b225c,_0x5d07ff){(function(_0x1125f4,_0x504de1){var _0x3c25bc=_0x30fa;_0x1b225c[_0x3c25bc(0x411)]=_0x504de1(ne());}(ar,function(_0x5a92a3){var _0x53e169=_0x30fa;return(function(){var _0x54100a=_0x30fa;if(typeof ArrayBuffer==_0x54100a(0x3f0)){var _0x2210b9=_0x5a92a3,_0x35fc5e=_0x2210b9[_0x54100a(0x220)],_0x17ae17=_0x35fc5e[_0x54100a(0x1fa)],_0x11eb1b=_0x17ae17[_0x54100a(0x17e)],_0x26e659=_0x17ae17[_0x54100a(0x17e)]=function(_0x59524f){var _0x60f060=_0x54100a;if(_0x59524f instanceof ArrayBuffer&&(_0x59524f=new Uint8Array(_0x59524f)),(_0x59524f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x59524f instanceof Uint8ClampedArray||_0x59524f instanceof Int16Array||_0x59524f instanceof Uint16Array||_0x59524f instanceof Int32Array||_0x59524f instanceof Uint32Array||_0x59524f instanceof Float32Array||_0x59524f instanceof Float64Array)&&(_0x59524f=new Uint8Array(_0x59524f[_0x60f060(0x34b)],_0x59524f[_0x60f060(0x31f)],_0x59524f[_0x60f060(0x227)])),_0x59524f instanceof Uint8Array){for(var _0x2c2c23=_0x59524f[_0x60f060(0x227)],_0x15df20=[],_0x5da7f=0x0;_0x5da7f<_0x2c2c23;_0x5da7f++)_0x15df20[_0x5da7f>>>0x2]|=_0x59524f[_0x5da7f]<<0x18-_0x5da7f%0x4*0x8;_0x11eb1b[_0x60f060(0x293)](this,_0x15df20,_0x2c2c23);}else _0x11eb1b[_0x60f060(0x171)](this,arguments);};_0x26e659['prototype']=_0x17ae17;}}()),_0x5a92a3['lib'][_0x53e169(0x1fa)];}));}(Qe)),Qe[_0x5b8d9d(0x411)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x197d50(0x411)],_i;function ur(){return _i||(_i=0x1,function(_0x26c7e8,_0x4476d3){(function(_0xe4c3bd,_0x4a80b1,_0x1378a1){_0x26c7e8['exports']=_0x4a80b1(ne(),Ai());}(lr,function(_0x4b5c9e){var _0x20c0f4=_0x30fa;return _0x4b5c9e['pad'][_0x20c0f4(0x208)]={'pad':function(){},'unpad':function(){}},_0x4b5c9e[_0x20c0f4(0x405)][_0x20c0f4(0x208)];}));}(et)),et['exports'];}var dr=ur();const fr=je(dr);function vr(_0x5e4e76,_0x2e5461){var _0x19b0a5=_0x197d50;const _0x5cb4c3=_0x2e5461-_0x5e4e76[_0x19b0a5(0x1c6)]%_0x2e5461,_0x48af4a=String[_0x19b0a5(0x320)](_0x5cb4c3)['repeat'](_0x5cb4c3);return _0x5e4e76+_0x48af4a;}function pr(_0x3013d0,_0x19c998){var _0x525112=_0x197d50;const _0x3cd118=_r['random'](0x10),_0x4c1280=vr(_0x3013d0,0x10),_0x129205=tr['encrypt'](or[_0x525112(0x2af)](_0x4c1280),ai[_0x525112(0x2af)](_0x19c998),{'iv':_0x3cd118,'padding':fr});return _0x3cd118[_0x525112(0x199)](_0x129205[_0x525112(0x35a)])[_0x525112(0x1d2)](ai);}function mr(){var _0xa9454=_0x197d50;const _0x2dafcc=_0x3c701a()[_0xa9454(0x304)];if(_0x2dafcc){const _0x271d2e={'time':Math[_0xa9454(0x390)](Date[_0xa9454(0x16e)]()/0x3e8),'domain':location[_0xa9454(0x361)]};return pr(JSON[_0xa9454(0x1ca)](_0x271d2e),_0x2dafcc);}}var gr=Object[_0x197d50(0x196)],Sr=Object[_0x197d50(0x42d)],Er=(_0x348fc9,_0x278bd8,_0x46d472,_0x1ce667)=>{var _0x4a63df=_0x197d50;for(var _0x1ddea4=_0x1ce667>0x1?void 0x0:_0x1ce667?Sr(_0x278bd8,_0x46d472):_0x278bd8,_0x157be5=_0x348fc9[_0x4a63df(0x1c6)]-0x1,_0x543805;_0x157be5>=0x0;_0x157be5--)(_0x543805=_0x348fc9[_0x157be5])&&(_0x1ddea4=(_0x1ce667?_0x543805(_0x278bd8,_0x46d472,_0x1ddea4):_0x543805(_0x1ddea4))||_0x1ddea4);return _0x1ce667&&_0x1ddea4&&gr(_0x278bd8,_0x46d472,_0x1ddea4),_0x1ddea4;},Ir=(_0x547211,_0x54de5e)=>(_0x4b0a8d,_0x50d806)=>_0x54de5e(_0x4b0a8d,_0x50d806,_0x547211);let at=class{constructor(_0x5895b4){var _0x1376bd=_0x197d50;this[_0x1376bd(0x276)]=_0x5895b4,this[_0x1376bd(0x1ba)]();}[_0x197d50(0x1ba)](){var _0x27a4a2=_0x197d50;this[_0x27a4a2(0x276)][_0x27a4a2(0x295)]({'interceptor':(_0xbb98fb,_0x336d33)=>{var _0x44ca34=_0x27a4a2;const _0x28c82e=_0xbb98fb['headers'],_0x1f805d=mr();return _0x1f805d&&_0x28c82e[_0x44ca34(0x214)]('x-univer-host',_0x1f805d),_0x336d33(_0xbb98fb);}});}};at=Er([Ir(0x0,_0x287bb5(_0x258eed))],at);var Tr=Object[_0x197d50(0x196)],Cr=Object['getOwnPropertyDescriptor'],br=(_0x25782d,_0x29789d,_0x16ebf8,_0x34fe0a)=>{var _0x519f7b=_0x197d50;for(var _0x3ec278=_0x34fe0a>0x1?void 0x0:_0x34fe0a?Cr(_0x29789d,_0x16ebf8):_0x29789d,_0x407951=_0x25782d[_0x519f7b(0x1c6)]-0x1,_0x1061d5;_0x407951>=0x0;_0x407951--)(_0x1061d5=_0x25782d[_0x407951])&&(_0x3ec278=(_0x34fe0a?_0x1061d5(_0x29789d,_0x16ebf8,_0x3ec278):_0x1061d5(_0x3ec278))||_0x3ec278);return _0x34fe0a&&_0x3ec278&&Tr(_0x29789d,_0x16ebf8,_0x3ec278),_0x3ec278;},gt=(_0x3b5702,_0x2152ce)=>(_0x3ab171,_0x19ba7d)=>_0x2152ce(_0x3ab171,_0x19ba7d,_0x3b5702);let Ot=class extends _0x39849c{constructor(_0xc0f48a,_0x447011,_0x743fa3){var _0xb50d88=_0x197d50;super(),D(this,_0xb50d88(0x3ac),new _0x32a0c6(null)),D(this,_0xb50d88(0x1e9),this['_unitInfo$'][_0xb50d88(0x32b)]()),(this[_0xb50d88(0x3ad)]=_0xc0f48a,this[_0xb50d88(0x306)]=_0x447011,this['_localCacheService']=_0x743fa3);}async[_0x197d50(0x30a)](_0x3fc5a8,_0x1a8dd7,_0x4125ad){var _0x5267a7=_0x197d50;this[_0x5267a7(0x3ac)][_0x5267a7(0x252)]({'unitId':_0x3fc5a8,'type':_0x1a8dd7,'subUnitId':_0x4125ad});let _0x366c7c=null;switch(_0x1a8dd7){case Q[_0x5267a7(0x3a1)]:{_0x366c7c=await this[_0x5267a7(0x32c)](_0x3fc5a8);break;}case Q['UNIVER_DOC']:{_0x366c7c=await this[_0x5267a7(0x29c)](_0x3fc5a8);break;}default:{this[_0x5267a7(0x3ad)][_0x5267a7(0x1c7)](_0x5267a7(0x260),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x366c7c;}async[_0x197d50(0x32c)](_0x3f7935){var _0x4cb3b6=_0x197d50,_0x1e5888;let _0x1572ba=0x0;const _0x4f85f4=await((_0x1e5888=this['_localCacheService'])==null?void 0x0:_0x1e5888[_0x4cb3b6(0x1ef)](_0x3f7935));return _0x4f85f4&&(_0x4f85f4['awaitingChangeset']||_0x4f85f4[_0x4cb3b6(0x16d)][_0x4cb3b6(0x1c6)]!==0x0)&&(_0x1572ba=_0x4f85f4[_0x4cb3b6(0x403)]),_0x1572ba===0x0&&this[_0x4cb3b6(0x3ad)][_0x4cb3b6(0x1bf)](_0x4cb3b6(0x260),_0x4cb3b6(0x313)),this[_0x4cb3b6(0x306)][_0x4cb3b6(0x20a)](_0x3f7935,_0x1572ba);}async['_loadDoc'](_0xa38dfa){var _0x3fda59=_0x197d50,_0x42b1d0;let _0x905a91=0x0;const _0x30e795=await((_0x42b1d0=this[_0x3fda59(0x23d)])==null?void 0x0:_0x42b1d0[_0x3fda59(0x1ef)](_0xa38dfa));return _0x30e795&&(_0x30e795[_0x3fda59(0x230)]||_0x30e795[_0x3fda59(0x16d)][_0x3fda59(0x1c6)]!==0x0)&&(_0x905a91=_0x30e795[_0x3fda59(0x403)]),_0x905a91===0x0&&this['_logService'][_0x3fda59(0x1bf)]('[DataLoaderService]',_0x3fda59(0x313)),this[_0x3fda59(0x306)][_0x3fda59(0x3d8)](_0xa38dfa,_0x905a91);}};Ot=br([gt(0x0,_0x12fb6b),gt(0x1,_0x287bb5(_0xe67479)),gt(0x2,_0x41b21e(X))],Ot);var Rr=Object[_0x197d50(0x196)],yr=Object[_0x197d50(0x42d)],Or=(_0x58dc67,_0x688c89,_0x51fc54,_0x511d15)=>{var _0x2cd2b2=_0x197d50;for(var _0x4639ae=_0x511d15>0x1?void 0x0:_0x511d15?yr(_0x688c89,_0x51fc54):_0x688c89,_0x1096ae=_0x58dc67[_0x2cd2b2(0x1c6)]-0x1,_0x558e12;_0x1096ae>=0x0;_0x1096ae--)(_0x558e12=_0x58dc67[_0x1096ae])&&(_0x4639ae=(_0x511d15?_0x558e12(_0x688c89,_0x51fc54,_0x4639ae):_0x558e12(_0x4639ae))||_0x4639ae);return _0x511d15&&_0x4639ae&&Rr(_0x688c89,_0x51fc54,_0x4639ae),_0x4639ae;},St=(_0x5a6d64,_0x4ae00d)=>(_0x33e2eb,_0x4998ba)=>_0x4ae00d(_0x33e2eb,_0x4998ba,_0x5a6d64);const Pr=[_0x197d50(0x263),_0x197d50(0x1e1),'image/jpg',_0x197d50(0x238),_0x197d50(0x3df)],Nr=0x5*0x400*0x400,Dr=_0x197d50(0x440),wr=_0x197d50(0x2da),Ur=_0x197d50(0x18a),Ar=_0x197d50(0x40b);let Pt=class{constructor(_0x402a55,_0xd6c95d,_0x2585f7){var _0x328c81=_0x197d50;D(this,_0x328c81(0x265),0x0),D(this,'_change$',new _0x4077c2()),D(this,_0x328c81(0x1b5),this[_0x328c81(0x315)]),D(this,_0x328c81(0x15f),new Map()),(this[_0x328c81(0x276)]=_0x402a55,this['_configService']=_0xd6c95d,this[_0x328c81(0x3ed)]=_0x2585f7);}['setWaitCount'](_0x40efc3){var _0x36a112=_0x197d50;this[_0x36a112(0x265)]=_0x40efc3,this[_0x36a112(0x315)]['next'](_0x40efc3);}[_0x197d50(0x431)](_0x377a5c,_0xfd8e12){var _0x58724b=_0x197d50;if(_0xfd8e12===_0x3dfd0a[_0x58724b(0x30e)]){const _0x289178=new Image();return _0x289178[_0x58724b(0x2f5)]=_0x377a5c,_0x289178;}return this[_0x58724b(0x15f)]['get'](_0x377a5c);}[_0x197d50(0x24c)](_0x5d2de5,_0x1f969d,_0x517bbe){var _0x4f400b=_0x197d50;_0x1f969d===_0x3dfd0a[_0x4f400b(0x30e)]||_0x517bbe==null||this[_0x4f400b(0x15f)][_0x4f400b(0x214)](_0x5d2de5,_0x517bbe);}async[_0x197d50(0x1ce)](_0x48e598){var _0x29ccef=_0x197d50;try{const _0x114739=this[_0x29ccef(0x213)](this[_0x29ccef(0x30f)](),''+_0x48e598),_0x20c1ba=(await this['_httpService']['get'](_0x114739))[_0x29ccef(0x1a2)];if(_0x20c1ba['error']&&_0x20c1ba[_0x29ccef(0x1c7)]['code']===Ii['OK']){const _0x2d3de8=new URL(_0x20c1ba[_0x29ccef(0x298)],this[_0x29ccef(0x223)]())[_0x29ccef(0x1d2)]();return Promise[_0x29ccef(0x154)](_0x2d3de8);}return Promise[_0x29ccef(0x358)](_0x20c1ba['error']);}catch(_0x448775){return Promise[_0x29ccef(0x358)](_0x448775);}}async[_0x197d50(0x3ee)](_0x2a5ad9){var _0x156c15=_0x197d50;let _0x4aa7f1='';if(!Pr[_0x156c15(0x226)](_0x2a5ad9[_0x156c15(0x1cd)]))return this[_0x156c15(0x2b8)](),Promise['reject'](new Error(_0x113b8e[_0x156c15(0x2c6)]));if(_0x2a5ad9[_0x156c15(0x350)]>Nr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x113b8e[_0x156c15(0x299)]));try{const _0x11ec2d=new FormData();_0x11ec2d[_0x156c15(0x2e6)](_0x156c15(0x424),_0x2a5ad9);const _0x2d4468=this[_0x156c15(0x3ed)][_0x156c15(0x40f)](),_0x2b8963=_0x2d4468==null?void 0x0:_0x2d4468[_0x156c15(0x16b)]();if(!_0x2b8963)throw new Error(_0x156c15(0x14f));const _0xc8f354=this[_0x156c15(0x2e2)]()+_0x156c15(0x288)+_0x2a5ad9[_0x156c15(0x350)][_0x156c15(0x1d2)]()+'&source='+Ti['UnitEmbedded']+'&assign='+encodeURIComponent(_0x2b8963),_0x2931ca=await(await fetch(_0xc8f354,{'method':_0x156c15(0x246),'body':_0x11ec2d}))['json']();if(typeof _0x2931ca['FileId']!=_0x156c15(0x21a))return this[_0x156c15(0x2b8)](),Promise[_0x156c15(0x358)](new Error(_0x113b8e[_0x156c15(0x33a)]));_0x4aa7f1=_0x2931ca[_0x156c15(0x3ec)];}catch{return this[_0x156c15(0x2b8)](),Promise[_0x156c15(0x358)](new Error(_0x113b8e['ERROR_IMAGE']));}return new Promise((_0x4d404c,_0x2c6de3)=>{var _0x55441b=_0x156c15;const _0x354802=new FileReader();_0x354802[_0x55441b(0x158)](_0x2a5ad9),_0x354802[_0x55441b(0x342)]=_0x36a83=>{var _0x48e43b=_0x55441b,_0x2d79a7;const _0xf3de0e=(_0x2d79a7=_0x36a83[_0x48e43b(0x36f)])==null?void 0x0:_0x2d79a7[_0x48e43b(0x3a3)];if(_0xf3de0e==null){this[_0x48e43b(0x2b8)](),_0x2c6de3(new Error(_0x113b8e[_0x48e43b(0x33a)]));return;}const _0x332e49=_0x228b6f['generateRandomId'](0x6);_0x4d404c({'imageId':_0x332e49,'imageSourceType':_0x3dfd0a[_0x48e43b(0x1a4)],'source':_0x4aa7f1,'base64Cache':_0xf3de0e,'status':_0x113b8e[_0x48e43b(0x1f3)]}),this[_0x48e43b(0x2b8)]();};});}[_0x197d50(0x2e2)](){var _0x56af41=_0x197d50,_0x3b5ee7,_0x388d20;const _0x3a48e9=this[_0x56af41(0x28c)][_0x56af41(0x408)](Dr),_0x1a3f99=this[_0x56af41(0x28c)][_0x56af41(0x408)](Y);return(_0x388d20=(_0x3b5ee7=_0x1a3f99==null?void 0x0:_0x1a3f99[_0x56af41(0x3a5)])!=null?_0x3b5ee7:_0x3a48e9)!=null?_0x388d20:wr;}['_getSignURL'](){var _0x207b4b=_0x197d50,_0x30f54f,_0x3f7fc2;const _0x520e93=this[_0x207b4b(0x28c)][_0x207b4b(0x408)](Ur),_0x31e229=this[_0x207b4b(0x28c)][_0x207b4b(0x408)](Y);return(_0x3f7fc2=(_0x30f54f=_0x31e229==null?void 0x0:_0x31e229[_0x207b4b(0x1c0)])!=null?_0x30f54f:_0x520e93)!=null?_0x3f7fc2:Ar;}[_0x197d50(0x223)](){var _0x14fbec=_0x197d50,_0x39ed9c;const _0x1901cc=this[_0x14fbec(0x28c)][_0x14fbec(0x408)](Y);return(_0x39ed9c=_0x1901cc==null?void 0x0:_0x1901cc['downloadEndpointUrl'])!=null?_0x39ed9c:location[_0x14fbec(0x35f)];}[_0x197d50(0x213)](_0x112176,_0x475994){return _0x112176['replace']('{fileID}',_0x475994);}[_0x197d50(0x2b8)](){var _0x1abb26=_0x197d50;this['_waitCount']-=0x1,this[_0x1abb26(0x315)][_0x1abb26(0x252)](this[_0x1abb26(0x265)]);}};Pt=Or([St(0x0,_0x287bb5(_0x258eed)),St(0x1,_0x3d2b7c),St(0x2,_0x287bb5(_0x1d1205))],Pt);var xr=Object[_0x197d50(0x196)],Lr=Object[_0x197d50(0x42d)],Mr=(_0x449295,_0x1f0d64,_0x4e3d8c,_0x17c649)=>{var _0x152dd8=_0x197d50;for(var _0x303ace=_0x17c649>0x1?void 0x0:_0x17c649?Lr(_0x1f0d64,_0x4e3d8c):_0x1f0d64,_0x1cafe1=_0x449295[_0x152dd8(0x1c6)]-0x1,_0x599b8f;_0x1cafe1>=0x0;_0x1cafe1--)(_0x599b8f=_0x449295[_0x1cafe1])&&(_0x303ace=(_0x17c649?_0x599b8f(_0x1f0d64,_0x4e3d8c,_0x303ace):_0x599b8f(_0x303ace))||_0x303ace);return _0x17c649&&_0x303ace&&xr(_0x1f0d64,_0x4e3d8c,_0x303ace),_0x303ace;},li=(_0xb7cadf,_0x3946a8)=>(_0x38e04e,_0x220a43)=>_0x3946a8(_0x38e04e,_0x220a43,_0xb7cadf);const $r=_0x197d50(0x3cb);let Nt=class{constructor(_0x2ed0e0,_0x28ebf4){var _0x1f04e9=_0x197d50;this[_0x1f04e9(0x28c)]=_0x2ed0e0,this[_0x1f04e9(0x216)]=_0x28ebf4;}[_0x197d50(0x2cb)](){var _0x4f754c=_0x197d50,_0x3e895b,_0x8c3e54;const _0x4551b7=this['_configService'][_0x4f754c(0x408)](Di),_0x21b07f=this[_0x4f754c(0x28c)][_0x4f754c(0x408)](Y);return(_0x8c3e54=(_0x3e895b=_0x21b07f==null?void 0x0:_0x21b07f['authzUrl'])!=null?_0x3e895b:_0x4551b7)!=null?_0x8c3e54:$r;}async['list'](_0x145538){var _0x5094ae=_0x197d50;const _0x3ab4f9=this[_0x5094ae(0x2cb)]()+_0x5094ae(0x14d);return{'list':[{'title':'People','mentions':(await this[_0x5094ae(0x216)]['get'](_0x3ab4f9,{'params':{'objectID':_0x145538[_0x5094ae(0x2cd)],'unitID':_0x145538['unitId']}}))[_0x5094ae(0x1a2)][_0x5094ae(0x3da)][_0x5094ae(0x3fc)](_0x433fe6=>({'objectId':_0x433fe6['id'],'name':_0x433fe6['subject'][_0x5094ae(0x330)],'metadata':{'icon':_0x433fe6[_0x5094ae(0x442)][_0x5094ae(0x221)]},'label':_0x433fe6['subject'][_0x5094ae(0x330)],'objectType':_0x521e36[_0x5094ae(0x2ff)]})),'metadata':{},'type':_0x521e36['PERSON']}]};}};Nt=Mr([li(0x0,_0x287bb5(_0x3d2b7c)),li(0x1,_0x287bb5(_0x258eed))],Nt);var Hr=Object[_0x197d50(0x196)],kr=Object[_0x197d50(0x42d)],jr=(_0x30e23a,_0x294414,_0x574f63,_0x4737ec)=>{for(var _0x38fb08=_0x4737ec>0x1?void 0x0:_0x4737ec?kr(_0x294414,_0x574f63):_0x294414,_0x14d585=_0x30e23a['length']-0x1,_0x598a06;_0x14d585>=0x0;_0x14d585--)(_0x598a06=_0x30e23a[_0x14d585])&&(_0x38fb08=(_0x4737ec?_0x598a06(_0x294414,_0x574f63,_0x38fb08):_0x598a06(_0x38fb08))||_0x38fb08);return _0x4737ec&&_0x38fb08&&Hr(_0x294414,_0x574f63,_0x38fb08),_0x38fb08;},Se=(_0x397dff,_0x83578)=>(_0x24add3,_0x5b508d)=>_0x83578(_0x24add3,_0x5b508d,_0x397dff);let ct=class extends _0x39849c{constructor(_0x1905af,_0x586cd7,_0x4be382,_0x186c3d,_0x29a16a,_0x19f3b5,_0x2a65c4){var _0xa453e8=_0x197d50;super(),this[_0xa453e8(0x388)]=_0x1905af,this[_0xa453e8(0x3ed)]=_0x586cd7,this['_permissionService']=_0x4be382,this['_collaborationSessionService']=_0x186c3d,this[_0xa453e8(0x401)]=_0x29a16a,this[_0xa453e8(0x18b)]=_0x19f3b5,this[_0xa453e8(0x1bd)]=_0x2a65c4,this[_0xa453e8(0x346)](),this[_0xa453e8(0x3af)]();}[_0x197d50(0x3af)](){var _0x5cfda8=_0x197d50;const _0x2360ea=async _0x41fb7a=>{var _0x31b253=_0x30fa;(await this[_0x31b253(0x274)][_0x31b253(0x1b0)](_0x41fb7a))[_0x31b253(0x16c)][_0x31b253(0x370)](_0x139f21(_0x5cb9ff=>_0x5cb9ff['eventID']===_0x4bbd69[_0x31b253(0x282)]),_0x1ad504(this[_0x31b253(0x294)]))[_0x31b253(0x38f)](_0x46e7c5=>{var _0x253f03=_0x31b253;const _0x2a72be=_0x46e7c5,{reason:_0x4f4ef0}=_0x2a72be[_0x253f03(0x1f9)];this[_0x253f03(0x401)][_0x253f03(0x2ad)]({'id':se[_0x253f03(0x341)],'data':_0x4f4ef0}),this[_0x253f03(0x3dd)][_0x253f03(0x385)](new _0x55aa2b(_0x41fb7a)['id'],!0x1),this[_0x253f03(0x274)][_0x253f03(0x3ce)](_0x41fb7a);});};_0x1e6f36(this['_univerInstanceService'][_0x5cfda8(0x327)](_0x14febb[_0x5cfda8(0x3a1)]),this[_0x5cfda8(0x3ed)][_0x5cfda8(0x327)](_0x14febb['UNIVER_DOC']))[_0x5cfda8(0x370)](_0x4aec01(_0xee696f=>_0xee696f[_0x5cfda8(0x16b)]()),_0x139f21(_0x207990=>!_0x1550d1(_0x207990)),_0x1ad504(this[_0x5cfda8(0x294)]))[_0x5cfda8(0x38f)](_0x392565=>{_0x2360ea(_0x392565);});}['_initUnitPermissionChange'](){var _0xa0c928=_0x197d50;const _0x50d340=async _0x8b2970=>{var _0x5ebce0=_0x30fa;(await this[_0x5ebce0(0x274)][_0x5ebce0(0x1b0)](_0x8b2970))[_0x5ebce0(0x16c)][_0x5ebce0(0x370)](_0x139f21(_0x1b451a=>_0x1b451a[_0x5ebce0(0x324)]===_0x4bbd69[_0x5ebce0(0x17d)]),_0x1ad504(this[_0x5ebce0(0x294)]))[_0x5ebce0(0x38f)](_0x2760a3=>{var _0x43832e=_0x5ebce0;const _0x151af9=_0x2760a3,{objectId:_0x5293ff}=_0x151af9[_0x43832e(0x1f9)];_0x5293ff===_0x8b2970?this[_0x43832e(0x426)](_0x8b2970):this[_0x43832e(0x2cf)](_0x8b2970,_0x5293ff);});};_0x1e6f36(this[_0xa0c928(0x3ed)]['getTypeOfUnitAdded$'](_0x14febb[_0xa0c928(0x3a1)]),this[_0xa0c928(0x3ed)][_0xa0c928(0x327)](_0x14febb[_0xa0c928(0x169)]))[_0xa0c928(0x370)](_0x4aec01(_0x4285d6=>_0x4285d6[_0xa0c928(0x16b)]()),_0x139f21(_0x5c6daf=>!_0x1550d1(_0x5c6daf)),_0x1ad504(this[_0xa0c928(0x294)]))['subscribe'](_0x48fd4d=>{_0x50d340(_0x48fd4d);});}async[_0x197d50(0x426)](_0xf596c0){var _0x356b3b=_0x197d50,_0xbfdf2;const _0x74d4f0=_0xf596c0||((_0xbfdf2=this[_0x356b3b(0x3ed)][_0x356b3b(0x165)](_0x14febb['UNIVER_SHEET']))==null?void 0x0:_0xbfdf2[_0x356b3b(0x16b)]());_0x74d4f0&&this[_0x356b3b(0x18b)][_0x356b3b(0x167)]({'objectID':_0x74d4f0,'objectType':_0x1d04bb[_0x356b3b(0x1ff)],'unitID':_0x74d4f0,'actions':_0x5cc867})[_0x356b3b(0x211)](_0x1b720a=>{var _0x4d4947=_0x356b3b;_0x2b1300()[_0x4d4947(0x19c)](_0x5a2e66=>{var _0x65284b=_0x4d4947;const _0x4b7dce=new _0x5a2e66(_0x74d4f0),_0x3e1530=_0x4b7dce[_0x65284b(0x311)],_0x41d3d0=_0x1b720a[_0x65284b(0x322)](_0x2f399c=>_0x2f399c['action']===_0x3e1530);_0x41d3d0&&this[_0x65284b(0x3dd)][_0x65284b(0x385)](_0x4b7dce['id'],_0x41d3d0[_0x65284b(0x167)]);});});}[_0x197d50(0x2cf)](_0xcb75e2,_0x47378a){var _0x1bf893=_0x197d50;const _0x172f30=this[_0x1bf893(0x388)][_0x1bf893(0x234)](_0x41f852),_0x4c69be=_0x172f30[_0x1bf893(0x432)](_0xcb75e2,_0x47378a);let _0x1f0838=!0x1;if(_0x4c69be){const [_0x557545,_0x104d9c]=_0x4c69be;this[_0x1bf893(0x18b)][_0x1bf893(0x167)]({'objectID':_0x47378a,'unitID':_0xcb75e2,'objectType':_0x1d04bb[_0x1bf893(0x25d)],'actions':_0x451b8c})[_0x1bf893(0x211)](_0x200ed3=>{var _0xee41bf=_0x1bf893;let _0xeaff92='';_0x217af4()[_0xee41bf(0x19c)](_0x5666d4=>{var _0x1cfe51=_0xee41bf,_0x2f7a09;const _0x5540f6=new _0x5666d4(_0xcb75e2,_0x104d9c),_0x1599a2=_0x5540f6['subType'],_0x5cac46=_0x200ed3['find'](_0x15c85a=>_0x15c85a['action']===_0x1599a2);_0x5cac46&&(((_0x2f7a09=this['_permissionService'][_0x1cfe51(0x21e)](_0x5540f6['id']))==null?void 0x0:_0x2f7a09[_0x1cfe51(0x151)])!==_0x5cac46[_0x1cfe51(0x167)]&&(_0x1f0838=!0x0),this['_permissionService']['updatePermissionPoint'](_0x5540f6['id'],_0x5cac46['allowed']),_0xeaff92+=_0x5cac46[_0x1cfe51(0x17a)]+'_'+_0x5cac46[_0x1cfe51(0x167)]);}),_0x172f30[_0xee41bf(0x2bd)](_0x47378a+'_'+_0xeaff92),_0x1f0838&&this['_undoRedoService'][_0xee41bf(0x449)](_0xcb75e2);});}const _0x52428c=this['_injector']['get'](_0x58d6b3)[_0x1bf893(0x432)](_0xcb75e2,_0x47378a);if(_0x52428c){const [_0x147027,_0x46322b]=_0x52428c;this[_0x1bf893(0x18b)][_0x1bf893(0x167)]({'objectID':_0x47378a,'unitID':_0xcb75e2,'objectType':_0x1d04bb[_0x1bf893(0x25d)],'actions':_0x42176a})[_0x1bf893(0x211)](_0x371377=>{var _0x47c20d=_0x1bf893;_0x441338()[_0x47c20d(0x19c)](_0x48161a=>{var _0x86559b=_0x47c20d,_0x43980b;const _0x583205=new _0x48161a(_0xcb75e2,_0x46322b),_0x14e458=_0x583205[_0x86559b(0x311)],_0x5b804a=_0x371377['find'](_0x287e26=>_0x287e26[_0x86559b(0x17a)]===_0x14e458);_0x5b804a&&(((_0x43980b=this['_permissionService'][_0x86559b(0x21e)](_0x583205['id']))==null?void 0x0:_0x43980b[_0x86559b(0x151)])!==_0x5b804a[_0x86559b(0x167)]&&(_0x1f0838=!0x0),this[_0x86559b(0x3dd)][_0x86559b(0x385)](_0x583205['id'],_0x5b804a[_0x86559b(0x167)]));}),_0x1f0838&&this['_undoRedoService']['clearUndoRedo'](_0xcb75e2);});}const _0x24075d=this[_0x1bf893(0x388)][_0x1bf893(0x234)](_0x5b3b4d),_0x3a86be=_0x24075d[_0x1bf893(0x432)](_0xcb75e2,_0x47378a);if(_0x3a86be){const [_0x1d9188,_0x30f4c8]=_0x3a86be;this[_0x1bf893(0x18b)][_0x1bf893(0x167)]({'objectID':_0x47378a,'unitID':_0xcb75e2,'objectType':_0x1d04bb[_0x1bf893(0x3d3)],'actions':_0x451b8c})['then'](_0x59192=>{var _0x3a760a=_0x1bf893;let _0x1022d2='';_0x16d4ef()[_0x3a760a(0x19c)](_0x1d2fec=>{var _0x35b5dd=_0x3a760a,_0xe5b978;const _0x4c0564=new _0x1d2fec(_0xcb75e2,_0x30f4c8,_0x47378a),_0x5cf1e5=_0x4c0564['subType'],_0x185ef0=_0x59192['find'](_0x42eb93=>_0x42eb93[_0x35b5dd(0x17a)]===_0x5cf1e5);_0x185ef0&&(((_0xe5b978=this['_permissionService'][_0x35b5dd(0x21e)](_0x4c0564['id']))==null?void 0x0:_0xe5b978[_0x35b5dd(0x151)])!==_0x185ef0[_0x35b5dd(0x167)]&&(_0x1f0838=!0x0),this[_0x35b5dd(0x3dd)][_0x35b5dd(0x385)](_0x4c0564['id'],_0x185ef0[_0x35b5dd(0x167)]),_0x1022d2+=_0x185ef0[_0x35b5dd(0x17a)]+'_'+_0x185ef0['allowed']);}),_0x24075d[_0x3a760a(0x2bd)](_0x47378a+'_'+_0x1022d2),_0x1f0838&&this['_undoRedoService']['clearUndoRedo'](_0xcb75e2);});}}};ct=jr([Se(0x0,_0x287bb5(_0x4574c3)),Se(0x1,_0x1d1205),Se(0x2,_0x5e556e),Se(0x3,_0x287bb5(Me)),Se(0x4,_0x287bb5(pe)),Se(0x5,_0x116edf),Se(0x6,_0x112b5f)],ct);var Br=Object['defineProperty'],Fr=Object[_0x197d50(0x42d)],Vr=(_0x108042,_0x210ca4,_0x232ec7,_0x1adff7)=>{var _0x57470e=_0x197d50;for(var _0x497301=_0x1adff7>0x1?void 0x0:_0x1adff7?Fr(_0x210ca4,_0x232ec7):_0x210ca4,_0x3b4a7a=_0x108042[_0x57470e(0x1c6)]-0x1,_0x1ca5e9;_0x3b4a7a>=0x0;_0x3b4a7a--)(_0x1ca5e9=_0x108042[_0x3b4a7a])&&(_0x497301=(_0x1adff7?_0x1ca5e9(_0x210ca4,_0x232ec7,_0x497301):_0x1ca5e9(_0x497301))||_0x497301);return _0x1adff7&&_0x497301&&Br(_0x210ca4,_0x232ec7,_0x497301),_0x497301;},ui=(_0x3cb3a4,_0x1ee792)=>(_0x5a2861,_0x88f24c)=>_0x1ee792(_0x5a2861,_0x88f24c,_0x3cb3a4);let Dt=class{constructor(_0x135a80,_0x2310ab){var _0x4d008f=_0x197d50;this[_0x4d008f(0x28c)]=_0x135a80,this[_0x4d008f(0x276)]=_0x2310ab;}async[_0x197d50(0x1d1)](_0xec4ba9,_0x5005b4){var _0x7fe925=_0x197d50,_0xa30d64;const {unitID:_0x1a296b,type:_0x4d9c14,revision:_0x36fe32=0x0}=_0x5005b4,_0x29938a=this[_0x7fe925(0x42e)]()+'/'+_0x4d9c14+_0x7fe925(0x262)+_0x1a296b+_0x7fe925(0x247)+_0x36fe32,_0x100c37=(await this['_httpService']['get'](_0x29938a))[_0x7fe925(0x1a2)],_0x209369=(_0xa30d64=_0x100c37[_0x7fe925(0x286)])==null?void 0x0:_0xa30d64[_0x7fe925(0x21f)];if(_0x209369){const _0x24f791=_0x209369==null?void 0x0:_0x209369[_0x7fe925(0x3a7)],_0x46998b=_0x11268a[_0x7fe925(0x2f0)](_0x29ca3b(_0x24f791));_0x209369[_0x7fe925(0x3a7)]=_0x46998b,Object[_0x7fe925(0x436)](_0x209369['sheets'])['forEach'](([,_0x30aa43])=>{var _0x44caf5=_0x7fe925;const _0xd157a5=_0x30aa43['originalMeta'],_0xa5867e=_0x11268a[_0x44caf5(0x2f0)](_0x29ca3b(_0xd157a5));_0x30aa43[_0x44caf5(0x3a7)]=_0xa5867e;});}return _0x100c37;}async['getSheetBlock'](_0x1e403b,_0x339ed7){var _0x525fb4=_0x197d50;const {unitID:_0x20f068,type:_0x235c75,blockID:_0x57389b}=_0x339ed7,_0x42a12b=this[_0x525fb4(0x337)]()+'/'+_0x235c75+'/unit/'+_0x20f068+_0x525fb4(0x41f)+_0x57389b;return(await this[_0x525fb4(0x276)][_0x525fb4(0x234)](_0x42a12b))[_0x525fb4(0x1a2)];}async[_0x197d50(0x160)](_0x5b5130,_0x64d7cb){var _0x5104fc=_0x197d50;const {unitID:_0x314a74,type:_0x39117b,blockID:_0x45ae1c}=_0x64d7cb,_0x4cf1b4=this[_0x5104fc(0x337)]()+'/block/'+_0x39117b+'/unit/'+_0x314a74+_0x5104fc(0x41f)+_0x45ae1c;return(await this[_0x5104fc(0x276)][_0x5104fc(0x234)](_0x4cf1b4))[_0x5104fc(0x1a2)];}async[_0x197d50(0x3a6)](_0x18dddd,_0x1e0997){var _0x5e8701=_0x197d50;const {unitID:_0x3066ef,type:_0x2ee1d8,from:_0x221b25,to:_0x43fe52}=_0x1e0997,_0x2d91ac=this[_0x5e8701(0x337)]()+'/'+_0x2ee1d8+_0x5e8701(0x262)+_0x3066ef+_0x5e8701(0x2d7)+_0x221b25+'&to='+_0x43fe52;return(await this[_0x5e8701(0x276)]['get'](_0x2d91ac))[_0x5e8701(0x1a2)];}[_0x197d50(0x42e)](){var _0xcb81a4=_0x197d50,_0xb1e9b2;return(_0xb1e9b2=this[_0xcb81a4(0x28c)][_0xcb81a4(0x408)](Dn))!=null?_0xb1e9b2:this[_0xcb81a4(0x337)]();}[_0x197d50(0x337)](){var _0x29d09b=_0x197d50,_0x9c9bff,_0x1f9e17;const _0x2ef05d=this[_0x29d09b(0x28c)][_0x29d09b(0x408)](Pn),_0x5d5c97=this[_0x29d09b(0x28c)][_0x29d09b(0x408)](Y);return(_0x1f9e17=(_0x9c9bff=_0x5d5c97==null?void 0x0:_0x5d5c97[_0x29d09b(0x150)])!=null?_0x9c9bff:_0x2ef05d)!=null?_0x1f9e17:Nn;}async['getResourcesRequest'](_0x1a3ede,_0x33c8e3){var _0x14f5f7=_0x197d50;const _0x12bb48=_0x14f5f7(0x3f5)+_0x33c8e3[_0x14f5f7(0x1cd)]+'/unit/'+_0x33c8e3[_0x14f5f7(0x416)]+_0x14f5f7(0x400);return(await this[_0x14f5f7(0x276)]['get'](_0x12bb48,{'params':{'resourceId':JSON[_0x14f5f7(0x1ca)](_0x33c8e3[_0x14f5f7(0x2bf)])}}))[_0x14f5f7(0x1a2)];}[_0x197d50(0x447)](){var _0x545c56=_0x197d50;throw new Error(_0x545c56(0x20d));}[_0x197d50(0x1a0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x197d50(0x1b2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x197d50(0x44b)](){var _0xd2de30=_0x197d50;throw new Error(_0xd2de30(0x20d));}[_0x197d50(0x30c)](){var _0x88bf63=_0x197d50;throw new Error(_0x88bf63(0x20d));}};Dt=Vr([ui(0x0,_0x3d2b7c),ui(0x1,_0x287bb5(_0x258eed))],Dt);var Wr=Object[_0x197d50(0x196)],Gr=Object[_0x197d50(0x42d)],Kr=(_0x5bb8ce,_0x22b8ad,_0x65896d,_0x30aabe)=>{for(var _0x194adc=_0x30aabe>0x1?void 0x0:_0x30aabe?Gr(_0x22b8ad,_0x65896d):_0x22b8ad,_0x298176=_0x5bb8ce['length']-0x1,_0x1c7ddb;_0x298176>=0x0;_0x298176--)(_0x1c7ddb=_0x5bb8ce[_0x298176])&&(_0x194adc=(_0x30aabe?_0x1c7ddb(_0x22b8ad,_0x65896d,_0x194adc):_0x1c7ddb(_0x194adc))||_0x194adc);return _0x30aabe&&_0x194adc&&Wr(_0x22b8ad,_0x65896d,_0x194adc),_0x194adc;},Ue=(_0x4d4e10,_0x383d0d)=>(_0x280448,_0x35e7f1)=>_0x383d0d(_0x280448,_0x35e7f1,_0x4d4e10);let wt=class extends _0x47c052{constructor(_0x5229b7,_0x43a7c9,_0x55261a,_0x5c2507,_0x413574){var _0x5180cc=_0x197d50;super(_0x5229b7,_0x43a7c9,_0x55261a),this['_transformService']=_0x5c2507,this[_0x5180cc(0x3ad)]=_0x413574;}[_0x197d50(0x40d)](_0x4fbfce,_0x522df4){var _0x295eef=_0x197d50;const _0x37b637=this[_0x295eef(0x407)](_0x4fbfce);if(_0x37b637)try{const _0x1cb1a7=this['_transformStack'](_0x37b637,_0x522df4);this[_0x295eef(0x209)](_0x4fbfce,_0x1cb1a7);}catch(_0x4e1241){this[_0x295eef(0x3ad)]['error']('[CollaborationUndoRedoService]',_0x4e1241),this[_0x295eef(0x31b)](_0x4fbfce);}const _0x5536f4=this[_0x295eef(0x197)](_0x4fbfce);if(_0x5536f4)try{const _0x3b9d18=this[_0x295eef(0x175)](_0x5536f4,_0x522df4);this['_substituteRedoStack'](_0x4fbfce,_0x3b9d18);}catch(_0x5d50e2){this[_0x295eef(0x3ad)][_0x295eef(0x1c7)](_0x5d50e2),this[_0x295eef(0x1f5)](_0x4fbfce);}}[_0x197d50(0x31b)](_0x2f59a6){var _0x4d1d82=_0x197d50;const _0x31b637=this[_0x4d1d82(0x407)](_0x2f59a6);_0x31b637&&(_0x31b637[_0x4d1d82(0x1c6)]=0x0,this[_0x4d1d82(0x423)]());}[_0x197d50(0x1f5)](_0x282c04){var _0x2a283c=_0x197d50;const _0x93054=this[_0x2a283c(0x197)](_0x282c04);_0x93054&&(_0x93054[_0x2a283c(0x1c6)]=0x0,this[_0x2a283c(0x423)]());}[_0x197d50(0x209)](_0x5ec17a,_0x2acbb5){var _0x4adaa8=_0x197d50;this['_undoStacks'][_0x4adaa8(0x214)](_0x5ec17a,_0x2acbb5),this[_0x4adaa8(0x423)]();}[_0x197d50(0x2e7)](_0xeab517,_0x3d687d){var _0x5a6081=_0x197d50;this[_0x5a6081(0x3bd)]['set'](_0xeab517,_0x3d687d),this[_0x5a6081(0x423)]();}[_0x197d50(0x175)](_0x28464d,_0x2feb84){var _0x397c54=_0x197d50;const _0x2ca05e=[];let _0x2bb0ec=_0x2feb84,_0x403dad=_0x2feb84;for(let _0x2e74c8=_0x28464d[_0x397c54(0x1c6)]-0x1;_0x2e74c8>=0x0;_0x2e74c8--){const {unitID:_0x1d47c8,undoMutations:_0x1f82ef,redoMutations:_0xf4836}=_0x28464d[_0x2e74c8],_0x285ef2=this[_0x397c54(0x222)]['transformMutationsWithChangeset'](_0x2bb0ec,_0x1f82ef),_0x327a97=this[_0x397c54(0x222)][_0x397c54(0x236)](_0x403dad,_0xf4836);if(_0x366dd1(_0x285ef2)||_0x366dd1(_0x327a97)){this[_0x397c54(0x3ad)][_0x397c54(0x1c7)](_0x397c54(0x25c),_0x397c54(0x412),_0x285ef2,_0x327a97);break;}_0x2bb0ec=_0x285ef2[_0x397c54(0x2be)],_0x403dad=_0x327a97['c1Prime'],_0x2ca05e[_0x397c54(0x1a6)]({'unitID':_0x1d47c8,'undoMutations':_0x285ef2[_0x397c54(0x321)],'redoMutations':_0x327a97[_0x397c54(0x321)]});}return _0x2ca05e[_0x397c54(0x2d9)]();}};wt=Kr([Ue(0x0,_0x1d1205),Ue(0x1,_0x42cf49),Ue(0x2,_0x447a6b),Ue(0x3,_0x1016d9),Ue(0x4,_0x12fb6b)],wt);var xi=Object['defineProperty'],zr=Object[_0x197d50(0x42d)],Yr=(_0x55dee8,_0xcd0784,_0x110cdc)=>_0xcd0784 in _0x55dee8?xi(_0x55dee8,_0xcd0784,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x110cdc}):_0x55dee8[_0xcd0784]=_0x110cdc,qr=(_0x560536,_0x2ff7e7,_0x187e87,_0x4028c9)=>{var _0x3937d7=_0x197d50;for(var _0x34d2bc=_0x4028c9>0x1?void 0x0:_0x4028c9?zr(_0x2ff7e7,_0x187e87):_0x2ff7e7,_0xd3bf38=_0x560536[_0x3937d7(0x1c6)]-0x1,_0x29dfec;_0xd3bf38>=0x0;_0xd3bf38--)(_0x29dfec=_0x560536[_0xd3bf38])&&(_0x34d2bc=(_0x4028c9?_0x29dfec(_0x2ff7e7,_0x187e87,_0x34d2bc):_0x29dfec(_0x34d2bc))||_0x34d2bc);return _0x4028c9&&_0x34d2bc&&xi(_0x2ff7e7,_0x187e87,_0x34d2bc),_0x34d2bc;},Et=(_0x52fa73,_0x16a739)=>(_0x3ed4c9,_0x1119b0)=>_0x16a739(_0x3ed4c9,_0x1119b0,_0x52fa73),Jr=(_0x4e07c2,_0x3e993e,_0x4018a5)=>Yr(_0x4e07c2,_0x3e993e+'',_0x4018a5);const Xr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x4bac8f{constructor(_0x2aeffe=Wn,_0x25c85e,_0x52a16b,_0x11f1a3){var _0x3b4881=_0x197d50;super(),this[_0x3b4881(0x289)]=_0x2aeffe,this[_0x3b4881(0x3ad)]=_0x25c85e,this[_0x3b4881(0x388)]=_0x52a16b,this[_0x3b4881(0x28c)]=_0x11f1a3;const {..._0x17d25b}=this['_config'];this['_configService'][_0x3b4881(0x348)](Y,_0x17d25b);}['onStarting'](){var _0x4613a0=_0x197d50;this[_0x4613a0(0x1e5)](),this[_0x4613a0(0x366)]();}['_registerDependencies'](){var _0x80137c=_0x197d50,_0x2bbaf2,_0x29f4d6,_0x433ad8,_0x2bc9b6;this[_0x80137c(0x388)][_0x80137c(0x2de)](_0x112b5f)&&this[_0x80137c(0x3ad)]['error'](_0x80137c(0x310),_0x80137c(0x2e0));const _0x24d6ce=_0x53f197([[_0x112b5f,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x29f4d6=(_0x2bbaf2=this['_config'])==null?void 0x0:_0x2bbaf2[_0x80137c(0x2c0)])!=null?_0x29f4d6:It}],[_0x1a04b1,{'useClass':Dt}],[_0x116edf,{'useClass':yt}],[_0x3b0ca9,{'useClass':Pt}],[_0x3c6065,{'useClass':Nt}],[rt],[Rt]],(_0x433ad8=this[_0x80137c(0x289)])==null?void 0x0:_0x433ad8[_0x80137c(0x2e3)]);if(!((_0x2bc9b6=this[_0x80137c(0x289)])!=null&&_0x2bc9b6[_0x80137c(0x44e)])){const _0x31d5fc=_0x24d6ce['findIndex'](([_0x1610f8])=>_0x1610f8===_t);_0x31d5fc!==-0x1&&_0x24d6ce[_0x80137c(0x2e9)](_0x31d5fc,0x1);}_0x124f05(this['_injector'],_0x24d6ce);}[_0x197d50(0x366)](){var _0x18b0f0=_0x197d50,_0x878911,_0x13b339,_0x54d253;this[_0x18b0f0(0x388)]['get'](_0x258eed)[_0x18b0f0(0x295)]({'priority':0x14,'interceptor':_0x5ce6ab({'maxParallel':0x6})}),(_0x878911=this['_config'])!=null&&_0x878911['enableOfflineEditing']||(_0x13b339=this[_0x18b0f0(0x388)]['get'](X,_0x4217ce[_0x18b0f0(0x340)]))==null||_0x13b339[_0x18b0f0(0x393)](),(_0x54d253=this[_0x18b0f0(0x289)])!=null&&_0x54d253[_0x18b0f0(0x228)]&&_0x3d28dc(this[_0x18b0f0(0x388)],[[ot]]),_0x3d28dc(this[_0x18b0f0(0x388)],[[at],[rt],[ct]]);}};Jr(Ut,_0x197d50(0x339),Xr),Ut=qr([_0x191565(_0x4f06d6,_0x4a39bc,_0x2ea744),Et(0x1,_0x12fb6b),Et(0x2,_0x287bb5(_0x4574c3)),Et(0x3,_0x3d2b7c)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|