@univerjs-pro/collaboration-client 0.10.3 → 0.10.4-nightly.202508220605
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +12 -12
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x4a5b68=_0x625c;(function(_0x32708a,_0x482f04){var _0x1ffa11=_0x625c,_0x2f3164=_0x32708a();while(!![]){try{var _0x33a609=-parseInt(_0x1ffa11(0x400))/0x1*(parseInt(_0x1ffa11(0x35c))/0x2)+-parseInt(_0x1ffa11(0x1a5))/0x3+-parseInt(_0x1ffa11(0x34a))/0x4+-parseInt(_0x1ffa11(0x36b))/0x5+parseInt(_0x1ffa11(0x255))/0x6*(-parseInt(_0x1ffa11(0x302))/0x7)+parseInt(_0x1ffa11(0x40c))/0x8*(parseInt(_0x1ffa11(0x3dc))/0x9)+parseInt(_0x1ffa11(0x1b6))/0xa;if(_0x33a609===_0x482f04)break;else _0x2f3164['push'](_0x2f3164['shift']());}catch(_0x253539){_0x2f3164['push'](_0x2f3164['shift']());}}}(_0x54ff,0x65b27));var yi=Object[_0x4a5b68(0x1c5)],Ni=(_0x29fd5b,_0x28f21f,_0x25d36a)=>_0x28f21f in _0x29fd5b?yi(_0x29fd5b,_0x28f21f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25d36a}):_0x29fd5b[_0x28f21f]=_0x25d36a,N=(_0x2d1162,_0x1eb9d3,_0x3393d8)=>Ni(_0x2d1162,typeof _0x1eb9d3!=_0x4a5b68(0x1b2)?_0x1eb9d3+'':_0x1eb9d3,_0x3393d8);import{CollaborationEvent as _0x1c3d7c,ITransformService as _0x1100d1,isTransformMutationsWithChangesetSuccess as _0x8df0ba,mapDocumentTypeToUniverType as _0xff30d0,RevisionService as _0x4dbd05,isTransformChangesetsSuccess as _0x47e16c,CompressMutationService as _0x5641fb,parseProtocolChangeset as _0x575503,uuidv4 as _0x586d39,ISnapshotServerService as _0x254a7c,parseChangesetToProtocol as _0x481981,SnapshotService as _0x22c36b,textEncoder as _0x4153d9,b64DecodeUnicode as _0x2fc297,isTransformMutationsWithChangesetFailure as _0x3ae0d0,UniverCollaborationPlugin as _0x474421}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x17b18c,Inject as _0x3c3c0e,UserManagerService as _0x513107,Disposable as _0x58dc49,UniverInstanceType as _0xedbaa7,ILogService as _0x2ab23b,IConfigService as _0x4647a9,Optional as _0x5db11f,RxDisposable as _0x516120,createIdentifier as _0x58fd9c,Injector as _0x1f171a,Tools as _0x3b02e2,Rectangle as _0x20f36c,ICommandService as _0x27b315,JSONX as _0x3fd161,CommandType as _0x1b3724,IUndoRedoService as _0x58418c,IPermissionService as _0x7fef79,LocaleService as _0x2274bc,sequenceExecute as _0x22fc32,toDisposable as _0x28cbad,DisposableCollection as _0x5f3310,Workbook as _0x47f817,generateRandomId as _0x53b156,MentionType as _0x4ba192,isInternalEditorID as _0x3c5eff,LocalUndoRedoService as _0x3fda25,IContextService as _0x1294b7,DependentOn as _0x372abb,Plugin as _0x3cec3b,merge as _0x13d736,mergeOverrideWithDependencies as _0x1cac35,IAuthzIoService as _0x33a818,IMentionIOService as _0x88472e,registerDependencies as _0xd2ad20,Quantity as _0x2e16d4,touchDependencies as _0x2ee797}from'@univerjs/core';import{RichTextEditingMutation as _0x20b2a6}from'@univerjs/docs';import{SheetsSelectionsService as _0x3b9358,SetSelectionsOperation as _0x520fb2,InsertSheetMutation as _0x2e0b11,EmptyMutation as _0x22676d,WorkbookEditablePermission as _0x243f8c,SheetPermissionInitController as _0x43b84b}from'@univerjs/sheets';import{Subject as _0x1ce5f0,merge as _0x3957d0,of as _0x21780f,BehaviorSubject as _0x5c19c8,takeUntil as _0x5c7236,ReplaySubject as _0x313db0,take as _0x168aca,map as _0x2b93b1,shareReplay as _0x50f5bb,firstValueFrom as _0x4f7f89,concatMap as _0x5ecc49}from'rxjs';import{ITelemetryService as _0x58f403}from'@univerjs/telemetry';import{map as _0xf0b4c3,take as _0x478b67,filter as _0x3a365b,delay as _0x2ba294,takeUntil as _0x3151c3}from'rxjs/operators';import{HTTPService as _0x2e87db,ISocketService as _0x45aa44,MergeInterceptorFactory as _0x5e20ba,HTTPRequest as _0x19f88e,UniverNetworkPlugin as _0xf7f136,ThresholdInterceptorFactory as _0x460f4b}from'@univerjs/network';import{ImageSourceType as _0x5dfe8c,ImageUploadStatusType as _0x4d23a9,IImageIoService as _0x1fe41e}from'@univerjs/drawing';import{getGlobalObject as _0x5219c3}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x4a5b68(0x3fe),ps=0x7d0,ms=_0x4a5b68(0x1de),Ir=_0x4a5b68(0x435),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0x4a5b68(0x39a),Ts=0x3,Tr=_0x4a5b68(0x2c8),Cr=0x3e8,Cs=_0x4a5b68(0x2df),Rs=_0x4a5b68(0x2c9),Rr=_0x4a5b68(0x1e9),Or=_0x4a5b68(0x22b);var vi=(_0x53ab97=>(_0x53ab97[_0x53ab97[_0x4a5b68(0x2ec)]=0x0]=_0x4a5b68(0x2ec),_0x53ab97[_0x53ab97['OK']=0x1]='OK',_0x53ab97[_0x53ab97[_0x4a5b68(0x37c)]=0x2]=_0x4a5b68(0x37c),_0x53ab97[_0x53ab97[_0x4a5b68(0x2c2)]=0x3]=_0x4a5b68(0x2c2),_0x53ab97[_0x53ab97[_0x4a5b68(0x33f)]=0x4]=_0x4a5b68(0x33f),_0x53ab97[_0x53ab97[_0x4a5b68(0x1bd)]=0x5]='UNAUTHENTICATED',_0x53ab97[_0x53ab97['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x53ab97[_0x53ab97[_0x4a5b68(0x3a1)]=0x7]=_0x4a5b68(0x3a1),_0x53ab97[_0x53ab97[_0x4a5b68(0x3dd)]=0x8]=_0x4a5b68(0x3dd),_0x53ab97[_0x53ab97[_0x4a5b68(0x440)]=0x9]=_0x4a5b68(0x440),_0x53ab97[_0x53ab97['LOGIN_FAILED']=0xa]=_0x4a5b68(0x3b3),_0x53ab97[_0x53ab97[_0x4a5b68(0x2f9)]=0xb]=_0x4a5b68(0x2f9),_0x53ab97[_0x53ab97[_0x4a5b68(0x259)]=0xc]=_0x4a5b68(0x259),_0x53ab97[_0x53ab97[_0x4a5b68(0x3b1)]=0xd]=_0x4a5b68(0x3b1),_0x53ab97[_0x53ab97['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4a5b68(0x263),_0x53ab97[_0x53ab97[_0x4a5b68(0x413)]=0x1389]=_0x4a5b68(0x413),_0x53ab97[_0x53ab97['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4a5b68(0x3c8),_0x53ab97[_0x53ab97['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4a5b68(0x2de),_0x53ab97[_0x53ab97[_0x4a5b68(0x1e6)]=0x1773]=_0x4a5b68(0x1e6),_0x53ab97[_0x53ab97[_0x4a5b68(0x215)]=0x1b59]=_0x4a5b68(0x215),_0x53ab97[_0x53ab97['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x53ab97[_0x53ab97[_0x4a5b68(0x264)]=0x1b5b]=_0x4a5b68(0x264),_0x53ab97[_0x53ab97[_0x4a5b68(0x2fe)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x53ab97[_0x53ab97[_0x4a5b68(0x2a7)]=0x1b5d]=_0x4a5b68(0x2a7),_0x53ab97[_0x53ab97[_0x4a5b68(0x3f2)]=0x1f41]=_0x4a5b68(0x3f2),_0x53ab97[_0x53ab97[_0x4a5b68(0x39f)]=0x2329]=_0x4a5b68(0x39f),_0x53ab97[_0x53ab97['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4a5b68(0x266),_0x53ab97[_0x53ab97[_0x4a5b68(0x321)]=0x232b]=_0x4a5b68(0x321),_0x53ab97[_0x53ab97[_0x4a5b68(0x2d0)]=0x232c]=_0x4a5b68(0x2d0),_0x53ab97[_0x53ab97[_0x4a5b68(0x26d)]=0x232d]=_0x4a5b68(0x26d),_0x53ab97[_0x53ab97[_0x4a5b68(0x3d8)]=0x2711]=_0x4a5b68(0x3d8),_0x53ab97[_0x53ab97[_0x4a5b68(0x34e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x53ab97[_0x53ab97['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4a5b68(0x434),_0x53ab97[_0x53ab97['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4a5b68(0x3ee),_0x53ab97[_0x53ab97[_0x4a5b68(0x2e5)]=0x271a]=_0x4a5b68(0x2e5),_0x53ab97[_0x53ab97[_0x4a5b68(0x3df)]=0x271b]=_0x4a5b68(0x3df),_0x53ab97[_0x53ab97['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4a5b68(0x269),_0x53ab97[_0x53ab97[_0x4a5b68(0x436)]=0x271d]=_0x4a5b68(0x436),_0x53ab97[_0x53ab97[_0x4a5b68(0x37f)]=0x271e]=_0x4a5b68(0x37f),_0x53ab97[_0x53ab97['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4a5b68(0x47f),_0x53ab97[_0x53ab97[_0x4a5b68(0x23e)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x53ab97[_0x53ab97[_0x4a5b68(0x2ac)]=0x2af9]=_0x4a5b68(0x2ac),_0x53ab97[_0x53ab97['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4a5b68(0x415),_0x53ab97[_0x53ab97[_0x4a5b68(0x1b8)]=0x2ee2]=_0x4a5b68(0x1b8),_0x53ab97[_0x53ab97[_0x4a5b68(0x317)]=0x2ee3]=_0x4a5b68(0x317),_0x53ab97[_0x53ab97[_0x4a5b68(0x367)]=0x2ee4]=_0x4a5b68(0x367),_0x53ab97[_0x53ab97['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a5b68(0x351),_0x53ab97[_0x53ab97['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x53ab97[_0x53ab97[_0x4a5b68(0x20a)]=0x32ca]=_0x4a5b68(0x20a),_0x53ab97[_0x53ab97[_0x4a5b68(0x451)]=0x32cb]=_0x4a5b68(0x451),_0x53ab97[_0x53ab97[_0x4a5b68(0x3a5)]=-0x1]=_0x4a5b68(0x3a5),_0x53ab97))(vi||{}),Z=(_0x337047=>(_0x337047[_0x337047[_0x4a5b68(0x254)]=0x0]=_0x4a5b68(0x254),_0x337047[_0x337047['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x337047[_0x337047[_0x4a5b68(0x197)]=0x2]=_0x4a5b68(0x197),_0x337047[_0x337047[_0x4a5b68(0x399)]=0x3]='UNIVER_SLIDE',_0x337047[_0x337047[_0x4a5b68(0x196)]=0x4]=_0x4a5b68(0x196),_0x337047[_0x337047[_0x4a5b68(0x3a5)]=-0x1]=_0x4a5b68(0x3a5),_0x337047))(Z||{}),F=(_0x3ef9da=>(_0x3ef9da[_0x3ef9da[_0x4a5b68(0x2b0)]=0x0]=_0x4a5b68(0x2b0),_0x3ef9da[_0x3ef9da['HELLO']=0x1]=_0x4a5b68(0x353),_0x3ef9da[_0x3ef9da[_0x4a5b68(0x3c1)]=0x2]=_0x4a5b68(0x3c1),_0x3ef9da[_0x3ef9da[_0x4a5b68(0x2af)]=0x3]='LEAVE',_0x3ef9da[_0x3ef9da[_0x4a5b68(0x405)]=0x4]=_0x4a5b68(0x405),_0x3ef9da[_0x3ef9da[_0x4a5b68(0x306)]=0x5]=_0x4a5b68(0x306),_0x3ef9da[_0x3ef9da['RECV']=0x6]=_0x4a5b68(0x408),_0x3ef9da[_0x3ef9da[_0x4a5b68(0x3a5)]=-0x1]=_0x4a5b68(0x3a5),_0x3ef9da))(F||{}),pe=(_0xfee0e9=>(_0xfee0e9[_0xfee0e9[_0x4a5b68(0x205)]=0x0]=_0x4a5b68(0x205),_0xfee0e9[_0xfee0e9['OK']=0x1]='OK',_0xfee0e9[_0xfee0e9[_0x4a5b68(0x38c)]=0x2]=_0x4a5b68(0x38c),_0xfee0e9[_0xfee0e9[_0x4a5b68(0x1fa)]=0x3e9]=_0x4a5b68(0x1fa),_0xfee0e9[_0xfee0e9[_0x4a5b68(0x30b)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xfee0e9[_0xfee0e9[_0x4a5b68(0x200)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xfee0e9[_0xfee0e9[_0x4a5b68(0x1e8)]=0x3ec]=_0x4a5b68(0x1e8),_0xfee0e9[_0xfee0e9[_0x4a5b68(0x3a5)]=-0x1]='UNRECOGNIZED',_0xfee0e9))(pe||{}),pi=(_0x31babc=>(_0x31babc[_0x31babc[_0x4a5b68(0x2db)]=0x0]='Undefined',_0x31babc[_0x31babc[_0x4a5b68(0x249)]=0x1]=_0x4a5b68(0x249),_0x31babc[_0x31babc[_0x4a5b68(0x3aa)]=0x2]='HttpExport',_0x31babc[_0x31babc[_0x4a5b68(0x37b)]=0x3]=_0x4a5b68(0x37b),_0x31babc[_0x31babc[_0x4a5b68(0x2ab)]=0x4]=_0x4a5b68(0x2ab),_0x31babc[_0x31babc[_0x4a5b68(0x274)]=0x5]=_0x4a5b68(0x274),_0x31babc[_0x31babc[_0x4a5b68(0x3a5)]=-0x1]=_0x4a5b68(0x3a5),_0x31babc))(pi||{});const Os=_0x4a5b68(0x29e);function bs(_0x1e49f1){var _0x39b82d=_0x4a5b68;return JSON[_0x39b82d(0x44c)](_0x1e49f1)[_0x39b82d(0x2fd)];}var ne=(_0x91cb2a=>(_0x91cb2a['OTHER_CLIENT_EDITING']=_0x4a5b68(0x36d),_0x91cb2a[_0x4a5b68(0x2c2)]=_0x4a5b68(0x2c2),_0x91cb2a['CONFLICT']='CONFLICT',_0x91cb2a['CLOSE_ROOM']=_0x4a5b68(0x3d0),_0x91cb2a['JOIN_ROOM_FAILED']=_0x4a5b68(0x392),_0x91cb2a[_0x4a5b68(0x383)]=_0x4a5b68(0x383),_0x91cb2a['SOCKET_FAILED']=_0x4a5b68(0x218),_0x91cb2a[_0x4a5b68(0x420)]=_0x4a5b68(0x420),_0x91cb2a))(ne||{});class ve{constructor(){var _0x3d408b=_0x4a5b68;N(this,_0x3d408b(0x33c),new _0x1ce5f0()),N(this,'event$',this[_0x3d408b(0x33c)][_0x3d408b(0x378)]());}[_0x4a5b68(0x478)](_0x407447){var _0x137d6b=_0x4a5b68;this[_0x137d6b(0x33c)][_0x137d6b(0x43b)](_0x407447);}}class mi{constructor(){var _0x4eebdf=_0x4a5b68;N(this,'_commentUpdate$',new _0x1ce5f0()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x4eebdf(0x378)]());}[_0x4a5b68(0x204)](_0x481bc4){var _0x300267=_0x4a5b68;this[_0x300267(0x29c)][_0x300267(0x43b)](_0x481bc4);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0x4c3b7c,_0x5ca2a3,_0x30e82d,_0x3c3f61)=>{var _0x2ee702=_0x4a5b68;for(var _0x162d51=_0x3c3f61>0x1?void 0x0:_0x3c3f61?ys(_0x5ca2a3,_0x30e82d):_0x5ca2a3,_0x274e9b=_0x4c3b7c[_0x2ee702(0x2fd)]-0x1,_0x680f43;_0x274e9b>=0x0;_0x274e9b--)(_0x680f43=_0x4c3b7c[_0x274e9b])&&(_0x162d51=_0x680f43(_0x162d51)||_0x162d51);return _0x162d51;},Ft=(_0x49c294,_0x50cde8)=>(_0x333fc0,_0x1f8204)=>_0x50cde8(_0x333fc0,_0x1f8204,_0x49c294);let we=class extends _0x58dc49{constructor(_0x2ab294,_0x489d16){var _0x907961=_0x4a5b68;super(),N(this,_0x907961(0x362),new Map()),N(this,'_roomCreated$',new _0x1ce5f0()),(this[_0x907961(0x29f)]=_0x2ab294,this['_userManagerService']=_0x489d16,this['disposeWithMe'](_0x3957d0(this[_0x907961(0x29f)][_0x907961(0x217)](_0xedbaa7[_0x907961(0x197)])[_0x907961(0x366)](_0xf0b4c3(_0x131907=>_0x131907['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xedbaa7[_0x907961(0x3b5)])[_0x907961(0x366)](_0xf0b4c3(_0x57ff74=>_0x57ff74['getUnitId']())),this[_0x907961(0x29f)][_0x907961(0x217)](_0xedbaa7[_0x907961(0x399)])[_0x907961(0x366)](_0xf0b4c3(_0x232be1=>_0x232be1[_0x907961(0x347)]())))[_0x907961(0x407)](_0x4026c1=>this[_0x907961(0x1ec)](_0x4026c1))));}[_0x4a5b68(0x388)](_0x307cd4){var _0x10fc50=_0x4a5b68;return this['_roomMembers'][_0x10fc50(0x19b)](_0x307cd4)?_0x21780f(this['_roomMembers']['get'](_0x307cd4)):this[_0x10fc50(0x482)]['pipe'](_0xf0b4c3(_0x4b8855=>{if(_0x4b8855===_0x307cd4)return this['_roomMembers']['get'](_0x4b8855);}));}[_0x4a5b68(0x2c0)](_0xcac05d){var _0x1bf865=_0x4a5b68;this['_userManagerService'][_0x1bf865(0x2c0)](_0xcac05d);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}['updateMember'](_0x369418,_0x4dac5c){var _0x1a054b=_0x4a5b68;let _0x1555a1=this[_0x1a054b(0x362)][_0x1a054b(0x3b0)](_0x369418);_0x1555a1||(_0x1555a1=new Ds(),this['_roomMembers'][_0x1a054b(0x3a3)](_0x369418,_0x1555a1),this[_0x1a054b(0x482)][_0x1a054b(0x43b)](_0x369418)),_0x1555a1['updateMember'](_0x4dac5c);}[_0x4a5b68(0x231)](_0xc3e8a9,_0x2c407d){var _0x4fc51c=_0x4a5b68;const _0x32955d=this[_0x4fc51c(0x362)][_0x4fc51c(0x3b0)](_0xc3e8a9);_0x32955d&&_0x32955d[_0x4fc51c(0x231)](_0x2c407d);}[_0x4a5b68(0x219)](_0x5417a5){var _0x179627=_0x4a5b68;return this['_roomMembers'][_0x179627(0x3b0)](_0x5417a5);}[_0x4a5b68(0x209)](_0x4df8dd,_0x3e226e){var _0x3c6037=_0x4a5b68;const _0x39043e=this['_roomMembers'][_0x3c6037(0x3b0)](_0x4df8dd);if(_0x39043e)return _0x39043e[_0x3c6037(0x209)](_0x3e226e);}[_0x4a5b68(0x1ec)](_0x1efcf0){var _0x39e33e=_0x4a5b68;const _0x96605e=this[_0x39e33e(0x362)][_0x39e33e(0x3b0)](_0x1efcf0);_0x96605e&&(_0x96605e['dispose'](),this['_roomMembers'][_0x39e33e(0x441)](_0x1efcf0));}[_0x4a5b68(0x33e)](){var _0x3be7eb=_0x4a5b68;this[_0x3be7eb(0x362)][_0x3be7eb(0x381)](_0x280de1=>_0x280de1[_0x3be7eb(0x33e)]()),this['_roomMembers'][_0x3be7eb(0x379)](),this[_0x3be7eb(0x482)]['complete']();}};we=Ns([Ft(0x0,_0x17b18c),Ft(0x1,_0x3c3c0e(_0x513107))],we);class Ds extends _0x58dc49{constructor(){var _0x2bcb12=_0x4a5b68;super(...arguments),N(this,_0x2bcb12(0x3d2),new Map()),N(this,_0x2bcb12(0x43d),new _0x5c19c8(this[_0x2bcb12(0x3d2)])),N(this,'members$',this[_0x2bcb12(0x43d)][_0x2bcb12(0x378)]());}[_0x4a5b68(0x33e)](){var _0x155ee3=_0x4a5b68;this['_members'][_0x155ee3(0x379)]();}['updateMember'](_0x24a097){var _0x573265=_0x4a5b68;this[_0x573265(0x3d2)][_0x573265(0x3a3)](_0x24a097[_0x573265(0x3e9)],_0x24a097),this[_0x573265(0x46e)]();}[_0x4a5b68(0x231)](_0x3cabaf){var _0x49ef00=_0x4a5b68;this[_0x49ef00(0x3d2)][_0x49ef00(0x441)](_0x3cabaf);}[_0x4a5b68(0x209)](_0x1daf78){var _0x206670=_0x4a5b68;return this[_0x206670(0x3d2)][_0x206670(0x3b0)](_0x1daf78);}['getAllMembers'](){var _0x1e49e1=_0x4a5b68;return Array[_0x1e49e1(0x1e2)](this[_0x1e49e1(0x3d2)][_0x1e49e1(0x225)]());}[_0x4a5b68(0x46e)](){var _0x148412=_0x4a5b68;this['_members$'][_0x148412(0x43b)](this[_0x148412(0x3d2)]);}}var Us=Object[_0x4a5b68(0x3f1)],As=(_0x1c4247,_0x3f8a39,_0x2315e4,_0x5c0f58)=>{var _0x1a04f2=_0x4a5b68;for(var _0x2b8eba=_0x5c0f58>0x1?void 0x0:_0x5c0f58?Us(_0x3f8a39,_0x2315e4):_0x3f8a39,_0x4b114e=_0x1c4247[_0x1a04f2(0x2fd)]-0x1,_0x1dd02b;_0x4b114e>=0x0;_0x4b114e--)(_0x1dd02b=_0x1c4247[_0x4b114e])&&(_0x2b8eba=_0x1dd02b(_0x2b8eba)||_0x2b8eba);return _0x2b8eba;},Ce=(_0x3c609a,_0x36214a)=>(_0xe02d8b,_0x22b914)=>_0x36214a(_0xe02d8b,_0x22b914,_0x3c609a),ge=(_0x3aceff=>(_0x3aceff[_0x3aceff['IDLE']=0x0]=_0x4a5b68(0x194),_0x3aceff[_0x3aceff[_0x4a5b68(0x2e2)]=0x1]='JOINING',_0x3aceff[_0x3aceff[_0x4a5b68(0x44f)]=0x2]=_0x4a5b68(0x44f),_0x3aceff[_0x3aceff['ONLINE']=0x3]=_0x4a5b68(0x320),_0x3aceff))(ge||{});const Vt={[pe[_0x4a5b68(0x38c)]]:_0x4a5b68(0x2e9),[pe[_0x4a5b68(0x1fa)]]:_0x4a5b68(0x1dc),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x4a5b68(0x423),[pe[_0x4a5b68(0x200)]]:_0x4a5b68(0x23a),[pe[_0x4a5b68(0x1e8)]]:_0x4a5b68(0x2e6)};let gt=class extends _0x516120{constructor(_0x10d234,_0x285dfc,_0x15b324,_0x11610f,_0x5a5ffd,_0xa0a839,_0x5798db,_0x211323){var _0x193970=_0x4a5b68;super(),N(this,_0x193970(0x1f8),new _0x5c19c8(0x0)),N(this,_0x193970(0x3e3),this[_0x193970(0x1f8)][_0x193970(0x378)]()),N(this,'_event$',new _0x1ce5f0()),N(this,'event$',this[_0x193970(0x33c)][_0x193970(0x378)]()),N(this,_0x193970(0x326)),N(this,_0x193970(0x26a)),N(this,_0x193970(0x36f)),N(this,_0x193970(0x19c),!0x1),N(this,'_telemetryInfo',null),(this[_0x193970(0x2a5)]=_0x10d234,this[_0x193970(0x30d)]=_0x15b324,this[_0x193970(0x3d4)]=_0x11610f,this[_0x193970(0x294)]=_0x5a5ffd,this[_0x193970(0x1a4)]=_0xa0a839,this[_0x193970(0x224)]=_0x5798db,this[_0x193970(0x1aa)]=_0x211323,this[_0x193970(0x19c)]=!!this[_0x193970(0x1aa)],_0x285dfc['pipe'](_0x5c7236(this['dispose$']))[_0x193970(0x407)](_0x3db60f=>{var _0x4d8b60=_0x193970,_0x1c9caa;typeof _0x3db60f>'u'||(this['_socket']=_0x3db60f,_0x3db60f?(this[_0x4d8b60(0x3ce)](_0x3db60f),this[_0x4d8b60(0x26a)]=_0x3db60f[_0x4d8b60(0x35b)][_0x4d8b60(0x407)](_0x23ba34=>{var _0x14dfdf=_0x4d8b60;_0x23ba34[_0x14dfdf(0x42f)]===this[_0x14dfdf(0x2a5)]&&this[_0x14dfdf(0x426)](_0x23ba34);})):(this[_0x4d8b60(0x1ad)](),this[_0x4d8b60(0x1f8)]['next'](0x2),(_0x1c9caa=this['_socketMessageSubscription'])==null||_0x1c9caa[_0x4d8b60(0x3cc)](),this[_0x4d8b60(0x26a)]=null));}));}get[_0x4a5b68(0x290)](){var _0x4ec1a9=_0x4a5b68;return this[_0x4ec1a9(0x1f8)]['getValue']();}['getMemberID'](){var _0x5b0f8a=_0x4a5b68,_0x292b1d,_0x154fa9;return(_0x154fa9=(_0x292b1d=this[_0x5b0f8a(0x326)])==null?void 0x0:_0x292b1d['memberID'])!=null?_0x154fa9:null;}['dispose'](){var _0x508f9f=_0x4a5b68;super[_0x508f9f(0x33e)](),this['dispose$'][_0x508f9f(0x43b)](),this[_0x508f9f(0x328)][_0x508f9f(0x293)]();}['close'](){var _0x155da5=_0x4a5b68,_0x3d22fe,_0x57519d;this[_0x155da5(0x1ad)](),(_0x3d22fe=this[_0x155da5(0x326)])==null||_0x3d22fe[_0x155da5(0x402)]({'cmd':F[_0x155da5(0x2af)],'data':{'roomID':this[_0x155da5(0x2a5)]}}),(_0x57519d=this[_0x155da5(0x326)])==null||_0x57519d[_0x155da5(0x46a)](),this[_0x155da5(0x33c)]['complete'](),this[_0x155da5(0x1f8)][_0x155da5(0x293)](),this[_0x155da5(0x33e)]();}[_0x4a5b68(0x426)](_0x2a79cc){var _0xc9100=_0x4a5b68;_0x2a79cc[_0xc9100(0x20d)]===F[_0xc9100(0x3c1)]?this['_onJoinRoomEvent'](_0x2a79cc):_0x2a79cc[_0xc9100(0x20d)]===F[_0xc9100(0x408)]&&this[_0xc9100(0x3e5)](_0x2a79cc);}[_0x4a5b68(0x3ce)](_0x1b5bbd){var _0x498482=_0x4a5b68;this[_0x498482(0x1f8)][_0x498482(0x43b)](0x1),_0x1b5bbd[_0x498482(0x402)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x498482(0x2a5)]}]}});}['_onJoinRoomEvent'](_0x2c1494){var _0x3c7941=_0x4a5b68,_0x2e1861;if(_0x2c1494[_0x3c7941(0x48e)]in Vt){this[_0x3c7941(0x224)][_0x3c7941(0x478)]({'id':ne[_0x3c7941(0x392)],'data':Vt[_0x2c1494['code']]}),this[_0x3c7941(0x1f8)][_0x3c7941(0x43b)](0x2);return;}this[_0x3c7941(0x1f8)][_0x3c7941(0x43b)](0x3);const _0x274eee=(_0x2e1861=_0x2c1494['data'][_0x3c7941(0x1fb)][this[_0x3c7941(0x2a5)]])==null?void 0x0:_0x2e1861[_0x3c7941(0x277)];_0x274eee&&_0x274eee['forEach'](_0x341da1=>this[_0x3c7941(0x294)][_0x3c7941(0x206)](this['_unitID'],_0x341da1));}[_0x4a5b68(0x3e5)](_0x1a0686){var _0x1feb73=_0x4a5b68;try{const _0x503303=_0x1a0686[_0x1feb73(0x2c7)];switch(_0x503303[_0x1feb73(0x285)]){case _0x1c3d7c[_0x1feb73(0x236)]:this[_0x1feb73(0x318)](_0x503303),this['_event$'][_0x1feb73(0x43b)](_0x503303);break;case _0x1c3d7c[_0x1feb73(0x1d0)]:this[_0x1feb73(0x31a)](_0x503303),this['_event$'][_0x1feb73(0x43b)](_0x503303);break;case _0x1c3d7c[_0x1feb73(0x226)]:case _0x1c3d7c[_0x1feb73(0x1c4)]:this[_0x1feb73(0x3b9)](),this[_0x1feb73(0x357)](),this[_0x1feb73(0x33c)][_0x1feb73(0x43b)](_0x503303);break;case _0x1c3d7c['MSG_FOR_ERROR']:this[_0x1feb73(0x30d)][_0x1feb73(0x3ba)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x503303)),this[_0x1feb73(0x33c)][_0x1feb73(0x43b)](_0x503303);break;case _0x1c3d7c['COMMENT_UPDATE']:this[_0x1feb73(0x1a4)]['onCommentUpdate'](_0x503303[_0x1feb73(0x2c7)]),this[_0x1feb73(0x33c)][_0x1feb73(0x43b)](_0x503303);break;default:this['_event$']['next'](_0x503303);}}catch(_0xfe9329){this[_0x1feb73(0x30d)][_0x1feb73(0x3ba)](_0xfe9329,_0x1a0686);}}['_onUserJoin'](_0x3453a9){var _0x11fc19=_0x4a5b68;this[_0x11fc19(0x294)][_0x11fc19(0x206)](this[_0x11fc19(0x2a5)],_0x3453a9[_0x11fc19(0x2c7)]);}[_0x4a5b68(0x31a)](_0x2a970c){var _0x3caf9d=_0x4a5b68;this['_memberService'][_0x3caf9d(0x231)](this[_0x3caf9d(0x2a5)],_0x2a970c[_0x3caf9d(0x2c7)][_0x3caf9d(0x3e9)]);}async[_0x4a5b68(0x402)](_0x2af6db,_0x13c9c9){var _0x28c337=_0x4a5b68;if(this[_0x28c337(0x290)]!==0x3||!this[_0x28c337(0x326)])throw new Error(_0x28c337(0x404));try{_0x2af6db[_0x28c337(0x285)]===_0x1c3d7c[_0x28c337(0x2c1)]&&(this[_0x28c337(0x422)](),this['_startTelemetryCollaborationNewChangeset'](_0x2af6db)),this['_socket'][_0x28c337(0x402)]({'cmd':F[_0x28c337(0x405)],'routeKey':_0x13c9c9,'routeType':'','data':_0x2af6db});}catch(_0x3c1806){this[_0x28c337(0x30d)][_0x28c337(0x3ba)](_0x3c1806);}}[_0x4a5b68(0x422)](){var _0x1072d8=_0x4a5b68,_0x101cf9;this[_0x1072d8(0x36f)]=setTimeout(()=>{var _0x36783e=_0x1072d8;this[_0x36783e(0x36f)]=null,this[_0x36783e(0x224)]['emitEvent']({'id':ne[_0x36783e(0x420)]});},(_0x101cf9=this[_0x1072d8(0x3d4)]['getConfig'](di))!=null?_0x101cf9:fi);}['_clearCollaborationTimeoutTimer'](){var _0x1e097d=_0x4a5b68;this[_0x1e097d(0x36f)]&&(clearTimeout(this[_0x1e097d(0x36f)]),this[_0x1e097d(0x36f)]=null);}[_0x4a5b68(0x3a4)](_0x4dbd49){var _0x2e9335=_0x4a5b68;if(!this[_0x2e9335(0x19c)])return;const {data:_0x1d9a3b}=_0x4dbd49,{unitID:_0x103f1d,changeset:_0x59388c}=_0x1d9a3b,{mutations:_0x214fb6,type:_0x152145}=_0x59388c;this['_telemetryInfo']={'unitId':_0x103f1d,'type':_0x152145,'startTime':performance[_0x2e9335(0x20c)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x214fb6)};}[_0x4a5b68(0x3b9)](){var _0x5a5a6d=_0x4a5b68;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x5a5a6d(0x30d)][_0x5a5a6d(0x3ba)]('[CollaborationSession]',_0x5a5a6d(0x2d8));return;}this['_telemetryInfo'][_0x5a5a6d(0x346)]=performance[_0x5a5a6d(0x20c)](),this[_0x5a5a6d(0x1ce)][_0x5a5a6d(0x32e)]=this[_0x5a5a6d(0x1ce)][_0x5a5a6d(0x346)]-this[_0x5a5a6d(0x1ce)][_0x5a5a6d(0x1c7)],this[_0x5a5a6d(0x1aa)]['capture'](Os,this['_telemetryInfo']),this[_0x5a5a6d(0x1ce)]=null;}}[_0x4a5b68(0x1ad)](){this['_telemetryInfo']=null;}};gt=As([Ce(0x2,_0x2ab23b),Ce(0x3,_0x4647a9),Ce(0x4,_0x3c3c0e(we)),Ce(0x5,_0x3c3c0e(mi)),Ce(0x6,_0x3c3c0e(ve)),Ce(0x7,_0x5db11f(_0x58f403))],gt);const J=_0x58fd9c(_0x4a5b68(0x1b1));function br(_0x1fa466){var _0x4f4430=_0x4a5b68;return _0x4f4430(0x2f5)+_0x1fa466;}var ws=Object['getOwnPropertyDescriptor'],Ps=(_0x5ad315,_0x188efc,_0x469137,_0x668af0)=>{var _0x55614f=_0x4a5b68;for(var _0x28f1d2=_0x668af0>0x1?void 0x0:_0x668af0?ws(_0x188efc,_0x469137):_0x188efc,_0x16c5b8=_0x5ad315[_0x55614f(0x2fd)]-0x1,_0xf03224;_0x16c5b8>=0x0;_0x16c5b8--)(_0xf03224=_0x5ad315[_0x16c5b8])&&(_0x28f1d2=_0xf03224(_0x28f1d2)||_0x28f1d2);return _0x28f1d2;},ut=(_0x2cf350,_0x10d7d0)=>(_0x195ca2,_0x59b742)=>_0x10d7d0(_0x195ca2,_0x59b742,_0x2cf350);function Ms(_0xb2cc44){var _0x41a72f=_0x4a5b68;const {unitID:_0x4caae3,mutations:_0x5e875f}=_0xb2cc44;return{'unitId':_0x4caae3,'subUnitId':_0x5e875f[0x0][_0x41a72f(0x25a)][_0x41a72f(0x447)]};}let it=class{constructor(_0x406178,_0x2547a1,_0x40b289){var _0x47e820=_0x4a5b68;this[_0x47e820(0x3a6)]=_0x406178,this[_0x47e820(0x39e)]=_0x2547a1,this['_instanceService']=_0x40b289;}[_0x4a5b68(0x334)](_0x422364){var _0x36d4c4=_0x4a5b68,_0x1b0163,_0x247b8e,_0x238e9d,_0x47d3a4;const _0x323554=this[_0x36d4c4(0x3a6)][_0x36d4c4(0x3b0)](_0x3b9358),{unitId:_0x24ae85,subUnitId:_0x5906c6}=Ms(_0x422364),_0x4aef0c=_0x323554==null?void 0x0:_0x323554[_0x36d4c4(0x25b)](_0x24ae85)[_0x36d4c4(0x3be)](),_0x57d0e1=(_0x247b8e=(_0x1b0163=this[_0x36d4c4(0x2b7)][_0x36d4c4(0x439)](_0x24ae85))==null?void 0x0:_0x1b0163[_0x36d4c4(0x28b)]())==null?void 0x0:_0x247b8e[_0x36d4c4(0x1bb)]();if(_0x4aef0c[_0x36d4c4(0x2fd)]===0x0||!_0x24ae85||!_0x5906c6)return;const _0x2567c6=[{'id':_0x520fb2['id'],'params':{'unitId':_0x24ae85,'subUnitId':_0x57d0e1,'selections':_0x3b02e2[_0x36d4c4(0x3ed)](_0x4aef0c)}}],_0x792056=this[_0x36d4c4(0x39e)]['transformMutationsWithChangeset'](_0x422364,_0x2567c6);if(!_0x8df0ba(_0x792056))throw _0x792056[_0x36d4c4(0x3ba)];const _0x5b383f=(_0x47d3a4=(_0x238e9d=_0x792056[_0x36d4c4(0x20b)][0x0])==null?void 0x0:_0x238e9d['params'])==null?void 0x0:_0x47d3a4['selections'];if(Array['isArray'](_0x5b383f)&&_0x5b383f[_0x36d4c4(0x2fd)]){if(_0x5b383f['length']===_0x2567c6[0x0][_0x36d4c4(0x25a)][_0x36d4c4(0x268)][_0x36d4c4(0x2fd)]&&_0x5b383f[_0x36d4c4(0x1f5)]((_0x6a28c0,_0x15fd02)=>_0x20f36c['equals'](_0x6a28c0['range'],_0x2567c6[0x0][_0x36d4c4(0x25a)][_0x36d4c4(0x268)][_0x15fd02][_0x36d4c4(0x21a)])))return;this[_0x36d4c4(0x3a6)][_0x36d4c4(0x3b0)](_0x27b315)[_0x36d4c4(0x1ed)](_0x520fb2['id'],{'unitId':_0x24ae85,'subUnitId':_0x57d0e1,'selections':_0x5b383f});}}};it=Ps([ut(0x0,_0x3c3c0e(_0x1f171a)),ut(0x1,_0x1100d1),ut(0x2,_0x17b18c)],it);const ht=_0x58fd9c(_0x4a5b68(0x46f));var gi=(_0x5d44ad=>(_0x5d44ad[_0x5d44ad[_0x4a5b68(0x496)]=0x0]=_0x4a5b68(0x496),_0x5d44ad[_0x5d44ad[_0x4a5b68(0x2a3)]=0x1]=_0x4a5b68(0x2a3),_0x5d44ad))(gi||{});const K=_0x4a5b68(0x464),Ls={},xs=new Set([_0x2e0b11['id']]);function Wt(_0x43fc48,_0x33e136,_0x5b524d,_0x1697f2,_0x5dcb6b){var _0x7ab087=_0x4a5b68,_0x11a416,_0x75946e,_0x499bf5,_0x1c7048;const _0x36adf6=[];for(const _0x24cdbd of _0x43fc48)if(xs[_0x7ab087(0x19b)](_0x24cdbd['id'])){if(_0x36adf6[_0x7ab087(0x2fd)]>0x0)break;_0x36adf6[_0x7ab087(0x222)](_0x24cdbd);break;}else _0x36adf6[_0x7ab087(0x222)](_0x24cdbd);const _0x1fd1e6=(_0x75946e=(_0x11a416=_0x5dcb6b[_0x7ab087(0x2f2)]())==null?void 0x0:_0x11a416[_0x7ab087(0x199)])!=null?_0x75946e:_0x7ab087(0x2f7),_0x123797=(_0x1c7048=(_0x499bf5=_0x5dcb6b[_0x7ab087(0x2f2)]())==null?void 0x0:_0x499bf5['memberID'])!=null?_0x1c7048:_0x7ab087(0x2f7);return{'changeset':{'unitID':_0x33e136,'type':_0xff30d0(_0x5b524d['getUnitType'](_0x33e136)),'baseRev':_0x1697f2[_0x7ab087(0x336)](_0x33e136),'revision':0x0,'userID':_0x1fd1e6,'memberID':_0x123797,'mutations':_0x36adf6},'pendingMutations':_0x43fc48[_0x7ab087(0x282)](_0x36adf6[_0x7ab087(0x2fd)])};}function ks(_0x187e20,_0x4def5b,_0x356ac4,_0x30ab57,_0x5de5cd){var _0x193c8a=_0x4a5b68,_0x205651,_0x3b2378,_0x115ff2,_0x577376;const _0x660879=[_0x187e20[_0x193c8a(0x3c6)]((_0x3c43c0,_0xfa3471)=>{var _0x33126a=_0x193c8a,_0x31e1e4;const {id:_0x2a06c9}=_0x3c43c0,{id:_0x1e97be,type:_0x106b79}=_0xfa3471,_0x2ad76b=(_0x31e1e4=_0x3c43c0['params'])!=null?_0x31e1e4:{'actions':null},_0x3a837d=_0xfa3471[_0x33126a(0x25a)];if(_0x2a06c9&&_0x2a06c9!==_0x1e97be)throw new Error(_0x33126a(0x489)+_0x2a06c9+_0x33126a(0x1a6)+_0x1e97be+'.');return{..._0x3c43c0,'id':_0x1e97be,'type':_0x106b79,'params':{'unitId':_0x3a837d['unitId'],'textRanges':_0x3a837d[_0x33126a(0x2c4)],'actions':_0x3fd161[_0x33126a(0x232)](_0x2ad76b[_0x33126a(0x40b)],_0x3a837d['actions'])}};},{})],_0x486c1a=(_0x3b2378=(_0x205651=_0x5de5cd[_0x193c8a(0x2f2)]())==null?void 0x0:_0x205651[_0x193c8a(0x199)])!=null?_0x3b2378:_0x193c8a(0x2f7),_0x2d6080=(_0x577376=(_0x115ff2=_0x5de5cd['getCurrentUser']())==null?void 0x0:_0x115ff2['memberID'])!=null?_0x577376:_0x193c8a(0x2f7);return{'changeset':{'unitID':_0x4def5b,'type':_0xff30d0(_0x356ac4[_0x193c8a(0x234)](_0x4def5b)),'baseRev':_0x30ab57[_0x193c8a(0x336)](_0x4def5b),'revision':0x0,'userID':_0x486c1a,'memberID':_0x2d6080,'mutations':_0x660879},'pendingMutations':[]};}function Si(_0x45a529,_0xb34814){var _0x4aaab0=_0x4a5b68;const _0x58b671=new _0x313db0(0x1);return setTimeout(()=>_0x58b671['next'](_0xb34814),_0x45a529),_0x58b671[_0x4aaab0(0x378)]()[_0x4aaab0(0x366)](_0x168aca(0x1));}const $s={'id':_0x22676d['id'],'type':_0x1b3724[_0x4a5b68(0x2f6)],'params':{}};var Hs=Object[_0x4a5b68(0x3f1)],Ee=(_0x4c0439,_0x2b2d47,_0x3c5c29,_0x43c94a)=>{for(var _0x263812=_0x43c94a>0x1?void 0x0:_0x43c94a?Hs(_0x2b2d47,_0x3c5c29):_0x2b2d47,_0x47ead0=_0x4c0439['length']-0x1,_0x37f1d5;_0x47ead0>=0x0;_0x47ead0--)(_0x37f1d5=_0x4c0439[_0x47ead0])&&(_0x263812=_0x37f1d5(_0x263812)||_0x263812);return _0x263812;},P=(_0x188c39,_0x368117)=>(_0x35d560,_0x996536)=>_0x368117(_0x35d560,_0x996536,_0x188c39),Ei=(_0x4ed914=>(_0x4ed914[_0x4a5b68(0x1b0)]='not_collab',_0x4ed914[_0x4a5b68(0x27c)]=_0x4a5b68(0x25d),_0x4ed914[_0x4a5b68(0x1c0)]=_0x4a5b68(0x1ba),_0x4ed914[_0x4a5b68(0x2cd)]=_0x4a5b68(0x3ea),_0x4ed914[_0x4a5b68(0x430)]='awaiting_with_pending',_0x4ed914['FETCH_MISS']='fetch_missing',_0x4ed914['CONFLICT']=_0x4a5b68(0x32c),_0x4ed914[_0x4a5b68(0x44f)]='offline',_0x4ed914))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x5c7ade,_0xc945d,_0x33b5fd,_0x3b24ad,_0x1e43dc,_0x19e19d,_0x5909ae,_0x568fc5,_0x206bf){var _0x2301ba=_0x4a5b68;N(this,_0x2301ba(0x23f),null),N(this,_0x2301ba(0x267),[]),(this['unitID']=_0x5c7ade,this[_0x2301ba(0x270)]=_0xc945d,this[_0x2301ba(0x3f7)]=_0x1e43dc,this[_0x2301ba(0x39b)]=_0x19e19d,this[_0x2301ba(0x47c)]=_0x5909ae,this['_revisionService']=_0x568fc5,this[_0x2301ba(0x32d)]=_0x206bf,this[_0x2301ba(0x23f)]=_0x33b5fd,this['_pendingMutations']=_0x3b24ad);}['_checkMissing'](_0x80ab0d){var _0x12c6bc=_0x4a5b68;const _0x27d6ff=this[_0x12c6bc(0x38e)][_0x12c6bc(0x336)](this[_0x12c6bc(0x312)]);return _0x80ab0d[_0x12c6bc(0x248)]>_0x27d6ff+0x1?(this[_0x12c6bc(0x3f7)][_0x12c6bc(0x19d)]({'from':_0x27d6ff,'to':_0x80ab0d[_0x12c6bc(0x248)]-0x1}),!0x0):!0x1;}[_0x4a5b68(0x394)](_0x2af5cd){var _0x51a93e=_0x4a5b68;this['_undoRedoService'][_0x51a93e(0x1a7)](this['unitID'],_0x2af5cd);}[_0x4a5b68(0x3c4)](_0x34adee){var _0x22c7c0=_0x4a5b68,_0x2957e2,_0x84ae74;(_0x84ae74=(_0x2957e2=this[_0x22c7c0(0x3f7)])[_0x22c7c0(0x35d)])==null||_0x84ae74[_0x22c7c0(0x1c8)](_0x2957e2,_0x34adee);}['_transformIMECache'](_0x1e6459){var _0x4ef0d8=_0x4a5b68,_0x19aa9c,_0x378ba0;return(_0x378ba0=(_0x19aa9c=this[_0x4ef0d8(0x3f7)])[_0x4ef0d8(0x370)])==null?void 0x0:_0x378ba0[_0x4ef0d8(0x1c8)](_0x19aa9c,_0x1e6459);}[_0x4a5b68(0x1ab)](_0x460569){var _0x84c2a2=_0x4a5b68,_0x27cbba,_0x520bb6;return(_0x520bb6=(_0x27cbba=this[_0x84c2a2(0x3f7)])[_0x84c2a2(0x322)])==null?void 0x0:_0x520bb6['call'](_0x27cbba,_0x460569);}[_0x4a5b68(0x401)](_0x110e58){var _0xa1dad7=_0x4a5b68,_0x3576d5,_0x7602b1,_0x349cbd;return(_0x349cbd=(_0x7602b1=(_0x3576d5=this[_0xa1dad7(0x3f7)])[_0xa1dad7(0x3c7)])==null?void 0x0:_0x7602b1[_0xa1dad7(0x1c8)](_0x3576d5,_0x110e58))!=null?_0x349cbd:_0x110e58;}[_0x4a5b68(0x35e)](_0x239d80){var _0x1b9675=_0x4a5b68,_0x520647,_0x50618a,_0x4cbb2c;return(_0x4cbb2c=(_0x50618a=(_0x520647=this[_0x1b9675(0x3f7)])[_0x1b9675(0x227)])==null?void 0x0:_0x50618a[_0x1b9675(0x1c8)](_0x520647,_0x239d80))!=null?_0x4cbb2c:_0x239d80;}[_0x4a5b68(0x305)](_0x2526ae){var _0x5df7a5=_0x4a5b68,_0x555dbf,_0x48f3b1;if(this['type']===Z[_0x5df7a5(0x3b5)]){const {unitID:_0x4b6b8f,mutations:_0x165694,memberID:_0x48a828}=_0x2526ae,_0x2700c9=_0x165694[0x0][_0x5df7a5(0x25a)][_0x5df7a5(0x2c4)];Array[_0x5df7a5(0x22a)](_0x2700c9)&&_0x2700c9[_0x5df7a5(0x2fd)]>0x0&&((_0x48f3b1=(_0x555dbf=this[_0x5df7a5(0x3f7)])[_0x5df7a5(0x303)])==null||_0x48f3b1[_0x5df7a5(0x1c8)](_0x555dbf,{'unitID':_0x4b6b8f,'memberID':_0x48a828,'textRanges':_0x2700c9}));}}['_updateLocalCache'](){var _0x12764b=_0x4a5b68,_0x10dcb0;(_0x10dcb0=this[_0x12764b(0x32d)])==null||_0x10dcb0['updateOfflineData'](this[_0x12764b(0x312)],this['type'],this['_awaitingChangeset'],this[_0x12764b(0x267)]);}[_0x4a5b68(0x2e8)](){var _0xeafc33=_0x4a5b68;return this[_0xeafc33(0x38e)][_0xeafc33(0x336)](this[_0xeafc33(0x312)]);}['_incrementRevisionNumber'](){var _0xeebfa8=_0x4a5b68;this[_0xeebfa8(0x38e)][_0xeebfa8(0x1ae)](this[_0xeebfa8(0x312)]);}[_0x4a5b68(0x475)](_0x2133ca){var _0x2b398d=_0x4a5b68,_0x274d85;let _0x46ecb9=this[_0x2b398d(0x401)](_0x2133ca);_0x46ecb9=this[_0x2b398d(0x35e)](_0x46ecb9);const _0x2d3a50=_0x22fc32(_0x46ecb9[_0x2b398d(0x25f)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2d3a50[_0x2b398d(0x34f)])throw _0x2d3a50[_0x2b398d(0x3ba)]instanceof Error?_0x2d3a50[_0x2b398d(0x3ba)]:new Error((_0x274d85=_0x2d3a50['error'])!=null?_0x274d85:_0x2b398d(0x1f9));this[_0x2b398d(0x3d3)](_0x46ecb9),this[_0x2b398d(0x1ab)](_0x46ecb9),this[_0x2b398d(0x394)](_0x2133ca),this['_transformSelections'](_0x46ecb9),this[_0x2b398d(0x305)](_0x46ecb9),this[_0x2b398d(0x3fc)]();}}let ye=class extends Ie{constructor(_0x4d8999,_0x3e8185,_0x204eea,_0x1b2a47,_0x2ff03a,_0x30af93,_0xb4e87,_0x590cf5,_0x5341e5,_0x14c396){var _0x12b375=_0x4a5b68;super(_0x4d8999,_0x3e8185,null,[],_0x204eea,_0xb4e87,_0x30af93,_0x1b2a47,_0x14c396),N(this,'status',_0x12b375(0x25d)),(this[_0x12b375(0x3a6)]=_0x2ff03a,this[_0x12b375(0x30d)]=_0x590cf5,this[_0x12b375(0x39e)]=_0x5341e5,this[_0x12b375(0x26f)]=_0x14c396);}[_0x4a5b68(0x30c)](_0x2e2e64){var _0x5100b5=_0x4a5b68;const _0x1c3b3b=this[_0x5100b5(0x3a6)]['createInstance'](re,this[_0x5100b5(0x312)],this[_0x5100b5(0x270)],[_0x2e2e64],this[_0x5100b5(0x3f7)]);return _0x1c3b3b[_0x5100b5(0x228)](),_0x1c3b3b[_0x5100b5(0x1ff)](),_0x1c3b3b;}['onRemoteChangeset'](_0x8e153b){var _0x4d330e=_0x4a5b68;if(this[_0x4d330e(0x38d)](_0x8e153b))return this[_0x4d330e(0x3a6)][_0x4d330e(0x48b)](Q,this[_0x4d330e(0x312)],this[_0x4d330e(0x270)],null,[],null,[_0x8e153b],this[_0x4d330e(0x3f7)]);try{const _0x50ea44=this[_0x4d330e(0x39e)][_0x4d330e(0x1d1)](_0x8e153b,[$s]);if(_0x8df0ba(_0x50ea44)){const {c1Prime:_0x120975}=_0x50ea44;return this[_0x4d330e(0x475)](_0x120975),this;}throw _0x50ea44[_0x4d330e(0x3ba)];}catch(_0x3eff7d){return this[_0x4d330e(0x30d)][_0x4d330e(0x3ba)](_0x3eff7d),this['_onConflict'](!0x1);}}[_0x4a5b68(0x3c5)](_0x505c6a){var _0x49e94e=_0x4a5b68;return this['_injector']['createInstance'](le,this[_0x49e94e(0x312)],this['type'],null,[],this[_0x49e94e(0x3f7)],_0x505c6a);}[_0x4a5b68(0x46b)](){var _0x3c4041=_0x4a5b68;throw new Error(_0x3c4041(0x1c1));}[_0x4a5b68(0x377)](){var _0x285d1e=_0x4a5b68;throw new Error(_0x285d1e(0x44d));}[_0x4a5b68(0x292)](){return this;}['toggleOffline'](){var _0x4f63f0=_0x4a5b68;return this[_0x4f63f0(0x3a6)][_0x4f63f0(0x48b)](ue,this['unitID'],this[_0x4f63f0(0x270)],null,[],this[_0x4f63f0(0x3f7)]);}[_0x4a5b68(0x359)](){return this;}[_0x4a5b68(0x29a)](){var _0xd9084b=_0x4a5b68;throw new Error(_0xd9084b(0x3ab));}['fetchMiss'](){var _0xe43bf4=_0x4a5b68;const _0x5d977b=this[_0xe43bf4(0x38e)]['getCurrentRevOfUnit'](this[_0xe43bf4(0x312)]);return this[_0xe43bf4(0x3f7)][_0xe43bf4(0x19d)]({'from':_0x5d977b,'to':0x0}),this[_0xe43bf4(0x3a6)][_0xe43bf4(0x48b)](Q,this['unitID'],this[_0xe43bf4(0x270)],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x3c3c0e(_0x4dbd05)),P(0x4,_0x3c3c0e(_0x1f171a)),P(0x5,_0x58418c),P(0x6,_0x27b315),P(0x7,_0x2ab23b),P(0x8,_0x1100d1),P(0x9,_0x5db11f(J))],ye);let re=class extends Ie{constructor(_0x39ab74,_0x4e94ae,_0x56cbe4,_0xcd51ca,_0x3543ef,_0x4af3fc,_0x1929d8,_0x5cab90,_0x29542b,_0x3645c1,_0x2b50d1,_0x2e1eaf,_0x16f4ae,_0x5b7fb2){var _0x47c57c=_0x4a5b68;super(_0x39ab74,_0x4e94ae,null,_0x56cbe4,_0xcd51ca,_0x29542b,_0x16f4ae,_0x4af3fc,_0x5b7fb2),N(this,_0x47c57c(0x427),_0x47c57c(0x1ba)),N(this,_0x47c57c(0x354),null),N(this,_0x47c57c(0x455),null),(this[_0x47c57c(0x3a6)]=_0x3543ef,this['_memberService']=_0x1929d8,this[_0x47c57c(0x30d)]=_0x5cab90,this[_0x47c57c(0x3d4)]=_0x3645c1,this[_0x47c57c(0x39e)]=_0x2b50d1,this[_0x47c57c(0x29f)]=_0x2e1eaf);}[_0x4a5b68(0x30c)](_0x25d1c5){var _0x46a182=_0x4a5b68;return this['_pendingMutations'][_0x46a182(0x222)](_0x25d1c5),this[_0x46a182(0x1ff)](),this;}[_0x4a5b68(0x361)](_0x464fc3){var _0x21235d=_0x4a5b68;if(this['_checkMissing'](_0x464fc3))return this[_0x21235d(0x396)](),this[_0x21235d(0x3a6)]['createInstance'](Q,this['unitID'],this[_0x21235d(0x270)],null,this[_0x21235d(0x267)],null,[_0x464fc3],this[_0x21235d(0x3f7)]);try{const _0x238fe8=this[_0x21235d(0x39e)]['transformMutationsWithChangeset'](_0x464fc3,this['_pendingMutations']);if(_0x8df0ba(_0x238fe8)){const {c1Prime:_0x4bbf88,m2Prime:_0x5d820d}=_0x238fe8;this[_0x21235d(0x475)](_0x4bbf88);const _0x2073b0=this[_0x21235d(0x3a6)]['createInstance'](re,this['unitID'],this[_0x21235d(0x270)],_0x5d820d,this[_0x21235d(0x3f7)]);this['_clearScheduledTask']();const _0x21db2d=new Date()[_0x21235d(0x2e4)](),_0x14862e=this[_0x21235d(0x354)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x21db2d,0x0):this['_getSendChangesetTimeout']();return _0x2073b0[_0x21235d(0x228)](_0x14862e),_0x2073b0;}throw _0x238fe8[_0x21235d(0x3ba)];}catch(_0xd82602){return this[_0x21235d(0x30d)][_0x21235d(0x3ba)](_0xd82602),this[_0x21235d(0x3c5)](!0x1);}}[_0x4a5b68(0x46b)](){var _0x3eafce=_0x4a5b68;throw new Error(_0x3eafce(0x444));}[_0x4a5b68(0x377)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4a5b68(0x292)](){return this;}[_0x4a5b68(0x23b)](){var _0x1e9cd1=_0x4a5b68;return this[_0x1e9cd1(0x396)](),this[_0x1e9cd1(0x3a6)][_0x1e9cd1(0x48b)](ue,this[_0x1e9cd1(0x312)],this[_0x1e9cd1(0x270)],null,this['_pendingMutations'],this[_0x1e9cd1(0x3f7)]);}[_0x4a5b68(0x359)](){return this;}[_0x4a5b68(0x228)](_0x25eb8f){var _0x4f26d3=_0x4a5b68;const _0x1a3830=_0x25eb8f!=null?_0x25eb8f:this[_0x4f26d3(0x275)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4f26d3(0x2e4)]()+_0x1a3830,this[_0x4f26d3(0x455)]=setTimeout(()=>{var _0x40d2be=_0x4f26d3;this[_0x40d2be(0x396)]();let _0x51bd97=null;switch(this[_0x40d2be(0x270)]){case Z[_0x40d2be(0x197)]:{_0x51bd97=Wt(this['_pendingMutations'],this[_0x40d2be(0x312)],this[_0x40d2be(0x29f)],this[_0x40d2be(0x38e)],this[_0x40d2be(0x294)]);break;}case Z['UNIVER_DOC']:{this[_0x40d2be(0x267)][_0x40d2be(0x1f5)](_0x4de709=>_0x4de709['id']===_0x20b2a6['id'])?_0x51bd97=ks(this[_0x40d2be(0x267)],this['unitID'],this[_0x40d2be(0x29f)],this[_0x40d2be(0x38e)],this['_memberService']):_0x51bd97=Wt(this[_0x40d2be(0x267)],this[_0x40d2be(0x312)],this[_0x40d2be(0x29f)],this[_0x40d2be(0x38e)],this['_memberService']);break;}default:throw new Error(_0x40d2be(0x279)+this[_0x40d2be(0x270)]+'\x20in\x20_schedule.');}const {changeset:_0x18b699,pendingMutations:_0x110b10}=_0x51bd97;this[_0x40d2be(0x3f7)][_0x40d2be(0x416)](_0x18b699);const _0x3d2c57=_0x110b10[_0x40d2be(0x2fd)]?this[_0x40d2be(0x3a6)][_0x40d2be(0x48b)](ae,this[_0x40d2be(0x312)],this['type'],_0x18b699,_0x110b10,this['_handler'],void 0x0):this[_0x40d2be(0x3a6)][_0x40d2be(0x48b)](_e,this['unitID'],this[_0x40d2be(0x270)],_0x18b699,this[_0x40d2be(0x3f7)]);_0x3d2c57[_0x40d2be(0x1ff)](),this[_0x40d2be(0x3f7)][_0x40d2be(0x473)](this,_0x3d2c57);},_0x1a3830);}[_0x4a5b68(0x275)](){var _0x42b7e0=_0x4a5b68,_0x112864;const _0x384fec=this[_0x42b7e0(0x3d4)][_0x42b7e0(0x41e)](K);return(_0x112864=_0x384fec==null?void 0x0:_0x384fec['sendChangesetTimeout'])!=null?_0x112864:ps;}[_0x4a5b68(0x29a)](){var _0x1115db=_0x4a5b68;throw new Error(_0x1115db(0x47b));}[_0x4a5b68(0x396)](){var _0x53d55f=_0x4a5b68;this['_sendingTimer']!=null&&(clearTimeout(this[_0x53d55f(0x455)]),this[_0x53d55f(0x455)]=null);}[_0x4a5b68(0x3c5)](_0x571717){var _0x4eb5bb=_0x4a5b68;return this[_0x4eb5bb(0x396)](),this[_0x4eb5bb(0x3a6)][_0x4eb5bb(0x48b)](le,this['unitID'],this['type'],null,this[_0x4eb5bb(0x267)],this['_handler'],_0x571717);}};re=Ee([P(0x4,_0x3c3c0e(_0x1f171a)),P(0x5,_0x3c3c0e(_0x4dbd05)),P(0x6,_0x3c3c0e(we)),P(0x7,_0x2ab23b),P(0x8,_0x27b315),P(0x9,_0x4647a9),P(0xa,_0x1100d1),P(0xb,_0x17b18c),P(0xc,_0x58418c),P(0xd,_0x5db11f(J))],re);let _e=class extends Ie{constructor(_0x505822,_0x1a7c93,_0x5a0ffb,_0x5b06,_0x32a005,_0x250923,_0x5c7b00,_0x4d4e7e,_0x1baf37,_0x5860ad,_0x52292a){var _0x1f9421=_0x4a5b68;super(_0x505822,_0x1a7c93,_0x5a0ffb,[],_0x5b06,_0x5c7b00,_0x5860ad,_0x250923,_0x52292a),N(this,'status',_0x1f9421(0x3ea)),N(this,_0x1f9421(0x3de),0x0),N(this,_0x1f9421(0x3ac)),N(this,_0x1f9421(0x433)),(this['_injector']=_0x32a005,this[_0x1f9421(0x30d)]=_0x4d4e7e,this[_0x1f9421(0x39e)]=_0x1baf37);}[_0x4a5b68(0x30c)](_0x1a9f34){var _0x18fd77=_0x4a5b68;this[_0x18fd77(0x396)]();const _0x19ba5f=this[_0x18fd77(0x3a6)]['createInstance'](ae,this[_0x18fd77(0x312)],this[_0x18fd77(0x270)],this[_0x18fd77(0x23f)],[_0x1a9f34],this['_handler'],this[_0x18fd77(0x3ac)]);return _0x19ba5f[_0x18fd77(0x1ff)](),_0x19ba5f;}[_0x4a5b68(0x361)](_0x5139a6){var _0x1da67d=_0x4a5b68;if(this[_0x1da67d(0x38d)](_0x5139a6))return this[_0x1da67d(0x396)](),this[_0x1da67d(0x3a6)]['createInstance'](Q,this['unitID'],this[_0x1da67d(0x270)],this[_0x1da67d(0x23f)],[],null,[_0x5139a6],this[_0x1da67d(0x3f7)]);try{const _0x1b055d=this[_0x1da67d(0x39e)][_0x1da67d(0x2b3)]([_0x5139a6],[this[_0x1da67d(0x23f)]],!0x1);if(_0x47e16c(_0x1b055d)){const {c1Prime:_0x45bd74,c2Prime:_0x3cbe06}=_0x1b055d;this[_0x1da67d(0x475)](_0x45bd74[0x0]),_0x3cbe06[0x0][_0x1da67d(0x257)]=this[_0x1da67d(0x2e8)](),this[_0x1da67d(0x396)]();const _0x5359c4=this[_0x1da67d(0x3a6)][_0x1da67d(0x48b)](_e,this[_0x1da67d(0x312)],this[_0x1da67d(0x270)],_0x3cbe06[0x0],this['_handler']);return _0x5359c4[_0x1da67d(0x1ff)](),_0x5359c4;}return this['_onConflict'](!0x1);}catch(_0x1036a9){return this['_logService'][_0x1da67d(0x3ba)](_0x1036a9),this['_onConflict'](!0x1);}}[_0x4a5b68(0x46b)](_0x3fd19a){var _0x29ac6b=_0x4a5b68;this[_0x29ac6b(0x396)]();const _0x574fde=this[_0x29ac6b(0x38e)][_0x29ac6b(0x336)](this[_0x29ac6b(0x312)]);if(_0x3fd19a['revision']<_0x574fde-0x1)return this;if(this[_0x29ac6b(0x38d)](_0x3fd19a))return this[_0x29ac6b(0x3a6)][_0x29ac6b(0x48b)](Q,this[_0x29ac6b(0x312)],this[_0x29ac6b(0x270)],null,[],this[_0x29ac6b(0x23f)],[],this[_0x29ac6b(0x3f7)]);this[_0x29ac6b(0x3fc)]();const _0x1c12c0=this[_0x29ac6b(0x3a6)][_0x29ac6b(0x48b)](ye,this[_0x29ac6b(0x312)],this[_0x29ac6b(0x270)],this[_0x29ac6b(0x3f7)]);return _0x1c12c0[_0x29ac6b(0x1ff)](),_0x1c12c0;}[_0x4a5b68(0x377)](_0x19ff98){var _0x28a724=_0x4a5b68;return this[_0x28a724(0x3c5)](!!(_0x19ff98!=null&&_0x19ff98[_0x28a724(0x1fe)]));}[_0x4a5b68(0x292)](_0x328e45){var _0x31f477=_0x4a5b68;return this[_0x31f477(0x3de)]>Ii?this['toggleOffline']():(this[_0x31f477(0x3ac)]=Si(this['_resendTimeout'],{'timeout':this[_0x31f477(0x3de)],'reqId':_0x328e45[_0x31f477(0x2b9)]}),this[_0x31f477(0x433)]=this[_0x31f477(0x3ac)][_0x31f477(0x407)](({reqId:_0x44e153,timeout:_0x5dff2e})=>{var _0x11ce3b=_0x31f477;this[_0x11ce3b(0x235)](_0x44e153,_0x5dff2e);}),this);}[_0x4a5b68(0x23b)](){var _0x46eaf3=_0x4a5b68;return this['_clearScheduledTask'](),this[_0x46eaf3(0x3a6)]['createInstance'](ue,this[_0x46eaf3(0x312)],this[_0x46eaf3(0x270)],this[_0x46eaf3(0x23f)],[],this['_handler']);}[_0x4a5b68(0x359)](){return this;}[_0x4a5b68(0x29a)](){var _0x4e3703=_0x4a5b68;this[_0x4e3703(0x3f7)][_0x4e3703(0x416)](this[_0x4e3703(0x23f)]);}[_0x4a5b68(0x3c5)](_0x498486){var _0x36bda0=_0x4a5b68;return this['_clearScheduledTask'](),this['_injector'][_0x36bda0(0x48b)](le,this[_0x36bda0(0x312)],this[_0x36bda0(0x270)],this[_0x36bda0(0x23f)],[],this[_0x36bda0(0x3f7)],_0x498486);}[_0x4a5b68(0x235)](_0x3f951a,_0x2d90df){var _0x6e7734=_0x4a5b68,_0x2b4a0a;_0x3f951a===((_0x2b4a0a=this[_0x6e7734(0x23f)])==null?void 0x0:_0x2b4a0a[_0x6e7734(0x2b9)])&&(this[_0x6e7734(0x29a)](),this[_0x6e7734(0x3de)]=_0x2d90df===0x0?0x3e8:_0x2d90df*0x2);}[_0x4a5b68(0x396)](){var _0x56ad6c=_0x4a5b68,_0x21c87d;(_0x21c87d=this[_0x56ad6c(0x433)])==null||_0x21c87d[_0x56ad6c(0x3cc)](),this[_0x56ad6c(0x3de)]=0x0;}};_e=Ee([P(0x4,_0x3c3c0e(_0x1f171a)),P(0x5,_0x3c3c0e(_0x4dbd05)),P(0x6,_0x27b315),P(0x7,_0x2ab23b),P(0x8,_0x1100d1),P(0x9,_0x58418c),P(0xa,_0x5db11f(J))],_e);let ae=class extends Ie{constructor(_0x59e50b,_0x4f6cdd,_0x5159b7,_0x1dbff0,_0x21e427,_0x1fa4ca,_0x3ea774,_0x9548a7,_0x368fbb,_0x300ef6,_0x58e33b,_0x5e138c,_0x5139fb){var _0x2c7827=_0x4a5b68;super(_0x59e50b,_0x4f6cdd,_0x5159b7,_0x1dbff0,_0x21e427,_0x368fbb,_0x5e138c,_0x9548a7,_0x5139fb),N(this,_0x2c7827(0x427),'awaiting_with_pending'),N(this,_0x2c7827(0x3de),0x0),N(this,_0x2c7827(0x3ac)),N(this,'_sender'),(this['_injector']=_0x3ea774,this[_0x2c7827(0x30d)]=_0x300ef6,this[_0x2c7827(0x39e)]=_0x58e33b,this[_0x2c7827(0x26f)]=_0x5139fb,_0x1fa4ca&&(this[_0x2c7827(0x3ac)]=_0x1fa4ca,this['_sender']=this[_0x2c7827(0x3ac)][_0x2c7827(0x407)](({reqId:_0x498e50,timeout:_0x59ae1d})=>{var _0x3f0a9e=_0x2c7827;this[_0x3f0a9e(0x235)](_0x498e50,_0x59ae1d);})));}[_0x4a5b68(0x30c)](_0x29529e){var _0x4318a2=_0x4a5b68;return this[_0x4318a2(0x267)][_0x4318a2(0x222)](_0x29529e),this;}[_0x4a5b68(0x361)](_0x72a6dd){var _0x207e8f=_0x4a5b68;if(this[_0x207e8f(0x38d)](_0x72a6dd))return this[_0x207e8f(0x396)](),this[_0x207e8f(0x3a6)]['createInstance'](Q,this[_0x207e8f(0x312)],this['type'],this[_0x207e8f(0x23f)],this[_0x207e8f(0x267)],null,[_0x72a6dd],this['_handler']);try{const _0x48371d=this['_transformService'][_0x207e8f(0x2b3)]([_0x72a6dd],[this['_awaitingChangeset']],!0x1);if(_0x47e16c(_0x48371d)){const {c1Prime:_0x1f7b1c,c2Prime:_0x240c0f}=_0x48371d,_0x4c29ca=this[_0x207e8f(0x39e)][_0x207e8f(0x1d1)](_0x1f7b1c[0x0],this[_0x207e8f(0x267)]);if(_0x8df0ba(_0x4c29ca)){const {c1Prime:_0x857f3d,m2Prime:_0x2bab3d}=_0x4c29ca;return this['_executeRemoteChangeset'](_0x857f3d),_0x240c0f[0x0][_0x207e8f(0x257)]=this[_0x207e8f(0x2e8)](),this[_0x207e8f(0x396)](),this[_0x207e8f(0x3a6)][_0x207e8f(0x48b)](ae,this[_0x207e8f(0x312)],this[_0x207e8f(0x270)],_0x240c0f[0x0],_0x2bab3d,this[_0x207e8f(0x3f7)],void 0x0);}throw _0x4c29ca[_0x207e8f(0x3ba)];}throw _0x48371d['error'];}catch(_0x4c23fb){return this[_0x207e8f(0x30d)][_0x207e8f(0x3ba)](_0x4c23fb),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1a472d){var _0x9a9f1c=_0x4a5b68;if(this[_0x9a9f1c(0x396)](),this[_0x9a9f1c(0x38d)](_0x1a472d))return this[_0x9a9f1c(0x3a6)]['createInstance'](Q,this['unitID'],this[_0x9a9f1c(0x270)],null,this[_0x9a9f1c(0x267)],this['_awaitingChangeset'],[],this['_handler']);this[_0x9a9f1c(0x3fc)]();const _0x362e30=this['_injector'][_0x9a9f1c(0x48b)](re,this[_0x9a9f1c(0x312)],this[_0x9a9f1c(0x270)],this[_0x9a9f1c(0x267)],this[_0x9a9f1c(0x3f7)]);return _0x362e30[_0x9a9f1c(0x228)](),_0x362e30['_updateLocalCache'](),_0x362e30;}['onRemoteRej'](_0x433f02){var _0x49993e=_0x4a5b68;return this[_0x49993e(0x3c5)](!!(_0x433f02!=null&&_0x433f02[_0x49993e(0x1fe)]));}[_0x4a5b68(0x292)](_0x5ed039){var _0x4b592a=_0x4a5b68;return this[_0x4b592a(0x3de)]>Ii?this[_0x4b592a(0x23b)]():(this[_0x4b592a(0x3ac)]=Si(this['_resendTimeout'],{'timeout':this[_0x4b592a(0x3de)],'reqId':_0x5ed039[_0x4b592a(0x2b9)]}),this[_0x4b592a(0x433)]=this['_resendTimer']['subscribe'](({reqId:_0x56de88,timeout:_0x4186be})=>{var _0x4b62fc=_0x4b592a;this[_0x4b62fc(0x235)](_0x56de88,_0x4186be);}),this);}[_0x4a5b68(0x23b)](){var _0x1664af=_0x4a5b68;return this['_clearScheduledTask'](),this[_0x1664af(0x3a6)]['createInstance'](ue,this[_0x1664af(0x312)],this['type'],this['_awaitingChangeset'],this[_0x1664af(0x267)],this[_0x1664af(0x3f7)]);}[_0x4a5b68(0x359)](){return this;}[_0x4a5b68(0x29a)](){var _0x173b2b=_0x4a5b68;this[_0x173b2b(0x3f7)][_0x173b2b(0x416)](this['_awaitingChangeset']);}[_0x4a5b68(0x3c5)](_0x45d6c2){var _0x29d356=_0x4a5b68;return this[_0x29d356(0x396)](),this['_injector'][_0x29d356(0x48b)](le,this['unitID'],this['type'],null,this[_0x29d356(0x267)],this['_handler'],_0x45d6c2);}['_resendWithTimeout'](_0x61a291,_0x471146){var _0x5b2a6e=_0x4a5b68,_0x277ebd;_0x61a291===((_0x277ebd=this[_0x5b2a6e(0x23f)])==null?void 0x0:_0x277ebd[_0x5b2a6e(0x2b9)])&&(this[_0x5b2a6e(0x29a)](),this[_0x5b2a6e(0x3de)]=_0x471146===0x0?0x3e8:_0x471146*0x2);}[_0x4a5b68(0x396)](){var _0x412861=_0x4a5b68,_0x2b99e3;(_0x2b99e3=this[_0x412861(0x433)])==null||_0x2b99e3[_0x412861(0x3cc)](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x3c3c0e(_0x1f171a)),P(0x7,_0x3c3c0e(_0x4dbd05)),P(0x8,_0x27b315),P(0x9,_0x2ab23b),P(0xa,_0x1100d1),P(0xb,_0x58418c),P(0xc,_0x5db11f(J))],ae);let le=class extends Ie{constructor(_0x44383f,_0x57d5ff,_0x1ff2b0,_0x100ca6,_0xb8dd64,_0x400ead=!0x1,_0xf2e434,_0x202ae3,_0x59a6c1,_0x5800ec,_0x2a7df1,_0x58dfe4,_0x121513){var _0x14ede2=_0x4a5b68;super(_0x44383f,_0x57d5ff,_0x1ff2b0,_0x100ca6,_0xb8dd64,_0x202ae3,_0x59a6c1,_0x5800ec,_0x121513),N(this,_0x14ede2(0x427),'conflict'),(this[_0x14ede2(0x276)]=_0x400ead,this[_0x14ede2(0x437)]=_0xf2e434,this[_0x14ede2(0x465)]=_0x2a7df1,this['_collaborationUIEventService']=_0x58dfe4,this['localCacheService']=_0x121513,this[_0x14ede2(0x1bf)](),this[_0x14ede2(0x2bc)](),this[_0x14ede2(0x299)]());}['appendMutation'](){return this;}[_0x4a5b68(0x361)](){return this;}['onRemoteAck'](){return this;}[_0x4a5b68(0x377)](){return this;}[_0x4a5b68(0x292)](){return this;}['toggleOffline'](){return this;}[_0x4a5b68(0x359)](){return this;}[_0x4a5b68(0x29a)](){var _0xaf7f3a=_0x4a5b68;throw new Error(_0xaf7f3a(0x190));}[_0x4a5b68(0x2bc)](){var _0x181c8c=_0x4a5b68,_0x29d88f;(_0x29d88f=this[_0x181c8c(0x32d)])==null||_0x29d88f[_0x181c8c(0x230)](this[_0x181c8c(0x312)],this['type'],null,[]);}[_0x4a5b68(0x1bf)](){var _0x851f2c=_0x4a5b68;this[_0x851f2c(0x276)]?this[_0x851f2c(0x224)][_0x851f2c(0x478)]({'id':ne[_0x851f2c(0x2c2)]}):this[_0x851f2c(0x224)]['emitEvent']({'id':ne[_0x851f2c(0x26e)]});}[_0x4a5b68(0x299)](){var _0x1ceebb=_0x4a5b68;this[_0x1ceebb(0x437)][_0x1ceebb(0x3c9)](new _0x243f8c(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x3c3c0e(_0x7fef79)),P(0x7,_0x27b315),P(0x8,_0x58418c),P(0x9,_0x3c3c0e(_0x4dbd05)),P(0xa,_0x3c3c0e(_0x2274bc)),P(0xb,_0x3c3c0e(ve)),P(0xc,_0x5db11f(J))],le);let ue=class extends Ie{constructor(_0x41d468,_0x52243b,_0xbe983e,_0x28ad69,_0x3292b9,_0x9e7025,_0x504c92,_0x346292,_0xeab0f,_0x68dc84){var _0x4f2479=_0x4a5b68;super(_0x41d468,_0x52243b,_0xbe983e,_0x28ad69,_0x3292b9,_0x346292,_0xeab0f,_0x504c92,_0x68dc84),N(this,'status','offline'),this[_0x4f2479(0x3a6)]=_0x9e7025;}['appendMutation'](_0x1c999b){var _0x238e3c=_0x4a5b68;return this[_0x238e3c(0x267)][_0x238e3c(0x222)](_0x1c999b),this[_0x238e3c(0x1ff)](),this;}[_0x4a5b68(0x361)](_0xd8e2cc){var _0xfd184d=_0x4a5b68;throw new Error(_0xfd184d(0x1cc));}[_0x4a5b68(0x46b)](){var _0x204159=_0x4a5b68;throw new Error(_0x204159(0x1ee));}[_0x4a5b68(0x377)](){var _0x1a18ac=_0x4a5b68;throw new Error(_0x1a18ac(0x33b));}[_0x4a5b68(0x292)](){return this;}['toggleOffline'](){return this;}[_0x4a5b68(0x359)](){var _0x474d88=_0x4a5b68;const {_injector:_0x579283,_pendingMutations:_0x3df3e0,_awaitingChangeset:_0x3c305c,unitID:_0x2a1b21,_handler:_0x4b3b11,type:_0x552f9b}=this,_0x4a957d=Ti(_0x579283,_0x2a1b21,_0x552f9b,_0x3c305c,_0x3df3e0,_0x4b3b11);return _0x4a957d instanceof re?_0x4a957d[_0x474d88(0x228)]():(_0x4a957d instanceof ae||_0x4a957d instanceof _e)&&_0x4a957d['resend'](),_0x4a957d;}[_0x4a5b68(0x29a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x3c3c0e(_0x1f171a)),P(0x6,_0x3c3c0e(_0x4dbd05)),P(0x7,_0x27b315),P(0x8,_0x58418c),P(0x9,_0x5db11f(J))],ue);let Q=class extends Ie{constructor(_0x56ed82,_0x39359a,_0x27f0cb,_0x48f32a,_0x5e479f,_0x32bb8b,_0x472da5,_0xfe9713,_0x1d2f6e,_0x2309b7,_0x2e4cf5,_0x1f2523,_0x2f2b93,_0x19f1f1){var _0x486abf=_0x4a5b68;super(_0x56ed82,_0x39359a,_0x27f0cb,_0x48f32a,_0x472da5,_0x2e4cf5,_0x1f2523,_0x1d2f6e,_0x19f1f1),N(this,_0x486abf(0x427),_0x486abf(0x332)),(this[_0x486abf(0x345)]=_0x5e479f,this['_queuedRemoteChangesets']=_0x32bb8b,this[_0x486abf(0x3a6)]=_0xfe9713,this[_0x486abf(0x30d)]=_0x2309b7,this['_transformService']=_0x2f2b93,this[_0x486abf(0x26f)]=_0x19f1f1);}[_0x4a5b68(0x1b3)](_0x2c5ea4){var _0x55f63f=_0x4a5b68;try{const _0x3bdd07=[..._0x2c5ea4,...this[_0x55f63f(0x483)]],_0x420897=[this[_0x55f63f(0x23f)]||this[_0x55f63f(0x345)]][_0x55f63f(0x40e)](_0xcd43c0=>!!_0xcd43c0);let _0x4752f8,_0xe97311;if(_0x420897[_0x55f63f(0x2fd)]){const _0x2db413=this[_0x55f63f(0x39e)][_0x55f63f(0x2b3)](_0x3bdd07,_0x420897,!0x1);if(!_0x47e16c(_0x2db413))throw _0x2db413[_0x55f63f(0x3ba)];_0x4752f8=_0x2db413['c1Prime'],_0xe97311=_0x2db413[_0x55f63f(0x258)];}else _0x4752f8=_0x3bdd07,_0xe97311=[];let _0x3a5f1b=this[_0x55f63f(0x267)];_0x4752f8['forEach'](_0x540678=>{var _0x2e6f3e=_0x55f63f;let _0xfc21bc;if(_0x3a5f1b[_0x2e6f3e(0x2fd)]){const _0x1ad3e0=this[_0x2e6f3e(0x39e)]['transformMutationsWithChangeset'](_0x540678,_0x3a5f1b);if(!_0x8df0ba(_0x1ad3e0))throw _0x1ad3e0['error'];_0xfc21bc=_0x1ad3e0[_0x2e6f3e(0x453)],_0x3a5f1b=_0x1ad3e0['m2Prime'];}else _0xfc21bc=_0x540678;this['_executeRemoteChangeset'](_0xfc21bc);}),this[_0x55f63f(0x345)]&&this['_incrementRevisionNumber'](),this[_0x55f63f(0x23f)]&&_0xe97311[_0x55f63f(0x2fd)]&&(_0xe97311[0x0][_0x55f63f(0x257)]=this[_0x55f63f(0x2e8)]());let _0x8be845;if(this[_0x55f63f(0x23f)]&&_0x3a5f1b[_0x55f63f(0x2fd)]!==0x0)_0x8be845=this[_0x55f63f(0x3a6)][_0x55f63f(0x48b)](ae,this[_0x55f63f(0x312)],this[_0x55f63f(0x270)],_0xe97311[0x0],_0x3a5f1b,this['_handler'],void 0x0);else{if(this[_0x55f63f(0x23f)]&&_0x3a5f1b[_0x55f63f(0x2fd)]===0x0)_0xe97311[0x0][_0x55f63f(0x257)]=this[_0x55f63f(0x2e8)](),_0x8be845=this[_0x55f63f(0x3a6)][_0x55f63f(0x48b)](_e,this[_0x55f63f(0x312)],this['type'],_0xe97311[0x0],this['_handler']);else{if(_0x3a5f1b[_0x55f63f(0x2fd)]!==0x0){const _0x278103=this[_0x55f63f(0x3a6)]['createInstance'](re,this[_0x55f63f(0x312)],this['type'],_0x3a5f1b,this[_0x55f63f(0x3f7)]);_0x278103['_schedule'](),_0x8be845=_0x278103;}else _0x8be845=this[_0x55f63f(0x3a6)][_0x55f63f(0x48b)](ye,this[_0x55f63f(0x312)],this[_0x55f63f(0x270)],this[_0x55f63f(0x3f7)]);}}return _0x8be845[_0x55f63f(0x1ff)](),_0x8be845;}catch(_0x483b4e){return this['_logService']['error'](_0x55f63f(0x460),_0x55f63f(0x246),_0x483b4e),this[_0x55f63f(0x3a6)][_0x55f63f(0x48b)](le,this[_0x55f63f(0x312)],this[_0x55f63f(0x270)],this[_0x55f63f(0x23f)],this['_pendingMutations'],this[_0x55f63f(0x3f7)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4a5b68(0x30c)](_0x3ccdab){var _0x72cf3b=_0x4a5b68;return this[_0x72cf3b(0x267)][_0x72cf3b(0x222)](_0x3ccdab),this;}['onRemoteChangeset'](_0x38ea3c){var _0x4ae2c3=_0x4a5b68;return this[_0x4ae2c3(0x483)][_0x4ae2c3(0x222)](_0x38ea3c),this;}['onRemoteAck'](_0x8c5e25){var _0x473182=_0x4a5b68;if(this[_0x473182(0x23f)])return this[_0x473182(0x345)]=this[_0x473182(0x23f)],this[_0x473182(0x23f)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x4a5b68(0x377)](_0x446e53){var _0x1d68fa=_0x4a5b68;return this[_0x1d68fa(0x3c5)](!!(_0x446e53!=null&&_0x446e53[_0x1d68fa(0x1fe)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x45e264=_0x4a5b68;return this[_0x45e264(0x3a6)][_0x45e264(0x48b)](ue,this[_0x45e264(0x312)],this[_0x45e264(0x270)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x4a5b68(0x359)](){return this;}[_0x4a5b68(0x3c5)](_0x253299){var _0x372cd3=_0x4a5b68;return this[_0x372cd3(0x3a6)][_0x372cd3(0x48b)](le,this[_0x372cd3(0x312)],this[_0x372cd3(0x270)],this[_0x372cd3(0x23f)],this[_0x372cd3(0x267)],this[_0x372cd3(0x3f7)],_0x253299);}};Q=Ee([P(0x7,_0x3c3c0e(_0x1f171a)),P(0x8,_0x3c3c0e(_0x4dbd05)),P(0x9,_0x2ab23b),P(0xa,_0x27b315),P(0xb,_0x58418c),P(0xc,_0x1100d1),P(0xd,_0x5db11f(J))],Q);function Ti(_0x4e482c,_0x999cad,_0x4f3c45,_0x47e511,_0x14677f,_0x138388){var _0x3151a=_0x4a5b68;return _0x47e511&&_0x14677f[_0x3151a(0x2fd)]?_0x4e482c['createInstance'](ae,_0x999cad,_0x4f3c45,_0x47e511,_0x14677f,_0x138388,void 0x0):_0x47e511?_0x4e482c[_0x3151a(0x48b)](_e,_0x999cad,_0x4f3c45,_0x47e511,_0x138388):_0x14677f[_0x3151a(0x2fd)]?_0x4e482c[_0x3151a(0x48b)](re,_0x999cad,_0x4f3c45,_0x14677f,_0x138388):_0x4e482c[_0x3151a(0x48b)](ye,_0x999cad,_0x4f3c45,_0x138388);}var Bs=Object[_0x4a5b68(0x3f1)],wt=(_0x5716dd,_0x3c5341,_0x1849d5,_0x27460a)=>{var _0x2da1f5=_0x4a5b68;for(var _0x8e8afd=_0x27460a>0x1?void 0x0:_0x27460a?Bs(_0x3c5341,_0x1849d5):_0x3c5341,_0x27c74b=_0x5716dd[_0x2da1f5(0x2fd)]-0x1,_0x546754;_0x27c74b>=0x0;_0x27c74b--)(_0x546754=_0x5716dd[_0x27c74b])&&(_0x8e8afd=_0x546754(_0x8e8afd)||_0x8e8afd);return _0x8e8afd;},H=(_0x32bbdc,_0xad0b9d)=>(_0xb6e5a0,_0x10a8e0)=>_0xad0b9d(_0xb6e5a0,_0x10a8e0,_0x32bbdc);let st=class extends _0x516120{constructor(_0x2b0f18,_0x212056,_0x3cb0c6,_0x433057,_0x131b00,_0x5c5cc3,_0x4cec40,_0x2d239f,_0x55214f,_0x3d61b1,_0x440693,_0x442f77,_0xe451a7){var _0x2c6070=_0x4a5b68;super(),N(this,_0x2c6070(0x2c6),new _0x5c19c8(null)),N(this,_0x2c6070(0x31c),this[_0x2c6070(0x2c6)][_0x2c6070(0x378)]()),N(this,_0x2c6070(0x1b5)),N(this,'_collaborationPaused',!0x1),N(this,_0x2c6070(0x2b6),''),N(this,_0x2c6070(0x3db),0x0),N(this,_0x2c6070(0x27e),this[_0x2c6070(0x31c)][_0x2c6070(0x366)](_0x2b93b1(_0x5b053a=>_0x5b053a?_0x5b053a[_0x2c6070(0x427)]:Ei[_0x2c6070(0x44f)]),_0x50f5bb(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x2c6070(0x376),[]),(this[_0x2c6070(0x312)]=_0x2b0f18,this[_0x2c6070(0x3fa)]=_0x212056,this[_0x2c6070(0x360)]=_0x3cb0c6,this[_0x2c6070(0x3a6)]=_0x433057,this[_0x2c6070(0x35f)]=_0x131b00,this[_0x2c6070(0x465)]=_0x5c5cc3,this[_0x2c6070(0x38e)]=_0x4cec40,this[_0x2c6070(0x198)]=_0x2d239f,this[_0x2c6070(0x30d)]=_0x55214f,this[_0x2c6070(0x39b)]=_0x3d61b1,this['_permissionService']=_0x440693,this['_singleActiveUnitService']=_0x442f77,this[_0x2c6070(0x32d)]=_0xe451a7);}get[_0x4a5b68(0x284)](){var _0x29eb52=_0x4a5b68;return this[_0x29eb52(0x1b5)];}async[_0x4a5b68(0x240)](){var _0x16cd5a=_0x4a5b68;if(this[_0x16cd5a(0x284)])throw new Error(_0x16cd5a(0x1d9));await this[_0x16cd5a(0x3ec)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x28cbad(()=>{var _0x3592b6=_0x625c;this[_0x3592b6(0x22d)]=!0x1,this[_0x3592b6(0x2b1)]();});}[_0x4a5b68(0x1e1)](_0x24577b){this['_onLocalMutation'](_0x24577b);}[_0x4a5b68(0x470)](_0x421d6b){var _0xeb8bdb=_0x4a5b68;this[_0xeb8bdb(0x1b5)]=_0x421d6b,this[_0xeb8bdb(0x2c6)]['next'](_0x421d6b);}async[_0x4a5b68(0x3ec)](){var _0x1b60ac=_0x4a5b68,_0x9bd9d2;this['_updateState'](await this[_0x1b60ac(0x382)]()),this[_0x1b60ac(0x288)]&&((_0x9bd9d2=this['_singleActiveUnitService'])==null||_0x9bd9d2[_0x1b60ac(0x272)](this['unitID']),this[_0x1b60ac(0x2d6)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x1b60ac(0x407)](_0x19e75a=>{var _0x47e05c=_0x1b60ac;this[_0x47e05c(0x30d)][_0x47e05c(0x229)](_0x47e05c(0x327),_0x47e05c(0x310),_0x19e75a),_0x19e75a===gi[_0x47e05c(0x2a3)]?(this[_0x47e05c(0x198)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x47e05c(0x437)][_0x47e05c(0x3c9)](new _0x243f8c(this[_0x47e05c(0x312)])['id'],!0x1),this[_0x47e05c(0x437)][_0x47e05c(0x46c)](!0x1)):(this[_0x47e05c(0x437)][_0x47e05c(0x3c9)](new _0x243f8c(this['unitID'])['id'],!0x0),this[_0x47e05c(0x437)][_0x47e05c(0x46c)](!0x0));})));let _0x420f64=!0x1;return this[_0x1b60ac(0x2d6)](this[_0x1b60ac(0x3fa)][_0x1b60ac(0x3e3)][_0x1b60ac(0x407)](_0x1fca28=>{var _0x17f564=_0x1b60ac;_0x1fca28===ge[_0x17f564(0x320)]?this[_0x17f564(0x3ae)](_0x420f64):_0x1fca28===ge['OFFLINE']&&(_0x420f64=!0x0,this['_toggleOffline']());})),this[_0x1b60ac(0x2d6)](this[_0x1b60ac(0x3fa)]['event$'][_0x1b60ac(0x407)](_0x1c3ee3=>{var _0x383da8=_0x1b60ac;try{switch(_0x1c3ee3[_0x383da8(0x285)]){case _0x1c3d7c['NEW_CHANGESETS']:{this[_0x383da8(0x3a2)](_0x575503(_0x1c3ee3[_0x383da8(0x2c7)]));break;}case _0x1c3d7c['CHANGESET_ACK']:{this[_0x383da8(0x3fd)](_0x1c3ee3['data']);break;}case _0x1c3d7c[_0x383da8(0x311)]:{this[_0x383da8(0x304)]();break;}case _0x1c3d7c['CHANGESET_SHOULD_RETRY']:{this[_0x383da8(0x2d7)](_0x1c3ee3[_0x383da8(0x2c7)]);break;}case _0x1c3d7c[_0x383da8(0x300)]:{this[_0x383da8(0x45d)](_0x1c3ee3[_0x383da8(0x2c7)][_0x383da8(0x44b)][_0x383da8(0x1f2)](_0xa92e04=>_0x575503(_0xa92e04)));break;}case _0x1c3d7c['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1c3d7c[_0x383da8(0x442)]:break;}}catch(_0x52eded){throw console['error'](_0x383da8(0x28c),_0x52eded),_0x52eded;}})),this['_state'];}['_unlockTransition'](){var _0x1f48d9=_0x4a5b68;this[_0x1f48d9(0x39c)]=!0x1;}[_0x4a5b68(0x23d)](){var _0x2eb940=_0x4a5b68;if(this[_0x2eb940(0x39c)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x4a5b68(0x286)](_0x18fd36){var _0x1e6f3a=_0x4a5b68;this[_0x1e6f3a(0x23d)](),this['_updateState'](this[_0x1e6f3a(0x1b5)][_0x1e6f3a(0x30c)](_0x18fd36)),this['_unlockTransition']();}[_0x4a5b68(0x3a2)](_0x16ce18){var _0x3cc7fd=_0x4a5b68;if(!(_0x16ce18[_0x3cc7fd(0x248)]<=this[_0x3cc7fd(0x38e)][_0x3cc7fd(0x336)](this[_0x3cc7fd(0x312)]))){if(this['_collaborationPaused']){this[_0x3cc7fd(0x376)][_0x3cc7fd(0x222)](_0x16ce18);return;}this[_0x3cc7fd(0x1a0)](_0x16ce18);}}['_exhaustRemoteChangesetQueue'](){var _0x2383ca=_0x4a5b68;this['_remoteChangesetQueue'][_0x2383ca(0x381)](_0x202607=>this[_0x2383ca(0x1a0)](_0x202607)),this['_remoteChangesetQueue']=[];}[_0x4a5b68(0x1a0)](_0x41c89d){var _0x381312=_0x4a5b68;const _0x44a2dd=this['_compressMutationService'][_0x381312(0x3b6)]['fetchThroughInterceptors'](this[_0x381312(0x35f)][_0x381312(0x3b6)][_0x381312(0x2f3)]()['COMPRESS_MUTATION_APPLY'])(_0x41c89d[_0x381312(0x25f)],null)||_0x41c89d[_0x381312(0x25f)],_0x879bb3={..._0x41c89d,'mutations':_0x44a2dd};this['_lockTransition'](),this['_updateState'](this[_0x381312(0x1b5)]['onRemoteChangeset'](_0x879bb3)),this[_0x381312(0x2a8)]();}[_0x4a5b68(0x3fd)](_0x51cc00){var _0x862782=_0x4a5b68;this['_lockTransition'](),this['_updateState'](this[_0x862782(0x1b5)]['onRemoteAck'](_0x51cc00)),this['_unlockTransition']();}[_0x4a5b68(0x304)](_0x5ef600){var _0x5816d6=_0x4a5b68;this[_0x5816d6(0x23d)](),this[_0x5816d6(0x470)](this[_0x5816d6(0x1b5)][_0x5816d6(0x377)](_0x5ef600)),this[_0x5816d6(0x2a8)]();}[_0x4a5b68(0x2d7)](_0x54e29e){var _0x379c=_0x4a5b68;this['_lockTransition'](),this['_updateState'](this[_0x379c(0x1b5)][_0x379c(0x292)](_0x54e29e)),this[_0x379c(0x2a8)]();}[_0x4a5b68(0x45d)](_0x2c86e4){var _0x1b82a6=_0x4a5b68;if(!(this[_0x1b82a6(0x1b5)]instanceof Q))throw new TypeError(_0x1b82a6(0x37a));const _0x9a831a=_0x2c86e4['map'](_0x163b22=>{var _0x34287c=_0x1b82a6;const _0x2d8a4d=this['_compressMutationService'][_0x34287c(0x3b6)][_0x34287c(0x391)](this[_0x34287c(0x35f)][_0x34287c(0x3b6)][_0x34287c(0x2f3)]()['COMPRESS_MUTATION_APPLY'])(_0x163b22[_0x34287c(0x25f)],null)||_0x163b22[_0x34287c(0x25f)];return{..._0x163b22,'mutations':_0x2d8a4d};});this[_0x1b82a6(0x23d)](),this[_0x1b82a6(0x470)](this['_state']['onMissedChangesetFetched'](_0x9a831a)),this[_0x1b82a6(0x2a8)]();}[_0x4a5b68(0x21f)](){var _0x17dacd=_0x4a5b68;this[_0x17dacd(0x23d)](),this[_0x17dacd(0x470)](this[_0x17dacd(0x1b5)][_0x17dacd(0x23b)]()),this[_0x17dacd(0x2a8)]();}[_0x4a5b68(0x3ae)](_0x17fac7=!0x1){var _0xaaa5be=_0x4a5b68;this[_0xaaa5be(0x23d)](),this[_0xaaa5be(0x470)](this[_0xaaa5be(0x1b5)][_0xaaa5be(0x359)]()),this[_0xaaa5be(0x2a8)]();const _0x15b45b=this[_0xaaa5be(0x1b5)];_0x17fac7&&_0x15b45b instanceof ye&&(this[_0xaaa5be(0x23d)](),this[_0xaaa5be(0x470)](_0x15b45b[_0xaaa5be(0x1d7)]()),this['_unlockTransition']());}async[_0x4a5b68(0x382)](){return new Promise(_0x53f119=>{var _0xa44140=_0x625c;this[_0xa44140(0x3fa)]['sessionStatus$']['pipe'](_0x168aca(0x1))[_0xa44140(0x407)](async _0x29d6f7=>{var _0x17bdc1=_0xa44140;_0x53f119(await this[_0x17bdc1(0x2ef)](_0x29d6f7===ge[_0x17bdc1(0x320)]));});});}[_0x4a5b68(0x32f)](){var _0x373bbd=_0x4a5b68;const _0x20b3d8=this[_0x373bbd(0x312)];return{'onStateChange':(_0x2c3907,_0x16635d)=>{var _0x19c36f=_0x373bbd;if(_0x2c3907!==this['_state'])throw new Error(_0x19c36f(0x397)+_0x2c3907['status']+'\x0aAfter:\x20'+_0x16635d['status']+_0x19c36f(0x48f)+this[_0x19c36f(0x1b5)]['status']);this[_0x19c36f(0x470)](_0x16635d);},'onSendChangeset':_0x40f731=>{var _0x33e3bd=_0x373bbd;_0x40f731[_0x33e3bd(0x28d)]||(_0x40f731[_0x33e3bd(0x28d)]=this[_0x33e3bd(0x2b6)],_0x40f731[_0x33e3bd(0x2b9)]=++this[_0x33e3bd(0x3db)]);const _0x591343={'eventID':_0x1c3d7c[_0x33e3bd(0x2c1)],'data':{'unitID':_0x40f731['unitID'],'unitType':this[_0x33e3bd(0x360)],'changeset':_0x40f731,'memberID':this[_0x33e3bd(0x3fa)][_0x33e3bd(0x3ca)]()}};this[_0x33e3bd(0x3fa)][_0x33e3bd(0x402)](_0x591343,this[_0x33e3bd(0x312)]);},'onMissingChangesets':({from:_0x3365d4,to:_0x5bda6d})=>{var _0x30b4ce=_0x373bbd;this[_0x30b4ce(0x30d)][_0x30b4ce(0x229)]('[CollaborationEntity]',_0x30b4ce(0x3a0)+_0x3365d4+_0x30b4ce(0x445)+_0x5bda6d);const _0x2e657b={'eventID':_0x1c3d7c[_0x30b4ce(0x428)],'data':{'unitID':_0x20b3d8,'unitType':this[_0x30b4ce(0x360)],'from':_0x3365d4,'to':_0x5bda6d}};this[_0x30b4ce(0x3fa)][_0x30b4ce(0x402)](_0x2e657b,this[_0x30b4ce(0x312)]);}};}async['_createInitialStateImpl'](_0x21770e){var _0x190681=_0x4a5b68,_0x1d0631,_0x439789,_0x1812ff;const _0x1d0bc6=await((_0x1d0631=this[_0x190681(0x32d)])==null?void 0x0:_0x1d0631['loadOfflineData'](this[_0x190681(0x312)])),_0x51ca17=(_0x439789=_0x1d0bc6==null?void 0x0:_0x1d0bc6[_0x190681(0x25f)])!=null?_0x439789:[],_0x47acc5=(_0x1812ff=_0x1d0bc6==null?void 0x0:_0x1d0bc6['awaitingChangeset'])!=null?_0x1812ff:null,_0x4ecfd6=!!(_0x47acc5!=null&&_0x47acc5['sid'])&&!!(_0x47acc5!=null&&_0x47acc5[_0x190681(0x2b9)]);this[_0x190681(0x2b6)]=_0x4ecfd6?_0x47acc5[_0x190681(0x28d)]:_0x586d39(),this['_changesetReqId']=_0x4ecfd6?_0x47acc5['reqId']:0x0;const _0x16cc69=this[_0x190681(0x312)];try{this[_0x190681(0x43f)](_0x47acc5,_0x51ca17);}catch(_0x46a451){this[_0x190681(0x30d)][_0x190681(0x3ba)](_0x46a451);}const _0x17a1b8=this[_0x190681(0x32f)]();if(_0x21770e){const _0x5e717d=Ti(this[_0x190681(0x3a6)],_0x16cc69,this[_0x190681(0x360)],_0x47acc5,_0x51ca17,_0x17a1b8);return _0x5e717d instanceof re?_0x5e717d[_0x190681(0x228)]():(_0x5e717d instanceof ae||_0x5e717d instanceof _e)&&_0x5e717d[_0x190681(0x29a)](),_0x5e717d;}return this['_injector'][_0x190681(0x48b)](ue,_0x16cc69,this[_0x190681(0x360)],_0x47acc5,_0x51ca17,_0x17a1b8);}[_0x4a5b68(0x43f)](_0x1c7298,_0x15861d){var _0x2f151a=_0x4a5b68,_0x111b40,_0x544fe8;const _0x153851=this[_0x2f151a(0x35f)]['interceptor'][_0x2f151a(0x391)](this[_0x2f151a(0x35f)][_0x2f151a(0x3b6)][_0x2f151a(0x2f3)]()['COMPRESS_MUTATION_APPLY']);(_0x111b40=_0x153851((_0x1c7298==null?void 0x0:_0x1c7298[_0x2f151a(0x25f)])||[],null))==null||_0x111b40[_0x2f151a(0x381)](_0x39044f=>this[_0x2f151a(0x39b)][_0x2f151a(0x1ed)](_0x39044f['id'],_0x39044f[_0x2f151a(0x25a)])),(_0x544fe8=_0x153851(_0x15861d||[],null))==null||_0x544fe8[_0x2f151a(0x381)](_0x493b3f=>this[_0x2f151a(0x39b)][_0x2f151a(0x1ed)](_0x493b3f['id'],_0x493b3f[_0x2f151a(0x25a)]));}};st=wt([H(0x3,_0x3c3c0e(_0x1f171a)),H(0x4,_0x3c3c0e(_0x5641fb)),H(0x5,_0x3c3c0e(_0x2274bc)),H(0x6,_0x3c3c0e(_0x4dbd05)),H(0x7,_0x3c3c0e(ve)),H(0x8,_0x2ab23b),H(0x9,_0x27b315),H(0xa,_0x7fef79),H(0xb,_0x5db11f(ht)),H(0xc,_0x5db11f(J))],st);let St=class extends st{constructor(_0x5841b6,_0x5a21dd,_0x4069fc,_0x594ec5,_0x3ef9f0,_0x1fd473,_0x3b7a5d,_0x40e33e,_0x391922,_0x2ba594,_0x3a54be,_0x6c5b4d,_0x29deba){var _0x349ee6=_0x4a5b68;super(_0x5841b6,_0x4069fc,_0x5a21dd,_0x594ec5,_0x3ef9f0,_0x1fd473,_0x3b7a5d,_0x40e33e,_0x391922,_0x2ba594,_0x3a54be,_0x6c5b4d,_0x29deba),N(this,_0x349ee6(0x324),null),(this[_0x349ee6(0x312)]=_0x5841b6,this[_0x349ee6(0x270)]=_0x5a21dd);}[_0x4a5b68(0x29d)](_0x2478c9){var _0x2397cf=_0x4a5b68;this[_0x2397cf(0x324)]=_0x2478c9;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x108c5c=_0x4a5b68;const _0x1d7708=super[_0x108c5c(0x32f)]();return _0x1d7708[_0x108c5c(0x370)]=_0x339806=>{var _0xd8b163=_0x108c5c,_0x3e2c3a,_0x386bb1;return(_0x386bb1=(_0x3e2c3a=this[_0xd8b163(0x324)])==null?void 0x0:_0x3e2c3a[_0xd8b163(0x370)])==null?void 0x0:_0x386bb1[_0xd8b163(0x1c8)](_0x3e2c3a,_0x339806);},_0x1d7708[_0x108c5c(0x322)]=_0x1c3fd6=>{var _0x16bbc4=_0x108c5c,_0x59a146,_0x62148f;return(_0x62148f=(_0x59a146=this[_0x16bbc4(0x324)])==null?void 0x0:_0x59a146[_0x16bbc4(0x322)])==null?void 0x0:_0x62148f['call'](_0x59a146,_0x1c3fd6);},_0x1d7708[_0x108c5c(0x35d)]=_0xa0240b=>{var _0x3e36bd=_0x108c5c,_0x503082,_0x49ebc5;return(_0x49ebc5=(_0x503082=this[_0x3e36bd(0x324)])==null?void 0x0:_0x503082[_0x3e36bd(0x35d)])==null?void 0x0:_0x49ebc5['call'](_0x503082,_0xa0240b);},_0x1d7708[_0x108c5c(0x303)]=_0x3f2885=>{var _0x27cb6e=_0x108c5c,_0x4ef9c4,_0x3c77b7;return(_0x3c77b7=(_0x4ef9c4=this['_handlerCallback'])==null?void 0x0:_0x4ef9c4[_0x27cb6e(0x303)])==null?void 0x0:_0x3c77b7[_0x27cb6e(0x1c8)](_0x4ef9c4,_0x3f2885);},_0x1d7708[_0x108c5c(0x3c7)]=_0x3395ba=>{var _0x4881d4=_0x108c5c,_0x499d13,_0x20df7d,_0x13d95f;if(!((_0x499d13=this[_0x4881d4(0x324)])!=null&&_0x499d13[_0x4881d4(0x3c7)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x13d95f=(_0x20df7d=this[_0x4881d4(0x324)])==null?void 0x0:_0x20df7d[_0x4881d4(0x3c7)])==null?void 0x0:_0x13d95f[_0x4881d4(0x1c8)](_0x20df7d,_0x3395ba);},_0x1d7708[_0x108c5c(0x227)]=_0x123d1a=>{var _0x2df240=_0x108c5c,_0x199b2e,_0x91f27d,_0x23186e;if(!((_0x199b2e=this[_0x2df240(0x324)])!=null&&_0x199b2e[_0x2df240(0x227)]))throw new Error(_0x2df240(0x3b2));return(_0x23186e=(_0x91f27d=this[_0x2df240(0x324)])==null?void 0x0:_0x91f27d[_0x2df240(0x227)])==null?void 0x0:_0x23186e['call'](_0x91f27d,_0x123d1a);},_0x1d7708;}async[_0x4a5b68(0x3ec)](){var _0x19c57b=_0x4a5b68;const _0x46f73f=await super[_0x19c57b(0x3ec)]();return this[_0x19c57b(0x2d6)](this[_0x19c57b(0x39b)][_0x19c57b(0x463)]((_0xb6a091,_0x330537)=>{var _0x34402c=_0x19c57b;if(_0xb6a091['type']!==_0x1b3724['MUTATION']||_0x330537!=null&&_0x330537[_0x34402c(0x208)]||_0x330537!=null&&_0x330537[_0x34402c(0x386)]||_0xb6a091['id']===_0x20b2a6['id'])return;const _0x4ccc4c=_0xb6a091['params'];if((_0x4ccc4c==null?void 0x0:_0x4ccc4c['unitId'])!==this[_0x34402c(0x312)])return;const _0x533382=_0xb6a091,_0x32c914=this[_0x34402c(0x35f)]['interceptor'][_0x34402c(0x391)](this['_compressMutationService'][_0x34402c(0x3b6)][_0x34402c(0x2f3)]()[_0x34402c(0x492)])([_0x533382],null)||[_0x533382];this['_onLocalMutation'](_0x32c914[0x0]);})),_0x46f73f;}};St=wt([H(0x3,_0x3c3c0e(_0x1f171a)),H(0x4,_0x3c3c0e(_0x5641fb)),H(0x5,_0x3c3c0e(_0x2274bc)),H(0x6,_0x3c3c0e(_0x4dbd05)),H(0x7,_0x3c3c0e(ve)),H(0x8,_0x2ab23b),H(0x9,_0x27b315),H(0xa,_0x7fef79),H(0xb,_0x5db11f(ht)),H(0xc,_0x5db11f(J))],St);let Et=class extends st{constructor(_0x1a6d6e,_0x1faa94,_0x18a539,_0x2ffb5b,_0x5bd5f7,_0x23f7b3,_0xb7ad95,_0x36946c,_0x4d0456,_0x90459d,_0x14f112,_0x43c51c,_0x496ae3,_0x39013e){var _0xe6ea7e=_0x4a5b68;super(_0x1a6d6e,_0x18a539,_0x1faa94,_0x2ffb5b,_0x5bd5f7,_0x23f7b3,_0xb7ad95,_0x4d0456,_0x90459d,_0x14f112,_0x43c51c,_0x496ae3,_0x39013e),this['unitID']=_0x1a6d6e,this[_0xe6ea7e(0x270)]=_0x1faa94,this[_0xe6ea7e(0x3cd)]=_0x36946c;}[_0x4a5b68(0x32f)](){var _0xedb8b7=_0x4a5b68;const _0x5e88ec=super[_0xedb8b7(0x32f)]();return _0x5e88ec[_0xedb8b7(0x35d)]=_0x38a0cd=>this[_0xedb8b7(0x3cd)]['transformSelections'](_0x38a0cd),_0x5e88ec;}async[_0x4a5b68(0x3ec)](){var _0x257461=_0x4a5b68;const _0x479e00=await super[_0x257461(0x3ec)]();return this[_0x257461(0x2d6)](this[_0x257461(0x39b)][_0x257461(0x463)]((_0x25f071,_0x2e1118)=>{var _0x3fe1e0=_0x257461;if(_0x25f071['type']!==_0x1b3724[_0x3fe1e0(0x2f6)]||_0x2e1118!=null&&_0x2e1118[_0x3fe1e0(0x208)]||_0x2e1118!=null&&_0x2e1118[_0x3fe1e0(0x386)])return;const _0x2820e5=_0x25f071['params'];if((_0x2820e5==null?void 0x0:_0x2820e5['unitId'])!==this[_0x3fe1e0(0x312)])return;const _0x176273=_0x25f071,_0x2695e9=this['_compressMutationService'][_0x3fe1e0(0x3b6)][_0x3fe1e0(0x391)](this[_0x3fe1e0(0x35f)]['interceptor'][_0x3fe1e0(0x2f3)]()[_0x3fe1e0(0x492)])([_0x176273],null)||[_0x176273];this[_0x3fe1e0(0x286)](_0x2695e9[0x0]);})),_0x479e00;}};Et=wt([H(0x3,_0x3c3c0e(_0x1f171a)),H(0x4,_0x3c3c0e(_0x5641fb)),H(0x5,_0x3c3c0e(_0x2274bc)),H(0x6,_0x3c3c0e(_0x4dbd05)),H(0x7,_0x3c3c0e(it)),H(0x8,_0x3c3c0e(ve)),H(0x9,_0x2ab23b),H(0xa,_0x27b315),H(0xb,_0x7fef79),H(0xc,_0x5db11f(ht)),H(0xd,_0x5db11f(J))],Et);const js=_0x58fd9c('univer-pro.collaboration-client.network-condition.service');function Fs(_0x567795){var _0x435b9f=_0x4a5b68,_0x53da58,_0x2ea372,_0x36f0f6,_0x4f1fae,_0x2abc45;const _0x51f15c=_0x567795[_0x435b9f(0x2c7)],_0x4b3803=JSON[_0x435b9f(0x1d4)](_0x51f15c);switch(_0x4b3803[_0x435b9f(0x20d)]){case F[_0x435b9f(0x306)]:case F[_0x435b9f(0x353)]:{const _0x473a25=_0x4b3803[_0x435b9f(0x36a)];return{..._0x4b3803,'data':_0x473a25,'cmd':_0x4b3803['cmd']};}case F[_0x435b9f(0x3c1)]:{const _0x465159=_0x4b3803['joinRsp'];return{..._0x4b3803,'data':_0x465159,'cmd':_0x4b3803[_0x435b9f(0x20d)]};}case F[_0x435b9f(0x408)]:{const _0x5d2c9f=_0x4b3803[_0x435b9f(0x3a9)];switch(_0x5d2c9f[_0x435b9f(0x285)]){case _0x1c3d7c[_0x435b9f(0x45a)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':(_0x53da58=_0x5d2c9f[_0x435b9f(0x252)])==null?void 0x0:_0x53da58['cs']},'cmd':_0x4b3803['cmd']};case _0x1c3d7c['CHANGESET_ACK']:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':(_0x2ea372=_0x5d2c9f['csAckEvent'])==null?void 0x0:_0x2ea372['cs']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x223)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':(_0x36f0f6=_0x5d2c9f[_0x435b9f(0x2fa)])==null?void 0x0:_0x36f0f6['cs']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x311)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':(_0x4f1fae=_0x5d2c9f[_0x435b9f(0x1a8)])==null?void 0x0:_0x4f1fae['cs']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c['CHANGESET_SHOULD_RETRY']:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':(_0x2abc45=_0x5d2c9f[_0x435b9f(0x3bf)])==null?void 0x0:_0x2abc45['cs']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x3d5)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f[_0x435b9f(0x31e)]},'cmd':_0x4b3803['cmd']};case _0x1c3d7c['USERS_ENTER']:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f[_0x435b9f(0x29b)]},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x1d0)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f[_0x435b9f(0x28a)]},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x1f4)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f['liveShareNewHost']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x3b7)]:case _0x1c3d7c[_0x435b9f(0x480)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f[_0x435b9f(0x389)]},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x476)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f['liveShareNewHost']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x3e2)]:return{..._0x4b3803,'data':_0x5d2c9f,'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x39d)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f['commentUpdateEvent']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x42e)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f[_0x435b9f(0x3e0)]},'cmd':_0x4b3803['cmd']};case _0x1c3d7c[_0x435b9f(0x316)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f[_0x435b9f(0x262)]},'cmd':_0x4b3803[_0x435b9f(0x20d)]};case _0x1c3d7c[_0x435b9f(0x442)]:return{..._0x4b3803,'data':{..._0x5d2c9f,'data':_0x5d2c9f['uniscriptRunEvent']},'cmd':_0x4b3803[_0x435b9f(0x20d)]};default:return _0x4b3803;}}default:return _0x4b3803;}}function Vs(_0x2d12a7){var _0x500e38=_0x4a5b68;switch(_0x2d12a7[_0x500e38(0x20d)]){case F[_0x500e38(0x306)]:case F[_0x500e38(0x353)]:return JSON['stringify']({'cmd':_0x2d12a7[_0x500e38(0x20d)],'routeKey':_0x2d12a7['routeKey']});case F[_0x500e38(0x405)]:{let _0xfc5e04;switch(_0x2d12a7[_0x500e38(0x2c7)][_0x500e38(0x285)]){case _0x1c3d7c[_0x500e38(0x3d5)]:{_0xfc5e04={'eventID':_0x1c3d7c['UPDATE_CURSOR'],'updateCursorEvent':_0x2d12a7[_0x500e38(0x2c7)]['data']};break;}case _0x1c3d7c['USERS_LEAVE']:{_0xfc5e04={'eventID':_0x1c3d7c[_0x500e38(0x1d0)],'leaveEvent':_0x2d12a7[_0x500e38(0x2c7)][_0x500e38(0x2c7)]};break;}case _0x1c3d7c[_0x500e38(0x236)]:{_0xfc5e04={'eventID':_0x1c3d7c[_0x500e38(0x236)],'joinEvent':_0x2d12a7[_0x500e38(0x2c7)]['data']};break;}case _0x1c3d7c[_0x500e38(0x1f4)]:{_0xfc5e04={'eventID':_0x1c3d7c[_0x500e38(0x1f4)],'liveShareNewHost':_0x2d12a7[_0x500e38(0x2c7)][_0x500e38(0x2c7)]};break;}case _0x1c3d7c[_0x500e38(0x480)]:{_0xfc5e04={'eventID':_0x1c3d7c[_0x500e38(0x480)],'liveShareOperation':_0x2d12a7[_0x500e38(0x2c7)][_0x500e38(0x2c7)]};break;}case _0x1c3d7c['LIVESHARE_TERMINATE']:{_0xfc5e04={'eventID':_0x1c3d7c[_0x500e38(0x476)],'liveShareTerminate':_0x2d12a7[_0x500e38(0x2c7)]['data']};break;}case _0x1c3d7c[_0x500e38(0x261)]:{_0xfc5e04={'eventID':_0x1c3d7c[_0x500e38(0x261)],'liveShareRequestHost':_0x2d12a7[_0x500e38(0x2c7)][_0x500e38(0x2c7)]};break;}case _0x1c3d7c[_0x500e38(0x3b7)]:{_0xfc5e04={'eventID':_0x1c3d7c['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xfc5e04={'eventID':_0x2d12a7[_0x500e38(0x2c7)][_0x500e38(0x285)]};}return JSON[_0x500e38(0x44c)]({'cmd':_0x2d12a7['cmd'],'routeKey':_0x2d12a7['routeKey'],'collaMsg':_0xfc5e04});}case F[_0x500e38(0x3c1)]:return JSON[_0x500e38(0x44c)]({'cmd':_0x2d12a7[_0x500e38(0x20d)],'routeKey':_0x2d12a7['routeKey'],'joinReq':_0x2d12a7['data']});case F[_0x500e38(0x2af)]:return JSON[_0x500e38(0x44c)]({'cmd':_0x2d12a7[_0x500e38(0x20d)],'routeKey':_0x2d12a7['routeKey'],'leaveReq':_0x2d12a7[_0x500e38(0x2c7)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object['getOwnPropertyDescriptor'],Gs=(_0x1dc148,_0x18e1e8,_0x42501f,_0x4495e7)=>{var _0x4ee34b=_0x4a5b68;for(var _0x3276d4=_0x4495e7>0x1?void 0x0:_0x4495e7?Ws(_0x18e1e8,_0x42501f):_0x18e1e8,_0x58bfc5=_0x1dc148[_0x4ee34b(0x2fd)]-0x1,_0x18f83a;_0x58bfc5>=0x0;_0x58bfc5--)(_0x18f83a=_0x1dc148[_0x58bfc5])&&(_0x3276d4=_0x18f83a(_0x3276d4)||_0x3276d4);return _0x3276d4;},De=(_0x2b5398,_0x584b57)=>(_0x1967d1,_0x8ad74a)=>_0x584b57(_0x1967d1,_0x8ad74a,_0x2b5398);const Ci=_0x58fd9c(_0x4a5b68(0x1a9));function Ys(_0x4187ad,_0x2cb5cd,_0x5a1d13){var _0x5c489c=_0x4a5b68;return _0x4187ad+'/'+_0x2cb5cd+_0x5c489c(0x42d)+_0x5a1d13+_0x5c489c(0x207);}let Gt=class extends _0x58dc49{constructor(_0x18c9f7,_0x4707f6,_0x21608b,_0x37e8bd,_0x207a71){var _0x38afa2=_0x4a5b68;super(),this['_injector']=_0x18c9f7,this['_httpService']=_0x4707f6,this[_0x38afa2(0x3d4)]=_0x21608b,this[_0x38afa2(0x30d)]=_0x37e8bd,this[_0x38afa2(0x2b4)]=_0x207a71;}[_0x4a5b68(0x2e3)](_0x19c511){var _0x46169a=_0x4a5b68;const _0xd5eedd=this[_0x46169a(0x3a6)]['get'](_0x45aa44);if(!_0xd5eedd)throw new Error(_0x46169a(0x42a));const _0x23fb39=_0xd5eedd['createSocket'](_0x19c511);if(!_0x23fb39)throw new Error(_0x46169a(0x2fb));const _0x18d373=new _0x5f3310(),_0x37d366=new _0x1ce5f0();_0x18d373[_0x46169a(0x2a9)](_0x23fb39[_0x46169a(0x1b7)][_0x46169a(0x407)](_0x443578=>_0x37d366[_0x46169a(0x43b)](_0x443578))),_0x18d373[_0x46169a(0x2a9)](_0x28cbad(()=>_0x37d366[_0x46169a(0x293)]()));const _0x30e8f1=new _0x1ce5f0();_0x18d373[_0x46169a(0x2a9)](_0x23fb39['error$'][_0x46169a(0x407)](_0x253dd1=>_0x30e8f1['next'](_0x253dd1))),_0x18d373[_0x46169a(0x2a9)](_0x28cbad(()=>_0x30e8f1[_0x46169a(0x293)]()));const _0x5cc002=new _0x1ce5f0();_0x18d373[_0x46169a(0x2a9)](_0x23fb39[_0x46169a(0x35b)][_0x46169a(0x407)](_0xbd780a=>{var _0x43419e=_0x46169a;const _0x3936cb=Fs(_0xbd780a);_0x5cc002[_0x43419e(0x43b)](_0x3936cb);})),_0x18d373[_0x46169a(0x2a9)](_0x28cbad(()=>_0x5cc002[_0x46169a(0x293)]()));let _0x3a39b4;const _0x1c046a=()=>{var _0x568a96=_0x46169a;_0x30e8f1['next'](new Event(_0x568a96(0x2ad))),_0x37d366[_0x568a96(0x43b)](new Event(_0x568a96(0x2ad))),_0x3a39b4[_0x568a96(0x46a)]();};return _0x3a39b4={'memberID':'','close$':_0x37d366[_0x46169a(0x378)](),'error$':_0x30e8f1[_0x46169a(0x378)](),'open$':_0x23fb39[_0x46169a(0x27d)],'message$':_0x5cc002['asObservable'](),'send':_0x1d71df=>{var _0x4d02e6=_0x46169a;if(_0x1d71df[_0x4d02e6(0x20d)]===F[_0x4d02e6(0x405)]){if(_0x1d71df[_0x4d02e6(0x2c7)]['eventID']===_0x1c3d7c[_0x4d02e6(0x2c1)]){this['_submitChangeset'](_0x3a39b4,_0x1d71df[_0x4d02e6(0x2c7)])['catch'](_0x9449f9=>{var _0x428e12=_0x4d02e6;this[_0x428e12(0x30d)]['error'](_0x9449f9),_0x1c046a();});return;}if(_0x1d71df['data'][_0x4d02e6(0x285)]===_0x1c3d7c[_0x4d02e6(0x428)]){const _0x52ff5=_0x1d71df[_0x4d02e6(0x2c7)];this[_0x4d02e6(0x2b8)](_0x52ff5)['then'](_0x515dce=>{var _0x45c312=_0x4d02e6;_0x5cc002[_0x45c312(0x43b)]({'cmd':F[_0x45c312(0x408)],'code':pe['OK'],'routeKey':_0x52ff5[_0x45c312(0x2c7)][_0x45c312(0x312)],'routeType':'','data':{'eventID':_0x1c3d7c[_0x45c312(0x300)],'data':{'changesets':_0x515dce}}});})['catch'](_0x43ba4d=>{var _0x5eb98c=_0x4d02e6;this[_0x5eb98c(0x30d)]['error'](_0x43ba4d),_0x1c046a();});return;}}_0x23fb39[_0x4d02e6(0x402)](Vs(_0x1d71df));},'close':()=>{var _0x168f78=_0x46169a;_0x23fb39[_0x168f78(0x46a)](),_0x18d373[_0x168f78(0x33e)]();}},_0x3a39b4;}async[_0x4a5b68(0x1c2)](_0x21fc24,_0x428a44){var _0x4ce04d=_0x4a5b68,_0xd582d9;const {unitType:_0x1f2a60,unitID:_0x1f3585,changeset:_0x1ae98d}=_0x428a44[_0x4ce04d(0x2c7)],_0x55275a={'unitID':_0x1f3585,'memberID':_0x21fc24[_0x4ce04d(0x3e9)],'type':_0x1f2a60,'changeset':_0x481981(_0x1ae98d)},_0x5a4675=this[_0x4ce04d(0x3d4)][_0x4ce04d(0x41e)](K),_0x19e99a=Ys((_0xd582d9=_0x5a4675==null?void 0x0:_0x5a4675['collabSubmitChangesetUrl'])!=null?_0xd582d9:Cs,_0x1f2a60,_0x1f3585);try{await this['_httpService'][_0x4ce04d(0x3af)](_0x19e99a,{'body':_0x55275a});}catch(_0x5aa971){throw this['_logService'][_0x4ce04d(0x3ba)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x5aa971;}}async[_0x4a5b68(0x2b8)](_0x8dc4ef){var _0x2fd028=_0x4a5b68;const {unitID:_0x1239a9,from:_0x5d2229,to:_0x5d668a,unitType:_0x5b2ebd}=_0x8dc4ef[_0x2fd028(0x2c7)];return(await this[_0x2fd028(0x2b4)][_0x2fd028(0x48c)]({'metadata':void 0x0},{'unitID':_0x1239a9,'type':_0x5b2ebd,'from':_0x5d2229,'to':_0x5d668a}))[_0x2fd028(0x44b)];}};Gt=Gs([De(0x0,_0x3c3c0e(_0x1f171a)),De(0x1,_0x3c3c0e(_0x2e87db)),De(0x2,_0x4647a9),De(0x3,_0x2ab23b),De(0x4,_0x254a7c)],Gt);var Ks=Object[_0x4a5b68(0x3f1)],qs=(_0x28c4fb,_0x198b3c,_0x79cfe,_0x4d9a4b)=>{for(var _0x8f8d76=_0x4d9a4b>0x1?void 0x0:_0x4d9a4b?Ks(_0x198b3c,_0x79cfe):_0x198b3c,_0x1f73f5=_0x28c4fb['length']-0x1,_0x5a7bbc;_0x1f73f5>=0x0;_0x1f73f5--)(_0x5a7bbc=_0x28c4fb[_0x1f73f5])&&(_0x8f8d76=_0x5a7bbc(_0x8f8d76)||_0x8f8d76);return _0x8f8d76;},Re=(_0xa21b44,_0x3fb4a5)=>(_0x4205fd,_0x1147ad)=>_0x3fb4a5(_0x4205fd,_0x1147ad,_0xa21b44);let Pe=class extends _0x58dc49{constructor(_0x3a682f,_0x2d3589,_0x4e273a,_0x7db2e2,_0x2c6430,_0x3d933e){var _0x5b324c=_0x4a5b68;super(),N(this,'_socket$',new _0x5c19c8(void 0x0)),N(this,_0x5b324c(0x43a),this[_0x5b324c(0x202)]['asObservable']()),N(this,_0x5b324c(0x201),null),N(this,'_sessions',new Map()),N(this,_0x5b324c(0x3f9),new _0x5c19c8(ge[_0x5b324c(0x194)])),N(this,_0x5b324c(0x27e),this[_0x5b324c(0x3f9)][_0x5b324c(0x378)]()),N(this,_0x5b324c(0x3da),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5b324c(0x3ef),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5b324c(0x40d)),(this[_0x5b324c(0x3a6)]=_0x3a682f,this[_0x5b324c(0x30d)]=_0x2d3589,this['_configService']=_0x4e273a,this[_0x5b324c(0x344)]=_0x7db2e2,this['_collaborationUIEventService']=_0x2c6430,this[_0x5b324c(0x355)]=_0x3d933e,this[_0x5b324c(0x3c3)]());}get[_0x4a5b68(0x326)](){var _0x1d20eb=_0x4a5b68;return this[_0x1d20eb(0x202)][_0x1d20eb(0x260)]();}[_0x4a5b68(0x3c3)](){var _0x3878b0=_0x4a5b68;this['_networkConditionService']&&this[_0x3878b0(0x2d6)](this[_0x3878b0(0x355)][_0x3878b0(0x491)]['subscribe'](_0x57ca9f=>{var _0x1c77a9=_0x3878b0;_0x57ca9f&&!this[_0x1c77a9(0x326)]&&this[_0x1c77a9(0x211)](),_0x57ca9f||this[_0x1c77a9(0x459)]();}));}['dispose'](){var _0xfc0a3d=_0x4a5b68;super[_0xfc0a3d(0x33e)](),this[_0xfc0a3d(0x2c3)](),this[_0xfc0a3d(0x1c9)](),this['_clearHeartbeatTimer'](),this[_0xfc0a3d(0x2d3)]['forEach'](_0x4412e4=>_0x4412e4[_0xfc0a3d(0x33e)]()),this[_0xfc0a3d(0x2d3)][_0xfc0a3d(0x379)](),this[_0xfc0a3d(0x3f9)][_0xfc0a3d(0x293)]();}async[_0x4a5b68(0x3a8)](_0x5dcf58){var _0x209395=_0x4a5b68;if(this[_0x209395(0x2d3)]['has'](_0x5dcf58))return this['_sessions'][_0x209395(0x3b0)](_0x5dcf58);this[_0x209395(0x3bc)]();const _0xb6fb89=this[_0x209395(0x3a6)][_0x209395(0x48b)](gt,_0x5dcf58,this[_0x209395(0x202)][_0x209395(0x378)]());return this[_0x209395(0x2d3)]['set'](_0x5dcf58,_0xb6fb89),_0xb6fb89;}[_0x4a5b68(0x3eb)](_0x15a30b){var _0x51a149=_0x4a5b68,_0x55df30;const _0x3a334d=this['_sessions'][_0x51a149(0x3b0)](_0x15a30b);_0x3a334d&&(this[_0x51a149(0x2d3)][_0x51a149(0x441)](_0x15a30b),_0x3a334d['close']()),this[_0x51a149(0x2d3)][_0x51a149(0x308)]||(_0x55df30=this[_0x51a149(0x326)])==null||_0x55df30[_0x51a149(0x46a)]();}[_0x4a5b68(0x211)](){var _0xf48d2e=_0x4a5b68;this[_0xf48d2e(0x3ef)]=0x0,this[_0xf48d2e(0x2c3)](),this['_tryReconnect']();}[_0x4a5b68(0x2c3)](){var _0x3898ca=_0x4a5b68;this[_0x3898ca(0x494)]!=null&&(clearTimeout(this[_0x3898ca(0x494)]),this['_retryConnectingTimer']=null);}async[_0x4a5b68(0x31f)](){var _0x2dedaf=_0x4a5b68,_0x4ce788;const _0x341f9b=this[_0x2dedaf(0x3d4)][_0x2dedaf(0x41e)](K),_0x584f11=(_0x4ce788=_0x341f9b==null?void 0x0:_0x341f9b['collabWebSocketUrl'])!=null?_0x4ce788:ms,_0x485616=await this['_socketService'][_0x2dedaf(0x2a2)](_0x584f11);return this[_0x2dedaf(0x201)]=_0x485616,_0x485616;}async[_0x4a5b68(0x3bc)](){var _0xaa57b5=_0x4a5b68,_0x21e2dd,_0x5e4075;try{const _0x1ee7a5=(_0x5e4075=(_0x21e2dd=this[_0xaa57b5(0x326)])!=null?_0x21e2dd:this[_0xaa57b5(0x201)])!=null?_0x5e4075:await this[_0xaa57b5(0x31f)]();if(_0x1ee7a5){const _0x4c61b5=_0x1ee7a5[_0xaa57b5(0x402)];_0x1ee7a5['send']=_0x4bd3b1=>(this[_0xaa57b5(0x3e8)](),_0x4c61b5[_0xaa57b5(0x41d)](_0x1ee7a5,[_0x4bd3b1])),_0x1ee7a5['message$']['subscribe'](_0x371013=>this[_0xaa57b5(0x3bd)](_0x1ee7a5,_0x371013)),_0x1ee7a5[_0xaa57b5(0x2d4)][_0xaa57b5(0x366)](_0x478b67(0x1))[_0xaa57b5(0x407)](_0x3154fa=>this[_0xaa57b5(0x30d)][_0xaa57b5(0x3ba)](_0xaa57b5(0x46d),_0x3154fa)),_0x1ee7a5[_0xaa57b5(0x27d)]['pipe'](_0x478b67(0x1))[_0xaa57b5(0x407)](()=>{var _0x192a5b=_0xaa57b5;this[_0x192a5b(0x448)](_0x1ee7a5);}),_0x1ee7a5[_0xaa57b5(0x1b7)][_0xaa57b5(0x366)](_0x478b67(0x1))[_0xaa57b5(0x407)](_0x5adc2c=>{var _0x22cf4f=_0xaa57b5;this[_0x22cf4f(0x30d)]['debug'](_0x22cf4f(0x349),_0x22cf4f(0x2f8),_0x5adc2c),this[_0x22cf4f(0x2c5)]();});}}catch(_0xe67bee){this[_0xaa57b5(0x30d)]['error'](_0xe67bee),this[_0xaa57b5(0x2c5)]();}}[_0x4a5b68(0x448)](_0x324fc3){var _0x14d512=_0x4a5b68;this[_0x14d512(0x30d)][_0x14d512(0x229)]('[CollaborationSessionService]','socket\x20open.'),_0x324fc3[_0x14d512(0x402)]({'cmd':F[_0x14d512(0x353)]}),this[_0x14d512(0x3e8)]();}['_onOffline'](){var _0x12e8af=_0x4a5b68;this[_0x12e8af(0x3da)]=!0x1,this[_0x12e8af(0x201)]=null,this[_0x12e8af(0x3f9)][_0x12e8af(0x43b)](ge[_0x12e8af(0x44f)]),this[_0x12e8af(0x202)]['next'](null),this[_0x12e8af(0x1c9)](),this[_0x12e8af(0x1a2)]();}[_0x4a5b68(0x2c5)](){var _0x2fe6b7=_0x4a5b68,_0x3226b4;this[_0x2fe6b7(0x459)](),this['_retryCount']<((_0x3226b4=this[_0x2fe6b7(0x3d4)]['getConfig'](Is))!=null?_0x3226b4:Ts)?(this['_collaborationUIEventService'][_0x2fe6b7(0x478)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x2fe6b7(0x478)]({'id':ne[_0x2fe6b7(0x218)]});}[_0x4a5b68(0x337)](){var _0xbeb19=_0x4a5b68,_0x2822e7;const _0x398270=this['_retryCount'],_0x600147=this[_0xbeb19(0x3d4)][_0xbeb19(0x41e)](K),_0x12087c=_0x398270===0x0?0x0:((_0x2822e7=_0x600147==null?void 0x0:_0x600147[_0xbeb19(0x368)])!=null?_0x2822e7:Es)*0x2**_0x398270;this[_0xbeb19(0x494)]=setTimeout(()=>{var _0xf61b2=_0xbeb19;clearTimeout(this[_0xf61b2(0x494)]),this[_0xf61b2(0x494)]=null,this[_0xf61b2(0x3bc)]();},_0x12087c),this[_0xbeb19(0x3ef)]+=0x1;}[_0x4a5b68(0x3bd)](_0x518380,_0x21f7e6){var _0x2d68cf=_0x4a5b68;const {cmd:_0x3cc8f3}=_0x21f7e6;_0x3cc8f3===F['HELLO']&&!this['_socketReady']&&(_0x518380[_0x2d68cf(0x3e9)]=_0x21f7e6['data']['memberID'],this[_0x2d68cf(0x202)]['next'](_0x518380),this[_0x2d68cf(0x3f9)][_0x2d68cf(0x43b)](ge[_0x2d68cf(0x320)]),this[_0x2d68cf(0x3da)]=!0x0,this['_candidateSocket']=null),_0x3cc8f3===F['HEARTBEAT']&&this[_0x2d68cf(0x1c9)](),this[_0x2d68cf(0x3e8)]();}[_0x4a5b68(0x3e8)](){var _0x580d16=_0x4a5b68,_0xe3ad52;this['_clearHeartbeatTimer'](),this[_0x580d16(0x398)]=setTimeout(()=>this['_sendHeartbeat'](),(_0xe3ad52=this[_0x580d16(0x3d4)]['getConfig'](gs))!=null?_0xe3ad52:Ss);}[_0x4a5b68(0x3b4)](){var _0xb08610=_0x4a5b68;this[_0xb08610(0x326)]['send']({'cmd':F[_0xb08610(0x306)]}),this['_waitForHeartbeatResponse']();}[_0x4a5b68(0x479)](){var _0x19a270=_0x4a5b68,_0x4a55aa;this[_0x19a270(0x40d)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x4a55aa=this['_configService'][_0x19a270(0x41e)](di))!=null?_0x4a55aa:fi);}[_0x4a5b68(0x1a2)](){var _0x4873de=_0x4a5b68;this[_0x4873de(0x398)]!=null&&(clearTimeout(this[_0x4873de(0x398)]),this[_0x4873de(0x398)]=null);}[_0x4a5b68(0x1c9)](){var _0x402378=_0x4a5b68;this[_0x402378(0x40d)]!=null&&(clearTimeout(this[_0x402378(0x40d)]),this[_0x402378(0x40d)]=null);}};Pe=qs([Re(0x0,_0x3c3c0e(_0x1f171a)),Re(0x1,_0x2ab23b),Re(0x2,_0x4647a9),Re(0x3,Ci),Re(0x4,_0x3c3c0e(ve)),Re(0x5,_0x5db11f(js))],Pe);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x3111bc,_0x4202b8,_0x91006a,_0xfd121c)=>{var _0x3610d5=_0x4a5b68;for(var _0x1813f0=_0xfd121c>0x1?void 0x0:_0xfd121c?zs(_0x4202b8,_0x91006a):_0x4202b8,_0x13f784=_0x3111bc[_0x3610d5(0x2fd)]-0x1,_0xfd915;_0x13f784>=0x0;_0x13f784--)(_0xfd915=_0x3111bc[_0x13f784])&&(_0x1813f0=_0xfd915(_0x1813f0)||_0x1813f0);return _0x1813f0;},Be=(_0x2814c1,_0x349255)=>(_0x2fa813,_0x4b763a)=>_0x349255(_0x2fa813,_0x4b763a,_0x2814c1);let nt=class extends _0x516120{constructor(_0xae4606,_0x54d66d,_0x343c49,_0x546a63){var _0xd89ac5=_0x4a5b68,_0x2c862d;super(),N(this,_0xd89ac5(0x387),new Map()),N(this,_0xd89ac5(0x244),new _0x1ce5f0()),N(this,'entityInit$',this[_0xd89ac5(0x244)]['asObservable']()),(this[_0xd89ac5(0x3a6)]=_0xae4606,this['_collabSessionService']=_0x54d66d,this[_0xd89ac5(0x3d4)]=_0x343c49,this[_0xd89ac5(0x29f)]=_0x546a63,((_0x2c862d=this['_configService']['getConfig'](K))==null?void 0x0:_0x2c862d['enableCollaboration'])!==!0x1&&this[_0xd89ac5(0x3ec)]());}[_0x4a5b68(0x33e)](){var _0x5c92ba=_0x4a5b68;super[_0x5c92ba(0x33e)](),this['_entities']['forEach'](_0x220709=>_0x220709[_0x5c92ba(0x33e)]()),this['_entities'][_0x5c92ba(0x379)]();}['getCollabEntity'](_0x1f659c){var _0x472b0d=_0x4a5b68,_0x5c11b2;return(_0x5c11b2=this[_0x472b0d(0x387)][_0x472b0d(0x3b0)](_0x1f659c))!=null?_0x5c11b2:null;}['getCollabEntity$'](_0x12b95b){var _0x488f46=_0x4a5b68;const _0x4f161d=this[_0x488f46(0x41a)](_0x12b95b);return _0x4f161d?_0x21780f(_0x4f161d):this['_entityInit$'][_0x488f46(0x366)](_0x3a365b(_0x108866=>_0x108866[_0x488f46(0x312)]===_0x12b95b));}[_0x4a5b68(0x1cf)](_0x13541f){return _0x4f7f89(this['getCollabEntity$'](_0x13541f)['pipe'](_0xf0b4c3(()=>{})));}[_0x4a5b68(0x3ec)](){var _0x1d425a=_0x4a5b68;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xedbaa7[_0x1d425a(0x197)])[_0x1d425a(0x366)](_0x5c7236(this[_0x1d425a(0x328)]),_0x2ba294(0x10))['subscribe'](async _0x1e1356=>{var _0x486037=_0x1d425a;const _0x194f5e=_0x1e1356[_0x486037(0x347)](),_0xeca3b3=await this[_0x486037(0x23c)](_0x194f5e,Z[_0x486037(0x197)]);this[_0x486037(0x387)][_0x486037(0x3a3)](_0x194f5e,_0xeca3b3);}),this['_univerInstanceService'][_0x1d425a(0x403)](_0xedbaa7['UNIVER_DOC'])[_0x1d425a(0x366)](_0x5c7236(this[_0x1d425a(0x328)]),_0x2ba294(0x10))['pipe'](_0x3a365b(_0x1c070e=>!_0x1c070e[_0x1d425a(0x347)]()['startsWith']('__')))[_0x1d425a(0x407)](async _0x5ebecf=>{var _0x1eeaeb=_0x1d425a;const _0x5bbe73=_0x5ebecf[_0x1eeaeb(0x347)](),_0x4f3dd9=await this[_0x1eeaeb(0x23c)](_0x5bbe73,Z[_0x1eeaeb(0x3b5)]);this[_0x1eeaeb(0x387)]['set'](_0x5bbe73,_0x4f3dd9);}),_0x3957d0(this[_0x1d425a(0x29f)][_0x1d425a(0x217)](_0xedbaa7[_0x1d425a(0x197)]),this['_univerInstanceService'][_0x1d425a(0x217)](_0xedbaa7[_0x1d425a(0x3b5)]))[_0x1d425a(0x366)](_0x5c7236(this[_0x1d425a(0x328)]))[_0x1d425a(0x407)](_0x567772=>{var _0x10f055=_0x1d425a;const _0x123fd6=_0x567772[_0x10f055(0x347)](),_0x4c7831=this['_entities'][_0x10f055(0x3b0)](_0x123fd6);_0x4c7831&&(_0x4c7831['dispose'](),this[_0x10f055(0x387)]['delete'](_0x123fd6));});}async['_startCollaboration'](_0x502151,_0x37c83e){var _0x3dfa66=_0x4a5b68;const _0x305bde=await this[_0x3dfa66(0x419)][_0x3dfa66(0x3a8)](_0x502151),_0x4dc5b0=this['_injector']['createInstance'](this[_0x3dfa66(0x2dd)](_0x37c83e),_0x502151,_0x37c83e,_0x305bde);return await _0x4dc5b0[_0x3dfa66(0x240)](),this[_0x3dfa66(0x244)][_0x3dfa66(0x43b)](_0x4dc5b0),_0x4dc5b0;}['_getCtorByUniverType'](_0x2542ab){var _0x103452=_0x4a5b68;switch(_0x2542ab){case Z[_0x103452(0x3b5)]:return St;case Z[_0x103452(0x197)]:return Et;default:throw new Error(_0x103452(0x33a)+_0x2542ab);}}};nt=Js([Be(0x0,_0x3c3c0e(_0x1f171a)),Be(0x1,_0x3c3c0e(Pe)),Be(0x2,_0x4647a9),Be(0x3,_0x17b18c)],nt);var Xs=Object[_0x4a5b68(0x3f1)],Zs=(_0x1c0d41,_0x2c03da,_0x1ce36b,_0x3b56ac)=>{var _0xd1a107=_0x4a5b68;for(var _0x15eaec=_0x3b56ac>0x1?void 0x0:_0x3b56ac?Xs(_0x2c03da,_0x1ce36b):_0x2c03da,_0xdf73cd=_0x1c0d41[_0xd1a107(0x2fd)]-0x1,_0x3672f7;_0xdf73cd>=0x0;_0xdf73cd--)(_0x3672f7=_0x1c0d41[_0xdf73cd])&&(_0x15eaec=_0x3672f7(_0x15eaec)||_0x15eaec);return _0x15eaec;},Yt=(_0x40b5c5,_0x19a02c)=>(_0x55097b,_0x2a21f9)=>_0x19a02c(_0x55097b,_0x2a21f9,_0x40b5c5);const Qs=_0x4a5b68(0x1fc),en='Univer';let It=class extends _0x58dc49{constructor(_0x397dd2,_0x4efea2){var _0x4b97d0=_0x4a5b68;super(),this['_univerInstanceService']=_0x397dd2,this[_0x4b97d0(0x3d4)]=_0x4efea2,this[_0x4b97d0(0x3ec)]();}[_0x4a5b68(0x3ec)](){var _0x2114a4=_0x4a5b68;this['disposeWithMe'](this[_0x2114a4(0x29f)][_0x2114a4(0x1ea)][_0x2114a4(0x407)](()=>{var _0x51466a=_0x2114a4,_0x41c54c;const _0x30aa3e=this[_0x51466a(0x29f)][_0x51466a(0x2cb)]();let _0x22fa38=(_0x41c54c=this['_configService'][_0x51466a(0x41e)](Qs))!=null?_0x41c54c:en;_0x30aa3e instanceof _0x47f817&&(_0x22fa38=_0x30aa3e[_0x51466a(0x335)]),document[_0x51466a(0x329)]=_0x22fa38;}));}};It=Zs([Yt(0x0,_0x17b18c),Yt(0x1,_0x4647a9)],It);var tn=Object[_0x4a5b68(0x3f1)],sn=(_0x2fcb85,_0x1aec29,_0x26d111,_0x2ca3ef)=>{var _0x518456=_0x4a5b68;for(var _0x23fc4a=_0x2ca3ef>0x1?void 0x0:_0x2ca3ef?tn(_0x1aec29,_0x26d111):_0x1aec29,_0x39f42a=_0x2fcb85[_0x518456(0x2fd)]-0x1,_0x47c34d;_0x39f42a>=0x0;_0x39f42a--)(_0x47c34d=_0x2fcb85[_0x39f42a])&&(_0x23fc4a=_0x47c34d(_0x23fc4a)||_0x23fc4a);return _0x23fc4a;},dt=(_0x9fc407,_0x5c7390)=>(_0x232efd,_0x31efc0)=>_0x5c7390(_0x232efd,_0x31efc0,_0x9fc407);let rt=class{constructor(_0x53c63e,_0x351b9d,_0x5101b9){var _0x15d49f=_0x4a5b68;this[_0x15d49f(0x3d4)]=_0x53c63e,this[_0x15d49f(0x3d7)]=_0x351b9d,this[_0x15d49f(0x446)]=_0x5101b9,this[_0x15d49f(0x240)]();}[_0x4a5b68(0x240)](){var _0xaa15d1=_0x4a5b68;this['_httpService'][_0xaa15d1(0x450)]({'priority':0x1,'interceptor':(_0x1a1903,_0x591ff3)=>_0x591ff3(_0x1a1903)[_0xaa15d1(0x366)](_0x5ecc49(async _0x182c28=>{var _0x425bc1=_0xaa15d1;const _0x5062ff=_0x182c28;if(_0x5062ff[_0x425bc1(0x427)]===0x191){if(typeof window>'u')throw new Error(_0x425bc1(0x40a));if(window[_0x425bc1(0x488)](this['localeService']['t'](_0x425bc1(0x2cc)))){const _0x3ab6c5=window[_0x425bc1(0x456)](window[_0x425bc1(0x19f)]['href']);window[_0x425bc1(0x19f)][_0x425bc1(0x1e0)]=this[_0x425bc1(0x449)]()+_0x425bc1(0x1d3)+_0x3ab6c5;}}return _0x5062ff;}))});}[_0x4a5b68(0x449)](){var _0x37f692=_0x4a5b68,_0x1a5800;const _0x3507f8=this[_0x37f692(0x3d4)][_0x37f692(0x41e)](K);return(_0x1a5800=_0x3507f8==null?void 0x0:_0x3507f8[_0x37f692(0x301)])!=null?_0x1a5800:Rs;}};rt=sn([dt(0x0,_0x4647a9),dt(0x1,_0x3c3c0e(_0x2e87db)),dt(0x2,_0x3c3c0e(_0x2274bc))],rt);var nn=Object[_0x4a5b68(0x3f1)],rn=(_0x10e4bc,_0x11de0c,_0x14aae5,_0x32aec1)=>{var _0x282c13=_0x4a5b68;for(var _0x348f6f=_0x32aec1>0x1?void 0x0:_0x32aec1?nn(_0x11de0c,_0x14aae5):_0x11de0c,_0x4dd2f3=_0x10e4bc[_0x282c13(0x2fd)]-0x1,_0x513ab5;_0x4dd2f3>=0x0;_0x4dd2f3--)(_0x513ab5=_0x10e4bc[_0x4dd2f3])&&(_0x348f6f=_0x513ab5(_0x348f6f)||_0x348f6f);return _0x348f6f;},Kt=(_0x2cd2a0,_0x2f76df)=>(_0x2a5fe4,_0x459853)=>_0x2f76df(_0x2a5fe4,_0x459853,_0x2cd2a0);const an=_0x4a5b68(0x3d9);let Tt=class extends _0x58dc49{constructor(_0x474337,_0x18360b){var _0x33b3a2=_0x4a5b68;super(),this[_0x33b3a2(0x21e)]=_0x474337,this[_0x33b3a2(0x3d4)]=_0x18360b,this[_0x33b3a2(0x42b)]();}[_0x4a5b68(0x42b)](){var _0x1b8a70=_0x4a5b68;const _0x3f172b=this;this[_0x1b8a70(0x2d6)](this[_0x1b8a70(0x21e)][_0x1b8a70(0x450)]({'priority':0x3e7,'interceptor':_0x5e20ba({'isMatch'(_0xc03545){var _0x2d552c=_0x1b8a70,_0x3896b4;if(_0xc03545[_0x2d552c(0x296)]==='POST'&&((_0x3896b4=_0xc03545['requestParams'])!=null&&_0x3896b4[_0x2d552c(0x342)])){const {objectID:_0xf072a5,objectType:_0x5dadb5}=_0xc03545[_0x2d552c(0x352)][_0x2d552c(0x342)]||{};if(!_0xf072a5||_0x5dadb5===void 0x0)return!0x1;const _0x57d96b=_0x3f172b[_0x2d552c(0x237)]()+'/'+_0x5dadb5+_0x2d552c(0x41c)+_0xf072a5+'/allowed';if(_0xc03545[_0x2d552c(0x385)]===_0x57d96b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf2d5cc){var _0x23a68e=_0x1b8a70,_0x5d5060;return(_0x5d5060=_0xf2d5cc['requestParams'])==null?void 0x0:_0x5d5060[_0x23a68e(0x342)];},'mergeParamsToRequest'(_0x4e1c92,_0x43d01a){var _0x3f6e6b=_0x1b8a70;const _0x58bdf6=_0x3f172b[_0x3f6e6b(0x237)]()+_0x3f6e6b(0x31b),_0x4cb4c6=_0x4e1c92[_0x3f6e6b(0x3c6)]((_0x42deee,_0x8dc806)=>{var _0x494652=_0x3f6e6b;const {unitID:_0x4b3c01,objectID:_0x562569,objectType:_0x1b95d6,actions:_0x108035}=_0x8dc806;return _0x42deee[_0x4b3c01]||(_0x42deee[_0x4b3c01]={}),_0x42deee[_0x4b3c01][_0x562569]||(_0x42deee[_0x4b3c01][_0x562569]={'objectID':_0x562569,'objectType':_0x1b95d6,'actions':[]}),_0x42deee[_0x4b3c01][_0x562569]['actions'][_0x494652(0x222)](..._0x108035),_0x42deee;},{}),_0x23e93a=[];for(const _0x18f022 in _0x4cb4c6)for(const _0x5962a8 in _0x4cb4c6[_0x18f022]){const {actions:_0x357379,objectType:_0x25b343}=_0x4cb4c6[_0x18f022][_0x5962a8],_0x22c38c=[...new Set(_0x357379)];_0x23e93a[_0x3f6e6b(0x222)]({'unitID':_0x18f022,'objectID':_0x5962a8,'objectType':_0x25b343,'actions':_0x22c38c});}return new _0x19f88e(_0x3f6e6b(0x330),_0x58bdf6,{'headers':_0x43d01a[_0x3f6e6b(0x484)],'withCredentials':_0x43d01a[_0x3f6e6b(0x34d)],'responseType':_0x43d01a[_0x3f6e6b(0x313)],'body':{'requests':_0x23e93a}});}},{'distributeResult'(_0x1d1691,_0x500a45){var _0x1ce584=_0x1b8a70;const {objectActions:_0x13c73f}=_0x1d1691;return _0x500a45[_0x1ce584(0x1f2)](_0x39ce7a=>{var _0x2dafaf=_0x1ce584;const {unitID:_0x293d03,objectID:_0x2a7f42,actions:_0x44423b}=_0x39ce7a,_0x1cc237=_0x13c73f[_0x2dafaf(0x3e4)](_0x12963a=>_0x12963a[_0x2dafaf(0x312)]===_0x293d03&&_0x12963a[_0x2dafaf(0x48d)]===_0x2a7f42),_0x1bdf16=_0x44423b[_0x2dafaf(0x1f2)](_0x1bbd0a=>_0x1cc237==null?void 0x0:_0x1cc237[_0x2dafaf(0x40b)][_0x2dafaf(0x3e4)](_0x53ad5b=>_0x53ad5b[_0x2dafaf(0x350)]===_0x1bbd0a))[_0x2dafaf(0x40e)](_0x5dfd51=>!!_0x5dfd51);return{'config':_0x39ce7a,'result':{'actions':_0x1bdf16,'error':_0x1d1691[_0x2dafaf(0x3ba)]}};});}})}));}[_0x4a5b68(0x237)](){var _0x675095=_0x4a5b68,_0x5ad586;const _0x1774c0=this[_0x675095(0x3d4)][_0x675095(0x41e)](K);return(_0x5ad586=_0x1774c0==null?void 0x0:_0x1774c0[_0x675095(0x315)])!=null?_0x5ad586:an;}async[_0x4a5b68(0x454)](_0x1ce279){var _0x3c207b=_0x4a5b68;const _0x1037b4=this[_0x3c207b(0x237)]()+'/'+_0x1ce279['objectType']+_0x3c207b(0x425);return(await this[_0x3c207b(0x21e)][_0x3c207b(0x3af)](_0x1037b4,{'body':_0x1ce279}))[_0x3c207b(0x342)][_0x3c207b(0x48d)]||'';}async['list'](_0x36ef21){var _0x1154c4=_0x4a5b68;const _0x51e1a1=this[_0x1154c4(0x237)]()+_0x1154c4(0x1fd);return(await this[_0x1154c4(0x21e)][_0x1154c4(0x3af)](_0x51e1a1,{'body':_0x36ef21}))['body']['objects'];}async[_0x4a5b68(0x2d9)](_0x33ef44){var _0x29f48d=_0x4a5b68,_0x2d454d,_0x36dcd3;const _0x53629a=this[_0x29f48d(0x237)]()+'/'+_0x33ef44[_0x29f48d(0x21d)]+_0x29f48d(0x41c)+_0x33ef44['objectID'],_0x4da1a2=await this[_0x29f48d(0x21e)][_0x29f48d(0x245)](_0x53629a,{'body':_0x33ef44});if(((_0x36dcd3=(_0x2d454d=_0x4da1a2==null?void 0x0:_0x4da1a2['body'])==null?void 0x0:_0x2d454d[_0x29f48d(0x3ba)])==null?void 0x0:_0x36dcd3[_0x29f48d(0x48e)])!==0x1)throw new Error(_0x29f48d(0x2ae));}async[_0x4a5b68(0x1e3)](_0x2378ab){var _0x3c18ed=_0x4a5b68;const _0xbb3146=this[_0x3c18ed(0x237)]()+'/'+_0x2378ab[_0x3c18ed(0x21d)]+_0x3c18ed(0x41c)+_0x2378ab['objectID']+_0x3c18ed(0x3cb);return(await this[_0x3c18ed(0x21e)][_0x3c18ed(0x3af)](_0xbb3146,{'body':_0x2378ab}))[_0x3c18ed(0x342)][_0x3c18ed(0x40b)];}async[_0x4a5b68(0x2bd)](_0x31e5f4){var _0x334d4a=_0x4a5b68;const _0x3b8b4f=this[_0x334d4a(0x237)]()+_0x334d4a(0x31b);return(await this[_0x334d4a(0x21e)][_0x334d4a(0x3af)](_0x3b8b4f,{'body':{'requests':_0x31e5f4}}))[_0x334d4a(0x342)][_0x334d4a(0x467)];}async[_0x4a5b68(0x452)](_0x98e93a){var _0x44632d=_0x4a5b68;const _0x5bb379=this[_0x44632d(0x237)]()+'/'+_0x98e93a[_0x44632d(0x21d)]+'/role',_0x18b00a=await this[_0x44632d(0x21e)][_0x44632d(0x3af)](_0x5bb379,{'body':_0x98e93a});return{'roles':_0x18b00a[_0x44632d(0x342)][_0x44632d(0x2e0)],'actions':_0x18b00a[_0x44632d(0x342)][_0x44632d(0x40b)]};}async[_0x4a5b68(0x241)](_0xbc4aaf){var _0x97ccea=_0x4a5b68;const _0x34827a=this[_0x97ccea(0x237)]()+_0x97ccea(0x298);await this[_0x97ccea(0x21e)][_0x97ccea(0x441)](_0x34827a,{'params':{'collaboratorID':_0xbc4aaf[_0x97ccea(0x24d)],'objectID':_0xbc4aaf['objectID'],'unitID':_0xbc4aaf['unitID']}});}async[_0x4a5b68(0x2b5)](_0x35cc2e){var _0x2fd26e=_0x4a5b68;const _0x5b5597=this[_0x2fd26e(0x237)]()+'/collaborator';await this[_0x2fd26e(0x21e)][_0x2fd26e(0x2d5)](_0x5b5597,{'body':_0x35cc2e});}async[_0x4a5b68(0x3f8)](_0x515b19){var _0x183598=_0x4a5b68;const _0x4b889b=this['_getAPIPrefixPath']()+_0x183598(0x298);await this[_0x183598(0x21e)][_0x183598(0x3af)](_0x4b889b,{'body':_0x515b19});}async[_0x4a5b68(0x429)](_0x62ca78){var _0x35f485=_0x4a5b68;const _0xeeb4fa=this[_0x35f485(0x237)]()+_0x35f485(0x298);return(await this[_0x35f485(0x21e)][_0x35f485(0x3b0)](_0xeeb4fa,{'params':{'objectID':_0x62ca78['objectID'],'unitID':_0x62ca78[_0x35f485(0x312)]}}))[_0x35f485(0x342)]['collaborators'];}async['putCollaborators'](_0x27e976){var _0x4a5b5c=_0x4a5b68;const _0x2d947a=this['_getAPIPrefixPath']()+_0x4a5b5c(0x298);await this['_HTTPService'][_0x4a5b5c(0x245)](_0x2d947a,{'body':_0x27e976});}};Tt=rn([Kt(0x0,_0x3c3c0e(_0x2e87db)),Kt(0x1,_0x3c3c0e(_0x4647a9))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x11a663){var _0x17a8bc=_0x4a5b68;return _0x11a663&&_0x11a663[_0x17a8bc(0x47d)]&&Object[_0x17a8bc(0x22e)][_0x17a8bc(0x26b)]['call'](_0x11a663,_0x17a8bc(0x371))?_0x11a663[_0x17a8bc(0x371)]:_0x11a663;}var Ve={'exports':{}};function _0x54ff(){var _0x53ee61=['_roomMembers','_imageSourceCache','_data','sigBytes','pipe','USER_NOT_INVITED_CODE','retryConnectingInterval','BlockCipherMode','infoRsp','2459045asVnWu','random','OTHER_CLIENT_EDITING','ciphertext','_collaborationTimeoutTimer','onTransformIME','default','_nDataBytes','byteLength','_getSignURL','_transformStack','_remoteChangesetQueue','onRemoteRej','asObservable','clear','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UnitEmbedded','INTERNAL_ERROR','_getDownloadEndpointURL','byteOffset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[UniverCollaborationClientPlugin]','forEach','_createInitialState','SOCKET_FAILED_RETRY','HmacSHA1','url','onlyLocal','_entities','waitForRoom$','liveShareOperation','getImage','decryptBlock','FAIL','_checkMissing','_revisionService','updateSnapshot','extend','fetchThroughInterceptors','JOIN_ROOM_FAILED','originalMeta','_transformUndoredo','charCodeAt','_clearScheduledTask','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendHeartbeatTimer','UNIVER_SLIDE','RETRY_CONNECTING_MAX_COUNT','_commandService','_transitionLocked','COMMENT_UPDATE','_transformService','LICENSE_MAX_UNITS_EXCEEDED','fetching\x20missing\x20changesets\x20from\x20','INVALID_ARGUMENT','_onRemoteChangeset','set','_startTelemetryCollaborationNewChangeset','UNRECOGNIZED','_injector','_hash','requireSession','collaMsg','HttpExport','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_resendTimer','_initUnitPermissionChange','_toggleOnline','post','get','EMAIL_VERIFY_CODE_MISMATCH','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LOGIN_FAILED','_sendHeartbeat','UNIVER_DOC','interceptor','LIVESHARE_FETCH_OPERATIONS','PERSON','_stopTelemetryCollaborationNewChangeset','error','override','_tryEnsureSocket','_onMessage','getCurrentSelections','csShouldRetryEvent','_initRequestHeader','JOIN','rev','_listenToNetworkCondition','_transformSelections','_onConflict','reduce','onTransformRemoteChangesetByIMECache','SNAPSHOT_INVALID_SNAPSHOT','updatePermissionPoint','getMemberID','/allowed','unsubscribe','_sheetTransformSelectionsService','_joinRoom','readAsDataURL','CLOSE_ROOM','blockSize','_members','_transformIMECache','_configService','UPDATE_CURSOR','_redoStacks','_httpService','YUUMI_UNABLE_LOAD_URL','/universer-api/authz','_socketReady','_changesetReqId','22851zlwbTn','TOO_MANY_REQUESTS','_resendTimeout','YUUMI_ASYNCIO_CANCELLED','updatePermissionObjEvent','_nRounds','MSG_FOR_ERROR','sessionStatus$','find','_onRecvEvent','__creator','Hex','_rescheduleHeartbeat','memberID','awaiting','closeSession','_init','deepClone','YUUMI_SUBSCRIPTION_NOT_FOUND','_retryCount','file','getOwnPropertyDescriptor','CONNECTOR_DATA_TOO_LARGE','Hasher','concat','replace','_getRedoStack','_handler','createCollaborator','_status$','session','getUnitOnRev','_incrementRevisionNumber','_onRemoteACK','SNAPSHOT_URL_KEY','_map','23OXBmiA','_transformRemoteChangesetByIMECache','send','getTypeOfUnitAdded$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','INGEST','string','subscribe','RECV','key','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','actions','1288WNngjI','_timeoutTimer','filter','_collaborationSessionService','getImageSourceCache','iterations','_initCloseConn','CHANGESET_REVISION_CONFILICT','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','INVITE_CODE_HAS_BEEN_UES','onSendChangeset','x-univer-host','compute','_collabSessionService','getCollabEntity','_mode','/object/','apply','getConfig','MD5','SUBMIT_CHANGESET_TIMEOUT','target','_scheduleCollaborationTimeoutTimer','session.room-not-exists','encrypt','/object','_onCombEvent','status','FETCH_MISSING','listCollaborators','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initMergeInterceptor','WordArray','/unit/','UPDATE_PERMISSION_OBJ','routeKey','AWAITING_WITH_PENDING','clamp','saveSnapshot','_sender','YUUMI_RATE_OVER_LIMIT','/universer-api/user/session-ticket','YUUMI_ALL_TABLES_IS_INVALID','_permissionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getUnit','socket$','next','unitId','_members$','_hasher','_replayCachedMutations','COMPLETION_FINISHED','delete','UNISCRIPT_RUN','resourceIDs','[PendingState]:\x20received\x20acknowledgement.','\x20to\x20','localeService','subUnitId','_onConnectionOpen','_getLoginPath','randomBytes','changesets','stringify','[SyncedState]:\x20received\x20rejection.','&assign=','OFFLINE','registerHTTPInterceptor','EMAIL_HAS_BEEN_BOUND','listRoles','c1Prime','create','_sendingTimer','encodeURIComponent','clone','People','_onOffline','PERMISSION_REJ','list','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onFetchMissResult','loadUnit','_substituteRedoStack','[FetchMissState]','getRandomValues','encryptBlock','onCommandExecuted','collaboration-client.config','_localeService','onStarting','objectActions','&to=','formatter','close','onRemoteAck','setShowComponents','[CollaborationSessionService]:\x20socket\x20error','_emitMembers','univer-pro.collaboration-client.single-active-unit-service','_updateState','_keyPriorReset','execute','onStateChange','repeat','_executeRemoteChangeset','LIVESHARE_TERMINATE','msCrypto','emitEvent','_waitForHeartbeatResponse','format','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_undoRedoService','__esModule','Utf8','YUUMI_AI_RUN_FAILED','LIVESHARE_OPERATION','_clearRedo','_roomCreated$','_queuedRemoteChangesets','headers','image/png','floor','_keySchedule','confirm','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','algo','createInstance','fetchMissingChangesets','objectID','code','\x0aCurrent:\x20','SUCCUSS','online$','COMPRESS_MUTATION_SEND','BlockCipher','_retryConnectingTimer','_oKey','NO_OTHER_CLIENTS_EDITING','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','min','downloadEndpointUrl','/resources','IDLE','_doCryptBlock','UNIVER_PROJECT','UNIVER_SHEET','_eventService','userID','_doReset','has','_shouldReportTelemetry','onMissingChangesets','image/gif','location','_applyRemoteChangeset','Base64','_clearHeartbeatTimer','resolve','_commentService','245304tpqBYm','\x20-\x20','transformUndoRedo','csRejEvent','univer-pro.collaboration-client-socket-service','_telemetryService','_transformStateCache','_parse','_throwTelemetryCollaborationNewChangeset','incrementRevOfUnit','_undoStacks','NOT_COLLAB','collaboration-client.local-cache-service','symbol','onMissedChangesetFetched','exports','_state','16431400EzhStS','close$','INVALID_INVITE_CODE','cfg','pending','getSheetId','loadUnitOfRevision','UNAUTHENTICATED','saveSheetBlock','_showConflictNotification','PENDING','[SyncedState]:\x20received\x20acknowledgement.','_submitChangeset','saveChangeset','CHANGESET_SHOULD_RETRY','defineProperty','lib','startTime','call','_clearTimeoutTimer','/rev/','_minBufferSize','[OfflineState]:\x20received\x20changeset.','mode','_telemetryInfo','readyForCollab','USERS_LEAVE','transformMutationsWithChangeset','charAt','?url=','parse','_substituteUndoStack','ERROR_IMAGE','fetchMiss','getResourcesRequest','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','loadSheet','toString','session.room-full','loadDoc','ws://127.0.0.1:8000/universer-api/comb/connect','padding','href','onLocalMutation','from','allowed','decrypt','kdf','ENSURE_SNAPSHOT_EXECUTION','function','GLOBAL_ROOMS_CNT_EXCEEDS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','focused$','sheets','_removeRoom','executeCommand','[OfflineState]:\x20received\x20acknowledgement.','awaitingChangeset','_append','splice','map','EvpKDF','LIVESHARE_NEW_HOST','every','_updateStatus','indexOf','_sessionStatus$','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_FULL','roomInfos','DEFAULT_FILE_NAME','/-/object/list','isPermissionRej','_updateLocalCache','JOIN_ROOM_PERMISSION_DENIED','_candidateSocket','_socket$','Malformed\x20UTF-8\x20data','onCommentUpdate','UNKNOWN_CODE','updateMember','/new_changes','fromCollab','getMember','MOBILE_HAS_BEEN_BOUND','m2Prime','now','cmd','enc','_getAPIPrefix','Base','reconnect','readInt32LE','ivSize','origin','APPLY_REJECT','image/bmp','getTypeOfUnitDisposed$','SOCKET_FAILED','getRoom','range','_config','fromCharCode','objectType','_HTTPService','_toggleOffline','_createHmacHelper','hasher','push','NEW_CHANGESETS','_collaborationUIEventService','values','CHANGESET_ACK','onTransformRemoteChangesetByStateCache','_schedule','debug','isArray','/universer-api/uniscript','PasswordBasedCipher','_collaborationPaused','prototype','[CollaborationUndoRedoService]','updateOfflineData','removeMember','compose','AES','getUnitType','_resendWithTimeout','USERS_ENTER','_getAPIPrefixPath','_reverseMap','SerializableCipher','session.room-permission-denied','toggleOffline','_startCollaboration','_lockTransition','YUUMI_CONNECTOR_URL_NOT_FOUND','_awaitingChangeset','init','deleteCollaborator','OpenSSL','UNIVER_COLLABORATION_CLIENT_PLUGIN','_entityInit$','put','failed\x20to\x20apply\x20missed\x20changesets!','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','revision','HttpImport','reject','CBC','?size=','collaboratorID','[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/block/','encode','permissionRejEvent','ERROR_IMAGE_TYPE','UNIVER_UNKNOWN','24gYikvq','change$','baseRev','c2Prime','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','params','getWorkbookSelections','_registerDependencies','synced','_snapshotService','mutations','getValue','LIVESHARE_REQUEST_HOST','shouldCloseConn','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REVISION_CONFILICT','buffer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_pendingMutations','selections','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_socketMessageSubscription','hasOwnProperty','mixIn','LICENSE_DISTRO_REJECTED','CONFLICT','localCacheService','type','createDecryptor','editingUnit','_createHelper','UserProfileImg','_getSendChangesetTimeout','_isPermissionRej','members','join','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_decreaseWaiting','ERROR_EXCEED_SIZE','SYNCED','open$','status$','/universer-api/stream/file/upload','_key','_getUndoStack','slice','_unitInfo$','state','eventID','_onLocalMutation','pluginName','_singleActiveUnitService','CipherParams','leaveEvent','getActiveSheet','Error\x20on\x20receiving\x20event','sid','_iv','pad','sessionStatus','hostname','onRemoteRetry','complete','_memberService','abs','method','keySize','/collaborator','_disableEditing','resend','joinEvent','_commentUpdate$','addHandlerCallback','collaboration_new_changeset','_univerInstanceService','collaborators','_ENC_XFORM_MODE','createSocket','OTHER_CLIENTS_EDITING','_getUploadFileURL','_unitID','/universer-api/file/{fileID}/sign-url','APPLY_DUPLICATED','_unlockTransition','add','HMAC','UnitSnapshot','PY_RUNTIME_SCRIPT_ERROR','connection\x20error','Failed\x20to\x20update\x20permission\x20point','LEAVE','UNKNOWN_CMD','_exhaustRemoteChangesetQueue','_waitCount','transformChangesets','_snapshotServerService','updateCollaborator','_changesetSessionId','_instanceService','_fetchMissChangesets','reqId','words','initWorkbookPermissionChange','_clearLocalCache','batchAllowed','_replaceFileID','getDeserializedSheetBlock','setCurrentUser','SUBMIT_CHANGESET','PERMISSION_DENIED','_clearRetryConnectingTimer','textRanges','_onConnectionFailed','_state$','data','LOCAL_CACHE_INTERVAL','/universer-api/oidc/authpage','Latin1','getFocusedUnit','auth.needGotoLoginAlert','AWAITING','image/jpg','$super','LICENSE_EXPORT_SIZE_EXCEEDED','_invKeySchedule','BufferedBlockAlgorithm','_sessions','error$','patch','disposeWithMe','_onRemoteRetry','telemetry\x20info\x20is\x20not\x20initialized','update','Decryptor','Undefined','_change$','_getCtorByUniverType','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/comb','roles','&source=','JOINING','_doCreateSocket','getTime','YUUMI_NO_CUBOID_FOR_QUESTION','session.room-cnt-exceeds','refreshPermission','_getCurrentRevision','session.join-failed','setConfig','_prevBlock','UNDEFINED','__Key__','copyFileMeta','_createInitialStateImpl','src','/universer-api/snapshot/','getCurrentUser','getInterceptPoints','findIndex','unit-cache-','MUTATION','unknown','socket\x20close','MOBILE_VERIFY_CODE_MISMATCH','newCsEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','disableLocalCache','length','APPLY_PERMISSION_DENIED','substr','PSEUDO_FETCH_MISSING_RESULT','loginUrlKey','202216KwGmey','onSyncEditingCollabCursor','_onRemoteRejected','_syncEditingCollabCursor','HEARTBEAT','socketService','size','entries','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','JOIN_ROOM_NOT_EXISTS','appendMutation','_logService','reset','subject','editing\x20status\x20changed\x20to','CHANGESET_REJ','unitID','responseType','event$','authzUrl','SHOULD_CLOSE_CONN','INVITE_CODE_REQUIRED','_onUserJoin','image/jpeg','_onUserLeave','/-/object/-/batch_allowed','state$','crypto','updateCursorEvent','_createSocket','ONLINE','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformState','_xformMode','_handlerCallback','Encryptor','_socket','[CollaborationEntity]','dispose$','title','_clearUndo','includes','conflict','_localCacheService','duration','_createHandler','POST','getSheetBlock','fetch_missing','finalize','transformSelections','name','getCurrentRevOfUnit','_tryReconnect','_cipher','getSnapshotAPIPath','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[OfflineState]:\x20received\x20rejection.','_event$','createEncryptor','dispose','NOT_FOUND','_initDependencies','SHA1','body','ceil','_socketService','_acknowledgedAwaitingChangeset','stopTime','getUnitId','BASE64','[CollaborationSessionService]','1536016OHEIRv','salt','Cipher','withCredentials','YUUMI_URL_COL_OUT_OF_RANGE','result','action','INVITE_CODE_ALREADY_BOUND','requestParams','HELLO','_scheduleCompleteTimestamp','_networkConditionService','getLatestCsReqIdBySid','_clearCollaborationTimeoutTimer','reverse','toggleOnline','_process','message$','48890vIFlTC','onTransformSelections','_transformRemoteChangesetByStateCache','_compressMutationService','_type','onRemoteChangeset'];_0x54ff=function(){return _0x53ee61;};return _0x54ff();}function on(_0x13cf1c){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x13cf1c+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x336d04=_0x4a5b68;return qt||(qt=0x1,function(_0x3e450a,_0x205c51){(function(_0x511c8a,_0x56fb19){var _0x50085a=_0x625c;_0x3e450a[_0x50085a(0x1b4)]=_0x56fb19();}(cn,function(){var _0x4f9bfc=_0x4f9bfc||function(_0x5ace36,_0x5972a6){var _0x526102=_0x625c,_0x28c327;if(typeof window<'u'&&window[_0x526102(0x31d)]&&(_0x28c327=window['crypto']),typeof self<'u'&&self[_0x526102(0x31d)]&&(_0x28c327=self[_0x526102(0x31d)]),typeof globalThis<'u'&&globalThis[_0x526102(0x31d)]&&(_0x28c327=globalThis[_0x526102(0x31d)]),!_0x28c327&&typeof window<'u'&&window[_0x526102(0x477)]&&(_0x28c327=window['msCrypto']),!_0x28c327&&typeof ft<'u'&&ft[_0x526102(0x31d)]&&(_0x28c327=ft[_0x526102(0x31d)]),!_0x28c327&&typeof on=='function')try{_0x28c327=require('crypto');}catch{}var _0x40765d=function(){var _0x3aec71=_0x526102;if(_0x28c327){if(typeof _0x28c327[_0x3aec71(0x461)]==_0x3aec71(0x1e7))try{return _0x28c327[_0x3aec71(0x461)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x28c327[_0x3aec71(0x44a)]==_0x3aec71(0x1e7))try{return _0x28c327[_0x3aec71(0x44a)](0x4)[_0x3aec71(0x212)]();}catch{}}throw new Error(_0x3aec71(0x438));},_0x10db8b=Object['create']||(function(){function _0x723ba6(){}return function(_0x1753f5){var _0xf977dc=_0x625c,_0x18c4e9;return _0x723ba6[_0xf977dc(0x22e)]=_0x1753f5,_0x18c4e9=new _0x723ba6(),_0x723ba6[_0xf977dc(0x22e)]=null,_0x18c4e9;};}()),_0x51c929={},_0x35aa52=_0x51c929[_0x526102(0x1c6)]={},_0x3047cb=_0x35aa52[_0x526102(0x210)]=(function(){return{'extend':function(_0x375d5e){var _0x165e93=_0x625c,_0x4f777e=_0x10db8b(this);return _0x375d5e&&_0x4f777e['mixIn'](_0x375d5e),(!_0x4f777e[_0x165e93(0x26b)]('init')||this[_0x165e93(0x240)]===_0x4f777e[_0x165e93(0x240)])&&(_0x4f777e[_0x165e93(0x240)]=function(){var _0x2b5ef6=_0x165e93;_0x4f777e[_0x2b5ef6(0x2cf)][_0x2b5ef6(0x240)][_0x2b5ef6(0x41d)](this,arguments);}),_0x4f777e[_0x165e93(0x240)]['prototype']=_0x4f777e,_0x4f777e[_0x165e93(0x2cf)]=this,_0x4f777e;},'create':function(){var _0x33163b=_0x625c,_0x2a8d45=this[_0x33163b(0x390)]();return _0x2a8d45[_0x33163b(0x240)]['apply'](_0x2a8d45,arguments),_0x2a8d45;},'init':function(){},'mixIn':function(_0x4a7999){var _0x421a9a=_0x625c;for(var _0x57e120 in _0x4a7999)_0x4a7999[_0x421a9a(0x26b)](_0x57e120)&&(this[_0x57e120]=_0x4a7999[_0x57e120]);_0x4a7999[_0x421a9a(0x26b)]('toString')&&(this['toString']=_0x4a7999[_0x421a9a(0x1db)]);},'clone':function(){var _0x391438=_0x625c;return this[_0x391438(0x240)][_0x391438(0x22e)][_0x391438(0x390)](this);}};}()),_0x22d7e3=_0x35aa52[_0x526102(0x42c)]=_0x3047cb['extend']({'init':function(_0x39a4e6,_0x111e4e){var _0x988213=_0x526102;_0x39a4e6=this[_0x988213(0x2ba)]=_0x39a4e6||[],_0x111e4e!=_0x5972a6?this[_0x988213(0x365)]=_0x111e4e:this[_0x988213(0x365)]=_0x39a4e6[_0x988213(0x2fd)]*0x4;},'toString':function(_0x50e6c5){return(_0x50e6c5||_0x31ef42)['stringify'](this);},'concat':function(_0x11f17f){var _0x10ea1a=_0x526102,_0x5a9554=this[_0x10ea1a(0x2ba)],_0x2ace8c=_0x11f17f['words'],_0x18089b=this[_0x10ea1a(0x365)],_0x68b1e9=_0x11f17f['sigBytes'];if(this[_0x10ea1a(0x431)](),_0x18089b%0x4)for(var _0x17eb8b=0x0;_0x17eb8b<_0x68b1e9;_0x17eb8b++){var _0x10493c=_0x2ace8c[_0x17eb8b>>>0x2]>>>0x18-_0x17eb8b%0x4*0x8&0xff;_0x5a9554[_0x18089b+_0x17eb8b>>>0x2]|=_0x10493c<<0x18-(_0x18089b+_0x17eb8b)%0x4*0x8;}else{for(var _0x54d62e=0x0;_0x54d62e<_0x68b1e9;_0x54d62e+=0x4)_0x5a9554[_0x18089b+_0x54d62e>>>0x2]=_0x2ace8c[_0x54d62e>>>0x2];}return this['sigBytes']+=_0x68b1e9,this;},'clamp':function(){var _0x48ea0e=_0x526102,_0x5f3c7e=this[_0x48ea0e(0x2ba)],_0x54b78c=this[_0x48ea0e(0x365)];_0x5f3c7e[_0x54b78c>>>0x2]&=0xffffffff<<0x20-_0x54b78c%0x4*0x8,_0x5f3c7e[_0x48ea0e(0x2fd)]=_0x5ace36[_0x48ea0e(0x343)](_0x54b78c/0x4);},'clone':function(){var _0x134884=_0x526102,_0xcd819b=_0x3047cb[_0x134884(0x457)][_0x134884(0x1c8)](this);return _0xcd819b[_0x134884(0x2ba)]=this[_0x134884(0x2ba)][_0x134884(0x282)](0x0),_0xcd819b;},'random':function(_0x5bfb00){var _0x4d569a=_0x526102;for(var _0x1cea90=[],_0x44d8d1=0x0;_0x44d8d1<_0x5bfb00;_0x44d8d1+=0x4)_0x1cea90[_0x4d569a(0x222)](_0x40765d());return new _0x22d7e3[(_0x4d569a(0x240))](_0x1cea90,_0x5bfb00);}}),_0x372cd2=_0x51c929[_0x526102(0x20e)]={},_0x31ef42=_0x372cd2[_0x526102(0x3e7)]={'stringify':function(_0x32f99d){var _0x3c5f61=_0x526102;for(var _0x43d080=_0x32f99d['words'],_0x459dae=_0x32f99d['sigBytes'],_0x44a9be=[],_0x2577dd=0x0;_0x2577dd<_0x459dae;_0x2577dd++){var _0x2d3470=_0x43d080[_0x2577dd>>>0x2]>>>0x18-_0x2577dd%0x4*0x8&0xff;_0x44a9be[_0x3c5f61(0x222)]((_0x2d3470>>>0x4)[_0x3c5f61(0x1db)](0x10)),_0x44a9be['push']((_0x2d3470&0xf)[_0x3c5f61(0x1db)](0x10));}return _0x44a9be['join']('');},'parse':function(_0x4a432a){var _0x1191d2=_0x526102;for(var _0x3916b5=_0x4a432a['length'],_0xf0c1a6=[],_0x397863=0x0;_0x397863<_0x3916b5;_0x397863+=0x2)_0xf0c1a6[_0x397863>>>0x3]|=parseInt(_0x4a432a[_0x1191d2(0x2ff)](_0x397863,0x2),0x10)<<0x18-_0x397863%0x8*0x4;return new _0x22d7e3[(_0x1191d2(0x240))](_0xf0c1a6,_0x3916b5/0x2);}},_0x3586bb=_0x372cd2[_0x526102(0x2ca)]={'stringify':function(_0x1497f7){var _0x1834cc=_0x526102;for(var _0x5ef6c6=_0x1497f7[_0x1834cc(0x2ba)],_0x35c89c=_0x1497f7['sigBytes'],_0x550b47=[],_0x434e4d=0x0;_0x434e4d<_0x35c89c;_0x434e4d++){var _0x42221c=_0x5ef6c6[_0x434e4d>>>0x2]>>>0x18-_0x434e4d%0x4*0x8&0xff;_0x550b47[_0x1834cc(0x222)](String[_0x1834cc(0x21c)](_0x42221c));}return _0x550b47[_0x1834cc(0x278)]('');},'parse':function(_0x101435){var _0x199d8d=_0x526102;for(var _0x3f90c5=_0x101435[_0x199d8d(0x2fd)],_0x26d3c9=[],_0x4a09d7=0x0;_0x4a09d7<_0x3f90c5;_0x4a09d7++)_0x26d3c9[_0x4a09d7>>>0x2]|=(_0x101435[_0x199d8d(0x395)](_0x4a09d7)&0xff)<<0x18-_0x4a09d7%0x4*0x8;return new _0x22d7e3[(_0x199d8d(0x240))](_0x26d3c9,_0x3f90c5);}},_0x18b153=_0x372cd2[_0x526102(0x47e)]={'stringify':function(_0x4f0803){var _0x4434fd=_0x526102;try{return decodeURIComponent(escape(_0x3586bb['stringify'](_0x4f0803)));}catch{throw new Error(_0x4434fd(0x203));}},'parse':function(_0x44b295){var _0x352522=_0x526102;return _0x3586bb[_0x352522(0x1d4)](unescape(encodeURIComponent(_0x44b295)));}},_0x5a0acb=_0x35aa52[_0x526102(0x2d2)]=_0x3047cb[_0x526102(0x390)]({'reset':function(){var _0x4b201c=_0x526102;this[_0x4b201c(0x364)]=new _0x22d7e3[(_0x4b201c(0x240))](),this[_0x4b201c(0x372)]=0x0;},'_append':function(_0x4e5164){var _0x33db5b=_0x526102;typeof _0x4e5164==_0x33db5b(0x406)&&(_0x4e5164=_0x18b153[_0x33db5b(0x1d4)](_0x4e5164)),this[_0x33db5b(0x364)]['concat'](_0x4e5164),this['_nDataBytes']+=_0x4e5164[_0x33db5b(0x365)];},'_process':function(_0x38d688){var _0x18e71e=_0x526102,_0x2192e1,_0x5f5578=this['_data'],_0x2e85e1=_0x5f5578[_0x18e71e(0x2ba)],_0x4a11a6=_0x5f5578[_0x18e71e(0x365)],_0x376bc1=this[_0x18e71e(0x3d1)],_0x18f09=_0x376bc1*0x4,_0x3608d9=_0x4a11a6/_0x18f09;_0x38d688?_0x3608d9=_0x5ace36[_0x18e71e(0x343)](_0x3608d9):_0x3608d9=_0x5ace36['max']((_0x3608d9|0x0)-this[_0x18e71e(0x1cb)],0x0);var _0x5ea32d=_0x3608d9*_0x376bc1,_0x9d9700=_0x5ace36[_0x18e71e(0x191)](_0x5ea32d*0x4,_0x4a11a6);if(_0x5ea32d){for(var _0x1ff2bf=0x0;_0x1ff2bf<_0x5ea32d;_0x1ff2bf+=_0x376bc1)this['_doProcessBlock'](_0x2e85e1,_0x1ff2bf);_0x2192e1=_0x2e85e1[_0x18e71e(0x1f1)](0x0,_0x5ea32d),_0x5f5578[_0x18e71e(0x365)]-=_0x9d9700;}return new _0x22d7e3[(_0x18e71e(0x240))](_0x2192e1,_0x9d9700);},'clone':function(){var _0x352f57=_0x526102,_0x3c9ada=_0x3047cb[_0x352f57(0x457)]['call'](this);return _0x3c9ada[_0x352f57(0x364)]=this[_0x352f57(0x364)][_0x352f57(0x457)](),_0x3c9ada;},'_minBufferSize':0x0});_0x35aa52[_0x526102(0x3f3)]=_0x5a0acb[_0x526102(0x390)]({'cfg':_0x3047cb[_0x526102(0x390)](),'init':function(_0x5376d1){var _0x43f460=_0x526102;this['cfg']=this[_0x43f460(0x1b9)]['extend'](_0x5376d1),this[_0x43f460(0x30e)]();},'reset':function(){var _0x5bbb13=_0x526102;_0x5a0acb[_0x5bbb13(0x30e)]['call'](this),this[_0x5bbb13(0x19a)]();},'update':function(_0x39aad7){var _0x40d4a2=_0x526102;return this[_0x40d4a2(0x1f0)](_0x39aad7),this['_process'](),this;},'finalize':function(_0x10e595){_0x10e595&&this['_append'](_0x10e595);var _0x2ffae3=this['_doFinalize']();return _0x2ffae3;},'blockSize':0x10,'_createHelper':function(_0x458cfb){return function(_0x37e57b,_0x6b237b){var _0xbdb2f8=_0x625c;return new _0x458cfb[(_0xbdb2f8(0x240))](_0x6b237b)['finalize'](_0x37e57b);};},'_createHmacHelper':function(_0x55c8bd){return function(_0x387b39,_0x5449f1){var _0x3d7b58=_0x625c;return new _0x2238fa['HMAC']['init'](_0x55c8bd,_0x5449f1)[_0x3d7b58(0x333)](_0x387b39);};}});var _0x2238fa=_0x51c929['algo']={};return _0x51c929;}(Math);return _0x4f9bfc;}));}(We)),We[_0x336d04(0x1b4)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){return zt||(zt=0x1,function(_0x4ad146,_0x56ddc2){(function(_0x5d9c42,_0x17a302){var _0x43d7e6=_0x625c;_0x4ad146[_0x43d7e6(0x1b4)]=_0x17a302(te());}(hn,function(_0xc9fe68){return(function(){var _0x53fecc=_0x625c,_0x1fea76=_0xc9fe68,_0x35b45f=_0x1fea76[_0x53fecc(0x1c6)],_0x45de20=_0x35b45f['WordArray'],_0x4c9c47=_0x1fea76[_0x53fecc(0x20e)];_0x4c9c47[_0x53fecc(0x1a1)]={'stringify':function(_0x52b613){var _0x28ebab=_0x53fecc,_0x45cd7f=_0x52b613[_0x28ebab(0x2ba)],_0x33940e=_0x52b613[_0x28ebab(0x365)],_0x377075=this[_0x28ebab(0x3ff)];_0x52b613[_0x28ebab(0x431)]();for(var _0x39680d=[],_0x228324=0x0;_0x228324<_0x33940e;_0x228324+=0x3)for(var _0x58bf4c=_0x45cd7f[_0x228324>>>0x2]>>>0x18-_0x228324%0x4*0x8&0xff,_0xc093dd=_0x45cd7f[_0x228324+0x1>>>0x2]>>>0x18-(_0x228324+0x1)%0x4*0x8&0xff,_0x7bb348=_0x45cd7f[_0x228324+0x2>>>0x2]>>>0x18-(_0x228324+0x2)%0x4*0x8&0xff,_0x46ff46=_0x58bf4c<<0x10|_0xc093dd<<0x8|_0x7bb348,_0x37464b=0x0;_0x37464b<0x4&&_0x228324+_0x37464b*0.75<_0x33940e;_0x37464b++)_0x39680d['push'](_0x377075[_0x28ebab(0x1d2)](_0x46ff46>>>0x6*(0x3-_0x37464b)&0x3f));var _0x5ae7fd=_0x377075[_0x28ebab(0x1d2)](0x40);if(_0x5ae7fd){for(;_0x39680d[_0x28ebab(0x2fd)]%0x4;)_0x39680d[_0x28ebab(0x222)](_0x5ae7fd);}return _0x39680d['join']('');},'parse':function(_0x4d51df){var _0x34a37d=_0x53fecc,_0x2cc0b3=_0x4d51df[_0x34a37d(0x2fd)],_0x13a178=this[_0x34a37d(0x3ff)],_0x12f7bd=this[_0x34a37d(0x238)];if(!_0x12f7bd){_0x12f7bd=this[_0x34a37d(0x238)]=[];for(var _0x51876b=0x0;_0x51876b<_0x13a178[_0x34a37d(0x2fd)];_0x51876b++)_0x12f7bd[_0x13a178[_0x34a37d(0x395)](_0x51876b)]=_0x51876b;}var _0x8fcc84=_0x13a178['charAt'](0x40);if(_0x8fcc84){var _0x41f8f5=_0x4d51df[_0x34a37d(0x1f7)](_0x8fcc84);_0x41f8f5!==-0x1&&(_0x2cc0b3=_0x41f8f5);}return _0x1956e0(_0x4d51df,_0x2cc0b3,_0x12f7bd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1956e0(_0x4bd813,_0x48b4df,_0x108006){var _0x3e308b=_0x53fecc;for(var _0x403180=[],_0x3c4184=0x0,_0x481cd5=0x0;_0x481cd5<_0x48b4df;_0x481cd5++)if(_0x481cd5%0x4){var _0x45f0f5=_0x108006[_0x4bd813[_0x3e308b(0x395)](_0x481cd5-0x1)]<<_0x481cd5%0x4*0x2,_0x5c435b=_0x108006[_0x4bd813['charCodeAt'](_0x481cd5)]>>>0x6-_0x481cd5%0x4*0x2,_0x5cc9e2=_0x45f0f5|_0x5c435b;_0x403180[_0x3c4184>>>0x2]|=_0x5cc9e2<<0x18-_0x3c4184%0x4*0x8,_0x3c4184++;}return _0x45de20[_0x3e308b(0x454)](_0x403180,_0x3c4184);}}()),_0xc9fe68['enc']['Base64'];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x4a5b68(0x1b4)],Jt;function ln(){var _0xf84e97=_0x4a5b68;return Jt||(Jt=0x1,function(_0x5f1b5b,_0x1ca10a){(function(_0x2039b8,_0x5a8270){var _0x151611=_0x625c;_0x5f1b5b[_0x151611(0x1b4)]=_0x5a8270(te());}(_n,function(_0x4094da){var _0x25e2c6=_0x625c;return function(_0x701340){var _0x2f97f4=_0x625c,_0xaf6e7b=_0x4094da,_0x4a261f=_0xaf6e7b['lib'],_0x58c585=_0x4a261f['WordArray'],_0x1cfb37=_0x4a261f[_0x2f97f4(0x3f3)],_0x175bc1=_0xaf6e7b['algo'],_0x15a708=[];(function(){var _0x27a5e7=_0x2f97f4;for(var _0x2cc361=0x0;_0x2cc361<0x40;_0x2cc361++)_0x15a708[_0x2cc361]=_0x701340[_0x27a5e7(0x295)](_0x701340['sin'](_0x2cc361+0x1))*0x100000000|0x0;}());var _0x21e49f=_0x175bc1['MD5']=_0x1cfb37[_0x2f97f4(0x390)]({'_doReset':function(){var _0xee371f=_0x2f97f4;this[_0xee371f(0x3a7)]=new _0x58c585[(_0xee371f(0x240))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x403954,_0x4fa8ad){var _0x40cb45=_0x2f97f4;for(var _0x20c3da=0x0;_0x20c3da<0x10;_0x20c3da++){var _0x1c5570=_0x4fa8ad+_0x20c3da,_0x2f31fd=_0x403954[_0x1c5570];_0x403954[_0x1c5570]=(_0x2f31fd<<0x8|_0x2f31fd>>>0x18)&0xff00ff|(_0x2f31fd<<0x18|_0x2f31fd>>>0x8)&0xff00ff00;}var _0x6a3d09=this[_0x40cb45(0x3a7)][_0x40cb45(0x2ba)],_0x5cb058=_0x403954[_0x4fa8ad+0x0],_0x13bd10=_0x403954[_0x4fa8ad+0x1],_0x4940ec=_0x403954[_0x4fa8ad+0x2],_0x47137e=_0x403954[_0x4fa8ad+0x3],_0x1d24f9=_0x403954[_0x4fa8ad+0x4],_0x14369e=_0x403954[_0x4fa8ad+0x5],_0x306dcb=_0x403954[_0x4fa8ad+0x6],_0x18eb6f=_0x403954[_0x4fa8ad+0x7],_0x13da97=_0x403954[_0x4fa8ad+0x8],_0x4b9c42=_0x403954[_0x4fa8ad+0x9],_0x3c998b=_0x403954[_0x4fa8ad+0xa],_0x5de210=_0x403954[_0x4fa8ad+0xb],_0x566c43=_0x403954[_0x4fa8ad+0xc],_0x4c9002=_0x403954[_0x4fa8ad+0xd],_0x240e89=_0x403954[_0x4fa8ad+0xe],_0x59f813=_0x403954[_0x4fa8ad+0xf],_0x3f67b7=_0x6a3d09[0x0],_0x320351=_0x6a3d09[0x1],_0x3e305c=_0x6a3d09[0x2],_0x1fe53a=_0x6a3d09[0x3];_0x3f67b7=_0x594bb2(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x5cb058,0x7,_0x15a708[0x0]),_0x1fe53a=_0x594bb2(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x13bd10,0xc,_0x15a708[0x1]),_0x3e305c=_0x594bb2(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x4940ec,0x11,_0x15a708[0x2]),_0x320351=_0x594bb2(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x47137e,0x16,_0x15a708[0x3]),_0x3f67b7=_0x594bb2(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x1d24f9,0x7,_0x15a708[0x4]),_0x1fe53a=_0x594bb2(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x14369e,0xc,_0x15a708[0x5]),_0x3e305c=_0x594bb2(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x306dcb,0x11,_0x15a708[0x6]),_0x320351=_0x594bb2(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x18eb6f,0x16,_0x15a708[0x7]),_0x3f67b7=_0x594bb2(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x13da97,0x7,_0x15a708[0x8]),_0x1fe53a=_0x594bb2(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x4b9c42,0xc,_0x15a708[0x9]),_0x3e305c=_0x594bb2(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x3c998b,0x11,_0x15a708[0xa]),_0x320351=_0x594bb2(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x5de210,0x16,_0x15a708[0xb]),_0x3f67b7=_0x594bb2(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x566c43,0x7,_0x15a708[0xc]),_0x1fe53a=_0x594bb2(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x4c9002,0xc,_0x15a708[0xd]),_0x3e305c=_0x594bb2(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x240e89,0x11,_0x15a708[0xe]),_0x320351=_0x594bb2(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x59f813,0x16,_0x15a708[0xf]),_0x3f67b7=_0x693aaf(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x13bd10,0x5,_0x15a708[0x10]),_0x1fe53a=_0x693aaf(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x306dcb,0x9,_0x15a708[0x11]),_0x3e305c=_0x693aaf(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x5de210,0xe,_0x15a708[0x12]),_0x320351=_0x693aaf(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x5cb058,0x14,_0x15a708[0x13]),_0x3f67b7=_0x693aaf(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x14369e,0x5,_0x15a708[0x14]),_0x1fe53a=_0x693aaf(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x3c998b,0x9,_0x15a708[0x15]),_0x3e305c=_0x693aaf(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x59f813,0xe,_0x15a708[0x16]),_0x320351=_0x693aaf(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x1d24f9,0x14,_0x15a708[0x17]),_0x3f67b7=_0x693aaf(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x4b9c42,0x5,_0x15a708[0x18]),_0x1fe53a=_0x693aaf(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x240e89,0x9,_0x15a708[0x19]),_0x3e305c=_0x693aaf(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x47137e,0xe,_0x15a708[0x1a]),_0x320351=_0x693aaf(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x13da97,0x14,_0x15a708[0x1b]),_0x3f67b7=_0x693aaf(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x4c9002,0x5,_0x15a708[0x1c]),_0x1fe53a=_0x693aaf(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x4940ec,0x9,_0x15a708[0x1d]),_0x3e305c=_0x693aaf(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x18eb6f,0xe,_0x15a708[0x1e]),_0x320351=_0x693aaf(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x566c43,0x14,_0x15a708[0x1f]),_0x3f67b7=_0x42aa2c(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x14369e,0x4,_0x15a708[0x20]),_0x1fe53a=_0x42aa2c(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x13da97,0xb,_0x15a708[0x21]),_0x3e305c=_0x42aa2c(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x5de210,0x10,_0x15a708[0x22]),_0x320351=_0x42aa2c(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x240e89,0x17,_0x15a708[0x23]),_0x3f67b7=_0x42aa2c(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x13bd10,0x4,_0x15a708[0x24]),_0x1fe53a=_0x42aa2c(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x1d24f9,0xb,_0x15a708[0x25]),_0x3e305c=_0x42aa2c(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x18eb6f,0x10,_0x15a708[0x26]),_0x320351=_0x42aa2c(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x3c998b,0x17,_0x15a708[0x27]),_0x3f67b7=_0x42aa2c(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x4c9002,0x4,_0x15a708[0x28]),_0x1fe53a=_0x42aa2c(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x5cb058,0xb,_0x15a708[0x29]),_0x3e305c=_0x42aa2c(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x47137e,0x10,_0x15a708[0x2a]),_0x320351=_0x42aa2c(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x306dcb,0x17,_0x15a708[0x2b]),_0x3f67b7=_0x42aa2c(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x4b9c42,0x4,_0x15a708[0x2c]),_0x1fe53a=_0x42aa2c(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x566c43,0xb,_0x15a708[0x2d]),_0x3e305c=_0x42aa2c(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x59f813,0x10,_0x15a708[0x2e]),_0x320351=_0x42aa2c(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x4940ec,0x17,_0x15a708[0x2f]),_0x3f67b7=_0x3f6dd1(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x5cb058,0x6,_0x15a708[0x30]),_0x1fe53a=_0x3f6dd1(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x18eb6f,0xa,_0x15a708[0x31]),_0x3e305c=_0x3f6dd1(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x240e89,0xf,_0x15a708[0x32]),_0x320351=_0x3f6dd1(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x14369e,0x15,_0x15a708[0x33]),_0x3f67b7=_0x3f6dd1(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x566c43,0x6,_0x15a708[0x34]),_0x1fe53a=_0x3f6dd1(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x47137e,0xa,_0x15a708[0x35]),_0x3e305c=_0x3f6dd1(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x3c998b,0xf,_0x15a708[0x36]),_0x320351=_0x3f6dd1(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x13bd10,0x15,_0x15a708[0x37]),_0x3f67b7=_0x3f6dd1(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x13da97,0x6,_0x15a708[0x38]),_0x1fe53a=_0x3f6dd1(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x59f813,0xa,_0x15a708[0x39]),_0x3e305c=_0x3f6dd1(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x306dcb,0xf,_0x15a708[0x3a]),_0x320351=_0x3f6dd1(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x4c9002,0x15,_0x15a708[0x3b]),_0x3f67b7=_0x3f6dd1(_0x3f67b7,_0x320351,_0x3e305c,_0x1fe53a,_0x1d24f9,0x6,_0x15a708[0x3c]),_0x1fe53a=_0x3f6dd1(_0x1fe53a,_0x3f67b7,_0x320351,_0x3e305c,_0x5de210,0xa,_0x15a708[0x3d]),_0x3e305c=_0x3f6dd1(_0x3e305c,_0x1fe53a,_0x3f67b7,_0x320351,_0x4940ec,0xf,_0x15a708[0x3e]),_0x320351=_0x3f6dd1(_0x320351,_0x3e305c,_0x1fe53a,_0x3f67b7,_0x4b9c42,0x15,_0x15a708[0x3f]),_0x6a3d09[0x0]=_0x6a3d09[0x0]+_0x3f67b7|0x0,_0x6a3d09[0x1]=_0x6a3d09[0x1]+_0x320351|0x0,_0x6a3d09[0x2]=_0x6a3d09[0x2]+_0x3e305c|0x0,_0x6a3d09[0x3]=_0x6a3d09[0x3]+_0x1fe53a|0x0;},'_doFinalize':function(){var _0x153be6=_0x2f97f4,_0x338632=this[_0x153be6(0x364)],_0x7386ac=_0x338632[_0x153be6(0x2ba)],_0xef8cd9=this['_nDataBytes']*0x8,_0x5731c7=_0x338632['sigBytes']*0x8;_0x7386ac[_0x5731c7>>>0x5]|=0x80<<0x18-_0x5731c7%0x20;var _0x50663b=_0x701340[_0x153be6(0x486)](_0xef8cd9/0x100000000),_0x5acd1c=_0xef8cd9;_0x7386ac[(_0x5731c7+0x40>>>0x9<<0x4)+0xf]=(_0x50663b<<0x8|_0x50663b>>>0x18)&0xff00ff|(_0x50663b<<0x18|_0x50663b>>>0x8)&0xff00ff00,_0x7386ac[(_0x5731c7+0x40>>>0x9<<0x4)+0xe]=(_0x5acd1c<<0x8|_0x5acd1c>>>0x18)&0xff00ff|(_0x5acd1c<<0x18|_0x5acd1c>>>0x8)&0xff00ff00,_0x338632[_0x153be6(0x365)]=(_0x7386ac[_0x153be6(0x2fd)]+0x1)*0x4,this[_0x153be6(0x35a)]();for(var _0x46e8e2=this[_0x153be6(0x3a7)],_0x3ae41e=_0x46e8e2[_0x153be6(0x2ba)],_0x40ba1d=0x0;_0x40ba1d<0x4;_0x40ba1d++){var _0x1ad9da=_0x3ae41e[_0x40ba1d];_0x3ae41e[_0x40ba1d]=(_0x1ad9da<<0x8|_0x1ad9da>>>0x18)&0xff00ff|(_0x1ad9da<<0x18|_0x1ad9da>>>0x8)&0xff00ff00;}return _0x46e8e2;},'clone':function(){var _0x159c4c=_0x2f97f4,_0x118b52=_0x1cfb37['clone'][_0x159c4c(0x1c8)](this);return _0x118b52[_0x159c4c(0x3a7)]=this[_0x159c4c(0x3a7)][_0x159c4c(0x457)](),_0x118b52;}});function _0x594bb2(_0x470b77,_0x26296b,_0x5bf169,_0x271586,_0x1b55cc,_0x2b5d4b,_0x5e0fda){var _0x5637ea=_0x470b77+(_0x26296b&_0x5bf169|~_0x26296b&_0x271586)+_0x1b55cc+_0x5e0fda;return(_0x5637ea<<_0x2b5d4b|_0x5637ea>>>0x20-_0x2b5d4b)+_0x26296b;}function _0x693aaf(_0x106042,_0x40d453,_0x49a87c,_0x207f45,_0xd5b631,_0x396bcd,_0x3ef679){var _0xffaaac=_0x106042+(_0x40d453&_0x207f45|_0x49a87c&~_0x207f45)+_0xd5b631+_0x3ef679;return(_0xffaaac<<_0x396bcd|_0xffaaac>>>0x20-_0x396bcd)+_0x40d453;}function _0x42aa2c(_0x401424,_0x505b40,_0x441ab1,_0x5980db,_0x23303a,_0x46f938,_0x2adb14){var _0x41a245=_0x401424+(_0x505b40^_0x441ab1^_0x5980db)+_0x23303a+_0x2adb14;return(_0x41a245<<_0x46f938|_0x41a245>>>0x20-_0x46f938)+_0x505b40;}function _0x3f6dd1(_0x1dbf8f,_0x5dd38f,_0x5c0e85,_0x7c6e58,_0x47c83f,_0x1e8e4d,_0x1910c2){var _0x15835a=_0x1dbf8f+(_0x5c0e85^(_0x5dd38f|~_0x7c6e58))+_0x47c83f+_0x1910c2;return(_0x15835a<<_0x1e8e4d|_0x15835a>>>0x20-_0x1e8e4d)+_0x5dd38f;}_0xaf6e7b[_0x2f97f4(0x41f)]=_0x1cfb37['_createHelper'](_0x21e49f),_0xaf6e7b['HmacMD5']=_0x1cfb37['_createHmacHelper'](_0x21e49f);}(Math),_0x4094da[_0x25e2c6(0x41f)];}));}(Ye)),Ye[_0xf84e97(0x1b4)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x4a5b68(0x1b4)],Xt;function dn(){var _0x1114ab=_0x4a5b68;return Xt||(Xt=0x1,function(_0x541501,_0x26006b){(function(_0x27dbf4,_0x3049e4){var _0x4672ae=_0x625c;_0x541501[_0x4672ae(0x1b4)]=_0x3049e4(te());}(un,function(_0x2081d2){var _0x58bef6=_0x625c;return(function(){var _0x5bc7ba=_0x625c,_0x50447f=_0x2081d2,_0x586236=_0x50447f['lib'],_0x3e6b1a=_0x586236['WordArray'],_0x11551f=_0x586236[_0x5bc7ba(0x3f3)],_0x2862a4=_0x50447f['algo'],_0x174a6b=[],_0x5ebf89=_0x2862a4[_0x5bc7ba(0x341)]=_0x11551f[_0x5bc7ba(0x390)]({'_doReset':function(){var _0x16223f=_0x5bc7ba;this[_0x16223f(0x3a7)]=new _0x3e6b1a[(_0x16223f(0x240))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2512ea,_0x355335){var _0x54496f=_0x5bc7ba;for(var _0x588aa8=this['_hash'][_0x54496f(0x2ba)],_0x30c1e4=_0x588aa8[0x0],_0x3c2f01=_0x588aa8[0x1],_0x4e7d92=_0x588aa8[0x2],_0x1ddad8=_0x588aa8[0x3],_0x31c0bd=_0x588aa8[0x4],_0x5ac9d7=0x0;_0x5ac9d7<0x50;_0x5ac9d7++){if(_0x5ac9d7<0x10)_0x174a6b[_0x5ac9d7]=_0x2512ea[_0x355335+_0x5ac9d7]|0x0;else{var _0x257ee2=_0x174a6b[_0x5ac9d7-0x3]^_0x174a6b[_0x5ac9d7-0x8]^_0x174a6b[_0x5ac9d7-0xe]^_0x174a6b[_0x5ac9d7-0x10];_0x174a6b[_0x5ac9d7]=_0x257ee2<<0x1|_0x257ee2>>>0x1f;}var _0xc5a8b=(_0x30c1e4<<0x5|_0x30c1e4>>>0x1b)+_0x31c0bd+_0x174a6b[_0x5ac9d7];_0x5ac9d7<0x14?_0xc5a8b+=(_0x3c2f01&_0x4e7d92|~_0x3c2f01&_0x1ddad8)+0x5a827999:_0x5ac9d7<0x28?_0xc5a8b+=(_0x3c2f01^_0x4e7d92^_0x1ddad8)+0x6ed9eba1:_0x5ac9d7<0x3c?_0xc5a8b+=(_0x3c2f01&_0x4e7d92|_0x3c2f01&_0x1ddad8|_0x4e7d92&_0x1ddad8)-0x70e44324:_0xc5a8b+=(_0x3c2f01^_0x4e7d92^_0x1ddad8)-0x359d3e2a,_0x31c0bd=_0x1ddad8,_0x1ddad8=_0x4e7d92,_0x4e7d92=_0x3c2f01<<0x1e|_0x3c2f01>>>0x2,_0x3c2f01=_0x30c1e4,_0x30c1e4=_0xc5a8b;}_0x588aa8[0x0]=_0x588aa8[0x0]+_0x30c1e4|0x0,_0x588aa8[0x1]=_0x588aa8[0x1]+_0x3c2f01|0x0,_0x588aa8[0x2]=_0x588aa8[0x2]+_0x4e7d92|0x0,_0x588aa8[0x3]=_0x588aa8[0x3]+_0x1ddad8|0x0,_0x588aa8[0x4]=_0x588aa8[0x4]+_0x31c0bd|0x0;},'_doFinalize':function(){var _0x2a6251=_0x5bc7ba,_0x575bb9=this['_data'],_0x1b04b8=_0x575bb9['words'],_0x5ba828=this[_0x2a6251(0x372)]*0x8,_0x2213fc=_0x575bb9[_0x2a6251(0x365)]*0x8;return _0x1b04b8[_0x2213fc>>>0x5]|=0x80<<0x18-_0x2213fc%0x20,_0x1b04b8[(_0x2213fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x2a6251(0x486)](_0x5ba828/0x100000000),_0x1b04b8[(_0x2213fc+0x40>>>0x9<<0x4)+0xf]=_0x5ba828,_0x575bb9[_0x2a6251(0x365)]=_0x1b04b8[_0x2a6251(0x2fd)]*0x4,this[_0x2a6251(0x35a)](),this[_0x2a6251(0x3a7)];},'clone':function(){var _0x7133b1=_0x5bc7ba,_0x5973ce=_0x11551f[_0x7133b1(0x457)][_0x7133b1(0x1c8)](this);return _0x5973ce['_hash']=this[_0x7133b1(0x3a7)][_0x7133b1(0x457)](),_0x5973ce;}});_0x50447f[_0x5bc7ba(0x341)]=_0x11551f[_0x5bc7ba(0x273)](_0x5ebf89),_0x50447f[_0x5bc7ba(0x384)]=_0x11551f[_0x5bc7ba(0x220)](_0x5ebf89);}()),_0x2081d2[_0x58bef6(0x341)];}));}(qe)),qe[_0x1114ab(0x1b4)];}var ze={'exports':{}},fn=ze[_0x4a5b68(0x1b4)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x1bff79,_0x4fec79){(function(_0x42474a,_0x2495ac){var _0x3fd830=_0x625c;_0x1bff79[_0x3fd830(0x1b4)]=_0x2495ac(te());}(fn,function(_0xbab433){(function(){var _0x2d46b4=_0x625c,_0x5987dc=_0xbab433,_0x365e3d=_0x5987dc['lib'],_0x3a79e9=_0x365e3d['Base'],_0x86853e=_0x5987dc[_0x2d46b4(0x20e)],_0x423bab=_0x86853e['Utf8'],_0x2fcf51=_0x5987dc[_0x2d46b4(0x48a)];_0x2fcf51[_0x2d46b4(0x2aa)]=_0x3a79e9[_0x2d46b4(0x390)]({'init':function(_0x5c1a51,_0x342ed9){var _0x52ec06=_0x2d46b4;_0x5c1a51=this[_0x52ec06(0x43e)]=new _0x5c1a51[(_0x52ec06(0x240))](),typeof _0x342ed9==_0x52ec06(0x406)&&(_0x342ed9=_0x423bab['parse'](_0x342ed9));var _0x14c583=_0x5c1a51[_0x52ec06(0x3d1)],_0x47ef7c=_0x14c583*0x4;_0x342ed9[_0x52ec06(0x365)]>_0x47ef7c&&(_0x342ed9=_0x5c1a51['finalize'](_0x342ed9)),_0x342ed9[_0x52ec06(0x431)]();for(var _0x371bdc=this['_oKey']=_0x342ed9[_0x52ec06(0x457)](),_0x47b73e=this['_iKey']=_0x342ed9[_0x52ec06(0x457)](),_0x18f2bf=_0x371bdc[_0x52ec06(0x2ba)],_0x44ddbb=_0x47b73e[_0x52ec06(0x2ba)],_0x1b51f3=0x0;_0x1b51f3<_0x14c583;_0x1b51f3++)_0x18f2bf[_0x1b51f3]^=0x5c5c5c5c,_0x44ddbb[_0x1b51f3]^=0x36363636;_0x371bdc[_0x52ec06(0x365)]=_0x47b73e[_0x52ec06(0x365)]=_0x47ef7c,this[_0x52ec06(0x30e)]();},'reset':function(){var _0x46fd9a=_0x2d46b4,_0xf72fc2=this[_0x46fd9a(0x43e)];_0xf72fc2[_0x46fd9a(0x30e)](),_0xf72fc2['update'](this['_iKey']);},'update':function(_0x9896af){var _0x4c48e4=_0x2d46b4;return this['_hasher'][_0x4c48e4(0x2d9)](_0x9896af),this;},'finalize':function(_0x477310){var _0x4ccf10=_0x2d46b4,_0x4d771c=this[_0x4ccf10(0x43e)],_0x4b011f=_0x4d771c[_0x4ccf10(0x333)](_0x477310);_0x4d771c['reset']();var _0x5925b8=_0x4d771c[_0x4ccf10(0x333)](this[_0x4ccf10(0x495)][_0x4ccf10(0x457)]()['concat'](_0x4b011f));return _0x5925b8;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x4a5b68(0x1b4)],Qt;function Oi(){var _0x2beead=_0x4a5b68;return Qt||(Qt=0x1,function(_0x2ab726,_0x5f538f){(function(_0x4a6e55,_0x299887,_0x40ee13){_0x2ab726['exports']=_0x299887(te(),dn(),vn());}(pn,function(_0x34e160){var _0x66f416=_0x625c;return(function(){var _0x43429e=_0x625c,_0x16ac4d=_0x34e160,_0x508df8=_0x16ac4d[_0x43429e(0x1c6)],_0x480616=_0x508df8['Base'],_0x463997=_0x508df8[_0x43429e(0x42c)],_0xd71015=_0x16ac4d['algo'],_0x321c23=_0xd71015['MD5'],_0x19d29d=_0xd71015['EvpKDF']=_0x480616['extend']({'cfg':_0x480616[_0x43429e(0x390)]({'keySize':0x80/0x20,'hasher':_0x321c23,'iterations':0x1}),'init':function(_0x4b65d8){var _0x8a08c7=_0x43429e;this[_0x8a08c7(0x1b9)]=this[_0x8a08c7(0x1b9)]['extend'](_0x4b65d8);},'compute':function(_0x15762c,_0x444b7e){var _0x15137f=_0x43429e;for(var _0xe1399b,_0x599b1e=this[_0x15137f(0x1b9)],_0x137d8a=_0x599b1e[_0x15137f(0x221)]['create'](),_0x50e206=_0x463997[_0x15137f(0x454)](),_0xb6a901=_0x50e206[_0x15137f(0x2ba)],_0x59169e=_0x599b1e[_0x15137f(0x297)],_0xd482e7=_0x599b1e[_0x15137f(0x411)];_0xb6a901[_0x15137f(0x2fd)]<_0x59169e;){_0xe1399b&&_0x137d8a[_0x15137f(0x2d9)](_0xe1399b),_0xe1399b=_0x137d8a[_0x15137f(0x2d9)](_0x15762c)['finalize'](_0x444b7e),_0x137d8a['reset']();for(var _0x431266=0x1;_0x431266<_0xd482e7;_0x431266++)_0xe1399b=_0x137d8a[_0x15137f(0x333)](_0xe1399b),_0x137d8a[_0x15137f(0x30e)]();_0x50e206['concat'](_0xe1399b);}return _0x50e206[_0x15137f(0x365)]=_0x59169e*0x4,_0x50e206;}});_0x16ac4d[_0x43429e(0x1f3)]=function(_0x2cb035,_0x5668dd,_0x4dcf1d){var _0x4e5b63=_0x43429e;return _0x19d29d[_0x4e5b63(0x454)](_0x4dcf1d)[_0x4e5b63(0x418)](_0x2cb035,_0x5668dd);};}()),_0x34e160[_0x66f416(0x1f3)];}));}(Ke)),Ke[_0x2beead(0x1b4)];}var Je={'exports':{}},mn=Je['exports'],ei;function bi(){var _0x2b1087=_0x4a5b68;return ei||(ei=0x1,function(_0x35d490,_0x387b9b){(function(_0x50f1fa,_0x3ca48f,_0x4ba0b0){var _0x10660f=_0x625c;_0x35d490[_0x10660f(0x1b4)]=_0x3ca48f(te(),Oi());}(mn,function(_0x5c2288){var _0x38a25a=_0x625c;_0x5c2288['lib'][_0x38a25a(0x34c)]||function(_0xd6b096){var _0x1715e0=_0x38a25a,_0x3c7b48=_0x5c2288,_0x49561b=_0x3c7b48[_0x1715e0(0x1c6)],_0xec9c9d=_0x49561b['Base'],_0x17d25f=_0x49561b['WordArray'],_0x4d754b=_0x49561b[_0x1715e0(0x2d2)],_0x3ee9ff=_0x3c7b48['enc'];_0x3ee9ff[_0x1715e0(0x47e)];var _0x99af86=_0x3ee9ff[_0x1715e0(0x1a1)],_0x46dd5=_0x3c7b48[_0x1715e0(0x48a)],_0x5e4e5f=_0x46dd5[_0x1715e0(0x1f3)],_0x54bf34=_0x49561b[_0x1715e0(0x34c)]=_0x4d754b[_0x1715e0(0x390)]({'cfg':_0xec9c9d[_0x1715e0(0x390)](),'createEncryptor':function(_0x23cba5,_0x49f8f4){var _0x400e6b=_0x1715e0;return this['create'](this[_0x400e6b(0x2a1)],_0x23cba5,_0x49f8f4);},'createDecryptor':function(_0x4edb9e,_0x597e47){var _0x369214=_0x1715e0;return this[_0x369214(0x454)](this['_DEC_XFORM_MODE'],_0x4edb9e,_0x597e47);},'init':function(_0x456386,_0x3df108,_0x417535){var _0x5c3802=_0x1715e0;this[_0x5c3802(0x1b9)]=this[_0x5c3802(0x1b9)][_0x5c3802(0x390)](_0x417535),this[_0x5c3802(0x323)]=_0x456386,this[_0x5c3802(0x280)]=_0x3df108,this[_0x5c3802(0x30e)]();},'reset':function(){var _0x506136=_0x1715e0;_0x4d754b[_0x506136(0x30e)][_0x506136(0x1c8)](this),this[_0x506136(0x19a)]();},'process':function(_0x2e442b){return this['_append'](_0x2e442b),this['_process']();},'finalize':function(_0xc7bfdc){_0xc7bfdc&&this['_append'](_0xc7bfdc);var _0x1a8ba4=this['_doFinalize']();return _0x1a8ba4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38852d(_0x3a7604){var _0x4a630a=_0x625c;return typeof _0x3a7604==_0x4a630a(0x406)?_0x4c224d:_0x1e8308;}return function(_0x3013ec){return{'encrypt':function(_0x245bc6,_0x24831b,_0x3397ba){var _0x2877bd=_0x625c;return _0x38852d(_0x24831b)[_0x2877bd(0x424)](_0x3013ec,_0x245bc6,_0x24831b,_0x3397ba);},'decrypt':function(_0x6de27e,_0x570800,_0x30b7ce){var _0x3c7963=_0x625c;return _0x38852d(_0x570800)[_0x3c7963(0x1e4)](_0x3013ec,_0x6de27e,_0x570800,_0x30b7ce);}};};}())});_0x49561b['StreamCipher']=_0x54bf34[_0x1715e0(0x390)]({'_doFinalize':function(){var _0xa2853e=_0x1715e0,_0x5101f2=this[_0xa2853e(0x35a)](!0x0);return _0x5101f2;},'blockSize':0x1});var _0x41f0fc=_0x3c7b48[_0x1715e0(0x1cd)]={},_0x2ef3e2=_0x49561b[_0x1715e0(0x369)]=_0xec9c9d[_0x1715e0(0x390)]({'createEncryptor':function(_0x3f520c,_0x36cf7f){return this['Encryptor']['create'](_0x3f520c,_0x36cf7f);},'createDecryptor':function(_0x404a17,_0x435cc1){var _0x400f6=_0x1715e0;return this[_0x400f6(0x2da)][_0x400f6(0x454)](_0x404a17,_0x435cc1);},'init':function(_0x5bf8d5,_0x4d6384){var _0x4ef6b4=_0x1715e0;this[_0x4ef6b4(0x338)]=_0x5bf8d5,this[_0x4ef6b4(0x28e)]=_0x4d6384;}}),_0x2e538d=_0x41f0fc[_0x1715e0(0x24b)]=(function(){var _0x379d70=_0x1715e0,_0x7e44d8=_0x2ef3e2[_0x379d70(0x390)]();_0x7e44d8[_0x379d70(0x325)]=_0x7e44d8['extend']({'processBlock':function(_0xbc4c22,_0x246591){var _0x1ae6ad=_0x379d70,_0x4ab07e=this[_0x1ae6ad(0x338)],_0x486bd1=_0x4ab07e[_0x1ae6ad(0x3d1)];_0x482b71[_0x1ae6ad(0x1c8)](this,_0xbc4c22,_0x246591,_0x486bd1),_0x4ab07e[_0x1ae6ad(0x462)](_0xbc4c22,_0x246591),this[_0x1ae6ad(0x2eb)]=_0xbc4c22[_0x1ae6ad(0x282)](_0x246591,_0x246591+_0x486bd1);}}),_0x7e44d8[_0x379d70(0x2da)]=_0x7e44d8[_0x379d70(0x390)]({'processBlock':function(_0x30fb07,_0x5e035b){var _0x3f8330=_0x379d70,_0x33085a=this[_0x3f8330(0x338)],_0x5a9bc9=_0x33085a[_0x3f8330(0x3d1)],_0x4b5351=_0x30fb07[_0x3f8330(0x282)](_0x5e035b,_0x5e035b+_0x5a9bc9);_0x33085a[_0x3f8330(0x38b)](_0x30fb07,_0x5e035b),_0x482b71['call'](this,_0x30fb07,_0x5e035b,_0x5a9bc9),this[_0x3f8330(0x2eb)]=_0x4b5351;}});function _0x482b71(_0x4fa155,_0x3b2019,_0xfbd01){var _0x38911b=_0x379d70,_0x1da477,_0x1b9a57=this[_0x38911b(0x28e)];_0x1b9a57?(_0x1da477=_0x1b9a57,this['_iv']=_0xd6b096):_0x1da477=this[_0x38911b(0x2eb)];for(var _0x7ee858=0x0;_0x7ee858<_0xfbd01;_0x7ee858++)_0x4fa155[_0x3b2019+_0x7ee858]^=_0x1da477[_0x7ee858];}return _0x7e44d8;}()),_0x50e774=_0x3c7b48[_0x1715e0(0x28f)]={},_0x10a3e6=_0x50e774['Pkcs7']={'pad':function(_0x4bdd59,_0x3e3925){var _0x26f76f=_0x1715e0;for(var _0x35d6d4=_0x3e3925*0x4,_0x383fee=_0x35d6d4-_0x4bdd59[_0x26f76f(0x365)]%_0x35d6d4,_0x4b5a90=_0x383fee<<0x18|_0x383fee<<0x10|_0x383fee<<0x8|_0x383fee,_0x1b77ed=[],_0x4e47d6=0x0;_0x4e47d6<_0x383fee;_0x4e47d6+=0x4)_0x1b77ed[_0x26f76f(0x222)](_0x4b5a90);var _0x5cc798=_0x17d25f[_0x26f76f(0x454)](_0x1b77ed,_0x383fee);_0x4bdd59['concat'](_0x5cc798);},'unpad':function(_0x35c0d5){var _0xc4edbf=_0x1715e0,_0x1d07c2=_0x35c0d5[_0xc4edbf(0x2ba)][_0x35c0d5['sigBytes']-0x1>>>0x2]&0xff;_0x35c0d5[_0xc4edbf(0x365)]-=_0x1d07c2;}};_0x49561b[_0x1715e0(0x493)]=_0x54bf34[_0x1715e0(0x390)]({'cfg':_0x54bf34['cfg']['extend']({'mode':_0x2e538d,'padding':_0x10a3e6}),'reset':function(){var _0x1e043e=_0x1715e0,_0x446ec4;_0x54bf34[_0x1e043e(0x30e)][_0x1e043e(0x1c8)](this);var _0x13b2c0=this[_0x1e043e(0x1b9)],_0x2ec8e0=_0x13b2c0['iv'],_0x31e1ae=_0x13b2c0[_0x1e043e(0x1cd)];this['_xformMode']==this[_0x1e043e(0x2a1)]?_0x446ec4=_0x31e1ae[_0x1e043e(0x33d)]:(_0x446ec4=_0x31e1ae[_0x1e043e(0x271)],this[_0x1e043e(0x1cb)]=0x1),this['_mode']&&this[_0x1e043e(0x41b)]['__creator']==_0x446ec4?this[_0x1e043e(0x41b)][_0x1e043e(0x240)](this,_0x2ec8e0&&_0x2ec8e0[_0x1e043e(0x2ba)]):(this['_mode']=_0x446ec4['call'](_0x31e1ae,this,_0x2ec8e0&&_0x2ec8e0[_0x1e043e(0x2ba)]),this['_mode'][_0x1e043e(0x3e6)]=_0x446ec4);},'_doProcessBlock':function(_0x53eda7,_0x5d6bd3){this['_mode']['processBlock'](_0x53eda7,_0x5d6bd3);},'_doFinalize':function(){var _0x1f8ad2=_0x1715e0,_0x2f61,_0x11d9af=this[_0x1f8ad2(0x1b9)][_0x1f8ad2(0x1df)];return this['_xformMode']==this[_0x1f8ad2(0x2a1)]?(_0x11d9af[_0x1f8ad2(0x28f)](this[_0x1f8ad2(0x364)],this['blockSize']),_0x2f61=this[_0x1f8ad2(0x35a)](!0x0)):(_0x2f61=this[_0x1f8ad2(0x35a)](!0x0),_0x11d9af['unpad'](_0x2f61)),_0x2f61;},'blockSize':0x80/0x20});var _0x5af777=_0x49561b[_0x1715e0(0x289)]=_0xec9c9d[_0x1715e0(0x390)]({'init':function(_0x1bd114){this['mixIn'](_0x1bd114);},'toString':function(_0x5906cc){var _0x2274ed=_0x1715e0;return(_0x5906cc||this[_0x2274ed(0x469)])[_0x2274ed(0x44c)](this);}}),_0x5e59e7=_0x3c7b48[_0x1715e0(0x47a)]={},_0x6deca3=_0x5e59e7['OpenSSL']={'stringify':function(_0xf48816){var _0x513484=_0x1715e0,_0x40d61f,_0x48df7d=_0xf48816[_0x513484(0x36e)],_0x1b4e00=_0xf48816[_0x513484(0x34b)];return _0x1b4e00?_0x40d61f=_0x17d25f['create']([0x53616c74,0x65645f5f])['concat'](_0x1b4e00)[_0x513484(0x3f4)](_0x48df7d):_0x40d61f=_0x48df7d,_0x40d61f[_0x513484(0x1db)](_0x99af86);},'parse':function(_0x21c379){var _0x14e1c5=_0x1715e0,_0xff5bd4,_0x44acf5=_0x99af86[_0x14e1c5(0x1d4)](_0x21c379),_0x8bb76=_0x44acf5[_0x14e1c5(0x2ba)];return _0x8bb76[0x0]==0x53616c74&&_0x8bb76[0x1]==0x65645f5f&&(_0xff5bd4=_0x17d25f[_0x14e1c5(0x454)](_0x8bb76[_0x14e1c5(0x282)](0x2,0x4)),_0x8bb76['splice'](0x0,0x4),_0x44acf5[_0x14e1c5(0x365)]-=0x10),_0x5af777[_0x14e1c5(0x454)]({'ciphertext':_0x44acf5,'salt':_0xff5bd4});}},_0x1e8308=_0x49561b[_0x1715e0(0x239)]=_0xec9c9d[_0x1715e0(0x390)]({'cfg':_0xec9c9d['extend']({'format':_0x6deca3}),'encrypt':function(_0x2952b9,_0x3a8f03,_0x32f123,_0x2552a7){var _0x443f0c=_0x1715e0;_0x2552a7=this[_0x443f0c(0x1b9)][_0x443f0c(0x390)](_0x2552a7);var _0x37124c=_0x2952b9['createEncryptor'](_0x32f123,_0x2552a7),_0x495d34=_0x37124c[_0x443f0c(0x333)](_0x3a8f03),_0x2dc7bf=_0x37124c[_0x443f0c(0x1b9)];return _0x5af777[_0x443f0c(0x454)]({'ciphertext':_0x495d34,'key':_0x32f123,'iv':_0x2dc7bf['iv'],'algorithm':_0x2952b9,'mode':_0x2dc7bf['mode'],'padding':_0x2dc7bf['padding'],'blockSize':_0x2952b9[_0x443f0c(0x3d1)],'formatter':_0x2552a7[_0x443f0c(0x47a)]});},'decrypt':function(_0x12463a,_0x2f99af,_0x94fa54,_0x17ae54){var _0x54dc82=_0x1715e0;_0x17ae54=this[_0x54dc82(0x1b9)][_0x54dc82(0x390)](_0x17ae54),_0x2f99af=this[_0x54dc82(0x1ac)](_0x2f99af,_0x17ae54[_0x54dc82(0x47a)]);var _0x549f10=_0x12463a[_0x54dc82(0x271)](_0x94fa54,_0x17ae54)['finalize'](_0x2f99af[_0x54dc82(0x36e)]);return _0x549f10;},'_parse':function(_0x50600e,_0xf6dee6){var _0x540a4f=_0x1715e0;return typeof _0x50600e==_0x540a4f(0x406)?_0xf6dee6[_0x540a4f(0x1d4)](_0x50600e,this):_0x50600e;}}),_0x5b3c55=_0x3c7b48['kdf']={},_0x4565bd=_0x5b3c55[_0x1715e0(0x242)]={'execute':function(_0x2657c4,_0x4b551d,_0x13ebbc,_0x364002,_0x47baef){var _0x584482=_0x1715e0;if(_0x364002||(_0x364002=_0x17d25f[_0x584482(0x36c)](0x40/0x8)),_0x47baef)var _0x482cbf=_0x5e4e5f[_0x584482(0x454)]({'keySize':_0x4b551d+_0x13ebbc,'hasher':_0x47baef})[_0x584482(0x418)](_0x2657c4,_0x364002);else var _0x482cbf=_0x5e4e5f[_0x584482(0x454)]({'keySize':_0x4b551d+_0x13ebbc})['compute'](_0x2657c4,_0x364002);var _0x43ba6c=_0x17d25f[_0x584482(0x454)](_0x482cbf[_0x584482(0x2ba)][_0x584482(0x282)](_0x4b551d),_0x13ebbc*0x4);return _0x482cbf[_0x584482(0x365)]=_0x4b551d*0x4,_0x5af777['create']({'key':_0x482cbf,'iv':_0x43ba6c,'salt':_0x364002});}},_0x4c224d=_0x49561b[_0x1715e0(0x22c)]=_0x1e8308[_0x1715e0(0x390)]({'cfg':_0x1e8308[_0x1715e0(0x1b9)]['extend']({'kdf':_0x4565bd}),'encrypt':function(_0x478520,_0x2635cb,_0x43998c,_0x43b7f8){var _0x2c184b=_0x1715e0;_0x43b7f8=this[_0x2c184b(0x1b9)][_0x2c184b(0x390)](_0x43b7f8);var _0x15c32a=_0x43b7f8[_0x2c184b(0x1e5)][_0x2c184b(0x472)](_0x43998c,_0x478520['keySize'],_0x478520[_0x2c184b(0x213)],_0x43b7f8[_0x2c184b(0x34b)],_0x43b7f8[_0x2c184b(0x221)]);_0x43b7f8['iv']=_0x15c32a['iv'];var _0x1656e8=_0x1e8308['encrypt'][_0x2c184b(0x1c8)](this,_0x478520,_0x2635cb,_0x15c32a[_0x2c184b(0x409)],_0x43b7f8);return _0x1656e8[_0x2c184b(0x26c)](_0x15c32a),_0x1656e8;},'decrypt':function(_0x3f8a61,_0x478782,_0x517a1d,_0x5ee59c){var _0x3e278f=_0x1715e0;_0x5ee59c=this['cfg'][_0x3e278f(0x390)](_0x5ee59c),_0x478782=this[_0x3e278f(0x1ac)](_0x478782,_0x5ee59c[_0x3e278f(0x47a)]);var _0x36a430=_0x5ee59c[_0x3e278f(0x1e5)]['execute'](_0x517a1d,_0x3f8a61['keySize'],_0x3f8a61[_0x3e278f(0x213)],_0x478782['salt'],_0x5ee59c[_0x3e278f(0x221)]);_0x5ee59c['iv']=_0x36a430['iv'];var _0xb1e69d=_0x1e8308[_0x3e278f(0x1e4)][_0x3e278f(0x1c8)](this,_0x3f8a61,_0x478782,_0x36a430[_0x3e278f(0x409)],_0x5ee59c);return _0xb1e69d;}});}();}));}(Je)),Je[_0x2b1087(0x1b4)];}var gn=Ve['exports'],ti;function Sn(){var _0x3b2b2b=_0x4a5b68;return ti||(ti=0x1,function(_0x1281c4,_0x14587b){(function(_0x1857e0,_0x1d943c,_0x3df505){var _0x27d5c1=_0x625c;_0x1281c4[_0x27d5c1(0x1b4)]=_0x1d943c(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x49f98b){return(function(){var _0x19164d=_0x625c,_0x208997=_0x49f98b,_0xd3a9cb=_0x208997[_0x19164d(0x1c6)],_0x3c8b52=_0xd3a9cb[_0x19164d(0x493)],_0x25bb43=_0x208997[_0x19164d(0x48a)],_0x1b1ae4=[],_0x899842=[],_0x19f1ec=[],_0x51080c=[],_0x552b78=[],_0x542068=[],_0x31a517=[],_0x398c96=[],_0x4535a8=[],_0x11184b=[];(function(){for(var _0x282bdf=[],_0xa8c477=0x0;_0xa8c477<0x100;_0xa8c477++)_0xa8c477<0x80?_0x282bdf[_0xa8c477]=_0xa8c477<<0x1:_0x282bdf[_0xa8c477]=_0xa8c477<<0x1^0x11b;for(var _0x522217=0x0,_0x7fad3d=0x0,_0xa8c477=0x0;_0xa8c477<0x100;_0xa8c477++){var _0x38134b=_0x7fad3d^_0x7fad3d<<0x1^_0x7fad3d<<0x2^_0x7fad3d<<0x3^_0x7fad3d<<0x4;_0x38134b=_0x38134b>>>0x8^_0x38134b&0xff^0x63,_0x1b1ae4[_0x522217]=_0x38134b,_0x899842[_0x38134b]=_0x522217;var _0x251eda=_0x282bdf[_0x522217],_0x52f274=_0x282bdf[_0x251eda],_0x34f616=_0x282bdf[_0x52f274],_0x17a3e3=_0x282bdf[_0x38134b]*0x101^_0x38134b*0x1010100;_0x19f1ec[_0x522217]=_0x17a3e3<<0x18|_0x17a3e3>>>0x8,_0x51080c[_0x522217]=_0x17a3e3<<0x10|_0x17a3e3>>>0x10,_0x552b78[_0x522217]=_0x17a3e3<<0x8|_0x17a3e3>>>0x18,_0x542068[_0x522217]=_0x17a3e3;var _0x17a3e3=_0x34f616*0x1010101^_0x52f274*0x10001^_0x251eda*0x101^_0x522217*0x1010100;_0x31a517[_0x38134b]=_0x17a3e3<<0x18|_0x17a3e3>>>0x8,_0x398c96[_0x38134b]=_0x17a3e3<<0x10|_0x17a3e3>>>0x10,_0x4535a8[_0x38134b]=_0x17a3e3<<0x8|_0x17a3e3>>>0x18,_0x11184b[_0x38134b]=_0x17a3e3,_0x522217?(_0x522217=_0x251eda^_0x282bdf[_0x282bdf[_0x282bdf[_0x34f616^_0x251eda]]],_0x7fad3d^=_0x282bdf[_0x282bdf[_0x7fad3d]]):_0x522217=_0x7fad3d=0x1;}}());var _0xb77ee3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x33f310=_0x25bb43[_0x19164d(0x233)]=_0x3c8b52[_0x19164d(0x390)]({'_doReset':function(){var _0x3f5f87=_0x19164d,_0x43a3c0;if(!(this[_0x3f5f87(0x3e1)]&&this[_0x3f5f87(0x471)]===this[_0x3f5f87(0x280)])){for(var _0x1f3529=this['_keyPriorReset']=this['_key'],_0xa8a3f0=_0x1f3529[_0x3f5f87(0x2ba)],_0x44e0f3=_0x1f3529['sigBytes']/0x4,_0xd9b4ca=this[_0x3f5f87(0x3e1)]=_0x44e0f3+0x6,_0x4cc19c=(_0xd9b4ca+0x1)*0x4,_0x3b875f=this[_0x3f5f87(0x487)]=[],_0x5b7ab2=0x0;_0x5b7ab2<_0x4cc19c;_0x5b7ab2++)_0x5b7ab2<_0x44e0f3?_0x3b875f[_0x5b7ab2]=_0xa8a3f0[_0x5b7ab2]:(_0x43a3c0=_0x3b875f[_0x5b7ab2-0x1],_0x5b7ab2%_0x44e0f3?_0x44e0f3>0x6&&_0x5b7ab2%_0x44e0f3==0x4&&(_0x43a3c0=_0x1b1ae4[_0x43a3c0>>>0x18]<<0x18|_0x1b1ae4[_0x43a3c0>>>0x10&0xff]<<0x10|_0x1b1ae4[_0x43a3c0>>>0x8&0xff]<<0x8|_0x1b1ae4[_0x43a3c0&0xff]):(_0x43a3c0=_0x43a3c0<<0x8|_0x43a3c0>>>0x18,_0x43a3c0=_0x1b1ae4[_0x43a3c0>>>0x18]<<0x18|_0x1b1ae4[_0x43a3c0>>>0x10&0xff]<<0x10|_0x1b1ae4[_0x43a3c0>>>0x8&0xff]<<0x8|_0x1b1ae4[_0x43a3c0&0xff],_0x43a3c0^=_0xb77ee3[_0x5b7ab2/_0x44e0f3|0x0]<<0x18),_0x3b875f[_0x5b7ab2]=_0x3b875f[_0x5b7ab2-_0x44e0f3]^_0x43a3c0);for(var _0x2f8da2=this[_0x3f5f87(0x2d1)]=[],_0x14631b=0x0;_0x14631b<_0x4cc19c;_0x14631b++){var _0x5b7ab2=_0x4cc19c-_0x14631b;if(_0x14631b%0x4)var _0x43a3c0=_0x3b875f[_0x5b7ab2];else var _0x43a3c0=_0x3b875f[_0x5b7ab2-0x4];_0x14631b<0x4||_0x5b7ab2<=0x4?_0x2f8da2[_0x14631b]=_0x43a3c0:_0x2f8da2[_0x14631b]=_0x31a517[_0x1b1ae4[_0x43a3c0>>>0x18]]^_0x398c96[_0x1b1ae4[_0x43a3c0>>>0x10&0xff]]^_0x4535a8[_0x1b1ae4[_0x43a3c0>>>0x8&0xff]]^_0x11184b[_0x1b1ae4[_0x43a3c0&0xff]];}}},'encryptBlock':function(_0x9f1747,_0x302a06){this['_doCryptBlock'](_0x9f1747,_0x302a06,this['_keySchedule'],_0x19f1ec,_0x51080c,_0x552b78,_0x542068,_0x1b1ae4);},'decryptBlock':function(_0x21525b,_0x1f9c0b){var _0xe2828f=_0x19164d,_0x16a4b8=_0x21525b[_0x1f9c0b+0x1];_0x21525b[_0x1f9c0b+0x1]=_0x21525b[_0x1f9c0b+0x3],_0x21525b[_0x1f9c0b+0x3]=_0x16a4b8,this[_0xe2828f(0x195)](_0x21525b,_0x1f9c0b,this[_0xe2828f(0x2d1)],_0x31a517,_0x398c96,_0x4535a8,_0x11184b,_0x899842);var _0x16a4b8=_0x21525b[_0x1f9c0b+0x1];_0x21525b[_0x1f9c0b+0x1]=_0x21525b[_0x1f9c0b+0x3],_0x21525b[_0x1f9c0b+0x3]=_0x16a4b8;},'_doCryptBlock':function(_0x1556dc,_0x1cedc6,_0x43f7db,_0x16ca4d,_0x3fa955,_0x1651a9,_0x367410,_0xbcd4f8){var _0xdb84f8=_0x19164d;for(var _0x48058c=this[_0xdb84f8(0x3e1)],_0x250971=_0x1556dc[_0x1cedc6]^_0x43f7db[0x0],_0x836aa5=_0x1556dc[_0x1cedc6+0x1]^_0x43f7db[0x1],_0x2d8c27=_0x1556dc[_0x1cedc6+0x2]^_0x43f7db[0x2],_0x5238dc=_0x1556dc[_0x1cedc6+0x3]^_0x43f7db[0x3],_0x40ed64=0x4,_0x204105=0x1;_0x204105<_0x48058c;_0x204105++){var _0x216119=_0x16ca4d[_0x250971>>>0x18]^_0x3fa955[_0x836aa5>>>0x10&0xff]^_0x1651a9[_0x2d8c27>>>0x8&0xff]^_0x367410[_0x5238dc&0xff]^_0x43f7db[_0x40ed64++],_0x3564f0=_0x16ca4d[_0x836aa5>>>0x18]^_0x3fa955[_0x2d8c27>>>0x10&0xff]^_0x1651a9[_0x5238dc>>>0x8&0xff]^_0x367410[_0x250971&0xff]^_0x43f7db[_0x40ed64++],_0x337c74=_0x16ca4d[_0x2d8c27>>>0x18]^_0x3fa955[_0x5238dc>>>0x10&0xff]^_0x1651a9[_0x250971>>>0x8&0xff]^_0x367410[_0x836aa5&0xff]^_0x43f7db[_0x40ed64++],_0x4ff6fd=_0x16ca4d[_0x5238dc>>>0x18]^_0x3fa955[_0x250971>>>0x10&0xff]^_0x1651a9[_0x836aa5>>>0x8&0xff]^_0x367410[_0x2d8c27&0xff]^_0x43f7db[_0x40ed64++];_0x250971=_0x216119,_0x836aa5=_0x3564f0,_0x2d8c27=_0x337c74,_0x5238dc=_0x4ff6fd;}var _0x216119=(_0xbcd4f8[_0x250971>>>0x18]<<0x18|_0xbcd4f8[_0x836aa5>>>0x10&0xff]<<0x10|_0xbcd4f8[_0x2d8c27>>>0x8&0xff]<<0x8|_0xbcd4f8[_0x5238dc&0xff])^_0x43f7db[_0x40ed64++],_0x3564f0=(_0xbcd4f8[_0x836aa5>>>0x18]<<0x18|_0xbcd4f8[_0x2d8c27>>>0x10&0xff]<<0x10|_0xbcd4f8[_0x5238dc>>>0x8&0xff]<<0x8|_0xbcd4f8[_0x250971&0xff])^_0x43f7db[_0x40ed64++],_0x337c74=(_0xbcd4f8[_0x2d8c27>>>0x18]<<0x18|_0xbcd4f8[_0x5238dc>>>0x10&0xff]<<0x10|_0xbcd4f8[_0x250971>>>0x8&0xff]<<0x8|_0xbcd4f8[_0x836aa5&0xff])^_0x43f7db[_0x40ed64++],_0x4ff6fd=(_0xbcd4f8[_0x5238dc>>>0x18]<<0x18|_0xbcd4f8[_0x250971>>>0x10&0xff]<<0x10|_0xbcd4f8[_0x836aa5>>>0x8&0xff]<<0x8|_0xbcd4f8[_0x2d8c27&0xff])^_0x43f7db[_0x40ed64++];_0x1556dc[_0x1cedc6]=_0x216119,_0x1556dc[_0x1cedc6+0x1]=_0x3564f0,_0x1556dc[_0x1cedc6+0x2]=_0x337c74,_0x1556dc[_0x1cedc6+0x3]=_0x4ff6fd;},'keySize':0x100/0x20});_0x208997['AES']=_0x3c8b52[_0x19164d(0x273)](_0x33f310);}()),_0x49f98b['AES'];}));}(Ve)),Ve[_0x3b2b2b(0x1b4)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x4a5b68(0x1b4)],si;function Rn(){var _0x2aec84=_0x4a5b68;return si||(si=0x1,function(_0x3a32f2,_0xaf9fa3){(function(_0x530b5f,_0x23e446){var _0x4e49c8=_0x625c;_0x3a32f2[_0x4e49c8(0x1b4)]=_0x23e446(te());}(Cn,function(_0x1b5937){var _0xe80a29=_0x625c;return _0x1b5937[_0xe80a29(0x20e)][_0xe80a29(0x47e)];}));}(Xe)),Xe[_0x2aec84(0x1b4)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x4a5b68(0x1b4)],ni;function _0x625c(_0x469ab1,_0x454fd4){var _0x54ff75=_0x54ff();return _0x625c=function(_0x625c41,_0x4a16e4){_0x625c41=_0x625c41-0x190;var _0x5959c9=_0x54ff75[_0x625c41];return _0x5959c9;},_0x625c(_0x469ab1,_0x454fd4);}function Nn(){return ni||(ni=0x1,function(_0x292905,_0x18741a){(function(_0x5b7131,_0x4a46ed){var _0xdb3841=_0x625c;_0x292905[_0xdb3841(0x1b4)]=_0x4a46ed(te());}(yn,function(_0x12566a){var _0x5c162f=_0x625c;return(function(){var _0x51b721=_0x625c;if(typeof ArrayBuffer==_0x51b721(0x1e7)){var _0x3e561a=_0x12566a,_0x46c023=_0x3e561a['lib'],_0x1ec4ee=_0x46c023[_0x51b721(0x42c)],_0x2ab0cc=_0x1ec4ee['init'],_0x47ad49=_0x1ec4ee[_0x51b721(0x240)]=function(_0xd71204){var _0x7f9ee6=_0x51b721;if(_0xd71204 instanceof ArrayBuffer&&(_0xd71204=new Uint8Array(_0xd71204)),(_0xd71204 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xd71204 instanceof Uint8ClampedArray||_0xd71204 instanceof Int16Array||_0xd71204 instanceof Uint16Array||_0xd71204 instanceof Int32Array||_0xd71204 instanceof Uint32Array||_0xd71204 instanceof Float32Array||_0xd71204 instanceof Float64Array)&&(_0xd71204=new Uint8Array(_0xd71204[_0x7f9ee6(0x265)],_0xd71204[_0x7f9ee6(0x37e)],_0xd71204[_0x7f9ee6(0x373)])),_0xd71204 instanceof Uint8Array){for(var _0x4b5d46=_0xd71204[_0x7f9ee6(0x373)],_0x36e6ef=[],_0x2806b2=0x0;_0x2806b2<_0x4b5d46;_0x2806b2++)_0x36e6ef[_0x2806b2>>>0x2]|=_0xd71204[_0x2806b2]<<0x18-_0x2806b2%0x4*0x8;_0x2ab0cc[_0x7f9ee6(0x1c8)](this,_0x36e6ef,_0x4b5d46);}else _0x2ab0cc[_0x7f9ee6(0x41d)](this,arguments);};_0x47ad49['prototype']=_0x1ec4ee;}}()),_0x12566a[_0x5c162f(0x1c6)][_0x5c162f(0x42c)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x4a5b68(0x1b4)],ri;function wn(){var _0x3b716d=_0x4a5b68;return ri||(ri=0x1,function(_0x37b2e0,_0x17141a){(function(_0x58d5b6,_0x430a14,_0x58639a){var _0x5b7d30=_0x625c;_0x37b2e0[_0x5b7d30(0x1b4)]=_0x430a14(te(),bi());}(An,function(_0x5f3967){var _0x4f2fa5=_0x625c;return _0x5f3967[_0x4f2fa5(0x28f)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5f3967[_0x4f2fa5(0x28f)]['NoPadding'];}));}(Qe)),Qe[_0x3b716d(0x1b4)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x13fc4d,_0x4961d7){var _0x4f4608=_0x4a5b68;const _0x2df555=_0x4961d7-_0x13fc4d['length']%_0x4961d7,_0x2f1ac4=String['fromCharCode'](_0x2df555)[_0x4f4608(0x474)](_0x2df555);return _0x13fc4d+_0x2f1ac4;}function xn(_0x2ad1c4,_0x54d892){var _0x32dcc8=_0x4a5b68;const _0x2d1aa1=Un[_0x32dcc8(0x36c)](0x10),_0x340e48=Ln(_0x2ad1c4,0x10),_0x373ada=In['encrypt'](bn[_0x32dcc8(0x1d4)](_0x340e48),ii['parse'](_0x54d892),{'iv':_0x2d1aa1,'padding':Mn});return _0x2d1aa1[_0x32dcc8(0x3f4)](_0x373ada[_0x32dcc8(0x36e)])[_0x32dcc8(0x1db)](ii);}function kn(){var _0x2f927a=_0x4a5b68;const _0x4ca564=_0x5219c3()[_0x2f927a(0x2ed)];if(_0x4ca564){const _0x59b583={'time':Math[_0x2f927a(0x486)](Date[_0x2f927a(0x20c)]()/0x3e8),'domain':location[_0x2f927a(0x291)]};return xn(JSON[_0x2f927a(0x44c)](_0x59b583),_0x4ca564);}}var $n=Object[_0x4a5b68(0x3f1)],Hn=(_0x471624,_0x2ad9ec,_0x55506e,_0x53c159)=>{var _0x3c286d=_0x4a5b68;for(var _0x53fd90=_0x53c159>0x1?void 0x0:_0x53c159?$n(_0x2ad9ec,_0x55506e):_0x2ad9ec,_0x1e7ec9=_0x471624[_0x3c286d(0x2fd)]-0x1,_0x430b3e;_0x1e7ec9>=0x0;_0x1e7ec9--)(_0x430b3e=_0x471624[_0x1e7ec9])&&(_0x53fd90=_0x430b3e(_0x53fd90)||_0x53fd90);return _0x53fd90;},Bn=(_0x4249cb,_0x20b434)=>(_0x4d44ca,_0x5d072d)=>_0x20b434(_0x4d44ca,_0x5d072d,_0x4249cb);let at=class{constructor(_0x212243){var _0x3a1a34=_0x4a5b68;this[_0x3a1a34(0x3d7)]=_0x212243,this[_0x3a1a34(0x3c0)]();}[_0x4a5b68(0x3c0)](){var _0x5374c4=_0x4a5b68;this[_0x5374c4(0x3d7)][_0x5374c4(0x450)]({'interceptor':(_0x14afef,_0x44bb5b)=>{var _0x4d4859=_0x5374c4;const _0x3c98db=_0x14afef['headers'],_0x517925=kn();return _0x517925&&_0x3c98db[_0x4d4859(0x3a3)](_0x4d4859(0x417),_0x517925),_0x44bb5b(_0x14afef);}});}};at=Hn([Bn(0x0,_0x3c3c0e(_0x2e87db))],at);var jn=Object[_0x4a5b68(0x3f1)],Fn=(_0x4292c1,_0x519ba6,_0x8e31bb,_0x1fa6c7)=>{var _0x195504=_0x4a5b68;for(var _0xb9cd21=_0x1fa6c7>0x1?void 0x0:_0x1fa6c7?jn(_0x519ba6,_0x8e31bb):_0x519ba6,_0x42406f=_0x4292c1[_0x195504(0x2fd)]-0x1,_0x43717d;_0x42406f>=0x0;_0x42406f--)(_0x43717d=_0x4292c1[_0x42406f])&&(_0xb9cd21=_0x43717d(_0xb9cd21)||_0xb9cd21);return _0xb9cd21;},vt=(_0x1858b7,_0x4ed320)=>(_0x4e68df,_0x22ae0b)=>_0x4ed320(_0x4e68df,_0x22ae0b,_0x1858b7);let Ct=class extends _0x516120{constructor(_0x47f097,_0x660ebd,_0x4a1989){var _0x2a4ee1=_0x4a5b68;super(),N(this,_0x2a4ee1(0x283),new _0x5c19c8(null)),N(this,'unitInfo$',this[_0x2a4ee1(0x283)][_0x2a4ee1(0x378)]()),(this[_0x2a4ee1(0x30d)]=_0x47f097,this['_snapshotService']=_0x660ebd,this[_0x2a4ee1(0x32d)]=_0x4a1989);}async[_0x4a5b68(0x1bc)](_0x5465eb,_0x114b54,_0x4238a8){var _0x24cb20=_0x4a5b68;this[_0x24cb20(0x283)]['next']({'unitId':_0x5465eb,'type':_0x114b54});let _0x3f2ac8=null;switch(_0x114b54){case Z['UNIVER_SHEET']:{_0x3f2ac8=await this[_0x24cb20(0x25e)][_0x24cb20(0x1da)](_0x5465eb,_0x4238a8);break;}case Z[_0x24cb20(0x3b5)]:{_0x3f2ac8=await this[_0x24cb20(0x25e)][_0x24cb20(0x1dd)](_0x5465eb,_0x4238a8);break;}default:{this['_logService'][_0x24cb20(0x3ba)](_0x24cb20(0x24e),_0x24cb20(0x24f));break;}}return _0x3f2ac8;}async[_0x4a5b68(0x45e)](_0x100f89,_0x341993,_0x5a4f7c){var _0xb95220=_0x4a5b68,_0x5178a6;this[_0xb95220(0x283)][_0xb95220(0x43b)]({'unitId':_0x100f89,'type':_0x341993,'subUnitId':_0x5a4f7c});let _0x1716ee=0x0;const _0x230141=await((_0x5178a6=this['_localCacheService'])==null?void 0x0:_0x5178a6['loadOfflineData'](_0x100f89));return _0x230141&&(_0x230141[_0xb95220(0x1ef)]||_0x230141[_0xb95220(0x25f)][_0xb95220(0x2fd)]!==0x0)&&(_0x1716ee=_0x230141[_0xb95220(0x3c2)]),_0x1716ee===0x0&&this['_logService'][_0xb95220(0x229)](_0xb95220(0x24e),_0xb95220(0x30a)),this[_0xb95220(0x1bc)](_0x100f89,_0x341993,_0x1716ee);}};Ct=Fn([vt(0x0,_0x2ab23b),vt(0x1,_0x3c3c0e(_0x22c36b)),vt(0x2,_0x5db11f(J))],Ct);var Vn=Object[_0x4a5b68(0x3f1)],Wn=(_0x374d74,_0x493b18,_0x220e93,_0x49ff47)=>{var _0x45e44a=_0x4a5b68;for(var _0x580702=_0x49ff47>0x1?void 0x0:_0x49ff47?Vn(_0x493b18,_0x220e93):_0x493b18,_0x4a912f=_0x374d74[_0x45e44a(0x2fd)]-0x1,_0x5d9e0d;_0x4a912f>=0x0;_0x4a912f--)(_0x5d9e0d=_0x374d74[_0x4a912f])&&(_0x580702=_0x5d9e0d(_0x580702)||_0x580702);return _0x580702;},pt=(_0x5a695b,_0x25ab24)=>(_0x32a550,_0x435307)=>_0x25ab24(_0x32a550,_0x435307,_0x5a695b);const Gn=[_0x4a5b68(0x485),_0x4a5b68(0x319),_0x4a5b68(0x2ce),_0x4a5b68(0x19e),_0x4a5b68(0x216)],Yn=0x5*0x400*0x400,Kn=_0x4a5b68(0x27f),qn=_0x4a5b68(0x2a6);let Rt=class{constructor(_0x3c0a54,_0x4bd401,_0x1bb09e){var _0x5537b5=_0x4a5b68;N(this,_0x5537b5(0x2b2),0x0),N(this,_0x5537b5(0x2dc),new _0x1ce5f0()),N(this,_0x5537b5(0x256),this[_0x5537b5(0x2dc)]),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x3c0a54,this[_0x5537b5(0x3d4)]=_0x4bd401,this[_0x5537b5(0x29f)]=_0x1bb09e);}['setWaitCount'](_0x143c77){var _0x2ede40=_0x4a5b68;this[_0x2ede40(0x2b2)]=_0x143c77,this[_0x2ede40(0x2dc)][_0x2ede40(0x43b)](_0x143c77);}[_0x4a5b68(0x410)](_0x5eb636,_0x452e05){var _0x50091b=_0x4a5b68;if(_0x452e05===_0x5dfe8c[_0x50091b(0x348)]){const _0x4e4df3=new Image();return _0x4e4df3[_0x50091b(0x2f0)]=_0x5eb636,_0x4e4df3;}return this[_0x50091b(0x363)]['get'](_0x5eb636);}['addImageSourceCache'](_0x25493f,_0x15c169,_0x250b86){var _0x45b756=_0x4a5b68;_0x15c169===_0x5dfe8c[_0x45b756(0x348)]||_0x250b86==null||this[_0x45b756(0x363)][_0x45b756(0x3a3)](_0x25493f,_0x250b86);}async[_0x4a5b68(0x38a)](_0x2861ae){var _0x4bc880=_0x4a5b68;try{const _0x2c3e39=this[_0x4bc880(0x2be)](this[_0x4bc880(0x374)](),''+_0x2861ae),_0x503e24=(await this['_httpService']['get'](_0x2c3e39))[_0x4bc880(0x342)];if(_0x503e24[_0x4bc880(0x3ba)]&&_0x503e24[_0x4bc880(0x3ba)][_0x4bc880(0x48e)]===vi['OK']){const _0x5123c9=new URL(_0x503e24[_0x4bc880(0x385)],this['_getDownloadEndpointURL']())[_0x4bc880(0x1db)]();return Promise[_0x4bc880(0x1a3)](_0x5123c9);}return Promise['reject'](_0x503e24['error']);}catch(_0x410a13){return Promise['reject'](_0x410a13);}}async['saveImage'](_0x196cb8){var _0x5b694b=_0x4a5b68;let _0xa8bc1d='';if(!Gn[_0x5b694b(0x32b)](_0x196cb8[_0x5b694b(0x270)]))return this['_decreaseWaiting'](),Promise[_0x5b694b(0x24a)](new Error(_0x4d23a9[_0x5b694b(0x253)]));if(_0x196cb8[_0x5b694b(0x308)]>Yn)return this['_decreaseWaiting'](),Promise[_0x5b694b(0x24a)](new Error(_0x4d23a9[_0x5b694b(0x27b)]));try{const _0x3191cb=new FormData();_0x3191cb['append'](_0x5b694b(0x3f0),_0x196cb8);const _0x35052d=this[_0x5b694b(0x29f)][_0x5b694b(0x2cb)](),_0x531999=_0x35052d==null?void 0x0:_0x35052d['getUnitId']();if(!_0x531999)throw new Error('unitId\x20is\x20not\x20found');const _0x31db4b=this['_getUploadFileURL']()+_0x5b694b(0x24c)+_0x196cb8[_0x5b694b(0x308)][_0x5b694b(0x1db)]()+_0x5b694b(0x2e1)+pi[_0x5b694b(0x37b)]+_0x5b694b(0x44e)+encodeURIComponent(_0x531999),_0x2c4154={'body':_0x3191cb},_0x2a60d6=(await this[_0x5b694b(0x3d7)][_0x5b694b(0x3af)](_0x31db4b,_0x2c4154))[_0x5b694b(0x342)];if(typeof _0x2a60d6['FileId']!=_0x5b694b(0x406))return this[_0x5b694b(0x27a)](),Promise['reject'](new Error(_0x4d23a9[_0x5b694b(0x1d6)]));_0xa8bc1d=_0x2a60d6['FileId'];}catch{return this[_0x5b694b(0x27a)](),Promise[_0x5b694b(0x24a)](new Error(_0x4d23a9[_0x5b694b(0x1d6)]));}return new Promise((_0x26f1f9,_0x2ad27d)=>{var _0x3889e7=_0x5b694b;const _0x2f479c=new FileReader();_0x2f479c[_0x3889e7(0x3cf)](_0x196cb8),_0x2f479c['onload']=_0x43ba39=>{var _0x799f3f=_0x3889e7,_0x36127a;const _0x552ac3=(_0x36127a=_0x43ba39[_0x799f3f(0x421)])==null?void 0x0:_0x36127a[_0x799f3f(0x34f)];if(_0x552ac3==null){this[_0x799f3f(0x27a)](),_0x2ad27d(new Error(_0x4d23a9['ERROR_IMAGE']));return;}const _0x57a2e2=_0x53b156(0x6);_0x26f1f9({'imageId':_0x57a2e2,'imageSourceType':_0x5dfe8c['UUID'],'source':_0xa8bc1d,'base64Cache':_0x552ac3,'status':_0x4d23a9[_0x799f3f(0x490)]}),this[_0x799f3f(0x27a)]();};});}[_0x4a5b68(0x2a4)](){var _0x2ca88b;const _0x39aa3a=this['_configService']['getConfig'](K);return(_0x2ca88b=_0x39aa3a==null?void 0x0:_0x39aa3a['uploadFileServerUrl'])!=null?_0x2ca88b:Kn;}['_getSignURL'](){var _0x29e692=_0x4a5b68,_0x3b1782;const _0x135452=this[_0x29e692(0x3d4)]['getConfig'](K);return(_0x3b1782=_0x135452==null?void 0x0:_0x135452['signUrlServerUrl'])!=null?_0x3b1782:qn;}[_0x4a5b68(0x37d)](){var _0xb31169=_0x4a5b68,_0x5567fa;const _0x59eb83=this[_0xb31169(0x3d4)]['getConfig'](K);return(_0x5567fa=_0x59eb83==null?void 0x0:_0x59eb83[_0xb31169(0x192)])!=null?_0x5567fa:location[_0xb31169(0x214)];}['_replaceFileID'](_0x23bedc,_0x594e41){var _0x2598fe=_0x4a5b68;return _0x23bedc[_0x2598fe(0x3f5)]('{fileID}',_0x594e41);}['_decreaseWaiting'](){var _0x5580f0=_0x4a5b68;this['_waitCount']-=0x1,this[_0x5580f0(0x2dc)][_0x5580f0(0x43b)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x3c3c0e(_0x2e87db)),pt(0x1,_0x4647a9),pt(0x2,_0x3c3c0e(_0x17b18c))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x4b2994,_0x383cf2,_0x1f06a3,_0x25d3d4)=>{for(var _0xa5e5c8=_0x25d3d4>0x1?void 0x0:_0x25d3d4?zn(_0x383cf2,_0x1f06a3):_0x383cf2,_0x39be13=_0x4b2994['length']-0x1,_0x364134;_0x39be13>=0x0;_0x39be13--)(_0x364134=_0x4b2994[_0x39be13])&&(_0xa5e5c8=_0x364134(_0xa5e5c8)||_0xa5e5c8);return _0xa5e5c8;},ai=(_0x3914e7,_0x33aac4)=>(_0x22de53,_0x208232)=>_0x33aac4(_0x22de53,_0x208232,_0x3914e7);const Xn='/universer-api/authz';let Ot=class{constructor(_0xeeaa3f,_0x1fee81){var _0x191b7b=_0x4a5b68;this[_0x191b7b(0x3d4)]=_0xeeaa3f,this[_0x191b7b(0x21e)]=_0x1fee81;}['_getAPIPrefixPath'](){var _0xc580fc=_0x4a5b68,_0x25992a;const _0x5a1fe7=this[_0xc580fc(0x3d4)][_0xc580fc(0x41e)](K);return(_0x25992a=_0x5a1fe7==null?void 0x0:_0x5a1fe7[_0xc580fc(0x315)])!=null?_0x25992a:Xn;}async[_0x4a5b68(0x45b)](_0x57077a){var _0x1b8854=_0x4a5b68;const _0x14a92a=this[_0x1b8854(0x237)]()+'/collaborator';return{'list':[{'title':_0x1b8854(0x458),'mentions':(await this['_HTTPService'][_0x1b8854(0x3b0)](_0x14a92a,{'params':{'objectID':_0x57077a[_0x1b8854(0x43c)],'unitID':_0x57077a[_0x1b8854(0x43c)]}}))[_0x1b8854(0x342)][_0x1b8854(0x2a0)]['map'](_0x88b0f2=>({'objectId':_0x88b0f2['id'],'name':_0x88b0f2[_0x1b8854(0x30f)][_0x1b8854(0x335)],'metadata':{'icon':_0x88b0f2['subject']['avatar']},'label':_0x88b0f2['subject'][_0x1b8854(0x335)],'objectType':_0x4ba192['PERSON']})),'metadata':{},'type':_0x4ba192[_0x1b8854(0x3b8)]}]};}};Ot=Jn([ai(0x0,_0x3c3c0e(_0x4647a9)),ai(0x1,_0x3c3c0e(_0x2e87db))],Ot);var Zn=Object[_0x4a5b68(0x3f1)],Qn=(_0xd5d113,_0x1ea943,_0x1ca3fa,_0x3ec4e3)=>{var _0x29c515=_0x4a5b68;for(var _0x36c96a=_0x3ec4e3>0x1?void 0x0:_0x3ec4e3?Zn(_0x1ea943,_0x1ca3fa):_0x1ea943,_0xade1b4=_0xd5d113[_0x29c515(0x2fd)]-0x1,_0x136c77;_0xade1b4>=0x0;_0xade1b4--)(_0x136c77=_0xd5d113[_0xade1b4])&&(_0x36c96a=_0x136c77(_0x36c96a)||_0x36c96a);return _0x36c96a;},Ue=(_0xabd9d1,_0x4f1215)=>(_0x304381,_0x23edfe)=>_0x4f1215(_0x304381,_0x23edfe,_0xabd9d1);let ot=class extends _0x516120{constructor(_0x6b35d1,_0x547b00,_0x16e0e7,_0x334785,_0x2ab76a){var _0x1f7353=_0x4a5b68;super(),this[_0x1f7353(0x3a6)]=_0x6b35d1,this[_0x1f7353(0x29f)]=_0x547b00,this[_0x1f7353(0x437)]=_0x16e0e7,this[_0x1f7353(0x40f)]=_0x334785,this[_0x1f7353(0x224)]=_0x2ab76a,this['_initUnitPermissionChange'](),this[_0x1f7353(0x412)]();}['_initCloseConn'](){var _0x51544f=_0x4a5b68;const _0x30fb19=async _0x40d893=>{var _0x3b9c4d=_0x625c;(await this['_collaborationSessionService'][_0x3b9c4d(0x3a8)](_0x40d893))[_0x3b9c4d(0x314)][_0x3b9c4d(0x366)](_0x3a365b(_0x4052ba=>_0x4052ba[_0x3b9c4d(0x285)]===_0x1c3d7c[_0x3b9c4d(0x316)]),_0x3151c3(this[_0x3b9c4d(0x328)]))[_0x3b9c4d(0x407)](_0x1c158c=>{var _0x121738=_0x3b9c4d;const _0x5330b9=_0x1c158c,{reason:_0x28ee6c}=_0x5330b9[_0x121738(0x2c7)];this[_0x121738(0x224)][_0x121738(0x478)]({'id':ne['CLOSE_ROOM'],'data':_0x28ee6c}),this[_0x121738(0x437)][_0x121738(0x3c9)](new _0x243f8c(_0x40d893)['id'],!0x1),this['_collaborationSessionService'][_0x121738(0x3eb)](_0x40d893);});};_0x3957d0(this['_univerInstanceService'][_0x51544f(0x403)](_0xedbaa7['UNIVER_SHEET']),this[_0x51544f(0x29f)]['getTypeOfUnitAdded$'](_0xedbaa7['UNIVER_DOC']))[_0x51544f(0x366)](_0xf0b4c3(_0x5da413=>_0x5da413[_0x51544f(0x347)]()),_0x3a365b(_0x5d5ac5=>!_0x3c5eff(_0x5d5ac5)),_0x3151c3(this[_0x51544f(0x328)]))['subscribe'](_0x5119a5=>{_0x30fb19(_0x5119a5);});}[_0x4a5b68(0x3ad)](){var _0xe866e2=_0x4a5b68;const _0x3fd006=async _0x33e731=>{var _0x5c8693=_0x625c;const _0x11405a=await this['_collaborationSessionService'][_0x5c8693(0x3a8)](_0x33e731),_0x1c0d2f=this[_0x5c8693(0x3a6)][_0x5c8693(0x3b0)](_0x43b84b);_0x11405a[_0x5c8693(0x314)][_0x5c8693(0x366)](_0x3a365b(_0x3ce211=>_0x3ce211[_0x5c8693(0x285)]===_0x1c3d7c['UPDATE_PERMISSION_OBJ']),_0x3151c3(this[_0x5c8693(0x328)]))[_0x5c8693(0x407)](_0x9d1cd5=>{var _0x2b9396=_0x5c8693;const _0x5da903=_0x9d1cd5,{objectId:_0x17a586}=_0x5da903[_0x2b9396(0x2c7)];_0x17a586===_0x33e731?_0x1c0d2f[_0x2b9396(0x2bb)](_0x33e731):_0x1c0d2f[_0x2b9396(0x2e7)](_0x33e731,_0x17a586);});};_0x3957d0(this[_0xe866e2(0x29f)]['getTypeOfUnitAdded$'](_0xedbaa7[_0xe866e2(0x197)]))[_0xe866e2(0x366)](_0xf0b4c3(_0x455c15=>_0x455c15[_0xe866e2(0x347)]()),_0x3a365b(_0x3ceca8=>!_0x3c5eff(_0x3ceca8)),_0x3151c3(this['dispose$']))[_0xe866e2(0x407)](_0x6f0602=>{_0x3fd006(_0x6f0602);});}};ot=Qn([Ue(0x0,_0x3c3c0e(_0x1f171a)),Ue(0x1,_0x17b18c),Ue(0x2,_0x7fef79),Ue(0x3,_0x3c3c0e(Pe)),Ue(0x4,_0x3c3c0e(ve))],ot);var er=Object[_0x4a5b68(0x3f1)],tr=(_0xaff62c,_0x1c76c1,_0x17ba47,_0x1ad351)=>{for(var _0x23ac97=_0x1ad351>0x1?void 0x0:_0x1ad351?er(_0x1c76c1,_0x17ba47):_0x1c76c1,_0x2faba1=_0xaff62c['length']-0x1,_0x32cb3d;_0x2faba1>=0x0;_0x2faba1--)(_0x32cb3d=_0xaff62c[_0x2faba1])&&(_0x23ac97=_0x32cb3d(_0x23ac97)||_0x23ac97);return _0x23ac97;},oi=(_0x2ea146,_0x1932a3)=>(_0x2bb8fd,_0x378e6d)=>_0x1932a3(_0x2bb8fd,_0x378e6d,_0x2ea146);let bt=class{constructor(_0x13a9dd,_0x459c5f){var _0x482e7f=_0x4a5b68;this['_configService']=_0x13a9dd,this[_0x482e7f(0x3d7)]=_0x459c5f;}async[_0x4a5b68(0x3fb)](_0x484193,_0x3b5c37){var _0x32ae34=_0x4a5b68,_0x245234;const {unitID:_0x504190,type:_0x2e16cc,revision:_0x55775d=0x0}=_0x3b5c37,_0x26c83d=this[_0x32ae34(0x339)]()+'/'+_0x2e16cc+'/unit/'+_0x504190+_0x32ae34(0x1ca)+_0x55775d,_0x11c48b=(await this[_0x32ae34(0x3d7)][_0x32ae34(0x3b0)](_0x26c83d))[_0x32ae34(0x342)],_0x21bc15=(_0x245234=_0x11c48b['snapshot'])==null?void 0x0:_0x245234['workbook'];if(_0x21bc15){const _0x1aa99e=_0x21bc15==null?void 0x0:_0x21bc15[_0x32ae34(0x393)],_0x267899=_0x4153d9[_0x32ae34(0x251)](_0x2fc297(_0x1aa99e));_0x21bc15[_0x32ae34(0x393)]=_0x267899,Object[_0x32ae34(0x309)](_0x21bc15[_0x32ae34(0x1eb)])['forEach'](([,_0x4cfea4])=>{var _0x4067df=_0x32ae34;const _0x57a5d8=_0x4cfea4[_0x4067df(0x393)],_0x45a716=_0x4153d9['encode'](_0x2fc297(_0x57a5d8));_0x4cfea4['originalMeta']=_0x45a716;});}return _0x11c48b;}async[_0x4a5b68(0x331)](_0x3b4cbb,_0x20d38f){var _0x4cda35=_0x4a5b68;const {unitID:_0x21bad3,type:_0x5c5746,blockID:_0x598363}=_0x20d38f,_0x15aa18=this[_0x4cda35(0x20f)]()+'/'+_0x5c5746+'/unit/'+_0x21bad3+_0x4cda35(0x250)+_0x598363;return(await this[_0x4cda35(0x3d7)][_0x4cda35(0x3b0)](_0x15aa18))[_0x4cda35(0x342)];}async[_0x4a5b68(0x2bf)](_0x5de01e,_0x8260d5){var _0xd50a78=_0x4a5b68;const {unitID:_0x5434dd,type:_0x1394f8,blockID:_0x4c881d}=_0x8260d5,_0x3592ec=this[_0xd50a78(0x20f)]()+'/block/'+_0x1394f8+_0xd50a78(0x42d)+_0x5434dd+_0xd50a78(0x250)+_0x4c881d;return(await this['_httpService'][_0xd50a78(0x3b0)](_0x3592ec))[_0xd50a78(0x342)];}async[_0x4a5b68(0x48c)](_0x543ead,_0x37fc8e){var _0x625a6=_0x4a5b68;const {unitID:_0x1218c8,type:_0x9c23e,from:_0x3ae5fd,to:_0x5107cd}=_0x37fc8e,_0x556679=this['_getAPIPrefix']()+'/'+_0x9c23e+_0x625a6(0x42d)+_0x1218c8+'/fetchmissing?from='+_0x3ae5fd+_0x625a6(0x468)+_0x5107cd;return(await this[_0x625a6(0x3d7)][_0x625a6(0x3b0)](_0x556679))[_0x625a6(0x342)];}[_0x4a5b68(0x339)](){var _0x30f288=_0x4a5b68,_0x11fcc5;return(_0x11fcc5=this[_0x30f288(0x3d4)][_0x30f288(0x41e)](vs))!=null?_0x11fcc5:this[_0x30f288(0x20f)]();}[_0x4a5b68(0x20f)](){var _0x376490=_0x4a5b68,_0x304ec4;const _0x3c6757=this[_0x376490(0x3d4)]['getConfig'](K);return(_0x304ec4=_0x3c6757==null?void 0x0:_0x3c6757['snapshotServerUrl'])!=null?_0x304ec4:fs;}async[_0x4a5b68(0x1d8)](_0x41630f,_0x5ca407){var _0xe47e69=_0x4a5b68;const _0x597656=_0xe47e69(0x2f1)+_0x5ca407[_0xe47e69(0x270)]+_0xe47e69(0x42d)+_0x5ca407[_0xe47e69(0x312)]+_0xe47e69(0x193);return(await this[_0xe47e69(0x3d7)][_0xe47e69(0x3b0)](_0x597656,{'params':{'resourceId':JSON[_0xe47e69(0x44c)](_0x5ca407[_0xe47e69(0x443)])}}))[_0xe47e69(0x342)];}[_0x4a5b68(0x432)](){var _0x2ed738=_0x4a5b68;throw new Error(_0x2ed738(0x45c));}[_0x4a5b68(0x38f)](){var _0x54a995=_0x4a5b68;throw new Error(_0x54a995(0x45c));}[_0x4a5b68(0x1be)](){var _0x4fd2b1=_0x4a5b68;throw new Error(_0x4fd2b1(0x45c));}[_0x4a5b68(0x1c3)](){var _0x43f372=_0x4a5b68;throw new Error(_0x43f372(0x45c));}[_0x4a5b68(0x2ee)](){var _0x16fd59=_0x4a5b68;throw new Error(_0x16fd59(0x45c));}[_0x4a5b68(0x356)](){var _0xe5b24e=_0x4a5b68;throw new Error(_0xe5b24e(0x45c));}};bt=tr([oi(0x0,_0x4647a9),oi(0x1,_0x3c3c0e(_0x2e87db))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x489c57,_0x49df85,_0x17c7c2,_0x54c985)=>{var _0xb9abd2=_0x4a5b68;for(var _0x31d55d=_0x54c985>0x1?void 0x0:_0x54c985?ir(_0x49df85,_0x17c7c2):_0x49df85,_0x2c0d48=_0x489c57[_0xb9abd2(0x2fd)]-0x1,_0xf3253b;_0x2c0d48>=0x0;_0x2c0d48--)(_0xf3253b=_0x489c57[_0x2c0d48])&&(_0x31d55d=_0xf3253b(_0x31d55d)||_0x31d55d);return _0x31d55d;},Ae=(_0x74f7e,_0x4f3a51)=>(_0x5d074d,_0x34f9d2)=>_0x4f3a51(_0x5d074d,_0x34f9d2,_0x74f7e);let yt=class extends _0x3fda25{constructor(_0x4493b6,_0x180008,_0x8ee6b1,_0x21fe16,_0x382750){var _0x490b7c=_0x4a5b68;super(_0x4493b6,_0x180008,_0x8ee6b1),this['_transformService']=_0x21fe16,this[_0x490b7c(0x30d)]=_0x382750;}['transformUndoRedo'](_0xdfda61,_0x15afdf){var _0xe27f98=_0x4a5b68;const _0x43f4f0=this[_0xe27f98(0x281)](_0xdfda61);if(_0x43f4f0)try{const _0x6c950a=this[_0xe27f98(0x375)](_0x43f4f0,_0x15afdf);this[_0xe27f98(0x1d5)](_0xdfda61,_0x6c950a);}catch(_0x48308a){this[_0xe27f98(0x30d)]['error'](_0xe27f98(0x22f),_0x48308a),this[_0xe27f98(0x32a)](_0xdfda61);}const _0x1251c0=this[_0xe27f98(0x3f6)](_0xdfda61);if(_0x1251c0)try{const _0x42a3b1=this[_0xe27f98(0x375)](_0x1251c0,_0x15afdf);this[_0xe27f98(0x45f)](_0xdfda61,_0x42a3b1);}catch(_0x5b1c94){this[_0xe27f98(0x30d)][_0xe27f98(0x3ba)](_0x5b1c94),this[_0xe27f98(0x481)](_0xdfda61);}}['_clearUndo'](_0x748ac2){var _0x1b9a58=_0x4a5b68;const _0x50d9ab=this[_0x1b9a58(0x281)](_0x748ac2);_0x50d9ab&&(_0x50d9ab['length']=0x0,this[_0x1b9a58(0x1f6)]());}[_0x4a5b68(0x481)](_0x1c0226){var _0x27b92a=_0x4a5b68;const _0x1b49c4=this[_0x27b92a(0x3f6)](_0x1c0226);_0x1b49c4&&(_0x1b49c4[_0x27b92a(0x2fd)]=0x0,this[_0x27b92a(0x1f6)]());}[_0x4a5b68(0x1d5)](_0x326568,_0x320cd6){var _0x38339d=_0x4a5b68;this[_0x38339d(0x1af)][_0x38339d(0x3a3)](_0x326568,_0x320cd6),this[_0x38339d(0x1f6)]();}[_0x4a5b68(0x45f)](_0x1ec914,_0x21fd85){var _0xc49921=_0x4a5b68;this[_0xc49921(0x3d6)][_0xc49921(0x3a3)](_0x1ec914,_0x21fd85),this[_0xc49921(0x1f6)]();}[_0x4a5b68(0x375)](_0x2e9e09,_0x23f90c){var _0x9487c7=_0x4a5b68;const _0x381809=[];let _0x578637=_0x23f90c,_0x177317=_0x23f90c;for(let _0x268b0a=_0x2e9e09[_0x9487c7(0x2fd)]-0x1;_0x268b0a>=0x0;_0x268b0a--){const {unitID:_0x2883d8,undoMutations:_0x15eecc,redoMutations:_0x1bfd08}=_0x2e9e09[_0x268b0a],_0x159bdb=this[_0x9487c7(0x39e)][_0x9487c7(0x1d1)](_0x578637,_0x15eecc),_0x2ec1a8=this['_transformService']['transformMutationsWithChangeset'](_0x177317,_0x1bfd08);if(_0x3ae0d0(_0x159bdb)||_0x3ae0d0(_0x2ec1a8)){this[_0x9487c7(0x30d)][_0x9487c7(0x3ba)](_0x9487c7(0x22f),'transformStack\x20failed!',_0x159bdb,_0x2ec1a8);break;}_0x578637=_0x159bdb[_0x9487c7(0x453)],_0x177317=_0x2ec1a8['c1Prime'],_0x381809[_0x9487c7(0x222)]({'unitID':_0x2883d8,'undoMutations':_0x159bdb[_0x9487c7(0x20b)],'redoMutations':_0x2ec1a8[_0x9487c7(0x20b)]});}return _0x381809[_0x9487c7(0x358)]();}};yt=sr([Ae(0x0,_0x17b18c),Ae(0x1,_0x27b315),Ae(0x2,_0x1294b7),Ae(0x3,_0x1100d1),Ae(0x4,_0x2ab23b)],yt);var nr=Object[_0x4a5b68(0x1c5)],rr=Object[_0x4a5b68(0x3f1)],ar=(_0x42545f,_0x9b98c6,_0x4e39d4)=>_0x9b98c6 in _0x42545f?nr(_0x42545f,_0x9b98c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e39d4}):_0x42545f[_0x9b98c6]=_0x4e39d4,or=(_0x4a943c,_0x58c88b,_0x197483,_0x183551)=>{var _0x3df16a=_0x4a5b68;for(var _0x2c85cf=_0x183551>0x1?void 0x0:_0x183551?rr(_0x58c88b,_0x197483):_0x58c88b,_0x229df4=_0x4a943c[_0x3df16a(0x2fd)]-0x1,_0x5853d3;_0x229df4>=0x0;_0x229df4--)(_0x5853d3=_0x4a943c[_0x229df4])&&(_0x2c85cf=_0x5853d3(_0x2c85cf)||_0x2c85cf);return _0x2c85cf;},mt=(_0x24ea45,_0x2731d9)=>(_0xeec171,_0x45ed82)=>_0x2731d9(_0xeec171,_0x45ed82,_0x24ea45),cr=(_0xa53d86,_0x129ebe,_0xa8e75f)=>ar(_0xa53d86,_0x129ebe+'',_0xa8e75f);const hr=_0x4a5b68(0x243);let Nt=class extends _0x3cec3b{constructor(_0x2fe17e,_0xdad97d,_0x168ece,_0x106bb0){var _0x173997=_0x4a5b68;super(),N(this,'_config'),(this[_0x173997(0x30d)]=_0xdad97d,this['_injector']=_0x168ece,this[_0x173997(0x3d4)]=_0x106bb0);const {..._0x42f554}=_0x13d736({},Ls,_0x2fe17e);if(!_0x42f554['socketService'])throw new Error(_0x173997(0x414));this[_0x173997(0x21b)]=_0x42f554,this[_0x173997(0x3d4)][_0x173997(0x2ea)](K,_0x42f554);}[_0x4a5b68(0x466)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x4a5b68(0x25c)](){var _0x2de279=_0x4a5b68,_0x7175fa,_0x434622;this[_0x2de279(0x3a6)][_0x2de279(0x19b)](_0x58418c)&&this[_0x2de279(0x30d)][_0x2de279(0x3ba)](_0x2de279(0x380),_0x2de279(0x247));const _0x498020=_0x1cac35([[_0x58418c,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x2de279(0x21b)][_0x2de279(0x307)]}],[_0x254a7c,{'useClass':bt}],[_0x33a818,{'useClass':Tt}],[_0x1fe41e,{'useClass':Rt}],[_0x88472e,{'useClass':Ot}],[nt],[It]],(_0x7175fa=this[_0x2de279(0x21b)])==null?void 0x0:_0x7175fa[_0x2de279(0x3bb)]);if(!((_0x434622=this[_0x2de279(0x21b)])!=null&&_0x434622['enableSingleActiveInstanceLock'])){const _0x147377=_0x498020[_0x2de279(0x2f4)](([_0x37c62c])=>_0x37c62c===ht);_0x147377!==-0x1&&_0x498020[_0x2de279(0x1f1)](_0x147377,0x1);}_0xd2ad20(this[_0x2de279(0x3a6)],_0x498020);}[_0x4a5b68(0x340)](){var _0x46c4d2=_0x4a5b68,_0x2c6ed3,_0x3d5e4f,_0x1bb2f4;this['_injector'][_0x46c4d2(0x3b0)](_0x2e87db)[_0x46c4d2(0x450)]({'priority':0x14,'interceptor':_0x460f4b({'maxParallel':0x6})}),(_0x2c6ed3=this[_0x46c4d2(0x21b)])!=null&&_0x2c6ed3['enableOfflineEditing']||(_0x3d5e4f=this[_0x46c4d2(0x3a6)][_0x46c4d2(0x3b0)](J,_0x2e16d4['OPTIONAL']))==null||_0x3d5e4f[_0x46c4d2(0x2fc)](),(_0x1bb2f4=this['_config'])!=null&&_0x1bb2f4['enableAuthServer']&&_0x2ee797(this[_0x46c4d2(0x3a6)],[[rt]]),_0x2ee797(this[_0x46c4d2(0x3a6)],[[at],[nt],[ot]]);}};cr(Nt,_0x4a5b68(0x287),hr),Nt=or([_0x372abb(_0x474421,_0xf7f136),mt(0x1,_0x2ab23b),mt(0x2,_0x3c3c0e(_0x1f171a)),mt(0x3,_0x4647a9)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|
1
|
+
var _0x444a1b=_0x4432;(function(_0x3b2721,_0x104a05){var _0x33d226=_0x4432,_0x18917a=_0x3b2721();while(!![]){try{var _0x11b3ac=parseInt(_0x33d226(0x3bc))/0x1*(parseInt(_0x33d226(0x2c7))/0x2)+parseInt(_0x33d226(0x2a8))/0x3*(parseInt(_0x33d226(0x352))/0x4)+-parseInt(_0x33d226(0x1a4))/0x5*(parseInt(_0x33d226(0x362))/0x6)+-parseInt(_0x33d226(0x2dc))/0x7*(-parseInt(_0x33d226(0x14d))/0x8)+parseInt(_0x33d226(0x2c2))/0x9*(parseInt(_0x33d226(0x454))/0xa)+-parseInt(_0x33d226(0x3d4))/0xb*(parseInt(_0x33d226(0x1f0))/0xc)+parseInt(_0x33d226(0x236))/0xd;if(_0x11b3ac===_0x104a05)break;else _0x18917a['push'](_0x18917a['shift']());}catch(_0x49229d){_0x18917a['push'](_0x18917a['shift']());}}}(_0xa654,0xe208d));var yi=Object[_0x444a1b(0x3fc)],Ni=(_0x150e54,_0x538003,_0x4c7b80)=>_0x538003 in _0x150e54?yi(_0x150e54,_0x538003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c7b80}):_0x150e54[_0x538003]=_0x4c7b80,N=(_0x5db5e0,_0x3ac3be,_0x1062e4)=>Ni(_0x5db5e0,typeof _0x3ac3be!=_0x444a1b(0x372)?_0x3ac3be+'':_0x3ac3be,_0x1062e4);import{CollaborationEvent as _0x54c106,ITransformService as _0x1aefb4,isTransformMutationsWithChangesetSuccess as _0x9be3d3,mapDocumentTypeToUniverType as _0x21c37c,RevisionService as _0x2e8c7c,isTransformChangesetsSuccess as _0x4fe543,CompressMutationService as _0x3ba705,parseProtocolChangeset as _0x4fbdb8,uuidv4 as _0x9597d,ISnapshotServerService as _0x4d287d,parseChangesetToProtocol as _0x534888,SnapshotService as _0x443f20,textEncoder as _0x40bb3c,b64DecodeUnicode as _0x4234aa,isTransformMutationsWithChangesetFailure as _0x2cd89b,UniverCollaborationPlugin as _0x1de9bf}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x4b228a,Inject as _0x4c9835,UserManagerService as _0x2b34ae,Disposable as _0x53ec80,UniverInstanceType as _0x353667,ILogService as _0x241343,IConfigService as _0x3f29b9,Optional as _0x3c34a2,RxDisposable as _0x4b9da9,createIdentifier as _0x4aa3de,Injector as _0x23d06e,Tools as _0x5a9209,Rectangle as _0x8c4bc8,ICommandService as _0x4d4c1c,JSONX as _0x44dcc2,CommandType as _0x4abcaf,IUndoRedoService as _0x5e1044,IPermissionService as _0x392f08,LocaleService as _0x5ba7f8,sequenceExecute as _0x4259a2,toDisposable as _0x184565,DisposableCollection as _0x2791b7,Workbook as _0x40d143,generateRandomId as _0x4622c4,MentionType as _0x52c000,isInternalEditorID as _0x155e1c,LocalUndoRedoService as _0x540504,IContextService as _0x3014e0,DependentOn as _0x55f500,Plugin as _0x2d8419,merge as _0x37ce61,mergeOverrideWithDependencies as _0x260db8,IAuthzIoService as _0x5031d1,IMentionIOService as _0x5f6075,registerDependencies as _0x1d7cf0,Quantity as _0x25ff3b,touchDependencies as _0x4a5b38}from'@univerjs/core';import{RichTextEditingMutation as _0x4c1fc9}from'@univerjs/docs';import{SheetsSelectionsService as _0x803d11,SetSelectionsOperation as _0x5bd9e1,InsertSheetMutation as _0x5a33d1,EmptyMutation as _0x179930,WorkbookEditablePermission as _0x32a2ab,SheetPermissionInitController as _0x8dd00c}from'@univerjs/sheets';import{Subject as _0x3f9e9d,merge as _0x5a7b6a,of as _0x40f144,BehaviorSubject as _0x38c4c7,takeUntil as _0x3c8056,ReplaySubject as _0x598d3a,take as _0x344ae7,map as _0x57365c,shareReplay as _0x2af67c,firstValueFrom as _0x51d433,concatMap as _0x5d88fd}from'rxjs';import{ITelemetryService as _0x479cf8}from'@univerjs/telemetry';import{map as _0x3b39dc,take as _0x220a03,filter as _0x9c7bf3,delay as _0x365967,takeUntil as _0x541b95}from'rxjs/operators';import{HTTPService as _0x456bb1,ISocketService as _0x2058b3,MergeInterceptorFactory as _0x5d072f,HTTPRequest as _0x2fd0ef,UniverNetworkPlugin as _0x276210,ThresholdInterceptorFactory as _0x2baaf}from'@univerjs/network';import{ImageSourceType as _0x4def5a,ImageUploadStatusType as _0x39962c,IImageIoService as _0x68a5d6}from'@univerjs/drawing';import{getGlobalObject as _0x48e7f4}from'@univerjs-pro/license';const fs=_0x444a1b(0x3b0),vs=_0x444a1b(0x18b),ps=0x7d0,ms=_0x444a1b(0x1fb),Ir=_0x444a1b(0x181),gs=_0x444a1b(0x399),Ss=0x7530,di=_0x444a1b(0x234),fi=0x4e20,Es=0x4e20,Is=_0x444a1b(0x445),Ts=0x3,Tr=_0x444a1b(0x3d3),Cr=0x3e8,Cs=_0x444a1b(0x267),Rs='/universer-api/oidc/authpage',Rr=_0x444a1b(0x414),Or='/universer-api/uniscript';var vi=(_0x17a52d=>(_0x17a52d[_0x17a52d[_0x444a1b(0x421)]=0x0]='UNDEFINED',_0x17a52d[_0x17a52d['OK']=0x1]='OK',_0x17a52d[_0x17a52d[_0x444a1b(0x3d0)]=0x2]='INTERNAL_ERROR',_0x17a52d[_0x17a52d['PERMISSION_DENIED']=0x3]=_0x444a1b(0x3c3),_0x17a52d[_0x17a52d[_0x444a1b(0x256)]=0x4]=_0x444a1b(0x256),_0x17a52d[_0x17a52d[_0x444a1b(0x455)]=0x5]='UNAUTHENTICATED',_0x17a52d[_0x17a52d[_0x444a1b(0x269)]=0x6]=_0x444a1b(0x269),_0x17a52d[_0x17a52d[_0x444a1b(0x380)]=0x7]=_0x444a1b(0x380),_0x17a52d[_0x17a52d[_0x444a1b(0x293)]=0x8]=_0x444a1b(0x293),_0x17a52d[_0x17a52d['COMPLETION_FINISHED']=0x9]=_0x444a1b(0x44c),_0x17a52d[_0x17a52d[_0x444a1b(0x41e)]=0xa]='LOGIN_FAILED',_0x17a52d[_0x17a52d[_0x444a1b(0x15c)]=0xb]=_0x444a1b(0x15c),_0x17a52d[_0x17a52d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x444a1b(0x3b3),_0x17a52d[_0x17a52d[_0x444a1b(0x3ef)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x17a52d[_0x17a52d[_0x444a1b(0x310)]=0xe]=_0x444a1b(0x310),_0x17a52d[_0x17a52d[_0x444a1b(0x1fd)]=0x1389]=_0x444a1b(0x1fd),_0x17a52d[_0x17a52d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x444a1b(0x19b),_0x17a52d[_0x17a52d[_0x444a1b(0x17d)]=0x1772]=_0x444a1b(0x17d),_0x17a52d[_0x17a52d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x444a1b(0x374),_0x17a52d[_0x17a52d[_0x444a1b(0x424)]=0x1b59]=_0x444a1b(0x424),_0x17a52d[_0x17a52d[_0x444a1b(0x1f9)]=0x1b5a]=_0x444a1b(0x1f9),_0x17a52d[_0x17a52d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x444a1b(0x17e),_0x17a52d[_0x17a52d[_0x444a1b(0x3b6)]=0x1b5c]=_0x444a1b(0x3b6),_0x17a52d[_0x17a52d[_0x444a1b(0x1e3)]=0x1b5d]='APPLY_DUPLICATED',_0x17a52d[_0x17a52d[_0x444a1b(0x3c6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17a52d[_0x17a52d[_0x444a1b(0x319)]=0x2329]=_0x444a1b(0x319),_0x17a52d[_0x17a52d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x444a1b(0x2ff),_0x17a52d[_0x17a52d[_0x444a1b(0x3c2)]=0x232b]=_0x444a1b(0x3c2),_0x17a52d[_0x17a52d[_0x444a1b(0x3c9)]=0x232c]=_0x444a1b(0x3c9),_0x17a52d[_0x17a52d[_0x444a1b(0x1ba)]=0x232d]=_0x444a1b(0x1ba),_0x17a52d[_0x17a52d[_0x444a1b(0x3f4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x17a52d[_0x17a52d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x17a52d[_0x17a52d[_0x444a1b(0x331)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x17a52d[_0x17a52d[_0x444a1b(0x44e)]=0x2714]=_0x444a1b(0x44e),_0x17a52d[_0x17a52d[_0x444a1b(0x1ed)]=0x271a]=_0x444a1b(0x1ed),_0x17a52d[_0x17a52d[_0x444a1b(0x3f2)]=0x271b]=_0x444a1b(0x3f2),_0x17a52d[_0x17a52d[_0x444a1b(0x21e)]=0x271c]=_0x444a1b(0x21e),_0x17a52d[_0x17a52d['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x444a1b(0x34c),_0x17a52d[_0x17a52d['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x444a1b(0x1b9),_0x17a52d[_0x17a52d[_0x444a1b(0x1e0)]=0x271f]=_0x444a1b(0x1e0),_0x17a52d[_0x17a52d[_0x444a1b(0x1a8)]=0x2720]=_0x444a1b(0x1a8),_0x17a52d[_0x17a52d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x17a52d[_0x17a52d[_0x444a1b(0x32e)]=0x2ee1]=_0x444a1b(0x32e),_0x17a52d[_0x17a52d[_0x444a1b(0x2e2)]=0x2ee2]='INVALID_INVITE_CODE',_0x17a52d[_0x17a52d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x444a1b(0x17b),_0x17a52d[_0x17a52d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x444a1b(0x401),_0x17a52d[_0x17a52d[_0x444a1b(0x38c)]=0x2ee5]=_0x444a1b(0x38c),_0x17a52d[_0x17a52d['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x444a1b(0x37b),_0x17a52d[_0x17a52d[_0x444a1b(0x223)]=0x32ca]=_0x444a1b(0x223),_0x17a52d[_0x17a52d[_0x444a1b(0x199)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x17a52d[_0x17a52d[_0x444a1b(0x2b2)]=-0x1]=_0x444a1b(0x2b2),_0x17a52d))(vi||{}),Z=(_0x16b8ce=>(_0x16b8ce[_0x16b8ce[_0x444a1b(0x158)]=0x0]=_0x444a1b(0x158),_0x16b8ce[_0x16b8ce[_0x444a1b(0x280)]=0x1]=_0x444a1b(0x280),_0x16b8ce[_0x16b8ce[_0x444a1b(0x2f0)]=0x2]=_0x444a1b(0x2f0),_0x16b8ce[_0x16b8ce['UNIVER_SLIDE']=0x3]=_0x444a1b(0x257),_0x16b8ce[_0x16b8ce['UNIVER_PROJECT']=0x4]=_0x444a1b(0x3a5),_0x16b8ce[_0x16b8ce[_0x444a1b(0x2b2)]=-0x1]=_0x444a1b(0x2b2),_0x16b8ce))(Z||{}),F=(_0x53919a=>(_0x53919a[_0x53919a['UNKNOWN_CMD']=0x0]=_0x444a1b(0x41f),_0x53919a[_0x53919a[_0x444a1b(0x16e)]=0x1]=_0x444a1b(0x16e),_0x53919a[_0x53919a[_0x444a1b(0x2c1)]=0x2]=_0x444a1b(0x2c1),_0x53919a[_0x53919a[_0x444a1b(0x349)]=0x3]='LEAVE',_0x53919a[_0x53919a['INGEST']=0x4]='INGEST',_0x53919a[_0x53919a[_0x444a1b(0x190)]=0x5]=_0x444a1b(0x190),_0x53919a[_0x53919a[_0x444a1b(0x39e)]=0x6]=_0x444a1b(0x39e),_0x53919a[_0x53919a[_0x444a1b(0x2b2)]=-0x1]=_0x444a1b(0x2b2),_0x53919a))(F||{}),pe=(_0x4aa0a5=>(_0x4aa0a5[_0x4aa0a5[_0x444a1b(0x2de)]=0x0]=_0x444a1b(0x2de),_0x4aa0a5[_0x4aa0a5['OK']=0x1]='OK',_0x4aa0a5[_0x4aa0a5['FAIL']=0x2]=_0x444a1b(0x2e5),_0x4aa0a5[_0x4aa0a5[_0x444a1b(0x2d5)]=0x3e9]=_0x444a1b(0x2d5),_0x4aa0a5[_0x4aa0a5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x444a1b(0x25b),_0x4aa0a5[_0x4aa0a5[_0x444a1b(0x453)]=0x3eb]=_0x444a1b(0x453),_0x4aa0a5[_0x4aa0a5[_0x444a1b(0x17f)]=0x3ec]=_0x444a1b(0x17f),_0x4aa0a5[_0x4aa0a5[_0x444a1b(0x2b2)]=-0x1]=_0x444a1b(0x2b2),_0x4aa0a5))(pe||{}),pi=(_0x423dfd=>(_0x423dfd[_0x423dfd[_0x444a1b(0x3f1)]=0x0]=_0x444a1b(0x3f1),_0x423dfd[_0x423dfd[_0x444a1b(0x381)]=0x1]='HttpImport',_0x423dfd[_0x423dfd[_0x444a1b(0x152)]=0x2]=_0x444a1b(0x152),_0x423dfd[_0x423dfd['UnitEmbedded']=0x3]=_0x444a1b(0x39a),_0x423dfd[_0x423dfd[_0x444a1b(0x358)]=0x4]=_0x444a1b(0x358),_0x423dfd[_0x423dfd['UserProfileImg']=0x5]=_0x444a1b(0x250),_0x423dfd[_0x423dfd[_0x444a1b(0x2b2)]=-0x1]=_0x444a1b(0x2b2),_0x423dfd))(pi||{});const Os='collaboration_new_changeset';function bs(_0x5dbe24){var _0x4903b9=_0x444a1b;return JSON[_0x4903b9(0x383)](_0x5dbe24)[_0x4903b9(0x2a3)];}var ne=(_0x4b5555=>(_0x4b5555[_0x444a1b(0x388)]=_0x444a1b(0x388),_0x4b5555[_0x444a1b(0x3c3)]=_0x444a1b(0x3c3),_0x4b5555[_0x444a1b(0x3b2)]=_0x444a1b(0x3b2),_0x4b5555[_0x444a1b(0x3e9)]=_0x444a1b(0x3e9),_0x4b5555[_0x444a1b(0x2fa)]=_0x444a1b(0x2fa),_0x4b5555['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x4b5555[_0x444a1b(0x150)]=_0x444a1b(0x150),_0x4b5555[_0x444a1b(0x15a)]=_0x444a1b(0x15a),_0x4b5555))(ne||{});class ve{constructor(){var _0x586c23=_0x444a1b;N(this,_0x586c23(0x348),new _0x3f9e9d()),N(this,_0x586c23(0x26e),this[_0x586c23(0x348)][_0x586c23(0x291)]());}[_0x444a1b(0x169)](_0x3ed80b){var _0x4bdc92=_0x444a1b;this[_0x4bdc92(0x348)][_0x4bdc92(0x3f6)](_0x3ed80b);}}class mi{constructor(){var _0x3a2e9b=_0x444a1b;N(this,'_commentUpdate$',new _0x3f9e9d()),N(this,_0x3a2e9b(0x339),this[_0x3a2e9b(0x396)][_0x3a2e9b(0x291)]());}['onCommentUpdate'](_0x488c9f){var _0x120d22=_0x444a1b;this[_0x120d22(0x396)][_0x120d22(0x3f6)](_0x488c9f);}}var ys=Object[_0x444a1b(0x30c)],Ns=(_0x36069c,_0x500112,_0x1a3b0b,_0x1c522b)=>{var _0x170ec1=_0x444a1b;for(var _0x4cd2b2=_0x1c522b>0x1?void 0x0:_0x1c522b?ys(_0x500112,_0x1a3b0b):_0x500112,_0x442afe=_0x36069c[_0x170ec1(0x2a3)]-0x1,_0x32671c;_0x442afe>=0x0;_0x442afe--)(_0x32671c=_0x36069c[_0x442afe])&&(_0x4cd2b2=_0x32671c(_0x4cd2b2)||_0x4cd2b2);return _0x4cd2b2;},Ft=(_0x3b702d,_0x1a8d6e)=>(_0x34e0dd,_0x21e078)=>_0x1a8d6e(_0x34e0dd,_0x21e078,_0x3b702d);let we=class extends _0x53ec80{constructor(_0x5a69dc,_0x334d6d){var _0x9ff6a2=_0x444a1b;super(),N(this,_0x9ff6a2(0x1a1),new Map()),N(this,'_roomCreated$',new _0x3f9e9d()),(this[_0x9ff6a2(0x1cb)]=_0x5a69dc,this['_userManagerService']=_0x334d6d,this[_0x9ff6a2(0x301)](_0x5a7b6a(this[_0x9ff6a2(0x1cb)][_0x9ff6a2(0x2d7)](_0x353667[_0x9ff6a2(0x2f0)])[_0x9ff6a2(0x332)](_0x3b39dc(_0x4e9ed5=>_0x4e9ed5[_0x9ff6a2(0x3cd)]())),this[_0x9ff6a2(0x1cb)][_0x9ff6a2(0x2d7)](_0x353667[_0x9ff6a2(0x280)])['pipe'](_0x3b39dc(_0x5a239b=>_0x5a239b[_0x9ff6a2(0x3cd)]())),this[_0x9ff6a2(0x1cb)]['getTypeOfUnitDisposed$'](_0x353667[_0x9ff6a2(0x257)])['pipe'](_0x3b39dc(_0x57ddcb=>_0x57ddcb['getUnitId']())))[_0x9ff6a2(0x24d)](_0xd2ca54=>this['_removeRoom'](_0xd2ca54))));}[_0x444a1b(0x2b6)](_0x2f3387){var _0x3a1a66=_0x444a1b;return this[_0x3a1a66(0x1a1)]['has'](_0x2f3387)?_0x40f144(this[_0x3a1a66(0x1a1)][_0x3a1a66(0x433)](_0x2f3387)):this[_0x3a1a66(0x198)][_0x3a1a66(0x332)](_0x3b39dc(_0x291846=>{var _0x3c1efd=_0x3a1a66;if(_0x291846===_0x2f3387)return this['_roomMembers'][_0x3c1efd(0x433)](_0x291846);}));}['setCurrentUser'](_0xa84a78){var _0x48fa21=_0x444a1b;this[_0x48fa21(0x2b7)]['setCurrentUser'](_0xa84a78);}['getCurrentUser'](){var _0x22a0a8=_0x444a1b;return this[_0x22a0a8(0x2b7)][_0x22a0a8(0x41c)]();}['updateMember'](_0x4c2cab,_0x47a492){var _0x5808be=_0x444a1b;let _0xf65db5=this[_0x5808be(0x1a1)][_0x5808be(0x433)](_0x4c2cab);_0xf65db5||(_0xf65db5=new Ds(),this[_0x5808be(0x1a1)][_0x5808be(0x284)](_0x4c2cab,_0xf65db5),this['_roomCreated$']['next'](_0x4c2cab)),_0xf65db5[_0x5808be(0x214)](_0x47a492);}[_0x444a1b(0x420)](_0x2c0d1f,_0x2a63f4){var _0x107631=_0x444a1b;const _0x96941=this[_0x107631(0x1a1)][_0x107631(0x433)](_0x2c0d1f);_0x96941&&_0x96941[_0x107631(0x420)](_0x2a63f4);}[_0x444a1b(0x1b0)](_0xa01106){var _0x3dba0c=_0x444a1b;return this[_0x3dba0c(0x1a1)][_0x3dba0c(0x433)](_0xa01106);}['getMember'](_0x4e214d,_0x4c8c94){var _0x527dc8=_0x444a1b;const _0x3cf4b4=this[_0x527dc8(0x1a1)]['get'](_0x4e214d);if(_0x3cf4b4)return _0x3cf4b4[_0x527dc8(0x270)](_0x4c8c94);}[_0x444a1b(0x3eb)](_0x44fa37){var _0x5ec4ae=_0x444a1b;const _0x426d81=this['_roomMembers'][_0x5ec4ae(0x433)](_0x44fa37);_0x426d81&&(_0x426d81[_0x5ec4ae(0x30e)](),this['_roomMembers'][_0x5ec4ae(0x44d)](_0x44fa37));}[_0x444a1b(0x30e)](){var _0x594e68=_0x444a1b;this[_0x594e68(0x1a1)][_0x594e68(0x24c)](_0x1903ca=>_0x1903ca[_0x594e68(0x30e)]()),this[_0x594e68(0x1a1)]['clear'](),this[_0x594e68(0x198)][_0x594e68(0x438)]();}};we=Ns([Ft(0x0,_0x4b228a),Ft(0x1,_0x4c9835(_0x2b34ae))],we);class Ds extends _0x53ec80{constructor(){var _0x1db4c3=_0x444a1b;super(...arguments),N(this,_0x1db4c3(0x410),new Map()),N(this,'_members$',new _0x38c4c7(this['_members'])),N(this,_0x1db4c3(0x37d),this[_0x1db4c3(0x235)][_0x1db4c3(0x291)]());}[_0x444a1b(0x30e)](){var _0x8c332=_0x444a1b;this[_0x8c332(0x410)]['clear']();}[_0x444a1b(0x214)](_0x4704a1){var _0x32d425=_0x444a1b;this[_0x32d425(0x410)][_0x32d425(0x284)](_0x4704a1['memberID'],_0x4704a1),this[_0x32d425(0x3be)]();}[_0x444a1b(0x420)](_0x594d4b){var _0x2a8da0=_0x444a1b;this[_0x2a8da0(0x410)][_0x2a8da0(0x44d)](_0x594d4b);}[_0x444a1b(0x270)](_0x1e239c){var _0x550551=_0x444a1b;return this[_0x550551(0x410)][_0x550551(0x433)](_0x1e239c);}[_0x444a1b(0x408)](){var _0x7be55=_0x444a1b;return Array['from'](this['_members'][_0x7be55(0x3ea)]());}[_0x444a1b(0x3be)](){var _0x2d0395=_0x444a1b;this[_0x2d0395(0x235)][_0x2d0395(0x3f6)](this[_0x2d0395(0x410)]);}}var Us=Object[_0x444a1b(0x30c)],As=(_0x2f2826,_0x2a530e,_0x2b9063,_0xfc4cd1)=>{for(var _0x202617=_0xfc4cd1>0x1?void 0x0:_0xfc4cd1?Us(_0x2a530e,_0x2b9063):_0x2a530e,_0x478886=_0x2f2826['length']-0x1,_0x70e458;_0x478886>=0x0;_0x478886--)(_0x70e458=_0x2f2826[_0x478886])&&(_0x202617=_0x70e458(_0x202617)||_0x202617);return _0x202617;},Ce=(_0x2282f5,_0x56583e)=>(_0x97b85a,_0x2688a6)=>_0x56583e(_0x97b85a,_0x2688a6,_0x2282f5),ge=(_0x17889f=>(_0x17889f[_0x17889f['IDLE']=0x0]=_0x444a1b(0x31f),_0x17889f[_0x17889f[_0x444a1b(0x241)]=0x1]=_0x444a1b(0x241),_0x17889f[_0x17889f[_0x444a1b(0x35f)]=0x2]=_0x444a1b(0x35f),_0x17889f[_0x17889f[_0x444a1b(0x228)]=0x3]=_0x444a1b(0x228),_0x17889f))(ge||{});const Vt={[pe[_0x444a1b(0x2e5)]]:_0x444a1b(0x1b8),[pe[_0x444a1b(0x2d5)]]:_0x444a1b(0x155),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x444a1b(0x335),[pe[_0x444a1b(0x453)]]:_0x444a1b(0x248),[pe[_0x444a1b(0x17f)]]:_0x444a1b(0x2f2)};let gt=class extends _0x4b9da9{constructor(_0x42e3c1,_0x3e7d52,_0x1441fa,_0x162a75,_0x2b50e4,_0x4eeef7,_0xf03fec,_0x3c317a){var _0x1c10b3=_0x444a1b;super(),N(this,_0x1c10b3(0x366),new _0x38c4c7(0x0)),N(this,_0x1c10b3(0x40c),this[_0x1c10b3(0x366)][_0x1c10b3(0x291)]()),N(this,'_event$',new _0x3f9e9d()),N(this,'event$',this[_0x1c10b3(0x348)][_0x1c10b3(0x291)]()),N(this,_0x1c10b3(0x28d)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x1c10b3(0x31e),!0x1),N(this,_0x1c10b3(0x345),null),(this[_0x1c10b3(0x2c3)]=_0x42e3c1,this['_logService']=_0x1441fa,this[_0x1c10b3(0x2cc)]=_0x162a75,this[_0x1c10b3(0x1d4)]=_0x2b50e4,this['_commentService']=_0x4eeef7,this[_0x1c10b3(0x3e5)]=_0xf03fec,this[_0x1c10b3(0x3ad)]=_0x3c317a,this[_0x1c10b3(0x31e)]=!!this['_telemetryService'],_0x3e7d52[_0x1c10b3(0x332)](_0x3c8056(this['dispose$']))[_0x1c10b3(0x24d)](_0x4e2d8e=>{var _0x475b4f=_0x1c10b3,_0x448ff6;typeof _0x4e2d8e>'u'||(this[_0x475b4f(0x28d)]=_0x4e2d8e,_0x4e2d8e?(this[_0x475b4f(0x411)](_0x4e2d8e),this[_0x475b4f(0x393)]=_0x4e2d8e[_0x475b4f(0x287)][_0x475b4f(0x24d)](_0x5b13b3=>{var _0x3502e1=_0x475b4f;_0x5b13b3['routeKey']===this[_0x3502e1(0x2c3)]&&this[_0x3502e1(0x38d)](_0x5b13b3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x475b4f(0x366)]['next'](0x2),(_0x448ff6=this[_0x475b4f(0x393)])==null||_0x448ff6['unsubscribe'](),this[_0x475b4f(0x393)]=null));}));}get['sessionStatus'](){var _0x43379b=_0x444a1b;return this[_0x43379b(0x366)][_0x43379b(0x2dd)]();}['getMemberID'](){var _0x32dabe=_0x444a1b,_0x12aa94,_0x57b63f;return(_0x57b63f=(_0x12aa94=this[_0x32dabe(0x28d)])==null?void 0x0:_0x12aa94['memberID'])!=null?_0x57b63f:null;}[_0x444a1b(0x30e)](){var _0xeea8db=_0x444a1b;super[_0xeea8db(0x30e)](),this['dispose$'][_0xeea8db(0x3f6)](),this['dispose$'][_0xeea8db(0x438)]();}[_0x444a1b(0x1d3)](){var _0x303549=_0x444a1b,_0x368dcb,_0x2a3823;this[_0x303549(0x1af)](),(_0x368dcb=this['_socket'])==null||_0x368dcb['send']({'cmd':F[_0x303549(0x349)],'data':{'roomID':this['_unitID']}}),(_0x2a3823=this[_0x303549(0x28d)])==null||_0x2a3823[_0x303549(0x1d3)](),this['_event$'][_0x303549(0x438)](),this[_0x303549(0x366)][_0x303549(0x438)](),this[_0x303549(0x30e)]();}[_0x444a1b(0x38d)](_0xd19427){var _0x561b92=_0x444a1b;_0xd19427[_0x561b92(0x19d)]===F[_0x561b92(0x2c1)]?this[_0x561b92(0x3e3)](_0xd19427):_0xd19427['cmd']===F[_0x561b92(0x39e)]&&this[_0x561b92(0x1b5)](_0xd19427);}[_0x444a1b(0x411)](_0xa622cd){var _0x49b090=_0x444a1b;this[_0x49b090(0x366)][_0x49b090(0x3f6)](0x1),_0xa622cd[_0x49b090(0x1b6)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x49b090(0x2c3)]}]}});}[_0x444a1b(0x3e3)](_0x274624){var _0x1f2177=_0x444a1b,_0x104d30;if(_0x274624['code']in Vt){this[_0x1f2177(0x3e5)][_0x1f2177(0x169)]({'id':ne[_0x1f2177(0x2fa)],'data':Vt[_0x274624[_0x1f2177(0x34b)]]}),this[_0x1f2177(0x366)][_0x1f2177(0x3f6)](0x2);return;}this['_sessionStatus$'][_0x1f2177(0x3f6)](0x3);const _0x3f795f=(_0x104d30=_0x274624[_0x1f2177(0x370)][_0x1f2177(0x436)][this['_unitID']])==null?void 0x0:_0x104d30[_0x1f2177(0x3d6)];_0x3f795f&&_0x3f795f[_0x1f2177(0x24c)](_0x3b30f6=>this[_0x1f2177(0x1d4)][_0x1f2177(0x214)](this['_unitID'],_0x3b30f6));}[_0x444a1b(0x1b5)](_0x335273){var _0x25c23f=_0x444a1b;try{const _0x5a065f=_0x335273[_0x25c23f(0x370)];switch(_0x5a065f[_0x25c23f(0x33b)]){case _0x54c106[_0x25c23f(0x263)]:this[_0x25c23f(0x41a)](_0x5a065f),this[_0x25c23f(0x348)][_0x25c23f(0x3f6)](_0x5a065f);break;case _0x54c106[_0x25c23f(0x3fd)]:this[_0x25c23f(0x3ce)](_0x5a065f),this[_0x25c23f(0x348)]['next'](_0x5a065f);break;case _0x54c106[_0x25c23f(0x40b)]:case _0x54c106['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x25c23f(0x2bd)](),this[_0x25c23f(0x348)]['next'](_0x5a065f);break;case _0x54c106['MSG_FOR_ERROR']:this[_0x25c23f(0x373)][_0x25c23f(0x231)](_0x25c23f(0x23a)+JSON[_0x25c23f(0x383)](_0x5a065f)),this[_0x25c23f(0x348)][_0x25c23f(0x3f6)](_0x5a065f);break;case _0x54c106[_0x25c23f(0x1e7)]:this[_0x25c23f(0x1c8)][_0x25c23f(0x15d)](_0x5a065f[_0x25c23f(0x370)]),this[_0x25c23f(0x348)]['next'](_0x5a065f);break;default:this['_event$'][_0x25c23f(0x3f6)](_0x5a065f);}}catch(_0x45f58c){this[_0x25c23f(0x373)][_0x25c23f(0x231)](_0x45f58c,_0x335273);}}[_0x444a1b(0x41a)](_0x58e7a6){var _0x4a63ec=_0x444a1b;this[_0x4a63ec(0x1d4)]['updateMember'](this[_0x4a63ec(0x2c3)],_0x58e7a6[_0x4a63ec(0x370)]);}[_0x444a1b(0x3ce)](_0x34d2d){var _0x5e626f=_0x444a1b;this[_0x5e626f(0x1d4)][_0x5e626f(0x420)](this[_0x5e626f(0x2c3)],_0x34d2d[_0x5e626f(0x370)][_0x5e626f(0x2b5)]);}async[_0x444a1b(0x1b6)](_0x3e578f,_0xff486b){var _0x4b71b2=_0x444a1b;if(this[_0x4b71b2(0x259)]!==0x3||!this[_0x4b71b2(0x28d)])throw new Error(_0x4b71b2(0x30b));try{_0x3e578f[_0x4b71b2(0x33b)]===_0x54c106[_0x4b71b2(0x365)]&&(this[_0x4b71b2(0x276)](),this['_startTelemetryCollaborationNewChangeset'](_0x3e578f)),this[_0x4b71b2(0x28d)]['send']({'cmd':F[_0x4b71b2(0x25e)],'routeKey':_0xff486b,'routeType':'','data':_0x3e578f});}catch(_0x403a62){this[_0x4b71b2(0x373)][_0x4b71b2(0x231)](_0x403a62);}}[_0x444a1b(0x276)](){var _0x104627=_0x444a1b,_0x20664f;this[_0x104627(0x230)]=setTimeout(()=>{var _0x16e8b8=_0x104627;this[_0x16e8b8(0x230)]=null,this['_collaborationUIEventService'][_0x16e8b8(0x169)]({'id':ne[_0x16e8b8(0x15a)]});},(_0x20664f=this['_configService']['getConfig'](di))!=null?_0x20664f:fi);}['_clearCollaborationTimeoutTimer'](){var _0x58980b=_0x444a1b;this[_0x58980b(0x230)]&&(clearTimeout(this[_0x58980b(0x230)]),this['_collaborationTimeoutTimer']=null);}[_0x444a1b(0x204)](_0x34f5a5){var _0x337dd9=_0x444a1b;if(!this[_0x337dd9(0x31e)])return;const {data:_0x599b53}=_0x34f5a5,{unitID:_0xe7819c,changeset:_0x47926c}=_0x599b53,{mutations:_0x1195ce,type:_0x1675aa}=_0x47926c;this[_0x337dd9(0x345)]={'unitId':_0xe7819c,'type':_0x1675aa,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x1195ce)};}[_0x444a1b(0x165)](){var _0x2cd831=_0x444a1b;if(this['_shouldReportTelemetry']){if(!this[_0x2cd831(0x345)]){this[_0x2cd831(0x373)][_0x2cd831(0x231)](_0x2cd831(0x2ea),_0x2cd831(0x36f));return;}this['_telemetryInfo'][_0x2cd831(0x177)]=performance[_0x2cd831(0x19c)](),this[_0x2cd831(0x345)][_0x2cd831(0x307)]=this[_0x2cd831(0x345)][_0x2cd831(0x177)]-this[_0x2cd831(0x345)][_0x2cd831(0x1bf)],this['_telemetryService'][_0x2cd831(0x233)](Os,this[_0x2cd831(0x345)]),this[_0x2cd831(0x345)]=null;}}[_0x444a1b(0x1af)](){var _0x26dd28=_0x444a1b;this[_0x26dd28(0x345)]=null;}};gt=As([Ce(0x2,_0x241343),Ce(0x3,_0x3f29b9),Ce(0x4,_0x4c9835(we)),Ce(0x5,_0x4c9835(mi)),Ce(0x6,_0x4c9835(ve)),Ce(0x7,_0x3c34a2(_0x479cf8))],gt);const J=_0x4aa3de(_0x444a1b(0x229));function br(_0x3854e6){var _0x2a39f8=_0x444a1b;return _0x2a39f8(0x337)+_0x3854e6;}var ws=Object['getOwnPropertyDescriptor'],Ps=(_0x51f520,_0x7fa3b7,_0x458438,_0x3c9f3f)=>{var _0x10fe94=_0x444a1b;for(var _0x2f419e=_0x3c9f3f>0x1?void 0x0:_0x3c9f3f?ws(_0x7fa3b7,_0x458438):_0x7fa3b7,_0x20120e=_0x51f520[_0x10fe94(0x2a3)]-0x1,_0x2fa049;_0x20120e>=0x0;_0x20120e--)(_0x2fa049=_0x51f520[_0x20120e])&&(_0x2f419e=_0x2fa049(_0x2f419e)||_0x2f419e);return _0x2f419e;},ut=(_0x223fdb,_0x523bd3)=>(_0x8201d9,_0x13d4bc)=>_0x523bd3(_0x8201d9,_0x13d4bc,_0x223fdb);function Ms(_0x43ef2c){var _0x36988b=_0x444a1b;const {unitID:_0x1c36f6,mutations:_0x7dbb0b}=_0x43ef2c;return{'unitId':_0x1c36f6,'subUnitId':_0x7dbb0b[0x0][_0x36988b(0x42e)]['subUnitId']};}let it=class{constructor(_0x4cc582,_0xd35483,_0x388e28){var _0x18d638=_0x444a1b;this[_0x18d638(0x37c)]=_0x4cc582,this[_0x18d638(0x3f3)]=_0xd35483,this[_0x18d638(0x279)]=_0x388e28;}[_0x444a1b(0x312)](_0x4db345){var _0x3fad3f=_0x444a1b,_0x49f908,_0x45e073,_0x1e0417,_0x3d21e6;const _0x1da4c5=this['_injector'][_0x3fad3f(0x433)](_0x803d11),{unitId:_0x5ed292,subUnitId:_0x57f204}=Ms(_0x4db345),_0xb88362=_0x1da4c5==null?void 0x0:_0x1da4c5[_0x3fad3f(0x157)](_0x5ed292)[_0x3fad3f(0x20e)](),_0x2fc073=(_0x45e073=(_0x49f908=this[_0x3fad3f(0x279)][_0x3fad3f(0x265)](_0x5ed292))==null?void 0x0:_0x49f908['getActiveSheet']())==null?void 0x0:_0x45e073[_0x3fad3f(0x27e)]();if(_0xb88362['length']===0x0||!_0x5ed292||!_0x57f204)return;const _0x17ffe8=[{'id':_0x5bd9e1['id'],'params':{'unitId':_0x5ed292,'subUnitId':_0x2fc073,'selections':_0x5a9209[_0x3fad3f(0x22b)](_0xb88362)}}],_0x55c3c9=this['_transformService'][_0x3fad3f(0x286)](_0x4db345,_0x17ffe8);if(!_0x9be3d3(_0x55c3c9))throw _0x55c3c9['error'];const _0xd066f9=(_0x3d21e6=(_0x1e0417=_0x55c3c9['m2Prime'][0x0])==null?void 0x0:_0x1e0417[_0x3fad3f(0x42e)])==null?void 0x0:_0x3d21e6[_0x3fad3f(0x334)];if(Array[_0x3fad3f(0x247)](_0xd066f9)&&_0xd066f9[_0x3fad3f(0x2a3)]){if(_0xd066f9[_0x3fad3f(0x2a3)]===_0x17ffe8[0x0][_0x3fad3f(0x42e)]['selections'][_0x3fad3f(0x2a3)]&&_0xd066f9[_0x3fad3f(0x2fb)]((_0x8778b6,_0x30ddae)=>_0x8c4bc8[_0x3fad3f(0x299)](_0x8778b6['range'],_0x17ffe8[0x0][_0x3fad3f(0x42e)][_0x3fad3f(0x334)][_0x30ddae][_0x3fad3f(0x171)])))return;this['_injector'][_0x3fad3f(0x433)](_0x4d4c1c)[_0x3fad3f(0x313)](_0x5bd9e1['id'],{'unitId':_0x5ed292,'subUnitId':_0x2fc073,'selections':_0xd066f9});}}};it=Ps([ut(0x0,_0x4c9835(_0x23d06e)),ut(0x1,_0x1aefb4),ut(0x2,_0x4b228a)],it);const ht=_0x4aa3de('univer-pro.collaboration-client.single-active-unit-service');var gi=(_0x1092f2=>(_0x1092f2[_0x1092f2[_0x444a1b(0x3f5)]=0x0]=_0x444a1b(0x3f5),_0x1092f2[_0x1092f2[_0x444a1b(0x29a)]=0x1]=_0x444a1b(0x29a),_0x1092f2))(gi||{});const K=_0x444a1b(0x21b),Ls={},xs=new Set([_0x5a33d1['id']]);function Wt(_0xc4d20e,_0x5a32a0,_0x250c83,_0x3a7ee2,_0x358f12){var _0x2295ff=_0x444a1b,_0x269bd6,_0x2e3c25,_0x1cbbd2,_0x1b642b;const _0x4b5846=[];for(const _0x46beea of _0xc4d20e)if(xs[_0x2295ff(0x264)](_0x46beea['id'])){if(_0x4b5846[_0x2295ff(0x2a3)]>0x0)break;_0x4b5846[_0x2295ff(0x3d1)](_0x46beea);break;}else _0x4b5846[_0x2295ff(0x3d1)](_0x46beea);const _0x359142=(_0x2e3c25=(_0x269bd6=_0x358f12[_0x2295ff(0x41c)]())==null?void 0x0:_0x269bd6[_0x2295ff(0x2a5)])!=null?_0x2e3c25:_0x2295ff(0x192),_0x596699=(_0x1b642b=(_0x1cbbd2=_0x358f12[_0x2295ff(0x41c)]())==null?void 0x0:_0x1cbbd2[_0x2295ff(0x2b5)])!=null?_0x1b642b:'unknown';return{'changeset':{'unitID':_0x5a32a0,'type':_0x21c37c(_0x250c83[_0x2295ff(0x26a)](_0x5a32a0)),'baseRev':_0x3a7ee2[_0x2295ff(0x162)](_0x5a32a0),'revision':0x0,'userID':_0x359142,'memberID':_0x596699,'mutations':_0x4b5846},'pendingMutations':_0xc4d20e[_0x2295ff(0x413)](_0x4b5846['length'])};}function ks(_0x137136,_0x42e8cf,_0x5426d8,_0x370e71,_0x4c5968){var _0x2df967=_0x444a1b,_0x3824cd,_0x5058c5,_0xecae77,_0x1d70e5;const _0x1f6933=[_0x137136['reduce']((_0x1f067b,_0x461c94)=>{var _0x520e7a=_0x4432,_0x5dc4dc;const {id:_0x5266f5}=_0x1f067b,{id:_0x141a48,type:_0x2f01ec}=_0x461c94,_0x29b5d9=(_0x5dc4dc=_0x1f067b[_0x520e7a(0x42e)])!=null?_0x5dc4dc:{'actions':null},_0x40fd80=_0x461c94[_0x520e7a(0x42e)];if(_0x5266f5&&_0x5266f5!==_0x141a48)throw new Error(_0x520e7a(0x170)+_0x5266f5+_0x520e7a(0x2cf)+_0x141a48+'.');return{..._0x1f067b,'id':_0x141a48,'type':_0x2f01ec,'params':{'unitId':_0x40fd80[_0x520e7a(0x38e)],'textRanges':_0x40fd80[_0x520e7a(0x160)],'actions':_0x44dcc2[_0x520e7a(0x1ad)](_0x29b5d9[_0x520e7a(0x38a)],_0x40fd80[_0x520e7a(0x38a)])}};},{})],_0x4f109a=(_0x5058c5=(_0x3824cd=_0x4c5968[_0x2df967(0x41c)]())==null?void 0x0:_0x3824cd[_0x2df967(0x2a5)])!=null?_0x5058c5:'unknown',_0x2d71da=(_0x1d70e5=(_0xecae77=_0x4c5968[_0x2df967(0x41c)]())==null?void 0x0:_0xecae77['memberID'])!=null?_0x1d70e5:_0x2df967(0x192);return{'changeset':{'unitID':_0x42e8cf,'type':_0x21c37c(_0x5426d8[_0x2df967(0x26a)](_0x42e8cf)),'baseRev':_0x370e71[_0x2df967(0x162)](_0x42e8cf),'revision':0x0,'userID':_0x4f109a,'memberID':_0x2d71da,'mutations':_0x1f6933},'pendingMutations':[]};}function Si(_0x628f19,_0x165c84){var _0x10c5d9=_0x444a1b;const _0x1be3c4=new _0x598d3a(0x1);return setTimeout(()=>_0x1be3c4[_0x10c5d9(0x3f6)](_0x165c84),_0x628f19),_0x1be3c4[_0x10c5d9(0x291)]()[_0x10c5d9(0x332)](_0x344ae7(0x1));}const $s={'id':_0x179930['id'],'type':_0x4abcaf[_0x444a1b(0x37e)],'params':{}};var Hs=Object[_0x444a1b(0x30c)],Ee=(_0x58bf3a,_0x5f2b29,_0x2efeea,_0x2f80ca)=>{var _0x586937=_0x444a1b;for(var _0x4e1641=_0x2f80ca>0x1?void 0x0:_0x2f80ca?Hs(_0x5f2b29,_0x2efeea):_0x5f2b29,_0x2c3cac=_0x58bf3a[_0x586937(0x2a3)]-0x1,_0x4d2298;_0x2c3cac>=0x0;_0x2c3cac--)(_0x4d2298=_0x58bf3a[_0x2c3cac])&&(_0x4e1641=_0x4d2298(_0x4e1641)||_0x4e1641);return _0x4e1641;},P=(_0x17b840,_0x1d6b3b)=>(_0xd631c1,_0x4624ec)=>_0x1d6b3b(_0xd631c1,_0x4624ec,_0x17b840),Ei=(_0x47e893=>(_0x47e893[_0x444a1b(0x397)]='not_collab',_0x47e893[_0x444a1b(0x242)]=_0x444a1b(0x3a9),_0x47e893[_0x444a1b(0x385)]='pending',_0x47e893[_0x444a1b(0x2f1)]=_0x444a1b(0x3b8),_0x47e893[_0x444a1b(0x240)]=_0x444a1b(0x1d7),_0x47e893[_0x444a1b(0x426)]='fetch_missing',_0x47e893[_0x444a1b(0x3b2)]=_0x444a1b(0x32d),_0x47e893['OFFLINE']=_0x444a1b(0x2ba),_0x47e893))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x372013,_0xb75490,_0x35862f,_0x4b8e3c,_0x25e176,_0x41a5f9,_0x12ab9e,_0x54d137,_0x28494c){var _0x5dccb0=_0x444a1b;N(this,_0x5dccb0(0x1e4),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x372013,this[_0x5dccb0(0x3ec)]=_0xb75490,this['_handler']=_0x25e176,this[_0x5dccb0(0x16c)]=_0x41a5f9,this[_0x5dccb0(0x419)]=_0x12ab9e,this[_0x5dccb0(0x188)]=_0x54d137,this['_localCacheService']=_0x28494c,this[_0x5dccb0(0x1e4)]=_0x35862f,this[_0x5dccb0(0x1a7)]=_0x4b8e3c);}[_0x444a1b(0x3d9)](_0x4e46f1){var _0x3b8594=_0x444a1b;const _0x49d662=this['_revisionService'][_0x3b8594(0x162)](this[_0x3b8594(0x38b)]);return _0x4e46f1[_0x3b8594(0x16a)]>_0x49d662+0x1?(this[_0x3b8594(0x3b7)][_0x3b8594(0x39b)]({'from':_0x49d662,'to':_0x4e46f1[_0x3b8594(0x16a)]-0x1}),!0x0):!0x1;}[_0x444a1b(0x342)](_0x5afe2b){var _0x756307=_0x444a1b;this[_0x756307(0x419)]['transformUndoRedo'](this[_0x756307(0x38b)],_0x5afe2b);}[_0x444a1b(0x2db)](_0xd9b927){var _0x500ad6=_0x444a1b,_0x3b3296,_0x57939a;(_0x57939a=(_0x3b3296=this[_0x500ad6(0x3b7)])[_0x500ad6(0x1fa)])==null||_0x57939a[_0x500ad6(0x1b2)](_0x3b3296,_0xd9b927);}['_transformIMECache'](_0x443f78){var _0x5f08a2=_0x444a1b,_0x316b81,_0x35e3e3;return(_0x35e3e3=(_0x316b81=this[_0x5f08a2(0x3b7)])[_0x5f08a2(0x191)])==null?void 0x0:_0x35e3e3[_0x5f08a2(0x1b2)](_0x316b81,_0x443f78);}[_0x444a1b(0x326)](_0x285fd3){var _0x247214=_0x444a1b,_0x2cc293,_0x3eabd1;return(_0x3eabd1=(_0x2cc293=this[_0x247214(0x3b7)])[_0x247214(0x2c0)])==null?void 0x0:_0x3eabd1[_0x247214(0x1b2)](_0x2cc293,_0x285fd3);}['_transformRemoteChangesetByIMECache'](_0x1aa1ab){var _0x120b1a=_0x444a1b,_0x365ef3,_0x462da8,_0x3030fd;return(_0x3030fd=(_0x462da8=(_0x365ef3=this[_0x120b1a(0x3b7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x462da8[_0x120b1a(0x1b2)](_0x365ef3,_0x1aa1ab))!=null?_0x3030fd:_0x1aa1ab;}['_transformRemoteChangesetByStateCache'](_0x5e5988){var _0x9be548=_0x444a1b,_0x5feb72,_0x574b28,_0x5c38b2;return(_0x5c38b2=(_0x574b28=(_0x5feb72=this[_0x9be548(0x3b7)])[_0x9be548(0x3b5)])==null?void 0x0:_0x574b28[_0x9be548(0x1b2)](_0x5feb72,_0x5e5988))!=null?_0x5c38b2:_0x5e5988;}[_0x444a1b(0x364)](_0x39ea8a){var _0x358ae1=_0x444a1b,_0x509123,_0x583f24;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x479e87,mutations:_0x8384ef,memberID:_0x220a5f}=_0x39ea8a,_0x32608f=_0x8384ef[0x0][_0x358ae1(0x42e)][_0x358ae1(0x160)];Array[_0x358ae1(0x247)](_0x32608f)&&_0x32608f[_0x358ae1(0x2a3)]>0x0&&((_0x583f24=(_0x509123=this[_0x358ae1(0x3b7)])[_0x358ae1(0x3db)])==null||_0x583f24[_0x358ae1(0x1b2)](_0x509123,{'unitID':_0x479e87,'memberID':_0x220a5f,'textRanges':_0x32608f}));}}['_updateLocalCache'](){var _0x51feb0=_0x444a1b,_0x3ecd62;(_0x3ecd62=this['_localCacheService'])==null||_0x3ecd62[_0x51feb0(0x14e)](this['unitID'],this[_0x51feb0(0x3ec)],this[_0x51feb0(0x1e4)],this[_0x51feb0(0x1a7)]);}[_0x444a1b(0x255)](){var _0x5773a7=_0x444a1b;return this[_0x5773a7(0x188)][_0x5773a7(0x162)](this[_0x5773a7(0x38b)]);}[_0x444a1b(0x238)](){var _0xcfade0=_0x444a1b;this[_0xcfade0(0x188)][_0xcfade0(0x34e)](this[_0xcfade0(0x38b)]);}[_0x444a1b(0x3ee)](_0x26be95){var _0x40604c=_0x444a1b,_0x475546;let _0x57755f=this[_0x40604c(0x33a)](_0x26be95);_0x57755f=this[_0x40604c(0x260)](_0x57755f);const _0x26cd3c=_0x4259a2(_0x57755f[_0x40604c(0x268)],this['_commandService'],{'fromCollab':!0x0});if(!_0x26cd3c[_0x40604c(0x1ae)])throw _0x26cd3c['error']instanceof Error?_0x26cd3c[_0x40604c(0x231)]:new Error((_0x475546=_0x26cd3c['error'])!=null?_0x475546:'[CollaborationState]:\x20apply\x20error!');this[_0x40604c(0x25d)](_0x57755f),this[_0x40604c(0x326)](_0x57755f),this['_transformUndoredo'](_0x26be95),this[_0x40604c(0x2db)](_0x57755f),this['_syncEditingCollabCursor'](_0x57755f),this[_0x40604c(0x238)]();}}let ye=class extends Ie{constructor(_0x4b0609,_0x403892,_0x25c137,_0x34071c,_0x17b500,_0x533e1b,_0x2f3c15,_0x3f107e,_0x279531,_0x4c183c){var _0xb4b6e5=_0x444a1b;super(_0x4b0609,_0x403892,null,[],_0x25c137,_0x2f3c15,_0x533e1b,_0x34071c,_0x4c183c),N(this,_0xb4b6e5(0x40f),'synced'),(this[_0xb4b6e5(0x37c)]=_0x17b500,this['_logService']=_0x3f107e,this[_0xb4b6e5(0x3f3)]=_0x279531,this[_0xb4b6e5(0x197)]=_0x4c183c);}['appendMutation'](_0x4c8f34){var _0x1c477d=_0x444a1b;const _0x372346=this[_0x1c477d(0x37c)]['createInstance'](re,this['unitID'],this[_0x1c477d(0x3ec)],[_0x4c8f34],this[_0x1c477d(0x3b7)]);return _0x372346[_0x1c477d(0x3f0)](),_0x372346['_updateLocalCache'](),_0x372346;}[_0x444a1b(0x182)](_0x3f30bb){var _0x4e6c25=_0x444a1b;if(this['_checkMissing'](_0x3f30bb))return this['_injector']['createInstance'](Q,this[_0x4e6c25(0x38b)],this[_0x4e6c25(0x3ec)],null,[],null,[_0x3f30bb],this[_0x4e6c25(0x3b7)]);try{const _0x362370=this[_0x4e6c25(0x3f3)][_0x4e6c25(0x286)](_0x3f30bb,[$s]);if(_0x9be3d3(_0x362370)){const {c1Prime:_0x4143b7}=_0x362370;return this[_0x4e6c25(0x3ee)](_0x4143b7),this;}throw _0x362370[_0x4e6c25(0x231)];}catch(_0x42e720){return this[_0x4e6c25(0x373)][_0x4e6c25(0x231)](_0x42e720),this['_onConflict'](!0x1);}}['_onConflict'](_0x51c9ed){var _0x130d88=_0x444a1b;return this['_injector'][_0x130d88(0x1d0)](le,this['unitID'],this[_0x130d88(0x3ec)],null,[],this[_0x130d88(0x3b7)],_0x51c9ed);}[_0x444a1b(0x1a3)](){var _0x545c5c=_0x444a1b;throw new Error(_0x545c5c(0x27c));}[_0x444a1b(0x402)](){var _0x122329=_0x444a1b;throw new Error(_0x122329(0x382));}[_0x444a1b(0x391)](){return this;}['toggleOffline'](){var _0x3b50dd=_0x444a1b;return this[_0x3b50dd(0x37c)][_0x3b50dd(0x1d0)](ue,this[_0x3b50dd(0x38b)],this['type'],null,[],this[_0x3b50dd(0x3b7)]);}[_0x444a1b(0x18f)](){return this;}[_0x444a1b(0x2b0)](){var _0x3d5884=_0x444a1b;throw new Error(_0x3d5884(0x27f));}[_0x444a1b(0x2d0)](){var _0x51d988=_0x444a1b;const _0x3b16fb=this[_0x51d988(0x188)][_0x51d988(0x162)](this[_0x51d988(0x38b)]);return this[_0x51d988(0x3b7)][_0x51d988(0x39b)]({'from':_0x3b16fb,'to':0x0}),this[_0x51d988(0x37c)]['createInstance'](Q,this['unitID'],this[_0x51d988(0x3ec)],null,[],null,[],this[_0x51d988(0x3b7)]);}};ye=Ee([P(0x3,_0x4c9835(_0x2e8c7c)),P(0x4,_0x4c9835(_0x23d06e)),P(0x5,_0x5e1044),P(0x6,_0x4d4c1c),P(0x7,_0x241343),P(0x8,_0x1aefb4),P(0x9,_0x3c34a2(J))],ye);let re=class extends Ie{constructor(_0x26b024,_0xc01d06,_0x5f1e0b,_0x50a415,_0x43b38c,_0x37cf76,_0xa255d8,_0x221664,_0x1196ca,_0x7256b9,_0x482358,_0x5e8d07,_0xa8b5a5,_0x1ead98){var _0x1e6432=_0x444a1b;super(_0x26b024,_0xc01d06,null,_0x5f1e0b,_0x50a415,_0x1196ca,_0xa8b5a5,_0x37cf76,_0x1ead98),N(this,'status',_0x1e6432(0x175)),N(this,_0x1e6432(0x226),null),N(this,_0x1e6432(0x442),null),(this[_0x1e6432(0x37c)]=_0x43b38c,this[_0x1e6432(0x1d4)]=_0xa255d8,this[_0x1e6432(0x373)]=_0x221664,this[_0x1e6432(0x2cc)]=_0x7256b9,this[_0x1e6432(0x3f3)]=_0x482358,this[_0x1e6432(0x1cb)]=_0x5e8d07);}[_0x444a1b(0x275)](_0x4b9eb0){var _0x2d0234=_0x444a1b;return this['_pendingMutations'][_0x2d0234(0x3d1)](_0x4b9eb0),this['_updateLocalCache'](),this;}[_0x444a1b(0x182)](_0x5264c0){var _0x2371c7=_0x444a1b;if(this[_0x2371c7(0x3d9)](_0x5264c0))return this['_clearScheduledTask'](),this['_injector']['createInstance'](Q,this[_0x2371c7(0x38b)],this['type'],null,this[_0x2371c7(0x1a7)],null,[_0x5264c0],this[_0x2371c7(0x3b7)]);try{const _0x43a0d1=this[_0x2371c7(0x3f3)][_0x2371c7(0x286)](_0x5264c0,this['_pendingMutations']);if(_0x9be3d3(_0x43a0d1)){const {c1Prime:_0x1f3c49,m2Prime:_0x58ebe8}=_0x43a0d1;this[_0x2371c7(0x3ee)](_0x1f3c49);const _0x6f66db=this[_0x2371c7(0x37c)][_0x2371c7(0x1d0)](re,this[_0x2371c7(0x38b)],this[_0x2371c7(0x3ec)],_0x58ebe8,this[_0x2371c7(0x3b7)]);this[_0x2371c7(0x432)]();const _0x182bd9=new Date()['getTime'](),_0x5186b3=this['_scheduleCompleteTimestamp']?Math[_0x2371c7(0x2ee)](this['_scheduleCompleteTimestamp']-_0x182bd9,0x0):this[_0x2371c7(0x33c)]();return _0x6f66db[_0x2371c7(0x3f0)](_0x5186b3),_0x6f66db;}throw _0x43a0d1['error'];}catch(_0x25e9d8){return this[_0x2371c7(0x373)][_0x2371c7(0x231)](_0x25e9d8),this[_0x2371c7(0x19e)](!0x1);}}[_0x444a1b(0x1a3)](){var _0x1065ea=_0x444a1b;throw new Error(_0x1065ea(0x36e));}['onRemoteRej'](){var _0x53df33=_0x444a1b;throw new Error(_0x53df33(0x321));}[_0x444a1b(0x391)](){return this;}[_0x444a1b(0x3d7)](){var _0x56acce=_0x444a1b;return this[_0x56acce(0x432)](),this['_injector']['createInstance'](ue,this[_0x56acce(0x38b)],this[_0x56acce(0x3ec)],null,this[_0x56acce(0x1a7)],this[_0x56acce(0x3b7)]);}[_0x444a1b(0x18f)](){return this;}[_0x444a1b(0x3f0)](_0x4d1d22){var _0x233da1=_0x444a1b;const _0x5aa705=_0x4d1d22!=null?_0x4d1d22:this[_0x233da1(0x33c)]();this[_0x233da1(0x226)]=new Date()['getTime']()+_0x5aa705,this[_0x233da1(0x442)]=setTimeout(()=>{var _0x4219ad=_0x233da1;this[_0x4219ad(0x432)]();let _0x15519c=null;switch(this['type']){case Z[_0x4219ad(0x2f0)]:{_0x15519c=Wt(this[_0x4219ad(0x1a7)],this[_0x4219ad(0x38b)],this[_0x4219ad(0x1cb)],this['_revisionService'],this[_0x4219ad(0x1d4)]);break;}case Z[_0x4219ad(0x280)]:{this[_0x4219ad(0x1a7)][_0x4219ad(0x2fb)](_0x5e7617=>_0x5e7617['id']===_0x4c1fc9['id'])?_0x15519c=ks(this['_pendingMutations'],this[_0x4219ad(0x38b)],this['_univerInstanceService'],this[_0x4219ad(0x188)],this[_0x4219ad(0x1d4)]):_0x15519c=Wt(this[_0x4219ad(0x1a7)],this[_0x4219ad(0x38b)],this[_0x4219ad(0x1cb)],this[_0x4219ad(0x188)],this['_memberService']);break;}default:throw new Error(_0x4219ad(0x36a)+this[_0x4219ad(0x3ec)]+_0x4219ad(0x341));}const {changeset:_0x3dcc6b,pendingMutations:_0x369ee0}=_0x15519c;this[_0x4219ad(0x3b7)][_0x4219ad(0x36c)](_0x3dcc6b);const _0x15b6ac=_0x369ee0[_0x4219ad(0x2a3)]?this[_0x4219ad(0x37c)][_0x4219ad(0x1d0)](ae,this[_0x4219ad(0x38b)],this[_0x4219ad(0x3ec)],_0x3dcc6b,_0x369ee0,this[_0x4219ad(0x3b7)],void 0x0):this[_0x4219ad(0x37c)]['createInstance'](_e,this[_0x4219ad(0x38b)],this[_0x4219ad(0x3ec)],_0x3dcc6b,this['_handler']);_0x15b6ac[_0x4219ad(0x17a)](),this['_handler'][_0x4219ad(0x18e)](this,_0x15b6ac);},_0x5aa705);}[_0x444a1b(0x33c)](){var _0x4949fa=_0x444a1b,_0x4c193a;const _0x452a1e=this[_0x4949fa(0x2cc)][_0x4949fa(0x2d8)](K);return(_0x4c193a=_0x452a1e==null?void 0x0:_0x452a1e[_0x4949fa(0x377)])!=null?_0x4c193a:ps;}[_0x444a1b(0x2b0)](){var _0x3037a8=_0x444a1b;throw new Error(_0x3037a8(0x14c));}['_clearScheduledTask'](){var _0x141420=_0x444a1b;this[_0x141420(0x442)]!=null&&(clearTimeout(this[_0x141420(0x442)]),this[_0x141420(0x442)]=null);}[_0x444a1b(0x19e)](_0x3ec6bb){var _0x18f0a5=_0x444a1b;return this[_0x18f0a5(0x432)](),this['_injector'][_0x18f0a5(0x1d0)](le,this[_0x18f0a5(0x38b)],this[_0x18f0a5(0x3ec)],null,this[_0x18f0a5(0x1a7)],this[_0x18f0a5(0x3b7)],_0x3ec6bb);}};re=Ee([P(0x4,_0x4c9835(_0x23d06e)),P(0x5,_0x4c9835(_0x2e8c7c)),P(0x6,_0x4c9835(we)),P(0x7,_0x241343),P(0x8,_0x4d4c1c),P(0x9,_0x3f29b9),P(0xa,_0x1aefb4),P(0xb,_0x4b228a),P(0xc,_0x5e1044),P(0xd,_0x3c34a2(J))],re);let _e=class extends Ie{constructor(_0x2f6f8a,_0x5c33ea,_0x5351bd,_0x368ad,_0x477c95,_0x524cf6,_0x581277,_0x3dcd76,_0x483bf0,_0x1efcb6,_0x36367f){var _0x43a216=_0x444a1b;super(_0x2f6f8a,_0x5c33ea,_0x5351bd,[],_0x368ad,_0x581277,_0x1efcb6,_0x524cf6,_0x36367f),N(this,_0x43a216(0x40f),_0x43a216(0x3b8)),N(this,'_resendTimeout',0x0),N(this,_0x43a216(0x2e6)),N(this,_0x43a216(0x2da)),(this[_0x43a216(0x37c)]=_0x477c95,this[_0x43a216(0x373)]=_0x3dcd76,this['_transformService']=_0x483bf0);}[_0x444a1b(0x275)](_0x525f76){var _0x161a07=_0x444a1b;this[_0x161a07(0x432)]();const _0x35ae96=this[_0x161a07(0x37c)]['createInstance'](ae,this[_0x161a07(0x38b)],this['type'],this[_0x161a07(0x1e4)],[_0x525f76],this[_0x161a07(0x3b7)],this[_0x161a07(0x2e6)]);return _0x35ae96[_0x161a07(0x17a)](),_0x35ae96;}[_0x444a1b(0x182)](_0x40aafb){var _0x44a3f1=_0x444a1b;if(this['_checkMissing'](_0x40aafb))return this[_0x44a3f1(0x432)](),this['_injector']['createInstance'](Q,this[_0x44a3f1(0x38b)],this['type'],this[_0x44a3f1(0x1e4)],[],null,[_0x40aafb],this[_0x44a3f1(0x3b7)]);try{const _0x2108f4=this[_0x44a3f1(0x3f3)]['transformChangesets']([_0x40aafb],[this[_0x44a3f1(0x1e4)]],!0x1);if(_0x4fe543(_0x2108f4)){const {c1Prime:_0x451af4,c2Prime:_0x3c3862}=_0x2108f4;this['_executeRemoteChangeset'](_0x451af4[0x0]),_0x3c3862[0x0][_0x44a3f1(0x19a)]=this[_0x44a3f1(0x255)](),this['_clearScheduledTask']();const _0xe69b88=this[_0x44a3f1(0x37c)][_0x44a3f1(0x1d0)](_e,this[_0x44a3f1(0x38b)],this[_0x44a3f1(0x3ec)],_0x3c3862[0x0],this[_0x44a3f1(0x3b7)]);return _0xe69b88[_0x44a3f1(0x17a)](),_0xe69b88;}return this[_0x44a3f1(0x19e)](!0x1);}catch(_0x582c10){return this[_0x44a3f1(0x373)][_0x44a3f1(0x231)](_0x582c10),this[_0x44a3f1(0x19e)](!0x1);}}['onRemoteAck'](_0x1ef8c6){var _0x453e9f=_0x444a1b;this[_0x453e9f(0x432)]();const _0x29b922=this[_0x453e9f(0x188)]['getCurrentRevOfUnit'](this[_0x453e9f(0x38b)]);if(_0x1ef8c6[_0x453e9f(0x16a)]<_0x29b922-0x1)return this;if(this[_0x453e9f(0x3d9)](_0x1ef8c6))return this[_0x453e9f(0x37c)]['createInstance'](Q,this[_0x453e9f(0x38b)],this['type'],null,[],this[_0x453e9f(0x1e4)],[],this[_0x453e9f(0x3b7)]);this[_0x453e9f(0x238)]();const _0x534dc3=this['_injector'][_0x453e9f(0x1d0)](ye,this[_0x453e9f(0x38b)],this['type'],this[_0x453e9f(0x3b7)]);return _0x534dc3[_0x453e9f(0x17a)](),_0x534dc3;}[_0x444a1b(0x402)](_0x1ab4ad){var _0x228bd9=_0x444a1b;return this[_0x228bd9(0x19e)](!!(_0x1ab4ad!=null&&_0x1ab4ad[_0x228bd9(0x24e)]));}[_0x444a1b(0x391)](_0x45e456){var _0x40d219=_0x444a1b;return this[_0x40d219(0x2b8)]>Ii?this['toggleOffline']():(this[_0x40d219(0x2e6)]=Si(this[_0x40d219(0x2b8)],{'timeout':this[_0x40d219(0x2b8)],'reqId':_0x45e456[_0x40d219(0x16b)]}),this[_0x40d219(0x2da)]=this[_0x40d219(0x2e6)][_0x40d219(0x24d)](({reqId:_0x859e16,timeout:_0x1595aa})=>{this['_resendWithTimeout'](_0x859e16,_0x1595aa);}),this);}[_0x444a1b(0x3d7)](){var _0x4c5d0e=_0x444a1b;return this['_clearScheduledTask'](),this[_0x4c5d0e(0x37c)][_0x4c5d0e(0x1d0)](ue,this['unitID'],this[_0x4c5d0e(0x3ec)],this['_awaitingChangeset'],[],this[_0x4c5d0e(0x3b7)]);}[_0x444a1b(0x18f)](){return this;}[_0x444a1b(0x2b0)](){var _0x49fbcf=_0x444a1b;this[_0x49fbcf(0x3b7)][_0x49fbcf(0x36c)](this[_0x49fbcf(0x1e4)]);}[_0x444a1b(0x19e)](_0x46ba2d){var _0x28cf5f=_0x444a1b;return this['_clearScheduledTask'](),this['_injector'][_0x28cf5f(0x1d0)](le,this[_0x28cf5f(0x38b)],this[_0x28cf5f(0x3ec)],this['_awaitingChangeset'],[],this['_handler'],_0x46ba2d);}[_0x444a1b(0x384)](_0x3b537c,_0x35439c){var _0x288bda=_0x444a1b,_0x21b7cf;_0x3b537c===((_0x21b7cf=this[_0x288bda(0x1e4)])==null?void 0x0:_0x21b7cf[_0x288bda(0x16b)])&&(this['resend'](),this['_resendTimeout']=_0x35439c===0x0?0x3e8:_0x35439c*0x2);}[_0x444a1b(0x432)](){var _0x5758e7=_0x444a1b,_0x3be000;(_0x3be000=this['_sender'])==null||_0x3be000['unsubscribe'](),this[_0x5758e7(0x2b8)]=0x0;}};_e=Ee([P(0x4,_0x4c9835(_0x23d06e)),P(0x5,_0x4c9835(_0x2e8c7c)),P(0x6,_0x4d4c1c),P(0x7,_0x241343),P(0x8,_0x1aefb4),P(0x9,_0x5e1044),P(0xa,_0x3c34a2(J))],_e);let ae=class extends Ie{constructor(_0x5dda10,_0x31b169,_0x28a59e,_0x23e8ad,_0x5c4931,_0x2d29b4,_0x389341,_0x461b96,_0x3d7f72,_0xc860e9,_0x3b40ad,_0x417217,_0x4bd0e7){var _0x1c8ed7=_0x444a1b;super(_0x5dda10,_0x31b169,_0x28a59e,_0x23e8ad,_0x5c4931,_0x3d7f72,_0x417217,_0x461b96,_0x4bd0e7),N(this,_0x1c8ed7(0x40f),_0x1c8ed7(0x1d7)),N(this,_0x1c8ed7(0x2b8),0x0),N(this,_0x1c8ed7(0x2e6)),N(this,_0x1c8ed7(0x2da)),(this['_injector']=_0x389341,this[_0x1c8ed7(0x373)]=_0xc860e9,this[_0x1c8ed7(0x3f3)]=_0x3b40ad,this[_0x1c8ed7(0x197)]=_0x4bd0e7,_0x2d29b4&&(this[_0x1c8ed7(0x2e6)]=_0x2d29b4,this['_sender']=this['_resendTimer'][_0x1c8ed7(0x24d)](({reqId:_0x242e29,timeout:_0x593813})=>{var _0x29882c=_0x1c8ed7;this[_0x29882c(0x384)](_0x242e29,_0x593813);})));}[_0x444a1b(0x275)](_0x41b3f3){var _0x54765b=_0x444a1b;return this[_0x54765b(0x1a7)][_0x54765b(0x3d1)](_0x41b3f3),this;}[_0x444a1b(0x182)](_0x22550d){var _0x5a3f15=_0x444a1b;if(this[_0x5a3f15(0x3d9)](_0x22550d))return this[_0x5a3f15(0x432)](),this[_0x5a3f15(0x37c)]['createInstance'](Q,this[_0x5a3f15(0x38b)],this['type'],this[_0x5a3f15(0x1e4)],this['_pendingMutations'],null,[_0x22550d],this['_handler']);try{const _0x25b128=this['_transformService']['transformChangesets']([_0x22550d],[this[_0x5a3f15(0x1e4)]],!0x1);if(_0x4fe543(_0x25b128)){const {c1Prime:_0x2a163f,c2Prime:_0x284eba}=_0x25b128,_0x594f20=this[_0x5a3f15(0x3f3)][_0x5a3f15(0x286)](_0x2a163f[0x0],this[_0x5a3f15(0x1a7)]);if(_0x9be3d3(_0x594f20)){const {c1Prime:_0x5894e4,m2Prime:_0x40c43b}=_0x594f20;return this[_0x5a3f15(0x3ee)](_0x5894e4),_0x284eba[0x0][_0x5a3f15(0x19a)]=this[_0x5a3f15(0x255)](),this['_clearScheduledTask'](),this[_0x5a3f15(0x37c)][_0x5a3f15(0x1d0)](ae,this[_0x5a3f15(0x38b)],this[_0x5a3f15(0x3ec)],_0x284eba[0x0],_0x40c43b,this['_handler'],void 0x0);}throw _0x594f20[_0x5a3f15(0x231)];}throw _0x25b128['error'];}catch(_0x36f025){return this[_0x5a3f15(0x373)][_0x5a3f15(0x231)](_0x36f025),this[_0x5a3f15(0x19e)](!0x1);}}['onRemoteAck'](_0x39e5a9){var _0x23663a=_0x444a1b;if(this[_0x23663a(0x432)](),this[_0x23663a(0x3d9)](_0x39e5a9))return this[_0x23663a(0x37c)]['createInstance'](Q,this[_0x23663a(0x38b)],this[_0x23663a(0x3ec)],null,this[_0x23663a(0x1a7)],this[_0x23663a(0x1e4)],[],this[_0x23663a(0x3b7)]);this[_0x23663a(0x238)]();const _0x4cbaa9=this['_injector'][_0x23663a(0x1d0)](re,this['unitID'],this[_0x23663a(0x3ec)],this[_0x23663a(0x1a7)],this['_handler']);return _0x4cbaa9[_0x23663a(0x3f0)](),_0x4cbaa9[_0x23663a(0x17a)](),_0x4cbaa9;}[_0x444a1b(0x402)](_0x293e09){var _0xc0c7a5=_0x444a1b;return this[_0xc0c7a5(0x19e)](!!(_0x293e09!=null&&_0x293e09[_0xc0c7a5(0x24e)]));}[_0x444a1b(0x391)](_0x523b11){var _0x647030=_0x444a1b;return this[_0x647030(0x2b8)]>Ii?this['toggleOffline']():(this[_0x647030(0x2e6)]=Si(this[_0x647030(0x2b8)],{'timeout':this[_0x647030(0x2b8)],'reqId':_0x523b11['reqId']}),this[_0x647030(0x2da)]=this['_resendTimer'][_0x647030(0x24d)](({reqId:_0x2e2590,timeout:_0x387627})=>{var _0x58138a=_0x647030;this[_0x58138a(0x384)](_0x2e2590,_0x387627);}),this);}['toggleOffline'](){var _0x1ace07=_0x444a1b;return this[_0x1ace07(0x432)](),this['_injector']['createInstance'](ue,this[_0x1ace07(0x38b)],this[_0x1ace07(0x3ec)],this[_0x1ace07(0x1e4)],this[_0x1ace07(0x1a7)],this[_0x1ace07(0x3b7)]);}['toggleOnline'](){return this;}['resend'](){var _0x158628=_0x444a1b;this[_0x158628(0x3b7)][_0x158628(0x36c)](this['_awaitingChangeset']);}['_onConflict'](_0x30b7e1){var _0x4ee0da=_0x444a1b;return this[_0x4ee0da(0x432)](),this[_0x4ee0da(0x37c)][_0x4ee0da(0x1d0)](le,this[_0x4ee0da(0x38b)],this['type'],null,this[_0x4ee0da(0x1a7)],this[_0x4ee0da(0x3b7)],_0x30b7e1);}[_0x444a1b(0x384)](_0x508ab3,_0x1ea054){var _0x2d3a51=_0x444a1b,_0x338af7;_0x508ab3===((_0x338af7=this[_0x2d3a51(0x1e4)])==null?void 0x0:_0x338af7['reqId'])&&(this[_0x2d3a51(0x2b0)](),this[_0x2d3a51(0x2b8)]=_0x1ea054===0x0?0x3e8:_0x1ea054*0x2);}['_clearScheduledTask'](){var _0x452c60=_0x444a1b,_0x4dbb6a;(_0x4dbb6a=this[_0x452c60(0x2da)])==null||_0x4dbb6a[_0x452c60(0x371)](),this[_0x452c60(0x2b8)]=0x0;}};ae=Ee([P(0x6,_0x4c9835(_0x23d06e)),P(0x7,_0x4c9835(_0x2e8c7c)),P(0x8,_0x4d4c1c),P(0x9,_0x241343),P(0xa,_0x1aefb4),P(0xb,_0x5e1044),P(0xc,_0x3c34a2(J))],ae);let le=class extends Ie{constructor(_0x550783,_0x306725,_0x10dc67,_0xb49aa5,_0x813ffa,_0xb29338=!0x1,_0x25a3d1,_0x4ce5ec,_0x111814,_0x3ae2e2,_0x447dab,_0x1e009d,_0x3a90b1){var _0x43b914=_0x444a1b;super(_0x550783,_0x306725,_0x10dc67,_0xb49aa5,_0x813ffa,_0x4ce5ec,_0x111814,_0x3ae2e2,_0x3a90b1),N(this,_0x43b914(0x40f),_0x43b914(0x32d)),(this[_0x43b914(0x225)]=_0xb29338,this[_0x43b914(0x30d)]=_0x25a3d1,this[_0x43b914(0x185)]=_0x447dab,this[_0x43b914(0x3e5)]=_0x1e009d,this['localCacheService']=_0x3a90b1,this[_0x43b914(0x220)](),this[_0x43b914(0x22f)](),this[_0x43b914(0x440)]());}[_0x444a1b(0x275)](){return this;}['onRemoteChangeset'](){return this;}[_0x444a1b(0x1a3)](){return this;}[_0x444a1b(0x402)](){return this;}[_0x444a1b(0x391)](){return this;}[_0x444a1b(0x3d7)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x1b9137=_0x444a1b;throw new Error(_0x1b9137(0x2aa));}[_0x444a1b(0x22f)](){var _0x3e9fb9=_0x444a1b,_0x4d27bc;(_0x4d27bc=this['_localCacheService'])==null||_0x4d27bc[_0x3e9fb9(0x14e)](this[_0x3e9fb9(0x38b)],this['type'],null,[]);}[_0x444a1b(0x220)](){var _0x58faac=_0x444a1b;this['_isPermissionRej']?this[_0x58faac(0x3e5)][_0x58faac(0x169)]({'id':ne[_0x58faac(0x3c3)]}):this[_0x58faac(0x3e5)][_0x58faac(0x169)]({'id':ne[_0x58faac(0x3b2)]});}['_disableEditing'](){var _0x17d699=_0x444a1b;this[_0x17d699(0x30d)][_0x17d699(0x429)](new _0x32a2ab(this[_0x17d699(0x38b)])['id'],!0x1);}};le=Ee([P(0x6,_0x4c9835(_0x392f08)),P(0x7,_0x4d4c1c),P(0x8,_0x5e1044),P(0x9,_0x4c9835(_0x2e8c7c)),P(0xa,_0x4c9835(_0x5ba7f8)),P(0xb,_0x4c9835(ve)),P(0xc,_0x3c34a2(J))],le);let ue=class extends Ie{constructor(_0x3ad60e,_0x291058,_0x1b7808,_0x5c8884,_0x4065fd,_0x2c125c,_0x47de49,_0x34e253,_0x481942,_0x2d50c6){var _0x32fdc6=_0x444a1b;super(_0x3ad60e,_0x291058,_0x1b7808,_0x5c8884,_0x4065fd,_0x34e253,_0x481942,_0x47de49,_0x2d50c6),N(this,_0x32fdc6(0x40f),_0x32fdc6(0x2ba)),this[_0x32fdc6(0x37c)]=_0x2c125c;}[_0x444a1b(0x275)](_0x8cff0){var _0x2485b3=_0x444a1b;return this['_pendingMutations'][_0x2485b3(0x3d1)](_0x8cff0),this[_0x2485b3(0x17a)](),this;}['onRemoteChangeset'](_0x4e5b87){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x444a1b(0x1a3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x48b9aa=_0x444a1b;throw new Error(_0x48b9aa(0x412));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x444a1b(0x18f)](){var _0x4e25e0=_0x444a1b;const {_injector:_0x191876,_pendingMutations:_0x37f6b1,_awaitingChangeset:_0x54f178,unitID:_0x427bd5,_handler:_0x3cb7ed,type:_0x17ae46}=this,_0x46cfe4=Ti(_0x191876,_0x427bd5,_0x17ae46,_0x54f178,_0x37f6b1,_0x3cb7ed);return _0x46cfe4 instanceof re?_0x46cfe4[_0x4e25e0(0x3f0)]():(_0x46cfe4 instanceof ae||_0x46cfe4 instanceof _e)&&_0x46cfe4['resend'](),_0x46cfe4;}[_0x444a1b(0x2b0)](){var _0x451390=_0x444a1b;throw new Error(_0x451390(0x1a2));}};ue=Ee([P(0x5,_0x4c9835(_0x23d06e)),P(0x6,_0x4c9835(_0x2e8c7c)),P(0x7,_0x4d4c1c),P(0x8,_0x5e1044),P(0x9,_0x3c34a2(J))],ue);let Q=class extends Ie{constructor(_0xe2aec6,_0x37aa0b,_0x2cd358,_0x1bdba7,_0x1dfa59,_0xdc281a,_0x4e8a9d,_0x5a2421,_0x18b2b0,_0x565ab,_0x1d33f4,_0x36c625,_0x4cbd8f,_0x2a2c57){var _0x2e1f01=_0x444a1b;super(_0xe2aec6,_0x37aa0b,_0x2cd358,_0x1bdba7,_0x4e8a9d,_0x1d33f4,_0x36c625,_0x18b2b0,_0x2a2c57),N(this,_0x2e1f01(0x40f),_0x2e1f01(0x306)),(this[_0x2e1f01(0x28e)]=_0x1dfa59,this[_0x2e1f01(0x202)]=_0xdc281a,this[_0x2e1f01(0x37c)]=_0x5a2421,this['_logService']=_0x565ab,this[_0x2e1f01(0x3f3)]=_0x4cbd8f,this[_0x2e1f01(0x197)]=_0x2a2c57);}['onMissedChangesetFetched'](_0x39c43c){var _0x431741=_0x444a1b;try{const _0x24f3a5=[..._0x39c43c,...this[_0x431741(0x202)]],_0xfb2713=[this['_awaitingChangeset']||this[_0x431741(0x28e)]][_0x431741(0x3d8)](_0x2584d4=>!!_0x2584d4);let _0x4ccebc,_0x56b802;if(_0xfb2713[_0x431741(0x2a3)]){const _0x3704b1=this[_0x431741(0x3f3)][_0x431741(0x20a)](_0x24f3a5,_0xfb2713,!0x1);if(!_0x4fe543(_0x3704b1))throw _0x3704b1[_0x431741(0x231)];_0x4ccebc=_0x3704b1['c1Prime'],_0x56b802=_0x3704b1[_0x431741(0x338)];}else _0x4ccebc=_0x24f3a5,_0x56b802=[];let _0x2f07a7=this['_pendingMutations'];_0x4ccebc[_0x431741(0x24c)](_0x1468df=>{var _0x18eb6c=_0x431741;let _0x46e5d7;if(_0x2f07a7[_0x18eb6c(0x2a3)]){const _0xd1f0f2=this['_transformService']['transformMutationsWithChangeset'](_0x1468df,_0x2f07a7);if(!_0x9be3d3(_0xd1f0f2))throw _0xd1f0f2['error'];_0x46e5d7=_0xd1f0f2[_0x18eb6c(0x3ab)],_0x2f07a7=_0xd1f0f2[_0x18eb6c(0x2bf)];}else _0x46e5d7=_0x1468df;this[_0x18eb6c(0x3ee)](_0x46e5d7);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x431741(0x1e4)]&&_0x56b802[_0x431741(0x2a3)]&&(_0x56b802[0x0][_0x431741(0x19a)]=this[_0x431741(0x255)]());let _0x41c22f;if(this[_0x431741(0x1e4)]&&_0x2f07a7[_0x431741(0x2a3)]!==0x0)_0x41c22f=this[_0x431741(0x37c)]['createInstance'](ae,this[_0x431741(0x38b)],this[_0x431741(0x3ec)],_0x56b802[0x0],_0x2f07a7,this[_0x431741(0x3b7)],void 0x0);else{if(this[_0x431741(0x1e4)]&&_0x2f07a7['length']===0x0)_0x56b802[0x0][_0x431741(0x19a)]=this[_0x431741(0x255)](),_0x41c22f=this[_0x431741(0x37c)][_0x431741(0x1d0)](_e,this[_0x431741(0x38b)],this[_0x431741(0x3ec)],_0x56b802[0x0],this[_0x431741(0x3b7)]);else{if(_0x2f07a7['length']!==0x0){const _0x2edf76=this[_0x431741(0x37c)][_0x431741(0x1d0)](re,this['unitID'],this['type'],_0x2f07a7,this['_handler']);_0x2edf76[_0x431741(0x3f0)](),_0x41c22f=_0x2edf76;}else _0x41c22f=this[_0x431741(0x37c)][_0x431741(0x1d0)](ye,this['unitID'],this[_0x431741(0x3ec)],this[_0x431741(0x3b7)]);}}return _0x41c22f[_0x431741(0x17a)](),_0x41c22f;}catch(_0x228227){return this[_0x431741(0x373)][_0x431741(0x231)]('[FetchMissState]',_0x431741(0x443),_0x228227),this[_0x431741(0x37c)]['createInstance'](le,this[_0x431741(0x38b)],this[_0x431741(0x3ec)],this[_0x431741(0x1e4)],this[_0x431741(0x1a7)],this['_handler'],!0x1);}}[_0x444a1b(0x2b0)](){var _0x512d68=_0x444a1b;throw new Error(_0x512d68(0x189));}[_0x444a1b(0x275)](_0x1767eb){var _0x1391cf=_0x444a1b;return this[_0x1391cf(0x1a7)][_0x1391cf(0x3d1)](_0x1767eb),this;}[_0x444a1b(0x182)](_0x57ac52){var _0x17cbec=_0x444a1b;return this[_0x17cbec(0x202)]['push'](_0x57ac52),this;}[_0x444a1b(0x1a3)](_0x41de29){var _0x1da091=_0x444a1b;if(this[_0x1da091(0x1e4)])return this[_0x1da091(0x28e)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x1da091(0x26f));}[_0x444a1b(0x402)](_0x4e099a){var _0xb78af=_0x444a1b;return this[_0xb78af(0x19e)](!!(_0x4e099a!=null&&_0x4e099a[_0xb78af(0x24e)]));}[_0x444a1b(0x391)](){return this;}[_0x444a1b(0x3d7)](){var _0x23a881=_0x444a1b;return this['_injector'][_0x23a881(0x1d0)](ue,this[_0x23a881(0x38b)],this[_0x23a881(0x3ec)],this[_0x23a881(0x1e4)],this[_0x23a881(0x1a7)],this[_0x23a881(0x3b7)]);}['toggleOnline'](){return this;}['_onConflict'](_0x9c0392){var _0x320d30=_0x444a1b;return this[_0x320d30(0x37c)][_0x320d30(0x1d0)](le,this[_0x320d30(0x38b)],this[_0x320d30(0x3ec)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x320d30(0x3b7)],_0x9c0392);}};Q=Ee([P(0x7,_0x4c9835(_0x23d06e)),P(0x8,_0x4c9835(_0x2e8c7c)),P(0x9,_0x241343),P(0xa,_0x4d4c1c),P(0xb,_0x5e1044),P(0xc,_0x1aefb4),P(0xd,_0x3c34a2(J))],Q);function Ti(_0x10cebf,_0x44cef2,_0x3c4668,_0x165455,_0x592827,_0x2d7434){var _0x1b3789=_0x444a1b;return _0x165455&&_0x592827['length']?_0x10cebf[_0x1b3789(0x1d0)](ae,_0x44cef2,_0x3c4668,_0x165455,_0x592827,_0x2d7434,void 0x0):_0x165455?_0x10cebf[_0x1b3789(0x1d0)](_e,_0x44cef2,_0x3c4668,_0x165455,_0x2d7434):_0x592827[_0x1b3789(0x2a3)]?_0x10cebf[_0x1b3789(0x1d0)](re,_0x44cef2,_0x3c4668,_0x592827,_0x2d7434):_0x10cebf[_0x1b3789(0x1d0)](ye,_0x44cef2,_0x3c4668,_0x2d7434);}var Bs=Object[_0x444a1b(0x30c)],wt=(_0x3117f3,_0x391505,_0x2b4cbd,_0x341810)=>{var _0x3a6fb5=_0x444a1b;for(var _0x5cb120=_0x341810>0x1?void 0x0:_0x341810?Bs(_0x391505,_0x2b4cbd):_0x391505,_0x1db19a=_0x3117f3[_0x3a6fb5(0x2a3)]-0x1,_0xcd3730;_0x1db19a>=0x0;_0x1db19a--)(_0xcd3730=_0x3117f3[_0x1db19a])&&(_0x5cb120=_0xcd3730(_0x5cb120)||_0x5cb120);return _0x5cb120;},H=(_0x3e2289,_0x597afb)=>(_0x43b0bb,_0x157173)=>_0x597afb(_0x43b0bb,_0x157173,_0x3e2289);let st=class extends _0x4b9da9{constructor(_0x1e5864,_0x57189e,_0x34bdd6,_0x2bef2f,_0x28ceba,_0xe73b09,_0x4b23a8,_0x54ca61,_0x1f66bc,_0x8511b3,_0x405386,_0x44b1a3,_0x2cc4ea){var _0x5dbf45=_0x444a1b;super(),N(this,_0x5dbf45(0x298),new _0x38c4c7(null)),N(this,_0x5dbf45(0x2ad),this['_state$']['asObservable']()),N(this,_0x5dbf45(0x3f8)),N(this,_0x5dbf45(0x24b),!0x1),N(this,_0x5dbf45(0x1d6),''),N(this,_0x5dbf45(0x1ec),0x0),N(this,_0x5dbf45(0x289),this[_0x5dbf45(0x2ad)][_0x5dbf45(0x332)](_0x57365c(_0x1d78d9=>_0x1d78d9?_0x1d78d9[_0x5dbf45(0x40f)]:Ei[_0x5dbf45(0x35f)]),_0x2af67c(0x1))),N(this,_0x5dbf45(0x2a0),!0x1),N(this,_0x5dbf45(0x2e9),[]),(this['unitID']=_0x1e5864,this['session']=_0x57189e,this[_0x5dbf45(0x361)]=_0x34bdd6,this['_injector']=_0x2bef2f,this['_compressMutationService']=_0x28ceba,this[_0x5dbf45(0x185)]=_0xe73b09,this[_0x5dbf45(0x188)]=_0x4b23a8,this[_0x5dbf45(0x3da)]=_0x54ca61,this['_logService']=_0x1f66bc,this[_0x5dbf45(0x16c)]=_0x8511b3,this['_permissionService']=_0x405386,this[_0x5dbf45(0x33d)]=_0x44b1a3,this[_0x5dbf45(0x3e2)]=_0x2cc4ea);}get[_0x444a1b(0x1e2)](){return this['_state'];}async[_0x444a1b(0x450)](){var _0x20f893=_0x444a1b;if(this[_0x20f893(0x1e2)])throw new Error(_0x20f893(0x336));await this[_0x20f893(0x164)]();}[_0x444a1b(0x3bb)](){var _0x397317=_0x444a1b;return this[_0x397317(0x24b)]=!0x0,_0x184565(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x444a1b(0x20c)](_0x2e9a44){this['_onLocalMutation'](_0x2e9a44);}[_0x444a1b(0x27a)](_0x35ff86){var _0x4060ca=_0x444a1b;this['_state']=_0x35ff86,this[_0x4060ca(0x298)][_0x4060ca(0x3f6)](_0x35ff86);}async[_0x444a1b(0x164)](){var _0x1d25bb=_0x444a1b,_0x47968e;this[_0x1d25bb(0x27a)](await this['_createInitialState']()),this[_0x1d25bb(0x33d)]&&((_0x47968e=this[_0x1d25bb(0x33d)])==null||_0x47968e[_0x1d25bb(0x405)](this[_0x1d25bb(0x38b)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x1d25bb(0x217)](this[_0x1d25bb(0x38b)])[_0x1d25bb(0x24d)](_0x1f5d12=>{var _0x3f2b5c=_0x1d25bb;this['_logService'][_0x3f2b5c(0x194)](_0x3f2b5c(0x451),'editing\x20status\x20changed\x20to',_0x1f5d12),_0x1f5d12===gi['OTHER_CLIENTS_EDITING']?(this[_0x3f2b5c(0x3da)][_0x3f2b5c(0x169)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x3f2b5c(0x30d)]['updatePermissionPoint'](new _0x32a2ab(this['unitID'])['id'],!0x1),this[_0x3f2b5c(0x30d)][_0x3f2b5c(0x249)](!0x1)):(this[_0x3f2b5c(0x30d)][_0x3f2b5c(0x429)](new _0x32a2ab(this['unitID'])['id'],!0x0),this[_0x3f2b5c(0x30d)][_0x3f2b5c(0x249)](!0x0));})));let _0x1ac076=!0x1;return this[_0x1d25bb(0x301)](this['session'][_0x1d25bb(0x40c)][_0x1d25bb(0x24d)](_0x3daeb4=>{var _0x1f63b5=_0x1d25bb;_0x3daeb4===ge['ONLINE']?this[_0x1f63b5(0x20f)](_0x1ac076):_0x3daeb4===ge[_0x1f63b5(0x35f)]&&(_0x1ac076=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x1d25bb(0x3c1)][_0x1d25bb(0x26e)]['subscribe'](_0x24e4eb=>{var _0x57c18e=_0x1d25bb;try{switch(_0x24e4eb[_0x57c18e(0x33b)]){case _0x54c106['NEW_CHANGESETS']:{this[_0x57c18e(0x193)](_0x4fbdb8(_0x24e4eb[_0x57c18e(0x370)]));break;}case _0x54c106[_0x57c18e(0x40b)]:{this[_0x57c18e(0x3fa)](_0x24e4eb[_0x57c18e(0x370)]);break;}case _0x54c106['CHANGESET_REJ']:{this[_0x57c18e(0x350)]();break;}case _0x54c106['CHANGESET_SHOULD_RETRY']:{this[_0x57c18e(0x297)](_0x24e4eb['data']);break;}case _0x54c106[_0x57c18e(0x1c4)]:{this[_0x57c18e(0x434)](_0x24e4eb['data'][_0x57c18e(0x1b1)][_0x57c18e(0x3c4)](_0x2ad6d7=>_0x4fbdb8(_0x2ad6d7)));break;}case _0x54c106[_0x57c18e(0x254)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x54c106['UNISCRIPT_RUN']:break;}}catch(_0x461372){throw console[_0x57c18e(0x231)]('Error\x20on\x20receiving\x20event',_0x461372),_0x461372;}})),this['_state'];}[_0x444a1b(0x213)](){var _0x261b0c=_0x444a1b;this[_0x261b0c(0x2a0)]=!0x1;}[_0x444a1b(0x43e)](){var _0x16e779=_0x444a1b;if(this['_transitionLocked'])throw new Error(_0x16e779(0x1c1));this[_0x16e779(0x2a0)]=!0x0;}[_0x444a1b(0x23c)](_0x3b206c){var _0x40952e=_0x444a1b;this[_0x40952e(0x43e)](),this['_updateState'](this['_state'][_0x40952e(0x275)](_0x3b206c)),this['_unlockTransition']();}[_0x444a1b(0x193)](_0x2e2382){var _0x72f477=_0x444a1b;if(!(_0x2e2382['revision']<=this['_revisionService'][_0x72f477(0x162)](this['unitID']))){if(this[_0x72f477(0x24b)]){this['_remoteChangesetQueue']['push'](_0x2e2382);return;}this[_0x72f477(0x43c)](_0x2e2382);}}[_0x444a1b(0x2ac)](){var _0x1d34ad=_0x444a1b;this[_0x1d34ad(0x2e9)][_0x1d34ad(0x24c)](_0x45f1ca=>this[_0x1d34ad(0x43c)](_0x45f1ca)),this[_0x1d34ad(0x2e9)]=[];}['_applyRemoteChangeset'](_0x241552){var _0x477b60=_0x444a1b;const _0xb7e5e9=this[_0x477b60(0x28a)][_0x477b60(0x2ab)][_0x477b60(0x2bc)](this[_0x477b60(0x28a)][_0x477b60(0x2ab)]['getInterceptPoints']()[_0x477b60(0x2b9)])(_0x241552['mutations'],null)||_0x241552['mutations'],_0x1b9bb6={..._0x241552,'mutations':_0xb7e5e9};this[_0x477b60(0x43e)](),this[_0x477b60(0x27a)](this[_0x477b60(0x3f8)][_0x477b60(0x182)](_0x1b9bb6)),this[_0x477b60(0x213)]();}[_0x444a1b(0x3fa)](_0x3a7272){var _0x26bd5a=_0x444a1b;this[_0x26bd5a(0x43e)](),this[_0x26bd5a(0x27a)](this[_0x26bd5a(0x3f8)][_0x26bd5a(0x1a3)](_0x3a7272)),this[_0x26bd5a(0x213)]();}[_0x444a1b(0x350)](_0x658c0a){var _0x1da1ea=_0x444a1b;this[_0x1da1ea(0x43e)](),this[_0x1da1ea(0x27a)](this[_0x1da1ea(0x3f8)]['onRemoteRej'](_0x658c0a)),this['_unlockTransition']();}['_onRemoteRetry'](_0x3dbd8e){var _0x1821fd=_0x444a1b;this[_0x1821fd(0x43e)](),this[_0x1821fd(0x27a)](this[_0x1821fd(0x3f8)][_0x1821fd(0x391)](_0x3dbd8e)),this[_0x1821fd(0x213)]();}[_0x444a1b(0x434)](_0x288b41){var _0x15b4dd=_0x444a1b;if(!(this[_0x15b4dd(0x3f8)]instanceof Q))throw new TypeError(_0x15b4dd(0x210));const _0x375518=_0x288b41[_0x15b4dd(0x3c4)](_0x3dd45c=>{var _0x5dc4fa=_0x15b4dd;const _0xa0a57c=this[_0x5dc4fa(0x28a)]['interceptor'][_0x5dc4fa(0x2bc)](this[_0x5dc4fa(0x28a)][_0x5dc4fa(0x2ab)][_0x5dc4fa(0x425)]()[_0x5dc4fa(0x2b9)])(_0x3dd45c['mutations'],null)||_0x3dd45c[_0x5dc4fa(0x268)];return{..._0x3dd45c,'mutations':_0xa0a57c};});this[_0x15b4dd(0x43e)](),this['_updateState'](this[_0x15b4dd(0x3f8)][_0x15b4dd(0x151)](_0x375518)),this[_0x15b4dd(0x213)]();}[_0x444a1b(0x1ea)](){var _0x59d528=_0x444a1b;this['_lockTransition'](),this[_0x59d528(0x27a)](this[_0x59d528(0x3f8)]['toggleOffline']()),this[_0x59d528(0x213)]();}[_0x444a1b(0x20f)](_0x3d26a2=!0x1){var _0x3c6f98=_0x444a1b;this[_0x3c6f98(0x43e)](),this[_0x3c6f98(0x27a)](this['_state'][_0x3c6f98(0x18f)]()),this['_unlockTransition']();const _0x6f0d42=this['_state'];_0x3d26a2&&_0x6f0d42 instanceof ye&&(this[_0x3c6f98(0x43e)](),this[_0x3c6f98(0x27a)](_0x6f0d42[_0x3c6f98(0x2d0)]()),this[_0x3c6f98(0x213)]());}async[_0x444a1b(0x400)](){return new Promise(_0x81a7c9=>{var _0x22751d=_0x4432;this[_0x22751d(0x3c1)][_0x22751d(0x40c)][_0x22751d(0x332)](_0x344ae7(0x1))['subscribe'](async _0x5157c3=>{var _0x522a8f=_0x22751d;_0x81a7c9(await this[_0x522a8f(0x359)](_0x5157c3===ge[_0x522a8f(0x228)]));});});}['_createHandler'](){var _0x50141c=_0x444a1b;const _0x48acfe=this[_0x50141c(0x38b)];return{'onStateChange':(_0x1bef1c,_0x226047)=>{var _0x418da0=_0x50141c;if(_0x1bef1c!==this[_0x418da0(0x3f8)])throw new Error(_0x418da0(0x367)+_0x1bef1c[_0x418da0(0x40f)]+_0x418da0(0x2ca)+_0x226047[_0x418da0(0x40f)]+_0x418da0(0x245)+this[_0x418da0(0x3f8)][_0x418da0(0x40f)]);this[_0x418da0(0x27a)](_0x226047);},'onSendChangeset':_0x2032fa=>{var _0x13adc5=_0x50141c;_0x2032fa[_0x13adc5(0x329)]||(_0x2032fa[_0x13adc5(0x329)]=this['_changesetSessionId'],_0x2032fa[_0x13adc5(0x16b)]=++this[_0x13adc5(0x1ec)]);const _0x10355c={'eventID':_0x54c106[_0x13adc5(0x365)],'data':{'unitID':_0x2032fa['unitID'],'unitType':this[_0x13adc5(0x361)],'changeset':_0x2032fa,'memberID':this[_0x13adc5(0x3c1)]['getMemberID']()}};this['session'][_0x13adc5(0x1b6)](_0x10355c,this[_0x13adc5(0x38b)]);},'onMissingChangesets':({from:_0x1ff5e5,to:_0xef4e0f})=>{var _0x42ca51=_0x50141c;this[_0x42ca51(0x373)]['debug'](_0x42ca51(0x451),_0x42ca51(0x31a)+_0x1ff5e5+_0x42ca51(0x3ba)+_0xef4e0f);const _0x59b42f={'eventID':_0x54c106['FETCH_MISSING'],'data':{'unitID':_0x48acfe,'unitType':this[_0x42ca51(0x361)],'from':_0x1ff5e5,'to':_0xef4e0f}};this[_0x42ca51(0x3c1)]['send'](_0x59b42f,this[_0x42ca51(0x38b)]);}};}async[_0x444a1b(0x359)](_0x1fddb8){var _0x5715e7=_0x444a1b,_0x196857,_0x4da3c7,_0x39021d;const _0x2e331f=await((_0x196857=this['_localCacheService'])==null?void 0x0:_0x196857['loadOfflineData'](this[_0x5715e7(0x38b)])),_0x56f2cb=(_0x4da3c7=_0x2e331f==null?void 0x0:_0x2e331f[_0x5715e7(0x268)])!=null?_0x4da3c7:[],_0x208ce4=(_0x39021d=_0x2e331f==null?void 0x0:_0x2e331f[_0x5715e7(0x404)])!=null?_0x39021d:null,_0x2ddcde=!!(_0x208ce4!=null&&_0x208ce4[_0x5715e7(0x329)])&&!!(_0x208ce4!=null&&_0x208ce4[_0x5715e7(0x16b)]);this[_0x5715e7(0x1d6)]=_0x2ddcde?_0x208ce4[_0x5715e7(0x329)]:_0x9597d(),this[_0x5715e7(0x1ec)]=_0x2ddcde?_0x208ce4['reqId']:0x0;const _0x407b0e=this[_0x5715e7(0x38b)];try{this[_0x5715e7(0x42d)](_0x208ce4,_0x56f2cb);}catch(_0x5d4d45){this['_logService'][_0x5715e7(0x231)](_0x5d4d45);}const _0x1fc634=this[_0x5715e7(0x1c0)]();if(_0x1fddb8){const _0x376997=Ti(this[_0x5715e7(0x37c)],_0x407b0e,this['_type'],_0x208ce4,_0x56f2cb,_0x1fc634);return _0x376997 instanceof re?_0x376997['_schedule']():(_0x376997 instanceof ae||_0x376997 instanceof _e)&&_0x376997[_0x5715e7(0x2b0)](),_0x376997;}return this[_0x5715e7(0x37c)][_0x5715e7(0x1d0)](ue,_0x407b0e,this['_type'],_0x208ce4,_0x56f2cb,_0x1fc634);}[_0x444a1b(0x42d)](_0x48e433,_0x26e681){var _0x40a49d=_0x444a1b,_0x26cf6f,_0x9ea273;const _0x2d62a9=this[_0x40a49d(0x28a)][_0x40a49d(0x2ab)][_0x40a49d(0x2bc)](this[_0x40a49d(0x28a)]['interceptor'][_0x40a49d(0x425)]()[_0x40a49d(0x2b9)]);(_0x26cf6f=_0x2d62a9((_0x48e433==null?void 0x0:_0x48e433[_0x40a49d(0x268)])||[],null))==null||_0x26cf6f[_0x40a49d(0x24c)](_0x5ce64d=>this[_0x40a49d(0x16c)][_0x40a49d(0x313)](_0x5ce64d['id'],_0x5ce64d[_0x40a49d(0x42e)])),(_0x9ea273=_0x2d62a9(_0x26e681||[],null))==null||_0x9ea273['forEach'](_0x2121dd=>this[_0x40a49d(0x16c)][_0x40a49d(0x313)](_0x2121dd['id'],_0x2121dd[_0x40a49d(0x42e)]));}};st=wt([H(0x3,_0x4c9835(_0x23d06e)),H(0x4,_0x4c9835(_0x3ba705)),H(0x5,_0x4c9835(_0x5ba7f8)),H(0x6,_0x4c9835(_0x2e8c7c)),H(0x7,_0x4c9835(ve)),H(0x8,_0x241343),H(0x9,_0x4d4c1c),H(0xa,_0x392f08),H(0xb,_0x3c34a2(ht)),H(0xc,_0x3c34a2(J))],st);let St=class extends st{constructor(_0x59ee11,_0x501b95,_0xee03c5,_0x3822eb,_0x2654f5,_0x5c0663,_0x539fea,_0x40a770,_0x711720,_0x4e14d2,_0x3e48c5,_0x142324,_0x493871){var _0x67c9b8=_0x444a1b;super(_0x59ee11,_0xee03c5,_0x501b95,_0x3822eb,_0x2654f5,_0x5c0663,_0x539fea,_0x40a770,_0x711720,_0x4e14d2,_0x3e48c5,_0x142324,_0x493871),N(this,'_handlerCallback',null),(this[_0x67c9b8(0x38b)]=_0x59ee11,this['type']=_0x501b95);}[_0x444a1b(0x3e1)](_0xe59ad1){var _0x58fc83=_0x444a1b;this[_0x58fc83(0x1e5)]=_0xe59ad1;}[_0x444a1b(0x30e)](){var _0x4bd75d=_0x444a1b;this[_0x4bd75d(0x1e5)]=null,super[_0x4bd75d(0x30e)]();}[_0x444a1b(0x1c0)](){var _0x54999f=_0x444a1b;const _0x5b52c1=super[_0x54999f(0x1c0)]();return _0x5b52c1[_0x54999f(0x191)]=_0x3791cd=>{var _0x2a7661=_0x54999f,_0x6fdf3d,_0x27942d;return(_0x27942d=(_0x6fdf3d=this[_0x2a7661(0x1e5)])==null?void 0x0:_0x6fdf3d['onTransformIME'])==null?void 0x0:_0x27942d[_0x2a7661(0x1b2)](_0x6fdf3d,_0x3791cd);},_0x5b52c1['onTransformState']=_0x38f63d=>{var _0x57e848=_0x54999f,_0x259c1b,_0x4e309d;return(_0x4e309d=(_0x259c1b=this[_0x57e848(0x1e5)])==null?void 0x0:_0x259c1b[_0x57e848(0x2c0)])==null?void 0x0:_0x4e309d['call'](_0x259c1b,_0x38f63d);},_0x5b52c1[_0x54999f(0x1fa)]=_0x202475=>{var _0x26aedc=_0x54999f,_0xa0d609,_0x216124;return(_0x216124=(_0xa0d609=this[_0x26aedc(0x1e5)])==null?void 0x0:_0xa0d609[_0x26aedc(0x1fa)])==null?void 0x0:_0x216124['call'](_0xa0d609,_0x202475);},_0x5b52c1['onSyncEditingCollabCursor']=_0x38c4a1=>{var _0x4eef43=_0x54999f,_0xaf3b87,_0x1ce362;return(_0x1ce362=(_0xaf3b87=this[_0x4eef43(0x1e5)])==null?void 0x0:_0xaf3b87[_0x4eef43(0x3db)])==null?void 0x0:_0x1ce362[_0x4eef43(0x1b2)](_0xaf3b87,_0x38c4a1);},_0x5b52c1['onTransformRemoteChangesetByIMECache']=_0x154791=>{var _0x1f7cca=_0x54999f,_0x2dfed2,_0x41142f,_0x455bd2;if(!((_0x2dfed2=this[_0x1f7cca(0x1e5)])!=null&&_0x2dfed2[_0x1f7cca(0x243)]))throw new Error(_0x1f7cca(0x1bd));return(_0x455bd2=(_0x41142f=this[_0x1f7cca(0x1e5)])==null?void 0x0:_0x41142f['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x455bd2[_0x1f7cca(0x1b2)](_0x41142f,_0x154791);},_0x5b52c1[_0x54999f(0x3b5)]=_0x63848a=>{var _0x3e5b45=_0x54999f,_0x4561dd,_0x554b7a,_0xe40e50;if(!((_0x4561dd=this[_0x3e5b45(0x1e5)])!=null&&_0x4561dd[_0x3e5b45(0x3b5)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xe40e50=(_0x554b7a=this['_handlerCallback'])==null?void 0x0:_0x554b7a['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xe40e50[_0x3e5b45(0x1b2)](_0x554b7a,_0x63848a);},_0x5b52c1;}async[_0x444a1b(0x164)](){var _0x4beb70=_0x444a1b;const _0x4a3e22=await super['_init']();return this[_0x4beb70(0x301)](this[_0x4beb70(0x16c)]['onCommandExecuted']((_0x22ddb9,_0x2fa985)=>{var _0x2f87a8=_0x4beb70;if(_0x22ddb9[_0x2f87a8(0x3ec)]!==_0x4abcaf[_0x2f87a8(0x37e)]||_0x2fa985!=null&&_0x2fa985[_0x2f87a8(0x38f)]||_0x2fa985!=null&&_0x2fa985['onlyLocal']||_0x22ddb9['id']===_0x4c1fc9['id'])return;const _0x35376f=_0x22ddb9[_0x2f87a8(0x42e)];if((_0x35376f==null?void 0x0:_0x35376f[_0x2f87a8(0x38e)])!==this[_0x2f87a8(0x38b)])return;const _0x50a31a=_0x22ddb9,_0x2976ed=this['_compressMutationService'][_0x2f87a8(0x2ab)][_0x2f87a8(0x2bc)](this['_compressMutationService'][_0x2f87a8(0x2ab)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x50a31a],null)||[_0x50a31a];this[_0x2f87a8(0x23c)](_0x2976ed[0x0]);})),_0x4a3e22;}};St=wt([H(0x3,_0x4c9835(_0x23d06e)),H(0x4,_0x4c9835(_0x3ba705)),H(0x5,_0x4c9835(_0x5ba7f8)),H(0x6,_0x4c9835(_0x2e8c7c)),H(0x7,_0x4c9835(ve)),H(0x8,_0x241343),H(0x9,_0x4d4c1c),H(0xa,_0x392f08),H(0xb,_0x3c34a2(ht)),H(0xc,_0x3c34a2(J))],St);let Et=class extends st{constructor(_0x1e87cf,_0x494916,_0x4b55ea,_0x360c7f,_0xb6b60d,_0x5d864f,_0x57ed4b,_0x4c3f93,_0x5420a9,_0x28f13c,_0x499e5b,_0x3dee50,_0x16bf59,_0xc19132){var _0x27daa6=_0x444a1b;super(_0x1e87cf,_0x4b55ea,_0x494916,_0x360c7f,_0xb6b60d,_0x5d864f,_0x57ed4b,_0x5420a9,_0x28f13c,_0x499e5b,_0x3dee50,_0x16bf59,_0xc19132),this['unitID']=_0x1e87cf,this['type']=_0x494916,this[_0x27daa6(0x32b)]=_0x4c3f93;}[_0x444a1b(0x1c0)](){var _0x5a5e46=_0x444a1b;const _0x1e1c68=super[_0x5a5e46(0x1c0)]();return _0x1e1c68[_0x5a5e46(0x1fa)]=_0x5f1e0a=>this[_0x5a5e46(0x32b)]['transformSelections'](_0x5f1e0a),_0x1e1c68;}async['_init'](){var _0x2d8a72=_0x444a1b;const _0x557640=await super[_0x2d8a72(0x164)]();return this[_0x2d8a72(0x301)](this[_0x2d8a72(0x16c)][_0x2d8a72(0x447)]((_0x12dad2,_0x34199c)=>{var _0x2ebed4=_0x2d8a72;if(_0x12dad2[_0x2ebed4(0x3ec)]!==_0x4abcaf[_0x2ebed4(0x37e)]||_0x34199c!=null&&_0x34199c[_0x2ebed4(0x38f)]||_0x34199c!=null&&_0x34199c['onlyLocal'])return;const _0x3c74c1=_0x12dad2['params'];if((_0x3c74c1==null?void 0x0:_0x3c74c1[_0x2ebed4(0x38e)])!==this[_0x2ebed4(0x38b)])return;const _0xd0805a=_0x12dad2,_0x39ae3b=this[_0x2ebed4(0x28a)][_0x2ebed4(0x2ab)][_0x2ebed4(0x2bc)](this[_0x2ebed4(0x28a)]['interceptor'][_0x2ebed4(0x425)]()['COMPRESS_MUTATION_SEND'])([_0xd0805a],null)||[_0xd0805a];this[_0x2ebed4(0x23c)](_0x39ae3b[0x0]);})),_0x557640;}};Et=wt([H(0x3,_0x4c9835(_0x23d06e)),H(0x4,_0x4c9835(_0x3ba705)),H(0x5,_0x4c9835(_0x5ba7f8)),H(0x6,_0x4c9835(_0x2e8c7c)),H(0x7,_0x4c9835(it)),H(0x8,_0x4c9835(ve)),H(0x9,_0x241343),H(0xa,_0x4d4c1c),H(0xb,_0x392f08),H(0xc,_0x3c34a2(ht)),H(0xd,_0x3c34a2(J))],Et);const js=_0x4aa3de(_0x444a1b(0x1ef));function Fs(_0x103f73){var _0x48ebb3=_0x444a1b,_0x19295e,_0x2d8e81,_0x27aa8d,_0x4c7181,_0x109efa;const _0x2396aa=_0x103f73['data'],_0x3d58e4=JSON['parse'](_0x2396aa);switch(_0x3d58e4[_0x48ebb3(0x19d)]){case F[_0x48ebb3(0x190)]:case F[_0x48ebb3(0x16e)]:{const _0x771515=_0x3d58e4[_0x48ebb3(0x44b)];return{..._0x3d58e4,'data':_0x771515,'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};}case F[_0x48ebb3(0x2c1)]:{const _0xd0bb99=_0x3d58e4[_0x48ebb3(0x209)];return{..._0x3d58e4,'data':_0xd0bb99,'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};}case F[_0x48ebb3(0x39e)]:{const _0x5855ba=_0x3d58e4[_0x48ebb3(0x324)];switch(_0x5855ba[_0x48ebb3(0x33b)]){case _0x54c106[_0x48ebb3(0x254)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':(_0x19295e=_0x5855ba[_0x48ebb3(0x3bd)])==null?void 0x0:_0x19295e['cs']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106['CHANGESET_ACK']:return{..._0x3d58e4,'data':{..._0x5855ba,'data':(_0x2d8e81=_0x5855ba[_0x48ebb3(0x253)])==null?void 0x0:_0x2d8e81['cs']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x1fe)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':(_0x27aa8d=_0x5855ba['newCsEvent'])==null?void 0x0:_0x27aa8d['cs']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x2e8)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':(_0x4c7181=_0x5855ba[_0x48ebb3(0x2f5)])==null?void 0x0:_0x4c7181['cs']},'cmd':_0x3d58e4['cmd']};case _0x54c106[_0x48ebb3(0x1ce)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':(_0x109efa=_0x5855ba[_0x48ebb3(0x24a)])==null?void 0x0:_0x109efa['cs']},'cmd':_0x3d58e4['cmd']};case _0x54c106[_0x48ebb3(0x1f4)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba[_0x48ebb3(0x1a6)]},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x263)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba[_0x48ebb3(0x3cb)]},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x3fd)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba[_0x48ebb3(0x3ca)]},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106['LIVESHARE_NEW_HOST']:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba['liveShareNewHost']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x3a6)]:case _0x54c106[_0x48ebb3(0x282)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba['liveShareOperation']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x1ab)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba[_0x48ebb3(0x316)]},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106['MSG_FOR_ERROR']:return{..._0x3d58e4,'data':_0x5855ba,'cmd':_0x3d58e4['cmd']};case _0x54c106[_0x48ebb3(0x1e7)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba[_0x48ebb3(0x3e4)]},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106['UPDATE_PERMISSION_OBJ']:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba['updatePermissionObjEvent']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106[_0x48ebb3(0x2d2)]:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba['shouldCloseConn']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};case _0x54c106['UNISCRIPT_RUN']:return{..._0x3d58e4,'data':{..._0x5855ba,'data':_0x5855ba['uniscriptRunEvent']},'cmd':_0x3d58e4[_0x48ebb3(0x19d)]};default:return _0x3d58e4;}}default:return _0x3d58e4;}}function Vs(_0x59870b){var _0x53418f=_0x444a1b;switch(_0x59870b[_0x53418f(0x19d)]){case F[_0x53418f(0x190)]:case F['HELLO']:return JSON[_0x53418f(0x383)]({'cmd':_0x59870b[_0x53418f(0x19d)],'routeKey':_0x59870b[_0x53418f(0x2ef)]});case F[_0x53418f(0x25e)]:{let _0x18ae6a;switch(_0x59870b[_0x53418f(0x370)][_0x53418f(0x33b)]){case _0x54c106[_0x53418f(0x1f4)]:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x1f4)],'updateCursorEvent':_0x59870b[_0x53418f(0x370)]['data']};break;}case _0x54c106[_0x53418f(0x3fd)]:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x3fd)],'leaveEvent':_0x59870b['data']['data']};break;}case _0x54c106[_0x53418f(0x263)]:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x263)],'joinEvent':_0x59870b[_0x53418f(0x370)][_0x53418f(0x370)]};break;}case _0x54c106['LIVESHARE_NEW_HOST']:{_0x18ae6a={'eventID':_0x54c106['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x59870b[_0x53418f(0x370)][_0x53418f(0x370)]};break;}case _0x54c106[_0x53418f(0x282)]:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x282)],'liveShareOperation':_0x59870b[_0x53418f(0x370)]['data']};break;}case _0x54c106[_0x53418f(0x1ab)]:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x1ab)],'liveShareTerminate':_0x59870b[_0x53418f(0x370)][_0x53418f(0x370)]};break;}case _0x54c106[_0x53418f(0x2e7)]:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x2e7)],'liveShareRequestHost':_0x59870b['data']['data']};break;}case _0x54c106['LIVESHARE_FETCH_OPERATIONS']:{_0x18ae6a={'eventID':_0x54c106[_0x53418f(0x3a6)]};break;}default:_0x18ae6a={'eventID':_0x59870b[_0x53418f(0x370)][_0x53418f(0x33b)]};}return JSON[_0x53418f(0x383)]({'cmd':_0x59870b['cmd'],'routeKey':_0x59870b[_0x53418f(0x2ef)],'collaMsg':_0x18ae6a});}case F['JOIN']:return JSON['stringify']({'cmd':_0x59870b[_0x53418f(0x19d)],'routeKey':_0x59870b[_0x53418f(0x2ef)],'joinReq':_0x59870b[_0x53418f(0x370)]});case F[_0x53418f(0x349)]:return JSON['stringify']({'cmd':_0x59870b['cmd'],'routeKey':_0x59870b[_0x53418f(0x2ef)],'leaveReq':_0x59870b[_0x53418f(0x370)]});default:throw new Error(_0x53418f(0x3cf));}}var Ws=Object[_0x444a1b(0x30c)],Gs=(_0x57a383,_0x24092c,_0x41adca,_0xf2038d)=>{var _0x243dee=_0x444a1b;for(var _0x1ef7bb=_0xf2038d>0x1?void 0x0:_0xf2038d?Ws(_0x24092c,_0x41adca):_0x24092c,_0xc9af00=_0x57a383[_0x243dee(0x2a3)]-0x1,_0x3ad7ef;_0xc9af00>=0x0;_0xc9af00--)(_0x3ad7ef=_0x57a383[_0xc9af00])&&(_0x1ef7bb=_0x3ad7ef(_0x1ef7bb)||_0x1ef7bb);return _0x1ef7bb;},De=(_0x969770,_0x88a0fc)=>(_0xe1d059,_0x7d03e4)=>_0x88a0fc(_0xe1d059,_0x7d03e4,_0x969770);const Ci=_0x4aa3de(_0x444a1b(0x290));function Ys(_0x365a9b,_0x4e86a3,_0x11829b){var _0x4dd5cb=_0x444a1b;return _0x365a9b+'/'+_0x4e86a3+_0x4dd5cb(0x17c)+_0x11829b+_0x4dd5cb(0x29c);}let Gt=class extends _0x53ec80{constructor(_0x522d5a,_0x4b5299,_0x36683f,_0x1ea63b,_0x4dba59){var _0xdc5cb0=_0x444a1b;super(),this[_0xdc5cb0(0x37c)]=_0x522d5a,this[_0xdc5cb0(0x186)]=_0x4b5299,this[_0xdc5cb0(0x2cc)]=_0x36683f,this[_0xdc5cb0(0x373)]=_0x1ea63b,this[_0xdc5cb0(0x3a4)]=_0x4dba59;}[_0x444a1b(0x428)](_0x56458f){var _0x1ac8c3=_0x444a1b;const _0x2c0e43=this[_0x1ac8c3(0x37c)][_0x1ac8c3(0x433)](_0x2058b3);if(!_0x2c0e43)throw new Error(_0x1ac8c3(0x2ed));const _0x51f0e0=_0x2c0e43[_0x1ac8c3(0x1f6)](_0x56458f);if(!_0x51f0e0)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x12cea4=new _0x2791b7(),_0x5680fd=new _0x3f9e9d();_0x12cea4[_0x1ac8c3(0x1d9)](_0x51f0e0[_0x1ac8c3(0x211)]['subscribe'](_0x3519bc=>_0x5680fd[_0x1ac8c3(0x3f6)](_0x3519bc))),_0x12cea4['add'](_0x184565(()=>_0x5680fd[_0x1ac8c3(0x438)]()));const _0x5c0833=new _0x3f9e9d();_0x12cea4[_0x1ac8c3(0x1d9)](_0x51f0e0['error$'][_0x1ac8c3(0x24d)](_0x1b75eb=>_0x5c0833[_0x1ac8c3(0x3f6)](_0x1b75eb))),_0x12cea4[_0x1ac8c3(0x1d9)](_0x184565(()=>_0x5c0833[_0x1ac8c3(0x438)]()));const _0x484c0d=new _0x3f9e9d();_0x12cea4[_0x1ac8c3(0x1d9)](_0x51f0e0[_0x1ac8c3(0x287)]['subscribe'](_0xcdfab6=>{var _0x71622c=_0x1ac8c3;const _0x997a7b=Fs(_0xcdfab6);_0x484c0d[_0x71622c(0x3f6)](_0x997a7b);})),_0x12cea4[_0x1ac8c3(0x1d9)](_0x184565(()=>_0x484c0d[_0x1ac8c3(0x438)]()));let _0x5a6012;const _0x1da0dd=()=>{var _0x1e7fc9=_0x1ac8c3;_0x5c0833['next'](new Event('connection\x20error')),_0x5680fd[_0x1e7fc9(0x3f6)](new Event(_0x1e7fc9(0x303))),_0x5a6012[_0x1e7fc9(0x1d3)]();};return _0x5a6012={'memberID':'','close$':_0x5680fd['asObservable'](),'error$':_0x5c0833[_0x1ac8c3(0x291)](),'open$':_0x51f0e0[_0x1ac8c3(0x3d5)],'message$':_0x484c0d[_0x1ac8c3(0x291)](),'send':_0x23fd47=>{var _0x4c55cd=_0x1ac8c3;if(_0x23fd47[_0x4c55cd(0x19d)]===F[_0x4c55cd(0x25e)]){if(_0x23fd47[_0x4c55cd(0x370)]['eventID']===_0x54c106[_0x4c55cd(0x365)]){this['_submitChangeset'](_0x5a6012,_0x23fd47[_0x4c55cd(0x370)])['catch'](_0x1e7034=>{var _0x49e127=_0x4c55cd;this[_0x49e127(0x373)][_0x49e127(0x231)](_0x1e7034),_0x1da0dd();});return;}if(_0x23fd47[_0x4c55cd(0x370)][_0x4c55cd(0x33b)]===_0x54c106[_0x4c55cd(0x205)]){const _0x421ca4=_0x23fd47['data'];this[_0x4c55cd(0x167)](_0x421ca4)[_0x4c55cd(0x3a3)](_0x4e7ea7=>{var _0x401945=_0x4c55cd;_0x484c0d[_0x401945(0x3f6)]({'cmd':F[_0x401945(0x39e)],'code':pe['OK'],'routeKey':_0x421ca4[_0x401945(0x370)][_0x401945(0x38b)],'routeType':'','data':{'eventID':_0x54c106[_0x401945(0x1c4)],'data':{'changesets':_0x4e7ea7}}});})[_0x4c55cd(0x30a)](_0x25daca=>{var _0x4e3764=_0x4c55cd;this[_0x4e3764(0x373)]['error'](_0x25daca),_0x1da0dd();});return;}}_0x51f0e0[_0x4c55cd(0x1b6)](Vs(_0x23fd47));},'close':()=>{var _0x33e42b=_0x1ac8c3;_0x51f0e0[_0x33e42b(0x1d3)](),_0x12cea4[_0x33e42b(0x30e)]();}},_0x5a6012;}async[_0x444a1b(0x311)](_0x1de744,_0x3a5263){var _0x5025b7=_0x444a1b,_0x22f46a;const {unitType:_0x3c6e30,unitID:_0x804611,changeset:_0x47d537}=_0x3a5263['data'],_0x1dbf61={'unitID':_0x804611,'memberID':_0x1de744[_0x5025b7(0x2b5)],'type':_0x3c6e30,'changeset':_0x534888(_0x47d537)},_0x1ce510=this[_0x5025b7(0x2cc)][_0x5025b7(0x2d8)](K),_0x4340e4=Ys((_0x22f46a=_0x1ce510==null?void 0x0:_0x1ce510['collabSubmitChangesetUrl'])!=null?_0x22f46a:Cs,_0x3c6e30,_0x804611);try{await this[_0x5025b7(0x186)][_0x5025b7(0x2e0)](_0x4340e4,{'body':_0x1dbf61});}catch(_0xa256ea){throw this[_0x5025b7(0x373)][_0x5025b7(0x231)](_0x5025b7(0x2ea),_0x5025b7(0x21d)),_0xa256ea;}}async[_0x444a1b(0x167)](_0x38a7d4){var _0x526d24=_0x444a1b;const {unitID:_0xa49f0d,from:_0x46a32c,to:_0x1eb472,unitType:_0x238114}=_0x38a7d4[_0x526d24(0x370)];return(await this['_snapshotServerService'][_0x526d24(0x252)]({'metadata':void 0x0},{'unitID':_0xa49f0d,'type':_0x238114,'from':_0x46a32c,'to':_0x1eb472}))[_0x526d24(0x1b1)];}};Gt=Gs([De(0x0,_0x4c9835(_0x23d06e)),De(0x1,_0x4c9835(_0x456bb1)),De(0x2,_0x3f29b9),De(0x3,_0x241343),De(0x4,_0x4d287d)],Gt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x4b97e3,_0x56e6c4,_0xeb87ed,_0x5dac59)=>{for(var _0x1356bd=_0x5dac59>0x1?void 0x0:_0x5dac59?Ks(_0x56e6c4,_0xeb87ed):_0x56e6c4,_0x484e34=_0x4b97e3['length']-0x1,_0x523366;_0x484e34>=0x0;_0x484e34--)(_0x523366=_0x4b97e3[_0x484e34])&&(_0x1356bd=_0x523366(_0x1356bd)||_0x1356bd);return _0x1356bd;},Re=(_0x53579b,_0x1fc2f7)=>(_0x3d98af,_0x4279b1)=>_0x1fc2f7(_0x3d98af,_0x4279b1,_0x53579b);let Pe=class extends _0x53ec80{constructor(_0x5becf1,_0x5adf78,_0x4b27b2,_0x39e522,_0x14865a,_0x5c43a5){var _0x1aa517=_0x444a1b;super(),N(this,_0x1aa517(0x32f),new _0x38c4c7(void 0x0)),N(this,_0x1aa517(0x392),this[_0x1aa517(0x32f)][_0x1aa517(0x291)]()),N(this,'_candidateSocket',null),N(this,_0x1aa517(0x3fb),new Map()),N(this,_0x1aa517(0x395),new _0x38c4c7(ge['IDLE'])),N(this,_0x1aa517(0x289),this['_status$'][_0x1aa517(0x291)]()),N(this,_0x1aa517(0x271),!0x1),N(this,_0x1aa517(0x403)),N(this,'_retryCount',0x0),N(this,_0x1aa517(0x215)),N(this,_0x1aa517(0x1dd)),(this[_0x1aa517(0x37c)]=_0x5becf1,this[_0x1aa517(0x373)]=_0x5adf78,this[_0x1aa517(0x2cc)]=_0x4b27b2,this['_socketService']=_0x39e522,this[_0x1aa517(0x3e5)]=_0x14865a,this[_0x1aa517(0x29f)]=_0x5c43a5,this[_0x1aa517(0x3b1)]());}get[_0x444a1b(0x28d)](){var _0x3fe596=_0x444a1b;return this[_0x3fe596(0x32f)][_0x3fe596(0x2dd)]();}['_listenToNetworkCondition'](){var _0x4f0a4e=_0x444a1b;this[_0x4f0a4e(0x29f)]&&this[_0x4f0a4e(0x301)](this['_networkConditionService'][_0x4f0a4e(0x258)][_0x4f0a4e(0x24d)](_0x442a39=>{var _0x4560df=_0x4f0a4e;_0x442a39&&!this[_0x4560df(0x28d)]&&this[_0x4560df(0x163)](),_0x442a39||this[_0x4560df(0x2a6)]();}));}['dispose'](){var _0x3b5021=_0x444a1b;super[_0x3b5021(0x30e)](),this[_0x3b5021(0x2ce)](),this[_0x3b5021(0x375)](),this[_0x3b5021(0x1b4)](),this[_0x3b5021(0x3fb)][_0x3b5021(0x24c)](_0x307132=>_0x307132[_0x3b5021(0x30e)]()),this['_sessions']['clear'](),this[_0x3b5021(0x395)][_0x3b5021(0x438)]();}async[_0x444a1b(0x318)](_0x39dde0){var _0x1bb72a=_0x444a1b;if(this[_0x1bb72a(0x3fb)][_0x1bb72a(0x264)](_0x39dde0))return this[_0x1bb72a(0x3fb)][_0x1bb72a(0x433)](_0x39dde0);this['_tryEnsureSocket']();const _0x3096a6=this['_injector'][_0x1bb72a(0x1d0)](gt,_0x39dde0,this[_0x1bb72a(0x32f)][_0x1bb72a(0x291)]());return this['_sessions'][_0x1bb72a(0x284)](_0x39dde0,_0x3096a6),_0x3096a6;}[_0x444a1b(0x2b4)](_0x168479){var _0x1262f6=_0x444a1b,_0x1fd4e4;const _0x599f9d=this[_0x1262f6(0x3fb)]['get'](_0x168479);_0x599f9d&&(this[_0x1262f6(0x3fb)][_0x1262f6(0x44d)](_0x168479),_0x599f9d['close']()),this[_0x1262f6(0x3fb)]['size']||(_0x1fd4e4=this[_0x1262f6(0x28d)])==null||_0x1fd4e4[_0x1262f6(0x1d3)]();}[_0x444a1b(0x163)](){var _0x2c466c=_0x444a1b;this['_retryCount']=0x0,this[_0x2c466c(0x2ce)](),this[_0x2c466c(0x2eb)]();}['_clearRetryConnectingTimer'](){var _0x94b2be=_0x444a1b;this[_0x94b2be(0x403)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x94b2be(0x403)]=null);}async['_createSocket'](){var _0x550a0b=_0x444a1b,_0x3b15c6;const _0x37dd5a=this[_0x550a0b(0x2cc)][_0x550a0b(0x2d8)](K),_0xf03ec9=(_0x3b15c6=_0x37dd5a==null?void 0x0:_0x37dd5a['collabWebSocketUrl'])!=null?_0x3b15c6:ms,_0x357544=await this[_0x550a0b(0x39c)]['createSocket'](_0xf03ec9);return this[_0x550a0b(0x15e)]=_0x357544,_0x357544;}async[_0x444a1b(0x222)](){var _0xf1a6ae=_0x444a1b,_0xdf0e65,_0x161593;try{const _0x2551ff=(_0x161593=(_0xdf0e65=this['_socket'])!=null?_0xdf0e65:this['_candidateSocket'])!=null?_0x161593:await this[_0xf1a6ae(0x43d)]();if(_0x2551ff){const _0x5dff9c=_0x2551ff[_0xf1a6ae(0x1b6)];_0x2551ff[_0xf1a6ae(0x1b6)]=_0x577cb1=>(this[_0xf1a6ae(0x2a2)](),_0x5dff9c[_0xf1a6ae(0x1dc)](_0x2551ff,[_0x577cb1])),_0x2551ff[_0xf1a6ae(0x287)]['subscribe'](_0x4047f8=>this['_onMessage'](_0x2551ff,_0x4047f8)),_0x2551ff[_0xf1a6ae(0x36b)][_0xf1a6ae(0x332)](_0x220a03(0x1))[_0xf1a6ae(0x24d)](_0x45e28b=>this[_0xf1a6ae(0x373)][_0xf1a6ae(0x231)](_0xf1a6ae(0x246),_0x45e28b)),_0x2551ff['open$'][_0xf1a6ae(0x332)](_0x220a03(0x1))[_0xf1a6ae(0x24d)](()=>{var _0x4d8ee9=_0xf1a6ae;this[_0x4d8ee9(0x1a5)](_0x2551ff);}),_0x2551ff[_0xf1a6ae(0x211)][_0xf1a6ae(0x332)](_0x220a03(0x1))[_0xf1a6ae(0x24d)](_0xb48376=>{var _0x4cf3de=_0xf1a6ae;this['_logService'][_0x4cf3de(0x194)](_0x4cf3de(0x1f5),_0x4cf3de(0x343),_0xb48376),this[_0x4cf3de(0x32c)]();});}}catch(_0x357a71){this['_logService'][_0xf1a6ae(0x231)](_0x357a71),this[_0xf1a6ae(0x32c)]();}}[_0x444a1b(0x1a5)](_0x491b82){var _0x58f0ae=_0x444a1b;this[_0x58f0ae(0x373)][_0x58f0ae(0x194)](_0x58f0ae(0x1f5),_0x58f0ae(0x1be)),_0x491b82[_0x58f0ae(0x1b6)]({'cmd':F[_0x58f0ae(0x16e)]}),this[_0x58f0ae(0x2a2)]();}[_0x444a1b(0x2a6)](){var _0x32c0c3=_0x444a1b;this[_0x32c0c3(0x271)]=!0x1,this[_0x32c0c3(0x15e)]=null,this['_status$']['next'](ge[_0x32c0c3(0x35f)]),this['_socket$'][_0x32c0c3(0x3f6)](null),this[_0x32c0c3(0x375)](),this[_0x32c0c3(0x1b4)]();}[_0x444a1b(0x32c)](){var _0x464b74=_0x444a1b,_0x52b535;this['_onOffline'](),this['_retryCount']<((_0x52b535=this[_0x464b74(0x2cc)][_0x464b74(0x2d8)](Is))!=null?_0x52b535:Ts)?(this[_0x464b74(0x3e5)][_0x464b74(0x169)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x464b74(0x3e5)][_0x464b74(0x169)]({'id':ne[_0x464b74(0x150)]});}['_tryReconnect'](){var _0x19dccf=_0x444a1b,_0x5ddded;const _0x5734fe=this[_0x19dccf(0x3a1)],_0x187cf4=this[_0x19dccf(0x2cc)]['getConfig'](K),_0x3a139f=_0x5734fe===0x0?0x0:((_0x5ddded=_0x187cf4==null?void 0x0:_0x187cf4['retryConnectingInterval'])!=null?_0x5ddded:Es)*0x2**_0x5734fe;this[_0x19dccf(0x403)]=setTimeout(()=>{var _0x1c15dc=_0x19dccf;clearTimeout(this[_0x1c15dc(0x403)]),this[_0x1c15dc(0x403)]=null,this[_0x1c15dc(0x222)]();},_0x3a139f),this['_retryCount']+=0x1;}[_0x444a1b(0x320)](_0x37d7e1,_0x573453){var _0x2cb509=_0x444a1b;const {cmd:_0x3f510a}=_0x573453;_0x3f510a===F[_0x2cb509(0x16e)]&&!this['_socketReady']&&(_0x37d7e1[_0x2cb509(0x2b5)]=_0x573453[_0x2cb509(0x370)]['memberID'],this[_0x2cb509(0x32f)][_0x2cb509(0x3f6)](_0x37d7e1),this[_0x2cb509(0x395)][_0x2cb509(0x3f6)](ge[_0x2cb509(0x228)]),this[_0x2cb509(0x271)]=!0x0,this[_0x2cb509(0x15e)]=null),_0x3f510a===F[_0x2cb509(0x190)]&&this[_0x2cb509(0x375)](),this[_0x2cb509(0x2a2)]();}[_0x444a1b(0x2a2)](){var _0x27213c=_0x444a1b,_0xb15883;this['_clearHeartbeatTimer'](),this[_0x27213c(0x215)]=setTimeout(()=>this[_0x27213c(0x2a1)](),(_0xb15883=this[_0x27213c(0x2cc)]['getConfig'](gs))!=null?_0xb15883:Ss);}[_0x444a1b(0x2a1)](){var _0x5382f8=_0x444a1b;this['_socket'][_0x5382f8(0x1b6)]({'cmd':F[_0x5382f8(0x190)]}),this[_0x5382f8(0x1aa)]();}[_0x444a1b(0x1aa)](){var _0x3ca37d=_0x444a1b,_0x44cb5a;this['_timeoutTimer']=setTimeout(()=>this[_0x3ca37d(0x32c)](),(_0x44cb5a=this[_0x3ca37d(0x2cc)][_0x3ca37d(0x2d8)](di))!=null?_0x44cb5a:fi);}['_clearHeartbeatTimer'](){var _0x5672e9=_0x444a1b;this[_0x5672e9(0x215)]!=null&&(clearTimeout(this[_0x5672e9(0x215)]),this[_0x5672e9(0x215)]=null);}[_0x444a1b(0x375)](){var _0x1ae6d5=_0x444a1b;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1ae6d5(0x1dd)]=null);}};Pe=qs([Re(0x0,_0x4c9835(_0x23d06e)),Re(0x1,_0x241343),Re(0x2,_0x3f29b9),Re(0x3,Ci),Re(0x4,_0x4c9835(ve)),Re(0x5,_0x3c34a2(js))],Pe);var zs=Object[_0x444a1b(0x30c)],Js=(_0x2302a5,_0x3cc345,_0x5c24b2,_0x279b4a)=>{var _0x916e4c=_0x444a1b;for(var _0x33c4dd=_0x279b4a>0x1?void 0x0:_0x279b4a?zs(_0x3cc345,_0x5c24b2):_0x3cc345,_0x38517b=_0x2302a5[_0x916e4c(0x2a3)]-0x1,_0x2d1132;_0x38517b>=0x0;_0x38517b--)(_0x2d1132=_0x2302a5[_0x38517b])&&(_0x33c4dd=_0x2d1132(_0x33c4dd)||_0x33c4dd);return _0x33c4dd;},Be=(_0x507907,_0x47adb6)=>(_0x435c5d,_0x1b5dae)=>_0x47adb6(_0x435c5d,_0x1b5dae,_0x507907);let nt=class extends _0x4b9da9{constructor(_0x14b4d7,_0x3ebb1f,_0x12ada4,_0x1fcde5){var _0x5cb9e1=_0x444a1b,_0x160db4;super(),N(this,_0x5cb9e1(0x23f),new Map()),N(this,_0x5cb9e1(0x3a7),new _0x3f9e9d()),N(this,'entityInit$',this['_entityInit$'][_0x5cb9e1(0x291)]()),(this[_0x5cb9e1(0x37c)]=_0x14b4d7,this[_0x5cb9e1(0x41d)]=_0x3ebb1f,this['_configService']=_0x12ada4,this[_0x5cb9e1(0x1cb)]=_0x1fcde5,((_0x160db4=this[_0x5cb9e1(0x2cc)]['getConfig'](K))==null?void 0x0:_0x160db4[_0x5cb9e1(0x262)])!==!0x1&&this[_0x5cb9e1(0x164)]());}['dispose'](){var _0x460d71=_0x444a1b;super[_0x460d71(0x30e)](),this['_entities'][_0x460d71(0x24c)](_0x8119a=>_0x8119a[_0x460d71(0x30e)]()),this[_0x460d71(0x23f)]['clear']();}[_0x444a1b(0x417)](_0x391d4b){var _0x1e5b9f=_0x444a1b,_0x2e9d03;return(_0x2e9d03=this[_0x1e5b9f(0x23f)]['get'](_0x391d4b))!=null?_0x2e9d03:null;}['getCollabEntity$'](_0x120c2d){var _0x1c1cae=_0x444a1b;const _0x4c0f60=this[_0x1c1cae(0x417)](_0x120c2d);return _0x4c0f60?_0x40f144(_0x4c0f60):this[_0x1c1cae(0x3a7)][_0x1c1cae(0x332)](_0x9c7bf3(_0x3166b3=>_0x3166b3[_0x1c1cae(0x38b)]===_0x120c2d));}['readyForCollab'](_0x41f411){var _0x36f047=_0x444a1b;return _0x51d433(this['getCollabEntity$'](_0x41f411)[_0x36f047(0x332)](_0x3b39dc(()=>{})));}[_0x444a1b(0x164)](){var _0x4953d0=_0x444a1b;this[_0x4953d0(0x1cb)]['getTypeOfUnitAdded$'](_0x353667[_0x4953d0(0x2f0)])['pipe'](_0x3c8056(this[_0x4953d0(0x18d)]),_0x365967(0x10))[_0x4953d0(0x24d)](async _0x2934bd=>{var _0x52f8a8=_0x4953d0;const _0x7f63a1=_0x2934bd[_0x52f8a8(0x3cd)](),_0x24dc71=await this[_0x52f8a8(0x41b)](_0x7f63a1,Z[_0x52f8a8(0x2f0)]);this[_0x52f8a8(0x23f)]['set'](_0x7f63a1,_0x24dc71);}),this[_0x4953d0(0x1cb)]['getTypeOfUnitAdded$'](_0x353667['UNIVER_DOC'])[_0x4953d0(0x332)](_0x3c8056(this[_0x4953d0(0x18d)]),_0x365967(0x10))[_0x4953d0(0x332)](_0x9c7bf3(_0x4fe9d9=>!_0x4fe9d9['getUnitId']()[_0x4953d0(0x180)]('__')))[_0x4953d0(0x24d)](async _0x3b1ec5=>{var _0x2cdebd=_0x4953d0;const _0x215aeb=_0x3b1ec5['getUnitId'](),_0x47b213=await this['_startCollaboration'](_0x215aeb,Z['UNIVER_DOC']);this[_0x2cdebd(0x23f)][_0x2cdebd(0x284)](_0x215aeb,_0x47b213);}),_0x5a7b6a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x353667[_0x4953d0(0x2f0)]),this['_univerInstanceService'][_0x4953d0(0x2d7)](_0x353667['UNIVER_DOC']))[_0x4953d0(0x332)](_0x3c8056(this['dispose$']))[_0x4953d0(0x24d)](_0x35ef29=>{var _0xda7b76=_0x4953d0;const _0x5200c9=_0x35ef29[_0xda7b76(0x3cd)](),_0x33718f=this['_entities'][_0xda7b76(0x433)](_0x5200c9);_0x33718f&&(_0x33718f[_0xda7b76(0x30e)](),this[_0xda7b76(0x23f)][_0xda7b76(0x44d)](_0x5200c9));});}async[_0x444a1b(0x41b)](_0xd96b69,_0x3f5205){var _0x1fd821=_0x444a1b;const _0x4dff6d=await this['_collabSessionService'][_0x1fd821(0x318)](_0xd96b69),_0x910f3f=this['_injector'][_0x1fd821(0x1d0)](this[_0x1fd821(0x1c3)](_0x3f5205),_0xd96b69,_0x3f5205,_0x4dff6d);return await _0x910f3f[_0x1fd821(0x450)](),this[_0x1fd821(0x3a7)][_0x1fd821(0x3f6)](_0x910f3f),_0x910f3f;}[_0x444a1b(0x1c3)](_0x5d667f){var _0x1d7e31=_0x444a1b;switch(_0x5d667f){case Z[_0x1d7e31(0x280)]:return St;case Z[_0x1d7e31(0x2f0)]:return Et;default:throw new Error(_0x1d7e31(0x21a)+_0x5d667f);}}};nt=Js([Be(0x0,_0x4c9835(_0x23d06e)),Be(0x1,_0x4c9835(Pe)),Be(0x2,_0x3f29b9),Be(0x3,_0x4b228a)],nt);var Xs=Object[_0x444a1b(0x30c)],Zs=(_0x42ef12,_0x500e81,_0x21f375,_0x19b179)=>{for(var _0x2653f2=_0x19b179>0x1?void 0x0:_0x19b179?Xs(_0x500e81,_0x21f375):_0x500e81,_0x583ad1=_0x42ef12['length']-0x1,_0x114daf;_0x583ad1>=0x0;_0x583ad1--)(_0x114daf=_0x42ef12[_0x583ad1])&&(_0x2653f2=_0x114daf(_0x2653f2)||_0x2653f2);return _0x2653f2;},Yt=(_0x8412a9,_0x323d74)=>(_0x43b1c3,_0x44dd7c)=>_0x323d74(_0x43b1c3,_0x44dd7c,_0x8412a9);const Qs='DEFAULT_FILE_NAME',en=_0x444a1b(0x2a9);let It=class extends _0x53ec80{constructor(_0x43176d,_0x128c1f){var _0x2901c9=_0x444a1b;super(),this[_0x2901c9(0x1cb)]=_0x43176d,this[_0x2901c9(0x2cc)]=_0x128c1f,this[_0x2901c9(0x164)]();}[_0x444a1b(0x164)](){var _0x596398=_0x444a1b;this['disposeWithMe'](this['_univerInstanceService'][_0x596398(0x294)][_0x596398(0x24d)](()=>{var _0x57796c=_0x596398,_0x44bebb;const _0x3fa942=this['_univerInstanceService'][_0x57796c(0x386)]();let _0x5f37a1=(_0x44bebb=this[_0x57796c(0x2cc)][_0x57796c(0x2d8)](Qs))!=null?_0x44bebb:en;_0x3fa942 instanceof _0x40d143&&(_0x5f37a1=_0x3fa942[_0x57796c(0x42c)]),document[_0x57796c(0x187)]=_0x5f37a1;}));}};It=Zs([Yt(0x0,_0x4b228a),Yt(0x1,_0x3f29b9)],It);var tn=Object[_0x444a1b(0x30c)],sn=(_0x56d497,_0x12ab89,_0x2b2067,_0x3c0081)=>{var _0x4c4e04=_0x444a1b;for(var _0x54fdbf=_0x3c0081>0x1?void 0x0:_0x3c0081?tn(_0x12ab89,_0x2b2067):_0x12ab89,_0x240be4=_0x56d497[_0x4c4e04(0x2a3)]-0x1,_0x5ed09d;_0x240be4>=0x0;_0x240be4--)(_0x5ed09d=_0x56d497[_0x240be4])&&(_0x54fdbf=_0x5ed09d(_0x54fdbf)||_0x54fdbf);return _0x54fdbf;},dt=(_0x5b70e2,_0x3f401b)=>(_0x5a8043,_0x5b9fa8)=>_0x3f401b(_0x5a8043,_0x5b9fa8,_0x5b70e2);let rt=class{constructor(_0x5c904f,_0x50aaef,_0x49ca73){var _0x166be5=_0x444a1b;this['_configService']=_0x5c904f,this[_0x166be5(0x186)]=_0x50aaef,this[_0x166be5(0x1bb)]=_0x49ca73,this[_0x166be5(0x450)]();}[_0x444a1b(0x450)](){var _0xe6eb0e=_0x444a1b;this['_httpService'][_0xe6eb0e(0x2cd)]({'priority':0x1,'interceptor':(_0x1bca77,_0xac7e2)=>_0xac7e2(_0x1bca77)[_0xe6eb0e(0x332)](_0x5d88fd(async _0xf431bd=>{var _0x4dd977=_0xe6eb0e;const _0xe4de9c=_0xf431bd;if(_0xe4de9c[_0x4dd977(0x40f)]===0x191){if(typeof window>'u')throw new Error(_0x4dd977(0x30f));if(window[_0x4dd977(0x423)](this[_0x4dd977(0x1bb)]['t'](_0x4dd977(0x2be)))){const _0xa2b241=window[_0x4dd977(0x1c2)](window[_0x4dd977(0x2e1)]['href']);window[_0x4dd977(0x2e1)][_0x4dd977(0x37f)]=this[_0x4dd977(0x2ec)]()+_0x4dd977(0x1db)+_0xa2b241;}}return _0xe4de9c;}))});}[_0x444a1b(0x2ec)](){var _0x474cce=_0x444a1b,_0x220d46;const _0x482537=this[_0x474cce(0x2cc)][_0x474cce(0x2d8)](K);return(_0x220d46=_0x482537==null?void 0x0:_0x482537[_0x474cce(0x309)])!=null?_0x220d46:Rs;}};rt=sn([dt(0x0,_0x3f29b9),dt(0x1,_0x4c9835(_0x456bb1)),dt(0x2,_0x4c9835(_0x5ba7f8))],rt);var nn=Object[_0x444a1b(0x30c)],rn=(_0x149c67,_0x4096e7,_0x2417e0,_0x22a930)=>{var _0x260325=_0x444a1b;for(var _0x55e034=_0x22a930>0x1?void 0x0:_0x22a930?nn(_0x4096e7,_0x2417e0):_0x4096e7,_0x2c4f94=_0x149c67[_0x260325(0x2a3)]-0x1,_0xd82145;_0x2c4f94>=0x0;_0x2c4f94--)(_0xd82145=_0x149c67[_0x2c4f94])&&(_0x55e034=_0xd82145(_0x55e034)||_0x55e034);return _0x55e034;},Kt=(_0x4e1c1b,_0x4650d8)=>(_0x20334a,_0x3a86fe)=>_0x4650d8(_0x20334a,_0x3a86fe,_0x4e1c1b);const an=_0x444a1b(0x2c8);let Tt=class extends _0x53ec80{constructor(_0x26808c,_0x5182b5){var _0x423bc7=_0x444a1b;super(),this[_0x423bc7(0x31b)]=_0x26808c,this[_0x423bc7(0x2cc)]=_0x5182b5,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x5ca869=_0x444a1b;const _0x5855fe=this;this['disposeWithMe'](this['_HTTPService'][_0x5ca869(0x2cd)]({'priority':0x3e7,'interceptor':_0x5d072f({'isMatch'(_0x2daf6d){var _0x48f221=_0x5ca869,_0x3478a1;if(_0x2daf6d[_0x48f221(0x244)]==='POST'&&((_0x3478a1=_0x2daf6d['requestParams'])!=null&&_0x3478a1[_0x48f221(0x195)])){const {objectID:_0x1cbed1,objectType:_0x2ad7d1}=_0x2daf6d[_0x48f221(0x1df)]['body']||{};if(!_0x1cbed1||_0x2ad7d1===void 0x0)return!0x1;const _0x32dc6d=_0x5855fe[_0x48f221(0x179)]()+'/'+_0x2ad7d1+_0x48f221(0x29b)+_0x1cbed1+'/allowed';if(_0x2daf6d[_0x48f221(0x427)]===_0x32dc6d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xcb6bb1){var _0x438cdf=_0x5ca869,_0x261cef;return(_0x261cef=_0xcb6bb1['requestParams'])==null?void 0x0:_0x261cef[_0x438cdf(0x195)];},'mergeParamsToRequest'(_0x5e05cb,_0x5cf35a){var _0x351fd8=_0x5ca869;const _0x75a5f3=_0x5855fe[_0x351fd8(0x179)]()+_0x351fd8(0x161),_0xebd31c=_0x5e05cb[_0x351fd8(0x2bb)]((_0xdd020e,_0x17783d)=>{var _0x26d6b1=_0x351fd8;const {unitID:_0x180b15,objectID:_0x22d643,objectType:_0x481e1f,actions:_0x135bee}=_0x17783d;return _0xdd020e[_0x180b15]||(_0xdd020e[_0x180b15]={}),_0xdd020e[_0x180b15][_0x22d643]||(_0xdd020e[_0x180b15][_0x22d643]={'objectID':_0x22d643,'objectType':_0x481e1f,'actions':[]}),_0xdd020e[_0x180b15][_0x22d643][_0x26d6b1(0x38a)][_0x26d6b1(0x3d1)](..._0x135bee),_0xdd020e;},{}),_0x56047a=[];for(const _0x22340d in _0xebd31c)for(const _0x5bcb15 in _0xebd31c[_0x22340d]){const {actions:_0x1da016,objectType:_0x6edbc3}=_0xebd31c[_0x22340d][_0x5bcb15],_0x109a50=[...new Set(_0x1da016)];_0x56047a['push']({'unitID':_0x22340d,'objectID':_0x5bcb15,'objectType':_0x6edbc3,'actions':_0x109a50});}return new _0x2fd0ef(_0x351fd8(0x387),_0x75a5f3,{'headers':_0x5cf35a['headers'],'withCredentials':_0x5cf35a[_0x351fd8(0x37a)],'responseType':_0x5cf35a[_0x351fd8(0x3dd)],'body':{'requests':_0x56047a}});}},{'distributeResult'(_0x3a89af,_0x22d3f8){var _0x2f029a=_0x5ca869;const {objectActions:_0x2b0297}=_0x3a89af;return _0x22d3f8[_0x2f029a(0x3c4)](_0x19da85=>{var _0x15eee8=_0x2f029a;const {unitID:_0x2b4c79,objectID:_0x3186f5,actions:_0x30aba7}=_0x19da85,_0x513639=_0x2b0297['find'](_0xdc0a94=>_0xdc0a94['unitID']===_0x2b4c79&&_0xdc0a94[_0x15eee8(0x378)]===_0x3186f5),_0x54c3d3=_0x30aba7[_0x15eee8(0x3c4)](_0x1f9255=>_0x513639==null?void 0x0:_0x513639[_0x15eee8(0x38a)][_0x15eee8(0x22e)](_0xe67c37=>_0xe67c37['action']===_0x1f9255))[_0x15eee8(0x3d8)](_0x4503e1=>!!_0x4503e1);return{'config':_0x19da85,'result':{'actions':_0x54c3d3,'error':_0x3a89af[_0x15eee8(0x231)]}};});}})}));}[_0x444a1b(0x179)](){var _0xc5a042=_0x444a1b,_0x1fa7ec;const _0x4e20e0=this['_configService'][_0xc5a042(0x2d8)](K);return(_0x1fa7ec=_0x4e20e0==null?void 0x0:_0x4e20e0[_0xc5a042(0x1fc)])!=null?_0x1fa7ec:an;}async[_0x444a1b(0x219)](_0x38ee19){var _0x4779bf=_0x444a1b;const _0x99bc6c=this['_getAPIPrefixPath']()+'/'+_0x38ee19[_0x4779bf(0x239)]+_0x4779bf(0x1d1);return(await this['_HTTPService'][_0x4779bf(0x2e0)](_0x99bc6c,{'body':_0x38ee19}))[_0x4779bf(0x195)]['objectID']||'';}async[_0x444a1b(0x2f6)](_0x42c9fa){var _0x727b45=_0x444a1b;const _0xfa0931=this['_getAPIPrefixPath']()+_0x727b45(0x441);return(await this[_0x727b45(0x31b)][_0x727b45(0x2e0)](_0xfa0931,{'body':_0x42c9fa}))['body']['objects'];}async[_0x444a1b(0x3a2)](_0x5284b3){var _0x3fd603=_0x444a1b,_0x268a75,_0x142825;const _0x1ceab8=this['_getAPIPrefixPath']()+'/'+_0x5284b3[_0x3fd603(0x239)]+_0x3fd603(0x29b)+_0x5284b3[_0x3fd603(0x378)],_0x19bb2b=await this[_0x3fd603(0x31b)][_0x3fd603(0x15b)](_0x1ceab8,{'body':_0x5284b3});if(((_0x142825=(_0x268a75=_0x19bb2b==null?void 0x0:_0x19bb2b['body'])==null?void 0x0:_0x268a75[_0x3fd603(0x231)])==null?void 0x0:_0x142825['code'])!==0x1)throw new Error(_0x3fd603(0x1ff));}async[_0x444a1b(0x3f7)](_0x372f25){var _0x1f0551=_0x444a1b;const _0x2237a3=this[_0x1f0551(0x179)]()+'/'+_0x372f25[_0x1f0551(0x239)]+_0x1f0551(0x29b)+_0x372f25[_0x1f0551(0x378)]+_0x1f0551(0x3f9);return(await this[_0x1f0551(0x31b)][_0x1f0551(0x2e0)](_0x2237a3,{'body':_0x372f25}))[_0x1f0551(0x195)]['actions'];}async[_0x444a1b(0x29d)](_0x331aa8){var _0xaa1777=_0x444a1b;const _0x401f31=this[_0xaa1777(0x179)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0xaa1777(0x2e0)](_0x401f31,{'body':{'requests':_0x331aa8}}))[_0xaa1777(0x195)][_0xaa1777(0x25c)];}async[_0x444a1b(0x42f)](_0x257f89){var _0x2c943c=_0x444a1b;const _0xddb8f6=this[_0x2c943c(0x179)]()+'/'+_0x257f89[_0x2c943c(0x239)]+_0x2c943c(0x34d),_0x3f6b2b=await this['_HTTPService'][_0x2c943c(0x2e0)](_0xddb8f6,{'body':_0x257f89});return{'roles':_0x3f6b2b[_0x2c943c(0x195)][_0x2c943c(0x23d)],'actions':_0x3f6b2b[_0x2c943c(0x195)]['actions']};}async[_0x444a1b(0x31c)](_0x46c8e7){var _0x16ace2=_0x444a1b;const _0x1c2baf=this[_0x16ace2(0x179)]()+'/collaborator';await this['_HTTPService'][_0x16ace2(0x44d)](_0x1c2baf,{'params':{'collaboratorID':_0x46c8e7[_0x16ace2(0x296)],'objectID':_0x46c8e7[_0x16ace2(0x378)],'unitID':_0x46c8e7[_0x16ace2(0x38b)]}});}async[_0x444a1b(0x354)](_0xf8caff){var _0x32e2b8=_0x444a1b;const _0x10273d=this[_0x32e2b8(0x179)]()+_0x32e2b8(0x200);await this[_0x32e2b8(0x31b)][_0x32e2b8(0x2e3)](_0x10273d,{'body':_0xf8caff});}async['createCollaborator'](_0x44d8e2){var _0x48c89a=_0x444a1b;const _0xa2e3d5=this[_0x48c89a(0x179)]()+_0x48c89a(0x200);await this['_HTTPService']['post'](_0xa2e3d5,{'body':_0x44d8e2});}async[_0x444a1b(0x360)](_0x2c90ce){var _0x23ce43=_0x444a1b;const _0x115c2d=this[_0x23ce43(0x179)]()+_0x23ce43(0x200);return(await this[_0x23ce43(0x31b)][_0x23ce43(0x433)](_0x115c2d,{'params':{'objectID':_0x2c90ce['objectID'],'unitID':_0x2c90ce[_0x23ce43(0x38b)]}}))[_0x23ce43(0x195)][_0x23ce43(0x3a0)];}async['putCollaborators'](_0x2e1670){var _0x533b17=_0x444a1b;const _0x33accc=this[_0x533b17(0x179)]()+_0x533b17(0x200);await this[_0x533b17(0x31b)][_0x533b17(0x15b)](_0x33accc,{'body':_0x2e1670});}};Tt=rn([Kt(0x0,_0x4c9835(_0x456bb1)),Kt(0x1,_0x4c9835(_0x3f29b9))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e8145){var _0x156def=_0x444a1b;return _0x2e8145&&_0x2e8145['__esModule']&&Object[_0x156def(0x288)][_0x156def(0x154)]['call'](_0x2e8145,_0x156def(0x444))?_0x2e8145[_0x156def(0x444)]:_0x2e8145;}var Ve={'exports':{}};function on(_0x23274b){var _0xd7b15a=_0x444a1b;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x23274b+_0xd7b15a(0x2f8));}var We={'exports':{}},cn=We[_0x444a1b(0x1c5)],qt;function te(){var _0x4d2d94=_0x444a1b;return qt||(qt=0x1,function(_0x55f817,_0x122049){(function(_0x8a715f,_0x22db79){var _0x3f76bd=_0x4432;_0x55f817[_0x3f76bd(0x1c5)]=_0x22db79();}(cn,function(){var _0x57eb8b=_0x57eb8b||function(_0x46a575,_0x9e0b75){var _0x4d5422=_0x4432,_0x1fab83;if(typeof window<'u'&&window[_0x4d5422(0x2d3)]&&(_0x1fab83=window[_0x4d5422(0x2d3)]),typeof self<'u'&&self[_0x4d5422(0x2d3)]&&(_0x1fab83=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4d5422(0x2d3)]&&(_0x1fab83=globalThis[_0x4d5422(0x2d3)]),!_0x1fab83&&typeof window<'u'&&window[_0x4d5422(0x26c)]&&(_0x1fab83=window[_0x4d5422(0x26c)]),!_0x1fab83&&typeof ft<'u'&&ft[_0x4d5422(0x2d3)]&&(_0x1fab83=ft[_0x4d5422(0x2d3)]),!_0x1fab83&&typeof on==_0x4d5422(0x368))try{_0x1fab83=require('crypto');}catch{}var _0x5d4100=function(){var _0x3a0704=_0x4d5422;if(_0x1fab83){if(typeof _0x1fab83['getRandomValues']=='function')try{return _0x1fab83[_0x3a0704(0x25f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fab83[_0x3a0704(0x1eb)]==_0x3a0704(0x368))try{return _0x1fab83['randomBytes'](0x4)[_0x3a0704(0x304)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xc0afc7=Object[_0x4d5422(0x219)]||(function(){function _0x4d61e5(){}return function(_0x28174e){var _0x487b7d=_0x4432,_0x26ae99;return _0x4d61e5[_0x487b7d(0x288)]=_0x28174e,_0x26ae99=new _0x4d61e5(),_0x4d61e5['prototype']=null,_0x26ae99;};}()),_0x204797={},_0x4d7918=_0x204797[_0x4d5422(0x3b4)]={},_0x49d917=_0x4d7918[_0x4d5422(0x3e0)]=(function(){return{'extend':function(_0x1da252){var _0xe83a0d=_0x4432,_0xcc683=_0xc0afc7(this);return _0x1da252&&_0xcc683[_0xe83a0d(0x322)](_0x1da252),(!_0xcc683[_0xe83a0d(0x154)](_0xe83a0d(0x450))||this[_0xe83a0d(0x450)]===_0xcc683['init'])&&(_0xcc683[_0xe83a0d(0x450)]=function(){var _0x1c19fd=_0xe83a0d;_0xcc683[_0x1c19fd(0x346)][_0x1c19fd(0x450)][_0x1c19fd(0x1dc)](this,arguments);}),_0xcc683[_0xe83a0d(0x450)][_0xe83a0d(0x288)]=_0xcc683,_0xcc683[_0xe83a0d(0x346)]=this,_0xcc683;},'create':function(){var _0x26310b=_0x4432,_0x1b7b16=this[_0x26310b(0x3ae)]();return _0x1b7b16['init']['apply'](_0x1b7b16,arguments),_0x1b7b16;},'init':function(){},'mixIn':function(_0x1ee9d4){var _0x2262f9=_0x4432;for(var _0x2338b8 in _0x1ee9d4)_0x1ee9d4[_0x2262f9(0x154)](_0x2338b8)&&(this[_0x2338b8]=_0x1ee9d4[_0x2338b8]);_0x1ee9d4[_0x2262f9(0x154)](_0x2262f9(0x305))&&(this[_0x2262f9(0x305)]=_0x1ee9d4[_0x2262f9(0x305)]);},'clone':function(){var _0x2f5710=_0x4432;return this[_0x2f5710(0x450)][_0x2f5710(0x288)][_0x2f5710(0x3ae)](this);}};}()),_0x5405fe=_0x4d7918[_0x4d5422(0x40d)]=_0x49d917[_0x4d5422(0x3ae)]({'init':function(_0x230a05,_0x3c135d){var _0x8bb1cc=_0x4d5422;_0x230a05=this[_0x8bb1cc(0x212)]=_0x230a05||[],_0x3c135d!=_0x9e0b75?this[_0x8bb1cc(0x1f2)]=_0x3c135d:this[_0x8bb1cc(0x1f2)]=_0x230a05[_0x8bb1cc(0x2a3)]*0x4;},'toString':function(_0x23c28b){var _0x6d7b71=_0x4d5422;return(_0x23c28b||_0x90259c)[_0x6d7b71(0x383)](this);},'concat':function(_0x52a729){var _0x4e1634=_0x4d5422,_0x30716e=this[_0x4e1634(0x212)],_0x4767f5=_0x52a729['words'],_0x49a4b1=this[_0x4e1634(0x1f2)],_0x4c54a4=_0x52a729['sigBytes'];if(this[_0x4e1634(0x3e8)](),_0x49a4b1%0x4)for(var _0x4e041a=0x0;_0x4e041a<_0x4c54a4;_0x4e041a++){var _0x1f00f9=_0x4767f5[_0x4e041a>>>0x2]>>>0x18-_0x4e041a%0x4*0x8&0xff;_0x30716e[_0x49a4b1+_0x4e041a>>>0x2]|=_0x1f00f9<<0x18-(_0x49a4b1+_0x4e041a)%0x4*0x8;}else{for(var _0x9b357b=0x0;_0x9b357b<_0x4c54a4;_0x9b357b+=0x4)_0x30716e[_0x49a4b1+_0x9b357b>>>0x2]=_0x4767f5[_0x9b357b>>>0x2];}return this[_0x4e1634(0x1f2)]+=_0x4c54a4,this;},'clamp':function(){var _0x66ed14=_0x4d5422,_0x143e3b=this[_0x66ed14(0x212)],_0x3e9c7a=this[_0x66ed14(0x1f2)];_0x143e3b[_0x3e9c7a>>>0x2]&=0xffffffff<<0x20-_0x3e9c7a%0x4*0x8,_0x143e3b['length']=_0x46a575[_0x66ed14(0x34a)](_0x3e9c7a/0x4);},'clone':function(){var _0x21e344=_0x4d5422,_0x19a5cf=_0x49d917['clone'][_0x21e344(0x1b2)](this);return _0x19a5cf['words']=this[_0x21e344(0x212)][_0x21e344(0x413)](0x0),_0x19a5cf;},'random':function(_0x326664){var _0x5950ff=_0x4d5422;for(var _0xcc46a=[],_0x18a464=0x0;_0x18a464<_0x326664;_0x18a464+=0x4)_0xcc46a[_0x5950ff(0x3d1)](_0x5d4100());return new _0x5405fe['init'](_0xcc46a,_0x326664);}}),_0xbef5dd=_0x204797[_0x4d5422(0x156)]={},_0x90259c=_0xbef5dd[_0x4d5422(0x261)]={'stringify':function(_0x53afed){var _0x3ba7ac=_0x4d5422;for(var _0x26a987=_0x53afed[_0x3ba7ac(0x212)],_0x16dae2=_0x53afed[_0x3ba7ac(0x1f2)],_0x57d926=[],_0x3ff842=0x0;_0x3ff842<_0x16dae2;_0x3ff842++){var _0x2ba83d=_0x26a987[_0x3ff842>>>0x2]>>>0x18-_0x3ff842%0x4*0x8&0xff;_0x57d926[_0x3ba7ac(0x3d1)]((_0x2ba83d>>>0x4)[_0x3ba7ac(0x305)](0x10)),_0x57d926[_0x3ba7ac(0x3d1)]((_0x2ba83d&0xf)['toString'](0x10));}return _0x57d926[_0x3ba7ac(0x422)]('');},'parse':function(_0x24fe83){var _0x5ec855=_0x4d5422;for(var _0x19428e=_0x24fe83[_0x5ec855(0x2a3)],_0x314c15=[],_0x16ad09=0x0;_0x16ad09<_0x19428e;_0x16ad09+=0x2)_0x314c15[_0x16ad09>>>0x3]|=parseInt(_0x24fe83[_0x5ec855(0x22c)](_0x16ad09,0x2),0x10)<<0x18-_0x16ad09%0x8*0x4;return new _0x5405fe['init'](_0x314c15,_0x19428e/0x2);}},_0x3ceb61=_0xbef5dd[_0x4d5422(0x357)]={'stringify':function(_0x56b9bc){var _0x373d51=_0x4d5422;for(var _0x59059f=_0x56b9bc[_0x373d51(0x212)],_0x2193da=_0x56b9bc[_0x373d51(0x1f2)],_0x3d6a24=[],_0x504838=0x0;_0x504838<_0x2193da;_0x504838++){var _0x206023=_0x59059f[_0x504838>>>0x2]>>>0x18-_0x504838%0x4*0x8&0xff;_0x3d6a24[_0x373d51(0x3d1)](String[_0x373d51(0x3ff)](_0x206023));}return _0x3d6a24[_0x373d51(0x422)]('');},'parse':function(_0x490735){var _0x375c27=_0x4d5422;for(var _0x5c6459=_0x490735[_0x375c27(0x2a3)],_0x44b47b=[],_0x20fd6d=0x0;_0x20fd6d<_0x5c6459;_0x20fd6d++)_0x44b47b[_0x20fd6d>>>0x2]|=(_0x490735[_0x375c27(0x328)](_0x20fd6d)&0xff)<<0x18-_0x20fd6d%0x4*0x8;return new _0x5405fe[(_0x375c27(0x450))](_0x44b47b,_0x5c6459);}},_0x2c9184=_0xbef5dd['Utf8']={'stringify':function(_0x9e94a5){var _0x3183c2=_0x4d5422;try{return decodeURIComponent(escape(_0x3ceb61[_0x3183c2(0x383)](_0x9e94a5)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3dbcba){var _0x56427c=_0x4d5422;return _0x3ceb61[_0x56427c(0x173)](unescape(encodeURIComponent(_0x3dbcba)));}},_0x4f283a=_0x4d7918[_0x4d5422(0x24f)]=_0x49d917['extend']({'reset':function(){var _0x3557cf=_0x4d5422;this[_0x3557cf(0x207)]=new _0x5405fe[(_0x3557cf(0x450))](),this['_nDataBytes']=0x0;},'_append':function(_0x513e6e){var _0x5d7f79=_0x4d5422;typeof _0x513e6e==_0x5d7f79(0x178)&&(_0x513e6e=_0x2c9184[_0x5d7f79(0x173)](_0x513e6e)),this[_0x5d7f79(0x207)][_0x5d7f79(0x23b)](_0x513e6e),this['_nDataBytes']+=_0x513e6e['sigBytes'];},'_process':function(_0x467efd){var _0x247d53=_0x4d5422,_0x3f70c3,_0x37df26=this[_0x247d53(0x207)],_0x9d3ec1=_0x37df26[_0x247d53(0x212)],_0x4a534f=_0x37df26[_0x247d53(0x1f2)],_0x1be60c=this['blockSize'],_0x525b14=_0x1be60c*0x4,_0x2e6ae7=_0x4a534f/_0x525b14;_0x467efd?_0x2e6ae7=_0x46a575[_0x247d53(0x34a)](_0x2e6ae7):_0x2e6ae7=_0x46a575[_0x247d53(0x2ee)]((_0x2e6ae7|0x0)-this[_0x247d53(0x1f3)],0x0);var _0x146830=_0x2e6ae7*_0x1be60c,_0x5bb40f=_0x46a575[_0x247d53(0x44a)](_0x146830*0x4,_0x4a534f);if(_0x146830){for(var _0x11bd30=0x0;_0x11bd30<_0x146830;_0x11bd30+=_0x1be60c)this[_0x247d53(0x2c9)](_0x9d3ec1,_0x11bd30);_0x3f70c3=_0x9d3ec1[_0x247d53(0x44f)](0x0,_0x146830),_0x37df26['sigBytes']-=_0x5bb40f;}return new _0x5405fe[(_0x247d53(0x450))](_0x3f70c3,_0x5bb40f);},'clone':function(){var _0x76fb66=_0x4d5422,_0x40cb98=_0x49d917[_0x76fb66(0x19f)][_0x76fb66(0x1b2)](this);return _0x40cb98[_0x76fb66(0x207)]=this[_0x76fb66(0x207)][_0x76fb66(0x19f)](),_0x40cb98;},'_minBufferSize':0x0});_0x4d7918['Hasher']=_0x4f283a[_0x4d5422(0x3ae)]({'cfg':_0x49d917[_0x4d5422(0x3ae)](),'init':function(_0x29818c){var _0x35def7=_0x4d5422;this[_0x35def7(0x36d)]=this[_0x35def7(0x36d)][_0x35def7(0x3ae)](_0x29818c),this[_0x35def7(0x389)]();},'reset':function(){var _0x29192c=_0x4d5422;_0x4f283a['reset'][_0x29192c(0x1b2)](this),this[_0x29192c(0x159)]();},'update':function(_0x2a9f83){var _0x123845=_0x4d5422;return this[_0x123845(0x25a)](_0x2a9f83),this['_process'](),this;},'finalize':function(_0xf0e43c){var _0x570b37=_0x4d5422;_0xf0e43c&&this[_0x570b37(0x25a)](_0xf0e43c);var _0x3d8421=this[_0x570b37(0x40e)]();return _0x3d8421;},'blockSize':0x10,'_createHelper':function(_0x1e8982){return function(_0x177229,_0x16407f){var _0x365326=_0x4432;return new _0x1e8982[(_0x365326(0x450))](_0x16407f)[_0x365326(0x330)](_0x177229);};},'_createHmacHelper':function(_0x22998d){return function(_0x7f20c4,_0x33623c){var _0xc78c06=_0x4432;return new _0x1ae56c[(_0xc78c06(0x166))][(_0xc78c06(0x450))](_0x22998d,_0x33623c)['finalize'](_0x7f20c4);};}});var _0x1ae56c=_0x204797[_0x4d5422(0x20b)]={};return _0x204797;}(Math);return _0x57eb8b;}));}(We)),We[_0x4d2d94(0x1c5)];}var Ge={'exports':{}},hn=Ge[_0x444a1b(0x1c5)],zt;function Ri(){var _0x154207=_0x444a1b;return zt||(zt=0x1,function(_0x34e2b4,_0x1429b6){(function(_0x4cdea1,_0x381e73){_0x34e2b4['exports']=_0x381e73(te());}(hn,function(_0x3f1d29){var _0x2c1e5f=_0x4432;return(function(){var _0x517051=_0x4432,_0x282c55=_0x3f1d29,_0x2860cb=_0x282c55[_0x517051(0x3b4)],_0x2af56e=_0x2860cb['WordArray'],_0x119bbc=_0x282c55[_0x517051(0x156)];_0x119bbc[_0x517051(0x203)]={'stringify':function(_0x3404f5){var _0x59d24f=_0x517051,_0x5f142a=_0x3404f5['words'],_0xc81ee5=_0x3404f5[_0x59d24f(0x1f2)],_0x389604=this['_map'];_0x3404f5[_0x59d24f(0x3e8)]();for(var _0x390bef=[],_0x51972c=0x0;_0x51972c<_0xc81ee5;_0x51972c+=0x3)for(var _0x4a5c90=_0x5f142a[_0x51972c>>>0x2]>>>0x18-_0x51972c%0x4*0x8&0xff,_0x28c1d6=_0x5f142a[_0x51972c+0x1>>>0x2]>>>0x18-(_0x51972c+0x1)%0x4*0x8&0xff,_0x357128=_0x5f142a[_0x51972c+0x2>>>0x2]>>>0x18-(_0x51972c+0x2)%0x4*0x8&0xff,_0x29d823=_0x4a5c90<<0x10|_0x28c1d6<<0x8|_0x357128,_0x500caf=0x0;_0x500caf<0x4&&_0x51972c+_0x500caf*0.75<_0xc81ee5;_0x500caf++)_0x390bef[_0x59d24f(0x3d1)](_0x389604[_0x59d24f(0x3df)](_0x29d823>>>0x6*(0x3-_0x500caf)&0x3f));var _0x426318=_0x389604[_0x59d24f(0x3df)](0x40);if(_0x426318){for(;_0x390bef[_0x59d24f(0x2a3)]%0x4;)_0x390bef['push'](_0x426318);}return _0x390bef['join']('');},'parse':function(_0xc2e96a){var _0x5490f9=_0x517051,_0x14ddbf=_0xc2e96a['length'],_0x2739ac=this['_map'],_0x5d677a=this['_reverseMap'];if(!_0x5d677a){_0x5d677a=this[_0x5490f9(0x431)]=[];for(var _0x42e5ef=0x0;_0x42e5ef<_0x2739ac['length'];_0x42e5ef++)_0x5d677a[_0x2739ac[_0x5490f9(0x328)](_0x42e5ef)]=_0x42e5ef;}var _0x1b5830=_0x2739ac[_0x5490f9(0x3df)](0x40);if(_0x1b5830){var _0x3b541d=_0xc2e96a[_0x5490f9(0x446)](_0x1b5830);_0x3b541d!==-0x1&&(_0x14ddbf=_0x3b541d);}return _0x385b1f(_0xc2e96a,_0x14ddbf,_0x5d677a);},'_map':_0x517051(0x1f8)};function _0x385b1f(_0x254d84,_0x167976,_0xb4f8ba){var _0x262d1f=_0x517051;for(var _0x183bc7=[],_0x44ed80=0x0,_0x4ba4c4=0x0;_0x4ba4c4<_0x167976;_0x4ba4c4++)if(_0x4ba4c4%0x4){var _0x45bd40=_0xb4f8ba[_0x254d84['charCodeAt'](_0x4ba4c4-0x1)]<<_0x4ba4c4%0x4*0x2,_0x395598=_0xb4f8ba[_0x254d84[_0x262d1f(0x328)](_0x4ba4c4)]>>>0x6-_0x4ba4c4%0x4*0x2,_0x2da2f0=_0x45bd40|_0x395598;_0x183bc7[_0x44ed80>>>0x2]|=_0x2da2f0<<0x18-_0x44ed80%0x4*0x8,_0x44ed80++;}return _0x2af56e[_0x262d1f(0x219)](_0x183bc7,_0x44ed80);}}()),_0x3f1d29['enc'][_0x2c1e5f(0x203)];}));}(Ge)),Ge[_0x154207(0x1c5)];}var Ye={'exports':{}},_n=Ye[_0x444a1b(0x1c5)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x564e48,_0x48402a){(function(_0x224287,_0x3416b9){var _0x225e09=_0x4432;_0x564e48[_0x225e09(0x1c5)]=_0x3416b9(te());}(_n,function(_0xc16731){var _0x4a3714=_0x4432;return function(_0x1bc03e){var _0x96990d=_0x4432,_0x3c6d4b=_0xc16731,_0x3cf9a2=_0x3c6d4b[_0x96990d(0x3b4)],_0x3c0bb2=_0x3cf9a2[_0x96990d(0x40d)],_0x8c0684=_0x3cf9a2['Hasher'],_0x5d81a6=_0x3c6d4b[_0x96990d(0x20b)],_0x1af35d=[];(function(){var _0x2d6e86=_0x96990d;for(var _0x329566=0x0;_0x329566<0x40;_0x329566++)_0x1af35d[_0x329566]=_0x1bc03e['abs'](_0x1bc03e[_0x2d6e86(0x2c6)](_0x329566+0x1))*0x100000000|0x0;}());var _0x37ed9f=_0x5d81a6[_0x96990d(0x21f)]=_0x8c0684[_0x96990d(0x3ae)]({'_doReset':function(){var _0x4e91fc=_0x96990d;this[_0x4e91fc(0x435)]=new _0x3c0bb2[(_0x4e91fc(0x450))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f8d16,_0x2994e1){var _0x4bcab1=_0x96990d;for(var _0x390ceb=0x0;_0x390ceb<0x10;_0x390ceb++){var _0x20e1e5=_0x2994e1+_0x390ceb,_0x2da60c=_0x1f8d16[_0x20e1e5];_0x1f8d16[_0x20e1e5]=(_0x2da60c<<0x8|_0x2da60c>>>0x18)&0xff00ff|(_0x2da60c<<0x18|_0x2da60c>>>0x8)&0xff00ff00;}var _0x21d952=this[_0x4bcab1(0x435)][_0x4bcab1(0x212)],_0x45ee37=_0x1f8d16[_0x2994e1+0x0],_0x4f1afe=_0x1f8d16[_0x2994e1+0x1],_0x42b0b4=_0x1f8d16[_0x2994e1+0x2],_0x28bcbe=_0x1f8d16[_0x2994e1+0x3],_0x10880e=_0x1f8d16[_0x2994e1+0x4],_0x10b447=_0x1f8d16[_0x2994e1+0x5],_0x4ed7aa=_0x1f8d16[_0x2994e1+0x6],_0x1c80ba=_0x1f8d16[_0x2994e1+0x7],_0x59bfd7=_0x1f8d16[_0x2994e1+0x8],_0x4bed8e=_0x1f8d16[_0x2994e1+0x9],_0x24b18a=_0x1f8d16[_0x2994e1+0xa],_0x4182f1=_0x1f8d16[_0x2994e1+0xb],_0x3ac83c=_0x1f8d16[_0x2994e1+0xc],_0x20cb4f=_0x1f8d16[_0x2994e1+0xd],_0x589fb9=_0x1f8d16[_0x2994e1+0xe],_0x348b8c=_0x1f8d16[_0x2994e1+0xf],_0x45d613=_0x21d952[0x0],_0x5be77b=_0x21d952[0x1],_0x488118=_0x21d952[0x2],_0x33fec1=_0x21d952[0x3];_0x45d613=_0x20d70c(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x45ee37,0x7,_0x1af35d[0x0]),_0x33fec1=_0x20d70c(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x4f1afe,0xc,_0x1af35d[0x1]),_0x488118=_0x20d70c(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x42b0b4,0x11,_0x1af35d[0x2]),_0x5be77b=_0x20d70c(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x28bcbe,0x16,_0x1af35d[0x3]),_0x45d613=_0x20d70c(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x10880e,0x7,_0x1af35d[0x4]),_0x33fec1=_0x20d70c(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x10b447,0xc,_0x1af35d[0x5]),_0x488118=_0x20d70c(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x4ed7aa,0x11,_0x1af35d[0x6]),_0x5be77b=_0x20d70c(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x1c80ba,0x16,_0x1af35d[0x7]),_0x45d613=_0x20d70c(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x59bfd7,0x7,_0x1af35d[0x8]),_0x33fec1=_0x20d70c(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x4bed8e,0xc,_0x1af35d[0x9]),_0x488118=_0x20d70c(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x24b18a,0x11,_0x1af35d[0xa]),_0x5be77b=_0x20d70c(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x4182f1,0x16,_0x1af35d[0xb]),_0x45d613=_0x20d70c(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x3ac83c,0x7,_0x1af35d[0xc]),_0x33fec1=_0x20d70c(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x20cb4f,0xc,_0x1af35d[0xd]),_0x488118=_0x20d70c(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x589fb9,0x11,_0x1af35d[0xe]),_0x5be77b=_0x20d70c(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x348b8c,0x16,_0x1af35d[0xf]),_0x45d613=_0x66a3bf(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x4f1afe,0x5,_0x1af35d[0x10]),_0x33fec1=_0x66a3bf(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x4ed7aa,0x9,_0x1af35d[0x11]),_0x488118=_0x66a3bf(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x4182f1,0xe,_0x1af35d[0x12]),_0x5be77b=_0x66a3bf(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x45ee37,0x14,_0x1af35d[0x13]),_0x45d613=_0x66a3bf(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x10b447,0x5,_0x1af35d[0x14]),_0x33fec1=_0x66a3bf(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x24b18a,0x9,_0x1af35d[0x15]),_0x488118=_0x66a3bf(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x348b8c,0xe,_0x1af35d[0x16]),_0x5be77b=_0x66a3bf(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x10880e,0x14,_0x1af35d[0x17]),_0x45d613=_0x66a3bf(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x4bed8e,0x5,_0x1af35d[0x18]),_0x33fec1=_0x66a3bf(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x589fb9,0x9,_0x1af35d[0x19]),_0x488118=_0x66a3bf(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x28bcbe,0xe,_0x1af35d[0x1a]),_0x5be77b=_0x66a3bf(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x59bfd7,0x14,_0x1af35d[0x1b]),_0x45d613=_0x66a3bf(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x20cb4f,0x5,_0x1af35d[0x1c]),_0x33fec1=_0x66a3bf(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x42b0b4,0x9,_0x1af35d[0x1d]),_0x488118=_0x66a3bf(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x1c80ba,0xe,_0x1af35d[0x1e]),_0x5be77b=_0x66a3bf(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x3ac83c,0x14,_0x1af35d[0x1f]),_0x45d613=_0x407ff5(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x10b447,0x4,_0x1af35d[0x20]),_0x33fec1=_0x407ff5(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x59bfd7,0xb,_0x1af35d[0x21]),_0x488118=_0x407ff5(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x4182f1,0x10,_0x1af35d[0x22]),_0x5be77b=_0x407ff5(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x589fb9,0x17,_0x1af35d[0x23]),_0x45d613=_0x407ff5(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x4f1afe,0x4,_0x1af35d[0x24]),_0x33fec1=_0x407ff5(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x10880e,0xb,_0x1af35d[0x25]),_0x488118=_0x407ff5(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x1c80ba,0x10,_0x1af35d[0x26]),_0x5be77b=_0x407ff5(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x24b18a,0x17,_0x1af35d[0x27]),_0x45d613=_0x407ff5(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x20cb4f,0x4,_0x1af35d[0x28]),_0x33fec1=_0x407ff5(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x45ee37,0xb,_0x1af35d[0x29]),_0x488118=_0x407ff5(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x28bcbe,0x10,_0x1af35d[0x2a]),_0x5be77b=_0x407ff5(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x4ed7aa,0x17,_0x1af35d[0x2b]),_0x45d613=_0x407ff5(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x4bed8e,0x4,_0x1af35d[0x2c]),_0x33fec1=_0x407ff5(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x3ac83c,0xb,_0x1af35d[0x2d]),_0x488118=_0x407ff5(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x348b8c,0x10,_0x1af35d[0x2e]),_0x5be77b=_0x407ff5(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x42b0b4,0x17,_0x1af35d[0x2f]),_0x45d613=_0x414d77(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x45ee37,0x6,_0x1af35d[0x30]),_0x33fec1=_0x414d77(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x1c80ba,0xa,_0x1af35d[0x31]),_0x488118=_0x414d77(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x589fb9,0xf,_0x1af35d[0x32]),_0x5be77b=_0x414d77(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x10b447,0x15,_0x1af35d[0x33]),_0x45d613=_0x414d77(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x3ac83c,0x6,_0x1af35d[0x34]),_0x33fec1=_0x414d77(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x28bcbe,0xa,_0x1af35d[0x35]),_0x488118=_0x414d77(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x24b18a,0xf,_0x1af35d[0x36]),_0x5be77b=_0x414d77(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x4f1afe,0x15,_0x1af35d[0x37]),_0x45d613=_0x414d77(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x59bfd7,0x6,_0x1af35d[0x38]),_0x33fec1=_0x414d77(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x348b8c,0xa,_0x1af35d[0x39]),_0x488118=_0x414d77(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x4ed7aa,0xf,_0x1af35d[0x3a]),_0x5be77b=_0x414d77(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x20cb4f,0x15,_0x1af35d[0x3b]),_0x45d613=_0x414d77(_0x45d613,_0x5be77b,_0x488118,_0x33fec1,_0x10880e,0x6,_0x1af35d[0x3c]),_0x33fec1=_0x414d77(_0x33fec1,_0x45d613,_0x5be77b,_0x488118,_0x4182f1,0xa,_0x1af35d[0x3d]),_0x488118=_0x414d77(_0x488118,_0x33fec1,_0x45d613,_0x5be77b,_0x42b0b4,0xf,_0x1af35d[0x3e]),_0x5be77b=_0x414d77(_0x5be77b,_0x488118,_0x33fec1,_0x45d613,_0x4bed8e,0x15,_0x1af35d[0x3f]),_0x21d952[0x0]=_0x21d952[0x0]+_0x45d613|0x0,_0x21d952[0x1]=_0x21d952[0x1]+_0x5be77b|0x0,_0x21d952[0x2]=_0x21d952[0x2]+_0x488118|0x0,_0x21d952[0x3]=_0x21d952[0x3]+_0x33fec1|0x0;},'_doFinalize':function(){var _0x2e0dbf=_0x96990d,_0x562da3=this[_0x2e0dbf(0x207)],_0x4210e1=_0x562da3['words'],_0x9192c=this[_0x2e0dbf(0x237)]*0x8,_0x2e0a90=_0x562da3[_0x2e0dbf(0x1f2)]*0x8;_0x4210e1[_0x2e0a90>>>0x5]|=0x80<<0x18-_0x2e0a90%0x20;var _0xe0b9d0=_0x1bc03e[_0x2e0dbf(0x232)](_0x9192c/0x100000000),_0x276e80=_0x9192c;_0x4210e1[(_0x2e0a90+0x40>>>0x9<<0x4)+0xf]=(_0xe0b9d0<<0x8|_0xe0b9d0>>>0x18)&0xff00ff|(_0xe0b9d0<<0x18|_0xe0b9d0>>>0x8)&0xff00ff00,_0x4210e1[(_0x2e0a90+0x40>>>0x9<<0x4)+0xe]=(_0x276e80<<0x8|_0x276e80>>>0x18)&0xff00ff|(_0x276e80<<0x18|_0x276e80>>>0x8)&0xff00ff00,_0x562da3[_0x2e0dbf(0x1f2)]=(_0x4210e1[_0x2e0dbf(0x2a3)]+0x1)*0x4,this[_0x2e0dbf(0x274)]();for(var _0x4cd29d=this[_0x2e0dbf(0x435)],_0x1ffc77=_0x4cd29d[_0x2e0dbf(0x212)],_0x1fde7f=0x0;_0x1fde7f<0x4;_0x1fde7f++){var _0xc14096=_0x1ffc77[_0x1fde7f];_0x1ffc77[_0x1fde7f]=(_0xc14096<<0x8|_0xc14096>>>0x18)&0xff00ff|(_0xc14096<<0x18|_0xc14096>>>0x8)&0xff00ff00;}return _0x4cd29d;},'clone':function(){var _0x37478c=_0x96990d,_0x199b85=_0x8c0684['clone']['call'](this);return _0x199b85[_0x37478c(0x435)]=this[_0x37478c(0x435)]['clone'](),_0x199b85;}});function _0x20d70c(_0x1c7e24,_0x7805b6,_0x54940e,_0x5596a7,_0x57a87f,_0x395faa,_0x4c3303){var _0x3ed402=_0x1c7e24+(_0x7805b6&_0x54940e|~_0x7805b6&_0x5596a7)+_0x57a87f+_0x4c3303;return(_0x3ed402<<_0x395faa|_0x3ed402>>>0x20-_0x395faa)+_0x7805b6;}function _0x66a3bf(_0x9ad3b6,_0x5df7fb,_0x3ae6ea,_0x1c0f38,_0x3b83f1,_0x468536,_0x23276f){var _0x436555=_0x9ad3b6+(_0x5df7fb&_0x1c0f38|_0x3ae6ea&~_0x1c0f38)+_0x3b83f1+_0x23276f;return(_0x436555<<_0x468536|_0x436555>>>0x20-_0x468536)+_0x5df7fb;}function _0x407ff5(_0x1e3ac0,_0x3d7ef2,_0xb6f1fe,_0x3f5d37,_0x5bfc75,_0x21018e,_0x314f1e){var _0x4df7ea=_0x1e3ac0+(_0x3d7ef2^_0xb6f1fe^_0x3f5d37)+_0x5bfc75+_0x314f1e;return(_0x4df7ea<<_0x21018e|_0x4df7ea>>>0x20-_0x21018e)+_0x3d7ef2;}function _0x414d77(_0x35c976,_0x32ff47,_0x30705b,_0x187146,_0x58c39c,_0x1fba00,_0x638f72){var _0x26ce74=_0x35c976+(_0x30705b^(_0x32ff47|~_0x187146))+_0x58c39c+_0x638f72;return(_0x26ce74<<_0x1fba00|_0x26ce74>>>0x20-_0x1fba00)+_0x32ff47;}_0x3c6d4b[_0x96990d(0x21f)]=_0x8c0684['_createHelper'](_0x37ed9f),_0x3c6d4b['HmacMD5']=_0x8c0684['_createHmacHelper'](_0x37ed9f);}(Math),_0xc16731[_0x4a3714(0x21f)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x444a1b(0x1c5)],Xt;function dn(){var _0x40d533=_0x444a1b;return Xt||(Xt=0x1,function(_0x4c4aa9,_0xdbcffa){(function(_0x483562,_0xf22a92){var _0x1159fc=_0x4432;_0x4c4aa9[_0x1159fc(0x1c5)]=_0xf22a92(te());}(un,function(_0x42d45b){var _0x19beba=_0x4432;return(function(){var _0x2a4ede=_0x4432,_0x5cbc82=_0x42d45b,_0x4a81ff=_0x5cbc82[_0x2a4ede(0x3b4)],_0x365d36=_0x4a81ff[_0x2a4ede(0x40d)],_0x54dab0=_0x4a81ff[_0x2a4ede(0x3a8)],_0x11e33d=_0x5cbc82['algo'],_0x15cae7=[],_0x7d8f63=_0x11e33d[_0x2a4ede(0x347)]=_0x54dab0[_0x2a4ede(0x3ae)]({'_doReset':function(){var _0x3876e1=_0x2a4ede;this[_0x3876e1(0x435)]=new _0x365d36['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x207af2,_0x30c744){var _0x706406=_0x2a4ede;for(var _0x50315c=this[_0x706406(0x435)][_0x706406(0x212)],_0x53d468=_0x50315c[0x0],_0x35fce5=_0x50315c[0x1],_0x5e67b7=_0x50315c[0x2],_0x4a3cb1=_0x50315c[0x3],_0x47328b=_0x50315c[0x4],_0x12687f=0x0;_0x12687f<0x50;_0x12687f++){if(_0x12687f<0x10)_0x15cae7[_0x12687f]=_0x207af2[_0x30c744+_0x12687f]|0x0;else{var _0xb8e2d=_0x15cae7[_0x12687f-0x3]^_0x15cae7[_0x12687f-0x8]^_0x15cae7[_0x12687f-0xe]^_0x15cae7[_0x12687f-0x10];_0x15cae7[_0x12687f]=_0xb8e2d<<0x1|_0xb8e2d>>>0x1f;}var _0x291254=(_0x53d468<<0x5|_0x53d468>>>0x1b)+_0x47328b+_0x15cae7[_0x12687f];_0x12687f<0x14?_0x291254+=(_0x35fce5&_0x5e67b7|~_0x35fce5&_0x4a3cb1)+0x5a827999:_0x12687f<0x28?_0x291254+=(_0x35fce5^_0x5e67b7^_0x4a3cb1)+0x6ed9eba1:_0x12687f<0x3c?_0x291254+=(_0x35fce5&_0x5e67b7|_0x35fce5&_0x4a3cb1|_0x5e67b7&_0x4a3cb1)-0x70e44324:_0x291254+=(_0x35fce5^_0x5e67b7^_0x4a3cb1)-0x359d3e2a,_0x47328b=_0x4a3cb1,_0x4a3cb1=_0x5e67b7,_0x5e67b7=_0x35fce5<<0x1e|_0x35fce5>>>0x2,_0x35fce5=_0x53d468,_0x53d468=_0x291254;}_0x50315c[0x0]=_0x50315c[0x0]+_0x53d468|0x0,_0x50315c[0x1]=_0x50315c[0x1]+_0x35fce5|0x0,_0x50315c[0x2]=_0x50315c[0x2]+_0x5e67b7|0x0,_0x50315c[0x3]=_0x50315c[0x3]+_0x4a3cb1|0x0,_0x50315c[0x4]=_0x50315c[0x4]+_0x47328b|0x0;},'_doFinalize':function(){var _0x5e4f15=_0x2a4ede,_0x237aa6=this['_data'],_0x37111a=_0x237aa6[_0x5e4f15(0x212)],_0x4d6501=this[_0x5e4f15(0x237)]*0x8,_0x45c7d9=_0x237aa6[_0x5e4f15(0x1f2)]*0x8;return _0x37111a[_0x45c7d9>>>0x5]|=0x80<<0x18-_0x45c7d9%0x20,_0x37111a[(_0x45c7d9+0x40>>>0x9<<0x4)+0xe]=Math[_0x5e4f15(0x232)](_0x4d6501/0x100000000),_0x37111a[(_0x45c7d9+0x40>>>0x9<<0x4)+0xf]=_0x4d6501,_0x237aa6[_0x5e4f15(0x1f2)]=_0x37111a[_0x5e4f15(0x2a3)]*0x4,this['_process'](),this[_0x5e4f15(0x435)];},'clone':function(){var _0x42c724=_0x2a4ede,_0x24444d=_0x54dab0[_0x42c724(0x19f)][_0x42c724(0x1b2)](this);return _0x24444d['_hash']=this[_0x42c724(0x435)][_0x42c724(0x19f)](),_0x24444d;}});_0x5cbc82[_0x2a4ede(0x347)]=_0x54dab0[_0x2a4ede(0x2d4)](_0x7d8f63),_0x5cbc82[_0x2a4ede(0x27d)]=_0x54dab0[_0x2a4ede(0x2f4)](_0x7d8f63);}()),_0x42d45b[_0x19beba(0x347)];}));}(qe)),qe[_0x40d533(0x1c5)];}var ze={'exports':{}},fn=ze[_0x444a1b(0x1c5)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x48e9d2,_0x4ceba0){(function(_0xd7b26d,_0xee8401){var _0x4cfc4b=_0x4432;_0x48e9d2[_0x4cfc4b(0x1c5)]=_0xee8401(te());}(fn,function(_0x494aac){(function(){var _0x1d6d46=_0x4432,_0x2af698=_0x494aac,_0x68870d=_0x2af698[_0x1d6d46(0x3b4)],_0x493dac=_0x68870d[_0x1d6d46(0x3e0)],_0x8e523c=_0x2af698['enc'],_0x2a8626=_0x8e523c[_0x1d6d46(0x26d)],_0x4f4e35=_0x2af698[_0x1d6d46(0x20b)];_0x4f4e35[_0x1d6d46(0x166)]=_0x493dac[_0x1d6d46(0x3ae)]({'init':function(_0x54ce4e,_0x3696ce){var _0xb64609=_0x1d6d46;_0x54ce4e=this[_0xb64609(0x351)]=new _0x54ce4e[(_0xb64609(0x450))](),typeof _0x3696ce==_0xb64609(0x178)&&(_0x3696ce=_0x2a8626[_0xb64609(0x173)](_0x3696ce));var _0x47b781=_0x54ce4e['blockSize'],_0x2e64c2=_0x47b781*0x4;_0x3696ce['sigBytes']>_0x2e64c2&&(_0x3696ce=_0x54ce4e[_0xb64609(0x330)](_0x3696ce)),_0x3696ce['clamp']();for(var _0x15b5ac=this['_oKey']=_0x3696ce['clone'](),_0x3a4bff=this[_0xb64609(0x32a)]=_0x3696ce['clone'](),_0x4681d2=_0x15b5ac[_0xb64609(0x212)],_0x3a195f=_0x3a4bff['words'],_0x52a5b6=0x0;_0x52a5b6<_0x47b781;_0x52a5b6++)_0x4681d2[_0x52a5b6]^=0x5c5c5c5c,_0x3a195f[_0x52a5b6]^=0x36363636;_0x15b5ac[_0xb64609(0x1f2)]=_0x3a4bff['sigBytes']=_0x2e64c2,this['reset']();},'reset':function(){var _0xa6a4b8=_0x1d6d46,_0x3e8126=this[_0xa6a4b8(0x351)];_0x3e8126['reset'](),_0x3e8126[_0xa6a4b8(0x3a2)](this[_0xa6a4b8(0x32a)]);},'update':function(_0x50e0bc){var _0x132062=_0x1d6d46;return this[_0x132062(0x351)][_0x132062(0x3a2)](_0x50e0bc),this;},'finalize':function(_0x2a08cd){var _0x3d2084=_0x1d6d46,_0x4c2d9b=this[_0x3d2084(0x351)],_0x2350a5=_0x4c2d9b[_0x3d2084(0x330)](_0x2a08cd);_0x4c2d9b['reset']();var _0x78879c=_0x4c2d9b['finalize'](this[_0x3d2084(0x39d)]['clone']()[_0x3d2084(0x23b)](_0x2350a5));return _0x78879c;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x444a1b(0x1c5)],Qt;function Oi(){var _0x42a4d5=_0x444a1b;return Qt||(Qt=0x1,function(_0x1398ca,_0x259d31){(function(_0x2eecf2,_0x4105fe,_0xf64cea){var _0x164b52=_0x4432;_0x1398ca[_0x164b52(0x1c5)]=_0x4105fe(te(),dn(),vn());}(pn,function(_0x17c5a3){var _0x51c1b7=_0x4432;return(function(){var _0x2b6ac5=_0x4432,_0x80e6a7=_0x17c5a3,_0x58bf89=_0x80e6a7[_0x2b6ac5(0x3b4)],_0x38047a=_0x58bf89[_0x2b6ac5(0x3e0)],_0x3eb88e=_0x58bf89['WordArray'],_0x215cd1=_0x80e6a7[_0x2b6ac5(0x20b)],_0x263be0=_0x215cd1[_0x2b6ac5(0x21f)],_0x124bc7=_0x215cd1['EvpKDF']=_0x38047a['extend']({'cfg':_0x38047a[_0x2b6ac5(0x3ae)]({'keySize':0x80/0x20,'hasher':_0x263be0,'iterations':0x1}),'init':function(_0xfadd4b){var _0x1d26a2=_0x2b6ac5;this[_0x1d26a2(0x36d)]=this[_0x1d26a2(0x36d)][_0x1d26a2(0x3ae)](_0xfadd4b);},'compute':function(_0x210523,_0x34804c){var _0x39e61c=_0x2b6ac5;for(var _0x5769d1,_0x60e68c=this[_0x39e61c(0x36d)],_0x2dbf20=_0x60e68c[_0x39e61c(0x16d)]['create'](),_0xb991a=_0x3eb88e[_0x39e61c(0x219)](),_0x559fdb=_0xb991a[_0x39e61c(0x212)],_0x576584=_0x60e68c[_0x39e61c(0x34f)],_0x43a82f=_0x60e68c[_0x39e61c(0x266)];_0x559fdb[_0x39e61c(0x2a3)]<_0x576584;){_0x5769d1&&_0x2dbf20['update'](_0x5769d1),_0x5769d1=_0x2dbf20['update'](_0x210523)[_0x39e61c(0x330)](_0x34804c),_0x2dbf20[_0x39e61c(0x389)]();for(var _0x1f2ae7=0x1;_0x1f2ae7<_0x43a82f;_0x1f2ae7++)_0x5769d1=_0x2dbf20[_0x39e61c(0x330)](_0x5769d1),_0x2dbf20[_0x39e61c(0x389)]();_0xb991a[_0x39e61c(0x23b)](_0x5769d1);}return _0xb991a[_0x39e61c(0x1f2)]=_0x576584*0x4,_0xb991a;}});_0x80e6a7['EvpKDF']=function(_0x253fa7,_0xf14c17,_0x2b1412){var _0x4b5eba=_0x2b6ac5;return _0x124bc7['create'](_0x2b1412)[_0x4b5eba(0x3e6)](_0x253fa7,_0xf14c17);};}()),_0x17c5a3[_0x51c1b7(0x1d5)];}));}(Ke)),Ke[_0x42a4d5(0x1c5)];}function _0x4432(_0x28a8d9,_0x418b93){var _0xa654b9=_0xa654();return _0x4432=function(_0x44321e,_0x157f4f){_0x44321e=_0x44321e-0x14c;var _0x290e87=_0xa654b9[_0x44321e];return _0x290e87;},_0x4432(_0x28a8d9,_0x418b93);}var Je={'exports':{}},mn=Je[_0x444a1b(0x1c5)],ei;function bi(){var _0xa84f93=_0x444a1b;return ei||(ei=0x1,function(_0x53b0bc,_0xaa9255){(function(_0x472c66,_0x35c0ef,_0x46d686){_0x53b0bc['exports']=_0x35c0ef(te(),Oi());}(mn,function(_0x113330){var _0x5c4ca5=_0x4432;_0x113330[_0x5c4ca5(0x3b4)][_0x5c4ca5(0x35a)]||function(_0x21cf9a){var _0x3b286c=_0x5c4ca5,_0x114921=_0x113330,_0x3fff2d=_0x114921[_0x3b286c(0x3b4)],_0x39538c=_0x3fff2d['Base'],_0x35e6d6=_0x3fff2d[_0x3b286c(0x40d)],_0x3dedaf=_0x3fff2d['BufferedBlockAlgorithm'],_0x3e021c=_0x114921[_0x3b286c(0x156)];_0x3e021c[_0x3b286c(0x26d)];var _0x482810=_0x3e021c['Base64'],_0x46e147=_0x114921[_0x3b286c(0x20b)],_0xdef75a=_0x46e147[_0x3b286c(0x1d5)],_0x1038b8=_0x3fff2d[_0x3b286c(0x35a)]=_0x3dedaf['extend']({'cfg':_0x39538c['extend'](),'createEncryptor':function(_0x5e98c2,_0x24354f){return this['create'](this['_ENC_XFORM_MODE'],_0x5e98c2,_0x24354f);},'createDecryptor':function(_0x30af21,_0x387536){return this['create'](this['_DEC_XFORM_MODE'],_0x30af21,_0x387536);},'init':function(_0x3c9513,_0x4690a4,_0x5bb27a){var _0x1dbb01=_0x3b286c;this[_0x1dbb01(0x36d)]=this[_0x1dbb01(0x36d)]['extend'](_0x5bb27a),this['_xformMode']=_0x3c9513,this[_0x1dbb01(0x302)]=_0x4690a4,this[_0x1dbb01(0x389)]();},'reset':function(){var _0x29648f=_0x3b286c;_0x3dedaf[_0x29648f(0x389)][_0x29648f(0x1b2)](this),this[_0x29648f(0x159)]();},'process':function(_0x12f9f4){var _0x2eb2dd=_0x3b286c;return this[_0x2eb2dd(0x25a)](_0x12f9f4),this[_0x2eb2dd(0x274)]();},'finalize':function(_0x21898f){var _0x13862b=_0x3b286c;_0x21898f&&this[_0x13862b(0x25a)](_0x21898f);var _0x49c35e=this['_doFinalize']();return _0x49c35e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5459ba(_0x60878b){var _0x5ba699=_0x4432;return typeof _0x60878b==_0x5ba699(0x178)?_0x5a4475:_0xa7c253;}return function(_0x46f140){return{'encrypt':function(_0xb48c73,_0x1a4388,_0x36671d){return _0x5459ba(_0x1a4388)['encrypt'](_0x46f140,_0xb48c73,_0x1a4388,_0x36671d);},'decrypt':function(_0x68323,_0x16ff34,_0x5d455b){return _0x5459ba(_0x16ff34)['decrypt'](_0x46f140,_0x68323,_0x16ff34,_0x5d455b);}};};}())});_0x3fff2d[_0x3b286c(0x2fc)]=_0x1038b8[_0x3b286c(0x3ae)]({'_doFinalize':function(){var _0x5399ba=this['_process'](!0x0);return _0x5399ba;},'blockSize':0x1});var _0x4bc52e=_0x114921['mode']={},_0x3052d5=_0x3fff2d['BlockCipherMode']=_0x39538c[_0x3b286c(0x3ae)]({'createEncryptor':function(_0x531969,_0x28f137){var _0x5eabb0=_0x3b286c;return this[_0x5eabb0(0x406)][_0x5eabb0(0x219)](_0x531969,_0x28f137);},'createDecryptor':function(_0x4e9008,_0x56b84e){var _0x324518=_0x3b286c;return this[_0x324518(0x430)][_0x324518(0x219)](_0x4e9008,_0x56b84e);},'init':function(_0xcdc44f,_0x34ce6b){var _0xbc62dc=_0x3b286c;this[_0xbc62dc(0x398)]=_0xcdc44f,this[_0xbc62dc(0x3e7)]=_0x34ce6b;}}),_0x34b6a7=_0x4bc52e[_0x3b286c(0x415)]=(function(){var _0x28079d=_0x3b286c,_0x5b36f0=_0x3052d5[_0x28079d(0x3ae)]();_0x5b36f0[_0x28079d(0x406)]=_0x5b36f0['extend']({'processBlock':function(_0x2617ad,_0x268d24){var _0x1b97f7=_0x28079d,_0x40b592=this[_0x1b97f7(0x398)],_0x5530f5=_0x40b592[_0x1b97f7(0x35d)];_0x1925af[_0x1b97f7(0x1b2)](this,_0x2617ad,_0x268d24,_0x5530f5),_0x40b592['encryptBlock'](_0x2617ad,_0x268d24),this[_0x1b97f7(0x1cd)]=_0x2617ad[_0x1b97f7(0x413)](_0x268d24,_0x268d24+_0x5530f5);}}),_0x5b36f0['Decryptor']=_0x5b36f0[_0x28079d(0x3ae)]({'processBlock':function(_0x265f26,_0x3266a6){var _0x5f425b=_0x28079d,_0x2fc446=this[_0x5f425b(0x398)],_0x29711c=_0x2fc446['blockSize'],_0xa633fe=_0x265f26['slice'](_0x3266a6,_0x3266a6+_0x29711c);_0x2fc446[_0x5f425b(0x278)](_0x265f26,_0x3266a6),_0x1925af[_0x5f425b(0x1b2)](this,_0x265f26,_0x3266a6,_0x29711c),this['_prevBlock']=_0xa633fe;}});function _0x1925af(_0x545515,_0x345da0,_0x12fbad){var _0x3b72b4=_0x28079d,_0x423174,_0x1fec38=this[_0x3b72b4(0x3e7)];_0x1fec38?(_0x423174=_0x1fec38,this[_0x3b72b4(0x3e7)]=_0x21cf9a):_0x423174=this['_prevBlock'];for(var _0x373d52=0x0;_0x373d52<_0x12fbad;_0x373d52++)_0x545515[_0x345da0+_0x373d52]^=_0x423174[_0x373d52];}return _0x5b36f0;}()),_0xdd8e6=_0x114921[_0x3b286c(0x201)]={},_0x450401=_0xdd8e6[_0x3b286c(0x2f9)]={'pad':function(_0x52503e,_0x3c4b84){var _0x569e20=_0x3b286c;for(var _0x19967d=_0x3c4b84*0x4,_0x30fed4=_0x19967d-_0x52503e['sigBytes']%_0x19967d,_0x56b91c=_0x30fed4<<0x18|_0x30fed4<<0x10|_0x30fed4<<0x8|_0x30fed4,_0x5b9402=[],_0xecfbfa=0x0;_0xecfbfa<_0x30fed4;_0xecfbfa+=0x4)_0x5b9402[_0x569e20(0x3d1)](_0x56b91c);var _0x378407=_0x35e6d6['create'](_0x5b9402,_0x30fed4);_0x52503e[_0x569e20(0x23b)](_0x378407);},'unpad':function(_0x2bdfa6){var _0x418f3f=_0x2bdfa6['words'][_0x2bdfa6['sigBytes']-0x1>>>0x2]&0xff;_0x2bdfa6['sigBytes']-=_0x418f3f;}};_0x3fff2d[_0x3b286c(0x2fd)]=_0x1038b8['extend']({'cfg':_0x1038b8[_0x3b286c(0x36d)][_0x3b286c(0x3ae)]({'mode':_0x34b6a7,'padding':_0x450401}),'reset':function(){var _0x5d2d1f=_0x3b286c,_0x317274;_0x1038b8[_0x5d2d1f(0x389)]['call'](this);var _0xfd2afe=this[_0x5d2d1f(0x36d)],_0x283be0=_0xfd2afe['iv'],_0x226fa1=_0xfd2afe['mode'];this[_0x5d2d1f(0x20d)]==this[_0x5d2d1f(0x1ee)]?_0x317274=_0x226fa1['createEncryptor']:(_0x317274=_0x226fa1[_0x5d2d1f(0x1d8)],this[_0x5d2d1f(0x1f3)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x317274?this[_0x5d2d1f(0x3dc)][_0x5d2d1f(0x450)](this,_0x283be0&&_0x283be0[_0x5d2d1f(0x212)]):(this['_mode']=_0x317274['call'](_0x226fa1,this,_0x283be0&&_0x283be0[_0x5d2d1f(0x212)]),this[_0x5d2d1f(0x3dc)]['__creator']=_0x317274);},'_doProcessBlock':function(_0x2851f5,_0xd99245){var _0x3640c5=_0x3b286c;this[_0x3640c5(0x3dc)]['processBlock'](_0x2851f5,_0xd99245);},'_doFinalize':function(){var _0x49ba81=_0x3b286c,_0x3145b9,_0x3aeec7=this[_0x49ba81(0x36d)]['padding'];return this[_0x49ba81(0x20d)]==this['_ENC_XFORM_MODE']?(_0x3aeec7[_0x49ba81(0x201)](this['_data'],this[_0x49ba81(0x35d)]),_0x3145b9=this[_0x49ba81(0x274)](!0x0)):(_0x3145b9=this[_0x49ba81(0x274)](!0x0),_0x3aeec7[_0x49ba81(0x184)](_0x3145b9)),_0x3145b9;},'blockSize':0x80/0x20});var _0x47fe6b=_0x3fff2d['CipherParams']=_0x39538c[_0x3b286c(0x3ae)]({'init':function(_0x2695ae){var _0x3af527=_0x3b286c;this[_0x3af527(0x322)](_0x2695ae);},'toString':function(_0x4baafc){var _0x4f5195=_0x3b286c;return(_0x4baafc||this[_0x4f5195(0x1b3)])[_0x4f5195(0x383)](this);}}),_0x2b91b1=_0x114921[_0x3b286c(0x2f3)]={},_0x3f0e13=_0x2b91b1['OpenSSL']={'stringify':function(_0x2ea546){var _0xcfcace=_0x3b286c,_0x5bc026,_0x558671=_0x2ea546[_0xcfcace(0x292)],_0x11f68e=_0x2ea546['salt'];return _0x11f68e?_0x5bc026=_0x35e6d6[_0xcfcace(0x219)]([0x53616c74,0x65645f5f])[_0xcfcace(0x23b)](_0x11f68e)[_0xcfcace(0x23b)](_0x558671):_0x5bc026=_0x558671,_0x5bc026[_0xcfcace(0x305)](_0x482810);},'parse':function(_0x5aebe3){var _0x26a8cf=_0x3b286c,_0x9eedf3,_0x3ce4a4=_0x482810['parse'](_0x5aebe3),_0x5998e3=_0x3ce4a4['words'];return _0x5998e3[0x0]==0x53616c74&&_0x5998e3[0x1]==0x65645f5f&&(_0x9eedf3=_0x35e6d6['create'](_0x5998e3['slice'](0x2,0x4)),_0x5998e3[_0x26a8cf(0x44f)](0x0,0x4),_0x3ce4a4[_0x26a8cf(0x1f2)]-=0x10),_0x47fe6b[_0x26a8cf(0x219)]({'ciphertext':_0x3ce4a4,'salt':_0x9eedf3});}},_0xa7c253=_0x3fff2d[_0x3b286c(0x35e)]=_0x39538c['extend']({'cfg':_0x39538c[_0x3b286c(0x3ae)]({'format':_0x3f0e13}),'encrypt':function(_0x3f803e,_0x45abfa,_0x22d662,_0x351679){var _0x274770=_0x3b286c;_0x351679=this['cfg']['extend'](_0x351679);var _0x4f6e94=_0x3f803e[_0x274770(0x2a4)](_0x22d662,_0x351679),_0x4de3d8=_0x4f6e94[_0x274770(0x330)](_0x45abfa),_0x57419b=_0x4f6e94['cfg'];return _0x47fe6b[_0x274770(0x219)]({'ciphertext':_0x4de3d8,'key':_0x22d662,'iv':_0x57419b['iv'],'algorithm':_0x3f803e,'mode':_0x57419b[_0x274770(0x221)],'padding':_0x57419b['padding'],'blockSize':_0x3f803e[_0x274770(0x35d)],'formatter':_0x351679[_0x274770(0x2f3)]});},'decrypt':function(_0x1a1e68,_0x1cd087,_0x24f78f,_0x2fe76f){var _0xf7afa4=_0x3b286c;_0x2fe76f=this[_0xf7afa4(0x36d)][_0xf7afa4(0x3ae)](_0x2fe76f),_0x1cd087=this[_0xf7afa4(0x42b)](_0x1cd087,_0x2fe76f[_0xf7afa4(0x2f3)]);var _0x2b4aca=_0x1a1e68[_0xf7afa4(0x1d8)](_0x24f78f,_0x2fe76f)['finalize'](_0x1cd087[_0xf7afa4(0x292)]);return _0x2b4aca;},'_parse':function(_0x33cbae,_0x4c97cd){var _0x277bb8=_0x3b286c;return typeof _0x33cbae==_0x277bb8(0x178)?_0x4c97cd[_0x277bb8(0x173)](_0x33cbae,this):_0x33cbae;}}),_0x40dbb3=_0x114921['kdf']={},_0x2d9b24=_0x40dbb3[_0x3b286c(0x1bc)]={'execute':function(_0x42c0f3,_0x3aebd3,_0x5713a2,_0x544594,_0x56e4a0){var _0x55f5c4=_0x3b286c;if(_0x544594||(_0x544594=_0x35e6d6['random'](0x40/0x8)),_0x56e4a0)var _0x461d09=_0xdef75a[_0x55f5c4(0x219)]({'keySize':_0x3aebd3+_0x5713a2,'hasher':_0x56e4a0})['compute'](_0x42c0f3,_0x544594);else var _0x461d09=_0xdef75a[_0x55f5c4(0x219)]({'keySize':_0x3aebd3+_0x5713a2})[_0x55f5c4(0x3e6)](_0x42c0f3,_0x544594);var _0x463734=_0x35e6d6[_0x55f5c4(0x219)](_0x461d09['words']['slice'](_0x3aebd3),_0x5713a2*0x4);return _0x461d09[_0x55f5c4(0x1f2)]=_0x3aebd3*0x4,_0x47fe6b['create']({'key':_0x461d09,'iv':_0x463734,'salt':_0x544594});}},_0x5a4475=_0x3fff2d['PasswordBasedCipher']=_0xa7c253[_0x3b286c(0x3ae)]({'cfg':_0xa7c253[_0x3b286c(0x36d)][_0x3b286c(0x3ae)]({'kdf':_0x2d9b24}),'encrypt':function(_0x5463b4,_0x2c316c,_0x3169b9,_0x18c356){var _0x5adbc5=_0x3b286c;_0x18c356=this['cfg'][_0x5adbc5(0x3ae)](_0x18c356);var _0x34f42c=_0x18c356['kdf'][_0x5adbc5(0x43a)](_0x3169b9,_0x5463b4[_0x5adbc5(0x34f)],_0x5463b4[_0x5adbc5(0x340)],_0x18c356[_0x5adbc5(0x300)],_0x18c356[_0x5adbc5(0x16d)]);_0x18c356['iv']=_0x34f42c['iv'];var _0x56ef62=_0xa7c253[_0x5adbc5(0x22d)][_0x5adbc5(0x1b2)](this,_0x5463b4,_0x2c316c,_0x34f42c['key'],_0x18c356);return _0x56ef62[_0x5adbc5(0x322)](_0x34f42c),_0x56ef62;},'decrypt':function(_0x1ff057,_0x3dd3b1,_0x2d6c9b,_0x596b02){var _0x304860=_0x3b286c;_0x596b02=this[_0x304860(0x36d)]['extend'](_0x596b02),_0x3dd3b1=this[_0x304860(0x42b)](_0x3dd3b1,_0x596b02[_0x304860(0x2f3)]);var _0xcd2f28=_0x596b02[_0x304860(0x1a9)][_0x304860(0x43a)](_0x2d6c9b,_0x1ff057['keySize'],_0x1ff057['ivSize'],_0x3dd3b1[_0x304860(0x300)],_0x596b02['hasher']);_0x596b02['iv']=_0xcd2f28['iv'];var _0x31bc1e=_0xa7c253['decrypt']['call'](this,_0x1ff057,_0x3dd3b1,_0xcd2f28['key'],_0x596b02);return _0x31bc1e;}});}();}));}(Je)),Je[_0xa84f93(0x1c5)];}var gn=Ve[_0x444a1b(0x1c5)],ti;function Sn(){var _0x283f25=_0x444a1b;return ti||(ti=0x1,function(_0x150d92,_0x22f01f){(function(_0x52a7bb,_0x11b1cf,_0x5d3c31){var _0xbe729d=_0x4432;_0x150d92[_0xbe729d(0x1c5)]=_0x11b1cf(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x45dc3e){var _0x31b20b=_0x4432;return(function(){var _0x24723d=_0x4432,_0x3a6b28=_0x45dc3e,_0x38ec13=_0x3a6b28[_0x24723d(0x3b4)],_0x301dea=_0x38ec13[_0x24723d(0x2fd)],_0x2a25e0=_0x3a6b28[_0x24723d(0x20b)],_0x174b52=[],_0x568247=[],_0x55ed77=[],_0x27475d=[],_0x4ceb2d=[],_0x4f1e1f=[],_0x50d700=[],_0x2b9845=[],_0x3d3ac3=[],_0x4864da=[];(function(){for(var _0x7ae40=[],_0xc410fc=0x0;_0xc410fc<0x100;_0xc410fc++)_0xc410fc<0x80?_0x7ae40[_0xc410fc]=_0xc410fc<<0x1:_0x7ae40[_0xc410fc]=_0xc410fc<<0x1^0x11b;for(var _0x483837=0x0,_0x1e8f25=0x0,_0xc410fc=0x0;_0xc410fc<0x100;_0xc410fc++){var _0x241804=_0x1e8f25^_0x1e8f25<<0x1^_0x1e8f25<<0x2^_0x1e8f25<<0x3^_0x1e8f25<<0x4;_0x241804=_0x241804>>>0x8^_0x241804&0xff^0x63,_0x174b52[_0x483837]=_0x241804,_0x568247[_0x241804]=_0x483837;var _0x443274=_0x7ae40[_0x483837],_0x2148c3=_0x7ae40[_0x443274],_0x20a76b=_0x7ae40[_0x2148c3],_0xc826a2=_0x7ae40[_0x241804]*0x101^_0x241804*0x1010100;_0x55ed77[_0x483837]=_0xc826a2<<0x18|_0xc826a2>>>0x8,_0x27475d[_0x483837]=_0xc826a2<<0x10|_0xc826a2>>>0x10,_0x4ceb2d[_0x483837]=_0xc826a2<<0x8|_0xc826a2>>>0x18,_0x4f1e1f[_0x483837]=_0xc826a2;var _0xc826a2=_0x20a76b*0x1010101^_0x2148c3*0x10001^_0x443274*0x101^_0x483837*0x1010100;_0x50d700[_0x241804]=_0xc826a2<<0x18|_0xc826a2>>>0x8,_0x2b9845[_0x241804]=_0xc826a2<<0x10|_0xc826a2>>>0x10,_0x3d3ac3[_0x241804]=_0xc826a2<<0x8|_0xc826a2>>>0x18,_0x4864da[_0x241804]=_0xc826a2,_0x483837?(_0x483837=_0x443274^_0x7ae40[_0x7ae40[_0x7ae40[_0x20a76b^_0x443274]]],_0x1e8f25^=_0x7ae40[_0x7ae40[_0x1e8f25]]):_0x483837=_0x1e8f25=0x1;}}());var _0x413d1c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2f9f4c=_0x2a25e0[_0x24723d(0x216)]=_0x301dea[_0x24723d(0x3ae)]({'_doReset':function(){var _0x3ffbb9=_0x24723d,_0x2ddac1;if(!(this[_0x3ffbb9(0x176)]&&this[_0x3ffbb9(0x1b7)]===this[_0x3ffbb9(0x302)])){for(var _0xf41c8a=this[_0x3ffbb9(0x1b7)]=this[_0x3ffbb9(0x302)],_0x4a5601=_0xf41c8a[_0x3ffbb9(0x212)],_0x35edcf=_0xf41c8a['sigBytes']/0x4,_0x37bb17=this[_0x3ffbb9(0x176)]=_0x35edcf+0x6,_0x25fbeb=(_0x37bb17+0x1)*0x4,_0x441d50=this[_0x3ffbb9(0x2c5)]=[],_0x395301=0x0;_0x395301<_0x25fbeb;_0x395301++)_0x395301<_0x35edcf?_0x441d50[_0x395301]=_0x4a5601[_0x395301]:(_0x2ddac1=_0x441d50[_0x395301-0x1],_0x395301%_0x35edcf?_0x35edcf>0x6&&_0x395301%_0x35edcf==0x4&&(_0x2ddac1=_0x174b52[_0x2ddac1>>>0x18]<<0x18|_0x174b52[_0x2ddac1>>>0x10&0xff]<<0x10|_0x174b52[_0x2ddac1>>>0x8&0xff]<<0x8|_0x174b52[_0x2ddac1&0xff]):(_0x2ddac1=_0x2ddac1<<0x8|_0x2ddac1>>>0x18,_0x2ddac1=_0x174b52[_0x2ddac1>>>0x18]<<0x18|_0x174b52[_0x2ddac1>>>0x10&0xff]<<0x10|_0x174b52[_0x2ddac1>>>0x8&0xff]<<0x8|_0x174b52[_0x2ddac1&0xff],_0x2ddac1^=_0x413d1c[_0x395301/_0x35edcf|0x0]<<0x18),_0x441d50[_0x395301]=_0x441d50[_0x395301-_0x35edcf]^_0x2ddac1);for(var _0x39a409=this[_0x3ffbb9(0x317)]=[],_0x307500=0x0;_0x307500<_0x25fbeb;_0x307500++){var _0x395301=_0x25fbeb-_0x307500;if(_0x307500%0x4)var _0x2ddac1=_0x441d50[_0x395301];else var _0x2ddac1=_0x441d50[_0x395301-0x4];_0x307500<0x4||_0x395301<=0x4?_0x39a409[_0x307500]=_0x2ddac1:_0x39a409[_0x307500]=_0x50d700[_0x174b52[_0x2ddac1>>>0x18]]^_0x2b9845[_0x174b52[_0x2ddac1>>>0x10&0xff]]^_0x3d3ac3[_0x174b52[_0x2ddac1>>>0x8&0xff]]^_0x4864da[_0x174b52[_0x2ddac1&0xff]];}}},'encryptBlock':function(_0x557162,_0x42a46c){var _0x412912=_0x24723d;this[_0x412912(0x28f)](_0x557162,_0x42a46c,this[_0x412912(0x2c5)],_0x55ed77,_0x27475d,_0x4ceb2d,_0x4f1e1f,_0x174b52);},'decryptBlock':function(_0x5cfb29,_0x5437c0){var _0x4a81df=_0x24723d,_0x42b28b=_0x5cfb29[_0x5437c0+0x1];_0x5cfb29[_0x5437c0+0x1]=_0x5cfb29[_0x5437c0+0x3],_0x5cfb29[_0x5437c0+0x3]=_0x42b28b,this[_0x4a81df(0x28f)](_0x5cfb29,_0x5437c0,this[_0x4a81df(0x317)],_0x50d700,_0x2b9845,_0x3d3ac3,_0x4864da,_0x568247);var _0x42b28b=_0x5cfb29[_0x5437c0+0x1];_0x5cfb29[_0x5437c0+0x1]=_0x5cfb29[_0x5437c0+0x3],_0x5cfb29[_0x5437c0+0x3]=_0x42b28b;},'_doCryptBlock':function(_0x4159e9,_0x34c466,_0x1ccf6e,_0x55154e,_0x518449,_0x345ec8,_0x4ebce3,_0x12a9ad){var _0x508be2=_0x24723d;for(var _0x3a0cee=this[_0x508be2(0x176)],_0xe39b7f=_0x4159e9[_0x34c466]^_0x1ccf6e[0x0],_0x1d3950=_0x4159e9[_0x34c466+0x1]^_0x1ccf6e[0x1],_0x54927a=_0x4159e9[_0x34c466+0x2]^_0x1ccf6e[0x2],_0x310f17=_0x4159e9[_0x34c466+0x3]^_0x1ccf6e[0x3],_0x23aa48=0x4,_0x39f696=0x1;_0x39f696<_0x3a0cee;_0x39f696++){var _0x44719c=_0x55154e[_0xe39b7f>>>0x18]^_0x518449[_0x1d3950>>>0x10&0xff]^_0x345ec8[_0x54927a>>>0x8&0xff]^_0x4ebce3[_0x310f17&0xff]^_0x1ccf6e[_0x23aa48++],_0x57e564=_0x55154e[_0x1d3950>>>0x18]^_0x518449[_0x54927a>>>0x10&0xff]^_0x345ec8[_0x310f17>>>0x8&0xff]^_0x4ebce3[_0xe39b7f&0xff]^_0x1ccf6e[_0x23aa48++],_0x346d41=_0x55154e[_0x54927a>>>0x18]^_0x518449[_0x310f17>>>0x10&0xff]^_0x345ec8[_0xe39b7f>>>0x8&0xff]^_0x4ebce3[_0x1d3950&0xff]^_0x1ccf6e[_0x23aa48++],_0x452361=_0x55154e[_0x310f17>>>0x18]^_0x518449[_0xe39b7f>>>0x10&0xff]^_0x345ec8[_0x1d3950>>>0x8&0xff]^_0x4ebce3[_0x54927a&0xff]^_0x1ccf6e[_0x23aa48++];_0xe39b7f=_0x44719c,_0x1d3950=_0x57e564,_0x54927a=_0x346d41,_0x310f17=_0x452361;}var _0x44719c=(_0x12a9ad[_0xe39b7f>>>0x18]<<0x18|_0x12a9ad[_0x1d3950>>>0x10&0xff]<<0x10|_0x12a9ad[_0x54927a>>>0x8&0xff]<<0x8|_0x12a9ad[_0x310f17&0xff])^_0x1ccf6e[_0x23aa48++],_0x57e564=(_0x12a9ad[_0x1d3950>>>0x18]<<0x18|_0x12a9ad[_0x54927a>>>0x10&0xff]<<0x10|_0x12a9ad[_0x310f17>>>0x8&0xff]<<0x8|_0x12a9ad[_0xe39b7f&0xff])^_0x1ccf6e[_0x23aa48++],_0x346d41=(_0x12a9ad[_0x54927a>>>0x18]<<0x18|_0x12a9ad[_0x310f17>>>0x10&0xff]<<0x10|_0x12a9ad[_0xe39b7f>>>0x8&0xff]<<0x8|_0x12a9ad[_0x1d3950&0xff])^_0x1ccf6e[_0x23aa48++],_0x452361=(_0x12a9ad[_0x310f17>>>0x18]<<0x18|_0x12a9ad[_0xe39b7f>>>0x10&0xff]<<0x10|_0x12a9ad[_0x1d3950>>>0x8&0xff]<<0x8|_0x12a9ad[_0x54927a&0xff])^_0x1ccf6e[_0x23aa48++];_0x4159e9[_0x34c466]=_0x44719c,_0x4159e9[_0x34c466+0x1]=_0x57e564,_0x4159e9[_0x34c466+0x2]=_0x346d41,_0x4159e9[_0x34c466+0x3]=_0x452361;},'keySize':0x100/0x20});_0x3a6b28[_0x24723d(0x216)]=_0x301dea['_createHelper'](_0x2f9f4c);}()),_0x45dc3e[_0x31b20b(0x216)];}));}(Ve)),Ve[_0x283f25(0x1c5)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x444a1b(0x1c5)],si;function Rn(){var _0x3d149f=_0x444a1b;return si||(si=0x1,function(_0x190daf,_0x31ba78){(function(_0x57d8f8,_0x4045b5){var _0x1c9803=_0x4432;_0x190daf[_0x1c9803(0x1c5)]=_0x4045b5(te());}(Cn,function(_0x2b81e8){var _0x244b0f=_0x4432;return _0x2b81e8[_0x244b0f(0x156)][_0x244b0f(0x26d)];}));}(Xe)),Xe[_0x3d149f(0x1c5)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0x49568f=_0x444a1b;return ni||(ni=0x1,function(_0x18409e,_0x5abe3f){(function(_0x3cdb80,_0x45f09f){var _0x3b7f20=_0x4432;_0x18409e[_0x3b7f20(0x1c5)]=_0x45f09f(te());}(yn,function(_0x4d8f12){var _0x555cd9=_0x4432;return(function(){var _0x34ee42=_0x4432;if(typeof ArrayBuffer==_0x34ee42(0x368)){var _0x37b101=_0x4d8f12,_0x1fc7ce=_0x37b101['lib'],_0x59da45=_0x1fc7ce[_0x34ee42(0x40d)],_0x55b421=_0x59da45[_0x34ee42(0x450)],_0x46ed2b=_0x59da45[_0x34ee42(0x450)]=function(_0x46f8f2){var _0x226811=_0x34ee42;if(_0x46f8f2 instanceof ArrayBuffer&&(_0x46f8f2=new Uint8Array(_0x46f8f2)),(_0x46f8f2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x46f8f2 instanceof Uint8ClampedArray||_0x46f8f2 instanceof Int16Array||_0x46f8f2 instanceof Uint16Array||_0x46f8f2 instanceof Int32Array||_0x46f8f2 instanceof Uint32Array||_0x46f8f2 instanceof Float32Array||_0x46f8f2 instanceof Float64Array)&&(_0x46f8f2=new Uint8Array(_0x46f8f2[_0x226811(0x1d2)],_0x46f8f2[_0x226811(0x251)],_0x46f8f2['byteLength'])),_0x46f8f2 instanceof Uint8Array){for(var _0x1f5af8=_0x46f8f2[_0x226811(0x449)],_0x1eeafc=[],_0x527e49=0x0;_0x527e49<_0x1f5af8;_0x527e49++)_0x1eeafc[_0x527e49>>>0x2]|=_0x46f8f2[_0x527e49]<<0x18-_0x527e49%0x4*0x8;_0x55b421['call'](this,_0x1eeafc,_0x1f5af8);}else _0x55b421['apply'](this,arguments);};_0x46ed2b['prototype']=_0x59da45;}}()),_0x4d8f12[_0x555cd9(0x3b4)]['WordArray'];}));}(Ze)),Ze[_0x49568f(0x1c5)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x3ddb7e=_0x444a1b;return ri||(ri=0x1,function(_0x27bcd3,_0x1b39d1){(function(_0x37ddeb,_0x57cdf0,_0x3cece2){var _0x21ee05=_0x4432;_0x27bcd3[_0x21ee05(0x1c5)]=_0x57cdf0(te(),bi());}(An,function(_0x307a50){var _0x268154=_0x4432;return _0x307a50[_0x268154(0x201)][_0x268154(0x369)]={'pad':function(){},'unpad':function(){}},_0x307a50[_0x268154(0x201)][_0x268154(0x369)];}));}(Qe)),Qe[_0x3ddb7e(0x1c5)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x56d56b,_0x45d48a){var _0x574857=_0x444a1b;const _0x2bb918=_0x45d48a-_0x56d56b[_0x574857(0x2a3)]%_0x45d48a,_0x9224f0=String[_0x574857(0x3ff)](_0x2bb918)[_0x574857(0x3c8)](_0x2bb918);return _0x56d56b+_0x9224f0;}function xn(_0x20f668,_0x37cbf8){var _0x1e0350=_0x444a1b;const _0x3d4103=Un[_0x1e0350(0x1ca)](0x10),_0x912477=Ln(_0x20f668,0x10),_0x1389d1=In[_0x1e0350(0x22d)](bn[_0x1e0350(0x173)](_0x912477),ii[_0x1e0350(0x173)](_0x37cbf8),{'iv':_0x3d4103,'padding':Mn});return _0x3d4103['concat'](_0x1389d1['ciphertext'])[_0x1e0350(0x305)](ii);}function kn(){var _0x24f79d=_0x444a1b;const _0x26e78b=_0x48e7f4()['__Key__'];if(_0x26e78b){const _0x2de490={'time':Math[_0x24f79d(0x232)](Date['now']()/0x3e8),'domain':location[_0x24f79d(0x39f)]};return xn(JSON[_0x24f79d(0x383)](_0x2de490),_0x26e78b);}}var $n=Object[_0x444a1b(0x30c)],Hn=(_0x4a9bfe,_0x2ccc60,_0x5ab1f5,_0x170425)=>{var _0x4b4ba0=_0x444a1b;for(var _0x51e072=_0x170425>0x1?void 0x0:_0x170425?$n(_0x2ccc60,_0x5ab1f5):_0x2ccc60,_0x2aff5b=_0x4a9bfe[_0x4b4ba0(0x2a3)]-0x1,_0x31e4b8;_0x2aff5b>=0x0;_0x2aff5b--)(_0x31e4b8=_0x4a9bfe[_0x2aff5b])&&(_0x51e072=_0x31e4b8(_0x51e072)||_0x51e072);return _0x51e072;},Bn=(_0x531b29,_0x58fb17)=>(_0xb36432,_0x3f0bc8)=>_0x58fb17(_0xb36432,_0x3f0bc8,_0x531b29);let at=class{constructor(_0x2eaef9){var _0x51a6ce=_0x444a1b;this[_0x51a6ce(0x186)]=_0x2eaef9,this[_0x51a6ce(0x3c5)]();}['_initRequestHeader'](){var _0x973e61=_0x444a1b;this[_0x973e61(0x186)][_0x973e61(0x2cd)]({'interceptor':(_0x5f1f23,_0x5bf28c)=>{var _0x2a5b2a=_0x973e61;const _0x3de660=_0x5f1f23['headers'],_0x100537=kn();return _0x100537&&_0x3de660['set'](_0x2a5b2a(0x174),_0x100537),_0x5bf28c(_0x5f1f23);}});}};at=Hn([Bn(0x0,_0x4c9835(_0x456bb1))],at);var jn=Object[_0x444a1b(0x30c)],Fn=(_0x53c9c0,_0x4c6439,_0x3c5958,_0x228e42)=>{var _0x2a40e7=_0x444a1b;for(var _0x1d4412=_0x228e42>0x1?void 0x0:_0x228e42?jn(_0x4c6439,_0x3c5958):_0x4c6439,_0x481af4=_0x53c9c0[_0x2a40e7(0x2a3)]-0x1,_0x53defd;_0x481af4>=0x0;_0x481af4--)(_0x53defd=_0x53c9c0[_0x481af4])&&(_0x1d4412=_0x53defd(_0x1d4412)||_0x1d4412);return _0x1d4412;},vt=(_0x3e2f41,_0x433579)=>(_0x2eebb,_0x4f386f)=>_0x433579(_0x2eebb,_0x4f386f,_0x3e2f41);let Ct=class extends _0x4b9da9{constructor(_0x5a63bc,_0x148ad5,_0x20a8df){var _0x2367ee=_0x444a1b;super(),N(this,_0x2367ee(0x227),new _0x38c4c7(null)),N(this,_0x2367ee(0x2fe),this[_0x2367ee(0x227)][_0x2367ee(0x291)]()),(this[_0x2367ee(0x373)]=_0x5a63bc,this[_0x2367ee(0x1e1)]=_0x148ad5,this['_localCacheService']=_0x20a8df);}async[_0x444a1b(0x315)](_0x12b28e,_0x351339,_0x1fa02a){var _0x533452=_0x444a1b;this['_unitInfo$'][_0x533452(0x3f6)]({'unitId':_0x12b28e,'type':_0x351339});let _0x44fb9b=null;switch(_0x351339){case Z['UNIVER_SHEET']:{_0x44fb9b=await this[_0x533452(0x1e1)]['loadSheet'](_0x12b28e,_0x1fa02a);break;}case Z['UNIVER_DOC']:{_0x44fb9b=await this[_0x533452(0x1e1)][_0x533452(0x439)](_0x12b28e,_0x1fa02a);break;}default:{this[_0x533452(0x373)][_0x533452(0x231)](_0x533452(0x376),_0x533452(0x43f));break;}}return _0x44fb9b;}async[_0x444a1b(0x18c)](_0x33a838,_0x4013ba,_0x2e50e5){var _0x3317d0=_0x444a1b,_0x21167d;this[_0x3317d0(0x227)][_0x3317d0(0x3f6)]({'unitId':_0x33a838,'type':_0x4013ba,'subUnitId':_0x2e50e5});let _0x590d50=0x0;const _0x45b14a=await((_0x21167d=this[_0x3317d0(0x3e2)])==null?void 0x0:_0x21167d[_0x3317d0(0x196)](_0x33a838));return _0x45b14a&&(_0x45b14a[_0x3317d0(0x404)]||_0x45b14a[_0x3317d0(0x268)][_0x3317d0(0x2a3)]!==0x0)&&(_0x590d50=_0x45b14a[_0x3317d0(0x3b9)]),_0x590d50===0x0&&this[_0x3317d0(0x373)]['debug'](_0x3317d0(0x376),_0x3317d0(0x1f1)),this[_0x3317d0(0x315)](_0x33a838,_0x4013ba,_0x590d50);}};Ct=Fn([vt(0x0,_0x241343),vt(0x1,_0x4c9835(_0x443f20)),vt(0x2,_0x3c34a2(J))],Ct);var Vn=Object[_0x444a1b(0x30c)],Wn=(_0x4fee41,_0x53c915,_0x3987ce,_0x19aad7)=>{var _0x3dcf65=_0x444a1b;for(var _0x482e41=_0x19aad7>0x1?void 0x0:_0x19aad7?Vn(_0x53c915,_0x3987ce):_0x53c915,_0x582ce8=_0x4fee41[_0x3dcf65(0x2a3)]-0x1,_0x2bbebf;_0x582ce8>=0x0;_0x582ce8--)(_0x2bbebf=_0x4fee41[_0x582ce8])&&(_0x482e41=_0x2bbebf(_0x482e41)||_0x482e41);return _0x482e41;},pt=(_0x1ff082,_0x14730c)=>(_0x512ef,_0x45c6e7)=>_0x14730c(_0x512ef,_0x45c6e7,_0x1ff082);const Gn=[_0x444a1b(0x272),'image/jpeg',_0x444a1b(0x2ae),'image/gif',_0x444a1b(0x416)],Yn=0x5*0x400*0x400,Kn=_0x444a1b(0x33e),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x731e3,_0x591e8c,_0x2584a2){var _0x109e8a=_0x444a1b;N(this,_0x109e8a(0x2d6),0x0),N(this,'_change$',new _0x3f9e9d()),N(this,_0x109e8a(0x407),this['_change$']),N(this,_0x109e8a(0x390),new Map()),(this['_httpService']=_0x731e3,this[_0x109e8a(0x2cc)]=_0x591e8c,this[_0x109e8a(0x1cb)]=_0x2584a2);}['setWaitCount'](_0x2a878f){var _0x491994=_0x444a1b;this[_0x491994(0x2d6)]=_0x2a878f,this[_0x491994(0x394)][_0x491994(0x3f6)](_0x2a878f);}[_0x444a1b(0x2af)](_0x4d9179,_0xaa1290){var _0x3c6da6=_0x444a1b;if(_0xaa1290===_0x4def5a[_0x3c6da6(0x3ac)]){const _0x211941=new Image();return _0x211941[_0x3c6da6(0x437)]=_0x4d9179,_0x211941;}return this['_imageSourceCache'][_0x3c6da6(0x433)](_0x4d9179);}[_0x444a1b(0x1c7)](_0x55df6a,_0x491b58,_0x56481d){var _0x13d3eb=_0x444a1b;_0x491b58===_0x4def5a['BASE64']||_0x56481d==null||this[_0x13d3eb(0x390)][_0x13d3eb(0x284)](_0x55df6a,_0x56481d);}async[_0x444a1b(0x2e4)](_0x12f816){var _0x2283f2=_0x444a1b;try{const _0x12c1a1=this['_replaceFileID'](this[_0x2283f2(0x224)](),''+_0x12f816),_0x401874=(await this[_0x2283f2(0x186)][_0x2283f2(0x433)](_0x12c1a1))['body'];if(_0x401874['error']&&_0x401874[_0x2283f2(0x231)]['code']===vi['OK']){const _0x3436d1=new URL(_0x401874['url'],this[_0x2283f2(0x452)]())[_0x2283f2(0x305)]();return Promise[_0x2283f2(0x208)](_0x3436d1);}return Promise[_0x2283f2(0x40a)](_0x401874['error']);}catch(_0x3b95df){return Promise[_0x2283f2(0x40a)](_0x3b95df);}}async['saveImage'](_0xc0a5cc){var _0x38471d=_0x444a1b;let _0x1b0dfc='';if(!Gn[_0x38471d(0x35c)](_0xc0a5cc[_0x38471d(0x3ec)]))return this['_decreaseWaiting'](),Promise[_0x38471d(0x40a)](new Error(_0x39962c[_0x38471d(0x2cb)]));if(_0xc0a5cc[_0x38471d(0x153)]>Yn)return this[_0x38471d(0x3c0)](),Promise[_0x38471d(0x40a)](new Error(_0x39962c[_0x38471d(0x22a)]));try{const _0x1bb2d0=new FormData();_0x1bb2d0[_0x38471d(0x23e)](_0x38471d(0x281),_0xc0a5cc);const _0x48ce09=this[_0x38471d(0x1cb)]['getFocusedUnit'](),_0x1a3650=_0x48ce09==null?void 0x0:_0x48ce09['getUnitId']();if(!_0x1a3650)throw new Error(_0x38471d(0x3fe));const _0x321da2=this['_getUploadFileURL']()+_0x38471d(0x26b)+_0xc0a5cc['size'][_0x38471d(0x305)]()+_0x38471d(0x2f7)+pi[_0x38471d(0x39a)]+'&assign='+encodeURIComponent(_0x1a3650),_0x5dc60f={'body':_0x1bb2d0},_0x21370a=(await this[_0x38471d(0x186)][_0x38471d(0x2e0)](_0x321da2,_0x5dc60f))[_0x38471d(0x195)];if(typeof _0x21370a['FileId']!=_0x38471d(0x178))return this[_0x38471d(0x3c0)](),Promise[_0x38471d(0x40a)](new Error(_0x39962c[_0x38471d(0x283)]));_0x1b0dfc=_0x21370a['FileId'];}catch{return this[_0x38471d(0x3c0)](),Promise['reject'](new Error(_0x39962c[_0x38471d(0x283)]));}return new Promise((_0x29b873,_0xeb6f5b)=>{var _0x4a9604=_0x38471d;const _0xf2c923=new FileReader();_0xf2c923['readAsDataURL'](_0xc0a5cc),_0xf2c923[_0x4a9604(0x3cc)]=_0xee7ac4=>{var _0x2f5449=_0x4a9604,_0x324257;const _0x11a6f1=(_0x324257=_0xee7ac4['target'])==null?void 0x0:_0x324257['result'];if(_0x11a6f1==null){this[_0x2f5449(0x3c0)](),_0xeb6f5b(new Error(_0x39962c[_0x2f5449(0x283)]));return;}const _0x5ac232=_0x4622c4(0x6);_0x29b873({'imageId':_0x5ac232,'imageSourceType':_0x4def5a[_0x2f5449(0x43b)],'source':_0x1b0dfc,'base64Cache':_0x11a6f1,'status':_0x39962c[_0x2f5449(0x273)]}),this['_decreaseWaiting']();};});}[_0x444a1b(0x14f)](){var _0x2fdca4=_0x444a1b,_0x230a9f;const _0x54b1cb=this['_configService'][_0x2fdca4(0x2d8)](K);return(_0x230a9f=_0x54b1cb==null?void 0x0:_0x54b1cb[_0x2fdca4(0x3aa)])!=null?_0x230a9f:Kn;}[_0x444a1b(0x224)](){var _0x191813=_0x444a1b,_0x115a18;const _0x40c2ac=this[_0x191813(0x2cc)][_0x191813(0x2d8)](K);return(_0x115a18=_0x40c2ac==null?void 0x0:_0x40c2ac[_0x191813(0x333)])!=null?_0x115a18:qn;}[_0x444a1b(0x452)](){var _0x38a643=_0x444a1b,_0x4cf658;const _0x5036a5=this['_configService'][_0x38a643(0x2d8)](K);return(_0x4cf658=_0x5036a5==null?void 0x0:_0x5036a5['downloadEndpointUrl'])!=null?_0x4cf658:location[_0x38a643(0x1c9)];}[_0x444a1b(0x3de)](_0x5c43d9,_0x40f198){var _0x5e04c9=_0x444a1b;return _0x5c43d9[_0x5e04c9(0x363)](_0x5e04c9(0x3bf),_0x40f198);}['_decreaseWaiting'](){var _0x2949ea=_0x444a1b;this[_0x2949ea(0x2d6)]-=0x1,this[_0x2949ea(0x394)][_0x2949ea(0x3f6)](this[_0x2949ea(0x2d6)]);}};Rt=Wn([pt(0x0,_0x4c9835(_0x456bb1)),pt(0x1,_0x3f29b9),pt(0x2,_0x4c9835(_0x4b228a))],Rt);var zn=Object[_0x444a1b(0x30c)],Jn=(_0x51d117,_0x3170d4,_0x3c37d4,_0x302fc8)=>{for(var _0x2a6ce6=_0x302fc8>0x1?void 0x0:_0x302fc8?zn(_0x3170d4,_0x3c37d4):_0x3170d4,_0xf1a523=_0x51d117['length']-0x1,_0x3f7f68;_0xf1a523>=0x0;_0xf1a523--)(_0x3f7f68=_0x51d117[_0xf1a523])&&(_0x2a6ce6=_0x3f7f68(_0x2a6ce6)||_0x2a6ce6);return _0x2a6ce6;},ai=(_0x11fda0,_0x44526b)=>(_0x158be7,_0x3f3395)=>_0x44526b(_0x158be7,_0x3f3395,_0x11fda0);const Xn=_0x444a1b(0x2c8);function _0xa654(){var _0x270b79=['_removeRoom','type','_collaborationSessionService','_executeRemoteChangeset','EMAIL_VERIFY_CODE_MISMATCH','_schedule','Undefined','YUUMI_ASYNCIO_CANCELLED','_transformService','YUUMI_UNABLE_LOAD_URL','NO_OTHER_CLIENTS_EDITING','next','allowed','_state','/allowed','_onRemoteACK','_sessions','defineProperty','USERS_LEAVE','unitId\x20is\x20not\x20found','fromCharCode','_createInitialState','USER_NOT_INVITED_CODE','onRemoteRej','_retryConnectingTimer','awaitingChangeset','editingUnit','Encryptor','change$','getAllMembers','UNIVER_COLLABORATION_CLIENT_PLUGIN','reject','CHANGESET_ACK','sessionStatus$','WordArray','_doFinalize','status','_members','_joinRoom','[OfflineState]:\x20received\x20rejection.','slice','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CBC','image/bmp','getCollabEntity','onStarting','_undoRedoService','_onUserJoin','_startCollaboration','getCurrentUser','_collabSessionService','LOGIN_FAILED','UNKNOWN_CMD','removeMember','UNDEFINED','join','confirm','APPLY_REJECT','getInterceptPoints','FETCH_MISS','url','_doCreateSocket','updatePermissionPoint','/block/','_parse','name','_replayCachedMutations','params','listRoles','Decryptor','_reverseMap','_clearScheduledTask','get','_onFetchMissResult','_hash','roomInfos','src','complete','loadDoc','execute','UUID','_applyRemoteChangeset','_createSocket','_lockTransition','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_disableEditing','/-/object/list','_sendingTimer','failed\x20to\x20apply\x20missed\x20changesets!','default','RETRY_CONNECTING_MAX_COUNT','indexOf','onCommandExecuted','/fetchmissing?from=','byteLength','min','infoRsp','COMPLETION_FINISHED','delete','YUUMI_SUBSCRIPTION_NOT_FOUND','splice','init','[CollaborationEntity]','_getDownloadEndpointURL','JOIN_ROOM_PERMISSION_DENIED','10UgFiSh','UNAUTHENTICATED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','21392IOkmEK','updateOfflineData','_getUploadFileURL','SOCKET_FAILED','onMissedChangesetFetched','HttpExport','size','hasOwnProperty','session.room-full','enc','getWorkbookSelections','UNIVER_UNKNOWN','_doReset','SUBMIT_CHANGESET_TIMEOUT','put','MOBILE_VERIFY_CODE_MISMATCH','onCommentUpdate','_candidateSocket','_config','textRanges','/-/object/-/batch_allowed','getCurrentRevOfUnit','reconnect','_init','_stopTelemetryCollaborationNewChangeset','HMAC','_fetchMissChangesets','_substituteRedoStack','emitEvent','revision','reqId','_commandService','hasher','HELLO','People','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','range','_getAPIPrefix','parse','x-univer-host','pending','_nRounds','stopTime','string','_getAPIPrefixPath','_updateLocalCache','INVITE_CODE_REQUIRED','/unit/','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REVISION_CONFILICT','GLOBAL_ROOMS_CNT_EXCEEDS','startsWith','/universer-api/user/session-ticket','onRemoteChangeset','getSnapshotAPIPath','unpad','_localeService','_httpService','title','_revisionService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getTypeOfUnitAdded$','SNAPSHOT_URL_KEY','loadUnit','dispose$','onStateChange','toggleOnline','HEARTBEAT','onTransformIME','unknown','_onRemoteChangeset','debug','body','loadOfflineData','localCacheService','_roomCreated$','EMAIL_HAS_BEEN_BOUND','baseRev','SNAPSHOT_INVALID_SNAPSHOT','now','cmd','_onConflict','clone','updateSnapshot','_roomMembers','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteAck','1057045XLNJHd','_onConnectionOpen','updateCursorEvent','_pendingMutations','YUUMI_CONNECTOR_URL_NOT_FOUND','kdf','_waitForHeartbeatResponse','LIVESHARE_TERMINATE','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','compose','result','_throwTelemetryCollaborationNewChangeset','getRoom','changesets','call','formatter','_clearHeartbeatTimer','_onRecvEvent','send','_keyPriorReset','session.join-failed','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_DISTRO_REJECTED','localeService','OpenSSL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','socket\x20open.','startTime','_createHandler','[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.','encodeURIComponent','_getCtorByUniverType','PSEUDO_FETCH_MISSING_RESULT','exports','override','addImageSourceCache','_commentService','origin','random','_univerInstanceService','getDeserializedSheetBlock','_prevBlock','CHANGESET_SHOULD_RETRY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','createInstance','/object','buffer','close','_memberService','EvpKDF','_changesetSessionId','awaiting_with_pending','createDecryptor','add','[CollaborationUndoRedoService]','?url=','apply','_timeoutTimer','setConfig','requestParams','YUUMI_AI_RUN_FAILED','_snapshotService','state','APPLY_DUPLICATED','_awaitingChangeset','_handlerCallback','findIndex','COMMENT_UPDATE','_redoStacks','_getUndoStack','_toggleOffline','randomBytes','_changesetReqId','YUUMI_NO_CUBOID_FOR_QUESTION','_ENC_XFORM_MODE','univer-pro.collaboration-client.network-condition.service','72qrBwPz','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','sigBytes','_minBufferSize','UPDATE_CURSOR','[CollaborationSessionService]','createSocket','_substituteUndoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','APPLY_NON_SEQUENTIAL_REVISION','onTransformSelections','ws://127.0.0.1:8000/universer-api/comb/connect','authzUrl','CHANGESET_REVISION_CONFILICT','NEW_CHANGESETS','Failed\x20to\x20update\x20permission\x20point','/collaborator','pad','_queuedRemoteChangesets','Base64','_startTelemetryCollaborationNewChangeset','FETCH_MISSING','_updateStatus','_data','resolve','joinRsp','transformChangesets','algo','onLocalMutation','_xformMode','getCurrentSelections','_toggleOnline','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','close$','words','_unlockTransition','updateMember','_sendHeartbeatTimer','AES','getUnitStatus$','_transformStack','create','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collaboration-client.config','originalMeta','submit\x20changeset\x20error!','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MD5','_showConflictNotification','mode','_tryEnsureSocket','MOBILE_HAS_BEEN_BOUND','_getSignURL','_isPermissionRej','_scheduleCompleteTimestamp','_unitInfo$','ONLINE','collaboration-client.local-cache-service','ERROR_EXCEED_SIZE','deepClone','substr','encrypt','find','_clearLocalCache','_collaborationTimeoutTimer','error','floor','capture','HEARTBEAT_TIMEOUT','_members$','21243378QaWHNG','_nDataBytes','_incrementRevisionNumber','objectType','save\x20fail\x20reason\x20is\x20','concat','_onLocalMutation','roles','append','_entities','AWAITING_WITH_PENDING','JOINING','SYNCED','onTransformRemoteChangesetByIMECache','method','\x0aCurrent:\x20','[CollaborationSessionService]:\x20socket\x20error','isArray','session.room-permission-denied','setShowComponents','csShouldRetryEvent','_collaborationPaused','forEach','subscribe','isPermissionRej','BufferedBlockAlgorithm','UserProfileImg','byteOffset','fetchMissingChangesets','csAckEvent','PERMISSION_REJ','_getCurrentRevision','NOT_FOUND','UNIVER_SLIDE','online$','sessionStatus','_append','JOIN_ROOM_NOT_EXISTS','objectActions','_transformIMECache','INGEST','getRandomValues','_transformRemoteChangesetByStateCache','Hex','enableCollaboration','USERS_ENTER','has','getUnit','iterations','/universer-api/comb','mutations','ALREADY_EXISTS','getUnitType','?size=','msCrypto','Utf8','event$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getMember','_socketReady','image/png','SUCCUSS','_process','appendMutation','_scheduleCollaborationTimeoutTimer','workbook','decryptBlock','_instanceService','_updateState','copyFileMeta','[SyncedState]:\x20received\x20acknowledgement.','HmacSHA1','getSheetId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','file','LIVESHARE_OPERATION','ERROR_IMAGE','set','saveSnapshot','transformMutationsWithChangeset','message$','prototype','status$','_compressMutationService','initWorkbookPermissionChange','encode','_socket','_acknowledgedAwaitingChangeset','_doCryptBlock','univer-pro.collaboration-client-socket-service','asObservable','ciphertext','TOO_MANY_REQUESTS','focused$','pluginName','collaboratorID','_onRemoteRetry','_state$','equals','OTHER_CLIENTS_EDITING','/object/','/new_changes','batchAllowed','&to=','_networkConditionService','_transitionLocked','_sendHeartbeat','_rescheduleHeartbeat','length','createEncryptor','userID','_onOffline','subject','3HBgWwX','Univer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','interceptor','_exhaustRemoteChangesetQueue','state$','image/jpg','getImageSourceCache','resend','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNRECOGNIZED','getResourcesRequest','closeSession','memberID','waitForRoom$','_userManagerService','_resendTimeout','COMPRESS_MUTATION_APPLY','offline','reduce','fetchThroughInterceptors','_clearCollaborationTimeoutTimer','auth.needGotoLoginAlert','m2Prime','onTransformState','JOIN','377667jMsYxh','_unitID','_initUnitPermissionChange','_keySchedule','sin','3436yQgRLD','/universer-api/authz','_doProcessBlock','\x0aAfter:\x20','ERROR_IMAGE_TYPE','_configService','registerHTTPInterceptor','_clearRetryConnectingTimer','\x20-\x20','fetchMiss','disableLocalCache','SHOULD_CLOSE_CONN','crypto','_createHelper','JOIN_ROOM_FULL','_waitCount','getTypeOfUnitDisposed$','getConfig','resourceIDs','_sender','_transformSelections','812ITrYpu','getValue','UNKNOWN_CODE','UPDATE_PERMISSION_OBJ','post','location','INVALID_INVITE_CODE','patch','getImage','FAIL','_resendTimer','LIVESHARE_REQUEST_HOST','CHANGESET_REJ','_remoteChangesetQueue','[CollaborationSession]','_tryReconnect','_getLoginPath','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','max','routeKey','UNIVER_SHEET','AWAITING','session.room-cnt-exceeds','format','_createHmacHelper','csRejEvent','list','&source=','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Pkcs7','JOIN_ROOM_FAILED','every','StreamCipher','BlockCipher','unitInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','salt','disposeWithMe','_key','connection\x20error','readInt32LE','toString','fetch_missing','duration','entries','loginUrlKey','catch','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getOwnPropertyDescriptor','_permissionService','dispose','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_submitChangeset','transformSelections','executeCommand','sheets','loadUnitOfRevision','liveShareNewHost','_invKeySchedule','requireSession','LICENSE_MAX_UNITS_EXCEEDED','fetching\x20missing\x20changesets\x20from\x20','_HTTPService','deleteCollaborator','refreshPermission','_shouldReportTelemetry','IDLE','_onMessage','[PendingState]:\x20received\x20rejection.','mixIn','enableSingleActiveInstanceLock','collaMsg','_initDependencies','_transformStateCache','getUnitOnRev','charCodeAt','sid','_iKey','_sheetTransformSelectionsService','_onConnectionFailed','conflict','INVITE_CODE_HAS_BEEN_UES','_socket$','finalize','YUUMI_RATE_OVER_LIMIT','pipe','signUrlServerUrl','selections','session.room-not-exists','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','unit-cache-','c2Prime','commentUpdate$','_transformRemoteChangesetByIMECache','eventID','_getSendChangesetTimeout','_singleActiveUnitService','/universer-api/stream/file/upload','_initCloseConn','ivSize','\x20in\x20_schedule.','_transformUndoredo','socket\x20close','avatar','_telemetryInfo','$super','SHA1','_event$','LEAVE','ceil','code','YUUMI_ALL_TABLES_IS_INVALID','/role','incrementRevOfUnit','keySize','_onRemoteRejected','_hasher','661916hfMLqu','_registerDependencies','updateCollaborator','/resources','_clearUndo','Latin1','UnitSnapshot','_createInitialStateImpl','Cipher','_clearRedo','includes','blockSize','SerializableCipher','OFFLINE','listCollaborators','_type','6jxtVKp','replace','_syncEditingCollabCursor','SUBMIT_CHANGESET','_sessionStatus$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','function','NoPadding','[PendingState]:\x20unhandled\x20univer\x20type:\x20','error$','onSendChangeset','cfg','[PendingState]:\x20received\x20acknowledgement.','telemetry\x20info\x20is\x20not\x20initialized','data','unsubscribe','symbol','_logService','ENSURE_SNAPSHOT_EXECUTION','_clearTimeoutTimer','[DataLoaderService]','sendChangesetTimeout','objectID','socketService','withCredentials','WECHAT_HAS_BEEN_BOUND','_injector','members$','MUTATION','href','INVALID_ARGUMENT','HttpImport','[SyncedState]:\x20received\x20rejection.','stringify','_resendWithTimeout','PENDING','getFocusedUnit','POST','OTHER_CLIENT_EDITING','reset','actions','unitID','INVITE_CODE_ALREADY_BOUND','_onCombEvent','unitId','fromCollab','_imageSourceCache','onRemoteRetry','socket$','_socketMessageSubscription','_change$','_status$','_commentUpdate$','NOT_COLLAB','_cipher','HEARTBEAT_INTERVAL','UnitEmbedded','onMissingChangesets','_socketService','_oKey','RECV','hostname','collaborators','_retryCount','update','then','_snapshotServerService','UNIVER_PROJECT','LIVESHARE_FETCH_OPERATIONS','_entityInit$','Hasher','synced','uploadFileServerUrl','c1Prime','BASE64','_telemetryService','extend','transformUndoRedo','/universer-api/snapshot','_listenToNetworkCondition','CONFLICT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','lib','onTransformRemoteChangesetByStateCache','APPLY_PERMISSION_DENIED','_handler','awaiting','rev','\x20to\x20','pauseCollaboration','417AoDUfx','permissionRejEvent','_emitMembers','{fileID}','_decreaseWaiting','session','LICENSE_IMPORT_SIZE_EXCEEDED','PERMISSION_DENIED','map','_initRequestHeader','CONNECTOR_DATA_TOO_LARGE','PERSON','repeat','LICENSE_EXPORT_SIZE_EXCEEDED','leaveEvent','joinEvent','onload','getUnitId','_onUserLeave','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INTERNAL_ERROR','push','_getRedoStack','LOCAL_CACHE_INTERVAL','3173302WVIlvW','open$','members','toggleOffline','filter','_checkMissing','_eventService','onSyncEditingCollabCursor','_mode','responseType','_replaceFileID','charAt','Base','addHandlerCallback','_localCacheService','_onJoinRoomEvent','commentUpdateEvent','_collaborationUIEventService','compute','_iv','clamp','CLOSE_ROOM','values'];_0xa654=function(){return _0x270b79;};return _0xa654();}let Ot=class{constructor(_0x4dd9b4,_0x2047a9){var _0x598a46=_0x444a1b;this[_0x598a46(0x2cc)]=_0x4dd9b4,this[_0x598a46(0x31b)]=_0x2047a9;}['_getAPIPrefixPath'](){var _0x35633e=_0x444a1b,_0x229b89;const _0x154a28=this['_configService'][_0x35633e(0x2d8)](K);return(_0x229b89=_0x154a28==null?void 0x0:_0x154a28['authzUrl'])!=null?_0x229b89:Xn;}async[_0x444a1b(0x2f6)](_0x21a30f){var _0x496f45=_0x444a1b;const _0x306dce=this[_0x496f45(0x179)]()+_0x496f45(0x200);return{'list':[{'title':_0x496f45(0x16f),'mentions':(await this[_0x496f45(0x31b)][_0x496f45(0x433)](_0x306dce,{'params':{'objectID':_0x21a30f[_0x496f45(0x38e)],'unitID':_0x21a30f['unitId']}}))['body'][_0x496f45(0x3a0)][_0x496f45(0x3c4)](_0x268f5f=>({'objectId':_0x268f5f['id'],'name':_0x268f5f[_0x496f45(0x2a7)][_0x496f45(0x42c)],'metadata':{'icon':_0x268f5f[_0x496f45(0x2a7)][_0x496f45(0x344)]},'label':_0x268f5f[_0x496f45(0x2a7)][_0x496f45(0x42c)],'objectType':_0x52c000['PERSON']})),'metadata':{},'type':_0x52c000[_0x496f45(0x3c7)]}]};}};Ot=Jn([ai(0x0,_0x4c9835(_0x3f29b9)),ai(0x1,_0x4c9835(_0x456bb1))],Ot);var Zn=Object[_0x444a1b(0x30c)],Qn=(_0x499fa7,_0x428907,_0x2d4ca4,_0x4b07a3)=>{var _0xcae11=_0x444a1b;for(var _0x51ebab=_0x4b07a3>0x1?void 0x0:_0x4b07a3?Zn(_0x428907,_0x2d4ca4):_0x428907,_0x1af92e=_0x499fa7[_0xcae11(0x2a3)]-0x1,_0x42e0e8;_0x1af92e>=0x0;_0x1af92e--)(_0x42e0e8=_0x499fa7[_0x1af92e])&&(_0x51ebab=_0x42e0e8(_0x51ebab)||_0x51ebab);return _0x51ebab;},Ue=(_0x8723f7,_0x4894af)=>(_0x34dbf9,_0x4ec7e4)=>_0x4894af(_0x34dbf9,_0x4ec7e4,_0x8723f7);let ot=class extends _0x4b9da9{constructor(_0x708d47,_0xbfb281,_0x585467,_0x163371,_0x4a4d93){var _0x566184=_0x444a1b;super(),this['_injector']=_0x708d47,this[_0x566184(0x1cb)]=_0xbfb281,this[_0x566184(0x30d)]=_0x585467,this[_0x566184(0x3ed)]=_0x163371,this['_collaborationUIEventService']=_0x4a4d93,this[_0x566184(0x2c4)](),this['_initCloseConn']();}[_0x444a1b(0x33f)](){var _0x4174af=_0x444a1b;const _0x11e199=async _0x445cbf=>{var _0x43751b=_0x4432;(await this[_0x43751b(0x3ed)]['requireSession'](_0x445cbf))[_0x43751b(0x26e)][_0x43751b(0x332)](_0x9c7bf3(_0x1a612e=>_0x1a612e[_0x43751b(0x33b)]===_0x54c106[_0x43751b(0x2d2)]),_0x541b95(this[_0x43751b(0x18d)]))[_0x43751b(0x24d)](_0x5433ed=>{var _0x2643bf=_0x43751b;const _0x54b6fb=_0x5433ed,{reason:_0x10f220}=_0x54b6fb[_0x2643bf(0x370)];this['_collaborationUIEventService'][_0x2643bf(0x169)]({'id':ne[_0x2643bf(0x3e9)],'data':_0x10f220}),this[_0x2643bf(0x30d)][_0x2643bf(0x429)](new _0x32a2ab(_0x445cbf)['id'],!0x1),this[_0x2643bf(0x3ed)][_0x2643bf(0x2b4)](_0x445cbf);});};_0x5a7b6a(this[_0x4174af(0x1cb)]['getTypeOfUnitAdded$'](_0x353667[_0x4174af(0x2f0)]),this[_0x4174af(0x1cb)][_0x4174af(0x18a)](_0x353667[_0x4174af(0x280)]))['pipe'](_0x3b39dc(_0x5b28e4=>_0x5b28e4[_0x4174af(0x3cd)]()),_0x9c7bf3(_0x2c2791=>!_0x155e1c(_0x2c2791)),_0x541b95(this['dispose$']))['subscribe'](_0x28718a=>{_0x11e199(_0x28718a);});}['_initUnitPermissionChange'](){var _0x543df4=_0x444a1b;const _0x18c917=async _0x6a70ee=>{var _0x614e3=_0x4432;const _0x47506d=await this[_0x614e3(0x3ed)][_0x614e3(0x318)](_0x6a70ee),_0x4e5be5=this[_0x614e3(0x37c)][_0x614e3(0x433)](_0x8dd00c);_0x47506d[_0x614e3(0x26e)][_0x614e3(0x332)](_0x9c7bf3(_0x1ca93e=>_0x1ca93e['eventID']===_0x54c106[_0x614e3(0x2df)]),_0x541b95(this[_0x614e3(0x18d)]))[_0x614e3(0x24d)](_0x495615=>{var _0x18603c=_0x614e3;const _0x3a0f09=_0x495615,{objectId:_0x33bd51}=_0x3a0f09[_0x18603c(0x370)];_0x33bd51===_0x6a70ee?_0x4e5be5[_0x18603c(0x28b)](_0x6a70ee):_0x4e5be5[_0x18603c(0x31d)](_0x6a70ee,_0x33bd51);});};_0x5a7b6a(this[_0x543df4(0x1cb)]['getTypeOfUnitAdded$'](_0x353667[_0x543df4(0x2f0)]))['pipe'](_0x3b39dc(_0xfbb582=>_0xfbb582[_0x543df4(0x3cd)]()),_0x9c7bf3(_0x505f42=>!_0x155e1c(_0x505f42)),_0x541b95(this[_0x543df4(0x18d)]))['subscribe'](_0x36e151=>{_0x18c917(_0x36e151);});}};ot=Qn([Ue(0x0,_0x4c9835(_0x23d06e)),Ue(0x1,_0x4b228a),Ue(0x2,_0x392f08),Ue(0x3,_0x4c9835(Pe)),Ue(0x4,_0x4c9835(ve))],ot);var er=Object[_0x444a1b(0x30c)],tr=(_0x332cf1,_0x472751,_0x3ac96f,_0x57a037)=>{var _0x18e850=_0x444a1b;for(var _0x4a72ae=_0x57a037>0x1?void 0x0:_0x57a037?er(_0x472751,_0x3ac96f):_0x472751,_0x44a00c=_0x332cf1[_0x18e850(0x2a3)]-0x1,_0x20022a;_0x44a00c>=0x0;_0x44a00c--)(_0x20022a=_0x332cf1[_0x44a00c])&&(_0x4a72ae=_0x20022a(_0x4a72ae)||_0x4a72ae);return _0x4a72ae;},oi=(_0x7b238f,_0x1ec9f5)=>(_0x1f4c74,_0x98d544)=>_0x1ec9f5(_0x1f4c74,_0x98d544,_0x7b238f);let bt=class{constructor(_0x34663f,_0x1715e2){var _0x4e0bfe=_0x444a1b;this[_0x4e0bfe(0x2cc)]=_0x34663f,this[_0x4e0bfe(0x186)]=_0x1715e2;}async[_0x444a1b(0x327)](_0x2ef321,_0x49c899){var _0x2756c6=_0x444a1b,_0x26ca19;const {unitID:_0x3faf24,type:_0x37e137,revision:_0x5318c1=0x0}=_0x49c899,_0x4acced=this[_0x2756c6(0x183)]()+'/'+_0x37e137+_0x2756c6(0x17c)+_0x3faf24+'/rev/'+_0x5318c1,_0x15e377=(await this[_0x2756c6(0x186)][_0x2756c6(0x433)](_0x4acced))[_0x2756c6(0x195)],_0x7511a6=(_0x26ca19=_0x15e377['snapshot'])==null?void 0x0:_0x26ca19[_0x2756c6(0x277)];if(_0x7511a6){const _0x16ce7b=_0x7511a6==null?void 0x0:_0x7511a6['originalMeta'],_0x2201d9=_0x40bb3c[_0x2756c6(0x28c)](_0x4234aa(_0x16ce7b));_0x7511a6[_0x2756c6(0x21c)]=_0x2201d9,Object[_0x2756c6(0x308)](_0x7511a6[_0x2756c6(0x314)])[_0x2756c6(0x24c)](([,_0x118da4])=>{var _0x4b7bf2=_0x2756c6;const _0x3be0ec=_0x118da4[_0x4b7bf2(0x21c)],_0x4f559a=_0x40bb3c[_0x4b7bf2(0x28c)](_0x4234aa(_0x3be0ec));_0x118da4[_0x4b7bf2(0x21c)]=_0x4f559a;});}return _0x15e377;}async['getSheetBlock'](_0xc15b55,_0x226509){var _0x4d475d=_0x444a1b;const {unitID:_0x52912e,type:_0x2e8997,blockID:_0x48b784}=_0x226509,_0x51fb2e=this['_getAPIPrefix']()+'/'+_0x2e8997+_0x4d475d(0x17c)+_0x52912e+_0x4d475d(0x42a)+_0x48b784;return(await this[_0x4d475d(0x186)][_0x4d475d(0x433)](_0x51fb2e))['body'];}async[_0x444a1b(0x1cc)](_0x372a09,_0x5aef9b){var _0x454d83=_0x444a1b;const {unitID:_0x1ac160,type:_0x505605,blockID:_0x545ab0}=_0x5aef9b,_0x1d1efe=this['_getAPIPrefix']()+_0x454d83(0x42a)+_0x505605+_0x454d83(0x17c)+_0x1ac160+_0x454d83(0x42a)+_0x545ab0;return(await this[_0x454d83(0x186)]['get'](_0x1d1efe))[_0x454d83(0x195)];}async['fetchMissingChangesets'](_0xfcb04c,_0x117f68){var _0x3193fd=_0x444a1b;const {unitID:_0x39c62d,type:_0x44a9b3,from:_0xe27cae,to:_0x1a7bbe}=_0x117f68,_0x2ef988=this[_0x3193fd(0x172)]()+'/'+_0x44a9b3+'/unit/'+_0x39c62d+_0x3193fd(0x448)+_0xe27cae+_0x3193fd(0x29e)+_0x1a7bbe;return(await this[_0x3193fd(0x186)][_0x3193fd(0x433)](_0x2ef988))[_0x3193fd(0x195)];}[_0x444a1b(0x183)](){var _0x20d459=_0x444a1b,_0x27657c;return(_0x27657c=this[_0x20d459(0x2cc)]['getConfig'](vs))!=null?_0x27657c:this[_0x20d459(0x172)]();}[_0x444a1b(0x172)](){var _0x567d37=_0x444a1b,_0x1de8c8;const _0x2668ee=this['_configService'][_0x567d37(0x2d8)](K);return(_0x1de8c8=_0x2668ee==null?void 0x0:_0x2668ee['snapshotServerUrl'])!=null?_0x1de8c8:fs;}async[_0x444a1b(0x2b3)](_0x1cb0d0,_0x514fb0){var _0x338609=_0x444a1b;const _0x407ca1='/universer-api/snapshot/'+_0x514fb0[_0x338609(0x3ec)]+_0x338609(0x17c)+_0x514fb0[_0x338609(0x38b)]+_0x338609(0x355);return(await this['_httpService'][_0x338609(0x433)](_0x407ca1,{'params':{'resourceId':JSON['stringify'](_0x514fb0[_0x338609(0x2d9)])}}))[_0x338609(0x195)];}[_0x444a1b(0x285)](){var _0x25a18a=_0x444a1b;throw new Error(_0x25a18a(0x2b1));}[_0x444a1b(0x1a0)](){var _0x35a73a=_0x444a1b;throw new Error(_0x35a73a(0x2b1));}['saveSheetBlock'](){var _0x25959c=_0x444a1b;throw new Error(_0x25959c(0x2b1));}['saveChangeset'](){var _0x549306=_0x444a1b;throw new Error(_0x549306(0x2b1));}[_0x444a1b(0x27b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x1d2376=_0x444a1b;throw new Error(_0x1d2376(0x2b1));}};bt=tr([oi(0x0,_0x3f29b9),oi(0x1,_0x4c9835(_0x456bb1))],bt);var ir=Object[_0x444a1b(0x30c)],sr=(_0x4a7139,_0x5a61bb,_0x596e85,_0x1e3a1f)=>{var _0x2cba60=_0x444a1b;for(var _0x55ede3=_0x1e3a1f>0x1?void 0x0:_0x1e3a1f?ir(_0x5a61bb,_0x596e85):_0x5a61bb,_0x3357cb=_0x4a7139[_0x2cba60(0x2a3)]-0x1,_0x8a7178;_0x3357cb>=0x0;_0x3357cb--)(_0x8a7178=_0x4a7139[_0x3357cb])&&(_0x55ede3=_0x8a7178(_0x55ede3)||_0x55ede3);return _0x55ede3;},Ae=(_0x30d735,_0x519f05)=>(_0x4a60fe,_0x52eae3)=>_0x519f05(_0x4a60fe,_0x52eae3,_0x30d735);let yt=class extends _0x540504{constructor(_0x1b474c,_0x462d81,_0x440da2,_0x2fe19f,_0x4d9f3a){var _0x2083c2=_0x444a1b;super(_0x1b474c,_0x462d81,_0x440da2),this[_0x2083c2(0x3f3)]=_0x2fe19f,this['_logService']=_0x4d9f3a;}[_0x444a1b(0x3af)](_0xa179fa,_0x484bc0){var _0x4583bd=_0x444a1b;const _0x1a81e3=this[_0x4583bd(0x1e9)](_0xa179fa);if(_0x1a81e3)try{const _0x12591e=this[_0x4583bd(0x218)](_0x1a81e3,_0x484bc0);this['_substituteUndoStack'](_0xa179fa,_0x12591e);}catch(_0x44ddf7){this[_0x4583bd(0x373)][_0x4583bd(0x231)](_0x4583bd(0x1da),_0x44ddf7),this['_clearUndo'](_0xa179fa);}const _0x1af1a4=this[_0x4583bd(0x3d2)](_0xa179fa);if(_0x1af1a4)try{const _0x644ae7=this['_transformStack'](_0x1af1a4,_0x484bc0);this[_0x4583bd(0x168)](_0xa179fa,_0x644ae7);}catch(_0x49336b){this[_0x4583bd(0x373)][_0x4583bd(0x231)](_0x49336b),this[_0x4583bd(0x35b)](_0xa179fa);}}[_0x444a1b(0x356)](_0xb5c1b){var _0x35dbc3=_0x444a1b;const _0x2da835=this[_0x35dbc3(0x1e9)](_0xb5c1b);_0x2da835&&(_0x2da835['length']=0x0,this[_0x35dbc3(0x206)]());}['_clearRedo'](_0x291149){var _0x22a552=_0x444a1b;const _0x94e8ce=this[_0x22a552(0x3d2)](_0x291149);_0x94e8ce&&(_0x94e8ce[_0x22a552(0x2a3)]=0x0,this[_0x22a552(0x206)]());}[_0x444a1b(0x1f7)](_0x102a74,_0x59872d){var _0x323559=_0x444a1b;this['_undoStacks'][_0x323559(0x284)](_0x102a74,_0x59872d),this[_0x323559(0x206)]();}[_0x444a1b(0x168)](_0x2f75f3,_0x59af17){var _0x225c2c=_0x444a1b;this[_0x225c2c(0x1e8)][_0x225c2c(0x284)](_0x2f75f3,_0x59af17),this['_updateStatus']();}['_transformStack'](_0x4379cc,_0x5e7b12){var _0x3778b8=_0x444a1b;const _0x1a4b0a=[];let _0x20eceb=_0x5e7b12,_0x3e2a57=_0x5e7b12;for(let _0xd08228=_0x4379cc[_0x3778b8(0x2a3)]-0x1;_0xd08228>=0x0;_0xd08228--){const {unitID:_0xf18213,undoMutations:_0xb3c61a,redoMutations:_0x45f58a}=_0x4379cc[_0xd08228],_0x5ea319=this[_0x3778b8(0x3f3)][_0x3778b8(0x286)](_0x20eceb,_0xb3c61a),_0x221076=this['_transformService'][_0x3778b8(0x286)](_0x3e2a57,_0x45f58a);if(_0x2cd89b(_0x5ea319)||_0x2cd89b(_0x221076)){this['_logService'][_0x3778b8(0x231)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x5ea319,_0x221076);break;}_0x20eceb=_0x5ea319[_0x3778b8(0x3ab)],_0x3e2a57=_0x221076[_0x3778b8(0x3ab)],_0x1a4b0a[_0x3778b8(0x3d1)]({'unitID':_0xf18213,'undoMutations':_0x5ea319['m2Prime'],'redoMutations':_0x221076[_0x3778b8(0x2bf)]});}return _0x1a4b0a['reverse']();}};yt=sr([Ae(0x0,_0x4b228a),Ae(0x1,_0x4d4c1c),Ae(0x2,_0x3014e0),Ae(0x3,_0x1aefb4),Ae(0x4,_0x241343)],yt);var nr=Object['defineProperty'],rr=Object[_0x444a1b(0x30c)],ar=(_0x1f6d66,_0x1cac35,_0x154f69)=>_0x1cac35 in _0x1f6d66?nr(_0x1f6d66,_0x1cac35,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x154f69}):_0x1f6d66[_0x1cac35]=_0x154f69,or=(_0x2fadcb,_0x58e227,_0x399616,_0x426f0b)=>{var _0x106541=_0x444a1b;for(var _0x53aade=_0x426f0b>0x1?void 0x0:_0x426f0b?rr(_0x58e227,_0x399616):_0x58e227,_0x14e744=_0x2fadcb[_0x106541(0x2a3)]-0x1,_0xf847d1;_0x14e744>=0x0;_0x14e744--)(_0xf847d1=_0x2fadcb[_0x14e744])&&(_0x53aade=_0xf847d1(_0x53aade)||_0x53aade);return _0x53aade;},mt=(_0x596aa1,_0x391b25)=>(_0x44bf1f,_0x44c607)=>_0x391b25(_0x44bf1f,_0x44c607,_0x596aa1),cr=(_0x25b8ac,_0x2eed16,_0x20012a)=>ar(_0x25b8ac,_0x2eed16+'',_0x20012a);const hr=_0x444a1b(0x409);let Nt=class extends _0x2d8419{constructor(_0x2a9f5e,_0x45f0e6,_0x10315a,_0x5112f0){var _0x63599f=_0x444a1b;super(),N(this,_0x63599f(0x15f)),(this[_0x63599f(0x373)]=_0x45f0e6,this['_injector']=_0x10315a,this[_0x63599f(0x2cc)]=_0x5112f0);const {..._0x1632d3}=_0x37ce61({},Ls,_0x2a9f5e);if(!_0x1632d3[_0x63599f(0x379)])throw new Error(_0x63599f(0x1cf));this[_0x63599f(0x15f)]=_0x1632d3,this[_0x63599f(0x2cc)][_0x63599f(0x1de)](K,_0x1632d3);}[_0x444a1b(0x418)](){var _0x3c1975=_0x444a1b;this[_0x3c1975(0x353)](),this[_0x3c1975(0x325)]();}['_registerDependencies'](){var _0x466f94=_0x444a1b,_0x47ad85,_0x292ee2;this[_0x466f94(0x37c)][_0x466f94(0x264)](_0x5e1044)&&this[_0x466f94(0x373)][_0x466f94(0x231)]('[UniverCollaborationClientPlugin]',_0x466f94(0x1ac));const _0xe0cc4d=_0x260db8([[_0x5e1044,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x466f94(0x15f)]['socketService']}],[_0x4d287d,{'useClass':bt}],[_0x5031d1,{'useClass':Tt}],[_0x68a5d6,{'useClass':Rt}],[_0x5f6075,{'useClass':Ot}],[nt],[It]],(_0x47ad85=this[_0x466f94(0x15f)])==null?void 0x0:_0x47ad85[_0x466f94(0x1c6)]);if(!((_0x292ee2=this[_0x466f94(0x15f)])!=null&&_0x292ee2[_0x466f94(0x323)])){const _0x35a0af=_0xe0cc4d[_0x466f94(0x1e6)](([_0x289dcf])=>_0x289dcf===ht);_0x35a0af!==-0x1&&_0xe0cc4d[_0x466f94(0x44f)](_0x35a0af,0x1);}_0x1d7cf0(this['_injector'],_0xe0cc4d);}['_initDependencies'](){var _0x3bf8cb=_0x444a1b,_0x837cf0,_0x42fd0e,_0x549916;this[_0x3bf8cb(0x37c)]['get'](_0x456bb1)[_0x3bf8cb(0x2cd)]({'priority':0x14,'interceptor':_0x2baaf({'maxParallel':0x6})}),(_0x837cf0=this[_0x3bf8cb(0x15f)])!=null&&_0x837cf0['enableOfflineEditing']||(_0x42fd0e=this[_0x3bf8cb(0x37c)][_0x3bf8cb(0x433)](J,_0x25ff3b['OPTIONAL']))==null||_0x42fd0e[_0x3bf8cb(0x2d1)](),(_0x549916=this[_0x3bf8cb(0x15f)])!=null&&_0x549916['enableAuthServer']&&_0x4a5b38(this[_0x3bf8cb(0x37c)],[[rt]]),_0x4a5b38(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0x444a1b(0x295),hr),Nt=or([_0x55f500(_0x1de9bf,_0x276210),mt(0x1,_0x241343),mt(0x2,_0x4c9835(_0x23d06e)),mt(0x3,_0x3f29b9)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|