@univerjs-pro/collaboration-client 0.6.10-experimental.20250428-261c0dd → 0.6.10-experimental.20250428-ab93895
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x20e40c=_0x593f;(function(_0x2fad13,_0x2d0d3f){var _0x5f50c8=_0x593f,_0x340d9a=_0x2fad13();while(!![]){try{var _0x5439e4=-parseInt(_0x5f50c8(0x39f))/0x1+parseInt(_0x5f50c8(0x2be))/0x2+-parseInt(_0x5f50c8(0x323))/0x3*(parseInt(_0x5f50c8(0x260))/0x4)+parseInt(_0x5f50c8(0x26e))/0x5+-parseInt(_0x5f50c8(0x46c))/0x6*(-parseInt(_0x5f50c8(0x1f8))/0x7)+-parseInt(_0x5f50c8(0x46a))/0x8+parseInt(_0x5f50c8(0x32c))/0x9;if(_0x5439e4===_0x2d0d3f)break;else _0x340d9a['push'](_0x340d9a['shift']());}catch(_0x5ec25f){_0x340d9a['push'](_0x340d9a['shift']());}}}(_0x4d46,0x22d8b));var wi=Object['defineProperty'],Pi=(_0x1a6dec,_0x58ac80,_0x1aefb6)=>_0x58ac80 in _0x1a6dec?wi(_0x1a6dec,_0x58ac80,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1aefb6}):_0x1a6dec[_0x58ac80]=_0x1aefb6,N=(_0x506da4,_0x37b65d,_0x2f4298)=>Pi(_0x506da4,typeof _0x37b65d!=_0x20e40c(0x3b4)?_0x37b65d+'':_0x37b65d,_0x2f4298);import{createIdentifier as _0x2416cb,Inject as _0x6fdf38,Injector as _0x4441be,IConfigService as _0x1f5986,ILogService as _0xc8c642,Disposable as _0x5f3840,DisposableCollection as _0x4c9b0a,toDisposable as _0x26867b,IUniverInstanceService as _0x902ab0,UserManagerService as _0x18c722,UniverInstanceType as _0x3bea69,LocaleService as _0x1fdf65,Optional as _0x205ae0,RxDisposable as _0xaf6fdc,Tools as _0x188155,Rectangle as _0x4dd75a,ICommandService as _0x179fd9,JSONX as _0x2ff8b5,CommandType as _0x47338f,IUndoRedoService as _0x46af88,IPermissionService as _0x4f7158,sequenceExecute as _0x222c62,Workbook as _0x15f71d,MentionType as _0xb3dfbd,isInternalEditorID as _0x4c7f5a,LocalUndoRedoService as _0x4707a,IContextService as _0x4d421b,DependentOn as _0x38ab10,Plugin as _0x2d93c7,merge as _0x557ce2,mergeOverrideWithDependencies as _0x5ec118,IAuthzIoService as _0x561341,IMentionIOService as _0x9d291,registerDependencies as _0x1d8bf6,Quantity as _0x4032ae,touchDependencies as _0x7415f4}from'@univerjs/core';import{Subject as _0x3af3a2,merge as _0x14fb54,of as _0x4f4dc2,BehaviorSubject as _0x161fc9,takeUntil as _0x48eaf6,ReplaySubject as _0x164028,take as _0x1a9f2d,map as _0x56350f,shareReplay as _0x41dec2,firstValueFrom as _0x3f1526,concatMap as _0x105f8c}from'rxjs';import{map as _0x17eabf,take as _0x393dda,filter as _0x416ec6,delay as _0x156932,takeUntil as _0x45e91d}from'rxjs/operators';import{CollaborationEvent as _0x351205,ISnapshotServerService as _0x2c5123,parseChangesetToProtocol as _0x4ebde1,ITransformService as _0x398454,isTransformMutationsWithChangesetSuccess as _0x115096,mapDocumentTypeToUniverType as _0x367ac3,RevisionService as _0x19ccce,isTransformChangesetsSuccess as _0x1ed145,CompressMutationService as _0x4bcc43,parseProtocolChangeset as _0x5eb153,SnapshotService as _0xf8a0ae,textEncoder as _0x3d3c19,b64DecodeUnicode as _0x564e08,isTransformMutationsWithChangesetFailure as _0x2e2329,UniverCollaborationPlugin as _0x384609}from'@univerjs-pro/collaboration';import{HTTPService as _0x5bad79,ISocketService as _0x4a81f2,MergeInterceptorFactory as _0x485f57,HTTPRequest as _0x55e2fe,UniverNetworkPlugin as _0x5acb00,ThresholdInterceptorFactory as _0x5cba24}from'@univerjs/network';import{ITelemetryService as _0x5a6ecd}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x46e57e}from'@univerjs/docs';import{SheetsSelectionsService as _0x58d595,SetSelectionsOperation as _0x3e822c,InsertSheetMutation as _0x2e3bbb,EmptyMutation as _0x36e7b7,WorkbookEditablePermission as _0x5d5705,SheetPermissionInitController as _0x1f59f6}from'@univerjs/sheets';import{ImageSourceType as _0x322774,ImageUploadStatusType as _0x508135,IImageIoService as _0x17846d}from'@univerjs/drawing';import{getGlobalObject as _0x591a52}from'@univerjs-pro/license';const mn=_0x20e40c(0x4c2),gn=_0x20e40c(0x41a),Sn=_0x20e40c(0x251),Lr=_0x20e40c(0x225),En=0x7d0,In=_0x20e40c(0x30d),Tn=_0x20e40c(0x372),xr=_0x20e40c(0x478),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x20e40c(0x264),gi=0x4e20,bn=0x4e20,On=_0x20e40c(0x275),yn=0x3,Mr=_0x20e40c(0x30f),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x20e40c(0x2db),Un=_0x20e40c(0x353),An=_0x20e40c(0x35e),$r=_0x20e40c(0x4cb),Hr=_0x20e40c(0x2e5);var Si=(_0x4cc400=>(_0x4cc400[_0x4cc400[_0x20e40c(0x4ea)]=0x0]=_0x20e40c(0x4ea),_0x4cc400[_0x4cc400['OK']=0x1]='OK',_0x4cc400[_0x4cc400[_0x20e40c(0x4d8)]=0x2]=_0x20e40c(0x4d8),_0x4cc400[_0x4cc400[_0x20e40c(0x454)]=0x3]=_0x20e40c(0x454),_0x4cc400[_0x4cc400[_0x20e40c(0x30c)]=0x4]=_0x20e40c(0x30c),_0x4cc400[_0x4cc400[_0x20e40c(0x4d4)]=0x5]='UNAUTHENTICATED',_0x4cc400[_0x4cc400[_0x20e40c(0x457)]=0x6]='ALREADY_EXISTS',_0x4cc400[_0x4cc400['INVALID_ARGUMENT']=0x7]=_0x20e40c(0x355),_0x4cc400[_0x4cc400[_0x20e40c(0x224)]=0x8]=_0x20e40c(0x224),_0x4cc400[_0x4cc400[_0x20e40c(0x3bd)]=0x9]='COMPLETION_FINISHED',_0x4cc400[_0x4cc400[_0x20e40c(0x328)]=0xa]=_0x20e40c(0x328),_0x4cc400[_0x4cc400[_0x20e40c(0x471)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4cc400[_0x4cc400[_0x20e40c(0x288)]=0x1771]=_0x20e40c(0x288),_0x4cc400[_0x4cc400[_0x20e40c(0x23d)]=0x1772]=_0x20e40c(0x23d),_0x4cc400[_0x4cc400[_0x20e40c(0x210)]=0x1773]=_0x20e40c(0x210),_0x4cc400[_0x4cc400['APPLY_REJECT']=0x1b59]=_0x20e40c(0x43e),_0x4cc400[_0x4cc400['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x20e40c(0x4be),_0x4cc400[_0x4cc400['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x20e40c(0x3b1),_0x4cc400[_0x4cc400['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x20e40c(0x3dd),_0x4cc400[_0x4cc400['APPLY_DUPLICATED']=0x1b5d]=_0x20e40c(0x3cd),_0x4cc400[_0x4cc400[_0x20e40c(0x3d7)]=0x1f41]=_0x20e40c(0x3d7),_0x4cc400[_0x4cc400[_0x20e40c(0x3b5)]=0x2329]=_0x20e40c(0x3b5),_0x4cc400[_0x4cc400[_0x20e40c(0x2fb)]=0x232a]=_0x20e40c(0x2fb),_0x4cc400[_0x4cc400['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x20e40c(0x485),_0x4cc400[_0x4cc400[_0x20e40c(0x4a2)]=0x232c]=_0x20e40c(0x4a2),_0x4cc400[_0x4cc400['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x4cc400[_0x4cc400['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x20e40c(0x2d4),_0x4cc400[_0x4cc400[_0x20e40c(0x39e)]=0x2712]=_0x20e40c(0x39e),_0x4cc400[_0x4cc400[_0x20e40c(0x44d)]=0x2713]=_0x20e40c(0x44d),_0x4cc400[_0x4cc400['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x20e40c(0x4cf),_0x4cc400[_0x4cc400[_0x20e40c(0x411)]=0x271a]=_0x20e40c(0x411),_0x4cc400[_0x4cc400[_0x20e40c(0x3d8)]=0x271b]=_0x20e40c(0x3d8),_0x4cc400[_0x4cc400[_0x20e40c(0x3c6)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4cc400[_0x4cc400[_0x20e40c(0x466)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4cc400[_0x4cc400['INVALID_INVITE_CODE']=0x2ee2]=_0x20e40c(0x2e1),_0x4cc400[_0x4cc400[_0x20e40c(0x24e)]=0x2ee3]=_0x20e40c(0x24e),_0x4cc400[_0x4cc400[_0x20e40c(0x2ef)]=0x2ee4]=_0x20e40c(0x2ef),_0x4cc400[_0x4cc400[_0x20e40c(0x22a)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4cc400[_0x4cc400[_0x20e40c(0x34b)]=0x32c9]=_0x20e40c(0x34b),_0x4cc400[_0x4cc400[_0x20e40c(0x42a)]=0x32ca]=_0x20e40c(0x42a),_0x4cc400[_0x4cc400['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4cc400[_0x4cc400['UNRECOGNIZED']=-0x1]=_0x20e40c(0x306),_0x4cc400))(Si||{}),Q=(_0x5eab47=>(_0x5eab47[_0x5eab47['UNIVER_UNKNOWN']=0x0]=_0x20e40c(0x40c),_0x5eab47[_0x5eab47['UNIVER_DOC']=0x1]=_0x20e40c(0x303),_0x5eab47[_0x5eab47['UNIVER_SHEET']=0x2]=_0x20e40c(0x46d),_0x5eab47[_0x5eab47[_0x20e40c(0x44a)]=0x3]='UNIVER_SLIDE',_0x5eab47[_0x5eab47[_0x20e40c(0x41b)]=0x4]=_0x20e40c(0x41b),_0x5eab47[_0x5eab47[_0x20e40c(0x306)]=-0x1]='UNRECOGNIZED',_0x5eab47))(Q||{}),F=(_0x126643=>(_0x126643[_0x126643['UNKNOWN_CMD']=0x0]=_0x20e40c(0x236),_0x126643[_0x126643[_0x20e40c(0x31e)]=0x1]=_0x20e40c(0x31e),_0x126643[_0x126643[_0x20e40c(0x332)]=0x2]=_0x20e40c(0x332),_0x126643[_0x126643['LEAVE']=0x3]=_0x20e40c(0x2a2),_0x126643[_0x126643['INGEST']=0x4]=_0x20e40c(0x2f6),_0x126643[_0x126643[_0x20e40c(0x3ea)]=0x5]='HEARTBEAT',_0x126643[_0x126643[_0x20e40c(0x4e3)]=0x6]=_0x20e40c(0x4e3),_0x126643[_0x126643[_0x20e40c(0x306)]=-0x1]=_0x20e40c(0x306),_0x126643))(F||{}),ge=(_0x250c60=>(_0x250c60[_0x250c60[_0x20e40c(0x449)]=0x0]='UNKNOWN_CODE',_0x250c60[_0x250c60['OK']=0x1]='OK',_0x250c60[_0x250c60[_0x20e40c(0x23e)]=0x2]='FAIL',_0x250c60[_0x250c60[_0x20e40c(0x421)]=0x3e9]='JOIN_ROOM_FULL',_0x250c60[_0x250c60['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x20e40c(0x495),_0x250c60[_0x250c60[_0x20e40c(0x2dc)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x250c60[_0x250c60[_0x20e40c(0x34a)]=0x3ec]=_0x20e40c(0x34a),_0x250c60[_0x250c60['UNRECOGNIZED']=-0x1]=_0x20e40c(0x306),_0x250c60))(ge||{}),Ei=(_0x56ad31=>(_0x56ad31[_0x56ad31[_0x20e40c(0x274)]=0x0]='Undefined',_0x56ad31[_0x56ad31[_0x20e40c(0x254)]=0x1]='HttpImport',_0x56ad31[_0x56ad31[_0x20e40c(0x4b3)]=0x2]=_0x20e40c(0x4b3),_0x56ad31[_0x56ad31[_0x20e40c(0x1f1)]=0x3]=_0x20e40c(0x1f1),_0x56ad31[_0x56ad31[_0x20e40c(0x34f)]=0x4]='UnitSnapshot',_0x56ad31[_0x56ad31[_0x20e40c(0x415)]=0x5]=_0x20e40c(0x415),_0x56ad31[_0x56ad31[_0x20e40c(0x306)]=-0x1]=_0x20e40c(0x306),_0x56ad31))(Ei||{});const q=_0x20e40c(0x3c2),wn={};var re=(_0x249c12=>(_0x249c12[_0x20e40c(0x389)]=_0x20e40c(0x389),_0x249c12[_0x20e40c(0x454)]='PERMISSION_DENIED',_0x249c12['CONFLICT']=_0x20e40c(0x33c),_0x249c12[_0x20e40c(0x2bb)]=_0x20e40c(0x2bb),_0x249c12[_0x20e40c(0x47e)]=_0x20e40c(0x47e),_0x249c12['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x249c12[_0x20e40c(0x2fe)]=_0x20e40c(0x2fe),_0x249c12[_0x20e40c(0x297)]='SUBMIT_CHANGESET_TIMEOUT',_0x249c12))(re||{});class pe{constructor(){var _0x2a70e8=_0x20e40c;N(this,'_event$',new _0x3af3a2()),N(this,_0x2a70e8(0x318),this[_0x2a70e8(0x49f)][_0x2a70e8(0x26a)]());}[_0x20e40c(0x460)](_0x45b297){var _0x4088ed=_0x20e40c;this[_0x4088ed(0x49f)][_0x4088ed(0x203)](_0x45b297);}}const Pn=_0x2416cb(_0x20e40c(0x27b));function Ln(_0x17b060){var _0x39634b=_0x20e40c,_0x808824,_0x4fb2b8,_0x2edc04,_0x3b258b,_0x6c3c74;const _0x5bad16=_0x17b060['data'],_0x17ed5e=JSON[_0x39634b(0x3ff)](_0x5bad16);switch(_0x17ed5e[_0x39634b(0x3d9)]){case F[_0x39634b(0x3ea)]:case F[_0x39634b(0x31e)]:{const _0x11b6d0=_0x17ed5e[_0x39634b(0x4d9)];return{..._0x17ed5e,'data':_0x11b6d0,'cmd':_0x17ed5e[_0x39634b(0x3d9)]};}case F[_0x39634b(0x332)]:{const _0x212848=_0x17ed5e[_0x39634b(0x426)];return{..._0x17ed5e,'data':_0x212848,'cmd':_0x17ed5e[_0x39634b(0x3d9)]};}case F[_0x39634b(0x4e3)]:{const _0x5eb2c8=_0x17ed5e[_0x39634b(0x2c9)];switch(_0x5eb2c8[_0x39634b(0x373)]){case _0x351205[_0x39634b(0x3e1)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':(_0x808824=_0x5eb2c8[_0x39634b(0x231)])==null?void 0x0:_0x808824['cs']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205[_0x39634b(0x45d)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':(_0x4fb2b8=_0x5eb2c8[_0x39634b(0x21a)])==null?void 0x0:_0x4fb2b8['cs']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['NEW_CHANGESETS']:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':(_0x2edc04=_0x5eb2c8[_0x39634b(0x32f)])==null?void 0x0:_0x2edc04['cs']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205[_0x39634b(0x4c8)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':(_0x3b258b=_0x5eb2c8[_0x39634b(0x30a)])==null?void 0x0:_0x3b258b['cs']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['CHANGESET_SHOULD_RETRY']:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':(_0x6c3c74=_0x5eb2c8[_0x39634b(0x239)])==null?void 0x0:_0x6c3c74['cs']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205[_0x39634b(0x467)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x27a)]},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['USERS_ENTER']:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x1f6)]},'cmd':_0x17ed5e['cmd']};case _0x351205['USERS_LEAVE']:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x37c)]},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['LIVESHARE_NEW_HOST']:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x445)]},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['LIVESHARE_FETCH_OPERATIONS']:case _0x351205[_0x39634b(0x280)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x221)]},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205[_0x39634b(0x4dc)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8['liveShareNewHost']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['MSG_FOR_ERROR']:return{..._0x17ed5e,'data':_0x5eb2c8,'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205[_0x39634b(0x3b9)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8['commentUpdateEvent']},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205[_0x39634b(0x317)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x48e)]},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};case _0x351205['SHOULD_CLOSE_CONN']:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8['shouldCloseConn']},'cmd':_0x17ed5e['cmd']};case _0x351205[_0x39634b(0x38e)]:return{..._0x17ed5e,'data':{..._0x5eb2c8,'data':_0x5eb2c8[_0x39634b(0x4eb)]},'cmd':_0x17ed5e[_0x39634b(0x3d9)]};default:return _0x17ed5e;}}default:return _0x17ed5e;}}function xn(_0x5b0a7b){var _0x4c71b4=_0x20e40c;switch(_0x5b0a7b[_0x4c71b4(0x3d9)]){case F[_0x4c71b4(0x3ea)]:case F[_0x4c71b4(0x31e)]:return JSON[_0x4c71b4(0x364)]({'cmd':_0x5b0a7b['cmd'],'routeKey':_0x5b0a7b[_0x4c71b4(0x3ef)]});case F['INGEST']:{let _0x42be95;switch(_0x5b0a7b[_0x4c71b4(0x200)][_0x4c71b4(0x373)]){case _0x351205['UPDATE_CURSOR']:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x467)],'updateCursorEvent':_0x5b0a7b[_0x4c71b4(0x200)][_0x4c71b4(0x200)]};break;}case _0x351205[_0x4c71b4(0x487)]:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x487)],'leaveEvent':_0x5b0a7b[_0x4c71b4(0x200)][_0x4c71b4(0x200)]};break;}case _0x351205[_0x4c71b4(0x205)]:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x205)],'joinEvent':_0x5b0a7b[_0x4c71b4(0x200)]['data']};break;}case _0x351205['LIVESHARE_NEW_HOST']:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x375)],'liveShareNewHost':_0x5b0a7b['data'][_0x4c71b4(0x200)]};break;}case _0x351205[_0x4c71b4(0x280)]:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x280)],'liveShareOperation':_0x5b0a7b[_0x4c71b4(0x200)][_0x4c71b4(0x200)]};break;}case _0x351205[_0x4c71b4(0x4dc)]:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x4dc)],'liveShareTerminate':_0x5b0a7b['data'][_0x4c71b4(0x200)]};break;}case _0x351205[_0x4c71b4(0x4b5)]:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x4b5)],'liveShareRequestHost':_0x5b0a7b[_0x4c71b4(0x200)][_0x4c71b4(0x200)]};break;}case _0x351205[_0x4c71b4(0x316)]:{_0x42be95={'eventID':_0x351205[_0x4c71b4(0x316)]};break;}default:_0x42be95={'eventID':_0x5b0a7b[_0x4c71b4(0x200)]['eventID']};}return JSON['stringify']({'cmd':_0x5b0a7b[_0x4c71b4(0x3d9)],'routeKey':_0x5b0a7b['routeKey'],'collaMsg':_0x42be95});}case F[_0x4c71b4(0x332)]:return JSON[_0x4c71b4(0x364)]({'cmd':_0x5b0a7b['cmd'],'routeKey':_0x5b0a7b['routeKey'],'joinReq':_0x5b0a7b['data']});case F[_0x4c71b4(0x2a2)]:return JSON[_0x4c71b4(0x364)]({'cmd':_0x5b0a7b[_0x4c71b4(0x3d9)],'routeKey':_0x5b0a7b['routeKey'],'leaveReq':_0x5b0a7b[_0x4c71b4(0x200)]});default:throw new Error(_0x4c71b4(0x1fa));}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x444b10,_0x5c8952,_0x3e1be0,_0x3aaa3f)=>{for(var _0x3c9bf5=_0x3aaa3f>0x1?void 0x0:_0x3aaa3f?Mn(_0x5c8952,_0x3e1be0):_0x5c8952,_0x68b535=_0x444b10['length']-0x1,_0x29e860;_0x68b535>=0x0;_0x68b535--)(_0x29e860=_0x444b10[_0x68b535])&&(_0x3c9bf5=_0x29e860(_0x3c9bf5)||_0x3c9bf5);return _0x3c9bf5;},Ae=(_0x1f2b62,_0x540dc2)=>(_0x5b4b3f,_0x3944f8)=>_0x540dc2(_0x5b4b3f,_0x3944f8,_0x1f2b62);const Ii=_0x2416cb(_0x20e40c(0x3ee));function $n(_0x3bba55,_0x465754,_0x42ad49){var _0x417ea5=_0x20e40c;return _0x3bba55+'/'+_0x465754+_0x417ea5(0x4a8)+_0x42ad49+_0x417ea5(0x235);}let Gt=class extends _0x5f3840{constructor(_0x5ce26c,_0x570639,_0x411da9,_0x1cdde5,_0x12fed9){var _0x3ef42c=_0x20e40c;super(),this[_0x3ef42c(0x337)]=_0x5ce26c,this[_0x3ef42c(0x336)]=_0x570639,this[_0x3ef42c(0x444)]=_0x411da9,this[_0x3ef42c(0x357)]=_0x1cdde5,this['_snapshotServerService']=_0x12fed9;}[_0x20e40c(0x46e)](_0x556725){var _0xb5ad23=_0x20e40c;const _0x26bca2=this[_0xb5ad23(0x337)][_0xb5ad23(0x3c0)](_0x4a81f2);if(!_0x26bca2)throw new Error(_0xb5ad23(0x3f2));const _0x53585e=_0x26bca2[_0xb5ad23(0x340)](_0x556725);if(!_0x53585e)throw new Error(_0xb5ad23(0x211));const _0x72b727=new _0x4c9b0a(),_0x4e0bf6=new _0x3af3a2();_0x72b727['add'](_0x53585e[_0xb5ad23(0x4ba)][_0xb5ad23(0x481)](_0x190697=>_0x4e0bf6['next'](_0x190697))),_0x72b727[_0xb5ad23(0x1ea)](_0x26867b(()=>_0x4e0bf6[_0xb5ad23(0x282)]()));const _0x2430cb=new _0x3af3a2();_0x72b727[_0xb5ad23(0x1ea)](_0x53585e['error$'][_0xb5ad23(0x481)](_0x2e29a1=>_0x2430cb['next'](_0x2e29a1))),_0x72b727[_0xb5ad23(0x1ea)](_0x26867b(()=>_0x2430cb[_0xb5ad23(0x282)]()));const _0x111d13=new _0x3af3a2();_0x72b727[_0xb5ad23(0x1ea)](_0x53585e[_0xb5ad23(0x20b)][_0xb5ad23(0x481)](_0x55e2bf=>{var _0x462d2f=_0xb5ad23;const _0x20db24=Ln(_0x55e2bf);_0x111d13[_0x462d2f(0x203)](_0x20db24);})),_0x72b727[_0xb5ad23(0x1ea)](_0x26867b(()=>_0x111d13[_0xb5ad23(0x282)]()));let _0x3f9ab3;const _0x53ce29=()=>{var _0x12d057=_0xb5ad23;_0x2430cb['next'](new Event('connection\x20error')),_0x4e0bf6[_0x12d057(0x203)](new Event(_0x12d057(0x1fc))),_0x3f9ab3['close']();};return _0x3f9ab3={'memberID':'','close$':_0x4e0bf6[_0xb5ad23(0x26a)](),'error$':_0x2430cb['asObservable'](),'open$':_0x53585e[_0xb5ad23(0x385)],'message$':_0x111d13[_0xb5ad23(0x26a)](),'send':_0x399460=>{var _0x54c189=_0xb5ad23;if(_0x399460['cmd']===F[_0x54c189(0x2f6)]){if(_0x399460[_0x54c189(0x200)]['eventID']===_0x351205[_0x54c189(0x3a5)]){this[_0x54c189(0x46b)](_0x3f9ab3,_0x399460[_0x54c189(0x200)])[_0x54c189(0x219)](_0x31b730=>{var _0xfc7cef=_0x54c189;this['_logService'][_0xfc7cef(0x220)](_0x31b730),_0x53ce29();});return;}if(_0x399460[_0x54c189(0x200)][_0x54c189(0x373)]===_0x351205[_0x54c189(0x491)]){const _0x4d096f=_0x399460['data'];this['_fetchMissChangesets'](_0x4d096f)['then'](_0xf5ebfe=>{var _0x1d3672=_0x54c189;_0x111d13['next']({'cmd':F[_0x1d3672(0x4e3)],'code':ge['OK'],'routeKey':_0x4d096f[_0x1d3672(0x200)][_0x1d3672(0x24f)],'routeType':'','data':{'eventID':_0x351205[_0x1d3672(0x2e7)],'data':{'changesets':_0xf5ebfe}}});})['catch'](_0x42f47b=>{var _0x22463c=_0x54c189;this['_logService'][_0x22463c(0x220)](_0x42f47b),_0x53ce29();});return;}}_0x53585e[_0x54c189(0x3ac)](xn(_0x399460));},'close':()=>{var _0x53ed1c=_0xb5ad23;_0x53585e[_0x53ed1c(0x44e)](),_0x72b727[_0x53ed1c(0x28c)]();}},_0x3f9ab3;}async[_0x20e40c(0x46b)](_0x5810ea,_0x358134){var _0x166532=_0x20e40c,_0x5ca9a2,_0x3c7c84;const {unitType:_0x21508f,unitID:_0x4a9992,changeset:_0x39c05b}=_0x358134[_0x166532(0x200)],_0x3ced1c={'unitID':_0x4a9992,'memberID':_0x5810ea[_0x166532(0x4dd)],'type':_0x21508f,'changeset':_0x4ebde1(_0x39c05b)},_0x11a2c5=this['_configService'][_0x166532(0x1dc)](Nn),_0xca6282=this[_0x166532(0x444)]['getConfig'](q),_0x312ff7=$n((_0x3c7c84=(_0x5ca9a2=_0xca6282==null?void 0x0:_0xca6282[_0x166532(0x3b0)])!=null?_0x5ca9a2:_0x11a2c5)!=null?_0x3c7c84:Dn,_0x21508f,_0x4a9992);try{await this[_0x166532(0x336)][_0x166532(0x4b4)](_0x312ff7,{'body':_0x3ced1c});}catch(_0xdc10e1){throw this[_0x166532(0x357)][_0x166532(0x220)](_0x166532(0x310),'submit\x20changeset\x20error!'),_0xdc10e1;}}async[_0x20e40c(0x243)](_0x4c3c8e){var _0x417373=_0x20e40c;const {unitID:_0x289889,from:_0x27aee1,to:_0x13af89,unitType:_0xcae84a}=_0x4c3c8e[_0x417373(0x200)];return(await this[_0x417373(0x451)][_0x417373(0x382)]({'metadata':void 0x0},{'unitID':_0x289889,'type':_0xcae84a,'from':_0x27aee1,'to':_0x13af89}))[_0x417373(0x40a)];}};Gt=kn([Ae(0x0,_0x6fdf38(_0x4441be)),Ae(0x1,_0x6fdf38(_0x5bad79)),Ae(0x2,_0x1f5986),Ae(0x3,_0xc8c642),Ae(0x4,_0x2c5123)],Gt);const Hn=_0x20e40c(0x37b);function Bn(_0x54ff17){return JSON['stringify'](_0x54ff17)['length'];}class Ti{constructor(){var _0x4d08b7=_0x20e40c;N(this,_0x4d08b7(0x49b),new _0x3af3a2()),N(this,'commentUpdate$',this[_0x4d08b7(0x49b)][_0x4d08b7(0x26a)]());}['onCommentUpdate'](_0x3b03ca){var _0x35b51f=_0x20e40c;this[_0x35b51f(0x49b)][_0x35b51f(0x203)](_0x3b03ca);}}var jn=Object[_0x20e40c(0x28e)],Fn=(_0x58f451,_0x4c25a3,_0x1776e4,_0x34ae39)=>{for(var _0x22faf1=_0x34ae39>0x1?void 0x0:_0x34ae39?jn(_0x4c25a3,_0x1776e4):_0x4c25a3,_0x5c22a4=_0x58f451['length']-0x1,_0x56d889;_0x5c22a4>=0x0;_0x5c22a4--)(_0x56d889=_0x58f451[_0x5c22a4])&&(_0x22faf1=_0x56d889(_0x22faf1)||_0x22faf1);return _0x22faf1;},Wt=(_0x174d2d,_0x1d9056)=>(_0x65a753,_0x3e6086)=>_0x1d9056(_0x65a753,_0x3e6086,_0x174d2d);let Le=class extends _0x5f3840{constructor(_0x5b4faf,_0x34a5ae){var _0x3de640=_0x20e40c;super(),N(this,_0x3de640(0x26c),new Map()),N(this,_0x3de640(0x3a0),new _0x3af3a2()),(this['_univerInstanceService']=_0x5b4faf,this[_0x3de640(0x47b)]=_0x34a5ae,this[_0x3de640(0x2bf)](_0x14fb54(this[_0x3de640(0x39c)][_0x3de640(0x413)](_0x3bea69['UNIVER_SHEET'])['pipe'](_0x17eabf(_0x5e591d=>_0x5e591d[_0x3de640(0x475)]())),this[_0x3de640(0x39c)][_0x3de640(0x413)](_0x3bea69[_0x3de640(0x303)])[_0x3de640(0x2f3)](_0x17eabf(_0x55f9c6=>_0x55f9c6[_0x3de640(0x475)]())),this[_0x3de640(0x39c)]['getTypeOfUnitDisposed$'](_0x3bea69[_0x3de640(0x44a)])[_0x3de640(0x2f3)](_0x17eabf(_0x43ae91=>_0x43ae91[_0x3de640(0x475)]())))[_0x3de640(0x481)](_0x3c62ec=>this[_0x3de640(0x2d5)](_0x3c62ec))));}[_0x20e40c(0x214)](_0x3ecc13){var _0x53fde4=_0x20e40c;return this[_0x53fde4(0x26c)][_0x53fde4(0x1e3)](_0x3ecc13)?_0x4f4dc2(this[_0x53fde4(0x26c)]['get'](_0x3ecc13)):this[_0x53fde4(0x3a0)][_0x53fde4(0x2f3)](_0x17eabf(_0x1ddea1=>{var _0x1299f1=_0x53fde4;if(_0x1ddea1===_0x3ecc13)return this[_0x1299f1(0x26c)]['get'](_0x1ddea1);}));}[_0x20e40c(0x333)](_0xba654c){var _0x157212=_0x20e40c;this[_0x157212(0x47b)][_0x157212(0x333)](_0xba654c);}[_0x20e40c(0x2e4)](){var _0x404a3d=_0x20e40c;return this[_0x404a3d(0x47b)][_0x404a3d(0x2e4)]();}[_0x20e40c(0x320)](_0x5d62eb,_0x4c4605){var _0x2236c5=_0x20e40c;let _0x5f4b23=this[_0x2236c5(0x26c)][_0x2236c5(0x3c0)](_0x5d62eb);_0x5f4b23||(_0x5f4b23=new Vn(),this['_roomMembers']['set'](_0x5d62eb,_0x5f4b23),this[_0x2236c5(0x3a0)][_0x2236c5(0x203)](_0x5d62eb)),_0x5f4b23[_0x2236c5(0x320)](_0x4c4605);}[_0x20e40c(0x41d)](_0xad2dc2,_0x39ce08){var _0x24619f=_0x20e40c;const _0x11e1a0=this[_0x24619f(0x26c)]['get'](_0xad2dc2);_0x11e1a0&&_0x11e1a0[_0x24619f(0x41d)](_0x39ce08);}[_0x20e40c(0x476)](_0x3eddf8){var _0x1ad7bc=_0x20e40c;return this[_0x1ad7bc(0x26c)][_0x1ad7bc(0x3c0)](_0x3eddf8);}[_0x20e40c(0x3ba)](_0x199645,_0x3994ed){var _0x5becd1=_0x20e40c;const _0x31f320=this[_0x5becd1(0x26c)][_0x5becd1(0x3c0)](_0x199645);if(_0x31f320)return _0x31f320['getMember'](_0x3994ed);}[_0x20e40c(0x2d5)](_0x4ce2f5){var _0x5abe08=_0x20e40c;const _0x351774=this[_0x5abe08(0x26c)][_0x5abe08(0x3c0)](_0x4ce2f5);_0x351774&&(_0x351774['dispose'](),this[_0x5abe08(0x26c)][_0x5abe08(0x4a6)](_0x4ce2f5));}['dispose'](){var _0x8e1806=_0x20e40c;this['_roomMembers'][_0x8e1806(0x440)](_0x5ccd05=>_0x5ccd05[_0x8e1806(0x28c)]()),this['_roomMembers']['clear'](),this[_0x8e1806(0x3a0)][_0x8e1806(0x282)]();}};Le=Fn([Wt(0x0,_0x902ab0),Wt(0x1,_0x6fdf38(_0x18c722))],Le);class Vn extends _0x5f3840{constructor(){var _0x5a7053=_0x20e40c;super(...arguments),N(this,_0x5a7053(0x296),new Map()),N(this,_0x5a7053(0x3ca),new _0x161fc9(this[_0x5a7053(0x296)])),N(this,_0x5a7053(0x465),this[_0x5a7053(0x3ca)][_0x5a7053(0x26a)]());}[_0x20e40c(0x28c)](){var _0x21081=_0x20e40c;this['_members'][_0x21081(0x420)]();}[_0x20e40c(0x320)](_0x1de1d0){var _0x2ea879=_0x20e40c;this[_0x2ea879(0x296)]['set'](_0x1de1d0['memberID'],_0x1de1d0),this[_0x2ea879(0x2f8)]();}[_0x20e40c(0x41d)](_0x21c361){var _0x4f4396=_0x20e40c;this[_0x4f4396(0x296)][_0x4f4396(0x4a6)](_0x21c361);}['getMember'](_0x51df40){var _0xbd95e8=_0x20e40c;return this[_0xbd95e8(0x296)][_0xbd95e8(0x3c0)](_0x51df40);}['getAllMembers'](){var _0x39f185=_0x20e40c;return Array[_0x39f185(0x351)](this[_0x39f185(0x296)][_0x39f185(0x342)]());}['_emitMembers'](){var _0x2c7536=_0x20e40c;this[_0x2c7536(0x3ca)][_0x2c7536(0x203)](this['_members']);}}var Gn=Object[_0x20e40c(0x28e)],Wn=(_0x203365,_0x4b14dc,_0x514fcb,_0x244f4e)=>{var _0x522551=_0x20e40c;for(var _0x7bd496=_0x244f4e>0x1?void 0x0:_0x244f4e?Gn(_0x4b14dc,_0x514fcb):_0x4b14dc,_0x24e32b=_0x203365[_0x522551(0x21f)]-0x1,_0x277f5a;_0x24e32b>=0x0;_0x24e32b--)(_0x277f5a=_0x203365[_0x24e32b])&&(_0x7bd496=_0x277f5a(_0x7bd496)||_0x7bd496);return _0x7bd496;},me=(_0x5f2360,_0x40102f)=>(_0x1691e1,_0x39355c)=>_0x40102f(_0x1691e1,_0x39355c,_0x5f2360),Ee=(_0x55bb84=>(_0x55bb84[_0x55bb84['IDLE']=0x0]=_0x20e40c(0x284),_0x55bb84[_0x55bb84['JOINING']=0x1]=_0x20e40c(0x4e9),_0x55bb84[_0x55bb84[_0x20e40c(0x25e)]=0x2]=_0x20e40c(0x25e),_0x55bb84[_0x55bb84['ONLINE']=0x3]='ONLINE',_0x55bb84))(Ee||{});const Kt={[ge[_0x20e40c(0x23e)]]:_0x20e40c(0x23c),[ge[_0x20e40c(0x421)]]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0x20e40c(0x2dc)]]:'session.room-permission-denied',[ge[_0x20e40c(0x34a)]]:_0x20e40c(0x403)};let Et=class extends _0xaf6fdc{constructor(_0xbbcac0,_0x47039b,_0x56332b,_0x5ddcb4,_0x5570dc,_0x2d445c,_0x142ed5,_0x176cd7,_0x32b0cb){var _0x56583f=_0x20e40c;super(),N(this,_0x56583f(0x234),new _0x161fc9(0x0)),N(this,_0x56583f(0x21d),this['_sessionStatus$'][_0x56583f(0x26a)]()),N(this,_0x56583f(0x49f),new _0x3af3a2()),N(this,_0x56583f(0x318),this[_0x56583f(0x49f)][_0x56583f(0x26a)]()),N(this,_0x56583f(0x32d)),N(this,'_socketMessageSubscription'),N(this,_0x56583f(0x1fd)),N(this,_0x56583f(0x329),!0x1),N(this,_0x56583f(0x273),null),(this[_0x56583f(0x484)]=_0xbbcac0,this[_0x56583f(0x357)]=_0x56332b,this[_0x56583f(0x444)]=_0x5ddcb4,this[_0x56583f(0x3a3)]=_0x5570dc,this[_0x56583f(0x4bf)]=_0x2d445c,this[_0x56583f(0x424)]=_0x142ed5,this['_collaborationUIEventService']=_0x176cd7,this['_telemetryService']=_0x32b0cb,this[_0x56583f(0x329)]=!!this[_0x56583f(0x42f)],_0x47039b[_0x56583f(0x2f3)](_0x48eaf6(this[_0x56583f(0x4ce)]))[_0x56583f(0x481)](_0x4ddb18=>{var _0x4401fd=_0x56583f,_0x4296cc;typeof _0x4ddb18>'u'||(this[_0x4401fd(0x32d)]=_0x4ddb18,_0x4ddb18?(this[_0x4401fd(0x2ce)](_0x4ddb18),this[_0x4401fd(0x4ca)]=_0x4ddb18['message$']['subscribe'](_0x5c554c=>{var _0x2e1ee6=_0x4401fd;_0x5c554c[_0x2e1ee6(0x3ef)]===this[_0x2e1ee6(0x484)]&&this['_onCombEvent'](_0x5c554c);})):(this[_0x4401fd(0x321)](),this[_0x4401fd(0x234)][_0x4401fd(0x203)](0x2),(_0x4296cc=this['_socketMessageSubscription'])==null||_0x4296cc[_0x4401fd(0x2ab)](),this[_0x4401fd(0x4ca)]=null));}));}get['sessionStatus'](){var _0x554b27=_0x20e40c;return this[_0x554b27(0x234)]['getValue']();}[_0x20e40c(0x325)](){var _0x38ae23=_0x20e40c,_0xd94a55,_0x403b92;return(_0x403b92=(_0xd94a55=this[_0x38ae23(0x32d)])==null?void 0x0:_0xd94a55['memberID'])!=null?_0x403b92:null;}['dispose'](){var _0x43fadb=_0x20e40c;super[_0x43fadb(0x28c)](),this['dispose$']['next'](),this['dispose$'][_0x43fadb(0x282)]();}[_0x20e40c(0x44e)](){var _0x1ea4c4=_0x20e40c,_0x34cc58,_0x4cf75a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x34cc58=this['_socket'])==null||_0x34cc58[_0x1ea4c4(0x3ac)]({'cmd':F[_0x1ea4c4(0x2a2)],'data':{'roomID':this[_0x1ea4c4(0x484)]}}),(_0x4cf75a=this[_0x1ea4c4(0x32d)])==null||_0x4cf75a['close'](),this[_0x1ea4c4(0x49f)][_0x1ea4c4(0x282)](),this[_0x1ea4c4(0x234)][_0x1ea4c4(0x282)](),this[_0x1ea4c4(0x28c)]();}[_0x20e40c(0x2c3)](_0xff3ef){var _0x2e4f9a=_0x20e40c;_0xff3ef['cmd']===F[_0x2e4f9a(0x332)]?this[_0x2e4f9a(0x395)](_0xff3ef):_0xff3ef[_0x2e4f9a(0x3d9)]===F[_0x2e4f9a(0x4e3)]&&this[_0x2e4f9a(0x1e0)](_0xff3ef);}[_0x20e40c(0x2ce)](_0x1e66f7){var _0xa17ab9=_0x20e40c;this['_sessionStatus$']['next'](0x1),_0x1e66f7['send']({'cmd':F[_0xa17ab9(0x332)],'routeKey':this[_0xa17ab9(0x484)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa17ab9(0x484)]}]}});}[_0x20e40c(0x395)](_0x2faadf){var _0x1def84=_0x20e40c,_0x26e912;if(_0x2faadf['code']in Kt){this[_0x1def84(0x256)][_0x1def84(0x460)]({'id':re[_0x1def84(0x47e)],'data':Kt[_0x2faadf[_0x1def84(0x24b)]]}),this[_0x1def84(0x234)][_0x1def84(0x203)](0x2);return;}this[_0x1def84(0x234)][_0x1def84(0x203)](0x3);const _0x318f52=(_0x26e912=_0x2faadf[_0x1def84(0x200)][_0x1def84(0x452)][this[_0x1def84(0x484)]])==null?void 0x0:_0x26e912[_0x1def84(0x3f4)];_0x318f52&&_0x318f52[_0x1def84(0x440)](_0x38bcad=>this[_0x1def84(0x4bf)][_0x1def84(0x320)](this[_0x1def84(0x484)],_0x38bcad));}[_0x20e40c(0x1e0)](_0xfc9771){var _0x460790=_0x20e40c;try{const _0x585938=_0xfc9771[_0x460790(0x200)];switch(_0x585938[_0x460790(0x373)]){case _0x351205[_0x460790(0x205)]:this['_onUserJoin'](_0x585938),this['_event$']['next'](_0x585938);break;case _0x351205[_0x460790(0x487)]:this[_0x460790(0x2d7)](_0x585938),this[_0x460790(0x49f)]['next'](_0x585938);break;case _0x351205[_0x460790(0x45d)]:case _0x351205[_0x460790(0x4b2)]:this[_0x460790(0x36f)](),this[_0x460790(0x20a)](),this[_0x460790(0x49f)][_0x460790(0x203)](_0x585938);break;case _0x351205['MSG_FOR_ERROR']:this[_0x460790(0x357)][_0x460790(0x220)](_0x460790(0x36e)+JSON[_0x460790(0x364)](_0x585938)),this[_0x460790(0x49f)][_0x460790(0x203)](_0x585938);break;case _0x351205[_0x460790(0x3b9)]:this[_0x460790(0x424)]['onCommentUpdate'](_0x585938[_0x460790(0x200)]),this['_event$'][_0x460790(0x203)](_0x585938);break;default:this[_0x460790(0x49f)][_0x460790(0x203)](_0x585938);}}catch(_0x4e181f){this[_0x460790(0x357)][_0x460790(0x220)](_0x4e181f,_0xfc9771);}}[_0x20e40c(0x3bf)](_0x455e23){var _0x2a54f1=_0x20e40c;this[_0x2a54f1(0x4bf)][_0x2a54f1(0x320)](this[_0x2a54f1(0x484)],_0x455e23[_0x2a54f1(0x200)]);}['_onUserLeave'](_0x52fafb){var _0x5da613=_0x20e40c;this[_0x5da613(0x4bf)][_0x5da613(0x41d)](this[_0x5da613(0x484)],_0x52fafb[_0x5da613(0x200)][_0x5da613(0x4dd)]);}async[_0x20e40c(0x3ac)](_0xd659c9,_0x32f910){var _0x550ce4=_0x20e40c;if(this[_0x550ce4(0x3bc)]!==0x3||!this['_socket'])throw new Error(_0x550ce4(0x49a));try{_0xd659c9['eventID']===_0x351205['SUBMIT_CHANGESET']&&(this[_0x550ce4(0x456)](),this[_0x550ce4(0x257)](_0xd659c9)),this['_socket']['send']({'cmd':F[_0x550ce4(0x2f6)],'routeKey':_0x32f910,'routeType':'','data':_0xd659c9});}catch(_0x238d68){this[_0x550ce4(0x357)][_0x550ce4(0x220)](_0x238d68);}}[_0x20e40c(0x456)](){var _0x5c39eb=_0x20e40c,_0x627d9c;this[_0x5c39eb(0x1fd)]=setTimeout(()=>{var _0x21bfba=_0x5c39eb;this[_0x21bfba(0x1fd)]=null,this[_0x21bfba(0x256)][_0x21bfba(0x460)]({'id':re[_0x21bfba(0x297)]});},(_0x627d9c=this['_configService'][_0x5c39eb(0x1dc)](mi))!=null?_0x627d9c:gi);}['_clearCollaborationTimeoutTimer'](){var _0x24d43d=_0x20e40c;this[_0x24d43d(0x1fd)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x24d43d(0x1fd)]=null);}[_0x20e40c(0x257)](_0x72aae9){var _0x3d87db=_0x20e40c;if(!this[_0x3d87db(0x329)])return;const {data:_0x52686e}=_0x72aae9,{unitID:_0x216ee4,changeset:_0x49456a}=_0x52686e,{mutations:_0x1427dd,type:_0x1abced}=_0x49456a;this[_0x3d87db(0x273)]={'unitId':_0x216ee4,'type':_0x1abced,'startTime':performance[_0x3d87db(0x38b)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x1427dd)};}[_0x20e40c(0x36f)](){var _0x365863=_0x20e40c;if(this['_shouldReportTelemetry']){if(!this[_0x365863(0x273)]){this[_0x365863(0x357)][_0x365863(0x220)](_0x365863(0x310),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x365863(0x273)][_0x365863(0x2ed)]=performance[_0x365863(0x38b)](),this['_telemetryInfo'][_0x365863(0x47f)]=this[_0x365863(0x273)][_0x365863(0x2ed)]-this[_0x365863(0x273)][_0x365863(0x458)],this[_0x365863(0x42f)][_0x365863(0x285)](Hn,this['_telemetryInfo']),this[_0x365863(0x273)]=null;}}[_0x20e40c(0x321)](){var _0x91405b=_0x20e40c;this[_0x91405b(0x273)]=null;}};function _0x4d46(){var _0x44bc5c=['_queuedRemoteChangesets','_clearScheduledTask','/-/object/-/batch_allowed','bind','_onFetchMissResult','save\x20fail\x20reason\x20is\x20','_stopTelemetryCollaborationNewChangeset','sendChangesetTimeout','DEFAULT_FILE_NAME','ws://127.0.0.1:8000/universer-api/comb/connect','eventID','/object/','LIVESHARE_NEW_HOST','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationEntity]','image/gif','image/png','[SyncedState]:\x20received\x20acknowledgement.','collaboration_new_changeset','leaveEvent','_loadSheet','readAsDataURL','People','_isPermissionRej','Latin1','fetchMissingChangesets','_iKey','_transformService','open$','_toggleOnline','Cipher','/-/object/list','OTHER_CLIENT_EDITING','/object','now','includes','onStarting','UNISCRIPT_RUN','updateOfflineData','getInterceptPoints','objects','finalize','awaiting','_rescheduleHeartbeat','_onJoinRoomEvent','COMPRESS_MUTATION_APPLY','file','closeSession','[CollaborationSessionService]:\x20socket\x20error','offline','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_univerInstanceService','retryConnectingInterval','YUUMI_URL_COL_OUT_OF_RANGE','140885BzQjDb','_roomCreated$','NoPadding','[DataLoaderService]','_localeService','_xformMode','SUBMIT_CHANGESET','_iv','deleteCollaborator','encodeURIComponent','fetch_missing','charAt','_updateLocalCache','send','mixIn','_networkConditionService','location','collabSubmitChangesetUrl','APPLY_REVISION_CONFILICT','_unlockTransition','lib','symbol','LICENSE_MAX_UNITS_EXCEEDED','OpenSSL','getUnitStatus$','BlockCipher','COMMENT_UPDATE','getMember','awaitingChangeset','sessionStatus','COMPLETION_FINISHED','_reverseMap','_onUserJoin','get','_replaceFileID','collaboration-client.config','image/jpeg','unitId\x20is\x20not\x20found','objectType','PY_RUNTIME_SCRIPT_ERROR','EXCHANGE_SIGN_URL_SERVER_URL_KEY','socketService','_minBufferSize','_members$','addHandlerCallback','_undoRedoService','APPLY_DUPLICATED','objectID','uploadFileServerUrl','_initUnitPermissionChange','exports','apply','image/jpg','_sessions','?url=','body','CONNECTOR_DATA_TOO_LARGE','YUUMI_ASYNCIO_CANCELLED','cmd','c2Prime','fetching\x20missing\x20changesets\x20from\x20','_executeRemoteChangeset','APPLY_PERMISSION_DENIED','getCollabEntity$','_showConflictNotification','_tryEnsureSocket','PERMISSION_REJ','mutations','_remoteChangesetQueue','workbook','error$','collaborators','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_initDependencies','entries','HEARTBEAT','_registerDependencies','HMAC','listCollaborators','univer-pro.collaboration-client-socket-service','routeKey','AUTHZ_URL_KEY','withCredentials','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_clearHeartbeatTimer','members','[OfflineState]:\x20received\x20changeset.','$super','cfg','saveSnapshot','BlockCipherMode','online$','_doFinalize','set','toLowerCase','/universer-api/authz','parse','saveChangeset','OTHER_CLIENTS_EDITING','_nRounds','session.room-cnt-exceeds','[OfflineState]:\x20received\x20acknowledgement.','_resendWithTimeout','?size=','m2Prime','getCollabEntity','_changesetReqId','changesets','keySize','UNIVER_UNKNOWN','collaboration-client.local-cache-service','onMissedChangesetFetched','MUTATION','getImageSourceCache','YUUMI_NO_CUBOID_FOR_QUESTION','SYNCED','getTypeOfUnitDisposed$','reject','UserProfileImg','map','extend','_sendingTimer','getUnit','/universer-api/snapshot','UNIVER_PROJECT','subUnitId','removeMember','_data','onSendChangeset','clear','JOIN_ROOM_FULL','_transformStateCache','[FetchMissState]','_commentService','_append','joinRsp','change$','replace','salt','MOBILE_HAS_BEEN_BOUND','byteLength','fromCharCode','string','result','_telemetryService','getLatestCsReqIdBySid','_key','initWorkbookPermissionChange','onlyLocal','fromCollab','addImageSourceCache','Base64','onRemoteAck','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','find','setWaitCount','clone','_state','requestParams','APPLY_REJECT','onSyncEditingCollabCursor','forEach','unknown','appendMutation','/fetchmissing?from=','_configService','liveShareNewHost','Hex','_sender','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNKNOWN_CODE','UNIVER_SLIDE','OPTIONAL','_clearRedo','YUUMI_RATE_OVER_LIMIT','close','getSheetId','headers','_snapshotServerService','roomInfos','_transformRemoteChangesetByStateCache','PERMISSION_DENIED','saveImage','_scheduleCollaborationTimeoutTimer','ALREADY_EXISTS','startTime','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','NO_OTHER_CLIENTS_EDITING','_replayCachedMutations','CHANGESET_ACK','hasOwnProperty','_exhaustRemoteChangesetQueue','emitEvent','getCurrentSelections','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_ENC_XFORM_MODE','downloadEndpointUrl','members$','INVITE_CODE_HAS_BEEN_UES','UPDATE_CURSOR','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','listRoles','1772936uuEFXC','_submitChangeset','888LzNBhK','UNIVER_SHEET','_doCreateSocket','createCollaborator','&assign=','CHANGESET_REVISION_CONFILICT','createEncryptor','createDecryptor','getCurrentRevOfUnit','getUnitId','getRoom','_onRemoteChangeset','/universer-api/user/session-ticket','getResourcesRequest','onTransformState','_userManagerService','crypto','charCodeAt','JOIN_ROOM_FAILED','duration','type','subscribe','_getUndoStack','[CollaborationUndoRedoService]','_unitID','LICENSE_IMPORT_SIZE_EXCEEDED','defineProperty','USERS_LEAVE','msCrypto','_hasher','_change$','_parse','Error\x20on\x20receiving\x20event','_substituteRedoStack','updatePermissionObjEvent','randomUUID','pad','FETCH_MISSING','_transformUndoredo','_nDataBytes','BufferedBlockAlgorithm','JOIN_ROOM_NOT_EXISTS','[PendingState]:\x20received\x20acknowledgement.','CBC','SOCKET_FAILED_RETRY','ERROR_IMAGE_TYPE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentUpdate$','url','status$','sid','_event$','_getSignURL','_compressMutationService','LICENSE_EXPORT_SIZE_EXCEEDED','deepClone','AWAITING','append','delete','sheets','/unit/','_collaborationSessionService','_loadDoc','_getUploadFileURL','unit-cache-','SHOULD_CLOSE_CONN','COMPRESS_MUTATION_SEND','equals','requireSession','_toggleOffline','CHANGESET_SHOULD_RETRY','HttpExport','post','LIVESHARE_REQUEST_HOST','_getSendChangesetTimeout','rng','_permissionService','decrypt','close$','transformUndoRedo','selections','transformChangesets','APPLY_NON_SEQUENTIAL_REVISION','_memberService','interceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SNAPSHOT_SERVER_URL_KEY','unitId','_schedule','collabWebSocketUrl','_sendHeartbeatTimer','every','CHANGESET_REJ','function','_socketMessageSubscription','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_disableEditing','[PendingState]:\x20received\x20rejection.','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','copyFileMeta','_acknowledgedAwaitingChangeset','_createInitialState','&source=','UNAUTHENTICATED','image/bmp','onRemoteChangeset','_socketReady','INTERNAL_ERROR','infoRsp','[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.','MD5','LIVESHARE_TERMINATE','memberID','_createInitialStateImpl','PERSON','enableOfflineEditing','getValue','toggleOffline','RECV','_clearRetryConnectingTimer','_socket$','_keyPriorReset','\x20in\x20_schedule.','readInt32LE','JOINING','UNDEFINED','uniscriptRunEvent','_HTTPService','loadDoc','incrementRevOfUnit','loginUrlKey','getTypeOfUnitAdded$','StreamCipher','status','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getConfig','_substituteUndoStack','_sheetTransformSelectionsService','onLocalMutation','_onRecvEvent','_commandService','onTransformSelections','has','/universer-api/snapshot/','_getAPIPrefixPath','localCacheService','unpad','_revisionService','createInstance','add','debug','_cipher','_entityInit$','_instanceService','_entities','random','UnitEmbedded','getFocusedUnit','Pkcs7','decryptBlock','_lockTransition','joinEvent','getDeserializedSheetBlock','13349CrtsOL','POST','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','rev','connection\x20error','_collaborationTimeoutTimer','entityInit$','_initRequestHeader','data','sin','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','next','avatar','USERS_ENTER','href','reduce','src','processBlock','_clearCollaborationTimeoutTimer','message$','Univer','compute','transformMutationsWithChangeset','getTime','ENSURE_SNAPSHOT_EXECUTION','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_resendTimer','__Key__','waitForRoom$','range','/resources','_handler','padding','catch','csAckEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','loadSheet','sessionStatus$','_singleActiveUnitService','length','error','liveShareOperation','_sendHeartbeat','kdf','TOO_MANY_REQUESTS','SEND_CHANGESET_TIMEOUT','_config','_updateState','prototype','_transitionLocked','INVITE_CODE_ALREADY_BOUND','_imageSourceCache','_scheduleCompleteTimestamp','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','isPermissionRej','editingUnit','state$','permissionRejEvent','execute','fetchThroughInterceptors','_sessionStatus$','/new_changes','UNKNOWN_CMD','Malformed\x20UTF-8\x20data','getWorkbookSelections','csShouldRetryEvent','_process','_handlerCallback','session.join-failed','SNAPSHOT_HAS_BEEN_REMOVED','FAIL','objectActions','AES','getSnapshotAPIPath','_onRemoteACK','_fetchMissChangesets','default','pending','splice','resolve','clamp','WordArray','Encryptor','code','authzUrl','params','INVITE_CODE_REQUIRED','unitID','_pendingMutations','SNAPSHOT_URL_KEY','Base','socket\x20open.','HttpImport','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_collaborationUIEventService','_startTelemetryCollaborationNewChangeset','Utf8','\x20-\x20','call','_resendTimeout','indexOf','compose','OFFLINE','_createHelper','344504xiumck','_snapshotService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_candidateSocket','HEARTBEAT_TIMEOUT','ONLINE','action','_waitCount','/role','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','asObservable','_localCacheService','_roomMembers','key','651070tFUFAW','getRandomValues','SHA1','reqId','_socketService','_telemetryInfo','Undefined','RETRY_CONNECTING_MAX_COUNT','unitInfo$','list','iterations','_transformSelections','updateCursorEvent','univer-pro.collaboration-client.network-condition.service','disableLocalCache','updatePermissionPoint','onRemoteRetry','resend','LIVESHARE_OPERATION','_initCloseConn','complete','setConfig','IDLE','capture','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','hasher','SNAPSHOT_INVALID_SNAPSHOT','_clearLocalCache','setShowComponents','onTransformIME','dispose','buffer','getOwnPropertyDescriptor','startsWith','PENDING','_unitInfo$','create','getUnitType','_awaitingChangeset','_syncEditingCollabCursor','_members','SUBMIT_CHANGESET_TIMEOUT','max','signUrlServerUrl','snapshotServerUrl','[CollaborationState]:\x20apply\x20error!','_map','algo','onload','actions','allowed','isArray','LEAVE','baseRev','_clearTimeoutTimer','HmacSHA1','_onMessage','__creator','push','_status$','executeCommand','unsubscribe','getUnitOnRev','getImage','join','saveSheetBlock','_initMergeInterceptor','min','repeat','ciphertext','_getCtorByUniverType','_hash','onCommandExecuted','_changesetSessionId','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getSheetBlock','_updateStatus','CLOSE_ROOM','encrypt','_undoStacks','290486YnlYoy','disposeWithMe','_doProcessBlock','concat','_timeoutTimer','_onCombEvent','onRemoteRej','update','patch','toggleOnline','_collaborationPaused','collaMsg','enableSingleActiveInstanceLock','FileId','_init','FETCH_MISS','_joinRoom','loadOfflineData','enc','_transformStack','_retryConnectingTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','YUUMI_UNABLE_LOAD_URL','_removeRoom','_decreaseWaiting','_onUserLeave','sigBytes','focused$','toString','/universer-api/comb','JOIN_ROOM_PERMISSION_DENIED','_incrementRevisionNumber','EvpKDF','_startCollaboration','[CollaborationSessionService]','INVALID_INVITE_CODE','_mode','_transformIMECache','getCurrentUser','/universer-api/uniscript','CipherParams','PSEUDO_FETCH_MISSING_RESULT','encode','format','/collaborator','put','filter','stopTime','_onOffline','USER_NOT_INVITED_CODE','Decryptor','_state$','resourceIDs','pipe','_onConnectionFailed','onTransformRemoteChangesetByStateCache','INGEST','[UniverCollaborationClientPlugin]','_emitMembers','floor','randomBytes','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AWAITING_WITH_PENDING','slice','SOCKET_FAILED','HmacMD5','_eventService','title','_getDownloadEndpointURL','UNIVER_DOC','/universer-api/file/{fileID}/sign-url','registerHTTPInterceptor','UNRECOGNIZED','name','_createHmacHelper','words','csRejEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','NOT_FOUND','COLLAB_WEB_SOCKET_URL','Hasher','LOCAL_CACHE_INTERVAL','[CollaborationSession]','_keySchedule','_checkMissing','session','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onConflict','LIVESHARE_FETCH_OPERATIONS','UPDATE_PERMISSION_OBJ','event$','_createHandler','_retryCount','refreshPermission','socket\x20close','_doCryptBlock','HELLO','_clearUndo','updateMember','_throwTelemetryCollaborationNewChangeset','byteOffset','9dXRAlT','_onRemoteRejected','getMemberID','method','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_FAILED','_shouldReportTelemetry','localeService','onMissingChangesets','1853262nOWPbg','_socket','textRanges','newCsEvent','blockSize','BASE64','JOIN','setCurrentUser','userID','_getAPIPrefix','_httpService','_injector','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_createSocket','synced','_transformRemoteChangesetByIMECache','CONFLICT','_collabSessionService','c1Prime','_onConnectionOpen','createSocket','_doReset','values','_applyRemoteChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','reset','subject','/block/','_onLocalMutation','init','GLOBAL_ROOMS_CNT_EXCEEDS','WECHAT_HAS_BEEN_BOUND','not_collab','_invKeySchedule','_getRedoStack','UnitSnapshot','reconnect','from','_listenToNetworkCondition','LOGIN_URL_KEY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','awaiting_with_pending','_logService','_type','ERROR_IMAGE','revision','_getCurrentRevision','override','size','/universer-api/oidc/authpage','mode','_onRemoteRetry','onTransformRemoteChangesetByIMECache','/allowed','conflict','stringify','{fileID}','_oKey','originalMeta','getActiveSheet'];_0x4d46=function(){return _0x44bc5c;};return _0x4d46();}Et=Wn([me(0x2,_0xc8c642),me(0x3,_0x1f5986),me(0x4,_0x6fdf38(_0x1fdf65)),me(0x5,_0x6fdf38(Le)),me(0x6,_0x6fdf38(Ti)),me(0x7,_0x6fdf38(pe)),me(0x8,_0x205ae0(_0x5a6ecd))],Et);var Kn=Object[_0x20e40c(0x28e)],Yn=(_0x385d23,_0xcc515c,_0x4aa340,_0x316510)=>{var _0x5cd8f1=_0x20e40c;for(var _0x4acea4=_0x316510>0x1?void 0x0:_0x316510?Kn(_0xcc515c,_0x4aa340):_0xcc515c,_0x437d4e=_0x385d23[_0x5cd8f1(0x21f)]-0x1,_0x4544c4;_0x437d4e>=0x0;_0x437d4e--)(_0x4544c4=_0x385d23[_0x437d4e])&&(_0x4acea4=_0x4544c4(_0x4acea4)||_0x4acea4);return _0x4acea4;},be=(_0x1c901b,_0xf2143c)=>(_0x3b4fbb,_0x2df190)=>_0xf2143c(_0x3b4fbb,_0x2df190,_0x1c901b);let xe=class extends _0x5f3840{constructor(_0x69e1b2,_0x3e459a,_0xbaa5c5,_0x49dab6,_0x46c026,_0x2dbd6a){var _0x1bfb5f=_0x20e40c;super(),N(this,_0x1bfb5f(0x4e5),new _0x161fc9(void 0x0)),N(this,'socket$',this[_0x1bfb5f(0x4e5)][_0x1bfb5f(0x26a)]()),N(this,_0x1bfb5f(0x263),null),N(this,_0x1bfb5f(0x3d4),new Map()),N(this,_0x1bfb5f(0x2a9),new _0x161fc9(Ee[_0x1bfb5f(0x284)])),N(this,_0x1bfb5f(0x49d),this[_0x1bfb5f(0x2a9)][_0x1bfb5f(0x26a)]()),N(this,_0x1bfb5f(0x4d7),!0x1),N(this,_0x1bfb5f(0x2d2)),N(this,_0x1bfb5f(0x31a),0x0),N(this,_0x1bfb5f(0x4c6)),N(this,_0x1bfb5f(0x2c2)),(this[_0x1bfb5f(0x337)]=_0x69e1b2,this['_logService']=_0x3e459a,this[_0x1bfb5f(0x444)]=_0xbaa5c5,this[_0x1bfb5f(0x272)]=_0x49dab6,this[_0x1bfb5f(0x256)]=_0x46c026,this[_0x1bfb5f(0x3ae)]=_0x2dbd6a,this[_0x1bfb5f(0x352)]());}get['_socket'](){var _0x3b2956=_0x20e40c;return this[_0x3b2956(0x4e5)][_0x3b2956(0x4e1)]();}[_0x20e40c(0x352)](){var _0x42d2b3=_0x20e40c;this['_networkConditionService']&&this['disposeWithMe'](this[_0x42d2b3(0x3ae)][_0x42d2b3(0x3fa)][_0x42d2b3(0x481)](_0x18b03c=>{var _0x3aacf6=_0x42d2b3;_0x18b03c&&!this[_0x3aacf6(0x32d)]&&this['reconnect'](),_0x18b03c||this['_onOffline']();}));}[_0x20e40c(0x28c)](){var _0x482462=_0x20e40c;super[_0x482462(0x28c)](),this[_0x482462(0x4e4)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x482462(0x3d4)]['forEach'](_0x243d24=>_0x243d24[_0x482462(0x28c)]()),this['_sessions'][_0x482462(0x420)](),this['_status$']['complete']();}async[_0x20e40c(0x4b0)](_0x4a7db1){var _0x1860fe=_0x20e40c;if(this[_0x1860fe(0x3d4)][_0x1860fe(0x1e3)](_0x4a7db1))return this[_0x1860fe(0x3d4)][_0x1860fe(0x3c0)](_0x4a7db1);this['_tryEnsureSocket']();const _0x46a6ff=this[_0x1860fe(0x337)][_0x1860fe(0x1e9)](Et,_0x4a7db1,this[_0x1860fe(0x4e5)]['asObservable']());return this[_0x1860fe(0x3d4)][_0x1860fe(0x3fc)](_0x4a7db1,_0x46a6ff),_0x46a6ff;}[_0x20e40c(0x398)](_0x253851){var _0x480a86=_0x20e40c,_0x54b905;const _0xd6a6c=this['_sessions'][_0x480a86(0x3c0)](_0x253851);_0xd6a6c&&(this[_0x480a86(0x3d4)]['delete'](_0x253851),_0xd6a6c[_0x480a86(0x44e)]()),this[_0x480a86(0x3d4)][_0x480a86(0x35d)]||(_0x54b905=this[_0x480a86(0x32d)])==null||_0x54b905[_0x480a86(0x44e)]();}[_0x20e40c(0x350)](){var _0x5e1008=_0x20e40c;this[_0x5e1008(0x31a)]=0x0,this[_0x5e1008(0x4e4)](),this['_tryReconnect']();}[_0x20e40c(0x4e4)](){var _0x488dad=_0x20e40c;this[_0x488dad(0x2d2)]!=null&&(clearTimeout(this[_0x488dad(0x2d2)]),this[_0x488dad(0x2d2)]=null);}async['_createSocket'](){var _0x30f156=_0x20e40c,_0x3f7647,_0x18413c;const _0xc77adb=this[_0x30f156(0x444)][_0x30f156(0x1dc)](In),_0x13970f=this[_0x30f156(0x444)][_0x30f156(0x1dc)](q),_0x3588c0=(_0x18413c=(_0x3f7647=_0x13970f==null?void 0x0:_0x13970f[_0x30f156(0x4c5)])!=null?_0x3f7647:_0xc77adb)!=null?_0x18413c:Tn,_0x5ae8f0=await this[_0x30f156(0x272)][_0x30f156(0x340)](_0x3588c0);return this['_candidateSocket']=_0x5ae8f0,_0x5ae8f0;}async[_0x20e40c(0x3e0)](){var _0x4801d7=_0x20e40c,_0xd58fe6,_0x3a9cc8;try{const _0x3c7c22=(_0x3a9cc8=(_0xd58fe6=this[_0x4801d7(0x32d)])!=null?_0xd58fe6:this[_0x4801d7(0x263)])!=null?_0x3a9cc8:await this[_0x4801d7(0x339)]();if(_0x3c7c22){const _0x5e0cd8=_0x3c7c22[_0x4801d7(0x3ac)];_0x3c7c22['send']=_0x4ff870=>(this[_0x4801d7(0x394)](),_0x5e0cd8[_0x4801d7(0x3d2)](_0x3c7c22,[_0x4ff870])),_0x3c7c22[_0x4801d7(0x20b)][_0x4801d7(0x481)](_0x42c75c=>this[_0x4801d7(0x2a6)](_0x3c7c22,_0x42c75c)),_0x3c7c22[_0x4801d7(0x3e5)]['pipe'](_0x393dda(0x1))[_0x4801d7(0x481)](_0x3aae4b=>this[_0x4801d7(0x357)][_0x4801d7(0x220)](_0x4801d7(0x399),_0x3aae4b)),_0x3c7c22['open$'][_0x4801d7(0x2f3)](_0x393dda(0x1))['subscribe'](()=>{var _0x59b162=_0x4801d7;this[_0x59b162(0x33f)](_0x3c7c22);}),_0x3c7c22['close$'][_0x4801d7(0x2f3)](_0x393dda(0x1))[_0x4801d7(0x481)](_0x1d1d80=>{var _0x21bafd=_0x4801d7;this['_logService'][_0x21bafd(0x1eb)](_0x21bafd(0x2e0),_0x21bafd(0x31c),_0x1d1d80),this['_onConnectionFailed']();});}}catch(_0x26d0bc){this['_logService'][_0x4801d7(0x220)](_0x26d0bc),this[_0x4801d7(0x2f4)]();}}[_0x20e40c(0x33f)](_0x2faf79){var _0x373c9b=_0x20e40c;this['_logService'][_0x373c9b(0x1eb)](_0x373c9b(0x2e0),_0x373c9b(0x253)),_0x2faf79[_0x373c9b(0x3ac)]({'cmd':F['HELLO']}),this[_0x373c9b(0x394)]();}['_onOffline'](){var _0xee9ea=_0x20e40c;this[_0xee9ea(0x4d7)]=!0x1,this[_0xee9ea(0x263)]=null,this[_0xee9ea(0x2a9)]['next'](Ee[_0xee9ea(0x25e)]),this['_socket$'][_0xee9ea(0x203)](null),this[_0xee9ea(0x2a4)](),this['_clearHeartbeatTimer']();}[_0x20e40c(0x2f4)](){var _0x2b442e=_0x20e40c,_0x402658;this[_0x2b442e(0x2ee)](),this['_retryCount']<((_0x402658=this[_0x2b442e(0x444)][_0x2b442e(0x1dc)](On))!=null?_0x402658:yn)?(this[_0x2b442e(0x256)][_0x2b442e(0x460)]({'id':re[_0x2b442e(0x498)]}),this['_tryReconnect']()):this[_0x2b442e(0x256)][_0x2b442e(0x460)]({'id':re['SOCKET_FAILED']});}['_tryReconnect'](){var _0xb619d7=_0x20e40c,_0x1fe0bc;const _0x399711=this[_0xb619d7(0x31a)],_0x5c6937=this[_0xb619d7(0x444)][_0xb619d7(0x1dc)](q),_0x170da6=_0x399711===0x0?0x0:((_0x1fe0bc=_0x5c6937==null?void 0x0:_0x5c6937[_0xb619d7(0x39d)])!=null?_0x1fe0bc:bn)*0x2**_0x399711;this[_0xb619d7(0x2d2)]=setTimeout(()=>{var _0x6cb96e=_0xb619d7;clearTimeout(this[_0x6cb96e(0x2d2)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x170da6),this[_0xb619d7(0x31a)]+=0x1;}[_0x20e40c(0x2a6)](_0x15c775,_0x3a5c44){var _0x402a7c=_0x20e40c;const {cmd:_0x52c370}=_0x3a5c44;_0x52c370===F[_0x402a7c(0x31e)]&&!this[_0x402a7c(0x4d7)]&&(_0x15c775[_0x402a7c(0x4dd)]=_0x3a5c44['data'][_0x402a7c(0x4dd)],this[_0x402a7c(0x4e5)][_0x402a7c(0x203)](_0x15c775),this[_0x402a7c(0x2a9)]['next'](Ee[_0x402a7c(0x265)]),this['_socketReady']=!0x0,this[_0x402a7c(0x263)]=null),_0x52c370===F[_0x402a7c(0x3ea)]&&this[_0x402a7c(0x2a4)](),this['_rescheduleHeartbeat']();}[_0x20e40c(0x394)](){var _0x5b75ec=_0x20e40c,_0x4b5361;this[_0x5b75ec(0x3f3)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x5b75ec(0x222)](),(_0x4b5361=this['_configService']['getConfig'](Cn))!=null?_0x4b5361:Rn);}[_0x20e40c(0x222)](){var _0xe86372=_0x20e40c;this[_0xe86372(0x32d)][_0xe86372(0x3ac)]({'cmd':F[_0xe86372(0x3ea)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x511b10=_0x20e40c,_0x470b53;this[_0x511b10(0x2c2)]=setTimeout(()=>this[_0x511b10(0x2f4)](),(_0x470b53=this[_0x511b10(0x444)][_0x511b10(0x1dc)](mi))!=null?_0x470b53:gi);}[_0x20e40c(0x3f3)](){var _0x2c5a1a=_0x20e40c;this[_0x2c5a1a(0x4c6)]!=null&&(clearTimeout(this[_0x2c5a1a(0x4c6)]),this['_sendHeartbeatTimer']=null);}[_0x20e40c(0x2a4)](){var _0x302e6f=_0x20e40c;this[_0x302e6f(0x2c2)]!=null&&(clearTimeout(this[_0x302e6f(0x2c2)]),this[_0x302e6f(0x2c2)]=null);}};xe=Yn([be(0x0,_0x6fdf38(_0x4441be)),be(0x1,_0xc8c642),be(0x2,_0x1f5986),be(0x3,Ii),be(0x4,_0x6fdf38(pe)),be(0x5,_0x205ae0(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x20e40c(0x2a8)]((t+0x100)[_0x20e40c(0x2da)](0x10)[_0x20e40c(0x2fd)](0x1));function qn(_0x260631,_0x208c3e=0x0){var _0x46ac94=_0x20e40c;return(V[_0x260631[_0x208c3e+0x0]]+V[_0x260631[_0x208c3e+0x1]]+V[_0x260631[_0x208c3e+0x2]]+V[_0x260631[_0x208c3e+0x3]]+'-'+V[_0x260631[_0x208c3e+0x4]]+V[_0x260631[_0x208c3e+0x5]]+'-'+V[_0x260631[_0x208c3e+0x6]]+V[_0x260631[_0x208c3e+0x7]]+'-'+V[_0x260631[_0x208c3e+0x8]]+V[_0x260631[_0x208c3e+0x9]]+'-'+V[_0x260631[_0x208c3e+0xa]]+V[_0x260631[_0x208c3e+0xb]]+V[_0x260631[_0x208c3e+0xc]]+V[_0x260631[_0x208c3e+0xd]]+V[_0x260631[_0x208c3e+0xe]]+V[_0x260631[_0x208c3e+0xf]])[_0x46ac94(0x3fd)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x2cb7ee=_0x20e40c;if(!ut){if(typeof crypto>'u'||!crypto[_0x2cb7ee(0x26f)])throw new Error(_0x2cb7ee(0x2d3));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x20e40c(0x48f)]&&crypto[_0x20e40c(0x48f)][_0x20e40c(0x36c)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3e8e9d,_0x4e7728,_0x133420){var _0x3804fb=_0x20e40c,_0x3c5d3a,_0x221bc5,_0x514004;if(Yt['randomUUID']&&!_0x3e8e9d)return Yt[_0x3804fb(0x48f)]();_0x3e8e9d=_0x3e8e9d||{};const _0x35f13f=(_0x514004=(_0x221bc5=_0x3e8e9d['random'])!=null?_0x221bc5:(_0x3c5d3a=_0x3e8e9d[_0x3804fb(0x4b7)])==null?void 0x0:_0x3c5d3a[_0x3804fb(0x25a)](_0x3e8e9d))!=null?_0x514004:Jn();if(_0x35f13f[_0x3804fb(0x21f)]<0x10)throw new Error(_0x3804fb(0x459));return _0x35f13f[0x6]=_0x35f13f[0x6]&0xf|0x40,_0x35f13f[0x8]=_0x35f13f[0x8]&0x3f|0x80,qn(_0x35f13f);}const J=_0x2416cb(_0x20e40c(0x40d));function Br(_0x2d4ad9){var _0xc566e3=_0x20e40c;return _0xc566e3(0x4ac)+_0x2d4ad9;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x20fadb,_0x2da827,_0x3bba3d,_0x2c2167)=>{for(var _0x206bb2=_0x2c2167>0x1?void 0x0:_0x2c2167?Qn(_0x2da827,_0x3bba3d):_0x2da827,_0x2f5089=_0x20fadb['length']-0x1,_0x5dfdab;_0x2f5089>=0x0;_0x2f5089--)(_0x5dfdab=_0x20fadb[_0x2f5089])&&(_0x206bb2=_0x5dfdab(_0x206bb2)||_0x206bb2);return _0x206bb2;},dt=(_0x3d4862,_0x337eaf)=>(_0x2f1150,_0x35801b)=>_0x337eaf(_0x2f1150,_0x35801b,_0x3d4862);function ts(_0x2e3c3b){var _0x3209db=_0x20e40c;const {unitID:_0x29f64d,mutations:_0xa099c4}=_0x2e3c3b;return{'unitId':_0x29f64d,'subUnitId':_0xa099c4[0x0][_0x3209db(0x24d)][_0x3209db(0x41c)]};}let it=class{constructor(_0x2b45a8,_0x533ffc,_0x3b9c47){var _0xe92a27=_0x20e40c;this[_0xe92a27(0x337)]=_0x2b45a8,this[_0xe92a27(0x384)]=_0x533ffc,this[_0xe92a27(0x1ee)]=_0x3b9c47;}['transformSelections'](_0x5d0037){var _0xf6efd7=_0x20e40c,_0x1bb5b8,_0x3d2143,_0x1f87e2,_0xd54d27;const _0x515c18=this[_0xf6efd7(0x337)][_0xf6efd7(0x3c0)](_0x58d595),{unitId:_0x35e41d,subUnitId:_0x52cd5b}=ts(_0x5d0037),_0x1848c3=_0x515c18==null?void 0x0:_0x515c18[_0xf6efd7(0x238)](_0x35e41d)[_0xf6efd7(0x461)](),_0x3f628e=(_0x3d2143=(_0x1bb5b8=this[_0xf6efd7(0x1ee)][_0xf6efd7(0x419)](_0x35e41d))==null?void 0x0:_0x1bb5b8[_0xf6efd7(0x368)]())==null?void 0x0:_0x3d2143[_0xf6efd7(0x44f)]();if(_0x1848c3[_0xf6efd7(0x21f)]===0x0||!_0x35e41d||!_0x52cd5b)return;const _0x3f40dd=[{'id':_0x3e822c['id'],'params':{'unitId':_0x35e41d,'subUnitId':_0x3f628e,'selections':_0x188155[_0xf6efd7(0x4a3)](_0x1848c3)}}],_0x42ec7c=this['_transformService'][_0xf6efd7(0x20e)](_0x5d0037,_0x3f40dd);if(!_0x115096(_0x42ec7c))throw _0x42ec7c[_0xf6efd7(0x220)];const _0x1ba1b0=(_0xd54d27=(_0x1f87e2=_0x42ec7c[_0xf6efd7(0x407)][0x0])==null?void 0x0:_0x1f87e2[_0xf6efd7(0x24d)])==null?void 0x0:_0xd54d27[_0xf6efd7(0x4bc)];if(Array[_0xf6efd7(0x2a1)](_0x1ba1b0)&&_0x1ba1b0[_0xf6efd7(0x21f)]){if(_0x1ba1b0[_0xf6efd7(0x21f)]===_0x3f40dd[0x0][_0xf6efd7(0x24d)][_0xf6efd7(0x4bc)]['length']&&_0x1ba1b0[_0xf6efd7(0x4c7)]((_0x5b47c3,_0x2818ed)=>_0x4dd75a[_0xf6efd7(0x4af)](_0x5b47c3['range'],_0x3f40dd[0x0][_0xf6efd7(0x24d)]['selections'][_0x2818ed][_0xf6efd7(0x215)])))return;this[_0xf6efd7(0x337)]['get'](_0x179fd9)[_0xf6efd7(0x2aa)](_0x3e822c['id'],{'unitId':_0x35e41d,'subUnitId':_0x3f628e,'selections':_0x1ba1b0});}}};it=es([dt(0x0,_0x6fdf38(_0x4441be)),dt(0x1,_0x398454),dt(0x2,_0x902ab0)],it);const ht=_0x2416cb('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x54f9fb=>(_0x54f9fb[_0x54f9fb['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x20e40c(0x45b),_0x54f9fb[_0x54f9fb['OTHER_CLIENTS_EDITING']=0x1]=_0x20e40c(0x401),_0x54f9fb))(Ci||{});const is=new Set([_0x2e3bbb['id']]);function qt(_0x2a9926,_0x1316bb,_0x282fef,_0x9ab486,_0x4752a8){var _0x2aee83=_0x20e40c,_0x3ec7aa,_0x5300a3,_0x18209d,_0x5a146a;const _0x2ff662=[];for(const _0x4797cf of _0x2a9926)if(is[_0x2aee83(0x1e3)](_0x4797cf['id'])){if(_0x2ff662['length']>0x0)break;_0x2ff662[_0x2aee83(0x2a8)](_0x4797cf);break;}else _0x2ff662['push'](_0x4797cf);const _0x3e78b6=(_0x5300a3=(_0x3ec7aa=_0x4752a8['getCurrentUser']())==null?void 0x0:_0x3ec7aa['userID'])!=null?_0x5300a3:'unknown',_0x5e5f88=(_0x5a146a=(_0x18209d=_0x4752a8[_0x2aee83(0x2e4)]())==null?void 0x0:_0x18209d[_0x2aee83(0x4dd)])!=null?_0x5a146a:_0x2aee83(0x441);return{'changeset':{'unitID':_0x1316bb,'type':_0x367ac3(_0x282fef[_0x2aee83(0x293)](_0x1316bb)),'baseRev':_0x9ab486['getCurrentRevOfUnit'](_0x1316bb),'revision':0x0,'userID':_0x3e78b6,'memberID':_0x5e5f88,'mutations':_0x2ff662},'pendingMutations':_0x2a9926['slice'](_0x2ff662[_0x2aee83(0x21f)])};}function ns(_0x5ecfef,_0xaff1c3,_0x22de60,_0x1fdb29,_0x4dbefa){var _0x500f78=_0x20e40c,_0x586910,_0x2d884e,_0x248e49,_0x22dba5;const _0x232476=[_0x5ecfef[_0x500f78(0x207)]((_0x43b54c,_0x15bf41)=>{var _0xbf53b5=_0x500f78,_0xe73189;const {id:_0x329ab8}=_0x43b54c,{id:_0x532c0b,type:_0x3e6f5f}=_0x15bf41,_0x431a63=(_0xe73189=_0x43b54c[_0xbf53b5(0x24d)])!=null?_0xe73189:{'actions':null},_0x5cbacb=_0x15bf41[_0xbf53b5(0x24d)];if(_0x329ab8&&_0x329ab8!==_0x532c0b)throw new Error(_0xbf53b5(0x202)+_0x329ab8+_0xbf53b5(0x259)+_0x532c0b+'.');return{..._0x43b54c,'id':_0x532c0b,'type':_0x3e6f5f,'params':{'unitId':_0x5cbacb['unitId'],'textRanges':_0x5cbacb[_0xbf53b5(0x32e)],'actions':_0x2ff8b5[_0xbf53b5(0x25d)](_0x431a63[_0xbf53b5(0x29f)],_0x5cbacb[_0xbf53b5(0x29f)])}};},{})],_0x52c2a9=(_0x2d884e=(_0x586910=_0x4dbefa[_0x500f78(0x2e4)]())==null?void 0x0:_0x586910[_0x500f78(0x334)])!=null?_0x2d884e:_0x500f78(0x441),_0x19cbb0=(_0x22dba5=(_0x248e49=_0x4dbefa['getCurrentUser']())==null?void 0x0:_0x248e49[_0x500f78(0x4dd)])!=null?_0x22dba5:_0x500f78(0x441);return{'changeset':{'unitID':_0xaff1c3,'type':_0x367ac3(_0x22de60[_0x500f78(0x293)](_0xaff1c3)),'baseRev':_0x1fdb29[_0x500f78(0x474)](_0xaff1c3),'revision':0x0,'userID':_0x52c2a9,'memberID':_0x19cbb0,'mutations':_0x232476},'pendingMutations':[]};}function Ri(_0x10dc30,_0x2585ef){var _0x56493a=_0x20e40c;const _0x27d05b=new _0x164028(0x1);return setTimeout(()=>_0x27d05b[_0x56493a(0x203)](_0x2585ef),_0x10dc30),_0x27d05b['asObservable']()['pipe'](_0x1a9f2d(0x1));}const ss={'id':_0x36e7b7['id'],'type':_0x47338f[_0x20e40c(0x40f)],'params':{}};var rs=Object[_0x20e40c(0x28e)],Te=(_0x27d661,_0x21f193,_0x19b741,_0x17bae4)=>{for(var _0x19ac10=_0x17bae4>0x1?void 0x0:_0x17bae4?rs(_0x21f193,_0x19b741):_0x21f193,_0x4041ff=_0x27d661['length']-0x1,_0xbe87b2;_0x4041ff>=0x0;_0x4041ff--)(_0xbe87b2=_0x27d661[_0x4041ff])&&(_0x19ac10=_0xbe87b2(_0x19ac10)||_0x19ac10);return _0x19ac10;},P=(_0x4ac6c6,_0x12987d)=>(_0x8761a9,_0x39b5be)=>_0x12987d(_0x8761a9,_0x39b5be,_0x4ac6c6),bi=(_0x1922f7=>(_0x1922f7['NOT_COLLAB']=_0x20e40c(0x34c),_0x1922f7[_0x20e40c(0x412)]=_0x20e40c(0x33a),_0x1922f7[_0x20e40c(0x290)]=_0x20e40c(0x245),_0x1922f7[_0x20e40c(0x4a4)]=_0x20e40c(0x393),_0x1922f7[_0x20e40c(0x2fc)]=_0x20e40c(0x356),_0x1922f7[_0x20e40c(0x2cd)]=_0x20e40c(0x3a9),_0x1922f7[_0x20e40c(0x33c)]=_0x20e40c(0x363),_0x1922f7[_0x20e40c(0x25e)]=_0x20e40c(0x39a),_0x1922f7))(bi||{});const Oi=0xea60;class Ce{constructor(_0x212a83,_0x52717d,_0x561771,_0x42b7d6,_0x164bb2,_0x44364a,_0x473fcc,_0x3a6ed3,_0x2af40e){var _0x4cd127=_0x20e40c;N(this,_0x4cd127(0x294),null),N(this,_0x4cd127(0x250),[]),(this[_0x4cd127(0x24f)]=_0x212a83,this[_0x4cd127(0x480)]=_0x52717d,this[_0x4cd127(0x217)]=_0x164bb2,this['_commandService']=_0x44364a,this[_0x4cd127(0x3cc)]=_0x473fcc,this[_0x4cd127(0x1e8)]=_0x3a6ed3,this[_0x4cd127(0x26b)]=_0x2af40e,this[_0x4cd127(0x294)]=_0x561771,this[_0x4cd127(0x250)]=_0x42b7d6);}[_0x20e40c(0x312)](_0x5dc8d9){var _0x52cc0a=_0x20e40c;const _0x586a46=this[_0x52cc0a(0x1e8)]['getCurrentRevOfUnit'](this[_0x52cc0a(0x24f)]);return _0x5dc8d9[_0x52cc0a(0x35a)]>_0x586a46+0x1?(this[_0x52cc0a(0x217)][_0x52cc0a(0x32b)]({'from':_0x586a46,'to':_0x5dc8d9['revision']-0x1}),!0x0):!0x1;}[_0x20e40c(0x492)](_0x30a2c9){var _0x3d8ca2=_0x20e40c;this[_0x3d8ca2(0x3cc)]['transformUndoRedo'](this[_0x3d8ca2(0x24f)],_0x30a2c9);}[_0x20e40c(0x279)](_0x49086f){var _0x4192f4=_0x20e40c,_0x232125,_0x2e8b99;(_0x2e8b99=(_0x232125=this['_handler'])['onTransformSelections'])==null||_0x2e8b99[_0x4192f4(0x25a)](_0x232125,_0x49086f);}[_0x20e40c(0x2e3)](_0x3ba7de){var _0x8aaaf9=_0x20e40c,_0x464b3b,_0x2ed8b2;return(_0x2ed8b2=(_0x464b3b=this[_0x8aaaf9(0x217)])[_0x8aaaf9(0x28b)])==null?void 0x0:_0x2ed8b2[_0x8aaaf9(0x25a)](_0x464b3b,_0x3ba7de);}['_transformStateCache'](_0x7a76ff){var _0x1d6c6=_0x20e40c,_0x4742ec,_0x7e35b5;return(_0x7e35b5=(_0x4742ec=this[_0x1d6c6(0x217)])[_0x1d6c6(0x47a)])==null?void 0x0:_0x7e35b5[_0x1d6c6(0x25a)](_0x4742ec,_0x7a76ff);}[_0x20e40c(0x33b)](_0x514821){var _0x283ba8=_0x20e40c,_0x2ad97a,_0x3a3417,_0x33bd66;return(_0x33bd66=(_0x3a3417=(_0x2ad97a=this[_0x283ba8(0x217)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3a3417[_0x283ba8(0x25a)](_0x2ad97a,_0x514821))!=null?_0x33bd66:_0x514821;}[_0x20e40c(0x453)](_0x99193){var _0x447252=_0x20e40c,_0x1fdb1a,_0x378c15,_0x303793;return(_0x303793=(_0x378c15=(_0x1fdb1a=this[_0x447252(0x217)])[_0x447252(0x2f5)])==null?void 0x0:_0x378c15[_0x447252(0x25a)](_0x1fdb1a,_0x99193))!=null?_0x303793:_0x99193;}[_0x20e40c(0x295)](_0x40e5c7){var _0x3d7903=_0x20e40c,_0x4314f9,_0x2f975f;if(this[_0x3d7903(0x480)]===Q['UNIVER_DOC']){const {unitID:_0x11fc4e,mutations:_0x3d896e,memberID:_0x305de6}=_0x40e5c7,_0x44f67f=_0x3d896e[0x0]['params'][_0x3d7903(0x32e)];Array[_0x3d7903(0x2a1)](_0x44f67f)&&_0x44f67f[_0x3d7903(0x21f)]>0x0&&((_0x2f975f=(_0x4314f9=this['_handler'])[_0x3d7903(0x43f)])==null||_0x2f975f[_0x3d7903(0x25a)](_0x4314f9,{'unitID':_0x11fc4e,'memberID':_0x305de6,'textRanges':_0x44f67f}));}}[_0x20e40c(0x3ab)](){var _0x57a77e=_0x20e40c,_0x2bf076;(_0x2bf076=this[_0x57a77e(0x26b)])==null||_0x2bf076[_0x57a77e(0x38f)](this[_0x57a77e(0x24f)],this['type'],this[_0x57a77e(0x294)],this['_pendingMutations']);}[_0x20e40c(0x35b)](){var _0x2e14d5=_0x20e40c;return this[_0x2e14d5(0x1e8)][_0x2e14d5(0x474)](this[_0x2e14d5(0x24f)]);}[_0x20e40c(0x2dd)](){var _0x26bfb8=_0x20e40c;this[_0x26bfb8(0x1e8)][_0x26bfb8(0x1d6)](this['unitID']);}[_0x20e40c(0x3dc)](_0x6f9f6){var _0x47c2bd=_0x20e40c,_0x2726ba;let _0x315724=this[_0x47c2bd(0x33b)](_0x6f9f6);_0x315724=this[_0x47c2bd(0x453)](_0x315724);const _0x429a1f=_0x222c62(_0x315724[_0x47c2bd(0x3e2)],this[_0x47c2bd(0x1e1)],{'fromCollab':!0x0});if(!_0x429a1f[_0x47c2bd(0x42e)])throw _0x429a1f[_0x47c2bd(0x220)]instanceof Error?_0x429a1f[_0x47c2bd(0x220)]:new Error((_0x2726ba=_0x429a1f['error'])!=null?_0x2726ba:_0x47c2bd(0x29b));this[_0x47c2bd(0x2e3)](_0x315724),this[_0x47c2bd(0x422)](_0x315724),this[_0x47c2bd(0x492)](_0x6f9f6),this[_0x47c2bd(0x279)](_0x315724),this[_0x47c2bd(0x295)](_0x315724),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0xddb646,_0x381f2f,_0x2ade60,_0x572559,_0x2fa270,_0x28c411,_0x2441e6,_0x599405,_0x7a38dc,_0x37134f){var _0xe0698b=_0x20e40c;super(_0xddb646,_0x381f2f,null,[],_0x2ade60,_0x2441e6,_0x28c411,_0x572559,_0x37134f),N(this,_0xe0698b(0x1da),_0xe0698b(0x33a)),(this['_injector']=_0x2fa270,this[_0xe0698b(0x357)]=_0x599405,this[_0xe0698b(0x384)]=_0x7a38dc,this[_0xe0698b(0x1e6)]=_0x37134f);}[_0x20e40c(0x442)](_0x244b26){var _0x2c9728=_0x20e40c;const _0x149c96=this[_0x2c9728(0x337)][_0x2c9728(0x1e9)](ae,this['unitID'],this[_0x2c9728(0x480)],[_0x244b26],this[_0x2c9728(0x217)]);return _0x149c96[_0x2c9728(0x4c4)](),_0x149c96['_updateLocalCache'](),_0x149c96;}[_0x20e40c(0x4d6)](_0x240b65){var _0x50dc07=_0x20e40c;if(this['_checkMissing'](_0x240b65))return this['_injector'][_0x50dc07(0x1e9)](ee,this[_0x50dc07(0x24f)],this[_0x50dc07(0x480)],null,[],null,[_0x240b65],this['_handler']);try{const _0x157760=this[_0x50dc07(0x384)][_0x50dc07(0x20e)](_0x240b65,[ss]);if(_0x115096(_0x157760)){const {c1Prime:_0x3bbcab}=_0x157760;return this['_executeRemoteChangeset'](_0x3bbcab),this;}throw _0x157760[_0x50dc07(0x220)];}catch(_0x25da48){return this[_0x50dc07(0x357)][_0x50dc07(0x220)](_0x25da48),this[_0x50dc07(0x315)](!0x1);}}[_0x20e40c(0x315)](_0x483370){var _0x3c4059=_0x20e40c;return this[_0x3c4059(0x337)][_0x3c4059(0x1e9)](ue,this['unitID'],this['type'],null,[],this[_0x3c4059(0x217)],_0x483370);}[_0x20e40c(0x437)](){var _0x53271c=_0x20e40c;throw new Error(_0x53271c(0x37a));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x20e40c(0x27e)](){return this;}[_0x20e40c(0x4e2)](){var _0x1491ef=_0x20e40c;return this['_injector'][_0x1491ef(0x1e9)](de,this[_0x1491ef(0x24f)],this[_0x1491ef(0x480)],null,[],this[_0x1491ef(0x217)]);}[_0x20e40c(0x2c7)](){return this;}[_0x20e40c(0x27f)](){var _0x9dc236=_0x20e40c;throw new Error(_0x9dc236(0x21b));}['fetchMiss'](){var _0x531e55=_0x20e40c;const _0x4b7ea2=this[_0x531e55(0x1e8)][_0x531e55(0x474)](this[_0x531e55(0x24f)]);return this[_0x531e55(0x217)][_0x531e55(0x32b)]({'from':_0x4b7ea2,'to':0x0}),this[_0x531e55(0x337)][_0x531e55(0x1e9)](ee,this['unitID'],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x6fdf38(_0x19ccce)),P(0x4,_0x6fdf38(_0x4441be)),P(0x5,_0x46af88),P(0x6,_0x179fd9),P(0x7,_0xc8c642),P(0x8,_0x398454),P(0x9,_0x205ae0(J))],Ne);let ae=class extends Ce{constructor(_0x2631a8,_0x3e4f60,_0x96f8ed,_0x51bf11,_0x52fab1,_0x21943a,_0x3df949,_0x130154,_0x301a71,_0x17f8c5,_0x4137e8,_0x46d088,_0x2b70d7,_0x2d797c){var _0x1b24a3=_0x20e40c;super(_0x2631a8,_0x3e4f60,null,_0x96f8ed,_0x51bf11,_0x301a71,_0x2b70d7,_0x21943a,_0x2d797c),N(this,_0x1b24a3(0x1da),'pending'),N(this,_0x1b24a3(0x22c),null),N(this,_0x1b24a3(0x418),null),(this[_0x1b24a3(0x337)]=_0x52fab1,this[_0x1b24a3(0x4bf)]=_0x3df949,this[_0x1b24a3(0x357)]=_0x130154,this['_configService']=_0x17f8c5,this[_0x1b24a3(0x384)]=_0x4137e8,this[_0x1b24a3(0x39c)]=_0x46d088);}['appendMutation'](_0x24b556){var _0x5c28bc=_0x20e40c;return this[_0x5c28bc(0x250)]['push'](_0x24b556),this[_0x5c28bc(0x3ab)](),this;}['onRemoteChangeset'](_0x4dd605){var _0x488643=_0x20e40c;if(this[_0x488643(0x312)](_0x4dd605))return this[_0x488643(0x36a)](),this[_0x488643(0x337)][_0x488643(0x1e9)](ee,this[_0x488643(0x24f)],this[_0x488643(0x480)],null,this[_0x488643(0x250)],null,[_0x4dd605],this[_0x488643(0x217)]);try{const _0x96f6bc=this['_transformService'][_0x488643(0x20e)](_0x4dd605,this[_0x488643(0x250)]);if(_0x115096(_0x96f6bc)){const {c1Prime:_0x437a74,m2Prime:_0x44dd14}=_0x96f6bc;this['_executeRemoteChangeset'](_0x437a74);const _0x22bbdc=this[_0x488643(0x337)][_0x488643(0x1e9)](ae,this['unitID'],this['type'],_0x44dd14,this[_0x488643(0x217)]);this[_0x488643(0x36a)]();const _0x57967e=new Date()[_0x488643(0x20f)](),_0x1a0c3d=this[_0x488643(0x22c)]?Math[_0x488643(0x298)](this[_0x488643(0x22c)]-_0x57967e,0x0):this[_0x488643(0x4b6)]();return _0x22bbdc[_0x488643(0x4c4)](_0x1a0c3d),_0x22bbdc;}throw _0x96f6bc['error'];}catch(_0x1265ce){return this[_0x488643(0x357)][_0x488643(0x220)](_0x1265ce),this[_0x488643(0x315)](!0x1);}}[_0x20e40c(0x437)](){var _0x18f1bf=_0x20e40c;throw new Error(_0x18f1bf(0x496));}['onRemoteRej'](){var _0x39e719=_0x20e40c;throw new Error(_0x39e719(0x4cd));}[_0x20e40c(0x27e)](){return this;}['toggleOffline'](){var _0x596b9d=_0x20e40c;return this[_0x596b9d(0x36a)](),this[_0x596b9d(0x337)][_0x596b9d(0x1e9)](de,this[_0x596b9d(0x24f)],this[_0x596b9d(0x480)],null,this[_0x596b9d(0x250)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x314da1){var _0x4c47e7=_0x20e40c;const _0x4b04cd=_0x314da1!=null?_0x314da1:this[_0x4c47e7(0x4b6)]();this[_0x4c47e7(0x22c)]=new Date()[_0x4c47e7(0x20f)]()+_0x4b04cd,this['_sendingTimer']=setTimeout(()=>{var _0x57265f=_0x4c47e7;this['_clearScheduledTask']();let _0x361f74=null;switch(this[_0x57265f(0x480)]){case Q[_0x57265f(0x46d)]:{_0x361f74=qt(this[_0x57265f(0x250)],this[_0x57265f(0x24f)],this['_univerInstanceService'],this[_0x57265f(0x1e8)],this[_0x57265f(0x4bf)]);break;}case Q['UNIVER_DOC']:{this[_0x57265f(0x250)][_0x57265f(0x4c7)](_0x1bae41=>_0x1bae41['id']===_0x46e57e['id'])?_0x361f74=ns(this[_0x57265f(0x250)],this['unitID'],this['_univerInstanceService'],this[_0x57265f(0x1e8)],this['_memberService']):_0x361f74=qt(this[_0x57265f(0x250)],this[_0x57265f(0x24f)],this[_0x57265f(0x39c)],this[_0x57265f(0x1e8)],this[_0x57265f(0x4bf)]);break;}default:throw new Error(_0x57265f(0x344)+this['type']+_0x57265f(0x4e7));}const {changeset:_0x324dc8,pendingMutations:_0x3bd40b}=_0x361f74;this['_handler'][_0x57265f(0x41f)](_0x324dc8);const _0x3dacc8=_0x3bd40b[_0x57265f(0x21f)]?this[_0x57265f(0x337)]['createInstance'](oe,this[_0x57265f(0x24f)],this['type'],_0x324dc8,_0x3bd40b,this[_0x57265f(0x217)],void 0x0):this[_0x57265f(0x337)][_0x57265f(0x1e9)](le,this[_0x57265f(0x24f)],this['type'],_0x324dc8,this[_0x57265f(0x217)]);_0x3dacc8['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x3dacc8);},_0x4b04cd);}[_0x20e40c(0x4b6)](){var _0x224cd9=_0x20e40c,_0x47e17e;const _0xd4bd3c=this[_0x224cd9(0x444)][_0x224cd9(0x1dc)](q);return(_0x47e17e=_0xd4bd3c==null?void 0x0:_0xd4bd3c[_0x224cd9(0x370)])!=null?_0x47e17e:En;}[_0x20e40c(0x27f)](){var _0x185d32=_0x20e40c;throw new Error(_0x185d32(0x438));}['_clearScheduledTask'](){var _0xbdb653=_0x20e40c;this[_0xbdb653(0x418)]!=null&&(clearTimeout(this[_0xbdb653(0x418)]),this[_0xbdb653(0x418)]=null);}[_0x20e40c(0x315)](_0x43fffd){var _0x47628c=_0x20e40c;return this[_0x47628c(0x36a)](),this['_injector'][_0x47628c(0x1e9)](ue,this[_0x47628c(0x24f)],this['type'],null,this['_pendingMutations'],this[_0x47628c(0x217)],_0x43fffd);}};ae=Te([P(0x4,_0x6fdf38(_0x4441be)),P(0x5,_0x6fdf38(_0x19ccce)),P(0x6,_0x6fdf38(Le)),P(0x7,_0xc8c642),P(0x8,_0x179fd9),P(0x9,_0x1f5986),P(0xa,_0x398454),P(0xb,_0x902ab0),P(0xc,_0x46af88),P(0xd,_0x205ae0(J))],ae);let le=class extends Ce{constructor(_0x2bcf83,_0x465804,_0x334d7c,_0x59bcc8,_0x2ce385,_0x4d0d78,_0x1d793b,_0x1a3370,_0x150577,_0x403743,_0x138029){var _0x2dee09=_0x20e40c;super(_0x2bcf83,_0x465804,_0x334d7c,[],_0x59bcc8,_0x1d793b,_0x403743,_0x4d0d78,_0x138029),N(this,_0x2dee09(0x1da),_0x2dee09(0x393)),N(this,'_resendTimeout',0x0),N(this,_0x2dee09(0x212)),N(this,_0x2dee09(0x447)),(this[_0x2dee09(0x337)]=_0x2ce385,this['_logService']=_0x1a3370,this[_0x2dee09(0x384)]=_0x150577);}['appendMutation'](_0xa3a0df){var _0x345e6b=_0x20e40c;this['_clearScheduledTask']();const _0x35e6a7=this[_0x345e6b(0x337)][_0x345e6b(0x1e9)](oe,this['unitID'],this[_0x345e6b(0x480)],this[_0x345e6b(0x294)],[_0xa3a0df],this[_0x345e6b(0x217)],this[_0x345e6b(0x212)]);return _0x35e6a7[_0x345e6b(0x3ab)](),_0x35e6a7;}[_0x20e40c(0x4d6)](_0x3bf746){var _0x70c6c9=_0x20e40c;if(this[_0x70c6c9(0x312)](_0x3bf746))return this[_0x70c6c9(0x36a)](),this['_injector'][_0x70c6c9(0x1e9)](ee,this[_0x70c6c9(0x24f)],this['type'],this[_0x70c6c9(0x294)],[],null,[_0x3bf746],this[_0x70c6c9(0x217)]);try{const _0x41a88e=this[_0x70c6c9(0x384)]['transformChangesets']([_0x3bf746],[this[_0x70c6c9(0x294)]],!0x1);if(_0x1ed145(_0x41a88e)){const {c1Prime:_0x595dad,c2Prime:_0x6cfe68}=_0x41a88e;this[_0x70c6c9(0x3dc)](_0x595dad[0x0]),_0x6cfe68[0x0][_0x70c6c9(0x2a3)]=this[_0x70c6c9(0x35b)](),this['_clearScheduledTask']();const _0x523f40=this[_0x70c6c9(0x337)][_0x70c6c9(0x1e9)](le,this[_0x70c6c9(0x24f)],this[_0x70c6c9(0x480)],_0x6cfe68[0x0],this[_0x70c6c9(0x217)]);return _0x523f40[_0x70c6c9(0x3ab)](),_0x523f40;}return this[_0x70c6c9(0x315)](!0x1);}catch(_0x3bcd41){return this[_0x70c6c9(0x357)][_0x70c6c9(0x220)](_0x3bcd41),this[_0x70c6c9(0x315)](!0x1);}}['onRemoteAck'](_0x205c60){var _0x58ce38=_0x20e40c;this[_0x58ce38(0x36a)]();const _0x2aec9e=this[_0x58ce38(0x1e8)][_0x58ce38(0x474)](this[_0x58ce38(0x24f)]);if(_0x205c60[_0x58ce38(0x35a)]<_0x2aec9e-0x1)return this;if(this[_0x58ce38(0x312)](_0x205c60))return this[_0x58ce38(0x337)][_0x58ce38(0x1e9)](ee,this[_0x58ce38(0x24f)],this[_0x58ce38(0x480)],null,[],this[_0x58ce38(0x294)],[],this[_0x58ce38(0x217)]);this[_0x58ce38(0x2dd)]();const _0x1efa8b=this['_injector'][_0x58ce38(0x1e9)](Ne,this[_0x58ce38(0x24f)],this[_0x58ce38(0x480)],this[_0x58ce38(0x217)]);return _0x1efa8b['_updateLocalCache'](),_0x1efa8b;}[_0x20e40c(0x2c4)](_0x3e3578){var _0x3f9089=_0x20e40c;return this[_0x3f9089(0x315)](!!(_0x3e3578!=null&&_0x3e3578[_0x3f9089(0x22e)]));}[_0x20e40c(0x27e)](_0x36ac86){var _0x327be1=_0x20e40c;return this[_0x327be1(0x25b)]>Oi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x327be1(0x25b)],{'timeout':this['_resendTimeout'],'reqId':_0x36ac86['reqId']}),this[_0x327be1(0x447)]=this[_0x327be1(0x212)]['subscribe'](({reqId:_0x4462ce,timeout:_0x3d108e})=>{var _0x4a20be=_0x327be1;this[_0x4a20be(0x405)](_0x4462ce,_0x3d108e);}),this);}[_0x20e40c(0x4e2)](){var _0x49483d=_0x20e40c;return this[_0x49483d(0x36a)](),this['_injector']['createInstance'](de,this[_0x49483d(0x24f)],this[_0x49483d(0x480)],this['_awaitingChangeset'],[],this[_0x49483d(0x217)]);}[_0x20e40c(0x2c7)](){return this;}['resend'](){var _0x59e0df=_0x20e40c;this[_0x59e0df(0x217)]['onSendChangeset'](this[_0x59e0df(0x294)]);}[_0x20e40c(0x315)](_0x525236){var _0x34e966=_0x20e40c;return this[_0x34e966(0x36a)](),this['_injector'][_0x34e966(0x1e9)](ue,this[_0x34e966(0x24f)],this[_0x34e966(0x480)],this[_0x34e966(0x294)],[],this[_0x34e966(0x217)],_0x525236);}[_0x20e40c(0x405)](_0x3905a0,_0xe45c42){var _0x33335d=_0x20e40c,_0x83b8c3;_0x3905a0===((_0x83b8c3=this[_0x33335d(0x294)])==null?void 0x0:_0x83b8c3[_0x33335d(0x271)])&&(this[_0x33335d(0x27f)](),this[_0x33335d(0x25b)]=_0xe45c42===0x0?0x3e8:_0xe45c42*0x2);}[_0x20e40c(0x36a)](){var _0x2fa1ff=_0x20e40c,_0x1f242f;(_0x1f242f=this[_0x2fa1ff(0x447)])==null||_0x1f242f['unsubscribe'](),this[_0x2fa1ff(0x25b)]=0x0;}};le=Te([P(0x4,_0x6fdf38(_0x4441be)),P(0x5,_0x6fdf38(_0x19ccce)),P(0x6,_0x179fd9),P(0x7,_0xc8c642),P(0x8,_0x398454),P(0x9,_0x46af88),P(0xa,_0x205ae0(J))],le);let oe=class extends Ce{constructor(_0x618dd,_0x1cb4ad,_0x1f848a,_0x45adff,_0xdfc0c7,_0x43fb3a,_0x17db96,_0x4ea074,_0x2b49d6,_0x199aa3,_0x5ecd0f,_0xa5cff0,_0x1fad58){var _0x298c7c=_0x20e40c;super(_0x618dd,_0x1cb4ad,_0x1f848a,_0x45adff,_0xdfc0c7,_0x2b49d6,_0xa5cff0,_0x4ea074,_0x1fad58),N(this,_0x298c7c(0x1da),_0x298c7c(0x356)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x298c7c(0x447)),(this[_0x298c7c(0x337)]=_0x17db96,this['_logService']=_0x199aa3,this[_0x298c7c(0x384)]=_0x5ecd0f,this[_0x298c7c(0x1e6)]=_0x1fad58,_0x43fb3a&&(this['_resendTimer']=_0x43fb3a,this[_0x298c7c(0x447)]=this[_0x298c7c(0x212)][_0x298c7c(0x481)](({reqId:_0x3af3e2,timeout:_0x109cf0})=>{var _0x487133=_0x298c7c;this[_0x487133(0x405)](_0x3af3e2,_0x109cf0);})));}[_0x20e40c(0x442)](_0x4a9787){var _0x1101ee=_0x20e40c;return this[_0x1101ee(0x250)]['push'](_0x4a9787),this;}['onRemoteChangeset'](_0x417d50){var _0x2dd8a7=_0x20e40c;if(this[_0x2dd8a7(0x312)](_0x417d50))return this['_clearScheduledTask'](),this[_0x2dd8a7(0x337)][_0x2dd8a7(0x1e9)](ee,this[_0x2dd8a7(0x24f)],this[_0x2dd8a7(0x480)],this[_0x2dd8a7(0x294)],this[_0x2dd8a7(0x250)],null,[_0x417d50],this[_0x2dd8a7(0x217)]);try{const _0x5ef291=this[_0x2dd8a7(0x384)]['transformChangesets']([_0x417d50],[this[_0x2dd8a7(0x294)]],!0x1);if(_0x1ed145(_0x5ef291)){const {c1Prime:_0x3a62d9,c2Prime:_0x27630d}=_0x5ef291,_0x533000=this[_0x2dd8a7(0x384)][_0x2dd8a7(0x20e)](_0x3a62d9[0x0],this[_0x2dd8a7(0x250)]);if(_0x115096(_0x533000)){const {c1Prime:_0x5013f9,m2Prime:_0x220680}=_0x533000;return this[_0x2dd8a7(0x3dc)](_0x5013f9),_0x27630d[0x0][_0x2dd8a7(0x2a3)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x2dd8a7(0x337)]['createInstance'](oe,this[_0x2dd8a7(0x24f)],this[_0x2dd8a7(0x480)],_0x27630d[0x0],_0x220680,this[_0x2dd8a7(0x217)],void 0x0);}throw _0x533000[_0x2dd8a7(0x220)];}throw _0x5ef291[_0x2dd8a7(0x220)];}catch(_0x5b6bf4){return this[_0x2dd8a7(0x357)]['error'](_0x5b6bf4),this['_onConflict'](!0x1);}}[_0x20e40c(0x437)](_0x4c194c){var _0x2af360=_0x20e40c;if(this[_0x2af360(0x36a)](),this[_0x2af360(0x312)](_0x4c194c))return this['_injector'][_0x2af360(0x1e9)](ee,this[_0x2af360(0x24f)],this['type'],null,this[_0x2af360(0x250)],this[_0x2af360(0x294)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x123b5d=this[_0x2af360(0x337)][_0x2af360(0x1e9)](ae,this[_0x2af360(0x24f)],this['type'],this[_0x2af360(0x250)],this[_0x2af360(0x217)]);return _0x123b5d['_schedule'](),_0x123b5d['_updateLocalCache'](),_0x123b5d;}[_0x20e40c(0x2c4)](_0x5a66ea){var _0x3cb83e=_0x20e40c;return this[_0x3cb83e(0x315)](!!(_0x5a66ea!=null&&_0x5a66ea[_0x3cb83e(0x22e)]));}[_0x20e40c(0x27e)](_0x2ffa23){var _0x146d0b=_0x20e40c;return this[_0x146d0b(0x25b)]>Oi?this[_0x146d0b(0x4e2)]():(this[_0x146d0b(0x212)]=Ri(this['_resendTimeout'],{'timeout':this[_0x146d0b(0x25b)],'reqId':_0x2ffa23['reqId']}),this[_0x146d0b(0x447)]=this[_0x146d0b(0x212)][_0x146d0b(0x481)](({reqId:_0x328152,timeout:_0x14f316})=>{this['_resendWithTimeout'](_0x328152,_0x14f316);}),this);}[_0x20e40c(0x4e2)](){var _0x3d82ed=_0x20e40c;return this[_0x3d82ed(0x36a)](),this[_0x3d82ed(0x337)]['createInstance'](de,this[_0x3d82ed(0x24f)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3d82ed(0x217)]);}['toggleOnline'](){return this;}[_0x20e40c(0x27f)](){var _0x1ed700=_0x20e40c;this[_0x1ed700(0x217)][_0x1ed700(0x41f)](this[_0x1ed700(0x294)]);}['_onConflict'](_0x385b6e){var _0x2b4d2d=_0x20e40c;return this['_clearScheduledTask'](),this[_0x2b4d2d(0x337)][_0x2b4d2d(0x1e9)](ue,this['unitID'],this[_0x2b4d2d(0x480)],null,this[_0x2b4d2d(0x250)],this[_0x2b4d2d(0x217)],_0x385b6e);}[_0x20e40c(0x405)](_0xa2f668,_0x4a9597){var _0x342d5f=_0x20e40c,_0x86dde3;_0xa2f668===((_0x86dde3=this['_awaitingChangeset'])==null?void 0x0:_0x86dde3[_0x342d5f(0x271)])&&(this[_0x342d5f(0x27f)](),this[_0x342d5f(0x25b)]=_0x4a9597===0x0?0x3e8:_0x4a9597*0x2);}[_0x20e40c(0x36a)](){var _0x300fa7=_0x20e40c,_0x4bfa04;(_0x4bfa04=this[_0x300fa7(0x447)])==null||_0x4bfa04[_0x300fa7(0x2ab)](),this[_0x300fa7(0x25b)]=0x0;}};oe=Te([P(0x6,_0x6fdf38(_0x4441be)),P(0x7,_0x6fdf38(_0x19ccce)),P(0x8,_0x179fd9),P(0x9,_0xc8c642),P(0xa,_0x398454),P(0xb,_0x46af88),P(0xc,_0x205ae0(J))],oe);let ue=class extends Ce{constructor(_0x17a6e4,_0x58cb76,_0x8ca9a,_0x35a251,_0x638a79,_0x15306d=!0x1,_0x1d1e50,_0x5e5c80,_0x2eb1a7,_0x1fb87e,_0x1621dd,_0x4b59b1,_0x302c57){var _0x13b8a3=_0x20e40c;super(_0x17a6e4,_0x58cb76,_0x8ca9a,_0x35a251,_0x638a79,_0x5e5c80,_0x2eb1a7,_0x1fb87e,_0x302c57),N(this,_0x13b8a3(0x1da),_0x13b8a3(0x363)),(this[_0x13b8a3(0x380)]=_0x15306d,this[_0x13b8a3(0x4b8)]=_0x1d1e50,this[_0x13b8a3(0x3a3)]=_0x1621dd,this['_collaborationUIEventService']=_0x4b59b1,this['localCacheService']=_0x302c57,this[_0x13b8a3(0x3df)](),this[_0x13b8a3(0x289)](),this['_disableEditing']());}[_0x20e40c(0x442)](){return this;}[_0x20e40c(0x4d6)](){return this;}[_0x20e40c(0x437)](){return this;}[_0x20e40c(0x2c4)](){return this;}['onRemoteRetry'](){return this;}[_0x20e40c(0x4e2)](){return this;}[_0x20e40c(0x2c7)](){return this;}['resend'](){var _0x3ce2d7=_0x20e40c;throw new Error(_0x3ce2d7(0x354));}[_0x20e40c(0x289)](){var _0xfcc7d3=_0x20e40c,_0x187697;(_0x187697=this[_0xfcc7d3(0x26b)])==null||_0x187697[_0xfcc7d3(0x38f)](this[_0xfcc7d3(0x24f)],this['type'],null,[]);}[_0x20e40c(0x3df)](){var _0x6d0a06=_0x20e40c;this[_0x6d0a06(0x380)]?this[_0x6d0a06(0x256)][_0x6d0a06(0x460)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x6d0a06(0x460)]({'id':re[_0x6d0a06(0x33c)]});}[_0x20e40c(0x4cc)](){var _0x7755bf=_0x20e40c;this[_0x7755bf(0x4b8)][_0x7755bf(0x27d)](new _0x5d5705(this[_0x7755bf(0x24f)])['id'],!0x1);}};ue=Te([P(0x6,_0x6fdf38(_0x4f7158)),P(0x7,_0x179fd9),P(0x8,_0x46af88),P(0x9,_0x6fdf38(_0x19ccce)),P(0xa,_0x6fdf38(_0x1fdf65)),P(0xb,_0x6fdf38(pe)),P(0xc,_0x205ae0(J))],ue);let de=class extends Ce{constructor(_0x145eee,_0xab510c,_0x59c4bb,_0x3c63c5,_0x3d4779,_0x506c94,_0x25f5d2,_0x1359e5,_0x26fca0,_0x15b91f){var _0x59418f=_0x20e40c;super(_0x145eee,_0xab510c,_0x59c4bb,_0x3c63c5,_0x3d4779,_0x1359e5,_0x26fca0,_0x25f5d2,_0x15b91f),N(this,_0x59418f(0x1da),'offline'),this[_0x59418f(0x337)]=_0x506c94;}[_0x20e40c(0x442)](_0x31aa72){var _0x149db7=_0x20e40c;return this[_0x149db7(0x250)][_0x149db7(0x2a8)](_0x31aa72),this[_0x149db7(0x3ab)](),this;}[_0x20e40c(0x4d6)](_0x25b1b6){var _0xf72f03=_0x20e40c;throw new Error(_0xf72f03(0x3f5));}[_0x20e40c(0x437)](){var _0x47768e=_0x20e40c;throw new Error(_0x47768e(0x404));}[_0x20e40c(0x2c4)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x20e40c(0x2c7)](){var _0x379876=_0x20e40c;const {_injector:_0x20e061,_pendingMutations:_0x42cfb8,_awaitingChangeset:_0x467f12,unitID:_0x2af19b,_handler:_0xa1762e,type:_0x237026}=this,_0x18ce12=yi(_0x20e061,_0x2af19b,_0x237026,_0x467f12,_0x42cfb8,_0xa1762e);return _0x18ce12 instanceof ae?_0x18ce12[_0x379876(0x4c4)]():(_0x18ce12 instanceof oe||_0x18ce12 instanceof le)&&_0x18ce12[_0x379876(0x27f)](),_0x18ce12;}['resend'](){var _0x4a774b=_0x20e40c;throw new Error(_0x4a774b(0x327));}};de=Te([P(0x5,_0x6fdf38(_0x4441be)),P(0x6,_0x6fdf38(_0x19ccce)),P(0x7,_0x179fd9),P(0x8,_0x46af88),P(0x9,_0x205ae0(J))],de);let ee=class extends Ce{constructor(_0x419210,_0x907cf4,_0x352751,_0x3570c9,_0x5119df,_0x2b0337,_0x55b142,_0x254dcb,_0x4b4d84,_0x1330c7,_0x4799cc,_0x5e91bf,_0x677f4,_0x36eb56){var _0x97c73a=_0x20e40c;super(_0x419210,_0x907cf4,_0x352751,_0x3570c9,_0x55b142,_0x4799cc,_0x5e91bf,_0x4b4d84,_0x36eb56),N(this,_0x97c73a(0x1da),_0x97c73a(0x3a9)),(this[_0x97c73a(0x4d1)]=_0x5119df,this[_0x97c73a(0x369)]=_0x2b0337,this[_0x97c73a(0x337)]=_0x254dcb,this[_0x97c73a(0x357)]=_0x1330c7,this[_0x97c73a(0x384)]=_0x677f4,this[_0x97c73a(0x1e6)]=_0x36eb56);}['onMissedChangesetFetched'](_0x117836){var _0x5b00ec=_0x20e40c;try{const _0xb50d15=[..._0x117836,...this['_queuedRemoteChangesets']],_0xa830b0=[this[_0x5b00ec(0x294)]||this[_0x5b00ec(0x4d1)]][_0x5b00ec(0x2ec)](_0x2c58ec=>!!_0x2c58ec);let _0x372f04,_0x4138e8;if(_0xa830b0[_0x5b00ec(0x21f)]){const _0x52af50=this[_0x5b00ec(0x384)][_0x5b00ec(0x4bd)](_0xb50d15,_0xa830b0,!0x1);if(!_0x1ed145(_0x52af50))throw _0x52af50[_0x5b00ec(0x220)];_0x372f04=_0x52af50[_0x5b00ec(0x33e)],_0x4138e8=_0x52af50[_0x5b00ec(0x3da)];}else _0x372f04=_0xb50d15,_0x4138e8=[];let _0x13008d=this['_pendingMutations'];_0x372f04[_0x5b00ec(0x440)](_0x309218=>{var _0x3b36c1=_0x5b00ec;let _0x39a3ed;if(_0x13008d[_0x3b36c1(0x21f)]){const _0xddf0cb=this[_0x3b36c1(0x384)]['transformMutationsWithChangeset'](_0x309218,_0x13008d);if(!_0x115096(_0xddf0cb))throw _0xddf0cb['error'];_0x39a3ed=_0xddf0cb[_0x3b36c1(0x33e)],_0x13008d=_0xddf0cb[_0x3b36c1(0x407)];}else _0x39a3ed=_0x309218;this['_executeRemoteChangeset'](_0x39a3ed);}),this[_0x5b00ec(0x4d1)]&&this[_0x5b00ec(0x2dd)](),this['_awaitingChangeset']&&_0x4138e8['length']&&(_0x4138e8[0x0][_0x5b00ec(0x2a3)]=this['_getCurrentRevision']());let _0x37912f;if(this[_0x5b00ec(0x294)]&&_0x13008d[_0x5b00ec(0x21f)]!==0x0)_0x37912f=this[_0x5b00ec(0x337)][_0x5b00ec(0x1e9)](oe,this[_0x5b00ec(0x24f)],this[_0x5b00ec(0x480)],_0x4138e8[0x0],_0x13008d,this[_0x5b00ec(0x217)],void 0x0);else{if(this[_0x5b00ec(0x294)]&&_0x13008d[_0x5b00ec(0x21f)]===0x0)_0x4138e8[0x0]['baseRev']=this[_0x5b00ec(0x35b)](),_0x37912f=this[_0x5b00ec(0x337)][_0x5b00ec(0x1e9)](le,this[_0x5b00ec(0x24f)],this[_0x5b00ec(0x480)],_0x4138e8[0x0],this[_0x5b00ec(0x217)]);else{if(_0x13008d[_0x5b00ec(0x21f)]!==0x0){const _0x49fb23=this[_0x5b00ec(0x337)]['createInstance'](ae,this[_0x5b00ec(0x24f)],this[_0x5b00ec(0x480)],_0x13008d,this[_0x5b00ec(0x217)]);_0x49fb23['_schedule'](),_0x37912f=_0x49fb23;}else _0x37912f=this['_injector']['createInstance'](Ne,this[_0x5b00ec(0x24f)],this[_0x5b00ec(0x480)],this[_0x5b00ec(0x217)]);}}return _0x37912f[_0x5b00ec(0x3ab)](),_0x37912f;}catch(_0x2f435f){return this[_0x5b00ec(0x357)][_0x5b00ec(0x220)](_0x5b00ec(0x423),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2f435f),this['_injector']['createInstance'](ue,this[_0x5b00ec(0x24f)],this['type'],this[_0x5b00ec(0x294)],this[_0x5b00ec(0x250)],this[_0x5b00ec(0x217)],!0x1);}}[_0x20e40c(0x27f)](){var _0x56b62f=_0x20e40c;throw new Error(_0x56b62f(0x269));}[_0x20e40c(0x442)](_0x1c7378){var _0x8ac3b8=_0x20e40c;return this[_0x8ac3b8(0x250)][_0x8ac3b8(0x2a8)](_0x1c7378),this;}[_0x20e40c(0x4d6)](_0x47a424){var _0x49f5d2=_0x20e40c;return this[_0x49f5d2(0x369)][_0x49f5d2(0x2a8)](_0x47a424),this;}[_0x20e40c(0x437)](_0x30cbe4){var _0x5c6fca=_0x20e40c;if(this[_0x5c6fca(0x294)])return this[_0x5c6fca(0x4d1)]=this[_0x5c6fca(0x294)],this[_0x5c6fca(0x294)]=null,this;throw new Error(_0x5c6fca(0x286));}[_0x20e40c(0x2c4)](_0x3ee5a3){var _0x3c0fcf=_0x20e40c;return this[_0x3c0fcf(0x315)](!!(_0x3ee5a3!=null&&_0x3ee5a3['isPermissionRej']));}[_0x20e40c(0x27e)](){return this;}[_0x20e40c(0x4e2)](){var _0x242918=_0x20e40c;return this[_0x242918(0x337)][_0x242918(0x1e9)](de,this[_0x242918(0x24f)],this[_0x242918(0x480)],this['_awaitingChangeset'],this[_0x242918(0x250)],this[_0x242918(0x217)]);}['toggleOnline'](){return this;}['_onConflict'](_0x112f7e){var _0x4aeee5=_0x20e40c;return this[_0x4aeee5(0x337)][_0x4aeee5(0x1e9)](ue,this[_0x4aeee5(0x24f)],this[_0x4aeee5(0x480)],this['_awaitingChangeset'],this[_0x4aeee5(0x250)],this[_0x4aeee5(0x217)],_0x112f7e);}};ee=Te([P(0x7,_0x6fdf38(_0x4441be)),P(0x8,_0x6fdf38(_0x19ccce)),P(0x9,_0xc8c642),P(0xa,_0x179fd9),P(0xb,_0x46af88),P(0xc,_0x398454),P(0xd,_0x205ae0(J))],ee);function yi(_0x13a557,_0x58b334,_0x4bb8fa,_0x4ac672,_0x3e758e,_0x22b8fd){var _0x14de45=_0x20e40c;return _0x4ac672&&_0x3e758e['length']?_0x13a557[_0x14de45(0x1e9)](oe,_0x58b334,_0x4bb8fa,_0x4ac672,_0x3e758e,_0x22b8fd,void 0x0):_0x4ac672?_0x13a557[_0x14de45(0x1e9)](le,_0x58b334,_0x4bb8fa,_0x4ac672,_0x22b8fd):_0x3e758e[_0x14de45(0x21f)]?_0x13a557['createInstance'](ae,_0x58b334,_0x4bb8fa,_0x3e758e,_0x22b8fd):_0x13a557['createInstance'](Ne,_0x58b334,_0x4bb8fa,_0x22b8fd);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x253e65,_0x1885b8,_0x3a327c,_0x382e7d)=>{var _0x3df1d2=_0x20e40c;for(var _0x36a64a=_0x382e7d>0x1?void 0x0:_0x382e7d?as(_0x1885b8,_0x3a327c):_0x1885b8,_0x1513be=_0x253e65[_0x3df1d2(0x21f)]-0x1,_0x320d81;_0x1513be>=0x0;_0x1513be--)(_0x320d81=_0x253e65[_0x1513be])&&(_0x36a64a=_0x320d81(_0x36a64a)||_0x36a64a);return _0x36a64a;},H=(_0x5b79aa,_0x3f2668)=>(_0x17f1d0,_0x3c2fcc)=>_0x3f2668(_0x17f1d0,_0x3c2fcc,_0x5b79aa);let nt=class extends _0xaf6fdc{constructor(_0x35627e,_0x2efc6c,_0xee5b8c,_0x3e5d32,_0x78786,_0x2ab24d,_0x2897cf,_0x6e499d,_0x8d51e6,_0x2f150c,_0x5775d7,_0x5c6aab,_0x1cf83c){var _0x276af3=_0x20e40c;super(),N(this,_0x276af3(0x2f1),new _0x161fc9(null)),N(this,'state$',this[_0x276af3(0x2f1)]['asObservable']()),N(this,_0x276af3(0x43c)),N(this,_0x276af3(0x2c8),!0x1),N(this,_0x276af3(0x2b7),''),N(this,'_changesetReqId',0x0),N(this,_0x276af3(0x49d),this[_0x276af3(0x230)][_0x276af3(0x2f3)](_0x56350f(_0x3a798d=>_0x3a798d?_0x3a798d[_0x276af3(0x1da)]:bi[_0x276af3(0x25e)]),_0x41dec2(0x1))),N(this,_0x276af3(0x229),!0x1),N(this,_0x276af3(0x3e3),[]),(this[_0x276af3(0x24f)]=_0x35627e,this[_0x276af3(0x313)]=_0x2efc6c,this[_0x276af3(0x358)]=_0xee5b8c,this[_0x276af3(0x337)]=_0x3e5d32,this[_0x276af3(0x4a1)]=_0x78786,this['_localeService']=_0x2ab24d,this[_0x276af3(0x1e8)]=_0x2897cf,this[_0x276af3(0x300)]=_0x6e499d,this['_logService']=_0x8d51e6,this['_commandService']=_0x2f150c,this['_permissionService']=_0x5775d7,this[_0x276af3(0x21e)]=_0x5c6aab,this['_localCacheService']=_0x1cf83c);}get['state'](){return this['_state'];}async[_0x20e40c(0x349)](){var _0xd60026=_0x20e40c;if(this['state'])throw new Error(_0xd60026(0x468));await this[_0xd60026(0x2cc)]();}['pauseCollaboration'](){var _0x16c50c=_0x20e40c;return this[_0x16c50c(0x2c8)]=!0x0,_0x26867b(()=>{var _0x7b1969=_0x16c50c;this['_collaborationPaused']=!0x1,this[_0x7b1969(0x45f)]();});}[_0x20e40c(0x1df)](_0x19220e){var _0x180134=_0x20e40c;this[_0x180134(0x348)](_0x19220e);}[_0x20e40c(0x227)](_0x52f794){var _0x4892e0=_0x20e40c;this['_state']=_0x52f794,this[_0x4892e0(0x2f1)][_0x4892e0(0x203)](_0x52f794);}async[_0x20e40c(0x2cc)](){var _0x47ae00=_0x20e40c,_0x397d08;this['_updateState'](await this[_0x47ae00(0x4d2)]()),this['_singleActiveUnitService']&&((_0x397d08=this[_0x47ae00(0x21e)])==null||_0x397d08[_0x47ae00(0x22f)](this[_0x47ae00(0x24f)]),this[_0x47ae00(0x2bf)](this['_singleActiveUnitService'][_0x47ae00(0x3b7)](this['unitID'])['subscribe'](_0x2662fe=>{var _0x58978e=_0x47ae00;this['_logService']['debug'](_0x58978e(0x377),'editing\x20status\x20changed\x20to',_0x2662fe),_0x2662fe===Ci[_0x58978e(0x401)]?(this[_0x58978e(0x300)][_0x58978e(0x460)]({'id':re[_0x58978e(0x389)]}),this['_permissionService'][_0x58978e(0x27d)](new _0x5d5705(this[_0x58978e(0x24f)])['id'],!0x1),this[_0x58978e(0x4b8)][_0x58978e(0x28a)](!0x1)):(this[_0x58978e(0x4b8)]['updatePermissionPoint'](new _0x5d5705(this[_0x58978e(0x24f)])['id'],!0x0),this[_0x58978e(0x4b8)][_0x58978e(0x28a)](!0x0));})));let _0x4c90e5=!0x1;return this['disposeWithMe'](this[_0x47ae00(0x313)][_0x47ae00(0x21d)][_0x47ae00(0x481)](_0x19b4bc=>{var _0x522142=_0x47ae00;_0x19b4bc===Ee[_0x522142(0x265)]?this[_0x522142(0x386)](_0x4c90e5):_0x19b4bc===Ee[_0x522142(0x25e)]&&(_0x4c90e5=!0x0,this[_0x522142(0x4b1)]());})),this[_0x47ae00(0x2bf)](this[_0x47ae00(0x313)]['event$'][_0x47ae00(0x481)](_0x4c316f=>{var _0x1f6bec=_0x47ae00;try{switch(_0x4c316f['eventID']){case _0x351205['NEW_CHANGESETS']:{this[_0x1f6bec(0x477)](_0x5eb153(_0x4c316f[_0x1f6bec(0x200)]));break;}case _0x351205[_0x1f6bec(0x45d)]:{this[_0x1f6bec(0x242)](_0x4c316f[_0x1f6bec(0x200)]);break;}case _0x351205[_0x1f6bec(0x4c8)]:{this[_0x1f6bec(0x324)]();break;}case _0x351205['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4c316f['data']);break;}case _0x351205[_0x1f6bec(0x2e7)]:{this['_onFetchMissResult'](_0x4c316f[_0x1f6bec(0x200)][_0x1f6bec(0x40a)][_0x1f6bec(0x416)](_0x2f6364=>_0x5eb153(_0x2f6364)));break;}case _0x351205[_0x1f6bec(0x3e1)]:{this[_0x1f6bec(0x324)]({'isPermissionRej':!0x0});break;}case _0x351205[_0x1f6bec(0x38e)]:break;}}catch(_0x202380){throw console[_0x1f6bec(0x220)](_0x1f6bec(0x48c),_0x202380),_0x202380;}})),this[_0x47ae00(0x43c)];}[_0x20e40c(0x3b2)](){var _0xdc077e=_0x20e40c;this[_0xdc077e(0x229)]=!0x1;}['_lockTransition'](){var _0xb6d7bf=_0x20e40c;if(this[_0xb6d7bf(0x229)])throw new Error(_0xb6d7bf(0x4da));this[_0xb6d7bf(0x229)]=!0x0;}[_0x20e40c(0x348)](_0x2f8529){var _0x5cd18b=_0x20e40c;this[_0x5cd18b(0x1f5)](),this[_0x5cd18b(0x227)](this['_state'][_0x5cd18b(0x442)](_0x2f8529)),this[_0x5cd18b(0x3b2)]();}[_0x20e40c(0x477)](_0x461fe2){var _0x3c5282=_0x20e40c;if(!(_0x461fe2[_0x3c5282(0x35a)]<=this[_0x3c5282(0x1e8)]['getCurrentRevOfUnit'](this[_0x3c5282(0x24f)]))){if(this[_0x3c5282(0x2c8)]){this[_0x3c5282(0x3e3)][_0x3c5282(0x2a8)](_0x461fe2);return;}this[_0x3c5282(0x343)](_0x461fe2);}}[_0x20e40c(0x45f)](){var _0x13aac8=_0x20e40c;this['_remoteChangesetQueue'][_0x13aac8(0x440)](_0x409deb=>this[_0x13aac8(0x343)](_0x409deb)),this['_remoteChangesetQueue']=[];}[_0x20e40c(0x343)](_0x2b4d18){var _0x52c972=_0x20e40c;const _0x1535ae=this['_compressMutationService'][_0x52c972(0x4c0)][_0x52c972(0x233)](this[_0x52c972(0x4a1)]['interceptor'][_0x52c972(0x390)]()[_0x52c972(0x396)])(_0x2b4d18[_0x52c972(0x3e2)],null)||_0x2b4d18['mutations'],_0x932e9d={..._0x2b4d18,'mutations':_0x1535ae};this['_lockTransition'](),this['_updateState'](this[_0x52c972(0x43c)][_0x52c972(0x4d6)](_0x932e9d)),this[_0x52c972(0x3b2)]();}[_0x20e40c(0x242)](_0x1ce6e9){var _0x5f42a1=_0x20e40c;this[_0x5f42a1(0x1f5)](),this[_0x5f42a1(0x227)](this[_0x5f42a1(0x43c)][_0x5f42a1(0x437)](_0x1ce6e9)),this[_0x5f42a1(0x3b2)]();}[_0x20e40c(0x324)](_0x3ebfea){var _0x378f90=_0x20e40c;this[_0x378f90(0x1f5)](),this[_0x378f90(0x227)](this[_0x378f90(0x43c)][_0x378f90(0x2c4)](_0x3ebfea)),this[_0x378f90(0x3b2)]();}[_0x20e40c(0x360)](_0x305e95){var _0x1edee6=_0x20e40c;this[_0x1edee6(0x1f5)](),this['_updateState'](this[_0x1edee6(0x43c)][_0x1edee6(0x27e)](_0x305e95)),this['_unlockTransition']();}[_0x20e40c(0x36d)](_0x267ce4){var _0x2f6ae5=_0x20e40c;if(!(this[_0x2f6ae5(0x43c)]instanceof ee))throw new TypeError(_0x2f6ae5(0x255));const _0xc82f6a=_0x267ce4['map'](_0x3ccb2c=>{var _0x506f80=_0x2f6ae5;const _0x29c564=this[_0x506f80(0x4a1)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x506f80(0x4c0)]['getInterceptPoints']()[_0x506f80(0x396)])(_0x3ccb2c[_0x506f80(0x3e2)],null)||_0x3ccb2c[_0x506f80(0x3e2)];return{..._0x3ccb2c,'mutations':_0x29c564};});this[_0x2f6ae5(0x1f5)](),this[_0x2f6ae5(0x227)](this[_0x2f6ae5(0x43c)][_0x2f6ae5(0x40e)](_0xc82f6a)),this[_0x2f6ae5(0x3b2)]();}['_toggleOffline'](){var _0x41822c=_0x20e40c;this[_0x41822c(0x1f5)](),this[_0x41822c(0x227)](this[_0x41822c(0x43c)][_0x41822c(0x4e2)]()),this[_0x41822c(0x3b2)]();}[_0x20e40c(0x386)](_0x139705=!0x1){var _0x2a2b0f=_0x20e40c;this[_0x2a2b0f(0x1f5)](),this[_0x2a2b0f(0x227)](this['_state'][_0x2a2b0f(0x2c7)]()),this[_0x2a2b0f(0x3b2)]();const _0x11796f=this[_0x2a2b0f(0x43c)];_0x139705&&_0x11796f instanceof Ne&&(this['_lockTransition'](),this[_0x2a2b0f(0x227)](_0x11796f['fetchMiss']()),this[_0x2a2b0f(0x3b2)]());}async[_0x20e40c(0x4d2)](){return new Promise(_0x554d74=>{var _0x100eb9=_0x593f;this[_0x100eb9(0x313)]['sessionStatus$'][_0x100eb9(0x2f3)](_0x1a9f2d(0x1))[_0x100eb9(0x481)](async _0x4cea08=>{var _0x38142a=_0x100eb9;_0x554d74(await this[_0x38142a(0x4de)](_0x4cea08===Ee[_0x38142a(0x265)]));});});}[_0x20e40c(0x319)](){var _0x351fc=_0x20e40c;const _0x2dd3a5=this[_0x351fc(0x24f)];return{'onStateChange':(_0x4ced18,_0x1b5c59)=>{var _0x590dbe=_0x351fc;if(_0x4ced18!==this[_0x590dbe(0x43c)])throw new Error(_0x590dbe(0x2b8)+_0x4ced18[_0x590dbe(0x1da)]+'\x0aAfter:\x20'+_0x1b5c59[_0x590dbe(0x1da)]+'\x0aCurrent:\x20'+this[_0x590dbe(0x43c)]['status']);this[_0x590dbe(0x227)](_0x1b5c59);},'onSendChangeset':_0x8654e0=>{var _0x464494=_0x351fc;_0x8654e0[_0x464494(0x49e)]||(_0x8654e0['sid']=this['_changesetSessionId'],_0x8654e0[_0x464494(0x271)]=++this[_0x464494(0x409)]);const _0x11694f={'eventID':_0x351205[_0x464494(0x3a5)],'data':{'unitID':_0x8654e0[_0x464494(0x24f)],'unitType':this[_0x464494(0x358)],'changeset':_0x8654e0,'memberID':this[_0x464494(0x313)]['getMemberID']()}};this[_0x464494(0x313)]['send'](_0x11694f,this['unitID']);},'onMissingChangesets':({from:_0xf1c4d9,to:_0x18692d})=>{var _0x2180c3=_0x351fc;this[_0x2180c3(0x357)][_0x2180c3(0x1eb)](_0x2180c3(0x377),_0x2180c3(0x3db)+_0xf1c4d9+'\x20to\x20'+_0x18692d);const _0x5cb1de={'eventID':_0x351205['FETCH_MISSING'],'data':{'unitID':_0x2dd3a5,'unitType':this[_0x2180c3(0x358)],'from':_0xf1c4d9,'to':_0x18692d}};this[_0x2180c3(0x313)][_0x2180c3(0x3ac)](_0x5cb1de,this['unitID']);}};}async[_0x20e40c(0x4de)](_0x550a27){var _0x5e0607=_0x20e40c,_0x1086ee,_0x2dc88a,_0x369aad;const _0x2aece4=await((_0x1086ee=this[_0x5e0607(0x26b)])==null?void 0x0:_0x1086ee['loadOfflineData'](this[_0x5e0607(0x24f)])),_0x5886f=(_0x2dc88a=_0x2aece4==null?void 0x0:_0x2aece4[_0x5e0607(0x3e2)])!=null?_0x2dc88a:[],_0x429961=(_0x369aad=_0x2aece4==null?void 0x0:_0x2aece4[_0x5e0607(0x3bb)])!=null?_0x369aad:null,_0x5da3f8=!!(_0x429961!=null&&_0x429961[_0x5e0607(0x49e)])&&!!(_0x429961!=null&&_0x429961[_0x5e0607(0x271)]);this['_changesetSessionId']=_0x5da3f8?_0x429961[_0x5e0607(0x49e)]:Zn(),this[_0x5e0607(0x409)]=_0x5da3f8?_0x429961['reqId']:0x0;const _0x4f2a6e=this[_0x5e0607(0x24f)];try{this[_0x5e0607(0x45c)](_0x429961,_0x5886f);}catch(_0x5202b4){this[_0x5e0607(0x357)]['error'](_0x5202b4);}const _0xe4a543=this[_0x5e0607(0x319)]();if(_0x550a27){const _0x2de271=yi(this[_0x5e0607(0x337)],_0x4f2a6e,this['_type'],_0x429961,_0x5886f,_0xe4a543);return _0x2de271 instanceof ae?_0x2de271[_0x5e0607(0x4c4)]():(_0x2de271 instanceof oe||_0x2de271 instanceof le)&&_0x2de271[_0x5e0607(0x27f)](),_0x2de271;}return this[_0x5e0607(0x337)][_0x5e0607(0x1e9)](de,_0x4f2a6e,this[_0x5e0607(0x358)],_0x429961,_0x5886f,_0xe4a543);}[_0x20e40c(0x45c)](_0x382027,_0xc37a55){var _0x5d3caa=_0x20e40c,_0x1274a2,_0x28b30a;const _0xabccc4=this[_0x5d3caa(0x4a1)]['interceptor'][_0x5d3caa(0x233)](this[_0x5d3caa(0x4a1)]['interceptor'][_0x5d3caa(0x390)]()['COMPRESS_MUTATION_APPLY']);(_0x1274a2=_0xabccc4((_0x382027==null?void 0x0:_0x382027[_0x5d3caa(0x3e2)])||[],null))==null||_0x1274a2[_0x5d3caa(0x440)](_0x1823bd=>this['_commandService'][_0x5d3caa(0x2aa)](_0x1823bd['id'],_0x1823bd[_0x5d3caa(0x24d)])),(_0x28b30a=_0xabccc4(_0xc37a55||[],null))==null||_0x28b30a[_0x5d3caa(0x440)](_0x434458=>this[_0x5d3caa(0x1e1)][_0x5d3caa(0x2aa)](_0x434458['id'],_0x434458[_0x5d3caa(0x24d)]));}};nt=Lt([H(0x3,_0x6fdf38(_0x4441be)),H(0x4,_0x6fdf38(_0x4bcc43)),H(0x5,_0x6fdf38(_0x1fdf65)),H(0x6,_0x6fdf38(_0x19ccce)),H(0x7,_0x6fdf38(pe)),H(0x8,_0xc8c642),H(0x9,_0x179fd9),H(0xa,_0x4f7158),H(0xb,_0x205ae0(ht)),H(0xc,_0x205ae0(J))],nt);let It=class extends nt{constructor(_0x1fa682,_0x19df40,_0x20d22e,_0x180664,_0x95d0f1,_0x2b527a,_0x998187,_0x14c13d,_0xc2675a,_0x117c66,_0x19802a,_0x412608,_0x2f27ec){var _0x319304=_0x20e40c;super(_0x1fa682,_0x20d22e,_0x19df40,_0x180664,_0x95d0f1,_0x2b527a,_0x998187,_0x14c13d,_0xc2675a,_0x117c66,_0x19802a,_0x412608,_0x2f27ec),N(this,_0x319304(0x23b),null),(this['unitID']=_0x1fa682,this['type']=_0x19df40);}[_0x20e40c(0x3cb)](_0xc8de99){this['_handlerCallback']=_0xc8de99;}[_0x20e40c(0x28c)](){var _0x2182ac=_0x20e40c;this['_handlerCallback']=null,super[_0x2182ac(0x28c)]();}[_0x20e40c(0x319)](){var _0x28ed44=_0x20e40c;const _0x145b4f=super[_0x28ed44(0x319)]();return _0x145b4f['onTransformIME']=_0x917268=>{var _0x4865df=_0x28ed44,_0x5c1bfc,_0x3ddaa9;return(_0x3ddaa9=(_0x5c1bfc=this[_0x4865df(0x23b)])==null?void 0x0:_0x5c1bfc[_0x4865df(0x28b)])==null?void 0x0:_0x3ddaa9[_0x4865df(0x25a)](_0x5c1bfc,_0x917268);},_0x145b4f[_0x28ed44(0x47a)]=_0x2edcb1=>{var _0x134fb9=_0x28ed44,_0x210c64,_0x5c040f;return(_0x5c040f=(_0x210c64=this[_0x134fb9(0x23b)])==null?void 0x0:_0x210c64['onTransformState'])==null?void 0x0:_0x5c040f['call'](_0x210c64,_0x2edcb1);},_0x145b4f[_0x28ed44(0x1e2)]=_0x2e4497=>{var _0x34736d=_0x28ed44,_0xdebfe3,_0x3e7cb4;return(_0x3e7cb4=(_0xdebfe3=this[_0x34736d(0x23b)])==null?void 0x0:_0xdebfe3[_0x34736d(0x1e2)])==null?void 0x0:_0x3e7cb4['call'](_0xdebfe3,_0x2e4497);},_0x145b4f[_0x28ed44(0x43f)]=_0x417cfc=>{var _0x4753d5=_0x28ed44,_0x576e43,_0x4f460b;return(_0x4f460b=(_0x576e43=this[_0x4753d5(0x23b)])==null?void 0x0:_0x576e43[_0x4753d5(0x43f)])==null?void 0x0:_0x4f460b['call'](_0x576e43,_0x417cfc);},_0x145b4f[_0x28ed44(0x361)]=_0x8f6994=>{var _0x5675b4=_0x28ed44,_0x391543,_0x319b8b,_0x136423;if(!((_0x391543=this['_handlerCallback'])!=null&&_0x391543[_0x5675b4(0x361)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x136423=(_0x319b8b=this[_0x5675b4(0x23b)])==null?void 0x0:_0x319b8b[_0x5675b4(0x361)])==null?void 0x0:_0x136423['call'](_0x319b8b,_0x8f6994);},_0x145b4f[_0x28ed44(0x2f5)]=_0x3ad577=>{var _0x325025=_0x28ed44,_0x27bf6c,_0x276015,_0x455ac6;if(!((_0x27bf6c=this[_0x325025(0x23b)])!=null&&_0x27bf6c[_0x325025(0x2f5)]))throw new Error(_0x325025(0x45a));return(_0x455ac6=(_0x276015=this[_0x325025(0x23b)])==null?void 0x0:_0x276015[_0x325025(0x2f5)])==null?void 0x0:_0x455ac6[_0x325025(0x25a)](_0x276015,_0x3ad577);},_0x145b4f;}async[_0x20e40c(0x2cc)](){var _0x496b39=_0x20e40c;const _0x38fc81=await super[_0x496b39(0x2cc)]();return this[_0x496b39(0x2bf)](this[_0x496b39(0x1e1)][_0x496b39(0x2b6)]((_0x3313b8,_0x27ca48)=>{var _0x16077e=_0x496b39;if(_0x3313b8['type']!==_0x47338f[_0x16077e(0x40f)]||_0x27ca48!=null&&_0x27ca48[_0x16077e(0x434)]||_0x27ca48!=null&&_0x27ca48['onlyLocal']||_0x3313b8['id']===_0x46e57e['id'])return;const _0x3e0cb9=_0x3313b8[_0x16077e(0x24d)];if((_0x3e0cb9==null?void 0x0:_0x3e0cb9[_0x16077e(0x4c3)])!==this[_0x16077e(0x24f)])return;const _0x3071a2=_0x3313b8,_0x59be87=this['_compressMutationService'][_0x16077e(0x4c0)][_0x16077e(0x233)](this[_0x16077e(0x4a1)][_0x16077e(0x4c0)][_0x16077e(0x390)]()[_0x16077e(0x4ae)])([_0x3071a2],null)||[_0x3071a2];this[_0x16077e(0x348)](_0x59be87[0x0]);})),_0x38fc81;}};It=Lt([H(0x3,_0x6fdf38(_0x4441be)),H(0x4,_0x6fdf38(_0x4bcc43)),H(0x5,_0x6fdf38(_0x1fdf65)),H(0x6,_0x6fdf38(_0x19ccce)),H(0x7,_0x6fdf38(pe)),H(0x8,_0xc8c642),H(0x9,_0x179fd9),H(0xa,_0x4f7158),H(0xb,_0x205ae0(ht)),H(0xc,_0x205ae0(J))],It);let Tt=class extends nt{constructor(_0x414602,_0x298b80,_0x3914c1,_0x576de5,_0x323ebd,_0x404c4c,_0x42c1c2,_0x19a5ab,_0x2ba527,_0x49463e,_0xa30c1,_0xd3f43d,_0x2c783f,_0x31d816){var _0x456d8f=_0x20e40c;super(_0x414602,_0x3914c1,_0x298b80,_0x576de5,_0x323ebd,_0x404c4c,_0x42c1c2,_0x2ba527,_0x49463e,_0xa30c1,_0xd3f43d,_0x2c783f,_0x31d816),this['unitID']=_0x414602,this[_0x456d8f(0x480)]=_0x298b80,this[_0x456d8f(0x1de)]=_0x19a5ab;}['_createHandler'](){var _0x35203f=_0x20e40c;const _0x716e16=super[_0x35203f(0x319)]();return _0x716e16['onTransformSelections']=_0x4f3b7b=>this['_sheetTransformSelectionsService']['transformSelections'](_0x4f3b7b),_0x716e16;}async['_init'](){var _0x593c47=_0x20e40c;const _0x7385a5=await super['_init']();return this[_0x593c47(0x2bf)](this[_0x593c47(0x1e1)][_0x593c47(0x2b6)]((_0x18b072,_0x1d82c5)=>{var _0x6dcb93=_0x593c47;if(_0x18b072[_0x6dcb93(0x480)]!==_0x47338f[_0x6dcb93(0x40f)]||_0x1d82c5!=null&&_0x1d82c5[_0x6dcb93(0x434)]||_0x1d82c5!=null&&_0x1d82c5[_0x6dcb93(0x433)])return;const _0x750474=_0x18b072[_0x6dcb93(0x24d)];if((_0x750474==null?void 0x0:_0x750474[_0x6dcb93(0x4c3)])!==this['unitID'])return;const _0x1739a2=_0x18b072,_0x2c6590=this[_0x6dcb93(0x4a1)]['interceptor']['fetchThroughInterceptors'](this[_0x6dcb93(0x4a1)][_0x6dcb93(0x4c0)][_0x6dcb93(0x390)]()[_0x6dcb93(0x4ae)])([_0x1739a2],null)||[_0x1739a2];this[_0x6dcb93(0x348)](_0x2c6590[0x0]);})),_0x7385a5;}};Tt=Lt([H(0x3,_0x6fdf38(_0x4441be)),H(0x4,_0x6fdf38(_0x4bcc43)),H(0x5,_0x6fdf38(_0x1fdf65)),H(0x6,_0x6fdf38(_0x19ccce)),H(0x7,_0x6fdf38(it)),H(0x8,_0x6fdf38(pe)),H(0x9,_0xc8c642),H(0xa,_0x179fd9),H(0xb,_0x4f7158),H(0xc,_0x205ae0(ht)),H(0xd,_0x205ae0(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x11d82f,_0x2a6571,_0x4fa6cb,_0xad58af)=>{var _0x3c15f5=_0x20e40c;for(var _0x3cb45a=_0xad58af>0x1?void 0x0:_0xad58af?os(_0x2a6571,_0x4fa6cb):_0x2a6571,_0x5dc7e1=_0x11d82f[_0x3c15f5(0x21f)]-0x1,_0x39565d;_0x5dc7e1>=0x0;_0x5dc7e1--)(_0x39565d=_0x11d82f[_0x5dc7e1])&&(_0x3cb45a=_0x39565d(_0x3cb45a)||_0x3cb45a);return _0x3cb45a;},ft=(_0x5ac2e1,_0x3164e4)=>(_0x2b066e,_0x475b25)=>_0x3164e4(_0x2b066e,_0x475b25,_0x5ac2e1);let st=class extends _0xaf6fdc{constructor(_0x57ba54,_0x4a38c3,_0x4ac496){var _0x1abd55=_0x20e40c;super(),N(this,_0x1abd55(0x1ef),new Map()),N(this,_0x1abd55(0x1ed),new _0x3af3a2()),N(this,_0x1abd55(0x1fe),this[_0x1abd55(0x1ed)][_0x1abd55(0x26a)]()),(this[_0x1abd55(0x337)]=_0x57ba54,this[_0x1abd55(0x33d)]=_0x4a38c3,this[_0x1abd55(0x39c)]=_0x4ac496,this[_0x1abd55(0x2cc)]());}['dispose'](){var _0x34e77b=_0x20e40c;super[_0x34e77b(0x28c)](),this[_0x34e77b(0x1ef)][_0x34e77b(0x440)](_0x1c8ecd=>_0x1c8ecd[_0x34e77b(0x28c)]()),this[_0x34e77b(0x1ef)][_0x34e77b(0x420)]();}[_0x20e40c(0x408)](_0x56eb45){var _0x467ecd=_0x20e40c,_0x3a62c9;return(_0x3a62c9=this[_0x467ecd(0x1ef)][_0x467ecd(0x3c0)](_0x56eb45))!=null?_0x3a62c9:null;}['getCollabEntity$'](_0x24b37a){var _0x13a0e4=_0x20e40c;const _0x372342=this['getCollabEntity'](_0x24b37a);return _0x372342?_0x4f4dc2(_0x372342):this[_0x13a0e4(0x1ed)][_0x13a0e4(0x2f3)](_0x416ec6(_0x28a455=>_0x28a455['unitID']===_0x24b37a));}['readyForCollab'](_0x71d36d){var _0x20c761=_0x20e40c;return _0x3f1526(this[_0x20c761(0x3de)](_0x71d36d)['pipe'](_0x17eabf(()=>{})));}[_0x20e40c(0x2cc)](){var _0x50603d=_0x20e40c;this[_0x50603d(0x39c)]['getTypeOfUnitAdded$'](_0x3bea69[_0x50603d(0x46d)])[_0x50603d(0x2f3)](_0x48eaf6(this[_0x50603d(0x4ce)]),_0x156932(0x10))['subscribe'](async _0x2a007c=>{var _0x4f929f=_0x50603d;const _0x5e0f0e=_0x2a007c[_0x4f929f(0x475)](),_0x3c81f3=await this['_startCollaboration'](_0x5e0f0e,Q[_0x4f929f(0x46d)]);this[_0x4f929f(0x1ef)][_0x4f929f(0x3fc)](_0x5e0f0e,_0x3c81f3);}),this[_0x50603d(0x39c)]['getTypeOfUnitAdded$'](_0x3bea69['UNIVER_DOC'])[_0x50603d(0x2f3)](_0x48eaf6(this[_0x50603d(0x4ce)]),_0x156932(0x10))[_0x50603d(0x2f3)](_0x416ec6(_0x283eb5=>!_0x283eb5['getUnitId']()[_0x50603d(0x28f)]('__')))[_0x50603d(0x481)](async _0x6cd4db=>{var _0xc146ca=_0x50603d;const _0x455ffe=_0x6cd4db[_0xc146ca(0x475)](),_0x4dc9d1=await this[_0xc146ca(0x2df)](_0x455ffe,Q['UNIVER_DOC']);this[_0xc146ca(0x1ef)][_0xc146ca(0x3fc)](_0x455ffe,_0x4dc9d1);}),_0x14fb54(this[_0x50603d(0x39c)][_0x50603d(0x413)](_0x3bea69[_0x50603d(0x46d)]),this[_0x50603d(0x39c)]['getTypeOfUnitDisposed$'](_0x3bea69[_0x50603d(0x303)]))[_0x50603d(0x2f3)](_0x48eaf6(this[_0x50603d(0x4ce)]))[_0x50603d(0x481)](_0x582d7d=>{var _0x17ae7f=_0x50603d;const _0x2e9986=_0x582d7d[_0x17ae7f(0x475)](),_0x49b181=this[_0x17ae7f(0x1ef)][_0x17ae7f(0x3c0)](_0x2e9986);_0x49b181&&(_0x49b181[_0x17ae7f(0x28c)](),this['_entities'][_0x17ae7f(0x4a6)](_0x2e9986));});}async[_0x20e40c(0x2df)](_0x232bcd,_0x5d1968){var _0x1071ff=_0x20e40c;const _0x19f83d=await this[_0x1071ff(0x33d)][_0x1071ff(0x4b0)](_0x232bcd),_0x57184c=this[_0x1071ff(0x337)][_0x1071ff(0x1e9)](this[_0x1071ff(0x2b4)](_0x5d1968),_0x232bcd,_0x5d1968,_0x19f83d);return await _0x57184c[_0x1071ff(0x349)](),this[_0x1071ff(0x1ed)][_0x1071ff(0x203)](_0x57184c),_0x57184c;}[_0x20e40c(0x2b4)](_0x212032){var _0xa050b0=_0x20e40c;switch(_0x212032){case Q[_0xa050b0(0x303)]:return It;case Q[_0xa050b0(0x46d)]:return Tt;default:throw new Error(_0xa050b0(0x376)+_0x212032);}}};st=cs([ft(0x0,_0x6fdf38(_0x4441be)),ft(0x1,_0x6fdf38(xe)),ft(0x2,_0x902ab0)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x147afd,_0x44bb3f,_0x1a674f,_0x15e461)=>{for(var _0x5b0df1=_0x15e461>0x1?void 0x0:_0x15e461?hs(_0x44bb3f,_0x1a674f):_0x44bb3f,_0x52e3b9=_0x147afd['length']-0x1,_0x2fa127;_0x52e3b9>=0x0;_0x52e3b9--)(_0x2fa127=_0x147afd[_0x52e3b9])&&(_0x5b0df1=_0x2fa127(_0x5b0df1)||_0x5b0df1);return _0x5b0df1;},zt=(_0x3c7b82,_0x400b1a)=>(_0x46eea0,_0x4399b2)=>_0x400b1a(_0x46eea0,_0x4399b2,_0x3c7b82);const ls=_0x20e40c(0x371),us=_0x20e40c(0x20c);let Ct=class extends _0x5f3840{constructor(_0x3ac6e3,_0x34cec2){var _0x292a08=_0x20e40c;super(),this[_0x292a08(0x39c)]=_0x3ac6e3,this[_0x292a08(0x444)]=_0x34cec2,this['_init']();}[_0x20e40c(0x2cc)](){var _0x56a103=_0x20e40c;this['disposeWithMe'](this['_univerInstanceService'][_0x56a103(0x2d9)][_0x56a103(0x481)](()=>{var _0x36435b=_0x56a103,_0x2e1aa6;const _0x14985a=this[_0x36435b(0x39c)][_0x36435b(0x1f2)]();let _0x7cbc3e=(_0x2e1aa6=this[_0x36435b(0x444)]['getConfig'](ls))!=null?_0x2e1aa6:us;_0x14985a instanceof _0x15f71d&&(_0x7cbc3e=_0x14985a[_0x36435b(0x307)]),document[_0x36435b(0x301)]=_0x7cbc3e;}));}};Ct=_s([zt(0x0,_0x902ab0),zt(0x1,_0x1f5986)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x34d42e,_0x89f9ae,_0x342b52,_0x183d7a)=>{var _0x547991=_0x20e40c;for(var _0x135604=_0x183d7a>0x1?void 0x0:_0x183d7a?ds(_0x89f9ae,_0x342b52):_0x89f9ae,_0x534653=_0x34d42e[_0x547991(0x21f)]-0x1,_0x279372;_0x534653>=0x0;_0x534653--)(_0x279372=_0x34d42e[_0x534653])&&(_0x135604=_0x279372(_0x135604)||_0x135604);return _0x135604;},vt=(_0x23896d,_0x4604f4)=>(_0x22d7c6,_0x2a641e)=>_0x4604f4(_0x22d7c6,_0x2a641e,_0x23896d);let rt=class{constructor(_0x3bf7e1,_0xc7d371,_0x27d435){var _0x50e34c=_0x20e40c;this[_0x50e34c(0x444)]=_0x3bf7e1,this[_0x50e34c(0x336)]=_0xc7d371,this[_0x50e34c(0x32a)]=_0x27d435,this[_0x50e34c(0x349)]();}[_0x20e40c(0x349)](){this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3834ad,_0x189673)=>_0x189673(_0x3834ad)['pipe'](_0x105f8c(async _0x16cc31=>{var _0x128e55=_0x593f;const _0x17bd4b=_0x16cc31;if(_0x17bd4b['status']===0x191){if(typeof window>'u')throw new Error(_0x128e55(0x338));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4807b6=window[_0x128e55(0x3a8)](window['location'][_0x128e55(0x206)]);window[_0x128e55(0x3af)][_0x128e55(0x206)]=this['_getLoginPath']()+_0x128e55(0x3d5)+_0x4807b6;}}return _0x17bd4b;}))});}['_getLoginPath'](){var _0x5ca7ed=_0x20e40c,_0x16ea9b,_0x235108;const _0x57df1d=this[_0x5ca7ed(0x444)][_0x5ca7ed(0x1dc)](Un),_0x508a94=this[_0x5ca7ed(0x444)][_0x5ca7ed(0x1dc)](q);return(_0x235108=(_0x16ea9b=_0x508a94==null?void 0x0:_0x508a94[_0x5ca7ed(0x1d7)])!=null?_0x16ea9b:_0x57df1d)!=null?_0x235108:An;}};rt=fs([vt(0x0,_0x1f5986),vt(0x1,_0x6fdf38(_0x5bad79)),vt(0x2,_0x6fdf38(_0x1fdf65))],rt);var vs=Object[_0x20e40c(0x28e)],ps=(_0x265ec1,_0x554d88,_0x92c6e,_0x4bd02b)=>{var _0x1d0662=_0x20e40c;for(var _0x4d5568=_0x4bd02b>0x1?void 0x0:_0x4bd02b?vs(_0x554d88,_0x92c6e):_0x554d88,_0x2a70ca=_0x265ec1[_0x1d0662(0x21f)]-0x1,_0x42db0f;_0x2a70ca>=0x0;_0x2a70ca--)(_0x42db0f=_0x265ec1[_0x2a70ca])&&(_0x4d5568=_0x42db0f(_0x4d5568)||_0x4d5568);return _0x4d5568;},Jt=(_0x49edb7,_0x51ccc4)=>(_0x1b55a4,_0x233835)=>_0x51ccc4(_0x1b55a4,_0x233835,_0x49edb7);const Ni=_0x20e40c(0x3f0),ms=_0x20e40c(0x3fe);let Rt=class extends _0x5f3840{constructor(_0x3b85ce,_0x65b9c4){var _0x20ca04=_0x20e40c;super(),this[_0x20ca04(0x4ec)]=_0x3b85ce,this[_0x20ca04(0x444)]=_0x65b9c4,this[_0x20ca04(0x2b0)]();}[_0x20e40c(0x2b0)](){var _0xa918ed=_0x20e40c;const _0x5e4711=this;this['disposeWithMe'](this[_0xa918ed(0x4ec)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x485f57({'isMatch'(_0x584a0c){var _0x1884f3=_0xa918ed,_0x3badab;if(_0x584a0c[_0x1884f3(0x326)]===_0x1884f3(0x1f9)&&((_0x3badab=_0x584a0c[_0x1884f3(0x43d)])!=null&&_0x3badab['body'])){const {objectID:_0x3350ed,objectType:_0x44a5d1}=_0x584a0c[_0x1884f3(0x43d)][_0x1884f3(0x3d6)]||{};if(!_0x3350ed||_0x44a5d1===void 0x0)return!0x1;const _0x53afd0=_0x5e4711[_0x1884f3(0x1e5)]()+'/'+_0x44a5d1+'/object/'+_0x3350ed+_0x1884f3(0x362);if(_0x584a0c[_0x1884f3(0x49c)]===_0x53afd0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x43b3b1){var _0x555869=_0xa918ed,_0x3d100e;return(_0x3d100e=_0x43b3b1[_0x555869(0x43d)])==null?void 0x0:_0x3d100e['body'];},'mergeParamsToRequest'(_0x169c7d,_0x1f5564){var _0x1e747b=_0xa918ed;const _0x3631f5=_0x5e4711[_0x1e747b(0x1e5)]()+_0x1e747b(0x36b),_0x177931=_0x169c7d[_0x1e747b(0x207)]((_0x427ac7,_0x3d66d3)=>{var _0x4e88ca=_0x1e747b;const {unitID:_0x71d88c,objectID:_0x18a0e3,objectType:_0x243441,actions:_0x440a89}=_0x3d66d3;return _0x427ac7[_0x71d88c]||(_0x427ac7[_0x71d88c]={}),_0x427ac7[_0x71d88c][_0x18a0e3]||(_0x427ac7[_0x71d88c][_0x18a0e3]={'objectID':_0x18a0e3,'objectType':_0x243441,'actions':[]}),_0x427ac7[_0x71d88c][_0x18a0e3][_0x4e88ca(0x29f)][_0x4e88ca(0x2a8)](..._0x440a89),_0x427ac7;},{}),_0x1e7d9d=[];for(const _0x5beee8 in _0x177931)for(const _0x5bd0c2 in _0x177931[_0x5beee8]){const {actions:_0x55715d,objectType:_0x3d4db3}=_0x177931[_0x5beee8][_0x5bd0c2],_0x24f52e=[...new Set(_0x55715d)];_0x1e7d9d[_0x1e747b(0x2a8)]({'unitID':_0x5beee8,'objectID':_0x5bd0c2,'objectType':_0x3d4db3,'actions':_0x24f52e});}return new _0x55e2fe(_0x1e747b(0x1f9),_0x3631f5,{'headers':_0x1f5564[_0x1e747b(0x450)],'withCredentials':_0x1f5564[_0x1e747b(0x3f1)],'responseType':_0x1f5564['responseType'],'body':{'requests':_0x1e7d9d}});}},{'distributeResult'(_0xa10752,_0xe02354){const {objectActions:_0xf515a8}=_0xa10752;return _0xe02354['map'](_0x54c062=>{var _0x262571=_0x593f;const {unitID:_0x5bd20c,objectID:_0x17411c,actions:_0x1386de}=_0x54c062,_0x169520=_0xf515a8[_0x262571(0x439)](_0x490db8=>_0x490db8['unitID']===_0x5bd20c&&_0x490db8[_0x262571(0x3ce)]===_0x17411c),_0x77727b=_0x1386de['map'](_0x543dcb=>_0x169520==null?void 0x0:_0x169520[_0x262571(0x29f)]['find'](_0x2ace35=>_0x2ace35[_0x262571(0x266)]===_0x543dcb))['filter'](_0x2baaf9=>!!_0x2baaf9);return{'config':_0x54c062,'result':{'actions':_0x77727b,'error':_0xa10752[_0x262571(0x220)]}};});}})}));}[_0x20e40c(0x1e5)](){var _0x14b9ac=_0x20e40c,_0x2e0946,_0x510157;const _0x5914f0=this[_0x14b9ac(0x444)][_0x14b9ac(0x1dc)](Ni),_0x21b380=this[_0x14b9ac(0x444)][_0x14b9ac(0x1dc)](q);return(_0x510157=(_0x2e0946=_0x21b380==null?void 0x0:_0x21b380[_0x14b9ac(0x24c)])!=null?_0x2e0946:_0x5914f0)!=null?_0x510157:ms;}async[_0x20e40c(0x292)](_0x47b8fc){var _0x3e0782=_0x20e40c;const _0x5d2742=this['_getAPIPrefixPath']()+'/'+_0x47b8fc['objectType']+_0x3e0782(0x38a);return(await this['_HTTPService'][_0x3e0782(0x4b4)](_0x5d2742,{'body':_0x47b8fc}))['body']['objectID']||'';}async[_0x20e40c(0x277)](_0x34096d){var _0x5a1ed5=_0x20e40c;const _0x4e7d1d=this['_getAPIPrefixPath']()+_0x5a1ed5(0x388);return(await this[_0x5a1ed5(0x4ec)][_0x5a1ed5(0x4b4)](_0x4e7d1d,{'body':_0x34096d}))[_0x5a1ed5(0x3d6)][_0x5a1ed5(0x391)];}async['update'](_0x44932d){var _0x472ab7=_0x20e40c,_0x33f696,_0x3ef029;const _0x33a0c4=this[_0x472ab7(0x1e5)]()+'/'+_0x44932d['objectType']+'/object/'+_0x44932d['objectID'],_0x22035d=await this[_0x472ab7(0x4ec)]['put'](_0x33a0c4,{'body':_0x44932d});if(((_0x3ef029=(_0x33f696=_0x22035d==null?void 0x0:_0x22035d[_0x472ab7(0x3d6)])==null?void 0x0:_0x33f696['error'])==null?void 0x0:_0x3ef029[_0x472ab7(0x24b)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x20e40c(0x2a0)](_0x30d1e1){var _0x1707a8=_0x20e40c;const _0x23a1fe=this['_getAPIPrefixPath']()+'/'+_0x30d1e1[_0x1707a8(0x3c5)]+_0x1707a8(0x374)+_0x30d1e1[_0x1707a8(0x3ce)]+_0x1707a8(0x362);return(await this['_HTTPService']['post'](_0x23a1fe,{'body':_0x30d1e1}))[_0x1707a8(0x3d6)][_0x1707a8(0x29f)];}async['batchAllowed'](_0x15754c){var _0x48b688=_0x20e40c;const _0x468b1f=this[_0x48b688(0x1e5)]()+_0x48b688(0x36b);return(await this[_0x48b688(0x4ec)]['post'](_0x468b1f,{'body':{'requests':_0x15754c}}))[_0x48b688(0x3d6)][_0x48b688(0x23f)];}async[_0x20e40c(0x469)](_0xa238a5){var _0x433be0=_0x20e40c;const _0x388b96=this['_getAPIPrefixPath']()+'/'+_0xa238a5['objectType']+_0x433be0(0x268),_0x3057c7=await this[_0x433be0(0x4ec)][_0x433be0(0x4b4)](_0x388b96,{'body':_0xa238a5});return{'roles':_0x3057c7[_0x433be0(0x3d6)]['roles'],'actions':_0x3057c7[_0x433be0(0x3d6)][_0x433be0(0x29f)]};}async[_0x20e40c(0x3a7)](_0x2dd670){var _0x5cc641=_0x20e40c;const _0x4d5b99=this[_0x5cc641(0x1e5)]()+'/collaborator';await this[_0x5cc641(0x4ec)][_0x5cc641(0x4a6)](_0x4d5b99,{'params':{'collaboratorID':_0x2dd670['collaboratorID'],'objectID':_0x2dd670['objectID'],'unitID':_0x2dd670[_0x5cc641(0x24f)]}});}async['updateCollaborator'](_0x27bf8f){var _0x588b5f=_0x20e40c;const _0x16e2e0=this[_0x588b5f(0x1e5)]()+'/collaborator';await this['_HTTPService'][_0x588b5f(0x2c6)](_0x16e2e0,{'body':_0x27bf8f});}async[_0x20e40c(0x46f)](_0x5233cf){var _0x850ee2=_0x20e40c;const _0x554a4d=this[_0x850ee2(0x1e5)]()+'/collaborator';await this[_0x850ee2(0x4ec)][_0x850ee2(0x4b4)](_0x554a4d,{'body':_0x5233cf});}async[_0x20e40c(0x3ed)](_0xb66139){var _0x55aeaa=_0x20e40c;const _0x2aaa47=this[_0x55aeaa(0x1e5)]()+_0x55aeaa(0x2ea);return(await this['_HTTPService'][_0x55aeaa(0x3c0)](_0x2aaa47,{'params':{'objectID':_0xb66139[_0x55aeaa(0x3ce)],'unitID':_0xb66139[_0x55aeaa(0x24f)]}}))['body'][_0x55aeaa(0x3e6)];}async['putCollaborators'](_0x2c4415){var _0x2ddb93=_0x20e40c;const _0x360a74=this[_0x2ddb93(0x1e5)]()+'/collaborator';await this['_HTTPService'][_0x2ddb93(0x2eb)](_0x360a74,{'body':_0x2c4415});}};Rt=ps([Jt(0x0,_0x6fdf38(_0x5bad79)),Jt(0x1,_0x6fdf38(_0x1f5986))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2721a2){var _0x2866ba=_0x20e40c;return _0x2721a2&&_0x2721a2['__esModule']&&Object[_0x2866ba(0x228)][_0x2866ba(0x45e)]['call'](_0x2721a2,'default')?_0x2721a2[_0x2866ba(0x244)]:_0x2721a2;}var Ve={'exports':{}};function gs(_0x1080d9){var _0x37ac1e=_0x20e40c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1080d9+_0x37ac1e(0x22d));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x3c2f52=_0x20e40c;return Xt||(Xt=0x1,function(_0x1f53d5,_0x4ae66d){(function(_0xfd0e55,_0x589dd1){var _0x36a951=_0x593f;_0x1f53d5[_0x36a951(0x3d1)]=_0x589dd1();}(Ss,function(){var _0x26115b=_0x26115b||function(_0x256eba,_0x3d7633){var _0x34ef5a=_0x593f,_0x30ebcf;if(typeof window<'u'&&window[_0x34ef5a(0x47c)]&&(_0x30ebcf=window['crypto']),typeof self<'u'&&self[_0x34ef5a(0x47c)]&&(_0x30ebcf=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x30ebcf=globalThis[_0x34ef5a(0x47c)]),!_0x30ebcf&&typeof window<'u'&&window[_0x34ef5a(0x488)]&&(_0x30ebcf=window[_0x34ef5a(0x488)]),!_0x30ebcf&&typeof pt<'u'&&pt[_0x34ef5a(0x47c)]&&(_0x30ebcf=pt['crypto']),!_0x30ebcf&&typeof gs=='function')try{_0x30ebcf=require(_0x34ef5a(0x47c));}catch{}var _0x15b96a=function(){var _0x464009=_0x34ef5a;if(_0x30ebcf){if(typeof _0x30ebcf[_0x464009(0x26f)]==_0x464009(0x4c9))try{return _0x30ebcf[_0x464009(0x26f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x30ebcf[_0x464009(0x2fa)]==_0x464009(0x4c9))try{return _0x30ebcf['randomBytes'](0x4)[_0x464009(0x4e8)]();}catch{}}throw new Error(_0x464009(0x314));},_0x25f1b8=Object[_0x34ef5a(0x292)]||(function(){function _0x5600bd(){}return function(_0x2a4db5){var _0xc89648=_0x593f,_0x3559e4;return _0x5600bd[_0xc89648(0x228)]=_0x2a4db5,_0x3559e4=new _0x5600bd(),_0x5600bd['prototype']=null,_0x3559e4;};}()),_0x44263c={},_0x1897e8=_0x44263c['lib']={},_0x4a1dfa=_0x1897e8[_0x34ef5a(0x252)]=(function(){return{'extend':function(_0x13b4b4){var _0x416f84=_0x593f,_0x5e9e3f=_0x25f1b8(this);return _0x13b4b4&&_0x5e9e3f[_0x416f84(0x3ad)](_0x13b4b4),(!_0x5e9e3f[_0x416f84(0x45e)](_0x416f84(0x349))||this[_0x416f84(0x349)]===_0x5e9e3f[_0x416f84(0x349)])&&(_0x5e9e3f[_0x416f84(0x349)]=function(){var _0x5f9d53=_0x416f84;_0x5e9e3f['$super'][_0x5f9d53(0x349)]['apply'](this,arguments);}),_0x5e9e3f['init'][_0x416f84(0x228)]=_0x5e9e3f,_0x5e9e3f[_0x416f84(0x3f6)]=this,_0x5e9e3f;},'create':function(){var _0x3ac0bd=_0x593f,_0x16e33b=this[_0x3ac0bd(0x417)]();return _0x16e33b['init']['apply'](_0x16e33b,arguments),_0x16e33b;},'init':function(){},'mixIn':function(_0x1b25d4){var _0x33b89f=_0x593f;for(var _0x7064d2 in _0x1b25d4)_0x1b25d4[_0x33b89f(0x45e)](_0x7064d2)&&(this[_0x7064d2]=_0x1b25d4[_0x7064d2]);_0x1b25d4['hasOwnProperty'](_0x33b89f(0x2da))&&(this['toString']=_0x1b25d4[_0x33b89f(0x2da)]);},'clone':function(){var _0x33a115=_0x593f;return this[_0x33a115(0x349)][_0x33a115(0x228)][_0x33a115(0x417)](this);}};}()),_0x462b79=_0x1897e8[_0x34ef5a(0x249)]=_0x4a1dfa[_0x34ef5a(0x417)]({'init':function(_0x414667,_0x1fc8d5){var _0x1e8bb0=_0x34ef5a;_0x414667=this[_0x1e8bb0(0x309)]=_0x414667||[],_0x1fc8d5!=_0x3d7633?this['sigBytes']=_0x1fc8d5:this['sigBytes']=_0x414667[_0x1e8bb0(0x21f)]*0x4;},'toString':function(_0x47e14d){var _0x23bb18=_0x34ef5a;return(_0x47e14d||_0x23c3a6)[_0x23bb18(0x364)](this);},'concat':function(_0x39f4b2){var _0x53f532=_0x34ef5a,_0x545768=this[_0x53f532(0x309)],_0x25b213=_0x39f4b2[_0x53f532(0x309)],_0x319d62=this[_0x53f532(0x2d8)],_0x4760aa=_0x39f4b2[_0x53f532(0x2d8)];if(this['clamp'](),_0x319d62%0x4)for(var _0x43c620=0x0;_0x43c620<_0x4760aa;_0x43c620++){var _0x55b07e=_0x25b213[_0x43c620>>>0x2]>>>0x18-_0x43c620%0x4*0x8&0xff;_0x545768[_0x319d62+_0x43c620>>>0x2]|=_0x55b07e<<0x18-(_0x319d62+_0x43c620)%0x4*0x8;}else{for(var _0x17fbb3=0x0;_0x17fbb3<_0x4760aa;_0x17fbb3+=0x4)_0x545768[_0x319d62+_0x17fbb3>>>0x2]=_0x25b213[_0x17fbb3>>>0x2];}return this[_0x53f532(0x2d8)]+=_0x4760aa,this;},'clamp':function(){var _0x3a6668=_0x34ef5a,_0x1eb521=this[_0x3a6668(0x309)],_0x3af668=this['sigBytes'];_0x1eb521[_0x3af668>>>0x2]&=0xffffffff<<0x20-_0x3af668%0x4*0x8,_0x1eb521[_0x3a6668(0x21f)]=_0x256eba['ceil'](_0x3af668/0x4);},'clone':function(){var _0x3ff1a4=_0x34ef5a,_0x3891cf=_0x4a1dfa[_0x3ff1a4(0x43b)][_0x3ff1a4(0x25a)](this);return _0x3891cf[_0x3ff1a4(0x309)]=this[_0x3ff1a4(0x309)][_0x3ff1a4(0x2fd)](0x0),_0x3891cf;},'random':function(_0x547bb1){var _0xaa423d=_0x34ef5a;for(var _0x5ed2c5=[],_0x43e134=0x0;_0x43e134<_0x547bb1;_0x43e134+=0x4)_0x5ed2c5[_0xaa423d(0x2a8)](_0x15b96a());return new _0x462b79['init'](_0x5ed2c5,_0x547bb1);}}),_0x362081=_0x44263c[_0x34ef5a(0x2d0)]={},_0x23c3a6=_0x362081[_0x34ef5a(0x446)]={'stringify':function(_0x29f19d){var _0x1f1f9b=_0x34ef5a;for(var _0x4735b0=_0x29f19d[_0x1f1f9b(0x309)],_0x9512d3=_0x29f19d[_0x1f1f9b(0x2d8)],_0x427f76=[],_0x58b517=0x0;_0x58b517<_0x9512d3;_0x58b517++){var _0x2ba1d0=_0x4735b0[_0x58b517>>>0x2]>>>0x18-_0x58b517%0x4*0x8&0xff;_0x427f76[_0x1f1f9b(0x2a8)]((_0x2ba1d0>>>0x4)['toString'](0x10)),_0x427f76[_0x1f1f9b(0x2a8)]((_0x2ba1d0&0xf)[_0x1f1f9b(0x2da)](0x10));}return _0x427f76[_0x1f1f9b(0x2ae)]('');},'parse':function(_0x4c0f64){var _0x3add14=_0x34ef5a;for(var _0x11b81f=_0x4c0f64[_0x3add14(0x21f)],_0x50281b=[],_0x4df181=0x0;_0x4df181<_0x11b81f;_0x4df181+=0x2)_0x50281b[_0x4df181>>>0x3]|=parseInt(_0x4c0f64['substr'](_0x4df181,0x2),0x10)<<0x18-_0x4df181%0x8*0x4;return new _0x462b79[(_0x3add14(0x349))](_0x50281b,_0x11b81f/0x2);}},_0x276a5a=_0x362081[_0x34ef5a(0x381)]={'stringify':function(_0x47209b){var _0x226ba2=_0x34ef5a;for(var _0x40608f=_0x47209b[_0x226ba2(0x309)],_0x51da42=_0x47209b['sigBytes'],_0x339695=[],_0x3e3f1f=0x0;_0x3e3f1f<_0x51da42;_0x3e3f1f++){var _0x42c522=_0x40608f[_0x3e3f1f>>>0x2]>>>0x18-_0x3e3f1f%0x4*0x8&0xff;_0x339695['push'](String[_0x226ba2(0x42c)](_0x42c522));}return _0x339695[_0x226ba2(0x2ae)]('');},'parse':function(_0x49188d){var _0x12649f=_0x34ef5a;for(var _0x1ae9c4=_0x49188d[_0x12649f(0x21f)],_0x337c52=[],_0x25fe2f=0x0;_0x25fe2f<_0x1ae9c4;_0x25fe2f++)_0x337c52[_0x25fe2f>>>0x2]|=(_0x49188d[_0x12649f(0x47d)](_0x25fe2f)&0xff)<<0x18-_0x25fe2f%0x4*0x8;return new _0x462b79[(_0x12649f(0x349))](_0x337c52,_0x1ae9c4);}},_0x5f0c76=_0x362081['Utf8']={'stringify':function(_0x3b2659){var _0x486134=_0x34ef5a;try{return decodeURIComponent(escape(_0x276a5a[_0x486134(0x364)](_0x3b2659)));}catch{throw new Error(_0x486134(0x237));}},'parse':function(_0x5bc229){return _0x276a5a['parse'](unescape(encodeURIComponent(_0x5bc229)));}},_0x3f7fb1=_0x1897e8[_0x34ef5a(0x494)]=_0x4a1dfa[_0x34ef5a(0x417)]({'reset':function(){var _0x3c1a67=_0x34ef5a;this[_0x3c1a67(0x41e)]=new _0x462b79[(_0x3c1a67(0x349))](),this[_0x3c1a67(0x493)]=0x0;},'_append':function(_0x509555){var _0x172b69=_0x34ef5a;typeof _0x509555==_0x172b69(0x42d)&&(_0x509555=_0x5f0c76['parse'](_0x509555)),this[_0x172b69(0x41e)]['concat'](_0x509555),this['_nDataBytes']+=_0x509555[_0x172b69(0x2d8)];},'_process':function(_0x2ad3aa){var _0xb5d0f5=_0x34ef5a,_0x5a7e18,_0x33e861=this[_0xb5d0f5(0x41e)],_0x4af64d=_0x33e861[_0xb5d0f5(0x309)],_0x1380ea=_0x33e861[_0xb5d0f5(0x2d8)],_0x688435=this[_0xb5d0f5(0x330)],_0x10f61c=_0x688435*0x4,_0xa66d13=_0x1380ea/_0x10f61c;_0x2ad3aa?_0xa66d13=_0x256eba['ceil'](_0xa66d13):_0xa66d13=_0x256eba['max']((_0xa66d13|0x0)-this[_0xb5d0f5(0x3c9)],0x0);var _0x158f6a=_0xa66d13*_0x688435,_0x4ba9e4=_0x256eba[_0xb5d0f5(0x2b1)](_0x158f6a*0x4,_0x1380ea);if(_0x158f6a){for(var _0x2cc193=0x0;_0x2cc193<_0x158f6a;_0x2cc193+=_0x688435)this[_0xb5d0f5(0x2c0)](_0x4af64d,_0x2cc193);_0x5a7e18=_0x4af64d['splice'](0x0,_0x158f6a),_0x33e861[_0xb5d0f5(0x2d8)]-=_0x4ba9e4;}return new _0x462b79[(_0xb5d0f5(0x349))](_0x5a7e18,_0x4ba9e4);},'clone':function(){var _0x239bc0=_0x34ef5a,_0x30d4b4=_0x4a1dfa[_0x239bc0(0x43b)][_0x239bc0(0x25a)](this);return _0x30d4b4[_0x239bc0(0x41e)]=this[_0x239bc0(0x41e)][_0x239bc0(0x43b)](),_0x30d4b4;},'_minBufferSize':0x0});_0x1897e8[_0x34ef5a(0x30e)]=_0x3f7fb1[_0x34ef5a(0x417)]({'cfg':_0x4a1dfa[_0x34ef5a(0x417)](),'init':function(_0x4b3843){var _0x247cac=_0x34ef5a;this[_0x247cac(0x3f7)]=this[_0x247cac(0x3f7)]['extend'](_0x4b3843),this[_0x247cac(0x345)]();},'reset':function(){var _0x39e7e3=_0x34ef5a;_0x3f7fb1['reset'][_0x39e7e3(0x25a)](this),this[_0x39e7e3(0x341)]();},'update':function(_0x382c3e){var _0x47089f=_0x34ef5a;return this[_0x47089f(0x425)](_0x382c3e),this[_0x47089f(0x23a)](),this;},'finalize':function(_0x45629a){var _0x4db51b=_0x34ef5a;_0x45629a&&this['_append'](_0x45629a);var _0x528d1a=this[_0x4db51b(0x3fb)]();return _0x528d1a;},'blockSize':0x10,'_createHelper':function(_0x56b21d){return function(_0xabeefb,_0x524006){var _0x1bbc89=_0x593f;return new _0x56b21d[(_0x1bbc89(0x349))](_0x524006)[_0x1bbc89(0x392)](_0xabeefb);};},'_createHmacHelper':function(_0x58d7ef){return function(_0x27d57a,_0x4da664){var _0x19787a=_0x593f;return new _0x23979b[(_0x19787a(0x3ec))][(_0x19787a(0x349))](_0x58d7ef,_0x4da664)[_0x19787a(0x392)](_0x27d57a);};}});var _0x23979b=_0x44263c[_0x34ef5a(0x29d)]={};return _0x44263c;}(Math);return _0x26115b;}));}(Ge)),Ge[_0x3c2f52(0x3d1)];}var We={'exports':{}},Es=We[_0x20e40c(0x3d1)],Zt;function Di(){var _0x5de686=_0x20e40c;return Zt||(Zt=0x1,function(_0x3d1ace,_0x20dcc3){(function(_0x5ddb38,_0x352031){var _0x303d64=_0x593f;_0x3d1ace[_0x303d64(0x3d1)]=_0x352031(ie());}(Es,function(_0x5c8625){var _0xf46f2e=_0x593f;return(function(){var _0x5cddb6=_0x593f,_0xd57424=_0x5c8625,_0x40926a=_0xd57424['lib'],_0x57a786=_0x40926a[_0x5cddb6(0x249)],_0x13fa7e=_0xd57424[_0x5cddb6(0x2d0)];_0x13fa7e[_0x5cddb6(0x436)]={'stringify':function(_0x3a9c0a){var _0x5d192b=_0x5cddb6,_0x2b780a=_0x3a9c0a[_0x5d192b(0x309)],_0x93e032=_0x3a9c0a[_0x5d192b(0x2d8)],_0x18ae04=this[_0x5d192b(0x29c)];_0x3a9c0a['clamp']();for(var _0x11a9df=[],_0x531ce0=0x0;_0x531ce0<_0x93e032;_0x531ce0+=0x3)for(var _0x5a58e7=_0x2b780a[_0x531ce0>>>0x2]>>>0x18-_0x531ce0%0x4*0x8&0xff,_0x12d63d=_0x2b780a[_0x531ce0+0x1>>>0x2]>>>0x18-(_0x531ce0+0x1)%0x4*0x8&0xff,_0x346a01=_0x2b780a[_0x531ce0+0x2>>>0x2]>>>0x18-(_0x531ce0+0x2)%0x4*0x8&0xff,_0x401ad1=_0x5a58e7<<0x10|_0x12d63d<<0x8|_0x346a01,_0x5e28e8=0x0;_0x5e28e8<0x4&&_0x531ce0+_0x5e28e8*0.75<_0x93e032;_0x5e28e8++)_0x11a9df['push'](_0x18ae04[_0x5d192b(0x3aa)](_0x401ad1>>>0x6*(0x3-_0x5e28e8)&0x3f));var _0x468f5e=_0x18ae04[_0x5d192b(0x3aa)](0x40);if(_0x468f5e){for(;_0x11a9df[_0x5d192b(0x21f)]%0x4;)_0x11a9df[_0x5d192b(0x2a8)](_0x468f5e);}return _0x11a9df[_0x5d192b(0x2ae)]('');},'parse':function(_0x5eb882){var _0x5eede2=_0x5cddb6,_0xa494b7=_0x5eb882[_0x5eede2(0x21f)],_0x1753f2=this[_0x5eede2(0x29c)],_0x3a3bf9=this[_0x5eede2(0x3be)];if(!_0x3a3bf9){_0x3a3bf9=this[_0x5eede2(0x3be)]=[];for(var _0x242915=0x0;_0x242915<_0x1753f2[_0x5eede2(0x21f)];_0x242915++)_0x3a3bf9[_0x1753f2[_0x5eede2(0x47d)](_0x242915)]=_0x242915;}var _0x3388ec=_0x1753f2['charAt'](0x40);if(_0x3388ec){var _0x8dd0a9=_0x5eb882[_0x5eede2(0x25c)](_0x3388ec);_0x8dd0a9!==-0x1&&(_0xa494b7=_0x8dd0a9);}return _0x10005b(_0x5eb882,_0xa494b7,_0x3a3bf9);},'_map':_0x5cddb6(0x39b)};function _0x10005b(_0x596742,_0x46d3ff,_0x830553){var _0x3d42e0=_0x5cddb6;for(var _0x112010=[],_0x553996=0x0,_0x4be793=0x0;_0x4be793<_0x46d3ff;_0x4be793++)if(_0x4be793%0x4){var _0x3dbae3=_0x830553[_0x596742[_0x3d42e0(0x47d)](_0x4be793-0x1)]<<_0x4be793%0x4*0x2,_0x3db30b=_0x830553[_0x596742[_0x3d42e0(0x47d)](_0x4be793)]>>>0x6-_0x4be793%0x4*0x2,_0x54084d=_0x3dbae3|_0x3db30b;_0x112010[_0x553996>>>0x2]|=_0x54084d<<0x18-_0x553996%0x4*0x8,_0x553996++;}return _0x57a786[_0x3d42e0(0x292)](_0x112010,_0x553996);}}()),_0x5c8625[_0xf46f2e(0x2d0)]['Base64'];}));}(We)),We[_0x5de686(0x3d1)];}var Ke={'exports':{}},Is=Ke[_0x20e40c(0x3d1)],Qt;function Ts(){var _0x375501=_0x20e40c;return Qt||(Qt=0x1,function(_0x4289eb,_0x457dc5){(function(_0x476a7b,_0x156e49){var _0x48e527=_0x593f;_0x4289eb[_0x48e527(0x3d1)]=_0x156e49(ie());}(Is,function(_0x49b3f7){var _0x32022b=_0x593f;return function(_0x36c82f){var _0x4642ca=_0x593f,_0x456478=_0x49b3f7,_0x5b4e80=_0x456478[_0x4642ca(0x3b3)],_0x622f1d=_0x5b4e80[_0x4642ca(0x249)],_0x51f6c5=_0x5b4e80[_0x4642ca(0x30e)],_0x5d371e=_0x456478['algo'],_0x394da8=[];(function(){var _0x10435f=_0x4642ca;for(var _0x4a961e=0x0;_0x4a961e<0x40;_0x4a961e++)_0x394da8[_0x4a961e]=_0x36c82f['abs'](_0x36c82f[_0x10435f(0x201)](_0x4a961e+0x1))*0x100000000|0x0;}());var _0x51796a=_0x5d371e['MD5']=_0x51f6c5[_0x4642ca(0x417)]({'_doReset':function(){var _0x435646=_0x4642ca;this[_0x435646(0x2b5)]=new _0x622f1d[(_0x435646(0x349))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1bb88f,_0x50b231){for(var _0x14064=0x0;_0x14064<0x10;_0x14064++){var _0x1aa45a=_0x50b231+_0x14064,_0x1e2589=_0x1bb88f[_0x1aa45a];_0x1bb88f[_0x1aa45a]=(_0x1e2589<<0x8|_0x1e2589>>>0x18)&0xff00ff|(_0x1e2589<<0x18|_0x1e2589>>>0x8)&0xff00ff00;}var _0x1ca68a=this['_hash']['words'],_0x2aad78=_0x1bb88f[_0x50b231+0x0],_0x277168=_0x1bb88f[_0x50b231+0x1],_0x3137b9=_0x1bb88f[_0x50b231+0x2],_0x59f19a=_0x1bb88f[_0x50b231+0x3],_0x5d412e=_0x1bb88f[_0x50b231+0x4],_0x2cec85=_0x1bb88f[_0x50b231+0x5],_0x491f49=_0x1bb88f[_0x50b231+0x6],_0x59cf65=_0x1bb88f[_0x50b231+0x7],_0x1c30e2=_0x1bb88f[_0x50b231+0x8],_0x46539c=_0x1bb88f[_0x50b231+0x9],_0x3b02f0=_0x1bb88f[_0x50b231+0xa],_0x20a707=_0x1bb88f[_0x50b231+0xb],_0x4b0f6e=_0x1bb88f[_0x50b231+0xc],_0x4e02dd=_0x1bb88f[_0x50b231+0xd],_0x39bb32=_0x1bb88f[_0x50b231+0xe],_0x334d04=_0x1bb88f[_0x50b231+0xf],_0x15f72e=_0x1ca68a[0x0],_0xcffe68=_0x1ca68a[0x1],_0x42340f=_0x1ca68a[0x2],_0x4bbd71=_0x1ca68a[0x3];_0x15f72e=_0x8a3b14(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x2aad78,0x7,_0x394da8[0x0]),_0x4bbd71=_0x8a3b14(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x277168,0xc,_0x394da8[0x1]),_0x42340f=_0x8a3b14(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x3137b9,0x11,_0x394da8[0x2]),_0xcffe68=_0x8a3b14(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x59f19a,0x16,_0x394da8[0x3]),_0x15f72e=_0x8a3b14(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x5d412e,0x7,_0x394da8[0x4]),_0x4bbd71=_0x8a3b14(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x2cec85,0xc,_0x394da8[0x5]),_0x42340f=_0x8a3b14(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x491f49,0x11,_0x394da8[0x6]),_0xcffe68=_0x8a3b14(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x59cf65,0x16,_0x394da8[0x7]),_0x15f72e=_0x8a3b14(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x1c30e2,0x7,_0x394da8[0x8]),_0x4bbd71=_0x8a3b14(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x46539c,0xc,_0x394da8[0x9]),_0x42340f=_0x8a3b14(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x3b02f0,0x11,_0x394da8[0xa]),_0xcffe68=_0x8a3b14(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x20a707,0x16,_0x394da8[0xb]),_0x15f72e=_0x8a3b14(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x4b0f6e,0x7,_0x394da8[0xc]),_0x4bbd71=_0x8a3b14(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x4e02dd,0xc,_0x394da8[0xd]),_0x42340f=_0x8a3b14(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x39bb32,0x11,_0x394da8[0xe]),_0xcffe68=_0x8a3b14(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x334d04,0x16,_0x394da8[0xf]),_0x15f72e=_0x359093(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x277168,0x5,_0x394da8[0x10]),_0x4bbd71=_0x359093(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x491f49,0x9,_0x394da8[0x11]),_0x42340f=_0x359093(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x20a707,0xe,_0x394da8[0x12]),_0xcffe68=_0x359093(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x2aad78,0x14,_0x394da8[0x13]),_0x15f72e=_0x359093(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x2cec85,0x5,_0x394da8[0x14]),_0x4bbd71=_0x359093(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x3b02f0,0x9,_0x394da8[0x15]),_0x42340f=_0x359093(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x334d04,0xe,_0x394da8[0x16]),_0xcffe68=_0x359093(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x5d412e,0x14,_0x394da8[0x17]),_0x15f72e=_0x359093(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x46539c,0x5,_0x394da8[0x18]),_0x4bbd71=_0x359093(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x39bb32,0x9,_0x394da8[0x19]),_0x42340f=_0x359093(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x59f19a,0xe,_0x394da8[0x1a]),_0xcffe68=_0x359093(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x1c30e2,0x14,_0x394da8[0x1b]),_0x15f72e=_0x359093(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x4e02dd,0x5,_0x394da8[0x1c]),_0x4bbd71=_0x359093(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x3137b9,0x9,_0x394da8[0x1d]),_0x42340f=_0x359093(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x59cf65,0xe,_0x394da8[0x1e]),_0xcffe68=_0x359093(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x4b0f6e,0x14,_0x394da8[0x1f]),_0x15f72e=_0x3fd75c(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x2cec85,0x4,_0x394da8[0x20]),_0x4bbd71=_0x3fd75c(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x1c30e2,0xb,_0x394da8[0x21]),_0x42340f=_0x3fd75c(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x20a707,0x10,_0x394da8[0x22]),_0xcffe68=_0x3fd75c(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x39bb32,0x17,_0x394da8[0x23]),_0x15f72e=_0x3fd75c(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x277168,0x4,_0x394da8[0x24]),_0x4bbd71=_0x3fd75c(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x5d412e,0xb,_0x394da8[0x25]),_0x42340f=_0x3fd75c(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x59cf65,0x10,_0x394da8[0x26]),_0xcffe68=_0x3fd75c(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x3b02f0,0x17,_0x394da8[0x27]),_0x15f72e=_0x3fd75c(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x4e02dd,0x4,_0x394da8[0x28]),_0x4bbd71=_0x3fd75c(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x2aad78,0xb,_0x394da8[0x29]),_0x42340f=_0x3fd75c(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x59f19a,0x10,_0x394da8[0x2a]),_0xcffe68=_0x3fd75c(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x491f49,0x17,_0x394da8[0x2b]),_0x15f72e=_0x3fd75c(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x46539c,0x4,_0x394da8[0x2c]),_0x4bbd71=_0x3fd75c(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x4b0f6e,0xb,_0x394da8[0x2d]),_0x42340f=_0x3fd75c(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x334d04,0x10,_0x394da8[0x2e]),_0xcffe68=_0x3fd75c(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x3137b9,0x17,_0x394da8[0x2f]),_0x15f72e=_0x3f9b79(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x2aad78,0x6,_0x394da8[0x30]),_0x4bbd71=_0x3f9b79(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x59cf65,0xa,_0x394da8[0x31]),_0x42340f=_0x3f9b79(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x39bb32,0xf,_0x394da8[0x32]),_0xcffe68=_0x3f9b79(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x2cec85,0x15,_0x394da8[0x33]),_0x15f72e=_0x3f9b79(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x4b0f6e,0x6,_0x394da8[0x34]),_0x4bbd71=_0x3f9b79(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x59f19a,0xa,_0x394da8[0x35]),_0x42340f=_0x3f9b79(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x3b02f0,0xf,_0x394da8[0x36]),_0xcffe68=_0x3f9b79(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x277168,0x15,_0x394da8[0x37]),_0x15f72e=_0x3f9b79(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x1c30e2,0x6,_0x394da8[0x38]),_0x4bbd71=_0x3f9b79(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x334d04,0xa,_0x394da8[0x39]),_0x42340f=_0x3f9b79(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x491f49,0xf,_0x394da8[0x3a]),_0xcffe68=_0x3f9b79(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x4e02dd,0x15,_0x394da8[0x3b]),_0x15f72e=_0x3f9b79(_0x15f72e,_0xcffe68,_0x42340f,_0x4bbd71,_0x5d412e,0x6,_0x394da8[0x3c]),_0x4bbd71=_0x3f9b79(_0x4bbd71,_0x15f72e,_0xcffe68,_0x42340f,_0x20a707,0xa,_0x394da8[0x3d]),_0x42340f=_0x3f9b79(_0x42340f,_0x4bbd71,_0x15f72e,_0xcffe68,_0x3137b9,0xf,_0x394da8[0x3e]),_0xcffe68=_0x3f9b79(_0xcffe68,_0x42340f,_0x4bbd71,_0x15f72e,_0x46539c,0x15,_0x394da8[0x3f]),_0x1ca68a[0x0]=_0x1ca68a[0x0]+_0x15f72e|0x0,_0x1ca68a[0x1]=_0x1ca68a[0x1]+_0xcffe68|0x0,_0x1ca68a[0x2]=_0x1ca68a[0x2]+_0x42340f|0x0,_0x1ca68a[0x3]=_0x1ca68a[0x3]+_0x4bbd71|0x0;},'_doFinalize':function(){var _0x4ff42=_0x4642ca,_0x35851a=this[_0x4ff42(0x41e)],_0x25dc6d=_0x35851a[_0x4ff42(0x309)],_0xc9e853=this['_nDataBytes']*0x8,_0x58687b=_0x35851a['sigBytes']*0x8;_0x25dc6d[_0x58687b>>>0x5]|=0x80<<0x18-_0x58687b%0x20;var _0x59d5fd=_0x36c82f[_0x4ff42(0x2f9)](_0xc9e853/0x100000000),_0x5c422a=_0xc9e853;_0x25dc6d[(_0x58687b+0x40>>>0x9<<0x4)+0xf]=(_0x59d5fd<<0x8|_0x59d5fd>>>0x18)&0xff00ff|(_0x59d5fd<<0x18|_0x59d5fd>>>0x8)&0xff00ff00,_0x25dc6d[(_0x58687b+0x40>>>0x9<<0x4)+0xe]=(_0x5c422a<<0x8|_0x5c422a>>>0x18)&0xff00ff|(_0x5c422a<<0x18|_0x5c422a>>>0x8)&0xff00ff00,_0x35851a[_0x4ff42(0x2d8)]=(_0x25dc6d[_0x4ff42(0x21f)]+0x1)*0x4,this[_0x4ff42(0x23a)]();for(var _0x10d923=this['_hash'],_0x3c7ae6=_0x10d923['words'],_0xfb69c8=0x0;_0xfb69c8<0x4;_0xfb69c8++){var _0x45b242=_0x3c7ae6[_0xfb69c8];_0x3c7ae6[_0xfb69c8]=(_0x45b242<<0x8|_0x45b242>>>0x18)&0xff00ff|(_0x45b242<<0x18|_0x45b242>>>0x8)&0xff00ff00;}return _0x10d923;},'clone':function(){var _0x2da1eb=_0x4642ca,_0x319029=_0x51f6c5['clone']['call'](this);return _0x319029[_0x2da1eb(0x2b5)]=this[_0x2da1eb(0x2b5)]['clone'](),_0x319029;}});function _0x8a3b14(_0x30affe,_0x543ca7,_0x3f27b0,_0x53a9a6,_0x446f93,_0xa5b270,_0x1780eb){var _0x47a712=_0x30affe+(_0x543ca7&_0x3f27b0|~_0x543ca7&_0x53a9a6)+_0x446f93+_0x1780eb;return(_0x47a712<<_0xa5b270|_0x47a712>>>0x20-_0xa5b270)+_0x543ca7;}function _0x359093(_0x81e082,_0x256b53,_0x6bfcc0,_0x55431e,_0x22943f,_0x1a02f1,_0x9f1af1){var _0x58e216=_0x81e082+(_0x256b53&_0x55431e|_0x6bfcc0&~_0x55431e)+_0x22943f+_0x9f1af1;return(_0x58e216<<_0x1a02f1|_0x58e216>>>0x20-_0x1a02f1)+_0x256b53;}function _0x3fd75c(_0x537d67,_0x567352,_0x15ea80,_0x349946,_0x56d3aa,_0x3aadfc,_0x55f9a3){var _0x4c52dd=_0x537d67+(_0x567352^_0x15ea80^_0x349946)+_0x56d3aa+_0x55f9a3;return(_0x4c52dd<<_0x3aadfc|_0x4c52dd>>>0x20-_0x3aadfc)+_0x567352;}function _0x3f9b79(_0x522f35,_0x1ad2e8,_0x139ea6,_0x25ad93,_0x504d07,_0x6a394b,_0x151961){var _0x22cddc=_0x522f35+(_0x139ea6^(_0x1ad2e8|~_0x25ad93))+_0x504d07+_0x151961;return(_0x22cddc<<_0x6a394b|_0x22cddc>>>0x20-_0x6a394b)+_0x1ad2e8;}_0x456478['MD5']=_0x51f6c5[_0x4642ca(0x25f)](_0x51796a),_0x456478[_0x4642ca(0x2ff)]=_0x51f6c5[_0x4642ca(0x308)](_0x51796a);}(Math),_0x49b3f7[_0x32022b(0x4db)];}));}(Ke)),Ke[_0x375501(0x3d1)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x20e40c(0x3d1)],ei;function Rs(){var _0x3c067d=_0x20e40c;return ei||(ei=0x1,function(_0x4f45c4,_0x489eb9){(function(_0x594d4d,_0x2aa8b7){_0x4f45c4['exports']=_0x2aa8b7(ie());}(Cs,function(_0x2469f0){return(function(){var _0xd6bf1b=_0x593f,_0x282161=_0x2469f0,_0x2cef39=_0x282161['lib'],_0x3628fd=_0x2cef39['WordArray'],_0x50da09=_0x2cef39[_0xd6bf1b(0x30e)],_0x55ee52=_0x282161['algo'],_0x1d0d52=[],_0x438b38=_0x55ee52[_0xd6bf1b(0x270)]=_0x50da09[_0xd6bf1b(0x417)]({'_doReset':function(){var _0x43ba21=_0xd6bf1b;this['_hash']=new _0x3628fd[(_0x43ba21(0x349))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xeabc0f,_0x1238de){for(var _0x8a4558=this['_hash']['words'],_0x2cc5e1=_0x8a4558[0x0],_0x2d3129=_0x8a4558[0x1],_0x1b9063=_0x8a4558[0x2],_0xd8268f=_0x8a4558[0x3],_0x94013a=_0x8a4558[0x4],_0x19ceea=0x0;_0x19ceea<0x50;_0x19ceea++){if(_0x19ceea<0x10)_0x1d0d52[_0x19ceea]=_0xeabc0f[_0x1238de+_0x19ceea]|0x0;else{var _0x986279=_0x1d0d52[_0x19ceea-0x3]^_0x1d0d52[_0x19ceea-0x8]^_0x1d0d52[_0x19ceea-0xe]^_0x1d0d52[_0x19ceea-0x10];_0x1d0d52[_0x19ceea]=_0x986279<<0x1|_0x986279>>>0x1f;}var _0x165420=(_0x2cc5e1<<0x5|_0x2cc5e1>>>0x1b)+_0x94013a+_0x1d0d52[_0x19ceea];_0x19ceea<0x14?_0x165420+=(_0x2d3129&_0x1b9063|~_0x2d3129&_0xd8268f)+0x5a827999:_0x19ceea<0x28?_0x165420+=(_0x2d3129^_0x1b9063^_0xd8268f)+0x6ed9eba1:_0x19ceea<0x3c?_0x165420+=(_0x2d3129&_0x1b9063|_0x2d3129&_0xd8268f|_0x1b9063&_0xd8268f)-0x70e44324:_0x165420+=(_0x2d3129^_0x1b9063^_0xd8268f)-0x359d3e2a,_0x94013a=_0xd8268f,_0xd8268f=_0x1b9063,_0x1b9063=_0x2d3129<<0x1e|_0x2d3129>>>0x2,_0x2d3129=_0x2cc5e1,_0x2cc5e1=_0x165420;}_0x8a4558[0x0]=_0x8a4558[0x0]+_0x2cc5e1|0x0,_0x8a4558[0x1]=_0x8a4558[0x1]+_0x2d3129|0x0,_0x8a4558[0x2]=_0x8a4558[0x2]+_0x1b9063|0x0,_0x8a4558[0x3]=_0x8a4558[0x3]+_0xd8268f|0x0,_0x8a4558[0x4]=_0x8a4558[0x4]+_0x94013a|0x0;},'_doFinalize':function(){var _0x2a98e5=_0xd6bf1b,_0x4449a1=this[_0x2a98e5(0x41e)],_0x1c5a65=_0x4449a1[_0x2a98e5(0x309)],_0x37f276=this[_0x2a98e5(0x493)]*0x8,_0x59bc12=_0x4449a1['sigBytes']*0x8;return _0x1c5a65[_0x59bc12>>>0x5]|=0x80<<0x18-_0x59bc12%0x20,_0x1c5a65[(_0x59bc12+0x40>>>0x9<<0x4)+0xe]=Math[_0x2a98e5(0x2f9)](_0x37f276/0x100000000),_0x1c5a65[(_0x59bc12+0x40>>>0x9<<0x4)+0xf]=_0x37f276,_0x4449a1['sigBytes']=_0x1c5a65[_0x2a98e5(0x21f)]*0x4,this[_0x2a98e5(0x23a)](),this[_0x2a98e5(0x2b5)];},'clone':function(){var _0x449e8e=_0xd6bf1b,_0x5dc396=_0x50da09[_0x449e8e(0x43b)]['call'](this);return _0x5dc396['_hash']=this['_hash'][_0x449e8e(0x43b)](),_0x5dc396;}});_0x282161['SHA1']=_0x50da09[_0xd6bf1b(0x25f)](_0x438b38),_0x282161[_0xd6bf1b(0x2a5)]=_0x50da09[_0xd6bf1b(0x308)](_0x438b38);}()),_0x2469f0['SHA1'];}));}(qe)),qe[_0x3c067d(0x3d1)];}var ze={'exports':{}},bs=ze[_0x20e40c(0x3d1)],ti;function Os(){var _0x5cc571=_0x20e40c;return ti||(ti=0x1,function(_0x32a770,_0x3cf4af){(function(_0x5e7c4a,_0x4b7401){var _0x5dc45a=_0x593f;_0x32a770[_0x5dc45a(0x3d1)]=_0x4b7401(ie());}(bs,function(_0x24ff6a){(function(){var _0x2656f0=_0x593f,_0x2ec6ca=_0x24ff6a,_0x339539=_0x2ec6ca[_0x2656f0(0x3b3)],_0xd6f143=_0x339539[_0x2656f0(0x252)],_0x15258b=_0x2ec6ca[_0x2656f0(0x2d0)],_0x4a8b76=_0x15258b[_0x2656f0(0x258)],_0x2d4d92=_0x2ec6ca[_0x2656f0(0x29d)];_0x2d4d92[_0x2656f0(0x3ec)]=_0xd6f143[_0x2656f0(0x417)]({'init':function(_0x1e7e55,_0x5e5e96){var _0x529286=_0x2656f0;_0x1e7e55=this['_hasher']=new _0x1e7e55[(_0x529286(0x349))](),typeof _0x5e5e96==_0x529286(0x42d)&&(_0x5e5e96=_0x4a8b76['parse'](_0x5e5e96));var _0x2f9641=_0x1e7e55[_0x529286(0x330)],_0x4777e1=_0x2f9641*0x4;_0x5e5e96['sigBytes']>_0x4777e1&&(_0x5e5e96=_0x1e7e55[_0x529286(0x392)](_0x5e5e96)),_0x5e5e96[_0x529286(0x248)]();for(var _0xdc77d2=this[_0x529286(0x366)]=_0x5e5e96['clone'](),_0x102a26=this[_0x529286(0x383)]=_0x5e5e96[_0x529286(0x43b)](),_0x3cdae5=_0xdc77d2[_0x529286(0x309)],_0x2f3961=_0x102a26[_0x529286(0x309)],_0x5b494f=0x0;_0x5b494f<_0x2f9641;_0x5b494f++)_0x3cdae5[_0x5b494f]^=0x5c5c5c5c,_0x2f3961[_0x5b494f]^=0x36363636;_0xdc77d2['sigBytes']=_0x102a26[_0x529286(0x2d8)]=_0x4777e1,this[_0x529286(0x345)]();},'reset':function(){var _0x338911=_0x2656f0,_0x22af7f=this[_0x338911(0x489)];_0x22af7f[_0x338911(0x345)](),_0x22af7f[_0x338911(0x2c5)](this['_iKey']);},'update':function(_0x2711c6){var _0x44109b=_0x2656f0;return this[_0x44109b(0x489)][_0x44109b(0x2c5)](_0x2711c6),this;},'finalize':function(_0x4dbe57){var _0x17e67e=_0x2656f0,_0x3d39c8=this[_0x17e67e(0x489)],_0x2943bb=_0x3d39c8[_0x17e67e(0x392)](_0x4dbe57);_0x3d39c8['reset']();var _0x2e6d4c=_0x3d39c8[_0x17e67e(0x392)](this['_oKey'][_0x17e67e(0x43b)]()[_0x17e67e(0x2c1)](_0x2943bb));return _0x2e6d4c;}});}());}));}(ze)),ze[_0x5cc571(0x3d1)];}var ys=Ye[_0x20e40c(0x3d1)],ii;function Ui(){return ii||(ii=0x1,function(_0x3f0e4e,_0x36df05){(function(_0x42887a,_0x46daba,_0x3cf011){var _0xe7a2ee=_0x593f;_0x3f0e4e[_0xe7a2ee(0x3d1)]=_0x46daba(ie(),Rs(),Os());}(ys,function(_0xaac297){var _0x437f49=_0x593f;return(function(){var _0x26508c=_0x593f,_0x2b8f60=_0xaac297,_0x41db13=_0x2b8f60['lib'],_0x313004=_0x41db13['Base'],_0x151c4b=_0x41db13['WordArray'],_0x54921a=_0x2b8f60[_0x26508c(0x29d)],_0x5f0e27=_0x54921a[_0x26508c(0x4db)],_0xbcfbd7=_0x54921a[_0x26508c(0x2de)]=_0x313004['extend']({'cfg':_0x313004['extend']({'keySize':0x80/0x20,'hasher':_0x5f0e27,'iterations':0x1}),'init':function(_0x451c38){var _0x5b4294=_0x26508c;this[_0x5b4294(0x3f7)]=this[_0x5b4294(0x3f7)][_0x5b4294(0x417)](_0x451c38);},'compute':function(_0x122d1c,_0x2acadf){var _0x25fc16=_0x26508c;for(var _0x5a9040,_0x4bf398=this['cfg'],_0x15f4b8=_0x4bf398[_0x25fc16(0x287)][_0x25fc16(0x292)](),_0x1bb34a=_0x151c4b['create'](),_0x4e5067=_0x1bb34a['words'],_0x308c47=_0x4bf398[_0x25fc16(0x40b)],_0x3cbe03=_0x4bf398[_0x25fc16(0x278)];_0x4e5067[_0x25fc16(0x21f)]<_0x308c47;){_0x5a9040&&_0x15f4b8['update'](_0x5a9040),_0x5a9040=_0x15f4b8[_0x25fc16(0x2c5)](_0x122d1c)[_0x25fc16(0x392)](_0x2acadf),_0x15f4b8[_0x25fc16(0x345)]();for(var _0xc64386=0x1;_0xc64386<_0x3cbe03;_0xc64386++)_0x5a9040=_0x15f4b8[_0x25fc16(0x392)](_0x5a9040),_0x15f4b8[_0x25fc16(0x345)]();_0x1bb34a[_0x25fc16(0x2c1)](_0x5a9040);}return _0x1bb34a[_0x25fc16(0x2d8)]=_0x308c47*0x4,_0x1bb34a;}});_0x2b8f60['EvpKDF']=function(_0x454de7,_0x2fe7d1,_0x579f12){return _0xbcfbd7['create'](_0x579f12)['compute'](_0x454de7,_0x2fe7d1);};}()),_0xaac297[_0x437f49(0x2de)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){return ni||(ni=0x1,function(_0x43f442,_0x3298d5){(function(_0x4e74fd,_0x5be847,_0x32f630){_0x43f442['exports']=_0x5be847(ie(),Ui());}(Ns,function(_0x5111bb){var _0x1fea1b=_0x593f;_0x5111bb[_0x1fea1b(0x3b3)][_0x1fea1b(0x387)]||function(_0x1e2871){var _0x210156=_0x1fea1b,_0x5add45=_0x5111bb,_0x4cdca3=_0x5add45['lib'],_0x50d42e=_0x4cdca3['Base'],_0xbfc148=_0x4cdca3[_0x210156(0x249)],_0x25689d=_0x4cdca3[_0x210156(0x494)],_0x17feeb=_0x5add45['enc'];_0x17feeb[_0x210156(0x258)];var _0x34224c=_0x17feeb[_0x210156(0x436)],_0x516f49=_0x5add45['algo'],_0x310ca1=_0x516f49[_0x210156(0x2de)],_0x3a8ef7=_0x4cdca3[_0x210156(0x387)]=_0x25689d[_0x210156(0x417)]({'cfg':_0x50d42e[_0x210156(0x417)](),'createEncryptor':function(_0x102d58,_0x381283){var _0x56b174=_0x210156;return this[_0x56b174(0x292)](this[_0x56b174(0x463)],_0x102d58,_0x381283);},'createDecryptor':function(_0x45e01a,_0x2abbce){return this['create'](this['_DEC_XFORM_MODE'],_0x45e01a,_0x2abbce);},'init':function(_0x53aefc,_0x5cfff9,_0x56a26e){var _0x38b9ee=_0x210156;this['cfg']=this['cfg'][_0x38b9ee(0x417)](_0x56a26e),this['_xformMode']=_0x53aefc,this[_0x38b9ee(0x431)]=_0x5cfff9,this[_0x38b9ee(0x345)]();},'reset':function(){var _0x52d519=_0x210156;_0x25689d[_0x52d519(0x345)][_0x52d519(0x25a)](this),this[_0x52d519(0x341)]();},'process':function(_0x55dab3){var _0x55b814=_0x210156;return this['_append'](_0x55dab3),this[_0x55b814(0x23a)]();},'finalize':function(_0x27388e){var _0x126818=_0x210156;_0x27388e&&this['_append'](_0x27388e);var _0x4bd6b3=this[_0x126818(0x3fb)]();return _0x4bd6b3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x294f4c(_0x3acced){return typeof _0x3acced=='string'?_0x333083:_0x992868;}return function(_0x5ba562){return{'encrypt':function(_0x36c28a,_0x21338b,_0x52b95b){return _0x294f4c(_0x21338b)['encrypt'](_0x5ba562,_0x36c28a,_0x21338b,_0x52b95b);},'decrypt':function(_0x2cd59c,_0x16c901,_0x15ec6c){var _0x105255=_0x593f;return _0x294f4c(_0x16c901)[_0x105255(0x4b9)](_0x5ba562,_0x2cd59c,_0x16c901,_0x15ec6c);}};};}())});_0x4cdca3[_0x210156(0x1d9)]=_0x3a8ef7[_0x210156(0x417)]({'_doFinalize':function(){var _0x50a9f8=_0x210156,_0x3e00ce=this[_0x50a9f8(0x23a)](!0x0);return _0x3e00ce;},'blockSize':0x1});var _0x24b36d=_0x5add45[_0x210156(0x35f)]={},_0x1adffb=_0x4cdca3[_0x210156(0x3f9)]=_0x50d42e[_0x210156(0x417)]({'createEncryptor':function(_0x58e1c6,_0x29c6e2){var _0x4fb449=_0x210156;return this[_0x4fb449(0x24a)]['create'](_0x58e1c6,_0x29c6e2);},'createDecryptor':function(_0x4e0ad6,_0x452c73){var _0x3bbc32=_0x210156;return this[_0x3bbc32(0x2f0)][_0x3bbc32(0x292)](_0x4e0ad6,_0x452c73);},'init':function(_0x296012,_0x5185f2){var _0x11ce5b=_0x210156;this['_cipher']=_0x296012,this[_0x11ce5b(0x3a6)]=_0x5185f2;}}),_0x260622=_0x24b36d[_0x210156(0x497)]=(function(){var _0x10c833=_0x210156,_0x117146=_0x1adffb[_0x10c833(0x417)]();_0x117146[_0x10c833(0x24a)]=_0x117146[_0x10c833(0x417)]({'processBlock':function(_0x588b2d,_0x1d532e){var _0x4c39c5=_0x10c833,_0x3fae0b=this[_0x4c39c5(0x1ec)],_0x5d664d=_0x3fae0b['blockSize'];_0x1882f7['call'](this,_0x588b2d,_0x1d532e,_0x5d664d),_0x3fae0b['encryptBlock'](_0x588b2d,_0x1d532e),this['_prevBlock']=_0x588b2d[_0x4c39c5(0x2fd)](_0x1d532e,_0x1d532e+_0x5d664d);}}),_0x117146['Decryptor']=_0x117146[_0x10c833(0x417)]({'processBlock':function(_0x558e6c,_0x35d19c){var _0x56cdeb=_0x10c833,_0x1b30fd=this['_cipher'],_0x377914=_0x1b30fd[_0x56cdeb(0x330)],_0x88b571=_0x558e6c[_0x56cdeb(0x2fd)](_0x35d19c,_0x35d19c+_0x377914);_0x1b30fd[_0x56cdeb(0x1f4)](_0x558e6c,_0x35d19c),_0x1882f7[_0x56cdeb(0x25a)](this,_0x558e6c,_0x35d19c,_0x377914),this['_prevBlock']=_0x88b571;}});function _0x1882f7(_0x2872e6,_0x1edfb9,_0x58bcca){var _0x2d70c0=_0x10c833,_0x4d5a70,_0x19512b=this[_0x2d70c0(0x3a6)];_0x19512b?(_0x4d5a70=_0x19512b,this['_iv']=_0x1e2871):_0x4d5a70=this['_prevBlock'];for(var _0x359c28=0x0;_0x359c28<_0x58bcca;_0x359c28++)_0x2872e6[_0x1edfb9+_0x359c28]^=_0x4d5a70[_0x359c28];}return _0x117146;}()),_0x20e6fc=_0x5add45[_0x210156(0x490)]={},_0x3d7ef1=_0x20e6fc[_0x210156(0x1f3)]={'pad':function(_0x35de3e,_0x2190b2){var _0x10be02=_0x210156;for(var _0x17ca61=_0x2190b2*0x4,_0x2fdd0d=_0x17ca61-_0x35de3e[_0x10be02(0x2d8)]%_0x17ca61,_0x2d8ee9=_0x2fdd0d<<0x18|_0x2fdd0d<<0x10|_0x2fdd0d<<0x8|_0x2fdd0d,_0x4fc00d=[],_0x31d396=0x0;_0x31d396<_0x2fdd0d;_0x31d396+=0x4)_0x4fc00d['push'](_0x2d8ee9);var _0x274a96=_0xbfc148[_0x10be02(0x292)](_0x4fc00d,_0x2fdd0d);_0x35de3e[_0x10be02(0x2c1)](_0x274a96);},'unpad':function(_0x592766){var _0x4fe0c2=_0x210156,_0x3daa52=_0x592766[_0x4fe0c2(0x309)][_0x592766[_0x4fe0c2(0x2d8)]-0x1>>>0x2]&0xff;_0x592766[_0x4fe0c2(0x2d8)]-=_0x3daa52;}};_0x4cdca3[_0x210156(0x3b8)]=_0x3a8ef7[_0x210156(0x417)]({'cfg':_0x3a8ef7[_0x210156(0x3f7)]['extend']({'mode':_0x260622,'padding':_0x3d7ef1}),'reset':function(){var _0x208b4e=_0x210156,_0x209a83;_0x3a8ef7[_0x208b4e(0x345)][_0x208b4e(0x25a)](this);var _0x406853=this[_0x208b4e(0x3f7)],_0x4751de=_0x406853['iv'],_0x315cbf=_0x406853['mode'];this[_0x208b4e(0x3a4)]==this[_0x208b4e(0x463)]?_0x209a83=_0x315cbf['createEncryptor']:(_0x209a83=_0x315cbf[_0x208b4e(0x473)],this[_0x208b4e(0x3c9)]=0x1),this[_0x208b4e(0x2e2)]&&this[_0x208b4e(0x2e2)][_0x208b4e(0x2a7)]==_0x209a83?this[_0x208b4e(0x2e2)][_0x208b4e(0x349)](this,_0x4751de&&_0x4751de[_0x208b4e(0x309)]):(this['_mode']=_0x209a83['call'](_0x315cbf,this,_0x4751de&&_0x4751de['words']),this[_0x208b4e(0x2e2)]['__creator']=_0x209a83);},'_doProcessBlock':function(_0x387aeb,_0x5b0784){var _0x51e6d8=_0x210156;this[_0x51e6d8(0x2e2)][_0x51e6d8(0x209)](_0x387aeb,_0x5b0784);},'_doFinalize':function(){var _0x4df131=_0x210156,_0x496519,_0xf519ed=this['cfg'][_0x4df131(0x218)];return this[_0x4df131(0x3a4)]==this[_0x4df131(0x463)]?(_0xf519ed[_0x4df131(0x490)](this[_0x4df131(0x41e)],this[_0x4df131(0x330)]),_0x496519=this[_0x4df131(0x23a)](!0x0)):(_0x496519=this[_0x4df131(0x23a)](!0x0),_0xf519ed[_0x4df131(0x1e7)](_0x496519)),_0x496519;},'blockSize':0x80/0x20});var _0x538f98=_0x4cdca3[_0x210156(0x2e6)]=_0x50d42e[_0x210156(0x417)]({'init':function(_0x84a049){var _0xaa444c=_0x210156;this[_0xaa444c(0x3ad)](_0x84a049);},'toString':function(_0x419d8a){var _0x1042b0=_0x210156;return(_0x419d8a||this['formatter'])[_0x1042b0(0x364)](this);}}),_0xca3134=_0x5add45[_0x210156(0x2e9)]={},_0x41f938=_0xca3134[_0x210156(0x3b6)]={'stringify':function(_0x1d8c00){var _0x381890=_0x210156,_0x175c31,_0x5754bf=_0x1d8c00['ciphertext'],_0x3c27fc=_0x1d8c00[_0x381890(0x429)];return _0x3c27fc?_0x175c31=_0xbfc148[_0x381890(0x292)]([0x53616c74,0x65645f5f])[_0x381890(0x2c1)](_0x3c27fc)[_0x381890(0x2c1)](_0x5754bf):_0x175c31=_0x5754bf,_0x175c31[_0x381890(0x2da)](_0x34224c);},'parse':function(_0x861307){var _0xaad186=_0x210156,_0x394d38,_0x5bb01b=_0x34224c[_0xaad186(0x3ff)](_0x861307),_0x40e77e=_0x5bb01b[_0xaad186(0x309)];return _0x40e77e[0x0]==0x53616c74&&_0x40e77e[0x1]==0x65645f5f&&(_0x394d38=_0xbfc148['create'](_0x40e77e[_0xaad186(0x2fd)](0x2,0x4)),_0x40e77e['splice'](0x0,0x4),_0x5bb01b['sigBytes']-=0x10),_0x538f98[_0xaad186(0x292)]({'ciphertext':_0x5bb01b,'salt':_0x394d38});}},_0x992868=_0x4cdca3['SerializableCipher']=_0x50d42e[_0x210156(0x417)]({'cfg':_0x50d42e[_0x210156(0x417)]({'format':_0x41f938}),'encrypt':function(_0x1c1ab6,_0x3db84d,_0x33df15,_0x42475e){var _0x3ccf57=_0x210156;_0x42475e=this[_0x3ccf57(0x3f7)][_0x3ccf57(0x417)](_0x42475e);var _0x1f2ae6=_0x1c1ab6[_0x3ccf57(0x472)](_0x33df15,_0x42475e),_0x4ce94c=_0x1f2ae6[_0x3ccf57(0x392)](_0x3db84d),_0x2f6c95=_0x1f2ae6['cfg'];return _0x538f98[_0x3ccf57(0x292)]({'ciphertext':_0x4ce94c,'key':_0x33df15,'iv':_0x2f6c95['iv'],'algorithm':_0x1c1ab6,'mode':_0x2f6c95[_0x3ccf57(0x35f)],'padding':_0x2f6c95['padding'],'blockSize':_0x1c1ab6[_0x3ccf57(0x330)],'formatter':_0x42475e['format']});},'decrypt':function(_0xd90291,_0x2941e6,_0x24e95d,_0x380d78){var _0x36af59=_0x210156;_0x380d78=this[_0x36af59(0x3f7)][_0x36af59(0x417)](_0x380d78),_0x2941e6=this[_0x36af59(0x48b)](_0x2941e6,_0x380d78['format']);var _0x31d5de=_0xd90291[_0x36af59(0x473)](_0x24e95d,_0x380d78)[_0x36af59(0x392)](_0x2941e6['ciphertext']);return _0x31d5de;},'_parse':function(_0x593508,_0x4f8416){var _0x3bc289=_0x210156;return typeof _0x593508==_0x3bc289(0x42d)?_0x4f8416['parse'](_0x593508,this):_0x593508;}}),_0x3ea90b=_0x5add45['kdf']={},_0x3c64=_0x3ea90b[_0x210156(0x3b6)]={'execute':function(_0x1541af,_0x1b893b,_0x6ae031,_0x393036,_0xf02893){var _0x48ae9f=_0x210156;if(_0x393036||(_0x393036=_0xbfc148[_0x48ae9f(0x1f0)](0x40/0x8)),_0xf02893)var _0x352daa=_0x310ca1[_0x48ae9f(0x292)]({'keySize':_0x1b893b+_0x6ae031,'hasher':_0xf02893})[_0x48ae9f(0x20d)](_0x1541af,_0x393036);else var _0x352daa=_0x310ca1[_0x48ae9f(0x292)]({'keySize':_0x1b893b+_0x6ae031})['compute'](_0x1541af,_0x393036);var _0x325c10=_0xbfc148['create'](_0x352daa[_0x48ae9f(0x309)][_0x48ae9f(0x2fd)](_0x1b893b),_0x6ae031*0x4);return _0x352daa[_0x48ae9f(0x2d8)]=_0x1b893b*0x4,_0x538f98[_0x48ae9f(0x292)]({'key':_0x352daa,'iv':_0x325c10,'salt':_0x393036});}},_0x333083=_0x4cdca3['PasswordBasedCipher']=_0x992868[_0x210156(0x417)]({'cfg':_0x992868[_0x210156(0x3f7)]['extend']({'kdf':_0x3c64}),'encrypt':function(_0x1ca774,_0x50eef1,_0x41b530,_0x4fe59e){var _0x198a27=_0x210156;_0x4fe59e=this[_0x198a27(0x3f7)]['extend'](_0x4fe59e);var _0x786b8e=_0x4fe59e[_0x198a27(0x223)]['execute'](_0x41b530,_0x1ca774[_0x198a27(0x40b)],_0x1ca774['ivSize'],_0x4fe59e[_0x198a27(0x429)],_0x4fe59e[_0x198a27(0x287)]);_0x4fe59e['iv']=_0x786b8e['iv'];var _0x4459c5=_0x992868[_0x198a27(0x2bc)][_0x198a27(0x25a)](this,_0x1ca774,_0x50eef1,_0x786b8e[_0x198a27(0x26d)],_0x4fe59e);return _0x4459c5[_0x198a27(0x3ad)](_0x786b8e),_0x4459c5;},'decrypt':function(_0x6b239,_0x56d0b5,_0x40b9a4,_0x4f0f20){var _0x37b9fb=_0x210156;_0x4f0f20=this[_0x37b9fb(0x3f7)]['extend'](_0x4f0f20),_0x56d0b5=this[_0x37b9fb(0x48b)](_0x56d0b5,_0x4f0f20[_0x37b9fb(0x2e9)]);var _0x8497d1=_0x4f0f20[_0x37b9fb(0x223)][_0x37b9fb(0x232)](_0x40b9a4,_0x6b239['keySize'],_0x6b239['ivSize'],_0x56d0b5[_0x37b9fb(0x429)],_0x4f0f20[_0x37b9fb(0x287)]);_0x4f0f20['iv']=_0x8497d1['iv'];var _0x369438=_0x992868[_0x37b9fb(0x4b9)]['call'](this,_0x6b239,_0x56d0b5,_0x8497d1[_0x37b9fb(0x26d)],_0x4f0f20);return _0x369438;}});}();}));}(Je)),Je['exports'];}var Ds=Ve[_0x20e40c(0x3d1)],si;function Us(){var _0x2e4f05=_0x20e40c;return si||(si=0x1,function(_0x59d1a6,_0x38a839){(function(_0x57cc1d,_0x41204b,_0x45068f){_0x59d1a6['exports']=_0x41204b(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x3b8d3c){var _0x3d5832=_0x593f;return(function(){var _0x59b80a=_0x593f,_0x16332f=_0x3b8d3c,_0x155278=_0x16332f[_0x59b80a(0x3b3)],_0x441bce=_0x155278[_0x59b80a(0x3b8)],_0x53acc0=_0x16332f['algo'],_0x292588=[],_0x21ae3f=[],_0x35fda5=[],_0x11efe5=[],_0x26e48b=[],_0x589b25=[],_0x1613c9=[],_0x5a7a07=[],_0x289c12=[],_0x248e7f=[];(function(){for(var _0x15c105=[],_0x362c82=0x0;_0x362c82<0x100;_0x362c82++)_0x362c82<0x80?_0x15c105[_0x362c82]=_0x362c82<<0x1:_0x15c105[_0x362c82]=_0x362c82<<0x1^0x11b;for(var _0x21bc3d=0x0,_0x3426cb=0x0,_0x362c82=0x0;_0x362c82<0x100;_0x362c82++){var _0x215f3f=_0x3426cb^_0x3426cb<<0x1^_0x3426cb<<0x2^_0x3426cb<<0x3^_0x3426cb<<0x4;_0x215f3f=_0x215f3f>>>0x8^_0x215f3f&0xff^0x63,_0x292588[_0x21bc3d]=_0x215f3f,_0x21ae3f[_0x215f3f]=_0x21bc3d;var _0x42f0aa=_0x15c105[_0x21bc3d],_0x5f2eba=_0x15c105[_0x42f0aa],_0x5d22af=_0x15c105[_0x5f2eba],_0x54a120=_0x15c105[_0x215f3f]*0x101^_0x215f3f*0x1010100;_0x35fda5[_0x21bc3d]=_0x54a120<<0x18|_0x54a120>>>0x8,_0x11efe5[_0x21bc3d]=_0x54a120<<0x10|_0x54a120>>>0x10,_0x26e48b[_0x21bc3d]=_0x54a120<<0x8|_0x54a120>>>0x18,_0x589b25[_0x21bc3d]=_0x54a120;var _0x54a120=_0x5d22af*0x1010101^_0x5f2eba*0x10001^_0x42f0aa*0x101^_0x21bc3d*0x1010100;_0x1613c9[_0x215f3f]=_0x54a120<<0x18|_0x54a120>>>0x8,_0x5a7a07[_0x215f3f]=_0x54a120<<0x10|_0x54a120>>>0x10,_0x289c12[_0x215f3f]=_0x54a120<<0x8|_0x54a120>>>0x18,_0x248e7f[_0x215f3f]=_0x54a120,_0x21bc3d?(_0x21bc3d=_0x42f0aa^_0x15c105[_0x15c105[_0x15c105[_0x5d22af^_0x42f0aa]]],_0x3426cb^=_0x15c105[_0x15c105[_0x3426cb]]):_0x21bc3d=_0x3426cb=0x1;}}());var _0x2884c7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x553805=_0x53acc0['AES']=_0x441bce[_0x59b80a(0x417)]({'_doReset':function(){var _0x557a8b=_0x59b80a,_0x4fc69e;if(!(this[_0x557a8b(0x402)]&&this[_0x557a8b(0x4e6)]===this[_0x557a8b(0x431)])){for(var _0x426a23=this[_0x557a8b(0x4e6)]=this['_key'],_0x3d33fb=_0x426a23[_0x557a8b(0x309)],_0xba27a=_0x426a23[_0x557a8b(0x2d8)]/0x4,_0x1c0546=this[_0x557a8b(0x402)]=_0xba27a+0x6,_0xdc2b41=(_0x1c0546+0x1)*0x4,_0x561d53=this[_0x557a8b(0x311)]=[],_0x2b9d2b=0x0;_0x2b9d2b<_0xdc2b41;_0x2b9d2b++)_0x2b9d2b<_0xba27a?_0x561d53[_0x2b9d2b]=_0x3d33fb[_0x2b9d2b]:(_0x4fc69e=_0x561d53[_0x2b9d2b-0x1],_0x2b9d2b%_0xba27a?_0xba27a>0x6&&_0x2b9d2b%_0xba27a==0x4&&(_0x4fc69e=_0x292588[_0x4fc69e>>>0x18]<<0x18|_0x292588[_0x4fc69e>>>0x10&0xff]<<0x10|_0x292588[_0x4fc69e>>>0x8&0xff]<<0x8|_0x292588[_0x4fc69e&0xff]):(_0x4fc69e=_0x4fc69e<<0x8|_0x4fc69e>>>0x18,_0x4fc69e=_0x292588[_0x4fc69e>>>0x18]<<0x18|_0x292588[_0x4fc69e>>>0x10&0xff]<<0x10|_0x292588[_0x4fc69e>>>0x8&0xff]<<0x8|_0x292588[_0x4fc69e&0xff],_0x4fc69e^=_0x2884c7[_0x2b9d2b/_0xba27a|0x0]<<0x18),_0x561d53[_0x2b9d2b]=_0x561d53[_0x2b9d2b-_0xba27a]^_0x4fc69e);for(var _0x1f2d65=this[_0x557a8b(0x34d)]=[],_0x1ec7db=0x0;_0x1ec7db<_0xdc2b41;_0x1ec7db++){var _0x2b9d2b=_0xdc2b41-_0x1ec7db;if(_0x1ec7db%0x4)var _0x4fc69e=_0x561d53[_0x2b9d2b];else var _0x4fc69e=_0x561d53[_0x2b9d2b-0x4];_0x1ec7db<0x4||_0x2b9d2b<=0x4?_0x1f2d65[_0x1ec7db]=_0x4fc69e:_0x1f2d65[_0x1ec7db]=_0x1613c9[_0x292588[_0x4fc69e>>>0x18]]^_0x5a7a07[_0x292588[_0x4fc69e>>>0x10&0xff]]^_0x289c12[_0x292588[_0x4fc69e>>>0x8&0xff]]^_0x248e7f[_0x292588[_0x4fc69e&0xff]];}}},'encryptBlock':function(_0x4fa7bd,_0x49ba16){var _0x2ec878=_0x59b80a;this[_0x2ec878(0x31d)](_0x4fa7bd,_0x49ba16,this[_0x2ec878(0x311)],_0x35fda5,_0x11efe5,_0x26e48b,_0x589b25,_0x292588);},'decryptBlock':function(_0x23d707,_0x22f626){var _0x20ea31=_0x59b80a,_0x4765a2=_0x23d707[_0x22f626+0x1];_0x23d707[_0x22f626+0x1]=_0x23d707[_0x22f626+0x3],_0x23d707[_0x22f626+0x3]=_0x4765a2,this[_0x20ea31(0x31d)](_0x23d707,_0x22f626,this[_0x20ea31(0x34d)],_0x1613c9,_0x5a7a07,_0x289c12,_0x248e7f,_0x21ae3f);var _0x4765a2=_0x23d707[_0x22f626+0x1];_0x23d707[_0x22f626+0x1]=_0x23d707[_0x22f626+0x3],_0x23d707[_0x22f626+0x3]=_0x4765a2;},'_doCryptBlock':function(_0x4bd48c,_0x3ea4f4,_0x50359a,_0x411863,_0x217da0,_0x5205f1,_0x20be35,_0x535bc8){var _0x12c228=_0x59b80a;for(var _0x16e64f=this[_0x12c228(0x402)],_0x2c6ffb=_0x4bd48c[_0x3ea4f4]^_0x50359a[0x0],_0x5cf902=_0x4bd48c[_0x3ea4f4+0x1]^_0x50359a[0x1],_0x4ab43d=_0x4bd48c[_0x3ea4f4+0x2]^_0x50359a[0x2],_0x4c588d=_0x4bd48c[_0x3ea4f4+0x3]^_0x50359a[0x3],_0x537c70=0x4,_0x5e5872=0x1;_0x5e5872<_0x16e64f;_0x5e5872++){var _0x7f545e=_0x411863[_0x2c6ffb>>>0x18]^_0x217da0[_0x5cf902>>>0x10&0xff]^_0x5205f1[_0x4ab43d>>>0x8&0xff]^_0x20be35[_0x4c588d&0xff]^_0x50359a[_0x537c70++],_0x208719=_0x411863[_0x5cf902>>>0x18]^_0x217da0[_0x4ab43d>>>0x10&0xff]^_0x5205f1[_0x4c588d>>>0x8&0xff]^_0x20be35[_0x2c6ffb&0xff]^_0x50359a[_0x537c70++],_0x3b829b=_0x411863[_0x4ab43d>>>0x18]^_0x217da0[_0x4c588d>>>0x10&0xff]^_0x5205f1[_0x2c6ffb>>>0x8&0xff]^_0x20be35[_0x5cf902&0xff]^_0x50359a[_0x537c70++],_0x3fd271=_0x411863[_0x4c588d>>>0x18]^_0x217da0[_0x2c6ffb>>>0x10&0xff]^_0x5205f1[_0x5cf902>>>0x8&0xff]^_0x20be35[_0x4ab43d&0xff]^_0x50359a[_0x537c70++];_0x2c6ffb=_0x7f545e,_0x5cf902=_0x208719,_0x4ab43d=_0x3b829b,_0x4c588d=_0x3fd271;}var _0x7f545e=(_0x535bc8[_0x2c6ffb>>>0x18]<<0x18|_0x535bc8[_0x5cf902>>>0x10&0xff]<<0x10|_0x535bc8[_0x4ab43d>>>0x8&0xff]<<0x8|_0x535bc8[_0x4c588d&0xff])^_0x50359a[_0x537c70++],_0x208719=(_0x535bc8[_0x5cf902>>>0x18]<<0x18|_0x535bc8[_0x4ab43d>>>0x10&0xff]<<0x10|_0x535bc8[_0x4c588d>>>0x8&0xff]<<0x8|_0x535bc8[_0x2c6ffb&0xff])^_0x50359a[_0x537c70++],_0x3b829b=(_0x535bc8[_0x4ab43d>>>0x18]<<0x18|_0x535bc8[_0x4c588d>>>0x10&0xff]<<0x10|_0x535bc8[_0x2c6ffb>>>0x8&0xff]<<0x8|_0x535bc8[_0x5cf902&0xff])^_0x50359a[_0x537c70++],_0x3fd271=(_0x535bc8[_0x4c588d>>>0x18]<<0x18|_0x535bc8[_0x2c6ffb>>>0x10&0xff]<<0x10|_0x535bc8[_0x5cf902>>>0x8&0xff]<<0x8|_0x535bc8[_0x4ab43d&0xff])^_0x50359a[_0x537c70++];_0x4bd48c[_0x3ea4f4]=_0x7f545e,_0x4bd48c[_0x3ea4f4+0x1]=_0x208719,_0x4bd48c[_0x3ea4f4+0x2]=_0x3b829b,_0x4bd48c[_0x3ea4f4+0x3]=_0x3fd271;},'keySize':0x100/0x20});_0x16332f[_0x59b80a(0x240)]=_0x441bce[_0x59b80a(0x25f)](_0x553805);}()),_0x3b8d3c[_0x3d5832(0x240)];}));}(Ve)),Ve[_0x2e4f05(0x3d1)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x20e40c(0x3d1)],ai;function xs(){var _0x27e44c=_0x20e40c;return ai||(ai=0x1,function(_0x34009e,_0xdc541c){(function(_0x5c40a2,_0x5327a4){var _0x56a6a8=_0x593f;_0x34009e[_0x56a6a8(0x3d1)]=_0x5327a4(ie());}(Ls,function(_0x58ecd2){var _0x5f4dd0=_0x593f;return _0x58ecd2[_0x5f4dd0(0x2d0)]['Utf8'];}));}(Xe)),Xe[_0x27e44c(0x3d1)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze['exports'],oi;function Hs(){var _0x5be10e=_0x20e40c;return oi||(oi=0x1,function(_0x3950ee,_0x5258d0){(function(_0x5119c5,_0x48f9a9){var _0x1c3ba0=_0x593f;_0x3950ee[_0x1c3ba0(0x3d1)]=_0x48f9a9(ie());}($s,function(_0x5e680d){var _0x29028c=_0x593f;return(function(){var _0x64bbab=_0x593f;if(typeof ArrayBuffer==_0x64bbab(0x4c9)){var _0x51eaa0=_0x5e680d,_0x2ad23c=_0x51eaa0[_0x64bbab(0x3b3)],_0x5e2f56=_0x2ad23c[_0x64bbab(0x249)],_0x18c3ce=_0x5e2f56['init'],_0x638e87=_0x5e2f56[_0x64bbab(0x349)]=function(_0x257cc6){var _0x364e16=_0x64bbab;if(_0x257cc6 instanceof ArrayBuffer&&(_0x257cc6=new Uint8Array(_0x257cc6)),(_0x257cc6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x257cc6 instanceof Uint8ClampedArray||_0x257cc6 instanceof Int16Array||_0x257cc6 instanceof Uint16Array||_0x257cc6 instanceof Int32Array||_0x257cc6 instanceof Uint32Array||_0x257cc6 instanceof Float32Array||_0x257cc6 instanceof Float64Array)&&(_0x257cc6=new Uint8Array(_0x257cc6[_0x364e16(0x28d)],_0x257cc6[_0x364e16(0x322)],_0x257cc6[_0x364e16(0x42b)])),_0x257cc6 instanceof Uint8Array){for(var _0xf059e9=_0x257cc6[_0x364e16(0x42b)],_0x55bd08=[],_0x3d7953=0x0;_0x3d7953<_0xf059e9;_0x3d7953++)_0x55bd08[_0x3d7953>>>0x2]|=_0x257cc6[_0x3d7953]<<0x18-_0x3d7953%0x4*0x8;_0x18c3ce[_0x364e16(0x25a)](this,_0x55bd08,_0xf059e9);}else _0x18c3ce[_0x364e16(0x3d2)](this,arguments);};_0x638e87[_0x64bbab(0x228)]=_0x5e2f56;}}()),_0x5e680d['lib'][_0x29028c(0x249)];}));}(Ze)),Ze[_0x5be10e(0x3d1)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x20e40c(0x3d1)],ci;function Vs(){var _0x2193aa=_0x20e40c;return ci||(ci=0x1,function(_0x3183b5,_0x334057){(function(_0x45039a,_0x185444,_0x486680){_0x3183b5['exports']=_0x185444(ie(),Ai());}(Fs,function(_0x168953){var _0x35c102=_0x593f;return _0x168953[_0x35c102(0x490)][_0x35c102(0x3a1)]={'pad':function(){},'unpad':function(){}},_0x168953[_0x35c102(0x490)][_0x35c102(0x3a1)];}));}(Qe)),Qe[_0x2193aa(0x3d1)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x312d4c,_0x536e37){var _0x52f32f=_0x20e40c;const _0x523ed0=_0x536e37-_0x312d4c[_0x52f32f(0x21f)]%_0x536e37,_0x4fd911=String[_0x52f32f(0x42c)](_0x523ed0)[_0x52f32f(0x2b2)](_0x523ed0);return _0x312d4c+_0x4fd911;}function Ys(_0x4531c1,_0x179596){var _0x207960=_0x20e40c;const _0x146a35=js[_0x207960(0x1f0)](0x10),_0x2175fd=Ks(_0x4531c1,0x10),_0xac3337=ws['encrypt'](ks['parse'](_0x2175fd),ri[_0x207960(0x3ff)](_0x179596),{'iv':_0x146a35,'padding':Ws});return _0x146a35[_0x207960(0x2c1)](_0xac3337[_0x207960(0x2b3)])[_0x207960(0x2da)](ri);}function qs(){var _0x250d41=_0x20e40c;const _0x254a2e=_0x591a52()[_0x250d41(0x213)];if(_0x254a2e){const _0x584e73={'time':Math[_0x250d41(0x2f9)](Date['now']()/0x3e8),'domain':location['hostname']};return Ys(JSON[_0x250d41(0x364)](_0x584e73),_0x254a2e);}}var zs=Object[_0x20e40c(0x28e)],Js=(_0x1ea7e3,_0x4abcc9,_0x1fd978,_0x10a8ec)=>{for(var _0x19137d=_0x10a8ec>0x1?void 0x0:_0x10a8ec?zs(_0x4abcc9,_0x1fd978):_0x4abcc9,_0x402d1a=_0x1ea7e3['length']-0x1,_0x59169f;_0x402d1a>=0x0;_0x402d1a--)(_0x59169f=_0x1ea7e3[_0x402d1a])&&(_0x19137d=_0x59169f(_0x19137d)||_0x19137d);return _0x19137d;},Xs=(_0x4490ba,_0x576edb)=>(_0x18ceca,_0x1c9c49)=>_0x576edb(_0x18ceca,_0x1c9c49,_0x4490ba);let at=class{constructor(_0x4b894b){var _0x2fc542=_0x20e40c;this[_0x2fc542(0x336)]=_0x4b894b,this[_0x2fc542(0x1ff)]();}[_0x20e40c(0x1ff)](){var _0xde85c3=_0x20e40c;this[_0xde85c3(0x336)]['registerHTTPInterceptor']({'interceptor':(_0x3388cd,_0x55edf1)=>{const _0x4471b4=_0x3388cd['headers'],_0x377162=qs();return _0x377162&&_0x4471b4['set']('x-univer-host',_0x377162),_0x55edf1(_0x3388cd);}});}};at=Js([Xs(0x0,_0x6fdf38(_0x5bad79))],at);var Zs=Object[_0x20e40c(0x28e)],Qs=(_0x4aa7a4,_0x3958b9,_0x3cc92f,_0xbe009f)=>{for(var _0x14f3e0=_0xbe009f>0x1?void 0x0:_0xbe009f?Zs(_0x3958b9,_0x3cc92f):_0x3958b9,_0x598141=_0x4aa7a4['length']-0x1,_0x28e2c4;_0x598141>=0x0;_0x598141--)(_0x28e2c4=_0x4aa7a4[_0x598141])&&(_0x14f3e0=_0x28e2c4(_0x14f3e0)||_0x14f3e0);return _0x14f3e0;},mt=(_0x39ee46,_0x48b620)=>(_0x4e1164,_0x47d9f7)=>_0x48b620(_0x4e1164,_0x47d9f7,_0x39ee46);let bt=class extends _0xaf6fdc{constructor(_0x43267a,_0x2bd71b,_0x3687ff){var _0x172462=_0x20e40c;super(),N(this,_0x172462(0x291),new _0x161fc9(null)),N(this,_0x172462(0x276),this['_unitInfo$'][_0x172462(0x26a)]()),(this[_0x172462(0x357)]=_0x43267a,this[_0x172462(0x261)]=_0x2bd71b,this[_0x172462(0x26b)]=_0x3687ff);}async['loadUnit'](_0x6694d1,_0x1ba944,_0x30c85a){var _0x160bbd=_0x20e40c;this[_0x160bbd(0x291)]['next']({'unitId':_0x6694d1,'type':_0x1ba944,'subUnitId':_0x30c85a});let _0x536f2b=null;switch(_0x1ba944){case Q['UNIVER_SHEET']:{_0x536f2b=await this[_0x160bbd(0x37d)](_0x6694d1);break;}case Q['UNIVER_DOC']:{_0x536f2b=await this[_0x160bbd(0x4aa)](_0x6694d1);break;}default:{this[_0x160bbd(0x357)][_0x160bbd(0x220)](_0x160bbd(0x3a2),_0x160bbd(0x448));break;}}return _0x536f2b;}async[_0x20e40c(0x37d)](_0x2e72e8){var _0x290d93=_0x20e40c,_0x18536d;let _0x573905=0x0;const _0x3a6958=await((_0x18536d=this[_0x290d93(0x26b)])==null?void 0x0:_0x18536d['loadOfflineData'](_0x2e72e8));return _0x3a6958&&(_0x3a6958[_0x290d93(0x3bb)]||_0x3a6958[_0x290d93(0x3e2)][_0x290d93(0x21f)]!==0x0)&&(_0x573905=_0x3a6958[_0x290d93(0x1fb)]),_0x573905===0x0&&this[_0x290d93(0x357)][_0x290d93(0x1eb)](_0x290d93(0x3a2),_0x290d93(0x4c1)),this[_0x290d93(0x261)][_0x290d93(0x21c)](_0x2e72e8,_0x573905);}async[_0x20e40c(0x4aa)](_0x412171){var _0x5097bf=_0x20e40c,_0x284ae9;let _0x475244=0x0;const _0x29a234=await((_0x284ae9=this['_localCacheService'])==null?void 0x0:_0x284ae9[_0x5097bf(0x2cf)](_0x412171));return _0x29a234&&(_0x29a234[_0x5097bf(0x3bb)]||_0x29a234[_0x5097bf(0x3e2)]['length']!==0x0)&&(_0x475244=_0x29a234['rev']),_0x475244===0x0&&this[_0x5097bf(0x357)][_0x5097bf(0x1eb)](_0x5097bf(0x3a2),_0x5097bf(0x4c1)),this['_snapshotService'][_0x5097bf(0x4ed)](_0x412171,_0x475244);}};bt=Qs([mt(0x0,_0xc8c642),mt(0x1,_0x6fdf38(_0xf8a0ae)),mt(0x2,_0x205ae0(J))],bt);var er=Object[_0x20e40c(0x28e)],tr=(_0x239daa,_0x40ba9a,_0x4fec73,_0x4bfdb4)=>{var _0x38ae6e=_0x20e40c;for(var _0x4f3973=_0x4bfdb4>0x1?void 0x0:_0x4bfdb4?er(_0x40ba9a,_0x4fec73):_0x40ba9a,_0x3fb233=_0x239daa[_0x38ae6e(0x21f)]-0x1,_0x247540;_0x3fb233>=0x0;_0x3fb233--)(_0x247540=_0x239daa[_0x3fb233])&&(_0x4f3973=_0x247540(_0x4f3973)||_0x4f3973);return _0x4f3973;},gt=(_0x31637b,_0x43a5ea)=>(_0x56d114,_0x21e205)=>_0x43a5ea(_0x56d114,_0x21e205,_0x31637b);function _0x593f(_0x26a07e,_0x447c75){var _0x4d4690=_0x4d46();return _0x593f=function(_0x593f9d,_0x19051a){_0x593f9d=_0x593f9d-0x1d6;var _0x5883f6=_0x4d4690[_0x593f9d];return _0x5883f6;},_0x593f(_0x26a07e,_0x447c75);}const ir=[_0x20e40c(0x379),_0x20e40c(0x3c3),_0x20e40c(0x3d3),_0x20e40c(0x378),_0x20e40c(0x4d5)],nr=0x5*0x400*0x400,sr=_0x20e40c(0x262),rr='/universer-api/stream/file/upload',ar=_0x20e40c(0x3c7),or=_0x20e40c(0x304);let Ot=class{constructor(_0x42bcef,_0xa46f1d,_0x3851d3){var _0x1a6957=_0x20e40c;N(this,_0x1a6957(0x267),0x0),N(this,_0x1a6957(0x48a),new _0x3af3a2()),N(this,_0x1a6957(0x427),this[_0x1a6957(0x48a)]),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x42bcef,this[_0x1a6957(0x444)]=_0xa46f1d,this['_univerInstanceService']=_0x3851d3);}[_0x20e40c(0x43a)](_0x3fc8c9){var _0x5749f6=_0x20e40c;this[_0x5749f6(0x267)]=_0x3fc8c9,this['_change$']['next'](_0x3fc8c9);}[_0x20e40c(0x410)](_0x4d5307,_0xaea416){var _0x438d29=_0x20e40c;if(_0xaea416===_0x322774['BASE64']){const _0x5e7300=new Image();return _0x5e7300[_0x438d29(0x208)]=_0x4d5307,_0x5e7300;}return this[_0x438d29(0x22b)][_0x438d29(0x3c0)](_0x4d5307);}[_0x20e40c(0x435)](_0xc941ca,_0x58c212,_0x29d033){var _0x53e7a2=_0x20e40c;_0x58c212===_0x322774[_0x53e7a2(0x331)]||_0x29d033==null||this[_0x53e7a2(0x22b)][_0x53e7a2(0x3fc)](_0xc941ca,_0x29d033);}async[_0x20e40c(0x2ad)](_0x3b39f8){var _0x44d435=_0x20e40c;try{const _0x104136=this['_replaceFileID'](this['_getSignURL'](),''+_0x3b39f8),_0x2f8435=(await this[_0x44d435(0x336)][_0x44d435(0x3c0)](_0x104136))[_0x44d435(0x3d6)];if(_0x2f8435[_0x44d435(0x220)]&&_0x2f8435[_0x44d435(0x220)][_0x44d435(0x24b)]===Si['OK']){const _0x5107d3=new URL(_0x2f8435[_0x44d435(0x49c)],this[_0x44d435(0x302)]())['toString']();return Promise[_0x44d435(0x247)](_0x5107d3);}return Promise['reject'](_0x2f8435[_0x44d435(0x220)]);}catch(_0x375b57){return Promise['reject'](_0x375b57);}}async[_0x20e40c(0x455)](_0xb6aaf1){var _0x27939c=_0x20e40c;let _0xca92e3='';if(!ir[_0x27939c(0x38c)](_0xb6aaf1[_0x27939c(0x480)]))return this[_0x27939c(0x2d6)](),Promise[_0x27939c(0x414)](new Error(_0x508135[_0x27939c(0x499)]));if(_0xb6aaf1[_0x27939c(0x35d)]>nr)return this[_0x27939c(0x2d6)](),Promise[_0x27939c(0x414)](new Error(_0x508135['ERROR_EXCEED_SIZE']));try{const _0x358360=new FormData();_0x358360[_0x27939c(0x4a5)](_0x27939c(0x397),_0xb6aaf1);const _0x35ec87=this[_0x27939c(0x39c)]['getFocusedUnit'](),_0x2d3637=_0x35ec87==null?void 0x0:_0x35ec87[_0x27939c(0x475)]();if(!_0x2d3637)throw new Error(_0x27939c(0x3c4));const _0x1fd364=this['_getUploadFileURL']()+_0x27939c(0x406)+_0xb6aaf1[_0x27939c(0x35d)][_0x27939c(0x2da)]()+_0x27939c(0x4d3)+Ei[_0x27939c(0x1f1)]+_0x27939c(0x470)+encodeURIComponent(_0x2d3637),_0x53c04f=await(await fetch(_0x1fd364,{'method':_0x27939c(0x1f9),'body':_0x358360}))['json']();if(typeof _0x53c04f['FileId']!='string')return this[_0x27939c(0x2d6)](),Promise[_0x27939c(0x414)](new Error(_0x508135['ERROR_IMAGE']));_0xca92e3=_0x53c04f[_0x27939c(0x2cb)];}catch{return this[_0x27939c(0x2d6)](),Promise[_0x27939c(0x414)](new Error(_0x508135[_0x27939c(0x359)]));}return new Promise((_0xc1b7a1,_0x1cccad)=>{var _0x479e63=_0x27939c;const _0x4172d8=new FileReader();_0x4172d8[_0x479e63(0x37e)](_0xb6aaf1),_0x4172d8[_0x479e63(0x29e)]=_0x4bd070=>{var _0x2cb6a2=_0x479e63,_0x1d0f59;const _0x5b937b=(_0x1d0f59=_0x4bd070['target'])==null?void 0x0:_0x1d0f59[_0x2cb6a2(0x42e)];if(_0x5b937b==null){this['_decreaseWaiting'](),_0x1cccad(new Error(_0x508135[_0x2cb6a2(0x359)]));return;}const _0x2cd55e=_0x188155['generateRandomId'](0x6);_0xc1b7a1({'imageId':_0x2cd55e,'imageSourceType':_0x322774['UUID'],'source':_0xca92e3,'base64Cache':_0x5b937b,'status':_0x508135['SUCCUSS']}),this[_0x2cb6a2(0x2d6)]();};});}[_0x20e40c(0x4ab)](){var _0x3e98ee=_0x20e40c,_0x351090,_0x306af8;const _0x40d592=this[_0x3e98ee(0x444)]['getConfig'](sr),_0x3543ba=this['_configService'][_0x3e98ee(0x1dc)](q);return(_0x306af8=(_0x351090=_0x3543ba==null?void 0x0:_0x3543ba[_0x3e98ee(0x3cf)])!=null?_0x351090:_0x40d592)!=null?_0x306af8:rr;}[_0x20e40c(0x4a0)](){var _0x49a466=_0x20e40c,_0x45d551,_0x16fd5b;const _0x23c987=this['_configService']['getConfig'](ar),_0x1e16e8=this[_0x49a466(0x444)][_0x49a466(0x1dc)](q);return(_0x16fd5b=(_0x45d551=_0x1e16e8==null?void 0x0:_0x1e16e8[_0x49a466(0x299)])!=null?_0x45d551:_0x23c987)!=null?_0x16fd5b:or;}[_0x20e40c(0x302)](){var _0x144892=_0x20e40c,_0x26433f;const _0x5cf3e0=this[_0x144892(0x444)][_0x144892(0x1dc)](q);return(_0x26433f=_0x5cf3e0==null?void 0x0:_0x5cf3e0[_0x144892(0x464)])!=null?_0x26433f:location['origin'];}[_0x20e40c(0x3c1)](_0x242bd0,_0xd4bf4){var _0x49bc35=_0x20e40c;return _0x242bd0[_0x49bc35(0x428)](_0x49bc35(0x365),_0xd4bf4);}[_0x20e40c(0x2d6)](){var _0x821d6f=_0x20e40c;this['_waitCount']-=0x1,this[_0x821d6f(0x48a)]['next'](this[_0x821d6f(0x267)]);}};Ot=tr([gt(0x0,_0x6fdf38(_0x5bad79)),gt(0x1,_0x1f5986),gt(0x2,_0x6fdf38(_0x902ab0))],Ot);var cr=Object[_0x20e40c(0x28e)],hr=(_0x118a22,_0x22ffec,_0x1e401c,_0x42bfa4)=>{var _0x428ddb=_0x20e40c;for(var _0x4265c5=_0x42bfa4>0x1?void 0x0:_0x42bfa4?cr(_0x22ffec,_0x1e401c):_0x22ffec,_0x2eff94=_0x118a22[_0x428ddb(0x21f)]-0x1,_0x334176;_0x2eff94>=0x0;_0x2eff94--)(_0x334176=_0x118a22[_0x2eff94])&&(_0x4265c5=_0x334176(_0x4265c5)||_0x4265c5);return _0x4265c5;},hi=(_0x569e07,_0x4af9fd)=>(_0x1c923d,_0x4009bf)=>_0x4af9fd(_0x1c923d,_0x4009bf,_0x569e07);const _r=_0x20e40c(0x3fe);let yt=class{constructor(_0x3f304b,_0x39c422){var _0x3507c4=_0x20e40c;this[_0x3507c4(0x444)]=_0x3f304b,this[_0x3507c4(0x4ec)]=_0x39c422;}['_getAPIPrefixPath'](){var _0x171673=_0x20e40c,_0x1cafac,_0x1adfd4;const _0x3a1b64=this[_0x171673(0x444)]['getConfig'](Ni),_0x1cd272=this[_0x171673(0x444)][_0x171673(0x1dc)](q);return(_0x1adfd4=(_0x1cafac=_0x1cd272==null?void 0x0:_0x1cd272['authzUrl'])!=null?_0x1cafac:_0x3a1b64)!=null?_0x1adfd4:_r;}async['list'](_0x424fea){var _0x37cccc=_0x20e40c;const _0x21e23f=this[_0x37cccc(0x1e5)]()+_0x37cccc(0x2ea);return{'list':[{'title':_0x37cccc(0x37f),'mentions':(await this[_0x37cccc(0x4ec)][_0x37cccc(0x3c0)](_0x21e23f,{'params':{'objectID':_0x424fea[_0x37cccc(0x4c3)],'unitID':_0x424fea[_0x37cccc(0x4c3)]}}))[_0x37cccc(0x3d6)][_0x37cccc(0x3e6)][_0x37cccc(0x416)](_0x154adf=>({'objectId':_0x154adf['id'],'name':_0x154adf['subject']['name'],'metadata':{'icon':_0x154adf['subject'][_0x37cccc(0x204)]},'label':_0x154adf[_0x37cccc(0x346)][_0x37cccc(0x307)],'objectType':_0xb3dfbd[_0x37cccc(0x4df)]})),'metadata':{},'type':_0xb3dfbd[_0x37cccc(0x4df)]}]};}};yt=hr([hi(0x0,_0x6fdf38(_0x1f5986)),hi(0x1,_0x6fdf38(_0x5bad79))],yt);var lr=Object[_0x20e40c(0x28e)],ur=(_0x450d45,_0x453028,_0x57b10d,_0xdc8264)=>{var _0x3f81f0=_0x20e40c;for(var _0x5ad071=_0xdc8264>0x1?void 0x0:_0xdc8264?lr(_0x453028,_0x57b10d):_0x453028,_0x4b1753=_0x450d45[_0x3f81f0(0x21f)]-0x1,_0x540f99;_0x4b1753>=0x0;_0x4b1753--)(_0x540f99=_0x450d45[_0x4b1753])&&(_0x5ad071=_0x540f99(_0x5ad071)||_0x5ad071);return _0x5ad071;},we=(_0x6a131c,_0x29adbd)=>(_0x2ef7a3,_0x4f2ab0)=>_0x29adbd(_0x2ef7a3,_0x4f2ab0,_0x6a131c);let ot=class extends _0xaf6fdc{constructor(_0x1f826c,_0x4450cd,_0x325aaa,_0x4e3425,_0x187981){var _0x9684b6=_0x20e40c;super(),this[_0x9684b6(0x337)]=_0x1f826c,this[_0x9684b6(0x39c)]=_0x4450cd,this[_0x9684b6(0x4b8)]=_0x325aaa,this[_0x9684b6(0x4a9)]=_0x4e3425,this[_0x9684b6(0x256)]=_0x187981,this['_initUnitPermissionChange'](),this[_0x9684b6(0x281)]();}[_0x20e40c(0x281)](){var _0x31db1d=_0x20e40c;const _0x6afc32=async _0x46363e=>{var _0x1cf2fe=_0x593f;(await this['_collaborationSessionService'][_0x1cf2fe(0x4b0)](_0x46363e))['event$'][_0x1cf2fe(0x2f3)](_0x416ec6(_0x34afc1=>_0x34afc1[_0x1cf2fe(0x373)]===_0x351205[_0x1cf2fe(0x4ad)]),_0x45e91d(this[_0x1cf2fe(0x4ce)]))['subscribe'](_0x371223=>{var _0x23c1e8=_0x1cf2fe;const _0x2d1729=_0x371223,{reason:_0x18f42f}=_0x2d1729[_0x23c1e8(0x200)];this[_0x23c1e8(0x256)][_0x23c1e8(0x460)]({'id':re[_0x23c1e8(0x2bb)],'data':_0x18f42f}),this[_0x23c1e8(0x4b8)][_0x23c1e8(0x27d)](new _0x5d5705(_0x46363e)['id'],!0x1),this['_collaborationSessionService'][_0x23c1e8(0x398)](_0x46363e);});};_0x14fb54(this[_0x31db1d(0x39c)][_0x31db1d(0x1d8)](_0x3bea69[_0x31db1d(0x46d)]),this['_univerInstanceService'][_0x31db1d(0x1d8)](_0x3bea69[_0x31db1d(0x303)]))['pipe'](_0x17eabf(_0x512668=>_0x512668[_0x31db1d(0x475)]()),_0x416ec6(_0x4a85a1=>!_0x4c7f5a(_0x4a85a1)),_0x45e91d(this[_0x31db1d(0x4ce)]))[_0x31db1d(0x481)](_0x48b356=>{_0x6afc32(_0x48b356);});}[_0x20e40c(0x3d0)](){var _0x498625=_0x20e40c;const _0x3da972=async _0x254ae8=>{var _0x1de027=_0x593f;const _0x3e36b6=await this[_0x1de027(0x4a9)][_0x1de027(0x4b0)](_0x254ae8),_0x2a9e71=this[_0x1de027(0x337)]['get'](_0x1f59f6);_0x3e36b6[_0x1de027(0x318)][_0x1de027(0x2f3)](_0x416ec6(_0x1c8d62=>_0x1c8d62[_0x1de027(0x373)]===_0x351205[_0x1de027(0x317)]),_0x45e91d(this[_0x1de027(0x4ce)]))['subscribe'](_0x34d333=>{var _0xa300fd=_0x1de027;const _0x25b3d2=_0x34d333,{objectId:_0x2a224c}=_0x25b3d2[_0xa300fd(0x200)];_0x2a224c===_0x254ae8?_0x2a9e71[_0xa300fd(0x432)](_0x254ae8):_0x2a9e71[_0xa300fd(0x31b)](_0x254ae8,_0x2a224c);});};_0x14fb54(this[_0x498625(0x39c)]['getTypeOfUnitAdded$'](_0x3bea69[_0x498625(0x46d)]))['pipe'](_0x17eabf(_0x375d2c=>_0x375d2c[_0x498625(0x475)]()),_0x416ec6(_0x1d1e31=>!_0x4c7f5a(_0x1d1e31)),_0x45e91d(this[_0x498625(0x4ce)]))['subscribe'](_0x2d045b=>{_0x3da972(_0x2d045b);});}};ot=ur([we(0x0,_0x6fdf38(_0x4441be)),we(0x1,_0x902ab0),we(0x2,_0x4f7158),we(0x3,_0x6fdf38(xe)),we(0x4,_0x6fdf38(pe))],ot);var dr=Object[_0x20e40c(0x28e)],fr=(_0x4b8c53,_0x1122af,_0x44decf,_0x27d40b)=>{var _0x20c4bd=_0x20e40c;for(var _0x54be0f=_0x27d40b>0x1?void 0x0:_0x27d40b?dr(_0x1122af,_0x44decf):_0x1122af,_0x1ba047=_0x4b8c53[_0x20c4bd(0x21f)]-0x1,_0x4d3d75;_0x1ba047>=0x0;_0x1ba047--)(_0x4d3d75=_0x4b8c53[_0x1ba047])&&(_0x54be0f=_0x4d3d75(_0x54be0f)||_0x54be0f);return _0x54be0f;},_i=(_0x47b60a,_0x24a842)=>(_0x5153e,_0x21fc0c)=>_0x24a842(_0x5153e,_0x21fc0c,_0x47b60a);let Nt=class{constructor(_0x129e0d,_0xc064d2){this['_configService']=_0x129e0d,this['_httpService']=_0xc064d2;}async[_0x20e40c(0x2ac)](_0x2a2702,_0x376d0a){var _0x553233=_0x20e40c,_0x5a6e2c;const {unitID:_0x3326d0,type:_0x3e9e91,revision:_0xe70dec=0x0}=_0x376d0a,_0x43e057=this[_0x553233(0x241)]()+'/'+_0x3e9e91+_0x553233(0x4a8)+_0x3326d0+'/rev/'+_0xe70dec,_0x3db4a1=(await this[_0x553233(0x336)][_0x553233(0x3c0)](_0x43e057))[_0x553233(0x3d6)],_0x24f7f4=(_0x5a6e2c=_0x3db4a1['snapshot'])==null?void 0x0:_0x5a6e2c[_0x553233(0x3e4)];if(_0x24f7f4){const _0x599c5b=_0x24f7f4==null?void 0x0:_0x24f7f4['originalMeta'],_0x201345=_0x3d3c19['encode'](_0x564e08(_0x599c5b));_0x24f7f4['originalMeta']=_0x201345,Object[_0x553233(0x3e9)](_0x24f7f4[_0x553233(0x4a7)])[_0x553233(0x440)](([,_0x1ffd83])=>{var _0x3c570f=_0x553233;const _0xfd90c9=_0x1ffd83[_0x3c570f(0x367)],_0x52f0ea=_0x3d3c19[_0x3c570f(0x2e8)](_0x564e08(_0xfd90c9));_0x1ffd83['originalMeta']=_0x52f0ea;});}return _0x3db4a1;}async[_0x20e40c(0x2b9)](_0xbbc85a,_0x3f7d68){var _0x593079=_0x20e40c;const {unitID:_0x374f6b,type:_0x282147,blockID:_0x1080a4}=_0x3f7d68,_0x2a6c74=this[_0x593079(0x335)]()+'/'+_0x282147+_0x593079(0x4a8)+_0x374f6b+_0x593079(0x347)+_0x1080a4;return(await this[_0x593079(0x336)][_0x593079(0x3c0)](_0x2a6c74))[_0x593079(0x3d6)];}async[_0x20e40c(0x1f7)](_0x4b0c90,_0x414e51){var _0x560c53=_0x20e40c;const {unitID:_0x52f38b,type:_0x17bf69,blockID:_0x727ed1}=_0x414e51,_0x3cf6fa=this[_0x560c53(0x335)]()+_0x560c53(0x347)+_0x17bf69+'/unit/'+_0x52f38b+_0x560c53(0x347)+_0x727ed1;return(await this[_0x560c53(0x336)][_0x560c53(0x3c0)](_0x3cf6fa))[_0x560c53(0x3d6)];}async['fetchMissingChangesets'](_0x2ab61d,_0x480d7e){var _0x32bac7=_0x20e40c;const {unitID:_0x32cb0d,type:_0x1f326c,from:_0xb2b158,to:_0x5813bf}=_0x480d7e,_0x395f9e=this[_0x32bac7(0x335)]()+'/'+_0x1f326c+'/unit/'+_0x32cb0d+_0x32bac7(0x443)+_0xb2b158+'&to='+_0x5813bf;return(await this[_0x32bac7(0x336)][_0x32bac7(0x3c0)](_0x395f9e))[_0x32bac7(0x3d6)];}[_0x20e40c(0x241)](){var _0x12f358=_0x20e40c,_0x1d7cf1;return(_0x1d7cf1=this[_0x12f358(0x444)][_0x12f358(0x1dc)](Sn))!=null?_0x1d7cf1:this[_0x12f358(0x335)]();}[_0x20e40c(0x335)](){var _0x4ab5a5=_0x20e40c,_0x27cdda,_0x36d2ac;const _0x561db2=this[_0x4ab5a5(0x444)][_0x4ab5a5(0x1dc)](mn),_0x561f80=this['_configService'][_0x4ab5a5(0x1dc)](q);return(_0x36d2ac=(_0x27cdda=_0x561f80==null?void 0x0:_0x561f80[_0x4ab5a5(0x29a)])!=null?_0x27cdda:_0x561db2)!=null?_0x36d2ac:gn;}async[_0x20e40c(0x479)](_0x499873,_0x29b994){var _0x13d520=_0x20e40c;const _0x3fd1c0=_0x13d520(0x1e4)+_0x29b994['type']+_0x13d520(0x4a8)+_0x29b994[_0x13d520(0x24f)]+_0x13d520(0x216);return(await this['_httpService'][_0x13d520(0x3c0)](_0x3fd1c0,{'params':{'resourceId':JSON[_0x13d520(0x364)](_0x29b994[_0x13d520(0x2f2)])}}))[_0x13d520(0x3d6)];}[_0x20e40c(0x3f8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x20e40c(0x2af)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x20e40c(0x400)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x20e40c(0x4d0)](){var _0x2b07fd=_0x20e40c;throw new Error(_0x2b07fd(0x1db));}[_0x20e40c(0x430)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x1f5986),_i(0x1,_0x6fdf38(_0x5bad79))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x2f2d1d,_0x5e2f7d,_0x37c5d1,_0x3afa54)=>{var _0x3e4c8f=_0x20e40c;for(var _0x33315c=_0x3afa54>0x1?void 0x0:_0x3afa54?vr(_0x5e2f7d,_0x37c5d1):_0x5e2f7d,_0x3cfde7=_0x2f2d1d[_0x3e4c8f(0x21f)]-0x1,_0x403654;_0x3cfde7>=0x0;_0x3cfde7--)(_0x403654=_0x2f2d1d[_0x3cfde7])&&(_0x33315c=_0x403654(_0x33315c)||_0x33315c);return _0x33315c;},Pe=(_0xc4bc9d,_0x55d402)=>(_0x1ffabb,_0x5c78c1)=>_0x55d402(_0x1ffabb,_0x5c78c1,_0xc4bc9d);let Dt=class extends _0x4707a{constructor(_0x2ecc2d,_0x28dad5,_0x2f93ec,_0x210d8c,_0x2d582a){var _0x5c1727=_0x20e40c;super(_0x2ecc2d,_0x28dad5,_0x2f93ec),this[_0x5c1727(0x384)]=_0x210d8c,this[_0x5c1727(0x357)]=_0x2d582a;}[_0x20e40c(0x4bb)](_0x2f0e19,_0x5e97ca){var _0x2f6239=_0x20e40c;const _0x26dcde=this[_0x2f6239(0x482)](_0x2f0e19);if(_0x26dcde)try{const _0x2f12aa=this[_0x2f6239(0x2d1)](_0x26dcde,_0x5e97ca);this[_0x2f6239(0x1dd)](_0x2f0e19,_0x2f12aa);}catch(_0x1122aa){this[_0x2f6239(0x357)]['error'](_0x2f6239(0x483),_0x1122aa),this['_clearUndo'](_0x2f0e19);}const _0x1fc883=this[_0x2f6239(0x34e)](_0x2f0e19);if(_0x1fc883)try{const _0x3d00fc=this[_0x2f6239(0x2d1)](_0x1fc883,_0x5e97ca);this['_substituteRedoStack'](_0x2f0e19,_0x3d00fc);}catch(_0x20248e){this[_0x2f6239(0x357)][_0x2f6239(0x220)](_0x20248e),this[_0x2f6239(0x44c)](_0x2f0e19);}}[_0x20e40c(0x31f)](_0x2d520e){var _0x11a016=_0x20e40c;const _0x5f535f=this[_0x11a016(0x482)](_0x2d520e);_0x5f535f&&(_0x5f535f['length']=0x0,this['_updateStatus']());}[_0x20e40c(0x44c)](_0x45aa1f){var _0x5a2242=_0x20e40c;const _0x4ce448=this[_0x5a2242(0x34e)](_0x45aa1f);_0x4ce448&&(_0x4ce448['length']=0x0,this['_updateStatus']());}[_0x20e40c(0x1dd)](_0x105e73,_0x2c93e9){var _0x59a777=_0x20e40c;this[_0x59a777(0x2bd)][_0x59a777(0x3fc)](_0x105e73,_0x2c93e9),this[_0x59a777(0x2ba)]();}[_0x20e40c(0x48d)](_0x2316d9,_0x2b1c9a){this['_redoStacks']['set'](_0x2316d9,_0x2b1c9a),this['_updateStatus']();}[_0x20e40c(0x2d1)](_0x4ce923,_0x6595bd){var _0x577ec5=_0x20e40c;const _0x5ad135=[];let _0x5ae48=_0x6595bd,_0x2a4052=_0x6595bd;for(let _0x18790e=_0x4ce923[_0x577ec5(0x21f)]-0x1;_0x18790e>=0x0;_0x18790e--){const {unitID:_0x45ff24,undoMutations:_0x47c14e,redoMutations:_0x3bd927}=_0x4ce923[_0x18790e],_0x5e7341=this['_transformService'][_0x577ec5(0x20e)](_0x5ae48,_0x47c14e),_0x3bfcab=this['_transformService'][_0x577ec5(0x20e)](_0x2a4052,_0x3bd927);if(_0x2e2329(_0x5e7341)||_0x2e2329(_0x3bfcab)){this['_logService'][_0x577ec5(0x220)](_0x577ec5(0x483),'transformStack\x20failed!',_0x5e7341,_0x3bfcab);break;}_0x5ae48=_0x5e7341[_0x577ec5(0x33e)],_0x2a4052=_0x3bfcab[_0x577ec5(0x33e)],_0x5ad135[_0x577ec5(0x2a8)]({'unitID':_0x45ff24,'undoMutations':_0x5e7341['m2Prime'],'redoMutations':_0x3bfcab[_0x577ec5(0x407)]});}return _0x5ad135['reverse']();}};Dt=pr([Pe(0x0,_0x902ab0),Pe(0x1,_0x179fd9),Pe(0x2,_0x4d421b),Pe(0x3,_0x398454),Pe(0x4,_0xc8c642)],Dt);var mr=Object[_0x20e40c(0x486)],gr=Object[_0x20e40c(0x28e)],Sr=(_0x4bbdbf,_0x45e534,_0x407497)=>_0x45e534 in _0x4bbdbf?mr(_0x4bbdbf,_0x45e534,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x407497}):_0x4bbdbf[_0x45e534]=_0x407497,Er=(_0x12bcda,_0x35e35e,_0x51ee83,_0x339215)=>{var _0x82d55b=_0x20e40c;for(var _0x1be0cf=_0x339215>0x1?void 0x0:_0x339215?gr(_0x35e35e,_0x51ee83):_0x35e35e,_0x251a99=_0x12bcda[_0x82d55b(0x21f)]-0x1,_0x47fbd4;_0x251a99>=0x0;_0x251a99--)(_0x47fbd4=_0x12bcda[_0x251a99])&&(_0x1be0cf=_0x47fbd4(_0x1be0cf)||_0x1be0cf);return _0x1be0cf;},St=(_0xc99f68,_0x54f970)=>(_0xe5dd64,_0x237160)=>_0x54f970(_0xe5dd64,_0x237160,_0xc99f68),Ir=(_0x5c0bc1,_0x306096,_0x559d80)=>Sr(_0x5c0bc1,_0x306096+'',_0x559d80);const Tr=_0x20e40c(0x30b);let Ut=class extends _0x2d93c7{constructor(_0x2e60cd,_0x537d71,_0x4b68bb,_0x3a725e){var _0xe18575=_0x20e40c;super(),N(this,_0xe18575(0x226)),(this[_0xe18575(0x357)]=_0x537d71,this[_0xe18575(0x337)]=_0x4b68bb,this['_configService']=_0x3a725e);const {..._0x407350}=_0x557ce2({},wn,_0x2e60cd);if(!_0x407350[_0xe18575(0x3c8)])throw new Error(_0xe18575(0x3e7));this[_0xe18575(0x226)]=_0x407350,this['_configService'][_0xe18575(0x283)](q,_0x407350);}[_0x20e40c(0x38d)](){var _0xb1bc1b=_0x20e40c;this[_0xb1bc1b(0x3eb)](),this[_0xb1bc1b(0x3e8)]();}[_0x20e40c(0x3eb)](){var _0x4c8d70=_0x20e40c,_0x14ec64,_0x2a6dd3;this[_0x4c8d70(0x337)][_0x4c8d70(0x1e3)](_0x46af88)&&this[_0x4c8d70(0x357)][_0x4c8d70(0x220)](_0x4c8d70(0x2f7),_0x4c8d70(0x462));const _0x4e36ba=_0x5ec118([[_0x46af88,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x4c8d70(0x226)][_0x4c8d70(0x3c8)]}],[_0x2c5123,{'useClass':Nt}],[_0x561341,{'useClass':Rt}],[_0x17846d,{'useClass':Ot}],[_0x9d291,{'useClass':yt}],[st],[Ct]],(_0x14ec64=this[_0x4c8d70(0x226)])==null?void 0x0:_0x14ec64[_0x4c8d70(0x35c)]);if(!((_0x2a6dd3=this[_0x4c8d70(0x226)])!=null&&_0x2a6dd3[_0x4c8d70(0x2ca)])){const _0x291f73=_0x4e36ba['findIndex'](([_0x51184b])=>_0x51184b===ht);_0x291f73!==-0x1&&_0x4e36ba[_0x4c8d70(0x246)](_0x291f73,0x1);}_0x1d8bf6(this['_injector'],_0x4e36ba);}[_0x20e40c(0x3e8)](){var _0x2621dd=_0x20e40c,_0x2bd15a,_0x23a898,_0x19637a;this[_0x2621dd(0x337)]['get'](_0x5bad79)[_0x2621dd(0x305)]({'priority':0x14,'interceptor':_0x5cba24({'maxParallel':0x6})}),(_0x2bd15a=this[_0x2621dd(0x226)])!=null&&_0x2bd15a[_0x2621dd(0x4e0)]||(_0x23a898=this['_injector'][_0x2621dd(0x3c0)](J,_0x4032ae[_0x2621dd(0x44b)]))==null||_0x23a898[_0x2621dd(0x27c)](),(_0x19637a=this[_0x2621dd(0x226)])!=null&&_0x19637a['enableAuthServer']&&_0x7415f4(this[_0x2621dd(0x337)],[[rt]]),_0x7415f4(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x38ab10(_0x384609,_0x5acb00),St(0x1,_0xc8c642),St(0x2,_0x6fdf38(_0x4441be)),St(0x3,_0x1f5986)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0x8ca89f=_0x5c85;(function(_0x1c0dbb,_0x14c30d){var _0x323ee6=_0x5c85,_0x294be5=_0x1c0dbb();while(!![]){try{var _0x586d45=parseInt(_0x323ee6(0x391))/0x1*(-parseInt(_0x323ee6(0x209))/0x2)+-parseInt(_0x323ee6(0x23e))/0x3+-parseInt(_0x323ee6(0x260))/0x4*(-parseInt(_0x323ee6(0x41f))/0x5)+parseInt(_0x323ee6(0x310))/0x6*(-parseInt(_0x323ee6(0x272))/0x7)+-parseInt(_0x323ee6(0x137))/0x8*(parseInt(_0x323ee6(0x294))/0x9)+parseInt(_0x323ee6(0x31c))/0xa*(parseInt(_0x323ee6(0x2bb))/0xb)+parseInt(_0x323ee6(0x17d))/0xc;if(_0x586d45===_0x14c30d)break;else _0x294be5['push'](_0x294be5['shift']());}catch(_0x1ab7cd){_0x294be5['push'](_0x294be5['shift']());}}}(_0x5265,0x65089));var wi=Object['defineProperty'],Pi=(_0x17b8b,_0x1754aa,_0x25670e)=>_0x1754aa in _0x17b8b?wi(_0x17b8b,_0x1754aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25670e}):_0x17b8b[_0x1754aa]=_0x25670e,N=(_0x1a58be,_0x58b994,_0x546282)=>Pi(_0x1a58be,typeof _0x58b994!=_0x8ca89f(0x407)?_0x58b994+'':_0x58b994,_0x546282);import{createIdentifier as _0x24186e,Inject as _0x40b328,Injector as _0x481071,IConfigService as _0x4a241c,ILogService as _0x5dea26,Disposable as _0x1bcadd,DisposableCollection as _0x579de5,toDisposable as _0x57ddb2,IUniverInstanceService as _0x21e2dc,UserManagerService as _0x86f250,UniverInstanceType as _0x160b1f,LocaleService as _0x1163c2,Optional as _0x2f6ba1,RxDisposable as _0x4aa20b,Tools as _0x23d9a1,Rectangle as _0x57b550,ICommandService as _0x3757e0,JSONX as _0x13e244,CommandType as _0x470f3a,IUndoRedoService as _0x13f494,IPermissionService as _0x14ac23,sequenceExecute as _0x394e17,Workbook as _0x44be6f,MentionType as _0x58ca96,isInternalEditorID as _0x200e26,LocalUndoRedoService as _0x460a58,IContextService as _0x3bc2c3,DependentOn as _0x3f331a,Plugin as _0x165733,merge as _0x131a02,mergeOverrideWithDependencies as _0x16639e,IAuthzIoService as _0x457ba3,IMentionIOService as _0x3f7401,registerDependencies as _0x499516,Quantity as _0x5e0562,touchDependencies as _0x3a7db1}from'@univerjs/core';import{Subject as _0x25c28c,merge as _0x42434b,of as _0x57e6b5,BehaviorSubject as _0x58b670,takeUntil as _0x4da7d2,ReplaySubject as _0x5ed048,take as _0x206b4a,map as _0x24a377,shareReplay as _0x966e42,firstValueFrom as _0x5cc993,concatMap as _0x229df6}from'rxjs';import{map as _0x352190,take as _0x27f246,filter as _0x397cd2,delay as _0x8a20bf,takeUntil as _0x9c6fc3}from'rxjs/operators';import{CollaborationEvent as _0x50cb76,ISnapshotServerService as _0x622c1a,parseChangesetToProtocol as _0x584a18,ITransformService as _0x32f351,isTransformMutationsWithChangesetSuccess as _0x447128,mapDocumentTypeToUniverType as _0x4823c9,RevisionService as _0x236155,isTransformChangesetsSuccess as _0x4cb9eb,CompressMutationService as _0x52ac6c,parseProtocolChangeset as _0x55fdce,SnapshotService as _0x1a08e2,textEncoder as _0x475581,b64DecodeUnicode as _0xc3ecfe,isTransformMutationsWithChangesetFailure as _0x39575b,UniverCollaborationPlugin as _0x18c3c4}from'@univerjs-pro/collaboration';import{HTTPService as _0x2bff6f,ISocketService as _0x5392cb,MergeInterceptorFactory as _0xe19e57,HTTPRequest as _0x219170,UniverNetworkPlugin as _0x19fdd8,ThresholdInterceptorFactory as _0x42ce41}from'@univerjs/network';import{ITelemetryService as _0x8e45e2}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3af4e6}from'@univerjs/docs';import{SheetsSelectionsService as _0x545210,SetSelectionsOperation as _0x273064,InsertSheetMutation as _0x231028,EmptyMutation as _0x33ae90,WorkbookEditablePermission as _0x25b7cf,SheetPermissionInitController as _0x24e273}from'@univerjs/sheets';import{ImageSourceType as _0x32815c,ImageUploadStatusType as _0x30fa8a,IImageIoService as _0xc25c56}from'@univerjs/drawing';import{getGlobalObject as _0x4247c0}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x8ca89f(0x3b1),Sn=_0x8ca89f(0x224),Lr=_0x8ca89f(0x385),En=0x7d0,In=_0x8ca89f(0x149),Tn=_0x8ca89f(0x16d),xr='/universer-api/user/session-ticket',Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0x8ca89f(0x2f2),yn=0x3,Mr='LOCAL_CACHE_INTERVAL',kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn='/universer-api/comb',Un=_0x8ca89f(0x414),An=_0x8ca89f(0x431),$r=_0x8ca89f(0x19a),Hr=_0x8ca89f(0x29d);var Si=(_0x1afa0c=>(_0x1afa0c[_0x1afa0c[_0x8ca89f(0x1cb)]=0x0]=_0x8ca89f(0x1cb),_0x1afa0c[_0x1afa0c['OK']=0x1]='OK',_0x1afa0c[_0x1afa0c[_0x8ca89f(0x3fb)]=0x2]='INTERNAL_ERROR',_0x1afa0c[_0x1afa0c['PERMISSION_DENIED']=0x3]=_0x8ca89f(0x201),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x2c1)]=0x4]='NOT_FOUND',_0x1afa0c[_0x1afa0c[_0x8ca89f(0x1e0)]=0x5]=_0x8ca89f(0x1e0),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x13f)]=0x6]=_0x8ca89f(0x13f),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x258)]=0x7]='INVALID_ARGUMENT',_0x1afa0c[_0x1afa0c[_0x8ca89f(0x141)]=0x8]=_0x8ca89f(0x141),_0x1afa0c[_0x1afa0c['COMPLETION_FINISHED']=0x9]=_0x8ca89f(0x426),_0x1afa0c[_0x1afa0c['LOGIN_FAILED']=0xa]=_0x8ca89f(0x2af),_0x1afa0c[_0x1afa0c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x8ca89f(0x233),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x223)]=0x1771]=_0x8ca89f(0x223),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x33d)]=0x1772]=_0x8ca89f(0x33d),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x1c8)]=0x1773]=_0x8ca89f(0x1c8),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x198)]=0x1b59]=_0x8ca89f(0x198),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x171)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1afa0c[_0x1afa0c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x8ca89f(0x3ca),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x323)]=0x1b5c]=_0x8ca89f(0x323),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x429)]=0x1b5d]=_0x8ca89f(0x429),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x173)]=0x1f41]=_0x8ca89f(0x173),_0x1afa0c[_0x1afa0c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x8ca89f(0x34e),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x238)]=0x232a]=_0x8ca89f(0x238),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x37b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1afa0c[_0x1afa0c[_0x8ca89f(0x36e)]=0x232c]=_0x8ca89f(0x36e),_0x1afa0c[_0x1afa0c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x8ca89f(0x38b),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x2db)]=0x2711]=_0x8ca89f(0x2db),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x37e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1afa0c[_0x1afa0c[_0x8ca89f(0x3df)]=0x2713]=_0x8ca89f(0x3df),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x25d)]=0x2714]=_0x8ca89f(0x25d),_0x1afa0c[_0x1afa0c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x8ca89f(0x1c5),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x2e4)]=0x271b]=_0x8ca89f(0x2e4),_0x1afa0c[_0x1afa0c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x8ca89f(0x2e9),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x366)]=0x2ee1]=_0x8ca89f(0x366),_0x1afa0c[_0x1afa0c['INVALID_INVITE_CODE']=0x2ee2]=_0x8ca89f(0x20b),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x234)]=0x2ee3]=_0x8ca89f(0x234),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x38d)]=0x2ee4]=_0x8ca89f(0x38d),_0x1afa0c[_0x1afa0c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x8ca89f(0x2a7),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x3b0)]=0x32c9]=_0x8ca89f(0x3b0),_0x1afa0c[_0x1afa0c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x8ca89f(0x183),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x177)]=0x32cb]=_0x8ca89f(0x177),_0x1afa0c[_0x1afa0c[_0x8ca89f(0x231)]=-0x1]='UNRECOGNIZED',_0x1afa0c))(Si||{}),Q=(_0x5e477a=>(_0x5e477a[_0x5e477a[_0x8ca89f(0x1df)]=0x0]='UNIVER_UNKNOWN',_0x5e477a[_0x5e477a[_0x8ca89f(0x2c2)]=0x1]=_0x8ca89f(0x2c2),_0x5e477a[_0x5e477a['UNIVER_SHEET']=0x2]=_0x8ca89f(0x200),_0x5e477a[_0x5e477a[_0x8ca89f(0x2b0)]=0x3]=_0x8ca89f(0x2b0),_0x5e477a[_0x5e477a[_0x8ca89f(0x40a)]=0x4]=_0x8ca89f(0x40a),_0x5e477a[_0x5e477a['UNRECOGNIZED']=-0x1]=_0x8ca89f(0x231),_0x5e477a))(Q||{}),F=(_0x4ccc65=>(_0x4ccc65[_0x4ccc65['UNKNOWN_CMD']=0x0]=_0x8ca89f(0x413),_0x4ccc65[_0x4ccc65[_0x8ca89f(0x206)]=0x1]='HELLO',_0x4ccc65[_0x4ccc65[_0x8ca89f(0x286)]=0x2]='JOIN',_0x4ccc65[_0x4ccc65[_0x8ca89f(0x270)]=0x3]='LEAVE',_0x4ccc65[_0x4ccc65['INGEST']=0x4]=_0x8ca89f(0x436),_0x4ccc65[_0x4ccc65[_0x8ca89f(0x214)]=0x5]=_0x8ca89f(0x214),_0x4ccc65[_0x4ccc65[_0x8ca89f(0x28a)]=0x6]=_0x8ca89f(0x28a),_0x4ccc65[_0x4ccc65[_0x8ca89f(0x231)]=-0x1]=_0x8ca89f(0x231),_0x4ccc65))(F||{}),ge=(_0x4b878b=>(_0x4b878b[_0x4b878b['UNKNOWN_CODE']=0x0]=_0x8ca89f(0x170),_0x4b878b[_0x4b878b['OK']=0x1]='OK',_0x4b878b[_0x4b878b['FAIL']=0x2]=_0x8ca89f(0x17c),_0x4b878b[_0x4b878b['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4b878b[_0x4b878b[_0x8ca89f(0x26d)]=0x3ea]=_0x8ca89f(0x26d),_0x4b878b[_0x4b878b[_0x8ca89f(0x35d)]=0x3eb]=_0x8ca89f(0x35d),_0x4b878b[_0x4b878b[_0x8ca89f(0x299)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4b878b[_0x4b878b[_0x8ca89f(0x231)]=-0x1]=_0x8ca89f(0x231),_0x4b878b))(ge||{}),Ei=(_0x470bd9=>(_0x470bd9[_0x470bd9[_0x8ca89f(0x229)]=0x0]=_0x8ca89f(0x229),_0x470bd9[_0x470bd9['HttpImport']=0x1]=_0x8ca89f(0x3ac),_0x470bd9[_0x470bd9['HttpExport']=0x2]=_0x8ca89f(0x2e6),_0x470bd9[_0x470bd9[_0x8ca89f(0x2aa)]=0x3]=_0x8ca89f(0x2aa),_0x470bd9[_0x470bd9[_0x8ca89f(0x172)]=0x4]='UnitSnapshot',_0x470bd9[_0x470bd9[_0x8ca89f(0x275)]=0x5]=_0x8ca89f(0x275),_0x470bd9[_0x470bd9[_0x8ca89f(0x231)]=-0x1]='UNRECOGNIZED',_0x470bd9))(Ei||{});const q=_0x8ca89f(0x26e),wn={};var re=(_0x54aa7e=>(_0x54aa7e[_0x8ca89f(0x1e7)]='OTHER_CLIENT_EDITING',_0x54aa7e[_0x8ca89f(0x201)]=_0x8ca89f(0x201),_0x54aa7e['CONFLICT']=_0x8ca89f(0x28d),_0x54aa7e['CLOSE_ROOM']='CLOSE_ROOM',_0x54aa7e[_0x8ca89f(0x313)]=_0x8ca89f(0x313),_0x54aa7e[_0x8ca89f(0x403)]='SOCKET_FAILED_RETRY',_0x54aa7e[_0x8ca89f(0x2b7)]=_0x8ca89f(0x2b7),_0x54aa7e['SUBMIT_CHANGESET_TIMEOUT']=_0x8ca89f(0x140),_0x54aa7e))(re||{});class pe{constructor(){var _0x396640=_0x8ca89f;N(this,'_event$',new _0x25c28c()),N(this,_0x396640(0x336),this[_0x396640(0x17f)][_0x396640(0x433)]());}[_0x8ca89f(0x355)](_0xe37234){var _0x2ea103=_0x8ca89f;this[_0x2ea103(0x17f)][_0x2ea103(0x1bc)](_0xe37234);}}const Pn=_0x24186e(_0x8ca89f(0x3ae));function Ln(_0x1f6e0a){var _0x44d65f=_0x8ca89f,_0x4e520b,_0x3e23c5,_0x25c2bc,_0x56221a,_0x116377;const _0x9f7169=_0x1f6e0a['data'],_0x22ed65=JSON[_0x44d65f(0x1a0)](_0x9f7169);switch(_0x22ed65['cmd']){case F[_0x44d65f(0x214)]:case F[_0x44d65f(0x206)]:{const _0x423d02=_0x22ed65['infoRsp'];return{..._0x22ed65,'data':_0x423d02,'cmd':_0x22ed65[_0x44d65f(0x2fd)]};}case F[_0x44d65f(0x286)]:{const _0x207f88=_0x22ed65['joinRsp'];return{..._0x22ed65,'data':_0x207f88,'cmd':_0x22ed65[_0x44d65f(0x2fd)]};}case F[_0x44d65f(0x28a)]:{const _0x1b26f7=_0x22ed65[_0x44d65f(0x155)];switch(_0x1b26f7['eventID']){case _0x50cb76[_0x44d65f(0x331)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':(_0x4e520b=_0x1b26f7[_0x44d65f(0x1f4)])==null?void 0x0:_0x4e520b['cs']},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x388)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':(_0x3e23c5=_0x1b26f7['csAckEvent'])==null?void 0x0:_0x3e23c5['cs']},'cmd':_0x22ed65['cmd']};case _0x50cb76[_0x44d65f(0x3a9)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':(_0x25c2bc=_0x1b26f7[_0x44d65f(0x339)])==null?void 0x0:_0x25c2bc['cs']},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x188)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':(_0x56221a=_0x1b26f7[_0x44d65f(0x292)])==null?void 0x0:_0x56221a['cs']},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x1ba)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':(_0x116377=_0x1b26f7[_0x44d65f(0x244)])==null?void 0x0:_0x116377['cs']},'cmd':_0x22ed65['cmd']};case _0x50cb76[_0x44d65f(0x3ee)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x265)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x21a)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x29f)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x33e)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7['leaveEvent']},'cmd':_0x22ed65['cmd']};case _0x50cb76['LIVESHARE_NEW_HOST']:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x365)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x3f4)]:case _0x50cb76[_0x44d65f(0x20e)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7['liveShareOperation']},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x1a4)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x365)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x411)]:return{..._0x22ed65,'data':_0x1b26f7,'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x278)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7['commentUpdateEvent']},'cmd':_0x22ed65['cmd']};case _0x50cb76[_0x44d65f(0x3b8)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x1de)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x3d6)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x382)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};case _0x50cb76[_0x44d65f(0x1d0)]:return{..._0x22ed65,'data':{..._0x1b26f7,'data':_0x1b26f7[_0x44d65f(0x361)]},'cmd':_0x22ed65[_0x44d65f(0x2fd)]};default:return _0x22ed65;}}default:return _0x22ed65;}}function xn(_0x225453){var _0x2a4186=_0x8ca89f;switch(_0x225453[_0x2a4186(0x2fd)]){case F[_0x2a4186(0x214)]:case F[_0x2a4186(0x206)]:return JSON[_0x2a4186(0x3ba)]({'cmd':_0x225453[_0x2a4186(0x2fd)],'routeKey':_0x225453['routeKey']});case F[_0x2a4186(0x436)]:{let _0x12d330;switch(_0x225453[_0x2a4186(0x3b7)][_0x2a4186(0x212)]){case _0x50cb76[_0x2a4186(0x3ee)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x3ee)],'updateCursorEvent':_0x225453[_0x2a4186(0x3b7)][_0x2a4186(0x3b7)]};break;}case _0x50cb76[_0x2a4186(0x33e)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x33e)],'leaveEvent':_0x225453[_0x2a4186(0x3b7)]['data']};break;}case _0x50cb76[_0x2a4186(0x21a)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x21a)],'joinEvent':_0x225453['data'][_0x2a4186(0x3b7)]};break;}case _0x50cb76[_0x2a4186(0x226)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x226)],'liveShareNewHost':_0x225453[_0x2a4186(0x3b7)]['data']};break;}case _0x50cb76[_0x2a4186(0x20e)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x20e)],'liveShareOperation':_0x225453[_0x2a4186(0x3b7)][_0x2a4186(0x3b7)]};break;}case _0x50cb76[_0x2a4186(0x1a4)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x1a4)],'liveShareTerminate':_0x225453[_0x2a4186(0x3b7)][_0x2a4186(0x3b7)]};break;}case _0x50cb76[_0x2a4186(0x190)]:{_0x12d330={'eventID':_0x50cb76[_0x2a4186(0x190)],'liveShareRequestHost':_0x225453['data'][_0x2a4186(0x3b7)]};break;}case _0x50cb76[_0x2a4186(0x3f4)]:{_0x12d330={'eventID':_0x50cb76['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x12d330={'eventID':_0x225453[_0x2a4186(0x3b7)][_0x2a4186(0x212)]};}return JSON['stringify']({'cmd':_0x225453['cmd'],'routeKey':_0x225453[_0x2a4186(0x179)],'collaMsg':_0x12d330});}case F[_0x2a4186(0x286)]:return JSON[_0x2a4186(0x3ba)]({'cmd':_0x225453[_0x2a4186(0x2fd)],'routeKey':_0x225453[_0x2a4186(0x179)],'joinReq':_0x225453['data']});case F[_0x2a4186(0x270)]:return JSON[_0x2a4186(0x3ba)]({'cmd':_0x225453[_0x2a4186(0x2fd)],'routeKey':_0x225453[_0x2a4186(0x179)],'leaveReq':_0x225453[_0x2a4186(0x3b7)]});default:throw new Error(_0x2a4186(0x307));}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x4c691b,_0x107883,_0x5bcde1,_0x2585f8)=>{var _0x2cc2e2=_0x8ca89f;for(var _0x506142=_0x2585f8>0x1?void 0x0:_0x2585f8?Mn(_0x107883,_0x5bcde1):_0x107883,_0x525eed=_0x4c691b[_0x2cc2e2(0x2a4)]-0x1,_0x1722a3;_0x525eed>=0x0;_0x525eed--)(_0x1722a3=_0x4c691b[_0x525eed])&&(_0x506142=_0x1722a3(_0x506142)||_0x506142);return _0x506142;},Ae=(_0x27e471,_0x2fb5f0)=>(_0x5c2646,_0x306e4a)=>_0x2fb5f0(_0x5c2646,_0x306e4a,_0x27e471);const Ii=_0x24186e('univer-pro.collaboration-client-socket-service');function $n(_0x1d8c1f,_0x3f6b44,_0x13a7c8){var _0xb2c065=_0x8ca89f;return _0x1d8c1f+'/'+_0x3f6b44+'/unit/'+_0x13a7c8+_0xb2c065(0x266);}let Gt=class extends _0x1bcadd{constructor(_0x40d5c3,_0x599588,_0x48e127,_0x49ca09,_0x311d5d){var _0x4497e5=_0x8ca89f;super(),this[_0x4497e5(0x2f0)]=_0x40d5c3,this['_httpService']=_0x599588,this[_0x4497e5(0x27b)]=_0x48e127,this[_0x4497e5(0x3cc)]=_0x49ca09,this[_0x4497e5(0x1e4)]=_0x311d5d;}[_0x8ca89f(0x219)](_0x5782bf){var _0x49f5db=_0x8ca89f;const _0x5e9560=this['_injector'][_0x49f5db(0x2c6)](_0x5392cb);if(!_0x5e9560)throw new Error(_0x49f5db(0x2f7));const _0x2ad9d7=_0x5e9560[_0x49f5db(0x193)](_0x5782bf);if(!_0x2ad9d7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x202f12=new _0x579de5(),_0xee3500=new _0x25c28c();_0x202f12['add'](_0x2ad9d7['close$'][_0x49f5db(0x34d)](_0x37026f=>_0xee3500[_0x49f5db(0x1bc)](_0x37026f))),_0x202f12['add'](_0x57ddb2(()=>_0xee3500[_0x49f5db(0x397)]()));const _0x9f74b7=new _0x25c28c();_0x202f12[_0x49f5db(0x1e3)](_0x2ad9d7[_0x49f5db(0x23b)][_0x49f5db(0x34d)](_0x269c20=>_0x9f74b7[_0x49f5db(0x1bc)](_0x269c20))),_0x202f12[_0x49f5db(0x1e3)](_0x57ddb2(()=>_0x9f74b7[_0x49f5db(0x397)]()));const _0x1b06bd=new _0x25c28c();_0x202f12[_0x49f5db(0x1e3)](_0x2ad9d7[_0x49f5db(0x38a)]['subscribe'](_0x4fece1=>{var _0x151c87=_0x49f5db;const _0x3dcc7f=Ln(_0x4fece1);_0x1b06bd[_0x151c87(0x1bc)](_0x3dcc7f);})),_0x202f12['add'](_0x57ddb2(()=>_0x1b06bd[_0x49f5db(0x397)]()));let _0x3ff591;const _0x54ed75=()=>{var _0x456c92=_0x49f5db;_0x9f74b7[_0x456c92(0x1bc)](new Event(_0x456c92(0x29b))),_0xee3500[_0x456c92(0x1bc)](new Event('connection\x20error')),_0x3ff591['close']();};return _0x3ff591={'memberID':'','close$':_0xee3500[_0x49f5db(0x433)](),'error$':_0x9f74b7[_0x49f5db(0x433)](),'open$':_0x2ad9d7['open$'],'message$':_0x1b06bd[_0x49f5db(0x433)](),'send':_0x1a261c=>{var _0x54b53d=_0x49f5db;if(_0x1a261c['cmd']===F['INGEST']){if(_0x1a261c[_0x54b53d(0x3b7)][_0x54b53d(0x212)]===_0x50cb76[_0x54b53d(0x148)]){this[_0x54b53d(0x324)](_0x3ff591,_0x1a261c[_0x54b53d(0x3b7)])[_0x54b53d(0x232)](_0x4a6dc9=>{var _0x5d5701=_0x54b53d;this[_0x5d5701(0x3cc)][_0x5d5701(0x39e)](_0x4a6dc9),_0x54ed75();});return;}if(_0x1a261c['data'][_0x54b53d(0x212)]===_0x50cb76[_0x54b53d(0x273)]){const _0x421321=_0x1a261c[_0x54b53d(0x3b7)];this['_fetchMissChangesets'](_0x421321)[_0x54b53d(0x2fe)](_0x577f93=>{var _0x868af4=_0x54b53d;_0x1b06bd[_0x868af4(0x1bc)]({'cmd':F[_0x868af4(0x28a)],'code':ge['OK'],'routeKey':_0x421321[_0x868af4(0x3b7)][_0x868af4(0x356)],'routeType':'','data':{'eventID':_0x50cb76[_0x868af4(0x27e)],'data':{'changesets':_0x577f93}}});})[_0x54b53d(0x232)](_0x52df5c=>{var _0x46a314=_0x54b53d;this[_0x46a314(0x3cc)][_0x46a314(0x39e)](_0x52df5c),_0x54ed75();});return;}}_0x2ad9d7[_0x54b53d(0x1af)](xn(_0x1a261c));},'close':()=>{var _0x3dd854=_0x49f5db;_0x2ad9d7[_0x3dd854(0x1be)](),_0x202f12['dispose']();}},_0x3ff591;}async[_0x8ca89f(0x324)](_0x4d3909,_0xc6dc4d){var _0x27a2db=_0x8ca89f,_0x38617d,_0x12e3cb;const {unitType:_0x50e63e,unitID:_0x5bd67c,changeset:_0x3738d9}=_0xc6dc4d[_0x27a2db(0x3b7)],_0x4388c6={'unitID':_0x5bd67c,'memberID':_0x4d3909[_0x27a2db(0x344)],'type':_0x50e63e,'changeset':_0x584a18(_0x3738d9)},_0x4fb772=this['_configService'][_0x27a2db(0x327)](Nn),_0x343291=this[_0x27a2db(0x27b)][_0x27a2db(0x327)](q),_0x184cc7=$n((_0x12e3cb=(_0x38617d=_0x343291==null?void 0x0:_0x343291['collabSubmitChangesetUrl'])!=null?_0x38617d:_0x4fb772)!=null?_0x12e3cb:Dn,_0x50e63e,_0x5bd67c);try{await this[_0x27a2db(0x281)][_0x27a2db(0x213)](_0x184cc7,{'body':_0x4388c6});}catch(_0x547dcd){throw this[_0x27a2db(0x3cc)][_0x27a2db(0x39e)]('[CollaborationSession]',_0x27a2db(0x1ff)),_0x547dcd;}}async[_0x8ca89f(0x317)](_0x2e4824){var _0x2ee178=_0x8ca89f;const {unitID:_0x1c7949,from:_0x335e84,to:_0x4a7917,unitType:_0x527dba}=_0x2e4824[_0x2ee178(0x3b7)];return(await this['_snapshotServerService'][_0x2ee178(0x32b)]({'metadata':void 0x0},{'unitID':_0x1c7949,'type':_0x527dba,'from':_0x335e84,'to':_0x4a7917}))[_0x2ee178(0x35c)];}};Gt=kn([Ae(0x0,_0x40b328(_0x481071)),Ae(0x1,_0x40b328(_0x2bff6f)),Ae(0x2,_0x4a241c),Ae(0x3,_0x5dea26),Ae(0x4,_0x622c1a)],Gt);const Hn=_0x8ca89f(0x40e);function Bn(_0x318467){var _0x5b0838=_0x8ca89f;return JSON[_0x5b0838(0x3ba)](_0x318467)['length'];}class Ti{constructor(){var _0x34d63f=_0x8ca89f;N(this,_0x34d63f(0x139),new _0x25c28c()),N(this,_0x34d63f(0x199),this[_0x34d63f(0x139)]['asObservable']());}[_0x8ca89f(0x25b)](_0x141048){this['_commentUpdate$']['next'](_0x141048);}}var jn=Object[_0x8ca89f(0x297)],Fn=(_0x381527,_0x547c91,_0x5f1f6d,_0x39abdc)=>{var _0x35d4a8=_0x8ca89f;for(var _0x623f7c=_0x39abdc>0x1?void 0x0:_0x39abdc?jn(_0x547c91,_0x5f1f6d):_0x547c91,_0x2d135f=_0x381527[_0x35d4a8(0x2a4)]-0x1,_0x488d6f;_0x2d135f>=0x0;_0x2d135f--)(_0x488d6f=_0x381527[_0x2d135f])&&(_0x623f7c=_0x488d6f(_0x623f7c)||_0x623f7c);return _0x623f7c;},Wt=(_0x3210fd,_0x39ed82)=>(_0x4e29ad,_0x347e89)=>_0x39ed82(_0x4e29ad,_0x347e89,_0x3210fd);let Le=class extends _0x1bcadd{constructor(_0x5359d6,_0x34a8b8){var _0x558cee=_0x8ca89f;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x25c28c()),(this[_0x558cee(0x1b1)]=_0x5359d6,this['_userManagerService']=_0x34a8b8,this[_0x558cee(0x2ee)](_0x42434b(this['_univerInstanceService'][_0x558cee(0x370)](_0x160b1f[_0x558cee(0x200)])[_0x558cee(0x3bc)](_0x352190(_0xeedd8=>_0xeedd8['getUnitId']())),this[_0x558cee(0x1b1)][_0x558cee(0x370)](_0x160b1f['UNIVER_DOC'])['pipe'](_0x352190(_0x58aa98=>_0x58aa98['getUnitId']())),this['_univerInstanceService'][_0x558cee(0x370)](_0x160b1f[_0x558cee(0x2b0)])[_0x558cee(0x3bc)](_0x352190(_0x368f4a=>_0x368f4a[_0x558cee(0x43c)]())))[_0x558cee(0x34d)](_0x23f45d=>this['_removeRoom'](_0x23f45d))));}[_0x8ca89f(0x3d3)](_0x378962){var _0x50a913=_0x8ca89f;return this[_0x50a913(0x419)][_0x50a913(0x246)](_0x378962)?_0x57e6b5(this[_0x50a913(0x419)]['get'](_0x378962)):this[_0x50a913(0x222)][_0x50a913(0x3bc)](_0x352190(_0x1f5ecf=>{if(_0x1f5ecf===_0x378962)return this['_roomMembers']['get'](_0x1f5ecf);}));}[_0x8ca89f(0x15f)](_0x1039c6){var _0x4ba087=_0x8ca89f;this[_0x4ba087(0x3a2)]['setCurrentUser'](_0x1039c6);}[_0x8ca89f(0x3e8)](){var _0x5ee6eb=_0x8ca89f;return this['_userManagerService'][_0x5ee6eb(0x3e8)]();}[_0x8ca89f(0x1d2)](_0x5baf8c,_0x1fe233){var _0xfd30b9=_0x8ca89f;let _0x29c45a=this['_roomMembers'][_0xfd30b9(0x2c6)](_0x5baf8c);_0x29c45a||(_0x29c45a=new Vn(),this[_0xfd30b9(0x419)][_0xfd30b9(0x165)](_0x5baf8c,_0x29c45a),this['_roomCreated$']['next'](_0x5baf8c)),_0x29c45a[_0xfd30b9(0x1d2)](_0x1fe233);}['removeMember'](_0xc23a12,_0x436660){var _0x330742=_0x8ca89f;const _0xf6eef0=this[_0x330742(0x419)]['get'](_0xc23a12);_0xf6eef0&&_0xf6eef0[_0x330742(0x25f)](_0x436660);}[_0x8ca89f(0x2ef)](_0x5c7170){var _0x586c33=_0x8ca89f;return this[_0x586c33(0x419)][_0x586c33(0x2c6)](_0x5c7170);}[_0x8ca89f(0x1a9)](_0x31218a,_0x5a863f){var _0x2db806=_0x8ca89f;const _0x2b9e5d=this[_0x2db806(0x419)][_0x2db806(0x2c6)](_0x31218a);if(_0x2b9e5d)return _0x2b9e5d[_0x2db806(0x1a9)](_0x5a863f);}[_0x8ca89f(0x3be)](_0x2d601d){var _0x1188a0=_0x8ca89f;const _0x346e54=this[_0x1188a0(0x419)][_0x1188a0(0x2c6)](_0x2d601d);_0x346e54&&(_0x346e54[_0x1188a0(0x25c)](),this[_0x1188a0(0x419)][_0x1188a0(0x329)](_0x2d601d));}[_0x8ca89f(0x25c)](){var _0x122eba=_0x8ca89f;this[_0x122eba(0x419)][_0x122eba(0x1ab)](_0x58aa19=>_0x58aa19['dispose']()),this[_0x122eba(0x419)][_0x122eba(0x3e4)](),this['_roomCreated$'][_0x122eba(0x397)]();}};Le=Fn([Wt(0x0,_0x21e2dc),Wt(0x1,_0x40b328(_0x86f250))],Le);class Vn extends _0x1bcadd{constructor(){var _0x58701c=_0x8ca89f;super(...arguments),N(this,_0x58701c(0x164),new Map()),N(this,'_members$',new _0x58b670(this[_0x58701c(0x164)])),N(this,_0x58701c(0x2d1),this[_0x58701c(0x210)][_0x58701c(0x433)]());}['dispose'](){var _0x3c4893=_0x8ca89f;this['_members'][_0x3c4893(0x3e4)]();}[_0x8ca89f(0x1d2)](_0xe6f46d){var _0x5e2098=_0x8ca89f;this[_0x5e2098(0x164)][_0x5e2098(0x165)](_0xe6f46d[_0x5e2098(0x344)],_0xe6f46d),this[_0x5e2098(0x43e)]();}[_0x8ca89f(0x25f)](_0xdc52ee){var _0x8ce56c=_0x8ca89f;this[_0x8ce56c(0x164)]['delete'](_0xdc52ee);}[_0x8ca89f(0x1a9)](_0x4ddbe8){return this['_members']['get'](_0x4ddbe8);}['getAllMembers'](){var _0x3bd1dc=_0x8ca89f;return Array[_0x3bd1dc(0x40b)](this[_0x3bd1dc(0x164)][_0x3bd1dc(0x3a5)]());}[_0x8ca89f(0x43e)](){var _0x89635d=_0x8ca89f;this['_members$']['next'](this[_0x89635d(0x164)]);}}var Gn=Object[_0x8ca89f(0x297)],Wn=(_0x2704cc,_0x9172c7,_0x3f885d,_0x66f065)=>{var _0x2a7f55=_0x8ca89f;for(var _0xa4f2e=_0x66f065>0x1?void 0x0:_0x66f065?Gn(_0x9172c7,_0x3f885d):_0x9172c7,_0x5d0f7e=_0x2704cc[_0x2a7f55(0x2a4)]-0x1,_0x50aeef;_0x5d0f7e>=0x0;_0x5d0f7e--)(_0x50aeef=_0x2704cc[_0x5d0f7e])&&(_0xa4f2e=_0x50aeef(_0xa4f2e)||_0xa4f2e);return _0xa4f2e;},me=(_0x47dc9b,_0x4ed113)=>(_0x1d5892,_0x3a3709)=>_0x4ed113(_0x1d5892,_0x3a3709,_0x47dc9b),Ee=(_0x15a5c1=>(_0x15a5c1[_0x15a5c1[_0x8ca89f(0x2cf)]=0x0]=_0x8ca89f(0x2cf),_0x15a5c1[_0x15a5c1[_0x8ca89f(0x18e)]=0x1]=_0x8ca89f(0x18e),_0x15a5c1[_0x15a5c1[_0x8ca89f(0x326)]=0x2]='OFFLINE',_0x15a5c1[_0x15a5c1['ONLINE']=0x3]='ONLINE',_0x15a5c1))(Ee||{});const Kt={[ge['FAIL']]:_0x8ca89f(0x204),[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge[_0x8ca89f(0x26d)]]:_0x8ca89f(0x443),[ge[_0x8ca89f(0x35d)]]:_0x8ca89f(0x343),[ge[_0x8ca89f(0x299)]]:_0x8ca89f(0x422)};let Et=class extends _0x4aa20b{constructor(_0xfa676e,_0x509154,_0x4cdfed,_0x5ea06e,_0x208002,_0x465aab,_0xf9c1c7,_0xeedd37,_0x58bada){var _0x318d8d=_0x8ca89f;super(),N(this,_0x318d8d(0x3db),new _0x58b670(0x0)),N(this,_0x318d8d(0x249),this['_sessionStatus$'][_0x318d8d(0x433)]()),N(this,_0x318d8d(0x17f),new _0x25c28c()),N(this,_0x318d8d(0x336),this[_0x318d8d(0x17f)][_0x318d8d(0x433)]()),N(this,_0x318d8d(0x28e)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x318d8d(0x3fa),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0xfa676e,this[_0x318d8d(0x3cc)]=_0x4cdfed,this[_0x318d8d(0x27b)]=_0x5ea06e,this['_localeService']=_0x208002,this[_0x318d8d(0x3f0)]=_0x465aab,this[_0x318d8d(0x360)]=_0xf9c1c7,this['_collaborationUIEventService']=_0xeedd37,this[_0x318d8d(0x15c)]=_0x58bada,this[_0x318d8d(0x3fa)]=!!this[_0x318d8d(0x15c)],_0x509154[_0x318d8d(0x3bc)](_0x4da7d2(this[_0x318d8d(0x427)]))['subscribe'](_0x3e4d94=>{var _0x4f3601=_0x318d8d,_0x1d05ee;typeof _0x3e4d94>'u'||(this['_socket']=_0x3e4d94,_0x3e4d94?(this['_joinRoom'](_0x3e4d94),this[_0x4f3601(0x3c9)]=_0x3e4d94['message$'][_0x4f3601(0x34d)](_0x52c95d=>{var _0x32376d=_0x4f3601;_0x52c95d[_0x32376d(0x179)]===this[_0x32376d(0x424)]&&this[_0x32376d(0x2de)](_0x52c95d);})):(this[_0x4f3601(0x3cf)](),this[_0x4f3601(0x3db)]['next'](0x2),(_0x1d05ee=this['_socketMessageSubscription'])==null||_0x1d05ee['unsubscribe'](),this[_0x4f3601(0x3c9)]=null));}));}get[_0x8ca89f(0x345)](){var _0x2f721e=_0x8ca89f;return this[_0x2f721e(0x3db)][_0x2f721e(0x21d)]();}[_0x8ca89f(0x2e8)](){var _0x27cb14=_0x8ca89f,_0x5eb55c,_0x3834ed;return(_0x3834ed=(_0x5eb55c=this[_0x27cb14(0x28e)])==null?void 0x0:_0x5eb55c['memberID'])!=null?_0x3834ed:null;}['dispose'](){var _0x4d1445=_0x8ca89f;super[_0x4d1445(0x25c)](),this[_0x4d1445(0x427)][_0x4d1445(0x1bc)](),this[_0x4d1445(0x427)][_0x4d1445(0x397)]();}[_0x8ca89f(0x1be)](){var _0x505ab9=_0x8ca89f,_0xe61e13,_0xf5bc55;this[_0x505ab9(0x3cf)](),(_0xe61e13=this[_0x505ab9(0x28e)])==null||_0xe61e13[_0x505ab9(0x1af)]({'cmd':F[_0x505ab9(0x270)],'data':{'roomID':this[_0x505ab9(0x424)]}}),(_0xf5bc55=this[_0x505ab9(0x28e)])==null||_0xf5bc55[_0x505ab9(0x1be)](),this[_0x505ab9(0x17f)][_0x505ab9(0x397)](),this[_0x505ab9(0x3db)]['complete'](),this[_0x505ab9(0x25c)]();}['_onCombEvent'](_0x5e3a1){var _0x3d6fd7=_0x8ca89f;_0x5e3a1['cmd']===F[_0x3d6fd7(0x286)]?this['_onJoinRoomEvent'](_0x5e3a1):_0x5e3a1[_0x3d6fd7(0x2fd)]===F['RECV']&&this['_onRecvEvent'](_0x5e3a1);}[_0x8ca89f(0x2d9)](_0x3b0330){var _0x4050e4=_0x8ca89f;this[_0x4050e4(0x3db)][_0x4050e4(0x1bc)](0x1),_0x3b0330[_0x4050e4(0x1af)]({'cmd':F[_0x4050e4(0x286)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x8ca89f(0x290)](_0x5e94e4){var _0x2c922d=_0x8ca89f,_0x54fa99;if(_0x5e94e4['code']in Kt){this[_0x2c922d(0x318)][_0x2c922d(0x355)]({'id':re[_0x2c922d(0x313)],'data':Kt[_0x5e94e4[_0x2c922d(0x180)]]}),this[_0x2c922d(0x3db)][_0x2c922d(0x1bc)](0x2);return;}this['_sessionStatus$'][_0x2c922d(0x1bc)](0x3);const _0x38feda=(_0x54fa99=_0x5e94e4[_0x2c922d(0x3b7)][_0x2c922d(0x2d0)][this[_0x2c922d(0x424)]])==null?void 0x0:_0x54fa99[_0x2c922d(0x43b)];_0x38feda&&_0x38feda[_0x2c922d(0x1ab)](_0x27644e=>this[_0x2c922d(0x3f0)][_0x2c922d(0x1d2)](this[_0x2c922d(0x424)],_0x27644e));}[_0x8ca89f(0x371)](_0x4a0dc7){var _0x25dea2=_0x8ca89f;try{const _0x3d6a0b=_0x4a0dc7['data'];switch(_0x3d6a0b[_0x25dea2(0x212)]){case _0x50cb76[_0x25dea2(0x21a)]:this[_0x25dea2(0x2ae)](_0x3d6a0b),this[_0x25dea2(0x17f)]['next'](_0x3d6a0b);break;case _0x50cb76[_0x25dea2(0x33e)]:this[_0x25dea2(0x321)](_0x3d6a0b),this[_0x25dea2(0x17f)][_0x25dea2(0x1bc)](_0x3d6a0b);break;case _0x50cb76[_0x25dea2(0x388)]:case _0x50cb76[_0x25dea2(0x1ba)]:this[_0x25dea2(0x35e)](),this[_0x25dea2(0x2d4)](),this['_event$'][_0x25dea2(0x1bc)](_0x3d6a0b);break;case _0x50cb76[_0x25dea2(0x411)]:this[_0x25dea2(0x3cc)][_0x25dea2(0x39e)](_0x25dea2(0x1fe)+JSON['stringify'](_0x3d6a0b)),this[_0x25dea2(0x17f)][_0x25dea2(0x1bc)](_0x3d6a0b);break;case _0x50cb76[_0x25dea2(0x278)]:this['_commentService']['onCommentUpdate'](_0x3d6a0b[_0x25dea2(0x3b7)]),this[_0x25dea2(0x17f)]['next'](_0x3d6a0b);break;default:this['_event$'][_0x25dea2(0x1bc)](_0x3d6a0b);}}catch(_0x5e1c9e){this['_logService'][_0x25dea2(0x39e)](_0x5e1c9e,_0x4a0dc7);}}['_onUserJoin'](_0xfdc267){var _0x378dbc=_0x8ca89f;this[_0x378dbc(0x3f0)][_0x378dbc(0x1d2)](this[_0x378dbc(0x424)],_0xfdc267[_0x378dbc(0x3b7)]);}[_0x8ca89f(0x321)](_0x24558b){var _0x3c6ebf=_0x8ca89f;this[_0x3c6ebf(0x3f0)]['removeMember'](this[_0x3c6ebf(0x424)],_0x24558b[_0x3c6ebf(0x3b7)][_0x3c6ebf(0x344)]);}async[_0x8ca89f(0x1af)](_0x6c0515,_0x54f60c){var _0xcd8235=_0x8ca89f;if(this[_0xcd8235(0x345)]!==0x3||!this[_0xcd8235(0x28e)])throw new Error(_0xcd8235(0x1c3));try{_0x6c0515[_0xcd8235(0x212)]===_0x50cb76['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x6c0515)),this[_0xcd8235(0x28e)][_0xcd8235(0x1af)]({'cmd':F[_0xcd8235(0x436)],'routeKey':_0x54f60c,'routeType':'','data':_0x6c0515});}catch(_0x4f3c2b){this[_0xcd8235(0x3cc)][_0xcd8235(0x39e)](_0x4f3c2b);}}[_0x8ca89f(0x330)](){var _0x52f542=_0x8ca89f,_0x305b4d;this[_0x52f542(0x406)]=setTimeout(()=>{var _0x5d0ab8=_0x52f542;this[_0x5d0ab8(0x406)]=null,this[_0x5d0ab8(0x318)][_0x5d0ab8(0x355)]({'id':re[_0x5d0ab8(0x140)]});},(_0x305b4d=this[_0x52f542(0x27b)][_0x52f542(0x327)](mi))!=null?_0x305b4d:gi);}['_clearCollaborationTimeoutTimer'](){var _0x2b2538=_0x8ca89f;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2b2538(0x406)]),this[_0x2b2538(0x406)]=null);}[_0x8ca89f(0x27d)](_0x42698f){var _0x149e53=_0x8ca89f;if(!this[_0x149e53(0x3fa)])return;const {data:_0x1af1a3}=_0x42698f,{unitID:_0x38d2ed,changeset:_0x4988dd}=_0x1af1a3,{mutations:_0x30509c,type:_0x5d275d}=_0x4988dd;this[_0x149e53(0x30f)]={'unitId':_0x38d2ed,'type':_0x5d275d,'startTime':performance[_0x149e53(0x243)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x30509c)};}[_0x8ca89f(0x35e)](){var _0x32c195=_0x8ca89f;if(this[_0x32c195(0x3fa)]){if(!this[_0x32c195(0x30f)]){this[_0x32c195(0x3cc)][_0x32c195(0x39e)](_0x32c195(0x381),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x32c195(0x30f)][_0x32c195(0x328)]=performance['now'](),this['_telemetryInfo'][_0x32c195(0x235)]=this[_0x32c195(0x30f)][_0x32c195(0x328)]-this['_telemetryInfo']['startTime'],this[_0x32c195(0x15c)][_0x32c195(0x241)](Hn,this[_0x32c195(0x30f)]),this[_0x32c195(0x30f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1eae06=_0x8ca89f;this[_0x1eae06(0x30f)]=null;}};Et=Wn([me(0x2,_0x5dea26),me(0x3,_0x4a241c),me(0x4,_0x40b328(_0x1163c2)),me(0x5,_0x40b328(Le)),me(0x6,_0x40b328(Ti)),me(0x7,_0x40b328(pe)),me(0x8,_0x2f6ba1(_0x8e45e2))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x199199,_0x538b1f,_0x4b8919,_0x1d4eb6)=>{var _0x24379e=_0x8ca89f;for(var _0x191a23=_0x1d4eb6>0x1?void 0x0:_0x1d4eb6?Kn(_0x538b1f,_0x4b8919):_0x538b1f,_0x495c08=_0x199199[_0x24379e(0x2a4)]-0x1,_0x44292e;_0x495c08>=0x0;_0x495c08--)(_0x44292e=_0x199199[_0x495c08])&&(_0x191a23=_0x44292e(_0x191a23)||_0x191a23);return _0x191a23;},be=(_0x2558f1,_0x5c4cc7)=>(_0x2c77a0,_0x75bb48)=>_0x5c4cc7(_0x2c77a0,_0x75bb48,_0x2558f1);let xe=class extends _0x1bcadd{constructor(_0x32176f,_0x5ab363,_0x250620,_0x5f2e56,_0x1feece,_0x3dd72b){var _0x1f83e3=_0x8ca89f;super(),N(this,'_socket$',new _0x58b670(void 0x0)),N(this,_0x1f83e3(0x394),this['_socket$'][_0x1f83e3(0x433)]()),N(this,_0x1f83e3(0x3fd),null),N(this,'_sessions',new Map()),N(this,_0x1f83e3(0x1bd),new _0x58b670(Ee['IDLE'])),N(this,'status$',this['_status$'][_0x1f83e3(0x433)]()),N(this,_0x1f83e3(0x1e2),!0x1),N(this,_0x1f83e3(0x3f6)),N(this,_0x1f83e3(0x30b),0x0),N(this,_0x1f83e3(0x390)),N(this,_0x1f83e3(0x1bf)),(this[_0x1f83e3(0x2f0)]=_0x32176f,this['_logService']=_0x5ab363,this['_configService']=_0x250620,this['_socketService']=_0x5f2e56,this['_collaborationUIEventService']=_0x1feece,this[_0x1f83e3(0x289)]=_0x3dd72b,this[_0x1f83e3(0x335)]());}get[_0x8ca89f(0x28e)](){var _0x33b1cb=_0x8ca89f;return this[_0x33b1cb(0x416)][_0x33b1cb(0x21d)]();}[_0x8ca89f(0x335)](){var _0x274b2d=_0x8ca89f;this[_0x274b2d(0x289)]&&this['disposeWithMe'](this[_0x274b2d(0x289)][_0x274b2d(0x22f)][_0x274b2d(0x34d)](_0x4244b2=>{var _0x3c544a=_0x274b2d;_0x4244b2&&!this[_0x3c544a(0x28e)]&&this[_0x3c544a(0x314)](),_0x4244b2||this['_onOffline']();}));}[_0x8ca89f(0x25c)](){var _0x29759e=_0x8ca89f;super[_0x29759e(0x25c)](),this['_clearRetryConnectingTimer'](),this[_0x29759e(0x2ce)](),this[_0x29759e(0x175)](),this[_0x29759e(0x41d)]['forEach'](_0x5ef945=>_0x5ef945[_0x29759e(0x25c)]()),this[_0x29759e(0x41d)][_0x29759e(0x3e4)](),this[_0x29759e(0x1bd)][_0x29759e(0x397)]();}async[_0x8ca89f(0x197)](_0x23cee0){var _0x23ba23=_0x8ca89f;if(this[_0x23ba23(0x41d)][_0x23ba23(0x246)](_0x23cee0))return this['_sessions']['get'](_0x23cee0);this[_0x23ba23(0x1ea)]();const _0x2a0c0d=this[_0x23ba23(0x2f0)][_0x23ba23(0x350)](Et,_0x23cee0,this[_0x23ba23(0x416)][_0x23ba23(0x433)]());return this['_sessions'][_0x23ba23(0x165)](_0x23cee0,_0x2a0c0d),_0x2a0c0d;}[_0x8ca89f(0x3f1)](_0x45f1c7){var _0x13c45b=_0x8ca89f,_0x753368;const _0x198e2e=this[_0x13c45b(0x41d)][_0x13c45b(0x2c6)](_0x45f1c7);_0x198e2e&&(this['_sessions'][_0x13c45b(0x329)](_0x45f1c7),_0x198e2e['close']()),this[_0x13c45b(0x41d)][_0x13c45b(0x1e5)]||(_0x753368=this[_0x13c45b(0x28e)])==null||_0x753368[_0x13c45b(0x1be)]();}['reconnect'](){var _0x58fc88=_0x8ca89f;this[_0x58fc88(0x30b)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x58fc88(0x35a)]();}[_0x8ca89f(0x3f3)](){var _0x3fc3ca=_0x8ca89f;this[_0x3fc3ca(0x3f6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x2b2d10=_0x8ca89f,_0x3d25e9,_0x530f10;const _0x104dd4=this[_0x2b2d10(0x27b)][_0x2b2d10(0x327)](In),_0x461a6b=this['_configService']['getConfig'](q),_0x53018d=(_0x530f10=(_0x3d25e9=_0x461a6b==null?void 0x0:_0x461a6b[_0x2b2d10(0x39b)])!=null?_0x3d25e9:_0x104dd4)!=null?_0x530f10:Tn,_0x32eb57=await this[_0x2b2d10(0x230)][_0x2b2d10(0x193)](_0x53018d);return this[_0x2b2d10(0x3fd)]=_0x32eb57,_0x32eb57;}async[_0x8ca89f(0x1ea)](){var _0x42bf1e=_0x8ca89f,_0x3b7989,_0x3f8f9d;try{const _0x1493ef=(_0x3f8f9d=(_0x3b7989=this['_socket'])!=null?_0x3b7989:this['_candidateSocket'])!=null?_0x3f8f9d:await this['_createSocket']();if(_0x1493ef){const _0x552f7f=_0x1493ef[_0x42bf1e(0x1af)];_0x1493ef[_0x42bf1e(0x1af)]=_0x2771ab=>(this['_rescheduleHeartbeat'](),_0x552f7f[_0x42bf1e(0x30a)](_0x1493ef,[_0x2771ab])),_0x1493ef['message$'][_0x42bf1e(0x34d)](_0x3ea60c=>this[_0x42bf1e(0x168)](_0x1493ef,_0x3ea60c)),_0x1493ef[_0x42bf1e(0x23b)][_0x42bf1e(0x3bc)](_0x27f246(0x1))[_0x42bf1e(0x34d)](_0x1525c6=>this[_0x42bf1e(0x3cc)]['error'](_0x42bf1e(0x2bc),_0x1525c6)),_0x1493ef[_0x42bf1e(0x1f5)][_0x42bf1e(0x3bc)](_0x27f246(0x1))['subscribe'](()=>{var _0x58ad81=_0x42bf1e;this[_0x58ad81(0x152)](_0x1493ef);}),_0x1493ef[_0x42bf1e(0x145)]['pipe'](_0x27f246(0x1))[_0x42bf1e(0x34d)](_0x47ba76=>{var _0x49adae=_0x42bf1e;this['_logService']['debug']('[CollaborationSessionService]',_0x49adae(0x398),_0x47ba76),this['_onConnectionFailed']();});}}catch(_0x244720){this[_0x42bf1e(0x3cc)]['error'](_0x244720),this[_0x42bf1e(0x13b)]();}}[_0x8ca89f(0x152)](_0x303240){var _0x28836c=_0x8ca89f;this[_0x28836c(0x3cc)][_0x28836c(0x247)](_0x28836c(0x28b),_0x28836c(0x1dd)),_0x303240['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x8ca89f(0x2c3)](){var _0x59dab8=_0x8ca89f;this[_0x59dab8(0x1e2)]=!0x1,this[_0x59dab8(0x3fd)]=null,this[_0x59dab8(0x1bd)][_0x59dab8(0x1bc)](Ee[_0x59dab8(0x326)]),this['_socket$']['next'](null),this[_0x59dab8(0x2ce)](),this[_0x59dab8(0x175)]();}[_0x8ca89f(0x13b)](){var _0x20cb28=_0x8ca89f,_0x31b319;this['_onOffline'](),this['_retryCount']<((_0x31b319=this['_configService'][_0x20cb28(0x327)](On))!=null?_0x31b319:yn)?(this[_0x20cb28(0x318)][_0x20cb28(0x355)]({'id':re[_0x20cb28(0x403)]}),this[_0x20cb28(0x35a)]()):this[_0x20cb28(0x318)][_0x20cb28(0x355)]({'id':re[_0x20cb28(0x2b7)]});}[_0x8ca89f(0x35a)](){var _0x438636=_0x8ca89f,_0x4046f4;const _0x2fcf0a=this['_retryCount'],_0x2ddff9=this['_configService'][_0x438636(0x327)](q),_0x1f5e17=_0x2fcf0a===0x0?0x0:((_0x4046f4=_0x2ddff9==null?void 0x0:_0x2ddff9['retryConnectingInterval'])!=null?_0x4046f4:bn)*0x2**_0x2fcf0a;this[_0x438636(0x3f6)]=setTimeout(()=>{var _0x57715c=_0x438636;clearTimeout(this[_0x57715c(0x3f6)]),this[_0x57715c(0x3f6)]=null,this[_0x57715c(0x1ea)]();},_0x1f5e17),this[_0x438636(0x30b)]+=0x1;}[_0x8ca89f(0x168)](_0x1076e1,_0x1999f9){var _0x5efb24=_0x8ca89f;const {cmd:_0x2e21f7}=_0x1999f9;_0x2e21f7===F['HELLO']&&!this['_socketReady']&&(_0x1076e1[_0x5efb24(0x344)]=_0x1999f9[_0x5efb24(0x3b7)][_0x5efb24(0x344)],this[_0x5efb24(0x416)]['next'](_0x1076e1),this['_status$'][_0x5efb24(0x1bc)](Ee[_0x5efb24(0x396)]),this[_0x5efb24(0x1e2)]=!0x0,this[_0x5efb24(0x3fd)]=null),_0x2e21f7===F[_0x5efb24(0x214)]&&this['_clearTimeoutTimer'](),this[_0x5efb24(0x1d8)]();}['_rescheduleHeartbeat'](){var _0x1040f1=_0x8ca89f,_0x5796a6;this[_0x1040f1(0x175)](),this[_0x1040f1(0x390)]=setTimeout(()=>this[_0x1040f1(0x2c4)](),(_0x5796a6=this[_0x1040f1(0x27b)][_0x1040f1(0x327)](Cn))!=null?_0x5796a6:Rn);}['_sendHeartbeat'](){var _0x48ec61=_0x8ca89f;this[_0x48ec61(0x28e)][_0x48ec61(0x1af)]({'cmd':F[_0x48ec61(0x214)]}),this['_waitForHeartbeatResponse']();}[_0x8ca89f(0x1a7)](){var _0x36bc00=_0x8ca89f,_0x30cabc;this[_0x36bc00(0x1bf)]=setTimeout(()=>this[_0x36bc00(0x13b)](),(_0x30cabc=this[_0x36bc00(0x27b)][_0x36bc00(0x327)](mi))!=null?_0x30cabc:gi);}['_clearHeartbeatTimer'](){var _0x1efa19=_0x8ca89f;this[_0x1efa19(0x390)]!=null&&(clearTimeout(this[_0x1efa19(0x390)]),this[_0x1efa19(0x390)]=null);}[_0x8ca89f(0x2ce)](){var _0x3d9d1c=_0x8ca89f;this[_0x3d9d1c(0x1bf)]!=null&&(clearTimeout(this[_0x3d9d1c(0x1bf)]),this[_0x3d9d1c(0x1bf)]=null);}};xe=Yn([be(0x0,_0x40b328(_0x481071)),be(0x1,_0x5dea26),be(0x2,_0x4a241c),be(0x3,Ii),be(0x4,_0x40b328(pe)),be(0x5,_0x2f6ba1(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)[_0x8ca89f(0x438)](0x10)[_0x8ca89f(0x3e5)](0x1));function qn(_0x382dd2,_0x1c5e96=0x0){var _0x42fd16=_0x8ca89f;return(V[_0x382dd2[_0x1c5e96+0x0]]+V[_0x382dd2[_0x1c5e96+0x1]]+V[_0x382dd2[_0x1c5e96+0x2]]+V[_0x382dd2[_0x1c5e96+0x3]]+'-'+V[_0x382dd2[_0x1c5e96+0x4]]+V[_0x382dd2[_0x1c5e96+0x5]]+'-'+V[_0x382dd2[_0x1c5e96+0x6]]+V[_0x382dd2[_0x1c5e96+0x7]]+'-'+V[_0x382dd2[_0x1c5e96+0x8]]+V[_0x382dd2[_0x1c5e96+0x9]]+'-'+V[_0x382dd2[_0x1c5e96+0xa]]+V[_0x382dd2[_0x1c5e96+0xb]]+V[_0x382dd2[_0x1c5e96+0xc]]+V[_0x382dd2[_0x1c5e96+0xd]]+V[_0x382dd2[_0x1c5e96+0xe]]+V[_0x382dd2[_0x1c5e96+0xf]])[_0x42fd16(0x34b)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3488b6=_0x8ca89f;if(!ut){if(typeof crypto>'u'||!crypto[_0x3488b6(0x208)])throw new Error(_0x3488b6(0x305));ut=crypto[_0x3488b6(0x208)][_0x3488b6(0x347)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x8ca89f(0x337)]&&crypto[_0x8ca89f(0x337)][_0x8ca89f(0x347)](crypto),Yt={'randomUUID':Xn};function Zn(_0x582cb4,_0x5ca8f8,_0x55120d){var _0x150675=_0x8ca89f,_0xecf0df,_0x5b7ee6,_0x3ff6f5;if(Yt[_0x150675(0x337)]&&!_0x582cb4)return Yt[_0x150675(0x337)]();_0x582cb4=_0x582cb4||{};const _0x1fbcc3=(_0x3ff6f5=(_0x5b7ee6=_0x582cb4['random'])!=null?_0x5b7ee6:(_0xecf0df=_0x582cb4['rng'])==null?void 0x0:_0xecf0df['call'](_0x582cb4))!=null?_0x3ff6f5:Jn();if(_0x1fbcc3['length']<0x10)throw new Error(_0x150675(0x341));return _0x1fbcc3[0x6]=_0x1fbcc3[0x6]&0xf|0x40,_0x1fbcc3[0x8]=_0x1fbcc3[0x8]&0x3f|0x80,qn(_0x1fbcc3);}const J=_0x24186e('collaboration-client.local-cache-service');function Br(_0x22aba9){var _0x3507f7=_0x8ca89f;return _0x3507f7(0x261)+_0x22aba9;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x5aecd1,_0x452c7d,_0x597132,_0x5be537)=>{for(var _0x1ed3d1=_0x5be537>0x1?void 0x0:_0x5be537?Qn(_0x452c7d,_0x597132):_0x452c7d,_0x23070e=_0x5aecd1['length']-0x1,_0x2774d2;_0x23070e>=0x0;_0x23070e--)(_0x2774d2=_0x5aecd1[_0x23070e])&&(_0x1ed3d1=_0x2774d2(_0x1ed3d1)||_0x1ed3d1);return _0x1ed3d1;},dt=(_0x4a1dbd,_0x3bfffc)=>(_0x4d5c97,_0xb25345)=>_0x3bfffc(_0x4d5c97,_0xb25345,_0x4a1dbd);function ts(_0x27f85d){var _0x241cbd=_0x8ca89f;const {unitID:_0x42915c,mutations:_0x8d6a8a}=_0x27f85d;return{'unitId':_0x42915c,'subUnitId':_0x8d6a8a[0x0][_0x241cbd(0x3ed)][_0x241cbd(0x1a3)]};}let it=class{constructor(_0x56446e,_0x32dc5b,_0x3baa90){var _0x4de944=_0x8ca89f;this[_0x4de944(0x2f0)]=_0x56446e,this[_0x4de944(0x32c)]=_0x32dc5b,this[_0x4de944(0x144)]=_0x3baa90;}[_0x8ca89f(0x43d)](_0x8b5f92){var _0x16d1aa=_0x8ca89f,_0x5eab3f,_0x51284f,_0x10c9b7,_0x560e54;const _0x300b59=this[_0x16d1aa(0x2f0)]['get'](_0x545210),{unitId:_0x2df44f,subUnitId:_0x3c3717}=ts(_0x8b5f92),_0x1b2e30=_0x300b59==null?void 0x0:_0x300b59[_0x16d1aa(0x440)](_0x2df44f)[_0x16d1aa(0x389)](),_0x1b830f=(_0x51284f=(_0x5eab3f=this[_0x16d1aa(0x144)][_0x16d1aa(0x211)](_0x2df44f))==null?void 0x0:_0x5eab3f[_0x16d1aa(0x1c1)]())==null?void 0x0:_0x51284f[_0x16d1aa(0x3d7)]();if(_0x1b2e30[_0x16d1aa(0x2a4)]===0x0||!_0x2df44f||!_0x3c3717)return;const _0xf6c3e3=[{'id':_0x273064['id'],'params':{'unitId':_0x2df44f,'subUnitId':_0x1b830f,'selections':_0x23d9a1[_0x16d1aa(0x3a6)](_0x1b2e30)}}],_0x349bfd=this[_0x16d1aa(0x32c)][_0x16d1aa(0x283)](_0x8b5f92,_0xf6c3e3);if(!_0x447128(_0x349bfd))throw _0x349bfd[_0x16d1aa(0x39e)];const _0x3d39db=(_0x560e54=(_0x10c9b7=_0x349bfd[_0x16d1aa(0x20d)][0x0])==null?void 0x0:_0x10c9b7['params'])==null?void 0x0:_0x560e54['selections'];if(Array[_0x16d1aa(0x357)](_0x3d39db)&&_0x3d39db[_0x16d1aa(0x2a4)]){if(_0x3d39db[_0x16d1aa(0x2a4)]===_0xf6c3e3[0x0][_0x16d1aa(0x3ed)]['selections'][_0x16d1aa(0x2a4)]&&_0x3d39db[_0x16d1aa(0x2dd)]((_0x377665,_0x4865e8)=>_0x57b550['equals'](_0x377665[_0x16d1aa(0x18a)],_0xf6c3e3[0x0]['params'][_0x16d1aa(0x27c)][_0x4865e8][_0x16d1aa(0x18a)])))return;this['_injector'][_0x16d1aa(0x2c6)](_0x3757e0)['executeCommand'](_0x273064['id'],{'unitId':_0x2df44f,'subUnitId':_0x1b830f,'selections':_0x3d39db});}}};it=es([dt(0x0,_0x40b328(_0x481071)),dt(0x1,_0x32f351),dt(0x2,_0x21e2dc)],it);const ht=_0x24186e('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x4d9381=>(_0x4d9381[_0x4d9381[_0x8ca89f(0x2f8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4d9381[_0x4d9381[_0x8ca89f(0x257)]=0x1]=_0x8ca89f(0x257),_0x4d9381))(Ci||{});const is=new Set([_0x231028['id']]);function qt(_0x24acca,_0x59df51,_0x522537,_0x45c19e,_0x5ed54d){var _0x1b7ce0=_0x8ca89f,_0x1c7016,_0x1fc8fa,_0x2cbc72,_0x224138;const _0xdf6830=[];for(const _0x1e9601 of _0x24acca)if(is[_0x1b7ce0(0x246)](_0x1e9601['id'])){if(_0xdf6830['length']>0x0)break;_0xdf6830[_0x1b7ce0(0x1c4)](_0x1e9601);break;}else _0xdf6830[_0x1b7ce0(0x1c4)](_0x1e9601);const _0x3e9e4e=(_0x1fc8fa=(_0x1c7016=_0x5ed54d[_0x1b7ce0(0x3e8)]())==null?void 0x0:_0x1c7016['userID'])!=null?_0x1fc8fa:_0x1b7ce0(0x375),_0xf6a7c7=(_0x224138=(_0x2cbc72=_0x5ed54d[_0x1b7ce0(0x3e8)]())==null?void 0x0:_0x2cbc72['memberID'])!=null?_0x224138:_0x1b7ce0(0x375);return{'changeset':{'unitID':_0x59df51,'type':_0x4823c9(_0x522537['getUnitType'](_0x59df51)),'baseRev':_0x45c19e['getCurrentRevOfUnit'](_0x59df51),'revision':0x0,'userID':_0x3e9e4e,'memberID':_0xf6a7c7,'mutations':_0xdf6830},'pendingMutations':_0x24acca[_0x1b7ce0(0x3e5)](_0xdf6830[_0x1b7ce0(0x2a4)])};}function ns(_0x52057c,_0x4e36a7,_0x2099df,_0x2acd62,_0x368efd){var _0x2f10d1=_0x8ca89f,_0x3c5b8b,_0xd2dfa0,_0x9edd20,_0x5215e8;const _0x4f1613=[_0x52057c[_0x2f10d1(0x3e1)]((_0x2b2b11,_0x1aa23f)=>{var _0x1af843=_0x2f10d1,_0x6537e4;const {id:_0x26b892}=_0x2b2b11,{id:_0x1b9427,type:_0x3244b0}=_0x1aa23f,_0x1749da=(_0x6537e4=_0x2b2b11[_0x1af843(0x3ed)])!=null?_0x6537e4:{'actions':null},_0x172a0a=_0x1aa23f[_0x1af843(0x3ed)];if(_0x26b892&&_0x26b892!==_0x1b9427)throw new Error(_0x1af843(0x18f)+_0x26b892+'\x20-\x20'+_0x1b9427+'.');return{..._0x2b2b11,'id':_0x1b9427,'type':_0x3244b0,'params':{'unitId':_0x172a0a[_0x1af843(0x1ca)],'textRanges':_0x172a0a[_0x1af843(0x3e2)],'actions':_0x13e244['compose'](_0x1749da[_0x1af843(0x158)],_0x172a0a[_0x1af843(0x158)])}};},{})],_0x14e457=(_0xd2dfa0=(_0x3c5b8b=_0x368efd[_0x2f10d1(0x3e8)]())==null?void 0x0:_0x3c5b8b['userID'])!=null?_0xd2dfa0:'unknown',_0x463756=(_0x5215e8=(_0x9edd20=_0x368efd[_0x2f10d1(0x3e8)]())==null?void 0x0:_0x9edd20[_0x2f10d1(0x344)])!=null?_0x5215e8:_0x2f10d1(0x375);return{'changeset':{'unitID':_0x4e36a7,'type':_0x4823c9(_0x2099df[_0x2f10d1(0x2e3)](_0x4e36a7)),'baseRev':_0x2acd62['getCurrentRevOfUnit'](_0x4e36a7),'revision':0x0,'userID':_0x14e457,'memberID':_0x463756,'mutations':_0x4f1613},'pendingMutations':[]};}function Ri(_0x37bc67,_0x13918c){var _0x4042fb=_0x8ca89f;const _0x188d9b=new _0x5ed048(0x1);return setTimeout(()=>_0x188d9b['next'](_0x13918c),_0x37bc67),_0x188d9b[_0x4042fb(0x433)]()[_0x4042fb(0x3bc)](_0x206b4a(0x1));}const ss={'id':_0x33ae90['id'],'type':_0x470f3a['MUTATION'],'params':{}};var rs=Object[_0x8ca89f(0x297)],Te=(_0x2955d7,_0x47b0c3,_0x32bc33,_0xadf033)=>{var _0x35d376=_0x8ca89f;for(var _0x1b7e85=_0xadf033>0x1?void 0x0:_0xadf033?rs(_0x47b0c3,_0x32bc33):_0x47b0c3,_0x520e65=_0x2955d7[_0x35d376(0x2a4)]-0x1,_0x5a4454;_0x520e65>=0x0;_0x520e65--)(_0x5a4454=_0x2955d7[_0x520e65])&&(_0x1b7e85=_0x5a4454(_0x1b7e85)||_0x1b7e85);return _0x1b7e85;},P=(_0x8db764,_0x5d4c2d)=>(_0x219adf,_0x51614b)=>_0x5d4c2d(_0x219adf,_0x51614b,_0x8db764),bi=(_0x340e13=>(_0x340e13[_0x8ca89f(0x3c1)]=_0x8ca89f(0x3b2),_0x340e13[_0x8ca89f(0x428)]=_0x8ca89f(0x225),_0x340e13[_0x8ca89f(0x1fa)]=_0x8ca89f(0x3b4),_0x340e13[_0x8ca89f(0x2c8)]=_0x8ca89f(0x1cc),_0x340e13[_0x8ca89f(0x2c7)]=_0x8ca89f(0x421),_0x340e13[_0x8ca89f(0x3a0)]='fetch_missing',_0x340e13['CONFLICT']=_0x8ca89f(0x25a),_0x340e13[_0x8ca89f(0x326)]='offline',_0x340e13))(bi||{});const Oi=0xea60;class Ce{constructor(_0x134d11,_0x125e94,_0x25354a,_0x361082,_0x13aa70,_0x15d310,_0x3a7c40,_0x44a541,_0x4e2995){var _0x5987c2=_0x8ca89f;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x134d11,this[_0x5987c2(0x15b)]=_0x125e94,this[_0x5987c2(0x169)]=_0x13aa70,this[_0x5987c2(0x1b6)]=_0x15d310,this[_0x5987c2(0x3ec)]=_0x3a7c40,this[_0x5987c2(0x368)]=_0x44a541,this[_0x5987c2(0x157)]=_0x4e2995,this[_0x5987c2(0x412)]=_0x25354a,this[_0x5987c2(0x227)]=_0x361082);}[_0x8ca89f(0x364)](_0x5dfc3b){var _0x30fd46=_0x8ca89f;const _0x493132=this[_0x30fd46(0x368)][_0x30fd46(0x35f)](this['unitID']);return _0x5dfc3b['revision']>_0x493132+0x1?(this['_handler'][_0x30fd46(0x2d5)]({'from':_0x493132,'to':_0x5dfc3b[_0x30fd46(0x384)]-0x1}),!0x0):!0x1;}[_0x8ca89f(0x39a)](_0x53fe3e){var _0x1a8f36=_0x8ca89f;this[_0x1a8f36(0x3ec)][_0x1a8f36(0x2f1)](this[_0x1a8f36(0x356)],_0x53fe3e);}[_0x8ca89f(0x3f8)](_0x487bae){var _0x5a1ce5=_0x8ca89f,_0x409427,_0x323160;(_0x323160=(_0x409427=this[_0x5a1ce5(0x169)])[_0x5a1ce5(0x32f)])==null||_0x323160['call'](_0x409427,_0x487bae);}[_0x8ca89f(0x13c)](_0x24de0a){var _0x3f452c=_0x8ca89f,_0x1d6440,_0x458970;return(_0x458970=(_0x1d6440=this[_0x3f452c(0x169)])[_0x3f452c(0x17b)])==null?void 0x0:_0x458970['call'](_0x1d6440,_0x24de0a);}['_transformStateCache'](_0x2eb68e){var _0x285037=_0x8ca89f,_0x5d4bd8,_0x586791;return(_0x586791=(_0x5d4bd8=this['_handler'])['onTransformState'])==null?void 0x0:_0x586791[_0x285037(0x383)](_0x5d4bd8,_0x2eb68e);}[_0x8ca89f(0x2b1)](_0x1a796a){var _0x4f4a0e=_0x8ca89f,_0x3bf3e9,_0x267249,_0x2af4a4;return(_0x2af4a4=(_0x267249=(_0x3bf3e9=this[_0x4f4a0e(0x169)])[_0x4f4a0e(0x27f)])==null?void 0x0:_0x267249[_0x4f4a0e(0x383)](_0x3bf3e9,_0x1a796a))!=null?_0x2af4a4:_0x1a796a;}['_transformRemoteChangesetByStateCache'](_0x202e7a){var _0x5caf92=_0x8ca89f,_0x3eeb70,_0x5b29a8,_0x4d0962;return(_0x4d0962=(_0x5b29a8=(_0x3eeb70=this[_0x5caf92(0x169)])[_0x5caf92(0x417)])==null?void 0x0:_0x5b29a8['call'](_0x3eeb70,_0x202e7a))!=null?_0x4d0962:_0x202e7a;}[_0x8ca89f(0x1d4)](_0xf63661){var _0x818711=_0x8ca89f,_0x32b36b,_0x114aad;if(this[_0x818711(0x15b)]===Q[_0x818711(0x2c2)]){const {unitID:_0x1e5f04,mutations:_0x2613a6,memberID:_0x58031c}=_0xf63661,_0x150d2b=_0x2613a6[0x0][_0x818711(0x3ed)]['textRanges'];Array[_0x818711(0x357)](_0x150d2b)&&_0x150d2b[_0x818711(0x2a4)]>0x0&&((_0x114aad=(_0x32b36b=this['_handler'])[_0x818711(0x174)])==null||_0x114aad[_0x818711(0x383)](_0x32b36b,{'unitID':_0x1e5f04,'memberID':_0x58031c,'textRanges':_0x150d2b}));}}['_updateLocalCache'](){var _0x33a984=_0x8ca89f,_0x40d128;(_0x40d128=this[_0x33a984(0x157)])==null||_0x40d128['updateOfflineData'](this[_0x33a984(0x356)],this[_0x33a984(0x15b)],this[_0x33a984(0x412)],this['_pendingMutations']);}[_0x8ca89f(0x287)](){var _0x136c0f=_0x8ca89f;return this[_0x136c0f(0x368)][_0x136c0f(0x35f)](this[_0x136c0f(0x356)]);}[_0x8ca89f(0x378)](){var _0x377223=_0x8ca89f;this[_0x377223(0x368)][_0x377223(0x420)](this[_0x377223(0x356)]);}[_0x8ca89f(0x215)](_0x5d3a9b){var _0x1dd8af=_0x8ca89f,_0x359545;let _0x2a4ba1=this['_transformRemoteChangesetByIMECache'](_0x5d3a9b);_0x2a4ba1=this[_0x1dd8af(0x162)](_0x2a4ba1);const _0x52db35=_0x394e17(_0x2a4ba1['mutations'],this[_0x1dd8af(0x1b6)],{'fromCollab':!0x0});if(!_0x52db35[_0x1dd8af(0x31f)])throw _0x52db35[_0x1dd8af(0x39e)]instanceof Error?_0x52db35[_0x1dd8af(0x39e)]:new Error((_0x359545=_0x52db35['error'])!=null?_0x359545:_0x1dd8af(0x3e0));this[_0x1dd8af(0x13c)](_0x2a4ba1),this['_transformStateCache'](_0x2a4ba1),this[_0x1dd8af(0x39a)](_0x5d3a9b),this[_0x1dd8af(0x3f8)](_0x2a4ba1),this[_0x1dd8af(0x1d4)](_0x2a4ba1),this[_0x1dd8af(0x378)]();}}let Ne=class extends Ce{constructor(_0x36853b,_0x19a8f2,_0x4c724f,_0xc4a62c,_0x14b7fa,_0x11416f,_0x2af70a,_0x135ffb,_0x4f3d23,_0x25760a){var _0xe3f6f1=_0x8ca89f;super(_0x36853b,_0x19a8f2,null,[],_0x4c724f,_0x2af70a,_0x11416f,_0xc4a62c,_0x25760a),N(this,_0xe3f6f1(0x34a),_0xe3f6f1(0x225)),(this[_0xe3f6f1(0x2f0)]=_0x14b7fa,this['_logService']=_0x135ffb,this[_0xe3f6f1(0x32c)]=_0x4f3d23,this[_0xe3f6f1(0x3ab)]=_0x25760a);}[_0x8ca89f(0x18d)](_0xc7fc06){var _0x5786d9=_0x8ca89f;const _0x2053b8=this[_0x5786d9(0x2f0)][_0x5786d9(0x350)](ae,this[_0x5786d9(0x356)],this['type'],[_0xc7fc06],this[_0x5786d9(0x169)]);return _0x2053b8[_0x5786d9(0x1d1)](),_0x2053b8[_0x5786d9(0x21c)](),_0x2053b8;}['onRemoteChangeset'](_0x58857b){var _0x328a92=_0x8ca89f;if(this[_0x328a92(0x364)](_0x58857b))return this['_injector'][_0x328a92(0x350)](ee,this[_0x328a92(0x356)],this['type'],null,[],null,[_0x58857b],this[_0x328a92(0x169)]);try{const _0xbb12ff=this['_transformService'][_0x328a92(0x283)](_0x58857b,[ss]);if(_0x447128(_0xbb12ff)){const {c1Prime:_0x165128}=_0xbb12ff;return this[_0x328a92(0x215)](_0x165128),this;}throw _0xbb12ff[_0x328a92(0x39e)];}catch(_0x58f37e){return this[_0x328a92(0x3cc)][_0x328a92(0x39e)](_0x58f37e),this[_0x328a92(0x17e)](!0x1);}}['_onConflict'](_0x22de44){var _0x2c6f5b=_0x8ca89f;return this['_injector'][_0x2c6f5b(0x350)](ue,this[_0x2c6f5b(0x356)],this['type'],null,[],this[_0x2c6f5b(0x169)],_0x22de44);}[_0x8ca89f(0x187)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x8ca89f(0x1bb)](){var _0x1bdd9b=_0x8ca89f;throw new Error(_0x1bdd9b(0x3c5));}[_0x8ca89f(0x367)](){return this;}[_0x8ca89f(0x3c8)](){var _0xf8f23c=_0x8ca89f;return this[_0xf8f23c(0x2f0)][_0xf8f23c(0x350)](de,this['unitID'],this[_0xf8f23c(0x15b)],null,[],this[_0xf8f23c(0x169)]);}['toggleOnline'](){return this;}[_0x8ca89f(0x16e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x2ef1b7=_0x8ca89f;const _0x457fd9=this[_0x2ef1b7(0x368)][_0x2ef1b7(0x35f)](this[_0x2ef1b7(0x356)]);return this['_handler'][_0x2ef1b7(0x2d5)]({'from':_0x457fd9,'to':0x0}),this[_0x2ef1b7(0x2f0)][_0x2ef1b7(0x350)](ee,this['unitID'],this[_0x2ef1b7(0x15b)],null,[],null,[],this[_0x2ef1b7(0x169)]);}};Ne=Te([P(0x3,_0x40b328(_0x236155)),P(0x4,_0x40b328(_0x481071)),P(0x5,_0x13f494),P(0x6,_0x3757e0),P(0x7,_0x5dea26),P(0x8,_0x32f351),P(0x9,_0x2f6ba1(J))],Ne);let ae=class extends Ce{constructor(_0xa02669,_0x32dfc2,_0x182a03,_0x5a92ea,_0x19c7e2,_0x5a88f5,_0x129d0b,_0x5ccae0,_0x44e9d1,_0x40ed07,_0x38c4e2,_0x5a1b7a,_0x24a70f,_0x51bee8){var _0x1d007e=_0x8ca89f;super(_0xa02669,_0x32dfc2,null,_0x182a03,_0x5a92ea,_0x44e9d1,_0x24a70f,_0x5a88f5,_0x51bee8),N(this,'status',_0x1d007e(0x3b4)),N(this,_0x1d007e(0x3c3),null),N(this,_0x1d007e(0x2fc),null),(this[_0x1d007e(0x2f0)]=_0x19c7e2,this[_0x1d007e(0x3f0)]=_0x129d0b,this[_0x1d007e(0x3cc)]=_0x5ccae0,this[_0x1d007e(0x27b)]=_0x40ed07,this[_0x1d007e(0x32c)]=_0x38c4e2,this[_0x1d007e(0x1b1)]=_0x5a1b7a);}[_0x8ca89f(0x18d)](_0x53dd46){var _0x5b1e45=_0x8ca89f;return this[_0x5b1e45(0x227)][_0x5b1e45(0x1c4)](_0x53dd46),this[_0x5b1e45(0x21c)](),this;}['onRemoteChangeset'](_0x5b1ba4){var _0x3d810e=_0x8ca89f;if(this[_0x3d810e(0x364)](_0x5b1ba4))return this[_0x3d810e(0x2bf)](),this[_0x3d810e(0x2f0)][_0x3d810e(0x350)](ee,this['unitID'],this[_0x3d810e(0x15b)],null,this[_0x3d810e(0x227)],null,[_0x5b1ba4],this[_0x3d810e(0x169)]);try{const _0x4f4b0a=this[_0x3d810e(0x32c)]['transformMutationsWithChangeset'](_0x5b1ba4,this[_0x3d810e(0x227)]);if(_0x447128(_0x4f4b0a)){const {c1Prime:_0x164e0d,m2Prime:_0x46e66b}=_0x4f4b0a;this[_0x3d810e(0x215)](_0x164e0d);const _0x17b67e=this[_0x3d810e(0x2f0)][_0x3d810e(0x350)](ae,this[_0x3d810e(0x356)],this[_0x3d810e(0x15b)],_0x46e66b,this[_0x3d810e(0x169)]);this[_0x3d810e(0x2bf)]();const _0x5d9e3e=new Date()[_0x3d810e(0x315)](),_0x1cc5f7=this[_0x3d810e(0x3c3)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x5d9e3e,0x0):this[_0x3d810e(0x1ef)]();return _0x17b67e[_0x3d810e(0x1d1)](_0x1cc5f7),_0x17b67e;}throw _0x4f4b0a[_0x3d810e(0x39e)];}catch(_0x3156d9){return this[_0x3d810e(0x3cc)][_0x3d810e(0x39e)](_0x3156d9),this[_0x3d810e(0x17e)](!0x1);}}[_0x8ca89f(0x187)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x8ca89f(0x1bb)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x8ca89f(0x3c8)](){var _0x3072ae=_0x8ca89f;return this[_0x3072ae(0x2bf)](),this[_0x3072ae(0x2f0)][_0x3072ae(0x350)](de,this[_0x3072ae(0x356)],this[_0x3072ae(0x15b)],null,this[_0x3072ae(0x227)],this[_0x3072ae(0x169)]);}[_0x8ca89f(0x354)](){return this;}['_schedule'](_0x10e783){var _0x566b5d=_0x8ca89f;const _0x4824ee=_0x10e783!=null?_0x10e783:this['_getSendChangesetTimeout']();this[_0x566b5d(0x3c3)]=new Date()['getTime']()+_0x4824ee,this[_0x566b5d(0x2fc)]=setTimeout(()=>{var _0x46bfb0=_0x566b5d;this[_0x46bfb0(0x2bf)]();let _0x2cc225=null;switch(this[_0x46bfb0(0x15b)]){case Q[_0x46bfb0(0x200)]:{_0x2cc225=qt(this['_pendingMutations'],this[_0x46bfb0(0x356)],this[_0x46bfb0(0x1b1)],this[_0x46bfb0(0x368)],this[_0x46bfb0(0x3f0)]);break;}case Q[_0x46bfb0(0x2c2)]:{this['_pendingMutations'][_0x46bfb0(0x2dd)](_0x4a9a05=>_0x4a9a05['id']===_0x3af4e6['id'])?_0x2cc225=ns(this[_0x46bfb0(0x227)],this[_0x46bfb0(0x356)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x2cc225=qt(this[_0x46bfb0(0x227)],this[_0x46bfb0(0x356)],this[_0x46bfb0(0x1b1)],this[_0x46bfb0(0x368)],this['_memberService']);break;}default:throw new Error(_0x46bfb0(0x2c9)+this[_0x46bfb0(0x15b)]+_0x46bfb0(0x400));}const {changeset:_0x3ce4a6,pendingMutations:_0x5e8770}=_0x2cc225;this[_0x46bfb0(0x169)]['onSendChangeset'](_0x3ce4a6);const _0x4acc80=_0x5e8770['length']?this[_0x46bfb0(0x2f0)][_0x46bfb0(0x350)](oe,this[_0x46bfb0(0x356)],this['type'],_0x3ce4a6,_0x5e8770,this[_0x46bfb0(0x169)],void 0x0):this[_0x46bfb0(0x2f0)][_0x46bfb0(0x350)](le,this['unitID'],this[_0x46bfb0(0x15b)],_0x3ce4a6,this[_0x46bfb0(0x169)]);_0x4acc80['_updateLocalCache'](),this[_0x46bfb0(0x169)]['onStateChange'](this,_0x4acc80);},_0x4824ee);}[_0x8ca89f(0x1ef)](){var _0x297c70=_0x8ca89f,_0x3ec44f;const _0x38a97e=this['_configService'][_0x297c70(0x327)](q);return(_0x3ec44f=_0x38a97e==null?void 0x0:_0x38a97e['sendChangesetTimeout'])!=null?_0x3ec44f:En;}[_0x8ca89f(0x16e)](){var _0x5ec6bb=_0x8ca89f;throw new Error(_0x5ec6bb(0x33b));}[_0x8ca89f(0x2bf)](){var _0x134e1c=_0x8ca89f;this[_0x134e1c(0x2fc)]!=null&&(clearTimeout(this[_0x134e1c(0x2fc)]),this['_sendingTimer']=null);}[_0x8ca89f(0x17e)](_0x5516a3){var _0xd6d6ff=_0x8ca89f;return this[_0xd6d6ff(0x2bf)](),this[_0xd6d6ff(0x2f0)][_0xd6d6ff(0x350)](ue,this[_0xd6d6ff(0x356)],this['type'],null,this[_0xd6d6ff(0x227)],this[_0xd6d6ff(0x169)],_0x5516a3);}};ae=Te([P(0x4,_0x40b328(_0x481071)),P(0x5,_0x40b328(_0x236155)),P(0x6,_0x40b328(Le)),P(0x7,_0x5dea26),P(0x8,_0x3757e0),P(0x9,_0x4a241c),P(0xa,_0x32f351),P(0xb,_0x21e2dc),P(0xc,_0x13f494),P(0xd,_0x2f6ba1(J))],ae);let le=class extends Ce{constructor(_0x23e154,_0x5e3342,_0x11c985,_0x17db4a,_0x2ded6b,_0x275fa4,_0x5907c0,_0x4c87cb,_0x1145a2,_0x36289f,_0x5dd19a){var _0x59f00b=_0x8ca89f;super(_0x23e154,_0x5e3342,_0x11c985,[],_0x17db4a,_0x5907c0,_0x36289f,_0x275fa4,_0x5dd19a),N(this,'status',_0x59f00b(0x1cc)),N(this,_0x59f00b(0x252),0x0),N(this,'_resendTimer'),N(this,_0x59f00b(0x1db)),(this[_0x59f00b(0x2f0)]=_0x2ded6b,this['_logService']=_0x4c87cb,this[_0x59f00b(0x32c)]=_0x1145a2);}[_0x8ca89f(0x18d)](_0x2d1e1d){var _0x50a668=_0x8ca89f;this['_clearScheduledTask']();const _0x4d0616=this[_0x50a668(0x2f0)][_0x50a668(0x350)](oe,this[_0x50a668(0x356)],this[_0x50a668(0x15b)],this[_0x50a668(0x412)],[_0x2d1e1d],this[_0x50a668(0x169)],this['_resendTimer']);return _0x4d0616[_0x50a668(0x21c)](),_0x4d0616;}[_0x8ca89f(0x1d9)](_0x281b12){var _0x54a91b=_0x8ca89f;if(this[_0x54a91b(0x364)](_0x281b12))return this[_0x54a91b(0x2bf)](),this[_0x54a91b(0x2f0)]['createInstance'](ee,this[_0x54a91b(0x356)],this[_0x54a91b(0x15b)],this[_0x54a91b(0x412)],[],null,[_0x281b12],this['_handler']);try{const _0x1c50a5=this[_0x54a91b(0x32c)][_0x54a91b(0x151)]([_0x281b12],[this[_0x54a91b(0x412)]],!0x1);if(_0x4cb9eb(_0x1c50a5)){const {c1Prime:_0x4c73ea,c2Prime:_0x73b831}=_0x1c50a5;this[_0x54a91b(0x215)](_0x4c73ea[0x0]),_0x73b831[0x0][_0x54a91b(0x239)]=this[_0x54a91b(0x287)](),this[_0x54a91b(0x2bf)]();const _0x2fb42b=this[_0x54a91b(0x2f0)][_0x54a91b(0x350)](le,this[_0x54a91b(0x356)],this['type'],_0x73b831[0x0],this[_0x54a91b(0x169)]);return _0x2fb42b[_0x54a91b(0x21c)](),_0x2fb42b;}return this[_0x54a91b(0x17e)](!0x1);}catch(_0x3a0a80){return this[_0x54a91b(0x3cc)][_0x54a91b(0x39e)](_0x3a0a80),this['_onConflict'](!0x1);}}[_0x8ca89f(0x187)](_0x511f15){var _0x2ca11f=_0x8ca89f;this[_0x2ca11f(0x2bf)]();const _0x441fba=this[_0x2ca11f(0x368)][_0x2ca11f(0x35f)](this[_0x2ca11f(0x356)]);if(_0x511f15['revision']<_0x441fba-0x1)return this;if(this['_checkMissing'](_0x511f15))return this[_0x2ca11f(0x2f0)]['createInstance'](ee,this[_0x2ca11f(0x356)],this[_0x2ca11f(0x15b)],null,[],this[_0x2ca11f(0x412)],[],this[_0x2ca11f(0x169)]);this[_0x2ca11f(0x378)]();const _0x2f3c3b=this[_0x2ca11f(0x2f0)][_0x2ca11f(0x350)](Ne,this['unitID'],this[_0x2ca11f(0x15b)],this[_0x2ca11f(0x169)]);return _0x2f3c3b[_0x2ca11f(0x21c)](),_0x2f3c3b;}[_0x8ca89f(0x1bb)](_0x61bbf8){var _0x27aa1f=_0x8ca89f;return this['_onConflict'](!!(_0x61bbf8!=null&&_0x61bbf8[_0x27aa1f(0x353)]));}[_0x8ca89f(0x367)](_0x4bd7cb){var _0x5dee49=_0x8ca89f;return this['_resendTimeout']>Oi?this[_0x5dee49(0x3c8)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4bd7cb[_0x5dee49(0x2e1)]}),this[_0x5dee49(0x1db)]=this[_0x5dee49(0x1aa)][_0x5dee49(0x34d)](({reqId:_0x5f1751,timeout:_0x216038})=>{var _0x32fcd4=_0x5dee49;this[_0x32fcd4(0x142)](_0x5f1751,_0x216038);}),this);}[_0x8ca89f(0x3c8)](){var _0x1184e8=_0x8ca89f;return this[_0x1184e8(0x2bf)](),this[_0x1184e8(0x2f0)][_0x1184e8(0x350)](de,this[_0x1184e8(0x356)],this[_0x1184e8(0x15b)],this[_0x1184e8(0x412)],[],this[_0x1184e8(0x169)]);}[_0x8ca89f(0x354)](){return this;}['resend'](){var _0x656c82=_0x8ca89f;this[_0x656c82(0x169)]['onSendChangeset'](this[_0x656c82(0x412)]);}[_0x8ca89f(0x17e)](_0x4c3887){var _0x444269=_0x8ca89f;return this[_0x444269(0x2bf)](),this[_0x444269(0x2f0)][_0x444269(0x350)](ue,this[_0x444269(0x356)],this['type'],this['_awaitingChangeset'],[],this[_0x444269(0x169)],_0x4c3887);}[_0x8ca89f(0x142)](_0x532797,_0x3bd459){var _0x2fb738=_0x8ca89f,_0x5415a4;_0x532797===((_0x5415a4=this[_0x2fb738(0x412)])==null?void 0x0:_0x5415a4[_0x2fb738(0x2e1)])&&(this[_0x2fb738(0x16e)](),this['_resendTimeout']=_0x3bd459===0x0?0x3e8:_0x3bd459*0x2);}['_clearScheduledTask'](){var _0x3d7965=_0x8ca89f,_0x10e390;(_0x10e390=this[_0x3d7965(0x1db)])==null||_0x10e390[_0x3d7965(0x2a1)](),this[_0x3d7965(0x252)]=0x0;}};le=Te([P(0x4,_0x40b328(_0x481071)),P(0x5,_0x40b328(_0x236155)),P(0x6,_0x3757e0),P(0x7,_0x5dea26),P(0x8,_0x32f351),P(0x9,_0x13f494),P(0xa,_0x2f6ba1(J))],le);let oe=class extends Ce{constructor(_0x3d3597,_0x5cf383,_0x2f3cc9,_0x7c615f,_0x48f551,_0x27d546,_0x4452e3,_0x5a5451,_0x3028a9,_0x493265,_0xa2878c,_0x5c1009,_0x149985){var _0x36cc02=_0x8ca89f;super(_0x3d3597,_0x5cf383,_0x2f3cc9,_0x7c615f,_0x48f551,_0x3028a9,_0x5c1009,_0x5a5451,_0x149985),N(this,'status',_0x36cc02(0x421)),N(this,_0x36cc02(0x252),0x0),N(this,_0x36cc02(0x1aa)),N(this,_0x36cc02(0x1db)),(this[_0x36cc02(0x2f0)]=_0x4452e3,this[_0x36cc02(0x3cc)]=_0x493265,this[_0x36cc02(0x32c)]=_0xa2878c,this[_0x36cc02(0x3ab)]=_0x149985,_0x27d546&&(this[_0x36cc02(0x1aa)]=_0x27d546,this['_sender']=this[_0x36cc02(0x1aa)]['subscribe'](({reqId:_0x115f97,timeout:_0x3bbe8d})=>{this['_resendWithTimeout'](_0x115f97,_0x3bbe8d);})));}['appendMutation'](_0x3294e7){var _0x22b6dd=_0x8ca89f;return this['_pendingMutations'][_0x22b6dd(0x1c4)](_0x3294e7),this;}['onRemoteChangeset'](_0x2cf97d){var _0x38c9fb=_0x8ca89f;if(this[_0x38c9fb(0x364)](_0x2cf97d))return this['_clearScheduledTask'](),this[_0x38c9fb(0x2f0)][_0x38c9fb(0x350)](ee,this[_0x38c9fb(0x356)],this[_0x38c9fb(0x15b)],this[_0x38c9fb(0x412)],this[_0x38c9fb(0x227)],null,[_0x2cf97d],this[_0x38c9fb(0x169)]);try{const _0x2763b0=this[_0x38c9fb(0x32c)][_0x38c9fb(0x151)]([_0x2cf97d],[this[_0x38c9fb(0x412)]],!0x1);if(_0x4cb9eb(_0x2763b0)){const {c1Prime:_0x3d0603,c2Prime:_0x30e526}=_0x2763b0,_0xc10f9e=this[_0x38c9fb(0x32c)][_0x38c9fb(0x283)](_0x3d0603[0x0],this[_0x38c9fb(0x227)]);if(_0x447128(_0xc10f9e)){const {c1Prime:_0x5bf75c,m2Prime:_0x3d9f7f}=_0xc10f9e;return this[_0x38c9fb(0x215)](_0x5bf75c),_0x30e526[0x0][_0x38c9fb(0x239)]=this[_0x38c9fb(0x287)](),this[_0x38c9fb(0x2bf)](),this[_0x38c9fb(0x2f0)][_0x38c9fb(0x350)](oe,this[_0x38c9fb(0x356)],this[_0x38c9fb(0x15b)],_0x30e526[0x0],_0x3d9f7f,this[_0x38c9fb(0x169)],void 0x0);}throw _0xc10f9e[_0x38c9fb(0x39e)];}throw _0x2763b0['error'];}catch(_0x46b875){return this[_0x38c9fb(0x3cc)][_0x38c9fb(0x39e)](_0x46b875),this['_onConflict'](!0x1);}}[_0x8ca89f(0x187)](_0x30e593){var _0x4c6246=_0x8ca89f;if(this['_clearScheduledTask'](),this[_0x4c6246(0x364)](_0x30e593))return this[_0x4c6246(0x2f0)]['createInstance'](ee,this[_0x4c6246(0x356)],this[_0x4c6246(0x15b)],null,this[_0x4c6246(0x227)],this[_0x4c6246(0x412)],[],this[_0x4c6246(0x169)]);this['_incrementRevisionNumber']();const _0x3e659b=this[_0x4c6246(0x2f0)]['createInstance'](ae,this[_0x4c6246(0x356)],this[_0x4c6246(0x15b)],this[_0x4c6246(0x227)],this['_handler']);return _0x3e659b[_0x4c6246(0x1d1)](),_0x3e659b[_0x4c6246(0x21c)](),_0x3e659b;}[_0x8ca89f(0x1bb)](_0x4064c1){var _0x27f68b=_0x8ca89f;return this['_onConflict'](!!(_0x4064c1!=null&&_0x4064c1[_0x27f68b(0x353)]));}[_0x8ca89f(0x367)](_0x397ac1){var _0x9faba0=_0x8ca89f;return this['_resendTimeout']>Oi?this[_0x9faba0(0x3c8)]():(this[_0x9faba0(0x1aa)]=Ri(this[_0x9faba0(0x252)],{'timeout':this[_0x9faba0(0x252)],'reqId':_0x397ac1[_0x9faba0(0x2e1)]}),this[_0x9faba0(0x1db)]=this[_0x9faba0(0x1aa)][_0x9faba0(0x34d)](({reqId:_0xeef76b,timeout:_0x4eed48})=>{var _0x134407=_0x9faba0;this[_0x134407(0x142)](_0xeef76b,_0x4eed48);}),this);}['toggleOffline'](){var _0x150cec=_0x8ca89f;return this[_0x150cec(0x2bf)](),this['_injector'][_0x150cec(0x350)](de,this[_0x150cec(0x356)],this['type'],this[_0x150cec(0x412)],this[_0x150cec(0x227)],this['_handler']);}[_0x8ca89f(0x354)](){return this;}[_0x8ca89f(0x16e)](){var _0x9c4739=_0x8ca89f;this[_0x9c4739(0x169)][_0x9c4739(0x393)](this[_0x9c4739(0x412)]);}[_0x8ca89f(0x17e)](_0x2a5562){var _0x5ece1a=_0x8ca89f;return this['_clearScheduledTask'](),this[_0x5ece1a(0x2f0)][_0x5ece1a(0x350)](ue,this[_0x5ece1a(0x356)],this[_0x5ece1a(0x15b)],null,this[_0x5ece1a(0x227)],this[_0x5ece1a(0x169)],_0x2a5562);}[_0x8ca89f(0x142)](_0x2b8609,_0x402ed4){var _0x16db0c=_0x8ca89f,_0x45da0e;_0x2b8609===((_0x45da0e=this['_awaitingChangeset'])==null?void 0x0:_0x45da0e[_0x16db0c(0x2e1)])&&(this[_0x16db0c(0x16e)](),this['_resendTimeout']=_0x402ed4===0x0?0x3e8:_0x402ed4*0x2);}[_0x8ca89f(0x2bf)](){var _0x29caa7=_0x8ca89f,_0x5140de;(_0x5140de=this[_0x29caa7(0x1db)])==null||_0x5140de['unsubscribe'](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x40b328(_0x481071)),P(0x7,_0x40b328(_0x236155)),P(0x8,_0x3757e0),P(0x9,_0x5dea26),P(0xa,_0x32f351),P(0xb,_0x13f494),P(0xc,_0x2f6ba1(J))],oe);let ue=class extends Ce{constructor(_0x4a8c39,_0x56f463,_0x12c8fd,_0x57bc13,_0x3bad0a,_0x2dd419=!0x1,_0x38e94d,_0x439726,_0x569ff7,_0x1356e4,_0x53b2f4,_0x314c70,_0x3af692){var _0x4548fa=_0x8ca89f;super(_0x4a8c39,_0x56f463,_0x12c8fd,_0x57bc13,_0x3bad0a,_0x439726,_0x569ff7,_0x1356e4,_0x3af692),N(this,_0x4548fa(0x34a),_0x4548fa(0x25a)),(this[_0x4548fa(0x304)]=_0x2dd419,this['_permissionService']=_0x38e94d,this['_localeService']=_0x53b2f4,this['_collaborationUIEventService']=_0x314c70,this[_0x4548fa(0x3ab)]=_0x3af692,this[_0x4548fa(0x33c)](),this[_0x4548fa(0x13e)](),this[_0x4548fa(0x3f5)]());}[_0x8ca89f(0x18d)](){return this;}[_0x8ca89f(0x1d9)](){return this;}[_0x8ca89f(0x187)](){return this;}['onRemoteRej'](){return this;}[_0x8ca89f(0x367)](){return this;}['toggleOffline'](){return this;}[_0x8ca89f(0x354)](){return this;}[_0x8ca89f(0x16e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8ca89f(0x13e)](){var _0x570e3c=_0x8ca89f,_0x2b1db3;(_0x2b1db3=this['_localCacheService'])==null||_0x2b1db3[_0x570e3c(0x276)](this[_0x570e3c(0x356)],this[_0x570e3c(0x15b)],null,[]);}[_0x8ca89f(0x33c)](){var _0x25b7b1=_0x8ca89f;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x25b7b1(0x355)]({'id':re[_0x25b7b1(0x201)]}):this['_collaborationUIEventService'][_0x25b7b1(0x355)]({'id':re[_0x25b7b1(0x28d)]});}[_0x8ca89f(0x3f5)](){var _0x39865b=_0x8ca89f;this[_0x39865b(0x1b2)][_0x39865b(0x29e)](new _0x25b7cf(this[_0x39865b(0x356)])['id'],!0x1);}};ue=Te([P(0x6,_0x40b328(_0x14ac23)),P(0x7,_0x3757e0),P(0x8,_0x13f494),P(0x9,_0x40b328(_0x236155)),P(0xa,_0x40b328(_0x1163c2)),P(0xb,_0x40b328(pe)),P(0xc,_0x2f6ba1(J))],ue);let de=class extends Ce{constructor(_0x5509c3,_0x4f14d2,_0x83236f,_0x4fb887,_0x53b782,_0x1b0e8f,_0x4b68e5,_0xea5ef6,_0x3ad9ce,_0xaf1a78){var _0x8f67f6=_0x8ca89f;super(_0x5509c3,_0x4f14d2,_0x83236f,_0x4fb887,_0x53b782,_0xea5ef6,_0x3ad9ce,_0x4b68e5,_0xaf1a78),N(this,_0x8f67f6(0x34a),_0x8f67f6(0x203)),this[_0x8f67f6(0x2f0)]=_0x1b0e8f;}[_0x8ca89f(0x18d)](_0x2bc43c){var _0x2e9368=_0x8ca89f;return this['_pendingMutations']['push'](_0x2bc43c),this[_0x2e9368(0x21c)](),this;}[_0x8ca89f(0x1d9)](_0x21e14e){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x8ca89f(0x187)](){var _0x432bb3=_0x8ca89f;throw new Error(_0x432bb3(0x22b));}['onRemoteRej'](){var _0x15ca2e=_0x8ca89f;throw new Error(_0x15ca2e(0x1e8));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x4c6381=_0x8ca89f;const {_injector:_0x182dca,_pendingMutations:_0x38447a,_awaitingChangeset:_0x358f38,unitID:_0x36fd0d,_handler:_0x1ab92c,type:_0x1e1e1c}=this,_0x57c5d4=yi(_0x182dca,_0x36fd0d,_0x1e1e1c,_0x358f38,_0x38447a,_0x1ab92c);return _0x57c5d4 instanceof ae?_0x57c5d4[_0x4c6381(0x1d1)]():(_0x57c5d4 instanceof oe||_0x57c5d4 instanceof le)&&_0x57c5d4[_0x4c6381(0x16e)](),_0x57c5d4;}[_0x8ca89f(0x16e)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x40b328(_0x481071)),P(0x6,_0x40b328(_0x236155)),P(0x7,_0x3757e0),P(0x8,_0x13f494),P(0x9,_0x2f6ba1(J))],de);let ee=class extends Ce{constructor(_0x3abcd5,_0x118c48,_0x104d13,_0x3fa737,_0x288ed1,_0x139f9c,_0x341210,_0x3e53f4,_0x123612,_0x286678,_0xd33030,_0x2f25f0,_0x5d7370,_0x365f6b){var _0x4ca55d=_0x8ca89f;super(_0x3abcd5,_0x118c48,_0x104d13,_0x3fa737,_0x341210,_0xd33030,_0x2f25f0,_0x123612,_0x365f6b),N(this,_0x4ca55d(0x34a),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x288ed1,this[_0x4ca55d(0x167)]=_0x139f9c,this[_0x4ca55d(0x2f0)]=_0x3e53f4,this[_0x4ca55d(0x3cc)]=_0x286678,this[_0x4ca55d(0x32c)]=_0x5d7370,this[_0x4ca55d(0x3ab)]=_0x365f6b);}[_0x8ca89f(0x342)](_0x3a534e){var _0x465f18=_0x8ca89f;try{const _0x28bb71=[..._0x3a534e,...this[_0x465f18(0x167)]],_0x1cabf5=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x465f18(0x338)](_0x2f0555=>!!_0x2f0555);let _0x438caa,_0x3f77e5;if(_0x1cabf5['length']){const _0x196857=this['_transformService'][_0x465f18(0x151)](_0x28bb71,_0x1cabf5,!0x1);if(!_0x4cb9eb(_0x196857))throw _0x196857[_0x465f18(0x39e)];_0x438caa=_0x196857[_0x465f18(0x42c)],_0x3f77e5=_0x196857[_0x465f18(0x36f)];}else _0x438caa=_0x28bb71,_0x3f77e5=[];let _0x1f10c2=this['_pendingMutations'];_0x438caa['forEach'](_0x57d848=>{var _0x34bfc6=_0x465f18;let _0xe33df5;if(_0x1f10c2[_0x34bfc6(0x2a4)]){const _0x2e43d6=this[_0x34bfc6(0x32c)]['transformMutationsWithChangeset'](_0x57d848,_0x1f10c2);if(!_0x447128(_0x2e43d6))throw _0x2e43d6['error'];_0xe33df5=_0x2e43d6[_0x34bfc6(0x42c)],_0x1f10c2=_0x2e43d6['m2Prime'];}else _0xe33df5=_0x57d848;this['_executeRemoteChangeset'](_0xe33df5);}),this[_0x465f18(0x1fc)]&&this['_incrementRevisionNumber'](),this[_0x465f18(0x412)]&&_0x3f77e5[_0x465f18(0x2a4)]&&(_0x3f77e5[0x0][_0x465f18(0x239)]=this[_0x465f18(0x287)]());let _0x4a67d4;if(this[_0x465f18(0x412)]&&_0x1f10c2[_0x465f18(0x2a4)]!==0x0)_0x4a67d4=this[_0x465f18(0x2f0)][_0x465f18(0x350)](oe,this['unitID'],this[_0x465f18(0x15b)],_0x3f77e5[0x0],_0x1f10c2,this[_0x465f18(0x169)],void 0x0);else{if(this[_0x465f18(0x412)]&&_0x1f10c2[_0x465f18(0x2a4)]===0x0)_0x3f77e5[0x0]['baseRev']=this[_0x465f18(0x287)](),_0x4a67d4=this[_0x465f18(0x2f0)]['createInstance'](le,this[_0x465f18(0x356)],this[_0x465f18(0x15b)],_0x3f77e5[0x0],this[_0x465f18(0x169)]);else{if(_0x1f10c2[_0x465f18(0x2a4)]!==0x0){const _0x6534e=this[_0x465f18(0x2f0)]['createInstance'](ae,this['unitID'],this[_0x465f18(0x15b)],_0x1f10c2,this[_0x465f18(0x169)]);_0x6534e[_0x465f18(0x1d1)](),_0x4a67d4=_0x6534e;}else _0x4a67d4=this['_injector'][_0x465f18(0x350)](Ne,this[_0x465f18(0x356)],this[_0x465f18(0x15b)],this[_0x465f18(0x169)]);}}return _0x4a67d4['_updateLocalCache'](),_0x4a67d4;}catch(_0x16624c){return this[_0x465f18(0x3cc)][_0x465f18(0x39e)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x16624c),this[_0x465f18(0x2f0)]['createInstance'](ue,this['unitID'],this['type'],this[_0x465f18(0x412)],this[_0x465f18(0x227)],this[_0x465f18(0x169)],!0x1);}}['resend'](){var _0x420d81=_0x8ca89f;throw new Error(_0x420d81(0x293));}[_0x8ca89f(0x18d)](_0x3db016){var _0x1a7e58=_0x8ca89f;return this['_pendingMutations'][_0x1a7e58(0x1c4)](_0x3db016),this;}[_0x8ca89f(0x1d9)](_0x15c206){var _0x4ce86a=_0x8ca89f;return this[_0x4ce86a(0x167)]['push'](_0x15c206),this;}[_0x8ca89f(0x187)](_0x591d84){var _0x3698e7=_0x8ca89f;if(this[_0x3698e7(0x412)])return this[_0x3698e7(0x1fc)]=this['_awaitingChangeset'],this[_0x3698e7(0x412)]=null,this;throw new Error(_0x3698e7(0x349));}[_0x8ca89f(0x1bb)](_0x1b4003){var _0x25f1ad=_0x8ca89f;return this[_0x25f1ad(0x17e)](!!(_0x1b4003!=null&&_0x1b4003[_0x25f1ad(0x353)]));}[_0x8ca89f(0x367)](){return this;}[_0x8ca89f(0x3c8)](){var _0x3d41b7=_0x8ca89f;return this['_injector'][_0x3d41b7(0x350)](de,this[_0x3d41b7(0x356)],this[_0x3d41b7(0x15b)],this[_0x3d41b7(0x412)],this[_0x3d41b7(0x227)],this[_0x3d41b7(0x169)]);}[_0x8ca89f(0x354)](){return this;}['_onConflict'](_0x97fe78){var _0x1f3097=_0x8ca89f;return this[_0x1f3097(0x2f0)][_0x1f3097(0x350)](ue,this['unitID'],this['type'],this[_0x1f3097(0x412)],this['_pendingMutations'],this[_0x1f3097(0x169)],_0x97fe78);}};ee=Te([P(0x7,_0x40b328(_0x481071)),P(0x8,_0x40b328(_0x236155)),P(0x9,_0x5dea26),P(0xa,_0x3757e0),P(0xb,_0x13f494),P(0xc,_0x32f351),P(0xd,_0x2f6ba1(J))],ee);function yi(_0x36781c,_0xcd5b1f,_0x61b341,_0x287640,_0x4ae84e,_0x56b63c){var _0x16e7f5=_0x8ca89f;return _0x287640&&_0x4ae84e['length']?_0x36781c[_0x16e7f5(0x350)](oe,_0xcd5b1f,_0x61b341,_0x287640,_0x4ae84e,_0x56b63c,void 0x0):_0x287640?_0x36781c[_0x16e7f5(0x350)](le,_0xcd5b1f,_0x61b341,_0x287640,_0x56b63c):_0x4ae84e[_0x16e7f5(0x2a4)]?_0x36781c[_0x16e7f5(0x350)](ae,_0xcd5b1f,_0x61b341,_0x4ae84e,_0x56b63c):_0x36781c[_0x16e7f5(0x350)](Ne,_0xcd5b1f,_0x61b341,_0x56b63c);}var as=Object[_0x8ca89f(0x297)],Lt=(_0xf45d4,_0x371054,_0x4348a5,_0x13c2bc)=>{var _0x4fc922=_0x8ca89f;for(var _0x59bc3c=_0x13c2bc>0x1?void 0x0:_0x13c2bc?as(_0x371054,_0x4348a5):_0x371054,_0x456d1b=_0xf45d4[_0x4fc922(0x2a4)]-0x1,_0x3a4da3;_0x456d1b>=0x0;_0x456d1b--)(_0x3a4da3=_0xf45d4[_0x456d1b])&&(_0x59bc3c=_0x3a4da3(_0x59bc3c)||_0x59bc3c);return _0x59bc3c;},H=(_0x5977fd,_0x9d7da1)=>(_0x3461c8,_0x57d79a)=>_0x9d7da1(_0x3461c8,_0x57d79a,_0x5977fd);let nt=class extends _0x4aa20b{constructor(_0x203e00,_0x4e5875,_0x1f9d86,_0x8ad78e,_0x459ce5,_0x3b6b23,_0x5467d9,_0x1e09fd,_0x54e5c4,_0x8ea30e,_0x38ed41,_0x5c5d95,_0x43dedb){var _0x2aea2e=_0x8ca89f;super(),N(this,_0x2aea2e(0x1e6),new _0x58b670(null)),N(this,_0x2aea2e(0x41b),this[_0x2aea2e(0x1e6)][_0x2aea2e(0x433)]()),N(this,_0x2aea2e(0x1ce)),N(this,'_collaborationPaused',!0x1),N(this,_0x2aea2e(0x14d),''),N(this,_0x2aea2e(0x251),0x0),N(this,_0x2aea2e(0x274),this[_0x2aea2e(0x41b)][_0x2aea2e(0x3bc)](_0x24a377(_0xc0e458=>_0xc0e458?_0xc0e458[_0x2aea2e(0x34a)]:bi['OFFLINE']),_0x966e42(0x1))),N(this,_0x2aea2e(0x253),!0x1),N(this,_0x2aea2e(0x35b),[]),(this[_0x2aea2e(0x356)]=_0x203e00,this[_0x2aea2e(0x372)]=_0x4e5875,this[_0x2aea2e(0x402)]=_0x1f9d86,this[_0x2aea2e(0x2f0)]=_0x8ad78e,this[_0x2aea2e(0x2e5)]=_0x459ce5,this[_0x2aea2e(0x2a9)]=_0x3b6b23,this['_revisionService']=_0x5467d9,this[_0x2aea2e(0x2be)]=_0x1e09fd,this[_0x2aea2e(0x3cc)]=_0x54e5c4,this[_0x2aea2e(0x1b6)]=_0x8ea30e,this['_permissionService']=_0x38ed41,this['_singleActiveUnitService']=_0x5c5d95,this[_0x2aea2e(0x157)]=_0x43dedb);}get[_0x8ca89f(0x3b9)](){return this['_state'];}async[_0x8ca89f(0x3a4)](){var _0x36199a=_0x8ca89f;if(this[_0x36199a(0x3b9)])throw new Error(_0x36199a(0x306));await this[_0x36199a(0x32e)]();}[_0x8ca89f(0x2d8)](){var _0x1f4096=_0x8ca89f;return this[_0x1f4096(0x442)]=!0x0,_0x57ddb2(()=>{var _0x5413a8=_0x1f4096;this[_0x5413a8(0x442)]=!0x1,this[_0x5413a8(0x2d3)]();});}['onLocalMutation'](_0x1c0114){this['_onLocalMutation'](_0x1c0114);}['_updateState'](_0x55c2a2){var _0x219e4a=_0x8ca89f;this[_0x219e4a(0x1ce)]=_0x55c2a2,this[_0x219e4a(0x1e6)][_0x219e4a(0x1bc)](_0x55c2a2);}async[_0x8ca89f(0x32e)](){var _0x55c6a4=_0x8ca89f,_0x21d058;this[_0x55c6a4(0x205)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x21d058=this[_0x55c6a4(0x181)])==null||_0x21d058[_0x55c6a4(0x161)](this[_0x55c6a4(0x356)]),this[_0x55c6a4(0x2ee)](this[_0x55c6a4(0x181)][_0x55c6a4(0x387)](this['unitID'])['subscribe'](_0x4a131e=>{var _0x15ba53=_0x55c6a4;this[_0x15ba53(0x3cc)][_0x15ba53(0x247)](_0x15ba53(0x42a),_0x15ba53(0x3c6),_0x4a131e),_0x4a131e===Ci['OTHER_CLIENTS_EDITING']?(this[_0x15ba53(0x2be)]['emitEvent']({'id':re[_0x15ba53(0x1e7)]}),this[_0x15ba53(0x1b2)][_0x15ba53(0x29e)](new _0x25b7cf(this[_0x15ba53(0x356)])['id'],!0x1),this[_0x15ba53(0x1b2)][_0x15ba53(0x3b5)](!0x1)):(this['_permissionService'][_0x15ba53(0x29e)](new _0x25b7cf(this[_0x15ba53(0x356)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x452374=!0x1;return this[_0x55c6a4(0x2ee)](this['session'][_0x55c6a4(0x249)][_0x55c6a4(0x34d)](_0x55055f=>{var _0x3114ee=_0x55c6a4;_0x55055f===Ee[_0x3114ee(0x396)]?this[_0x3114ee(0x322)](_0x452374):_0x55055f===Ee['OFFLINE']&&(_0x452374=!0x0,this[_0x3114ee(0x2f9)]());})),this[_0x55c6a4(0x2ee)](this[_0x55c6a4(0x372)]['event$'][_0x55c6a4(0x34d)](_0x48262a=>{var _0x5f48fe=_0x55c6a4;try{switch(_0x48262a[_0x5f48fe(0x212)]){case _0x50cb76[_0x5f48fe(0x3a9)]:{this['_onRemoteChangeset'](_0x55fdce(_0x48262a[_0x5f48fe(0x3b7)]));break;}case _0x50cb76[_0x5f48fe(0x388)]:{this['_onRemoteACK'](_0x48262a[_0x5f48fe(0x3b7)]);break;}case _0x50cb76[_0x5f48fe(0x188)]:{this[_0x5f48fe(0x18c)]();break;}case _0x50cb76[_0x5f48fe(0x1ba)]:{this[_0x5f48fe(0x159)](_0x48262a['data']);break;}case _0x50cb76['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5f48fe(0x3f7)](_0x48262a[_0x5f48fe(0x3b7)][_0x5f48fe(0x35c)][_0x5f48fe(0x16a)](_0x4270d9=>_0x55fdce(_0x4270d9)));break;}case _0x50cb76[_0x5f48fe(0x331)]:{this[_0x5f48fe(0x18c)]({'isPermissionRej':!0x0});break;}case _0x50cb76[_0x5f48fe(0x1d0)]:break;}}catch(_0x2f654e){throw console[_0x5f48fe(0x39e)](_0x5f48fe(0x376),_0x2f654e),_0x2f654e;}})),this[_0x55c6a4(0x1ce)];}['_unlockTransition'](){var _0x561f35=_0x8ca89f;this[_0x561f35(0x253)]=!0x1;}[_0x8ca89f(0x40f)](){var _0x33ccc6=_0x8ca89f;if(this[_0x33ccc6(0x253)])throw new Error(_0x33ccc6(0x435));this['_transitionLocked']=!0x0;}[_0x8ca89f(0x19d)](_0x58fdfa){var _0x4c5038=_0x8ca89f;this[_0x4c5038(0x40f)](),this[_0x4c5038(0x205)](this[_0x4c5038(0x1ce)][_0x4c5038(0x18d)](_0x58fdfa)),this[_0x4c5038(0x2ec)]();}[_0x8ca89f(0x31e)](_0x597472){var _0x257208=_0x8ca89f;if(!(_0x597472[_0x257208(0x384)]<=this[_0x257208(0x368)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x257208(0x442)]){this[_0x257208(0x35b)][_0x257208(0x1c4)](_0x597472);return;}this['_applyRemoteChangeset'](_0x597472);}}[_0x8ca89f(0x2d3)](){var _0x43774a=_0x8ca89f;this[_0x43774a(0x35b)][_0x43774a(0x1ab)](_0x231e87=>this[_0x43774a(0x185)](_0x231e87)),this[_0x43774a(0x35b)]=[];}[_0x8ca89f(0x185)](_0x45ff04){var _0x52ec34=_0x8ca89f;const _0x18fe74=this[_0x52ec34(0x2e5)][_0x52ec34(0x2a0)]['fetchThroughInterceptors'](this[_0x52ec34(0x2e5)][_0x52ec34(0x2a0)]['getInterceptPoints']()[_0x52ec34(0x2a2)])(_0x45ff04['mutations'],null)||_0x45ff04[_0x52ec34(0x2f3)],_0x363583={..._0x45ff04,'mutations':_0x18fe74};this[_0x52ec34(0x40f)](),this['_updateState'](this[_0x52ec34(0x1ce)][_0x52ec34(0x1d9)](_0x363583)),this[_0x52ec34(0x2ec)]();}[_0x8ca89f(0x432)](_0x5ba9e1){var _0x547602=_0x8ca89f;this[_0x547602(0x40f)](),this['_updateState'](this[_0x547602(0x1ce)][_0x547602(0x187)](_0x5ba9e1)),this[_0x547602(0x2ec)]();}['_onRemoteRejected'](_0x4c3a0f){var _0x501c78=_0x8ca89f;this[_0x501c78(0x40f)](),this['_updateState'](this[_0x501c78(0x1ce)][_0x501c78(0x1bb)](_0x4c3a0f)),this['_unlockTransition']();}['_onRemoteRetry'](_0x2f4ca2){var _0x216b98=_0x8ca89f;this[_0x216b98(0x40f)](),this['_updateState'](this['_state'][_0x216b98(0x367)](_0x2f4ca2)),this[_0x216b98(0x2ec)]();}[_0x8ca89f(0x3f7)](_0x1a6584){var _0x206012=_0x8ca89f;if(!(this['_state']instanceof ee))throw new TypeError(_0x206012(0x43f));const _0x23f17f=_0x1a6584[_0x206012(0x16a)](_0x15c668=>{var _0x3c1875=_0x206012;const _0x1dcaf2=this[_0x3c1875(0x2e5)][_0x3c1875(0x2a0)][_0x3c1875(0x194)](this[_0x3c1875(0x2e5)][_0x3c1875(0x2a0)][_0x3c1875(0x2d6)]()[_0x3c1875(0x2a2)])(_0x15c668[_0x3c1875(0x2f3)],null)||_0x15c668[_0x3c1875(0x2f3)];return{..._0x15c668,'mutations':_0x1dcaf2};});this[_0x206012(0x40f)](),this['_updateState'](this[_0x206012(0x1ce)]['onMissedChangesetFetched'](_0x23f17f)),this['_unlockTransition']();}['_toggleOffline'](){var _0x120ff6=_0x8ca89f;this[_0x120ff6(0x40f)](),this[_0x120ff6(0x205)](this[_0x120ff6(0x1ce)][_0x120ff6(0x3c8)]()),this[_0x120ff6(0x2ec)]();}[_0x8ca89f(0x322)](_0xb7b90d=!0x1){var _0x1646cf=_0x8ca89f;this[_0x1646cf(0x40f)](),this[_0x1646cf(0x205)](this[_0x1646cf(0x1ce)]['toggleOnline']()),this['_unlockTransition']();const _0x4af9d9=this['_state'];_0xb7b90d&&_0x4af9d9 instanceof Ne&&(this['_lockTransition'](),this[_0x1646cf(0x205)](_0x4af9d9[_0x1646cf(0x3de)]()),this[_0x1646cf(0x2ec)]());}async[_0x8ca89f(0x2f5)](){return new Promise(_0x5c99f6=>{var _0x4ea940=_0x5c85;this[_0x4ea940(0x372)][_0x4ea940(0x249)]['pipe'](_0x206b4a(0x1))[_0x4ea940(0x34d)](async _0x4bdc69=>{var _0x548305=_0x4ea940;_0x5c99f6(await this['_createInitialStateImpl'](_0x4bdc69===Ee[_0x548305(0x396)]));});});}['_createHandler'](){var _0x3c99fb=_0x8ca89f;const _0x331b83=this[_0x3c99fb(0x356)];return{'onStateChange':(_0x447a7f,_0x208b12)=>{var _0x22340a=_0x3c99fb;if(_0x447a7f!==this[_0x22340a(0x1ce)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x447a7f[_0x22340a(0x34a)]+'\x0aAfter:\x20'+_0x208b12['status']+_0x22340a(0x401)+this[_0x22340a(0x1ce)][_0x22340a(0x34a)]);this['_updateState'](_0x208b12);},'onSendChangeset':_0xb8893c=>{var _0x57fc37=_0x3c99fb;_0xb8893c[_0x57fc37(0x3d0)]||(_0xb8893c[_0x57fc37(0x3d0)]=this[_0x57fc37(0x14d)],_0xb8893c['reqId']=++this['_changesetReqId']);const _0x328bec={'eventID':_0x50cb76[_0x57fc37(0x148)],'data':{'unitID':_0xb8893c[_0x57fc37(0x356)],'unitType':this[_0x57fc37(0x402)],'changeset':_0xb8893c,'memberID':this[_0x57fc37(0x372)][_0x57fc37(0x2e8)]()}};this[_0x57fc37(0x372)][_0x57fc37(0x1af)](_0x328bec,this[_0x57fc37(0x356)]);},'onMissingChangesets':({from:_0xc042b1,to:_0x13a87e})=>{var _0x3de10f=_0x3c99fb;this['_logService'][_0x3de10f(0x247)](_0x3de10f(0x42a),_0x3de10f(0x316)+_0xc042b1+_0x3de10f(0x195)+_0x13a87e);const _0x58d917={'eventID':_0x50cb76['FETCH_MISSING'],'data':{'unitID':_0x331b83,'unitType':this[_0x3de10f(0x402)],'from':_0xc042b1,'to':_0x13a87e}};this[_0x3de10f(0x372)][_0x3de10f(0x1af)](_0x58d917,this[_0x3de10f(0x356)]);}};}async['_createInitialStateImpl'](_0x5c7ab9){var _0x16a348=_0x8ca89f,_0x5c4a9d,_0x827ca6,_0x2bf9b1;const _0x11ab17=await((_0x5c4a9d=this[_0x16a348(0x157)])==null?void 0x0:_0x5c4a9d[_0x16a348(0x2f6)](this[_0x16a348(0x356)])),_0x4a9cf2=(_0x827ca6=_0x11ab17==null?void 0x0:_0x11ab17[_0x16a348(0x2f3)])!=null?_0x827ca6:[],_0x452a5b=(_0x2bf9b1=_0x11ab17==null?void 0x0:_0x11ab17[_0x16a348(0x1c6)])!=null?_0x2bf9b1:null,_0x3a630e=!!(_0x452a5b!=null&&_0x452a5b['sid'])&&!!(_0x452a5b!=null&&_0x452a5b[_0x16a348(0x2e1)]);this[_0x16a348(0x14d)]=_0x3a630e?_0x452a5b[_0x16a348(0x3d0)]:Zn(),this['_changesetReqId']=_0x3a630e?_0x452a5b[_0x16a348(0x2e1)]:0x0;const _0x14f381=this['unitID'];try{this[_0x16a348(0x20c)](_0x452a5b,_0x4a9cf2);}catch(_0x31a455){this[_0x16a348(0x3cc)]['error'](_0x31a455);}const _0x55d8db=this[_0x16a348(0x32d)]();if(_0x5c7ab9){const _0x57af1a=yi(this[_0x16a348(0x2f0)],_0x14f381,this[_0x16a348(0x402)],_0x452a5b,_0x4a9cf2,_0x55d8db);return _0x57af1a instanceof ae?_0x57af1a[_0x16a348(0x1d1)]():(_0x57af1a instanceof oe||_0x57af1a instanceof le)&&_0x57af1a[_0x16a348(0x16e)](),_0x57af1a;}return this[_0x16a348(0x2f0)][_0x16a348(0x350)](de,_0x14f381,this[_0x16a348(0x402)],_0x452a5b,_0x4a9cf2,_0x55d8db);}[_0x8ca89f(0x20c)](_0x45baf6,_0x3267df){var _0x40747e=_0x8ca89f,_0x301283,_0x1d8ce0;const _0x11eb00=this[_0x40747e(0x2e5)][_0x40747e(0x2a0)][_0x40747e(0x194)](this['_compressMutationService'][_0x40747e(0x2a0)][_0x40747e(0x2d6)]()[_0x40747e(0x2a2)]);(_0x301283=_0x11eb00((_0x45baf6==null?void 0x0:_0x45baf6[_0x40747e(0x2f3)])||[],null))==null||_0x301283['forEach'](_0x417c51=>this['_commandService']['executeCommand'](_0x417c51['id'],_0x417c51[_0x40747e(0x3ed)])),(_0x1d8ce0=_0x11eb00(_0x3267df||[],null))==null||_0x1d8ce0[_0x40747e(0x1ab)](_0x3fb972=>this[_0x40747e(0x1b6)]['executeCommand'](_0x3fb972['id'],_0x3fb972[_0x40747e(0x3ed)]));}};nt=Lt([H(0x3,_0x40b328(_0x481071)),H(0x4,_0x40b328(_0x52ac6c)),H(0x5,_0x40b328(_0x1163c2)),H(0x6,_0x40b328(_0x236155)),H(0x7,_0x40b328(pe)),H(0x8,_0x5dea26),H(0x9,_0x3757e0),H(0xa,_0x14ac23),H(0xb,_0x2f6ba1(ht)),H(0xc,_0x2f6ba1(J))],nt);let It=class extends nt{constructor(_0x55b5b1,_0xaa0a1e,_0x488d1c,_0x3353ea,_0x50c692,_0x50ce8f,_0x59fbbc,_0x2623ce,_0x52aab8,_0x141690,_0x35d5c1,_0x445fcb,_0x3b860c){var _0x1584a2=_0x8ca89f;super(_0x55b5b1,_0x488d1c,_0xaa0a1e,_0x3353ea,_0x50c692,_0x50ce8f,_0x59fbbc,_0x2623ce,_0x52aab8,_0x141690,_0x35d5c1,_0x445fcb,_0x3b860c),N(this,_0x1584a2(0x41e),null),(this[_0x1584a2(0x356)]=_0x55b5b1,this[_0x1584a2(0x15b)]=_0xaa0a1e);}[_0x8ca89f(0x40c)](_0x5ec0d0){var _0x3f5bc4=_0x8ca89f;this[_0x3f5bc4(0x41e)]=_0x5ec0d0;}['dispose'](){var _0x1b2dab=_0x8ca89f;this[_0x1b2dab(0x41e)]=null,super[_0x1b2dab(0x25c)]();}[_0x8ca89f(0x32d)](){var _0x3d0b60=_0x8ca89f;const _0x38d4b9=super[_0x3d0b60(0x32d)]();return _0x38d4b9[_0x3d0b60(0x17b)]=_0x144c97=>{var _0xa74d22=_0x3d0b60,_0x11e1cf,_0x3c6c09;return(_0x3c6c09=(_0x11e1cf=this[_0xa74d22(0x41e)])==null?void 0x0:_0x11e1cf[_0xa74d22(0x17b)])==null?void 0x0:_0x3c6c09['call'](_0x11e1cf,_0x144c97);},_0x38d4b9[_0x3d0b60(0x334)]=_0x2cdcd8=>{var _0x301fd6=_0x3d0b60,_0x506298,_0x435360;return(_0x435360=(_0x506298=this[_0x301fd6(0x41e)])==null?void 0x0:_0x506298[_0x301fd6(0x334)])==null?void 0x0:_0x435360[_0x301fd6(0x383)](_0x506298,_0x2cdcd8);},_0x38d4b9[_0x3d0b60(0x32f)]=_0x2f5c34=>{var _0x36837c=_0x3d0b60,_0x309710,_0x5573a4;return(_0x5573a4=(_0x309710=this[_0x36837c(0x41e)])==null?void 0x0:_0x309710[_0x36837c(0x32f)])==null?void 0x0:_0x5573a4[_0x36837c(0x383)](_0x309710,_0x2f5c34);},_0x38d4b9[_0x3d0b60(0x174)]=_0x25746b=>{var _0x173de1=_0x3d0b60,_0x490537,_0x23e727;return(_0x23e727=(_0x490537=this[_0x173de1(0x41e)])==null?void 0x0:_0x490537['onSyncEditingCollabCursor'])==null?void 0x0:_0x23e727['call'](_0x490537,_0x25746b);},_0x38d4b9[_0x3d0b60(0x27f)]=_0x5aab0e=>{var _0x2592a1=_0x3d0b60,_0x46237a,_0x467a8a,_0xe6e9c;if(!((_0x46237a=this[_0x2592a1(0x41e)])!=null&&_0x46237a[_0x2592a1(0x27f)]))throw new Error(_0x2592a1(0x220));return(_0xe6e9c=(_0x467a8a=this[_0x2592a1(0x41e)])==null?void 0x0:_0x467a8a['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xe6e9c['call'](_0x467a8a,_0x5aab0e);},_0x38d4b9[_0x3d0b60(0x417)]=_0x57b21a=>{var _0x3dc5f5=_0x3d0b60,_0x1bfb04,_0x516cad,_0x466674;if(!((_0x1bfb04=this[_0x3dc5f5(0x41e)])!=null&&_0x1bfb04[_0x3dc5f5(0x417)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x466674=(_0x516cad=this['_handlerCallback'])==null?void 0x0:_0x516cad[_0x3dc5f5(0x417)])==null?void 0x0:_0x466674['call'](_0x516cad,_0x57b21a);},_0x38d4b9;}async[_0x8ca89f(0x32e)](){var _0x526283=_0x8ca89f;const _0x562328=await super[_0x526283(0x32e)]();return this[_0x526283(0x2ee)](this[_0x526283(0x1b6)]['onCommandExecuted']((_0x339463,_0x42f92e)=>{var _0x4143be=_0x526283;if(_0x339463[_0x4143be(0x15b)]!==_0x470f3a['MUTATION']||_0x42f92e!=null&&_0x42f92e[_0x4143be(0x3aa)]||_0x42f92e!=null&&_0x42f92e[_0x4143be(0x363)]||_0x339463['id']===_0x3af4e6['id'])return;const _0x31e3a6=_0x339463['params'];if((_0x31e3a6==null?void 0x0:_0x31e3a6[_0x4143be(0x1ca)])!==this[_0x4143be(0x356)])return;const _0xce0343=_0x339463,_0x35fa63=this[_0x4143be(0x2e5)][_0x4143be(0x2a0)][_0x4143be(0x194)](this[_0x4143be(0x2e5)][_0x4143be(0x2a0)]['getInterceptPoints']()[_0x4143be(0x15a)])([_0xce0343],null)||[_0xce0343];this[_0x4143be(0x19d)](_0x35fa63[0x0]);})),_0x562328;}};It=Lt([H(0x3,_0x40b328(_0x481071)),H(0x4,_0x40b328(_0x52ac6c)),H(0x5,_0x40b328(_0x1163c2)),H(0x6,_0x40b328(_0x236155)),H(0x7,_0x40b328(pe)),H(0x8,_0x5dea26),H(0x9,_0x3757e0),H(0xa,_0x14ac23),H(0xb,_0x2f6ba1(ht)),H(0xc,_0x2f6ba1(J))],It);let Tt=class extends nt{constructor(_0x843dfc,_0x2787ba,_0x2373cb,_0x39950b,_0x164d1c,_0x201bbe,_0x1d7ffb,_0x2b812b,_0x4b6808,_0x109d7a,_0x378ff6,_0x4dcb3d,_0x407f45,_0xe72e95){var _0x5e2c19=_0x8ca89f;super(_0x843dfc,_0x2373cb,_0x2787ba,_0x39950b,_0x164d1c,_0x201bbe,_0x1d7ffb,_0x4b6808,_0x109d7a,_0x378ff6,_0x4dcb3d,_0x407f45,_0xe72e95),this[_0x5e2c19(0x356)]=_0x843dfc,this['type']=_0x2787ba,this[_0x5e2c19(0x2d7)]=_0x2b812b;}[_0x8ca89f(0x32d)](){var _0x175a23=_0x8ca89f;const _0x457c88=super[_0x175a23(0x32d)]();return _0x457c88[_0x175a23(0x32f)]=_0x329b9d=>this[_0x175a23(0x2d7)][_0x175a23(0x43d)](_0x329b9d),_0x457c88;}async[_0x8ca89f(0x32e)](){var _0x24a2a=_0x8ca89f;const _0x4f5801=await super['_init']();return this[_0x24a2a(0x2ee)](this[_0x24a2a(0x1b6)][_0x24a2a(0x319)]((_0x56fb30,_0xc31da2)=>{var _0x2a093c=_0x24a2a;if(_0x56fb30[_0x2a093c(0x15b)]!==_0x470f3a[_0x2a093c(0x42f)]||_0xc31da2!=null&&_0xc31da2[_0x2a093c(0x3aa)]||_0xc31da2!=null&&_0xc31da2['onlyLocal'])return;const _0x294e18=_0x56fb30[_0x2a093c(0x3ed)];if((_0x294e18==null?void 0x0:_0x294e18['unitId'])!==this[_0x2a093c(0x356)])return;const _0x1d67a8=_0x56fb30,_0x3de402=this[_0x2a093c(0x2e5)][_0x2a093c(0x2a0)][_0x2a093c(0x194)](this[_0x2a093c(0x2e5)][_0x2a093c(0x2a0)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x1d67a8],null)||[_0x1d67a8];this[_0x2a093c(0x19d)](_0x3de402[0x0]);})),_0x4f5801;}};Tt=Lt([H(0x3,_0x40b328(_0x481071)),H(0x4,_0x40b328(_0x52ac6c)),H(0x5,_0x40b328(_0x1163c2)),H(0x6,_0x40b328(_0x236155)),H(0x7,_0x40b328(it)),H(0x8,_0x40b328(pe)),H(0x9,_0x5dea26),H(0xa,_0x3757e0),H(0xb,_0x14ac23),H(0xc,_0x2f6ba1(ht)),H(0xd,_0x2f6ba1(J))],Tt);function _0x5c85(_0x3ad303,_0x552cbe){var _0x5265ca=_0x5265();return _0x5c85=function(_0x5c856b,_0x2c4c5e){_0x5c856b=_0x5c856b-0x136;var _0x59f11c=_0x5265ca[_0x5c856b];return _0x59f11c;},_0x5c85(_0x3ad303,_0x552cbe);}var os=Object['getOwnPropertyDescriptor'],cs=(_0x55e468,_0x4243a6,_0x4fdcb8,_0x52d28c)=>{var _0x5bf4e1=_0x8ca89f;for(var _0x238598=_0x52d28c>0x1?void 0x0:_0x52d28c?os(_0x4243a6,_0x4fdcb8):_0x4243a6,_0x50232=_0x55e468[_0x5bf4e1(0x2a4)]-0x1,_0x193c7b;_0x50232>=0x0;_0x50232--)(_0x193c7b=_0x55e468[_0x50232])&&(_0x238598=_0x193c7b(_0x238598)||_0x238598);return _0x238598;},ft=(_0x12a4fb,_0x49889b)=>(_0x40014d,_0x4bd35b)=>_0x49889b(_0x40014d,_0x4bd35b,_0x12a4fb);let st=class extends _0x4aa20b{constructor(_0x825f23,_0x463039,_0x424f11){var _0x1d9f2d=_0x8ca89f;super(),N(this,_0x1d9f2d(0x262),new Map()),N(this,_0x1d9f2d(0x14b),new _0x25c28c()),N(this,_0x1d9f2d(0x240),this['_entityInit$'][_0x1d9f2d(0x433)]()),(this[_0x1d9f2d(0x2f0)]=_0x825f23,this['_collabSessionService']=_0x463039,this[_0x1d9f2d(0x1b1)]=_0x424f11,this[_0x1d9f2d(0x32e)]());}[_0x8ca89f(0x25c)](){var _0x3385ee=_0x8ca89f;super[_0x3385ee(0x25c)](),this['_entities'][_0x3385ee(0x1ab)](_0x3b5010=>_0x3b5010[_0x3385ee(0x25c)]()),this['_entities']['clear']();}[_0x8ca89f(0x2b5)](_0x21c10a){var _0x1f1d42=_0x8ca89f,_0x19c9a4;return(_0x19c9a4=this[_0x1f1d42(0x262)][_0x1f1d42(0x2c6)](_0x21c10a))!=null?_0x19c9a4:null;}[_0x8ca89f(0x1b9)](_0x3530fa){var _0x582fc2=_0x8ca89f;const _0x2b9337=this['getCollabEntity'](_0x3530fa);return _0x2b9337?_0x57e6b5(_0x2b9337):this[_0x582fc2(0x14b)]['pipe'](_0x397cd2(_0x5326a3=>_0x5326a3[_0x582fc2(0x356)]===_0x3530fa));}[_0x8ca89f(0x2cc)](_0xf2f2a5){var _0xfce7ec=_0x8ca89f;return _0x5cc993(this[_0xfce7ec(0x1b9)](_0xf2f2a5)[_0xfce7ec(0x3bc)](_0x352190(()=>{})));}[_0x8ca89f(0x32e)](){var _0x5bcef5=_0x8ca89f;this[_0x5bcef5(0x1b1)][_0x5bcef5(0x2f4)](_0x160b1f[_0x5bcef5(0x200)])['pipe'](_0x4da7d2(this[_0x5bcef5(0x427)]),_0x8a20bf(0x10))[_0x5bcef5(0x34d)](async _0x37cc41=>{var _0x371d0e=_0x5bcef5;const _0x45e177=_0x37cc41[_0x371d0e(0x43c)](),_0x471694=await this['_startCollaboration'](_0x45e177,Q[_0x371d0e(0x200)]);this['_entities']['set'](_0x45e177,_0x471694);}),this[_0x5bcef5(0x1b1)][_0x5bcef5(0x2f4)](_0x160b1f[_0x5bcef5(0x2c2)])[_0x5bcef5(0x3bc)](_0x4da7d2(this[_0x5bcef5(0x427)]),_0x8a20bf(0x10))['pipe'](_0x397cd2(_0x158aec=>!_0x158aec[_0x5bcef5(0x43c)]()[_0x5bcef5(0x255)]('__')))[_0x5bcef5(0x34d)](async _0x12b7ea=>{var _0x1f0a28=_0x5bcef5;const _0x4b77f6=_0x12b7ea[_0x1f0a28(0x43c)](),_0x4d353f=await this['_startCollaboration'](_0x4b77f6,Q[_0x1f0a28(0x2c2)]);this['_entities'][_0x1f0a28(0x165)](_0x4b77f6,_0x4d353f);}),_0x42434b(this[_0x5bcef5(0x1b1)][_0x5bcef5(0x370)](_0x160b1f[_0x5bcef5(0x200)]),this[_0x5bcef5(0x1b1)][_0x5bcef5(0x370)](_0x160b1f[_0x5bcef5(0x2c2)]))[_0x5bcef5(0x3bc)](_0x4da7d2(this['dispose$']))[_0x5bcef5(0x34d)](_0x410459=>{var _0x3c7335=_0x5bcef5;const _0x1a6349=_0x410459[_0x3c7335(0x43c)](),_0x16d280=this[_0x3c7335(0x262)]['get'](_0x1a6349);_0x16d280&&(_0x16d280[_0x3c7335(0x25c)](),this[_0x3c7335(0x262)][_0x3c7335(0x329)](_0x1a6349));});}async['_startCollaboration'](_0x45a1b3,_0x5b0f53){var _0x3d2434=_0x8ca89f;const _0x5d9193=await this[_0x3d2434(0x30d)][_0x3d2434(0x197)](_0x45a1b3),_0x5e5a63=this[_0x3d2434(0x2f0)]['createInstance'](this['_getCtorByUniverType'](_0x5b0f53),_0x45a1b3,_0x5b0f53,_0x5d9193);return await _0x5e5a63[_0x3d2434(0x3a4)](),this['_entityInit$'][_0x3d2434(0x1bc)](_0x5e5a63),_0x5e5a63;}[_0x8ca89f(0x147)](_0x3cd269){var _0x1e180e=_0x8ca89f;switch(_0x3cd269){case Q['UNIVER_DOC']:return It;case Q[_0x1e180e(0x200)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3cd269);}}};st=cs([ft(0x0,_0x40b328(_0x481071)),ft(0x1,_0x40b328(xe)),ft(0x2,_0x21e2dc)],st);var hs=Object[_0x8ca89f(0x297)],_s=(_0x3ddf07,_0x59cc75,_0x119aaf,_0x24355c)=>{for(var _0xa0832c=_0x24355c>0x1?void 0x0:_0x24355c?hs(_0x59cc75,_0x119aaf):_0x59cc75,_0x2d1819=_0x3ddf07['length']-0x1,_0x1a8080;_0x2d1819>=0x0;_0x2d1819--)(_0x1a8080=_0x3ddf07[_0x2d1819])&&(_0xa0832c=_0x1a8080(_0xa0832c)||_0xa0832c);return _0xa0832c;},zt=(_0x28e826,_0x3b3d7a)=>(_0x594dc3,_0x3c8f3d)=>_0x3b3d7a(_0x594dc3,_0x3c8f3d,_0x28e826);const ls='DEFAULT_FILE_NAME',us='Univer';let Ct=class extends _0x1bcadd{constructor(_0x3c0597,_0x15de4){var _0x5b80de=_0x8ca89f;super(),this['_univerInstanceService']=_0x3c0597,this[_0x5b80de(0x27b)]=_0x15de4,this[_0x5b80de(0x32e)]();}[_0x8ca89f(0x32e)](){var _0x354e5b=_0x8ca89f;this[_0x354e5b(0x2ee)](this[_0x354e5b(0x1b1)][_0x354e5b(0x2ab)][_0x354e5b(0x34d)](()=>{var _0xb1f15a=_0x354e5b,_0x24c786;const _0x4c73fd=this['_univerInstanceService'][_0xb1f15a(0x21e)]();let _0x194165=(_0x24c786=this[_0xb1f15a(0x27b)][_0xb1f15a(0x327)](ls))!=null?_0x24c786:us;_0x4c73fd instanceof _0x44be6f&&(_0x194165=_0x4c73fd[_0xb1f15a(0x1ec)]),document[_0xb1f15a(0x1cf)]=_0x194165;}));}};Ct=_s([zt(0x0,_0x21e2dc),zt(0x1,_0x4a241c)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x1b48c1,_0x32666d,_0x296f5e,_0x23223a)=>{for(var _0x34044e=_0x23223a>0x1?void 0x0:_0x23223a?ds(_0x32666d,_0x296f5e):_0x32666d,_0xa2d3ab=_0x1b48c1['length']-0x1,_0x4c7d2f;_0xa2d3ab>=0x0;_0xa2d3ab--)(_0x4c7d2f=_0x1b48c1[_0xa2d3ab])&&(_0x34044e=_0x4c7d2f(_0x34044e)||_0x34044e);return _0x34044e;},vt=(_0x414425,_0x5c77e8)=>(_0x4f56bd,_0x3754c0)=>_0x5c77e8(_0x4f56bd,_0x3754c0,_0x414425);let rt=class{constructor(_0x514d49,_0x1ff409,_0x4aade8){var _0x115879=_0x8ca89f;this[_0x115879(0x27b)]=_0x514d49,this[_0x115879(0x281)]=_0x1ff409,this[_0x115879(0x288)]=_0x4aade8,this[_0x115879(0x3a4)]();}['init'](){var _0x207abd=_0x8ca89f;this[_0x207abd(0x281)][_0x207abd(0x3bb)]({'priority':0x1,'interceptor':(_0x5be0a9,_0x1513b9)=>_0x1513b9(_0x5be0a9)['pipe'](_0x229df6(async _0x6ec0b9=>{var _0x362cf4=_0x207abd;const _0x19f88b=_0x6ec0b9;if(_0x19f88b[_0x362cf4(0x34a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x362cf4(0x184)](this[_0x362cf4(0x288)]['t'](_0x362cf4(0x2c0)))){const _0x40490e=window[_0x362cf4(0x2a5)](window[_0x362cf4(0x192)]['href']);window[_0x362cf4(0x192)][_0x362cf4(0x285)]=this['_getLoginPath']()+_0x362cf4(0x415)+_0x40490e;}}return _0x19f88b;}))});}[_0x8ca89f(0x408)](){var _0x20c675=_0x8ca89f,_0x451966,_0x1f9dff;const _0x232f5d=this[_0x20c675(0x27b)]['getConfig'](Un),_0x3148b0=this[_0x20c675(0x27b)][_0x20c675(0x327)](q);return(_0x1f9dff=(_0x451966=_0x3148b0==null?void 0x0:_0x3148b0[_0x20c675(0x405)])!=null?_0x451966:_0x232f5d)!=null?_0x1f9dff:An;}};rt=fs([vt(0x0,_0x4a241c),vt(0x1,_0x40b328(_0x2bff6f)),vt(0x2,_0x40b328(_0x1163c2))],rt);var vs=Object[_0x8ca89f(0x297)],ps=(_0xf8e2e2,_0x283895,_0x36dca0,_0x389781)=>{var _0x402250=_0x8ca89f;for(var _0x2ab077=_0x389781>0x1?void 0x0:_0x389781?vs(_0x283895,_0x36dca0):_0x283895,_0x36e00f=_0xf8e2e2[_0x402250(0x2a4)]-0x1,_0x1a8290;_0x36e00f>=0x0;_0x36e00f--)(_0x1a8290=_0xf8e2e2[_0x36e00f])&&(_0x2ab077=_0x1a8290(_0x2ab077)||_0x2ab077);return _0x2ab077;},Jt=(_0x118603,_0x448ea1)=>(_0x40fd2e,_0x58093a)=>_0x448ea1(_0x40fd2e,_0x58093a,_0x118603);const Ni=_0x8ca89f(0x15d),ms=_0x8ca89f(0x1c9);let Rt=class extends _0x1bcadd{constructor(_0x1aaa23,_0x3a92d3){var _0x52ea9b=_0x8ca89f;super(),this[_0x52ea9b(0x143)]=_0x1aaa23,this[_0x52ea9b(0x27b)]=_0x3a92d3,this[_0x52ea9b(0x41a)]();}[_0x8ca89f(0x41a)](){var _0x144336=_0x8ca89f;const _0x5e3ff1=this;this[_0x144336(0x2ee)](this[_0x144336(0x143)][_0x144336(0x3bb)]({'priority':0x3e7,'interceptor':_0xe19e57({'isMatch'(_0x1df06e){var _0x23976=_0x144336,_0x24349e;if(_0x1df06e[_0x23976(0x1b4)]==='POST'&&((_0x24349e=_0x1df06e[_0x23976(0x31a)])!=null&&_0x24349e[_0x23976(0x1ae)])){const {objectID:_0x2a59f2,objectType:_0x46c65f}=_0x1df06e['requestParams'][_0x23976(0x1ae)]||{};if(!_0x2a59f2||_0x46c65f===void 0x0)return!0x1;const _0x3cb959=_0x5e3ff1['_getAPIPrefixPath']()+'/'+_0x46c65f+'/object/'+_0x2a59f2+_0x23976(0x242);if(_0x1df06e[_0x23976(0x21b)]===_0x3cb959)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x241529){var _0x14571c=_0x144336,_0x5dac0f;return(_0x5dac0f=_0x241529['requestParams'])==null?void 0x0:_0x5dac0f[_0x14571c(0x1ae)];},'mergeParamsToRequest'(_0x535e38,_0x326bb6){var _0x22a15c=_0x144336;const _0x35b15c=_0x5e3ff1['_getAPIPrefixPath']()+_0x22a15c(0x28c),_0x5945d1=_0x535e38[_0x22a15c(0x3e1)]((_0x4bd273,_0x15c01d)=>{var _0x2d9132=_0x22a15c;const {unitID:_0x2825be,objectID:_0x2a2656,objectType:_0x1a4443,actions:_0x29d07b}=_0x15c01d;return _0x4bd273[_0x2825be]||(_0x4bd273[_0x2825be]={}),_0x4bd273[_0x2825be][_0x2a2656]||(_0x4bd273[_0x2825be][_0x2a2656]={'objectID':_0x2a2656,'objectType':_0x1a4443,'actions':[]}),_0x4bd273[_0x2825be][_0x2a2656][_0x2d9132(0x158)][_0x2d9132(0x1c4)](..._0x29d07b),_0x4bd273;},{}),_0x1835e4=[];for(const _0x31959c in _0x5945d1)for(const _0x4c49c0 in _0x5945d1[_0x31959c]){const {actions:_0x56492e,objectType:_0x3d9fbb}=_0x5945d1[_0x31959c][_0x4c49c0],_0x18e7ba=[...new Set(_0x56492e)];_0x1835e4['push']({'unitID':_0x31959c,'objectID':_0x4c49c0,'objectType':_0x3d9fbb,'actions':_0x18e7ba});}return new _0x219170('POST',_0x35b15c,{'headers':_0x326bb6[_0x22a15c(0x374)],'withCredentials':_0x326bb6['withCredentials'],'responseType':_0x326bb6[_0x22a15c(0x377)],'body':{'requests':_0x1835e4}});}},{'distributeResult'(_0x2221c4,_0x294793){var _0xc7be54=_0x144336;const {objectActions:_0x3caf15}=_0x2221c4;return _0x294793[_0xc7be54(0x16a)](_0x36d09d=>{var _0x4ffd31=_0xc7be54;const {unitID:_0x6de98d,objectID:_0x4388bb,actions:_0x2eca34}=_0x36d09d,_0x23471f=_0x3caf15[_0x4ffd31(0x3e9)](_0x2dd0de=>_0x2dd0de[_0x4ffd31(0x356)]===_0x6de98d&&_0x2dd0de[_0x4ffd31(0x1fb)]===_0x4388bb),_0x73a2c=_0x2eca34[_0x4ffd31(0x16a)](_0x2f0f9b=>_0x23471f==null?void 0x0:_0x23471f[_0x4ffd31(0x158)]['find'](_0xcc72c4=>_0xcc72c4[_0x4ffd31(0x279)]===_0x2f0f9b))[_0x4ffd31(0x338)](_0x5e16b8=>!!_0x5e16b8);return{'config':_0x36d09d,'result':{'actions':_0x73a2c,'error':_0x2221c4[_0x4ffd31(0x39e)]}};});}})}));}[_0x8ca89f(0x1c7)](){var _0xf53188=_0x8ca89f,_0x1881ff,_0x3d5c50;const _0x2aafa0=this[_0xf53188(0x27b)][_0xf53188(0x327)](Ni),_0x15c99b=this[_0xf53188(0x27b)]['getConfig'](q);return(_0x3d5c50=(_0x1881ff=_0x15c99b==null?void 0x0:_0x15c99b[_0xf53188(0x16f)])!=null?_0x1881ff:_0x2aafa0)!=null?_0x3d5c50:ms;}async[_0x8ca89f(0x2ba)](_0x614bc7){var _0x262602=_0x8ca89f;const _0x3e61d0=this[_0x262602(0x1c7)]()+'/'+_0x614bc7[_0x262602(0x2ed)]+'/object';return(await this['_HTTPService']['post'](_0x3e61d0,{'body':_0x614bc7}))['body']['objectID']||'';}async[_0x8ca89f(0x1d5)](_0x492b65){var _0x545b93=_0x8ca89f;const _0x2cf75f=this[_0x545b93(0x1c7)]()+_0x545b93(0x37a);return(await this[_0x545b93(0x143)][_0x545b93(0x213)](_0x2cf75f,{'body':_0x492b65}))[_0x545b93(0x1ae)]['objects'];}async[_0x8ca89f(0x1d6)](_0x4c6e41){var _0x4f3edb=_0x8ca89f,_0x42f377,_0x2bd841;const _0x1b990e=this[_0x4f3edb(0x1c7)]()+'/'+_0x4c6e41[_0x4f3edb(0x2ed)]+_0x4f3edb(0x2cb)+_0x4c6e41[_0x4f3edb(0x1fb)],_0x47fc79=await this[_0x4f3edb(0x143)]['put'](_0x1b990e,{'body':_0x4c6e41});if(((_0x2bd841=(_0x42f377=_0x47fc79==null?void 0x0:_0x47fc79[_0x4f3edb(0x1ae)])==null?void 0x0:_0x42f377['error'])==null?void 0x0:_0x2bd841[_0x4f3edb(0x180)])!==0x1)throw new Error(_0x4f3edb(0x1a5));}async[_0x8ca89f(0x309)](_0x35f9d6){var _0x23637e=_0x8ca89f;const _0x4db0f2=this[_0x23637e(0x1c7)]()+'/'+_0x35f9d6['objectType']+_0x23637e(0x2cb)+_0x35f9d6[_0x23637e(0x1fb)]+'/allowed';return(await this['_HTTPService']['post'](_0x4db0f2,{'body':_0x35f9d6}))[_0x23637e(0x1ae)]['actions'];}async['batchAllowed'](_0x4734c2){var _0x2460bd=_0x8ca89f;const _0x3d6eaa=this['_getAPIPrefixPath']()+_0x2460bd(0x28c);return(await this[_0x2460bd(0x143)]['post'](_0x3d6eaa,{'body':{'requests':_0x4734c2}}))['body'][_0x2460bd(0x1f6)];}async[_0x8ca89f(0x3b6)](_0xebfd50){var _0x28a929=_0x8ca89f;const _0x2af8cc=this['_getAPIPrefixPath']()+'/'+_0xebfd50[_0x28a929(0x2ed)]+_0x28a929(0x42b),_0x64690a=await this['_HTTPService'][_0x28a929(0x213)](_0x2af8cc,{'body':_0xebfd50});return{'roles':_0x64690a[_0x28a929(0x1ae)][_0x28a929(0x25e)],'actions':_0x64690a[_0x28a929(0x1ae)]['actions']};}async['deleteCollaborator'](_0x209b5c){var _0x25ee10=_0x8ca89f;const _0x1fdfdb=this[_0x25ee10(0x1c7)]()+_0x25ee10(0x291);await this[_0x25ee10(0x143)][_0x25ee10(0x329)](_0x1fdfdb,{'params':{'collaboratorID':_0x209b5c[_0x25ee10(0x178)],'objectID':_0x209b5c[_0x25ee10(0x1fb)],'unitID':_0x209b5c[_0x25ee10(0x356)]}});}async['updateCollaborator'](_0x520fee){var _0x175216=_0x8ca89f;const _0x37bb8a=this[_0x175216(0x1c7)]()+_0x175216(0x291);await this['_HTTPService']['patch'](_0x37bb8a,{'body':_0x520fee});}async[_0x8ca89f(0x2fa)](_0x5aa55e){var _0x311491=_0x8ca89f;const _0x21ceb2=this[_0x311491(0x1c7)]()+_0x311491(0x291);await this['_HTTPService']['post'](_0x21ceb2,{'body':_0x5aa55e});}async[_0x8ca89f(0x1ed)](_0xa1c7f9){var _0x2c929d=_0x8ca89f;const _0x1f39da=this[_0x2c929d(0x1c7)]()+_0x2c929d(0x291);return(await this[_0x2c929d(0x143)][_0x2c929d(0x2c6)](_0x1f39da,{'params':{'objectID':_0xa1c7f9[_0x2c929d(0x1fb)],'unitID':_0xa1c7f9[_0x2c929d(0x356)]}}))[_0x2c929d(0x1ae)]['collaborators'];}async[_0x8ca89f(0x386)](_0x364d01){var _0x294515=_0x8ca89f;const _0x43f603=this[_0x294515(0x1c7)]()+'/collaborator';await this['_HTTPService'][_0x294515(0x19f)](_0x43f603,{'body':_0x364d01});}};Rt=ps([Jt(0x0,_0x40b328(_0x2bff6f)),Jt(0x1,_0x40b328(_0x4a241c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x5d3054){var _0x448d89=_0x8ca89f;return _0x5d3054&&_0x5d3054[_0x448d89(0x296)]&&Object['prototype'][_0x448d89(0x1a6)][_0x448d89(0x383)](_0x5d3054,'default')?_0x5d3054[_0x448d89(0x301)]:_0x5d3054;}var Ve={'exports':{}};function gs(_0x309700){var _0x14fb5d=_0x8ca89f;throw new Error(_0x14fb5d(0x3e3)+_0x309700+_0x14fb5d(0x34c));}var Ge={'exports':{}},Ss=Ge[_0x8ca89f(0x24f)],Xt;function ie(){return Xt||(Xt=0x1,function(_0x2df0d4,_0x1632c9){(function(_0x1c4bcb,_0x3d7c14){_0x2df0d4['exports']=_0x3d7c14();}(Ss,function(){var _0x474dc9=_0x474dc9||function(_0x10c7e7,_0x4d37a3){var _0x5b34a1=_0x5c85,_0x25cc02;if(typeof window<'u'&&window[_0x5b34a1(0x186)]&&(_0x25cc02=window[_0x5b34a1(0x186)]),typeof self<'u'&&self[_0x5b34a1(0x186)]&&(_0x25cc02=self[_0x5b34a1(0x186)]),typeof globalThis<'u'&&globalThis[_0x5b34a1(0x186)]&&(_0x25cc02=globalThis[_0x5b34a1(0x186)]),!_0x25cc02&&typeof window<'u'&&window[_0x5b34a1(0x418)]&&(_0x25cc02=window[_0x5b34a1(0x418)]),!_0x25cc02&&typeof pt<'u'&&pt[_0x5b34a1(0x186)]&&(_0x25cc02=pt[_0x5b34a1(0x186)]),!_0x25cc02&&typeof gs==_0x5b34a1(0x33f))try{_0x25cc02=require(_0x5b34a1(0x186));}catch{}var _0x3100a1=function(){var _0x23e1a3=_0x5b34a1;if(_0x25cc02){if(typeof _0x25cc02['getRandomValues']==_0x23e1a3(0x33f))try{return _0x25cc02['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25cc02['randomBytes']=='function')try{return _0x25cc02[_0x23e1a3(0x332)](0x4)[_0x23e1a3(0x2ea)]();}catch{}}throw new Error(_0x23e1a3(0x136));},_0x3c2568=Object[_0x5b34a1(0x2ba)]||(function(){function _0x385f6c(){}return function(_0x49287d){var _0x4a0920=_0x5c85,_0x5b4c34;return _0x385f6c[_0x4a0920(0x2e0)]=_0x49287d,_0x5b4c34=new _0x385f6c(),_0x385f6c['prototype']=null,_0x5b4c34;};}()),_0x267ad4={},_0x47676c=_0x267ad4[_0x5b34a1(0x1f9)]={},_0x380094=_0x47676c['Base']=(function(){return{'extend':function(_0x2932ce){var _0x481b11=_0x5c85,_0x2beab8=_0x3c2568(this);return _0x2932ce&&_0x2beab8[_0x481b11(0x166)](_0x2932ce),(!_0x2beab8['hasOwnProperty'](_0x481b11(0x3a4))||this['init']===_0x2beab8[_0x481b11(0x3a4)])&&(_0x2beab8['init']=function(){var _0x5d7b48=_0x481b11;_0x2beab8[_0x5d7b48(0x1dc)][_0x5d7b48(0x3a4)]['apply'](this,arguments);}),_0x2beab8['init']['prototype']=_0x2beab8,_0x2beab8['$super']=this,_0x2beab8;},'create':function(){var _0xaecf5e=_0x5c85,_0x3c993b=this['extend']();return _0x3c993b['init'][_0xaecf5e(0x30a)](_0x3c993b,arguments),_0x3c993b;},'init':function(){},'mixIn':function(_0x5d6c99){var _0x89e4c7=_0x5c85;for(var _0x5f176c in _0x5d6c99)_0x5d6c99[_0x89e4c7(0x1a6)](_0x5f176c)&&(this[_0x5f176c]=_0x5d6c99[_0x5f176c]);_0x5d6c99['hasOwnProperty'](_0x89e4c7(0x438))&&(this[_0x89e4c7(0x438)]=_0x5d6c99[_0x89e4c7(0x438)]);},'clone':function(){var _0x205197=_0x5c85;return this['init'][_0x205197(0x2e0)][_0x205197(0x1f8)](this);}};}()),_0x12287b=_0x47676c[_0x5b34a1(0x430)]=_0x380094['extend']({'init':function(_0x1a288a,_0x399c4c){var _0x4bcbf7=_0x5b34a1;_0x1a288a=this[_0x4bcbf7(0x18b)]=_0x1a288a||[],_0x399c4c!=_0x4d37a3?this['sigBytes']=_0x399c4c:this[_0x4bcbf7(0x38e)]=_0x1a288a[_0x4bcbf7(0x2a4)]*0x4;},'toString':function(_0x464ff1){var _0x50d012=_0x5b34a1;return(_0x464ff1||_0x4c583b)[_0x50d012(0x3ba)](this);},'concat':function(_0xfae005){var _0x460270=_0x5b34a1,_0x29e25f=this[_0x460270(0x18b)],_0x52dc35=_0xfae005[_0x460270(0x18b)],_0x5b418f=this[_0x460270(0x38e)],_0x242379=_0xfae005[_0x460270(0x38e)];if(this['clamp'](),_0x5b418f%0x4)for(var _0x47f741=0x0;_0x47f741<_0x242379;_0x47f741++){var _0x3fe44d=_0x52dc35[_0x47f741>>>0x2]>>>0x18-_0x47f741%0x4*0x8&0xff;_0x29e25f[_0x5b418f+_0x47f741>>>0x2]|=_0x3fe44d<<0x18-(_0x5b418f+_0x47f741)%0x4*0x8;}else{for(var _0x57fd66=0x0;_0x57fd66<_0x242379;_0x57fd66+=0x4)_0x29e25f[_0x5b418f+_0x57fd66>>>0x2]=_0x52dc35[_0x57fd66>>>0x2];}return this[_0x460270(0x38e)]+=_0x242379,this;},'clamp':function(){var _0x5ae1e6=_0x5b34a1,_0x22fc87=this[_0x5ae1e6(0x18b)],_0x3b1340=this['sigBytes'];_0x22fc87[_0x3b1340>>>0x2]&=0xffffffff<<0x20-_0x3b1340%0x4*0x8,_0x22fc87[_0x5ae1e6(0x2a4)]=_0x10c7e7[_0x5ae1e6(0x16c)](_0x3b1340/0x4);},'clone':function(){var _0x436154=_0x5b34a1,_0x49e94a=_0x380094[_0x436154(0x2b4)][_0x436154(0x383)](this);return _0x49e94a[_0x436154(0x18b)]=this[_0x436154(0x18b)][_0x436154(0x3e5)](0x0),_0x49e94a;},'random':function(_0x443cf5){var _0x248f9a=_0x5b34a1;for(var _0x43898a=[],_0x2b9dd7=0x0;_0x2b9dd7<_0x443cf5;_0x2b9dd7+=0x4)_0x43898a[_0x248f9a(0x1c4)](_0x3100a1());return new _0x12287b[(_0x248f9a(0x3a4))](_0x43898a,_0x443cf5);}}),_0x2461db=_0x267ad4[_0x5b34a1(0x2e2)]={},_0x4c583b=_0x2461db['Hex']={'stringify':function(_0x41a4ae){var _0x2d1cc0=_0x5b34a1;for(var _0x51bcbe=_0x41a4ae[_0x2d1cc0(0x18b)],_0x3286b2=_0x41a4ae[_0x2d1cc0(0x38e)],_0x411862=[],_0x58ae1c=0x0;_0x58ae1c<_0x3286b2;_0x58ae1c++){var _0x14c7e2=_0x51bcbe[_0x58ae1c>>>0x2]>>>0x18-_0x58ae1c%0x4*0x8&0xff;_0x411862[_0x2d1cc0(0x1c4)]((_0x14c7e2>>>0x4)[_0x2d1cc0(0x438)](0x10)),_0x411862[_0x2d1cc0(0x1c4)]((_0x14c7e2&0xf)[_0x2d1cc0(0x438)](0x10));}return _0x411862[_0x2d1cc0(0x1da)]('');},'parse':function(_0x16dc36){var _0xba73b5=_0x5b34a1;for(var _0x17d941=_0x16dc36['length'],_0x221a8f=[],_0xa4e6de=0x0;_0xa4e6de<_0x17d941;_0xa4e6de+=0x2)_0x221a8f[_0xa4e6de>>>0x3]|=parseInt(_0x16dc36[_0xba73b5(0x2a3)](_0xa4e6de,0x2),0x10)<<0x18-_0xa4e6de%0x8*0x4;return new _0x12287b[(_0xba73b5(0x3a4))](_0x221a8f,_0x17d941/0x2);}},_0x58d583=_0x2461db['Latin1']={'stringify':function(_0x16b164){var _0x1a69a2=_0x5b34a1;for(var _0xe8988c=_0x16b164[_0x1a69a2(0x18b)],_0x43412b=_0x16b164['sigBytes'],_0x5d13c9=[],_0x2e6ec5=0x0;_0x2e6ec5<_0x43412b;_0x2e6ec5++){var _0x387305=_0xe8988c[_0x2e6ec5>>>0x2]>>>0x18-_0x2e6ec5%0x4*0x8&0xff;_0x5d13c9['push'](String[_0x1a69a2(0x3c2)](_0x387305));}return _0x5d13c9[_0x1a69a2(0x1da)]('');},'parse':function(_0x118009){var _0x17376e=_0x5b34a1;for(var _0x24576a=_0x118009[_0x17376e(0x2a4)],_0x369b07=[],_0x490a8a=0x0;_0x490a8a<_0x24576a;_0x490a8a++)_0x369b07[_0x490a8a>>>0x2]|=(_0x118009[_0x17376e(0x30c)](_0x490a8a)&0xff)<<0x18-_0x490a8a%0x4*0x8;return new _0x12287b['init'](_0x369b07,_0x24576a);}},_0x46e04d=_0x2461db[_0x5b34a1(0x26b)]={'stringify':function(_0x35195d){var _0x5af66c=_0x5b34a1;try{return decodeURIComponent(escape(_0x58d583[_0x5af66c(0x3ba)](_0x35195d)));}catch{throw new Error(_0x5af66c(0x19b));}},'parse':function(_0x1db6c0){var _0x519fb8=_0x5b34a1;return _0x58d583[_0x519fb8(0x1a0)](unescape(encodeURIComponent(_0x1db6c0)));}},_0x188aef=_0x47676c[_0x5b34a1(0x26c)]=_0x380094[_0x5b34a1(0x1f8)]({'reset':function(){var _0x17212d=_0x5b34a1;this[_0x17212d(0x3fe)]=new _0x12287b[(_0x17212d(0x3a4))](),this[_0x17212d(0x39d)]=0x0;},'_append':function(_0x4fe829){var _0x961781=_0x5b34a1;typeof _0x4fe829=='string'&&(_0x4fe829=_0x46e04d[_0x961781(0x1a0)](_0x4fe829)),this[_0x961781(0x3fe)][_0x961781(0x2ac)](_0x4fe829),this[_0x961781(0x39d)]+=_0x4fe829[_0x961781(0x38e)];},'_process':function(_0xc0242d){var _0x59004a=_0x5b34a1,_0x4ef4a3,_0x5962e8=this[_0x59004a(0x3fe)],_0x360237=_0x5962e8[_0x59004a(0x18b)],_0x57c80e=_0x5962e8[_0x59004a(0x38e)],_0x363b51=this[_0x59004a(0x280)],_0x23089b=_0x363b51*0x4,_0x569c59=_0x57c80e/_0x23089b;_0xc0242d?_0x569c59=_0x10c7e7[_0x59004a(0x16c)](_0x569c59):_0x569c59=_0x10c7e7[_0x59004a(0x3cb)]((_0x569c59|0x0)-this[_0x59004a(0x3c7)],0x0);var _0x57c04a=_0x569c59*_0x363b51,_0x33b23e=_0x10c7e7[_0x59004a(0x298)](_0x57c04a*0x4,_0x57c80e);if(_0x57c04a){for(var _0x4b3f58=0x0;_0x4b3f58<_0x57c04a;_0x4b3f58+=_0x363b51)this[_0x59004a(0x32a)](_0x360237,_0x4b3f58);_0x4ef4a3=_0x360237[_0x59004a(0x410)](0x0,_0x57c04a),_0x5962e8[_0x59004a(0x38e)]-=_0x33b23e;}return new _0x12287b[(_0x59004a(0x3a4))](_0x4ef4a3,_0x33b23e);},'clone':function(){var _0x234dc9=_0x5b34a1,_0x4df807=_0x380094[_0x234dc9(0x2b4)][_0x234dc9(0x383)](this);return _0x4df807['_data']=this['_data']['clone'](),_0x4df807;},'_minBufferSize':0x0});_0x47676c[_0x5b34a1(0x36a)]=_0x188aef[_0x5b34a1(0x1f8)]({'cfg':_0x380094[_0x5b34a1(0x1f8)](),'init':function(_0x458680){var _0x578be2=_0x5b34a1;this['cfg']=this[_0x578be2(0x23d)][_0x578be2(0x1f8)](_0x458680),this['reset']();},'reset':function(){var _0x441653=_0x5b34a1;_0x188aef['reset'][_0x441653(0x383)](this),this[_0x441653(0x36b)]();},'update':function(_0x5e1263){var _0x3c4a2f=_0x5b34a1;return this[_0x3c4a2f(0x26f)](_0x5e1263),this['_process'](),this;},'finalize':function(_0x2389c2){var _0x4d8861=_0x5b34a1;_0x2389c2&&this[_0x4d8861(0x26f)](_0x2389c2);var _0x1773e8=this[_0x4d8861(0x189)]();return _0x1773e8;},'blockSize':0x10,'_createHelper':function(_0x5804e9){return function(_0x150260,_0x5828ec){var _0x13da20=_0x5c85;return new _0x5804e9[(_0x13da20(0x3a4))](_0x5828ec)[_0x13da20(0x295)](_0x150260);};},'_createHmacHelper':function(_0x22db70){return function(_0x244807,_0x12e22a){var _0x4bd79e=_0x5c85;return new _0x1a958c[(_0x4bd79e(0x3bd))][(_0x4bd79e(0x3a4))](_0x22db70,_0x12e22a)['finalize'](_0x244807);};}});var _0x1a958c=_0x267ad4[_0x5b34a1(0x250)]={};return _0x267ad4;}(Math);return _0x474dc9;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x8ca89f(0x24f)],Zt;function Di(){var _0x66765e=_0x8ca89f;return Zt||(Zt=0x1,function(_0x11e260,_0xde7878){(function(_0x24fda8,_0x107c7c){var _0x41d6f4=_0x5c85;_0x11e260[_0x41d6f4(0x24f)]=_0x107c7c(ie());}(Es,function(_0x431451){var _0xd4361d=_0x5c85;return(function(){var _0x55fa6e=_0x5c85,_0x44c74e=_0x431451,_0x9a0697=_0x44c74e['lib'],_0x46537c=_0x9a0697['WordArray'],_0x57a899=_0x44c74e[_0x55fa6e(0x2e2)];_0x57a899[_0x55fa6e(0x2a8)]={'stringify':function(_0x4fa7d3){var _0x503de7=_0x55fa6e,_0x5ead95=_0x4fa7d3['words'],_0x1b2b2b=_0x4fa7d3[_0x503de7(0x38e)],_0x2bf3a6=this[_0x503de7(0x21f)];_0x4fa7d3[_0x503de7(0x17a)]();for(var _0x28e973=[],_0x228e0d=0x0;_0x228e0d<_0x1b2b2b;_0x228e0d+=0x3)for(var _0x1595b3=_0x5ead95[_0x228e0d>>>0x2]>>>0x18-_0x228e0d%0x4*0x8&0xff,_0x4c816f=_0x5ead95[_0x228e0d+0x1>>>0x2]>>>0x18-(_0x228e0d+0x1)%0x4*0x8&0xff,_0x2b8ce8=_0x5ead95[_0x228e0d+0x2>>>0x2]>>>0x18-(_0x228e0d+0x2)%0x4*0x8&0xff,_0x42a967=_0x1595b3<<0x10|_0x4c816f<<0x8|_0x2b8ce8,_0xa32eef=0x0;_0xa32eef<0x4&&_0x228e0d+_0xa32eef*0.75<_0x1b2b2b;_0xa32eef++)_0x28e973[_0x503de7(0x1c4)](_0x2bf3a6['charAt'](_0x42a967>>>0x6*(0x3-_0xa32eef)&0x3f));var _0x3e06cf=_0x2bf3a6[_0x503de7(0x441)](0x40);if(_0x3e06cf){for(;_0x28e973[_0x503de7(0x2a4)]%0x4;)_0x28e973['push'](_0x3e06cf);}return _0x28e973['join']('');},'parse':function(_0x18e4a4){var _0x5a9c3f=_0x55fa6e,_0x106a20=_0x18e4a4[_0x5a9c3f(0x2a4)],_0x3f8de5=this['_map'],_0x3c3c70=this[_0x5a9c3f(0x37d)];if(!_0x3c3c70){_0x3c3c70=this[_0x5a9c3f(0x37d)]=[];for(var _0x22598b=0x0;_0x22598b<_0x3f8de5[_0x5a9c3f(0x2a4)];_0x22598b++)_0x3c3c70[_0x3f8de5[_0x5a9c3f(0x30c)](_0x22598b)]=_0x22598b;}var _0x539900=_0x3f8de5[_0x5a9c3f(0x441)](0x40);if(_0x539900){var _0x4a63f7=_0x18e4a4[_0x5a9c3f(0x399)](_0x539900);_0x4a63f7!==-0x1&&(_0x106a20=_0x4a63f7);}return _0x185798(_0x18e4a4,_0x106a20,_0x3c3c70);},'_map':_0x55fa6e(0x3e6)};function _0x185798(_0x3ecf1f,_0x40ae2c,_0x303d95){var _0x38ef95=_0x55fa6e;for(var _0x52a0be=[],_0x5a3c6c=0x0,_0x1bc706=0x0;_0x1bc706<_0x40ae2c;_0x1bc706++)if(_0x1bc706%0x4){var _0x50da16=_0x303d95[_0x3ecf1f['charCodeAt'](_0x1bc706-0x1)]<<_0x1bc706%0x4*0x2,_0x574c37=_0x303d95[_0x3ecf1f[_0x38ef95(0x30c)](_0x1bc706)]>>>0x6-_0x1bc706%0x4*0x2,_0x217b58=_0x50da16|_0x574c37;_0x52a0be[_0x5a3c6c>>>0x2]|=_0x217b58<<0x18-_0x5a3c6c%0x4*0x8,_0x5a3c6c++;}return _0x46537c[_0x38ef95(0x2ba)](_0x52a0be,_0x5a3c6c);}}()),_0x431451[_0xd4361d(0x2e2)][_0xd4361d(0x2a8)];}));}(We)),We[_0x66765e(0x24f)];}var Ke={'exports':{}},Is=Ke[_0x8ca89f(0x24f)],Qt;function Ts(){var _0x53b5b7=_0x8ca89f;return Qt||(Qt=0x1,function(_0x1f1b80,_0x4154e6){(function(_0x53dd9b,_0x112b42){var _0x4998d1=_0x5c85;_0x1f1b80[_0x4998d1(0x24f)]=_0x112b42(ie());}(Is,function(_0x15a22a){var _0x29ca13=_0x5c85;return function(_0x100888){var _0x26727e=_0x5c85,_0x5f961a=_0x15a22a,_0x47cb87=_0x5f961a['lib'],_0xcfe10b=_0x47cb87[_0x26727e(0x430)],_0x2b43a5=_0x47cb87[_0x26727e(0x36a)],_0x375c91=_0x5f961a[_0x26727e(0x250)],_0x760819=[];(function(){var _0x1e7c56=_0x26727e;for(var _0x2c1d68=0x0;_0x2c1d68<0x40;_0x2c1d68++)_0x760819[_0x2c1d68]=_0x100888[_0x1e7c56(0x39f)](_0x100888[_0x1e7c56(0x19e)](_0x2c1d68+0x1))*0x100000000|0x0;}());var _0x44b60e=_0x375c91[_0x26727e(0x373)]=_0x2b43a5['extend']({'_doReset':function(){var _0xaf511b=_0x26727e;this[_0xaf511b(0x2df)]=new _0xcfe10b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54e7eb,_0x1172a9){var _0xde16a3=_0x26727e;for(var _0x490069=0x0;_0x490069<0x10;_0x490069++){var _0x2db326=_0x1172a9+_0x490069,_0x2546af=_0x54e7eb[_0x2db326];_0x54e7eb[_0x2db326]=(_0x2546af<<0x8|_0x2546af>>>0x18)&0xff00ff|(_0x2546af<<0x18|_0x2546af>>>0x8)&0xff00ff00;}var _0x421e61=this[_0xde16a3(0x2df)][_0xde16a3(0x18b)],_0x4bf0a2=_0x54e7eb[_0x1172a9+0x0],_0x1a97ce=_0x54e7eb[_0x1172a9+0x1],_0x4b385c=_0x54e7eb[_0x1172a9+0x2],_0x5dd53e=_0x54e7eb[_0x1172a9+0x3],_0x4c08aa=_0x54e7eb[_0x1172a9+0x4],_0x5ddb6b=_0x54e7eb[_0x1172a9+0x5],_0xd615cf=_0x54e7eb[_0x1172a9+0x6],_0x1d7111=_0x54e7eb[_0x1172a9+0x7],_0x5156f2=_0x54e7eb[_0x1172a9+0x8],_0x1941df=_0x54e7eb[_0x1172a9+0x9],_0x3ebf81=_0x54e7eb[_0x1172a9+0xa],_0x2a3c05=_0x54e7eb[_0x1172a9+0xb],_0x1e3346=_0x54e7eb[_0x1172a9+0xc],_0x32a020=_0x54e7eb[_0x1172a9+0xd],_0x1ae17f=_0x54e7eb[_0x1172a9+0xe],_0x3b428a=_0x54e7eb[_0x1172a9+0xf],_0x450721=_0x421e61[0x0],_0xe0cb77=_0x421e61[0x1],_0x547dbd=_0x421e61[0x2],_0x2974c0=_0x421e61[0x3];_0x450721=_0x20931c(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x4bf0a2,0x7,_0x760819[0x0]),_0x2974c0=_0x20931c(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x1a97ce,0xc,_0x760819[0x1]),_0x547dbd=_0x20931c(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x4b385c,0x11,_0x760819[0x2]),_0xe0cb77=_0x20931c(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x5dd53e,0x16,_0x760819[0x3]),_0x450721=_0x20931c(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x4c08aa,0x7,_0x760819[0x4]),_0x2974c0=_0x20931c(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x5ddb6b,0xc,_0x760819[0x5]),_0x547dbd=_0x20931c(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0xd615cf,0x11,_0x760819[0x6]),_0xe0cb77=_0x20931c(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x1d7111,0x16,_0x760819[0x7]),_0x450721=_0x20931c(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x5156f2,0x7,_0x760819[0x8]),_0x2974c0=_0x20931c(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x1941df,0xc,_0x760819[0x9]),_0x547dbd=_0x20931c(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x3ebf81,0x11,_0x760819[0xa]),_0xe0cb77=_0x20931c(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x2a3c05,0x16,_0x760819[0xb]),_0x450721=_0x20931c(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x1e3346,0x7,_0x760819[0xc]),_0x2974c0=_0x20931c(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x32a020,0xc,_0x760819[0xd]),_0x547dbd=_0x20931c(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x1ae17f,0x11,_0x760819[0xe]),_0xe0cb77=_0x20931c(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x3b428a,0x16,_0x760819[0xf]),_0x450721=_0x5d9bbc(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x1a97ce,0x5,_0x760819[0x10]),_0x2974c0=_0x5d9bbc(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0xd615cf,0x9,_0x760819[0x11]),_0x547dbd=_0x5d9bbc(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x2a3c05,0xe,_0x760819[0x12]),_0xe0cb77=_0x5d9bbc(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x4bf0a2,0x14,_0x760819[0x13]),_0x450721=_0x5d9bbc(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x5ddb6b,0x5,_0x760819[0x14]),_0x2974c0=_0x5d9bbc(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x3ebf81,0x9,_0x760819[0x15]),_0x547dbd=_0x5d9bbc(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x3b428a,0xe,_0x760819[0x16]),_0xe0cb77=_0x5d9bbc(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x4c08aa,0x14,_0x760819[0x17]),_0x450721=_0x5d9bbc(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x1941df,0x5,_0x760819[0x18]),_0x2974c0=_0x5d9bbc(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x1ae17f,0x9,_0x760819[0x19]),_0x547dbd=_0x5d9bbc(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x5dd53e,0xe,_0x760819[0x1a]),_0xe0cb77=_0x5d9bbc(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x5156f2,0x14,_0x760819[0x1b]),_0x450721=_0x5d9bbc(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x32a020,0x5,_0x760819[0x1c]),_0x2974c0=_0x5d9bbc(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x4b385c,0x9,_0x760819[0x1d]),_0x547dbd=_0x5d9bbc(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x1d7111,0xe,_0x760819[0x1e]),_0xe0cb77=_0x5d9bbc(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x1e3346,0x14,_0x760819[0x1f]),_0x450721=_0x352a1d(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x5ddb6b,0x4,_0x760819[0x20]),_0x2974c0=_0x352a1d(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x5156f2,0xb,_0x760819[0x21]),_0x547dbd=_0x352a1d(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x2a3c05,0x10,_0x760819[0x22]),_0xe0cb77=_0x352a1d(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x1ae17f,0x17,_0x760819[0x23]),_0x450721=_0x352a1d(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x1a97ce,0x4,_0x760819[0x24]),_0x2974c0=_0x352a1d(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x4c08aa,0xb,_0x760819[0x25]),_0x547dbd=_0x352a1d(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x1d7111,0x10,_0x760819[0x26]),_0xe0cb77=_0x352a1d(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x3ebf81,0x17,_0x760819[0x27]),_0x450721=_0x352a1d(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x32a020,0x4,_0x760819[0x28]),_0x2974c0=_0x352a1d(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x4bf0a2,0xb,_0x760819[0x29]),_0x547dbd=_0x352a1d(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x5dd53e,0x10,_0x760819[0x2a]),_0xe0cb77=_0x352a1d(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0xd615cf,0x17,_0x760819[0x2b]),_0x450721=_0x352a1d(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x1941df,0x4,_0x760819[0x2c]),_0x2974c0=_0x352a1d(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x1e3346,0xb,_0x760819[0x2d]),_0x547dbd=_0x352a1d(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x3b428a,0x10,_0x760819[0x2e]),_0xe0cb77=_0x352a1d(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x4b385c,0x17,_0x760819[0x2f]),_0x450721=_0x867981(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x4bf0a2,0x6,_0x760819[0x30]),_0x2974c0=_0x867981(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x1d7111,0xa,_0x760819[0x31]),_0x547dbd=_0x867981(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x1ae17f,0xf,_0x760819[0x32]),_0xe0cb77=_0x867981(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x5ddb6b,0x15,_0x760819[0x33]),_0x450721=_0x867981(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x1e3346,0x6,_0x760819[0x34]),_0x2974c0=_0x867981(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x5dd53e,0xa,_0x760819[0x35]),_0x547dbd=_0x867981(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x3ebf81,0xf,_0x760819[0x36]),_0xe0cb77=_0x867981(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x1a97ce,0x15,_0x760819[0x37]),_0x450721=_0x867981(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x5156f2,0x6,_0x760819[0x38]),_0x2974c0=_0x867981(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x3b428a,0xa,_0x760819[0x39]),_0x547dbd=_0x867981(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0xd615cf,0xf,_0x760819[0x3a]),_0xe0cb77=_0x867981(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x32a020,0x15,_0x760819[0x3b]),_0x450721=_0x867981(_0x450721,_0xe0cb77,_0x547dbd,_0x2974c0,_0x4c08aa,0x6,_0x760819[0x3c]),_0x2974c0=_0x867981(_0x2974c0,_0x450721,_0xe0cb77,_0x547dbd,_0x2a3c05,0xa,_0x760819[0x3d]),_0x547dbd=_0x867981(_0x547dbd,_0x2974c0,_0x450721,_0xe0cb77,_0x4b385c,0xf,_0x760819[0x3e]),_0xe0cb77=_0x867981(_0xe0cb77,_0x547dbd,_0x2974c0,_0x450721,_0x1941df,0x15,_0x760819[0x3f]),_0x421e61[0x0]=_0x421e61[0x0]+_0x450721|0x0,_0x421e61[0x1]=_0x421e61[0x1]+_0xe0cb77|0x0,_0x421e61[0x2]=_0x421e61[0x2]+_0x547dbd|0x0,_0x421e61[0x3]=_0x421e61[0x3]+_0x2974c0|0x0;},'_doFinalize':function(){var _0x28783f=_0x26727e,_0x107d29=this['_data'],_0x5d2362=_0x107d29[_0x28783f(0x18b)],_0x2bc36f=this[_0x28783f(0x39d)]*0x8,_0x4d42e2=_0x107d29['sigBytes']*0x8;_0x5d2362[_0x4d42e2>>>0x5]|=0x80<<0x18-_0x4d42e2%0x20;var _0x3654a5=_0x100888[_0x28783f(0x1f2)](_0x2bc36f/0x100000000),_0x18e7cd=_0x2bc36f;_0x5d2362[(_0x4d42e2+0x40>>>0x9<<0x4)+0xf]=(_0x3654a5<<0x8|_0x3654a5>>>0x18)&0xff00ff|(_0x3654a5<<0x18|_0x3654a5>>>0x8)&0xff00ff00,_0x5d2362[(_0x4d42e2+0x40>>>0x9<<0x4)+0xe]=(_0x18e7cd<<0x8|_0x18e7cd>>>0x18)&0xff00ff|(_0x18e7cd<<0x18|_0x18e7cd>>>0x8)&0xff00ff00,_0x107d29['sigBytes']=(_0x5d2362[_0x28783f(0x2a4)]+0x1)*0x4,this[_0x28783f(0x156)]();for(var _0x5772db=this[_0x28783f(0x2df)],_0x506d62=_0x5772db[_0x28783f(0x18b)],_0x3d3155=0x0;_0x3d3155<0x4;_0x3d3155++){var _0xaa6234=_0x506d62[_0x3d3155];_0x506d62[_0x3d3155]=(_0xaa6234<<0x8|_0xaa6234>>>0x18)&0xff00ff|(_0xaa6234<<0x18|_0xaa6234>>>0x8)&0xff00ff00;}return _0x5772db;},'clone':function(){var _0x24ad4e=_0x26727e,_0x49b58c=_0x2b43a5[_0x24ad4e(0x2b4)][_0x24ad4e(0x383)](this);return _0x49b58c['_hash']=this[_0x24ad4e(0x2df)][_0x24ad4e(0x2b4)](),_0x49b58c;}});function _0x20931c(_0x2a256f,_0x39c8e5,_0x17d3ee,_0x10189f,_0x57fa9a,_0x57429a,_0x5e392c){var _0x4976a8=_0x2a256f+(_0x39c8e5&_0x17d3ee|~_0x39c8e5&_0x10189f)+_0x57fa9a+_0x5e392c;return(_0x4976a8<<_0x57429a|_0x4976a8>>>0x20-_0x57429a)+_0x39c8e5;}function _0x5d9bbc(_0x5b97d5,_0x259c1d,_0x568f24,_0x354467,_0x1579c8,_0x4d325b,_0x362bdd){var _0x4e6e7e=_0x5b97d5+(_0x259c1d&_0x354467|_0x568f24&~_0x354467)+_0x1579c8+_0x362bdd;return(_0x4e6e7e<<_0x4d325b|_0x4e6e7e>>>0x20-_0x4d325b)+_0x259c1d;}function _0x352a1d(_0x21e684,_0xaa4a9f,_0x2f4188,_0x55aa24,_0x53490d,_0x141bf0,_0x167b07){var _0x27720e=_0x21e684+(_0xaa4a9f^_0x2f4188^_0x55aa24)+_0x53490d+_0x167b07;return(_0x27720e<<_0x141bf0|_0x27720e>>>0x20-_0x141bf0)+_0xaa4a9f;}function _0x867981(_0x1c182e,_0x5adabf,_0x59274c,_0x3ca8c4,_0x47d182,_0x4d147a,_0x10d627){var _0x5443ce=_0x1c182e+(_0x59274c^(_0x5adabf|~_0x3ca8c4))+_0x47d182+_0x10d627;return(_0x5443ce<<_0x4d147a|_0x5443ce>>>0x20-_0x4d147a)+_0x5adabf;}_0x5f961a['MD5']=_0x2b43a5['_createHelper'](_0x44b60e),_0x5f961a[_0x26727e(0x351)]=_0x2b43a5[_0x26727e(0x38c)](_0x44b60e);}(Math),_0x15a22a[_0x29ca13(0x373)];}));}(Ke)),Ke[_0x53b5b7(0x24f)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x4cecdf=_0x8ca89f;return ei||(ei=0x1,function(_0x46e766,_0x24743a){(function(_0xd250d3,_0x3a5188){var _0x552383=_0x5c85;_0x46e766[_0x552383(0x24f)]=_0x3a5188(ie());}(Cs,function(_0x4720d2){var _0x18cc91=_0x5c85;return(function(){var _0x5d136f=_0x5c85,_0x2f73f1=_0x4720d2,_0x3226d4=_0x2f73f1['lib'],_0x3e7a11=_0x3226d4[_0x5d136f(0x430)],_0x484cf9=_0x3226d4[_0x5d136f(0x36a)],_0x21af49=_0x2f73f1[_0x5d136f(0x250)],_0x3eb652=[],_0x591824=_0x21af49['SHA1']=_0x484cf9[_0x5d136f(0x1f8)]({'_doReset':function(){var _0x122778=_0x5d136f;this[_0x122778(0x2df)]=new _0x3e7a11[(_0x122778(0x3a4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x550aa0,_0x3f208b){var _0x291cc0=_0x5d136f;for(var _0x2a5858=this['_hash'][_0x291cc0(0x18b)],_0xe12c06=_0x2a5858[0x0],_0x283f57=_0x2a5858[0x1],_0x3f5cf6=_0x2a5858[0x2],_0x41d973=_0x2a5858[0x3],_0x50953b=_0x2a5858[0x4],_0x110169=0x0;_0x110169<0x50;_0x110169++){if(_0x110169<0x10)_0x3eb652[_0x110169]=_0x550aa0[_0x3f208b+_0x110169]|0x0;else{var _0xd4bfd6=_0x3eb652[_0x110169-0x3]^_0x3eb652[_0x110169-0x8]^_0x3eb652[_0x110169-0xe]^_0x3eb652[_0x110169-0x10];_0x3eb652[_0x110169]=_0xd4bfd6<<0x1|_0xd4bfd6>>>0x1f;}var _0x183075=(_0xe12c06<<0x5|_0xe12c06>>>0x1b)+_0x50953b+_0x3eb652[_0x110169];_0x110169<0x14?_0x183075+=(_0x283f57&_0x3f5cf6|~_0x283f57&_0x41d973)+0x5a827999:_0x110169<0x28?_0x183075+=(_0x283f57^_0x3f5cf6^_0x41d973)+0x6ed9eba1:_0x110169<0x3c?_0x183075+=(_0x283f57&_0x3f5cf6|_0x283f57&_0x41d973|_0x3f5cf6&_0x41d973)-0x70e44324:_0x183075+=(_0x283f57^_0x3f5cf6^_0x41d973)-0x359d3e2a,_0x50953b=_0x41d973,_0x41d973=_0x3f5cf6,_0x3f5cf6=_0x283f57<<0x1e|_0x283f57>>>0x2,_0x283f57=_0xe12c06,_0xe12c06=_0x183075;}_0x2a5858[0x0]=_0x2a5858[0x0]+_0xe12c06|0x0,_0x2a5858[0x1]=_0x2a5858[0x1]+_0x283f57|0x0,_0x2a5858[0x2]=_0x2a5858[0x2]+_0x3f5cf6|0x0,_0x2a5858[0x3]=_0x2a5858[0x3]+_0x41d973|0x0,_0x2a5858[0x4]=_0x2a5858[0x4]+_0x50953b|0x0;},'_doFinalize':function(){var _0x25dbe4=_0x5d136f,_0x5355f4=this[_0x25dbe4(0x3fe)],_0x1ec646=_0x5355f4[_0x25dbe4(0x18b)],_0x24602d=this[_0x25dbe4(0x39d)]*0x8,_0x158e8f=_0x5355f4[_0x25dbe4(0x38e)]*0x8;return _0x1ec646[_0x158e8f>>>0x5]|=0x80<<0x18-_0x158e8f%0x20,_0x1ec646[(_0x158e8f+0x40>>>0x9<<0x4)+0xe]=Math[_0x25dbe4(0x1f2)](_0x24602d/0x100000000),_0x1ec646[(_0x158e8f+0x40>>>0x9<<0x4)+0xf]=_0x24602d,_0x5355f4['sigBytes']=_0x1ec646[_0x25dbe4(0x2a4)]*0x4,this[_0x25dbe4(0x156)](),this[_0x25dbe4(0x2df)];},'clone':function(){var _0x5ea442=_0x5d136f,_0x4ffbce=_0x484cf9[_0x5ea442(0x2b4)][_0x5ea442(0x383)](this);return _0x4ffbce[_0x5ea442(0x2df)]=this['_hash'][_0x5ea442(0x2b4)](),_0x4ffbce;}});_0x2f73f1[_0x5d136f(0x3fc)]=_0x484cf9[_0x5d136f(0x3af)](_0x591824),_0x2f73f1[_0x5d136f(0x202)]=_0x484cf9['_createHmacHelper'](_0x591824);}()),_0x4720d2[_0x18cc91(0x3fc)];}));}(qe)),qe[_0x4cecdf(0x24f)];}var ze={'exports':{}},bs=ze[_0x8ca89f(0x24f)],ti;function Os(){var _0x337489=_0x8ca89f;return ti||(ti=0x1,function(_0x2ac929,_0x17866d){(function(_0x3016d3,_0x127648){var _0x6262d4=_0x5c85;_0x2ac929[_0x6262d4(0x24f)]=_0x127648(ie());}(bs,function(_0x74be37){(function(){var _0x41fba2=_0x5c85,_0x179622=_0x74be37,_0x5424c5=_0x179622['lib'],_0x31f9ab=_0x5424c5[_0x41fba2(0x302)],_0x1b9799=_0x179622[_0x41fba2(0x2e2)],_0x54cbc8=_0x1b9799['Utf8'],_0xbf719f=_0x179622[_0x41fba2(0x250)];_0xbf719f[_0x41fba2(0x3bd)]=_0x31f9ab['extend']({'init':function(_0x130ba3,_0xaedcc8){var _0x530fd8=_0x41fba2;_0x130ba3=this[_0x530fd8(0x22c)]=new _0x130ba3[(_0x530fd8(0x3a4))](),typeof _0xaedcc8==_0x530fd8(0x346)&&(_0xaedcc8=_0x54cbc8['parse'](_0xaedcc8));var _0x5232bb=_0x130ba3[_0x530fd8(0x280)],_0xbf3d5b=_0x5232bb*0x4;_0xaedcc8[_0x530fd8(0x38e)]>_0xbf3d5b&&(_0xaedcc8=_0x130ba3[_0x530fd8(0x295)](_0xaedcc8)),_0xaedcc8[_0x530fd8(0x17a)]();for(var _0x1c60d3=this[_0x530fd8(0x16b)]=_0xaedcc8[_0x530fd8(0x2b4)](),_0x4f089f=this[_0x530fd8(0x312)]=_0xaedcc8[_0x530fd8(0x2b4)](),_0x564bce=_0x1c60d3['words'],_0x22f802=_0x4f089f[_0x530fd8(0x18b)],_0x5575c8=0x0;_0x5575c8<_0x5232bb;_0x5575c8++)_0x564bce[_0x5575c8]^=0x5c5c5c5c,_0x22f802[_0x5575c8]^=0x36363636;_0x1c60d3[_0x530fd8(0x38e)]=_0x4f089f['sigBytes']=_0xbf3d5b,this[_0x530fd8(0x3d2)]();},'reset':function(){var _0x1623b2=_0x41fba2,_0x314b58=this[_0x1623b2(0x22c)];_0x314b58[_0x1623b2(0x3d2)](),_0x314b58[_0x1623b2(0x1d6)](this[_0x1623b2(0x312)]);},'update':function(_0x58f56e){var _0x13e306=_0x41fba2;return this[_0x13e306(0x22c)][_0x13e306(0x1d6)](_0x58f56e),this;},'finalize':function(_0x1ef973){var _0x53f5d0=_0x41fba2,_0x221d00=this['_hasher'],_0x3f830d=_0x221d00[_0x53f5d0(0x295)](_0x1ef973);_0x221d00['reset']();var _0x25bc5e=_0x221d00[_0x53f5d0(0x295)](this['_oKey']['clone']()[_0x53f5d0(0x2ac)](_0x3f830d));return _0x25bc5e;}});}());}));}(ze)),ze[_0x337489(0x24f)];}var ys=Ye['exports'],ii;function Ui(){var _0x34bee2=_0x8ca89f;return ii||(ii=0x1,function(_0x391d06,_0x4da352){(function(_0x445217,_0x3a78dc,_0x3e0437){var _0x580540=_0x5c85;_0x391d06[_0x580540(0x24f)]=_0x3a78dc(ie(),Rs(),Os());}(ys,function(_0x4ae65a){var _0x4d747=_0x5c85;return(function(){var _0x4f50fc=_0x5c85,_0x1d3dae=_0x4ae65a,_0x67bbe4=_0x1d3dae['lib'],_0x1e901d=_0x67bbe4[_0x4f50fc(0x302)],_0x2ff78d=_0x67bbe4[_0x4f50fc(0x430)],_0x679b2e=_0x1d3dae[_0x4f50fc(0x250)],_0x5cbef2=_0x679b2e[_0x4f50fc(0x373)],_0x50f684=_0x679b2e['EvpKDF']=_0x1e901d[_0x4f50fc(0x1f8)]({'cfg':_0x1e901d['extend']({'keySize':0x80/0x20,'hasher':_0x5cbef2,'iterations':0x1}),'init':function(_0x110677){var _0x467acd=_0x4f50fc;this['cfg']=this['cfg'][_0x467acd(0x1f8)](_0x110677);},'compute':function(_0x21cb83,_0x29a1b0){var _0x245b98=_0x4f50fc;for(var _0x58effc,_0x390476=this[_0x245b98(0x23d)],_0x288c01=_0x390476[_0x245b98(0x311)][_0x245b98(0x2ba)](),_0x265130=_0x2ff78d[_0x245b98(0x2ba)](),_0x2fe91d=_0x265130[_0x245b98(0x18b)],_0x54411f=_0x390476[_0x245b98(0x191)],_0xc0f655=_0x390476[_0x245b98(0x13a)];_0x2fe91d['length']<_0x54411f;){_0x58effc&&_0x288c01['update'](_0x58effc),_0x58effc=_0x288c01[_0x245b98(0x1d6)](_0x21cb83)[_0x245b98(0x295)](_0x29a1b0),_0x288c01[_0x245b98(0x3d2)]();for(var _0x307a13=0x1;_0x307a13<_0xc0f655;_0x307a13++)_0x58effc=_0x288c01[_0x245b98(0x295)](_0x58effc),_0x288c01[_0x245b98(0x3d2)]();_0x265130[_0x245b98(0x2ac)](_0x58effc);}return _0x265130[_0x245b98(0x38e)]=_0x54411f*0x4,_0x265130;}});_0x1d3dae[_0x4f50fc(0x24c)]=function(_0x36b085,_0x2d9f78,_0x1ba265){var _0x1e760a=_0x4f50fc;return _0x50f684[_0x1e760a(0x2ba)](_0x1ba265)[_0x1e760a(0x395)](_0x36b085,_0x2d9f78);};}()),_0x4ae65a[_0x4d747(0x24c)];}));}(Ye)),Ye[_0x34bee2(0x24f)];}var Je={'exports':{}},Ns=Je[_0x8ca89f(0x24f)],ni;function Ai(){var _0x31b43e=_0x8ca89f;return ni||(ni=0x1,function(_0x7b73e9,_0x1c9752){(function(_0x23c244,_0x2d7173,_0x36ef9e){var _0x5119e6=_0x5c85;_0x7b73e9[_0x5119e6(0x24f)]=_0x2d7173(ie(),Ui());}(Ns,function(_0x5d56a2){var _0x54b6d7=_0x5c85;_0x5d56a2[_0x54b6d7(0x1f9)][_0x54b6d7(0x36c)]||function(_0xb25783){var _0x29c8a3=_0x54b6d7,_0x3f5e67=_0x5d56a2,_0x3e0302=_0x3f5e67[_0x29c8a3(0x1f9)],_0x3b67f6=_0x3e0302[_0x29c8a3(0x302)],_0x3e1036=_0x3e0302[_0x29c8a3(0x430)],_0x3ec39c=_0x3e0302[_0x29c8a3(0x26c)],_0x1b69ce=_0x3f5e67['enc'];_0x1b69ce[_0x29c8a3(0x26b)];var _0x5edc13=_0x1b69ce[_0x29c8a3(0x2a8)],_0x56ae5f=_0x3f5e67[_0x29c8a3(0x250)],_0x217873=_0x56ae5f[_0x29c8a3(0x24c)],_0x2d8eb6=_0x3e0302[_0x29c8a3(0x36c)]=_0x3ec39c[_0x29c8a3(0x1f8)]({'cfg':_0x3b67f6['extend'](),'createEncryptor':function(_0x31be70,_0x70b41e){var _0x14f985=_0x29c8a3;return this[_0x14f985(0x2ba)](this['_ENC_XFORM_MODE'],_0x31be70,_0x70b41e);},'createDecryptor':function(_0x1f1f09,_0x298db2){var _0x1ed3a9=_0x29c8a3;return this[_0x1ed3a9(0x2ba)](this['_DEC_XFORM_MODE'],_0x1f1f09,_0x298db2);},'init':function(_0x38f60b,_0x9e3a58,_0x1a6c9d){var _0x296907=_0x29c8a3;this[_0x296907(0x23d)]=this[_0x296907(0x23d)][_0x296907(0x1f8)](_0x1a6c9d),this['_xformMode']=_0x38f60b,this['_key']=_0x9e3a58,this['reset']();},'reset':function(){var _0x2193f4=_0x29c8a3;_0x3ec39c['reset'][_0x2193f4(0x383)](this),this[_0x2193f4(0x36b)]();},'process':function(_0x30fd7c){var _0x4a1532=_0x29c8a3;return this[_0x4a1532(0x26f)](_0x30fd7c),this[_0x4a1532(0x156)]();},'finalize':function(_0x4022cf){var _0xebae84=_0x29c8a3;_0x4022cf&&this[_0xebae84(0x26f)](_0x4022cf);var _0x533181=this[_0xebae84(0x189)]();return _0x533181;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x120251(_0x43bf9c){var _0x4788d2=_0x5c85;return typeof _0x43bf9c==_0x4788d2(0x346)?_0x288992:_0x4afad6;}return function(_0xd6f389){return{'encrypt':function(_0x4db246,_0x8d1682,_0x28e00e){var _0x563027=_0x5c85;return _0x120251(_0x8d1682)[_0x563027(0x2ff)](_0xd6f389,_0x4db246,_0x8d1682,_0x28e00e);},'decrypt':function(_0x90d923,_0x4c2660,_0x5ee017){var _0x5246e5=_0x5c85;return _0x120251(_0x4c2660)[_0x5246e5(0x2c5)](_0xd6f389,_0x90d923,_0x4c2660,_0x5ee017);}};};}())});_0x3e0302[_0x29c8a3(0x3f9)]=_0x2d8eb6[_0x29c8a3(0x1f8)]({'_doFinalize':function(){var _0x40cfdf=this['_process'](!0x0);return _0x40cfdf;},'blockSize':0x1});var _0x6fc0a4=_0x3f5e67[_0x29c8a3(0x308)]={},_0x178aa7=_0x3e0302['BlockCipherMode']=_0x3b67f6['extend']({'createEncryptor':function(_0x3a6d92,_0x4588a1){var _0x31dcc0=_0x29c8a3;return this[_0x31dcc0(0x207)][_0x31dcc0(0x2ba)](_0x3a6d92,_0x4588a1);},'createDecryptor':function(_0x26e890,_0x5c7132){var _0x2f43d2=_0x29c8a3;return this[_0x2f43d2(0x23c)][_0x2f43d2(0x2ba)](_0x26e890,_0x5c7132);},'init':function(_0x49ff0d,_0x5c5fa0){var _0x2afb78=_0x29c8a3;this[_0x2afb78(0x22e)]=_0x49ff0d,this[_0x2afb78(0x3f2)]=_0x5c5fa0;}}),_0x3625ab=_0x6fc0a4[_0x29c8a3(0x37f)]=(function(){var _0x14480f=_0x29c8a3,_0x56d9d9=_0x178aa7[_0x14480f(0x1f8)]();_0x56d9d9[_0x14480f(0x207)]=_0x56d9d9['extend']({'processBlock':function(_0x35bfa9,_0x508f47){var _0x33131a=_0x14480f,_0x2cea04=this[_0x33131a(0x22e)],_0x1ee505=_0x2cea04['blockSize'];_0x45bd0b[_0x33131a(0x383)](this,_0x35bfa9,_0x508f47,_0x1ee505),_0x2cea04[_0x33131a(0x284)](_0x35bfa9,_0x508f47),this[_0x33131a(0x42e)]=_0x35bfa9[_0x33131a(0x3e5)](_0x508f47,_0x508f47+_0x1ee505);}}),_0x56d9d9[_0x14480f(0x23c)]=_0x56d9d9['extend']({'processBlock':function(_0x37f647,_0x143e5b){var _0x4d2435=_0x14480f,_0x4d5b76=this['_cipher'],_0x209db5=_0x4d5b76[_0x4d2435(0x280)],_0x278016=_0x37f647[_0x4d2435(0x3e5)](_0x143e5b,_0x143e5b+_0x209db5);_0x4d5b76[_0x4d2435(0x3dc)](_0x37f647,_0x143e5b),_0x45bd0b['call'](this,_0x37f647,_0x143e5b,_0x209db5),this['_prevBlock']=_0x278016;}});function _0x45bd0b(_0x5e6c9b,_0x2d54a2,_0x380a79){var _0x2401da=_0x14480f,_0x1a241c,_0x3f23e6=this[_0x2401da(0x3f2)];_0x3f23e6?(_0x1a241c=_0x3f23e6,this[_0x2401da(0x3f2)]=_0xb25783):_0x1a241c=this['_prevBlock'];for(var _0x1aee13=0x0;_0x1aee13<_0x380a79;_0x1aee13++)_0x5e6c9b[_0x2d54a2+_0x1aee13]^=_0x1a241c[_0x1aee13];}return _0x56d9d9;}()),_0x3a428c=_0x3f5e67['pad']={},_0x4401f6=_0x3a428c['Pkcs7']={'pad':function(_0x29a3a1,_0xd0b850){var _0x596c3b=_0x29c8a3;for(var _0x47d237=_0xd0b850*0x4,_0x108925=_0x47d237-_0x29a3a1[_0x596c3b(0x38e)]%_0x47d237,_0x577345=_0x108925<<0x18|_0x108925<<0x10|_0x108925<<0x8|_0x108925,_0x260b43=[],_0x1ece1a=0x0;_0x1ece1a<_0x108925;_0x1ece1a+=0x4)_0x260b43[_0x596c3b(0x1c4)](_0x577345);var _0x14982c=_0x3e1036[_0x596c3b(0x2ba)](_0x260b43,_0x108925);_0x29a3a1[_0x596c3b(0x2ac)](_0x14982c);},'unpad':function(_0x53531a){var _0x2f1fd7=_0x29c8a3,_0x33d0a3=_0x53531a[_0x2f1fd7(0x18b)][_0x53531a['sigBytes']-0x1>>>0x2]&0xff;_0x53531a[_0x2f1fd7(0x38e)]-=_0x33d0a3;}};_0x3e0302[_0x29c8a3(0x256)]=_0x2d8eb6[_0x29c8a3(0x1f8)]({'cfg':_0x2d8eb6['cfg'][_0x29c8a3(0x1f8)]({'mode':_0x3625ab,'padding':_0x4401f6}),'reset':function(){var _0x3a9ec9=_0x29c8a3,_0x297e68;_0x2d8eb6['reset']['call'](this);var _0x4a8c76=this[_0x3a9ec9(0x23d)],_0x4f28ad=_0x4a8c76['iv'],_0x5d0e02=_0x4a8c76[_0x3a9ec9(0x308)];this['_xformMode']==this[_0x3a9ec9(0x3a7)]?_0x297e68=_0x5d0e02[_0x3a9ec9(0x31b)]:(_0x297e68=_0x5d0e02[_0x3a9ec9(0x3ef)],this[_0x3a9ec9(0x3c7)]=0x1),this[_0x3a9ec9(0x362)]&&this[_0x3a9ec9(0x362)][_0x3a9ec9(0x36d)]==_0x297e68?this[_0x3a9ec9(0x362)][_0x3a9ec9(0x3a4)](this,_0x4f28ad&&_0x4f28ad[_0x3a9ec9(0x18b)]):(this['_mode']=_0x297e68[_0x3a9ec9(0x383)](_0x5d0e02,this,_0x4f28ad&&_0x4f28ad['words']),this[_0x3a9ec9(0x362)][_0x3a9ec9(0x36d)]=_0x297e68);},'_doProcessBlock':function(_0x41cd1d,_0x171931){var _0x5d487d=_0x29c8a3;this[_0x5d487d(0x362)][_0x5d487d(0x1f0)](_0x41cd1d,_0x171931);},'_doFinalize':function(){var _0xbe48cc=_0x29c8a3,_0x25c8ab,_0x845b4d=this[_0xbe48cc(0x23d)][_0xbe48cc(0x30e)];return this[_0xbe48cc(0x138)]==this['_ENC_XFORM_MODE']?(_0x845b4d[_0xbe48cc(0x1f1)](this[_0xbe48cc(0x3fe)],this[_0xbe48cc(0x280)]),_0x25c8ab=this[_0xbe48cc(0x156)](!0x0)):(_0x25c8ab=this[_0xbe48cc(0x156)](!0x0),_0x845b4d[_0xbe48cc(0x437)](_0x25c8ab)),_0x25c8ab;},'blockSize':0x80/0x20});var _0x231500=_0x3e0302[_0x29c8a3(0x3bf)]=_0x3b67f6[_0x29c8a3(0x1f8)]({'init':function(_0x1e829d){var _0x1cb6e8=_0x29c8a3;this[_0x1cb6e8(0x166)](_0x1e829d);},'toString':function(_0x1c35ad){var _0x1b85c7=_0x29c8a3;return(_0x1c35ad||this[_0x1b85c7(0x1e1)])['stringify'](this);}}),_0xadcb48=_0x3f5e67['format']={},_0x38af09=_0xadcb48[_0x29c8a3(0x1fd)]={'stringify':function(_0x32d46b){var _0x3b0ae8=_0x29c8a3,_0x7ae59f,_0x46d82c=_0x32d46b[_0x3b0ae8(0x22d)],_0x2acb12=_0x32d46b[_0x3b0ae8(0x160)];return _0x2acb12?_0x7ae59f=_0x3e1036[_0x3b0ae8(0x2ba)]([0x53616c74,0x65645f5f])[_0x3b0ae8(0x2ac)](_0x2acb12)['concat'](_0x46d82c):_0x7ae59f=_0x46d82c,_0x7ae59f[_0x3b0ae8(0x438)](_0x5edc13);},'parse':function(_0x5bd276){var _0x191976=_0x29c8a3,_0x546521,_0x401c9d=_0x5edc13['parse'](_0x5bd276),_0x55ff36=_0x401c9d[_0x191976(0x18b)];return _0x55ff36[0x0]==0x53616c74&&_0x55ff36[0x1]==0x65645f5f&&(_0x546521=_0x3e1036[_0x191976(0x2ba)](_0x55ff36[_0x191976(0x3e5)](0x2,0x4)),_0x55ff36[_0x191976(0x410)](0x0,0x4),_0x401c9d[_0x191976(0x38e)]-=0x10),_0x231500[_0x191976(0x2ba)]({'ciphertext':_0x401c9d,'salt':_0x546521});}},_0x4afad6=_0x3e0302[_0x29c8a3(0x248)]=_0x3b67f6[_0x29c8a3(0x1f8)]({'cfg':_0x3b67f6['extend']({'format':_0x38af09}),'encrypt':function(_0x102fd0,_0x52220c,_0xfaafeb,_0x36743c){var _0x15ab02=_0x29c8a3;_0x36743c=this['cfg'][_0x15ab02(0x1f8)](_0x36743c);var _0x1fb051=_0x102fd0['createEncryptor'](_0xfaafeb,_0x36743c),_0x31af16=_0x1fb051[_0x15ab02(0x295)](_0x52220c),_0x2d0b2d=_0x1fb051['cfg'];return _0x231500[_0x15ab02(0x2ba)]({'ciphertext':_0x31af16,'key':_0xfaafeb,'iv':_0x2d0b2d['iv'],'algorithm':_0x102fd0,'mode':_0x2d0b2d[_0x15ab02(0x308)],'padding':_0x2d0b2d[_0x15ab02(0x30e)],'blockSize':_0x102fd0[_0x15ab02(0x280)],'formatter':_0x36743c[_0x15ab02(0x40d)]});},'decrypt':function(_0x255633,_0x1328ef,_0x161c02,_0x3a4543){var _0x435ff1=_0x29c8a3;_0x3a4543=this[_0x435ff1(0x23d)][_0x435ff1(0x1f8)](_0x3a4543),_0x1328ef=this[_0x435ff1(0x34f)](_0x1328ef,_0x3a4543[_0x435ff1(0x40d)]);var _0x445d84=_0x255633[_0x435ff1(0x3ef)](_0x161c02,_0x3a4543)['finalize'](_0x1328ef[_0x435ff1(0x22d)]);return _0x445d84;},'_parse':function(_0x3dbec0,_0x22fd5b){var _0x4e8b4d=_0x29c8a3;return typeof _0x3dbec0=='string'?_0x22fd5b[_0x4e8b4d(0x1a0)](_0x3dbec0,this):_0x3dbec0;}}),_0x1a7404=_0x3f5e67[_0x29c8a3(0x3a8)]={},_0x5ba92e=_0x1a7404[_0x29c8a3(0x1fd)]={'execute':function(_0x1ba7bc,_0x302ad0,_0x15de58,_0x34ee8d,_0x44b1d3){var _0x33ac40=_0x29c8a3;if(_0x34ee8d||(_0x34ee8d=_0x3e1036[_0x33ac40(0x277)](0x40/0x8)),_0x44b1d3)var _0xbbff46=_0x217873[_0x33ac40(0x2ba)]({'keySize':_0x302ad0+_0x15de58,'hasher':_0x44b1d3})['compute'](_0x1ba7bc,_0x34ee8d);else var _0xbbff46=_0x217873[_0x33ac40(0x2ba)]({'keySize':_0x302ad0+_0x15de58})[_0x33ac40(0x395)](_0x1ba7bc,_0x34ee8d);var _0x2255da=_0x3e1036['create'](_0xbbff46['words'][_0x33ac40(0x3e5)](_0x302ad0),_0x15de58*0x4);return _0xbbff46['sigBytes']=_0x302ad0*0x4,_0x231500[_0x33ac40(0x2ba)]({'key':_0xbbff46,'iv':_0x2255da,'salt':_0x34ee8d});}},_0x288992=_0x3e0302['PasswordBasedCipher']=_0x4afad6[_0x29c8a3(0x1f8)]({'cfg':_0x4afad6[_0x29c8a3(0x23d)][_0x29c8a3(0x1f8)]({'kdf':_0x5ba92e}),'encrypt':function(_0x7365c2,_0x5ed569,_0x1a21d8,_0x42f335){var _0x1f6ef8=_0x29c8a3;_0x42f335=this['cfg']['extend'](_0x42f335);var _0x87717=_0x42f335['kdf']['execute'](_0x1a21d8,_0x7365c2[_0x1f6ef8(0x191)],_0x7365c2[_0x1f6ef8(0x1c2)],_0x42f335[_0x1f6ef8(0x160)],_0x42f335['hasher']);_0x42f335['iv']=_0x87717['iv'];var _0x90befa=_0x4afad6[_0x1f6ef8(0x2ff)][_0x1f6ef8(0x383)](this,_0x7365c2,_0x5ed569,_0x87717[_0x1f6ef8(0x14f)],_0x42f335);return _0x90befa[_0x1f6ef8(0x166)](_0x87717),_0x90befa;},'decrypt':function(_0x405c4a,_0x55a9df,_0x12eb34,_0x5d53cf){var _0x1e1b17=_0x29c8a3;_0x5d53cf=this['cfg'][_0x1e1b17(0x1f8)](_0x5d53cf),_0x55a9df=this[_0x1e1b17(0x34f)](_0x55a9df,_0x5d53cf[_0x1e1b17(0x40d)]);var _0x5a65f5=_0x5d53cf[_0x1e1b17(0x3a8)][_0x1e1b17(0x1b5)](_0x12eb34,_0x405c4a[_0x1e1b17(0x191)],_0x405c4a['ivSize'],_0x55a9df['salt'],_0x5d53cf[_0x1e1b17(0x311)]);_0x5d53cf['iv']=_0x5a65f5['iv'];var _0x55f7e6=_0x4afad6[_0x1e1b17(0x2c5)][_0x1e1b17(0x383)](this,_0x405c4a,_0x55a9df,_0x5a65f5[_0x1e1b17(0x14f)],_0x5d53cf);return _0x55f7e6;}});}();}));}(Je)),Je[_0x31b43e(0x24f)];}var Ds=Ve[_0x8ca89f(0x24f)],si;function Us(){return si||(si=0x1,function(_0x563798,_0x554a4c){(function(_0x28e10e,_0x118405,_0x3038aa){var _0x9a0cd7=_0x5c85;_0x563798[_0x9a0cd7(0x24f)]=_0x118405(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x19ee33){var _0x2c6710=_0x5c85;return(function(){var _0x36d5c3=_0x5c85,_0x2a6464=_0x19ee33,_0x2e8dad=_0x2a6464[_0x36d5c3(0x1f9)],_0x5c8e39=_0x2e8dad[_0x36d5c3(0x256)],_0x2953c6=_0x2a6464[_0x36d5c3(0x250)],_0x38cb8c=[],_0x103a55=[],_0x48db24=[],_0x9c385e=[],_0x1099fb=[],_0x295c28=[],_0x4ab644=[],_0x20bc3d=[],_0x30dc29=[],_0x1ec6fe=[];(function(){for(var _0xa7212=[],_0x6d72a4=0x0;_0x6d72a4<0x100;_0x6d72a4++)_0x6d72a4<0x80?_0xa7212[_0x6d72a4]=_0x6d72a4<<0x1:_0xa7212[_0x6d72a4]=_0x6d72a4<<0x1^0x11b;for(var _0x474756=0x0,_0x1aa1c2=0x0,_0x6d72a4=0x0;_0x6d72a4<0x100;_0x6d72a4++){var _0x5e40fb=_0x1aa1c2^_0x1aa1c2<<0x1^_0x1aa1c2<<0x2^_0x1aa1c2<<0x3^_0x1aa1c2<<0x4;_0x5e40fb=_0x5e40fb>>>0x8^_0x5e40fb&0xff^0x63,_0x38cb8c[_0x474756]=_0x5e40fb,_0x103a55[_0x5e40fb]=_0x474756;var _0x4697cd=_0xa7212[_0x474756],_0x2ce994=_0xa7212[_0x4697cd],_0xb2fef3=_0xa7212[_0x2ce994],_0x3a64d6=_0xa7212[_0x5e40fb]*0x101^_0x5e40fb*0x1010100;_0x48db24[_0x474756]=_0x3a64d6<<0x18|_0x3a64d6>>>0x8,_0x9c385e[_0x474756]=_0x3a64d6<<0x10|_0x3a64d6>>>0x10,_0x1099fb[_0x474756]=_0x3a64d6<<0x8|_0x3a64d6>>>0x18,_0x295c28[_0x474756]=_0x3a64d6;var _0x3a64d6=_0xb2fef3*0x1010101^_0x2ce994*0x10001^_0x4697cd*0x101^_0x474756*0x1010100;_0x4ab644[_0x5e40fb]=_0x3a64d6<<0x18|_0x3a64d6>>>0x8,_0x20bc3d[_0x5e40fb]=_0x3a64d6<<0x10|_0x3a64d6>>>0x10,_0x30dc29[_0x5e40fb]=_0x3a64d6<<0x8|_0x3a64d6>>>0x18,_0x1ec6fe[_0x5e40fb]=_0x3a64d6,_0x474756?(_0x474756=_0x4697cd^_0xa7212[_0xa7212[_0xa7212[_0xb2fef3^_0x4697cd]]],_0x1aa1c2^=_0xa7212[_0xa7212[_0x1aa1c2]]):_0x474756=_0x1aa1c2=0x1;}}());var _0x28d1b9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x8eb01=_0x2953c6[_0x36d5c3(0x22a)]=_0x5c8e39[_0x36d5c3(0x1f8)]({'_doReset':function(){var _0x24893c=_0x36d5c3,_0x3b4d61;if(!(this[_0x24893c(0x3e7)]&&this[_0x24893c(0x425)]===this[_0x24893c(0x13d)])){for(var _0x3561cb=this[_0x24893c(0x425)]=this[_0x24893c(0x13d)],_0x192478=_0x3561cb['words'],_0x4d828c=_0x3561cb['sigBytes']/0x4,_0x49dd97=this[_0x24893c(0x3e7)]=_0x4d828c+0x6,_0xb2e2ba=(_0x49dd97+0x1)*0x4,_0x5c6304=this[_0x24893c(0x268)]=[],_0x20f7b9=0x0;_0x20f7b9<_0xb2e2ba;_0x20f7b9++)_0x20f7b9<_0x4d828c?_0x5c6304[_0x20f7b9]=_0x192478[_0x20f7b9]:(_0x3b4d61=_0x5c6304[_0x20f7b9-0x1],_0x20f7b9%_0x4d828c?_0x4d828c>0x6&&_0x20f7b9%_0x4d828c==0x4&&(_0x3b4d61=_0x38cb8c[_0x3b4d61>>>0x18]<<0x18|_0x38cb8c[_0x3b4d61>>>0x10&0xff]<<0x10|_0x38cb8c[_0x3b4d61>>>0x8&0xff]<<0x8|_0x38cb8c[_0x3b4d61&0xff]):(_0x3b4d61=_0x3b4d61<<0x8|_0x3b4d61>>>0x18,_0x3b4d61=_0x38cb8c[_0x3b4d61>>>0x18]<<0x18|_0x38cb8c[_0x3b4d61>>>0x10&0xff]<<0x10|_0x38cb8c[_0x3b4d61>>>0x8&0xff]<<0x8|_0x38cb8c[_0x3b4d61&0xff],_0x3b4d61^=_0x28d1b9[_0x20f7b9/_0x4d828c|0x0]<<0x18),_0x5c6304[_0x20f7b9]=_0x5c6304[_0x20f7b9-_0x4d828c]^_0x3b4d61);for(var _0x216e23=this[_0x24893c(0x2dc)]=[],_0x44edaf=0x0;_0x44edaf<_0xb2e2ba;_0x44edaf++){var _0x20f7b9=_0xb2e2ba-_0x44edaf;if(_0x44edaf%0x4)var _0x3b4d61=_0x5c6304[_0x20f7b9];else var _0x3b4d61=_0x5c6304[_0x20f7b9-0x4];_0x44edaf<0x4||_0x20f7b9<=0x4?_0x216e23[_0x44edaf]=_0x3b4d61:_0x216e23[_0x44edaf]=_0x4ab644[_0x38cb8c[_0x3b4d61>>>0x18]]^_0x20bc3d[_0x38cb8c[_0x3b4d61>>>0x10&0xff]]^_0x30dc29[_0x38cb8c[_0x3b4d61>>>0x8&0xff]]^_0x1ec6fe[_0x38cb8c[_0x3b4d61&0xff]];}}},'encryptBlock':function(_0x4ea50a,_0x2387d5){var _0x1ba0b6=_0x36d5c3;this[_0x1ba0b6(0x3d5)](_0x4ea50a,_0x2387d5,this[_0x1ba0b6(0x268)],_0x48db24,_0x9c385e,_0x1099fb,_0x295c28,_0x38cb8c);},'decryptBlock':function(_0x14136b,_0x285919){var _0x2abe49=_0x36d5c3,_0x87be63=_0x14136b[_0x285919+0x1];_0x14136b[_0x285919+0x1]=_0x14136b[_0x285919+0x3],_0x14136b[_0x285919+0x3]=_0x87be63,this['_doCryptBlock'](_0x14136b,_0x285919,this[_0x2abe49(0x2dc)],_0x4ab644,_0x20bc3d,_0x30dc29,_0x1ec6fe,_0x103a55);var _0x87be63=_0x14136b[_0x285919+0x1];_0x14136b[_0x285919+0x1]=_0x14136b[_0x285919+0x3],_0x14136b[_0x285919+0x3]=_0x87be63;},'_doCryptBlock':function(_0x1e3449,_0x79db60,_0x5064df,_0x531de5,_0x3b3959,_0x551930,_0x26e5fc,_0x2d9053){var _0x1b2e67=_0x36d5c3;for(var _0x8e22e6=this[_0x1b2e67(0x3e7)],_0x4f5fdb=_0x1e3449[_0x79db60]^_0x5064df[0x0],_0x179ef9=_0x1e3449[_0x79db60+0x1]^_0x5064df[0x1],_0x243111=_0x1e3449[_0x79db60+0x2]^_0x5064df[0x2],_0x2046ca=_0x1e3449[_0x79db60+0x3]^_0x5064df[0x3],_0x4465ed=0x4,_0x4fe77b=0x1;_0x4fe77b<_0x8e22e6;_0x4fe77b++){var _0x662a6=_0x531de5[_0x4f5fdb>>>0x18]^_0x3b3959[_0x179ef9>>>0x10&0xff]^_0x551930[_0x243111>>>0x8&0xff]^_0x26e5fc[_0x2046ca&0xff]^_0x5064df[_0x4465ed++],_0x1b2bc6=_0x531de5[_0x179ef9>>>0x18]^_0x3b3959[_0x243111>>>0x10&0xff]^_0x551930[_0x2046ca>>>0x8&0xff]^_0x26e5fc[_0x4f5fdb&0xff]^_0x5064df[_0x4465ed++],_0x3b14e6=_0x531de5[_0x243111>>>0x18]^_0x3b3959[_0x2046ca>>>0x10&0xff]^_0x551930[_0x4f5fdb>>>0x8&0xff]^_0x26e5fc[_0x179ef9&0xff]^_0x5064df[_0x4465ed++],_0x359474=_0x531de5[_0x2046ca>>>0x18]^_0x3b3959[_0x4f5fdb>>>0x10&0xff]^_0x551930[_0x179ef9>>>0x8&0xff]^_0x26e5fc[_0x243111&0xff]^_0x5064df[_0x4465ed++];_0x4f5fdb=_0x662a6,_0x179ef9=_0x1b2bc6,_0x243111=_0x3b14e6,_0x2046ca=_0x359474;}var _0x662a6=(_0x2d9053[_0x4f5fdb>>>0x18]<<0x18|_0x2d9053[_0x179ef9>>>0x10&0xff]<<0x10|_0x2d9053[_0x243111>>>0x8&0xff]<<0x8|_0x2d9053[_0x2046ca&0xff])^_0x5064df[_0x4465ed++],_0x1b2bc6=(_0x2d9053[_0x179ef9>>>0x18]<<0x18|_0x2d9053[_0x243111>>>0x10&0xff]<<0x10|_0x2d9053[_0x2046ca>>>0x8&0xff]<<0x8|_0x2d9053[_0x4f5fdb&0xff])^_0x5064df[_0x4465ed++],_0x3b14e6=(_0x2d9053[_0x243111>>>0x18]<<0x18|_0x2d9053[_0x2046ca>>>0x10&0xff]<<0x10|_0x2d9053[_0x4f5fdb>>>0x8&0xff]<<0x8|_0x2d9053[_0x179ef9&0xff])^_0x5064df[_0x4465ed++],_0x359474=(_0x2d9053[_0x2046ca>>>0x18]<<0x18|_0x2d9053[_0x4f5fdb>>>0x10&0xff]<<0x10|_0x2d9053[_0x179ef9>>>0x8&0xff]<<0x8|_0x2d9053[_0x243111&0xff])^_0x5064df[_0x4465ed++];_0x1e3449[_0x79db60]=_0x662a6,_0x1e3449[_0x79db60+0x1]=_0x1b2bc6,_0x1e3449[_0x79db60+0x2]=_0x3b14e6,_0x1e3449[_0x79db60+0x3]=_0x359474;},'keySize':0x100/0x20});_0x2a6464[_0x36d5c3(0x22a)]=_0x5c8e39[_0x36d5c3(0x3af)](_0x8eb01);}()),_0x19ee33[_0x2c6710(0x22a)];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x8ca89f(0x24f)],ai;function xs(){var _0x376b5e=_0x8ca89f;return ai||(ai=0x1,function(_0x3ed93d,_0x50b185){(function(_0x12e2fc,_0x527da2){var _0x3357f4=_0x5c85;_0x3ed93d[_0x3357f4(0x24f)]=_0x527da2(ie());}(Ls,function(_0x186620){var _0x4e5454=_0x5c85;return _0x186620[_0x4e5454(0x2e2)][_0x4e5454(0x26b)];}));}(Xe)),Xe[_0x376b5e(0x24f)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x8ca89f(0x24f)],oi;function Hs(){return oi||(oi=0x1,function(_0x3816e9,_0x5390cf){(function(_0x4d4229,_0x48a364){var _0x42d1ab=_0x5c85;_0x3816e9[_0x42d1ab(0x24f)]=_0x48a364(ie());}($s,function(_0x3d96f2){var _0x4b1ef2=_0x5c85;return(function(){var _0xeda525=_0x5c85;if(typeof ArrayBuffer==_0xeda525(0x33f)){var _0x55e255=_0x3d96f2,_0x3ec57b=_0x55e255[_0xeda525(0x1f9)],_0x1a6787=_0x3ec57b[_0xeda525(0x430)],_0xb0d846=_0x1a6787[_0xeda525(0x3a4)],_0x2c7b32=_0x1a6787['init']=function(_0xe9cd05){var _0x3e84b5=_0xeda525;if(_0xe9cd05 instanceof ArrayBuffer&&(_0xe9cd05=new Uint8Array(_0xe9cd05)),(_0xe9cd05 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe9cd05 instanceof Uint8ClampedArray||_0xe9cd05 instanceof Int16Array||_0xe9cd05 instanceof Uint16Array||_0xe9cd05 instanceof Int32Array||_0xe9cd05 instanceof Uint32Array||_0xe9cd05 instanceof Float32Array||_0xe9cd05 instanceof Float64Array)&&(_0xe9cd05=new Uint8Array(_0xe9cd05['buffer'],_0xe9cd05['byteOffset'],_0xe9cd05[_0x3e84b5(0x146)])),_0xe9cd05 instanceof Uint8Array){for(var _0x4f1308=_0xe9cd05[_0x3e84b5(0x146)],_0x173292=[],_0xaeb53f=0x0;_0xaeb53f<_0x4f1308;_0xaeb53f++)_0x173292[_0xaeb53f>>>0x2]|=_0xe9cd05[_0xaeb53f]<<0x18-_0xaeb53f%0x4*0x8;_0xb0d846[_0x3e84b5(0x383)](this,_0x173292,_0x4f1308);}else _0xb0d846[_0x3e84b5(0x30a)](this,arguments);};_0x2c7b32[_0xeda525(0x2e0)]=_0x1a6787;}}()),_0x3d96f2[_0x4b1ef2(0x1f9)][_0x4b1ef2(0x430)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x8ca89f(0x24f)],ci;function Vs(){var _0x376d31=_0x8ca89f;return ci||(ci=0x1,function(_0x352542,_0x33b1f8){(function(_0x2a0bb3,_0x170477,_0x1017f0){var _0x5e047a=_0x5c85;_0x352542[_0x5e047a(0x24f)]=_0x170477(ie(),Ai());}(Fs,function(_0xb2dc0){var _0x15430b=_0x5c85;return _0xb2dc0[_0x15430b(0x1f1)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xb2dc0[_0x15430b(0x1f1)][_0x15430b(0x15e)];}));}(Qe)),Qe[_0x376d31(0x24f)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x2a990b,_0x29dc10){var _0x2437e1=_0x8ca89f;const _0x5eb169=_0x29dc10-_0x2a990b['length']%_0x29dc10,_0x42e22a=String[_0x2437e1(0x3c2)](_0x5eb169)[_0x2437e1(0x409)](_0x5eb169);return _0x2a990b+_0x42e22a;}function Ys(_0x4ba14f,_0x44c7a2){var _0x1ba814=_0x8ca89f;const _0x4d17e1=js[_0x1ba814(0x277)](0x10),_0x12742c=Ks(_0x4ba14f,0x10),_0xc8fa64=ws[_0x1ba814(0x2ff)](ks[_0x1ba814(0x1a0)](_0x12742c),ri['parse'](_0x44c7a2),{'iv':_0x4d17e1,'padding':Ws});return _0x4d17e1[_0x1ba814(0x2ac)](_0xc8fa64[_0x1ba814(0x22d)])[_0x1ba814(0x438)](ri);}function qs(){var _0x18305c=_0x8ca89f;const _0x2d92d2=_0x4247c0()[_0x18305c(0x352)];if(_0x2d92d2){const _0x3d7d9f={'time':Math['floor'](Date[_0x18305c(0x243)]()/0x3e8),'domain':location[_0x18305c(0x282)]};return Ys(JSON[_0x18305c(0x3ba)](_0x3d7d9f),_0x2d92d2);}}var zs=Object[_0x8ca89f(0x297)],Js=(_0x27912d,_0x1ae028,_0x373109,_0x33f1ef)=>{var _0x4f6dac=_0x8ca89f;for(var _0x49ec73=_0x33f1ef>0x1?void 0x0:_0x33f1ef?zs(_0x1ae028,_0x373109):_0x1ae028,_0x2d38f6=_0x27912d[_0x4f6dac(0x2a4)]-0x1,_0x266b26;_0x2d38f6>=0x0;_0x2d38f6--)(_0x266b26=_0x27912d[_0x2d38f6])&&(_0x49ec73=_0x266b26(_0x49ec73)||_0x49ec73);return _0x49ec73;},Xs=(_0x526dbd,_0x4292f1)=>(_0x4173bd,_0x4e0d4f)=>_0x4292f1(_0x4173bd,_0x4e0d4f,_0x526dbd);let at=class{constructor(_0x126dc8){var _0x3479f5=_0x8ca89f;this[_0x3479f5(0x281)]=_0x126dc8,this[_0x3479f5(0x3d8)]();}['_initRequestHeader'](){var _0x283bd1=_0x8ca89f;this[_0x283bd1(0x281)][_0x283bd1(0x3bb)]({'interceptor':(_0x3936e5,_0x1ed359)=>{var _0x30e598=_0x283bd1;const _0x26bf97=_0x3936e5[_0x30e598(0x374)],_0x1bea75=qs();return _0x1bea75&&_0x26bf97[_0x30e598(0x165)](_0x30e598(0x3ce),_0x1bea75),_0x1ed359(_0x3936e5);}});}};at=Js([Xs(0x0,_0x40b328(_0x2bff6f))],at);function _0x5265(){var _0x375f2f=['c2Prime','getTypeOfUnitDisposed$','_onRecvEvent','session','MD5','headers','unknown','Error\x20on\x20receiving\x20event','responseType','_incrementRevisionNumber','CLOSE_ROOM','/-/object/list','LICENSE_IMPORT_SIZE_EXCEEDED','disableLocalCache','_reverseMap','YUUMI_URL_COL_OUT_OF_RANGE','CBC','_initCloseConn','[CollaborationSession]','shouldCloseConn','call','revision','SEND_CHANGESET_TIMEOUT','putCollaborators','getUnitStatus$','CHANGESET_ACK','getCurrentSelections','message$','LICENSE_DISTRO_REJECTED','_createHmacHelper','USER_NOT_INVITED_CODE','sigBytes','uploadFileServerUrl','_sendHeartbeatTimer','567730RCnIFs','/block/','onSendChangeset','socket$','compute','ONLINE','complete','socket\x20close','indexOf','_transformUndoredo','collabWebSocketUrl','image/jpg','_nDataBytes','error','abs','FETCH_MISS','{fileID}','_userManagerService','defineProperty','init','values','deepClone','_ENC_XFORM_MODE','kdf','NEW_CHANGESETS','fromCollab','localCacheService','HttpImport','/unit/','univer-pro.collaboration-client.network-condition.service','_createHelper','WECHAT_HAS_BEEN_BOUND','/universer-api/snapshot','not_collab','[DataLoaderService]','pending','setShowComponents','listRoles','data','UPDATE_PERMISSION_OBJ','state','stringify','registerHTTPInterceptor','pipe','HMAC','_removeRoom','CipherParams','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NOT_COLLAB','fromCharCode','_scheduleCompleteTimestamp','generateRandomId','[SyncedState]:\x20received\x20rejection.','editing\x20status\x20changed\x20to','_minBufferSize','toggleOffline','_socketMessageSubscription','APPLY_REVISION_CONFILICT','max','_logService','_collaborationSessionService','x-univer-host','_throwTelemetryCollaborationNewChangeset','sid','_snapshotService','reset','waitForRoom$','/fetchmissing?from=','_doCryptBlock','SHOULD_CLOSE_CONN','getSheetId','_initRequestHeader','_undoStacks','getUnitOnRev','_sessionStatus$','decryptBlock','addImageSourceCache','fetchMiss','YUUMI_RATE_OVER_LIMIT','[CollaborationState]:\x20apply\x20error!','reduce','textRanges','Could\x20not\x20dynamically\x20require\x20\x22','clear','slice','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_nRounds','getCurrentUser','find','ERROR_EXCEED_SIZE','loadUnit','_undoRedoService','params','UPDATE_CURSOR','createDecryptor','_memberService','closeSession','_iv','_clearRetryConnectingTimer','LIVESHARE_FETCH_OPERATIONS','_disableEditing','_retryConnectingTimer','_onFetchMissResult','_transformSelections','StreamCipher','_shouldReportTelemetry','INTERNAL_ERROR','SHA1','_candidateSocket','_data','ERROR_IMAGE_TYPE','\x20in\x20_schedule.','\x0aCurrent:\x20','_type','SOCKET_FAILED_RETRY','/rev/','loginUrlKey','_collaborationTimeoutTimer','symbol','_getLoginPath','repeat','UNIVER_PROJECT','from','addHandlerCallback','format','collaboration_new_changeset','_lockTransition','splice','MSG_FOR_ERROR','_awaitingChangeset','UNKNOWN_CMD','LOGIN_URL_KEY','?url=','_socket$','onTransformRemoteChangesetByStateCache','msCrypto','_roomMembers','_initMergeInterceptor','state$','FileId','_sessions','_handlerCallback','5sslXBn','incrementRevOfUnit','awaiting_with_pending','session.room-cnt-exceeds','_unitInfo$','_unitID','_keyPriorReset','COMPLETION_FINISHED','dispose$','SYNCED','APPLY_DUPLICATED','[CollaborationEntity]','/role','c1Prime','getImageSourceCache','_prevBlock','MUTATION','WordArray','/universer-api/oidc/authpage','_onRemoteACK','asObservable','override','[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.','INGEST','unpad','toString','socketService','enableAuthServer','members','getUnitId','transformSelections','_emitMembers','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getWorkbookSelections','charAt','_collaborationPaused','session.room-not-exists','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','76584STueYR','_xformMode','_commentUpdate$','iterations','_onConnectionFailed','_transformIMECache','_key','_clearLocalCache','ALREADY_EXISTS','SUBMIT_CHANGESET_TIMEOUT','TOO_MANY_REQUESTS','_resendWithTimeout','_HTTPService','_instanceService','close$','byteLength','_getCtorByUniverType','SUBMIT_CHANGESET','COLLAB_WEB_SOCKET_URL','_getSignURL','_entityInit$','getSnapshotAPIPath','_changesetSessionId','encode','key','includes','transformChangesets','_onConnectionOpen','reject','_initUnitPermissionChange','collaMsg','_process','_localCacheService','actions','_onRemoteRetry','COMPRESS_MUTATION_SEND','type','_telemetryService','AUTHZ_URL_KEY','NoPadding','setCurrentUser','salt','editingUnit','_transformRemoteChangesetByStateCache','People','_members','set','mixIn','_queuedRemoteChangesets','_onMessage','_handler','map','_oKey','ceil','ws://127.0.0.1:8000/universer-api/comb/connect','resend','authzUrl','UNKNOWN_CODE','APPLY_NON_SEQUENTIAL_REVISION','UnitSnapshot','CONNECTOR_DATA_TOO_LARGE','onSyncEditingCollabCursor','_clearHeartbeatTimer','image/bmp','EMAIL_HAS_BEEN_BOUND','collaboratorID','routeKey','clamp','onTransformIME','FAIL','23360388ZjtDlE','_onConflict','_event$','code','_singleActiveUnitService','avatar','MOBILE_HAS_BEEN_BOUND','confirm','_applyRemoteChangeset','crypto','onRemoteAck','CHANGESET_REJ','_doFinalize','range','words','_onRemoteRejected','appendMutation','JOINING','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LIVESHARE_REQUEST_HOST','keySize','location','createSocket','fetchThroughInterceptors','\x20to\x20','_getAPIPrefix','requireSession','APPLY_REJECT','commentUpdate$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Malformed\x20UTF-8\x20data','src','_onLocalMutation','sin','put','parse','unitId\x20is\x20not\x20found','UNIVER_COLLABORATION_CLIENT_PLUGIN','subUnitId','LIVESHARE_TERMINATE','Failed\x20to\x20update\x20permission\x20point','hasOwnProperty','_waitForHeartbeatResponse','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getMember','_resendTimer','forEach','[CollaborationUndoRedoService]','sheets','body','send','_getRedoStack','_univerInstanceService','_permissionService','transformStack\x20failed!','method','execute','_commandService','resourceIDs','target','getCollabEntity$','CHANGESET_SHOULD_RETRY','onRemoteRej','next','_status$','close','_timeoutTimer','loadDoc','getActiveSheet','ivSize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','push','YUUMI_NO_CUBOID_FOR_QUESTION','awaitingChangeset','_getAPIPrefixPath','ENSURE_SNAPSHOT_EXECUTION','/universer-api/authz','unitId','UNDEFINED','awaiting','onload','_state','title','UNISCRIPT_RUN','_schedule','updateMember','SUCCUSS','_syncEditingCollabCursor','list','update','getSheetBlock','_rescheduleHeartbeat','onRemoteChangeset','join','_sender','$super','socket\x20open.','updatePermissionObjEvent','UNIVER_UNKNOWN','UNAUTHENTICATED','formatter','_socketReady','add','_snapshotServerService','size','_state$','OTHER_CLIENT_EDITING','[OfflineState]:\x20received\x20rejection.','copyFileMeta','_tryEnsureSocket','_decreaseWaiting','name','listCollaborators','append','_getSendChangesetTimeout','processBlock','pad','floor','setConfig','permissionRejEvent','open$','objectActions','_waitCount','extend','lib','PENDING','objectID','_acknowledgedAwaitingChangeset','OpenSSL','save\x20fail\x20reason\x20is\x20','submit\x20changeset\x20error!','UNIVER_SHEET','PERMISSION_DENIED','HmacSHA1','offline','session.join-failed','_updateState','HELLO','Encryptor','getRandomValues','2mKlJbK','/resources','INVALID_INVITE_CODE','_replayCachedMutations','m2Prime','LIVESHARE_OPERATION','_updateStatus','_members$','getUnit','eventID','post','HEARTBEAT','_executeRemoteChangeset','enableSingleActiveInstanceLock','refreshPermission','_imageSourceCache','_doCreateSocket','USERS_ENTER','url','_updateLocalCache','getValue','getFocusedUnit','_map','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_config','_roomCreated$','SNAPSHOT_INVALID_SNAPSHOT','SNAPSHOT_URL_KEY','synced','LIVESHARE_NEW_HOST','_pendingMutations','_getDownloadEndpointURL','Undefined','AES','[OfflineState]:\x20received\x20acknowledgement.','_hasher','ciphertext','_cipher','online$','_socketService','UNRECOGNIZED','catch','CHANGESET_REVISION_CONFILICT','INVITE_CODE_REQUIRED','duration','image/jpeg','saveSheetBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','baseRev','_registerDependencies','error$','Decryptor','cfg','254571tdBtpy','onStarting','entityInit$','capture','/allowed','now','csShouldRetryEvent','subject','has','debug','SerializableCipher','sessionStatus$','_loadDoc','&assign=','EvpKDF','_change$','initWorkbookPermissionChange','exports','algo','_changesetReqId','_resendTimeout','_transitionLocked','_initDependencies','startsWith','BlockCipher','OTHER_CLIENTS_EDITING','INVALID_ARGUMENT','readAsDataURL','conflict','onCommentUpdate','dispose','YUUMI_SUBSCRIPTION_NOT_FOUND','roles','removeMember','428828TzNqPp','unit-cache-','_entities','image/gif','file','updateCursorEvent','/new_changes','rev','_keySchedule','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','POST','Utf8','BufferedBlockAlgorithm','JOIN_ROOM_NOT_EXISTS','collaboration-client.config','_append','LEAVE','snapshotServerUrl','91tNDSFU','FETCH_MISSING','status$','UserProfileImg','updateOfflineData','random','COMMENT_UPDATE','action','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_configService','selections','_startTelemetryCollaborationNewChangeset','PSEUDO_FETCH_MISSING_RESULT','onTransformRemoteChangesetByIMECache','blockSize','_httpService','hostname','transformMutationsWithChangeset','encryptBlock','href','JOIN','_getCurrentRevision','localeService','_networkConditionService','RECV','[CollaborationSessionService]','/-/object/-/batch_allowed','CONFLICT','_socket','_replaceFileID','_onJoinRoomEvent','/collaborator','csRejEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','639uHACpE','finalize','__esModule','getOwnPropertyDescriptor','min','GLOBAL_ROOMS_CNT_EXCEEDS','downloadEndpointUrl','connection\x20error','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/uniscript','updatePermissionPoint','joinEvent','interceptor','unsubscribe','COMPRESS_MUTATION_APPLY','substr','length','encodeURIComponent','_substituteUndoStack','INVITE_CODE_ALREADY_BOUND','Base64','_localeService','UnitEmbedded','focused$','concat','_transformStack','_onUserJoin','LOGIN_FAILED','UNIVER_SLIDE','_transformRemoteChangesetByIMECache','_loadSheet','image/png','clone','getCollabEntity','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','SOCKET_FAILED','&to=','_getUndoStack','create','1309XgGoWK','[CollaborationSessionService]:\x20socket\x20error','_clearRedo','_eventService','_clearScheduledTask','auth.needGotoLoginAlert','NOT_FOUND','UNIVER_DOC','_onOffline','_sendHeartbeat','decrypt','get','AWAITING_WITH_PENDING','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','replace','/object/','readyForCollab','_substituteRedoStack','_clearTimeoutTimer','IDLE','roomInfos','members$','BASE64','_exhaustRemoteChangesetQueue','_clearCollaborationTimeoutTimer','onMissingChangesets','getInterceptPoints','_sheetTransformSelectionsService','pauseCollaboration','_joinRoom','setWaitCount','YUUMI_UNABLE_LOAD_URL','_invKeySchedule','every','_onCombEvent','_hash','prototype','reqId','enc','getUnitType','YUUMI_ASYNCIO_CANCELLED','_compressMutationService','HttpExport','originalMeta','getMemberID','PY_RUNTIME_SCRIPT_ERROR','readInt32LE','_getUploadFileURL','_unlockTransition','objectType','disposeWithMe','getRoom','_injector','transformUndoRedo','RETRY_CONNECTING_MAX_COUNT','mutations','getTypeOfUnitAdded$','_createInitialState','loadOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','NO_OTHER_CLIENTS_EDITING','_toggleOffline','createCollaborator','saveChangeset','_sendingTimer','cmd','then','encrypt','ERROR_IMAGE','default','Base','_clearUndo','_isPermissionRej','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','mode','allowed','apply','_retryCount','charCodeAt','_collabSessionService','padding','_telemetryInfo','377628lLiTSb','hasher','_iKey','JOIN_ROOM_FAILED','reconnect','getTime','fetching\x20missing\x20changesets\x20from\x20','_fetchMissChangesets','_collaborationUIEventService','onCommandExecuted','requestParams','createEncryptor','42890bxRLEW','unitInfo$','_onRemoteChangeset','result','change$','_onUserLeave','_toggleOnline','APPLY_PERMISSION_DENIED','_submitChangeset','snapshot','OFFLINE','getConfig','stopTime','delete','_doProcessBlock','fetchMissingChangesets','_transformService','_createHandler','_init','onTransformSelections','_scheduleCollaborationTimeoutTimer','PERMISSION_REJ','randomBytes','OPTIONAL','onTransformState','_listenToNetworkCondition','event$','randomUUID','filter','newCsEvent','resolve','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_showConflictNotification','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','function','loadSheet','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onMissedChangesetFetched','session.room-permission-denied','memberID','sessionStatus','string','bind','[UniverCollaborationClientPlugin]','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','status','toLowerCase','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','subscribe','LICENSE_MAX_UNITS_EXCEEDED','_parse','createInstance','HmacMD5','__Key__','isPermissionRej','toggleOnline','emitEvent','unitID','isArray','signUrlServerUrl','PERSON','_tryReconnect','_remoteChangesetQueue','changesets','JOIN_ROOM_PERMISSION_DENIED','_stopTelemetryCollaborationNewChangeset','getCurrentRevOfUnit','_commentService','uniscriptRunEvent','_mode','onlyLocal','_checkMissing','liveShareNewHost','INVITE_CODE_HAS_BEEN_UES','onRemoteRetry','_revisionService','json','Hasher','_doReset','Cipher','__creator','LICENSE_EXPORT_SIZE_EXCEEDED'];_0x5265=function(){return _0x375f2f;};return _0x5265();}var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x47a615,_0x1bff2f,_0x198c6e,_0x71fda8)=>{var _0x3d85b1=_0x8ca89f;for(var _0x228cff=_0x71fda8>0x1?void 0x0:_0x71fda8?Zs(_0x1bff2f,_0x198c6e):_0x1bff2f,_0x2b5742=_0x47a615[_0x3d85b1(0x2a4)]-0x1,_0x43d5fc;_0x2b5742>=0x0;_0x2b5742--)(_0x43d5fc=_0x47a615[_0x2b5742])&&(_0x228cff=_0x43d5fc(_0x228cff)||_0x228cff);return _0x228cff;},mt=(_0x3b069d,_0x3d9249)=>(_0x2a4cf8,_0x519917)=>_0x3d9249(_0x2a4cf8,_0x519917,_0x3b069d);let bt=class extends _0x4aa20b{constructor(_0x44e2c7,_0x23e130,_0x50d9e2){var _0x21a344=_0x8ca89f;super(),N(this,_0x21a344(0x423),new _0x58b670(null)),N(this,_0x21a344(0x31d),this[_0x21a344(0x423)][_0x21a344(0x433)]()),(this[_0x21a344(0x3cc)]=_0x44e2c7,this[_0x21a344(0x3d1)]=_0x23e130,this[_0x21a344(0x157)]=_0x50d9e2);}async[_0x8ca89f(0x3eb)](_0x3be1e6,_0x2c0497,_0x5caa32){var _0x217231=_0x8ca89f;this[_0x217231(0x423)][_0x217231(0x1bc)]({'unitId':_0x3be1e6,'type':_0x2c0497,'subUnitId':_0x5caa32});let _0xf30487=null;switch(_0x2c0497){case Q[_0x217231(0x200)]:{_0xf30487=await this[_0x217231(0x2b2)](_0x3be1e6);break;}case Q[_0x217231(0x2c2)]:{_0xf30487=await this[_0x217231(0x24a)](_0x3be1e6);break;}default:{this[_0x217231(0x3cc)]['error'](_0x217231(0x3b3),_0x217231(0x3c0));break;}}return _0xf30487;}async[_0x8ca89f(0x2b2)](_0x3dea76){var _0x1f0ae5=_0x8ca89f,_0x23b740;let _0x5b97a6=0x0;const _0x490e0d=await((_0x23b740=this[_0x1f0ae5(0x157)])==null?void 0x0:_0x23b740['loadOfflineData'](_0x3dea76));return _0x490e0d&&(_0x490e0d[_0x1f0ae5(0x1c6)]||_0x490e0d[_0x1f0ae5(0x2f3)][_0x1f0ae5(0x2a4)]!==0x0)&&(_0x5b97a6=_0x490e0d['rev']),_0x5b97a6===0x0&&this[_0x1f0ae5(0x3cc)]['debug']('[DataLoaderService]',_0x1f0ae5(0x1a8)),this['_snapshotService'][_0x1f0ae5(0x340)](_0x3dea76,_0x5b97a6);}async[_0x8ca89f(0x24a)](_0x54c918){var _0x51f8a0=_0x8ca89f,_0x138622;let _0x18177a=0x0;const _0x37eb72=await((_0x138622=this[_0x51f8a0(0x157)])==null?void 0x0:_0x138622[_0x51f8a0(0x2f6)](_0x54c918));return _0x37eb72&&(_0x37eb72['awaitingChangeset']||_0x37eb72[_0x51f8a0(0x2f3)][_0x51f8a0(0x2a4)]!==0x0)&&(_0x18177a=_0x37eb72[_0x51f8a0(0x267)]),_0x18177a===0x0&&this[_0x51f8a0(0x3cc)]['debug'](_0x51f8a0(0x3b3),_0x51f8a0(0x1a8)),this['_snapshotService'][_0x51f8a0(0x1c0)](_0x54c918,_0x18177a);}};bt=Qs([mt(0x0,_0x5dea26),mt(0x1,_0x40b328(_0x1a08e2)),mt(0x2,_0x2f6ba1(J))],bt);var er=Object[_0x8ca89f(0x297)],tr=(_0x1214da,_0x537f01,_0x5ad9a4,_0x7ac88e)=>{var _0x4a5f3f=_0x8ca89f;for(var _0x5c3fdc=_0x7ac88e>0x1?void 0x0:_0x7ac88e?er(_0x537f01,_0x5ad9a4):_0x537f01,_0x1a1ccf=_0x1214da[_0x4a5f3f(0x2a4)]-0x1,_0x371b47;_0x1a1ccf>=0x0;_0x1a1ccf--)(_0x371b47=_0x1214da[_0x1a1ccf])&&(_0x5c3fdc=_0x371b47(_0x5c3fdc)||_0x5c3fdc);return _0x5c3fdc;},gt=(_0x12d828,_0x12be8b)=>(_0x34a878,_0x184100)=>_0x12be8b(_0x34a878,_0x184100,_0x12d828);const ir=[_0x8ca89f(0x2b3),_0x8ca89f(0x236),_0x8ca89f(0x39c),_0x8ca89f(0x263),_0x8ca89f(0x176)],nr=0x5*0x400*0x400,sr=_0x8ca89f(0x27a),rr='/universer-api/stream/file/upload',ar=_0x8ca89f(0x29c),or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x18de52,_0x3e8d75,_0x439117){var _0x514591=_0x8ca89f;N(this,_0x514591(0x1f7),0x0),N(this,_0x514591(0x24d),new _0x25c28c()),N(this,_0x514591(0x320),this[_0x514591(0x24d)]),N(this,_0x514591(0x218),new Map()),(this[_0x514591(0x281)]=_0x18de52,this['_configService']=_0x3e8d75,this[_0x514591(0x1b1)]=_0x439117);}[_0x8ca89f(0x2da)](_0x37b430){var _0x55d939=_0x8ca89f;this[_0x55d939(0x1f7)]=_0x37b430,this[_0x55d939(0x24d)][_0x55d939(0x1bc)](_0x37b430);}[_0x8ca89f(0x42d)](_0x34354d,_0x33e929){var _0x1ea59b=_0x8ca89f;if(_0x33e929===_0x32815c[_0x1ea59b(0x2d2)]){const _0x456a46=new Image();return _0x456a46[_0x1ea59b(0x19c)]=_0x34354d,_0x456a46;}return this['_imageSourceCache'][_0x1ea59b(0x2c6)](_0x34354d);}[_0x8ca89f(0x3dd)](_0x33ec72,_0x1e3391,_0xb279f1){var _0x6e40c7=_0x8ca89f;_0x1e3391===_0x32815c[_0x6e40c7(0x2d2)]||_0xb279f1==null||this['_imageSourceCache'][_0x6e40c7(0x165)](_0x33ec72,_0xb279f1);}async['getImage'](_0x46246f){var _0x596c72=_0x8ca89f;try{const _0x183615=this[_0x596c72(0x28f)](this[_0x596c72(0x14a)](),''+_0x46246f),_0x19ed52=(await this[_0x596c72(0x281)][_0x596c72(0x2c6)](_0x183615))['body'];if(_0x19ed52[_0x596c72(0x39e)]&&_0x19ed52[_0x596c72(0x39e)]['code']===Si['OK']){const _0x3148e4=new URL(_0x19ed52['url'],this[_0x596c72(0x228)]())[_0x596c72(0x438)]();return Promise[_0x596c72(0x33a)](_0x3148e4);}return Promise['reject'](_0x19ed52[_0x596c72(0x39e)]);}catch(_0x54fa94){return Promise[_0x596c72(0x153)](_0x54fa94);}}async['saveImage'](_0x2dd115){var _0xf8cf48=_0x8ca89f;let _0x5e5312='';if(!ir[_0xf8cf48(0x150)](_0x2dd115[_0xf8cf48(0x15b)]))return this[_0xf8cf48(0x1eb)](),Promise[_0xf8cf48(0x153)](new Error(_0x30fa8a[_0xf8cf48(0x3ff)]));if(_0x2dd115[_0xf8cf48(0x1e5)]>nr)return this[_0xf8cf48(0x1eb)](),Promise[_0xf8cf48(0x153)](new Error(_0x30fa8a[_0xf8cf48(0x3ea)]));try{const _0x53d4c3=new FormData();_0x53d4c3[_0xf8cf48(0x1ee)](_0xf8cf48(0x264),_0x2dd115);const _0x4db994=this[_0xf8cf48(0x1b1)][_0xf8cf48(0x21e)](),_0x2c0b41=_0x4db994==null?void 0x0:_0x4db994[_0xf8cf48(0x43c)]();if(!_0x2c0b41)throw new Error(_0xf8cf48(0x1a1));const _0xc23377=this[_0xf8cf48(0x2eb)]()+'?size='+_0x2dd115['size'][_0xf8cf48(0x438)]()+'&source='+Ei[_0xf8cf48(0x2aa)]+_0xf8cf48(0x24b)+encodeURIComponent(_0x2c0b41),_0x4da73b=await(await fetch(_0xc23377,{'method':_0xf8cf48(0x26a),'body':_0x53d4c3}))[_0xf8cf48(0x369)]();if(typeof _0x4da73b[_0xf8cf48(0x41c)]!=_0xf8cf48(0x346))return this[_0xf8cf48(0x1eb)](),Promise['reject'](new Error(_0x30fa8a[_0xf8cf48(0x300)]));_0x5e5312=_0x4da73b['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0xf8cf48(0x153)](new Error(_0x30fa8a[_0xf8cf48(0x300)]));}return new Promise((_0x28062c,_0x465a40)=>{var _0x2a2935=_0xf8cf48;const _0x1e1f8e=new FileReader();_0x1e1f8e[_0x2a2935(0x259)](_0x2dd115),_0x1e1f8e[_0x2a2935(0x1cd)]=_0x410901=>{var _0x135821=_0x2a2935,_0x2c1765;const _0x5c601f=(_0x2c1765=_0x410901[_0x135821(0x1b8)])==null?void 0x0:_0x2c1765['result'];if(_0x5c601f==null){this['_decreaseWaiting'](),_0x465a40(new Error(_0x30fa8a[_0x135821(0x300)]));return;}const _0xeb3c94=_0x23d9a1[_0x135821(0x3c4)](0x6);_0x28062c({'imageId':_0xeb3c94,'imageSourceType':_0x32815c['UUID'],'source':_0x5e5312,'base64Cache':_0x5c601f,'status':_0x30fa8a[_0x135821(0x1d3)]}),this[_0x135821(0x1eb)]();};});}['_getUploadFileURL'](){var _0x5ba97a=_0x8ca89f,_0x483322,_0x382ee1;const _0x34a83d=this[_0x5ba97a(0x27b)]['getConfig'](sr),_0x1470e5=this[_0x5ba97a(0x27b)][_0x5ba97a(0x327)](q);return(_0x382ee1=(_0x483322=_0x1470e5==null?void 0x0:_0x1470e5[_0x5ba97a(0x38f)])!=null?_0x483322:_0x34a83d)!=null?_0x382ee1:rr;}[_0x8ca89f(0x14a)](){var _0x512378=_0x8ca89f,_0xc31183,_0x216764;const _0x21dc74=this[_0x512378(0x27b)]['getConfig'](ar),_0x1f9dd6=this[_0x512378(0x27b)][_0x512378(0x327)](q);return(_0x216764=(_0xc31183=_0x1f9dd6==null?void 0x0:_0x1f9dd6[_0x512378(0x358)])!=null?_0xc31183:_0x21dc74)!=null?_0x216764:or;}[_0x8ca89f(0x228)](){var _0x1415f6=_0x8ca89f,_0x3c473a;const _0x5dc492=this[_0x1415f6(0x27b)]['getConfig'](q);return(_0x3c473a=_0x5dc492==null?void 0x0:_0x5dc492[_0x1415f6(0x29a)])!=null?_0x3c473a:location['origin'];}[_0x8ca89f(0x28f)](_0x459225,_0x494afa){var _0x44a49b=_0x8ca89f;return _0x459225[_0x44a49b(0x2ca)](_0x44a49b(0x3a1),_0x494afa);}[_0x8ca89f(0x1eb)](){var _0x2137cc=_0x8ca89f;this[_0x2137cc(0x1f7)]-=0x1,this[_0x2137cc(0x24d)][_0x2137cc(0x1bc)](this[_0x2137cc(0x1f7)]);}};Ot=tr([gt(0x0,_0x40b328(_0x2bff6f)),gt(0x1,_0x4a241c),gt(0x2,_0x40b328(_0x21e2dc))],Ot);var cr=Object[_0x8ca89f(0x297)],hr=(_0x169d16,_0x2ca1ad,_0x5ddbd3,_0x42b98e)=>{var _0xf115c1=_0x8ca89f;for(var _0x4b41ba=_0x42b98e>0x1?void 0x0:_0x42b98e?cr(_0x2ca1ad,_0x5ddbd3):_0x2ca1ad,_0x5c5c93=_0x169d16[_0xf115c1(0x2a4)]-0x1,_0x2790d3;_0x5c5c93>=0x0;_0x5c5c93--)(_0x2790d3=_0x169d16[_0x5c5c93])&&(_0x4b41ba=_0x2790d3(_0x4b41ba)||_0x4b41ba);return _0x4b41ba;},hi=(_0x3952f0,_0x2c8567)=>(_0xf58e1c,_0x515086)=>_0x2c8567(_0xf58e1c,_0x515086,_0x3952f0);const _r=_0x8ca89f(0x1c9);let yt=class{constructor(_0x291dfc,_0x3b8904){this['_configService']=_0x291dfc,this['_HTTPService']=_0x3b8904;}[_0x8ca89f(0x1c7)](){var _0x1376b9=_0x8ca89f,_0xfeb505,_0x240791;const _0x1119d7=this[_0x1376b9(0x27b)]['getConfig'](Ni),_0x4f96c6=this['_configService'][_0x1376b9(0x327)](q);return(_0x240791=(_0xfeb505=_0x4f96c6==null?void 0x0:_0x4f96c6[_0x1376b9(0x16f)])!=null?_0xfeb505:_0x1119d7)!=null?_0x240791:_r;}async[_0x8ca89f(0x1d5)](_0x2e745d){var _0x229f5c=_0x8ca89f;const _0x36362a=this[_0x229f5c(0x1c7)]()+_0x229f5c(0x291);return{'list':[{'title':_0x229f5c(0x163),'mentions':(await this[_0x229f5c(0x143)][_0x229f5c(0x2c6)](_0x36362a,{'params':{'objectID':_0x2e745d['unitId'],'unitID':_0x2e745d['unitId']}}))[_0x229f5c(0x1ae)]['collaborators'][_0x229f5c(0x16a)](_0x17c9d4=>({'objectId':_0x17c9d4['id'],'name':_0x17c9d4['subject'][_0x229f5c(0x1ec)],'metadata':{'icon':_0x17c9d4[_0x229f5c(0x245)][_0x229f5c(0x182)]},'label':_0x17c9d4[_0x229f5c(0x245)]['name'],'objectType':_0x58ca96[_0x229f5c(0x359)]})),'metadata':{},'type':_0x58ca96[_0x229f5c(0x359)]}]};}};yt=hr([hi(0x0,_0x40b328(_0x4a241c)),hi(0x1,_0x40b328(_0x2bff6f))],yt);var lr=Object[_0x8ca89f(0x297)],ur=(_0x226f06,_0x1bb5ba,_0x1b1066,_0x4aea93)=>{var _0x2a09de=_0x8ca89f;for(var _0x350f3f=_0x4aea93>0x1?void 0x0:_0x4aea93?lr(_0x1bb5ba,_0x1b1066):_0x1bb5ba,_0xe143e2=_0x226f06[_0x2a09de(0x2a4)]-0x1,_0xcbb025;_0xe143e2>=0x0;_0xe143e2--)(_0xcbb025=_0x226f06[_0xe143e2])&&(_0x350f3f=_0xcbb025(_0x350f3f)||_0x350f3f);return _0x350f3f;},we=(_0x165336,_0x57405c)=>(_0x590cbf,_0x3db1e5)=>_0x57405c(_0x590cbf,_0x3db1e5,_0x165336);let ot=class extends _0x4aa20b{constructor(_0xcc0294,_0x2c01e5,_0xb858bb,_0x108953,_0x5e0186){var _0x20401b=_0x8ca89f;super(),this[_0x20401b(0x2f0)]=_0xcc0294,this[_0x20401b(0x1b1)]=_0x2c01e5,this[_0x20401b(0x1b2)]=_0xb858bb,this[_0x20401b(0x3cd)]=_0x108953,this[_0x20401b(0x318)]=_0x5e0186,this[_0x20401b(0x154)](),this[_0x20401b(0x380)]();}[_0x8ca89f(0x380)](){var _0x392873=_0x8ca89f;const _0x24004b=async _0x5ca4e5=>{var _0x348932=_0x5c85;(await this[_0x348932(0x3cd)][_0x348932(0x197)](_0x5ca4e5))['event$'][_0x348932(0x3bc)](_0x397cd2(_0x44f3f7=>_0x44f3f7[_0x348932(0x212)]===_0x50cb76[_0x348932(0x3d6)]),_0x9c6fc3(this['dispose$']))['subscribe'](_0x159bb6=>{var _0x203fd9=_0x348932;const _0x2f7d3b=_0x159bb6,{reason:_0x20c3e2}=_0x2f7d3b[_0x203fd9(0x3b7)];this[_0x203fd9(0x318)][_0x203fd9(0x355)]({'id':re[_0x203fd9(0x379)],'data':_0x20c3e2}),this[_0x203fd9(0x1b2)][_0x203fd9(0x29e)](new _0x25b7cf(_0x5ca4e5)['id'],!0x1),this[_0x203fd9(0x3cd)][_0x203fd9(0x3f1)](_0x5ca4e5);});};_0x42434b(this[_0x392873(0x1b1)][_0x392873(0x2f4)](_0x160b1f[_0x392873(0x200)]),this[_0x392873(0x1b1)][_0x392873(0x2f4)](_0x160b1f[_0x392873(0x2c2)]))[_0x392873(0x3bc)](_0x352190(_0x430802=>_0x430802[_0x392873(0x43c)]()),_0x397cd2(_0x2489d7=>!_0x200e26(_0x2489d7)),_0x9c6fc3(this['dispose$']))[_0x392873(0x34d)](_0x4a4e20=>{_0x24004b(_0x4a4e20);});}[_0x8ca89f(0x154)](){var _0x28e812=_0x8ca89f;const _0x20b6dc=async _0x10f154=>{var _0x54902c=_0x5c85;const _0xebfb61=await this[_0x54902c(0x3cd)][_0x54902c(0x197)](_0x10f154),_0x4a9b99=this[_0x54902c(0x2f0)][_0x54902c(0x2c6)](_0x24e273);_0xebfb61[_0x54902c(0x336)][_0x54902c(0x3bc)](_0x397cd2(_0x19a06e=>_0x19a06e[_0x54902c(0x212)]===_0x50cb76['UPDATE_PERMISSION_OBJ']),_0x9c6fc3(this['dispose$']))['subscribe'](_0x51a312=>{var _0x4a6f50=_0x54902c;const _0x55c61b=_0x51a312,{objectId:_0x5f3086}=_0x55c61b[_0x4a6f50(0x3b7)];_0x5f3086===_0x10f154?_0x4a9b99[_0x4a6f50(0x24e)](_0x10f154):_0x4a9b99[_0x4a6f50(0x217)](_0x10f154,_0x5f3086);});};_0x42434b(this[_0x28e812(0x1b1)][_0x28e812(0x2f4)](_0x160b1f[_0x28e812(0x200)]))[_0x28e812(0x3bc)](_0x352190(_0x507044=>_0x507044[_0x28e812(0x43c)]()),_0x397cd2(_0x23b093=>!_0x200e26(_0x23b093)),_0x9c6fc3(this[_0x28e812(0x427)]))[_0x28e812(0x34d)](_0x3778e1=>{_0x20b6dc(_0x3778e1);});}};ot=ur([we(0x0,_0x40b328(_0x481071)),we(0x1,_0x21e2dc),we(0x2,_0x14ac23),we(0x3,_0x40b328(xe)),we(0x4,_0x40b328(pe))],ot);var dr=Object[_0x8ca89f(0x297)],fr=(_0x5958bf,_0x54f808,_0x510190,_0x2f4ccf)=>{var _0x2fc898=_0x8ca89f;for(var _0xe440f4=_0x2f4ccf>0x1?void 0x0:_0x2f4ccf?dr(_0x54f808,_0x510190):_0x54f808,_0x2cc4d3=_0x5958bf[_0x2fc898(0x2a4)]-0x1,_0x2a74ae;_0x2cc4d3>=0x0;_0x2cc4d3--)(_0x2a74ae=_0x5958bf[_0x2cc4d3])&&(_0xe440f4=_0x2a74ae(_0xe440f4)||_0xe440f4);return _0xe440f4;},_i=(_0x371c61,_0x2c3f3e)=>(_0x144482,_0x48d668)=>_0x2c3f3e(_0x144482,_0x48d668,_0x371c61);let Nt=class{constructor(_0x406214,_0x5c0fd7){var _0x53e46a=_0x8ca89f;this[_0x53e46a(0x27b)]=_0x406214,this[_0x53e46a(0x281)]=_0x5c0fd7;}async[_0x8ca89f(0x3da)](_0x26b587,_0x2444e8){var _0xa93f0a=_0x8ca89f,_0x47413d;const {unitID:_0x1ca94c,type:_0x3b278c,revision:_0x189d90=0x0}=_0x2444e8,_0x257ad1=this[_0xa93f0a(0x14c)]()+'/'+_0x3b278c+'/unit/'+_0x1ca94c+_0xa93f0a(0x404)+_0x189d90,_0xc457f3=(await this['_httpService']['get'](_0x257ad1))[_0xa93f0a(0x1ae)],_0x573465=(_0x47413d=_0xc457f3[_0xa93f0a(0x325)])==null?void 0x0:_0x47413d['workbook'];if(_0x573465){const _0x59994a=_0x573465==null?void 0x0:_0x573465['originalMeta'],_0x4007c3=_0x475581[_0xa93f0a(0x14e)](_0xc3ecfe(_0x59994a));_0x573465[_0xa93f0a(0x2e7)]=_0x4007c3,Object['entries'](_0x573465[_0xa93f0a(0x1ad)])['forEach'](([,_0x4704b2])=>{var _0x3e949a=_0xa93f0a;const _0x1323ee=_0x4704b2[_0x3e949a(0x2e7)],_0x905586=_0x475581['encode'](_0xc3ecfe(_0x1323ee));_0x4704b2['originalMeta']=_0x905586;});}return _0xc457f3;}async[_0x8ca89f(0x1d7)](_0x25413c,_0x559ee1){var _0xbe9991=_0x8ca89f;const {unitID:_0x5c1270,type:_0x766adb,blockID:_0x312ef5}=_0x559ee1,_0x5a8061=this[_0xbe9991(0x196)]()+'/'+_0x766adb+_0xbe9991(0x3ad)+_0x5c1270+_0xbe9991(0x392)+_0x312ef5;return(await this[_0xbe9991(0x281)][_0xbe9991(0x2c6)](_0x5a8061))[_0xbe9991(0x1ae)];}async['getDeserializedSheetBlock'](_0x3cae8b,_0x5c935b){var _0x796c93=_0x8ca89f;const {unitID:_0x34e855,type:_0x4bbf56,blockID:_0x23853f}=_0x5c935b,_0xfd636b=this[_0x796c93(0x196)]()+'/block/'+_0x4bbf56+'/unit/'+_0x34e855+_0x796c93(0x392)+_0x23853f;return(await this['_httpService'][_0x796c93(0x2c6)](_0xfd636b))['body'];}async[_0x8ca89f(0x32b)](_0x51a8a9,_0x44957d){var _0x21f57e=_0x8ca89f;const {unitID:_0x4baa94,type:_0x26da79,from:_0x58b1d8,to:_0x27fe6f}=_0x44957d,_0x4adb4a=this[_0x21f57e(0x196)]()+'/'+_0x26da79+_0x21f57e(0x3ad)+_0x4baa94+_0x21f57e(0x3d4)+_0x58b1d8+_0x21f57e(0x2b8)+_0x27fe6f;return(await this[_0x21f57e(0x281)][_0x21f57e(0x2c6)](_0x4adb4a))[_0x21f57e(0x1ae)];}[_0x8ca89f(0x14c)](){var _0x294214=_0x8ca89f,_0x2fdff1;return(_0x2fdff1=this[_0x294214(0x27b)]['getConfig'](Sn))!=null?_0x2fdff1:this[_0x294214(0x196)]();}['_getAPIPrefix'](){var _0x26bc77=_0x8ca89f,_0x21289d,_0x11a83f;const _0x171c21=this['_configService']['getConfig'](mn),_0xf9b87d=this[_0x26bc77(0x27b)][_0x26bc77(0x327)](q);return(_0x11a83f=(_0x21289d=_0xf9b87d==null?void 0x0:_0xf9b87d[_0x26bc77(0x271)])!=null?_0x21289d:_0x171c21)!=null?_0x11a83f:gn;}async['getResourcesRequest'](_0x2215f,_0x12753d){var _0x5a1203=_0x8ca89f;const _0x2eeba7='/universer-api/snapshot/'+_0x12753d['type']+_0x5a1203(0x3ad)+_0x12753d[_0x5a1203(0x356)]+_0x5a1203(0x20a);return(await this['_httpService'][_0x5a1203(0x2c6)](_0x2eeba7,{'params':{'resourceId':JSON[_0x5a1203(0x3ba)](_0x12753d[_0x5a1203(0x1b7)])}}))[_0x5a1203(0x1ae)];}['saveSnapshot'](){var _0x502d30=_0x8ca89f;throw new Error(_0x502d30(0x269));}[_0x8ca89f(0x237)](){var _0x2baa04=_0x8ca89f;throw new Error(_0x2baa04(0x269));}[_0x8ca89f(0x2fb)](){var _0x5a2c2b=_0x8ca89f;throw new Error(_0x5a2c2b(0x269));}[_0x8ca89f(0x1e9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x4ceadd=_0x8ca89f;throw new Error(_0x4ceadd(0x269));}};Nt=fr([_i(0x0,_0x4a241c),_i(0x1,_0x40b328(_0x2bff6f))],Nt);var vr=Object[_0x8ca89f(0x297)],pr=(_0x44af37,_0x232849,_0x3eded,_0x81a110)=>{var _0x497427=_0x8ca89f;for(var _0x5079ed=_0x81a110>0x1?void 0x0:_0x81a110?vr(_0x232849,_0x3eded):_0x232849,_0x586022=_0x44af37[_0x497427(0x2a4)]-0x1,_0x415df5;_0x586022>=0x0;_0x586022--)(_0x415df5=_0x44af37[_0x586022])&&(_0x5079ed=_0x415df5(_0x5079ed)||_0x5079ed);return _0x5079ed;},Pe=(_0x5ceb10,_0x1472b1)=>(_0x348cb0,_0x56f3e1)=>_0x1472b1(_0x348cb0,_0x56f3e1,_0x5ceb10);let Dt=class extends _0x460a58{constructor(_0x12bd1f,_0x593bb2,_0x25654a,_0x1137cd,_0xbaf9f8){var _0x384166=_0x8ca89f;super(_0x12bd1f,_0x593bb2,_0x25654a),this['_transformService']=_0x1137cd,this[_0x384166(0x3cc)]=_0xbaf9f8;}[_0x8ca89f(0x2f1)](_0x458873,_0x52ffd7){var _0x351f8b=_0x8ca89f;const _0x481f01=this['_getUndoStack'](_0x458873);if(_0x481f01)try{const _0x5335e5=this[_0x351f8b(0x2ad)](_0x481f01,_0x52ffd7);this[_0x351f8b(0x2a6)](_0x458873,_0x5335e5);}catch(_0x5936b4){this[_0x351f8b(0x3cc)]['error'](_0x351f8b(0x1ac),_0x5936b4),this[_0x351f8b(0x303)](_0x458873);}const _0x307aed=this['_getRedoStack'](_0x458873);if(_0x307aed)try{const _0x2b5870=this[_0x351f8b(0x2ad)](_0x307aed,_0x52ffd7);this[_0x351f8b(0x2cd)](_0x458873,_0x2b5870);}catch(_0x562200){this[_0x351f8b(0x3cc)][_0x351f8b(0x39e)](_0x562200),this[_0x351f8b(0x2bd)](_0x458873);}}[_0x8ca89f(0x303)](_0x1c1a2e){var _0x1a0690=_0x8ca89f;const _0x39c5b8=this[_0x1a0690(0x2b9)](_0x1c1a2e);_0x39c5b8&&(_0x39c5b8[_0x1a0690(0x2a4)]=0x0,this[_0x1a0690(0x20f)]());}[_0x8ca89f(0x2bd)](_0x38eb9b){var _0x64cfcf=_0x8ca89f;const _0x44deaf=this[_0x64cfcf(0x1b0)](_0x38eb9b);_0x44deaf&&(_0x44deaf[_0x64cfcf(0x2a4)]=0x0,this[_0x64cfcf(0x20f)]());}[_0x8ca89f(0x2a6)](_0x8d4ec,_0x46a451){var _0x3ec7c7=_0x8ca89f;this[_0x3ec7c7(0x3d9)][_0x3ec7c7(0x165)](_0x8d4ec,_0x46a451),this[_0x3ec7c7(0x20f)]();}[_0x8ca89f(0x2cd)](_0x57973b,_0x9d66de){var _0x4ca1c3=_0x8ca89f;this['_redoStacks'][_0x4ca1c3(0x165)](_0x57973b,_0x9d66de),this[_0x4ca1c3(0x20f)]();}['_transformStack'](_0xc0b4d4,_0x559ebe){var _0x33019e=_0x8ca89f;const _0x221b1c=[];let _0x2a3413=_0x559ebe,_0x15fe1f=_0x559ebe;for(let _0x1441a5=_0xc0b4d4[_0x33019e(0x2a4)]-0x1;_0x1441a5>=0x0;_0x1441a5--){const {unitID:_0xd17701,undoMutations:_0xf68a19,redoMutations:_0x270978}=_0xc0b4d4[_0x1441a5],_0x20a566=this[_0x33019e(0x32c)][_0x33019e(0x283)](_0x2a3413,_0xf68a19),_0x4baad1=this[_0x33019e(0x32c)][_0x33019e(0x283)](_0x15fe1f,_0x270978);if(_0x39575b(_0x20a566)||_0x39575b(_0x4baad1)){this[_0x33019e(0x3cc)]['error']('[CollaborationUndoRedoService]',_0x33019e(0x1b3),_0x20a566,_0x4baad1);break;}_0x2a3413=_0x20a566['c1Prime'],_0x15fe1f=_0x4baad1[_0x33019e(0x42c)],_0x221b1c[_0x33019e(0x1c4)]({'unitID':_0xd17701,'undoMutations':_0x20a566[_0x33019e(0x20d)],'redoMutations':_0x4baad1[_0x33019e(0x20d)]});}return _0x221b1c['reverse']();}};Dt=pr([Pe(0x0,_0x21e2dc),Pe(0x1,_0x3757e0),Pe(0x2,_0x3bc2c3),Pe(0x3,_0x32f351),Pe(0x4,_0x5dea26)],Dt);var mr=Object[_0x8ca89f(0x3a3)],gr=Object[_0x8ca89f(0x297)],Sr=(_0x161ff9,_0x511ee1,_0x497f76)=>_0x511ee1 in _0x161ff9?mr(_0x161ff9,_0x511ee1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497f76}):_0x161ff9[_0x511ee1]=_0x497f76,Er=(_0x4fbf96,_0x125ef1,_0xc71cbc,_0x32cc75)=>{for(var _0x125f5c=_0x32cc75>0x1?void 0x0:_0x32cc75?gr(_0x125ef1,_0xc71cbc):_0x125ef1,_0x538767=_0x4fbf96['length']-0x1,_0x3e4835;_0x538767>=0x0;_0x538767--)(_0x3e4835=_0x4fbf96[_0x538767])&&(_0x125f5c=_0x3e4835(_0x125f5c)||_0x125f5c);return _0x125f5c;},St=(_0x37ec86,_0x355488)=>(_0x4b304c,_0x381f36)=>_0x355488(_0x4b304c,_0x381f36,_0x37ec86),Ir=(_0xa69305,_0x4194e5,_0x173af3)=>Sr(_0xa69305,_0x4194e5+'',_0x173af3);const Tr=_0x8ca89f(0x1a2);let Ut=class extends _0x165733{constructor(_0x32b93e,_0x3e83d3,_0x266329,_0x3e148d){var _0x3c459f=_0x8ca89f;super(),N(this,'_config'),(this[_0x3c459f(0x3cc)]=_0x3e83d3,this[_0x3c459f(0x2f0)]=_0x266329,this[_0x3c459f(0x27b)]=_0x3e148d);const {..._0x392388}=_0x131a02({},wn,_0x32b93e);if(!_0x392388[_0x3c459f(0x439)])throw new Error(_0x3c459f(0x2b6));this[_0x3c459f(0x221)]=_0x392388,this[_0x3c459f(0x27b)][_0x3c459f(0x1f3)](q,_0x392388);}[_0x8ca89f(0x23f)](){var _0x11ce24=_0x8ca89f;this[_0x11ce24(0x23a)](),this[_0x11ce24(0x254)]();}['_registerDependencies'](){var _0x8c16ff=_0x8ca89f,_0x230183,_0x38d8dc;this['_injector'][_0x8c16ff(0x246)](_0x13f494)&&this[_0x8c16ff(0x3cc)][_0x8c16ff(0x39e)](_0x8c16ff(0x348),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x38e258=_0x16639e([[_0x13f494,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x8c16ff(0x221)]['socketService']}],[_0x622c1a,{'useClass':Nt}],[_0x457ba3,{'useClass':Rt}],[_0xc25c56,{'useClass':Ot}],[_0x3f7401,{'useClass':yt}],[st],[Ct]],(_0x230183=this[_0x8c16ff(0x221)])==null?void 0x0:_0x230183[_0x8c16ff(0x434)]);if(!((_0x38d8dc=this['_config'])!=null&&_0x38d8dc[_0x8c16ff(0x216)])){const _0x3d2abe=_0x38e258['findIndex'](([_0x490acb])=>_0x490acb===ht);_0x3d2abe!==-0x1&&_0x38e258[_0x8c16ff(0x410)](_0x3d2abe,0x1);}_0x499516(this['_injector'],_0x38e258);}['_initDependencies'](){var _0xf050ee=_0x8ca89f,_0x2a05f4,_0x1b6705,_0x43c65f;this[_0xf050ee(0x2f0)]['get'](_0x2bff6f)[_0xf050ee(0x3bb)]({'priority':0x14,'interceptor':_0x42ce41({'maxParallel':0x6})}),(_0x2a05f4=this[_0xf050ee(0x221)])!=null&&_0x2a05f4['enableOfflineEditing']||(_0x1b6705=this['_injector']['get'](J,_0x5e0562[_0xf050ee(0x333)]))==null||_0x1b6705[_0xf050ee(0x37c)](),(_0x43c65f=this['_config'])!=null&&_0x43c65f[_0xf050ee(0x43a)]&&_0x3a7db1(this[_0xf050ee(0x2f0)],[[rt]]),_0x3a7db1(this[_0xf050ee(0x2f0)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x3f331a(_0x18c3c4,_0x19fdd8),St(0x1,_0x5dea26),St(0x2,_0x40b328(_0x481071)),St(0x3,_0x4a241c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|