@univerjs-pro/collaboration-client 0.9.3-nightly.202507250819 → 0.9.4
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 +10 -10
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x5a522f=_0x116b;(function(_0x4bdd7f,_0x2980aa){var _0x17ec4f=_0x116b,_0x4d4b11=_0x4bdd7f();while(!![]){try{var _0x17e3b7=parseInt(_0x17ec4f(0x355))/0x1*(-parseInt(_0x17ec4f(0xee))/0x2)+-parseInt(_0x17ec4f(0x373))/0x3+-parseInt(_0x17ec4f(0x2fa))/0x4+-parseInt(_0x17ec4f(0x334))/0x5+parseInt(_0x17ec4f(0x19c))/0x6+-parseInt(_0x17ec4f(0x18a))/0x7*(-parseInt(_0x17ec4f(0x23f))/0x8)+parseInt(_0x17ec4f(0x2bd))/0x9;if(_0x17e3b7===_0x2980aa)break;else _0x4d4b11['push'](_0x4d4b11['shift']());}catch(_0x55586c){_0x4d4b11['push'](_0x4d4b11['shift']());}}}(_0x4f6f,0x6baa8));var yi=Object['defineProperty'],Ni=(_0xce2b34,_0x379f0b,_0x2ac277)=>_0x379f0b in _0xce2b34?yi(_0xce2b34,_0x379f0b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ac277}):_0xce2b34[_0x379f0b]=_0x2ac277,N=(_0x152647,_0x41416f,_0x4da575)=>Ni(_0x152647,typeof _0x41416f!=_0x5a522f(0x3a0)?_0x41416f+'':_0x41416f,_0x4da575);import{createIdentifier as _0x18462b,Inject as _0x164bb8,Injector as _0x2db769,IConfigService as _0x53b96a,ILogService as _0x572343,Disposable as _0x16bcbc,DisposableCollection as _0x4b79d9,toDisposable as _0x4562c4,IUniverInstanceService as _0x5292c6,UserManagerService as _0x3ffcb1,UniverInstanceType as _0x2f9604,LocaleService as _0x3d4cd0,Optional as _0x473dd6,RxDisposable as _0x5a28f2,Tools as _0x14c96b,Rectangle as _0x4dd118,ICommandService as _0x40a05c,JSONX as _0x4005a0,CommandType as _0x392d52,IUndoRedoService as _0x562d82,IPermissionService as _0x39bc67,sequenceExecute as _0x5de253,Workbook as _0x1ef9e2,generateRandomId as _0x2b7747,MentionType as _0x5214dd,isInternalEditorID as _0x332ab4,LocalUndoRedoService as _0x3cb576,IContextService as _0x2c7759,DependentOn as _0x4eee02,Plugin as _0x54ac7b,merge as _0x431704,mergeOverrideWithDependencies as _0x56db96,IAuthzIoService as _0x52d5c7,IMentionIOService as _0x1674cd,registerDependencies as _0x385b74,Quantity as _0x1cb6cd,touchDependencies as _0x4bcbde}from'@univerjs/core';import{Subject as _0x4e2f51,merge as _0x3fc90a,of as _0x328e42,BehaviorSubject as _0x116154,takeUntil as _0x41c137,ReplaySubject as _0x5a98cf,take as _0x3fe6f1,map as _0x521afd,shareReplay as _0x1b0ee7,firstValueFrom as _0x21a135,concatMap as _0x12277d}from'rxjs';import{map as _0x1ea422,take as _0x5d2d32,filter as _0x5ed154,delay as _0x4c98dd,takeUntil as _0x9fd5b0}from'rxjs/operators';import{CollaborationEvent as _0x3cc942,ISnapshotServerService as _0x3a5f61,parseChangesetToProtocol as _0x4443f8,ITransformService as _0xbfdaf7,isTransformMutationsWithChangesetSuccess as _0x158240,mapDocumentTypeToUniverType as _0xaff69,RevisionService as _0xf44fc1,isTransformChangesetsSuccess as _0x2ae8a0,CompressMutationService as _0x3aaaf3,parseProtocolChangeset as _0x4ae656,uuidv4 as _0x56b8bf,SnapshotService as _0x3bf285,textEncoder as _0x2dd96e,b64DecodeUnicode as _0x47a933,isTransformMutationsWithChangesetFailure as _0xa0180b,UniverCollaborationPlugin as _0x4978b4}from'@univerjs-pro/collaboration';import{HTTPService as _0x2cbb4d,ISocketService as _0x107985,MergeInterceptorFactory as _0x4aec1d,HTTPRequest as _0x30121e,UniverNetworkPlugin as _0x313601,ThresholdInterceptorFactory as _0xa45fd8}from'@univerjs/network';import{ITelemetryService as _0x13054b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4d90e7}from'@univerjs/docs';import{SheetsSelectionsService as _0x3449da,SetSelectionsOperation as _0x214b7b,InsertSheetMutation as _0x49ff9f,EmptyMutation as _0xa51748,WorkbookEditablePermission as _0x13591c,SheetPermissionInitController as _0x45cdb3}from'@univerjs/sheets';import{ImageSourceType as _0x270e10,ImageUploadStatusType as _0x124ceb,IImageIoService as _0x482b31}from'@univerjs/drawing';import{getGlobalObject as _0x598159}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x5a522f(0x14e),Ir=_0x5a522f(0x1e6),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0x5a522f(0x186),Ts=0x3,Tr=_0x5a522f(0xc4),Cr=0x3e8,Cs=_0x5a522f(0x274),Rs=_0x5a522f(0x37d),Rr=_0x5a522f(0x276),Or=_0x5a522f(0x1ae);var vi=(_0x51558c=>(_0x51558c[_0x51558c[_0x5a522f(0x350)]=0x0]=_0x5a522f(0x350),_0x51558c[_0x51558c['OK']=0x1]='OK',_0x51558c[_0x51558c[_0x5a522f(0x152)]=0x2]=_0x5a522f(0x152),_0x51558c[_0x51558c[_0x5a522f(0xc7)]=0x3]=_0x5a522f(0xc7),_0x51558c[_0x51558c[_0x5a522f(0x21f)]=0x4]='NOT_FOUND',_0x51558c[_0x51558c[_0x5a522f(0x197)]=0x5]=_0x5a522f(0x197),_0x51558c[_0x51558c[_0x5a522f(0x28d)]=0x6]=_0x5a522f(0x28d),_0x51558c[_0x51558c['INVALID_ARGUMENT']=0x7]=_0x5a522f(0x344),_0x51558c[_0x51558c[_0x5a522f(0x166)]=0x8]=_0x5a522f(0x166),_0x51558c[_0x51558c[_0x5a522f(0x13a)]=0x9]=_0x5a522f(0x13a),_0x51558c[_0x51558c[_0x5a522f(0x20d)]=0xa]=_0x5a522f(0x20d),_0x51558c[_0x51558c[_0x5a522f(0x1f2)]=0xb]=_0x5a522f(0x1f2),_0x51558c[_0x51558c[_0x5a522f(0x3ba)]=0xc]=_0x5a522f(0x3ba),_0x51558c[_0x51558c[_0x5a522f(0x390)]=0xd]=_0x5a522f(0x390),_0x51558c[_0x51558c[_0x5a522f(0x249)]=0xe]=_0x5a522f(0x249),_0x51558c[_0x51558c[_0x5a522f(0x128)]=0x1389]=_0x5a522f(0x128),_0x51558c[_0x51558c[_0x5a522f(0x147)]=0x1771]=_0x5a522f(0x147),_0x51558c[_0x51558c[_0x5a522f(0x360)]=0x1772]=_0x5a522f(0x360),_0x51558c[_0x51558c[_0x5a522f(0x248)]=0x1773]=_0x5a522f(0x248),_0x51558c[_0x51558c[_0x5a522f(0xfb)]=0x1b59]=_0x5a522f(0xfb),_0x51558c[_0x51558c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x51558c[_0x51558c['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x51558c[_0x51558c[_0x5a522f(0x224)]=0x1b5c]=_0x5a522f(0x224),_0x51558c[_0x51558c[_0x5a522f(0xfc)]=0x1b5d]=_0x5a522f(0xfc),_0x51558c[_0x51558c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x51558c[_0x51558c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5a522f(0x239),_0x51558c[_0x51558c[_0x5a522f(0x153)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x51558c[_0x51558c[_0x5a522f(0x12c)]=0x232b]=_0x5a522f(0x12c),_0x51558c[_0x51558c[_0x5a522f(0x156)]=0x232c]=_0x5a522f(0x156),_0x51558c[_0x51558c[_0x5a522f(0x392)]=0x232d]=_0x5a522f(0x392),_0x51558c[_0x51558c[_0x5a522f(0x1de)]=0x2711]=_0x5a522f(0x1de),_0x51558c[_0x51558c[_0x5a522f(0x174)]=0x2712]=_0x5a522f(0x174),_0x51558c[_0x51558c[_0x5a522f(0x2cb)]=0x2713]=_0x5a522f(0x2cb),_0x51558c[_0x51558c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5a522f(0x113),_0x51558c[_0x51558c[_0x5a522f(0x255)]=0x271a]=_0x5a522f(0x255),_0x51558c[_0x51558c['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5a522f(0xe7),_0x51558c[_0x51558c[_0x5a522f(0x1c1)]=0x271c]=_0x5a522f(0x1c1),_0x51558c[_0x51558c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x5a522f(0x297),_0x51558c[_0x51558c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x51558c[_0x51558c[_0x5a522f(0x363)]=0x271f]=_0x5a522f(0x363),_0x51558c[_0x51558c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5a522f(0x1d7),_0x51558c[_0x51558c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5a522f(0x2af),_0x51558c[_0x51558c[_0x5a522f(0x136)]=0x2ee1]=_0x5a522f(0x136),_0x51558c[_0x51558c[_0x5a522f(0x1b8)]=0x2ee2]=_0x5a522f(0x1b8),_0x51558c[_0x51558c[_0x5a522f(0x27c)]=0x2ee3]=_0x5a522f(0x27c),_0x51558c[_0x51558c[_0x5a522f(0x347)]=0x2ee4]=_0x5a522f(0x347),_0x51558c[_0x51558c[_0x5a522f(0x1fe)]=0x2ee5]=_0x5a522f(0x1fe),_0x51558c[_0x51558c[_0x5a522f(0x1d6)]=0x32c9]=_0x5a522f(0x1d6),_0x51558c[_0x51558c[_0x5a522f(0x1f5)]=0x32ca]=_0x5a522f(0x1f5),_0x51558c[_0x51558c[_0x5a522f(0x170)]=0x32cb]=_0x5a522f(0x170),_0x51558c[_0x51558c[_0x5a522f(0x11f)]=-0x1]=_0x5a522f(0x11f),_0x51558c))(vi||{}),Z=(_0x3d807b=>(_0x3d807b[_0x3d807b['UNIVER_UNKNOWN']=0x0]=_0x5a522f(0x321),_0x3d807b[_0x3d807b[_0x5a522f(0x3be)]=0x1]=_0x5a522f(0x3be),_0x3d807b[_0x3d807b[_0x5a522f(0x1ee)]=0x2]=_0x5a522f(0x1ee),_0x3d807b[_0x3d807b['UNIVER_SLIDE']=0x3]=_0x5a522f(0x3ae),_0x3d807b[_0x3d807b[_0x5a522f(0x383)]=0x4]=_0x5a522f(0x383),_0x3d807b[_0x3d807b[_0x5a522f(0x11f)]=-0x1]=_0x5a522f(0x11f),_0x3d807b))(Z||{}),F=(_0xaea224=>(_0xaea224[_0xaea224[_0x5a522f(0x16b)]=0x0]=_0x5a522f(0x16b),_0xaea224[_0xaea224[_0x5a522f(0x384)]=0x1]='HELLO',_0xaea224[_0xaea224[_0x5a522f(0x1e0)]=0x2]=_0x5a522f(0x1e0),_0xaea224[_0xaea224['LEAVE']=0x3]='LEAVE',_0xaea224[_0xaea224[_0x5a522f(0xd6)]=0x4]=_0x5a522f(0xd6),_0xaea224[_0xaea224[_0x5a522f(0x15e)]=0x5]=_0x5a522f(0x15e),_0xaea224[_0xaea224[_0x5a522f(0x2b0)]=0x6]='RECV',_0xaea224[_0xaea224[_0x5a522f(0x11f)]=-0x1]=_0x5a522f(0x11f),_0xaea224))(F||{}),me=(_0x26a932=>(_0x26a932[_0x26a932[_0x5a522f(0x261)]=0x0]=_0x5a522f(0x261),_0x26a932[_0x26a932['OK']=0x1]='OK',_0x26a932[_0x26a932[_0x5a522f(0x23a)]=0x2]=_0x5a522f(0x23a),_0x26a932[_0x26a932['JOIN_ROOM_FULL']=0x3e9]=_0x5a522f(0xea),_0x26a932[_0x26a932[_0x5a522f(0x1a2)]=0x3ea]=_0x5a522f(0x1a2),_0x26a932[_0x26a932[_0x5a522f(0x34f)]=0x3eb]=_0x5a522f(0x34f),_0x26a932[_0x26a932['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x5a522f(0xc5),_0x26a932[_0x26a932[_0x5a522f(0x11f)]=-0x1]=_0x5a522f(0x11f),_0x26a932))(me||{}),pi=(_0x253f1e=>(_0x253f1e[_0x253f1e[_0x5a522f(0x16d)]=0x0]=_0x5a522f(0x16d),_0x253f1e[_0x253f1e[_0x5a522f(0x37a)]=0x1]='HttpImport',_0x253f1e[_0x253f1e[_0x5a522f(0x272)]=0x2]=_0x5a522f(0x272),_0x253f1e[_0x253f1e[_0x5a522f(0x31d)]=0x3]=_0x5a522f(0x31d),_0x253f1e[_0x253f1e[_0x5a522f(0x2ab)]=0x4]=_0x5a522f(0x2ab),_0x253f1e[_0x253f1e[_0x5a522f(0x1e3)]=0x5]=_0x5a522f(0x1e3),_0x253f1e[_0x253f1e[_0x5a522f(0x11f)]=-0x1]=_0x5a522f(0x11f),_0x253f1e))(pi||{});const K=_0x5a522f(0x27d),Os={};var ne=(_0x3871b1=>(_0x3871b1[_0x5a522f(0x194)]=_0x5a522f(0x194),_0x3871b1[_0x5a522f(0xc7)]=_0x5a522f(0xc7),_0x3871b1[_0x5a522f(0x2ef)]=_0x5a522f(0x2ef),_0x3871b1[_0x5a522f(0x28a)]='CLOSE_ROOM',_0x3871b1[_0x5a522f(0x27e)]='JOIN_ROOM_FAILED',_0x3871b1[_0x5a522f(0x2d3)]=_0x5a522f(0x2d3),_0x3871b1[_0x5a522f(0xc8)]=_0x5a522f(0xc8),_0x3871b1[_0x5a522f(0x389)]=_0x5a522f(0x389),_0x3871b1))(ne||{});class ve{constructor(){var _0xc66f24=_0x5a522f;N(this,'_event$',new _0x4e2f51()),N(this,_0xc66f24(0x2d7),this[_0xc66f24(0x375)][_0xc66f24(0x118)]());}[_0x5a522f(0x27f)](_0x3002e1){var _0x761476=_0x5a522f;this[_0x761476(0x375)][_0x761476(0x11a)](_0x3002e1);}}const bs=_0x18462b('univer-pro.collaboration-client.network-condition.service');function ys(_0x12630b){var _0x262eef=_0x5a522f,_0x4c9674,_0x2a7a99,_0x2b9817,_0x14477d,_0x5b6fee;const _0x2dfa8d=_0x12630b[_0x262eef(0x314)],_0x4423e2=JSON['parse'](_0x2dfa8d);switch(_0x4423e2['cmd']){case F['HEARTBEAT']:case F[_0x262eef(0x384)]:{const _0x249364=_0x4423e2[_0x262eef(0x1a3)];return{..._0x4423e2,'data':_0x249364,'cmd':_0x4423e2[_0x262eef(0x179)]};}case F[_0x262eef(0x1e0)]:{const _0x183299=_0x4423e2[_0x262eef(0x243)];return{..._0x4423e2,'data':_0x183299,'cmd':_0x4423e2['cmd']};}case F[_0x262eef(0x2b0)]:{const _0x481430=_0x4423e2['collaMsg'];switch(_0x481430['eventID']){case _0x3cc942[_0x262eef(0x359)]:return{..._0x4423e2,'data':{..._0x481430,'data':(_0x4c9674=_0x481430[_0x262eef(0x1f8)])==null?void 0x0:_0x4c9674['cs']},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x250)]:return{..._0x4423e2,'data':{..._0x481430,'data':(_0x2a7a99=_0x481430[_0x262eef(0x275)])==null?void 0x0:_0x2a7a99['cs']},'cmd':_0x4423e2['cmd']};case _0x3cc942[_0x262eef(0x296)]:return{..._0x4423e2,'data':{..._0x481430,'data':(_0x2b9817=_0x481430['newCsEvent'])==null?void 0x0:_0x2b9817['cs']},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x20c)]:return{..._0x4423e2,'data':{..._0x481430,'data':(_0x14477d=_0x481430[_0x262eef(0x24e)])==null?void 0x0:_0x14477d['cs']},'cmd':_0x4423e2['cmd']};case _0x3cc942[_0x262eef(0xe8)]:return{..._0x4423e2,'data':{..._0x481430,'data':(_0x5b6fee=_0x481430[_0x262eef(0x35c)])==null?void 0x0:_0x5b6fee['cs']},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x126)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430[_0x262eef(0x115)]},'cmd':_0x4423e2['cmd']};case _0x3cc942[_0x262eef(0x267)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430[_0x262eef(0x33a)]},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x2a0)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430[_0x262eef(0x280)]},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x227)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430[_0x262eef(0xd7)]},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x107)]:case _0x3cc942['LIVESHARE_OPERATION']:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430[_0x262eef(0x1d8)]},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942['LIVESHARE_TERMINATE']:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430[_0x262eef(0xd7)]},'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942['MSG_FOR_ERROR']:return{..._0x4423e2,'data':_0x481430,'cmd':_0x4423e2[_0x262eef(0x179)]};case _0x3cc942[_0x262eef(0x244)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430['commentUpdateEvent']},'cmd':_0x4423e2['cmd']};case _0x3cc942[_0x262eef(0x135)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430['updatePermissionObjEvent']},'cmd':_0x4423e2['cmd']};case _0x3cc942[_0x262eef(0x302)]:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430['shouldCloseConn']},'cmd':_0x4423e2['cmd']};case _0x3cc942['UNISCRIPT_RUN']:return{..._0x4423e2,'data':{..._0x481430,'data':_0x481430['uniscriptRunEvent']},'cmd':_0x4423e2[_0x262eef(0x179)]};default:return _0x4423e2;}}default:return _0x4423e2;}}function Ns(_0x27bdef){var _0x3a00f3=_0x5a522f;switch(_0x27bdef[_0x3a00f3(0x179)]){case F['HEARTBEAT']:case F[_0x3a00f3(0x384)]:return JSON[_0x3a00f3(0x1ec)]({'cmd':_0x27bdef[_0x3a00f3(0x179)],'routeKey':_0x27bdef[_0x3a00f3(0x145)]});case F[_0x3a00f3(0xd6)]:{let _0x574e;switch(_0x27bdef[_0x3a00f3(0x314)][_0x3a00f3(0x2c3)]){case _0x3cc942[_0x3a00f3(0x126)]:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x126)],'updateCursorEvent':_0x27bdef['data'][_0x3a00f3(0x314)]};break;}case _0x3cc942[_0x3a00f3(0x2a0)]:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x2a0)],'leaveEvent':_0x27bdef[_0x3a00f3(0x314)][_0x3a00f3(0x314)]};break;}case _0x3cc942['USERS_ENTER']:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x267)],'joinEvent':_0x27bdef[_0x3a00f3(0x314)]['data']};break;}case _0x3cc942[_0x3a00f3(0x227)]:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x227)],'liveShareNewHost':_0x27bdef[_0x3a00f3(0x314)][_0x3a00f3(0x314)]};break;}case _0x3cc942[_0x3a00f3(0x177)]:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x177)],'liveShareOperation':_0x27bdef[_0x3a00f3(0x314)]['data']};break;}case _0x3cc942[_0x3a00f3(0x3a2)]:{_0x574e={'eventID':_0x3cc942['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x27bdef[_0x3a00f3(0x314)]['data']};break;}case _0x3cc942['LIVESHARE_REQUEST_HOST']:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x29d)],'liveShareRequestHost':_0x27bdef[_0x3a00f3(0x314)][_0x3a00f3(0x314)]};break;}case _0x3cc942[_0x3a00f3(0x107)]:{_0x574e={'eventID':_0x3cc942[_0x3a00f3(0x107)]};break;}default:_0x574e={'eventID':_0x27bdef['data'][_0x3a00f3(0x2c3)]};}return JSON['stringify']({'cmd':_0x27bdef[_0x3a00f3(0x179)],'routeKey':_0x27bdef[_0x3a00f3(0x145)],'collaMsg':_0x574e});}case F[_0x3a00f3(0x1e0)]:return JSON[_0x3a00f3(0x1ec)]({'cmd':_0x27bdef['cmd'],'routeKey':_0x27bdef[_0x3a00f3(0x145)],'joinReq':_0x27bdef[_0x3a00f3(0x314)]});case F[_0x3a00f3(0x3a4)]:return JSON[_0x3a00f3(0x1ec)]({'cmd':_0x27bdef['cmd'],'routeKey':_0x27bdef[_0x3a00f3(0x145)],'leaveReq':_0x27bdef[_0x3a00f3(0x314)]});default:throw new Error(_0x3a00f3(0x34e));}}var Ds=Object[_0x5a522f(0x180)],Us=(_0x2b8a56,_0x26460f,_0x25c098,_0x599168)=>{var _0x178f26=_0x5a522f;for(var _0x4d067e=_0x599168>0x1?void 0x0:_0x599168?Ds(_0x26460f,_0x25c098):_0x26460f,_0x1fd190=_0x2b8a56[_0x178f26(0x240)]-0x1,_0x686ccb;_0x1fd190>=0x0;_0x1fd190--)(_0x686ccb=_0x2b8a56[_0x1fd190])&&(_0x4d067e=_0x686ccb(_0x4d067e)||_0x4d067e);return _0x4d067e;},Ue=(_0x16a6fb,_0x2b4cbf)=>(_0x4084b9,_0x256ac5)=>_0x2b4cbf(_0x4084b9,_0x256ac5,_0x16a6fb);const mi=_0x18462b(_0x5a522f(0x1f3));function As(_0x3c4570,_0x3cc41b,_0x3bf8ed){var _0x3934f1=_0x5a522f;return _0x3c4570+'/'+_0x3cc41b+_0x3934f1(0x2bc)+_0x3bf8ed+_0x3934f1(0x26c);}let Ft=class extends _0x16bcbc{constructor(_0x1142a4,_0x417e9e,_0x18560d,_0x3d3b13,_0x1baf8d){var _0x4afd4e=_0x5a522f;super(),this[_0x4afd4e(0x29a)]=_0x1142a4,this['_httpService']=_0x417e9e,this[_0x4afd4e(0x37c)]=_0x18560d,this[_0x4afd4e(0x395)]=_0x3d3b13,this['_snapshotServerService']=_0x1baf8d;}[_0x5a522f(0x155)](_0x23ed7d){var _0xc30d77=_0x5a522f;const _0x2a5bea=this[_0xc30d77(0x29a)][_0xc30d77(0x2fc)](_0x107985);if(!_0x2a5bea)throw new Error(_0xc30d77(0x3b0));const _0xaf6453=_0x2a5bea['createSocket'](_0x23ed7d);if(!_0xaf6453)throw new Error(_0xc30d77(0x229));const _0x164882=new _0x4b79d9(),_0x9f2144=new _0x4e2f51();_0x164882['add'](_0xaf6453['close$']['subscribe'](_0x5e6745=>_0x9f2144[_0xc30d77(0x11a)](_0x5e6745))),_0x164882[_0xc30d77(0x22b)](_0x4562c4(()=>_0x9f2144['complete']()));const _0x36a83a=new _0x4e2f51();_0x164882[_0xc30d77(0x22b)](_0xaf6453[_0xc30d77(0x281)][_0xc30d77(0x17f)](_0x2c7531=>_0x36a83a[_0xc30d77(0x11a)](_0x2c7531))),_0x164882[_0xc30d77(0x22b)](_0x4562c4(()=>_0x36a83a[_0xc30d77(0x28e)]()));const _0x43ce9f=new _0x4e2f51();_0x164882['add'](_0xaf6453[_0xc30d77(0x2a8)]['subscribe'](_0x18af18=>{var _0x32abd1=_0xc30d77;const _0x254062=ys(_0x18af18);_0x43ce9f[_0x32abd1(0x11a)](_0x254062);})),_0x164882[_0xc30d77(0x22b)](_0x4562c4(()=>_0x43ce9f[_0xc30d77(0x28e)]()));let _0x563bfa;const _0x3934ab=()=>{var _0x230642=_0xc30d77;_0x36a83a[_0x230642(0x11a)](new Event('connection\x20error')),_0x9f2144[_0x230642(0x11a)](new Event(_0x230642(0x1da))),_0x563bfa[_0x230642(0x39e)]();};return _0x563bfa={'memberID':'','close$':_0x9f2144[_0xc30d77(0x118)](),'error$':_0x36a83a[_0xc30d77(0x118)](),'open$':_0xaf6453[_0xc30d77(0x3aa)],'message$':_0x43ce9f[_0xc30d77(0x118)](),'send':_0x2245fa=>{var _0x13712c=_0xc30d77;if(_0x2245fa[_0x13712c(0x179)]===F['INGEST']){if(_0x2245fa[_0x13712c(0x314)][_0x13712c(0x2c3)]===_0x3cc942[_0x13712c(0x341)]){this['_submitChangeset'](_0x563bfa,_0x2245fa[_0x13712c(0x314)])[_0x13712c(0x2d5)](_0x35b8b1=>{var _0x15eab4=_0x13712c;this[_0x15eab4(0x395)]['error'](_0x35b8b1),_0x3934ab();});return;}if(_0x2245fa['data'][_0x13712c(0x2c3)]===_0x3cc942[_0x13712c(0x165)]){const _0x4afe51=_0x2245fa[_0x13712c(0x314)];this[_0x13712c(0x29b)](_0x4afe51)[_0x13712c(0x12b)](_0x520522=>{var _0x2487d2=_0x13712c;_0x43ce9f['next']({'cmd':F[_0x2487d2(0x2b0)],'code':me['OK'],'routeKey':_0x4afe51['data'][_0x2487d2(0x1ff)],'routeType':'','data':{'eventID':_0x3cc942[_0x2487d2(0x258)],'data':{'changesets':_0x520522}}});})[_0x13712c(0x2d5)](_0x423911=>{var _0x268e2c=_0x13712c;this[_0x268e2c(0x395)][_0x268e2c(0xec)](_0x423911),_0x3934ab();});return;}}_0xaf6453[_0x13712c(0x219)](Ns(_0x2245fa));},'close':()=>{var _0x2a0e0e=_0xc30d77;_0xaf6453[_0x2a0e0e(0x39e)](),_0x164882['dispose']();}},_0x563bfa;}async['_submitChangeset'](_0x5c6ad7,_0x291e33){var _0x5f4527=_0x5a522f,_0x3ffa18;const {unitType:_0x22906a,unitID:_0x472df9,changeset:_0xeb0cc}=_0x291e33[_0x5f4527(0x314)],_0x126af5={'unitID':_0x472df9,'memberID':_0x5c6ad7[_0x5f4527(0x2c8)],'type':_0x22906a,'changeset':_0x4443f8(_0xeb0cc)},_0x4c241c=this[_0x5f4527(0x37c)][_0x5f4527(0x3a9)](K),_0x141853=As((_0x3ffa18=_0x4c241c==null?void 0x0:_0x4c241c['collabSubmitChangesetUrl'])!=null?_0x3ffa18:Cs,_0x22906a,_0x472df9);try{await this[_0x5f4527(0x196)][_0x5f4527(0x191)](_0x141853,{'body':_0x126af5});}catch(_0x57a638){throw this[_0x5f4527(0x395)][_0x5f4527(0xec)](_0x5f4527(0x1bf),'submit\x20changeset\x20error!'),_0x57a638;}}async[_0x5a522f(0x29b)](_0x6a0162){var _0x46197e=_0x5a522f;const {unitID:_0x56bb76,from:_0x197e60,to:_0x2c1ac9,unitType:_0x148fcd}=_0x6a0162[_0x46197e(0x314)];return(await this[_0x46197e(0x132)][_0x46197e(0x183)]({'metadata':void 0x0},{'unitID':_0x56bb76,'type':_0x148fcd,'from':_0x197e60,'to':_0x2c1ac9}))['changesets'];}};Ft=Us([Ue(0x0,_0x164bb8(_0x2db769)),Ue(0x1,_0x164bb8(_0x2cbb4d)),Ue(0x2,_0x53b96a),Ue(0x3,_0x572343),Ue(0x4,_0x3a5f61)],Ft);const ws='collaboration_new_changeset';function Ps(_0x54adc1){var _0x4a1931=_0x5a522f;return JSON[_0x4a1931(0x1ec)](_0x54adc1)['length'];}class gi{constructor(){var _0xc65761=_0x5a522f;N(this,_0xc65761(0x1f1),new _0x4e2f51()),N(this,_0xc65761(0x35e),this[_0xc65761(0x1f1)][_0xc65761(0x118)]());}['onCommentUpdate'](_0x391b68){var _0x333123=_0x5a522f;this[_0x333123(0x1f1)][_0x333123(0x11a)](_0x391b68);}}var Ms=Object[_0x5a522f(0x180)],Ls=(_0x35db45,_0x2c2cb4,_0x518575,_0x4da4a5)=>{var _0x563164=_0x5a522f;for(var _0x562193=_0x4da4a5>0x1?void 0x0:_0x4da4a5?Ms(_0x2c2cb4,_0x518575):_0x2c2cb4,_0x135827=_0x35db45[_0x563164(0x240)]-0x1,_0x49afce;_0x135827>=0x0;_0x135827--)(_0x49afce=_0x35db45[_0x135827])&&(_0x562193=_0x49afce(_0x562193)||_0x562193);return _0x562193;},Vt=(_0x88bfd3,_0x48385b)=>(_0x14fe50,_0x374b5f)=>_0x48385b(_0x14fe50,_0x374b5f,_0x88bfd3);let Pe=class extends _0x16bcbc{constructor(_0x44a52f,_0x12b21c){var _0x12a936=_0x5a522f;super(),N(this,'_roomMembers',new Map()),N(this,_0x12a936(0x11e),new _0x4e2f51()),(this[_0x12a936(0x304)]=_0x44a52f,this['_userManagerService']=_0x12b21c,this[_0x12a936(0x2b9)](_0x3fc90a(this[_0x12a936(0x304)]['getTypeOfUnitDisposed$'](_0x2f9604[_0x12a936(0x1ee)])[_0x12a936(0x1ca)](_0x1ea422(_0x3e8e24=>_0x3e8e24['getUnitId']())),this[_0x12a936(0x304)]['getTypeOfUnitDisposed$'](_0x2f9604[_0x12a936(0x3be)])[_0x12a936(0x1ca)](_0x1ea422(_0x49b47f=>_0x49b47f[_0x12a936(0x31e)]())),this['_univerInstanceService'][_0x12a936(0x385)](_0x2f9604['UNIVER_SLIDE'])[_0x12a936(0x1ca)](_0x1ea422(_0x18f884=>_0x18f884['getUnitId']())))['subscribe'](_0x423cd5=>this['_removeRoom'](_0x423cd5))));}[_0x5a522f(0x1bb)](_0x4c70cf){var _0x133267=_0x5a522f;return this[_0x133267(0x24c)][_0x133267(0x167)](_0x4c70cf)?_0x328e42(this[_0x133267(0x24c)]['get'](_0x4c70cf)):this[_0x133267(0x11e)][_0x133267(0x1ca)](_0x1ea422(_0xccbcf9=>{var _0x4d381c=_0x133267;if(_0xccbcf9===_0x4c70cf)return this[_0x4d381c(0x24c)][_0x4d381c(0x2fc)](_0xccbcf9);}));}[_0x5a522f(0x1bd)](_0x128f6e){var _0x11511b=_0x5a522f;this[_0x11511b(0x31a)][_0x11511b(0x1bd)](_0x128f6e);}[_0x5a522f(0x2f2)](){var _0x36365b=_0x5a522f;return this[_0x36365b(0x31a)]['getCurrentUser']();}['updateMember'](_0x247d62,_0x46fe0c){var _0x1860fc=_0x5a522f;let _0x37c7d1=this['_roomMembers'][_0x1860fc(0x2fc)](_0x247d62);_0x37c7d1||(_0x37c7d1=new xs(),this[_0x1860fc(0x24c)][_0x1860fc(0x356)](_0x247d62,_0x37c7d1),this[_0x1860fc(0x11e)][_0x1860fc(0x11a)](_0x247d62)),_0x37c7d1['updateMember'](_0x46fe0c);}[_0x5a522f(0x2a2)](_0x52959d,_0x35969a){var _0x2092db=_0x5a522f;const _0x2b9804=this['_roomMembers'][_0x2092db(0x2fc)](_0x52959d);_0x2b9804&&_0x2b9804[_0x2092db(0x2a2)](_0x35969a);}[_0x5a522f(0x327)](_0x14a1a9){var _0x3c832e=_0x5a522f;return this[_0x3c832e(0x24c)]['get'](_0x14a1a9);}[_0x5a522f(0x193)](_0x26b210,_0x215e9b){var _0xd4cc9e=_0x5a522f;const _0x2c2964=this[_0xd4cc9e(0x24c)][_0xd4cc9e(0x2fc)](_0x26b210);if(_0x2c2964)return _0x2c2964[_0xd4cc9e(0x193)](_0x215e9b);}['_removeRoom'](_0x38b9e0){var _0x5cf2eb=_0x5a522f;const _0xc17aaf=this[_0x5cf2eb(0x24c)][_0x5cf2eb(0x2fc)](_0x38b9e0);_0xc17aaf&&(_0xc17aaf['dispose'](),this[_0x5cf2eb(0x24c)][_0x5cf2eb(0x18c)](_0x38b9e0));}[_0x5a522f(0x312)](){var _0x5ae31f=_0x5a522f;this['_roomMembers']['forEach'](_0x33597c=>_0x33597c[_0x5ae31f(0x312)]()),this[_0x5ae31f(0x24c)][_0x5ae31f(0x38b)](),this['_roomCreated$'][_0x5ae31f(0x28e)]();}};Pe=Ls([Vt(0x0,_0x5292c6),Vt(0x1,_0x164bb8(_0x3ffcb1))],Pe);class xs extends _0x16bcbc{constructor(){var _0x1684fb=_0x5a522f;super(...arguments),N(this,_0x1684fb(0x1ea),new Map()),N(this,_0x1684fb(0x365),new _0x116154(this[_0x1684fb(0x1ea)])),N(this,_0x1684fb(0x1fa),this['_members$'][_0x1684fb(0x118)]());}[_0x5a522f(0x312)](){var _0x341fe0=_0x5a522f;this[_0x341fe0(0x1ea)][_0x341fe0(0x38b)]();}[_0x5a522f(0x15b)](_0x467d7c){var _0xd21b21=_0x5a522f;this['_members'][_0xd21b21(0x356)](_0x467d7c[_0xd21b21(0x2c8)],_0x467d7c),this[_0xd21b21(0x168)]();}[_0x5a522f(0x2a2)](_0x34cd32){var _0x1b003a=_0x5a522f;this[_0x1b003a(0x1ea)]['delete'](_0x34cd32);}[_0x5a522f(0x193)](_0x2cbd3e){var _0x13c7f0=_0x5a522f;return this[_0x13c7f0(0x1ea)][_0x13c7f0(0x2fc)](_0x2cbd3e);}[_0x5a522f(0x329)](){var _0xe89c55=_0x5a522f;return Array[_0xe89c55(0x22e)](this[_0xe89c55(0x1ea)][_0xe89c55(0x2d9)]());}[_0x5a522f(0x168)](){var _0x5bcfe7=_0x5a522f;this[_0x5bcfe7(0x365)][_0x5bcfe7(0x11a)](this[_0x5bcfe7(0x1ea)]);}}var ks=Object['getOwnPropertyDescriptor'],$s=(_0x469b48,_0x4340e7,_0x47aaa3,_0x44da77)=>{for(var _0x278faf=_0x44da77>0x1?void 0x0:_0x44da77?ks(_0x4340e7,_0x47aaa3):_0x4340e7,_0x26047c=_0x469b48['length']-0x1,_0x4561a0;_0x26047c>=0x0;_0x26047c--)(_0x4561a0=_0x469b48[_0x26047c])&&(_0x278faf=_0x4561a0(_0x278faf)||_0x278faf);return _0x278faf;},pe=(_0x40c63c,_0x2418f5)=>(_0x5d187b,_0x4b318d)=>_0x2418f5(_0x5d187b,_0x4b318d,_0x40c63c),Se=(_0x1e7f76=>(_0x1e7f76[_0x1e7f76['IDLE']=0x0]=_0x5a522f(0x133),_0x1e7f76[_0x1e7f76['JOINING']=0x1]=_0x5a522f(0x203),_0x1e7f76[_0x1e7f76['OFFLINE']=0x2]=_0x5a522f(0x19b),_0x1e7f76[_0x1e7f76[_0x5a522f(0x268)]=0x3]=_0x5a522f(0x268),_0x1e7f76))(Se||{});const Wt={[me[_0x5a522f(0x23a)]]:'session.join-failed',[me[_0x5a522f(0xea)]]:'session.room-full',[me[_0x5a522f(0x1a2)]]:_0x5a522f(0x265),[me[_0x5a522f(0x34f)]]:_0x5a522f(0xc6),[me[_0x5a522f(0xc5)]]:_0x5a522f(0x3a1)};let gt=class extends _0x5a28f2{constructor(_0x27237e,_0x46753e,_0x1d98f9,_0x21a753,_0x37c253,_0x4c6664,_0x227ef2,_0x1f31e5,_0x158667){var _0x2def82=_0x5a522f;super(),N(this,_0x2def82(0x3b2),new _0x116154(0x0)),N(this,_0x2def82(0x101),this[_0x2def82(0x3b2)]['asObservable']()),N(this,'_event$',new _0x4e2f51()),N(this,_0x2def82(0x2d7),this[_0x2def82(0x375)][_0x2def82(0x118)]()),N(this,'_socket'),N(this,_0x2def82(0x3c0)),N(this,'_collaborationTimeoutTimer'),N(this,_0x2def82(0xce),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x27237e,this[_0x2def82(0x395)]=_0x1d98f9,this['_configService']=_0x21a753,this[_0x2def82(0xd4)]=_0x37c253,this[_0x2def82(0x112)]=_0x4c6664,this[_0x2def82(0x28b)]=_0x227ef2,this[_0x2def82(0x1ab)]=_0x1f31e5,this[_0x2def82(0x1e9)]=_0x158667,this['_shouldReportTelemetry']=!!this[_0x2def82(0x1e9)],_0x46753e[_0x2def82(0x1ca)](_0x41c137(this[_0x2def82(0x220)]))['subscribe'](_0x288805=>{var _0x45e35e=_0x2def82,_0x356547;typeof _0x288805>'u'||(this[_0x45e35e(0x1c3)]=_0x288805,_0x288805?(this[_0x45e35e(0x3ad)](_0x288805),this[_0x45e35e(0x3c0)]=_0x288805[_0x45e35e(0x2a8)][_0x45e35e(0x17f)](_0x1be27f=>{var _0x312fe4=_0x45e35e;_0x1be27f[_0x312fe4(0x145)]===this[_0x312fe4(0xe2)]&&this[_0x312fe4(0x39d)](_0x1be27f);})):(this[_0x45e35e(0x257)](),this[_0x45e35e(0x3b2)][_0x45e35e(0x11a)](0x2),(_0x356547=this[_0x45e35e(0x3c0)])==null||_0x356547[_0x45e35e(0x1fc)](),this['_socketMessageSubscription']=null));}));}get[_0x5a522f(0x2ce)](){var _0x2edec3=_0x5a522f;return this[_0x2edec3(0x3b2)]['getValue']();}[_0x5a522f(0x2d8)](){var _0xfe6bd=_0x5a522f,_0x24627f,_0x5e9def;return(_0x5e9def=(_0x24627f=this['_socket'])==null?void 0x0:_0x24627f[_0xfe6bd(0x2c8)])!=null?_0x5e9def:null;}[_0x5a522f(0x312)](){var _0x411d1f=_0x5a522f;super[_0x411d1f(0x312)](),this[_0x411d1f(0x220)]['next'](),this['dispose$'][_0x411d1f(0x28e)]();}[_0x5a522f(0x39e)](){var _0x3bfdea=_0x5a522f,_0x2ebb5d,_0x5a4a0e;this[_0x3bfdea(0x257)](),(_0x2ebb5d=this[_0x3bfdea(0x1c3)])==null||_0x2ebb5d[_0x3bfdea(0x219)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5a4a0e=this[_0x3bfdea(0x1c3)])==null||_0x5a4a0e[_0x3bfdea(0x39e)](),this[_0x3bfdea(0x375)]['complete'](),this[_0x3bfdea(0x3b2)][_0x3bfdea(0x28e)](),this['dispose']();}['_onCombEvent'](_0x2f07b5){var _0x34aadc=_0x5a522f;_0x2f07b5[_0x34aadc(0x179)]===F['JOIN']?this['_onJoinRoomEvent'](_0x2f07b5):_0x2f07b5[_0x34aadc(0x179)]===F[_0x34aadc(0x2b0)]&&this['_onRecvEvent'](_0x2f07b5);}[_0x5a522f(0x3ad)](_0x51dba4){var _0x46b4d8=_0x5a522f;this[_0x46b4d8(0x3b2)][_0x46b4d8(0x11a)](0x1),_0x51dba4[_0x46b4d8(0x219)]({'cmd':F[_0x46b4d8(0x1e0)],'routeKey':this[_0x46b4d8(0xe2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46b4d8(0xe2)]}]}});}['_onJoinRoomEvent'](_0xd18dfe){var _0x3fc4a3=_0x5a522f,_0x5a3a56;if(_0xd18dfe[_0x3fc4a3(0x104)]in Wt){this[_0x3fc4a3(0x1ab)][_0x3fc4a3(0x27f)]({'id':ne[_0x3fc4a3(0x27e)],'data':Wt[_0xd18dfe[_0x3fc4a3(0x104)]]}),this['_sessionStatus$'][_0x3fc4a3(0x11a)](0x2);return;}this['_sessionStatus$'][_0x3fc4a3(0x11a)](0x3);const _0x1f43e4=(_0x5a3a56=_0xd18dfe[_0x3fc4a3(0x314)][_0x3fc4a3(0xf7)][this[_0x3fc4a3(0xe2)]])==null?void 0x0:_0x5a3a56['members'];_0x1f43e4&&_0x1f43e4[_0x3fc4a3(0x352)](_0x5ec9d8=>this[_0x3fc4a3(0x112)][_0x3fc4a3(0x15b)](this[_0x3fc4a3(0xe2)],_0x5ec9d8));}['_onRecvEvent'](_0x3f779c){var _0x2cfae9=_0x5a522f;try{const _0x2c75a8=_0x3f779c[_0x2cfae9(0x314)];switch(_0x2c75a8[_0x2cfae9(0x2c3)]){case _0x3cc942[_0x2cfae9(0x267)]:this[_0x2cfae9(0x2b8)](_0x2c75a8),this[_0x2cfae9(0x375)][_0x2cfae9(0x11a)](_0x2c75a8);break;case _0x3cc942['USERS_LEAVE']:this['_onUserLeave'](_0x2c75a8),this[_0x2cfae9(0x375)]['next'](_0x2c75a8);break;case _0x3cc942['CHANGESET_ACK']:case _0x3cc942['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2cfae9(0x246)](),this['_event$'][_0x2cfae9(0x11a)](_0x2c75a8);break;case _0x3cc942['MSG_FOR_ERROR']:this[_0x2cfae9(0x395)][_0x2cfae9(0xec)](_0x2cfae9(0x33c)+JSON[_0x2cfae9(0x1ec)](_0x2c75a8)),this[_0x2cfae9(0x375)][_0x2cfae9(0x11a)](_0x2c75a8);break;case _0x3cc942[_0x2cfae9(0x244)]:this[_0x2cfae9(0x28b)][_0x2cfae9(0x160)](_0x2c75a8['data']),this['_event$'][_0x2cfae9(0x11a)](_0x2c75a8);break;default:this[_0x2cfae9(0x375)]['next'](_0x2c75a8);}}catch(_0xf90335){this['_logService'][_0x2cfae9(0xec)](_0xf90335,_0x3f779c);}}[_0x5a522f(0x2b8)](_0x592791){var _0x10960c=_0x5a522f;this['_memberService']['updateMember'](this[_0x10960c(0xe2)],_0x592791['data']);}[_0x5a522f(0x247)](_0x50da29){var _0x3d44e9=_0x5a522f;this[_0x3d44e9(0x112)][_0x3d44e9(0x2a2)](this['_unitID'],_0x50da29[_0x3d44e9(0x314)][_0x3d44e9(0x2c8)]);}async[_0x5a522f(0x219)](_0x53f660,_0xfb8b9f){var _0x498b7f=_0x5a522f;if(this['sessionStatus']!==0x3||!this[_0x498b7f(0x1c3)])throw new Error(_0x498b7f(0x310));try{_0x53f660[_0x498b7f(0x2c3)]===_0x3cc942['SUBMIT_CHANGESET']&&(this[_0x498b7f(0x292)](),this[_0x498b7f(0x2f0)](_0x53f660)),this[_0x498b7f(0x1c3)][_0x498b7f(0x219)]({'cmd':F[_0x498b7f(0xd6)],'routeKey':_0xfb8b9f,'routeType':'','data':_0x53f660});}catch(_0x5eb001){this[_0x498b7f(0x395)][_0x498b7f(0xec)](_0x5eb001);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3ca5a3=_0x5a522f,_0x22c665;this[_0x3ca5a3(0x211)]=setTimeout(()=>{var _0x422592=_0x3ca5a3;this[_0x422592(0x211)]=null,this['_collaborationUIEventService'][_0x422592(0x27f)]({'id':ne[_0x422592(0x389)]});},(_0x22c665=this[_0x3ca5a3(0x37c)]['getConfig'](di))!=null?_0x22c665:fi);}[_0x5a522f(0x246)](){var _0x308706=_0x5a522f;this[_0x308706(0x211)]&&(clearTimeout(this[_0x308706(0x211)]),this[_0x308706(0x211)]=null);}[_0x5a522f(0x2f0)](_0x301e6f){var _0x76f34e=_0x5a522f;if(!this[_0x76f34e(0xce)])return;const {data:_0x1080f5}=_0x301e6f,{unitID:_0x8d8be3,changeset:_0x4a78a1}=_0x1080f5,{mutations:_0x852e26,type:_0x3eb580}=_0x4a78a1;this[_0x76f34e(0x32e)]={'unitId':_0x8d8be3,'type':_0x3eb580,'startTime':performance[_0x76f34e(0x318)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x852e26)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x163de7=_0x5a522f;if(this[_0x163de7(0xce)]){if(!this[_0x163de7(0x32e)]){this[_0x163de7(0x395)][_0x163de7(0xec)](_0x163de7(0x1bf),_0x163de7(0x1b3));return;}this['_telemetryInfo'][_0x163de7(0x2a9)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0x163de7(0x32e)][_0x163de7(0x2a9)]-this[_0x163de7(0x32e)][_0x163de7(0x16c)],this['_telemetryService'][_0x163de7(0x27b)](ws,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x5a522f(0x257)](){var _0x3f6b72=_0x5a522f;this[_0x3f6b72(0x32e)]=null;}};gt=$s([pe(0x2,_0x572343),pe(0x3,_0x53b96a),pe(0x4,_0x164bb8(_0x3d4cd0)),pe(0x5,_0x164bb8(Pe)),pe(0x6,_0x164bb8(gi)),pe(0x7,_0x164bb8(ve)),pe(0x8,_0x473dd6(_0x13054b))],gt);var Hs=Object[_0x5a522f(0x180)],Bs=(_0x52a400,_0x17ab8c,_0x18462f,_0x10be52)=>{for(var _0x323ae2=_0x10be52>0x1?void 0x0:_0x10be52?Hs(_0x17ab8c,_0x18462f):_0x17ab8c,_0x5efbc2=_0x52a400['length']-0x1,_0x60450e;_0x5efbc2>=0x0;_0x5efbc2--)(_0x60450e=_0x52a400[_0x5efbc2])&&(_0x323ae2=_0x60450e(_0x323ae2)||_0x323ae2);return _0x323ae2;},Re=(_0xfa2a00,_0x3d76ca)=>(_0x2f6f55,_0x24da52)=>_0x3d76ca(_0x2f6f55,_0x24da52,_0xfa2a00);let Me=class extends _0x16bcbc{constructor(_0x3e9ed4,_0xf301b9,_0x9b394f,_0x49e948,_0x2b4607,_0x22a1cd){var _0x553baa=_0x5a522f;super(),N(this,'_socket$',new _0x116154(void 0x0)),N(this,'socket$',this['_socket$'][_0x553baa(0x118)]()),N(this,_0x553baa(0x2a6),null),N(this,_0x553baa(0x21d),new Map()),N(this,_0x553baa(0x184),new _0x116154(Se[_0x553baa(0x133)])),N(this,_0x553baa(0x18b),this['_status$'][_0x553baa(0x118)]()),N(this,'_socketReady',!0x1),N(this,_0x553baa(0x149)),N(this,_0x553baa(0x2c6),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x553baa(0x29a)]=_0x3e9ed4,this['_logService']=_0xf301b9,this[_0x553baa(0x37c)]=_0x9b394f,this[_0x553baa(0x32d)]=_0x49e948,this['_collaborationUIEventService']=_0x2b4607,this[_0x553baa(0x130)]=_0x22a1cd,this['_listenToNetworkCondition']());}get[_0x5a522f(0x1c3)](){var _0x1629ac=_0x5a522f;return this[_0x1629ac(0x142)][_0x1629ac(0x3a3)]();}[_0x5a522f(0x2c0)](){var _0x5e860e=_0x5a522f;this[_0x5e860e(0x130)]&&this[_0x5e860e(0x2b9)](this[_0x5e860e(0x130)][_0x5e860e(0x1cd)]['subscribe'](_0x817815=>{var _0x100c28=_0x5e860e;_0x817815&&!this['_socket']&&this[_0x100c28(0x2bb)](),_0x817815||this[_0x100c28(0x32f)]();}));}[_0x5a522f(0x312)](){var _0x6744bb=_0x5a522f;super[_0x6744bb(0x312)](),this[_0x6744bb(0x2d6)](),this[_0x6744bb(0x269)](),this[_0x6744bb(0x376)](),this['_sessions'][_0x6744bb(0x352)](_0x25a670=>_0x25a670[_0x6744bb(0x312)]()),this['_sessions'][_0x6744bb(0x38b)](),this[_0x6744bb(0x184)]['complete']();}async[_0x5a522f(0x16a)](_0x1cb330){var _0x116bd3=_0x5a522f;if(this[_0x116bd3(0x21d)]['has'](_0x1cb330))return this[_0x116bd3(0x21d)][_0x116bd3(0x2fc)](_0x1cb330);this[_0x116bd3(0x1f4)]();const _0x365472=this['_injector'][_0x116bd3(0x131)](gt,_0x1cb330,this[_0x116bd3(0x142)]['asObservable']());return this[_0x116bd3(0x21d)]['set'](_0x1cb330,_0x365472),_0x365472;}[_0x5a522f(0x28c)](_0x39c86f){var _0x53dd13=_0x5a522f,_0xe0fa4f;const _0x3234d5=this['_sessions'][_0x53dd13(0x2fc)](_0x39c86f);_0x3234d5&&(this[_0x53dd13(0x21d)][_0x53dd13(0x18c)](_0x39c86f),_0x3234d5[_0x53dd13(0x39e)]()),this[_0x53dd13(0x21d)][_0x53dd13(0x2e1)]||(_0xe0fa4f=this[_0x53dd13(0x1c3)])==null||_0xe0fa4f[_0x53dd13(0x39e)]();}['reconnect'](){var _0x3d7169=_0x5a522f;this[_0x3d7169(0x2c6)]=0x0,this[_0x3d7169(0x2d6)](),this[_0x3d7169(0x215)]();}[_0x5a522f(0x2d6)](){var _0x54c0ac=_0x5a522f;this[_0x54c0ac(0x149)]!=null&&(clearTimeout(this[_0x54c0ac(0x149)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x2d4735=_0x5a522f,_0xcd3ed;const _0xa46d0e=this[_0x2d4735(0x37c)][_0x2d4735(0x3a9)](K),_0x31c5b6=(_0xcd3ed=_0xa46d0e==null?void 0x0:_0xa46d0e[_0x2d4735(0x3bc)])!=null?_0xcd3ed:ms,_0x1ccf86=await this[_0x2d4735(0x32d)][_0x2d4735(0x337)](_0x31c5b6);return this[_0x2d4735(0x2a6)]=_0x1ccf86,_0x1ccf86;}async[_0x5a522f(0x1f4)](){var _0x5aea19=_0x5a522f,_0x540ba9,_0x750910;try{const _0xb32b3e=(_0x750910=(_0x540ba9=this['_socket'])!=null?_0x540ba9:this[_0x5aea19(0x2a6)])!=null?_0x750910:await this[_0x5aea19(0x17b)]();if(_0xb32b3e){const _0x36bcac=_0xb32b3e[_0x5aea19(0x219)];_0xb32b3e['send']=_0x31c767=>(this[_0x5aea19(0x31f)](),_0x36bcac['apply'](_0xb32b3e,[_0x31c767])),_0xb32b3e[_0x5aea19(0x2a8)][_0x5aea19(0x17f)](_0x4480e6=>this['_onMessage'](_0xb32b3e,_0x4480e6)),_0xb32b3e[_0x5aea19(0x281)][_0x5aea19(0x1ca)](_0x5d2d32(0x1))[_0x5aea19(0x17f)](_0x4a326e=>this[_0x5aea19(0x395)][_0x5aea19(0xec)](_0x5aea19(0x245),_0x4a326e)),_0xb32b3e['open$'][_0x5aea19(0x1ca)](_0x5d2d32(0x1))['subscribe'](()=>{var _0xf0d2d6=_0x5aea19;this[_0xf0d2d6(0x2ac)](_0xb32b3e);}),_0xb32b3e[_0x5aea19(0x279)]['pipe'](_0x5d2d32(0x1))['subscribe'](_0x896259=>{var _0x1f913f=_0x5aea19;this[_0x1f913f(0x395)]['debug'](_0x1f913f(0x144),'socket\x20close',_0x896259),this[_0x1f913f(0x1e7)]();});}}catch(_0x56c3bf){this[_0x5aea19(0x395)][_0x5aea19(0xec)](_0x56c3bf),this[_0x5aea19(0x1e7)]();}}[_0x5a522f(0x2ac)](_0x49d36e){var _0x544a42=_0x5a522f;this['_logService'][_0x544a42(0x18f)](_0x544a42(0x144),_0x544a42(0x190)),_0x49d36e[_0x544a42(0x219)]({'cmd':F[_0x544a42(0x384)]}),this['_rescheduleHeartbeat']();}[_0x5a522f(0x32f)](){var _0x43ae5b=_0x5a522f;this['_socketReady']=!0x1,this[_0x43ae5b(0x2a6)]=null,this[_0x43ae5b(0x184)]['next'](Se[_0x43ae5b(0x19b)]),this[_0x43ae5b(0x142)][_0x43ae5b(0x11a)](null),this[_0x43ae5b(0x269)](),this[_0x43ae5b(0x376)]();}[_0x5a522f(0x1e7)](){var _0xad0666=_0x5a522f,_0x3f5844;this[_0xad0666(0x32f)](),this[_0xad0666(0x2c6)]<((_0x3f5844=this['_configService'][_0xad0666(0x3a9)](Is))!=null?_0x3f5844:Ts)?(this[_0xad0666(0x1ab)]['emitEvent']({'id':ne[_0xad0666(0x2d3)]}),this[_0xad0666(0x215)]()):this[_0xad0666(0x1ab)][_0xad0666(0x27f)]({'id':ne[_0xad0666(0xc8)]});}[_0x5a522f(0x215)](){var _0x1d180c=_0x5a522f,_0x4c0b32;const _0x4b8b8f=this[_0x1d180c(0x2c6)],_0x5ad3ad=this[_0x1d180c(0x37c)][_0x1d180c(0x3a9)](K),_0x16c8b8=_0x4b8b8f===0x0?0x0:((_0x4c0b32=_0x5ad3ad==null?void 0x0:_0x5ad3ad[_0x1d180c(0x30c)])!=null?_0x4c0b32:Es)*0x2**_0x4b8b8f;this[_0x1d180c(0x149)]=setTimeout(()=>{var _0x32703b=_0x1d180c;clearTimeout(this[_0x32703b(0x149)]),this['_retryConnectingTimer']=null,this[_0x32703b(0x1f4)]();},_0x16c8b8),this['_retryCount']+=0x1;}[_0x5a522f(0x161)](_0x189809,_0x1bf455){var _0x212d51=_0x5a522f;const {cmd:_0x35352a}=_0x1bf455;_0x35352a===F[_0x212d51(0x384)]&&!this[_0x212d51(0x27a)]&&(_0x189809['memberID']=_0x1bf455[_0x212d51(0x314)][_0x212d51(0x2c8)],this[_0x212d51(0x142)][_0x212d51(0x11a)](_0x189809),this[_0x212d51(0x184)][_0x212d51(0x11a)](Se[_0x212d51(0x268)]),this[_0x212d51(0x27a)]=!0x0,this[_0x212d51(0x2a6)]=null),_0x35352a===F[_0x212d51(0x15e)]&&this[_0x212d51(0x269)](),this[_0x212d51(0x31f)]();}['_rescheduleHeartbeat'](){var _0x5a611e=_0x5a522f,_0x590a22;this['_clearHeartbeatTimer'](),this[_0x5a611e(0x21c)]=setTimeout(()=>this[_0x5a611e(0xed)](),(_0x590a22=this['_configService']['getConfig'](gs))!=null?_0x590a22:Ss);}[_0x5a522f(0xed)](){var _0x353221=_0x5a522f;this[_0x353221(0x1c3)][_0x353221(0x219)]({'cmd':F['HEARTBEAT']}),this[_0x353221(0x1fd)]();}[_0x5a522f(0x1fd)](){var _0x1754f7=_0x5a522f,_0x1a66d2;this[_0x1754f7(0x354)]=setTimeout(()=>this[_0x1754f7(0x1e7)](),(_0x1a66d2=this['_configService'][_0x1754f7(0x3a9)](di))!=null?_0x1a66d2:fi);}[_0x5a522f(0x376)](){var _0x22cab1=_0x5a522f;this[_0x22cab1(0x21c)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x22cab1(0x21c)]=null);}['_clearTimeoutTimer'](){var _0x36867a=_0x5a522f;this[_0x36867a(0x354)]!=null&&(clearTimeout(this[_0x36867a(0x354)]),this[_0x36867a(0x354)]=null);}};Me=Bs([Re(0x0,_0x164bb8(_0x2db769)),Re(0x1,_0x572343),Re(0x2,_0x53b96a),Re(0x3,mi),Re(0x4,_0x164bb8(ve)),Re(0x5,_0x473dd6(bs))],Me);const J=_0x18462b('collaboration-client.local-cache-service');function br(_0x3e8ddc){var _0x372970=_0x5a522f;return _0x372970(0x1a8)+_0x3e8ddc;}var js=Object[_0x5a522f(0x180)],Fs=(_0x55939e,_0x4de2d4,_0x5d27d7,_0x1fcdc0)=>{var _0x222872=_0x5a522f;for(var _0x593d40=_0x1fcdc0>0x1?void 0x0:_0x1fcdc0?js(_0x4de2d4,_0x5d27d7):_0x4de2d4,_0x3732aa=_0x55939e[_0x222872(0x240)]-0x1,_0x960001;_0x3732aa>=0x0;_0x3732aa--)(_0x960001=_0x55939e[_0x3732aa])&&(_0x593d40=_0x960001(_0x593d40)||_0x593d40);return _0x593d40;},ut=(_0x12738c,_0x76a6ec)=>(_0x319eba,_0x1420b3)=>_0x76a6ec(_0x319eba,_0x1420b3,_0x12738c);function Vs(_0x23ffa5){var _0x12a6fd=_0x5a522f;const {unitID:_0x422845,mutations:_0x4cbc39}=_0x23ffa5;return{'unitId':_0x422845,'subUnitId':_0x4cbc39[0x0]['params'][_0x12a6fd(0x127)]};}let it=class{constructor(_0x16b238,_0xfa02cb,_0x1498f9){var _0x4922f5=_0x5a522f;this['_injector']=_0x16b238,this['_transformService']=_0xfa02cb,this[_0x4922f5(0x11d)]=_0x1498f9;}['transformSelections'](_0xcb6da){var _0x3c0b1a=_0x5a522f,_0x126d83,_0x5f1662,_0x49afa4,_0x355802;const _0x19eb56=this['_injector']['get'](_0x3449da),{unitId:_0x13940a,subUnitId:_0x28be84}=Vs(_0xcb6da),_0xcd9d50=_0x19eb56==null?void 0x0:_0x19eb56[_0x3c0b1a(0x39b)](_0x13940a)[_0x3c0b1a(0x15a)](),_0x4afec3=(_0x5f1662=(_0x126d83=this[_0x3c0b1a(0x11d)][_0x3c0b1a(0x35d)](_0x13940a))==null?void 0x0:_0x126d83['getActiveSheet']())==null?void 0x0:_0x5f1662['getSheetId']();if(_0xcd9d50[_0x3c0b1a(0x240)]===0x0||!_0x13940a||!_0x28be84)return;const _0x81bab=[{'id':_0x214b7b['id'],'params':{'unitId':_0x13940a,'subUnitId':_0x4afec3,'selections':_0x14c96b['deepClone'](_0xcd9d50)}}],_0x38cc9=this[_0x3c0b1a(0x234)][_0x3c0b1a(0x111)](_0xcb6da,_0x81bab);if(!_0x158240(_0x38cc9))throw _0x38cc9[_0x3c0b1a(0xec)];const _0x264b1f=(_0x355802=(_0x49afa4=_0x38cc9[_0x3c0b1a(0x2b3)][0x0])==null?void 0x0:_0x49afa4[_0x3c0b1a(0x3af)])==null?void 0x0:_0x355802[_0x3c0b1a(0xe9)];if(Array['isArray'](_0x264b1f)&&_0x264b1f['length']){if(_0x264b1f[_0x3c0b1a(0x240)]===_0x81bab[0x0][_0x3c0b1a(0x3af)][_0x3c0b1a(0xe9)][_0x3c0b1a(0x240)]&&_0x264b1f[_0x3c0b1a(0x139)]((_0x4ba04a,_0x12c55f)=>_0x4dd118['equals'](_0x4ba04a['range'],_0x81bab[0x0][_0x3c0b1a(0x3af)][_0x3c0b1a(0xe9)][_0x12c55f][_0x3c0b1a(0x288)])))return;this[_0x3c0b1a(0x29a)][_0x3c0b1a(0x2fc)](_0x40a05c)['executeCommand'](_0x214b7b['id'],{'unitId':_0x13940a,'subUnitId':_0x4afec3,'selections':_0x264b1f});}}};it=Fs([ut(0x0,_0x164bb8(_0x2db769)),ut(0x1,_0xbfdaf7),ut(0x2,_0x5292c6)],it);const ht=_0x18462b(_0x5a522f(0x218));var Si=(_0x5511cb=>(_0x5511cb[_0x5511cb['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5511cb[_0x5511cb['OTHER_CLIENTS_EDITING']=0x1]=_0x5a522f(0x1aa),_0x5511cb))(Si||{});const Ws=new Set([_0x49ff9f['id']]);function Gt(_0x10c01d,_0x36cfc1,_0x439cf4,_0x3afc03,_0x4c2621){var _0x107df7=_0x5a522f,_0x5751f4,_0x218819,_0x5f191a,_0x159d18;const _0x1e53aa=[];for(const _0x909856 of _0x10c01d)if(Ws[_0x107df7(0x167)](_0x909856['id'])){if(_0x1e53aa[_0x107df7(0x240)]>0x0)break;_0x1e53aa['push'](_0x909856);break;}else _0x1e53aa['push'](_0x909856);const _0x472b9d=(_0x218819=(_0x5751f4=_0x4c2621[_0x107df7(0x2f2)]())==null?void 0x0:_0x5751f4[_0x107df7(0x2aa)])!=null?_0x218819:_0x107df7(0x39f),_0x4846a6=(_0x159d18=(_0x5f191a=_0x4c2621[_0x107df7(0x2f2)]())==null?void 0x0:_0x5f191a[_0x107df7(0x2c8)])!=null?_0x159d18:'unknown';return{'changeset':{'unitID':_0x36cfc1,'type':_0xaff69(_0x439cf4['getUnitType'](_0x36cfc1)),'baseRev':_0x3afc03['getCurrentRevOfUnit'](_0x36cfc1),'revision':0x0,'userID':_0x472b9d,'memberID':_0x4846a6,'mutations':_0x1e53aa},'pendingMutations':_0x10c01d['slice'](_0x1e53aa[_0x107df7(0x240)])};}function Gs(_0x4b4af9,_0x1d0c36,_0x2a8dd4,_0x31dcc8,_0x579f4f){var _0x161e47=_0x5a522f,_0x4fdcc2,_0x17ff4d,_0x145615,_0x547608;const _0xe6194f=[_0x4b4af9[_0x161e47(0x36d)]((_0x148d03,_0x1939f1)=>{var _0x22365f=_0x161e47,_0x5e9afc;const {id:_0x24f403}=_0x148d03,{id:_0x15a08a,type:_0x40a7d5}=_0x1939f1,_0x21a9b8=(_0x5e9afc=_0x148d03[_0x22365f(0x3af)])!=null?_0x5e9afc:{'actions':null},_0x22468c=_0x1939f1[_0x22365f(0x3af)];if(_0x24f403&&_0x24f403!==_0x15a08a)throw new Error(_0x22365f(0x223)+_0x24f403+_0x22365f(0x1b7)+_0x15a08a+'.');return{..._0x148d03,'id':_0x15a08a,'type':_0x40a7d5,'params':{'unitId':_0x22468c[_0x22365f(0x2f4)],'textRanges':_0x22468c[_0x22365f(0x1e4)],'actions':_0x4005a0[_0x22365f(0x21b)](_0x21a9b8[_0x22365f(0x1e8)],_0x22468c[_0x22365f(0x1e8)])}};},{})],_0x3a5fab=(_0x17ff4d=(_0x4fdcc2=_0x579f4f[_0x161e47(0x2f2)]())==null?void 0x0:_0x4fdcc2['userID'])!=null?_0x17ff4d:_0x161e47(0x39f),_0x51b23b=(_0x547608=(_0x145615=_0x579f4f[_0x161e47(0x2f2)]())==null?void 0x0:_0x145615[_0x161e47(0x2c8)])!=null?_0x547608:_0x161e47(0x39f);return{'changeset':{'unitID':_0x1d0c36,'type':_0xaff69(_0x2a8dd4[_0x161e47(0x320)](_0x1d0c36)),'baseRev':_0x31dcc8[_0x161e47(0x1c4)](_0x1d0c36),'revision':0x0,'userID':_0x3a5fab,'memberID':_0x51b23b,'mutations':_0xe6194f},'pendingMutations':[]};}function Ei(_0x4623aa,_0x2b7cda){var _0x56b707=_0x5a522f;const _0x3b8cf1=new _0x5a98cf(0x1);return setTimeout(()=>_0x3b8cf1['next'](_0x2b7cda),_0x4623aa),_0x3b8cf1[_0x56b707(0x118)]()[_0x56b707(0x1ca)](_0x3fe6f1(0x1));}const Ys={'id':_0xa51748['id'],'type':_0x392d52[_0x5a522f(0x12f)],'params':{}};var Ks=Object[_0x5a522f(0x180)],Ie=(_0x3d0f51,_0x18b44f,_0xb890b5,_0x2b6a18)=>{for(var _0xe56e7f=_0x2b6a18>0x1?void 0x0:_0x2b6a18?Ks(_0x18b44f,_0xb890b5):_0x18b44f,_0x345aaf=_0x3d0f51['length']-0x1,_0x429d41;_0x345aaf>=0x0;_0x345aaf--)(_0x429d41=_0x3d0f51[_0x345aaf])&&(_0xe56e7f=_0x429d41(_0xe56e7f)||_0xe56e7f);return _0xe56e7f;},P=(_0x409598,_0x3716e8)=>(_0x1d7354,_0x108e76)=>_0x3716e8(_0x1d7354,_0x108e76,_0x409598),Ii=(_0x239fcb=>(_0x239fcb[_0x5a522f(0x35f)]=_0x5a522f(0x26f),_0x239fcb[_0x5a522f(0xe3)]=_0x5a522f(0x221),_0x239fcb['PENDING']=_0x5a522f(0x380),_0x239fcb[_0x5a522f(0x20a)]=_0x5a522f(0x1a9),_0x239fcb[_0x5a522f(0x284)]='awaiting_with_pending',_0x239fcb[_0x5a522f(0xcd)]=_0x5a522f(0x36a),_0x239fcb[_0x5a522f(0x2ef)]=_0x5a522f(0x294),_0x239fcb[_0x5a522f(0x19b)]=_0x5a522f(0x2bf),_0x239fcb))(Ii||{});const Ti=0xea60;class Te{constructor(_0x10bcc2,_0x5df4aa,_0x5824c1,_0x482544,_0x361ca2,_0x20002d,_0x499f51,_0x41f7d9,_0x1346d0){var _0x173ba2=_0x5a522f;N(this,'_awaitingChangeset',null),N(this,_0x173ba2(0x13f),[]),(this['unitID']=_0x10bcc2,this[_0x173ba2(0x24d)]=_0x5df4aa,this[_0x173ba2(0x26e)]=_0x361ca2,this[_0x173ba2(0x16e)]=_0x20002d,this['_undoRedoService']=_0x499f51,this[_0x173ba2(0x36c)]=_0x41f7d9,this['_localCacheService']=_0x1346d0,this[_0x173ba2(0x1ac)]=_0x5824c1,this[_0x173ba2(0x13f)]=_0x482544);}['_checkMissing'](_0x16d74a){var _0x1b1b58=_0x5a522f;const _0x407b03=this[_0x1b1b58(0x36c)][_0x1b1b58(0x1c4)](this[_0x1b1b58(0x1ff)]);return _0x16d74a['revision']>_0x407b03+0x1?(this['_handler'][_0x1b1b58(0x238)]({'from':_0x407b03,'to':_0x16d74a[_0x1b1b58(0x369)]-0x1}),!0x0):!0x1;}[_0x5a522f(0x10b)](_0x4ac9dd){var _0x473f5b=_0x5a522f;this[_0x473f5b(0x109)]['transformUndoRedo'](this[_0x473f5b(0x1ff)],_0x4ac9dd);}[_0x5a522f(0x124)](_0x28f5ee){var _0x49f6e1=_0x5a522f,_0x2578d0,_0xbd1af;(_0xbd1af=(_0x2578d0=this[_0x49f6e1(0x26e)])[_0x49f6e1(0x189)])==null||_0xbd1af[_0x49f6e1(0x24a)](_0x2578d0,_0x28f5ee);}[_0x5a522f(0xcc)](_0xbfbd66){var _0x4b0aaf=_0x5a522f,_0x396e59,_0x3270a0;return(_0x3270a0=(_0x396e59=this[_0x4b0aaf(0x26e)])[_0x4b0aaf(0x2e0)])==null?void 0x0:_0x3270a0[_0x4b0aaf(0x24a)](_0x396e59,_0xbfbd66);}[_0x5a522f(0x338)](_0x8e92da){var _0x410782=_0x5a522f,_0xb8e7a6,_0x448c35;return(_0x448c35=(_0xb8e7a6=this[_0x410782(0x26e)])[_0x410782(0x34a)])==null?void 0x0:_0x448c35[_0x410782(0x24a)](_0xb8e7a6,_0x8e92da);}[_0x5a522f(0x393)](_0x373ac6){var _0x29f705=_0x5a522f,_0x32564a,_0xb5b2,_0x46d16d;return(_0x46d16d=(_0xb5b2=(_0x32564a=this[_0x29f705(0x26e)])[_0x29f705(0x206)])==null?void 0x0:_0xb5b2[_0x29f705(0x24a)](_0x32564a,_0x373ac6))!=null?_0x46d16d:_0x373ac6;}[_0x5a522f(0x2f5)](_0x451dca){var _0x252067=_0x5a522f,_0x2f8f09,_0x497352,_0x3cb8c4;return(_0x3cb8c4=(_0x497352=(_0x2f8f09=this['_handler'])[_0x252067(0x3b4)])==null?void 0x0:_0x497352[_0x252067(0x24a)](_0x2f8f09,_0x451dca))!=null?_0x3cb8c4:_0x451dca;}[_0x5a522f(0x102)](_0x35b810){var _0x572225=_0x5a522f,_0x20b2a9,_0x1d1647;if(this[_0x572225(0x24d)]===Z[_0x572225(0x3be)]){const {unitID:_0xfcb3de,mutations:_0x3d63dd,memberID:_0x2befc4}=_0x35b810,_0x551a97=_0x3d63dd[0x0][_0x572225(0x3af)][_0x572225(0x1e4)];Array[_0x572225(0x305)](_0x551a97)&&_0x551a97[_0x572225(0x240)]>0x0&&((_0x1d1647=(_0x20b2a9=this[_0x572225(0x26e)])[_0x572225(0x33b)])==null||_0x1d1647['call'](_0x20b2a9,{'unitID':_0xfcb3de,'memberID':_0x2befc4,'textRanges':_0x551a97}));}}['_updateLocalCache'](){var _0x397187=_0x5a522f,_0xc3ab17;(_0xc3ab17=this[_0x397187(0x372)])==null||_0xc3ab17[_0x397187(0x10e)](this[_0x397187(0x1ff)],this[_0x397187(0x24d)],this[_0x397187(0x1ac)],this[_0x397187(0x13f)]);}['_getCurrentRevision'](){var _0x2af7d6=_0x5a522f;return this[_0x2af7d6(0x36c)]['getCurrentRevOfUnit'](this[_0x2af7d6(0x1ff)]);}[_0x5a522f(0x154)](){var _0xb6049e=_0x5a522f;this[_0xb6049e(0x36c)][_0xb6049e(0x36e)](this['unitID']);}['_executeRemoteChangeset'](_0x4959a4){var _0x4fb5f2=_0x5a522f,_0x215699;let _0x4318eb=this[_0x4fb5f2(0x393)](_0x4959a4);_0x4318eb=this[_0x4fb5f2(0x2f5)](_0x4318eb);const _0x32eca0=_0x5de253(_0x4318eb['mutations'],this[_0x4fb5f2(0x16e)],{'fromCollab':!0x0});if(!_0x32eca0[_0x4fb5f2(0x283)])throw _0x32eca0[_0x4fb5f2(0xec)]instanceof Error?_0x32eca0[_0x4fb5f2(0xec)]:new Error((_0x215699=_0x32eca0['error'])!=null?_0x215699:_0x4fb5f2(0x381));this[_0x4fb5f2(0xcc)](_0x4318eb),this[_0x4fb5f2(0x338)](_0x4318eb),this['_transformUndoredo'](_0x4959a4),this[_0x4fb5f2(0x124)](_0x4318eb),this['_syncEditingCollabCursor'](_0x4318eb),this['_incrementRevisionNumber']();}}let ye=class extends Te{constructor(_0x1306a2,_0x103f6b,_0x5ee84b,_0x20f0da,_0x25cfcc,_0x12c9b0,_0x286003,_0x31a796,_0x4aea19,_0x3b0645){var _0x2ef055=_0x5a522f;super(_0x1306a2,_0x103f6b,null,[],_0x5ee84b,_0x286003,_0x12c9b0,_0x20f0da,_0x3b0645),N(this,_0x2ef055(0x19d),_0x2ef055(0x221)),(this['_injector']=_0x25cfcc,this[_0x2ef055(0x395)]=_0x31a796,this[_0x2ef055(0x234)]=_0x4aea19,this[_0x2ef055(0x391)]=_0x3b0645);}[_0x5a522f(0x117)](_0x14cc52){var _0x5ddac6=_0x5a522f;const _0x19f834=this[_0x5ddac6(0x29a)][_0x5ddac6(0x131)](re,this[_0x5ddac6(0x1ff)],this[_0x5ddac6(0x24d)],[_0x14cc52],this[_0x5ddac6(0x26e)]);return _0x19f834[_0x5ddac6(0x158)](),_0x19f834[_0x5ddac6(0x313)](),_0x19f834;}['onRemoteChangeset'](_0x15484f){var _0xa3bcf2=_0x5a522f;if(this[_0xa3bcf2(0x368)](_0x15484f))return this['_injector'][_0xa3bcf2(0x131)](Q,this['unitID'],this[_0xa3bcf2(0x24d)],null,[],null,[_0x15484f],this[_0xa3bcf2(0x26e)]);try{const _0x51af82=this['_transformService']['transformMutationsWithChangeset'](_0x15484f,[Ys]);if(_0x158240(_0x51af82)){const {c1Prime:_0x39fefd}=_0x51af82;return this['_executeRemoteChangeset'](_0x39fefd),this;}throw _0x51af82[_0xa3bcf2(0xec)];}catch(_0x3f7b30){return this['_logService'][_0xa3bcf2(0xec)](_0x3f7b30),this[_0xa3bcf2(0x362)](!0x1);}}[_0x5a522f(0x362)](_0xecbd47){var _0x446127=_0x5a522f;return this[_0x446127(0x29a)][_0x446127(0x131)](le,this[_0x446127(0x1ff)],this[_0x446127(0x24d)],null,[],this['_handler'],_0xecbd47);}[_0x5a522f(0x38c)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5a522f(0x3b8)](){var _0x29b205=_0x5a522f;throw new Error(_0x29b205(0x214));}[_0x5a522f(0x31b)](){return this;}['toggleOffline'](){var _0x96d616=_0x5a522f;return this[_0x96d616(0x29a)]['createInstance'](ue,this[_0x96d616(0x1ff)],this[_0x96d616(0x24d)],null,[],this['_handler']);}[_0x5a522f(0x217)](){return this;}['resend'](){var _0x5ae808=_0x5a522f;throw new Error(_0x5ae808(0x308));}[_0x5a522f(0x22c)](){var _0x1046e5=_0x5a522f;const _0xb0de49=this[_0x1046e5(0x36c)][_0x1046e5(0x1c4)](this[_0x1046e5(0x1ff)]);return this['_handler'][_0x1046e5(0x238)]({'from':_0xb0de49,'to':0x0}),this[_0x1046e5(0x29a)]['createInstance'](Q,this[_0x1046e5(0x1ff)],this[_0x1046e5(0x24d)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x164bb8(_0xf44fc1)),P(0x4,_0x164bb8(_0x2db769)),P(0x5,_0x562d82),P(0x6,_0x40a05c),P(0x7,_0x572343),P(0x8,_0xbfdaf7),P(0x9,_0x473dd6(J))],ye);let re=class extends Te{constructor(_0x16df10,_0x390d8a,_0x5bb264,_0x15c118,_0x50cd8d,_0x3988ec,_0x1eb273,_0x3ba11f,_0x2f28d1,_0x11eb92,_0x1d710d,_0x8787c4,_0x12a1ef,_0x570677){var _0x4e55ac=_0x5a522f;super(_0x16df10,_0x390d8a,null,_0x5bb264,_0x15c118,_0x2f28d1,_0x12a1ef,_0x3988ec,_0x570677),N(this,_0x4e55ac(0x19d),'pending'),N(this,_0x4e55ac(0x316),null),N(this,_0x4e55ac(0x300),null),(this[_0x4e55ac(0x29a)]=_0x50cd8d,this['_memberService']=_0x1eb273,this[_0x4e55ac(0x395)]=_0x3ba11f,this[_0x4e55ac(0x37c)]=_0x11eb92,this[_0x4e55ac(0x234)]=_0x1d710d,this[_0x4e55ac(0x304)]=_0x8787c4);}[_0x5a522f(0x117)](_0x9fe495){var _0x530823=_0x5a522f;return this[_0x530823(0x13f)][_0x530823(0x371)](_0x9fe495),this[_0x530823(0x313)](),this;}['onRemoteChangeset'](_0x44cdb3){var _0x4bc954=_0x5a522f;if(this[_0x4bc954(0x368)](_0x44cdb3))return this['_clearScheduledTask'](),this['_injector'][_0x4bc954(0x131)](Q,this['unitID'],this[_0x4bc954(0x24d)],null,this[_0x4bc954(0x13f)],null,[_0x44cdb3],this[_0x4bc954(0x26e)]);try{const _0x38e0ea=this[_0x4bc954(0x234)][_0x4bc954(0x111)](_0x44cdb3,this[_0x4bc954(0x13f)]);if(_0x158240(_0x38e0ea)){const {c1Prime:_0x33cd30,m2Prime:_0x22da74}=_0x38e0ea;this[_0x4bc954(0x201)](_0x33cd30);const _0x2a004f=this[_0x4bc954(0x29a)][_0x4bc954(0x131)](re,this[_0x4bc954(0x1ff)],this[_0x4bc954(0x24d)],_0x22da74,this[_0x4bc954(0x26e)]);this[_0x4bc954(0x11c)]();const _0x5db833=new Date()[_0x4bc954(0xc3)](),_0x5a97ed=this[_0x4bc954(0x316)]?Math[_0x4bc954(0x21e)](this['_scheduleCompleteTimestamp']-_0x5db833,0x0):this['_getSendChangesetTimeout']();return _0x2a004f[_0x4bc954(0x158)](_0x5a97ed),_0x2a004f;}throw _0x38e0ea['error'];}catch(_0x29a90e){return this[_0x4bc954(0x395)][_0x4bc954(0xec)](_0x29a90e),this['_onConflict'](!0x1);}}[_0x5a522f(0x38c)](){var _0x2065f4=_0x5a522f;throw new Error(_0x2065f4(0x2f7));}[_0x5a522f(0x3b8)](){var _0x256308=_0x5a522f;throw new Error(_0x256308(0x309));}[_0x5a522f(0x31b)](){return this;}['toggleOffline'](){var _0x12078e=_0x5a522f;return this[_0x12078e(0x11c)](),this[_0x12078e(0x29a)][_0x12078e(0x131)](ue,this[_0x12078e(0x1ff)],this[_0x12078e(0x24d)],null,this[_0x12078e(0x13f)],this[_0x12078e(0x26e)]);}[_0x5a522f(0x217)](){return this;}[_0x5a522f(0x158)](_0x462998){var _0x299423=_0x5a522f;const _0x10a8e7=_0x462998!=null?_0x462998:this[_0x299423(0x137)]();this[_0x299423(0x316)]=new Date()[_0x299423(0xc3)]()+_0x10a8e7,this['_sendingTimer']=setTimeout(()=>{var _0x3fffa4=_0x299423;this[_0x3fffa4(0x11c)]();let _0x343334=null;switch(this[_0x3fffa4(0x24d)]){case Z['UNIVER_SHEET']:{_0x343334=Gt(this[_0x3fffa4(0x13f)],this[_0x3fffa4(0x1ff)],this[_0x3fffa4(0x304)],this['_revisionService'],this[_0x3fffa4(0x112)]);break;}case Z[_0x3fffa4(0x3be)]:{this[_0x3fffa4(0x13f)][_0x3fffa4(0x139)](_0x219475=>_0x219475['id']===_0x4d90e7['id'])?_0x343334=Gs(this[_0x3fffa4(0x13f)],this[_0x3fffa4(0x1ff)],this[_0x3fffa4(0x304)],this['_revisionService'],this[_0x3fffa4(0x112)]):_0x343334=Gt(this[_0x3fffa4(0x13f)],this[_0x3fffa4(0x1ff)],this[_0x3fffa4(0x304)],this[_0x3fffa4(0x36c)],this['_memberService']);break;}default:throw new Error(_0x3fffa4(0x34d)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1d64ca,pendingMutations:_0x48ffd5}=_0x343334;this[_0x3fffa4(0x26e)][_0x3fffa4(0x32b)](_0x1d64ca);const _0x1afd59=_0x48ffd5[_0x3fffa4(0x240)]?this[_0x3fffa4(0x29a)]['createInstance'](ae,this[_0x3fffa4(0x1ff)],this['type'],_0x1d64ca,_0x48ffd5,this['_handler'],void 0x0):this[_0x3fffa4(0x29a)]['createInstance'](_e,this[_0x3fffa4(0x1ff)],this[_0x3fffa4(0x24d)],_0x1d64ca,this[_0x3fffa4(0x26e)]);_0x1afd59[_0x3fffa4(0x313)](),this[_0x3fffa4(0x26e)][_0x3fffa4(0x346)](this,_0x1afd59);},_0x10a8e7);}[_0x5a522f(0x137)](){var _0x147e29=_0x5a522f,_0x112fcf;const _0x533eaa=this[_0x147e29(0x37c)]['getConfig'](K);return(_0x112fcf=_0x533eaa==null?void 0x0:_0x533eaa[_0x147e29(0x33e)])!=null?_0x112fcf:ps;}[_0x5a522f(0x262)](){var _0x499561=_0x5a522f;throw new Error(_0x499561(0x121));}[_0x5a522f(0x11c)](){var _0x29ecdf=_0x5a522f;this[_0x29ecdf(0x300)]!=null&&(clearTimeout(this[_0x29ecdf(0x300)]),this['_sendingTimer']=null);}['_onConflict'](_0x3fb999){var _0x158df6=_0x5a522f;return this[_0x158df6(0x11c)](),this[_0x158df6(0x29a)][_0x158df6(0x131)](le,this[_0x158df6(0x1ff)],this['type'],null,this[_0x158df6(0x13f)],this[_0x158df6(0x26e)],_0x3fb999);}};re=Ie([P(0x4,_0x164bb8(_0x2db769)),P(0x5,_0x164bb8(_0xf44fc1)),P(0x6,_0x164bb8(Pe)),P(0x7,_0x572343),P(0x8,_0x40a05c),P(0x9,_0x53b96a),P(0xa,_0xbfdaf7),P(0xb,_0x5292c6),P(0xc,_0x562d82),P(0xd,_0x473dd6(J))],re);let _e=class extends Te{constructor(_0x511f40,_0x3a472d,_0x14af3b,_0x32c2ef,_0x235d49,_0xaa9d07,_0x5009ef,_0x1b85c5,_0x33f1f6,_0x1f2642,_0x24c66e){var _0x2d7e39=_0x5a522f;super(_0x511f40,_0x3a472d,_0x14af3b,[],_0x32c2ef,_0x5009ef,_0x1f2642,_0xaa9d07,_0x24c66e),N(this,_0x2d7e39(0x19d),_0x2d7e39(0x1a9)),N(this,_0x2d7e39(0x181),0x0),N(this,_0x2d7e39(0x222)),N(this,_0x2d7e39(0x326)),(this[_0x2d7e39(0x29a)]=_0x235d49,this[_0x2d7e39(0x395)]=_0x1b85c5,this[_0x2d7e39(0x234)]=_0x33f1f6);}['appendMutation'](_0x1c3fa3){var _0x1598ac=_0x5a522f;this[_0x1598ac(0x11c)]();const _0x4382f4=this['_injector'][_0x1598ac(0x131)](ae,this['unitID'],this[_0x1598ac(0x24d)],this[_0x1598ac(0x1ac)],[_0x1c3fa3],this[_0x1598ac(0x26e)],this[_0x1598ac(0x222)]);return _0x4382f4['_updateLocalCache'](),_0x4382f4;}[_0x5a522f(0x3a7)](_0x38ea9f){var _0x436a60=_0x5a522f;if(this[_0x436a60(0x368)](_0x38ea9f))return this[_0x436a60(0x11c)](),this['_injector'][_0x436a60(0x131)](Q,this['unitID'],this[_0x436a60(0x24d)],this[_0x436a60(0x1ac)],[],null,[_0x38ea9f],this['_handler']);try{const _0x3deec0=this['_transformService'][_0x436a60(0x322)]([_0x38ea9f],[this['_awaitingChangeset']],!0x1);if(_0x2ae8a0(_0x3deec0)){const {c1Prime:_0x4fcb5a,c2Prime:_0x9bd377}=_0x3deec0;this[_0x436a60(0x201)](_0x4fcb5a[0x0]),_0x9bd377[0x0][_0x436a60(0x1f9)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x1996e9=this[_0x436a60(0x29a)][_0x436a60(0x131)](_e,this[_0x436a60(0x1ff)],this[_0x436a60(0x24d)],_0x9bd377[0x0],this[_0x436a60(0x26e)]);return _0x1996e9[_0x436a60(0x313)](),_0x1996e9;}return this[_0x436a60(0x362)](!0x1);}catch(_0xde5889){return this[_0x436a60(0x395)][_0x436a60(0xec)](_0xde5889),this[_0x436a60(0x362)](!0x1);}}[_0x5a522f(0x38c)](_0x49deb2){var _0x10cdb8=_0x5a522f;this[_0x10cdb8(0x11c)]();const _0x6babf7=this[_0x10cdb8(0x36c)][_0x10cdb8(0x1c4)](this[_0x10cdb8(0x1ff)]);if(_0x49deb2[_0x10cdb8(0x369)]<_0x6babf7-0x1)return this;if(this[_0x10cdb8(0x368)](_0x49deb2))return this['_injector'][_0x10cdb8(0x131)](Q,this[_0x10cdb8(0x1ff)],this[_0x10cdb8(0x24d)],null,[],this['_awaitingChangeset'],[],this[_0x10cdb8(0x26e)]);this['_incrementRevisionNumber']();const _0x57ae7d=this[_0x10cdb8(0x29a)][_0x10cdb8(0x131)](ye,this[_0x10cdb8(0x1ff)],this['type'],this[_0x10cdb8(0x26e)]);return _0x57ae7d[_0x10cdb8(0x313)](),_0x57ae7d;}[_0x5a522f(0x3b8)](_0x5b2029){var _0x466d64=_0x5a522f;return this['_onConflict'](!!(_0x5b2029!=null&&_0x5b2029[_0x466d64(0x151)]));}[_0x5a522f(0x31b)](_0x4c6ce7){var _0x172755=_0x5a522f;return this[_0x172755(0x181)]>Ti?this['toggleOffline']():(this[_0x172755(0x222)]=Ei(this[_0x172755(0x181)],{'timeout':this['_resendTimeout'],'reqId':_0x4c6ce7['reqId']}),this[_0x172755(0x326)]=this[_0x172755(0x222)][_0x172755(0x17f)](({reqId:_0x293d5e,timeout:_0x488170})=>{var _0x478103=_0x172755;this[_0x478103(0x1c6)](_0x293d5e,_0x488170);}),this);}[_0x5a522f(0xf5)](){var _0x206698=_0x5a522f;return this[_0x206698(0x11c)](),this['_injector']['createInstance'](ue,this[_0x206698(0x1ff)],this[_0x206698(0x24d)],this[_0x206698(0x1ac)],[],this[_0x206698(0x26e)]);}['toggleOnline'](){return this;}[_0x5a522f(0x262)](){var _0x5a07d7=_0x5a522f;this[_0x5a07d7(0x26e)]['onSendChangeset'](this[_0x5a07d7(0x1ac)]);}[_0x5a522f(0x362)](_0xd822f3){var _0x5b0d50=_0x5a522f;return this['_clearScheduledTask'](),this[_0x5b0d50(0x29a)][_0x5b0d50(0x131)](le,this[_0x5b0d50(0x1ff)],this[_0x5b0d50(0x24d)],this[_0x5b0d50(0x1ac)],[],this[_0x5b0d50(0x26e)],_0xd822f3);}[_0x5a522f(0x1c6)](_0xb52e4b,_0x2de487){var _0x4a28e7=_0x5a522f,_0xb196b7;_0xb52e4b===((_0xb196b7=this[_0x4a28e7(0x1ac)])==null?void 0x0:_0xb196b7[_0x4a28e7(0x290)])&&(this[_0x4a28e7(0x262)](),this[_0x4a28e7(0x181)]=_0x2de487===0x0?0x3e8:_0x2de487*0x2);}[_0x5a522f(0x11c)](){var _0x5269f9=_0x5a522f,_0x516094;(_0x516094=this[_0x5269f9(0x326)])==null||_0x516094[_0x5269f9(0x1fc)](),this[_0x5269f9(0x181)]=0x0;}};_e=Ie([P(0x4,_0x164bb8(_0x2db769)),P(0x5,_0x164bb8(_0xf44fc1)),P(0x6,_0x40a05c),P(0x7,_0x572343),P(0x8,_0xbfdaf7),P(0x9,_0x562d82),P(0xa,_0x473dd6(J))],_e);let ae=class extends Te{constructor(_0x5e1479,_0xb4db44,_0x54f002,_0x3c1c47,_0x9efe0d,_0x54bb9e,_0x405eab,_0x283c8c,_0x170705,_0x2fe6aa,_0x2dd2db,_0x327773,_0x3c3c7d){var _0x1fc166=_0x5a522f;super(_0x5e1479,_0xb4db44,_0x54f002,_0x3c1c47,_0x9efe0d,_0x170705,_0x327773,_0x283c8c,_0x3c3c7d),N(this,_0x1fc166(0x19d),'awaiting_with_pending'),N(this,_0x1fc166(0x181),0x0),N(this,_0x1fc166(0x222)),N(this,_0x1fc166(0x326)),(this[_0x1fc166(0x29a)]=_0x405eab,this['_logService']=_0x2fe6aa,this['_transformService']=_0x2dd2db,this[_0x1fc166(0x391)]=_0x3c3c7d,_0x54bb9e&&(this[_0x1fc166(0x222)]=_0x54bb9e,this[_0x1fc166(0x326)]=this['_resendTimer'][_0x1fc166(0x17f)](({reqId:_0xafa9ec,timeout:_0x49f2ab})=>{this['_resendWithTimeout'](_0xafa9ec,_0x49f2ab);})));}[_0x5a522f(0x117)](_0x36b9a5){var _0x460972=_0x5a522f;return this[_0x460972(0x13f)][_0x460972(0x371)](_0x36b9a5),this;}['onRemoteChangeset'](_0x1f76c6){var _0x4463be=_0x5a522f;if(this[_0x4463be(0x368)](_0x1f76c6))return this[_0x4463be(0x11c)](),this[_0x4463be(0x29a)][_0x4463be(0x131)](Q,this[_0x4463be(0x1ff)],this[_0x4463be(0x24d)],this[_0x4463be(0x1ac)],this[_0x4463be(0x13f)],null,[_0x1f76c6],this[_0x4463be(0x26e)]);try{const _0x5f2d1e=this[_0x4463be(0x234)][_0x4463be(0x322)]([_0x1f76c6],[this[_0x4463be(0x1ac)]],!0x1);if(_0x2ae8a0(_0x5f2d1e)){const {c1Prime:_0x4c85f0,c2Prime:_0x844880}=_0x5f2d1e,_0x522bd8=this['_transformService'][_0x4463be(0x111)](_0x4c85f0[0x0],this[_0x4463be(0x13f)]);if(_0x158240(_0x522bd8)){const {c1Prime:_0x46a4ba,m2Prime:_0x50891b}=_0x522bd8;return this[_0x4463be(0x201)](_0x46a4ba),_0x844880[0x0][_0x4463be(0x1f9)]=this[_0x4463be(0x173)](),this[_0x4463be(0x11c)](),this[_0x4463be(0x29a)][_0x4463be(0x131)](ae,this[_0x4463be(0x1ff)],this['type'],_0x844880[0x0],_0x50891b,this['_handler'],void 0x0);}throw _0x522bd8[_0x4463be(0xec)];}throw _0x5f2d1e[_0x4463be(0xec)];}catch(_0x161756){return this['_logService'][_0x4463be(0xec)](_0x161756),this[_0x4463be(0x362)](!0x1);}}[_0x5a522f(0x38c)](_0x5c34fc){var _0x16bc17=_0x5a522f;if(this[_0x16bc17(0x11c)](),this['_checkMissing'](_0x5c34fc))return this[_0x16bc17(0x29a)][_0x16bc17(0x131)](Q,this[_0x16bc17(0x1ff)],this[_0x16bc17(0x24d)],null,this[_0x16bc17(0x13f)],this[_0x16bc17(0x1ac)],[],this[_0x16bc17(0x26e)]);this['_incrementRevisionNumber']();const _0x5bdc7b=this[_0x16bc17(0x29a)][_0x16bc17(0x131)](re,this[_0x16bc17(0x1ff)],this[_0x16bc17(0x24d)],this[_0x16bc17(0x13f)],this[_0x16bc17(0x26e)]);return _0x5bdc7b[_0x16bc17(0x158)](),_0x5bdc7b['_updateLocalCache'](),_0x5bdc7b;}[_0x5a522f(0x3b8)](_0x5f0203){var _0x362d8f=_0x5a522f;return this[_0x362d8f(0x362)](!!(_0x5f0203!=null&&_0x5f0203[_0x362d8f(0x151)]));}['onRemoteRetry'](_0x39f9e5){var _0x45e20d=_0x5a522f;return this['_resendTimeout']>Ti?this[_0x45e20d(0xf5)]():(this[_0x45e20d(0x222)]=Ei(this['_resendTimeout'],{'timeout':this[_0x45e20d(0x181)],'reqId':_0x39f9e5[_0x45e20d(0x290)]}),this[_0x45e20d(0x326)]=this[_0x45e20d(0x222)][_0x45e20d(0x17f)](({reqId:_0x40ddc7,timeout:_0xe34064})=>{var _0x2ab91c=_0x45e20d;this[_0x2ab91c(0x1c6)](_0x40ddc7,_0xe34064);}),this);}[_0x5a522f(0xf5)](){var _0x8d22d5=_0x5a522f;return this['_clearScheduledTask'](),this[_0x8d22d5(0x29a)][_0x8d22d5(0x131)](ue,this['unitID'],this['type'],this[_0x8d22d5(0x1ac)],this[_0x8d22d5(0x13f)],this[_0x8d22d5(0x26e)]);}[_0x5a522f(0x217)](){return this;}[_0x5a522f(0x262)](){var _0xe7f563=_0x5a522f;this[_0xe7f563(0x26e)][_0xe7f563(0x32b)](this[_0xe7f563(0x1ac)]);}[_0x5a522f(0x362)](_0x24373b){var _0x1a119c=_0x5a522f;return this[_0x1a119c(0x11c)](),this[_0x1a119c(0x29a)][_0x1a119c(0x131)](le,this['unitID'],this[_0x1a119c(0x24d)],null,this['_pendingMutations'],this[_0x1a119c(0x26e)],_0x24373b);}['_resendWithTimeout'](_0x184154,_0x789ffa){var _0x4b658e=_0x5a522f,_0x55e5d6;_0x184154===((_0x55e5d6=this['_awaitingChangeset'])==null?void 0x0:_0x55e5d6[_0x4b658e(0x290)])&&(this[_0x4b658e(0x262)](),this[_0x4b658e(0x181)]=_0x789ffa===0x0?0x3e8:_0x789ffa*0x2);}['_clearScheduledTask'](){var _0x3a7112=_0x5a522f,_0x4c15e2;(_0x4c15e2=this[_0x3a7112(0x326)])==null||_0x4c15e2[_0x3a7112(0x1fc)](),this[_0x3a7112(0x181)]=0x0;}};ae=Ie([P(0x6,_0x164bb8(_0x2db769)),P(0x7,_0x164bb8(_0xf44fc1)),P(0x8,_0x40a05c),P(0x9,_0x572343),P(0xa,_0xbfdaf7),P(0xb,_0x562d82),P(0xc,_0x473dd6(J))],ae);let le=class extends Te{constructor(_0x507eb7,_0x46d61e,_0x39f644,_0x1b8bf2,_0x4028cf,_0xfc0d1c=!0x1,_0x28745b,_0x537ff1,_0x188350,_0x237f6e,_0x95dcc5,_0x35f81b,_0x53ce2d){var _0x36c0bd=_0x5a522f;super(_0x507eb7,_0x46d61e,_0x39f644,_0x1b8bf2,_0x4028cf,_0x537ff1,_0x188350,_0x237f6e,_0x53ce2d),N(this,_0x36c0bd(0x19d),_0x36c0bd(0x294)),(this[_0x36c0bd(0x2eb)]=_0xfc0d1c,this[_0x36c0bd(0x22a)]=_0x28745b,this['_localeService']=_0x95dcc5,this[_0x36c0bd(0x1ab)]=_0x35f81b,this[_0x36c0bd(0x391)]=_0x53ce2d,this[_0x36c0bd(0xe4)](),this[_0x36c0bd(0x230)](),this[_0x36c0bd(0x34c)]());}[_0x5a522f(0x117)](){return this;}[_0x5a522f(0x3a7)](){return this;}[_0x5a522f(0x38c)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x5a522f(0x217)](){return this;}['resend'](){var _0x47fc69=_0x5a522f;throw new Error(_0x47fc69(0x379));}[_0x5a522f(0x230)](){var _0x54fee9=_0x5a522f,_0x5df982;(_0x5df982=this[_0x54fee9(0x372)])==null||_0x5df982[_0x54fee9(0x10e)](this[_0x54fee9(0x1ff)],this['type'],null,[]);}[_0x5a522f(0xe4)](){var _0x1173c8=_0x5a522f;this['_isPermissionRej']?this[_0x1173c8(0x1ab)][_0x1173c8(0x27f)]({'id':ne[_0x1173c8(0xc7)]}):this['_collaborationUIEventService'][_0x1173c8(0x27f)]({'id':ne[_0x1173c8(0x2ef)]});}[_0x5a522f(0x34c)](){var _0x2c9d12=_0x5a522f;this[_0x2c9d12(0x22a)][_0x2c9d12(0x20e)](new _0x13591c(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x164bb8(_0x39bc67)),P(0x7,_0x40a05c),P(0x8,_0x562d82),P(0x9,_0x164bb8(_0xf44fc1)),P(0xa,_0x164bb8(_0x3d4cd0)),P(0xb,_0x164bb8(ve)),P(0xc,_0x473dd6(J))],le);let ue=class extends Te{constructor(_0x6d7dd6,_0x271164,_0x1e001f,_0x1eb049,_0x1ced62,_0xa9daa4,_0x16e716,_0xf745bd,_0x458c2a,_0x552f76){var _0x457cde=_0x5a522f;super(_0x6d7dd6,_0x271164,_0x1e001f,_0x1eb049,_0x1ced62,_0xf745bd,_0x458c2a,_0x16e716,_0x552f76),N(this,_0x457cde(0x19d),'offline'),this['_injector']=_0xa9daa4;}[_0x5a522f(0x117)](_0x4db159){var _0x38cefb=_0x5a522f;return this[_0x38cefb(0x13f)][_0x38cefb(0x371)](_0x4db159),this['_updateLocalCache'](),this;}[_0x5a522f(0x3a7)](_0x2b8e74){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x33f88e=_0x5a522f;throw new Error(_0x33f88e(0x17e));}[_0x5a522f(0x3b8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5a522f(0x31b)](){return this;}[_0x5a522f(0xf5)](){return this;}[_0x5a522f(0x217)](){var _0x1df61a=_0x5a522f;const {_injector:_0x1fc985,_pendingMutations:_0x324dd0,_awaitingChangeset:_0x497e2b,unitID:_0x172761,_handler:_0x273d4f,type:_0x2b85dd}=this,_0x4e3272=Ci(_0x1fc985,_0x172761,_0x2b85dd,_0x497e2b,_0x324dd0,_0x273d4f);return _0x4e3272 instanceof re?_0x4e3272[_0x1df61a(0x158)]():(_0x4e3272 instanceof ae||_0x4e3272 instanceof _e)&&_0x4e3272[_0x1df61a(0x262)](),_0x4e3272;}['resend'](){var _0x5a515d=_0x5a522f;throw new Error(_0x5a515d(0x270));}};ue=Ie([P(0x5,_0x164bb8(_0x2db769)),P(0x6,_0x164bb8(_0xf44fc1)),P(0x7,_0x40a05c),P(0x8,_0x562d82),P(0x9,_0x473dd6(J))],ue);let Q=class extends Te{constructor(_0x3e10c6,_0x129432,_0x51e14a,_0x5e0523,_0x2ec69d,_0x3cbbeb,_0x41c3d8,_0x4ced20,_0x110611,_0x58549d,_0xd28037,_0x204370,_0x4c9535,_0x396e00){var _0x4c60b3=_0x5a522f;super(_0x3e10c6,_0x129432,_0x51e14a,_0x5e0523,_0x41c3d8,_0xd28037,_0x204370,_0x110611,_0x396e00),N(this,'status','fetch_missing'),(this[_0x4c60b3(0x331)]=_0x2ec69d,this['_queuedRemoteChangesets']=_0x3cbbeb,this[_0x4c60b3(0x29a)]=_0x4ced20,this[_0x4c60b3(0x395)]=_0x58549d,this[_0x4c60b3(0x234)]=_0x4c9535,this['localCacheService']=_0x396e00);}[_0x5a522f(0x26a)](_0x4dc0c0){var _0x17ef4=_0x5a522f;try{const _0x48a45b=[..._0x4dc0c0,...this[_0x17ef4(0x1b5)]],_0x51a843=[this[_0x17ef4(0x1ac)]||this[_0x17ef4(0x331)]]['filter'](_0x16585d=>!!_0x16585d);let _0x474476,_0x58351e;if(_0x51a843['length']){const _0x450595=this[_0x17ef4(0x234)]['transformChangesets'](_0x48a45b,_0x51a843,!0x1);if(!_0x2ae8a0(_0x450595))throw _0x450595[_0x17ef4(0xec)];_0x474476=_0x450595['c1Prime'],_0x58351e=_0x450595[_0x17ef4(0xff)];}else _0x474476=_0x48a45b,_0x58351e=[];let _0x1b6d6b=this[_0x17ef4(0x13f)];_0x474476[_0x17ef4(0x352)](_0x5638d2=>{var _0x58b5c1=_0x17ef4;let _0x27e328;if(_0x1b6d6b[_0x58b5c1(0x240)]){const _0x241749=this[_0x58b5c1(0x234)][_0x58b5c1(0x111)](_0x5638d2,_0x1b6d6b);if(!_0x158240(_0x241749))throw _0x241749[_0x58b5c1(0xec)];_0x27e328=_0x241749[_0x58b5c1(0x1df)],_0x1b6d6b=_0x241749[_0x58b5c1(0x2b3)];}else _0x27e328=_0x5638d2;this['_executeRemoteChangeset'](_0x27e328);}),this['_acknowledgedAwaitingChangeset']&&this[_0x17ef4(0x154)](),this['_awaitingChangeset']&&_0x58351e[_0x17ef4(0x240)]&&(_0x58351e[0x0][_0x17ef4(0x1f9)]=this[_0x17ef4(0x173)]());let _0x13e9f9;if(this['_awaitingChangeset']&&_0x1b6d6b[_0x17ef4(0x240)]!==0x0)_0x13e9f9=this[_0x17ef4(0x29a)][_0x17ef4(0x131)](ae,this[_0x17ef4(0x1ff)],this[_0x17ef4(0x24d)],_0x58351e[0x0],_0x1b6d6b,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x1b6d6b[_0x17ef4(0x240)]===0x0)_0x58351e[0x0]['baseRev']=this[_0x17ef4(0x173)](),_0x13e9f9=this[_0x17ef4(0x29a)][_0x17ef4(0x131)](_e,this['unitID'],this[_0x17ef4(0x24d)],_0x58351e[0x0],this['_handler']);else{if(_0x1b6d6b[_0x17ef4(0x240)]!==0x0){const _0x5a80e1=this['_injector']['createInstance'](re,this[_0x17ef4(0x1ff)],this[_0x17ef4(0x24d)],_0x1b6d6b,this[_0x17ef4(0x26e)]);_0x5a80e1[_0x17ef4(0x158)](),_0x13e9f9=_0x5a80e1;}else _0x13e9f9=this[_0x17ef4(0x29a)][_0x17ef4(0x131)](ye,this[_0x17ef4(0x1ff)],this[_0x17ef4(0x24d)],this[_0x17ef4(0x26e)]);}}return _0x13e9f9[_0x17ef4(0x313)](),_0x13e9f9;}catch(_0x37af3c){return this[_0x17ef4(0x395)][_0x17ef4(0xec)](_0x17ef4(0x159),_0x17ef4(0x37e),_0x37af3c),this['_injector']['createInstance'](le,this['unitID'],this[_0x17ef4(0x24d)],this[_0x17ef4(0x1ac)],this[_0x17ef4(0x13f)],this[_0x17ef4(0x26e)],!0x1);}}[_0x5a522f(0x262)](){var _0x447646=_0x5a522f;throw new Error(_0x447646(0x2ec));}[_0x5a522f(0x117)](_0xcef557){var _0x1da16e=_0x5a522f;return this[_0x1da16e(0x13f)][_0x1da16e(0x371)](_0xcef557),this;}[_0x5a522f(0x3a7)](_0x9d5a0d){var _0x2e3afc=_0x5a522f;return this[_0x2e3afc(0x1b5)][_0x2e3afc(0x371)](_0x9d5a0d),this;}[_0x5a522f(0x38c)](_0x262baa){var _0x3c7808=_0x5a522f;if(this[_0x3c7808(0x1ac)])return this['_acknowledgedAwaitingChangeset']=this[_0x3c7808(0x1ac)],this[_0x3c7808(0x1ac)]=null,this;throw new Error(_0x3c7808(0x3b6));}[_0x5a522f(0x3b8)](_0xebe1bb){var _0x44c094=_0x5a522f;return this[_0x44c094(0x362)](!!(_0xebe1bb!=null&&_0xebe1bb['isPermissionRej']));}[_0x5a522f(0x31b)](){return this;}[_0x5a522f(0xf5)](){var _0x21c8a5=_0x5a522f;return this[_0x21c8a5(0x29a)]['createInstance'](ue,this[_0x21c8a5(0x1ff)],this[_0x21c8a5(0x24d)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x5a522f(0x217)](){return this;}[_0x5a522f(0x362)](_0x58eecd){var _0x47effb=_0x5a522f;return this[_0x47effb(0x29a)]['createInstance'](le,this[_0x47effb(0x1ff)],this[_0x47effb(0x24d)],this[_0x47effb(0x1ac)],this[_0x47effb(0x13f)],this['_handler'],_0x58eecd);}};Q=Ie([P(0x7,_0x164bb8(_0x2db769)),P(0x8,_0x164bb8(_0xf44fc1)),P(0x9,_0x572343),P(0xa,_0x40a05c),P(0xb,_0x562d82),P(0xc,_0xbfdaf7),P(0xd,_0x473dd6(J))],Q);function Ci(_0x138bdc,_0x2d9d69,_0x3238e4,_0x56389c,_0x139ea5,_0xf1ff2c){var _0x20a9b3=_0x5a522f;return _0x56389c&&_0x139ea5[_0x20a9b3(0x240)]?_0x138bdc['createInstance'](ae,_0x2d9d69,_0x3238e4,_0x56389c,_0x139ea5,_0xf1ff2c,void 0x0):_0x56389c?_0x138bdc[_0x20a9b3(0x131)](_e,_0x2d9d69,_0x3238e4,_0x56389c,_0xf1ff2c):_0x139ea5['length']?_0x138bdc[_0x20a9b3(0x131)](re,_0x2d9d69,_0x3238e4,_0x139ea5,_0xf1ff2c):_0x138bdc[_0x20a9b3(0x131)](ye,_0x2d9d69,_0x3238e4,_0xf1ff2c);}var qs=Object[_0x5a522f(0x180)],wt=(_0x163c92,_0x167189,_0x289edf,_0x278d8f)=>{var _0x5b3a81=_0x5a522f;for(var _0x371c2c=_0x278d8f>0x1?void 0x0:_0x278d8f?qs(_0x167189,_0x289edf):_0x167189,_0x303130=_0x163c92[_0x5b3a81(0x240)]-0x1,_0x911093;_0x303130>=0x0;_0x303130--)(_0x911093=_0x163c92[_0x303130])&&(_0x371c2c=_0x911093(_0x371c2c)||_0x371c2c);return _0x371c2c;},H=(_0x152c1c,_0x5f1ef9)=>(_0x1219ce,_0xb7fe14)=>_0x5f1ef9(_0x1219ce,_0xb7fe14,_0x152c1c);let st=class extends _0x5a28f2{constructor(_0xfb4246,_0x131011,_0x83cc39,_0x4dd1a2,_0x36a5a9,_0x1b4bfd,_0xaa105e,_0x48a0e0,_0x1a517b,_0xcfcc2b,_0x419dfd,_0x1366f8,_0x28e1d8){var _0x2a4315=_0x5a522f;super(),N(this,_0x2a4315(0x29f),new _0x116154(null)),N(this,_0x2a4315(0x386),this['_state$'][_0x2a4315(0x118)]()),N(this,_0x2a4315(0x23b)),N(this,_0x2a4315(0x23e),!0x1),N(this,'_changesetSessionId',''),N(this,_0x2a4315(0x25d),0x0),N(this,_0x2a4315(0x18b),this[_0x2a4315(0x386)][_0x2a4315(0x1ca)](_0x521afd(_0x1effa1=>_0x1effa1?_0x1effa1['status']:Ii[_0x2a4315(0x19b)]),_0x1b0ee7(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x2a4315(0x2ea),[]),(this[_0x2a4315(0x1ff)]=_0xfb4246,this['session']=_0x131011,this['_type']=_0x83cc39,this[_0x2a4315(0x29a)]=_0x4dd1a2,this[_0x2a4315(0x116)]=_0x36a5a9,this[_0x2a4315(0xd4)]=_0x1b4bfd,this['_revisionService']=_0xaa105e,this['_eventService']=_0x48a0e0,this[_0x2a4315(0x395)]=_0x1a517b,this['_commandService']=_0xcfcc2b,this[_0x2a4315(0x22a)]=_0x419dfd,this[_0x2a4315(0x2b7)]=_0x1366f8,this[_0x2a4315(0x372)]=_0x28e1d8);}get['state'](){var _0x36a61f=_0x5a522f;return this[_0x36a61f(0x23b)];}async['init'](){var _0x2efd15=_0x5a522f;if(this[_0x2efd15(0x36f)])throw new Error(_0x2efd15(0x241));await this[_0x2efd15(0x2fd)]();}[_0x5a522f(0x340)](){var _0x39fddc=_0x5a522f;return this[_0x39fddc(0x23e)]=!0x0,_0x4562c4(()=>{var _0x118788=_0x39fddc;this['_collaborationPaused']=!0x1,this[_0x118788(0x236)]();});}[_0x5a522f(0x298)](_0x29e10c){var _0x7fd2bf=_0x5a522f;this[_0x7fd2bf(0x2f8)](_0x29e10c);}[_0x5a522f(0xd0)](_0xf17c24){var _0x17bea9=_0x5a522f;this[_0x17bea9(0x23b)]=_0xf17c24,this[_0x17bea9(0x29f)][_0x17bea9(0x11a)](_0xf17c24);}async['_init'](){var _0x4debaf=_0x5a522f,_0x1c9ff4;this['_updateState'](await this[_0x4debaf(0x1b9)]()),this[_0x4debaf(0x2b7)]&&((_0x1c9ff4=this[_0x4debaf(0x2b7)])==null||_0x1c9ff4[_0x4debaf(0x343)](this[_0x4debaf(0x1ff)]),this[_0x4debaf(0x2b9)](this[_0x4debaf(0x2b7)][_0x4debaf(0x263)](this[_0x4debaf(0x1ff)])['subscribe'](_0x229411=>{var _0x5133cd=_0x4debaf;this[_0x5133cd(0x395)]['debug'](_0x5133cd(0x1e5),_0x5133cd(0x32c),_0x229411),_0x229411===Si[_0x5133cd(0x1aa)]?(this[_0x5133cd(0x3a5)]['emitEvent']({'id':ne[_0x5133cd(0x194)]}),this['_permissionService']['updatePermissionPoint'](new _0x13591c(this[_0x5133cd(0x1ff)])['id'],!0x1),this['_permissionService'][_0x5133cd(0x13b)](!0x1)):(this[_0x5133cd(0x22a)][_0x5133cd(0x20e)](new _0x13591c(this[_0x5133cd(0x1ff)])['id'],!0x0),this[_0x5133cd(0x22a)][_0x5133cd(0x13b)](!0x0));})));let _0x24ced6=!0x1;return this[_0x4debaf(0x2b9)](this[_0x4debaf(0xcb)][_0x4debaf(0x101)][_0x4debaf(0x17f)](_0x2217b6=>{var _0x408dff=_0x4debaf;_0x2217b6===Se[_0x408dff(0x268)]?this['_toggleOnline'](_0x24ced6):_0x2217b6===Se[_0x408dff(0x19b)]&&(_0x24ced6=!0x0,this[_0x408dff(0x35b)]());})),this['disposeWithMe'](this[_0x4debaf(0xcb)][_0x4debaf(0x2d7)]['subscribe'](_0x3cdcfa=>{var _0x34082a=_0x4debaf;try{switch(_0x3cdcfa[_0x34082a(0x2c3)]){case _0x3cc942['NEW_CHANGESETS']:{this[_0x34082a(0x26b)](_0x4ae656(_0x3cdcfa[_0x34082a(0x314)]));break;}case _0x3cc942[_0x34082a(0x250)]:{this['_onRemoteACK'](_0x3cdcfa[_0x34082a(0x314)]);break;}case _0x3cc942[_0x34082a(0x20c)]:{this[_0x34082a(0x39c)]();break;}case _0x3cc942[_0x34082a(0xe8)]:{this[_0x34082a(0x3b1)](_0x3cdcfa[_0x34082a(0x314)]);break;}case _0x3cc942[_0x34082a(0x258)]:{this[_0x34082a(0x25f)](_0x3cdcfa['data']['changesets'][_0x34082a(0x2ff)](_0x1d4bf3=>_0x4ae656(_0x1d4bf3)));break;}case _0x3cc942['PERMISSION_REJ']:{this[_0x34082a(0x39c)]({'isPermissionRej':!0x0});break;}case _0x3cc942['UNISCRIPT_RUN']:break;}}catch(_0x2db697){throw console[_0x34082a(0xec)](_0x34082a(0x2e4),_0x2db697),_0x2db697;}})),this[_0x4debaf(0x23b)];}[_0x5a522f(0x17c)](){var _0xc5a5d0=_0x5a522f;this[_0xc5a5d0(0x2f1)]=!0x1;}[_0x5a522f(0x105)](){var _0x192020=_0x5a522f;if(this[_0x192020(0x2f1)])throw new Error(_0x192020(0x2b4));this[_0x192020(0x2f1)]=!0x0;}[_0x5a522f(0x2f8)](_0x14a06d){var _0x562ad4=_0x5a522f;this[_0x562ad4(0x105)](),this[_0x562ad4(0xd0)](this[_0x562ad4(0x23b)][_0x562ad4(0x117)](_0x14a06d)),this[_0x562ad4(0x17c)]();}['_onRemoteChangeset'](_0x140b2a){var _0x5173fc=_0x5a522f;if(!(_0x140b2a[_0x5173fc(0x369)]<=this[_0x5173fc(0x36c)]['getCurrentRevOfUnit'](this[_0x5173fc(0x1ff)]))){if(this[_0x5173fc(0x23e)]){this[_0x5173fc(0x2ea)][_0x5173fc(0x371)](_0x140b2a);return;}this[_0x5173fc(0x22d)](_0x140b2a);}}[_0x5a522f(0x236)](){var _0x4c5951=_0x5a522f;this[_0x4c5951(0x2ea)][_0x4c5951(0x352)](_0x56776f=>this[_0x4c5951(0x22d)](_0x56776f)),this['_remoteChangesetQueue']=[];}[_0x5a522f(0x22d)](_0x31955b){var _0x1cf753=_0x5a522f;const _0x5e69ca=this[_0x1cf753(0x116)][_0x1cf753(0xd9)][_0x1cf753(0x2db)](this[_0x1cf753(0x116)][_0x1cf753(0xd9)][_0x1cf753(0x25b)]()['COMPRESS_MUTATION_APPLY'])(_0x31955b[_0x1cf753(0x185)],null)||_0x31955b[_0x1cf753(0x185)],_0x5818e0={..._0x31955b,'mutations':_0x5e69ca};this['_lockTransition'](),this[_0x1cf753(0xd0)](this[_0x1cf753(0x23b)]['onRemoteChangeset'](_0x5818e0)),this[_0x1cf753(0x17c)]();}['_onRemoteACK'](_0x3442b0){var _0x3aba2c=_0x5a522f;this[_0x3aba2c(0x105)](),this['_updateState'](this['_state']['onRemoteAck'](_0x3442b0)),this[_0x3aba2c(0x17c)]();}[_0x5a522f(0x39c)](_0x397c14){var _0x147fb7=_0x5a522f;this[_0x147fb7(0x105)](),this[_0x147fb7(0xd0)](this[_0x147fb7(0x23b)][_0x147fb7(0x3b8)](_0x397c14)),this[_0x147fb7(0x17c)]();}[_0x5a522f(0x3b1)](_0x3b8fe2){var _0xadb193=_0x5a522f;this['_lockTransition'](),this[_0xadb193(0xd0)](this[_0xadb193(0x23b)][_0xadb193(0x31b)](_0x3b8fe2)),this[_0xadb193(0x17c)]();}['_onFetchMissResult'](_0x4c3632){var _0x64cd48=_0x5a522f;if(!(this['_state']instanceof Q))throw new TypeError(_0x64cd48(0x1ce));const _0x19d287=_0x4c3632[_0x64cd48(0x2ff)](_0x11660e=>{var _0xa7ee60=_0x64cd48;const _0x8f2a4=this[_0xa7ee60(0x116)]['interceptor']['fetchThroughInterceptors'](this[_0xa7ee60(0x116)]['interceptor']['getInterceptPoints']()[_0xa7ee60(0x1c0)])(_0x11660e[_0xa7ee60(0x185)],null)||_0x11660e['mutations'];return{..._0x11660e,'mutations':_0x8f2a4};});this['_lockTransition'](),this[_0x64cd48(0xd0)](this[_0x64cd48(0x23b)][_0x64cd48(0x26a)](_0x19d287)),this[_0x64cd48(0x17c)]();}['_toggleOffline'](){var _0x1a7bed=_0x5a522f;this[_0x1a7bed(0x105)](),this[_0x1a7bed(0xd0)](this[_0x1a7bed(0x23b)][_0x1a7bed(0xf5)]()),this['_unlockTransition']();}['_toggleOnline'](_0x3465d0=!0x1){var _0x348faf=_0x5a522f;this[_0x348faf(0x105)](),this[_0x348faf(0xd0)](this['_state'][_0x348faf(0x217)]()),this[_0x348faf(0x17c)]();const _0x28246f=this[_0x348faf(0x23b)];_0x3465d0&&_0x28246f instanceof ye&&(this[_0x348faf(0x105)](),this['_updateState'](_0x28246f[_0x348faf(0x22c)]()),this[_0x348faf(0x17c)]());}async[_0x5a522f(0x1b9)](){return new Promise(_0x161582=>{var _0x216f06=_0x116b;this['session'][_0x216f06(0x101)][_0x216f06(0x1ca)](_0x3fe6f1(0x1))[_0x216f06(0x17f)](async _0x10854a=>{var _0x3ce98d=_0x216f06;_0x161582(await this[_0x3ce98d(0x387)](_0x10854a===Se[_0x3ce98d(0x268)]));});});}[_0x5a522f(0x1cc)](){var _0x2f5fa9=_0x5a522f;const _0x3659d7=this[_0x2f5fa9(0x1ff)];return{'onStateChange':(_0x28b3e0,_0x1961e3)=>{var _0x5ba2be=_0x2f5fa9;if(_0x28b3e0!==this[_0x5ba2be(0x23b)])throw new Error(_0x5ba2be(0x1cf)+_0x28b3e0[_0x5ba2be(0x19d)]+_0x5ba2be(0x1ad)+_0x1961e3['status']+_0x5ba2be(0xe1)+this['_state']['status']);this[_0x5ba2be(0xd0)](_0x1961e3);},'onSendChangeset':_0x424f04=>{var _0x142307=_0x2f5fa9;_0x424f04[_0x142307(0x256)]||(_0x424f04['sid']=this['_changesetSessionId'],_0x424f04[_0x142307(0x290)]=++this[_0x142307(0x25d)]);const _0x43b760={'eventID':_0x3cc942[_0x142307(0x341)],'data':{'unitID':_0x424f04[_0x142307(0x1ff)],'unitType':this[_0x142307(0x198)],'changeset':_0x424f04,'memberID':this[_0x142307(0xcb)]['getMemberID']()}};this[_0x142307(0xcb)]['send'](_0x43b760,this[_0x142307(0x1ff)]);},'onMissingChangesets':({from:_0x40d68e,to:_0x48c32f})=>{var _0x4151f2=_0x2f5fa9;this[_0x4151f2(0x395)]['debug'](_0x4151f2(0x1e5),_0x4151f2(0x1dc)+_0x40d68e+'\x20to\x20'+_0x48c32f);const _0x275673={'eventID':_0x3cc942[_0x4151f2(0x165)],'data':{'unitID':_0x3659d7,'unitType':this[_0x4151f2(0x198)],'from':_0x40d68e,'to':_0x48c32f}};this[_0x4151f2(0xcb)][_0x4151f2(0x219)](_0x275673,this[_0x4151f2(0x1ff)]);}};}async[_0x5a522f(0x387)](_0x1380e3){var _0x99ef5a=_0x5a522f,_0x22d54e,_0x1c3165,_0x3c4fb0;const _0x4ee13c=await((_0x22d54e=this['_localCacheService'])==null?void 0x0:_0x22d54e[_0x99ef5a(0x3b9)](this[_0x99ef5a(0x1ff)])),_0x1095b6=(_0x1c3165=_0x4ee13c==null?void 0x0:_0x4ee13c[_0x99ef5a(0x185)])!=null?_0x1c3165:[],_0x43a151=(_0x3c4fb0=_0x4ee13c==null?void 0x0:_0x4ee13c[_0x99ef5a(0x1a0)])!=null?_0x3c4fb0:null,_0x278495=!!(_0x43a151!=null&&_0x43a151['sid'])&&!!(_0x43a151!=null&&_0x43a151['reqId']);this[_0x99ef5a(0x2d1)]=_0x278495?_0x43a151[_0x99ef5a(0x256)]:_0x56b8bf(),this[_0x99ef5a(0x25d)]=_0x278495?_0x43a151['reqId']:0x0;const _0x5cad9c=this[_0x99ef5a(0x1ff)];try{this[_0x99ef5a(0x13e)](_0x43a151,_0x1095b6);}catch(_0xbf4a20){this['_logService'][_0x99ef5a(0xec)](_0xbf4a20);}const _0x45a2ec=this[_0x99ef5a(0x1cc)]();if(_0x1380e3){const _0x43a9eb=Ci(this['_injector'],_0x5cad9c,this[_0x99ef5a(0x198)],_0x43a151,_0x1095b6,_0x45a2ec);return _0x43a9eb instanceof re?_0x43a9eb[_0x99ef5a(0x158)]():(_0x43a9eb instanceof ae||_0x43a9eb instanceof _e)&&_0x43a9eb[_0x99ef5a(0x262)](),_0x43a9eb;}return this[_0x99ef5a(0x29a)][_0x99ef5a(0x131)](ue,_0x5cad9c,this[_0x99ef5a(0x198)],_0x43a151,_0x1095b6,_0x45a2ec);}[_0x5a522f(0x13e)](_0x131214,_0x575739){var _0x56376c=_0x5a522f,_0x1b1ac5,_0x193430;const _0x4dc62b=this[_0x56376c(0x116)][_0x56376c(0xd9)][_0x56376c(0x2db)](this[_0x56376c(0x116)][_0x56376c(0xd9)][_0x56376c(0x25b)]()[_0x56376c(0x1c0)]);(_0x1b1ac5=_0x4dc62b((_0x131214==null?void 0x0:_0x131214[_0x56376c(0x185)])||[],null))==null||_0x1b1ac5[_0x56376c(0x352)](_0x564db3=>this[_0x56376c(0x16e)][_0x56376c(0x2cc)](_0x564db3['id'],_0x564db3[_0x56376c(0x3af)])),(_0x193430=_0x4dc62b(_0x575739||[],null))==null||_0x193430[_0x56376c(0x352)](_0x5ab721=>this[_0x56376c(0x16e)]['executeCommand'](_0x5ab721['id'],_0x5ab721[_0x56376c(0x3af)]));}};st=wt([H(0x3,_0x164bb8(_0x2db769)),H(0x4,_0x164bb8(_0x3aaaf3)),H(0x5,_0x164bb8(_0x3d4cd0)),H(0x6,_0x164bb8(_0xf44fc1)),H(0x7,_0x164bb8(ve)),H(0x8,_0x572343),H(0x9,_0x40a05c),H(0xa,_0x39bc67),H(0xb,_0x473dd6(ht)),H(0xc,_0x473dd6(J))],st);let St=class extends st{constructor(_0x5a5f84,_0x35de8a,_0x3d992a,_0x1d662f,_0x5193f9,_0x385b24,_0xa8d111,_0x317310,_0x51b657,_0x574cc3,_0x1f3341,_0x29cc03,_0x1902c2){var _0x57cd71=_0x5a522f;super(_0x5a5f84,_0x3d992a,_0x35de8a,_0x1d662f,_0x5193f9,_0x385b24,_0xa8d111,_0x317310,_0x51b657,_0x574cc3,_0x1f3341,_0x29cc03,_0x1902c2),N(this,_0x57cd71(0x351),null),(this[_0x57cd71(0x1ff)]=_0x5a5f84,this[_0x57cd71(0x24d)]=_0x35de8a);}[_0x5a522f(0x1e2)](_0x49f9fc){var _0x2da171=_0x5a522f;this[_0x2da171(0x351)]=_0x49f9fc;}[_0x5a522f(0x312)](){var _0x41e21c=_0x5a522f;this[_0x41e21c(0x351)]=null,super[_0x41e21c(0x312)]();}[_0x5a522f(0x1cc)](){var _0x5f2fa3=_0x5a522f;const _0x408ac0=super[_0x5f2fa3(0x1cc)]();return _0x408ac0[_0x5f2fa3(0x2e0)]=_0x37102e=>{var _0x470f23=_0x5f2fa3,_0x376743,_0x16cc3d;return(_0x16cc3d=(_0x376743=this['_handlerCallback'])==null?void 0x0:_0x376743[_0x470f23(0x2e0)])==null?void 0x0:_0x16cc3d[_0x470f23(0x24a)](_0x376743,_0x37102e);},_0x408ac0['onTransformState']=_0x298515=>{var _0xaab72a=_0x5f2fa3,_0x11fd1e,_0x3eba67;return(_0x3eba67=(_0x11fd1e=this[_0xaab72a(0x351)])==null?void 0x0:_0x11fd1e[_0xaab72a(0x34a)])==null?void 0x0:_0x3eba67['call'](_0x11fd1e,_0x298515);},_0x408ac0['onTransformSelections']=_0xd0324d=>{var _0xf5275d=_0x5f2fa3,_0x503523,_0x3db79d;return(_0x3db79d=(_0x503523=this[_0xf5275d(0x351)])==null?void 0x0:_0x503523[_0xf5275d(0x189)])==null?void 0x0:_0x3db79d['call'](_0x503523,_0xd0324d);},_0x408ac0[_0x5f2fa3(0x33b)]=_0x27c068=>{var _0x42685f=_0x5f2fa3,_0x3709f5,_0x156a3d;return(_0x156a3d=(_0x3709f5=this[_0x42685f(0x351)])==null?void 0x0:_0x3709f5[_0x42685f(0x33b)])==null?void 0x0:_0x156a3d[_0x42685f(0x24a)](_0x3709f5,_0x27c068);},_0x408ac0[_0x5f2fa3(0x206)]=_0x14aa9c=>{var _0x46e4f3=_0x5f2fa3,_0x5b4356,_0x332be9,_0x4a0937;if(!((_0x5b4356=this[_0x46e4f3(0x351)])!=null&&_0x5b4356['onTransformRemoteChangesetByIMECache']))throw new Error(_0x46e4f3(0x2fb));return(_0x4a0937=(_0x332be9=this[_0x46e4f3(0x351)])==null?void 0x0:_0x332be9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4a0937['call'](_0x332be9,_0x14aa9c);},_0x408ac0[_0x5f2fa3(0x3b4)]=_0x165e9c=>{var _0x148aaf=_0x5f2fa3,_0x127bcb,_0x52d281,_0x58226b;if(!((_0x127bcb=this[_0x148aaf(0x351)])!=null&&_0x127bcb['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x58226b=(_0x52d281=this[_0x148aaf(0x351)])==null?void 0x0:_0x52d281[_0x148aaf(0x3b4)])==null?void 0x0:_0x58226b[_0x148aaf(0x24a)](_0x52d281,_0x165e9c);},_0x408ac0;}async['_init'](){var _0x31b684=_0x5a522f;const _0x3603a9=await super['_init']();return this['disposeWithMe'](this[_0x31b684(0x16e)][_0x31b684(0x120)]((_0x361568,_0x12170a)=>{var _0x5e9407=_0x31b684;if(_0x361568[_0x5e9407(0x24d)]!==_0x392d52[_0x5e9407(0x12f)]||_0x12170a!=null&&_0x12170a[_0x5e9407(0x2f3)]||_0x12170a!=null&&_0x12170a['onlyLocal']||_0x361568['id']===_0x4d90e7['id'])return;const _0x2ea38f=_0x361568[_0x5e9407(0x3af)];if((_0x2ea38f==null?void 0x0:_0x2ea38f['unitId'])!==this[_0x5e9407(0x1ff)])return;const _0x5182d7=_0x361568,_0x308401=this['_compressMutationService'][_0x5e9407(0xd9)][_0x5e9407(0x2db)](this['_compressMutationService'][_0x5e9407(0xd9)][_0x5e9407(0x25b)]()[_0x5e9407(0x1eb)])([_0x5182d7],null)||[_0x5182d7];this[_0x5e9407(0x2f8)](_0x308401[0x0]);})),_0x3603a9;}};St=wt([H(0x3,_0x164bb8(_0x2db769)),H(0x4,_0x164bb8(_0x3aaaf3)),H(0x5,_0x164bb8(_0x3d4cd0)),H(0x6,_0x164bb8(_0xf44fc1)),H(0x7,_0x164bb8(ve)),H(0x8,_0x572343),H(0x9,_0x40a05c),H(0xa,_0x39bc67),H(0xb,_0x473dd6(ht)),H(0xc,_0x473dd6(J))],St);function _0x4f6f(){var _0x329915=['charCodeAt','3318060sxHkws','getImageSourceCache','getResourcesRequest','createSocket','_transformStateCache','reject','joinEvent','onSyncEditingCollabCursor','save\x20fail\x20reason\x20is\x20','_snapshotService','sendChangesetTimeout','_nRounds','pauseCollaboration','SUBMIT_CHANGESET','saveImage','editingUnit','INVALID_ARGUMENT','UUID','onStateChange','USER_NOT_INVITED_CODE','NoPadding','sigBytes','onTransformState','resolve','_disableEditing','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','JOIN_ROOM_PERMISSION_DENIED','UNDEFINED','_handlerCallback','forEach','saveChangeset','_timeoutTimer','6zaRkLT','set','$super','pluginName','PERMISSION_REJ','putCollaborators','_toggleOffline','csShouldRetryEvent','getUnit','commentUpdate$','NOT_COLLAB','SNAPSHOT_HAS_BEEN_REMOVED','findIndex','_onConflict','YUUMI_AI_RUN_FAILED','clamp','_members$','objectID','_keyPriorReset','_checkMissing','revision','fetch_missing','_substituteUndoStack','_revisionService','reduce','incrementRevOfUnit','state','_hasher','push','_localCacheService','2389590tUunkW','_getDownloadEndpointURL','_event$','_clearHeartbeatTimer','_redoStacks','_change$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','Latin1','_configService','/universer-api/oidc/authpage','failed\x20to\x20apply\x20missed\x20changesets!','default','pending','[CollaborationState]:\x20apply\x20error!','BufferedBlockAlgorithm','UNIVER_PROJECT','HELLO','getTypeOfUnitDisposed$','state$','_createInitialStateImpl','/rev/','SUBMIT_CHANGESET_TIMEOUT','_entities','clear','onRemoteAck','onlyLocal','rev','init','EMAIL_VERIFY_CODE_MISMATCH','localCacheService','LICENSE_DISTRO_REJECTED','_transformRemoteChangesetByIMECache','replace','_logService','HMAC','Hasher','_append','WordArray','algo','getWorkbookSelections','_onRemoteRejected','_onCombEvent','close','unknown','symbol','session.room-cnt-exceeds','LIVESHARE_TERMINATE','getValue','LEAVE','_eventService','workbook','onRemoteChangeset','/-/object/list','getConfig','open$','blockSize','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_joinRoom','UNIVER_SLIDE','params','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_onRemoteRetry','_sessionStatus$','execute','onTransformRemoteChangesetByStateCache','splice','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','parse','onRemoteRej','loadOfflineData','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','avatar','collabWebSocketUrl','Hex','UNIVER_DOC','_reverseMap','_socketMessageSubscription','sheets','getTime','LOCAL_CACHE_INTERVAL','GLOBAL_ROOMS_CNT_EXCEEDS','session.room-permission-denied','PERMISSION_DENIED','SOCKET_FAILED','random','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session','_transformIMECache','FETCH_MISS','_shouldReportTelemetry','hostname','_updateState','iterations','compute','Utf8','_localeService','_getCtorByUniverType','INGEST','liveShareNewHost','_DEC_XFORM_MODE','interceptor','encode','_doReset','_nDataBytes','/universer-api/authz','setConfig','DEFAULT_FILE_NAME','loginUrlKey','\x0aCurrent:\x20','_unitID','SYNCED','_showConflictNotification','method','{fileID}','YUUMI_ASYNCIO_CANCELLED','CHANGESET_SHOULD_RETRY','selections','JOIN_ROOM_FULL','/universer-api/file/{fileID}/sign-url','error','_sendHeartbeat','216698SWFqVb','_prevBlock','floor','SerializableCipher','transformUndoRedo','__Key__','/allowed','toggleOffline','onload','roomInfos','_decreaseWaiting','abs','name','APPLY_REJECT','APPLY_DUPLICATED','encodeURIComponent','override','c2Prime','_updateStatus','sessionStatus$','_syncEditingCollabCursor','?size=','code','_lockTransition','HmacSHA1','LIVESHARE_FETCH_OPERATIONS','addImageSourceCache','_undoRedoService','padding','_transformUndoredo','snapshot','localeService','updateOfflineData','_unitInfo$','subject','transformMutationsWithChangeset','_memberService','YUUMI_SUBSCRIPTION_NOT_FOUND','getDeserializedSheetBlock','updateCursorEvent','_compressMutationService','appendMutation','asObservable','/object','next','MD5','_clearScheduledTask','_instanceService','_roomCreated$','UNRECOGNIZED','onCommandExecuted','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','url','_collabSessionService','_transformSelections','/fetchmissing?from=','UPDATE_CURSOR','subUnitId','CHANGESET_REVISION_CONFILICT','prototype','Malformed\x20UTF-8\x20data','then','LICENSE_IMPORT_SIZE_EXCEEDED','StreamCipher','crypto','MUTATION','_networkConditionService','createInstance','_snapshotServerService','IDLE','_iv','UPDATE_PERMISSION_OBJ','INVITE_CODE_HAS_BEEN_UES','_getSendChangesetTimeout','charAt','every','COMPLETION_FINISHED','setShowComponents','listRoles','People','_replayCachedMutations','_pendingMutations','_initMergeInterceptor','loadUnitOfRevision','_socket$','getCollabEntity$','[CollaborationSessionService]','routeKey','_createHelper','SNAPSHOT_INVALID_SNAPSHOT','FileId','_retryConnectingTimer','reverse','image/gif','mode','extend','ws://127.0.0.1:8000/universer-api/comb/connect','image/bmp','_hash','isPermissionRej','INTERNAL_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_incrementRevisionNumber','_doCreateSocket','LICENSE_EXPORT_SIZE_EXCEEDED','salt','_schedule','[FetchMissState]','getCurrentSelections','updateMember','create','focused$','HEARTBEAT','origin','onCommentUpdate','_onMessage','image/jpeg','AES','kdf','FETCH_MISSING','TOO_MANY_REQUESTS','has','_emitMembers','Pkcs7','requireSession','UNKNOWN_CMD','startTime','Undefined','_commandService','enableAuthServer','EMAIL_HAS_BEEN_BOUND','getSnapshotAPIPath','POST','_getCurrentRevision','YUUMI_URL_COL_OUT_OF_RANGE','image/jpg','change$','LIVESHARE_OPERATION','title','cmd','_registerDependencies','_createSocket','_unlockTransition','setWaitCount','[OfflineState]:\x20received\x20acknowledgement.','subscribe','getOwnPropertyDescriptor','_resendTimeout','filter','fetchMissingChangesets','_status$','mutations','RETRY_CONNECTING_MAX_COUNT','getUnitOnRev','CipherParams','onTransformSelections','7DhgjlC','status$','delete','keySize','target','debug','socket\x20open.','post','collaboratorID','getMember','OTHER_CLIENT_EDITING','PERSON','_httpService','UNAUTHENTICATED','_type','getTypeOfUnitAdded$','image/png','OFFLINE','5064186cIURVa','status','_mode','repeat','awaitingChangeset','_clearRedo','JOIN_ROOM_NOT_EXISTS','infoRsp','readInt32LE','function','_transformStack','mixIn','unit-cache-','awaiting','OTHER_CLIENTS_EDITING','_collaborationUIEventService','_awaitingChangeset','\x0aAfter:\x20','/universer-api/uniscript','EvpKDF','readyForCollab','HmacMD5','transformSelections','telemetry\x20info\x20is\x20not\x20initialized','transformStack\x20failed!','_queuedRemoteChangesets','Base','\x20-\x20','INVALID_INVITE_CODE','_createInitialState','_getAPIPrefix','waitForRoom$','disableLocalCache','setCurrentUser','SHA1','[CollaborationSession]','COMPRESS_MUTATION_APPLY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initUnitPermissionChange','_socket','getCurrentRevOfUnit','objects','_resendWithTimeout','exports','_initDependencies','lib','pipe','OpenSSL','_createHandler','online$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','signUrlServerUrl','_entityInit$','loadSheet','__creator','body','objectType','WECHAT_HAS_BEEN_BOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','liveShareOperation','_createHmacHelper','connection\x20error','_HTTPService','fetching\x20missing\x20changesets\x20from\x20','_collaborationSessionService','YUUMI_UNABLE_LOAD_URL','c1Prime','JOIN','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','addHandlerCallback','UserProfileImg','textRanges','[CollaborationEntity]','/universer-api/user/session-ticket','_onConnectionFailed','actions','_telemetryService','_members','COMPRESS_MUTATION_SEND','stringify','collaborators','UNIVER_SHEET','ceil','Failed\x20to\x20update\x20permission\x20point','_commentUpdate$','MOBILE_VERIFY_CODE_MISMATCH','univer-pro.collaboration-client-socket-service','_tryEnsureSocket','MOBILE_HAS_BEEN_BOUND','enc','_cipher','permissionRejEvent','baseRev','members$','list','unsubscribe','_waitForHeartbeatResponse','INVITE_CODE_ALREADY_BOUND','unitID','Base64','_executeRemoteChangeset','_data','JOINING','createEncryptor','loadUnit','onTransformRemoteChangesetByIMECache','_key','updateSnapshot','entityInit$','AWAITING','/-/object/-/batch_allowed','CHANGESET_REJ','LOGIN_FAILED','updatePermissionPoint','apply','socketService','_collaborationTimeoutTimer','encrypt','concat','[SyncedState]:\x20received\x20rejection.','_tryReconnect','Cipher','toggleOnline','univer-pro.collaboration-client.single-active-unit-service','send','enableSingleActiveInstanceLock','compose','_sendHeartbeatTimer','_sessions','max','NOT_FOUND','dispose$','synced','_resendTimer','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','APPLY_PERMISSION_DENIED','_minBufferSize','originalMeta','LIVESHARE_NEW_HOST','OPTIONAL','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_permissionService','add','fetchMiss','_applyRemoteChangeset','from','byteLength','_clearLocalCache','_config','src','key','_transformService','join','_exhaustRemoteChangesetQueue','Could\x20not\x20dynamically\x20require\x20\x22','onMissingChangesets','LICENSE_MAX_UNITS_EXCEEDED','FAIL','_state','_substituteRedoStack','resourceIDs','_collaborationPaused','761456IKESmP','length','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_xformMode','joinRsp','COMMENT_UPDATE','[CollaborationSessionService]:\x20socket\x20error','_clearCollaborationTimeoutTimer','_onUserLeave','ENSURE_SNAPSHOT_EXECUTION','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','call','downloadEndpointUrl','_roomMembers','type','csRejEvent','Decryptor','CHANGESET_ACK','substr','_doCryptBlock','_ENC_XFORM_MODE','ERROR_IMAGE','YUUMI_NO_CUBOID_FOR_QUESTION','sid','_throwTelemetryCollaborationNewChangeset','PSEUDO_FETCH_MISSING_RESULT','processBlock','reset','getInterceptPoints','_getLoginPath','_changesetReqId','createDecryptor','_onFetchMissResult','saveSnapshot','UNKNOWN_CODE','resend','getUnitStatus$','_waitCount','session.room-not-exists','msCrypto','USERS_ENTER','ONLINE','_clearTimeoutTimer','onMissedChangesetFetched','_onRemoteChangeset','/new_changes','sin','_handler','not_collab','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','update','HttpExport','/role','/universer-api/comb','csAckEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','toString','format','close$','_socketReady','capture','INVITE_CODE_REQUIRED','collaboration-client.config','JOIN_ROOM_FAILED','emitEvent','leaveEvent','error$','hasOwnProperty','result','AWAITING_WITH_PENDING','_getAPIPrefixPath','&assign=','/universer-api/snapshot/','range','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','CLOSE_ROOM','_commentService','closeSession','ALREADY_EXISTS','complete','words','reqId','_getUploadFileURL','_scheduleCollaborationTimeoutTimer','withCredentials','conflict','headers','NEW_CHANGESETS','YUUMI_ALL_TABLES_IS_INVALID','onLocalMutation','_invKeySchedule','_injector','_fetchMissChangesets','ciphertext','LIVESHARE_REQUEST_HOST','[UniverCollaborationClientPlugin]','_state$','USERS_LEAVE','roles','removeMember','registerHTTPInterceptor','formatter','cfg','_candidateSocket','/block/','message$','stopTime','userID','UnitSnapshot','_onConnectionOpen','clone','x-univer-host','PY_RUNTIME_SCRIPT_ERROR','RECV','location','BlockCipher','m2Prime','[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.','_imageSourceCache','getSheetBlock','_singleActiveUnitService','_onUserJoin','disposeWithMe','/object/','reconnect','/unit/','20388015QxFgxF','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','offline','_listenToNetworkCondition','createCollaborator','responseType','eventID','auth.needGotoLoginAlert','_clearUndo','_retryCount','getCollabEntity','memberID','find','_initCloseConn','YUUMI_RATE_OVER_LIMIT','executeCommand','_sheetTransformSelectionsService','sessionStatus','initWorkbookPermissionChange','updateCollaborator','_changesetSessionId','_doProcessBlock','SOCKET_FAILED_RETRY','_initRequestHeader','catch','_clearRetryConnectingTimer','event$','getMemberID','values','PasswordBasedCipher','fetchThroughInterceptors','indexOf','/universer-api/stream/file/upload','randomBytes','listCollaborators','onTransformIME','size','_iKey','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Error\x20on\x20receiving\x20event','put','loadDoc','[DataLoaderService]','readAsDataURL','_doFinalize','_remoteChangesetQueue','_isPermissionRej','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_process','min','CONFLICT','_startTelemetryCollaborationNewChangeset','_transitionLocked','getCurrentUser','fromCollab','unitId','_transformRemoteChangesetByStateCache','BASE64','[PendingState]:\x20received\x20acknowledgement.','_onLocalMutation','/resources','2613248QzduHC','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','get','_init','includes','map','_sendingTimer','ivSize','SHOULD_CLOSE_CONN','_map','_univerInstanceService','isArray','authzUrl','__esModule','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20rejection.','_parse','getRandomValues','retryConnectingInterval','slice','encryptBlock','/collaborator','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','finalize','dispose','_updateLocalCache','data','fromCharCode','_scheduleCompleteTimestamp','_startCollaboration','now','pad','_userManagerService','onRemoteRetry','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UnitEmbedded','getUnitId','_rescheduleHeartbeat','getUnitType','UNIVER_UNKNOWN','transformChangesets','decrypt','enableCollaboration','SUCCUSS','_sender','getRoom','UNIVER_COLLABORATION_CLIENT_PLUGIN','getAllMembers','string','onSendChangeset','editing\x20status\x20changed\x20to','_socketService','_telemetryInfo','_onOffline','href','_acknowledgedAwaitingChangeset','_getUndoStack'];_0x4f6f=function(){return _0x329915;};return _0x4f6f();}let Et=class extends st{constructor(_0x1ed4f4,_0x1f3f42,_0x35480b,_0x8905af,_0x52fd9c,_0x535729,_0x31d4a6,_0x33eb44,_0x20d440,_0x380a2,_0x8be0c9,_0x487c65,_0x20c3ff,_0x392f48){var _0x4791aa=_0x5a522f;super(_0x1ed4f4,_0x35480b,_0x1f3f42,_0x8905af,_0x52fd9c,_0x535729,_0x31d4a6,_0x20d440,_0x380a2,_0x8be0c9,_0x487c65,_0x20c3ff,_0x392f48),this[_0x4791aa(0x1ff)]=_0x1ed4f4,this['type']=_0x1f3f42,this[_0x4791aa(0x2cd)]=_0x33eb44;}[_0x5a522f(0x1cc)](){var _0x3679ae=_0x5a522f;const _0x4453fe=super[_0x3679ae(0x1cc)]();return _0x4453fe['onTransformSelections']=_0x244257=>this[_0x3679ae(0x2cd)][_0x3679ae(0x1b2)](_0x244257),_0x4453fe;}async['_init'](){var _0xf08443=_0x5a522f;const _0xa17395=await super[_0xf08443(0x2fd)]();return this[_0xf08443(0x2b9)](this[_0xf08443(0x16e)][_0xf08443(0x120)]((_0x5c9a1a,_0x2f7044)=>{var _0xc2bf3e=_0xf08443;if(_0x5c9a1a[_0xc2bf3e(0x24d)]!==_0x392d52[_0xc2bf3e(0x12f)]||_0x2f7044!=null&&_0x2f7044[_0xc2bf3e(0x2f3)]||_0x2f7044!=null&&_0x2f7044[_0xc2bf3e(0x38d)])return;const _0xe04fad=_0x5c9a1a[_0xc2bf3e(0x3af)];if((_0xe04fad==null?void 0x0:_0xe04fad['unitId'])!==this[_0xc2bf3e(0x1ff)])return;const _0x103088=_0x5c9a1a,_0x7ba71=this[_0xc2bf3e(0x116)]['interceptor'][_0xc2bf3e(0x2db)](this[_0xc2bf3e(0x116)][_0xc2bf3e(0xd9)]['getInterceptPoints']()[_0xc2bf3e(0x1eb)])([_0x103088],null)||[_0x103088];this[_0xc2bf3e(0x2f8)](_0x7ba71[0x0]);})),_0xa17395;}};Et=wt([H(0x3,_0x164bb8(_0x2db769)),H(0x4,_0x164bb8(_0x3aaaf3)),H(0x5,_0x164bb8(_0x3d4cd0)),H(0x6,_0x164bb8(_0xf44fc1)),H(0x7,_0x164bb8(it)),H(0x8,_0x164bb8(ve)),H(0x9,_0x572343),H(0xa,_0x40a05c),H(0xb,_0x39bc67),H(0xc,_0x473dd6(ht)),H(0xd,_0x473dd6(J))],Et);var zs=Object[_0x5a522f(0x180)],Js=(_0x1d9cb3,_0x5cf8b4,_0x1768ea,_0x1674b3)=>{var _0x3ac102=_0x5a522f;for(var _0x282fbf=_0x1674b3>0x1?void 0x0:_0x1674b3?zs(_0x5cf8b4,_0x1768ea):_0x5cf8b4,_0x306e36=_0x1d9cb3[_0x3ac102(0x240)]-0x1,_0x50f34e;_0x306e36>=0x0;_0x306e36--)(_0x50f34e=_0x1d9cb3[_0x306e36])&&(_0x282fbf=_0x50f34e(_0x282fbf)||_0x282fbf);return _0x282fbf;},Be=(_0x2d0d2e,_0x26ffa2)=>(_0x39d644,_0x230f69)=>_0x26ffa2(_0x39d644,_0x230f69,_0x2d0d2e);let nt=class extends _0x5a28f2{constructor(_0x297113,_0x20e921,_0x571bf8,_0x2c8ed7){var _0x4a893b=_0x5a522f,_0x2ea8b4;super(),N(this,_0x4a893b(0x38a),new Map()),N(this,_0x4a893b(0x1d1),new _0x4e2f51()),N(this,_0x4a893b(0x209),this[_0x4a893b(0x1d1)]['asObservable']()),(this[_0x4a893b(0x29a)]=_0x297113,this[_0x4a893b(0x123)]=_0x20e921,this[_0x4a893b(0x37c)]=_0x571bf8,this[_0x4a893b(0x304)]=_0x2c8ed7,((_0x2ea8b4=this[_0x4a893b(0x37c)][_0x4a893b(0x3a9)](K))==null?void 0x0:_0x2ea8b4[_0x4a893b(0x324)])!==!0x1&&this[_0x4a893b(0x2fd)]());}['dispose'](){var _0x1575c9=_0x5a522f;super[_0x1575c9(0x312)](),this['_entities'][_0x1575c9(0x352)](_0x390b9d=>_0x390b9d[_0x1575c9(0x312)]()),this[_0x1575c9(0x38a)][_0x1575c9(0x38b)]();}[_0x5a522f(0x2c7)](_0x52e9ac){var _0x20af10=_0x5a522f,_0x398b26;return(_0x398b26=this[_0x20af10(0x38a)][_0x20af10(0x2fc)](_0x52e9ac))!=null?_0x398b26:null;}[_0x5a522f(0x143)](_0x3d8a64){var _0x598455=_0x5a522f;const _0x1b4249=this[_0x598455(0x2c7)](_0x3d8a64);return _0x1b4249?_0x328e42(_0x1b4249):this[_0x598455(0x1d1)][_0x598455(0x1ca)](_0x5ed154(_0x42ea7c=>_0x42ea7c['unitID']===_0x3d8a64));}[_0x5a522f(0x1b0)](_0x2eef53){var _0x4dab77=_0x5a522f;return _0x21a135(this['getCollabEntity$'](_0x2eef53)[_0x4dab77(0x1ca)](_0x1ea422(()=>{})));}[_0x5a522f(0x2fd)](){var _0x1e6af9=_0x5a522f;this['_univerInstanceService'][_0x1e6af9(0x199)](_0x2f9604[_0x1e6af9(0x1ee)])[_0x1e6af9(0x1ca)](_0x41c137(this[_0x1e6af9(0x220)]),_0x4c98dd(0x10))['subscribe'](async _0x620ff1=>{var _0x5383d0=_0x1e6af9;const _0x3f578e=_0x620ff1[_0x5383d0(0x31e)](),_0x20cb69=await this['_startCollaboration'](_0x3f578e,Z[_0x5383d0(0x1ee)]);this[_0x5383d0(0x38a)][_0x5383d0(0x356)](_0x3f578e,_0x20cb69);}),this[_0x1e6af9(0x304)][_0x1e6af9(0x199)](_0x2f9604[_0x1e6af9(0x3be)])['pipe'](_0x41c137(this['dispose$']),_0x4c98dd(0x10))[_0x1e6af9(0x1ca)](_0x5ed154(_0x19530e=>!_0x19530e[_0x1e6af9(0x31e)]()['startsWith']('__')))[_0x1e6af9(0x17f)](async _0x5a27d6=>{var _0x16a6fd=_0x1e6af9;const _0x33785e=_0x5a27d6[_0x16a6fd(0x31e)](),_0x310316=await this[_0x16a6fd(0x317)](_0x33785e,Z[_0x16a6fd(0x3be)]);this[_0x16a6fd(0x38a)][_0x16a6fd(0x356)](_0x33785e,_0x310316);}),_0x3fc90a(this[_0x1e6af9(0x304)][_0x1e6af9(0x385)](_0x2f9604[_0x1e6af9(0x1ee)]),this[_0x1e6af9(0x304)][_0x1e6af9(0x385)](_0x2f9604[_0x1e6af9(0x3be)]))['pipe'](_0x41c137(this[_0x1e6af9(0x220)]))['subscribe'](_0x55b6f9=>{var _0x15038d=_0x1e6af9;const _0x4ea297=_0x55b6f9[_0x15038d(0x31e)](),_0x576786=this[_0x15038d(0x38a)][_0x15038d(0x2fc)](_0x4ea297);_0x576786&&(_0x576786[_0x15038d(0x312)](),this[_0x15038d(0x38a)][_0x15038d(0x18c)](_0x4ea297));});}async[_0x5a522f(0x317)](_0x3876cd,_0x12ea33){var _0x592ff0=_0x5a522f;const _0x402c6a=await this['_collabSessionService']['requireSession'](_0x3876cd),_0x56039e=this['_injector'][_0x592ff0(0x131)](this[_0x592ff0(0xd5)](_0x12ea33),_0x3876cd,_0x12ea33,_0x402c6a);return await _0x56039e[_0x592ff0(0x38f)](),this[_0x592ff0(0x1d1)][_0x592ff0(0x11a)](_0x56039e),_0x56039e;}[_0x5a522f(0xd5)](_0x22a9f3){var _0x4ef742=_0x5a522f;switch(_0x22a9f3){case Z[_0x4ef742(0x3be)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x22a9f3);}}};nt=Js([Be(0x0,_0x164bb8(_0x2db769)),Be(0x1,_0x164bb8(Me)),Be(0x2,_0x53b96a),Be(0x3,_0x5292c6)],nt);var Xs=Object[_0x5a522f(0x180)],Zs=(_0x1474dc,_0x19fc63,_0x5ac84c,_0x1fe9ff)=>{var _0xf8a406=_0x5a522f;for(var _0x1ec2dd=_0x1fe9ff>0x1?void 0x0:_0x1fe9ff?Xs(_0x19fc63,_0x5ac84c):_0x19fc63,_0x1092bb=_0x1474dc[_0xf8a406(0x240)]-0x1,_0x354e86;_0x1092bb>=0x0;_0x1092bb--)(_0x354e86=_0x1474dc[_0x1092bb])&&(_0x1ec2dd=_0x354e86(_0x1ec2dd)||_0x1ec2dd);return _0x1ec2dd;},Yt=(_0xcb95d4,_0x104255)=>(_0x3f0a98,_0x50ff5e)=>_0x104255(_0x3f0a98,_0x50ff5e,_0xcb95d4);const Qs=_0x5a522f(0xdf),en='Univer';let It=class extends _0x16bcbc{constructor(_0x1dd1e8,_0x40ffde){var _0x5168e6=_0x5a522f;super(),this[_0x5168e6(0x304)]=_0x1dd1e8,this['_configService']=_0x40ffde,this['_init']();}[_0x5a522f(0x2fd)](){var _0x1684b6=_0x5a522f;this[_0x1684b6(0x2b9)](this[_0x1684b6(0x304)][_0x1684b6(0x15d)][_0x1684b6(0x17f)](()=>{var _0x297c58=_0x1684b6,_0x4a41fe;const _0x203721=this[_0x297c58(0x304)]['getFocusedUnit']();let _0x978756=(_0x4a41fe=this[_0x297c58(0x37c)][_0x297c58(0x3a9)](Qs))!=null?_0x4a41fe:en;_0x203721 instanceof _0x1ef9e2&&(_0x978756=_0x203721['name']),document[_0x297c58(0x178)]=_0x978756;}));}};It=Zs([Yt(0x0,_0x5292c6),Yt(0x1,_0x53b96a)],It);var tn=Object[_0x5a522f(0x180)],sn=(_0x3d8af6,_0x188443,_0x541ed9,_0x5470d5)=>{var _0x81a203=_0x5a522f;for(var _0x208fda=_0x5470d5>0x1?void 0x0:_0x5470d5?tn(_0x188443,_0x541ed9):_0x188443,_0x5459da=_0x3d8af6[_0x81a203(0x240)]-0x1,_0x31462a;_0x5459da>=0x0;_0x5459da--)(_0x31462a=_0x3d8af6[_0x5459da])&&(_0x208fda=_0x31462a(_0x208fda)||_0x208fda);return _0x208fda;},dt=(_0x561924,_0x3c9c47)=>(_0x20899c,_0x5d2582)=>_0x3c9c47(_0x20899c,_0x5d2582,_0x561924);let rt=class{constructor(_0x22ae2d,_0x31f411,_0x444af8){var _0xd37368=_0x5a522f;this[_0xd37368(0x37c)]=_0x22ae2d,this['_httpService']=_0x31f411,this[_0xd37368(0x10d)]=_0x444af8,this[_0xd37368(0x38f)]();}[_0x5a522f(0x38f)](){var _0x461bbe=_0x5a522f;this['_httpService'][_0x461bbe(0x2a3)]({'priority':0x1,'interceptor':(_0x4a62c1,_0x352624)=>_0x352624(_0x4a62c1)['pipe'](_0x12277d(async _0xb3c6e7=>{var _0x37bd7f=_0x461bbe;const _0x26ba29=_0xb3c6e7;if(_0x26ba29[_0x37bd7f(0x19d)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x37bd7f(0x10d)]['t'](_0x37bd7f(0x2c4)))){const _0x12e601=window[_0x37bd7f(0xfd)](window[_0x37bd7f(0x2b1)][_0x37bd7f(0x330)]);window[_0x37bd7f(0x2b1)][_0x37bd7f(0x330)]=this[_0x37bd7f(0x25c)]()+'?url='+_0x12e601;}}return _0x26ba29;}))});}[_0x5a522f(0x25c)](){var _0x26543c=_0x5a522f,_0x2276eb;const _0x5fe7ae=this['_configService'][_0x26543c(0x3a9)](K);return(_0x2276eb=_0x5fe7ae==null?void 0x0:_0x5fe7ae[_0x26543c(0xe0)])!=null?_0x2276eb:Rs;}};rt=sn([dt(0x0,_0x53b96a),dt(0x1,_0x164bb8(_0x2cbb4d)),dt(0x2,_0x164bb8(_0x3d4cd0))],rt);var nn=Object[_0x5a522f(0x180)],rn=(_0x140f1c,_0x4047df,_0xf29e96,_0x5de736)=>{var _0x182e65=_0x5a522f;for(var _0x305e6d=_0x5de736>0x1?void 0x0:_0x5de736?nn(_0x4047df,_0xf29e96):_0x4047df,_0x5efa40=_0x140f1c[_0x182e65(0x240)]-0x1,_0x49d428;_0x5efa40>=0x0;_0x5efa40--)(_0x49d428=_0x140f1c[_0x5efa40])&&(_0x305e6d=_0x49d428(_0x305e6d)||_0x305e6d);return _0x305e6d;},Kt=(_0x1bfe89,_0xb8b997)=>(_0x1200f9,_0x3882e6)=>_0xb8b997(_0x1200f9,_0x3882e6,_0x1bfe89);const an=_0x5a522f(0xdd);let Tt=class extends _0x16bcbc{constructor(_0x516711,_0x5ec406){var _0x103139=_0x5a522f;super(),this[_0x103139(0x1db)]=_0x516711,this[_0x103139(0x37c)]=_0x5ec406,this['_initMergeInterceptor']();}[_0x5a522f(0x140)](){var _0x246724=_0x5a522f;const _0x5224c5=this;this[_0x246724(0x2b9)](this[_0x246724(0x1db)][_0x246724(0x2a3)]({'priority':0x3e7,'interceptor':_0x4aec1d({'isMatch'(_0x55f115){var _0x11f7e6=_0x246724,_0x26493f;if(_0x55f115[_0x11f7e6(0xe5)]===_0x11f7e6(0x172)&&((_0x26493f=_0x55f115['requestParams'])!=null&&_0x26493f[_0x11f7e6(0x1d4)])){const {objectID:_0x5a76c6,objectType:_0x5575e5}=_0x55f115['requestParams']['body']||{};if(!_0x5a76c6||_0x5575e5===void 0x0)return!0x1;const _0x52f76a=_0x5224c5[_0x11f7e6(0x285)]()+'/'+_0x5575e5+_0x11f7e6(0x2ba)+_0x5a76c6+_0x11f7e6(0xf4);if(_0x55f115[_0x11f7e6(0x122)]===_0x52f76a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34de95){var _0x47e88d=_0x246724,_0x3ae02b;return(_0x3ae02b=_0x34de95['requestParams'])==null?void 0x0:_0x3ae02b[_0x47e88d(0x1d4)];},'mergeParamsToRequest'(_0x36b869,_0x3ee507){var _0x33b1e0=_0x246724;const _0x38934e=_0x5224c5['_getAPIPrefixPath']()+_0x33b1e0(0x20b),_0x104966=_0x36b869[_0x33b1e0(0x36d)]((_0x252232,_0x22d12f)=>{var _0x523664=_0x33b1e0;const {unitID:_0x3eb161,objectID:_0x451235,objectType:_0x574130,actions:_0xfb506c}=_0x22d12f;return _0x252232[_0x3eb161]||(_0x252232[_0x3eb161]={}),_0x252232[_0x3eb161][_0x451235]||(_0x252232[_0x3eb161][_0x451235]={'objectID':_0x451235,'objectType':_0x574130,'actions':[]}),_0x252232[_0x3eb161][_0x451235][_0x523664(0x1e8)]['push'](..._0xfb506c),_0x252232;},{}),_0x2ede51=[];for(const _0x317765 in _0x104966)for(const _0x1b5cf0 in _0x104966[_0x317765]){const {actions:_0x27b6ae,objectType:_0x4445a1}=_0x104966[_0x317765][_0x1b5cf0],_0x6cf60e=[...new Set(_0x27b6ae)];_0x2ede51[_0x33b1e0(0x371)]({'unitID':_0x317765,'objectID':_0x1b5cf0,'objectType':_0x4445a1,'actions':_0x6cf60e});}return new _0x30121e(_0x33b1e0(0x172),_0x38934e,{'headers':_0x3ee507[_0x33b1e0(0x295)],'withCredentials':_0x3ee507[_0x33b1e0(0x293)],'responseType':_0x3ee507[_0x33b1e0(0x2c2)],'body':{'requests':_0x2ede51}});}},{'distributeResult'(_0x3a3043,_0x500545){var _0x24d1d2=_0x246724;const {objectActions:_0x42e498}=_0x3a3043;return _0x500545[_0x24d1d2(0x2ff)](_0x174430=>{var _0x26be65=_0x24d1d2;const {unitID:_0x346d6d,objectID:_0x5f34fe,actions:_0x43ae2c}=_0x174430,_0x45efca=_0x42e498[_0x26be65(0x2c9)](_0x398e47=>_0x398e47[_0x26be65(0x1ff)]===_0x346d6d&&_0x398e47[_0x26be65(0x366)]===_0x5f34fe),_0x11f79d=_0x43ae2c['map'](_0x2356ea=>_0x45efca==null?void 0x0:_0x45efca[_0x26be65(0x1e8)][_0x26be65(0x2c9)](_0x1f1c35=>_0x1f1c35['action']===_0x2356ea))[_0x26be65(0x182)](_0x595169=>!!_0x595169);return{'config':_0x174430,'result':{'actions':_0x11f79d,'error':_0x3a3043[_0x26be65(0xec)]}};});}})}));}[_0x5a522f(0x285)](){var _0x4cf732=_0x5a522f,_0x5d21cc;const _0x1f9ae3=this[_0x4cf732(0x37c)]['getConfig'](K);return(_0x5d21cc=_0x1f9ae3==null?void 0x0:_0x1f9ae3[_0x4cf732(0x306)])!=null?_0x5d21cc:an;}async['create'](_0x24c347){var _0x3b1426=_0x5a522f;const _0x435745=this['_getAPIPrefixPath']()+'/'+_0x24c347['objectType']+_0x3b1426(0x119);return(await this[_0x3b1426(0x1db)][_0x3b1426(0x191)](_0x435745,{'body':_0x24c347}))[_0x3b1426(0x1d4)]['objectID']||'';}async[_0x5a522f(0x1fb)](_0x10e082){var _0x501ff1=_0x5a522f;const _0x5f4209=this['_getAPIPrefixPath']()+_0x501ff1(0x3a8);return(await this['_HTTPService'][_0x501ff1(0x191)](_0x5f4209,{'body':_0x10e082}))[_0x501ff1(0x1d4)][_0x501ff1(0x1c5)];}async[_0x5a522f(0x271)](_0x270ef8){var _0x439904=_0x5a522f,_0x24eadb,_0x473a2e;const _0x36ba47=this['_getAPIPrefixPath']()+'/'+_0x270ef8[_0x439904(0x1d5)]+_0x439904(0x2ba)+_0x270ef8[_0x439904(0x366)],_0x23686b=await this[_0x439904(0x1db)]['put'](_0x36ba47,{'body':_0x270ef8});if(((_0x473a2e=(_0x24eadb=_0x23686b==null?void 0x0:_0x23686b[_0x439904(0x1d4)])==null?void 0x0:_0x24eadb[_0x439904(0xec)])==null?void 0x0:_0x473a2e['code'])!==0x1)throw new Error(_0x439904(0x1f0));}async['allowed'](_0x568a13){var _0x116c3e=_0x5a522f;const _0x4922bf=this['_getAPIPrefixPath']()+'/'+_0x568a13[_0x116c3e(0x1d5)]+_0x116c3e(0x2ba)+_0x568a13[_0x116c3e(0x366)]+_0x116c3e(0xf4);return(await this[_0x116c3e(0x1db)]['post'](_0x4922bf,{'body':_0x568a13}))[_0x116c3e(0x1d4)][_0x116c3e(0x1e8)];}async['batchAllowed'](_0xee677b){var _0x31c268=_0x5a522f;const _0x4ddc7b=this[_0x31c268(0x285)]()+_0x31c268(0x20b);return(await this[_0x31c268(0x1db)][_0x31c268(0x191)](_0x4ddc7b,{'body':{'requests':_0xee677b}}))[_0x31c268(0x1d4)]['objectActions'];}async[_0x5a522f(0x13c)](_0x657b3a){var _0x1bc053=_0x5a522f;const _0x11aabf=this[_0x1bc053(0x285)]()+'/'+_0x657b3a[_0x1bc053(0x1d5)]+_0x1bc053(0x273),_0x56c5e1=await this[_0x1bc053(0x1db)][_0x1bc053(0x191)](_0x11aabf,{'body':_0x657b3a});return{'roles':_0x56c5e1['body'][_0x1bc053(0x2a1)],'actions':_0x56c5e1[_0x1bc053(0x1d4)][_0x1bc053(0x1e8)]};}async['deleteCollaborator'](_0xd4a260){var _0x16d01e=_0x5a522f;const _0x589ceb=this[_0x16d01e(0x285)]()+_0x16d01e(0x30f);await this[_0x16d01e(0x1db)][_0x16d01e(0x18c)](_0x589ceb,{'params':{'collaboratorID':_0xd4a260[_0x16d01e(0x192)],'objectID':_0xd4a260[_0x16d01e(0x366)],'unitID':_0xd4a260['unitID']}});}async[_0x5a522f(0x2d0)](_0x4379bf){var _0x294de9=_0x5a522f;const _0x296eb0=this['_getAPIPrefixPath']()+_0x294de9(0x30f);await this['_HTTPService']['patch'](_0x296eb0,{'body':_0x4379bf});}async[_0x5a522f(0x2c1)](_0x753467){var _0x298815=_0x5a522f;const _0x5458de=this['_getAPIPrefixPath']()+_0x298815(0x30f);await this[_0x298815(0x1db)][_0x298815(0x191)](_0x5458de,{'body':_0x753467});}async[_0x5a522f(0x2df)](_0x3bfa9e){var _0x47cfbf=_0x5a522f;const _0x47f02d=this['_getAPIPrefixPath']()+_0x47cfbf(0x30f);return(await this[_0x47cfbf(0x1db)][_0x47cfbf(0x2fc)](_0x47f02d,{'params':{'objectID':_0x3bfa9e[_0x47cfbf(0x366)],'unitID':_0x3bfa9e[_0x47cfbf(0x1ff)]}}))[_0x47cfbf(0x1d4)]['collaborators'];}async[_0x5a522f(0x35a)](_0x1311d4){var _0x4649f6=_0x5a522f;const _0x1537c1=this[_0x4649f6(0x285)]()+_0x4649f6(0x30f);await this[_0x4649f6(0x1db)][_0x4649f6(0x2e5)](_0x1537c1,{'body':_0x1311d4});}};Tt=rn([Kt(0x0,_0x164bb8(_0x2cbb4d)),Kt(0x1,_0x164bb8(_0x53b96a))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xda8b85){var _0x28961a=_0x5a522f;return _0xda8b85&&_0xda8b85[_0x28961a(0x307)]&&Object[_0x28961a(0x129)][_0x28961a(0x282)][_0x28961a(0x24a)](_0xda8b85,'default')?_0xda8b85[_0x28961a(0x37f)]:_0xda8b85;}var Ve={'exports':{}};function on(_0x5f082f){var _0x4643b7=_0x5a522f;throw new Error(_0x4643b7(0x237)+_0x5f082f+_0x4643b7(0x3ac));}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x2d945c=_0x5a522f;return qt||(qt=0x1,function(_0x472833,_0x3b0fd2){(function(_0x4e7df9,_0x2c859d){var _0x3642ad=_0x116b;_0x472833[_0x3642ad(0x1c7)]=_0x2c859d();}(cn,function(){var _0x4bf576=_0x4bf576||function(_0x4c94e7,_0xc91b5c){var _0xe1e71c=_0x116b,_0x32eb2a;if(typeof window<'u'&&window[_0xe1e71c(0x12e)]&&(_0x32eb2a=window[_0xe1e71c(0x12e)]),typeof self<'u'&&self[_0xe1e71c(0x12e)]&&(_0x32eb2a=self['crypto']),typeof globalThis<'u'&&globalThis[_0xe1e71c(0x12e)]&&(_0x32eb2a=globalThis[_0xe1e71c(0x12e)]),!_0x32eb2a&&typeof window<'u'&&window['msCrypto']&&(_0x32eb2a=window[_0xe1e71c(0x266)]),!_0x32eb2a&&typeof ft<'u'&&ft['crypto']&&(_0x32eb2a=ft[_0xe1e71c(0x12e)]),!_0x32eb2a&&typeof on=='function')try{_0x32eb2a=require('crypto');}catch{}var _0x4d5999=function(){var _0x41ae72=_0xe1e71c;if(_0x32eb2a){if(typeof _0x32eb2a[_0x41ae72(0x30b)]==_0x41ae72(0x1a5))try{return _0x32eb2a['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x32eb2a['randomBytes']==_0x41ae72(0x1a5))try{return _0x32eb2a[_0x41ae72(0x2de)](0x4)[_0x41ae72(0x1a4)]();}catch{}}throw new Error(_0x41ae72(0x31c));},_0x246558=Object[_0xe1e71c(0x15c)]||(function(){function _0x48d654(){}return function(_0x59964c){var _0x323799=_0x116b,_0x6abdc2;return _0x48d654[_0x323799(0x129)]=_0x59964c,_0x6abdc2=new _0x48d654(),_0x48d654[_0x323799(0x129)]=null,_0x6abdc2;};}()),_0x548d06={},_0x36db73=_0x548d06[_0xe1e71c(0x1c9)]={},_0x12cc79=_0x36db73[_0xe1e71c(0x1b6)]=(function(){return{'extend':function(_0x309bdd){var _0x2bdd10=_0x116b,_0xb9b805=_0x246558(this);return _0x309bdd&&_0xb9b805[_0x2bdd10(0x1a7)](_0x309bdd),(!_0xb9b805['hasOwnProperty'](_0x2bdd10(0x38f))||this[_0x2bdd10(0x38f)]===_0xb9b805['init'])&&(_0xb9b805['init']=function(){var _0xf9a0bf=_0x2bdd10;_0xb9b805['$super'][_0xf9a0bf(0x38f)][_0xf9a0bf(0x20f)](this,arguments);}),_0xb9b805[_0x2bdd10(0x38f)][_0x2bdd10(0x129)]=_0xb9b805,_0xb9b805[_0x2bdd10(0x357)]=this,_0xb9b805;},'create':function(){var _0xd8bcf8=_0x116b,_0x482320=this[_0xd8bcf8(0x14d)]();return _0x482320[_0xd8bcf8(0x38f)]['apply'](_0x482320,arguments),_0x482320;},'init':function(){},'mixIn':function(_0x1ae7f8){var _0x5c2f43=_0x116b;for(var _0x429c61 in _0x1ae7f8)_0x1ae7f8[_0x5c2f43(0x282)](_0x429c61)&&(this[_0x429c61]=_0x1ae7f8[_0x429c61]);_0x1ae7f8[_0x5c2f43(0x282)](_0x5c2f43(0x277))&&(this[_0x5c2f43(0x277)]=_0x1ae7f8['toString']);},'clone':function(){var _0x4eca26=_0x116b;return this[_0x4eca26(0x38f)][_0x4eca26(0x129)][_0x4eca26(0x14d)](this);}};}()),_0x3053af=_0x36db73[_0xe1e71c(0x399)]=_0x12cc79['extend']({'init':function(_0x359e2,_0x25d4d9){var _0x5c00d8=_0xe1e71c;_0x359e2=this[_0x5c00d8(0x28f)]=_0x359e2||[],_0x25d4d9!=_0xc91b5c?this[_0x5c00d8(0x349)]=_0x25d4d9:this[_0x5c00d8(0x349)]=_0x359e2['length']*0x4;},'toString':function(_0xf76dfa){var _0x5036a1=_0xe1e71c;return(_0xf76dfa||_0x35e117)[_0x5036a1(0x1ec)](this);},'concat':function(_0x4620bd){var _0x1b6a1d=_0xe1e71c,_0x857333=this[_0x1b6a1d(0x28f)],_0x3d242e=_0x4620bd[_0x1b6a1d(0x28f)],_0x5b535f=this[_0x1b6a1d(0x349)],_0x542b5d=_0x4620bd[_0x1b6a1d(0x349)];if(this[_0x1b6a1d(0x364)](),_0x5b535f%0x4)for(var _0x4ed133=0x0;_0x4ed133<_0x542b5d;_0x4ed133++){var _0x4e5294=_0x3d242e[_0x4ed133>>>0x2]>>>0x18-_0x4ed133%0x4*0x8&0xff;_0x857333[_0x5b535f+_0x4ed133>>>0x2]|=_0x4e5294<<0x18-(_0x5b535f+_0x4ed133)%0x4*0x8;}else{for(var _0x128c12=0x0;_0x128c12<_0x542b5d;_0x128c12+=0x4)_0x857333[_0x5b535f+_0x128c12>>>0x2]=_0x3d242e[_0x128c12>>>0x2];}return this['sigBytes']+=_0x542b5d,this;},'clamp':function(){var _0x419413=_0xe1e71c,_0x23631d=this[_0x419413(0x28f)],_0x2698ba=this[_0x419413(0x349)];_0x23631d[_0x2698ba>>>0x2]&=0xffffffff<<0x20-_0x2698ba%0x4*0x8,_0x23631d[_0x419413(0x240)]=_0x4c94e7[_0x419413(0x1ef)](_0x2698ba/0x4);},'clone':function(){var _0x4cddc9=_0xe1e71c,_0x3487a9=_0x12cc79[_0x4cddc9(0x2ad)][_0x4cddc9(0x24a)](this);return _0x3487a9['words']=this['words'][_0x4cddc9(0x30d)](0x0),_0x3487a9;},'random':function(_0x21e7e1){var _0x24fbde=_0xe1e71c;for(var _0x4c393f=[],_0x341b42=0x0;_0x341b42<_0x21e7e1;_0x341b42+=0x4)_0x4c393f[_0x24fbde(0x371)](_0x4d5999());return new _0x3053af['init'](_0x4c393f,_0x21e7e1);}}),_0x46a985=_0x548d06['enc']={},_0x35e117=_0x46a985[_0xe1e71c(0x3bd)]={'stringify':function(_0x53ecd1){var _0x5249de=_0xe1e71c;for(var _0x29f47b=_0x53ecd1['words'],_0x117c50=_0x53ecd1[_0x5249de(0x349)],_0xe1e150=[],_0x5b46dd=0x0;_0x5b46dd<_0x117c50;_0x5b46dd++){var _0x367b0f=_0x29f47b[_0x5b46dd>>>0x2]>>>0x18-_0x5b46dd%0x4*0x8&0xff;_0xe1e150[_0x5249de(0x371)]((_0x367b0f>>>0x4)[_0x5249de(0x277)](0x10)),_0xe1e150[_0x5249de(0x371)]((_0x367b0f&0xf)['toString'](0x10));}return _0xe1e150[_0x5249de(0x235)]('');},'parse':function(_0x20b002){var _0x167e0b=_0xe1e71c;for(var _0x2aeb76=_0x20b002[_0x167e0b(0x240)],_0x5c4f90=[],_0x25fa0a=0x0;_0x25fa0a<_0x2aeb76;_0x25fa0a+=0x2)_0x5c4f90[_0x25fa0a>>>0x3]|=parseInt(_0x20b002[_0x167e0b(0x251)](_0x25fa0a,0x2),0x10)<<0x18-_0x25fa0a%0x8*0x4;return new _0x3053af[(_0x167e0b(0x38f))](_0x5c4f90,_0x2aeb76/0x2);}},_0x245e34=_0x46a985[_0xe1e71c(0x37b)]={'stringify':function(_0x3ca8d0){var _0x3c9f33=_0xe1e71c;for(var _0x7e59a1=_0x3ca8d0[_0x3c9f33(0x28f)],_0x16e30d=_0x3ca8d0[_0x3c9f33(0x349)],_0x2382ec=[],_0x334a75=0x0;_0x334a75<_0x16e30d;_0x334a75++){var _0x5b66c4=_0x7e59a1[_0x334a75>>>0x2]>>>0x18-_0x334a75%0x4*0x8&0xff;_0x2382ec[_0x3c9f33(0x371)](String[_0x3c9f33(0x315)](_0x5b66c4));}return _0x2382ec[_0x3c9f33(0x235)]('');},'parse':function(_0x47c939){var _0x2ae365=_0xe1e71c;for(var _0x2f3627=_0x47c939['length'],_0x3d67c5=[],_0x2ef01b=0x0;_0x2ef01b<_0x2f3627;_0x2ef01b++)_0x3d67c5[_0x2ef01b>>>0x2]|=(_0x47c939[_0x2ae365(0x333)](_0x2ef01b)&0xff)<<0x18-_0x2ef01b%0x4*0x8;return new _0x3053af['init'](_0x3d67c5,_0x2f3627);}},_0x5958e7=_0x46a985[_0xe1e71c(0xd3)]={'stringify':function(_0x11f0bc){var _0x3fa25c=_0xe1e71c;try{return decodeURIComponent(escape(_0x245e34[_0x3fa25c(0x1ec)](_0x11f0bc)));}catch{throw new Error(_0x3fa25c(0x12a));}},'parse':function(_0x5eff40){var _0x18b804=_0xe1e71c;return _0x245e34[_0x18b804(0x3b7)](unescape(encodeURIComponent(_0x5eff40)));}},_0x306816=_0x36db73[_0xe1e71c(0x382)]=_0x12cc79['extend']({'reset':function(){var _0x56bebc=_0xe1e71c;this[_0x56bebc(0x202)]=new _0x3053af[(_0x56bebc(0x38f))](),this[_0x56bebc(0xdc)]=0x0;},'_append':function(_0x4975a8){var _0x5d7ead=_0xe1e71c;typeof _0x4975a8==_0x5d7ead(0x32a)&&(_0x4975a8=_0x5958e7[_0x5d7ead(0x3b7)](_0x4975a8)),this[_0x5d7ead(0x202)][_0x5d7ead(0x213)](_0x4975a8),this[_0x5d7ead(0xdc)]+=_0x4975a8[_0x5d7ead(0x349)];},'_process':function(_0xd9ce5a){var _0x1bc0f8=_0xe1e71c,_0x577086,_0x3f8114=this[_0x1bc0f8(0x202)],_0x46a520=_0x3f8114[_0x1bc0f8(0x28f)],_0x288a53=_0x3f8114[_0x1bc0f8(0x349)],_0x417967=this[_0x1bc0f8(0x3ab)],_0x43e8d3=_0x417967*0x4,_0x473f84=_0x288a53/_0x43e8d3;_0xd9ce5a?_0x473f84=_0x4c94e7[_0x1bc0f8(0x1ef)](_0x473f84):_0x473f84=_0x4c94e7[_0x1bc0f8(0x21e)]((_0x473f84|0x0)-this[_0x1bc0f8(0x225)],0x0);var _0x2e595e=_0x473f84*_0x417967,_0x5be9ac=_0x4c94e7[_0x1bc0f8(0x2ee)](_0x2e595e*0x4,_0x288a53);if(_0x2e595e){for(var _0x193450=0x0;_0x193450<_0x2e595e;_0x193450+=_0x417967)this[_0x1bc0f8(0x2d2)](_0x46a520,_0x193450);_0x577086=_0x46a520[_0x1bc0f8(0x3b5)](0x0,_0x2e595e),_0x3f8114[_0x1bc0f8(0x349)]-=_0x5be9ac;}return new _0x3053af[(_0x1bc0f8(0x38f))](_0x577086,_0x5be9ac);},'clone':function(){var _0x232b05=_0xe1e71c,_0x577500=_0x12cc79['clone'][_0x232b05(0x24a)](this);return _0x577500[_0x232b05(0x202)]=this[_0x232b05(0x202)]['clone'](),_0x577500;},'_minBufferSize':0x0});_0x36db73[_0xe1e71c(0x397)]=_0x306816[_0xe1e71c(0x14d)]({'cfg':_0x12cc79[_0xe1e71c(0x14d)](),'init':function(_0x9d5a50){var _0x3b58d6=_0xe1e71c;this[_0x3b58d6(0x2a5)]=this[_0x3b58d6(0x2a5)][_0x3b58d6(0x14d)](_0x9d5a50),this[_0x3b58d6(0x25a)]();},'reset':function(){var _0x501621=_0xe1e71c;_0x306816[_0x501621(0x25a)][_0x501621(0x24a)](this),this[_0x501621(0xdb)]();},'update':function(_0x1e15e9){var _0x4af5fe=_0xe1e71c;return this[_0x4af5fe(0x398)](_0x1e15e9),this[_0x4af5fe(0x2ed)](),this;},'finalize':function(_0x111777){var _0x5b8d66=_0xe1e71c;_0x111777&&this[_0x5b8d66(0x398)](_0x111777);var _0x4a6263=this[_0x5b8d66(0x2e9)]();return _0x4a6263;},'blockSize':0x10,'_createHelper':function(_0x5c646e){return function(_0x2c0622,_0x32a1a2){var _0x7e17e=_0x116b;return new _0x5c646e[(_0x7e17e(0x38f))](_0x32a1a2)[_0x7e17e(0x311)](_0x2c0622);};},'_createHmacHelper':function(_0x4449ea){return function(_0x3b6bb0,_0x340d79){var _0x426b40=_0x116b;return new _0x38dd9e['HMAC'][(_0x426b40(0x38f))](_0x4449ea,_0x340d79)['finalize'](_0x3b6bb0);};}});var _0x38dd9e=_0x548d06[_0xe1e71c(0x39a)]={};return _0x548d06;}(Math);return _0x4bf576;}));}(We)),We[_0x2d945c(0x1c7)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x105b38=_0x5a522f;return zt||(zt=0x1,function(_0x4943b1,_0x2d7fb2){(function(_0xf85d79,_0x1e34c1){_0x4943b1['exports']=_0x1e34c1(te());}(hn,function(_0x54244b){var _0x52a007=_0x116b;return(function(){var _0x1a2488=_0x116b,_0x9eed98=_0x54244b,_0xb69031=_0x9eed98['lib'],_0x2b447d=_0xb69031[_0x1a2488(0x399)],_0x499e44=_0x9eed98[_0x1a2488(0x1f6)];_0x499e44[_0x1a2488(0x200)]={'stringify':function(_0x4d0b16){var _0x1a0290=_0x1a2488,_0x18b41b=_0x4d0b16[_0x1a0290(0x28f)],_0x21471f=_0x4d0b16['sigBytes'],_0x5b3268=this['_map'];_0x4d0b16['clamp']();for(var _0x36c611=[],_0x2b94c6=0x0;_0x2b94c6<_0x21471f;_0x2b94c6+=0x3)for(var _0x4a1252=_0x18b41b[_0x2b94c6>>>0x2]>>>0x18-_0x2b94c6%0x4*0x8&0xff,_0x319a85=_0x18b41b[_0x2b94c6+0x1>>>0x2]>>>0x18-(_0x2b94c6+0x1)%0x4*0x8&0xff,_0x16ad10=_0x18b41b[_0x2b94c6+0x2>>>0x2]>>>0x18-(_0x2b94c6+0x2)%0x4*0x8&0xff,_0x184e0e=_0x4a1252<<0x10|_0x319a85<<0x8|_0x16ad10,_0x52dc86=0x0;_0x52dc86<0x4&&_0x2b94c6+_0x52dc86*0.75<_0x21471f;_0x52dc86++)_0x36c611[_0x1a0290(0x371)](_0x5b3268[_0x1a0290(0x138)](_0x184e0e>>>0x6*(0x3-_0x52dc86)&0x3f));var _0x5a8694=_0x5b3268['charAt'](0x40);if(_0x5a8694){for(;_0x36c611[_0x1a0290(0x240)]%0x4;)_0x36c611[_0x1a0290(0x371)](_0x5a8694);}return _0x36c611[_0x1a0290(0x235)]('');},'parse':function(_0x396623){var _0x1aad8f=_0x1a2488,_0x576a61=_0x396623[_0x1aad8f(0x240)],_0x41331f=this[_0x1aad8f(0x303)],_0x255176=this[_0x1aad8f(0x3bf)];if(!_0x255176){_0x255176=this['_reverseMap']=[];for(var _0x5c48f6=0x0;_0x5c48f6<_0x41331f[_0x1aad8f(0x240)];_0x5c48f6++)_0x255176[_0x41331f[_0x1aad8f(0x333)](_0x5c48f6)]=_0x5c48f6;}var _0x7c2063=_0x41331f[_0x1aad8f(0x138)](0x40);if(_0x7c2063){var _0x256e7b=_0x396623[_0x1aad8f(0x2dc)](_0x7c2063);_0x256e7b!==-0x1&&(_0x576a61=_0x256e7b);}return _0x24a5f6(_0x396623,_0x576a61,_0x255176);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x24a5f6(_0xc61544,_0x50591d,_0x53ce66){var _0x56a149=_0x1a2488;for(var _0x5a22de=[],_0x10b1bb=0x0,_0x1f25c4=0x0;_0x1f25c4<_0x50591d;_0x1f25c4++)if(_0x1f25c4%0x4){var _0x590860=_0x53ce66[_0xc61544[_0x56a149(0x333)](_0x1f25c4-0x1)]<<_0x1f25c4%0x4*0x2,_0x1ec4ff=_0x53ce66[_0xc61544['charCodeAt'](_0x1f25c4)]>>>0x6-_0x1f25c4%0x4*0x2,_0x4dad52=_0x590860|_0x1ec4ff;_0x5a22de[_0x10b1bb>>>0x2]|=_0x4dad52<<0x18-_0x10b1bb%0x4*0x8,_0x10b1bb++;}return _0x2b447d[_0x56a149(0x15c)](_0x5a22de,_0x10b1bb);}}()),_0x54244b[_0x52a007(0x1f6)][_0x52a007(0x200)];}));}(Ge)),Ge[_0x105b38(0x1c7)];}var Ye={'exports':{}},_n=Ye['exports'],Jt;function ln(){var _0x1a9541=_0x5a522f;return Jt||(Jt=0x1,function(_0x149634,_0xd5e632){(function(_0x1edcb0,_0x568abc){var _0x37911d=_0x116b;_0x149634[_0x37911d(0x1c7)]=_0x568abc(te());}(_n,function(_0x456e28){var _0x59cb6b=_0x116b;return function(_0x495d9c){var _0x4ada19=_0x116b,_0x4449af=_0x456e28,_0x2936e9=_0x4449af[_0x4ada19(0x1c9)],_0x130a03=_0x2936e9[_0x4ada19(0x399)],_0x4e50ff=_0x2936e9['Hasher'],_0x55de6f=_0x4449af[_0x4ada19(0x39a)],_0x4d8ced=[];(function(){var _0x1151b8=_0x4ada19;for(var _0x41857f=0x0;_0x41857f<0x40;_0x41857f++)_0x4d8ced[_0x41857f]=_0x495d9c[_0x1151b8(0xf9)](_0x495d9c[_0x1151b8(0x26d)](_0x41857f+0x1))*0x100000000|0x0;}());var _0x29ceee=_0x55de6f[_0x4ada19(0x11b)]=_0x4e50ff['extend']({'_doReset':function(){var _0x441688=_0x4ada19;this[_0x441688(0x150)]=new _0x130a03[(_0x441688(0x38f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xb820ed,_0x37e5a6){var _0x410555=_0x4ada19;for(var _0x3a4bbd=0x0;_0x3a4bbd<0x10;_0x3a4bbd++){var _0x2481db=_0x37e5a6+_0x3a4bbd,_0x2472f4=_0xb820ed[_0x2481db];_0xb820ed[_0x2481db]=(_0x2472f4<<0x8|_0x2472f4>>>0x18)&0xff00ff|(_0x2472f4<<0x18|_0x2472f4>>>0x8)&0xff00ff00;}var _0x103619=this[_0x410555(0x150)][_0x410555(0x28f)],_0x1b4dd2=_0xb820ed[_0x37e5a6+0x0],_0x10a2ef=_0xb820ed[_0x37e5a6+0x1],_0x565d8b=_0xb820ed[_0x37e5a6+0x2],_0x128b46=_0xb820ed[_0x37e5a6+0x3],_0x38fdd5=_0xb820ed[_0x37e5a6+0x4],_0x23f71f=_0xb820ed[_0x37e5a6+0x5],_0x1f0213=_0xb820ed[_0x37e5a6+0x6],_0x330695=_0xb820ed[_0x37e5a6+0x7],_0x283d08=_0xb820ed[_0x37e5a6+0x8],_0x4af005=_0xb820ed[_0x37e5a6+0x9],_0x313cf9=_0xb820ed[_0x37e5a6+0xa],_0x7dfd54=_0xb820ed[_0x37e5a6+0xb],_0xd81b43=_0xb820ed[_0x37e5a6+0xc],_0x697868=_0xb820ed[_0x37e5a6+0xd],_0x489072=_0xb820ed[_0x37e5a6+0xe],_0x1aba96=_0xb820ed[_0x37e5a6+0xf],_0xe0967=_0x103619[0x0],_0xef8f6d=_0x103619[0x1],_0xd5761a=_0x103619[0x2],_0x5c03f1=_0x103619[0x3];_0xe0967=_0x155a4e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x1b4dd2,0x7,_0x4d8ced[0x0]),_0x5c03f1=_0x155a4e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x10a2ef,0xc,_0x4d8ced[0x1]),_0xd5761a=_0x155a4e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x565d8b,0x11,_0x4d8ced[0x2]),_0xef8f6d=_0x155a4e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x128b46,0x16,_0x4d8ced[0x3]),_0xe0967=_0x155a4e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x38fdd5,0x7,_0x4d8ced[0x4]),_0x5c03f1=_0x155a4e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x23f71f,0xc,_0x4d8ced[0x5]),_0xd5761a=_0x155a4e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x1f0213,0x11,_0x4d8ced[0x6]),_0xef8f6d=_0x155a4e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x330695,0x16,_0x4d8ced[0x7]),_0xe0967=_0x155a4e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x283d08,0x7,_0x4d8ced[0x8]),_0x5c03f1=_0x155a4e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x4af005,0xc,_0x4d8ced[0x9]),_0xd5761a=_0x155a4e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x313cf9,0x11,_0x4d8ced[0xa]),_0xef8f6d=_0x155a4e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x7dfd54,0x16,_0x4d8ced[0xb]),_0xe0967=_0x155a4e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0xd81b43,0x7,_0x4d8ced[0xc]),_0x5c03f1=_0x155a4e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x697868,0xc,_0x4d8ced[0xd]),_0xd5761a=_0x155a4e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x489072,0x11,_0x4d8ced[0xe]),_0xef8f6d=_0x155a4e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x1aba96,0x16,_0x4d8ced[0xf]),_0xe0967=_0x3d0dc8(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x10a2ef,0x5,_0x4d8ced[0x10]),_0x5c03f1=_0x3d0dc8(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x1f0213,0x9,_0x4d8ced[0x11]),_0xd5761a=_0x3d0dc8(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x7dfd54,0xe,_0x4d8ced[0x12]),_0xef8f6d=_0x3d0dc8(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x1b4dd2,0x14,_0x4d8ced[0x13]),_0xe0967=_0x3d0dc8(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x23f71f,0x5,_0x4d8ced[0x14]),_0x5c03f1=_0x3d0dc8(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x313cf9,0x9,_0x4d8ced[0x15]),_0xd5761a=_0x3d0dc8(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x1aba96,0xe,_0x4d8ced[0x16]),_0xef8f6d=_0x3d0dc8(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x38fdd5,0x14,_0x4d8ced[0x17]),_0xe0967=_0x3d0dc8(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x4af005,0x5,_0x4d8ced[0x18]),_0x5c03f1=_0x3d0dc8(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x489072,0x9,_0x4d8ced[0x19]),_0xd5761a=_0x3d0dc8(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x128b46,0xe,_0x4d8ced[0x1a]),_0xef8f6d=_0x3d0dc8(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x283d08,0x14,_0x4d8ced[0x1b]),_0xe0967=_0x3d0dc8(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x697868,0x5,_0x4d8ced[0x1c]),_0x5c03f1=_0x3d0dc8(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x565d8b,0x9,_0x4d8ced[0x1d]),_0xd5761a=_0x3d0dc8(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x330695,0xe,_0x4d8ced[0x1e]),_0xef8f6d=_0x3d0dc8(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0xd81b43,0x14,_0x4d8ced[0x1f]),_0xe0967=_0x52e7e2(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x23f71f,0x4,_0x4d8ced[0x20]),_0x5c03f1=_0x52e7e2(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x283d08,0xb,_0x4d8ced[0x21]),_0xd5761a=_0x52e7e2(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x7dfd54,0x10,_0x4d8ced[0x22]),_0xef8f6d=_0x52e7e2(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x489072,0x17,_0x4d8ced[0x23]),_0xe0967=_0x52e7e2(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x10a2ef,0x4,_0x4d8ced[0x24]),_0x5c03f1=_0x52e7e2(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x38fdd5,0xb,_0x4d8ced[0x25]),_0xd5761a=_0x52e7e2(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x330695,0x10,_0x4d8ced[0x26]),_0xef8f6d=_0x52e7e2(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x313cf9,0x17,_0x4d8ced[0x27]),_0xe0967=_0x52e7e2(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x697868,0x4,_0x4d8ced[0x28]),_0x5c03f1=_0x52e7e2(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x1b4dd2,0xb,_0x4d8ced[0x29]),_0xd5761a=_0x52e7e2(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x128b46,0x10,_0x4d8ced[0x2a]),_0xef8f6d=_0x52e7e2(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x1f0213,0x17,_0x4d8ced[0x2b]),_0xe0967=_0x52e7e2(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x4af005,0x4,_0x4d8ced[0x2c]),_0x5c03f1=_0x52e7e2(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0xd81b43,0xb,_0x4d8ced[0x2d]),_0xd5761a=_0x52e7e2(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x1aba96,0x10,_0x4d8ced[0x2e]),_0xef8f6d=_0x52e7e2(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x565d8b,0x17,_0x4d8ced[0x2f]),_0xe0967=_0x30b93e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x1b4dd2,0x6,_0x4d8ced[0x30]),_0x5c03f1=_0x30b93e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x330695,0xa,_0x4d8ced[0x31]),_0xd5761a=_0x30b93e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x489072,0xf,_0x4d8ced[0x32]),_0xef8f6d=_0x30b93e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x23f71f,0x15,_0x4d8ced[0x33]),_0xe0967=_0x30b93e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0xd81b43,0x6,_0x4d8ced[0x34]),_0x5c03f1=_0x30b93e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x128b46,0xa,_0x4d8ced[0x35]),_0xd5761a=_0x30b93e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x313cf9,0xf,_0x4d8ced[0x36]),_0xef8f6d=_0x30b93e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x10a2ef,0x15,_0x4d8ced[0x37]),_0xe0967=_0x30b93e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x283d08,0x6,_0x4d8ced[0x38]),_0x5c03f1=_0x30b93e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x1aba96,0xa,_0x4d8ced[0x39]),_0xd5761a=_0x30b93e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x1f0213,0xf,_0x4d8ced[0x3a]),_0xef8f6d=_0x30b93e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x697868,0x15,_0x4d8ced[0x3b]),_0xe0967=_0x30b93e(_0xe0967,_0xef8f6d,_0xd5761a,_0x5c03f1,_0x38fdd5,0x6,_0x4d8ced[0x3c]),_0x5c03f1=_0x30b93e(_0x5c03f1,_0xe0967,_0xef8f6d,_0xd5761a,_0x7dfd54,0xa,_0x4d8ced[0x3d]),_0xd5761a=_0x30b93e(_0xd5761a,_0x5c03f1,_0xe0967,_0xef8f6d,_0x565d8b,0xf,_0x4d8ced[0x3e]),_0xef8f6d=_0x30b93e(_0xef8f6d,_0xd5761a,_0x5c03f1,_0xe0967,_0x4af005,0x15,_0x4d8ced[0x3f]),_0x103619[0x0]=_0x103619[0x0]+_0xe0967|0x0,_0x103619[0x1]=_0x103619[0x1]+_0xef8f6d|0x0,_0x103619[0x2]=_0x103619[0x2]+_0xd5761a|0x0,_0x103619[0x3]=_0x103619[0x3]+_0x5c03f1|0x0;},'_doFinalize':function(){var _0x2f23c9=_0x4ada19,_0x1a92d9=this[_0x2f23c9(0x202)],_0x44eaa0=_0x1a92d9[_0x2f23c9(0x28f)],_0x242312=this[_0x2f23c9(0xdc)]*0x8,_0x1d4151=_0x1a92d9['sigBytes']*0x8;_0x44eaa0[_0x1d4151>>>0x5]|=0x80<<0x18-_0x1d4151%0x20;var _0x314587=_0x495d9c[_0x2f23c9(0xf0)](_0x242312/0x100000000),_0x53fc08=_0x242312;_0x44eaa0[(_0x1d4151+0x40>>>0x9<<0x4)+0xf]=(_0x314587<<0x8|_0x314587>>>0x18)&0xff00ff|(_0x314587<<0x18|_0x314587>>>0x8)&0xff00ff00,_0x44eaa0[(_0x1d4151+0x40>>>0x9<<0x4)+0xe]=(_0x53fc08<<0x8|_0x53fc08>>>0x18)&0xff00ff|(_0x53fc08<<0x18|_0x53fc08>>>0x8)&0xff00ff00,_0x1a92d9[_0x2f23c9(0x349)]=(_0x44eaa0[_0x2f23c9(0x240)]+0x1)*0x4,this[_0x2f23c9(0x2ed)]();for(var _0xc00fab=this[_0x2f23c9(0x150)],_0x4b0d3c=_0xc00fab['words'],_0x438c27=0x0;_0x438c27<0x4;_0x438c27++){var _0x1c0d58=_0x4b0d3c[_0x438c27];_0x4b0d3c[_0x438c27]=(_0x1c0d58<<0x8|_0x1c0d58>>>0x18)&0xff00ff|(_0x1c0d58<<0x18|_0x1c0d58>>>0x8)&0xff00ff00;}return _0xc00fab;},'clone':function(){var _0x1ec738=_0x4ada19,_0x11765f=_0x4e50ff[_0x1ec738(0x2ad)][_0x1ec738(0x24a)](this);return _0x11765f[_0x1ec738(0x150)]=this[_0x1ec738(0x150)]['clone'](),_0x11765f;}});function _0x155a4e(_0x53c35e,_0x5c953f,_0x281b88,_0x173da8,_0x4963ea,_0x309939,_0x57eae7){var _0x818685=_0x53c35e+(_0x5c953f&_0x281b88|~_0x5c953f&_0x173da8)+_0x4963ea+_0x57eae7;return(_0x818685<<_0x309939|_0x818685>>>0x20-_0x309939)+_0x5c953f;}function _0x3d0dc8(_0x12e2e4,_0xab6297,_0x3ae20c,_0x209f6d,_0xa1e5f,_0x47f39b,_0x223c86){var _0x38eb60=_0x12e2e4+(_0xab6297&_0x209f6d|_0x3ae20c&~_0x209f6d)+_0xa1e5f+_0x223c86;return(_0x38eb60<<_0x47f39b|_0x38eb60>>>0x20-_0x47f39b)+_0xab6297;}function _0x52e7e2(_0x470942,_0x5e4016,_0x58c85a,_0x4f226d,_0x16a1b5,_0x5907e7,_0x3ae08b){var _0x24b3e3=_0x470942+(_0x5e4016^_0x58c85a^_0x4f226d)+_0x16a1b5+_0x3ae08b;return(_0x24b3e3<<_0x5907e7|_0x24b3e3>>>0x20-_0x5907e7)+_0x5e4016;}function _0x30b93e(_0x20a800,_0x5e959f,_0x2b1227,_0xc6f45c,_0x257f1c,_0x55d2e5,_0x171eda){var _0x28d1d8=_0x20a800+(_0x2b1227^(_0x5e959f|~_0xc6f45c))+_0x257f1c+_0x171eda;return(_0x28d1d8<<_0x55d2e5|_0x28d1d8>>>0x20-_0x55d2e5)+_0x5e959f;}_0x4449af['MD5']=_0x4e50ff[_0x4ada19(0x146)](_0x29ceee),_0x4449af[_0x4ada19(0x1b1)]=_0x4e50ff[_0x4ada19(0x1d9)](_0x29ceee);}(Math),_0x456e28[_0x59cb6b(0x11b)];}));}(Ye)),Ye[_0x1a9541(0x1c7)];}var Ke={'exports':{}},qe={'exports':{}},un=qe['exports'],Xt;function dn(){var _0x3eeae1=_0x5a522f;return Xt||(Xt=0x1,function(_0x19139e,_0x7c4ed0){(function(_0x3106e5,_0x92faae){var _0x400e3c=_0x116b;_0x19139e[_0x400e3c(0x1c7)]=_0x92faae(te());}(un,function(_0x18e3c4){return(function(){var _0x2d8fdd=_0x116b,_0x593b39=_0x18e3c4,_0x2e0ebe=_0x593b39['lib'],_0x1d5d0c=_0x2e0ebe[_0x2d8fdd(0x399)],_0x3d1499=_0x2e0ebe[_0x2d8fdd(0x397)],_0x38182f=_0x593b39[_0x2d8fdd(0x39a)],_0x3673f7=[],_0x102d58=_0x38182f[_0x2d8fdd(0x1be)]=_0x3d1499[_0x2d8fdd(0x14d)]({'_doReset':function(){var _0x39c5d4=_0x2d8fdd;this[_0x39c5d4(0x150)]=new _0x1d5d0c[(_0x39c5d4(0x38f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x47bba0,_0x10cad4){var _0x1c0d9b=_0x2d8fdd;for(var _0x30c2b2=this[_0x1c0d9b(0x150)]['words'],_0x2fdb7f=_0x30c2b2[0x0],_0x242782=_0x30c2b2[0x1],_0x5638a3=_0x30c2b2[0x2],_0x5493ab=_0x30c2b2[0x3],_0x3511cc=_0x30c2b2[0x4],_0x2a89df=0x0;_0x2a89df<0x50;_0x2a89df++){if(_0x2a89df<0x10)_0x3673f7[_0x2a89df]=_0x47bba0[_0x10cad4+_0x2a89df]|0x0;else{var _0x5350e9=_0x3673f7[_0x2a89df-0x3]^_0x3673f7[_0x2a89df-0x8]^_0x3673f7[_0x2a89df-0xe]^_0x3673f7[_0x2a89df-0x10];_0x3673f7[_0x2a89df]=_0x5350e9<<0x1|_0x5350e9>>>0x1f;}var _0x1d8697=(_0x2fdb7f<<0x5|_0x2fdb7f>>>0x1b)+_0x3511cc+_0x3673f7[_0x2a89df];_0x2a89df<0x14?_0x1d8697+=(_0x242782&_0x5638a3|~_0x242782&_0x5493ab)+0x5a827999:_0x2a89df<0x28?_0x1d8697+=(_0x242782^_0x5638a3^_0x5493ab)+0x6ed9eba1:_0x2a89df<0x3c?_0x1d8697+=(_0x242782&_0x5638a3|_0x242782&_0x5493ab|_0x5638a3&_0x5493ab)-0x70e44324:_0x1d8697+=(_0x242782^_0x5638a3^_0x5493ab)-0x359d3e2a,_0x3511cc=_0x5493ab,_0x5493ab=_0x5638a3,_0x5638a3=_0x242782<<0x1e|_0x242782>>>0x2,_0x242782=_0x2fdb7f,_0x2fdb7f=_0x1d8697;}_0x30c2b2[0x0]=_0x30c2b2[0x0]+_0x2fdb7f|0x0,_0x30c2b2[0x1]=_0x30c2b2[0x1]+_0x242782|0x0,_0x30c2b2[0x2]=_0x30c2b2[0x2]+_0x5638a3|0x0,_0x30c2b2[0x3]=_0x30c2b2[0x3]+_0x5493ab|0x0,_0x30c2b2[0x4]=_0x30c2b2[0x4]+_0x3511cc|0x0;},'_doFinalize':function(){var _0x40f2c9=_0x2d8fdd,_0xb85a6e=this[_0x40f2c9(0x202)],_0x106cab=_0xb85a6e[_0x40f2c9(0x28f)],_0x30ebb3=this[_0x40f2c9(0xdc)]*0x8,_0x2d9295=_0xb85a6e[_0x40f2c9(0x349)]*0x8;return _0x106cab[_0x2d9295>>>0x5]|=0x80<<0x18-_0x2d9295%0x20,_0x106cab[(_0x2d9295+0x40>>>0x9<<0x4)+0xe]=Math[_0x40f2c9(0xf0)](_0x30ebb3/0x100000000),_0x106cab[(_0x2d9295+0x40>>>0x9<<0x4)+0xf]=_0x30ebb3,_0xb85a6e[_0x40f2c9(0x349)]=_0x106cab['length']*0x4,this[_0x40f2c9(0x2ed)](),this['_hash'];},'clone':function(){var _0x3f055f=_0x2d8fdd,_0x197714=_0x3d1499[_0x3f055f(0x2ad)][_0x3f055f(0x24a)](this);return _0x197714[_0x3f055f(0x150)]=this[_0x3f055f(0x150)][_0x3f055f(0x2ad)](),_0x197714;}});_0x593b39['SHA1']=_0x3d1499[_0x2d8fdd(0x146)](_0x102d58),_0x593b39[_0x2d8fdd(0x106)]=_0x3d1499['_createHmacHelper'](_0x102d58);}()),_0x18e3c4['SHA1'];}));}(qe)),qe[_0x3eeae1(0x1c7)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x97a0db=_0x5a522f;return Zt||(Zt=0x1,function(_0xa95fe5,_0x599ab4){(function(_0x4c7628,_0x2b3c8c){var _0xf92c9b=_0x116b;_0xa95fe5[_0xf92c9b(0x1c7)]=_0x2b3c8c(te());}(fn,function(_0x2d6451){(function(){var _0x2713b7=_0x116b,_0x1bd1a2=_0x2d6451,_0x44d00a=_0x1bd1a2['lib'],_0x1c13e7=_0x44d00a[_0x2713b7(0x1b6)],_0x17503c=_0x1bd1a2[_0x2713b7(0x1f6)],_0x56203b=_0x17503c[_0x2713b7(0xd3)],_0x3428f6=_0x1bd1a2['algo'];_0x3428f6[_0x2713b7(0x396)]=_0x1c13e7[_0x2713b7(0x14d)]({'init':function(_0x456fb2,_0x1a9c1e){var _0x117c30=_0x2713b7;_0x456fb2=this[_0x117c30(0x370)]=new _0x456fb2[(_0x117c30(0x38f))](),typeof _0x1a9c1e=='string'&&(_0x1a9c1e=_0x56203b[_0x117c30(0x3b7)](_0x1a9c1e));var _0x275207=_0x456fb2[_0x117c30(0x3ab)],_0x1524b1=_0x275207*0x4;_0x1a9c1e['sigBytes']>_0x1524b1&&(_0x1a9c1e=_0x456fb2[_0x117c30(0x311)](_0x1a9c1e)),_0x1a9c1e[_0x117c30(0x364)]();for(var _0x47a3cb=this['_oKey']=_0x1a9c1e[_0x117c30(0x2ad)](),_0x5b667c=this[_0x117c30(0x2e2)]=_0x1a9c1e[_0x117c30(0x2ad)](),_0x15f583=_0x47a3cb[_0x117c30(0x28f)],_0x299dbd=_0x5b667c[_0x117c30(0x28f)],_0x1e8db8=0x0;_0x1e8db8<_0x275207;_0x1e8db8++)_0x15f583[_0x1e8db8]^=0x5c5c5c5c,_0x299dbd[_0x1e8db8]^=0x36363636;_0x47a3cb[_0x117c30(0x349)]=_0x5b667c[_0x117c30(0x349)]=_0x1524b1,this['reset']();},'reset':function(){var _0x331af7=_0x2713b7,_0x16a3ce=this[_0x331af7(0x370)];_0x16a3ce['reset'](),_0x16a3ce[_0x331af7(0x271)](this[_0x331af7(0x2e2)]);},'update':function(_0x1d17ad){var _0x2b2eea=_0x2713b7;return this[_0x2b2eea(0x370)][_0x2b2eea(0x271)](_0x1d17ad),this;},'finalize':function(_0x70e77d){var _0x567f36=_0x2713b7,_0x1bae9d=this[_0x567f36(0x370)],_0x324846=_0x1bae9d[_0x567f36(0x311)](_0x70e77d);_0x1bae9d[_0x567f36(0x25a)]();var _0x3e9ec7=_0x1bae9d['finalize'](this['_oKey'][_0x567f36(0x2ad)]()[_0x567f36(0x213)](_0x324846));return _0x3e9ec7;}});}());}));}(ze)),ze[_0x97a0db(0x1c7)];}var pn=Ke[_0x5a522f(0x1c7)],Qt;function Oi(){var _0x3569af=_0x5a522f;return Qt||(Qt=0x1,function(_0x144c23,_0xbbdcb0){(function(_0x477b3d,_0x27eb38,_0x106ffd){var _0x8d7088=_0x116b;_0x144c23[_0x8d7088(0x1c7)]=_0x27eb38(te(),dn(),vn());}(pn,function(_0x177fd9){var _0x3bd8b1=_0x116b;return(function(){var _0x230a44=_0x116b,_0x37350b=_0x177fd9,_0x5b1b31=_0x37350b[_0x230a44(0x1c9)],_0x35d17e=_0x5b1b31[_0x230a44(0x1b6)],_0x347d57=_0x5b1b31['WordArray'],_0x311480=_0x37350b[_0x230a44(0x39a)],_0x4850b9=_0x311480[_0x230a44(0x11b)],_0x5a27f4=_0x311480[_0x230a44(0x1af)]=_0x35d17e[_0x230a44(0x14d)]({'cfg':_0x35d17e[_0x230a44(0x14d)]({'keySize':0x80/0x20,'hasher':_0x4850b9,'iterations':0x1}),'init':function(_0x33dfe0){var _0x39006c=_0x230a44;this[_0x39006c(0x2a5)]=this[_0x39006c(0x2a5)]['extend'](_0x33dfe0);},'compute':function(_0x44e899,_0x5b7f36){var _0x3de96f=_0x230a44;for(var _0x23340f,_0xd40439=this['cfg'],_0x2aa448=_0xd40439['hasher'][_0x3de96f(0x15c)](),_0xfd1df8=_0x347d57[_0x3de96f(0x15c)](),_0x143005=_0xfd1df8['words'],_0x356a5e=_0xd40439[_0x3de96f(0x18d)],_0x2fd7c9=_0xd40439[_0x3de96f(0xd1)];_0x143005['length']<_0x356a5e;){_0x23340f&&_0x2aa448['update'](_0x23340f),_0x23340f=_0x2aa448['update'](_0x44e899)[_0x3de96f(0x311)](_0x5b7f36),_0x2aa448[_0x3de96f(0x25a)]();for(var _0x1cf259=0x1;_0x1cf259<_0x2fd7c9;_0x1cf259++)_0x23340f=_0x2aa448['finalize'](_0x23340f),_0x2aa448[_0x3de96f(0x25a)]();_0xfd1df8[_0x3de96f(0x213)](_0x23340f);}return _0xfd1df8[_0x3de96f(0x349)]=_0x356a5e*0x4,_0xfd1df8;}});_0x37350b[_0x230a44(0x1af)]=function(_0x51b34c,_0xba1cec,_0x1a8d7d){var _0x46b93c=_0x230a44;return _0x5a27f4[_0x46b93c(0x15c)](_0x1a8d7d)[_0x46b93c(0xd2)](_0x51b34c,_0xba1cec);};}()),_0x177fd9[_0x3bd8b1(0x1af)];}));}(Ke)),Ke[_0x3569af(0x1c7)];}var Je={'exports':{}},mn=Je['exports'],ei;function bi(){var _0x5a7232=_0x5a522f;return ei||(ei=0x1,function(_0x5a3cf1,_0x3fccee){(function(_0x110da6,_0x1e5e61,_0x37b7d9){var _0x20420e=_0x116b;_0x5a3cf1[_0x20420e(0x1c7)]=_0x1e5e61(te(),Oi());}(mn,function(_0x5bd7fd){var _0x409278=_0x116b;_0x5bd7fd[_0x409278(0x1c9)][_0x409278(0x216)]||function(_0x1b01de){var _0x4c0d7a=_0x409278,_0x45c589=_0x5bd7fd,_0x96da74=_0x45c589['lib'],_0x1af329=_0x96da74[_0x4c0d7a(0x1b6)],_0x25d9d7=_0x96da74[_0x4c0d7a(0x399)],_0x3bccf9=_0x96da74[_0x4c0d7a(0x382)],_0x1d411b=_0x45c589['enc'];_0x1d411b['Utf8'];var _0x49d309=_0x1d411b[_0x4c0d7a(0x200)],_0x2ed908=_0x45c589[_0x4c0d7a(0x39a)],_0x10d798=_0x2ed908['EvpKDF'],_0x35276f=_0x96da74['Cipher']=_0x3bccf9[_0x4c0d7a(0x14d)]({'cfg':_0x1af329[_0x4c0d7a(0x14d)](),'createEncryptor':function(_0x21f019,_0x3bcb1b){var _0x212a72=_0x4c0d7a;return this[_0x212a72(0x15c)](this['_ENC_XFORM_MODE'],_0x21f019,_0x3bcb1b);},'createDecryptor':function(_0x23b2cc,_0x266afe){var _0x2eb732=_0x4c0d7a;return this[_0x2eb732(0x15c)](this[_0x2eb732(0xd8)],_0x23b2cc,_0x266afe);},'init':function(_0x31192c,_0x4e80f8,_0x499840){var _0x30ed6c=_0x4c0d7a;this[_0x30ed6c(0x2a5)]=this[_0x30ed6c(0x2a5)][_0x30ed6c(0x14d)](_0x499840),this[_0x30ed6c(0x242)]=_0x31192c,this[_0x30ed6c(0x207)]=_0x4e80f8,this[_0x30ed6c(0x25a)]();},'reset':function(){var _0x49b0f3=_0x4c0d7a;_0x3bccf9[_0x49b0f3(0x25a)][_0x49b0f3(0x24a)](this),this[_0x49b0f3(0xdb)]();},'process':function(_0x2fa5dd){var _0x59554a=_0x4c0d7a;return this[_0x59554a(0x398)](_0x2fa5dd),this['_process']();},'finalize':function(_0x5ad4b5){var _0x5de44b=_0x4c0d7a;_0x5ad4b5&&this[_0x5de44b(0x398)](_0x5ad4b5);var _0x2083f4=this[_0x5de44b(0x2e9)]();return _0x2083f4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1ab6f9(_0x37c472){var _0x345e40=_0x116b;return typeof _0x37c472==_0x345e40(0x32a)?_0x4ecfe6:_0x54dca9;}return function(_0x1dd9ff){return{'encrypt':function(_0xfb82dd,_0x50dd5a,_0x5a767b){var _0x2925eb=_0x116b;return _0x1ab6f9(_0x50dd5a)[_0x2925eb(0x212)](_0x1dd9ff,_0xfb82dd,_0x50dd5a,_0x5a767b);},'decrypt':function(_0x1b4f04,_0x54c028,_0x17d167){var _0x21065f=_0x116b;return _0x1ab6f9(_0x54c028)[_0x21065f(0x323)](_0x1dd9ff,_0x1b4f04,_0x54c028,_0x17d167);}};};}())});_0x96da74[_0x4c0d7a(0x12d)]=_0x35276f[_0x4c0d7a(0x14d)]({'_doFinalize':function(){var _0x56cd38=_0x4c0d7a,_0x1f746d=this[_0x56cd38(0x2ed)](!0x0);return _0x1f746d;},'blockSize':0x1});var _0x333730=_0x45c589['mode']={},_0x1bf178=_0x96da74['BlockCipherMode']=_0x1af329['extend']({'createEncryptor':function(_0x396d4e,_0x467459){return this['Encryptor']['create'](_0x396d4e,_0x467459);},'createDecryptor':function(_0x275667,_0x345b51){var _0x50d05e=_0x4c0d7a;return this[_0x50d05e(0x24f)]['create'](_0x275667,_0x345b51);},'init':function(_0x11ecfb,_0x7b54ad){var _0x3767bd=_0x4c0d7a;this[_0x3767bd(0x1f7)]=_0x11ecfb,this[_0x3767bd(0x134)]=_0x7b54ad;}}),_0x29204f=_0x333730['CBC']=(function(){var _0x34f771=_0x4c0d7a,_0x5ecb95=_0x1bf178[_0x34f771(0x14d)]();_0x5ecb95['Encryptor']=_0x5ecb95[_0x34f771(0x14d)]({'processBlock':function(_0x599e48,_0x577992){var _0x11b3aa=_0x34f771,_0x5c3216=this[_0x11b3aa(0x1f7)],_0x47943e=_0x5c3216[_0x11b3aa(0x3ab)];_0x6362c5[_0x11b3aa(0x24a)](this,_0x599e48,_0x577992,_0x47943e),_0x5c3216[_0x11b3aa(0x30e)](_0x599e48,_0x577992),this[_0x11b3aa(0xef)]=_0x599e48[_0x11b3aa(0x30d)](_0x577992,_0x577992+_0x47943e);}}),_0x5ecb95['Decryptor']=_0x5ecb95['extend']({'processBlock':function(_0x31ff4a,_0x1253fe){var _0x5bd644=_0x34f771,_0x43f775=this['_cipher'],_0xfcf49e=_0x43f775['blockSize'],_0x49cefa=_0x31ff4a[_0x5bd644(0x30d)](_0x1253fe,_0x1253fe+_0xfcf49e);_0x43f775['decryptBlock'](_0x31ff4a,_0x1253fe),_0x6362c5[_0x5bd644(0x24a)](this,_0x31ff4a,_0x1253fe,_0xfcf49e),this[_0x5bd644(0xef)]=_0x49cefa;}});function _0x6362c5(_0x1c592f,_0xdf973,_0x477ed8){var _0x99daf4=_0x34f771,_0x29952d,_0x499f7b=this[_0x99daf4(0x134)];_0x499f7b?(_0x29952d=_0x499f7b,this['_iv']=_0x1b01de):_0x29952d=this[_0x99daf4(0xef)];for(var _0x5ac90a=0x0;_0x5ac90a<_0x477ed8;_0x5ac90a++)_0x1c592f[_0xdf973+_0x5ac90a]^=_0x29952d[_0x5ac90a];}return _0x5ecb95;}()),_0xecda29=_0x45c589[_0x4c0d7a(0x319)]={},_0x3d43c9=_0xecda29[_0x4c0d7a(0x169)]={'pad':function(_0x3f5c73,_0x3f1865){var _0x93ff8f=_0x4c0d7a;for(var _0x393ff3=_0x3f1865*0x4,_0x497e79=_0x393ff3-_0x3f5c73['sigBytes']%_0x393ff3,_0x2eee32=_0x497e79<<0x18|_0x497e79<<0x10|_0x497e79<<0x8|_0x497e79,_0xd5be93=[],_0x5c3dc4=0x0;_0x5c3dc4<_0x497e79;_0x5c3dc4+=0x4)_0xd5be93['push'](_0x2eee32);var _0x8c3070=_0x25d9d7[_0x93ff8f(0x15c)](_0xd5be93,_0x497e79);_0x3f5c73[_0x93ff8f(0x213)](_0x8c3070);},'unpad':function(_0x3f8de5){var _0x30a22a=_0x4c0d7a,_0x33f348=_0x3f8de5['words'][_0x3f8de5['sigBytes']-0x1>>>0x2]&0xff;_0x3f8de5[_0x30a22a(0x349)]-=_0x33f348;}};_0x96da74[_0x4c0d7a(0x2b2)]=_0x35276f[_0x4c0d7a(0x14d)]({'cfg':_0x35276f[_0x4c0d7a(0x2a5)][_0x4c0d7a(0x14d)]({'mode':_0x29204f,'padding':_0x3d43c9}),'reset':function(){var _0x4a88a7=_0x4c0d7a,_0x53881b;_0x35276f[_0x4a88a7(0x25a)][_0x4a88a7(0x24a)](this);var _0x55d99c=this[_0x4a88a7(0x2a5)],_0x314fb8=_0x55d99c['iv'],_0x1d3d24=_0x55d99c[_0x4a88a7(0x14c)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x53881b=_0x1d3d24[_0x4a88a7(0x204)]:(_0x53881b=_0x1d3d24['createDecryptor'],this[_0x4a88a7(0x225)]=0x1),this[_0x4a88a7(0x19e)]&&this['_mode'][_0x4a88a7(0x1d3)]==_0x53881b?this['_mode'][_0x4a88a7(0x38f)](this,_0x314fb8&&_0x314fb8['words']):(this[_0x4a88a7(0x19e)]=_0x53881b[_0x4a88a7(0x24a)](_0x1d3d24,this,_0x314fb8&&_0x314fb8[_0x4a88a7(0x28f)]),this['_mode']['__creator']=_0x53881b);},'_doProcessBlock':function(_0xaee879,_0x2e2479){var _0x3703d0=_0x4c0d7a;this['_mode'][_0x3703d0(0x259)](_0xaee879,_0x2e2479);},'_doFinalize':function(){var _0x3ed18a=_0x4c0d7a,_0x536e01,_0x26fdf9=this[_0x3ed18a(0x2a5)][_0x3ed18a(0x10a)];return this['_xformMode']==this[_0x3ed18a(0x253)]?(_0x26fdf9[_0x3ed18a(0x319)](this['_data'],this[_0x3ed18a(0x3ab)]),_0x536e01=this[_0x3ed18a(0x2ed)](!0x0)):(_0x536e01=this[_0x3ed18a(0x2ed)](!0x0),_0x26fdf9['unpad'](_0x536e01)),_0x536e01;},'blockSize':0x80/0x20});var _0x70a21f=_0x96da74[_0x4c0d7a(0x188)]=_0x1af329[_0x4c0d7a(0x14d)]({'init':function(_0x24cad0){var _0x277201=_0x4c0d7a;this[_0x277201(0x1a7)](_0x24cad0);},'toString':function(_0x35769e){var _0x2c217a=_0x4c0d7a;return(_0x35769e||this[_0x2c217a(0x2a4)])[_0x2c217a(0x1ec)](this);}}),_0x3a9edf=_0x45c589[_0x4c0d7a(0x278)]={},_0x585570=_0x3a9edf['OpenSSL']={'stringify':function(_0x2cf899){var _0x3b7dc8=_0x4c0d7a,_0x578799,_0xe1cbf6=_0x2cf899[_0x3b7dc8(0x29c)],_0x44d71f=_0x2cf899['salt'];return _0x44d71f?_0x578799=_0x25d9d7[_0x3b7dc8(0x15c)]([0x53616c74,0x65645f5f])[_0x3b7dc8(0x213)](_0x44d71f)[_0x3b7dc8(0x213)](_0xe1cbf6):_0x578799=_0xe1cbf6,_0x578799['toString'](_0x49d309);},'parse':function(_0x4f5d94){var _0x5cf7af=_0x4c0d7a,_0x23c002,_0xc8bfe8=_0x49d309['parse'](_0x4f5d94),_0xef4be1=_0xc8bfe8[_0x5cf7af(0x28f)];return _0xef4be1[0x0]==0x53616c74&&_0xef4be1[0x1]==0x65645f5f&&(_0x23c002=_0x25d9d7['create'](_0xef4be1[_0x5cf7af(0x30d)](0x2,0x4)),_0xef4be1[_0x5cf7af(0x3b5)](0x0,0x4),_0xc8bfe8[_0x5cf7af(0x349)]-=0x10),_0x70a21f[_0x5cf7af(0x15c)]({'ciphertext':_0xc8bfe8,'salt':_0x23c002});}},_0x54dca9=_0x96da74[_0x4c0d7a(0xf1)]=_0x1af329[_0x4c0d7a(0x14d)]({'cfg':_0x1af329[_0x4c0d7a(0x14d)]({'format':_0x585570}),'encrypt':function(_0x4dc097,_0x5eb1b6,_0x52e723,_0x33b583){var _0x5954b2=_0x4c0d7a;_0x33b583=this[_0x5954b2(0x2a5)][_0x5954b2(0x14d)](_0x33b583);var _0x5a979a=_0x4dc097[_0x5954b2(0x204)](_0x52e723,_0x33b583),_0x9be7fc=_0x5a979a[_0x5954b2(0x311)](_0x5eb1b6),_0x5bb228=_0x5a979a[_0x5954b2(0x2a5)];return _0x70a21f[_0x5954b2(0x15c)]({'ciphertext':_0x9be7fc,'key':_0x52e723,'iv':_0x5bb228['iv'],'algorithm':_0x4dc097,'mode':_0x5bb228['mode'],'padding':_0x5bb228[_0x5954b2(0x10a)],'blockSize':_0x4dc097['blockSize'],'formatter':_0x33b583[_0x5954b2(0x278)]});},'decrypt':function(_0x42f751,_0x55158e,_0x4133fb,_0x51a8bc){var _0x2d0a38=_0x4c0d7a;_0x51a8bc=this['cfg'][_0x2d0a38(0x14d)](_0x51a8bc),_0x55158e=this[_0x2d0a38(0x30a)](_0x55158e,_0x51a8bc[_0x2d0a38(0x278)]);var _0x56f723=_0x42f751[_0x2d0a38(0x25e)](_0x4133fb,_0x51a8bc)[_0x2d0a38(0x311)](_0x55158e['ciphertext']);return _0x56f723;},'_parse':function(_0x334ae9,_0x38ee33){var _0x14235b=_0x4c0d7a;return typeof _0x334ae9==_0x14235b(0x32a)?_0x38ee33[_0x14235b(0x3b7)](_0x334ae9,this):_0x334ae9;}}),_0x3719f9=_0x45c589['kdf']={},_0x2dca0e=_0x3719f9[_0x4c0d7a(0x1cb)]={'execute':function(_0x1b5752,_0x155474,_0x1e17c8,_0x15c3ef,_0x38a492){var _0x4bf12c=_0x4c0d7a;if(_0x15c3ef||(_0x15c3ef=_0x25d9d7[_0x4bf12c(0xc9)](0x40/0x8)),_0x38a492)var _0x19afd4=_0x10d798[_0x4bf12c(0x15c)]({'keySize':_0x155474+_0x1e17c8,'hasher':_0x38a492})['compute'](_0x1b5752,_0x15c3ef);else var _0x19afd4=_0x10d798[_0x4bf12c(0x15c)]({'keySize':_0x155474+_0x1e17c8})[_0x4bf12c(0xd2)](_0x1b5752,_0x15c3ef);var _0x594f69=_0x25d9d7[_0x4bf12c(0x15c)](_0x19afd4['words'][_0x4bf12c(0x30d)](_0x155474),_0x1e17c8*0x4);return _0x19afd4[_0x4bf12c(0x349)]=_0x155474*0x4,_0x70a21f[_0x4bf12c(0x15c)]({'key':_0x19afd4,'iv':_0x594f69,'salt':_0x15c3ef});}},_0x4ecfe6=_0x96da74[_0x4c0d7a(0x2da)]=_0x54dca9['extend']({'cfg':_0x54dca9[_0x4c0d7a(0x2a5)]['extend']({'kdf':_0x2dca0e}),'encrypt':function(_0x35f333,_0x2a9e79,_0x178fce,_0x2286f5){var _0x78e038=_0x4c0d7a;_0x2286f5=this[_0x78e038(0x2a5)][_0x78e038(0x14d)](_0x2286f5);var _0xa14646=_0x2286f5['kdf']['execute'](_0x178fce,_0x35f333[_0x78e038(0x18d)],_0x35f333[_0x78e038(0x301)],_0x2286f5[_0x78e038(0x157)],_0x2286f5['hasher']);_0x2286f5['iv']=_0xa14646['iv'];var _0x50fe81=_0x54dca9[_0x78e038(0x212)][_0x78e038(0x24a)](this,_0x35f333,_0x2a9e79,_0xa14646[_0x78e038(0x233)],_0x2286f5);return _0x50fe81['mixIn'](_0xa14646),_0x50fe81;},'decrypt':function(_0xc8eeeb,_0x251dea,_0x938681,_0x2d7aa8){var _0x5b2127=_0x4c0d7a;_0x2d7aa8=this['cfg'][_0x5b2127(0x14d)](_0x2d7aa8),_0x251dea=this[_0x5b2127(0x30a)](_0x251dea,_0x2d7aa8[_0x5b2127(0x278)]);var _0x52fd96=_0x2d7aa8[_0x5b2127(0x164)][_0x5b2127(0x3b3)](_0x938681,_0xc8eeeb[_0x5b2127(0x18d)],_0xc8eeeb['ivSize'],_0x251dea[_0x5b2127(0x157)],_0x2d7aa8['hasher']);_0x2d7aa8['iv']=_0x52fd96['iv'];var _0x315287=_0x54dca9[_0x5b2127(0x323)]['call'](this,_0xc8eeeb,_0x251dea,_0x52fd96[_0x5b2127(0x233)],_0x2d7aa8);return _0x315287;}});}();}));}(Je)),Je[_0x5a7232(0x1c7)];}var gn=Ve[_0x5a522f(0x1c7)],ti;function Sn(){var _0x4223f4=_0x5a522f;return ti||(ti=0x1,function(_0x322f62,_0x291ac0){(function(_0x2e7204,_0x12b02b,_0x167f4e){var _0x18b49f=_0x116b;_0x322f62[_0x18b49f(0x1c7)]=_0x12b02b(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x1f7d7e){var _0x32e402=_0x116b;return(function(){var _0x1eefe1=_0x116b,_0x2c3296=_0x1f7d7e,_0x2b64af=_0x2c3296[_0x1eefe1(0x1c9)],_0x54a329=_0x2b64af[_0x1eefe1(0x2b2)],_0x39b76f=_0x2c3296[_0x1eefe1(0x39a)],_0x31337b=[],_0x1ccf84=[],_0x14e4fe=[],_0x174059=[],_0x2291d5=[],_0x2f35d8=[],_0x4a7c65=[],_0x510a42=[],_0x2b763a=[],_0x221d79=[];(function(){for(var _0x3e085f=[],_0x1d3745=0x0;_0x1d3745<0x100;_0x1d3745++)_0x1d3745<0x80?_0x3e085f[_0x1d3745]=_0x1d3745<<0x1:_0x3e085f[_0x1d3745]=_0x1d3745<<0x1^0x11b;for(var _0x2b4a7f=0x0,_0x5b5d5a=0x0,_0x1d3745=0x0;_0x1d3745<0x100;_0x1d3745++){var _0x5a6bee=_0x5b5d5a^_0x5b5d5a<<0x1^_0x5b5d5a<<0x2^_0x5b5d5a<<0x3^_0x5b5d5a<<0x4;_0x5a6bee=_0x5a6bee>>>0x8^_0x5a6bee&0xff^0x63,_0x31337b[_0x2b4a7f]=_0x5a6bee,_0x1ccf84[_0x5a6bee]=_0x2b4a7f;var _0x16433=_0x3e085f[_0x2b4a7f],_0x103685=_0x3e085f[_0x16433],_0x3a6258=_0x3e085f[_0x103685],_0x1d66be=_0x3e085f[_0x5a6bee]*0x101^_0x5a6bee*0x1010100;_0x14e4fe[_0x2b4a7f]=_0x1d66be<<0x18|_0x1d66be>>>0x8,_0x174059[_0x2b4a7f]=_0x1d66be<<0x10|_0x1d66be>>>0x10,_0x2291d5[_0x2b4a7f]=_0x1d66be<<0x8|_0x1d66be>>>0x18,_0x2f35d8[_0x2b4a7f]=_0x1d66be;var _0x1d66be=_0x3a6258*0x1010101^_0x103685*0x10001^_0x16433*0x101^_0x2b4a7f*0x1010100;_0x4a7c65[_0x5a6bee]=_0x1d66be<<0x18|_0x1d66be>>>0x8,_0x510a42[_0x5a6bee]=_0x1d66be<<0x10|_0x1d66be>>>0x10,_0x2b763a[_0x5a6bee]=_0x1d66be<<0x8|_0x1d66be>>>0x18,_0x221d79[_0x5a6bee]=_0x1d66be,_0x2b4a7f?(_0x2b4a7f=_0x16433^_0x3e085f[_0x3e085f[_0x3e085f[_0x3a6258^_0x16433]]],_0x5b5d5a^=_0x3e085f[_0x3e085f[_0x5b5d5a]]):_0x2b4a7f=_0x5b5d5a=0x1;}}());var _0x263ccc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3efe7d=_0x39b76f[_0x1eefe1(0x163)]=_0x54a329['extend']({'_doReset':function(){var _0x4bfb34=_0x1eefe1,_0x5d131d;if(!(this[_0x4bfb34(0x33f)]&&this[_0x4bfb34(0x367)]===this[_0x4bfb34(0x207)])){for(var _0x4aee0d=this[_0x4bfb34(0x367)]=this['_key'],_0x2c1c52=_0x4aee0d[_0x4bfb34(0x28f)],_0x46ed54=_0x4aee0d['sigBytes']/0x4,_0xaa77b=this[_0x4bfb34(0x33f)]=_0x46ed54+0x6,_0x4633e2=(_0xaa77b+0x1)*0x4,_0x3f2dd0=this['_keySchedule']=[],_0x5a8ff7=0x0;_0x5a8ff7<_0x4633e2;_0x5a8ff7++)_0x5a8ff7<_0x46ed54?_0x3f2dd0[_0x5a8ff7]=_0x2c1c52[_0x5a8ff7]:(_0x5d131d=_0x3f2dd0[_0x5a8ff7-0x1],_0x5a8ff7%_0x46ed54?_0x46ed54>0x6&&_0x5a8ff7%_0x46ed54==0x4&&(_0x5d131d=_0x31337b[_0x5d131d>>>0x18]<<0x18|_0x31337b[_0x5d131d>>>0x10&0xff]<<0x10|_0x31337b[_0x5d131d>>>0x8&0xff]<<0x8|_0x31337b[_0x5d131d&0xff]):(_0x5d131d=_0x5d131d<<0x8|_0x5d131d>>>0x18,_0x5d131d=_0x31337b[_0x5d131d>>>0x18]<<0x18|_0x31337b[_0x5d131d>>>0x10&0xff]<<0x10|_0x31337b[_0x5d131d>>>0x8&0xff]<<0x8|_0x31337b[_0x5d131d&0xff],_0x5d131d^=_0x263ccc[_0x5a8ff7/_0x46ed54|0x0]<<0x18),_0x3f2dd0[_0x5a8ff7]=_0x3f2dd0[_0x5a8ff7-_0x46ed54]^_0x5d131d);for(var _0x4a6001=this[_0x4bfb34(0x299)]=[],_0xa8ba09=0x0;_0xa8ba09<_0x4633e2;_0xa8ba09++){var _0x5a8ff7=_0x4633e2-_0xa8ba09;if(_0xa8ba09%0x4)var _0x5d131d=_0x3f2dd0[_0x5a8ff7];else var _0x5d131d=_0x3f2dd0[_0x5a8ff7-0x4];_0xa8ba09<0x4||_0x5a8ff7<=0x4?_0x4a6001[_0xa8ba09]=_0x5d131d:_0x4a6001[_0xa8ba09]=_0x4a7c65[_0x31337b[_0x5d131d>>>0x18]]^_0x510a42[_0x31337b[_0x5d131d>>>0x10&0xff]]^_0x2b763a[_0x31337b[_0x5d131d>>>0x8&0xff]]^_0x221d79[_0x31337b[_0x5d131d&0xff]];}}},'encryptBlock':function(_0x183087,_0xff89a9){var _0x53e2d3=_0x1eefe1;this[_0x53e2d3(0x252)](_0x183087,_0xff89a9,this['_keySchedule'],_0x14e4fe,_0x174059,_0x2291d5,_0x2f35d8,_0x31337b);},'decryptBlock':function(_0x43c23b,_0x4400cc){var _0x2d69e2=_0x1eefe1,_0x30f328=_0x43c23b[_0x4400cc+0x1];_0x43c23b[_0x4400cc+0x1]=_0x43c23b[_0x4400cc+0x3],_0x43c23b[_0x4400cc+0x3]=_0x30f328,this[_0x2d69e2(0x252)](_0x43c23b,_0x4400cc,this['_invKeySchedule'],_0x4a7c65,_0x510a42,_0x2b763a,_0x221d79,_0x1ccf84);var _0x30f328=_0x43c23b[_0x4400cc+0x1];_0x43c23b[_0x4400cc+0x1]=_0x43c23b[_0x4400cc+0x3],_0x43c23b[_0x4400cc+0x3]=_0x30f328;},'_doCryptBlock':function(_0x54012a,_0x10a630,_0xd5612e,_0x37a303,_0x64a9c2,_0x57262d,_0x23c13c,_0xc6ea32){var _0x243070=_0x1eefe1;for(var _0x314b14=this[_0x243070(0x33f)],_0x37ab2c=_0x54012a[_0x10a630]^_0xd5612e[0x0],_0x234bc0=_0x54012a[_0x10a630+0x1]^_0xd5612e[0x1],_0x856546=_0x54012a[_0x10a630+0x2]^_0xd5612e[0x2],_0x3570e0=_0x54012a[_0x10a630+0x3]^_0xd5612e[0x3],_0x4fee40=0x4,_0xafc96b=0x1;_0xafc96b<_0x314b14;_0xafc96b++){var _0x4065c2=_0x37a303[_0x37ab2c>>>0x18]^_0x64a9c2[_0x234bc0>>>0x10&0xff]^_0x57262d[_0x856546>>>0x8&0xff]^_0x23c13c[_0x3570e0&0xff]^_0xd5612e[_0x4fee40++],_0x587d2f=_0x37a303[_0x234bc0>>>0x18]^_0x64a9c2[_0x856546>>>0x10&0xff]^_0x57262d[_0x3570e0>>>0x8&0xff]^_0x23c13c[_0x37ab2c&0xff]^_0xd5612e[_0x4fee40++],_0x15dcd7=_0x37a303[_0x856546>>>0x18]^_0x64a9c2[_0x3570e0>>>0x10&0xff]^_0x57262d[_0x37ab2c>>>0x8&0xff]^_0x23c13c[_0x234bc0&0xff]^_0xd5612e[_0x4fee40++],_0x58610b=_0x37a303[_0x3570e0>>>0x18]^_0x64a9c2[_0x37ab2c>>>0x10&0xff]^_0x57262d[_0x234bc0>>>0x8&0xff]^_0x23c13c[_0x856546&0xff]^_0xd5612e[_0x4fee40++];_0x37ab2c=_0x4065c2,_0x234bc0=_0x587d2f,_0x856546=_0x15dcd7,_0x3570e0=_0x58610b;}var _0x4065c2=(_0xc6ea32[_0x37ab2c>>>0x18]<<0x18|_0xc6ea32[_0x234bc0>>>0x10&0xff]<<0x10|_0xc6ea32[_0x856546>>>0x8&0xff]<<0x8|_0xc6ea32[_0x3570e0&0xff])^_0xd5612e[_0x4fee40++],_0x587d2f=(_0xc6ea32[_0x234bc0>>>0x18]<<0x18|_0xc6ea32[_0x856546>>>0x10&0xff]<<0x10|_0xc6ea32[_0x3570e0>>>0x8&0xff]<<0x8|_0xc6ea32[_0x37ab2c&0xff])^_0xd5612e[_0x4fee40++],_0x15dcd7=(_0xc6ea32[_0x856546>>>0x18]<<0x18|_0xc6ea32[_0x3570e0>>>0x10&0xff]<<0x10|_0xc6ea32[_0x37ab2c>>>0x8&0xff]<<0x8|_0xc6ea32[_0x234bc0&0xff])^_0xd5612e[_0x4fee40++],_0x58610b=(_0xc6ea32[_0x3570e0>>>0x18]<<0x18|_0xc6ea32[_0x37ab2c>>>0x10&0xff]<<0x10|_0xc6ea32[_0x234bc0>>>0x8&0xff]<<0x8|_0xc6ea32[_0x856546&0xff])^_0xd5612e[_0x4fee40++];_0x54012a[_0x10a630]=_0x4065c2,_0x54012a[_0x10a630+0x1]=_0x587d2f,_0x54012a[_0x10a630+0x2]=_0x15dcd7,_0x54012a[_0x10a630+0x3]=_0x58610b;},'keySize':0x100/0x20});_0x2c3296[_0x1eefe1(0x163)]=_0x54a329[_0x1eefe1(0x146)](_0x3efe7d);}()),_0x1f7d7e[_0x32e402(0x163)];}));}(Ve)),Ve[_0x4223f4(0x1c7)];}function _0x116b(_0x120b01,_0x1639e8){var _0x4f6f10=_0x4f6f();return _0x116b=function(_0x116b73,_0x58087c){_0x116b73=_0x116b73-0xc2;var _0x14807b=_0x4f6f10[_0x116b73];return _0x14807b;},_0x116b(_0x120b01,_0x1639e8);}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x5a522f(0x1c7)],si;function Rn(){var _0x541e78=_0x5a522f;return si||(si=0x1,function(_0x2f28e8,_0xbdcd59){(function(_0x3dcbc7,_0x2a4633){var _0x4ba2aa=_0x116b;_0x2f28e8[_0x4ba2aa(0x1c7)]=_0x2a4633(te());}(Cn,function(_0x14ff5d){var _0x4e0901=_0x116b;return _0x14ff5d[_0x4e0901(0x1f6)][_0x4e0901(0xd3)];}));}(Xe)),Xe[_0x541e78(0x1c7)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x5a522f(0x1c7)],ni;function Nn(){var _0x4fdd19=_0x5a522f;return ni||(ni=0x1,function(_0x159352,_0x2f452a){(function(_0x587cd2,_0x547daa){_0x159352['exports']=_0x547daa(te());}(yn,function(_0x42043c){var _0x5d8363=_0x116b;return(function(){var _0x5a9bcc=_0x116b;if(typeof ArrayBuffer==_0x5a9bcc(0x1a5)){var _0x479241=_0x42043c,_0x490ac5=_0x479241[_0x5a9bcc(0x1c9)],_0x33acfc=_0x490ac5[_0x5a9bcc(0x399)],_0x5304c0=_0x33acfc[_0x5a9bcc(0x38f)],_0x45f090=_0x33acfc[_0x5a9bcc(0x38f)]=function(_0x2186b9){var _0x15b159=_0x5a9bcc;if(_0x2186b9 instanceof ArrayBuffer&&(_0x2186b9=new Uint8Array(_0x2186b9)),(_0x2186b9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2186b9 instanceof Uint8ClampedArray||_0x2186b9 instanceof Int16Array||_0x2186b9 instanceof Uint16Array||_0x2186b9 instanceof Int32Array||_0x2186b9 instanceof Uint32Array||_0x2186b9 instanceof Float32Array||_0x2186b9 instanceof Float64Array)&&(_0x2186b9=new Uint8Array(_0x2186b9['buffer'],_0x2186b9['byteOffset'],_0x2186b9[_0x15b159(0x22f)])),_0x2186b9 instanceof Uint8Array){for(var _0x1c9d29=_0x2186b9[_0x15b159(0x22f)],_0xff41c9=[],_0x377d1c=0x0;_0x377d1c<_0x1c9d29;_0x377d1c++)_0xff41c9[_0x377d1c>>>0x2]|=_0x2186b9[_0x377d1c]<<0x18-_0x377d1c%0x4*0x8;_0x5304c0[_0x15b159(0x24a)](this,_0xff41c9,_0x1c9d29);}else _0x5304c0[_0x15b159(0x20f)](this,arguments);};_0x45f090[_0x5a9bcc(0x129)]=_0x33acfc;}}()),_0x42043c[_0x5d8363(0x1c9)][_0x5d8363(0x399)];}));}(Ze)),Ze[_0x4fdd19(0x1c7)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){return ri||(ri=0x1,function(_0x53a9b8,_0x2f9fd9){(function(_0x5c275d,_0x1fb4ce,_0x381725){var _0x404aef=_0x116b;_0x53a9b8[_0x404aef(0x1c7)]=_0x1fb4ce(te(),bi());}(An,function(_0x5b1dc5){var _0x18978b=_0x116b;return _0x5b1dc5[_0x18978b(0x319)][_0x18978b(0x348)]={'pad':function(){},'unpad':function(){}},_0x5b1dc5[_0x18978b(0x319)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x6ee77,_0xdeaf7f){var _0x46e79a=_0x5a522f;const _0x494df=_0xdeaf7f-_0x6ee77[_0x46e79a(0x240)]%_0xdeaf7f,_0x180e2b=String['fromCharCode'](_0x494df)[_0x46e79a(0x19f)](_0x494df);return _0x6ee77+_0x180e2b;}function xn(_0x45733f,_0x203565){var _0x12ebfe=_0x5a522f;const _0x25476f=Un[_0x12ebfe(0xc9)](0x10),_0x3e1fc6=Ln(_0x45733f,0x10),_0x237101=In[_0x12ebfe(0x212)](bn[_0x12ebfe(0x3b7)](_0x3e1fc6),ii[_0x12ebfe(0x3b7)](_0x203565),{'iv':_0x25476f,'padding':Mn});return _0x25476f[_0x12ebfe(0x213)](_0x237101[_0x12ebfe(0x29c)])[_0x12ebfe(0x277)](ii);}function kn(){var _0x1d87f0=_0x5a522f;const _0x2575ab=_0x598159()[_0x1d87f0(0xf3)];if(_0x2575ab){const _0x3bdaef={'time':Math['floor'](Date[_0x1d87f0(0x318)]()/0x3e8),'domain':location[_0x1d87f0(0xcf)]};return xn(JSON['stringify'](_0x3bdaef),_0x2575ab);}}var $n=Object[_0x5a522f(0x180)],Hn=(_0x146b6d,_0x38cc06,_0x42f84d,_0x2c03d0)=>{for(var _0x8a4ba9=_0x2c03d0>0x1?void 0x0:_0x2c03d0?$n(_0x38cc06,_0x42f84d):_0x38cc06,_0x57a591=_0x146b6d['length']-0x1,_0x504802;_0x57a591>=0x0;_0x57a591--)(_0x504802=_0x146b6d[_0x57a591])&&(_0x8a4ba9=_0x504802(_0x8a4ba9)||_0x8a4ba9);return _0x8a4ba9;},Bn=(_0x3f6a6d,_0x267055)=>(_0x19b6b5,_0x27078e)=>_0x267055(_0x19b6b5,_0x27078e,_0x3f6a6d);let at=class{constructor(_0x4e13b9){var _0x10b872=_0x5a522f;this[_0x10b872(0x196)]=_0x4e13b9,this['_initRequestHeader']();}[_0x5a522f(0x2d4)](){var _0x42c242=_0x5a522f;this[_0x42c242(0x196)][_0x42c242(0x2a3)]({'interceptor':(_0x19ee2c,_0x116a70)=>{var _0x2e51fa=_0x42c242;const _0x146dab=_0x19ee2c['headers'],_0x35baed=kn();return _0x35baed&&_0x146dab[_0x2e51fa(0x356)](_0x2e51fa(0x2ae),_0x35baed),_0x116a70(_0x19ee2c);}});}};at=Hn([Bn(0x0,_0x164bb8(_0x2cbb4d))],at);var jn=Object[_0x5a522f(0x180)],Fn=(_0x32bd3a,_0x30e5ef,_0x108045,_0x64fd9b)=>{var _0x25d005=_0x5a522f;for(var _0x17a9b7=_0x64fd9b>0x1?void 0x0:_0x64fd9b?jn(_0x30e5ef,_0x108045):_0x30e5ef,_0x5ab30a=_0x32bd3a[_0x25d005(0x240)]-0x1,_0x55c237;_0x5ab30a>=0x0;_0x5ab30a--)(_0x55c237=_0x32bd3a[_0x5ab30a])&&(_0x17a9b7=_0x55c237(_0x17a9b7)||_0x17a9b7);return _0x17a9b7;},vt=(_0x23b7f1,_0x2bbfcb)=>(_0x2b2f58,_0x4ba6f5)=>_0x2bbfcb(_0x2b2f58,_0x4ba6f5,_0x23b7f1);let Ct=class extends _0x5a28f2{constructor(_0x3f02a9,_0xf19236,_0x45a3fa){var _0x2aee0d=_0x5a522f;super(),N(this,_0x2aee0d(0x10f),new _0x116154(null)),N(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x2aee0d(0x395)]=_0x3f02a9,this[_0x2aee0d(0x33d)]=_0xf19236,this[_0x2aee0d(0x372)]=_0x45a3fa);}async[_0x5a522f(0x141)](_0x45711f,_0x3aee68,_0x4fab63){var _0x1404d1=_0x5a522f;this[_0x1404d1(0x10f)][_0x1404d1(0x11a)]({'unitId':_0x45711f,'type':_0x3aee68});let _0x46f90b=null;switch(_0x3aee68){case Z['UNIVER_SHEET']:{_0x46f90b=await this[_0x1404d1(0x33d)][_0x1404d1(0x1d2)](_0x45711f,_0x4fab63);break;}case Z[_0x1404d1(0x3be)]:{_0x46f90b=await this['_snapshotService'][_0x1404d1(0x2e6)](_0x45711f,_0x4fab63);break;}default:{this['_logService'][_0x1404d1(0xec)]('[DataLoaderService]',_0x1404d1(0x2e3));break;}}return _0x46f90b;}async[_0x5a522f(0x205)](_0x4b39e1,_0x9237b9,_0x559149){var _0x5ddbf5=_0x5a522f,_0x3246ed;this['_unitInfo$'][_0x5ddbf5(0x11a)]({'unitId':_0x4b39e1,'type':_0x9237b9,'subUnitId':_0x559149});let _0x17d576=0x0;const _0x2a525c=await((_0x3246ed=this[_0x5ddbf5(0x372)])==null?void 0x0:_0x3246ed['loadOfflineData'](_0x4b39e1));return _0x2a525c&&(_0x2a525c['awaitingChangeset']||_0x2a525c[_0x5ddbf5(0x185)][_0x5ddbf5(0x240)]!==0x0)&&(_0x17d576=_0x2a525c[_0x5ddbf5(0x38e)]),_0x17d576===0x0&&this[_0x5ddbf5(0x395)]['debug'](_0x5ddbf5(0x2e7),_0x5ddbf5(0xca)),this[_0x5ddbf5(0x141)](_0x4b39e1,_0x9237b9,_0x17d576);}};Ct=Fn([vt(0x0,_0x572343),vt(0x1,_0x164bb8(_0x3bf285)),vt(0x2,_0x473dd6(J))],Ct);var Vn=Object[_0x5a522f(0x180)],Wn=(_0x521df0,_0x51bef9,_0x3a5540,_0x20ce6a)=>{var _0x28ceac=_0x5a522f;for(var _0x27094e=_0x20ce6a>0x1?void 0x0:_0x20ce6a?Vn(_0x51bef9,_0x3a5540):_0x51bef9,_0x47ab58=_0x521df0[_0x28ceac(0x240)]-0x1,_0x1ba79d;_0x47ab58>=0x0;_0x47ab58--)(_0x1ba79d=_0x521df0[_0x47ab58])&&(_0x27094e=_0x1ba79d(_0x27094e)||_0x27094e);return _0x27094e;},pt=(_0x42c8f3,_0xa6d3d6)=>(_0x53838c,_0xeaf288)=>_0xa6d3d6(_0x53838c,_0xeaf288,_0x42c8f3);const Gn=[_0x5a522f(0x19a),_0x5a522f(0x162),_0x5a522f(0x175),_0x5a522f(0x14b),_0x5a522f(0x14f)],Yn=0x5*0x400*0x400,Kn=_0x5a522f(0x2dd),qn=_0x5a522f(0xeb);let Rt=class{constructor(_0x34e761,_0x28e38a,_0x3dbb67){var _0x3d48e8=_0x5a522f;N(this,'_waitCount',0x0),N(this,_0x3d48e8(0x378),new _0x4e2f51()),N(this,_0x3d48e8(0x176),this[_0x3d48e8(0x378)]),N(this,_0x3d48e8(0x2b5),new Map()),(this['_httpService']=_0x34e761,this[_0x3d48e8(0x37c)]=_0x28e38a,this['_univerInstanceService']=_0x3dbb67);}[_0x5a522f(0x17d)](_0x2285c1){var _0xe42368=_0x5a522f;this['_waitCount']=_0x2285c1,this[_0xe42368(0x378)][_0xe42368(0x11a)](_0x2285c1);}[_0x5a522f(0x335)](_0x4914f0,_0x9eb00){var _0x62d276=_0x5a522f;if(_0x9eb00===_0x270e10[_0x62d276(0x2f6)]){const _0x10dac4=new Image();return _0x10dac4[_0x62d276(0x232)]=_0x4914f0,_0x10dac4;}return this[_0x62d276(0x2b5)][_0x62d276(0x2fc)](_0x4914f0);}[_0x5a522f(0x108)](_0x35ce4b,_0xb0475,_0x47b3c6){var _0x4faae8=_0x5a522f;_0xb0475===_0x270e10[_0x4faae8(0x2f6)]||_0x47b3c6==null||this[_0x4faae8(0x2b5)][_0x4faae8(0x356)](_0x35ce4b,_0x47b3c6);}async['getImage'](_0x401217){var _0x4b91ea=_0x5a522f;try{const _0x115839=this['_replaceFileID'](this['_getSignURL'](),''+_0x401217),_0x48dce2=(await this[_0x4b91ea(0x196)]['get'](_0x115839))['body'];if(_0x48dce2['error']&&_0x48dce2[_0x4b91ea(0xec)][_0x4b91ea(0x104)]===vi['OK']){const _0xb32e2f=new URL(_0x48dce2[_0x4b91ea(0x122)],this[_0x4b91ea(0x374)]())[_0x4b91ea(0x277)]();return Promise[_0x4b91ea(0x34b)](_0xb32e2f);}return Promise['reject'](_0x48dce2[_0x4b91ea(0xec)]);}catch(_0x43d9fb){return Promise[_0x4b91ea(0x339)](_0x43d9fb);}}async[_0x5a522f(0x342)](_0x252b59){var _0x314f2d=_0x5a522f;let _0x5d70e2='';if(!Gn[_0x314f2d(0x2fe)](_0x252b59['type']))return this[_0x314f2d(0xf8)](),Promise['reject'](new Error(_0x124ceb['ERROR_IMAGE_TYPE']));if(_0x252b59['size']>Yn)return this[_0x314f2d(0xf8)](),Promise[_0x314f2d(0x339)](new Error(_0x124ceb['ERROR_EXCEED_SIZE']));try{const _0x495f2a=new FormData();_0x495f2a['append']('file',_0x252b59);const _0xe34589=this[_0x314f2d(0x304)]['getFocusedUnit'](),_0x314f49=_0xe34589==null?void 0x0:_0xe34589[_0x314f2d(0x31e)]();if(!_0x314f49)throw new Error('unitId\x20is\x20not\x20found');const _0x56d3e5=this[_0x314f2d(0x291)]()+_0x314f2d(0x103)+_0x252b59['size'][_0x314f2d(0x277)]()+'&source='+pi['UnitEmbedded']+_0x314f2d(0x286)+encodeURIComponent(_0x314f49),_0x2d6181={'body':_0x495f2a},_0x11ea4e=(await this['_httpService'][_0x314f2d(0x191)](_0x56d3e5,_0x2d6181))['body'];if(typeof _0x11ea4e[_0x314f2d(0x148)]!=_0x314f2d(0x32a))return this[_0x314f2d(0xf8)](),Promise[_0x314f2d(0x339)](new Error(_0x124ceb[_0x314f2d(0x254)]));_0x5d70e2=_0x11ea4e['FileId'];}catch{return this[_0x314f2d(0xf8)](),Promise[_0x314f2d(0x339)](new Error(_0x124ceb[_0x314f2d(0x254)]));}return new Promise((_0x4a5caf,_0x3e034e)=>{var _0x5d998a=_0x314f2d;const _0x177a77=new FileReader();_0x177a77[_0x5d998a(0x2e8)](_0x252b59),_0x177a77[_0x5d998a(0xf6)]=_0x1a2041=>{var _0x2173f8=_0x5d998a,_0x32bd42;const _0x585ea0=(_0x32bd42=_0x1a2041[_0x2173f8(0x18e)])==null?void 0x0:_0x32bd42[_0x2173f8(0x283)];if(_0x585ea0==null){this['_decreaseWaiting'](),_0x3e034e(new Error(_0x124ceb[_0x2173f8(0x254)]));return;}const _0x9a49ed=_0x2b7747(0x6);_0x4a5caf({'imageId':_0x9a49ed,'imageSourceType':_0x270e10[_0x2173f8(0x345)],'source':_0x5d70e2,'base64Cache':_0x585ea0,'status':_0x124ceb[_0x2173f8(0x325)]}),this[_0x2173f8(0xf8)]();};});}[_0x5a522f(0x291)](){var _0x585989=_0x5a522f,_0x3b2ca5;const _0x3a90d7=this[_0x585989(0x37c)]['getConfig'](K);return(_0x3b2ca5=_0x3a90d7==null?void 0x0:_0x3a90d7['uploadFileServerUrl'])!=null?_0x3b2ca5:Kn;}['_getSignURL'](){var _0x11d1b8=_0x5a522f,_0x10fefc;const _0x3192de=this['_configService'][_0x11d1b8(0x3a9)](K);return(_0x10fefc=_0x3192de==null?void 0x0:_0x3192de[_0x11d1b8(0x1d0)])!=null?_0x10fefc:qn;}[_0x5a522f(0x374)](){var _0x342683=_0x5a522f,_0x4a3108;const _0x6e864a=this[_0x342683(0x37c)][_0x342683(0x3a9)](K);return(_0x4a3108=_0x6e864a==null?void 0x0:_0x6e864a[_0x342683(0x24b)])!=null?_0x4a3108:location[_0x342683(0x15f)];}['_replaceFileID'](_0x2068a7,_0x2d93ef){var _0x24d8ef=_0x5a522f;return _0x2068a7[_0x24d8ef(0x394)](_0x24d8ef(0xe6),_0x2d93ef);}['_decreaseWaiting'](){var _0x5d3bda=_0x5a522f;this[_0x5d3bda(0x264)]-=0x1,this[_0x5d3bda(0x378)]['next'](this[_0x5d3bda(0x264)]);}};Rt=Wn([pt(0x0,_0x164bb8(_0x2cbb4d)),pt(0x1,_0x53b96a),pt(0x2,_0x164bb8(_0x5292c6))],Rt);var zn=Object[_0x5a522f(0x180)],Jn=(_0x2712d1,_0x969075,_0x300134,_0x3b602d)=>{var _0x177e3b=_0x5a522f;for(var _0x25ae4a=_0x3b602d>0x1?void 0x0:_0x3b602d?zn(_0x969075,_0x300134):_0x969075,_0x21f341=_0x2712d1[_0x177e3b(0x240)]-0x1,_0x17bc3e;_0x21f341>=0x0;_0x21f341--)(_0x17bc3e=_0x2712d1[_0x21f341])&&(_0x25ae4a=_0x17bc3e(_0x25ae4a)||_0x25ae4a);return _0x25ae4a;},ai=(_0x4dd388,_0x569bc7)=>(_0x52b021,_0xa05c4e)=>_0x569bc7(_0x52b021,_0xa05c4e,_0x4dd388);const Xn=_0x5a522f(0xdd);let Ot=class{constructor(_0x19c706,_0x280f6d){var _0x57b78a=_0x5a522f;this[_0x57b78a(0x37c)]=_0x19c706,this[_0x57b78a(0x1db)]=_0x280f6d;}[_0x5a522f(0x285)](){var _0x41a351=_0x5a522f,_0x448492;const _0x21b508=this[_0x41a351(0x37c)]['getConfig'](K);return(_0x448492=_0x21b508==null?void 0x0:_0x21b508[_0x41a351(0x306)])!=null?_0x448492:Xn;}async[_0x5a522f(0x1fb)](_0x268c90){var _0x2fcd08=_0x5a522f;const _0xc61411=this[_0x2fcd08(0x285)]()+'/collaborator';return{'list':[{'title':_0x2fcd08(0x13d),'mentions':(await this['_HTTPService'][_0x2fcd08(0x2fc)](_0xc61411,{'params':{'objectID':_0x268c90[_0x2fcd08(0x2f4)],'unitID':_0x268c90[_0x2fcd08(0x2f4)]}}))[_0x2fcd08(0x1d4)][_0x2fcd08(0x1ed)][_0x2fcd08(0x2ff)](_0x5d6b86=>({'objectId':_0x5d6b86['id'],'name':_0x5d6b86[_0x2fcd08(0x110)]['name'],'metadata':{'icon':_0x5d6b86[_0x2fcd08(0x110)][_0x2fcd08(0x3bb)]},'label':_0x5d6b86[_0x2fcd08(0x110)][_0x2fcd08(0xfa)],'objectType':_0x5214dd['PERSON']})),'metadata':{},'type':_0x5214dd[_0x2fcd08(0x195)]}]};}};Ot=Jn([ai(0x0,_0x164bb8(_0x53b96a)),ai(0x1,_0x164bb8(_0x2cbb4d))],Ot);var Zn=Object[_0x5a522f(0x180)],Qn=(_0x433c67,_0x2ce298,_0x4ff834,_0x1df84e)=>{var _0xa02151=_0x5a522f;for(var _0x7f2318=_0x1df84e>0x1?void 0x0:_0x1df84e?Zn(_0x2ce298,_0x4ff834):_0x2ce298,_0x2d2cf1=_0x433c67[_0xa02151(0x240)]-0x1,_0x1fba87;_0x2d2cf1>=0x0;_0x2d2cf1--)(_0x1fba87=_0x433c67[_0x2d2cf1])&&(_0x7f2318=_0x1fba87(_0x7f2318)||_0x7f2318);return _0x7f2318;},Ae=(_0x3532e7,_0x2ed8b2)=>(_0x141ce7,_0x135d31)=>_0x2ed8b2(_0x141ce7,_0x135d31,_0x3532e7);let ot=class extends _0x5a28f2{constructor(_0x12ca12,_0x78135b,_0x45de2f,_0x43f4f7,_0x12f048){var _0x52f1b8=_0x5a522f;super(),this[_0x52f1b8(0x29a)]=_0x12ca12,this[_0x52f1b8(0x304)]=_0x78135b,this[_0x52f1b8(0x22a)]=_0x45de2f,this[_0x52f1b8(0x1dd)]=_0x43f4f7,this[_0x52f1b8(0x1ab)]=_0x12f048,this['_initUnitPermissionChange'](),this[_0x52f1b8(0x2ca)]();}[_0x5a522f(0x2ca)](){var _0x5ae3bf=_0x5a522f;const _0x1a6beb=async _0x7910b9=>{var _0x3ff33b=_0x116b;(await this[_0x3ff33b(0x1dd)][_0x3ff33b(0x16a)](_0x7910b9))[_0x3ff33b(0x2d7)][_0x3ff33b(0x1ca)](_0x5ed154(_0x490de8=>_0x490de8[_0x3ff33b(0x2c3)]===_0x3cc942['SHOULD_CLOSE_CONN']),_0x9fd5b0(this[_0x3ff33b(0x220)]))[_0x3ff33b(0x17f)](_0x55c9de=>{var _0x5627ad=_0x3ff33b;const _0x3ef8b6=_0x55c9de,{reason:_0x43cac2}=_0x3ef8b6[_0x5627ad(0x314)];this['_collaborationUIEventService'][_0x5627ad(0x27f)]({'id':ne['CLOSE_ROOM'],'data':_0x43cac2}),this['_permissionService'][_0x5627ad(0x20e)](new _0x13591c(_0x7910b9)['id'],!0x1),this[_0x5627ad(0x1dd)][_0x5627ad(0x28c)](_0x7910b9);});};_0x3fc90a(this[_0x5ae3bf(0x304)]['getTypeOfUnitAdded$'](_0x2f9604[_0x5ae3bf(0x1ee)]),this[_0x5ae3bf(0x304)][_0x5ae3bf(0x199)](_0x2f9604[_0x5ae3bf(0x3be)]))[_0x5ae3bf(0x1ca)](_0x1ea422(_0x22d89f=>_0x22d89f[_0x5ae3bf(0x31e)]()),_0x5ed154(_0x54e4e4=>!_0x332ab4(_0x54e4e4)),_0x9fd5b0(this[_0x5ae3bf(0x220)]))[_0x5ae3bf(0x17f)](_0x5d5bcc=>{_0x1a6beb(_0x5d5bcc);});}[_0x5a522f(0x1c2)](){var _0x248e07=_0x5a522f;const _0x392249=async _0x6a3e86=>{var _0x457d7c=_0x116b;const _0x1ce9b6=await this[_0x457d7c(0x1dd)][_0x457d7c(0x16a)](_0x6a3e86),_0x3e0a04=this['_injector'][_0x457d7c(0x2fc)](_0x45cdb3);_0x1ce9b6[_0x457d7c(0x2d7)][_0x457d7c(0x1ca)](_0x5ed154(_0x17014f=>_0x17014f[_0x457d7c(0x2c3)]===_0x3cc942[_0x457d7c(0x135)]),_0x9fd5b0(this[_0x457d7c(0x220)]))[_0x457d7c(0x17f)](_0x16d35d=>{var _0x1ba54e=_0x457d7c;const _0x44af32=_0x16d35d,{objectId:_0x8e74d4}=_0x44af32[_0x1ba54e(0x314)];_0x8e74d4===_0x6a3e86?_0x3e0a04[_0x1ba54e(0x2cf)](_0x6a3e86):_0x3e0a04['refreshPermission'](_0x6a3e86,_0x8e74d4);});};_0x3fc90a(this[_0x248e07(0x304)][_0x248e07(0x199)](_0x2f9604['UNIVER_SHEET']))[_0x248e07(0x1ca)](_0x1ea422(_0x3be82b=>_0x3be82b['getUnitId']()),_0x5ed154(_0x37b564=>!_0x332ab4(_0x37b564)),_0x9fd5b0(this[_0x248e07(0x220)]))[_0x248e07(0x17f)](_0x5c6a86=>{_0x392249(_0x5c6a86);});}};ot=Qn([Ae(0x0,_0x164bb8(_0x2db769)),Ae(0x1,_0x5292c6),Ae(0x2,_0x39bc67),Ae(0x3,_0x164bb8(Me)),Ae(0x4,_0x164bb8(ve))],ot);var er=Object[_0x5a522f(0x180)],tr=(_0x7fd23f,_0x24d952,_0x5beca9,_0x3a4664)=>{var _0xc481cc=_0x5a522f;for(var _0x469c7e=_0x3a4664>0x1?void 0x0:_0x3a4664?er(_0x24d952,_0x5beca9):_0x24d952,_0x547869=_0x7fd23f[_0xc481cc(0x240)]-0x1,_0x14fbe5;_0x547869>=0x0;_0x547869--)(_0x14fbe5=_0x7fd23f[_0x547869])&&(_0x469c7e=_0x14fbe5(_0x469c7e)||_0x469c7e);return _0x469c7e;},oi=(_0x43e788,_0x2d3572)=>(_0x40c9f9,_0x41cf14)=>_0x2d3572(_0x40c9f9,_0x41cf14,_0x43e788);let bt=class{constructor(_0x2aec7f,_0xb44df4){var _0xd145a3=_0x5a522f;this[_0xd145a3(0x37c)]=_0x2aec7f,this[_0xd145a3(0x196)]=_0xb44df4;}async[_0x5a522f(0x187)](_0x1f3cd7,_0x6ece26){var _0x29b04e=_0x5a522f,_0x124360;const {unitID:_0x171ac5,type:_0xa7659f,revision:_0x22d07d=0x0}=_0x6ece26,_0x810c4f=this[_0x29b04e(0x171)]()+'/'+_0xa7659f+_0x29b04e(0x2bc)+_0x171ac5+_0x29b04e(0x388)+_0x22d07d,_0x57008a=(await this[_0x29b04e(0x196)][_0x29b04e(0x2fc)](_0x810c4f))[_0x29b04e(0x1d4)],_0x455438=(_0x124360=_0x57008a[_0x29b04e(0x10c)])==null?void 0x0:_0x124360[_0x29b04e(0x3a6)];if(_0x455438){const _0x1cc30c=_0x455438==null?void 0x0:_0x455438[_0x29b04e(0x226)],_0x35ae33=_0x2dd96e[_0x29b04e(0xda)](_0x47a933(_0x1cc30c));_0x455438[_0x29b04e(0x226)]=_0x35ae33,Object['entries'](_0x455438[_0x29b04e(0xc2)])[_0x29b04e(0x352)](([,_0x2acedd])=>{var _0xa36499=_0x29b04e;const _0x42b30c=_0x2acedd[_0xa36499(0x226)],_0x18d9d1=_0x2dd96e[_0xa36499(0xda)](_0x47a933(_0x42b30c));_0x2acedd[_0xa36499(0x226)]=_0x18d9d1;});}return _0x57008a;}async[_0x5a522f(0x2b6)](_0x3684ba,_0x5a75f6){var _0x92330=_0x5a522f;const {unitID:_0x54f82c,type:_0x3c2317,blockID:_0x30ada5}=_0x5a75f6,_0x393985=this[_0x92330(0x1ba)]()+'/'+_0x3c2317+_0x92330(0x2bc)+_0x54f82c+_0x92330(0x2a7)+_0x30ada5;return(await this[_0x92330(0x196)][_0x92330(0x2fc)](_0x393985))[_0x92330(0x1d4)];}async[_0x5a522f(0x114)](_0x12d3d4,_0xe7c3b6){var _0x4dc7fc=_0x5a522f;const {unitID:_0x56f7b6,type:_0x264e13,blockID:_0x574692}=_0xe7c3b6,_0x2f3a8d=this[_0x4dc7fc(0x1ba)]()+_0x4dc7fc(0x2a7)+_0x264e13+_0x4dc7fc(0x2bc)+_0x56f7b6+_0x4dc7fc(0x2a7)+_0x574692;return(await this[_0x4dc7fc(0x196)]['get'](_0x2f3a8d))[_0x4dc7fc(0x1d4)];}async[_0x5a522f(0x183)](_0x190126,_0x2dfc63){var _0x3698c1=_0x5a522f;const {unitID:_0x5d6790,type:_0x162572,from:_0x47caec,to:_0x31dc1e}=_0x2dfc63,_0x583336=this['_getAPIPrefix']()+'/'+_0x162572+_0x3698c1(0x2bc)+_0x5d6790+_0x3698c1(0x125)+_0x47caec+'&to='+_0x31dc1e;return(await this[_0x3698c1(0x196)][_0x3698c1(0x2fc)](_0x583336))[_0x3698c1(0x1d4)];}['getSnapshotAPIPath'](){var _0x3f0ad7=_0x5a522f,_0x5e67c8;return(_0x5e67c8=this['_configService'][_0x3f0ad7(0x3a9)](vs))!=null?_0x5e67c8:this['_getAPIPrefix']();}[_0x5a522f(0x1ba)](){var _0x4ca8b8=_0x5a522f,_0x52513f;const _0xbbdd64=this[_0x4ca8b8(0x37c)][_0x4ca8b8(0x3a9)](K);return(_0x52513f=_0xbbdd64==null?void 0x0:_0xbbdd64['snapshotServerUrl'])!=null?_0x52513f:fs;}async[_0x5a522f(0x336)](_0x222cca,_0x33ee4d){var _0x522cb9=_0x5a522f;const _0x437b14=_0x522cb9(0x287)+_0x33ee4d[_0x522cb9(0x24d)]+_0x522cb9(0x2bc)+_0x33ee4d[_0x522cb9(0x1ff)]+_0x522cb9(0x2f9);return(await this['_httpService'][_0x522cb9(0x2fc)](_0x437b14,{'params':{'resourceId':JSON['stringify'](_0x33ee4d[_0x522cb9(0x23d)])}}))[_0x522cb9(0x1d4)];}[_0x5a522f(0x260)](){var _0x31ec26=_0x5a522f;throw new Error(_0x31ec26(0x1e1));}[_0x5a522f(0x208)](){var _0x253f8c=_0x5a522f;throw new Error(_0x253f8c(0x1e1));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5a522f(0x353)](){var _0x4c8a55=_0x5a522f;throw new Error(_0x4c8a55(0x1e1));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x21debb=_0x5a522f;throw new Error(_0x21debb(0x1e1));}};bt=tr([oi(0x0,_0x53b96a),oi(0x1,_0x164bb8(_0x2cbb4d))],bt);var ir=Object[_0x5a522f(0x180)],sr=(_0x5f303f,_0x2bc75a,_0x4318ef,_0x2bbfd8)=>{for(var _0x830f03=_0x2bbfd8>0x1?void 0x0:_0x2bbfd8?ir(_0x2bc75a,_0x4318ef):_0x2bc75a,_0xef9c43=_0x5f303f['length']-0x1,_0x5a8603;_0xef9c43>=0x0;_0xef9c43--)(_0x5a8603=_0x5f303f[_0xef9c43])&&(_0x830f03=_0x5a8603(_0x830f03)||_0x830f03);return _0x830f03;},we=(_0x572ac2,_0x1bb2a4)=>(_0x389b38,_0x26dc63)=>_0x1bb2a4(_0x389b38,_0x26dc63,_0x572ac2);let yt=class extends _0x3cb576{constructor(_0x446beb,_0x28f204,_0x74ff12,_0x4e29b1,_0x3824e4){super(_0x446beb,_0x28f204,_0x74ff12),this['_transformService']=_0x4e29b1,this['_logService']=_0x3824e4;}[_0x5a522f(0xf2)](_0x3aeaf7,_0x4851f8){var _0x11dfac=_0x5a522f;const _0x49a6d8=this[_0x11dfac(0x332)](_0x3aeaf7);if(_0x49a6d8)try{const _0x447aba=this[_0x11dfac(0x1a6)](_0x49a6d8,_0x4851f8);this[_0x11dfac(0x36b)](_0x3aeaf7,_0x447aba);}catch(_0x4df7ca){this[_0x11dfac(0x395)][_0x11dfac(0xec)]('[CollaborationUndoRedoService]',_0x4df7ca),this['_clearUndo'](_0x3aeaf7);}const _0x14077e=this['_getRedoStack'](_0x3aeaf7);if(_0x14077e)try{const _0x31447b=this[_0x11dfac(0x1a6)](_0x14077e,_0x4851f8);this[_0x11dfac(0x23c)](_0x3aeaf7,_0x31447b);}catch(_0x2fe92f){this[_0x11dfac(0x395)]['error'](_0x2fe92f),this[_0x11dfac(0x1a1)](_0x3aeaf7);}}[_0x5a522f(0x2c5)](_0x54df76){var _0x4087a3=_0x5a522f;const _0x259093=this[_0x4087a3(0x332)](_0x54df76);_0x259093&&(_0x259093[_0x4087a3(0x240)]=0x0,this[_0x4087a3(0x100)]());}[_0x5a522f(0x1a1)](_0x2ec3a0){var _0x3d80a6=_0x5a522f;const _0x293663=this['_getRedoStack'](_0x2ec3a0);_0x293663&&(_0x293663[_0x3d80a6(0x240)]=0x0,this[_0x3d80a6(0x100)]());}[_0x5a522f(0x36b)](_0x4d08a5,_0x11dadc){var _0x20277f=_0x5a522f;this['_undoStacks'][_0x20277f(0x356)](_0x4d08a5,_0x11dadc),this[_0x20277f(0x100)]();}['_substituteRedoStack'](_0x11d057,_0x2deef1){var _0x288126=_0x5a522f;this[_0x288126(0x377)][_0x288126(0x356)](_0x11d057,_0x2deef1),this[_0x288126(0x100)]();}['_transformStack'](_0x20a294,_0x37e101){var _0x5a2874=_0x5a522f;const _0x5996c7=[];let _0x4eb968=_0x37e101,_0x3c0436=_0x37e101;for(let _0x31517c=_0x20a294[_0x5a2874(0x240)]-0x1;_0x31517c>=0x0;_0x31517c--){const {unitID:_0x4f70dd,undoMutations:_0x3f38eb,redoMutations:_0x2b0395}=_0x20a294[_0x31517c],_0x32876b=this[_0x5a2874(0x234)]['transformMutationsWithChangeset'](_0x4eb968,_0x3f38eb),_0x232052=this['_transformService'][_0x5a2874(0x111)](_0x3c0436,_0x2b0395);if(_0xa0180b(_0x32876b)||_0xa0180b(_0x232052)){this[_0x5a2874(0x395)][_0x5a2874(0xec)]('[CollaborationUndoRedoService]',_0x5a2874(0x1b4),_0x32876b,_0x232052);break;}_0x4eb968=_0x32876b[_0x5a2874(0x1df)],_0x3c0436=_0x232052['c1Prime'],_0x5996c7['push']({'unitID':_0x4f70dd,'undoMutations':_0x32876b[_0x5a2874(0x2b3)],'redoMutations':_0x232052[_0x5a2874(0x2b3)]});}return _0x5996c7[_0x5a2874(0x14a)]();}};yt=sr([we(0x0,_0x5292c6),we(0x1,_0x40a05c),we(0x2,_0x2c7759),we(0x3,_0xbfdaf7),we(0x4,_0x572343)],yt);var nr=Object['defineProperty'],rr=Object[_0x5a522f(0x180)],ar=(_0x158341,_0xa50adf,_0x27514f)=>_0xa50adf in _0x158341?nr(_0x158341,_0xa50adf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27514f}):_0x158341[_0xa50adf]=_0x27514f,or=(_0x3fa58e,_0x7a46d1,_0xfd88ca,_0x39f9a8)=>{for(var _0x346346=_0x39f9a8>0x1?void 0x0:_0x39f9a8?rr(_0x7a46d1,_0xfd88ca):_0x7a46d1,_0x518f99=_0x3fa58e['length']-0x1,_0x1cab21;_0x518f99>=0x0;_0x518f99--)(_0x1cab21=_0x3fa58e[_0x518f99])&&(_0x346346=_0x1cab21(_0x346346)||_0x346346);return _0x346346;},mt=(_0x2d96bb,_0x4eb180)=>(_0x30b09b,_0x294b1b)=>_0x4eb180(_0x30b09b,_0x294b1b,_0x2d96bb),cr=(_0x368d9b,_0x3a1b78,_0xe6ce9f)=>ar(_0x368d9b,_0x3a1b78+'',_0xe6ce9f);const hr=_0x5a522f(0x328);let Nt=class extends _0x54ac7b{constructor(_0x12248e,_0x5829,_0x2b3935,_0x509e2d){var _0x4b0821=_0x5a522f;super(),N(this,_0x4b0821(0x231)),(this[_0x4b0821(0x395)]=_0x5829,this['_injector']=_0x2b3935,this['_configService']=_0x509e2d);const {..._0xffd4dd}=_0x431704({},Os,_0x12248e);if(!_0xffd4dd[_0x4b0821(0x210)])throw new Error(_0x4b0821(0x2be));this[_0x4b0821(0x231)]=_0xffd4dd,this[_0x4b0821(0x37c)][_0x4b0821(0xde)](K,_0xffd4dd);}['onStarting'](){var _0x54ebcb=_0x5a522f;this[_0x54ebcb(0x17a)](),this[_0x54ebcb(0x1c8)]();}[_0x5a522f(0x17a)](){var _0x24af71=_0x5a522f,_0x138e30,_0x13b775;this[_0x24af71(0x29a)]['has'](_0x562d82)&&this[_0x24af71(0x395)]['error'](_0x24af71(0x29e),_0x24af71(0x289));const _0x52b60b=_0x56db96([[_0x562d82,{'useClass':yt}],[Me],[Pe],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this['_config'][_0x24af71(0x210)]}],[_0x3a5f61,{'useClass':bt}],[_0x52d5c7,{'useClass':Tt}],[_0x482b31,{'useClass':Rt}],[_0x1674cd,{'useClass':Ot}],[nt],[It]],(_0x138e30=this['_config'])==null?void 0x0:_0x138e30[_0x24af71(0xfe)]);if(!((_0x13b775=this[_0x24af71(0x231)])!=null&&_0x13b775[_0x24af71(0x21a)])){const _0x4958f8=_0x52b60b[_0x24af71(0x361)](([_0x214a9f])=>_0x214a9f===ht);_0x4958f8!==-0x1&&_0x52b60b[_0x24af71(0x3b5)](_0x4958f8,0x1);}_0x385b74(this['_injector'],_0x52b60b);}['_initDependencies'](){var _0x33c3f0=_0x5a522f,_0x31daff,_0xd67ac5,_0x35b0a8;this[_0x33c3f0(0x29a)]['get'](_0x2cbb4d)[_0x33c3f0(0x2a3)]({'priority':0x14,'interceptor':_0xa45fd8({'maxParallel':0x6})}),(_0x31daff=this[_0x33c3f0(0x231)])!=null&&_0x31daff['enableOfflineEditing']||(_0xd67ac5=this[_0x33c3f0(0x29a)][_0x33c3f0(0x2fc)](J,_0x1cb6cd[_0x33c3f0(0x228)]))==null||_0xd67ac5[_0x33c3f0(0x1bc)](),(_0x35b0a8=this[_0x33c3f0(0x231)])!=null&&_0x35b0a8[_0x33c3f0(0x16f)]&&_0x4bcbde(this['_injector'],[[rt]]),_0x4bcbde(this[_0x33c3f0(0x29a)],[[at],[nt],[ot]]);}};cr(Nt,_0x5a522f(0x358),hr),Nt=or([_0x4eee02(_0x4978b4,_0x313601),mt(0x1,_0x572343),mt(0x2,_0x164bb8(_0x2db769)),mt(0x3,_0x53b96a)],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,Me as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi 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,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe 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,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|
1
|
+
var _0x2997fa=_0x77bd;(function(_0x24f11a,_0xb8ee6b){var _0x4c3a4b=_0x77bd,_0x37b5c9=_0x24f11a();while(!![]){try{var _0x514f41=parseInt(_0x4c3a4b(0x1a5))/0x1*(parseInt(_0x4c3a4b(0x271))/0x2)+-parseInt(_0x4c3a4b(0x3b2))/0x3+-parseInt(_0x4c3a4b(0xe4))/0x4*(-parseInt(_0x4c3a4b(0x215))/0x5)+parseInt(_0x4c3a4b(0x21e))/0x6+-parseInt(_0x4c3a4b(0x16a))/0x7+-parseInt(_0x4c3a4b(0x344))/0x8*(-parseInt(_0x4c3a4b(0x1a6))/0x9)+parseInt(_0x4c3a4b(0x3c0))/0xa*(parseInt(_0x4c3a4b(0x26b))/0xb);if(_0x514f41===_0xb8ee6b)break;else _0x37b5c9['push'](_0x37b5c9['shift']());}catch(_0x2d012b){_0x37b5c9['push'](_0x37b5c9['shift']());}}}(_0x57e6,0x297d3));var yi=Object['defineProperty'],Ni=(_0x44c0a1,_0x57d321,_0x1108e6)=>_0x57d321 in _0x44c0a1?yi(_0x44c0a1,_0x57d321,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1108e6}):_0x44c0a1[_0x57d321]=_0x1108e6,N=(_0xb8d6d1,_0x15643f,_0x289ed2)=>Ni(_0xb8d6d1,typeof _0x15643f!=_0x2997fa(0x399)?_0x15643f+'':_0x15643f,_0x289ed2);import{createIdentifier as _0x444194,Inject as _0x25e0f9,Injector as _0x22b07c,IConfigService as _0x5a2535,ILogService as _0x770739,Disposable as _0xe906c2,DisposableCollection as _0x3aa4e8,toDisposable as _0x45bb6e,IUniverInstanceService as _0x4ffccd,UserManagerService as _0xaffcef,UniverInstanceType as _0x17fa03,LocaleService as _0x22d998,Optional as _0x43da98,RxDisposable as _0x3337bf,Tools as _0x3400eb,Rectangle as _0x6d4969,ICommandService as _0x353885,JSONX as _0xe0e196,CommandType as _0xb8cf5f,IUndoRedoService as _0x1728bd,IPermissionService as _0x4037be,sequenceExecute as _0x593bde,Workbook as _0xde07fa,generateRandomId as _0x2c73ae,MentionType as _0x4962ce,isInternalEditorID as _0x3600e4,LocalUndoRedoService as _0x49c716,IContextService as _0x829258,DependentOn as _0x15f16e,Plugin as _0x5dfa76,merge as _0x430b26,mergeOverrideWithDependencies as _0x3312be,IAuthzIoService as _0x577814,IMentionIOService as _0x548f0c,registerDependencies as _0x358ef9,Quantity as _0x646937,touchDependencies as _0x1c20b6}from'@univerjs/core';import{Subject as _0x3329c7,merge as _0x13131b,of as _0x3bbad7,BehaviorSubject as _0x51ff3e,takeUntil as _0x3d745a,ReplaySubject as _0x10f672,take as _0x2b8e67,map as _0x491322,shareReplay as _0x4ca6db,firstValueFrom as _0x14d02f,concatMap as _0x4b313d}from'rxjs';import{map as _0x4e0fa6,take as _0x3e1693,filter as _0x1b3672,delay as _0x29ea08,takeUntil as _0x3dfc67}from'rxjs/operators';import{CollaborationEvent as _0x2ee2d1,ISnapshotServerService as _0x319a49,parseChangesetToProtocol as _0x21a453,ITransformService as _0x275b18,isTransformMutationsWithChangesetSuccess as _0x5cc586,mapDocumentTypeToUniverType as _0x4651f5,RevisionService as _0x3e7bd1,isTransformChangesetsSuccess as _0x4b90ed,CompressMutationService as _0x26a67b,parseProtocolChangeset as _0x5c4dd2,uuidv4 as _0x5628a2,SnapshotService as _0x4b6cab,textEncoder as _0x279ec5,b64DecodeUnicode as _0x485e8d,isTransformMutationsWithChangesetFailure as _0x400f8b,UniverCollaborationPlugin as _0x19fe73}from'@univerjs-pro/collaboration';import{HTTPService as _0x18c3f2,ISocketService as _0xf544be,MergeInterceptorFactory as _0x2bfa81,HTTPRequest as _0x2abb17,UniverNetworkPlugin as _0x1350f3,ThresholdInterceptorFactory as _0x205e59}from'@univerjs/network';import{ITelemetryService as _0x4ef290}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x387f3d}from'@univerjs/docs';import{SheetsSelectionsService as _0x40fde3,SetSelectionsOperation as _0x322876,InsertSheetMutation as _0x359a4b,EmptyMutation as _0x5d82aa,WorkbookEditablePermission as _0x3ac59f,SheetPermissionInitController as _0x4ecf47}from'@univerjs/sheets';import{ImageSourceType as _0x4164ba,ImageUploadStatusType as _0x4844d6,IImageIoService as _0x4727d8}from'@univerjs/drawing';import{getGlobalObject as _0x29d109}from'@univerjs-pro/license';const fs=_0x2997fa(0xe6),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x2997fa(0x397),Ir='/universer-api/user/session-ticket',gs=_0x2997fa(0x318),Ss=0x7530,di=_0x2997fa(0x37a),fi=0x4e20,Es=0x4e20,Is=_0x2997fa(0x234),Ts=0x3,Tr=_0x2997fa(0x364),Cr=0x3e8,Cs=_0x2997fa(0x25b),Rs=_0x2997fa(0x116),Rr=_0x2997fa(0xff),Or=_0x2997fa(0x138);var vi=(_0x6ed74d=>(_0x6ed74d[_0x6ed74d['UNDEFINED']=0x0]='UNDEFINED',_0x6ed74d[_0x6ed74d['OK']=0x1]='OK',_0x6ed74d[_0x6ed74d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x6ed74d[_0x6ed74d[_0x2997fa(0x1ba)]=0x3]=_0x2997fa(0x1ba),_0x6ed74d[_0x6ed74d[_0x2997fa(0x3ca)]=0x4]=_0x2997fa(0x3ca),_0x6ed74d[_0x6ed74d['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x6ed74d[_0x6ed74d['ALREADY_EXISTS']=0x6]=_0x2997fa(0x115),_0x6ed74d[_0x6ed74d[_0x2997fa(0x2bf)]=0x7]=_0x2997fa(0x2bf),_0x6ed74d[_0x6ed74d[_0x2997fa(0x195)]=0x8]='TOO_MANY_REQUESTS',_0x6ed74d[_0x6ed74d[_0x2997fa(0x30f)]=0x9]=_0x2997fa(0x30f),_0x6ed74d[_0x6ed74d['LOGIN_FAILED']=0xa]=_0x2997fa(0x157),_0x6ed74d[_0x6ed74d[_0x2997fa(0x2ad)]=0xb]=_0x2997fa(0x2ad),_0x6ed74d[_0x6ed74d[_0x2997fa(0x1f0)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x6ed74d[_0x6ed74d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2997fa(0xf8),_0x6ed74d[_0x6ed74d[_0x2997fa(0x2bc)]=0xe]=_0x2997fa(0x2bc),_0x6ed74d[_0x6ed74d[_0x2997fa(0x223)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x6ed74d[_0x6ed74d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x6ed74d[_0x6ed74d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2997fa(0x326),_0x6ed74d[_0x6ed74d[_0x2997fa(0x3ad)]=0x1773]=_0x2997fa(0x3ad),_0x6ed74d[_0x6ed74d[_0x2997fa(0x295)]=0x1b59]=_0x2997fa(0x295),_0x6ed74d[_0x6ed74d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2997fa(0x2b0),_0x6ed74d[_0x6ed74d[_0x2997fa(0xe1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x6ed74d[_0x6ed74d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2997fa(0x1d0),_0x6ed74d[_0x6ed74d[_0x2997fa(0x2ce)]=0x1b5d]='APPLY_DUPLICATED',_0x6ed74d[_0x6ed74d[_0x2997fa(0x374)]=0x1f41]=_0x2997fa(0x374),_0x6ed74d[_0x6ed74d[_0x2997fa(0x343)]=0x2329]=_0x2997fa(0x343),_0x6ed74d[_0x6ed74d[_0x2997fa(0x12a)]=0x232a]=_0x2997fa(0x12a),_0x6ed74d[_0x6ed74d[_0x2997fa(0x18d)]=0x232b]=_0x2997fa(0x18d),_0x6ed74d[_0x6ed74d[_0x2997fa(0x38a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x6ed74d[_0x6ed74d[_0x2997fa(0x1f6)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x6ed74d[_0x6ed74d[_0x2997fa(0x256)]=0x2711]=_0x2997fa(0x256),_0x6ed74d[_0x6ed74d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2997fa(0x176),_0x6ed74d[_0x6ed74d[_0x2997fa(0x345)]=0x2713]=_0x2997fa(0x345),_0x6ed74d[_0x6ed74d[_0x2997fa(0x338)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x6ed74d[_0x6ed74d[_0x2997fa(0x1ab)]=0x271a]=_0x2997fa(0x1ab),_0x6ed74d[_0x6ed74d[_0x2997fa(0x25a)]=0x271b]=_0x2997fa(0x25a),_0x6ed74d[_0x6ed74d[_0x2997fa(0x10a)]=0x271c]=_0x2997fa(0x10a),_0x6ed74d[_0x6ed74d[_0x2997fa(0x297)]=0x271d]=_0x2997fa(0x297),_0x6ed74d[_0x6ed74d[_0x2997fa(0x2a2)]=0x271e]=_0x2997fa(0x2a2),_0x6ed74d[_0x6ed74d['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x6ed74d[_0x6ed74d[_0x2997fa(0x301)]=0x2720]=_0x2997fa(0x301),_0x6ed74d[_0x6ed74d[_0x2997fa(0x1a9)]=0x2af9]=_0x2997fa(0x1a9),_0x6ed74d[_0x6ed74d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2997fa(0x1b1),_0x6ed74d[_0x6ed74d[_0x2997fa(0x269)]=0x2ee2]='INVALID_INVITE_CODE',_0x6ed74d[_0x6ed74d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2997fa(0x352),_0x6ed74d[_0x6ed74d[_0x2997fa(0x2ca)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x6ed74d[_0x6ed74d[_0x2997fa(0x312)]=0x2ee5]=_0x2997fa(0x312),_0x6ed74d[_0x6ed74d['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2997fa(0x2a1),_0x6ed74d[_0x6ed74d[_0x2997fa(0x20b)]=0x32ca]=_0x2997fa(0x20b),_0x6ed74d[_0x6ed74d[_0x2997fa(0x177)]=0x32cb]=_0x2997fa(0x177),_0x6ed74d[_0x6ed74d[_0x2997fa(0x178)]=-0x1]=_0x2997fa(0x178),_0x6ed74d))(vi||{}),Z=(_0x41fa5d=>(_0x41fa5d[_0x41fa5d[_0x2997fa(0x252)]=0x0]=_0x2997fa(0x252),_0x41fa5d[_0x41fa5d[_0x2997fa(0x2f0)]=0x1]='UNIVER_DOC',_0x41fa5d[_0x41fa5d[_0x2997fa(0x1f8)]=0x2]=_0x2997fa(0x1f8),_0x41fa5d[_0x41fa5d[_0x2997fa(0x2ed)]=0x3]=_0x2997fa(0x2ed),_0x41fa5d[_0x41fa5d['UNIVER_PROJECT']=0x4]=_0x2997fa(0x370),_0x41fa5d[_0x41fa5d[_0x2997fa(0x178)]=-0x1]=_0x2997fa(0x178),_0x41fa5d))(Z||{}),F=(_0x6934a8=>(_0x6934a8[_0x6934a8[_0x2997fa(0x356)]=0x0]='UNKNOWN_CMD',_0x6934a8[_0x6934a8['HELLO']=0x1]=_0x2997fa(0x1a7),_0x6934a8[_0x6934a8[_0x2997fa(0x221)]=0x2]=_0x2997fa(0x221),_0x6934a8[_0x6934a8[_0x2997fa(0x198)]=0x3]=_0x2997fa(0x198),_0x6934a8[_0x6934a8[_0x2997fa(0xf1)]=0x4]=_0x2997fa(0xf1),_0x6934a8[_0x6934a8[_0x2997fa(0x34a)]=0x5]=_0x2997fa(0x34a),_0x6934a8[_0x6934a8[_0x2997fa(0x1e5)]=0x6]=_0x2997fa(0x1e5),_0x6934a8[_0x6934a8[_0x2997fa(0x178)]=-0x1]=_0x2997fa(0x178),_0x6934a8))(F||{}),me=(_0x21a37f=>(_0x21a37f[_0x21a37f[_0x2997fa(0x1af)]=0x0]=_0x2997fa(0x1af),_0x21a37f[_0x21a37f['OK']=0x1]='OK',_0x21a37f[_0x21a37f[_0x2997fa(0x367)]=0x2]='FAIL',_0x21a37f[_0x21a37f['JOIN_ROOM_FULL']=0x3e9]=_0x2997fa(0x2bb),_0x21a37f[_0x21a37f['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2997fa(0x263),_0x21a37f[_0x21a37f[_0x2997fa(0x2dd)]=0x3eb]=_0x2997fa(0x2dd),_0x21a37f[_0x21a37f[_0x2997fa(0x38e)]=0x3ec]=_0x2997fa(0x38e),_0x21a37f[_0x21a37f[_0x2997fa(0x178)]=-0x1]=_0x2997fa(0x178),_0x21a37f))(me||{}),pi=(_0x114920=>(_0x114920[_0x114920['Undefined']=0x0]=_0x2997fa(0x249),_0x114920[_0x114920[_0x2997fa(0x2d5)]=0x1]=_0x2997fa(0x2d5),_0x114920[_0x114920[_0x2997fa(0x383)]=0x2]=_0x2997fa(0x383),_0x114920[_0x114920[_0x2997fa(0x335)]=0x3]=_0x2997fa(0x335),_0x114920[_0x114920[_0x2997fa(0x192)]=0x4]=_0x2997fa(0x192),_0x114920[_0x114920[_0x2997fa(0xf3)]=0x5]=_0x2997fa(0xf3),_0x114920[_0x114920['UNRECOGNIZED']=-0x1]=_0x2997fa(0x178),_0x114920))(pi||{});const K='collaboration-client.config',Os={};var ne=(_0x1cc778=>(_0x1cc778['OTHER_CLIENT_EDITING']=_0x2997fa(0x2f3),_0x1cc778[_0x2997fa(0x1ba)]=_0x2997fa(0x1ba),_0x1cc778[_0x2997fa(0x2e5)]=_0x2997fa(0x2e5),_0x1cc778[_0x2997fa(0x394)]=_0x2997fa(0x394),_0x1cc778[_0x2997fa(0x2ba)]=_0x2997fa(0x2ba),_0x1cc778[_0x2997fa(0x217)]=_0x2997fa(0x217),_0x1cc778[_0x2997fa(0x267)]=_0x2997fa(0x267),_0x1cc778[_0x2997fa(0xf4)]='SUBMIT_CHANGESET_TIMEOUT',_0x1cc778))(ne||{});class ve{constructor(){var _0x1b1ef8=_0x2997fa;N(this,_0x1b1ef8(0x1dc),new _0x3329c7()),N(this,_0x1b1ef8(0x22d),this[_0x1b1ef8(0x1dc)][_0x1b1ef8(0x3c9)]());}[_0x2997fa(0x319)](_0x2580d9){var _0x242e9e=_0x2997fa;this[_0x242e9e(0x1dc)][_0x242e9e(0x3cf)](_0x2580d9);}}const bs=_0x444194(_0x2997fa(0x393));function ys(_0x9522eb){var _0x3dd00e=_0x2997fa,_0xe7b9c,_0x3a153b,_0x1e1986,_0x2d92cb,_0x3c4b93;const _0x1e6a21=_0x9522eb['data'],_0x392e3d=JSON['parse'](_0x1e6a21);switch(_0x392e3d[_0x3dd00e(0x2c9)]){case F['HEARTBEAT']:case F[_0x3dd00e(0x1a7)]:{const _0x2e4d57=_0x392e3d[_0x3dd00e(0x28b)];return{..._0x392e3d,'data':_0x2e4d57,'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};}case F['JOIN']:{const _0x3af5fd=_0x392e3d[_0x3dd00e(0x1b4)];return{..._0x392e3d,'data':_0x3af5fd,'cmd':_0x392e3d['cmd']};}case F['RECV']:{const _0x15c673=_0x392e3d[_0x3dd00e(0x3cb)];switch(_0x15c673['eventID']){case _0x2ee2d1[_0x3dd00e(0x314)]:return{..._0x392e3d,'data':{..._0x15c673,'data':(_0xe7b9c=_0x15c673[_0x3dd00e(0x1f1)])==null?void 0x0:_0xe7b9c['cs']},'cmd':_0x392e3d['cmd']};case _0x2ee2d1[_0x3dd00e(0x186)]:return{..._0x392e3d,'data':{..._0x15c673,'data':(_0x3a153b=_0x15c673[_0x3dd00e(0x10e)])==null?void 0x0:_0x3a153b['cs']},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x2ff)]:return{..._0x392e3d,'data':{..._0x15c673,'data':(_0x1e1986=_0x15c673[_0x3dd00e(0x175)])==null?void 0x0:_0x1e1986['cs']},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x368)]:return{..._0x392e3d,'data':{..._0x15c673,'data':(_0x2d92cb=_0x15c673[_0x3dd00e(0x2dc)])==null?void 0x0:_0x2d92cb['cs']},'cmd':_0x392e3d['cmd']};case _0x2ee2d1[_0x3dd00e(0xda)]:return{..._0x392e3d,'data':{..._0x15c673,'data':(_0x3c4b93=_0x15c673[_0x3dd00e(0x371)])==null?void 0x0:_0x3c4b93['cs']},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x36f)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673['updateCursorEvent']},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1['USERS_ENTER']:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673['joinEvent']},'cmd':_0x392e3d['cmd']};case _0x2ee2d1['USERS_LEAVE']:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673['leaveEvent']},'cmd':_0x392e3d['cmd']};case _0x2ee2d1[_0x3dd00e(0x21c)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673[_0x3dd00e(0x132)]},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x27a)]:case _0x2ee2d1[_0x3dd00e(0x283)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673[_0x3dd00e(0x1df)]},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x13d)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673[_0x3dd00e(0x132)]},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1['MSG_FOR_ERROR']:return{..._0x392e3d,'data':_0x15c673,'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x27e)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673[_0x3dd00e(0x31d)]},'cmd':_0x392e3d['cmd']};case _0x2ee2d1[_0x3dd00e(0x31e)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673['updatePermissionObjEvent']},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};case _0x2ee2d1[_0x3dd00e(0x14a)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673['shouldCloseConn']},'cmd':_0x392e3d['cmd']};case _0x2ee2d1[_0x3dd00e(0x167)]:return{..._0x392e3d,'data':{..._0x15c673,'data':_0x15c673['uniscriptRunEvent']},'cmd':_0x392e3d[_0x3dd00e(0x2c9)]};default:return _0x392e3d;}}default:return _0x392e3d;}}function Ns(_0x4ef876){var _0xaa0a8=_0x2997fa;switch(_0x4ef876[_0xaa0a8(0x2c9)]){case F['HEARTBEAT']:case F[_0xaa0a8(0x1a7)]:return JSON['stringify']({'cmd':_0x4ef876[_0xaa0a8(0x2c9)],'routeKey':_0x4ef876[_0xaa0a8(0x127)]});case F[_0xaa0a8(0xf1)]:{let _0x55a686;switch(_0x4ef876['data'][_0xaa0a8(0x2d8)]){case _0x2ee2d1[_0xaa0a8(0x36f)]:{_0x55a686={'eventID':_0x2ee2d1['UPDATE_CURSOR'],'updateCursorEvent':_0x4ef876[_0xaa0a8(0x3a9)][_0xaa0a8(0x3a9)]};break;}case _0x2ee2d1[_0xaa0a8(0x1e9)]:{_0x55a686={'eventID':_0x2ee2d1[_0xaa0a8(0x1e9)],'leaveEvent':_0x4ef876[_0xaa0a8(0x3a9)][_0xaa0a8(0x3a9)]};break;}case _0x2ee2d1['USERS_ENTER']:{_0x55a686={'eventID':_0x2ee2d1['USERS_ENTER'],'joinEvent':_0x4ef876['data'][_0xaa0a8(0x3a9)]};break;}case _0x2ee2d1['LIVESHARE_NEW_HOST']:{_0x55a686={'eventID':_0x2ee2d1[_0xaa0a8(0x21c)],'liveShareNewHost':_0x4ef876[_0xaa0a8(0x3a9)]['data']};break;}case _0x2ee2d1['LIVESHARE_OPERATION']:{_0x55a686={'eventID':_0x2ee2d1[_0xaa0a8(0x283)],'liveShareOperation':_0x4ef876[_0xaa0a8(0x3a9)][_0xaa0a8(0x3a9)]};break;}case _0x2ee2d1[_0xaa0a8(0x13d)]:{_0x55a686={'eventID':_0x2ee2d1[_0xaa0a8(0x13d)],'liveShareTerminate':_0x4ef876[_0xaa0a8(0x3a9)]['data']};break;}case _0x2ee2d1[_0xaa0a8(0x2c8)]:{_0x55a686={'eventID':_0x2ee2d1[_0xaa0a8(0x2c8)],'liveShareRequestHost':_0x4ef876[_0xaa0a8(0x3a9)][_0xaa0a8(0x3a9)]};break;}case _0x2ee2d1[_0xaa0a8(0x27a)]:{_0x55a686={'eventID':_0x2ee2d1[_0xaa0a8(0x27a)]};break;}default:_0x55a686={'eventID':_0x4ef876[_0xaa0a8(0x3a9)][_0xaa0a8(0x2d8)]};}return JSON[_0xaa0a8(0x2b8)]({'cmd':_0x4ef876[_0xaa0a8(0x2c9)],'routeKey':_0x4ef876[_0xaa0a8(0x127)],'collaMsg':_0x55a686});}case F[_0xaa0a8(0x221)]:return JSON[_0xaa0a8(0x2b8)]({'cmd':_0x4ef876[_0xaa0a8(0x2c9)],'routeKey':_0x4ef876[_0xaa0a8(0x127)],'joinReq':_0x4ef876[_0xaa0a8(0x3a9)]});case F[_0xaa0a8(0x198)]:return JSON[_0xaa0a8(0x2b8)]({'cmd':_0x4ef876[_0xaa0a8(0x2c9)],'routeKey':_0x4ef876[_0xaa0a8(0x127)],'leaveReq':_0x4ef876[_0xaa0a8(0x3a9)]});default:throw new Error(_0xaa0a8(0x3ce));}}var Ds=Object[_0x2997fa(0x16d)],Us=(_0x11b3d1,_0x34918f,_0x3668cf,_0x197549)=>{var _0x3ae7ca=_0x2997fa;for(var _0x3404e9=_0x197549>0x1?void 0x0:_0x197549?Ds(_0x34918f,_0x3668cf):_0x34918f,_0x51c683=_0x11b3d1[_0x3ae7ca(0x171)]-0x1,_0x18ebaf;_0x51c683>=0x0;_0x51c683--)(_0x18ebaf=_0x11b3d1[_0x51c683])&&(_0x3404e9=_0x18ebaf(_0x3404e9)||_0x3404e9);return _0x3404e9;},Ue=(_0x492052,_0x38e165)=>(_0x3050a2,_0x5c8350)=>_0x38e165(_0x3050a2,_0x5c8350,_0x492052);const mi=_0x444194(_0x2997fa(0x2df));function As(_0x183aec,_0x813c16,_0x5598eb){var _0x2df913=_0x2997fa;return _0x183aec+'/'+_0x813c16+_0x2df913(0x1da)+_0x5598eb+_0x2df913(0x24e);}function _0x57e6(){var _0x554545=['_xformMode','_getUploadFileURL','_parse','_prevBlock','onTransformRemoteChangesetByStateCache','error','_replayCachedMutations','encode','reverse','updatePermissionPoint','LICENSE_MAX_UNITS_EXCEEDED','2494984HWCoLM','YUUMI_RATE_OVER_LIMIT','collaboration-client.local-cache-service','transformStack\x20failed!','url','OFFLINE','HEARTBEAT','_applyRemoteChangeset','/collaborator','objectType','\x20in\x20_schedule.','onSyncEditingCollabCursor','extend','BlockCipher','INVITE_CODE_REQUIRED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','createInstance','unitID','UNKNOWN_CMD','textRanges','requireSession','_clearScheduledTask','updateOfflineData','initWorkbookPermissionChange','COMPRESS_MUTATION_APPLY','_getSignURL','image/gif','_hasher','OPTIONAL','getTypeOfUnitAdded$','_clearCollaborationTimeoutTimer','_lockTransition','LOCAL_CACHE_INTERVAL','fetchMiss','_clearUndo','FAIL','CHANGESET_REJ','title','_createHandler','BufferedBlockAlgorithm','UUID','onRemoteRej','_resendTimer','UPDATE_CURSOR','UNIVER_PROJECT','csShouldRetryEvent','_injector','_transformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','Base','unpad','&to=','_hash','duration','HEARTBEAT_TIMEOUT','_nRounds','randomBytes','_stopTelemetryCollaborationNewChangeset','AWAITING','NOT_COLLAB','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearHeartbeatTimer','HttpExport','avatar','_change$','collaborators','format','set','allowed','LICENSE_EXPORT_SIZE_EXCEEDED','onMissingChangesets','_toggleOnline','[CollaborationUndoRedoService]','GLOBAL_ROOMS_CNT_EXCEEDS','key','socket$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','close','univer-pro.collaboration-client.network-condition.service','CLOSE_ROOM','SUCCUSS','awaitingChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','_candidateSocket','symbol','update','_telemetryService','_sendHeartbeatTimer','MD5','HMAC','onSendChangeset','_cipher','_substituteRedoStack','createCollaborator','charAt','unitId','message$','_singleActiveUnitService','IDLE','_onConnectionOpen','data','roles','_onUserJoin','addImageSourceCache','ENSURE_SNAPSHOT_EXECUTION','finalize','_key','_startTelemetryCollaborationNewChangeset','_clearLocalCache','831120ukJCXl','_univerInstanceService','setCurrentUser','max','incrementRevOfUnit','loadUnit','_handler','image/png','_resendWithTimeout','onMissedChangesetFetched','formatter','People','saveSnapshot','listCollaborators','965170TzMbyN','_collaborationPaused','socket\x20open.','responseType','_scheduleCollaborationTimeoutTimer','toggleOnline','random','lib','NoPadding','asObservable','NOT_FOUND','collaMsg','_members$','_exhaustRemoteChangesetQueue','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','next','localCacheService','_snapshotServerService','put','_process','enc','withCredentials','MSG_FOR_ERROR','getImage','_transformUndoredo','_awaitingChangeset','create','transformChangesets','CHANGESET_SHOULD_RETRY','_transformIMECache','_initMergeInterceptor','_acknowledgedAwaitingChangeset','byteOffset','COMPRESS_MUTATION_SEND','delete','APPLY_REVISION_CONFILICT','_replaceFileID','reconnect','4YlCHpr','_onCombEvent','/universer-api/snapshot','removeMember','decryptBlock','_submitChangeset','buffer','getRoom','onCommentUpdate','[FetchMissState]','_waitCount','dispose$','_getUndoStack','INGEST','_createSocket','UserProfileImg','SUBMIT_CHANGESET_TIMEOUT','concat','onRemoteAck','salt','EMAIL_VERIFY_CODE_MISMATCH','_transformStateCache','FileId','OTHER_CLIENTS_EDITING','size','words','_socketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_rescheduleHeartbeat','_onJoinRoomEvent','clone','getUnitId','editingUnit','/block/','prototype','save\x20fail\x20reason\x20is\x20','Cipher','readAsDataURL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_joinRoom','awaiting_with_pending','kdf','csAckEvent','_getAPIPrefixPath','Latin1','post','originalMeta','getLatestCsReqIdBySid','name','ALREADY_EXISTS','/universer-api/oidc/authpage','code','session.room-not-exists','padding','_localCacheService','UNIVER_COLLABORATION_CLIENT_PLUGIN','enableCollaboration','updateCollaborator','onRemoteRetry','_tryEnsureSocket','onLocalMutation','_iKey','getActiveSheet','_type','includes','mixIn','Hex','routeKey','_resendTimeout','push','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleCompleteTimestamp','_sendHeartbeat','transformMutationsWithChangeset','readyForCollab','_getDownloadEndpointURL','_ENC_XFORM_MODE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','liveShareNewHost','__Key__','socketService','crypto','target','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/uniscript','authzUrl','POST','MUTATION','unit-cache-','LIVESHARE_TERMINATE','_socketReady','_showConflictNotification','getCurrentSelections','createEncryptor','_snapshotService','_collaborationSessionService','_unitInfo$','_initRequestHeader','/allowed','catch','result','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','SHOULD_CLOSE_CONN','map','Decryptor','_syncEditingCollabCursor','refreshPermission','_telemetryInfo','_fetchMissChangesets','_DEC_XFORM_MODE','_getAPIPrefix','_roomMembers','_waitForHeartbeatResponse','_networkConditionService','_entities','LOGIN_FAILED','closeSession','indexOf','_collaborationUIEventService','_remoteChangesetQueue','onTransformIME','_disableEditing','_clearRedo','pipe','_onUserLeave','send','compose','_append','execute','SUBMIT_CHANGESET','_unlockTransition','UNISCRIPT_RUN','[PendingState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','1038275pKvLEE','_getSendChangesetTimeout','_changesetReqId','getOwnPropertyDescriptor','_commentService','patch','_decreaseWaiting','length','session.join-failed','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','newCsEvent','YUUMI_URL_COL_OUT_OF_RANGE','EMAIL_HAS_BEEN_BOUND','UNRECOGNIZED','executeCommand','_compressMutationService','_getCtorByUniverType','_handlerCallback','_HTTPService','charCodeAt','mode','session','_onRemoteRetry','fetchThroughInterceptors','min','transformSelections','getCurrentUser','CHANGESET_ACK','baseRev','function','HmacSHA1','snapshot','find','ERROR_EXCEED_SIZE','LICENSE_IMPORT_SIZE_EXCEEDED','_sessionStatus$','createDecryptor','reqId','keySize','UnitSnapshot','_queuedRemoteChangesets','file','TOO_MANY_REQUESTS','getTypeOfUnitDisposed$','awaiting','LEAVE','init','session.room-cnt-exceeds','_initDependencies','_socketMessageSubscription','_revisionService','revision','PSEUDO_FETCH_MISSING_RESULT','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','[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.','ERROR_IMAGE','splice','45306PyVljV','9ouxyVI','HELLO','clear','PY_RUNTIME_SCRIPT_ERROR','_doReset','YUUMI_NO_CUBOID_FOR_QUESTION','isArray','_getCurrentRevision','saveImage','UNKNOWN_CODE','Could\x20not\x20dynamically\x20require\x20\x22','INVITE_CODE_HAS_BEEN_UES','parse','_minBufferSize','joinRsp','_onMessage','then','_emitMembers','_startCollaboration','_transformRemoteChangesetByStateCache','PERMISSION_DENIED','_socket$','fetching\x20missing\x20changesets\x20from\x20','fetch_missing','params','_createInitialState','getFocusedUnit','_tryReconnect','HmacMD5','status$','_transformStack','Hasher','status','memberID','hasher','algo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getMember','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_imageSourceCache','session.room-full','now','APPLY_PERMISSION_DENIED','_sender','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationTimeoutTimer','collabWebSocketUrl','BASE64','updateMember','onTransformState','sheets','fromCollab','/unit/','m2Prime','_event$','unknown','batchAllowed','liveShareOperation','reduce','values','objects','changesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','RECV','_nDataBytes','method','repeat','USERS_LEAVE','getResourcesRequest','sendChangesetTimeout','isPermissionRej','registerHTTPInterceptor','JOINING','reset','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','permissionRejEvent','range','appendMutation','getUnitStatus$','unitId\x20is\x20not\x20found','LICENSE_DISTRO_REJECTED','onRemoteChangeset','UNIVER_SHEET','slice','close$','deleteCollaborator','_onConflict','equals','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','subject','actions','/resources','sigBytes','online$','_schedule','onStarting','SerializableCipher','subscribe','_listenToNetworkCondition','_mode','MOBILE_HAS_BEEN_BOUND','_checkMissing','getRandomValues','debug','/universer-api/file/{fileID}/sign-url','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpeg','forEach','getSnapshotAPIPath','_retryCount','498855wJNmZo','_onLocalMutation','SOCKET_FAILED_RETRY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_keySchedule','_userManagerService','_config','LIVESHARE_NEW_HOST','Utf8','251022oZVqXj','setShowComponents','_toggleOffline','JOIN','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','CHANGESET_REVISION_CONFILICT','_status$','__esModule','ivSize','&source=','default','mutations','deepClone','[CollaborationSessionService]:\x20socket\x20error','list','event$','_initCloseConn','transformUndoRedo','getValue','/rev/','pad','_members','RETRY_CONNECTING_MAX_COUNT','_instanceService','uploadFileServerUrl','rev','failed\x20to\x20apply\x20missed\x20changesets!','[OfflineState]:\x20received\x20changeset.','_pendingMutations','_localeService','_updateLocalCache','processBlock','_sendingTimer','_onConnectionFailed','resend','type','_createInitialStateImpl','_onOffline','headers','hostname','_memberService','_iv','_incrementRevisionNumber','Undefined','_clearTimeoutTimer','blockSize','selections','append','/new_changes','onload','_socket','error$','UNIVER_UNKNOWN','__creator','saveSheetBlock','[SyncedState]:\x20received\x20acknowledgement.','YUUMI_UNABLE_LOAD_URL','getCurrentRevOfUnit','byteLength','OpenSSL','YUUMI_ASYNCIO_CANCELLED','/universer-api/comb','_throwTelemetryCollaborationNewChangeset','EvpKDF','putCollaborators','_getRedoStack','floor','StreamCipher','toggleOffline','JOIN_ROOM_NOT_EXISTS','_onRemoteACK','getAllMembers','compute','SOCKET_FAILED','Base64','INVALID_INVITE_CODE','ERROR_IMAGE_TYPE','11jaLSgF','members','startTime','_state','fromCharCode','disableLocalCache','2xxcwvo','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_createHelper','sid','_keyPriorReset','unsubscribe','_oKey','loadUnitOfRevision','_commandService','LIVESHARE_FETCH_OPERATIONS','join','_sessions','AES','COMMENT_UPDATE','Pkcs7','BlockCipherMode','hasOwnProperty','[CollaborationEntity]','LIVESHARE_OPERATION','_commentUpdate$','[SyncedState]:\x20received\x20rejection.','string','ciphertext','add','createSocket','NO_OTHER_CLIENTS_EDITING','infoRsp','disposeWithMe','ONLINE','msCrypto','_shouldReportTelemetry','_doProcessBlock','action','encodeURIComponent','getWorkbookSelections','_httpService','APPLY_REJECT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','YUUMI_ALL_TABLES_IS_INVALID','connection\x20error','every','getSheetId','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getInterceptPoints','_unitID','exports','pending','getConfig','WECHAT_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','loadDoc','onlyLocal','sin','_collabSessionService','_transformService','localeService','downloadEndpointUrl','SHA1','resolve','[CollaborationSessionService]','MOBILE_VERIFY_CODE_MISMATCH','dispose','unitInfo$','APPLY_NON_SEQUENTIAL_REVISION','FETCH_MISSING','_roomCreated$','signUrlServerUrl','/-/object/-/batch_allowed','_redoStacks','reject','_permissionService','stringify','interceptor','JOIN_ROOM_FAILED','JOIN_ROOM_FULL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','filter','\x20-\x20','INVALID_ARGUMENT','getUnitType','_transitionLocked','_createHmacHelper','_undoRedoService','toString','onTransformSelections','override','listRoles','LIVESHARE_REQUEST_HOST','cmd','USER_NOT_INVITED_CODE','WordArray','getSheetBlock','image/jpg','APPLY_DUPLICATED','body','_changesetSessionId','confirm','/role','complete','encrypt','HttpImport','_onRemoteRejected','session.room-permission-denied','eventID','getCollabEntity$','call','/object/','csRejEvent','JOIN_ROOM_PERMISSION_DENIED','?url=','univer-pro.collaboration-client-socket-service','/-/object/list','findIndex','state','\x20to\x20','requestParams','CONFLICT','copyFileMeta','loadOfflineData','fetchMissingChangesets','getMemberID','ceil','_removeRoom','state$','UNIVER_SLIDE','objectID','loginUrlKey','UNIVER_DOC','src','sessionStatus','OTHER_CLIENT_EDITING','saveChangeset','[PendingState]:\x20received\x20rejection.','_executeRemoteChangeset','CBC','_onFetchMissResult','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearRetryConnectingTimer','_isPermissionRej','_init','conflict','defineProperty','NEW_CHANGESETS','Encryptor','YUUMI_CONNECTOR_URL_NOT_FOUND','not_collab','SYNCED','collaboratorID','commentUpdate$','_doFinalize','&assign=','getCollabEntity','onTransformRemoteChangesetByIMECache','_transformSelections','_registerDependencies','_data','\x0aCurrent:\x20','clamp','COMPLETION_FINISHED','_updateStatus','_updateState','INVITE_CODE_ALREADY_BOUND','getTime','PERMISSION_REJ','c1Prime','cfg','sessionStatus$','HEARTBEAT_INTERVAL','emitEvent','subUnitId','apply','has','commentUpdateEvent','UPDATE_PERMISSION_OBJ','_onRecvEvent','userID','entityInit$','get','_configService','DEFAULT_FILE_NAME','_eventService','SNAPSHOT_HAS_BEEN_REMOVED','_substituteUndoStack','FETCH_MISS','stopTime','substr','image/bmp','[DataLoaderService]','[CollaborationSession]','_onRemoteChangeset','decrypt','setConfig','synced','_getLoginPath','_retryConnectingTimer','addHandlerCallback','UnitEmbedded','_timeoutTimer','setWaitCount','YUUMI_SUBSCRIPTION_NOT_FOUND'];_0x57e6=function(){return _0x554545;};return _0x57e6();}let Ft=class extends _0xe906c2{constructor(_0x24536b,_0xe4e25c,_0x2ded3c,_0x280057,_0x4fb1db){var _0x1652b4=_0x2997fa;super(),this[_0x1652b4(0x372)]=_0x24536b,this[_0x1652b4(0x294)]=_0xe4e25c,this[_0x1652b4(0x323)]=_0x2ded3c,this[_0x1652b4(0x174)]=_0x280057,this[_0x1652b4(0x3d1)]=_0x4fb1db;}['_doCreateSocket'](_0x336237){var _0x3dee6f=_0x2997fa;const _0x412d08=this[_0x3dee6f(0x372)][_0x3dee6f(0x322)](_0xf544be);if(!_0x412d08)throw new Error(_0x3dee6f(0x222));const _0xef1d33=_0x412d08[_0x3dee6f(0x289)](_0x336237);if(!_0xef1d33)throw new Error(_0x3dee6f(0x381));const _0x23e636=new _0x3aa4e8(),_0x2f83e1=new _0x3329c7();_0x23e636[_0x3dee6f(0x288)](_0xef1d33[_0x3dee6f(0x1fa)][_0x3dee6f(0x208)](_0x2b7b18=>_0x2f83e1[_0x3dee6f(0x3cf)](_0x2b7b18))),_0x23e636[_0x3dee6f(0x288)](_0x45bb6e(()=>_0x2f83e1[_0x3dee6f(0x2d3)]()));const _0x3e2d15=new _0x3329c7();_0x23e636[_0x3dee6f(0x288)](_0xef1d33['error$'][_0x3dee6f(0x208)](_0x272b72=>_0x3e2d15[_0x3dee6f(0x3cf)](_0x272b72))),_0x23e636[_0x3dee6f(0x288)](_0x45bb6e(()=>_0x3e2d15[_0x3dee6f(0x2d3)]()));const _0x2e7158=new _0x3329c7();_0x23e636[_0x3dee6f(0x288)](_0xef1d33['message$'][_0x3dee6f(0x208)](_0x388309=>{var _0x52f3de=_0x3dee6f;const _0x2a7d61=ys(_0x388309);_0x2e7158[_0x52f3de(0x3cf)](_0x2a7d61);})),_0x23e636[_0x3dee6f(0x288)](_0x45bb6e(()=>_0x2e7158[_0x3dee6f(0x2d3)]()));let _0x3928a1;const _0xcd9aa7=()=>{var _0x15771b=_0x3dee6f;_0x3e2d15[_0x15771b(0x3cf)](new Event('connection\x20error')),_0x2f83e1[_0x15771b(0x3cf)](new Event(_0x15771b(0x298))),_0x3928a1[_0x15771b(0x392)]();};return _0x3928a1={'memberID':'','close$':_0x2f83e1['asObservable'](),'error$':_0x3e2d15[_0x3dee6f(0x3c9)](),'open$':_0xef1d33['open$'],'message$':_0x2e7158['asObservable'](),'send':_0x4872e2=>{var _0x4a55f6=_0x3dee6f;if(_0x4872e2[_0x4a55f6(0x2c9)]===F[_0x4a55f6(0xf1)]){if(_0x4872e2[_0x4a55f6(0x3a9)]['eventID']===_0x2ee2d1[_0x4a55f6(0x165)]){this[_0x4a55f6(0xe9)](_0x3928a1,_0x4872e2['data'])[_0x4a55f6(0x147)](_0x53a510=>{var _0x8e966=_0x4a55f6;this[_0x8e966(0x174)]['error'](_0x53a510),_0xcd9aa7();});return;}if(_0x4872e2[_0x4a55f6(0x3a9)][_0x4a55f6(0x2d8)]===_0x2ee2d1[_0x4a55f6(0x2b1)]){const _0x51152b=_0x4872e2[_0x4a55f6(0x3a9)];this[_0x4a55f6(0x150)](_0x51152b)[_0x4a55f6(0x1b6)](_0x43e854=>{var _0xd8f712=_0x4a55f6;_0x2e7158['next']({'cmd':F[_0xd8f712(0x1e5)],'code':me['OK'],'routeKey':_0x51152b[_0xd8f712(0x3a9)]['unitID'],'routeType':'','data':{'eventID':_0x2ee2d1[_0xd8f712(0x19f)],'data':{'changesets':_0x43e854}}});})[_0x4a55f6(0x147)](_0x5c2933=>{var _0x50fd1b=_0x4a55f6;this[_0x50fd1b(0x174)][_0x50fd1b(0x33e)](_0x5c2933),_0xcd9aa7();});return;}}_0xef1d33[_0x4a55f6(0x161)](Ns(_0x4872e2));},'close':()=>{var _0x59cdaa=_0x3dee6f;_0xef1d33['close'](),_0x23e636[_0x59cdaa(0x2ae)]();}},_0x3928a1;}async[_0x2997fa(0xe9)](_0x57bc79,_0x2629d8){var _0x23b174=_0x2997fa,_0x1c675b;const {unitType:_0x220354,unitID:_0x226bca,changeset:_0x5c177c}=_0x2629d8[_0x23b174(0x3a9)],_0xcd5321={'unitID':_0x226bca,'memberID':_0x57bc79[_0x23b174(0x1c7)],'type':_0x220354,'changeset':_0x21a453(_0x5c177c)},_0x2cc5b4=this[_0x23b174(0x323)][_0x23b174(0x2a0)](K),_0x59162d=As((_0x1c675b=_0x2cc5b4==null?void 0x0:_0x2cc5b4['collabSubmitChangesetUrl'])!=null?_0x1c675b:Cs,_0x220354,_0x226bca);try{await this[_0x23b174(0x294)][_0x23b174(0x111)](_0x59162d,{'body':_0xcd5321});}catch(_0x2b8b4b){throw this[_0x23b174(0x174)][_0x23b174(0x33e)](_0x23b174(0x32d),'submit\x20changeset\x20error!'),_0x2b8b4b;}}async['_fetchMissChangesets'](_0x3c74b5){var _0x356e97=_0x2997fa;const {unitID:_0x4baba1,from:_0xcdac45,to:_0x1fa229,unitType:_0x1d9b64}=_0x3c74b5[_0x356e97(0x3a9)];return(await this[_0x356e97(0x3d1)][_0x356e97(0x2e8)]({'metadata':void 0x0},{'unitID':_0x4baba1,'type':_0x1d9b64,'from':_0xcdac45,'to':_0x1fa229}))[_0x356e97(0x1e3)];}};Ft=Us([Ue(0x0,_0x25e0f9(_0x22b07c)),Ue(0x1,_0x25e0f9(_0x18c3f2)),Ue(0x2,_0x5a2535),Ue(0x3,_0x770739),Ue(0x4,_0x319a49)],Ft);const ws='collaboration_new_changeset';function Ps(_0x2abd83){var _0x46ff27=_0x2997fa;return JSON[_0x46ff27(0x2b8)](_0x2abd83)[_0x46ff27(0x171)];}class gi{constructor(){var _0xfe11a=_0x2997fa;N(this,_0xfe11a(0x284),new _0x3329c7()),N(this,_0xfe11a(0x305),this[_0xfe11a(0x284)][_0xfe11a(0x3c9)]());}[_0x2997fa(0xec)](_0x20392e){var _0x36e92c=_0x2997fa;this[_0x36e92c(0x284)][_0x36e92c(0x3cf)](_0x20392e);}}var Ms=Object[_0x2997fa(0x16d)],Ls=(_0x3cb764,_0x11dd88,_0x541545,_0xaec121)=>{var _0x2e559a=_0x2997fa;for(var _0x2a1d60=_0xaec121>0x1?void 0x0:_0xaec121?Ms(_0x11dd88,_0x541545):_0x11dd88,_0x54f0c7=_0x3cb764[_0x2e559a(0x171)]-0x1,_0x66b9ee;_0x54f0c7>=0x0;_0x54f0c7--)(_0x66b9ee=_0x3cb764[_0x54f0c7])&&(_0x2a1d60=_0x66b9ee(_0x2a1d60)||_0x2a1d60);return _0x2a1d60;},Vt=(_0x259123,_0x519067)=>(_0x182c97,_0x4361cf)=>_0x519067(_0x182c97,_0x4361cf,_0x259123);let Pe=class extends _0xe906c2{constructor(_0x275fa5,_0x33b27c){var _0x78e6e6=_0x2997fa;super(),N(this,_0x78e6e6(0x153),new Map()),N(this,'_roomCreated$',new _0x3329c7()),(this[_0x78e6e6(0x3b3)]=_0x275fa5,this[_0x78e6e6(0x21a)]=_0x33b27c,this[_0x78e6e6(0x28c)](_0x13131b(this[_0x78e6e6(0x3b3)][_0x78e6e6(0x196)](_0x17fa03['UNIVER_SHEET'])[_0x78e6e6(0x15f)](_0x4e0fa6(_0x3973c3=>_0x3973c3[_0x78e6e6(0x103)]())),this['_univerInstanceService'][_0x78e6e6(0x196)](_0x17fa03['UNIVER_DOC'])['pipe'](_0x4e0fa6(_0x55c4c7=>_0x55c4c7[_0x78e6e6(0x103)]())),this[_0x78e6e6(0x3b3)]['getTypeOfUnitDisposed$'](_0x17fa03[_0x78e6e6(0x2ed)])['pipe'](_0x4e0fa6(_0x5f038f=>_0x5f038f['getUnitId']())))[_0x78e6e6(0x208)](_0x14cda3=>this[_0x78e6e6(0x2eb)](_0x14cda3))));}['waitForRoom$'](_0x13c6ea){var _0x3b29d9=_0x2997fa;return this['_roomMembers'][_0x3b29d9(0x31c)](_0x13c6ea)?_0x3bbad7(this[_0x3b29d9(0x153)][_0x3b29d9(0x322)](_0x13c6ea)):this[_0x3b29d9(0x2b2)]['pipe'](_0x4e0fa6(_0x357c4f=>{if(_0x357c4f===_0x13c6ea)return this['_roomMembers']['get'](_0x357c4f);}));}[_0x2997fa(0x3b4)](_0x420ff0){var _0x4bb6ad=_0x2997fa;this[_0x4bb6ad(0x21a)][_0x4bb6ad(0x3b4)](_0x420ff0);}['getCurrentUser'](){var _0x32032b=_0x2997fa;return this[_0x32032b(0x21a)][_0x32032b(0x185)]();}['updateMember'](_0x1198b9,_0x47fd69){var _0x2d0726=_0x2997fa;let _0x10e376=this[_0x2d0726(0x153)][_0x2d0726(0x322)](_0x1198b9);_0x10e376||(_0x10e376=new xs(),this['_roomMembers']['set'](_0x1198b9,_0x10e376),this[_0x2d0726(0x2b2)][_0x2d0726(0x3cf)](_0x1198b9)),_0x10e376[_0x2d0726(0x1d6)](_0x47fd69);}[_0x2997fa(0xe7)](_0x194079,_0x3687db){var _0x1fd2fb=_0x2997fa;const _0x21f9d9=this[_0x1fd2fb(0x153)]['get'](_0x194079);_0x21f9d9&&_0x21f9d9[_0x1fd2fb(0xe7)](_0x3687db);}[_0x2997fa(0xeb)](_0xd0680d){var _0x5383bd=_0x2997fa;return this[_0x5383bd(0x153)]['get'](_0xd0680d);}[_0x2997fa(0x1cb)](_0x168fa6,_0x16600a){var _0x52e56d=_0x2997fa;const _0x2bdee1=this[_0x52e56d(0x153)][_0x52e56d(0x322)](_0x168fa6);if(_0x2bdee1)return _0x2bdee1[_0x52e56d(0x1cb)](_0x16600a);}[_0x2997fa(0x2eb)](_0x132c81){var _0x103a73=_0x2997fa;const _0x247380=this['_roomMembers'][_0x103a73(0x322)](_0x132c81);_0x247380&&(_0x247380[_0x103a73(0x2ae)](),this[_0x103a73(0x153)][_0x103a73(0xe0)](_0x132c81));}[_0x2997fa(0x2ae)](){var _0x38f778=_0x2997fa;this[_0x38f778(0x153)]['forEach'](_0x389bf5=>_0x389bf5[_0x38f778(0x2ae)]()),this[_0x38f778(0x153)][_0x38f778(0x1a8)](),this['_roomCreated$'][_0x38f778(0x2d3)]();}};Pe=Ls([Vt(0x0,_0x4ffccd),Vt(0x1,_0x25e0f9(_0xaffcef))],Pe);class xs extends _0xe906c2{constructor(){var _0x1b304f=_0x2997fa;super(...arguments),N(this,'_members',new Map()),N(this,_0x1b304f(0x3cc),new _0x51ff3e(this[_0x1b304f(0x233)])),N(this,'members$',this[_0x1b304f(0x3cc)]['asObservable']());}['dispose'](){var _0x5623d2=_0x2997fa;this['_members'][_0x5623d2(0x1a8)]();}[_0x2997fa(0x1d6)](_0x16d046){var _0x55189b=_0x2997fa;this[_0x55189b(0x233)][_0x55189b(0x388)](_0x16d046['memberID'],_0x16d046),this[_0x55189b(0x1b7)]();}['removeMember'](_0x3cc9c8){var _0x11820b=_0x2997fa;this['_members'][_0x11820b(0xe0)](_0x3cc9c8);}['getMember'](_0xf4d21b){var _0x5c7904=_0x2997fa;return this['_members'][_0x5c7904(0x322)](_0xf4d21b);}[_0x2997fa(0x265)](){var _0x1e598c=_0x2997fa;return Array['from'](this[_0x1e598c(0x233)][_0x1e598c(0x1e1)]());}[_0x2997fa(0x1b7)](){var _0x744ab=_0x2997fa;this[_0x744ab(0x3cc)][_0x744ab(0x3cf)](this[_0x744ab(0x233)]);}}var ks=Object[_0x2997fa(0x16d)],$s=(_0xfa2919,_0x34bb87,_0xe1b7d4,_0x18f991)=>{var _0x45406f=_0x2997fa;for(var _0x5744f1=_0x18f991>0x1?void 0x0:_0x18f991?ks(_0x34bb87,_0xe1b7d4):_0x34bb87,_0x4637d3=_0xfa2919[_0x45406f(0x171)]-0x1,_0x251e4e;_0x4637d3>=0x0;_0x4637d3--)(_0x251e4e=_0xfa2919[_0x4637d3])&&(_0x5744f1=_0x251e4e(_0x5744f1)||_0x5744f1);return _0x5744f1;},pe=(_0x35256b,_0x48dce4)=>(_0x2d6c91,_0x10c0dd)=>_0x48dce4(_0x2d6c91,_0x10c0dd,_0x35256b),Se=(_0x307372=>(_0x307372[_0x307372[_0x2997fa(0x3a7)]=0x0]='IDLE',_0x307372[_0x307372[_0x2997fa(0x1ee)]=0x1]='JOINING',_0x307372[_0x307372['OFFLINE']=0x2]=_0x2997fa(0x349),_0x307372[_0x307372[_0x2997fa(0x28d)]=0x3]=_0x2997fa(0x28d),_0x307372))(Se||{});const Wt={[me[_0x2997fa(0x367)]]:_0x2997fa(0x172),[me['JOIN_ROOM_FULL']]:_0x2997fa(0x1ce),[me[_0x2997fa(0x263)]]:_0x2997fa(0x118),[me[_0x2997fa(0x2dd)]]:_0x2997fa(0x2d7),[me[_0x2997fa(0x38e)]]:_0x2997fa(0x19a)};let gt=class extends _0x3337bf{constructor(_0x542678,_0xec34aa,_0x16d3a6,_0x25914d,_0xe6ad33,_0x2b7696,_0x3b01e0,_0x1330d3,_0x1a62ea){var _0x4ec33f=_0x2997fa;super(),N(this,_0x4ec33f(0x18e),new _0x51ff3e(0x0)),N(this,'sessionStatus$',this[_0x4ec33f(0x18e)]['asObservable']()),N(this,_0x4ec33f(0x1dc),new _0x3329c7()),N(this,_0x4ec33f(0x22d),this[_0x4ec33f(0x1dc)][_0x4ec33f(0x3c9)]()),N(this,_0x4ec33f(0x250)),N(this,_0x4ec33f(0x19c)),N(this,_0x4ec33f(0x1d3)),N(this,_0x4ec33f(0x28f),!0x1),N(this,_0x4ec33f(0x14f),null),(this[_0x4ec33f(0x29d)]=_0x542678,this[_0x4ec33f(0x174)]=_0x16d3a6,this[_0x4ec33f(0x323)]=_0x25914d,this['_localeService']=_0xe6ad33,this[_0x4ec33f(0x246)]=_0x2b7696,this[_0x4ec33f(0x16e)]=_0x3b01e0,this[_0x4ec33f(0x15a)]=_0x1330d3,this[_0x4ec33f(0x39b)]=_0x1a62ea,this[_0x4ec33f(0x28f)]=!!this[_0x4ec33f(0x39b)],_0xec34aa['pipe'](_0x3d745a(this[_0x4ec33f(0xef)]))[_0x4ec33f(0x208)](_0x3b42ef=>{var _0x30ac7e=_0x4ec33f,_0x235930;typeof _0x3b42ef>'u'||(this[_0x30ac7e(0x250)]=_0x3b42ef,_0x3b42ef?(this[_0x30ac7e(0x10b)](_0x3b42ef),this[_0x30ac7e(0x19c)]=_0x3b42ef[_0x30ac7e(0x3a5)][_0x30ac7e(0x208)](_0x11e20c=>{var _0x227995=_0x30ac7e;_0x11e20c[_0x227995(0x127)]===this[_0x227995(0x29d)]&&this[_0x227995(0xe5)](_0x11e20c);})):(this[_0x30ac7e(0x25c)](),this[_0x30ac7e(0x18e)][_0x30ac7e(0x3cf)](0x2),(_0x235930=this[_0x30ac7e(0x19c)])==null||_0x235930[_0x30ac7e(0x276)](),this[_0x30ac7e(0x19c)]=null));}));}get[_0x2997fa(0x2f2)](){var _0x5d3b6d=_0x2997fa;return this['_sessionStatus$'][_0x5d3b6d(0x230)]();}[_0x2997fa(0x2e9)](){var _0x2e3150,_0x19b0cb;return(_0x19b0cb=(_0x2e3150=this['_socket'])==null?void 0x0:_0x2e3150['memberID'])!=null?_0x19b0cb:null;}['dispose'](){var _0x2fa790=_0x2997fa;super[_0x2fa790(0x2ae)](),this['dispose$'][_0x2fa790(0x3cf)](),this['dispose$'][_0x2fa790(0x2d3)]();}['close'](){var _0x5a1f68=_0x2997fa,_0xbbb934,_0x521512;this[_0x5a1f68(0x25c)](),(_0xbbb934=this[_0x5a1f68(0x250)])==null||_0xbbb934[_0x5a1f68(0x161)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x5a1f68(0x29d)]}}),(_0x521512=this[_0x5a1f68(0x250)])==null||_0x521512[_0x5a1f68(0x392)](),this[_0x5a1f68(0x1dc)]['complete'](),this[_0x5a1f68(0x18e)]['complete'](),this[_0x5a1f68(0x2ae)]();}[_0x2997fa(0xe5)](_0x4abc18){var _0x1396cf=_0x2997fa;_0x4abc18['cmd']===F[_0x1396cf(0x221)]?this[_0x1396cf(0x101)](_0x4abc18):_0x4abc18['cmd']===F[_0x1396cf(0x1e5)]&&this[_0x1396cf(0x31f)](_0x4abc18);}['_joinRoom'](_0x40e431){var _0x258103=_0x2997fa;this[_0x258103(0x18e)][_0x258103(0x3cf)](0x1),_0x40e431[_0x258103(0x161)]({'cmd':F[_0x258103(0x221)],'routeKey':this[_0x258103(0x29d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x258103(0x29d)]}]}});}[_0x2997fa(0x101)](_0x4a5c06){var _0x4d1497=_0x2997fa,_0x5d14d0;if(_0x4a5c06['code']in Wt){this['_collaborationUIEventService']['emitEvent']({'id':ne['JOIN_ROOM_FAILED'],'data':Wt[_0x4a5c06[_0x4d1497(0x117)]]}),this[_0x4d1497(0x18e)]['next'](0x2);return;}this['_sessionStatus$'][_0x4d1497(0x3cf)](0x3);const _0x49013b=(_0x5d14d0=_0x4a5c06[_0x4d1497(0x3a9)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x5d14d0[_0x4d1497(0x26c)];_0x49013b&&_0x49013b['forEach'](_0xcd6ff1=>this[_0x4d1497(0x246)]['updateMember'](this[_0x4d1497(0x29d)],_0xcd6ff1));}['_onRecvEvent'](_0x5b483c){var _0x461b6d=_0x2997fa;try{const _0x28be4d=_0x5b483c['data'];switch(_0x28be4d['eventID']){case _0x2ee2d1['USERS_ENTER']:this[_0x461b6d(0x3ab)](_0x28be4d),this[_0x461b6d(0x1dc)]['next'](_0x28be4d);break;case _0x2ee2d1[_0x461b6d(0x1e9)]:this['_onUserLeave'](_0x28be4d),this[_0x461b6d(0x1dc)][_0x461b6d(0x3cf)](_0x28be4d);break;case _0x2ee2d1['CHANGESET_ACK']:case _0x2ee2d1[_0x461b6d(0xda)]:this[_0x461b6d(0x37d)](),this[_0x461b6d(0x362)](),this['_event$'][_0x461b6d(0x3cf)](_0x28be4d);break;case _0x2ee2d1[_0x461b6d(0x3d6)]:this[_0x461b6d(0x174)][_0x461b6d(0x33e)](_0x461b6d(0x107)+JSON[_0x461b6d(0x2b8)](_0x28be4d)),this[_0x461b6d(0x1dc)][_0x461b6d(0x3cf)](_0x28be4d);break;case _0x2ee2d1['COMMENT_UPDATE']:this[_0x461b6d(0x16e)][_0x461b6d(0xec)](_0x28be4d[_0x461b6d(0x3a9)]),this['_event$'][_0x461b6d(0x3cf)](_0x28be4d);break;default:this[_0x461b6d(0x1dc)][_0x461b6d(0x3cf)](_0x28be4d);}}catch(_0x1aa957){this[_0x461b6d(0x174)][_0x461b6d(0x33e)](_0x1aa957,_0x5b483c);}}['_onUserJoin'](_0x373974){var _0x127b70=_0x2997fa;this[_0x127b70(0x246)][_0x127b70(0x1d6)](this[_0x127b70(0x29d)],_0x373974['data']);}[_0x2997fa(0x160)](_0x3f4ec9){var _0x3c5c83=_0x2997fa;this[_0x3c5c83(0x246)]['removeMember'](this[_0x3c5c83(0x29d)],_0x3f4ec9[_0x3c5c83(0x3a9)][_0x3c5c83(0x1c7)]);}async[_0x2997fa(0x161)](_0x1268ac,_0xee3174){var _0x1d11d5=_0x2997fa;if(this[_0x1d11d5(0x2f2)]!==0x3||!this[_0x1d11d5(0x250)])throw new Error(_0x1d11d5(0x131));try{_0x1268ac[_0x1d11d5(0x2d8)]===_0x2ee2d1[_0x1d11d5(0x165)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1d11d5(0x3b0)](_0x1268ac)),this['_socket'][_0x1d11d5(0x161)]({'cmd':F['INGEST'],'routeKey':_0xee3174,'routeType':'','data':_0x1268ac});}catch(_0xb36411){this[_0x1d11d5(0x174)][_0x1d11d5(0x33e)](_0xb36411);}}[_0x2997fa(0x3c4)](){var _0x10f475=_0x2997fa,_0x323711;this[_0x10f475(0x1d3)]=setTimeout(()=>{var _0x5f3dc5=_0x10f475;this['_collaborationTimeoutTimer']=null,this[_0x5f3dc5(0x15a)][_0x5f3dc5(0x319)]({'id':ne[_0x5f3dc5(0xf4)]});},(_0x323711=this[_0x10f475(0x323)]['getConfig'](di))!=null?_0x323711:fi);}[_0x2997fa(0x362)](){var _0x299501=_0x2997fa;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x299501(0x1d3)]),this[_0x299501(0x1d3)]=null);}[_0x2997fa(0x3b0)](_0x472c8f){var _0x1a7e60=_0x2997fa;if(!this['_shouldReportTelemetry'])return;const {data:_0x2f63d5}=_0x472c8f,{unitID:_0x40a39d,changeset:_0x26ace7}=_0x2f63d5,{mutations:_0x186794,type:_0x209f58}=_0x26ace7;this[_0x1a7e60(0x14f)]={'unitId':_0x40a39d,'type':_0x209f58,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x186794)};}[_0x2997fa(0x37d)](){var _0x30d48a=_0x2997fa;if(this[_0x30d48a(0x28f)]){if(!this[_0x30d48a(0x14f)]){this[_0x30d48a(0x174)][_0x30d48a(0x33e)](_0x30d48a(0x32d),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x30d48a(0x14f)][_0x30d48a(0x329)]=performance['now'](),this[_0x30d48a(0x14f)][_0x30d48a(0x379)]=this[_0x30d48a(0x14f)][_0x30d48a(0x329)]-this[_0x30d48a(0x14f)][_0x30d48a(0x26d)],this['_telemetryService']['capture'](ws,this[_0x30d48a(0x14f)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x419736=_0x2997fa;this[_0x419736(0x14f)]=null;}};gt=$s([pe(0x2,_0x770739),pe(0x3,_0x5a2535),pe(0x4,_0x25e0f9(_0x22d998)),pe(0x5,_0x25e0f9(Pe)),pe(0x6,_0x25e0f9(gi)),pe(0x7,_0x25e0f9(ve)),pe(0x8,_0x43da98(_0x4ef290))],gt);var Hs=Object[_0x2997fa(0x16d)],Bs=(_0x559788,_0x2e17f2,_0x1dacce,_0x5d8cc6)=>{var _0xb34d4a=_0x2997fa;for(var _0x135fd2=_0x5d8cc6>0x1?void 0x0:_0x5d8cc6?Hs(_0x2e17f2,_0x1dacce):_0x2e17f2,_0x4544ae=_0x559788[_0xb34d4a(0x171)]-0x1,_0x318ac9;_0x4544ae>=0x0;_0x4544ae--)(_0x318ac9=_0x559788[_0x4544ae])&&(_0x135fd2=_0x318ac9(_0x135fd2)||_0x135fd2);return _0x135fd2;},Re=(_0x296903,_0x592572)=>(_0xf3b0ac,_0x4ef8cc)=>_0x592572(_0xf3b0ac,_0x4ef8cc,_0x296903);let Me=class extends _0xe906c2{constructor(_0x426d63,_0x55e41e,_0x3b3ed5,_0x182b22,_0x52fe43,_0x56d435){var _0x240a75=_0x2997fa;super(),N(this,_0x240a75(0x1bb),new _0x51ff3e(void 0x0)),N(this,_0x240a75(0x390),this[_0x240a75(0x1bb)][_0x240a75(0x3c9)]()),N(this,'_candidateSocket',null),N(this,_0x240a75(0x27c),new Map()),N(this,_0x240a75(0x224),new _0x51ff3e(Se['IDLE'])),N(this,_0x240a75(0x1c3),this[_0x240a75(0x224)][_0x240a75(0x3c9)]()),N(this,_0x240a75(0x13e),!0x1),N(this,_0x240a75(0x333)),N(this,_0x240a75(0x214),0x0),N(this,_0x240a75(0x39c)),N(this,_0x240a75(0x336)),(this[_0x240a75(0x372)]=_0x426d63,this[_0x240a75(0x174)]=_0x55e41e,this[_0x240a75(0x323)]=_0x3b3ed5,this[_0x240a75(0xfe)]=_0x182b22,this[_0x240a75(0x15a)]=_0x52fe43,this[_0x240a75(0x155)]=_0x56d435,this['_listenToNetworkCondition']());}get['_socket'](){var _0x44eda9=_0x2997fa;return this[_0x44eda9(0x1bb)][_0x44eda9(0x230)]();}[_0x2997fa(0x209)](){var _0x548174=_0x2997fa;this[_0x548174(0x155)]&&this[_0x548174(0x28c)](this[_0x548174(0x155)][_0x548174(0x204)][_0x548174(0x208)](_0x28acb4=>{_0x28acb4&&!this['_socket']&&this['reconnect'](),_0x28acb4||this['_onOffline']();}));}[_0x2997fa(0x2ae)](){var _0x1d4423=_0x2997fa;super['dispose'](),this[_0x1d4423(0x2fa)](),this[_0x1d4423(0x24a)](),this[_0x1d4423(0x382)](),this['_sessions']['forEach'](_0x36175a=>_0x36175a[_0x1d4423(0x2ae)]()),this[_0x1d4423(0x27c)][_0x1d4423(0x1a8)](),this[_0x1d4423(0x224)][_0x1d4423(0x2d3)]();}async[_0x2997fa(0x358)](_0x15c7e0){var _0xad1eae=_0x2997fa;if(this[_0xad1eae(0x27c)][_0xad1eae(0x31c)](_0x15c7e0))return this[_0xad1eae(0x27c)][_0xad1eae(0x322)](_0x15c7e0);this[_0xad1eae(0x11f)]();const _0x377e1f=this[_0xad1eae(0x372)]['createInstance'](gt,_0x15c7e0,this['_socket$'][_0xad1eae(0x3c9)]());return this['_sessions']['set'](_0x15c7e0,_0x377e1f),_0x377e1f;}[_0x2997fa(0x158)](_0x3ff585){var _0x3c7e48=_0x2997fa,_0x4fdf17;const _0x57a75e=this[_0x3c7e48(0x27c)][_0x3c7e48(0x322)](_0x3ff585);_0x57a75e&&(this['_sessions']['delete'](_0x3ff585),_0x57a75e['close']()),this[_0x3c7e48(0x27c)][_0x3c7e48(0xfc)]||(_0x4fdf17=this[_0x3c7e48(0x250)])==null||_0x4fdf17['close']();}[_0x2997fa(0xe3)](){var _0x10b3af=_0x2997fa;this['_retryCount']=0x0,this[_0x10b3af(0x2fa)](),this[_0x10b3af(0x1c1)]();}[_0x2997fa(0x2fa)](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x2997fa(0xf2)](){var _0x34d7a5=_0x2997fa,_0x14fbe5;const _0x132c37=this[_0x34d7a5(0x323)]['getConfig'](K),_0xd2caca=(_0x14fbe5=_0x132c37==null?void 0x0:_0x132c37[_0x34d7a5(0x1d4)])!=null?_0x14fbe5:ms,_0x24c7cb=await this[_0x34d7a5(0xfe)][_0x34d7a5(0x289)](_0xd2caca);return this['_candidateSocket']=_0x24c7cb,_0x24c7cb;}async[_0x2997fa(0x11f)](){var _0x21f462=_0x2997fa,_0x3514d7,_0x55f471;try{const _0x3c989c=(_0x55f471=(_0x3514d7=this['_socket'])!=null?_0x3514d7:this[_0x21f462(0x398)])!=null?_0x55f471:await this[_0x21f462(0xf2)]();if(_0x3c989c){const _0x1b5228=_0x3c989c[_0x21f462(0x161)];_0x3c989c[_0x21f462(0x161)]=_0x4f1791=>(this[_0x21f462(0x100)](),_0x1b5228['apply'](_0x3c989c,[_0x4f1791])),_0x3c989c[_0x21f462(0x3a5)][_0x21f462(0x208)](_0x1b9978=>this['_onMessage'](_0x3c989c,_0x1b9978)),_0x3c989c[_0x21f462(0x251)][_0x21f462(0x15f)](_0x3e1693(0x1))['subscribe'](_0x3709ae=>this[_0x21f462(0x174)][_0x21f462(0x33e)](_0x21f462(0x22b),_0x3709ae)),_0x3c989c['open$'][_0x21f462(0x15f)](_0x3e1693(0x1))['subscribe'](()=>{var _0x3484fb=_0x21f462;this[_0x3484fb(0x3a8)](_0x3c989c);}),_0x3c989c[_0x21f462(0x1fa)]['pipe'](_0x3e1693(0x1))[_0x21f462(0x208)](_0x403f68=>{var _0x3c3452=_0x21f462;this[_0x3c3452(0x174)][_0x3c3452(0x20e)](_0x3c3452(0x2ac),'socket\x20close',_0x403f68),this[_0x3c3452(0x23f)]();});}}catch(_0x358b69){this[_0x21f462(0x174)][_0x21f462(0x33e)](_0x358b69),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4549c7){var _0x5bae98=_0x2997fa;this[_0x5bae98(0x174)]['debug'](_0x5bae98(0x2ac),_0x5bae98(0x3c2)),_0x4549c7['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x2997fa(0x243)](){var _0x237a62=_0x2997fa;this[_0x237a62(0x13e)]=!0x1,this['_candidateSocket']=null,this[_0x237a62(0x224)][_0x237a62(0x3cf)](Se[_0x237a62(0x349)]),this['_socket$'][_0x237a62(0x3cf)](null),this[_0x237a62(0x24a)](),this[_0x237a62(0x382)]();}[_0x2997fa(0x23f)](){var _0x5419f3=_0x2997fa,_0x382fbb;this[_0x5419f3(0x243)](),this[_0x5419f3(0x214)]<((_0x382fbb=this['_configService'][_0x5419f3(0x2a0)](Is))!=null?_0x382fbb:Ts)?(this[_0x5419f3(0x15a)]['emitEvent']({'id':ne[_0x5419f3(0x217)]}),this[_0x5419f3(0x1c1)]()):this[_0x5419f3(0x15a)][_0x5419f3(0x319)]({'id':ne[_0x5419f3(0x267)]});}['_tryReconnect'](){var _0x33ecd8=_0x2997fa,_0x43c541;const _0x513ae2=this[_0x33ecd8(0x214)],_0x4daf3b=this[_0x33ecd8(0x323)][_0x33ecd8(0x2a0)](K),_0x220156=_0x513ae2===0x0?0x0:((_0x43c541=_0x4daf3b==null?void 0x0:_0x4daf3b['retryConnectingInterval'])!=null?_0x43c541:Es)*0x2**_0x513ae2;this[_0x33ecd8(0x333)]=setTimeout(()=>{var _0x250aa4=_0x33ecd8;clearTimeout(this[_0x250aa4(0x333)]),this[_0x250aa4(0x333)]=null,this[_0x250aa4(0x11f)]();},_0x220156),this[_0x33ecd8(0x214)]+=0x1;}[_0x2997fa(0x1b5)](_0x1d36ec,_0x295b5e){var _0x1ebf60=_0x2997fa;const {cmd:_0xc244fa}=_0x295b5e;_0xc244fa===F[_0x1ebf60(0x1a7)]&&!this[_0x1ebf60(0x13e)]&&(_0x1d36ec[_0x1ebf60(0x1c7)]=_0x295b5e['data']['memberID'],this[_0x1ebf60(0x1bb)][_0x1ebf60(0x3cf)](_0x1d36ec),this[_0x1ebf60(0x224)][_0x1ebf60(0x3cf)](Se['ONLINE']),this[_0x1ebf60(0x13e)]=!0x0,this[_0x1ebf60(0x398)]=null),_0xc244fa===F[_0x1ebf60(0x34a)]&&this[_0x1ebf60(0x24a)](),this[_0x1ebf60(0x100)]();}[_0x2997fa(0x100)](){var _0x5569f6=_0x2997fa,_0x3ac11b;this[_0x5569f6(0x382)](),this[_0x5569f6(0x39c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3ac11b=this[_0x5569f6(0x323)][_0x5569f6(0x2a0)](gs))!=null?_0x3ac11b:Ss);}[_0x2997fa(0x12c)](){var _0x179e6c=_0x2997fa;this[_0x179e6c(0x250)][_0x179e6c(0x161)]({'cmd':F[_0x179e6c(0x34a)]}),this[_0x179e6c(0x154)]();}[_0x2997fa(0x154)](){var _0x27db62=_0x2997fa,_0x128d0e;this[_0x27db62(0x336)]=setTimeout(()=>this[_0x27db62(0x23f)](),(_0x128d0e=this[_0x27db62(0x323)][_0x27db62(0x2a0)](di))!=null?_0x128d0e:fi);}[_0x2997fa(0x382)](){var _0x366240=_0x2997fa;this[_0x366240(0x39c)]!=null&&(clearTimeout(this[_0x366240(0x39c)]),this['_sendHeartbeatTimer']=null);}[_0x2997fa(0x24a)](){var _0x39eaff=_0x2997fa;this[_0x39eaff(0x336)]!=null&&(clearTimeout(this[_0x39eaff(0x336)]),this[_0x39eaff(0x336)]=null);}};Me=Bs([Re(0x0,_0x25e0f9(_0x22b07c)),Re(0x1,_0x770739),Re(0x2,_0x5a2535),Re(0x3,mi),Re(0x4,_0x25e0f9(ve)),Re(0x5,_0x43da98(bs))],Me);const J=_0x444194(_0x2997fa(0x346));function br(_0x4dc5b9){var _0x2813b4=_0x2997fa;return _0x2813b4(0x13c)+_0x4dc5b9;}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x25ce09,_0x1f7c02,_0x321f2c,_0x20df1c)=>{var _0x118de9=_0x2997fa;for(var _0x246a3c=_0x20df1c>0x1?void 0x0:_0x20df1c?js(_0x1f7c02,_0x321f2c):_0x1f7c02,_0x11b098=_0x25ce09[_0x118de9(0x171)]-0x1,_0x19a53b;_0x11b098>=0x0;_0x11b098--)(_0x19a53b=_0x25ce09[_0x11b098])&&(_0x246a3c=_0x19a53b(_0x246a3c)||_0x246a3c);return _0x246a3c;},ut=(_0x43928c,_0x17b6d2)=>(_0x398cdc,_0x569dba)=>_0x17b6d2(_0x398cdc,_0x569dba,_0x43928c);function Vs(_0x2b626d){var _0x5c7bb7=_0x2997fa;const {unitID:_0x5a440a,mutations:_0x45fe25}=_0x2b626d;return{'unitId':_0x5a440a,'subUnitId':_0x45fe25[0x0][_0x5c7bb7(0x1be)][_0x5c7bb7(0x31a)]};}let it=class{constructor(_0x365c44,_0x5952cc,_0x16737d){var _0x1bde69=_0x2997fa;this[_0x1bde69(0x372)]=_0x365c44,this['_transformService']=_0x5952cc,this[_0x1bde69(0x235)]=_0x16737d;}[_0x2997fa(0x184)](_0x582498){var _0x34fce6=_0x2997fa,_0x2e7570,_0x54cf74,_0x4cc48b,_0x439978;const _0x25178e=this[_0x34fce6(0x372)][_0x34fce6(0x322)](_0x40fde3),{unitId:_0x513657,subUnitId:_0x54bd2d}=Vs(_0x582498),_0x281c65=_0x25178e==null?void 0x0:_0x25178e[_0x34fce6(0x293)](_0x513657)[_0x34fce6(0x140)](),_0x3a0c74=(_0x54cf74=(_0x2e7570=this['_instanceService']['getUnit'](_0x513657))==null?void 0x0:_0x2e7570[_0x34fce6(0x122)]())==null?void 0x0:_0x54cf74[_0x34fce6(0x29a)]();if(_0x281c65[_0x34fce6(0x171)]===0x0||!_0x513657||!_0x54bd2d)return;const _0x984275=[{'id':_0x322876['id'],'params':{'unitId':_0x513657,'subUnitId':_0x3a0c74,'selections':_0x3400eb[_0x34fce6(0x22a)](_0x281c65)}}],_0x3c614c=this[_0x34fce6(0x2a7)][_0x34fce6(0x12d)](_0x582498,_0x984275);if(!_0x5cc586(_0x3c614c))throw _0x3c614c[_0x34fce6(0x33e)];const _0x1684de=(_0x439978=(_0x4cc48b=_0x3c614c[_0x34fce6(0x1db)][0x0])==null?void 0x0:_0x4cc48b[_0x34fce6(0x1be)])==null?void 0x0:_0x439978['selections'];if(Array[_0x34fce6(0x1ac)](_0x1684de)&&_0x1684de['length']){if(_0x1684de[_0x34fce6(0x171)]===_0x984275[0x0][_0x34fce6(0x1be)][_0x34fce6(0x24c)]['length']&&_0x1684de[_0x34fce6(0x299)]((_0x194452,_0x22d999)=>_0x6d4969[_0x34fce6(0x1fd)](_0x194452[_0x34fce6(0x1f2)],_0x984275[0x0][_0x34fce6(0x1be)][_0x34fce6(0x24c)][_0x22d999][_0x34fce6(0x1f2)])))return;this[_0x34fce6(0x372)][_0x34fce6(0x322)](_0x353885)[_0x34fce6(0x179)](_0x322876['id'],{'unitId':_0x513657,'subUnitId':_0x3a0c74,'selections':_0x1684de});}}};it=Fs([ut(0x0,_0x25e0f9(_0x22b07c)),ut(0x1,_0x275b18),ut(0x2,_0x4ffccd)],it);const ht=_0x444194('univer-pro.collaboration-client.single-active-unit-service');var Si=(_0x3dc36d=>(_0x3dc36d[_0x3dc36d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2997fa(0x28a),_0x3dc36d[_0x3dc36d['OTHER_CLIENTS_EDITING']=0x1]=_0x2997fa(0xfb),_0x3dc36d))(Si||{});const Ws=new Set([_0x359a4b['id']]);function Gt(_0x453bd9,_0x1ab1cb,_0x532adc,_0x41de3c,_0x5d9ae1){var _0x4c37e4=_0x2997fa,_0x2583c4,_0x3466b7,_0x5ba907,_0x162335;const _0x17cafc=[];for(const _0x5ebd83 of _0x453bd9)if(Ws[_0x4c37e4(0x31c)](_0x5ebd83['id'])){if(_0x17cafc[_0x4c37e4(0x171)]>0x0)break;_0x17cafc[_0x4c37e4(0x129)](_0x5ebd83);break;}else _0x17cafc[_0x4c37e4(0x129)](_0x5ebd83);const _0x4751c6=(_0x3466b7=(_0x2583c4=_0x5d9ae1[_0x4c37e4(0x185)]())==null?void 0x0:_0x2583c4[_0x4c37e4(0x320)])!=null?_0x3466b7:_0x4c37e4(0x1dd),_0x118f91=(_0x162335=(_0x5ba907=_0x5d9ae1[_0x4c37e4(0x185)]())==null?void 0x0:_0x5ba907[_0x4c37e4(0x1c7)])!=null?_0x162335:_0x4c37e4(0x1dd);return{'changeset':{'unitID':_0x1ab1cb,'type':_0x4651f5(_0x532adc[_0x4c37e4(0x2c0)](_0x1ab1cb)),'baseRev':_0x41de3c[_0x4c37e4(0x257)](_0x1ab1cb),'revision':0x0,'userID':_0x4751c6,'memberID':_0x118f91,'mutations':_0x17cafc},'pendingMutations':_0x453bd9['slice'](_0x17cafc[_0x4c37e4(0x171)])};}function Gs(_0x591112,_0x40a72a,_0x32669e,_0x439bbe,_0x367975){var _0x36cffa=_0x2997fa,_0x34445d,_0x37f41b,_0x3d3b39,_0x3f5e1d;const _0x358e56=[_0x591112[_0x36cffa(0x1e0)]((_0x16d034,_0x50d0a2)=>{var _0x6312cc=_0x36cffa,_0x378259;const {id:_0x4cb85e}=_0x16d034,{id:_0x49764f,type:_0x83515f}=_0x50d0a2,_0x1f0d51=(_0x378259=_0x16d034[_0x6312cc(0x1be)])!=null?_0x378259:{'actions':null},_0x2bba56=_0x50d0a2[_0x6312cc(0x1be)];if(_0x4cb85e&&_0x4cb85e!==_0x49764f)throw new Error(_0x6312cc(0x149)+_0x4cb85e+_0x6312cc(0x2be)+_0x49764f+'.');return{..._0x16d034,'id':_0x49764f,'type':_0x83515f,'params':{'unitId':_0x2bba56[_0x6312cc(0x3a4)],'textRanges':_0x2bba56[_0x6312cc(0x357)],'actions':_0xe0e196[_0x6312cc(0x162)](_0x1f0d51['actions'],_0x2bba56[_0x6312cc(0x201)])}};},{})],_0x442f5e=(_0x37f41b=(_0x34445d=_0x367975[_0x36cffa(0x185)]())==null?void 0x0:_0x34445d['userID'])!=null?_0x37f41b:'unknown',_0x14a8a2=(_0x3f5e1d=(_0x3d3b39=_0x367975[_0x36cffa(0x185)]())==null?void 0x0:_0x3d3b39[_0x36cffa(0x1c7)])!=null?_0x3f5e1d:_0x36cffa(0x1dd);return{'changeset':{'unitID':_0x40a72a,'type':_0x4651f5(_0x32669e[_0x36cffa(0x2c0)](_0x40a72a)),'baseRev':_0x439bbe[_0x36cffa(0x257)](_0x40a72a),'revision':0x0,'userID':_0x442f5e,'memberID':_0x14a8a2,'mutations':_0x358e56},'pendingMutations':[]};}function Ei(_0x289c20,_0x4001b8){var _0x2a10c7=_0x2997fa;const _0x5e2e83=new _0x10f672(0x1);return setTimeout(()=>_0x5e2e83[_0x2a10c7(0x3cf)](_0x4001b8),_0x289c20),_0x5e2e83[_0x2a10c7(0x3c9)]()[_0x2a10c7(0x15f)](_0x2b8e67(0x1));}const Ys={'id':_0x5d82aa['id'],'type':_0xb8cf5f[_0x2997fa(0x13b)],'params':{}};var Ks=Object['getOwnPropertyDescriptor'],Ie=(_0x5f4639,_0x57b6e7,_0x1441e7,_0x5bd2b4)=>{var _0x19c919=_0x2997fa;for(var _0x2f9519=_0x5bd2b4>0x1?void 0x0:_0x5bd2b4?Ks(_0x57b6e7,_0x1441e7):_0x57b6e7,_0x51de39=_0x5f4639[_0x19c919(0x171)]-0x1,_0x1ed6e3;_0x51de39>=0x0;_0x51de39--)(_0x1ed6e3=_0x5f4639[_0x51de39])&&(_0x2f9519=_0x1ed6e3(_0x2f9519)||_0x2f9519);return _0x2f9519;},P=(_0x15e730,_0x3d6643)=>(_0x3c4853,_0x56bd0f)=>_0x3d6643(_0x3c4853,_0x56bd0f,_0x15e730),Ii=(_0x48f107=>(_0x48f107[_0x2997fa(0x37f)]=_0x2997fa(0x302),_0x48f107[_0x2997fa(0x303)]='synced',_0x48f107['PENDING']=_0x2997fa(0x29f),_0x48f107[_0x2997fa(0x37e)]=_0x2997fa(0x197),_0x48f107['AWAITING_WITH_PENDING']=_0x2997fa(0x10c),_0x48f107[_0x2997fa(0x328)]=_0x2997fa(0x1bd),_0x48f107[_0x2997fa(0x2e5)]=_0x2997fa(0x2fd),_0x48f107[_0x2997fa(0x349)]='offline',_0x48f107))(Ii||{});const Ti=0xea60;class Te{constructor(_0x5b3bd5,_0x55d231,_0x4f4a50,_0x24b65d,_0x44a476,_0x2a45b7,_0x405297,_0x28dda3,_0x8c9b92){var _0x26262c=_0x2997fa;N(this,'_awaitingChangeset',null),N(this,_0x26262c(0x23a),[]),(this[_0x26262c(0x355)]=_0x5b3bd5,this[_0x26262c(0x241)]=_0x55d231,this[_0x26262c(0x3b8)]=_0x44a476,this[_0x26262c(0x279)]=_0x2a45b7,this[_0x26262c(0x2c3)]=_0x405297,this[_0x26262c(0x19d)]=_0x28dda3,this[_0x26262c(0x11a)]=_0x8c9b92,this[_0x26262c(0x3d9)]=_0x4f4a50,this[_0x26262c(0x23a)]=_0x24b65d);}[_0x2997fa(0x20c)](_0x4241a6){var _0x18de90=_0x2997fa;const _0x3348c7=this[_0x18de90(0x19d)][_0x18de90(0x257)](this[_0x18de90(0x355)]);return _0x4241a6['revision']>_0x3348c7+0x1?(this[_0x18de90(0x3b8)][_0x18de90(0x38b)]({'from':_0x3348c7,'to':_0x4241a6[_0x18de90(0x19e)]-0x1}),!0x0):!0x1;}[_0x2997fa(0x3d8)](_0x1a948d){var _0x4aee03=_0x2997fa;this[_0x4aee03(0x2c3)]['transformUndoRedo'](this['unitID'],_0x1a948d);}[_0x2997fa(0x30a)](_0x256556){var _0x272a5b=_0x2997fa,_0xc55146,_0xd657f1;(_0xd657f1=(_0xc55146=this[_0x272a5b(0x3b8)])['onTransformSelections'])==null||_0xd657f1['call'](_0xc55146,_0x256556);}[_0x2997fa(0xdb)](_0x3b9f32){var _0x5010fc=_0x2997fa,_0x478fcb,_0x9e8147;return(_0x9e8147=(_0x478fcb=this[_0x5010fc(0x3b8)])[_0x5010fc(0x15c)])==null?void 0x0:_0x9e8147[_0x5010fc(0x2da)](_0x478fcb,_0x3b9f32);}[_0x2997fa(0xf9)](_0x32579e){var _0x211c34=_0x2997fa,_0x58a348,_0x3b20ba;return(_0x3b20ba=(_0x58a348=this[_0x211c34(0x3b8)])[_0x211c34(0x1d7)])==null?void 0x0:_0x3b20ba[_0x211c34(0x2da)](_0x58a348,_0x32579e);}[_0x2997fa(0x373)](_0x3f2145){var _0x610dd2=_0x2997fa,_0x53be13,_0x2b37f1,_0xfcbb2c;return(_0xfcbb2c=(_0x2b37f1=(_0x53be13=this[_0x610dd2(0x3b8)])[_0x610dd2(0x309)])==null?void 0x0:_0x2b37f1[_0x610dd2(0x2da)](_0x53be13,_0x3f2145))!=null?_0xfcbb2c:_0x3f2145;}[_0x2997fa(0x1b9)](_0x58d9d4){var _0x4d5185=_0x2997fa,_0x5b804c,_0x3fd6b4,_0x59959c;return(_0x59959c=(_0x3fd6b4=(_0x5b804c=this[_0x4d5185(0x3b8)])[_0x4d5185(0x33d)])==null?void 0x0:_0x3fd6b4[_0x4d5185(0x2da)](_0x5b804c,_0x58d9d4))!=null?_0x59959c:_0x58d9d4;}[_0x2997fa(0x14d)](_0x1bb658){var _0x5852c3=_0x2997fa,_0x72fef7,_0xc7aaf0;if(this[_0x5852c3(0x241)]===Z[_0x5852c3(0x2f0)]){const {unitID:_0x4e2897,mutations:_0x45ce42,memberID:_0x2ca772}=_0x1bb658,_0x8315f5=_0x45ce42[0x0]['params']['textRanges'];Array[_0x5852c3(0x1ac)](_0x8315f5)&&_0x8315f5[_0x5852c3(0x171)]>0x0&&((_0xc7aaf0=(_0x72fef7=this[_0x5852c3(0x3b8)])[_0x5852c3(0x34f)])==null||_0xc7aaf0[_0x5852c3(0x2da)](_0x72fef7,{'unitID':_0x4e2897,'memberID':_0x2ca772,'textRanges':_0x8315f5}));}}[_0x2997fa(0x23c)](){var _0x4d9a4d=_0x2997fa,_0x32dcf3;(_0x32dcf3=this[_0x4d9a4d(0x11a)])==null||_0x32dcf3['updateOfflineData'](this[_0x4d9a4d(0x355)],this[_0x4d9a4d(0x241)],this[_0x4d9a4d(0x3d9)],this[_0x4d9a4d(0x23a)]);}[_0x2997fa(0x1ad)](){var _0xa46d0e=_0x2997fa;return this[_0xa46d0e(0x19d)][_0xa46d0e(0x257)](this[_0xa46d0e(0x355)]);}[_0x2997fa(0x248)](){var _0x26c26b=_0x2997fa;this[_0x26c26b(0x19d)][_0x26c26b(0x3b6)](this[_0x26c26b(0x355)]);}[_0x2997fa(0x2f6)](_0x34c950){var _0x338dfd=_0x2997fa,_0x73ed2f;let _0x5db6bd=this[_0x338dfd(0x373)](_0x34c950);_0x5db6bd=this['_transformRemoteChangesetByStateCache'](_0x5db6bd);const _0x1c28b9=_0x593bde(_0x5db6bd[_0x338dfd(0x229)],this[_0x338dfd(0x279)],{'fromCollab':!0x0});if(!_0x1c28b9['result'])throw _0x1c28b9[_0x338dfd(0x33e)]instanceof Error?_0x1c28b9[_0x338dfd(0x33e)]:new Error((_0x73ed2f=_0x1c28b9['error'])!=null?_0x73ed2f:'[CollaborationState]:\x20apply\x20error!');this[_0x338dfd(0xdb)](_0x5db6bd),this[_0x338dfd(0xf9)](_0x5db6bd),this[_0x338dfd(0x3d8)](_0x34c950),this['_transformSelections'](_0x5db6bd),this[_0x338dfd(0x14d)](_0x5db6bd),this[_0x338dfd(0x248)]();}}let ye=class extends Te{constructor(_0x6a8f68,_0x4d492f,_0x3f9617,_0x4064dd,_0x49b53b,_0x36d7ca,_0x302d14,_0x14f85b,_0x474b61,_0xbe612e){var _0x33cb5d=_0x2997fa;super(_0x6a8f68,_0x4d492f,null,[],_0x3f9617,_0x302d14,_0x36d7ca,_0x4064dd,_0xbe612e),N(this,'status',_0x33cb5d(0x331)),(this['_injector']=_0x49b53b,this[_0x33cb5d(0x174)]=_0x14f85b,this[_0x33cb5d(0x2a7)]=_0x474b61,this[_0x33cb5d(0x3d0)]=_0xbe612e);}[_0x2997fa(0x1f3)](_0x3dd7a2){var _0x1e0ac6=_0x2997fa;const _0x5a907a=this[_0x1e0ac6(0x372)][_0x1e0ac6(0x354)](re,this[_0x1e0ac6(0x355)],this['type'],[_0x3dd7a2],this[_0x1e0ac6(0x3b8)]);return _0x5a907a[_0x1e0ac6(0x205)](),_0x5a907a['_updateLocalCache'](),_0x5a907a;}[_0x2997fa(0x1f7)](_0x42847d){var _0x34e889=_0x2997fa;if(this[_0x34e889(0x20c)](_0x42847d))return this['_injector'][_0x34e889(0x354)](Q,this[_0x34e889(0x355)],this['type'],null,[],null,[_0x42847d],this['_handler']);try{const _0x33b8a3=this[_0x34e889(0x2a7)][_0x34e889(0x12d)](_0x42847d,[Ys]);if(_0x5cc586(_0x33b8a3)){const {c1Prime:_0x4ae32f}=_0x33b8a3;return this[_0x34e889(0x2f6)](_0x4ae32f),this;}throw _0x33b8a3[_0x34e889(0x33e)];}catch(_0x697c16){return this[_0x34e889(0x174)][_0x34e889(0x33e)](_0x697c16),this['_onConflict'](!0x1);}}['_onConflict'](_0x5e616c){var _0x496ead=_0x2997fa;return this[_0x496ead(0x372)][_0x496ead(0x354)](le,this['unitID'],this['type'],null,[],this[_0x496ead(0x3b8)],_0x5e616c);}['onRemoteAck'](){var _0x70db9f=_0x2997fa;throw new Error(_0x70db9f(0x255));}[_0x2997fa(0x36d)](){var _0x2d86ae=_0x2997fa;throw new Error(_0x2d86ae(0x285));}[_0x2997fa(0x11e)](){return this;}[_0x2997fa(0x262)](){var _0x208c2e=_0x2997fa;return this['_injector'][_0x208c2e(0x354)](ue,this[_0x208c2e(0x355)],this[_0x208c2e(0x241)],null,[],this[_0x208c2e(0x3b8)]);}[_0x2997fa(0x3c5)](){return this;}[_0x2997fa(0x240)](){var _0x3caae7=_0x2997fa;throw new Error(_0x3caae7(0x353));}[_0x2997fa(0x365)](){var _0xab4412=_0x2997fa;const _0x57b32e=this[_0xab4412(0x19d)][_0xab4412(0x257)](this['unitID']);return this['_handler'][_0xab4412(0x38b)]({'from':_0x57b32e,'to':0x0}),this['_injector'][_0xab4412(0x354)](Q,this[_0xab4412(0x355)],this[_0xab4412(0x241)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x25e0f9(_0x3e7bd1)),P(0x4,_0x25e0f9(_0x22b07c)),P(0x5,_0x1728bd),P(0x6,_0x353885),P(0x7,_0x770739),P(0x8,_0x275b18),P(0x9,_0x43da98(J))],ye);let re=class extends Te{constructor(_0x2b3e6b,_0x361fb8,_0x4b568e,_0x3fd180,_0x5d7882,_0x2ad180,_0x238729,_0x2df404,_0x19f15a,_0x231b37,_0x4004d4,_0x23ea9e,_0x582b88,_0x389541){var _0x257743=_0x2997fa;super(_0x2b3e6b,_0x361fb8,null,_0x4b568e,_0x3fd180,_0x19f15a,_0x582b88,_0x2ad180,_0x389541),N(this,_0x257743(0x1c6),_0x257743(0x29f)),N(this,_0x257743(0x12b),null),N(this,'_sendingTimer',null),(this[_0x257743(0x372)]=_0x5d7882,this['_memberService']=_0x238729,this['_logService']=_0x2df404,this[_0x257743(0x323)]=_0x231b37,this['_transformService']=_0x4004d4,this[_0x257743(0x3b3)]=_0x23ea9e);}[_0x2997fa(0x1f3)](_0x32139d){var _0x27d8d1=_0x2997fa;return this[_0x27d8d1(0x23a)]['push'](_0x32139d),this['_updateLocalCache'](),this;}[_0x2997fa(0x1f7)](_0x2ca27e){var _0x12ed7c=_0x2997fa;if(this['_checkMissing'](_0x2ca27e))return this[_0x12ed7c(0x359)](),this['_injector'][_0x12ed7c(0x354)](Q,this['unitID'],this[_0x12ed7c(0x241)],null,this['_pendingMutations'],null,[_0x2ca27e],this['_handler']);try{const _0x1c532d=this[_0x12ed7c(0x2a7)]['transformMutationsWithChangeset'](_0x2ca27e,this[_0x12ed7c(0x23a)]);if(_0x5cc586(_0x1c532d)){const {c1Prime:_0x5ae36d,m2Prime:_0x215676}=_0x1c532d;this[_0x12ed7c(0x2f6)](_0x5ae36d);const _0x30dda9=this[_0x12ed7c(0x372)][_0x12ed7c(0x354)](re,this[_0x12ed7c(0x355)],this[_0x12ed7c(0x241)],_0x215676,this['_handler']);this['_clearScheduledTask']();const _0x2f9f32=new Date()[_0x12ed7c(0x313)](),_0x51c1c9=this[_0x12ed7c(0x12b)]?Math[_0x12ed7c(0x3b5)](this[_0x12ed7c(0x12b)]-_0x2f9f32,0x0):this['_getSendChangesetTimeout']();return _0x30dda9[_0x12ed7c(0x205)](_0x51c1c9),_0x30dda9;}throw _0x1c532d[_0x12ed7c(0x33e)];}catch(_0x415a55){return this[_0x12ed7c(0x174)][_0x12ed7c(0x33e)](_0x415a55),this[_0x12ed7c(0x1fc)](!0x1);}}[_0x2997fa(0xf6)](){var _0x22df2e=_0x2997fa;throw new Error(_0x22df2e(0x168));}[_0x2997fa(0x36d)](){var _0x5ca4a0=_0x2997fa;throw new Error(_0x5ca4a0(0x2f5));}[_0x2997fa(0x11e)](){return this;}[_0x2997fa(0x262)](){var _0x22f87e=_0x2997fa;return this[_0x22f87e(0x359)](),this['_injector']['createInstance'](ue,this[_0x22f87e(0x355)],this[_0x22f87e(0x241)],null,this[_0x22f87e(0x23a)],this['_handler']);}[_0x2997fa(0x3c5)](){return this;}['_schedule'](_0x34268c){var _0x16d89a=_0x2997fa;const _0x3c7174=_0x34268c!=null?_0x34268c:this[_0x16d89a(0x16b)]();this['_scheduleCompleteTimestamp']=new Date()[_0x16d89a(0x313)]()+_0x3c7174,this[_0x16d89a(0x23e)]=setTimeout(()=>{var _0x424250=_0x16d89a;this['_clearScheduledTask']();let _0x534aa3=null;switch(this['type']){case Z[_0x424250(0x1f8)]:{_0x534aa3=Gt(this[_0x424250(0x23a)],this[_0x424250(0x355)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}case Z[_0x424250(0x2f0)]:{this[_0x424250(0x23a)]['every'](_0xa8324f=>_0xa8324f['id']===_0x387f3d['id'])?_0x534aa3=Gs(this[_0x424250(0x23a)],this[_0x424250(0x355)],this[_0x424250(0x3b3)],this[_0x424250(0x19d)],this[_0x424250(0x246)]):_0x534aa3=Gt(this[_0x424250(0x23a)],this[_0x424250(0x355)],this[_0x424250(0x3b3)],this[_0x424250(0x19d)],this[_0x424250(0x246)]);break;}default:throw new Error(_0x424250(0x391)+this[_0x424250(0x241)]+_0x424250(0x34e));}const {changeset:_0x3857b5,pendingMutations:_0x554abd}=_0x534aa3;this[_0x424250(0x3b8)][_0x424250(0x39f)](_0x3857b5);const _0x160fa9=_0x554abd['length']?this['_injector'][_0x424250(0x354)](ae,this[_0x424250(0x355)],this[_0x424250(0x241)],_0x3857b5,_0x554abd,this[_0x424250(0x3b8)],void 0x0):this[_0x424250(0x372)][_0x424250(0x354)](_e,this['unitID'],this[_0x424250(0x241)],_0x3857b5,this['_handler']);_0x160fa9['_updateLocalCache'](),this[_0x424250(0x3b8)]['onStateChange'](this,_0x160fa9);},_0x3c7174);}['_getSendChangesetTimeout'](){var _0x49fd9f=_0x2997fa,_0x3762c9;const _0x3747c0=this[_0x49fd9f(0x323)][_0x49fd9f(0x2a0)](K);return(_0x3762c9=_0x3747c0==null?void 0x0:_0x3747c0[_0x49fd9f(0x1eb)])!=null?_0x3762c9:ps;}[_0x2997fa(0x240)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2997fa(0x359)](){var _0x4b539b=_0x2997fa;this[_0x4b539b(0x23e)]!=null&&(clearTimeout(this[_0x4b539b(0x23e)]),this[_0x4b539b(0x23e)]=null);}[_0x2997fa(0x1fc)](_0x45c535){var _0xa543ce=_0x2997fa;return this[_0xa543ce(0x359)](),this[_0xa543ce(0x372)][_0xa543ce(0x354)](le,this[_0xa543ce(0x355)],this[_0xa543ce(0x241)],null,this[_0xa543ce(0x23a)],this[_0xa543ce(0x3b8)],_0x45c535);}};re=Ie([P(0x4,_0x25e0f9(_0x22b07c)),P(0x5,_0x25e0f9(_0x3e7bd1)),P(0x6,_0x25e0f9(Pe)),P(0x7,_0x770739),P(0x8,_0x353885),P(0x9,_0x5a2535),P(0xa,_0x275b18),P(0xb,_0x4ffccd),P(0xc,_0x1728bd),P(0xd,_0x43da98(J))],re);let _e=class extends Te{constructor(_0x25ab43,_0x39790c,_0x3a1634,_0x3e4963,_0x131b38,_0x1359e8,_0x4bd9f0,_0x151997,_0x2938e9,_0x34d2b5,_0x15fd4d){var _0x2ef377=_0x2997fa;super(_0x25ab43,_0x39790c,_0x3a1634,[],_0x3e4963,_0x4bd9f0,_0x34d2b5,_0x1359e8,_0x15fd4d),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x2ef377(0x36e)),N(this,'_sender'),(this[_0x2ef377(0x372)]=_0x131b38,this[_0x2ef377(0x174)]=_0x151997,this[_0x2ef377(0x2a7)]=_0x2938e9);}[_0x2997fa(0x1f3)](_0x3b8baa){var _0x1f399d=_0x2997fa;this['_clearScheduledTask']();const _0x492c7a=this[_0x1f399d(0x372)][_0x1f399d(0x354)](ae,this[_0x1f399d(0x355)],this['type'],this[_0x1f399d(0x3d9)],[_0x3b8baa],this[_0x1f399d(0x3b8)],this[_0x1f399d(0x36e)]);return _0x492c7a[_0x1f399d(0x23c)](),_0x492c7a;}[_0x2997fa(0x1f7)](_0x5179d1){var _0x1cb309=_0x2997fa;if(this['_checkMissing'](_0x5179d1))return this[_0x1cb309(0x359)](),this[_0x1cb309(0x372)][_0x1cb309(0x354)](Q,this[_0x1cb309(0x355)],this[_0x1cb309(0x241)],this['_awaitingChangeset'],[],null,[_0x5179d1],this[_0x1cb309(0x3b8)]);try{const _0x510769=this['_transformService'][_0x1cb309(0x3db)]([_0x5179d1],[this[_0x1cb309(0x3d9)]],!0x1);if(_0x4b90ed(_0x510769)){const {c1Prime:_0x4cd217,c2Prime:_0x278165}=_0x510769;this[_0x1cb309(0x2f6)](_0x4cd217[0x0]),_0x278165[0x0]['baseRev']=this[_0x1cb309(0x1ad)](),this[_0x1cb309(0x359)]();const _0x5eefe4=this[_0x1cb309(0x372)][_0x1cb309(0x354)](_e,this['unitID'],this[_0x1cb309(0x241)],_0x278165[0x0],this['_handler']);return _0x5eefe4[_0x1cb309(0x23c)](),_0x5eefe4;}return this[_0x1cb309(0x1fc)](!0x1);}catch(_0x276ebd){return this[_0x1cb309(0x174)][_0x1cb309(0x33e)](_0x276ebd),this[_0x1cb309(0x1fc)](!0x1);}}[_0x2997fa(0xf6)](_0x235b22){var _0x560873=_0x2997fa;this[_0x560873(0x359)]();const _0x1994e6=this[_0x560873(0x19d)]['getCurrentRevOfUnit'](this['unitID']);if(_0x235b22[_0x560873(0x19e)]<_0x1994e6-0x1)return this;if(this[_0x560873(0x20c)](_0x235b22))return this[_0x560873(0x372)][_0x560873(0x354)](Q,this[_0x560873(0x355)],this['type'],null,[],this[_0x560873(0x3d9)],[],this['_handler']);this[_0x560873(0x248)]();const _0x65e775=this['_injector'][_0x560873(0x354)](ye,this[_0x560873(0x355)],this['type'],this[_0x560873(0x3b8)]);return _0x65e775[_0x560873(0x23c)](),_0x65e775;}[_0x2997fa(0x36d)](_0x5ef5a4){var _0x456726=_0x2997fa;return this['_onConflict'](!!(_0x5ef5a4!=null&&_0x5ef5a4[_0x456726(0x1ec)]));}['onRemoteRetry'](_0xb74003){var _0x366c75=_0x2997fa;return this['_resendTimeout']>Ti?this[_0x366c75(0x262)]():(this[_0x366c75(0x36e)]=Ei(this[_0x366c75(0x128)],{'timeout':this[_0x366c75(0x128)],'reqId':_0xb74003[_0x366c75(0x190)]}),this['_sender']=this[_0x366c75(0x36e)][_0x366c75(0x208)](({reqId:_0x26d088,timeout:_0x42fa8f})=>{var _0x5cb0ba=_0x366c75;this[_0x5cb0ba(0x3ba)](_0x26d088,_0x42fa8f);}),this);}[_0x2997fa(0x262)](){var _0x4f354a=_0x2997fa;return this[_0x4f354a(0x359)](),this['_injector'][_0x4f354a(0x354)](ue,this[_0x4f354a(0x355)],this[_0x4f354a(0x241)],this['_awaitingChangeset'],[],this[_0x4f354a(0x3b8)]);}['toggleOnline'](){return this;}[_0x2997fa(0x240)](){var _0x17293f=_0x2997fa;this[_0x17293f(0x3b8)][_0x17293f(0x39f)](this[_0x17293f(0x3d9)]);}['_onConflict'](_0x3c9ac6){var _0x17f1ab=_0x2997fa;return this[_0x17f1ab(0x359)](),this[_0x17f1ab(0x372)][_0x17f1ab(0x354)](le,this[_0x17f1ab(0x355)],this[_0x17f1ab(0x241)],this[_0x17f1ab(0x3d9)],[],this[_0x17f1ab(0x3b8)],_0x3c9ac6);}[_0x2997fa(0x3ba)](_0x87f30,_0x50d810){var _0x487d01=_0x2997fa,_0x3bee99;_0x87f30===((_0x3bee99=this[_0x487d01(0x3d9)])==null?void 0x0:_0x3bee99[_0x487d01(0x190)])&&(this[_0x487d01(0x240)](),this['_resendTimeout']=_0x50d810===0x0?0x3e8:_0x50d810*0x2);}[_0x2997fa(0x359)](){var _0x16da6c=_0x2997fa,_0x40bc86;(_0x40bc86=this[_0x16da6c(0x1d1)])==null||_0x40bc86[_0x16da6c(0x276)](),this[_0x16da6c(0x128)]=0x0;}};_e=Ie([P(0x4,_0x25e0f9(_0x22b07c)),P(0x5,_0x25e0f9(_0x3e7bd1)),P(0x6,_0x353885),P(0x7,_0x770739),P(0x8,_0x275b18),P(0x9,_0x1728bd),P(0xa,_0x43da98(J))],_e);let ae=class extends Te{constructor(_0x42a317,_0x2269f4,_0x4ca85d,_0x3057e8,_0x7d4062,_0x59bd4e,_0x5981ee,_0x177f71,_0x3b5f92,_0xd41cc5,_0x35dd38,_0x14b6dd,_0xcfedc2){var _0xbe3fa8=_0x2997fa;super(_0x42a317,_0x2269f4,_0x4ca85d,_0x3057e8,_0x7d4062,_0x3b5f92,_0x14b6dd,_0x177f71,_0xcfedc2),N(this,_0xbe3fa8(0x1c6),_0xbe3fa8(0x10c)),N(this,_0xbe3fa8(0x128),0x0),N(this,_0xbe3fa8(0x36e)),N(this,'_sender'),(this[_0xbe3fa8(0x372)]=_0x5981ee,this[_0xbe3fa8(0x174)]=_0xd41cc5,this['_transformService']=_0x35dd38,this[_0xbe3fa8(0x3d0)]=_0xcfedc2,_0x59bd4e&&(this[_0xbe3fa8(0x36e)]=_0x59bd4e,this['_sender']=this['_resendTimer'][_0xbe3fa8(0x208)](({reqId:_0x24b554,timeout:_0x3eaba7})=>{var _0x5b1bf1=_0xbe3fa8;this[_0x5b1bf1(0x3ba)](_0x24b554,_0x3eaba7);})));}[_0x2997fa(0x1f3)](_0x3bf485){var _0x5d331f=_0x2997fa;return this[_0x5d331f(0x23a)][_0x5d331f(0x129)](_0x3bf485),this;}['onRemoteChangeset'](_0x1d8786){var _0x269124=_0x2997fa;if(this['_checkMissing'](_0x1d8786))return this[_0x269124(0x359)](),this['_injector']['createInstance'](Q,this['unitID'],this[_0x269124(0x241)],this[_0x269124(0x3d9)],this['_pendingMutations'],null,[_0x1d8786],this[_0x269124(0x3b8)]);try{const _0x23f808=this[_0x269124(0x2a7)]['transformChangesets']([_0x1d8786],[this[_0x269124(0x3d9)]],!0x1);if(_0x4b90ed(_0x23f808)){const {c1Prime:_0x2797a5,c2Prime:_0x2d6045}=_0x23f808,_0x1cabfb=this[_0x269124(0x2a7)][_0x269124(0x12d)](_0x2797a5[0x0],this[_0x269124(0x23a)]);if(_0x5cc586(_0x1cabfb)){const {c1Prime:_0x202c05,m2Prime:_0x26577b}=_0x1cabfb;return this[_0x269124(0x2f6)](_0x202c05),_0x2d6045[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x269124(0x372)]['createInstance'](ae,this[_0x269124(0x355)],this['type'],_0x2d6045[0x0],_0x26577b,this[_0x269124(0x3b8)],void 0x0);}throw _0x1cabfb[_0x269124(0x33e)];}throw _0x23f808[_0x269124(0x33e)];}catch(_0x4d0ca0){return this[_0x269124(0x174)][_0x269124(0x33e)](_0x4d0ca0),this['_onConflict'](!0x1);}}[_0x2997fa(0xf6)](_0x2ff826){var _0x4193f0=_0x2997fa;if(this[_0x4193f0(0x359)](),this[_0x4193f0(0x20c)](_0x2ff826))return this[_0x4193f0(0x372)][_0x4193f0(0x354)](Q,this[_0x4193f0(0x355)],this[_0x4193f0(0x241)],null,this['_pendingMutations'],this[_0x4193f0(0x3d9)],[],this[_0x4193f0(0x3b8)]);this[_0x4193f0(0x248)]();const _0x1f298e=this[_0x4193f0(0x372)][_0x4193f0(0x354)](re,this['unitID'],this[_0x4193f0(0x241)],this[_0x4193f0(0x23a)],this[_0x4193f0(0x3b8)]);return _0x1f298e['_schedule'](),_0x1f298e['_updateLocalCache'](),_0x1f298e;}[_0x2997fa(0x36d)](_0x236c39){var _0x1fa731=_0x2997fa;return this[_0x1fa731(0x1fc)](!!(_0x236c39!=null&&_0x236c39[_0x1fa731(0x1ec)]));}[_0x2997fa(0x11e)](_0x2cfcba){var _0x417336=_0x2997fa;return this[_0x417336(0x128)]>Ti?this['toggleOffline']():(this[_0x417336(0x36e)]=Ei(this[_0x417336(0x128)],{'timeout':this[_0x417336(0x128)],'reqId':_0x2cfcba['reqId']}),this[_0x417336(0x1d1)]=this[_0x417336(0x36e)][_0x417336(0x208)](({reqId:_0x1504d1,timeout:_0x1a90e1})=>{var _0x1739c0=_0x417336;this[_0x1739c0(0x3ba)](_0x1504d1,_0x1a90e1);}),this);}['toggleOffline'](){var _0x54b4fe=_0x2997fa;return this[_0x54b4fe(0x359)](),this[_0x54b4fe(0x372)][_0x54b4fe(0x354)](ue,this[_0x54b4fe(0x355)],this[_0x54b4fe(0x241)],this[_0x54b4fe(0x3d9)],this[_0x54b4fe(0x23a)],this['_handler']);}[_0x2997fa(0x3c5)](){return this;}[_0x2997fa(0x240)](){var _0x3bae0d=_0x2997fa;this[_0x3bae0d(0x3b8)][_0x3bae0d(0x39f)](this[_0x3bae0d(0x3d9)]);}['_onConflict'](_0x24bc53){var _0x54b440=_0x2997fa;return this['_clearScheduledTask'](),this[_0x54b440(0x372)][_0x54b440(0x354)](le,this['unitID'],this[_0x54b440(0x241)],null,this[_0x54b440(0x23a)],this[_0x54b440(0x3b8)],_0x24bc53);}[_0x2997fa(0x3ba)](_0x15b572,_0x1c7e4a){var _0x24bbe5=_0x2997fa,_0x50e178;_0x15b572===((_0x50e178=this[_0x24bbe5(0x3d9)])==null?void 0x0:_0x50e178[_0x24bbe5(0x190)])&&(this['resend'](),this[_0x24bbe5(0x128)]=_0x1c7e4a===0x0?0x3e8:_0x1c7e4a*0x2);}[_0x2997fa(0x359)](){var _0x421a69=_0x2997fa,_0x4fee08;(_0x4fee08=this[_0x421a69(0x1d1)])==null||_0x4fee08[_0x421a69(0x276)](),this[_0x421a69(0x128)]=0x0;}};ae=Ie([P(0x6,_0x25e0f9(_0x22b07c)),P(0x7,_0x25e0f9(_0x3e7bd1)),P(0x8,_0x353885),P(0x9,_0x770739),P(0xa,_0x275b18),P(0xb,_0x1728bd),P(0xc,_0x43da98(J))],ae);let le=class extends Te{constructor(_0x1f4e42,_0x19880d,_0x1eca59,_0xcdee66,_0x134674,_0x54e7b8=!0x1,_0x421ed0,_0x148d24,_0x4f471f,_0x5ebbf7,_0x356494,_0x4c1069,_0x1bba27){var _0x36d77f=_0x2997fa;super(_0x1f4e42,_0x19880d,_0x1eca59,_0xcdee66,_0x134674,_0x148d24,_0x4f471f,_0x5ebbf7,_0x1bba27),N(this,'status','conflict'),(this[_0x36d77f(0x2fb)]=_0x54e7b8,this[_0x36d77f(0x2b7)]=_0x421ed0,this[_0x36d77f(0x23b)]=_0x356494,this[_0x36d77f(0x15a)]=_0x4c1069,this[_0x36d77f(0x3d0)]=_0x1bba27,this[_0x36d77f(0x13f)](),this[_0x36d77f(0x3b1)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x2997fa(0x1f7)](){return this;}['onRemoteAck'](){return this;}[_0x2997fa(0x36d)](){return this;}[_0x2997fa(0x11e)](){return this;}[_0x2997fa(0x262)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x90638f=_0x2997fa;throw new Error(_0x90638f(0x173));}[_0x2997fa(0x3b1)](){var _0x2c048c=_0x2997fa,_0x14d4c0;(_0x14d4c0=this[_0x2c048c(0x11a)])==null||_0x14d4c0[_0x2c048c(0x35a)](this[_0x2c048c(0x355)],this[_0x2c048c(0x241)],null,[]);}[_0x2997fa(0x13f)](){var _0x187379=_0x2997fa;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x187379(0x319)]({'id':ne['PERMISSION_DENIED']}):this[_0x187379(0x15a)][_0x187379(0x319)]({'id':ne['CONFLICT']});}[_0x2997fa(0x15d)](){var _0x4a8dfb=_0x2997fa;this[_0x4a8dfb(0x2b7)][_0x4a8dfb(0x342)](new _0x3ac59f(this[_0x4a8dfb(0x355)])['id'],!0x1);}};le=Ie([P(0x6,_0x25e0f9(_0x4037be)),P(0x7,_0x353885),P(0x8,_0x1728bd),P(0x9,_0x25e0f9(_0x3e7bd1)),P(0xa,_0x25e0f9(_0x22d998)),P(0xb,_0x25e0f9(ve)),P(0xc,_0x43da98(J))],le);let ue=class extends Te{constructor(_0x1713a7,_0x48d410,_0x299376,_0x28232c,_0x1975ea,_0x5d2280,_0x4a71e7,_0x63c2ef,_0x1e906c,_0x142132){var _0x48406f=_0x2997fa;super(_0x1713a7,_0x48d410,_0x299376,_0x28232c,_0x1975ea,_0x63c2ef,_0x1e906c,_0x4a71e7,_0x142132),N(this,_0x48406f(0x1c6),'offline'),this[_0x48406f(0x372)]=_0x5d2280;}[_0x2997fa(0x1f3)](_0x171003){var _0x2d78de=_0x2997fa;return this[_0x2d78de(0x23a)][_0x2d78de(0x129)](_0x171003),this[_0x2d78de(0x23c)](),this;}[_0x2997fa(0x1f7)](_0x177f89){var _0x1e1b9b=_0x2997fa;throw new Error(_0x1e1b9b(0x239));}[_0x2997fa(0xf6)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2997fa(0x36d)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x3dabf8=_0x2997fa;const {_injector:_0x459205,_pendingMutations:_0x4dead6,_awaitingChangeset:_0x54c33f,unitID:_0x46a508,_handler:_0x5ebf8b,type:_0xc80088}=this,_0x467d03=Ci(_0x459205,_0x46a508,_0xc80088,_0x54c33f,_0x4dead6,_0x5ebf8b);return _0x467d03 instanceof re?_0x467d03[_0x3dabf8(0x205)]():(_0x467d03 instanceof ae||_0x467d03 instanceof _e)&&_0x467d03[_0x3dabf8(0x240)](),_0x467d03;}[_0x2997fa(0x240)](){var _0x1db414=_0x2997fa;throw new Error(_0x1db414(0x1a0));}};ue=Ie([P(0x5,_0x25e0f9(_0x22b07c)),P(0x6,_0x25e0f9(_0x3e7bd1)),P(0x7,_0x353885),P(0x8,_0x1728bd),P(0x9,_0x43da98(J))],ue);let Q=class extends Te{constructor(_0x14ac78,_0x11988e,_0x16920a,_0x3bce79,_0x4cb120,_0x19de62,_0x55ab3c,_0x24f7f5,_0x135128,_0x480a11,_0x253024,_0x3dcc89,_0x353e3e,_0x39af3c){var _0x1ae0e3=_0x2997fa;super(_0x14ac78,_0x11988e,_0x16920a,_0x3bce79,_0x55ab3c,_0x253024,_0x3dcc89,_0x135128,_0x39af3c),N(this,_0x1ae0e3(0x1c6),_0x1ae0e3(0x1bd)),(this['_acknowledgedAwaitingChangeset']=_0x4cb120,this[_0x1ae0e3(0x193)]=_0x19de62,this[_0x1ae0e3(0x372)]=_0x24f7f5,this[_0x1ae0e3(0x174)]=_0x480a11,this['_transformService']=_0x353e3e,this[_0x1ae0e3(0x3d0)]=_0x39af3c);}[_0x2997fa(0x3bb)](_0x151d87){var _0x327a3a=_0x2997fa;try{const _0x4076e9=[..._0x151d87,...this[_0x327a3a(0x193)]],_0xe3d112=[this[_0x327a3a(0x3d9)]||this[_0x327a3a(0xdd)]]['filter'](_0x4c27ad=>!!_0x4c27ad);let _0x237110,_0x10ea11;if(_0xe3d112[_0x327a3a(0x171)]){const _0x269cce=this[_0x327a3a(0x2a7)][_0x327a3a(0x3db)](_0x4076e9,_0xe3d112,!0x1);if(!_0x4b90ed(_0x269cce))throw _0x269cce[_0x327a3a(0x33e)];_0x237110=_0x269cce[_0x327a3a(0x315)],_0x10ea11=_0x269cce['c2Prime'];}else _0x237110=_0x4076e9,_0x10ea11=[];let _0x44747d=this[_0x327a3a(0x23a)];_0x237110[_0x327a3a(0x212)](_0x3b18bf=>{var _0x4e3892=_0x327a3a;let _0x5ca5e5;if(_0x44747d[_0x4e3892(0x171)]){const _0x7cb6e8=this[_0x4e3892(0x2a7)]['transformMutationsWithChangeset'](_0x3b18bf,_0x44747d);if(!_0x5cc586(_0x7cb6e8))throw _0x7cb6e8['error'];_0x5ca5e5=_0x7cb6e8[_0x4e3892(0x315)],_0x44747d=_0x7cb6e8[_0x4e3892(0x1db)];}else _0x5ca5e5=_0x3b18bf;this[_0x4e3892(0x2f6)](_0x5ca5e5);}),this[_0x327a3a(0xdd)]&&this[_0x327a3a(0x248)](),this['_awaitingChangeset']&&_0x10ea11[_0x327a3a(0x171)]&&(_0x10ea11[0x0][_0x327a3a(0x187)]=this[_0x327a3a(0x1ad)]());let _0x25cd37;if(this[_0x327a3a(0x3d9)]&&_0x44747d[_0x327a3a(0x171)]!==0x0)_0x25cd37=this[_0x327a3a(0x372)][_0x327a3a(0x354)](ae,this[_0x327a3a(0x355)],this[_0x327a3a(0x241)],_0x10ea11[0x0],_0x44747d,this[_0x327a3a(0x3b8)],void 0x0);else{if(this['_awaitingChangeset']&&_0x44747d[_0x327a3a(0x171)]===0x0)_0x10ea11[0x0]['baseRev']=this['_getCurrentRevision'](),_0x25cd37=this[_0x327a3a(0x372)]['createInstance'](_e,this['unitID'],this[_0x327a3a(0x241)],_0x10ea11[0x0],this['_handler']);else{if(_0x44747d['length']!==0x0){const _0x3d3d96=this[_0x327a3a(0x372)]['createInstance'](re,this[_0x327a3a(0x355)],this[_0x327a3a(0x241)],_0x44747d,this[_0x327a3a(0x3b8)]);_0x3d3d96[_0x327a3a(0x205)](),_0x25cd37=_0x3d3d96;}else _0x25cd37=this[_0x327a3a(0x372)][_0x327a3a(0x354)](ye,this[_0x327a3a(0x355)],this[_0x327a3a(0x241)],this[_0x327a3a(0x3b8)]);}}return _0x25cd37[_0x327a3a(0x23c)](),_0x25cd37;}catch(_0x51dc4a){return this[_0x327a3a(0x174)]['error'](_0x327a3a(0xed),_0x327a3a(0x238),_0x51dc4a),this[_0x327a3a(0x372)][_0x327a3a(0x354)](le,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x327a3a(0x23a)],this['_handler'],!0x1);}}[_0x2997fa(0x240)](){var _0x492485=_0x2997fa;throw new Error(_0x492485(0x1fe));}[_0x2997fa(0x1f3)](_0x50b4b0){var _0x2f6e41=_0x2997fa;return this[_0x2f6e41(0x23a)][_0x2f6e41(0x129)](_0x50b4b0),this;}[_0x2997fa(0x1f7)](_0x5d20c9){var _0x34e2a2=_0x2997fa;return this[_0x34e2a2(0x193)][_0x34e2a2(0x129)](_0x5d20c9),this;}[_0x2997fa(0xf6)](_0x33dabf){var _0x2a4388=_0x2997fa;if(this[_0x2a4388(0x3d9)])return this[_0x2a4388(0xdd)]=this[_0x2a4388(0x3d9)],this[_0x2a4388(0x3d9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2997fa(0x36d)](_0x40ad14){var _0x26a312=_0x2997fa;return this['_onConflict'](!!(_0x40ad14!=null&&_0x40ad14[_0x26a312(0x1ec)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3ff3cd=_0x2997fa;return this[_0x3ff3cd(0x372)]['createInstance'](ue,this[_0x3ff3cd(0x355)],this[_0x3ff3cd(0x241)],this[_0x3ff3cd(0x3d9)],this['_pendingMutations'],this[_0x3ff3cd(0x3b8)]);}[_0x2997fa(0x3c5)](){return this;}[_0x2997fa(0x1fc)](_0x50548c){var _0x528ee3=_0x2997fa;return this[_0x528ee3(0x372)][_0x528ee3(0x354)](le,this[_0x528ee3(0x355)],this[_0x528ee3(0x241)],this[_0x528ee3(0x3d9)],this[_0x528ee3(0x23a)],this[_0x528ee3(0x3b8)],_0x50548c);}};Q=Ie([P(0x7,_0x25e0f9(_0x22b07c)),P(0x8,_0x25e0f9(_0x3e7bd1)),P(0x9,_0x770739),P(0xa,_0x353885),P(0xb,_0x1728bd),P(0xc,_0x275b18),P(0xd,_0x43da98(J))],Q);function Ci(_0x2666d1,_0x5da244,_0x28d106,_0x3f4cd0,_0x4b4685,_0x244635){var _0x323fcc=_0x2997fa;return _0x3f4cd0&&_0x4b4685[_0x323fcc(0x171)]?_0x2666d1['createInstance'](ae,_0x5da244,_0x28d106,_0x3f4cd0,_0x4b4685,_0x244635,void 0x0):_0x3f4cd0?_0x2666d1['createInstance'](_e,_0x5da244,_0x28d106,_0x3f4cd0,_0x244635):_0x4b4685[_0x323fcc(0x171)]?_0x2666d1[_0x323fcc(0x354)](re,_0x5da244,_0x28d106,_0x4b4685,_0x244635):_0x2666d1[_0x323fcc(0x354)](ye,_0x5da244,_0x28d106,_0x244635);}var qs=Object['getOwnPropertyDescriptor'],wt=(_0x2922b8,_0x27bc07,_0x2a8b5a,_0xba1f5a)=>{var _0x3f801b=_0x2997fa;for(var _0x73038f=_0xba1f5a>0x1?void 0x0:_0xba1f5a?qs(_0x27bc07,_0x2a8b5a):_0x27bc07,_0x111360=_0x2922b8[_0x3f801b(0x171)]-0x1,_0x36d8ea;_0x111360>=0x0;_0x111360--)(_0x36d8ea=_0x2922b8[_0x111360])&&(_0x73038f=_0x36d8ea(_0x73038f)||_0x73038f);return _0x73038f;},H=(_0x5b2ee6,_0x5f384c)=>(_0x3b9de8,_0x61dcfa)=>_0x5f384c(_0x3b9de8,_0x61dcfa,_0x5b2ee6);let st=class extends _0x3337bf{constructor(_0x29e8d6,_0x22afd8,_0x1bfd95,_0x94cd91,_0x1bacf9,_0x1da676,_0x52b87d,_0x4e5cd8,_0x577840,_0x4909e2,_0x142ab4,_0x4f9636,_0xd706d0){var _0x1519a0=_0x2997fa;super(),N(this,_0x1519a0(0x1ff),new _0x51ff3e(null)),N(this,_0x1519a0(0x2ec),this[_0x1519a0(0x1ff)][_0x1519a0(0x3c9)]()),N(this,_0x1519a0(0x26e)),N(this,_0x1519a0(0x3c1),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0x1519a0(0x1c3),this[_0x1519a0(0x2ec)]['pipe'](_0x491322(_0x2152cb=>_0x2152cb?_0x2152cb['status']:Ii['OFFLINE']),_0x4ca6db(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x1519a0(0x15b),[]),(this['unitID']=_0x29e8d6,this[_0x1519a0(0x180)]=_0x22afd8,this[_0x1519a0(0x123)]=_0x1bfd95,this['_injector']=_0x94cd91,this[_0x1519a0(0x17a)]=_0x1bacf9,this['_localeService']=_0x1da676,this['_revisionService']=_0x52b87d,this[_0x1519a0(0x325)]=_0x4e5cd8,this['_logService']=_0x577840,this[_0x1519a0(0x279)]=_0x4909e2,this[_0x1519a0(0x2b7)]=_0x142ab4,this['_singleActiveUnitService']=_0x4f9636,this[_0x1519a0(0x11a)]=_0xd706d0);}get[_0x2997fa(0x2e2)](){return this['_state'];}async['init'](){var _0x5290fa=_0x2997fa;if(this[_0x5290fa(0x2e2)])throw new Error(_0x5290fa(0x1e4));await this[_0x5290fa(0x2fc)]();}['pauseCollaboration'](){var _0x5f546c=_0x2997fa;return this[_0x5f546c(0x3c1)]=!0x0,_0x45bb6e(()=>{var _0x1e7d67=_0x5f546c;this[_0x1e7d67(0x3c1)]=!0x1,this[_0x1e7d67(0x3cd)]();});}[_0x2997fa(0x120)](_0x19aa39){var _0x592f3f=_0x2997fa;this[_0x592f3f(0x216)](_0x19aa39);}[_0x2997fa(0x311)](_0x27fd17){var _0x4e5bc0=_0x2997fa;this[_0x4e5bc0(0x26e)]=_0x27fd17,this['_state$']['next'](_0x27fd17);}async['_init'](){var _0x22f191=_0x2997fa,_0x5b25e7;this[_0x22f191(0x311)](await this[_0x22f191(0x1bf)]()),this['_singleActiveUnitService']&&((_0x5b25e7=this[_0x22f191(0x3a6)])==null||_0x5b25e7[_0x22f191(0x104)](this[_0x22f191(0x355)]),this['disposeWithMe'](this[_0x22f191(0x3a6)][_0x22f191(0x1f4)](this['unitID'])['subscribe'](_0x5e8475=>{var _0x4dc43b=_0x22f191;this[_0x4dc43b(0x174)][_0x4dc43b(0x20e)](_0x4dc43b(0x282),'editing\x20status\x20changed\x20to',_0x5e8475),_0x5e8475===Si[_0x4dc43b(0xfb)]?(this[_0x4dc43b(0x325)]['emitEvent']({'id':ne[_0x4dc43b(0x2f3)]}),this['_permissionService'][_0x4dc43b(0x342)](new _0x3ac59f(this[_0x4dc43b(0x355)])['id'],!0x1),this[_0x4dc43b(0x2b7)][_0x4dc43b(0x21f)](!0x1)):(this[_0x4dc43b(0x2b7)][_0x4dc43b(0x342)](new _0x3ac59f(this[_0x4dc43b(0x355)])['id'],!0x0),this[_0x4dc43b(0x2b7)]['setShowComponents'](!0x0));})));let _0x4cdb9d=!0x1;return this['disposeWithMe'](this[_0x22f191(0x180)][_0x22f191(0x317)][_0x22f191(0x208)](_0x4181da=>{var _0x2cdcbc=_0x22f191;_0x4181da===Se[_0x2cdcbc(0x28d)]?this['_toggleOnline'](_0x4cdb9d):_0x4181da===Se[_0x2cdcbc(0x349)]&&(_0x4cdb9d=!0x0,this[_0x2cdcbc(0x220)]());})),this['disposeWithMe'](this[_0x22f191(0x180)][_0x22f191(0x22d)]['subscribe'](_0x4862f7=>{var _0x5a1caf=_0x22f191;try{switch(_0x4862f7[_0x5a1caf(0x2d8)]){case _0x2ee2d1[_0x5a1caf(0x2ff)]:{this[_0x5a1caf(0x32e)](_0x5c4dd2(_0x4862f7[_0x5a1caf(0x3a9)]));break;}case _0x2ee2d1[_0x5a1caf(0x186)]:{this['_onRemoteACK'](_0x4862f7[_0x5a1caf(0x3a9)]);break;}case _0x2ee2d1[_0x5a1caf(0x368)]:{this[_0x5a1caf(0x2d6)]();break;}case _0x2ee2d1[_0x5a1caf(0xda)]:{this[_0x5a1caf(0x181)](_0x4862f7[_0x5a1caf(0x3a9)]);break;}case _0x2ee2d1['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5a1caf(0x2f8)](_0x4862f7['data']['changesets'][_0x5a1caf(0x14b)](_0x79f091=>_0x5c4dd2(_0x79f091)));break;}case _0x2ee2d1[_0x5a1caf(0x314)]:{this[_0x5a1caf(0x2d6)]({'isPermissionRej':!0x0});break;}case _0x2ee2d1[_0x5a1caf(0x167)]:break;}}catch(_0x3c8d0e){throw console[_0x5a1caf(0x33e)]('Error\x20on\x20receiving\x20event',_0x3c8d0e),_0x3c8d0e;}})),this[_0x22f191(0x26e)];}[_0x2997fa(0x166)](){var _0x494b39=_0x2997fa;this[_0x494b39(0x2c1)]=!0x1;}[_0x2997fa(0x363)](){var _0x3a07ff=_0x2997fa;if(this['_transitionLocked'])throw new Error(_0x3a07ff(0x1a2));this[_0x3a07ff(0x2c1)]=!0x0;}[_0x2997fa(0x216)](_0x465ab3){var _0x58f305=_0x2997fa;this[_0x58f305(0x363)](),this[_0x58f305(0x311)](this[_0x58f305(0x26e)][_0x58f305(0x1f3)](_0x465ab3)),this[_0x58f305(0x166)]();}['_onRemoteChangeset'](_0x1c58b6){var _0x356c5f=_0x2997fa;if(!(_0x1c58b6[_0x356c5f(0x19e)]<=this[_0x356c5f(0x19d)][_0x356c5f(0x257)](this[_0x356c5f(0x355)]))){if(this[_0x356c5f(0x3c1)]){this[_0x356c5f(0x15b)][_0x356c5f(0x129)](_0x1c58b6);return;}this[_0x356c5f(0x34b)](_0x1c58b6);}}[_0x2997fa(0x3cd)](){var _0x1d4e90=_0x2997fa;this[_0x1d4e90(0x15b)][_0x1d4e90(0x212)](_0x145483=>this['_applyRemoteChangeset'](_0x145483)),this[_0x1d4e90(0x15b)]=[];}[_0x2997fa(0x34b)](_0x14356d){var _0x2fd69e=_0x2997fa;const _0xecc061=this['_compressMutationService'][_0x2fd69e(0x2b9)]['fetchThroughInterceptors'](this[_0x2fd69e(0x17a)][_0x2fd69e(0x2b9)][_0x2fd69e(0x29c)]()[_0x2fd69e(0x35c)])(_0x14356d[_0x2fd69e(0x229)],null)||_0x14356d[_0x2fd69e(0x229)],_0x4106a9={..._0x14356d,'mutations':_0xecc061};this[_0x2fd69e(0x363)](),this['_updateState'](this['_state'][_0x2fd69e(0x1f7)](_0x4106a9)),this[_0x2fd69e(0x166)]();}[_0x2997fa(0x264)](_0x1218ec){var _0x3a0237=_0x2997fa;this[_0x3a0237(0x363)](),this[_0x3a0237(0x311)](this[_0x3a0237(0x26e)][_0x3a0237(0xf6)](_0x1218ec)),this['_unlockTransition']();}[_0x2997fa(0x2d6)](_0x1af3d9){var _0x293688=_0x2997fa;this[_0x293688(0x363)](),this['_updateState'](this['_state'][_0x293688(0x36d)](_0x1af3d9)),this[_0x293688(0x166)]();}['_onRemoteRetry'](_0x3781b3){var _0x4e16e3=_0x2997fa;this[_0x4e16e3(0x363)](),this[_0x4e16e3(0x311)](this[_0x4e16e3(0x26e)][_0x4e16e3(0x11e)](_0x3781b3)),this[_0x4e16e3(0x166)]();}[_0x2997fa(0x2f8)](_0x130605){var _0x3b08bf=_0x2997fa;if(!(this[_0x3b08bf(0x26e)]instanceof Q))throw new TypeError(_0x3b08bf(0x29b));const _0x28b890=_0x130605[_0x3b08bf(0x14b)](_0x55162c=>{var _0x2ec855=_0x3b08bf;const _0xc16ef4=this[_0x2ec855(0x17a)]['interceptor']['fetchThroughInterceptors'](this[_0x2ec855(0x17a)][_0x2ec855(0x2b9)][_0x2ec855(0x29c)]()[_0x2ec855(0x35c)])(_0x55162c['mutations'],null)||_0x55162c[_0x2ec855(0x229)];return{..._0x55162c,'mutations':_0xc16ef4};});this[_0x3b08bf(0x363)](),this[_0x3b08bf(0x311)](this[_0x3b08bf(0x26e)][_0x3b08bf(0x3bb)](_0x28b890)),this[_0x3b08bf(0x166)]();}[_0x2997fa(0x220)](){var _0x5679cc=_0x2997fa;this['_lockTransition'](),this[_0x5679cc(0x311)](this['_state'][_0x5679cc(0x262)]()),this['_unlockTransition']();}[_0x2997fa(0x38c)](_0xf3abf=!0x1){var _0x489872=_0x2997fa;this['_lockTransition'](),this['_updateState'](this[_0x489872(0x26e)][_0x489872(0x3c5)]()),this['_unlockTransition']();const _0x4554e0=this[_0x489872(0x26e)];_0xf3abf&&_0x4554e0 instanceof ye&&(this[_0x489872(0x363)](),this[_0x489872(0x311)](_0x4554e0[_0x489872(0x365)]()),this[_0x489872(0x166)]());}async[_0x2997fa(0x1bf)](){return new Promise(_0x256804=>{var _0x456ad5=_0x77bd;this[_0x456ad5(0x180)][_0x456ad5(0x317)][_0x456ad5(0x15f)](_0x2b8e67(0x1))[_0x456ad5(0x208)](async _0x55eb8f=>{var _0xc30819=_0x456ad5;_0x256804(await this[_0xc30819(0x242)](_0x55eb8f===Se[_0xc30819(0x28d)]));});});}[_0x2997fa(0x36a)](){const _0x1258d6=this['unitID'];return{'onStateChange':(_0x42eef6,_0x481bb8)=>{var _0x428726=_0x77bd;if(_0x42eef6!==this[_0x428726(0x26e)])throw new Error(_0x428726(0x1ca)+_0x42eef6[_0x428726(0x1c6)]+'\x0aAfter:\x20'+_0x481bb8[_0x428726(0x1c6)]+_0x428726(0x30d)+this[_0x428726(0x26e)][_0x428726(0x1c6)]);this[_0x428726(0x311)](_0x481bb8);},'onSendChangeset':_0x584fb0=>{var _0x1cdc7e=_0x77bd;_0x584fb0[_0x1cdc7e(0x274)]||(_0x584fb0[_0x1cdc7e(0x274)]=this[_0x1cdc7e(0x2d0)],_0x584fb0[_0x1cdc7e(0x190)]=++this[_0x1cdc7e(0x16c)]);const _0x35da08={'eventID':_0x2ee2d1[_0x1cdc7e(0x165)],'data':{'unitID':_0x584fb0[_0x1cdc7e(0x355)],'unitType':this['_type'],'changeset':_0x584fb0,'memberID':this[_0x1cdc7e(0x180)][_0x1cdc7e(0x2e9)]()}};this['session'][_0x1cdc7e(0x161)](_0x35da08,this[_0x1cdc7e(0x355)]);},'onMissingChangesets':({from:_0x2f2e21,to:_0x33c769})=>{var _0x13d5d7=_0x77bd;this['_logService'][_0x13d5d7(0x20e)]('[CollaborationEntity]',_0x13d5d7(0x1bc)+_0x2f2e21+_0x13d5d7(0x2e3)+_0x33c769);const _0x494a66={'eventID':_0x2ee2d1[_0x13d5d7(0x2b1)],'data':{'unitID':_0x1258d6,'unitType':this[_0x13d5d7(0x123)],'from':_0x2f2e21,'to':_0x33c769}};this[_0x13d5d7(0x180)][_0x13d5d7(0x161)](_0x494a66,this[_0x13d5d7(0x355)]);}};}async[_0x2997fa(0x242)](_0x2a4a8e){var _0x266b68=_0x2997fa,_0x4612f5,_0x1960be,_0x2d6441;const _0x11ceec=await((_0x4612f5=this[_0x266b68(0x11a)])==null?void 0x0:_0x4612f5[_0x266b68(0x2e7)](this[_0x266b68(0x355)])),_0xdc7d2f=(_0x1960be=_0x11ceec==null?void 0x0:_0x11ceec[_0x266b68(0x229)])!=null?_0x1960be:[],_0x4d6fcb=(_0x2d6441=_0x11ceec==null?void 0x0:_0x11ceec[_0x266b68(0x396)])!=null?_0x2d6441:null,_0x2b397c=!!(_0x4d6fcb!=null&&_0x4d6fcb[_0x266b68(0x274)])&&!!(_0x4d6fcb!=null&&_0x4d6fcb[_0x266b68(0x190)]);this['_changesetSessionId']=_0x2b397c?_0x4d6fcb['sid']:_0x5628a2(),this['_changesetReqId']=_0x2b397c?_0x4d6fcb[_0x266b68(0x190)]:0x0;const _0x4c3f8c=this[_0x266b68(0x355)];try{this[_0x266b68(0x33f)](_0x4d6fcb,_0xdc7d2f);}catch(_0x1fcef1){this[_0x266b68(0x174)]['error'](_0x1fcef1);}const _0x1772da=this[_0x266b68(0x36a)]();if(_0x2a4a8e){const _0x182695=Ci(this[_0x266b68(0x372)],_0x4c3f8c,this['_type'],_0x4d6fcb,_0xdc7d2f,_0x1772da);return _0x182695 instanceof re?_0x182695[_0x266b68(0x205)]():(_0x182695 instanceof ae||_0x182695 instanceof _e)&&_0x182695[_0x266b68(0x240)](),_0x182695;}return this['_injector'][_0x266b68(0x354)](ue,_0x4c3f8c,this[_0x266b68(0x123)],_0x4d6fcb,_0xdc7d2f,_0x1772da);}[_0x2997fa(0x33f)](_0x18da76,_0x1ba5d9){var _0x231944=_0x2997fa,_0x88d544,_0x3b476b;const _0x1f0dc4=this['_compressMutationService']['interceptor'][_0x231944(0x182)](this[_0x231944(0x17a)]['interceptor'][_0x231944(0x29c)]()[_0x231944(0x35c)]);(_0x88d544=_0x1f0dc4((_0x18da76==null?void 0x0:_0x18da76['mutations'])||[],null))==null||_0x88d544[_0x231944(0x212)](_0x17dbb1=>this['_commandService'][_0x231944(0x179)](_0x17dbb1['id'],_0x17dbb1[_0x231944(0x1be)])),(_0x3b476b=_0x1f0dc4(_0x1ba5d9||[],null))==null||_0x3b476b[_0x231944(0x212)](_0x4f3430=>this[_0x231944(0x279)][_0x231944(0x179)](_0x4f3430['id'],_0x4f3430[_0x231944(0x1be)]));}};st=wt([H(0x3,_0x25e0f9(_0x22b07c)),H(0x4,_0x25e0f9(_0x26a67b)),H(0x5,_0x25e0f9(_0x22d998)),H(0x6,_0x25e0f9(_0x3e7bd1)),H(0x7,_0x25e0f9(ve)),H(0x8,_0x770739),H(0x9,_0x353885),H(0xa,_0x4037be),H(0xb,_0x43da98(ht)),H(0xc,_0x43da98(J))],st);function _0x77bd(_0x667cb6,_0x69b60c){var _0x57e67c=_0x57e6();return _0x77bd=function(_0x77bd2a,_0x434c59){_0x77bd2a=_0x77bd2a-0xda;var _0x5d09e2=_0x57e67c[_0x77bd2a];return _0x5d09e2;},_0x77bd(_0x667cb6,_0x69b60c);}let St=class extends st{constructor(_0x555ee2,_0x28b630,_0x1f0923,_0x13225f,_0xb07ab4,_0x18ab9e,_0x356209,_0xa9160a,_0x2a95f2,_0x518f5,_0x2e2ccf,_0x5101a1,_0x16b0fe){var _0x1ae838=_0x2997fa;super(_0x555ee2,_0x1f0923,_0x28b630,_0x13225f,_0xb07ab4,_0x18ab9e,_0x356209,_0xa9160a,_0x2a95f2,_0x518f5,_0x2e2ccf,_0x5101a1,_0x16b0fe),N(this,_0x1ae838(0x17c),null),(this[_0x1ae838(0x355)]=_0x555ee2,this['type']=_0x28b630);}[_0x2997fa(0x334)](_0x2dc890){var _0x3eeb73=_0x2997fa;this[_0x3eeb73(0x17c)]=_0x2dc890;}[_0x2997fa(0x2ae)](){var _0x434f5b=_0x2997fa;this['_handlerCallback']=null,super[_0x434f5b(0x2ae)]();}[_0x2997fa(0x36a)](){var _0x379597=_0x2997fa;const _0x27ac81=super['_createHandler']();return _0x27ac81[_0x379597(0x15c)]=_0x6d9905=>{var _0x5ec115=_0x379597,_0x44a528,_0x51fea0;return(_0x51fea0=(_0x44a528=this[_0x5ec115(0x17c)])==null?void 0x0:_0x44a528['onTransformIME'])==null?void 0x0:_0x51fea0[_0x5ec115(0x2da)](_0x44a528,_0x6d9905);},_0x27ac81[_0x379597(0x1d7)]=_0x3bba73=>{var _0x5004d4=_0x379597,_0x54cf00,_0x4e42b2;return(_0x4e42b2=(_0x54cf00=this[_0x5004d4(0x17c)])==null?void 0x0:_0x54cf00['onTransformState'])==null?void 0x0:_0x4e42b2[_0x5004d4(0x2da)](_0x54cf00,_0x3bba73);},_0x27ac81[_0x379597(0x2c5)]=_0x569a2b=>{var _0x1d040d=_0x379597,_0x2915ca,_0x356d97;return(_0x356d97=(_0x2915ca=this[_0x1d040d(0x17c)])==null?void 0x0:_0x2915ca['onTransformSelections'])==null?void 0x0:_0x356d97[_0x1d040d(0x2da)](_0x2915ca,_0x569a2b);},_0x27ac81[_0x379597(0x34f)]=_0x2e840a=>{var _0x57a51a=_0x379597,_0x5246b2,_0x3f2c1a;return(_0x3f2c1a=(_0x5246b2=this[_0x57a51a(0x17c)])==null?void 0x0:_0x5246b2['onSyncEditingCollabCursor'])==null?void 0x0:_0x3f2c1a[_0x57a51a(0x2da)](_0x5246b2,_0x2e840a);},_0x27ac81[_0x379597(0x309)]=_0x147a41=>{var _0x1e3c99=_0x379597,_0x598640,_0x19de92,_0x30afbb;if(!((_0x598640=this[_0x1e3c99(0x17c)])!=null&&_0x598640['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1e3c99(0x380));return(_0x30afbb=(_0x19de92=this[_0x1e3c99(0x17c)])==null?void 0x0:_0x19de92[_0x1e3c99(0x309)])==null?void 0x0:_0x30afbb[_0x1e3c99(0x2da)](_0x19de92,_0x147a41);},_0x27ac81[_0x379597(0x33d)]=_0x203114=>{var _0x3c3626=_0x379597,_0x1dddf3,_0x2dd9d2,_0x5ca454;if(!((_0x1dddf3=this[_0x3c3626(0x17c)])!=null&&_0x1dddf3[_0x3c3626(0x33d)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5ca454=(_0x2dd9d2=this[_0x3c3626(0x17c)])==null?void 0x0:_0x2dd9d2[_0x3c3626(0x33d)])==null?void 0x0:_0x5ca454[_0x3c3626(0x2da)](_0x2dd9d2,_0x203114);},_0x27ac81;}async[_0x2997fa(0x2fc)](){var _0x29c02a=_0x2997fa;const _0x212a3e=await super[_0x29c02a(0x2fc)]();return this[_0x29c02a(0x28c)](this[_0x29c02a(0x279)]['onCommandExecuted']((_0x5011a0,_0x376873)=>{var _0x51bba4=_0x29c02a;if(_0x5011a0[_0x51bba4(0x241)]!==_0xb8cf5f[_0x51bba4(0x13b)]||_0x376873!=null&&_0x376873[_0x51bba4(0x1d9)]||_0x376873!=null&&_0x376873['onlyLocal']||_0x5011a0['id']===_0x387f3d['id'])return;const _0x4c3237=_0x5011a0[_0x51bba4(0x1be)];if((_0x4c3237==null?void 0x0:_0x4c3237[_0x51bba4(0x3a4)])!==this['unitID'])return;const _0x34712b=_0x5011a0,_0x40c8c4=this[_0x51bba4(0x17a)][_0x51bba4(0x2b9)][_0x51bba4(0x182)](this[_0x51bba4(0x17a)][_0x51bba4(0x2b9)][_0x51bba4(0x29c)]()['COMPRESS_MUTATION_SEND'])([_0x34712b],null)||[_0x34712b];this[_0x51bba4(0x216)](_0x40c8c4[0x0]);})),_0x212a3e;}};St=wt([H(0x3,_0x25e0f9(_0x22b07c)),H(0x4,_0x25e0f9(_0x26a67b)),H(0x5,_0x25e0f9(_0x22d998)),H(0x6,_0x25e0f9(_0x3e7bd1)),H(0x7,_0x25e0f9(ve)),H(0x8,_0x770739),H(0x9,_0x353885),H(0xa,_0x4037be),H(0xb,_0x43da98(ht)),H(0xc,_0x43da98(J))],St);let Et=class extends st{constructor(_0x3ee3b3,_0x2910b5,_0x17e2b0,_0x9489a2,_0x22c0ea,_0x20886f,_0x215adb,_0x4c5d14,_0x5ade91,_0x124dec,_0xbdb9ad,_0x415f13,_0x22bc33,_0x293908){var _0x10878b=_0x2997fa;super(_0x3ee3b3,_0x17e2b0,_0x2910b5,_0x9489a2,_0x22c0ea,_0x20886f,_0x215adb,_0x5ade91,_0x124dec,_0xbdb9ad,_0x415f13,_0x22bc33,_0x293908),this[_0x10878b(0x355)]=_0x3ee3b3,this[_0x10878b(0x241)]=_0x2910b5,this[_0x10878b(0x169)]=_0x4c5d14;}[_0x2997fa(0x36a)](){var _0x2620bd=_0x2997fa;const _0x3913a9=super[_0x2620bd(0x36a)]();return _0x3913a9[_0x2620bd(0x2c5)]=_0x27b939=>this[_0x2620bd(0x169)][_0x2620bd(0x184)](_0x27b939),_0x3913a9;}async[_0x2997fa(0x2fc)](){var _0x62c021=_0x2997fa;const _0x4bcedd=await super['_init']();return this[_0x62c021(0x28c)](this[_0x62c021(0x279)]['onCommandExecuted']((_0x1297e6,_0x39847c)=>{var _0x1e4aa8=_0x62c021;if(_0x1297e6[_0x1e4aa8(0x241)]!==_0xb8cf5f[_0x1e4aa8(0x13b)]||_0x39847c!=null&&_0x39847c[_0x1e4aa8(0x1d9)]||_0x39847c!=null&&_0x39847c[_0x1e4aa8(0x2a4)])return;const _0x333d2f=_0x1297e6[_0x1e4aa8(0x1be)];if((_0x333d2f==null?void 0x0:_0x333d2f[_0x1e4aa8(0x3a4)])!==this['unitID'])return;const _0x2ddc73=_0x1297e6,_0x13f2ea=this[_0x1e4aa8(0x17a)][_0x1e4aa8(0x2b9)][_0x1e4aa8(0x182)](this[_0x1e4aa8(0x17a)][_0x1e4aa8(0x2b9)]['getInterceptPoints']()[_0x1e4aa8(0xdf)])([_0x2ddc73],null)||[_0x2ddc73];this[_0x1e4aa8(0x216)](_0x13f2ea[0x0]);})),_0x4bcedd;}};Et=wt([H(0x3,_0x25e0f9(_0x22b07c)),H(0x4,_0x25e0f9(_0x26a67b)),H(0x5,_0x25e0f9(_0x22d998)),H(0x6,_0x25e0f9(_0x3e7bd1)),H(0x7,_0x25e0f9(it)),H(0x8,_0x25e0f9(ve)),H(0x9,_0x770739),H(0xa,_0x353885),H(0xb,_0x4037be),H(0xc,_0x43da98(ht)),H(0xd,_0x43da98(J))],Et);var zs=Object[_0x2997fa(0x16d)],Js=(_0x7cd975,_0x112f70,_0x36767e,_0x13ad61)=>{var _0x2c22c0=_0x2997fa;for(var _0x41027d=_0x13ad61>0x1?void 0x0:_0x13ad61?zs(_0x112f70,_0x36767e):_0x112f70,_0x4d0df8=_0x7cd975[_0x2c22c0(0x171)]-0x1,_0x2c150d;_0x4d0df8>=0x0;_0x4d0df8--)(_0x2c150d=_0x7cd975[_0x4d0df8])&&(_0x41027d=_0x2c150d(_0x41027d)||_0x41027d);return _0x41027d;},Be=(_0x5e97ee,_0x9052fc)=>(_0x1f8dc7,_0x3aee2a)=>_0x9052fc(_0x1f8dc7,_0x3aee2a,_0x5e97ee);let nt=class extends _0x3337bf{constructor(_0x4ece64,_0x824b58,_0x52eada,_0x383a2a){var _0x3bbb09=_0x2997fa,_0x396e25;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x3329c7()),N(this,_0x3bbb09(0x321),this['_entityInit$']['asObservable']()),(this[_0x3bbb09(0x372)]=_0x4ece64,this[_0x3bbb09(0x2a6)]=_0x824b58,this['_configService']=_0x52eada,this['_univerInstanceService']=_0x383a2a,((_0x396e25=this[_0x3bbb09(0x323)][_0x3bbb09(0x2a0)](K))==null?void 0x0:_0x396e25[_0x3bbb09(0x11c)])!==!0x1&&this[_0x3bbb09(0x2fc)]());}['dispose'](){var _0xf7f5dc=_0x2997fa;super['dispose'](),this[_0xf7f5dc(0x156)][_0xf7f5dc(0x212)](_0x3eb119=>_0x3eb119[_0xf7f5dc(0x2ae)]()),this[_0xf7f5dc(0x156)][_0xf7f5dc(0x1a8)]();}[_0x2997fa(0x308)](_0x5ba3f){var _0x424116=_0x2997fa,_0x532cf4;return(_0x532cf4=this[_0x424116(0x156)]['get'](_0x5ba3f))!=null?_0x532cf4:null;}[_0x2997fa(0x2d9)](_0x3ad88e){var _0x3c9e35=_0x2997fa;const _0x5862ff=this['getCollabEntity'](_0x3ad88e);return _0x5862ff?_0x3bbad7(_0x5862ff):this['_entityInit$'][_0x3c9e35(0x15f)](_0x1b3672(_0x58bdbf=>_0x58bdbf[_0x3c9e35(0x355)]===_0x3ad88e));}[_0x2997fa(0x12e)](_0x312bbe){var _0x35c24a=_0x2997fa;return _0x14d02f(this['getCollabEntity$'](_0x312bbe)[_0x35c24a(0x15f)](_0x4e0fa6(()=>{})));}['_init'](){var _0x5de1ee=_0x2997fa;this[_0x5de1ee(0x3b3)][_0x5de1ee(0x361)](_0x17fa03[_0x5de1ee(0x1f8)])[_0x5de1ee(0x15f)](_0x3d745a(this[_0x5de1ee(0xef)]),_0x29ea08(0x10))['subscribe'](async _0x4552ad=>{var _0xd14eb8=_0x5de1ee;const _0x56d00e=_0x4552ad[_0xd14eb8(0x103)](),_0x1651f8=await this[_0xd14eb8(0x1b8)](_0x56d00e,Z[_0xd14eb8(0x1f8)]);this[_0xd14eb8(0x156)]['set'](_0x56d00e,_0x1651f8);}),this['_univerInstanceService'][_0x5de1ee(0x361)](_0x17fa03[_0x5de1ee(0x2f0)])['pipe'](_0x3d745a(this['dispose$']),_0x29ea08(0x10))[_0x5de1ee(0x15f)](_0x1b3672(_0x22903b=>!_0x22903b[_0x5de1ee(0x103)]()['startsWith']('__')))[_0x5de1ee(0x208)](async _0x30da43=>{var _0x453d76=_0x5de1ee;const _0x4a3274=_0x30da43[_0x453d76(0x103)](),_0x5af259=await this[_0x453d76(0x1b8)](_0x4a3274,Z['UNIVER_DOC']);this['_entities']['set'](_0x4a3274,_0x5af259);}),_0x13131b(this['_univerInstanceService'][_0x5de1ee(0x196)](_0x17fa03[_0x5de1ee(0x1f8)]),this[_0x5de1ee(0x3b3)][_0x5de1ee(0x196)](_0x17fa03[_0x5de1ee(0x2f0)]))['pipe'](_0x3d745a(this['dispose$']))[_0x5de1ee(0x208)](_0x4be4df=>{var _0x3b0b88=_0x5de1ee;const _0x2f1d66=_0x4be4df[_0x3b0b88(0x103)](),_0x5aa19d=this[_0x3b0b88(0x156)][_0x3b0b88(0x322)](_0x2f1d66);_0x5aa19d&&(_0x5aa19d[_0x3b0b88(0x2ae)](),this['_entities'][_0x3b0b88(0xe0)](_0x2f1d66));});}async[_0x2997fa(0x1b8)](_0x5aa55c,_0x4a6ade){var _0x9ebfd9=_0x2997fa;const _0x5b8161=await this[_0x9ebfd9(0x2a6)]['requireSession'](_0x5aa55c),_0x149edc=this['_injector'][_0x9ebfd9(0x354)](this[_0x9ebfd9(0x17b)](_0x4a6ade),_0x5aa55c,_0x4a6ade,_0x5b8161);return await _0x149edc[_0x9ebfd9(0x199)](),this['_entityInit$'][_0x9ebfd9(0x3cf)](_0x149edc),_0x149edc;}[_0x2997fa(0x17b)](_0x1ab159){var _0x33c324=_0x2997fa;switch(_0x1ab159){case Z[_0x33c324(0x2f0)]:return St;case Z[_0x33c324(0x1f8)]:return Et;default:throw new Error(_0x33c324(0x2f9)+_0x1ab159);}}};nt=Js([Be(0x0,_0x25e0f9(_0x22b07c)),Be(0x1,_0x25e0f9(Me)),Be(0x2,_0x5a2535),Be(0x3,_0x4ffccd)],nt);var Xs=Object[_0x2997fa(0x16d)],Zs=(_0x258ce2,_0x4583ec,_0x4ceb10,_0x14fc53)=>{var _0x13d03b=_0x2997fa;for(var _0x3b0b8b=_0x14fc53>0x1?void 0x0:_0x14fc53?Xs(_0x4583ec,_0x4ceb10):_0x4583ec,_0x35268c=_0x258ce2[_0x13d03b(0x171)]-0x1,_0x367f37;_0x35268c>=0x0;_0x35268c--)(_0x367f37=_0x258ce2[_0x35268c])&&(_0x3b0b8b=_0x367f37(_0x3b0b8b)||_0x3b0b8b);return _0x3b0b8b;},Yt=(_0x58ee69,_0x3ff3bb)=>(_0x4e9c7a,_0x57d1d2)=>_0x3ff3bb(_0x4e9c7a,_0x57d1d2,_0x58ee69);const Qs=_0x2997fa(0x324),en='Univer';let It=class extends _0xe906c2{constructor(_0x15816b,_0x2ba4d4){var _0x14a772=_0x2997fa;super(),this[_0x14a772(0x3b3)]=_0x15816b,this[_0x14a772(0x323)]=_0x2ba4d4,this['_init']();}['_init'](){var _0x108272=_0x2997fa;this[_0x108272(0x28c)](this[_0x108272(0x3b3)]['focused$'][_0x108272(0x208)](()=>{var _0x1e2e4c=_0x108272,_0x2c5682;const _0x393ec2=this['_univerInstanceService']['getFocusedUnit']();let _0x5adc13=(_0x2c5682=this['_configService'][_0x1e2e4c(0x2a0)](Qs))!=null?_0x2c5682:en;_0x393ec2 instanceof _0xde07fa&&(_0x5adc13=_0x393ec2[_0x1e2e4c(0x114)]),document[_0x1e2e4c(0x369)]=_0x5adc13;}));}};It=Zs([Yt(0x0,_0x4ffccd),Yt(0x1,_0x5a2535)],It);var tn=Object[_0x2997fa(0x16d)],sn=(_0x426717,_0x22b133,_0x496e9e,_0x1210ab)=>{for(var _0x621e7b=_0x1210ab>0x1?void 0x0:_0x1210ab?tn(_0x22b133,_0x496e9e):_0x22b133,_0x45b1c6=_0x426717['length']-0x1,_0x5c0215;_0x45b1c6>=0x0;_0x45b1c6--)(_0x5c0215=_0x426717[_0x45b1c6])&&(_0x621e7b=_0x5c0215(_0x621e7b)||_0x621e7b);return _0x621e7b;},dt=(_0x41e882,_0x466548)=>(_0x124e0b,_0x48b9b6)=>_0x466548(_0x124e0b,_0x48b9b6,_0x41e882);let rt=class{constructor(_0x50996d,_0x28346f,_0x312794){var _0x56cbc1=_0x2997fa;this[_0x56cbc1(0x323)]=_0x50996d,this['_httpService']=_0x28346f,this[_0x56cbc1(0x2a8)]=_0x312794,this[_0x56cbc1(0x199)]();}[_0x2997fa(0x199)](){var _0x1d80ed=_0x2997fa;this[_0x1d80ed(0x294)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x448fee,_0x920087)=>_0x920087(_0x448fee)[_0x1d80ed(0x15f)](_0x4b313d(async _0x235564=>{var _0x162447=_0x1d80ed;const _0x3d7cec=_0x235564;if(_0x3d7cec[_0x162447(0x1c6)]===0x191){if(typeof window>'u')throw new Error(_0x162447(0x272));if(window[_0x162447(0x2d1)](this[_0x162447(0x2a8)]['t']('auth.needGotoLoginAlert'))){const _0x1e1715=window[_0x162447(0x292)](window['location']['href']);window['location']['href']=this[_0x162447(0x332)]()+_0x162447(0x2de)+_0x1e1715;}}return _0x3d7cec;}))});}[_0x2997fa(0x332)](){var _0x52408e=_0x2997fa,_0x5b6857;const _0x27c04f=this[_0x52408e(0x323)][_0x52408e(0x2a0)](K);return(_0x5b6857=_0x27c04f==null?void 0x0:_0x27c04f[_0x52408e(0x2ef)])!=null?_0x5b6857:Rs;}};rt=sn([dt(0x0,_0x5a2535),dt(0x1,_0x25e0f9(_0x18c3f2)),dt(0x2,_0x25e0f9(_0x22d998))],rt);var nn=Object[_0x2997fa(0x16d)],rn=(_0x5bc03c,_0x93abd1,_0x56ed7f,_0x3bca4b)=>{var _0x3d1331=_0x2997fa;for(var _0x298bc4=_0x3bca4b>0x1?void 0x0:_0x3bca4b?nn(_0x93abd1,_0x56ed7f):_0x93abd1,_0xa128a0=_0x5bc03c[_0x3d1331(0x171)]-0x1,_0x2faad5;_0xa128a0>=0x0;_0xa128a0--)(_0x2faad5=_0x5bc03c[_0xa128a0])&&(_0x298bc4=_0x2faad5(_0x298bc4)||_0x298bc4);return _0x298bc4;},Kt=(_0x287e20,_0x414738)=>(_0x26ff15,_0x36bcdd)=>_0x414738(_0x26ff15,_0x36bcdd,_0x287e20);const an='/universer-api/authz';let Tt=class extends _0xe906c2{constructor(_0x5a3056,_0x69c5fd){var _0x45aa07=_0x2997fa;super(),this['_HTTPService']=_0x5a3056,this[_0x45aa07(0x323)]=_0x69c5fd,this['_initMergeInterceptor']();}[_0x2997fa(0xdc)](){var _0x41acdb=_0x2997fa;const _0x12c84d=this;this[_0x41acdb(0x28c)](this[_0x41acdb(0x17d)][_0x41acdb(0x1ed)]({'priority':0x3e7,'interceptor':_0x2bfa81({'isMatch'(_0x4c8e19){var _0x41b000=_0x41acdb,_0x414cca;if(_0x4c8e19[_0x41b000(0x1e7)]===_0x41b000(0x13a)&&((_0x414cca=_0x4c8e19['requestParams'])!=null&&_0x414cca[_0x41b000(0x2cf)])){const {objectID:_0x4dc7fd,objectType:_0x35f83b}=_0x4c8e19[_0x41b000(0x2e4)][_0x41b000(0x2cf)]||{};if(!_0x4dc7fd||_0x35f83b===void 0x0)return!0x1;const _0x58fcc8=_0x12c84d[_0x41b000(0x10f)]()+'/'+_0x35f83b+_0x41b000(0x2db)+_0x4dc7fd+_0x41b000(0x146);if(_0x4c8e19[_0x41b000(0x348)]===_0x58fcc8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2e3edb){var _0xde3946=_0x41acdb,_0x523946;return(_0x523946=_0x2e3edb[_0xde3946(0x2e4)])==null?void 0x0:_0x523946['body'];},'mergeParamsToRequest'(_0x329d6e,_0x408645){var _0x419108=_0x41acdb;const _0x434376=_0x12c84d['_getAPIPrefixPath']()+_0x419108(0x2b4),_0x29c605=_0x329d6e['reduce']((_0x3c6991,_0x2578c3)=>{var _0x4bef12=_0x419108;const {unitID:_0x512426,objectID:_0x149854,objectType:_0x4ef77,actions:_0x386536}=_0x2578c3;return _0x3c6991[_0x512426]||(_0x3c6991[_0x512426]={}),_0x3c6991[_0x512426][_0x149854]||(_0x3c6991[_0x512426][_0x149854]={'objectID':_0x149854,'objectType':_0x4ef77,'actions':[]}),_0x3c6991[_0x512426][_0x149854][_0x4bef12(0x201)]['push'](..._0x386536),_0x3c6991;},{}),_0x3ab4f8=[];for(const _0x362c08 in _0x29c605)for(const _0x23ceff in _0x29c605[_0x362c08]){const {actions:_0x2909fe,objectType:_0x1f4dc8}=_0x29c605[_0x362c08][_0x23ceff],_0x336ba8=[...new Set(_0x2909fe)];_0x3ab4f8['push']({'unitID':_0x362c08,'objectID':_0x23ceff,'objectType':_0x1f4dc8,'actions':_0x336ba8});}return new _0x2abb17('POST',_0x434376,{'headers':_0x408645[_0x419108(0x244)],'withCredentials':_0x408645[_0x419108(0x3d5)],'responseType':_0x408645[_0x419108(0x3c3)],'body':{'requests':_0x3ab4f8}});}},{'distributeResult'(_0x4fa474,_0x21ce34){var _0x4e530b=_0x41acdb;const {objectActions:_0x33ea3a}=_0x4fa474;return _0x21ce34[_0x4e530b(0x14b)](_0x1c9734=>{var _0x697704=_0x4e530b;const {unitID:_0x1170d8,objectID:_0x1f2dd3,actions:_0x71ad9c}=_0x1c9734,_0x182d06=_0x33ea3a[_0x697704(0x18b)](_0x50ad2c=>_0x50ad2c[_0x697704(0x355)]===_0x1170d8&&_0x50ad2c[_0x697704(0x2ee)]===_0x1f2dd3),_0x1d386f=_0x71ad9c[_0x697704(0x14b)](_0x4c3447=>_0x182d06==null?void 0x0:_0x182d06[_0x697704(0x201)][_0x697704(0x18b)](_0x3a3cc7=>_0x3a3cc7[_0x697704(0x291)]===_0x4c3447))[_0x697704(0x2bd)](_0x531519=>!!_0x531519);return{'config':_0x1c9734,'result':{'actions':_0x1d386f,'error':_0x4fa474[_0x697704(0x33e)]}};});}})}));}[_0x2997fa(0x10f)](){var _0x25576d=_0x2997fa,_0x52278d;const _0x417fdd=this[_0x25576d(0x323)][_0x25576d(0x2a0)](K);return(_0x52278d=_0x417fdd==null?void 0x0:_0x417fdd[_0x25576d(0x139)])!=null?_0x52278d:an;}async[_0x2997fa(0x3da)](_0x125e37){var _0x58cd73=_0x2997fa;const _0x13d90e=this['_getAPIPrefixPath']()+'/'+_0x125e37[_0x58cd73(0x34d)]+'/object';return(await this[_0x58cd73(0x17d)][_0x58cd73(0x111)](_0x13d90e,{'body':_0x125e37}))[_0x58cd73(0x2cf)][_0x58cd73(0x2ee)]||'';}async[_0x2997fa(0x22c)](_0x4ffaa8){var _0x2afcef=_0x2997fa;const _0x960150=this['_getAPIPrefixPath']()+_0x2afcef(0x2e0);return(await this[_0x2afcef(0x17d)][_0x2afcef(0x111)](_0x960150,{'body':_0x4ffaa8}))['body'][_0x2afcef(0x1e2)];}async[_0x2997fa(0x39a)](_0x59676a){var _0x1591d2=_0x2997fa,_0x12e398,_0x4789c0;const _0x46f290=this[_0x1591d2(0x10f)]()+'/'+_0x59676a['objectType']+_0x1591d2(0x2db)+_0x59676a[_0x1591d2(0x2ee)],_0x20dbf3=await this['_HTTPService'][_0x1591d2(0x3d2)](_0x46f290,{'body':_0x59676a});if(((_0x4789c0=(_0x12e398=_0x20dbf3==null?void 0x0:_0x20dbf3[_0x1591d2(0x2cf)])==null?void 0x0:_0x12e398[_0x1591d2(0x33e)])==null?void 0x0:_0x4789c0[_0x1591d2(0x117)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2997fa(0x389)](_0x326df1){var _0x257bb4=_0x2997fa;const _0x512342=this[_0x257bb4(0x10f)]()+'/'+_0x326df1[_0x257bb4(0x34d)]+_0x257bb4(0x2db)+_0x326df1[_0x257bb4(0x2ee)]+_0x257bb4(0x146);return(await this['_HTTPService'][_0x257bb4(0x111)](_0x512342,{'body':_0x326df1}))[_0x257bb4(0x2cf)][_0x257bb4(0x201)];}async[_0x2997fa(0x1de)](_0x195343){var _0x173b62=_0x2997fa;const _0x5c3f84=this['_getAPIPrefixPath']()+_0x173b62(0x2b4);return(await this[_0x173b62(0x17d)]['post'](_0x5c3f84,{'body':{'requests':_0x195343}}))[_0x173b62(0x2cf)]['objectActions'];}async[_0x2997fa(0x2c7)](_0x1c51d9){var _0x643992=_0x2997fa;const _0x2a3c7b=this[_0x643992(0x10f)]()+'/'+_0x1c51d9['objectType']+_0x643992(0x2d2),_0x385c01=await this[_0x643992(0x17d)][_0x643992(0x111)](_0x2a3c7b,{'body':_0x1c51d9});return{'roles':_0x385c01[_0x643992(0x2cf)][_0x643992(0x3aa)],'actions':_0x385c01[_0x643992(0x2cf)]['actions']};}async[_0x2997fa(0x1fb)](_0x5870e8){var _0x28cff4=_0x2997fa;const _0x16bf80=this[_0x28cff4(0x10f)]()+_0x28cff4(0x34c);await this[_0x28cff4(0x17d)]['delete'](_0x16bf80,{'params':{'collaboratorID':_0x5870e8[_0x28cff4(0x304)],'objectID':_0x5870e8['objectID'],'unitID':_0x5870e8['unitID']}});}async[_0x2997fa(0x11d)](_0x353dfa){var _0x514c7e=_0x2997fa;const _0x2fe1c3=this[_0x514c7e(0x10f)]()+_0x514c7e(0x34c);await this['_HTTPService'][_0x514c7e(0x16f)](_0x2fe1c3,{'body':_0x353dfa});}async[_0x2997fa(0x3a2)](_0x3b7a3d){var _0x38c96c=_0x2997fa;const _0x355ba1=this[_0x38c96c(0x10f)]()+_0x38c96c(0x34c);await this[_0x38c96c(0x17d)][_0x38c96c(0x111)](_0x355ba1,{'body':_0x3b7a3d});}async[_0x2997fa(0x3bf)](_0x26fb52){var _0x3f5bf6=_0x2997fa;const _0x159012=this[_0x3f5bf6(0x10f)]()+_0x3f5bf6(0x34c);return(await this[_0x3f5bf6(0x17d)][_0x3f5bf6(0x322)](_0x159012,{'params':{'objectID':_0x26fb52[_0x3f5bf6(0x2ee)],'unitID':_0x26fb52[_0x3f5bf6(0x355)]}}))[_0x3f5bf6(0x2cf)][_0x3f5bf6(0x386)];}async[_0x2997fa(0x25e)](_0x3c9357){var _0x52bf56=_0x2997fa;const _0x3d6722=this['_getAPIPrefixPath']()+_0x52bf56(0x34c);await this[_0x52bf56(0x17d)]['put'](_0x3d6722,{'body':_0x3c9357});}};Tt=rn([Kt(0x0,_0x25e0f9(_0x18c3f2)),Kt(0x1,_0x25e0f9(_0x5a2535))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5222f0){var _0x2599fc=_0x2997fa;return _0x5222f0&&_0x5222f0[_0x2599fc(0x225)]&&Object['prototype'][_0x2599fc(0x281)]['call'](_0x5222f0,_0x2599fc(0x228))?_0x5222f0[_0x2599fc(0x228)]:_0x5222f0;}var Ve={'exports':{}};function on(_0x3ee365){var _0x1c86f1=_0x2997fa;throw new Error(_0x1c86f1(0x1b0)+_0x3ee365+_0x1c86f1(0x1cc));}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x493156=_0x2997fa;return qt||(qt=0x1,function(_0x5aeb73,_0x757d6d){(function(_0x191925,_0x419a28){var _0x18a6ff=_0x77bd;_0x5aeb73[_0x18a6ff(0x29e)]=_0x419a28();}(cn,function(){var _0x262335=_0x262335||function(_0x2ed9d3,_0x542dfe){var _0x40357f=_0x77bd,_0x53a40a;if(typeof window<'u'&&window[_0x40357f(0x135)]&&(_0x53a40a=window[_0x40357f(0x135)]),typeof self<'u'&&self[_0x40357f(0x135)]&&(_0x53a40a=self[_0x40357f(0x135)]),typeof globalThis<'u'&&globalThis[_0x40357f(0x135)]&&(_0x53a40a=globalThis[_0x40357f(0x135)]),!_0x53a40a&&typeof window<'u'&&window['msCrypto']&&(_0x53a40a=window[_0x40357f(0x28e)]),!_0x53a40a&&typeof ft<'u'&&ft[_0x40357f(0x135)]&&(_0x53a40a=ft['crypto']),!_0x53a40a&&typeof on==_0x40357f(0x188))try{_0x53a40a=require('crypto');}catch{}var _0xdf5b9c=function(){var _0x2385af=_0x40357f;if(_0x53a40a){if(typeof _0x53a40a[_0x2385af(0x20d)]==_0x2385af(0x188))try{return _0x53a40a[_0x2385af(0x20d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x53a40a[_0x2385af(0x37c)]==_0x2385af(0x188))try{return _0x53a40a[_0x2385af(0x37c)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x45a912=Object[_0x40357f(0x3da)]||(function(){function _0x56145a(){}return function(_0x4e6918){var _0x26e8ee=_0x77bd,_0x32ba4d;return _0x56145a[_0x26e8ee(0x106)]=_0x4e6918,_0x32ba4d=new _0x56145a(),_0x56145a['prototype']=null,_0x32ba4d;};}()),_0x1751f4={},_0x2e67e0=_0x1751f4['lib']={},_0x4704a7=_0x2e67e0['Base']=(function(){return{'extend':function(_0x10cbb9){var _0x207994=_0x77bd,_0x1b1da7=_0x45a912(this);return _0x10cbb9&&_0x1b1da7['mixIn'](_0x10cbb9),(!_0x1b1da7[_0x207994(0x281)]('init')||this['init']===_0x1b1da7[_0x207994(0x199)])&&(_0x1b1da7['init']=function(){var _0x277052=_0x207994;_0x1b1da7['$super'][_0x277052(0x199)][_0x277052(0x31b)](this,arguments);}),_0x1b1da7[_0x207994(0x199)][_0x207994(0x106)]=_0x1b1da7,_0x1b1da7['$super']=this,_0x1b1da7;},'create':function(){var _0x31094b=_0x77bd,_0x3ef2d7=this[_0x31094b(0x350)]();return _0x3ef2d7[_0x31094b(0x199)][_0x31094b(0x31b)](_0x3ef2d7,arguments),_0x3ef2d7;},'init':function(){},'mixIn':function(_0x52fad8){var _0x27d91b=_0x77bd;for(var _0x233961 in _0x52fad8)_0x52fad8[_0x27d91b(0x281)](_0x233961)&&(this[_0x233961]=_0x52fad8[_0x233961]);_0x52fad8[_0x27d91b(0x281)]('toString')&&(this[_0x27d91b(0x2c4)]=_0x52fad8[_0x27d91b(0x2c4)]);},'clone':function(){var _0x553bc7=_0x77bd;return this[_0x553bc7(0x199)]['prototype'][_0x553bc7(0x350)](this);}};}()),_0x3e62d6=_0x2e67e0[_0x40357f(0x2cb)]=_0x4704a7[_0x40357f(0x350)]({'init':function(_0x4c9a49,_0xd3f6b3){var _0x34f251=_0x40357f;_0x4c9a49=this['words']=_0x4c9a49||[],_0xd3f6b3!=_0x542dfe?this[_0x34f251(0x203)]=_0xd3f6b3:this[_0x34f251(0x203)]=_0x4c9a49[_0x34f251(0x171)]*0x4;},'toString':function(_0x2e3506){var _0x3df391=_0x40357f;return(_0x2e3506||_0xf28169)[_0x3df391(0x2b8)](this);},'concat':function(_0x3046e4){var _0x3dc31c=_0x40357f,_0x461662=this[_0x3dc31c(0xfd)],_0x273cd2=_0x3046e4[_0x3dc31c(0xfd)],_0x54a8bb=this['sigBytes'],_0x2940a3=_0x3046e4[_0x3dc31c(0x203)];if(this['clamp'](),_0x54a8bb%0x4)for(var _0xd1d59e=0x0;_0xd1d59e<_0x2940a3;_0xd1d59e++){var _0x30b1d2=_0x273cd2[_0xd1d59e>>>0x2]>>>0x18-_0xd1d59e%0x4*0x8&0xff;_0x461662[_0x54a8bb+_0xd1d59e>>>0x2]|=_0x30b1d2<<0x18-(_0x54a8bb+_0xd1d59e)%0x4*0x8;}else{for(var _0x58b4b1=0x0;_0x58b4b1<_0x2940a3;_0x58b4b1+=0x4)_0x461662[_0x54a8bb+_0x58b4b1>>>0x2]=_0x273cd2[_0x58b4b1>>>0x2];}return this[_0x3dc31c(0x203)]+=_0x2940a3,this;},'clamp':function(){var _0x8c60dc=_0x40357f,_0x1717ba=this[_0x8c60dc(0xfd)],_0x41ba1a=this[_0x8c60dc(0x203)];_0x1717ba[_0x41ba1a>>>0x2]&=0xffffffff<<0x20-_0x41ba1a%0x4*0x8,_0x1717ba[_0x8c60dc(0x171)]=_0x2ed9d3[_0x8c60dc(0x2ea)](_0x41ba1a/0x4);},'clone':function(){var _0x18ceb9=_0x40357f,_0xe479de=_0x4704a7[_0x18ceb9(0x102)][_0x18ceb9(0x2da)](this);return _0xe479de['words']=this[_0x18ceb9(0xfd)]['slice'](0x0),_0xe479de;},'random':function(_0x30d78e){var _0x179596=_0x40357f;for(var _0x337ffa=[],_0x449c6d=0x0;_0x449c6d<_0x30d78e;_0x449c6d+=0x4)_0x337ffa[_0x179596(0x129)](_0xdf5b9c());return new _0x3e62d6[(_0x179596(0x199))](_0x337ffa,_0x30d78e);}}),_0xa359a7=_0x1751f4[_0x40357f(0x3d4)]={},_0xf28169=_0xa359a7[_0x40357f(0x126)]={'stringify':function(_0x358247){var _0x49c3dd=_0x40357f;for(var _0x3d7842=_0x358247[_0x49c3dd(0xfd)],_0x177e81=_0x358247[_0x49c3dd(0x203)],_0x251d91=[],_0x1815d8=0x0;_0x1815d8<_0x177e81;_0x1815d8++){var _0xaf77c7=_0x3d7842[_0x1815d8>>>0x2]>>>0x18-_0x1815d8%0x4*0x8&0xff;_0x251d91[_0x49c3dd(0x129)]((_0xaf77c7>>>0x4)[_0x49c3dd(0x2c4)](0x10)),_0x251d91[_0x49c3dd(0x129)]((_0xaf77c7&0xf)['toString'](0x10));}return _0x251d91[_0x49c3dd(0x27b)]('');},'parse':function(_0x44ba6d){var _0x58c28b=_0x40357f;for(var _0x41cc15=_0x44ba6d[_0x58c28b(0x171)],_0x12939e=[],_0x123d25=0x0;_0x123d25<_0x41cc15;_0x123d25+=0x2)_0x12939e[_0x123d25>>>0x3]|=parseInt(_0x44ba6d[_0x58c28b(0x32a)](_0x123d25,0x2),0x10)<<0x18-_0x123d25%0x8*0x4;return new _0x3e62d6[(_0x58c28b(0x199))](_0x12939e,_0x41cc15/0x2);}},_0x1b0d94=_0xa359a7[_0x40357f(0x110)]={'stringify':function(_0x36e94b){var _0x7324f4=_0x40357f;for(var _0x5a25f4=_0x36e94b['words'],_0x5c00d9=_0x36e94b['sigBytes'],_0x28fae3=[],_0x74a2f4=0x0;_0x74a2f4<_0x5c00d9;_0x74a2f4++){var _0x1beffb=_0x5a25f4[_0x74a2f4>>>0x2]>>>0x18-_0x74a2f4%0x4*0x8&0xff;_0x28fae3['push'](String[_0x7324f4(0x26f)](_0x1beffb));}return _0x28fae3[_0x7324f4(0x27b)]('');},'parse':function(_0x25e87a){var _0x5cba2d=_0x40357f;for(var _0x594153=_0x25e87a[_0x5cba2d(0x171)],_0x5c0065=[],_0x4f007f=0x0;_0x4f007f<_0x594153;_0x4f007f++)_0x5c0065[_0x4f007f>>>0x2]|=(_0x25e87a['charCodeAt'](_0x4f007f)&0xff)<<0x18-_0x4f007f%0x4*0x8;return new _0x3e62d6[(_0x5cba2d(0x199))](_0x5c0065,_0x594153);}},_0x1274d7=_0xa359a7['Utf8']={'stringify':function(_0x5a998b){var _0x563473=_0x40357f;try{return decodeURIComponent(escape(_0x1b0d94[_0x563473(0x2b8)](_0x5a998b)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4194bb){var _0x705cc0=_0x40357f;return _0x1b0d94[_0x705cc0(0x1b2)](unescape(encodeURIComponent(_0x4194bb)));}},_0x25adfe=_0x2e67e0[_0x40357f(0x36b)]=_0x4704a7[_0x40357f(0x350)]({'reset':function(){var _0x40574e=_0x40357f;this['_data']=new _0x3e62d6[(_0x40574e(0x199))](),this[_0x40574e(0x1e6)]=0x0;},'_append':function(_0x1b7d72){var _0x3c3663=_0x40357f;typeof _0x1b7d72==_0x3c3663(0x286)&&(_0x1b7d72=_0x1274d7[_0x3c3663(0x1b2)](_0x1b7d72)),this['_data'][_0x3c3663(0xf5)](_0x1b7d72),this[_0x3c3663(0x1e6)]+=_0x1b7d72[_0x3c3663(0x203)];},'_process':function(_0x210798){var _0x3ef014=_0x40357f,_0xc2b70e,_0x247965=this['_data'],_0x3d7f83=_0x247965[_0x3ef014(0xfd)],_0x3b810d=_0x247965[_0x3ef014(0x203)],_0x34a649=this['blockSize'],_0x2be265=_0x34a649*0x4,_0x381651=_0x3b810d/_0x2be265;_0x210798?_0x381651=_0x2ed9d3[_0x3ef014(0x2ea)](_0x381651):_0x381651=_0x2ed9d3['max']((_0x381651|0x0)-this[_0x3ef014(0x1b3)],0x0);var _0x5c2eb7=_0x381651*_0x34a649,_0x292895=_0x2ed9d3[_0x3ef014(0x183)](_0x5c2eb7*0x4,_0x3b810d);if(_0x5c2eb7){for(var _0x22904f=0x0;_0x22904f<_0x5c2eb7;_0x22904f+=_0x34a649)this[_0x3ef014(0x290)](_0x3d7f83,_0x22904f);_0xc2b70e=_0x3d7f83[_0x3ef014(0x1a4)](0x0,_0x5c2eb7),_0x247965[_0x3ef014(0x203)]-=_0x292895;}return new _0x3e62d6[(_0x3ef014(0x199))](_0xc2b70e,_0x292895);},'clone':function(){var _0x152bb2=_0x40357f,_0x5f226c=_0x4704a7['clone'][_0x152bb2(0x2da)](this);return _0x5f226c[_0x152bb2(0x30c)]=this['_data'][_0x152bb2(0x102)](),_0x5f226c;},'_minBufferSize':0x0});_0x2e67e0[_0x40357f(0x1c5)]=_0x25adfe[_0x40357f(0x350)]({'cfg':_0x4704a7[_0x40357f(0x350)](),'init':function(_0x4b29c7){var _0x52295f=_0x40357f;this[_0x52295f(0x316)]=this['cfg']['extend'](_0x4b29c7),this[_0x52295f(0x1ef)]();},'reset':function(){var _0x1a26aa=_0x40357f;_0x25adfe['reset']['call'](this),this[_0x1a26aa(0x1aa)]();},'update':function(_0x5a9294){var _0x31ac4d=_0x40357f;return this[_0x31ac4d(0x163)](_0x5a9294),this[_0x31ac4d(0x3d3)](),this;},'finalize':function(_0x5bd2c2){var _0x23da70=_0x40357f;_0x5bd2c2&&this['_append'](_0x5bd2c2);var _0x2a7c10=this[_0x23da70(0x306)]();return _0x2a7c10;},'blockSize':0x10,'_createHelper':function(_0x19ed92){return function(_0x10c057,_0x110418){var _0x33e6c4=_0x77bd;return new _0x19ed92[(_0x33e6c4(0x199))](_0x110418)[_0x33e6c4(0x3ae)](_0x10c057);};},'_createHmacHelper':function(_0x55a163){return function(_0x143585,_0x4930a2){var _0x42fbbc=_0x77bd;return new _0x3d07f6[(_0x42fbbc(0x39e))][(_0x42fbbc(0x199))](_0x55a163,_0x4930a2)['finalize'](_0x143585);};}});var _0x3d07f6=_0x1751f4[_0x40357f(0x1c9)]={};return _0x1751f4;}(Math);return _0x262335;}));}(We)),We[_0x493156(0x29e)];}var Ge={'exports':{}},hn=Ge[_0x2997fa(0x29e)],zt;function Ri(){var _0x3a39a5=_0x2997fa;return zt||(zt=0x1,function(_0x36d07a,_0x77c8d6){(function(_0x11cfe3,_0x2344f4){var _0x3a63e6=_0x77bd;_0x36d07a[_0x3a63e6(0x29e)]=_0x2344f4(te());}(hn,function(_0x80db73){var _0x596a5b=_0x77bd;return(function(){var _0xe08846=_0x77bd,_0xc5bcb0=_0x80db73,_0x1ca12b=_0xc5bcb0['lib'],_0x5655b9=_0x1ca12b['WordArray'],_0x5723d9=_0xc5bcb0['enc'];_0x5723d9[_0xe08846(0x268)]={'stringify':function(_0x5ccd07){var _0x172468=_0xe08846,_0x46aaab=_0x5ccd07[_0x172468(0xfd)],_0x3aa0a5=_0x5ccd07[_0x172468(0x203)],_0x400182=this['_map'];_0x5ccd07[_0x172468(0x30e)]();for(var _0x1ca766=[],_0x522890=0x0;_0x522890<_0x3aa0a5;_0x522890+=0x3)for(var _0x44857c=_0x46aaab[_0x522890>>>0x2]>>>0x18-_0x522890%0x4*0x8&0xff,_0x3db501=_0x46aaab[_0x522890+0x1>>>0x2]>>>0x18-(_0x522890+0x1)%0x4*0x8&0xff,_0x763fd8=_0x46aaab[_0x522890+0x2>>>0x2]>>>0x18-(_0x522890+0x2)%0x4*0x8&0xff,_0x3e89d7=_0x44857c<<0x10|_0x3db501<<0x8|_0x763fd8,_0x33364c=0x0;_0x33364c<0x4&&_0x522890+_0x33364c*0.75<_0x3aa0a5;_0x33364c++)_0x1ca766[_0x172468(0x129)](_0x400182[_0x172468(0x3a3)](_0x3e89d7>>>0x6*(0x3-_0x33364c)&0x3f));var _0x2a6faa=_0x400182['charAt'](0x40);if(_0x2a6faa){for(;_0x1ca766[_0x172468(0x171)]%0x4;)_0x1ca766[_0x172468(0x129)](_0x2a6faa);}return _0x1ca766[_0x172468(0x27b)]('');},'parse':function(_0x3c66dc){var _0x4ff267=_0xe08846,_0x5bf4ee=_0x3c66dc[_0x4ff267(0x171)],_0x187a84=this['_map'],_0x2d39fc=this['_reverseMap'];if(!_0x2d39fc){_0x2d39fc=this['_reverseMap']=[];for(var _0x4adf5d=0x0;_0x4adf5d<_0x187a84[_0x4ff267(0x171)];_0x4adf5d++)_0x2d39fc[_0x187a84[_0x4ff267(0x17e)](_0x4adf5d)]=_0x4adf5d;}var _0x5d5342=_0x187a84[_0x4ff267(0x3a3)](0x40);if(_0x5d5342){var _0x4a13f6=_0x3c66dc[_0x4ff267(0x159)](_0x5d5342);_0x4a13f6!==-0x1&&(_0x5bf4ee=_0x4a13f6);}return _0x457cb8(_0x3c66dc,_0x5bf4ee,_0x2d39fc);},'_map':_0xe08846(0x296)};function _0x457cb8(_0x37f968,_0x2a0fd2,_0x438f82){var _0x265b54=_0xe08846;for(var _0x38190c=[],_0x4bfd17=0x0,_0x53713b=0x0;_0x53713b<_0x2a0fd2;_0x53713b++)if(_0x53713b%0x4){var _0x304131=_0x438f82[_0x37f968[_0x265b54(0x17e)](_0x53713b-0x1)]<<_0x53713b%0x4*0x2,_0x2f2f81=_0x438f82[_0x37f968[_0x265b54(0x17e)](_0x53713b)]>>>0x6-_0x53713b%0x4*0x2,_0x3fb786=_0x304131|_0x2f2f81;_0x38190c[_0x4bfd17>>>0x2]|=_0x3fb786<<0x18-_0x4bfd17%0x4*0x8,_0x4bfd17++;}return _0x5655b9['create'](_0x38190c,_0x4bfd17);}}()),_0x80db73['enc'][_0x596a5b(0x268)];}));}(Ge)),Ge[_0x3a39a5(0x29e)];}var Ye={'exports':{}},_n=Ye['exports'],Jt;function ln(){var _0x25c371=_0x2997fa;return Jt||(Jt=0x1,function(_0x51c045,_0x9d1136){(function(_0x19dc5f,_0x1d834b){var _0x1e2623=_0x77bd;_0x51c045[_0x1e2623(0x29e)]=_0x1d834b(te());}(_n,function(_0x5c27bc){return function(_0x385f40){var _0x832642=_0x77bd,_0x11c2b4=_0x5c27bc,_0x33a475=_0x11c2b4[_0x832642(0x3c7)],_0x47c24b=_0x33a475[_0x832642(0x2cb)],_0x15801f=_0x33a475[_0x832642(0x1c5)],_0x3fa5ef=_0x11c2b4[_0x832642(0x1c9)],_0x24d07f=[];(function(){var _0x5c3731=_0x832642;for(var _0x9670dd=0x0;_0x9670dd<0x40;_0x9670dd++)_0x24d07f[_0x9670dd]=_0x385f40['abs'](_0x385f40[_0x5c3731(0x2a5)](_0x9670dd+0x1))*0x100000000|0x0;}());var _0x47745b=_0x3fa5ef[_0x832642(0x39d)]=_0x15801f[_0x832642(0x350)]({'_doReset':function(){var _0x1c0b00=_0x832642;this[_0x1c0b00(0x378)]=new _0x47c24b[(_0x1c0b00(0x199))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x35522f,_0x15a2cf){var _0x2b7758=_0x832642;for(var _0x4b289a=0x0;_0x4b289a<0x10;_0x4b289a++){var _0x44f03f=_0x15a2cf+_0x4b289a,_0x237f26=_0x35522f[_0x44f03f];_0x35522f[_0x44f03f]=(_0x237f26<<0x8|_0x237f26>>>0x18)&0xff00ff|(_0x237f26<<0x18|_0x237f26>>>0x8)&0xff00ff00;}var _0x569831=this[_0x2b7758(0x378)]['words'],_0x34e764=_0x35522f[_0x15a2cf+0x0],_0x2dd877=_0x35522f[_0x15a2cf+0x1],_0x4f4d5c=_0x35522f[_0x15a2cf+0x2],_0x895837=_0x35522f[_0x15a2cf+0x3],_0x1ec958=_0x35522f[_0x15a2cf+0x4],_0x48b443=_0x35522f[_0x15a2cf+0x5],_0x1e9017=_0x35522f[_0x15a2cf+0x6],_0x3d16bf=_0x35522f[_0x15a2cf+0x7],_0xa2827c=_0x35522f[_0x15a2cf+0x8],_0x5ad86e=_0x35522f[_0x15a2cf+0x9],_0x50b497=_0x35522f[_0x15a2cf+0xa],_0x48418a=_0x35522f[_0x15a2cf+0xb],_0x4d4d69=_0x35522f[_0x15a2cf+0xc],_0x35a075=_0x35522f[_0x15a2cf+0xd],_0x5b2125=_0x35522f[_0x15a2cf+0xe],_0x5d82d9=_0x35522f[_0x15a2cf+0xf],_0x4489a4=_0x569831[0x0],_0x30d354=_0x569831[0x1],_0x11b340=_0x569831[0x2],_0x56c627=_0x569831[0x3];_0x4489a4=_0x491a60(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x34e764,0x7,_0x24d07f[0x0]),_0x56c627=_0x491a60(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x2dd877,0xc,_0x24d07f[0x1]),_0x11b340=_0x491a60(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x4f4d5c,0x11,_0x24d07f[0x2]),_0x30d354=_0x491a60(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x895837,0x16,_0x24d07f[0x3]),_0x4489a4=_0x491a60(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x1ec958,0x7,_0x24d07f[0x4]),_0x56c627=_0x491a60(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x48b443,0xc,_0x24d07f[0x5]),_0x11b340=_0x491a60(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x1e9017,0x11,_0x24d07f[0x6]),_0x30d354=_0x491a60(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x3d16bf,0x16,_0x24d07f[0x7]),_0x4489a4=_0x491a60(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0xa2827c,0x7,_0x24d07f[0x8]),_0x56c627=_0x491a60(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x5ad86e,0xc,_0x24d07f[0x9]),_0x11b340=_0x491a60(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x50b497,0x11,_0x24d07f[0xa]),_0x30d354=_0x491a60(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x48418a,0x16,_0x24d07f[0xb]),_0x4489a4=_0x491a60(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x4d4d69,0x7,_0x24d07f[0xc]),_0x56c627=_0x491a60(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x35a075,0xc,_0x24d07f[0xd]),_0x11b340=_0x491a60(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x5b2125,0x11,_0x24d07f[0xe]),_0x30d354=_0x491a60(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x5d82d9,0x16,_0x24d07f[0xf]),_0x4489a4=_0x5cfb16(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x2dd877,0x5,_0x24d07f[0x10]),_0x56c627=_0x5cfb16(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x1e9017,0x9,_0x24d07f[0x11]),_0x11b340=_0x5cfb16(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x48418a,0xe,_0x24d07f[0x12]),_0x30d354=_0x5cfb16(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x34e764,0x14,_0x24d07f[0x13]),_0x4489a4=_0x5cfb16(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x48b443,0x5,_0x24d07f[0x14]),_0x56c627=_0x5cfb16(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x50b497,0x9,_0x24d07f[0x15]),_0x11b340=_0x5cfb16(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x5d82d9,0xe,_0x24d07f[0x16]),_0x30d354=_0x5cfb16(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x1ec958,0x14,_0x24d07f[0x17]),_0x4489a4=_0x5cfb16(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x5ad86e,0x5,_0x24d07f[0x18]),_0x56c627=_0x5cfb16(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x5b2125,0x9,_0x24d07f[0x19]),_0x11b340=_0x5cfb16(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x895837,0xe,_0x24d07f[0x1a]),_0x30d354=_0x5cfb16(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0xa2827c,0x14,_0x24d07f[0x1b]),_0x4489a4=_0x5cfb16(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x35a075,0x5,_0x24d07f[0x1c]),_0x56c627=_0x5cfb16(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x4f4d5c,0x9,_0x24d07f[0x1d]),_0x11b340=_0x5cfb16(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x3d16bf,0xe,_0x24d07f[0x1e]),_0x30d354=_0x5cfb16(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x4d4d69,0x14,_0x24d07f[0x1f]),_0x4489a4=_0x4b78f5(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x48b443,0x4,_0x24d07f[0x20]),_0x56c627=_0x4b78f5(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0xa2827c,0xb,_0x24d07f[0x21]),_0x11b340=_0x4b78f5(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x48418a,0x10,_0x24d07f[0x22]),_0x30d354=_0x4b78f5(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x5b2125,0x17,_0x24d07f[0x23]),_0x4489a4=_0x4b78f5(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x2dd877,0x4,_0x24d07f[0x24]),_0x56c627=_0x4b78f5(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x1ec958,0xb,_0x24d07f[0x25]),_0x11b340=_0x4b78f5(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x3d16bf,0x10,_0x24d07f[0x26]),_0x30d354=_0x4b78f5(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x50b497,0x17,_0x24d07f[0x27]),_0x4489a4=_0x4b78f5(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x35a075,0x4,_0x24d07f[0x28]),_0x56c627=_0x4b78f5(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x34e764,0xb,_0x24d07f[0x29]),_0x11b340=_0x4b78f5(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x895837,0x10,_0x24d07f[0x2a]),_0x30d354=_0x4b78f5(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x1e9017,0x17,_0x24d07f[0x2b]),_0x4489a4=_0x4b78f5(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x5ad86e,0x4,_0x24d07f[0x2c]),_0x56c627=_0x4b78f5(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x4d4d69,0xb,_0x24d07f[0x2d]),_0x11b340=_0x4b78f5(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x5d82d9,0x10,_0x24d07f[0x2e]),_0x30d354=_0x4b78f5(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x4f4d5c,0x17,_0x24d07f[0x2f]),_0x4489a4=_0x13db5f(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x34e764,0x6,_0x24d07f[0x30]),_0x56c627=_0x13db5f(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x3d16bf,0xa,_0x24d07f[0x31]),_0x11b340=_0x13db5f(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x5b2125,0xf,_0x24d07f[0x32]),_0x30d354=_0x13db5f(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x48b443,0x15,_0x24d07f[0x33]),_0x4489a4=_0x13db5f(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x4d4d69,0x6,_0x24d07f[0x34]),_0x56c627=_0x13db5f(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x895837,0xa,_0x24d07f[0x35]),_0x11b340=_0x13db5f(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x50b497,0xf,_0x24d07f[0x36]),_0x30d354=_0x13db5f(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x2dd877,0x15,_0x24d07f[0x37]),_0x4489a4=_0x13db5f(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0xa2827c,0x6,_0x24d07f[0x38]),_0x56c627=_0x13db5f(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x5d82d9,0xa,_0x24d07f[0x39]),_0x11b340=_0x13db5f(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x1e9017,0xf,_0x24d07f[0x3a]),_0x30d354=_0x13db5f(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x35a075,0x15,_0x24d07f[0x3b]),_0x4489a4=_0x13db5f(_0x4489a4,_0x30d354,_0x11b340,_0x56c627,_0x1ec958,0x6,_0x24d07f[0x3c]),_0x56c627=_0x13db5f(_0x56c627,_0x4489a4,_0x30d354,_0x11b340,_0x48418a,0xa,_0x24d07f[0x3d]),_0x11b340=_0x13db5f(_0x11b340,_0x56c627,_0x4489a4,_0x30d354,_0x4f4d5c,0xf,_0x24d07f[0x3e]),_0x30d354=_0x13db5f(_0x30d354,_0x11b340,_0x56c627,_0x4489a4,_0x5ad86e,0x15,_0x24d07f[0x3f]),_0x569831[0x0]=_0x569831[0x0]+_0x4489a4|0x0,_0x569831[0x1]=_0x569831[0x1]+_0x30d354|0x0,_0x569831[0x2]=_0x569831[0x2]+_0x11b340|0x0,_0x569831[0x3]=_0x569831[0x3]+_0x56c627|0x0;},'_doFinalize':function(){var _0xae2af4=_0x832642,_0x199b50=this[_0xae2af4(0x30c)],_0x4515f0=_0x199b50[_0xae2af4(0xfd)],_0x263404=this[_0xae2af4(0x1e6)]*0x8,_0x31b275=_0x199b50[_0xae2af4(0x203)]*0x8;_0x4515f0[_0x31b275>>>0x5]|=0x80<<0x18-_0x31b275%0x20;var _0x201bd8=_0x385f40[_0xae2af4(0x260)](_0x263404/0x100000000),_0x3c3549=_0x263404;_0x4515f0[(_0x31b275+0x40>>>0x9<<0x4)+0xf]=(_0x201bd8<<0x8|_0x201bd8>>>0x18)&0xff00ff|(_0x201bd8<<0x18|_0x201bd8>>>0x8)&0xff00ff00,_0x4515f0[(_0x31b275+0x40>>>0x9<<0x4)+0xe]=(_0x3c3549<<0x8|_0x3c3549>>>0x18)&0xff00ff|(_0x3c3549<<0x18|_0x3c3549>>>0x8)&0xff00ff00,_0x199b50[_0xae2af4(0x203)]=(_0x4515f0[_0xae2af4(0x171)]+0x1)*0x4,this[_0xae2af4(0x3d3)]();for(var _0x7cb906=this['_hash'],_0x15bafb=_0x7cb906[_0xae2af4(0xfd)],_0x114a07=0x0;_0x114a07<0x4;_0x114a07++){var _0x4d442c=_0x15bafb[_0x114a07];_0x15bafb[_0x114a07]=(_0x4d442c<<0x8|_0x4d442c>>>0x18)&0xff00ff|(_0x4d442c<<0x18|_0x4d442c>>>0x8)&0xff00ff00;}return _0x7cb906;},'clone':function(){var _0x3d0f6b=_0x832642,_0x1a26b0=_0x15801f['clone']['call'](this);return _0x1a26b0[_0x3d0f6b(0x378)]=this[_0x3d0f6b(0x378)][_0x3d0f6b(0x102)](),_0x1a26b0;}});function _0x491a60(_0x39bae0,_0x18fd5b,_0x287d45,_0x587ec4,_0x12c3b9,_0xcdbe69,_0xffadfa){var _0x4581ab=_0x39bae0+(_0x18fd5b&_0x287d45|~_0x18fd5b&_0x587ec4)+_0x12c3b9+_0xffadfa;return(_0x4581ab<<_0xcdbe69|_0x4581ab>>>0x20-_0xcdbe69)+_0x18fd5b;}function _0x5cfb16(_0x5d1f3b,_0xe9e14,_0x34bc43,_0x567e92,_0x1da68c,_0x39355d,_0x519483){var _0x54b032=_0x5d1f3b+(_0xe9e14&_0x567e92|_0x34bc43&~_0x567e92)+_0x1da68c+_0x519483;return(_0x54b032<<_0x39355d|_0x54b032>>>0x20-_0x39355d)+_0xe9e14;}function _0x4b78f5(_0x27035b,_0x5543f4,_0x59a0a5,_0x27d440,_0x5e3218,_0x266046,_0x40f7f5){var _0x376176=_0x27035b+(_0x5543f4^_0x59a0a5^_0x27d440)+_0x5e3218+_0x40f7f5;return(_0x376176<<_0x266046|_0x376176>>>0x20-_0x266046)+_0x5543f4;}function _0x13db5f(_0x17d8ef,_0x1feb2f,_0x4798c6,_0x421193,_0x3c9796,_0x4b828f,_0x290e77){var _0x12c6e4=_0x17d8ef+(_0x4798c6^(_0x1feb2f|~_0x421193))+_0x3c9796+_0x290e77;return(_0x12c6e4<<_0x4b828f|_0x12c6e4>>>0x20-_0x4b828f)+_0x1feb2f;}_0x11c2b4[_0x832642(0x39d)]=_0x15801f[_0x832642(0x273)](_0x47745b),_0x11c2b4[_0x832642(0x1c2)]=_0x15801f[_0x832642(0x2c2)](_0x47745b);}(Math),_0x5c27bc['MD5'];}));}(Ye)),Ye[_0x25c371(0x29e)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x2997fa(0x29e)],Xt;function dn(){var _0x3c4b2e=_0x2997fa;return Xt||(Xt=0x1,function(_0x522cd7,_0x552d7d){(function(_0x4e9dbc,_0x4b9d2c){_0x522cd7['exports']=_0x4b9d2c(te());}(un,function(_0x10bdb1){var _0x344016=_0x77bd;return(function(){var _0x4ec902=_0x77bd,_0x4f0b5a=_0x10bdb1,_0x1f01f9=_0x4f0b5a['lib'],_0x36b22b=_0x1f01f9['WordArray'],_0x3a6246=_0x1f01f9[_0x4ec902(0x1c5)],_0x41559d=_0x4f0b5a[_0x4ec902(0x1c9)],_0x23a82b=[],_0x462d6d=_0x41559d[_0x4ec902(0x2aa)]=_0x3a6246[_0x4ec902(0x350)]({'_doReset':function(){var _0x41b26a=_0x4ec902;this[_0x41b26a(0x378)]=new _0x36b22b[(_0x41b26a(0x199))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x374395,_0xdcf5bb){var _0x5278f6=_0x4ec902;for(var _0x441d6a=this[_0x5278f6(0x378)][_0x5278f6(0xfd)],_0x386f61=_0x441d6a[0x0],_0xc5aebc=_0x441d6a[0x1],_0x1ee38e=_0x441d6a[0x2],_0x217724=_0x441d6a[0x3],_0x4c992b=_0x441d6a[0x4],_0x4d0539=0x0;_0x4d0539<0x50;_0x4d0539++){if(_0x4d0539<0x10)_0x23a82b[_0x4d0539]=_0x374395[_0xdcf5bb+_0x4d0539]|0x0;else{var _0x39c4d6=_0x23a82b[_0x4d0539-0x3]^_0x23a82b[_0x4d0539-0x8]^_0x23a82b[_0x4d0539-0xe]^_0x23a82b[_0x4d0539-0x10];_0x23a82b[_0x4d0539]=_0x39c4d6<<0x1|_0x39c4d6>>>0x1f;}var _0x5c51c1=(_0x386f61<<0x5|_0x386f61>>>0x1b)+_0x4c992b+_0x23a82b[_0x4d0539];_0x4d0539<0x14?_0x5c51c1+=(_0xc5aebc&_0x1ee38e|~_0xc5aebc&_0x217724)+0x5a827999:_0x4d0539<0x28?_0x5c51c1+=(_0xc5aebc^_0x1ee38e^_0x217724)+0x6ed9eba1:_0x4d0539<0x3c?_0x5c51c1+=(_0xc5aebc&_0x1ee38e|_0xc5aebc&_0x217724|_0x1ee38e&_0x217724)-0x70e44324:_0x5c51c1+=(_0xc5aebc^_0x1ee38e^_0x217724)-0x359d3e2a,_0x4c992b=_0x217724,_0x217724=_0x1ee38e,_0x1ee38e=_0xc5aebc<<0x1e|_0xc5aebc>>>0x2,_0xc5aebc=_0x386f61,_0x386f61=_0x5c51c1;}_0x441d6a[0x0]=_0x441d6a[0x0]+_0x386f61|0x0,_0x441d6a[0x1]=_0x441d6a[0x1]+_0xc5aebc|0x0,_0x441d6a[0x2]=_0x441d6a[0x2]+_0x1ee38e|0x0,_0x441d6a[0x3]=_0x441d6a[0x3]+_0x217724|0x0,_0x441d6a[0x4]=_0x441d6a[0x4]+_0x4c992b|0x0;},'_doFinalize':function(){var _0x34d96e=_0x4ec902,_0x348ff9=this['_data'],_0x320d54=_0x348ff9[_0x34d96e(0xfd)],_0x4c26ee=this[_0x34d96e(0x1e6)]*0x8,_0x52a0f7=_0x348ff9[_0x34d96e(0x203)]*0x8;return _0x320d54[_0x52a0f7>>>0x5]|=0x80<<0x18-_0x52a0f7%0x20,_0x320d54[(_0x52a0f7+0x40>>>0x9<<0x4)+0xe]=Math[_0x34d96e(0x260)](_0x4c26ee/0x100000000),_0x320d54[(_0x52a0f7+0x40>>>0x9<<0x4)+0xf]=_0x4c26ee,_0x348ff9[_0x34d96e(0x203)]=_0x320d54['length']*0x4,this[_0x34d96e(0x3d3)](),this[_0x34d96e(0x378)];},'clone':function(){var _0x4e34a5=_0x4ec902,_0x4da322=_0x3a6246[_0x4e34a5(0x102)][_0x4e34a5(0x2da)](this);return _0x4da322[_0x4e34a5(0x378)]=this[_0x4e34a5(0x378)][_0x4e34a5(0x102)](),_0x4da322;}});_0x4f0b5a[_0x4ec902(0x2aa)]=_0x3a6246[_0x4ec902(0x273)](_0x462d6d),_0x4f0b5a[_0x4ec902(0x189)]=_0x3a6246[_0x4ec902(0x2c2)](_0x462d6d);}()),_0x10bdb1[_0x344016(0x2aa)];}));}(qe)),qe[_0x3c4b2e(0x29e)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x12908c=_0x2997fa;return Zt||(Zt=0x1,function(_0x481678,_0x3304e8){(function(_0x407411,_0xc84fa1){var _0x18c34c=_0x77bd;_0x481678[_0x18c34c(0x29e)]=_0xc84fa1(te());}(fn,function(_0xe613db){(function(){var _0x987937=_0x77bd,_0x3a4ffa=_0xe613db,_0x12bfef=_0x3a4ffa[_0x987937(0x3c7)],_0x35b4cb=_0x12bfef[_0x987937(0x375)],_0x413d5a=_0x3a4ffa[_0x987937(0x3d4)],_0x29ddfb=_0x413d5a[_0x987937(0x21d)],_0x139e00=_0x3a4ffa[_0x987937(0x1c9)];_0x139e00[_0x987937(0x39e)]=_0x35b4cb[_0x987937(0x350)]({'init':function(_0x30d01a,_0x2cc82e){var _0x555692=_0x987937;_0x30d01a=this[_0x555692(0x35f)]=new _0x30d01a[(_0x555692(0x199))](),typeof _0x2cc82e=='string'&&(_0x2cc82e=_0x29ddfb[_0x555692(0x1b2)](_0x2cc82e));var _0x4e2960=_0x30d01a['blockSize'],_0x8ed54b=_0x4e2960*0x4;_0x2cc82e[_0x555692(0x203)]>_0x8ed54b&&(_0x2cc82e=_0x30d01a[_0x555692(0x3ae)](_0x2cc82e)),_0x2cc82e[_0x555692(0x30e)]();for(var _0x385b77=this[_0x555692(0x277)]=_0x2cc82e['clone'](),_0x4abb5c=this[_0x555692(0x121)]=_0x2cc82e['clone'](),_0x42d117=_0x385b77[_0x555692(0xfd)],_0x396b89=_0x4abb5c['words'],_0x2e7853=0x0;_0x2e7853<_0x4e2960;_0x2e7853++)_0x42d117[_0x2e7853]^=0x5c5c5c5c,_0x396b89[_0x2e7853]^=0x36363636;_0x385b77[_0x555692(0x203)]=_0x4abb5c['sigBytes']=_0x8ed54b,this[_0x555692(0x1ef)]();},'reset':function(){var _0x4d4a35=_0x987937,_0x34f0f3=this['_hasher'];_0x34f0f3['reset'](),_0x34f0f3[_0x4d4a35(0x39a)](this[_0x4d4a35(0x121)]);},'update':function(_0x59a92f){var _0xe60405=_0x987937;return this['_hasher'][_0xe60405(0x39a)](_0x59a92f),this;},'finalize':function(_0x5c8768){var _0x29afcf=_0x987937,_0x30d06c=this[_0x29afcf(0x35f)],_0x38a020=_0x30d06c[_0x29afcf(0x3ae)](_0x5c8768);_0x30d06c[_0x29afcf(0x1ef)]();var _0x90740c=_0x30d06c['finalize'](this[_0x29afcf(0x277)][_0x29afcf(0x102)]()['concat'](_0x38a020));return _0x90740c;}});}());}));}(ze)),ze[_0x12908c(0x29e)];}var pn=Ke[_0x2997fa(0x29e)],Qt;function Oi(){var _0x3c28b2=_0x2997fa;return Qt||(Qt=0x1,function(_0x13bc59,_0x359a1a){(function(_0x3cce25,_0x476fb1,_0x1f0895){var _0x51b48f=_0x77bd;_0x13bc59[_0x51b48f(0x29e)]=_0x476fb1(te(),dn(),vn());}(pn,function(_0xd811fa){return(function(){var _0x507dcc=_0x77bd,_0x53e71b=_0xd811fa,_0xfa8ca2=_0x53e71b[_0x507dcc(0x3c7)],_0xad0f4b=_0xfa8ca2[_0x507dcc(0x375)],_0x300a73=_0xfa8ca2['WordArray'],_0x567075=_0x53e71b['algo'],_0x182760=_0x567075['MD5'],_0x17b506=_0x567075['EvpKDF']=_0xad0f4b['extend']({'cfg':_0xad0f4b['extend']({'keySize':0x80/0x20,'hasher':_0x182760,'iterations':0x1}),'init':function(_0x3c9b35){var _0x2ccfc0=_0x507dcc;this[_0x2ccfc0(0x316)]=this[_0x2ccfc0(0x316)]['extend'](_0x3c9b35);},'compute':function(_0x27cfdb,_0x3a396d){var _0xeb0f91=_0x507dcc;for(var _0x1a39df,_0x2514f9=this[_0xeb0f91(0x316)],_0x3b22ea=_0x2514f9[_0xeb0f91(0x1c8)][_0xeb0f91(0x3da)](),_0x3db12e=_0x300a73['create'](),_0x3ada75=_0x3db12e['words'],_0x3f42d4=_0x2514f9[_0xeb0f91(0x191)],_0x2e99cc=_0x2514f9['iterations'];_0x3ada75[_0xeb0f91(0x171)]<_0x3f42d4;){_0x1a39df&&_0x3b22ea[_0xeb0f91(0x39a)](_0x1a39df),_0x1a39df=_0x3b22ea[_0xeb0f91(0x39a)](_0x27cfdb)['finalize'](_0x3a396d),_0x3b22ea[_0xeb0f91(0x1ef)]();for(var _0x47bc23=0x1;_0x47bc23<_0x2e99cc;_0x47bc23++)_0x1a39df=_0x3b22ea[_0xeb0f91(0x3ae)](_0x1a39df),_0x3b22ea[_0xeb0f91(0x1ef)]();_0x3db12e[_0xeb0f91(0xf5)](_0x1a39df);}return _0x3db12e['sigBytes']=_0x3f42d4*0x4,_0x3db12e;}});_0x53e71b[_0x507dcc(0x25d)]=function(_0x41e27a,_0x14f7a6,_0x39add2){var _0x15be88=_0x507dcc;return _0x17b506[_0x15be88(0x3da)](_0x39add2)[_0x15be88(0x266)](_0x41e27a,_0x14f7a6);};}()),_0xd811fa['EvpKDF'];}));}(Ke)),Ke[_0x3c28b2(0x29e)];}var Je={'exports':{}},mn=Je[_0x2997fa(0x29e)],ei;function bi(){var _0x2e2de7=_0x2997fa;return ei||(ei=0x1,function(_0x45c8d0,_0x4709b7){(function(_0x31c665,_0x39f317,_0x57feb5){var _0x336750=_0x77bd;_0x45c8d0[_0x336750(0x29e)]=_0x39f317(te(),Oi());}(mn,function(_0x489d7e){var _0x302091=_0x77bd;_0x489d7e['lib'][_0x302091(0x108)]||function(_0x1e0736){var _0x7015d=_0x302091,_0xdf77d9=_0x489d7e,_0x2faba3=_0xdf77d9[_0x7015d(0x3c7)],_0x190440=_0x2faba3[_0x7015d(0x375)],_0x486c83=_0x2faba3['WordArray'],_0xb4752=_0x2faba3['BufferedBlockAlgorithm'],_0x30672d=_0xdf77d9[_0x7015d(0x3d4)];_0x30672d[_0x7015d(0x21d)];var _0x2176f5=_0x30672d['Base64'],_0x38a34d=_0xdf77d9['algo'],_0x179fab=_0x38a34d['EvpKDF'],_0xf2900d=_0x2faba3[_0x7015d(0x108)]=_0xb4752[_0x7015d(0x350)]({'cfg':_0x190440[_0x7015d(0x350)](),'createEncryptor':function(_0x2d4d41,_0x1b70f0){var _0x414ba6=_0x7015d;return this[_0x414ba6(0x3da)](this[_0x414ba6(0x130)],_0x2d4d41,_0x1b70f0);},'createDecryptor':function(_0x122a60,_0x410a7b){var _0x230c50=_0x7015d;return this[_0x230c50(0x3da)](this[_0x230c50(0x151)],_0x122a60,_0x410a7b);},'init':function(_0xce10b8,_0x5c3f66,_0x47ddbd){var _0x56ffc9=_0x7015d;this[_0x56ffc9(0x316)]=this[_0x56ffc9(0x316)][_0x56ffc9(0x350)](_0x47ddbd),this[_0x56ffc9(0x339)]=_0xce10b8,this[_0x56ffc9(0x3af)]=_0x5c3f66,this['reset']();},'reset':function(){var _0x214faf=_0x7015d;_0xb4752[_0x214faf(0x1ef)][_0x214faf(0x2da)](this),this['_doReset']();},'process':function(_0x5eb424){var _0x408138=_0x7015d;return this[_0x408138(0x163)](_0x5eb424),this[_0x408138(0x3d3)]();},'finalize':function(_0x709ba5){var _0x5a68ba=_0x7015d;_0x709ba5&&this[_0x5a68ba(0x163)](_0x709ba5);var _0x181db1=this['_doFinalize']();return _0x181db1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2babef(_0x443c70){var _0x34d30a=_0x77bd;return typeof _0x443c70==_0x34d30a(0x286)?_0x2f5dcd:_0x5de0f6;}return function(_0x448641){return{'encrypt':function(_0x47211f,_0x90fad3,_0xe4e8d3){var _0x1a8b77=_0x77bd;return _0x2babef(_0x90fad3)[_0x1a8b77(0x2d4)](_0x448641,_0x47211f,_0x90fad3,_0xe4e8d3);},'decrypt':function(_0x1f232f,_0x48647b,_0x55f279){var _0x189e6f=_0x77bd;return _0x2babef(_0x48647b)[_0x189e6f(0x32f)](_0x448641,_0x1f232f,_0x48647b,_0x55f279);}};};}())});_0x2faba3[_0x7015d(0x261)]=_0xf2900d[_0x7015d(0x350)]({'_doFinalize':function(){var _0x38fbc8=_0x7015d,_0x5ea5ec=this[_0x38fbc8(0x3d3)](!0x0);return _0x5ea5ec;},'blockSize':0x1});var _0x30c26b=_0xdf77d9[_0x7015d(0x17f)]={},_0x513a58=_0x2faba3[_0x7015d(0x280)]=_0x190440[_0x7015d(0x350)]({'createEncryptor':function(_0x5daec1,_0x99471c){var _0xff0cfb=_0x7015d;return this[_0xff0cfb(0x300)][_0xff0cfb(0x3da)](_0x5daec1,_0x99471c);},'createDecryptor':function(_0x24e73b,_0x46cce6){var _0x1c0c2c=_0x7015d;return this[_0x1c0c2c(0x14c)][_0x1c0c2c(0x3da)](_0x24e73b,_0x46cce6);},'init':function(_0x206f67,_0x93c341){var _0x1ca402=_0x7015d;this[_0x1ca402(0x3a0)]=_0x206f67,this[_0x1ca402(0x247)]=_0x93c341;}}),_0x5e858b=_0x30c26b[_0x7015d(0x2f7)]=(function(){var _0x25e65f=_0x7015d,_0x5ab455=_0x513a58[_0x25e65f(0x350)]();_0x5ab455[_0x25e65f(0x300)]=_0x5ab455[_0x25e65f(0x350)]({'processBlock':function(_0x43cbfc,_0x1b4a20){var _0x591d7e=_0x25e65f,_0x19e78e=this[_0x591d7e(0x3a0)],_0xfa9a06=_0x19e78e['blockSize'];_0x13dc9c['call'](this,_0x43cbfc,_0x1b4a20,_0xfa9a06),_0x19e78e['encryptBlock'](_0x43cbfc,_0x1b4a20),this[_0x591d7e(0x33c)]=_0x43cbfc[_0x591d7e(0x1f9)](_0x1b4a20,_0x1b4a20+_0xfa9a06);}}),_0x5ab455[_0x25e65f(0x14c)]=_0x5ab455[_0x25e65f(0x350)]({'processBlock':function(_0x2f3fee,_0xbf8001){var _0xb7bc8=_0x25e65f,_0x4bcd9f=this['_cipher'],_0x581b78=_0x4bcd9f[_0xb7bc8(0x24b)],_0x1d6fd0=_0x2f3fee[_0xb7bc8(0x1f9)](_0xbf8001,_0xbf8001+_0x581b78);_0x4bcd9f[_0xb7bc8(0xe8)](_0x2f3fee,_0xbf8001),_0x13dc9c['call'](this,_0x2f3fee,_0xbf8001,_0x581b78),this[_0xb7bc8(0x33c)]=_0x1d6fd0;}});function _0x13dc9c(_0x581bd9,_0x2a2443,_0x3aff21){var _0x1d470c=_0x25e65f,_0x4a069a,_0x232a03=this[_0x1d470c(0x247)];_0x232a03?(_0x4a069a=_0x232a03,this[_0x1d470c(0x247)]=_0x1e0736):_0x4a069a=this[_0x1d470c(0x33c)];for(var _0x496949=0x0;_0x496949<_0x3aff21;_0x496949++)_0x581bd9[_0x2a2443+_0x496949]^=_0x4a069a[_0x496949];}return _0x5ab455;}()),_0x5c6a5e=_0xdf77d9[_0x7015d(0x232)]={},_0x229376=_0x5c6a5e[_0x7015d(0x27f)]={'pad':function(_0x48cf1f,_0x40952b){var _0x3e3e16=_0x7015d;for(var _0x3ae800=_0x40952b*0x4,_0x1f01e7=_0x3ae800-_0x48cf1f[_0x3e3e16(0x203)]%_0x3ae800,_0x3391f1=_0x1f01e7<<0x18|_0x1f01e7<<0x10|_0x1f01e7<<0x8|_0x1f01e7,_0x5eee7c=[],_0x4a96f3=0x0;_0x4a96f3<_0x1f01e7;_0x4a96f3+=0x4)_0x5eee7c['push'](_0x3391f1);var _0x59554b=_0x486c83[_0x3e3e16(0x3da)](_0x5eee7c,_0x1f01e7);_0x48cf1f[_0x3e3e16(0xf5)](_0x59554b);},'unpad':function(_0x357a25){var _0x2f0b2a=_0x7015d,_0x26ab2d=_0x357a25[_0x2f0b2a(0xfd)][_0x357a25['sigBytes']-0x1>>>0x2]&0xff;_0x357a25[_0x2f0b2a(0x203)]-=_0x26ab2d;}};_0x2faba3[_0x7015d(0x351)]=_0xf2900d[_0x7015d(0x350)]({'cfg':_0xf2900d[_0x7015d(0x316)][_0x7015d(0x350)]({'mode':_0x5e858b,'padding':_0x229376}),'reset':function(){var _0x5d029d=_0x7015d,_0x41438e;_0xf2900d[_0x5d029d(0x1ef)][_0x5d029d(0x2da)](this);var _0x2bc7fc=this[_0x5d029d(0x316)],_0x205009=_0x2bc7fc['iv'],_0x421617=_0x2bc7fc['mode'];this[_0x5d029d(0x339)]==this['_ENC_XFORM_MODE']?_0x41438e=_0x421617[_0x5d029d(0x141)]:(_0x41438e=_0x421617[_0x5d029d(0x18f)],this[_0x5d029d(0x1b3)]=0x1),this[_0x5d029d(0x20a)]&&this[_0x5d029d(0x20a)][_0x5d029d(0x253)]==_0x41438e?this['_mode'][_0x5d029d(0x199)](this,_0x205009&&_0x205009[_0x5d029d(0xfd)]):(this[_0x5d029d(0x20a)]=_0x41438e[_0x5d029d(0x2da)](_0x421617,this,_0x205009&&_0x205009['words']),this[_0x5d029d(0x20a)][_0x5d029d(0x253)]=_0x41438e);},'_doProcessBlock':function(_0x4032dd,_0x4c91fe){var _0x28ec58=_0x7015d;this[_0x28ec58(0x20a)][_0x28ec58(0x23d)](_0x4032dd,_0x4c91fe);},'_doFinalize':function(){var _0x2b696f=_0x7015d,_0x312d99,_0x425a46=this[_0x2b696f(0x316)][_0x2b696f(0x119)];return this[_0x2b696f(0x339)]==this[_0x2b696f(0x130)]?(_0x425a46['pad'](this[_0x2b696f(0x30c)],this[_0x2b696f(0x24b)]),_0x312d99=this[_0x2b696f(0x3d3)](!0x0)):(_0x312d99=this[_0x2b696f(0x3d3)](!0x0),_0x425a46[_0x2b696f(0x376)](_0x312d99)),_0x312d99;},'blockSize':0x80/0x20});var _0x2acdbf=_0x2faba3['CipherParams']=_0x190440[_0x7015d(0x350)]({'init':function(_0x13d36b){var _0x10b67c=_0x7015d;this[_0x10b67c(0x125)](_0x13d36b);},'toString':function(_0xf3131d){var _0x54788f=_0x7015d;return(_0xf3131d||this[_0x54788f(0x3bc)])[_0x54788f(0x2b8)](this);}}),_0x504b78=_0xdf77d9[_0x7015d(0x387)]={},_0x3ea8e1=_0x504b78[_0x7015d(0x259)]={'stringify':function(_0x17da42){var _0x5bb073=_0x7015d,_0x51d986,_0x14e0c1=_0x17da42['ciphertext'],_0x237ad8=_0x17da42[_0x5bb073(0xf7)];return _0x237ad8?_0x51d986=_0x486c83['create']([0x53616c74,0x65645f5f])[_0x5bb073(0xf5)](_0x237ad8)[_0x5bb073(0xf5)](_0x14e0c1):_0x51d986=_0x14e0c1,_0x51d986[_0x5bb073(0x2c4)](_0x2176f5);},'parse':function(_0x1e0e98){var _0x58918b=_0x7015d,_0xc9f94e,_0x450d52=_0x2176f5[_0x58918b(0x1b2)](_0x1e0e98),_0x5ba6fb=_0x450d52[_0x58918b(0xfd)];return _0x5ba6fb[0x0]==0x53616c74&&_0x5ba6fb[0x1]==0x65645f5f&&(_0xc9f94e=_0x486c83[_0x58918b(0x3da)](_0x5ba6fb[_0x58918b(0x1f9)](0x2,0x4)),_0x5ba6fb[_0x58918b(0x1a4)](0x0,0x4),_0x450d52[_0x58918b(0x203)]-=0x10),_0x2acdbf[_0x58918b(0x3da)]({'ciphertext':_0x450d52,'salt':_0xc9f94e});}},_0x5de0f6=_0x2faba3[_0x7015d(0x207)]=_0x190440[_0x7015d(0x350)]({'cfg':_0x190440[_0x7015d(0x350)]({'format':_0x3ea8e1}),'encrypt':function(_0x34ad6e,_0x46c0f4,_0x34a3e3,_0x5eb8e2){var _0xf845e4=_0x7015d;_0x5eb8e2=this['cfg'][_0xf845e4(0x350)](_0x5eb8e2);var _0x14269f=_0x34ad6e[_0xf845e4(0x141)](_0x34a3e3,_0x5eb8e2),_0x456919=_0x14269f['finalize'](_0x46c0f4),_0x881e41=_0x14269f[_0xf845e4(0x316)];return _0x2acdbf[_0xf845e4(0x3da)]({'ciphertext':_0x456919,'key':_0x34a3e3,'iv':_0x881e41['iv'],'algorithm':_0x34ad6e,'mode':_0x881e41[_0xf845e4(0x17f)],'padding':_0x881e41[_0xf845e4(0x119)],'blockSize':_0x34ad6e[_0xf845e4(0x24b)],'formatter':_0x5eb8e2[_0xf845e4(0x387)]});},'decrypt':function(_0x285731,_0x1cc8d5,_0xdbfb28,_0x5c20cc){var _0x41f95c=_0x7015d;_0x5c20cc=this[_0x41f95c(0x316)][_0x41f95c(0x350)](_0x5c20cc),_0x1cc8d5=this[_0x41f95c(0x33b)](_0x1cc8d5,_0x5c20cc[_0x41f95c(0x387)]);var _0x326349=_0x285731[_0x41f95c(0x18f)](_0xdbfb28,_0x5c20cc)[_0x41f95c(0x3ae)](_0x1cc8d5[_0x41f95c(0x287)]);return _0x326349;},'_parse':function(_0x3ed03b,_0x410fa5){var _0x54ce03=_0x7015d;return typeof _0x3ed03b==_0x54ce03(0x286)?_0x410fa5[_0x54ce03(0x1b2)](_0x3ed03b,this):_0x3ed03b;}}),_0x4090fc=_0xdf77d9[_0x7015d(0x10d)]={},_0x251383=_0x4090fc[_0x7015d(0x259)]={'execute':function(_0x73f1d8,_0x262106,_0x410c8d,_0x4c81cc,_0x56b273){var _0x1f1fc7=_0x7015d;if(_0x4c81cc||(_0x4c81cc=_0x486c83[_0x1f1fc7(0x3c6)](0x40/0x8)),_0x56b273)var _0x4fc4f9=_0x179fab['create']({'keySize':_0x262106+_0x410c8d,'hasher':_0x56b273})[_0x1f1fc7(0x266)](_0x73f1d8,_0x4c81cc);else var _0x4fc4f9=_0x179fab['create']({'keySize':_0x262106+_0x410c8d})[_0x1f1fc7(0x266)](_0x73f1d8,_0x4c81cc);var _0x5539a5=_0x486c83['create'](_0x4fc4f9[_0x1f1fc7(0xfd)]['slice'](_0x262106),_0x410c8d*0x4);return _0x4fc4f9[_0x1f1fc7(0x203)]=_0x262106*0x4,_0x2acdbf[_0x1f1fc7(0x3da)]({'key':_0x4fc4f9,'iv':_0x5539a5,'salt':_0x4c81cc});}},_0x2f5dcd=_0x2faba3['PasswordBasedCipher']=_0x5de0f6[_0x7015d(0x350)]({'cfg':_0x5de0f6['cfg'][_0x7015d(0x350)]({'kdf':_0x251383}),'encrypt':function(_0x5eedc7,_0x1a1d24,_0x5014f1,_0x56d9d5){var _0x5e1b81=_0x7015d;_0x56d9d5=this['cfg'][_0x5e1b81(0x350)](_0x56d9d5);var _0x128a64=_0x56d9d5[_0x5e1b81(0x10d)][_0x5e1b81(0x164)](_0x5014f1,_0x5eedc7[_0x5e1b81(0x191)],_0x5eedc7[_0x5e1b81(0x226)],_0x56d9d5[_0x5e1b81(0xf7)],_0x56d9d5['hasher']);_0x56d9d5['iv']=_0x128a64['iv'];var _0x5cd838=_0x5de0f6[_0x5e1b81(0x2d4)]['call'](this,_0x5eedc7,_0x1a1d24,_0x128a64['key'],_0x56d9d5);return _0x5cd838[_0x5e1b81(0x125)](_0x128a64),_0x5cd838;},'decrypt':function(_0x105455,_0x274db6,_0x2283bd,_0x37b62b){var _0x4110ff=_0x7015d;_0x37b62b=this[_0x4110ff(0x316)][_0x4110ff(0x350)](_0x37b62b),_0x274db6=this[_0x4110ff(0x33b)](_0x274db6,_0x37b62b['format']);var _0x25935a=_0x37b62b['kdf']['execute'](_0x2283bd,_0x105455[_0x4110ff(0x191)],_0x105455[_0x4110ff(0x226)],_0x274db6[_0x4110ff(0xf7)],_0x37b62b[_0x4110ff(0x1c8)]);_0x37b62b['iv']=_0x25935a['iv'];var _0x3cb725=_0x5de0f6[_0x4110ff(0x32f)][_0x4110ff(0x2da)](this,_0x105455,_0x274db6,_0x25935a[_0x4110ff(0x38f)],_0x37b62b);return _0x3cb725;}});}();}));}(Je)),Je[_0x2e2de7(0x29e)];}var gn=Ve[_0x2997fa(0x29e)],ti;function Sn(){var _0x33bf19=_0x2997fa;return ti||(ti=0x1,function(_0x1183cf,_0x5d3d4d){(function(_0x51db61,_0xc776f5,_0x3e75d1){_0x1183cf['exports']=_0xc776f5(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x42efc0){var _0x3ebb5c=_0x77bd;return(function(){var _0x4bb45f=_0x77bd,_0x4913d5=_0x42efc0,_0x3925cd=_0x4913d5[_0x4bb45f(0x3c7)],_0x288296=_0x3925cd[_0x4bb45f(0x351)],_0x1db4a3=_0x4913d5['algo'],_0x193a83=[],_0x1ccbf5=[],_0x437fff=[],_0x18c594=[],_0x280838=[],_0x15ab56=[],_0x1e6ef2=[],_0x259772=[],_0x3b42a9=[],_0x100426=[];(function(){for(var _0x2b2eb8=[],_0x85980a=0x0;_0x85980a<0x100;_0x85980a++)_0x85980a<0x80?_0x2b2eb8[_0x85980a]=_0x85980a<<0x1:_0x2b2eb8[_0x85980a]=_0x85980a<<0x1^0x11b;for(var _0x4317a2=0x0,_0x34924f=0x0,_0x85980a=0x0;_0x85980a<0x100;_0x85980a++){var _0x23a308=_0x34924f^_0x34924f<<0x1^_0x34924f<<0x2^_0x34924f<<0x3^_0x34924f<<0x4;_0x23a308=_0x23a308>>>0x8^_0x23a308&0xff^0x63,_0x193a83[_0x4317a2]=_0x23a308,_0x1ccbf5[_0x23a308]=_0x4317a2;var _0x38ddc9=_0x2b2eb8[_0x4317a2],_0x1f04e5=_0x2b2eb8[_0x38ddc9],_0x25f0a6=_0x2b2eb8[_0x1f04e5],_0x44a890=_0x2b2eb8[_0x23a308]*0x101^_0x23a308*0x1010100;_0x437fff[_0x4317a2]=_0x44a890<<0x18|_0x44a890>>>0x8,_0x18c594[_0x4317a2]=_0x44a890<<0x10|_0x44a890>>>0x10,_0x280838[_0x4317a2]=_0x44a890<<0x8|_0x44a890>>>0x18,_0x15ab56[_0x4317a2]=_0x44a890;var _0x44a890=_0x25f0a6*0x1010101^_0x1f04e5*0x10001^_0x38ddc9*0x101^_0x4317a2*0x1010100;_0x1e6ef2[_0x23a308]=_0x44a890<<0x18|_0x44a890>>>0x8,_0x259772[_0x23a308]=_0x44a890<<0x10|_0x44a890>>>0x10,_0x3b42a9[_0x23a308]=_0x44a890<<0x8|_0x44a890>>>0x18,_0x100426[_0x23a308]=_0x44a890,_0x4317a2?(_0x4317a2=_0x38ddc9^_0x2b2eb8[_0x2b2eb8[_0x2b2eb8[_0x25f0a6^_0x38ddc9]]],_0x34924f^=_0x2b2eb8[_0x2b2eb8[_0x34924f]]):_0x4317a2=_0x34924f=0x1;}}());var _0x1525c2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28c7ca=_0x1db4a3[_0x4bb45f(0x27d)]=_0x288296[_0x4bb45f(0x350)]({'_doReset':function(){var _0x483f07=_0x4bb45f,_0x3d47f1;if(!(this[_0x483f07(0x37b)]&&this[_0x483f07(0x275)]===this['_key'])){for(var _0x474f42=this[_0x483f07(0x275)]=this['_key'],_0x389060=_0x474f42[_0x483f07(0xfd)],_0x50eba8=_0x474f42['sigBytes']/0x4,_0x1a0658=this[_0x483f07(0x37b)]=_0x50eba8+0x6,_0x33ff12=(_0x1a0658+0x1)*0x4,_0x3c3906=this[_0x483f07(0x219)]=[],_0x5411ac=0x0;_0x5411ac<_0x33ff12;_0x5411ac++)_0x5411ac<_0x50eba8?_0x3c3906[_0x5411ac]=_0x389060[_0x5411ac]:(_0x3d47f1=_0x3c3906[_0x5411ac-0x1],_0x5411ac%_0x50eba8?_0x50eba8>0x6&&_0x5411ac%_0x50eba8==0x4&&(_0x3d47f1=_0x193a83[_0x3d47f1>>>0x18]<<0x18|_0x193a83[_0x3d47f1>>>0x10&0xff]<<0x10|_0x193a83[_0x3d47f1>>>0x8&0xff]<<0x8|_0x193a83[_0x3d47f1&0xff]):(_0x3d47f1=_0x3d47f1<<0x8|_0x3d47f1>>>0x18,_0x3d47f1=_0x193a83[_0x3d47f1>>>0x18]<<0x18|_0x193a83[_0x3d47f1>>>0x10&0xff]<<0x10|_0x193a83[_0x3d47f1>>>0x8&0xff]<<0x8|_0x193a83[_0x3d47f1&0xff],_0x3d47f1^=_0x1525c2[_0x5411ac/_0x50eba8|0x0]<<0x18),_0x3c3906[_0x5411ac]=_0x3c3906[_0x5411ac-_0x50eba8]^_0x3d47f1);for(var _0x215f51=this['_invKeySchedule']=[],_0x40c6e5=0x0;_0x40c6e5<_0x33ff12;_0x40c6e5++){var _0x5411ac=_0x33ff12-_0x40c6e5;if(_0x40c6e5%0x4)var _0x3d47f1=_0x3c3906[_0x5411ac];else var _0x3d47f1=_0x3c3906[_0x5411ac-0x4];_0x40c6e5<0x4||_0x5411ac<=0x4?_0x215f51[_0x40c6e5]=_0x3d47f1:_0x215f51[_0x40c6e5]=_0x1e6ef2[_0x193a83[_0x3d47f1>>>0x18]]^_0x259772[_0x193a83[_0x3d47f1>>>0x10&0xff]]^_0x3b42a9[_0x193a83[_0x3d47f1>>>0x8&0xff]]^_0x100426[_0x193a83[_0x3d47f1&0xff]];}}},'encryptBlock':function(_0x1751a3,_0x4eb920){var _0x34acc6=_0x4bb45f;this['_doCryptBlock'](_0x1751a3,_0x4eb920,this[_0x34acc6(0x219)],_0x437fff,_0x18c594,_0x280838,_0x15ab56,_0x193a83);},'decryptBlock':function(_0x52df87,_0x51e416){var _0x5bc012=_0x52df87[_0x51e416+0x1];_0x52df87[_0x51e416+0x1]=_0x52df87[_0x51e416+0x3],_0x52df87[_0x51e416+0x3]=_0x5bc012,this['_doCryptBlock'](_0x52df87,_0x51e416,this['_invKeySchedule'],_0x1e6ef2,_0x259772,_0x3b42a9,_0x100426,_0x1ccbf5);var _0x5bc012=_0x52df87[_0x51e416+0x1];_0x52df87[_0x51e416+0x1]=_0x52df87[_0x51e416+0x3],_0x52df87[_0x51e416+0x3]=_0x5bc012;},'_doCryptBlock':function(_0x9a0d9c,_0x5db361,_0x25af54,_0x3a6284,_0x13a5e8,_0x414164,_0x74cbf1,_0x43d7c8){var _0x40feaa=_0x4bb45f;for(var _0x18d440=this[_0x40feaa(0x37b)],_0x193f2e=_0x9a0d9c[_0x5db361]^_0x25af54[0x0],_0x430e23=_0x9a0d9c[_0x5db361+0x1]^_0x25af54[0x1],_0x2b5ca1=_0x9a0d9c[_0x5db361+0x2]^_0x25af54[0x2],_0x535f0d=_0x9a0d9c[_0x5db361+0x3]^_0x25af54[0x3],_0x418971=0x4,_0x471cbb=0x1;_0x471cbb<_0x18d440;_0x471cbb++){var _0x15d54f=_0x3a6284[_0x193f2e>>>0x18]^_0x13a5e8[_0x430e23>>>0x10&0xff]^_0x414164[_0x2b5ca1>>>0x8&0xff]^_0x74cbf1[_0x535f0d&0xff]^_0x25af54[_0x418971++],_0x4e3b47=_0x3a6284[_0x430e23>>>0x18]^_0x13a5e8[_0x2b5ca1>>>0x10&0xff]^_0x414164[_0x535f0d>>>0x8&0xff]^_0x74cbf1[_0x193f2e&0xff]^_0x25af54[_0x418971++],_0x5dc69a=_0x3a6284[_0x2b5ca1>>>0x18]^_0x13a5e8[_0x535f0d>>>0x10&0xff]^_0x414164[_0x193f2e>>>0x8&0xff]^_0x74cbf1[_0x430e23&0xff]^_0x25af54[_0x418971++],_0x377da0=_0x3a6284[_0x535f0d>>>0x18]^_0x13a5e8[_0x193f2e>>>0x10&0xff]^_0x414164[_0x430e23>>>0x8&0xff]^_0x74cbf1[_0x2b5ca1&0xff]^_0x25af54[_0x418971++];_0x193f2e=_0x15d54f,_0x430e23=_0x4e3b47,_0x2b5ca1=_0x5dc69a,_0x535f0d=_0x377da0;}var _0x15d54f=(_0x43d7c8[_0x193f2e>>>0x18]<<0x18|_0x43d7c8[_0x430e23>>>0x10&0xff]<<0x10|_0x43d7c8[_0x2b5ca1>>>0x8&0xff]<<0x8|_0x43d7c8[_0x535f0d&0xff])^_0x25af54[_0x418971++],_0x4e3b47=(_0x43d7c8[_0x430e23>>>0x18]<<0x18|_0x43d7c8[_0x2b5ca1>>>0x10&0xff]<<0x10|_0x43d7c8[_0x535f0d>>>0x8&0xff]<<0x8|_0x43d7c8[_0x193f2e&0xff])^_0x25af54[_0x418971++],_0x5dc69a=(_0x43d7c8[_0x2b5ca1>>>0x18]<<0x18|_0x43d7c8[_0x535f0d>>>0x10&0xff]<<0x10|_0x43d7c8[_0x193f2e>>>0x8&0xff]<<0x8|_0x43d7c8[_0x430e23&0xff])^_0x25af54[_0x418971++],_0x377da0=(_0x43d7c8[_0x535f0d>>>0x18]<<0x18|_0x43d7c8[_0x193f2e>>>0x10&0xff]<<0x10|_0x43d7c8[_0x430e23>>>0x8&0xff]<<0x8|_0x43d7c8[_0x2b5ca1&0xff])^_0x25af54[_0x418971++];_0x9a0d9c[_0x5db361]=_0x15d54f,_0x9a0d9c[_0x5db361+0x1]=_0x4e3b47,_0x9a0d9c[_0x5db361+0x2]=_0x5dc69a,_0x9a0d9c[_0x5db361+0x3]=_0x377da0;},'keySize':0x100/0x20});_0x4913d5[_0x4bb45f(0x27d)]=_0x288296[_0x4bb45f(0x273)](_0x28c7ca);}()),_0x42efc0[_0x3ebb5c(0x27d)];}));}(Ve)),Ve[_0x33bf19(0x29e)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x2997fa(0x29e)],si;function Rn(){var _0xa58ca6=_0x2997fa;return si||(si=0x1,function(_0x327a26,_0x197a83){(function(_0x570e86,_0x6f9d2a){_0x327a26['exports']=_0x6f9d2a(te());}(Cn,function(_0x3c456d){var _0x2dca9c=_0x77bd;return _0x3c456d[_0x2dca9c(0x3d4)][_0x2dca9c(0x21d)];}));}(Xe)),Xe[_0xa58ca6(0x29e)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x2997fa(0x29e)],ni;function Nn(){var _0x5cef41=_0x2997fa;return ni||(ni=0x1,function(_0x22ac15,_0x5311e7){(function(_0x10a68c,_0x1cb2c6){var _0x17cd40=_0x77bd;_0x22ac15[_0x17cd40(0x29e)]=_0x1cb2c6(te());}(yn,function(_0x233bd4){var _0x303f07=_0x77bd;return(function(){var _0x1daab7=_0x77bd;if(typeof ArrayBuffer=='function'){var _0x2deecc=_0x233bd4,_0xb27d8f=_0x2deecc['lib'],_0x490799=_0xb27d8f[_0x1daab7(0x2cb)],_0x6e6f5c=_0x490799['init'],_0x4140a4=_0x490799['init']=function(_0x42d312){var _0x4d444c=_0x1daab7;if(_0x42d312 instanceof ArrayBuffer&&(_0x42d312=new Uint8Array(_0x42d312)),(_0x42d312 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x42d312 instanceof Uint8ClampedArray||_0x42d312 instanceof Int16Array||_0x42d312 instanceof Uint16Array||_0x42d312 instanceof Int32Array||_0x42d312 instanceof Uint32Array||_0x42d312 instanceof Float32Array||_0x42d312 instanceof Float64Array)&&(_0x42d312=new Uint8Array(_0x42d312[_0x4d444c(0xea)],_0x42d312[_0x4d444c(0xde)],_0x42d312[_0x4d444c(0x258)])),_0x42d312 instanceof Uint8Array){for(var _0x58237a=_0x42d312[_0x4d444c(0x258)],_0x26e3f6=[],_0x373759=0x0;_0x373759<_0x58237a;_0x373759++)_0x26e3f6[_0x373759>>>0x2]|=_0x42d312[_0x373759]<<0x18-_0x373759%0x4*0x8;_0x6e6f5c[_0x4d444c(0x2da)](this,_0x26e3f6,_0x58237a);}else _0x6e6f5c[_0x4d444c(0x31b)](this,arguments);};_0x4140a4[_0x1daab7(0x106)]=_0x490799;}}()),_0x233bd4['lib'][_0x303f07(0x2cb)];}));}(Ze)),Ze[_0x5cef41(0x29e)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x2997fa(0x29e)],ri;function wn(){return ri||(ri=0x1,function(_0x4bb6f0,_0x3c7563){(function(_0x3fb252,_0x578168,_0x17c26d){var _0x2a20be=_0x77bd;_0x4bb6f0[_0x2a20be(0x29e)]=_0x578168(te(),bi());}(An,function(_0x24ea01){var _0x3781d5=_0x77bd;return _0x24ea01[_0x3781d5(0x232)][_0x3781d5(0x3c8)]={'pad':function(){},'unpad':function(){}},_0x24ea01[_0x3781d5(0x232)][_0x3781d5(0x3c8)];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x344a5d,_0x1890f8){var _0x5bfecc=_0x2997fa;const _0x40ff45=_0x1890f8-_0x344a5d['length']%_0x1890f8,_0xcadc0e=String[_0x5bfecc(0x26f)](_0x40ff45)[_0x5bfecc(0x1e8)](_0x40ff45);return _0x344a5d+_0xcadc0e;}function xn(_0xe09a0a,_0x1b7c8b){var _0x453e17=_0x2997fa;const _0x5f2d08=Un[_0x453e17(0x3c6)](0x10),_0x2843c0=Ln(_0xe09a0a,0x10),_0x18da0a=In[_0x453e17(0x2d4)](bn[_0x453e17(0x1b2)](_0x2843c0),ii['parse'](_0x1b7c8b),{'iv':_0x5f2d08,'padding':Mn});return _0x5f2d08[_0x453e17(0xf5)](_0x18da0a['ciphertext'])['toString'](ii);}function kn(){var _0xa27715=_0x2997fa;const _0x36a5af=_0x29d109()[_0xa27715(0x133)];if(_0x36a5af){const _0x39c645={'time':Math[_0xa27715(0x260)](Date[_0xa27715(0x1cf)]()/0x3e8),'domain':location[_0xa27715(0x245)]};return xn(JSON[_0xa27715(0x2b8)](_0x39c645),_0x36a5af);}}var $n=Object[_0x2997fa(0x16d)],Hn=(_0x1c5490,_0x5e6497,_0x74954,_0x1cdb4e)=>{for(var _0x404e82=_0x1cdb4e>0x1?void 0x0:_0x1cdb4e?$n(_0x5e6497,_0x74954):_0x5e6497,_0x22dd09=_0x1c5490['length']-0x1,_0x231a6d;_0x22dd09>=0x0;_0x22dd09--)(_0x231a6d=_0x1c5490[_0x22dd09])&&(_0x404e82=_0x231a6d(_0x404e82)||_0x404e82);return _0x404e82;},Bn=(_0x97144f,_0x4cdc1d)=>(_0x1d88d2,_0x4819d4)=>_0x4cdc1d(_0x1d88d2,_0x4819d4,_0x97144f);let at=class{constructor(_0x40a446){var _0x2ca8bb=_0x2997fa;this[_0x2ca8bb(0x294)]=_0x40a446,this[_0x2ca8bb(0x145)]();}[_0x2997fa(0x145)](){var _0x21a9a8=_0x2997fa;this[_0x21a9a8(0x294)]['registerHTTPInterceptor']({'interceptor':(_0x2c8544,_0x398a3b)=>{var _0x9896ba=_0x21a9a8;const _0x2e520f=_0x2c8544[_0x9896ba(0x244)],_0x2a7c95=kn();return _0x2a7c95&&_0x2e520f['set']('x-univer-host',_0x2a7c95),_0x398a3b(_0x2c8544);}});}};at=Hn([Bn(0x0,_0x25e0f9(_0x18c3f2))],at);var jn=Object[_0x2997fa(0x16d)],Fn=(_0x4c16f1,_0xddba13,_0x454bd2,_0x48199e)=>{var _0x148a5c=_0x2997fa;for(var _0x2ebbc6=_0x48199e>0x1?void 0x0:_0x48199e?jn(_0xddba13,_0x454bd2):_0xddba13,_0x54fbc0=_0x4c16f1[_0x148a5c(0x171)]-0x1,_0x519a81;_0x54fbc0>=0x0;_0x54fbc0--)(_0x519a81=_0x4c16f1[_0x54fbc0])&&(_0x2ebbc6=_0x519a81(_0x2ebbc6)||_0x2ebbc6);return _0x2ebbc6;},vt=(_0x42ee04,_0x3fcdb8)=>(_0x207e33,_0x3cbff5)=>_0x3fcdb8(_0x207e33,_0x3cbff5,_0x42ee04);let Ct=class extends _0x3337bf{constructor(_0x4e257f,_0x39b15a,_0x3b5502){var _0x55fad0=_0x2997fa;super(),N(this,_0x55fad0(0x144),new _0x51ff3e(null)),N(this,_0x55fad0(0x2af),this[_0x55fad0(0x144)][_0x55fad0(0x3c9)]()),(this[_0x55fad0(0x174)]=_0x4e257f,this[_0x55fad0(0x142)]=_0x39b15a,this['_localCacheService']=_0x3b5502);}async[_0x2997fa(0x278)](_0xd510ad,_0x4a6d8e,_0x46d4c8){var _0x2a237c=_0x2997fa;this[_0x2a237c(0x144)]['next']({'unitId':_0xd510ad,'type':_0x4a6d8e});let _0x562d3a=null;switch(_0x4a6d8e){case Z[_0x2a237c(0x1f8)]:{_0x562d3a=await this[_0x2a237c(0x142)]['loadSheet'](_0xd510ad,_0x46d4c8);break;}case Z[_0x2a237c(0x2f0)]:{_0x562d3a=await this['_snapshotService'][_0x2a237c(0x2a3)](_0xd510ad,_0x46d4c8);break;}default:{this[_0x2a237c(0x174)][_0x2a237c(0x33e)](_0x2a237c(0x32c),_0x2a237c(0x210));break;}}return _0x562d3a;}async[_0x2997fa(0x3b7)](_0x293baa,_0x27de70,_0x584a14){var _0x4cf0cd=_0x2997fa,_0x2b79f5;this[_0x4cf0cd(0x144)][_0x4cf0cd(0x3cf)]({'unitId':_0x293baa,'type':_0x27de70,'subUnitId':_0x584a14});let _0x5b7300=0x0;const _0x154c01=await((_0x2b79f5=this[_0x4cf0cd(0x11a)])==null?void 0x0:_0x2b79f5[_0x4cf0cd(0x2e7)](_0x293baa));return _0x154c01&&(_0x154c01[_0x4cf0cd(0x396)]||_0x154c01[_0x4cf0cd(0x229)][_0x4cf0cd(0x171)]!==0x0)&&(_0x5b7300=_0x154c01[_0x4cf0cd(0x237)]),_0x5b7300===0x0&&this[_0x4cf0cd(0x174)][_0x4cf0cd(0x20e)](_0x4cf0cd(0x32c),_0x4cf0cd(0x218)),this['loadUnitOfRevision'](_0x293baa,_0x27de70,_0x5b7300);}};Ct=Fn([vt(0x0,_0x770739),vt(0x1,_0x25e0f9(_0x4b6cab)),vt(0x2,_0x43da98(J))],Ct);var Vn=Object[_0x2997fa(0x16d)],Wn=(_0x53c49f,_0x7d3a21,_0x564e82,_0x5bdf9d)=>{for(var _0x3078b9=_0x5bdf9d>0x1?void 0x0:_0x5bdf9d?Vn(_0x7d3a21,_0x564e82):_0x7d3a21,_0x1c2c01=_0x53c49f['length']-0x1,_0x1e028c;_0x1c2c01>=0x0;_0x1c2c01--)(_0x1e028c=_0x53c49f[_0x1c2c01])&&(_0x3078b9=_0x1e028c(_0x3078b9)||_0x3078b9);return _0x3078b9;},pt=(_0x31e2ea,_0x5d7470)=>(_0xdf5143,_0x2ebd35)=>_0x5d7470(_0xdf5143,_0x2ebd35,_0x31e2ea);const Gn=[_0x2997fa(0x3b9),_0x2997fa(0x211),_0x2997fa(0x2cd),_0x2997fa(0x35e),_0x2997fa(0x32b)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x2997fa(0x20f);let Rt=class{constructor(_0x3f47d0,_0x5135db,_0x3d7909){var _0xa89692=_0x2997fa;N(this,_0xa89692(0xee),0x0),N(this,_0xa89692(0x385),new _0x3329c7()),N(this,'change$',this[_0xa89692(0x385)]),N(this,_0xa89692(0x1cd),new Map()),(this[_0xa89692(0x294)]=_0x3f47d0,this['_configService']=_0x5135db,this[_0xa89692(0x3b3)]=_0x3d7909);}[_0x2997fa(0x337)](_0x324658){var _0x3a75d9=_0x2997fa;this[_0x3a75d9(0xee)]=_0x324658,this[_0x3a75d9(0x385)][_0x3a75d9(0x3cf)](_0x324658);}['getImageSourceCache'](_0x92488e,_0x42af48){var _0x4ce800=_0x2997fa;if(_0x42af48===_0x4164ba[_0x4ce800(0x1d5)]){const _0x3b2726=new Image();return _0x3b2726[_0x4ce800(0x2f1)]=_0x92488e,_0x3b2726;}return this[_0x4ce800(0x1cd)][_0x4ce800(0x322)](_0x92488e);}[_0x2997fa(0x3ac)](_0x45dc23,_0x3b3f4d,_0x18848c){var _0x25175d=_0x2997fa;_0x3b3f4d===_0x4164ba[_0x25175d(0x1d5)]||_0x18848c==null||this[_0x25175d(0x1cd)]['set'](_0x45dc23,_0x18848c);}async[_0x2997fa(0x3d7)](_0xc5fe32){var _0x45f692=_0x2997fa;try{const _0x2fbefb=this[_0x45f692(0xe2)](this[_0x45f692(0x35d)](),''+_0xc5fe32),_0x49fe0b=(await this[_0x45f692(0x294)][_0x45f692(0x322)](_0x2fbefb))[_0x45f692(0x2cf)];if(_0x49fe0b[_0x45f692(0x33e)]&&_0x49fe0b[_0x45f692(0x33e)]['code']===vi['OK']){const _0x36e86f=new URL(_0x49fe0b[_0x45f692(0x348)],this[_0x45f692(0x12f)]())[_0x45f692(0x2c4)]();return Promise[_0x45f692(0x2ab)](_0x36e86f);}return Promise['reject'](_0x49fe0b[_0x45f692(0x33e)]);}catch(_0x576633){return Promise['reject'](_0x576633);}}async[_0x2997fa(0x1ae)](_0x256a09){var _0x1fe9d7=_0x2997fa;let _0x2b2c05='';if(!Gn[_0x1fe9d7(0x124)](_0x256a09[_0x1fe9d7(0x241)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4844d6[_0x1fe9d7(0x26a)]));if(_0x256a09[_0x1fe9d7(0xfc)]>Yn)return this[_0x1fe9d7(0x170)](),Promise[_0x1fe9d7(0x2b6)](new Error(_0x4844d6[_0x1fe9d7(0x18c)]));try{const _0xc64704=new FormData();_0xc64704[_0x1fe9d7(0x24d)](_0x1fe9d7(0x194),_0x256a09);const _0x705206=this[_0x1fe9d7(0x3b3)][_0x1fe9d7(0x1c0)](),_0x5771a1=_0x705206==null?void 0x0:_0x705206['getUnitId']();if(!_0x5771a1)throw new Error(_0x1fe9d7(0x1f5));const _0x5a11f5=this['_getUploadFileURL']()+'?size='+_0x256a09['size'][_0x1fe9d7(0x2c4)]()+_0x1fe9d7(0x227)+pi[_0x1fe9d7(0x335)]+_0x1fe9d7(0x307)+encodeURIComponent(_0x5771a1),_0x2b2b65={'body':_0xc64704},_0x72af4d=(await this[_0x1fe9d7(0x294)][_0x1fe9d7(0x111)](_0x5a11f5,_0x2b2b65))[_0x1fe9d7(0x2cf)];if(typeof _0x72af4d[_0x1fe9d7(0xfa)]!='string')return this[_0x1fe9d7(0x170)](),Promise[_0x1fe9d7(0x2b6)](new Error(_0x4844d6['ERROR_IMAGE']));_0x2b2c05=_0x72af4d[_0x1fe9d7(0xfa)];}catch{return this[_0x1fe9d7(0x170)](),Promise[_0x1fe9d7(0x2b6)](new Error(_0x4844d6[_0x1fe9d7(0x1a3)]));}return new Promise((_0x36854a,_0x271ec)=>{var _0x4ca39d=_0x1fe9d7;const _0x446afc=new FileReader();_0x446afc[_0x4ca39d(0x109)](_0x256a09),_0x446afc[_0x4ca39d(0x24f)]=_0x339620=>{var _0x44bdb8=_0x4ca39d,_0x5eee44;const _0x406be2=(_0x5eee44=_0x339620[_0x44bdb8(0x136)])==null?void 0x0:_0x5eee44[_0x44bdb8(0x148)];if(_0x406be2==null){this[_0x44bdb8(0x170)](),_0x271ec(new Error(_0x4844d6[_0x44bdb8(0x1a3)]));return;}const _0x2dc92=_0x2c73ae(0x6);_0x36854a({'imageId':_0x2dc92,'imageSourceType':_0x4164ba[_0x44bdb8(0x36c)],'source':_0x2b2c05,'base64Cache':_0x406be2,'status':_0x4844d6[_0x44bdb8(0x395)]}),this[_0x44bdb8(0x170)]();};});}[_0x2997fa(0x33a)](){var _0x576d6e=_0x2997fa,_0xeb35f3;const _0x2b98b2=this[_0x576d6e(0x323)][_0x576d6e(0x2a0)](K);return(_0xeb35f3=_0x2b98b2==null?void 0x0:_0x2b98b2[_0x576d6e(0x236)])!=null?_0xeb35f3:Kn;}[_0x2997fa(0x35d)](){var _0x354292=_0x2997fa,_0xf2eb91;const _0x44ef45=this['_configService'][_0x354292(0x2a0)](K);return(_0xf2eb91=_0x44ef45==null?void 0x0:_0x44ef45[_0x354292(0x2b3)])!=null?_0xf2eb91:qn;}[_0x2997fa(0x12f)](){var _0x2edd85=_0x2997fa,_0x47886e;const _0x4a635d=this[_0x2edd85(0x323)][_0x2edd85(0x2a0)](K);return(_0x47886e=_0x4a635d==null?void 0x0:_0x4a635d[_0x2edd85(0x2a9)])!=null?_0x47886e:location['origin'];}[_0x2997fa(0xe2)](_0x21787e,_0x1fd21e){return _0x21787e['replace']('{fileID}',_0x1fd21e);}[_0x2997fa(0x170)](){var _0x2de4f0=_0x2997fa;this['_waitCount']-=0x1,this[_0x2de4f0(0x385)][_0x2de4f0(0x3cf)](this[_0x2de4f0(0xee)]);}};Rt=Wn([pt(0x0,_0x25e0f9(_0x18c3f2)),pt(0x1,_0x5a2535),pt(0x2,_0x25e0f9(_0x4ffccd))],Rt);var zn=Object[_0x2997fa(0x16d)],Jn=(_0xffcf6d,_0x2a72d0,_0x622d35,_0x110ddd)=>{var _0x16dc42=_0x2997fa;for(var _0x664901=_0x110ddd>0x1?void 0x0:_0x110ddd?zn(_0x2a72d0,_0x622d35):_0x2a72d0,_0x447736=_0xffcf6d[_0x16dc42(0x171)]-0x1,_0x5574cc;_0x447736>=0x0;_0x447736--)(_0x5574cc=_0xffcf6d[_0x447736])&&(_0x664901=_0x5574cc(_0x664901)||_0x664901);return _0x664901;},ai=(_0x2466da,_0x8be9a)=>(_0x1bb48b,_0xd4311b)=>_0x8be9a(_0x1bb48b,_0xd4311b,_0x2466da);const Xn='/universer-api/authz';let Ot=class{constructor(_0x5e7ab9,_0x5b42ce){var _0x3418dc=_0x2997fa;this[_0x3418dc(0x323)]=_0x5e7ab9,this[_0x3418dc(0x17d)]=_0x5b42ce;}[_0x2997fa(0x10f)](){var _0x1441b6=_0x2997fa,_0x162b43;const _0x219015=this[_0x1441b6(0x323)]['getConfig'](K);return(_0x162b43=_0x219015==null?void 0x0:_0x219015[_0x1441b6(0x139)])!=null?_0x162b43:Xn;}async['list'](_0x1cac48){var _0x1d9136=_0x2997fa;const _0x2267ba=this[_0x1d9136(0x10f)]()+_0x1d9136(0x34c);return{'list':[{'title':_0x1d9136(0x3bd),'mentions':(await this[_0x1d9136(0x17d)][_0x1d9136(0x322)](_0x2267ba,{'params':{'objectID':_0x1cac48['unitId'],'unitID':_0x1cac48['unitId']}}))[_0x1d9136(0x2cf)][_0x1d9136(0x386)][_0x1d9136(0x14b)](_0x3770cc=>({'objectId':_0x3770cc['id'],'name':_0x3770cc[_0x1d9136(0x200)][_0x1d9136(0x114)],'metadata':{'icon':_0x3770cc['subject'][_0x1d9136(0x384)]},'label':_0x3770cc['subject'][_0x1d9136(0x114)],'objectType':_0x4962ce['PERSON']})),'metadata':{},'type':_0x4962ce['PERSON']}]};}};Ot=Jn([ai(0x0,_0x25e0f9(_0x5a2535)),ai(0x1,_0x25e0f9(_0x18c3f2))],Ot);var Zn=Object[_0x2997fa(0x16d)],Qn=(_0x2deb8c,_0x57379e,_0x58a864,_0x1d64a0)=>{var _0x444dd0=_0x2997fa;for(var _0xf581df=_0x1d64a0>0x1?void 0x0:_0x1d64a0?Zn(_0x57379e,_0x58a864):_0x57379e,_0x5a7a01=_0x2deb8c[_0x444dd0(0x171)]-0x1,_0xadd9a1;_0x5a7a01>=0x0;_0x5a7a01--)(_0xadd9a1=_0x2deb8c[_0x5a7a01])&&(_0xf581df=_0xadd9a1(_0xf581df)||_0xf581df);return _0xf581df;},Ae=(_0x2c1587,_0x2d0406)=>(_0x14104d,_0x55faf8)=>_0x2d0406(_0x14104d,_0x55faf8,_0x2c1587);let ot=class extends _0x3337bf{constructor(_0x42a1ac,_0xfff1f6,_0x229883,_0x4f5272,_0x280171){var _0x3f4942=_0x2997fa;super(),this['_injector']=_0x42a1ac,this['_univerInstanceService']=_0xfff1f6,this[_0x3f4942(0x2b7)]=_0x229883,this[_0x3f4942(0x143)]=_0x4f5272,this['_collaborationUIEventService']=_0x280171,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x2997fa(0x22e)](){var _0x520690=_0x2997fa;const _0x3a1c8c=async _0xe1c709=>{var _0x3228a6=_0x77bd;(await this[_0x3228a6(0x143)]['requireSession'](_0xe1c709))[_0x3228a6(0x22d)][_0x3228a6(0x15f)](_0x1b3672(_0x509702=>_0x509702[_0x3228a6(0x2d8)]===_0x2ee2d1[_0x3228a6(0x14a)]),_0x3dfc67(this[_0x3228a6(0xef)]))['subscribe'](_0x488a24=>{var _0x455ade=_0x3228a6;const _0x1b89f4=_0x488a24,{reason:_0x162661}=_0x1b89f4[_0x455ade(0x3a9)];this[_0x455ade(0x15a)][_0x455ade(0x319)]({'id':ne[_0x455ade(0x394)],'data':_0x162661}),this[_0x455ade(0x2b7)]['updatePermissionPoint'](new _0x3ac59f(_0xe1c709)['id'],!0x1),this[_0x455ade(0x143)]['closeSession'](_0xe1c709);});};_0x13131b(this[_0x520690(0x3b3)][_0x520690(0x361)](_0x17fa03[_0x520690(0x1f8)]),this[_0x520690(0x3b3)][_0x520690(0x361)](_0x17fa03[_0x520690(0x2f0)]))[_0x520690(0x15f)](_0x4e0fa6(_0x2f49c2=>_0x2f49c2[_0x520690(0x103)]()),_0x1b3672(_0x1f5f76=>!_0x3600e4(_0x1f5f76)),_0x3dfc67(this['dispose$']))[_0x520690(0x208)](_0x40f870=>{_0x3a1c8c(_0x40f870);});}['_initUnitPermissionChange'](){var _0x129960=_0x2997fa;const _0x134114=async _0x317c99=>{var _0x36ade9=_0x77bd;const _0x24b6e3=await this['_collaborationSessionService'][_0x36ade9(0x358)](_0x317c99),_0x4c1710=this['_injector'][_0x36ade9(0x322)](_0x4ecf47);_0x24b6e3[_0x36ade9(0x22d)][_0x36ade9(0x15f)](_0x1b3672(_0x355026=>_0x355026[_0x36ade9(0x2d8)]===_0x2ee2d1['UPDATE_PERMISSION_OBJ']),_0x3dfc67(this[_0x36ade9(0xef)]))[_0x36ade9(0x208)](_0x4e5b07=>{var _0x5a9354=_0x36ade9;const _0x519839=_0x4e5b07,{objectId:_0x2cdf26}=_0x519839[_0x5a9354(0x3a9)];_0x2cdf26===_0x317c99?_0x4c1710[_0x5a9354(0x35b)](_0x317c99):_0x4c1710[_0x5a9354(0x14e)](_0x317c99,_0x2cdf26);});};_0x13131b(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x17fa03[_0x129960(0x1f8)]))['pipe'](_0x4e0fa6(_0xe14832=>_0xe14832['getUnitId']()),_0x1b3672(_0x4f3bf4=>!_0x3600e4(_0x4f3bf4)),_0x3dfc67(this[_0x129960(0xef)]))['subscribe'](_0x5eb784=>{_0x134114(_0x5eb784);});}};ot=Qn([Ae(0x0,_0x25e0f9(_0x22b07c)),Ae(0x1,_0x4ffccd),Ae(0x2,_0x4037be),Ae(0x3,_0x25e0f9(Me)),Ae(0x4,_0x25e0f9(ve))],ot);var er=Object[_0x2997fa(0x16d)],tr=(_0x3ebdd9,_0x1f8b18,_0x5327f2,_0x767554)=>{var _0x52a2ae=_0x2997fa;for(var _0x2bd92f=_0x767554>0x1?void 0x0:_0x767554?er(_0x1f8b18,_0x5327f2):_0x1f8b18,_0x1a2712=_0x3ebdd9[_0x52a2ae(0x171)]-0x1,_0x35853b;_0x1a2712>=0x0;_0x1a2712--)(_0x35853b=_0x3ebdd9[_0x1a2712])&&(_0x2bd92f=_0x35853b(_0x2bd92f)||_0x2bd92f);return _0x2bd92f;},oi=(_0x25d9d7,_0x2e5198)=>(_0x1a14ba,_0x27a8c4)=>_0x2e5198(_0x1a14ba,_0x27a8c4,_0x25d9d7);let bt=class{constructor(_0x28bd97,_0x737c7b){var _0x3756f3=_0x2997fa;this[_0x3756f3(0x323)]=_0x28bd97,this[_0x3756f3(0x294)]=_0x737c7b;}async['getUnitOnRev'](_0x1c5f11,_0x254514){var _0x5635b2=_0x2997fa,_0x47156d;const {unitID:_0x18a40c,type:_0x2ad403,revision:_0x302f70=0x0}=_0x254514,_0x4a9e8f=this['getSnapshotAPIPath']()+'/'+_0x2ad403+_0x5635b2(0x1da)+_0x18a40c+_0x5635b2(0x231)+_0x302f70,_0xe1ff69=(await this[_0x5635b2(0x294)][_0x5635b2(0x322)](_0x4a9e8f))[_0x5635b2(0x2cf)],_0x54a633=(_0x47156d=_0xe1ff69[_0x5635b2(0x18a)])==null?void 0x0:_0x47156d['workbook'];if(_0x54a633){const _0x3630f9=_0x54a633==null?void 0x0:_0x54a633[_0x5635b2(0x112)],_0x2c84cb=_0x279ec5[_0x5635b2(0x340)](_0x485e8d(_0x3630f9));_0x54a633['originalMeta']=_0x2c84cb,Object['entries'](_0x54a633[_0x5635b2(0x1d8)])[_0x5635b2(0x212)](([,_0x351069])=>{var _0x4a877b=_0x5635b2;const _0x2e94fb=_0x351069[_0x4a877b(0x112)],_0x356cbc=_0x279ec5[_0x4a877b(0x340)](_0x485e8d(_0x2e94fb));_0x351069[_0x4a877b(0x112)]=_0x356cbc;});}return _0xe1ff69;}async[_0x2997fa(0x2cc)](_0xf71abd,_0x34f707){var _0x1b1b04=_0x2997fa;const {unitID:_0x32a793,type:_0x1ae85f,blockID:_0x25e7f7}=_0x34f707,_0x20a534=this[_0x1b1b04(0x152)]()+'/'+_0x1ae85f+_0x1b1b04(0x1da)+_0x32a793+_0x1b1b04(0x105)+_0x25e7f7;return(await this['_httpService']['get'](_0x20a534))[_0x1b1b04(0x2cf)];}async['getDeserializedSheetBlock'](_0x5bee99,_0x14b894){var _0x5105f7=_0x2997fa;const {unitID:_0x577fe2,type:_0x5af9bb,blockID:_0x44f923}=_0x14b894,_0x4fabb6=this[_0x5105f7(0x152)]()+_0x5105f7(0x105)+_0x5af9bb+_0x5105f7(0x1da)+_0x577fe2+_0x5105f7(0x105)+_0x44f923;return(await this['_httpService'][_0x5105f7(0x322)](_0x4fabb6))['body'];}async['fetchMissingChangesets'](_0x3b0364,_0x1cd16e){var _0x158092=_0x2997fa;const {unitID:_0x1fe2d8,type:_0x4891f5,from:_0x357a7b,to:_0x4773d4}=_0x1cd16e,_0x44d900=this[_0x158092(0x152)]()+'/'+_0x4891f5+_0x158092(0x1da)+_0x1fe2d8+'/fetchmissing?from='+_0x357a7b+_0x158092(0x377)+_0x4773d4;return(await this[_0x158092(0x294)]['get'](_0x44d900))['body'];}[_0x2997fa(0x213)](){var _0x16c490=_0x2997fa,_0x3eea40;return(_0x3eea40=this[_0x16c490(0x323)][_0x16c490(0x2a0)](vs))!=null?_0x3eea40:this[_0x16c490(0x152)]();}['_getAPIPrefix'](){var _0x2ab2ae=_0x2997fa,_0x217ee8;const _0x41526a=this[_0x2ab2ae(0x323)]['getConfig'](K);return(_0x217ee8=_0x41526a==null?void 0x0:_0x41526a['snapshotServerUrl'])!=null?_0x217ee8:fs;}async[_0x2997fa(0x1ea)](_0x26d5a7,_0x568f02){var _0x592cfc=_0x2997fa;const _0x273132='/universer-api/snapshot/'+_0x568f02[_0x592cfc(0x241)]+'/unit/'+_0x568f02[_0x592cfc(0x355)]+_0x592cfc(0x202);return(await this[_0x592cfc(0x294)]['get'](_0x273132,{'params':{'resourceId':JSON[_0x592cfc(0x2b8)](_0x568f02['resourceIDs'])}}))[_0x592cfc(0x2cf)];}[_0x2997fa(0x3be)](){var _0x124f67=_0x2997fa;throw new Error(_0x124f67(0x1d2));}['updateSnapshot'](){var _0xec4daa=_0x2997fa;throw new Error(_0xec4daa(0x1d2));}[_0x2997fa(0x254)](){var _0x674c9b=_0x2997fa;throw new Error(_0x674c9b(0x1d2));}[_0x2997fa(0x2f4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2997fa(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2997fa(0x113)](){var _0x36c000=_0x2997fa;throw new Error(_0x36c000(0x1d2));}};bt=tr([oi(0x0,_0x5a2535),oi(0x1,_0x25e0f9(_0x18c3f2))],bt);var ir=Object[_0x2997fa(0x16d)],sr=(_0x524ee6,_0x3e4799,_0x39ab03,_0x1a939f)=>{var _0x4291a6=_0x2997fa;for(var _0x4eb7e1=_0x1a939f>0x1?void 0x0:_0x1a939f?ir(_0x3e4799,_0x39ab03):_0x3e4799,_0x150f4f=_0x524ee6[_0x4291a6(0x171)]-0x1,_0x4d29ce;_0x150f4f>=0x0;_0x150f4f--)(_0x4d29ce=_0x524ee6[_0x150f4f])&&(_0x4eb7e1=_0x4d29ce(_0x4eb7e1)||_0x4eb7e1);return _0x4eb7e1;},we=(_0xb13a70,_0x239bcc)=>(_0xae6e6f,_0x4590bd)=>_0x239bcc(_0xae6e6f,_0x4590bd,_0xb13a70);let yt=class extends _0x49c716{constructor(_0x17d6b1,_0x335d41,_0x49c9da,_0x214d10,_0x3e690c){var _0x1b035f=_0x2997fa;super(_0x17d6b1,_0x335d41,_0x49c9da),this[_0x1b035f(0x2a7)]=_0x214d10,this[_0x1b035f(0x174)]=_0x3e690c;}[_0x2997fa(0x22f)](_0x513922,_0x30705d){var _0x2abbe8=_0x2997fa;const _0x515909=this[_0x2abbe8(0xf0)](_0x513922);if(_0x515909)try{const _0x1d71bb=this['_transformStack'](_0x515909,_0x30705d);this['_substituteUndoStack'](_0x513922,_0x1d71bb);}catch(_0x353cad){this['_logService'][_0x2abbe8(0x33e)](_0x2abbe8(0x38d),_0x353cad),this[_0x2abbe8(0x366)](_0x513922);}const _0x1a6000=this[_0x2abbe8(0x25f)](_0x513922);if(_0x1a6000)try{const _0x3aa9b1=this[_0x2abbe8(0x1c4)](_0x1a6000,_0x30705d);this[_0x2abbe8(0x3a1)](_0x513922,_0x3aa9b1);}catch(_0x73db1f){this[_0x2abbe8(0x174)][_0x2abbe8(0x33e)](_0x73db1f),this['_clearRedo'](_0x513922);}}[_0x2997fa(0x366)](_0x20ef8a){var _0x4fe356=_0x2997fa;const _0x48fb60=this[_0x4fe356(0xf0)](_0x20ef8a);_0x48fb60&&(_0x48fb60[_0x4fe356(0x171)]=0x0,this[_0x4fe356(0x310)]());}[_0x2997fa(0x15e)](_0x4b4aea){const _0x55ab52=this['_getRedoStack'](_0x4b4aea);_0x55ab52&&(_0x55ab52['length']=0x0,this['_updateStatus']());}[_0x2997fa(0x327)](_0x9d3810,_0x505370){var _0x5e23e5=_0x2997fa;this['_undoStacks'][_0x5e23e5(0x388)](_0x9d3810,_0x505370),this[_0x5e23e5(0x310)]();}[_0x2997fa(0x3a1)](_0x4b5fb6,_0xf5549c){var _0x4225cb=_0x2997fa;this[_0x4225cb(0x2b5)][_0x4225cb(0x388)](_0x4b5fb6,_0xf5549c),this[_0x4225cb(0x310)]();}[_0x2997fa(0x1c4)](_0x188a6f,_0x23a101){var _0x187185=_0x2997fa;const _0x5caca4=[];let _0x1bc7ec=_0x23a101,_0x1a2914=_0x23a101;for(let _0x382ae5=_0x188a6f[_0x187185(0x171)]-0x1;_0x382ae5>=0x0;_0x382ae5--){const {unitID:_0x34bff4,undoMutations:_0x53a70f,redoMutations:_0x311d0a}=_0x188a6f[_0x382ae5],_0x4486c3=this[_0x187185(0x2a7)]['transformMutationsWithChangeset'](_0x1bc7ec,_0x53a70f),_0x5becf0=this[_0x187185(0x2a7)][_0x187185(0x12d)](_0x1a2914,_0x311d0a);if(_0x400f8b(_0x4486c3)||_0x400f8b(_0x5becf0)){this['_logService'][_0x187185(0x33e)](_0x187185(0x38d),_0x187185(0x347),_0x4486c3,_0x5becf0);break;}_0x1bc7ec=_0x4486c3[_0x187185(0x315)],_0x1a2914=_0x5becf0['c1Prime'],_0x5caca4[_0x187185(0x129)]({'unitID':_0x34bff4,'undoMutations':_0x4486c3[_0x187185(0x1db)],'redoMutations':_0x5becf0[_0x187185(0x1db)]});}return _0x5caca4[_0x187185(0x341)]();}};yt=sr([we(0x0,_0x4ffccd),we(0x1,_0x353885),we(0x2,_0x829258),we(0x3,_0x275b18),we(0x4,_0x770739)],yt);var nr=Object[_0x2997fa(0x2fe)],rr=Object[_0x2997fa(0x16d)],ar=(_0x3a31b1,_0x9d947d,_0x24dca2)=>_0x9d947d in _0x3a31b1?nr(_0x3a31b1,_0x9d947d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24dca2}):_0x3a31b1[_0x9d947d]=_0x24dca2,or=(_0x1e47df,_0x4510ac,_0x28fff6,_0x10a902)=>{var _0x531058=_0x2997fa;for(var _0x582952=_0x10a902>0x1?void 0x0:_0x10a902?rr(_0x4510ac,_0x28fff6):_0x4510ac,_0x1e463e=_0x1e47df[_0x531058(0x171)]-0x1,_0x5dd54d;_0x1e463e>=0x0;_0x1e463e--)(_0x5dd54d=_0x1e47df[_0x1e463e])&&(_0x582952=_0x5dd54d(_0x582952)||_0x582952);return _0x582952;},mt=(_0x20be28,_0x59f337)=>(_0x47b2a7,_0x4412ee)=>_0x59f337(_0x47b2a7,_0x4412ee,_0x20be28),cr=(_0x2368b9,_0x8dad79,_0x3bd98b)=>ar(_0x2368b9,_0x8dad79+'',_0x3bd98b);const hr=_0x2997fa(0x11b);let Nt=class extends _0x5dfa76{constructor(_0x124f58,_0x51d59c,_0x438eb3,_0x541710){var _0x49b427=_0x2997fa;super(),N(this,'_config'),(this[_0x49b427(0x174)]=_0x51d59c,this[_0x49b427(0x372)]=_0x438eb3,this[_0x49b427(0x323)]=_0x541710);const {..._0x4cd018}=_0x430b26({},Os,_0x124f58);if(!_0x4cd018[_0x49b427(0x134)])throw new Error(_0x49b427(0x1a1));this[_0x49b427(0x21b)]=_0x4cd018,this[_0x49b427(0x323)][_0x49b427(0x330)](K,_0x4cd018);}[_0x2997fa(0x206)](){var _0x24f6d2=_0x2997fa;this[_0x24f6d2(0x30b)](),this['_initDependencies']();}['_registerDependencies'](){var _0x16617f=_0x2997fa,_0x3cdb73,_0x594a04;this[_0x16617f(0x372)]['has'](_0x1728bd)&&this[_0x16617f(0x174)][_0x16617f(0x33e)]('[UniverCollaborationClientPlugin]',_0x16617f(0x137));const _0x515cb2=_0x3312be([[_0x1728bd,{'useClass':yt}],[Me],[Pe],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x16617f(0x21b)][_0x16617f(0x134)]}],[_0x319a49,{'useClass':bt}],[_0x577814,{'useClass':Tt}],[_0x4727d8,{'useClass':Rt}],[_0x548f0c,{'useClass':Ot}],[nt],[It]],(_0x3cdb73=this['_config'])==null?void 0x0:_0x3cdb73[_0x16617f(0x2c6)]);if(!((_0x594a04=this[_0x16617f(0x21b)])!=null&&_0x594a04['enableSingleActiveInstanceLock'])){const _0x2f311b=_0x515cb2[_0x16617f(0x2e1)](([_0xf1df0c])=>_0xf1df0c===ht);_0x2f311b!==-0x1&&_0x515cb2[_0x16617f(0x1a4)](_0x2f311b,0x1);}_0x358ef9(this[_0x16617f(0x372)],_0x515cb2);}[_0x2997fa(0x19b)](){var _0x442531=_0x2997fa,_0x465e25,_0x280cd4,_0x207d43;this['_injector']['get'](_0x18c3f2)[_0x442531(0x1ed)]({'priority':0x14,'interceptor':_0x205e59({'maxParallel':0x6})}),(_0x465e25=this[_0x442531(0x21b)])!=null&&_0x465e25['enableOfflineEditing']||(_0x280cd4=this[_0x442531(0x372)][_0x442531(0x322)](J,_0x646937[_0x442531(0x360)]))==null||_0x280cd4[_0x442531(0x270)](),(_0x207d43=this[_0x442531(0x21b)])!=null&&_0x207d43['enableAuthServer']&&_0x1c20b6(this['_injector'],[[rt]]),_0x1c20b6(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,'pluginName',hr),Nt=or([_0x15f16e(_0x19fe73,_0x1350f3),mt(0x1,_0x770739),mt(0x2,_0x25e0f9(_0x22b07c)),mt(0x3,_0x5a2535)],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,Me as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi 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,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe 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,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|