@univerjs-pro/collaboration-client 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618
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 +9 -9
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x116ce9=_0x2a22;(function(_0x5e17b3,_0x107b4f){var _0x33a35f=_0x2a22,_0x2b25ea=_0x5e17b3();while(!![]){try{var _0x9e0726=-parseInt(_0x33a35f(0x378))/0x1*(-parseInt(_0x33a35f(0x1e1))/0x2)+parseInt(_0x33a35f(0x243))/0x3+parseInt(_0x33a35f(0x1e3))/0x4*(-parseInt(_0x33a35f(0x10e))/0x5)+-parseInt(_0x33a35f(0x1ad))/0x6*(-parseInt(_0x33a35f(0x159))/0x7)+-parseInt(_0x33a35f(0x283))/0x8*(parseInt(_0x33a35f(0x2fe))/0x9)+parseInt(_0x33a35f(0x2ec))/0xa+-parseInt(_0x33a35f(0x36a))/0xb*(parseInt(_0x33a35f(0x152))/0xc);if(_0x9e0726===_0x107b4f)break;else _0x2b25ea['push'](_0x2b25ea['shift']());}catch(_0x12c506){_0x2b25ea['push'](_0x2b25ea['shift']());}}}(_0x1e86,0x3a203));var yi=Object['defineProperty'],Ni=(_0x5e2f4d,_0x24f06e,_0x2a3153)=>_0x24f06e in _0x5e2f4d?yi(_0x5e2f4d,_0x24f06e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a3153}):_0x5e2f4d[_0x24f06e]=_0x2a3153,N=(_0x1c8afe,_0x1ee452,_0x160381)=>Ni(_0x1c8afe,typeof _0x1ee452!=_0x116ce9(0x211)?_0x1ee452+'':_0x1ee452,_0x160381);import{CollaborationEvent as _0x353970,ITransformService as _0x1c5e41,isTransformMutationsWithChangesetSuccess as _0x513a08,mapDocumentTypeToUniverType as _0x22ae93,RevisionService as _0x579054,isTransformChangesetsSuccess as _0x24c9fc,CompressMutationService as _0x18e7ae,parseProtocolChangeset as _0x33ce32,uuidv4 as _0x433bfd,ISnapshotServerService as _0x38f09d,parseChangesetToProtocol as _0x52531e,SnapshotService as _0xf0dc10,textEncoder as _0x239c8c,b64DecodeUnicode as _0x251cec,isTransformMutationsWithChangesetFailure as _0x2454f4,UniverCollaborationPlugin as _0x362329}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x283ba7,Inject as _0x557787,UserManagerService as _0x2a5c5d,Disposable as _0x122c44,UniverInstanceType as _0x7d3d2a,ILogService as _0x1703f1,IConfigService as _0x42adf2,Optional as _0x93ee66,RxDisposable as _0x4d32e2,createIdentifier as _0x414cea,Injector as _0x249d80,Tools as _0x988deb,Rectangle as _0xea558a,ICommandService as _0x557fb2,JSONX as _0x12a7dc,CommandType as _0x334635,IUndoRedoService as _0x2f8cb7,IPermissionService as _0x293adf,LocaleService as _0x5a45ce,sequenceExecute as _0x17714a,toDisposable as _0x47e850,DisposableCollection as _0x43ee92,Workbook as _0x192edd,generateRandomId as _0x228e58,MentionType as _0x2391a7,isInternalEditorID as _0x5f2cb9,LocalUndoRedoService as _0x3e896a,IContextService as _0xe6e059,DependentOn as _0xd4079b,Plugin as _0x575fcb,merge as _0x30d817,mergeOverrideWithDependencies as _0x22e301,IAuthzIoService as _0x2be129,IMentionIOService as _0x4a08bd,registerDependencies as _0x40c77e,Quantity as _0x1469d9,touchDependencies as _0x3a5b6e}from'@univerjs/core';import{RichTextEditingMutation as _0x49a809}from'@univerjs/docs';import{SheetsSelectionsService as _0x5eac83,SetSelectionsOperation as _0x434aad,InsertSheetMutation as _0x276ea8,EmptyMutation as _0x470c7d,WorkbookEditablePermission as _0x15e513,SheetPermissionInitController as _0x543aed}from'@univerjs/sheets';import{Subject as _0x19b0a1,merge as _0x53100c,of as _0x285d91,BehaviorSubject as _0x3dc6f5,takeUntil as _0x57b88f,ReplaySubject as _0x453e34,take as _0x1dc36d,map as _0x4113dc,shareReplay as _0x2ac48c,firstValueFrom as _0x21e5f,concatMap as _0x110683}from'rxjs';import{ITelemetryService as _0x1b402f}from'@univerjs/telemetry';import{map as _0x209458,take as _0x3b9751,filter as _0x48d5d4,delay as _0x37dec7,takeUntil as _0x510fd5}from'rxjs/operators';import{HTTPService as _0x31682f,ISocketService as _0x39c28c,MergeInterceptorFactory as _0x5f51ab,HTTPRequest as _0x393176,UniverNetworkPlugin as _0x500b9a,ThresholdInterceptorFactory as _0x5c04bf}from'@univerjs/network';import{ImageSourceType as _0x5a97a7,ImageUploadStatusType as _0x2b93c4,IImageIoService as _0x18e59b}from'@univerjs/drawing';import{getGlobalObject as _0x268f35}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x116ce9(0x1f6),Ir=_0x116ce9(0x1d8),gs=_0x116ce9(0x397),Ss=0x7530,di=_0x116ce9(0x368),fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x116ce9(0x103),Cr=0x3e8,Cs=_0x116ce9(0x226),Rs=_0x116ce9(0x2b0),Rr=_0x116ce9(0x375),Or=_0x116ce9(0xc2);var vi=(_0x709ace=>(_0x709ace[_0x709ace[_0x116ce9(0x240)]=0x0]='UNDEFINED',_0x709ace[_0x709ace['OK']=0x1]='OK',_0x709ace[_0x709ace['INTERNAL_ERROR']=0x2]=_0x116ce9(0x3b6),_0x709ace[_0x709ace[_0x116ce9(0x34a)]=0x3]=_0x116ce9(0x34a),_0x709ace[_0x709ace['NOT_FOUND']=0x4]=_0x116ce9(0xec),_0x709ace[_0x709ace[_0x116ce9(0x1cf)]=0x5]=_0x116ce9(0x1cf),_0x709ace[_0x709ace[_0x116ce9(0x145)]=0x6]=_0x116ce9(0x145),_0x709ace[_0x709ace[_0x116ce9(0x2a4)]=0x7]=_0x116ce9(0x2a4),_0x709ace[_0x709ace[_0x116ce9(0x1bc)]=0x8]='TOO_MANY_REQUESTS',_0x709ace[_0x709ace['COMPLETION_FINISHED']=0x9]=_0x116ce9(0x13a),_0x709ace[_0x709ace[_0x116ce9(0x317)]=0xa]=_0x116ce9(0x317),_0x709ace[_0x709ace[_0x116ce9(0x10b)]=0xb]=_0x116ce9(0x10b),_0x709ace[_0x709ace[_0x116ce9(0x25d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x709ace[_0x709ace[_0x116ce9(0x192)]=0xd]=_0x116ce9(0x192),_0x709ace[_0x709ace[_0x116ce9(0x2ac)]=0xe]=_0x116ce9(0x2ac),_0x709ace[_0x709ace['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x116ce9(0x369),_0x709ace[_0x709ace[_0x116ce9(0x366)]=0x1771]=_0x116ce9(0x366),_0x709ace[_0x709ace[_0x116ce9(0xb3)]=0x1772]=_0x116ce9(0xb3),_0x709ace[_0x709ace[_0x116ce9(0x3bb)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x709ace[_0x709ace[_0x116ce9(0x241)]=0x1b59]=_0x116ce9(0x241),_0x709ace[_0x709ace[_0x116ce9(0x390)]=0x1b5a]=_0x116ce9(0x390),_0x709ace[_0x709ace[_0x116ce9(0x296)]=0x1b5b]=_0x116ce9(0x296),_0x709ace[_0x709ace[_0x116ce9(0xbc)]=0x1b5c]=_0x116ce9(0xbc),_0x709ace[_0x709ace[_0x116ce9(0x31c)]=0x1b5d]=_0x116ce9(0x31c),_0x709ace[_0x709ace[_0x116ce9(0x1b9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x709ace[_0x709ace['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x116ce9(0x30d),_0x709ace[_0x709ace['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x116ce9(0x2ae),_0x709ace[_0x709ace['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x116ce9(0x28c),_0x709ace[_0x709ace[_0x116ce9(0x2db)]=0x232c]=_0x116ce9(0x2db),_0x709ace[_0x709ace['LICENSE_DISTRO_REJECTED']=0x232d]=_0x116ce9(0x2e8),_0x709ace[_0x709ace[_0x116ce9(0x2e6)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x709ace[_0x709ace['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x116ce9(0xcc),_0x709ace[_0x709ace['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x116ce9(0x2e9),_0x709ace[_0x709ace[_0x116ce9(0x203)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x709ace[_0x709ace['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x116ce9(0x2dd),_0x709ace[_0x709ace[_0x116ce9(0x1c2)]=0x271b]=_0x116ce9(0x1c2),_0x709ace[_0x709ace[_0x116ce9(0x22b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x709ace[_0x709ace[_0x116ce9(0x197)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x709ace[_0x709ace[_0x116ce9(0x245)]=0x271e]=_0x116ce9(0x245),_0x709ace[_0x709ace[_0x116ce9(0x193)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x709ace[_0x709ace[_0x116ce9(0x2d4)]=0x2720]=_0x116ce9(0x2d4),_0x709ace[_0x709ace[_0x116ce9(0x1d9)]=0x2af9]=_0x116ce9(0x1d9),_0x709ace[_0x709ace['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x116ce9(0x133),_0x709ace[_0x709ace[_0x116ce9(0x154)]=0x2ee2]=_0x116ce9(0x154),_0x709ace[_0x709ace[_0x116ce9(0x1f4)]=0x2ee3]=_0x116ce9(0x1f4),_0x709ace[_0x709ace[_0x116ce9(0x2ce)]=0x2ee4]=_0x116ce9(0x2ce),_0x709ace[_0x709ace[_0x116ce9(0x282)]=0x2ee5]=_0x116ce9(0x282),_0x709ace[_0x709ace['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x116ce9(0x314),_0x709ace[_0x709ace['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x116ce9(0x329),_0x709ace[_0x709ace[_0x116ce9(0x36b)]=0x32cb]=_0x116ce9(0x36b),_0x709ace[_0x709ace[_0x116ce9(0x182)]=-0x1]=_0x116ce9(0x182),_0x709ace))(vi||{}),Z=(_0x29451b=>(_0x29451b[_0x29451b['UNIVER_UNKNOWN']=0x0]=_0x116ce9(0x336),_0x29451b[_0x29451b['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x29451b[_0x29451b['UNIVER_SHEET']=0x2]=_0x116ce9(0x33b),_0x29451b[_0x29451b[_0x116ce9(0x1f7)]=0x3]='UNIVER_SLIDE',_0x29451b[_0x29451b[_0x116ce9(0x247)]=0x4]='UNIVER_PROJECT',_0x29451b[_0x29451b[_0x116ce9(0x182)]=-0x1]='UNRECOGNIZED',_0x29451b))(Z||{}),F=(_0x5c2ac8=>(_0x5c2ac8[_0x5c2ac8['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x251)]=0x1]='HELLO',_0x5c2ac8[_0x5c2ac8['JOIN']=0x2]=_0x116ce9(0x106),_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x27f)]=0x3]='LEAVE',_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x316)]=0x4]=_0x116ce9(0x316),_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x28e)]=0x5]='HEARTBEAT',_0x5c2ac8[_0x5c2ac8['RECV']=0x6]=_0x116ce9(0xd7),_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x182)]=-0x1]='UNRECOGNIZED',_0x5c2ac8))(F||{}),pe=(_0x47e6e7=>(_0x47e6e7[_0x47e6e7[_0x116ce9(0x1a2)]=0x0]=_0x116ce9(0x1a2),_0x47e6e7[_0x47e6e7['OK']=0x1]='OK',_0x47e6e7[_0x47e6e7[_0x116ce9(0x38e)]=0x2]=_0x116ce9(0x38e),_0x47e6e7[_0x47e6e7[_0x116ce9(0x3ba)]=0x3e9]='JOIN_ROOM_FULL',_0x47e6e7[_0x47e6e7[_0x116ce9(0x137)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x47e6e7[_0x47e6e7[_0x116ce9(0x38a)]=0x3eb]=_0x116ce9(0x38a),_0x47e6e7[_0x47e6e7[_0x116ce9(0x16a)]=0x3ec]=_0x116ce9(0x16a),_0x47e6e7[_0x47e6e7[_0x116ce9(0x182)]=-0x1]=_0x116ce9(0x182),_0x47e6e7))(pe||{}),pi=(_0x2853a2=>(_0x2853a2[_0x2853a2[_0x116ce9(0x221)]=0x0]=_0x116ce9(0x221),_0x2853a2[_0x2853a2[_0x116ce9(0xcb)]=0x1]='HttpImport',_0x2853a2[_0x2853a2[_0x116ce9(0x189)]=0x2]='HttpExport',_0x2853a2[_0x2853a2[_0x116ce9(0x278)]=0x3]=_0x116ce9(0x278),_0x2853a2[_0x2853a2['UnitSnapshot']=0x4]=_0x116ce9(0x177),_0x2853a2[_0x2853a2[_0x116ce9(0x25e)]=0x5]='UserProfileImg',_0x2853a2[_0x2853a2[_0x116ce9(0x182)]=-0x1]=_0x116ce9(0x182),_0x2853a2))(pi||{});const Os=_0x116ce9(0xe4);function bs(_0x48695c){var _0x150471=_0x116ce9;return JSON[_0x150471(0xf4)](_0x48695c)[_0x150471(0x196)];}var ne=(_0x32960e=>(_0x32960e[_0x116ce9(0x1eb)]=_0x116ce9(0x1eb),_0x32960e[_0x116ce9(0x34a)]=_0x116ce9(0x34a),_0x32960e[_0x116ce9(0x1ce)]='CONFLICT',_0x32960e[_0x116ce9(0x167)]=_0x116ce9(0x167),_0x32960e[_0x116ce9(0x172)]=_0x116ce9(0x172),_0x32960e['SOCKET_FAILED_RETRY']=_0x116ce9(0x331),_0x32960e['SOCKET_FAILED']=_0x116ce9(0x261),_0x32960e[_0x116ce9(0x254)]=_0x116ce9(0x254),_0x32960e))(ne||{});class ve{constructor(){var _0x3359f8=_0x116ce9;N(this,_0x3359f8(0x381),new _0x19b0a1()),N(this,'event$',this[_0x3359f8(0x381)][_0x3359f8(0x18e)]());}[_0x116ce9(0x1df)](_0x44040c){var _0x4ddce2=_0x116ce9;this[_0x4ddce2(0x381)][_0x4ddce2(0x371)](_0x44040c);}}class mi{constructor(){var _0x45de6e=_0x116ce9;N(this,_0x45de6e(0x374),new _0x19b0a1()),N(this,_0x45de6e(0x30a),this[_0x45de6e(0x374)][_0x45de6e(0x18e)]());}[_0x116ce9(0x1ed)](_0x5df4b5){var _0x405af9=_0x116ce9;this[_0x405af9(0x374)][_0x405af9(0x371)](_0x5df4b5);}}var ys=Object[_0x116ce9(0x396)],Ns=(_0x579912,_0x539244,_0x978cf0,_0x865058)=>{var _0x4b4f03=_0x116ce9;for(var _0x57cbcf=_0x865058>0x1?void 0x0:_0x865058?ys(_0x539244,_0x978cf0):_0x539244,_0x5e669f=_0x579912[_0x4b4f03(0x196)]-0x1,_0x12a56c;_0x5e669f>=0x0;_0x5e669f--)(_0x12a56c=_0x579912[_0x5e669f])&&(_0x57cbcf=_0x12a56c(_0x57cbcf)||_0x57cbcf);return _0x57cbcf;},Ft=(_0x183455,_0x51ccca)=>(_0x3657fc,_0x5d9bdc)=>_0x51ccca(_0x3657fc,_0x5d9bdc,_0x183455);let we=class extends _0x122c44{constructor(_0x27ffb1,_0x1ed275){var _0x3e037e=_0x116ce9;super(),N(this,'_roomMembers',new Map()),N(this,_0x3e037e(0x2b5),new _0x19b0a1()),(this[_0x3e037e(0xc7)]=_0x27ffb1,this[_0x3e037e(0x36f)]=_0x1ed275,this[_0x3e037e(0xf0)](_0x53100c(this['_univerInstanceService'][_0x3e037e(0x201)](_0x7d3d2a[_0x3e037e(0x33b)])['pipe'](_0x209458(_0x12c228=>_0x12c228['getUnitId']())),this[_0x3e037e(0xc7)]['getTypeOfUnitDisposed$'](_0x7d3d2a[_0x3e037e(0x1f8)])[_0x3e037e(0x266)](_0x209458(_0x3c625d=>_0x3c625d[_0x3e037e(0x130)]())),this[_0x3e037e(0xc7)]['getTypeOfUnitDisposed$'](_0x7d3d2a['UNIVER_SLIDE'])['pipe'](_0x209458(_0x283b5e=>_0x283b5e[_0x3e037e(0x130)]())))['subscribe'](_0x5dd081=>this[_0x3e037e(0x20b)](_0x5dd081))));}[_0x116ce9(0x29d)](_0x421833){var _0x4c3a1d=_0x116ce9;return this[_0x4c3a1d(0x17a)][_0x4c3a1d(0x322)](_0x421833)?_0x285d91(this['_roomMembers'][_0x4c3a1d(0x38f)](_0x421833)):this[_0x4c3a1d(0x2b5)][_0x4c3a1d(0x266)](_0x209458(_0x1d6a76=>{var _0x120c0f=_0x4c3a1d;if(_0x1d6a76===_0x421833)return this[_0x120c0f(0x17a)][_0x120c0f(0x38f)](_0x1d6a76);}));}['setCurrentUser'](_0x50d230){var _0x1d3c43=_0x116ce9;this[_0x1d3c43(0x36f)][_0x1d3c43(0x2a2)](_0x50d230);}['getCurrentUser'](){var _0x21d964=_0x116ce9;return this[_0x21d964(0x36f)][_0x21d964(0x1ff)]();}[_0x116ce9(0x1e0)](_0x4f99e1,_0x5caab4){var _0x2c439b=_0x116ce9;let _0xbfdbe6=this[_0x2c439b(0x17a)]['get'](_0x4f99e1);_0xbfdbe6||(_0xbfdbe6=new Ds(),this[_0x2c439b(0x17a)][_0x2c439b(0x228)](_0x4f99e1,_0xbfdbe6),this[_0x2c439b(0x2b5)]['next'](_0x4f99e1)),_0xbfdbe6['updateMember'](_0x5caab4);}[_0x116ce9(0x1d0)](_0x401948,_0x54a600){var _0xf38f2a=_0x116ce9;const _0x3235ad=this['_roomMembers'][_0xf38f2a(0x38f)](_0x401948);_0x3235ad&&_0x3235ad[_0xf38f2a(0x1d0)](_0x54a600);}[_0x116ce9(0x2fa)](_0x30dcc0){var _0x58bcbb=_0x116ce9;return this['_roomMembers'][_0x58bcbb(0x38f)](_0x30dcc0);}[_0x116ce9(0x2d1)](_0x333288,_0x1bb609){var _0x6d2339=_0x116ce9;const _0x6eb283=this[_0x6d2339(0x17a)][_0x6d2339(0x38f)](_0x333288);if(_0x6eb283)return _0x6eb283[_0x6d2339(0x2d1)](_0x1bb609);}[_0x116ce9(0x20b)](_0x41c4b9){var _0x1d4000=_0x116ce9;const _0x21e726=this[_0x1d4000(0x17a)][_0x1d4000(0x38f)](_0x41c4b9);_0x21e726&&(_0x21e726['dispose'](),this[_0x1d4000(0x17a)][_0x1d4000(0xba)](_0x41c4b9));}[_0x116ce9(0xd2)](){var _0x52f011=_0x116ce9;this[_0x52f011(0x17a)][_0x52f011(0x12d)](_0x5d5425=>_0x5d5425[_0x52f011(0xd2)]()),this['_roomMembers'][_0x52f011(0xe1)](),this[_0x52f011(0x2b5)][_0x52f011(0x26c)]();}};we=Ns([Ft(0x0,_0x283ba7),Ft(0x1,_0x557787(_0x2a5c5d))],we);class Ds extends _0x122c44{constructor(){var _0x29e2dd=_0x116ce9;super(...arguments),N(this,_0x29e2dd(0x1d7),new Map()),N(this,'_members$',new _0x3dc6f5(this['_members'])),N(this,_0x29e2dd(0x3b8),this[_0x29e2dd(0x244)][_0x29e2dd(0x18e)]());}[_0x116ce9(0xd2)](){var _0x31cf45=_0x116ce9;this[_0x31cf45(0x1d7)][_0x31cf45(0xe1)]();}['updateMember'](_0x42e5f2){var _0x501c40=_0x116ce9;this[_0x501c40(0x1d7)][_0x501c40(0x228)](_0x42e5f2[_0x501c40(0x399)],_0x42e5f2),this[_0x501c40(0x110)]();}[_0x116ce9(0x1d0)](_0xdb5ac1){var _0x3eb88d=_0x116ce9;this['_members'][_0x3eb88d(0xba)](_0xdb5ac1);}[_0x116ce9(0x2d1)](_0x2d6e10){var _0x4d3c60=_0x116ce9;return this[_0x4d3c60(0x1d7)][_0x4d3c60(0x38f)](_0x2d6e10);}[_0x116ce9(0x1c3)](){var _0x5efa6d=_0x116ce9;return Array[_0x5efa6d(0x11e)](this['_members'][_0x5efa6d(0x2da)]());}[_0x116ce9(0x110)](){var _0x503dc2=_0x116ce9;this['_members$']['next'](this[_0x503dc2(0x1d7)]);}}var Us=Object[_0x116ce9(0x396)],As=(_0x505164,_0x154aad,_0x32e3ae,_0x3c800f)=>{for(var _0x7677ac=_0x3c800f>0x1?void 0x0:_0x3c800f?Us(_0x154aad,_0x32e3ae):_0x154aad,_0xd34d2c=_0x505164['length']-0x1,_0x275524;_0xd34d2c>=0x0;_0xd34d2c--)(_0x275524=_0x505164[_0xd34d2c])&&(_0x7677ac=_0x275524(_0x7677ac)||_0x7677ac);return _0x7677ac;},Ce=(_0x2c8f2e,_0x1adfd4)=>(_0x56a25f,_0x41e4d4)=>_0x1adfd4(_0x56a25f,_0x41e4d4,_0x2c8f2e),ge=(_0xdf85ae=>(_0xdf85ae[_0xdf85ae[_0x116ce9(0x238)]=0x0]=_0x116ce9(0x238),_0xdf85ae[_0xdf85ae[_0x116ce9(0x3b5)]=0x1]=_0x116ce9(0x3b5),_0xdf85ae[_0xdf85ae[_0x116ce9(0x26d)]=0x2]=_0x116ce9(0x26d),_0xdf85ae[_0xdf85ae[_0x116ce9(0x35f)]=0x3]=_0x116ce9(0x35f),_0xdf85ae))(ge||{});const Vt={[pe[_0x116ce9(0x38e)]]:_0x116ce9(0x227),[pe[_0x116ce9(0x3ba)]]:_0x116ce9(0x332),[pe[_0x116ce9(0x137)]]:_0x116ce9(0x220),[pe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[pe[_0x116ce9(0x16a)]]:'session.room-cnt-exceeds'};let gt=class extends _0x4d32e2{constructor(_0x5be47b,_0x423baa,_0x392d94,_0x145976,_0x40a2a2,_0x2d4d5f,_0xc524bd,_0x576274){var _0x5aa632=_0x116ce9;super(),N(this,_0x5aa632(0x325),new _0x3dc6f5(0x0)),N(this,_0x5aa632(0x253),this[_0x5aa632(0x325)][_0x5aa632(0x18e)]()),N(this,_0x5aa632(0x381),new _0x19b0a1()),N(this,_0x5aa632(0x320),this[_0x5aa632(0x381)]['asObservable']()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x5aa632(0x1af)),N(this,_0x5aa632(0x195),!0x1),N(this,_0x5aa632(0x372),null),(this['_unitID']=_0x5be47b,this['_logService']=_0x392d94,this[_0x5aa632(0x206)]=_0x145976,this[_0x5aa632(0x2cd)]=_0x40a2a2,this[_0x5aa632(0x1ef)]=_0x2d4d5f,this[_0x5aa632(0xe9)]=_0xc524bd,this[_0x5aa632(0xdc)]=_0x576274,this['_shouldReportTelemetry']=!!this[_0x5aa632(0xdc)],_0x423baa[_0x5aa632(0x266)](_0x57b88f(this[_0x5aa632(0x1f0)]))[_0x5aa632(0x2f2)](_0x4ae4ae=>{var _0x3357ed=_0x5aa632,_0x1c1e8b;typeof _0x4ae4ae>'u'||(this[_0x3357ed(0x217)]=_0x4ae4ae,_0x4ae4ae?(this[_0x3357ed(0x37b)](_0x4ae4ae),this['_socketMessageSubscription']=_0x4ae4ae[_0x3357ed(0x21b)][_0x3357ed(0x2f2)](_0x54ca00=>{var _0x42ba91=_0x3357ed;_0x54ca00['routeKey']===this[_0x42ba91(0x395)]&&this['_onCombEvent'](_0x54ca00);})):(this[_0x3357ed(0x187)](),this[_0x3357ed(0x325)][_0x3357ed(0x371)](0x2),(_0x1c1e8b=this['_socketMessageSubscription'])==null||_0x1c1e8b[_0x3357ed(0x169)](),this[_0x3357ed(0x385)]=null));}));}get['sessionStatus'](){var _0x4ada61=_0x116ce9;return this[_0x4ada61(0x325)][_0x4ada61(0x21e)]();}['getMemberID'](){var _0x357215=_0x116ce9,_0x2a340a,_0x4a42ef;return(_0x4a42ef=(_0x2a340a=this[_0x357215(0x217)])==null?void 0x0:_0x2a340a[_0x357215(0x399)])!=null?_0x4a42ef:null;}['dispose'](){var _0x1fd60b=_0x116ce9;super[_0x1fd60b(0xd2)](),this[_0x1fd60b(0x1f0)][_0x1fd60b(0x371)](),this[_0x1fd60b(0x1f0)]['complete']();}[_0x116ce9(0x298)](){var _0x19abe5=_0x116ce9,_0x3b95f6,_0x58d6df;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3b95f6=this[_0x19abe5(0x217)])==null||_0x3b95f6[_0x19abe5(0x32b)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x58d6df=this['_socket'])==null||_0x58d6df[_0x19abe5(0x298)](),this[_0x19abe5(0x381)][_0x19abe5(0x26c)](),this[_0x19abe5(0x325)][_0x19abe5(0x26c)](),this[_0x19abe5(0xd2)]();}[_0x116ce9(0x2bc)](_0x407252){var _0x3122e7=_0x116ce9;_0x407252[_0x3122e7(0x14d)]===F['JOIN']?this[_0x3122e7(0x32e)](_0x407252):_0x407252[_0x3122e7(0x14d)]===F[_0x3122e7(0xd7)]&&this[_0x3122e7(0x3a8)](_0x407252);}[_0x116ce9(0x37b)](_0x482d92){var _0x278383=_0x116ce9;this['_sessionStatus$'][_0x278383(0x371)](0x1),_0x482d92[_0x278383(0x32b)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x278383(0x395)]}]}});}[_0x116ce9(0x32e)](_0x24abe8){var _0x3960aa=_0x116ce9,_0x292087;if(_0x24abe8[_0x3960aa(0x230)]in Vt){this[_0x3960aa(0xe9)]['emitEvent']({'id':ne[_0x3960aa(0x172)],'data':Vt[_0x24abe8[_0x3960aa(0x230)]]}),this[_0x3960aa(0x325)][_0x3960aa(0x371)](0x2);return;}this[_0x3960aa(0x325)][_0x3960aa(0x371)](0x3);const _0x556372=(_0x292087=_0x24abe8['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x292087[_0x3960aa(0x14e)];_0x556372&&_0x556372['forEach'](_0x575253=>this[_0x3960aa(0x2cd)][_0x3960aa(0x1e0)](this[_0x3960aa(0x395)],_0x575253));}[_0x116ce9(0x3a8)](_0x46779e){var _0x5ca923=_0x116ce9;try{const _0x4d9a7a=_0x46779e[_0x5ca923(0x249)];switch(_0x4d9a7a[_0x5ca923(0x171)]){case _0x353970[_0x5ca923(0x18f)]:this['_onUserJoin'](_0x4d9a7a),this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);break;case _0x353970[_0x5ca923(0x1d1)]:this['_onUserLeave'](_0x4d9a7a),this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);break;case _0x353970[_0x5ca923(0x333)]:case _0x353970[_0x5ca923(0x139)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5ca923(0x136)](),this['_event$']['next'](_0x4d9a7a);break;case _0x353970[_0x5ca923(0x13b)]:this[_0x5ca923(0x156)]['error'](_0x5ca923(0x108)+JSON[_0x5ca923(0xf4)](_0x4d9a7a)),this['_event$'][_0x5ca923(0x371)](_0x4d9a7a);break;case _0x353970['COMMENT_UPDATE']:this[_0x5ca923(0x1ef)][_0x5ca923(0x1ed)](_0x4d9a7a[_0x5ca923(0x249)]),this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);break;default:this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);}}catch(_0x246d92){this[_0x5ca923(0x156)][_0x5ca923(0x112)](_0x246d92,_0x46779e);}}[_0x116ce9(0x1aa)](_0x10b69d){var _0xb2d6f6=_0x116ce9;this[_0xb2d6f6(0x2cd)][_0xb2d6f6(0x1e0)](this[_0xb2d6f6(0x395)],_0x10b69d[_0xb2d6f6(0x249)]);}[_0x116ce9(0x353)](_0x3a4ea0){var _0x38a396=_0x116ce9;this[_0x38a396(0x2cd)]['removeMember'](this[_0x38a396(0x395)],_0x3a4ea0[_0x38a396(0x249)][_0x38a396(0x399)]);}async[_0x116ce9(0x32b)](_0x5c0da4,_0x21fe4c){var _0x5478ca=_0x116ce9;if(this[_0x5478ca(0x2af)]!==0x3||!this[_0x5478ca(0x217)])throw new Error(_0x5478ca(0x2c6));try{_0x5c0da4[_0x5478ca(0x171)]===_0x353970[_0x5478ca(0x219)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5478ca(0x1b0)](_0x5c0da4)),this[_0x5478ca(0x217)][_0x5478ca(0x32b)]({'cmd':F[_0x5478ca(0x316)],'routeKey':_0x21fe4c,'routeType':'','data':_0x5c0da4});}catch(_0x2d9331){this[_0x5478ca(0x156)]['error'](_0x2d9331);}}[_0x116ce9(0x14f)](){var _0x185bb2=_0x116ce9,_0x377d67;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x41278a=_0x2a22;this['_collaborationTimeoutTimer']=null,this[_0x41278a(0xe9)][_0x41278a(0x1df)]({'id':ne[_0x41278a(0x254)]});},(_0x377d67=this[_0x185bb2(0x206)][_0x185bb2(0x232)](di))!=null?_0x377d67:fi);}[_0x116ce9(0x136)](){var _0x270c09=_0x116ce9;this[_0x270c09(0x1af)]&&(clearTimeout(this[_0x270c09(0x1af)]),this[_0x270c09(0x1af)]=null);}[_0x116ce9(0x1b0)](_0x1eb9bf){var _0x30bb6f=_0x116ce9;if(!this[_0x30bb6f(0x195)])return;const {data:_0x3a3241}=_0x1eb9bf,{unitID:_0xde4bfd,changeset:_0x219895}=_0x3a3241,{mutations:_0x4d0505,type:_0x451388}=_0x219895;this['_telemetryInfo']={'unitId':_0xde4bfd,'type':_0x451388,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x4d0505)};}[_0x116ce9(0xe6)](){var _0xcc21a0=_0x116ce9;if(this['_shouldReportTelemetry']){if(!this[_0xcc21a0(0x372)]){this[_0xcc21a0(0x156)][_0xcc21a0(0x112)](_0xcc21a0(0x10f),_0xcc21a0(0x15f));return;}this[_0xcc21a0(0x372)][_0xcc21a0(0x10d)]=performance['now'](),this[_0xcc21a0(0x372)][_0xcc21a0(0x34f)]=this[_0xcc21a0(0x372)][_0xcc21a0(0x10d)]-this[_0xcc21a0(0x372)][_0xcc21a0(0x30b)],this[_0xcc21a0(0xdc)][_0xcc21a0(0x131)](Os,this[_0xcc21a0(0x372)]),this[_0xcc21a0(0x372)]=null;}}[_0x116ce9(0x187)](){var _0x450b6d=_0x116ce9;this[_0x450b6d(0x372)]=null;}};gt=As([Ce(0x2,_0x1703f1),Ce(0x3,_0x42adf2),Ce(0x4,_0x557787(we)),Ce(0x5,_0x557787(mi)),Ce(0x6,_0x557787(ve)),Ce(0x7,_0x93ee66(_0x1b402f))],gt);const J=_0x414cea('collaboration-client.local-cache-service');function br(_0x4210a1){return'unit-cache-'+_0x4210a1;}var ws=Object[_0x116ce9(0x396)],Ps=(_0x3c539e,_0x13c3fa,_0xc1f1a,_0x4e6be6)=>{for(var _0x14af1d=_0x4e6be6>0x1?void 0x0:_0x4e6be6?ws(_0x13c3fa,_0xc1f1a):_0x13c3fa,_0xe77e55=_0x3c539e['length']-0x1,_0x377883;_0xe77e55>=0x0;_0xe77e55--)(_0x377883=_0x3c539e[_0xe77e55])&&(_0x14af1d=_0x377883(_0x14af1d)||_0x14af1d);return _0x14af1d;},ut=(_0x4ea62c,_0x1d6878)=>(_0x65aa5a,_0x587438)=>_0x1d6878(_0x65aa5a,_0x587438,_0x4ea62c);function Ms(_0x2da4ef){var _0x351ec2=_0x116ce9;const {unitID:_0x2166d0,mutations:_0x25d23d}=_0x2da4ef;return{'unitId':_0x2166d0,'subUnitId':_0x25d23d[0x0][_0x351ec2(0x3a5)]['subUnitId']};}let it=class{constructor(_0x2a2925,_0x3fd35f,_0x59c326){var _0x5352a6=_0x116ce9;this[_0x5352a6(0x15b)]=_0x2a2925,this[_0x5352a6(0x304)]=_0x3fd35f,this[_0x5352a6(0x23c)]=_0x59c326;}[_0x116ce9(0x2df)](_0x1b9d13){var _0x43e8aa=_0x116ce9,_0x5da7ce,_0x56e793,_0x293f52,_0xfa7084;const _0x5c56f=this[_0x43e8aa(0x15b)][_0x43e8aa(0x38f)](_0x5eac83),{unitId:_0x312113,subUnitId:_0x57381f}=Ms(_0x1b9d13),_0x320fa4=_0x5c56f==null?void 0x0:_0x5c56f[_0x43e8aa(0xb0)](_0x312113)[_0x43e8aa(0x12a)](),_0x6fa2fe=(_0x56e793=(_0x5da7ce=this[_0x43e8aa(0x23c)]['getUnit'](_0x312113))==null?void 0x0:_0x5da7ce['getActiveSheet']())==null?void 0x0:_0x56e793[_0x43e8aa(0x1a4)]();if(_0x320fa4['length']===0x0||!_0x312113||!_0x57381f)return;const _0x2b4833=[{'id':_0x434aad['id'],'params':{'unitId':_0x312113,'subUnitId':_0x6fa2fe,'selections':_0x988deb[_0x43e8aa(0x29e)](_0x320fa4)}}],_0x530470=this[_0x43e8aa(0x304)][_0x43e8aa(0xe5)](_0x1b9d13,_0x2b4833);if(!_0x513a08(_0x530470))throw _0x530470[_0x43e8aa(0x112)];const _0x5284d9=(_0xfa7084=(_0x293f52=_0x530470['m2Prime'][0x0])==null?void 0x0:_0x293f52[_0x43e8aa(0x3a5)])==null?void 0x0:_0xfa7084[_0x43e8aa(0x15d)];if(Array[_0x43e8aa(0x250)](_0x5284d9)&&_0x5284d9[_0x43e8aa(0x196)]){if(_0x5284d9[_0x43e8aa(0x196)]===_0x2b4833[0x0]['params'][_0x43e8aa(0x15d)][_0x43e8aa(0x196)]&&_0x5284d9['every']((_0x5c13a7,_0x273c89)=>_0xea558a['equals'](_0x5c13a7['range'],_0x2b4833[0x0][_0x43e8aa(0x3a5)][_0x43e8aa(0x15d)][_0x273c89][_0x43e8aa(0x24f)])))return;this[_0x43e8aa(0x15b)]['get'](_0x557fb2)[_0x43e8aa(0x2cf)](_0x434aad['id'],{'unitId':_0x312113,'subUnitId':_0x6fa2fe,'selections':_0x5284d9});}}};it=Ps([ut(0x0,_0x557787(_0x249d80)),ut(0x1,_0x1c5e41),ut(0x2,_0x283ba7)],it);const ht=_0x414cea(_0x116ce9(0x37a));var gi=(_0x5bb782=>(_0x5bb782[_0x5bb782['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5bb782[_0x5bb782['OTHER_CLIENTS_EDITING']=0x1]=_0x116ce9(0x2d5),_0x5bb782))(gi||{});const K=_0x116ce9(0xe8),Ls={},xs=new Set([_0x276ea8['id']]);function Wt(_0xadc450,_0x39f2db,_0x56af7d,_0x3b7fe0,_0x32ff48){var _0x365321=_0x116ce9,_0x225853,_0x64160b,_0x19eb9d,_0x502818;const _0x5948b5=[];for(const _0xa9e69f of _0xadc450)if(xs['has'](_0xa9e69f['id'])){if(_0x5948b5['length']>0x0)break;_0x5948b5[_0x365321(0x39e)](_0xa9e69f);break;}else _0x5948b5[_0x365321(0x39e)](_0xa9e69f);const _0x14c20a=(_0x64160b=(_0x225853=_0x32ff48['getCurrentUser']())==null?void 0x0:_0x225853['userID'])!=null?_0x64160b:_0x365321(0x31e),_0x2d5e91=(_0x502818=(_0x19eb9d=_0x32ff48['getCurrentUser']())==null?void 0x0:_0x19eb9d['memberID'])!=null?_0x502818:_0x365321(0x31e);return{'changeset':{'unitID':_0x39f2db,'type':_0x22ae93(_0x56af7d[_0x365321(0x2cb)](_0x39f2db)),'baseRev':_0x3b7fe0[_0x365321(0x23a)](_0x39f2db),'revision':0x0,'userID':_0x14c20a,'memberID':_0x2d5e91,'mutations':_0x5948b5},'pendingMutations':_0xadc450[_0x365321(0x39a)](_0x5948b5[_0x365321(0x196)])};}function ks(_0x1d63d4,_0x5f5ab4,_0x307e75,_0x1b181d,_0x2fedf8){var _0x54e8a2=_0x116ce9,_0x317c6e,_0x2f4f99,_0x402aa4,_0x5811cd;const _0xfae24a=[_0x1d63d4[_0x54e8a2(0x3b1)]((_0xb13309,_0x16aa4d)=>{var _0x20f784=_0x54e8a2,_0x22865d;const {id:_0x2d1483}=_0xb13309,{id:_0x4436f5,type:_0x5877fa}=_0x16aa4d,_0x4698a7=(_0x22865d=_0xb13309[_0x20f784(0x3a5)])!=null?_0x22865d:{'actions':null},_0x287f52=_0x16aa4d['params'];if(_0x2d1483&&_0x2d1483!==_0x4436f5)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2d1483+'\x20-\x20'+_0x4436f5+'.');return{..._0xb13309,'id':_0x4436f5,'type':_0x5877fa,'params':{'unitId':_0x287f52['unitId'],'textRanges':_0x287f52[_0x20f784(0x24e)],'actions':_0x12a7dc[_0x20f784(0x302)](_0x4698a7[_0x20f784(0x305)],_0x287f52[_0x20f784(0x305)])}};},{})],_0x47d46a=(_0x2f4f99=(_0x317c6e=_0x2fedf8['getCurrentUser']())==null?void 0x0:_0x317c6e['userID'])!=null?_0x2f4f99:_0x54e8a2(0x31e),_0x2ddf6f=(_0x5811cd=(_0x402aa4=_0x2fedf8[_0x54e8a2(0x1ff)]())==null?void 0x0:_0x402aa4[_0x54e8a2(0x399)])!=null?_0x5811cd:'unknown';return{'changeset':{'unitID':_0x5f5ab4,'type':_0x22ae93(_0x307e75[_0x54e8a2(0x2cb)](_0x5f5ab4)),'baseRev':_0x1b181d[_0x54e8a2(0x23a)](_0x5f5ab4),'revision':0x0,'userID':_0x47d46a,'memberID':_0x2ddf6f,'mutations':_0xfae24a},'pendingMutations':[]};}function Si(_0x5a7b47,_0x4931c7){var _0x49233f=_0x116ce9;const _0x55be37=new _0x453e34(0x1);return setTimeout(()=>_0x55be37['next'](_0x4931c7),_0x5a7b47),_0x55be37[_0x49233f(0x18e)]()[_0x49233f(0x266)](_0x1dc36d(0x1));}const $s={'id':_0x470c7d['id'],'type':_0x334635[_0x116ce9(0x216)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Ee=(_0x563967,_0x47dcbe,_0x58e4ce,_0x139cfe)=>{for(var _0x521c1d=_0x139cfe>0x1?void 0x0:_0x139cfe?Hs(_0x47dcbe,_0x58e4ce):_0x47dcbe,_0x56653c=_0x563967['length']-0x1,_0x3b6278;_0x56653c>=0x0;_0x56653c--)(_0x3b6278=_0x563967[_0x56653c])&&(_0x521c1d=_0x3b6278(_0x521c1d)||_0x521c1d);return _0x521c1d;},P=(_0x2c08bc,_0x3edac0)=>(_0x444774,_0x205562)=>_0x3edac0(_0x444774,_0x205562,_0x2c08bc),Ei=(_0x468902=>(_0x468902['NOT_COLLAB']=_0x116ce9(0xc4),_0x468902[_0x116ce9(0x118)]=_0x116ce9(0x2a5),_0x468902[_0x116ce9(0x224)]=_0x116ce9(0x379),_0x468902[_0x116ce9(0xce)]='awaiting',_0x468902[_0x116ce9(0x113)]=_0x116ce9(0xf9),_0x468902[_0x116ce9(0x12b)]='fetch_missing',_0x468902[_0x116ce9(0x1ce)]=_0x116ce9(0xc1),_0x468902[_0x116ce9(0x26d)]=_0x116ce9(0x218),_0x468902))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x570fa1,_0x4dcdd7,_0x5f28fe,_0x5074ea,_0x262d91,_0x55fb4b,_0x5cd759,_0x42bc56,_0x32421d){var _0x144546=_0x116ce9;N(this,'_awaitingChangeset',null),N(this,_0x144546(0x2a7),[]),(this['unitID']=_0x570fa1,this[_0x144546(0x18b)]=_0x4dcdd7,this[_0x144546(0x147)]=_0x262d91,this[_0x144546(0x36c)]=_0x55fb4b,this[_0x144546(0x327)]=_0x5cd759,this[_0x144546(0x239)]=_0x42bc56,this[_0x144546(0x1b8)]=_0x32421d,this[_0x144546(0x3b0)]=_0x5f28fe,this['_pendingMutations']=_0x5074ea);}['_checkMissing'](_0x5c0c26){var _0x25b310=_0x116ce9;const _0x262477=this[_0x25b310(0x239)][_0x25b310(0x23a)](this['unitID']);return _0x5c0c26[_0x25b310(0x1f5)]>_0x262477+0x1?(this[_0x25b310(0x147)][_0x25b310(0x23f)]({'from':_0x262477,'to':_0x5c0c26[_0x25b310(0x1f5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x7a2116){var _0x8b5f=_0x116ce9;this[_0x8b5f(0x327)][_0x8b5f(0x291)](this[_0x8b5f(0x1b1)],_0x7a2116);}[_0x116ce9(0x377)](_0x1b4456){var _0x2100c0=_0x116ce9,_0x270f80,_0xd5bbdd;(_0xd5bbdd=(_0x270f80=this[_0x2100c0(0x147)])[_0x2100c0(0x39c)])==null||_0xd5bbdd[_0x2100c0(0x28b)](_0x270f80,_0x1b4456);}[_0x116ce9(0x35d)](_0x334796){var _0x29f862=_0x116ce9,_0x43ff10,_0x4ec887;return(_0x4ec887=(_0x43ff10=this[_0x29f862(0x147)])[_0x29f862(0x212)])==null?void 0x0:_0x4ec887[_0x29f862(0x28b)](_0x43ff10,_0x334796);}[_0x116ce9(0x1e2)](_0xe9f795){var _0x4cfb64=_0x116ce9,_0x4a6c23,_0x3aee56;return(_0x3aee56=(_0x4a6c23=this[_0x4cfb64(0x147)])[_0x4cfb64(0xd5)])==null?void 0x0:_0x3aee56[_0x4cfb64(0x28b)](_0x4a6c23,_0xe9f795);}[_0x116ce9(0x388)](_0x44a7a7){var _0x1d3d24=_0x116ce9,_0x4452b0,_0x59bccb,_0x22b6fd;return(_0x22b6fd=(_0x59bccb=(_0x4452b0=this['_handler'])[_0x1d3d24(0x3ac)])==null?void 0x0:_0x59bccb[_0x1d3d24(0x28b)](_0x4452b0,_0x44a7a7))!=null?_0x22b6fd:_0x44a7a7;}[_0x116ce9(0x2a6)](_0x2ba073){var _0x170e1d=_0x116ce9,_0xea7c03,_0x9d9500,_0x1ce3c4;return(_0x1ce3c4=(_0x9d9500=(_0xea7c03=this[_0x170e1d(0x147)])[_0x170e1d(0xc6)])==null?void 0x0:_0x9d9500[_0x170e1d(0x28b)](_0xea7c03,_0x2ba073))!=null?_0x1ce3c4:_0x2ba073;}[_0x116ce9(0x259)](_0x23f338){var _0x402f92=_0x116ce9,_0x55d901,_0x541a0a;if(this[_0x402f92(0x18b)]===Z[_0x402f92(0x1f8)]){const {unitID:_0x52fe45,mutations:_0x54421a,memberID:_0x1fc917}=_0x23f338,_0x1f1a2a=_0x54421a[0x0][_0x402f92(0x3a5)][_0x402f92(0x24e)];Array[_0x402f92(0x250)](_0x1f1a2a)&&_0x1f1a2a[_0x402f92(0x196)]>0x0&&((_0x541a0a=(_0x55d901=this[_0x402f92(0x147)])[_0x402f92(0x2e4)])==null||_0x541a0a[_0x402f92(0x28b)](_0x55d901,{'unitID':_0x52fe45,'memberID':_0x1fc917,'textRanges':_0x1f1a2a}));}}[_0x116ce9(0x39b)](){var _0x3f4bab=_0x116ce9,_0x4784ed;(_0x4784ed=this[_0x3f4bab(0x1b8)])==null||_0x4784ed['updateOfflineData'](this['unitID'],this[_0x3f4bab(0x18b)],this[_0x3f4bab(0x3b0)],this[_0x3f4bab(0x2a7)]);}['_getCurrentRevision'](){var _0x2b6e83=_0x116ce9;return this[_0x2b6e83(0x239)][_0x2b6e83(0x23a)](this[_0x2b6e83(0x1b1)]);}[_0x116ce9(0x2c1)](){var _0xbb36d8=_0x116ce9;this['_revisionService'][_0xbb36d8(0x236)](this[_0xbb36d8(0x1b1)]);}[_0x116ce9(0xe3)](_0x3ebe47){var _0x25b4b4=_0x116ce9,_0x1b5b08;let _0x364515=this[_0x25b4b4(0x388)](_0x3ebe47);_0x364515=this[_0x25b4b4(0x2a6)](_0x364515);const _0x34d175=_0x17714a(_0x364515[_0x25b4b4(0x392)],this[_0x25b4b4(0x36c)],{'fromCollab':!0x0});if(!_0x34d175[_0x25b4b4(0x358)])throw _0x34d175[_0x25b4b4(0x112)]instanceof Error?_0x34d175[_0x25b4b4(0x112)]:new Error((_0x1b5b08=_0x34d175['error'])!=null?_0x1b5b08:'[CollaborationState]:\x20apply\x20error!');this[_0x25b4b4(0x35d)](_0x364515),this[_0x25b4b4(0x1e2)](_0x364515),this['_transformUndoredo'](_0x3ebe47),this[_0x25b4b4(0x377)](_0x364515),this[_0x25b4b4(0x259)](_0x364515),this[_0x25b4b4(0x2c1)]();}}let ye=class extends Ie{constructor(_0x2ae65c,_0x128caa,_0x4a77c3,_0x153658,_0x3d69ed,_0x367773,_0x246049,_0x42c775,_0x2de594,_0x3deb19){var _0xc04124=_0x116ce9;super(_0x2ae65c,_0x128caa,null,[],_0x4a77c3,_0x246049,_0x367773,_0x153658,_0x3deb19),N(this,_0xc04124(0x102),_0xc04124(0x2a5)),(this[_0xc04124(0x15b)]=_0x3d69ed,this[_0xc04124(0x156)]=_0x42c775,this['_transformService']=_0x2de594,this[_0xc04124(0xd0)]=_0x3deb19);}[_0x116ce9(0x2f6)](_0x460060){var _0x61a70e=_0x116ce9;const _0x12102e=this['_injector'][_0x61a70e(0x13d)](re,this[_0x61a70e(0x1b1)],this[_0x61a70e(0x18b)],[_0x460060],this[_0x61a70e(0x147)]);return _0x12102e['_schedule'](),_0x12102e[_0x61a70e(0x39b)](),_0x12102e;}[_0x116ce9(0x300)](_0x3e7486){var _0x3dca32=_0x116ce9;if(this['_checkMissing'](_0x3e7486))return this['_injector'][_0x3dca32(0x13d)](Q,this[_0x3dca32(0x1b1)],this[_0x3dca32(0x18b)],null,[],null,[_0x3e7486],this['_handler']);try{const _0x25f0ce=this[_0x3dca32(0x304)][_0x3dca32(0xe5)](_0x3e7486,[$s]);if(_0x513a08(_0x25f0ce)){const {c1Prime:_0x4c3f35}=_0x25f0ce;return this['_executeRemoteChangeset'](_0x4c3f35),this;}throw _0x25f0ce[_0x3dca32(0x112)];}catch(_0x5e8bd4){return this[_0x3dca32(0x156)][_0x3dca32(0x112)](_0x5e8bd4),this[_0x3dca32(0x301)](!0x1);}}[_0x116ce9(0x301)](_0xd2aea9){var _0x5e8476=_0x116ce9;return this[_0x5e8476(0x15b)][_0x5e8476(0x13d)](le,this[_0x5e8476(0x1b1)],this[_0x5e8476(0x18b)],null,[],this[_0x5e8476(0x147)],_0xd2aea9);}[_0x116ce9(0x321)](){var _0x346359=_0x116ce9;throw new Error(_0x346359(0xea));}[_0x116ce9(0xdf)](){var _0x3312b4=_0x116ce9;throw new Error(_0x3312b4(0x2fc));}[_0x116ce9(0x1ae)](){return this;}['toggleOffline'](){var _0x53d2c7=_0x116ce9;return this[_0x53d2c7(0x15b)][_0x53d2c7(0x13d)](ue,this['unitID'],this[_0x53d2c7(0x18b)],null,[],this[_0x53d2c7(0x147)]);}[_0x116ce9(0x1bf)](){return this;}[_0x116ce9(0x175)](){var _0x4526d0=_0x116ce9;throw new Error(_0x4526d0(0x1fb));}[_0x116ce9(0x19c)](){var _0x127d31=_0x116ce9;const _0x333769=this[_0x127d31(0x239)][_0x127d31(0x23a)](this[_0x127d31(0x1b1)]);return this['_handler'][_0x127d31(0x23f)]({'from':_0x333769,'to':0x0}),this[_0x127d31(0x15b)][_0x127d31(0x13d)](Q,this[_0x127d31(0x1b1)],this[_0x127d31(0x18b)],null,[],null,[],this[_0x127d31(0x147)]);}};ye=Ee([P(0x3,_0x557787(_0x579054)),P(0x4,_0x557787(_0x249d80)),P(0x5,_0x2f8cb7),P(0x6,_0x557fb2),P(0x7,_0x1703f1),P(0x8,_0x1c5e41),P(0x9,_0x93ee66(J))],ye);let re=class extends Ie{constructor(_0x3723c9,_0x342aa6,_0x4b72d8,_0x248d45,_0x3c255e,_0x21bc26,_0x5ac08a,_0x50d271,_0x2b8d10,_0xcc4ee3,_0x2d1d9e,_0x19c583,_0x2c83a3,_0x1c637e){var _0xe1cb1a=_0x116ce9;super(_0x3723c9,_0x342aa6,null,_0x4b72d8,_0x248d45,_0x2b8d10,_0x2c83a3,_0x21bc26,_0x1c637e),N(this,_0xe1cb1a(0x102),_0xe1cb1a(0x379)),N(this,_0xe1cb1a(0x341),null),N(this,_0xe1cb1a(0x299),null),(this[_0xe1cb1a(0x15b)]=_0x3c255e,this[_0xe1cb1a(0x2cd)]=_0x5ac08a,this[_0xe1cb1a(0x156)]=_0x50d271,this[_0xe1cb1a(0x206)]=_0xcc4ee3,this[_0xe1cb1a(0x304)]=_0x2d1d9e,this['_univerInstanceService']=_0x19c583);}['appendMutation'](_0x1b6de9){var _0x247e0d=_0x116ce9;return this[_0x247e0d(0x2a7)][_0x247e0d(0x39e)](_0x1b6de9),this[_0x247e0d(0x39b)](),this;}[_0x116ce9(0x300)](_0x5b467d){var _0x59364c=_0x116ce9;if(this[_0x59364c(0x37f)](_0x5b467d))return this[_0x59364c(0x23d)](),this[_0x59364c(0x15b)][_0x59364c(0x13d)](Q,this[_0x59364c(0x1b1)],this['type'],null,this[_0x59364c(0x2a7)],null,[_0x5b467d],this[_0x59364c(0x147)]);try{const _0x5f40a8=this[_0x59364c(0x304)][_0x59364c(0xe5)](_0x5b467d,this[_0x59364c(0x2a7)]);if(_0x513a08(_0x5f40a8)){const {c1Prime:_0x3f828e,m2Prime:_0x3fb521}=_0x5f40a8;this['_executeRemoteChangeset'](_0x3f828e);const _0x591f62=this[_0x59364c(0x15b)][_0x59364c(0x13d)](re,this[_0x59364c(0x1b1)],this['type'],_0x3fb521,this['_handler']);this[_0x59364c(0x23d)]();const _0x59e636=new Date()[_0x59364c(0x2e1)](),_0xa59f77=this[_0x59364c(0x341)]?Math[_0x59364c(0x313)](this[_0x59364c(0x341)]-_0x59e636,0x0):this[_0x59364c(0x290)]();return _0x591f62['_schedule'](_0xa59f77),_0x591f62;}throw _0x5f40a8[_0x59364c(0x112)];}catch(_0x4844b7){return this[_0x59364c(0x156)][_0x59364c(0x112)](_0x4844b7),this['_onConflict'](!0x1);}}[_0x116ce9(0x321)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x116ce9(0xdf)](){var _0x1d1e08=_0x116ce9;throw new Error(_0x1d1e08(0x1c7));}[_0x116ce9(0x1ae)](){return this;}[_0x116ce9(0x173)](){var _0x4adf04=_0x116ce9;return this[_0x4adf04(0x23d)](),this[_0x4adf04(0x15b)][_0x4adf04(0x13d)](ue,this[_0x4adf04(0x1b1)],this[_0x4adf04(0x18b)],null,this[_0x4adf04(0x2a7)],this[_0x4adf04(0x147)]);}[_0x116ce9(0x1bf)](){return this;}[_0x116ce9(0x1ec)](_0x301eef){var _0x236c13=_0x116ce9;const _0x12f792=_0x301eef!=null?_0x301eef:this[_0x236c13(0x290)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x12f792,this['_sendingTimer']=setTimeout(()=>{var _0x4fc63f=_0x236c13;this[_0x4fc63f(0x23d)]();let _0x579f4a=null;switch(this[_0x4fc63f(0x18b)]){case Z[_0x4fc63f(0x33b)]:{_0x579f4a=Wt(this[_0x4fc63f(0x2a7)],this['unitID'],this[_0x4fc63f(0xc7)],this['_revisionService'],this[_0x4fc63f(0x2cd)]);break;}case Z[_0x4fc63f(0x1f8)]:{this[_0x4fc63f(0x2a7)][_0x4fc63f(0x364)](_0x51c6d5=>_0x51c6d5['id']===_0x49a809['id'])?_0x579f4a=ks(this[_0x4fc63f(0x2a7)],this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0xc7)],this[_0x4fc63f(0x239)],this[_0x4fc63f(0x2cd)]):_0x579f4a=Wt(this[_0x4fc63f(0x2a7)],this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0xc7)],this[_0x4fc63f(0x239)],this[_0x4fc63f(0x2cd)]);break;}default:throw new Error(_0x4fc63f(0x2f1)+this[_0x4fc63f(0x18b)]+_0x4fc63f(0x355));}const {changeset:_0x12b764,pendingMutations:_0x38a053}=_0x579f4a;this[_0x4fc63f(0x147)][_0x4fc63f(0x28f)](_0x12b764);const _0x2381d4=_0x38a053[_0x4fc63f(0x196)]?this[_0x4fc63f(0x15b)][_0x4fc63f(0x13d)](ae,this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0x18b)],_0x12b764,_0x38a053,this['_handler'],void 0x0):this[_0x4fc63f(0x15b)][_0x4fc63f(0x13d)](_e,this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0x18b)],_0x12b764,this[_0x4fc63f(0x147)]);_0x2381d4[_0x4fc63f(0x39b)](),this[_0x4fc63f(0x147)][_0x4fc63f(0x3b3)](this,_0x2381d4);},_0x12f792);}[_0x116ce9(0x290)](){var _0x16a1cb=_0x116ce9,_0x433f78;const _0xb911f3=this['_configService']['getConfig'](K);return(_0x433f78=_0xb911f3==null?void 0x0:_0xb911f3[_0x16a1cb(0xcd)])!=null?_0x433f78:ps;}[_0x116ce9(0x175)](){var _0x3c5034=_0x116ce9;throw new Error(_0x3c5034(0x1ee));}['_clearScheduledTask'](){var _0x43fa46=_0x116ce9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x43fa46(0x299)]),this['_sendingTimer']=null);}[_0x116ce9(0x301)](_0x9a4b8){var _0xf8a8bf=_0x116ce9;return this[_0xf8a8bf(0x23d)](),this['_injector'][_0xf8a8bf(0x13d)](le,this[_0xf8a8bf(0x1b1)],this[_0xf8a8bf(0x18b)],null,this['_pendingMutations'],this['_handler'],_0x9a4b8);}};re=Ee([P(0x4,_0x557787(_0x249d80)),P(0x5,_0x557787(_0x579054)),P(0x6,_0x557787(we)),P(0x7,_0x1703f1),P(0x8,_0x557fb2),P(0x9,_0x42adf2),P(0xa,_0x1c5e41),P(0xb,_0x283ba7),P(0xc,_0x2f8cb7),P(0xd,_0x93ee66(J))],re);let _e=class extends Ie{constructor(_0x3753c2,_0x411973,_0x1c9078,_0x2b738a,_0x2c786d,_0x1f5efc,_0x491794,_0x38b4f4,_0x26b6f4,_0x4ea362,_0x4d3da3){var _0x5d2b6b=_0x116ce9;super(_0x3753c2,_0x411973,_0x1c9078,[],_0x2b738a,_0x491794,_0x4ea362,_0x1f5efc,_0x4d3da3),N(this,_0x5d2b6b(0x102),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x5d2b6b(0x146)),N(this,_0x5d2b6b(0x24c)),(this[_0x5d2b6b(0x15b)]=_0x2c786d,this[_0x5d2b6b(0x156)]=_0x38b4f4,this[_0x5d2b6b(0x304)]=_0x26b6f4);}['appendMutation'](_0x1660c0){var _0x4cd694=_0x116ce9;this[_0x4cd694(0x23d)]();const _0x2b4602=this[_0x4cd694(0x15b)][_0x4cd694(0x13d)](ae,this['unitID'],this[_0x4cd694(0x18b)],this['_awaitingChangeset'],[_0x1660c0],this[_0x4cd694(0x147)],this[_0x4cd694(0x146)]);return _0x2b4602[_0x4cd694(0x39b)](),_0x2b4602;}[_0x116ce9(0x300)](_0x578e47){var _0x1f8b1c=_0x116ce9;if(this['_checkMissing'](_0x578e47))return this[_0x1f8b1c(0x23d)](),this[_0x1f8b1c(0x15b)]['createInstance'](Q,this[_0x1f8b1c(0x1b1)],this[_0x1f8b1c(0x18b)],this[_0x1f8b1c(0x3b0)],[],null,[_0x578e47],this[_0x1f8b1c(0x147)]);try{const _0x224dab=this[_0x1f8b1c(0x304)][_0x1f8b1c(0x2c3)]([_0x578e47],[this['_awaitingChangeset']],!0x1);if(_0x24c9fc(_0x224dab)){const {c1Prime:_0x28a908,c2Prime:_0x3ae69b}=_0x224dab;this[_0x1f8b1c(0xe3)](_0x28a908[0x0]),_0x3ae69b[0x0]['baseRev']=this[_0x1f8b1c(0xda)](),this[_0x1f8b1c(0x23d)]();const _0x3a220c=this[_0x1f8b1c(0x15b)][_0x1f8b1c(0x13d)](_e,this['unitID'],this[_0x1f8b1c(0x18b)],_0x3ae69b[0x0],this[_0x1f8b1c(0x147)]);return _0x3a220c['_updateLocalCache'](),_0x3a220c;}return this['_onConflict'](!0x1);}catch(_0x36c647){return this['_logService'][_0x1f8b1c(0x112)](_0x36c647),this[_0x1f8b1c(0x301)](!0x1);}}['onRemoteAck'](_0x252741){var _0x3a6bae=_0x116ce9;this[_0x3a6bae(0x23d)]();const _0x2564b7=this[_0x3a6bae(0x239)][_0x3a6bae(0x23a)](this[_0x3a6bae(0x1b1)]);if(_0x252741[_0x3a6bae(0x1f5)]<_0x2564b7-0x1)return this;if(this[_0x3a6bae(0x37f)](_0x252741))return this['_injector']['createInstance'](Q,this[_0x3a6bae(0x1b1)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x3a6bae(0x2c1)]();const _0x50407b=this[_0x3a6bae(0x15b)][_0x3a6bae(0x13d)](ye,this[_0x3a6bae(0x1b1)],this[_0x3a6bae(0x18b)],this[_0x3a6bae(0x147)]);return _0x50407b[_0x3a6bae(0x39b)](),_0x50407b;}[_0x116ce9(0xdf)](_0xa09b5f){var _0xa8028=_0x116ce9;return this['_onConflict'](!!(_0xa09b5f!=null&&_0xa09b5f[_0xa8028(0xd1)]));}[_0x116ce9(0x1ae)](_0x4d1d46){var _0x287476=_0x116ce9;return this[_0x287476(0xf3)]>Ii?this[_0x287476(0x173)]():(this['_resendTimer']=Si(this[_0x287476(0xf3)],{'timeout':this[_0x287476(0xf3)],'reqId':_0x4d1d46[_0x287476(0x190)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x5eab79,timeout:_0x4fa661})=>{var _0x4b4da2=_0x287476;this[_0x4b4da2(0x1a0)](_0x5eab79,_0x4fa661);}),this);}[_0x116ce9(0x173)](){var _0x137a1d=_0x116ce9;return this['_clearScheduledTask'](),this[_0x137a1d(0x15b)][_0x137a1d(0x13d)](ue,this[_0x137a1d(0x1b1)],this[_0x137a1d(0x18b)],this['_awaitingChangeset'],[],this[_0x137a1d(0x147)]);}[_0x116ce9(0x1bf)](){return this;}[_0x116ce9(0x175)](){var _0x3dcdc4=_0x116ce9;this['_handler'][_0x3dcdc4(0x28f)](this['_awaitingChangeset']);}[_0x116ce9(0x301)](_0x1f9201){var _0x493e07=_0x116ce9;return this[_0x493e07(0x23d)](),this[_0x493e07(0x15b)][_0x493e07(0x13d)](le,this[_0x493e07(0x1b1)],this[_0x493e07(0x18b)],this['_awaitingChangeset'],[],this['_handler'],_0x1f9201);}[_0x116ce9(0x1a0)](_0x56877e,_0x4db60f){var _0x2d3ce8=_0x116ce9,_0x483564;_0x56877e===((_0x483564=this[_0x2d3ce8(0x3b0)])==null?void 0x0:_0x483564[_0x2d3ce8(0x190)])&&(this[_0x2d3ce8(0x175)](),this[_0x2d3ce8(0xf3)]=_0x4db60f===0x0?0x3e8:_0x4db60f*0x2);}[_0x116ce9(0x23d)](){var _0x51f653=_0x116ce9,_0x361efd;(_0x361efd=this[_0x51f653(0x24c)])==null||_0x361efd['unsubscribe'](),this[_0x51f653(0xf3)]=0x0;}};_e=Ee([P(0x4,_0x557787(_0x249d80)),P(0x5,_0x557787(_0x579054)),P(0x6,_0x557fb2),P(0x7,_0x1703f1),P(0x8,_0x1c5e41),P(0x9,_0x2f8cb7),P(0xa,_0x93ee66(J))],_e);let ae=class extends Ie{constructor(_0xe53225,_0x5cb6ec,_0x5edbc3,_0xae48f2,_0x3b4ffb,_0x5bcdfa,_0x3687ec,_0x31a8fb,_0x530c22,_0x519826,_0x3a0610,_0x534796,_0x182be8){var _0x1a84c8=_0x116ce9;super(_0xe53225,_0x5cb6ec,_0x5edbc3,_0xae48f2,_0x3b4ffb,_0x530c22,_0x534796,_0x31a8fb,_0x182be8),N(this,_0x1a84c8(0x102),_0x1a84c8(0xf9)),N(this,_0x1a84c8(0xf3),0x0),N(this,_0x1a84c8(0x146)),N(this,_0x1a84c8(0x24c)),(this[_0x1a84c8(0x15b)]=_0x3687ec,this[_0x1a84c8(0x156)]=_0x519826,this[_0x1a84c8(0x304)]=_0x3a0610,this[_0x1a84c8(0xd0)]=_0x182be8,_0x5bcdfa&&(this[_0x1a84c8(0x146)]=_0x5bcdfa,this['_sender']=this[_0x1a84c8(0x146)]['subscribe'](({reqId:_0x1a7241,timeout:_0x25e60d})=>{var _0x14b424=_0x1a84c8;this[_0x14b424(0x1a0)](_0x1a7241,_0x25e60d);})));}[_0x116ce9(0x2f6)](_0x519d78){var _0x3a19ae=_0x116ce9;return this[_0x3a19ae(0x2a7)][_0x3a19ae(0x39e)](_0x519d78),this;}[_0x116ce9(0x300)](_0x1b12dd){var _0x413b79=_0x116ce9;if(this[_0x413b79(0x37f)](_0x1b12dd))return this[_0x413b79(0x23d)](),this[_0x413b79(0x15b)][_0x413b79(0x13d)](Q,this[_0x413b79(0x1b1)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1b12dd],this[_0x413b79(0x147)]);try{const _0x5a4bc2=this[_0x413b79(0x304)][_0x413b79(0x2c3)]([_0x1b12dd],[this[_0x413b79(0x3b0)]],!0x1);if(_0x24c9fc(_0x5a4bc2)){const {c1Prime:_0x17a135,c2Prime:_0x573c11}=_0x5a4bc2,_0x4e74ca=this[_0x413b79(0x304)][_0x413b79(0xe5)](_0x17a135[0x0],this['_pendingMutations']);if(_0x513a08(_0x4e74ca)){const {c1Prime:_0x473708,m2Prime:_0x267f9d}=_0x4e74ca;return this[_0x413b79(0xe3)](_0x473708),_0x573c11[0x0]['baseRev']=this[_0x413b79(0xda)](),this[_0x413b79(0x23d)](),this[_0x413b79(0x15b)][_0x413b79(0x13d)](ae,this[_0x413b79(0x1b1)],this[_0x413b79(0x18b)],_0x573c11[0x0],_0x267f9d,this[_0x413b79(0x147)],void 0x0);}throw _0x4e74ca[_0x413b79(0x112)];}throw _0x5a4bc2[_0x413b79(0x112)];}catch(_0x4d76a4){return this[_0x413b79(0x156)]['error'](_0x4d76a4),this[_0x413b79(0x301)](!0x1);}}['onRemoteAck'](_0xea965b){var _0x54ed40=_0x116ce9;if(this[_0x54ed40(0x23d)](),this[_0x54ed40(0x37f)](_0xea965b))return this['_injector'][_0x54ed40(0x13d)](Q,this[_0x54ed40(0x1b1)],this['type'],null,this['_pendingMutations'],this[_0x54ed40(0x3b0)],[],this['_handler']);this[_0x54ed40(0x2c1)]();const _0x40efaa=this['_injector']['createInstance'](re,this[_0x54ed40(0x1b1)],this[_0x54ed40(0x18b)],this['_pendingMutations'],this['_handler']);return _0x40efaa[_0x54ed40(0x1ec)](),_0x40efaa[_0x54ed40(0x39b)](),_0x40efaa;}[_0x116ce9(0xdf)](_0x46175c){var _0x1e78ed=_0x116ce9;return this['_onConflict'](!!(_0x46175c!=null&&_0x46175c[_0x1e78ed(0xd1)]));}[_0x116ce9(0x1ae)](_0x538710){var _0x16670d=_0x116ce9;return this[_0x16670d(0xf3)]>Ii?this[_0x16670d(0x173)]():(this['_resendTimer']=Si(this[_0x16670d(0xf3)],{'timeout':this[_0x16670d(0xf3)],'reqId':_0x538710['reqId']}),this[_0x16670d(0x24c)]=this['_resendTimer']['subscribe'](({reqId:_0x50a75a,timeout:_0x83d7e1})=>{var _0x5d29cb=_0x16670d;this[_0x5d29cb(0x1a0)](_0x50a75a,_0x83d7e1);}),this);}[_0x116ce9(0x173)](){var _0x3f3bd3=_0x116ce9;return this[_0x3f3bd3(0x23d)](),this[_0x3f3bd3(0x15b)][_0x3f3bd3(0x13d)](ue,this['unitID'],this[_0x3f3bd3(0x18b)],this['_awaitingChangeset'],this[_0x3f3bd3(0x2a7)],this[_0x3f3bd3(0x147)]);}['toggleOnline'](){return this;}['resend'](){var _0x333bc2=_0x116ce9;this[_0x333bc2(0x147)][_0x333bc2(0x28f)](this[_0x333bc2(0x3b0)]);}[_0x116ce9(0x301)](_0x4a1064){var _0x4b6959=_0x116ce9;return this['_clearScheduledTask'](),this[_0x4b6959(0x15b)]['createInstance'](le,this['unitID'],this[_0x4b6959(0x18b)],null,this[_0x4b6959(0x2a7)],this[_0x4b6959(0x147)],_0x4a1064);}[_0x116ce9(0x1a0)](_0x28546e,_0x169d51){var _0x24db49=_0x116ce9,_0x3bbced;_0x28546e===((_0x3bbced=this[_0x24db49(0x3b0)])==null?void 0x0:_0x3bbced[_0x24db49(0x190)])&&(this[_0x24db49(0x175)](),this[_0x24db49(0xf3)]=_0x169d51===0x0?0x3e8:_0x169d51*0x2);}[_0x116ce9(0x23d)](){var _0x2c9754=_0x116ce9,_0x587492;(_0x587492=this['_sender'])==null||_0x587492['unsubscribe'](),this[_0x2c9754(0xf3)]=0x0;}};ae=Ee([P(0x6,_0x557787(_0x249d80)),P(0x7,_0x557787(_0x579054)),P(0x8,_0x557fb2),P(0x9,_0x1703f1),P(0xa,_0x1c5e41),P(0xb,_0x2f8cb7),P(0xc,_0x93ee66(J))],ae);let le=class extends Ie{constructor(_0x57af7d,_0xf241e2,_0x4308a7,_0x3eac16,_0x31eab9,_0x5a647f=!0x1,_0x110e2e,_0x2601dc,_0x34c502,_0x2a5307,_0x160a4e,_0x5450ff,_0x41e0a9){var _0x55213d=_0x116ce9;super(_0x57af7d,_0xf241e2,_0x4308a7,_0x3eac16,_0x31eab9,_0x2601dc,_0x34c502,_0x2a5307,_0x41e0a9),N(this,_0x55213d(0x102),_0x55213d(0xc1)),(this[_0x55213d(0xbd)]=_0x5a647f,this[_0x55213d(0x119)]=_0x110e2e,this[_0x55213d(0x26e)]=_0x160a4e,this['_collaborationUIEventService']=_0x5450ff,this[_0x55213d(0xd0)]=_0x41e0a9,this[_0x55213d(0x352)](),this[_0x55213d(0x164)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x116ce9(0x300)](){return this;}['onRemoteAck'](){return this;}[_0x116ce9(0xdf)](){return this;}[_0x116ce9(0x1ae)](){return this;}[_0x116ce9(0x173)](){return this;}[_0x116ce9(0x1bf)](){return this;}['resend'](){var _0xcc43ec=_0x116ce9;throw new Error(_0xcc43ec(0x16f));}[_0x116ce9(0x164)](){var _0x160a87=_0x116ce9,_0x10e2b9;(_0x10e2b9=this[_0x160a87(0x1b8)])==null||_0x10e2b9[_0x160a87(0x387)](this[_0x160a87(0x1b1)],this[_0x160a87(0x18b)],null,[]);}[_0x116ce9(0x352)](){var _0x9170e4=_0x116ce9;this[_0x9170e4(0xbd)]?this[_0x9170e4(0xe9)]['emitEvent']({'id':ne[_0x9170e4(0x34a)]}):this[_0x9170e4(0xe9)][_0x9170e4(0x1df)]({'id':ne[_0x9170e4(0x1ce)]});}['_disableEditing'](){var _0x4d3504=_0x116ce9;this[_0x4d3504(0x119)][_0x4d3504(0x26b)](new _0x15e513(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x557787(_0x293adf)),P(0x7,_0x557fb2),P(0x8,_0x2f8cb7),P(0x9,_0x557787(_0x579054)),P(0xa,_0x557787(_0x5a45ce)),P(0xb,_0x557787(ve)),P(0xc,_0x93ee66(J))],le);let ue=class extends Ie{constructor(_0x3b78d5,_0x4db8dd,_0x52d0ac,_0x127c12,_0x368d65,_0x3481c9,_0x5d8416,_0x42ac1e,_0x4eaf33,_0x364b40){var _0x4687ee=_0x116ce9;super(_0x3b78d5,_0x4db8dd,_0x52d0ac,_0x127c12,_0x368d65,_0x42ac1e,_0x4eaf33,_0x5d8416,_0x364b40),N(this,_0x4687ee(0x102),'offline'),this['_injector']=_0x3481c9;}[_0x116ce9(0x2f6)](_0x4cdb43){var _0x36cb7a=_0x116ce9;return this['_pendingMutations'][_0x36cb7a(0x39e)](_0x4cdb43),this[_0x36cb7a(0x39b)](),this;}[_0x116ce9(0x300)](_0x174459){var _0x2954f8=_0x116ce9;throw new Error(_0x2954f8(0x287));}[_0x116ce9(0x321)](){var _0x5e5898=_0x116ce9;throw new Error(_0x5e5898(0xb8));}['onRemoteRej'](){var _0x44a5b5=_0x116ce9;throw new Error(_0x44a5b5(0x350));}[_0x116ce9(0x1ae)](){return this;}['toggleOffline'](){return this;}[_0x116ce9(0x1bf)](){var _0x1a8511=_0x116ce9;const {_injector:_0xfee084,_pendingMutations:_0x11996e,_awaitingChangeset:_0x32f022,unitID:_0xb504c7,_handler:_0x316d96,type:_0x252a59}=this,_0x43efc8=Ti(_0xfee084,_0xb504c7,_0x252a59,_0x32f022,_0x11996e,_0x316d96);return _0x43efc8 instanceof re?_0x43efc8[_0x1a8511(0x1ec)]():(_0x43efc8 instanceof ae||_0x43efc8 instanceof _e)&&_0x43efc8[_0x1a8511(0x175)](),_0x43efc8;}[_0x116ce9(0x175)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x557787(_0x249d80)),P(0x6,_0x557787(_0x579054)),P(0x7,_0x557fb2),P(0x8,_0x2f8cb7),P(0x9,_0x93ee66(J))],ue);let Q=class extends Ie{constructor(_0xe367c4,_0x44e40c,_0x5e088d,_0x559271,_0x156cbe,_0x7172f3,_0xed38c6,_0x5dab5e,_0x5e7d2e,_0x161714,_0x24cee8,_0x5c3b63,_0x4cf58f,_0x25b2f6){var _0x4834bf=_0x116ce9;super(_0xe367c4,_0x44e40c,_0x5e088d,_0x559271,_0xed38c6,_0x24cee8,_0x5c3b63,_0x5e7d2e,_0x25b2f6),N(this,_0x4834bf(0x102),'fetch_missing'),(this[_0x4834bf(0x36e)]=_0x156cbe,this[_0x4834bf(0x120)]=_0x7172f3,this['_injector']=_0x5dab5e,this[_0x4834bf(0x156)]=_0x161714,this[_0x4834bf(0x304)]=_0x4cf58f,this[_0x4834bf(0xd0)]=_0x25b2f6);}[_0x116ce9(0x1b2)](_0x23698d){var _0x235f6f=_0x116ce9;try{const _0x410c7e=[..._0x23698d,...this[_0x235f6f(0x120)]],_0x167030=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x154bfd=>!!_0x154bfd);let _0x41753f,_0xae76eb;if(_0x167030[_0x235f6f(0x196)]){const _0x48e9de=this[_0x235f6f(0x304)][_0x235f6f(0x2c3)](_0x410c7e,_0x167030,!0x1);if(!_0x24c9fc(_0x48e9de))throw _0x48e9de[_0x235f6f(0x112)];_0x41753f=_0x48e9de[_0x235f6f(0x3c1)],_0xae76eb=_0x48e9de[_0x235f6f(0x35a)];}else _0x41753f=_0x410c7e,_0xae76eb=[];let _0x4d4813=this[_0x235f6f(0x2a7)];_0x41753f[_0x235f6f(0x12d)](_0x451460=>{var _0x82b5e2=_0x235f6f;let _0x9cf350;if(_0x4d4813['length']){const _0x5794e9=this[_0x82b5e2(0x304)][_0x82b5e2(0xe5)](_0x451460,_0x4d4813);if(!_0x513a08(_0x5794e9))throw _0x5794e9[_0x82b5e2(0x112)];_0x9cf350=_0x5794e9[_0x82b5e2(0x3c1)],_0x4d4813=_0x5794e9[_0x82b5e2(0x23e)];}else _0x9cf350=_0x451460;this['_executeRemoteChangeset'](_0x9cf350);}),this['_acknowledgedAwaitingChangeset']&&this[_0x235f6f(0x2c1)](),this[_0x235f6f(0x3b0)]&&_0xae76eb[_0x235f6f(0x196)]&&(_0xae76eb[0x0][_0x235f6f(0x105)]=this['_getCurrentRevision']());let _0x32c751;if(this[_0x235f6f(0x3b0)]&&_0x4d4813[_0x235f6f(0x196)]!==0x0)_0x32c751=this['_injector'][_0x235f6f(0x13d)](ae,this['unitID'],this[_0x235f6f(0x18b)],_0xae76eb[0x0],_0x4d4813,this[_0x235f6f(0x147)],void 0x0);else{if(this[_0x235f6f(0x3b0)]&&_0x4d4813['length']===0x0)_0xae76eb[0x0][_0x235f6f(0x105)]=this['_getCurrentRevision'](),_0x32c751=this['_injector'][_0x235f6f(0x13d)](_e,this[_0x235f6f(0x1b1)],this[_0x235f6f(0x18b)],_0xae76eb[0x0],this[_0x235f6f(0x147)]);else{if(_0x4d4813[_0x235f6f(0x196)]!==0x0){const _0x3420b3=this['_injector'][_0x235f6f(0x13d)](re,this[_0x235f6f(0x1b1)],this['type'],_0x4d4813,this[_0x235f6f(0x147)]);_0x3420b3[_0x235f6f(0x1ec)](),_0x32c751=_0x3420b3;}else _0x32c751=this[_0x235f6f(0x15b)][_0x235f6f(0x13d)](ye,this[_0x235f6f(0x1b1)],this[_0x235f6f(0x18b)],this['_handler']);}}return _0x32c751[_0x235f6f(0x39b)](),_0x32c751;}catch(_0x2937da){return this[_0x235f6f(0x156)][_0x235f6f(0x112)](_0x235f6f(0x373),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2937da),this[_0x235f6f(0x15b)][_0x235f6f(0x13d)](le,this[_0x235f6f(0x1b1)],this[_0x235f6f(0x18b)],this[_0x235f6f(0x3b0)],this[_0x235f6f(0x2a7)],this[_0x235f6f(0x147)],!0x1);}}[_0x116ce9(0x175)](){var _0x2d8e25=_0x116ce9;throw new Error(_0x2d8e25(0x2aa));}[_0x116ce9(0x2f6)](_0x434a5e){var _0x5263da=_0x116ce9;return this[_0x5263da(0x2a7)][_0x5263da(0x39e)](_0x434a5e),this;}['onRemoteChangeset'](_0x120f7f){var _0x1dd1bb=_0x116ce9;return this['_queuedRemoteChangesets'][_0x1dd1bb(0x39e)](_0x120f7f),this;}['onRemoteAck'](_0x4ccbbb){var _0x1e9605=_0x116ce9;if(this[_0x1e9605(0x3b0)])return this[_0x1e9605(0x36e)]=this[_0x1e9605(0x3b0)],this[_0x1e9605(0x3b0)]=null,this;throw new Error(_0x1e9605(0x11d));}['onRemoteRej'](_0x495d29){var _0x56a936=_0x116ce9;return this[_0x56a936(0x301)](!!(_0x495d29!=null&&_0x495d29[_0x56a936(0xd1)]));}[_0x116ce9(0x1ae)](){return this;}[_0x116ce9(0x173)](){var _0x57183c=_0x116ce9;return this[_0x57183c(0x15b)][_0x57183c(0x13d)](ue,this[_0x57183c(0x1b1)],this[_0x57183c(0x18b)],this[_0x57183c(0x3b0)],this['_pendingMutations'],this[_0x57183c(0x147)]);}['toggleOnline'](){return this;}['_onConflict'](_0x4a6b4e){var _0x4c8cf7=_0x116ce9;return this[_0x4c8cf7(0x15b)][_0x4c8cf7(0x13d)](le,this[_0x4c8cf7(0x1b1)],this['type'],this['_awaitingChangeset'],this[_0x4c8cf7(0x2a7)],this[_0x4c8cf7(0x147)],_0x4a6b4e);}};Q=Ee([P(0x7,_0x557787(_0x249d80)),P(0x8,_0x557787(_0x579054)),P(0x9,_0x1703f1),P(0xa,_0x557fb2),P(0xb,_0x2f8cb7),P(0xc,_0x1c5e41),P(0xd,_0x93ee66(J))],Q);function Ti(_0x257842,_0x4bf21b,_0x1c8676,_0x2d98fc,_0x3a9255,_0x49b6e5){var _0x527e41=_0x116ce9;return _0x2d98fc&&_0x3a9255[_0x527e41(0x196)]?_0x257842['createInstance'](ae,_0x4bf21b,_0x1c8676,_0x2d98fc,_0x3a9255,_0x49b6e5,void 0x0):_0x2d98fc?_0x257842['createInstance'](_e,_0x4bf21b,_0x1c8676,_0x2d98fc,_0x49b6e5):_0x3a9255[_0x527e41(0x196)]?_0x257842[_0x527e41(0x13d)](re,_0x4bf21b,_0x1c8676,_0x3a9255,_0x49b6e5):_0x257842['createInstance'](ye,_0x4bf21b,_0x1c8676,_0x49b6e5);}var Bs=Object[_0x116ce9(0x396)],wt=(_0x3caf06,_0x34fda5,_0x16b7c0,_0x361aa2)=>{for(var _0x8bf389=_0x361aa2>0x1?void 0x0:_0x361aa2?Bs(_0x34fda5,_0x16b7c0):_0x34fda5,_0x4e4d53=_0x3caf06['length']-0x1,_0x1f2b53;_0x4e4d53>=0x0;_0x4e4d53--)(_0x1f2b53=_0x3caf06[_0x4e4d53])&&(_0x8bf389=_0x1f2b53(_0x8bf389)||_0x8bf389);return _0x8bf389;},H=(_0x409a62,_0xbc247)=>(_0x3f8c09,_0xda0f65)=>_0xbc247(_0x3f8c09,_0xda0f65,_0x409a62);let st=class extends _0x4d32e2{constructor(_0x1a8ff2,_0xc2129b,_0x2f5b99,_0x36769b,_0x2b4632,_0xbc6354,_0x8920dd,_0x18a9a5,_0x3de350,_0x92dc67,_0x25c303,_0x4a18ea,_0x416fa0){var _0x543690=_0x116ce9;super(),N(this,_0x543690(0xde),new _0x3dc6f5(null)),N(this,_0x543690(0x202),this[_0x543690(0xde)][_0x543690(0x18e)]()),N(this,'_state'),N(this,_0x543690(0x14b),!0x1),N(this,_0x543690(0x365),''),N(this,'_changesetReqId',0x0),N(this,_0x543690(0x273),this[_0x543690(0x202)][_0x543690(0x266)](_0x4113dc(_0x280f1d=>_0x280f1d?_0x280f1d[_0x543690(0x102)]:Ei[_0x543690(0x26d)]),_0x2ac48c(0x1))),N(this,_0x543690(0x19f),!0x1),N(this,_0x543690(0x1e9),[]),(this[_0x543690(0x1b1)]=_0x1a8ff2,this['session']=_0xc2129b,this[_0x543690(0x310)]=_0x2f5b99,this[_0x543690(0x15b)]=_0x36769b,this[_0x543690(0x148)]=_0x2b4632,this[_0x543690(0x26e)]=_0xbc6354,this[_0x543690(0x239)]=_0x8920dd,this[_0x543690(0x360)]=_0x18a9a5,this[_0x543690(0x156)]=_0x3de350,this[_0x543690(0x36c)]=_0x92dc67,this[_0x543690(0x119)]=_0x25c303,this['_singleActiveUnitService']=_0x4a18ea,this[_0x543690(0x1b8)]=_0x416fa0);}get[_0x116ce9(0x2f9)](){var _0x1bb841=_0x116ce9;return this[_0x1bb841(0x157)];}async['init'](){var _0x152746=_0x116ce9;if(this[_0x152746(0x2f9)])throw new Error(_0x152746(0x134));await this['_init']();}[_0x116ce9(0x257)](){var _0x512094=_0x116ce9;return this[_0x512094(0x14b)]=!0x0,_0x47e850(()=>{var _0x682f7c=_0x512094;this[_0x682f7c(0x14b)]=!0x1,this[_0x682f7c(0x1a3)]();});}[_0x116ce9(0x344)](_0x3a37bf){var _0x29abd7=_0x116ce9;this[_0x29abd7(0x2ab)](_0x3a37bf);}[_0x116ce9(0x181)](_0x45035c){var _0x325f6a=_0x116ce9;this[_0x325f6a(0x157)]=_0x45035c,this[_0x325f6a(0xde)][_0x325f6a(0x371)](_0x45035c);}async['_init'](){var _0x5d2e41=_0x116ce9,_0x1c3bad;this[_0x5d2e41(0x181)](await this[_0x5d2e41(0x17c)]()),this['_singleActiveUnitService']&&((_0x1c3bad=this[_0x5d2e41(0x2c0)])==null||_0x1c3bad[_0x5d2e41(0x129)](this[_0x5d2e41(0x1b1)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x5d2e41(0x335)](this[_0x5d2e41(0x1b1)])['subscribe'](_0x1fe3d8=>{var _0x50360d=_0x5d2e41;this[_0x50360d(0x156)][_0x50360d(0x347)](_0x50360d(0xdd),_0x50360d(0x38b),_0x1fe3d8),_0x1fe3d8===gi[_0x50360d(0x2d5)]?(this[_0x50360d(0x360)][_0x50360d(0x1df)]({'id':ne[_0x50360d(0x1eb)]}),this[_0x50360d(0x119)]['updatePermissionPoint'](new _0x15e513(this[_0x50360d(0x1b1)])['id'],!0x1),this[_0x50360d(0x119)][_0x50360d(0x29b)](!0x1)):(this[_0x50360d(0x119)][_0x50360d(0x26b)](new _0x15e513(this[_0x50360d(0x1b1)])['id'],!0x0),this[_0x50360d(0x119)]['setShowComponents'](!0x0));})));let _0x35cae5=!0x1;return this[_0x5d2e41(0xf0)](this[_0x5d2e41(0x101)][_0x5d2e41(0x253)]['subscribe'](_0x3cf30e=>{var _0x470750=_0x5d2e41;_0x3cf30e===ge[_0x470750(0x35f)]?this[_0x470750(0x3c2)](_0x35cae5):_0x3cf30e===ge[_0x470750(0x26d)]&&(_0x35cae5=!0x0,this['_toggleOffline']());})),this[_0x5d2e41(0xf0)](this['session']['event$'][_0x5d2e41(0x2f2)](_0x41614e=>{var _0x4b2293=_0x5d2e41;try{switch(_0x41614e['eventID']){case _0x353970[_0x4b2293(0x1fd)]:{this[_0x4b2293(0x20a)](_0x33ce32(_0x41614e[_0x4b2293(0x249)]));break;}case _0x353970[_0x4b2293(0x333)]:{this['_onRemoteACK'](_0x41614e['data']);break;}case _0x353970[_0x4b2293(0x2b7)]:{this[_0x4b2293(0x1f9)]();break;}case _0x353970[_0x4b2293(0x139)]:{this[_0x4b2293(0x274)](_0x41614e['data']);break;}case _0x353970['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4b2293(0x3b4)](_0x41614e[_0x4b2293(0x249)][_0x4b2293(0x31f)][_0x4b2293(0x27b)](_0x49bdac=>_0x33ce32(_0x49bdac)));break;}case _0x353970['PERMISSION_REJ']:{this[_0x4b2293(0x1f9)]({'isPermissionRej':!0x0});break;}case _0x353970[_0x4b2293(0x12c)]:break;}}catch(_0x4e350b){throw console['error'](_0x4b2293(0x37c),_0x4e350b),_0x4e350b;}})),this[_0x5d2e41(0x157)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x116ce9(0xfd)](){var _0x5759d5=_0x116ce9;if(this[_0x5759d5(0x19f)])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[_0x5759d5(0x19f)]=!0x0;}[_0x116ce9(0x2ab)](_0x13ccd5){var _0x44e058=_0x116ce9;this[_0x44e058(0xfd)](),this[_0x44e058(0x181)](this['_state'][_0x44e058(0x2f6)](_0x13ccd5)),this['_unlockTransition']();}[_0x116ce9(0x20a)](_0x53b45b){var _0x18ffd3=_0x116ce9;if(!(_0x53b45b[_0x18ffd3(0x1f5)]<=this[_0x18ffd3(0x239)][_0x18ffd3(0x23a)](this[_0x18ffd3(0x1b1)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x18ffd3(0x39e)](_0x53b45b);return;}this[_0x18ffd3(0x22f)](_0x53b45b);}}[_0x116ce9(0x1a3)](){var _0x20f12f=_0x116ce9;this['_remoteChangesetQueue'][_0x20f12f(0x12d)](_0x19eb4f=>this['_applyRemoteChangeset'](_0x19eb4f)),this['_remoteChangesetQueue']=[];}[_0x116ce9(0x22f)](_0x11b9b9){var _0x35409d=_0x116ce9;const _0xadc53=this[_0x35409d(0x148)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x35409d(0x27a)])(_0x11b9b9[_0x35409d(0x392)],null)||_0x11b9b9['mutations'],_0x2bf68d={..._0x11b9b9,'mutations':_0xadc53};this[_0x35409d(0xfd)](),this[_0x35409d(0x181)](this['_state'][_0x35409d(0x300)](_0x2bf68d)),this[_0x35409d(0x2c8)]();}['_onRemoteACK'](_0x319a36){var _0x363db2=_0x116ce9;this[_0x363db2(0xfd)](),this[_0x363db2(0x181)](this[_0x363db2(0x157)]['onRemoteAck'](_0x319a36)),this[_0x363db2(0x2c8)]();}['_onRemoteRejected'](_0x1266f1){var _0x28db9e=_0x116ce9;this[_0x28db9e(0xfd)](),this[_0x28db9e(0x181)](this[_0x28db9e(0x157)]['onRemoteRej'](_0x1266f1)),this[_0x28db9e(0x2c8)]();}[_0x116ce9(0x274)](_0x249ad5){var _0x32decf=_0x116ce9;this[_0x32decf(0xfd)](),this[_0x32decf(0x181)](this['_state']['onRemoteRetry'](_0x249ad5)),this[_0x32decf(0x2c8)]();}[_0x116ce9(0x3b4)](_0x3c552a){var _0xf74525=_0x116ce9;if(!(this[_0xf74525(0x157)]instanceof Q))throw new TypeError(_0xf74525(0x361));const _0x12639e=_0x3c552a[_0xf74525(0x27b)](_0x412ca0=>{var _0xb122e0=_0xf74525;const _0x774c63=this[_0xb122e0(0x148)][_0xb122e0(0x382)][_0xb122e0(0x39d)](this[_0xb122e0(0x148)][_0xb122e0(0x382)][_0xb122e0(0x3aa)]()[_0xb122e0(0x27a)])(_0x412ca0['mutations'],null)||_0x412ca0[_0xb122e0(0x392)];return{..._0x412ca0,'mutations':_0x774c63};});this['_lockTransition'](),this[_0xf74525(0x181)](this[_0xf74525(0x157)][_0xf74525(0x1b2)](_0x12639e)),this[_0xf74525(0x2c8)]();}['_toggleOffline'](){var _0x4e9688=_0x116ce9;this[_0x4e9688(0xfd)](),this[_0x4e9688(0x181)](this[_0x4e9688(0x157)][_0x4e9688(0x173)]()),this[_0x4e9688(0x2c8)]();}[_0x116ce9(0x3c2)](_0x1dbab4=!0x1){var _0x37b89b=_0x116ce9;this[_0x37b89b(0xfd)](),this['_updateState'](this[_0x37b89b(0x157)][_0x37b89b(0x1bf)]()),this[_0x37b89b(0x2c8)]();const _0x4ccdbd=this['_state'];_0x1dbab4&&_0x4ccdbd instanceof ye&&(this[_0x37b89b(0xfd)](),this[_0x37b89b(0x181)](_0x4ccdbd[_0x37b89b(0x19c)]()),this[_0x37b89b(0x2c8)]());}async[_0x116ce9(0x17c)](){return new Promise(_0x26e322=>{var _0x4983e1=_0x2a22;this[_0x4983e1(0x101)][_0x4983e1(0x253)]['pipe'](_0x1dc36d(0x1))['subscribe'](async _0x44b10d=>{var _0x3f2539=_0x4983e1;_0x26e322(await this[_0x3f2539(0xfe)](_0x44b10d===ge[_0x3f2539(0x35f)]));});});}[_0x116ce9(0x384)](){var _0x24a40e=_0x116ce9;const _0x1bea6b=this[_0x24a40e(0x1b1)];return{'onStateChange':(_0x193606,_0x235f24)=>{var _0x22bd16=_0x24a40e;if(_0x193606!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x193606[_0x22bd16(0x102)]+_0x22bd16(0x12f)+_0x235f24['status']+_0x22bd16(0x21c)+this['_state']['status']);this[_0x22bd16(0x181)](_0x235f24);},'onSendChangeset':_0x2646e4=>{var _0x5dc268=_0x24a40e;_0x2646e4[_0x5dc268(0x20e)]||(_0x2646e4[_0x5dc268(0x20e)]=this[_0x5dc268(0x365)],_0x2646e4['reqId']=++this[_0x5dc268(0x29c)]);const _0x5e121d={'eventID':_0x353970['SUBMIT_CHANGESET'],'data':{'unitID':_0x2646e4['unitID'],'unitType':this['_type'],'changeset':_0x2646e4,'memberID':this['session']['getMemberID']()}};this['session']['send'](_0x5e121d,this[_0x5dc268(0x1b1)]);},'onMissingChangesets':({from:_0x1025ed,to:_0x21621f})=>{var _0x881cf6=_0x24a40e;this[_0x881cf6(0x156)][_0x881cf6(0x347)](_0x881cf6(0xdd),'fetching\x20missing\x20changesets\x20from\x20'+_0x1025ed+_0x881cf6(0xbb)+_0x21621f);const _0x83a0c8={'eventID':_0x353970[_0x881cf6(0x324)],'data':{'unitID':_0x1bea6b,'unitType':this['_type'],'from':_0x1025ed,'to':_0x21621f}};this['session'][_0x881cf6(0x32b)](_0x83a0c8,this['unitID']);}};}async[_0x116ce9(0xfe)](_0x29079e){var _0x252ba8=_0x116ce9,_0x23929a,_0x49857d,_0x478be3;const _0xefec20=await((_0x23929a=this[_0x252ba8(0x1b8)])==null?void 0x0:_0x23929a[_0x252ba8(0x354)](this[_0x252ba8(0x1b1)])),_0x5cfc6a=(_0x49857d=_0xefec20==null?void 0x0:_0xefec20[_0x252ba8(0x392)])!=null?_0x49857d:[],_0x2d0564=(_0x478be3=_0xefec20==null?void 0x0:_0xefec20['awaitingChangeset'])!=null?_0x478be3:null,_0xe66e37=!!(_0x2d0564!=null&&_0x2d0564[_0x252ba8(0x20e)])&&!!(_0x2d0564!=null&&_0x2d0564[_0x252ba8(0x190)]);this[_0x252ba8(0x365)]=_0xe66e37?_0x2d0564['sid']:_0x433bfd(),this[_0x252ba8(0x29c)]=_0xe66e37?_0x2d0564[_0x252ba8(0x190)]:0x0;const _0x34a883=this[_0x252ba8(0x1b1)];try{this[_0x252ba8(0x2fd)](_0x2d0564,_0x5cfc6a);}catch(_0x883ae6){this['_logService'][_0x252ba8(0x112)](_0x883ae6);}const _0x42feb1=this[_0x252ba8(0x384)]();if(_0x29079e){const _0x43b64b=Ti(this[_0x252ba8(0x15b)],_0x34a883,this[_0x252ba8(0x310)],_0x2d0564,_0x5cfc6a,_0x42feb1);return _0x43b64b instanceof re?_0x43b64b['_schedule']():(_0x43b64b instanceof ae||_0x43b64b instanceof _e)&&_0x43b64b['resend'](),_0x43b64b;}return this[_0x252ba8(0x15b)]['createInstance'](ue,_0x34a883,this[_0x252ba8(0x310)],_0x2d0564,_0x5cfc6a,_0x42feb1);}[_0x116ce9(0x2fd)](_0x2764c3,_0x39116f){var _0x474c5e=_0x116ce9,_0x1e88f0,_0x2bcf82;const _0xd5ddb6=this[_0x474c5e(0x148)][_0x474c5e(0x382)][_0x474c5e(0x39d)](this[_0x474c5e(0x148)][_0x474c5e(0x382)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1e88f0=_0xd5ddb6((_0x2764c3==null?void 0x0:_0x2764c3[_0x474c5e(0x392)])||[],null))==null||_0x1e88f0['forEach'](_0xb96bb2=>this[_0x474c5e(0x36c)][_0x474c5e(0x2cf)](_0xb96bb2['id'],_0xb96bb2[_0x474c5e(0x3a5)])),(_0x2bcf82=_0xd5ddb6(_0x39116f||[],null))==null||_0x2bcf82[_0x474c5e(0x12d)](_0x17c605=>this[_0x474c5e(0x36c)]['executeCommand'](_0x17c605['id'],_0x17c605[_0x474c5e(0x3a5)]));}};st=wt([H(0x3,_0x557787(_0x249d80)),H(0x4,_0x557787(_0x18e7ae)),H(0x5,_0x557787(_0x5a45ce)),H(0x6,_0x557787(_0x579054)),H(0x7,_0x557787(ve)),H(0x8,_0x1703f1),H(0x9,_0x557fb2),H(0xa,_0x293adf),H(0xb,_0x93ee66(ht)),H(0xc,_0x93ee66(J))],st);let St=class extends st{constructor(_0x45b6e6,_0x4d4974,_0x365c90,_0x1dfa3f,_0x52b8f8,_0x40c049,_0x24fff4,_0x92d431,_0x5cb40e,_0x287174,_0x1ad48b,_0xb502fb,_0xf6f14c){var _0x43fd67=_0x116ce9;super(_0x45b6e6,_0x365c90,_0x4d4974,_0x1dfa3f,_0x52b8f8,_0x40c049,_0x24fff4,_0x92d431,_0x5cb40e,_0x287174,_0x1ad48b,_0xb502fb,_0xf6f14c),N(this,'_handlerCallback',null),(this[_0x43fd67(0x1b1)]=_0x45b6e6,this[_0x43fd67(0x18b)]=_0x4d4974);}[_0x116ce9(0x3a4)](_0x57648c){var _0x547131=_0x116ce9;this[_0x547131(0x248)]=_0x57648c;}[_0x116ce9(0xd2)](){var _0x494469=_0x116ce9;this[_0x494469(0x248)]=null,super[_0x494469(0xd2)]();}[_0x116ce9(0x384)](){var _0x25582b=_0x116ce9;const _0x3f7837=super[_0x25582b(0x384)]();return _0x3f7837[_0x25582b(0x212)]=_0x2c0205=>{var _0x3a8407=_0x25582b,_0x3516f1,_0x59b006;return(_0x59b006=(_0x3516f1=this[_0x3a8407(0x248)])==null?void 0x0:_0x3516f1[_0x3a8407(0x212)])==null?void 0x0:_0x59b006[_0x3a8407(0x28b)](_0x3516f1,_0x2c0205);},_0x3f7837[_0x25582b(0xd5)]=_0x1ace25=>{var _0x2f5c1d=_0x25582b,_0x918c6,_0x508aaf;return(_0x508aaf=(_0x918c6=this[_0x2f5c1d(0x248)])==null?void 0x0:_0x918c6['onTransformState'])==null?void 0x0:_0x508aaf[_0x2f5c1d(0x28b)](_0x918c6,_0x1ace25);},_0x3f7837['onTransformSelections']=_0xd4c1c8=>{var _0x34fd3c=_0x25582b,_0x396974,_0x149679;return(_0x149679=(_0x396974=this['_handlerCallback'])==null?void 0x0:_0x396974[_0x34fd3c(0x39c)])==null?void 0x0:_0x149679[_0x34fd3c(0x28b)](_0x396974,_0xd4c1c8);},_0x3f7837['onSyncEditingCollabCursor']=_0x26d62a=>{var _0xadec5d=_0x25582b,_0x5ac543,_0x3eaab2;return(_0x3eaab2=(_0x5ac543=this[_0xadec5d(0x248)])==null?void 0x0:_0x5ac543[_0xadec5d(0x2e4)])==null?void 0x0:_0x3eaab2[_0xadec5d(0x28b)](_0x5ac543,_0x26d62a);},_0x3f7837[_0x25582b(0x3ac)]=_0x1d0e8a=>{var _0x4f9944=_0x25582b,_0x62026,_0x5b5aa4,_0x3180ae;if(!((_0x62026=this[_0x4f9944(0x248)])!=null&&_0x62026[_0x4f9944(0x3ac)]))throw new Error(_0x4f9944(0x1da));return(_0x3180ae=(_0x5b5aa4=this[_0x4f9944(0x248)])==null?void 0x0:_0x5b5aa4[_0x4f9944(0x3ac)])==null?void 0x0:_0x3180ae[_0x4f9944(0x28b)](_0x5b5aa4,_0x1d0e8a);},_0x3f7837['onTransformRemoteChangesetByStateCache']=_0x2abcea=>{var _0x455eea=_0x25582b,_0x55df88,_0x3211fd,_0x54f617;if(!((_0x55df88=this['_handlerCallback'])!=null&&_0x55df88[_0x455eea(0xc6)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x54f617=(_0x3211fd=this[_0x455eea(0x248)])==null?void 0x0:_0x3211fd[_0x455eea(0xc6)])==null?void 0x0:_0x54f617[_0x455eea(0x28b)](_0x3211fd,_0x2abcea);},_0x3f7837;}async[_0x116ce9(0x30c)](){var _0x1ef43a=_0x116ce9;const _0xddba6f=await super['_init']();return this[_0x1ef43a(0xf0)](this[_0x1ef43a(0x36c)][_0x1ef43a(0x33e)]((_0x200ac7,_0x23ac79)=>{var _0x3b4010=_0x1ef43a;if(_0x200ac7[_0x3b4010(0x18b)]!==_0x334635[_0x3b4010(0x216)]||_0x23ac79!=null&&_0x23ac79['fromCollab']||_0x23ac79!=null&&_0x23ac79[_0x3b4010(0xbe)]||_0x200ac7['id']===_0x49a809['id'])return;const _0x289851=_0x200ac7[_0x3b4010(0x3a5)];if((_0x289851==null?void 0x0:_0x289851['unitId'])!==this[_0x3b4010(0x1b1)])return;const _0x20371d=_0x200ac7,_0x53c020=this[_0x3b4010(0x148)][_0x3b4010(0x382)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3b4010(0x382)][_0x3b4010(0x3aa)]()[_0x3b4010(0xdb)])([_0x20371d],null)||[_0x20371d];this[_0x3b4010(0x2ab)](_0x53c020[0x0]);})),_0xddba6f;}};St=wt([H(0x3,_0x557787(_0x249d80)),H(0x4,_0x557787(_0x18e7ae)),H(0x5,_0x557787(_0x5a45ce)),H(0x6,_0x557787(_0x579054)),H(0x7,_0x557787(ve)),H(0x8,_0x1703f1),H(0x9,_0x557fb2),H(0xa,_0x293adf),H(0xb,_0x93ee66(ht)),H(0xc,_0x93ee66(J))],St);let Et=class extends st{constructor(_0x4c0b6d,_0x409106,_0x26f0c1,_0x12741f,_0x123c11,_0x40a431,_0x15f3da,_0x1c9d84,_0x269370,_0x540e39,_0x27ae2a,_0x54f5ad,_0x2d5d2b,_0x1d7c69){var _0x3af97a=_0x116ce9;super(_0x4c0b6d,_0x26f0c1,_0x409106,_0x12741f,_0x123c11,_0x40a431,_0x15f3da,_0x269370,_0x540e39,_0x27ae2a,_0x54f5ad,_0x2d5d2b,_0x1d7c69),this['unitID']=_0x4c0b6d,this[_0x3af97a(0x18b)]=_0x409106,this['_sheetTransformSelectionsService']=_0x1c9d84;}[_0x116ce9(0x384)](){var _0x33ef32=_0x116ce9;const _0x1d348d=super['_createHandler']();return _0x1d348d[_0x33ef32(0x39c)]=_0x4da089=>this[_0x33ef32(0x2b3)][_0x33ef32(0x2df)](_0x4da089),_0x1d348d;}async[_0x116ce9(0x30c)](){var _0x1a2dcb=_0x116ce9;const _0x329e32=await super[_0x1a2dcb(0x30c)]();return this['disposeWithMe'](this[_0x1a2dcb(0x36c)]['onCommandExecuted']((_0x463e4c,_0x17c1a5)=>{var _0x599358=_0x1a2dcb;if(_0x463e4c[_0x599358(0x18b)]!==_0x334635[_0x599358(0x216)]||_0x17c1a5!=null&&_0x17c1a5[_0x599358(0x346)]||_0x17c1a5!=null&&_0x17c1a5[_0x599358(0xbe)])return;const _0x294d25=_0x463e4c['params'];if((_0x294d25==null?void 0x0:_0x294d25['unitId'])!==this[_0x599358(0x1b1)])return;const _0x2fd10a=_0x463e4c,_0x4b214=this[_0x599358(0x148)][_0x599358(0x382)][_0x599358(0x39d)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x2fd10a],null)||[_0x2fd10a];this[_0x599358(0x2ab)](_0x4b214[0x0]);})),_0x329e32;}};Et=wt([H(0x3,_0x557787(_0x249d80)),H(0x4,_0x557787(_0x18e7ae)),H(0x5,_0x557787(_0x5a45ce)),H(0x6,_0x557787(_0x579054)),H(0x7,_0x557787(it)),H(0x8,_0x557787(ve)),H(0x9,_0x1703f1),H(0xa,_0x557fb2),H(0xb,_0x293adf),H(0xc,_0x93ee66(ht)),H(0xd,_0x93ee66(J))],Et);const js=_0x414cea(_0x116ce9(0x1c8));function Fs(_0x4aa2d7){var _0x293ec4=_0x116ce9,_0x2c6c9f,_0x5ecfca,_0x3acbdd,_0x48c5e4,_0x305bf5;const _0xf16cae=_0x4aa2d7[_0x293ec4(0x249)],_0x2a2fc8=JSON[_0x293ec4(0x1c6)](_0xf16cae);switch(_0x2a2fc8[_0x293ec4(0x14d)]){case F[_0x293ec4(0x28e)]:case F[_0x293ec4(0x251)]:{const _0x202a22=_0x2a2fc8[_0x293ec4(0x258)];return{..._0x2a2fc8,'data':_0x202a22,'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};}case F['JOIN']:{const _0x4f5be5=_0x2a2fc8[_0x293ec4(0x35b)];return{..._0x2a2fc8,'data':_0x4f5be5,'cmd':_0x2a2fc8['cmd']};}case F[_0x293ec4(0xd7)]:{const _0x25fa20=_0x2a2fc8['collaMsg'];switch(_0x25fa20['eventID']){case _0x353970[_0x293ec4(0x39f)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x2c6c9f=_0x25fa20['permissionRejEvent'])==null?void 0x0:_0x2c6c9f['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['CHANGESET_ACK']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x5ecfca=_0x25fa20[_0x293ec4(0x3a1)])==null?void 0x0:_0x5ecfca['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x1fd)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x3acbdd=_0x25fa20[_0x293ec4(0x32a)])==null?void 0x0:_0x3acbdd['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['CHANGESET_REJ']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x48c5e4=_0x25fa20[_0x293ec4(0xb6)])==null?void 0x0:_0x48c5e4['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x139)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x305bf5=_0x25fa20[_0x293ec4(0x1cc)])==null?void 0x0:_0x305bf5['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x1e4)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20['updateCursorEvent']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x18f)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x116)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['USERS_LEAVE']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x1c0)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x25c)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x3ad)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x280)]:case _0x353970['LIVESHARE_OPERATION']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x1a7)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x32d)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x3ad)]},'cmd':_0x2a2fc8['cmd']};case _0x353970[_0x293ec4(0x13b)]:return{..._0x2a2fc8,'data':_0x25fa20,'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x208)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20['commentUpdateEvent']},'cmd':_0x2a2fc8['cmd']};case _0x353970[_0x293ec4(0x27d)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x376)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['SHOULD_CLOSE_CONN']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20['shouldCloseConn']},'cmd':_0x2a2fc8['cmd']};case _0x353970['UNISCRIPT_RUN']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x178)]},'cmd':_0x2a2fc8['cmd']};default:return _0x2a2fc8;}}default:return _0x2a2fc8;}}function Vs(_0x123398){var _0x550515=_0x116ce9;switch(_0x123398[_0x550515(0x14d)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x550515(0xf4)]({'cmd':_0x123398[_0x550515(0x14d)],'routeKey':_0x123398[_0x550515(0x2ff)]});case F[_0x550515(0x316)]:{let _0x169d8a;switch(_0x123398[_0x550515(0x249)]['eventID']){case _0x353970[_0x550515(0x1e4)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0x1e4)],'updateCursorEvent':_0x123398[_0x550515(0x249)][_0x550515(0x249)]};break;}case _0x353970['USERS_LEAVE']:{_0x169d8a={'eventID':_0x353970[_0x550515(0x1d1)],'leaveEvent':_0x123398['data'][_0x550515(0x249)]};break;}case _0x353970['USERS_ENTER']:{_0x169d8a={'eventID':_0x353970[_0x550515(0x18f)],'joinEvent':_0x123398[_0x550515(0x249)][_0x550515(0x249)]};break;}case _0x353970[_0x550515(0x25c)]:{_0x169d8a={'eventID':_0x353970['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x123398['data'][_0x550515(0x249)]};break;}case _0x353970[_0x550515(0x13c)]:{_0x169d8a={'eventID':_0x353970['LIVESHARE_OPERATION'],'liveShareOperation':_0x123398['data'][_0x550515(0x249)]};break;}case _0x353970[_0x550515(0x32d)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0x32d)],'liveShareTerminate':_0x123398[_0x550515(0x249)]['data']};break;}case _0x353970[_0x550515(0xf7)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0xf7)],'liveShareRequestHost':_0x123398[_0x550515(0x249)]['data']};break;}case _0x353970[_0x550515(0x280)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0x280)]};break;}default:_0x169d8a={'eventID':_0x123398['data'][_0x550515(0x171)]};}return JSON[_0x550515(0xf4)]({'cmd':_0x123398[_0x550515(0x14d)],'routeKey':_0x123398['routeKey'],'collaMsg':_0x169d8a});}case F[_0x550515(0x106)]:return JSON[_0x550515(0xf4)]({'cmd':_0x123398[_0x550515(0x14d)],'routeKey':_0x123398[_0x550515(0x2ff)],'joinReq':_0x123398[_0x550515(0x249)]});case F[_0x550515(0x27f)]:return JSON['stringify']({'cmd':_0x123398['cmd'],'routeKey':_0x123398[_0x550515(0x2ff)],'leaveReq':_0x123398[_0x550515(0x249)]});default:throw new Error(_0x550515(0x268));}}var Ws=Object[_0x116ce9(0x396)],Gs=(_0x3a93f0,_0x36083b,_0x870cb,_0x7e7a18)=>{for(var _0x421381=_0x7e7a18>0x1?void 0x0:_0x7e7a18?Ws(_0x36083b,_0x870cb):_0x36083b,_0x54be0b=_0x3a93f0['length']-0x1,_0x23f309;_0x54be0b>=0x0;_0x54be0b--)(_0x23f309=_0x3a93f0[_0x54be0b])&&(_0x421381=_0x23f309(_0x421381)||_0x421381);return _0x421381;},De=(_0x4f0df6,_0xd057a0)=>(_0x508007,_0xfebfe0)=>_0xd057a0(_0x508007,_0xfebfe0,_0x4f0df6);const Ci=_0x414cea(_0x116ce9(0x13f));function Ys(_0x1bc2a7,_0x5c3a9f,_0x5b9fbc){var _0x4ab416=_0x116ce9;return _0x1bc2a7+'/'+_0x5c3a9f+_0x4ab416(0x345)+_0x5b9fbc+_0x4ab416(0x2ba);}let Gt=class extends _0x122c44{constructor(_0x454cc3,_0xc96fe6,_0x2e56c2,_0x27b4a0,_0x35eba0){var _0x8e73e=_0x116ce9;super(),this[_0x8e73e(0x15b)]=_0x454cc3,this[_0x8e73e(0x276)]=_0xc96fe6,this[_0x8e73e(0x206)]=_0x2e56c2,this[_0x8e73e(0x156)]=_0x27b4a0,this['_snapshotServerService']=_0x35eba0;}[_0x116ce9(0x339)](_0x120f54){var _0x3537fd=_0x116ce9;const _0x5d2410=this['_injector']['get'](_0x39c28c);if(!_0x5d2410)throw new Error(_0x3537fd(0x370));const _0x512f6f=_0x5d2410[_0x3537fd(0x2d9)](_0x120f54);if(!_0x512f6f)throw new Error(_0x3537fd(0x288));const _0x2b8bc5=new _0x43ee92(),_0x26b4ad=new _0x19b0a1();_0x2b8bc5[_0x3537fd(0xca)](_0x512f6f[_0x3537fd(0x337)][_0x3537fd(0x2f2)](_0x4426c2=>_0x26b4ad[_0x3537fd(0x371)](_0x4426c2))),_0x2b8bc5[_0x3537fd(0xca)](_0x47e850(()=>_0x26b4ad[_0x3537fd(0x26c)]()));const _0x25ea22=new _0x19b0a1();_0x2b8bc5[_0x3537fd(0xca)](_0x512f6f[_0x3537fd(0x34b)][_0x3537fd(0x2f2)](_0xf0ebe0=>_0x25ea22[_0x3537fd(0x371)](_0xf0ebe0))),_0x2b8bc5[_0x3537fd(0xca)](_0x47e850(()=>_0x25ea22[_0x3537fd(0x26c)]()));const _0xe616b1=new _0x19b0a1();_0x2b8bc5[_0x3537fd(0xca)](_0x512f6f[_0x3537fd(0x21b)][_0x3537fd(0x2f2)](_0x51e2dc=>{var _0x5ede14=_0x3537fd;const _0x1a7a0b=Fs(_0x51e2dc);_0xe616b1[_0x5ede14(0x371)](_0x1a7a0b);})),_0x2b8bc5[_0x3537fd(0xca)](_0x47e850(()=>_0xe616b1['complete']()));let _0x399410;const _0x44fef3=()=>{var _0x58b57e=_0x3537fd;_0x25ea22[_0x58b57e(0x371)](new Event(_0x58b57e(0x10a))),_0x26b4ad[_0x58b57e(0x371)](new Event(_0x58b57e(0x10a))),_0x399410[_0x58b57e(0x298)]();};return _0x399410={'memberID':'','close$':_0x26b4ad['asObservable'](),'error$':_0x25ea22[_0x3537fd(0x18e)](),'open$':_0x512f6f[_0x3537fd(0x140)],'message$':_0xe616b1[_0x3537fd(0x18e)](),'send':_0x273866=>{var _0x592a21=_0x3537fd;if(_0x273866[_0x592a21(0x14d)]===F[_0x592a21(0x316)]){if(_0x273866[_0x592a21(0x249)][_0x592a21(0x171)]===_0x353970['SUBMIT_CHANGESET']){this[_0x592a21(0x34c)](_0x399410,_0x273866[_0x592a21(0x249)])[_0x592a21(0x1ba)](_0x22c00c=>{var _0x469bb0=_0x592a21;this[_0x469bb0(0x156)][_0x469bb0(0x112)](_0x22c00c),_0x44fef3();});return;}if(_0x273866['data']['eventID']===_0x353970[_0x592a21(0x324)]){const _0xf5951d=_0x273866[_0x592a21(0x249)];this[_0x592a21(0x179)](_0xf5951d)[_0x592a21(0x269)](_0x437818=>{var _0x3bb3f9=_0x592a21;_0xe616b1['next']({'cmd':F[_0x3bb3f9(0xd7)],'code':pe['OK'],'routeKey':_0xf5951d[_0x3bb3f9(0x249)]['unitID'],'routeType':'','data':{'eventID':_0x353970[_0x3bb3f9(0x2bb)],'data':{'changesets':_0x437818}}});})[_0x592a21(0x1ba)](_0x3c4827=>{var _0x280a43=_0x592a21;this[_0x280a43(0x156)][_0x280a43(0x112)](_0x3c4827),_0x44fef3();});return;}}_0x512f6f[_0x592a21(0x32b)](Vs(_0x273866));},'close':()=>{var _0x4157bb=_0x3537fd;_0x512f6f[_0x4157bb(0x298)](),_0x2b8bc5['dispose']();}},_0x399410;}async[_0x116ce9(0x34c)](_0x4f6aec,_0x2edbd1){var _0x413b04=_0x116ce9,_0x2dc631;const {unitType:_0x57a009,unitID:_0x5b9331,changeset:_0x3d8454}=_0x2edbd1['data'],_0x203c09={'unitID':_0x5b9331,'memberID':_0x4f6aec[_0x413b04(0x399)],'type':_0x57a009,'changeset':_0x52531e(_0x3d8454)},_0x1edff5=this[_0x413b04(0x206)]['getConfig'](K),_0x2ad3ed=Ys((_0x2dc631=_0x1edff5==null?void 0x0:_0x1edff5['collabSubmitChangesetUrl'])!=null?_0x2dc631:Cs,_0x57a009,_0x5b9331);try{await this[_0x413b04(0x276)]['post'](_0x2ad3ed,{'body':_0x203c09});}catch(_0x6b1bc1){throw this[_0x413b04(0x156)][_0x413b04(0x112)](_0x413b04(0x10f),_0x413b04(0x36d)),_0x6b1bc1;}}async[_0x116ce9(0x179)](_0x3b3d2e){var _0x45c9d4=_0x116ce9;const {unitID:_0x2f6fc7,from:_0xf8f23,to:_0x13f429,unitType:_0x509e2f}=_0x3b3d2e[_0x45c9d4(0x249)];return(await this[_0x45c9d4(0x2e3)][_0x45c9d4(0x255)]({'metadata':void 0x0},{'unitID':_0x2f6fc7,'type':_0x509e2f,'from':_0xf8f23,'to':_0x13f429}))['changesets'];}};Gt=Gs([De(0x0,_0x557787(_0x249d80)),De(0x1,_0x557787(_0x31682f)),De(0x2,_0x42adf2),De(0x3,_0x1703f1),De(0x4,_0x38f09d)],Gt);var Ks=Object[_0x116ce9(0x396)],qs=(_0x4f0332,_0x3a1315,_0x56c21c,_0x3d531a)=>{var _0x50d399=_0x116ce9;for(var _0x5996df=_0x3d531a>0x1?void 0x0:_0x3d531a?Ks(_0x3a1315,_0x56c21c):_0x3a1315,_0x16ad78=_0x4f0332[_0x50d399(0x196)]-0x1,_0x52556b;_0x16ad78>=0x0;_0x16ad78--)(_0x52556b=_0x4f0332[_0x16ad78])&&(_0x5996df=_0x52556b(_0x5996df)||_0x5996df);return _0x5996df;},Re=(_0x30a20f,_0x3b33ba)=>(_0x1b370c,_0x1e2d94)=>_0x3b33ba(_0x1b370c,_0x1e2d94,_0x30a20f);let Pe=class extends _0x122c44{constructor(_0x2376f1,_0x3844c6,_0x1963bd,_0xdc0970,_0x214fef,_0x309ca9){var _0x48db38=_0x116ce9;super(),N(this,_0x48db38(0x18c),new _0x3dc6f5(void 0x0)),N(this,_0x48db38(0xb9),this[_0x48db38(0x18c)][_0x48db38(0x18e)]()),N(this,_0x48db38(0xbf),null),N(this,_0x48db38(0x3c0),new Map()),N(this,_0x48db38(0x33c),new _0x3dc6f5(ge['IDLE'])),N(this,_0x48db38(0x273),this[_0x48db38(0x33c)]['asObservable']()),N(this,_0x48db38(0xf2),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x48db38(0x340),0x0),N(this,_0x48db38(0x235)),N(this,_0x48db38(0x319)),(this['_injector']=_0x2376f1,this[_0x48db38(0x156)]=_0x3844c6,this[_0x48db38(0x206)]=_0x1963bd,this[_0x48db38(0x2c9)]=_0xdc0970,this[_0x48db38(0xe9)]=_0x214fef,this[_0x48db38(0xe0)]=_0x309ca9,this[_0x48db38(0x1d2)]());}get[_0x116ce9(0x217)](){var _0x2128c9=_0x116ce9;return this['_socket$'][_0x2128c9(0x21e)]();}[_0x116ce9(0x1d2)](){var _0x1ac843=_0x116ce9;this[_0x1ac843(0xe0)]&&this[_0x1ac843(0xf0)](this['_networkConditionService']['online$'][_0x1ac843(0x2f2)](_0xa652f4=>{var _0x3ecaa0=_0x1ac843;_0xa652f4&&!this[_0x3ecaa0(0x217)]&&this[_0x3ecaa0(0x165)](),_0xa652f4||this[_0x3ecaa0(0x121)]();}));}[_0x116ce9(0xd2)](){var _0x5c3b28=_0x116ce9;super[_0x5c3b28(0xd2)](),this[_0x5c3b28(0x267)](),this[_0x5c3b28(0x3bc)](),this[_0x5c3b28(0x223)](),this['_sessions'][_0x5c3b28(0x12d)](_0x83cd93=>_0x83cd93['dispose']()),this[_0x5c3b28(0x3c0)]['clear'](),this['_status$']['complete']();}async['requireSession'](_0x5f4ade){var _0x4ff625=_0x116ce9;if(this[_0x4ff625(0x3c0)][_0x4ff625(0x322)](_0x5f4ade))return this[_0x4ff625(0x3c0)]['get'](_0x5f4ade);this[_0x4ff625(0x160)]();const _0x4f471b=this[_0x4ff625(0x15b)][_0x4ff625(0x13d)](gt,_0x5f4ade,this['_socket$']['asObservable']());return this[_0x4ff625(0x3c0)][_0x4ff625(0x228)](_0x5f4ade,_0x4f471b),_0x4f471b;}[_0x116ce9(0x2f5)](_0x3437d8){var _0x28083e=_0x116ce9,_0x16868f;const _0x5a0e21=this[_0x28083e(0x3c0)]['get'](_0x3437d8);_0x5a0e21&&(this[_0x28083e(0x3c0)][_0x28083e(0xba)](_0x3437d8),_0x5a0e21[_0x28083e(0x298)]()),this[_0x28083e(0x3c0)]['size']||(_0x16868f=this[_0x28083e(0x217)])==null||_0x16868f[_0x28083e(0x298)]();}['reconnect'](){var _0x2446e1=_0x116ce9;this[_0x2446e1(0x340)]=0x0,this[_0x2446e1(0x267)](),this[_0x2446e1(0x1b5)]();}[_0x116ce9(0x267)](){var _0x416e40=_0x116ce9;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x416e40(0xee)]),this['_retryConnectingTimer']=null);}async[_0x116ce9(0x308)](){var _0x15bee3=_0x116ce9,_0x4b6a70;const _0x364c11=this['_configService'][_0x15bee3(0x232)](K),_0x34efd9=(_0x4b6a70=_0x364c11==null?void 0x0:_0x364c11[_0x15bee3(0x2de)])!=null?_0x4b6a70:ms,_0xe043c4=await this[_0x15bee3(0x2c9)]['createSocket'](_0x34efd9);return this[_0x15bee3(0xbf)]=_0xe043c4,_0xe043c4;}async[_0x116ce9(0x160)](){var _0x52555e=_0x116ce9,_0x13d52b,_0x5a237a;try{const _0x17b219=(_0x5a237a=(_0x13d52b=this[_0x52555e(0x217)])!=null?_0x13d52b:this['_candidateSocket'])!=null?_0x5a237a:await this[_0x52555e(0x308)]();if(_0x17b219){const _0x20d513=_0x17b219[_0x52555e(0x32b)];_0x17b219[_0x52555e(0x32b)]=_0x15c1f9=>(this[_0x52555e(0x205)](),_0x20d513[_0x52555e(0x2d7)](_0x17b219,[_0x15c1f9])),_0x17b219[_0x52555e(0x21b)]['subscribe'](_0x375b7e=>this['_onMessage'](_0x17b219,_0x375b7e)),_0x17b219[_0x52555e(0x34b)][_0x52555e(0x266)](_0x3b9751(0x1))['subscribe'](_0x3216fa=>this[_0x52555e(0x156)][_0x52555e(0x112)](_0x52555e(0x25a),_0x3216fa)),_0x17b219['open$'][_0x52555e(0x266)](_0x3b9751(0x1))[_0x52555e(0x2f2)](()=>{var _0x22ef76=_0x52555e;this[_0x22ef76(0x2dc)](_0x17b219);}),_0x17b219[_0x52555e(0x337)][_0x52555e(0x266)](_0x3b9751(0x1))[_0x52555e(0x2f2)](_0x4f907d=>{var _0x53315b=_0x52555e;this['_logService'][_0x53315b(0x347)]('[CollaborationSessionService]',_0x53315b(0x2ca),_0x4f907d),this[_0x53315b(0x31a)]();});}}catch(_0x303410){this[_0x52555e(0x156)][_0x52555e(0x112)](_0x303410),this[_0x52555e(0x31a)]();}}[_0x116ce9(0x2dc)](_0x2b5a46){var _0x4dc307=_0x116ce9;this[_0x4dc307(0x156)][_0x4dc307(0x347)]('[CollaborationSessionService]',_0x4dc307(0xd6)),_0x2b5a46[_0x4dc307(0x32b)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0xe7868=_0x116ce9;this['_socketReady']=!0x1,this[_0xe7868(0xbf)]=null,this[_0xe7868(0x33c)][_0xe7868(0x371)](ge[_0xe7868(0x26d)]),this[_0xe7868(0x18c)][_0xe7868(0x371)](null),this[_0xe7868(0x3bc)](),this[_0xe7868(0x223)]();}[_0x116ce9(0x31a)](){var _0x2aa9d2=_0x116ce9,_0x12442b;this[_0x2aa9d2(0x121)](),this[_0x2aa9d2(0x340)]<((_0x12442b=this[_0x2aa9d2(0x206)][_0x2aa9d2(0x232)](Is))!=null?_0x12442b:Ts)?(this[_0x2aa9d2(0xe9)]['emitEvent']({'id':ne[_0x2aa9d2(0x331)]}),this['_tryReconnect']()):this[_0x2aa9d2(0xe9)][_0x2aa9d2(0x1df)]({'id':ne[_0x2aa9d2(0x261)]});}['_tryReconnect'](){var _0x322895=_0x116ce9,_0x5d19e8;const _0x5ea929=this['_retryCount'],_0x1fdcc1=this[_0x322895(0x206)]['getConfig'](K),_0x30a976=_0x5ea929===0x0?0x0:((_0x5d19e8=_0x1fdcc1==null?void 0x0:_0x1fdcc1[_0x322895(0x174)])!=null?_0x5d19e8:Es)*0x2**_0x5ea929;this['_retryConnectingTimer']=setTimeout(()=>{var _0x447a89=_0x322895;clearTimeout(this[_0x447a89(0xee)]),this[_0x447a89(0xee)]=null,this[_0x447a89(0x160)]();},_0x30a976),this[_0x322895(0x340)]+=0x1;}[_0x116ce9(0x2ed)](_0x1ba56e,_0x3a9170){var _0x4dc85e=_0x116ce9;const {cmd:_0x4089dd}=_0x3a9170;_0x4089dd===F['HELLO']&&!this[_0x4dc85e(0xf2)]&&(_0x1ba56e[_0x4dc85e(0x399)]=_0x3a9170[_0x4dc85e(0x249)][_0x4dc85e(0x399)],this[_0x4dc85e(0x18c)][_0x4dc85e(0x371)](_0x1ba56e),this[_0x4dc85e(0x33c)][_0x4dc85e(0x371)](ge[_0x4dc85e(0x35f)]),this[_0x4dc85e(0xf2)]=!0x0,this['_candidateSocket']=null),_0x4089dd===F[_0x4dc85e(0x28e)]&&this[_0x4dc85e(0x3bc)](),this[_0x4dc85e(0x205)]();}[_0x116ce9(0x205)](){var _0x19d401=_0x116ce9,_0x38c506;this[_0x19d401(0x223)](),this[_0x19d401(0x235)]=setTimeout(()=>this[_0x19d401(0x126)](),(_0x38c506=this[_0x19d401(0x206)][_0x19d401(0x232)](gs))!=null?_0x38c506:Ss);}[_0x116ce9(0x126)](){var _0x6af053=_0x116ce9;this['_socket'][_0x6af053(0x32b)]({'cmd':F[_0x6af053(0x28e)]}),this['_waitForHeartbeatResponse']();}[_0x116ce9(0xff)](){var _0x236494=_0x116ce9,_0x52af81;this[_0x236494(0x319)]=setTimeout(()=>this[_0x236494(0x31a)](),(_0x52af81=this[_0x236494(0x206)][_0x236494(0x232)](di))!=null?_0x52af81:fi);}['_clearHeartbeatTimer'](){var _0x350d82=_0x116ce9;this[_0x350d82(0x235)]!=null&&(clearTimeout(this[_0x350d82(0x235)]),this[_0x350d82(0x235)]=null);}[_0x116ce9(0x3bc)](){var _0x2294f3=_0x116ce9;this[_0x2294f3(0x319)]!=null&&(clearTimeout(this[_0x2294f3(0x319)]),this[_0x2294f3(0x319)]=null);}};Pe=qs([Re(0x0,_0x557787(_0x249d80)),Re(0x1,_0x1703f1),Re(0x2,_0x42adf2),Re(0x3,Ci),Re(0x4,_0x557787(ve)),Re(0x5,_0x93ee66(js))],Pe);var zs=Object[_0x116ce9(0x396)],Js=(_0xdd0b24,_0xc56a65,_0x30b7cb,_0x16dbd8)=>{var _0x28b86f=_0x116ce9;for(var _0xe3ccd=_0x16dbd8>0x1?void 0x0:_0x16dbd8?zs(_0xc56a65,_0x30b7cb):_0xc56a65,_0xf62d44=_0xdd0b24[_0x28b86f(0x196)]-0x1,_0x540fe2;_0xf62d44>=0x0;_0xf62d44--)(_0x540fe2=_0xdd0b24[_0xf62d44])&&(_0xe3ccd=_0x540fe2(_0xe3ccd)||_0xe3ccd);return _0xe3ccd;},Be=(_0x3afa85,_0x1429e1)=>(_0x4c43dd,_0x30fbde)=>_0x1429e1(_0x4c43dd,_0x30fbde,_0x3afa85);let nt=class extends _0x4d32e2{constructor(_0x3f36b2,_0x412c2e,_0x1ac30d,_0x1c7717){var _0x23cac6=_0x116ce9,_0x4c7743;super(),N(this,_0x23cac6(0x20d),new Map()),N(this,_0x23cac6(0x213),new _0x19b0a1()),N(this,_0x23cac6(0x32c),this[_0x23cac6(0x213)][_0x23cac6(0x18e)]()),(this[_0x23cac6(0x15b)]=_0x3f36b2,this[_0x23cac6(0x24a)]=_0x412c2e,this[_0x23cac6(0x206)]=_0x1ac30d,this[_0x23cac6(0xc7)]=_0x1c7717,((_0x4c7743=this['_configService'][_0x23cac6(0x232)](K))==null?void 0x0:_0x4c7743[_0x23cac6(0x2c2)])!==!0x1&&this['_init']());}['dispose'](){var _0x5cd247=_0x116ce9;super[_0x5cd247(0xd2)](),this[_0x5cd247(0x20d)][_0x5cd247(0x12d)](_0x5695bc=>_0x5695bc[_0x5cd247(0xd2)]()),this['_entities'][_0x5cd247(0xe1)]();}['getCollabEntity'](_0x104bea){var _0x3a0b70=_0x116ce9,_0x2b22ec;return(_0x2b22ec=this[_0x3a0b70(0x20d)]['get'](_0x104bea))!=null?_0x2b22ec:null;}[_0x116ce9(0x183)](_0x5dbdfd){var _0x2d1d3e=_0x116ce9;const _0x11d066=this[_0x2d1d3e(0x138)](_0x5dbdfd);return _0x11d066?_0x285d91(_0x11d066):this[_0x2d1d3e(0x213)][_0x2d1d3e(0x266)](_0x48d5d4(_0x157e4b=>_0x157e4b[_0x2d1d3e(0x1b1)]===_0x5dbdfd));}[_0x116ce9(0x104)](_0x25e3c8){var _0x1e6987=_0x116ce9;return _0x21e5f(this[_0x1e6987(0x183)](_0x25e3c8)[_0x1e6987(0x266)](_0x209458(()=>{})));}[_0x116ce9(0x30c)](){var _0x4d0ef4=_0x116ce9;this[_0x4d0ef4(0xc7)]['getTypeOfUnitAdded$'](_0x7d3d2a[_0x4d0ef4(0x33b)])['pipe'](_0x57b88f(this['dispose$']),_0x37dec7(0x10))[_0x4d0ef4(0x2f2)](async _0x25d021=>{var _0x1c140e=_0x4d0ef4;const _0x21bb7e=_0x25d021[_0x1c140e(0x130)](),_0x2b4ff7=await this[_0x1c140e(0xeb)](_0x21bb7e,Z['UNIVER_SHEET']);this[_0x1c140e(0x20d)][_0x1c140e(0x228)](_0x21bb7e,_0x2b4ff7);}),this[_0x4d0ef4(0xc7)][_0x4d0ef4(0x367)](_0x7d3d2a[_0x4d0ef4(0x1f8)])[_0x4d0ef4(0x266)](_0x57b88f(this[_0x4d0ef4(0x1f0)]),_0x37dec7(0x10))[_0x4d0ef4(0x266)](_0x48d5d4(_0x218894=>!_0x218894[_0x4d0ef4(0x130)]()[_0x4d0ef4(0x256)]('__')))[_0x4d0ef4(0x2f2)](async _0x4edf08=>{var _0x21cc4f=_0x4d0ef4;const _0x3fd790=_0x4edf08[_0x21cc4f(0x130)](),_0x26383d=await this[_0x21cc4f(0xeb)](_0x3fd790,Z[_0x21cc4f(0x1f8)]);this[_0x21cc4f(0x20d)][_0x21cc4f(0x228)](_0x3fd790,_0x26383d);}),_0x53100c(this['_univerInstanceService'][_0x4d0ef4(0x201)](_0x7d3d2a[_0x4d0ef4(0x33b)]),this[_0x4d0ef4(0xc7)][_0x4d0ef4(0x201)](_0x7d3d2a['UNIVER_DOC']))['pipe'](_0x57b88f(this['dispose$']))[_0x4d0ef4(0x2f2)](_0x1e2a45=>{var _0x5ee393=_0x4d0ef4;const _0x163b65=_0x1e2a45[_0x5ee393(0x130)](),_0x585051=this[_0x5ee393(0x20d)]['get'](_0x163b65);_0x585051&&(_0x585051[_0x5ee393(0xd2)](),this[_0x5ee393(0x20d)][_0x5ee393(0xba)](_0x163b65));});}async[_0x116ce9(0xeb)](_0x5c80cd,_0x4361fb){var _0x3694dc=_0x116ce9;const _0x5492cc=await this[_0x3694dc(0x24a)][_0x3694dc(0x297)](_0x5c80cd),_0x18f5b2=this[_0x3694dc(0x15b)][_0x3694dc(0x13d)](this[_0x3694dc(0x2be)](_0x4361fb),_0x5c80cd,_0x4361fb,_0x5492cc);return await _0x18f5b2['init'](),this[_0x3694dc(0x213)]['next'](_0x18f5b2),_0x18f5b2;}[_0x116ce9(0x2be)](_0x427fc3){var _0x5234cd=_0x116ce9;switch(_0x427fc3){case Z['UNIVER_DOC']:return St;case Z[_0x5234cd(0x33b)]:return Et;default:throw new Error(_0x5234cd(0x380)+_0x427fc3);}}};nt=Js([Be(0x0,_0x557787(_0x249d80)),Be(0x1,_0x557787(Pe)),Be(0x2,_0x42adf2),Be(0x3,_0x283ba7)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x4320cc,_0x34179e,_0x312764,_0x337dcf)=>{var _0x35d9a9=_0x116ce9;for(var _0x5b40f9=_0x337dcf>0x1?void 0x0:_0x337dcf?Xs(_0x34179e,_0x312764):_0x34179e,_0x1c90be=_0x4320cc[_0x35d9a9(0x196)]-0x1,_0x599d55;_0x1c90be>=0x0;_0x1c90be--)(_0x599d55=_0x4320cc[_0x1c90be])&&(_0x5b40f9=_0x599d55(_0x5b40f9)||_0x5b40f9);return _0x5b40f9;},Yt=(_0x483ea0,_0x527114)=>(_0x4adf20,_0x1fb684)=>_0x527114(_0x4adf20,_0x1fb684,_0x483ea0);const Qs=_0x116ce9(0xe7),en='Univer';let It=class extends _0x122c44{constructor(_0x3a476d,_0x111767){var _0x488a7b=_0x116ce9;super(),this[_0x488a7b(0xc7)]=_0x3a476d,this[_0x488a7b(0x206)]=_0x111767,this[_0x488a7b(0x30c)]();}[_0x116ce9(0x30c)](){var _0x1f90c8=_0x116ce9;this['disposeWithMe'](this[_0x1f90c8(0xc7)]['focused$']['subscribe'](()=>{var _0x45b60f=_0x1f90c8,_0xe52c25;const _0x48b5c4=this[_0x45b60f(0xc7)][_0x45b60f(0x1b4)]();let _0x21c587=(_0xe52c25=this[_0x45b60f(0x206)][_0x45b60f(0x232)](Qs))!=null?_0xe52c25:en;_0x48b5c4 instanceof _0x192edd&&(_0x21c587=_0x48b5c4[_0x45b60f(0x144)]),document[_0x45b60f(0x309)]=_0x21c587;}));}};It=Zs([Yt(0x0,_0x283ba7),Yt(0x1,_0x42adf2)],It);var tn=Object[_0x116ce9(0x396)],sn=(_0x4e4210,_0x116a6b,_0x1d5211,_0x5440fd)=>{var _0x21a1da=_0x116ce9;for(var _0x2eed8c=_0x5440fd>0x1?void 0x0:_0x5440fd?tn(_0x116a6b,_0x1d5211):_0x116a6b,_0x1ce415=_0x4e4210[_0x21a1da(0x196)]-0x1,_0x393957;_0x1ce415>=0x0;_0x1ce415--)(_0x393957=_0x4e4210[_0x1ce415])&&(_0x2eed8c=_0x393957(_0x2eed8c)||_0x2eed8c);return _0x2eed8c;},dt=(_0x1c8983,_0x5d42bb)=>(_0x1b37c5,_0x183ca2)=>_0x5d42bb(_0x1b37c5,_0x183ca2,_0x1c8983);let rt=class{constructor(_0x3df16b,_0x5b1929,_0x5c6b2e){var _0x46ed37=_0x116ce9;this[_0x46ed37(0x206)]=_0x3df16b,this[_0x46ed37(0x276)]=_0x5b1929,this[_0x46ed37(0x15a)]=_0x5c6b2e,this[_0x46ed37(0x2c4)]();}['init'](){var _0x20015f=_0x116ce9;this[_0x20015f(0x276)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x51478b,_0x1beeee)=>_0x1beeee(_0x51478b)[_0x20015f(0x266)](_0x110683(async _0x3af34a=>{var _0x4c8593=_0x20015f;const _0xd2ac88=_0x3af34a;if(_0xd2ac88[_0x4c8593(0x102)]===0x191){if(typeof window>'u')throw new Error(_0x4c8593(0x1c9));if(window['confirm'](this['localeService']['t'](_0x4c8593(0xed)))){const _0x2aa065=window[_0x4c8593(0x122)](window[_0x4c8593(0x1ea)][_0x4c8593(0x35e)]);window[_0x4c8593(0x1ea)][_0x4c8593(0x35e)]=this[_0x4c8593(0x199)]()+_0x4c8593(0x315)+_0x2aa065;}}return _0xd2ac88;}))});}['_getLoginPath'](){var _0x4a75c1=_0x116ce9,_0x4494cf;const _0x78355b=this['_configService']['getConfig'](K);return(_0x4494cf=_0x78355b==null?void 0x0:_0x78355b[_0x4a75c1(0x1a8)])!=null?_0x4494cf:Rs;}};rt=sn([dt(0x0,_0x42adf2),dt(0x1,_0x557787(_0x31682f)),dt(0x2,_0x557787(_0x5a45ce))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x3a97d3,_0x10325a,_0x9c6efb,_0x52a9d5)=>{var _0x967969=_0x116ce9;for(var _0x16191d=_0x52a9d5>0x1?void 0x0:_0x52a9d5?nn(_0x10325a,_0x9c6efb):_0x10325a,_0x5c4201=_0x3a97d3[_0x967969(0x196)]-0x1,_0x25b8cc;_0x5c4201>=0x0;_0x5c4201--)(_0x25b8cc=_0x3a97d3[_0x5c4201])&&(_0x16191d=_0x25b8cc(_0x16191d)||_0x16191d);return _0x16191d;},Kt=(_0x4b1f0f,_0x56b7f9)=>(_0x489d75,_0x183ae6)=>_0x56b7f9(_0x489d75,_0x183ae6,_0x4b1f0f);const an=_0x116ce9(0xd4);let Tt=class extends _0x122c44{constructor(_0x3f034e,_0x456a02){var _0x1c184b=_0x116ce9;super(),this[_0x1c184b(0x231)]=_0x3f034e,this[_0x1c184b(0x206)]=_0x456a02,this[_0x1c184b(0x1c4)]();}['_initMergeInterceptor'](){var _0x42a1cd=_0x116ce9;const _0x31d4da=this;this[_0x42a1cd(0xf0)](this[_0x42a1cd(0x231)][_0x42a1cd(0x2b4)]({'priority':0x3e7,'interceptor':_0x5f51ab({'isMatch'(_0x3ed1e1){var _0x49bf90=_0x42a1cd,_0x3f5bf4;if(_0x3ed1e1[_0x49bf90(0x11a)]===_0x49bf90(0x35c)&&((_0x3f5bf4=_0x3ed1e1[_0x49bf90(0xb1)])!=null&&_0x3f5bf4[_0x49bf90(0x132)])){const {objectID:_0x52cfc4,objectType:_0x5c9038}=_0x3ed1e1[_0x49bf90(0xb1)][_0x49bf90(0x132)]||{};if(!_0x52cfc4||_0x5c9038===void 0x0)return!0x1;const _0xda2d05=_0x31d4da['_getAPIPrefixPath']()+'/'+_0x5c9038+_0x49bf90(0x166)+_0x52cfc4+_0x49bf90(0x185);if(_0x3ed1e1[_0x49bf90(0x2e0)]===_0xda2d05)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5e48e2){var _0x562ae8=_0x42a1cd,_0x3ff338;return(_0x3ff338=_0x5e48e2[_0x562ae8(0xb1)])==null?void 0x0:_0x3ff338[_0x562ae8(0x132)];},'mergeParamsToRequest'(_0x4d586a,_0xe81c06){var _0x250bd3=_0x42a1cd;const _0x11581c=_0x31d4da[_0x250bd3(0x34d)]()+_0x250bd3(0x1ac),_0xcde079=_0x4d586a['reduce']((_0x549266,_0x82e58)=>{var _0x16b985=_0x250bd3;const {unitID:_0x29146a,objectID:_0x6116ac,objectType:_0x407171,actions:_0x91d7b5}=_0x82e58;return _0x549266[_0x29146a]||(_0x549266[_0x29146a]={}),_0x549266[_0x29146a][_0x6116ac]||(_0x549266[_0x29146a][_0x6116ac]={'objectID':_0x6116ac,'objectType':_0x407171,'actions':[]}),_0x549266[_0x29146a][_0x6116ac][_0x16b985(0x305)][_0x16b985(0x39e)](..._0x91d7b5),_0x549266;},{}),_0x183aa9=[];for(const _0x70b5b4 in _0xcde079)for(const _0x1d30d7 in _0xcde079[_0x70b5b4]){const {actions:_0x16930e,objectType:_0x9dc46}=_0xcde079[_0x70b5b4][_0x1d30d7],_0x42a282=[...new Set(_0x16930e)];_0x183aa9['push']({'unitID':_0x70b5b4,'objectID':_0x1d30d7,'objectType':_0x9dc46,'actions':_0x42a282});}return new _0x393176(_0x250bd3(0x35c),_0x11581c,{'headers':_0xe81c06[_0x250bd3(0x1fa)],'withCredentials':_0xe81c06['withCredentials'],'responseType':_0xe81c06[_0x250bd3(0x12e)],'body':{'requests':_0x183aa9}});}},{'distributeResult'(_0x232e78,_0x23cf4c){var _0x44d5f7=_0x42a1cd;const {objectActions:_0x44615a}=_0x232e78;return _0x23cf4c[_0x44d5f7(0x27b)](_0x60a1d7=>{var _0x1f4014=_0x44d5f7;const {unitID:_0x213071,objectID:_0x1eeea9,actions:_0xfe9fce}=_0x60a1d7,_0x534c14=_0x44615a['find'](_0x2d3ff1=>_0x2d3ff1[_0x1f4014(0x1b1)]===_0x213071&&_0x2d3ff1['objectID']===_0x1eeea9),_0x4e23d0=_0xfe9fce['map'](_0x536a4e=>_0x534c14==null?void 0x0:_0x534c14['actions'][_0x1f4014(0x2f7)](_0x1b8988=>_0x1b8988[_0x1f4014(0xd3)]===_0x536a4e))[_0x1f4014(0x312)](_0x1ab43d=>!!_0x1ab43d);return{'config':_0x60a1d7,'result':{'actions':_0x4e23d0,'error':_0x232e78['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x29718f=_0x116ce9,_0x3f040e;const _0xe71428=this['_configService'][_0x29718f(0x232)](K);return(_0x3f040e=_0xe71428==null?void 0x0:_0xe71428[_0x29718f(0xf8)])!=null?_0x3f040e:an;}async[_0x116ce9(0x109)](_0x4cfff2){var _0x3178f3=_0x116ce9;const _0x43d688=this['_getAPIPrefixPath']()+'/'+_0x4cfff2[_0x3178f3(0xb5)]+_0x3178f3(0x1de);return(await this['_HTTPService']['post'](_0x43d688,{'body':_0x4cfff2}))['body'][_0x3178f3(0x307)]||'';}async['list'](_0x5717dc){var _0x29372d=_0x116ce9;const _0x4933aa=this[_0x29372d(0x34d)]()+_0x29372d(0x2d6);return(await this[_0x29372d(0x231)][_0x29372d(0x326)](_0x4933aa,{'body':_0x5717dc}))[_0x29372d(0x132)][_0x29372d(0x2b9)];}async['update'](_0x5ee2d6){var _0x1507b7=_0x116ce9,_0x194785,_0x3dd333;const _0x1f43ef=this[_0x1507b7(0x34d)]()+'/'+_0x5ee2d6[_0x1507b7(0xb5)]+_0x1507b7(0x166)+_0x5ee2d6[_0x1507b7(0x307)],_0x266fd3=await this[_0x1507b7(0x231)][_0x1507b7(0x2f0)](_0x1f43ef,{'body':_0x5ee2d6});if(((_0x3dd333=(_0x194785=_0x266fd3==null?void 0x0:_0x266fd3[_0x1507b7(0x132)])==null?void 0x0:_0x194785[_0x1507b7(0x112)])==null?void 0x0:_0x3dd333[_0x1507b7(0x230)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x116ce9(0x1cd)](_0xb69bee){var _0x344330=_0x116ce9;const _0x37e200=this['_getAPIPrefixPath']()+'/'+_0xb69bee[_0x344330(0xb5)]+_0x344330(0x166)+_0xb69bee[_0x344330(0x307)]+'/allowed';return(await this[_0x344330(0x231)][_0x344330(0x326)](_0x37e200,{'body':_0xb69bee}))[_0x344330(0x132)][_0x344330(0x305)];}async[_0x116ce9(0x3ae)](_0x1b356c){var _0x23c5f8=_0x116ce9;const _0x398f77=this[_0x23c5f8(0x34d)]()+_0x23c5f8(0x1ac);return(await this[_0x23c5f8(0x231)][_0x23c5f8(0x326)](_0x398f77,{'body':{'requests':_0x1b356c}}))[_0x23c5f8(0x132)]['objectActions'];}async[_0x116ce9(0x1b7)](_0x133854){var _0x22681e=_0x116ce9;const _0x532ab9=this[_0x22681e(0x34d)]()+'/'+_0x133854[_0x22681e(0xb5)]+_0x22681e(0x135),_0x4604f6=await this[_0x22681e(0x231)][_0x22681e(0x326)](_0x532ab9,{'body':_0x133854});return{'roles':_0x4604f6[_0x22681e(0x132)][_0x22681e(0x21d)],'actions':_0x4604f6[_0x22681e(0x132)][_0x22681e(0x305)]};}async['deleteCollaborator'](_0x59db38){var _0x1678e4=_0x116ce9;const _0x76dd1=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1678e4(0x231)][_0x1678e4(0xba)](_0x76dd1,{'params':{'collaboratorID':_0x59db38[_0x1678e4(0xc5)],'objectID':_0x59db38['objectID'],'unitID':_0x59db38[_0x1678e4(0x1b1)]}});}async[_0x116ce9(0x234)](_0x443c6a){var _0x2d01c7=_0x116ce9;const _0x1a6ab0=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x2d01c7(0x2d0)](_0x1a6ab0,{'body':_0x443c6a});}async['createCollaborator'](_0x227d3d){var _0x170873=_0x116ce9;const _0x4b49de=this['_getAPIPrefixPath']()+_0x170873(0x1a5);await this['_HTTPService'][_0x170873(0x326)](_0x4b49de,{'body':_0x227d3d});}async[_0x116ce9(0x210)](_0x24e863){var _0x41baf2=_0x116ce9;const _0x5993a0=this[_0x41baf2(0x34d)]()+_0x41baf2(0x1a5);return(await this[_0x41baf2(0x231)][_0x41baf2(0x38f)](_0x5993a0,{'params':{'objectID':_0x24e863[_0x41baf2(0x307)],'unitID':_0x24e863[_0x41baf2(0x1b1)]}}))[_0x41baf2(0x132)][_0x41baf2(0xaf)];}async[_0x116ce9(0x142)](_0x317349){var _0x569a4e=_0x116ce9;const _0x483ab8=this[_0x569a4e(0x34d)]()+_0x569a4e(0x1a5);await this['_HTTPService'][_0x569a4e(0x2f0)](_0x483ab8,{'body':_0x317349});}};Tt=rn([Kt(0x0,_0x557787(_0x31682f)),Kt(0x1,_0x557787(_0x42adf2))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2ef108){var _0xe30c9c=_0x116ce9;return _0x2ef108&&_0x2ef108[_0xe30c9c(0x286)]&&Object[_0xe30c9c(0x107)][_0xe30c9c(0x1e7)][_0xe30c9c(0x28b)](_0x2ef108,_0xe30c9c(0x1f3))?_0x2ef108[_0xe30c9c(0x1f3)]:_0x2ef108;}var Ve={'exports':{}};function on(_0xf71319){var _0x3c2e58=_0x116ce9;throw new Error(_0x3c2e58(0x33a)+_0xf71319+'\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 _0x27b68e=_0x116ce9;return qt||(qt=0x1,function(_0x72c282,_0x444266){(function(_0x1a708a,_0x4d5bbf){var _0x539332=_0x2a22;_0x72c282[_0x539332(0x3a0)]=_0x4d5bbf();}(cn,function(){var _0x596ff0=_0x596ff0||function(_0x20722a,_0x4bc0ae){var _0x97b905=_0x2a22,_0x25fdcb;if(typeof window<'u'&&window['crypto']&&(_0x25fdcb=window['crypto']),typeof self<'u'&&self[_0x97b905(0x2c5)]&&(_0x25fdcb=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x25fdcb=globalThis[_0x97b905(0x2c5)]),!_0x25fdcb&&typeof window<'u'&&window[_0x97b905(0x2d3)]&&(_0x25fdcb=window[_0x97b905(0x2d3)]),!_0x25fdcb&&typeof ft<'u'&&ft[_0x97b905(0x2c5)]&&(_0x25fdcb=ft[_0x97b905(0x2c5)]),!_0x25fdcb&&typeof on==_0x97b905(0x348))try{_0x25fdcb=require('crypto');}catch{}var _0x4dd909=function(){var _0x4202ee=_0x97b905;if(_0x25fdcb){if(typeof _0x25fdcb[_0x4202ee(0x162)]==_0x4202ee(0x348))try{return _0x25fdcb[_0x4202ee(0x162)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25fdcb['randomBytes']==_0x4202ee(0x348))try{return _0x25fdcb[_0x4202ee(0x127)](0x4)[_0x4202ee(0x143)]();}catch{}}throw new Error(_0x4202ee(0x264));},_0x20c963=Object[_0x97b905(0x109)]||(function(){function _0x2e9ff2(){}return function(_0x252848){var _0xdf84b0=_0x2a22,_0x4d9ff0;return _0x2e9ff2['prototype']=_0x252848,_0x4d9ff0=new _0x2e9ff2(),_0x2e9ff2[_0xdf84b0(0x107)]=null,_0x4d9ff0;};}()),_0x1b674a={},_0x14df61=_0x1b674a['lib']={},_0x4ea80e=_0x14df61['Base']=(function(){return{'extend':function(_0x36574a){var _0x213a0d=_0x2a22,_0x43c2d2=_0x20c963(this);return _0x36574a&&_0x43c2d2['mixIn'](_0x36574a),(!_0x43c2d2[_0x213a0d(0x1e7)](_0x213a0d(0x2c4))||this[_0x213a0d(0x2c4)]===_0x43c2d2[_0x213a0d(0x2c4)])&&(_0x43c2d2[_0x213a0d(0x2c4)]=function(){var _0x45c9ba=_0x213a0d;_0x43c2d2['$super'][_0x45c9ba(0x2c4)][_0x45c9ba(0x2d7)](this,arguments);}),_0x43c2d2['init']['prototype']=_0x43c2d2,_0x43c2d2[_0x213a0d(0x14c)]=this,_0x43c2d2;},'create':function(){var _0x397d42=_0x2a22,_0xfbb077=this[_0x397d42(0x14a)]();return _0xfbb077[_0x397d42(0x2c4)][_0x397d42(0x2d7)](_0xfbb077,arguments),_0xfbb077;},'init':function(){},'mixIn':function(_0x447f0a){var _0x4f6081=_0x2a22;for(var _0x37fc0e in _0x447f0a)_0x447f0a['hasOwnProperty'](_0x37fc0e)&&(this[_0x37fc0e]=_0x447f0a[_0x37fc0e]);_0x447f0a[_0x4f6081(0x1e7)](_0x4f6081(0x394))&&(this[_0x4f6081(0x394)]=_0x447f0a['toString']);},'clone':function(){var _0x230000=_0x2a22;return this[_0x230000(0x2c4)]['prototype']['extend'](this);}};}()),_0x2ce9c9=_0x14df61[_0x97b905(0x1a6)]=_0x4ea80e['extend']({'init':function(_0x5650d6,_0x436efa){var _0x1a0fd7=_0x97b905;_0x5650d6=this[_0x1a0fd7(0x23b)]=_0x5650d6||[],_0x436efa!=_0x4bc0ae?this[_0x1a0fd7(0xd9)]=_0x436efa:this['sigBytes']=_0x5650d6['length']*0x4;},'toString':function(_0x50f8f8){return(_0x50f8f8||_0xdf263e)['stringify'](this);},'concat':function(_0x4c1a8d){var _0x34aa6e=_0x97b905,_0x5c8c03=this[_0x34aa6e(0x23b)],_0x20499b=_0x4c1a8d[_0x34aa6e(0x23b)],_0x45dfe8=this[_0x34aa6e(0xd9)],_0x39fc0a=_0x4c1a8d[_0x34aa6e(0xd9)];if(this[_0x34aa6e(0x3a3)](),_0x45dfe8%0x4)for(var _0x4baa64=0x0;_0x4baa64<_0x39fc0a;_0x4baa64++){var _0x369d94=_0x20499b[_0x4baa64>>>0x2]>>>0x18-_0x4baa64%0x4*0x8&0xff;_0x5c8c03[_0x45dfe8+_0x4baa64>>>0x2]|=_0x369d94<<0x18-(_0x45dfe8+_0x4baa64)%0x4*0x8;}else{for(var _0x257059=0x0;_0x257059<_0x39fc0a;_0x257059+=0x4)_0x5c8c03[_0x45dfe8+_0x257059>>>0x2]=_0x20499b[_0x257059>>>0x2];}return this[_0x34aa6e(0xd9)]+=_0x39fc0a,this;},'clamp':function(){var _0x14e45a=_0x97b905,_0x4effd1=this[_0x14e45a(0x23b)],_0xef7111=this['sigBytes'];_0x4effd1[_0xef7111>>>0x2]&=0xffffffff<<0x20-_0xef7111%0x4*0x8,_0x4effd1[_0x14e45a(0x196)]=_0x20722a['ceil'](_0xef7111/0x4);},'clone':function(){var _0x3ad760=_0x97b905,_0x1528c6=_0x4ea80e[_0x3ad760(0x277)]['call'](this);return _0x1528c6[_0x3ad760(0x23b)]=this['words']['slice'](0x0),_0x1528c6;},'random':function(_0x3a0179){var _0x38f9c5=_0x97b905;for(var _0x1de603=[],_0x7d75c5=0x0;_0x7d75c5<_0x3a0179;_0x7d75c5+=0x4)_0x1de603[_0x38f9c5(0x39e)](_0x4dd909());return new _0x2ce9c9['init'](_0x1de603,_0x3a0179);}}),_0x287dbd=_0x1b674a[_0x97b905(0xfa)]={},_0xdf263e=_0x287dbd[_0x97b905(0x2a9)]={'stringify':function(_0x561ac2){var _0x28f425=_0x97b905;for(var _0x152965=_0x561ac2[_0x28f425(0x23b)],_0x51bae3=_0x561ac2[_0x28f425(0xd9)],_0x56a782=[],_0x18e8f3=0x0;_0x18e8f3<_0x51bae3;_0x18e8f3++){var _0x288352=_0x152965[_0x18e8f3>>>0x2]>>>0x18-_0x18e8f3%0x4*0x8&0xff;_0x56a782[_0x28f425(0x39e)]((_0x288352>>>0x4)[_0x28f425(0x394)](0x10)),_0x56a782[_0x28f425(0x39e)]((_0x288352&0xf)['toString'](0x10));}return _0x56a782['join']('');},'parse':function(_0x1a9cc5){var _0x31ab5e=_0x97b905;for(var _0x3dfb43=_0x1a9cc5[_0x31ab5e(0x196)],_0x135036=[],_0x3a48c8=0x0;_0x3a48c8<_0x3dfb43;_0x3a48c8+=0x2)_0x135036[_0x3a48c8>>>0x3]|=parseInt(_0x1a9cc5[_0x31ab5e(0x3b2)](_0x3a48c8,0x2),0x10)<<0x18-_0x3a48c8%0x8*0x4;return new _0x2ce9c9[(_0x31ab5e(0x2c4))](_0x135036,_0x3dfb43/0x2);}},_0x4d3fde=_0x287dbd[_0x97b905(0x24b)]={'stringify':function(_0xdf1c93){var _0x400ff8=_0x97b905;for(var _0x158395=_0xdf1c93[_0x400ff8(0x23b)],_0x240b05=_0xdf1c93[_0x400ff8(0xd9)],_0x39a61e=[],_0x4b02d0=0x0;_0x4b02d0<_0x240b05;_0x4b02d0++){var _0x42a61f=_0x158395[_0x4b02d0>>>0x2]>>>0x18-_0x4b02d0%0x4*0x8&0xff;_0x39a61e[_0x400ff8(0x39e)](String[_0x400ff8(0x3b7)](_0x42a61f));}return _0x39a61e[_0x400ff8(0x141)]('');},'parse':function(_0x5cd417){var _0x2f8b88=_0x97b905;for(var _0x265f9d=_0x5cd417[_0x2f8b88(0x196)],_0x5eb973=[],_0x4178ec=0x0;_0x4178ec<_0x265f9d;_0x4178ec++)_0x5eb973[_0x4178ec>>>0x2]|=(_0x5cd417[_0x2f8b88(0x31d)](_0x4178ec)&0xff)<<0x18-_0x4178ec%0x4*0x8;return new _0x2ce9c9[(_0x2f8b88(0x2c4))](_0x5eb973,_0x265f9d);}},_0x5241d6=_0x287dbd[_0x97b905(0x279)]={'stringify':function(_0x421085){var _0x1b280a=_0x97b905;try{return decodeURIComponent(escape(_0x4d3fde[_0x1b280a(0xf4)](_0x421085)));}catch{throw new Error(_0x1b280a(0x293));}},'parse':function(_0x29c8ab){var _0x1202ea=_0x97b905;return _0x4d3fde[_0x1202ea(0x1c6)](unescape(encodeURIComponent(_0x29c8ab)));}},_0x2e7cf8=_0x14df61[_0x97b905(0x2cc)]=_0x4ea80e[_0x97b905(0x14a)]({'reset':function(){var _0x4ba9ae=_0x97b905;this[_0x4ba9ae(0x184)]=new _0x2ce9c9[(_0x4ba9ae(0x2c4))](),this[_0x4ba9ae(0x275)]=0x0;},'_append':function(_0x2e8595){var _0x5af7bc=_0x97b905;typeof _0x2e8595==_0x5af7bc(0x16c)&&(_0x2e8595=_0x5241d6[_0x5af7bc(0x1c6)](_0x2e8595)),this['_data']['concat'](_0x2e8595),this[_0x5af7bc(0x275)]+=_0x2e8595[_0x5af7bc(0xd9)];},'_process':function(_0x3c790a){var _0x1056dd=_0x97b905,_0x177e8f,_0x257dbc=this[_0x1056dd(0x184)],_0x38af7e=_0x257dbc[_0x1056dd(0x23b)],_0x2f1248=_0x257dbc[_0x1056dd(0xd9)],_0x4a2fa2=this[_0x1056dd(0x270)],_0x4d0dde=_0x4a2fa2*0x4,_0x8c2434=_0x2f1248/_0x4d0dde;_0x3c790a?_0x8c2434=_0x20722a[_0x1056dd(0xc8)](_0x8c2434):_0x8c2434=_0x20722a[_0x1056dd(0x313)]((_0x8c2434|0x0)-this[_0x1056dd(0x18d)],0x0);var _0x1d3116=_0x8c2434*_0x4a2fa2,_0x352023=_0x20722a[_0x1056dd(0x363)](_0x1d3116*0x4,_0x2f1248);if(_0x1d3116){for(var _0x43e665=0x0;_0x43e665<_0x1d3116;_0x43e665+=_0x4a2fa2)this['_doProcessBlock'](_0x38af7e,_0x43e665);_0x177e8f=_0x38af7e[_0x1056dd(0x281)](0x0,_0x1d3116),_0x257dbc[_0x1056dd(0xd9)]-=_0x352023;}return new _0x2ce9c9['init'](_0x177e8f,_0x352023);},'clone':function(){var _0x14dcab=_0x97b905,_0x31da72=_0x4ea80e[_0x14dcab(0x277)][_0x14dcab(0x28b)](this);return _0x31da72[_0x14dcab(0x184)]=this[_0x14dcab(0x184)][_0x14dcab(0x277)](),_0x31da72;},'_minBufferSize':0x0});_0x14df61[_0x97b905(0x306)]=_0x2e7cf8[_0x97b905(0x14a)]({'cfg':_0x4ea80e[_0x97b905(0x14a)](),'init':function(_0x8ab5e0){var _0x663fd8=_0x97b905;this[_0x663fd8(0x2a8)]=this[_0x663fd8(0x2a8)]['extend'](_0x8ab5e0),this['reset']();},'reset':function(){var _0x20d843=_0x97b905;_0x2e7cf8[_0x20d843(0x318)]['call'](this),this[_0x20d843(0x37d)]();},'update':function(_0x39be59){var _0x5c50f6=_0x97b905;return this[_0x5c50f6(0xb2)](_0x39be59),this[_0x5c50f6(0x2c7)](),this;},'finalize':function(_0x120bae){var _0xbc584=_0x97b905;_0x120bae&&this['_append'](_0x120bae);var _0x1ad15e=this[_0xbc584(0x349)]();return _0x1ad15e;},'blockSize':0x10,'_createHelper':function(_0xc412e0){return function(_0x5a0beb,_0x48de64){var _0x518a02=_0x2a22;return new _0xc412e0[(_0x518a02(0x2c4))](_0x48de64)[_0x518a02(0x3a9)](_0x5a0beb);};},'_createHmacHelper':function(_0x372ee3){return function(_0x5d4282,_0x5cd6b8){var _0x364e47=_0x2a22;return new _0x19d1e4[(_0x364e47(0x334))]['init'](_0x372ee3,_0x5cd6b8)[_0x364e47(0x3a9)](_0x5d4282);};}});var _0x19d1e4=_0x1b674a[_0x97b905(0x1a1)]={};return _0x1b674a;}(Math);return _0x596ff0;}));}(We)),We[_0x27b68e(0x3a0)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x463008=_0x116ce9;return zt||(zt=0x1,function(_0x3db8ce,_0x2dce98){(function(_0x507403,_0xf40914){var _0x158348=_0x2a22;_0x3db8ce[_0x158348(0x3a0)]=_0xf40914(te());}(hn,function(_0x4917f8){var _0xb9c0f6=_0x2a22;return(function(){var _0x24fcb6=_0x2a22,_0x40aee5=_0x4917f8,_0x227a95=_0x40aee5[_0x24fcb6(0x153)],_0x4bfa8b=_0x227a95[_0x24fcb6(0x1a6)],_0x4b9063=_0x40aee5[_0x24fcb6(0xfa)];_0x4b9063[_0x24fcb6(0x1d6)]={'stringify':function(_0x543bbb){var _0x765cf3=_0x24fcb6,_0x58eaf0=_0x543bbb[_0x765cf3(0x23b)],_0x265f57=_0x543bbb['sigBytes'],_0x3f558c=this['_map'];_0x543bbb[_0x765cf3(0x3a3)]();for(var _0x32d9de=[],_0x440e24=0x0;_0x440e24<_0x265f57;_0x440e24+=0x3)for(var _0x5b5e31=_0x58eaf0[_0x440e24>>>0x2]>>>0x18-_0x440e24%0x4*0x8&0xff,_0x13b81b=_0x58eaf0[_0x440e24+0x1>>>0x2]>>>0x18-(_0x440e24+0x1)%0x4*0x8&0xff,_0x144301=_0x58eaf0[_0x440e24+0x2>>>0x2]>>>0x18-(_0x440e24+0x2)%0x4*0x8&0xff,_0x9c788f=_0x5b5e31<<0x10|_0x13b81b<<0x8|_0x144301,_0x47d9e7=0x0;_0x47d9e7<0x4&&_0x440e24+_0x47d9e7*0.75<_0x265f57;_0x47d9e7++)_0x32d9de[_0x765cf3(0x39e)](_0x3f558c['charAt'](_0x9c788f>>>0x6*(0x3-_0x47d9e7)&0x3f));var _0x955bb6=_0x3f558c[_0x765cf3(0x1fc)](0x40);if(_0x955bb6){for(;_0x32d9de[_0x765cf3(0x196)]%0x4;)_0x32d9de['push'](_0x955bb6);}return _0x32d9de[_0x765cf3(0x141)]('');},'parse':function(_0x40bde5){var _0x4c430b=_0x24fcb6,_0x3777e1=_0x40bde5[_0x4c430b(0x196)],_0x4f5aa2=this[_0x4c430b(0x15e)],_0x238fd8=this[_0x4c430b(0x198)];if(!_0x238fd8){_0x238fd8=this['_reverseMap']=[];for(var _0x6d91e5=0x0;_0x6d91e5<_0x4f5aa2[_0x4c430b(0x196)];_0x6d91e5++)_0x238fd8[_0x4f5aa2[_0x4c430b(0x31d)](_0x6d91e5)]=_0x6d91e5;}var _0x5bdc7c=_0x4f5aa2['charAt'](0x40);if(_0x5bdc7c){var _0x2826b5=_0x40bde5[_0x4c430b(0x246)](_0x5bdc7c);_0x2826b5!==-0x1&&(_0x3777e1=_0x2826b5);}return _0x36220d(_0x40bde5,_0x3777e1,_0x238fd8);},'_map':_0x24fcb6(0xf5)};function _0x36220d(_0x5211da,_0x40411a,_0x55e29f){var _0x5ee292=_0x24fcb6;for(var _0x251310=[],_0xdac7aa=0x0,_0x5c701e=0x0;_0x5c701e<_0x40411a;_0x5c701e++)if(_0x5c701e%0x4){var _0x18431c=_0x55e29f[_0x5211da[_0x5ee292(0x31d)](_0x5c701e-0x1)]<<_0x5c701e%0x4*0x2,_0x221edf=_0x55e29f[_0x5211da[_0x5ee292(0x31d)](_0x5c701e)]>>>0x6-_0x5c701e%0x4*0x2,_0x16c0b1=_0x18431c|_0x221edf;_0x251310[_0xdac7aa>>>0x2]|=_0x16c0b1<<0x18-_0xdac7aa%0x4*0x8,_0xdac7aa++;}return _0x4bfa8b['create'](_0x251310,_0xdac7aa);}}()),_0x4917f8[_0xb9c0f6(0xfa)][_0xb9c0f6(0x1d6)];}));}(Ge)),Ge[_0x463008(0x3a0)];}var Ye={'exports':{}},_n=Ye[_0x116ce9(0x3a0)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x3ba822,_0x488007){(function(_0xa2eb25,_0x2b362e){var _0x3f789c=_0x2a22;_0x3ba822[_0x3f789c(0x3a0)]=_0x2b362e(te());}(_n,function(_0x20b372){return function(_0x36a496){var _0x2b94a1=_0x2a22,_0x3b23eb=_0x20b372,_0x377c5e=_0x3b23eb[_0x2b94a1(0x153)],_0x52d1a8=_0x377c5e[_0x2b94a1(0x1a6)],_0x22ab5b=_0x377c5e[_0x2b94a1(0x306)],_0x1bc6b5=_0x3b23eb[_0x2b94a1(0x1a1)],_0x6ce1b1=[];(function(){var _0x802df5=_0x2b94a1;for(var _0x188eae=0x0;_0x188eae<0x40;_0x188eae++)_0x6ce1b1[_0x188eae]=_0x36a496[_0x802df5(0x11c)](_0x36a496[_0x802df5(0x1bd)](_0x188eae+0x1))*0x100000000|0x0;}());var _0x11f5cb=_0x1bc6b5[_0x2b94a1(0x252)]=_0x22ab5b[_0x2b94a1(0x14a)]({'_doReset':function(){var _0x34fc63=_0x2b94a1;this[_0x34fc63(0x393)]=new _0x52d1a8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x33f1ce,_0x1bd4cb){var _0x33b38d=_0x2b94a1;for(var _0x1ffaa2=0x0;_0x1ffaa2<0x10;_0x1ffaa2++){var _0x536dff=_0x1bd4cb+_0x1ffaa2,_0x26b4e0=_0x33f1ce[_0x536dff];_0x33f1ce[_0x536dff]=(_0x26b4e0<<0x8|_0x26b4e0>>>0x18)&0xff00ff|(_0x26b4e0<<0x18|_0x26b4e0>>>0x8)&0xff00ff00;}var _0x4ac81b=this[_0x33b38d(0x393)][_0x33b38d(0x23b)],_0x232020=_0x33f1ce[_0x1bd4cb+0x0],_0x3e9400=_0x33f1ce[_0x1bd4cb+0x1],_0x26dcb9=_0x33f1ce[_0x1bd4cb+0x2],_0x322707=_0x33f1ce[_0x1bd4cb+0x3],_0x23ebda=_0x33f1ce[_0x1bd4cb+0x4],_0x1d7913=_0x33f1ce[_0x1bd4cb+0x5],_0x344269=_0x33f1ce[_0x1bd4cb+0x6],_0x10c362=_0x33f1ce[_0x1bd4cb+0x7],_0x279c67=_0x33f1ce[_0x1bd4cb+0x8],_0x230fa1=_0x33f1ce[_0x1bd4cb+0x9],_0x254aef=_0x33f1ce[_0x1bd4cb+0xa],_0x3ecc84=_0x33f1ce[_0x1bd4cb+0xb],_0x5f3f95=_0x33f1ce[_0x1bd4cb+0xc],_0x2f0045=_0x33f1ce[_0x1bd4cb+0xd],_0x18daac=_0x33f1ce[_0x1bd4cb+0xe],_0x20bb10=_0x33f1ce[_0x1bd4cb+0xf],_0x1c35b9=_0x4ac81b[0x0],_0x510e39=_0x4ac81b[0x1],_0x263b4c=_0x4ac81b[0x2],_0x3c2841=_0x4ac81b[0x3];_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x232020,0x7,_0x6ce1b1[0x0]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x3e9400,0xc,_0x6ce1b1[0x1]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x26dcb9,0x11,_0x6ce1b1[0x2]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x322707,0x16,_0x6ce1b1[0x3]),_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x23ebda,0x7,_0x6ce1b1[0x4]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x1d7913,0xc,_0x6ce1b1[0x5]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x344269,0x11,_0x6ce1b1[0x6]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x10c362,0x16,_0x6ce1b1[0x7]),_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x279c67,0x7,_0x6ce1b1[0x8]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x230fa1,0xc,_0x6ce1b1[0x9]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x254aef,0x11,_0x6ce1b1[0xa]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x3ecc84,0x16,_0x6ce1b1[0xb]),_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x5f3f95,0x7,_0x6ce1b1[0xc]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x2f0045,0xc,_0x6ce1b1[0xd]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x18daac,0x11,_0x6ce1b1[0xe]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x20bb10,0x16,_0x6ce1b1[0xf]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x3e9400,0x5,_0x6ce1b1[0x10]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x344269,0x9,_0x6ce1b1[0x11]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x3ecc84,0xe,_0x6ce1b1[0x12]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x232020,0x14,_0x6ce1b1[0x13]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x1d7913,0x5,_0x6ce1b1[0x14]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x254aef,0x9,_0x6ce1b1[0x15]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x20bb10,0xe,_0x6ce1b1[0x16]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x23ebda,0x14,_0x6ce1b1[0x17]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x230fa1,0x5,_0x6ce1b1[0x18]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x18daac,0x9,_0x6ce1b1[0x19]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x322707,0xe,_0x6ce1b1[0x1a]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x279c67,0x14,_0x6ce1b1[0x1b]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x2f0045,0x5,_0x6ce1b1[0x1c]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x26dcb9,0x9,_0x6ce1b1[0x1d]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x10c362,0xe,_0x6ce1b1[0x1e]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x5f3f95,0x14,_0x6ce1b1[0x1f]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x1d7913,0x4,_0x6ce1b1[0x20]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x279c67,0xb,_0x6ce1b1[0x21]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x3ecc84,0x10,_0x6ce1b1[0x22]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x18daac,0x17,_0x6ce1b1[0x23]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x3e9400,0x4,_0x6ce1b1[0x24]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x23ebda,0xb,_0x6ce1b1[0x25]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x10c362,0x10,_0x6ce1b1[0x26]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x254aef,0x17,_0x6ce1b1[0x27]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x2f0045,0x4,_0x6ce1b1[0x28]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x232020,0xb,_0x6ce1b1[0x29]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x322707,0x10,_0x6ce1b1[0x2a]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x344269,0x17,_0x6ce1b1[0x2b]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x230fa1,0x4,_0x6ce1b1[0x2c]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x5f3f95,0xb,_0x6ce1b1[0x2d]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x20bb10,0x10,_0x6ce1b1[0x2e]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x26dcb9,0x17,_0x6ce1b1[0x2f]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x232020,0x6,_0x6ce1b1[0x30]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x10c362,0xa,_0x6ce1b1[0x31]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x18daac,0xf,_0x6ce1b1[0x32]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x1d7913,0x15,_0x6ce1b1[0x33]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x5f3f95,0x6,_0x6ce1b1[0x34]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x322707,0xa,_0x6ce1b1[0x35]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x254aef,0xf,_0x6ce1b1[0x36]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x3e9400,0x15,_0x6ce1b1[0x37]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x279c67,0x6,_0x6ce1b1[0x38]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x20bb10,0xa,_0x6ce1b1[0x39]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x344269,0xf,_0x6ce1b1[0x3a]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x2f0045,0x15,_0x6ce1b1[0x3b]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x23ebda,0x6,_0x6ce1b1[0x3c]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x3ecc84,0xa,_0x6ce1b1[0x3d]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x26dcb9,0xf,_0x6ce1b1[0x3e]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x230fa1,0x15,_0x6ce1b1[0x3f]),_0x4ac81b[0x0]=_0x4ac81b[0x0]+_0x1c35b9|0x0,_0x4ac81b[0x1]=_0x4ac81b[0x1]+_0x510e39|0x0,_0x4ac81b[0x2]=_0x4ac81b[0x2]+_0x263b4c|0x0,_0x4ac81b[0x3]=_0x4ac81b[0x3]+_0x3c2841|0x0;},'_doFinalize':function(){var _0x16c743=_0x2b94a1,_0x11c3eb=this[_0x16c743(0x184)],_0x531336=_0x11c3eb['words'],_0x58c6a6=this['_nDataBytes']*0x8,_0x3db428=_0x11c3eb[_0x16c743(0xd9)]*0x8;_0x531336[_0x3db428>>>0x5]|=0x80<<0x18-_0x3db428%0x20;var _0x24c58e=_0x36a496['floor'](_0x58c6a6/0x100000000),_0x401f3d=_0x58c6a6;_0x531336[(_0x3db428+0x40>>>0x9<<0x4)+0xf]=(_0x24c58e<<0x8|_0x24c58e>>>0x18)&0xff00ff|(_0x24c58e<<0x18|_0x24c58e>>>0x8)&0xff00ff00,_0x531336[(_0x3db428+0x40>>>0x9<<0x4)+0xe]=(_0x401f3d<<0x8|_0x401f3d>>>0x18)&0xff00ff|(_0x401f3d<<0x18|_0x401f3d>>>0x8)&0xff00ff00,_0x11c3eb[_0x16c743(0xd9)]=(_0x531336[_0x16c743(0x196)]+0x1)*0x4,this[_0x16c743(0x2c7)]();for(var _0x3fbdff=this[_0x16c743(0x393)],_0x3c0d1c=_0x3fbdff[_0x16c743(0x23b)],_0x38a3fc=0x0;_0x38a3fc<0x4;_0x38a3fc++){var _0x48f487=_0x3c0d1c[_0x38a3fc];_0x3c0d1c[_0x38a3fc]=(_0x48f487<<0x8|_0x48f487>>>0x18)&0xff00ff|(_0x48f487<<0x18|_0x48f487>>>0x8)&0xff00ff00;}return _0x3fbdff;},'clone':function(){var _0x240885=_0x2b94a1,_0x17090f=_0x22ab5b[_0x240885(0x277)][_0x240885(0x28b)](this);return _0x17090f[_0x240885(0x393)]=this[_0x240885(0x393)][_0x240885(0x277)](),_0x17090f;}});function _0x4dbb10(_0x59566b,_0x2f0c9f,_0x1132ad,_0x35dab5,_0x251a52,_0x5acf0c,_0x3683ec){var _0x30067f=_0x59566b+(_0x2f0c9f&_0x1132ad|~_0x2f0c9f&_0x35dab5)+_0x251a52+_0x3683ec;return(_0x30067f<<_0x5acf0c|_0x30067f>>>0x20-_0x5acf0c)+_0x2f0c9f;}function _0x58cf66(_0x32f89c,_0x1781e9,_0x2322c8,_0x59441a,_0xdb0879,_0x608db4,_0x5ca380){var _0x1d24c3=_0x32f89c+(_0x1781e9&_0x59441a|_0x2322c8&~_0x59441a)+_0xdb0879+_0x5ca380;return(_0x1d24c3<<_0x608db4|_0x1d24c3>>>0x20-_0x608db4)+_0x1781e9;}function _0x4e58f3(_0x50cebe,_0x39fe7f,_0x41f2e4,_0x568bf6,_0x5e6e25,_0x148bd9,_0x2a79bb){var _0x1a2aac=_0x50cebe+(_0x39fe7f^_0x41f2e4^_0x568bf6)+_0x5e6e25+_0x2a79bb;return(_0x1a2aac<<_0x148bd9|_0x1a2aac>>>0x20-_0x148bd9)+_0x39fe7f;}function _0x2a3de2(_0x48ba26,_0x337e1e,_0x350b02,_0xd60c11,_0x325412,_0x471c5a,_0x5e7cfe){var _0x3baadb=_0x48ba26+(_0x350b02^(_0x337e1e|~_0xd60c11))+_0x325412+_0x5e7cfe;return(_0x3baadb<<_0x471c5a|_0x3baadb>>>0x20-_0x471c5a)+_0x337e1e;}_0x3b23eb['MD5']=_0x22ab5b[_0x2b94a1(0x37e)](_0x11f5cb),_0x3b23eb[_0x2b94a1(0x155)]=_0x22ab5b[_0x2b94a1(0x16b)](_0x11f5cb);}(Math),_0x20b372['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x116ce9(0x3a0)],Xt;function dn(){var _0x32bfbe=_0x116ce9;return Xt||(Xt=0x1,function(_0x584e2a,_0x3dec1a){(function(_0x43cfa6,_0x21a3cb){var _0x457cf4=_0x2a22;_0x584e2a[_0x457cf4(0x3a0)]=_0x21a3cb(te());}(un,function(_0x1bad73){var _0x10a917=_0x2a22;return(function(){var _0x4cce1a=_0x2a22,_0x3ec768=_0x1bad73,_0x3e3b04=_0x3ec768[_0x4cce1a(0x153)],_0x3b41a7=_0x3e3b04[_0x4cce1a(0x1a6)],_0x2ba4a2=_0x3e3b04[_0x4cce1a(0x306)],_0x61328=_0x3ec768[_0x4cce1a(0x1a1)],_0x2c9cd6=[],_0x2325ba=_0x61328['SHA1']=_0x2ba4a2['extend']({'_doReset':function(){var _0x597134=_0x4cce1a;this[_0x597134(0x393)]=new _0x3b41a7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e5e8c,_0x1631d9){var _0x4d5f08=_0x4cce1a;for(var _0x2302b8=this[_0x4d5f08(0x393)][_0x4d5f08(0x23b)],_0x1cb90b=_0x2302b8[0x0],_0x5e9251=_0x2302b8[0x1],_0x107e90=_0x2302b8[0x2],_0x174929=_0x2302b8[0x3],_0x1aaf58=_0x2302b8[0x4],_0x26c523=0x0;_0x26c523<0x50;_0x26c523++){if(_0x26c523<0x10)_0x2c9cd6[_0x26c523]=_0x5e5e8c[_0x1631d9+_0x26c523]|0x0;else{var _0x218e20=_0x2c9cd6[_0x26c523-0x3]^_0x2c9cd6[_0x26c523-0x8]^_0x2c9cd6[_0x26c523-0xe]^_0x2c9cd6[_0x26c523-0x10];_0x2c9cd6[_0x26c523]=_0x218e20<<0x1|_0x218e20>>>0x1f;}var _0x381990=(_0x1cb90b<<0x5|_0x1cb90b>>>0x1b)+_0x1aaf58+_0x2c9cd6[_0x26c523];_0x26c523<0x14?_0x381990+=(_0x5e9251&_0x107e90|~_0x5e9251&_0x174929)+0x5a827999:_0x26c523<0x28?_0x381990+=(_0x5e9251^_0x107e90^_0x174929)+0x6ed9eba1:_0x26c523<0x3c?_0x381990+=(_0x5e9251&_0x107e90|_0x5e9251&_0x174929|_0x107e90&_0x174929)-0x70e44324:_0x381990+=(_0x5e9251^_0x107e90^_0x174929)-0x359d3e2a,_0x1aaf58=_0x174929,_0x174929=_0x107e90,_0x107e90=_0x5e9251<<0x1e|_0x5e9251>>>0x2,_0x5e9251=_0x1cb90b,_0x1cb90b=_0x381990;}_0x2302b8[0x0]=_0x2302b8[0x0]+_0x1cb90b|0x0,_0x2302b8[0x1]=_0x2302b8[0x1]+_0x5e9251|0x0,_0x2302b8[0x2]=_0x2302b8[0x2]+_0x107e90|0x0,_0x2302b8[0x3]=_0x2302b8[0x3]+_0x174929|0x0,_0x2302b8[0x4]=_0x2302b8[0x4]+_0x1aaf58|0x0;},'_doFinalize':function(){var _0x4acaf2=_0x4cce1a,_0x1c945c=this[_0x4acaf2(0x184)],_0x487862=_0x1c945c[_0x4acaf2(0x23b)],_0x3e3b9f=this[_0x4acaf2(0x275)]*0x8,_0x360741=_0x1c945c[_0x4acaf2(0xd9)]*0x8;return _0x487862[_0x360741>>>0x5]|=0x80<<0x18-_0x360741%0x20,_0x487862[(_0x360741+0x40>>>0x9<<0x4)+0xe]=Math[_0x4acaf2(0x1e6)](_0x3e3b9f/0x100000000),_0x487862[(_0x360741+0x40>>>0x9<<0x4)+0xf]=_0x3e3b9f,_0x1c945c[_0x4acaf2(0xd9)]=_0x487862['length']*0x4,this[_0x4acaf2(0x2c7)](),this[_0x4acaf2(0x393)];},'clone':function(){var _0x51fa19=_0x4cce1a,_0x4fe729=_0x2ba4a2['clone']['call'](this);return _0x4fe729[_0x51fa19(0x393)]=this['_hash'][_0x51fa19(0x277)](),_0x4fe729;}});_0x3ec768[_0x4cce1a(0x303)]=_0x2ba4a2['_createHelper'](_0x2325ba),_0x3ec768['HmacSHA1']=_0x2ba4a2[_0x4cce1a(0x16b)](_0x2325ba);}()),_0x1bad73[_0x10a917(0x303)];}));}(qe)),qe[_0x32bfbe(0x3a0)];}var ze={'exports':{}},fn=ze[_0x116ce9(0x3a0)],Zt;function vn(){var _0x27d49b=_0x116ce9;return Zt||(Zt=0x1,function(_0x338bf6,_0x42751e){(function(_0x42f437,_0x1b6d27){var _0x1675af=_0x2a22;_0x338bf6[_0x1675af(0x3a0)]=_0x1b6d27(te());}(fn,function(_0xa8f5d5){(function(){var _0x13bea7=_0x2a22,_0x816ec6=_0xa8f5d5,_0xed65dd=_0x816ec6[_0x13bea7(0x153)],_0x4fedfe=_0xed65dd[_0x13bea7(0x125)],_0x285210=_0x816ec6['enc'],_0x364957=_0x285210[_0x13bea7(0x279)],_0x2097a8=_0x816ec6[_0x13bea7(0x1a1)];_0x2097a8[_0x13bea7(0x334)]=_0x4fedfe[_0x13bea7(0x14a)]({'init':function(_0x1ff9e8,_0x44e7da){var _0x5d0814=_0x13bea7;_0x1ff9e8=this['_hasher']=new _0x1ff9e8[(_0x5d0814(0x2c4))](),typeof _0x44e7da==_0x5d0814(0x16c)&&(_0x44e7da=_0x364957[_0x5d0814(0x1c6)](_0x44e7da));var _0x306df6=_0x1ff9e8[_0x5d0814(0x270)],_0x9bf68=_0x306df6*0x4;_0x44e7da['sigBytes']>_0x9bf68&&(_0x44e7da=_0x1ff9e8['finalize'](_0x44e7da)),_0x44e7da[_0x5d0814(0x3a3)]();for(var _0x164997=this[_0x5d0814(0x29f)]=_0x44e7da[_0x5d0814(0x277)](),_0x48c270=this[_0x5d0814(0x26f)]=_0x44e7da[_0x5d0814(0x277)](),_0x39e529=_0x164997['words'],_0x1ab592=_0x48c270[_0x5d0814(0x23b)],_0x10b6a1=0x0;_0x10b6a1<_0x306df6;_0x10b6a1++)_0x39e529[_0x10b6a1]^=0x5c5c5c5c,_0x1ab592[_0x10b6a1]^=0x36363636;_0x164997['sigBytes']=_0x48c270[_0x5d0814(0xd9)]=_0x9bf68,this[_0x5d0814(0x318)]();},'reset':function(){var _0x2e768a=_0x13bea7,_0x5264e6=this['_hasher'];_0x5264e6[_0x2e768a(0x318)](),_0x5264e6['update'](this[_0x2e768a(0x26f)]);},'update':function(_0x5943e5){var _0x487a6c=_0x13bea7;return this[_0x487a6c(0x27e)]['update'](_0x5943e5),this;},'finalize':function(_0xac0ae1){var _0x2fc5da=_0x13bea7,_0x141377=this[_0x2fc5da(0x27e)],_0x283fc2=_0x141377[_0x2fc5da(0x3a9)](_0xac0ae1);_0x141377[_0x2fc5da(0x318)]();var _0x38cf3e=_0x141377['finalize'](this[_0x2fc5da(0x29f)]['clone']()[_0x2fc5da(0x2fb)](_0x283fc2));return _0x38cf3e;}});}());}));}(ze)),ze[_0x27d49b(0x3a0)];}var pn=Ke['exports'],Qt;function Oi(){var _0x18ca57=_0x116ce9;return Qt||(Qt=0x1,function(_0x362bca,_0x2fbaba){(function(_0x36623f,_0x29888f,_0x44e21a){var _0xda427d=_0x2a22;_0x362bca[_0xda427d(0x3a0)]=_0x29888f(te(),dn(),vn());}(pn,function(_0x10b88f){var _0x176db5=_0x2a22;return(function(){var _0x69a970=_0x2a22,_0x1df296=_0x10b88f,_0x31100c=_0x1df296[_0x69a970(0x153)],_0x439c0a=_0x31100c['Base'],_0x393e35=_0x31100c['WordArray'],_0xc450ea=_0x1df296[_0x69a970(0x1a1)],_0x16c6fd=_0xc450ea[_0x69a970(0x252)],_0x2ddac4=_0xc450ea[_0x69a970(0x222)]=_0x439c0a[_0x69a970(0x14a)]({'cfg':_0x439c0a['extend']({'keySize':0x80/0x20,'hasher':_0x16c6fd,'iterations':0x1}),'init':function(_0x490e05){var _0x340f79=_0x69a970;this[_0x340f79(0x2a8)]=this[_0x340f79(0x2a8)][_0x340f79(0x14a)](_0x490e05);},'compute':function(_0x2f3231,_0x5aef29){var _0x32fbe4=_0x69a970;for(var _0x3d0f10,_0x44ce3d=this[_0x32fbe4(0x2a8)],_0x3d04ff=_0x44ce3d[_0x32fbe4(0xc3)][_0x32fbe4(0x109)](),_0x210e0f=_0x393e35[_0x32fbe4(0x109)](),_0xe9201b=_0x210e0f[_0x32fbe4(0x23b)],_0x2a7025=_0x44ce3d[_0x32fbe4(0x114)],_0x4073bf=_0x44ce3d[_0x32fbe4(0x30f)];_0xe9201b[_0x32fbe4(0x196)]<_0x2a7025;){_0x3d0f10&&_0x3d04ff[_0x32fbe4(0x3ab)](_0x3d0f10),_0x3d0f10=_0x3d04ff[_0x32fbe4(0x3ab)](_0x2f3231)['finalize'](_0x5aef29),_0x3d04ff['reset']();for(var _0x39af7d=0x1;_0x39af7d<_0x4073bf;_0x39af7d++)_0x3d0f10=_0x3d04ff['finalize'](_0x3d0f10),_0x3d04ff[_0x32fbe4(0x318)]();_0x210e0f[_0x32fbe4(0x2fb)](_0x3d0f10);}return _0x210e0f[_0x32fbe4(0xd9)]=_0x2a7025*0x4,_0x210e0f;}});_0x1df296['EvpKDF']=function(_0x3b8264,_0x32434c,_0x42a78d){var _0x1bcd65=_0x69a970;return _0x2ddac4[_0x1bcd65(0x109)](_0x42a78d)[_0x1bcd65(0x1b6)](_0x3b8264,_0x32434c);};}()),_0x10b88f[_0x176db5(0x222)];}));}(Ke)),Ke[_0x18ca57(0x3a0)];}var Je={'exports':{}},mn=Je[_0x116ce9(0x3a0)],ei;function bi(){var _0x40a191=_0x116ce9;return ei||(ei=0x1,function(_0x1b93df,_0x1ef79a){(function(_0x55e342,_0x3d3376,_0x2f1876){var _0x29650e=_0x2a22;_0x1b93df[_0x29650e(0x3a0)]=_0x3d3376(te(),Oi());}(mn,function(_0x36c6d6){var _0x1d751e=_0x2a22;_0x36c6d6[_0x1d751e(0x153)][_0x1d751e(0x27c)]||function(_0x21126b){var _0x4905e7=_0x1d751e,_0x454ac2=_0x36c6d6,_0x2dc3d4=_0x454ac2['lib'],_0x447a82=_0x2dc3d4[_0x4905e7(0x125)],_0x44047b=_0x2dc3d4[_0x4905e7(0x1a6)],_0x3d089d=_0x2dc3d4[_0x4905e7(0x2cc)],_0x2ad4e9=_0x454ac2['enc'];_0x2ad4e9['Utf8'];var _0x4119a4=_0x2ad4e9[_0x4905e7(0x1d6)],_0x1cf92f=_0x454ac2['algo'],_0x290319=_0x1cf92f['EvpKDF'],_0x1b69bb=_0x2dc3d4[_0x4905e7(0x27c)]=_0x3d089d[_0x4905e7(0x14a)]({'cfg':_0x447a82['extend'](),'createEncryptor':function(_0x5c82d8,_0x29b564){var _0x864c9c=_0x4905e7;return this[_0x864c9c(0x109)](this[_0x864c9c(0x22a)],_0x5c82d8,_0x29b564);},'createDecryptor':function(_0x910d08,_0x54f237){var _0x48ddcc=_0x4905e7;return this[_0x48ddcc(0x109)](this[_0x48ddcc(0x2ea)],_0x910d08,_0x54f237);},'init':function(_0x2e37f4,_0x5a887b,_0x438865){var _0xee1a0e=_0x4905e7;this[_0xee1a0e(0x2a8)]=this[_0xee1a0e(0x2a8)]['extend'](_0x438865),this[_0xee1a0e(0x161)]=_0x2e37f4,this['_key']=_0x5a887b,this['reset']();},'reset':function(){var _0x555971=_0x4905e7;_0x3d089d[_0x555971(0x318)]['call'](this),this[_0x555971(0x37d)]();},'process':function(_0xb5cf45){var _0x591851=_0x4905e7;return this[_0x591851(0xb2)](_0xb5cf45),this[_0x591851(0x2c7)]();},'finalize':function(_0x3a268f){var _0x2f0239=_0x4905e7;_0x3a268f&&this[_0x2f0239(0xb2)](_0x3a268f);var _0x4102dc=this['_doFinalize']();return _0x4102dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4c7d1c(_0x2cc628){var _0x36e6a2=_0x2a22;return typeof _0x2cc628==_0x36e6a2(0x16c)?_0x3c7bc9:_0x466db7;}return function(_0x217594){return{'encrypt':function(_0x27fa1a,_0x15a3d1,_0x3a031e){var _0x25b7a3=_0x2a22;return _0x4c7d1c(_0x15a3d1)[_0x25b7a3(0x263)](_0x217594,_0x27fa1a,_0x15a3d1,_0x3a031e);},'decrypt':function(_0x3fd079,_0x283dba,_0x4f5e06){var _0x5e6886=_0x2a22;return _0x4c7d1c(_0x283dba)[_0x5e6886(0x33f)](_0x217594,_0x3fd079,_0x283dba,_0x4f5e06);}};};}())});_0x2dc3d4[_0x4905e7(0x15c)]=_0x1b69bb[_0x4905e7(0x14a)]({'_doFinalize':function(){var _0xae988b=_0x4905e7,_0x3eea08=this[_0xae988b(0x2c7)](!0x0);return _0x3eea08;},'blockSize':0x1});var _0x42cecd=_0x454ac2[_0x4905e7(0x311)]={},_0x136a76=_0x2dc3d4[_0x4905e7(0x3bd)]=_0x447a82['extend']({'createEncryptor':function(_0x5df88c,_0x5217b4){var _0x216323=_0x4905e7;return this[_0x216323(0x20c)][_0x216323(0x109)](_0x5df88c,_0x5217b4);},'createDecryptor':function(_0x81090c,_0x4f54fd){var _0x3fa604=_0x4905e7;return this['Decryptor'][_0x3fa604(0x109)](_0x81090c,_0x4f54fd);},'init':function(_0x442fe2,_0x4ffebf){var _0x3b1d00=_0x4905e7;this[_0x3b1d00(0x1b3)]=_0x442fe2,this[_0x3b1d00(0x11b)]=_0x4ffebf;}}),_0x9b6d46=_0x42cecd[_0x4905e7(0xd8)]=(function(){var _0x5bd8fc=_0x4905e7,_0x4d3235=_0x136a76[_0x5bd8fc(0x14a)]();_0x4d3235[_0x5bd8fc(0x20c)]=_0x4d3235['extend']({'processBlock':function(_0x382dda,_0xa9f502){var _0x981f1e=_0x5bd8fc,_0x47e123=this[_0x981f1e(0x1b3)],_0x3189ec=_0x47e123[_0x981f1e(0x270)];_0x39c9c3[_0x981f1e(0x28b)](this,_0x382dda,_0xa9f502,_0x3189ec),_0x47e123[_0x981f1e(0x1e5)](_0x382dda,_0xa9f502),this[_0x981f1e(0x2a0)]=_0x382dda['slice'](_0xa9f502,_0xa9f502+_0x3189ec);}}),_0x4d3235[_0x5bd8fc(0x357)]=_0x4d3235[_0x5bd8fc(0x14a)]({'processBlock':function(_0xb4bb00,_0x23641e){var _0x3ed547=_0x5bd8fc,_0x3cebd1=this['_cipher'],_0x23a44e=_0x3cebd1[_0x3ed547(0x270)],_0x1c5653=_0xb4bb00[_0x3ed547(0x39a)](_0x23641e,_0x23641e+_0x23a44e);_0x3cebd1[_0x3ed547(0x21a)](_0xb4bb00,_0x23641e),_0x39c9c3[_0x3ed547(0x28b)](this,_0xb4bb00,_0x23641e,_0x23a44e),this[_0x3ed547(0x2a0)]=_0x1c5653;}});function _0x39c9c3(_0x1561ac,_0x1d933d,_0x4e8d80){var _0x52bcc1=_0x5bd8fc,_0x4360ea,_0xb75fa1=this[_0x52bcc1(0x11b)];_0xb75fa1?(_0x4360ea=_0xb75fa1,this['_iv']=_0x21126b):_0x4360ea=this[_0x52bcc1(0x2a0)];for(var _0x2ed32c=0x0;_0x2ed32c<_0x4e8d80;_0x2ed32c++)_0x1561ac[_0x1d933d+_0x2ed32c]^=_0x4360ea[_0x2ed32c];}return _0x4d3235;}()),_0x1fc2ac=_0x454ac2['pad']={},_0xe82569=_0x1fc2ac[_0x4905e7(0x186)]={'pad':function(_0x4141b5,_0x3e2748){var _0x50372e=_0x4905e7;for(var _0xf6120f=_0x3e2748*0x4,_0x3d3723=_0xf6120f-_0x4141b5[_0x50372e(0xd9)]%_0xf6120f,_0x3ff36c=_0x3d3723<<0x18|_0x3d3723<<0x10|_0x3d3723<<0x8|_0x3d3723,_0x26cd41=[],_0x5a2052=0x0;_0x5a2052<_0x3d3723;_0x5a2052+=0x4)_0x26cd41['push'](_0x3ff36c);var _0x1ba885=_0x44047b['create'](_0x26cd41,_0x3d3723);_0x4141b5['concat'](_0x1ba885);},'unpad':function(_0x299ba6){var _0x2f2856=_0x4905e7,_0x25b7bd=_0x299ba6[_0x2f2856(0x23b)][_0x299ba6[_0x2f2856(0xd9)]-0x1>>>0x2]&0xff;_0x299ba6[_0x2f2856(0xd9)]-=_0x25b7bd;}};_0x2dc3d4[_0x4905e7(0x356)]=_0x1b69bb['extend']({'cfg':_0x1b69bb['cfg']['extend']({'mode':_0x9b6d46,'padding':_0xe82569}),'reset':function(){var _0x1538bf=_0x4905e7,_0x5519b2;_0x1b69bb[_0x1538bf(0x318)][_0x1538bf(0x28b)](this);var _0x3cdfaf=this['cfg'],_0x2fd75e=_0x3cdfaf['iv'],_0x5bd80a=_0x3cdfaf[_0x1538bf(0x311)];this[_0x1538bf(0x161)]==this['_ENC_XFORM_MODE']?_0x5519b2=_0x5bd80a[_0x1538bf(0x158)]:(_0x5519b2=_0x5bd80a[_0x1538bf(0x2e5)],this[_0x1538bf(0x18d)]=0x1),this['_mode']&&this[_0x1538bf(0x10c)][_0x1538bf(0x215)]==_0x5519b2?this[_0x1538bf(0x10c)][_0x1538bf(0x2c4)](this,_0x2fd75e&&_0x2fd75e[_0x1538bf(0x23b)]):(this[_0x1538bf(0x10c)]=_0x5519b2[_0x1538bf(0x28b)](_0x5bd80a,this,_0x2fd75e&&_0x2fd75e[_0x1538bf(0x23b)]),this[_0x1538bf(0x10c)]['__creator']=_0x5519b2);},'_doProcessBlock':function(_0x53f9cb,_0x4b66a5){var _0x9b9684=_0x4905e7;this[_0x9b9684(0x10c)][_0x9b9684(0x1fe)](_0x53f9cb,_0x4b66a5);},'_doFinalize':function(){var _0x53e202=_0x4905e7,_0x3481eb,_0x5b92af=this[_0x53e202(0x2a8)][_0x53e202(0x111)];return this[_0x53e202(0x161)]==this[_0x53e202(0x22a)]?(_0x5b92af[_0x53e202(0x272)](this[_0x53e202(0x184)],this[_0x53e202(0x270)]),_0x3481eb=this[_0x53e202(0x2c7)](!0x0)):(_0x3481eb=this[_0x53e202(0x2c7)](!0x0),_0x5b92af[_0x53e202(0x3a2)](_0x3481eb)),_0x3481eb;},'blockSize':0x80/0x20});var _0x3210c3=_0x2dc3d4[_0x4905e7(0x176)]=_0x447a82[_0x4905e7(0x14a)]({'init':function(_0x1a9908){this['mixIn'](_0x1a9908);},'toString':function(_0x3ed262){var _0x36ecbd=_0x4905e7;return(_0x3ed262||this['formatter'])[_0x36ecbd(0xf4)](this);}}),_0x2acf6b=_0x454ac2[_0x4905e7(0x163)]={},_0x1080fc=_0x2acf6b[_0x4905e7(0x34e)]={'stringify':function(_0x57e60d){var _0x271b74=_0x4905e7,_0x3663e2,_0x5977dc=_0x57e60d[_0x271b74(0x20f)],_0x339975=_0x57e60d[_0x271b74(0x1ab)];return _0x339975?_0x3663e2=_0x44047b[_0x271b74(0x109)]([0x53616c74,0x65645f5f])[_0x271b74(0x2fb)](_0x339975)['concat'](_0x5977dc):_0x3663e2=_0x5977dc,_0x3663e2[_0x271b74(0x394)](_0x4119a4);},'parse':function(_0x446f4d){var _0x37bf8c=_0x4905e7,_0x55f528,_0x5263cd=_0x4119a4[_0x37bf8c(0x1c6)](_0x446f4d),_0x89f597=_0x5263cd['words'];return _0x89f597[0x0]==0x53616c74&&_0x89f597[0x1]==0x65645f5f&&(_0x55f528=_0x44047b[_0x37bf8c(0x109)](_0x89f597['slice'](0x2,0x4)),_0x89f597[_0x37bf8c(0x281)](0x0,0x4),_0x5263cd[_0x37bf8c(0xd9)]-=0x10),_0x3210c3[_0x37bf8c(0x109)]({'ciphertext':_0x5263cd,'salt':_0x55f528});}},_0x466db7=_0x2dc3d4[_0x4905e7(0x1a9)]=_0x447a82[_0x4905e7(0x14a)]({'cfg':_0x447a82[_0x4905e7(0x14a)]({'format':_0x1080fc}),'encrypt':function(_0x4fb008,_0x5f2334,_0x47c1e5,_0x42da1a){var _0x26d2e6=_0x4905e7;_0x42da1a=this[_0x26d2e6(0x2a8)]['extend'](_0x42da1a);var _0x5d7d48=_0x4fb008[_0x26d2e6(0x158)](_0x47c1e5,_0x42da1a),_0x34852c=_0x5d7d48['finalize'](_0x5f2334),_0x442581=_0x5d7d48['cfg'];return _0x3210c3[_0x26d2e6(0x109)]({'ciphertext':_0x34852c,'key':_0x47c1e5,'iv':_0x442581['iv'],'algorithm':_0x4fb008,'mode':_0x442581[_0x26d2e6(0x311)],'padding':_0x442581[_0x26d2e6(0x111)],'blockSize':_0x4fb008[_0x26d2e6(0x270)],'formatter':_0x42da1a[_0x26d2e6(0x163)]});},'decrypt':function(_0x4cb672,_0x177159,_0x9806a3,_0xe13f5){var _0x50b317=_0x4905e7;_0xe13f5=this[_0x50b317(0x2a8)]['extend'](_0xe13f5),_0x177159=this['_parse'](_0x177159,_0xe13f5[_0x50b317(0x163)]);var _0x4b571c=_0x4cb672[_0x50b317(0x2e5)](_0x9806a3,_0xe13f5)[_0x50b317(0x3a9)](_0x177159[_0x50b317(0x20f)]);return _0x4b571c;},'_parse':function(_0x4a03e6,_0x3e885a){var _0x2fadef=_0x4905e7;return typeof _0x4a03e6=='string'?_0x3e885a[_0x2fadef(0x1c6)](_0x4a03e6,this):_0x4a03e6;}}),_0x150b71=_0x454ac2[_0x4905e7(0x17e)]={},_0xecd6ea=_0x150b71[_0x4905e7(0x34e)]={'execute':function(_0x518356,_0x6cadca,_0x3f6f47,_0x137b86,_0x3f7dfe){var _0x32ddc5=_0x4905e7;if(_0x137b86||(_0x137b86=_0x44047b[_0x32ddc5(0x398)](0x40/0x8)),_0x3f7dfe)var _0x53f5db=_0x290319[_0x32ddc5(0x109)]({'keySize':_0x6cadca+_0x3f6f47,'hasher':_0x3f7dfe})[_0x32ddc5(0x1b6)](_0x518356,_0x137b86);else var _0x53f5db=_0x290319['create']({'keySize':_0x6cadca+_0x3f6f47})[_0x32ddc5(0x1b6)](_0x518356,_0x137b86);var _0x418ee5=_0x44047b[_0x32ddc5(0x109)](_0x53f5db['words'][_0x32ddc5(0x39a)](_0x6cadca),_0x3f6f47*0x4);return _0x53f5db[_0x32ddc5(0xd9)]=_0x6cadca*0x4,_0x3210c3[_0x32ddc5(0x109)]({'key':_0x53f5db,'iv':_0x418ee5,'salt':_0x137b86});}},_0x3c7bc9=_0x2dc3d4[_0x4905e7(0x168)]=_0x466db7[_0x4905e7(0x14a)]({'cfg':_0x466db7[_0x4905e7(0x2a8)][_0x4905e7(0x14a)]({'kdf':_0xecd6ea}),'encrypt':function(_0x31db3d,_0x50bf68,_0x37d938,_0x23b501){var _0x3ebc28=_0x4905e7;_0x23b501=this[_0x3ebc28(0x2a8)][_0x3ebc28(0x14a)](_0x23b501);var _0x3c7680=_0x23b501[_0x3ebc28(0x17e)][_0x3ebc28(0x150)](_0x37d938,_0x31db3d[_0x3ebc28(0x114)],_0x31db3d[_0x3ebc28(0x22e)],_0x23b501[_0x3ebc28(0x1ab)],_0x23b501[_0x3ebc28(0xc3)]);_0x23b501['iv']=_0x3c7680['iv'];var _0x40580e=_0x466db7[_0x3ebc28(0x263)][_0x3ebc28(0x28b)](this,_0x31db3d,_0x50bf68,_0x3c7680[_0x3ebc28(0x188)],_0x23b501);return _0x40580e[_0x3ebc28(0x28a)](_0x3c7680),_0x40580e;},'decrypt':function(_0x5918ea,_0x17e14a,_0x54a1f8,_0x5e2afa){var _0x3f1427=_0x4905e7;_0x5e2afa=this['cfg'][_0x3f1427(0x14a)](_0x5e2afa),_0x17e14a=this[_0x3f1427(0x2b1)](_0x17e14a,_0x5e2afa[_0x3f1427(0x163)]);var _0x294de6=_0x5e2afa[_0x3f1427(0x17e)][_0x3f1427(0x150)](_0x54a1f8,_0x5918ea[_0x3f1427(0x114)],_0x5918ea['ivSize'],_0x17e14a[_0x3f1427(0x1ab)],_0x5e2afa['hasher']);_0x5e2afa['iv']=_0x294de6['iv'];var _0x18d2fc=_0x466db7[_0x3f1427(0x33f)]['call'](this,_0x5918ea,_0x17e14a,_0x294de6[_0x3f1427(0x188)],_0x5e2afa);return _0x18d2fc;}});}();}));}(Je)),Je[_0x40a191(0x3a0)];}var gn=Ve[_0x116ce9(0x3a0)],ti;function Sn(){return ti||(ti=0x1,function(_0x2421fc,_0x4b19e6){(function(_0x527f1f,_0x5b947b,_0x4bbb04){var _0x37356a=_0x2a22;_0x2421fc[_0x37356a(0x3a0)]=_0x5b947b(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x53b706){var _0x3f09f0=_0x2a22;return(function(){var _0x3ac2ae=_0x2a22,_0x56630e=_0x53b706,_0x485ffa=_0x56630e[_0x3ac2ae(0x153)],_0x133d3f=_0x485ffa[_0x3ac2ae(0x356)],_0x14670e=_0x56630e[_0x3ac2ae(0x1a1)],_0x427422=[],_0x4b7dff=[],_0x3d8ee9=[],_0x107a4c=[],_0x16ec05=[],_0x4261a0=[],_0x45cffc=[],_0x48f6ac=[],_0x49d97f=[],_0x1d3036=[];(function(){for(var _0x100c19=[],_0x453e51=0x0;_0x453e51<0x100;_0x453e51++)_0x453e51<0x80?_0x100c19[_0x453e51]=_0x453e51<<0x1:_0x100c19[_0x453e51]=_0x453e51<<0x1^0x11b;for(var _0x4f62b4=0x0,_0x234c97=0x0,_0x453e51=0x0;_0x453e51<0x100;_0x453e51++){var _0x477a6b=_0x234c97^_0x234c97<<0x1^_0x234c97<<0x2^_0x234c97<<0x3^_0x234c97<<0x4;_0x477a6b=_0x477a6b>>>0x8^_0x477a6b&0xff^0x63,_0x427422[_0x4f62b4]=_0x477a6b,_0x4b7dff[_0x477a6b]=_0x4f62b4;var _0x21d785=_0x100c19[_0x4f62b4],_0x39c71a=_0x100c19[_0x21d785],_0x2d532a=_0x100c19[_0x39c71a],_0x49267f=_0x100c19[_0x477a6b]*0x101^_0x477a6b*0x1010100;_0x3d8ee9[_0x4f62b4]=_0x49267f<<0x18|_0x49267f>>>0x8,_0x107a4c[_0x4f62b4]=_0x49267f<<0x10|_0x49267f>>>0x10,_0x16ec05[_0x4f62b4]=_0x49267f<<0x8|_0x49267f>>>0x18,_0x4261a0[_0x4f62b4]=_0x49267f;var _0x49267f=_0x2d532a*0x1010101^_0x39c71a*0x10001^_0x21d785*0x101^_0x4f62b4*0x1010100;_0x45cffc[_0x477a6b]=_0x49267f<<0x18|_0x49267f>>>0x8,_0x48f6ac[_0x477a6b]=_0x49267f<<0x10|_0x49267f>>>0x10,_0x49d97f[_0x477a6b]=_0x49267f<<0x8|_0x49267f>>>0x18,_0x1d3036[_0x477a6b]=_0x49267f,_0x4f62b4?(_0x4f62b4=_0x21d785^_0x100c19[_0x100c19[_0x100c19[_0x2d532a^_0x21d785]]],_0x234c97^=_0x100c19[_0x100c19[_0x234c97]]):_0x4f62b4=_0x234c97=0x1;}}());var _0x14c32f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x19b3a5=_0x14670e['AES']=_0x133d3f[_0x3ac2ae(0x14a)]({'_doReset':function(){var _0x1680a6=_0x3ac2ae,_0x84e8b1;if(!(this[_0x1680a6(0x359)]&&this[_0x1680a6(0x3c3)]===this[_0x1680a6(0xc0)])){for(var _0x23145b=this[_0x1680a6(0x3c3)]=this[_0x1680a6(0xc0)],_0x4db5ca=_0x23145b[_0x1680a6(0x23b)],_0x26b4d2=_0x23145b[_0x1680a6(0xd9)]/0x4,_0x10dace=this[_0x1680a6(0x359)]=_0x26b4d2+0x6,_0x45cb9e=(_0x10dace+0x1)*0x4,_0x131b61=this[_0x1680a6(0x2e2)]=[],_0x3baf1f=0x0;_0x3baf1f<_0x45cb9e;_0x3baf1f++)_0x3baf1f<_0x26b4d2?_0x131b61[_0x3baf1f]=_0x4db5ca[_0x3baf1f]:(_0x84e8b1=_0x131b61[_0x3baf1f-0x1],_0x3baf1f%_0x26b4d2?_0x26b4d2>0x6&&_0x3baf1f%_0x26b4d2==0x4&&(_0x84e8b1=_0x427422[_0x84e8b1>>>0x18]<<0x18|_0x427422[_0x84e8b1>>>0x10&0xff]<<0x10|_0x427422[_0x84e8b1>>>0x8&0xff]<<0x8|_0x427422[_0x84e8b1&0xff]):(_0x84e8b1=_0x84e8b1<<0x8|_0x84e8b1>>>0x18,_0x84e8b1=_0x427422[_0x84e8b1>>>0x18]<<0x18|_0x427422[_0x84e8b1>>>0x10&0xff]<<0x10|_0x427422[_0x84e8b1>>>0x8&0xff]<<0x8|_0x427422[_0x84e8b1&0xff],_0x84e8b1^=_0x14c32f[_0x3baf1f/_0x26b4d2|0x0]<<0x18),_0x131b61[_0x3baf1f]=_0x131b61[_0x3baf1f-_0x26b4d2]^_0x84e8b1);for(var _0x5beb63=this[_0x1680a6(0x209)]=[],_0x394eeb=0x0;_0x394eeb<_0x45cb9e;_0x394eeb++){var _0x3baf1f=_0x45cb9e-_0x394eeb;if(_0x394eeb%0x4)var _0x84e8b1=_0x131b61[_0x3baf1f];else var _0x84e8b1=_0x131b61[_0x3baf1f-0x4];_0x394eeb<0x4||_0x3baf1f<=0x4?_0x5beb63[_0x394eeb]=_0x84e8b1:_0x5beb63[_0x394eeb]=_0x45cffc[_0x427422[_0x84e8b1>>>0x18]]^_0x48f6ac[_0x427422[_0x84e8b1>>>0x10&0xff]]^_0x49d97f[_0x427422[_0x84e8b1>>>0x8&0xff]]^_0x1d3036[_0x427422[_0x84e8b1&0xff]];}}},'encryptBlock':function(_0x598c56,_0x4e8fde){var _0x382243=_0x3ac2ae;this[_0x382243(0x1d5)](_0x598c56,_0x4e8fde,this[_0x382243(0x2e2)],_0x3d8ee9,_0x107a4c,_0x16ec05,_0x4261a0,_0x427422);},'decryptBlock':function(_0x40a8ec,_0x479c51){var _0x4ebf51=_0x40a8ec[_0x479c51+0x1];_0x40a8ec[_0x479c51+0x1]=_0x40a8ec[_0x479c51+0x3],_0x40a8ec[_0x479c51+0x3]=_0x4ebf51,this['_doCryptBlock'](_0x40a8ec,_0x479c51,this['_invKeySchedule'],_0x45cffc,_0x48f6ac,_0x49d97f,_0x1d3036,_0x4b7dff);var _0x4ebf51=_0x40a8ec[_0x479c51+0x1];_0x40a8ec[_0x479c51+0x1]=_0x40a8ec[_0x479c51+0x3],_0x40a8ec[_0x479c51+0x3]=_0x4ebf51;},'_doCryptBlock':function(_0x7d88ba,_0xa93386,_0x2dfba9,_0x5804c1,_0x7d8de2,_0x3b2285,_0x45301c,_0x14a540){var _0xe9aaaf=_0x3ac2ae;for(var _0x2f26d9=this[_0xe9aaaf(0x359)],_0x150512=_0x7d88ba[_0xa93386]^_0x2dfba9[0x0],_0x182c4a=_0x7d88ba[_0xa93386+0x1]^_0x2dfba9[0x1],_0x2334fd=_0x7d88ba[_0xa93386+0x2]^_0x2dfba9[0x2],_0x3fa055=_0x7d88ba[_0xa93386+0x3]^_0x2dfba9[0x3],_0x249504=0x4,_0x4f3a3f=0x1;_0x4f3a3f<_0x2f26d9;_0x4f3a3f++){var _0x51b1b9=_0x5804c1[_0x150512>>>0x18]^_0x7d8de2[_0x182c4a>>>0x10&0xff]^_0x3b2285[_0x2334fd>>>0x8&0xff]^_0x45301c[_0x3fa055&0xff]^_0x2dfba9[_0x249504++],_0x1981cc=_0x5804c1[_0x182c4a>>>0x18]^_0x7d8de2[_0x2334fd>>>0x10&0xff]^_0x3b2285[_0x3fa055>>>0x8&0xff]^_0x45301c[_0x150512&0xff]^_0x2dfba9[_0x249504++],_0x397eae=_0x5804c1[_0x2334fd>>>0x18]^_0x7d8de2[_0x3fa055>>>0x10&0xff]^_0x3b2285[_0x150512>>>0x8&0xff]^_0x45301c[_0x182c4a&0xff]^_0x2dfba9[_0x249504++],_0x1e3958=_0x5804c1[_0x3fa055>>>0x18]^_0x7d8de2[_0x150512>>>0x10&0xff]^_0x3b2285[_0x182c4a>>>0x8&0xff]^_0x45301c[_0x2334fd&0xff]^_0x2dfba9[_0x249504++];_0x150512=_0x51b1b9,_0x182c4a=_0x1981cc,_0x2334fd=_0x397eae,_0x3fa055=_0x1e3958;}var _0x51b1b9=(_0x14a540[_0x150512>>>0x18]<<0x18|_0x14a540[_0x182c4a>>>0x10&0xff]<<0x10|_0x14a540[_0x2334fd>>>0x8&0xff]<<0x8|_0x14a540[_0x3fa055&0xff])^_0x2dfba9[_0x249504++],_0x1981cc=(_0x14a540[_0x182c4a>>>0x18]<<0x18|_0x14a540[_0x2334fd>>>0x10&0xff]<<0x10|_0x14a540[_0x3fa055>>>0x8&0xff]<<0x8|_0x14a540[_0x150512&0xff])^_0x2dfba9[_0x249504++],_0x397eae=(_0x14a540[_0x2334fd>>>0x18]<<0x18|_0x14a540[_0x3fa055>>>0x10&0xff]<<0x10|_0x14a540[_0x150512>>>0x8&0xff]<<0x8|_0x14a540[_0x182c4a&0xff])^_0x2dfba9[_0x249504++],_0x1e3958=(_0x14a540[_0x3fa055>>>0x18]<<0x18|_0x14a540[_0x150512>>>0x10&0xff]<<0x10|_0x14a540[_0x182c4a>>>0x8&0xff]<<0x8|_0x14a540[_0x2334fd&0xff])^_0x2dfba9[_0x249504++];_0x7d88ba[_0xa93386]=_0x51b1b9,_0x7d88ba[_0xa93386+0x1]=_0x1981cc,_0x7d88ba[_0xa93386+0x2]=_0x397eae,_0x7d88ba[_0xa93386+0x3]=_0x1e3958;},'keySize':0x100/0x20});_0x56630e[_0x3ac2ae(0x11f)]=_0x133d3f['_createHelper'](_0x19b3a5);}()),_0x53b706[_0x3f09f0(0x11f)];}));}(Ve)),Ve['exports'];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){return si||(si=0x1,function(_0x5429e2,_0x1089e0){(function(_0x4e2f3b,_0x375bf2){var _0x36d363=_0x2a22;_0x5429e2[_0x36d363(0x3a0)]=_0x375bf2(te());}(Cn,function(_0x310d6f){var _0x2abf96=_0x2a22;return _0x310d6f[_0x2abf96(0xfa)]['Utf8'];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x116ce9(0x3a0)],ni;function Nn(){var _0x2a8cc8=_0x116ce9;return ni||(ni=0x1,function(_0x3e7e2b,_0x2a065e){(function(_0x25290a,_0x4cf4eb){var _0x3997fb=_0x2a22;_0x3e7e2b[_0x3997fb(0x3a0)]=_0x4cf4eb(te());}(yn,function(_0x52963a){var _0x3d8219=_0x2a22;return(function(){var _0x3e31f6=_0x2a22;if(typeof ArrayBuffer==_0x3e31f6(0x348)){var _0x41cabf=_0x52963a,_0x43aed4=_0x41cabf[_0x3e31f6(0x153)],_0x3ec4f3=_0x43aed4[_0x3e31f6(0x1a6)],_0x482be2=_0x3ec4f3[_0x3e31f6(0x2c4)],_0x98eb51=_0x3ec4f3[_0x3e31f6(0x2c4)]=function(_0x369f56){var _0xa4d80f=_0x3e31f6;if(_0x369f56 instanceof ArrayBuffer&&(_0x369f56=new Uint8Array(_0x369f56)),(_0x369f56 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x369f56 instanceof Uint8ClampedArray||_0x369f56 instanceof Int16Array||_0x369f56 instanceof Uint16Array||_0x369f56 instanceof Int32Array||_0x369f56 instanceof Uint32Array||_0x369f56 instanceof Float32Array||_0x369f56 instanceof Float64Array)&&(_0x369f56=new Uint8Array(_0x369f56['buffer'],_0x369f56['byteOffset'],_0x369f56[_0xa4d80f(0xf1)])),_0x369f56 instanceof Uint8Array){for(var _0x3736e4=_0x369f56[_0xa4d80f(0xf1)],_0x133d08=[],_0x177a96=0x0;_0x177a96<_0x3736e4;_0x177a96++)_0x133d08[_0x177a96>>>0x2]|=_0x369f56[_0x177a96]<<0x18-_0x177a96%0x4*0x8;_0x482be2[_0xa4d80f(0x28b)](this,_0x133d08,_0x3736e4);}else _0x482be2['apply'](this,arguments);};_0x98eb51['prototype']=_0x3ec4f3;}}()),_0x52963a['lib'][_0x3d8219(0x1a6)];}));}(Ze)),Ze[_0x2a8cc8(0x3a0)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x116ce9(0x3a0)],ri;function wn(){return ri||(ri=0x1,function(_0x3ee0ee,_0x2fd625){(function(_0x35e3ea,_0x1997bb,_0x4f162c){var _0x7f065=_0x2a22;_0x3ee0ee[_0x7f065(0x3a0)]=_0x1997bb(te(),bi());}(An,function(_0x5f5b95){var _0x25a378=_0x2a22;return _0x5f5b95['pad'][_0x25a378(0x1d3)]={'pad':function(){},'unpad':function(){}},_0x5f5b95['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function _0x2a22(_0x5d3cb9,_0x444ef3){var _0x1e8678=_0x1e86();return _0x2a22=function(_0x2a22a7,_0x12846d){_0x2a22a7=_0x2a22a7-0xaf;var _0x3e69ce=_0x1e8678[_0x2a22a7];return _0x3e69ce;},_0x2a22(_0x5d3cb9,_0x444ef3);}function _0x1e86(){var _0x5dab45=['subscribe','UUID','getImage','closeSession','appendMutation','find','_decreaseWaiting','state','getRoom','concat','[SyncedState]:\x20received\x20rejection.','_replayCachedMutations','7731xixyka','routeKey','onRemoteChangeset','_onConflict','compose','SHA1','_transformService','actions','Hasher','objectID','_createSocket','title','commentUpdate$','startTime','_init','LICENSE_MAX_UNITS_EXCEEDED','unitInfo$','iterations','_type','mode','filter','max','WECHAT_HAS_BEEN_BOUND','?url=','INGEST','LOGIN_FAILED','reset','_timeoutTimer','_onConnectionFailed','getSnapshotAPIPath','APPLY_DUPLICATED','charCodeAt','unknown','changesets','event$','onRemoteAck','has','_config','FETCH_MISSING','_sessionStatus$','post','_undoRedoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','MOBILE_HAS_BEEN_BOUND','newCsEvent','send','entityInit$','LIVESHARE_TERMINATE','_onJoinRoomEvent','loadSheet','resolve','SOCKET_FAILED_RETRY','session.room-full','CHANGESET_ACK','HMAC','getUnitStatus$','UNIVER_UNKNOWN','close$','now','_doCreateSocket','Could\x20not\x20dynamically\x20require\x20\x22','UNIVER_SHEET','_status$','/resources','onCommandExecuted','decrypt','_retryCount','_scheduleCompleteTimestamp','loadUnit','src','onLocalMutation','/unit/','fromCollab','debug','function','_doFinalize','PERMISSION_DENIED','error$','_submitChangeset','_getAPIPrefixPath','OpenSSL','duration','[OfflineState]:\x20received\x20rejection.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_showConflictNotification','_onUserLeave','loadOfflineData','\x20in\x20_schedule.','BlockCipher','Decryptor','result','_nRounds','c2Prime','joinRsp','POST','_transformIMECache','href','ONLINE','_eventService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','x-univer-host','min','every','_changesetSessionId','SNAPSHOT_INVALID_SNAPSHOT','getTypeOfUnitAdded$','HEARTBEAT_TIMEOUT','CHANGESET_REVISION_CONFILICT','460658NTpTaZ','EMAIL_HAS_BEEN_BOUND','_commandService','submit\x20changeset\x20error!','_acknowledgedAwaitingChangeset','_userManagerService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','next','_telemetryInfo','[FetchMissState]','_commentUpdate$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','updatePermissionObjEvent','_transformSelections','1jrueRY','pending','univer-pro.collaboration-client.single-active-unit-service','_joinRoom','Error\x20on\x20receiving\x20event','_doReset','_createHelper','_checkMissing','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_event$','interceptor','override','_createHandler','_socketMessageSubscription','_replaceFileID','updateOfflineData','_transformRemoteChangesetByIMECache','readAsDataURL','JOIN_ROOM_PERMISSION_DENIED','editing\x20status\x20changed\x20to','ERROR_EXCEED_SIZE','__Key__','FAIL','get','APPLY_NON_SEQUENTIAL_REVISION','replace','mutations','_hash','toString','_unitID','getOwnPropertyDescriptor','HEARTBEAT_INTERVAL','random','memberID','slice','_updateLocalCache','onTransformSelections','fetchThroughInterceptors','push','PERMISSION_REJ','exports','csAckEvent','unpad','clamp','addHandlerCallback','params','unitId','SUCCUSS','_onRecvEvent','finalize','getInterceptPoints','update','onTransformRemoteChangesetByIMECache','liveShareNewHost','batchAllowed','enableAuthServer','_awaitingChangeset','reduce','substr','onStateChange','_onFetchMissResult','JOINING','INTERNAL_ERROR','fromCharCode','members$','reject','JOIN_ROOM_FULL','ENSURE_SNAPSHOT_EXECUTION','_clearTimeoutTimer','BlockCipherMode','_registerDependencies','_substituteUndoStack','_sessions','c1Prime','_toggleOnline','_keyPriorReset','collaborators','getWorkbookSelections','requestParams','_append','SNAPSHOT_HAS_BEEN_REMOVED','enableOfflineEditing','objectType','csRejEvent','socketService','[OfflineState]:\x20received\x20acknowledgement.','socket$','delete','\x20to\x20','APPLY_PERMISSION_DENIED','_isPermissionRej','onlyLocal','_candidateSocket','_key','conflict','/universer-api/uniscript','hasher','not_collab','collaboratorID','onTransformRemoteChangesetByStateCache','_univerInstanceService','ceil','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','add','HttpImport','YUUMI_URL_COL_OUT_OF_RANGE','sendChangesetTimeout','AWAITING','_transformStack','localCacheService','isPermissionRej','dispose','action','/universer-api/authz','onTransformState','socket\x20open.','RECV','CBC','sigBytes','_getCurrentRevision','COMPRESS_MUTATION_SEND','_telemetryService','[CollaborationEntity]','_state$','onRemoteRej','_networkConditionService','clear','rev','_executeRemoteChangeset','collaboration_new_changeset','transformMutationsWithChangeset','_stopTelemetryCollaborationNewChangeset','DEFAULT_FILE_NAME','collaboration-client.config','_collaborationUIEventService','[SyncedState]:\x20received\x20acknowledgement.','_startCollaboration','NOT_FOUND','auth.needGotoLoginAlert','_retryConnectingTimer','copyFileMeta','disposeWithMe','byteLength','_socketReady','_resendTimeout','stringify','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','awaitingChangeset','LIVESHARE_REQUEST_HOST','authzUrl','awaiting_with_pending','enc','OPTIONAL','image/gif','_lockTransition','_createInitialStateImpl','_waitForHeartbeatResponse','saveImage','session','status','LOCAL_CACHE_INTERVAL','readyForCollab','baseRev','JOIN','prototype','save\x20fail\x20reason\x20is\x20','create','connection\x20error','MOBILE_VERIFY_CODE_MISMATCH','_mode','stopTime','145zDBRHf','[CollaborationSession]','_emitMembers','padding','error','AWAITING_WITH_PENDING','keySize','[UniverCollaborationClientPlugin]','joinEvent','saveSnapshot','SYNCED','_permissionService','method','_iv','abs','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','from','AES','_queuedRemoteChangesets','_onOffline','encodeURIComponent','_getUploadFileURL','[CollaborationUndoRedoService]','Base','_sendHeartbeat','randomBytes','disableLocalCache','editingUnit','getCurrentSelections','FETCH_MISS','UNISCRIPT_RUN','forEach','responseType','\x0aAfter:\x20','getUnitId','capture','body','INVITE_CODE_HAS_BEEN_UES','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/role','_clearCollaborationTimeoutTimer','JOIN_ROOM_NOT_EXISTS','getCollabEntity','CHANGESET_SHOULD_RETRY','COMPLETION_FINISHED','MSG_FOR_ERROR','LIVESHARE_OPERATION','createInstance','/rev/','univer-pro.collaboration-client-socket-service','open$','join','putCollaborators','readInt32LE','name','ALREADY_EXISTS','_resendTimer','_handler','_compressMutationService','findIndex','extend','_collaborationPaused','$super','cmd','members','_scheduleCollaborationTimeoutTimer','execute','resourceIDs','72QCGnez','lib','INVALID_INVITE_CODE','HmacMD5','_logService','_state','createEncryptor','119ySxcAK','localeService','_injector','StreamCipher','selections','_map','telemetry\x20info\x20is\x20not\x20initialized','_tryEnsureSocket','_xformMode','getRandomValues','format','_clearLocalCache','reconnect','/object/','CLOSE_ROOM','PasswordBasedCipher','unsubscribe','GLOBAL_ROOMS_CNT_EXCEEDS','_createHmacHelper','string','/fetchmissing?from=','_getDownloadEndpointURL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','entries','eventID','JOIN_ROOM_FAILED','toggleOffline','retryConnectingInterval','resend','CipherParams','UnitSnapshot','uniscriptRunEvent','_fetchMissChangesets','_roomMembers','[DataLoaderService]','_createInitialState','hostname','kdf','_getUndoStack','downloadEndpointUrl','_updateState','UNRECOGNIZED','getCollabEntity$','_data','/allowed','Pkcs7','_throwTelemetryCollaborationNewChangeset','key','HttpExport','loadDoc','type','_socket$','_minBufferSize','asObservable','USERS_ENTER','reqId','_change$','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_AI_RUN_FAILED','_initUnitPermissionChange','_shouldReportTelemetry','length','YUUMI_ALL_TABLES_IS_INVALID','_reverseMap','_getLoginPath','refreshPermission','includes','fetchMiss','size','_clearUndo','_transitionLocked','_resendWithTimeout','algo','UNKNOWN_CODE','_exhaustRemoteChangesetQueue','getSheetId','/collaborator','WordArray','liveShareOperation','loginUrlKey','SerializableCipher','_onUserJoin','salt','/-/object/-/batch_allowed','14748QepkZK','onRemoteRetry','_collaborationTimeoutTimer','_startTelemetryCollaborationNewChangeset','unitID','onMissedChangesetFetched','_cipher','getFocusedUnit','_tryReconnect','compute','listRoles','_localCacheService','CONNECTOR_DATA_TOO_LARGE','catch','workbook','TOO_MANY_REQUESTS','sin','avatar','toggleOnline','leaveEvent','setWaitCount','YUUMI_ASYNCIO_CANCELLED','getAllMembers','_initMergeInterceptor','_updateStatus','parse','[PendingState]:\x20received\x20rejection.','univer-pro.collaboration-client.network-condition.service','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','&assign=','target','csShouldRetryEvent','allowed','CONFLICT','UNAUTHENTICATED','removeMember','USERS_LEAVE','_listenToNetworkCondition','NoPadding','initWorkbookPermissionChange','_doCryptBlock','Base64','_members','/universer-api/user/session-ticket','PY_RUNTIME_SCRIPT_ERROR','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveChangeset','addImageSourceCache','_getRedoStack','/object','emitEvent','updateMember','933428QKhJVd','_transformStateCache','59424bkXaIu','UPDATE_CURSOR','encryptBlock','floor','hasOwnProperty','_undoStacks','_remoteChangesetQueue','location','OTHER_CLIENT_EDITING','_schedule','onCommentUpdate','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentService','dispose$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRedo','default','INVITE_CODE_REQUIRED','revision','ws://127.0.0.1:8000/universer-api/comb/connect','UNIVER_SLIDE','UNIVER_DOC','_onRemoteRejected','headers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','NEW_CHANGESETS','processBlock','getCurrentUser','_substituteRedoStack','getTypeOfUnitDisposed$','state$','YUUMI_SUBSCRIPTION_NOT_FOUND','/universer-api/file/{fileID}/sign-url','_rescheduleHeartbeat','_configService','/block/','COMMENT_UPDATE','_invKeySchedule','_onRemoteChangeset','_removeRoom','Encryptor','_entities','sid','ciphertext','listCollaborators','symbol','onTransformIME','_entityInit$','_collaborationSessionService','__creator','MUTATION','_socket','offline','SUBMIT_CHANGESET','decryptBlock','message$','\x0aCurrent:\x20','roles','getValue','image/jpeg','session.room-not-exists','Undefined','EvpKDF','_clearHeartbeatTimer','PENDING','originalMeta','/universer-api/comb','session.join-failed','set','sheets','_ENC_XFORM_MODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','{fileID}','_unitInfo$','ivSize','_applyRemoteChangeset','code','_HTTPService','getConfig','updateSnapshot','updateCollaborator','_sendHeartbeatTimer','incrementRevOfUnit','_getAPIPrefix','IDLE','_revisionService','getCurrentRevOfUnit','words','_instanceService','_clearScheduledTask','m2Prime','onMissingChangesets','UNDEFINED','APPLY_REJECT','People','1018494ZrHXtV','_members$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','indexOf','UNIVER_PROJECT','_handlerCallback','data','_collabSessionService','Latin1','_sender','append','textRanges','range','isArray','HELLO','MD5','sessionStatus$','SUBMIT_CHANGESET_TIMEOUT','fetchMissingChangesets','startsWith','pauseCollaboration','infoRsp','_syncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','image/bmp','LIVESHARE_NEW_HOST','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UserProfileImg','signUrlServerUrl','encode','SOCKET_FAILED','setConfig','encrypt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_waitCount','pipe','_clearRetryConnectingTimer','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','then','_redoStacks','updatePermissionPoint','complete','OFFLINE','_localeService','_iKey','blockSize','PERSON','pad','status$','_onRemoteRetry','_nDataBytes','_httpService','clone','UnitEmbedded','Utf8','COMPRESS_MUTATION_APPLY','map','Cipher','UPDATE_PERMISSION_OBJ','_hasher','LEAVE','LIVESHARE_FETCH_OPERATIONS','splice','INVITE_CODE_ALREADY_BOUND','2632xLXyIe','subject','enableSingleActiveInstanceLock','__esModule','[OfflineState]:\x20received\x20changeset.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','change$','mixIn','call','LICENSE_IMPORT_SIZE_EXCEEDED','loadUnitOfRevision','HEARTBEAT','onSendChangeset','_getSendChangesetTimeout','transformUndoRedo','snapshotServerUrl','Malformed\x20UTF-8\x20data','_imageSourceCache','pluginName','APPLY_REVISION_CONFILICT','requireSession','close','_sendingTimer','ERROR_IMAGE','setShowComponents','_changesetReqId','waitForRoom$','deepClone','_oKey','_prevBlock','reverse','setCurrentUser','onStarting','INVALID_ARGUMENT','synced','_transformRemoteChangesetByStateCache','_pendingMutations','cfg','Hex','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onLocalMutation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/stream/file/upload','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sessionStatus','/universer-api/oidc/authpage','_parse','_initCloseConn','_sheetTransformSelectionsService','registerHTTPInterceptor','_roomCreated$','unitId\x20is\x20not\x20found','CHANGESET_REJ','_getSignURL','objects','/new_changes','PSEUDO_FETCH_MISSING_RESULT','_onCombEvent','_initDependencies','_getCtorByUniverType','_snapshotService','_singleActiveUnitService','_incrementRevisionNumber','enableCollaboration','transformChangesets','init','crypto','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_process','_unlockTransition','_socketService','socket\x20close','getUnitType','BufferedBlockAlgorithm','_memberService','USER_NOT_INVITED_CODE','executeCommand','patch','getMember','snapshot','msCrypto','YUUMI_CONNECTOR_URL_NOT_FOUND','OTHER_CLIENTS_EDITING','/-/object/list','apply','getDeserializedSheetBlock','createSocket','values','LICENSE_EXPORT_SIZE_EXCEEDED','_onConnectionOpen','YUUMI_NO_CUBOID_FOR_QUESTION','collabWebSocketUrl','transformSelections','url','getTime','_keySchedule','_snapshotServerService','onSyncEditingCollabCursor','createDecryptor','YUUMI_UNABLE_LOAD_URL','uploadFileServerUrl','LICENSE_DISTRO_REJECTED','YUUMI_RATE_OVER_LIMIT','_DEC_XFORM_MODE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','3547880MtOJPh','_onMessage','BASE64','FileId','put','[PendingState]:\x20unhandled\x20univer\x20type:\x20'];_0x1e86=function(){return _0x5dab45;};return _0x1e86();}function Ln(_0x2cdf07,_0x211962){var _0x546472=_0x116ce9;const _0xd65ddb=_0x211962-_0x2cdf07[_0x546472(0x196)]%_0x211962,_0x17a0b3=String[_0x546472(0x3b7)](_0xd65ddb)['repeat'](_0xd65ddb);return _0x2cdf07+_0x17a0b3;}function xn(_0x36c407,_0x50025c){var _0x3ff026=_0x116ce9;const _0x11d46d=Un[_0x3ff026(0x398)](0x10),_0x3f84e3=Ln(_0x36c407,0x10),_0x1b5d0b=In[_0x3ff026(0x263)](bn['parse'](_0x3f84e3),ii['parse'](_0x50025c),{'iv':_0x11d46d,'padding':Mn});return _0x11d46d[_0x3ff026(0x2fb)](_0x1b5d0b[_0x3ff026(0x20f)])[_0x3ff026(0x394)](ii);}function kn(){var _0x28c741=_0x116ce9;const _0x27f417=_0x268f35()[_0x28c741(0x38d)];if(_0x27f417){const _0x112718={'time':Math[_0x28c741(0x1e6)](Date[_0x28c741(0x338)]()/0x3e8),'domain':location[_0x28c741(0x17d)]};return xn(JSON[_0x28c741(0xf4)](_0x112718),_0x27f417);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x41371d,_0x20c42f,_0x546666,_0x5e0c6a)=>{var _0x4089ba=_0x116ce9;for(var _0x1ca7db=_0x5e0c6a>0x1?void 0x0:_0x5e0c6a?$n(_0x20c42f,_0x546666):_0x20c42f,_0x598173=_0x41371d[_0x4089ba(0x196)]-0x1,_0x52c22f;_0x598173>=0x0;_0x598173--)(_0x52c22f=_0x41371d[_0x598173])&&(_0x1ca7db=_0x52c22f(_0x1ca7db)||_0x1ca7db);return _0x1ca7db;},Bn=(_0x42dffe,_0xb85a05)=>(_0x5692a1,_0x588d0f)=>_0xb85a05(_0x5692a1,_0x588d0f,_0x42dffe);let at=class{constructor(_0x4ef238){var _0x390106=_0x116ce9;this[_0x390106(0x276)]=_0x4ef238,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x1abf63=_0x116ce9;this[_0x1abf63(0x276)]['registerHTTPInterceptor']({'interceptor':(_0x3e2a99,_0x27b752)=>{var _0x1106fa=_0x1abf63;const _0xc6ee41=_0x3e2a99['headers'],_0x22a704=kn();return _0x22a704&&_0xc6ee41['set'](_0x1106fa(0x362),_0x22a704),_0x27b752(_0x3e2a99);}});}};at=Hn([Bn(0x0,_0x557787(_0x31682f))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x1fe094,_0x15209f,_0x2fd333,_0x4c68ba)=>{var _0xa8384d=_0x116ce9;for(var _0x169352=_0x4c68ba>0x1?void 0x0:_0x4c68ba?jn(_0x15209f,_0x2fd333):_0x15209f,_0x3a1a3b=_0x1fe094[_0xa8384d(0x196)]-0x1,_0x45df70;_0x3a1a3b>=0x0;_0x3a1a3b--)(_0x45df70=_0x1fe094[_0x3a1a3b])&&(_0x169352=_0x45df70(_0x169352)||_0x169352);return _0x169352;},vt=(_0x8f82bc,_0x289dab)=>(_0x55f3d4,_0xb06ed3)=>_0x289dab(_0x55f3d4,_0xb06ed3,_0x8f82bc);let Ct=class extends _0x4d32e2{constructor(_0x5d761c,_0x123423,_0x17d8e1){var _0x47aa89=_0x116ce9;super(),N(this,'_unitInfo$',new _0x3dc6f5(null)),N(this,_0x47aa89(0x30e),this[_0x47aa89(0x22d)][_0x47aa89(0x18e)]()),(this[_0x47aa89(0x156)]=_0x5d761c,this[_0x47aa89(0x2bf)]=_0x123423,this[_0x47aa89(0x1b8)]=_0x17d8e1);}async[_0x116ce9(0x28d)](_0x5a33c1,_0x227914,_0x42ad51){var _0x45b7ba=_0x116ce9;this[_0x45b7ba(0x22d)][_0x45b7ba(0x371)]({'unitId':_0x5a33c1,'type':_0x227914});let _0x2602a9=null;switch(_0x227914){case Z[_0x45b7ba(0x33b)]:{_0x2602a9=await this['_snapshotService'][_0x45b7ba(0x32f)](_0x5a33c1,_0x42ad51);break;}case Z[_0x45b7ba(0x1f8)]:{_0x2602a9=await this[_0x45b7ba(0x2bf)][_0x45b7ba(0x18a)](_0x5a33c1,_0x42ad51);break;}default:{this['_logService'][_0x45b7ba(0x112)](_0x45b7ba(0x17b),_0x45b7ba(0x1f1));break;}}return _0x2602a9;}async[_0x116ce9(0x342)](_0x3fdce8,_0x46a909,_0x57c06f){var _0x5f4d24=_0x116ce9,_0x234ac5;this[_0x5f4d24(0x22d)]['next']({'unitId':_0x3fdce8,'type':_0x46a909,'subUnitId':_0x57c06f});let _0x7c7f83=0x0;const _0x17ce6a=await((_0x234ac5=this[_0x5f4d24(0x1b8)])==null?void 0x0:_0x234ac5[_0x5f4d24(0x354)](_0x3fdce8));return _0x17ce6a&&(_0x17ce6a[_0x5f4d24(0xf6)]||_0x17ce6a[_0x5f4d24(0x392)]['length']!==0x0)&&(_0x7c7f83=_0x17ce6a[_0x5f4d24(0xe2)]),_0x7c7f83===0x0&&this[_0x5f4d24(0x156)][_0x5f4d24(0x347)](_0x5f4d24(0x17b),_0x5f4d24(0xc9)),this[_0x5f4d24(0x28d)](_0x3fdce8,_0x46a909,_0x7c7f83);}};Ct=Fn([vt(0x0,_0x1703f1),vt(0x1,_0x557787(_0xf0dc10)),vt(0x2,_0x93ee66(J))],Ct);var Vn=Object[_0x116ce9(0x396)],Wn=(_0x4c432b,_0x1acfa3,_0x201d20,_0x2ac43b)=>{var _0x30b9f8=_0x116ce9;for(var _0x341bd7=_0x2ac43b>0x1?void 0x0:_0x2ac43b?Vn(_0x1acfa3,_0x201d20):_0x1acfa3,_0x53ec39=_0x4c432b[_0x30b9f8(0x196)]-0x1,_0x5dbbc2;_0x53ec39>=0x0;_0x53ec39--)(_0x5dbbc2=_0x4c432b[_0x53ec39])&&(_0x341bd7=_0x5dbbc2(_0x341bd7)||_0x341bd7);return _0x341bd7;},pt=(_0x527f33,_0x3e8c57)=>(_0x13a90d,_0x5ca311)=>_0x3e8c57(_0x13a90d,_0x5ca311,_0x527f33);const Gn=['image/png',_0x116ce9(0x21f),'image/jpg',_0x116ce9(0xfc),_0x116ce9(0x25b)],Yn=0x5*0x400*0x400,Kn=_0x116ce9(0x2ad),qn=_0x116ce9(0x204);let Rt=class{constructor(_0x143b52,_0x135656,_0x56ed6c){var _0xcc98e6=_0x116ce9;N(this,'_waitCount',0x0),N(this,_0xcc98e6(0x191),new _0x19b0a1()),N(this,_0xcc98e6(0x289),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0xcc98e6(0x276)]=_0x143b52,this[_0xcc98e6(0x206)]=_0x135656,this[_0xcc98e6(0xc7)]=_0x56ed6c);}[_0x116ce9(0x1c1)](_0x2e4f84){var _0x5c883e=_0x116ce9;this[_0x5c883e(0x265)]=_0x2e4f84,this[_0x5c883e(0x191)][_0x5c883e(0x371)](_0x2e4f84);}['getImageSourceCache'](_0x4bc203,_0x2c2bcf){var _0x5e1d73=_0x116ce9;if(_0x2c2bcf===_0x5a97a7[_0x5e1d73(0x2ee)]){const _0x516971=new Image();return _0x516971[_0x5e1d73(0x343)]=_0x4bc203,_0x516971;}return this[_0x5e1d73(0x294)]['get'](_0x4bc203);}[_0x116ce9(0x1dc)](_0x3d50d5,_0x52d030,_0x1cad9d){var _0x2cb8ea=_0x116ce9;_0x52d030===_0x5a97a7[_0x2cb8ea(0x2ee)]||_0x1cad9d==null||this[_0x2cb8ea(0x294)][_0x2cb8ea(0x228)](_0x3d50d5,_0x1cad9d);}async[_0x116ce9(0x2f4)](_0xb5bfb3){var _0x369ec2=_0x116ce9;try{const _0x336941=this[_0x369ec2(0x386)](this[_0x369ec2(0x2b8)](),''+_0xb5bfb3),_0x206a52=(await this[_0x369ec2(0x276)][_0x369ec2(0x38f)](_0x336941))[_0x369ec2(0x132)];if(_0x206a52[_0x369ec2(0x112)]&&_0x206a52[_0x369ec2(0x112)][_0x369ec2(0x230)]===vi['OK']){const _0x5930d1=new URL(_0x206a52[_0x369ec2(0x2e0)],this[_0x369ec2(0x16e)]())[_0x369ec2(0x394)]();return Promise[_0x369ec2(0x330)](_0x5930d1);}return Promise[_0x369ec2(0x3b9)](_0x206a52[_0x369ec2(0x112)]);}catch(_0x555a8f){return Promise[_0x369ec2(0x3b9)](_0x555a8f);}}async[_0x116ce9(0x100)](_0x72dae2){var _0x59b29d=_0x116ce9;let _0x33da03='';if(!Gn[_0x59b29d(0x19b)](_0x72dae2[_0x59b29d(0x18b)]))return this['_decreaseWaiting'](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4['ERROR_IMAGE_TYPE']));if(_0x72dae2[_0x59b29d(0x19d)]>Yn)return this[_0x59b29d(0x2f8)](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4[_0x59b29d(0x38c)]));try{const _0x356184=new FormData();_0x356184[_0x59b29d(0x24d)]('file',_0x72dae2);const _0x2fe17c=this['_univerInstanceService'][_0x59b29d(0x1b4)](),_0x428e0e=_0x2fe17c==null?void 0x0:_0x2fe17c['getUnitId']();if(!_0x428e0e)throw new Error(_0x59b29d(0x2b6));const _0x44d205=this[_0x59b29d(0x123)]()+'?size='+_0x72dae2[_0x59b29d(0x19d)][_0x59b29d(0x394)]()+'&source='+pi[_0x59b29d(0x278)]+_0x59b29d(0x1ca)+encodeURIComponent(_0x428e0e),_0x3ae19d={'body':_0x356184},_0x2110e1=(await this[_0x59b29d(0x276)][_0x59b29d(0x326)](_0x44d205,_0x3ae19d))[_0x59b29d(0x132)];if(typeof _0x2110e1['FileId']!=_0x59b29d(0x16c))return this[_0x59b29d(0x2f8)](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4[_0x59b29d(0x29a)]));_0x33da03=_0x2110e1[_0x59b29d(0x2ef)];}catch{return this[_0x59b29d(0x2f8)](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4['ERROR_IMAGE']));}return new Promise((_0x2f0dc8,_0x16dc87)=>{var _0x2a32f4=_0x59b29d;const _0x373081=new FileReader();_0x373081[_0x2a32f4(0x389)](_0x72dae2),_0x373081['onload']=_0x4bf9d0=>{var _0x47dc1a=_0x2a32f4,_0x588b83;const _0x192e27=(_0x588b83=_0x4bf9d0[_0x47dc1a(0x1cb)])==null?void 0x0:_0x588b83[_0x47dc1a(0x358)];if(_0x192e27==null){this[_0x47dc1a(0x2f8)](),_0x16dc87(new Error(_0x2b93c4[_0x47dc1a(0x29a)]));return;}const _0x340e13=_0x228e58(0x6);_0x2f0dc8({'imageId':_0x340e13,'imageSourceType':_0x5a97a7[_0x47dc1a(0x2f3)],'source':_0x33da03,'base64Cache':_0x192e27,'status':_0x2b93c4[_0x47dc1a(0x3a7)]}),this[_0x47dc1a(0x2f8)]();};});}[_0x116ce9(0x123)](){var _0x43eca1=_0x116ce9,_0x39199a;const _0x92be18=this[_0x43eca1(0x206)][_0x43eca1(0x232)](K);return(_0x39199a=_0x92be18==null?void 0x0:_0x92be18[_0x43eca1(0x2e7)])!=null?_0x39199a:Kn;}[_0x116ce9(0x2b8)](){var _0x2a408f=_0x116ce9,_0x55d0bc;const _0x18c2a7=this['_configService']['getConfig'](K);return(_0x55d0bc=_0x18c2a7==null?void 0x0:_0x18c2a7[_0x2a408f(0x25f)])!=null?_0x55d0bc:qn;}[_0x116ce9(0x16e)](){var _0x456c61=_0x116ce9,_0x2f1276;const _0x49e796=this[_0x456c61(0x206)]['getConfig'](K);return(_0x2f1276=_0x49e796==null?void 0x0:_0x49e796[_0x456c61(0x180)])!=null?_0x2f1276:location['origin'];}['_replaceFileID'](_0x438ed8,_0x3cc195){var _0x5d3fa8=_0x116ce9;return _0x438ed8[_0x5d3fa8(0x391)](_0x5d3fa8(0x22c),_0x3cc195);}[_0x116ce9(0x2f8)](){var _0x282650=_0x116ce9;this['_waitCount']-=0x1,this[_0x282650(0x191)][_0x282650(0x371)](this[_0x282650(0x265)]);}};Rt=Wn([pt(0x0,_0x557787(_0x31682f)),pt(0x1,_0x42adf2),pt(0x2,_0x557787(_0x283ba7))],Rt);var zn=Object[_0x116ce9(0x396)],Jn=(_0x4363bb,_0x272a93,_0x27e441,_0x4b3a59)=>{for(var _0x5270e4=_0x4b3a59>0x1?void 0x0:_0x4b3a59?zn(_0x272a93,_0x27e441):_0x272a93,_0x3bc95b=_0x4363bb['length']-0x1,_0x22de31;_0x3bc95b>=0x0;_0x3bc95b--)(_0x22de31=_0x4363bb[_0x3bc95b])&&(_0x5270e4=_0x22de31(_0x5270e4)||_0x5270e4);return _0x5270e4;},ai=(_0x427305,_0xb06a88)=>(_0x2f0815,_0x258715)=>_0xb06a88(_0x2f0815,_0x258715,_0x427305);const Xn='/universer-api/authz';let Ot=class{constructor(_0x13e678,_0x2875f3){var _0x524ea5=_0x116ce9;this[_0x524ea5(0x206)]=_0x13e678,this[_0x524ea5(0x231)]=_0x2875f3;}[_0x116ce9(0x34d)](){var _0x520af2=_0x116ce9,_0x356b5e;const _0x299dc0=this[_0x520af2(0x206)][_0x520af2(0x232)](K);return(_0x356b5e=_0x299dc0==null?void 0x0:_0x299dc0[_0x520af2(0xf8)])!=null?_0x356b5e:Xn;}async['list'](_0x2fbaef){var _0x21e204=_0x116ce9;const _0x112509=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x21e204(0x242),'mentions':(await this[_0x21e204(0x231)][_0x21e204(0x38f)](_0x112509,{'params':{'objectID':_0x2fbaef[_0x21e204(0x3a6)],'unitID':_0x2fbaef['unitId']}}))[_0x21e204(0x132)][_0x21e204(0xaf)][_0x21e204(0x27b)](_0x43b3cd=>({'objectId':_0x43b3cd['id'],'name':_0x43b3cd['subject'][_0x21e204(0x144)],'metadata':{'icon':_0x43b3cd[_0x21e204(0x284)][_0x21e204(0x1be)]},'label':_0x43b3cd[_0x21e204(0x284)][_0x21e204(0x144)],'objectType':_0x2391a7[_0x21e204(0x271)]})),'metadata':{},'type':_0x2391a7[_0x21e204(0x271)]}]};}};Ot=Jn([ai(0x0,_0x557787(_0x42adf2)),ai(0x1,_0x557787(_0x31682f))],Ot);var Zn=Object[_0x116ce9(0x396)],Qn=(_0x2e81ff,_0x21d763,_0x3c3335,_0x3d2d75)=>{var _0x4dc2a7=_0x116ce9;for(var _0x9b47be=_0x3d2d75>0x1?void 0x0:_0x3d2d75?Zn(_0x21d763,_0x3c3335):_0x21d763,_0x2357e5=_0x2e81ff[_0x4dc2a7(0x196)]-0x1,_0x269e5f;_0x2357e5>=0x0;_0x2357e5--)(_0x269e5f=_0x2e81ff[_0x2357e5])&&(_0x9b47be=_0x269e5f(_0x9b47be)||_0x9b47be);return _0x9b47be;},Ue=(_0x52e7bb,_0x18a5d8)=>(_0x5a2aa9,_0x4bac97)=>_0x18a5d8(_0x5a2aa9,_0x4bac97,_0x52e7bb);let ot=class extends _0x4d32e2{constructor(_0x40d37d,_0x5d083d,_0x5b325f,_0x5515a6,_0x2e6455){var _0x138609=_0x116ce9;super(),this['_injector']=_0x40d37d,this['_univerInstanceService']=_0x5d083d,this[_0x138609(0x119)]=_0x5b325f,this['_collaborationSessionService']=_0x5515a6,this[_0x138609(0xe9)]=_0x2e6455,this['_initUnitPermissionChange'](),this[_0x138609(0x2b2)]();}[_0x116ce9(0x2b2)](){var _0x56fe92=_0x116ce9;const _0x4dabf4=async _0x5e4bdd=>{var _0x2f5313=_0x2a22;(await this['_collaborationSessionService'][_0x2f5313(0x297)](_0x5e4bdd))[_0x2f5313(0x320)][_0x2f5313(0x266)](_0x48d5d4(_0x440fda=>_0x440fda[_0x2f5313(0x171)]===_0x353970['SHOULD_CLOSE_CONN']),_0x510fd5(this[_0x2f5313(0x1f0)]))[_0x2f5313(0x2f2)](_0x3586c5=>{var _0x10c766=_0x2f5313;const _0x49ee17=_0x3586c5,{reason:_0x559f31}=_0x49ee17['data'];this[_0x10c766(0xe9)][_0x10c766(0x1df)]({'id':ne[_0x10c766(0x167)],'data':_0x559f31}),this[_0x10c766(0x119)][_0x10c766(0x26b)](new _0x15e513(_0x5e4bdd)['id'],!0x1),this[_0x10c766(0x214)]['closeSession'](_0x5e4bdd);});};_0x53100c(this[_0x56fe92(0xc7)][_0x56fe92(0x367)](_0x7d3d2a[_0x56fe92(0x33b)]),this[_0x56fe92(0xc7)][_0x56fe92(0x367)](_0x7d3d2a['UNIVER_DOC']))[_0x56fe92(0x266)](_0x209458(_0x1fa63d=>_0x1fa63d[_0x56fe92(0x130)]()),_0x48d5d4(_0x5e9e1b=>!_0x5f2cb9(_0x5e9e1b)),_0x510fd5(this[_0x56fe92(0x1f0)]))[_0x56fe92(0x2f2)](_0x5d9809=>{_0x4dabf4(_0x5d9809);});}[_0x116ce9(0x194)](){var _0x33499b=_0x116ce9;const _0xb52b27=async _0x2d17af=>{var _0x38ecdf=_0x2a22;const _0x29089c=await this[_0x38ecdf(0x214)][_0x38ecdf(0x297)](_0x2d17af),_0x4afe0c=this[_0x38ecdf(0x15b)]['get'](_0x543aed);_0x29089c[_0x38ecdf(0x320)]['pipe'](_0x48d5d4(_0x41f77e=>_0x41f77e[_0x38ecdf(0x171)]===_0x353970[_0x38ecdf(0x27d)]),_0x510fd5(this[_0x38ecdf(0x1f0)]))[_0x38ecdf(0x2f2)](_0x4259b6=>{var _0x128cc1=_0x38ecdf;const _0x775bd5=_0x4259b6,{objectId:_0x35c9d2}=_0x775bd5['data'];_0x35c9d2===_0x2d17af?_0x4afe0c[_0x128cc1(0x1d4)](_0x2d17af):_0x4afe0c[_0x128cc1(0x19a)](_0x2d17af,_0x35c9d2);});};_0x53100c(this[_0x33499b(0xc7)]['getTypeOfUnitAdded$'](_0x7d3d2a['UNIVER_SHEET']))[_0x33499b(0x266)](_0x209458(_0x40a5be=>_0x40a5be[_0x33499b(0x130)]()),_0x48d5d4(_0x263e75=>!_0x5f2cb9(_0x263e75)),_0x510fd5(this[_0x33499b(0x1f0)]))[_0x33499b(0x2f2)](_0x210574=>{_0xb52b27(_0x210574);});}};ot=Qn([Ue(0x0,_0x557787(_0x249d80)),Ue(0x1,_0x283ba7),Ue(0x2,_0x293adf),Ue(0x3,_0x557787(Pe)),Ue(0x4,_0x557787(ve))],ot);var er=Object[_0x116ce9(0x396)],tr=(_0x460a95,_0xeb20f2,_0x193901,_0x5246f4)=>{var _0x1ad3b4=_0x116ce9;for(var _0x1ca329=_0x5246f4>0x1?void 0x0:_0x5246f4?er(_0xeb20f2,_0x193901):_0xeb20f2,_0x40cf75=_0x460a95[_0x1ad3b4(0x196)]-0x1,_0x3834b8;_0x40cf75>=0x0;_0x40cf75--)(_0x3834b8=_0x460a95[_0x40cf75])&&(_0x1ca329=_0x3834b8(_0x1ca329)||_0x1ca329);return _0x1ca329;},oi=(_0x513359,_0x5e8b1f)=>(_0x44ea22,_0x502e5c)=>_0x5e8b1f(_0x44ea22,_0x502e5c,_0x513359);let bt=class{constructor(_0xa7af3,_0x1a7f25){var _0x13ed7a=_0x116ce9;this[_0x13ed7a(0x206)]=_0xa7af3,this['_httpService']=_0x1a7f25;}async['getUnitOnRev'](_0x367c89,_0x207a5c){var _0x4d9022=_0x116ce9,_0x2da516;const {unitID:_0x1e4e15,type:_0x447600,revision:_0x2732a3=0x0}=_0x207a5c,_0x4b0325=this['getSnapshotAPIPath']()+'/'+_0x447600+_0x4d9022(0x345)+_0x1e4e15+_0x4d9022(0x13e)+_0x2732a3,_0x1f9292=(await this[_0x4d9022(0x276)]['get'](_0x4b0325))['body'],_0x5355df=(_0x2da516=_0x1f9292[_0x4d9022(0x2d2)])==null?void 0x0:_0x2da516[_0x4d9022(0x1bb)];if(_0x5355df){const _0x1816a7=_0x5355df==null?void 0x0:_0x5355df[_0x4d9022(0x225)],_0x9667bc=_0x239c8c[_0x4d9022(0x260)](_0x251cec(_0x1816a7));_0x5355df['originalMeta']=_0x9667bc,Object[_0x4d9022(0x170)](_0x5355df[_0x4d9022(0x229)])[_0x4d9022(0x12d)](([,_0x5b171f])=>{var _0x3f5547=_0x4d9022;const _0x3d55a7=_0x5b171f[_0x3f5547(0x225)],_0x3bdf6e=_0x239c8c[_0x3f5547(0x260)](_0x251cec(_0x3d55a7));_0x5b171f['originalMeta']=_0x3bdf6e;});}return _0x1f9292;}async['getSheetBlock'](_0x2036aa,_0x361f35){var _0x6e8ddf=_0x116ce9;const {unitID:_0x34c36f,type:_0x3ba6cc,blockID:_0x3c5d89}=_0x361f35,_0x1f43e7=this['_getAPIPrefix']()+'/'+_0x3ba6cc+'/unit/'+_0x34c36f+_0x6e8ddf(0x207)+_0x3c5d89;return(await this['_httpService']['get'](_0x1f43e7))['body'];}async[_0x116ce9(0x2d8)](_0x9467ad,_0x354154){var _0x11d1b5=_0x116ce9;const {unitID:_0x23dc09,type:_0x5d73b4,blockID:_0x567fe8}=_0x354154,_0xe74317=this[_0x11d1b5(0x237)]()+_0x11d1b5(0x207)+_0x5d73b4+_0x11d1b5(0x345)+_0x23dc09+_0x11d1b5(0x207)+_0x567fe8;return(await this[_0x11d1b5(0x276)]['get'](_0xe74317))[_0x11d1b5(0x132)];}async[_0x116ce9(0x255)](_0x15f07d,_0x5be2a2){var _0x55d59c=_0x116ce9;const {unitID:_0x49d352,type:_0x194b9b,from:_0x497c9f,to:_0x4f3d07}=_0x5be2a2,_0x7e953b=this[_0x55d59c(0x237)]()+'/'+_0x194b9b+_0x55d59c(0x345)+_0x49d352+_0x55d59c(0x16d)+_0x497c9f+'&to='+_0x4f3d07;return(await this['_httpService'][_0x55d59c(0x38f)](_0x7e953b))[_0x55d59c(0x132)];}[_0x116ce9(0x31b)](){var _0x4242d2=_0x116ce9,_0x1f618b;return(_0x1f618b=this[_0x4242d2(0x206)][_0x4242d2(0x232)](vs))!=null?_0x1f618b:this[_0x4242d2(0x237)]();}[_0x116ce9(0x237)](){var _0x340930=_0x116ce9,_0x2ccebf;const _0x4c9b75=this[_0x340930(0x206)][_0x340930(0x232)](K);return(_0x2ccebf=_0x4c9b75==null?void 0x0:_0x4c9b75[_0x340930(0x292)])!=null?_0x2ccebf:fs;}async['getResourcesRequest'](_0x257273,_0x30f115){var _0xd7385b=_0x116ce9;const _0x2b7df7='/universer-api/snapshot/'+_0x30f115[_0xd7385b(0x18b)]+_0xd7385b(0x345)+_0x30f115['unitID']+_0xd7385b(0x33d);return(await this['_httpService']['get'](_0x2b7df7,{'params':{'resourceId':JSON[_0xd7385b(0xf4)](_0x30f115[_0xd7385b(0x151)])}}))[_0xd7385b(0x132)];}[_0x116ce9(0x117)](){var _0x216875=_0x116ce9;throw new Error(_0x216875(0x351));}[_0x116ce9(0x233)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x218782=_0x116ce9;throw new Error(_0x218782(0x351));}[_0x116ce9(0x1db)](){var _0x4289a9=_0x116ce9;throw new Error(_0x4289a9(0x351));}[_0x116ce9(0xef)](){var _0x38ef1b=_0x116ce9;throw new Error(_0x38ef1b(0x351));}['getLatestCsReqIdBySid'](){var _0x19e397=_0x116ce9;throw new Error(_0x19e397(0x351));}};bt=tr([oi(0x0,_0x42adf2),oi(0x1,_0x557787(_0x31682f))],bt);var ir=Object[_0x116ce9(0x396)],sr=(_0x48682e,_0x474f6b,_0x11353c,_0x552f51)=>{for(var _0x2ae0c7=_0x552f51>0x1?void 0x0:_0x552f51?ir(_0x474f6b,_0x11353c):_0x474f6b,_0x307f6a=_0x48682e['length']-0x1,_0x2fe1fa;_0x307f6a>=0x0;_0x307f6a--)(_0x2fe1fa=_0x48682e[_0x307f6a])&&(_0x2ae0c7=_0x2fe1fa(_0x2ae0c7)||_0x2ae0c7);return _0x2ae0c7;},Ae=(_0x2eb134,_0x4f0b18)=>(_0x3980f5,_0x47b5af)=>_0x4f0b18(_0x3980f5,_0x47b5af,_0x2eb134);let yt=class extends _0x3e896a{constructor(_0xd8986c,_0x2b37c8,_0x1157b9,_0x21b770,_0x43aefe){var _0xdf24c1=_0x116ce9;super(_0xd8986c,_0x2b37c8,_0x1157b9),this[_0xdf24c1(0x304)]=_0x21b770,this['_logService']=_0x43aefe;}[_0x116ce9(0x291)](_0x29666c,_0x35377e){var _0x45f888=_0x116ce9;const _0x5bc49c=this[_0x45f888(0x17f)](_0x29666c);if(_0x5bc49c)try{const _0x17a0ed=this['_transformStack'](_0x5bc49c,_0x35377e);this[_0x45f888(0x3bf)](_0x29666c,_0x17a0ed);}catch(_0x541240){this[_0x45f888(0x156)]['error']('[CollaborationUndoRedoService]',_0x541240),this[_0x45f888(0x19e)](_0x29666c);}const _0x3a1791=this[_0x45f888(0x1dd)](_0x29666c);if(_0x3a1791)try{const _0x524b2b=this[_0x45f888(0xcf)](_0x3a1791,_0x35377e);this[_0x45f888(0x200)](_0x29666c,_0x524b2b);}catch(_0x490f67){this[_0x45f888(0x156)][_0x45f888(0x112)](_0x490f67),this[_0x45f888(0x1f2)](_0x29666c);}}[_0x116ce9(0x19e)](_0x237dcf){var _0x25f1aa=_0x116ce9;const _0x2514cc=this[_0x25f1aa(0x17f)](_0x237dcf);_0x2514cc&&(_0x2514cc[_0x25f1aa(0x196)]=0x0,this[_0x25f1aa(0x1c5)]());}[_0x116ce9(0x1f2)](_0x29d24e){var _0x10b92=_0x116ce9;const _0x41b0ac=this[_0x10b92(0x1dd)](_0x29d24e);_0x41b0ac&&(_0x41b0ac[_0x10b92(0x196)]=0x0,this[_0x10b92(0x1c5)]());}[_0x116ce9(0x3bf)](_0x17544d,_0x21ad58){var _0x26e756=_0x116ce9;this[_0x26e756(0x1e8)]['set'](_0x17544d,_0x21ad58),this[_0x26e756(0x1c5)]();}['_substituteRedoStack'](_0x45b9d3,_0x3a6f3d){var _0x219b07=_0x116ce9;this[_0x219b07(0x26a)][_0x219b07(0x228)](_0x45b9d3,_0x3a6f3d),this[_0x219b07(0x1c5)]();}[_0x116ce9(0xcf)](_0x6e3531,_0x4f2d13){var _0xd41065=_0x116ce9;const _0x283ee7=[];let _0x53b4d7=_0x4f2d13,_0x4eb53c=_0x4f2d13;for(let _0x321c19=_0x6e3531[_0xd41065(0x196)]-0x1;_0x321c19>=0x0;_0x321c19--){const {unitID:_0x1ae0e4,undoMutations:_0x345e7c,redoMutations:_0x305e88}=_0x6e3531[_0x321c19],_0x13d74f=this[_0xd41065(0x304)][_0xd41065(0xe5)](_0x53b4d7,_0x345e7c),_0x59822c=this[_0xd41065(0x304)][_0xd41065(0xe5)](_0x4eb53c,_0x305e88);if(_0x2454f4(_0x13d74f)||_0x2454f4(_0x59822c)){this[_0xd41065(0x156)][_0xd41065(0x112)](_0xd41065(0x124),'transformStack\x20failed!',_0x13d74f,_0x59822c);break;}_0x53b4d7=_0x13d74f[_0xd41065(0x3c1)],_0x4eb53c=_0x59822c[_0xd41065(0x3c1)],_0x283ee7[_0xd41065(0x39e)]({'unitID':_0x1ae0e4,'undoMutations':_0x13d74f['m2Prime'],'redoMutations':_0x59822c[_0xd41065(0x23e)]});}return _0x283ee7[_0xd41065(0x2a1)]();}};yt=sr([Ae(0x0,_0x283ba7),Ae(0x1,_0x557fb2),Ae(0x2,_0xe6e059),Ae(0x3,_0x1c5e41),Ae(0x4,_0x1703f1)],yt);var nr=Object['defineProperty'],rr=Object[_0x116ce9(0x396)],ar=(_0x392d55,_0x290197,_0x26d3e8)=>_0x290197 in _0x392d55?nr(_0x392d55,_0x290197,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26d3e8}):_0x392d55[_0x290197]=_0x26d3e8,or=(_0x344e15,_0x4e16a2,_0x1a7ab3,_0x4bda6b)=>{var _0x48a85a=_0x116ce9;for(var _0x5c1191=_0x4bda6b>0x1?void 0x0:_0x4bda6b?rr(_0x4e16a2,_0x1a7ab3):_0x4e16a2,_0x4a6978=_0x344e15[_0x48a85a(0x196)]-0x1,_0x34e697;_0x4a6978>=0x0;_0x4a6978--)(_0x34e697=_0x344e15[_0x4a6978])&&(_0x5c1191=_0x34e697(_0x5c1191)||_0x5c1191);return _0x5c1191;},mt=(_0x194d58,_0x26284b)=>(_0x550aca,_0x5e98be)=>_0x26284b(_0x550aca,_0x5e98be,_0x194d58),cr=(_0x257e2d,_0x451f54,_0x18fc5c)=>ar(_0x257e2d,_0x451f54+'',_0x18fc5c);const hr=_0x116ce9(0x328);let Nt=class extends _0x575fcb{constructor(_0x3a23c0,_0x5bd09d,_0x4160bf,_0x48dce6){var _0x4a05e7=_0x116ce9;super(),N(this,_0x4a05e7(0x323)),(this[_0x4a05e7(0x156)]=_0x5bd09d,this[_0x4a05e7(0x15b)]=_0x4160bf,this[_0x4a05e7(0x206)]=_0x48dce6);const {..._0x30729c}=_0x30d817({},Ls,_0x3a23c0);if(!_0x30729c[_0x4a05e7(0xb7)])throw new Error(_0x4a05e7(0x2eb));this[_0x4a05e7(0x323)]=_0x30729c,this[_0x4a05e7(0x206)][_0x4a05e7(0x262)](K,_0x30729c);}[_0x116ce9(0x2a3)](){var _0xab2e67=_0x116ce9;this[_0xab2e67(0x3be)](),this['_initDependencies']();}[_0x116ce9(0x3be)](){var _0x2b64f6=_0x116ce9,_0xab245a,_0xd0d3ae;this[_0x2b64f6(0x15b)][_0x2b64f6(0x322)](_0x2f8cb7)&&this['_logService'][_0x2b64f6(0x112)](_0x2b64f6(0x115),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1f2ab7=_0x22e301([[_0x2f8cb7,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x2b64f6(0x323)]['socketService']}],[_0x38f09d,{'useClass':bt}],[_0x2be129,{'useClass':Tt}],[_0x18e59b,{'useClass':Rt}],[_0x4a08bd,{'useClass':Ot}],[nt],[It]],(_0xab245a=this['_config'])==null?void 0x0:_0xab245a[_0x2b64f6(0x383)]);if(!((_0xd0d3ae=this['_config'])!=null&&_0xd0d3ae[_0x2b64f6(0x285)])){const _0x48edca=_0x1f2ab7[_0x2b64f6(0x149)](([_0x2da03f])=>_0x2da03f===ht);_0x48edca!==-0x1&&_0x1f2ab7[_0x2b64f6(0x281)](_0x48edca,0x1);}_0x40c77e(this['_injector'],_0x1f2ab7);}[_0x116ce9(0x2bd)](){var _0x5bd2a9=_0x116ce9,_0x458a5d,_0x2ecd97,_0x18e674;this[_0x5bd2a9(0x15b)][_0x5bd2a9(0x38f)](_0x31682f)[_0x5bd2a9(0x2b4)]({'priority':0x14,'interceptor':_0x5c04bf({'maxParallel':0x6})}),(_0x458a5d=this[_0x5bd2a9(0x323)])!=null&&_0x458a5d[_0x5bd2a9(0xb4)]||(_0x2ecd97=this[_0x5bd2a9(0x15b)]['get'](J,_0x1469d9[_0x5bd2a9(0xfb)]))==null||_0x2ecd97[_0x5bd2a9(0x128)](),(_0x18e674=this[_0x5bd2a9(0x323)])!=null&&_0x18e674[_0x5bd2a9(0x3af)]&&_0x3a5b6e(this[_0x5bd2a9(0x15b)],[[rt]]),_0x3a5b6e(this[_0x5bd2a9(0x15b)],[[at],[nt],[ot]]);}};cr(Nt,_0x116ce9(0x295),hr),Nt=or([_0xd4079b(_0x362329,_0x500b9a),mt(0x1,_0x1703f1),mt(0x2,_0x557787(_0x249d80)),mt(0x3,_0x42adf2)],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 _0x5410a2=_0x48ad;(function(_0x2b5a82,_0x5388e8){var _0xdc61f0=_0x48ad,_0x2d742e=_0x2b5a82();while(!![]){try{var _0x5e69cd=parseInt(_0xdc61f0(0x425))/0x1*(parseInt(_0xdc61f0(0x426))/0x2)+parseInt(_0xdc61f0(0x23d))/0x3+-parseInt(_0xdc61f0(0x3bd))/0x4+parseInt(_0xdc61f0(0x373))/0x5+parseInt(_0xdc61f0(0x408))/0x6*(-parseInt(_0xdc61f0(0x30b))/0x7)+-parseInt(_0xdc61f0(0x1ca))/0x8+parseInt(_0xdc61f0(0x28e))/0x9;if(_0x5e69cd===_0x5388e8)break;else _0x2d742e['push'](_0x2d742e['shift']());}catch(_0x18903b){_0x2d742e['push'](_0x2d742e['shift']());}}}(_0x28c4,0xdbce3));var yi=Object[_0x5410a2(0x226)],Ni=(_0x4daaa3,_0x1755a9,_0x36a1ba)=>_0x1755a9 in _0x4daaa3?yi(_0x4daaa3,_0x1755a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36a1ba}):_0x4daaa3[_0x1755a9]=_0x36a1ba,N=(_0x3f5320,_0x185438,_0x49126c)=>Ni(_0x3f5320,typeof _0x185438!=_0x5410a2(0x1f2)?_0x185438+'':_0x185438,_0x49126c);import{CollaborationEvent as _0x58a832,ITransformService as _0x66570c,isTransformMutationsWithChangesetSuccess as _0x4f2573,mapDocumentTypeToUniverType as _0x15f91b,RevisionService as _0x4291a6,isTransformChangesetsSuccess as _0x596bf2,CompressMutationService as _0x19a54c,parseProtocolChangeset as _0x596723,uuidv4 as _0x4076b1,ISnapshotServerService as _0x781d63,parseChangesetToProtocol as _0x3be09d,SnapshotService as _0x495ffc,textEncoder as _0x53a6e2,b64DecodeUnicode as _0x1e11c7,isTransformMutationsWithChangesetFailure as _0x5a9458,UniverCollaborationPlugin as _0x229b71}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1f2fda,Inject as _0x2a67ea,UserManagerService as _0x10e3a5,Disposable as _0xba8b36,UniverInstanceType as _0x6591bc,ILogService as _0x3229e5,IConfigService as _0x54dc50,Optional as _0x38fedb,RxDisposable as _0x11e454,createIdentifier as _0x4f0779,Injector as _0xb9171d,Tools as _0x29cb85,Rectangle as _0x349d7c,ICommandService as _0x51e75f,JSONX as _0x4510ac,CommandType as _0x21f367,IUndoRedoService as _0x384b35,IPermissionService as _0x5a942e,LocaleService as _0x2cfa1d,sequenceExecute as _0x4aa62c,toDisposable as _0x4c369e,DisposableCollection as _0x1fcbec,Workbook as _0x62eeb6,generateRandomId as _0x38c2fb,MentionType as _0x50c1f8,isInternalEditorID as _0x52ebf6,LocalUndoRedoService as _0x2681bb,IContextService as _0x808715,DependentOn as _0x367f7b,Plugin as _0x1808a6,merge as _0xb87e1b,mergeOverrideWithDependencies as _0x400c6f,IAuthzIoService as _0x2e929d,IMentionIOService as _0x554ac2,registerDependencies as _0x5a059c,Quantity as _0x1b3167,touchDependencies as _0x2fc19d}from'@univerjs/core';import{RichTextEditingMutation as _0x43c442}from'@univerjs/docs';import{SheetsSelectionsService as _0x4230a1,SetSelectionsOperation as _0x1b63c7,InsertSheetMutation as _0x47fa51,EmptyMutation as _0x13a043,WorkbookEditablePermission as _0x3078fa,SheetPermissionInitController as _0x4231b0}from'@univerjs/sheets';import{Subject as _0x3a3a31,merge as _0x350ea0,of as _0x4ba3a3,BehaviorSubject as _0xc40a72,takeUntil as _0x3f1efb,ReplaySubject as _0x1326d6,take as _0x39041d,map as _0x3abd4f,shareReplay as _0x2d840f,firstValueFrom as _0x36bd98,concatMap as _0x4d0d28}from'rxjs';import{ITelemetryService as _0x59f2ae}from'@univerjs/telemetry';import{map as _0x271875,take as _0x4bd71c,filter as _0x1eed09,delay as _0x199731,takeUntil as _0x5c1d21}from'rxjs/operators';import{HTTPService as _0x4adef9,ISocketService as _0x3e8cce,MergeInterceptorFactory as _0x5b8ea8,HTTPRequest as _0x15092a,UniverNetworkPlugin as _0x531c34,ThresholdInterceptorFactory as _0x2b1539}from'@univerjs/network';import{ImageSourceType as _0x109204,ImageUploadStatusType as _0x1ac2f5,IImageIoService as _0x126bd0}from'@univerjs/drawing';import{getGlobalObject as _0x1a58a6}from'@univerjs-pro/license';const fs=_0x5410a2(0x18a),vs=_0x5410a2(0x1ba),ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Ir='/universer-api/user/session-ticket',gs=_0x5410a2(0x1b9),Ss=0x7530,di=_0x5410a2(0x2ef),fi=0x4e20,Es=0x4e20,Is=_0x5410a2(0x23e),Ts=0x3,Tr=_0x5410a2(0x24a),Cr=0x3e8,Cs=_0x5410a2(0x257),Rs=_0x5410a2(0x234),Rr=_0x5410a2(0x45c),Or=_0x5410a2(0x46a);function _0x28c4(){var _0x24d166=['unitId\x20is\x20not\x20found','OTHER_CLIENTS_EDITING','session.room-not-exists','[OfflineState]:\x20received\x20rejection.','create','not_collab','updateCollaborator','target','mutations','NOT_FOUND','_substituteRedoStack','_getAPIPrefixPath','repeat','/unit/','UNRECOGNIZED','actions','update','listRoles','sessionStatus','createInstance','substr','byteLength','getSheetBlock','resolve','add','_univerInstanceService','addImageSourceCache','_parse','updateMember','clone','ONLINE','[CollaborationEntity]','_queuedRemoteChangesets','_logService','push','_init','executeCommand','YUUMI_URL_COL_OUT_OF_RANGE','_retryCount','onCommentUpdate','randomBytes','\x20-\x20','blockSize','_invKeySchedule','clamp','capture','_createInitialStateImpl','joinEvent','decryptBlock','ERROR_IMAGE','_append','UNISCRIPT_RUN','_keySchedule','members$','Hex','loadUnit','fetch_missing','image/jpg','_onRemoteRetry','_revisionService','keySize','encrypt','BufferedBlockAlgorithm','ceil','avatar','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','520070LzHFHc','HELLO','c2Prime','UNKNOWN_CODE','YUUMI_RATE_OVER_LIMIT','socket\x20close','unpad','PERSON','PasswordBasedCipher','toggleOffline','CLOSE_ROOM','UPDATE_CURSOR','_unlockTransition','SNAPSHOT_HAS_BEEN_REMOVED','GLOBAL_ROOMS_CNT_EXCEEDS','encode','_doCryptBlock','/object','words','UNIVER_SHEET','_waitForHeartbeatResponse','awaitingChangeset','updateOfflineData','_updateLocalCache','getUnitType','hostname','_replayCachedMutations','Utf8','LICENSE_EXPORT_SIZE_EXCEEDED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','url','apply','focused$','map','dispose','EvpKDF','authzUrl','_tryReconnect','{fileID}','_listenToNetworkCondition','charCodeAt','SUBMIT_CHANGESET_TIMEOUT','revision','getValue','_configService','Decryptor','_emitMembers','JOINING','socket\x20open.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','slice','_commentService','_httpService','subscribe','now','onTransformRemoteChangesetByStateCache','_lockTransition','onSyncEditingCollabCursor','max','[UniverCollaborationClientPlugin]','session.room-cnt-exceeds','OPTIONAL','algo','_members$','UNIVER_PROJECT','CHANGESET_REVISION_CONFILICT','cmd','_createHandler','concat','selections','stopTime','_change$','_initMergeInterceptor','enableAuthServer','1022196IqnLsT','fetchThroughInterceptors','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','_initDependencies','post','_injector','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_LEAVE','_onUserJoin','UNIVER_DOC','list','_telemetryInfo','_startCollaboration','WordArray','_getCurrentRevision','sessionStatus$','_sessions','[CollaborationSession]','getMemberID','_scheduleCompleteTimestamp','SOCKET_FAILED','_updateState','_fetchMissChangesets','error$','POST','reject','toString','_getSignURL','_timeoutTimer','shouldCloseConn','YUUMI_ASYNCIO_CANCELLED','__creator','pauseCollaboration','__Key__','rev','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','SerializableCipher','encryptBlock','_localCacheService','resourceIDs','_onLocalMutation','memberID','_clearRetryConnectingTimer','result','updatePermissionPoint','createEncryptor','extend','LIVESHARE_REQUEST_HOST','eventID','HttpExport','offline','debug','submit\x20changeset\x20error!','baseRev','event$','HmacMD5','_sessionStatus$','msCrypto','People','_iKey','lib','transformStack\x20failed!','status','floor','_onCombEvent','_onConflict','infoRsp','clear','onTransformSelections','COMPLETION_FINISHED','_waitCount','roles','loginUrlKey','/-/object/-/batch_allowed','318OKBLNg','params','salt','name','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','originalMeta','crypto','LIVESHARE_OPERATION','_transformSelections','image/jpeg','getRandomValues','UserProfileImg','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SHOULD_CLOSE_CONN','collaMsg','saveImage','_cipher','requestParams','unknown','/universer-api/snapshot/','_status$','find','PERMISSION_DENIED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','pad','filter','AWAITING_WITH_PENDING','onTransformRemoteChangesetByIMECache','WECHAT_HAS_BEEN_BOUND','115891hTtuDL','8ANgkym','_sendingTimer','USERS_ENTER','sin','getTime','_getDownloadEndpointURL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearScheduledTask','setShowComponents','_socketReady','_collaborationPaused','getCollabEntity$','socket$','requireSession','univer-pro.collaboration-client.network-condition.service','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','changesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LICENSE_DISTRO_REJECTED','_ENC_XFORM_MODE','every','size','_acknowledgedAwaitingChangeset','_exhaustRemoteChangesetQueue','[CollaborationUndoRedoService]','resend','?size=','putCollaborators','&assign=','UNDEFINED','close$','charAt','Cipher','_executeRemoteChangeset','_getLoginPath','asObservable','_clearLocalCache','_initRequestHeader','_transformRemoteChangesetByStateCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_changesetSessionId','Undefined','COMPRESS_MUTATION_SEND','next','transformSelections','compose','_socket$','\x20in\x20_schedule.','_config','BASE64','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','members','HttpImport','stringify','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','FAIL','getAllMembers','transformChangesets','_resendTimeout','_getAPIPrefix','onCommandExecuted','_resendWithTimeout','APPLY_REJECT','_clearUndo','collaborators','getConfig','_handler','userID','/universer-api/uniscript','_mode','_memberService','cfg','sheets','[PendingState]:\x20received\x20rejection.','registerHTTPInterceptor','\x0aCurrent:\x20','_nDataBytes','join','_transformRemoteChangesetByIMECache','LIVESHARE_NEW_HOST','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onRemoteChangeset','abs','\x0aAfter:\x20','_socket','sid','csShouldRetryEvent','onRemoteAck','init','_collaborationTimeoutTimer','collaboratorID','getTypeOfUnitAdded$','/universer-api/file/{fileID}/sign-url','padding','CHANGESET_SHOULD_RETRY','ALREADY_EXISTS','reduce','collabWebSocketUrl','INVITE_CODE_ALREADY_BOUND','Hasher','responseType','delete','leaveEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_keyPriorReset','/universer-api/snapshot','onTransformState','\x20to\x20','conflict','_shouldReportTelemetry','execute','_doFinalize','entries','_sendHeartbeat','waitForRoom$','_unitInfo$','CONFLICT','createSocket','_collaborationSessionService','indexOf','format','onRemoteRetry','[CollaborationState]:\x20apply\x20error!','unitID','fetching\x20missing\x20changesets\x20from\x20','objectActions','get','/role','getInterceptPoints','onLocalMutation','getUnitStatus$','_compressMutationService','MSG_FOR_ERROR','message$','hasher','type','getImageSourceCache','univer-pro.collaboration-client-socket-service','interceptor','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LEAVE','complete','transformMutationsWithChangeset','LOGIN_FAILED','addHandlerCallback','set','_key','&to=','getFocusedUnit','listCollaborators','getCollabEntity','INVITE_CODE_HAS_BEEN_UES','HEARTBEAT_INTERVAL','SNAPSHOT_URL_KEY','UNAUTHENTICATED','_initCloseConn','_undoRedoService','_instanceService','pipe','INVITE_CODE_REQUIRED','/resources','_clearHeartbeatTimer','snapshotServerUrl','INVALID_ARGUMENT','updateSnapshot','?url=','onlyLocal','onTransformIME','FileId','7011496mQKRds','updateCursorEvent','_onMessage','CBC','_xformMode','CHANGESET_ACK','_getUndoStack','_transformUndoredo','put','_DEC_XFORM_MODE','_resendTimer','uploadFileServerUrl','EMAIL_HAS_BEEN_BOUND','/block/','unitId','ENSURE_SNAPSHOT_EXECUTION','awaiting_with_pending','_transformStateCache','compute','pending','_decreaseWaiting','[CollaborationSessionService]:\x20socket\x20error','permissionRejEvent','PENDING','setConfig','Base','_networkConditionService','_schedule','splice','_awaitingChangeset','PY_RUNTIME_SCRIPT_ERROR','[OfflineState]:\x20received\x20changeset.','image/gif','function','_removeRoom','close','_onConnectionOpen','_data','_commandService','session','symbol','onload','_remoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','setCurrentUser','roomInfos','MOBILE_HAS_BEEN_BOUND','RECV','_clearCollaborationTimeoutTimer','_incrementRevisionNumber','collaboration-client.config','reqId','LICENSE_MAX_UNITS_EXCEEDED','error','_applyRemoteChangeset','unitInfo$','_disableEditing','byteOffset','objectType','UPDATE_PERMISSION_OBJ','_onRemoteACK','c1Prime','removeMember','_updateStatus','_tryEnsureSocket','encodeURIComponent','CHANGESET_REJ','_isPermissionRej','[DataLoaderService]','forEach','headers','getActiveSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','joinRsp','state','YUUMI_UNABLE_LOAD_URL','enc','_candidateSocket','_type','COMPRESS_MUTATION_APPLY','_entities','_collaborationUIEventService','enableCollaboration','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','exports','FETCH_MISS','_map','transformUndoRedo','isPermissionRej','AWAITING','_joinRoom','_sheetTransformSelectionsService','defineProperty','decrypt','textRanges','origin','_event$','HMAC','confirm','CONNECTOR_DATA_TOO_LARGE','fetchMiss','_syncEditingCollabCursor','default','AES','YUUMI_NO_CUBOID_FOR_QUESTION','saveChangeset','/universer-api/oidc/authpage','Malformed\x20UTF-8\x20data','BlockCipher','JOIN_ROOM_NOT_EXISTS','INTERNAL_ERROR','COMMENT_UPDATE','APPLY_REVISION_CONFILICT','_hasher','/new_changes','1798992DQRtwG','RETRY_CONNECTING_MAX_COUNT','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','dispose$','_getCtorByUniverType','ciphertext','_eventService','patch','data','method','ivSize','_transformService','LOCAL_CACHE_INTERVAL','loadDoc','_throwTelemetryCollaborationNewChangeset','iterations','save\x20fail\x20reason\x20is\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','NoPadding','values','ERROR_IMAGE_TYPE','/collaborator','_hash','key','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','/universer-api/comb','_onFetchMissResult','_initUnitPermissionChange','_state','/-/object/list','localeService','toggleOnline','LICENSE_IMPORT_SIZE_EXCEEDED','liveShareOperation','SUBMIT_CHANGESET','/rev/','_onUserLeave','Pkcs7','_socketMessageSubscription','_localeService','_createInitialState','_onRemoteChangeset','onMissedChangesetFetched','collaboration-client.local-cache-service','body','__esModule','mode','loadUnitOfRevision','_iv','APPLY_PERMISSION_DENIED','_sendHeartbeatTimer','OpenSSL','_singleActiveUnitService','reconnect','onSendChangeset','_reverseMap','_getRedoStack','_permissionService','code','_HTTPService','MD5','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','mixIn','SNAPSHOT_INVALID_SNAPSHOT','kdf','_prevBlock','call','_substituteUndoStack','_doCreateSocket','HEARTBEAT','hasOwnProperty','formatter','min','PSEUDO_FETCH_MISSING_RESULT','YUUMI_AI_RUN_FAILED','title','_snapshotService','socketService','_handlerCallback','13885002OWGNaL','JOIN','has','_retryConnectingTimer','disposeWithMe','commentUpdateEvent','closeSession','parse','$super','reverse','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_DUPLICATED','allowed','deepClone','_state$','[CollaborationSessionService]','_sender','/object/','open$','_scheduleCollaborationTimeoutTimer','UNIVER_SLIDE','getOwnPropertyDescriptor','APPLY_NON_SEQUENTIAL_REVISION','_roomMembers','onRemoteRej','UnitEmbedded','LIVESHARE_TERMINATE','fetchMissingChangesets','EMAIL_VERIFY_CODE_MISMATCH','UNIVER_COLLABORATION_CLIENT_PLUGIN','_roomCreated$','JOIN_ROOM_FULL','routeKey','readyForCollab','univer-pro.collaboration-client.single-active-unit-service','location','JOIN_ROOM_FAILED','connection\x20error','emitEvent','readInt32LE','_imageSourceCache','&source=','_checkMissing','_transformStack','/universer-api/authz','PERMISSION_REJ','_transformIMECache','Univer','getCurrentUser','fromCharCode','FETCH_MISSING','INGEST','getTypeOfUnitDisposed$','objectID','CipherParams','Base64','synced','subject','reset','replace','NEW_CHANGESETS','OFFLINE','_onJoinRoomEvent','_transitionLocked','collabSubmitChangesetUrl','_socketService','action','_onRemoteRejected','_unitID','objects','_process','_getSendChangesetTimeout','refreshPermission','_onConnectionFailed','snapshot','getCurrentSelections','retryConnectingInterval','initWorkbookPermissionChange','editingUnit','batchAllowed','_nRounds','INVALID_INVITE_CODE','_doProcessBlock','enableOfflineEditing','NO_OTHER_CLIENTS_EDITING','UUID','MOBILE_VERIFY_CODE_MISMATCH','liveShareNewHost','SHA1','[PendingState]:\x20unhandled\x20univer\x20type:\x20','isArray','IDLE','status$','SUCCUSS','getSnapshotAPIPath','ERROR_EXCEED_SIZE','image/png','HEARTBEAT_TIMEOUT','_members','prototype','finalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','unsubscribe','_commentUpdate$','_pendingMutations','_submitChangeset','JOIN_ROOM_PERMISSION_DENIED','UNKNOWN_CMD','_getUploadFileURL','entityInit$','session.room-full','_doReset','onMissingChangesets','_toggleOnline','_onOffline','_createSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_replaceFileID','override','_registerDependencies','_toggleOffline','_userManagerService','online$','range','_clearTimeoutTimer','89509xRbJKo','_oKey','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','localCacheService','_startTelemetryCollaborationNewChangeset','state$','SOCKET_FAILED_RETRY','string','getUnitId','DEFAULT_FILE_NAME','src','_clearRedo','createDecryptor','session.join-failed','YUUMI_SUBSCRIPTION_NOT_FOUND','_changesetReqId','getCurrentRevOfUnit','appendMutation','/allowed','newCsEvent','m2Prime','MUTATION','_entityInit$','_createHmacHelper','length','send','USER_NOT_INVITED_CODE','OTHER_CLIENT_EDITING','_snapshotServerService','sigBytes','csRejEvent','x-univer-host','Encryptor','then','_rescheduleHeartbeat','image/bmp','BlockCipherMode','_telemetryService'];_0x28c4=function(){return _0x24d166;};return _0x28c4();}var vi=(_0x125ff1=>(_0x125ff1[_0x125ff1[_0x5410a2(0x443)]=0x0]=_0x5410a2(0x443),_0x125ff1[_0x125ff1['OK']=0x1]='OK',_0x125ff1[_0x125ff1[_0x5410a2(0x238)]=0x2]=_0x5410a2(0x238),_0x125ff1[_0x125ff1[_0x5410a2(0x41e)]=0x3]=_0x5410a2(0x41e),_0x125ff1[_0x125ff1['NOT_FOUND']=0x4]=_0x5410a2(0x33a),_0x125ff1[_0x125ff1[_0x5410a2(0x1bb)]=0x5]=_0x5410a2(0x1bb),_0x125ff1[_0x125ff1[_0x5410a2(0x180)]=0x6]=_0x5410a2(0x180),_0x125ff1[_0x125ff1[_0x5410a2(0x1c4)]=0x7]=_0x5410a2(0x1c4),_0x125ff1[_0x125ff1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x125ff1[_0x125ff1[_0x5410a2(0x403)]=0x9]=_0x5410a2(0x403),_0x125ff1[_0x125ff1[_0x5410a2(0x1b0)]=0xa]=_0x5410a2(0x1b0),_0x125ff1[_0x125ff1[_0x5410a2(0x2e4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x125ff1[_0x125ff1[_0x5410a2(0x44d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x125ff1[_0x125ff1[_0x5410a2(0x2aa)]=0xd]=_0x5410a2(0x2aa),_0x125ff1[_0x125ff1[_0x5410a2(0x414)]=0xe]=_0x5410a2(0x414),_0x125ff1[_0x125ff1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5410a2(0x3b4),_0x125ff1[_0x125ff1[_0x5410a2(0x27e)]=0x1771]=_0x5410a2(0x27e),_0x125ff1[_0x125ff1[_0x5410a2(0x380)]=0x1772]=_0x5410a2(0x380),_0x125ff1[_0x125ff1[_0x5410a2(0x1d9)]=0x1773]=_0x5410a2(0x1d9),_0x125ff1[_0x125ff1[_0x5410a2(0x464)]=0x1b59]=_0x5410a2(0x464),_0x125ff1[_0x125ff1[_0x5410a2(0x2a4)]=0x1b5a]=_0x5410a2(0x2a4),_0x125ff1[_0x125ff1[_0x5410a2(0x23a)]=0x1b5b]=_0x5410a2(0x23a),_0x125ff1[_0x125ff1[_0x5410a2(0x26f)]=0x1b5c]=_0x5410a2(0x26f),_0x125ff1[_0x125ff1[_0x5410a2(0x299)]=0x1b5d]='APPLY_DUPLICATED',_0x125ff1[_0x125ff1[_0x5410a2(0x22d)]=0x1f41]=_0x5410a2(0x22d),_0x125ff1[_0x125ff1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5410a2(0x1fe),_0x125ff1[_0x125ff1[_0x5410a2(0x435)]=0x232a]=_0x5410a2(0x435),_0x125ff1[_0x125ff1[_0x5410a2(0x25e)]=0x232b]=_0x5410a2(0x25e),_0x125ff1[_0x125ff1[_0x5410a2(0x38f)]=0x232c]=_0x5410a2(0x38f),_0x125ff1[_0x125ff1[_0x5410a2(0x438)]=0x232d]=_0x5410a2(0x438),_0x125ff1[_0x125ff1[_0x5410a2(0x215)]=0x2711]=_0x5410a2(0x215),_0x125ff1[_0x125ff1[_0x5410a2(0x356)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x125ff1[_0x125ff1[_0x5410a2(0x377)]=0x2713]=_0x5410a2(0x377),_0x125ff1[_0x125ff1[_0x5410a2(0x319)]=0x2714]=_0x5410a2(0x319),_0x125ff1[_0x125ff1[_0x5410a2(0x232)]=0x271a]=_0x5410a2(0x232),_0x125ff1[_0x125ff1[_0x5410a2(0x3dc)]=0x271b]=_0x5410a2(0x3dc),_0x125ff1[_0x125ff1[_0x5410a2(0x302)]=0x271c]=_0x5410a2(0x302),_0x125ff1[_0x125ff1[_0x5410a2(0x3bf)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x125ff1[_0x125ff1[_0x5410a2(0x40c)]=0x271e]=_0x5410a2(0x40c),_0x125ff1[_0x125ff1[_0x5410a2(0x289)]=0x271f]=_0x5410a2(0x289),_0x125ff1[_0x125ff1['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5410a2(0x298),_0x125ff1[_0x125ff1[_0x5410a2(0x1e8)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x125ff1[_0x125ff1[_0x5410a2(0x1b8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x125ff1[_0x125ff1[_0x5410a2(0x2df)]=0x2ee2]=_0x5410a2(0x2df),_0x125ff1[_0x125ff1[_0x5410a2(0x1c0)]=0x2ee3]=_0x5410a2(0x1c0),_0x125ff1[_0x125ff1[_0x5410a2(0x325)]=0x2ee4]=_0x5410a2(0x325),_0x125ff1[_0x125ff1[_0x5410a2(0x183)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x125ff1[_0x125ff1[_0x5410a2(0x424)]=0x32c9]=_0x5410a2(0x424),_0x125ff1[_0x125ff1[_0x5410a2(0x1f8)]=0x32ca]=_0x5410a2(0x1f8),_0x125ff1[_0x125ff1[_0x5410a2(0x1d6)]=0x32cb]=_0x5410a2(0x1d6),_0x125ff1[_0x125ff1[_0x5410a2(0x33f)]=-0x1]=_0x5410a2(0x33f),_0x125ff1))(vi||{}),Z=(_0x353102=>(_0x353102[_0x353102['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x353102[_0x353102[_0x5410a2(0x3c7)]=0x1]=_0x5410a2(0x3c7),_0x353102[_0x353102[_0x5410a2(0x386)]=0x2]=_0x5410a2(0x386),_0x353102[_0x353102[_0x5410a2(0x2a2)]=0x3]=_0x5410a2(0x2a2),_0x353102[_0x353102[_0x5410a2(0x3b3)]=0x4]=_0x5410a2(0x3b3),_0x353102[_0x353102[_0x5410a2(0x33f)]=-0x1]=_0x5410a2(0x33f),_0x353102))(Z||{}),F=(_0x46d5ef=>(_0x46d5ef[_0x46d5ef[_0x5410a2(0x2f9)]=0x0]=_0x5410a2(0x2f9),_0x46d5ef[_0x46d5ef['HELLO']=0x1]=_0x5410a2(0x374),_0x46d5ef[_0x46d5ef[_0x5410a2(0x28f)]=0x2]='JOIN',_0x46d5ef[_0x46d5ef[_0x5410a2(0x1ad)]=0x3]='LEAVE',_0x46d5ef[_0x46d5ef[_0x5410a2(0x2c1)]=0x4]=_0x5410a2(0x2c1),_0x46d5ef[_0x46d5ef[_0x5410a2(0x284)]=0x5]=_0x5410a2(0x284),_0x46d5ef[_0x46d5ef[_0x5410a2(0x1f9)]=0x6]=_0x5410a2(0x1f9),_0x46d5ef[_0x46d5ef['UNRECOGNIZED']=-0x1]=_0x5410a2(0x33f),_0x46d5ef))(F||{}),pe=(_0x6c13db=>(_0x6c13db[_0x6c13db[_0x5410a2(0x376)]=0x0]=_0x5410a2(0x376),_0x6c13db[_0x6c13db['OK']=0x1]='OK',_0x6c13db[_0x6c13db[_0x5410a2(0x45d)]=0x2]=_0x5410a2(0x45d),_0x6c13db[_0x6c13db[_0x5410a2(0x2ad)]=0x3e9]='JOIN_ROOM_FULL',_0x6c13db[_0x6c13db[_0x5410a2(0x237)]=0x3ea]=_0x5410a2(0x237),_0x6c13db[_0x6c13db[_0x5410a2(0x2f8)]=0x3eb]=_0x5410a2(0x2f8),_0x6c13db[_0x6c13db[_0x5410a2(0x381)]=0x3ec]=_0x5410a2(0x381),_0x6c13db[_0x6c13db[_0x5410a2(0x33f)]=-0x1]=_0x5410a2(0x33f),_0x6c13db))(pe||{}),pi=(_0x545fd6=>(_0x545fd6[_0x545fd6[_0x5410a2(0x44f)]=0x0]=_0x5410a2(0x44f),_0x545fd6[_0x545fd6[_0x5410a2(0x45a)]=0x1]=_0x5410a2(0x45a),_0x545fd6[_0x545fd6[_0x5410a2(0x3ef)]=0x2]='HttpExport',_0x545fd6[_0x545fd6[_0x5410a2(0x2a7)]=0x3]=_0x5410a2(0x2a7),_0x545fd6[_0x545fd6['UnitSnapshot']=0x4]='UnitSnapshot',_0x545fd6[_0x545fd6[_0x5410a2(0x413)]=0x5]=_0x5410a2(0x413),_0x545fd6[_0x545fd6[_0x5410a2(0x33f)]=-0x1]='UNRECOGNIZED',_0x545fd6))(pi||{});const Os='collaboration_new_changeset';function bs(_0x18fefd){var _0x2dd334=_0x5410a2;return JSON[_0x2dd334(0x45b)](_0x18fefd)['length'];}var ne=(_0x197b82=>(_0x197b82[_0x5410a2(0x326)]=_0x5410a2(0x326),_0x197b82[_0x5410a2(0x41e)]=_0x5410a2(0x41e),_0x197b82[_0x5410a2(0x195)]='CONFLICT',_0x197b82[_0x5410a2(0x37d)]='CLOSE_ROOM',_0x197b82[_0x5410a2(0x2b2)]=_0x5410a2(0x2b2),_0x197b82[_0x5410a2(0x311)]='SOCKET_FAILED_RETRY',_0x197b82[_0x5410a2(0x3d2)]=_0x5410a2(0x3d2),_0x197b82[_0x5410a2(0x39c)]=_0x5410a2(0x39c),_0x197b82))(ne||{});class ve{constructor(){var _0x2610de=_0x5410a2;N(this,_0x2610de(0x22a),new _0x3a3a31()),N(this,_0x2610de(0x3f4),this[_0x2610de(0x22a)]['asObservable']());}['emitEvent'](_0x212aa5){var _0x39047d=_0x5410a2;this[_0x39047d(0x22a)]['next'](_0x212aa5);}}class mi{constructor(){var _0x51e1b6=_0x5410a2;N(this,_0x51e1b6(0x2f5),new _0x3a3a31()),N(this,'commentUpdate$',this[_0x51e1b6(0x2f5)][_0x51e1b6(0x449)]());}['onCommentUpdate'](_0x5e3e3a){var _0x1abd47=_0x5410a2;this[_0x1abd47(0x2f5)][_0x1abd47(0x451)](_0x5e3e3a);}}var ys=Object[_0x5410a2(0x2a3)],Ns=(_0x48e6da,_0x17b059,_0x50bf28,_0x128d84)=>{var _0x4546de=_0x5410a2;for(var _0x2987a6=_0x128d84>0x1?void 0x0:_0x128d84?ys(_0x17b059,_0x50bf28):_0x17b059,_0x58077f=_0x48e6da[_0x4546de(0x323)]-0x1,_0xb64250;_0x58077f>=0x0;_0x58077f--)(_0xb64250=_0x48e6da[_0x58077f])&&(_0x2987a6=_0xb64250(_0x2987a6)||_0x2987a6);return _0x2987a6;},Ft=(_0x2ef5b7,_0x4d1fe3)=>(_0x1d8dc1,_0x429ab4)=>_0x4d1fe3(_0x1d8dc1,_0x429ab4,_0x2ef5b7);let we=class extends _0xba8b36{constructor(_0x2c1454,_0x1562f2){var _0x22c7c6=_0x5410a2;super(),N(this,_0x22c7c6(0x2a5),new Map()),N(this,_0x22c7c6(0x2ac),new _0x3a3a31()),(this[_0x22c7c6(0x34a)]=_0x2c1454,this[_0x22c7c6(0x307)]=_0x1562f2,this[_0x22c7c6(0x292)](_0x350ea0(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x6591bc[_0x22c7c6(0x386)])['pipe'](_0x271875(_0x18f91e=>_0x18f91e[_0x22c7c6(0x313)]())),this[_0x22c7c6(0x34a)][_0x22c7c6(0x2c2)](_0x6591bc[_0x22c7c6(0x3c7)])[_0x22c7c6(0x1bf)](_0x271875(_0x1b138e=>_0x1b138e[_0x22c7c6(0x313)]())),this['_univerInstanceService'][_0x22c7c6(0x2c2)](_0x6591bc[_0x22c7c6(0x2a2)])[_0x22c7c6(0x1bf)](_0x271875(_0x487dcb=>_0x487dcb[_0x22c7c6(0x313)]())))[_0x22c7c6(0x3a8)](_0x45addf=>this[_0x22c7c6(0x1ec)](_0x45addf))));}[_0x5410a2(0x193)](_0x47a196){var _0x59ea11=_0x5410a2;return this[_0x59ea11(0x2a5)][_0x59ea11(0x290)](_0x47a196)?_0x4ba3a3(this[_0x59ea11(0x2a5)][_0x59ea11(0x19f)](_0x47a196)):this[_0x59ea11(0x2ac)][_0x59ea11(0x1bf)](_0x271875(_0x498921=>{var _0x2b3258=_0x59ea11;if(_0x498921===_0x47a196)return this[_0x2b3258(0x2a5)][_0x2b3258(0x19f)](_0x498921);}));}['setCurrentUser'](_0x35551e){var _0x44b54b=_0x5410a2;this[_0x44b54b(0x307)][_0x44b54b(0x1f6)](_0x35551e);}[_0x5410a2(0x2be)](){var _0x5f1207=_0x5410a2;return this[_0x5f1207(0x307)][_0x5f1207(0x2be)]();}[_0x5410a2(0x34d)](_0x3386b2,_0x23e688){var _0x2bbe1f=_0x5410a2;let _0x35298a=this[_0x2bbe1f(0x2a5)]['get'](_0x3386b2);_0x35298a||(_0x35298a=new Ds(),this[_0x2bbe1f(0x2a5)]['set'](_0x3386b2,_0x35298a),this['_roomCreated$'][_0x2bbe1f(0x451)](_0x3386b2)),_0x35298a[_0x2bbe1f(0x34d)](_0x23e688);}[_0x5410a2(0x208)](_0x54d99e,_0x47e3b6){var _0x56509f=_0x5410a2;const _0x30b65c=this[_0x56509f(0x2a5)][_0x56509f(0x19f)](_0x54d99e);_0x30b65c&&_0x30b65c[_0x56509f(0x208)](_0x47e3b6);}['getRoom'](_0x3fda25){var _0x3fffdd=_0x5410a2;return this[_0x3fffdd(0x2a5)][_0x3fffdd(0x19f)](_0x3fda25);}['getMember'](_0x41967d,_0x101a47){var _0x272c38=_0x5410a2;const _0x47a673=this[_0x272c38(0x2a5)][_0x272c38(0x19f)](_0x41967d);if(_0x47a673)return _0x47a673['getMember'](_0x101a47);}[_0x5410a2(0x1ec)](_0x460744){var _0x254456=_0x5410a2;const _0x1f1555=this['_roomMembers']['get'](_0x460744);_0x1f1555&&(_0x1f1555[_0x254456(0x395)](),this['_roomMembers'][_0x254456(0x186)](_0x460744));}[_0x5410a2(0x395)](){var _0x452d46=_0x5410a2;this[_0x452d46(0x2a5)][_0x452d46(0x20f)](_0x3432af=>_0x3432af[_0x452d46(0x395)]()),this[_0x452d46(0x2a5)][_0x452d46(0x401)](),this[_0x452d46(0x2ac)][_0x452d46(0x1ae)]();}};we=Ns([Ft(0x0,_0x1f2fda),Ft(0x1,_0x2a67ea(_0x10e3a5))],we);class Ds extends _0xba8b36{constructor(){var _0x437651=_0x5410a2;super(...arguments),N(this,'_members',new Map()),N(this,_0x437651(0x3b2),new _0xc40a72(this[_0x437651(0x2f0)])),N(this,_0x437651(0x366),this[_0x437651(0x3b2)]['asObservable']());}[_0x5410a2(0x395)](){this['_members']['clear']();}[_0x5410a2(0x34d)](_0x395a74){var _0x58912c=_0x5410a2;this[_0x58912c(0x2f0)][_0x58912c(0x1b2)](_0x395a74[_0x58912c(0x3e7)],_0x395a74),this[_0x58912c(0x3a1)]();}[_0x5410a2(0x208)](_0x4d8705){this['_members']['delete'](_0x4d8705);}['getMember'](_0x45be77){var _0x1ab365=_0x5410a2;return this[_0x1ab365(0x2f0)][_0x1ab365(0x19f)](_0x45be77);}[_0x5410a2(0x45e)](){var _0xe5273a=_0x5410a2;return Array['from'](this[_0xe5273a(0x2f0)][_0xe5273a(0x251)]());}[_0x5410a2(0x3a1)](){var _0x2e6926=_0x5410a2;this[_0x2e6926(0x3b2)][_0x2e6926(0x451)](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0xf93a46,_0x1112a6,_0x30ef91,_0x3bad49)=>{var _0x38b8ed=_0x5410a2;for(var _0xc19abe=_0x3bad49>0x1?void 0x0:_0x3bad49?Us(_0x1112a6,_0x30ef91):_0x1112a6,_0x3bda85=_0xf93a46[_0x38b8ed(0x323)]-0x1,_0x439a79;_0x3bda85>=0x0;_0x3bda85--)(_0x439a79=_0xf93a46[_0x3bda85])&&(_0xc19abe=_0x439a79(_0xc19abe)||_0xc19abe);return _0xc19abe;},Ce=(_0x2a4d4c,_0x3da300)=>(_0x6fd3b1,_0x16fd1c)=>_0x3da300(_0x6fd3b1,_0x16fd1c,_0x2a4d4c),ge=(_0x3c3193=>(_0x3c3193[_0x3c3193[_0x5410a2(0x2e9)]=0x0]='IDLE',_0x3c3193[_0x3c3193[_0x5410a2(0x3a2)]=0x1]='JOINING',_0x3c3193[_0x3c3193[_0x5410a2(0x2cb)]=0x2]='OFFLINE',_0x3c3193[_0x3c3193[_0x5410a2(0x34f)]=0x3]=_0x5410a2(0x34f),_0x3c3193))(ge||{});const Vt={[pe['FAIL']]:_0x5410a2(0x318),[pe[_0x5410a2(0x2ad)]]:_0x5410a2(0x2fc),[pe[_0x5410a2(0x237)]]:_0x5410a2(0x333),[pe[_0x5410a2(0x2f8)]]:'session.room-permission-denied',[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5410a2(0x3af)};let gt=class extends _0x11e454{constructor(_0x41df0e,_0x5d0a2d,_0x1316d2,_0x553210,_0x136419,_0x286bf6,_0x1f57f8,_0x3ff08e){var _0x5bd5e2=_0x5410a2;super(),N(this,_0x5bd5e2(0x3f6),new _0xc40a72(0x0)),N(this,_0x5bd5e2(0x3cd),this[_0x5bd5e2(0x3f6)][_0x5bd5e2(0x449)]()),N(this,_0x5bd5e2(0x22a),new _0x3a3a31()),N(this,_0x5bd5e2(0x3f4),this['_event$'][_0x5bd5e2(0x449)]()),N(this,_0x5bd5e2(0x47a)),N(this,_0x5bd5e2(0x264)),N(this,_0x5bd5e2(0x47f)),N(this,_0x5bd5e2(0x18e),!0x1),N(this,'_telemetryInfo',null),(this[_0x5bd5e2(0x2d2)]=_0x41df0e,this[_0x5bd5e2(0x352)]=_0x1316d2,this[_0x5bd5e2(0x39f)]=_0x553210,this['_memberService']=_0x136419,this[_0x5bd5e2(0x3a6)]=_0x286bf6,this[_0x5bd5e2(0x21b)]=_0x1f57f8,this[_0x5bd5e2(0x330)]=_0x3ff08e,this['_shouldReportTelemetry']=!!this[_0x5bd5e2(0x330)],_0x5d0a2d[_0x5bd5e2(0x1bf)](_0x3f1efb(this[_0x5bd5e2(0x241)]))[_0x5bd5e2(0x3a8)](_0x352215=>{var _0x2f810e=_0x5bd5e2,_0x3dd787;typeof _0x352215>'u'||(this[_0x2f810e(0x47a)]=_0x352215,_0x352215?(this[_0x2f810e(0x224)](_0x352215),this[_0x2f810e(0x264)]=_0x352215[_0x2f810e(0x1a6)][_0x2f810e(0x3a8)](_0x5cdc15=>{var _0x16d3e3=_0x2f810e;_0x5cdc15['routeKey']===this[_0x16d3e3(0x2d2)]&&this[_0x16d3e3(0x3fe)](_0x5cdc15);})):(this[_0x2f810e(0x24c)](),this[_0x2f810e(0x3f6)][_0x2f810e(0x451)](0x2),(_0x3dd787=this[_0x2f810e(0x264)])==null||_0x3dd787[_0x2f810e(0x2f4)](),this['_socketMessageSubscription']=null));}));}get[_0x5410a2(0x343)](){var _0xc2fad8=_0x5410a2;return this[_0xc2fad8(0x3f6)]['getValue']();}[_0x5410a2(0x3d0)](){var _0x10f218=_0x5410a2,_0x2dc6ca,_0xb59dab;return(_0xb59dab=(_0x2dc6ca=this[_0x10f218(0x47a)])==null?void 0x0:_0x2dc6ca[_0x10f218(0x3e7)])!=null?_0xb59dab:null;}['dispose'](){var _0x4aaf41=_0x5410a2;super['dispose'](),this[_0x4aaf41(0x241)]['next'](),this['dispose$'][_0x4aaf41(0x1ae)]();}[_0x5410a2(0x1ed)](){var _0x1c76c7=_0x5410a2,_0x59b3a0,_0x509203;this[_0x1c76c7(0x24c)](),(_0x59b3a0=this[_0x1c76c7(0x47a)])==null||_0x59b3a0['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x509203=this['_socket'])==null||_0x509203[_0x1c76c7(0x1ed)](),this[_0x1c76c7(0x22a)][_0x1c76c7(0x1ae)](),this[_0x1c76c7(0x3f6)]['complete'](),this[_0x1c76c7(0x395)]();}[_0x5410a2(0x3fe)](_0x17ba25){var _0x14d693=_0x5410a2;_0x17ba25['cmd']===F['JOIN']?this[_0x14d693(0x2cc)](_0x17ba25):_0x17ba25[_0x14d693(0x3b5)]===F['RECV']&&this['_onRecvEvent'](_0x17ba25);}[_0x5410a2(0x224)](_0x2cc3f6){var _0x14c37e=_0x5410a2;this[_0x14c37e(0x3f6)][_0x14c37e(0x451)](0x1),_0x2cc3f6[_0x14c37e(0x324)]({'cmd':F[_0x14c37e(0x28f)],'routeKey':this[_0x14c37e(0x2d2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14c37e(0x2d2)]}]}});}['_onJoinRoomEvent'](_0x56cec6){var _0x2e4b41=_0x5410a2,_0x3e390a;if(_0x56cec6['code']in Vt){this[_0x2e4b41(0x21b)]['emitEvent']({'id':ne[_0x2e4b41(0x2b2)],'data':Vt[_0x56cec6[_0x2e4b41(0x278)]]}),this['_sessionStatus$'][_0x2e4b41(0x451)](0x2);return;}this[_0x2e4b41(0x3f6)][_0x2e4b41(0x451)](0x3);const _0x1dcef3=(_0x3e390a=_0x56cec6[_0x2e4b41(0x246)][_0x2e4b41(0x1f7)][this[_0x2e4b41(0x2d2)]])==null?void 0x0:_0x3e390a[_0x2e4b41(0x459)];_0x1dcef3&&_0x1dcef3[_0x2e4b41(0x20f)](_0x270f4d=>this['_memberService']['updateMember'](this[_0x2e4b41(0x2d2)],_0x270f4d));}['_onRecvEvent'](_0x15cf1b){var _0x5a3198=_0x5410a2;try{const _0xa02a10=_0x15cf1b[_0x5a3198(0x246)];switch(_0xa02a10[_0x5a3198(0x3ee)]){case _0x58a832['USERS_ENTER']:this['_onUserJoin'](_0xa02a10),this[_0x5a3198(0x22a)][_0x5a3198(0x451)](_0xa02a10);break;case _0x58a832[_0x5a3198(0x3c5)]:this[_0x5a3198(0x262)](_0xa02a10),this[_0x5a3198(0x22a)][_0x5a3198(0x451)](_0xa02a10);break;case _0x58a832[_0x5a3198(0x1cf)]:case _0x58a832[_0x5a3198(0x17f)]:this[_0x5a3198(0x23f)](),this[_0x5a3198(0x1fa)](),this[_0x5a3198(0x22a)]['next'](_0xa02a10);break;case _0x58a832[_0x5a3198(0x1a5)]:this['_logService']['error'](_0x5a3198(0x24e)+JSON[_0x5a3198(0x45b)](_0xa02a10)),this[_0x5a3198(0x22a)][_0x5a3198(0x451)](_0xa02a10);break;case _0x58a832[_0x5a3198(0x239)]:this[_0x5a3198(0x3a6)][_0x5a3198(0x358)](_0xa02a10[_0x5a3198(0x246)]),this['_event$'][_0x5a3198(0x451)](_0xa02a10);break;default:this['_event$']['next'](_0xa02a10);}}catch(_0x4dfd5a){this[_0x5a3198(0x352)][_0x5a3198(0x1ff)](_0x4dfd5a,_0x15cf1b);}}[_0x5410a2(0x3c6)](_0x528cf4){var _0x3dd751=_0x5410a2;this[_0x3dd751(0x46c)][_0x3dd751(0x34d)](this['_unitID'],_0x528cf4['data']);}['_onUserLeave'](_0x5ba68b){var _0x298d4c=_0x5410a2;this[_0x298d4c(0x46c)]['removeMember'](this['_unitID'],_0x5ba68b[_0x298d4c(0x246)][_0x298d4c(0x3e7)]);}async['send'](_0x12ac6a,_0x523b84){var _0x2bc11c=_0x5410a2;if(this[_0x2bc11c(0x343)]!==0x3||!this[_0x2bc11c(0x47a)])throw new Error(_0x2bc11c(0x2f3));try{_0x12ac6a['eventID']===_0x58a832[_0x2bc11c(0x260)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2bc11c(0x30f)](_0x12ac6a)),this[_0x2bc11c(0x47a)][_0x2bc11c(0x324)]({'cmd':F[_0x2bc11c(0x2c1)],'routeKey':_0x523b84,'routeType':'','data':_0x12ac6a});}catch(_0x42d27f){this[_0x2bc11c(0x352)]['error'](_0x42d27f);}}[_0x5410a2(0x2a1)](){var _0x372f92=_0x5410a2,_0x5ae391;this[_0x372f92(0x47f)]=setTimeout(()=>{var _0x40ae34=_0x372f92;this[_0x40ae34(0x47f)]=null,this[_0x40ae34(0x21b)][_0x40ae34(0x2b4)]({'id':ne[_0x40ae34(0x39c)]});},(_0x5ae391=this[_0x372f92(0x39f)]['getConfig'](di))!=null?_0x5ae391:fi);}[_0x5410a2(0x1fa)](){var _0x39135b=_0x5410a2;this[_0x39135b(0x47f)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5410a2(0x30f)](_0x468435){var _0x152e3e=_0x5410a2;if(!this[_0x152e3e(0x18e)])return;const {data:_0x2e93cf}=_0x468435,{unitID:_0x579f4e,changeset:_0x9d91fa}=_0x2e93cf,{mutations:_0x192805,type:_0x1b4ff1}=_0x9d91fa;this[_0x152e3e(0x3c9)]={'unitId':_0x579f4e,'type':_0x1b4ff1,'startTime':performance[_0x152e3e(0x3a9)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x192805)};}[_0x5410a2(0x23f)](){var _0x25d55c=_0x5410a2;if(this[_0x25d55c(0x18e)]){if(!this[_0x25d55c(0x3c9)]){this['_logService'][_0x25d55c(0x1ff)](_0x25d55c(0x3cf),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x25d55c(0x3b9)]=performance[_0x25d55c(0x3a9)](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x25d55c(0x3b9)]-this['_telemetryInfo']['startTime'],this[_0x25d55c(0x330)][_0x25d55c(0x35e)](Os,this[_0x25d55c(0x3c9)]),this[_0x25d55c(0x3c9)]=null;}}[_0x5410a2(0x24c)](){this['_telemetryInfo']=null;}};gt=As([Ce(0x2,_0x3229e5),Ce(0x3,_0x54dc50),Ce(0x4,_0x2a67ea(we)),Ce(0x5,_0x2a67ea(mi)),Ce(0x6,_0x2a67ea(ve)),Ce(0x7,_0x38fedb(_0x59f2ae))],gt);const J=_0x4f0779(_0x5410a2(0x269));function br(_0xdc3c60){return'unit-cache-'+_0xdc3c60;}var ws=Object[_0x5410a2(0x2a3)],Ps=(_0x2ad16d,_0x59ea70,_0x5ef3fa,_0x48084f)=>{var _0xfd9819=_0x5410a2;for(var _0x5a0033=_0x48084f>0x1?void 0x0:_0x48084f?ws(_0x59ea70,_0x5ef3fa):_0x59ea70,_0x2ff74c=_0x2ad16d[_0xfd9819(0x323)]-0x1,_0x132b8d;_0x2ff74c>=0x0;_0x2ff74c--)(_0x132b8d=_0x2ad16d[_0x2ff74c])&&(_0x5a0033=_0x132b8d(_0x5a0033)||_0x5a0033);return _0x5a0033;},ut=(_0x109b08,_0x22531b)=>(_0xd72b1f,_0xda8f09)=>_0x22531b(_0xd72b1f,_0xda8f09,_0x109b08);function Ms(_0x325a96){var _0x19c8ca=_0x5410a2;const {unitID:_0x3b796c,mutations:_0x3c2c0b}=_0x325a96;return{'unitId':_0x3b796c,'subUnitId':_0x3c2c0b[0x0][_0x19c8ca(0x409)]['subUnitId']};}let it=class{constructor(_0x4889e6,_0x627eeb,_0x28404e){var _0x22473e=_0x5410a2;this[_0x22473e(0x3c3)]=_0x4889e6,this[_0x22473e(0x249)]=_0x627eeb,this[_0x22473e(0x1be)]=_0x28404e;}['transformSelections'](_0x9c10d4){var _0x570de6=_0x5410a2,_0x1458b7,_0x311c7c,_0x36dba1,_0x1fe2b5;const _0x5b75fd=this['_injector'][_0x570de6(0x19f)](_0x4230a1),{unitId:_0x199852,subUnitId:_0x53a2be}=Ms(_0x9c10d4),_0x47b3e3=_0x5b75fd==null?void 0x0:_0x5b75fd['getWorkbookSelections'](_0x199852)[_0x570de6(0x2d9)](),_0x4e9030=(_0x311c7c=(_0x1458b7=this[_0x570de6(0x1be)]['getUnit'](_0x199852))==null?void 0x0:_0x1458b7[_0x570de6(0x211)]())==null?void 0x0:_0x311c7c['getSheetId']();if(_0x47b3e3[_0x570de6(0x323)]===0x0||!_0x199852||!_0x53a2be)return;const _0x33de4a=[{'id':_0x1b63c7['id'],'params':{'unitId':_0x199852,'subUnitId':_0x4e9030,'selections':_0x29cb85[_0x570de6(0x29b)](_0x47b3e3)}}],_0x372564=this[_0x570de6(0x249)][_0x570de6(0x1af)](_0x9c10d4,_0x33de4a);if(!_0x4f2573(_0x372564))throw _0x372564[_0x570de6(0x1ff)];const _0x3026dd=(_0x1fe2b5=(_0x36dba1=_0x372564[_0x570de6(0x31f)][0x0])==null?void 0x0:_0x36dba1[_0x570de6(0x409)])==null?void 0x0:_0x1fe2b5[_0x570de6(0x3b8)];if(Array['isArray'](_0x3026dd)&&_0x3026dd['length']){if(_0x3026dd[_0x570de6(0x323)]===_0x33de4a[0x0][_0x570de6(0x409)][_0x570de6(0x3b8)][_0x570de6(0x323)]&&_0x3026dd[_0x570de6(0x43a)]((_0xc157d4,_0x1d9fd7)=>_0x349d7c['equals'](_0xc157d4['range'],_0x33de4a[0x0][_0x570de6(0x409)][_0x570de6(0x3b8)][_0x1d9fd7][_0x570de6(0x309)])))return;this['_injector'][_0x570de6(0x19f)](_0x51e75f)[_0x570de6(0x355)](_0x1b63c7['id'],{'unitId':_0x199852,'subUnitId':_0x4e9030,'selections':_0x3026dd});}}};it=Ps([ut(0x0,_0x2a67ea(_0xb9171d)),ut(0x1,_0x66570c),ut(0x2,_0x1f2fda)],it);const ht=_0x4f0779(_0x5410a2(0x2b0));var gi=(_0x5cc00a=>(_0x5cc00a[_0x5cc00a[_0x5410a2(0x2e2)]=0x0]=_0x5410a2(0x2e2),_0x5cc00a[_0x5cc00a[_0x5410a2(0x332)]=0x1]='OTHER_CLIENTS_EDITING',_0x5cc00a))(gi||{});const K=_0x5410a2(0x1fc),Ls={},xs=new Set([_0x47fa51['id']]);function Wt(_0x4dcf49,_0x2e0157,_0x5a3605,_0x526564,_0x304ad4){var _0x4f5a6e=_0x5410a2,_0x1ec2e5,_0x314662,_0x54c0b7,_0x1a05b6;const _0x418893=[];for(const _0x11bea1 of _0x4dcf49)if(xs[_0x4f5a6e(0x290)](_0x11bea1['id'])){if(_0x418893['length']>0x0)break;_0x418893['push'](_0x11bea1);break;}else _0x418893['push'](_0x11bea1);const _0x4859ae=(_0x314662=(_0x1ec2e5=_0x304ad4[_0x4f5a6e(0x2be)]())==null?void 0x0:_0x1ec2e5[_0x4f5a6e(0x469)])!=null?_0x314662:_0x4f5a6e(0x41a),_0x5f70da=(_0x1a05b6=(_0x54c0b7=_0x304ad4[_0x4f5a6e(0x2be)]())==null?void 0x0:_0x54c0b7[_0x4f5a6e(0x3e7)])!=null?_0x1a05b6:_0x4f5a6e(0x41a);return{'changeset':{'unitID':_0x2e0157,'type':_0x15f91b(_0x5a3605[_0x4f5a6e(0x38b)](_0x2e0157)),'baseRev':_0x526564[_0x4f5a6e(0x31b)](_0x2e0157),'revision':0x0,'userID':_0x4859ae,'memberID':_0x5f70da,'mutations':_0x418893},'pendingMutations':_0x4dcf49['slice'](_0x418893[_0x4f5a6e(0x323)])};}function ks(_0x2a9707,_0x3103c5,_0x3d1983,_0x131165,_0x1e3078){var _0x592010=_0x5410a2,_0x42b66e,_0x3e94b6,_0x382c86,_0x828c1e;const _0x39019f=[_0x2a9707['reduce']((_0x3ec154,_0x5ac560)=>{var _0x109132=_0x48ad,_0x538f75;const {id:_0x51a4c7}=_0x3ec154,{id:_0x330386,type:_0x733318}=_0x5ac560,_0x5088c9=(_0x538f75=_0x3ec154[_0x109132(0x409)])!=null?_0x538f75:{'actions':null},_0x2f33b3=_0x5ac560[_0x109132(0x409)];if(_0x51a4c7&&_0x51a4c7!==_0x330386)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x51a4c7+_0x109132(0x35a)+_0x330386+'.');return{..._0x3ec154,'id':_0x330386,'type':_0x733318,'params':{'unitId':_0x2f33b3[_0x109132(0x1d8)],'textRanges':_0x2f33b3['textRanges'],'actions':_0x4510ac[_0x109132(0x453)](_0x5088c9['actions'],_0x2f33b3[_0x109132(0x340)])}};},{})],_0x192127=(_0x3e94b6=(_0x42b66e=_0x1e3078['getCurrentUser']())==null?void 0x0:_0x42b66e['userID'])!=null?_0x3e94b6:'unknown',_0x1ee771=(_0x828c1e=(_0x382c86=_0x1e3078[_0x592010(0x2be)]())==null?void 0x0:_0x382c86['memberID'])!=null?_0x828c1e:'unknown';return{'changeset':{'unitID':_0x3103c5,'type':_0x15f91b(_0x3d1983[_0x592010(0x38b)](_0x3103c5)),'baseRev':_0x131165[_0x592010(0x31b)](_0x3103c5),'revision':0x0,'userID':_0x192127,'memberID':_0x1ee771,'mutations':_0x39019f},'pendingMutations':[]};}function Si(_0x373264,_0xb83039){var _0x5f5807=_0x5410a2;const _0x2c5353=new _0x1326d6(0x1);return setTimeout(()=>_0x2c5353[_0x5f5807(0x451)](_0xb83039),_0x373264),_0x2c5353[_0x5f5807(0x449)]()[_0x5f5807(0x1bf)](_0x39041d(0x1));}const $s={'id':_0x13a043['id'],'type':_0x21f367[_0x5410a2(0x320)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Ee=(_0x3f1db0,_0x362b86,_0x3a29a9,_0x291790)=>{var _0x3016f5=_0x5410a2;for(var _0x187fee=_0x291790>0x1?void 0x0:_0x291790?Hs(_0x362b86,_0x3a29a9):_0x362b86,_0x264583=_0x3f1db0[_0x3016f5(0x323)]-0x1,_0x36a726;_0x264583>=0x0;_0x264583--)(_0x36a726=_0x3f1db0[_0x264583])&&(_0x187fee=_0x36a726(_0x187fee)||_0x187fee);return _0x187fee;},P=(_0x2d8852,_0x32e1f7)=>(_0x471679,_0x35b399)=>_0x32e1f7(_0x471679,_0x35b399,_0x2d8852),Ei=(_0x5a6bc9=>(_0x5a6bc9['NOT_COLLAB']=_0x5410a2(0x336),_0x5a6bc9['SYNCED']=_0x5410a2(0x2c6),_0x5a6bc9[_0x5410a2(0x1e1)]='pending',_0x5a6bc9[_0x5410a2(0x223)]='awaiting',_0x5a6bc9[_0x5410a2(0x422)]=_0x5410a2(0x1da),_0x5a6bc9[_0x5410a2(0x21f)]=_0x5410a2(0x369),_0x5a6bc9[_0x5410a2(0x195)]=_0x5410a2(0x18d),_0x5a6bc9[_0x5410a2(0x2cb)]=_0x5410a2(0x3f0),_0x5a6bc9))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x376010,_0x2fab82,_0x31c90d,_0x1d656a,_0x4a1c36,_0x1629f2,_0x5033e1,_0x3f2ced,_0x35fc6e){var _0x174906=_0x5410a2;N(this,_0x174906(0x1e7),null),N(this,_0x174906(0x2f6),[]),(this[_0x174906(0x19c)]=_0x376010,this[_0x174906(0x1a8)]=_0x2fab82,this['_handler']=_0x4a1c36,this[_0x174906(0x1f0)]=_0x1629f2,this[_0x174906(0x1bd)]=_0x5033e1,this[_0x174906(0x36c)]=_0x3f2ced,this[_0x174906(0x3e4)]=_0x35fc6e,this[_0x174906(0x1e7)]=_0x31c90d,this[_0x174906(0x2f6)]=_0x1d656a);}[_0x5410a2(0x2b8)](_0x58e6b8){var _0x3b035a=_0x5410a2;const _0x3caeef=this['_revisionService'][_0x3b035a(0x31b)](this[_0x3b035a(0x19c)]);return _0x58e6b8['revision']>_0x3caeef+0x1?(this[_0x3b035a(0x468)][_0x3b035a(0x2fe)]({'from':_0x3caeef,'to':_0x58e6b8['revision']-0x1}),!0x0):!0x1;}[_0x5410a2(0x1d1)](_0x532676){var _0x3b6faf=_0x5410a2;this[_0x3b6faf(0x1bd)][_0x3b6faf(0x221)](this[_0x3b6faf(0x19c)],_0x532676);}[_0x5410a2(0x410)](_0x1ba231){var _0x5012cb=_0x5410a2,_0x49c434,_0x5477cc;(_0x5477cc=(_0x49c434=this[_0x5012cb(0x468)])['onTransformSelections'])==null||_0x5477cc[_0x5012cb(0x281)](_0x49c434,_0x1ba231);}[_0x5410a2(0x2bc)](_0x17a87e){var _0x34c595=_0x5410a2,_0x4b50e9,_0xbe114d;return(_0xbe114d=(_0x4b50e9=this[_0x34c595(0x468)])['onTransformIME'])==null?void 0x0:_0xbe114d['call'](_0x4b50e9,_0x17a87e);}[_0x5410a2(0x1db)](_0x47081e){var _0x441953=_0x5410a2,_0x2a7cce,_0x599440;return(_0x599440=(_0x2a7cce=this[_0x441953(0x468)])[_0x441953(0x18b)])==null?void 0x0:_0x599440[_0x441953(0x281)](_0x2a7cce,_0x47081e);}['_transformRemoteChangesetByIMECache'](_0x31273f){var _0x563bc6=_0x5410a2,_0x2a08f3,_0x3c40c4,_0x419f3d;return(_0x419f3d=(_0x3c40c4=(_0x2a08f3=this[_0x563bc6(0x468)])[_0x563bc6(0x423)])==null?void 0x0:_0x3c40c4['call'](_0x2a08f3,_0x31273f))!=null?_0x419f3d:_0x31273f;}['_transformRemoteChangesetByStateCache'](_0x164128){var _0x1ece82=_0x5410a2,_0x19b645,_0x418bc,_0x5a36a8;return(_0x5a36a8=(_0x418bc=(_0x19b645=this[_0x1ece82(0x468)])[_0x1ece82(0x3aa)])==null?void 0x0:_0x418bc[_0x1ece82(0x281)](_0x19b645,_0x164128))!=null?_0x5a36a8:_0x164128;}['_syncEditingCollabCursor'](_0x1e95f0){var _0x50cfad=_0x5410a2,_0xa221c6,_0x5c7dba;if(this[_0x50cfad(0x1a8)]===Z[_0x50cfad(0x3c7)]){const {unitID:_0x297791,mutations:_0x566c18,memberID:_0x506a25}=_0x1e95f0,_0x4a7a26=_0x566c18[0x0]['params'][_0x50cfad(0x228)];Array[_0x50cfad(0x2e8)](_0x4a7a26)&&_0x4a7a26['length']>0x0&&((_0x5c7dba=(_0xa221c6=this[_0x50cfad(0x468)])[_0x50cfad(0x3ac)])==null||_0x5c7dba[_0x50cfad(0x281)](_0xa221c6,{'unitID':_0x297791,'memberID':_0x506a25,'textRanges':_0x4a7a26}));}}[_0x5410a2(0x38a)](){var _0x510ef9=_0x5410a2,_0x5886f7;(_0x5886f7=this[_0x510ef9(0x3e4)])==null||_0x5886f7[_0x510ef9(0x389)](this['unitID'],this[_0x510ef9(0x1a8)],this['_awaitingChangeset'],this[_0x510ef9(0x2f6)]);}['_getCurrentRevision'](){var _0x5cf233=_0x5410a2;return this[_0x5cf233(0x36c)][_0x5cf233(0x31b)](this['unitID']);}['_incrementRevisionNumber'](){var _0x58e2e0=_0x5410a2;this[_0x58e2e0(0x36c)]['incrementRevOfUnit'](this[_0x58e2e0(0x19c)]);}['_executeRemoteChangeset'](_0x9a1f7b){var _0x5805ad=_0x5410a2,_0x265f6a;let _0xf9c130=this[_0x5805ad(0x474)](_0x9a1f7b);_0xf9c130=this[_0x5805ad(0x44c)](_0xf9c130);const _0x395e41=_0x4aa62c(_0xf9c130['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x395e41['result'])throw _0x395e41[_0x5805ad(0x1ff)]instanceof Error?_0x395e41[_0x5805ad(0x1ff)]:new Error((_0x265f6a=_0x395e41[_0x5805ad(0x1ff)])!=null?_0x265f6a:_0x5805ad(0x19b));this['_transformIMECache'](_0xf9c130),this[_0x5805ad(0x1db)](_0xf9c130),this[_0x5805ad(0x1d1)](_0x9a1f7b),this['_transformSelections'](_0xf9c130),this[_0x5805ad(0x22f)](_0xf9c130),this[_0x5805ad(0x1fb)]();}}let ye=class extends Ie{constructor(_0x4bcb62,_0x432f9e,_0x2ee590,_0x35d2bf,_0x302db4,_0x30ac39,_0x5474d4,_0x3e593c,_0x266aae,_0x4b380a){var _0x1f7c78=_0x5410a2;super(_0x4bcb62,_0x432f9e,null,[],_0x2ee590,_0x5474d4,_0x30ac39,_0x35d2bf,_0x4b380a),N(this,_0x1f7c78(0x3fc),'synced'),(this[_0x1f7c78(0x3c3)]=_0x302db4,this[_0x1f7c78(0x352)]=_0x3e593c,this[_0x1f7c78(0x249)]=_0x266aae,this[_0x1f7c78(0x30e)]=_0x4b380a);}[_0x5410a2(0x31c)](_0x1b2af7){var _0xa033cb=_0x5410a2;const _0x341101=this[_0xa033cb(0x3c3)][_0xa033cb(0x344)](re,this['unitID'],this[_0xa033cb(0x1a8)],[_0x1b2af7],this[_0xa033cb(0x468)]);return _0x341101[_0xa033cb(0x1e5)](),_0x341101['_updateLocalCache'](),_0x341101;}['onRemoteChangeset'](_0x2d3ed2){var _0x1c6015=_0x5410a2;if(this[_0x1c6015(0x2b8)](_0x2d3ed2))return this[_0x1c6015(0x3c3)][_0x1c6015(0x344)](Q,this['unitID'],this['type'],null,[],null,[_0x2d3ed2],this['_handler']);try{const _0x260350=this[_0x1c6015(0x249)][_0x1c6015(0x1af)](_0x2d3ed2,[$s]);if(_0x4f2573(_0x260350)){const {c1Prime:_0x4bc1}=_0x260350;return this[_0x1c6015(0x447)](_0x4bc1),this;}throw _0x260350[_0x1c6015(0x1ff)];}catch(_0x3c3e06){return this[_0x1c6015(0x352)]['error'](_0x3c3e06),this[_0x1c6015(0x3ff)](!0x1);}}['_onConflict'](_0x4563ed){var _0x492ab0=_0x5410a2;return this[_0x492ab0(0x3c3)][_0x492ab0(0x344)](le,this['unitID'],this['type'],null,[],this[_0x492ab0(0x468)],_0x4563ed);}[_0x5410a2(0x47d)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5410a2(0x2a6)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){var _0xe5037=_0x5410a2;return this[_0xe5037(0x3c3)][_0xe5037(0x344)](ue,this[_0xe5037(0x19c)],this['type'],null,[],this[_0xe5037(0x468)]);}['toggleOnline'](){return this;}[_0x5410a2(0x43f)](){var _0xcbbec5=_0x5410a2;throw new Error(_0xcbbec5(0x3c4));}[_0x5410a2(0x22e)](){var _0xb7b2aa=_0x5410a2;const _0x3fd325=this['_revisionService'][_0xb7b2aa(0x31b)](this['unitID']);return this[_0xb7b2aa(0x468)]['onMissingChangesets']({'from':_0x3fd325,'to':0x0}),this[_0xb7b2aa(0x3c3)][_0xb7b2aa(0x344)](Q,this['unitID'],this['type'],null,[],null,[],this[_0xb7b2aa(0x468)]);}};ye=Ee([P(0x3,_0x2a67ea(_0x4291a6)),P(0x4,_0x2a67ea(_0xb9171d)),P(0x5,_0x384b35),P(0x6,_0x51e75f),P(0x7,_0x3229e5),P(0x8,_0x66570c),P(0x9,_0x38fedb(J))],ye);function _0x48ad(_0x13c972,_0x62430a){var _0x28c4d=_0x28c4();return _0x48ad=function(_0x48ad4b,_0x493071){_0x48ad4b=_0x48ad4b-0x17c;var _0x1a9a3d=_0x28c4d[_0x48ad4b];return _0x1a9a3d;},_0x48ad(_0x13c972,_0x62430a);}let re=class extends Ie{constructor(_0x1c8c62,_0x5cdf97,_0x26964c,_0x403e42,_0x327679,_0x4f8535,_0x1a59d1,_0x4c72a9,_0x186f10,_0x362972,_0x21e81b,_0x26819d,_0x43f5a4,_0xeb2384){var _0x4957e0=_0x5410a2;super(_0x1c8c62,_0x5cdf97,null,_0x26964c,_0x403e42,_0x186f10,_0x43f5a4,_0x4f8535,_0xeb2384),N(this,'status',_0x4957e0(0x1dd)),N(this,_0x4957e0(0x3d1),null),N(this,_0x4957e0(0x427),null),(this[_0x4957e0(0x3c3)]=_0x327679,this[_0x4957e0(0x46c)]=_0x1a59d1,this[_0x4957e0(0x352)]=_0x4c72a9,this[_0x4957e0(0x39f)]=_0x362972,this['_transformService']=_0x21e81b,this[_0x4957e0(0x34a)]=_0x26819d);}[_0x5410a2(0x31c)](_0x4ecd8a){var _0x3363e2=_0x5410a2;return this['_pendingMutations'][_0x3363e2(0x353)](_0x4ecd8a),this[_0x3363e2(0x38a)](),this;}['onRemoteChangeset'](_0x5c3601){var _0x41c3d7=_0x5410a2;if(this['_checkMissing'](_0x5c3601))return this[_0x41c3d7(0x42d)](),this[_0x41c3d7(0x3c3)][_0x41c3d7(0x344)](Q,this[_0x41c3d7(0x19c)],this[_0x41c3d7(0x1a8)],null,this[_0x41c3d7(0x2f6)],null,[_0x5c3601],this['_handler']);try{const _0x7bdd54=this['_transformService'][_0x41c3d7(0x1af)](_0x5c3601,this['_pendingMutations']);if(_0x4f2573(_0x7bdd54)){const {c1Prime:_0x2da44d,m2Prime:_0x309461}=_0x7bdd54;this[_0x41c3d7(0x447)](_0x2da44d);const _0x277ed9=this[_0x41c3d7(0x3c3)]['createInstance'](re,this['unitID'],this[_0x41c3d7(0x1a8)],_0x309461,this[_0x41c3d7(0x468)]);this[_0x41c3d7(0x42d)]();const _0x487db9=new Date()[_0x41c3d7(0x42a)](),_0xdf49c3=this[_0x41c3d7(0x3d1)]?Math['max'](this[_0x41c3d7(0x3d1)]-_0x487db9,0x0):this['_getSendChangesetTimeout']();return _0x277ed9[_0x41c3d7(0x1e5)](_0xdf49c3),_0x277ed9;}throw _0x7bdd54[_0x41c3d7(0x1ff)];}catch(_0x9621e7){return this['_logService'][_0x41c3d7(0x1ff)](_0x9621e7),this[_0x41c3d7(0x3ff)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5b9788=_0x5410a2;throw new Error(_0x5b9788(0x46f));}['onRemoteRetry'](){return this;}[_0x5410a2(0x37c)](){var _0x3d370f=_0x5410a2;return this[_0x3d370f(0x42d)](),this['_injector'][_0x3d370f(0x344)](ue,this[_0x3d370f(0x19c)],this[_0x3d370f(0x1a8)],null,this[_0x3d370f(0x2f6)],this['_handler']);}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x1e5)](_0x488c11){var _0x11844c=_0x5410a2;const _0xe22b69=_0x488c11!=null?_0x488c11:this[_0x11844c(0x2d5)]();this[_0x11844c(0x3d1)]=new Date()[_0x11844c(0x42a)]()+_0xe22b69,this[_0x11844c(0x427)]=setTimeout(()=>{var _0x4f13ba=_0x11844c;this['_clearScheduledTask']();let _0x31e211=null;switch(this['type']){case Z[_0x4f13ba(0x386)]:{_0x31e211=Wt(this[_0x4f13ba(0x2f6)],this[_0x4f13ba(0x19c)],this['_univerInstanceService'],this[_0x4f13ba(0x36c)],this[_0x4f13ba(0x46c)]);break;}case Z[_0x4f13ba(0x3c7)]:{this[_0x4f13ba(0x2f6)][_0x4f13ba(0x43a)](_0x571914=>_0x571914['id']===_0x43c442['id'])?_0x31e211=ks(this['_pendingMutations'],this[_0x4f13ba(0x19c)],this['_univerInstanceService'],this[_0x4f13ba(0x36c)],this['_memberService']):_0x31e211=Wt(this[_0x4f13ba(0x2f6)],this[_0x4f13ba(0x19c)],this[_0x4f13ba(0x34a)],this[_0x4f13ba(0x36c)],this[_0x4f13ba(0x46c)]);break;}default:throw new Error(_0x4f13ba(0x2e7)+this[_0x4f13ba(0x1a8)]+_0x4f13ba(0x455));}const {changeset:_0x188332,pendingMutations:_0x4ce42d}=_0x31e211;this[_0x4f13ba(0x468)][_0x4f13ba(0x274)](_0x188332);const _0x5781d2=_0x4ce42d[_0x4f13ba(0x323)]?this[_0x4f13ba(0x3c3)]['createInstance'](ae,this[_0x4f13ba(0x19c)],this['type'],_0x188332,_0x4ce42d,this['_handler'],void 0x0):this[_0x4f13ba(0x3c3)]['createInstance'](_e,this[_0x4f13ba(0x19c)],this[_0x4f13ba(0x1a8)],_0x188332,this[_0x4f13ba(0x468)]);_0x5781d2[_0x4f13ba(0x38a)](),this[_0x4f13ba(0x468)]['onStateChange'](this,_0x5781d2);},_0xe22b69);}[_0x5410a2(0x2d5)](){var _0x695b84=_0x5410a2,_0x2972af;const _0x125f35=this[_0x695b84(0x39f)]['getConfig'](K);return(_0x2972af=_0x125f35==null?void 0x0:_0x125f35['sendChangesetTimeout'])!=null?_0x2972af:ps;}[_0x5410a2(0x43f)](){var _0x1dc94c=_0x5410a2;throw new Error(_0x1dc94c(0x27c));}['_clearScheduledTask'](){var _0x17d33c=_0x5410a2;this[_0x17d33c(0x427)]!=null&&(clearTimeout(this[_0x17d33c(0x427)]),this['_sendingTimer']=null);}[_0x5410a2(0x3ff)](_0x104519){var _0x577bf0=_0x5410a2;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x577bf0(0x468)],_0x104519);}};re=Ee([P(0x4,_0x2a67ea(_0xb9171d)),P(0x5,_0x2a67ea(_0x4291a6)),P(0x6,_0x2a67ea(we)),P(0x7,_0x3229e5),P(0x8,_0x51e75f),P(0x9,_0x54dc50),P(0xa,_0x66570c),P(0xb,_0x1f2fda),P(0xc,_0x384b35),P(0xd,_0x38fedb(J))],re);let _e=class extends Ie{constructor(_0x5cca9b,_0x5721a6,_0x43e532,_0x1eadce,_0x4f571a,_0x2cb1bf,_0x107b13,_0xa61483,_0x5e54a1,_0xa0f48c,_0x545ef9){var _0x2c776d=_0x5410a2;super(_0x5cca9b,_0x5721a6,_0x43e532,[],_0x1eadce,_0x107b13,_0xa0f48c,_0x2cb1bf,_0x545ef9),N(this,'status','awaiting'),N(this,_0x2c776d(0x460),0x0),N(this,_0x2c776d(0x1d4)),N(this,_0x2c776d(0x29e)),(this[_0x2c776d(0x3c3)]=_0x4f571a,this['_logService']=_0xa61483,this[_0x2c776d(0x249)]=_0x5e54a1);}['appendMutation'](_0x532b7b){var _0x32783a=_0x5410a2;this['_clearScheduledTask']();const _0x249938=this['_injector']['createInstance'](ae,this[_0x32783a(0x19c)],this['type'],this['_awaitingChangeset'],[_0x532b7b],this[_0x32783a(0x468)],this[_0x32783a(0x1d4)]);return _0x249938[_0x32783a(0x38a)](),_0x249938;}['onRemoteChangeset'](_0x2be533){var _0xa4318f=_0x5410a2;if(this[_0xa4318f(0x2b8)](_0x2be533))return this[_0xa4318f(0x42d)](),this[_0xa4318f(0x3c3)][_0xa4318f(0x344)](Q,this[_0xa4318f(0x19c)],this[_0xa4318f(0x1a8)],this[_0xa4318f(0x1e7)],[],null,[_0x2be533],this['_handler']);try{const _0x380865=this[_0xa4318f(0x249)][_0xa4318f(0x45f)]([_0x2be533],[this['_awaitingChangeset']],!0x1);if(_0x596bf2(_0x380865)){const {c1Prime:_0x8493f3,c2Prime:_0x2623b0}=_0x380865;this[_0xa4318f(0x447)](_0x8493f3[0x0]),_0x2623b0[0x0][_0xa4318f(0x3f3)]=this[_0xa4318f(0x3cc)](),this[_0xa4318f(0x42d)]();const _0x24334a=this['_injector'][_0xa4318f(0x344)](_e,this[_0xa4318f(0x19c)],this[_0xa4318f(0x1a8)],_0x2623b0[0x0],this[_0xa4318f(0x468)]);return _0x24334a['_updateLocalCache'](),_0x24334a;}return this[_0xa4318f(0x3ff)](!0x1);}catch(_0x21ab0a){return this['_logService'][_0xa4318f(0x1ff)](_0x21ab0a),this[_0xa4318f(0x3ff)](!0x1);}}['onRemoteAck'](_0x4945fe){var _0x13e947=_0x5410a2;this[_0x13e947(0x42d)]();const _0x4f1bc7=this[_0x13e947(0x36c)][_0x13e947(0x31b)](this[_0x13e947(0x19c)]);if(_0x4945fe[_0x13e947(0x39d)]<_0x4f1bc7-0x1)return this;if(this['_checkMissing'](_0x4945fe))return this[_0x13e947(0x3c3)][_0x13e947(0x344)](Q,this[_0x13e947(0x19c)],this['type'],null,[],this[_0x13e947(0x1e7)],[],this['_handler']);this[_0x13e947(0x1fb)]();const _0x25f318=this[_0x13e947(0x3c3)][_0x13e947(0x344)](ye,this[_0x13e947(0x19c)],this[_0x13e947(0x1a8)],this[_0x13e947(0x468)]);return _0x25f318[_0x13e947(0x38a)](),_0x25f318;}['onRemoteRej'](_0xd5882c){var _0x2e95e7=_0x5410a2;return this[_0x2e95e7(0x3ff)](!!(_0xd5882c!=null&&_0xd5882c[_0x2e95e7(0x222)]));}[_0x5410a2(0x19a)](_0x5a72b3){var _0x5d409e=_0x5410a2;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x5d409e(0x1d4)]=Si(this[_0x5d409e(0x460)],{'timeout':this[_0x5d409e(0x460)],'reqId':_0x5a72b3[_0x5d409e(0x1fd)]}),this[_0x5d409e(0x29e)]=this['_resendTimer'][_0x5d409e(0x3a8)](({reqId:_0x1d5b46,timeout:_0xd4363})=>{var _0x5a41df=_0x5d409e;this[_0x5a41df(0x463)](_0x1d5b46,_0xd4363);}),this);}[_0x5410a2(0x37c)](){var _0x3f7ac8=_0x5410a2;return this[_0x3f7ac8(0x42d)](),this[_0x3f7ac8(0x3c3)]['createInstance'](ue,this[_0x3f7ac8(0x19c)],this[_0x3f7ac8(0x1a8)],this[_0x3f7ac8(0x1e7)],[],this[_0x3f7ac8(0x468)]);}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x43f)](){var _0x47aa7f=_0x5410a2;this['_handler'][_0x47aa7f(0x274)](this['_awaitingChangeset']);}[_0x5410a2(0x3ff)](_0x2d2740){var _0x3789b2=_0x5410a2;return this['_clearScheduledTask'](),this[_0x3789b2(0x3c3)][_0x3789b2(0x344)](le,this[_0x3789b2(0x19c)],this[_0x3789b2(0x1a8)],this['_awaitingChangeset'],[],this[_0x3789b2(0x468)],_0x2d2740);}['_resendWithTimeout'](_0x21f553,_0x1ff7f1){var _0x77dd82=_0x5410a2,_0x39da22;_0x21f553===((_0x39da22=this['_awaitingChangeset'])==null?void 0x0:_0x39da22[_0x77dd82(0x1fd)])&&(this[_0x77dd82(0x43f)](),this[_0x77dd82(0x460)]=_0x1ff7f1===0x0?0x3e8:_0x1ff7f1*0x2);}[_0x5410a2(0x42d)](){var _0x3d680f=_0x5410a2,_0x297faa;(_0x297faa=this[_0x3d680f(0x29e)])==null||_0x297faa[_0x3d680f(0x2f4)](),this[_0x3d680f(0x460)]=0x0;}};_e=Ee([P(0x4,_0x2a67ea(_0xb9171d)),P(0x5,_0x2a67ea(_0x4291a6)),P(0x6,_0x51e75f),P(0x7,_0x3229e5),P(0x8,_0x66570c),P(0x9,_0x384b35),P(0xa,_0x38fedb(J))],_e);let ae=class extends Ie{constructor(_0xe4af37,_0x3e6b10,_0xb02c10,_0xa2f57c,_0x7dc746,_0x26bb52,_0x1b1408,_0x126a43,_0x41753f,_0x1dcad7,_0x196ec4,_0x35adcd,_0x5554ea){var _0x21aa1a=_0x5410a2;super(_0xe4af37,_0x3e6b10,_0xb02c10,_0xa2f57c,_0x7dc746,_0x41753f,_0x35adcd,_0x126a43,_0x5554ea),N(this,_0x21aa1a(0x3fc),_0x21aa1a(0x1da)),N(this,_0x21aa1a(0x460),0x0),N(this,_0x21aa1a(0x1d4)),N(this,_0x21aa1a(0x29e)),(this[_0x21aa1a(0x3c3)]=_0x1b1408,this[_0x21aa1a(0x352)]=_0x1dcad7,this[_0x21aa1a(0x249)]=_0x196ec4,this[_0x21aa1a(0x30e)]=_0x5554ea,_0x26bb52&&(this[_0x21aa1a(0x1d4)]=_0x26bb52,this['_sender']=this[_0x21aa1a(0x1d4)][_0x21aa1a(0x3a8)](({reqId:_0x2f9ecb,timeout:_0x44983e})=>{this['_resendWithTimeout'](_0x2f9ecb,_0x44983e);})));}[_0x5410a2(0x31c)](_0x1f6598){var _0x55d779=_0x5410a2;return this[_0x55d779(0x2f6)]['push'](_0x1f6598),this;}[_0x5410a2(0x477)](_0x40668d){var _0x199405=_0x5410a2;if(this[_0x199405(0x2b8)](_0x40668d))return this['_clearScheduledTask'](),this[_0x199405(0x3c3)]['createInstance'](Q,this[_0x199405(0x19c)],this[_0x199405(0x1a8)],this[_0x199405(0x1e7)],this['_pendingMutations'],null,[_0x40668d],this[_0x199405(0x468)]);try{const _0x29449d=this[_0x199405(0x249)][_0x199405(0x45f)]([_0x40668d],[this[_0x199405(0x1e7)]],!0x1);if(_0x596bf2(_0x29449d)){const {c1Prime:_0x2e697c,c2Prime:_0x9386e6}=_0x29449d,_0x2ac3f=this['_transformService'][_0x199405(0x1af)](_0x2e697c[0x0],this[_0x199405(0x2f6)]);if(_0x4f2573(_0x2ac3f)){const {c1Prime:_0x14d4cb,m2Prime:_0x326849}=_0x2ac3f;return this[_0x199405(0x447)](_0x14d4cb),_0x9386e6[0x0]['baseRev']=this[_0x199405(0x3cc)](),this[_0x199405(0x42d)](),this['_injector'][_0x199405(0x344)](ae,this[_0x199405(0x19c)],this[_0x199405(0x1a8)],_0x9386e6[0x0],_0x326849,this[_0x199405(0x468)],void 0x0);}throw _0x2ac3f[_0x199405(0x1ff)];}throw _0x29449d[_0x199405(0x1ff)];}catch(_0x4e3a6c){return this['_logService']['error'](_0x4e3a6c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0xc010d5){var _0x1a482e=_0x5410a2;if(this[_0x1a482e(0x42d)](),this['_checkMissing'](_0xc010d5))return this[_0x1a482e(0x3c3)][_0x1a482e(0x344)](Q,this['unitID'],this[_0x1a482e(0x1a8)],null,this[_0x1a482e(0x2f6)],this[_0x1a482e(0x1e7)],[],this[_0x1a482e(0x468)]);this[_0x1a482e(0x1fb)]();const _0x395cad=this[_0x1a482e(0x3c3)]['createInstance'](re,this[_0x1a482e(0x19c)],this['type'],this['_pendingMutations'],this[_0x1a482e(0x468)]);return _0x395cad[_0x1a482e(0x1e5)](),_0x395cad[_0x1a482e(0x38a)](),_0x395cad;}[_0x5410a2(0x2a6)](_0x8338){var _0x2551b4=_0x5410a2;return this[_0x2551b4(0x3ff)](!!(_0x8338!=null&&_0x8338[_0x2551b4(0x222)]));}['onRemoteRetry'](_0x2a8395){var _0x146062=_0x5410a2;return this[_0x146062(0x460)]>Ii?this[_0x146062(0x37c)]():(this[_0x146062(0x1d4)]=Si(this['_resendTimeout'],{'timeout':this[_0x146062(0x460)],'reqId':_0x2a8395['reqId']}),this[_0x146062(0x29e)]=this['_resendTimer'][_0x146062(0x3a8)](({reqId:_0x2807b6,timeout:_0x1c4074})=>{var _0x343d58=_0x146062;this[_0x343d58(0x463)](_0x2807b6,_0x1c4074);}),this);}[_0x5410a2(0x37c)](){var _0x5f178a=_0x5410a2;return this[_0x5f178a(0x42d)](),this[_0x5f178a(0x3c3)][_0x5f178a(0x344)](ue,this[_0x5f178a(0x19c)],this[_0x5f178a(0x1a8)],this['_awaitingChangeset'],this[_0x5f178a(0x2f6)],this[_0x5f178a(0x468)]);}['toggleOnline'](){return this;}[_0x5410a2(0x43f)](){var _0x42e369=_0x5410a2;this[_0x42e369(0x468)][_0x42e369(0x274)](this[_0x42e369(0x1e7)]);}[_0x5410a2(0x3ff)](_0x3ae89b){var _0x523d99=_0x5410a2;return this[_0x523d99(0x42d)](),this[_0x523d99(0x3c3)][_0x523d99(0x344)](le,this[_0x523d99(0x19c)],this[_0x523d99(0x1a8)],null,this['_pendingMutations'],this[_0x523d99(0x468)],_0x3ae89b);}[_0x5410a2(0x463)](_0x13e986,_0x1d0e66){var _0x59c0e9=_0x5410a2,_0x467c84;_0x13e986===((_0x467c84=this[_0x59c0e9(0x1e7)])==null?void 0x0:_0x467c84[_0x59c0e9(0x1fd)])&&(this[_0x59c0e9(0x43f)](),this[_0x59c0e9(0x460)]=_0x1d0e66===0x0?0x3e8:_0x1d0e66*0x2);}[_0x5410a2(0x42d)](){var _0x178760=_0x5410a2,_0x81ae9;(_0x81ae9=this[_0x178760(0x29e)])==null||_0x81ae9['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x2a67ea(_0xb9171d)),P(0x7,_0x2a67ea(_0x4291a6)),P(0x8,_0x51e75f),P(0x9,_0x3229e5),P(0xa,_0x66570c),P(0xb,_0x384b35),P(0xc,_0x38fedb(J))],ae);let le=class extends Ie{constructor(_0x20bce9,_0x17b8fd,_0x24b6c1,_0x5575f0,_0x374a96,_0x19851c=!0x1,_0x240ec7,_0x37f027,_0x4bc80d,_0x2b7037,_0x1bd12b,_0x571507,_0x4a9770){var _0x383d8e=_0x5410a2;super(_0x20bce9,_0x17b8fd,_0x24b6c1,_0x5575f0,_0x374a96,_0x37f027,_0x4bc80d,_0x2b7037,_0x4a9770),N(this,_0x383d8e(0x3fc),_0x383d8e(0x18d)),(this[_0x383d8e(0x20d)]=_0x19851c,this[_0x383d8e(0x277)]=_0x240ec7,this[_0x383d8e(0x265)]=_0x1bd12b,this[_0x383d8e(0x21b)]=_0x571507,this[_0x383d8e(0x30e)]=_0x4a9770,this['_showConflictNotification'](),this[_0x383d8e(0x44a)](),this[_0x383d8e(0x202)]());}[_0x5410a2(0x31c)](){return this;}[_0x5410a2(0x477)](){return this;}[_0x5410a2(0x47d)](){return this;}[_0x5410a2(0x2a6)](){return this;}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){return this;}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x43f)](){var _0x879226=_0x5410a2;throw new Error(_0x879226(0x390));}[_0x5410a2(0x44a)](){var _0x4174e0=_0x5410a2,_0x3a819e;(_0x3a819e=this[_0x4174e0(0x3e4)])==null||_0x3a819e[_0x4174e0(0x389)](this[_0x4174e0(0x19c)],this[_0x4174e0(0x1a8)],null,[]);}['_showConflictNotification'](){var _0x1d45e4=_0x5410a2;this['_isPermissionRej']?this[_0x1d45e4(0x21b)][_0x1d45e4(0x2b4)]({'id':ne[_0x1d45e4(0x41e)]}):this[_0x1d45e4(0x21b)][_0x1d45e4(0x2b4)]({'id':ne[_0x1d45e4(0x195)]});}[_0x5410a2(0x202)](){var _0x15b3d7=_0x5410a2;this['_permissionService']['updatePermissionPoint'](new _0x3078fa(this[_0x15b3d7(0x19c)])['id'],!0x1);}};le=Ee([P(0x6,_0x2a67ea(_0x5a942e)),P(0x7,_0x51e75f),P(0x8,_0x384b35),P(0x9,_0x2a67ea(_0x4291a6)),P(0xa,_0x2a67ea(_0x2cfa1d)),P(0xb,_0x2a67ea(ve)),P(0xc,_0x38fedb(J))],le);let ue=class extends Ie{constructor(_0x2b6834,_0x6e7be8,_0x2a11e6,_0x122d3e,_0x338291,_0x3a9026,_0x2e0e7f,_0x53afde,_0x4f5caa,_0x4dbf7f){var _0x3b0d8f=_0x5410a2;super(_0x2b6834,_0x6e7be8,_0x2a11e6,_0x122d3e,_0x338291,_0x53afde,_0x4f5caa,_0x2e0e7f,_0x4dbf7f),N(this,_0x3b0d8f(0x3fc),_0x3b0d8f(0x3f0)),this[_0x3b0d8f(0x3c3)]=_0x3a9026;}['appendMutation'](_0x41c3c4){var _0x41c876=_0x5410a2;return this[_0x41c876(0x2f6)]['push'](_0x41c3c4),this[_0x41c876(0x38a)](),this;}[_0x5410a2(0x477)](_0x1e342a){var _0x27e913=_0x5410a2;throw new Error(_0x27e913(0x1e9));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x172bb7=_0x5410a2;throw new Error(_0x172bb7(0x334));}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){return this;}[_0x5410a2(0x25d)](){var _0x4c36d9=_0x5410a2;const {_injector:_0x20d31e,_pendingMutations:_0x3b3466,_awaitingChangeset:_0x4e30f3,unitID:_0x553925,_handler:_0x53df34,type:_0x5e0c82}=this,_0x38aa9b=Ti(_0x20d31e,_0x553925,_0x5e0c82,_0x4e30f3,_0x3b3466,_0x53df34);return _0x38aa9b instanceof re?_0x38aa9b['_schedule']():(_0x38aa9b instanceof ae||_0x38aa9b instanceof _e)&&_0x38aa9b[_0x4c36d9(0x43f)](),_0x38aa9b;}[_0x5410a2(0x43f)](){var _0x29744e=_0x5410a2;throw new Error(_0x29744e(0x1ac));}};ue=Ee([P(0x5,_0x2a67ea(_0xb9171d)),P(0x6,_0x2a67ea(_0x4291a6)),P(0x7,_0x51e75f),P(0x8,_0x384b35),P(0x9,_0x38fedb(J))],ue);let Q=class extends Ie{constructor(_0xfb0336,_0x1da210,_0x28cb31,_0x48639f,_0x4efd70,_0x509837,_0x262ffd,_0x21fcdb,_0xd43224,_0xcbc6e6,_0x3580b3,_0x22573f,_0x53d5fd,_0x181950){var _0x49ddb1=_0x5410a2;super(_0xfb0336,_0x1da210,_0x28cb31,_0x48639f,_0x262ffd,_0x3580b3,_0x22573f,_0xd43224,_0x181950),N(this,_0x49ddb1(0x3fc),_0x49ddb1(0x369)),(this[_0x49ddb1(0x43c)]=_0x4efd70,this[_0x49ddb1(0x351)]=_0x509837,this[_0x49ddb1(0x3c3)]=_0x21fcdb,this[_0x49ddb1(0x352)]=_0xcbc6e6,this[_0x49ddb1(0x249)]=_0x53d5fd,this['localCacheService']=_0x181950);}[_0x5410a2(0x268)](_0x3356bc){var _0x59bc15=_0x5410a2;try{const _0x413e07=[..._0x3356bc,...this['_queuedRemoteChangesets']],_0x58c53b=[this['_awaitingChangeset']||this[_0x59bc15(0x43c)]][_0x59bc15(0x421)](_0x98da20=>!!_0x98da20);let _0x20269d,_0x2fcbbc;if(_0x58c53b[_0x59bc15(0x323)]){const _0xe7e322=this['_transformService'][_0x59bc15(0x45f)](_0x413e07,_0x58c53b,!0x1);if(!_0x596bf2(_0xe7e322))throw _0xe7e322[_0x59bc15(0x1ff)];_0x20269d=_0xe7e322['c1Prime'],_0x2fcbbc=_0xe7e322[_0x59bc15(0x375)];}else _0x20269d=_0x413e07,_0x2fcbbc=[];let _0x48da1a=this[_0x59bc15(0x2f6)];_0x20269d['forEach'](_0x2ab73d=>{var _0x30bf69=_0x59bc15;let _0x3727b4;if(_0x48da1a[_0x30bf69(0x323)]){const _0x479606=this[_0x30bf69(0x249)][_0x30bf69(0x1af)](_0x2ab73d,_0x48da1a);if(!_0x4f2573(_0x479606))throw _0x479606[_0x30bf69(0x1ff)];_0x3727b4=_0x479606[_0x30bf69(0x207)],_0x48da1a=_0x479606[_0x30bf69(0x31f)];}else _0x3727b4=_0x2ab73d;this[_0x30bf69(0x447)](_0x3727b4);}),this[_0x59bc15(0x43c)]&&this[_0x59bc15(0x1fb)](),this[_0x59bc15(0x1e7)]&&_0x2fcbbc[_0x59bc15(0x323)]&&(_0x2fcbbc[0x0]['baseRev']=this['_getCurrentRevision']());let _0x3f9c62;if(this[_0x59bc15(0x1e7)]&&_0x48da1a[_0x59bc15(0x323)]!==0x0)_0x3f9c62=this['_injector'][_0x59bc15(0x344)](ae,this[_0x59bc15(0x19c)],this[_0x59bc15(0x1a8)],_0x2fcbbc[0x0],_0x48da1a,this[_0x59bc15(0x468)],void 0x0);else{if(this[_0x59bc15(0x1e7)]&&_0x48da1a[_0x59bc15(0x323)]===0x0)_0x2fcbbc[0x0][_0x59bc15(0x3f3)]=this[_0x59bc15(0x3cc)](),_0x3f9c62=this['_injector'][_0x59bc15(0x344)](_e,this['unitID'],this[_0x59bc15(0x1a8)],_0x2fcbbc[0x0],this[_0x59bc15(0x468)]);else{if(_0x48da1a[_0x59bc15(0x323)]!==0x0){const _0x564151=this[_0x59bc15(0x3c3)][_0x59bc15(0x344)](re,this[_0x59bc15(0x19c)],this[_0x59bc15(0x1a8)],_0x48da1a,this[_0x59bc15(0x468)]);_0x564151['_schedule'](),_0x3f9c62=_0x564151;}else _0x3f9c62=this[_0x59bc15(0x3c3)]['createInstance'](ye,this[_0x59bc15(0x19c)],this['type'],this[_0x59bc15(0x468)]);}}return _0x3f9c62[_0x59bc15(0x38a)](),_0x3f9c62;}catch(_0x36372a){return this[_0x59bc15(0x352)][_0x59bc15(0x1ff)](_0x59bc15(0x240),'failed\x20to\x20apply\x20missed\x20changesets!',_0x36372a),this[_0x59bc15(0x3c3)][_0x59bc15(0x344)](le,this[_0x59bc15(0x19c)],this[_0x59bc15(0x1a8)],this[_0x59bc15(0x1e7)],this[_0x59bc15(0x2f6)],this[_0x59bc15(0x468)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5410a2(0x31c)](_0x2b4ed5){var _0x31a025=_0x5410a2;return this[_0x31a025(0x2f6)][_0x31a025(0x353)](_0x2b4ed5),this;}[_0x5410a2(0x477)](_0x102e49){var _0x5c90cd=_0x5410a2;return this[_0x5c90cd(0x351)][_0x5c90cd(0x353)](_0x102e49),this;}[_0x5410a2(0x47d)](_0x57d65c){var _0x5e0e1e=_0x5410a2;if(this[_0x5e0e1e(0x1e7)])return this[_0x5e0e1e(0x43c)]=this[_0x5e0e1e(0x1e7)],this[_0x5e0e1e(0x1e7)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x175d07){var _0x211dbd=_0x5410a2;return this['_onConflict'](!!(_0x175d07!=null&&_0x175d07[_0x211dbd(0x222)]));}[_0x5410a2(0x19a)](){return this;}[_0x5410a2(0x37c)](){var _0x19280b=_0x5410a2;return this[_0x19280b(0x3c3)][_0x19280b(0x344)](ue,this[_0x19280b(0x19c)],this[_0x19280b(0x1a8)],this[_0x19280b(0x1e7)],this[_0x19280b(0x2f6)],this[_0x19280b(0x468)]);}[_0x5410a2(0x25d)](){return this;}[_0x5410a2(0x3ff)](_0x32cb17){var _0x1aa7f2=_0x5410a2;return this[_0x1aa7f2(0x3c3)][_0x1aa7f2(0x344)](le,this['unitID'],this['type'],this[_0x1aa7f2(0x1e7)],this[_0x1aa7f2(0x2f6)],this['_handler'],_0x32cb17);}};Q=Ee([P(0x7,_0x2a67ea(_0xb9171d)),P(0x8,_0x2a67ea(_0x4291a6)),P(0x9,_0x3229e5),P(0xa,_0x51e75f),P(0xb,_0x384b35),P(0xc,_0x66570c),P(0xd,_0x38fedb(J))],Q);function Ti(_0x3aab1a,_0x59bb2b,_0x2ea6db,_0x6d67d7,_0x2a5e92,_0x48f346){var _0x360338=_0x5410a2;return _0x6d67d7&&_0x2a5e92[_0x360338(0x323)]?_0x3aab1a[_0x360338(0x344)](ae,_0x59bb2b,_0x2ea6db,_0x6d67d7,_0x2a5e92,_0x48f346,void 0x0):_0x6d67d7?_0x3aab1a[_0x360338(0x344)](_e,_0x59bb2b,_0x2ea6db,_0x6d67d7,_0x48f346):_0x2a5e92[_0x360338(0x323)]?_0x3aab1a[_0x360338(0x344)](re,_0x59bb2b,_0x2ea6db,_0x2a5e92,_0x48f346):_0x3aab1a[_0x360338(0x344)](ye,_0x59bb2b,_0x2ea6db,_0x48f346);}var Bs=Object[_0x5410a2(0x2a3)],wt=(_0x3a6c6d,_0x5445b0,_0x1ef0c2,_0x446769)=>{for(var _0x5026fc=_0x446769>0x1?void 0x0:_0x446769?Bs(_0x5445b0,_0x1ef0c2):_0x5445b0,_0x425643=_0x3a6c6d['length']-0x1,_0x3b4e7e;_0x425643>=0x0;_0x425643--)(_0x3b4e7e=_0x3a6c6d[_0x425643])&&(_0x5026fc=_0x3b4e7e(_0x5026fc)||_0x5026fc);return _0x5026fc;},H=(_0x5f3078,_0x18a3bc)=>(_0x18df35,_0x16487e)=>_0x18a3bc(_0x18df35,_0x16487e,_0x5f3078);let st=class extends _0x11e454{constructor(_0x5927e9,_0x4323a1,_0x1d9250,_0x9e839c,_0x4b4ed4,_0x57f575,_0x40e997,_0x55605b,_0x1efb82,_0x5e357e,_0x42eb3c,_0x528945,_0x271755){var _0x30e799=_0x5410a2;super(),N(this,_0x30e799(0x29c),new _0xc40a72(null)),N(this,_0x30e799(0x310),this[_0x30e799(0x29c)]['asObservable']()),N(this,_0x30e799(0x25a)),N(this,'_collaborationPaused',!0x1),N(this,_0x30e799(0x44e),''),N(this,_0x30e799(0x31a),0x0),N(this,'status$',this[_0x30e799(0x310)][_0x30e799(0x1bf)](_0x3abd4f(_0x51f56a=>_0x51f56a?_0x51f56a[_0x30e799(0x3fc)]:Ei['OFFLINE']),_0x2d840f(0x1))),N(this,_0x30e799(0x2cd),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x30e799(0x19c)]=_0x5927e9,this['session']=_0x4323a1,this[_0x30e799(0x218)]=_0x1d9250,this[_0x30e799(0x3c3)]=_0x9e839c,this[_0x30e799(0x1a4)]=_0x4b4ed4,this[_0x30e799(0x265)]=_0x57f575,this['_revisionService']=_0x40e997,this[_0x30e799(0x244)]=_0x55605b,this[_0x30e799(0x352)]=_0x1efb82,this[_0x30e799(0x1f0)]=_0x5e357e,this['_permissionService']=_0x42eb3c,this['_singleActiveUnitService']=_0x528945,this[_0x30e799(0x3e4)]=_0x271755);}get[_0x5410a2(0x214)](){var _0xffc39f=_0x5410a2;return this[_0xffc39f(0x25a)];}async[_0x5410a2(0x47e)](){var _0x5ca316=_0x5410a2;if(this[_0x5ca316(0x214)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5ca316(0x354)]();}[_0x5410a2(0x3de)](){return this['_collaborationPaused']=!0x0,_0x4c369e(()=>{var _0x454a45=_0x48ad;this[_0x454a45(0x430)]=!0x1,this[_0x454a45(0x43d)]();});}[_0x5410a2(0x1a2)](_0x53e99e){var _0x54d109=_0x5410a2;this[_0x54d109(0x3e6)](_0x53e99e);}[_0x5410a2(0x3d3)](_0xfb9f87){var _0x134b09=_0x5410a2;this[_0x134b09(0x25a)]=_0xfb9f87,this['_state$']['next'](_0xfb9f87);}async['_init'](){var _0x104464=_0x5410a2,_0x26390b;this[_0x104464(0x3d3)](await this[_0x104464(0x266)]()),this[_0x104464(0x272)]&&((_0x26390b=this[_0x104464(0x272)])==null||_0x26390b[_0x104464(0x2dc)](this['unitID']),this[_0x104464(0x292)](this[_0x104464(0x272)][_0x104464(0x1a3)](this['unitID'])[_0x104464(0x3a8)](_0x2342ea=>{var _0x2cb8b6=_0x104464;this[_0x2cb8b6(0x352)][_0x2cb8b6(0x3f1)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x2342ea),_0x2342ea===gi[_0x2cb8b6(0x332)]?(this[_0x2cb8b6(0x244)][_0x2cb8b6(0x2b4)]({'id':ne[_0x2cb8b6(0x326)]}),this[_0x2cb8b6(0x277)]['updatePermissionPoint'](new _0x3078fa(this[_0x2cb8b6(0x19c)])['id'],!0x1),this[_0x2cb8b6(0x277)][_0x2cb8b6(0x42e)](!0x1)):(this[_0x2cb8b6(0x277)][_0x2cb8b6(0x3ea)](new _0x3078fa(this['unitID'])['id'],!0x0),this[_0x2cb8b6(0x277)][_0x2cb8b6(0x42e)](!0x0));})));let _0x5574a3=!0x1;return this[_0x104464(0x292)](this[_0x104464(0x1f1)][_0x104464(0x3cd)][_0x104464(0x3a8)](_0x1c8f47=>{var _0x399910=_0x104464;_0x1c8f47===ge[_0x399910(0x34f)]?this[_0x399910(0x2ff)](_0x5574a3):_0x1c8f47===ge[_0x399910(0x2cb)]&&(_0x5574a3=!0x0,this[_0x399910(0x306)]());})),this['disposeWithMe'](this[_0x104464(0x1f1)][_0x104464(0x3f4)][_0x104464(0x3a8)](_0x328280=>{var _0xbcf4c9=_0x104464;try{switch(_0x328280['eventID']){case _0x58a832['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x596723(_0x328280['data']));break;}case _0x58a832[_0xbcf4c9(0x1cf)]:{this[_0xbcf4c9(0x206)](_0x328280[_0xbcf4c9(0x246)]);break;}case _0x58a832[_0xbcf4c9(0x20c)]:{this[_0xbcf4c9(0x2d1)]();break;}case _0x58a832['CHANGESET_SHOULD_RETRY']:{this[_0xbcf4c9(0x36b)](_0x328280['data']);break;}case _0x58a832[_0xbcf4c9(0x288)]:{this['_onFetchMissResult'](_0x328280['data'][_0xbcf4c9(0x436)][_0xbcf4c9(0x394)](_0xaa22b8=>_0x596723(_0xaa22b8)));break;}case _0x58a832[_0xbcf4c9(0x2bb)]:{this[_0xbcf4c9(0x2d1)]({'isPermissionRej':!0x0});break;}case _0x58a832[_0xbcf4c9(0x364)]:break;}}catch(_0x303155){throw console['error']('Error\x20on\x20receiving\x20event',_0x303155),_0x303155;}})),this['_state'];}[_0x5410a2(0x37f)](){var _0x2670ee=_0x5410a2;this[_0x2670ee(0x2cd)]=!0x1;}[_0x5410a2(0x3ab)](){var _0x1cf428=_0x5410a2;if(this['_transitionLocked'])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[_0x1cf428(0x2cd)]=!0x0;}[_0x5410a2(0x3e6)](_0xf8ba96){var _0x17e90d=_0x5410a2;this[_0x17e90d(0x3ab)](),this[_0x17e90d(0x3d3)](this[_0x17e90d(0x25a)][_0x17e90d(0x31c)](_0xf8ba96)),this[_0x17e90d(0x37f)]();}[_0x5410a2(0x267)](_0x37ee0d){var _0x50de61=_0x5410a2;if(!(_0x37ee0d[_0x50de61(0x39d)]<=this['_revisionService'][_0x50de61(0x31b)](this[_0x50de61(0x19c)]))){if(this[_0x50de61(0x430)]){this[_0x50de61(0x1f4)][_0x50de61(0x353)](_0x37ee0d);return;}this[_0x50de61(0x200)](_0x37ee0d);}}['_exhaustRemoteChangesetQueue'](){var _0x12f6ed=_0x5410a2;this[_0x12f6ed(0x1f4)][_0x12f6ed(0x20f)](_0x365d0f=>this[_0x12f6ed(0x200)](_0x365d0f)),this[_0x12f6ed(0x1f4)]=[];}[_0x5410a2(0x200)](_0x292c82){var _0xd13c3d=_0x5410a2;const _0x3bb03e=this[_0xd13c3d(0x1a4)][_0xd13c3d(0x1ab)]['fetchThroughInterceptors'](this[_0xd13c3d(0x1a4)][_0xd13c3d(0x1ab)][_0xd13c3d(0x1a1)]()['COMPRESS_MUTATION_APPLY'])(_0x292c82[_0xd13c3d(0x339)],null)||_0x292c82[_0xd13c3d(0x339)],_0x4bf6a5={..._0x292c82,'mutations':_0x3bb03e};this[_0xd13c3d(0x3ab)](),this[_0xd13c3d(0x3d3)](this[_0xd13c3d(0x25a)][_0xd13c3d(0x477)](_0x4bf6a5)),this[_0xd13c3d(0x37f)]();}['_onRemoteACK'](_0x390334){var _0x38ba98=_0x5410a2;this['_lockTransition'](),this[_0x38ba98(0x3d3)](this[_0x38ba98(0x25a)][_0x38ba98(0x47d)](_0x390334)),this[_0x38ba98(0x37f)]();}[_0x5410a2(0x2d1)](_0x1e39c9){var _0x34c6a2=_0x5410a2;this['_lockTransition'](),this[_0x34c6a2(0x3d3)](this[_0x34c6a2(0x25a)][_0x34c6a2(0x2a6)](_0x1e39c9)),this[_0x34c6a2(0x37f)]();}['_onRemoteRetry'](_0x405c62){var _0x33755e=_0x5410a2;this[_0x33755e(0x3ab)](),this[_0x33755e(0x3d3)](this[_0x33755e(0x25a)][_0x33755e(0x19a)](_0x405c62)),this[_0x33755e(0x37f)]();}[_0x5410a2(0x258)](_0x59cf0b){var _0x400182=_0x5410a2;if(!(this[_0x400182(0x25a)]instanceof Q))throw new TypeError(_0x400182(0x476));const _0x1d61fc=_0x59cf0b['map'](_0x254773=>{var _0x9fcf64=_0x400182;const _0x416bd6=this[_0x9fcf64(0x1a4)][_0x9fcf64(0x1ab)]['fetchThroughInterceptors'](this[_0x9fcf64(0x1a4)]['interceptor'][_0x9fcf64(0x1a1)]()[_0x9fcf64(0x219)])(_0x254773[_0x9fcf64(0x339)],null)||_0x254773[_0x9fcf64(0x339)];return{..._0x254773,'mutations':_0x416bd6};});this['_lockTransition'](),this[_0x400182(0x3d3)](this[_0x400182(0x25a)][_0x400182(0x268)](_0x1d61fc)),this[_0x400182(0x37f)]();}[_0x5410a2(0x306)](){var _0x2ae9fb=_0x5410a2;this[_0x2ae9fb(0x3ab)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x2ae9fb(0x37f)]();}[_0x5410a2(0x2ff)](_0x5e919f=!0x1){var _0x27a317=_0x5410a2;this[_0x27a317(0x3ab)](),this[_0x27a317(0x3d3)](this[_0x27a317(0x25a)]['toggleOnline']()),this[_0x27a317(0x37f)]();const _0x4a4698=this[_0x27a317(0x25a)];_0x5e919f&&_0x4a4698 instanceof ye&&(this['_lockTransition'](),this[_0x27a317(0x3d3)](_0x4a4698['fetchMiss']()),this[_0x27a317(0x37f)]());}async[_0x5410a2(0x266)](){return new Promise(_0x361ff0=>{var _0x5745a2=_0x48ad;this[_0x5745a2(0x1f1)][_0x5745a2(0x3cd)]['pipe'](_0x39041d(0x1))[_0x5745a2(0x3a8)](async _0xf9301a=>{var _0x1fd28d=_0x5745a2;_0x361ff0(await this[_0x1fd28d(0x35f)](_0xf9301a===ge[_0x1fd28d(0x34f)]));});});}['_createHandler'](){const _0x23a3f6=this['unitID'];return{'onStateChange':(_0xbeb4d1,_0x480cab)=>{var _0x123d8f=_0x48ad;if(_0xbeb4d1!==this[_0x123d8f(0x25a)])throw new Error(_0x123d8f(0x42c)+_0xbeb4d1[_0x123d8f(0x3fc)]+_0x123d8f(0x479)+_0x480cab[_0x123d8f(0x3fc)]+_0x123d8f(0x471)+this[_0x123d8f(0x25a)][_0x123d8f(0x3fc)]);this[_0x123d8f(0x3d3)](_0x480cab);},'onSendChangeset':_0x4675d5=>{var _0x8be30a=_0x48ad;_0x4675d5['sid']||(_0x4675d5['sid']=this[_0x8be30a(0x44e)],_0x4675d5['reqId']=++this[_0x8be30a(0x31a)]);const _0x26cfdc={'eventID':_0x58a832[_0x8be30a(0x260)],'data':{'unitID':_0x4675d5[_0x8be30a(0x19c)],'unitType':this['_type'],'changeset':_0x4675d5,'memberID':this[_0x8be30a(0x1f1)][_0x8be30a(0x3d0)]()}};this[_0x8be30a(0x1f1)][_0x8be30a(0x324)](_0x26cfdc,this['unitID']);},'onMissingChangesets':({from:_0x88d1e8,to:_0x59f6a5})=>{var _0x38c49b=_0x48ad;this[_0x38c49b(0x352)][_0x38c49b(0x3f1)](_0x38c49b(0x350),_0x38c49b(0x19d)+_0x88d1e8+_0x38c49b(0x18c)+_0x59f6a5);const _0xf7c602={'eventID':_0x58a832['FETCH_MISSING'],'data':{'unitID':_0x23a3f6,'unitType':this['_type'],'from':_0x88d1e8,'to':_0x59f6a5}};this[_0x38c49b(0x1f1)]['send'](_0xf7c602,this[_0x38c49b(0x19c)]);}};}async[_0x5410a2(0x35f)](_0x16aec6){var _0x1585ab=_0x5410a2,_0x2792d4,_0xf62092,_0x578988;const _0x3e7993=await((_0x2792d4=this[_0x1585ab(0x3e4)])==null?void 0x0:_0x2792d4['loadOfflineData'](this[_0x1585ab(0x19c)])),_0x49bd77=(_0xf62092=_0x3e7993==null?void 0x0:_0x3e7993['mutations'])!=null?_0xf62092:[],_0x32b99d=(_0x578988=_0x3e7993==null?void 0x0:_0x3e7993[_0x1585ab(0x388)])!=null?_0x578988:null,_0x11f9fe=!!(_0x32b99d!=null&&_0x32b99d[_0x1585ab(0x47b)])&&!!(_0x32b99d!=null&&_0x32b99d['reqId']);this[_0x1585ab(0x44e)]=_0x11f9fe?_0x32b99d[_0x1585ab(0x47b)]:_0x4076b1(),this[_0x1585ab(0x31a)]=_0x11f9fe?_0x32b99d['reqId']:0x0;const _0x2e67b5=this['unitID'];try{this['_replayCachedMutations'](_0x32b99d,_0x49bd77);}catch(_0x5b0146){this['_logService'][_0x1585ab(0x1ff)](_0x5b0146);}const _0x174f9c=this[_0x1585ab(0x3b6)]();if(_0x16aec6){const _0x1ff23f=Ti(this[_0x1585ab(0x3c3)],_0x2e67b5,this[_0x1585ab(0x218)],_0x32b99d,_0x49bd77,_0x174f9c);return _0x1ff23f instanceof re?_0x1ff23f['_schedule']():(_0x1ff23f instanceof ae||_0x1ff23f instanceof _e)&&_0x1ff23f[_0x1585ab(0x43f)](),_0x1ff23f;}return this[_0x1585ab(0x3c3)]['createInstance'](ue,_0x2e67b5,this[_0x1585ab(0x218)],_0x32b99d,_0x49bd77,_0x174f9c);}[_0x5410a2(0x38d)](_0x182a40,_0x3a658b){var _0x20587d=_0x5410a2,_0x50d8aa,_0x294dab;const _0x51d6d4=this['_compressMutationService'][_0x20587d(0x1ab)][_0x20587d(0x3be)](this[_0x20587d(0x1a4)]['interceptor'][_0x20587d(0x1a1)]()[_0x20587d(0x219)]);(_0x50d8aa=_0x51d6d4((_0x182a40==null?void 0x0:_0x182a40[_0x20587d(0x339)])||[],null))==null||_0x50d8aa[_0x20587d(0x20f)](_0x22981b=>this['_commandService'][_0x20587d(0x355)](_0x22981b['id'],_0x22981b[_0x20587d(0x409)])),(_0x294dab=_0x51d6d4(_0x3a658b||[],null))==null||_0x294dab[_0x20587d(0x20f)](_0x4f919e=>this[_0x20587d(0x1f0)][_0x20587d(0x355)](_0x4f919e['id'],_0x4f919e['params']));}};st=wt([H(0x3,_0x2a67ea(_0xb9171d)),H(0x4,_0x2a67ea(_0x19a54c)),H(0x5,_0x2a67ea(_0x2cfa1d)),H(0x6,_0x2a67ea(_0x4291a6)),H(0x7,_0x2a67ea(ve)),H(0x8,_0x3229e5),H(0x9,_0x51e75f),H(0xa,_0x5a942e),H(0xb,_0x38fedb(ht)),H(0xc,_0x38fedb(J))],st);let St=class extends st{constructor(_0x5911e6,_0x5148d7,_0x3a841d,_0x574f39,_0x26bdfe,_0x4160cc,_0x8f402c,_0x4ef35b,_0x51b7b6,_0x2ad400,_0x486a05,_0x1f2d51,_0x1e1434){var _0xa2b3c0=_0x5410a2;super(_0x5911e6,_0x3a841d,_0x5148d7,_0x574f39,_0x26bdfe,_0x4160cc,_0x8f402c,_0x4ef35b,_0x51b7b6,_0x2ad400,_0x486a05,_0x1f2d51,_0x1e1434),N(this,'_handlerCallback',null),(this['unitID']=_0x5911e6,this[_0xa2b3c0(0x1a8)]=_0x5148d7);}[_0x5410a2(0x1b1)](_0x56d2cd){this['_handlerCallback']=_0x56d2cd;}[_0x5410a2(0x395)](){var _0x3d827f=_0x5410a2;this[_0x3d827f(0x28d)]=null,super[_0x3d827f(0x395)]();}[_0x5410a2(0x3b6)](){var _0x556ea4=_0x5410a2;const _0x5808a9=super['_createHandler']();return _0x5808a9[_0x556ea4(0x1c8)]=_0x1715ca=>{var _0x8dea5f=_0x556ea4,_0x5be6c8,_0x12e15b;return(_0x12e15b=(_0x5be6c8=this[_0x8dea5f(0x28d)])==null?void 0x0:_0x5be6c8[_0x8dea5f(0x1c8)])==null?void 0x0:_0x12e15b[_0x8dea5f(0x281)](_0x5be6c8,_0x1715ca);},_0x5808a9[_0x556ea4(0x18b)]=_0x306c80=>{var _0x364c24=_0x556ea4,_0x39c896,_0x53e065;return(_0x53e065=(_0x39c896=this[_0x364c24(0x28d)])==null?void 0x0:_0x39c896[_0x364c24(0x18b)])==null?void 0x0:_0x53e065[_0x364c24(0x281)](_0x39c896,_0x306c80);},_0x5808a9[_0x556ea4(0x402)]=_0x38e216=>{var _0x40ad02=_0x556ea4,_0x257070,_0x426d1c;return(_0x426d1c=(_0x257070=this[_0x40ad02(0x28d)])==null?void 0x0:_0x257070['onTransformSelections'])==null?void 0x0:_0x426d1c[_0x40ad02(0x281)](_0x257070,_0x38e216);},_0x5808a9[_0x556ea4(0x3ac)]=_0x341b10=>{var _0x40bdc1=_0x556ea4,_0x5d2bae,_0x3043bc;return(_0x3043bc=(_0x5d2bae=this[_0x40bdc1(0x28d)])==null?void 0x0:_0x5d2bae[_0x40bdc1(0x3ac)])==null?void 0x0:_0x3043bc[_0x40bdc1(0x281)](_0x5d2bae,_0x341b10);},_0x5808a9['onTransformRemoteChangesetByIMECache']=_0x158a28=>{var _0x3f55bd=_0x556ea4,_0x4baa70,_0xf9309c,_0xd9d737;if(!((_0x4baa70=this['_handlerCallback'])!=null&&_0x4baa70[_0x3f55bd(0x423)]))throw new Error(_0x3f55bd(0x437));return(_0xd9d737=(_0xf9309c=this[_0x3f55bd(0x28d)])==null?void 0x0:_0xf9309c[_0x3f55bd(0x423)])==null?void 0x0:_0xd9d737['call'](_0xf9309c,_0x158a28);},_0x5808a9[_0x556ea4(0x3aa)]=_0x33f581=>{var _0x2bf2c8=_0x556ea4,_0x1e386e,_0x4e2bbc,_0x595465;if(!((_0x1e386e=this[_0x2bf2c8(0x28d)])!=null&&_0x1e386e[_0x2bf2c8(0x3aa)]))throw new Error(_0x2bf2c8(0x24f));return(_0x595465=(_0x4e2bbc=this[_0x2bf2c8(0x28d)])==null?void 0x0:_0x4e2bbc[_0x2bf2c8(0x3aa)])==null?void 0x0:_0x595465[_0x2bf2c8(0x281)](_0x4e2bbc,_0x33f581);},_0x5808a9;}async[_0x5410a2(0x354)](){var _0x139533=_0x5410a2;const _0x9207f=await super['_init']();return this['disposeWithMe'](this[_0x139533(0x1f0)]['onCommandExecuted']((_0x249746,_0xdc3a11)=>{var _0x4fb687=_0x139533;if(_0x249746['type']!==_0x21f367[_0x4fb687(0x320)]||_0xdc3a11!=null&&_0xdc3a11['fromCollab']||_0xdc3a11!=null&&_0xdc3a11[_0x4fb687(0x1c7)]||_0x249746['id']===_0x43c442['id'])return;const _0x33dffe=_0x249746[_0x4fb687(0x409)];if((_0x33dffe==null?void 0x0:_0x33dffe[_0x4fb687(0x1d8)])!==this[_0x4fb687(0x19c)])return;const _0x2cd8e7=_0x249746,_0x364241=this[_0x4fb687(0x1a4)]['interceptor'][_0x4fb687(0x3be)](this[_0x4fb687(0x1a4)][_0x4fb687(0x1ab)]['getInterceptPoints']()[_0x4fb687(0x450)])([_0x2cd8e7],null)||[_0x2cd8e7];this[_0x4fb687(0x3e6)](_0x364241[0x0]);})),_0x9207f;}};St=wt([H(0x3,_0x2a67ea(_0xb9171d)),H(0x4,_0x2a67ea(_0x19a54c)),H(0x5,_0x2a67ea(_0x2cfa1d)),H(0x6,_0x2a67ea(_0x4291a6)),H(0x7,_0x2a67ea(ve)),H(0x8,_0x3229e5),H(0x9,_0x51e75f),H(0xa,_0x5a942e),H(0xb,_0x38fedb(ht)),H(0xc,_0x38fedb(J))],St);let Et=class extends st{constructor(_0x2446f2,_0x26b9c2,_0x1301cc,_0x512762,_0x37398d,_0x1a79f9,_0x47758d,_0x426e1b,_0x17ea2f,_0x1805c6,_0x439a6f,_0x54b3f7,_0x52a005,_0x110a6e){var _0x186966=_0x5410a2;super(_0x2446f2,_0x1301cc,_0x26b9c2,_0x512762,_0x37398d,_0x1a79f9,_0x47758d,_0x17ea2f,_0x1805c6,_0x439a6f,_0x54b3f7,_0x52a005,_0x110a6e),this['unitID']=_0x2446f2,this[_0x186966(0x1a8)]=_0x26b9c2,this[_0x186966(0x225)]=_0x426e1b;}['_createHandler'](){var _0x5effa0=_0x5410a2;const _0x1494e2=super[_0x5effa0(0x3b6)]();return _0x1494e2[_0x5effa0(0x402)]=_0x59b983=>this['_sheetTransformSelectionsService'][_0x5effa0(0x452)](_0x59b983),_0x1494e2;}async[_0x5410a2(0x354)](){var _0x2a440d=_0x5410a2;const _0x4520a2=await super[_0x2a440d(0x354)]();return this[_0x2a440d(0x292)](this[_0x2a440d(0x1f0)][_0x2a440d(0x462)]((_0x1d56d9,_0x292f4b)=>{var _0x3ae7f3=_0x2a440d;if(_0x1d56d9[_0x3ae7f3(0x1a8)]!==_0x21f367['MUTATION']||_0x292f4b!=null&&_0x292f4b['fromCollab']||_0x292f4b!=null&&_0x292f4b[_0x3ae7f3(0x1c7)])return;const _0x3f655e=_0x1d56d9[_0x3ae7f3(0x409)];if((_0x3f655e==null?void 0x0:_0x3f655e[_0x3ae7f3(0x1d8)])!==this[_0x3ae7f3(0x19c)])return;const _0x537db1=_0x1d56d9,_0x3b0df0=this['_compressMutationService']['interceptor'][_0x3ae7f3(0x3be)](this[_0x3ae7f3(0x1a4)][_0x3ae7f3(0x1ab)][_0x3ae7f3(0x1a1)]()[_0x3ae7f3(0x450)])([_0x537db1],null)||[_0x537db1];this[_0x3ae7f3(0x3e6)](_0x3b0df0[0x0]);})),_0x4520a2;}};Et=wt([H(0x3,_0x2a67ea(_0xb9171d)),H(0x4,_0x2a67ea(_0x19a54c)),H(0x5,_0x2a67ea(_0x2cfa1d)),H(0x6,_0x2a67ea(_0x4291a6)),H(0x7,_0x2a67ea(it)),H(0x8,_0x2a67ea(ve)),H(0x9,_0x3229e5),H(0xa,_0x51e75f),H(0xb,_0x5a942e),H(0xc,_0x38fedb(ht)),H(0xd,_0x38fedb(J))],Et);const js=_0x4f0779(_0x5410a2(0x434));function Fs(_0x1f8fbc){var _0x374ebc=_0x5410a2,_0x3f867e,_0x3b9b69,_0x4d4cdf,_0x762320,_0x1a78e0;const _0x49209f=_0x1f8fbc[_0x374ebc(0x246)],_0x5bb33d=JSON['parse'](_0x49209f);switch(_0x5bb33d[_0x374ebc(0x3b5)]){case F['HEARTBEAT']:case F[_0x374ebc(0x374)]:{const _0x26baf1=_0x5bb33d[_0x374ebc(0x400)];return{..._0x5bb33d,'data':_0x26baf1,'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};}case F[_0x374ebc(0x28f)]:{const _0x2df284=_0x5bb33d[_0x374ebc(0x213)];return{..._0x5bb33d,'data':_0x2df284,'cmd':_0x5bb33d['cmd']};}case F['RECV']:{const _0x4c04f9=_0x5bb33d[_0x374ebc(0x416)];switch(_0x4c04f9[_0x374ebc(0x3ee)]){case _0x58a832[_0x374ebc(0x2bb)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x3f867e=_0x4c04f9[_0x374ebc(0x1e0)])==null?void 0x0:_0x3f867e['cs']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832['CHANGESET_ACK']:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x3b9b69=_0x4c04f9['csAckEvent'])==null?void 0x0:_0x3b9b69['cs']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x2ca)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x4d4cdf=_0x4c04f9[_0x374ebc(0x31e)])==null?void 0x0:_0x4d4cdf['cs']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x20c)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x762320=_0x4c04f9[_0x374ebc(0x329)])==null?void 0x0:_0x762320['cs']},'cmd':_0x5bb33d['cmd']};case _0x58a832['CHANGESET_SHOULD_RETRY']:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':(_0x1a78e0=_0x4c04f9[_0x374ebc(0x47c)])==null?void 0x0:_0x1a78e0['cs']},'cmd':_0x5bb33d['cmd']};case _0x58a832[_0x374ebc(0x37e)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x1cb)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x428)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x360)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x3c5)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x187)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x475)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x2e5)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x1f5)]:case _0x58a832['LIVESHARE_OPERATION']:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x25f)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x2a8)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x2e5)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x1a5)]:return{..._0x5bb33d,'data':_0x4c04f9,'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x239)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x293)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x205)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9['updatePermissionObjEvent']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x415)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9[_0x374ebc(0x3db)]},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};case _0x58a832[_0x374ebc(0x364)]:return{..._0x5bb33d,'data':{..._0x4c04f9,'data':_0x4c04f9['uniscriptRunEvent']},'cmd':_0x5bb33d[_0x374ebc(0x3b5)]};default:return _0x5bb33d;}}default:return _0x5bb33d;}}function Vs(_0x5ecad7){var _0x411062=_0x5410a2;switch(_0x5ecad7[_0x411062(0x3b5)]){case F[_0x411062(0x284)]:case F[_0x411062(0x374)]:return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7['cmd'],'routeKey':_0x5ecad7['routeKey']});case F[_0x411062(0x2c1)]:{let _0x332e9d;switch(_0x5ecad7[_0x411062(0x246)][_0x411062(0x3ee)]){case _0x58a832[_0x411062(0x37e)]:{_0x332e9d={'eventID':_0x58a832['UPDATE_CURSOR'],'updateCursorEvent':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x3c5)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x3c5)],'leaveEvent':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x428)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x428)],'joinEvent':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832['LIVESHARE_NEW_HOST']:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x475)],'liveShareNewHost':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x40f)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x40f)],'liveShareOperation':_0x5ecad7[_0x411062(0x246)][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x2a8)]:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x2a8)],'liveShareTerminate':_0x5ecad7['data'][_0x411062(0x246)]};break;}case _0x58a832[_0x411062(0x3ed)]:{_0x332e9d={'eventID':_0x58a832['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5ecad7[_0x411062(0x246)]['data']};break;}case _0x58a832['LIVESHARE_FETCH_OPERATIONS']:{_0x332e9d={'eventID':_0x58a832[_0x411062(0x1f5)]};break;}default:_0x332e9d={'eventID':_0x5ecad7[_0x411062(0x246)][_0x411062(0x3ee)]};}return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7[_0x411062(0x3b5)],'routeKey':_0x5ecad7[_0x411062(0x2ae)],'collaMsg':_0x332e9d});}case F[_0x411062(0x28f)]:return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7[_0x411062(0x3b5)],'routeKey':_0x5ecad7[_0x411062(0x2ae)],'joinReq':_0x5ecad7[_0x411062(0x246)]});case F['LEAVE']:return JSON[_0x411062(0x45b)]({'cmd':_0x5ecad7[_0x411062(0x3b5)],'routeKey':_0x5ecad7['routeKey'],'leaveReq':_0x5ecad7['data']});default:throw new Error(_0x411062(0x21d));}}var Ws=Object[_0x5410a2(0x2a3)],Gs=(_0x572f14,_0x5ab348,_0x59ec19,_0x313ca7)=>{for(var _0x3c2fb5=_0x313ca7>0x1?void 0x0:_0x313ca7?Ws(_0x5ab348,_0x59ec19):_0x5ab348,_0x564e85=_0x572f14['length']-0x1,_0x4db63a;_0x564e85>=0x0;_0x564e85--)(_0x4db63a=_0x572f14[_0x564e85])&&(_0x3c2fb5=_0x4db63a(_0x3c2fb5)||_0x3c2fb5);return _0x3c2fb5;},De=(_0x4236be,_0x2a0423)=>(_0x166bd9,_0x34edda)=>_0x2a0423(_0x166bd9,_0x34edda,_0x4236be);const Ci=_0x4f0779(_0x5410a2(0x1aa));function Ys(_0x261c5e,_0xe3a632,_0x22113d){var _0x1888d6=_0x5410a2;return _0x261c5e+'/'+_0xe3a632+_0x1888d6(0x33e)+_0x22113d+_0x1888d6(0x23c);}let Gt=class extends _0xba8b36{constructor(_0x1be2af,_0x5173ea,_0x45f398,_0xdc579,_0x3c48d5){var _0x4c6c99=_0x5410a2;super(),this['_injector']=_0x1be2af,this[_0x4c6c99(0x3a7)]=_0x5173ea,this[_0x4c6c99(0x39f)]=_0x45f398,this['_logService']=_0xdc579,this[_0x4c6c99(0x327)]=_0x3c48d5;}[_0x5410a2(0x283)](_0x4cf838){var _0xcc6f00=_0x5410a2;const _0x1b3875=this[_0xcc6f00(0x3c3)][_0xcc6f00(0x19f)](_0x3e8cce);if(!_0x1b3875)throw new Error(_0xcc6f00(0x458));const _0x5915e3=_0x1b3875[_0xcc6f00(0x196)](_0x4cf838);if(!_0x5915e3)throw new Error(_0xcc6f00(0x3e1));const _0x4d2e02=new _0x1fcbec(),_0x1920bc=new _0x3a3a31();_0x4d2e02[_0xcc6f00(0x349)](_0x5915e3[_0xcc6f00(0x444)][_0xcc6f00(0x3a8)](_0x512f7c=>_0x1920bc[_0xcc6f00(0x451)](_0x512f7c))),_0x4d2e02[_0xcc6f00(0x349)](_0x4c369e(()=>_0x1920bc[_0xcc6f00(0x1ae)]()));const _0x3fd237=new _0x3a3a31();_0x4d2e02['add'](_0x5915e3[_0xcc6f00(0x3d5)][_0xcc6f00(0x3a8)](_0x13db0d=>_0x3fd237[_0xcc6f00(0x451)](_0x13db0d))),_0x4d2e02[_0xcc6f00(0x349)](_0x4c369e(()=>_0x3fd237['complete']()));const _0x58ccad=new _0x3a3a31();_0x4d2e02[_0xcc6f00(0x349)](_0x5915e3['message$']['subscribe'](_0x41181d=>{var _0x30e7a2=_0xcc6f00;const _0xc05d5c=Fs(_0x41181d);_0x58ccad[_0x30e7a2(0x451)](_0xc05d5c);})),_0x4d2e02[_0xcc6f00(0x349)](_0x4c369e(()=>_0x58ccad['complete']()));let _0x458747;const _0x2bc388=()=>{var _0x35e36f=_0xcc6f00;_0x3fd237[_0x35e36f(0x451)](new Event('connection\x20error')),_0x1920bc[_0x35e36f(0x451)](new Event(_0x35e36f(0x2b3))),_0x458747['close']();};return _0x458747={'memberID':'','close$':_0x1920bc[_0xcc6f00(0x449)](),'error$':_0x3fd237[_0xcc6f00(0x449)](),'open$':_0x5915e3[_0xcc6f00(0x2a0)],'message$':_0x58ccad[_0xcc6f00(0x449)](),'send':_0x3ca57e=>{var _0x5cf642=_0xcc6f00;if(_0x3ca57e[_0x5cf642(0x3b5)]===F[_0x5cf642(0x2c1)]){if(_0x3ca57e[_0x5cf642(0x246)][_0x5cf642(0x3ee)]===_0x58a832[_0x5cf642(0x260)]){this[_0x5cf642(0x2f7)](_0x458747,_0x3ca57e[_0x5cf642(0x246)])['catch'](_0x1ed34b=>{var _0xf6c397=_0x5cf642;this['_logService'][_0xf6c397(0x1ff)](_0x1ed34b),_0x2bc388();});return;}if(_0x3ca57e[_0x5cf642(0x246)]['eventID']===_0x58a832[_0x5cf642(0x2c0)]){const _0x468e40=_0x3ca57e['data'];this[_0x5cf642(0x3d4)](_0x468e40)[_0x5cf642(0x32c)](_0x360cc2=>{var _0x5be4e2=_0x5cf642;_0x58ccad['next']({'cmd':F[_0x5be4e2(0x1f9)],'code':pe['OK'],'routeKey':_0x468e40[_0x5be4e2(0x246)][_0x5be4e2(0x19c)],'routeType':'','data':{'eventID':_0x58a832[_0x5be4e2(0x288)],'data':{'changesets':_0x360cc2}}});})['catch'](_0x588374=>{var _0x5b204c=_0x5cf642;this[_0x5b204c(0x352)][_0x5b204c(0x1ff)](_0x588374),_0x2bc388();});return;}}_0x5915e3['send'](Vs(_0x3ca57e));},'close':()=>{var _0x5245ed=_0xcc6f00;_0x5915e3['close'](),_0x4d2e02[_0x5245ed(0x395)]();}},_0x458747;}async[_0x5410a2(0x2f7)](_0x3a1f38,_0x2411da){var _0x378bf2=_0x5410a2,_0x5ae6cf;const {unitType:_0x4b4d54,unitID:_0x10a2ae,changeset:_0x240002}=_0x2411da[_0x378bf2(0x246)],_0x51d92e={'unitID':_0x10a2ae,'memberID':_0x3a1f38['memberID'],'type':_0x4b4d54,'changeset':_0x3be09d(_0x240002)},_0x5d4d5a=this['_configService'][_0x378bf2(0x467)](K),_0x5a13d2=Ys((_0x5ae6cf=_0x5d4d5a==null?void 0x0:_0x5d4d5a[_0x378bf2(0x2ce)])!=null?_0x5ae6cf:Cs,_0x4b4d54,_0x10a2ae);try{await this[_0x378bf2(0x3a7)]['post'](_0x5a13d2,{'body':_0x51d92e});}catch(_0x126dcc){throw this[_0x378bf2(0x352)][_0x378bf2(0x1ff)](_0x378bf2(0x3cf),_0x378bf2(0x3f2)),_0x126dcc;}}async[_0x5410a2(0x3d4)](_0x4fa024){var _0x373d90=_0x5410a2;const {unitID:_0x11c2ff,from:_0x276964,to:_0xa64bce,unitType:_0x157947}=_0x4fa024[_0x373d90(0x246)];return(await this[_0x373d90(0x327)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x11c2ff,'type':_0x157947,'from':_0x276964,'to':_0xa64bce}))[_0x373d90(0x436)];}};Gt=Gs([De(0x0,_0x2a67ea(_0xb9171d)),De(0x1,_0x2a67ea(_0x4adef9)),De(0x2,_0x54dc50),De(0x3,_0x3229e5),De(0x4,_0x781d63)],Gt);var Ks=Object[_0x5410a2(0x2a3)],qs=(_0x4f1cf8,_0x8a735a,_0x3b8b6a,_0x393813)=>{for(var _0x3a23a1=_0x393813>0x1?void 0x0:_0x393813?Ks(_0x8a735a,_0x3b8b6a):_0x8a735a,_0x1ae7f6=_0x4f1cf8['length']-0x1,_0x422c53;_0x1ae7f6>=0x0;_0x1ae7f6--)(_0x422c53=_0x4f1cf8[_0x1ae7f6])&&(_0x3a23a1=_0x422c53(_0x3a23a1)||_0x3a23a1);return _0x3a23a1;},Re=(_0x3d2042,_0xd12e33)=>(_0x453fcb,_0x5954f5)=>_0xd12e33(_0x453fcb,_0x5954f5,_0x3d2042);let Pe=class extends _0xba8b36{constructor(_0x1153e6,_0x48d277,_0x2b44bc,_0x454dd0,_0x210d59,_0x5938d3){var _0x211988=_0x5410a2;super(),N(this,_0x211988(0x454),new _0xc40a72(void 0x0)),N(this,_0x211988(0x432),this[_0x211988(0x454)][_0x211988(0x449)]()),N(this,_0x211988(0x217),null),N(this,_0x211988(0x3ce),new Map()),N(this,'_status$',new _0xc40a72(ge[_0x211988(0x2e9)])),N(this,_0x211988(0x2ea),this[_0x211988(0x41c)][_0x211988(0x449)]()),N(this,_0x211988(0x42f),!0x1),N(this,_0x211988(0x291)),N(this,'_retryCount',0x0),N(this,_0x211988(0x270)),N(this,_0x211988(0x3da)),(this['_injector']=_0x1153e6,this[_0x211988(0x352)]=_0x48d277,this[_0x211988(0x39f)]=_0x2b44bc,this[_0x211988(0x2cf)]=_0x454dd0,this['_collaborationUIEventService']=_0x210d59,this[_0x211988(0x1e4)]=_0x5938d3,this[_0x211988(0x39a)]());}get[_0x5410a2(0x47a)](){var _0x3f3816=_0x5410a2;return this['_socket$'][_0x3f3816(0x39e)]();}[_0x5410a2(0x39a)](){var _0x456f86=_0x5410a2;this[_0x456f86(0x1e4)]&&this['disposeWithMe'](this[_0x456f86(0x1e4)][_0x456f86(0x308)]['subscribe'](_0x3b0ebe=>{var _0x1e97c3=_0x456f86;_0x3b0ebe&&!this[_0x1e97c3(0x47a)]&&this['reconnect'](),_0x3b0ebe||this['_onOffline']();}));}[_0x5410a2(0x395)](){var _0x55b8c7=_0x5410a2;super['dispose'](),this[_0x55b8c7(0x3e8)](),this[_0x55b8c7(0x30a)](),this['_clearHeartbeatTimer'](),this[_0x55b8c7(0x3ce)][_0x55b8c7(0x20f)](_0x3f9e28=>_0x3f9e28[_0x55b8c7(0x395)]()),this['_sessions']['clear'](),this[_0x55b8c7(0x41c)][_0x55b8c7(0x1ae)]();}async['requireSession'](_0x5ecb71){var _0x346395=_0x5410a2;if(this[_0x346395(0x3ce)][_0x346395(0x290)](_0x5ecb71))return this[_0x346395(0x3ce)][_0x346395(0x19f)](_0x5ecb71);this[_0x346395(0x20a)]();const _0x265c1a=this[_0x346395(0x3c3)][_0x346395(0x344)](gt,_0x5ecb71,this['_socket$'][_0x346395(0x449)]());return this[_0x346395(0x3ce)][_0x346395(0x1b2)](_0x5ecb71,_0x265c1a),_0x265c1a;}[_0x5410a2(0x294)](_0x3a52a0){var _0x51aaee=_0x5410a2,_0x176efd;const _0x1658b4=this[_0x51aaee(0x3ce)][_0x51aaee(0x19f)](_0x3a52a0);_0x1658b4&&(this[_0x51aaee(0x3ce)][_0x51aaee(0x186)](_0x3a52a0),_0x1658b4[_0x51aaee(0x1ed)]()),this['_sessions'][_0x51aaee(0x43b)]||(_0x176efd=this['_socket'])==null||_0x176efd[_0x51aaee(0x1ed)]();}[_0x5410a2(0x273)](){var _0x120aff=_0x5410a2;this[_0x120aff(0x357)]=0x0,this[_0x120aff(0x3e8)](),this[_0x120aff(0x398)]();}['_clearRetryConnectingTimer'](){var _0x2ad5b4=_0x5410a2;this[_0x2ad5b4(0x291)]!=null&&(clearTimeout(this[_0x2ad5b4(0x291)]),this[_0x2ad5b4(0x291)]=null);}async['_createSocket'](){var _0x41cdb7=_0x5410a2,_0x1dac72;const _0x5f10d6=this[_0x41cdb7(0x39f)][_0x41cdb7(0x467)](K),_0xf85272=(_0x1dac72=_0x5f10d6==null?void 0x0:_0x5f10d6[_0x41cdb7(0x182)])!=null?_0x1dac72:ms,_0x832ae3=await this[_0x41cdb7(0x2cf)][_0x41cdb7(0x196)](_0xf85272);return this[_0x41cdb7(0x217)]=_0x832ae3,_0x832ae3;}async[_0x5410a2(0x20a)](){var _0xe6c34=_0x5410a2,_0x3bb87e,_0x262b8c;try{const _0xab88d8=(_0x262b8c=(_0x3bb87e=this[_0xe6c34(0x47a)])!=null?_0x3bb87e:this[_0xe6c34(0x217)])!=null?_0x262b8c:await this[_0xe6c34(0x301)]();if(_0xab88d8){const _0x3e5f33=_0xab88d8[_0xe6c34(0x324)];_0xab88d8[_0xe6c34(0x324)]=_0xd33e5f=>(this[_0xe6c34(0x32d)](),_0x3e5f33[_0xe6c34(0x392)](_0xab88d8,[_0xd33e5f])),_0xab88d8['message$'][_0xe6c34(0x3a8)](_0x452357=>this[_0xe6c34(0x1cc)](_0xab88d8,_0x452357)),_0xab88d8[_0xe6c34(0x3d5)][_0xe6c34(0x1bf)](_0x4bd71c(0x1))[_0xe6c34(0x3a8)](_0x287d5b=>this[_0xe6c34(0x352)][_0xe6c34(0x1ff)](_0xe6c34(0x1df),_0x287d5b)),_0xab88d8[_0xe6c34(0x2a0)][_0xe6c34(0x1bf)](_0x4bd71c(0x1))['subscribe'](()=>{var _0x285f02=_0xe6c34;this[_0x285f02(0x1ee)](_0xab88d8);}),_0xab88d8[_0xe6c34(0x444)][_0xe6c34(0x1bf)](_0x4bd71c(0x1))['subscribe'](_0x2b3414=>{var _0x4f6fe3=_0xe6c34;this['_logService']['debug'](_0x4f6fe3(0x29d),_0x4f6fe3(0x378),_0x2b3414),this[_0x4f6fe3(0x2d7)]();});}}catch(_0x37b4e8){this['_logService'][_0xe6c34(0x1ff)](_0x37b4e8),this[_0xe6c34(0x2d7)]();}}['_onConnectionOpen'](_0x206ec2){var _0x194113=_0x5410a2;this[_0x194113(0x352)]['debug'](_0x194113(0x29d),_0x194113(0x3a3)),_0x206ec2[_0x194113(0x324)]({'cmd':F['HELLO']}),this[_0x194113(0x32d)]();}['_onOffline'](){var _0xf10127=_0x5410a2;this[_0xf10127(0x42f)]=!0x1,this['_candidateSocket']=null,this[_0xf10127(0x41c)][_0xf10127(0x451)](ge[_0xf10127(0x2cb)]),this['_socket$'][_0xf10127(0x451)](null),this[_0xf10127(0x30a)](),this[_0xf10127(0x1c2)]();}[_0x5410a2(0x2d7)](){var _0x242917=_0x5410a2,_0x21feff;this[_0x242917(0x300)](),this['_retryCount']<((_0x21feff=this['_configService'][_0x242917(0x467)](Is))!=null?_0x21feff:Ts)?(this[_0x242917(0x21b)]['emitEvent']({'id':ne[_0x242917(0x311)]}),this[_0x242917(0x398)]()):this['_collaborationUIEventService'][_0x242917(0x2b4)]({'id':ne[_0x242917(0x3d2)]});}[_0x5410a2(0x398)](){var _0x27b454=_0x5410a2,_0x5664b8;const _0x3a3496=this[_0x27b454(0x357)],_0x2446c4=this[_0x27b454(0x39f)]['getConfig'](K),_0x5771f4=_0x3a3496===0x0?0x0:((_0x5664b8=_0x2446c4==null?void 0x0:_0x2446c4[_0x27b454(0x2da)])!=null?_0x5664b8:Es)*0x2**_0x3a3496;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2e1166=_0x27b454;clearTimeout(this[_0x2e1166(0x291)]),this['_retryConnectingTimer']=null,this[_0x2e1166(0x20a)]();},_0x5771f4),this[_0x27b454(0x357)]+=0x1;}[_0x5410a2(0x1cc)](_0x1c3d87,_0x54fd8c){var _0x50aac1=_0x5410a2;const {cmd:_0x469d4f}=_0x54fd8c;_0x469d4f===F[_0x50aac1(0x374)]&&!this[_0x50aac1(0x42f)]&&(_0x1c3d87[_0x50aac1(0x3e7)]=_0x54fd8c[_0x50aac1(0x246)][_0x50aac1(0x3e7)],this[_0x50aac1(0x454)][_0x50aac1(0x451)](_0x1c3d87),this[_0x50aac1(0x41c)]['next'](ge[_0x50aac1(0x34f)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x469d4f===F[_0x50aac1(0x284)]&&this['_clearTimeoutTimer'](),this[_0x50aac1(0x32d)]();}['_rescheduleHeartbeat'](){var _0x346ed2=_0x5410a2,_0x19827c;this[_0x346ed2(0x1c2)](),this[_0x346ed2(0x270)]=setTimeout(()=>this[_0x346ed2(0x192)](),(_0x19827c=this[_0x346ed2(0x39f)]['getConfig'](gs))!=null?_0x19827c:Ss);}[_0x5410a2(0x192)](){var _0x1229d2=_0x5410a2;this['_socket'][_0x1229d2(0x324)]({'cmd':F[_0x1229d2(0x284)]}),this[_0x1229d2(0x387)]();}[_0x5410a2(0x387)](){var _0x2c7ce3=_0x5410a2,_0x30e672;this[_0x2c7ce3(0x3da)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x30e672=this[_0x2c7ce3(0x39f)][_0x2c7ce3(0x467)](di))!=null?_0x30e672:fi);}[_0x5410a2(0x1c2)](){var _0x9c8e9a=_0x5410a2;this[_0x9c8e9a(0x270)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x9c8e9a(0x270)]=null);}[_0x5410a2(0x30a)](){var _0x4b5a39=_0x5410a2;this[_0x4b5a39(0x3da)]!=null&&(clearTimeout(this[_0x4b5a39(0x3da)]),this[_0x4b5a39(0x3da)]=null);}};Pe=qs([Re(0x0,_0x2a67ea(_0xb9171d)),Re(0x1,_0x3229e5),Re(0x2,_0x54dc50),Re(0x3,Ci),Re(0x4,_0x2a67ea(ve)),Re(0x5,_0x38fedb(js))],Pe);var zs=Object[_0x5410a2(0x2a3)],Js=(_0x2b7474,_0x40fb7d,_0x5c0f60,_0x8f890f)=>{var _0x43228e=_0x5410a2;for(var _0x3392bd=_0x8f890f>0x1?void 0x0:_0x8f890f?zs(_0x40fb7d,_0x5c0f60):_0x40fb7d,_0x394361=_0x2b7474[_0x43228e(0x323)]-0x1,_0x541ab;_0x394361>=0x0;_0x394361--)(_0x541ab=_0x2b7474[_0x394361])&&(_0x3392bd=_0x541ab(_0x3392bd)||_0x3392bd);return _0x3392bd;},Be=(_0x594260,_0xca868f)=>(_0x56778d,_0x2f9d9d)=>_0xca868f(_0x56778d,_0x2f9d9d,_0x594260);let nt=class extends _0x11e454{constructor(_0x3a32e3,_0x3889e1,_0x1300f6,_0x160425){var _0x434fca=_0x5410a2,_0x336872;super(),N(this,_0x434fca(0x21a),new Map()),N(this,_0x434fca(0x321),new _0x3a3a31()),N(this,_0x434fca(0x2fb),this[_0x434fca(0x321)][_0x434fca(0x449)]()),(this['_injector']=_0x3a32e3,this['_collabSessionService']=_0x3889e1,this[_0x434fca(0x39f)]=_0x1300f6,this[_0x434fca(0x34a)]=_0x160425,((_0x336872=this[_0x434fca(0x39f)]['getConfig'](K))==null?void 0x0:_0x336872[_0x434fca(0x21c)])!==!0x1&&this['_init']());}[_0x5410a2(0x395)](){var _0x2bcff6=_0x5410a2;super[_0x2bcff6(0x395)](),this['_entities']['forEach'](_0x97eeb2=>_0x97eeb2[_0x2bcff6(0x395)]()),this[_0x2bcff6(0x21a)]['clear']();}['getCollabEntity'](_0x26669e){var _0x22a8f0=_0x5410a2,_0x1278f6;return(_0x1278f6=this['_entities'][_0x22a8f0(0x19f)](_0x26669e))!=null?_0x1278f6:null;}[_0x5410a2(0x431)](_0x22ee77){var _0x30b2d3=_0x5410a2;const _0x1b4bb1=this[_0x30b2d3(0x1b7)](_0x22ee77);return _0x1b4bb1?_0x4ba3a3(_0x1b4bb1):this[_0x30b2d3(0x321)][_0x30b2d3(0x1bf)](_0x1eed09(_0x3c30f6=>_0x3c30f6[_0x30b2d3(0x19c)]===_0x22ee77));}[_0x5410a2(0x2af)](_0x4dcf39){var _0x401c28=_0x5410a2;return _0x36bd98(this['getCollabEntity$'](_0x4dcf39)[_0x401c28(0x1bf)](_0x271875(()=>{})));}['_init'](){var _0x4f9454=_0x5410a2;this[_0x4f9454(0x34a)]['getTypeOfUnitAdded$'](_0x6591bc[_0x4f9454(0x386)])['pipe'](_0x3f1efb(this[_0x4f9454(0x241)]),_0x199731(0x10))[_0x4f9454(0x3a8)](async _0x428503=>{var _0x343351=_0x4f9454;const _0x590748=_0x428503['getUnitId'](),_0x4e46b6=await this[_0x343351(0x3ca)](_0x590748,Z[_0x343351(0x386)]);this[_0x343351(0x21a)][_0x343351(0x1b2)](_0x590748,_0x4e46b6);}),this[_0x4f9454(0x34a)][_0x4f9454(0x17c)](_0x6591bc['UNIVER_DOC'])[_0x4f9454(0x1bf)](_0x3f1efb(this[_0x4f9454(0x241)]),_0x199731(0x10))[_0x4f9454(0x1bf)](_0x1eed09(_0x25c03f=>!_0x25c03f[_0x4f9454(0x313)]()['startsWith']('__')))['subscribe'](async _0x3fe6f9=>{var _0x32f46f=_0x4f9454;const _0x248fab=_0x3fe6f9['getUnitId'](),_0x1b5c2b=await this['_startCollaboration'](_0x248fab,Z[_0x32f46f(0x3c7)]);this[_0x32f46f(0x21a)][_0x32f46f(0x1b2)](_0x248fab,_0x1b5c2b);}),_0x350ea0(this[_0x4f9454(0x34a)][_0x4f9454(0x2c2)](_0x6591bc['UNIVER_SHEET']),this['_univerInstanceService'][_0x4f9454(0x2c2)](_0x6591bc[_0x4f9454(0x3c7)]))[_0x4f9454(0x1bf)](_0x3f1efb(this[_0x4f9454(0x241)]))[_0x4f9454(0x3a8)](_0x2e95ae=>{var _0x5e37ee=_0x4f9454;const _0x1a0d94=_0x2e95ae[_0x5e37ee(0x313)](),_0x2bfefb=this[_0x5e37ee(0x21a)][_0x5e37ee(0x19f)](_0x1a0d94);_0x2bfefb&&(_0x2bfefb['dispose'](),this['_entities'][_0x5e37ee(0x186)](_0x1a0d94));});}async[_0x5410a2(0x3ca)](_0x5e85eb,_0x19baac){var _0x18a737=_0x5410a2;const _0x5001cc=await this[_0x18a737(0x3c0)][_0x18a737(0x433)](_0x5e85eb),_0x2eb774=this[_0x18a737(0x3c3)][_0x18a737(0x344)](this[_0x18a737(0x242)](_0x19baac),_0x5e85eb,_0x19baac,_0x5001cc);return await _0x2eb774[_0x18a737(0x47e)](),this[_0x18a737(0x321)][_0x18a737(0x451)](_0x2eb774),_0x2eb774;}['_getCtorByUniverType'](_0x23929b){var _0x208634=_0x5410a2;switch(_0x23929b){case Z['UNIVER_DOC']:return St;case Z[_0x208634(0x386)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x23929b);}}};nt=Js([Be(0x0,_0x2a67ea(_0xb9171d)),Be(0x1,_0x2a67ea(Pe)),Be(0x2,_0x54dc50),Be(0x3,_0x1f2fda)],nt);var Xs=Object[_0x5410a2(0x2a3)],Zs=(_0x2187ff,_0x4f4718,_0x1cea0f,_0x829180)=>{for(var _0x5cd721=_0x829180>0x1?void 0x0:_0x829180?Xs(_0x4f4718,_0x1cea0f):_0x4f4718,_0x10f4d=_0x2187ff['length']-0x1,_0x4df11a;_0x10f4d>=0x0;_0x10f4d--)(_0x4df11a=_0x2187ff[_0x10f4d])&&(_0x5cd721=_0x4df11a(_0x5cd721)||_0x5cd721);return _0x5cd721;},Yt=(_0x283e05,_0x375fa3)=>(_0x26cd9c,_0x30fe42)=>_0x375fa3(_0x26cd9c,_0x30fe42,_0x283e05);const Qs=_0x5410a2(0x314),en=_0x5410a2(0x2bd);let It=class extends _0xba8b36{constructor(_0x368bd7,_0x58b85e){var _0x5d7e96=_0x5410a2;super(),this['_univerInstanceService']=_0x368bd7,this[_0x5d7e96(0x39f)]=_0x58b85e,this[_0x5d7e96(0x354)]();}[_0x5410a2(0x354)](){var _0x313499=_0x5410a2;this['disposeWithMe'](this[_0x313499(0x34a)][_0x313499(0x393)][_0x313499(0x3a8)](()=>{var _0x31af38=_0x313499,_0x5d47f9;const _0x172208=this[_0x31af38(0x34a)][_0x31af38(0x1b5)]();let _0x53ac0b=(_0x5d47f9=this['_configService']['getConfig'](Qs))!=null?_0x5d47f9:en;_0x172208 instanceof _0x62eeb6&&(_0x53ac0b=_0x172208[_0x31af38(0x40b)]),document[_0x31af38(0x28a)]=_0x53ac0b;}));}};It=Zs([Yt(0x0,_0x1f2fda),Yt(0x1,_0x54dc50)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x317089,_0x5aa56d,_0xef019d,_0x171cf7)=>{var _0x381739=_0x5410a2;for(var _0x4936a7=_0x171cf7>0x1?void 0x0:_0x171cf7?tn(_0x5aa56d,_0xef019d):_0x5aa56d,_0x5dee60=_0x317089[_0x381739(0x323)]-0x1,_0x2cd059;_0x5dee60>=0x0;_0x5dee60--)(_0x2cd059=_0x317089[_0x5dee60])&&(_0x4936a7=_0x2cd059(_0x4936a7)||_0x4936a7);return _0x4936a7;},dt=(_0x1ccb29,_0x42b643)=>(_0x4c3958,_0x51d365)=>_0x42b643(_0x4c3958,_0x51d365,_0x1ccb29);let rt=class{constructor(_0x1227fd,_0x4590b2,_0x338f93){var _0x4ea76b=_0x5410a2;this['_configService']=_0x1227fd,this[_0x4ea76b(0x3a7)]=_0x4590b2,this['localeService']=_0x338f93,this[_0x4ea76b(0x47e)]();}[_0x5410a2(0x47e)](){this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x49e8a8,_0x2c45ce)=>_0x2c45ce(_0x49e8a8)['pipe'](_0x4d0d28(async _0x1928d3=>{var _0x4f31b0=_0x48ad;const _0xc1c9df=_0x1928d3;if(_0xc1c9df[_0x4f31b0(0x3fc)]===0x191){if(typeof window>'u')throw new Error(_0x4f31b0(0x256));if(window[_0x4f31b0(0x22c)](this[_0x4f31b0(0x25c)]['t']('auth.needGotoLoginAlert'))){const _0x593ae2=window[_0x4f31b0(0x20b)](window['location']['href']);window[_0x4f31b0(0x2b1)]['href']=this['_getLoginPath']()+_0x4f31b0(0x1c6)+_0x593ae2;}}return _0xc1c9df;}))});}[_0x5410a2(0x448)](){var _0x506080=_0x5410a2,_0x21b4d8;const _0x1c2af6=this[_0x506080(0x39f)][_0x506080(0x467)](K);return(_0x21b4d8=_0x1c2af6==null?void 0x0:_0x1c2af6[_0x506080(0x406)])!=null?_0x21b4d8:Rs;}};rt=sn([dt(0x0,_0x54dc50),dt(0x1,_0x2a67ea(_0x4adef9)),dt(0x2,_0x2a67ea(_0x2cfa1d))],rt);var nn=Object[_0x5410a2(0x2a3)],rn=(_0x56ee37,_0x155332,_0x51c5ba,_0x3d5147)=>{var _0x356064=_0x5410a2;for(var _0x22b727=_0x3d5147>0x1?void 0x0:_0x3d5147?nn(_0x155332,_0x51c5ba):_0x155332,_0x376f99=_0x56ee37[_0x356064(0x323)]-0x1,_0x3b00d9;_0x376f99>=0x0;_0x376f99--)(_0x3b00d9=_0x56ee37[_0x376f99])&&(_0x22b727=_0x3b00d9(_0x22b727)||_0x22b727);return _0x22b727;},Kt=(_0x5992f7,_0x1c0583)=>(_0x50dd42,_0x54936e)=>_0x1c0583(_0x50dd42,_0x54936e,_0x5992f7);const an='/universer-api/authz';let Tt=class extends _0xba8b36{constructor(_0x3fbdfa,_0x1a2eed){var _0x1e16ac=_0x5410a2;super(),this[_0x1e16ac(0x279)]=_0x3fbdfa,this[_0x1e16ac(0x39f)]=_0x1a2eed,this['_initMergeInterceptor']();}[_0x5410a2(0x3bb)](){var _0x5b5241=_0x5410a2;const _0x25b7f9=this;this['disposeWithMe'](this[_0x5b5241(0x279)][_0x5b5241(0x470)]({'priority':0x3e7,'interceptor':_0x5b8ea8({'isMatch'(_0x4cdfce){var _0x5ab6fc=_0x5b5241,_0x4a7f36;if(_0x4cdfce[_0x5ab6fc(0x247)]===_0x5ab6fc(0x3d6)&&((_0x4a7f36=_0x4cdfce[_0x5ab6fc(0x419)])!=null&&_0x4a7f36[_0x5ab6fc(0x26a)])){const {objectID:_0x47936c,objectType:_0x5d1fb2}=_0x4cdfce[_0x5ab6fc(0x419)][_0x5ab6fc(0x26a)]||{};if(!_0x47936c||_0x5d1fb2===void 0x0)return!0x1;const _0x2eea99=_0x25b7f9[_0x5ab6fc(0x33c)]()+'/'+_0x5d1fb2+_0x5ab6fc(0x29f)+_0x47936c+'/allowed';if(_0x4cdfce[_0x5ab6fc(0x391)]===_0x2eea99)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1c7766){var _0x58527f=_0x5b5241,_0x1cb0f5;return(_0x1cb0f5=_0x1c7766[_0x58527f(0x419)])==null?void 0x0:_0x1cb0f5[_0x58527f(0x26a)];},'mergeParamsToRequest'(_0x340cc7,_0x3acf81){var _0x2ef8b9=_0x5b5241;const _0x2c1a01=_0x25b7f9[_0x2ef8b9(0x33c)]()+_0x2ef8b9(0x407),_0x9a8b44=_0x340cc7[_0x2ef8b9(0x181)]((_0x6bc72f,_0x995958)=>{var _0x2e46bd=_0x2ef8b9;const {unitID:_0x36699a,objectID:_0x309262,objectType:_0x452ecc,actions:_0x586ebc}=_0x995958;return _0x6bc72f[_0x36699a]||(_0x6bc72f[_0x36699a]={}),_0x6bc72f[_0x36699a][_0x309262]||(_0x6bc72f[_0x36699a][_0x309262]={'objectID':_0x309262,'objectType':_0x452ecc,'actions':[]}),_0x6bc72f[_0x36699a][_0x309262][_0x2e46bd(0x340)][_0x2e46bd(0x353)](..._0x586ebc),_0x6bc72f;},{}),_0x5e1393=[];for(const _0x14e7ee in _0x9a8b44)for(const _0x2598ca in _0x9a8b44[_0x14e7ee]){const {actions:_0x5b92a3,objectType:_0x3031b0}=_0x9a8b44[_0x14e7ee][_0x2598ca],_0x218d2b=[...new Set(_0x5b92a3)];_0x5e1393[_0x2ef8b9(0x353)]({'unitID':_0x14e7ee,'objectID':_0x2598ca,'objectType':_0x3031b0,'actions':_0x218d2b});}return new _0x15092a(_0x2ef8b9(0x3d6),_0x2c1a01,{'headers':_0x3acf81[_0x2ef8b9(0x210)],'withCredentials':_0x3acf81['withCredentials'],'responseType':_0x3acf81[_0x2ef8b9(0x185)],'body':{'requests':_0x5e1393}});}},{'distributeResult'(_0x711b07,_0x5c1a60){var _0xc35a2=_0x5b5241;const {objectActions:_0x29b23d}=_0x711b07;return _0x5c1a60[_0xc35a2(0x394)](_0x325275=>{var _0x168de6=_0xc35a2;const {unitID:_0x321c61,objectID:_0x17738c,actions:_0x51acbc}=_0x325275,_0x5e443d=_0x29b23d['find'](_0x3302a9=>_0x3302a9[_0x168de6(0x19c)]===_0x321c61&&_0x3302a9[_0x168de6(0x2c3)]===_0x17738c),_0x3f8850=_0x51acbc[_0x168de6(0x394)](_0x4488e4=>_0x5e443d==null?void 0x0:_0x5e443d[_0x168de6(0x340)][_0x168de6(0x41d)](_0x34f47e=>_0x34f47e[_0x168de6(0x2d0)]===_0x4488e4))[_0x168de6(0x421)](_0xc68473=>!!_0xc68473);return{'config':_0x325275,'result':{'actions':_0x3f8850,'error':_0x711b07[_0x168de6(0x1ff)]}};});}})}));}[_0x5410a2(0x33c)](){var _0x147ac8=_0x5410a2,_0x2b044b;const _0x5d816f=this[_0x147ac8(0x39f)][_0x147ac8(0x467)](K);return(_0x2b044b=_0x5d816f==null?void 0x0:_0x5d816f[_0x147ac8(0x397)])!=null?_0x2b044b:an;}async[_0x5410a2(0x335)](_0x270af4){var _0x19aeb5=_0x5410a2;const _0x2abe59=this[_0x19aeb5(0x33c)]()+'/'+_0x270af4['objectType']+_0x19aeb5(0x384);return(await this[_0x19aeb5(0x279)]['post'](_0x2abe59,{'body':_0x270af4}))[_0x19aeb5(0x26a)]['objectID']||'';}async[_0x5410a2(0x3c8)](_0x1f81f7){var _0x57d41b=_0x5410a2;const _0xa9c660=this[_0x57d41b(0x33c)]()+_0x57d41b(0x25b);return(await this[_0x57d41b(0x279)][_0x57d41b(0x3c2)](_0xa9c660,{'body':_0x1f81f7}))[_0x57d41b(0x26a)][_0x57d41b(0x2d3)];}async['update'](_0x1ecb29){var _0x26a59c=_0x5410a2,_0x1f68ec,_0xcecc45;const _0xf3e0f1=this['_getAPIPrefixPath']()+'/'+_0x1ecb29['objectType']+_0x26a59c(0x29f)+_0x1ecb29[_0x26a59c(0x2c3)],_0x158fab=await this[_0x26a59c(0x279)]['put'](_0xf3e0f1,{'body':_0x1ecb29});if(((_0xcecc45=(_0x1f68ec=_0x158fab==null?void 0x0:_0x158fab[_0x26a59c(0x26a)])==null?void 0x0:_0x1f68ec[_0x26a59c(0x1ff)])==null?void 0x0:_0xcecc45[_0x26a59c(0x278)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x5410a2(0x29a)](_0x4c6295){var _0x813edf=_0x5410a2;const _0x1e47af=this[_0x813edf(0x33c)]()+'/'+_0x4c6295[_0x813edf(0x204)]+_0x813edf(0x29f)+_0x4c6295[_0x813edf(0x2c3)]+_0x813edf(0x31d);return(await this[_0x813edf(0x279)][_0x813edf(0x3c2)](_0x1e47af,{'body':_0x4c6295}))[_0x813edf(0x26a)][_0x813edf(0x340)];}async[_0x5410a2(0x2dd)](_0x146a4d){var _0x3a36e7=_0x5410a2;const _0x41d9f4=this[_0x3a36e7(0x33c)]()+'/-/object/-/batch_allowed';return(await this[_0x3a36e7(0x279)][_0x3a36e7(0x3c2)](_0x41d9f4,{'body':{'requests':_0x146a4d}}))[_0x3a36e7(0x26a)][_0x3a36e7(0x19e)];}async[_0x5410a2(0x342)](_0x35cce3){var _0x2f921a=_0x5410a2;const _0x28562c=this[_0x2f921a(0x33c)]()+'/'+_0x35cce3[_0x2f921a(0x204)]+_0x2f921a(0x1a0),_0x2199d1=await this[_0x2f921a(0x279)][_0x2f921a(0x3c2)](_0x28562c,{'body':_0x35cce3});return{'roles':_0x2199d1['body'][_0x2f921a(0x405)],'actions':_0x2199d1[_0x2f921a(0x26a)][_0x2f921a(0x340)]};}async['deleteCollaborator'](_0x11fa95){var _0x7b935e=_0x5410a2;const _0x279eb5=this['_getAPIPrefixPath']()+_0x7b935e(0x253);await this[_0x7b935e(0x279)][_0x7b935e(0x186)](_0x279eb5,{'params':{'collaboratorID':_0x11fa95[_0x7b935e(0x480)],'objectID':_0x11fa95[_0x7b935e(0x2c3)],'unitID':_0x11fa95['unitID']}});}async[_0x5410a2(0x337)](_0x570d99){var _0x4fd435=_0x5410a2;const _0x359df2=this['_getAPIPrefixPath']()+_0x4fd435(0x253);await this[_0x4fd435(0x279)][_0x4fd435(0x245)](_0x359df2,{'body':_0x570d99});}async['createCollaborator'](_0x331191){var _0x5ca321=_0x5410a2;const _0x172cd4=this[_0x5ca321(0x33c)]()+'/collaborator';await this['_HTTPService']['post'](_0x172cd4,{'body':_0x331191});}async[_0x5410a2(0x1b6)](_0x3baae5){var _0x15a63a=_0x5410a2;const _0x1f3c6c=this[_0x15a63a(0x33c)]()+'/collaborator';return(await this['_HTTPService'][_0x15a63a(0x19f)](_0x1f3c6c,{'params':{'objectID':_0x3baae5['objectID'],'unitID':_0x3baae5[_0x15a63a(0x19c)]}}))['body']['collaborators'];}async[_0x5410a2(0x441)](_0x184029){var _0x25339f=_0x5410a2;const _0x586e03=this['_getAPIPrefixPath']()+_0x25339f(0x253);await this[_0x25339f(0x279)][_0x25339f(0x1d2)](_0x586e03,{'body':_0x184029});}};Tt=rn([Kt(0x0,_0x2a67ea(_0x4adef9)),Kt(0x1,_0x2a67ea(_0x54dc50))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2de53a){var _0x57e6ce=_0x5410a2;return _0x2de53a&&_0x2de53a[_0x57e6ce(0x26b)]&&Object[_0x57e6ce(0x2f1)][_0x57e6ce(0x285)][_0x57e6ce(0x281)](_0x2de53a,_0x57e6ce(0x230))?_0x2de53a['default']:_0x2de53a;}var Ve={'exports':{}};function on(_0x3d5864){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3d5864+'\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 _0x1c4482=_0x5410a2;return qt||(qt=0x1,function(_0x7bba23,_0x266feb){(function(_0x4771ca,_0x291f2c){var _0x14d7b5=_0x48ad;_0x7bba23[_0x14d7b5(0x21e)]=_0x291f2c();}(cn,function(){var _0x7e36d6=_0x7e36d6||function(_0x2e1c49,_0x14fcd5){var _0x577fb2=_0x48ad,_0xd51734;if(typeof window<'u'&&window[_0x577fb2(0x40e)]&&(_0xd51734=window[_0x577fb2(0x40e)]),typeof self<'u'&&self[_0x577fb2(0x40e)]&&(_0xd51734=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xd51734=globalThis[_0x577fb2(0x40e)]),!_0xd51734&&typeof window<'u'&&window['msCrypto']&&(_0xd51734=window[_0x577fb2(0x3f7)]),!_0xd51734&&typeof ft<'u'&&ft['crypto']&&(_0xd51734=ft[_0x577fb2(0x40e)]),!_0xd51734&&typeof on=='function')try{_0xd51734=require('crypto');}catch{}var _0x4b9d1a=function(){var _0x3c201a=_0x577fb2;if(_0xd51734){if(typeof _0xd51734['getRandomValues']==_0x3c201a(0x1eb))try{return _0xd51734[_0x3c201a(0x412)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd51734[_0x3c201a(0x359)]==_0x3c201a(0x1eb))try{return _0xd51734[_0x3c201a(0x359)](0x4)[_0x3c201a(0x2b5)]();}catch{}}throw new Error(_0x3c201a(0x188));},_0x9b81c1=Object[_0x577fb2(0x335)]||(function(){function _0x573feb(){}return function(_0x1a3f39){var _0x502ce6=_0x48ad,_0x5e43b3;return _0x573feb['prototype']=_0x1a3f39,_0x5e43b3=new _0x573feb(),_0x573feb[_0x502ce6(0x2f1)]=null,_0x5e43b3;};}()),_0x309786={},_0x516334=_0x309786[_0x577fb2(0x3fa)]={},_0x24ecfc=_0x516334['Base']=(function(){return{'extend':function(_0x4f3d57){var _0xc607dc=_0x48ad,_0x38a03f=_0x9b81c1(this);return _0x4f3d57&&_0x38a03f[_0xc607dc(0x27d)](_0x4f3d57),(!_0x38a03f[_0xc607dc(0x285)](_0xc607dc(0x47e))||this[_0xc607dc(0x47e)]===_0x38a03f[_0xc607dc(0x47e)])&&(_0x38a03f[_0xc607dc(0x47e)]=function(){var _0x5185a8=_0xc607dc;_0x38a03f[_0x5185a8(0x296)]['init'][_0x5185a8(0x392)](this,arguments);}),_0x38a03f[_0xc607dc(0x47e)][_0xc607dc(0x2f1)]=_0x38a03f,_0x38a03f[_0xc607dc(0x296)]=this,_0x38a03f;},'create':function(){var _0x21cf0d=_0x48ad,_0x23a943=this[_0x21cf0d(0x3ec)]();return _0x23a943[_0x21cf0d(0x47e)][_0x21cf0d(0x392)](_0x23a943,arguments),_0x23a943;},'init':function(){},'mixIn':function(_0x2f0235){var _0x3feef6=_0x48ad;for(var _0x25da93 in _0x2f0235)_0x2f0235[_0x3feef6(0x285)](_0x25da93)&&(this[_0x25da93]=_0x2f0235[_0x25da93]);_0x2f0235[_0x3feef6(0x285)](_0x3feef6(0x3d8))&&(this[_0x3feef6(0x3d8)]=_0x2f0235[_0x3feef6(0x3d8)]);},'clone':function(){var _0x4339d6=_0x48ad;return this[_0x4339d6(0x47e)][_0x4339d6(0x2f1)][_0x4339d6(0x3ec)](this);}};}()),_0x1f3c58=_0x516334[_0x577fb2(0x3cb)]=_0x24ecfc[_0x577fb2(0x3ec)]({'init':function(_0x38bb69,_0x24dca2){var _0x2753d9=_0x577fb2;_0x38bb69=this[_0x2753d9(0x385)]=_0x38bb69||[],_0x24dca2!=_0x14fcd5?this['sigBytes']=_0x24dca2:this[_0x2753d9(0x328)]=_0x38bb69[_0x2753d9(0x323)]*0x4;},'toString':function(_0x589c8f){return(_0x589c8f||_0xa33d23)['stringify'](this);},'concat':function(_0x65c8e3){var _0x108819=_0x577fb2,_0x39e985=this[_0x108819(0x385)],_0x346809=_0x65c8e3[_0x108819(0x385)],_0x409c9f=this[_0x108819(0x328)],_0x5c0793=_0x65c8e3[_0x108819(0x328)];if(this[_0x108819(0x35d)](),_0x409c9f%0x4)for(var _0x1dff95=0x0;_0x1dff95<_0x5c0793;_0x1dff95++){var _0x4c3ced=_0x346809[_0x1dff95>>>0x2]>>>0x18-_0x1dff95%0x4*0x8&0xff;_0x39e985[_0x409c9f+_0x1dff95>>>0x2]|=_0x4c3ced<<0x18-(_0x409c9f+_0x1dff95)%0x4*0x8;}else{for(var _0x50ee9d=0x0;_0x50ee9d<_0x5c0793;_0x50ee9d+=0x4)_0x39e985[_0x409c9f+_0x50ee9d>>>0x2]=_0x346809[_0x50ee9d>>>0x2];}return this[_0x108819(0x328)]+=_0x5c0793,this;},'clamp':function(){var _0x15de70=_0x577fb2,_0x57c84b=this['words'],_0x5223df=this['sigBytes'];_0x57c84b[_0x5223df>>>0x2]&=0xffffffff<<0x20-_0x5223df%0x4*0x8,_0x57c84b['length']=_0x2e1c49[_0x15de70(0x370)](_0x5223df/0x4);},'clone':function(){var _0x2653a2=_0x577fb2,_0x24a59b=_0x24ecfc[_0x2653a2(0x34e)][_0x2653a2(0x281)](this);return _0x24a59b[_0x2653a2(0x385)]=this[_0x2653a2(0x385)][_0x2653a2(0x3a5)](0x0),_0x24a59b;},'random':function(_0x134749){var _0x1e6604=_0x577fb2;for(var _0x61808b=[],_0x443d6a=0x0;_0x443d6a<_0x134749;_0x443d6a+=0x4)_0x61808b[_0x1e6604(0x353)](_0x4b9d1a());return new _0x1f3c58[(_0x1e6604(0x47e))](_0x61808b,_0x134749);}}),_0x2f8f55=_0x309786[_0x577fb2(0x216)]={},_0xa33d23=_0x2f8f55[_0x577fb2(0x367)]={'stringify':function(_0xc2cf6b){var _0xd83c3c=_0x577fb2;for(var _0x244c30=_0xc2cf6b[_0xd83c3c(0x385)],_0x21167b=_0xc2cf6b[_0xd83c3c(0x328)],_0x4cee1c=[],_0x5b383e=0x0;_0x5b383e<_0x21167b;_0x5b383e++){var _0x1a5be3=_0x244c30[_0x5b383e>>>0x2]>>>0x18-_0x5b383e%0x4*0x8&0xff;_0x4cee1c['push']((_0x1a5be3>>>0x4)[_0xd83c3c(0x3d8)](0x10)),_0x4cee1c[_0xd83c3c(0x353)]((_0x1a5be3&0xf)[_0xd83c3c(0x3d8)](0x10));}return _0x4cee1c[_0xd83c3c(0x473)]('');},'parse':function(_0x7adbd2){var _0x34fe5b=_0x577fb2;for(var _0x3b47de=_0x7adbd2[_0x34fe5b(0x323)],_0x171103=[],_0x1db8b7=0x0;_0x1db8b7<_0x3b47de;_0x1db8b7+=0x2)_0x171103[_0x1db8b7>>>0x3]|=parseInt(_0x7adbd2[_0x34fe5b(0x345)](_0x1db8b7,0x2),0x10)<<0x18-_0x1db8b7%0x8*0x4;return new _0x1f3c58[(_0x34fe5b(0x47e))](_0x171103,_0x3b47de/0x2);}},_0x35effd=_0x2f8f55['Latin1']={'stringify':function(_0x9e2de0){var _0x2dc250=_0x577fb2;for(var _0x8cf2b1=_0x9e2de0[_0x2dc250(0x385)],_0xc91dc3=_0x9e2de0[_0x2dc250(0x328)],_0x42e093=[],_0xf1884e=0x0;_0xf1884e<_0xc91dc3;_0xf1884e++){var _0x977325=_0x8cf2b1[_0xf1884e>>>0x2]>>>0x18-_0xf1884e%0x4*0x8&0xff;_0x42e093[_0x2dc250(0x353)](String[_0x2dc250(0x2bf)](_0x977325));}return _0x42e093['join']('');},'parse':function(_0x1c393f){var _0x2b79bf=_0x577fb2;for(var _0x176cc8=_0x1c393f[_0x2b79bf(0x323)],_0x49f495=[],_0x589a4c=0x0;_0x589a4c<_0x176cc8;_0x589a4c++)_0x49f495[_0x589a4c>>>0x2]|=(_0x1c393f[_0x2b79bf(0x39b)](_0x589a4c)&0xff)<<0x18-_0x589a4c%0x4*0x8;return new _0x1f3c58[(_0x2b79bf(0x47e))](_0x49f495,_0x176cc8);}},_0x2d33b0=_0x2f8f55[_0x577fb2(0x38e)]={'stringify':function(_0x133149){var _0x43a68b=_0x577fb2;try{return decodeURIComponent(escape(_0x35effd['stringify'](_0x133149)));}catch{throw new Error(_0x43a68b(0x235));}},'parse':function(_0xaaea1f){var _0x515bc3=_0x577fb2;return _0x35effd[_0x515bc3(0x295)](unescape(encodeURIComponent(_0xaaea1f)));}},_0x4b1397=_0x516334[_0x577fb2(0x36f)]=_0x24ecfc['extend']({'reset':function(){var _0x641ca7=_0x577fb2;this[_0x641ca7(0x1ef)]=new _0x1f3c58[(_0x641ca7(0x47e))](),this[_0x641ca7(0x472)]=0x0;},'_append':function(_0x4d30b1){var _0x88e95f=_0x577fb2;typeof _0x4d30b1=='string'&&(_0x4d30b1=_0x2d33b0[_0x88e95f(0x295)](_0x4d30b1)),this[_0x88e95f(0x1ef)][_0x88e95f(0x3b7)](_0x4d30b1),this['_nDataBytes']+=_0x4d30b1[_0x88e95f(0x328)];},'_process':function(_0x2d1dfe){var _0x3bd4f9=_0x577fb2,_0x157895,_0x489b3f=this['_data'],_0x1acb3d=_0x489b3f[_0x3bd4f9(0x385)],_0x2601d7=_0x489b3f[_0x3bd4f9(0x328)],_0x700bfa=this[_0x3bd4f9(0x35b)],_0x1458a5=_0x700bfa*0x4,_0x1085e0=_0x2601d7/_0x1458a5;_0x2d1dfe?_0x1085e0=_0x2e1c49['ceil'](_0x1085e0):_0x1085e0=_0x2e1c49[_0x3bd4f9(0x3ad)]((_0x1085e0|0x0)-this['_minBufferSize'],0x0);var _0x5611b5=_0x1085e0*_0x700bfa,_0x44862b=_0x2e1c49[_0x3bd4f9(0x287)](_0x5611b5*0x4,_0x2601d7);if(_0x5611b5){for(var _0x2b040a=0x0;_0x2b040a<_0x5611b5;_0x2b040a+=_0x700bfa)this[_0x3bd4f9(0x2e0)](_0x1acb3d,_0x2b040a);_0x157895=_0x1acb3d['splice'](0x0,_0x5611b5),_0x489b3f[_0x3bd4f9(0x328)]-=_0x44862b;}return new _0x1f3c58[(_0x3bd4f9(0x47e))](_0x157895,_0x44862b);},'clone':function(){var _0x35e78c=_0x577fb2,_0x1e39bd=_0x24ecfc['clone'][_0x35e78c(0x281)](this);return _0x1e39bd[_0x35e78c(0x1ef)]=this[_0x35e78c(0x1ef)][_0x35e78c(0x34e)](),_0x1e39bd;},'_minBufferSize':0x0});_0x516334['Hasher']=_0x4b1397[_0x577fb2(0x3ec)]({'cfg':_0x24ecfc['extend'](),'init':function(_0x1b2d4b){var _0xa7bbdc=_0x577fb2;this[_0xa7bbdc(0x46d)]=this[_0xa7bbdc(0x46d)]['extend'](_0x1b2d4b),this[_0xa7bbdc(0x2c8)]();},'reset':function(){var _0x448cb6=_0x577fb2;_0x4b1397[_0x448cb6(0x2c8)][_0x448cb6(0x281)](this),this[_0x448cb6(0x2fd)]();},'update':function(_0x120607){var _0x2e2021=_0x577fb2;return this[_0x2e2021(0x363)](_0x120607),this[_0x2e2021(0x2d4)](),this;},'finalize':function(_0x4bac0a){var _0x5d1423=_0x577fb2;_0x4bac0a&&this[_0x5d1423(0x363)](_0x4bac0a);var _0x1db340=this[_0x5d1423(0x190)]();return _0x1db340;},'blockSize':0x10,'_createHelper':function(_0x5eaf79){return function(_0x9d7a71,_0x590676){var _0x41cb8d=_0x48ad;return new _0x5eaf79[(_0x41cb8d(0x47e))](_0x590676)['finalize'](_0x9d7a71);};},'_createHmacHelper':function(_0x5bc7cc){return function(_0xa74b4f,_0x4620b2){var _0x44d5b1=_0x48ad;return new _0x45ca5d[(_0x44d5b1(0x22b))][(_0x44d5b1(0x47e))](_0x5bc7cc,_0x4620b2)['finalize'](_0xa74b4f);};}});var _0x45ca5d=_0x309786[_0x577fb2(0x3b1)]={};return _0x309786;}(Math);return _0x7e36d6;}));}(We)),We[_0x1c4482(0x21e)];}var Ge={'exports':{}},hn=Ge[_0x5410a2(0x21e)],zt;function Ri(){var _0x494853=_0x5410a2;return zt||(zt=0x1,function(_0x5e061b,_0xb7fde3){(function(_0x308d25,_0x5386f7){var _0x2aad35=_0x48ad;_0x5e061b[_0x2aad35(0x21e)]=_0x5386f7(te());}(hn,function(_0xe1a730){var _0x2ee520=_0x48ad;return(function(){var _0x47f01d=_0x48ad,_0x265f8b=_0xe1a730,_0x1f16ef=_0x265f8b[_0x47f01d(0x3fa)],_0x309f68=_0x1f16ef[_0x47f01d(0x3cb)],_0xf1cf7d=_0x265f8b[_0x47f01d(0x216)];_0xf1cf7d[_0x47f01d(0x2c5)]={'stringify':function(_0x2573b3){var _0x40ea5f=_0x47f01d,_0x52837b=_0x2573b3[_0x40ea5f(0x385)],_0xb59a23=_0x2573b3['sigBytes'],_0x4af7ef=this[_0x40ea5f(0x220)];_0x2573b3[_0x40ea5f(0x35d)]();for(var _0x7f7332=[],_0x33c0fd=0x0;_0x33c0fd<_0xb59a23;_0x33c0fd+=0x3)for(var _0x2ce179=_0x52837b[_0x33c0fd>>>0x2]>>>0x18-_0x33c0fd%0x4*0x8&0xff,_0x18906b=_0x52837b[_0x33c0fd+0x1>>>0x2]>>>0x18-(_0x33c0fd+0x1)%0x4*0x8&0xff,_0x25305e=_0x52837b[_0x33c0fd+0x2>>>0x2]>>>0x18-(_0x33c0fd+0x2)%0x4*0x8&0xff,_0x570c4a=_0x2ce179<<0x10|_0x18906b<<0x8|_0x25305e,_0x39f6dc=0x0;_0x39f6dc<0x4&&_0x33c0fd+_0x39f6dc*0.75<_0xb59a23;_0x39f6dc++)_0x7f7332[_0x40ea5f(0x353)](_0x4af7ef['charAt'](_0x570c4a>>>0x6*(0x3-_0x39f6dc)&0x3f));var _0x3a5b3c=_0x4af7ef[_0x40ea5f(0x445)](0x40);if(_0x3a5b3c){for(;_0x7f7332[_0x40ea5f(0x323)]%0x4;)_0x7f7332['push'](_0x3a5b3c);}return _0x7f7332[_0x40ea5f(0x473)]('');},'parse':function(_0x1c4606){var _0x197a5a=_0x47f01d,_0xa7e472=_0x1c4606[_0x197a5a(0x323)],_0x27c738=this['_map'],_0x1a7de7=this[_0x197a5a(0x275)];if(!_0x1a7de7){_0x1a7de7=this[_0x197a5a(0x275)]=[];for(var _0x17b201=0x0;_0x17b201<_0x27c738['length'];_0x17b201++)_0x1a7de7[_0x27c738[_0x197a5a(0x39b)](_0x17b201)]=_0x17b201;}var _0x311aad=_0x27c738['charAt'](0x40);if(_0x311aad){var _0x3c2393=_0x1c4606[_0x197a5a(0x198)](_0x311aad);_0x3c2393!==-0x1&&(_0xa7e472=_0x3c2393);}return _0x5d3e8e(_0x1c4606,_0xa7e472,_0x1a7de7);},'_map':_0x47f01d(0x41f)};function _0x5d3e8e(_0x1e1fc9,_0x137d01,_0x14e2b7){var _0x111e5f=_0x47f01d;for(var _0x3c71cf=[],_0x47df17=0x0,_0x4fea53=0x0;_0x4fea53<_0x137d01;_0x4fea53++)if(_0x4fea53%0x4){var _0x11ec91=_0x14e2b7[_0x1e1fc9[_0x111e5f(0x39b)](_0x4fea53-0x1)]<<_0x4fea53%0x4*0x2,_0x57cd5b=_0x14e2b7[_0x1e1fc9['charCodeAt'](_0x4fea53)]>>>0x6-_0x4fea53%0x4*0x2,_0x5721c1=_0x11ec91|_0x57cd5b;_0x3c71cf[_0x47df17>>>0x2]|=_0x5721c1<<0x18-_0x47df17%0x4*0x8,_0x47df17++;}return _0x309f68['create'](_0x3c71cf,_0x47df17);}}()),_0xe1a730[_0x2ee520(0x216)][_0x2ee520(0x2c5)];}));}(Ge)),Ge[_0x494853(0x21e)];}var Ye={'exports':{}},_n=Ye[_0x5410a2(0x21e)],Jt;function ln(){var _0x5b1a0c=_0x5410a2;return Jt||(Jt=0x1,function(_0x41281f,_0x4a96e0){(function(_0x433a1e,_0x54c25b){var _0x3e4947=_0x48ad;_0x41281f[_0x3e4947(0x21e)]=_0x54c25b(te());}(_n,function(_0x4bb359){var _0x49c0f7=_0x48ad;return function(_0xa3f25){var _0x225230=_0x48ad,_0x4546c5=_0x4bb359,_0x45967b=_0x4546c5['lib'],_0x2ee01c=_0x45967b[_0x225230(0x3cb)],_0x2cbae5=_0x45967b['Hasher'],_0x155f3c=_0x4546c5['algo'],_0x5ef00e=[];(function(){var _0x3832d9=_0x225230;for(var _0x48403b=0x0;_0x48403b<0x40;_0x48403b++)_0x5ef00e[_0x48403b]=_0xa3f25[_0x3832d9(0x478)](_0xa3f25[_0x3832d9(0x429)](_0x48403b+0x1))*0x100000000|0x0;}());var _0x153915=_0x155f3c[_0x225230(0x27a)]=_0x2cbae5['extend']({'_doReset':function(){var _0x5bd65c=_0x225230;this[_0x5bd65c(0x254)]=new _0x2ee01c[(_0x5bd65c(0x47e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f68de,_0x37bc62){var _0x1127e6=_0x225230;for(var _0x333de9=0x0;_0x333de9<0x10;_0x333de9++){var _0x3045a7=_0x37bc62+_0x333de9,_0x19389b=_0x2f68de[_0x3045a7];_0x2f68de[_0x3045a7]=(_0x19389b<<0x8|_0x19389b>>>0x18)&0xff00ff|(_0x19389b<<0x18|_0x19389b>>>0x8)&0xff00ff00;}var _0x527868=this[_0x1127e6(0x254)]['words'],_0x3dadf2=_0x2f68de[_0x37bc62+0x0],_0x5d1109=_0x2f68de[_0x37bc62+0x1],_0x434f0a=_0x2f68de[_0x37bc62+0x2],_0x3a0309=_0x2f68de[_0x37bc62+0x3],_0x1aa81f=_0x2f68de[_0x37bc62+0x4],_0x2c8c93=_0x2f68de[_0x37bc62+0x5],_0x39b552=_0x2f68de[_0x37bc62+0x6],_0x59f0a7=_0x2f68de[_0x37bc62+0x7],_0x274032=_0x2f68de[_0x37bc62+0x8],_0x42be95=_0x2f68de[_0x37bc62+0x9],_0x59993c=_0x2f68de[_0x37bc62+0xa],_0x1b6b84=_0x2f68de[_0x37bc62+0xb],_0x4a0332=_0x2f68de[_0x37bc62+0xc],_0x11dda2=_0x2f68de[_0x37bc62+0xd],_0x249aa5=_0x2f68de[_0x37bc62+0xe],_0x4f35fa=_0x2f68de[_0x37bc62+0xf],_0x228a8d=_0x527868[0x0],_0x1a751e=_0x527868[0x1],_0x9f6380=_0x527868[0x2],_0x418091=_0x527868[0x3];_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x3dadf2,0x7,_0x5ef00e[0x0]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x5d1109,0xc,_0x5ef00e[0x1]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x434f0a,0x11,_0x5ef00e[0x2]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x3a0309,0x16,_0x5ef00e[0x3]),_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x1aa81f,0x7,_0x5ef00e[0x4]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x2c8c93,0xc,_0x5ef00e[0x5]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x39b552,0x11,_0x5ef00e[0x6]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x59f0a7,0x16,_0x5ef00e[0x7]),_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x274032,0x7,_0x5ef00e[0x8]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x42be95,0xc,_0x5ef00e[0x9]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59993c,0x11,_0x5ef00e[0xa]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x1b6b84,0x16,_0x5ef00e[0xb]),_0x228a8d=_0x8bbd0d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x4a0332,0x7,_0x5ef00e[0xc]),_0x418091=_0x8bbd0d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x11dda2,0xc,_0x5ef00e[0xd]),_0x9f6380=_0x8bbd0d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x249aa5,0x11,_0x5ef00e[0xe]),_0x1a751e=_0x8bbd0d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x4f35fa,0x16,_0x5ef00e[0xf]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x5d1109,0x5,_0x5ef00e[0x10]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x39b552,0x9,_0x5ef00e[0x11]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x1b6b84,0xe,_0x5ef00e[0x12]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x3dadf2,0x14,_0x5ef00e[0x13]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x2c8c93,0x5,_0x5ef00e[0x14]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x59993c,0x9,_0x5ef00e[0x15]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x4f35fa,0xe,_0x5ef00e[0x16]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x1aa81f,0x14,_0x5ef00e[0x17]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x42be95,0x5,_0x5ef00e[0x18]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x249aa5,0x9,_0x5ef00e[0x19]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x3a0309,0xe,_0x5ef00e[0x1a]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x274032,0x14,_0x5ef00e[0x1b]),_0x228a8d=_0x33822b(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x11dda2,0x5,_0x5ef00e[0x1c]),_0x418091=_0x33822b(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x434f0a,0x9,_0x5ef00e[0x1d]),_0x9f6380=_0x33822b(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59f0a7,0xe,_0x5ef00e[0x1e]),_0x1a751e=_0x33822b(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x4a0332,0x14,_0x5ef00e[0x1f]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x2c8c93,0x4,_0x5ef00e[0x20]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x274032,0xb,_0x5ef00e[0x21]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x1b6b84,0x10,_0x5ef00e[0x22]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x249aa5,0x17,_0x5ef00e[0x23]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x5d1109,0x4,_0x5ef00e[0x24]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x1aa81f,0xb,_0x5ef00e[0x25]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59f0a7,0x10,_0x5ef00e[0x26]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x59993c,0x17,_0x5ef00e[0x27]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x11dda2,0x4,_0x5ef00e[0x28]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x3dadf2,0xb,_0x5ef00e[0x29]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x3a0309,0x10,_0x5ef00e[0x2a]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x39b552,0x17,_0x5ef00e[0x2b]),_0x228a8d=_0x47b55d(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x42be95,0x4,_0x5ef00e[0x2c]),_0x418091=_0x47b55d(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x4a0332,0xb,_0x5ef00e[0x2d]),_0x9f6380=_0x47b55d(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x4f35fa,0x10,_0x5ef00e[0x2e]),_0x1a751e=_0x47b55d(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x434f0a,0x17,_0x5ef00e[0x2f]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x3dadf2,0x6,_0x5ef00e[0x30]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x59f0a7,0xa,_0x5ef00e[0x31]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x249aa5,0xf,_0x5ef00e[0x32]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x2c8c93,0x15,_0x5ef00e[0x33]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x4a0332,0x6,_0x5ef00e[0x34]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x3a0309,0xa,_0x5ef00e[0x35]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x59993c,0xf,_0x5ef00e[0x36]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x5d1109,0x15,_0x5ef00e[0x37]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x274032,0x6,_0x5ef00e[0x38]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x4f35fa,0xa,_0x5ef00e[0x39]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x39b552,0xf,_0x5ef00e[0x3a]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x11dda2,0x15,_0x5ef00e[0x3b]),_0x228a8d=_0x5c7fd5(_0x228a8d,_0x1a751e,_0x9f6380,_0x418091,_0x1aa81f,0x6,_0x5ef00e[0x3c]),_0x418091=_0x5c7fd5(_0x418091,_0x228a8d,_0x1a751e,_0x9f6380,_0x1b6b84,0xa,_0x5ef00e[0x3d]),_0x9f6380=_0x5c7fd5(_0x9f6380,_0x418091,_0x228a8d,_0x1a751e,_0x434f0a,0xf,_0x5ef00e[0x3e]),_0x1a751e=_0x5c7fd5(_0x1a751e,_0x9f6380,_0x418091,_0x228a8d,_0x42be95,0x15,_0x5ef00e[0x3f]),_0x527868[0x0]=_0x527868[0x0]+_0x228a8d|0x0,_0x527868[0x1]=_0x527868[0x1]+_0x1a751e|0x0,_0x527868[0x2]=_0x527868[0x2]+_0x9f6380|0x0,_0x527868[0x3]=_0x527868[0x3]+_0x418091|0x0;},'_doFinalize':function(){var _0x344628=_0x225230,_0x4feeb3=this[_0x344628(0x1ef)],_0x84370=_0x4feeb3[_0x344628(0x385)],_0x4c7e92=this['_nDataBytes']*0x8,_0x15af35=_0x4feeb3[_0x344628(0x328)]*0x8;_0x84370[_0x15af35>>>0x5]|=0x80<<0x18-_0x15af35%0x20;var _0x50676d=_0xa3f25[_0x344628(0x3fd)](_0x4c7e92/0x100000000),_0x40eeda=_0x4c7e92;_0x84370[(_0x15af35+0x40>>>0x9<<0x4)+0xf]=(_0x50676d<<0x8|_0x50676d>>>0x18)&0xff00ff|(_0x50676d<<0x18|_0x50676d>>>0x8)&0xff00ff00,_0x84370[(_0x15af35+0x40>>>0x9<<0x4)+0xe]=(_0x40eeda<<0x8|_0x40eeda>>>0x18)&0xff00ff|(_0x40eeda<<0x18|_0x40eeda>>>0x8)&0xff00ff00,_0x4feeb3[_0x344628(0x328)]=(_0x84370['length']+0x1)*0x4,this[_0x344628(0x2d4)]();for(var _0x30518b=this[_0x344628(0x254)],_0x28fee1=_0x30518b[_0x344628(0x385)],_0x31bf19=0x0;_0x31bf19<0x4;_0x31bf19++){var _0x24cb58=_0x28fee1[_0x31bf19];_0x28fee1[_0x31bf19]=(_0x24cb58<<0x8|_0x24cb58>>>0x18)&0xff00ff|(_0x24cb58<<0x18|_0x24cb58>>>0x8)&0xff00ff00;}return _0x30518b;},'clone':function(){var _0x57fcd7=_0x225230,_0x164b30=_0x2cbae5[_0x57fcd7(0x34e)]['call'](this);return _0x164b30['_hash']=this[_0x57fcd7(0x254)][_0x57fcd7(0x34e)](),_0x164b30;}});function _0x8bbd0d(_0xebd51b,_0x47e11c,_0x44d9cd,_0x3e58bb,_0x2a57b8,_0x540654,_0x8132c2){var _0x277625=_0xebd51b+(_0x47e11c&_0x44d9cd|~_0x47e11c&_0x3e58bb)+_0x2a57b8+_0x8132c2;return(_0x277625<<_0x540654|_0x277625>>>0x20-_0x540654)+_0x47e11c;}function _0x33822b(_0x3b3393,_0x2efef3,_0x43e21b,_0x3363b5,_0xc0328a,_0x11a39c,_0x3fa204){var _0x2d2982=_0x3b3393+(_0x2efef3&_0x3363b5|_0x43e21b&~_0x3363b5)+_0xc0328a+_0x3fa204;return(_0x2d2982<<_0x11a39c|_0x2d2982>>>0x20-_0x11a39c)+_0x2efef3;}function _0x47b55d(_0x40f95f,_0x4b1e0a,_0x57990b,_0x54c5b9,_0x5c6682,_0xb3a690,_0x29550f){var _0x23dc4e=_0x40f95f+(_0x4b1e0a^_0x57990b^_0x54c5b9)+_0x5c6682+_0x29550f;return(_0x23dc4e<<_0xb3a690|_0x23dc4e>>>0x20-_0xb3a690)+_0x4b1e0a;}function _0x5c7fd5(_0x13f5cc,_0x48fa68,_0x4f7edf,_0x5bb139,_0x7ebb0a,_0x48f505,_0x4c1d1a){var _0x326bb7=_0x13f5cc+(_0x4f7edf^(_0x48fa68|~_0x5bb139))+_0x7ebb0a+_0x4c1d1a;return(_0x326bb7<<_0x48f505|_0x326bb7>>>0x20-_0x48f505)+_0x48fa68;}_0x4546c5['MD5']=_0x2cbae5['_createHelper'](_0x153915),_0x4546c5[_0x225230(0x3f5)]=_0x2cbae5[_0x225230(0x322)](_0x153915);}(Math),_0x4bb359[_0x49c0f7(0x27a)];}));}(Ye)),Ye[_0x5b1a0c(0x21e)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x5410a2(0x21e)],Xt;function dn(){var _0x912ea6=_0x5410a2;return Xt||(Xt=0x1,function(_0x419359,_0x18f6af){(function(_0x10129a,_0x2e83f9){var _0x369f7b=_0x48ad;_0x419359[_0x369f7b(0x21e)]=_0x2e83f9(te());}(un,function(_0x1f7f6e){var _0x42a59b=_0x48ad;return(function(){var _0x31b537=_0x48ad,_0x4131e7=_0x1f7f6e,_0x1684cf=_0x4131e7['lib'],_0x1334a4=_0x1684cf[_0x31b537(0x3cb)],_0xdf1df9=_0x1684cf[_0x31b537(0x184)],_0x109d97=_0x4131e7[_0x31b537(0x3b1)],_0x1606b7=[],_0xaa9089=_0x109d97[_0x31b537(0x2e6)]=_0xdf1df9[_0x31b537(0x3ec)]({'_doReset':function(){var _0x54ad7d=_0x31b537;this['_hash']=new _0x1334a4[(_0x54ad7d(0x47e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3dba58,_0x487bc7){for(var _0x5db0fe=this['_hash']['words'],_0x5ad86c=_0x5db0fe[0x0],_0x3987e6=_0x5db0fe[0x1],_0x1e2f5a=_0x5db0fe[0x2],_0x118d4c=_0x5db0fe[0x3],_0x504f1d=_0x5db0fe[0x4],_0x5957fe=0x0;_0x5957fe<0x50;_0x5957fe++){if(_0x5957fe<0x10)_0x1606b7[_0x5957fe]=_0x3dba58[_0x487bc7+_0x5957fe]|0x0;else{var _0x257be4=_0x1606b7[_0x5957fe-0x3]^_0x1606b7[_0x5957fe-0x8]^_0x1606b7[_0x5957fe-0xe]^_0x1606b7[_0x5957fe-0x10];_0x1606b7[_0x5957fe]=_0x257be4<<0x1|_0x257be4>>>0x1f;}var _0x30ed70=(_0x5ad86c<<0x5|_0x5ad86c>>>0x1b)+_0x504f1d+_0x1606b7[_0x5957fe];_0x5957fe<0x14?_0x30ed70+=(_0x3987e6&_0x1e2f5a|~_0x3987e6&_0x118d4c)+0x5a827999:_0x5957fe<0x28?_0x30ed70+=(_0x3987e6^_0x1e2f5a^_0x118d4c)+0x6ed9eba1:_0x5957fe<0x3c?_0x30ed70+=(_0x3987e6&_0x1e2f5a|_0x3987e6&_0x118d4c|_0x1e2f5a&_0x118d4c)-0x70e44324:_0x30ed70+=(_0x3987e6^_0x1e2f5a^_0x118d4c)-0x359d3e2a,_0x504f1d=_0x118d4c,_0x118d4c=_0x1e2f5a,_0x1e2f5a=_0x3987e6<<0x1e|_0x3987e6>>>0x2,_0x3987e6=_0x5ad86c,_0x5ad86c=_0x30ed70;}_0x5db0fe[0x0]=_0x5db0fe[0x0]+_0x5ad86c|0x0,_0x5db0fe[0x1]=_0x5db0fe[0x1]+_0x3987e6|0x0,_0x5db0fe[0x2]=_0x5db0fe[0x2]+_0x1e2f5a|0x0,_0x5db0fe[0x3]=_0x5db0fe[0x3]+_0x118d4c|0x0,_0x5db0fe[0x4]=_0x5db0fe[0x4]+_0x504f1d|0x0;},'_doFinalize':function(){var _0x3e7659=_0x31b537,_0x5d21e1=this[_0x3e7659(0x1ef)],_0x471723=_0x5d21e1[_0x3e7659(0x385)],_0x4d14bb=this[_0x3e7659(0x472)]*0x8,_0x35288f=_0x5d21e1[_0x3e7659(0x328)]*0x8;return _0x471723[_0x35288f>>>0x5]|=0x80<<0x18-_0x35288f%0x20,_0x471723[(_0x35288f+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e7659(0x3fd)](_0x4d14bb/0x100000000),_0x471723[(_0x35288f+0x40>>>0x9<<0x4)+0xf]=_0x4d14bb,_0x5d21e1[_0x3e7659(0x328)]=_0x471723[_0x3e7659(0x323)]*0x4,this['_process'](),this[_0x3e7659(0x254)];},'clone':function(){var _0x4c41e2=_0x31b537,_0xa5e3f9=_0xdf1df9[_0x4c41e2(0x34e)][_0x4c41e2(0x281)](this);return _0xa5e3f9[_0x4c41e2(0x254)]=this[_0x4c41e2(0x254)][_0x4c41e2(0x34e)](),_0xa5e3f9;}});_0x4131e7[_0x31b537(0x2e6)]=_0xdf1df9['_createHelper'](_0xaa9089),_0x4131e7['HmacSHA1']=_0xdf1df9[_0x31b537(0x322)](_0xaa9089);}()),_0x1f7f6e[_0x42a59b(0x2e6)];}));}(qe)),qe[_0x912ea6(0x21e)];}var ze={'exports':{}},fn=ze[_0x5410a2(0x21e)],Zt;function vn(){var _0x3f0758=_0x5410a2;return Zt||(Zt=0x1,function(_0x4761c0,_0x5d4b40){(function(_0x5afee3,_0x174df7){var _0x25c2e8=_0x48ad;_0x4761c0[_0x25c2e8(0x21e)]=_0x174df7(te());}(fn,function(_0x3f3a7b){(function(){var _0x1585d5=_0x48ad,_0x44b560=_0x3f3a7b,_0xf72849=_0x44b560[_0x1585d5(0x3fa)],_0x25e788=_0xf72849[_0x1585d5(0x1e3)],_0x8c1958=_0x44b560[_0x1585d5(0x216)],_0x8d7208=_0x8c1958[_0x1585d5(0x38e)],_0x3ddb44=_0x44b560['algo'];_0x3ddb44['HMAC']=_0x25e788[_0x1585d5(0x3ec)]({'init':function(_0x7a46dd,_0x106714){var _0x5e913b=_0x1585d5;_0x7a46dd=this[_0x5e913b(0x23b)]=new _0x7a46dd[(_0x5e913b(0x47e))](),typeof _0x106714=='string'&&(_0x106714=_0x8d7208[_0x5e913b(0x295)](_0x106714));var _0x1e4f56=_0x7a46dd['blockSize'],_0x136818=_0x1e4f56*0x4;_0x106714[_0x5e913b(0x328)]>_0x136818&&(_0x106714=_0x7a46dd[_0x5e913b(0x2f2)](_0x106714)),_0x106714[_0x5e913b(0x35d)]();for(var _0x562cec=this['_oKey']=_0x106714[_0x5e913b(0x34e)](),_0x2d3d4a=this['_iKey']=_0x106714[_0x5e913b(0x34e)](),_0x20e8f6=_0x562cec[_0x5e913b(0x385)],_0x485196=_0x2d3d4a['words'],_0x395ed1=0x0;_0x395ed1<_0x1e4f56;_0x395ed1++)_0x20e8f6[_0x395ed1]^=0x5c5c5c5c,_0x485196[_0x395ed1]^=0x36363636;_0x562cec['sigBytes']=_0x2d3d4a[_0x5e913b(0x328)]=_0x136818,this[_0x5e913b(0x2c8)]();},'reset':function(){var _0x21fcb4=_0x1585d5,_0x17c16=this[_0x21fcb4(0x23b)];_0x17c16[_0x21fcb4(0x2c8)](),_0x17c16[_0x21fcb4(0x341)](this[_0x21fcb4(0x3f9)]);},'update':function(_0x2e252f){var _0x1d17ab=_0x1585d5;return this[_0x1d17ab(0x23b)][_0x1d17ab(0x341)](_0x2e252f),this;},'finalize':function(_0x11c2f8){var _0x310089=_0x1585d5,_0x2af827=this['_hasher'],_0x1a2c38=_0x2af827['finalize'](_0x11c2f8);_0x2af827[_0x310089(0x2c8)]();var _0xc994dd=_0x2af827['finalize'](this[_0x310089(0x30c)][_0x310089(0x34e)]()['concat'](_0x1a2c38));return _0xc994dd;}});}());}));}(ze)),ze[_0x3f0758(0x21e)];}var pn=Ke['exports'],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x285eb5,_0x235bfb){(function(_0x5ad54e,_0x2fe985,_0x242bf4){_0x285eb5['exports']=_0x2fe985(te(),dn(),vn());}(pn,function(_0x106188){return(function(){var _0x5b00ec=_0x48ad,_0x440196=_0x106188,_0x1116bf=_0x440196[_0x5b00ec(0x3fa)],_0x266ee0=_0x1116bf[_0x5b00ec(0x1e3)],_0x3e1386=_0x1116bf['WordArray'],_0x384dce=_0x440196[_0x5b00ec(0x3b1)],_0x296689=_0x384dce[_0x5b00ec(0x27a)],_0x43a448=_0x384dce[_0x5b00ec(0x396)]=_0x266ee0['extend']({'cfg':_0x266ee0[_0x5b00ec(0x3ec)]({'keySize':0x80/0x20,'hasher':_0x296689,'iterations':0x1}),'init':function(_0x7024aa){var _0x3eac07=_0x5b00ec;this['cfg']=this[_0x3eac07(0x46d)][_0x3eac07(0x3ec)](_0x7024aa);},'compute':function(_0x1ba4ac,_0x4dc096){var _0x4c84ad=_0x5b00ec;for(var _0x341059,_0x237fd6=this['cfg'],_0x36658b=_0x237fd6[_0x4c84ad(0x1a7)][_0x4c84ad(0x335)](),_0x429c1a=_0x3e1386['create'](),_0x109bab=_0x429c1a[_0x4c84ad(0x385)],_0x452925=_0x237fd6[_0x4c84ad(0x36d)],_0x4cae73=_0x237fd6[_0x4c84ad(0x24d)];_0x109bab['length']<_0x452925;){_0x341059&&_0x36658b[_0x4c84ad(0x341)](_0x341059),_0x341059=_0x36658b[_0x4c84ad(0x341)](_0x1ba4ac)[_0x4c84ad(0x2f2)](_0x4dc096),_0x36658b['reset']();for(var _0x2d6ff7=0x1;_0x2d6ff7<_0x4cae73;_0x2d6ff7++)_0x341059=_0x36658b[_0x4c84ad(0x2f2)](_0x341059),_0x36658b[_0x4c84ad(0x2c8)]();_0x429c1a[_0x4c84ad(0x3b7)](_0x341059);}return _0x429c1a[_0x4c84ad(0x328)]=_0x452925*0x4,_0x429c1a;}});_0x440196['EvpKDF']=function(_0x140e09,_0x4f588b,_0x208e46){var _0x4c9654=_0x5b00ec;return _0x43a448[_0x4c9654(0x335)](_0x208e46)['compute'](_0x140e09,_0x4f588b);};}()),_0x106188['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x5410a2(0x21e)],ei;function bi(){return ei||(ei=0x1,function(_0x59f031,_0x2e6fa1){(function(_0x1ed84f,_0x24e1a8,_0x3bbc62){var _0x59d8f5=_0x48ad;_0x59f031[_0x59d8f5(0x21e)]=_0x24e1a8(te(),Oi());}(mn,function(_0x34706a){var _0x3b431b=_0x48ad;_0x34706a[_0x3b431b(0x3fa)][_0x3b431b(0x446)]||function(_0x1fe019){var _0x32f9c7=_0x3b431b,_0x36b024=_0x34706a,_0x2d3e5b=_0x36b024[_0x32f9c7(0x3fa)],_0x1b1a81=_0x2d3e5b[_0x32f9c7(0x1e3)],_0x52f3df=_0x2d3e5b[_0x32f9c7(0x3cb)],_0x351226=_0x2d3e5b[_0x32f9c7(0x36f)],_0x1f2867=_0x36b024['enc'];_0x1f2867[_0x32f9c7(0x38e)];var _0x53dc36=_0x1f2867[_0x32f9c7(0x2c5)],_0x1c1a45=_0x36b024[_0x32f9c7(0x3b1)],_0xf753cc=_0x1c1a45[_0x32f9c7(0x396)],_0x320b4e=_0x2d3e5b[_0x32f9c7(0x446)]=_0x351226[_0x32f9c7(0x3ec)]({'cfg':_0x1b1a81[_0x32f9c7(0x3ec)](),'createEncryptor':function(_0x290e5a,_0x5a4401){var _0x5606a9=_0x32f9c7;return this[_0x5606a9(0x335)](this[_0x5606a9(0x439)],_0x290e5a,_0x5a4401);},'createDecryptor':function(_0x5b2205,_0x5f0063){var _0x28c507=_0x32f9c7;return this[_0x28c507(0x335)](this[_0x28c507(0x1d3)],_0x5b2205,_0x5f0063);},'init':function(_0x5f40d7,_0x3a93d3,_0x19b339){var _0x2d26e2=_0x32f9c7;this[_0x2d26e2(0x46d)]=this['cfg'][_0x2d26e2(0x3ec)](_0x19b339),this['_xformMode']=_0x5f40d7,this[_0x2d26e2(0x1b3)]=_0x3a93d3,this[_0x2d26e2(0x2c8)]();},'reset':function(){var _0x1796ce=_0x32f9c7;_0x351226[_0x1796ce(0x2c8)][_0x1796ce(0x281)](this),this[_0x1796ce(0x2fd)]();},'process':function(_0x6af23d){var _0x376fca=_0x32f9c7;return this[_0x376fca(0x363)](_0x6af23d),this[_0x376fca(0x2d4)]();},'finalize':function(_0x5c0562){var _0x1520e9=_0x32f9c7;_0x5c0562&&this[_0x1520e9(0x363)](_0x5c0562);var _0x237abc=this[_0x1520e9(0x190)]();return _0x237abc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2c1d7f(_0xad879f){var _0x97ac56=_0x48ad;return typeof _0xad879f==_0x97ac56(0x312)?_0x51eb26:_0x3e70fe;}return function(_0x459bfe){return{'encrypt':function(_0x48afaa,_0x6d54f7,_0x552e8a){var _0x502345=_0x48ad;return _0x2c1d7f(_0x6d54f7)[_0x502345(0x36e)](_0x459bfe,_0x48afaa,_0x6d54f7,_0x552e8a);},'decrypt':function(_0xadb411,_0x1be7b5,_0x302948){var _0x28bc35=_0x48ad;return _0x2c1d7f(_0x1be7b5)[_0x28bc35(0x227)](_0x459bfe,_0xadb411,_0x1be7b5,_0x302948);}};};}())});_0x2d3e5b['StreamCipher']=_0x320b4e[_0x32f9c7(0x3ec)]({'_doFinalize':function(){var _0x7560e3=_0x32f9c7,_0x56814d=this[_0x7560e3(0x2d4)](!0x0);return _0x56814d;},'blockSize':0x1});var _0x89a3b8=_0x36b024[_0x32f9c7(0x26c)]={},_0x35de91=_0x2d3e5b[_0x32f9c7(0x32f)]=_0x1b1a81[_0x32f9c7(0x3ec)]({'createEncryptor':function(_0xfc5f01,_0xa3ff4b){var _0x1f8dbb=_0x32f9c7;return this[_0x1f8dbb(0x32b)][_0x1f8dbb(0x335)](_0xfc5f01,_0xa3ff4b);},'createDecryptor':function(_0x5cc4d4,_0x5c1258){var _0x1cbf95=_0x32f9c7;return this[_0x1cbf95(0x3a0)][_0x1cbf95(0x335)](_0x5cc4d4,_0x5c1258);},'init':function(_0x3387d4,_0x29af2c){var _0x370dee=_0x32f9c7;this[_0x370dee(0x418)]=_0x3387d4,this[_0x370dee(0x26e)]=_0x29af2c;}}),_0xa3c79=_0x89a3b8[_0x32f9c7(0x1cd)]=(function(){var _0x53de30=_0x32f9c7,_0x1917dc=_0x35de91[_0x53de30(0x3ec)]();_0x1917dc[_0x53de30(0x32b)]=_0x1917dc[_0x53de30(0x3ec)]({'processBlock':function(_0x11bec4,_0x532412){var _0x2186cb=_0x53de30,_0x33a178=this['_cipher'],_0x1bb286=_0x33a178[_0x2186cb(0x35b)];_0xb82eb5['call'](this,_0x11bec4,_0x532412,_0x1bb286),_0x33a178[_0x2186cb(0x3e3)](_0x11bec4,_0x532412),this[_0x2186cb(0x280)]=_0x11bec4['slice'](_0x532412,_0x532412+_0x1bb286);}}),_0x1917dc[_0x53de30(0x3a0)]=_0x1917dc[_0x53de30(0x3ec)]({'processBlock':function(_0x3195e9,_0x4f1dde){var _0x13107f=_0x53de30,_0x23228c=this[_0x13107f(0x418)],_0xd127c1=_0x23228c[_0x13107f(0x35b)],_0x1738e8=_0x3195e9[_0x13107f(0x3a5)](_0x4f1dde,_0x4f1dde+_0xd127c1);_0x23228c[_0x13107f(0x361)](_0x3195e9,_0x4f1dde),_0xb82eb5[_0x13107f(0x281)](this,_0x3195e9,_0x4f1dde,_0xd127c1),this['_prevBlock']=_0x1738e8;}});function _0xb82eb5(_0x94ef4d,_0x34ca75,_0x3c3510){var _0x47b843=_0x53de30,_0x48fcbd,_0x398317=this[_0x47b843(0x26e)];_0x398317?(_0x48fcbd=_0x398317,this[_0x47b843(0x26e)]=_0x1fe019):_0x48fcbd=this[_0x47b843(0x280)];for(var _0x5dadda=0x0;_0x5dadda<_0x3c3510;_0x5dadda++)_0x94ef4d[_0x34ca75+_0x5dadda]^=_0x48fcbd[_0x5dadda];}return _0x1917dc;}()),_0x2c1b56=_0x36b024['pad']={},_0x4eb1b9=_0x2c1b56[_0x32f9c7(0x263)]={'pad':function(_0x4172f5,_0x3d523f){var _0x568324=_0x32f9c7;for(var _0x38775f=_0x3d523f*0x4,_0x500c2a=_0x38775f-_0x4172f5[_0x568324(0x328)]%_0x38775f,_0x55e8c3=_0x500c2a<<0x18|_0x500c2a<<0x10|_0x500c2a<<0x8|_0x500c2a,_0x4e3611=[],_0x2e67e6=0x0;_0x2e67e6<_0x500c2a;_0x2e67e6+=0x4)_0x4e3611[_0x568324(0x353)](_0x55e8c3);var _0x3c5102=_0x52f3df['create'](_0x4e3611,_0x500c2a);_0x4172f5[_0x568324(0x3b7)](_0x3c5102);},'unpad':function(_0x24bb62){var _0x47ad52=_0x32f9c7,_0x2b89ca=_0x24bb62[_0x47ad52(0x385)][_0x24bb62['sigBytes']-0x1>>>0x2]&0xff;_0x24bb62[_0x47ad52(0x328)]-=_0x2b89ca;}};_0x2d3e5b[_0x32f9c7(0x236)]=_0x320b4e[_0x32f9c7(0x3ec)]({'cfg':_0x320b4e[_0x32f9c7(0x46d)]['extend']({'mode':_0xa3c79,'padding':_0x4eb1b9}),'reset':function(){var _0x45a0a0=_0x32f9c7,_0x4bac96;_0x320b4e['reset']['call'](this);var _0xbafabc=this[_0x45a0a0(0x46d)],_0x179dd7=_0xbafabc['iv'],_0x277895=_0xbafabc[_0x45a0a0(0x26c)];this[_0x45a0a0(0x1ce)]==this[_0x45a0a0(0x439)]?_0x4bac96=_0x277895[_0x45a0a0(0x3eb)]:(_0x4bac96=_0x277895[_0x45a0a0(0x317)],this['_minBufferSize']=0x1),this[_0x45a0a0(0x46b)]&&this[_0x45a0a0(0x46b)][_0x45a0a0(0x3dd)]==_0x4bac96?this[_0x45a0a0(0x46b)][_0x45a0a0(0x47e)](this,_0x179dd7&&_0x179dd7['words']):(this[_0x45a0a0(0x46b)]=_0x4bac96[_0x45a0a0(0x281)](_0x277895,this,_0x179dd7&&_0x179dd7[_0x45a0a0(0x385)]),this[_0x45a0a0(0x46b)]['__creator']=_0x4bac96);},'_doProcessBlock':function(_0x58cc31,_0xa5647b){this['_mode']['processBlock'](_0x58cc31,_0xa5647b);},'_doFinalize':function(){var _0x176518=_0x32f9c7,_0x10265b,_0x531c07=this[_0x176518(0x46d)][_0x176518(0x17e)];return this[_0x176518(0x1ce)]==this['_ENC_XFORM_MODE']?(_0x531c07[_0x176518(0x420)](this[_0x176518(0x1ef)],this[_0x176518(0x35b)]),_0x10265b=this['_process'](!0x0)):(_0x10265b=this[_0x176518(0x2d4)](!0x0),_0x531c07[_0x176518(0x379)](_0x10265b)),_0x10265b;},'blockSize':0x80/0x20});var _0x880733=_0x2d3e5b[_0x32f9c7(0x2c4)]=_0x1b1a81['extend']({'init':function(_0x4d8d05){var _0x1bf54a=_0x32f9c7;this[_0x1bf54a(0x27d)](_0x4d8d05);},'toString':function(_0x21111a){var _0x1429d5=_0x32f9c7;return(_0x21111a||this[_0x1429d5(0x286)])[_0x1429d5(0x45b)](this);}}),_0x15abf7=_0x36b024[_0x32f9c7(0x199)]={},_0x1fb4d6=_0x15abf7['OpenSSL']={'stringify':function(_0x25c8c0){var _0x1f8c65=_0x32f9c7,_0x4881e9,_0x5f063d=_0x25c8c0[_0x1f8c65(0x243)],_0x3d0e54=_0x25c8c0[_0x1f8c65(0x40a)];return _0x3d0e54?_0x4881e9=_0x52f3df[_0x1f8c65(0x335)]([0x53616c74,0x65645f5f])[_0x1f8c65(0x3b7)](_0x3d0e54)[_0x1f8c65(0x3b7)](_0x5f063d):_0x4881e9=_0x5f063d,_0x4881e9[_0x1f8c65(0x3d8)](_0x53dc36);},'parse':function(_0x3427dc){var _0x5c6be4=_0x32f9c7,_0x19dc59,_0xec6ba5=_0x53dc36[_0x5c6be4(0x295)](_0x3427dc),_0x2ffb47=_0xec6ba5[_0x5c6be4(0x385)];return _0x2ffb47[0x0]==0x53616c74&&_0x2ffb47[0x1]==0x65645f5f&&(_0x19dc59=_0x52f3df['create'](_0x2ffb47[_0x5c6be4(0x3a5)](0x2,0x4)),_0x2ffb47[_0x5c6be4(0x1e6)](0x0,0x4),_0xec6ba5[_0x5c6be4(0x328)]-=0x10),_0x880733[_0x5c6be4(0x335)]({'ciphertext':_0xec6ba5,'salt':_0x19dc59});}},_0x3e70fe=_0x2d3e5b[_0x32f9c7(0x3e2)]=_0x1b1a81[_0x32f9c7(0x3ec)]({'cfg':_0x1b1a81[_0x32f9c7(0x3ec)]({'format':_0x1fb4d6}),'encrypt':function(_0x49ce6f,_0x3ccef5,_0x14af99,_0x15e893){var _0x3941b7=_0x32f9c7;_0x15e893=this[_0x3941b7(0x46d)]['extend'](_0x15e893);var _0x16af05=_0x49ce6f[_0x3941b7(0x3eb)](_0x14af99,_0x15e893),_0x412ec6=_0x16af05[_0x3941b7(0x2f2)](_0x3ccef5),_0x4b5001=_0x16af05[_0x3941b7(0x46d)];return _0x880733[_0x3941b7(0x335)]({'ciphertext':_0x412ec6,'key':_0x14af99,'iv':_0x4b5001['iv'],'algorithm':_0x49ce6f,'mode':_0x4b5001[_0x3941b7(0x26c)],'padding':_0x4b5001[_0x3941b7(0x17e)],'blockSize':_0x49ce6f['blockSize'],'formatter':_0x15e893[_0x3941b7(0x199)]});},'decrypt':function(_0x4bc279,_0x3983a9,_0x40c9f9,_0x388b5e){var _0x55f359=_0x32f9c7;_0x388b5e=this['cfg'][_0x55f359(0x3ec)](_0x388b5e),_0x3983a9=this[_0x55f359(0x34c)](_0x3983a9,_0x388b5e[_0x55f359(0x199)]);var _0x4fff65=_0x4bc279[_0x55f359(0x317)](_0x40c9f9,_0x388b5e)[_0x55f359(0x2f2)](_0x3983a9[_0x55f359(0x243)]);return _0x4fff65;},'_parse':function(_0x3cf22f,_0x4d29f9){var _0x27ff70=_0x32f9c7;return typeof _0x3cf22f==_0x27ff70(0x312)?_0x4d29f9[_0x27ff70(0x295)](_0x3cf22f,this):_0x3cf22f;}}),_0x2ffb99=_0x36b024['kdf']={},_0x53d7ff=_0x2ffb99[_0x32f9c7(0x271)]={'execute':function(_0x41ad7a,_0x19e122,_0x4e4fa3,_0x9ab075,_0x2ec4fd){var _0x52caab=_0x32f9c7;if(_0x9ab075||(_0x9ab075=_0x52f3df['random'](0x40/0x8)),_0x2ec4fd)var _0x1c69e5=_0xf753cc[_0x52caab(0x335)]({'keySize':_0x19e122+_0x4e4fa3,'hasher':_0x2ec4fd})[_0x52caab(0x1dc)](_0x41ad7a,_0x9ab075);else var _0x1c69e5=_0xf753cc[_0x52caab(0x335)]({'keySize':_0x19e122+_0x4e4fa3})[_0x52caab(0x1dc)](_0x41ad7a,_0x9ab075);var _0x3faaf4=_0x52f3df[_0x52caab(0x335)](_0x1c69e5['words'][_0x52caab(0x3a5)](_0x19e122),_0x4e4fa3*0x4);return _0x1c69e5[_0x52caab(0x328)]=_0x19e122*0x4,_0x880733[_0x52caab(0x335)]({'key':_0x1c69e5,'iv':_0x3faaf4,'salt':_0x9ab075});}},_0x51eb26=_0x2d3e5b[_0x32f9c7(0x37b)]=_0x3e70fe['extend']({'cfg':_0x3e70fe[_0x32f9c7(0x46d)][_0x32f9c7(0x3ec)]({'kdf':_0x53d7ff}),'encrypt':function(_0x5cee10,_0x547a4e,_0x417603,_0x56181f){var _0x241297=_0x32f9c7;_0x56181f=this['cfg'][_0x241297(0x3ec)](_0x56181f);var _0x59ec2f=_0x56181f[_0x241297(0x27f)][_0x241297(0x18f)](_0x417603,_0x5cee10['keySize'],_0x5cee10[_0x241297(0x248)],_0x56181f['salt'],_0x56181f['hasher']);_0x56181f['iv']=_0x59ec2f['iv'];var _0x39448c=_0x3e70fe[_0x241297(0x36e)][_0x241297(0x281)](this,_0x5cee10,_0x547a4e,_0x59ec2f[_0x241297(0x255)],_0x56181f);return _0x39448c['mixIn'](_0x59ec2f),_0x39448c;},'decrypt':function(_0x5ece4d,_0x5ddd7a,_0x49262c,_0x2114b7){var _0x33cd4f=_0x32f9c7;_0x2114b7=this[_0x33cd4f(0x46d)][_0x33cd4f(0x3ec)](_0x2114b7),_0x5ddd7a=this[_0x33cd4f(0x34c)](_0x5ddd7a,_0x2114b7[_0x33cd4f(0x199)]);var _0x467e01=_0x2114b7[_0x33cd4f(0x27f)][_0x33cd4f(0x18f)](_0x49262c,_0x5ece4d['keySize'],_0x5ece4d[_0x33cd4f(0x248)],_0x5ddd7a[_0x33cd4f(0x40a)],_0x2114b7['hasher']);_0x2114b7['iv']=_0x467e01['iv'];var _0x20ed09=_0x3e70fe[_0x33cd4f(0x227)]['call'](this,_0x5ece4d,_0x5ddd7a,_0x467e01['key'],_0x2114b7);return _0x20ed09;}});}();}));}(Je)),Je['exports'];}var gn=Ve['exports'],ti;function Sn(){var _0x21d08a=_0x5410a2;return ti||(ti=0x1,function(_0x2dd687,_0x5487b1){(function(_0x4b77f4,_0x4206f2,_0x47a82c){var _0x217005=_0x48ad;_0x2dd687[_0x217005(0x21e)]=_0x4206f2(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x26adff){var _0x729ce4=_0x48ad;return(function(){var _0x90b37b=_0x48ad,_0x2aee63=_0x26adff,_0x4a5187=_0x2aee63[_0x90b37b(0x3fa)],_0x1e9156=_0x4a5187[_0x90b37b(0x236)],_0x5080cd=_0x2aee63[_0x90b37b(0x3b1)],_0x39d49d=[],_0x36eb0d=[],_0x44e3f1=[],_0x2f4493=[],_0x16d04d=[],_0x385e69=[],_0x453f29=[],_0x2c1408=[],_0x33aa19=[],_0x1f0cc0=[];(function(){for(var _0x42bda6=[],_0x58f659=0x0;_0x58f659<0x100;_0x58f659++)_0x58f659<0x80?_0x42bda6[_0x58f659]=_0x58f659<<0x1:_0x42bda6[_0x58f659]=_0x58f659<<0x1^0x11b;for(var _0x29e6a8=0x0,_0x18ee5e=0x0,_0x58f659=0x0;_0x58f659<0x100;_0x58f659++){var _0x19ed4c=_0x18ee5e^_0x18ee5e<<0x1^_0x18ee5e<<0x2^_0x18ee5e<<0x3^_0x18ee5e<<0x4;_0x19ed4c=_0x19ed4c>>>0x8^_0x19ed4c&0xff^0x63,_0x39d49d[_0x29e6a8]=_0x19ed4c,_0x36eb0d[_0x19ed4c]=_0x29e6a8;var _0x52ff53=_0x42bda6[_0x29e6a8],_0x1b7aad=_0x42bda6[_0x52ff53],_0x5ab267=_0x42bda6[_0x1b7aad],_0xa939a1=_0x42bda6[_0x19ed4c]*0x101^_0x19ed4c*0x1010100;_0x44e3f1[_0x29e6a8]=_0xa939a1<<0x18|_0xa939a1>>>0x8,_0x2f4493[_0x29e6a8]=_0xa939a1<<0x10|_0xa939a1>>>0x10,_0x16d04d[_0x29e6a8]=_0xa939a1<<0x8|_0xa939a1>>>0x18,_0x385e69[_0x29e6a8]=_0xa939a1;var _0xa939a1=_0x5ab267*0x1010101^_0x1b7aad*0x10001^_0x52ff53*0x101^_0x29e6a8*0x1010100;_0x453f29[_0x19ed4c]=_0xa939a1<<0x18|_0xa939a1>>>0x8,_0x2c1408[_0x19ed4c]=_0xa939a1<<0x10|_0xa939a1>>>0x10,_0x33aa19[_0x19ed4c]=_0xa939a1<<0x8|_0xa939a1>>>0x18,_0x1f0cc0[_0x19ed4c]=_0xa939a1,_0x29e6a8?(_0x29e6a8=_0x52ff53^_0x42bda6[_0x42bda6[_0x42bda6[_0x5ab267^_0x52ff53]]],_0x18ee5e^=_0x42bda6[_0x42bda6[_0x18ee5e]]):_0x29e6a8=_0x18ee5e=0x1;}}());var _0x45d10d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x344f47=_0x5080cd[_0x90b37b(0x231)]=_0x1e9156[_0x90b37b(0x3ec)]({'_doReset':function(){var _0x38fb96=_0x90b37b,_0x326ce7;if(!(this[_0x38fb96(0x2de)]&&this[_0x38fb96(0x189)]===this[_0x38fb96(0x1b3)])){for(var _0x3ca0be=this[_0x38fb96(0x189)]=this[_0x38fb96(0x1b3)],_0x1881c3=_0x3ca0be[_0x38fb96(0x385)],_0x332835=_0x3ca0be['sigBytes']/0x4,_0x4e5937=this[_0x38fb96(0x2de)]=_0x332835+0x6,_0x402533=(_0x4e5937+0x1)*0x4,_0x1c6afb=this[_0x38fb96(0x365)]=[],_0x2690b7=0x0;_0x2690b7<_0x402533;_0x2690b7++)_0x2690b7<_0x332835?_0x1c6afb[_0x2690b7]=_0x1881c3[_0x2690b7]:(_0x326ce7=_0x1c6afb[_0x2690b7-0x1],_0x2690b7%_0x332835?_0x332835>0x6&&_0x2690b7%_0x332835==0x4&&(_0x326ce7=_0x39d49d[_0x326ce7>>>0x18]<<0x18|_0x39d49d[_0x326ce7>>>0x10&0xff]<<0x10|_0x39d49d[_0x326ce7>>>0x8&0xff]<<0x8|_0x39d49d[_0x326ce7&0xff]):(_0x326ce7=_0x326ce7<<0x8|_0x326ce7>>>0x18,_0x326ce7=_0x39d49d[_0x326ce7>>>0x18]<<0x18|_0x39d49d[_0x326ce7>>>0x10&0xff]<<0x10|_0x39d49d[_0x326ce7>>>0x8&0xff]<<0x8|_0x39d49d[_0x326ce7&0xff],_0x326ce7^=_0x45d10d[_0x2690b7/_0x332835|0x0]<<0x18),_0x1c6afb[_0x2690b7]=_0x1c6afb[_0x2690b7-_0x332835]^_0x326ce7);for(var _0x246d4e=this[_0x38fb96(0x35c)]=[],_0x55842c=0x0;_0x55842c<_0x402533;_0x55842c++){var _0x2690b7=_0x402533-_0x55842c;if(_0x55842c%0x4)var _0x326ce7=_0x1c6afb[_0x2690b7];else var _0x326ce7=_0x1c6afb[_0x2690b7-0x4];_0x55842c<0x4||_0x2690b7<=0x4?_0x246d4e[_0x55842c]=_0x326ce7:_0x246d4e[_0x55842c]=_0x453f29[_0x39d49d[_0x326ce7>>>0x18]]^_0x2c1408[_0x39d49d[_0x326ce7>>>0x10&0xff]]^_0x33aa19[_0x39d49d[_0x326ce7>>>0x8&0xff]]^_0x1f0cc0[_0x39d49d[_0x326ce7&0xff]];}}},'encryptBlock':function(_0x56b777,_0x5c0e87){this['_doCryptBlock'](_0x56b777,_0x5c0e87,this['_keySchedule'],_0x44e3f1,_0x2f4493,_0x16d04d,_0x385e69,_0x39d49d);},'decryptBlock':function(_0x2d29ee,_0x1d479a){var _0x2d7eb6=_0x90b37b,_0x3c6f5a=_0x2d29ee[_0x1d479a+0x1];_0x2d29ee[_0x1d479a+0x1]=_0x2d29ee[_0x1d479a+0x3],_0x2d29ee[_0x1d479a+0x3]=_0x3c6f5a,this[_0x2d7eb6(0x383)](_0x2d29ee,_0x1d479a,this['_invKeySchedule'],_0x453f29,_0x2c1408,_0x33aa19,_0x1f0cc0,_0x36eb0d);var _0x3c6f5a=_0x2d29ee[_0x1d479a+0x1];_0x2d29ee[_0x1d479a+0x1]=_0x2d29ee[_0x1d479a+0x3],_0x2d29ee[_0x1d479a+0x3]=_0x3c6f5a;},'_doCryptBlock':function(_0xac3e27,_0x533e67,_0x574ac1,_0x3094d7,_0x3403ff,_0x399930,_0x1d0057,_0x37eb0a){for(var _0x570d29=this['_nRounds'],_0x3bdf01=_0xac3e27[_0x533e67]^_0x574ac1[0x0],_0x17c7ba=_0xac3e27[_0x533e67+0x1]^_0x574ac1[0x1],_0x3320bd=_0xac3e27[_0x533e67+0x2]^_0x574ac1[0x2],_0x4b0b60=_0xac3e27[_0x533e67+0x3]^_0x574ac1[0x3],_0x51c68d=0x4,_0x598ad3=0x1;_0x598ad3<_0x570d29;_0x598ad3++){var _0x35fea0=_0x3094d7[_0x3bdf01>>>0x18]^_0x3403ff[_0x17c7ba>>>0x10&0xff]^_0x399930[_0x3320bd>>>0x8&0xff]^_0x1d0057[_0x4b0b60&0xff]^_0x574ac1[_0x51c68d++],_0x1b456c=_0x3094d7[_0x17c7ba>>>0x18]^_0x3403ff[_0x3320bd>>>0x10&0xff]^_0x399930[_0x4b0b60>>>0x8&0xff]^_0x1d0057[_0x3bdf01&0xff]^_0x574ac1[_0x51c68d++],_0x3db63c=_0x3094d7[_0x3320bd>>>0x18]^_0x3403ff[_0x4b0b60>>>0x10&0xff]^_0x399930[_0x3bdf01>>>0x8&0xff]^_0x1d0057[_0x17c7ba&0xff]^_0x574ac1[_0x51c68d++],_0x2f1b1a=_0x3094d7[_0x4b0b60>>>0x18]^_0x3403ff[_0x3bdf01>>>0x10&0xff]^_0x399930[_0x17c7ba>>>0x8&0xff]^_0x1d0057[_0x3320bd&0xff]^_0x574ac1[_0x51c68d++];_0x3bdf01=_0x35fea0,_0x17c7ba=_0x1b456c,_0x3320bd=_0x3db63c,_0x4b0b60=_0x2f1b1a;}var _0x35fea0=(_0x37eb0a[_0x3bdf01>>>0x18]<<0x18|_0x37eb0a[_0x17c7ba>>>0x10&0xff]<<0x10|_0x37eb0a[_0x3320bd>>>0x8&0xff]<<0x8|_0x37eb0a[_0x4b0b60&0xff])^_0x574ac1[_0x51c68d++],_0x1b456c=(_0x37eb0a[_0x17c7ba>>>0x18]<<0x18|_0x37eb0a[_0x3320bd>>>0x10&0xff]<<0x10|_0x37eb0a[_0x4b0b60>>>0x8&0xff]<<0x8|_0x37eb0a[_0x3bdf01&0xff])^_0x574ac1[_0x51c68d++],_0x3db63c=(_0x37eb0a[_0x3320bd>>>0x18]<<0x18|_0x37eb0a[_0x4b0b60>>>0x10&0xff]<<0x10|_0x37eb0a[_0x3bdf01>>>0x8&0xff]<<0x8|_0x37eb0a[_0x17c7ba&0xff])^_0x574ac1[_0x51c68d++],_0x2f1b1a=(_0x37eb0a[_0x4b0b60>>>0x18]<<0x18|_0x37eb0a[_0x3bdf01>>>0x10&0xff]<<0x10|_0x37eb0a[_0x17c7ba>>>0x8&0xff]<<0x8|_0x37eb0a[_0x3320bd&0xff])^_0x574ac1[_0x51c68d++];_0xac3e27[_0x533e67]=_0x35fea0,_0xac3e27[_0x533e67+0x1]=_0x1b456c,_0xac3e27[_0x533e67+0x2]=_0x3db63c,_0xac3e27[_0x533e67+0x3]=_0x2f1b1a;},'keySize':0x100/0x20});_0x2aee63[_0x90b37b(0x231)]=_0x1e9156['_createHelper'](_0x344f47);}()),_0x26adff[_0x729ce4(0x231)];}));}(Ve)),Ve[_0x21d08a(0x21e)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){var _0x279284=_0x5410a2;return si||(si=0x1,function(_0x13d671,_0xa48356){(function(_0x47f59a,_0x3e8a88){var _0x24dbc1=_0x48ad;_0x13d671[_0x24dbc1(0x21e)]=_0x3e8a88(te());}(Cn,function(_0x39e5ab){var _0x57058e=_0x48ad;return _0x39e5ab[_0x57058e(0x216)][_0x57058e(0x38e)];}));}(Xe)),Xe[_0x279284(0x21e)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x5410a2(0x21e)],ni;function Nn(){var _0x1fddfb=_0x5410a2;return ni||(ni=0x1,function(_0x577631,_0x3b1210){(function(_0x4c8b0a,_0x39058e){var _0x1f8018=_0x48ad;_0x577631[_0x1f8018(0x21e)]=_0x39058e(te());}(yn,function(_0x975461){var _0x5d0ac7=_0x48ad;return(function(){var _0x3b37b4=_0x48ad;if(typeof ArrayBuffer=='function'){var _0x2c3097=_0x975461,_0x43c00a=_0x2c3097[_0x3b37b4(0x3fa)],_0x1bcb04=_0x43c00a[_0x3b37b4(0x3cb)],_0x4e46a9=_0x1bcb04['init'],_0x16dc09=_0x1bcb04['init']=function(_0x3a5857){var _0x39c85b=_0x3b37b4;if(_0x3a5857 instanceof ArrayBuffer&&(_0x3a5857=new Uint8Array(_0x3a5857)),(_0x3a5857 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a5857 instanceof Uint8ClampedArray||_0x3a5857 instanceof Int16Array||_0x3a5857 instanceof Uint16Array||_0x3a5857 instanceof Int32Array||_0x3a5857 instanceof Uint32Array||_0x3a5857 instanceof Float32Array||_0x3a5857 instanceof Float64Array)&&(_0x3a5857=new Uint8Array(_0x3a5857['buffer'],_0x3a5857[_0x39c85b(0x203)],_0x3a5857[_0x39c85b(0x346)])),_0x3a5857 instanceof Uint8Array){for(var _0x48eb0=_0x3a5857[_0x39c85b(0x346)],_0x2fc17d=[],_0x1f8500=0x0;_0x1f8500<_0x48eb0;_0x1f8500++)_0x2fc17d[_0x1f8500>>>0x2]|=_0x3a5857[_0x1f8500]<<0x18-_0x1f8500%0x4*0x8;_0x4e46a9[_0x39c85b(0x281)](this,_0x2fc17d,_0x48eb0);}else _0x4e46a9[_0x39c85b(0x392)](this,arguments);};_0x16dc09[_0x3b37b4(0x2f1)]=_0x1bcb04;}}()),_0x975461['lib'][_0x5d0ac7(0x3cb)];}));}(Ze)),Ze[_0x1fddfb(0x21e)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x382a73=_0x5410a2;return ri||(ri=0x1,function(_0xd7be23,_0x74fb56){(function(_0x482fee,_0x1a86d8,_0x2423af){var _0x477ea7=_0x48ad;_0xd7be23[_0x477ea7(0x21e)]=_0x1a86d8(te(),bi());}(An,function(_0xb2b3ce){var _0x31138d=_0x48ad;return _0xb2b3ce[_0x31138d(0x420)][_0x31138d(0x250)]={'pad':function(){},'unpad':function(){}},_0xb2b3ce[_0x31138d(0x420)][_0x31138d(0x250)];}));}(Qe)),Qe[_0x382a73(0x21e)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x3dcfb2,_0x22c4b6){var _0x1252b5=_0x5410a2;const _0x119a7d=_0x22c4b6-_0x3dcfb2[_0x1252b5(0x323)]%_0x22c4b6,_0x1c1561=String[_0x1252b5(0x2bf)](_0x119a7d)[_0x1252b5(0x33d)](_0x119a7d);return _0x3dcfb2+_0x1c1561;}function xn(_0x44c79b,_0x116f61){var _0x5ee9a0=_0x5410a2;const _0x4e2f62=Un['random'](0x10),_0x4ccb8b=Ln(_0x44c79b,0x10),_0x2e30f1=In['encrypt'](bn[_0x5ee9a0(0x295)](_0x4ccb8b),ii[_0x5ee9a0(0x295)](_0x116f61),{'iv':_0x4e2f62,'padding':Mn});return _0x4e2f62['concat'](_0x2e30f1[_0x5ee9a0(0x243)])[_0x5ee9a0(0x3d8)](ii);}function kn(){var _0xad28fe=_0x5410a2;const _0x56696=_0x1a58a6()[_0xad28fe(0x3df)];if(_0x56696){const _0x43f119={'time':Math[_0xad28fe(0x3fd)](Date[_0xad28fe(0x3a9)]()/0x3e8),'domain':location[_0xad28fe(0x38c)]};return xn(JSON[_0xad28fe(0x45b)](_0x43f119),_0x56696);}}var $n=Object[_0x5410a2(0x2a3)],Hn=(_0x17f51e,_0xb7e829,_0x27e73b,_0xc1a556)=>{var _0x29d7e5=_0x5410a2;for(var _0x5bbeb1=_0xc1a556>0x1?void 0x0:_0xc1a556?$n(_0xb7e829,_0x27e73b):_0xb7e829,_0x385f32=_0x17f51e[_0x29d7e5(0x323)]-0x1,_0x331e9d;_0x385f32>=0x0;_0x385f32--)(_0x331e9d=_0x17f51e[_0x385f32])&&(_0x5bbeb1=_0x331e9d(_0x5bbeb1)||_0x5bbeb1);return _0x5bbeb1;},Bn=(_0x550581,_0x495de9)=>(_0x43e7a1,_0x13d2ee)=>_0x495de9(_0x43e7a1,_0x13d2ee,_0x550581);let at=class{constructor(_0x7f09ee){var _0x2e651d=_0x5410a2;this[_0x2e651d(0x3a7)]=_0x7f09ee,this['_initRequestHeader']();}[_0x5410a2(0x44b)](){var _0x793cf3=_0x5410a2;this['_httpService'][_0x793cf3(0x470)]({'interceptor':(_0x5eda32,_0x142162)=>{var _0x3cf735=_0x793cf3;const _0xb805b7=_0x5eda32[_0x3cf735(0x210)],_0x13444e=kn();return _0x13444e&&_0xb805b7[_0x3cf735(0x1b2)](_0x3cf735(0x32a),_0x13444e),_0x142162(_0x5eda32);}});}};at=Hn([Bn(0x0,_0x2a67ea(_0x4adef9))],at);var jn=Object[_0x5410a2(0x2a3)],Fn=(_0x36dc83,_0x1b5202,_0x5ab0c0,_0x5d7c8f)=>{for(var _0x4cbb66=_0x5d7c8f>0x1?void 0x0:_0x5d7c8f?jn(_0x1b5202,_0x5ab0c0):_0x1b5202,_0x3e634a=_0x36dc83['length']-0x1,_0x165de6;_0x3e634a>=0x0;_0x3e634a--)(_0x165de6=_0x36dc83[_0x3e634a])&&(_0x4cbb66=_0x165de6(_0x4cbb66)||_0x4cbb66);return _0x4cbb66;},vt=(_0x5f0891,_0x486323)=>(_0x331c34,_0x325175)=>_0x486323(_0x331c34,_0x325175,_0x5f0891);let Ct=class extends _0x11e454{constructor(_0x319082,_0x2c5e86,_0x28930f){var _0x27ac3d=_0x5410a2;super(),N(this,'_unitInfo$',new _0xc40a72(null)),N(this,_0x27ac3d(0x201),this[_0x27ac3d(0x194)][_0x27ac3d(0x449)]()),(this[_0x27ac3d(0x352)]=_0x319082,this[_0x27ac3d(0x28b)]=_0x2c5e86,this['_localCacheService']=_0x28930f);}async['loadUnitOfRevision'](_0x443884,_0x32d21d,_0x5526f2){var _0x576fc5=_0x5410a2;this['_unitInfo$'][_0x576fc5(0x451)]({'unitId':_0x443884,'type':_0x32d21d});let _0x56d5b7=null;switch(_0x32d21d){case Z[_0x576fc5(0x386)]:{_0x56d5b7=await this['_snapshotService']['loadSheet'](_0x443884,_0x5526f2);break;}case Z[_0x576fc5(0x3c7)]:{_0x56d5b7=await this[_0x576fc5(0x28b)][_0x576fc5(0x24b)](_0x443884,_0x5526f2);break;}default:{this[_0x576fc5(0x352)][_0x576fc5(0x1ff)](_0x576fc5(0x20e),_0x576fc5(0x372));break;}}return _0x56d5b7;}async[_0x5410a2(0x368)](_0x14ed3c,_0x19a0e3,_0x7b8701){var _0x176976=_0x5410a2,_0x369e84;this[_0x176976(0x194)]['next']({'unitId':_0x14ed3c,'type':_0x19a0e3,'subUnitId':_0x7b8701});let _0x6b2246=0x0;const _0x483f76=await((_0x369e84=this[_0x176976(0x3e4)])==null?void 0x0:_0x369e84['loadOfflineData'](_0x14ed3c));return _0x483f76&&(_0x483f76[_0x176976(0x388)]||_0x483f76[_0x176976(0x339)][_0x176976(0x323)]!==0x0)&&(_0x6b2246=_0x483f76[_0x176976(0x3e0)]),_0x6b2246===0x0&&this['_logService'][_0x176976(0x3f1)](_0x176976(0x20e),_0x176976(0x30d)),this[_0x176976(0x26d)](_0x14ed3c,_0x19a0e3,_0x6b2246);}};Ct=Fn([vt(0x0,_0x3229e5),vt(0x1,_0x2a67ea(_0x495ffc)),vt(0x2,_0x38fedb(J))],Ct);var Vn=Object[_0x5410a2(0x2a3)],Wn=(_0x391b57,_0x1bfecb,_0x46cc32,_0x3e4c24)=>{var _0x1e1e83=_0x5410a2;for(var _0x5f4e02=_0x3e4c24>0x1?void 0x0:_0x3e4c24?Vn(_0x1bfecb,_0x46cc32):_0x1bfecb,_0xbd3ba=_0x391b57[_0x1e1e83(0x323)]-0x1,_0x4d37e0;_0xbd3ba>=0x0;_0xbd3ba--)(_0x4d37e0=_0x391b57[_0xbd3ba])&&(_0x5f4e02=_0x4d37e0(_0x5f4e02)||_0x5f4e02);return _0x5f4e02;},pt=(_0x3ea7a5,_0x4ce253)=>(_0x5426a0,_0xa07f06)=>_0x4ce253(_0x5426a0,_0xa07f06,_0x3ea7a5);const Gn=[_0x5410a2(0x2ee),_0x5410a2(0x411),_0x5410a2(0x36a),_0x5410a2(0x1ea),_0x5410a2(0x32e)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x5410a2(0x17d);let Rt=class{constructor(_0x2cafe0,_0x450a1b,_0xae36fd){var _0x22046f=_0x5410a2;N(this,_0x22046f(0x404),0x0),N(this,_0x22046f(0x3ba),new _0x3a3a31()),N(this,'change$',this[_0x22046f(0x3ba)]),N(this,'_imageSourceCache',new Map()),(this[_0x22046f(0x3a7)]=_0x2cafe0,this[_0x22046f(0x39f)]=_0x450a1b,this['_univerInstanceService']=_0xae36fd);}['setWaitCount'](_0x1d1101){var _0x520684=_0x5410a2;this[_0x520684(0x404)]=_0x1d1101,this[_0x520684(0x3ba)][_0x520684(0x451)](_0x1d1101);}[_0x5410a2(0x1a9)](_0x1f19e2,_0x2e406b){var _0x2ea3ba=_0x5410a2;if(_0x2e406b===_0x109204[_0x2ea3ba(0x457)]){const _0x7bd27f=new Image();return _0x7bd27f[_0x2ea3ba(0x315)]=_0x1f19e2,_0x7bd27f;}return this[_0x2ea3ba(0x2b6)][_0x2ea3ba(0x19f)](_0x1f19e2);}[_0x5410a2(0x34b)](_0x204185,_0x31032d,_0x19e60e){var _0xb11af5=_0x5410a2;_0x31032d===_0x109204[_0xb11af5(0x457)]||_0x19e60e==null||this[_0xb11af5(0x2b6)][_0xb11af5(0x1b2)](_0x204185,_0x19e60e);}async['getImage'](_0x4a6f14){var _0x2b7955=_0x5410a2;try{const _0x209c57=this[_0x2b7955(0x303)](this[_0x2b7955(0x3d9)](),''+_0x4a6f14),_0xa75529=(await this[_0x2b7955(0x3a7)][_0x2b7955(0x19f)](_0x209c57))[_0x2b7955(0x26a)];if(_0xa75529['error']&&_0xa75529[_0x2b7955(0x1ff)][_0x2b7955(0x278)]===vi['OK']){const _0x5eda0e=new URL(_0xa75529[_0x2b7955(0x391)],this[_0x2b7955(0x42b)]())['toString']();return Promise[_0x2b7955(0x348)](_0x5eda0e);}return Promise[_0x2b7955(0x3d7)](_0xa75529['error']);}catch(_0x2ccf93){return Promise[_0x2b7955(0x3d7)](_0x2ccf93);}}async[_0x5410a2(0x417)](_0xdeb384){var _0x386365=_0x5410a2;let _0x199788='';if(!Gn['includes'](_0xdeb384[_0x386365(0x1a8)]))return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x252)]));if(_0xdeb384[_0x386365(0x43b)]>Yn)return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x2ed)]));try{const _0x7d0d72=new FormData();_0x7d0d72['append']('file',_0xdeb384);const _0x42d8b7=this[_0x386365(0x34a)][_0x386365(0x1b5)](),_0x4da082=_0x42d8b7==null?void 0x0:_0x42d8b7[_0x386365(0x313)]();if(!_0x4da082)throw new Error(_0x386365(0x331));const _0x34fc67=this['_getUploadFileURL']()+_0x386365(0x440)+_0xdeb384['size'][_0x386365(0x3d8)]()+_0x386365(0x2b7)+pi[_0x386365(0x2a7)]+_0x386365(0x442)+encodeURIComponent(_0x4da082),_0x3ae27e={'body':_0x7d0d72},_0xc8fc9=(await this[_0x386365(0x3a7)][_0x386365(0x3c2)](_0x34fc67,_0x3ae27e))['body'];if(typeof _0xc8fc9[_0x386365(0x1c9)]!='string')return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x362)]));_0x199788=_0xc8fc9['FileId'];}catch{return this[_0x386365(0x1de)](),Promise[_0x386365(0x3d7)](new Error(_0x1ac2f5[_0x386365(0x362)]));}return new Promise((_0x4991d2,_0xf0246e)=>{var _0x404358=_0x386365;const _0x307d0a=new FileReader();_0x307d0a['readAsDataURL'](_0xdeb384),_0x307d0a[_0x404358(0x1f3)]=_0x346627=>{var _0x21dd04=_0x404358,_0x1d7143;const _0x3ba005=(_0x1d7143=_0x346627[_0x21dd04(0x338)])==null?void 0x0:_0x1d7143[_0x21dd04(0x3e9)];if(_0x3ba005==null){this[_0x21dd04(0x1de)](),_0xf0246e(new Error(_0x1ac2f5[_0x21dd04(0x362)]));return;}const _0x3cfcc0=_0x38c2fb(0x6);_0x4991d2({'imageId':_0x3cfcc0,'imageSourceType':_0x109204[_0x21dd04(0x2e3)],'source':_0x199788,'base64Cache':_0x3ba005,'status':_0x1ac2f5[_0x21dd04(0x2eb)]}),this[_0x21dd04(0x1de)]();};});}[_0x5410a2(0x2fa)](){var _0xe3a07b=_0x5410a2,_0x40e876;const _0x2b5e65=this['_configService'][_0xe3a07b(0x467)](K);return(_0x40e876=_0x2b5e65==null?void 0x0:_0x2b5e65[_0xe3a07b(0x1d5)])!=null?_0x40e876:Kn;}[_0x5410a2(0x3d9)](){var _0x258c32=_0x5410a2,_0x52260a;const _0x5e4753=this[_0x258c32(0x39f)][_0x258c32(0x467)](K);return(_0x52260a=_0x5e4753==null?void 0x0:_0x5e4753['signUrlServerUrl'])!=null?_0x52260a:qn;}['_getDownloadEndpointURL'](){var _0x5da949=_0x5410a2,_0x593c06;const _0x44074d=this[_0x5da949(0x39f)][_0x5da949(0x467)](K);return(_0x593c06=_0x44074d==null?void 0x0:_0x44074d['downloadEndpointUrl'])!=null?_0x593c06:location[_0x5da949(0x229)];}[_0x5410a2(0x303)](_0x30f5ae,_0xd81b54){var _0x4b29f0=_0x5410a2;return _0x30f5ae[_0x4b29f0(0x2c9)](_0x4b29f0(0x399),_0xd81b54);}[_0x5410a2(0x1de)](){var _0x3af756=_0x5410a2;this[_0x3af756(0x404)]-=0x1,this[_0x3af756(0x3ba)][_0x3af756(0x451)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x2a67ea(_0x4adef9)),pt(0x1,_0x54dc50),pt(0x2,_0x2a67ea(_0x1f2fda))],Rt);var zn=Object[_0x5410a2(0x2a3)],Jn=(_0x1ccd52,_0x457b20,_0x36d653,_0x376fdd)=>{var _0x1f130a=_0x5410a2;for(var _0x280be7=_0x376fdd>0x1?void 0x0:_0x376fdd?zn(_0x457b20,_0x36d653):_0x457b20,_0xffd4bb=_0x1ccd52[_0x1f130a(0x323)]-0x1,_0x50b09a;_0xffd4bb>=0x0;_0xffd4bb--)(_0x50b09a=_0x1ccd52[_0xffd4bb])&&(_0x280be7=_0x50b09a(_0x280be7)||_0x280be7);return _0x280be7;},ai=(_0x388bb0,_0x3a70f3)=>(_0x517378,_0x53c905)=>_0x3a70f3(_0x517378,_0x53c905,_0x388bb0);const Xn=_0x5410a2(0x2ba);let Ot=class{constructor(_0x82d0c1,_0x8671d4){var _0x99d751=_0x5410a2;this['_configService']=_0x82d0c1,this[_0x99d751(0x279)]=_0x8671d4;}['_getAPIPrefixPath'](){var _0xf67a97=_0x5410a2,_0x763cb7;const _0x5be488=this[_0xf67a97(0x39f)][_0xf67a97(0x467)](K);return(_0x763cb7=_0x5be488==null?void 0x0:_0x5be488[_0xf67a97(0x397)])!=null?_0x763cb7:Xn;}async[_0x5410a2(0x3c8)](_0x29b1d1){var _0x2a58e8=_0x5410a2;const _0x49e81b=this[_0x2a58e8(0x33c)]()+_0x2a58e8(0x253);return{'list':[{'title':_0x2a58e8(0x3f8),'mentions':(await this[_0x2a58e8(0x279)][_0x2a58e8(0x19f)](_0x49e81b,{'params':{'objectID':_0x29b1d1['unitId'],'unitID':_0x29b1d1[_0x2a58e8(0x1d8)]}}))['body'][_0x2a58e8(0x466)]['map'](_0x15e176=>({'objectId':_0x15e176['id'],'name':_0x15e176[_0x2a58e8(0x2c7)][_0x2a58e8(0x40b)],'metadata':{'icon':_0x15e176[_0x2a58e8(0x2c7)][_0x2a58e8(0x371)]},'label':_0x15e176[_0x2a58e8(0x2c7)]['name'],'objectType':_0x50c1f8['PERSON']})),'metadata':{},'type':_0x50c1f8[_0x2a58e8(0x37a)]}]};}};Ot=Jn([ai(0x0,_0x2a67ea(_0x54dc50)),ai(0x1,_0x2a67ea(_0x4adef9))],Ot);var Zn=Object[_0x5410a2(0x2a3)],Qn=(_0x24c42c,_0x112575,_0x3df1ea,_0x61d3cc)=>{for(var _0x5f2e0f=_0x61d3cc>0x1?void 0x0:_0x61d3cc?Zn(_0x112575,_0x3df1ea):_0x112575,_0x46bf0f=_0x24c42c['length']-0x1,_0xccc78d;_0x46bf0f>=0x0;_0x46bf0f--)(_0xccc78d=_0x24c42c[_0x46bf0f])&&(_0x5f2e0f=_0xccc78d(_0x5f2e0f)||_0x5f2e0f);return _0x5f2e0f;},Ue=(_0xfbaa23,_0x5291b7)=>(_0x4c912f,_0x504e82)=>_0x5291b7(_0x4c912f,_0x504e82,_0xfbaa23);let ot=class extends _0x11e454{constructor(_0x4debce,_0x15cda9,_0x42b5dd,_0x3f1487,_0x3ba6b5){var _0x31f8cf=_0x5410a2;super(),this[_0x31f8cf(0x3c3)]=_0x4debce,this[_0x31f8cf(0x34a)]=_0x15cda9,this['_permissionService']=_0x42b5dd,this[_0x31f8cf(0x197)]=_0x3f1487,this[_0x31f8cf(0x21b)]=_0x3ba6b5,this[_0x31f8cf(0x259)](),this[_0x31f8cf(0x1bc)]();}[_0x5410a2(0x1bc)](){var _0x5a1417=_0x5410a2;const _0x3a3507=async _0xd5fb0e=>{var _0x47d8d5=_0x48ad;(await this['_collaborationSessionService'][_0x47d8d5(0x433)](_0xd5fb0e))[_0x47d8d5(0x3f4)][_0x47d8d5(0x1bf)](_0x1eed09(_0x14e3ef=>_0x14e3ef['eventID']===_0x58a832[_0x47d8d5(0x415)]),_0x5c1d21(this['dispose$']))[_0x47d8d5(0x3a8)](_0x493aeb=>{var _0x2cfa09=_0x47d8d5;const _0x1a15cf=_0x493aeb,{reason:_0xf35305}=_0x1a15cf[_0x2cfa09(0x246)];this[_0x2cfa09(0x21b)][_0x2cfa09(0x2b4)]({'id':ne[_0x2cfa09(0x37d)],'data':_0xf35305}),this[_0x2cfa09(0x277)][_0x2cfa09(0x3ea)](new _0x3078fa(_0xd5fb0e)['id'],!0x1),this[_0x2cfa09(0x197)][_0x2cfa09(0x294)](_0xd5fb0e);});};_0x350ea0(this['_univerInstanceService'][_0x5a1417(0x17c)](_0x6591bc[_0x5a1417(0x386)]),this[_0x5a1417(0x34a)]['getTypeOfUnitAdded$'](_0x6591bc[_0x5a1417(0x3c7)]))['pipe'](_0x271875(_0x5f121b=>_0x5f121b['getUnitId']()),_0x1eed09(_0x136ade=>!_0x52ebf6(_0x136ade)),_0x5c1d21(this[_0x5a1417(0x241)]))[_0x5a1417(0x3a8)](_0x46134c=>{_0x3a3507(_0x46134c);});}[_0x5410a2(0x259)](){var _0x317a98=_0x5410a2;const _0x324842=async _0x579054=>{var _0x4b4f0f=_0x48ad;const _0x3cbf7d=await this[_0x4b4f0f(0x197)][_0x4b4f0f(0x433)](_0x579054),_0x4ea65b=this[_0x4b4f0f(0x3c3)]['get'](_0x4231b0);_0x3cbf7d[_0x4b4f0f(0x3f4)]['pipe'](_0x1eed09(_0x2e0d1c=>_0x2e0d1c['eventID']===_0x58a832[_0x4b4f0f(0x205)]),_0x5c1d21(this[_0x4b4f0f(0x241)]))['subscribe'](_0x56f954=>{var _0x6bb156=_0x4b4f0f;const _0x34dd72=_0x56f954,{objectId:_0x519afa}=_0x34dd72[_0x6bb156(0x246)];_0x519afa===_0x579054?_0x4ea65b[_0x6bb156(0x2db)](_0x579054):_0x4ea65b[_0x6bb156(0x2d6)](_0x579054,_0x519afa);});};_0x350ea0(this[_0x317a98(0x34a)][_0x317a98(0x17c)](_0x6591bc[_0x317a98(0x386)]))[_0x317a98(0x1bf)](_0x271875(_0x567fd4=>_0x567fd4[_0x317a98(0x313)]()),_0x1eed09(_0x44c531=>!_0x52ebf6(_0x44c531)),_0x5c1d21(this[_0x317a98(0x241)]))[_0x317a98(0x3a8)](_0x3d25ea=>{_0x324842(_0x3d25ea);});}};ot=Qn([Ue(0x0,_0x2a67ea(_0xb9171d)),Ue(0x1,_0x1f2fda),Ue(0x2,_0x5a942e),Ue(0x3,_0x2a67ea(Pe)),Ue(0x4,_0x2a67ea(ve))],ot);var er=Object[_0x5410a2(0x2a3)],tr=(_0x1940b7,_0x21d37d,_0x412c89,_0x25e79a)=>{var _0x429319=_0x5410a2;for(var _0xb5f407=_0x25e79a>0x1?void 0x0:_0x25e79a?er(_0x21d37d,_0x412c89):_0x21d37d,_0x6d6546=_0x1940b7[_0x429319(0x323)]-0x1,_0x5e826d;_0x6d6546>=0x0;_0x6d6546--)(_0x5e826d=_0x1940b7[_0x6d6546])&&(_0xb5f407=_0x5e826d(_0xb5f407)||_0xb5f407);return _0xb5f407;},oi=(_0x570ff8,_0x2ee714)=>(_0x249545,_0x419ba3)=>_0x2ee714(_0x249545,_0x419ba3,_0x570ff8);let bt=class{constructor(_0x2485e7,_0x211088){var _0x29fd88=_0x5410a2;this[_0x29fd88(0x39f)]=_0x2485e7,this['_httpService']=_0x211088;}async['getUnitOnRev'](_0xa9492,_0x48815d){var _0x47a7ff=_0x5410a2,_0x16662b;const {unitID:_0x25202b,type:_0x5d996d,revision:_0x415016=0x0}=_0x48815d,_0x563584=this['getSnapshotAPIPath']()+'/'+_0x5d996d+_0x47a7ff(0x33e)+_0x25202b+_0x47a7ff(0x261)+_0x415016,_0x3c728c=(await this[_0x47a7ff(0x3a7)][_0x47a7ff(0x19f)](_0x563584))['body'],_0x188ca4=(_0x16662b=_0x3c728c[_0x47a7ff(0x2d8)])==null?void 0x0:_0x16662b['workbook'];if(_0x188ca4){const _0x30655f=_0x188ca4==null?void 0x0:_0x188ca4['originalMeta'],_0x8b854=_0x53a6e2[_0x47a7ff(0x382)](_0x1e11c7(_0x30655f));_0x188ca4[_0x47a7ff(0x40d)]=_0x8b854,Object[_0x47a7ff(0x191)](_0x188ca4[_0x47a7ff(0x46e)])[_0x47a7ff(0x20f)](([,_0x2a062b])=>{var _0x44ad15=_0x47a7ff;const _0x28dab5=_0x2a062b[_0x44ad15(0x40d)],_0xef2e4a=_0x53a6e2[_0x44ad15(0x382)](_0x1e11c7(_0x28dab5));_0x2a062b[_0x44ad15(0x40d)]=_0xef2e4a;});}return _0x3c728c;}async[_0x5410a2(0x347)](_0x443dc2,_0x3cdc35){var _0x5d51a5=_0x5410a2;const {unitID:_0x1e6c1c,type:_0x229a2b,blockID:_0x200b6d}=_0x3cdc35,_0x10ece2=this[_0x5d51a5(0x461)]()+'/'+_0x229a2b+_0x5d51a5(0x33e)+_0x1e6c1c+_0x5d51a5(0x1d7)+_0x200b6d;return(await this[_0x5d51a5(0x3a7)][_0x5d51a5(0x19f)](_0x10ece2))[_0x5d51a5(0x26a)];}async['getDeserializedSheetBlock'](_0x329328,_0x1bf6c0){var _0x3555aa=_0x5410a2;const {unitID:_0x404129,type:_0x278ecd,blockID:_0x5c780f}=_0x1bf6c0,_0x1a0d4e=this[_0x3555aa(0x461)]()+_0x3555aa(0x1d7)+_0x278ecd+_0x3555aa(0x33e)+_0x404129+_0x3555aa(0x1d7)+_0x5c780f;return(await this[_0x3555aa(0x3a7)][_0x3555aa(0x19f)](_0x1a0d4e))[_0x3555aa(0x26a)];}async[_0x5410a2(0x2a9)](_0x504710,_0x2dc5ca){var _0x523d89=_0x5410a2;const {unitID:_0x4fd581,type:_0x55aa29,from:_0x363137,to:_0x4215ed}=_0x2dc5ca,_0x1d897e=this[_0x523d89(0x461)]()+'/'+_0x55aa29+'/unit/'+_0x4fd581+'/fetchmissing?from='+_0x363137+_0x523d89(0x1b4)+_0x4215ed;return(await this[_0x523d89(0x3a7)]['get'](_0x1d897e))['body'];}[_0x5410a2(0x2ec)](){var _0x5cb238=_0x5410a2,_0xa34b48;return(_0xa34b48=this[_0x5cb238(0x39f)]['getConfig'](vs))!=null?_0xa34b48:this['_getAPIPrefix']();}[_0x5410a2(0x461)](){var _0x2d5798=_0x5410a2,_0x2a324a;const _0x2cf43a=this[_0x2d5798(0x39f)]['getConfig'](K);return(_0x2a324a=_0x2cf43a==null?void 0x0:_0x2cf43a[_0x2d5798(0x1c3)])!=null?_0x2a324a:fs;}async['getResourcesRequest'](_0x268955,_0x283f6e){var _0x17ba53=_0x5410a2;const _0x72022e=_0x17ba53(0x41b)+_0x283f6e[_0x17ba53(0x1a8)]+_0x17ba53(0x33e)+_0x283f6e[_0x17ba53(0x19c)]+_0x17ba53(0x1c1);return(await this['_httpService'][_0x17ba53(0x19f)](_0x72022e,{'params':{'resourceId':JSON[_0x17ba53(0x45b)](_0x283f6e[_0x17ba53(0x3e5)])}}))[_0x17ba53(0x26a)];}['saveSnapshot'](){var _0x5cd396=_0x5410a2;throw new Error(_0x5cd396(0x27b));}[_0x5410a2(0x1c5)](){var _0x406428=_0x5410a2;throw new Error(_0x406428(0x27b));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5410a2(0x233)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x5cf997=_0x5410a2;throw new Error(_0x5cf997(0x27b));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x54dc50),oi(0x1,_0x2a67ea(_0x4adef9))],bt);var ir=Object[_0x5410a2(0x2a3)],sr=(_0x471d10,_0x43508c,_0x12b3f1,_0x1d07b2)=>{var _0x622b51=_0x5410a2;for(var _0x27f64f=_0x1d07b2>0x1?void 0x0:_0x1d07b2?ir(_0x43508c,_0x12b3f1):_0x43508c,_0x44dff7=_0x471d10[_0x622b51(0x323)]-0x1,_0x14f51c;_0x44dff7>=0x0;_0x44dff7--)(_0x14f51c=_0x471d10[_0x44dff7])&&(_0x27f64f=_0x14f51c(_0x27f64f)||_0x27f64f);return _0x27f64f;},Ae=(_0x3565a2,_0x357edb)=>(_0x6e89d3,_0x12387b)=>_0x357edb(_0x6e89d3,_0x12387b,_0x3565a2);let yt=class extends _0x2681bb{constructor(_0x5985c3,_0x3df8db,_0x596d8f,_0xbaa657,_0x29d4d8){var _0x2ff63d=_0x5410a2;super(_0x5985c3,_0x3df8db,_0x596d8f),this[_0x2ff63d(0x249)]=_0xbaa657,this[_0x2ff63d(0x352)]=_0x29d4d8;}[_0x5410a2(0x221)](_0x5b65bb,_0x531979){var _0x2d24e5=_0x5410a2;const _0x1fdee1=this[_0x2d24e5(0x1d0)](_0x5b65bb);if(_0x1fdee1)try{const _0x54e387=this['_transformStack'](_0x1fdee1,_0x531979);this[_0x2d24e5(0x282)](_0x5b65bb,_0x54e387);}catch(_0x47322d){this[_0x2d24e5(0x352)][_0x2d24e5(0x1ff)](_0x2d24e5(0x43e),_0x47322d),this['_clearUndo'](_0x5b65bb);}const _0x38d8bd=this[_0x2d24e5(0x276)](_0x5b65bb);if(_0x38d8bd)try{const _0x1e57a8=this[_0x2d24e5(0x2b9)](_0x38d8bd,_0x531979);this['_substituteRedoStack'](_0x5b65bb,_0x1e57a8);}catch(_0x1ddcf4){this['_logService'][_0x2d24e5(0x1ff)](_0x1ddcf4),this['_clearRedo'](_0x5b65bb);}}[_0x5410a2(0x465)](_0x4e9392){var _0x43414c=_0x5410a2;const _0x41b5f4=this[_0x43414c(0x1d0)](_0x4e9392);_0x41b5f4&&(_0x41b5f4['length']=0x0,this['_updateStatus']());}[_0x5410a2(0x316)](_0x50a596){var _0x184cf8=_0x5410a2;const _0x1c2618=this[_0x184cf8(0x276)](_0x50a596);_0x1c2618&&(_0x1c2618[_0x184cf8(0x323)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x14f641,_0x438418){var _0x50de1f=_0x5410a2;this['_undoStacks'][_0x50de1f(0x1b2)](_0x14f641,_0x438418),this[_0x50de1f(0x209)]();}[_0x5410a2(0x33b)](_0x22d22c,_0x497bd9){var _0x183f3a=_0x5410a2;this['_redoStacks'][_0x183f3a(0x1b2)](_0x22d22c,_0x497bd9),this[_0x183f3a(0x209)]();}['_transformStack'](_0x50450b,_0x2afcd4){var _0x1f420c=_0x5410a2;const _0x1c3023=[];let _0x317116=_0x2afcd4,_0x2abe1f=_0x2afcd4;for(let _0x1460ff=_0x50450b[_0x1f420c(0x323)]-0x1;_0x1460ff>=0x0;_0x1460ff--){const {unitID:_0xf11f9b,undoMutations:_0x5ef29f,redoMutations:_0x522375}=_0x50450b[_0x1460ff],_0x1aee79=this[_0x1f420c(0x249)][_0x1f420c(0x1af)](_0x317116,_0x5ef29f),_0xf3a895=this[_0x1f420c(0x249)][_0x1f420c(0x1af)](_0x2abe1f,_0x522375);if(_0x5a9458(_0x1aee79)||_0x5a9458(_0xf3a895)){this[_0x1f420c(0x352)][_0x1f420c(0x1ff)](_0x1f420c(0x43e),_0x1f420c(0x3fb),_0x1aee79,_0xf3a895);break;}_0x317116=_0x1aee79[_0x1f420c(0x207)],_0x2abe1f=_0xf3a895[_0x1f420c(0x207)],_0x1c3023['push']({'unitID':_0xf11f9b,'undoMutations':_0x1aee79['m2Prime'],'redoMutations':_0xf3a895[_0x1f420c(0x31f)]});}return _0x1c3023[_0x1f420c(0x297)]();}};yt=sr([Ae(0x0,_0x1f2fda),Ae(0x1,_0x51e75f),Ae(0x2,_0x808715),Ae(0x3,_0x66570c),Ae(0x4,_0x3229e5)],yt);var nr=Object[_0x5410a2(0x226)],rr=Object[_0x5410a2(0x2a3)],ar=(_0x178819,_0x11e699,_0x400749)=>_0x11e699 in _0x178819?nr(_0x178819,_0x11e699,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x400749}):_0x178819[_0x11e699]=_0x400749,or=(_0xaf0bf2,_0x5f012c,_0x102d95,_0x2977e4)=>{for(var _0x3134ba=_0x2977e4>0x1?void 0x0:_0x2977e4?rr(_0x5f012c,_0x102d95):_0x5f012c,_0x36cdf1=_0xaf0bf2['length']-0x1,_0x1d5048;_0x36cdf1>=0x0;_0x36cdf1--)(_0x1d5048=_0xaf0bf2[_0x36cdf1])&&(_0x3134ba=_0x1d5048(_0x3134ba)||_0x3134ba);return _0x3134ba;},mt=(_0xca0ab4,_0x1e8423)=>(_0x583292,_0xedf92b)=>_0x1e8423(_0x583292,_0xedf92b,_0xca0ab4),cr=(_0x3dc2ba,_0x206101,_0x246cc9)=>ar(_0x3dc2ba,_0x206101+'',_0x246cc9);const hr=_0x5410a2(0x2ab);let Nt=class extends _0x1808a6{constructor(_0x123fb4,_0x407f13,_0xa2a80,_0x11eb1f){var _0x24dfde=_0x5410a2;super(),N(this,_0x24dfde(0x456)),(this[_0x24dfde(0x352)]=_0x407f13,this['_injector']=_0xa2a80,this[_0x24dfde(0x39f)]=_0x11eb1f);const {..._0x561299}=_0xb87e1b({},Ls,_0x123fb4);if(!_0x561299[_0x24dfde(0x28c)])throw new Error(_0x24dfde(0x212));this['_config']=_0x561299,this[_0x24dfde(0x39f)][_0x24dfde(0x1e2)](K,_0x561299);}['onStarting'](){var _0x4a7a47=_0x5410a2;this[_0x4a7a47(0x305)](),this[_0x4a7a47(0x3c1)]();}[_0x5410a2(0x305)](){var _0x2ae452=_0x5410a2,_0x24f2c6,_0x1f1939;this[_0x2ae452(0x3c3)][_0x2ae452(0x290)](_0x384b35)&&this['_logService'][_0x2ae452(0x1ff)](_0x2ae452(0x3ae),_0x2ae452(0x3a4));const _0x15cf71=_0x400c6f([[_0x384b35,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config']['socketService']}],[_0x781d63,{'useClass':bt}],[_0x2e929d,{'useClass':Tt}],[_0x126bd0,{'useClass':Rt}],[_0x554ac2,{'useClass':Ot}],[nt],[It]],(_0x24f2c6=this['_config'])==null?void 0x0:_0x24f2c6[_0x2ae452(0x304)]);if(!((_0x1f1939=this[_0x2ae452(0x456)])!=null&&_0x1f1939['enableSingleActiveInstanceLock'])){const _0x52cbf0=_0x15cf71['findIndex'](([_0x1ad0fe])=>_0x1ad0fe===ht);_0x52cbf0!==-0x1&&_0x15cf71[_0x2ae452(0x1e6)](_0x52cbf0,0x1);}_0x5a059c(this[_0x2ae452(0x3c3)],_0x15cf71);}[_0x5410a2(0x3c1)](){var _0x448271=_0x5410a2,_0x2e3253,_0x369741,_0x10eb60;this['_injector'][_0x448271(0x19f)](_0x4adef9)[_0x448271(0x470)]({'priority':0x14,'interceptor':_0x2b1539({'maxParallel':0x6})}),(_0x2e3253=this[_0x448271(0x456)])!=null&&_0x2e3253[_0x448271(0x2e1)]||(_0x369741=this[_0x448271(0x3c3)][_0x448271(0x19f)](J,_0x1b3167[_0x448271(0x3b0)]))==null||_0x369741['disableLocalCache'](),(_0x10eb60=this[_0x448271(0x456)])!=null&&_0x10eb60[_0x448271(0x3bc)]&&_0x2fc19d(this['_injector'],[[rt]]),_0x2fc19d(this[_0x448271(0x3c3)],[[at],[nt],[ot]]);}};cr(Nt,'pluginName',hr),Nt=or([_0x367f7b(_0x229b71,_0x531c34),mt(0x1,_0x3229e5),mt(0x2,_0x2a67ea(_0xb9171d)),mt(0x3,_0x54dc50)],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};
|