@univerjs-pro/collaboration-client 0.7.0-beta.0 → 0.7.0-nightly.202504291607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x2c1408=_0x2fd2;(function(_0x49a2b8,_0x3478c7){var _0x48eb10=_0x2fd2,_0x74acfd=_0x49a2b8();while(!![]){try{var _0x2eb692=-parseInt(_0x48eb10(0x1b8))/0x1*(-parseInt(_0x48eb10(0x3a8))/0x2)+parseInt(_0x48eb10(0x227))/0x3+-parseInt(_0x48eb10(0x18c))/0x4+-parseInt(_0x48eb10(0x31b))/0x5*(parseInt(_0x48eb10(0x39b))/0x6)+-parseInt(_0x48eb10(0x147))/0x7*(parseInt(_0x48eb10(0x36f))/0x8)+parseInt(_0x48eb10(0x32f))/0x9+-parseInt(_0x48eb10(0x16b))/0xa*(-parseInt(_0x48eb10(0x370))/0xb);if(_0x2eb692===_0x3478c7)break;else _0x74acfd['push'](_0x74acfd['shift']());}catch(_0x5160a1){_0x74acfd['push'](_0x74acfd['shift']());}}}(_0x1f58,0xbcd70));var wi=Object['defineProperty'],Pi=(_0xfef187,_0x87f6bf,_0x494ca7)=>_0x87f6bf in _0xfef187?wi(_0xfef187,_0x87f6bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x494ca7}):_0xfef187[_0x87f6bf]=_0x494ca7,N=(_0x29f90d,_0x14607f,_0x47cbbe)=>Pi(_0x29f90d,typeof _0x14607f!=_0x2c1408(0x28d)?_0x14607f+'':_0x14607f,_0x47cbbe);import{createIdentifier as _0x1d2c56,Inject as _0x53facb,Injector as _0x29a7fb,IConfigService as _0x40f6f4,ILogService as _0xa8fd8d,Disposable as _0x35312f,DisposableCollection as _0x224929,toDisposable as _0x3354be,IUniverInstanceService as _0x283e25,UserManagerService as _0x3be299,UniverInstanceType as _0x36793f,LocaleService as _0x2678bb,Optional as _0xef1d69,RxDisposable as _0x365189,Tools as _0x342953,Rectangle as _0x1f0a2e,ICommandService as _0xaeb77a,JSONX as _0x23855b,CommandType as _0x59f39b,IUndoRedoService as _0x2276dc,IPermissionService as _0x4bffcb,sequenceExecute as _0x5e248b,Workbook as _0x356935,MentionType as _0x4f3c29,isInternalEditorID as _0x56f3bf,LocalUndoRedoService as _0x19b47f,IContextService as _0x5e880b,DependentOn as _0x1f9dfd,Plugin as _0x4e7edd,merge as _0x520574,mergeOverrideWithDependencies as _0x529a0f,IAuthzIoService as _0x27085e,IMentionIOService as _0x3445cf,registerDependencies as _0x1c319,Quantity as _0x2381b8,touchDependencies as _0x33c5f9}from'@univerjs/core';import{Subject as _0x3997fa,merge as _0x23b7d5,of as _0x3946ee,BehaviorSubject as _0x18351b,takeUntil as _0x4a3fc5,ReplaySubject as _0x2770cb,take as _0x242fd6,map as _0x3b38e2,shareReplay as _0x1af8ff,firstValueFrom as _0x3dc94d,concatMap as _0x539ace}from'rxjs';import{map as _0x63c395,take as _0x15f1bb,filter as _0x2fe085,delay as _0x3ecb70,takeUntil as _0x4f916d}from'rxjs/operators';import{CollaborationEvent as _0x1d6d57,ISnapshotServerService as _0x31e9d1,parseChangesetToProtocol as _0x37db62,ITransformService as _0x1342c3,isTransformMutationsWithChangesetSuccess as _0x491605,mapDocumentTypeToUniverType as _0x1ad41f,RevisionService as _0x43443f,isTransformChangesetsSuccess as _0x5e68dd,CompressMutationService as _0x4a2945,parseProtocolChangeset as _0x3f2bb8,SnapshotService as _0x3b915d,textEncoder as _0x11fd44,b64DecodeUnicode as _0xbf13c7,isTransformMutationsWithChangesetFailure as _0x50a129,UniverCollaborationPlugin as _0x4b0fb3}from'@univerjs-pro/collaboration';import{HTTPService as _0x55ce66,ISocketService as _0x30a19a,MergeInterceptorFactory as _0x596e76,HTTPRequest as _0x2a78c1,UniverNetworkPlugin as _0x1f7a72,ThresholdInterceptorFactory as _0x532ce5}from'@univerjs/network';import{ITelemetryService as _0x3a99bb}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x6873c4}from'@univerjs/docs';import{SheetsSelectionsService as _0x390ffc,SetSelectionsOperation as _0x2857a3,InsertSheetMutation as _0x14f929,EmptyMutation as _0x419fd6,WorkbookEditablePermission as _0xd3dbde,SheetPermissionInitController as _0x147ec5}from'@univerjs/sheets';import{ImageSourceType as _0x67d307,ImageUploadStatusType as _0x5dc859,IImageIoService as _0x1a2051}from'@univerjs/drawing';import{getGlobalObject as _0x5ef480}from'@univerjs-pro/license';const mn=_0x2c1408(0x3ad),gn='/universer-api/snapshot',Sn=_0x2c1408(0x374),Lr=_0x2c1408(0x1e8),En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x2c1408(0x260),xr=_0x2c1408(0x193),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0x2c1408(0x123),yn=0x3,Mr=_0x2c1408(0x205),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x2c1408(0x1a4),Un='LOGIN_URL_KEY',An=_0x2c1408(0xf6),$r=_0x2c1408(0x2e5),Hr=_0x2c1408(0x312);var Si=(_0x58b7cb=>(_0x58b7cb[_0x58b7cb[_0x2c1408(0x1f3)]=0x0]=_0x2c1408(0x1f3),_0x58b7cb[_0x58b7cb['OK']=0x1]='OK',_0x58b7cb[_0x58b7cb['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x58b7cb[_0x58b7cb[_0x2c1408(0x269)]=0x3]=_0x2c1408(0x269),_0x58b7cb[_0x58b7cb[_0x2c1408(0x3ac)]=0x4]=_0x2c1408(0x3ac),_0x58b7cb[_0x58b7cb[_0x2c1408(0xdb)]=0x5]=_0x2c1408(0xdb),_0x58b7cb[_0x58b7cb[_0x2c1408(0x287)]=0x6]=_0x2c1408(0x287),_0x58b7cb[_0x58b7cb[_0x2c1408(0x240)]=0x7]=_0x2c1408(0x240),_0x58b7cb[_0x58b7cb['TOO_MANY_REQUESTS']=0x8]=_0x2c1408(0x28a),_0x58b7cb[_0x58b7cb[_0x2c1408(0x137)]=0x9]=_0x2c1408(0x137),_0x58b7cb[_0x58b7cb[_0x2c1408(0x2e8)]=0xa]='LOGIN_FAILED',_0x58b7cb[_0x58b7cb[_0x2c1408(0x180)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x58b7cb[_0x58b7cb[_0x2c1408(0x2fc)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x58b7cb[_0x58b7cb[_0x2c1408(0x1c5)]=0x1772]=_0x2c1408(0x1c5),_0x58b7cb[_0x58b7cb[_0x2c1408(0x1fd)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x58b7cb[_0x58b7cb[_0x2c1408(0x292)]=0x1b59]=_0x2c1408(0x292),_0x58b7cb[_0x58b7cb[_0x2c1408(0x273)]=0x1b5a]=_0x2c1408(0x273),_0x58b7cb[_0x58b7cb[_0x2c1408(0x1a0)]=0x1b5b]=_0x2c1408(0x1a0),_0x58b7cb[_0x58b7cb[_0x2c1408(0x350)]=0x1b5c]=_0x2c1408(0x350),_0x58b7cb[_0x58b7cb[_0x2c1408(0x35e)]=0x1b5d]=_0x2c1408(0x35e),_0x58b7cb[_0x58b7cb[_0x2c1408(0x341)]=0x1f41]=_0x2c1408(0x341),_0x58b7cb[_0x58b7cb[_0x2c1408(0x1b3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x58b7cb[_0x58b7cb[_0x2c1408(0x30e)]=0x232a]=_0x2c1408(0x30e),_0x58b7cb[_0x58b7cb[_0x2c1408(0x11f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x58b7cb[_0x58b7cb[_0x2c1408(0x343)]=0x232c]=_0x2c1408(0x343),_0x58b7cb[_0x58b7cb[_0x2c1408(0x1d4)]=0x232d]=_0x2c1408(0x1d4),_0x58b7cb[_0x58b7cb[_0x2c1408(0x327)]=0x2711]=_0x2c1408(0x327),_0x58b7cb[_0x58b7cb['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2c1408(0x371),_0x58b7cb[_0x58b7cb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2c1408(0x2b5),_0x58b7cb[_0x58b7cb[_0x2c1408(0x217)]=0x2714]=_0x2c1408(0x217),_0x58b7cb[_0x58b7cb[_0x2c1408(0x26a)]=0x271a]=_0x2c1408(0x26a),_0x58b7cb[_0x58b7cb['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2c1408(0x305),_0x58b7cb[_0x58b7cb[_0x2c1408(0x27d)]=0x2af9]=_0x2c1408(0x27d),_0x58b7cb[_0x58b7cb[_0x2c1408(0x131)]=0x2ee1]=_0x2c1408(0x131),_0x58b7cb[_0x58b7cb[_0x2c1408(0x2e9)]=0x2ee2]=_0x2c1408(0x2e9),_0x58b7cb[_0x58b7cb[_0x2c1408(0x320)]=0x2ee3]=_0x2c1408(0x320),_0x58b7cb[_0x58b7cb[_0x2c1408(0x2d4)]=0x2ee4]=_0x2c1408(0x2d4),_0x58b7cb[_0x58b7cb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2c1408(0x230),_0x58b7cb[_0x58b7cb['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x58b7cb[_0x58b7cb['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x58b7cb[_0x58b7cb['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2c1408(0x3b9),_0x58b7cb[_0x58b7cb[_0x2c1408(0x237)]=-0x1]='UNRECOGNIZED',_0x58b7cb))(Si||{}),Q=(_0x361e34=>(_0x361e34[_0x361e34[_0x2c1408(0x18f)]=0x0]=_0x2c1408(0x18f),_0x361e34[_0x361e34[_0x2c1408(0x18d)]=0x1]=_0x2c1408(0x18d),_0x361e34[_0x361e34[_0x2c1408(0x170)]=0x2]=_0x2c1408(0x170),_0x361e34[_0x361e34[_0x2c1408(0x275)]=0x3]=_0x2c1408(0x275),_0x361e34[_0x361e34[_0x2c1408(0x348)]=0x4]=_0x2c1408(0x348),_0x361e34[_0x361e34[_0x2c1408(0x237)]=-0x1]=_0x2c1408(0x237),_0x361e34))(Q||{}),F=(_0xc136f7=>(_0xc136f7[_0xc136f7['UNKNOWN_CMD']=0x0]=_0x2c1408(0x322),_0xc136f7[_0xc136f7[_0x2c1408(0x30b)]=0x1]=_0x2c1408(0x30b),_0xc136f7[_0xc136f7[_0x2c1408(0x200)]=0x2]='JOIN',_0xc136f7[_0xc136f7[_0x2c1408(0x2fe)]=0x3]='LEAVE',_0xc136f7[_0xc136f7[_0x2c1408(0x1f5)]=0x4]='INGEST',_0xc136f7[_0xc136f7[_0x2c1408(0x1a2)]=0x5]=_0x2c1408(0x1a2),_0xc136f7[_0xc136f7[_0x2c1408(0x222)]=0x6]=_0x2c1408(0x222),_0xc136f7[_0xc136f7['UNRECOGNIZED']=-0x1]=_0x2c1408(0x237),_0xc136f7))(F||{}),ge=(_0x2788be=>(_0x2788be[_0x2788be[_0x2c1408(0x129)]=0x0]=_0x2c1408(0x129),_0x2788be[_0x2788be['OK']=0x1]='OK',_0x2788be[_0x2788be[_0x2c1408(0x14f)]=0x2]='FAIL',_0x2788be[_0x2788be[_0x2c1408(0x1cc)]=0x3e9]='JOIN_ROOM_FULL',_0x2788be[_0x2788be[_0x2c1408(0x351)]=0x3ea]=_0x2c1408(0x351),_0x2788be[_0x2788be[_0x2c1408(0x344)]=0x3eb]=_0x2c1408(0x344),_0x2788be[_0x2788be[_0x2c1408(0xe7)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2788be[_0x2788be[_0x2c1408(0x237)]=-0x1]='UNRECOGNIZED',_0x2788be))(ge||{}),Ei=(_0x5ba9e7=>(_0x5ba9e7[_0x5ba9e7[_0x2c1408(0x2a1)]=0x0]=_0x2c1408(0x2a1),_0x5ba9e7[_0x5ba9e7[_0x2c1408(0x324)]=0x1]=_0x2c1408(0x324),_0x5ba9e7[_0x5ba9e7[_0x2c1408(0x1fb)]=0x2]=_0x2c1408(0x1fb),_0x5ba9e7[_0x5ba9e7[_0x2c1408(0x1de)]=0x3]='UnitEmbedded',_0x5ba9e7[_0x5ba9e7['UnitSnapshot']=0x4]=_0x2c1408(0x265),_0x5ba9e7[_0x5ba9e7[_0x2c1408(0x3c3)]=0x5]=_0x2c1408(0x3c3),_0x5ba9e7[_0x5ba9e7[_0x2c1408(0x237)]=-0x1]='UNRECOGNIZED',_0x5ba9e7))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x36ecc5=>(_0x36ecc5[_0x2c1408(0x266)]=_0x2c1408(0x266),_0x36ecc5[_0x2c1408(0x269)]='PERMISSION_DENIED',_0x36ecc5[_0x2c1408(0x2f6)]=_0x2c1408(0x2f6),_0x36ecc5[_0x2c1408(0x226)]='CLOSE_ROOM',_0x36ecc5['JOIN_ROOM_FAILED']=_0x2c1408(0x2c2),_0x36ecc5['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x36ecc5[_0x2c1408(0x395)]=_0x2c1408(0x395),_0x36ecc5[_0x2c1408(0x384)]=_0x2c1408(0x384),_0x36ecc5))(re||{});class pe{constructor(){var _0x395e0c=_0x2c1408;N(this,'_event$',new _0x3997fa()),N(this,_0x395e0c(0x32e),this['_event$'][_0x395e0c(0xf7)]());}['emitEvent'](_0x12d304){var _0x143e3c=_0x2c1408;this[_0x143e3c(0x1e7)][_0x143e3c(0x1b2)](_0x12d304);}}const Pn=_0x1d2c56(_0x2c1408(0x211));function Ln(_0x1647b1){var _0x1bfe76=_0x2c1408,_0x7afe7c,_0x4f0c89,_0xa25123,_0x4593db,_0xbdf366;const _0x8e5a54=_0x1647b1[_0x1bfe76(0x1fe)],_0x4a077f=JSON[_0x1bfe76(0x353)](_0x8e5a54);switch(_0x4a077f[_0x1bfe76(0x26f)]){case F[_0x1bfe76(0x1a2)]:case F['HELLO']:{const _0x98c929=_0x4a077f[_0x1bfe76(0xe3)];return{..._0x4a077f,'data':_0x98c929,'cmd':_0x4a077f[_0x1bfe76(0x26f)]};}case F[_0x1bfe76(0x200)]:{const _0x23ef7a=_0x4a077f[_0x1bfe76(0x191)];return{..._0x4a077f,'data':_0x23ef7a,'cmd':_0x4a077f[_0x1bfe76(0x26f)]};}case F['RECV']:{const _0x1c6eb8=_0x4a077f[_0x1bfe76(0x255)];switch(_0x1c6eb8[_0x1bfe76(0x1c2)]){case _0x1d6d57[_0x1bfe76(0x1c8)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':(_0x7afe7c=_0x1c6eb8[_0x1bfe76(0x16c)])==null?void 0x0:_0x7afe7c['cs']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0xcd)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':(_0x4f0c89=_0x1c6eb8[_0x1bfe76(0x119)])==null?void 0x0:_0x4f0c89['cs']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x16a)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':(_0xa25123=_0x1c6eb8[_0x1bfe76(0x3be)])==null?void 0x0:_0xa25123['cs']},'cmd':_0x4a077f['cmd']};case _0x1d6d57[_0x1bfe76(0x2c3)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':(_0x4593db=_0x1c6eb8[_0x1bfe76(0x124)])==null?void 0x0:_0x4593db['cs']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x27f)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':(_0xbdf366=_0x1c6eb8[_0x1bfe76(0x32b)])==null?void 0x0:_0xbdf366['cs']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x153)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8[_0x1bfe76(0x34c)]},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x218)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8[_0x1bfe76(0x19c)]},'cmd':_0x4a077f['cmd']};case _0x1d6d57[_0x1bfe76(0xe5)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8[_0x1bfe76(0x1f2)]},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57['LIVESHARE_NEW_HOST']:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8['liveShareNewHost']},'cmd':_0x4a077f['cmd']};case _0x1d6d57['LIVESHARE_FETCH_OPERATIONS']:case _0x1d6d57['LIVESHARE_OPERATION']:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8['liveShareOperation']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x301)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8[_0x1bfe76(0x3b0)]},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x380)]:return{..._0x4a077f,'data':_0x1c6eb8,'cmd':_0x4a077f['cmd']};case _0x1d6d57[_0x1bfe76(0x184)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8['commentUpdateEvent']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57['UPDATE_PERMISSION_OBJ']:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8['updatePermissionObjEvent']},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};case _0x1d6d57[_0x1bfe76(0x2e4)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8['shouldCloseConn']},'cmd':_0x4a077f['cmd']};case _0x1d6d57[_0x1bfe76(0x34f)]:return{..._0x4a077f,'data':{..._0x1c6eb8,'data':_0x1c6eb8[_0x1bfe76(0x1ea)]},'cmd':_0x4a077f[_0x1bfe76(0x26f)]};default:return _0x4a077f;}}default:return _0x4a077f;}}function xn(_0x504af2){var _0x1b01f4=_0x2c1408;switch(_0x504af2[_0x1b01f4(0x26f)]){case F[_0x1b01f4(0x1a2)]:case F[_0x1b01f4(0x30b)]:return JSON[_0x1b01f4(0x114)]({'cmd':_0x504af2[_0x1b01f4(0x26f)],'routeKey':_0x504af2[_0x1b01f4(0x1c3)]});case F[_0x1b01f4(0x1f5)]:{let _0x38c79d;switch(_0x504af2[_0x1b01f4(0x1fe)][_0x1b01f4(0x1c2)]){case _0x1d6d57[_0x1b01f4(0x153)]:{_0x38c79d={'eventID':_0x1d6d57['UPDATE_CURSOR'],'updateCursorEvent':_0x504af2[_0x1b01f4(0x1fe)][_0x1b01f4(0x1fe)]};break;}case _0x1d6d57[_0x1b01f4(0xe5)]:{_0x38c79d={'eventID':_0x1d6d57[_0x1b01f4(0xe5)],'leaveEvent':_0x504af2['data'][_0x1b01f4(0x1fe)]};break;}case _0x1d6d57['USERS_ENTER']:{_0x38c79d={'eventID':_0x1d6d57[_0x1b01f4(0x218)],'joinEvent':_0x504af2[_0x1b01f4(0x1fe)][_0x1b01f4(0x1fe)]};break;}case _0x1d6d57[_0x1b01f4(0x379)]:{_0x38c79d={'eventID':_0x1d6d57[_0x1b01f4(0x379)],'liveShareNewHost':_0x504af2[_0x1b01f4(0x1fe)]['data']};break;}case _0x1d6d57[_0x1b01f4(0x2cb)]:{_0x38c79d={'eventID':_0x1d6d57[_0x1b01f4(0x2cb)],'liveShareOperation':_0x504af2[_0x1b01f4(0x1fe)][_0x1b01f4(0x1fe)]};break;}case _0x1d6d57[_0x1b01f4(0x301)]:{_0x38c79d={'eventID':_0x1d6d57['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x504af2[_0x1b01f4(0x1fe)]['data']};break;}case _0x1d6d57[_0x1b01f4(0x1ee)]:{_0x38c79d={'eventID':_0x1d6d57[_0x1b01f4(0x1ee)],'liveShareRequestHost':_0x504af2[_0x1b01f4(0x1fe)][_0x1b01f4(0x1fe)]};break;}case _0x1d6d57['LIVESHARE_FETCH_OPERATIONS']:{_0x38c79d={'eventID':_0x1d6d57[_0x1b01f4(0x2b7)]};break;}default:_0x38c79d={'eventID':_0x504af2['data'][_0x1b01f4(0x1c2)]};}return JSON[_0x1b01f4(0x114)]({'cmd':_0x504af2[_0x1b01f4(0x26f)],'routeKey':_0x504af2[_0x1b01f4(0x1c3)],'collaMsg':_0x38c79d});}case F[_0x1b01f4(0x200)]:return JSON['stringify']({'cmd':_0x504af2[_0x1b01f4(0x26f)],'routeKey':_0x504af2[_0x1b01f4(0x1c3)],'joinReq':_0x504af2[_0x1b01f4(0x1fe)]});case F[_0x1b01f4(0x2fe)]:return JSON['stringify']({'cmd':_0x504af2[_0x1b01f4(0x26f)],'routeKey':_0x504af2['routeKey'],'leaveReq':_0x504af2[_0x1b01f4(0x1fe)]});default:throw new Error(_0x1b01f4(0x38d));}}var Mn=Object[_0x2c1408(0x20c)],kn=(_0x3a487b,_0x179cba,_0x500c5b,_0x3f0074)=>{var _0x949a6f=_0x2c1408;for(var _0x272c6c=_0x3f0074>0x1?void 0x0:_0x3f0074?Mn(_0x179cba,_0x500c5b):_0x179cba,_0x43fd62=_0x3a487b[_0x949a6f(0x390)]-0x1,_0x5ff04a;_0x43fd62>=0x0;_0x43fd62--)(_0x5ff04a=_0x3a487b[_0x43fd62])&&(_0x272c6c=_0x5ff04a(_0x272c6c)||_0x272c6c);return _0x272c6c;},Ae=(_0x2d4780,_0x970880)=>(_0x48acf4,_0x3de602)=>_0x970880(_0x48acf4,_0x3de602,_0x2d4780);const Ii=_0x1d2c56(_0x2c1408(0x16f));function $n(_0x445df0,_0x3bf997,_0x1f01c1){var _0x5c14f1=_0x2c1408;return _0x445df0+'/'+_0x3bf997+_0x5c14f1(0x1bf)+_0x1f01c1+_0x5c14f1(0x23d);}let Gt=class extends _0x35312f{constructor(_0x4d3b73,_0x5b10e8,_0x1f6bc8,_0x41d173,_0x5233e6){var _0x1458c5=_0x2c1408;super(),this[_0x1458c5(0x29c)]=_0x4d3b73,this['_httpService']=_0x5b10e8,this[_0x1458c5(0x2f7)]=_0x1f6bc8,this[_0x1458c5(0x2f9)]=_0x41d173,this[_0x1458c5(0x14a)]=_0x5233e6;}['_doCreateSocket'](_0x55e2aa){var _0x1d416a=_0x2c1408;const _0x11f38e=this[_0x1d416a(0x29c)][_0x1d416a(0x1d6)](_0x30a19a);if(!_0x11f38e)throw new Error(_0x1d416a(0x2d2));const _0x4c06e0=_0x11f38e[_0x1d416a(0xca)](_0x55e2aa);if(!_0x4c06e0)throw new Error(_0x1d416a(0x102));const _0x1da351=new _0x224929(),_0x3b2725=new _0x3997fa();_0x1da351[_0x1d416a(0x164)](_0x4c06e0[_0x1d416a(0x2ef)]['subscribe'](_0x3f672e=>_0x3b2725[_0x1d416a(0x1b2)](_0x3f672e))),_0x1da351[_0x1d416a(0x164)](_0x3354be(()=>_0x3b2725['complete']()));const _0x33d2fd=new _0x3997fa();_0x1da351[_0x1d416a(0x164)](_0x4c06e0[_0x1d416a(0x398)][_0x1d416a(0x15d)](_0x13931d=>_0x33d2fd[_0x1d416a(0x1b2)](_0x13931d))),_0x1da351[_0x1d416a(0x164)](_0x3354be(()=>_0x33d2fd[_0x1d416a(0x1d5)]()));const _0x4dc43f=new _0x3997fa();_0x1da351[_0x1d416a(0x164)](_0x4c06e0['message$'][_0x1d416a(0x15d)](_0x5bad43=>{var _0x130c6d=_0x1d416a;const _0x475cfd=Ln(_0x5bad43);_0x4dc43f[_0x130c6d(0x1b2)](_0x475cfd);})),_0x1da351['add'](_0x3354be(()=>_0x4dc43f['complete']()));let _0x25a57b;const _0x1418a0=()=>{var _0x172a1=_0x1d416a;_0x33d2fd['next'](new Event(_0x172a1(0x169))),_0x3b2725[_0x172a1(0x1b2)](new Event(_0x172a1(0x169))),_0x25a57b['close']();};return _0x25a57b={'memberID':'','close$':_0x3b2725[_0x1d416a(0xf7)](),'error$':_0x33d2fd[_0x1d416a(0xf7)](),'open$':_0x4c06e0[_0x1d416a(0x2a2)],'message$':_0x4dc43f[_0x1d416a(0xf7)](),'send':_0x287f64=>{var _0x41e840=_0x1d416a;if(_0x287f64[_0x41e840(0x26f)]===F[_0x41e840(0x1f5)]){if(_0x287f64['data']['eventID']===_0x1d6d57['SUBMIT_CHANGESET']){this[_0x41e840(0x365)](_0x25a57b,_0x287f64[_0x41e840(0x1fe)])[_0x41e840(0x373)](_0x23cf56=>{var _0x495691=_0x41e840;this[_0x495691(0x2f9)][_0x495691(0x2f4)](_0x23cf56),_0x1418a0();});return;}if(_0x287f64['data'][_0x41e840(0x1c2)]===_0x1d6d57['FETCH_MISSING']){const _0x5e16b5=_0x287f64[_0x41e840(0x1fe)];this[_0x41e840(0x1ca)](_0x5e16b5)['then'](_0x4e94a4=>{var _0x149b66=_0x41e840;_0x4dc43f['next']({'cmd':F[_0x149b66(0x222)],'code':ge['OK'],'routeKey':_0x5e16b5[_0x149b66(0x1fe)][_0x149b66(0x2b6)],'routeType':'','data':{'eventID':_0x1d6d57['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4e94a4}}});})[_0x41e840(0x373)](_0x359d26=>{var _0x78e2d5=_0x41e840;this[_0x78e2d5(0x2f9)][_0x78e2d5(0x2f4)](_0x359d26),_0x1418a0();});return;}}_0x4c06e0[_0x41e840(0xf2)](xn(_0x287f64));},'close':()=>{var _0xc9cc95=_0x1d416a;_0x4c06e0[_0xc9cc95(0x35d)](),_0x1da351[_0xc9cc95(0x2bb)]();}},_0x25a57b;}async[_0x2c1408(0x365)](_0x42e765,_0x473a55){var _0x37cf37=_0x2c1408,_0x52139d,_0x103f25;const {unitType:_0x40220c,unitID:_0xb5117c,changeset:_0x19f280}=_0x473a55[_0x37cf37(0x1fe)],_0x1a970b={'unitID':_0xb5117c,'memberID':_0x42e765[_0x37cf37(0xd5)],'type':_0x40220c,'changeset':_0x37db62(_0x19f280)},_0x4c9b1e=this['_configService'][_0x37cf37(0x24c)](Nn),_0x249c19=this[_0x37cf37(0x2f7)][_0x37cf37(0x24c)](q),_0x434896=$n((_0x103f25=(_0x52139d=_0x249c19==null?void 0x0:_0x249c19[_0x37cf37(0x1e5)])!=null?_0x52139d:_0x4c9b1e)!=null?_0x103f25:Dn,_0x40220c,_0xb5117c);try{await this[_0x37cf37(0x2ba)][_0x37cf37(0x19e)](_0x434896,{'body':_0x1a970b});}catch(_0xb831c9){throw this[_0x37cf37(0x2f9)]['error'](_0x37cf37(0x39d),_0x37cf37(0x176)),_0xb831c9;}}async[_0x2c1408(0x1ca)](_0x5f12be){var _0x8341e2=_0x2c1408;const {unitID:_0xf12cec,from:_0x2c399f,to:_0xfca1e8,unitType:_0x36fefc}=_0x5f12be[_0x8341e2(0x1fe)];return(await this[_0x8341e2(0x14a)][_0x8341e2(0x2fa)]({'metadata':void 0x0},{'unitID':_0xf12cec,'type':_0x36fefc,'from':_0x2c399f,'to':_0xfca1e8}))['changesets'];}};Gt=kn([Ae(0x0,_0x53facb(_0x29a7fb)),Ae(0x1,_0x53facb(_0x55ce66)),Ae(0x2,_0x40f6f4),Ae(0x3,_0xa8fd8d),Ae(0x4,_0x31e9d1)],Gt);const Hn=_0x2c1408(0x17f);function Bn(_0x181c83){var _0x2bfd28=_0x2c1408;return JSON[_0x2bfd28(0x114)](_0x181c83)[_0x2bfd28(0x390)];}class Ti{constructor(){var _0xea5851=_0x2c1408;N(this,_0xea5851(0x108),new _0x3997fa()),N(this,_0xea5851(0x23f),this['_commentUpdate$'][_0xea5851(0xf7)]());}[_0x2c1408(0x254)](_0x107b86){var _0x5f1418=_0x2c1408;this[_0x5f1418(0x108)][_0x5f1418(0x1b2)](_0x107b86);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3b9a97,_0x180b88,_0x2ae777,_0x3ad867)=>{for(var _0x169bb0=_0x3ad867>0x1?void 0x0:_0x3ad867?jn(_0x180b88,_0x2ae777):_0x180b88,_0x2ede95=_0x3b9a97['length']-0x1,_0x5adf41;_0x2ede95>=0x0;_0x2ede95--)(_0x5adf41=_0x3b9a97[_0x2ede95])&&(_0x169bb0=_0x5adf41(_0x169bb0)||_0x169bb0);return _0x169bb0;},Wt=(_0x1bd8af,_0x231b1d)=>(_0x3af45a,_0x20322c)=>_0x231b1d(_0x3af45a,_0x20322c,_0x1bd8af);let Le=class extends _0x35312f{constructor(_0x418307,_0x31c695){var _0x50ed98=_0x2c1408;super(),N(this,_0x50ed98(0x296),new Map()),N(this,'_roomCreated$',new _0x3997fa()),(this[_0x50ed98(0x167)]=_0x418307,this[_0x50ed98(0x10c)]=_0x31c695,this['disposeWithMe'](_0x23b7d5(this[_0x50ed98(0x167)][_0x50ed98(0xfe)](_0x36793f[_0x50ed98(0x170)])['pipe'](_0x63c395(_0x480304=>_0x480304[_0x50ed98(0xce)]())),this[_0x50ed98(0x167)][_0x50ed98(0xfe)](_0x36793f[_0x50ed98(0x18d)])[_0x50ed98(0x17a)](_0x63c395(_0xe7142b=>_0xe7142b[_0x50ed98(0xce)]())),this[_0x50ed98(0x167)][_0x50ed98(0xfe)](_0x36793f[_0x50ed98(0x275)])[_0x50ed98(0x17a)](_0x63c395(_0xba337d=>_0xba337d[_0x50ed98(0xce)]())))[_0x50ed98(0x15d)](_0x374ec2=>this[_0x50ed98(0x386)](_0x374ec2))));}[_0x2c1408(0x2e6)](_0x240e28){var _0x14c7e1=_0x2c1408;return this['_roomMembers'][_0x14c7e1(0x3b1)](_0x240e28)?_0x3946ee(this[_0x14c7e1(0x296)][_0x14c7e1(0x1d6)](_0x240e28)):this[_0x14c7e1(0x33d)]['pipe'](_0x63c395(_0x46f309=>{var _0x41d64d=_0x14c7e1;if(_0x46f309===_0x240e28)return this['_roomMembers'][_0x41d64d(0x1d6)](_0x46f309);}));}[_0x2c1408(0x342)](_0x5d0c77){var _0x3b40d2=_0x2c1408;this['_userManagerService'][_0x3b40d2(0x342)](_0x5d0c77);}[_0x2c1408(0x1c1)](){var _0x123b9f=_0x2c1408;return this[_0x123b9f(0x10c)][_0x123b9f(0x1c1)]();}[_0x2c1408(0x3b2)](_0x3927b1,_0x40c9da){var _0x36137f=_0x2c1408;let _0x4befea=this[_0x36137f(0x296)]['get'](_0x3927b1);_0x4befea||(_0x4befea=new Vn(),this[_0x36137f(0x296)][_0x36137f(0x1dc)](_0x3927b1,_0x4befea),this[_0x36137f(0x33d)][_0x36137f(0x1b2)](_0x3927b1)),_0x4befea[_0x36137f(0x3b2)](_0x40c9da);}[_0x2c1408(0x1e0)](_0x39a304,_0x57c351){var _0x3d6cae=_0x2c1408;const _0xcf157d=this[_0x3d6cae(0x296)]['get'](_0x39a304);_0xcf157d&&_0xcf157d[_0x3d6cae(0x1e0)](_0x57c351);}[_0x2c1408(0x2ad)](_0x1d9d77){var _0x2368ec=_0x2c1408;return this[_0x2368ec(0x296)][_0x2368ec(0x1d6)](_0x1d9d77);}[_0x2c1408(0x3a3)](_0x2e5ea2,_0x413dac){var _0x527252=_0x2c1408;const _0x1f450b=this['_roomMembers'][_0x527252(0x1d6)](_0x2e5ea2);if(_0x1f450b)return _0x1f450b[_0x527252(0x3a3)](_0x413dac);}[_0x2c1408(0x386)](_0x16885e){var _0x34606f=_0x2c1408;const _0x1bd653=this[_0x34606f(0x296)]['get'](_0x16885e);_0x1bd653&&(_0x1bd653['dispose'](),this[_0x34606f(0x296)][_0x34606f(0x2d5)](_0x16885e));}[_0x2c1408(0x2bb)](){var _0x2de455=_0x2c1408;this['_roomMembers']['forEach'](_0x42638c=>_0x42638c['dispose']()),this[_0x2de455(0x296)][_0x2de455(0x304)](),this['_roomCreated$'][_0x2de455(0x1d5)]();}};Le=Fn([Wt(0x0,_0x283e25),Wt(0x1,_0x53facb(_0x3be299))],Le);class Vn extends _0x35312f{constructor(){var _0x113040=_0x2c1408;super(...arguments),N(this,_0x113040(0x134),new Map()),N(this,_0x113040(0x1e1),new _0x18351b(this[_0x113040(0x134)])),N(this,_0x113040(0x179),this[_0x113040(0x1e1)]['asObservable']());}[_0x2c1408(0x2bb)](){var _0x1bbffd=_0x2c1408;this['_members'][_0x1bbffd(0x304)]();}[_0x2c1408(0x3b2)](_0x144326){var _0x9b8d5e=_0x2c1408;this['_members']['set'](_0x144326[_0x9b8d5e(0xd5)],_0x144326),this['_emitMembers']();}[_0x2c1408(0x1e0)](_0x453ac5){var _0x377d88=_0x2c1408;this[_0x377d88(0x134)][_0x377d88(0x2d5)](_0x453ac5);}[_0x2c1408(0x3a3)](_0x12ff87){var _0x59b4f6=_0x2c1408;return this[_0x59b4f6(0x134)][_0x59b4f6(0x1d6)](_0x12ff87);}[_0x2c1408(0x2d6)](){var _0x6b4f2b=_0x2c1408;return Array['from'](this[_0x6b4f2b(0x134)][_0x6b4f2b(0x369)]());}[_0x2c1408(0x187)](){var _0x12fb69=_0x2c1408;this[_0x12fb69(0x1e1)]['next'](this[_0x12fb69(0x134)]);}}var Gn=Object[_0x2c1408(0x20c)],Wn=(_0x2d0496,_0x3bae15,_0x2adc7f,_0x2ed0ca)=>{var _0x2b38a5=_0x2c1408;for(var _0x4f37bb=_0x2ed0ca>0x1?void 0x0:_0x2ed0ca?Gn(_0x3bae15,_0x2adc7f):_0x3bae15,_0x44971e=_0x2d0496[_0x2b38a5(0x390)]-0x1,_0xf632ff;_0x44971e>=0x0;_0x44971e--)(_0xf632ff=_0x2d0496[_0x44971e])&&(_0x4f37bb=_0xf632ff(_0x4f37bb)||_0x4f37bb);return _0x4f37bb;},me=(_0x5e974c,_0x2f25c7)=>(_0x2c1f51,_0x27b4dd)=>_0x2f25c7(_0x2c1f51,_0x27b4dd,_0x5e974c),Ee=(_0x8c56fe=>(_0x8c56fe[_0x8c56fe[_0x2c1408(0x337)]=0x0]='IDLE',_0x8c56fe[_0x8c56fe[_0x2c1408(0x377)]=0x1]=_0x2c1408(0x377),_0x8c56fe[_0x8c56fe[_0x2c1408(0x396)]=0x2]=_0x2c1408(0x396),_0x8c56fe[_0x8c56fe[_0x2c1408(0x234)]=0x3]=_0x2c1408(0x234),_0x8c56fe))(Ee||{});const Kt={[ge[_0x2c1408(0x14f)]]:_0x2c1408(0x2c8),[ge[_0x2c1408(0x1cc)]]:_0x2c1408(0x393),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x2c1408(0x18b),[ge['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Et=class extends _0x365189{constructor(_0x23c140,_0x58be51,_0x3d0945,_0x597e59,_0x1a74ed,_0x53013c,_0x4e312a,_0x423eb0,_0xbb23c8){var _0x3f43b0=_0x2c1408;super(),N(this,_0x3f43b0(0x178),new _0x18351b(0x0)),N(this,_0x3f43b0(0x38b),this[_0x3f43b0(0x178)][_0x3f43b0(0xf7)]()),N(this,_0x3f43b0(0x1e7),new _0x3997fa()),N(this,_0x3f43b0(0x32e),this[_0x3f43b0(0x1e7)]['asObservable']()),N(this,_0x3f43b0(0x1a9)),N(this,'_socketMessageSubscription'),N(this,_0x3f43b0(0x2a3)),N(this,_0x3f43b0(0x3bb),!0x1),N(this,'_telemetryInfo',null),(this[_0x3f43b0(0x272)]=_0x23c140,this['_logService']=_0x3d0945,this[_0x3f43b0(0x2f7)]=_0x597e59,this[_0x3f43b0(0x3c4)]=_0x1a74ed,this[_0x3f43b0(0x2f8)]=_0x53013c,this[_0x3f43b0(0x2d8)]=_0x4e312a,this[_0x3f43b0(0x309)]=_0x423eb0,this[_0x3f43b0(0xec)]=_0xbb23c8,this['_shouldReportTelemetry']=!!this[_0x3f43b0(0xec)],_0x58be51[_0x3f43b0(0x17a)](_0x4a3fc5(this[_0x3f43b0(0x328)]))[_0x3f43b0(0x15d)](_0x5dfd38=>{var _0x296b47=_0x3f43b0,_0x1a4176;typeof _0x5dfd38>'u'||(this[_0x296b47(0x1a9)]=_0x5dfd38,_0x5dfd38?(this['_joinRoom'](_0x5dfd38),this[_0x296b47(0x228)]=_0x5dfd38[_0x296b47(0x2a9)][_0x296b47(0x15d)](_0x14aaf8=>{var _0x104a6c=_0x296b47;_0x14aaf8[_0x104a6c(0x1c3)]===this[_0x104a6c(0x272)]&&this[_0x104a6c(0x152)](_0x14aaf8);})):(this[_0x296b47(0x195)](),this[_0x296b47(0x178)][_0x296b47(0x1b2)](0x2),(_0x1a4176=this[_0x296b47(0x228)])==null||_0x1a4176[_0x296b47(0x212)](),this[_0x296b47(0x228)]=null));}));}get[_0x2c1408(0x25f)](){var _0x3baac0=_0x2c1408;return this[_0x3baac0(0x178)]['getValue']();}['getMemberID'](){var _0x3e0514=_0x2c1408,_0x898d5f,_0x1de65a;return(_0x1de65a=(_0x898d5f=this['_socket'])==null?void 0x0:_0x898d5f[_0x3e0514(0xd5)])!=null?_0x1de65a:null;}['dispose'](){var _0x27e92d=_0x2c1408;super[_0x27e92d(0x2bb)](),this[_0x27e92d(0x328)]['next'](),this['dispose$']['complete']();}[_0x2c1408(0x35d)](){var _0x2696c4=_0x2c1408,_0x52444f,_0x2e7215;this[_0x2696c4(0x195)](),(_0x52444f=this[_0x2696c4(0x1a9)])==null||_0x52444f[_0x2696c4(0xf2)]({'cmd':F[_0x2696c4(0x2fe)],'data':{'roomID':this['_unitID']}}),(_0x2e7215=this[_0x2696c4(0x1a9)])==null||_0x2e7215['close'](),this[_0x2696c4(0x1e7)]['complete'](),this[_0x2696c4(0x178)]['complete'](),this['dispose']();}[_0x2c1408(0x152)](_0x9709fa){var _0x1547df=_0x2c1408;_0x9709fa[_0x1547df(0x26f)]===F[_0x1547df(0x200)]?this[_0x1547df(0x291)](_0x9709fa):_0x9709fa[_0x1547df(0x26f)]===F[_0x1547df(0x222)]&&this[_0x1547df(0x1a1)](_0x9709fa);}[_0x2c1408(0x3cb)](_0x1dd662){var _0x2d31e2=_0x2c1408;this[_0x2d31e2(0x178)][_0x2d31e2(0x1b2)](0x1),_0x1dd662['send']({'cmd':F['JOIN'],'routeKey':this[_0x2d31e2(0x272)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2c1408(0x291)](_0x4439e0){var _0x143a37=_0x2c1408,_0x3889f4;if(_0x4439e0['code']in Kt){this[_0x143a37(0x309)]['emitEvent']({'id':re[_0x143a37(0x2c2)],'data':Kt[_0x4439e0[_0x143a37(0x399)]]}),this[_0x143a37(0x178)][_0x143a37(0x1b2)](0x2);return;}this[_0x143a37(0x178)]['next'](0x3);const _0x20d23c=(_0x3889f4=_0x4439e0['data'][_0x143a37(0x358)][this[_0x143a37(0x272)]])==null?void 0x0:_0x3889f4[_0x143a37(0xff)];_0x20d23c&&_0x20d23c[_0x143a37(0x11b)](_0x19cd40=>this[_0x143a37(0x2f8)][_0x143a37(0x3b2)](this[_0x143a37(0x272)],_0x19cd40));}[_0x2c1408(0x1a1)](_0x36e2ad){var _0x7c5050=_0x2c1408;try{const _0x1b126c=_0x36e2ad[_0x7c5050(0x1fe)];switch(_0x1b126c[_0x7c5050(0x1c2)]){case _0x1d6d57[_0x7c5050(0x218)]:this[_0x7c5050(0x182)](_0x1b126c),this[_0x7c5050(0x1e7)][_0x7c5050(0x1b2)](_0x1b126c);break;case _0x1d6d57[_0x7c5050(0xe5)]:this['_onUserLeave'](_0x1b126c),this[_0x7c5050(0x1e7)][_0x7c5050(0x1b2)](_0x1b126c);break;case _0x1d6d57[_0x7c5050(0xcd)]:case _0x1d6d57['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x7c5050(0x38c)](),this[_0x7c5050(0x1e7)][_0x7c5050(0x1b2)](_0x1b126c);break;case _0x1d6d57[_0x7c5050(0x380)]:this[_0x7c5050(0x2f9)]['error'](_0x7c5050(0x271)+JSON[_0x7c5050(0x114)](_0x1b126c)),this[_0x7c5050(0x1e7)]['next'](_0x1b126c);break;case _0x1d6d57[_0x7c5050(0x184)]:this[_0x7c5050(0x2d8)][_0x7c5050(0x254)](_0x1b126c[_0x7c5050(0x1fe)]),this[_0x7c5050(0x1e7)]['next'](_0x1b126c);break;default:this[_0x7c5050(0x1e7)][_0x7c5050(0x1b2)](_0x1b126c);}}catch(_0x596e69){this['_logService'][_0x7c5050(0x2f4)](_0x596e69,_0x36e2ad);}}[_0x2c1408(0x182)](_0x4f476c){var _0x178129=_0x2c1408;this[_0x178129(0x2f8)][_0x178129(0x3b2)](this[_0x178129(0x272)],_0x4f476c[_0x178129(0x1fe)]);}[_0x2c1408(0x2a0)](_0x246350){var _0x5481c7=_0x2c1408;this['_memberService'][_0x5481c7(0x1e0)](this[_0x5481c7(0x272)],_0x246350[_0x5481c7(0x1fe)]['memberID']);}async['send'](_0x3b1440,_0x51dba1){var _0x169e87=_0x2c1408;if(this[_0x169e87(0x25f)]!==0x3||!this[_0x169e87(0x1a9)])throw new Error(_0x169e87(0xee));try{_0x3b1440['eventID']===_0x1d6d57[_0x169e87(0x213)]&&(this[_0x169e87(0x17b)](),this[_0x169e87(0x135)](_0x3b1440)),this['_socket']['send']({'cmd':F[_0x169e87(0x1f5)],'routeKey':_0x51dba1,'routeType':'','data':_0x3b1440});}catch(_0x5257a6){this[_0x169e87(0x2f9)]['error'](_0x5257a6);}}['_scheduleCollaborationTimeoutTimer'](){var _0x966306=_0x2c1408,_0x4132ea;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x7c80f7=_0x2fd2;this[_0x7c80f7(0x2a3)]=null,this[_0x7c80f7(0x309)]['emitEvent']({'id':re[_0x7c80f7(0x384)]});},(_0x4132ea=this['_configService'][_0x966306(0x24c)](mi))!=null?_0x4132ea:gi);}['_clearCollaborationTimeoutTimer'](){var _0x41b8ce=_0x2c1408;this[_0x41b8ce(0x2a3)]&&(clearTimeout(this[_0x41b8ce(0x2a3)]),this[_0x41b8ce(0x2a3)]=null);}[_0x2c1408(0x135)](_0x5db019){var _0x429f7a=_0x2c1408;if(!this[_0x429f7a(0x3bb)])return;const {data:_0x2e5935}=_0x5db019,{unitID:_0x125c0c,changeset:_0x17ff34}=_0x2e5935,{mutations:_0x513516,type:_0x35c535}=_0x17ff34;this['_telemetryInfo']={'unitId':_0x125c0c,'type':_0x35c535,'startTime':performance[_0x429f7a(0x21e)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x513516)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5b6fb6=_0x2c1408;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x5b6fb6(0x2f9)][_0x5b6fb6(0x2f4)](_0x5b6fb6(0x39d),_0x5b6fb6(0x3ce));return;}this['_telemetryInfo'][_0x5b6fb6(0x198)]=performance[_0x5b6fb6(0x21e)](),this[_0x5b6fb6(0x278)][_0x5b6fb6(0xed)]=this['_telemetryInfo'][_0x5b6fb6(0x198)]-this[_0x5b6fb6(0x278)][_0x5b6fb6(0x3a6)],this['_telemetryService'][_0x5b6fb6(0x18e)](Hn,this[_0x5b6fb6(0x278)]),this['_telemetryInfo']=null;}}[_0x2c1408(0x195)](){var _0x4a2847=_0x2c1408;this[_0x4a2847(0x278)]=null;}};Et=Wn([me(0x2,_0xa8fd8d),me(0x3,_0x40f6f4),me(0x4,_0x53facb(_0x2678bb)),me(0x5,_0x53facb(Le)),me(0x6,_0x53facb(Ti)),me(0x7,_0x53facb(pe)),me(0x8,_0xef1d69(_0x3a99bb))],Et);var Kn=Object[_0x2c1408(0x20c)],Yn=(_0x84b456,_0xe7feba,_0x6a4a33,_0xf192dc)=>{var _0x5afe2f=_0x2c1408;for(var _0x20e53d=_0xf192dc>0x1?void 0x0:_0xf192dc?Kn(_0xe7feba,_0x6a4a33):_0xe7feba,_0x52aa5c=_0x84b456[_0x5afe2f(0x390)]-0x1,_0x12692f;_0x52aa5c>=0x0;_0x52aa5c--)(_0x12692f=_0x84b456[_0x52aa5c])&&(_0x20e53d=_0x12692f(_0x20e53d)||_0x20e53d);return _0x20e53d;},be=(_0x1f530e,_0x3c3496)=>(_0x3b5d15,_0x1ceec8)=>_0x3c3496(_0x3b5d15,_0x1ceec8,_0x1f530e);let xe=class extends _0x35312f{constructor(_0x21eec9,_0x592465,_0x354ee4,_0x42e82f,_0x4354de,_0x1ce8f6){var _0x13d864=_0x2c1408;super(),N(this,'_socket$',new _0x18351b(void 0x0)),N(this,'socket$',this[_0x13d864(0x323)][_0x13d864(0xf7)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x13d864(0xda),new _0x18351b(Ee[_0x13d864(0x337)])),N(this,_0x13d864(0xfd),this[_0x13d864(0xda)]['asObservable']()),N(this,_0x13d864(0x3a5),!0x1),N(this,_0x13d864(0x19f)),N(this,_0x13d864(0x290),0x0),N(this,_0x13d864(0x2aa)),N(this,_0x13d864(0x2bf)),(this[_0x13d864(0x29c)]=_0x21eec9,this['_logService']=_0x592465,this[_0x13d864(0x2f7)]=_0x354ee4,this[_0x13d864(0x17e)]=_0x42e82f,this[_0x13d864(0x309)]=_0x4354de,this[_0x13d864(0x2a7)]=_0x1ce8f6,this['_listenToNetworkCondition']());}get[_0x2c1408(0x1a9)](){var _0x57e511=_0x2c1408;return this['_socket$'][_0x57e511(0x159)]();}[_0x2c1408(0x248)](){var _0x5cdeab=_0x2c1408;this[_0x5cdeab(0x2a7)]&&this[_0x5cdeab(0xe2)](this['_networkConditionService'][_0x5cdeab(0x27e)][_0x5cdeab(0x15d)](_0x948cfb=>{var _0x3013a0=_0x5cdeab;_0x948cfb&&!this[_0x3013a0(0x1a9)]&&this['reconnect'](),_0x948cfb||this[_0x3013a0(0x2c1)]();}));}[_0x2c1408(0x2bb)](){var _0x5d0e44=_0x2c1408;super[_0x5d0e44(0x2bb)](),this[_0x5d0e44(0x368)](),this['_clearTimeoutTimer'](),this[_0x5d0e44(0x1f0)](),this[_0x5d0e44(0x219)][_0x5d0e44(0x11b)](_0x5bbe71=>_0x5bbe71[_0x5d0e44(0x2bb)]()),this[_0x5d0e44(0x219)][_0x5d0e44(0x304)](),this[_0x5d0e44(0xda)][_0x5d0e44(0x1d5)]();}async['requireSession'](_0x51778d){var _0xa3ab2a=_0x2c1408;if(this[_0xa3ab2a(0x219)][_0xa3ab2a(0x3b1)](_0x51778d))return this['_sessions'][_0xa3ab2a(0x1d6)](_0x51778d);this[_0xa3ab2a(0x37f)]();const _0x3f63b6=this[_0xa3ab2a(0x29c)][_0xa3ab2a(0x2f2)](Et,_0x51778d,this[_0xa3ab2a(0x323)][_0xa3ab2a(0xf7)]());return this['_sessions'][_0xa3ab2a(0x1dc)](_0x51778d,_0x3f63b6),_0x3f63b6;}[_0x2c1408(0xe4)](_0x1db647){var _0x435ecd=_0x2c1408,_0x58c8bb;const _0x58cda8=this[_0x435ecd(0x219)]['get'](_0x1db647);_0x58cda8&&(this[_0x435ecd(0x219)]['delete'](_0x1db647),_0x58cda8['close']()),this[_0x435ecd(0x219)]['size']||(_0x58c8bb=this[_0x435ecd(0x1a9)])==null||_0x58c8bb[_0x435ecd(0x35d)]();}['reconnect'](){var _0x169bfb=_0x2c1408;this[_0x169bfb(0x290)]=0x0,this[_0x169bfb(0x368)](),this[_0x169bfb(0x29e)]();}['_clearRetryConnectingTimer'](){var _0x4cdb0a=_0x2c1408;this[_0x4cdb0a(0x19f)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x2c1408(0x125)](){var _0x22c587=_0x2c1408,_0x50e251,_0x2388ab;const _0x51dd4a=this[_0x22c587(0x2f7)][_0x22c587(0x24c)](In),_0x4555c9=this[_0x22c587(0x2f7)]['getConfig'](q),_0x578c3c=(_0x2388ab=(_0x50e251=_0x4555c9==null?void 0x0:_0x4555c9[_0x22c587(0x252)])!=null?_0x50e251:_0x51dd4a)!=null?_0x2388ab:Tn,_0x2e0d26=await this['_socketService']['createSocket'](_0x578c3c);return this[_0x22c587(0x2e2)]=_0x2e0d26,_0x2e0d26;}async[_0x2c1408(0x37f)](){var _0x1e9a56=_0x2c1408,_0x120f1c,_0x529c92;try{const _0x16f5da=(_0x529c92=(_0x120f1c=this[_0x1e9a56(0x1a9)])!=null?_0x120f1c:this[_0x1e9a56(0x2e2)])!=null?_0x529c92:await this[_0x1e9a56(0x125)]();if(_0x16f5da){const _0x205ce5=_0x16f5da[_0x1e9a56(0xf2)];_0x16f5da['send']=_0x30bf44=>(this[_0x1e9a56(0x29a)](),_0x205ce5['apply'](_0x16f5da,[_0x30bf44])),_0x16f5da['message$'][_0x1e9a56(0x15d)](_0x17bd6c=>this['_onMessage'](_0x16f5da,_0x17bd6c)),_0x16f5da['error$'][_0x1e9a56(0x17a)](_0x15f1bb(0x1))[_0x1e9a56(0x15d)](_0x5eb77c=>this['_logService']['error']('[CollaborationSessionService]:\x20socket\x20error',_0x5eb77c)),_0x16f5da[_0x1e9a56(0x2a2)][_0x1e9a56(0x17a)](_0x15f1bb(0x1))[_0x1e9a56(0x15d)](()=>{var _0x2c7ad6=_0x1e9a56;this[_0x2c7ad6(0x3c6)](_0x16f5da);}),_0x16f5da[_0x1e9a56(0x2ef)][_0x1e9a56(0x17a)](_0x15f1bb(0x1))[_0x1e9a56(0x15d)](_0x357bdf=>{var _0x4e3dff=_0x1e9a56;this['_logService'][_0x4e3dff(0x2cd)](_0x4e3dff(0x23a),_0x4e3dff(0xe8),_0x357bdf),this[_0x4e3dff(0x1d1)]();});}}catch(_0x5a7472){this[_0x1e9a56(0x2f9)][_0x1e9a56(0x2f4)](_0x5a7472),this['_onConnectionFailed']();}}[_0x2c1408(0x3c6)](_0x549ba3){var _0x554d31=_0x2c1408;this[_0x554d31(0x2f9)]['debug'](_0x554d31(0x23a),_0x554d31(0x258)),_0x549ba3[_0x554d31(0xf2)]({'cmd':F[_0x554d31(0x30b)]}),this[_0x554d31(0x29a)]();}['_onOffline'](){var _0x4e5cdc=_0x2c1408;this[_0x4e5cdc(0x3a5)]=!0x1,this['_candidateSocket']=null,this['_status$']['next'](Ee['OFFLINE']),this[_0x4e5cdc(0x323)][_0x4e5cdc(0x1b2)](null),this[_0x4e5cdc(0x2ac)](),this['_clearHeartbeatTimer']();}[_0x2c1408(0x1d1)](){var _0x10a1d7=_0x2c1408,_0x59f9fa;this[_0x10a1d7(0x2c1)](),this[_0x10a1d7(0x290)]<((_0x59f9fa=this[_0x10a1d7(0x2f7)]['getConfig'](On))!=null?_0x59f9fa:yn)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0x10a1d7(0x15b)]}),this['_tryReconnect']()):this[_0x10a1d7(0x309)]['emitEvent']({'id':re[_0x10a1d7(0x395)]});}['_tryReconnect'](){var _0x270eed=_0x2c1408,_0x370ecd;const _0xa7ddfa=this[_0x270eed(0x290)],_0x389088=this[_0x270eed(0x2f7)]['getConfig'](q),_0x299e43=_0xa7ddfa===0x0?0x0:((_0x370ecd=_0x389088==null?void 0x0:_0x389088['retryConnectingInterval'])!=null?_0x370ecd:bn)*0x2**_0xa7ddfa;this[_0x270eed(0x19f)]=setTimeout(()=>{var _0x3ea0c2=_0x270eed;clearTimeout(this[_0x3ea0c2(0x19f)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x299e43),this[_0x270eed(0x290)]+=0x1;}[_0x2c1408(0x1ff)](_0x14ca26,_0x73c628){var _0x1bf86d=_0x2c1408;const {cmd:_0x92779c}=_0x73c628;_0x92779c===F['HELLO']&&!this[_0x1bf86d(0x3a5)]&&(_0x14ca26[_0x1bf86d(0xd5)]=_0x73c628[_0x1bf86d(0x1fe)][_0x1bf86d(0xd5)],this[_0x1bf86d(0x323)][_0x1bf86d(0x1b2)](_0x14ca26),this[_0x1bf86d(0xda)][_0x1bf86d(0x1b2)](Ee[_0x1bf86d(0x234)]),this['_socketReady']=!0x0,this[_0x1bf86d(0x2e2)]=null),_0x92779c===F[_0x1bf86d(0x1a2)]&&this[_0x1bf86d(0x2ac)](),this[_0x1bf86d(0x29a)]();}[_0x2c1408(0x29a)](){var _0x23cdc1=_0x2c1408,_0x4d1150;this[_0x23cdc1(0x1f0)](),this[_0x23cdc1(0x2aa)]=setTimeout(()=>this[_0x23cdc1(0x241)](),(_0x4d1150=this[_0x23cdc1(0x2f7)][_0x23cdc1(0x24c)](Cn))!=null?_0x4d1150:Rn);}[_0x2c1408(0x241)](){var _0x571cfd=_0x2c1408;this[_0x571cfd(0x1a9)][_0x571cfd(0xf2)]({'cmd':F['HEARTBEAT']}),this[_0x571cfd(0x2d3)]();}['_waitForHeartbeatResponse'](){var _0x105855=_0x2c1408,_0x3c8b04;this[_0x105855(0x2bf)]=setTimeout(()=>this[_0x105855(0x1d1)](),(_0x3c8b04=this[_0x105855(0x2f7)]['getConfig'](mi))!=null?_0x3c8b04:gi);}['_clearHeartbeatTimer'](){var _0x1efdfc=_0x2c1408;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1efdfc(0x2aa)]),this['_sendHeartbeatTimer']=null);}[_0x2c1408(0x2ac)](){var _0x1d8442=_0x2c1408;this[_0x1d8442(0x2bf)]!=null&&(clearTimeout(this[_0x1d8442(0x2bf)]),this[_0x1d8442(0x2bf)]=null);}};xe=Yn([be(0x0,_0x53facb(_0x29a7fb)),be(0x1,_0xa8fd8d),be(0x2,_0x40f6f4),be(0x3,Ii),be(0x4,_0x53facb(pe)),be(0x5,_0xef1d69(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)[_0x2c1408(0xfa)](0x10)[_0x2c1408(0x1f1)](0x1));function qn(_0x3123b7,_0x431108=0x0){return(V[_0x3123b7[_0x431108+0x0]]+V[_0x3123b7[_0x431108+0x1]]+V[_0x3123b7[_0x431108+0x2]]+V[_0x3123b7[_0x431108+0x3]]+'-'+V[_0x3123b7[_0x431108+0x4]]+V[_0x3123b7[_0x431108+0x5]]+'-'+V[_0x3123b7[_0x431108+0x6]]+V[_0x3123b7[_0x431108+0x7]]+'-'+V[_0x3123b7[_0x431108+0x8]]+V[_0x3123b7[_0x431108+0x9]]+'-'+V[_0x3123b7[_0x431108+0xa]]+V[_0x3123b7[_0x431108+0xb]]+V[_0x3123b7[_0x431108+0xc]]+V[_0x3123b7[_0x431108+0xd]]+V[_0x3123b7[_0x431108+0xe]]+V[_0x3123b7[_0x431108+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x156932=_0x2c1408;if(!ut){if(typeof crypto>'u'||!crypto[_0x156932(0x1c6)])throw new Error(_0x156932(0x1b4));ut=crypto[_0x156932(0x1c6)][_0x156932(0x2b2)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x2c1408(0x23e)]&&crypto['randomUUID'][_0x2c1408(0x2b2)](crypto),Yt={'randomUUID':Xn};function Zn(_0x564a9a,_0x26a624,_0x45c103){var _0x3578e0=_0x2c1408,_0x323d9b,_0x5bbe45,_0x5d554a;if(Yt[_0x3578e0(0x23e)]&&!_0x564a9a)return Yt['randomUUID']();_0x564a9a=_0x564a9a||{};const _0x452fbd=(_0x5d554a=(_0x5bbe45=_0x564a9a['random'])!=null?_0x5bbe45:(_0x323d9b=_0x564a9a[_0x3578e0(0xd3)])==null?void 0x0:_0x323d9b[_0x3578e0(0x3a9)](_0x564a9a))!=null?_0x5d554a:Jn();if(_0x452fbd['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x452fbd[0x6]=_0x452fbd[0x6]&0xf|0x40,_0x452fbd[0x8]=_0x452fbd[0x8]&0x3f|0x80,qn(_0x452fbd);}function _0x2fd2(_0x3dcd2,_0x596d23){var _0x1f5886=_0x1f58();return _0x2fd2=function(_0x2fd23a,_0x31e1d1){_0x2fd23a=_0x2fd23a-0xca;var _0x365da5=_0x1f5886[_0x2fd23a];return _0x365da5;},_0x2fd2(_0x3dcd2,_0x596d23);}const J=_0x1d2c56(_0x2c1408(0x257));function Br(_0x4106ee){var _0xbdad54=_0x2c1408;return _0xbdad54(0x29f)+_0x4106ee;}var Qn=Object[_0x2c1408(0x20c)],es=(_0x117fe8,_0x239b11,_0x4af166,_0x4bb47c)=>{var _0x9f0f30=_0x2c1408;for(var _0x1c25d3=_0x4bb47c>0x1?void 0x0:_0x4bb47c?Qn(_0x239b11,_0x4af166):_0x239b11,_0x588614=_0x117fe8[_0x9f0f30(0x390)]-0x1,_0x1f92be;_0x588614>=0x0;_0x588614--)(_0x1f92be=_0x117fe8[_0x588614])&&(_0x1c25d3=_0x1f92be(_0x1c25d3)||_0x1c25d3);return _0x1c25d3;},dt=(_0xb7f2d,_0x5b40fa)=>(_0x56f8d7,_0x28b40b)=>_0x5b40fa(_0x56f8d7,_0x28b40b,_0xb7f2d);function ts(_0x142c8d){const {unitID:_0x21ef9a,mutations:_0x4dee9b}=_0x142c8d;return{'unitId':_0x21ef9a,'subUnitId':_0x4dee9b[0x0]['params']['subUnitId']};}let it=class{constructor(_0x3b5b3b,_0x63a66e,_0x1803d3){var _0x452e5b=_0x2c1408;this[_0x452e5b(0x29c)]=_0x3b5b3b,this[_0x452e5b(0x284)]=_0x63a66e,this[_0x452e5b(0x25d)]=_0x1803d3;}['transformSelections'](_0x4b12f8){var _0x2d9d67=_0x2c1408,_0x3eaf70,_0x4368c9,_0x4f9656,_0x52841c;const _0x1bbc50=this['_injector'][_0x2d9d67(0x1d6)](_0x390ffc),{unitId:_0x18e81c,subUnitId:_0x513ccd}=ts(_0x4b12f8),_0x533f34=_0x1bbc50==null?void 0x0:_0x1bbc50[_0x2d9d67(0x210)](_0x18e81c)['getCurrentSelections'](),_0x1cafff=(_0x4368c9=(_0x3eaf70=this[_0x2d9d67(0x25d)]['getUnit'](_0x18e81c))==null?void 0x0:_0x3eaf70['getActiveSheet']())==null?void 0x0:_0x4368c9[_0x2d9d67(0x1d9)]();if(_0x533f34['length']===0x0||!_0x18e81c||!_0x513ccd)return;const _0x58f083=[{'id':_0x2857a3['id'],'params':{'unitId':_0x18e81c,'subUnitId':_0x1cafff,'selections':_0x342953[_0x2d9d67(0x2de)](_0x533f34)}}],_0x553a1c=this['_transformService'][_0x2d9d67(0x1c7)](_0x4b12f8,_0x58f083);if(!_0x491605(_0x553a1c))throw _0x553a1c[_0x2d9d67(0x2f4)];const _0x3e77f2=(_0x52841c=(_0x4f9656=_0x553a1c['m2Prime'][0x0])==null?void 0x0:_0x4f9656[_0x2d9d67(0x3bc)])==null?void 0x0:_0x52841c[_0x2d9d67(0x36e)];if(Array['isArray'](_0x3e77f2)&&_0x3e77f2['length']){if(_0x3e77f2[_0x2d9d67(0x390)]===_0x58f083[0x0][_0x2d9d67(0x3bc)]['selections'][_0x2d9d67(0x390)]&&_0x3e77f2[_0x2d9d67(0x130)]((_0x414384,_0x977156)=>_0x1f0a2e[_0x2d9d67(0x150)](_0x414384[_0x2d9d67(0x32a)],_0x58f083[0x0][_0x2d9d67(0x3bc)][_0x2d9d67(0x36e)][_0x977156]['range'])))return;this['_injector'][_0x2d9d67(0x1d6)](_0xaeb77a)[_0x2d9d67(0x177)](_0x2857a3['id'],{'unitId':_0x18e81c,'subUnitId':_0x1cafff,'selections':_0x3e77f2});}}};it=es([dt(0x0,_0x53facb(_0x29a7fb)),dt(0x1,_0x1342c3),dt(0x2,_0x283e25)],it);const ht=_0x1d2c56(_0x2c1408(0x35b));var Ci=(_0x5924c6=>(_0x5924c6[_0x5924c6[_0x2c1408(0x2a6)]=0x0]=_0x2c1408(0x2a6),_0x5924c6[_0x5924c6[_0x2c1408(0x3a7)]=0x1]=_0x2c1408(0x3a7),_0x5924c6))(Ci||{});const is=new Set([_0x14f929['id']]);function qt(_0x5443f4,_0x2960dc,_0x520315,_0x50a153,_0x1d347c){var _0x5d5db8=_0x2c1408,_0x1ab61d,_0x9ba1d3,_0x5895cc,_0x3351e8;const _0x4e0e4d=[];for(const _0x2d1c35 of _0x5443f4)if(is[_0x5d5db8(0x3b1)](_0x2d1c35['id'])){if(_0x4e0e4d[_0x5d5db8(0x390)]>0x0)break;_0x4e0e4d[_0x5d5db8(0x14c)](_0x2d1c35);break;}else _0x4e0e4d[_0x5d5db8(0x14c)](_0x2d1c35);const _0x49d0db=(_0x9ba1d3=(_0x1ab61d=_0x1d347c[_0x5d5db8(0x1c1)]())==null?void 0x0:_0x1ab61d[_0x5d5db8(0x3c1)])!=null?_0x9ba1d3:_0x5d5db8(0x283),_0x2e836b=(_0x3351e8=(_0x5895cc=_0x1d347c[_0x5d5db8(0x1c1)]())==null?void 0x0:_0x5895cc[_0x5d5db8(0xd5)])!=null?_0x3351e8:'unknown';return{'changeset':{'unitID':_0x2960dc,'type':_0x1ad41f(_0x520315[_0x5d5db8(0x1ed)](_0x2960dc)),'baseRev':_0x50a153['getCurrentRevOfUnit'](_0x2960dc),'revision':0x0,'userID':_0x49d0db,'memberID':_0x2e836b,'mutations':_0x4e0e4d},'pendingMutations':_0x5443f4[_0x5d5db8(0x1f1)](_0x4e0e4d[_0x5d5db8(0x390)])};}function ns(_0xd7aec3,_0x2cb4d4,_0x5c6824,_0x470c95,_0x2fcd2c){var _0x13bfe4=_0x2c1408,_0x38fb2e,_0x3070be,_0x45ff3a,_0x59af21;const _0x26a3ba=[_0xd7aec3[_0x13bfe4(0x201)]((_0x2bfe92,_0x561105)=>{var _0x1a08c9=_0x13bfe4,_0x18aee0;const {id:_0x560de9}=_0x2bfe92,{id:_0x53b69d,type:_0x48f52f}=_0x561105,_0x268e59=(_0x18aee0=_0x2bfe92[_0x1a08c9(0x3bc)])!=null?_0x18aee0:{'actions':null},_0x2edb67=_0x561105[_0x1a08c9(0x3bc)];if(_0x560de9&&_0x560de9!==_0x53b69d)throw new Error(_0x1a08c9(0x144)+_0x560de9+_0x1a08c9(0x2be)+_0x53b69d+'.');return{..._0x2bfe92,'id':_0x53b69d,'type':_0x48f52f,'params':{'unitId':_0x2edb67[_0x1a08c9(0x33b)],'textRanges':_0x2edb67[_0x1a08c9(0x267)],'actions':_0x23855b['compose'](_0x268e59[_0x1a08c9(0x15f)],_0x2edb67[_0x1a08c9(0x15f)])}};},{})],_0x54bae8=(_0x3070be=(_0x38fb2e=_0x2fcd2c['getCurrentUser']())==null?void 0x0:_0x38fb2e[_0x13bfe4(0x3c1)])!=null?_0x3070be:'unknown',_0x161bcf=(_0x59af21=(_0x45ff3a=_0x2fcd2c[_0x13bfe4(0x1c1)]())==null?void 0x0:_0x45ff3a[_0x13bfe4(0xd5)])!=null?_0x59af21:_0x13bfe4(0x283);return{'changeset':{'unitID':_0x2cb4d4,'type':_0x1ad41f(_0x5c6824['getUnitType'](_0x2cb4d4)),'baseRev':_0x470c95[_0x13bfe4(0x1b0)](_0x2cb4d4),'revision':0x0,'userID':_0x54bae8,'memberID':_0x161bcf,'mutations':_0x26a3ba},'pendingMutations':[]};}function Ri(_0x5dc8d7,_0x42c943){var _0xab82aa=_0x2c1408;const _0xd7ebd9=new _0x2770cb(0x1);return setTimeout(()=>_0xd7ebd9[_0xab82aa(0x1b2)](_0x42c943),_0x5dc8d7),_0xd7ebd9[_0xab82aa(0xf7)]()['pipe'](_0x242fd6(0x1));}const ss={'id':_0x419fd6['id'],'type':_0x59f39b[_0x2c1408(0x24a)],'params':{}};var rs=Object[_0x2c1408(0x20c)],Te=(_0x5af29b,_0x355a3c,_0x59f8d1,_0x28e738)=>{var _0xd7a733=_0x2c1408;for(var _0x36b511=_0x28e738>0x1?void 0x0:_0x28e738?rs(_0x355a3c,_0x59f8d1):_0x355a3c,_0x4fcdbe=_0x5af29b[_0xd7a733(0x390)]-0x1,_0xb51db5;_0x4fcdbe>=0x0;_0x4fcdbe--)(_0xb51db5=_0x5af29b[_0x4fcdbe])&&(_0x36b511=_0xb51db5(_0x36b511)||_0x36b511);return _0x36b511;},P=(_0x108ec1,_0x46deb6)=>(_0x3c6cf3,_0x235bcb)=>_0x46deb6(_0x3c6cf3,_0x235bcb,_0x108ec1),bi=(_0x89888a=>(_0x89888a[_0x2c1408(0x1da)]=_0x2c1408(0x3a2),_0x89888a['SYNCED']=_0x2c1408(0x1d8),_0x89888a[_0x2c1408(0x3ba)]=_0x2c1408(0x199),_0x89888a[_0x2c1408(0x251)]='awaiting',_0x89888a['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x89888a[_0x2c1408(0x34d)]='fetch_missing',_0x89888a[_0x2c1408(0x2f6)]=_0x2c1408(0x299),_0x89888a[_0x2c1408(0x396)]=_0x2c1408(0x1d3),_0x89888a))(bi||{});const Oi=0xea60;class Ce{constructor(_0x520415,_0x3c3ebb,_0xbb562c,_0x1893f1,_0x332b49,_0x445ebf,_0x1ec97f,_0x244ac8,_0x17937b){var _0x3fbec7=_0x2c1408;N(this,'_awaitingChangeset',null),N(this,_0x3fbec7(0xd1),[]),(this['unitID']=_0x520415,this[_0x3fbec7(0x242)]=_0x3c3ebb,this['_handler']=_0x332b49,this['_commandService']=_0x445ebf,this['_undoRedoService']=_0x1ec97f,this[_0x3fbec7(0x1ad)]=_0x244ac8,this['_localCacheService']=_0x17937b,this['_awaitingChangeset']=_0xbb562c,this[_0x3fbec7(0xd1)]=_0x1893f1);}['_checkMissing'](_0x1dd3e0){var _0x522fce=_0x2c1408;const _0x5bbc07=this[_0x522fce(0x1ad)][_0x522fce(0x1b0)](this[_0x522fce(0x2b6)]);return _0x1dd3e0[_0x522fce(0x27b)]>_0x5bbc07+0x1?(this[_0x522fce(0x397)][_0x522fce(0x256)]({'from':_0x5bbc07,'to':_0x1dd3e0[_0x522fce(0x27b)]-0x1}),!0x0):!0x1;}[_0x2c1408(0x1b6)](_0x58416e){var _0x3ff993=_0x2c1408;this[_0x3ff993(0x294)][_0x3ff993(0x20b)](this['unitID'],_0x58416e);}[_0x2c1408(0x2af)](_0x343e7f){var _0x6e7dfd=_0x2c1408,_0x5bbe4f,_0x424807;(_0x424807=(_0x5bbe4f=this[_0x6e7dfd(0x397)])[_0x6e7dfd(0x2cc)])==null||_0x424807[_0x6e7dfd(0x3a9)](_0x5bbe4f,_0x343e7f);}[_0x2c1408(0x157)](_0x41fcc3){var _0x4d8a47=_0x2c1408,_0xcb3d8d,_0x64ce75;return(_0x64ce75=(_0xcb3d8d=this[_0x4d8a47(0x397)])[_0x4d8a47(0x367)])==null?void 0x0:_0x64ce75[_0x4d8a47(0x3a9)](_0xcb3d8d,_0x41fcc3);}['_transformStateCache'](_0x107e56){var _0xa63ebc=_0x2c1408,_0x2ee587,_0x54f146;return(_0x54f146=(_0x2ee587=this['_handler'])['onTransformState'])==null?void 0x0:_0x54f146[_0xa63ebc(0x3a9)](_0x2ee587,_0x107e56);}[_0x2c1408(0x3bf)](_0x3b17c5){var _0x1bcbca=_0x2c1408,_0x96c0d4,_0x485d53,_0x5d5c87;return(_0x5d5c87=(_0x485d53=(_0x96c0d4=this['_handler'])[_0x1bcbca(0x303)])==null?void 0x0:_0x485d53['call'](_0x96c0d4,_0x3b17c5))!=null?_0x5d5c87:_0x3b17c5;}[_0x2c1408(0x25c)](_0x1906c2){var _0x95c4f3=_0x2c1408,_0x2f761c,_0x5c6b5a,_0x10bee0;return(_0x10bee0=(_0x5c6b5a=(_0x2f761c=this[_0x95c4f3(0x397)])[_0x95c4f3(0x1ef)])==null?void 0x0:_0x5c6b5a[_0x95c4f3(0x3a9)](_0x2f761c,_0x1906c2))!=null?_0x10bee0:_0x1906c2;}[_0x2c1408(0x12b)](_0x42b563){var _0x4b8c1f=_0x2c1408,_0x16ddf8,_0x250475;if(this[_0x4b8c1f(0x242)]===Q[_0x4b8c1f(0x18d)]){const {unitID:_0x3ca750,mutations:_0x5d3faa,memberID:_0x591a95}=_0x42b563,_0x5abbef=_0x5d3faa[0x0][_0x4b8c1f(0x3bc)][_0x4b8c1f(0x267)];Array[_0x4b8c1f(0x14e)](_0x5abbef)&&_0x5abbef[_0x4b8c1f(0x390)]>0x0&&((_0x250475=(_0x16ddf8=this[_0x4b8c1f(0x397)])['onSyncEditingCollabCursor'])==null||_0x250475[_0x4b8c1f(0x3a9)](_0x16ddf8,{'unitID':_0x3ca750,'memberID':_0x591a95,'textRanges':_0x5abbef}));}}[_0x2c1408(0x336)](){var _0x5a079d=_0x2c1408,_0x51663a;(_0x51663a=this[_0x5a079d(0x33e)])==null||_0x51663a[_0x5a079d(0x33a)](this[_0x5a079d(0x2b6)],this[_0x5a079d(0x242)],this[_0x5a079d(0xf1)],this['_pendingMutations']);}[_0x2c1408(0x1cf)](){var _0x34fe33=_0x2c1408;return this[_0x34fe33(0x1ad)]['getCurrentRevOfUnit'](this[_0x34fe33(0x2b6)]);}['_incrementRevisionNumber'](){var _0x3cd651=_0x2c1408;this[_0x3cd651(0x1ad)]['incrementRevOfUnit'](this[_0x3cd651(0x2b6)]);}[_0x2c1408(0x3cd)](_0x5cbc3c){var _0x304a7d=_0x2c1408,_0x35ff33;let _0x51f5a3=this[_0x304a7d(0x3bf)](_0x5cbc3c);_0x51f5a3=this[_0x304a7d(0x25c)](_0x51f5a3);const _0x3b3348=_0x5e248b(_0x51f5a3[_0x304a7d(0x1e6)],this[_0x304a7d(0x30a)],{'fromCollab':!0x0});if(!_0x3b3348['result'])throw _0x3b3348[_0x304a7d(0x2f4)]instanceof Error?_0x3b3348['error']:new Error((_0x35ff33=_0x3b3348[_0x304a7d(0x2f4)])!=null?_0x35ff33:_0x304a7d(0x362));this[_0x304a7d(0x157)](_0x51f5a3),this[_0x304a7d(0x2e1)](_0x51f5a3),this['_transformUndoredo'](_0x5cbc3c),this[_0x304a7d(0x2af)](_0x51f5a3),this['_syncEditingCollabCursor'](_0x51f5a3),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x2d7ee2,_0x2bd266,_0x594cd2,_0x467ec7,_0x30c39b,_0x5221df,_0x7e8075,_0x3fa8ed,_0x1aa3ad,_0x74dc14){var _0xb83ecf=_0x2c1408;super(_0x2d7ee2,_0x2bd266,null,[],_0x594cd2,_0x7e8075,_0x5221df,_0x467ec7,_0x74dc14),N(this,_0xb83ecf(0x270),_0xb83ecf(0x1d8)),(this[_0xb83ecf(0x29c)]=_0x30c39b,this[_0xb83ecf(0x2f9)]=_0x3fa8ed,this[_0xb83ecf(0x284)]=_0x1aa3ad,this[_0xb83ecf(0x360)]=_0x74dc14);}[_0x2c1408(0x1f6)](_0x568316){var _0x51d58b=_0x2c1408;const _0x4a63ca=this[_0x51d58b(0x29c)]['createInstance'](ae,this[_0x51d58b(0x2b6)],this[_0x51d58b(0x242)],[_0x568316],this[_0x51d58b(0x397)]);return _0x4a63ca[_0x51d58b(0x259)](),_0x4a63ca[_0x51d58b(0x336)](),_0x4a63ca;}['onRemoteChangeset'](_0x4605be){var _0x1fb04d=_0x2c1408;if(this[_0x1fb04d(0x31c)](_0x4605be))return this[_0x1fb04d(0x29c)][_0x1fb04d(0x2f2)](ee,this[_0x1fb04d(0x2b6)],this['type'],null,[],null,[_0x4605be],this['_handler']);try{const _0x5a4fc0=this[_0x1fb04d(0x284)][_0x1fb04d(0x1c7)](_0x4605be,[ss]);if(_0x491605(_0x5a4fc0)){const {c1Prime:_0x3f5f44}=_0x5a4fc0;return this['_executeRemoteChangeset'](_0x3f5f44),this;}throw _0x5a4fc0[_0x1fb04d(0x2f4)];}catch(_0x4faf7a){return this[_0x1fb04d(0x2f9)]['error'](_0x4faf7a),this[_0x1fb04d(0x10d)](!0x1);}}[_0x2c1408(0x10d)](_0x3384f9){var _0x355811=_0x2c1408;return this[_0x355811(0x29c)]['createInstance'](ue,this[_0x355811(0x2b6)],this[_0x355811(0x242)],null,[],this[_0x355811(0x397)],_0x3384f9);}['onRemoteAck'](){var _0x9ed12a=_0x2c1408;throw new Error(_0x9ed12a(0x215));}[_0x2c1408(0x23c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2c1408(0x39a)](){return this;}['toggleOffline'](){var _0x146bbe=_0x2c1408;return this[_0x146bbe(0x29c)][_0x146bbe(0x2f2)](de,this[_0x146bbe(0x2b6)],this[_0x146bbe(0x242)],null,[],this[_0x146bbe(0x397)]);}[_0x2c1408(0x25a)](){return this;}[_0x2c1408(0x2c7)](){var _0x4165de=_0x2c1408;throw new Error(_0x4165de(0x357));}[_0x2c1408(0x11e)](){var _0x1ed69c=_0x2c1408;const _0x1d5c2d=this['_revisionService'][_0x1ed69c(0x1b0)](this[_0x1ed69c(0x2b6)]);return this[_0x1ed69c(0x397)][_0x1ed69c(0x256)]({'from':_0x1d5c2d,'to':0x0}),this[_0x1ed69c(0x29c)]['createInstance'](ee,this['unitID'],this[_0x1ed69c(0x242)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x53facb(_0x43443f)),P(0x4,_0x53facb(_0x29a7fb)),P(0x5,_0x2276dc),P(0x6,_0xaeb77a),P(0x7,_0xa8fd8d),P(0x8,_0x1342c3),P(0x9,_0xef1d69(J))],Ne);let ae=class extends Ce{constructor(_0x234c91,_0x3dec6b,_0x2f708a,_0x158571,_0x48f94a,_0xecfa85,_0x307bcd,_0x4741a7,_0x2366ca,_0x234c7c,_0x45851a,_0x4ef8fc,_0x18e0d3,_0x48dfab){var _0xc9a16a=_0x2c1408;super(_0x234c91,_0x3dec6b,null,_0x2f708a,_0x158571,_0x2366ca,_0x18e0d3,_0xecfa85,_0x48dfab),N(this,_0xc9a16a(0x270),'pending'),N(this,_0xc9a16a(0x2e7),null),N(this,_0xc9a16a(0x2e0),null),(this['_injector']=_0x48f94a,this[_0xc9a16a(0x2f8)]=_0x307bcd,this['_logService']=_0x4741a7,this[_0xc9a16a(0x2f7)]=_0x234c7c,this[_0xc9a16a(0x284)]=_0x45851a,this[_0xc9a16a(0x167)]=_0x4ef8fc);}['appendMutation'](_0x5043cd){var _0x49d5c2=_0x2c1408;return this[_0x49d5c2(0xd1)][_0x49d5c2(0x14c)](_0x5043cd),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5d81e8){var _0x41d905=_0x2c1408;if(this[_0x41d905(0x31c)](_0x5d81e8))return this[_0x41d905(0x298)](),this[_0x41d905(0x29c)]['createInstance'](ee,this[_0x41d905(0x2b6)],this[_0x41d905(0x242)],null,this[_0x41d905(0xd1)],null,[_0x5d81e8],this[_0x41d905(0x397)]);try{const _0x465b5f=this[_0x41d905(0x284)][_0x41d905(0x1c7)](_0x5d81e8,this['_pendingMutations']);if(_0x491605(_0x465b5f)){const {c1Prime:_0x140fd7,m2Prime:_0x173397}=_0x465b5f;this['_executeRemoteChangeset'](_0x140fd7);const _0x520a38=this[_0x41d905(0x29c)][_0x41d905(0x2f2)](ae,this[_0x41d905(0x2b6)],this['type'],_0x173397,this[_0x41d905(0x397)]);this['_clearScheduledTask']();const _0x6f0e31=new Date()[_0x41d905(0x11a)](),_0xd77cb3=this['_scheduleCompleteTimestamp']?Math[_0x41d905(0x28c)](this[_0x41d905(0x2e7)]-_0x6f0e31,0x0):this[_0x41d905(0x2f3)]();return _0x520a38[_0x41d905(0x259)](_0xd77cb3),_0x520a38;}throw _0x465b5f[_0x41d905(0x2f4)];}catch(_0x5bf8a7){return this['_logService'][_0x41d905(0x2f4)](_0x5bf8a7),this['_onConflict'](!0x1);}}[_0x2c1408(0x2ff)](){var _0x2c6446=_0x2c1408;throw new Error(_0x2c6446(0x3cf));}[_0x2c1408(0x23c)](){var _0x1ba6b9=_0x2c1408;throw new Error(_0x1ba6b9(0x3cc));}[_0x2c1408(0x39a)](){return this;}['toggleOffline'](){var _0x565c10=_0x2c1408;return this[_0x565c10(0x298)](),this[_0x565c10(0x29c)][_0x565c10(0x2f2)](de,this['unitID'],this[_0x565c10(0x242)],null,this[_0x565c10(0xd1)],this['_handler']);}['toggleOnline'](){return this;}[_0x2c1408(0x259)](_0x56d787){var _0x1a9e41=_0x2c1408;const _0x58839c=_0x56d787!=null?_0x56d787:this[_0x1a9e41(0x2f3)]();this[_0x1a9e41(0x2e7)]=new Date()[_0x1a9e41(0x11a)]()+_0x58839c,this[_0x1a9e41(0x2e0)]=setTimeout(()=>{var _0x53f7f4=_0x1a9e41;this[_0x53f7f4(0x298)]();let _0x46f868=null;switch(this[_0x53f7f4(0x242)]){case Q[_0x53f7f4(0x170)]:{_0x46f868=qt(this['_pendingMutations'],this[_0x53f7f4(0x2b6)],this[_0x53f7f4(0x167)],this[_0x53f7f4(0x1ad)],this['_memberService']);break;}case Q[_0x53f7f4(0x18d)]:{this[_0x53f7f4(0xd1)][_0x53f7f4(0x130)](_0xa1b473=>_0xa1b473['id']===_0x6873c4['id'])?_0x46f868=ns(this['_pendingMutations'],this[_0x53f7f4(0x2b6)],this[_0x53f7f4(0x167)],this[_0x53f7f4(0x1ad)],this['_memberService']):_0x46f868=qt(this[_0x53f7f4(0xd1)],this[_0x53f7f4(0x2b6)],this[_0x53f7f4(0x167)],this[_0x53f7f4(0x1ad)],this[_0x53f7f4(0x2f8)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x53f7f4(0x242)]+'\x20in\x20_schedule.');}const {changeset:_0x307ec4,pendingMutations:_0x516ea4}=_0x46f868;this[_0x53f7f4(0x397)][_0x53f7f4(0x24f)](_0x307ec4);const _0x32892b=_0x516ea4[_0x53f7f4(0x390)]?this[_0x53f7f4(0x29c)][_0x53f7f4(0x2f2)](oe,this['unitID'],this[_0x53f7f4(0x242)],_0x307ec4,_0x516ea4,this[_0x53f7f4(0x397)],void 0x0):this[_0x53f7f4(0x29c)][_0x53f7f4(0x2f2)](le,this[_0x53f7f4(0x2b6)],this['type'],_0x307ec4,this[_0x53f7f4(0x397)]);_0x32892b['_updateLocalCache'](),this[_0x53f7f4(0x397)][_0x53f7f4(0x3ab)](this,_0x32892b);},_0x58839c);}[_0x2c1408(0x2f3)](){var _0x2a95cc=_0x2c1408,_0x24f80b;const _0x8cca41=this[_0x2a95cc(0x2f7)][_0x2a95cc(0x24c)](q);return(_0x24f80b=_0x8cca41==null?void 0x0:_0x8cca41['sendChangesetTimeout'])!=null?_0x24f80b:En;}[_0x2c1408(0x2c7)](){var _0x2113ad=_0x2c1408;throw new Error(_0x2113ad(0x15a));}[_0x2c1408(0x298)](){var _0x2671f2=_0x2c1408;this[_0x2671f2(0x2e0)]!=null&&(clearTimeout(this[_0x2671f2(0x2e0)]),this['_sendingTimer']=null);}[_0x2c1408(0x10d)](_0x384b9b){var _0x237e55=_0x2c1408;return this[_0x237e55(0x298)](),this[_0x237e55(0x29c)][_0x237e55(0x2f2)](ue,this[_0x237e55(0x2b6)],this[_0x237e55(0x242)],null,this[_0x237e55(0xd1)],this[_0x237e55(0x397)],_0x384b9b);}};ae=Te([P(0x4,_0x53facb(_0x29a7fb)),P(0x5,_0x53facb(_0x43443f)),P(0x6,_0x53facb(Le)),P(0x7,_0xa8fd8d),P(0x8,_0xaeb77a),P(0x9,_0x40f6f4),P(0xa,_0x1342c3),P(0xb,_0x283e25),P(0xc,_0x2276dc),P(0xd,_0xef1d69(J))],ae);let le=class extends Ce{constructor(_0x43ff9b,_0xb0b3c1,_0x5601ec,_0x59aec3,_0x56efd6,_0x340e99,_0xfe171b,_0x3d1487,_0x24fd97,_0x9a3011,_0x236297){var _0x4d31a7=_0x2c1408;super(_0x43ff9b,_0xb0b3c1,_0x5601ec,[],_0x59aec3,_0xfe171b,_0x9a3011,_0x340e99,_0x236297),N(this,_0x4d31a7(0x270),_0x4d31a7(0x224)),N(this,'_resendTimeout',0x0),N(this,_0x4d31a7(0x165)),N(this,_0x4d31a7(0x1ac)),(this[_0x4d31a7(0x29c)]=_0x56efd6,this[_0x4d31a7(0x2f9)]=_0x3d1487,this[_0x4d31a7(0x284)]=_0x24fd97);}[_0x2c1408(0x1f6)](_0xf2d52){var _0x272a19=_0x2c1408;this[_0x272a19(0x298)]();const _0x1c7baf=this[_0x272a19(0x29c)]['createInstance'](oe,this[_0x272a19(0x2b6)],this[_0x272a19(0x242)],this[_0x272a19(0xf1)],[_0xf2d52],this['_handler'],this[_0x272a19(0x165)]);return _0x1c7baf[_0x272a19(0x336)](),_0x1c7baf;}['onRemoteChangeset'](_0x57527c){var _0x4a7f4f=_0x2c1408;if(this[_0x4a7f4f(0x31c)](_0x57527c))return this[_0x4a7f4f(0x298)](),this['_injector'][_0x4a7f4f(0x2f2)](ee,this['unitID'],this['type'],this[_0x4a7f4f(0xf1)],[],null,[_0x57527c],this[_0x4a7f4f(0x397)]);try{const _0x4c4b87=this['_transformService'][_0x4a7f4f(0x308)]([_0x57527c],[this[_0x4a7f4f(0xf1)]],!0x1);if(_0x5e68dd(_0x4c4b87)){const {c1Prime:_0x58addd,c2Prime:_0x43ef67}=_0x4c4b87;this[_0x4a7f4f(0x3cd)](_0x58addd[0x0]),_0x43ef67[0x0][_0x4a7f4f(0x347)]=this[_0x4a7f4f(0x1cf)](),this[_0x4a7f4f(0x298)]();const _0x454336=this[_0x4a7f4f(0x29c)]['createInstance'](le,this[_0x4a7f4f(0x2b6)],this[_0x4a7f4f(0x242)],_0x43ef67[0x0],this[_0x4a7f4f(0x397)]);return _0x454336['_updateLocalCache'](),_0x454336;}return this['_onConflict'](!0x1);}catch(_0x4b9223){return this[_0x4a7f4f(0x2f9)][_0x4a7f4f(0x2f4)](_0x4b9223),this[_0x4a7f4f(0x10d)](!0x1);}}[_0x2c1408(0x2ff)](_0x23e73d){var _0x32497d=_0x2c1408;this[_0x32497d(0x298)]();const _0x21ebd9=this[_0x32497d(0x1ad)][_0x32497d(0x1b0)](this[_0x32497d(0x2b6)]);if(_0x23e73d[_0x32497d(0x27b)]<_0x21ebd9-0x1)return this;if(this[_0x32497d(0x31c)](_0x23e73d))return this['_injector']['createInstance'](ee,this['unitID'],this[_0x32497d(0x242)],null,[],this[_0x32497d(0xf1)],[],this[_0x32497d(0x397)]);this[_0x32497d(0x3c7)]();const _0x54bd75=this[_0x32497d(0x29c)][_0x32497d(0x2f2)](Ne,this[_0x32497d(0x2b6)],this[_0x32497d(0x242)],this[_0x32497d(0x397)]);return _0x54bd75['_updateLocalCache'](),_0x54bd75;}[_0x2c1408(0x23c)](_0x3efbd0){var _0x225053=_0x2c1408;return this[_0x225053(0x10d)](!!(_0x3efbd0!=null&&_0x3efbd0['isPermissionRej']));}['onRemoteRetry'](_0x45e8d7){var _0x5b6d3f=_0x2c1408;return this[_0x5b6d3f(0x3c5)]>Oi?this[_0x5b6d3f(0x13d)]():(this['_resendTimer']=Ri(this[_0x5b6d3f(0x3c5)],{'timeout':this[_0x5b6d3f(0x3c5)],'reqId':_0x45e8d7[_0x5b6d3f(0x34b)]}),this['_sender']=this['_resendTimer'][_0x5b6d3f(0x15d)](({reqId:_0x184dbf,timeout:_0x4576f3})=>{var _0x1cb015=_0x5b6d3f;this[_0x1cb015(0x24d)](_0x184dbf,_0x4576f3);}),this);}[_0x2c1408(0x13d)](){var _0x2632e7=_0x2c1408;return this[_0x2632e7(0x298)](),this['_injector']['createInstance'](de,this[_0x2632e7(0x2b6)],this[_0x2632e7(0x242)],this['_awaitingChangeset'],[],this[_0x2632e7(0x397)]);}[_0x2c1408(0x25a)](){return this;}[_0x2c1408(0x2c7)](){var _0x52e9a0=_0x2c1408;this[_0x52e9a0(0x397)]['onSendChangeset'](this[_0x52e9a0(0xf1)]);}[_0x2c1408(0x10d)](_0x5e5afe){var _0x48eec6=_0x2c1408;return this[_0x48eec6(0x298)](),this[_0x48eec6(0x29c)][_0x48eec6(0x2f2)](ue,this[_0x48eec6(0x2b6)],this[_0x48eec6(0x242)],this[_0x48eec6(0xf1)],[],this[_0x48eec6(0x397)],_0x5e5afe);}['_resendWithTimeout'](_0x293836,_0x5c018a){var _0x44aa41=_0x2c1408,_0xfbef1a;_0x293836===((_0xfbef1a=this[_0x44aa41(0xf1)])==null?void 0x0:_0xfbef1a[_0x44aa41(0x34b)])&&(this['resend'](),this[_0x44aa41(0x3c5)]=_0x5c018a===0x0?0x3e8:_0x5c018a*0x2);}[_0x2c1408(0x298)](){var _0x2fd17d;(_0x2fd17d=this['_sender'])==null||_0x2fd17d['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x53facb(_0x29a7fb)),P(0x5,_0x53facb(_0x43443f)),P(0x6,_0xaeb77a),P(0x7,_0xa8fd8d),P(0x8,_0x1342c3),P(0x9,_0x2276dc),P(0xa,_0xef1d69(J))],le);let oe=class extends Ce{constructor(_0x6cd9e3,_0x5ac775,_0x5aead9,_0x52ce3c,_0x1e2ae6,_0x4e5abb,_0x3c4778,_0x34e49c,_0x54832e,_0x153575,_0x247475,_0x128bab,_0x5f5b43){var _0x560efe=_0x2c1408;super(_0x6cd9e3,_0x5ac775,_0x5aead9,_0x52ce3c,_0x1e2ae6,_0x54832e,_0x128bab,_0x34e49c,_0x5f5b43),N(this,'status',_0x560efe(0xe9)),N(this,_0x560efe(0x3c5),0x0),N(this,_0x560efe(0x165)),N(this,_0x560efe(0x1ac)),(this['_injector']=_0x3c4778,this[_0x560efe(0x2f9)]=_0x153575,this[_0x560efe(0x284)]=_0x247475,this[_0x560efe(0x360)]=_0x5f5b43,_0x4e5abb&&(this[_0x560efe(0x165)]=_0x4e5abb,this[_0x560efe(0x1ac)]=this['_resendTimer'][_0x560efe(0x15d)](({reqId:_0x133d8f,timeout:_0x71ad03})=>{this['_resendWithTimeout'](_0x133d8f,_0x71ad03);})));}[_0x2c1408(0x1f6)](_0xcce11a){var _0x12630b=_0x2c1408;return this[_0x12630b(0xd1)][_0x12630b(0x14c)](_0xcce11a),this;}[_0x2c1408(0x23b)](_0x582e42){var _0x5cdc41=_0x2c1408;if(this[_0x5cdc41(0x31c)](_0x582e42))return this[_0x5cdc41(0x298)](),this[_0x5cdc41(0x29c)][_0x5cdc41(0x2f2)](ee,this[_0x5cdc41(0x2b6)],this[_0x5cdc41(0x242)],this[_0x5cdc41(0xf1)],this['_pendingMutations'],null,[_0x582e42],this['_handler']);try{const _0x2fd70e=this[_0x5cdc41(0x284)]['transformChangesets']([_0x582e42],[this[_0x5cdc41(0xf1)]],!0x1);if(_0x5e68dd(_0x2fd70e)){const {c1Prime:_0x48c8fd,c2Prime:_0x3b46a8}=_0x2fd70e,_0x55f498=this[_0x5cdc41(0x284)][_0x5cdc41(0x1c7)](_0x48c8fd[0x0],this[_0x5cdc41(0xd1)]);if(_0x491605(_0x55f498)){const {c1Prime:_0x25a438,m2Prime:_0x5a57af}=_0x55f498;return this[_0x5cdc41(0x3cd)](_0x25a438),_0x3b46a8[0x0][_0x5cdc41(0x347)]=this['_getCurrentRevision'](),this[_0x5cdc41(0x298)](),this[_0x5cdc41(0x29c)]['createInstance'](oe,this[_0x5cdc41(0x2b6)],this[_0x5cdc41(0x242)],_0x3b46a8[0x0],_0x5a57af,this['_handler'],void 0x0);}throw _0x55f498[_0x5cdc41(0x2f4)];}throw _0x2fd70e['error'];}catch(_0x23609d){return this[_0x5cdc41(0x2f9)]['error'](_0x23609d),this[_0x5cdc41(0x10d)](!0x1);}}[_0x2c1408(0x2ff)](_0x1c2336){var _0x39288a=_0x2c1408;if(this[_0x39288a(0x298)](),this['_checkMissing'](_0x1c2336))return this[_0x39288a(0x29c)][_0x39288a(0x2f2)](ee,this['unitID'],this[_0x39288a(0x242)],null,this[_0x39288a(0xd1)],this[_0x39288a(0xf1)],[],this['_handler']);this[_0x39288a(0x3c7)]();const _0x53c9a6=this[_0x39288a(0x29c)][_0x39288a(0x2f2)](ae,this[_0x39288a(0x2b6)],this[_0x39288a(0x242)],this['_pendingMutations'],this['_handler']);return _0x53c9a6[_0x39288a(0x259)](),_0x53c9a6[_0x39288a(0x336)](),_0x53c9a6;}[_0x2c1408(0x23c)](_0x1378a8){var _0xf989a8=_0x2c1408;return this['_onConflict'](!!(_0x1378a8!=null&&_0x1378a8[_0xf989a8(0x2d9)]));}[_0x2c1408(0x39a)](_0x92c0a0){var _0x15854d=_0x2c1408;return this[_0x15854d(0x3c5)]>Oi?this['toggleOffline']():(this[_0x15854d(0x165)]=Ri(this[_0x15854d(0x3c5)],{'timeout':this[_0x15854d(0x3c5)],'reqId':_0x92c0a0['reqId']}),this['_sender']=this[_0x15854d(0x165)][_0x15854d(0x15d)](({reqId:_0x32dc79,timeout:_0x39a498})=>{var _0x3fdbb3=_0x15854d;this[_0x3fdbb3(0x24d)](_0x32dc79,_0x39a498);}),this);}[_0x2c1408(0x13d)](){var _0x321977=_0x2c1408;return this[_0x321977(0x298)](),this[_0x321977(0x29c)][_0x321977(0x2f2)](de,this[_0x321977(0x2b6)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x321977(0x397)]);}[_0x2c1408(0x25a)](){return this;}['resend'](){var _0x1e43d5=_0x2c1408;this[_0x1e43d5(0x397)][_0x1e43d5(0x24f)](this[_0x1e43d5(0xf1)]);}[_0x2c1408(0x10d)](_0x19688d){var _0x48c078=_0x2c1408;return this[_0x48c078(0x298)](),this['_injector'][_0x48c078(0x2f2)](ue,this[_0x48c078(0x2b6)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x19688d);}[_0x2c1408(0x24d)](_0x2af636,_0x18d5fc){var _0x2fc1ca=_0x2c1408,_0x22eafd;_0x2af636===((_0x22eafd=this[_0x2fc1ca(0xf1)])==null?void 0x0:_0x22eafd[_0x2fc1ca(0x34b)])&&(this[_0x2fc1ca(0x2c7)](),this[_0x2fc1ca(0x3c5)]=_0x18d5fc===0x0?0x3e8:_0x18d5fc*0x2);}['_clearScheduledTask'](){var _0x298d16=_0x2c1408,_0x7150b;(_0x7150b=this['_sender'])==null||_0x7150b['unsubscribe'](),this[_0x298d16(0x3c5)]=0x0;}};oe=Te([P(0x6,_0x53facb(_0x29a7fb)),P(0x7,_0x53facb(_0x43443f)),P(0x8,_0xaeb77a),P(0x9,_0xa8fd8d),P(0xa,_0x1342c3),P(0xb,_0x2276dc),P(0xc,_0xef1d69(J))],oe);let ue=class extends Ce{constructor(_0x401c1b,_0x2a68b0,_0x525b0b,_0x5fba35,_0x35a11b,_0x539c6=!0x1,_0x4f0387,_0x5143a2,_0x181977,_0x308bba,_0x4392fd,_0x260444,_0x47a872){var _0x48dcab=_0x2c1408;super(_0x401c1b,_0x2a68b0,_0x525b0b,_0x5fba35,_0x35a11b,_0x5143a2,_0x181977,_0x308bba,_0x47a872),N(this,'status',_0x48dcab(0x299)),(this[_0x48dcab(0x26d)]=_0x539c6,this[_0x48dcab(0x372)]=_0x4f0387,this['_localeService']=_0x4392fd,this[_0x48dcab(0x309)]=_0x260444,this[_0x48dcab(0x360)]=_0x47a872,this[_0x48dcab(0x16e)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x2c1408(0x1f6)](){return this;}[_0x2c1408(0x23b)](){return this;}[_0x2c1408(0x2ff)](){return this;}['onRemoteRej'](){return this;}[_0x2c1408(0x39a)](){return this;}[_0x2c1408(0x13d)](){return this;}[_0x2c1408(0x25a)](){return this;}[_0x2c1408(0x2c7)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2c1408(0x31d)](){var _0x1d6cec=_0x2c1408,_0x56752c;(_0x56752c=this[_0x1d6cec(0x33e)])==null||_0x56752c[_0x1d6cec(0x33a)](this[_0x1d6cec(0x2b6)],this['type'],null,[]);}[_0x2c1408(0x16e)](){var _0x5e6b26=_0x2c1408;this[_0x5e6b26(0x26d)]?this[_0x5e6b26(0x309)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x5e6b26(0x309)]['emitEvent']({'id':re[_0x5e6b26(0x2f6)]});}[_0x2c1408(0x1b5)](){var _0x2da6ea=_0x2c1408;this['_permissionService']['updatePermissionPoint'](new _0xd3dbde(this[_0x2da6ea(0x2b6)])['id'],!0x1);}};ue=Te([P(0x6,_0x53facb(_0x4bffcb)),P(0x7,_0xaeb77a),P(0x8,_0x2276dc),P(0x9,_0x53facb(_0x43443f)),P(0xa,_0x53facb(_0x2678bb)),P(0xb,_0x53facb(pe)),P(0xc,_0xef1d69(J))],ue);let de=class extends Ce{constructor(_0x4da1c2,_0x4c3e1f,_0x250fcc,_0x4e6741,_0x2a8a8e,_0x5d5c53,_0x48e1ec,_0x365906,_0x5f2972,_0x2e9a4b){var _0x3026f3=_0x2c1408;super(_0x4da1c2,_0x4c3e1f,_0x250fcc,_0x4e6741,_0x2a8a8e,_0x365906,_0x5f2972,_0x48e1ec,_0x2e9a4b),N(this,_0x3026f3(0x270),_0x3026f3(0x1d3)),this[_0x3026f3(0x29c)]=_0x5d5c53;}[_0x2c1408(0x1f6)](_0x5ba087){var _0x9d25e0=_0x2c1408;return this[_0x9d25e0(0xd1)][_0x9d25e0(0x14c)](_0x5ba087),this[_0x9d25e0(0x336)](),this;}[_0x2c1408(0x23b)](_0x12f968){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2c1408(0x2ff)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2c1408(0x23c)](){var _0x160092=_0x2c1408;throw new Error(_0x160092(0x1cd));}[_0x2c1408(0x39a)](){return this;}['toggleOffline'](){return this;}[_0x2c1408(0x25a)](){var _0x180f28=_0x2c1408;const {_injector:_0x1614b0,_pendingMutations:_0x1fced3,_awaitingChangeset:_0x17b50e,unitID:_0xe44ca9,_handler:_0x185141,type:_0x115ce5}=this,_0x5dcfbe=yi(_0x1614b0,_0xe44ca9,_0x115ce5,_0x17b50e,_0x1fced3,_0x185141);return _0x5dcfbe instanceof ae?_0x5dcfbe[_0x180f28(0x259)]():(_0x5dcfbe instanceof oe||_0x5dcfbe instanceof le)&&_0x5dcfbe['resend'](),_0x5dcfbe;}[_0x2c1408(0x2c7)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x53facb(_0x29a7fb)),P(0x6,_0x53facb(_0x43443f)),P(0x7,_0xaeb77a),P(0x8,_0x2276dc),P(0x9,_0xef1d69(J))],de);let ee=class extends Ce{constructor(_0x2b58c7,_0x7b53db,_0x529f26,_0x5aeb07,_0x3319a3,_0x27718a,_0x31ca16,_0x3f97cc,_0x397f4f,_0x49ac58,_0x12ea54,_0x6c5109,_0x402f26,_0x7c1f2d){var _0x25bdf0=_0x2c1408;super(_0x2b58c7,_0x7b53db,_0x529f26,_0x5aeb07,_0x31ca16,_0x12ea54,_0x6c5109,_0x397f4f,_0x7c1f2d),N(this,_0x25bdf0(0x270),_0x25bdf0(0x1cb)),(this[_0x25bdf0(0x139)]=_0x3319a3,this['_queuedRemoteChangesets']=_0x27718a,this['_injector']=_0x3f97cc,this['_logService']=_0x49ac58,this['_transformService']=_0x402f26,this[_0x25bdf0(0x360)]=_0x7c1f2d);}[_0x2c1408(0x214)](_0x2ebb15){var _0x404153=_0x2c1408;try{const _0xcab61f=[..._0x2ebb15,...this[_0x404153(0x34a)]],_0x24af32=[this[_0x404153(0xf1)]||this[_0x404153(0x139)]][_0x404153(0xfc)](_0x1c9948=>!!_0x1c9948);let _0xce7bfc,_0x333841;if(_0x24af32[_0x404153(0x390)]){const _0x4c32d0=this[_0x404153(0x284)][_0x404153(0x308)](_0xcab61f,_0x24af32,!0x1);if(!_0x5e68dd(_0x4c32d0))throw _0x4c32d0[_0x404153(0x2f4)];_0xce7bfc=_0x4c32d0['c1Prime'],_0x333841=_0x4c32d0['c2Prime'];}else _0xce7bfc=_0xcab61f,_0x333841=[];let _0x26d5b9=this[_0x404153(0xd1)];_0xce7bfc['forEach'](_0x4cac56=>{var _0x3d6edb=_0x404153;let _0x124567;if(_0x26d5b9[_0x3d6edb(0x390)]){const _0x90feeb=this[_0x3d6edb(0x284)]['transformMutationsWithChangeset'](_0x4cac56,_0x26d5b9);if(!_0x491605(_0x90feeb))throw _0x90feeb[_0x3d6edb(0x2f4)];_0x124567=_0x90feeb[_0x3d6edb(0x2ab)],_0x26d5b9=_0x90feeb[_0x3d6edb(0x33f)];}else _0x124567=_0x4cac56;this[_0x3d6edb(0x3cd)](_0x124567);}),this[_0x404153(0x139)]&&this[_0x404153(0x3c7)](),this[_0x404153(0xf1)]&&_0x333841[_0x404153(0x390)]&&(_0x333841[0x0][_0x404153(0x347)]=this[_0x404153(0x1cf)]());let _0x59e5d9;if(this[_0x404153(0xf1)]&&_0x26d5b9[_0x404153(0x390)]!==0x0)_0x59e5d9=this['_injector']['createInstance'](oe,this[_0x404153(0x2b6)],this[_0x404153(0x242)],_0x333841[0x0],_0x26d5b9,this[_0x404153(0x397)],void 0x0);else{if(this['_awaitingChangeset']&&_0x26d5b9[_0x404153(0x390)]===0x0)_0x333841[0x0]['baseRev']=this[_0x404153(0x1cf)](),_0x59e5d9=this[_0x404153(0x29c)][_0x404153(0x2f2)](le,this[_0x404153(0x2b6)],this['type'],_0x333841[0x0],this[_0x404153(0x397)]);else{if(_0x26d5b9[_0x404153(0x390)]!==0x0){const _0x3cf208=this[_0x404153(0x29c)][_0x404153(0x2f2)](ae,this[_0x404153(0x2b6)],this[_0x404153(0x242)],_0x26d5b9,this[_0x404153(0x397)]);_0x3cf208[_0x404153(0x259)](),_0x59e5d9=_0x3cf208;}else _0x59e5d9=this['_injector'][_0x404153(0x2f2)](Ne,this[_0x404153(0x2b6)],this[_0x404153(0x242)],this['_handler']);}}return _0x59e5d9[_0x404153(0x336)](),_0x59e5d9;}catch(_0x5a165d){return this[_0x404153(0x2f9)][_0x404153(0x2f4)]('[FetchMissState]',_0x404153(0x101),_0x5a165d),this['_injector']['createInstance'](ue,this[_0x404153(0x2b6)],this['type'],this[_0x404153(0xf1)],this[_0x404153(0xd1)],this[_0x404153(0x397)],!0x1);}}[_0x2c1408(0x2c7)](){var _0x5f503c=_0x2c1408;throw new Error(_0x5f503c(0x113));}[_0x2c1408(0x1f6)](_0x14c97b){var _0xfdb5fb=_0x2c1408;return this[_0xfdb5fb(0xd1)][_0xfdb5fb(0x14c)](_0x14c97b),this;}['onRemoteChangeset'](_0x4804f6){var _0x3d957b=_0x2c1408;return this[_0x3d957b(0x34a)]['push'](_0x4804f6),this;}[_0x2c1408(0x2ff)](_0x22bd1a){var _0xdd35a3=_0x2c1408;if(this[_0xdd35a3(0xf1)])return this[_0xdd35a3(0x139)]=this[_0xdd35a3(0xf1)],this[_0xdd35a3(0xf1)]=null,this;throw new Error(_0xdd35a3(0x37e));}[_0x2c1408(0x23c)](_0x3ed353){var _0x1e8d6a=_0x2c1408;return this[_0x1e8d6a(0x10d)](!!(_0x3ed353!=null&&_0x3ed353[_0x1e8d6a(0x2d9)]));}['onRemoteRetry'](){return this;}[_0x2c1408(0x13d)](){var _0x386c86=_0x2c1408;return this[_0x386c86(0x29c)][_0x386c86(0x2f2)](de,this[_0x386c86(0x2b6)],this[_0x386c86(0x242)],this[_0x386c86(0xf1)],this[_0x386c86(0xd1)],this[_0x386c86(0x397)]);}[_0x2c1408(0x25a)](){return this;}['_onConflict'](_0xdf0acc){var _0x48f594=_0x2c1408;return this[_0x48f594(0x29c)]['createInstance'](ue,this['unitID'],this[_0x48f594(0x242)],this[_0x48f594(0xf1)],this[_0x48f594(0xd1)],this['_handler'],_0xdf0acc);}};ee=Te([P(0x7,_0x53facb(_0x29a7fb)),P(0x8,_0x53facb(_0x43443f)),P(0x9,_0xa8fd8d),P(0xa,_0xaeb77a),P(0xb,_0x2276dc),P(0xc,_0x1342c3),P(0xd,_0xef1d69(J))],ee);function yi(_0x4e6204,_0x8c4788,_0x3e2614,_0x1a2b69,_0x400906,_0x34521e){var _0x11a309=_0x2c1408;return _0x1a2b69&&_0x400906[_0x11a309(0x390)]?_0x4e6204[_0x11a309(0x2f2)](oe,_0x8c4788,_0x3e2614,_0x1a2b69,_0x400906,_0x34521e,void 0x0):_0x1a2b69?_0x4e6204['createInstance'](le,_0x8c4788,_0x3e2614,_0x1a2b69,_0x34521e):_0x400906['length']?_0x4e6204[_0x11a309(0x2f2)](ae,_0x8c4788,_0x3e2614,_0x400906,_0x34521e):_0x4e6204[_0x11a309(0x2f2)](Ne,_0x8c4788,_0x3e2614,_0x34521e);}var as=Object[_0x2c1408(0x20c)],Lt=(_0x226a72,_0x4c96f0,_0x4cd31b,_0x3344e8)=>{var _0x4257bb=_0x2c1408;for(var _0x5c878b=_0x3344e8>0x1?void 0x0:_0x3344e8?as(_0x4c96f0,_0x4cd31b):_0x4c96f0,_0x2a13b7=_0x226a72[_0x4257bb(0x390)]-0x1,_0x46af24;_0x2a13b7>=0x0;_0x2a13b7--)(_0x46af24=_0x226a72[_0x2a13b7])&&(_0x5c878b=_0x46af24(_0x5c878b)||_0x5c878b);return _0x5c878b;},H=(_0x4e9936,_0x558245)=>(_0x68a1ff,_0x4e6e80)=>_0x558245(_0x68a1ff,_0x4e6e80,_0x4e9936);let nt=class extends _0x365189{constructor(_0x59012f,_0xca14c2,_0x58a2a1,_0x9fe069,_0x20c79e,_0x3c1e94,_0x3dd984,_0x379648,_0x4c7fb3,_0x5e3ac6,_0x37fdd,_0xa8668d,_0x1c6c4f){var _0x394ac1=_0x2c1408;super(),N(this,_0x394ac1(0x295),new _0x18351b(null)),N(this,_0x394ac1(0x2e3),this['_state$'][_0x394ac1(0xf7)]()),N(this,_0x394ac1(0x364)),N(this,_0x394ac1(0x161),!0x1),N(this,_0x394ac1(0x19b),''),N(this,_0x394ac1(0x35c),0x0),N(this,_0x394ac1(0xfd),this[_0x394ac1(0x2e3)]['pipe'](_0x3b38e2(_0x386972=>_0x386972?_0x386972[_0x394ac1(0x270)]:bi[_0x394ac1(0x396)]),_0x1af8ff(0x1))),N(this,_0x394ac1(0x20a),!0x1),N(this,_0x394ac1(0x31a),[]),(this[_0x394ac1(0x2b6)]=_0x59012f,this[_0x394ac1(0x2fd)]=_0xca14c2,this[_0x394ac1(0x286)]=_0x58a2a1,this[_0x394ac1(0x29c)]=_0x9fe069,this[_0x394ac1(0x1e3)]=_0x20c79e,this[_0x394ac1(0x3c4)]=_0x3c1e94,this[_0x394ac1(0x1ad)]=_0x3dd984,this[_0x394ac1(0x326)]=_0x379648,this[_0x394ac1(0x2f9)]=_0x4c7fb3,this[_0x394ac1(0x30a)]=_0x5e3ac6,this['_permissionService']=_0x37fdd,this['_singleActiveUnitService']=_0xa8668d,this[_0x394ac1(0x33e)]=_0x1c6c4f);}get[_0x2c1408(0x20d)](){var _0xe3a714=_0x2c1408;return this[_0xe3a714(0x364)];}async[_0x2c1408(0x133)](){var _0x2bd8a3=_0x2c1408;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x2bd8a3(0x378)]();}[_0x2c1408(0x28f)](){var _0x25fd53=_0x2c1408;return this[_0x25fd53(0x161)]=!0x0,_0x3354be(()=>{var _0x389021=_0x25fd53;this[_0x389021(0x161)]=!0x1,this[_0x389021(0x202)]();});}[_0x2c1408(0x335)](_0x242380){this['_onLocalMutation'](_0x242380);}[_0x2c1408(0xe1)](_0x2d4dc3){var _0x1ccd12=_0x2c1408;this['_state']=_0x2d4dc3,this['_state$'][_0x1ccd12(0x1b2)](_0x2d4dc3);}async['_init'](){var _0x2b05cb=_0x2c1408,_0x3893e9;this[_0x2b05cb(0xe1)](await this[_0x2b05cb(0x194)]()),this[_0x2b05cb(0x175)]&&((_0x3893e9=this['_singleActiveUnitService'])==null||_0x3893e9[_0x2b05cb(0x1f8)](this[_0x2b05cb(0x2b6)]),this['disposeWithMe'](this[_0x2b05cb(0x175)]['getUnitStatus$'](this[_0x2b05cb(0x2b6)])[_0x2b05cb(0x15d)](_0x491c49=>{var _0x4c7af3=_0x2b05cb;this[_0x4c7af3(0x2f9)]['debug'](_0x4c7af3(0x1e9),'editing\x20status\x20changed\x20to',_0x491c49),_0x491c49===Ci['OTHER_CLIENTS_EDITING']?(this[_0x4c7af3(0x326)]['emitEvent']({'id':re['OTHER_CLIENT_EDITING']}),this[_0x4c7af3(0x372)][_0x4c7af3(0x2d7)](new _0xd3dbde(this['unitID'])['id'],!0x1),this[_0x4c7af3(0x372)][_0x4c7af3(0x12d)](!0x1)):(this[_0x4c7af3(0x372)][_0x4c7af3(0x2d7)](new _0xd3dbde(this[_0x4c7af3(0x2b6)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x2e1062=!0x1;return this[_0x2b05cb(0xe2)](this['session'][_0x2b05cb(0x38b)]['subscribe'](_0x68d2ef=>{var _0x8a3d4a=_0x2b05cb;_0x68d2ef===Ee[_0x8a3d4a(0x234)]?this[_0x8a3d4a(0x2c5)](_0x2e1062):_0x68d2ef===Ee['OFFLINE']&&(_0x2e1062=!0x0,this['_toggleOffline']());})),this[_0x2b05cb(0xe2)](this['session']['event$']['subscribe'](_0x48cec2=>{var _0x426086=_0x2b05cb;try{switch(_0x48cec2[_0x426086(0x1c2)]){case _0x1d6d57['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x3f2bb8(_0x48cec2[_0x426086(0x1fe)]));break;}case _0x1d6d57[_0x426086(0xcd)]:{this['_onRemoteACK'](_0x48cec2['data']);break;}case _0x1d6d57[_0x426086(0x2c3)]:{this[_0x426086(0x331)]();break;}case _0x1d6d57[_0x426086(0x27f)]:{this[_0x426086(0x392)](_0x48cec2[_0x426086(0x1fe)]);break;}case _0x1d6d57[_0x426086(0x117)]:{this[_0x426086(0x3aa)](_0x48cec2[_0x426086(0x1fe)][_0x426086(0x209)][_0x426086(0x231)](_0x56c281=>_0x3f2bb8(_0x56c281)));break;}case _0x1d6d57[_0x426086(0x1c8)]:{this[_0x426086(0x331)]({'isPermissionRej':!0x0});break;}case _0x1d6d57[_0x426086(0x34f)]:break;}}catch(_0x3e9fab){throw console[_0x426086(0x2f4)](_0x426086(0x11c),_0x3e9fab),_0x3e9fab;}})),this['_state'];}[_0x2c1408(0x197)](){var _0x53ea69=_0x2c1408;this[_0x53ea69(0x20a)]=!0x1;}[_0x2c1408(0x30f)](){var _0x13af05=_0x2c1408;if(this[_0x13af05(0x20a)])throw new Error(_0x13af05(0x221));this['_transitionLocked']=!0x0;}[_0x2c1408(0x2b4)](_0x35c625){var _0x24a6ec=_0x2c1408;this[_0x24a6ec(0x30f)](),this[_0x24a6ec(0xe1)](this[_0x24a6ec(0x364)][_0x24a6ec(0x1f6)](_0x35c625)),this[_0x24a6ec(0x197)]();}[_0x2c1408(0x204)](_0xa04eec){var _0x1aab74=_0x2c1408;if(!(_0xa04eec[_0x1aab74(0x27b)]<=this[_0x1aab74(0x1ad)][_0x1aab74(0x1b0)](this['unitID']))){if(this[_0x1aab74(0x161)]){this[_0x1aab74(0x31a)][_0x1aab74(0x14c)](_0xa04eec);return;}this[_0x1aab74(0x3d0)](_0xa04eec);}}[_0x2c1408(0x202)](){var _0x603821=_0x2c1408;this['_remoteChangesetQueue'][_0x603821(0x11b)](_0x594a55=>this[_0x603821(0x3d0)](_0x594a55)),this['_remoteChangesetQueue']=[];}[_0x2c1408(0x3d0)](_0x43dcfe){var _0x54ab32=_0x2c1408;const _0x1b562a=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x54ab32(0x1e3)][_0x54ab32(0x207)][_0x54ab32(0x244)]()['COMPRESS_MUTATION_APPLY'])(_0x43dcfe[_0x54ab32(0x1e6)],null)||_0x43dcfe[_0x54ab32(0x1e6)],_0x1370d7={..._0x43dcfe,'mutations':_0x1b562a};this['_lockTransition'](),this[_0x54ab32(0xe1)](this['_state']['onRemoteChangeset'](_0x1370d7)),this['_unlockTransition']();}[_0x2c1408(0xd0)](_0xb72a3){var _0x5bcf77=_0x2c1408;this[_0x5bcf77(0x30f)](),this[_0x5bcf77(0xe1)](this['_state'][_0x5bcf77(0x2ff)](_0xb72a3)),this[_0x5bcf77(0x197)]();}[_0x2c1408(0x331)](_0xd0ac41){var _0x316e6b=_0x2c1408;this['_lockTransition'](),this[_0x316e6b(0xe1)](this[_0x316e6b(0x364)][_0x316e6b(0x23c)](_0xd0ac41)),this['_unlockTransition']();}['_onRemoteRetry'](_0x2220fe){var _0x5a95be=_0x2c1408;this[_0x5a95be(0x30f)](),this[_0x5a95be(0xe1)](this[_0x5a95be(0x364)][_0x5a95be(0x39a)](_0x2220fe)),this['_unlockTransition']();}[_0x2c1408(0x3aa)](_0x1bd813){var _0x523386=_0x2c1408;if(!(this[_0x523386(0x364)]instanceof ee))throw new TypeError(_0x523386(0x2dc));const _0x3355b9=_0x1bd813[_0x523386(0x231)](_0x2f9482=>{var _0x59e3a4=_0x523386;const _0xc1f939=this[_0x59e3a4(0x1e3)]['interceptor'][_0x59e3a4(0x2f0)](this['_compressMutationService'][_0x59e3a4(0x207)][_0x59e3a4(0x244)]()[_0x59e3a4(0x30c)])(_0x2f9482['mutations'],null)||_0x2f9482[_0x59e3a4(0x1e6)];return{..._0x2f9482,'mutations':_0xc1f939};});this[_0x523386(0x30f)](),this[_0x523386(0xe1)](this[_0x523386(0x364)][_0x523386(0x214)](_0x3355b9)),this[_0x523386(0x197)]();}[_0x2c1408(0x156)](){var _0x225cbc=_0x2c1408;this[_0x225cbc(0x30f)](),this['_updateState'](this[_0x225cbc(0x364)]['toggleOffline']()),this[_0x225cbc(0x197)]();}[_0x2c1408(0x2c5)](_0x4a250e=!0x1){var _0x3973e9=_0x2c1408;this[_0x3973e9(0x30f)](),this['_updateState'](this[_0x3973e9(0x364)][_0x3973e9(0x25a)]()),this[_0x3973e9(0x197)]();const _0x50997b=this[_0x3973e9(0x364)];_0x4a250e&&_0x50997b instanceof Ne&&(this[_0x3973e9(0x30f)](),this[_0x3973e9(0xe1)](_0x50997b[_0x3973e9(0x11e)]()),this[_0x3973e9(0x197)]());}async[_0x2c1408(0x194)](){return new Promise(_0x335322=>{var _0x3feb8a=_0x2fd2;this[_0x3feb8a(0x2fd)][_0x3feb8a(0x38b)][_0x3feb8a(0x17a)](_0x242fd6(0x1))['subscribe'](async _0x21d7fa=>{var _0x58b202=_0x3feb8a;_0x335322(await this[_0x58b202(0x38f)](_0x21d7fa===Ee['ONLINE']));});});}['_createHandler'](){var _0x54c696=_0x2c1408;const _0x11c621=this[_0x54c696(0x2b6)];return{'onStateChange':(_0x3e08a2,_0x5603b6)=>{var _0x5951ad=_0x54c696;if(_0x3e08a2!==this['_state'])throw new Error(_0x5951ad(0x12c)+_0x3e08a2[_0x5951ad(0x270)]+_0x5951ad(0x363)+_0x5603b6[_0x5951ad(0x270)]+_0x5951ad(0x100)+this[_0x5951ad(0x364)]['status']);this['_updateState'](_0x5603b6);},'onSendChangeset':_0x24150b=>{var _0x21799d=_0x54c696;_0x24150b[_0x21799d(0x2dd)]||(_0x24150b[_0x21799d(0x2dd)]=this[_0x21799d(0x19b)],_0x24150b[_0x21799d(0x34b)]=++this[_0x21799d(0x35c)]);const _0x8b9088={'eventID':_0x1d6d57[_0x21799d(0x213)],'data':{'unitID':_0x24150b[_0x21799d(0x2b6)],'unitType':this['_type'],'changeset':_0x24150b,'memberID':this[_0x21799d(0x2fd)][_0x21799d(0x1be)]()}};this[_0x21799d(0x2fd)][_0x21799d(0xf2)](_0x8b9088,this[_0x21799d(0x2b6)]);},'onMissingChangesets':({from:_0x19ce06,to:_0x22c23d})=>{var _0x437c22=_0x54c696;this[_0x437c22(0x2f9)]['debug'](_0x437c22(0x1e9),_0x437c22(0x17c)+_0x19ce06+_0x437c22(0x385)+_0x22c23d);const _0x5b5c93={'eventID':_0x1d6d57['FETCH_MISSING'],'data':{'unitID':_0x11c621,'unitType':this[_0x437c22(0x286)],'from':_0x19ce06,'to':_0x22c23d}};this[_0x437c22(0x2fd)][_0x437c22(0xf2)](_0x5b5c93,this[_0x437c22(0x2b6)]);}};}async[_0x2c1408(0x38f)](_0x43035c){var _0x43535d=_0x2c1408,_0x29dbdf,_0x45c5c0,_0x52a643;const _0x2d0084=await((_0x29dbdf=this[_0x43535d(0x33e)])==null?void 0x0:_0x29dbdf[_0x43535d(0x264)](this['unitID'])),_0x3315f1=(_0x45c5c0=_0x2d0084==null?void 0x0:_0x2d0084[_0x43535d(0x1e6)])!=null?_0x45c5c0:[],_0x537cdf=(_0x52a643=_0x2d0084==null?void 0x0:_0x2d0084[_0x43535d(0x29d)])!=null?_0x52a643:null,_0x23cec1=!!(_0x537cdf!=null&&_0x537cdf[_0x43535d(0x2dd)])&&!!(_0x537cdf!=null&&_0x537cdf['reqId']);this[_0x43535d(0x19b)]=_0x23cec1?_0x537cdf[_0x43535d(0x2dd)]:Zn(),this[_0x43535d(0x35c)]=_0x23cec1?_0x537cdf[_0x43535d(0x34b)]:0x0;const _0x5806bd=this['unitID'];try{this[_0x43535d(0x389)](_0x537cdf,_0x3315f1);}catch(_0x25d9c5){this[_0x43535d(0x2f9)][_0x43535d(0x2f4)](_0x25d9c5);}const _0x35d043=this[_0x43535d(0x355)]();if(_0x43035c){const _0x4540a3=yi(this[_0x43535d(0x29c)],_0x5806bd,this[_0x43535d(0x286)],_0x537cdf,_0x3315f1,_0x35d043);return _0x4540a3 instanceof ae?_0x4540a3[_0x43535d(0x259)]():(_0x4540a3 instanceof oe||_0x4540a3 instanceof le)&&_0x4540a3[_0x43535d(0x2c7)](),_0x4540a3;}return this[_0x43535d(0x29c)]['createInstance'](de,_0x5806bd,this[_0x43535d(0x286)],_0x537cdf,_0x3315f1,_0x35d043);}['_replayCachedMutations'](_0x4cf730,_0x5d16a5){var _0x5a5dcf=_0x2c1408,_0x3c6ef9,_0x88009d;const _0x48df53=this[_0x5a5dcf(0x1e3)][_0x5a5dcf(0x207)][_0x5a5dcf(0x2f0)](this[_0x5a5dcf(0x1e3)][_0x5a5dcf(0x207)][_0x5a5dcf(0x244)]()['COMPRESS_MUTATION_APPLY']);(_0x3c6ef9=_0x48df53((_0x4cf730==null?void 0x0:_0x4cf730[_0x5a5dcf(0x1e6)])||[],null))==null||_0x3c6ef9[_0x5a5dcf(0x11b)](_0x45c77c=>this[_0x5a5dcf(0x30a)][_0x5a5dcf(0x177)](_0x45c77c['id'],_0x45c77c[_0x5a5dcf(0x3bc)])),(_0x88009d=_0x48df53(_0x5d16a5||[],null))==null||_0x88009d[_0x5a5dcf(0x11b)](_0x416fc1=>this['_commandService'][_0x5a5dcf(0x177)](_0x416fc1['id'],_0x416fc1['params']));}};nt=Lt([H(0x3,_0x53facb(_0x29a7fb)),H(0x4,_0x53facb(_0x4a2945)),H(0x5,_0x53facb(_0x2678bb)),H(0x6,_0x53facb(_0x43443f)),H(0x7,_0x53facb(pe)),H(0x8,_0xa8fd8d),H(0x9,_0xaeb77a),H(0xa,_0x4bffcb),H(0xb,_0xef1d69(ht)),H(0xc,_0xef1d69(J))],nt);let It=class extends nt{constructor(_0x38f1c5,_0xc04fa3,_0x1d9347,_0x43313b,_0x588f06,_0x555131,_0xf63044,_0x575473,_0x469e98,_0x36271e,_0x7472c,_0x34c06e,_0x51cb15){var _0x4d6b5f=_0x2c1408;super(_0x38f1c5,_0x1d9347,_0xc04fa3,_0x43313b,_0x588f06,_0x555131,_0xf63044,_0x575473,_0x469e98,_0x36271e,_0x7472c,_0x34c06e,_0x51cb15),N(this,_0x4d6b5f(0x18a),null),(this[_0x4d6b5f(0x2b6)]=_0x38f1c5,this[_0x4d6b5f(0x242)]=_0xc04fa3);}[_0x2c1408(0x36c)](_0x5ab439){var _0xf91ecb=_0x2c1408;this[_0xf91ecb(0x18a)]=_0x5ab439;}['dispose'](){var _0xa85bd7=_0x2c1408;this[_0xa85bd7(0x18a)]=null,super[_0xa85bd7(0x2bb)]();}[_0x2c1408(0x355)](){var _0x5e28b9=_0x2c1408;const _0x38fd39=super['_createHandler']();return _0x38fd39[_0x5e28b9(0x367)]=_0x393dc1=>{var _0x42e75e=_0x5e28b9,_0x246978,_0x27c3ae;return(_0x27c3ae=(_0x246978=this['_handlerCallback'])==null?void 0x0:_0x246978[_0x42e75e(0x367)])==null?void 0x0:_0x27c3ae['call'](_0x246978,_0x393dc1);},_0x38fd39[_0x5e28b9(0xf5)]=_0x154cc1=>{var _0x16ec85=_0x5e28b9,_0x3b829c,_0x32da44;return(_0x32da44=(_0x3b829c=this[_0x16ec85(0x18a)])==null?void 0x0:_0x3b829c[_0x16ec85(0xf5)])==null?void 0x0:_0x32da44[_0x16ec85(0x3a9)](_0x3b829c,_0x154cc1);},_0x38fd39[_0x5e28b9(0x2cc)]=_0x195614=>{var _0x47326a=_0x5e28b9,_0x1e1479,_0x40ff65;return(_0x40ff65=(_0x1e1479=this[_0x47326a(0x18a)])==null?void 0x0:_0x1e1479['onTransformSelections'])==null?void 0x0:_0x40ff65[_0x47326a(0x3a9)](_0x1e1479,_0x195614);},_0x38fd39['onSyncEditingCollabCursor']=_0x596ccb=>{var _0x49b546=_0x5e28b9,_0x3fa5a0,_0x402753;return(_0x402753=(_0x3fa5a0=this['_handlerCallback'])==null?void 0x0:_0x3fa5a0[_0x49b546(0x321)])==null?void 0x0:_0x402753['call'](_0x3fa5a0,_0x596ccb);},_0x38fd39['onTransformRemoteChangesetByIMECache']=_0x41a032=>{var _0x20fc80=_0x5e28b9,_0x48bd2a,_0x2dec2e,_0x4d44ed;if(!((_0x48bd2a=this[_0x20fc80(0x18a)])!=null&&_0x48bd2a[_0x20fc80(0x303)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4d44ed=(_0x2dec2e=this[_0x20fc80(0x18a)])==null?void 0x0:_0x2dec2e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4d44ed[_0x20fc80(0x3a9)](_0x2dec2e,_0x41a032);},_0x38fd39[_0x5e28b9(0x1ef)]=_0x37ba71=>{var _0x2b97cb=_0x5e28b9,_0x59c2f1,_0x3a3cd5,_0x1c5884;if(!((_0x59c2f1=this[_0x2b97cb(0x18a)])!=null&&_0x59c2f1[_0x2b97cb(0x1ef)]))throw new Error(_0x2b97cb(0x183));return(_0x1c5884=(_0x3a3cd5=this[_0x2b97cb(0x18a)])==null?void 0x0:_0x3a3cd5[_0x2b97cb(0x1ef)])==null?void 0x0:_0x1c5884[_0x2b97cb(0x3a9)](_0x3a3cd5,_0x37ba71);},_0x38fd39;}async[_0x2c1408(0x378)](){var _0x1cf523=_0x2c1408;const _0x11e889=await super[_0x1cf523(0x378)]();return this[_0x1cf523(0xe2)](this[_0x1cf523(0x30a)][_0x1cf523(0x13f)]((_0x43b01f,_0x1d0595)=>{var _0x8c1172=_0x1cf523;if(_0x43b01f[_0x8c1172(0x242)]!==_0x59f39b[_0x8c1172(0x24a)]||_0x1d0595!=null&&_0x1d0595[_0x8c1172(0x388)]||_0x1d0595!=null&&_0x1d0595[_0x8c1172(0x28b)]||_0x43b01f['id']===_0x6873c4['id'])return;const _0x3ed5bb=_0x43b01f[_0x8c1172(0x3bc)];if((_0x3ed5bb==null?void 0x0:_0x3ed5bb[_0x8c1172(0x33b)])!==this['unitID'])return;const _0x9ab1b1=_0x43b01f,_0x463fe6=this[_0x8c1172(0x1e3)][_0x8c1172(0x207)][_0x8c1172(0x2f0)](this['_compressMutationService'][_0x8c1172(0x207)]['getInterceptPoints']()[_0x8c1172(0x1dd)])([_0x9ab1b1],null)||[_0x9ab1b1];this[_0x8c1172(0x2b4)](_0x463fe6[0x0]);})),_0x11e889;}};It=Lt([H(0x3,_0x53facb(_0x29a7fb)),H(0x4,_0x53facb(_0x4a2945)),H(0x5,_0x53facb(_0x2678bb)),H(0x6,_0x53facb(_0x43443f)),H(0x7,_0x53facb(pe)),H(0x8,_0xa8fd8d),H(0x9,_0xaeb77a),H(0xa,_0x4bffcb),H(0xb,_0xef1d69(ht)),H(0xc,_0xef1d69(J))],It);let Tt=class extends nt{constructor(_0x2a72ff,_0x5b2ee9,_0xea7b3,_0x373fc6,_0x799a05,_0x2ee91b,_0x5b8eb9,_0x26acbf,_0x4eb64a,_0x177237,_0x9625f8,_0x3dce22,_0x28df6f,_0x59fdd0){var _0x290ae8=_0x2c1408;super(_0x2a72ff,_0xea7b3,_0x5b2ee9,_0x373fc6,_0x799a05,_0x2ee91b,_0x5b8eb9,_0x4eb64a,_0x177237,_0x9625f8,_0x3dce22,_0x28df6f,_0x59fdd0),this[_0x290ae8(0x2b6)]=_0x2a72ff,this['type']=_0x5b2ee9,this[_0x290ae8(0x225)]=_0x26acbf;}[_0x2c1408(0x355)](){var _0x3a0499=_0x2c1408;const _0x118417=super[_0x3a0499(0x355)]();return _0x118417[_0x3a0499(0x2cc)]=_0x37d5c6=>this[_0x3a0499(0x225)][_0x3a0499(0x1c0)](_0x37d5c6),_0x118417;}async[_0x2c1408(0x378)](){var _0x392f6a=_0x2c1408;const _0x25d93d=await super[_0x392f6a(0x378)]();return this['disposeWithMe'](this['_commandService'][_0x392f6a(0x13f)]((_0x5dc5f8,_0x4da79d)=>{var _0x16f2df=_0x392f6a;if(_0x5dc5f8[_0x16f2df(0x242)]!==_0x59f39b[_0x16f2df(0x24a)]||_0x4da79d!=null&&_0x4da79d[_0x16f2df(0x388)]||_0x4da79d!=null&&_0x4da79d[_0x16f2df(0x28b)])return;const _0x6f37c8=_0x5dc5f8[_0x16f2df(0x3bc)];if((_0x6f37c8==null?void 0x0:_0x6f37c8[_0x16f2df(0x33b)])!==this[_0x16f2df(0x2b6)])return;const _0x7bd921=_0x5dc5f8,_0x18c28a=this[_0x16f2df(0x1e3)][_0x16f2df(0x207)][_0x16f2df(0x2f0)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x16f2df(0x1dd)])([_0x7bd921],null)||[_0x7bd921];this[_0x16f2df(0x2b4)](_0x18c28a[0x0]);})),_0x25d93d;}};Tt=Lt([H(0x3,_0x53facb(_0x29a7fb)),H(0x4,_0x53facb(_0x4a2945)),H(0x5,_0x53facb(_0x2678bb)),H(0x6,_0x53facb(_0x43443f)),H(0x7,_0x53facb(it)),H(0x8,_0x53facb(pe)),H(0x9,_0xa8fd8d),H(0xa,_0xaeb77a),H(0xb,_0x4bffcb),H(0xc,_0xef1d69(ht)),H(0xd,_0xef1d69(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x5290c6,_0x25d906,_0x44b80f,_0x4782cd)=>{var _0x13c92b=_0x2c1408;for(var _0x5c6499=_0x4782cd>0x1?void 0x0:_0x4782cd?os(_0x25d906,_0x44b80f):_0x25d906,_0x21e19a=_0x5290c6[_0x13c92b(0x390)]-0x1,_0xa4bc72;_0x21e19a>=0x0;_0x21e19a--)(_0xa4bc72=_0x5290c6[_0x21e19a])&&(_0x5c6499=_0xa4bc72(_0x5c6499)||_0x5c6499);return _0x5c6499;},ft=(_0x36394f,_0xe8e5f)=>(_0x59f6c5,_0x37ceb0)=>_0xe8e5f(_0x59f6c5,_0x37ceb0,_0x36394f);let st=class extends _0x365189{constructor(_0x4eebcf,_0xbc1b2,_0x954ee3){var _0x292faa=_0x2c1408;super(),N(this,'_entities',new Map()),N(this,_0x292faa(0xd9),new _0x3997fa()),N(this,'entityInit$',this[_0x292faa(0xd9)][_0x292faa(0xf7)]()),(this[_0x292faa(0x29c)]=_0x4eebcf,this[_0x292faa(0x24e)]=_0xbc1b2,this[_0x292faa(0x167)]=_0x954ee3,this[_0x292faa(0x378)]());}[_0x2c1408(0x2bb)](){var _0x4da1fb=_0x2c1408;super[_0x4da1fb(0x2bb)](),this[_0x4da1fb(0x203)]['forEach'](_0x2ec414=>_0x2ec414['dispose']()),this[_0x4da1fb(0x203)][_0x4da1fb(0x304)]();}[_0x2c1408(0x190)](_0x2e8a9d){var _0x3bf721=_0x2c1408,_0x17f17e;return(_0x17f17e=this[_0x3bf721(0x203)]['get'](_0x2e8a9d))!=null?_0x17f17e:null;}[_0x2c1408(0x116)](_0x54dcb6){var _0x7dfba=_0x2c1408;const _0x44ca96=this[_0x7dfba(0x190)](_0x54dcb6);return _0x44ca96?_0x3946ee(_0x44ca96):this['_entityInit$'][_0x7dfba(0x17a)](_0x2fe085(_0x31a1b5=>_0x31a1b5[_0x7dfba(0x2b6)]===_0x54dcb6));}[_0x2c1408(0x10e)](_0x2c6ac8){var _0x14fe32=_0x2c1408;return _0x3dc94d(this[_0x14fe32(0x116)](_0x2c6ac8)['pipe'](_0x63c395(()=>{})));}[_0x2c1408(0x378)](){var _0x446d62=_0x2c1408;this[_0x446d62(0x167)][_0x446d62(0x12a)](_0x36793f['UNIVER_SHEET'])[_0x446d62(0x17a)](_0x4a3fc5(this[_0x446d62(0x328)]),_0x3ecb70(0x10))[_0x446d62(0x15d)](async _0x34fb2f=>{var _0xd8a3b7=_0x446d62;const _0x3c9109=_0x34fb2f[_0xd8a3b7(0xce)](),_0x2afd98=await this[_0xd8a3b7(0x136)](_0x3c9109,Q['UNIVER_SHEET']);this[_0xd8a3b7(0x203)][_0xd8a3b7(0x1dc)](_0x3c9109,_0x2afd98);}),this[_0x446d62(0x167)][_0x446d62(0x12a)](_0x36793f[_0x446d62(0x18d)])[_0x446d62(0x17a)](_0x4a3fc5(this[_0x446d62(0x328)]),_0x3ecb70(0x10))[_0x446d62(0x17a)](_0x2fe085(_0x546f5e=>!_0x546f5e[_0x446d62(0xce)]()[_0x446d62(0x306)]('__')))[_0x446d62(0x15d)](async _0xbb9709=>{var _0x175ecf=_0x446d62;const _0x165a1e=_0xbb9709[_0x175ecf(0xce)](),_0x2057f3=await this[_0x175ecf(0x136)](_0x165a1e,Q[_0x175ecf(0x18d)]);this[_0x175ecf(0x203)][_0x175ecf(0x1dc)](_0x165a1e,_0x2057f3);}),_0x23b7d5(this[_0x446d62(0x167)][_0x446d62(0xfe)](_0x36793f[_0x446d62(0x170)]),this[_0x446d62(0x167)][_0x446d62(0xfe)](_0x36793f[_0x446d62(0x18d)]))[_0x446d62(0x17a)](_0x4a3fc5(this[_0x446d62(0x328)]))[_0x446d62(0x15d)](_0xd7a866=>{var _0x5ba1e1=_0x446d62;const _0x11b434=_0xd7a866[_0x5ba1e1(0xce)](),_0x2a3ade=this[_0x5ba1e1(0x203)][_0x5ba1e1(0x1d6)](_0x11b434);_0x2a3ade&&(_0x2a3ade[_0x5ba1e1(0x2bb)](),this[_0x5ba1e1(0x203)][_0x5ba1e1(0x2d5)](_0x11b434));});}async[_0x2c1408(0x136)](_0x3df1a0,_0x599e50){var _0x1562f8=_0x2c1408;const _0x2b4d31=await this['_collabSessionService'][_0x1562f8(0x238)](_0x3df1a0),_0x610071=this[_0x1562f8(0x29c)][_0x1562f8(0x2f2)](this[_0x1562f8(0x14d)](_0x599e50),_0x3df1a0,_0x599e50,_0x2b4d31);return await _0x610071[_0x1562f8(0x133)](),this[_0x1562f8(0xd9)][_0x1562f8(0x1b2)](_0x610071),_0x610071;}[_0x2c1408(0x14d)](_0x45c561){var _0x1fd010=_0x2c1408;switch(_0x45c561){case Q[_0x1fd010(0x18d)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x1fd010(0x145)+_0x45c561);}}};st=cs([ft(0x0,_0x53facb(_0x29a7fb)),ft(0x1,_0x53facb(xe)),ft(0x2,_0x283e25)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x2eb108,_0x1b3421,_0xbf4351,_0x40e600)=>{var _0x45c757=_0x2c1408;for(var _0x22ff18=_0x40e600>0x1?void 0x0:_0x40e600?hs(_0x1b3421,_0xbf4351):_0x1b3421,_0x527afa=_0x2eb108[_0x45c757(0x390)]-0x1,_0x5edb35;_0x527afa>=0x0;_0x527afa--)(_0x5edb35=_0x2eb108[_0x527afa])&&(_0x22ff18=_0x5edb35(_0x22ff18)||_0x22ff18);return _0x22ff18;},zt=(_0x598ba4,_0x4b54ff)=>(_0x5b8e42,_0x308e70)=>_0x4b54ff(_0x5b8e42,_0x308e70,_0x598ba4);const ls=_0x2c1408(0x112),us=_0x2c1408(0x10b);let Ct=class extends _0x35312f{constructor(_0x353132,_0x579625){var _0x1404f1=_0x2c1408;super(),this[_0x1404f1(0x167)]=_0x353132,this['_configService']=_0x579625,this[_0x1404f1(0x378)]();}[_0x2c1408(0x378)](){var _0x3d1535=_0x2c1408;this[_0x3d1535(0xe2)](this[_0x3d1535(0x167)][_0x3d1535(0x1f7)]['subscribe'](()=>{var _0x13ca66=_0x3d1535,_0x3651ae;const _0x55b7c6=this[_0x13ca66(0x167)]['getFocusedUnit']();let _0x1b05db=(_0x3651ae=this[_0x13ca66(0x2f7)]['getConfig'](ls))!=null?_0x3651ae:us;_0x55b7c6 instanceof _0x356935&&(_0x1b05db=_0x55b7c6['name']),document[_0x13ca66(0x148)]=_0x1b05db;}));}};Ct=_s([zt(0x0,_0x283e25),zt(0x1,_0x40f6f4)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x5404e5,_0x2784fd,_0x452812,_0x519dfa)=>{var _0x13f85a=_0x2c1408;for(var _0x32a925=_0x519dfa>0x1?void 0x0:_0x519dfa?ds(_0x2784fd,_0x452812):_0x2784fd,_0xe66873=_0x5404e5[_0x13f85a(0x390)]-0x1,_0x4b7223;_0xe66873>=0x0;_0xe66873--)(_0x4b7223=_0x5404e5[_0xe66873])&&(_0x32a925=_0x4b7223(_0x32a925)||_0x32a925);return _0x32a925;},vt=(_0x17af1b,_0x8f6005)=>(_0x1f80ee,_0x4204cd)=>_0x8f6005(_0x1f80ee,_0x4204cd,_0x17af1b);let rt=class{constructor(_0x3a8374,_0x54242a,_0x2eb2ad){var _0x32c909=_0x2c1408;this[_0x32c909(0x2f7)]=_0x3a8374,this[_0x32c909(0x2ba)]=_0x54242a,this[_0x32c909(0x366)]=_0x2eb2ad,this[_0x32c909(0x133)]();}[_0x2c1408(0x133)](){var _0x1629b6=_0x2c1408;this[_0x1629b6(0x2ba)][_0x1629b6(0x1e4)]({'priority':0x1,'interceptor':(_0x20b1b6,_0x45396a)=>_0x45396a(_0x20b1b6)[_0x1629b6(0x17a)](_0x539ace(async _0x1bef26=>{var _0x5c8f80=_0x1629b6;const _0x4b2bb9=_0x1bef26;if(_0x4b2bb9['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5c8f80(0x280)](this[_0x5c8f80(0x366)]['t'](_0x5c8f80(0x313)))){const _0x3cff86=window['encodeURIComponent'](window[_0x5c8f80(0x35a)][_0x5c8f80(0x107)]);window['location'][_0x5c8f80(0x107)]=this[_0x5c8f80(0x229)]()+_0x5c8f80(0x162)+_0x3cff86;}}return _0x4b2bb9;}))});}[_0x2c1408(0x229)](){var _0x2d8e1f=_0x2c1408,_0x362922,_0x3ddc54;const _0x32e896=this[_0x2d8e1f(0x2f7)][_0x2d8e1f(0x24c)](Un),_0x315c84=this[_0x2d8e1f(0x2f7)][_0x2d8e1f(0x24c)](q);return(_0x3ddc54=(_0x362922=_0x315c84==null?void 0x0:_0x315c84['loginUrlKey'])!=null?_0x362922:_0x32e896)!=null?_0x3ddc54:An;}};rt=fs([vt(0x0,_0x40f6f4),vt(0x1,_0x53facb(_0x55ce66)),vt(0x2,_0x53facb(_0x2678bb))],rt);var vs=Object[_0x2c1408(0x20c)],ps=(_0x10ee95,_0x5d8903,_0x3ea176,_0x151dbd)=>{for(var _0x1c0643=_0x151dbd>0x1?void 0x0:_0x151dbd?vs(_0x5d8903,_0x3ea176):_0x5d8903,_0x232e8d=_0x10ee95['length']-0x1,_0x1cb138;_0x232e8d>=0x0;_0x232e8d--)(_0x1cb138=_0x10ee95[_0x232e8d])&&(_0x1c0643=_0x1cb138(_0x1c0643)||_0x1c0643);return _0x1c0643;},Jt=(_0x4726f7,_0x1f36f8)=>(_0x5a2319,_0x4866fa)=>_0x1f36f8(_0x5a2319,_0x4866fa,_0x4726f7);const Ni=_0x2c1408(0x1f4),ms='/universer-api/authz';let Rt=class extends _0x35312f{constructor(_0x2e0ef3,_0x3d28c7){var _0xff2946=_0x2c1408;super(),this[_0xff2946(0x1a7)]=_0x2e0ef3,this[_0xff2946(0x2f7)]=_0x3d28c7,this[_0xff2946(0xcc)]();}[_0x2c1408(0xcc)](){var _0x217cd8=_0x2c1408;const _0x5d854e=this;this[_0x217cd8(0xe2)](this[_0x217cd8(0x1a7)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x596e76({'isMatch'(_0x386884){var _0x5cd16a=_0x217cd8,_0x2b9ae3;if(_0x386884[_0x5cd16a(0x274)]==='POST'&&((_0x2b9ae3=_0x386884[_0x5cd16a(0x106)])!=null&&_0x2b9ae3[_0x5cd16a(0x314)])){const {objectID:_0x27455f,objectType:_0x315dc7}=_0x386884[_0x5cd16a(0x106)]['body']||{};if(!_0x27455f||_0x315dc7===void 0x0)return!0x1;const _0x447f03=_0x5d854e[_0x5cd16a(0x2db)]()+'/'+_0x315dc7+_0x5cd16a(0x261)+_0x27455f+'/allowed';if(_0x386884[_0x5cd16a(0x216)]===_0x447f03)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x531b67){var _0x41412c=_0x217cd8,_0x38b02a;return(_0x38b02a=_0x531b67[_0x41412c(0x106)])==null?void 0x0:_0x38b02a[_0x41412c(0x314)];},'mergeParamsToRequest'(_0x6292a3,_0x256caa){var _0x4f26e2=_0x217cd8;const _0x3d0029=_0x5d854e[_0x4f26e2(0x2db)]()+_0x4f26e2(0x289),_0x1fb62d=_0x6292a3[_0x4f26e2(0x201)]((_0x4458e8,_0x3f056a)=>{var _0x4c0364=_0x4f26e2;const {unitID:_0x51a682,objectID:_0x62e330,objectType:_0x1ffafb,actions:_0x18e0b1}=_0x3f056a;return _0x4458e8[_0x51a682]||(_0x4458e8[_0x51a682]={}),_0x4458e8[_0x51a682][_0x62e330]||(_0x4458e8[_0x51a682][_0x62e330]={'objectID':_0x62e330,'objectType':_0x1ffafb,'actions':[]}),_0x4458e8[_0x51a682][_0x62e330][_0x4c0364(0x15f)][_0x4c0364(0x14c)](..._0x18e0b1),_0x4458e8;},{}),_0x5da221=[];for(const _0x3ee69a in _0x1fb62d)for(const _0x26d193 in _0x1fb62d[_0x3ee69a]){const {actions:_0x22f132,objectType:_0x107956}=_0x1fb62d[_0x3ee69a][_0x26d193],_0x13c2c5=[...new Set(_0x22f132)];_0x5da221['push']({'unitID':_0x3ee69a,'objectID':_0x26d193,'objectType':_0x107956,'actions':_0x13c2c5});}return new _0x2a78c1('POST',_0x3d0029,{'headers':_0x256caa[_0x4f26e2(0x13e)],'withCredentials':_0x256caa[_0x4f26e2(0x126)],'responseType':_0x256caa[_0x4f26e2(0x172)],'body':{'requests':_0x5da221}});}},{'distributeResult'(_0x306055,_0x474d6e){var _0x316265=_0x217cd8;const {objectActions:_0x5ef282}=_0x306055;return _0x474d6e[_0x316265(0x231)](_0x5cd05c=>{var _0x2638c9=_0x316265;const {unitID:_0x3dadd6,objectID:_0x228991,actions:_0xb28566}=_0x5cd05c,_0xd6e7c2=_0x5ef282[_0x2638c9(0x22c)](_0x1b7fb2=>_0x1b7fb2[_0x2638c9(0x2b6)]===_0x3dadd6&&_0x1b7fb2['objectID']===_0x228991),_0x3ead9c=_0xb28566[_0x2638c9(0x231)](_0x549a8e=>_0xd6e7c2==null?void 0x0:_0xd6e7c2[_0x2638c9(0x15f)]['find'](_0x4327d3=>_0x4327d3[_0x2638c9(0x247)]===_0x549a8e))[_0x2638c9(0xfc)](_0x53f5fd=>!!_0x53f5fd);return{'config':_0x5cd05c,'result':{'actions':_0x3ead9c,'error':_0x306055[_0x2638c9(0x2f4)]}};});}})}));}[_0x2c1408(0x2db)](){var _0x18b93b=_0x2c1408,_0x1c0bd8,_0x4c001d;const _0xdac006=this[_0x18b93b(0x2f7)]['getConfig'](Ni),_0x280094=this['_configService'][_0x18b93b(0x24c)](q);return(_0x4c001d=(_0x1c0bd8=_0x280094==null?void 0x0:_0x280094[_0x18b93b(0x1db)])!=null?_0x1c0bd8:_0xdac006)!=null?_0x4c001d:ms;}async[_0x2c1408(0xdc)](_0x484fcd){var _0x17ce7d=_0x2c1408;const _0x384720=this['_getAPIPrefixPath']()+'/'+_0x484fcd['objectType']+_0x17ce7d(0x1ab);return(await this[_0x17ce7d(0x1a7)]['post'](_0x384720,{'body':_0x484fcd}))['body'][_0x17ce7d(0x2ed)]||'';}async['list'](_0x229e77){var _0x5d6a28=_0x2c1408;const _0x531f44=this['_getAPIPrefixPath']()+_0x5d6a28(0x2b8);return(await this[_0x5d6a28(0x1a7)][_0x5d6a28(0x19e)](_0x531f44,{'body':_0x229e77}))['body'][_0x5d6a28(0x1ec)];}async[_0x2c1408(0x127)](_0x524bf2){var _0x49d3eb=_0x2c1408,_0x43b2e1,_0x4e5b2c;const _0x108cff=this[_0x49d3eb(0x2db)]()+'/'+_0x524bf2[_0x49d3eb(0x21c)]+_0x49d3eb(0x261)+_0x524bf2[_0x49d3eb(0x2ed)],_0x138c90=await this['_HTTPService']['put'](_0x108cff,{'body':_0x524bf2});if(((_0x4e5b2c=(_0x43b2e1=_0x138c90==null?void 0x0:_0x138c90[_0x49d3eb(0x314)])==null?void 0x0:_0x43b2e1[_0x49d3eb(0x2f4)])==null?void 0x0:_0x4e5b2c[_0x49d3eb(0x399)])!==0x1)throw new Error(_0x49d3eb(0x31f));}async[_0x2c1408(0x36d)](_0x57e703){var _0xf6fd8b=_0x2c1408;const _0x2237e1=this[_0xf6fd8b(0x2db)]()+'/'+_0x57e703[_0xf6fd8b(0x21c)]+_0xf6fd8b(0x261)+_0x57e703[_0xf6fd8b(0x2ed)]+_0xf6fd8b(0xf0);return(await this['_HTTPService'][_0xf6fd8b(0x19e)](_0x2237e1,{'body':_0x57e703}))[_0xf6fd8b(0x314)][_0xf6fd8b(0x15f)];}async[_0x2c1408(0xfb)](_0x5ee85a){var _0x45bd6d=_0x2c1408;const _0x3af4d5=this[_0x45bd6d(0x2db)]()+_0x45bd6d(0x289);return(await this[_0x45bd6d(0x1a7)]['post'](_0x3af4d5,{'body':{'requests':_0x5ee85a}}))[_0x45bd6d(0x314)][_0x45bd6d(0x1b7)];}async[_0x2c1408(0xd7)](_0x1558aa){var _0x2dcd0e=_0x2c1408;const _0x42e414=this[_0x2dcd0e(0x2db)]()+'/'+_0x1558aa[_0x2dcd0e(0x21c)]+_0x2dcd0e(0x2eb),_0x54192d=await this['_HTTPService']['post'](_0x42e414,{'body':_0x1558aa});return{'roles':_0x54192d[_0x2dcd0e(0x314)]['roles'],'actions':_0x54192d[_0x2dcd0e(0x314)][_0x2dcd0e(0x15f)]};}async[_0x2c1408(0x158)](_0x4098c5){var _0x514ae4=_0x2c1408;const _0x525d50=this[_0x514ae4(0x2db)]()+_0x514ae4(0x21f);await this[_0x514ae4(0x1a7)][_0x514ae4(0x2d5)](_0x525d50,{'params':{'collaboratorID':_0x4098c5['collaboratorID'],'objectID':_0x4098c5[_0x514ae4(0x2ed)],'unitID':_0x4098c5['unitID']}});}async[_0x2c1408(0x2b0)](_0x1fd1d6){var _0x371b16=_0x2c1408;const _0x46ee4b=this[_0x371b16(0x2db)]()+_0x371b16(0x21f);await this[_0x371b16(0x1a7)]['patch'](_0x46ee4b,{'body':_0x1fd1d6});}async['createCollaborator'](_0x3567ed){var _0x477ef4=_0x2c1408;const _0x54567b=this[_0x477ef4(0x2db)]()+_0x477ef4(0x21f);await this[_0x477ef4(0x1a7)][_0x477ef4(0x19e)](_0x54567b,{'body':_0x3567ed});}async[_0x2c1408(0x3c8)](_0x53088f){var _0x13a0ce=_0x2c1408;const _0x5b3800=this[_0x13a0ce(0x2db)]()+'/collaborator';return(await this[_0x13a0ce(0x1a7)][_0x13a0ce(0x1d6)](_0x5b3800,{'params':{'objectID':_0x53088f[_0x13a0ce(0x2ed)],'unitID':_0x53088f[_0x13a0ce(0x2b6)]}}))[_0x13a0ce(0x314)][_0x13a0ce(0x307)];}async[_0x2c1408(0x2f5)](_0x2549e9){var _0x1506b5=_0x2c1408;const _0x1f2e87=this[_0x1506b5(0x2db)]()+'/collaborator';await this[_0x1506b5(0x1a7)][_0x1506b5(0x1c9)](_0x1f2e87,{'body':_0x2549e9});}};Rt=ps([Jt(0x0,_0x53facb(_0x55ce66)),Jt(0x1,_0x53facb(_0x40f6f4))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x42ebc4){var _0x15a702=_0x2c1408;return _0x42ebc4&&_0x42ebc4['__esModule']&&Object[_0x15a702(0x325)][_0x15a702(0x352)][_0x15a702(0x3a9)](_0x42ebc4,_0x15a702(0x2f1))?_0x42ebc4[_0x15a702(0x2f1)]:_0x42ebc4;}var Ve={'exports':{}};function gs(_0x4a639d){var _0x52d9c7=_0x2c1408;throw new Error(_0x52d9c7(0x277)+_0x4a639d+_0x52d9c7(0x250));}var Ge={'exports':{}},Ss=Ge[_0x2c1408(0x20e)],Xt;function ie(){var _0x218932=_0x2c1408;return Xt||(Xt=0x1,function(_0x21efdf,_0x1484de){(function(_0x38733b,_0x547e4a){var _0x3ac099=_0x2fd2;_0x21efdf[_0x3ac099(0x20e)]=_0x547e4a();}(Ss,function(){var _0x194cb8=_0x194cb8||function(_0x2b0d49,_0x1e5891){var _0x1080fe=_0x2fd2,_0x4d1cae;if(typeof window<'u'&&window[_0x1080fe(0x2d0)]&&(_0x4d1cae=window[_0x1080fe(0x2d0)]),typeof self<'u'&&self[_0x1080fe(0x2d0)]&&(_0x4d1cae=self[_0x1080fe(0x2d0)]),typeof globalThis<'u'&&globalThis[_0x1080fe(0x2d0)]&&(_0x4d1cae=globalThis[_0x1080fe(0x2d0)]),!_0x4d1cae&&typeof window<'u'&&window[_0x1080fe(0x1b1)]&&(_0x4d1cae=window[_0x1080fe(0x1b1)]),!_0x4d1cae&&typeof pt<'u'&&pt[_0x1080fe(0x2d0)]&&(_0x4d1cae=pt[_0x1080fe(0x2d0)]),!_0x4d1cae&&typeof gs==_0x1080fe(0x245))try{_0x4d1cae=require('crypto');}catch{}var _0x4fc397=function(){var _0x392500=_0x1080fe;if(_0x4d1cae){if(typeof _0x4d1cae[_0x392500(0x1c6)]=='function')try{return _0x4d1cae['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4d1cae[_0x392500(0x2b3)]==_0x392500(0x245))try{return _0x4d1cae['randomBytes'](0x4)[_0x392500(0x236)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x282606=Object[_0x1080fe(0xdc)]||(function(){function _0x2b0875(){}return function(_0x1a1581){var _0xd3c589=_0x2fd2,_0x158c27;return _0x2b0875[_0xd3c589(0x325)]=_0x1a1581,_0x158c27=new _0x2b0875(),_0x2b0875[_0xd3c589(0x325)]=null,_0x158c27;};}()),_0x362a34={},_0x55d558=_0x362a34[_0x1080fe(0x2fb)]={},_0x356d5b=_0x55d558[_0x1080fe(0x302)]=(function(){return{'extend':function(_0x1b68d7){var _0x4e9672=_0x2fd2,_0x55ee70=_0x282606(this);return _0x1b68d7&&_0x55ee70[_0x4e9672(0x171)](_0x1b68d7),(!_0x55ee70[_0x4e9672(0x352)](_0x4e9672(0x133))||this[_0x4e9672(0x133)]===_0x55ee70[_0x4e9672(0x133)])&&(_0x55ee70[_0x4e9672(0x133)]=function(){var _0x901857=_0x4e9672;_0x55ee70[_0x901857(0x1b9)][_0x901857(0x133)][_0x901857(0x16d)](this,arguments);}),_0x55ee70[_0x4e9672(0x133)][_0x4e9672(0x325)]=_0x55ee70,_0x55ee70[_0x4e9672(0x1b9)]=this,_0x55ee70;},'create':function(){var _0x469b8f=this['extend']();return _0x469b8f['init']['apply'](_0x469b8f,arguments),_0x469b8f;},'init':function(){},'mixIn':function(_0x5cb99b){var _0x4b3e69=_0x2fd2;for(var _0x3dc00b in _0x5cb99b)_0x5cb99b[_0x4b3e69(0x352)](_0x3dc00b)&&(this[_0x3dc00b]=_0x5cb99b[_0x3dc00b]);_0x5cb99b[_0x4b3e69(0x352)](_0x4b3e69(0xfa))&&(this[_0x4b3e69(0xfa)]=_0x5cb99b[_0x4b3e69(0xfa)]);},'clone':function(){var _0x25b850=_0x2fd2;return this[_0x25b850(0x133)]['prototype'][_0x25b850(0x1e2)](this);}};}()),_0x5c674d=_0x55d558[_0x1080fe(0x1ae)]=_0x356d5b[_0x1080fe(0x1e2)]({'init':function(_0x48faa0,_0x3225fd){var _0x45ef4b=_0x1080fe;_0x48faa0=this[_0x45ef4b(0x32d)]=_0x48faa0||[],_0x3225fd!=_0x1e5891?this['sigBytes']=_0x3225fd:this[_0x45ef4b(0xd8)]=_0x48faa0[_0x45ef4b(0x390)]*0x4;},'toString':function(_0x54a62e){var _0x48f19d=_0x1080fe;return(_0x54a62e||_0x13d813)[_0x48f19d(0x114)](this);},'concat':function(_0x40d40d){var _0x7bc747=_0x1080fe,_0x147dc7=this['words'],_0x1c632a=_0x40d40d[_0x7bc747(0x32d)],_0x1145e3=this[_0x7bc747(0xd8)],_0x5f5c40=_0x40d40d[_0x7bc747(0xd8)];if(this[_0x7bc747(0x1a3)](),_0x1145e3%0x4)for(var _0x34d8dc=0x0;_0x34d8dc<_0x5f5c40;_0x34d8dc++){var _0x7f8d33=_0x1c632a[_0x34d8dc>>>0x2]>>>0x18-_0x34d8dc%0x4*0x8&0xff;_0x147dc7[_0x1145e3+_0x34d8dc>>>0x2]|=_0x7f8d33<<0x18-(_0x1145e3+_0x34d8dc)%0x4*0x8;}else{for(var _0x2a47de=0x0;_0x2a47de<_0x5f5c40;_0x2a47de+=0x4)_0x147dc7[_0x1145e3+_0x2a47de>>>0x2]=_0x1c632a[_0x2a47de>>>0x2];}return this[_0x7bc747(0xd8)]+=_0x5f5c40,this;},'clamp':function(){var _0x5e8510=_0x1080fe,_0x5d686f=this[_0x5e8510(0x32d)],_0x269e87=this[_0x5e8510(0xd8)];_0x5d686f[_0x269e87>>>0x2]&=0xffffffff<<0x20-_0x269e87%0x4*0x8,_0x5d686f['length']=_0x2b0d49[_0x5e8510(0x2da)](_0x269e87/0x4);},'clone':function(){var _0x45f8a2=_0x1080fe,_0x4cf199=_0x356d5b[_0x45f8a2(0x330)][_0x45f8a2(0x3a9)](this);return _0x4cf199[_0x45f8a2(0x32d)]=this['words']['slice'](0x0),_0x4cf199;},'random':function(_0x55992d){var _0x45cca5=_0x1080fe;for(var _0x1c4308=[],_0x42f1e6=0x0;_0x42f1e6<_0x55992d;_0x42f1e6+=0x4)_0x1c4308[_0x45cca5(0x14c)](_0x4fc397());return new _0x5c674d[(_0x45cca5(0x133))](_0x1c4308,_0x55992d);}}),_0x46d3a0=_0x362a34['enc']={},_0x13d813=_0x46d3a0[_0x1080fe(0x37b)]={'stringify':function(_0x3b9480){var _0x3b9411=_0x1080fe;for(var _0x3b7973=_0x3b9480[_0x3b9411(0x32d)],_0x2b4e03=_0x3b9480['sigBytes'],_0x3fbfdb=[],_0x5e4b90=0x0;_0x5e4b90<_0x2b4e03;_0x5e4b90++){var _0x5370db=_0x3b7973[_0x5e4b90>>>0x2]>>>0x18-_0x5e4b90%0x4*0x8&0xff;_0x3fbfdb['push']((_0x5370db>>>0x4)['toString'](0x10)),_0x3fbfdb[_0x3b9411(0x14c)]((_0x5370db&0xf)[_0x3b9411(0xfa)](0x10));}return _0x3fbfdb[_0x3b9411(0x166)]('');},'parse':function(_0x3dc05a){var _0x13d5d1=_0x1080fe;for(var _0x303027=_0x3dc05a['length'],_0x6fd192=[],_0x26f411=0x0;_0x26f411<_0x303027;_0x26f411+=0x2)_0x6fd192[_0x26f411>>>0x3]|=parseInt(_0x3dc05a['substr'](_0x26f411,0x2),0x10)<<0x18-_0x26f411%0x8*0x4;return new _0x5c674d[(_0x13d5d1(0x133))](_0x6fd192,_0x303027/0x2);}},_0x43cec5=_0x46d3a0[_0x1080fe(0x141)]={'stringify':function(_0x46a62a){var _0x3f8dd2=_0x1080fe;for(var _0x5cd975=_0x46a62a[_0x3f8dd2(0x32d)],_0x2ac554=_0x46a62a['sigBytes'],_0x5794d2=[],_0x4c6460=0x0;_0x4c6460<_0x2ac554;_0x4c6460++){var _0x378af6=_0x5cd975[_0x4c6460>>>0x2]>>>0x18-_0x4c6460%0x4*0x8&0xff;_0x5794d2[_0x3f8dd2(0x14c)](String[_0x3f8dd2(0x285)](_0x378af6));}return _0x5794d2[_0x3f8dd2(0x166)]('');},'parse':function(_0x1d8cf7){var _0x23f9af=_0x1080fe;for(var _0x5e6b7c=_0x1d8cf7[_0x23f9af(0x390)],_0x4d18e3=[],_0x295cbd=0x0;_0x295cbd<_0x5e6b7c;_0x295cbd++)_0x4d18e3[_0x295cbd>>>0x2]|=(_0x1d8cf7[_0x23f9af(0x1a8)](_0x295cbd)&0xff)<<0x18-_0x295cbd%0x4*0x8;return new _0x5c674d[(_0x23f9af(0x133))](_0x4d18e3,_0x5e6b7c);}},_0x1576c0=_0x46d3a0['Utf8']={'stringify':function(_0x39fe26){var _0x3adf56=_0x1080fe;try{return decodeURIComponent(escape(_0x43cec5[_0x3adf56(0x114)](_0x39fe26)));}catch{throw new Error(_0x3adf56(0x173));}},'parse':function(_0x506dfa){var _0x41d21a=_0x1080fe;return _0x43cec5[_0x41d21a(0x353)](unescape(encodeURIComponent(_0x506dfa)));}},_0x381185=_0x55d558[_0x1080fe(0x12e)]=_0x356d5b[_0x1080fe(0x1e2)]({'reset':function(){var _0x5cacb2=_0x1080fe;this[_0x5cacb2(0x19d)]=new _0x5c674d[(_0x5cacb2(0x133))](),this[_0x5cacb2(0x276)]=0x0;},'_append':function(_0x2e3fba){var _0x34c5c6=_0x1080fe;typeof _0x2e3fba==_0x34c5c6(0x37c)&&(_0x2e3fba=_0x1576c0[_0x34c5c6(0x353)](_0x2e3fba)),this[_0x34c5c6(0x19d)][_0x34c5c6(0x34e)](_0x2e3fba),this[_0x34c5c6(0x276)]+=_0x2e3fba[_0x34c5c6(0xd8)];},'_process':function(_0x3505f1){var _0x29c99b=_0x1080fe,_0xb8e832,_0x56cf28=this[_0x29c99b(0x19d)],_0x3bf168=_0x56cf28['words'],_0x339edf=_0x56cf28[_0x29c99b(0xd8)],_0x197382=this[_0x29c99b(0x20f)],_0x59325f=_0x197382*0x4,_0x35b5fe=_0x339edf/_0x59325f;_0x3505f1?_0x35b5fe=_0x2b0d49[_0x29c99b(0x2da)](_0x35b5fe):_0x35b5fe=_0x2b0d49[_0x29c99b(0x28c)]((_0x35b5fe|0x0)-this[_0x29c99b(0x121)],0x0);var _0x4d311c=_0x35b5fe*_0x197382,_0x141a17=_0x2b0d49[_0x29c99b(0x2c6)](_0x4d311c*0x4,_0x339edf);if(_0x4d311c){for(var _0x163cf8=0x0;_0x163cf8<_0x4d311c;_0x163cf8+=_0x197382)this['_doProcessBlock'](_0x3bf168,_0x163cf8);_0xb8e832=_0x3bf168[_0x29c99b(0x15e)](0x0,_0x4d311c),_0x56cf28[_0x29c99b(0xd8)]-=_0x141a17;}return new _0x5c674d[(_0x29c99b(0x133))](_0xb8e832,_0x141a17);},'clone':function(){var _0x3c94a0=_0x1080fe,_0x75be72=_0x356d5b[_0x3c94a0(0x330)][_0x3c94a0(0x3a9)](this);return _0x75be72[_0x3c94a0(0x19d)]=this[_0x3c94a0(0x19d)][_0x3c94a0(0x330)](),_0x75be72;},'_minBufferSize':0x0});_0x55d558[_0x1080fe(0x13b)]=_0x381185[_0x1080fe(0x1e2)]({'cfg':_0x356d5b[_0x1080fe(0x1e2)](),'init':function(_0x4a8711){var _0x2eb074=_0x1080fe;this[_0x2eb074(0x1fa)]=this['cfg'][_0x2eb074(0x1e2)](_0x4a8711),this[_0x2eb074(0xef)]();},'reset':function(){var _0x2da2da=_0x1080fe;_0x381185[_0x2da2da(0xef)]['call'](this),this[_0x2da2da(0x143)]();},'update':function(_0x1c7191){var _0x446f50=_0x1080fe;return this[_0x446f50(0x208)](_0x1c7191),this[_0x446f50(0x3a1)](),this;},'finalize':function(_0x8eaa30){var _0x9b57b8=_0x1080fe;_0x8eaa30&&this[_0x9b57b8(0x208)](_0x8eaa30);var _0x4da93a=this[_0x9b57b8(0x279)]();return _0x4da93a;},'blockSize':0x10,'_createHelper':function(_0x5b6981){return function(_0x11a189,_0x292abe){var _0x54d11a=_0x2fd2;return new _0x5b6981[(_0x54d11a(0x133))](_0x292abe)[_0x54d11a(0x235)](_0x11a189);};},'_createHmacHelper':function(_0x470120){return function(_0x56de2e,_0xeee2d){var _0x145d23=_0x2fd2;return new _0x1d1ca4[(_0x145d23(0x36a))][(_0x145d23(0x133))](_0x470120,_0xeee2d)[_0x145d23(0x235)](_0x56de2e);};}});var _0x1d1ca4=_0x362a34['algo']={};return _0x362a34;}(Math);return _0x194cb8;}));}(Ge)),Ge[_0x218932(0x20e)];}var We={'exports':{}},Es=We[_0x2c1408(0x20e)],Zt;function Di(){var _0x35897c=_0x2c1408;return Zt||(Zt=0x1,function(_0x21c563,_0x6bf1b9){(function(_0x20eaa8,_0x29c593){var _0xbd4457=_0x2fd2;_0x21c563[_0xbd4457(0x20e)]=_0x29c593(ie());}(Es,function(_0x445f62){var _0x2ee14b=_0x2fd2;return(function(){var _0x51edf1=_0x2fd2,_0x2d5df5=_0x445f62,_0x18d649=_0x2d5df5['lib'],_0xb58d0a=_0x18d649[_0x51edf1(0x1ae)],_0x3018ee=_0x2d5df5['enc'];_0x3018ee[_0x51edf1(0x1d7)]={'stringify':function(_0x2f6792){var _0x1d87d1=_0x51edf1,_0x36ce29=_0x2f6792['words'],_0x2fb135=_0x2f6792['sigBytes'],_0x3a7ebb=this['_map'];_0x2f6792[_0x1d87d1(0x1a3)]();for(var _0x47d83e=[],_0x530c3c=0x0;_0x530c3c<_0x2fb135;_0x530c3c+=0x3)for(var _0x44b0b9=_0x36ce29[_0x530c3c>>>0x2]>>>0x18-_0x530c3c%0x4*0x8&0xff,_0x34ed35=_0x36ce29[_0x530c3c+0x1>>>0x2]>>>0x18-(_0x530c3c+0x1)%0x4*0x8&0xff,_0x227cfa=_0x36ce29[_0x530c3c+0x2>>>0x2]>>>0x18-(_0x530c3c+0x2)%0x4*0x8&0xff,_0x1728c1=_0x44b0b9<<0x10|_0x34ed35<<0x8|_0x227cfa,_0x5afe88=0x0;_0x5afe88<0x4&&_0x530c3c+_0x5afe88*0.75<_0x2fb135;_0x5afe88++)_0x47d83e['push'](_0x3a7ebb['charAt'](_0x1728c1>>>0x6*(0x3-_0x5afe88)&0x3f));var _0x7531a=_0x3a7ebb[_0x1d87d1(0x340)](0x40);if(_0x7531a){for(;_0x47d83e[_0x1d87d1(0x390)]%0x4;)_0x47d83e[_0x1d87d1(0x14c)](_0x7531a);}return _0x47d83e[_0x1d87d1(0x166)]('');},'parse':function(_0x163cdb){var _0x414361=_0x51edf1,_0x4aab62=_0x163cdb['length'],_0x2ce6f8=this[_0x414361(0x25e)],_0x598123=this[_0x414361(0x381)];if(!_0x598123){_0x598123=this['_reverseMap']=[];for(var _0xeced32=0x0;_0xeced32<_0x2ce6f8['length'];_0xeced32++)_0x598123[_0x2ce6f8[_0x414361(0x1a8)](_0xeced32)]=_0xeced32;}var _0x584a6d=_0x2ce6f8['charAt'](0x40);if(_0x584a6d){var _0x14fe71=_0x163cdb[_0x414361(0x185)](_0x584a6d);_0x14fe71!==-0x1&&(_0x4aab62=_0x14fe71);}return _0xc4b72f(_0x163cdb,_0x4aab62,_0x598123);},'_map':_0x51edf1(0xe6)};function _0xc4b72f(_0x5dbc39,_0x4411ab,_0x484e2c){var _0x2a923f=_0x51edf1;for(var _0x344643=[],_0x38b0ff=0x0,_0x3b2c2a=0x0;_0x3b2c2a<_0x4411ab;_0x3b2c2a++)if(_0x3b2c2a%0x4){var _0x32270e=_0x484e2c[_0x5dbc39['charCodeAt'](_0x3b2c2a-0x1)]<<_0x3b2c2a%0x4*0x2,_0x3259b9=_0x484e2c[_0x5dbc39['charCodeAt'](_0x3b2c2a)]>>>0x6-_0x3b2c2a%0x4*0x2,_0x3c0beb=_0x32270e|_0x3259b9;_0x344643[_0x38b0ff>>>0x2]|=_0x3c0beb<<0x18-_0x38b0ff%0x4*0x8,_0x38b0ff++;}return _0xb58d0a[_0x2a923f(0xdc)](_0x344643,_0x38b0ff);}}()),_0x445f62[_0x2ee14b(0x38a)][_0x2ee14b(0x1d7)];}));}(We)),We[_0x35897c(0x20e)];}var Ke={'exports':{}},Is=Ke[_0x2c1408(0x20e)],Qt;function Ts(){var _0x428737=_0x2c1408;return Qt||(Qt=0x1,function(_0x157cc4,_0x423f29){(function(_0x47300e,_0x5a55a0){var _0x11a349=_0x2fd2;_0x157cc4[_0x11a349(0x20e)]=_0x5a55a0(ie());}(Is,function(_0x2a45c9){return function(_0x201d31){var _0x3aa2fc=_0x2fd2,_0x3c08cc=_0x2a45c9,_0x6ac654=_0x3c08cc[_0x3aa2fc(0x2fb)],_0x386bbf=_0x6ac654['WordArray'],_0x543cc0=_0x6ac654[_0x3aa2fc(0x13b)],_0x48cf78=_0x3c08cc[_0x3aa2fc(0x311)],_0x48a09d=[];(function(){var _0x491dc3=_0x3aa2fc;for(var _0x2c8ca3=0x0;_0x2c8ca3<0x40;_0x2c8ca3++)_0x48a09d[_0x2c8ca3]=_0x201d31[_0x491dc3(0x346)](_0x201d31['sin'](_0x2c8ca3+0x1))*0x100000000|0x0;}());var _0x4be9fb=_0x48cf78[_0x3aa2fc(0x110)]=_0x543cc0[_0x3aa2fc(0x1e2)]({'_doReset':function(){var _0x2f9256=_0x3aa2fc;this[_0x2f9256(0xcb)]=new _0x386bbf[(_0x2f9256(0x133))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x18e348,_0x1fc1a2){var _0x4a943d=_0x3aa2fc;for(var _0x266b93=0x0;_0x266b93<0x10;_0x266b93++){var _0x309bd9=_0x1fc1a2+_0x266b93,_0x205a7e=_0x18e348[_0x309bd9];_0x18e348[_0x309bd9]=(_0x205a7e<<0x8|_0x205a7e>>>0x18)&0xff00ff|(_0x205a7e<<0x18|_0x205a7e>>>0x8)&0xff00ff00;}var _0x4e799a=this[_0x4a943d(0xcb)][_0x4a943d(0x32d)],_0x5c1c10=_0x18e348[_0x1fc1a2+0x0],_0xce9332=_0x18e348[_0x1fc1a2+0x1],_0x410bef=_0x18e348[_0x1fc1a2+0x2],_0x5e2e25=_0x18e348[_0x1fc1a2+0x3],_0x5e7309=_0x18e348[_0x1fc1a2+0x4],_0x25358e=_0x18e348[_0x1fc1a2+0x5],_0x5cce15=_0x18e348[_0x1fc1a2+0x6],_0x45a6f3=_0x18e348[_0x1fc1a2+0x7],_0x1e8415=_0x18e348[_0x1fc1a2+0x8],_0x1e612e=_0x18e348[_0x1fc1a2+0x9],_0x11fa7c=_0x18e348[_0x1fc1a2+0xa],_0xa5b992=_0x18e348[_0x1fc1a2+0xb],_0x29372c=_0x18e348[_0x1fc1a2+0xc],_0x413315=_0x18e348[_0x1fc1a2+0xd],_0x13ed29=_0x18e348[_0x1fc1a2+0xe],_0x1c4b27=_0x18e348[_0x1fc1a2+0xf],_0x252142=_0x4e799a[0x0],_0x16e1f7=_0x4e799a[0x1],_0x3c49e4=_0x4e799a[0x2],_0x29b230=_0x4e799a[0x3];_0x252142=_0x159ffb(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x5c1c10,0x7,_0x48a09d[0x0]),_0x29b230=_0x159ffb(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0xce9332,0xc,_0x48a09d[0x1]),_0x3c49e4=_0x159ffb(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x410bef,0x11,_0x48a09d[0x2]),_0x16e1f7=_0x159ffb(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x5e2e25,0x16,_0x48a09d[0x3]),_0x252142=_0x159ffb(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x5e7309,0x7,_0x48a09d[0x4]),_0x29b230=_0x159ffb(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x25358e,0xc,_0x48a09d[0x5]),_0x3c49e4=_0x159ffb(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x5cce15,0x11,_0x48a09d[0x6]),_0x16e1f7=_0x159ffb(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x45a6f3,0x16,_0x48a09d[0x7]),_0x252142=_0x159ffb(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x1e8415,0x7,_0x48a09d[0x8]),_0x29b230=_0x159ffb(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x1e612e,0xc,_0x48a09d[0x9]),_0x3c49e4=_0x159ffb(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x11fa7c,0x11,_0x48a09d[0xa]),_0x16e1f7=_0x159ffb(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0xa5b992,0x16,_0x48a09d[0xb]),_0x252142=_0x159ffb(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x29372c,0x7,_0x48a09d[0xc]),_0x29b230=_0x159ffb(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x413315,0xc,_0x48a09d[0xd]),_0x3c49e4=_0x159ffb(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x13ed29,0x11,_0x48a09d[0xe]),_0x16e1f7=_0x159ffb(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x1c4b27,0x16,_0x48a09d[0xf]),_0x252142=_0x413898(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0xce9332,0x5,_0x48a09d[0x10]),_0x29b230=_0x413898(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x5cce15,0x9,_0x48a09d[0x11]),_0x3c49e4=_0x413898(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0xa5b992,0xe,_0x48a09d[0x12]),_0x16e1f7=_0x413898(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x5c1c10,0x14,_0x48a09d[0x13]),_0x252142=_0x413898(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x25358e,0x5,_0x48a09d[0x14]),_0x29b230=_0x413898(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x11fa7c,0x9,_0x48a09d[0x15]),_0x3c49e4=_0x413898(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x1c4b27,0xe,_0x48a09d[0x16]),_0x16e1f7=_0x413898(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x5e7309,0x14,_0x48a09d[0x17]),_0x252142=_0x413898(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x1e612e,0x5,_0x48a09d[0x18]),_0x29b230=_0x413898(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x13ed29,0x9,_0x48a09d[0x19]),_0x3c49e4=_0x413898(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x5e2e25,0xe,_0x48a09d[0x1a]),_0x16e1f7=_0x413898(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x1e8415,0x14,_0x48a09d[0x1b]),_0x252142=_0x413898(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x413315,0x5,_0x48a09d[0x1c]),_0x29b230=_0x413898(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x410bef,0x9,_0x48a09d[0x1d]),_0x3c49e4=_0x413898(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x45a6f3,0xe,_0x48a09d[0x1e]),_0x16e1f7=_0x413898(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x29372c,0x14,_0x48a09d[0x1f]),_0x252142=_0xe16b31(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x25358e,0x4,_0x48a09d[0x20]),_0x29b230=_0xe16b31(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x1e8415,0xb,_0x48a09d[0x21]),_0x3c49e4=_0xe16b31(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0xa5b992,0x10,_0x48a09d[0x22]),_0x16e1f7=_0xe16b31(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x13ed29,0x17,_0x48a09d[0x23]),_0x252142=_0xe16b31(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0xce9332,0x4,_0x48a09d[0x24]),_0x29b230=_0xe16b31(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x5e7309,0xb,_0x48a09d[0x25]),_0x3c49e4=_0xe16b31(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x45a6f3,0x10,_0x48a09d[0x26]),_0x16e1f7=_0xe16b31(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x11fa7c,0x17,_0x48a09d[0x27]),_0x252142=_0xe16b31(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x413315,0x4,_0x48a09d[0x28]),_0x29b230=_0xe16b31(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x5c1c10,0xb,_0x48a09d[0x29]),_0x3c49e4=_0xe16b31(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x5e2e25,0x10,_0x48a09d[0x2a]),_0x16e1f7=_0xe16b31(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x5cce15,0x17,_0x48a09d[0x2b]),_0x252142=_0xe16b31(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x1e612e,0x4,_0x48a09d[0x2c]),_0x29b230=_0xe16b31(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x29372c,0xb,_0x48a09d[0x2d]),_0x3c49e4=_0xe16b31(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x1c4b27,0x10,_0x48a09d[0x2e]),_0x16e1f7=_0xe16b31(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x410bef,0x17,_0x48a09d[0x2f]),_0x252142=_0x5e85c3(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x5c1c10,0x6,_0x48a09d[0x30]),_0x29b230=_0x5e85c3(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x45a6f3,0xa,_0x48a09d[0x31]),_0x3c49e4=_0x5e85c3(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x13ed29,0xf,_0x48a09d[0x32]),_0x16e1f7=_0x5e85c3(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x25358e,0x15,_0x48a09d[0x33]),_0x252142=_0x5e85c3(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x29372c,0x6,_0x48a09d[0x34]),_0x29b230=_0x5e85c3(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x5e2e25,0xa,_0x48a09d[0x35]),_0x3c49e4=_0x5e85c3(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x11fa7c,0xf,_0x48a09d[0x36]),_0x16e1f7=_0x5e85c3(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0xce9332,0x15,_0x48a09d[0x37]),_0x252142=_0x5e85c3(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x1e8415,0x6,_0x48a09d[0x38]),_0x29b230=_0x5e85c3(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0x1c4b27,0xa,_0x48a09d[0x39]),_0x3c49e4=_0x5e85c3(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x5cce15,0xf,_0x48a09d[0x3a]),_0x16e1f7=_0x5e85c3(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x413315,0x15,_0x48a09d[0x3b]),_0x252142=_0x5e85c3(_0x252142,_0x16e1f7,_0x3c49e4,_0x29b230,_0x5e7309,0x6,_0x48a09d[0x3c]),_0x29b230=_0x5e85c3(_0x29b230,_0x252142,_0x16e1f7,_0x3c49e4,_0xa5b992,0xa,_0x48a09d[0x3d]),_0x3c49e4=_0x5e85c3(_0x3c49e4,_0x29b230,_0x252142,_0x16e1f7,_0x410bef,0xf,_0x48a09d[0x3e]),_0x16e1f7=_0x5e85c3(_0x16e1f7,_0x3c49e4,_0x29b230,_0x252142,_0x1e612e,0x15,_0x48a09d[0x3f]),_0x4e799a[0x0]=_0x4e799a[0x0]+_0x252142|0x0,_0x4e799a[0x1]=_0x4e799a[0x1]+_0x16e1f7|0x0,_0x4e799a[0x2]=_0x4e799a[0x2]+_0x3c49e4|0x0,_0x4e799a[0x3]=_0x4e799a[0x3]+_0x29b230|0x0;},'_doFinalize':function(){var _0x4c0c1b=_0x3aa2fc,_0x4f5be0=this[_0x4c0c1b(0x19d)],_0x39a5a4=_0x4f5be0[_0x4c0c1b(0x32d)],_0x47c9f2=this[_0x4c0c1b(0x276)]*0x8,_0x24e193=_0x4f5be0['sigBytes']*0x8;_0x39a5a4[_0x24e193>>>0x5]|=0x80<<0x18-_0x24e193%0x20;var _0x3d1e93=_0x201d31[_0x4c0c1b(0x21a)](_0x47c9f2/0x100000000),_0x1207c9=_0x47c9f2;_0x39a5a4[(_0x24e193+0x40>>>0x9<<0x4)+0xf]=(_0x3d1e93<<0x8|_0x3d1e93>>>0x18)&0xff00ff|(_0x3d1e93<<0x18|_0x3d1e93>>>0x8)&0xff00ff00,_0x39a5a4[(_0x24e193+0x40>>>0x9<<0x4)+0xe]=(_0x1207c9<<0x8|_0x1207c9>>>0x18)&0xff00ff|(_0x1207c9<<0x18|_0x1207c9>>>0x8)&0xff00ff00,_0x4f5be0[_0x4c0c1b(0xd8)]=(_0x39a5a4[_0x4c0c1b(0x390)]+0x1)*0x4,this[_0x4c0c1b(0x3a1)]();for(var _0x1cec8a=this['_hash'],_0x430817=_0x1cec8a[_0x4c0c1b(0x32d)],_0xfcf3d4=0x0;_0xfcf3d4<0x4;_0xfcf3d4++){var _0x520b64=_0x430817[_0xfcf3d4];_0x430817[_0xfcf3d4]=(_0x520b64<<0x8|_0x520b64>>>0x18)&0xff00ff|(_0x520b64<<0x18|_0x520b64>>>0x8)&0xff00ff00;}return _0x1cec8a;},'clone':function(){var _0xb5f3ea=_0x3aa2fc,_0x21c1fd=_0x543cc0[_0xb5f3ea(0x330)][_0xb5f3ea(0x3a9)](this);return _0x21c1fd[_0xb5f3ea(0xcb)]=this[_0xb5f3ea(0xcb)][_0xb5f3ea(0x330)](),_0x21c1fd;}});function _0x159ffb(_0xe65dc,_0x2a8558,_0x4e2135,_0x115cac,_0x1f1e65,_0x106ade,_0x45324c){var _0x1bf248=_0xe65dc+(_0x2a8558&_0x4e2135|~_0x2a8558&_0x115cac)+_0x1f1e65+_0x45324c;return(_0x1bf248<<_0x106ade|_0x1bf248>>>0x20-_0x106ade)+_0x2a8558;}function _0x413898(_0x2bf811,_0x1e12a7,_0xfb331a,_0x122583,_0x427abf,_0x5d938d,_0x1017bb){var _0x1e8c46=_0x2bf811+(_0x1e12a7&_0x122583|_0xfb331a&~_0x122583)+_0x427abf+_0x1017bb;return(_0x1e8c46<<_0x5d938d|_0x1e8c46>>>0x20-_0x5d938d)+_0x1e12a7;}function _0xe16b31(_0x3818f4,_0x5a1171,_0xaaf3dd,_0x1f4670,_0x1b5a81,_0x209cc4,_0x3157f1){var _0x40e93c=_0x3818f4+(_0x5a1171^_0xaaf3dd^_0x1f4670)+_0x1b5a81+_0x3157f1;return(_0x40e93c<<_0x209cc4|_0x40e93c>>>0x20-_0x209cc4)+_0x5a1171;}function _0x5e85c3(_0x5d7b53,_0x191046,_0x4dc2c3,_0x189a09,_0x44adb0,_0x34ce57,_0x4d96a5){var _0x1be42b=_0x5d7b53+(_0x4dc2c3^(_0x191046|~_0x189a09))+_0x44adb0+_0x4d96a5;return(_0x1be42b<<_0x34ce57|_0x1be42b>>>0x20-_0x34ce57)+_0x191046;}_0x3c08cc[_0x3aa2fc(0x110)]=_0x543cc0[_0x3aa2fc(0x3b4)](_0x4be9fb),_0x3c08cc['HmacMD5']=_0x543cc0[_0x3aa2fc(0x37a)](_0x4be9fb);}(Math),_0x2a45c9['MD5'];}));}(Ke)),Ke[_0x428737(0x20e)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x2c1408(0x20e)],ei;function Rs(){var _0x5ceda5=_0x2c1408;return ei||(ei=0x1,function(_0x352e4d,_0xf334b6){(function(_0x207c43,_0x30acb2){_0x352e4d['exports']=_0x30acb2(ie());}(Cs,function(_0x4842e4){var _0x40df65=_0x2fd2;return(function(){var _0x5764c4=_0x2fd2,_0xa55e8a=_0x4842e4,_0x51988e=_0xa55e8a['lib'],_0xe2f014=_0x51988e['WordArray'],_0x9e4ecb=_0x51988e[_0x5764c4(0x13b)],_0x230aa7=_0xa55e8a[_0x5764c4(0x311)],_0x5146e7=[],_0x590865=_0x230aa7[_0x5764c4(0x1fc)]=_0x9e4ecb[_0x5764c4(0x1e2)]({'_doReset':function(){var _0x23aaba=_0x5764c4;this[_0x23aaba(0xcb)]=new _0xe2f014['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x15c8e0,_0x14d2a8){var _0xcb3f7d=_0x5764c4;for(var _0x2c9288=this['_hash'][_0xcb3f7d(0x32d)],_0x120e70=_0x2c9288[0x0],_0x3ec0f1=_0x2c9288[0x1],_0x5a9e06=_0x2c9288[0x2],_0x48ed49=_0x2c9288[0x3],_0x25a092=_0x2c9288[0x4],_0x2e4701=0x0;_0x2e4701<0x50;_0x2e4701++){if(_0x2e4701<0x10)_0x5146e7[_0x2e4701]=_0x15c8e0[_0x14d2a8+_0x2e4701]|0x0;else{var _0x1c5fb1=_0x5146e7[_0x2e4701-0x3]^_0x5146e7[_0x2e4701-0x8]^_0x5146e7[_0x2e4701-0xe]^_0x5146e7[_0x2e4701-0x10];_0x5146e7[_0x2e4701]=_0x1c5fb1<<0x1|_0x1c5fb1>>>0x1f;}var _0x50203e=(_0x120e70<<0x5|_0x120e70>>>0x1b)+_0x25a092+_0x5146e7[_0x2e4701];_0x2e4701<0x14?_0x50203e+=(_0x3ec0f1&_0x5a9e06|~_0x3ec0f1&_0x48ed49)+0x5a827999:_0x2e4701<0x28?_0x50203e+=(_0x3ec0f1^_0x5a9e06^_0x48ed49)+0x6ed9eba1:_0x2e4701<0x3c?_0x50203e+=(_0x3ec0f1&_0x5a9e06|_0x3ec0f1&_0x48ed49|_0x5a9e06&_0x48ed49)-0x70e44324:_0x50203e+=(_0x3ec0f1^_0x5a9e06^_0x48ed49)-0x359d3e2a,_0x25a092=_0x48ed49,_0x48ed49=_0x5a9e06,_0x5a9e06=_0x3ec0f1<<0x1e|_0x3ec0f1>>>0x2,_0x3ec0f1=_0x120e70,_0x120e70=_0x50203e;}_0x2c9288[0x0]=_0x2c9288[0x0]+_0x120e70|0x0,_0x2c9288[0x1]=_0x2c9288[0x1]+_0x3ec0f1|0x0,_0x2c9288[0x2]=_0x2c9288[0x2]+_0x5a9e06|0x0,_0x2c9288[0x3]=_0x2c9288[0x3]+_0x48ed49|0x0,_0x2c9288[0x4]=_0x2c9288[0x4]+_0x25a092|0x0;},'_doFinalize':function(){var _0x4a6c2f=_0x5764c4,_0x330f88=this[_0x4a6c2f(0x19d)],_0x52fc5c=_0x330f88[_0x4a6c2f(0x32d)],_0xfe8b58=this['_nDataBytes']*0x8,_0x14463e=_0x330f88[_0x4a6c2f(0xd8)]*0x8;return _0x52fc5c[_0x14463e>>>0x5]|=0x80<<0x18-_0x14463e%0x20,_0x52fc5c[(_0x14463e+0x40>>>0x9<<0x4)+0xe]=Math[_0x4a6c2f(0x21a)](_0xfe8b58/0x100000000),_0x52fc5c[(_0x14463e+0x40>>>0x9<<0x4)+0xf]=_0xfe8b58,_0x330f88[_0x4a6c2f(0xd8)]=_0x52fc5c[_0x4a6c2f(0x390)]*0x4,this[_0x4a6c2f(0x3a1)](),this['_hash'];},'clone':function(){var _0x2ffd94=_0x5764c4,_0x396487=_0x9e4ecb['clone'][_0x2ffd94(0x3a9)](this);return _0x396487[_0x2ffd94(0xcb)]=this[_0x2ffd94(0xcb)][_0x2ffd94(0x330)](),_0x396487;}});_0xa55e8a[_0x5764c4(0x1fc)]=_0x9e4ecb['_createHelper'](_0x590865),_0xa55e8a[_0x5764c4(0x2ec)]=_0x9e4ecb[_0x5764c4(0x37a)](_0x590865);}()),_0x4842e4[_0x40df65(0x1fc)];}));}(qe)),qe[_0x5ceda5(0x20e)];}var ze={'exports':{}},bs=ze[_0x2c1408(0x20e)],ti;function Os(){var _0x65f03=_0x2c1408;return ti||(ti=0x1,function(_0xf7ca38,_0x1f8e4b){(function(_0xe429a0,_0x97b9ca){_0xf7ca38['exports']=_0x97b9ca(ie());}(bs,function(_0x2e1621){(function(){var _0x550534=_0x2fd2,_0x5066d9=_0x2e1621,_0x13b1fb=_0x5066d9[_0x550534(0x2fb)],_0x53c64f=_0x13b1fb[_0x550534(0x302)],_0x54793c=_0x5066d9[_0x550534(0x38a)],_0x180c78=_0x54793c[_0x550534(0x356)],_0x1efd3d=_0x5066d9[_0x550534(0x311)];_0x1efd3d[_0x550534(0x36a)]=_0x53c64f[_0x550534(0x1e2)]({'init':function(_0x14c2be,_0x2b0b6a){var _0x1303ad=_0x550534;_0x14c2be=this[_0x1303ad(0x334)]=new _0x14c2be['init'](),typeof _0x2b0b6a==_0x1303ad(0x37c)&&(_0x2b0b6a=_0x180c78['parse'](_0x2b0b6a));var _0x5e1490=_0x14c2be[_0x1303ad(0x20f)],_0x50f935=_0x5e1490*0x4;_0x2b0b6a[_0x1303ad(0xd8)]>_0x50f935&&(_0x2b0b6a=_0x14c2be[_0x1303ad(0x235)](_0x2b0b6a)),_0x2b0b6a[_0x1303ad(0x1a3)]();for(var _0x4576c1=this['_oKey']=_0x2b0b6a[_0x1303ad(0x330)](),_0x496ddd=this['_iKey']=_0x2b0b6a[_0x1303ad(0x330)](),_0x3f4580=_0x4576c1['words'],_0x1a0b1e=_0x496ddd['words'],_0x946d25=0x0;_0x946d25<_0x5e1490;_0x946d25++)_0x3f4580[_0x946d25]^=0x5c5c5c5c,_0x1a0b1e[_0x946d25]^=0x36363636;_0x4576c1['sigBytes']=_0x496ddd[_0x1303ad(0xd8)]=_0x50f935,this[_0x1303ad(0xef)]();},'reset':function(){var _0x337ca9=_0x550534,_0x896df2=this[_0x337ca9(0x334)];_0x896df2[_0x337ca9(0xef)](),_0x896df2['update'](this[_0x337ca9(0x2bc)]);},'update':function(_0x37dd3f){var _0x485def=_0x550534;return this[_0x485def(0x334)][_0x485def(0x127)](_0x37dd3f),this;},'finalize':function(_0x4505ab){var _0x13e12f=_0x550534,_0x16b98e=this[_0x13e12f(0x334)],_0x5e956d=_0x16b98e[_0x13e12f(0x235)](_0x4505ab);_0x16b98e[_0x13e12f(0xef)]();var _0x10f9b2=_0x16b98e[_0x13e12f(0x235)](this[_0x13e12f(0x310)][_0x13e12f(0x330)]()[_0x13e12f(0x34e)](_0x5e956d));return _0x10f9b2;}});}());}));}(ze)),ze[_0x65f03(0x20e)];}var ys=Ye[_0x2c1408(0x20e)],ii;function Ui(){return ii||(ii=0x1,function(_0x5cf2d1,_0x21a28b){(function(_0x2549dc,_0x1df87d,_0x39a4d7){var _0x577539=_0x2fd2;_0x5cf2d1[_0x577539(0x20e)]=_0x1df87d(ie(),Rs(),Os());}(ys,function(_0xd616f3){return(function(){var _0x583efd=_0x2fd2,_0x28651e=_0xd616f3,_0x4590f0=_0x28651e[_0x583efd(0x2fb)],_0x158d56=_0x4590f0[_0x583efd(0x302)],_0x220df0=_0x4590f0[_0x583efd(0x1ae)],_0x4d780e=_0x28651e['algo'],_0x5888d7=_0x4d780e['MD5'],_0x4b2123=_0x4d780e[_0x583efd(0x19a)]=_0x158d56[_0x583efd(0x1e2)]({'cfg':_0x158d56[_0x583efd(0x1e2)]({'keySize':0x80/0x20,'hasher':_0x5888d7,'iterations':0x1}),'init':function(_0x552771){var _0x4833a8=_0x583efd;this['cfg']=this['cfg'][_0x4833a8(0x1e2)](_0x552771);},'compute':function(_0x149893,_0x281064){var _0x23a3ae=_0x583efd;for(var _0xf02c91,_0x415fd2=this[_0x23a3ae(0x1fa)],_0x16487d=_0x415fd2['hasher'][_0x23a3ae(0xdc)](),_0x1f5f39=_0x220df0[_0x23a3ae(0xdc)](),_0x5eb44c=_0x1f5f39['words'],_0x764cea=_0x415fd2[_0x23a3ae(0xd6)],_0x50f6e5=_0x415fd2['iterations'];_0x5eb44c['length']<_0x764cea;){_0xf02c91&&_0x16487d[_0x23a3ae(0x127)](_0xf02c91),_0xf02c91=_0x16487d[_0x23a3ae(0x127)](_0x149893)['finalize'](_0x281064),_0x16487d[_0x23a3ae(0xef)]();for(var _0x28aaf5=0x1;_0x28aaf5<_0x50f6e5;_0x28aaf5++)_0xf02c91=_0x16487d['finalize'](_0xf02c91),_0x16487d[_0x23a3ae(0xef)]();_0x1f5f39[_0x23a3ae(0x34e)](_0xf02c91);}return _0x1f5f39[_0x23a3ae(0xd8)]=_0x764cea*0x4,_0x1f5f39;}});_0x28651e['EvpKDF']=function(_0x5cef77,_0x540f4d,_0x541c8b){var _0x942bd2=_0x583efd;return _0x4b2123[_0x942bd2(0xdc)](_0x541c8b)[_0x942bd2(0x329)](_0x5cef77,_0x540f4d);};}()),_0xd616f3['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x2c1408(0x20e)],ni;function Ai(){var _0x4a59b4=_0x2c1408;return ni||(ni=0x1,function(_0x4d814d,_0x44e5cc){(function(_0x419d4a,_0x4dfc2a,_0x497fea){var _0xb3961a=_0x2fd2;_0x4d814d[_0xb3961a(0x20e)]=_0x4dfc2a(ie(),Ui());}(Ns,function(_0x31f28d){var _0x5d2251=_0x2fd2;_0x31f28d[_0x5d2251(0x2fb)]['Cipher']||function(_0x3198c9){var _0x46e2b1=_0x5d2251,_0x3d8b33=_0x31f28d,_0x2bde5d=_0x3d8b33[_0x46e2b1(0x2fb)],_0x468a41=_0x2bde5d[_0x46e2b1(0x302)],_0x1fc838=_0x2bde5d['WordArray'],_0x3f9da2=_0x2bde5d['BufferedBlockAlgorithm'],_0x35db19=_0x3d8b33[_0x46e2b1(0x38a)];_0x35db19['Utf8'];var _0x4ff413=_0x35db19[_0x46e2b1(0x1d7)],_0x42bc39=_0x3d8b33[_0x46e2b1(0x311)],_0x41f000=_0x42bc39['EvpKDF'],_0x2e5464=_0x2bde5d['Cipher']=_0x3f9da2[_0x46e2b1(0x1e2)]({'cfg':_0x468a41[_0x46e2b1(0x1e2)](),'createEncryptor':function(_0x113ab6,_0x49b138){var _0xba9693=_0x46e2b1;return this[_0xba9693(0xdc)](this[_0xba9693(0x1d0)],_0x113ab6,_0x49b138);},'createDecryptor':function(_0x3e30f0,_0x15c1ed){var _0x3d04e3=_0x46e2b1;return this[_0x3d04e3(0xdc)](this[_0x3d04e3(0x317)],_0x3e30f0,_0x15c1ed);},'init':function(_0x4f3154,_0x35620f,_0x5ce105){var _0x4f3438=_0x46e2b1;this[_0x4f3438(0x1fa)]=this[_0x4f3438(0x1fa)][_0x4f3438(0x1e2)](_0x5ce105),this[_0x4f3438(0x3af)]=_0x4f3154,this[_0x4f3438(0x154)]=_0x35620f,this[_0x4f3438(0xef)]();},'reset':function(){var _0x2dbb1f=_0x46e2b1;_0x3f9da2[_0x2dbb1f(0xef)][_0x2dbb1f(0x3a9)](this),this[_0x2dbb1f(0x143)]();},'process':function(_0x12e4b8){var _0x7fc97f=_0x46e2b1;return this['_append'](_0x12e4b8),this[_0x7fc97f(0x3a1)]();},'finalize':function(_0x5b0883){var _0x2d156b=_0x46e2b1;_0x5b0883&&this[_0x2d156b(0x208)](_0x5b0883);var _0x31b22f=this[_0x2d156b(0x279)]();return _0x31b22f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3a9bd7(_0x826b77){var _0x5e5562=_0x2fd2;return typeof _0x826b77==_0x5e5562(0x37c)?_0x3e9189:_0x582396;}return function(_0x15b045){return{'encrypt':function(_0x269a46,_0x53085a,_0x484d7c){return _0x3a9bd7(_0x53085a)['encrypt'](_0x15b045,_0x269a46,_0x53085a,_0x484d7c);},'decrypt':function(_0x489d5e,_0x214bda,_0x941e0c){return _0x3a9bd7(_0x214bda)['decrypt'](_0x15b045,_0x489d5e,_0x214bda,_0x941e0c);}};};}())});_0x2bde5d['StreamCipher']=_0x2e5464[_0x46e2b1(0x1e2)]({'_doFinalize':function(){var _0x5a6054=this['_process'](!0x0);return _0x5a6054;},'blockSize':0x1});var _0x1029c2=_0x3d8b33[_0x46e2b1(0x22b)]={},_0x4f2181=_0x2bde5d['BlockCipherMode']=_0x468a41[_0x46e2b1(0x1e2)]({'createEncryptor':function(_0x59cb17,_0x1c7a86){var _0x4e590e=_0x46e2b1;return this['Encryptor'][_0x4e590e(0xdc)](_0x59cb17,_0x1c7a86);},'createDecryptor':function(_0x58abb2,_0x181c59){var _0x1a6eb3=_0x46e2b1;return this[_0x1a6eb3(0x188)][_0x1a6eb3(0xdc)](_0x58abb2,_0x181c59);},'init':function(_0x46815e,_0x431d5e){var _0x3779f8=_0x46e2b1;this['_cipher']=_0x46815e,this[_0x3779f8(0x246)]=_0x431d5e;}}),_0x30ebc2=_0x1029c2[_0x46e2b1(0x181)]=(function(){var _0x47c127=_0x46e2b1,_0x24fff4=_0x4f2181[_0x47c127(0x1e2)]();_0x24fff4[_0x47c127(0x1c4)]=_0x24fff4[_0x47c127(0x1e2)]({'processBlock':function(_0x4f9d95,_0x515630){var _0x475398=_0x47c127,_0xece163=this[_0x475398(0x2df)],_0x39c50c=_0xece163[_0x475398(0x20f)];_0x49708c[_0x475398(0x3a9)](this,_0x4f9d95,_0x515630,_0x39c50c),_0xece163['encryptBlock'](_0x4f9d95,_0x515630),this[_0x475398(0x1f9)]=_0x4f9d95['slice'](_0x515630,_0x515630+_0x39c50c);}}),_0x24fff4[_0x47c127(0x188)]=_0x24fff4[_0x47c127(0x1e2)]({'processBlock':function(_0x259476,_0x7a8420){var _0x3c2ecd=_0x47c127,_0x215db3=this[_0x3c2ecd(0x2df)],_0x205cbc=_0x215db3[_0x3c2ecd(0x20f)],_0xd7d96a=_0x259476['slice'](_0x7a8420,_0x7a8420+_0x205cbc);_0x215db3[_0x3c2ecd(0x2ce)](_0x259476,_0x7a8420),_0x49708c[_0x3c2ecd(0x3a9)](this,_0x259476,_0x7a8420,_0x205cbc),this[_0x3c2ecd(0x1f9)]=_0xd7d96a;}});function _0x49708c(_0x53fad2,_0x317def,_0x2aac1a){var _0x1265d6=_0x47c127,_0x5b091,_0x48f5ab=this[_0x1265d6(0x246)];_0x48f5ab?(_0x5b091=_0x48f5ab,this[_0x1265d6(0x246)]=_0x3198c9):_0x5b091=this[_0x1265d6(0x1f9)];for(var _0x53b3b3=0x0;_0x53b3b3<_0x2aac1a;_0x53b3b3++)_0x53fad2[_0x317def+_0x53b3b3]^=_0x5b091[_0x53b3b3];}return _0x24fff4;}()),_0x18b410=_0x3d8b33[_0x46e2b1(0x2ca)]={},_0x172850=_0x18b410['Pkcs7']={'pad':function(_0xb222fa,_0x5b0b42){var _0xf3a599=_0x46e2b1;for(var _0x806a02=_0x5b0b42*0x4,_0x277092=_0x806a02-_0xb222fa['sigBytes']%_0x806a02,_0x1aab76=_0x277092<<0x18|_0x277092<<0x10|_0x277092<<0x8|_0x277092,_0x2a2303=[],_0x2c9d9f=0x0;_0x2c9d9f<_0x277092;_0x2c9d9f+=0x4)_0x2a2303[_0xf3a599(0x14c)](_0x1aab76);var _0x170d33=_0x1fc838[_0xf3a599(0xdc)](_0x2a2303,_0x277092);_0xb222fa[_0xf3a599(0x34e)](_0x170d33);},'unpad':function(_0x31bf08){var _0x23ffcd=_0x46e2b1,_0x1a35c1=_0x31bf08[_0x23ffcd(0x32d)][_0x31bf08['sigBytes']-0x1>>>0x2]&0xff;_0x31bf08['sigBytes']-=_0x1a35c1;}};_0x2bde5d[_0x46e2b1(0x233)]=_0x2e5464[_0x46e2b1(0x1e2)]({'cfg':_0x2e5464[_0x46e2b1(0x1fa)][_0x46e2b1(0x1e2)]({'mode':_0x30ebc2,'padding':_0x172850}),'reset':function(){var _0x378460=_0x46e2b1,_0x542ca5;_0x2e5464[_0x378460(0xef)][_0x378460(0x3a9)](this);var _0x2baab0=this[_0x378460(0x1fa)],_0x3a2e3f=_0x2baab0['iv'],_0x3b0f4e=_0x2baab0[_0x378460(0x22b)];this['_xformMode']==this[_0x378460(0x1d0)]?_0x542ca5=_0x3b0f4e[_0x378460(0x297)]:(_0x542ca5=_0x3b0f4e[_0x378460(0x345)],this[_0x378460(0x121)]=0x1),this[_0x378460(0xd4)]&&this['_mode'][_0x378460(0x382)]==_0x542ca5?this['_mode'][_0x378460(0x133)](this,_0x3a2e3f&&_0x3a2e3f[_0x378460(0x32d)]):(this[_0x378460(0xd4)]=_0x542ca5[_0x378460(0x3a9)](_0x3b0f4e,this,_0x3a2e3f&&_0x3a2e3f[_0x378460(0x32d)]),this[_0x378460(0xd4)][_0x378460(0x382)]=_0x542ca5);},'_doProcessBlock':function(_0x5eb9a3,_0x481ca2){var _0x287c67=_0x46e2b1;this['_mode'][_0x287c67(0x14b)](_0x5eb9a3,_0x481ca2);},'_doFinalize':function(){var _0x58ea9c=_0x46e2b1,_0x4dc43b,_0x5624a6=this[_0x58ea9c(0x1fa)]['padding'];return this[_0x58ea9c(0x3af)]==this['_ENC_XFORM_MODE']?(_0x5624a6['pad'](this[_0x58ea9c(0x19d)],this[_0x58ea9c(0x20f)]),_0x4dc43b=this[_0x58ea9c(0x3a1)](!0x0)):(_0x4dc43b=this[_0x58ea9c(0x3a1)](!0x0),_0x5624a6[_0x58ea9c(0x37d)](_0x4dc43b)),_0x4dc43b;},'blockSize':0x80/0x20});var _0x3e0ac9=_0x2bde5d[_0x46e2b1(0x2ae)]=_0x468a41[_0x46e2b1(0x1e2)]({'init':function(_0x262345){var _0x55b1e5=_0x46e2b1;this[_0x55b1e5(0x171)](_0x262345);},'toString':function(_0x5af441){var _0x120f3d=_0x46e2b1;return(_0x5af441||this[_0x120f3d(0x394)])['stringify'](this);}}),_0x1edd38=_0x3d8b33['format']={},_0xa6eec7=_0x1edd38[_0x46e2b1(0x2bd)]={'stringify':function(_0x1cacbd){var _0x4317e4=_0x46e2b1,_0x7c776e,_0xf6e332=_0x1cacbd[_0x4317e4(0x1bc)],_0x9c7bda=_0x1cacbd[_0x4317e4(0x26e)];return _0x9c7bda?_0x7c776e=_0x1fc838[_0x4317e4(0xdc)]([0x53616c74,0x65645f5f])['concat'](_0x9c7bda)['concat'](_0xf6e332):_0x7c776e=_0xf6e332,_0x7c776e[_0x4317e4(0xfa)](_0x4ff413);},'parse':function(_0x2e78b8){var _0x305338=_0x46e2b1,_0x3f909c,_0x3d3e84=_0x4ff413['parse'](_0x2e78b8),_0x5045db=_0x3d3e84[_0x305338(0x32d)];return _0x5045db[0x0]==0x53616c74&&_0x5045db[0x1]==0x65645f5f&&(_0x3f909c=_0x1fc838[_0x305338(0xdc)](_0x5045db[_0x305338(0x1f1)](0x2,0x4)),_0x5045db[_0x305338(0x15e)](0x0,0x4),_0x3d3e84[_0x305338(0xd8)]-=0x10),_0x3e0ac9[_0x305338(0xdc)]({'ciphertext':_0x3d3e84,'salt':_0x3f909c});}},_0x582396=_0x2bde5d['SerializableCipher']=_0x468a41['extend']({'cfg':_0x468a41[_0x46e2b1(0x1e2)]({'format':_0xa6eec7}),'encrypt':function(_0x524186,_0x5c7935,_0x133c71,_0x8ef763){var _0x905371=_0x46e2b1;_0x8ef763=this[_0x905371(0x1fa)][_0x905371(0x1e2)](_0x8ef763);var _0x21c65f=_0x524186['createEncryptor'](_0x133c71,_0x8ef763),_0x1e25ff=_0x21c65f[_0x905371(0x235)](_0x5c7935),_0x1a3bde=_0x21c65f[_0x905371(0x1fa)];return _0x3e0ac9[_0x905371(0xdc)]({'ciphertext':_0x1e25ff,'key':_0x133c71,'iv':_0x1a3bde['iv'],'algorithm':_0x524186,'mode':_0x1a3bde[_0x905371(0x22b)],'padding':_0x1a3bde[_0x905371(0x333)],'blockSize':_0x524186['blockSize'],'formatter':_0x8ef763[_0x905371(0x1aa)]});},'decrypt':function(_0x2f4888,_0x43d19f,_0x318248,_0xe3fca6){var _0x4058fa=_0x46e2b1;_0xe3fca6=this['cfg'][_0x4058fa(0x1e2)](_0xe3fca6),_0x43d19f=this['_parse'](_0x43d19f,_0xe3fca6[_0x4058fa(0x1aa)]);var _0x5ad853=_0x2f4888['createDecryptor'](_0x318248,_0xe3fca6)[_0x4058fa(0x235)](_0x43d19f[_0x4058fa(0x1bc)]);return _0x5ad853;},'_parse':function(_0x1efd30,_0x596596){var _0x599f0e=_0x46e2b1;return typeof _0x1efd30=='string'?_0x596596[_0x599f0e(0x353)](_0x1efd30,this):_0x1efd30;}}),_0x422d92=_0x3d8b33[_0x46e2b1(0x36b)]={},_0x4c1c7e=_0x422d92[_0x46e2b1(0x2bd)]={'execute':function(_0x1a5665,_0x59fbe5,_0x3a528f,_0x46c137,_0x12f23f){var _0x225c74=_0x46e2b1;if(_0x46c137||(_0x46c137=_0x1fc838[_0x225c74(0x27a)](0x40/0x8)),_0x12f23f)var _0x1d4eb9=_0x41f000[_0x225c74(0xdc)]({'keySize':_0x59fbe5+_0x3a528f,'hasher':_0x12f23f})['compute'](_0x1a5665,_0x46c137);else var _0x1d4eb9=_0x41f000[_0x225c74(0xdc)]({'keySize':_0x59fbe5+_0x3a528f})[_0x225c74(0x329)](_0x1a5665,_0x46c137);var _0x95c7f2=_0x1fc838[_0x225c74(0xdc)](_0x1d4eb9['words'][_0x225c74(0x1f1)](_0x59fbe5),_0x3a528f*0x4);return _0x1d4eb9[_0x225c74(0xd8)]=_0x59fbe5*0x4,_0x3e0ac9['create']({'key':_0x1d4eb9,'iv':_0x95c7f2,'salt':_0x46c137});}},_0x3e9189=_0x2bde5d[_0x46e2b1(0x132)]=_0x582396[_0x46e2b1(0x1e2)]({'cfg':_0x582396[_0x46e2b1(0x1fa)][_0x46e2b1(0x1e2)]({'kdf':_0x4c1c7e}),'encrypt':function(_0x51ce0a,_0x5a1b8f,_0x4ac4c7,_0x9029ec){var _0x3f6869=_0x46e2b1;_0x9029ec=this[_0x3f6869(0x1fa)][_0x3f6869(0x1e2)](_0x9029ec);var _0x258c77=_0x9029ec[_0x3f6869(0x36b)][_0x3f6869(0x315)](_0x4ac4c7,_0x51ce0a['keySize'],_0x51ce0a[_0x3f6869(0x339)],_0x9029ec[_0x3f6869(0x26e)],_0x9029ec[_0x3f6869(0xd2)]);_0x9029ec['iv']=_0x258c77['iv'];var _0x13334d=_0x582396[_0x3f6869(0x3c9)][_0x3f6869(0x3a9)](this,_0x51ce0a,_0x5a1b8f,_0x258c77['key'],_0x9029ec);return _0x13334d[_0x3f6869(0x171)](_0x258c77),_0x13334d;},'decrypt':function(_0x44dc25,_0x340462,_0x3abf91,_0x53d93e){var _0x4f3339=_0x46e2b1;_0x53d93e=this[_0x4f3339(0x1fa)][_0x4f3339(0x1e2)](_0x53d93e),_0x340462=this[_0x4f3339(0x316)](_0x340462,_0x53d93e['format']);var _0x3b05b1=_0x53d93e[_0x4f3339(0x36b)]['execute'](_0x3abf91,_0x44dc25[_0x4f3339(0xd6)],_0x44dc25[_0x4f3339(0x339)],_0x340462['salt'],_0x53d93e['hasher']);_0x53d93e['iv']=_0x3b05b1['iv'];var _0x4d1724=_0x582396[_0x4f3339(0x22f)][_0x4f3339(0x3a9)](this,_0x44dc25,_0x340462,_0x3b05b1[_0x4f3339(0x376)],_0x53d93e);return _0x4d1724;}});}();}));}(Je)),Je[_0x4a59b4(0x20e)];}var Ds=Ve[_0x2c1408(0x20e)],si;function Us(){return si||(si=0x1,function(_0x438f02,_0x3032c9){(function(_0x449aad,_0xeb2c60,_0x2e9f5e){var _0x204624=_0x2fd2;_0x438f02[_0x204624(0x20e)]=_0xeb2c60(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x406002){return(function(){var _0x16d806=_0x2fd2,_0x30eb51=_0x406002,_0x4266c9=_0x30eb51[_0x16d806(0x2fb)],_0x21b358=_0x4266c9['BlockCipher'],_0x2d45bc=_0x30eb51['algo'],_0x1d8f21=[],_0x28a8a1=[],_0x48ef50=[],_0x384f4b=[],_0x3c2d3f=[],_0x5ae619=[],_0x4b3644=[],_0x4c2373=[],_0x4ca7b6=[],_0x26e0f9=[];(function(){for(var _0x11313e=[],_0x2bd691=0x0;_0x2bd691<0x100;_0x2bd691++)_0x2bd691<0x80?_0x11313e[_0x2bd691]=_0x2bd691<<0x1:_0x11313e[_0x2bd691]=_0x2bd691<<0x1^0x11b;for(var _0xf4a466=0x0,_0x5ace88=0x0,_0x2bd691=0x0;_0x2bd691<0x100;_0x2bd691++){var _0x505a70=_0x5ace88^_0x5ace88<<0x1^_0x5ace88<<0x2^_0x5ace88<<0x3^_0x5ace88<<0x4;_0x505a70=_0x505a70>>>0x8^_0x505a70&0xff^0x63,_0x1d8f21[_0xf4a466]=_0x505a70,_0x28a8a1[_0x505a70]=_0xf4a466;var _0x2fb767=_0x11313e[_0xf4a466],_0x26929d=_0x11313e[_0x2fb767],_0x584997=_0x11313e[_0x26929d],_0x4703e4=_0x11313e[_0x505a70]*0x101^_0x505a70*0x1010100;_0x48ef50[_0xf4a466]=_0x4703e4<<0x18|_0x4703e4>>>0x8,_0x384f4b[_0xf4a466]=_0x4703e4<<0x10|_0x4703e4>>>0x10,_0x3c2d3f[_0xf4a466]=_0x4703e4<<0x8|_0x4703e4>>>0x18,_0x5ae619[_0xf4a466]=_0x4703e4;var _0x4703e4=_0x584997*0x1010101^_0x26929d*0x10001^_0x2fb767*0x101^_0xf4a466*0x1010100;_0x4b3644[_0x505a70]=_0x4703e4<<0x18|_0x4703e4>>>0x8,_0x4c2373[_0x505a70]=_0x4703e4<<0x10|_0x4703e4>>>0x10,_0x4ca7b6[_0x505a70]=_0x4703e4<<0x8|_0x4703e4>>>0x18,_0x26e0f9[_0x505a70]=_0x4703e4,_0xf4a466?(_0xf4a466=_0x2fb767^_0x11313e[_0x11313e[_0x11313e[_0x584997^_0x2fb767]]],_0x5ace88^=_0x11313e[_0x11313e[_0x5ace88]]):_0xf4a466=_0x5ace88=0x1;}}());var _0xd7e62a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x177a9e=_0x2d45bc[_0x16d806(0x192)]=_0x21b358[_0x16d806(0x1e2)]({'_doReset':function(){var _0x1fb934=_0x16d806,_0x160927;if(!(this[_0x1fb934(0x105)]&&this[_0x1fb934(0x142)]===this[_0x1fb934(0x154)])){for(var _0x568432=this[_0x1fb934(0x142)]=this[_0x1fb934(0x154)],_0x12d8c1=_0x568432[_0x1fb934(0x32d)],_0x3747a7=_0x568432[_0x1fb934(0xd8)]/0x4,_0x34af44=this[_0x1fb934(0x105)]=_0x3747a7+0x6,_0x43b3b2=(_0x34af44+0x1)*0x4,_0x5acf16=this['_keySchedule']=[],_0x31e3cf=0x0;_0x31e3cf<_0x43b3b2;_0x31e3cf++)_0x31e3cf<_0x3747a7?_0x5acf16[_0x31e3cf]=_0x12d8c1[_0x31e3cf]:(_0x160927=_0x5acf16[_0x31e3cf-0x1],_0x31e3cf%_0x3747a7?_0x3747a7>0x6&&_0x31e3cf%_0x3747a7==0x4&&(_0x160927=_0x1d8f21[_0x160927>>>0x18]<<0x18|_0x1d8f21[_0x160927>>>0x10&0xff]<<0x10|_0x1d8f21[_0x160927>>>0x8&0xff]<<0x8|_0x1d8f21[_0x160927&0xff]):(_0x160927=_0x160927<<0x8|_0x160927>>>0x18,_0x160927=_0x1d8f21[_0x160927>>>0x18]<<0x18|_0x1d8f21[_0x160927>>>0x10&0xff]<<0x10|_0x1d8f21[_0x160927>>>0x8&0xff]<<0x8|_0x1d8f21[_0x160927&0xff],_0x160927^=_0xd7e62a[_0x31e3cf/_0x3747a7|0x0]<<0x18),_0x5acf16[_0x31e3cf]=_0x5acf16[_0x31e3cf-_0x3747a7]^_0x160927);for(var _0x490c4b=this['_invKeySchedule']=[],_0x1769b6=0x0;_0x1769b6<_0x43b3b2;_0x1769b6++){var _0x31e3cf=_0x43b3b2-_0x1769b6;if(_0x1769b6%0x4)var _0x160927=_0x5acf16[_0x31e3cf];else var _0x160927=_0x5acf16[_0x31e3cf-0x4];_0x1769b6<0x4||_0x31e3cf<=0x4?_0x490c4b[_0x1769b6]=_0x160927:_0x490c4b[_0x1769b6]=_0x4b3644[_0x1d8f21[_0x160927>>>0x18]]^_0x4c2373[_0x1d8f21[_0x160927>>>0x10&0xff]]^_0x4ca7b6[_0x1d8f21[_0x160927>>>0x8&0xff]]^_0x26e0f9[_0x1d8f21[_0x160927&0xff]];}}},'encryptBlock':function(_0x58578c,_0xac20ec){var _0xc579d4=_0x16d806;this['_doCryptBlock'](_0x58578c,_0xac20ec,this[_0xc579d4(0x361)],_0x48ef50,_0x384f4b,_0x3c2d3f,_0x5ae619,_0x1d8f21);},'decryptBlock':function(_0x4d1fc1,_0x11bfc3){var _0x5bd359=_0x16d806,_0xcc44ad=_0x4d1fc1[_0x11bfc3+0x1];_0x4d1fc1[_0x11bfc3+0x1]=_0x4d1fc1[_0x11bfc3+0x3],_0x4d1fc1[_0x11bfc3+0x3]=_0xcc44ad,this[_0x5bd359(0xcf)](_0x4d1fc1,_0x11bfc3,this['_invKeySchedule'],_0x4b3644,_0x4c2373,_0x4ca7b6,_0x26e0f9,_0x28a8a1);var _0xcc44ad=_0x4d1fc1[_0x11bfc3+0x1];_0x4d1fc1[_0x11bfc3+0x1]=_0x4d1fc1[_0x11bfc3+0x3],_0x4d1fc1[_0x11bfc3+0x3]=_0xcc44ad;},'_doCryptBlock':function(_0x342583,_0x308f7f,_0x2a77ab,_0x4c828b,_0x4b31a1,_0x3d9a86,_0x1e9c0b,_0x5e69b3){for(var _0x25368a=this['_nRounds'],_0xbabcac=_0x342583[_0x308f7f]^_0x2a77ab[0x0],_0x84fb51=_0x342583[_0x308f7f+0x1]^_0x2a77ab[0x1],_0x35dc3c=_0x342583[_0x308f7f+0x2]^_0x2a77ab[0x2],_0x38c3=_0x342583[_0x308f7f+0x3]^_0x2a77ab[0x3],_0x12e63f=0x4,_0x37c10f=0x1;_0x37c10f<_0x25368a;_0x37c10f++){var _0x451a52=_0x4c828b[_0xbabcac>>>0x18]^_0x4b31a1[_0x84fb51>>>0x10&0xff]^_0x3d9a86[_0x35dc3c>>>0x8&0xff]^_0x1e9c0b[_0x38c3&0xff]^_0x2a77ab[_0x12e63f++],_0x2f8e03=_0x4c828b[_0x84fb51>>>0x18]^_0x4b31a1[_0x35dc3c>>>0x10&0xff]^_0x3d9a86[_0x38c3>>>0x8&0xff]^_0x1e9c0b[_0xbabcac&0xff]^_0x2a77ab[_0x12e63f++],_0x3b0f1b=_0x4c828b[_0x35dc3c>>>0x18]^_0x4b31a1[_0x38c3>>>0x10&0xff]^_0x3d9a86[_0xbabcac>>>0x8&0xff]^_0x1e9c0b[_0x84fb51&0xff]^_0x2a77ab[_0x12e63f++],_0x489043=_0x4c828b[_0x38c3>>>0x18]^_0x4b31a1[_0xbabcac>>>0x10&0xff]^_0x3d9a86[_0x84fb51>>>0x8&0xff]^_0x1e9c0b[_0x35dc3c&0xff]^_0x2a77ab[_0x12e63f++];_0xbabcac=_0x451a52,_0x84fb51=_0x2f8e03,_0x35dc3c=_0x3b0f1b,_0x38c3=_0x489043;}var _0x451a52=(_0x5e69b3[_0xbabcac>>>0x18]<<0x18|_0x5e69b3[_0x84fb51>>>0x10&0xff]<<0x10|_0x5e69b3[_0x35dc3c>>>0x8&0xff]<<0x8|_0x5e69b3[_0x38c3&0xff])^_0x2a77ab[_0x12e63f++],_0x2f8e03=(_0x5e69b3[_0x84fb51>>>0x18]<<0x18|_0x5e69b3[_0x35dc3c>>>0x10&0xff]<<0x10|_0x5e69b3[_0x38c3>>>0x8&0xff]<<0x8|_0x5e69b3[_0xbabcac&0xff])^_0x2a77ab[_0x12e63f++],_0x3b0f1b=(_0x5e69b3[_0x35dc3c>>>0x18]<<0x18|_0x5e69b3[_0x38c3>>>0x10&0xff]<<0x10|_0x5e69b3[_0xbabcac>>>0x8&0xff]<<0x8|_0x5e69b3[_0x84fb51&0xff])^_0x2a77ab[_0x12e63f++],_0x489043=(_0x5e69b3[_0x38c3>>>0x18]<<0x18|_0x5e69b3[_0xbabcac>>>0x10&0xff]<<0x10|_0x5e69b3[_0x84fb51>>>0x8&0xff]<<0x8|_0x5e69b3[_0x35dc3c&0xff])^_0x2a77ab[_0x12e63f++];_0x342583[_0x308f7f]=_0x451a52,_0x342583[_0x308f7f+0x1]=_0x2f8e03,_0x342583[_0x308f7f+0x2]=_0x3b0f1b,_0x342583[_0x308f7f+0x3]=_0x489043;},'keySize':0x100/0x20});_0x30eb51[_0x16d806(0x192)]=_0x21b358[_0x16d806(0x3b4)](_0x177a9e);}()),_0x406002['AES'];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){var _0x1fcb0b=_0x2c1408;return ai||(ai=0x1,function(_0x215c7a,_0x23a56d){(function(_0x565fba,_0x4a28af){var _0x268c52=_0x2fd2;_0x215c7a[_0x268c52(0x20e)]=_0x4a28af(ie());}(Ls,function(_0x129964){var _0x568ab9=_0x2fd2;return _0x129964[_0x568ab9(0x38a)]['Utf8'];}));}(Xe)),Xe[_0x1fcb0b(0x20e)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x2c1408(0x20e)],oi;function Hs(){var _0x25aa90=_0x2c1408;return oi||(oi=0x1,function(_0x2e96db,_0x2d87eb){(function(_0x4b7599,_0x23ccbd){var _0x10ab00=_0x2fd2;_0x2e96db[_0x10ab00(0x20e)]=_0x23ccbd(ie());}($s,function(_0x2852b5){var _0x1c71f8=_0x2fd2;return(function(){var _0x4fe625=_0x2fd2;if(typeof ArrayBuffer==_0x4fe625(0x245)){var _0x4120f4=_0x2852b5,_0x3fbfd4=_0x4120f4[_0x4fe625(0x2fb)],_0xce2c4=_0x3fbfd4[_0x4fe625(0x1ae)],_0x2d5c55=_0xce2c4['init'],_0x1a4c84=_0xce2c4[_0x4fe625(0x133)]=function(_0x5d1c5c){var _0x4aa728=_0x4fe625;if(_0x5d1c5c instanceof ArrayBuffer&&(_0x5d1c5c=new Uint8Array(_0x5d1c5c)),(_0x5d1c5c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5d1c5c instanceof Uint8ClampedArray||_0x5d1c5c instanceof Int16Array||_0x5d1c5c instanceof Uint16Array||_0x5d1c5c instanceof Int32Array||_0x5d1c5c instanceof Uint32Array||_0x5d1c5c instanceof Float32Array||_0x5d1c5c instanceof Float64Array)&&(_0x5d1c5c=new Uint8Array(_0x5d1c5c['buffer'],_0x5d1c5c[_0x4aa728(0x2c4)],_0x5d1c5c[_0x4aa728(0x31e)])),_0x5d1c5c instanceof Uint8Array){for(var _0xf6d928=_0x5d1c5c[_0x4aa728(0x31e)],_0x2d27ee=[],_0x56f866=0x0;_0x56f866<_0xf6d928;_0x56f866++)_0x2d27ee[_0x56f866>>>0x2]|=_0x5d1c5c[_0x56f866]<<0x18-_0x56f866%0x4*0x8;_0x2d5c55[_0x4aa728(0x3a9)](this,_0x2d27ee,_0xf6d928);}else _0x2d5c55[_0x4aa728(0x16d)](this,arguments);};_0x1a4c84[_0x4fe625(0x325)]=_0xce2c4;}}()),_0x2852b5['lib'][_0x1c71f8(0x1ae)];}));}(Ze)),Ze[_0x25aa90(0x20e)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x2c1408(0x20e)],ci;function _0x1f58(){var _0x40f4a2=['UNRECOGNIZED','requireSession','pluginName','[CollaborationSessionService]','onRemoteChangeset','onRemoteRej','/new_changes','randomUUID','commentUpdate$','INVALID_ARGUMENT','_sendHeartbeat','type','originalMeta','getInterceptPoints','function','_iv','action','_listenToNetworkCondition','sheets','MUTATION','&source=','getConfig','_resendWithTimeout','_collabSessionService','onSendChangeset','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','AWAITING','collabWebSocketUrl','/fetchmissing?from=','onCommentUpdate','collaMsg','onMissingChangesets','collaboration-client.local-cache-service','socket\x20open.','_schedule','toggleOnline','SUCCUSS','_transformRemoteChangesetByStateCache','_instanceService','_map','sessionStatus','ws://127.0.0.1:8000/universer-api/comb/connect','/object/','NoPadding','_loadSheet','loadOfflineData','UnitSnapshot','OTHER_CLIENT_EDITING','textRanges','ERROR_EXCEED_SIZE','PERMISSION_DENIED','YUUMI_NO_CUBOID_FOR_QUESTION','getImage','getUnitOnRev','_isPermissionRej','salt','cmd','status','save\x20fail\x20reason\x20is\x20','_unitID','APPLY_NON_SEQUENTIAL_REVISION','method','UNIVER_SLIDE','_nDataBytes','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryInfo','_doFinalize','random','revision','_loadDoc','PY_RUNTIME_SCRIPT_ERROR','online$','CHANGESET_SHOULD_RETRY','confirm','_transformStack','ERROR_IMAGE','unknown','_transformService','fromCharCode','_type','ALREADY_EXISTS','change$','/-/object/-/batch_allowed','TOO_MANY_REQUESTS','onlyLocal','max','symbol','__Key__','pauseCollaboration','_retryCount','_onJoinRoomEvent','APPLY_REJECT','enableAuthServer','_undoRedoService','_state$','_roomMembers','createEncryptor','_clearScheduledTask','conflict','_rescheduleHeartbeat','/universer-api/authz','_injector','awaitingChangeset','_tryReconnect','unit-cache-','_onUserLeave','Undefined','open$','_collaborationTimeoutTimer','saveImage','copyFileMeta','NO_OTHER_CLIENTS_EDITING','_networkConditionService','repeat','message$','_sendHeartbeatTimer','c1Prime','_clearTimeoutTimer','getRoom','CipherParams','_transformSelections','updateCollaborator','_initRequestHeader','bind','randomBytes','_onLocalMutation','YUUMI_RATE_OVER_LIMIT','unitID','LIVESHARE_FETCH_OPERATIONS','/-/object/list','?size=','_httpService','dispose','_iKey','OpenSSL','\x20-\x20','_timeoutTimer','transformStack\x20failed!','_onOffline','JOIN_ROOM_FAILED','CHANGESET_REJ','byteOffset','_toggleOnline','min','resend','session.join-failed','[DataLoaderService]','pad','LIVESHARE_OPERATION','onTransformSelections','debug','decryptBlock','_updateStatus','crypto','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_waitForHeartbeatResponse','USER_NOT_INVITED_CODE','delete','getAllMembers','updatePermissionPoint','_commentService','isPermissionRej','ceil','_getAPIPrefixPath','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','sid','deepClone','_cipher','_sendingTimer','_transformStateCache','_candidateSocket','state$','SHOULD_CLOSE_CONN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','waitForRoom$','_scheduleCompleteTimestamp','LOGIN_FAILED','INVALID_INVITE_CODE','onload','/role','HmacSHA1','objectID','getSheetBlock','close$','fetchThroughInterceptors','default','createInstance','_getSendChangesetTimeout','error','putCollaborators','CONFLICT','_configService','_memberService','_logService','fetchMissingChangesets','lib','SNAPSHOT_INVALID_SNAPSHOT','session','LEAVE','onRemoteAck','getDeserializedSheetBlock','LIVESHARE_TERMINATE','Base','onTransformRemoteChangesetByIMECache','clear','YUUMI_ASYNCIO_CANCELLED','startsWith','collaborators','transformChangesets','_collaborationUIEventService','_commandService','HELLO','COMPRESS_MUTATION_APPLY','[CollaborationUndoRedoService]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_lockTransition','_oKey','algo','/universer-api/uniscript','auth.needGotoLoginAlert','body','execute','_parse','_DEC_XFORM_MODE','result','saveChangeset','_remoteChangesetQueue','235aFeaXz','_checkMissing','_clearLocalCache','byteLength','Failed\x20to\x20update\x20permission\x20point','INVITE_CODE_REQUIRED','onSyncEditingCollabCursor','UNKNOWN_CMD','_socket$','HttpImport','prototype','_eventService','YUUMI_UNABLE_LOAD_URL','dispose$','compute','range','csShouldRetryEvent','defineProperty','words','event$','4834737ZcUESO','clone','_onRemoteRejected','_clearRedo','padding','_hasher','onLocalMutation','_updateLocalCache','IDLE','append','ivSize','updateOfflineData','unitId','_redoStacks','_roomCreated$','_localCacheService','m2Prime','charAt','CONNECTOR_DATA_TOO_LARGE','setCurrentUser','LICENSE_EXPORT_SIZE_EXCEEDED','JOIN_ROOM_PERMISSION_DENIED','createDecryptor','abs','baseRev','UNIVER_PROJECT','reverse','_queuedRemoteChangesets','reqId','updateCursorEvent','FETCH_MISS','concat','UNISCRIPT_RUN','APPLY_PERMISSION_DENIED','JOIN_ROOM_NOT_EXISTS','hasOwnProperty','parse','socketService','_createHandler','Utf8','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','_registerDependencies','location','univer-pro.collaboration-client.single-active-unit-service','_changesetReqId','close','APPLY_DUPLICATED','getFocusedUnit','localCacheService','_keySchedule','[CollaborationState]:\x20apply\x20error!','\x0aAfter:\x20','_state','_submitChangeset','localeService','onTransformIME','_clearRetryConnectingTimer','values','HMAC','kdf','addHandlerCallback','allowed','selections','8YgGlYk','11mGIDOn','YUUMI_URL_COL_OUT_OF_RANGE','_permissionService','catch','SNAPSHOT_URL_KEY','_getSignURL','key','JOINING','_init','LIVESHARE_NEW_HOST','_createHmacHelper','Hex','string','unpad','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_tryEnsureSocket','MSG_FOR_ERROR','_reverseMap','__creator','_replaceFileID','SUBMIT_CHANGESET_TIMEOUT','\x20to\x20','_removeRoom','People','fromCollab','_replayCachedMutations','enc','sessionStatus$','_clearCollaborationTimeoutTimer','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_decreaseWaiting','_createInitialStateImpl','length','/block/','_onRemoteRetry','session.room-full','formatter','SOCKET_FAILED','OFFLINE','_handler','error$','code','onRemoteRetry','9360euCvLG','_getRedoStack','[CollaborationSession]','reject','_getDownloadEndpointURL','avatar','_process','not_collab','getMember','_substituteUndoStack','_socketReady','startTime','OTHER_CLIENTS_EDITING','22486TBtYYz','call','_onFetchMissResult','onStateChange','NOT_FOUND','SNAPSHOT_SERVER_URL_KEY','unitId\x20is\x20not\x20found','_xformMode','liveShareNewHost','has','updateMember','downloadEndpointUrl','_createHelper','_snapshotService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','generateRandomId','origin','EMAIL_HAS_BEEN_BOUND','PENDING','_shouldReportTelemetry','params','getResourcesRequest','newCsEvent','_transformRemoteChangesetByIMECache','setConfig','userID','encode','UserProfileImg','_localeService','_resendTimeout','_onConnectionOpen','_incrementRevisionNumber','listCollaborators','encrypt','_waitCount','_joinRoom','[PendingState]:\x20received\x20rejection.','_executeRemoteChangeset','telemetry\x20info\x20is\x20not\x20initialized','[PendingState]:\x20received\x20acknowledgement.','_applyRemoteChangeset','createSocket','_hash','_initMergeInterceptor','CHANGESET_ACK','getUnitId','_doCryptBlock','_onRemoteACK','_pendingMutations','hasher','rng','_mode','memberID','keySize','listRoles','sigBytes','_entityInit$','_status$','UNAUTHENTICATED','create','x-univer-host','emitEvent','setWaitCount','workbook','_updateState','disposeWithMe','infoRsp','closeSession','USERS_LEAVE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','GLOBAL_ROOMS_CNT_EXCEEDS','socket\x20close','awaiting_with_pending','size','rev','_telemetryService','duration','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','reset','/allowed','_awaitingChangeset','send','subject','BASE64','onTransformState','/universer-api/oidc/authpage','asObservable','_unitInfo$','entries','toString','batchAllowed','filter','status$','getTypeOfUnitDisposed$','members','\x0aCurrent:\x20','failed\x20to\x20apply\x20missed\x20changesets!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','loadUnit','_collaborationSessionService','_nRounds','requestParams','href','_commentUpdate$','UPDATE_PERMISSION_OBJ','list','Univer','_userManagerService','_onConflict','readyForCollab','_initCloseConn','MD5','resolve','DEFAULT_FILE_NAME','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','stringify','image/bmp','getCollabEntity$','PSEUDO_FETCH_MISSING_RESULT','addImageSourceCache','csAckEvent','getTime','forEach','Error\x20on\x20receiving\x20event','[UniverCollaborationClientPlugin]','fetchMiss','LICENSE_IMPORT_SIZE_EXCEEDED','file','_minBufferSize','UNIVER_COLLABORATION_CLIENT_PLUGIN','RETRY_CONNECTING_MAX_COUNT','csRejEvent','_createSocket','withCredentials','update','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CODE','getTypeOfUnitAdded$','_syncEditingCollabCursor','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setShowComponents','BufferedBlockAlgorithm','_initDependencies','every','INVITE_CODE_HAS_BEEN_UES','PasswordBasedCipher','init','_members','_startTelemetryCollaborationNewChangeset','_startCollaboration','COMPLETION_FINISHED','_getUndoStack','_acknowledgedAwaitingChangeset','_getUploadFileURL','Hasher','FileId','toggleOffline','headers','onCommandExecuted','initWorkbookPermissionChange','Latin1','_keyPriorReset','_doReset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getAPIPrefix','2536793lZrdLt','title','onStarting','_snapshotServerService','processBlock','push','_getCtorByUniverType','isArray','FAIL','equals','_initUnitPermissionChange','_onCombEvent','UPDATE_CURSOR','_key','image/jpg','_toggleOffline','_transformIMECache','deleteCollaborator','getValue','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SOCKET_FAILED_RETRY','findIndex','subscribe','splice','actions','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_collaborationPaused','?url=','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','add','_resendTimer','join','_univerInstanceService','ERROR_IMAGE_TYPE','connection\x20error','NEW_CHANGESETS','14188560wDeQEJ','permissionRejEvent','apply','_showConflictNotification','univer-pro.collaboration-client-socket-service','UNIVER_SHEET','mixIn','responseType','Malformed\x20UTF-8\x20data','unitInfo$','_singleActiveUnitService','submit\x20changeset\x20error!','executeCommand','_sessionStatus$','members$','pipe','_scheduleCollaborationTimeoutTimer','fetching\x20missing\x20changesets\x20from\x20','_undoStacks','_socketService','collaboration_new_changeset','CHANGESET_REVISION_CONFILICT','CBC','_onUserJoin','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','COMMENT_UPDATE','indexOf','&to=','_emitMembers','Decryptor','_config','_handlerCallback','session.room-not-exists','3340584zAEjLR','UNIVER_DOC','capture','UNIVER_UNKNOWN','getCollabEntity','joinRsp','AES','/universer-api/user/session-ticket','_createInitialState','_throwTelemetryCollaborationNewChangeset','name','_unlockTransition','stopTime','pending','EvpKDF','_changesetSessionId','joinEvent','_data','post','_retryConnectingTimer','APPLY_REVISION_CONFILICT','_onRecvEvent','HEARTBEAT','clamp','/universer-api/comb','refreshPermission','OPTIONAL','_HTTPService','charCodeAt','_socket','format','/object','_sender','_revisionService','WordArray','PERSON','getCurrentRevOfUnit','msCrypto','next','LICENSE_MAX_UNITS_EXCEEDED','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_disableEditing','_transformUndoredo','objectActions','2iJSywC','$super','image/jpeg','&assign=','ciphertext','getLatestCsReqIdBySid','getMemberID','/unit/','transformSelections','getCurrentUser','eventID','routeKey','Encryptor','SNAPSHOT_HAS_BEEN_REMOVED','getRandomValues','transformMutationsWithChangeset','PERMISSION_REJ','put','_fetchMissChangesets','fetch_missing','JOIN_ROOM_FULL','[OfflineState]:\x20received\x20rejection.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getCurrentRevision','_ENC_XFORM_MODE','_onConnectionFailed','snapshotServerUrl','offline','LICENSE_DISTRO_REJECTED','complete','get','Base64','synced','getSheetId','NOT_COLLAB','authzUrl','set','COMPRESS_MUTATION_SEND','UnitEmbedded','disableLocalCache','removeMember','_members$','extend','_compressMutationService','registerHTTPInterceptor','collabSubmitChangesetUrl','mutations','_event$','SEND_CHANGESET_TIMEOUT','[CollaborationEntity]','uniscriptRunEvent','image/png','objects','getUnitType','LIVESHARE_REQUEST_HOST','onTransformRemoteChangesetByStateCache','_clearHeartbeatTimer','slice','leaveEvent','UNDEFINED','AUTHZ_URL_KEY','INGEST','appendMutation','focused$','editingUnit','_prevBlock','cfg','HttpExport','SHA1','ENSURE_SNAPSHOT_EXECUTION','data','_onMessage','JOIN','reduce','_exhaustRemoteChangesetQueue','_entities','_onRemoteChangeset','LOCAL_CACHE_INTERVAL','/rev/','interceptor','_append','changesets','_transitionLocked','transformUndoRedo','getOwnPropertyDescriptor','state','exports','blockSize','getWorkbookSelections','univer-pro.collaboration-client.network-condition.service','unsubscribe','SUBMIT_CHANGESET','onMissedChangesetFetched','[SyncedState]:\x20received\x20acknowledgement.','url','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_ENTER','_sessions','floor','_imageSourceCache','objectType','saveSheetBlock','now','/collaborator','_change$','[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.','RECV','/resources','awaiting','_sheetTransformSelectionsService','CLOSE_ROOM','197454GQAdJa','_socketMessageSubscription','_getLoginPath','UUID','mode','find','hostname','_substituteRedoStack','decrypt','INVITE_CODE_ALREADY_BOUND','map','signUrlServerUrl','BlockCipher','ONLINE','finalize','readInt32LE'];_0x1f58=function(){return _0x40f4a2;};return _0x1f58();}function Vs(){var _0x28923e=_0x2c1408;return ci||(ci=0x1,function(_0x3ca601,_0x3ebb55){(function(_0x19a743,_0xeb16c2,_0x58263a){var _0xe39bfa=_0x2fd2;_0x3ca601[_0xe39bfa(0x20e)]=_0xeb16c2(ie(),Ai());}(Fs,function(_0x4e506c){var _0x19b761=_0x2fd2;return _0x4e506c[_0x19b761(0x2ca)][_0x19b761(0x262)]={'pad':function(){},'unpad':function(){}},_0x4e506c[_0x19b761(0x2ca)][_0x19b761(0x262)];}));}(Qe)),Qe[_0x28923e(0x20e)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x30a0c4,_0x481c41){var _0x53e0bc=_0x2c1408;const _0x2c5345=_0x481c41-_0x30a0c4[_0x53e0bc(0x390)]%_0x481c41,_0x4ecda8=String['fromCharCode'](_0x2c5345)[_0x53e0bc(0x2a8)](_0x2c5345);return _0x30a0c4+_0x4ecda8;}function Ys(_0x514ab9,_0x222175){var _0x243178=_0x2c1408;const _0x20c951=js[_0x243178(0x27a)](0x10),_0xf2f2ce=Ks(_0x514ab9,0x10),_0x3e6f03=ws[_0x243178(0x3c9)](ks[_0x243178(0x353)](_0xf2f2ce),ri['parse'](_0x222175),{'iv':_0x20c951,'padding':Ws});return _0x20c951[_0x243178(0x34e)](_0x3e6f03[_0x243178(0x1bc)])['toString'](ri);}function qs(){var _0x19b270=_0x2c1408;const _0x3f7e1e=_0x5ef480()[_0x19b270(0x28e)];if(_0x3f7e1e){const _0x4649b4={'time':Math[_0x19b270(0x21a)](Date[_0x19b270(0x21e)]()/0x3e8),'domain':location[_0x19b270(0x22d)]};return Ys(JSON['stringify'](_0x4649b4),_0x3f7e1e);}}var zs=Object[_0x2c1408(0x20c)],Js=(_0x38ea55,_0x24d0bb,_0x58961d,_0x293237)=>{var _0x190221=_0x2c1408;for(var _0x4877f8=_0x293237>0x1?void 0x0:_0x293237?zs(_0x24d0bb,_0x58961d):_0x24d0bb,_0x89c224=_0x38ea55[_0x190221(0x390)]-0x1,_0x103ac1;_0x89c224>=0x0;_0x89c224--)(_0x103ac1=_0x38ea55[_0x89c224])&&(_0x4877f8=_0x103ac1(_0x4877f8)||_0x4877f8);return _0x4877f8;},Xs=(_0x45cc74,_0x4074a4)=>(_0x2d0a8f,_0x36683a)=>_0x4074a4(_0x2d0a8f,_0x36683a,_0x45cc74);let at=class{constructor(_0x5cde37){var _0x30d9d8=_0x2c1408;this[_0x30d9d8(0x2ba)]=_0x5cde37,this[_0x30d9d8(0x2b1)]();}[_0x2c1408(0x2b1)](){var _0x1fa032=_0x2c1408;this[_0x1fa032(0x2ba)][_0x1fa032(0x1e4)]({'interceptor':(_0x366942,_0x212a93)=>{var _0x4f2e23=_0x1fa032;const _0x102206=_0x366942[_0x4f2e23(0x13e)],_0x3e128c=qs();return _0x3e128c&&_0x102206[_0x4f2e23(0x1dc)](_0x4f2e23(0xdd),_0x3e128c),_0x212a93(_0x366942);}});}};at=Js([Xs(0x0,_0x53facb(_0x55ce66))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x115075,_0x596d08,_0x5301f4,_0x12e88b)=>{var _0x3e3c97=_0x2c1408;for(var _0x4f1506=_0x12e88b>0x1?void 0x0:_0x12e88b?Zs(_0x596d08,_0x5301f4):_0x596d08,_0x1d3165=_0x115075[_0x3e3c97(0x390)]-0x1,_0xf79e0d;_0x1d3165>=0x0;_0x1d3165--)(_0xf79e0d=_0x115075[_0x1d3165])&&(_0x4f1506=_0xf79e0d(_0x4f1506)||_0x4f1506);return _0x4f1506;},mt=(_0x14eaea,_0x4d9919)=>(_0x5a634e,_0x3c81ab)=>_0x4d9919(_0x5a634e,_0x3c81ab,_0x14eaea);let bt=class extends _0x365189{constructor(_0x5e5c9b,_0x5a7c48,_0x29e750){var _0x51d348=_0x2c1408;super(),N(this,'_unitInfo$',new _0x18351b(null)),N(this,_0x51d348(0x174),this[_0x51d348(0xf8)][_0x51d348(0xf7)]()),(this['_logService']=_0x5e5c9b,this[_0x51d348(0x3b5)]=_0x5a7c48,this[_0x51d348(0x33e)]=_0x29e750);}async[_0x2c1408(0x103)](_0x238db8,_0xf5fb63,_0x3aeea){var _0x2fd2c7=_0x2c1408;this[_0x2fd2c7(0xf8)][_0x2fd2c7(0x1b2)]({'unitId':_0x238db8,'type':_0xf5fb63,'subUnitId':_0x3aeea});let _0x4047fa=null;switch(_0xf5fb63){case Q[_0x2fd2c7(0x170)]:{_0x4047fa=await this[_0x2fd2c7(0x263)](_0x238db8);break;}case Q[_0x2fd2c7(0x18d)]:{_0x4047fa=await this[_0x2fd2c7(0x27c)](_0x238db8);break;}default:{this['_logService'][_0x2fd2c7(0x2f4)](_0x2fd2c7(0x2c9),_0x2fd2c7(0x160));break;}}return _0x4047fa;}async['_loadSheet'](_0x473411){var _0x38c6f1=_0x2c1408,_0x4fcd24;let _0x2beb96=0x0;const _0x3caa05=await((_0x4fcd24=this[_0x38c6f1(0x33e)])==null?void 0x0:_0x4fcd24[_0x38c6f1(0x264)](_0x473411));return _0x3caa05&&(_0x3caa05[_0x38c6f1(0x29d)]||_0x3caa05[_0x38c6f1(0x1e6)][_0x38c6f1(0x390)]!==0x0)&&(_0x2beb96=_0x3caa05[_0x38c6f1(0xeb)]),_0x2beb96===0x0&&this[_0x38c6f1(0x2f9)]['debug'](_0x38c6f1(0x2c9),_0x38c6f1(0x163)),this[_0x38c6f1(0x3b5)]['loadSheet'](_0x473411,_0x2beb96);}async[_0x2c1408(0x27c)](_0x5308b4){var _0x22c88c=_0x2c1408,_0x182aa3;let _0x57e398=0x0;const _0x369536=await((_0x182aa3=this[_0x22c88c(0x33e)])==null?void 0x0:_0x182aa3[_0x22c88c(0x264)](_0x5308b4));return _0x369536&&(_0x369536[_0x22c88c(0x29d)]||_0x369536[_0x22c88c(0x1e6)][_0x22c88c(0x390)]!==0x0)&&(_0x57e398=_0x369536[_0x22c88c(0xeb)]),_0x57e398===0x0&&this[_0x22c88c(0x2f9)][_0x22c88c(0x2cd)](_0x22c88c(0x2c9),_0x22c88c(0x163)),this[_0x22c88c(0x3b5)]['loadDoc'](_0x5308b4,_0x57e398);}};bt=Qs([mt(0x0,_0xa8fd8d),mt(0x1,_0x53facb(_0x3b915d)),mt(0x2,_0xef1d69(J))],bt);var er=Object[_0x2c1408(0x20c)],tr=(_0x45e3cd,_0x586f54,_0x45508d,_0x408fe4)=>{var _0x33990a=_0x2c1408;for(var _0x1af15f=_0x408fe4>0x1?void 0x0:_0x408fe4?er(_0x586f54,_0x45508d):_0x586f54,_0x5ed21d=_0x45e3cd[_0x33990a(0x390)]-0x1,_0x19be2c;_0x5ed21d>=0x0;_0x5ed21d--)(_0x19be2c=_0x45e3cd[_0x5ed21d])&&(_0x1af15f=_0x19be2c(_0x1af15f)||_0x1af15f);return _0x1af15f;},gt=(_0x8e707,_0x4c3e0f)=>(_0x838f61,_0x5eff8f)=>_0x4c3e0f(_0x838f61,_0x5eff8f,_0x8e707);const ir=[_0x2c1408(0x1eb),_0x2c1408(0x1ba),_0x2c1408(0x155),'image/gif',_0x2c1408(0x115)],nr=0x5*0x400*0x400,sr=_0x2c1408(0x1ce),rr='/universer-api/stream/file/upload',ar=_0x2c1408(0x3b6),or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x5737f5,_0x4b6e46,_0x2729e9){var _0x392c77=_0x2c1408;N(this,_0x392c77(0x3ca),0x0),N(this,'_change$',new _0x3997fa()),N(this,_0x392c77(0x288),this[_0x392c77(0x220)]),N(this,_0x392c77(0x21b),new Map()),(this[_0x392c77(0x2ba)]=_0x5737f5,this['_configService']=_0x4b6e46,this[_0x392c77(0x167)]=_0x2729e9);}[_0x2c1408(0xdf)](_0x27a2c9){var _0x1ffdbe=_0x2c1408;this[_0x1ffdbe(0x3ca)]=_0x27a2c9,this[_0x1ffdbe(0x220)][_0x1ffdbe(0x1b2)](_0x27a2c9);}['getImageSourceCache'](_0x4ed63a,_0x35a734){var _0x3c575c=_0x2c1408;if(_0x35a734===_0x67d307['BASE64']){const _0x5dfd82=new Image();return _0x5dfd82['src']=_0x4ed63a,_0x5dfd82;}return this[_0x3c575c(0x21b)][_0x3c575c(0x1d6)](_0x4ed63a);}[_0x2c1408(0x118)](_0x5863af,_0x41a9e0,_0x4347e5){var _0x513852=_0x2c1408;_0x41a9e0===_0x67d307[_0x513852(0xf4)]||_0x4347e5==null||this[_0x513852(0x21b)][_0x513852(0x1dc)](_0x5863af,_0x4347e5);}async[_0x2c1408(0x26b)](_0x389c00){var _0x2e91ab=_0x2c1408;try{const _0x1e98c6=this[_0x2e91ab(0x383)](this[_0x2e91ab(0x375)](),''+_0x389c00),_0x50608c=(await this[_0x2e91ab(0x2ba)][_0x2e91ab(0x1d6)](_0x1e98c6))['body'];if(_0x50608c[_0x2e91ab(0x2f4)]&&_0x50608c[_0x2e91ab(0x2f4)]['code']===Si['OK']){const _0xde345a=new URL(_0x50608c[_0x2e91ab(0x216)],this[_0x2e91ab(0x39f)]())[_0x2e91ab(0xfa)]();return Promise[_0x2e91ab(0x111)](_0xde345a);}return Promise[_0x2e91ab(0x39e)](_0x50608c[_0x2e91ab(0x2f4)]);}catch(_0x320ce8){return Promise[_0x2e91ab(0x39e)](_0x320ce8);}}async[_0x2c1408(0x2a4)](_0x5f20d7){var _0x5f28b5=_0x2c1408;let _0x2a1d60='';if(!ir['includes'](_0x5f20d7[_0x5f28b5(0x242)]))return this[_0x5f28b5(0x38e)](),Promise[_0x5f28b5(0x39e)](new Error(_0x5dc859[_0x5f28b5(0x168)]));if(_0x5f20d7[_0x5f28b5(0xea)]>nr)return this[_0x5f28b5(0x38e)](),Promise[_0x5f28b5(0x39e)](new Error(_0x5dc859[_0x5f28b5(0x268)]));try{const _0x5d0c8d=new FormData();_0x5d0c8d[_0x5f28b5(0x338)](_0x5f28b5(0x120),_0x5f20d7);const _0x3b6ebc=this[_0x5f28b5(0x167)][_0x5f28b5(0x35f)](),_0x1b1c57=_0x3b6ebc==null?void 0x0:_0x3b6ebc['getUnitId']();if(!_0x1b1c57)throw new Error(_0x5f28b5(0x3ae));const _0x516bd4=this[_0x5f28b5(0x13a)]()+_0x5f28b5(0x2b9)+_0x5f20d7[_0x5f28b5(0xea)]['toString']()+_0x5f28b5(0x24b)+Ei[_0x5f28b5(0x1de)]+_0x5f28b5(0x1bb)+encodeURIComponent(_0x1b1c57),_0x1d4908={'body':_0x5d0c8d},_0x28874e=(await this[_0x5f28b5(0x2ba)][_0x5f28b5(0x19e)](_0x516bd4,_0x1d4908))[_0x5f28b5(0x314)];if(typeof _0x28874e[_0x5f28b5(0x13c)]!=_0x5f28b5(0x37c))return this[_0x5f28b5(0x38e)](),Promise[_0x5f28b5(0x39e)](new Error(_0x5dc859[_0x5f28b5(0x282)]));_0x2a1d60=_0x28874e[_0x5f28b5(0x13c)];}catch{return this['_decreaseWaiting'](),Promise[_0x5f28b5(0x39e)](new Error(_0x5dc859[_0x5f28b5(0x282)]));}return new Promise((_0x121075,_0x252774)=>{var _0x248251=_0x5f28b5;const _0xd64f0b=new FileReader();_0xd64f0b['readAsDataURL'](_0x5f20d7),_0xd64f0b[_0x248251(0x2ea)]=_0x551d54=>{var _0x1c6564=_0x248251,_0x595d7c;const _0x22296a=(_0x595d7c=_0x551d54['target'])==null?void 0x0:_0x595d7c[_0x1c6564(0x318)];if(_0x22296a==null){this[_0x1c6564(0x38e)](),_0x252774(new Error(_0x5dc859[_0x1c6564(0x282)]));return;}const _0x41be75=_0x342953[_0x1c6564(0x3b7)](0x6);_0x121075({'imageId':_0x41be75,'imageSourceType':_0x67d307[_0x1c6564(0x22a)],'source':_0x2a1d60,'base64Cache':_0x22296a,'status':_0x5dc859[_0x1c6564(0x25b)]}),this[_0x1c6564(0x38e)]();};});}[_0x2c1408(0x13a)](){var _0x1d5dba=_0x2c1408,_0x58ceef,_0x36dd75;const _0xb63e4c=this['_configService'][_0x1d5dba(0x24c)](sr),_0x3431fb=this[_0x1d5dba(0x2f7)][_0x1d5dba(0x24c)](q);return(_0x36dd75=(_0x58ceef=_0x3431fb==null?void 0x0:_0x3431fb['uploadFileServerUrl'])!=null?_0x58ceef:_0xb63e4c)!=null?_0x36dd75:rr;}['_getSignURL'](){var _0x3c3967=_0x2c1408,_0x1f2d69,_0xe4eb4d;const _0x5c0dfa=this['_configService'][_0x3c3967(0x24c)](ar),_0xd168bf=this[_0x3c3967(0x2f7)][_0x3c3967(0x24c)](q);return(_0xe4eb4d=(_0x1f2d69=_0xd168bf==null?void 0x0:_0xd168bf[_0x3c3967(0x232)])!=null?_0x1f2d69:_0x5c0dfa)!=null?_0xe4eb4d:or;}['_getDownloadEndpointURL'](){var _0x1cf587=_0x2c1408,_0x4df46b;const _0x220124=this['_configService'][_0x1cf587(0x24c)](q);return(_0x4df46b=_0x220124==null?void 0x0:_0x220124[_0x1cf587(0x3b3)])!=null?_0x4df46b:location[_0x1cf587(0x3b8)];}[_0x2c1408(0x383)](_0x11c227,_0x572167){return _0x11c227['replace']('{fileID}',_0x572167);}[_0x2c1408(0x38e)](){var _0x36191e=_0x2c1408;this[_0x36191e(0x3ca)]-=0x1,this[_0x36191e(0x220)][_0x36191e(0x1b2)](this[_0x36191e(0x3ca)]);}};Ot=tr([gt(0x0,_0x53facb(_0x55ce66)),gt(0x1,_0x40f6f4),gt(0x2,_0x53facb(_0x283e25))],Ot);var cr=Object[_0x2c1408(0x20c)],hr=(_0x2eb60c,_0x34426a,_0x443c2f,_0x497f03)=>{var _0x25c3fd=_0x2c1408;for(var _0x3b1774=_0x497f03>0x1?void 0x0:_0x497f03?cr(_0x34426a,_0x443c2f):_0x34426a,_0x5c31e0=_0x2eb60c[_0x25c3fd(0x390)]-0x1,_0x273cae;_0x5c31e0>=0x0;_0x5c31e0--)(_0x273cae=_0x2eb60c[_0x5c31e0])&&(_0x3b1774=_0x273cae(_0x3b1774)||_0x3b1774);return _0x3b1774;},hi=(_0x612ec1,_0xedb3ca)=>(_0x2e3c4e,_0x3aecf5)=>_0xedb3ca(_0x2e3c4e,_0x3aecf5,_0x612ec1);const _r=_0x2c1408(0x29b);let yt=class{constructor(_0x5f485f,_0x4301c5){var _0x175bba=_0x2c1408;this[_0x175bba(0x2f7)]=_0x5f485f,this['_HTTPService']=_0x4301c5;}[_0x2c1408(0x2db)](){var _0x479e39=_0x2c1408,_0x47a14d,_0x248ee1;const _0x3afe60=this[_0x479e39(0x2f7)][_0x479e39(0x24c)](Ni),_0x4890ac=this[_0x479e39(0x2f7)][_0x479e39(0x24c)](q);return(_0x248ee1=(_0x47a14d=_0x4890ac==null?void 0x0:_0x4890ac[_0x479e39(0x1db)])!=null?_0x47a14d:_0x3afe60)!=null?_0x248ee1:_r;}async[_0x2c1408(0x10a)](_0x9451ec){var _0x31f7a4=_0x2c1408;const _0xc67310=this[_0x31f7a4(0x2db)]()+_0x31f7a4(0x21f);return{'list':[{'title':_0x31f7a4(0x387),'mentions':(await this[_0x31f7a4(0x1a7)]['get'](_0xc67310,{'params':{'objectID':_0x9451ec[_0x31f7a4(0x33b)],'unitID':_0x9451ec[_0x31f7a4(0x33b)]}}))['body'][_0x31f7a4(0x307)][_0x31f7a4(0x231)](_0xe6a748=>({'objectId':_0xe6a748['id'],'name':_0xe6a748['subject'][_0x31f7a4(0x196)],'metadata':{'icon':_0xe6a748[_0x31f7a4(0xf3)][_0x31f7a4(0x3a0)]},'label':_0xe6a748[_0x31f7a4(0xf3)][_0x31f7a4(0x196)],'objectType':_0x4f3c29['PERSON']})),'metadata':{},'type':_0x4f3c29[_0x31f7a4(0x1af)]}]};}};yt=hr([hi(0x0,_0x53facb(_0x40f6f4)),hi(0x1,_0x53facb(_0x55ce66))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x144be9,_0x5f1457,_0xdf7c8,_0x3d7c28)=>{for(var _0x41c4b3=_0x3d7c28>0x1?void 0x0:_0x3d7c28?lr(_0x5f1457,_0xdf7c8):_0x5f1457,_0x5d70d4=_0x144be9['length']-0x1,_0x3ea5fd;_0x5d70d4>=0x0;_0x5d70d4--)(_0x3ea5fd=_0x144be9[_0x5d70d4])&&(_0x41c4b3=_0x3ea5fd(_0x41c4b3)||_0x41c4b3);return _0x41c4b3;},we=(_0x382c24,_0x5aee86)=>(_0x4ed7a4,_0x5048a1)=>_0x5aee86(_0x4ed7a4,_0x5048a1,_0x382c24);let ot=class extends _0x365189{constructor(_0x1409a5,_0x209724,_0x22ec39,_0x4587f8,_0x1385e9){var _0x24b7b6=_0x2c1408;super(),this[_0x24b7b6(0x29c)]=_0x1409a5,this[_0x24b7b6(0x167)]=_0x209724,this[_0x24b7b6(0x372)]=_0x22ec39,this[_0x24b7b6(0x104)]=_0x4587f8,this[_0x24b7b6(0x309)]=_0x1385e9,this['_initUnitPermissionChange'](),this[_0x24b7b6(0x10f)]();}['_initCloseConn'](){var _0xfce805=_0x2c1408;const _0x149b94=async _0x2d26c8=>{var _0x275757=_0x2fd2;(await this['_collaborationSessionService'][_0x275757(0x238)](_0x2d26c8))[_0x275757(0x32e)][_0x275757(0x17a)](_0x2fe085(_0xf6e8c1=>_0xf6e8c1[_0x275757(0x1c2)]===_0x1d6d57[_0x275757(0x2e4)]),_0x4f916d(this[_0x275757(0x328)]))[_0x275757(0x15d)](_0x493d29=>{var _0x360f5c=_0x275757;const _0x310900=_0x493d29,{reason:_0x305da2}=_0x310900[_0x360f5c(0x1fe)];this[_0x360f5c(0x309)][_0x360f5c(0xde)]({'id':re[_0x360f5c(0x226)],'data':_0x305da2}),this[_0x360f5c(0x372)]['updatePermissionPoint'](new _0xd3dbde(_0x2d26c8)['id'],!0x1),this[_0x360f5c(0x104)][_0x360f5c(0xe4)](_0x2d26c8);});};_0x23b7d5(this[_0xfce805(0x167)][_0xfce805(0x12a)](_0x36793f[_0xfce805(0x170)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x36793f[_0xfce805(0x18d)]))[_0xfce805(0x17a)](_0x63c395(_0x4e65a0=>_0x4e65a0[_0xfce805(0xce)]()),_0x2fe085(_0x31b161=>!_0x56f3bf(_0x31b161)),_0x4f916d(this[_0xfce805(0x328)]))[_0xfce805(0x15d)](_0x3a3beb=>{_0x149b94(_0x3a3beb);});}[_0x2c1408(0x151)](){var _0x3248ca=_0x2c1408;const _0x59be5e=async _0x1086c=>{var _0x5067e0=_0x2fd2;const _0x4b5fe4=await this['_collaborationSessionService'][_0x5067e0(0x238)](_0x1086c),_0x45ba07=this[_0x5067e0(0x29c)]['get'](_0x147ec5);_0x4b5fe4[_0x5067e0(0x32e)][_0x5067e0(0x17a)](_0x2fe085(_0x319beb=>_0x319beb['eventID']===_0x1d6d57[_0x5067e0(0x109)]),_0x4f916d(this[_0x5067e0(0x328)]))[_0x5067e0(0x15d)](_0xaace1e=>{var _0x4aced1=_0x5067e0;const _0x4a7a13=_0xaace1e,{objectId:_0x49f388}=_0x4a7a13['data'];_0x49f388===_0x1086c?_0x45ba07[_0x4aced1(0x140)](_0x1086c):_0x45ba07[_0x4aced1(0x1a5)](_0x1086c,_0x49f388);});};_0x23b7d5(this[_0x3248ca(0x167)][_0x3248ca(0x12a)](_0x36793f[_0x3248ca(0x170)]))[_0x3248ca(0x17a)](_0x63c395(_0x2f81d9=>_0x2f81d9[_0x3248ca(0xce)]()),_0x2fe085(_0x46fb5a=>!_0x56f3bf(_0x46fb5a)),_0x4f916d(this['dispose$']))[_0x3248ca(0x15d)](_0x2ced46=>{_0x59be5e(_0x2ced46);});}};ot=ur([we(0x0,_0x53facb(_0x29a7fb)),we(0x1,_0x283e25),we(0x2,_0x4bffcb),we(0x3,_0x53facb(xe)),we(0x4,_0x53facb(pe))],ot);var dr=Object[_0x2c1408(0x20c)],fr=(_0x4592fe,_0x46bf34,_0x63dbf9,_0x134b77)=>{for(var _0x8ab4b3=_0x134b77>0x1?void 0x0:_0x134b77?dr(_0x46bf34,_0x63dbf9):_0x46bf34,_0x1c1365=_0x4592fe['length']-0x1,_0x35b55b;_0x1c1365>=0x0;_0x1c1365--)(_0x35b55b=_0x4592fe[_0x1c1365])&&(_0x8ab4b3=_0x35b55b(_0x8ab4b3)||_0x8ab4b3);return _0x8ab4b3;},_i=(_0x37f826,_0x4088f9)=>(_0x18e4e3,_0x4ad256)=>_0x4088f9(_0x18e4e3,_0x4ad256,_0x37f826);let Nt=class{constructor(_0x34ca07,_0x3068a3){var _0x3ae3c1=_0x2c1408;this['_configService']=_0x34ca07,this[_0x3ae3c1(0x2ba)]=_0x3068a3;}async[_0x2c1408(0x26c)](_0x1c72bb,_0x3fb649){var _0x90a96b=_0x2c1408,_0x11f6a7;const {unitID:_0x190180,type:_0x1e4a37,revision:_0x145958=0x0}=_0x3fb649,_0x7f5f57=this['getSnapshotAPIPath']()+'/'+_0x1e4a37+_0x90a96b(0x1bf)+_0x190180+_0x90a96b(0x206)+_0x145958,_0x1442e2=(await this['_httpService'][_0x90a96b(0x1d6)](_0x7f5f57))[_0x90a96b(0x314)],_0x25fa4f=(_0x11f6a7=_0x1442e2['snapshot'])==null?void 0x0:_0x11f6a7[_0x90a96b(0xe0)];if(_0x25fa4f){const _0x4f5f3a=_0x25fa4f==null?void 0x0:_0x25fa4f[_0x90a96b(0x243)],_0x1cb377=_0x11fd44[_0x90a96b(0x3c2)](_0xbf13c7(_0x4f5f3a));_0x25fa4f[_0x90a96b(0x243)]=_0x1cb377,Object[_0x90a96b(0xf9)](_0x25fa4f[_0x90a96b(0x249)])[_0x90a96b(0x11b)](([,_0xf4bbc6])=>{var _0x3ac3ff=_0x90a96b;const _0x283154=_0xf4bbc6[_0x3ac3ff(0x243)],_0x218879=_0x11fd44['encode'](_0xbf13c7(_0x283154));_0xf4bbc6['originalMeta']=_0x218879;});}return _0x1442e2;}async[_0x2c1408(0x2ee)](_0x139297,_0x560aa4){var _0xde541f=_0x2c1408;const {unitID:_0x33d5f6,type:_0xcdccb0,blockID:_0x5f34f5}=_0x560aa4,_0x48f5f6=this[_0xde541f(0x146)]()+'/'+_0xcdccb0+_0xde541f(0x1bf)+_0x33d5f6+_0xde541f(0x391)+_0x5f34f5;return(await this[_0xde541f(0x2ba)]['get'](_0x48f5f6))[_0xde541f(0x314)];}async[_0x2c1408(0x300)](_0x51d334,_0x2561d7){var _0x4cce5e=_0x2c1408;const {unitID:_0x56968b,type:_0x55f75b,blockID:_0xc341f9}=_0x2561d7,_0x2fbd17=this[_0x4cce5e(0x146)]()+_0x4cce5e(0x391)+_0x55f75b+_0x4cce5e(0x1bf)+_0x56968b+_0x4cce5e(0x391)+_0xc341f9;return(await this[_0x4cce5e(0x2ba)][_0x4cce5e(0x1d6)](_0x2fbd17))[_0x4cce5e(0x314)];}async[_0x2c1408(0x2fa)](_0xf2ea78,_0x39dbe9){var _0xcb009b=_0x2c1408;const {unitID:_0x7ac356,type:_0x3c4634,from:_0x2587b3,to:_0x1e2774}=_0x39dbe9,_0x2c7433=this[_0xcb009b(0x146)]()+'/'+_0x3c4634+_0xcb009b(0x1bf)+_0x7ac356+_0xcb009b(0x253)+_0x2587b3+_0xcb009b(0x186)+_0x1e2774;return(await this[_0xcb009b(0x2ba)][_0xcb009b(0x1d6)](_0x2c7433))['body'];}['getSnapshotAPIPath'](){var _0x4843ce=_0x2c1408,_0x273e6c;return(_0x273e6c=this[_0x4843ce(0x2f7)][_0x4843ce(0x24c)](Sn))!=null?_0x273e6c:this[_0x4843ce(0x146)]();}['_getAPIPrefix'](){var _0x435fdf=_0x2c1408,_0x35aec6,_0x4ab70c;const _0x24d722=this[_0x435fdf(0x2f7)][_0x435fdf(0x24c)](mn),_0x1e41c8=this[_0x435fdf(0x2f7)]['getConfig'](q);return(_0x4ab70c=(_0x35aec6=_0x1e41c8==null?void 0x0:_0x1e41c8[_0x435fdf(0x1d2)])!=null?_0x35aec6:_0x24d722)!=null?_0x4ab70c:gn;}async[_0x2c1408(0x3bd)](_0x337d78,_0x2f3a22){var _0x533b33=_0x2c1408;const _0x28ea21='/universer-api/snapshot/'+_0x2f3a22['type']+_0x533b33(0x1bf)+_0x2f3a22['unitID']+_0x533b33(0x223);return(await this['_httpService'][_0x533b33(0x1d6)](_0x28ea21,{'params':{'resourceId':JSON[_0x533b33(0x114)](_0x2f3a22['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2c1408(0x21d)](){var _0x29c64d=_0x2c1408;throw new Error(_0x29c64d(0x128));}[_0x2c1408(0x319)](){var _0x37dd64=_0x2c1408;throw new Error(_0x37dd64(0x128));}[_0x2c1408(0x2a5)](){var _0xec85b6=_0x2c1408;throw new Error(_0xec85b6(0x128));}[_0x2c1408(0x1bd)](){var _0x4592cb=_0x2c1408;throw new Error(_0x4592cb(0x128));}};Nt=fr([_i(0x0,_0x40f6f4),_i(0x1,_0x53facb(_0x55ce66))],Nt);var vr=Object[_0x2c1408(0x20c)],pr=(_0x3873f2,_0x59ab1e,_0xbd9abe,_0x2e9c50)=>{var _0x49f928=_0x2c1408;for(var _0xf6ce72=_0x2e9c50>0x1?void 0x0:_0x2e9c50?vr(_0x59ab1e,_0xbd9abe):_0x59ab1e,_0x23c564=_0x3873f2[_0x49f928(0x390)]-0x1,_0x577e72;_0x23c564>=0x0;_0x23c564--)(_0x577e72=_0x3873f2[_0x23c564])&&(_0xf6ce72=_0x577e72(_0xf6ce72)||_0xf6ce72);return _0xf6ce72;},Pe=(_0x45321a,_0x4e9114)=>(_0x58a9b0,_0x4a930a)=>_0x4e9114(_0x58a9b0,_0x4a930a,_0x45321a);let Dt=class extends _0x19b47f{constructor(_0x496fe4,_0x13d351,_0x388f1d,_0x2481c7,_0x2862c3){var _0x563fba=_0x2c1408;super(_0x496fe4,_0x13d351,_0x388f1d),this[_0x563fba(0x284)]=_0x2481c7,this[_0x563fba(0x2f9)]=_0x2862c3;}[_0x2c1408(0x20b)](_0x3c7ae4,_0x3dc4e3){var _0x512e7d=_0x2c1408;const _0x51560a=this[_0x512e7d(0x138)](_0x3c7ae4);if(_0x51560a)try{const _0x56e0c5=this['_transformStack'](_0x51560a,_0x3dc4e3);this[_0x512e7d(0x3a4)](_0x3c7ae4,_0x56e0c5);}catch(_0x34ff9d){this[_0x512e7d(0x2f9)][_0x512e7d(0x2f4)](_0x512e7d(0x30d),_0x34ff9d),this['_clearUndo'](_0x3c7ae4);}const _0x45c14d=this[_0x512e7d(0x39c)](_0x3c7ae4);if(_0x45c14d)try{const _0x49725=this[_0x512e7d(0x281)](_0x45c14d,_0x3dc4e3);this[_0x512e7d(0x22e)](_0x3c7ae4,_0x49725);}catch(_0x212d1d){this[_0x512e7d(0x2f9)][_0x512e7d(0x2f4)](_0x212d1d),this[_0x512e7d(0x332)](_0x3c7ae4);}}['_clearUndo'](_0x3cd0f6){var _0x29bbd6=_0x2c1408;const _0x39d2d5=this[_0x29bbd6(0x138)](_0x3cd0f6);_0x39d2d5&&(_0x39d2d5['length']=0x0,this[_0x29bbd6(0x2cf)]());}['_clearRedo'](_0x38a7d2){var _0x359e20=_0x2c1408;const _0x11cee8=this[_0x359e20(0x39c)](_0x38a7d2);_0x11cee8&&(_0x11cee8[_0x359e20(0x390)]=0x0,this[_0x359e20(0x2cf)]());}['_substituteUndoStack'](_0x1e5a5a,_0x13aebc){var _0x257df8=_0x2c1408;this[_0x257df8(0x17d)][_0x257df8(0x1dc)](_0x1e5a5a,_0x13aebc),this[_0x257df8(0x2cf)]();}[_0x2c1408(0x22e)](_0x380549,_0x1bdcc7){var _0x57397c=_0x2c1408;this[_0x57397c(0x33c)][_0x57397c(0x1dc)](_0x380549,_0x1bdcc7),this['_updateStatus']();}[_0x2c1408(0x281)](_0x5d6396,_0x8141f5){var _0x1758cd=_0x2c1408;const _0x5b3a68=[];let _0x8b815e=_0x8141f5,_0x1ed7ca=_0x8141f5;for(let _0x41e049=_0x5d6396[_0x1758cd(0x390)]-0x1;_0x41e049>=0x0;_0x41e049--){const {unitID:_0x29a8c1,undoMutations:_0x370288,redoMutations:_0x29eb37}=_0x5d6396[_0x41e049],_0x1fb9cc=this[_0x1758cd(0x284)][_0x1758cd(0x1c7)](_0x8b815e,_0x370288),_0x1d974e=this[_0x1758cd(0x284)][_0x1758cd(0x1c7)](_0x1ed7ca,_0x29eb37);if(_0x50a129(_0x1fb9cc)||_0x50a129(_0x1d974e)){this[_0x1758cd(0x2f9)]['error'](_0x1758cd(0x30d),_0x1758cd(0x2c0),_0x1fb9cc,_0x1d974e);break;}_0x8b815e=_0x1fb9cc[_0x1758cd(0x2ab)],_0x1ed7ca=_0x1d974e[_0x1758cd(0x2ab)],_0x5b3a68[_0x1758cd(0x14c)]({'unitID':_0x29a8c1,'undoMutations':_0x1fb9cc[_0x1758cd(0x33f)],'redoMutations':_0x1d974e[_0x1758cd(0x33f)]});}return _0x5b3a68[_0x1758cd(0x349)]();}};Dt=pr([Pe(0x0,_0x283e25),Pe(0x1,_0xaeb77a),Pe(0x2,_0x5e880b),Pe(0x3,_0x1342c3),Pe(0x4,_0xa8fd8d)],Dt);var mr=Object[_0x2c1408(0x32c)],gr=Object[_0x2c1408(0x20c)],Sr=(_0x486e76,_0x353430,_0x582970)=>_0x353430 in _0x486e76?mr(_0x486e76,_0x353430,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x582970}):_0x486e76[_0x353430]=_0x582970,Er=(_0x47e911,_0x42edb9,_0x72b795,_0x4526c4)=>{var _0x229073=_0x2c1408;for(var _0x4d3249=_0x4526c4>0x1?void 0x0:_0x4526c4?gr(_0x42edb9,_0x72b795):_0x42edb9,_0x4c53aa=_0x47e911[_0x229073(0x390)]-0x1,_0xbebf73;_0x4c53aa>=0x0;_0x4c53aa--)(_0xbebf73=_0x47e911[_0x4c53aa])&&(_0x4d3249=_0xbebf73(_0x4d3249)||_0x4d3249);return _0x4d3249;},St=(_0xdb7241,_0x2dd5ae)=>(_0x4d74af,_0x4e1122)=>_0x2dd5ae(_0x4d74af,_0x4e1122,_0xdb7241),Ir=(_0xacb2bf,_0x1a252e,_0x92b325)=>Sr(_0xacb2bf,_0x1a252e+'',_0x92b325);const Tr=_0x2c1408(0x122);let Ut=class extends _0x4e7edd{constructor(_0x15c52f,_0x3ba183,_0x592c9b,_0x22e219){var _0x30605d=_0x2c1408;super(),N(this,_0x30605d(0x189)),(this[_0x30605d(0x2f9)]=_0x3ba183,this[_0x30605d(0x29c)]=_0x592c9b,this[_0x30605d(0x2f7)]=_0x22e219);const {..._0x2b9dc6}=_0x520574({},wn,_0x15c52f);if(!_0x2b9dc6['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x30605d(0x189)]=_0x2b9dc6,this[_0x30605d(0x2f7)][_0x30605d(0x3c0)](q,_0x2b9dc6);}[_0x2c1408(0x149)](){var _0x30f738=_0x2c1408;this[_0x30f738(0x359)](),this[_0x30f738(0x12f)]();}[_0x2c1408(0x359)](){var _0xb7f4d7=_0x2c1408,_0x231821,_0x442dda;this['_injector'][_0xb7f4d7(0x3b1)](_0x2276dc)&&this[_0xb7f4d7(0x2f9)][_0xb7f4d7(0x2f4)](_0xb7f4d7(0x11d),_0xb7f4d7(0x2d1));const _0x21b3f3=_0x529a0f([[_0x2276dc,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0xb7f4d7(0x189)][_0xb7f4d7(0x354)]}],[_0x31e9d1,{'useClass':Nt}],[_0x27085e,{'useClass':Rt}],[_0x1a2051,{'useClass':Ot}],[_0x3445cf,{'useClass':yt}],[st],[Ct]],(_0x231821=this['_config'])==null?void 0x0:_0x231821['override']);if(!((_0x442dda=this[_0xb7f4d7(0x189)])!=null&&_0x442dda['enableSingleActiveInstanceLock'])){const _0x1c55ef=_0x21b3f3[_0xb7f4d7(0x15c)](([_0x297c4c])=>_0x297c4c===ht);_0x1c55ef!==-0x1&&_0x21b3f3[_0xb7f4d7(0x15e)](_0x1c55ef,0x1);}_0x1c319(this['_injector'],_0x21b3f3);}[_0x2c1408(0x12f)](){var _0xcbf9c6=_0x2c1408,_0x5a7dc6,_0x13e95f,_0x1e6136;this[_0xcbf9c6(0x29c)][_0xcbf9c6(0x1d6)](_0x55ce66)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x532ce5({'maxParallel':0x6})}),(_0x5a7dc6=this[_0xcbf9c6(0x189)])!=null&&_0x5a7dc6['enableOfflineEditing']||(_0x13e95f=this[_0xcbf9c6(0x29c)][_0xcbf9c6(0x1d6)](J,_0x2381b8[_0xcbf9c6(0x1a6)]))==null||_0x13e95f[_0xcbf9c6(0x1df)](),(_0x1e6136=this[_0xcbf9c6(0x189)])!=null&&_0x1e6136[_0xcbf9c6(0x293)]&&_0x33c5f9(this[_0xcbf9c6(0x29c)],[[rt]]),_0x33c5f9(this[_0xcbf9c6(0x29c)],[[at],[st],[ot]]);}};Ir(Ut,_0x2c1408(0x239),Tr),Ut=Er([_0x1f9dfd(_0x4b0fb3,_0x1f7a72),St(0x1,_0xa8fd8d),St(0x2,_0x53facb(_0x29a7fb)),St(0x3,_0x40f6f4)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0xccc328=_0x4dde;(function(_0x238ed4,_0x4bf66f){var _0x2ea665=_0x4dde,_0x423752=_0x238ed4();while(!![]){try{var _0x396776=parseInt(_0x2ea665(0x305))/0x1+parseInt(_0x2ea665(0x485))/0x2+-parseInt(_0x2ea665(0x209))/0x3+-parseInt(_0x2ea665(0x20a))/0x4*(parseInt(_0x2ea665(0x271))/0x5)+-parseInt(_0x2ea665(0x3fa))/0x6*(parseInt(_0x2ea665(0x23c))/0x7)+-parseInt(_0x2ea665(0x40d))/0x8+parseInt(_0x2ea665(0x2bc))/0x9;if(_0x396776===_0x4bf66f)break;else _0x423752['push'](_0x423752['shift']());}catch(_0x4a9bb9){_0x423752['push'](_0x423752['shift']());}}}(_0x58f5,0x5bf40));var wi=Object[_0xccc328(0x369)],Pi=(_0xef1a7a,_0x4af89d,_0x3a2e33)=>_0x4af89d in _0xef1a7a?wi(_0xef1a7a,_0x4af89d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a2e33}):_0xef1a7a[_0x4af89d]=_0x3a2e33,N=(_0x12675f,_0x249e3f,_0x182156)=>Pi(_0x12675f,typeof _0x249e3f!='symbol'?_0x249e3f+'':_0x249e3f,_0x182156);import{createIdentifier as _0x3a4763,Inject as _0x42d086,Injector as _0x213b7b,IConfigService as _0x32d0f8,ILogService as _0x48685b,Disposable as _0x1e04d8,DisposableCollection as _0x47e9b4,toDisposable as _0x7dd940,IUniverInstanceService as _0xca8903,UserManagerService as _0x180017,UniverInstanceType as _0x2a060b,LocaleService as _0xc4f59a,Optional as _0x4a4437,RxDisposable as _0x694488,Tools as _0x195c75,Rectangle as _0x3d6ecf,ICommandService as _0x37fa3a,JSONX as _0x31da28,CommandType as _0x5535af,IUndoRedoService as _0x10626b,IPermissionService as _0x3f7473,sequenceExecute as _0x41f2a9,Workbook as _0x124d6b,MentionType as _0x5f2993,isInternalEditorID as _0xc59106,LocalUndoRedoService as _0x9b1795,IContextService as _0x1f8dee,DependentOn as _0x135289,Plugin as _0x168dd9,merge as _0x5ce139,mergeOverrideWithDependencies as _0x4260f4,IAuthzIoService as _0x434a90,IMentionIOService as _0x1bd7ee,registerDependencies as _0x38e1dc,Quantity as _0x47342b,touchDependencies as _0xe02a7}from'@univerjs/core';import{Subject as _0x364bef,merge as _0x40c80f,of as _0x194398,BehaviorSubject as _0x12344d,takeUntil as _0x246e32,ReplaySubject as _0x1da589,take as _0x18c6bc,map as _0x9323e6,shareReplay as _0x22d5f4,firstValueFrom as _0x18279d,concatMap as _0x29896c}from'rxjs';import{map as _0x422352,take as _0xd9ef53,filter as _0x217dd3,delay as _0x334f06,takeUntil as _0x59d388}from'rxjs/operators';import{CollaborationEvent as _0x4c124f,ISnapshotServerService as _0x491b4b,parseChangesetToProtocol as _0x1e1f6d,ITransformService as _0x5c5e6b,isTransformMutationsWithChangesetSuccess as _0x4ae166,mapDocumentTypeToUniverType as _0x192a70,RevisionService as _0x4638b1,isTransformChangesetsSuccess as _0x49175f,CompressMutationService as _0x3c3615,parseProtocolChangeset as _0x525ec9,SnapshotService as _0x5d69c8,textEncoder as _0x5bd5e4,b64DecodeUnicode as _0x2cb6ba,isTransformMutationsWithChangesetFailure as _0x37e9b3,UniverCollaborationPlugin as _0x4c09c6}from'@univerjs-pro/collaboration';import{HTTPService as _0x44834c,ISocketService as _0x23bddd,MergeInterceptorFactory as _0x46cb63,HTTPRequest as _0x4f5f8c,UniverNetworkPlugin as _0x2662cf,ThresholdInterceptorFactory as _0x88bb1a}from'@univerjs/network';import{ITelemetryService as _0x491ad7}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3b3371}from'@univerjs/docs';import{SheetsSelectionsService as _0x2c5254,SetSelectionsOperation as _0x3c5105,InsertSheetMutation as _0x304588,EmptyMutation as _0x297160,WorkbookEditablePermission as _0x1bf5b8,SheetPermissionInitController as _0x447f11}from'@univerjs/sheets';import{ImageSourceType as _0x63df15,ImageUploadStatusType as _0x415fb9,IImageIoService as _0x526b53}from'@univerjs/drawing';import{getGlobalObject as _0x4af7ba}from'@univerjs-pro/license';const mn=_0xccc328(0x38d),gn=_0xccc328(0x376),Sn=_0xccc328(0x31f),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0xccc328(0x2ed),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0xccc328(0x22e),Cn=_0xccc328(0x2f7),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0xccc328(0x31c),yn=0x3,Mr=_0xccc328(0x29c),kr=0x3e8,Nn=_0xccc328(0x2ae),Dn=_0xccc328(0x29a),Un='LOGIN_URL_KEY',An=_0xccc328(0x346),$r=_0xccc328(0x300),Hr=_0xccc328(0x40b);var Si=(_0x3a1df9=>(_0x3a1df9[_0x3a1df9[_0xccc328(0x23a)]=0x0]=_0xccc328(0x23a),_0x3a1df9[_0x3a1df9['OK']=0x1]='OK',_0x3a1df9[_0x3a1df9[_0xccc328(0x377)]=0x2]=_0xccc328(0x377),_0x3a1df9[_0x3a1df9[_0xccc328(0x274)]=0x3]=_0xccc328(0x274),_0x3a1df9[_0x3a1df9['NOT_FOUND']=0x4]=_0xccc328(0x235),_0x3a1df9[_0x3a1df9[_0xccc328(0x269)]=0x5]=_0xccc328(0x269),_0x3a1df9[_0x3a1df9[_0xccc328(0x42f)]=0x6]=_0xccc328(0x42f),_0x3a1df9[_0x3a1df9[_0xccc328(0x482)]=0x7]=_0xccc328(0x482),_0x3a1df9[_0x3a1df9['TOO_MANY_REQUESTS']=0x8]=_0xccc328(0x44e),_0x3a1df9[_0x3a1df9[_0xccc328(0x349)]=0x9]=_0xccc328(0x349),_0x3a1df9[_0x3a1df9[_0xccc328(0x2f1)]=0xa]=_0xccc328(0x2f1),_0x3a1df9[_0x3a1df9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xccc328(0x486),_0x3a1df9[_0x3a1df9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xccc328(0x2af),_0x3a1df9[_0x3a1df9[_0xccc328(0x270)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a1df9[_0x3a1df9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xccc328(0x3f7),_0x3a1df9[_0x3a1df9[_0xccc328(0x3b1)]=0x1b59]='APPLY_REJECT',_0x3a1df9[_0x3a1df9[_0xccc328(0x2ee)]=0x1b5a]=_0xccc328(0x2ee),_0x3a1df9[_0x3a1df9[_0xccc328(0x37b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a1df9[_0x3a1df9[_0xccc328(0x326)]=0x1b5c]=_0xccc328(0x326),_0x3a1df9[_0x3a1df9[_0xccc328(0x41c)]=0x1b5d]=_0xccc328(0x41c),_0x3a1df9[_0x3a1df9[_0xccc328(0x388)]=0x1f41]=_0xccc328(0x388),_0x3a1df9[_0x3a1df9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xccc328(0x2cd),_0x3a1df9[_0x3a1df9[_0xccc328(0x379)]=0x232a]=_0xccc328(0x379),_0x3a1df9[_0x3a1df9[_0xccc328(0x344)]=0x232b]=_0xccc328(0x344),_0x3a1df9[_0x3a1df9[_0xccc328(0x3fd)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3a1df9[_0x3a1df9[_0xccc328(0x2c8)]=0x232d]=_0xccc328(0x2c8),_0x3a1df9[_0x3a1df9[_0xccc328(0x3ba)]=0x2711]=_0xccc328(0x3ba),_0x3a1df9[_0x3a1df9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xccc328(0x260),_0x3a1df9[_0x3a1df9[_0xccc328(0x1fd)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3a1df9[_0x3a1df9[_0xccc328(0x267)]=0x2714]=_0xccc328(0x267),_0x3a1df9[_0x3a1df9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xccc328(0x2b3),_0x3a1df9[_0x3a1df9[_0xccc328(0x2d4)]=0x271b]=_0xccc328(0x2d4),_0x3a1df9[_0x3a1df9[_0xccc328(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3a1df9[_0x3a1df9[_0xccc328(0x217)]=0x2ee1]=_0xccc328(0x217),_0x3a1df9[_0x3a1df9['INVALID_INVITE_CODE']=0x2ee2]=_0xccc328(0x25b),_0x3a1df9[_0x3a1df9[_0xccc328(0x1e3)]=0x2ee3]=_0xccc328(0x1e3),_0x3a1df9[_0x3a1df9[_0xccc328(0x285)]=0x2ee4]=_0xccc328(0x285),_0x3a1df9[_0x3a1df9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3a1df9[_0x3a1df9[_0xccc328(0x21b)]=0x32c9]=_0xccc328(0x21b),_0x3a1df9[_0x3a1df9[_0xccc328(0x3af)]=0x32ca]=_0xccc328(0x3af),_0x3a1df9[_0x3a1df9[_0xccc328(0x417)]=0x32cb]=_0xccc328(0x417),_0x3a1df9[_0x3a1df9['UNRECOGNIZED']=-0x1]=_0xccc328(0x338),_0x3a1df9))(Si||{}),Q=(_0x522845=>(_0x522845[_0x522845[_0xccc328(0x28b)]=0x0]=_0xccc328(0x28b),_0x522845[_0x522845[_0xccc328(0x4a4)]=0x1]=_0xccc328(0x4a4),_0x522845[_0x522845[_0xccc328(0x2db)]=0x2]=_0xccc328(0x2db),_0x522845[_0x522845['UNIVER_SLIDE']=0x3]=_0xccc328(0x487),_0x522845[_0x522845[_0xccc328(0x330)]=0x4]='UNIVER_PROJECT',_0x522845[_0x522845[_0xccc328(0x338)]=-0x1]=_0xccc328(0x338),_0x522845))(Q||{}),F=(_0x437814=>(_0x437814[_0x437814[_0xccc328(0x2f3)]=0x0]=_0xccc328(0x2f3),_0x437814[_0x437814[_0xccc328(0x1aa)]=0x1]='HELLO',_0x437814[_0x437814[_0xccc328(0x2f8)]=0x2]=_0xccc328(0x2f8),_0x437814[_0x437814[_0xccc328(0x2e9)]=0x3]=_0xccc328(0x2e9),_0x437814[_0x437814['INGEST']=0x4]=_0xccc328(0x341),_0x437814[_0x437814[_0xccc328(0x4ac)]=0x5]=_0xccc328(0x4ac),_0x437814[_0x437814[_0xccc328(0x272)]=0x6]='RECV',_0x437814[_0x437814['UNRECOGNIZED']=-0x1]=_0xccc328(0x338),_0x437814))(F||{}),ge=(_0x17e068=>(_0x17e068[_0x17e068[_0xccc328(0x334)]=0x0]='UNKNOWN_CODE',_0x17e068[_0x17e068['OK']=0x1]='OK',_0x17e068[_0x17e068[_0xccc328(0x3a6)]=0x2]=_0xccc328(0x3a6),_0x17e068[_0x17e068[_0xccc328(0x475)]=0x3e9]=_0xccc328(0x475),_0x17e068[_0x17e068[_0xccc328(0x36e)]=0x3ea]=_0xccc328(0x36e),_0x17e068[_0x17e068[_0xccc328(0x46f)]=0x3eb]=_0xccc328(0x46f),_0x17e068[_0x17e068[_0xccc328(0x37e)]=0x3ec]=_0xccc328(0x37e),_0x17e068[_0x17e068[_0xccc328(0x338)]=-0x1]=_0xccc328(0x338),_0x17e068))(ge||{}),Ei=(_0x2b9315=>(_0x2b9315[_0x2b9315['Undefined']=0x0]=_0xccc328(0x2fa),_0x2b9315[_0x2b9315[_0xccc328(0x1d9)]=0x1]=_0xccc328(0x1d9),_0x2b9315[_0x2b9315['HttpExport']=0x2]=_0xccc328(0x3a5),_0x2b9315[_0x2b9315[_0xccc328(0x47d)]=0x3]=_0xccc328(0x47d),_0x2b9315[_0x2b9315['UnitSnapshot']=0x4]=_0xccc328(0x21d),_0x2b9315[_0x2b9315[_0xccc328(0x370)]=0x5]=_0xccc328(0x370),_0x2b9315[_0x2b9315[_0xccc328(0x338)]=-0x1]='UNRECOGNIZED',_0x2b9315))(Ei||{});const q=_0xccc328(0x47c),wn={};var re=(_0x5b9bb5=>(_0x5b9bb5[_0xccc328(0x3d2)]=_0xccc328(0x3d2),_0x5b9bb5[_0xccc328(0x274)]=_0xccc328(0x274),_0x5b9bb5[_0xccc328(0x1af)]='CONFLICT',_0x5b9bb5[_0xccc328(0x1a2)]=_0xccc328(0x1a2),_0x5b9bb5[_0xccc328(0x24a)]=_0xccc328(0x24a),_0x5b9bb5[_0xccc328(0x1ad)]='SOCKET_FAILED_RETRY',_0x5b9bb5[_0xccc328(0x32f)]=_0xccc328(0x32f),_0x5b9bb5['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5b9bb5))(re||{});class pe{constructor(){var _0x5472a0=_0xccc328;N(this,'_event$',new _0x364bef()),N(this,_0x5472a0(0x32a),this[_0x5472a0(0x37a)][_0x5472a0(0x366)]());}[_0xccc328(0x460)](_0x4046d7){var _0x105fb3=_0xccc328;this['_event$'][_0x105fb3(0x419)](_0x4046d7);}}const Pn=_0x3a4763('univer-pro.collaboration-client.network-condition.service');function Ln(_0x295e3c){var _0x22f5ad=_0xccc328,_0x336fd9,_0x3e5fad,_0x26e3f9,_0x4a12e4,_0x4e35db;const _0x22921a=_0x295e3c[_0x22f5ad(0x43a)],_0x54ee7c=JSON[_0x22f5ad(0x3ec)](_0x22921a);switch(_0x54ee7c['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0x3df14a=_0x54ee7c[_0x22f5ad(0x33a)];return{..._0x54ee7c,'data':_0x3df14a,'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};}case F[_0x22f5ad(0x2f8)]:{const _0x5bc697=_0x54ee7c[_0x22f5ad(0x273)];return{..._0x54ee7c,'data':_0x5bc697,'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};}case F[_0x22f5ad(0x272)]:{const _0x4615df=_0x54ee7c[_0x22f5ad(0x250)];switch(_0x4615df[_0x22f5ad(0x3f4)]){case _0x4c124f[_0x22f5ad(0x309)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x336fd9=_0x4615df[_0x22f5ad(0x25a)])==null?void 0x0:_0x336fd9['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x202)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x3e5fad=_0x4615df[_0x22f5ad(0x2a3)])==null?void 0x0:_0x3e5fad['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x266)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x26e3f9=_0x4615df[_0x22f5ad(0x1f8)])==null?void 0x0:_0x26e3f9['cs']},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x442)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x4a12e4=_0x4615df['csRejEvent'])==null?void 0x0:_0x4a12e4['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x25f)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x4e35db=_0x4615df[_0x22f5ad(0x1da)])==null?void 0x0:_0x4e35db['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x32e)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x3b5)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x2d1)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x453)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x230)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x398)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x30f)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x451)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x29b)]:case _0x4c124f['LIVESHARE_OPERATION']:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x391)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x413)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x451)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x421)]:return{..._0x54ee7c,'data':_0x4615df,'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f['COMMENT_UPDATE']:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x48b)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x4ab)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x26f)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x3a4)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x336)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f['UNISCRIPT_RUN']:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x223)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};default:return _0x54ee7c;}}default:return _0x54ee7c;}}function xn(_0x2c6379){var _0x5c0f9c=_0xccc328;switch(_0x2c6379[_0x5c0f9c(0x33e)]){case F['HEARTBEAT']:case F[_0x5c0f9c(0x1aa)]:return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379[_0x5c0f9c(0x33e)],'routeKey':_0x2c6379[_0x5c0f9c(0x3f6)]});case F['INGEST']:{let _0x32081c;switch(_0x2c6379[_0x5c0f9c(0x43a)]['eventID']){case _0x4c124f[_0x5c0f9c(0x32e)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x32e)],'updateCursorEvent':_0x2c6379['data'][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x230)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x230)],'leaveEvent':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x2d1)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x2d1)],'joinEvent':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x30f)]:{_0x32081c={'eventID':_0x4c124f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x323)]:{_0x32081c={'eventID':_0x4c124f['LIVESHARE_OPERATION'],'liveShareOperation':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x413)]:{_0x32081c={'eventID':_0x4c124f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x397)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x397)],'liveShareRequestHost':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x29b)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x29b)]};break;}default:_0x32081c={'eventID':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x3f4)]};}return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379['cmd'],'routeKey':_0x2c6379[_0x5c0f9c(0x3f6)],'collaMsg':_0x32081c});}case F[_0x5c0f9c(0x2f8)]:return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379[_0x5c0f9c(0x33e)],'routeKey':_0x2c6379[_0x5c0f9c(0x3f6)],'joinReq':_0x2c6379['data']});case F['LEAVE']:return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379['cmd'],'routeKey':_0x2c6379['routeKey'],'leaveReq':_0x2c6379[_0x5c0f9c(0x43a)]});default:throw new Error(_0x5c0f9c(0x429));}}var Mn=Object[_0xccc328(0x2bf)],kn=(_0x28c165,_0x38582c,_0x19e2fe,_0x5b72f6)=>{var _0x7ce034=_0xccc328;for(var _0x239716=_0x5b72f6>0x1?void 0x0:_0x5b72f6?Mn(_0x38582c,_0x19e2fe):_0x38582c,_0xf2d67c=_0x28c165[_0x7ce034(0x489)]-0x1,_0x4d45e1;_0xf2d67c>=0x0;_0xf2d67c--)(_0x4d45e1=_0x28c165[_0xf2d67c])&&(_0x239716=_0x4d45e1(_0x239716)||_0x239716);return _0x239716;},Ae=(_0x12f600,_0x48fc3d)=>(_0x4e04fe,_0x1fe775)=>_0x48fc3d(_0x4e04fe,_0x1fe775,_0x12f600);const Ii=_0x3a4763(_0xccc328(0x3b8));function $n(_0x59475f,_0xa9a180,_0x5f4cd0){var _0x4f51b9=_0xccc328;return _0x59475f+'/'+_0xa9a180+_0x4f51b9(0x279)+_0x5f4cd0+_0x4f51b9(0x212);}let Gt=class extends _0x1e04d8{constructor(_0x30494c,_0x2b9eb2,_0x1946ba,_0x486607,_0x3cd669){var _0x2b6d31=_0xccc328;super(),this[_0x2b6d31(0x426)]=_0x30494c,this[_0x2b6d31(0x3ee)]=_0x2b9eb2,this['_configService']=_0x1946ba,this[_0x2b6d31(0x242)]=_0x486607,this['_snapshotServerService']=_0x3cd669;}['_doCreateSocket'](_0x482d52){var _0x3bc94e=_0xccc328;const _0x575dcc=this[_0x3bc94e(0x426)]['get'](_0x23bddd);if(!_0x575dcc)throw new Error(_0x3bc94e(0x1a6));const _0x3741aa=_0x575dcc[_0x3bc94e(0x2c7)](_0x482d52);if(!_0x3741aa)throw new Error(_0x3bc94e(0x3fe));const _0x2fccf1=new _0x47e9b4(),_0x21e0eb=new _0x364bef();_0x2fccf1[_0x3bc94e(0x2b2)](_0x3741aa[_0x3bc94e(0x1d7)][_0x3bc94e(0x2d7)](_0x34e388=>_0x21e0eb['next'](_0x34e388))),_0x2fccf1[_0x3bc94e(0x2b2)](_0x7dd940(()=>_0x21e0eb['complete']()));const _0x473f3e=new _0x364bef();_0x2fccf1['add'](_0x3741aa['error$'][_0x3bc94e(0x2d7)](_0x331473=>_0x473f3e[_0x3bc94e(0x419)](_0x331473))),_0x2fccf1[_0x3bc94e(0x2b2)](_0x7dd940(()=>_0x473f3e['complete']()));const _0x831cc9=new _0x364bef();_0x2fccf1[_0x3bc94e(0x2b2)](_0x3741aa[_0x3bc94e(0x3e5)][_0x3bc94e(0x2d7)](_0x3951e5=>{var _0x44ca63=_0x3bc94e;const _0x444062=Ln(_0x3951e5);_0x831cc9[_0x44ca63(0x419)](_0x444062);})),_0x2fccf1[_0x3bc94e(0x2b2)](_0x7dd940(()=>_0x831cc9[_0x3bc94e(0x25e)]()));let _0x1c3759;const _0x57a5f6=()=>{var _0x5c2a92=_0x3bc94e;_0x473f3e['next'](new Event('connection\x20error')),_0x21e0eb[_0x5c2a92(0x419)](new Event(_0x5c2a92(0x3c7))),_0x1c3759['close']();};return _0x1c3759={'memberID':'','close$':_0x21e0eb[_0x3bc94e(0x366)](),'error$':_0x473f3e[_0x3bc94e(0x366)](),'open$':_0x3741aa[_0x3bc94e(0x42e)],'message$':_0x831cc9[_0x3bc94e(0x366)](),'send':_0x2a385c=>{var _0x2a5827=_0x3bc94e;if(_0x2a385c['cmd']===F['INGEST']){if(_0x2a385c[_0x2a5827(0x43a)][_0x2a5827(0x3f4)]===_0x4c124f[_0x2a5827(0x1c8)]){this['_submitChangeset'](_0x1c3759,_0x2a385c[_0x2a5827(0x43a)])['catch'](_0x11b41b=>{var _0x284301=_0x2a5827;this[_0x284301(0x242)]['error'](_0x11b41b),_0x57a5f6();});return;}if(_0x2a385c[_0x2a5827(0x43a)]['eventID']===_0x4c124f[_0x2a5827(0x44d)]){const _0x50e42e=_0x2a385c[_0x2a5827(0x43a)];this[_0x2a5827(0x2f5)](_0x50e42e)['then'](_0x1cd1e9=>{var _0x55fe32=_0x2a5827;_0x831cc9['next']({'cmd':F[_0x55fe32(0x272)],'code':ge['OK'],'routeKey':_0x50e42e['data'][_0x55fe32(0x45c)],'routeType':'','data':{'eventID':_0x4c124f[_0x55fe32(0x2ef)],'data':{'changesets':_0x1cd1e9}}});})['catch'](_0x183aa6=>{var _0x6d2d4f=_0x2a5827;this[_0x6d2d4f(0x242)][_0x6d2d4f(0x4ae)](_0x183aa6),_0x57a5f6();});return;}}_0x3741aa[_0x2a5827(0x467)](xn(_0x2a385c));},'close':()=>{var _0x24ccca=_0x3bc94e;_0x3741aa[_0x24ccca(0x30b)](),_0x2fccf1['dispose']();}},_0x1c3759;}async[_0xccc328(0x2f4)](_0x21fc0a,_0x285735){var _0x990ae8=_0xccc328,_0x3f00e8,_0x47478a;const {unitType:_0x257e56,unitID:_0x27830b,changeset:_0x49f6be}=_0x285735[_0x990ae8(0x43a)],_0xdbac98={'unitID':_0x27830b,'memberID':_0x21fc0a[_0x990ae8(0x43d)],'type':_0x257e56,'changeset':_0x1e1f6d(_0x49f6be)},_0x363bd9=this[_0x990ae8(0x20b)][_0x990ae8(0x38c)](Nn),_0x547ab3=this[_0x990ae8(0x20b)][_0x990ae8(0x38c)](q),_0x3fb548=$n((_0x47478a=(_0x3f00e8=_0x547ab3==null?void 0x0:_0x547ab3['collabSubmitChangesetUrl'])!=null?_0x3f00e8:_0x363bd9)!=null?_0x47478a:Dn,_0x257e56,_0x27830b);try{await this['_httpService'][_0x990ae8(0x403)](_0x3fb548,{'body':_0xdbac98});}catch(_0x2eaae5){throw this[_0x990ae8(0x242)][_0x990ae8(0x4ae)](_0x990ae8(0x1f0),_0x990ae8(0x4a8)),_0x2eaae5;}}async[_0xccc328(0x2f5)](_0x52948b){var _0x19ecf5=_0xccc328;const {unitID:_0x5cab98,from:_0x50058c,to:_0x2761f9,unitType:_0x4812c1}=_0x52948b['data'];return(await this[_0x19ecf5(0x2f2)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5cab98,'type':_0x4812c1,'from':_0x50058c,'to':_0x2761f9}))[_0x19ecf5(0x30c)];}};Gt=kn([Ae(0x0,_0x42d086(_0x213b7b)),Ae(0x1,_0x42d086(_0x44834c)),Ae(0x2,_0x32d0f8),Ae(0x3,_0x48685b),Ae(0x4,_0x491b4b)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x177e5b){return JSON['stringify'](_0x177e5b)['length'];}class Ti{constructor(){var _0x26dccf=_0xccc328;N(this,_0x26dccf(0x484),new _0x364bef()),N(this,_0x26dccf(0x3aa),this['_commentUpdate$'][_0x26dccf(0x366)]());}[_0xccc328(0x208)](_0x49d2af){var _0x4b7952=_0xccc328;this[_0x4b7952(0x484)][_0x4b7952(0x419)](_0x49d2af);}}var jn=Object[_0xccc328(0x2bf)],Fn=(_0x43c67f,_0x3901ca,_0xcff34b,_0x14e62b)=>{var _0x12f8cb=_0xccc328;for(var _0x2c65c7=_0x14e62b>0x1?void 0x0:_0x14e62b?jn(_0x3901ca,_0xcff34b):_0x3901ca,_0x1e48aa=_0x43c67f[_0x12f8cb(0x489)]-0x1,_0x252bdd;_0x1e48aa>=0x0;_0x1e48aa--)(_0x252bdd=_0x43c67f[_0x1e48aa])&&(_0x2c65c7=_0x252bdd(_0x2c65c7)||_0x2c65c7);return _0x2c65c7;},Wt=(_0x4336b5,_0x190289)=>(_0x541ec0,_0x3deca4)=>_0x190289(_0x541ec0,_0x3deca4,_0x4336b5);let Le=class extends _0x1e04d8{constructor(_0x50e139,_0x5ab53e){var _0x4e0d6a=_0xccc328;super(),N(this,'_roomMembers',new Map()),N(this,_0x4e0d6a(0x3ce),new _0x364bef()),(this[_0x4e0d6a(0x3a9)]=_0x50e139,this[_0x4e0d6a(0x387)]=_0x5ab53e,this[_0x4e0d6a(0x2c9)](_0x40c80f(this[_0x4e0d6a(0x3a9)][_0x4e0d6a(0x27c)](_0x2a060b['UNIVER_SHEET'])[_0x4e0d6a(0x2fc)](_0x422352(_0x3adca8=>_0x3adca8[_0x4e0d6a(0x1de)]())),this[_0x4e0d6a(0x3a9)][_0x4e0d6a(0x27c)](_0x2a060b['UNIVER_DOC'])[_0x4e0d6a(0x2fc)](_0x422352(_0x1854d3=>_0x1854d3[_0x4e0d6a(0x1de)]())),this[_0x4e0d6a(0x3a9)][_0x4e0d6a(0x27c)](_0x2a060b[_0x4e0d6a(0x487)])[_0x4e0d6a(0x2fc)](_0x422352(_0x36dcc9=>_0x36dcc9['getUnitId']())))[_0x4e0d6a(0x2d7)](_0xa4345a=>this[_0x4e0d6a(0x483)](_0xa4345a))));}['waitForRoom$'](_0x5ac0a9){var _0x5332b5=_0xccc328;return this[_0x5332b5(0x224)][_0x5332b5(0x20c)](_0x5ac0a9)?_0x194398(this[_0x5332b5(0x224)][_0x5332b5(0x40e)](_0x5ac0a9)):this[_0x5332b5(0x3ce)][_0x5332b5(0x2fc)](_0x422352(_0x4ba334=>{var _0x48e998=_0x5332b5;if(_0x4ba334===_0x5ac0a9)return this[_0x48e998(0x224)][_0x48e998(0x40e)](_0x4ba334);}));}[_0xccc328(0x46d)](_0xc3ba2c){var _0x23fa7f=_0xccc328;this[_0x23fa7f(0x387)]['setCurrentUser'](_0xc3ba2c);}['getCurrentUser'](){var _0x4f1df0=_0xccc328;return this[_0x4f1df0(0x387)][_0x4f1df0(0x26d)]();}[_0xccc328(0x319)](_0x509c2d,_0x457577){var _0x4739a9=_0xccc328;let _0x20584c=this[_0x4739a9(0x224)][_0x4739a9(0x40e)](_0x509c2d);_0x20584c||(_0x20584c=new Vn(),this[_0x4739a9(0x224)][_0x4739a9(0x382)](_0x509c2d,_0x20584c),this[_0x4739a9(0x3ce)][_0x4739a9(0x419)](_0x509c2d)),_0x20584c[_0x4739a9(0x319)](_0x457577);}['removeMember'](_0x4b23e8,_0x3d9bf2){var _0x28d116=_0xccc328;const _0x4d0c1e=this[_0x28d116(0x224)][_0x28d116(0x40e)](_0x4b23e8);_0x4d0c1e&&_0x4d0c1e[_0x28d116(0x30a)](_0x3d9bf2);}[_0xccc328(0x2c5)](_0x3732c8){var _0x3763d3=_0xccc328;return this[_0x3763d3(0x224)][_0x3763d3(0x40e)](_0x3732c8);}['getMember'](_0x23c025,_0x32744d){var _0x466c98=_0xccc328;const _0x3b567a=this[_0x466c98(0x224)][_0x466c98(0x40e)](_0x23c025);if(_0x3b567a)return _0x3b567a[_0x466c98(0x432)](_0x32744d);}['_removeRoom'](_0x2754e2){var _0x227448=_0xccc328;const _0x14da83=this['_roomMembers'][_0x227448(0x40e)](_0x2754e2);_0x14da83&&(_0x14da83[_0x227448(0x4a5)](),this['_roomMembers'][_0x227448(0x1b9)](_0x2754e2));}[_0xccc328(0x4a5)](){var _0xa021bb=_0xccc328;this[_0xa021bb(0x224)][_0xa021bb(0x412)](_0x24b016=>_0x24b016[_0xa021bb(0x4a5)]()),this['_roomMembers']['clear'](),this[_0xa021bb(0x3ce)][_0xa021bb(0x25e)]();}};Le=Fn([Wt(0x0,_0xca8903),Wt(0x1,_0x42d086(_0x180017))],Le);class Vn extends _0x1e04d8{constructor(){var _0x3f33a1=_0xccc328;super(...arguments),N(this,_0x3f33a1(0x1f6),new Map()),N(this,_0x3f33a1(0x2d6),new _0x12344d(this['_members'])),N(this,_0x3f33a1(0x3f5),this['_members$'][_0x3f33a1(0x366)]());}[_0xccc328(0x4a5)](){var _0x34f40f=_0xccc328;this[_0x34f40f(0x1f6)][_0x34f40f(0x2b7)]();}[_0xccc328(0x319)](_0x1d41cd){var _0x542b36=_0xccc328;this[_0x542b36(0x1f6)][_0x542b36(0x382)](_0x1d41cd[_0x542b36(0x43d)],_0x1d41cd),this['_emitMembers']();}[_0xccc328(0x30a)](_0x27c1bc){var _0x55633c=_0xccc328;this[_0x55633c(0x1f6)][_0x55633c(0x1b9)](_0x27c1bc);}['getMember'](_0x1a79e9){var _0x381fb7=_0xccc328;return this['_members'][_0x381fb7(0x40e)](_0x1a79e9);}[_0xccc328(0x409)](){var _0x5bff4c=_0xccc328;return Array[_0x5bff4c(0x445)](this[_0x5bff4c(0x1f6)][_0x5bff4c(0x288)]());}[_0xccc328(0x327)](){var _0x157d6c=_0xccc328;this[_0x157d6c(0x2d6)][_0x157d6c(0x419)](this[_0x157d6c(0x1f6)]);}}var Gn=Object[_0xccc328(0x2bf)],Wn=(_0x3de3ab,_0x2f56c6,_0x3ed9ea,_0x1337e4)=>{var _0x55727e=_0xccc328;for(var _0x46195f=_0x1337e4>0x1?void 0x0:_0x1337e4?Gn(_0x2f56c6,_0x3ed9ea):_0x2f56c6,_0x77b5fc=_0x3de3ab[_0x55727e(0x489)]-0x1,_0x307889;_0x77b5fc>=0x0;_0x77b5fc--)(_0x307889=_0x3de3ab[_0x77b5fc])&&(_0x46195f=_0x307889(_0x46195f)||_0x46195f);return _0x46195f;},me=(_0x5a1c64,_0x512cf3)=>(_0x31af72,_0x35ec21)=>_0x512cf3(_0x31af72,_0x35ec21,_0x5a1c64),Ee=(_0x49d33d=>(_0x49d33d[_0x49d33d[_0xccc328(0x466)]=0x0]='IDLE',_0x49d33d[_0x49d33d[_0xccc328(0x3a2)]=0x1]=_0xccc328(0x3a2),_0x49d33d[_0x49d33d[_0xccc328(0x3d5)]=0x2]=_0xccc328(0x3d5),_0x49d33d[_0x49d33d[_0xccc328(0x38b)]=0x3]=_0xccc328(0x38b),_0x49d33d))(Ee||{});const Kt={[ge[_0xccc328(0x3a6)]]:_0xccc328(0x2d8),[ge[_0xccc328(0x475)]]:_0xccc328(0x2a2),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0xccc328(0x46f)]]:'session.room-permission-denied',[ge[_0xccc328(0x37e)]]:_0xccc328(0x339)};let Et=class extends _0x694488{constructor(_0xeec800,_0x2e23fe,_0x2f8d6e,_0xfdfeac,_0x23115f,_0x4a452d,_0x4ff97b,_0x5373a4,_0x2a0402){var _0x4e18a8=_0xccc328;super(),N(this,_0x4e18a8(0x422),new _0x12344d(0x0)),N(this,_0x4e18a8(0x320),this[_0x4e18a8(0x422)][_0x4e18a8(0x366)]()),N(this,_0x4e18a8(0x37a),new _0x364bef()),N(this,_0x4e18a8(0x32a),this['_event$'][_0x4e18a8(0x366)]()),N(this,_0x4e18a8(0x207)),N(this,_0x4e18a8(0x3be)),N(this,_0x4e18a8(0x290)),N(this,_0x4e18a8(0x1ed),!0x1),N(this,_0x4e18a8(0x374),null),(this[_0x4e18a8(0x428)]=_0xeec800,this[_0x4e18a8(0x242)]=_0x2f8d6e,this[_0x4e18a8(0x20b)]=_0xfdfeac,this[_0x4e18a8(0x1c6)]=_0x23115f,this[_0x4e18a8(0x351)]=_0x4a452d,this[_0x4e18a8(0x1c3)]=_0x4ff97b,this['_collaborationUIEventService']=_0x5373a4,this[_0x4e18a8(0x2bb)]=_0x2a0402,this[_0x4e18a8(0x1ed)]=!!this[_0x4e18a8(0x2bb)],_0x2e23fe[_0x4e18a8(0x2fc)](_0x246e32(this[_0x4e18a8(0x22b)]))[_0x4e18a8(0x2d7)](_0x43c538=>{var _0x15dd88=_0x4e18a8,_0x3430e9;typeof _0x43c538>'u'||(this[_0x15dd88(0x207)]=_0x43c538,_0x43c538?(this[_0x15dd88(0x39b)](_0x43c538),this[_0x15dd88(0x3be)]=_0x43c538[_0x15dd88(0x3e5)][_0x15dd88(0x2d7)](_0x3623fc=>{var _0x10dd8c=_0x15dd88;_0x3623fc[_0x10dd8c(0x3f6)]===this[_0x10dd8c(0x428)]&&this[_0x10dd8c(0x3b7)](_0x3623fc);})):(this[_0x15dd88(0x30e)](),this[_0x15dd88(0x422)][_0x15dd88(0x419)](0x2),(_0x3430e9=this[_0x15dd88(0x3be)])==null||_0x3430e9[_0x15dd88(0x238)](),this[_0x15dd88(0x3be)]=null));}));}get['sessionStatus'](){var _0x482ae6=_0xccc328;return this[_0x482ae6(0x422)][_0x482ae6(0x431)]();}[_0xccc328(0x28c)](){var _0x21e9d0=_0xccc328,_0x555702,_0xe0fd90;return(_0xe0fd90=(_0x555702=this[_0x21e9d0(0x207)])==null?void 0x0:_0x555702[_0x21e9d0(0x43d)])!=null?_0xe0fd90:null;}[_0xccc328(0x4a5)](){var _0x4b8557=_0xccc328;super[_0x4b8557(0x4a5)](),this['dispose$'][_0x4b8557(0x419)](),this[_0x4b8557(0x22b)][_0x4b8557(0x25e)]();}[_0xccc328(0x30b)](){var _0x8f7b62=_0xccc328,_0x2312a0,_0x53183f;this[_0x8f7b62(0x30e)](),(_0x2312a0=this[_0x8f7b62(0x207)])==null||_0x2312a0[_0x8f7b62(0x467)]({'cmd':F[_0x8f7b62(0x2e9)],'data':{'roomID':this[_0x8f7b62(0x428)]}}),(_0x53183f=this[_0x8f7b62(0x207)])==null||_0x53183f[_0x8f7b62(0x30b)](),this['_event$'][_0x8f7b62(0x25e)](),this[_0x8f7b62(0x422)][_0x8f7b62(0x25e)](),this[_0x8f7b62(0x4a5)]();}[_0xccc328(0x3b7)](_0x152127){var _0x1ff3ce=_0xccc328;_0x152127[_0x1ff3ce(0x33e)]===F[_0x1ff3ce(0x2f8)]?this[_0x1ff3ce(0x2fb)](_0x152127):_0x152127[_0x1ff3ce(0x33e)]===F[_0x1ff3ce(0x272)]&&this[_0x1ff3ce(0x496)](_0x152127);}[_0xccc328(0x39b)](_0xa3d6e8){var _0x3996bc=_0xccc328;this['_sessionStatus$']['next'](0x1),_0xa3d6e8['send']({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x3996bc(0x428)]}]}});}['_onJoinRoomEvent'](_0x52e705){var _0x462496=_0xccc328,_0x1b7c5d;if(_0x52e705[_0x462496(0x3d3)]in Kt){this['_collaborationUIEventService'][_0x462496(0x460)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x52e705[_0x462496(0x3d3)]]}),this[_0x462496(0x422)][_0x462496(0x419)](0x2);return;}this[_0x462496(0x422)]['next'](0x3);const _0x4651d7=(_0x1b7c5d=_0x52e705[_0x462496(0x43a)][_0x462496(0x3bd)][this[_0x462496(0x428)]])==null?void 0x0:_0x1b7c5d[_0x462496(0x22f)];_0x4651d7&&_0x4651d7[_0x462496(0x412)](_0x612ca8=>this[_0x462496(0x351)]['updateMember'](this[_0x462496(0x428)],_0x612ca8));}['_onRecvEvent'](_0x2fee9c){var _0x1d4ef3=_0xccc328;try{const _0x3627d1=_0x2fee9c[_0x1d4ef3(0x43a)];switch(_0x3627d1[_0x1d4ef3(0x3f4)]){case _0x4c124f[_0x1d4ef3(0x2d1)]:this[_0x1d4ef3(0x2b1)](_0x3627d1),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x230)]:this[_0x1d4ef3(0x35c)](_0x3627d1),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x202)]:case _0x4c124f[_0x1d4ef3(0x25f)]:this[_0x1d4ef3(0x225)](),this[_0x1d4ef3(0x293)](),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x421)]:this[_0x1d4ef3(0x242)][_0x1d4ef3(0x4ae)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1d4ef3(0x280)](_0x3627d1)),this['_event$']['next'](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x3a0)]:this['_commentService'][_0x1d4ef3(0x208)](_0x3627d1[_0x1d4ef3(0x43a)]),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;default:this['_event$'][_0x1d4ef3(0x419)](_0x3627d1);}}catch(_0x5f118e){this['_logService'][_0x1d4ef3(0x4ae)](_0x5f118e,_0x2fee9c);}}[_0xccc328(0x2b1)](_0x278ecb){var _0x1d1ecf=_0xccc328;this['_memberService']['updateMember'](this[_0x1d1ecf(0x428)],_0x278ecb[_0x1d1ecf(0x43a)]);}['_onUserLeave'](_0x2ea628){var _0x1d1bae=_0xccc328;this[_0x1d1bae(0x351)][_0x1d1bae(0x30a)](this[_0x1d1bae(0x428)],_0x2ea628[_0x1d1bae(0x43a)][_0x1d1bae(0x43d)]);}async[_0xccc328(0x467)](_0x259489,_0x382fa7){var _0x3d87da=_0xccc328;if(this[_0x3d87da(0x39e)]!==0x3||!this[_0x3d87da(0x207)])throw new Error(_0x3d87da(0x1ec));try{_0x259489['eventID']===_0x4c124f[_0x3d87da(0x1c8)]&&(this[_0x3d87da(0x4a3)](),this[_0x3d87da(0x3b4)](_0x259489)),this[_0x3d87da(0x207)]['send']({'cmd':F[_0x3d87da(0x341)],'routeKey':_0x382fa7,'routeType':'','data':_0x259489});}catch(_0x53d0f0){this[_0x3d87da(0x242)][_0x3d87da(0x4ae)](_0x53d0f0);}}[_0xccc328(0x4a3)](){var _0x1c7eda=_0xccc328,_0x3f869d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x189a34=_0x4dde;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x189a34(0x1e0)]});},(_0x3f869d=this[_0x1c7eda(0x20b)][_0x1c7eda(0x38c)](mi))!=null?_0x3f869d:gi);}[_0xccc328(0x293)](){var _0x25b40e=_0xccc328;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x25b40e(0x290)]),this[_0x25b40e(0x290)]=null);}[_0xccc328(0x3b4)](_0x1b3003){var _0x2795c4=_0xccc328;if(!this[_0x2795c4(0x1ed)])return;const {data:_0x1ff701}=_0x1b3003,{unitID:_0x5dce5d,changeset:_0x9c12cf}=_0x1ff701,{mutations:_0x5369b8,type:_0x3df665}=_0x9c12cf;this['_telemetryInfo']={'unitId':_0x5dce5d,'type':_0x3df665,'startTime':performance[_0x2795c4(0x41d)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5369b8)};}[_0xccc328(0x225)](){var _0x4999c7=_0xccc328;if(this[_0x4999c7(0x1ed)]){if(!this[_0x4999c7(0x374)]){this['_logService'][_0x4999c7(0x4ae)](_0x4999c7(0x1f0),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4999c7(0x374)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x4999c7(0x408)]=this[_0x4999c7(0x374)][_0x4999c7(0x414)]-this[_0x4999c7(0x374)]['startTime'],this[_0x4999c7(0x2bb)][_0x4999c7(0x1db)](Hn,this[_0x4999c7(0x374)]),this[_0x4999c7(0x374)]=null;}}[_0xccc328(0x30e)](){var _0x22c325=_0xccc328;this[_0x22c325(0x374)]=null;}};Et=Wn([me(0x2,_0x48685b),me(0x3,_0x32d0f8),me(0x4,_0x42d086(_0xc4f59a)),me(0x5,_0x42d086(Le)),me(0x6,_0x42d086(Ti)),me(0x7,_0x42d086(pe)),me(0x8,_0x4a4437(_0x491ad7))],Et);var Kn=Object[_0xccc328(0x2bf)],Yn=(_0x39be1c,_0x1ed93c,_0x4bc09e,_0x532dbe)=>{var _0xb5c2c1=_0xccc328;for(var _0x1993f4=_0x532dbe>0x1?void 0x0:_0x532dbe?Kn(_0x1ed93c,_0x4bc09e):_0x1ed93c,_0x339cda=_0x39be1c[_0xb5c2c1(0x489)]-0x1,_0x510b56;_0x339cda>=0x0;_0x339cda--)(_0x510b56=_0x39be1c[_0x339cda])&&(_0x1993f4=_0x510b56(_0x1993f4)||_0x1993f4);return _0x1993f4;},be=(_0xd1039d,_0x3774b8)=>(_0x4c985,_0x2b05c1)=>_0x3774b8(_0x4c985,_0x2b05c1,_0xd1039d);let xe=class extends _0x1e04d8{constructor(_0x2d671e,_0x5a916a,_0x3a073f,_0x52c591,_0x1c289b,_0x54612e){var _0x433822=_0xccc328;super(),N(this,'_socket$',new _0x12344d(void 0x0)),N(this,_0x433822(0x3e2),this[_0x433822(0x3ca)][_0x433822(0x366)]()),N(this,'_candidateSocket',null),N(this,_0x433822(0x200),new Map()),N(this,'_status$',new _0x12344d(Ee[_0x433822(0x466)])),N(this,_0x433822(0x32d),this[_0x433822(0x333)]['asObservable']()),N(this,_0x433822(0x2e5),!0x1),N(this,_0x433822(0x3f2)),N(this,'_retryCount',0x0),N(this,_0x433822(0x231)),N(this,_0x433822(0x206)),(this[_0x433822(0x426)]=_0x2d671e,this['_logService']=_0x5a916a,this[_0x433822(0x20b)]=_0x3a073f,this['_socketService']=_0x52c591,this[_0x433822(0x22d)]=_0x1c289b,this[_0x433822(0x2e4)]=_0x54612e,this[_0x433822(0x328)]());}get['_socket'](){var _0x4cdf6c=_0xccc328;return this[_0x4cdf6c(0x3ca)][_0x4cdf6c(0x431)]();}[_0xccc328(0x328)](){var _0x5c9904=_0xccc328;this['_networkConditionService']&&this[_0x5c9904(0x2c9)](this[_0x5c9904(0x2e4)][_0x5c9904(0x3c6)][_0x5c9904(0x2d7)](_0x3996fc=>{var _0x1773d8=_0x5c9904;_0x3996fc&&!this[_0x1773d8(0x207)]&&this[_0x1773d8(0x3bb)](),_0x3996fc||this['_onOffline']();}));}[_0xccc328(0x4a5)](){var _0x52da17=_0xccc328;super[_0x52da17(0x4a5)](),this[_0x52da17(0x259)](),this[_0x52da17(0x252)](),this[_0x52da17(0x1f7)](),this[_0x52da17(0x200)][_0x52da17(0x412)](_0x57eac1=>_0x57eac1[_0x52da17(0x4a5)]()),this[_0x52da17(0x200)][_0x52da17(0x2b7)](),this[_0x52da17(0x333)][_0x52da17(0x25e)]();}async[_0xccc328(0x1b3)](_0x56c27f){var _0x552e81=_0xccc328;if(this['_sessions']['has'](_0x56c27f))return this[_0x552e81(0x200)][_0x552e81(0x40e)](_0x56c27f);this['_tryEnsureSocket']();const _0xc5cfc7=this[_0x552e81(0x426)][_0x552e81(0x3b2)](Et,_0x56c27f,this['_socket$'][_0x552e81(0x366)]());return this['_sessions'][_0x552e81(0x382)](_0x56c27f,_0xc5cfc7),_0xc5cfc7;}[_0xccc328(0x375)](_0x39acd0){var _0x43db69=_0xccc328,_0x206668;const _0x5c8afb=this[_0x43db69(0x200)][_0x43db69(0x40e)](_0x39acd0);_0x5c8afb&&(this[_0x43db69(0x200)][_0x43db69(0x1b9)](_0x39acd0),_0x5c8afb[_0x43db69(0x30b)]()),this[_0x43db69(0x200)]['size']||(_0x206668=this[_0x43db69(0x207)])==null||_0x206668[_0x43db69(0x30b)]();}[_0xccc328(0x3bb)](){var _0x4f5989=_0xccc328;this[_0x4f5989(0x255)]=0x0,this[_0x4f5989(0x259)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0xe21a=_0xccc328;this[_0xe21a(0x3f2)]!=null&&(clearTimeout(this[_0xe21a(0x3f2)]),this[_0xe21a(0x3f2)]=null);}async[_0xccc328(0x3f9)](){var _0x50cb8c=_0xccc328,_0x3afb2a,_0x4f276f;const _0x3cf061=this['_configService'][_0x50cb8c(0x38c)](In),_0x10d859=this[_0x50cb8c(0x20b)]['getConfig'](q),_0x2efea1=(_0x4f276f=(_0x3afb2a=_0x10d859==null?void 0x0:_0x10d859[_0x50cb8c(0x390)])!=null?_0x3afb2a:_0x3cf061)!=null?_0x4f276f:Tn,_0x5c35ed=await this[_0x50cb8c(0x201)][_0x50cb8c(0x2c7)](_0x2efea1);return this[_0x50cb8c(0x446)]=_0x5c35ed,_0x5c35ed;}async[_0xccc328(0x294)](){var _0x5df187=_0xccc328,_0x54097d,_0x1d6c16;try{const _0x1c53e7=(_0x1d6c16=(_0x54097d=this['_socket'])!=null?_0x54097d:this[_0x5df187(0x446)])!=null?_0x1d6c16:await this[_0x5df187(0x3f9)]();if(_0x1c53e7){const _0x4dba33=_0x1c53e7[_0x5df187(0x467)];_0x1c53e7['send']=_0x4194bd=>(this['_rescheduleHeartbeat'](),_0x4dba33[_0x5df187(0x352)](_0x1c53e7,[_0x4194bd])),_0x1c53e7[_0x5df187(0x3e5)][_0x5df187(0x2d7)](_0x3af800=>this[_0x5df187(0x248)](_0x1c53e7,_0x3af800)),_0x1c53e7[_0x5df187(0x354)][_0x5df187(0x2fc)](_0xd9ef53(0x1))[_0x5df187(0x2d7)](_0x319907=>this[_0x5df187(0x242)][_0x5df187(0x4ae)](_0x5df187(0x3e6),_0x319907)),_0x1c53e7[_0x5df187(0x42e)][_0x5df187(0x2fc)](_0xd9ef53(0x1))['subscribe'](()=>{var _0x3c6b58=_0x5df187;this[_0x3c6b58(0x286)](_0x1c53e7);}),_0x1c53e7[_0x5df187(0x1d7)][_0x5df187(0x2fc)](_0xd9ef53(0x1))['subscribe'](_0x3aaa63=>{var _0x1b0551=_0x5df187;this['_logService'][_0x1b0551(0x353)](_0x1b0551(0x499),_0x1b0551(0x418),_0x3aaa63),this[_0x1b0551(0x402)]();});}}catch(_0x38b4aa){this[_0x5df187(0x242)][_0x5df187(0x4ae)](_0x38b4aa),this[_0x5df187(0x402)]();}}['_onConnectionOpen'](_0x513d5f){var _0x4e2ce9=_0xccc328;this[_0x4e2ce9(0x242)]['debug'](_0x4e2ce9(0x499),_0x4e2ce9(0x2a1)),_0x513d5f[_0x4e2ce9(0x467)]({'cmd':F[_0x4e2ce9(0x1aa)]}),this['_rescheduleHeartbeat']();}[_0xccc328(0x488)](){var _0x367ebb=_0xccc328;this['_socketReady']=!0x1,this[_0x367ebb(0x446)]=null,this[_0x367ebb(0x333)][_0x367ebb(0x419)](Ee[_0x367ebb(0x3d5)]),this[_0x367ebb(0x3ca)][_0x367ebb(0x419)](null),this[_0x367ebb(0x252)](),this[_0x367ebb(0x1f7)]();}[_0xccc328(0x402)](){var _0x53537c=_0xccc328,_0x245b1a;this[_0x53537c(0x488)](),this[_0x53537c(0x255)]<((_0x245b1a=this[_0x53537c(0x20b)][_0x53537c(0x38c)](On))!=null?_0x245b1a:yn)?(this[_0x53537c(0x22d)][_0x53537c(0x460)]({'id':re[_0x53537c(0x1ad)]}),this[_0x53537c(0x1b5)]()):this[_0x53537c(0x22d)][_0x53537c(0x460)]({'id':re[_0x53537c(0x32f)]});}[_0xccc328(0x1b5)](){var _0x3099bc=_0xccc328,_0x5068f5;const _0x401e33=this[_0x3099bc(0x255)],_0x2d9256=this[_0x3099bc(0x20b)]['getConfig'](q),_0x2e6b1f=_0x401e33===0x0?0x0:((_0x5068f5=_0x2d9256==null?void 0x0:_0x2d9256['retryConnectingInterval'])!=null?_0x5068f5:bn)*0x2**_0x401e33;this[_0x3099bc(0x3f2)]=setTimeout(()=>{var _0x1a4656=_0x3099bc;clearTimeout(this[_0x1a4656(0x3f2)]),this[_0x1a4656(0x3f2)]=null,this[_0x1a4656(0x294)]();},_0x2e6b1f),this[_0x3099bc(0x255)]+=0x1;}[_0xccc328(0x248)](_0x3cab6b,_0x515a8c){var _0x46ffd8=_0xccc328;const {cmd:_0x26d853}=_0x515a8c;_0x26d853===F[_0x46ffd8(0x1aa)]&&!this[_0x46ffd8(0x2e5)]&&(_0x3cab6b['memberID']=_0x515a8c[_0x46ffd8(0x43a)]['memberID'],this['_socket$'][_0x46ffd8(0x419)](_0x3cab6b),this[_0x46ffd8(0x333)][_0x46ffd8(0x419)](Ee[_0x46ffd8(0x38b)]),this['_socketReady']=!0x0,this[_0x46ffd8(0x446)]=null),_0x26d853===F[_0x46ffd8(0x4ac)]&&this[_0x46ffd8(0x252)](),this[_0x46ffd8(0x1dc)]();}[_0xccc328(0x1dc)](){var _0x157e58=_0xccc328,_0x102b7c;this[_0x157e58(0x1f7)](),this[_0x157e58(0x231)]=setTimeout(()=>this[_0x157e58(0x43c)](),(_0x102b7c=this['_configService'][_0x157e58(0x38c)](Cn))!=null?_0x102b7c:Rn);}[_0xccc328(0x43c)](){var _0x4504b3=_0xccc328;this[_0x4504b3(0x207)]['send']({'cmd':F[_0x4504b3(0x4ac)]}),this[_0x4504b3(0x297)]();}[_0xccc328(0x297)](){var _0x2d61ba=_0xccc328,_0x595da3;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x595da3=this[_0x2d61ba(0x20b)][_0x2d61ba(0x38c)](mi))!=null?_0x595da3:gi);}[_0xccc328(0x1f7)](){var _0x1883de=_0xccc328;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1883de(0x231)]),this[_0x1883de(0x231)]=null);}[_0xccc328(0x252)](){var _0x51ef16=_0xccc328;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x51ef16(0x206)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0x42d086(_0x213b7b)),be(0x1,_0x48685b),be(0x2,_0x32d0f8),be(0x3,Ii),be(0x4,_0x42d086(pe)),be(0x5,_0x4a4437(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0xccc328(0x26b)]((t+0x100)[_0xccc328(0x447)](0x10)[_0xccc328(0x46a)](0x1));function qn(_0x507dd1,_0x406b0f=0x0){var _0x2228b7=_0xccc328;return(V[_0x507dd1[_0x406b0f+0x0]]+V[_0x507dd1[_0x406b0f+0x1]]+V[_0x507dd1[_0x406b0f+0x2]]+V[_0x507dd1[_0x406b0f+0x3]]+'-'+V[_0x507dd1[_0x406b0f+0x4]]+V[_0x507dd1[_0x406b0f+0x5]]+'-'+V[_0x507dd1[_0x406b0f+0x6]]+V[_0x507dd1[_0x406b0f+0x7]]+'-'+V[_0x507dd1[_0x406b0f+0x8]]+V[_0x507dd1[_0x406b0f+0x9]]+'-'+V[_0x507dd1[_0x406b0f+0xa]]+V[_0x507dd1[_0x406b0f+0xb]]+V[_0x507dd1[_0x406b0f+0xc]]+V[_0x507dd1[_0x406b0f+0xd]]+V[_0x507dd1[_0x406b0f+0xe]]+V[_0x507dd1[_0x406b0f+0xf]])[_0x2228b7(0x222)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x5aac96=_0xccc328;if(!ut){if(typeof crypto>'u'||!crypto[_0x5aac96(0x2ea)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5aac96(0x2ea)][_0x5aac96(0x1f5)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0xccc328(0x36d)]&&crypto[_0xccc328(0x36d)][_0xccc328(0x1f5)](crypto),Yt={'randomUUID':Xn};function Zn(_0x5f5636,_0x442cb8,_0x3c8e93){var _0x570977=_0xccc328,_0x4f3f74,_0x3d5aa7,_0xae963b;if(Yt['randomUUID']&&!_0x5f5636)return Yt[_0x570977(0x36d)]();_0x5f5636=_0x5f5636||{};const _0x34d977=(_0xae963b=(_0x3d5aa7=_0x5f5636[_0x570977(0x473)])!=null?_0x3d5aa7:(_0x4f3f74=_0x5f5636[_0x570977(0x2f9)])==null?void 0x0:_0x4f3f74[_0x570977(0x3cc)](_0x5f5636))!=null?_0xae963b:Jn();if(_0x34d977[_0x570977(0x489)]<0x10)throw new Error(_0x570977(0x3fc));return _0x34d977[0x6]=_0x34d977[0x6]&0xf|0x40,_0x34d977[0x8]=_0x34d977[0x8]&0x3f|0x80,qn(_0x34d977);}const J=_0x3a4763(_0xccc328(0x439));function Br(_0x5c67d4){var _0x1d1d1c=_0xccc328;return _0x1d1d1c(0x448)+_0x5c67d4;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x1981f3,_0x3232ec,_0x136774,_0x2bd8f8)=>{var _0x316f4c=_0xccc328;for(var _0x169af4=_0x2bd8f8>0x1?void 0x0:_0x2bd8f8?Qn(_0x3232ec,_0x136774):_0x3232ec,_0x850cf3=_0x1981f3[_0x316f4c(0x489)]-0x1,_0x1d6994;_0x850cf3>=0x0;_0x850cf3--)(_0x1d6994=_0x1981f3[_0x850cf3])&&(_0x169af4=_0x1d6994(_0x169af4)||_0x169af4);return _0x169af4;},dt=(_0x326b52,_0x1ff400)=>(_0x339375,_0x2d452b)=>_0x1ff400(_0x339375,_0x2d452b,_0x326b52);function ts(_0x3bc5ce){var _0x338a5f=_0xccc328;const {unitID:_0x44b92f,mutations:_0x5e03c5}=_0x3bc5ce;return{'unitId':_0x44b92f,'subUnitId':_0x5e03c5[0x0][_0x338a5f(0x47f)][_0x338a5f(0x301)]};}let it=class{constructor(_0x2fcd2a,_0x37792f,_0x27f2a6){var _0x324ac9=_0xccc328;this[_0x324ac9(0x426)]=_0x2fcd2a,this[_0x324ac9(0x2ca)]=_0x37792f,this['_instanceService']=_0x27f2a6;}[_0xccc328(0x35e)](_0x126cfd){var _0x307583=_0xccc328,_0x464ece,_0x153f2d,_0x413bb0,_0x33d3ee;const _0x1e0312=this[_0x307583(0x426)][_0x307583(0x40e)](_0x2c5254),{unitId:_0x5d2f81,subUnitId:_0x13ca91}=ts(_0x126cfd),_0x54165e=_0x1e0312==null?void 0x0:_0x1e0312[_0x307583(0x276)](_0x5d2f81)[_0x307583(0x1ac)](),_0x2b7d7c=(_0x153f2d=(_0x464ece=this['_instanceService'][_0x307583(0x3ff)](_0x5d2f81))==null?void 0x0:_0x464ece[_0x307583(0x2ba)]())==null?void 0x0:_0x153f2d[_0x307583(0x2c0)]();if(_0x54165e[_0x307583(0x489)]===0x0||!_0x5d2f81||!_0x13ca91)return;const _0xb7af3e=[{'id':_0x3c5105['id'],'params':{'unitId':_0x5d2f81,'subUnitId':_0x2b7d7c,'selections':_0x195c75[_0x307583(0x31a)](_0x54165e)}}],_0xe068dd=this[_0x307583(0x2ca)][_0x307583(0x2a4)](_0x126cfd,_0xb7af3e);if(!_0x4ae166(_0xe068dd))throw _0xe068dd[_0x307583(0x4ae)];const _0x523a8c=(_0x33d3ee=(_0x413bb0=_0xe068dd[_0x307583(0x28f)][0x0])==null?void 0x0:_0x413bb0[_0x307583(0x47f)])==null?void 0x0:_0x33d3ee['selections'];if(Array['isArray'](_0x523a8c)&&_0x523a8c[_0x307583(0x489)]){if(_0x523a8c[_0x307583(0x489)]===_0xb7af3e[0x0]['params'][_0x307583(0x3c4)]['length']&&_0x523a8c[_0x307583(0x226)]((_0x4d02f1,_0x10f652)=>_0x3d6ecf[_0x307583(0x427)](_0x4d02f1[_0x307583(0x463)],_0xb7af3e[0x0][_0x307583(0x47f)][_0x307583(0x3c4)][_0x10f652][_0x307583(0x463)])))return;this[_0x307583(0x426)][_0x307583(0x40e)](_0x37fa3a)['executeCommand'](_0x3c5105['id'],{'unitId':_0x5d2f81,'subUnitId':_0x2b7d7c,'selections':_0x523a8c});}}};it=es([dt(0x0,_0x42d086(_0x213b7b)),dt(0x1,_0x5c5e6b),dt(0x2,_0xca8903)],it);const ht=_0x3a4763('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x187738=>(_0x187738[_0x187738[_0xccc328(0x32c)]=0x0]=_0xccc328(0x32c),_0x187738[_0x187738[_0xccc328(0x472)]=0x1]=_0xccc328(0x472),_0x187738))(Ci||{});const is=new Set([_0x304588['id']]);function qt(_0x5ba8ff,_0x4d1010,_0x515563,_0x54f434,_0x3dd685){var _0x1e8876=_0xccc328,_0x2ac0bf,_0x4448e7,_0x2151b6,_0xc7028a;const _0x36980d=[];for(const _0x90d6a9 of _0x5ba8ff)if(is[_0x1e8876(0x20c)](_0x90d6a9['id'])){if(_0x36980d[_0x1e8876(0x489)]>0x0)break;_0x36980d[_0x1e8876(0x26b)](_0x90d6a9);break;}else _0x36980d[_0x1e8876(0x26b)](_0x90d6a9);const _0x4c1520=(_0x4448e7=(_0x2ac0bf=_0x3dd685[_0x1e8876(0x26d)]())==null?void 0x0:_0x2ac0bf[_0x1e8876(0x243)])!=null?_0x4448e7:_0x1e8876(0x1fb),_0x1dbc08=(_0xc7028a=(_0x2151b6=_0x3dd685[_0x1e8876(0x26d)]())==null?void 0x0:_0x2151b6['memberID'])!=null?_0xc7028a:_0x1e8876(0x1fb);return{'changeset':{'unitID':_0x4d1010,'type':_0x192a70(_0x515563['getUnitType'](_0x4d1010)),'baseRev':_0x54f434[_0x1e8876(0x29f)](_0x4d1010),'revision':0x0,'userID':_0x4c1520,'memberID':_0x1dbc08,'mutations':_0x36980d},'pendingMutations':_0x5ba8ff['slice'](_0x36980d[_0x1e8876(0x489)])};}function ns(_0xb540b1,_0x4e9674,_0x2ef799,_0x406dd5,_0x515038){var _0x2c72eb=_0xccc328,_0x3cf8c1,_0x2903d4,_0x4e1b77,_0x577c1c;const _0x151b9d=[_0xb540b1[_0x2c72eb(0x4a6)]((_0x14702f,_0x2cb2e6)=>{var _0x129e3a=_0x2c72eb,_0x556fab;const {id:_0x1ec6a6}=_0x14702f,{id:_0x14b9e8,type:_0x58dd2b}=_0x2cb2e6,_0x3cf3f8=(_0x556fab=_0x14702f[_0x129e3a(0x47f)])!=null?_0x556fab:{'actions':null},_0x1d3f1d=_0x2cb2e6[_0x129e3a(0x47f)];if(_0x1ec6a6&&_0x1ec6a6!==_0x14b9e8)throw new Error(_0x129e3a(0x239)+_0x1ec6a6+_0x129e3a(0x1c1)+_0x14b9e8+'.');return{..._0x14702f,'id':_0x14b9e8,'type':_0x58dd2b,'params':{'unitId':_0x1d3f1d[_0x129e3a(0x2a6)],'textRanges':_0x1d3f1d[_0x129e3a(0x35f)],'actions':_0x31da28[_0x129e3a(0x321)](_0x3cf3f8[_0x129e3a(0x2ad)],_0x1d3f1d[_0x129e3a(0x2ad)])}};},{})],_0x13e095=(_0x2903d4=(_0x3cf8c1=_0x515038[_0x2c72eb(0x26d)]())==null?void 0x0:_0x3cf8c1[_0x2c72eb(0x243)])!=null?_0x2903d4:_0x2c72eb(0x1fb),_0xfeb848=(_0x577c1c=(_0x4e1b77=_0x515038[_0x2c72eb(0x26d)]())==null?void 0x0:_0x4e1b77[_0x2c72eb(0x43d)])!=null?_0x577c1c:_0x2c72eb(0x1fb);return{'changeset':{'unitID':_0x4e9674,'type':_0x192a70(_0x2ef799[_0x2c72eb(0x348)](_0x4e9674)),'baseRev':_0x406dd5[_0x2c72eb(0x29f)](_0x4e9674),'revision':0x0,'userID':_0x13e095,'memberID':_0xfeb848,'mutations':_0x151b9d},'pendingMutations':[]};}function Ri(_0x366e29,_0x54df59){var _0x5876f3=_0xccc328;const _0x498f0b=new _0x1da589(0x1);return setTimeout(()=>_0x498f0b[_0x5876f3(0x419)](_0x54df59),_0x366e29),_0x498f0b['asObservable']()[_0x5876f3(0x2fc)](_0x18c6bc(0x1));}const ss={'id':_0x297160['id'],'type':_0x5535af[_0xccc328(0x474)],'params':{}};var rs=Object[_0xccc328(0x2bf)],Te=(_0x26de52,_0x4dc8bc,_0x45c511,_0x279ad3)=>{for(var _0x463cb3=_0x279ad3>0x1?void 0x0:_0x279ad3?rs(_0x4dc8bc,_0x45c511):_0x4dc8bc,_0x594357=_0x26de52['length']-0x1,_0x7d53ed;_0x594357>=0x0;_0x594357--)(_0x7d53ed=_0x26de52[_0x594357])&&(_0x463cb3=_0x7d53ed(_0x463cb3)||_0x463cb3);return _0x463cb3;},P=(_0x3ddeeb,_0x2f9979)=>(_0x19df62,_0x4e6d7c)=>_0x2f9979(_0x19df62,_0x4e6d7c,_0x3ddeeb),bi=(_0x2e4a54=>(_0x2e4a54[_0xccc328(0x258)]=_0xccc328(0x41f),_0x2e4a54[_0xccc328(0x1ba)]=_0xccc328(0x37d),_0x2e4a54[_0xccc328(0x1bd)]='pending',_0x2e4a54[_0xccc328(0x450)]=_0xccc328(0x3e8),_0x2e4a54[_0xccc328(0x3db)]=_0xccc328(0x2fe),_0x2e4a54[_0xccc328(0x47e)]=_0xccc328(0x2b4),_0x2e4a54[_0xccc328(0x1af)]=_0xccc328(0x384),_0x2e4a54[_0xccc328(0x3d5)]=_0xccc328(0x31d),_0x2e4a54))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2ad7e3,_0x167a34,_0x5c2736,_0xd6b907,_0x5ba365,_0x4bbd58,_0x225664,_0x118f55,_0x4de71e){var _0x2f9f63=_0xccc328;N(this,_0x2f9f63(0x454),null),N(this,_0x2f9f63(0x1cb),[]),(this[_0x2f9f63(0x45c)]=_0x2ad7e3,this[_0x2f9f63(0x2a5)]=_0x167a34,this[_0x2f9f63(0x4aa)]=_0x5ba365,this['_commandService']=_0x4bbd58,this[_0x2f9f63(0x21c)]=_0x225664,this[_0x2f9f63(0x3fb)]=_0x118f55,this[_0x2f9f63(0x3f3)]=_0x4de71e,this[_0x2f9f63(0x454)]=_0x5c2736,this[_0x2f9f63(0x1cb)]=_0xd6b907);}[_0xccc328(0x1e5)](_0x968fee){var _0x5c119b=_0xccc328;const _0x526fba=this[_0x5c119b(0x3fb)][_0x5c119b(0x29f)](this['unitID']);return _0x968fee[_0x5c119b(0x2bd)]>_0x526fba+0x1?(this[_0x5c119b(0x4aa)]['onMissingChangesets']({'from':_0x526fba,'to':_0x968fee[_0x5c119b(0x2bd)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1760f7){var _0x5e6d00=_0xccc328;this[_0x5e6d00(0x21c)]['transformUndoRedo'](this[_0x5e6d00(0x45c)],_0x1760f7);}[_0xccc328(0x37f)](_0x2f31f6){var _0x59ec7c=_0xccc328,_0x55c98b,_0xb8fde2;(_0xb8fde2=(_0x55c98b=this[_0x59ec7c(0x4aa)])[_0x59ec7c(0x2d0)])==null||_0xb8fde2[_0x59ec7c(0x3cc)](_0x55c98b,_0x2f31f6);}[_0xccc328(0x332)](_0x539a1b){var _0x544c21=_0xccc328,_0xf223a6,_0x3e01e9;return(_0x3e01e9=(_0xf223a6=this['_handler'])[_0x544c21(0x2d9)])==null?void 0x0:_0x3e01e9[_0x544c21(0x3cc)](_0xf223a6,_0x539a1b);}[_0xccc328(0x307)](_0x33150b){var _0x32befa=_0xccc328,_0x30f51c,_0x2deb3f;return(_0x2deb3f=(_0x30f51c=this[_0x32befa(0x4aa)])[_0x32befa(0x49d)])==null?void 0x0:_0x2deb3f[_0x32befa(0x3cc)](_0x30f51c,_0x33150b);}['_transformRemoteChangesetByIMECache'](_0x4172b2){var _0x1a0538=_0xccc328,_0x5dcd9a,_0x406e93,_0x19de9f;return(_0x19de9f=(_0x406e93=(_0x5dcd9a=this[_0x1a0538(0x4aa)])[_0x1a0538(0x3ae)])==null?void 0x0:_0x406e93[_0x1a0538(0x3cc)](_0x5dcd9a,_0x4172b2))!=null?_0x19de9f:_0x4172b2;}[_0xccc328(0x28a)](_0x5f21cf){var _0x2bb130=_0xccc328,_0x53b3ba,_0x22a6ea,_0x1fd3b2;return(_0x1fd3b2=(_0x22a6ea=(_0x53b3ba=this[_0x2bb130(0x4aa)])[_0x2bb130(0x244)])==null?void 0x0:_0x22a6ea['call'](_0x53b3ba,_0x5f21cf))!=null?_0x1fd3b2:_0x5f21cf;}[_0xccc328(0x43e)](_0x305089){var _0x4b0706=_0xccc328,_0x4e73ff,_0x3aa99c;if(this[_0x4b0706(0x2a5)]===Q[_0x4b0706(0x4a4)]){const {unitID:_0x27be77,mutations:_0x58e384,memberID:_0x1e8714}=_0x305089,_0x19b3e8=_0x58e384[0x0]['params'][_0x4b0706(0x35f)];Array[_0x4b0706(0x462)](_0x19b3e8)&&_0x19b3e8['length']>0x0&&((_0x3aa99c=(_0x4e73ff=this[_0x4b0706(0x4aa)])[_0x4b0706(0x2d3)])==null||_0x3aa99c[_0x4b0706(0x3cc)](_0x4e73ff,{'unitID':_0x27be77,'memberID':_0x1e8714,'textRanges':_0x19b3e8}));}}[_0xccc328(0x2d5)](){var _0x8c748e=_0xccc328,_0x32d3cd;(_0x32d3cd=this[_0x8c748e(0x3f3)])==null||_0x32d3cd[_0x8c748e(0x1c5)](this[_0x8c748e(0x45c)],this[_0x8c748e(0x2a5)],this['_awaitingChangeset'],this[_0x8c748e(0x1cb)]);}[_0xccc328(0x1d2)](){var _0xe42254=_0xccc328;return this['_revisionService'][_0xe42254(0x29f)](this[_0xe42254(0x45c)]);}[_0xccc328(0x3ac)](){var _0xfa96a1=_0xccc328;this[_0xfa96a1(0x3fb)][_0xfa96a1(0x1ce)](this[_0xfa96a1(0x45c)]);}[_0xccc328(0x1cc)](_0x5a9a0a){var _0x5db648=_0xccc328,_0x8f1b1e;let _0x13cbf9=this[_0x5db648(0x3de)](_0x5a9a0a);_0x13cbf9=this['_transformRemoteChangesetByStateCache'](_0x13cbf9);const _0x9d62c3=_0x41f2a9(_0x13cbf9[_0x5db648(0x232)],this[_0x5db648(0x2fd)],{'fromCollab':!0x0});if(!_0x9d62c3[_0x5db648(0x29d)])throw _0x9d62c3[_0x5db648(0x4ae)]instanceof Error?_0x9d62c3[_0x5db648(0x4ae)]:new Error((_0x8f1b1e=_0x9d62c3[_0x5db648(0x4ae)])!=null?_0x8f1b1e:_0x5db648(0x44b));this[_0x5db648(0x332)](_0x13cbf9),this['_transformStateCache'](_0x13cbf9),this[_0x5db648(0x1b6)](_0x5a9a0a),this[_0x5db648(0x37f)](_0x13cbf9),this['_syncEditingCollabCursor'](_0x13cbf9),this[_0x5db648(0x3ac)]();}}let Ne=class extends Ce{constructor(_0x22eb14,_0xe5556a,_0x34f006,_0x1d25a7,_0x5d358c,_0x8ed518,_0x138d9b,_0x4bd148,_0x4be2de,_0x219c90){var _0x229235=_0xccc328;super(_0x22eb14,_0xe5556a,null,[],_0x34f006,_0x138d9b,_0x8ed518,_0x1d25a7,_0x219c90),N(this,'status','synced'),(this[_0x229235(0x426)]=_0x5d358c,this[_0x229235(0x242)]=_0x4bd148,this[_0x229235(0x2ca)]=_0x4be2de,this[_0x229235(0x479)]=_0x219c90);}[_0xccc328(0x324)](_0x557166){var _0x361c07=_0xccc328;const _0x1511cb=this[_0x361c07(0x426)][_0x361c07(0x3b2)](ae,this[_0x361c07(0x45c)],this['type'],[_0x557166],this[_0x361c07(0x4aa)]);return _0x1511cb[_0x361c07(0x405)](),_0x1511cb[_0x361c07(0x2d5)](),_0x1511cb;}[_0xccc328(0x282)](_0x1b436d){var _0x1fbd8b=_0xccc328;if(this[_0x1fbd8b(0x1e5)](_0x1b436d))return this[_0x1fbd8b(0x426)][_0x1fbd8b(0x3b2)](ee,this[_0x1fbd8b(0x45c)],this[_0x1fbd8b(0x2a5)],null,[],null,[_0x1b436d],this[_0x1fbd8b(0x4aa)]);try{const _0x1d0d98=this[_0x1fbd8b(0x2ca)][_0x1fbd8b(0x2a4)](_0x1b436d,[ss]);if(_0x4ae166(_0x1d0d98)){const {c1Prime:_0x55e77e}=_0x1d0d98;return this[_0x1fbd8b(0x1cc)](_0x55e77e),this;}throw _0x1d0d98[_0x1fbd8b(0x4ae)];}catch(_0x11ec75){return this['_logService'][_0x1fbd8b(0x4ae)](_0x11ec75),this['_onConflict'](!0x1);}}[_0xccc328(0x1c9)](_0x5bc681){var _0x3c4cda=_0xccc328;return this['_injector'][_0x3c4cda(0x3b2)](ue,this[_0x3c4cda(0x45c)],this[_0x3c4cda(0x2a5)],null,[],this[_0x3c4cda(0x4aa)],_0x5bc681);}[_0xccc328(0x47b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xccc328(0x363)](){var _0x26b977=_0xccc328;throw new Error(_0x26b977(0x213));}[_0xccc328(0x23d)](){return this;}[_0xccc328(0x45b)](){var _0x215eac=_0xccc328;return this[_0x215eac(0x426)][_0x215eac(0x3b2)](de,this[_0x215eac(0x45c)],this[_0x215eac(0x2a5)],null,[],this[_0x215eac(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x318)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xccc328(0x1ca)](){var _0x1d71fd=_0xccc328;const _0x43dca8=this[_0x1d71fd(0x3fb)][_0x1d71fd(0x29f)](this[_0x1d71fd(0x45c)]);return this[_0x1d71fd(0x4aa)][_0x1d71fd(0x22c)]({'from':_0x43dca8,'to':0x0}),this[_0x1d71fd(0x426)][_0x1d71fd(0x3b2)](ee,this[_0x1d71fd(0x45c)],this[_0x1d71fd(0x2a5)],null,[],null,[],this[_0x1d71fd(0x4aa)]);}};Ne=Te([P(0x3,_0x42d086(_0x4638b1)),P(0x4,_0x42d086(_0x213b7b)),P(0x5,_0x10626b),P(0x6,_0x37fa3a),P(0x7,_0x48685b),P(0x8,_0x5c5e6b),P(0x9,_0x4a4437(J))],Ne);let ae=class extends Ce{constructor(_0xf1863b,_0x241c22,_0x3c74c6,_0x2c292d,_0x50461f,_0x28000a,_0x524066,_0x36c5b2,_0x2f06da,_0x5a1b1a,_0x165d31,_0x3147f0,_0x2682f2,_0x11573e){var _0x3c4016=_0xccc328;super(_0xf1863b,_0x241c22,null,_0x3c74c6,_0x2c292d,_0x2f06da,_0x2682f2,_0x28000a,_0x11573e),N(this,_0x3c4016(0x449),_0x3c4016(0x401)),N(this,_0x3c4016(0x2c3),null),N(this,_0x3c4016(0x42c),null),(this[_0x3c4016(0x426)]=_0x50461f,this[_0x3c4016(0x351)]=_0x524066,this[_0x3c4016(0x242)]=_0x36c5b2,this[_0x3c4016(0x20b)]=_0x5a1b1a,this['_transformService']=_0x165d31,this[_0x3c4016(0x3a9)]=_0x3147f0);}[_0xccc328(0x324)](_0x52819d){var _0x5dcf95=_0xccc328;return this[_0x5dcf95(0x1cb)][_0x5dcf95(0x26b)](_0x52819d),this[_0x5dcf95(0x2d5)](),this;}['onRemoteChangeset'](_0x468e17){var _0x48b6aa=_0xccc328;if(this[_0x48b6aa(0x1e5)](_0x468e17))return this['_clearScheduledTask'](),this[_0x48b6aa(0x426)][_0x48b6aa(0x3b2)](ee,this['unitID'],this[_0x48b6aa(0x2a5)],null,this[_0x48b6aa(0x1cb)],null,[_0x468e17],this['_handler']);try{const _0x11ba68=this[_0x48b6aa(0x2ca)]['transformMutationsWithChangeset'](_0x468e17,this[_0x48b6aa(0x1cb)]);if(_0x4ae166(_0x11ba68)){const {c1Prime:_0x4d8dc4,m2Prime:_0xd6f88a}=_0x11ba68;this['_executeRemoteChangeset'](_0x4d8dc4);const _0x2e1f71=this[_0x48b6aa(0x426)][_0x48b6aa(0x3b2)](ae,this['unitID'],this[_0x48b6aa(0x2a5)],_0xd6f88a,this['_handler']);this[_0x48b6aa(0x2c1)]();const _0x1a75c5=new Date()[_0x48b6aa(0x265)](),_0x12b6bf=this[_0x48b6aa(0x2c3)]?Math[_0x48b6aa(0x380)](this[_0x48b6aa(0x2c3)]-_0x1a75c5,0x0):this[_0x48b6aa(0x2cf)]();return _0x2e1f71['_schedule'](_0x12b6bf),_0x2e1f71;}throw _0x11ba68[_0x48b6aa(0x4ae)];}catch(_0x5a9e79){return this[_0x48b6aa(0x242)][_0x48b6aa(0x4ae)](_0x5a9e79),this[_0x48b6aa(0x1c9)](!0x1);}}[_0xccc328(0x47b)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3a5502=_0xccc328;throw new Error(_0x3a5502(0x2d2));}[_0xccc328(0x23d)](){return this;}['toggleOffline'](){var _0x4dbe96=_0xccc328;return this[_0x4dbe96(0x2c1)](),this[_0x4dbe96(0x426)][_0x4dbe96(0x3b2)](de,this[_0x4dbe96(0x45c)],this['type'],null,this['_pendingMutations'],this['_handler']);}[_0xccc328(0x461)](){return this;}[_0xccc328(0x405)](_0x567a12){var _0x54bcb0=_0xccc328;const _0x55656b=_0x567a12!=null?_0x567a12:this[_0x54bcb0(0x2cf)]();this[_0x54bcb0(0x2c3)]=new Date()[_0x54bcb0(0x265)]()+_0x55656b,this['_sendingTimer']=setTimeout(()=>{var _0x20f34f=_0x54bcb0;this[_0x20f34f(0x2c1)]();let _0x5ed1a9=null;switch(this[_0x20f34f(0x2a5)]){case Q[_0x20f34f(0x2db)]:{_0x5ed1a9=qt(this[_0x20f34f(0x1cb)],this[_0x20f34f(0x45c)],this[_0x20f34f(0x3a9)],this[_0x20f34f(0x3fb)],this[_0x20f34f(0x351)]);break;}case Q[_0x20f34f(0x4a4)]:{this[_0x20f34f(0x1cb)][_0x20f34f(0x226)](_0x5e731a=>_0x5e731a['id']===_0x3b3371['id'])?_0x5ed1a9=ns(this[_0x20f34f(0x1cb)],this[_0x20f34f(0x45c)],this[_0x20f34f(0x3a9)],this[_0x20f34f(0x3fb)],this[_0x20f34f(0x351)]):_0x5ed1a9=qt(this['_pendingMutations'],this[_0x20f34f(0x45c)],this[_0x20f34f(0x3a9)],this[_0x20f34f(0x3fb)],this[_0x20f34f(0x351)]);break;}default:throw new Error(_0x20f34f(0x215)+this[_0x20f34f(0x2a5)]+_0x20f34f(0x3ab));}const {changeset:_0x546690,pendingMutations:_0x6b081a}=_0x5ed1a9;this['_handler'][_0x20f34f(0x1d8)](_0x546690);const _0x5a520f=_0x6b081a[_0x20f34f(0x489)]?this[_0x20f34f(0x426)][_0x20f34f(0x3b2)](oe,this[_0x20f34f(0x45c)],this[_0x20f34f(0x2a5)],_0x546690,_0x6b081a,this[_0x20f34f(0x4aa)],void 0x0):this[_0x20f34f(0x426)][_0x20f34f(0x3b2)](le,this['unitID'],this[_0x20f34f(0x2a5)],_0x546690,this[_0x20f34f(0x4aa)]);_0x5a520f[_0x20f34f(0x2d5)](),this['_handler']['onStateChange'](this,_0x5a520f);},_0x55656b);}[_0xccc328(0x2cf)](){var _0x404578=_0xccc328,_0x5d0198;const _0x196d55=this[_0x404578(0x20b)]['getConfig'](q);return(_0x5d0198=_0x196d55==null?void 0x0:_0x196d55[_0x404578(0x39a)])!=null?_0x5d0198:En;}['resend'](){var _0x313e46=_0xccc328;throw new Error(_0x313e46(0x40f));}[_0xccc328(0x2c1)](){var _0x83d0f4=_0xccc328;this['_sendingTimer']!=null&&(clearTimeout(this[_0x83d0f4(0x42c)]),this[_0x83d0f4(0x42c)]=null);}['_onConflict'](_0x587493){var _0x25c4eb=_0xccc328;return this[_0x25c4eb(0x2c1)](),this[_0x25c4eb(0x426)][_0x25c4eb(0x3b2)](ue,this[_0x25c4eb(0x45c)],this[_0x25c4eb(0x2a5)],null,this[_0x25c4eb(0x1cb)],this['_handler'],_0x587493);}};ae=Te([P(0x4,_0x42d086(_0x213b7b)),P(0x5,_0x42d086(_0x4638b1)),P(0x6,_0x42d086(Le)),P(0x7,_0x48685b),P(0x8,_0x37fa3a),P(0x9,_0x32d0f8),P(0xa,_0x5c5e6b),P(0xb,_0xca8903),P(0xc,_0x10626b),P(0xd,_0x4a4437(J))],ae);let le=class extends Ce{constructor(_0x1a4364,_0x43ba2b,_0x31f165,_0x44141b,_0x3ef005,_0x2e568d,_0x7c985a,_0x9ec451,_0x22b451,_0x5cc829,_0x5413cd){var _0x3efed9=_0xccc328;super(_0x1a4364,_0x43ba2b,_0x31f165,[],_0x44141b,_0x7c985a,_0x5cc829,_0x2e568d,_0x5413cd),N(this,_0x3efed9(0x449),_0x3efed9(0x3e8)),N(this,'_resendTimeout',0x0),N(this,_0x3efed9(0x345)),N(this,_0x3efed9(0x42d)),(this[_0x3efed9(0x426)]=_0x3ef005,this[_0x3efed9(0x242)]=_0x9ec451,this[_0x3efed9(0x2ca)]=_0x22b451);}[_0xccc328(0x324)](_0x36cbae){var _0x257345=_0xccc328;this[_0x257345(0x2c1)]();const _0x4315a9=this['_injector'][_0x257345(0x3b2)](oe,this[_0x257345(0x45c)],this['type'],this[_0x257345(0x454)],[_0x36cbae],this['_handler'],this[_0x257345(0x345)]);return _0x4315a9[_0x257345(0x2d5)](),_0x4315a9;}[_0xccc328(0x282)](_0x56e64b){var _0x4c3e29=_0xccc328;if(this[_0x4c3e29(0x1e5)](_0x56e64b))return this[_0x4c3e29(0x2c1)](),this[_0x4c3e29(0x426)]['createInstance'](ee,this[_0x4c3e29(0x45c)],this[_0x4c3e29(0x2a5)],this[_0x4c3e29(0x454)],[],null,[_0x56e64b],this[_0x4c3e29(0x4aa)]);try{const _0x257a78=this[_0x4c3e29(0x2ca)][_0x4c3e29(0x337)]([_0x56e64b],[this[_0x4c3e29(0x454)]],!0x1);if(_0x49175f(_0x257a78)){const {c1Prime:_0x3563ad,c2Prime:_0x378fc0}=_0x257a78;this[_0x4c3e29(0x1cc)](_0x3563ad[0x0]),_0x378fc0[0x0][_0x4c3e29(0x2b0)]=this['_getCurrentRevision'](),this[_0x4c3e29(0x2c1)]();const _0x1dc815=this['_injector'][_0x4c3e29(0x3b2)](le,this[_0x4c3e29(0x45c)],this[_0x4c3e29(0x2a5)],_0x378fc0[0x0],this[_0x4c3e29(0x4aa)]);return _0x1dc815['_updateLocalCache'](),_0x1dc815;}return this[_0x4c3e29(0x1c9)](!0x1);}catch(_0x144c51){return this[_0x4c3e29(0x242)][_0x4c3e29(0x4ae)](_0x144c51),this['_onConflict'](!0x1);}}[_0xccc328(0x47b)](_0x21081f){var _0x27a578=_0xccc328;this[_0x27a578(0x2c1)]();const _0x8245b4=this[_0x27a578(0x3fb)][_0x27a578(0x29f)](this[_0x27a578(0x45c)]);if(_0x21081f[_0x27a578(0x2bd)]<_0x8245b4-0x1)return this;if(this[_0x27a578(0x1e5)](_0x21081f))return this['_injector']['createInstance'](ee,this[_0x27a578(0x45c)],this[_0x27a578(0x2a5)],null,[],this[_0x27a578(0x454)],[],this[_0x27a578(0x4aa)]);this[_0x27a578(0x3ac)]();const _0x5034a6=this['_injector'][_0x27a578(0x3b2)](Ne,this[_0x27a578(0x45c)],this[_0x27a578(0x2a5)],this['_handler']);return _0x5034a6['_updateLocalCache'](),_0x5034a6;}[_0xccc328(0x363)](_0x2da1c3){var _0x489c30=_0xccc328;return this[_0x489c30(0x1c9)](!!(_0x2da1c3!=null&&_0x2da1c3[_0x489c30(0x3c0)]));}['onRemoteRetry'](_0x4812f7){var _0x24e848=_0xccc328;return this[_0x24e848(0x373)]>Oi?this['toggleOffline']():(this[_0x24e848(0x345)]=Ri(this[_0x24e848(0x373)],{'timeout':this[_0x24e848(0x373)],'reqId':_0x4812f7[_0x24e848(0x1a4)]}),this[_0x24e848(0x42d)]=this[_0x24e848(0x345)][_0x24e848(0x2d7)](({reqId:_0x45a1eb,timeout:_0xe09908})=>{var _0x2ecdc9=_0x24e848;this[_0x2ecdc9(0x476)](_0x45a1eb,_0xe09908);}),this);}[_0xccc328(0x45b)](){var _0x3bd8f6=_0xccc328;return this['_clearScheduledTask'](),this[_0x3bd8f6(0x426)][_0x3bd8f6(0x3b2)](de,this[_0x3bd8f6(0x45c)],this['type'],this[_0x3bd8f6(0x454)],[],this[_0x3bd8f6(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x318)](){var _0x59e492=_0xccc328;this['_handler']['onSendChangeset'](this[_0x59e492(0x454)]);}['_onConflict'](_0x194bc3){var _0x3e8f6a=_0xccc328;return this[_0x3e8f6a(0x2c1)](),this[_0x3e8f6a(0x426)][_0x3e8f6a(0x3b2)](ue,this[_0x3e8f6a(0x45c)],this[_0x3e8f6a(0x2a5)],this['_awaitingChangeset'],[],this[_0x3e8f6a(0x4aa)],_0x194bc3);}[_0xccc328(0x476)](_0x482303,_0x3673e9){var _0x37f548=_0xccc328,_0x2bdc9f;_0x482303===((_0x2bdc9f=this[_0x37f548(0x454)])==null?void 0x0:_0x2bdc9f[_0x37f548(0x1a4)])&&(this[_0x37f548(0x318)](),this[_0x37f548(0x373)]=_0x3673e9===0x0?0x3e8:_0x3673e9*0x2);}[_0xccc328(0x2c1)](){var _0x4d1e06=_0xccc328,_0x329ff8;(_0x329ff8=this[_0x4d1e06(0x42d)])==null||_0x329ff8[_0x4d1e06(0x238)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x42d086(_0x213b7b)),P(0x5,_0x42d086(_0x4638b1)),P(0x6,_0x37fa3a),P(0x7,_0x48685b),P(0x8,_0x5c5e6b),P(0x9,_0x10626b),P(0xa,_0x4a4437(J))],le);let oe=class extends Ce{constructor(_0x53d5e7,_0x5b80b7,_0x199e5b,_0xf938e2,_0x200082,_0x478572,_0x578d00,_0x30ec8d,_0x3118fd,_0x4d1215,_0x166b55,_0x504259,_0x3c9e3f){var _0xeb10f0=_0xccc328;super(_0x53d5e7,_0x5b80b7,_0x199e5b,_0xf938e2,_0x200082,_0x3118fd,_0x504259,_0x30ec8d,_0x3c9e3f),N(this,_0xeb10f0(0x449),_0xeb10f0(0x2fe)),N(this,_0xeb10f0(0x373),0x0),N(this,_0xeb10f0(0x345)),N(this,'_sender'),(this[_0xeb10f0(0x426)]=_0x578d00,this[_0xeb10f0(0x242)]=_0x4d1215,this[_0xeb10f0(0x2ca)]=_0x166b55,this[_0xeb10f0(0x479)]=_0x3c9e3f,_0x478572&&(this[_0xeb10f0(0x345)]=_0x478572,this[_0xeb10f0(0x42d)]=this[_0xeb10f0(0x345)][_0xeb10f0(0x2d7)](({reqId:_0x32cbbd,timeout:_0x23ae93})=>{var _0x321584=_0xeb10f0;this[_0x321584(0x476)](_0x32cbbd,_0x23ae93);})));}[_0xccc328(0x324)](_0x296b71){var _0x4503a4=_0xccc328;return this[_0x4503a4(0x1cb)][_0x4503a4(0x26b)](_0x296b71),this;}[_0xccc328(0x282)](_0x5cfcea){var _0x69b957=_0xccc328;if(this[_0x69b957(0x1e5)](_0x5cfcea))return this[_0x69b957(0x2c1)](),this[_0x69b957(0x426)][_0x69b957(0x3b2)](ee,this['unitID'],this[_0x69b957(0x2a5)],this[_0x69b957(0x454)],this[_0x69b957(0x1cb)],null,[_0x5cfcea],this[_0x69b957(0x4aa)]);try{const _0x227dce=this['_transformService']['transformChangesets']([_0x5cfcea],[this[_0x69b957(0x454)]],!0x1);if(_0x49175f(_0x227dce)){const {c1Prime:_0x243478,c2Prime:_0xc68748}=_0x227dce,_0x5d65ec=this['_transformService'][_0x69b957(0x2a4)](_0x243478[0x0],this['_pendingMutations']);if(_0x4ae166(_0x5d65ec)){const {c1Prime:_0x1dfb57,m2Prime:_0x2e8f4d}=_0x5d65ec;return this[_0x69b957(0x1cc)](_0x1dfb57),_0xc68748[0x0][_0x69b957(0x2b0)]=this['_getCurrentRevision'](),this[_0x69b957(0x2c1)](),this[_0x69b957(0x426)][_0x69b957(0x3b2)](oe,this[_0x69b957(0x45c)],this[_0x69b957(0x2a5)],_0xc68748[0x0],_0x2e8f4d,this[_0x69b957(0x4aa)],void 0x0);}throw _0x5d65ec[_0x69b957(0x4ae)];}throw _0x227dce['error'];}catch(_0xd22b7){return this[_0x69b957(0x242)]['error'](_0xd22b7),this[_0x69b957(0x1c9)](!0x1);}}['onRemoteAck'](_0x3c86fa){var _0x3032af=_0xccc328;if(this[_0x3032af(0x2c1)](),this[_0x3032af(0x1e5)](_0x3c86fa))return this[_0x3032af(0x426)][_0x3032af(0x3b2)](ee,this[_0x3032af(0x45c)],this[_0x3032af(0x2a5)],null,this[_0x3032af(0x1cb)],this[_0x3032af(0x454)],[],this[_0x3032af(0x4aa)]);this[_0x3032af(0x3ac)]();const _0x3f0e4a=this[_0x3032af(0x426)][_0x3032af(0x3b2)](ae,this[_0x3032af(0x45c)],this['type'],this[_0x3032af(0x1cb)],this[_0x3032af(0x4aa)]);return _0x3f0e4a['_schedule'](),_0x3f0e4a[_0x3032af(0x2d5)](),_0x3f0e4a;}[_0xccc328(0x363)](_0x2f031a){return this['_onConflict'](!!(_0x2f031a!=null&&_0x2f031a['isPermissionRej']));}[_0xccc328(0x23d)](_0x2881d0){var _0x3a6ef9=_0xccc328;return this['_resendTimeout']>Oi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x3a6ef9(0x373)],{'timeout':this[_0x3a6ef9(0x373)],'reqId':_0x2881d0[_0x3a6ef9(0x1a4)]}),this[_0x3a6ef9(0x42d)]=this[_0x3a6ef9(0x345)][_0x3a6ef9(0x2d7)](({reqId:_0x2027d0,timeout:_0x257a10})=>{var _0x486e7e=_0x3a6ef9;this[_0x486e7e(0x476)](_0x2027d0,_0x257a10);}),this);}[_0xccc328(0x45b)](){var _0x50f60c=_0xccc328;return this[_0x50f60c(0x2c1)](),this[_0x50f60c(0x426)][_0x50f60c(0x3b2)](de,this[_0x50f60c(0x45c)],this[_0x50f60c(0x2a5)],this[_0x50f60c(0x454)],this['_pendingMutations'],this[_0x50f60c(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x318)](){var _0x4f88e1=_0xccc328;this[_0x4f88e1(0x4aa)][_0x4f88e1(0x1d8)](this[_0x4f88e1(0x454)]);}['_onConflict'](_0x3c13e4){var _0x3bd669=_0xccc328;return this[_0x3bd669(0x2c1)](),this[_0x3bd669(0x426)]['createInstance'](ue,this[_0x3bd669(0x45c)],this[_0x3bd669(0x2a5)],null,this['_pendingMutations'],this[_0x3bd669(0x4aa)],_0x3c13e4);}[_0xccc328(0x476)](_0xacc96e,_0x59143c){var _0x47cb80=_0xccc328,_0x591136;_0xacc96e===((_0x591136=this[_0x47cb80(0x454)])==null?void 0x0:_0x591136[_0x47cb80(0x1a4)])&&(this['resend'](),this[_0x47cb80(0x373)]=_0x59143c===0x0?0x3e8:_0x59143c*0x2);}[_0xccc328(0x2c1)](){var _0x2cda08=_0xccc328,_0x54d285;(_0x54d285=this['_sender'])==null||_0x54d285[_0x2cda08(0x238)](),this[_0x2cda08(0x373)]=0x0;}};oe=Te([P(0x6,_0x42d086(_0x213b7b)),P(0x7,_0x42d086(_0x4638b1)),P(0x8,_0x37fa3a),P(0x9,_0x48685b),P(0xa,_0x5c5e6b),P(0xb,_0x10626b),P(0xc,_0x4a4437(J))],oe);let ue=class extends Ce{constructor(_0x54694c,_0x6c8fa1,_0x1054c7,_0x19677a,_0xad427e,_0x13a3ad=!0x1,_0x47d4b5,_0x4aaab6,_0x372f39,_0x1315a4,_0x52f003,_0x1c0577,_0x432453){var _0x22661d=_0xccc328;super(_0x54694c,_0x6c8fa1,_0x1054c7,_0x19677a,_0xad427e,_0x4aaab6,_0x372f39,_0x1315a4,_0x432453),N(this,_0x22661d(0x449),'conflict'),(this['_isPermissionRej']=_0x13a3ad,this[_0x22661d(0x1ee)]=_0x47d4b5,this[_0x22661d(0x1c6)]=_0x52f003,this['_collaborationUIEventService']=_0x1c0577,this[_0x22661d(0x479)]=_0x432453,this[_0x22661d(0x317)](),this[_0x22661d(0x27a)](),this[_0x22661d(0x42a)]());}[_0xccc328(0x324)](){return this;}[_0xccc328(0x282)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xccc328(0x23d)](){return this;}['toggleOffline'](){return this;}[_0xccc328(0x461)](){return this;}['resend'](){var _0x2b15a1=_0xccc328;throw new Error(_0x2b15a1(0x342));}[_0xccc328(0x27a)](){var _0x58313c=_0xccc328,_0x2920ea;(_0x2920ea=this[_0x58313c(0x3f3)])==null||_0x2920ea[_0x58313c(0x1c5)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x8c1211=_0xccc328;this[_0x8c1211(0x23e)]?this[_0x8c1211(0x22d)][_0x8c1211(0x460)]({'id':re['PERMISSION_DENIED']}):this[_0x8c1211(0x22d)][_0x8c1211(0x460)]({'id':re[_0x8c1211(0x1af)]});}[_0xccc328(0x42a)](){var _0x5bbbfd=_0xccc328;this['_permissionService'][_0x5bbbfd(0x358)](new _0x1bf5b8(this[_0x5bbbfd(0x45c)])['id'],!0x1);}};ue=Te([P(0x6,_0x42d086(_0x3f7473)),P(0x7,_0x37fa3a),P(0x8,_0x10626b),P(0x9,_0x42d086(_0x4638b1)),P(0xa,_0x42d086(_0xc4f59a)),P(0xb,_0x42d086(pe)),P(0xc,_0x4a4437(J))],ue);let de=class extends Ce{constructor(_0x5f23dd,_0x192433,_0x3b3831,_0x3fdce1,_0x41da0e,_0x182ef6,_0x2ad768,_0x18aa72,_0x290fd2,_0x5a40ca){var _0x8cfa78=_0xccc328;super(_0x5f23dd,_0x192433,_0x3b3831,_0x3fdce1,_0x41da0e,_0x18aa72,_0x290fd2,_0x2ad768,_0x5a40ca),N(this,_0x8cfa78(0x449),_0x8cfa78(0x31d)),this['_injector']=_0x182ef6;}[_0xccc328(0x324)](_0x32c2d0){var _0x435a6c=_0xccc328;return this['_pendingMutations']['push'](_0x32c2d0),this[_0x435a6c(0x2d5)](),this;}['onRemoteChangeset'](_0x1da687){var _0x5ffaf=_0xccc328;throw new Error(_0x5ffaf(0x3e9));}['onRemoteAck'](){var _0x4cecaa=_0xccc328;throw new Error(_0x4cecaa(0x4a9));}[_0xccc328(0x363)](){var _0x16d446=_0xccc328;throw new Error(_0x16d446(0x395));}[_0xccc328(0x23d)](){return this;}[_0xccc328(0x45b)](){return this;}['toggleOnline'](){var _0x203807=_0xccc328;const {_injector:_0x59a529,_pendingMutations:_0xfa521d,_awaitingChangeset:_0x57b1f9,unitID:_0x54dd3f,_handler:_0x4f3fcf,type:_0x597f9f}=this,_0x58872d=yi(_0x59a529,_0x54dd3f,_0x597f9f,_0x57b1f9,_0xfa521d,_0x4f3fcf);return _0x58872d instanceof ae?_0x58872d['_schedule']():(_0x58872d instanceof oe||_0x58872d instanceof le)&&_0x58872d[_0x203807(0x318)](),_0x58872d;}[_0xccc328(0x318)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x42d086(_0x213b7b)),P(0x6,_0x42d086(_0x4638b1)),P(0x7,_0x37fa3a),P(0x8,_0x10626b),P(0x9,_0x4a4437(J))],de);let ee=class extends Ce{constructor(_0x342b0e,_0x262158,_0x1c8732,_0x2f30b3,_0x283838,_0x21809e,_0x5cd8f0,_0xc88ad6,_0x1e35a3,_0x50de1e,_0x2aa49c,_0x16f00c,_0x1164d2,_0x229592){var _0x165de6=_0xccc328;super(_0x342b0e,_0x262158,_0x1c8732,_0x2f30b3,_0x5cd8f0,_0x2aa49c,_0x16f00c,_0x1e35a3,_0x229592),N(this,_0x165de6(0x449),_0x165de6(0x2b4)),(this[_0x165de6(0x393)]=_0x283838,this['_queuedRemoteChangesets']=_0x21809e,this['_injector']=_0xc88ad6,this['_logService']=_0x50de1e,this[_0x165de6(0x2ca)]=_0x1164d2,this[_0x165de6(0x479)]=_0x229592);}[_0xccc328(0x3e3)](_0x493186){var _0x3a903d=_0xccc328;try{const _0x56239b=[..._0x493186,...this[_0x3a903d(0x4a7)]],_0x301898=[this[_0x3a903d(0x454)]||this[_0x3a903d(0x393)]][_0x3a903d(0x2c6)](_0x5f3257=>!!_0x5f3257);let _0x147c10,_0x20d0a4;if(_0x301898[_0x3a903d(0x489)]){const _0x38ce09=this[_0x3a903d(0x2ca)]['transformChangesets'](_0x56239b,_0x301898,!0x1);if(!_0x49175f(_0x38ce09))throw _0x38ce09['error'];_0x147c10=_0x38ce09[_0x3a903d(0x27f)],_0x20d0a4=_0x38ce09[_0x3a903d(0x295)];}else _0x147c10=_0x56239b,_0x20d0a4=[];let _0x281a45=this['_pendingMutations'];_0x147c10[_0x3a903d(0x412)](_0x186f48=>{var _0x3faf4a=_0x3a903d;let _0xc9c781;if(_0x281a45[_0x3faf4a(0x489)]){const _0x5178e3=this[_0x3faf4a(0x2ca)]['transformMutationsWithChangeset'](_0x186f48,_0x281a45);if(!_0x4ae166(_0x5178e3))throw _0x5178e3[_0x3faf4a(0x4ae)];_0xc9c781=_0x5178e3[_0x3faf4a(0x27f)],_0x281a45=_0x5178e3[_0x3faf4a(0x28f)];}else _0xc9c781=_0x186f48;this[_0x3faf4a(0x1cc)](_0xc9c781);}),this[_0x3a903d(0x393)]&&this[_0x3a903d(0x3ac)](),this[_0x3a903d(0x454)]&&_0x20d0a4[_0x3a903d(0x489)]&&(_0x20d0a4[0x0]['baseRev']=this['_getCurrentRevision']());let _0x46261c;if(this[_0x3a903d(0x454)]&&_0x281a45[_0x3a903d(0x489)]!==0x0)_0x46261c=this['_injector']['createInstance'](oe,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],_0x20d0a4[0x0],_0x281a45,this[_0x3a903d(0x4aa)],void 0x0);else{if(this[_0x3a903d(0x454)]&&_0x281a45[_0x3a903d(0x489)]===0x0)_0x20d0a4[0x0][_0x3a903d(0x2b0)]=this[_0x3a903d(0x1d2)](),_0x46261c=this['_injector']['createInstance'](le,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],_0x20d0a4[0x0],this[_0x3a903d(0x4aa)]);else{if(_0x281a45[_0x3a903d(0x489)]!==0x0){const _0x5d1f12=this[_0x3a903d(0x426)][_0x3a903d(0x3b2)](ae,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],_0x281a45,this[_0x3a903d(0x4aa)]);_0x5d1f12[_0x3a903d(0x405)](),_0x46261c=_0x5d1f12;}else _0x46261c=this['_injector'][_0x3a903d(0x3b2)](Ne,this['unitID'],this[_0x3a903d(0x2a5)],this[_0x3a903d(0x4aa)]);}}return _0x46261c[_0x3a903d(0x2d5)](),_0x46261c;}catch(_0x4d14b6){return this[_0x3a903d(0x242)][_0x3a903d(0x4ae)](_0x3a903d(0x28d),_0x3a903d(0x20f),_0x4d14b6),this[_0x3a903d(0x426)][_0x3a903d(0x3b2)](ue,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],this['_awaitingChangeset'],this[_0x3a903d(0x1cb)],this[_0x3a903d(0x4aa)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xccc328(0x324)](_0x26f86b){var _0x39e4f7=_0xccc328;return this[_0x39e4f7(0x1cb)][_0x39e4f7(0x26b)](_0x26f86b),this;}[_0xccc328(0x282)](_0x1d1977){var _0x21d2e8=_0xccc328;return this[_0x21d2e8(0x4a7)][_0x21d2e8(0x26b)](_0x1d1977),this;}['onRemoteAck'](_0x9df9cf){var _0x223493=_0xccc328;if(this[_0x223493(0x454)])return this[_0x223493(0x393)]=this[_0x223493(0x454)],this[_0x223493(0x454)]=null,this;throw new Error(_0x223493(0x3a8));}[_0xccc328(0x363)](_0x30aec1){var _0x55fe80=_0xccc328;return this[_0x55fe80(0x1c9)](!!(_0x30aec1!=null&&_0x30aec1[_0x55fe80(0x3c0)]));}['onRemoteRetry'](){return this;}[_0xccc328(0x45b)](){var _0x4ec9f4=_0xccc328;return this[_0x4ec9f4(0x426)][_0x4ec9f4(0x3b2)](de,this[_0x4ec9f4(0x45c)],this[_0x4ec9f4(0x2a5)],this[_0x4ec9f4(0x454)],this['_pendingMutations'],this[_0x4ec9f4(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x1c9)](_0x422e8b){var _0x4f3ff9=_0xccc328;return this[_0x4f3ff9(0x426)][_0x4f3ff9(0x3b2)](ue,this[_0x4f3ff9(0x45c)],this[_0x4f3ff9(0x2a5)],this[_0x4f3ff9(0x454)],this['_pendingMutations'],this[_0x4f3ff9(0x4aa)],_0x422e8b);}};ee=Te([P(0x7,_0x42d086(_0x213b7b)),P(0x8,_0x42d086(_0x4638b1)),P(0x9,_0x48685b),P(0xa,_0x37fa3a),P(0xb,_0x10626b),P(0xc,_0x5c5e6b),P(0xd,_0x4a4437(J))],ee);function yi(_0x16ac4f,_0x4cc5a8,_0x44c535,_0x365571,_0x417124,_0x138ea9){var _0x24e85d=_0xccc328;return _0x365571&&_0x417124['length']?_0x16ac4f[_0x24e85d(0x3b2)](oe,_0x4cc5a8,_0x44c535,_0x365571,_0x417124,_0x138ea9,void 0x0):_0x365571?_0x16ac4f[_0x24e85d(0x3b2)](le,_0x4cc5a8,_0x44c535,_0x365571,_0x138ea9):_0x417124['length']?_0x16ac4f[_0x24e85d(0x3b2)](ae,_0x4cc5a8,_0x44c535,_0x417124,_0x138ea9):_0x16ac4f['createInstance'](Ne,_0x4cc5a8,_0x44c535,_0x138ea9);}var as=Object[_0xccc328(0x2bf)],Lt=(_0x5b7062,_0x55dade,_0x137a8c,_0x39dc87)=>{var _0x18e9cb=_0xccc328;for(var _0x50cd26=_0x39dc87>0x1?void 0x0:_0x39dc87?as(_0x55dade,_0x137a8c):_0x55dade,_0x29f541=_0x5b7062[_0x18e9cb(0x489)]-0x1,_0xa5ed6e;_0x29f541>=0x0;_0x29f541--)(_0xa5ed6e=_0x5b7062[_0x29f541])&&(_0x50cd26=_0xa5ed6e(_0x50cd26)||_0x50cd26);return _0x50cd26;},H=(_0x4e78fe,_0x229bcd)=>(_0xef9f53,_0x6c1503)=>_0x229bcd(_0xef9f53,_0x6c1503,_0x4e78fe);let nt=class extends _0x694488{constructor(_0x14addf,_0x22aef4,_0x190e8a,_0x43ac10,_0x5ecf19,_0x237bf5,_0xfe7181,_0x18f694,_0x55af29,_0x218e20,_0x17d380,_0x1ceb38,_0x36ac64){var _0x235b20=_0xccc328;super(),N(this,_0x235b20(0x2f0),new _0x12344d(null)),N(this,_0x235b20(0x257),this[_0x235b20(0x2f0)][_0x235b20(0x366)]()),N(this,_0x235b20(0x292)),N(this,_0x235b20(0x2de),!0x1),N(this,_0x235b20(0x3d4),''),N(this,'_changesetReqId',0x0),N(this,_0x235b20(0x32d),this[_0x235b20(0x257)]['pipe'](_0x9323e6(_0x2b9729=>_0x2b9729?_0x2b9729['status']:bi['OFFLINE']),_0x22d5f4(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x235b20(0x3a3),[]),(this['unitID']=_0x14addf,this[_0x235b20(0x350)]=_0x22aef4,this[_0x235b20(0x2cb)]=_0x190e8a,this[_0x235b20(0x426)]=_0x43ac10,this[_0x235b20(0x1e8)]=_0x5ecf19,this[_0x235b20(0x1c6)]=_0x237bf5,this[_0x235b20(0x3fb)]=_0xfe7181,this[_0x235b20(0x1ae)]=_0x18f694,this[_0x235b20(0x242)]=_0x55af29,this['_commandService']=_0x218e20,this['_permissionService']=_0x17d380,this[_0x235b20(0x1d1)]=_0x1ceb38,this[_0x235b20(0x3f3)]=_0x36ac64);}get['state'](){var _0x579fe9=_0xccc328;return this[_0x579fe9(0x292)];}async['init'](){var _0x3cafa4=_0xccc328;if(this[_0x3cafa4(0x3f0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3cafa4(0x435)]();}[_0xccc328(0x452)](){return this['_collaborationPaused']=!0x0,_0x7dd940(()=>{var _0x186672=_0x4dde;this[_0x186672(0x2de)]=!0x1,this[_0x186672(0x311)]();});}['onLocalMutation'](_0x196a4e){this['_onLocalMutation'](_0x196a4e);}[_0xccc328(0x490)](_0x20a16e){var _0x1f0e52=_0xccc328;this[_0x1f0e52(0x292)]=_0x20a16e,this[_0x1f0e52(0x2f0)][_0x1f0e52(0x419)](_0x20a16e);}async[_0xccc328(0x435)](){var _0x1063db=_0xccc328,_0x242dae;this[_0x1063db(0x490)](await this[_0x1063db(0x2ff)]()),this['_singleActiveUnitService']&&((_0x242dae=this['_singleActiveUnitService'])==null||_0x242dae[_0x1063db(0x400)](this[_0x1063db(0x45c)]),this[_0x1063db(0x2c9)](this[_0x1063db(0x1d1)][_0x1063db(0x291)](this['unitID'])[_0x1063db(0x2d7)](_0x1f7669=>{var _0x553222=_0x1063db;this[_0x553222(0x242)][_0x553222(0x353)]('[CollaborationEntity]',_0x553222(0x367),_0x1f7669),_0x1f7669===Ci[_0x553222(0x472)]?(this[_0x553222(0x1ae)][_0x553222(0x460)]({'id':re[_0x553222(0x3d2)]}),this[_0x553222(0x1ee)][_0x553222(0x358)](new _0x1bf5b8(this[_0x553222(0x45c)])['id'],!0x1),this[_0x553222(0x1ee)][_0x553222(0x41b)](!0x1)):(this['_permissionService'][_0x553222(0x358)](new _0x1bf5b8(this[_0x553222(0x45c)])['id'],!0x0),this[_0x553222(0x1ee)][_0x553222(0x41b)](!0x0));})));let _0x301815=!0x1;return this[_0x1063db(0x2c9)](this[_0x1063db(0x350)][_0x1063db(0x320)][_0x1063db(0x2d7)](_0x27e083=>{var _0x453de9=_0x1063db;_0x27e083===Ee[_0x453de9(0x38b)]?this[_0x453de9(0x434)](_0x301815):_0x27e083===Ee[_0x453de9(0x3d5)]&&(_0x301815=!0x0,this[_0x453de9(0x22a)]());})),this[_0x1063db(0x2c9)](this[_0x1063db(0x350)][_0x1063db(0x32a)][_0x1063db(0x2d7)](_0x3571fd=>{var _0x49e366=_0x1063db;try{switch(_0x3571fd['eventID']){case _0x4c124f[_0x49e366(0x266)]:{this[_0x49e366(0x283)](_0x525ec9(_0x3571fd['data']));break;}case _0x4c124f['CHANGESET_ACK']:{this[_0x49e366(0x360)](_0x3571fd[_0x49e366(0x43a)]);break;}case _0x4c124f[_0x49e366(0x442)]:{this[_0x49e366(0x268)]();break;}case _0x4c124f[_0x49e366(0x25f)]:{this[_0x49e366(0x3c2)](_0x3571fd[_0x49e366(0x43a)]);break;}case _0x4c124f['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x49e366(0x49e)](_0x3571fd[_0x49e366(0x43a)][_0x49e366(0x30c)][_0x49e366(0x404)](_0x551ccd=>_0x525ec9(_0x551ccd)));break;}case _0x4c124f[_0x49e366(0x309)]:{this[_0x49e366(0x268)]({'isPermissionRej':!0x0});break;}case _0x4c124f[_0x49e366(0x263)]:break;}}catch(_0x1bdd9c){throw console[_0x49e366(0x4ae)]('Error\x20on\x20receiving\x20event',_0x1bdd9c),_0x1bdd9c;}})),this[_0x1063db(0x292)];}[_0xccc328(0x407)](){this['_transitionLocked']=!0x1;}[_0xccc328(0x2a9)](){var _0x3fd18b=_0xccc328;if(this[_0x3fd18b(0x459)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3fd18b(0x459)]=!0x0;}[_0xccc328(0x236)](_0x2e36a5){var _0x480174=_0xccc328;this[_0x480174(0x2a9)](),this[_0x480174(0x490)](this['_state'][_0x480174(0x324)](_0x2e36a5)),this['_unlockTransition']();}[_0xccc328(0x283)](_0x48e8d5){var _0x38625c=_0xccc328;if(!(_0x48e8d5[_0x38625c(0x2bd)]<=this[_0x38625c(0x3fb)][_0x38625c(0x29f)](this[_0x38625c(0x45c)]))){if(this[_0x38625c(0x2de)]){this[_0x38625c(0x3a3)][_0x38625c(0x26b)](_0x48e8d5);return;}this['_applyRemoteChangeset'](_0x48e8d5);}}['_exhaustRemoteChangesetQueue'](){var _0x55df70=_0xccc328;this[_0x55df70(0x3a3)][_0x55df70(0x412)](_0x51d8b5=>this[_0x55df70(0x1d6)](_0x51d8b5)),this['_remoteChangesetQueue']=[];}[_0xccc328(0x1d6)](_0x57ed86){var _0x20feaa=_0xccc328;const _0x4268a7=this[_0x20feaa(0x1e8)][_0x20feaa(0x340)][_0x20feaa(0x347)](this[_0x20feaa(0x1e8)][_0x20feaa(0x340)]['getInterceptPoints']()[_0x20feaa(0x218)])(_0x57ed86['mutations'],null)||_0x57ed86['mutations'],_0x525495={..._0x57ed86,'mutations':_0x4268a7};this[_0x20feaa(0x2a9)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x525495)),this['_unlockTransition']();}[_0xccc328(0x360)](_0x337838){var _0x30829a=_0xccc328;this[_0x30829a(0x2a9)](),this[_0x30829a(0x490)](this[_0x30829a(0x292)]['onRemoteAck'](_0x337838)),this[_0x30829a(0x407)]();}[_0xccc328(0x268)](_0x3c85dd){var _0xaf2e38=_0xccc328;this[_0xaf2e38(0x2a9)](),this[_0xaf2e38(0x490)](this[_0xaf2e38(0x292)][_0xaf2e38(0x363)](_0x3c85dd)),this[_0xaf2e38(0x407)]();}[_0xccc328(0x3c2)](_0x26e9ec){var _0xbf9944=_0xccc328;this[_0xbf9944(0x2a9)](),this[_0xbf9944(0x490)](this[_0xbf9944(0x292)][_0xbf9944(0x23d)](_0x26e9ec)),this['_unlockTransition']();}[_0xccc328(0x49e)](_0x27d6bf){var _0x4c61e2=_0xccc328;if(!(this[_0x4c61e2(0x292)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x504e03=_0x27d6bf[_0x4c61e2(0x404)](_0x37b4a4=>{var _0x53e52f=_0x4c61e2;const _0x5a7a71=this[_0x53e52f(0x1e8)][_0x53e52f(0x340)][_0x53e52f(0x347)](this[_0x53e52f(0x1e8)][_0x53e52f(0x340)][_0x53e52f(0x306)]()[_0x53e52f(0x218)])(_0x37b4a4[_0x53e52f(0x232)],null)||_0x37b4a4[_0x53e52f(0x232)];return{..._0x37b4a4,'mutations':_0x5a7a71};});this[_0x4c61e2(0x2a9)](),this[_0x4c61e2(0x490)](this[_0x4c61e2(0x292)][_0x4c61e2(0x3e3)](_0x504e03)),this['_unlockTransition']();}['_toggleOffline'](){var _0x32b757=_0xccc328;this[_0x32b757(0x2a9)](),this[_0x32b757(0x490)](this[_0x32b757(0x292)]['toggleOffline']()),this['_unlockTransition']();}[_0xccc328(0x434)](_0x24dd09=!0x1){var _0x2353b0=_0xccc328;this[_0x2353b0(0x2a9)](),this[_0x2353b0(0x490)](this[_0x2353b0(0x292)][_0x2353b0(0x461)]()),this[_0x2353b0(0x407)]();const _0x1ca362=this['_state'];_0x24dd09&&_0x1ca362 instanceof Ne&&(this[_0x2353b0(0x2a9)](),this[_0x2353b0(0x490)](_0x1ca362[_0x2353b0(0x1ca)]()),this[_0x2353b0(0x407)]());}async[_0xccc328(0x2ff)](){return new Promise(_0x1cb954=>{var _0xb962c7=_0x4dde;this[_0xb962c7(0x350)]['sessionStatus$']['pipe'](_0x18c6bc(0x1))['subscribe'](async _0x11a16d=>{var _0x5e4653=_0xb962c7;_0x1cb954(await this[_0x5e4653(0x2e3)](_0x11a16d===Ee[_0x5e4653(0x38b)]));});});}[_0xccc328(0x27e)](){var _0x1e73b5=_0xccc328;const _0x1b068f=this[_0x1e73b5(0x45c)];return{'onStateChange':(_0x5c1d4a,_0x216bc3)=>{var _0x1badf2=_0x1e73b5;if(_0x5c1d4a!==this[_0x1badf2(0x292)])throw new Error(_0x1badf2(0x1e7)+_0x5c1d4a[_0x1badf2(0x449)]+_0x1badf2(0x392)+_0x216bc3[_0x1badf2(0x449)]+_0x1badf2(0x3d9)+this[_0x1badf2(0x292)][_0x1badf2(0x449)]);this['_updateState'](_0x216bc3);},'onSendChangeset':_0x58219c=>{var _0x505ec3=_0x1e73b5;_0x58219c[_0x505ec3(0x229)]||(_0x58219c[_0x505ec3(0x229)]=this[_0x505ec3(0x3d4)],_0x58219c['reqId']=++this['_changesetReqId']);const _0x37dbf1={'eventID':_0x4c124f[_0x505ec3(0x1c8)],'data':{'unitID':_0x58219c[_0x505ec3(0x45c)],'unitType':this[_0x505ec3(0x2cb)],'changeset':_0x58219c,'memberID':this[_0x505ec3(0x350)]['getMemberID']()}};this[_0x505ec3(0x350)][_0x505ec3(0x467)](_0x37dbf1,this['unitID']);},'onMissingChangesets':({from:_0x5ad2fd,to:_0x11d516})=>{var _0x2cdb2a=_0x1e73b5;this[_0x2cdb2a(0x242)][_0x2cdb2a(0x353)]('[CollaborationEntity]',_0x2cdb2a(0x1d0)+_0x5ad2fd+_0x2cdb2a(0x2ce)+_0x11d516);const _0x5728b6={'eventID':_0x4c124f[_0x2cdb2a(0x44d)],'data':{'unitID':_0x1b068f,'unitType':this['_type'],'from':_0x5ad2fd,'to':_0x11d516}};this[_0x2cdb2a(0x350)][_0x2cdb2a(0x467)](_0x5728b6,this[_0x2cdb2a(0x45c)]);}};}async['_createInitialStateImpl'](_0x5712e9){var _0xdc43fb=_0xccc328,_0x3075fa,_0x2c5c33,_0x449562;const _0x262ab8=await((_0x3075fa=this[_0xdc43fb(0x3f3)])==null?void 0x0:_0x3075fa[_0xdc43fb(0x1d4)](this[_0xdc43fb(0x45c)])),_0x293145=(_0x2c5c33=_0x262ab8==null?void 0x0:_0x262ab8[_0xdc43fb(0x232)])!=null?_0x2c5c33:[],_0x10520d=(_0x449562=_0x262ab8==null?void 0x0:_0x262ab8['awaitingChangeset'])!=null?_0x449562:null,_0x2851fc=!!(_0x10520d!=null&&_0x10520d[_0xdc43fb(0x229)])&&!!(_0x10520d!=null&&_0x10520d[_0xdc43fb(0x1a4)]);this[_0xdc43fb(0x3d4)]=_0x2851fc?_0x10520d['sid']:Zn(),this[_0xdc43fb(0x254)]=_0x2851fc?_0x10520d[_0xdc43fb(0x1a4)]:0x0;const _0x282f78=this[_0xdc43fb(0x45c)];try{this[_0xdc43fb(0x1be)](_0x10520d,_0x293145);}catch(_0x4c8d3e){this[_0xdc43fb(0x242)][_0xdc43fb(0x4ae)](_0x4c8d3e);}const _0x4c8e1d=this[_0xdc43fb(0x27e)]();if(_0x5712e9){const _0x13df45=yi(this['_injector'],_0x282f78,this[_0xdc43fb(0x2cb)],_0x10520d,_0x293145,_0x4c8e1d);return _0x13df45 instanceof ae?_0x13df45[_0xdc43fb(0x405)]():(_0x13df45 instanceof oe||_0x13df45 instanceof le)&&_0x13df45['resend'](),_0x13df45;}return this[_0xdc43fb(0x426)][_0xdc43fb(0x3b2)](de,_0x282f78,this[_0xdc43fb(0x2cb)],_0x10520d,_0x293145,_0x4c8e1d);}[_0xccc328(0x1be)](_0x215077,_0x12a055){var _0x5b1c11=_0xccc328,_0x2210c1,_0x4a8811;const _0x94d5d7=this['_compressMutationService'][_0x5b1c11(0x340)][_0x5b1c11(0x347)](this['_compressMutationService'][_0x5b1c11(0x340)][_0x5b1c11(0x306)]()[_0x5b1c11(0x218)]);(_0x2210c1=_0x94d5d7((_0x215077==null?void 0x0:_0x215077['mutations'])||[],null))==null||_0x2210c1[_0x5b1c11(0x412)](_0x11abdf=>this[_0x5b1c11(0x2fd)]['executeCommand'](_0x11abdf['id'],_0x11abdf[_0x5b1c11(0x47f)])),(_0x4a8811=_0x94d5d7(_0x12a055||[],null))==null||_0x4a8811['forEach'](_0x240db6=>this[_0x5b1c11(0x2fd)][_0x5b1c11(0x1fe)](_0x240db6['id'],_0x240db6[_0x5b1c11(0x47f)]));}};nt=Lt([H(0x3,_0x42d086(_0x213b7b)),H(0x4,_0x42d086(_0x3c3615)),H(0x5,_0x42d086(_0xc4f59a)),H(0x6,_0x42d086(_0x4638b1)),H(0x7,_0x42d086(pe)),H(0x8,_0x48685b),H(0x9,_0x37fa3a),H(0xa,_0x3f7473),H(0xb,_0x4a4437(ht)),H(0xc,_0x4a4437(J))],nt);let It=class extends nt{constructor(_0x53e3e2,_0x442057,_0x451ad5,_0x219a74,_0x4e568f,_0x3e54d1,_0x14ec91,_0x4e0398,_0x24e329,_0x2ebd04,_0x390cbf,_0x38d4f5,_0x59e43a){var _0x5537ec=_0xccc328;super(_0x53e3e2,_0x451ad5,_0x442057,_0x219a74,_0x4e568f,_0x3e54d1,_0x14ec91,_0x4e0398,_0x24e329,_0x2ebd04,_0x390cbf,_0x38d4f5,_0x59e43a),N(this,_0x5537ec(0x314),null),(this[_0x5537ec(0x45c)]=_0x53e3e2,this[_0x5537ec(0x2a5)]=_0x442057);}[_0xccc328(0x219)](_0x3429f4){var _0x36d2cc=_0xccc328;this[_0x36d2cc(0x314)]=_0x3429f4;}[_0xccc328(0x4a5)](){var _0x1fd57c=_0xccc328;this[_0x1fd57c(0x314)]=null,super[_0x1fd57c(0x4a5)]();}['_createHandler'](){var _0x93d7a=_0xccc328;const _0x3493c4=super[_0x93d7a(0x27e)]();return _0x3493c4[_0x93d7a(0x2d9)]=_0x4f8e53=>{var _0x599b1d=_0x93d7a,_0x556ab7,_0x7f55c7;return(_0x7f55c7=(_0x556ab7=this[_0x599b1d(0x314)])==null?void 0x0:_0x556ab7[_0x599b1d(0x2d9)])==null?void 0x0:_0x7f55c7['call'](_0x556ab7,_0x4f8e53);},_0x3493c4[_0x93d7a(0x49d)]=_0x44e94b=>{var _0x1b0b4b=_0x93d7a,_0xbc334e,_0x4bb05f;return(_0x4bb05f=(_0xbc334e=this[_0x1b0b4b(0x314)])==null?void 0x0:_0xbc334e[_0x1b0b4b(0x49d)])==null?void 0x0:_0x4bb05f[_0x1b0b4b(0x3cc)](_0xbc334e,_0x44e94b);},_0x3493c4[_0x93d7a(0x2d0)]=_0x4ac3e9=>{var _0x4f9a4d=_0x93d7a,_0x22f69b,_0x3b7cf8;return(_0x3b7cf8=(_0x22f69b=this[_0x4f9a4d(0x314)])==null?void 0x0:_0x22f69b[_0x4f9a4d(0x2d0)])==null?void 0x0:_0x3b7cf8[_0x4f9a4d(0x3cc)](_0x22f69b,_0x4ac3e9);},_0x3493c4[_0x93d7a(0x2d3)]=_0x240ea7=>{var _0x35c6a6=_0x93d7a,_0x5d8047,_0x553dd3;return(_0x553dd3=(_0x5d8047=this[_0x35c6a6(0x314)])==null?void 0x0:_0x5d8047[_0x35c6a6(0x2d3)])==null?void 0x0:_0x553dd3[_0x35c6a6(0x3cc)](_0x5d8047,_0x240ea7);},_0x3493c4[_0x93d7a(0x3ae)]=_0x36a336=>{var _0x4beeff=_0x93d7a,_0x564aed,_0x4edfaa,_0x493042;if(!((_0x564aed=this['_handlerCallback'])!=null&&_0x564aed[_0x4beeff(0x3ae)]))throw new Error(_0x4beeff(0x45a));return(_0x493042=(_0x4edfaa=this[_0x4beeff(0x314)])==null?void 0x0:_0x4edfaa[_0x4beeff(0x3ae)])==null?void 0x0:_0x493042['call'](_0x4edfaa,_0x36a336);},_0x3493c4[_0x93d7a(0x244)]=_0x7dea9=>{var _0xf13d26=_0x93d7a,_0x1099db,_0x153b83,_0x5f311f;if(!((_0x1099db=this[_0xf13d26(0x314)])!=null&&_0x1099db[_0xf13d26(0x244)]))throw new Error(_0xf13d26(0x36c));return(_0x5f311f=(_0x153b83=this[_0xf13d26(0x314)])==null?void 0x0:_0x153b83[_0xf13d26(0x244)])==null?void 0x0:_0x5f311f[_0xf13d26(0x3cc)](_0x153b83,_0x7dea9);},_0x3493c4;}async[_0xccc328(0x435)](){var _0x321bad=_0xccc328;const _0x341104=await super[_0x321bad(0x435)]();return this[_0x321bad(0x2c9)](this[_0x321bad(0x2fd)][_0x321bad(0x47a)]((_0x49aeed,_0x4d7aa8)=>{var _0x4e3520=_0x321bad;if(_0x49aeed['type']!==_0x5535af[_0x4e3520(0x474)]||_0x4d7aa8!=null&&_0x4d7aa8[_0x4e3520(0x1e2)]||_0x4d7aa8!=null&&_0x4d7aa8[_0x4e3520(0x211)]||_0x49aeed['id']===_0x3b3371['id'])return;const _0x4f6a66=_0x49aeed['params'];if((_0x4f6a66==null?void 0x0:_0x4f6a66[_0x4e3520(0x2a6)])!==this['unitID'])return;const _0x150d27=_0x49aeed,_0xe41114=this[_0x4e3520(0x1e8)][_0x4e3520(0x340)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x150d27],null)||[_0x150d27];this[_0x4e3520(0x236)](_0xe41114[0x0]);})),_0x341104;}};It=Lt([H(0x3,_0x42d086(_0x213b7b)),H(0x4,_0x42d086(_0x3c3615)),H(0x5,_0x42d086(_0xc4f59a)),H(0x6,_0x42d086(_0x4638b1)),H(0x7,_0x42d086(pe)),H(0x8,_0x48685b),H(0x9,_0x37fa3a),H(0xa,_0x3f7473),H(0xb,_0x4a4437(ht)),H(0xc,_0x4a4437(J))],It);let Tt=class extends nt{constructor(_0x2f005d,_0x25e6a5,_0x49b961,_0x234541,_0x4a7d08,_0x15c4a4,_0x369bc8,_0x4b5136,_0x5e7eac,_0x1aa6a5,_0x4958ab,_0x8aaf3e,_0x41c7ce,_0x1271ed){var _0xc91d30=_0xccc328;super(_0x2f005d,_0x49b961,_0x25e6a5,_0x234541,_0x4a7d08,_0x15c4a4,_0x369bc8,_0x5e7eac,_0x1aa6a5,_0x4958ab,_0x8aaf3e,_0x41c7ce,_0x1271ed),this[_0xc91d30(0x45c)]=_0x2f005d,this[_0xc91d30(0x2a5)]=_0x25e6a5,this[_0xc91d30(0x44f)]=_0x4b5136;}[_0xccc328(0x27e)](){var _0xf4a948=_0xccc328;const _0x459397=super[_0xf4a948(0x27e)]();return _0x459397['onTransformSelections']=_0x5f6703=>this[_0xf4a948(0x44f)][_0xf4a948(0x35e)](_0x5f6703),_0x459397;}async[_0xccc328(0x435)](){var _0x51bdc7=_0xccc328;const _0x12b5ad=await super['_init']();return this[_0x51bdc7(0x2c9)](this[_0x51bdc7(0x2fd)][_0x51bdc7(0x47a)]((_0x3e2116,_0x456efc)=>{var _0xa541e5=_0x51bdc7;if(_0x3e2116['type']!==_0x5535af[_0xa541e5(0x474)]||_0x456efc!=null&&_0x456efc[_0xa541e5(0x1e2)]||_0x456efc!=null&&_0x456efc[_0xa541e5(0x211)])return;const _0x48ecc4=_0x3e2116[_0xa541e5(0x47f)];if((_0x48ecc4==null?void 0x0:_0x48ecc4[_0xa541e5(0x2a6)])!==this[_0xa541e5(0x45c)])return;const _0x4bae4d=_0x3e2116,_0xff5aa8=this[_0xa541e5(0x1e8)][_0xa541e5(0x340)]['fetchThroughInterceptors'](this[_0xa541e5(0x1e8)]['interceptor'][_0xa541e5(0x306)]()['COMPRESS_MUTATION_SEND'])([_0x4bae4d],null)||[_0x4bae4d];this[_0xa541e5(0x236)](_0xff5aa8[0x0]);})),_0x12b5ad;}};Tt=Lt([H(0x3,_0x42d086(_0x213b7b)),H(0x4,_0x42d086(_0x3c3615)),H(0x5,_0x42d086(_0xc4f59a)),H(0x6,_0x42d086(_0x4638b1)),H(0x7,_0x42d086(it)),H(0x8,_0x42d086(pe)),H(0x9,_0x48685b),H(0xa,_0x37fa3a),H(0xb,_0x3f7473),H(0xc,_0x4a4437(ht)),H(0xd,_0x4a4437(J))],Tt);var os=Object[_0xccc328(0x2bf)],cs=(_0x4b5387,_0x419a7f,_0x48352d,_0x1e4318)=>{var _0x5771f4=_0xccc328;for(var _0x34e854=_0x1e4318>0x1?void 0x0:_0x1e4318?os(_0x419a7f,_0x48352d):_0x419a7f,_0xa3d540=_0x4b5387[_0x5771f4(0x489)]-0x1,_0x276bd4;_0xa3d540>=0x0;_0xa3d540--)(_0x276bd4=_0x4b5387[_0xa3d540])&&(_0x34e854=_0x276bd4(_0x34e854)||_0x34e854);return _0x34e854;},ft=(_0x5ed2c1,_0x2fe1e8)=>(_0x2f957b,_0x2ddd5c)=>_0x2fe1e8(_0x2f957b,_0x2ddd5c,_0x5ed2c1);let st=class extends _0x694488{constructor(_0x2dacda,_0x57a434,_0x1cc371){var _0x38dea4=_0xccc328;super(),N(this,_0x38dea4(0x316),new Map()),N(this,_0x38dea4(0x3ea),new _0x364bef()),N(this,_0x38dea4(0x2be),this[_0x38dea4(0x3ea)][_0x38dea4(0x366)]()),(this[_0x38dea4(0x426)]=_0x2dacda,this[_0x38dea4(0x1f2)]=_0x57a434,this[_0x38dea4(0x3a9)]=_0x1cc371,this[_0x38dea4(0x435)]());}[_0xccc328(0x4a5)](){var _0x28739e=_0xccc328;super[_0x28739e(0x4a5)](),this['_entities'][_0x28739e(0x412)](_0x545cd6=>_0x545cd6[_0x28739e(0x4a5)]()),this[_0x28739e(0x316)][_0x28739e(0x2b7)]();}[_0xccc328(0x3b9)](_0xd3a136){var _0x2a0a55;return(_0x2a0a55=this['_entities']['get'](_0xd3a136))!=null?_0x2a0a55:null;}[_0xccc328(0x27b)](_0x3efb76){var _0x1b98e7=_0xccc328;const _0x1f674f=this['getCollabEntity'](_0x3efb76);return _0x1f674f?_0x194398(_0x1f674f):this[_0x1b98e7(0x3ea)]['pipe'](_0x217dd3(_0x44947c=>_0x44947c[_0x1b98e7(0x45c)]===_0x3efb76));}['readyForCollab'](_0x2957b8){var _0x25f052=_0xccc328;return _0x18279d(this[_0x25f052(0x27b)](_0x2957b8)[_0x25f052(0x2fc)](_0x422352(()=>{})));}[_0xccc328(0x435)](){var _0x1cdc18=_0xccc328;this['_univerInstanceService'][_0x1cdc18(0x299)](_0x2a060b[_0x1cdc18(0x2db)])[_0x1cdc18(0x2fc)](_0x246e32(this[_0x1cdc18(0x22b)]),_0x334f06(0x10))[_0x1cdc18(0x2d7)](async _0x524862=>{var _0x311f84=_0x1cdc18;const _0x1a2bd8=_0x524862[_0x311f84(0x1de)](),_0x209261=await this[_0x311f84(0x331)](_0x1a2bd8,Q[_0x311f84(0x2db)]);this['_entities']['set'](_0x1a2bd8,_0x209261);}),this[_0x1cdc18(0x3a9)][_0x1cdc18(0x299)](_0x2a060b['UNIVER_DOC'])['pipe'](_0x246e32(this[_0x1cdc18(0x22b)]),_0x334f06(0x10))[_0x1cdc18(0x2fc)](_0x217dd3(_0x3e2492=>!_0x3e2492[_0x1cdc18(0x1de)]()[_0x1cdc18(0x1b4)]('__')))['subscribe'](async _0x4b8235=>{var _0x17259a=_0x1cdc18;const _0x4596f6=_0x4b8235[_0x17259a(0x1de)](),_0x5dc483=await this['_startCollaboration'](_0x4596f6,Q[_0x17259a(0x4a4)]);this['_entities'][_0x17259a(0x382)](_0x4596f6,_0x5dc483);}),_0x40c80f(this[_0x1cdc18(0x3a9)][_0x1cdc18(0x27c)](_0x2a060b[_0x1cdc18(0x2db)]),this[_0x1cdc18(0x3a9)][_0x1cdc18(0x27c)](_0x2a060b['UNIVER_DOC']))['pipe'](_0x246e32(this[_0x1cdc18(0x22b)]))[_0x1cdc18(0x2d7)](_0x139929=>{var _0xccbc0a=_0x1cdc18;const _0x3f1cb7=_0x139929[_0xccbc0a(0x1de)](),_0x384665=this[_0xccbc0a(0x316)][_0xccbc0a(0x40e)](_0x3f1cb7);_0x384665&&(_0x384665[_0xccbc0a(0x4a5)](),this[_0xccbc0a(0x316)][_0xccbc0a(0x1b9)](_0x3f1cb7));});}async[_0xccc328(0x331)](_0x21da76,_0x8d72b4){var _0x38b54d=_0xccc328;const _0x237250=await this['_collabSessionService'][_0x38b54d(0x1b3)](_0x21da76),_0x74359a=this[_0x38b54d(0x426)][_0x38b54d(0x3b2)](this[_0x38b54d(0x45f)](_0x8d72b4),_0x21da76,_0x8d72b4,_0x237250);return await _0x74359a[_0x38b54d(0x371)](),this[_0x38b54d(0x3ea)][_0x38b54d(0x419)](_0x74359a),_0x74359a;}[_0xccc328(0x45f)](_0x2387fd){var _0x1c55a5=_0xccc328;switch(_0x2387fd){case Q[_0x1c55a5(0x4a4)]:return It;case Q[_0x1c55a5(0x2db)]:return Tt;default:throw new Error(_0x1c55a5(0x220)+_0x2387fd);}}};st=cs([ft(0x0,_0x42d086(_0x213b7b)),ft(0x1,_0x42d086(xe)),ft(0x2,_0xca8903)],st);var hs=Object[_0xccc328(0x2bf)],_s=(_0x372efa,_0x51b502,_0x5a5d34,_0x4b6612)=>{for(var _0x340f8b=_0x4b6612>0x1?void 0x0:_0x4b6612?hs(_0x51b502,_0x5a5d34):_0x51b502,_0x57a19d=_0x372efa['length']-0x1,_0x479d0e;_0x57a19d>=0x0;_0x57a19d--)(_0x479d0e=_0x372efa[_0x57a19d])&&(_0x340f8b=_0x479d0e(_0x340f8b)||_0x340f8b);return _0x340f8b;},zt=(_0xb5fd3,_0x1983d5)=>(_0x3a948d,_0x44fbde)=>_0x1983d5(_0x3a948d,_0x44fbde,_0xb5fd3);const ls=_0xccc328(0x39f),us=_0xccc328(0x43b);let Ct=class extends _0x1e04d8{constructor(_0x40febd,_0x5dbf76){var _0x2ecdf5=_0xccc328;super(),this[_0x2ecdf5(0x3a9)]=_0x40febd,this['_configService']=_0x5dbf76,this[_0x2ecdf5(0x435)]();}[_0xccc328(0x435)](){var _0x58d720=_0xccc328;this[_0x58d720(0x2c9)](this[_0x58d720(0x3a9)][_0x58d720(0x38a)][_0x58d720(0x2d7)](()=>{var _0x52fd6d=_0x58d720,_0x452063;const _0x49475f=this[_0x52fd6d(0x3a9)][_0x52fd6d(0x3d7)]();let _0x1c8a0c=(_0x452063=this['_configService']['getConfig'](ls))!=null?_0x452063:us;_0x49475f instanceof _0x124d6b&&(_0x1c8a0c=_0x49475f[_0x52fd6d(0x465)]),document['title']=_0x1c8a0c;}));}};Ct=_s([zt(0x0,_0xca8903),zt(0x1,_0x32d0f8)],Ct);function _0x58f5(){var _0x569f1f=['_members$','subscribe','session.join-failed','onTransformIME','hasher','UNIVER_SHEET','charCodeAt','readAsDataURL','_collaborationPaused','getUnitOnRev','file','_iv','/universer-api/authz','_createInitialStateImpl','_networkConditionService','_socketReady','/collaborator','/universer-api/snapshot/','_loadSheet','LEAVE','getRandomValues','CipherParams','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COLLAB_WEB_SOCKET_URL','APPLY_NON_SEQUENTIAL_REVISION','PSEUDO_FETCH_MISSING_RESULT','_state$','LOGIN_FAILED','_snapshotServerService','UNKNOWN_CMD','_submitChangeset','_fetchMissChangesets','mixIn','HEARTBEAT_INTERVAL','JOIN','rng','Undefined','_onJoinRoomEvent','pipe','_commandService','awaiting_with_pending','_createInitialState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subUnitId','hostname','generateRandomId','getResourcesRequest','528411cdmhkv','getInterceptPoints','_transformStateCache','image/gif','PERMISSION_REJ','removeMember','close','changesets','PERSON','_throwTelemetryCollaborationNewChangeset','LIVESHARE_NEW_HOST','decryptBlock','_exhaustRemoteChangesetQueue','HmacSHA1','find','_handlerCallback','_getSignURL','_entities','_showConflictNotification','resend','updateMember','deepClone','saveImage','RETRY_CONNECTING_MAX_COUNT','offline','padding','SNAPSHOT_URL_KEY','sessionStatus$','compose','_registerDependencies','LIVESHARE_OPERATION','appendMutation','objectID','APPLY_PERMISSION_DENIED','_emitMembers','_listenToNetworkCondition','_initUnitPermissionChange','event$','/object/','NO_OTHER_CLIENTS_EDITING','status$','UPDATE_CURSOR','SOCKET_FAILED','UNIVER_PROJECT','_startCollaboration','_transformIMECache','_status$','UNKNOWN_CODE','loadDoc','shouldCloseConn','transformChangesets','UNRECOGNIZED','session.room-cnt-exceeds','infoRsp','[DataLoaderService]','_clearUndo','SerializableCipher','cmd','concat','interceptor','INGEST','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','&to=','LICENSE_IMPORT_SIZE_EXCEEDED','_resendTimer','/universer-api/oidc/authpage','fetchThroughInterceptors','getUnitType','COMPLETION_FINISHED','_imageSourceCache','create','lib','originalMeta','/block/','url','session','_memberService','apply','debug','error$','copyFileMeta','buffer','update','updatePermissionPoint','charAt','exports','_initRequestHeader','_onUserLeave','WordArray','transformSelections','textRanges','_onRemoteACK','ERROR_IMAGE_TYPE','subject','onRemoteRej','getDeserializedSheetBlock','/allowed','asObservable','editing\x20status\x20changed\x20to','createEncryptor','defineProperty','signUrlServerUrl','getImage','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','randomUUID','JOIN_ROOM_NOT_EXISTS','EvpKDF','UserProfileImg','init','AUTHZ_URL_KEY','_resendTimeout','_telemetryInfo','closeSession','/universer-api/snapshot','INTERNAL_ERROR','collaboratorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_event$','APPLY_REVISION_CONFILICT','_reverseMap','synced','GLOBAL_ROOMS_CNT_EXCEEDS','_transformSelections','max','ERROR_IMAGE','set','_keyPriorReset','conflict','_cipher','reject','_userManagerService','CONNECTOR_DATA_TOO_LARGE','encrypt','focused$','ONLINE','getConfig','SNAPSHOT_SERVER_URL_KEY','cfg','collaborators','collabWebSocketUrl','liveShareOperation','\x0aAfter:\x20','_acknowledgedAwaitingChangeset','_change$','[OfflineState]:\x20received\x20rejection.','_mode','LIVESHARE_REQUEST_HOST','leaveEvent','/role','sendChangesetTimeout','_joinRoom','sheets','replace','sessionStatus','DEFAULT_FILE_NAME','COMMENT_UPDATE','byteOffset','JOINING','_remoteChangesetQueue','SHOULD_CLOSE_CONN','HttpExport','FAIL','_doProcessBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_univerInstanceService','commentUpdate$','\x20in\x20_schedule.','_incrementRevisionNumber','requestParams','onTransformRemoteChangesetByIMECache','MOBILE_HAS_BEEN_BOUND','authzUrl','APPLY_REJECT','createInstance','PasswordBasedCipher','_startTelemetryCollaborationNewChangeset','updateCursorEvent','reverse','_onCombEvent','univer-pro.collaboration-client-socket-service','getCollabEntity','YUUMI_UNABLE_LOAD_URL','reconnect','_snapshotService','roomInfos','_socketMessageSubscription','repeat','isPermissionRej','downloadEndpointUrl','_onRemoteRetry','__creator','selections','_substituteRedoStack','online$','connection\x20error','AES','_ENC_XFORM_MODE','_socket$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','call','words','_roomCreated$','method','indexOf','Failed\x20to\x20update\x20permission\x20point','OTHER_CLIENT_EDITING','code','_changesetSessionId','OFFLINE','SUCCUSS','getFocusedUnit','snapshotServerUrl','\x0aCurrent:\x20','clone','AWAITING_WITH_PENDING','reset','patch','_transformRemoteChangesetByIMECache','Hasher','image/jpg','unpad','socket$','onMissedChangesetFetched','enableAuthServer','message$','[CollaborationSessionService]:\x20socket\x20error','readInt32LE','awaiting','[OfflineState]:\x20received\x20changeset.','_entityInit$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parse','StreamCipher','_httpService','Encryptor','state','_keySchedule','_retryConnectingTimer','_localCacheService','eventID','members$','routeKey','ENSURE_SNAPSHOT_EXECUTION','pluginName','_createSocket','1074aaImkP','_revisionService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getUnit','editingUnit','pending','_onConnectionFailed','post','map','_schedule','string','_unlockTransition','duration','getAllMembers','floor','/universer-api/uniscript','deleteCollaborator','4257792koSlDd','get','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cipher','_xformMode','forEach','LIVESHARE_TERMINATE','stopTime','_createHelper','withCredentials','EMAIL_HAS_BEEN_BOUND','socket\x20close','next','SHA1','setShowComponents','APPLY_DUPLICATED','now','ciphertext','not_collab','key','MSG_FOR_ERROR','_sessionStatus$','pad','awaitingChangeset','_decreaseWaiting','_injector','equals','_unitID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_disableEditing','default','_sendingTimer','_sender','open$','ALREADY_EXISTS','uploadFileServerUrl','getValue','getMember','UUID','_toggleOnline','_init','hasOwnProperty','OpenSSL','Pkcs7','collaboration-client.local-cache-service','data','Univer','_sendHeartbeat','memberID','_syncEditingCollabCursor','put','list','createDecryptor','CHANGESET_REJ','_prevBlock','batchAllowed','from','_candidateSocket','toString','unit-cache-','status','Base','[CollaborationState]:\x20apply\x20error!','ceil','FETCH_MISSING','TOO_MANY_REQUESTS','_sheetTransformSelectionsService','AWAITING','liveShareNewHost','pauseCollaboration','joinEvent','_awaitingChangeset','_getLoginPath','_waitCount','_nRounds','/-/object/list','_transitionLocked','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','toggleOffline','unitID','objectType','target','_getCtorByUniverType','emitEvent','toggleOnline','isArray','range','initWorkbookPermissionChange','name','IDLE','send','updateCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','slice','_map','crypto','setCurrentUser','extend','JOIN_ROOM_PERMISSION_DENIED','size','_clearRedo','OTHER_CLIENTS_EDITING','random','MUTATION','JOIN_ROOM_FULL','_resendWithTimeout','saveChangeset','loginUrlKey','localCacheService','onCommandExecuted','onRemoteAck','collaboration-client.config','UnitEmbedded','FETCH_MISS','params','_getUploadFileURL','socketService','INVALID_ARGUMENT','_removeRoom','_commentUpdate$','280784MsKgNw','CHANGESET_REVISION_CONFILICT','UNIVER_SLIDE','_onOffline','length','/rev/','commentUpdateEvent','objectActions','randomBytes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Base64','_updateState','OPTIONAL','_createHmacHelper','[UniverCollaborationClientPlugin]','_key','_getRedoStack','_onRecvEvent','BASE64','listRoles','[CollaborationSessionService]','/-/object/-/batch_allowed','salt','_collaborationSessionService','onTransformState','_onFetchMissResult','_initDependencies','sigBytes','fromCharCode','_substituteUndoStack','_scheduleCollaborationTimeoutTimer','UNIVER_DOC','dispose','reduce','_queuedRemoteChangesets','submit\x20changeset\x20error!','[OfflineState]:\x20received\x20acknowledgement.','_handler','UPDATE_PERMISSION_OBJ','HEARTBEAT','HmacMD5','error','CLOSE_ROOM','_iKey','reqId','body','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','addImageSourceCache','resolve','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HELLO','_data','getCurrentSelections','SOCKET_FAILED_RETRY','_eventService','CONFLICT','HMAC','responseType','setConfig','requireSession','startsWith','_tryReconnect','_transformUndoredo','refreshPermission','Utf8','delete','SYNCED','POST','findIndex','PENDING','_replayCachedMutations','_replaceFileID','/object','\x20-\x20','_getDownloadEndpointURL','_commentService','_doReset','updateOfflineData','_localeService','blockSize','SUBMIT_CHANGESET','_onConflict','fetchMiss','_pendingMutations','_executeRemoteChangeset','_unitInfo$','incrementRevOfUnit','_nDataBytes','fetching\x20missing\x20changesets\x20from\x20','_singleActiveUnitService','_getCurrentRevision','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','_getAPIPrefixPath','_applyRemoteChangeset','close$','onSendChangeset','HttpImport','csShouldRetryEvent','capture','_rescheduleHeartbeat','_updateStatus','getUnitId','&assign=','SUBMIT_CHANGESET_TIMEOUT','entries','fromCollab','INVITE_CODE_REQUIRED','registerHTTPInterceptor','_checkMissing','splice','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_compressMutationService','localeService','_redoStacks','clamp','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_shouldReportTelemetry','_permissionService','_loadDoc','[CollaborationSession]','_doCryptBlock','_collabSessionService','_getUndoStack','encryptBlock','bind','_members','_clearHeartbeatTimer','newCsEvent','_initCloseConn','?size=','unknown','image/jpeg','YUUMI_RATE_OVER_LIMIT','executeCommand','_transformStack','_sessions','_socketService','CHANGESET_ACK','BlockCipher','join','_hash','_timeoutTimer','_socket','onCommentUpdate','2076606XBvIFI','16SGGNTy','_configService','has','_append','href','failed\x20to\x20apply\x20missed\x20changesets!','BufferedBlockAlgorithm','onlyLocal','/new_changes','[SyncedState]:\x20received\x20rejection.','workbook','[PendingState]:\x20unhandled\x20univer\x20type:\x20','algo','INVITE_CODE_HAS_BEEN_UES','COMPRESS_MUTATION_APPLY','addHandlerCallback','_config','WECHAT_HAS_BEEN_BOUND','_undoRedoService','UnitSnapshot','action','setWaitCount','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toLowerCase','uniscriptRunEvent','_roomMembers','_stopTelemetryCollaborationNewChangeset','every','People','$super','sid','_toggleOffline','dispose$','onMissingChangesets','_collaborationUIEventService','/universer-api/user/session-ticket','members','USERS_LEAVE','_sendHeartbeatTimer','mutations','MD5','enableSingleActiveInstanceLock','NOT_FOUND','_onLocalMutation','_oKey','unsubscribe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNDEFINED','function','20041HUKoZJ','onRemoteRetry','_isPermissionRej','finalize','_initMergeInterceptor','prototype','_logService','userID','onTransformRemoteChangesetByStateCache','saveSnapshot','NoPadding','?url=','_onMessage','_process','JOIN_ROOM_FAILED','[CollaborationUndoRedoService]','headers','location','getImageSourceCache','unitInfo$','collaMsg','abs','_clearTimeoutTimer','Latin1','_changesetReqId','_retryCount','FileId','state$','NOT_COLLAB','_clearRetryConnectingTimer','permissionRejEvent','INVALID_INVITE_CODE','_getAPIPrefix','loadSheet','complete','CHANGESET_SHOULD_RETRY','YUUMI_URL_COL_OUT_OF_RANGE','{fileID}','_hasher','UNISCRIPT_RUN','execute','getTime','NEW_CHANGESETS','YUUMI_SUBSCRIPTION_NOT_FOUND','_onRemoteRejected','UNAUTHENTICATED','encode','push','kdf','getCurrentUser','unitId\x20is\x20not\x20found','updatePermissionObjEvent','SNAPSHOT_HAS_BEEN_REMOVED','481405wrKHFT','RECV','joinRsp','PERMISSION_DENIED','resourceIDs','getWorkbookSelections','ERROR_EXCEED_SIZE','BlockCipherMode','/unit/','_clearLocalCache','getCollabEntity$','getTypeOfUnitDisposed$','processBlock','_createHandler','c1Prime','stringify','src','onRemoteChangeset','_onRemoteChangeset','/fetchmissing?from=','USER_NOT_INVITED_CODE','_onConnectionOpen','_HTTPService','values','format','_transformRemoteChangesetByStateCache','UNIVER_UNKNOWN','getMemberID','[FetchMissState]','byteLength','m2Prime','_collaborationTimeoutTimer','getUnitStatus$','_state','_clearCollaborationTimeoutTimer','_tryEnsureSocket','c2Prime','x-univer-host','_waitForHeartbeatResponse','getSheetBlock','getTypeOfUnitAdded$','/universer-api/comb','LIVESHARE_FETCH_OPERATIONS','LOCAL_CACHE_INTERVAL','result','/universer-api/file/{fileID}/sign-url','getCurrentRevOfUnit','PY_RUNTIME_SCRIPT_ERROR','socket\x20open.','session.room-full','csAckEvent','transformMutationsWithChangeset','type','unitId','CBC','ivSize','_lockTransition','rev','_doFinalize','Could\x20not\x20dynamically\x20require\x20\x22','actions','COLLAB_SUBMIT_CHANGESET_URL','SNAPSHOT_INVALID_SNAPSHOT','baseRev','_onUserJoin','add','YUUMI_NO_CUBOID_FOR_QUESTION','fetch_missing','enc','/resources','clear','mode','keySize','getActiveSheet','_telemetryService','16468776geVXOa','revision','entityInit$','getOwnPropertyDescriptor','getSheetId','_clearScheduledTask','msCrypto','_scheduleCompleteTimestamp','putCollaborators','getRoom','filter','createSocket','LICENSE_DISTRO_REJECTED','disposeWithMe','_transformService','_type','decrypt','LICENSE_MAX_UNITS_EXCEEDED','\x20to\x20','_getSendChangesetTimeout','onTransformSelections','USERS_ENTER','[PendingState]:\x20received\x20rejection.','onSyncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','_updateLocalCache'];_0x58f5=function(){return _0x569f1f;};return _0x58f5();}var ds=Object[_0xccc328(0x2bf)],fs=(_0x1a5520,_0x238900,_0x383009,_0x1aa88d)=>{var _0x4de93e=_0xccc328;for(var _0x3a4c9e=_0x1aa88d>0x1?void 0x0:_0x1aa88d?ds(_0x238900,_0x383009):_0x238900,_0x48badc=_0x1a5520[_0x4de93e(0x489)]-0x1,_0x4bc81f;_0x48badc>=0x0;_0x48badc--)(_0x4bc81f=_0x1a5520[_0x48badc])&&(_0x3a4c9e=_0x4bc81f(_0x3a4c9e)||_0x3a4c9e);return _0x3a4c9e;},vt=(_0x10fe11,_0x3cdfdb)=>(_0x18ced3,_0x3cb751)=>_0x3cdfdb(_0x18ced3,_0x3cb751,_0x10fe11);let rt=class{constructor(_0x385a51,_0x1bfd8f,_0x516b4a){var _0x44c30b=_0xccc328;this[_0x44c30b(0x20b)]=_0x385a51,this[_0x44c30b(0x3ee)]=_0x1bfd8f,this[_0x44c30b(0x1e9)]=_0x516b4a,this['init']();}['init'](){var _0x5eb185=_0xccc328;this['_httpService'][_0x5eb185(0x1e4)]({'priority':0x1,'interceptor':(_0x3fb653,_0x1db831)=>_0x1db831(_0x3fb653)[_0x5eb185(0x2fc)](_0x29896c(async _0x2fc145=>{var _0x5a88a9=_0x5eb185;const _0x496ddf=_0x2fc145;if(_0x496ddf['status']===0x191){if(typeof window>'u')throw new Error(_0x5a88a9(0x3cb));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xa3e50c=window['encodeURIComponent'](window[_0x5a88a9(0x24d)]['href']);window[_0x5a88a9(0x24d)][_0x5a88a9(0x20e)]=this[_0x5a88a9(0x455)]()+_0x5a88a9(0x247)+_0xa3e50c;}}return _0x496ddf;}))});}['_getLoginPath'](){var _0x56a607=_0xccc328,_0x53f8fb,_0x17a693;const _0x515cde=this[_0x56a607(0x20b)]['getConfig'](Un),_0x1eb331=this[_0x56a607(0x20b)][_0x56a607(0x38c)](q);return(_0x17a693=(_0x53f8fb=_0x1eb331==null?void 0x0:_0x1eb331[_0x56a607(0x478)])!=null?_0x53f8fb:_0x515cde)!=null?_0x17a693:An;}};rt=fs([vt(0x0,_0x32d0f8),vt(0x1,_0x42d086(_0x44834c)),vt(0x2,_0x42d086(_0xc4f59a))],rt);var vs=Object[_0xccc328(0x2bf)],ps=(_0x161ca4,_0x16374f,_0x24cf55,_0x62a0be)=>{var _0xd6e2a4=_0xccc328;for(var _0x297fa0=_0x62a0be>0x1?void 0x0:_0x62a0be?vs(_0x16374f,_0x24cf55):_0x16374f,_0x5a572c=_0x161ca4[_0xd6e2a4(0x489)]-0x1,_0x29bc9f;_0x5a572c>=0x0;_0x5a572c--)(_0x29bc9f=_0x161ca4[_0x5a572c])&&(_0x297fa0=_0x29bc9f(_0x297fa0)||_0x297fa0);return _0x297fa0;},Jt=(_0x1d7427,_0x61a046)=>(_0xb7d4bb,_0x10f6b1)=>_0x61a046(_0xb7d4bb,_0x10f6b1,_0x1d7427);const Ni=_0xccc328(0x372),ms=_0xccc328(0x2e2);let Rt=class extends _0x1e04d8{constructor(_0x12a5a3,_0x3872a2){var _0x3fe61d=_0xccc328;super(),this[_0x3fe61d(0x287)]=_0x12a5a3,this[_0x3fe61d(0x20b)]=_0x3872a2,this[_0x3fe61d(0x240)]();}[_0xccc328(0x240)](){var _0x472ca3=_0xccc328;const _0x5af5c4=this;this[_0x472ca3(0x2c9)](this[_0x472ca3(0x287)][_0x472ca3(0x1e4)]({'priority':0x3e7,'interceptor':_0x46cb63({'isMatch'(_0x11ab39){var _0x23d567=_0x472ca3,_0x1d1dce;if(_0x11ab39[_0x23d567(0x3cf)]===_0x23d567(0x1bb)&&((_0x1d1dce=_0x11ab39[_0x23d567(0x3ad)])!=null&&_0x1d1dce['body'])){const {objectID:_0x1a94e1,objectType:_0x38a23f}=_0x11ab39[_0x23d567(0x3ad)]['body']||{};if(!_0x1a94e1||_0x38a23f===void 0x0)return!0x1;const _0x299f11=_0x5af5c4[_0x23d567(0x1d5)]()+'/'+_0x38a23f+_0x23d567(0x32b)+_0x1a94e1+'/allowed';if(_0x11ab39['url']===_0x299f11)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bb3c5){var _0x445b71=_0x472ca3,_0x4a5de0;return(_0x4a5de0=_0x1bb3c5[_0x445b71(0x3ad)])==null?void 0x0:_0x4a5de0[_0x445b71(0x1a5)];},'mergeParamsToRequest'(_0x4aaa24,_0x3ed510){var _0x3636ff=_0x472ca3;const _0x229b6e=_0x5af5c4[_0x3636ff(0x1d5)]()+_0x3636ff(0x49a),_0x17918b=_0x4aaa24[_0x3636ff(0x4a6)]((_0x14a259,_0x5caf02)=>{var _0x4ca8f7=_0x3636ff;const {unitID:_0x153f27,objectID:_0x16d0fe,objectType:_0xd1415b,actions:_0x296c97}=_0x5caf02;return _0x14a259[_0x153f27]||(_0x14a259[_0x153f27]={}),_0x14a259[_0x153f27][_0x16d0fe]||(_0x14a259[_0x153f27][_0x16d0fe]={'objectID':_0x16d0fe,'objectType':_0xd1415b,'actions':[]}),_0x14a259[_0x153f27][_0x16d0fe][_0x4ca8f7(0x2ad)]['push'](..._0x296c97),_0x14a259;},{}),_0x148eff=[];for(const _0x38c59f in _0x17918b)for(const _0x34425d in _0x17918b[_0x38c59f]){const {actions:_0x4ee43a,objectType:_0x31ba74}=_0x17918b[_0x38c59f][_0x34425d],_0x1079b5=[...new Set(_0x4ee43a)];_0x148eff['push']({'unitID':_0x38c59f,'objectID':_0x34425d,'objectType':_0x31ba74,'actions':_0x1079b5});}return new _0x4f5f8c(_0x3636ff(0x1bb),_0x229b6e,{'headers':_0x3ed510['headers'],'withCredentials':_0x3ed510[_0x3636ff(0x416)],'responseType':_0x3ed510[_0x3636ff(0x1b1)],'body':{'requests':_0x148eff}});}},{'distributeResult'(_0x1a36c4,_0x407998){var _0xe3aab5=_0x472ca3;const {objectActions:_0x144026}=_0x1a36c4;return _0x407998[_0xe3aab5(0x404)](_0x4b0279=>{var _0x34ab77=_0xe3aab5;const {unitID:_0x1bf3f5,objectID:_0x20f1a0,actions:_0x23d453}=_0x4b0279,_0x5c0c1e=_0x144026['find'](_0x50ee0a=>_0x50ee0a[_0x34ab77(0x45c)]===_0x1bf3f5&&_0x50ee0a[_0x34ab77(0x325)]===_0x20f1a0),_0x4449e5=_0x23d453[_0x34ab77(0x404)](_0xad7137=>_0x5c0c1e==null?void 0x0:_0x5c0c1e['actions'][_0x34ab77(0x313)](_0x4d4fb6=>_0x4d4fb6[_0x34ab77(0x21e)]===_0xad7137))[_0x34ab77(0x2c6)](_0x2c3152=>!!_0x2c3152);return{'config':_0x4b0279,'result':{'actions':_0x4449e5,'error':_0x1a36c4[_0x34ab77(0x4ae)]}};});}})}));}['_getAPIPrefixPath'](){var _0x480bc4=_0xccc328,_0x342bd7,_0x11f92b;const _0x59c009=this[_0x480bc4(0x20b)][_0x480bc4(0x38c)](Ni),_0xa769a5=this[_0x480bc4(0x20b)]['getConfig'](q);return(_0x11f92b=(_0x342bd7=_0xa769a5==null?void 0x0:_0xa769a5[_0x480bc4(0x3b0)])!=null?_0x342bd7:_0x59c009)!=null?_0x11f92b:ms;}async[_0xccc328(0x34b)](_0x5ad0c9){var _0x3ff0ac=_0xccc328;const _0x1188de=this[_0x3ff0ac(0x1d5)]()+'/'+_0x5ad0c9[_0x3ff0ac(0x45d)]+_0x3ff0ac(0x1c0);return(await this[_0x3ff0ac(0x287)]['post'](_0x1188de,{'body':_0x5ad0c9}))['body']['objectID']||'';}async['list'](_0x5a6a5c){var _0x14458e=_0xccc328;const _0x5c9cee=this[_0x14458e(0x1d5)]()+_0x14458e(0x458);return(await this['_HTTPService'][_0x14458e(0x403)](_0x5c9cee,{'body':_0x5a6a5c}))[_0x14458e(0x1a5)]['objects'];}async[_0xccc328(0x357)](_0x18db8c){var _0x549490=_0xccc328,_0x3f041b,_0x2f2fcd;const _0x49b909=this[_0x549490(0x1d5)]()+'/'+_0x18db8c[_0x549490(0x45d)]+_0x549490(0x32b)+_0x18db8c[_0x549490(0x325)],_0x30a7be=await this['_HTTPService'][_0x549490(0x43f)](_0x49b909,{'body':_0x18db8c});if(((_0x2f2fcd=(_0x3f041b=_0x30a7be==null?void 0x0:_0x30a7be[_0x549490(0x1a5)])==null?void 0x0:_0x3f041b[_0x549490(0x4ae)])==null?void 0x0:_0x2f2fcd[_0x549490(0x3d3)])!==0x1)throw new Error(_0x549490(0x3d1));}async['allowed'](_0x10fb2c){var _0x2774f2=_0xccc328;const _0x14bdd0=this[_0x2774f2(0x1d5)]()+'/'+_0x10fb2c[_0x2774f2(0x45d)]+_0x2774f2(0x32b)+_0x10fb2c[_0x2774f2(0x325)]+_0x2774f2(0x365);return(await this['_HTTPService'][_0x2774f2(0x403)](_0x14bdd0,{'body':_0x10fb2c}))[_0x2774f2(0x1a5)][_0x2774f2(0x2ad)];}async[_0xccc328(0x444)](_0x466771){var _0x1cc97a=_0xccc328;const _0x12237a=this[_0x1cc97a(0x1d5)]()+_0x1cc97a(0x49a);return(await this[_0x1cc97a(0x287)][_0x1cc97a(0x403)](_0x12237a,{'body':{'requests':_0x466771}}))['body'][_0x1cc97a(0x48c)];}async[_0xccc328(0x498)](_0x1ebca8){var _0x13aaaa=_0xccc328;const _0x158fd1=this[_0x13aaaa(0x1d5)]()+'/'+_0x1ebca8[_0x13aaaa(0x45d)]+_0x13aaaa(0x399),_0x34015b=await this[_0x13aaaa(0x287)][_0x13aaaa(0x403)](_0x158fd1,{'body':_0x1ebca8});return{'roles':_0x34015b[_0x13aaaa(0x1a5)]['roles'],'actions':_0x34015b['body']['actions']};}async[_0xccc328(0x40c)](_0x4b9265){var _0x23793a=_0xccc328;const _0x587ee0=this['_getAPIPrefixPath']()+_0x23793a(0x2e6);await this['_HTTPService'][_0x23793a(0x1b9)](_0x587ee0,{'params':{'collaboratorID':_0x4b9265[_0x23793a(0x378)],'objectID':_0x4b9265['objectID'],'unitID':_0x4b9265[_0x23793a(0x45c)]}});}async[_0xccc328(0x468)](_0x44fd9b){var _0x23990d=_0xccc328;const _0x55b26a=this['_getAPIPrefixPath']()+_0x23990d(0x2e6);await this[_0x23990d(0x287)][_0x23990d(0x3dd)](_0x55b26a,{'body':_0x44fd9b});}async['createCollaborator'](_0xc292cd){var _0x673c49=_0xccc328;const _0x37e8c3=this[_0x673c49(0x1d5)]()+'/collaborator';await this[_0x673c49(0x287)][_0x673c49(0x403)](_0x37e8c3,{'body':_0xc292cd});}async['listCollaborators'](_0x2f344e){var _0x23d853=_0xccc328;const _0x47d3ed=this['_getAPIPrefixPath']()+_0x23d853(0x2e6);return(await this[_0x23d853(0x287)][_0x23d853(0x40e)](_0x47d3ed,{'params':{'objectID':_0x2f344e[_0x23d853(0x325)],'unitID':_0x2f344e['unitID']}}))[_0x23d853(0x1a5)][_0x23d853(0x38f)];}async[_0xccc328(0x2c4)](_0x240c57){var _0x3de092=_0xccc328;const _0xda180c=this[_0x3de092(0x1d5)]()+_0x3de092(0x2e6);await this[_0x3de092(0x287)][_0x3de092(0x43f)](_0xda180c,{'body':_0x240c57});}};Rt=ps([Jt(0x0,_0x42d086(_0x44834c)),Jt(0x1,_0x42d086(_0x32d0f8))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2828b0){var _0x562408=_0xccc328;return _0x2828b0&&_0x2828b0['__esModule']&&Object['prototype']['hasOwnProperty']['call'](_0x2828b0,'default')?_0x2828b0[_0x562408(0x42b)]:_0x2828b0;}var Ve={'exports':{}};function gs(_0x143947){var _0x4dd3fe=_0xccc328;throw new Error(_0x4dd3fe(0x2ac)+_0x143947+_0x4dd3fe(0x221));}var Ge={'exports':{}},Ss=Ge[_0xccc328(0x35a)],Xt;function ie(){var _0x26c0d0=_0xccc328;return Xt||(Xt=0x1,function(_0x272881,_0x5d214b){(function(_0x19fbb9,_0xfaaa5a){var _0xb4169d=_0x4dde;_0x272881[_0xb4169d(0x35a)]=_0xfaaa5a();}(Ss,function(){var _0x2c1716=_0x2c1716||function(_0x254616,_0x3c6252){var _0x1d2ae8=_0x4dde,_0x4f2310;if(typeof window<'u'&&window[_0x1d2ae8(0x46c)]&&(_0x4f2310=window[_0x1d2ae8(0x46c)]),typeof self<'u'&&self[_0x1d2ae8(0x46c)]&&(_0x4f2310=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4f2310=globalThis[_0x1d2ae8(0x46c)]),!_0x4f2310&&typeof window<'u'&&window[_0x1d2ae8(0x2c2)]&&(_0x4f2310=window['msCrypto']),!_0x4f2310&&typeof pt<'u'&&pt[_0x1d2ae8(0x46c)]&&(_0x4f2310=pt[_0x1d2ae8(0x46c)]),!_0x4f2310&&typeof gs==_0x1d2ae8(0x23b))try{_0x4f2310=require('crypto');}catch{}var _0x17d015=function(){var _0x14fe55=_0x1d2ae8;if(_0x4f2310){if(typeof _0x4f2310[_0x14fe55(0x2ea)]==_0x14fe55(0x23b))try{return _0x4f2310[_0x14fe55(0x2ea)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4f2310[_0x14fe55(0x48d)]=='function')try{return _0x4f2310['randomBytes'](0x4)[_0x14fe55(0x3e7)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x58191a=Object[_0x1d2ae8(0x34b)]||(function(){function _0x3b6a5c(){}return function(_0x3e81ce){var _0xd3b52b=_0x4dde,_0x566499;return _0x3b6a5c[_0xd3b52b(0x241)]=_0x3e81ce,_0x566499=new _0x3b6a5c(),_0x3b6a5c['prototype']=null,_0x566499;};}()),_0xaa85f2={},_0x1c6711=_0xaa85f2[_0x1d2ae8(0x34c)]={},_0x2ac5d8=_0x1c6711[_0x1d2ae8(0x44a)]=(function(){return{'extend':function(_0x1887aa){var _0x7e571e=_0x4dde,_0x62bff1=_0x58191a(this);return _0x1887aa&&_0x62bff1[_0x7e571e(0x2f6)](_0x1887aa),(!_0x62bff1[_0x7e571e(0x436)](_0x7e571e(0x371))||this[_0x7e571e(0x371)]===_0x62bff1['init'])&&(_0x62bff1[_0x7e571e(0x371)]=function(){var _0x423645=_0x7e571e;_0x62bff1[_0x423645(0x228)][_0x423645(0x371)][_0x423645(0x352)](this,arguments);}),_0x62bff1[_0x7e571e(0x371)]['prototype']=_0x62bff1,_0x62bff1['$super']=this,_0x62bff1;},'create':function(){var _0x3d0908=_0x4dde,_0x5cb411=this[_0x3d0908(0x46e)]();return _0x5cb411[_0x3d0908(0x371)][_0x3d0908(0x352)](_0x5cb411,arguments),_0x5cb411;},'init':function(){},'mixIn':function(_0x13fb6a){var _0x63cda4=_0x4dde;for(var _0x3b6819 in _0x13fb6a)_0x13fb6a[_0x63cda4(0x436)](_0x3b6819)&&(this[_0x3b6819]=_0x13fb6a[_0x3b6819]);_0x13fb6a[_0x63cda4(0x436)](_0x63cda4(0x447))&&(this[_0x63cda4(0x447)]=_0x13fb6a[_0x63cda4(0x447)]);},'clone':function(){var _0xd1524a=_0x4dde;return this[_0xd1524a(0x371)]['prototype'][_0xd1524a(0x46e)](this);}};}()),_0x3dbb9d=_0x1c6711[_0x1d2ae8(0x35d)]=_0x2ac5d8['extend']({'init':function(_0xd1eec9,_0x1a8cdd){var _0xedbcf6=_0x1d2ae8;_0xd1eec9=this['words']=_0xd1eec9||[],_0x1a8cdd!=_0x3c6252?this['sigBytes']=_0x1a8cdd:this[_0xedbcf6(0x4a0)]=_0xd1eec9[_0xedbcf6(0x489)]*0x4;},'toString':function(_0x364309){return(_0x364309||_0x3413eb)['stringify'](this);},'concat':function(_0x29c619){var _0x87f014=_0x1d2ae8,_0x50304f=this[_0x87f014(0x3cd)],_0x3bcdb3=_0x29c619[_0x87f014(0x3cd)],_0x2a79c3=this['sigBytes'],_0x469f2a=_0x29c619[_0x87f014(0x4a0)];if(this[_0x87f014(0x1eb)](),_0x2a79c3%0x4)for(var _0x5a1d0e=0x0;_0x5a1d0e<_0x469f2a;_0x5a1d0e++){var _0x1ce8d3=_0x3bcdb3[_0x5a1d0e>>>0x2]>>>0x18-_0x5a1d0e%0x4*0x8&0xff;_0x50304f[_0x2a79c3+_0x5a1d0e>>>0x2]|=_0x1ce8d3<<0x18-(_0x2a79c3+_0x5a1d0e)%0x4*0x8;}else{for(var _0x3d255c=0x0;_0x3d255c<_0x469f2a;_0x3d255c+=0x4)_0x50304f[_0x2a79c3+_0x3d255c>>>0x2]=_0x3bcdb3[_0x3d255c>>>0x2];}return this[_0x87f014(0x4a0)]+=_0x469f2a,this;},'clamp':function(){var _0x41569b=_0x1d2ae8,_0x2bee82=this[_0x41569b(0x3cd)],_0x1e5c81=this[_0x41569b(0x4a0)];_0x2bee82[_0x1e5c81>>>0x2]&=0xffffffff<<0x20-_0x1e5c81%0x4*0x8,_0x2bee82[_0x41569b(0x489)]=_0x254616[_0x41569b(0x44c)](_0x1e5c81/0x4);},'clone':function(){var _0x360c87=_0x1d2ae8,_0x26de1e=_0x2ac5d8[_0x360c87(0x3da)][_0x360c87(0x3cc)](this);return _0x26de1e[_0x360c87(0x3cd)]=this[_0x360c87(0x3cd)][_0x360c87(0x46a)](0x0),_0x26de1e;},'random':function(_0x22e1f8){var _0x2fc028=_0x1d2ae8;for(var _0x4b8795=[],_0x360a6c=0x0;_0x360a6c<_0x22e1f8;_0x360a6c+=0x4)_0x4b8795[_0x2fc028(0x26b)](_0x17d015());return new _0x3dbb9d['init'](_0x4b8795,_0x22e1f8);}}),_0x77fee2=_0xaa85f2[_0x1d2ae8(0x2b5)]={},_0x3413eb=_0x77fee2['Hex']={'stringify':function(_0x2002b5){var _0x441d2b=_0x1d2ae8;for(var _0x4ec5ad=_0x2002b5['words'],_0x21d64a=_0x2002b5['sigBytes'],_0x3764ff=[],_0x19e6bd=0x0;_0x19e6bd<_0x21d64a;_0x19e6bd++){var _0x5d2f9b=_0x4ec5ad[_0x19e6bd>>>0x2]>>>0x18-_0x19e6bd%0x4*0x8&0xff;_0x3764ff['push']((_0x5d2f9b>>>0x4)[_0x441d2b(0x447)](0x10)),_0x3764ff[_0x441d2b(0x26b)]((_0x5d2f9b&0xf)[_0x441d2b(0x447)](0x10));}return _0x3764ff[_0x441d2b(0x204)]('');},'parse':function(_0x5413fe){var _0x506c89=_0x1d2ae8;for(var _0x34e6b8=_0x5413fe[_0x506c89(0x489)],_0x40be96=[],_0x4863f6=0x0;_0x4863f6<_0x34e6b8;_0x4863f6+=0x2)_0x40be96[_0x4863f6>>>0x3]|=parseInt(_0x5413fe['substr'](_0x4863f6,0x2),0x10)<<0x18-_0x4863f6%0x8*0x4;return new _0x3dbb9d[(_0x506c89(0x371))](_0x40be96,_0x34e6b8/0x2);}},_0x2e12d0=_0x77fee2[_0x1d2ae8(0x253)]={'stringify':function(_0x15a9ee){var _0x594622=_0x1d2ae8;for(var _0x55c2e0=_0x15a9ee[_0x594622(0x3cd)],_0x128b14=_0x15a9ee[_0x594622(0x4a0)],_0x3233f0=[],_0x558708=0x0;_0x558708<_0x128b14;_0x558708++){var _0x5d685d=_0x55c2e0[_0x558708>>>0x2]>>>0x18-_0x558708%0x4*0x8&0xff;_0x3233f0['push'](String[_0x594622(0x4a1)](_0x5d685d));}return _0x3233f0['join']('');},'parse':function(_0x734e7a){var _0x1dc91d=_0x1d2ae8;for(var _0x2737a4=_0x734e7a[_0x1dc91d(0x489)],_0x2a9715=[],_0x2c8b28=0x0;_0x2c8b28<_0x2737a4;_0x2c8b28++)_0x2a9715[_0x2c8b28>>>0x2]|=(_0x734e7a['charCodeAt'](_0x2c8b28)&0xff)<<0x18-_0x2c8b28%0x4*0x8;return new _0x3dbb9d[(_0x1dc91d(0x371))](_0x2a9715,_0x2737a4);}},_0xa30ebd=_0x77fee2[_0x1d2ae8(0x1b8)]={'stringify':function(_0x2dec14){var _0x3cb814=_0x1d2ae8;try{return decodeURIComponent(escape(_0x2e12d0[_0x3cb814(0x280)](_0x2dec14)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x437fbe){return _0x2e12d0['parse'](unescape(encodeURIComponent(_0x437fbe)));}},_0x166e22=_0x1c6711[_0x1d2ae8(0x210)]=_0x2ac5d8[_0x1d2ae8(0x46e)]({'reset':function(){var _0x1115fd=_0x1d2ae8;this[_0x1115fd(0x1ab)]=new _0x3dbb9d['init'](),this[_0x1115fd(0x1cf)]=0x0;},'_append':function(_0x21ed6a){var _0x2bebd=_0x1d2ae8;typeof _0x21ed6a==_0x2bebd(0x406)&&(_0x21ed6a=_0xa30ebd[_0x2bebd(0x3ec)](_0x21ed6a)),this[_0x2bebd(0x1ab)]['concat'](_0x21ed6a),this[_0x2bebd(0x1cf)]+=_0x21ed6a['sigBytes'];},'_process':function(_0x4dc892){var _0x20ed2a=_0x1d2ae8,_0x5f48be,_0x2993ab=this[_0x20ed2a(0x1ab)],_0xf41d4d=_0x2993ab[_0x20ed2a(0x3cd)],_0x5f570c=_0x2993ab[_0x20ed2a(0x4a0)],_0x328336=this[_0x20ed2a(0x1c7)],_0x54cf58=_0x328336*0x4,_0x2db925=_0x5f570c/_0x54cf58;_0x4dc892?_0x2db925=_0x254616[_0x20ed2a(0x44c)](_0x2db925):_0x2db925=_0x254616[_0x20ed2a(0x380)]((_0x2db925|0x0)-this['_minBufferSize'],0x0);var _0x1d86a3=_0x2db925*_0x328336,_0x292019=_0x254616['min'](_0x1d86a3*0x4,_0x5f570c);if(_0x1d86a3){for(var _0x399cfd=0x0;_0x399cfd<_0x1d86a3;_0x399cfd+=_0x328336)this[_0x20ed2a(0x3a7)](_0xf41d4d,_0x399cfd);_0x5f48be=_0xf41d4d[_0x20ed2a(0x1e6)](0x0,_0x1d86a3),_0x2993ab[_0x20ed2a(0x4a0)]-=_0x292019;}return new _0x3dbb9d[(_0x20ed2a(0x371))](_0x5f48be,_0x292019);},'clone':function(){var _0x427beb=_0x1d2ae8,_0x120114=_0x2ac5d8[_0x427beb(0x3da)][_0x427beb(0x3cc)](this);return _0x120114['_data']=this[_0x427beb(0x1ab)][_0x427beb(0x3da)](),_0x120114;},'_minBufferSize':0x0});_0x1c6711[_0x1d2ae8(0x3df)]=_0x166e22[_0x1d2ae8(0x46e)]({'cfg':_0x2ac5d8[_0x1d2ae8(0x46e)](),'init':function(_0xc9442d){var _0x27dbd6=_0x1d2ae8;this[_0x27dbd6(0x38e)]=this['cfg']['extend'](_0xc9442d),this[_0x27dbd6(0x3dc)]();},'reset':function(){var _0x59a513=_0x1d2ae8;_0x166e22[_0x59a513(0x3dc)][_0x59a513(0x3cc)](this),this[_0x59a513(0x1c4)]();},'update':function(_0x1cda17){var _0x3956f4=_0x1d2ae8;return this[_0x3956f4(0x20d)](_0x1cda17),this[_0x3956f4(0x249)](),this;},'finalize':function(_0x4f1392){var _0xbd2b82=_0x1d2ae8;_0x4f1392&&this[_0xbd2b82(0x20d)](_0x4f1392);var _0x6de199=this[_0xbd2b82(0x2ab)]();return _0x6de199;},'blockSize':0x10,'_createHelper':function(_0x8b6bdc){return function(_0x1ee53c,_0x4a2d05){var _0x4fd1c8=_0x4dde;return new _0x8b6bdc[(_0x4fd1c8(0x371))](_0x4a2d05)[_0x4fd1c8(0x23f)](_0x1ee53c);};},'_createHmacHelper':function(_0x53c376){return function(_0x3db746,_0x4ada9e){var _0x2273a1=_0x4dde;return new _0x217c29[(_0x2273a1(0x1b0))][(_0x2273a1(0x371))](_0x53c376,_0x4ada9e)[_0x2273a1(0x23f)](_0x3db746);};}});var _0x217c29=_0xaa85f2[_0x1d2ae8(0x216)]={};return _0xaa85f2;}(Math);return _0x2c1716;}));}(Ge)),Ge[_0x26c0d0(0x35a)];}var We={'exports':{}},Es=We[_0xccc328(0x35a)],Zt;function Di(){var _0x420aa3=_0xccc328;return Zt||(Zt=0x1,function(_0x1ddc51,_0x323ca7){(function(_0x5c2c38,_0x2f6270){_0x1ddc51['exports']=_0x2f6270(ie());}(Es,function(_0x4494f2){var _0x322fd9=_0x4dde;return(function(){var _0xb79821=_0x4dde,_0x17a528=_0x4494f2,_0x5855c6=_0x17a528[_0xb79821(0x34c)],_0x4ad62f=_0x5855c6['WordArray'],_0x420087=_0x17a528[_0xb79821(0x2b5)];_0x420087[_0xb79821(0x48f)]={'stringify':function(_0x4b034e){var _0x18b79f=_0xb79821,_0x257c2a=_0x4b034e[_0x18b79f(0x3cd)],_0x134ede=_0x4b034e[_0x18b79f(0x4a0)],_0x24b7ad=this[_0x18b79f(0x46b)];_0x4b034e[_0x18b79f(0x1eb)]();for(var _0x18d784=[],_0x12ec63=0x0;_0x12ec63<_0x134ede;_0x12ec63+=0x3)for(var _0x4bdd90=_0x257c2a[_0x12ec63>>>0x2]>>>0x18-_0x12ec63%0x4*0x8&0xff,_0x5da919=_0x257c2a[_0x12ec63+0x1>>>0x2]>>>0x18-(_0x12ec63+0x1)%0x4*0x8&0xff,_0x33d49b=_0x257c2a[_0x12ec63+0x2>>>0x2]>>>0x18-(_0x12ec63+0x2)%0x4*0x8&0xff,_0x20d803=_0x4bdd90<<0x10|_0x5da919<<0x8|_0x33d49b,_0x221133=0x0;_0x221133<0x4&&_0x12ec63+_0x221133*0.75<_0x134ede;_0x221133++)_0x18d784[_0x18b79f(0x26b)](_0x24b7ad['charAt'](_0x20d803>>>0x6*(0x3-_0x221133)&0x3f));var _0x506599=_0x24b7ad['charAt'](0x40);if(_0x506599){for(;_0x18d784['length']%0x4;)_0x18d784[_0x18b79f(0x26b)](_0x506599);}return _0x18d784[_0x18b79f(0x204)]('');},'parse':function(_0x143ce4){var _0xbce3e0=_0xb79821,_0xc8a98=_0x143ce4[_0xbce3e0(0x489)],_0x9eb0fd=this[_0xbce3e0(0x46b)],_0x2db8f9=this[_0xbce3e0(0x37c)];if(!_0x2db8f9){_0x2db8f9=this[_0xbce3e0(0x37c)]=[];for(var _0x55f6b4=0x0;_0x55f6b4<_0x9eb0fd[_0xbce3e0(0x489)];_0x55f6b4++)_0x2db8f9[_0x9eb0fd[_0xbce3e0(0x2dc)](_0x55f6b4)]=_0x55f6b4;}var _0x4956b7=_0x9eb0fd[_0xbce3e0(0x359)](0x40);if(_0x4956b7){var _0x31fa95=_0x143ce4[_0xbce3e0(0x3d0)](_0x4956b7);_0x31fa95!==-0x1&&(_0xc8a98=_0x31fa95);}return _0x2d3197(_0x143ce4,_0xc8a98,_0x2db8f9);},'_map':_0xb79821(0x2ec)};function _0x2d3197(_0x6fe8ab,_0x545624,_0x498891){var _0x4f5c70=_0xb79821;for(var _0x18f07d=[],_0x131d4e=0x0,_0x526ed0=0x0;_0x526ed0<_0x545624;_0x526ed0++)if(_0x526ed0%0x4){var _0x4a3144=_0x498891[_0x6fe8ab['charCodeAt'](_0x526ed0-0x1)]<<_0x526ed0%0x4*0x2,_0x3e1d02=_0x498891[_0x6fe8ab[_0x4f5c70(0x2dc)](_0x526ed0)]>>>0x6-_0x526ed0%0x4*0x2,_0x108176=_0x4a3144|_0x3e1d02;_0x18f07d[_0x131d4e>>>0x2]|=_0x108176<<0x18-_0x131d4e%0x4*0x8,_0x131d4e++;}return _0x4ad62f['create'](_0x18f07d,_0x131d4e);}}()),_0x4494f2[_0x322fd9(0x2b5)]['Base64'];}));}(We)),We[_0x420aa3(0x35a)];}var Ke={'exports':{}},Is=Ke[_0xccc328(0x35a)],Qt;function Ts(){var _0x3ee8be=_0xccc328;return Qt||(Qt=0x1,function(_0x199ad3,_0x83d42){(function(_0x7e416e,_0x321813){var _0x2e5bad=_0x4dde;_0x199ad3[_0x2e5bad(0x35a)]=_0x321813(ie());}(Is,function(_0x4eb926){return function(_0x200520){var _0x349c6f=_0x4dde,_0x52b0aa=_0x4eb926,_0x531498=_0x52b0aa[_0x349c6f(0x34c)],_0x10ffe0=_0x531498[_0x349c6f(0x35d)],_0xde3e9=_0x531498['Hasher'],_0x1358e2=_0x52b0aa['algo'],_0x56ec87=[];(function(){var _0x539901=_0x349c6f;for(var _0x2b2a5b=0x0;_0x2b2a5b<0x40;_0x2b2a5b++)_0x56ec87[_0x2b2a5b]=_0x200520[_0x539901(0x251)](_0x200520['sin'](_0x2b2a5b+0x1))*0x100000000|0x0;}());var _0x1a150a=_0x1358e2[_0x349c6f(0x233)]=_0xde3e9[_0x349c6f(0x46e)]({'_doReset':function(){var _0x95f68f=_0x349c6f;this[_0x95f68f(0x205)]=new _0x10ffe0[(_0x95f68f(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1a0a5b,_0x235c25){var _0x2da1a1=_0x349c6f;for(var _0x4ef804=0x0;_0x4ef804<0x10;_0x4ef804++){var _0x2061d9=_0x235c25+_0x4ef804,_0x101f5e=_0x1a0a5b[_0x2061d9];_0x1a0a5b[_0x2061d9]=(_0x101f5e<<0x8|_0x101f5e>>>0x18)&0xff00ff|(_0x101f5e<<0x18|_0x101f5e>>>0x8)&0xff00ff00;}var _0x395c00=this[_0x2da1a1(0x205)][_0x2da1a1(0x3cd)],_0x531238=_0x1a0a5b[_0x235c25+0x0],_0xab57de=_0x1a0a5b[_0x235c25+0x1],_0x1be9a1=_0x1a0a5b[_0x235c25+0x2],_0x99dd13=_0x1a0a5b[_0x235c25+0x3],_0x3c194e=_0x1a0a5b[_0x235c25+0x4],_0x3d390=_0x1a0a5b[_0x235c25+0x5],_0x24c537=_0x1a0a5b[_0x235c25+0x6],_0x16fba9=_0x1a0a5b[_0x235c25+0x7],_0xfdb6a2=_0x1a0a5b[_0x235c25+0x8],_0x36f1a9=_0x1a0a5b[_0x235c25+0x9],_0x47cc58=_0x1a0a5b[_0x235c25+0xa],_0x122758=_0x1a0a5b[_0x235c25+0xb],_0x29529d=_0x1a0a5b[_0x235c25+0xc],_0x41e668=_0x1a0a5b[_0x235c25+0xd],_0x20de34=_0x1a0a5b[_0x235c25+0xe],_0x43f837=_0x1a0a5b[_0x235c25+0xf],_0x35afb6=_0x395c00[0x0],_0x1dc642=_0x395c00[0x1],_0x4b19c2=_0x395c00[0x2],_0x64b6e1=_0x395c00[0x3];_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x531238,0x7,_0x56ec87[0x0]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0xab57de,0xc,_0x56ec87[0x1]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x1be9a1,0x11,_0x56ec87[0x2]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x99dd13,0x16,_0x56ec87[0x3]),_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3c194e,0x7,_0x56ec87[0x4]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x3d390,0xc,_0x56ec87[0x5]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x24c537,0x11,_0x56ec87[0x6]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x16fba9,0x16,_0x56ec87[0x7]),_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xfdb6a2,0x7,_0x56ec87[0x8]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x36f1a9,0xc,_0x56ec87[0x9]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x47cc58,0x11,_0x56ec87[0xa]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x122758,0x16,_0x56ec87[0xb]),_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x29529d,0x7,_0x56ec87[0xc]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x41e668,0xc,_0x56ec87[0xd]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x20de34,0x11,_0x56ec87[0xe]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x43f837,0x16,_0x56ec87[0xf]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xab57de,0x5,_0x56ec87[0x10]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x24c537,0x9,_0x56ec87[0x11]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x122758,0xe,_0x56ec87[0x12]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x531238,0x14,_0x56ec87[0x13]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3d390,0x5,_0x56ec87[0x14]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x47cc58,0x9,_0x56ec87[0x15]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x43f837,0xe,_0x56ec87[0x16]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x3c194e,0x14,_0x56ec87[0x17]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x36f1a9,0x5,_0x56ec87[0x18]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x20de34,0x9,_0x56ec87[0x19]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x99dd13,0xe,_0x56ec87[0x1a]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0xfdb6a2,0x14,_0x56ec87[0x1b]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x41e668,0x5,_0x56ec87[0x1c]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x1be9a1,0x9,_0x56ec87[0x1d]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x16fba9,0xe,_0x56ec87[0x1e]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x29529d,0x14,_0x56ec87[0x1f]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3d390,0x4,_0x56ec87[0x20]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0xfdb6a2,0xb,_0x56ec87[0x21]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x122758,0x10,_0x56ec87[0x22]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x20de34,0x17,_0x56ec87[0x23]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xab57de,0x4,_0x56ec87[0x24]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x3c194e,0xb,_0x56ec87[0x25]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x16fba9,0x10,_0x56ec87[0x26]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x47cc58,0x17,_0x56ec87[0x27]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x41e668,0x4,_0x56ec87[0x28]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x531238,0xb,_0x56ec87[0x29]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x99dd13,0x10,_0x56ec87[0x2a]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x24c537,0x17,_0x56ec87[0x2b]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x36f1a9,0x4,_0x56ec87[0x2c]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x29529d,0xb,_0x56ec87[0x2d]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x43f837,0x10,_0x56ec87[0x2e]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1be9a1,0x17,_0x56ec87[0x2f]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x531238,0x6,_0x56ec87[0x30]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x16fba9,0xa,_0x56ec87[0x31]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x20de34,0xf,_0x56ec87[0x32]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x3d390,0x15,_0x56ec87[0x33]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x29529d,0x6,_0x56ec87[0x34]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x99dd13,0xa,_0x56ec87[0x35]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x47cc58,0xf,_0x56ec87[0x36]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0xab57de,0x15,_0x56ec87[0x37]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xfdb6a2,0x6,_0x56ec87[0x38]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x43f837,0xa,_0x56ec87[0x39]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x24c537,0xf,_0x56ec87[0x3a]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x41e668,0x15,_0x56ec87[0x3b]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3c194e,0x6,_0x56ec87[0x3c]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x122758,0xa,_0x56ec87[0x3d]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x1be9a1,0xf,_0x56ec87[0x3e]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x36f1a9,0x15,_0x56ec87[0x3f]),_0x395c00[0x0]=_0x395c00[0x0]+_0x35afb6|0x0,_0x395c00[0x1]=_0x395c00[0x1]+_0x1dc642|0x0,_0x395c00[0x2]=_0x395c00[0x2]+_0x4b19c2|0x0,_0x395c00[0x3]=_0x395c00[0x3]+_0x64b6e1|0x0;},'_doFinalize':function(){var _0x405330=_0x349c6f,_0x5156a5=this['_data'],_0x255e33=_0x5156a5['words'],_0x48f3c6=this['_nDataBytes']*0x8,_0x585227=_0x5156a5[_0x405330(0x4a0)]*0x8;_0x255e33[_0x585227>>>0x5]|=0x80<<0x18-_0x585227%0x20;var _0x18b8d8=_0x200520[_0x405330(0x40a)](_0x48f3c6/0x100000000),_0x4c2c37=_0x48f3c6;_0x255e33[(_0x585227+0x40>>>0x9<<0x4)+0xf]=(_0x18b8d8<<0x8|_0x18b8d8>>>0x18)&0xff00ff|(_0x18b8d8<<0x18|_0x18b8d8>>>0x8)&0xff00ff00,_0x255e33[(_0x585227+0x40>>>0x9<<0x4)+0xe]=(_0x4c2c37<<0x8|_0x4c2c37>>>0x18)&0xff00ff|(_0x4c2c37<<0x18|_0x4c2c37>>>0x8)&0xff00ff00,_0x5156a5[_0x405330(0x4a0)]=(_0x255e33[_0x405330(0x489)]+0x1)*0x4,this[_0x405330(0x249)]();for(var _0x2e55d4=this[_0x405330(0x205)],_0x59f34c=_0x2e55d4[_0x405330(0x3cd)],_0x5c681c=0x0;_0x5c681c<0x4;_0x5c681c++){var _0x5c4430=_0x59f34c[_0x5c681c];_0x59f34c[_0x5c681c]=(_0x5c4430<<0x8|_0x5c4430>>>0x18)&0xff00ff|(_0x5c4430<<0x18|_0x5c4430>>>0x8)&0xff00ff00;}return _0x2e55d4;},'clone':function(){var _0x3bae61=_0x349c6f,_0x5aa930=_0xde3e9[_0x3bae61(0x3da)][_0x3bae61(0x3cc)](this);return _0x5aa930[_0x3bae61(0x205)]=this[_0x3bae61(0x205)]['clone'](),_0x5aa930;}});function _0x4b4abe(_0x5c7afb,_0x430f78,_0x3bd57a,_0x4d066c,_0x2db200,_0x5e8dbf,_0x580b8b){var _0x298c88=_0x5c7afb+(_0x430f78&_0x3bd57a|~_0x430f78&_0x4d066c)+_0x2db200+_0x580b8b;return(_0x298c88<<_0x5e8dbf|_0x298c88>>>0x20-_0x5e8dbf)+_0x430f78;}function _0x17f952(_0x2702b2,_0x489520,_0x16a576,_0x46c4a9,_0x1d558b,_0x2058d7,_0x4e1515){var _0x139ee8=_0x2702b2+(_0x489520&_0x46c4a9|_0x16a576&~_0x46c4a9)+_0x1d558b+_0x4e1515;return(_0x139ee8<<_0x2058d7|_0x139ee8>>>0x20-_0x2058d7)+_0x489520;}function _0x394602(_0x198abb,_0x3c8e3f,_0x2ae4df,_0x449afb,_0x34ec16,_0x3f77b7,_0x2435a0){var _0x440ccc=_0x198abb+(_0x3c8e3f^_0x2ae4df^_0x449afb)+_0x34ec16+_0x2435a0;return(_0x440ccc<<_0x3f77b7|_0x440ccc>>>0x20-_0x3f77b7)+_0x3c8e3f;}function _0x4f733d(_0x59f386,_0x2efd10,_0xa23bbf,_0x10201a,_0x58735d,_0x4a8122,_0xff8d88){var _0x2fcd63=_0x59f386+(_0xa23bbf^(_0x2efd10|~_0x10201a))+_0x58735d+_0xff8d88;return(_0x2fcd63<<_0x4a8122|_0x2fcd63>>>0x20-_0x4a8122)+_0x2efd10;}_0x52b0aa['MD5']=_0xde3e9['_createHelper'](_0x1a150a),_0x52b0aa[_0x349c6f(0x4ad)]=_0xde3e9['_createHmacHelper'](_0x1a150a);}(Math),_0x4eb926['MD5'];}));}(Ke)),Ke[_0x3ee8be(0x35a)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0xccc328(0x35a)],ei;function Rs(){var _0x332217=_0xccc328;return ei||(ei=0x1,function(_0xef72ce,_0x58ff5e){(function(_0x331388,_0x19d7df){_0xef72ce['exports']=_0x19d7df(ie());}(Cs,function(_0x2b01a1){var _0x35a8b5=_0x4dde;return(function(){var _0x3d8479=_0x4dde,_0x309a06=_0x2b01a1,_0x3a605f=_0x309a06['lib'],_0x444e8d=_0x3a605f[_0x3d8479(0x35d)],_0xa1639c=_0x3a605f[_0x3d8479(0x3df)],_0x5f36e3=_0x309a06[_0x3d8479(0x216)],_0x5bdf56=[],_0xbfe3a1=_0x5f36e3['SHA1']=_0xa1639c[_0x3d8479(0x46e)]({'_doReset':function(){this['_hash']=new _0x444e8d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2db3d3,_0x21c959){var _0x2fbdd9=_0x3d8479;for(var _0x4ccf8d=this[_0x2fbdd9(0x205)][_0x2fbdd9(0x3cd)],_0x1d16df=_0x4ccf8d[0x0],_0x124854=_0x4ccf8d[0x1],_0x28f344=_0x4ccf8d[0x2],_0x534104=_0x4ccf8d[0x3],_0x2acf50=_0x4ccf8d[0x4],_0x20fbad=0x0;_0x20fbad<0x50;_0x20fbad++){if(_0x20fbad<0x10)_0x5bdf56[_0x20fbad]=_0x2db3d3[_0x21c959+_0x20fbad]|0x0;else{var _0x38f30d=_0x5bdf56[_0x20fbad-0x3]^_0x5bdf56[_0x20fbad-0x8]^_0x5bdf56[_0x20fbad-0xe]^_0x5bdf56[_0x20fbad-0x10];_0x5bdf56[_0x20fbad]=_0x38f30d<<0x1|_0x38f30d>>>0x1f;}var _0x7c8b93=(_0x1d16df<<0x5|_0x1d16df>>>0x1b)+_0x2acf50+_0x5bdf56[_0x20fbad];_0x20fbad<0x14?_0x7c8b93+=(_0x124854&_0x28f344|~_0x124854&_0x534104)+0x5a827999:_0x20fbad<0x28?_0x7c8b93+=(_0x124854^_0x28f344^_0x534104)+0x6ed9eba1:_0x20fbad<0x3c?_0x7c8b93+=(_0x124854&_0x28f344|_0x124854&_0x534104|_0x28f344&_0x534104)-0x70e44324:_0x7c8b93+=(_0x124854^_0x28f344^_0x534104)-0x359d3e2a,_0x2acf50=_0x534104,_0x534104=_0x28f344,_0x28f344=_0x124854<<0x1e|_0x124854>>>0x2,_0x124854=_0x1d16df,_0x1d16df=_0x7c8b93;}_0x4ccf8d[0x0]=_0x4ccf8d[0x0]+_0x1d16df|0x0,_0x4ccf8d[0x1]=_0x4ccf8d[0x1]+_0x124854|0x0,_0x4ccf8d[0x2]=_0x4ccf8d[0x2]+_0x28f344|0x0,_0x4ccf8d[0x3]=_0x4ccf8d[0x3]+_0x534104|0x0,_0x4ccf8d[0x4]=_0x4ccf8d[0x4]+_0x2acf50|0x0;},'_doFinalize':function(){var _0x3bfca6=_0x3d8479,_0x3ab377=this[_0x3bfca6(0x1ab)],_0x34da04=_0x3ab377['words'],_0x4c433e=this['_nDataBytes']*0x8,_0x41cbc3=_0x3ab377[_0x3bfca6(0x4a0)]*0x8;return _0x34da04[_0x41cbc3>>>0x5]|=0x80<<0x18-_0x41cbc3%0x20,_0x34da04[(_0x41cbc3+0x40>>>0x9<<0x4)+0xe]=Math[_0x3bfca6(0x40a)](_0x4c433e/0x100000000),_0x34da04[(_0x41cbc3+0x40>>>0x9<<0x4)+0xf]=_0x4c433e,_0x3ab377[_0x3bfca6(0x4a0)]=_0x34da04[_0x3bfca6(0x489)]*0x4,this[_0x3bfca6(0x249)](),this[_0x3bfca6(0x205)];},'clone':function(){var _0x385b8b=_0x3d8479,_0x38b4ba=_0xa1639c['clone'][_0x385b8b(0x3cc)](this);return _0x38b4ba[_0x385b8b(0x205)]=this[_0x385b8b(0x205)]['clone'](),_0x38b4ba;}});_0x309a06[_0x3d8479(0x41a)]=_0xa1639c[_0x3d8479(0x415)](_0xbfe3a1),_0x309a06[_0x3d8479(0x312)]=_0xa1639c[_0x3d8479(0x492)](_0xbfe3a1);}()),_0x2b01a1[_0x35a8b5(0x41a)];}));}(qe)),qe[_0x332217(0x35a)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){return ti||(ti=0x1,function(_0x11c465,_0x550099){(function(_0x440874,_0x512987){_0x11c465['exports']=_0x512987(ie());}(bs,function(_0x58bfb9){(function(){var _0x116980=_0x4dde,_0x56804d=_0x58bfb9,_0x2ea500=_0x56804d['lib'],_0x17c952=_0x2ea500[_0x116980(0x44a)],_0x57f94f=_0x56804d[_0x116980(0x2b5)],_0x177e86=_0x57f94f['Utf8'],_0x15bdb0=_0x56804d['algo'];_0x15bdb0[_0x116980(0x1b0)]=_0x17c952[_0x116980(0x46e)]({'init':function(_0x225f3b,_0x1e77d9){var _0xce4c10=_0x116980;_0x225f3b=this[_0xce4c10(0x262)]=new _0x225f3b[(_0xce4c10(0x371))](),typeof _0x1e77d9==_0xce4c10(0x406)&&(_0x1e77d9=_0x177e86[_0xce4c10(0x3ec)](_0x1e77d9));var _0x9d6bda=_0x225f3b['blockSize'],_0x5b51ff=_0x9d6bda*0x4;_0x1e77d9[_0xce4c10(0x4a0)]>_0x5b51ff&&(_0x1e77d9=_0x225f3b[_0xce4c10(0x23f)](_0x1e77d9)),_0x1e77d9[_0xce4c10(0x1eb)]();for(var _0x2e75aa=this[_0xce4c10(0x237)]=_0x1e77d9[_0xce4c10(0x3da)](),_0x1058a0=this[_0xce4c10(0x1a3)]=_0x1e77d9['clone'](),_0x3e038e=_0x2e75aa[_0xce4c10(0x3cd)],_0x345c46=_0x1058a0[_0xce4c10(0x3cd)],_0x377064=0x0;_0x377064<_0x9d6bda;_0x377064++)_0x3e038e[_0x377064]^=0x5c5c5c5c,_0x345c46[_0x377064]^=0x36363636;_0x2e75aa[_0xce4c10(0x4a0)]=_0x1058a0[_0xce4c10(0x4a0)]=_0x5b51ff,this[_0xce4c10(0x3dc)]();},'reset':function(){var _0x1de0a9=_0x116980,_0x3b0ce5=this[_0x1de0a9(0x262)];_0x3b0ce5[_0x1de0a9(0x3dc)](),_0x3b0ce5[_0x1de0a9(0x357)](this[_0x1de0a9(0x1a3)]);},'update':function(_0x3ed415){var _0x4eae5e=_0x116980;return this[_0x4eae5e(0x262)][_0x4eae5e(0x357)](_0x3ed415),this;},'finalize':function(_0x349997){var _0x282936=_0x116980,_0x590ec5=this[_0x282936(0x262)],_0x5d4459=_0x590ec5[_0x282936(0x23f)](_0x349997);_0x590ec5[_0x282936(0x3dc)]();var _0x339477=_0x590ec5[_0x282936(0x23f)](this[_0x282936(0x237)][_0x282936(0x3da)]()[_0x282936(0x33f)](_0x5d4459));return _0x339477;}});}());}));}(ze)),ze['exports'];}var ys=Ye[_0xccc328(0x35a)],ii;function Ui(){var _0x486a95=_0xccc328;return ii||(ii=0x1,function(_0x60db8d,_0x5831d3){(function(_0x3c45d5,_0x4365a5,_0x4454f0){var _0x3b4b5e=_0x4dde;_0x60db8d[_0x3b4b5e(0x35a)]=_0x4365a5(ie(),Rs(),Os());}(ys,function(_0x59d8d6){return(function(){var _0x354708=_0x4dde,_0x40c06d=_0x59d8d6,_0x21ff31=_0x40c06d[_0x354708(0x34c)],_0x59d672=_0x21ff31['Base'],_0x50a01d=_0x21ff31[_0x354708(0x35d)],_0x77c669=_0x40c06d[_0x354708(0x216)],_0x5e8da7=_0x77c669[_0x354708(0x233)],_0x1ca0de=_0x77c669[_0x354708(0x36f)]=_0x59d672[_0x354708(0x46e)]({'cfg':_0x59d672[_0x354708(0x46e)]({'keySize':0x80/0x20,'hasher':_0x5e8da7,'iterations':0x1}),'init':function(_0x95e15c){var _0x507dee=_0x354708;this[_0x507dee(0x38e)]=this['cfg']['extend'](_0x95e15c);},'compute':function(_0xfcb723,_0x13a7a6){var _0x374628=_0x354708;for(var _0x34fe21,_0x20484d=this[_0x374628(0x38e)],_0x2b5843=_0x20484d[_0x374628(0x2da)][_0x374628(0x34b)](),_0x5f13f6=_0x50a01d[_0x374628(0x34b)](),_0x4fecfa=_0x5f13f6[_0x374628(0x3cd)],_0x1ed847=_0x20484d[_0x374628(0x2b9)],_0x3b8358=_0x20484d['iterations'];_0x4fecfa[_0x374628(0x489)]<_0x1ed847;){_0x34fe21&&_0x2b5843[_0x374628(0x357)](_0x34fe21),_0x34fe21=_0x2b5843[_0x374628(0x357)](_0xfcb723)['finalize'](_0x13a7a6),_0x2b5843[_0x374628(0x3dc)]();for(var _0x343996=0x1;_0x343996<_0x3b8358;_0x343996++)_0x34fe21=_0x2b5843['finalize'](_0x34fe21),_0x2b5843['reset']();_0x5f13f6[_0x374628(0x33f)](_0x34fe21);}return _0x5f13f6[_0x374628(0x4a0)]=_0x1ed847*0x4,_0x5f13f6;}});_0x40c06d[_0x354708(0x36f)]=function(_0x1d09a7,_0x379731,_0x1fd5c5){var _0x181adc=_0x354708;return _0x1ca0de[_0x181adc(0x34b)](_0x1fd5c5)['compute'](_0x1d09a7,_0x379731);};}()),_0x59d8d6['EvpKDF'];}));}(Ye)),Ye[_0x486a95(0x35a)];}var Je={'exports':{}},Ns=Je[_0xccc328(0x35a)],ni;function Ai(){var _0x2a0e81=_0xccc328;return ni||(ni=0x1,function(_0x4e2a63,_0x16714a){(function(_0x2fe0b7,_0x5e958f,_0x54301e){var _0x442f85=_0x4dde;_0x4e2a63[_0x442f85(0x35a)]=_0x5e958f(ie(),Ui());}(Ns,function(_0x131c03){var _0x4e9326=_0x4dde;_0x131c03[_0x4e9326(0x34c)][_0x4e9326(0x410)]||function(_0x53d4ae){var _0x4fbeb0=_0x4e9326,_0x171e38=_0x131c03,_0x2c413d=_0x171e38['lib'],_0x3e683b=_0x2c413d[_0x4fbeb0(0x44a)],_0xe1c1bb=_0x2c413d[_0x4fbeb0(0x35d)],_0x2dff11=_0x2c413d['BufferedBlockAlgorithm'],_0x407f2e=_0x171e38['enc'];_0x407f2e[_0x4fbeb0(0x1b8)];var _0x29cac8=_0x407f2e[_0x4fbeb0(0x48f)],_0x4a971f=_0x171e38[_0x4fbeb0(0x216)],_0x34d201=_0x4a971f[_0x4fbeb0(0x36f)],_0x235819=_0x2c413d['Cipher']=_0x2dff11['extend']({'cfg':_0x3e683b[_0x4fbeb0(0x46e)](),'createEncryptor':function(_0x4f9383,_0x42dc7a){var _0x3cf09d=_0x4fbeb0;return this[_0x3cf09d(0x34b)](this[_0x3cf09d(0x3c9)],_0x4f9383,_0x42dc7a);},'createDecryptor':function(_0x4fa16b,_0x727f1e){var _0x391f96=_0x4fbeb0;return this[_0x391f96(0x34b)](this['_DEC_XFORM_MODE'],_0x4fa16b,_0x727f1e);},'init':function(_0x2fc46b,_0x40a708,_0x48adce){var _0x50b934=_0x4fbeb0;this['cfg']=this['cfg'][_0x50b934(0x46e)](_0x48adce),this[_0x50b934(0x411)]=_0x2fc46b,this['_key']=_0x40a708,this['reset']();},'reset':function(){var _0x3840eb=_0x4fbeb0;_0x2dff11[_0x3840eb(0x3dc)][_0x3840eb(0x3cc)](this),this[_0x3840eb(0x1c4)]();},'process':function(_0x25e1fc){return this['_append'](_0x25e1fc),this['_process']();},'finalize':function(_0x1edff1){var _0x409819=_0x4fbeb0;_0x1edff1&&this[_0x409819(0x20d)](_0x1edff1);var _0x593120=this['_doFinalize']();return _0x593120;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xfa5c72(_0x4c74a2){var _0x182204=_0x4dde;return typeof _0x4c74a2==_0x182204(0x406)?_0x307d6a:_0x227745;}return function(_0x118032){return{'encrypt':function(_0x32c9e9,_0x35cafe,_0x50210c){var _0x33dccb=_0x4dde;return _0xfa5c72(_0x35cafe)[_0x33dccb(0x389)](_0x118032,_0x32c9e9,_0x35cafe,_0x50210c);},'decrypt':function(_0x3248db,_0x50beff,_0x534e18){var _0x553574=_0x4dde;return _0xfa5c72(_0x50beff)[_0x553574(0x2cc)](_0x118032,_0x3248db,_0x50beff,_0x534e18);}};};}())});_0x2c413d[_0x4fbeb0(0x3ed)]=_0x235819[_0x4fbeb0(0x46e)]({'_doFinalize':function(){var _0x586b44=_0x4fbeb0,_0x41880f=this[_0x586b44(0x249)](!0x0);return _0x41880f;},'blockSize':0x1});var _0x12be45=_0x171e38['mode']={},_0x456c7d=_0x2c413d[_0x4fbeb0(0x278)]=_0x3e683b[_0x4fbeb0(0x46e)]({'createEncryptor':function(_0x12f64b,_0x52d64a){var _0x3808a6=_0x4fbeb0;return this['Encryptor'][_0x3808a6(0x34b)](_0x12f64b,_0x52d64a);},'createDecryptor':function(_0xe132f9,_0x2de3a1){var _0x1ac082=_0x4fbeb0;return this['Decryptor'][_0x1ac082(0x34b)](_0xe132f9,_0x2de3a1);},'init':function(_0xd3bcb,_0x3551d6){var _0x33e9fa=_0x4fbeb0;this['_cipher']=_0xd3bcb,this[_0x33e9fa(0x2e1)]=_0x3551d6;}}),_0x56e289=_0x12be45[_0x4fbeb0(0x2a7)]=(function(){var _0x51c2c2=_0x4fbeb0,_0x565454=_0x456c7d[_0x51c2c2(0x46e)]();_0x565454[_0x51c2c2(0x3ef)]=_0x565454[_0x51c2c2(0x46e)]({'processBlock':function(_0x1618a0,_0x2a0ef5){var _0x1977aa=_0x51c2c2,_0x4b02e3=this[_0x1977aa(0x385)],_0x300a84=_0x4b02e3[_0x1977aa(0x1c7)];_0x4ec5e3['call'](this,_0x1618a0,_0x2a0ef5,_0x300a84),_0x4b02e3[_0x1977aa(0x1f4)](_0x1618a0,_0x2a0ef5),this['_prevBlock']=_0x1618a0['slice'](_0x2a0ef5,_0x2a0ef5+_0x300a84);}}),_0x565454['Decryptor']=_0x565454[_0x51c2c2(0x46e)]({'processBlock':function(_0x205f83,_0x259c3e){var _0x3b4d53=_0x51c2c2,_0x546f1e=this['_cipher'],_0x476b75=_0x546f1e['blockSize'],_0x48fe92=_0x205f83[_0x3b4d53(0x46a)](_0x259c3e,_0x259c3e+_0x476b75);_0x546f1e[_0x3b4d53(0x310)](_0x205f83,_0x259c3e),_0x4ec5e3['call'](this,_0x205f83,_0x259c3e,_0x476b75),this[_0x3b4d53(0x443)]=_0x48fe92;}});function _0x4ec5e3(_0x55acd5,_0x3c5979,_0x2a33da){var _0x194738=_0x51c2c2,_0x4414ac,_0x299b2e=this[_0x194738(0x2e1)];_0x299b2e?(_0x4414ac=_0x299b2e,this[_0x194738(0x2e1)]=_0x53d4ae):_0x4414ac=this[_0x194738(0x443)];for(var _0x468081=0x0;_0x468081<_0x2a33da;_0x468081++)_0x55acd5[_0x3c5979+_0x468081]^=_0x4414ac[_0x468081];}return _0x565454;}()),_0x2ee815=_0x171e38[_0x4fbeb0(0x423)]={},_0x15a198=_0x2ee815[_0x4fbeb0(0x438)]={'pad':function(_0x16341d,_0x12d6b7){var _0x653c12=_0x4fbeb0;for(var _0x225680=_0x12d6b7*0x4,_0x28a8b4=_0x225680-_0x16341d[_0x653c12(0x4a0)]%_0x225680,_0x554dff=_0x28a8b4<<0x18|_0x28a8b4<<0x10|_0x28a8b4<<0x8|_0x28a8b4,_0x1d723b=[],_0x20902d=0x0;_0x20902d<_0x28a8b4;_0x20902d+=0x4)_0x1d723b[_0x653c12(0x26b)](_0x554dff);var _0x5e85d8=_0xe1c1bb['create'](_0x1d723b,_0x28a8b4);_0x16341d['concat'](_0x5e85d8);},'unpad':function(_0x1c4d14){var _0x69ac3f=_0x4fbeb0,_0x5741d0=_0x1c4d14[_0x69ac3f(0x3cd)][_0x1c4d14[_0x69ac3f(0x4a0)]-0x1>>>0x2]&0xff;_0x1c4d14[_0x69ac3f(0x4a0)]-=_0x5741d0;}};_0x2c413d[_0x4fbeb0(0x203)]=_0x235819['extend']({'cfg':_0x235819[_0x4fbeb0(0x38e)][_0x4fbeb0(0x46e)]({'mode':_0x56e289,'padding':_0x15a198}),'reset':function(){var _0x398edf=_0x4fbeb0,_0x1fbdf0;_0x235819[_0x398edf(0x3dc)][_0x398edf(0x3cc)](this);var _0x477dd1=this[_0x398edf(0x38e)],_0x4cdd41=_0x477dd1['iv'],_0x5b2548=_0x477dd1[_0x398edf(0x2b8)];this[_0x398edf(0x411)]==this[_0x398edf(0x3c9)]?_0x1fbdf0=_0x5b2548['createEncryptor']:(_0x1fbdf0=_0x5b2548['createDecryptor'],this['_minBufferSize']=0x1),this[_0x398edf(0x396)]&&this[_0x398edf(0x396)][_0x398edf(0x3c3)]==_0x1fbdf0?this[_0x398edf(0x396)]['init'](this,_0x4cdd41&&_0x4cdd41[_0x398edf(0x3cd)]):(this[_0x398edf(0x396)]=_0x1fbdf0[_0x398edf(0x3cc)](_0x5b2548,this,_0x4cdd41&&_0x4cdd41[_0x398edf(0x3cd)]),this['_mode'][_0x398edf(0x3c3)]=_0x1fbdf0);},'_doProcessBlock':function(_0x44d5a9,_0x2c3157){var _0x2bd7ae=_0x4fbeb0;this[_0x2bd7ae(0x396)][_0x2bd7ae(0x27d)](_0x44d5a9,_0x2c3157);},'_doFinalize':function(){var _0x345904=_0x4fbeb0,_0x23c40f,_0x450802=this[_0x345904(0x38e)]['padding'];return this['_xformMode']==this[_0x345904(0x3c9)]?(_0x450802[_0x345904(0x423)](this[_0x345904(0x1ab)],this[_0x345904(0x1c7)]),_0x23c40f=this[_0x345904(0x249)](!0x0)):(_0x23c40f=this[_0x345904(0x249)](!0x0),_0x450802[_0x345904(0x3e1)](_0x23c40f)),_0x23c40f;},'blockSize':0x80/0x20});var _0x527406=_0x2c413d[_0x4fbeb0(0x2eb)]=_0x3e683b[_0x4fbeb0(0x46e)]({'init':function(_0x1435b9){var _0x3fb472=_0x4fbeb0;this[_0x3fb472(0x2f6)](_0x1435b9);},'toString':function(_0x593d43){var _0x4ce7cc=_0x4fbeb0;return(_0x593d43||this['formatter'])[_0x4ce7cc(0x280)](this);}}),_0x3a906d=_0x171e38['format']={},_0x100f89=_0x3a906d[_0x4fbeb0(0x437)]={'stringify':function(_0x31b261){var _0x1bf0d6=_0x4fbeb0,_0x3e69d5,_0x133d82=_0x31b261[_0x1bf0d6(0x41e)],_0x33b3fc=_0x31b261[_0x1bf0d6(0x49b)];return _0x33b3fc?_0x3e69d5=_0xe1c1bb[_0x1bf0d6(0x34b)]([0x53616c74,0x65645f5f])[_0x1bf0d6(0x33f)](_0x33b3fc)['concat'](_0x133d82):_0x3e69d5=_0x133d82,_0x3e69d5['toString'](_0x29cac8);},'parse':function(_0x24f310){var _0x37d7b1=_0x4fbeb0,_0x2b7a7c,_0x17813c=_0x29cac8[_0x37d7b1(0x3ec)](_0x24f310),_0x25d41b=_0x17813c[_0x37d7b1(0x3cd)];return _0x25d41b[0x0]==0x53616c74&&_0x25d41b[0x1]==0x65645f5f&&(_0x2b7a7c=_0xe1c1bb[_0x37d7b1(0x34b)](_0x25d41b[_0x37d7b1(0x46a)](0x2,0x4)),_0x25d41b[_0x37d7b1(0x1e6)](0x0,0x4),_0x17813c['sigBytes']-=0x10),_0x527406[_0x37d7b1(0x34b)]({'ciphertext':_0x17813c,'salt':_0x2b7a7c});}},_0x227745=_0x2c413d[_0x4fbeb0(0x33d)]=_0x3e683b['extend']({'cfg':_0x3e683b[_0x4fbeb0(0x46e)]({'format':_0x100f89}),'encrypt':function(_0x2d7c2,_0x3a9d85,_0x512424,_0x230a99){var _0x380455=_0x4fbeb0;_0x230a99=this['cfg'][_0x380455(0x46e)](_0x230a99);var _0x3fb9d0=_0x2d7c2[_0x380455(0x368)](_0x512424,_0x230a99),_0x499301=_0x3fb9d0[_0x380455(0x23f)](_0x3a9d85),_0x399b73=_0x3fb9d0[_0x380455(0x38e)];return _0x527406[_0x380455(0x34b)]({'ciphertext':_0x499301,'key':_0x512424,'iv':_0x399b73['iv'],'algorithm':_0x2d7c2,'mode':_0x399b73[_0x380455(0x2b8)],'padding':_0x399b73[_0x380455(0x31e)],'blockSize':_0x2d7c2[_0x380455(0x1c7)],'formatter':_0x230a99['format']});},'decrypt':function(_0x503f0d,_0x2c520c,_0xb2ae01,_0x49e859){var _0x119eab=_0x4fbeb0;_0x49e859=this[_0x119eab(0x38e)]['extend'](_0x49e859),_0x2c520c=this['_parse'](_0x2c520c,_0x49e859['format']);var _0x41c289=_0x503f0d[_0x119eab(0x441)](_0xb2ae01,_0x49e859)['finalize'](_0x2c520c['ciphertext']);return _0x41c289;},'_parse':function(_0x3723b5,_0x233705){var _0x2809c9=_0x4fbeb0;return typeof _0x3723b5==_0x2809c9(0x406)?_0x233705[_0x2809c9(0x3ec)](_0x3723b5,this):_0x3723b5;}}),_0x3e3315=_0x171e38['kdf']={},_0x40bfe1=_0x3e3315[_0x4fbeb0(0x437)]={'execute':function(_0x6803d,_0x4d44bb,_0x4fca42,_0xbacc01,_0x455e51){var _0x27f128=_0x4fbeb0;if(_0xbacc01||(_0xbacc01=_0xe1c1bb[_0x27f128(0x473)](0x40/0x8)),_0x455e51)var _0xc97ea1=_0x34d201['create']({'keySize':_0x4d44bb+_0x4fca42,'hasher':_0x455e51})['compute'](_0x6803d,_0xbacc01);else var _0xc97ea1=_0x34d201[_0x27f128(0x34b)]({'keySize':_0x4d44bb+_0x4fca42})['compute'](_0x6803d,_0xbacc01);var _0x329b2a=_0xe1c1bb[_0x27f128(0x34b)](_0xc97ea1['words'][_0x27f128(0x46a)](_0x4d44bb),_0x4fca42*0x4);return _0xc97ea1['sigBytes']=_0x4d44bb*0x4,_0x527406['create']({'key':_0xc97ea1,'iv':_0x329b2a,'salt':_0xbacc01});}},_0x307d6a=_0x2c413d[_0x4fbeb0(0x3b3)]=_0x227745[_0x4fbeb0(0x46e)]({'cfg':_0x227745[_0x4fbeb0(0x38e)]['extend']({'kdf':_0x40bfe1}),'encrypt':function(_0x38f36c,_0x1159e2,_0x425ed7,_0x11a4e8){var _0x40becd=_0x4fbeb0;_0x11a4e8=this[_0x40becd(0x38e)][_0x40becd(0x46e)](_0x11a4e8);var _0x4fc186=_0x11a4e8[_0x40becd(0x26c)][_0x40becd(0x264)](_0x425ed7,_0x38f36c[_0x40becd(0x2b9)],_0x38f36c[_0x40becd(0x2a8)],_0x11a4e8['salt'],_0x11a4e8[_0x40becd(0x2da)]);_0x11a4e8['iv']=_0x4fc186['iv'];var _0x1b2960=_0x227745[_0x40becd(0x389)][_0x40becd(0x3cc)](this,_0x38f36c,_0x1159e2,_0x4fc186[_0x40becd(0x420)],_0x11a4e8);return _0x1b2960[_0x40becd(0x2f6)](_0x4fc186),_0x1b2960;},'decrypt':function(_0x2bfbe4,_0xb815b2,_0x39f1a3,_0x4353dd){var _0x53f68e=_0x4fbeb0;_0x4353dd=this[_0x53f68e(0x38e)][_0x53f68e(0x46e)](_0x4353dd),_0xb815b2=this['_parse'](_0xb815b2,_0x4353dd[_0x53f68e(0x289)]);var _0x29cf2e=_0x4353dd[_0x53f68e(0x26c)][_0x53f68e(0x264)](_0x39f1a3,_0x2bfbe4[_0x53f68e(0x2b9)],_0x2bfbe4[_0x53f68e(0x2a8)],_0xb815b2[_0x53f68e(0x49b)],_0x4353dd[_0x53f68e(0x2da)]);_0x4353dd['iv']=_0x29cf2e['iv'];var _0x15d921=_0x227745[_0x53f68e(0x2cc)][_0x53f68e(0x3cc)](this,_0x2bfbe4,_0xb815b2,_0x29cf2e[_0x53f68e(0x420)],_0x4353dd);return _0x15d921;}});}();}));}(Je)),Je[_0x2a0e81(0x35a)];}var Ds=Ve[_0xccc328(0x35a)],si;function Us(){var _0x4b6b1a=_0xccc328;return si||(si=0x1,function(_0x4af3a7,_0x56f7a2){(function(_0x4e0f66,_0x9b3c7c,_0x256518){var _0x5de677=_0x4dde;_0x4af3a7[_0x5de677(0x35a)]=_0x9b3c7c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x13b7b0){var _0x7b8070=_0x4dde;return(function(){var _0x28a1fd=_0x4dde,_0x2ebb98=_0x13b7b0,_0x440ff2=_0x2ebb98[_0x28a1fd(0x34c)],_0x52eda0=_0x440ff2[_0x28a1fd(0x203)],_0x2fecb7=_0x2ebb98[_0x28a1fd(0x216)],_0x550d8c=[],_0x175ff5=[],_0x452761=[],_0x27724c=[],_0x2e9043=[],_0x304d01=[],_0x4f5abd=[],_0x22f3ae=[],_0x2d29b4=[],_0x843eb9=[];(function(){for(var _0x57703d=[],_0x46c217=0x0;_0x46c217<0x100;_0x46c217++)_0x46c217<0x80?_0x57703d[_0x46c217]=_0x46c217<<0x1:_0x57703d[_0x46c217]=_0x46c217<<0x1^0x11b;for(var _0x17bcd1=0x0,_0x5bf3b0=0x0,_0x46c217=0x0;_0x46c217<0x100;_0x46c217++){var _0x51e85c=_0x5bf3b0^_0x5bf3b0<<0x1^_0x5bf3b0<<0x2^_0x5bf3b0<<0x3^_0x5bf3b0<<0x4;_0x51e85c=_0x51e85c>>>0x8^_0x51e85c&0xff^0x63,_0x550d8c[_0x17bcd1]=_0x51e85c,_0x175ff5[_0x51e85c]=_0x17bcd1;var _0x1b9043=_0x57703d[_0x17bcd1],_0x3e4bc2=_0x57703d[_0x1b9043],_0x32df12=_0x57703d[_0x3e4bc2],_0x547d22=_0x57703d[_0x51e85c]*0x101^_0x51e85c*0x1010100;_0x452761[_0x17bcd1]=_0x547d22<<0x18|_0x547d22>>>0x8,_0x27724c[_0x17bcd1]=_0x547d22<<0x10|_0x547d22>>>0x10,_0x2e9043[_0x17bcd1]=_0x547d22<<0x8|_0x547d22>>>0x18,_0x304d01[_0x17bcd1]=_0x547d22;var _0x547d22=_0x32df12*0x1010101^_0x3e4bc2*0x10001^_0x1b9043*0x101^_0x17bcd1*0x1010100;_0x4f5abd[_0x51e85c]=_0x547d22<<0x18|_0x547d22>>>0x8,_0x22f3ae[_0x51e85c]=_0x547d22<<0x10|_0x547d22>>>0x10,_0x2d29b4[_0x51e85c]=_0x547d22<<0x8|_0x547d22>>>0x18,_0x843eb9[_0x51e85c]=_0x547d22,_0x17bcd1?(_0x17bcd1=_0x1b9043^_0x57703d[_0x57703d[_0x57703d[_0x32df12^_0x1b9043]]],_0x5bf3b0^=_0x57703d[_0x57703d[_0x5bf3b0]]):_0x17bcd1=_0x5bf3b0=0x1;}}());var _0x363bc8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x966d6e=_0x2fecb7['AES']=_0x52eda0[_0x28a1fd(0x46e)]({'_doReset':function(){var _0x5e87f9=_0x28a1fd,_0x26e243;if(!(this[_0x5e87f9(0x457)]&&this['_keyPriorReset']===this['_key'])){for(var _0x3ea98e=this[_0x5e87f9(0x383)]=this[_0x5e87f9(0x494)],_0x201ebd=_0x3ea98e[_0x5e87f9(0x3cd)],_0x662fb9=_0x3ea98e[_0x5e87f9(0x4a0)]/0x4,_0x55ebe4=this[_0x5e87f9(0x457)]=_0x662fb9+0x6,_0x5e2414=(_0x55ebe4+0x1)*0x4,_0x166686=this[_0x5e87f9(0x3f1)]=[],_0x30c814=0x0;_0x30c814<_0x5e2414;_0x30c814++)_0x30c814<_0x662fb9?_0x166686[_0x30c814]=_0x201ebd[_0x30c814]:(_0x26e243=_0x166686[_0x30c814-0x1],_0x30c814%_0x662fb9?_0x662fb9>0x6&&_0x30c814%_0x662fb9==0x4&&(_0x26e243=_0x550d8c[_0x26e243>>>0x18]<<0x18|_0x550d8c[_0x26e243>>>0x10&0xff]<<0x10|_0x550d8c[_0x26e243>>>0x8&0xff]<<0x8|_0x550d8c[_0x26e243&0xff]):(_0x26e243=_0x26e243<<0x8|_0x26e243>>>0x18,_0x26e243=_0x550d8c[_0x26e243>>>0x18]<<0x18|_0x550d8c[_0x26e243>>>0x10&0xff]<<0x10|_0x550d8c[_0x26e243>>>0x8&0xff]<<0x8|_0x550d8c[_0x26e243&0xff],_0x26e243^=_0x363bc8[_0x30c814/_0x662fb9|0x0]<<0x18),_0x166686[_0x30c814]=_0x166686[_0x30c814-_0x662fb9]^_0x26e243);for(var _0x102962=this['_invKeySchedule']=[],_0x77aa0e=0x0;_0x77aa0e<_0x5e2414;_0x77aa0e++){var _0x30c814=_0x5e2414-_0x77aa0e;if(_0x77aa0e%0x4)var _0x26e243=_0x166686[_0x30c814];else var _0x26e243=_0x166686[_0x30c814-0x4];_0x77aa0e<0x4||_0x30c814<=0x4?_0x102962[_0x77aa0e]=_0x26e243:_0x102962[_0x77aa0e]=_0x4f5abd[_0x550d8c[_0x26e243>>>0x18]]^_0x22f3ae[_0x550d8c[_0x26e243>>>0x10&0xff]]^_0x2d29b4[_0x550d8c[_0x26e243>>>0x8&0xff]]^_0x843eb9[_0x550d8c[_0x26e243&0xff]];}}},'encryptBlock':function(_0x587f25,_0x2e23d2){var _0x36a9dc=_0x28a1fd;this[_0x36a9dc(0x1f1)](_0x587f25,_0x2e23d2,this['_keySchedule'],_0x452761,_0x27724c,_0x2e9043,_0x304d01,_0x550d8c);},'decryptBlock':function(_0x3a1c6a,_0x609b79){var _0x4b984b=_0x3a1c6a[_0x609b79+0x1];_0x3a1c6a[_0x609b79+0x1]=_0x3a1c6a[_0x609b79+0x3],_0x3a1c6a[_0x609b79+0x3]=_0x4b984b,this['_doCryptBlock'](_0x3a1c6a,_0x609b79,this['_invKeySchedule'],_0x4f5abd,_0x22f3ae,_0x2d29b4,_0x843eb9,_0x175ff5);var _0x4b984b=_0x3a1c6a[_0x609b79+0x1];_0x3a1c6a[_0x609b79+0x1]=_0x3a1c6a[_0x609b79+0x3],_0x3a1c6a[_0x609b79+0x3]=_0x4b984b;},'_doCryptBlock':function(_0x544589,_0x4cb685,_0x14a82e,_0x449a71,_0xab5571,_0x159c8b,_0x392eba,_0x4665f8){for(var _0xd42a4a=this['_nRounds'],_0x5d9d17=_0x544589[_0x4cb685]^_0x14a82e[0x0],_0x22b3eb=_0x544589[_0x4cb685+0x1]^_0x14a82e[0x1],_0xc4b66a=_0x544589[_0x4cb685+0x2]^_0x14a82e[0x2],_0x4a9888=_0x544589[_0x4cb685+0x3]^_0x14a82e[0x3],_0x1d0333=0x4,_0x4921b1=0x1;_0x4921b1<_0xd42a4a;_0x4921b1++){var _0x2db1fe=_0x449a71[_0x5d9d17>>>0x18]^_0xab5571[_0x22b3eb>>>0x10&0xff]^_0x159c8b[_0xc4b66a>>>0x8&0xff]^_0x392eba[_0x4a9888&0xff]^_0x14a82e[_0x1d0333++],_0x321f9d=_0x449a71[_0x22b3eb>>>0x18]^_0xab5571[_0xc4b66a>>>0x10&0xff]^_0x159c8b[_0x4a9888>>>0x8&0xff]^_0x392eba[_0x5d9d17&0xff]^_0x14a82e[_0x1d0333++],_0x6d5d83=_0x449a71[_0xc4b66a>>>0x18]^_0xab5571[_0x4a9888>>>0x10&0xff]^_0x159c8b[_0x5d9d17>>>0x8&0xff]^_0x392eba[_0x22b3eb&0xff]^_0x14a82e[_0x1d0333++],_0x88da76=_0x449a71[_0x4a9888>>>0x18]^_0xab5571[_0x5d9d17>>>0x10&0xff]^_0x159c8b[_0x22b3eb>>>0x8&0xff]^_0x392eba[_0xc4b66a&0xff]^_0x14a82e[_0x1d0333++];_0x5d9d17=_0x2db1fe,_0x22b3eb=_0x321f9d,_0xc4b66a=_0x6d5d83,_0x4a9888=_0x88da76;}var _0x2db1fe=(_0x4665f8[_0x5d9d17>>>0x18]<<0x18|_0x4665f8[_0x22b3eb>>>0x10&0xff]<<0x10|_0x4665f8[_0xc4b66a>>>0x8&0xff]<<0x8|_0x4665f8[_0x4a9888&0xff])^_0x14a82e[_0x1d0333++],_0x321f9d=(_0x4665f8[_0x22b3eb>>>0x18]<<0x18|_0x4665f8[_0xc4b66a>>>0x10&0xff]<<0x10|_0x4665f8[_0x4a9888>>>0x8&0xff]<<0x8|_0x4665f8[_0x5d9d17&0xff])^_0x14a82e[_0x1d0333++],_0x6d5d83=(_0x4665f8[_0xc4b66a>>>0x18]<<0x18|_0x4665f8[_0x4a9888>>>0x10&0xff]<<0x10|_0x4665f8[_0x5d9d17>>>0x8&0xff]<<0x8|_0x4665f8[_0x22b3eb&0xff])^_0x14a82e[_0x1d0333++],_0x88da76=(_0x4665f8[_0x4a9888>>>0x18]<<0x18|_0x4665f8[_0x5d9d17>>>0x10&0xff]<<0x10|_0x4665f8[_0x22b3eb>>>0x8&0xff]<<0x8|_0x4665f8[_0xc4b66a&0xff])^_0x14a82e[_0x1d0333++];_0x544589[_0x4cb685]=_0x2db1fe,_0x544589[_0x4cb685+0x1]=_0x321f9d,_0x544589[_0x4cb685+0x2]=_0x6d5d83,_0x544589[_0x4cb685+0x3]=_0x88da76;},'keySize':0x100/0x20});_0x2ebb98[_0x28a1fd(0x3c8)]=_0x52eda0[_0x28a1fd(0x415)](_0x966d6e);}()),_0x13b7b0[_0x7b8070(0x3c8)];}));}(Ve)),Ve[_0x4b6b1a(0x35a)];}var As=Us();const ws=He(As);var Ps=Di();function _0x4dde(_0xaecf86,_0x13bce0){var _0x58f5d5=_0x58f5();return _0x4dde=function(_0x4dde78,_0xf80deb){_0x4dde78=_0x4dde78-0x1a2;var _0x3e68c=_0x58f5d5[_0x4dde78];return _0x3e68c;},_0x4dde(_0xaecf86,_0x13bce0);}const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0xccc328(0x35a)],ai;function xs(){return ai||(ai=0x1,function(_0x59d7fb,_0x108fce){(function(_0x20aede,_0x53231e){var _0x3f67dc=_0x4dde;_0x59d7fb[_0x3f67dc(0x35a)]=_0x53231e(ie());}(Ls,function(_0x4feefa){var _0x2b9fca=_0x4dde;return _0x4feefa[_0x2b9fca(0x2b5)][_0x2b9fca(0x1b8)];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0xccc328(0x35a)],oi;function Hs(){var _0x111831=_0xccc328;return oi||(oi=0x1,function(_0x1df754,_0x1544b4){(function(_0x3aaf02,_0x33a417){_0x1df754['exports']=_0x33a417(ie());}($s,function(_0x415d97){var _0x4b56c1=_0x4dde;return(function(){var _0x131cd6=_0x4dde;if(typeof ArrayBuffer=='function'){var _0x5b31b5=_0x415d97,_0x5bb972=_0x5b31b5[_0x131cd6(0x34c)],_0xb1dbf9=_0x5bb972[_0x131cd6(0x35d)],_0x95830e=_0xb1dbf9[_0x131cd6(0x371)],_0x5a312c=_0xb1dbf9[_0x131cd6(0x371)]=function(_0xf219d6){var _0x2aa840=_0x131cd6;if(_0xf219d6 instanceof ArrayBuffer&&(_0xf219d6=new Uint8Array(_0xf219d6)),(_0xf219d6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf219d6 instanceof Uint8ClampedArray||_0xf219d6 instanceof Int16Array||_0xf219d6 instanceof Uint16Array||_0xf219d6 instanceof Int32Array||_0xf219d6 instanceof Uint32Array||_0xf219d6 instanceof Float32Array||_0xf219d6 instanceof Float64Array)&&(_0xf219d6=new Uint8Array(_0xf219d6[_0x2aa840(0x356)],_0xf219d6[_0x2aa840(0x3a1)],_0xf219d6[_0x2aa840(0x28e)])),_0xf219d6 instanceof Uint8Array){for(var _0x23270c=_0xf219d6['byteLength'],_0x40050f=[],_0x1eab22=0x0;_0x1eab22<_0x23270c;_0x1eab22++)_0x40050f[_0x1eab22>>>0x2]|=_0xf219d6[_0x1eab22]<<0x18-_0x1eab22%0x4*0x8;_0x95830e[_0x2aa840(0x3cc)](this,_0x40050f,_0x23270c);}else _0x95830e[_0x2aa840(0x352)](this,arguments);};_0x5a312c['prototype']=_0xb1dbf9;}}()),_0x415d97[_0x4b56c1(0x34c)][_0x4b56c1(0x35d)];}));}(Ze)),Ze[_0x111831(0x35a)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0xccc328(0x35a)],ci;function Vs(){return ci||(ci=0x1,function(_0x1eedd4,_0x1becfd){(function(_0x119473,_0x407a0f,_0xb5f154){var _0x4f1ff4=_0x4dde;_0x1eedd4[_0x4f1ff4(0x35a)]=_0x407a0f(ie(),Ai());}(Fs,function(_0x39e4ae){var _0x49cc41=_0x4dde;return _0x39e4ae[_0x49cc41(0x423)][_0x49cc41(0x246)]={'pad':function(){},'unpad':function(){}},_0x39e4ae[_0x49cc41(0x423)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x3c5a53,_0x36b14f){var _0x2ebdb6=_0xccc328;const _0x4a82f3=_0x36b14f-_0x3c5a53['length']%_0x36b14f,_0x4ea2a2=String[_0x2ebdb6(0x4a1)](_0x4a82f3)[_0x2ebdb6(0x3bf)](_0x4a82f3);return _0x3c5a53+_0x4ea2a2;}function Ys(_0x21cf34,_0x2db255){var _0x1999ea=_0xccc328;const _0x40fc1f=js[_0x1999ea(0x473)](0x10),_0x38145a=Ks(_0x21cf34,0x10),_0x3a7d3b=ws[_0x1999ea(0x389)](ks[_0x1999ea(0x3ec)](_0x38145a),ri[_0x1999ea(0x3ec)](_0x2db255),{'iv':_0x40fc1f,'padding':Ws});return _0x40fc1f[_0x1999ea(0x33f)](_0x3a7d3b[_0x1999ea(0x41e)])[_0x1999ea(0x447)](ri);}function qs(){var _0x256edf=_0xccc328;const _0x3161be=_0x4af7ba()['__Key__'];if(_0x3161be){const _0x4c264a={'time':Math[_0x256edf(0x40a)](Date['now']()/0x3e8),'domain':location[_0x256edf(0x302)]};return Ys(JSON[_0x256edf(0x280)](_0x4c264a),_0x3161be);}}var zs=Object[_0xccc328(0x2bf)],Js=(_0x17a5f5,_0x1d0fe5,_0x15553a,_0x5f22e9)=>{for(var _0x34b11c=_0x5f22e9>0x1?void 0x0:_0x5f22e9?zs(_0x1d0fe5,_0x15553a):_0x1d0fe5,_0x2eb446=_0x17a5f5['length']-0x1,_0x550db2;_0x2eb446>=0x0;_0x2eb446--)(_0x550db2=_0x17a5f5[_0x2eb446])&&(_0x34b11c=_0x550db2(_0x34b11c)||_0x34b11c);return _0x34b11c;},Xs=(_0x5cd5b6,_0x39bf52)=>(_0x3d87fb,_0x1335e5)=>_0x39bf52(_0x3d87fb,_0x1335e5,_0x5cd5b6);let at=class{constructor(_0x5c9e85){var _0x5753e4=_0xccc328;this[_0x5753e4(0x3ee)]=_0x5c9e85,this[_0x5753e4(0x35b)]();}[_0xccc328(0x35b)](){var _0x2d4d62=_0xccc328;this[_0x2d4d62(0x3ee)][_0x2d4d62(0x1e4)]({'interceptor':(_0x24eb73,_0x279d4d)=>{var _0x416cfa=_0x2d4d62;const _0x28d4e7=_0x24eb73[_0x416cfa(0x24c)],_0x32612f=qs();return _0x32612f&&_0x28d4e7['set'](_0x416cfa(0x296),_0x32612f),_0x279d4d(_0x24eb73);}});}};at=Js([Xs(0x0,_0x42d086(_0x44834c))],at);var Zs=Object[_0xccc328(0x2bf)],Qs=(_0x911c4d,_0x3a28e7,_0x9fa05d,_0x45a000)=>{var _0x59fd8d=_0xccc328;for(var _0x9c9537=_0x45a000>0x1?void 0x0:_0x45a000?Zs(_0x3a28e7,_0x9fa05d):_0x3a28e7,_0x3eee18=_0x911c4d[_0x59fd8d(0x489)]-0x1,_0x96adbf;_0x3eee18>=0x0;_0x3eee18--)(_0x96adbf=_0x911c4d[_0x3eee18])&&(_0x9c9537=_0x96adbf(_0x9c9537)||_0x9c9537);return _0x9c9537;},mt=(_0x489eca,_0x223587)=>(_0x3fc57a,_0x388838)=>_0x223587(_0x3fc57a,_0x388838,_0x489eca);let bt=class extends _0x694488{constructor(_0x38eeaf,_0x494f15,_0x1e0324){var _0x1c3c02=_0xccc328;super(),N(this,_0x1c3c02(0x1cd),new _0x12344d(null)),N(this,_0x1c3c02(0x24f),this[_0x1c3c02(0x1cd)][_0x1c3c02(0x366)]()),(this[_0x1c3c02(0x242)]=_0x38eeaf,this[_0x1c3c02(0x3bc)]=_0x494f15,this['_localCacheService']=_0x1e0324);}async['loadUnit'](_0x533d0e,_0x253fee,_0x15a35f){var _0x3f031c=_0xccc328;this[_0x3f031c(0x1cd)][_0x3f031c(0x419)]({'unitId':_0x533d0e,'type':_0x253fee,'subUnitId':_0x15a35f});let _0x54bb59=null;switch(_0x253fee){case Q[_0x3f031c(0x2db)]:{_0x54bb59=await this[_0x3f031c(0x2e8)](_0x533d0e);break;}case Q[_0x3f031c(0x4a4)]:{_0x54bb59=await this[_0x3f031c(0x1ef)](_0x533d0e);break;}default:{this[_0x3f031c(0x242)][_0x3f031c(0x4ae)](_0x3f031c(0x33b),_0x3f031c(0x1d3));break;}}return _0x54bb59;}async['_loadSheet'](_0x131b7b){var _0x501ebd=_0xccc328,_0x1b095b;let _0x3ddebb=0x0;const _0x436f1e=await((_0x1b095b=this['_localCacheService'])==null?void 0x0:_0x1b095b['loadOfflineData'](_0x131b7b));return _0x436f1e&&(_0x436f1e[_0x501ebd(0x424)]||_0x436f1e[_0x501ebd(0x232)][_0x501ebd(0x489)]!==0x0)&&(_0x3ddebb=_0x436f1e[_0x501ebd(0x2aa)]),_0x3ddebb===0x0&&this[_0x501ebd(0x242)][_0x501ebd(0x353)](_0x501ebd(0x33b),_0x501ebd(0x3eb)),this[_0x501ebd(0x3bc)][_0x501ebd(0x25d)](_0x131b7b,_0x3ddebb);}async[_0xccc328(0x1ef)](_0x2f10bf){var _0x2405e2=_0xccc328,_0x22c25c;let _0x510c57=0x0;const _0xdeb76c=await((_0x22c25c=this['_localCacheService'])==null?void 0x0:_0x22c25c[_0x2405e2(0x1d4)](_0x2f10bf));return _0xdeb76c&&(_0xdeb76c[_0x2405e2(0x424)]||_0xdeb76c[_0x2405e2(0x232)]['length']!==0x0)&&(_0x510c57=_0xdeb76c[_0x2405e2(0x2aa)]),_0x510c57===0x0&&this[_0x2405e2(0x242)][_0x2405e2(0x353)](_0x2405e2(0x33b),_0x2405e2(0x3eb)),this[_0x2405e2(0x3bc)][_0x2405e2(0x335)](_0x2f10bf,_0x510c57);}};bt=Qs([mt(0x0,_0x48685b),mt(0x1,_0x42d086(_0x5d69c8)),mt(0x2,_0x4a4437(J))],bt);var er=Object[_0xccc328(0x2bf)],tr=(_0x168b89,_0x3555ca,_0x33cf77,_0x239206)=>{var _0x7a72b8=_0xccc328;for(var _0x3c7b7b=_0x239206>0x1?void 0x0:_0x239206?er(_0x3555ca,_0x33cf77):_0x3555ca,_0x18d3e3=_0x168b89[_0x7a72b8(0x489)]-0x1,_0x3746b2;_0x18d3e3>=0x0;_0x18d3e3--)(_0x3746b2=_0x168b89[_0x18d3e3])&&(_0x3c7b7b=_0x3746b2(_0x3c7b7b)||_0x3c7b7b);return _0x3c7b7b;},gt=(_0x2e3273,_0x539f8e)=>(_0x129149,_0x1893cd)=>_0x539f8e(_0x129149,_0x1893cd,_0x2e3273);const ir=['image/png',_0xccc328(0x1fc),_0xccc328(0x3e0),_0xccc328(0x308),'image/bmp'],nr=0x5*0x400*0x400,sr=_0xccc328(0x48e),rr='/universer-api/stream/file/upload',ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0xccc328(0x29e);let Ot=class{constructor(_0x510ad6,_0x487e14,_0x102d01){var _0x3fab93=_0xccc328;N(this,_0x3fab93(0x456),0x0),N(this,_0x3fab93(0x394),new _0x364bef()),N(this,'change$',this[_0x3fab93(0x394)]),N(this,_0x3fab93(0x34a),new Map()),(this[_0x3fab93(0x3ee)]=_0x510ad6,this[_0x3fab93(0x20b)]=_0x487e14,this['_univerInstanceService']=_0x102d01);}[_0xccc328(0x21f)](_0x4918d4){var _0x23a04a=_0xccc328;this[_0x23a04a(0x456)]=_0x4918d4,this[_0x23a04a(0x394)][_0x23a04a(0x419)](_0x4918d4);}[_0xccc328(0x24e)](_0x52f147,_0x286eb6){var _0x24c810=_0xccc328;if(_0x286eb6===_0x63df15[_0x24c810(0x497)]){const _0x9b1d60=new Image();return _0x9b1d60[_0x24c810(0x281)]=_0x52f147,_0x9b1d60;}return this[_0x24c810(0x34a)][_0x24c810(0x40e)](_0x52f147);}[_0xccc328(0x1a7)](_0x2eb41b,_0x19688f,_0xb5abd9){var _0x54eee7=_0xccc328;_0x19688f===_0x63df15['BASE64']||_0xb5abd9==null||this[_0x54eee7(0x34a)][_0x54eee7(0x382)](_0x2eb41b,_0xb5abd9);}async[_0xccc328(0x36b)](_0x9b6644){var _0x742cb3=_0xccc328;try{const _0x2a5e3c=this[_0x742cb3(0x1bf)](this[_0x742cb3(0x315)](),''+_0x9b6644),_0x2f74b7=(await this[_0x742cb3(0x3ee)][_0x742cb3(0x40e)](_0x2a5e3c))[_0x742cb3(0x1a5)];if(_0x2f74b7[_0x742cb3(0x4ae)]&&_0x2f74b7[_0x742cb3(0x4ae)][_0x742cb3(0x3d3)]===Si['OK']){const _0xb73d1a=new URL(_0x2f74b7[_0x742cb3(0x34f)],this[_0x742cb3(0x1c2)]())[_0x742cb3(0x447)]();return Promise[_0x742cb3(0x1a8)](_0xb73d1a);}return Promise[_0x742cb3(0x386)](_0x2f74b7[_0x742cb3(0x4ae)]);}catch(_0xeec08b){return Promise[_0x742cb3(0x386)](_0xeec08b);}}async[_0xccc328(0x31b)](_0x5880a0){var _0x12f9c1=_0xccc328;let _0x149536='';if(!ir['includes'](_0x5880a0['type']))return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9[_0x12f9c1(0x361)]));if(_0x5880a0[_0x12f9c1(0x470)]>nr)return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9[_0x12f9c1(0x277)]));try{const _0x355870=new FormData();_0x355870['append'](_0x12f9c1(0x2e0),_0x5880a0);const _0x99a38b=this[_0x12f9c1(0x3a9)]['getFocusedUnit'](),_0x155902=_0x99a38b==null?void 0x0:_0x99a38b['getUnitId']();if(!_0x155902)throw new Error(_0x12f9c1(0x26e));const _0x1fcaf6=this['_getUploadFileURL']()+_0x12f9c1(0x1fa)+_0x5880a0[_0x12f9c1(0x470)]['toString']()+'&source='+Ei[_0x12f9c1(0x47d)]+_0x12f9c1(0x1df)+encodeURIComponent(_0x155902),_0x3eba41={'body':_0x355870},_0x2c16d7=(await this[_0x12f9c1(0x3ee)][_0x12f9c1(0x403)](_0x1fcaf6,_0x3eba41))[_0x12f9c1(0x1a5)];if(typeof _0x2c16d7['FileId']!=_0x12f9c1(0x406))return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9['ERROR_IMAGE']));_0x149536=_0x2c16d7[_0x12f9c1(0x256)];}catch{return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9['ERROR_IMAGE']));}return new Promise((_0x126d12,_0x30fb89)=>{var _0x125751=_0x12f9c1;const _0x12c411=new FileReader();_0x12c411[_0x125751(0x2dd)](_0x5880a0),_0x12c411['onload']=_0x595f27=>{var _0x18483f=_0x125751,_0x5b7190;const _0x584986=(_0x5b7190=_0x595f27[_0x18483f(0x45e)])==null?void 0x0:_0x5b7190[_0x18483f(0x29d)];if(_0x584986==null){this['_decreaseWaiting'](),_0x30fb89(new Error(_0x415fb9[_0x18483f(0x381)]));return;}const _0x99a7c0=_0x195c75[_0x18483f(0x303)](0x6);_0x126d12({'imageId':_0x99a7c0,'imageSourceType':_0x63df15[_0x18483f(0x433)],'source':_0x149536,'base64Cache':_0x584986,'status':_0x415fb9[_0x18483f(0x3d6)]}),this[_0x18483f(0x425)]();};});}[_0xccc328(0x480)](){var _0x14121d=_0xccc328,_0x53d135,_0x9e5643;const _0x1f57b1=this[_0x14121d(0x20b)][_0x14121d(0x38c)](sr),_0x4eddbb=this[_0x14121d(0x20b)][_0x14121d(0x38c)](q);return(_0x9e5643=(_0x53d135=_0x4eddbb==null?void 0x0:_0x4eddbb[_0x14121d(0x430)])!=null?_0x53d135:_0x1f57b1)!=null?_0x9e5643:rr;}[_0xccc328(0x315)](){var _0x346a87=_0xccc328,_0x15ec86,_0x39f250;const _0x443d57=this['_configService'][_0x346a87(0x38c)](ar),_0xe54c0f=this[_0x346a87(0x20b)][_0x346a87(0x38c)](q);return(_0x39f250=(_0x15ec86=_0xe54c0f==null?void 0x0:_0xe54c0f[_0x346a87(0x36a)])!=null?_0x15ec86:_0x443d57)!=null?_0x39f250:or;}[_0xccc328(0x1c2)](){var _0x19a801=_0xccc328,_0x583163;const _0x33746d=this[_0x19a801(0x20b)][_0x19a801(0x38c)](q);return(_0x583163=_0x33746d==null?void 0x0:_0x33746d[_0x19a801(0x3c1)])!=null?_0x583163:location['origin'];}[_0xccc328(0x1bf)](_0x8be76c,_0x204dad){var _0x1a8c83=_0xccc328;return _0x8be76c[_0x1a8c83(0x39d)](_0x1a8c83(0x261),_0x204dad);}[_0xccc328(0x425)](){var _0x1eb6b3=_0xccc328;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x1eb6b3(0x456)]);}};Ot=tr([gt(0x0,_0x42d086(_0x44834c)),gt(0x1,_0x32d0f8),gt(0x2,_0x42d086(_0xca8903))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x4fa53e,_0x41f967,_0x37a78f,_0x44b359)=>{var _0x1bbd25=_0xccc328;for(var _0x3d3ae2=_0x44b359>0x1?void 0x0:_0x44b359?cr(_0x41f967,_0x37a78f):_0x41f967,_0x511e80=_0x4fa53e[_0x1bbd25(0x489)]-0x1,_0x5e717f;_0x511e80>=0x0;_0x511e80--)(_0x5e717f=_0x4fa53e[_0x511e80])&&(_0x3d3ae2=_0x5e717f(_0x3d3ae2)||_0x3d3ae2);return _0x3d3ae2;},hi=(_0x4fddcf,_0x967e88)=>(_0x19efec,_0x4f71fe)=>_0x967e88(_0x19efec,_0x4f71fe,_0x4fddcf);const _r=_0xccc328(0x2e2);let yt=class{constructor(_0x43dbcb,_0x25e0ef){var _0x56bd4e=_0xccc328;this[_0x56bd4e(0x20b)]=_0x43dbcb,this[_0x56bd4e(0x287)]=_0x25e0ef;}[_0xccc328(0x1d5)](){var _0x251865=_0xccc328,_0x38e27b,_0x53f79b;const _0x2a7bf5=this[_0x251865(0x20b)][_0x251865(0x38c)](Ni),_0x345fc7=this[_0x251865(0x20b)][_0x251865(0x38c)](q);return(_0x53f79b=(_0x38e27b=_0x345fc7==null?void 0x0:_0x345fc7[_0x251865(0x3b0)])!=null?_0x38e27b:_0x2a7bf5)!=null?_0x53f79b:_r;}async[_0xccc328(0x440)](_0x392df6){var _0x2c1a38=_0xccc328;const _0x5bc89f=this[_0x2c1a38(0x1d5)]()+_0x2c1a38(0x2e6);return{'list':[{'title':_0x2c1a38(0x227),'mentions':(await this[_0x2c1a38(0x287)][_0x2c1a38(0x40e)](_0x5bc89f,{'params':{'objectID':_0x392df6[_0x2c1a38(0x2a6)],'unitID':_0x392df6[_0x2c1a38(0x2a6)]}}))[_0x2c1a38(0x1a5)][_0x2c1a38(0x38f)][_0x2c1a38(0x404)](_0x278ce0=>({'objectId':_0x278ce0['id'],'name':_0x278ce0[_0x2c1a38(0x362)]['name'],'metadata':{'icon':_0x278ce0[_0x2c1a38(0x362)]['avatar']},'label':_0x278ce0[_0x2c1a38(0x362)][_0x2c1a38(0x465)],'objectType':_0x5f2993['PERSON']})),'metadata':{},'type':_0x5f2993[_0x2c1a38(0x30d)]}]};}};yt=hr([hi(0x0,_0x42d086(_0x32d0f8)),hi(0x1,_0x42d086(_0x44834c))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0xf58fa,_0x2ca5d9,_0x40c31d,_0x535cd5)=>{var _0x616c07=_0xccc328;for(var _0x414cad=_0x535cd5>0x1?void 0x0:_0x535cd5?lr(_0x2ca5d9,_0x40c31d):_0x2ca5d9,_0x29878f=_0xf58fa[_0x616c07(0x489)]-0x1,_0x32e0c5;_0x29878f>=0x0;_0x29878f--)(_0x32e0c5=_0xf58fa[_0x29878f])&&(_0x414cad=_0x32e0c5(_0x414cad)||_0x414cad);return _0x414cad;},we=(_0x47002e,_0x512c6b)=>(_0x28fedd,_0x49529b)=>_0x512c6b(_0x28fedd,_0x49529b,_0x47002e);let ot=class extends _0x694488{constructor(_0x57debf,_0x2eb47f,_0x2f7dec,_0x8e98fc,_0x195fed){var _0x364ff6=_0xccc328;super(),this[_0x364ff6(0x426)]=_0x57debf,this[_0x364ff6(0x3a9)]=_0x2eb47f,this[_0x364ff6(0x1ee)]=_0x2f7dec,this[_0x364ff6(0x49c)]=_0x8e98fc,this[_0x364ff6(0x22d)]=_0x195fed,this[_0x364ff6(0x329)](),this[_0x364ff6(0x1f9)]();}[_0xccc328(0x1f9)](){var _0x5c1ee5=_0xccc328;const _0x4f2764=async _0x2b92c9=>{var _0x221114=_0x4dde;(await this[_0x221114(0x49c)][_0x221114(0x1b3)](_0x2b92c9))[_0x221114(0x32a)]['pipe'](_0x217dd3(_0x20a5c5=>_0x20a5c5[_0x221114(0x3f4)]===_0x4c124f[_0x221114(0x3a4)]),_0x59d388(this[_0x221114(0x22b)]))['subscribe'](_0x14f920=>{var _0x5c558b=_0x221114;const _0x9a1365=_0x14f920,{reason:_0x561934}=_0x9a1365['data'];this[_0x5c558b(0x22d)][_0x5c558b(0x460)]({'id':re[_0x5c558b(0x1a2)],'data':_0x561934}),this['_permissionService']['updatePermissionPoint'](new _0x1bf5b8(_0x2b92c9)['id'],!0x1),this[_0x5c558b(0x49c)]['closeSession'](_0x2b92c9);});};_0x40c80f(this[_0x5c1ee5(0x3a9)]['getTypeOfUnitAdded$'](_0x2a060b[_0x5c1ee5(0x2db)]),this['_univerInstanceService'][_0x5c1ee5(0x299)](_0x2a060b[_0x5c1ee5(0x4a4)]))[_0x5c1ee5(0x2fc)](_0x422352(_0x186d3c=>_0x186d3c['getUnitId']()),_0x217dd3(_0x4c553f=>!_0xc59106(_0x4c553f)),_0x59d388(this['dispose$']))[_0x5c1ee5(0x2d7)](_0x5ed416=>{_0x4f2764(_0x5ed416);});}[_0xccc328(0x329)](){var _0x2efea8=_0xccc328;const _0x2a286f=async _0x58c837=>{var _0x244c0a=_0x4dde;const _0x110501=await this[_0x244c0a(0x49c)]['requireSession'](_0x58c837),_0x65f0ab=this['_injector'][_0x244c0a(0x40e)](_0x447f11);_0x110501['event$'][_0x244c0a(0x2fc)](_0x217dd3(_0x260ff0=>_0x260ff0[_0x244c0a(0x3f4)]===_0x4c124f[_0x244c0a(0x4ab)]),_0x59d388(this[_0x244c0a(0x22b)]))[_0x244c0a(0x2d7)](_0x43151e=>{var _0x40d1a6=_0x244c0a;const _0x54cefb=_0x43151e,{objectId:_0x3be0b2}=_0x54cefb[_0x40d1a6(0x43a)];_0x3be0b2===_0x58c837?_0x65f0ab[_0x40d1a6(0x464)](_0x58c837):_0x65f0ab[_0x40d1a6(0x1b7)](_0x58c837,_0x3be0b2);});};_0x40c80f(this['_univerInstanceService'][_0x2efea8(0x299)](_0x2a060b[_0x2efea8(0x2db)]))[_0x2efea8(0x2fc)](_0x422352(_0x56e607=>_0x56e607[_0x2efea8(0x1de)]()),_0x217dd3(_0x4102db=>!_0xc59106(_0x4102db)),_0x59d388(this[_0x2efea8(0x22b)]))[_0x2efea8(0x2d7)](_0x4909c2=>{_0x2a286f(_0x4909c2);});}};ot=ur([we(0x0,_0x42d086(_0x213b7b)),we(0x1,_0xca8903),we(0x2,_0x3f7473),we(0x3,_0x42d086(xe)),we(0x4,_0x42d086(pe))],ot);var dr=Object[_0xccc328(0x2bf)],fr=(_0x4e5090,_0x5090e1,_0x36a821,_0x348f1f)=>{var _0x2d116d=_0xccc328;for(var _0x14336c=_0x348f1f>0x1?void 0x0:_0x348f1f?dr(_0x5090e1,_0x36a821):_0x5090e1,_0x2103dd=_0x4e5090[_0x2d116d(0x489)]-0x1,_0x4942cd;_0x2103dd>=0x0;_0x2103dd--)(_0x4942cd=_0x4e5090[_0x2103dd])&&(_0x14336c=_0x4942cd(_0x14336c)||_0x14336c);return _0x14336c;},_i=(_0x2b4a09,_0x5bbec5)=>(_0x4b8389,_0x5ccc3c)=>_0x5bbec5(_0x4b8389,_0x5ccc3c,_0x2b4a09);let Nt=class{constructor(_0x168529,_0x37e112){var _0x1ac4a6=_0xccc328;this[_0x1ac4a6(0x20b)]=_0x168529,this[_0x1ac4a6(0x3ee)]=_0x37e112;}async[_0xccc328(0x2df)](_0x556ea4,_0x15b3c5){var _0x10358d=_0xccc328,_0x4eeac2;const {unitID:_0x1150ae,type:_0x1bb159,revision:_0x107af6=0x0}=_0x15b3c5,_0x4f9440=this['getSnapshotAPIPath']()+'/'+_0x1bb159+_0x10358d(0x279)+_0x1150ae+_0x10358d(0x48a)+_0x107af6,_0x2b1387=(await this[_0x10358d(0x3ee)][_0x10358d(0x40e)](_0x4f9440))[_0x10358d(0x1a5)],_0x2e0a42=(_0x4eeac2=_0x2b1387['snapshot'])==null?void 0x0:_0x4eeac2[_0x10358d(0x214)];if(_0x2e0a42){const _0x24e328=_0x2e0a42==null?void 0x0:_0x2e0a42[_0x10358d(0x34d)],_0x83ed52=_0x5bd5e4[_0x10358d(0x26a)](_0x2cb6ba(_0x24e328));_0x2e0a42[_0x10358d(0x34d)]=_0x83ed52,Object[_0x10358d(0x1e1)](_0x2e0a42[_0x10358d(0x39c)])[_0x10358d(0x412)](([,_0x54c90b])=>{var _0x2899dd=_0x10358d;const _0x5cd7fa=_0x54c90b[_0x2899dd(0x34d)],_0x5b25e3=_0x5bd5e4['encode'](_0x2cb6ba(_0x5cd7fa));_0x54c90b[_0x2899dd(0x34d)]=_0x5b25e3;});}return _0x2b1387;}async[_0xccc328(0x298)](_0x61561c,_0x304a41){var _0x5ed226=_0xccc328;const {unitID:_0x5ab9da,type:_0x86fbc8,blockID:_0x32662d}=_0x304a41,_0x14961b=this[_0x5ed226(0x25c)]()+'/'+_0x86fbc8+_0x5ed226(0x279)+_0x5ab9da+_0x5ed226(0x34e)+_0x32662d;return(await this[_0x5ed226(0x3ee)][_0x5ed226(0x40e)](_0x14961b))[_0x5ed226(0x1a5)];}async[_0xccc328(0x364)](_0x2f953f,_0xc0dc8c){var _0x45b8b6=_0xccc328;const {unitID:_0x275a4d,type:_0x4254d5,blockID:_0x243741}=_0xc0dc8c,_0x2a674a=this[_0x45b8b6(0x25c)]()+_0x45b8b6(0x34e)+_0x4254d5+'/unit/'+_0x275a4d+_0x45b8b6(0x34e)+_0x243741;return(await this['_httpService'][_0x45b8b6(0x40e)](_0x2a674a))[_0x45b8b6(0x1a5)];}async['fetchMissingChangesets'](_0x5821c0,_0x5bf5b0){var _0x2ce771=_0xccc328;const {unitID:_0x1027f4,type:_0x1bdceb,from:_0x18c630,to:_0x19308e}=_0x5bf5b0,_0x35a85d=this[_0x2ce771(0x25c)]()+'/'+_0x1bdceb+_0x2ce771(0x279)+_0x1027f4+_0x2ce771(0x284)+_0x18c630+_0x2ce771(0x343)+_0x19308e;return(await this['_httpService']['get'](_0x35a85d))[_0x2ce771(0x1a5)];}['getSnapshotAPIPath'](){var _0x271945=_0xccc328,_0x123786;return(_0x123786=this[_0x271945(0x20b)][_0x271945(0x38c)](Sn))!=null?_0x123786:this['_getAPIPrefix']();}[_0xccc328(0x25c)](){var _0x19a2a1=_0xccc328,_0x23b00c,_0x1a6ada;const _0x1647e7=this[_0x19a2a1(0x20b)][_0x19a2a1(0x38c)](mn),_0x6774fb=this[_0x19a2a1(0x20b)]['getConfig'](q);return(_0x1a6ada=(_0x23b00c=_0x6774fb==null?void 0x0:_0x6774fb[_0x19a2a1(0x3d8)])!=null?_0x23b00c:_0x1647e7)!=null?_0x1a6ada:gn;}async[_0xccc328(0x304)](_0x2d6195,_0x1584b7){var _0x4dd13a=_0xccc328;const _0x13f9c3=_0x4dd13a(0x2e7)+_0x1584b7[_0x4dd13a(0x2a5)]+_0x4dd13a(0x279)+_0x1584b7[_0x4dd13a(0x45c)]+_0x4dd13a(0x2b6);return(await this[_0x4dd13a(0x3ee)][_0x4dd13a(0x40e)](_0x13f9c3,{'params':{'resourceId':JSON[_0x4dd13a(0x280)](_0x1584b7[_0x4dd13a(0x275)])}}))[_0x4dd13a(0x1a5)];}[_0xccc328(0x245)](){var _0x4df20f=_0xccc328;throw new Error(_0x4df20f(0x1a9));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xccc328(0x477)](){var _0x1ac176=_0xccc328;throw new Error(_0x1ac176(0x1a9));}[_0xccc328(0x355)](){var _0xb6044c=_0xccc328;throw new Error(_0xb6044c(0x1a9));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x32d0f8),_i(0x1,_0x42d086(_0x44834c))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x38874d,_0x341813,_0x54c022,_0x17dba7)=>{var _0x552459=_0xccc328;for(var _0x2fb9f5=_0x17dba7>0x1?void 0x0:_0x17dba7?vr(_0x341813,_0x54c022):_0x341813,_0x8e24a3=_0x38874d[_0x552459(0x489)]-0x1,_0x41086b;_0x8e24a3>=0x0;_0x8e24a3--)(_0x41086b=_0x38874d[_0x8e24a3])&&(_0x2fb9f5=_0x41086b(_0x2fb9f5)||_0x2fb9f5);return _0x2fb9f5;},Pe=(_0xfd5b4,_0xbf5727)=>(_0x316583,_0x59cb20)=>_0xbf5727(_0x316583,_0x59cb20,_0xfd5b4);let Dt=class extends _0x9b1795{constructor(_0x3c128c,_0x3a5e2d,_0x3676d8,_0x1c3f4e,_0x4ff5c3){var _0x5eb83f=_0xccc328;super(_0x3c128c,_0x3a5e2d,_0x3676d8),this['_transformService']=_0x1c3f4e,this[_0x5eb83f(0x242)]=_0x4ff5c3;}['transformUndoRedo'](_0xa2cd31,_0x152fb3){var _0x5c729b=_0xccc328;const _0x4cd93c=this[_0x5c729b(0x1f3)](_0xa2cd31);if(_0x4cd93c)try{const _0x5cf357=this[_0x5c729b(0x1ff)](_0x4cd93c,_0x152fb3);this[_0x5c729b(0x4a2)](_0xa2cd31,_0x5cf357);}catch(_0x4943a7){this[_0x5c729b(0x242)][_0x5c729b(0x4ae)](_0x5c729b(0x24b),_0x4943a7),this[_0x5c729b(0x33c)](_0xa2cd31);}const _0x3afab2=this[_0x5c729b(0x495)](_0xa2cd31);if(_0x3afab2)try{const _0x874589=this[_0x5c729b(0x1ff)](_0x3afab2,_0x152fb3);this[_0x5c729b(0x3c5)](_0xa2cd31,_0x874589);}catch(_0xa27f16){this['_logService'][_0x5c729b(0x4ae)](_0xa27f16),this['_clearRedo'](_0xa2cd31);}}[_0xccc328(0x33c)](_0x197f7e){var _0x59e5c7=_0xccc328;const _0x2386e5=this[_0x59e5c7(0x1f3)](_0x197f7e);_0x2386e5&&(_0x2386e5[_0x59e5c7(0x489)]=0x0,this['_updateStatus']());}[_0xccc328(0x471)](_0x34ceb4){var _0x5b95e8=_0xccc328;const _0xe4f344=this[_0x5b95e8(0x495)](_0x34ceb4);_0xe4f344&&(_0xe4f344[_0x5b95e8(0x489)]=0x0,this[_0x5b95e8(0x1dd)]());}[_0xccc328(0x4a2)](_0x1c0ca5,_0x304edb){var _0x4a333c=_0xccc328;this['_undoStacks'][_0x4a333c(0x382)](_0x1c0ca5,_0x304edb),this[_0x4a333c(0x1dd)]();}[_0xccc328(0x3c5)](_0xc1f8c8,_0x349039){var _0x5419b5=_0xccc328;this[_0x5419b5(0x1ea)][_0x5419b5(0x382)](_0xc1f8c8,_0x349039),this[_0x5419b5(0x1dd)]();}['_transformStack'](_0x35291f,_0x1bf8c0){var _0x199a21=_0xccc328;const _0x5d5426=[];let _0x26a8dc=_0x1bf8c0,_0x3528fa=_0x1bf8c0;for(let _0x2214f0=_0x35291f[_0x199a21(0x489)]-0x1;_0x2214f0>=0x0;_0x2214f0--){const {unitID:_0x4c6bd4,undoMutations:_0x287da3,redoMutations:_0x39f8a1}=_0x35291f[_0x2214f0],_0x1e9f0d=this[_0x199a21(0x2ca)][_0x199a21(0x2a4)](_0x26a8dc,_0x287da3),_0x2ff0a1=this[_0x199a21(0x2ca)][_0x199a21(0x2a4)](_0x3528fa,_0x39f8a1);if(_0x37e9b3(_0x1e9f0d)||_0x37e9b3(_0x2ff0a1)){this[_0x199a21(0x242)]['error'](_0x199a21(0x24b),'transformStack\x20failed!',_0x1e9f0d,_0x2ff0a1);break;}_0x26a8dc=_0x1e9f0d[_0x199a21(0x27f)],_0x3528fa=_0x2ff0a1[_0x199a21(0x27f)],_0x5d5426['push']({'unitID':_0x4c6bd4,'undoMutations':_0x1e9f0d[_0x199a21(0x28f)],'redoMutations':_0x2ff0a1['m2Prime']});}return _0x5d5426[_0x199a21(0x3b6)]();}};Dt=pr([Pe(0x0,_0xca8903),Pe(0x1,_0x37fa3a),Pe(0x2,_0x1f8dee),Pe(0x3,_0x5c5e6b),Pe(0x4,_0x48685b)],Dt);var mr=Object[_0xccc328(0x369)],gr=Object[_0xccc328(0x2bf)],Sr=(_0x49b31e,_0x59e160,_0x54a91b)=>_0x59e160 in _0x49b31e?mr(_0x49b31e,_0x59e160,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a91b}):_0x49b31e[_0x59e160]=_0x54a91b,Er=(_0x25dfcc,_0x532cd8,_0x1acefd,_0x27b023)=>{var _0x2bde1e=_0xccc328;for(var _0x14b0ba=_0x27b023>0x1?void 0x0:_0x27b023?gr(_0x532cd8,_0x1acefd):_0x532cd8,_0x55e72c=_0x25dfcc[_0x2bde1e(0x489)]-0x1,_0x11779b;_0x55e72c>=0x0;_0x55e72c--)(_0x11779b=_0x25dfcc[_0x55e72c])&&(_0x14b0ba=_0x11779b(_0x14b0ba)||_0x14b0ba);return _0x14b0ba;},St=(_0x252da7,_0x263465)=>(_0x36f375,_0x5aad0c)=>_0x263465(_0x36f375,_0x5aad0c,_0x252da7),Ir=(_0x48985f,_0x13844c,_0x4256ee)=>Sr(_0x48985f,_0x13844c+'',_0x4256ee);const Tr=_0xccc328(0x469);let Ut=class extends _0x168dd9{constructor(_0xa52f15,_0x220411,_0x10893a,_0x36ea79){var _0x5c3eac=_0xccc328;super(),N(this,_0x5c3eac(0x21a)),(this[_0x5c3eac(0x242)]=_0x220411,this[_0x5c3eac(0x426)]=_0x10893a,this[_0x5c3eac(0x20b)]=_0x36ea79);const {..._0x1dafe3}=_0x5ce139({},wn,_0xa52f15);if(!_0x1dafe3[_0x5c3eac(0x481)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x5c3eac(0x21a)]=_0x1dafe3,this[_0x5c3eac(0x20b)][_0x5c3eac(0x1b2)](q,_0x1dafe3);}['onStarting'](){var _0x539c8e=_0xccc328;this[_0x539c8e(0x322)](),this[_0x539c8e(0x49f)]();}[_0xccc328(0x322)](){var _0x3972c9=_0xccc328,_0x4e5f59,_0x19cdbe;this[_0x3972c9(0x426)][_0x3972c9(0x20c)](_0x10626b)&&this[_0x3972c9(0x242)][_0x3972c9(0x4ae)](_0x3972c9(0x493),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x38ce98=_0x4260f4([[_0x10626b,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x3972c9(0x21a)][_0x3972c9(0x481)]}],[_0x491b4b,{'useClass':Nt}],[_0x434a90,{'useClass':Rt}],[_0x526b53,{'useClass':Ot}],[_0x1bd7ee,{'useClass':yt}],[st],[Ct]],(_0x4e5f59=this[_0x3972c9(0x21a)])==null?void 0x0:_0x4e5f59['override']);if(!((_0x19cdbe=this[_0x3972c9(0x21a)])!=null&&_0x19cdbe[_0x3972c9(0x234)])){const _0x339fd1=_0x38ce98[_0x3972c9(0x1bc)](([_0x109449])=>_0x109449===ht);_0x339fd1!==-0x1&&_0x38ce98[_0x3972c9(0x1e6)](_0x339fd1,0x1);}_0x38e1dc(this[_0x3972c9(0x426)],_0x38ce98);}['_initDependencies'](){var _0x2688b6=_0xccc328,_0x5a5bfb,_0x58ac19,_0x1299ad;this[_0x2688b6(0x426)]['get'](_0x44834c)[_0x2688b6(0x1e4)]({'priority':0x14,'interceptor':_0x88bb1a({'maxParallel':0x6})}),(_0x5a5bfb=this[_0x2688b6(0x21a)])!=null&&_0x5a5bfb['enableOfflineEditing']||(_0x58ac19=this[_0x2688b6(0x426)]['get'](J,_0x47342b[_0x2688b6(0x491)]))==null||_0x58ac19['disableLocalCache'](),(_0x1299ad=this['_config'])!=null&&_0x1299ad[_0x2688b6(0x3e4)]&&_0xe02a7(this[_0x2688b6(0x426)],[[rt]]),_0xe02a7(this[_0x2688b6(0x426)],[[at],[st],[ot]]);}};Ir(Ut,_0xccc328(0x3f8),Tr),Ut=Er([_0x135289(_0x4c09c6,_0x2662cf),St(0x1,_0x48685b),St(0x2,_0x42d086(_0x213b7b)),St(0x3,_0x32d0f8)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|