@univerjs-pro/collaboration-client 0.5.5-nightly.202501210404 → 0.5.5-nightly.202501210734
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/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/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x108c00=_0x5020;(function(_0x37a340,_0xb9d35d){var _0x5c173a=_0x5020,_0x2d7341=_0x37a340();while(!![]){try{var _0xe482b0=parseInt(_0x5c173a(0x29d))/0x1+-parseInt(_0x5c173a(0x464))/0x2+parseInt(_0x5c173a(0x1c4))/0x3+parseInt(_0x5c173a(0x3fa))/0x4+parseInt(_0x5c173a(0x42a))/0x5*(-parseInt(_0x5c173a(0x200))/0x6)+parseInt(_0x5c173a(0x405))/0x7+-parseInt(_0x5c173a(0x3b3))/0x8;if(_0xe482b0===_0xb9d35d)break;else _0x2d7341['push'](_0x2d7341['shift']());}catch(_0x57e898){_0x2d7341['push'](_0x2d7341['shift']());}}}(_0x4bb9,0xf3f16));var Li=Object['defineProperty'],Mi=(_0x591f34,_0x10011e,_0x5cc8c6)=>_0x10011e in _0x591f34?Li(_0x591f34,_0x10011e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cc8c6}):_0x591f34[_0x10011e]=_0x5cc8c6,N=(_0x280d46,_0x1925b1,_0x235f68)=>Mi(_0x280d46,typeof _0x1925b1!=_0x108c00(0x362)?_0x1925b1+'':_0x1925b1,_0x235f68);import{createIdentifier as _0x1ee40e,Inject as _0x22b705,Injector as _0x491816,Disposable as _0x566b20,DisposableCollection as _0xa3a739,toDisposable as _0xd2768f,IConfigService as _0x1c99c2,ILogService as _0x43bc54,UserManagerService as _0x2b51e7,UniverInstanceType as _0x52e129,IUniverInstanceService as _0x53b9e4,LocaleService as _0x15da4d,Optional as _0x4b5f3d,RxDisposable as _0x31cc7c,Tools as _0x2359c0,Rectangle as _0x14ce7c,ICommandService as _0x2ea271,JSONX as _0x21699a,CommandType as _0x55a241,IPermissionService as _0x72e2b3,IUndoRedoService as _0x3d7b9b,sequenceExecute as _0x39ac8f,Workbook as _0x129e01,MentionType as _0xceeb0,IAuthzIoService as _0x56f598,isInternalEditorID as _0x50ebc3,LocalUndoRedoService as _0x337fc3,IContextService as _0x133824,DependentOn as _0x16d9ef,Plugin as _0x5c6bbe,merge as _0x2b86b4,mergeOverrideWithDependencies as _0x1bf7e2,IMentionIOService as _0x5aa3ec,registerDependencies as _0x47bf02,Quantity as _0x22b518,touchDependencies as _0x4cd4cf}from'@univerjs/core';import{Subject as _0x38f83b,merge as _0x3aad39,of as _0x41197b,BehaviorSubject as _0x367d22,takeUntil as _0x1a9326,ReplaySubject as _0x118d77,take as _0x3271a7,map as _0x36ce0e,shareReplay as _0x500995,firstValueFrom as _0x573369,concatMap as _0x2941e1}from'rxjs';import{map as _0x5e1c46,take as _0x5b6b83,filter as _0x47bc6d,delay as _0x81f69,takeUntil as _0x5cd1ef}from'rxjs/operators';import{HTTPService as _0x55772,ISocketService as _0x4497f5,MergeInterceptorFactory as _0x6a9648,HTTPRequest as _0x5df63f,UniverNetworkPlugin as _0xa6c39c,ThresholdInterceptorFactory as _0x3fa970}from'@univerjs/network';import{CollaborationEvent as _0x565698,parseChangesetToProtocol as _0x2df852,ISnapshotServerService as _0x1eb830,isTransformMutationsWithChangesetSuccess as _0x537184,ITransformService as _0x1a1f85,mapDocumentTypeToUniverType as _0xd264b0,RevisionService as _0x4500ba,isTransformChangesetsSuccess as _0x40f7f3,CompressMutationService as _0x3f31b3,parseProtocolChangeset as _0x15f8d0,SnapshotService as _0x320ea2,textEncoder as _0x486184,b64DecodeUnicode as _0x57ef64,isTransformMutationsWithChangesetFailure as _0x21b286,UniverCollaborationPlugin as _0x1daddb}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x562dc9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x420188}from'@univerjs/docs';import{SheetsSelectionsService as _0x3205a6,SetSelectionsOperation as _0x2dc9e0,InsertSheetMutation as _0x2e210d,EmptyMutation as _0x5271b8,WorkbookEditablePermission as _0x488f7d,SheetPermissionInitController as _0xb9b43a,UniverSheetsPlugin as _0x26f6ff}from'@univerjs/sheets';import{ImageSourceType as _0x1bf066,ImageUploadStatusType as _0x2f7b82,IImageIoService as _0x57a920}from'@univerjs/drawing';import{getGlobalObject as _0x4fd323}from'@univerjs-pro/license';const En=_0x108c00(0x407),In=_0x108c00(0x4a7),Tn='SNAPSHOT_URL_KEY',eo=_0x108c00(0x1c8),Cn=0x7d0,Rn=_0x108c00(0x32f),bn=_0x108c00(0x1ca),On=_0x108c00(0x44c),yn=_0x108c00(0x24a),Nn=0x7530,Si=_0x108c00(0x3ed),Ei=0x4e20,Dn=0x4e20,Pn=_0x108c00(0x411),wn=0x3,to=_0x108c00(0x34e),io=0x3e8,Un=_0x108c00(0x48c),An=_0x108c00(0x26b),xn='LOGIN_URL_KEY',Ln=_0x108c00(0x483),no=_0x108c00(0x232),ro=_0x108c00(0x23c);var Ii=(_0x3f7035=>(_0x3f7035[_0x3f7035[_0x108c00(0x334)]=0x0]=_0x108c00(0x334),_0x3f7035[_0x3f7035['OK']=0x1]='OK',_0x3f7035[_0x3f7035[_0x108c00(0x375)]=0x2]='INTERNAL_ERROR',_0x3f7035[_0x3f7035[_0x108c00(0x3d2)]=0x3]=_0x108c00(0x3d2),_0x3f7035[_0x3f7035['NOT_FOUND']=0x4]=_0x108c00(0x2d3),_0x3f7035[_0x3f7035['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3f7035[_0x3f7035['ALREADY_EXISTS']=0x6]=_0x108c00(0x3dd),_0x3f7035[_0x3f7035[_0x108c00(0x31e)]=0x7]=_0x108c00(0x31e),_0x3f7035[_0x3f7035['TOO_MANY_REQUESTS']=0x8]=_0x108c00(0x2a3),_0x3f7035[_0x3f7035[_0x108c00(0x1de)]=0x9]=_0x108c00(0x1de),_0x3f7035[_0x3f7035[_0x108c00(0x492)]=0x1389]=_0x108c00(0x492),_0x3f7035[_0x3f7035[_0x108c00(0x421)]=0x1771]=_0x108c00(0x421),_0x3f7035[_0x3f7035[_0x108c00(0x4c3)]=0x1772]=_0x108c00(0x4c3),_0x3f7035[_0x3f7035[_0x108c00(0x40f)]=0x1773]=_0x108c00(0x40f),_0x3f7035[_0x3f7035[_0x108c00(0x204)]=0x1b59]=_0x108c00(0x204),_0x3f7035[_0x3f7035[_0x108c00(0x389)]=0x1b5a]=_0x108c00(0x389),_0x3f7035[_0x3f7035['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x108c00(0x2fb),_0x3f7035[_0x3f7035['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x108c00(0x37a),_0x3f7035[_0x3f7035[_0x108c00(0x468)]=0x1b5d]=_0x108c00(0x468),_0x3f7035[_0x3f7035[_0x108c00(0x1e4)]=0x1f41]=_0x108c00(0x1e4),_0x3f7035[_0x3f7035[_0x108c00(0x39c)]=0x2329]=_0x108c00(0x39c),_0x3f7035[_0x3f7035[_0x108c00(0x478)]=0x232a]=_0x108c00(0x478),_0x3f7035[_0x3f7035[_0x108c00(0x485)]=0x232b]=_0x108c00(0x485),_0x3f7035[_0x3f7035[_0x108c00(0x2df)]=0x232c]=_0x108c00(0x2df),_0x3f7035[_0x3f7035['LICENSE_DISTRO_REJECTED']=0x232d]=_0x108c00(0x251),_0x3f7035[_0x3f7035[_0x108c00(0x307)]=0x2711]=_0x108c00(0x307),_0x3f7035[_0x3f7035['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x108c00(0x2d5),_0x3f7035[_0x3f7035[_0x108c00(0x238)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3f7035[_0x3f7035[_0x108c00(0x336)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3f7035[_0x3f7035[_0x108c00(0x38e)]=0x2af9]=_0x108c00(0x38e),_0x3f7035[_0x3f7035[_0x108c00(0x279)]=-0x1]=_0x108c00(0x279),_0x3f7035))(Ii||{}),Q=(_0x1a9822=>(_0x1a9822[_0x1a9822[_0x108c00(0x33c)]=0x0]=_0x108c00(0x33c),_0x1a9822[_0x1a9822[_0x108c00(0x1be)]=0x1]=_0x108c00(0x1be),_0x1a9822[_0x1a9822['UNIVER_SHEET']=0x2]=_0x108c00(0x365),_0x1a9822[_0x1a9822['UNIVER_SLIDE']=0x3]=_0x108c00(0x385),_0x1a9822[_0x1a9822[_0x108c00(0x21d)]=0x4]=_0x108c00(0x21d),_0x1a9822[_0x1a9822['UNRECOGNIZED']=-0x1]=_0x108c00(0x279),_0x1a9822))(Q||{}),F=(_0x44e6ae=>(_0x44e6ae[_0x44e6ae[_0x108c00(0x466)]=0x0]=_0x108c00(0x466),_0x44e6ae[_0x44e6ae['HELLO']=0x1]=_0x108c00(0x2f3),_0x44e6ae[_0x44e6ae[_0x108c00(0x207)]=0x2]='JOIN',_0x44e6ae[_0x44e6ae[_0x108c00(0x499)]=0x3]=_0x108c00(0x499),_0x44e6ae[_0x44e6ae[_0x108c00(0x2f5)]=0x4]=_0x108c00(0x2f5),_0x44e6ae[_0x44e6ae[_0x108c00(0x22e)]=0x5]=_0x108c00(0x22e),_0x44e6ae[_0x44e6ae['RECV']=0x6]='RECV',_0x44e6ae[_0x44e6ae['UNRECOGNIZED']=-0x1]=_0x108c00(0x279),_0x44e6ae))(F||{}),Ee=(_0x47bd08=>(_0x47bd08[_0x47bd08['UNKNOWN_CODE']=0x0]=_0x108c00(0x2ee),_0x47bd08[_0x47bd08['OK']=0x1]='OK',_0x47bd08[_0x47bd08[_0x108c00(0x3ab)]=0x2]='FAIL',_0x47bd08[_0x47bd08[_0x108c00(0x40a)]=0x3e9]=_0x108c00(0x40a),_0x47bd08[_0x47bd08[_0x108c00(0x49e)]=0x3ea]=_0x108c00(0x49e),_0x47bd08[_0x47bd08[_0x108c00(0x38a)]=0x3eb]=_0x108c00(0x38a),_0x47bd08[_0x47bd08[_0x108c00(0x3ba)]=0x3ec]=_0x108c00(0x3ba),_0x47bd08[_0x47bd08[_0x108c00(0x279)]=-0x1]='UNRECOGNIZED',_0x47bd08))(Ee||{}),Ti=(_0x2cc26b=>(_0x2cc26b[_0x2cc26b['Undefined']=0x0]=_0x108c00(0x444),_0x2cc26b[_0x2cc26b[_0x108c00(0x42b)]=0x1]=_0x108c00(0x42b),_0x2cc26b[_0x2cc26b[_0x108c00(0x358)]=0x2]='HttpExport',_0x2cc26b[_0x2cc26b[_0x108c00(0x348)]=0x3]='UnitEmbedded',_0x2cc26b[_0x2cc26b['UnitSnapshot']=0x4]='UnitSnapshot',_0x2cc26b[_0x2cc26b[_0x108c00(0x279)]=-0x1]=_0x108c00(0x279),_0x2cc26b))(Ti||{});const q=_0x108c00(0x3fe),Wt={};var se=(_0x59b2dc=>(_0x59b2dc[_0x108c00(0x35d)]=_0x108c00(0x35d),_0x59b2dc[_0x108c00(0x3d2)]=_0x108c00(0x3d2),_0x59b2dc[_0x108c00(0x3de)]='CONFLICT',_0x59b2dc[_0x108c00(0x309)]='CLOSE_ROOM',_0x59b2dc[_0x108c00(0x3c1)]=_0x108c00(0x3c1),_0x59b2dc['SOCKET_FAILED_RETRY']=_0x108c00(0x34f),_0x59b2dc[_0x108c00(0x25c)]='SOCKET_FAILED',_0x59b2dc[_0x108c00(0x1bd)]=_0x108c00(0x1bd),_0x59b2dc))(se||{});class pe{constructor(){var _0xd8ff78=_0x108c00;N(this,_0xd8ff78(0x2cc),new _0x38f83b()),N(this,_0xd8ff78(0x2c4),this['_event$'][_0xd8ff78(0x3ff)]());}[_0x108c00(0x225)](_0x46bb5c){var _0x61f9aa=_0x108c00;this['_event$'][_0x61f9aa(0x449)](_0x46bb5c);}}const Mn=_0x1ee40e(_0x108c00(0x4a1));function $n(_0x24c2a7){var _0x194e41=_0x108c00,_0x4b4a66,_0x343f4f,_0x57bf19,_0x1817cf,_0x29d1a8;const _0x53fe01=_0x24c2a7['data'],_0x5b77fd=JSON['parse'](_0x53fe01);switch(_0x5b77fd[_0x194e41(0x2d9)]){case F[_0x194e41(0x22e)]:case F[_0x194e41(0x2f3)]:{const _0x5da6f5=_0x5b77fd['infoRsp'];return{..._0x5b77fd,'data':_0x5da6f5,'cmd':_0x5b77fd[_0x194e41(0x2d9)]};}case F[_0x194e41(0x207)]:{const _0x2f1387=_0x5b77fd['joinRsp'];return{..._0x5b77fd,'data':_0x2f1387,'cmd':_0x5b77fd[_0x194e41(0x2d9)]};}case F[_0x194e41(0x477)]:{const _0x24540b=_0x5b77fd['collaMsg'];switch(_0x24540b[_0x194e41(0x2ff)]){case _0x565698[_0x194e41(0x4a8)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':(_0x4b4a66=_0x24540b['permissionRejEvent'])==null?void 0x0:_0x4b4a66['cs']},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x494)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':(_0x343f4f=_0x24540b[_0x194e41(0x4a0)])==null?void 0x0:_0x343f4f['cs']},'cmd':_0x5b77fd['cmd']};case _0x565698[_0x194e41(0x476)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':(_0x57bf19=_0x24540b['newCsEvent'])==null?void 0x0:_0x57bf19['cs']},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x369)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':(_0x1817cf=_0x24540b[_0x194e41(0x221)])==null?void 0x0:_0x1817cf['cs']},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x47d)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':(_0x29d1a8=_0x24540b[_0x194e41(0x3a6)])==null?void 0x0:_0x29d1a8['cs']},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x41b)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x1fb)]},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x315)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x2b1)]},'cmd':_0x5b77fd['cmd']};case _0x565698[_0x194e41(0x4ab)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b['leaveEvent']},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x294)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x479)]},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x286)]:case _0x565698[_0x194e41(0x23f)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b['liveShareOperation']},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x3e0)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x479)]},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x3e6)]:return{..._0x5b77fd,'data':_0x24540b,'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x1b6)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x3f5)]},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698[_0x194e41(0x278)]:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x406)]},'cmd':_0x5b77fd['cmd']};case _0x565698['SHOULD_CLOSE_CONN']:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x2de)]},'cmd':_0x5b77fd[_0x194e41(0x2d9)]};case _0x565698['UNISCRIPT_RUN']:return{..._0x5b77fd,'data':{..._0x24540b,'data':_0x24540b[_0x194e41(0x465)]},'cmd':_0x5b77fd['cmd']};default:return _0x5b77fd;}}default:return _0x5b77fd;}}function Hn(_0x33906e){var _0x123877=_0x108c00;switch(_0x33906e['cmd']){case F[_0x123877(0x22e)]:case F[_0x123877(0x2f3)]:return JSON['stringify']({'cmd':_0x33906e[_0x123877(0x2d9)],'routeKey':_0x33906e[_0x123877(0x33b)]});case F[_0x123877(0x2f5)]:{let _0x1b7350;switch(_0x33906e[_0x123877(0x29f)][_0x123877(0x2ff)]){case _0x565698[_0x123877(0x41b)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x41b)],'updateCursorEvent':_0x33906e[_0x123877(0x29f)][_0x123877(0x29f)]};break;}case _0x565698[_0x123877(0x4ab)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x4ab)],'leaveEvent':_0x33906e[_0x123877(0x29f)][_0x123877(0x29f)]};break;}case _0x565698[_0x123877(0x315)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x315)],'joinEvent':_0x33906e[_0x123877(0x29f)][_0x123877(0x29f)]};break;}case _0x565698[_0x123877(0x294)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x294)],'liveShareNewHost':_0x33906e[_0x123877(0x29f)][_0x123877(0x29f)]};break;}case _0x565698[_0x123877(0x23f)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x23f)],'liveShareOperation':_0x33906e['data']['data']};break;}case _0x565698[_0x123877(0x3e0)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x3e0)],'liveShareTerminate':_0x33906e[_0x123877(0x29f)]['data']};break;}case _0x565698[_0x123877(0x47c)]:{_0x1b7350={'eventID':_0x565698['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x33906e[_0x123877(0x29f)][_0x123877(0x29f)]};break;}case _0x565698[_0x123877(0x286)]:{_0x1b7350={'eventID':_0x565698[_0x123877(0x286)]};break;}default:_0x1b7350={'eventID':_0x33906e[_0x123877(0x29f)][_0x123877(0x2ff)]};}return JSON[_0x123877(0x2f4)]({'cmd':_0x33906e[_0x123877(0x2d9)],'routeKey':_0x33906e[_0x123877(0x33b)],'collaMsg':_0x1b7350});}case F[_0x123877(0x207)]:return JSON[_0x123877(0x2f4)]({'cmd':_0x33906e[_0x123877(0x2d9)],'routeKey':_0x33906e[_0x123877(0x33b)],'joinReq':_0x33906e[_0x123877(0x29f)]});case F[_0x123877(0x499)]:return JSON[_0x123877(0x2f4)]({'cmd':_0x33906e[_0x123877(0x2d9)],'routeKey':_0x33906e[_0x123877(0x33b)],'leaveReq':_0x33906e['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object['defineProperty'],jn=Object[_0x108c00(0x21a)],Bn=(_0x4287d9,_0x732af9,_0x18557d,_0x5910cb)=>{var _0x200ae2=_0x108c00;for(var _0x3df94d=_0x5910cb>0x1?void 0x0:_0x5910cb?jn(_0x732af9,_0x18557d):_0x732af9,_0x3cfd76=_0x4287d9[_0x200ae2(0x24e)]-0x1,_0x3e93ba;_0x3cfd76>=0x0;_0x3cfd76--)(_0x3e93ba=_0x4287d9[_0x3cfd76])&&(_0x3df94d=(_0x5910cb?_0x3e93ba(_0x732af9,_0x18557d,_0x3df94d):_0x3e93ba(_0x3df94d))||_0x3df94d);return _0x5910cb&&_0x3df94d&&kn(_0x732af9,_0x18557d,_0x3df94d),_0x3df94d;},Ue=(_0x31e505,_0x57e5dd)=>(_0x4b9c0f,_0x520780)=>_0x57e5dd(_0x4b9c0f,_0x520780,_0x31e505);const Ci=_0x1ee40e('univer-pro.collaboration-client-socket-service');function Fn(_0x184fc1,_0x569c55,_0x5017cd){var _0x221df0=_0x108c00;return _0x184fc1+'/'+_0x569c55+'/unit/'+_0x5017cd+_0x221df0(0x1c2);}let Et=class extends _0x566b20{constructor(_0x10c3e0,_0x1f27f4,_0x672930,_0x89fce,_0x350cd0){var _0xb5dadc=_0x108c00;super(),this[_0xb5dadc(0x2f0)]=_0x10c3e0,this[_0xb5dadc(0x3ae)]=_0x1f27f4,this[_0xb5dadc(0x217)]=_0x672930,this[_0xb5dadc(0x431)]=_0x89fce,this[_0xb5dadc(0x354)]=_0x350cd0;}[_0x108c00(0x2b6)](_0x6d4772){var _0x517a7e=_0x108c00;const _0x22a6aa=this[_0x517a7e(0x2f0)][_0x517a7e(0x260)](_0x4497f5);if(!_0x22a6aa)throw new Error(_0x517a7e(0x274));const _0x44df4d=_0x22a6aa[_0x517a7e(0x2b6)](_0x6d4772);if(!_0x44df4d)throw new Error(_0x517a7e(0x462));const _0x2bf407=new _0xa3a739(),_0x51588a=new _0x38f83b();_0x2bf407[_0x517a7e(0x267)](_0x44df4d[_0x517a7e(0x3c8)][_0x517a7e(0x44b)](_0xb23a1d=>_0x51588a[_0x517a7e(0x449)](_0xb23a1d))),_0x2bf407[_0x517a7e(0x267)](_0xd2768f(()=>_0x51588a['complete']()));const _0x2c3360=new _0x38f83b();_0x2bf407['add'](_0x44df4d[_0x517a7e(0x270)][_0x517a7e(0x44b)](_0xd4ac3a=>_0x2c3360[_0x517a7e(0x449)](_0xd4ac3a))),_0x2bf407[_0x517a7e(0x267)](_0xd2768f(()=>_0x2c3360[_0x517a7e(0x424)]()));const _0x2d8e3b=new _0x38f83b();_0x2bf407[_0x517a7e(0x267)](_0x44df4d[_0x517a7e(0x2b5)]['subscribe'](_0x2dfa0d=>{var _0x2a750c=_0x517a7e;const _0xd15d74=$n(_0x2dfa0d);_0x2d8e3b[_0x2a750c(0x449)](_0xd15d74);})),_0x2bf407[_0x517a7e(0x267)](_0xd2768f(()=>_0x2d8e3b[_0x517a7e(0x424)]()));let _0x1825a1;const _0x45a244=()=>{var _0x4fb802=_0x517a7e;_0x2c3360[_0x4fb802(0x449)](new Event(_0x4fb802(0x22d))),_0x51588a[_0x4fb802(0x449)](new CloseEvent('connection\x20error')),_0x1825a1[_0x4fb802(0x2fe)]();};return _0x1825a1={'memberID':'','close$':_0x51588a['asObservable'](),'error$':_0x2c3360[_0x517a7e(0x3ff)](),'open$':_0x44df4d[_0x517a7e(0x359)],'message$':_0x2d8e3b[_0x517a7e(0x3ff)](),'send':_0x5d2e4a=>{var _0xa5a57c=_0x517a7e;if(_0x5d2e4a[_0xa5a57c(0x2d9)]===F[_0xa5a57c(0x2f5)]){if(_0x5d2e4a[_0xa5a57c(0x29f)][_0xa5a57c(0x2ff)]===_0x565698[_0xa5a57c(0x26e)]){this[_0xa5a57c(0x1d7)](_0x1825a1,_0x5d2e4a[_0xa5a57c(0x29f)])['catch'](_0x3ebd5d=>{var _0x2592e0=_0xa5a57c;this['_logService'][_0x2592e0(0x489)](_0x3ebd5d),_0x45a244();});return;}if(_0x5d2e4a[_0xa5a57c(0x29f)][_0xa5a57c(0x2ff)]===_0x565698[_0xa5a57c(0x3f2)]){const _0x581252=_0x5d2e4a['data'];this[_0xa5a57c(0x382)](_0x581252)[_0xa5a57c(0x2ac)](_0x2ea8a8=>{var _0x569d1a=_0xa5a57c;_0x2d8e3b[_0x569d1a(0x449)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x581252[_0x569d1a(0x29f)]['unitID'],'routeType':'','data':{'eventID':_0x565698[_0x569d1a(0x313)],'data':{'changesets':_0x2ea8a8}}});})['catch'](_0x2ad42d=>{var _0x77627c=_0xa5a57c;this[_0x77627c(0x431)]['error'](_0x2ad42d),_0x45a244();});return;}}_0x44df4d[_0xa5a57c(0x2eb)](Hn(_0x5d2e4a));},'close':()=>{var _0x18837d=_0x517a7e;_0x44df4d[_0x18837d(0x2fe)](),_0x2bf407[_0x18837d(0x2e2)]();}},_0x1825a1;}async['_submitChangeset'](_0x202d44,_0x23fc98){var _0x482038=_0x108c00,_0x51aa78,_0x10f261;const {unitType:_0x2ffae3,unitID:_0x18e66f,changeset:_0x464b5e}=_0x23fc98[_0x482038(0x29f)],_0x2c0525={'unitID':_0x18e66f,'memberID':_0x202d44[_0x482038(0x2e1)],'type':_0x2ffae3,'changeset':_0x2df852(_0x464b5e)},_0x1b4347=this[_0x482038(0x217)][_0x482038(0x47e)](Un),_0x41d3fa=this[_0x482038(0x217)][_0x482038(0x47e)](q),_0x3e4da0=Fn((_0x10f261=(_0x51aa78=_0x41d3fa==null?void 0x0:_0x41d3fa[_0x482038(0x363)])!=null?_0x51aa78:_0x1b4347)!=null?_0x10f261:An,_0x2ffae3,_0x18e66f);try{await this['_http'][_0x482038(0x240)](_0x3e4da0,{'body':_0x2c0525});}catch(_0x1a68fa){throw this[_0x482038(0x431)][_0x482038(0x489)]('[CollaborationSession]',_0x482038(0x1d3)),_0x1a68fa;}}async[_0x108c00(0x382)](_0x2ea4de){var _0x50f2bb=_0x108c00;const {unitID:_0x46b0e5,from:_0x3ba468,to:_0x51c23a,unitType:_0x38fe24}=_0x2ea4de[_0x50f2bb(0x29f)];return(await this[_0x50f2bb(0x354)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x46b0e5,'type':_0x38fe24,'from':_0x3ba468,'to':_0x51c23a}))[_0x50f2bb(0x438)];}};Et=Bn([Ue(0x0,_0x22b705(_0x491816)),Ue(0x1,_0x22b705(_0x55772)),Ue(0x2,_0x1c99c2),Ue(0x3,_0x43bc54),Ue(0x4,_0x1eb830)],Et);const Vn='collaboration_new_changeset';function Gn(_0x47ff05){var _0x4ac9c9=_0x108c00;return JSON[_0x4ac9c9(0x2f4)](_0x47ff05)[_0x4ac9c9(0x24e)];}class Ri{constructor(){var _0x321642=_0x108c00;N(this,_0x321642(0x48a),new _0x38f83b()),N(this,_0x321642(0x495),this[_0x321642(0x48a)][_0x321642(0x3ff)]());}['onCommentUpdate'](_0x5f2caf){var _0x3803b7=_0x108c00;this[_0x3803b7(0x48a)][_0x3803b7(0x449)](_0x5f2caf);}}var Wn=Object[_0x108c00(0x31d)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x481078,_0x230b8e,_0x4432c0,_0x50543c)=>{var _0xf11755=_0x108c00;for(var _0x42d1b0=_0x50543c>0x1?void 0x0:_0x50543c?Kn(_0x230b8e,_0x4432c0):_0x230b8e,_0x24374f=_0x481078[_0xf11755(0x24e)]-0x1,_0x176128;_0x24374f>=0x0;_0x24374f--)(_0x176128=_0x481078[_0x24374f])&&(_0x42d1b0=(_0x50543c?_0x176128(_0x230b8e,_0x4432c0,_0x42d1b0):_0x176128(_0x42d1b0))||_0x42d1b0);return _0x50543c&&_0x42d1b0&&Wn(_0x230b8e,_0x4432c0,_0x42d1b0),_0x42d1b0;},Kt=(_0x112870,_0x2f8806)=>(_0x239089,_0x5304dd)=>_0x2f8806(_0x239089,_0x5304dd,_0x112870);let xe=class extends _0x566b20{constructor(_0x11ecc9,_0x402574){var _0x4637c5=_0x108c00;super(),N(this,_0x4637c5(0x3eb),new Map()),N(this,_0x4637c5(0x332),new _0x38f83b()),(this[_0x4637c5(0x293)]=_0x11ecc9,this[_0x4637c5(0x352)]=_0x402574,this[_0x4637c5(0x264)](_0x3aad39(this[_0x4637c5(0x293)][_0x4637c5(0x37f)](_0x52e129[_0x4637c5(0x365)])['pipe'](_0x5e1c46(_0x257b50=>_0x257b50[_0x4637c5(0x3f1)]())),this[_0x4637c5(0x293)]['getTypeOfUnitDisposed$'](_0x52e129[_0x4637c5(0x1be)])[_0x4637c5(0x383)](_0x5e1c46(_0x450a89=>_0x450a89[_0x4637c5(0x3f1)]())),this[_0x4637c5(0x293)]['getTypeOfUnitDisposed$'](_0x52e129[_0x4637c5(0x385)])[_0x4637c5(0x383)](_0x5e1c46(_0x107392=>_0x107392[_0x4637c5(0x3f1)]())))[_0x4637c5(0x44b)](_0x137171=>this['_removeRoom'](_0x137171))));}[_0x108c00(0x3b0)](_0x30f7d9){var _0xe717d7=_0x108c00;return this[_0xe717d7(0x3eb)][_0xe717d7(0x417)](_0x30f7d9)?_0x41197b(this[_0xe717d7(0x3eb)][_0xe717d7(0x260)](_0x30f7d9)):this[_0xe717d7(0x332)][_0xe717d7(0x383)](_0x5e1c46(_0x274c75=>{var _0x23a98c=_0xe717d7;if(_0x274c75===_0x30f7d9)return this[_0x23a98c(0x3eb)]['get'](_0x274c75);}));}[_0x108c00(0x470)](_0x818d8e){var _0x312b35=_0x108c00;this[_0x312b35(0x352)][_0x312b35(0x470)](_0x818d8e);}[_0x108c00(0x1dd)](){var _0x1c19bd=_0x108c00;return this[_0x1c19bd(0x352)][_0x1c19bd(0x1dd)]();}[_0x108c00(0x450)](_0x495f3c,_0x5f4d30){var _0x1bbb1e=_0x108c00;let _0xeb5cd8=this[_0x1bbb1e(0x3eb)][_0x1bbb1e(0x260)](_0x495f3c);_0xeb5cd8||(_0xeb5cd8=new qn(),this[_0x1bbb1e(0x3eb)][_0x1bbb1e(0x338)](_0x495f3c,_0xeb5cd8),this[_0x1bbb1e(0x332)][_0x1bbb1e(0x449)](_0x495f3c)),_0xeb5cd8[_0x1bbb1e(0x450)](_0x5f4d30);}['removeMember'](_0x1c3715,_0x3d6ac1){var _0x1eee64=_0x108c00;const _0x3517d2=this['_roomMembers']['get'](_0x1c3715);_0x3517d2&&_0x3517d2[_0x1eee64(0x2cd)](_0x3d6ac1);}[_0x108c00(0x22b)](_0x38d2f4){var _0x3c46af=_0x108c00;return this[_0x3c46af(0x3eb)]['get'](_0x38d2f4);}[_0x108c00(0x4bb)](_0x51cc31,_0xcfb52f){var _0x5d2cbd=_0x108c00;const _0x7e5e61=this[_0x5d2cbd(0x3eb)][_0x5d2cbd(0x260)](_0x51cc31);if(_0x7e5e61)return _0x7e5e61[_0x5d2cbd(0x4bb)](_0xcfb52f);}[_0x108c00(0x401)](_0x283d9c){var _0x3ea57d=_0x108c00;const _0x4a5767=this[_0x3ea57d(0x3eb)][_0x3ea57d(0x260)](_0x283d9c);_0x4a5767&&(_0x4a5767[_0x3ea57d(0x2e2)](),this[_0x3ea57d(0x3eb)]['delete'](_0x283d9c));}[_0x108c00(0x2e2)](){var _0x17ba40=_0x108c00;this[_0x17ba40(0x3eb)]['forEach'](_0x15ed5c=>_0x15ed5c[_0x17ba40(0x2e2)]()),this['_roomMembers'][_0x17ba40(0x26f)](),this['_roomCreated$'][_0x17ba40(0x424)]();}};xe=Yn([Kt(0x0,_0x53b9e4),Kt(0x1,_0x22b705(_0x2b51e7))],xe);class qn extends _0x566b20{constructor(){var _0x1c1400=_0x108c00;super(...arguments),N(this,'_members',new Map()),N(this,_0x1c1400(0x442),new _0x367d22(this[_0x1c1400(0x3fc)])),N(this,_0x1c1400(0x2f1),this[_0x1c1400(0x442)]['asObservable']());}[_0x108c00(0x2e2)](){var _0x4ebb0b=_0x108c00;this['_members'][_0x4ebb0b(0x26f)]();}[_0x108c00(0x450)](_0x6ea773){this['_members']['set'](_0x6ea773['memberID'],_0x6ea773),this['_emitMembers']();}['removeMember'](_0x59678b){var _0x7477a1=_0x108c00;this[_0x7477a1(0x3fc)]['delete'](_0x59678b);}[_0x108c00(0x4bb)](_0x27737f){var _0x4808e1=_0x108c00;return this['_members'][_0x4808e1(0x260)](_0x27737f);}[_0x108c00(0x376)](){var _0x132a04=_0x108c00;return Array[_0x132a04(0x1df)](this[_0x132a04(0x3fc)]['values']());}['_emitMembers'](){var _0x21f894=_0x108c00;this[_0x21f894(0x442)][_0x21f894(0x449)](this[_0x21f894(0x3fc)]);}}var zn=Object[_0x108c00(0x31d)],Jn=Object[_0x108c00(0x21a)],Xn=(_0x285c9b,_0x1ef059,_0x236134,_0x514bee)=>{var _0x4e774f=_0x108c00;for(var _0x519463=_0x514bee>0x1?void 0x0:_0x514bee?Jn(_0x1ef059,_0x236134):_0x1ef059,_0x56eace=_0x285c9b[_0x4e774f(0x24e)]-0x1,_0x3e6b09;_0x56eace>=0x0;_0x56eace--)(_0x3e6b09=_0x285c9b[_0x56eace])&&(_0x519463=(_0x514bee?_0x3e6b09(_0x1ef059,_0x236134,_0x519463):_0x3e6b09(_0x519463))||_0x519463);return _0x514bee&&_0x519463&&zn(_0x1ef059,_0x236134,_0x519463),_0x519463;},me=(_0x4f0283,_0x375452)=>(_0x555c97,_0x22037c)=>_0x375452(_0x555c97,_0x22037c,_0x4f0283),Te=(_0x27e702=>(_0x27e702[_0x27e702[_0x108c00(0x1bf)]=0x0]=_0x108c00(0x1bf),_0x27e702[_0x27e702[_0x108c00(0x283)]=0x1]=_0x108c00(0x283),_0x27e702[_0x27e702[_0x108c00(0x256)]=0x2]=_0x108c00(0x256),_0x27e702[_0x27e702[_0x108c00(0x39a)]=0x3]=_0x108c00(0x39a),_0x27e702))(Te||{});const Yt={[Ee[_0x108c00(0x3ab)]]:_0x108c00(0x295),[Ee[_0x108c00(0x40a)]]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x108c00(0x259),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x108c00(0x399),[Ee[_0x108c00(0x3ba)]]:_0x108c00(0x3e9)};let It=class extends _0x31cc7c{constructor(_0x312635,_0x5a725f,_0x38ec7c,_0xd09cd6,_0x1966b1,_0x39137d,_0x5e62c4,_0xb85107,_0x40b5e8){var _0x3b04d3=_0x108c00;super(),N(this,_0x3b04d3(0x241),new _0x367d22(0x0)),N(this,_0x3b04d3(0x1e9),this[_0x3b04d3(0x241)]['asObservable']()),N(this,_0x3b04d3(0x2cc),new _0x38f83b()),N(this,'event$',this['_event$'][_0x3b04d3(0x3ff)]()),N(this,_0x3b04d3(0x3d9)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x3b04d3(0x392),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x312635,this[_0x3b04d3(0x431)]=_0x38ec7c,this[_0x3b04d3(0x217)]=_0xd09cd6,this['_localeService']=_0x1966b1,this['_memberService']=_0x39137d,this[_0x3b04d3(0x42f)]=_0x5e62c4,this['_collaborationUIEventService']=_0xb85107,this['_telemetryService']=_0x40b5e8,this[_0x3b04d3(0x392)]=!!this['_telemetryService'],_0x5a725f[_0x3b04d3(0x383)](_0x1a9326(this[_0x3b04d3(0x2c5)]))[_0x3b04d3(0x44b)](_0x1f24c6=>{var _0x4cb01d=_0x3b04d3,_0x186c6b;typeof _0x1f24c6>'u'||(this[_0x4cb01d(0x3d9)]=_0x1f24c6,_0x1f24c6?(this[_0x4cb01d(0x211)](_0x1f24c6),this[_0x4cb01d(0x2ca)]=_0x1f24c6['message$'][_0x4cb01d(0x44b)](_0x3f21e5=>{var _0x243a71=_0x4cb01d;_0x3f21e5[_0x243a71(0x33b)]===this[_0x243a71(0x43b)]&&this[_0x243a71(0x2d4)](_0x3f21e5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4cb01d(0x241)][_0x4cb01d(0x449)](0x2),(_0x186c6b=this[_0x4cb01d(0x2ca)])==null||_0x186c6b[_0x4cb01d(0x3a1)](),this[_0x4cb01d(0x2ca)]=null));}));}get[_0x108c00(0x25e)](){var _0x1acd2e=_0x108c00;return this[_0x1acd2e(0x241)][_0x1acd2e(0x23d)]();}[_0x108c00(0x2e8)](){var _0x315f60=_0x108c00,_0x3597a0,_0x19b16e;return(_0x19b16e=(_0x3597a0=this[_0x315f60(0x3d9)])==null?void 0x0:_0x3597a0[_0x315f60(0x2e1)])!=null?_0x19b16e:null;}[_0x108c00(0x2e2)](){var _0x32aa92=_0x108c00;super[_0x32aa92(0x2e2)](),this[_0x32aa92(0x2c5)][_0x32aa92(0x449)](),this[_0x32aa92(0x2c5)]['complete']();}[_0x108c00(0x2fe)](){var _0x57547f=_0x108c00,_0x4a9262,_0x55ace3;this[_0x57547f(0x493)](),(_0x4a9262=this[_0x57547f(0x3d9)])==null||_0x4a9262[_0x57547f(0x2eb)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x57547f(0x43b)]}}),(_0x55ace3=this[_0x57547f(0x3d9)])==null||_0x55ace3[_0x57547f(0x2fe)](),this[_0x57547f(0x2cc)][_0x57547f(0x424)](),this['_sessionStatus$'][_0x57547f(0x424)](),this['dispose']();}[_0x108c00(0x2d4)](_0xb1a78a){var _0x3734fc=_0x108c00;_0xb1a78a[_0x3734fc(0x2d9)]===F[_0x3734fc(0x207)]?this[_0x3734fc(0x29c)](_0xb1a78a):_0xb1a78a[_0x3734fc(0x2d9)]===F[_0x3734fc(0x477)]&&this['_onRecvEvent'](_0xb1a78a);}[_0x108c00(0x211)](_0x489088){var _0x18e95f=_0x108c00;this[_0x18e95f(0x241)][_0x18e95f(0x449)](0x1),_0x489088[_0x18e95f(0x2eb)]({'cmd':F[_0x18e95f(0x207)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x18e95f(0x43b)]}]}});}[_0x108c00(0x29c)](_0x2262af){var _0x26e150=_0x108c00,_0x191a1d;if(_0x2262af[_0x26e150(0x3e3)]in Yt){this['_collaborationUIEventService'][_0x26e150(0x225)]({'id':se[_0x26e150(0x3c1)],'data':Yt[_0x2262af['code']]}),this[_0x26e150(0x241)][_0x26e150(0x449)](0x2);return;}this['_sessionStatus$'][_0x26e150(0x449)](0x3);const _0x1f2986=(_0x191a1d=_0x2262af[_0x26e150(0x29f)][_0x26e150(0x1c0)][this[_0x26e150(0x43b)]])==null?void 0x0:_0x191a1d[_0x26e150(0x4b0)];_0x1f2986&&_0x1f2986[_0x26e150(0x2a2)](_0x68798e=>this['_memberService']['updateMember'](this['_unitID'],_0x68798e));}[_0x108c00(0x39f)](_0x2733f7){var _0x1fa648=_0x108c00;try{const _0x45f95f=_0x2733f7[_0x1fa648(0x29f)];switch(_0x45f95f[_0x1fa648(0x2ff)]){case _0x565698[_0x1fa648(0x315)]:this[_0x1fa648(0x203)](_0x45f95f),this[_0x1fa648(0x2cc)]['next'](_0x45f95f);break;case _0x565698[_0x1fa648(0x4ab)]:this[_0x1fa648(0x1cb)](_0x45f95f),this['_event$'][_0x1fa648(0x449)](_0x45f95f);break;case _0x565698[_0x1fa648(0x494)]:case _0x565698[_0x1fa648(0x47d)]:this[_0x1fa648(0x3e2)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x1fa648(0x449)](_0x45f95f);break;case _0x565698[_0x1fa648(0x3e6)]:this[_0x1fa648(0x431)][_0x1fa648(0x489)](_0x1fa648(0x2b8)+JSON[_0x1fa648(0x2f4)](_0x45f95f)),this[_0x1fa648(0x2cc)][_0x1fa648(0x449)](_0x45f95f);break;case _0x565698['COMMENT_UPDATE']:this[_0x1fa648(0x42f)][_0x1fa648(0x36b)](_0x45f95f[_0x1fa648(0x29f)]),this[_0x1fa648(0x2cc)][_0x1fa648(0x449)](_0x45f95f);break;default:this[_0x1fa648(0x2cc)][_0x1fa648(0x449)](_0x45f95f);}}catch(_0xe2d39d){this[_0x1fa648(0x431)][_0x1fa648(0x489)](_0xe2d39d,_0x2733f7);}}['_onUserJoin'](_0x27d051){var _0x8011ad=_0x108c00;this[_0x8011ad(0x24c)][_0x8011ad(0x450)](this[_0x8011ad(0x43b)],_0x27d051[_0x8011ad(0x29f)]);}[_0x108c00(0x1cb)](_0x175067){var _0xfd115f=_0x108c00;this[_0xfd115f(0x24c)][_0xfd115f(0x2cd)](this[_0xfd115f(0x43b)],_0x175067[_0xfd115f(0x29f)]['memberID']);}async[_0x108c00(0x2eb)](_0x2eabb8,_0x320237){var _0x1fc35f=_0x108c00;if(this[_0x1fc35f(0x25e)]!==0x3||!this[_0x1fc35f(0x3d9)])throw new Error(_0x1fc35f(0x3fb));try{_0x2eabb8['eventID']===_0x565698['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1fc35f(0x27d)](_0x2eabb8)),this[_0x1fc35f(0x3d9)][_0x1fc35f(0x2eb)]({'cmd':F['INGEST'],'routeKey':_0x320237,'routeType':'','data':_0x2eabb8});}catch(_0xac508a){this[_0x1fc35f(0x431)][_0x1fc35f(0x489)](_0xac508a);}}[_0x108c00(0x3d0)](){var _0x39cbe3=_0x108c00,_0x35f7fa;this[_0x39cbe3(0x4b6)]=setTimeout(()=>{var _0xe2d704=_0x39cbe3;this[_0xe2d704(0x4b6)]=null,this['_collaborationUIEventService'][_0xe2d704(0x225)]({'id':se[_0xe2d704(0x1bd)]});},(_0x35f7fa=this[_0x39cbe3(0x217)][_0x39cbe3(0x47e)](Si))!=null?_0x35f7fa:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x1a57e0=_0x108c00;this[_0x1a57e0(0x4b6)]&&(clearTimeout(this[_0x1a57e0(0x4b6)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x37c21b){var _0x1609ed=_0x108c00;if(!this[_0x1609ed(0x392)])return;const {data:_0x4bffb0}=_0x37c21b,{unitID:_0x568650,changeset:_0x18e457}=_0x4bffb0,{mutations:_0x17e22d,type:_0x1cd0c5}=_0x18e457;this['_telemetryInfo']={'unitId':_0x568650,'type':_0x1cd0c5,'startTime':performance[_0x1609ed(0x1ef)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x17e22d)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x3438d9=_0x108c00;if(this[_0x3438d9(0x392)]){if(!this['_telemetryInfo']){this[_0x3438d9(0x431)][_0x3438d9(0x489)](_0x3438d9(0x390),_0x3438d9(0x44f));return;}this[_0x3438d9(0x374)]['stopTime']=performance[_0x3438d9(0x1ef)](),this[_0x3438d9(0x374)]['duration']=this[_0x3438d9(0x374)]['stopTime']-this[_0x3438d9(0x374)][_0x3438d9(0x4be)],this[_0x3438d9(0x25f)][_0x3438d9(0x21f)](Vn,this[_0x3438d9(0x374)]),this[_0x3438d9(0x374)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x493655=_0x108c00;this[_0x493655(0x374)]=null;}};It=Xn([me(0x2,_0x43bc54),me(0x3,_0x1c99c2),me(0x4,_0x22b705(_0x15da4d)),me(0x5,_0x22b705(xe)),me(0x6,_0x22b705(Ri)),me(0x7,_0x22b705(pe)),me(0x8,_0x4b5f3d(_0x562dc9))],It);var Zn=Object[_0x108c00(0x31d)],Qn=Object[_0x108c00(0x21a)],er=(_0x1a6986,_0x5e963c,_0x48037e,_0xe18667)=>{for(var _0x38ecee=_0xe18667>0x1?void 0x0:_0xe18667?Qn(_0x5e963c,_0x48037e):_0x5e963c,_0x575038=_0x1a6986['length']-0x1,_0x28ed15;_0x575038>=0x0;_0x575038--)(_0x28ed15=_0x1a6986[_0x575038])&&(_0x38ecee=(_0xe18667?_0x28ed15(_0x5e963c,_0x48037e,_0x38ecee):_0x28ed15(_0x38ecee))||_0x38ecee);return _0xe18667&&_0x38ecee&&Zn(_0x5e963c,_0x48037e,_0x38ecee),_0x38ecee;},ge=(_0x5b5aa3,_0x27188f)=>(_0x234a87,_0x47e624)=>_0x27188f(_0x234a87,_0x47e624,_0x5b5aa3);let Le=class extends _0x566b20{constructor(_0x50683e,_0x4096a5,_0xc9865c,_0x5a2f30,_0x2833c2,_0x548b9b,_0x3d5626){var _0x467635=_0x108c00;super(),N(this,_0x467635(0x27b),new _0x367d22(void 0x0)),N(this,_0x467635(0x30e),this[_0x467635(0x27b)][_0x467635(0x3ff)]()),N(this,_0x467635(0x4b9),null),N(this,_0x467635(0x41f),new Map()),N(this,_0x467635(0x49b),new _0x367d22(Te[_0x467635(0x1bf)])),N(this,_0x467635(0x39e),this[_0x467635(0x49b)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x467635(0x3b5)),N(this,_0x467635(0x32d),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x467635(0x45d)),(this[_0x467635(0x2f0)]=_0x50683e,this[_0x467635(0x431)]=_0x4096a5,this['_configService']=_0xc9865c,this[_0x467635(0x2f8)]=_0x5a2f30,this[_0x467635(0x266)]=_0x2833c2,this[_0x467635(0x4bf)]=_0x548b9b,this[_0x467635(0x1e2)]=_0x3d5626,this[_0x467635(0x2e7)]());}get[_0x108c00(0x3d9)](){var _0x3cde96=_0x108c00;return this[_0x3cde96(0x27b)][_0x3cde96(0x23d)]();}[_0x108c00(0x2e7)](){var _0x29734d=_0x108c00;this['_networkConditionService']&&this[_0x29734d(0x264)](this[_0x29734d(0x1e2)][_0x29734d(0x28e)][_0x29734d(0x44b)](_0x569027=>{var _0x5c0b5a=_0x29734d;_0x569027&&!this['_socket']&&this[_0x5c0b5a(0x2e4)](),_0x569027||this[_0x5c0b5a(0x26c)]();}));}['dispose'](){var _0x1c2130=_0x108c00;super[_0x1c2130(0x2e2)](),this['_sessions'][_0x1c2130(0x2a2)](_0x796d56=>_0x796d56['dispose']()),this[_0x1c2130(0x41f)][_0x1c2130(0x26f)](),this[_0x1c2130(0x49b)][_0x1c2130(0x424)]();}async[_0x108c00(0x395)](_0xe389c6){var _0x8d42b6=_0x108c00;if(this[_0x8d42b6(0x41f)][_0x8d42b6(0x417)](_0xe389c6))return this[_0x8d42b6(0x41f)][_0x8d42b6(0x260)](_0xe389c6);this[_0x8d42b6(0x3d6)]();const _0x4668b3=this[_0x8d42b6(0x2f0)]['createInstance'](It,_0xe389c6,this[_0x8d42b6(0x27b)][_0x8d42b6(0x3ff)]());return this[_0x8d42b6(0x41f)][_0x8d42b6(0x338)](_0xe389c6,_0x4668b3),_0x4668b3;}[_0x108c00(0x427)](_0x5a9fc9){var _0x1cba76=_0x108c00,_0x2259d4;const _0x5d7414=this[_0x1cba76(0x41f)][_0x1cba76(0x260)](_0x5a9fc9);_0x5d7414&&(this[_0x1cba76(0x41f)][_0x1cba76(0x2c7)](_0x5a9fc9),_0x5d7414[_0x1cba76(0x2fe)]()),this[_0x1cba76(0x41f)]['size']||(_0x2259d4=this[_0x1cba76(0x3d9)])==null||_0x2259d4[_0x1cba76(0x2fe)]();}[_0x108c00(0x2e4)](){var _0x559a0b=_0x108c00;this['_retryCount']=0x0,this[_0x559a0b(0x3b5)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x559a0b(0x3b5)]=null),this[_0x559a0b(0x2b4)]();}async[_0x108c00(0x45e)](){var _0x13ba81=_0x108c00,_0x2aff03,_0x1f5210,_0x9bb75c;const _0x4d30e7=this[_0x13ba81(0x217)][_0x13ba81(0x47e)](q),_0x34e916=(_0x2aff03=_0x4d30e7==null?void 0x0:_0x4d30e7[_0x13ba81(0x2f9)])!=null?_0x2aff03:On;return(_0x9bb75c=(_0x1f5210=(await this['_httpService'][_0x13ba81(0x260)](_0x34e916,{'headers':{'Content-Type':_0x13ba81(0x3f4)}}))[_0x13ba81(0x233)])==null?void 0x0:_0x1f5210[_0x13ba81(0x458)])!=null?_0x9bb75c:'';}[_0x108c00(0x234)](_0xbbe8c){var _0x2cb73c=_0x108c00,_0x27fcc2,_0x599a7d;const _0x4fcf1a=this[_0x2cb73c(0x217)][_0x2cb73c(0x47e)](Rn),_0x140a8d=this[_0x2cb73c(0x217)][_0x2cb73c(0x47e)](q),_0x10c361=(_0x599a7d=(_0x27fcc2=_0x140a8d==null?void 0x0:_0x140a8d['collabWebSocketUrl'])!=null?_0x27fcc2:_0x4fcf1a)!=null?_0x599a7d:bn,_0x5e6383=typeof window>'u'?new URL(_0x10c361):new URL(_0x10c361,window[_0x2cb73c(0x298)][_0x2cb73c(0x1ff)]);_0x5e6383['searchParams'][_0x2cb73c(0x338)](_0x2cb73c(0x3bf),_0xbbe8c);const _0x2abc0b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2cb73c(0x3ac)]);return _0x2abc0b[_0x2cb73c(0x260)](_0x2cb73c(0x496))&&_0x5e6383[_0x2cb73c(0x2f7)][_0x2cb73c(0x338)](_0x2cb73c(0x496),_0x2abc0b[_0x2cb73c(0x260)]('runId')),_0x5e6383[_0x2cb73c(0x3cd)]();}async[_0x108c00(0x30b)](){var _0x23a186=_0x108c00;const _0x1f9091=await this[_0x23a186(0x45e)](),_0x1bd475=this[_0x23a186(0x234)](_0x1f9091),_0x3ad8b8=this[_0x23a186(0x2f8)][_0x23a186(0x2b6)](_0x1bd475);return this[_0x23a186(0x4b9)]=_0x3ad8b8,_0x3ad8b8;}async[_0x108c00(0x3d6)](){var _0x1f42af=_0x108c00,_0x416dfa,_0x8e0d8f;try{const _0x5d422b=(_0x8e0d8f=(_0x416dfa=this[_0x1f42af(0x3d9)])!=null?_0x416dfa:this[_0x1f42af(0x4b9)])!=null?_0x8e0d8f:await this['_createSocket']();if(_0x5d422b){const _0x561885=_0x5d422b['send'];_0x5d422b[_0x1f42af(0x2eb)]=_0x490339=>(this[_0x1f42af(0x323)](),_0x561885[_0x1f42af(0x321)](_0x5d422b,[_0x490339])),_0x5d422b['message$'][_0x1f42af(0x44b)](_0x10fa76=>this['_onMessage'](_0x5d422b,_0x10fa76)),_0x5d422b['error$'][_0x1f42af(0x383)](_0x5b6b83(0x1))[_0x1f42af(0x44b)](_0x13abfc=>this[_0x1f42af(0x431)][_0x1f42af(0x489)]('[CollaborationSessionService]:\x20socket\x20error',_0x13abfc)),_0x5d422b[_0x1f42af(0x359)][_0x1f42af(0x383)](_0x5b6b83(0x1))['subscribe'](()=>{var _0x260dc0=_0x1f42af;this[_0x260dc0(0x2c2)](_0x5d422b);}),_0x5d422b[_0x1f42af(0x3c8)][_0x1f42af(0x383)](_0x5b6b83(0x1))['subscribe'](_0x4afd99=>{var _0x580c80=_0x1f42af;this[_0x580c80(0x431)][_0x580c80(0x20b)](_0x580c80(0x3dc),_0x580c80(0x25a),_0x4afd99),this[_0x580c80(0x47a)]();});}}catch(_0x3124fd){this[_0x1f42af(0x431)]['error'](_0x3124fd),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x27d0c4){var _0x21aabf=_0x108c00;this[_0x21aabf(0x431)]['debug'](_0x21aabf(0x3dc),_0x21aabf(0x3fd)),_0x27d0c4[_0x21aabf(0x2eb)]({'cmd':F[_0x21aabf(0x2f3)]}),this[_0x21aabf(0x323)]();}[_0x108c00(0x26c)](){var _0x1c4d81=_0x108c00;this[_0x1c4d81(0x290)]=!0x1,this['_candidateSocket']=null,this[_0x1c4d81(0x49b)][_0x1c4d81(0x449)](Te['OFFLINE']),this[_0x1c4d81(0x27b)][_0x1c4d81(0x449)](null),this[_0x1c4d81(0x1cf)](),this['_clearHeartbeatTimer']();}[_0x108c00(0x47a)](){var _0x20ac06=_0x108c00,_0x36bd96;this[_0x20ac06(0x26c)](),this[_0x20ac06(0x32d)]<((_0x36bd96=this[_0x20ac06(0x217)][_0x20ac06(0x47e)](Pn))!=null?_0x36bd96:wn)?(this[_0x20ac06(0x4bf)][_0x20ac06(0x225)]({'id':se[_0x20ac06(0x34f)]}),this[_0x20ac06(0x2b4)]()):this[_0x20ac06(0x4bf)][_0x20ac06(0x225)]({'id':se[_0x20ac06(0x25c)]});}[_0x108c00(0x2b4)](){var _0x3512ca=_0x108c00,_0x32acd7;const _0x897c6b=this[_0x3512ca(0x32d)],_0x1e2169=this[_0x3512ca(0x217)]['getConfig'](q),_0x4ecf09=_0x897c6b===0x0?0x0:((_0x32acd7=_0x1e2169==null?void 0x0:_0x1e2169['retryConnectingInterval'])!=null?_0x32acd7:Dn)*0x2**_0x897c6b;this[_0x3512ca(0x3b5)]=setTimeout(()=>{var _0x5dc342=_0x3512ca;clearTimeout(this['_retryConnectingTimer']),this[_0x5dc342(0x3b5)]=null,this[_0x5dc342(0x3d6)]();},_0x4ecf09),this['_retryCount']+=0x1;}[_0x108c00(0x2fc)](_0x4d744d,_0x434dfa){var _0x330255=_0x108c00;const {cmd:_0x427d29}=_0x434dfa;_0x427d29===F[_0x330255(0x2f3)]&&!this[_0x330255(0x290)]&&(_0x4d744d[_0x330255(0x2e1)]=_0x434dfa[_0x330255(0x29f)]['memberID'],this['_socket$']['next'](_0x4d744d),this[_0x330255(0x49b)][_0x330255(0x449)](Te[_0x330255(0x39a)]),this['_socketReady']=!0x0,this[_0x330255(0x4b9)]=null),_0x427d29===F[_0x330255(0x22e)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x47f074=_0x108c00,_0x49c9a8;this[_0x47f074(0x46d)](),this[_0x47f074(0x47b)]=setTimeout(()=>this[_0x47f074(0x318)](),(_0x49c9a8=this['_configService']['getConfig'](yn))!=null?_0x49c9a8:Nn);}[_0x108c00(0x318)](){var _0x31fe5a=_0x108c00;this[_0x31fe5a(0x3d9)][_0x31fe5a(0x2eb)]({'cmd':F[_0x31fe5a(0x22e)]}),this['_waitForHeartbeatResponse']();}[_0x108c00(0x275)](){var _0x5a24c3=_0x108c00,_0x349564;this[_0x5a24c3(0x45d)]=setTimeout(()=>this[_0x5a24c3(0x47a)](),(_0x349564=this['_configService']['getConfig'](Si))!=null?_0x349564:Ei);}[_0x108c00(0x46d)](){var _0x4a5954=_0x108c00;this[_0x4a5954(0x47b)]!=null&&(clearTimeout(this[_0x4a5954(0x47b)]),this[_0x4a5954(0x47b)]=null);}[_0x108c00(0x1cf)](){var _0x2c48d1=_0x108c00;this[_0x2c48d1(0x45d)]!=null&&(clearTimeout(this[_0x2c48d1(0x45d)]),this[_0x2c48d1(0x45d)]=null);}};Le=er([ge(0x0,_0x22b705(_0x491816)),ge(0x1,_0x43bc54),ge(0x2,_0x1c99c2),ge(0x3,Ci),ge(0x4,_0x22b705(_0x55772)),ge(0x5,_0x22b705(pe)),ge(0x6,_0x4b5f3d(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x108c00(0x3d1)]((n+0x100)['toString'](0x10)[_0x108c00(0x396)](0x1));function tr(_0x53d95b,_0x4b3603=0x0){var _0x5cb1c7=_0x108c00;return(V[_0x53d95b[_0x4b3603+0x0]]+V[_0x53d95b[_0x4b3603+0x1]]+V[_0x53d95b[_0x4b3603+0x2]]+V[_0x53d95b[_0x4b3603+0x3]]+'-'+V[_0x53d95b[_0x4b3603+0x4]]+V[_0x53d95b[_0x4b3603+0x5]]+'-'+V[_0x53d95b[_0x4b3603+0x6]]+V[_0x53d95b[_0x4b3603+0x7]]+'-'+V[_0x53d95b[_0x4b3603+0x8]]+V[_0x53d95b[_0x4b3603+0x9]]+'-'+V[_0x53d95b[_0x4b3603+0xa]]+V[_0x53d95b[_0x4b3603+0xb]]+V[_0x53d95b[_0x4b3603+0xc]]+V[_0x53d95b[_0x4b3603+0xd]]+V[_0x53d95b[_0x4b3603+0xe]]+V[_0x53d95b[_0x4b3603+0xf]])[_0x5cb1c7(0x387)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x2ce62a=_0x108c00;if(!ut){if(typeof crypto>'u'||!crypto[_0x2ce62a(0x472)])throw new Error(_0x2ce62a(0x373));ut=crypto[_0x2ce62a(0x472)][_0x2ce62a(0x46e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x108c00(0x364)]&&crypto['randomUUID'][_0x108c00(0x46e)](crypto),qt={'randomUUID':rr};function sr(_0x349856,_0x58039d,_0x4a38f5){var _0xefc6a0=_0x108c00,_0x1d5b84,_0x2dfeff,_0x4aab89;if(qt[_0xefc6a0(0x364)]&&!_0x349856)return qt[_0xefc6a0(0x364)]();_0x349856=_0x349856||{};const _0x190799=(_0x4aab89=(_0x2dfeff=_0x349856[_0xefc6a0(0x22c)])!=null?_0x2dfeff:(_0x1d5b84=_0x349856['rng'])==null?void 0x0:_0x1d5b84[_0xefc6a0(0x314)](_0x349856))!=null?_0x4aab89:nr();if(_0x190799[_0xefc6a0(0x24e)]<0x10)throw new Error(_0xefc6a0(0x2b3));return _0x190799[0x6]=_0x190799[0x6]&0xf|0x40,_0x190799[0x8]=_0x190799[0x8]&0x3f|0x80,tr(_0x190799);}const J=_0x1ee40e(_0x108c00(0x429));function so(_0x184e00){return'unit-cache-'+_0x184e00;}var or=Object[_0x108c00(0x31d)],ar=Object[_0x108c00(0x21a)],cr=(_0x4df607,_0x2dc32a,_0xfaf1f,_0x309ed4)=>{for(var _0x4d513c=_0x309ed4>0x1?void 0x0:_0x309ed4?ar(_0x2dc32a,_0xfaf1f):_0x2dc32a,_0x2d1388=_0x4df607['length']-0x1,_0x24c82b;_0x2d1388>=0x0;_0x2d1388--)(_0x24c82b=_0x4df607[_0x2d1388])&&(_0x4d513c=(_0x309ed4?_0x24c82b(_0x2dc32a,_0xfaf1f,_0x4d513c):_0x24c82b(_0x4d513c))||_0x4d513c);return _0x309ed4&&_0x4d513c&&or(_0x2dc32a,_0xfaf1f,_0x4d513c),_0x4d513c;},dt=(_0x4bd499,_0xae49b6)=>(_0x4ce6b7,_0x23dfee)=>_0xae49b6(_0x4ce6b7,_0x23dfee,_0x4bd499);function hr(_0x48a791){var _0x4427ac=_0x108c00;const {unitID:_0xaaab24,mutations:_0x257aa9}=_0x48a791;return{'unitId':_0xaaab24,'subUnitId':_0x257aa9[0x0][_0x4427ac(0x312)]['subUnitId']};}let it=class{constructor(_0x2aa4e1,_0x2e9a13,_0x5d2006){var _0x2791e4=_0x108c00;this[_0x2791e4(0x2f0)]=_0x2aa4e1,this[_0x2791e4(0x434)]=_0x2e9a13,this[_0x2791e4(0x247)]=_0x5d2006;}[_0x108c00(0x29a)](_0x59346f){var _0x4c1d01=_0x108c00,_0x536e75,_0x1568ca,_0x22931e,_0x313762;const _0x2b4fcb=this[_0x4c1d01(0x2f0)][_0x4c1d01(0x260)](_0x3205a6),{unitId:_0x17089e,subUnitId:_0x1e0b6f}=hr(_0x59346f),_0x699864=_0x2b4fcb==null?void 0x0:_0x2b4fcb[_0x4c1d01(0x3b1)](_0x17089e)[_0x4c1d01(0x205)](),_0x196676=(_0x1568ca=(_0x536e75=this['_instanceService']['getUnit'](_0x17089e))==null?void 0x0:_0x536e75[_0x4c1d01(0x253)]())==null?void 0x0:_0x1568ca[_0x4c1d01(0x41d)]();if(_0x699864['length']===0x0||!_0x17089e||!_0x1e0b6f)return;const _0x2c0d60=[{'id':_0x2dc9e0['id'],'params':{'unitId':_0x17089e,'subUnitId':_0x196676,'selections':_0x2359c0['deepClone'](_0x699864)}}],_0x50915f=this[_0x4c1d01(0x434)][_0x4c1d01(0x416)](_0x59346f,_0x2c0d60);if(!_0x537184(_0x50915f))throw _0x50915f[_0x4c1d01(0x489)];const _0x162428=(_0x313762=(_0x22931e=_0x50915f[_0x4c1d01(0x40b)][0x0])==null?void 0x0:_0x22931e[_0x4c1d01(0x312)])==null?void 0x0:_0x313762[_0x4c1d01(0x4b8)];if(Array[_0x4c1d01(0x31b)](_0x162428)&&_0x162428[_0x4c1d01(0x24e)]){if(_0x162428['length']===_0x2c0d60[0x0][_0x4c1d01(0x312)][_0x4c1d01(0x4b8)][_0x4c1d01(0x24e)]&&_0x162428[_0x4c1d01(0x3db)]((_0x50d1a9,_0x3a0079)=>_0x14ce7c['equals'](_0x50d1a9[_0x4c1d01(0x345)],_0x2c0d60[0x0][_0x4c1d01(0x312)][_0x4c1d01(0x4b8)][_0x3a0079][_0x4c1d01(0x345)])))return;this['_injector'][_0x4c1d01(0x260)](_0x2ea271)[_0x4c1d01(0x296)](_0x2dc9e0['id'],{'unitId':_0x17089e,'subUnitId':_0x196676,'selections':_0x162428});}}};it=cr([dt(0x0,_0x22b705(_0x491816)),dt(0x1,_0x1a1f85),dt(0x2,_0x53b9e4)],it);const ht=_0x1ee40e(_0x108c00(0x2c0));var bi=(_0x5c4860=>(_0x5c4860[_0x5c4860['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x108c00(0x3cf),_0x5c4860[_0x5c4860[_0x108c00(0x316)]=0x1]=_0x108c00(0x316),_0x5c4860))(bi||{});const _r=new Set([_0x2e210d['id']]);function zt(_0x6145c6,_0x570b69,_0x56faf1,_0x23b187,_0x21aaae){var _0x2beba4=_0x108c00,_0x709a9d,_0x49b83d,_0xc9165e,_0x539f71;const _0x26a79b=[];for(const _0x57b648 of _0x6145c6)if(_r[_0x2beba4(0x417)](_0x57b648['id'])){if(_0x26a79b[_0x2beba4(0x24e)]>0x0)break;_0x26a79b[_0x2beba4(0x3d1)](_0x57b648);break;}else _0x26a79b[_0x2beba4(0x3d1)](_0x57b648);const _0x326a2a=(_0x49b83d=(_0x709a9d=_0x21aaae[_0x2beba4(0x1dd)]())==null?void 0x0:_0x709a9d[_0x2beba4(0x2fd)])!=null?_0x49b83d:_0x2beba4(0x228),_0x3594ce=(_0x539f71=(_0xc9165e=_0x21aaae[_0x2beba4(0x1dd)]())==null?void 0x0:_0xc9165e[_0x2beba4(0x2e1)])!=null?_0x539f71:_0x2beba4(0x228);return{'changeset':{'unitID':_0x570b69,'type':_0xd264b0(_0x56faf1[_0x2beba4(0x208)](_0x570b69)),'baseRev':_0x23b187[_0x2beba4(0x1e3)](_0x570b69),'revision':0x0,'userID':_0x326a2a,'memberID':_0x3594ce,'mutations':_0x26a79b},'pendingMutations':_0x6145c6[_0x2beba4(0x396)](_0x26a79b['length'])};}function lr(_0x5bfe63,_0x296616,_0x5610d3,_0x5e5ef7,_0x523ef4){var _0x5e33d8=_0x108c00,_0x3268b4,_0x11dcb8,_0x53fc20,_0x3f4de6;const _0xce4c99=[_0x5bfe63['reduce']((_0x2133c5,_0x818e52)=>{var _0xc68764=_0x5020,_0x5e3931;const {id:_0xe0f40e}=_0x2133c5,{id:_0x2dc989,type:_0x3b6ce8}=_0x818e52,_0x314ec8=(_0x5e3931=_0x2133c5[_0xc68764(0x312)])!=null?_0x5e3931:{'actions':null},_0x11535f=_0x818e52[_0xc68764(0x312)];if(_0xe0f40e&&_0xe0f40e!==_0x2dc989)throw new Error(_0xc68764(0x386)+_0xe0f40e+_0xc68764(0x4ac)+_0x2dc989+'.');return{..._0x2133c5,'id':_0x2dc989,'type':_0x3b6ce8,'params':{'unitId':_0x11535f['unitId'],'textRanges':_0x11535f['textRanges'],'actions':_0x21699a[_0xc68764(0x48b)](_0x314ec8[_0xc68764(0x3da)],_0x11535f[_0xc68764(0x3da)])}};},{})],_0x2ccb89=(_0x11dcb8=(_0x3268b4=_0x523ef4[_0x5e33d8(0x1dd)]())==null?void 0x0:_0x3268b4[_0x5e33d8(0x2fd)])!=null?_0x11dcb8:_0x5e33d8(0x228),_0x4a0561=(_0x3f4de6=(_0x53fc20=_0x523ef4[_0x5e33d8(0x1dd)]())==null?void 0x0:_0x53fc20['memberID'])!=null?_0x3f4de6:_0x5e33d8(0x228);return{'changeset':{'unitID':_0x296616,'type':_0xd264b0(_0x5610d3['getUnitType'](_0x296616)),'baseRev':_0x5e5ef7[_0x5e33d8(0x1e3)](_0x296616),'revision':0x0,'userID':_0x2ccb89,'memberID':_0x4a0561,'mutations':_0xce4c99},'pendingMutations':[]};}function Oi(_0x377fcb,_0x21fc9e){var _0x38ac15=_0x108c00;const _0x4ec2d0=new _0x118d77(0x1);return setTimeout(()=>_0x4ec2d0[_0x38ac15(0x449)](_0x21fc9e),_0x377fcb),_0x4ec2d0[_0x38ac15(0x3ff)]()[_0x38ac15(0x383)](_0x3271a7(0x1));}const ur={'id':_0x5271b8['id'],'type':_0x55a241[_0x108c00(0x1c5)],'params':{}};var dr=Object[_0x108c00(0x31d)],fr=Object[_0x108c00(0x21a)],Re=(_0xb7609,_0x423c2f,_0x1c3c2e,_0x28c9b7)=>{var _0x2e054d=_0x108c00;for(var _0x1e0e50=_0x28c9b7>0x1?void 0x0:_0x28c9b7?fr(_0x423c2f,_0x1c3c2e):_0x423c2f,_0x44b2ad=_0xb7609[_0x2e054d(0x24e)]-0x1,_0x6aa7cb;_0x44b2ad>=0x0;_0x44b2ad--)(_0x6aa7cb=_0xb7609[_0x44b2ad])&&(_0x1e0e50=(_0x28c9b7?_0x6aa7cb(_0x423c2f,_0x1c3c2e,_0x1e0e50):_0x6aa7cb(_0x1e0e50))||_0x1e0e50);return _0x28c9b7&&_0x1e0e50&&dr(_0x423c2f,_0x1c3c2e,_0x1e0e50),_0x1e0e50;},A=(_0x597380,_0x2bbbd0)=>(_0xde75bb,_0x55b76b)=>_0x2bbbd0(_0xde75bb,_0x55b76b,_0x597380),yi=(_0x370861=>(_0x370861[_0x108c00(0x32b)]=_0x108c00(0x2fa),_0x370861[_0x108c00(0x370)]=_0x108c00(0x1f5),_0x370861[_0x108c00(0x4ad)]=_0x108c00(0x423),_0x370861[_0x108c00(0x3f0)]='awaiting',_0x370861[_0x108c00(0x33f)]='awaiting_with_pending',_0x370861[_0x108c00(0x209)]=_0x108c00(0x349),_0x370861[_0x108c00(0x3de)]=_0x108c00(0x4b3),_0x370861[_0x108c00(0x256)]='offline',_0x370861))(yi||{});const Ni=0xea60;class be{constructor(_0x58dea4,_0x17b7a8,_0x41fb61,_0x2e566b,_0x5b5964,_0x11912f,_0x4b055e,_0x587bce,_0x1b25bf){var _0x2a9400=_0x108c00;N(this,'_awaitingChangeset',null),N(this,_0x2a9400(0x34c),[]),(this[_0x2a9400(0x418)]=_0x58dea4,this[_0x2a9400(0x32c)]=_0x17b7a8,this[_0x2a9400(0x1d4)]=_0x5b5964,this[_0x2a9400(0x3e5)]=_0x11912f,this['_undoRedoService']=_0x4b055e,this[_0x2a9400(0x331)]=_0x587bce,this['_localCacheService']=_0x1b25bf,this['_awaitingChangeset']=_0x41fb61,this[_0x2a9400(0x34c)]=_0x2e566b);}['_checkMissing'](_0x1b6d96){var _0x1c7328=_0x108c00;const _0x2ec95a=this['_revisionService'][_0x1c7328(0x1e3)](this[_0x1c7328(0x418)]);return _0x1b6d96[_0x1c7328(0x3d4)]>_0x2ec95a+0x1?(this['_handler'][_0x1c7328(0x21c)]({'from':_0x2ec95a,'to':_0x1b6d96[_0x1c7328(0x3d4)]-0x1}),!0x0):!0x1;}[_0x108c00(0x3cc)](_0x9dcda1){var _0x1fa2dc=_0x108c00;this[_0x1fa2dc(0x452)][_0x1fa2dc(0x40e)](this[_0x1fa2dc(0x418)],_0x9dcda1);}[_0x108c00(0x32a)](_0x2943f7){var _0x41df8c=_0x108c00,_0x51eeb3,_0x2531c2;(_0x2531c2=(_0x51eeb3=this[_0x41df8c(0x1d4)])[_0x41df8c(0x377)])==null||_0x2531c2[_0x41df8c(0x314)](_0x51eeb3,_0x2943f7);}[_0x108c00(0x414)](_0x2e1503){var _0x14c605=_0x108c00,_0x397155,_0xa889ce;return(_0xa889ce=(_0x397155=this[_0x14c605(0x1d4)])[_0x14c605(0x271)])==null?void 0x0:_0xa889ce[_0x14c605(0x314)](_0x397155,_0x2e1503);}[_0x108c00(0x1d2)](_0x38e0cc){var _0x250a66=_0x108c00,_0x25f00d,_0xb7d286;return(_0xb7d286=(_0x25f00d=this['_handler'])[_0x250a66(0x356)])==null?void 0x0:_0xb7d286[_0x250a66(0x314)](_0x25f00d,_0x38e0cc);}[_0x108c00(0x35e)](_0x568419){var _0x1ff08c=_0x108c00,_0x1d5721,_0x2d2c5d,_0x337379;return(_0x337379=(_0x2d2c5d=(_0x1d5721=this[_0x1ff08c(0x1d4)])[_0x1ff08c(0x269)])==null?void 0x0:_0x2d2c5d[_0x1ff08c(0x314)](_0x1d5721,_0x568419))!=null?_0x337379:_0x568419;}['_transformRemoteChangesetByStateCache'](_0x5a965d){var _0x30de83=_0x108c00,_0x1472a0,_0x122d6a,_0xe94dbf;return(_0xe94dbf=(_0x122d6a=(_0x1472a0=this[_0x30de83(0x1d4)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x122d6a[_0x30de83(0x314)](_0x1472a0,_0x5a965d))!=null?_0xe94dbf:_0x5a965d;}['_syncEditingCollabCursor'](_0x5d4a28){var _0x520014=_0x108c00,_0x1402ee,_0x41cb8b;if(this[_0x520014(0x32c)]===Q[_0x520014(0x1be)]){const {unitID:_0xd6d5d1,mutations:_0x8a7ca0,memberID:_0x160f76}=_0x5d4a28,_0x178674=_0x8a7ca0[0x0][_0x520014(0x312)][_0x520014(0x398)];Array[_0x520014(0x31b)](_0x178674)&&_0x178674['length']>0x0&&((_0x41cb8b=(_0x1402ee=this[_0x520014(0x1d4)])['onSyncEditingCollabCursor'])==null||_0x41cb8b[_0x520014(0x314)](_0x1402ee,{'unitID':_0xd6d5d1,'memberID':_0x160f76,'textRanges':_0x178674}));}}[_0x108c00(0x451)](){var _0xd9816b=_0x108c00,_0x1cea64;(_0x1cea64=this['_localCacheService'])==null||_0x1cea64[_0xd9816b(0x1c3)](this['unitID'],this[_0xd9816b(0x32c)],this[_0xd9816b(0x2e5)],this[_0xd9816b(0x34c)]);}[_0x108c00(0x378)](){var _0x11d8b1=_0x108c00;return this['_revisionService'][_0x11d8b1(0x1e3)](this[_0x11d8b1(0x418)]);}[_0x108c00(0x1dc)](){var _0xddae66=_0x108c00;this['_revisionService'][_0xddae66(0x1d6)](this[_0xddae66(0x418)]);}[_0x108c00(0x471)](_0x3a1544){var _0x51492f=_0x108c00,_0xc7f94f;let _0x52d15b=this[_0x51492f(0x35e)](_0x3a1544);_0x52d15b=this[_0x51492f(0x226)](_0x52d15b);const _0x466fca=_0x39ac8f(_0x52d15b[_0x51492f(0x340)],this[_0x51492f(0x3e5)],{'fromCollab':!0x0});if(!_0x466fca[_0x51492f(0x306)])throw _0x466fca['error']instanceof Error?_0x466fca[_0x51492f(0x489)]:new Error((_0xc7f94f=_0x466fca[_0x51492f(0x489)])!=null?_0xc7f94f:'[CollaborationState]:\x20apply\x20error!');this[_0x51492f(0x414)](_0x52d15b),this[_0x51492f(0x1d2)](_0x52d15b),this[_0x51492f(0x3cc)](_0x3a1544),this[_0x51492f(0x32a)](_0x52d15b),this[_0x51492f(0x3b9)](_0x52d15b),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x37af01,_0x340c7e,_0x574a0d,_0x27379a,_0x29f780,_0x300d05,_0x463088,_0x105d4f,_0x3cb0af,_0x4c7713){var _0x44f168=_0x108c00;super(_0x37af01,_0x340c7e,null,[],_0x574a0d,_0x463088,_0x300d05,_0x27379a,_0x4c7713),N(this,'status',_0x44f168(0x1f5)),(this['_injector']=_0x29f780,this[_0x44f168(0x431)]=_0x105d4f,this[_0x44f168(0x434)]=_0x3cb0af,this[_0x44f168(0x263)]=_0x4c7713);}[_0x108c00(0x2d8)](_0x1b24e9){var _0x36387a=_0x108c00;const _0x4d640d=this[_0x36387a(0x2f0)][_0x36387a(0x45c)](oe,this[_0x36387a(0x418)],this[_0x36387a(0x32c)],[_0x1b24e9],this[_0x36387a(0x1d4)]);return _0x4d640d[_0x36387a(0x2d1)](),_0x4d640d[_0x36387a(0x451)](),_0x4d640d;}[_0x108c00(0x26a)](_0x59371c){var _0x54175a=_0x108c00;if(this[_0x54175a(0x342)](_0x59371c))return this[_0x54175a(0x2f0)]['createInstance'](te,this[_0x54175a(0x418)],this[_0x54175a(0x32c)],null,[],null,[_0x59371c],this[_0x54175a(0x1d4)]);try{const _0xd26eba=this[_0x54175a(0x434)][_0x54175a(0x416)](_0x59371c,[ur]);if(_0x537184(_0xd26eba)){const {c1Prime:_0x4129fd}=_0xd26eba;return this[_0x54175a(0x471)](_0x4129fd),this;}throw _0xd26eba[_0x54175a(0x489)];}catch(_0x2d8828){return this[_0x54175a(0x431)]['error'](_0x2d8828),this['_onConflict'](!0x1);}}[_0x108c00(0x343)](_0x44a141){var _0x26a5b2=_0x108c00;return this[_0x26a5b2(0x2f0)]['createInstance'](de,this['unitID'],this[_0x26a5b2(0x32c)],null,[],this[_0x26a5b2(0x1d4)],_0x44a141);}[_0x108c00(0x339)](){var _0x23b4b8=_0x108c00;throw new Error(_0x23b4b8(0x394));}['onRemoteRej'](){var _0x777fd=_0x108c00;throw new Error(_0x777fd(0x25d));}['onRemoteRetry'](){return this;}[_0x108c00(0x2a9)](){var _0x3195d7=_0x108c00;return this[_0x3195d7(0x2f0)][_0x3195d7(0x45c)](fe,this[_0x3195d7(0x418)],this[_0x3195d7(0x32c)],null,[],this['_handler']);}[_0x108c00(0x1d0)](){return this;}['resend'](){var _0x4edf0c=_0x108c00;throw new Error(_0x4edf0c(0x311));}[_0x108c00(0x38f)](){var _0x51ee55=_0x108c00;const _0x4644dd=this[_0x51ee55(0x331)][_0x51ee55(0x1e3)](this[_0x51ee55(0x418)]);return this[_0x51ee55(0x1d4)][_0x51ee55(0x21c)]({'from':_0x4644dd,'to':0x0}),this[_0x51ee55(0x2f0)]['createInstance'](te,this[_0x51ee55(0x418)],this[_0x51ee55(0x32c)],null,[],null,[],this[_0x51ee55(0x1d4)]);}};De=Re([A(0x3,_0x22b705(_0x4500ba)),A(0x4,_0x22b705(_0x491816)),A(0x5,_0x3d7b9b),A(0x6,_0x2ea271),A(0x7,_0x43bc54),A(0x8,_0x1a1f85),A(0x9,_0x4b5f3d(J))],De);let oe=class extends be{constructor(_0x2f4608,_0x69d866,_0xe641a0,_0x7796fd,_0x2c08dc,_0x4ffa1e,_0x115825,_0xcb3531,_0x429dcc,_0x864210,_0x2e8eb0,_0x5b2957,_0x5cd80a,_0x2ad34e){var _0x24d3f9=_0x108c00;super(_0x2f4608,_0x69d866,null,_0xe641a0,_0x7796fd,_0x429dcc,_0x5cd80a,_0x4ffa1e,_0x2ad34e),N(this,_0x24d3f9(0x372),'pending'),N(this,_0x24d3f9(0x481),null),N(this,_0x24d3f9(0x435),null),(this['_injector']=_0x2c08dc,this[_0x24d3f9(0x24c)]=_0x115825,this[_0x24d3f9(0x431)]=_0xcb3531,this[_0x24d3f9(0x217)]=_0x864210,this[_0x24d3f9(0x434)]=_0x2e8eb0,this[_0x24d3f9(0x293)]=_0x5b2957);}['appendMutation'](_0x34f0a0){var _0x58aafa=_0x108c00;return this['_pendingMutations'][_0x58aafa(0x3d1)](_0x34f0a0),this[_0x58aafa(0x451)](),this;}[_0x108c00(0x26a)](_0x3c2806){var _0x208658=_0x108c00;if(this[_0x208658(0x342)](_0x3c2806))return this[_0x208658(0x4bc)](),this[_0x208658(0x2f0)][_0x208658(0x45c)](te,this[_0x208658(0x418)],this['type'],null,this[_0x208658(0x34c)],null,[_0x3c2806],this[_0x208658(0x1d4)]);try{const _0x4e3591=this[_0x208658(0x434)][_0x208658(0x416)](_0x3c2806,this[_0x208658(0x34c)]);if(_0x537184(_0x4e3591)){const {c1Prime:_0x62f62f,m2Prime:_0x58b0f4}=_0x4e3591;this[_0x208658(0x471)](_0x62f62f);const _0x295520=this[_0x208658(0x2f0)][_0x208658(0x45c)](oe,this['unitID'],this[_0x208658(0x32c)],_0x58b0f4,this['_handler']);this['_clearScheduledTask']();const _0x389c7d=new Date()[_0x208658(0x26d)](),_0x3f2285=this[_0x208658(0x481)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x389c7d,0x0):this[_0x208658(0x2ba)]();return _0x295520['_schedule'](_0x3f2285),_0x295520;}throw _0x4e3591['error'];}catch(_0x156e8f){return this['_logService']['error'](_0x156e8f),this[_0x208658(0x343)](!0x1);}}[_0x108c00(0x339)](){var _0x283e24=_0x108c00;throw new Error(_0x283e24(0x2e9));}['onRemoteRej'](){var _0x3d9707=_0x108c00;throw new Error(_0x3d9707(0x37b));}['onRemoteRetry'](){return this;}[_0x108c00(0x2a9)](){var _0x3029b2=_0x108c00;return this[_0x3029b2(0x4bc)](),this[_0x3029b2(0x2f0)][_0x3029b2(0x45c)](fe,this[_0x3029b2(0x418)],this['type'],null,this[_0x3029b2(0x34c)],this[_0x3029b2(0x1d4)]);}[_0x108c00(0x1d0)](){return this;}['_schedule'](_0x1fa47b){var _0x2d062f=_0x108c00;const _0x42da36=_0x1fa47b!=null?_0x1fa47b:this[_0x2d062f(0x2ba)]();this[_0x2d062f(0x481)]=new Date()[_0x2d062f(0x26d)]()+_0x42da36,this[_0x2d062f(0x435)]=setTimeout(()=>{var _0x50d32d=_0x2d062f;this[_0x50d32d(0x4bc)]();let _0x604490=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x604490=zt(this[_0x50d32d(0x34c)],this[_0x50d32d(0x418)],this[_0x50d32d(0x293)],this['_revisionService'],this[_0x50d32d(0x24c)]);break;}case Q[_0x50d32d(0x1be)]:{this['_pendingMutations'][_0x50d32d(0x3db)](_0xe57ab1=>_0xe57ab1['id']===_0x420188['id'])?_0x604490=lr(this['_pendingMutations'],this[_0x50d32d(0x418)],this[_0x50d32d(0x293)],this[_0x50d32d(0x331)],this[_0x50d32d(0x24c)]):_0x604490=zt(this[_0x50d32d(0x34c)],this[_0x50d32d(0x418)],this[_0x50d32d(0x293)],this[_0x50d32d(0x331)],this['_memberService']);break;}default:throw new Error(_0x50d32d(0x2bb)+this[_0x50d32d(0x32c)]+'\x20in\x20_schedule.');}const {changeset:_0x3605dd,pendingMutations:_0x4b5abe}=_0x604490;this['_handler'][_0x50d32d(0x448)](_0x3605dd);const _0x3cd803=_0x4b5abe[_0x50d32d(0x24e)]?this[_0x50d32d(0x2f0)][_0x50d32d(0x45c)](ae,this[_0x50d32d(0x418)],this[_0x50d32d(0x32c)],_0x3605dd,_0x4b5abe,this['_handler'],void 0x0):this[_0x50d32d(0x2f0)][_0x50d32d(0x45c)](ue,this[_0x50d32d(0x418)],this[_0x50d32d(0x32c)],_0x3605dd,this[_0x50d32d(0x1d4)]);_0x3cd803[_0x50d32d(0x451)](),this[_0x50d32d(0x1d4)][_0x50d32d(0x300)](this,_0x3cd803);},_0x42da36);}[_0x108c00(0x2ba)](){var _0x399284=_0x108c00,_0x1dde9e;const _0x1c7f7a=this[_0x399284(0x217)][_0x399284(0x47e)](q);return(_0x1dde9e=_0x1c7f7a==null?void 0x0:_0x1c7f7a[_0x399284(0x2e6)])!=null?_0x1dde9e:Cn;}[_0x108c00(0x21b)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x431705=_0x108c00;this[_0x431705(0x435)]!=null&&(clearTimeout(this[_0x431705(0x435)]),this[_0x431705(0x435)]=null);}[_0x108c00(0x343)](_0x358776){var _0x300ec9=_0x108c00;return this[_0x300ec9(0x4bc)](),this[_0x300ec9(0x2f0)][_0x300ec9(0x45c)](de,this[_0x300ec9(0x418)],this['type'],null,this[_0x300ec9(0x34c)],this[_0x300ec9(0x1d4)],_0x358776);}};oe=Re([A(0x4,_0x22b705(_0x491816)),A(0x5,_0x22b705(_0x4500ba)),A(0x6,_0x22b705(xe)),A(0x7,_0x43bc54),A(0x8,_0x2ea271),A(0x9,_0x1c99c2),A(0xa,_0x1a1f85),A(0xb,_0x53b9e4),A(0xc,_0x3d7b9b),A(0xd,_0x4b5f3d(J))],oe);let ue=class extends be{constructor(_0x518719,_0x1fb068,_0x10b48a,_0x1ef345,_0x4f3660,_0x2a352a,_0x9fd7f4,_0x5eda81,_0x5f0c4b,_0x9cd8,_0x4b561f){var _0x5530d=_0x108c00;super(_0x518719,_0x1fb068,_0x10b48a,[],_0x1ef345,_0x9fd7f4,_0x9cd8,_0x2a352a,_0x4b561f),N(this,_0x5530d(0x372),_0x5530d(0x24f)),N(this,_0x5530d(0x1bb),0x0),N(this,_0x5530d(0x2b2)),N(this,_0x5530d(0x1ee)),(this['_injector']=_0x4f3660,this[_0x5530d(0x431)]=_0x5eda81,this['_transformService']=_0x5f0c4b);}[_0x108c00(0x2d8)](_0x1167ae){var _0x3dd759=_0x108c00;this[_0x3dd759(0x4bc)]();const _0x183d87=this[_0x3dd759(0x2f0)][_0x3dd759(0x45c)](ae,this[_0x3dd759(0x418)],this[_0x3dd759(0x32c)],this[_0x3dd759(0x2e5)],[_0x1167ae],this[_0x3dd759(0x1d4)],this[_0x3dd759(0x2b2)]);return _0x183d87[_0x3dd759(0x451)](),_0x183d87;}[_0x108c00(0x26a)](_0xc5cff3){var _0x3acda2=_0x108c00;if(this[_0x3acda2(0x342)](_0xc5cff3))return this['_clearScheduledTask'](),this[_0x3acda2(0x2f0)][_0x3acda2(0x45c)](te,this[_0x3acda2(0x418)],this['type'],this[_0x3acda2(0x2e5)],[],null,[_0xc5cff3],this[_0x3acda2(0x1d4)]);try{const _0x340cee=this[_0x3acda2(0x434)]['transformChangesets']([_0xc5cff3],[this[_0x3acda2(0x2e5)]],!0x1);if(_0x40f7f3(_0x340cee)){const {c1Prime:_0x531cf3,c2Prime:_0x4b589b}=_0x340cee;this[_0x3acda2(0x471)](_0x531cf3[0x0]),_0x4b589b[0x0][_0x3acda2(0x2bf)]=this[_0x3acda2(0x378)](),this[_0x3acda2(0x4bc)]();const _0x30e8aa=this[_0x3acda2(0x2f0)][_0x3acda2(0x45c)](ue,this[_0x3acda2(0x418)],this['type'],_0x4b589b[0x0],this[_0x3acda2(0x1d4)]);return _0x30e8aa[_0x3acda2(0x451)](),_0x30e8aa;}return this['_onConflict'](!0x1);}catch(_0x415951){return this[_0x3acda2(0x431)][_0x3acda2(0x489)](_0x415951),this[_0x3acda2(0x343)](!0x1);}}[_0x108c00(0x339)](_0x419929){var _0xe3ba97=_0x108c00;this[_0xe3ba97(0x4bc)]();const _0x56f253=this[_0xe3ba97(0x331)][_0xe3ba97(0x1e3)](this['unitID']);if(_0x419929['revision']<_0x56f253-0x1)return this;if(this[_0xe3ba97(0x342)](_0x419929))return this[_0xe3ba97(0x2f0)]['createInstance'](te,this['unitID'],this[_0xe3ba97(0x32c)],null,[],this[_0xe3ba97(0x2e5)],[],this[_0xe3ba97(0x1d4)]);this[_0xe3ba97(0x1dc)]();const _0x5216fa=this[_0xe3ba97(0x2f0)]['createInstance'](De,this['unitID'],this[_0xe3ba97(0x32c)],this[_0xe3ba97(0x1d4)]);return _0x5216fa[_0xe3ba97(0x451)](),_0x5216fa;}['onRemoteRej'](_0x1a81e3){var _0x392bb1=_0x108c00;return this[_0x392bb1(0x343)](!!(_0x1a81e3!=null&&_0x1a81e3[_0x392bb1(0x3c9)]));}[_0x108c00(0x2ab)](_0x46bcc9){var _0x4925b7=_0x108c00;return this[_0x4925b7(0x1bb)]>Ni?this[_0x4925b7(0x2a9)]():(this['_resendTimer']=Oi(this[_0x4925b7(0x1bb)],{'timeout':this[_0x4925b7(0x1bb)],'reqId':_0x46bcc9[_0x4925b7(0x20a)]}),this['_sender']=this[_0x4925b7(0x2b2)][_0x4925b7(0x44b)](({reqId:_0x37b42f,timeout:_0x58febd})=>{var _0x39d1b4=_0x4925b7;this[_0x39d1b4(0x3bc)](_0x37b42f,_0x58febd);}),this);}[_0x108c00(0x2a9)](){var _0x229a9f=_0x108c00;return this['_clearScheduledTask'](),this[_0x229a9f(0x2f0)][_0x229a9f(0x45c)](fe,this[_0x229a9f(0x418)],this[_0x229a9f(0x32c)],this[_0x229a9f(0x2e5)],[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x29c621=_0x108c00;this[_0x29c621(0x1d4)][_0x29c621(0x448)](this[_0x29c621(0x2e5)]);}['_onConflict'](_0x52515f){var _0x286444=_0x108c00;return this[_0x286444(0x4bc)](),this[_0x286444(0x2f0)][_0x286444(0x45c)](de,this[_0x286444(0x418)],this[_0x286444(0x32c)],this['_awaitingChangeset'],[],this[_0x286444(0x1d4)],_0x52515f);}[_0x108c00(0x3bc)](_0x47b98c,_0x5e7960){var _0x342c98=_0x108c00,_0x5d2f10;_0x47b98c===((_0x5d2f10=this[_0x342c98(0x2e5)])==null?void 0x0:_0x5d2f10[_0x342c98(0x20a)])&&(this[_0x342c98(0x21b)](),this[_0x342c98(0x1bb)]=_0x5e7960===0x0?0x3e8:_0x5e7960*0x2);}[_0x108c00(0x4bc)](){var _0x5753eb=_0x108c00,_0x56ec8a;(_0x56ec8a=this['_sender'])==null||_0x56ec8a['unsubscribe'](),this[_0x5753eb(0x1bb)]=0x0;}};ue=Re([A(0x4,_0x22b705(_0x491816)),A(0x5,_0x22b705(_0x4500ba)),A(0x6,_0x2ea271),A(0x7,_0x43bc54),A(0x8,_0x1a1f85),A(0x9,_0x3d7b9b),A(0xa,_0x4b5f3d(J))],ue);let ae=class extends be{constructor(_0x4590df,_0x2a585c,_0x1770ec,_0x5a3184,_0x47e283,_0x1fe90d,_0x1b7feb,_0x13829f,_0x3c11cc,_0xfb545a,_0x15b577,_0x5e488b,_0x3af914){var _0x37dc68=_0x108c00;super(_0x4590df,_0x2a585c,_0x1770ec,_0x5a3184,_0x47e283,_0x3c11cc,_0x5e488b,_0x13829f,_0x3af914),N(this,_0x37dc68(0x372),_0x37dc68(0x4b2)),N(this,_0x37dc68(0x1bb),0x0),N(this,_0x37dc68(0x2b2)),N(this,_0x37dc68(0x1ee)),(this[_0x37dc68(0x2f0)]=_0x1b7feb,this[_0x37dc68(0x431)]=_0xfb545a,this[_0x37dc68(0x434)]=_0x15b577,this[_0x37dc68(0x263)]=_0x3af914,_0x1fe90d&&(this['_resendTimer']=_0x1fe90d,this[_0x37dc68(0x1ee)]=this[_0x37dc68(0x2b2)][_0x37dc68(0x44b)](({reqId:_0x3802e1,timeout:_0x1fb3d2})=>{var _0x5ce0bf=_0x37dc68;this[_0x5ce0bf(0x3bc)](_0x3802e1,_0x1fb3d2);})));}[_0x108c00(0x2d8)](_0x20f9e6){var _0x5d8000=_0x108c00;return this[_0x5d8000(0x34c)]['push'](_0x20f9e6),this;}['onRemoteChangeset'](_0xa60283){var _0x1b0645=_0x108c00;if(this[_0x1b0645(0x342)](_0xa60283))return this[_0x1b0645(0x4bc)](),this[_0x1b0645(0x2f0)][_0x1b0645(0x45c)](te,this['unitID'],this[_0x1b0645(0x32c)],this[_0x1b0645(0x2e5)],this[_0x1b0645(0x34c)],null,[_0xa60283],this[_0x1b0645(0x1d4)]);try{const _0x35164b=this[_0x1b0645(0x434)][_0x1b0645(0x3c7)]([_0xa60283],[this['_awaitingChangeset']],!0x1);if(_0x40f7f3(_0x35164b)){const {c1Prime:_0x53abfe,c2Prime:_0x4486b3}=_0x35164b,_0x10ea21=this[_0x1b0645(0x434)][_0x1b0645(0x416)](_0x53abfe[0x0],this[_0x1b0645(0x34c)]);if(_0x537184(_0x10ea21)){const {c1Prime:_0x22cb31,m2Prime:_0x54c67b}=_0x10ea21;return this[_0x1b0645(0x471)](_0x22cb31),_0x4486b3[0x0][_0x1b0645(0x2bf)]=this[_0x1b0645(0x378)](),this[_0x1b0645(0x4bc)](),this[_0x1b0645(0x2f0)][_0x1b0645(0x45c)](ae,this[_0x1b0645(0x418)],this[_0x1b0645(0x32c)],_0x4486b3[0x0],_0x54c67b,this[_0x1b0645(0x1d4)],void 0x0);}throw _0x10ea21[_0x1b0645(0x489)];}throw _0x35164b[_0x1b0645(0x489)];}catch(_0x5b3558){return this[_0x1b0645(0x431)][_0x1b0645(0x489)](_0x5b3558),this[_0x1b0645(0x343)](!0x1);}}[_0x108c00(0x339)](_0x5ec40b){var _0x54678f=_0x108c00;if(this[_0x54678f(0x4bc)](),this[_0x54678f(0x342)](_0x5ec40b))return this[_0x54678f(0x2f0)][_0x54678f(0x45c)](te,this[_0x54678f(0x418)],this[_0x54678f(0x32c)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x54678f(0x1d4)]);this[_0x54678f(0x1dc)]();const _0x26817c=this[_0x54678f(0x2f0)][_0x54678f(0x45c)](oe,this['unitID'],this[_0x54678f(0x32c)],this[_0x54678f(0x34c)],this[_0x54678f(0x1d4)]);return _0x26817c[_0x54678f(0x2d1)](),_0x26817c[_0x54678f(0x451)](),_0x26817c;}[_0x108c00(0x281)](_0x591e85){var _0x5a8e28=_0x108c00;return this[_0x5a8e28(0x343)](!!(_0x591e85!=null&&_0x591e85['isPermissionRej']));}[_0x108c00(0x2ab)](_0x20a90c){var _0x5c3cd9=_0x108c00;return this[_0x5c3cd9(0x1bb)]>Ni?this[_0x5c3cd9(0x2a9)]():(this[_0x5c3cd9(0x2b2)]=Oi(this[_0x5c3cd9(0x1bb)],{'timeout':this[_0x5c3cd9(0x1bb)],'reqId':_0x20a90c[_0x5c3cd9(0x20a)]}),this['_sender']=this[_0x5c3cd9(0x2b2)][_0x5c3cd9(0x44b)](({reqId:_0x43e2d2,timeout:_0x35f49c})=>{var _0x58a6e8=_0x5c3cd9;this[_0x58a6e8(0x3bc)](_0x43e2d2,_0x35f49c);}),this);}['toggleOffline'](){var _0x407475=_0x108c00;return this[_0x407475(0x4bc)](),this[_0x407475(0x2f0)][_0x407475(0x45c)](fe,this[_0x407475(0x418)],this[_0x407475(0x32c)],this[_0x407475(0x2e5)],this[_0x407475(0x34c)],this[_0x407475(0x1d4)]);}[_0x108c00(0x1d0)](){return this;}[_0x108c00(0x21b)](){var _0xfa79ff=_0x108c00;this[_0xfa79ff(0x1d4)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x108c00(0x343)](_0x321a08){var _0x4fb511=_0x108c00;return this[_0x4fb511(0x4bc)](),this[_0x4fb511(0x2f0)][_0x4fb511(0x45c)](de,this[_0x4fb511(0x418)],this[_0x4fb511(0x32c)],null,this['_pendingMutations'],this[_0x4fb511(0x1d4)],_0x321a08);}[_0x108c00(0x3bc)](_0x2089c6,_0x15a274){var _0x263fd3=_0x108c00,_0x328663;_0x2089c6===((_0x328663=this[_0x263fd3(0x2e5)])==null?void 0x0:_0x328663[_0x263fd3(0x20a)])&&(this['resend'](),this['_resendTimeout']=_0x15a274===0x0?0x3e8:_0x15a274*0x2);}[_0x108c00(0x4bc)](){var _0x46dd8b=_0x108c00,_0x4827fc;(_0x4827fc=this[_0x46dd8b(0x1ee)])==null||_0x4827fc[_0x46dd8b(0x3a1)](),this[_0x46dd8b(0x1bb)]=0x0;}};ae=Re([A(0x6,_0x22b705(_0x491816)),A(0x7,_0x22b705(_0x4500ba)),A(0x8,_0x2ea271),A(0x9,_0x43bc54),A(0xa,_0x1a1f85),A(0xb,_0x3d7b9b),A(0xc,_0x4b5f3d(J))],ae);let de=class extends be{constructor(_0x2590c1,_0x52b025,_0x10a254,_0x33eeea,_0x5d3760,_0x1f2002=!0x1,_0x57bd5c,_0x58fcd0,_0x2ca8cf,_0x364890,_0x2f24ff,_0x5690f,_0x5a95e1){var _0xdfd02b=_0x108c00;super(_0x2590c1,_0x52b025,_0x10a254,_0x33eeea,_0x5d3760,_0x58fcd0,_0x2ca8cf,_0x364890,_0x5a95e1),N(this,'status',_0xdfd02b(0x4b3)),(this[_0xdfd02b(0x1fc)]=_0x1f2002,this[_0xdfd02b(0x37e)]=_0x57bd5c,this[_0xdfd02b(0x4ba)]=_0x2f24ff,this[_0xdfd02b(0x4bf)]=_0x5690f,this[_0xdfd02b(0x263)]=_0x5a95e1,this[_0xdfd02b(0x236)](),this[_0xdfd02b(0x4a6)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x108c00(0x26a)](){return this;}[_0x108c00(0x339)](){return this;}[_0x108c00(0x281)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x108c00(0x21b)](){var _0x39aa70=_0x108c00;throw new Error(_0x39aa70(0x425));}[_0x108c00(0x4a6)](){var _0x26ff56=_0x108c00,_0x268d0e;(_0x268d0e=this[_0x26ff56(0x35b)])==null||_0x268d0e[_0x26ff56(0x1c3)](this[_0x26ff56(0x418)],this['type'],null,[]);}['_showConflictNotification'](){var _0x22b0ff=_0x108c00;this[_0x22b0ff(0x1fc)]?this[_0x22b0ff(0x4bf)][_0x22b0ff(0x225)]({'id':se[_0x22b0ff(0x3d2)]}):this['_collaborationUIEventService'][_0x22b0ff(0x225)]({'id':se[_0x22b0ff(0x3de)]});}[_0x108c00(0x408)](){var _0x255de2=_0x108c00;this[_0x255de2(0x37e)]['updatePermissionPoint'](new _0x488f7d(this[_0x255de2(0x418)])['id'],!0x1);}};de=Re([A(0x6,_0x22b705(_0x72e2b3)),A(0x7,_0x2ea271),A(0x8,_0x3d7b9b),A(0x9,_0x22b705(_0x4500ba)),A(0xa,_0x22b705(_0x15da4d)),A(0xb,_0x22b705(pe)),A(0xc,_0x4b5f3d(J))],de);let fe=class extends be{constructor(_0x366afc,_0x1dc82c,_0x356c98,_0x25de02,_0x4408c8,_0x4d14ca,_0xadd85a,_0x1693ec,_0x335089,_0xffae07){var _0x143879=_0x108c00;super(_0x366afc,_0x1dc82c,_0x356c98,_0x25de02,_0x4408c8,_0x1693ec,_0x335089,_0xadd85a,_0xffae07),N(this,_0x143879(0x372),_0x143879(0x2da)),this[_0x143879(0x2f0)]=_0x4d14ca;}[_0x108c00(0x2d8)](_0x5abca5){var _0x19b4b4=_0x108c00;return this[_0x19b4b4(0x34c)][_0x19b4b4(0x3d1)](_0x5abca5),this[_0x19b4b4(0x451)](),this;}[_0x108c00(0x26a)](_0x43dfb9){var _0x509ece=_0x108c00;throw new Error(_0x509ece(0x486));}[_0x108c00(0x339)](){var _0x18fe39=_0x108c00;throw new Error(_0x18fe39(0x1ea));}[_0x108c00(0x281)](){var _0x21c452=_0x108c00;throw new Error(_0x21c452(0x463));}[_0x108c00(0x2ab)](){return this;}[_0x108c00(0x2a9)](){return this;}[_0x108c00(0x1d0)](){var _0x7c4fed=_0x108c00;const {_injector:_0x1c5428,_pendingMutations:_0x37cdb0,_awaitingChangeset:_0x5fe0cf,unitID:_0x1f32af,_handler:_0x47ce16,type:_0x5549f1}=this,_0x5faa4f=Di(_0x1c5428,_0x1f32af,_0x5549f1,_0x5fe0cf,_0x37cdb0,_0x47ce16);return _0x5faa4f instanceof oe?_0x5faa4f[_0x7c4fed(0x2d1)]():(_0x5faa4f instanceof ae||_0x5faa4f instanceof ue)&&_0x5faa4f['resend'](),_0x5faa4f;}[_0x108c00(0x21b)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x22b705(_0x491816)),A(0x6,_0x22b705(_0x4500ba)),A(0x7,_0x2ea271),A(0x8,_0x3d7b9b),A(0x9,_0x4b5f3d(J))],fe);let te=class extends be{constructor(_0x587e28,_0x2a0af4,_0x225ef5,_0x5816c9,_0x385158,_0x36b375,_0xe0e67,_0x2195f8,_0x138fba,_0x438167,_0x21cf63,_0x21b49f,_0x57d5e7,_0x525d54){var _0x177545=_0x108c00;super(_0x587e28,_0x2a0af4,_0x225ef5,_0x5816c9,_0xe0e67,_0x21cf63,_0x21b49f,_0x138fba,_0x525d54),N(this,_0x177545(0x372),_0x177545(0x349)),(this[_0x177545(0x3b6)]=_0x385158,this[_0x177545(0x2bd)]=_0x36b375,this['_injector']=_0x2195f8,this[_0x177545(0x431)]=_0x438167,this[_0x177545(0x434)]=_0x57d5e7,this[_0x177545(0x263)]=_0x525d54);}[_0x108c00(0x32e)](_0x4c0029){var _0x50d6e5=_0x108c00;try{const _0x497a96=[..._0x4c0029,...this[_0x50d6e5(0x2bd)]],_0x3bca86=[this[_0x50d6e5(0x2e5)]||this[_0x50d6e5(0x3b6)]][_0x50d6e5(0x3e4)](_0x3a693f=>!!_0x3a693f);let _0x58fa28,_0x3c3d46;if(_0x3bca86[_0x50d6e5(0x24e)]){const _0x254744=this[_0x50d6e5(0x434)][_0x50d6e5(0x3c7)](_0x497a96,_0x3bca86,!0x1);if(!_0x40f7f3(_0x254744))throw _0x254744[_0x50d6e5(0x489)];_0x58fa28=_0x254744[_0x50d6e5(0x2aa)],_0x3c3d46=_0x254744['c2Prime'];}else _0x58fa28=_0x497a96,_0x3c3d46=[];let _0x305891=this[_0x50d6e5(0x34c)];_0x58fa28[_0x50d6e5(0x2a2)](_0x21813d=>{var _0x50d812=_0x50d6e5;let _0x4f7b16;if(_0x305891[_0x50d812(0x24e)]){const _0x25bbc6=this[_0x50d812(0x434)][_0x50d812(0x416)](_0x21813d,_0x305891);if(!_0x537184(_0x25bbc6))throw _0x25bbc6[_0x50d812(0x489)];_0x4f7b16=_0x25bbc6[_0x50d812(0x2aa)],_0x305891=_0x25bbc6['m2Prime'];}else _0x4f7b16=_0x21813d;this[_0x50d812(0x471)](_0x4f7b16);}),this['_acknowledgedAwaitingChangeset']&&this[_0x50d6e5(0x1dc)](),this[_0x50d6e5(0x2e5)]&&_0x3c3d46[_0x50d6e5(0x24e)]&&(_0x3c3d46[0x0][_0x50d6e5(0x2bf)]=this[_0x50d6e5(0x378)]());let _0x33dfc0;if(this[_0x50d6e5(0x2e5)]&&_0x305891[_0x50d6e5(0x24e)]!==0x0)_0x33dfc0=this[_0x50d6e5(0x2f0)]['createInstance'](ae,this['unitID'],this[_0x50d6e5(0x32c)],_0x3c3d46[0x0],_0x305891,this['_handler'],void 0x0);else{if(this[_0x50d6e5(0x2e5)]&&_0x305891[_0x50d6e5(0x24e)]===0x0)_0x3c3d46[0x0][_0x50d6e5(0x2bf)]=this[_0x50d6e5(0x378)](),_0x33dfc0=this[_0x50d6e5(0x2f0)]['createInstance'](ue,this['unitID'],this['type'],_0x3c3d46[0x0],this['_handler']);else{if(_0x305891[_0x50d6e5(0x24e)]!==0x0){const _0xc72448=this[_0x50d6e5(0x2f0)]['createInstance'](oe,this[_0x50d6e5(0x418)],this[_0x50d6e5(0x32c)],_0x305891,this[_0x50d6e5(0x1d4)]);_0xc72448[_0x50d6e5(0x2d1)](),_0x33dfc0=_0xc72448;}else _0x33dfc0=this[_0x50d6e5(0x2f0)][_0x50d6e5(0x45c)](De,this['unitID'],this[_0x50d6e5(0x32c)],this[_0x50d6e5(0x1d4)]);}}return _0x33dfc0[_0x50d6e5(0x451)](),_0x33dfc0;}catch(_0x1eb05b){return this[_0x50d6e5(0x431)][_0x50d6e5(0x489)](_0x50d6e5(0x35c),_0x50d6e5(0x3c4),_0x1eb05b),this['_injector'][_0x50d6e5(0x45c)](de,this[_0x50d6e5(0x418)],this[_0x50d6e5(0x32c)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x50d6e5(0x1d4)],!0x1);}}['resend'](){var _0x5093cb=_0x108c00;throw new Error(_0x5093cb(0x1c9));}[_0x108c00(0x2d8)](_0x28a950){var _0x4ff30f=_0x108c00;return this[_0x4ff30f(0x34c)][_0x4ff30f(0x3d1)](_0x28a950),this;}[_0x108c00(0x26a)](_0x243b64){var _0x5d0550=_0x108c00;return this[_0x5d0550(0x2bd)][_0x5d0550(0x3d1)](_0x243b64),this;}['onRemoteAck'](_0x778ce4){var _0x11247f=_0x108c00;if(this[_0x11247f(0x2e5)])return this[_0x11247f(0x3b6)]=this[_0x11247f(0x2e5)],this['_awaitingChangeset']=null,this;throw new Error(_0x11247f(0x40d));}[_0x108c00(0x281)](_0x1b0a13){var _0xb5d122=_0x108c00;return this[_0xb5d122(0x343)](!!(_0x1b0a13!=null&&_0x1b0a13['isPermissionRej']));}[_0x108c00(0x2ab)](){return this;}[_0x108c00(0x2a9)](){var _0x159568=_0x108c00;return this[_0x159568(0x2f0)]['createInstance'](fe,this[_0x159568(0x418)],this['type'],this[_0x159568(0x2e5)],this[_0x159568(0x34c)],this[_0x159568(0x1d4)]);}['toggleOnline'](){return this;}['_onConflict'](_0x269659){var _0x17aa89=_0x108c00;return this[_0x17aa89(0x2f0)][_0x17aa89(0x45c)](de,this['unitID'],this[_0x17aa89(0x32c)],this[_0x17aa89(0x2e5)],this[_0x17aa89(0x34c)],this[_0x17aa89(0x1d4)],_0x269659);}};te=Re([A(0x7,_0x22b705(_0x491816)),A(0x8,_0x22b705(_0x4500ba)),A(0x9,_0x43bc54),A(0xa,_0x2ea271),A(0xb,_0x3d7b9b),A(0xc,_0x1a1f85),A(0xd,_0x4b5f3d(J))],te);function Di(_0x3ffdff,_0x11edb3,_0x2a7bde,_0x9feb3d,_0x191011,_0x53dde3){var _0x448d09=_0x108c00;return _0x9feb3d&&_0x191011[_0x448d09(0x24e)]?_0x3ffdff['createInstance'](ae,_0x11edb3,_0x2a7bde,_0x9feb3d,_0x191011,_0x53dde3,void 0x0):_0x9feb3d?_0x3ffdff[_0x448d09(0x45c)](ue,_0x11edb3,_0x2a7bde,_0x9feb3d,_0x53dde3):_0x191011[_0x448d09(0x24e)]?_0x3ffdff[_0x448d09(0x45c)](oe,_0x11edb3,_0x2a7bde,_0x191011,_0x53dde3):_0x3ffdff[_0x448d09(0x45c)](De,_0x11edb3,_0x2a7bde,_0x53dde3);}var vr=Object[_0x108c00(0x31d)],pr=Object[_0x108c00(0x21a)],Lt=(_0x103447,_0x5b8882,_0x5110a5,_0x32c097)=>{var _0x59df44=_0x108c00;for(var _0x4b2f2b=_0x32c097>0x1?void 0x0:_0x32c097?pr(_0x5b8882,_0x5110a5):_0x5b8882,_0x4d4670=_0x103447[_0x59df44(0x24e)]-0x1,_0x3cf19b;_0x4d4670>=0x0;_0x4d4670--)(_0x3cf19b=_0x103447[_0x4d4670])&&(_0x4b2f2b=(_0x32c097?_0x3cf19b(_0x5b8882,_0x5110a5,_0x4b2f2b):_0x3cf19b(_0x4b2f2b))||_0x4b2f2b);return _0x32c097&&_0x4b2f2b&&vr(_0x5b8882,_0x5110a5,_0x4b2f2b),_0x4b2f2b;},k=(_0x1aae25,_0x49e949)=>(_0x5574f4,_0xecc2e2)=>_0x49e949(_0x5574f4,_0xecc2e2,_0x1aae25);let nt=class extends _0x31cc7c{constructor(_0x4553a4,_0x64b2d7,_0xd7bce4,_0x5f27d6,_0x509b89,_0x480fa0,_0x285de9,_0x528c18,_0x23de87,_0x51f885,_0x1d641a,_0x28d2f4,_0x232ee5){var _0x519c9c=_0x108c00;super(),N(this,_0x519c9c(0x335),new _0x367d22(null)),N(this,_0x519c9c(0x3f7),this[_0x519c9c(0x335)][_0x519c9c(0x3ff)]()),N(this,'_state'),N(this,_0x519c9c(0x4bd),!0x1),N(this,'_changesetSessionId',''),N(this,_0x519c9c(0x3a4),0x0),N(this,_0x519c9c(0x39e),this[_0x519c9c(0x3f7)]['pipe'](_0x36ce0e(_0x344849=>_0x344849?_0x344849[_0x519c9c(0x372)]:yi['OFFLINE']),_0x500995(0x1))),N(this,_0x519c9c(0x213),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x519c9c(0x418)]=_0x4553a4,this[_0x519c9c(0x303)]=_0x64b2d7,this[_0x519c9c(0x368)]=_0xd7bce4,this[_0x519c9c(0x2f0)]=_0x5f27d6,this['_compressMutationService']=_0x509b89,this[_0x519c9c(0x4ba)]=_0x480fa0,this[_0x519c9c(0x331)]=_0x285de9,this[_0x519c9c(0x3c5)]=_0x528c18,this[_0x519c9c(0x431)]=_0x23de87,this[_0x519c9c(0x3e5)]=_0x51f885,this[_0x519c9c(0x37e)]=_0x1d641a,this[_0x519c9c(0x3be)]=_0x28d2f4,this[_0x519c9c(0x35b)]=_0x232ee5);}get[_0x108c00(0x445)](){var _0x5635de=_0x108c00;return this[_0x5635de(0x420)];}async[_0x108c00(0x4aa)](){var _0x706014=_0x108c00;if(this[_0x706014(0x445)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x706014(0x384)]();}['pauseCollaboration'](){var _0x4fde87=_0x108c00;return this[_0x4fde87(0x4bd)]=!0x0,_0xd2768f(()=>{var _0x32795b=_0x4fde87;this[_0x32795b(0x4bd)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x379234){var _0x4f7602=_0x108c00;this[_0x4f7602(0x33e)](_0x379234);}[_0x108c00(0x3f8)](_0x4600ea){var _0x3368c2=_0x108c00;this['_state']=_0x4600ea,this[_0x3368c2(0x335)][_0x3368c2(0x449)](_0x4600ea);}async[_0x108c00(0x384)](){var _0x212f6f=_0x108c00,_0x5e5083;this[_0x212f6f(0x3f8)](await this[_0x212f6f(0x43f)]()),this[_0x212f6f(0x3be)]&&((_0x5e5083=this[_0x212f6f(0x3be)])==null||_0x5e5083['editingUnit'](this[_0x212f6f(0x418)]),this[_0x212f6f(0x264)](this[_0x212f6f(0x3be)][_0x212f6f(0x38d)](this[_0x212f6f(0x418)])[_0x212f6f(0x44b)](_0x544661=>{var _0x1ad79c=_0x212f6f;this['_logService']['debug'](_0x1ad79c(0x353),_0x1ad79c(0x3a7),_0x544661),_0x544661===bi[_0x1ad79c(0x316)]?(this['_eventService'][_0x1ad79c(0x225)]({'id':se[_0x1ad79c(0x35d)]}),this['_permissionService'][_0x1ad79c(0x393)](new _0x488f7d(this[_0x1ad79c(0x418)])['id'],!0x1),this[_0x1ad79c(0x37e)][_0x1ad79c(0x28b)](!0x1)):(this[_0x1ad79c(0x37e)][_0x1ad79c(0x393)](new _0x488f7d(this['unitID'])['id'],!0x0),this[_0x1ad79c(0x37e)][_0x1ad79c(0x28b)](!0x0));})));let _0x4843b8=!0x1;return this[_0x212f6f(0x264)](this[_0x212f6f(0x303)][_0x212f6f(0x1e9)][_0x212f6f(0x44b)](_0x491feb=>{var _0x5496ab=_0x212f6f;_0x491feb===Te['ONLINE']?this[_0x5496ab(0x2c3)](_0x4843b8):_0x491feb===Te[_0x5496ab(0x256)]&&(_0x4843b8=!0x0,this[_0x5496ab(0x403)]());})),this['disposeWithMe'](this[_0x212f6f(0x303)][_0x212f6f(0x2c4)][_0x212f6f(0x44b)](_0x349017=>{var _0x59783f=_0x212f6f;try{switch(_0x349017[_0x59783f(0x2ff)]){case _0x565698['NEW_CHANGESETS']:{this[_0x59783f(0x28c)](_0x15f8d0(_0x349017[_0x59783f(0x29f)]));break;}case _0x565698['CHANGESET_ACK']:{this[_0x59783f(0x21e)](_0x349017[_0x59783f(0x29f)]);break;}case _0x565698[_0x59783f(0x369)]:{this['_onRemoteRejected']();break;}case _0x565698[_0x59783f(0x47d)]:{this[_0x59783f(0x3ca)](_0x349017['data']);break;}case _0x565698[_0x59783f(0x313)]:{this[_0x59783f(0x441)](_0x349017[_0x59783f(0x29f)][_0x59783f(0x438)][_0x59783f(0x1eb)](_0xe366cd=>_0x15f8d0(_0xe366cd)));break;}case _0x565698[_0x59783f(0x4a8)]:{this[_0x59783f(0x43a)]({'isPermissionRej':!0x0});break;}case _0x565698[_0x59783f(0x453)]:break;}}catch(_0x467b97){throw console[_0x59783f(0x489)](_0x59783f(0x469),_0x467b97),_0x467b97;}})),this[_0x212f6f(0x420)];}[_0x108c00(0x3c2)](){var _0x291f5a=_0x108c00;this[_0x291f5a(0x213)]=!0x1;}[_0x108c00(0x4c0)](){var _0x486926=_0x108c00;if(this[_0x486926(0x213)])throw new Error(_0x486926(0x41a));this[_0x486926(0x213)]=!0x0;}[_0x108c00(0x33e)](_0x305338){var _0x663673=_0x108c00;this[_0x663673(0x4c0)](),this['_updateState'](this[_0x663673(0x420)][_0x663673(0x2d8)](_0x305338)),this[_0x663673(0x3c2)]();}[_0x108c00(0x28c)](_0x3197ad){var _0xaedbd7=_0x108c00;if(!(_0x3197ad[_0xaedbd7(0x3d4)]<=this['_revisionService'][_0xaedbd7(0x1e3)](this[_0xaedbd7(0x418)]))){if(this['_collaborationPaused']){this[_0xaedbd7(0x2ec)][_0xaedbd7(0x3d1)](_0x3197ad);return;}this[_0xaedbd7(0x2a0)](_0x3197ad);}}[_0x108c00(0x1e0)](){var _0x37a1f1=_0x108c00;this['_remoteChangesetQueue']['forEach'](_0x3944c9=>this[_0x37a1f1(0x2a0)](_0x3944c9)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x3f3913){var _0x4cd55d=_0x108c00;const _0x166039=this[_0x4cd55d(0x1f3)][_0x4cd55d(0x30d)][_0x4cd55d(0x250)](this['_compressMutationService'][_0x4cd55d(0x30d)]['getInterceptPoints']()[_0x4cd55d(0x2db)])(_0x3f3913[_0x4cd55d(0x340)],null)||_0x3f3913[_0x4cd55d(0x340)],_0x52b64c={..._0x3f3913,'mutations':_0x166039};this[_0x4cd55d(0x4c0)](),this[_0x4cd55d(0x3f8)](this[_0x4cd55d(0x420)][_0x4cd55d(0x26a)](_0x52b64c)),this['_unlockTransition']();}[_0x108c00(0x21e)](_0x40f1fb){var _0x365ce7=_0x108c00;this['_lockTransition'](),this[_0x365ce7(0x3f8)](this[_0x365ce7(0x420)][_0x365ce7(0x339)](_0x40f1fb)),this[_0x365ce7(0x3c2)]();}[_0x108c00(0x43a)](_0x2a1dec){var _0x2bc6d9=_0x108c00;this[_0x2bc6d9(0x4c0)](),this[_0x2bc6d9(0x3f8)](this[_0x2bc6d9(0x420)]['onRemoteRej'](_0x2a1dec)),this[_0x2bc6d9(0x3c2)]();}[_0x108c00(0x3ca)](_0x34b5ed){var _0x3c14ad=_0x108c00;this['_lockTransition'](),this[_0x3c14ad(0x3f8)](this[_0x3c14ad(0x420)][_0x3c14ad(0x2ab)](_0x34b5ed)),this[_0x3c14ad(0x3c2)]();}[_0x108c00(0x441)](_0xdacbb3){var _0x5a6986=_0x108c00;if(!(this['_state']instanceof te))throw new TypeError(_0x5a6986(0x402));const _0x2aaeaf=_0xdacbb3[_0x5a6986(0x1eb)](_0x58d918=>{var _0x72cd3d=_0x5a6986;const _0x5e13e2=this[_0x72cd3d(0x1f3)][_0x72cd3d(0x30d)][_0x72cd3d(0x250)](this[_0x72cd3d(0x1f3)][_0x72cd3d(0x30d)]['getInterceptPoints']()[_0x72cd3d(0x2db)])(_0x58d918[_0x72cd3d(0x340)],null)||_0x58d918[_0x72cd3d(0x340)];return{..._0x58d918,'mutations':_0x5e13e2};});this[_0x5a6986(0x4c0)](),this['_updateState'](this[_0x5a6986(0x420)][_0x5a6986(0x32e)](_0x2aaeaf)),this[_0x5a6986(0x3c2)]();}[_0x108c00(0x403)](){var _0x424a57=_0x108c00;this['_lockTransition'](),this[_0x424a57(0x3f8)](this[_0x424a57(0x420)][_0x424a57(0x2a9)]()),this[_0x424a57(0x3c2)]();}[_0x108c00(0x2c3)](_0x30dfdc=!0x1){var _0x2c5f01=_0x108c00;this[_0x2c5f01(0x4c0)](),this['_updateState'](this[_0x2c5f01(0x420)][_0x2c5f01(0x1d0)]()),this[_0x2c5f01(0x3c2)]();const _0x1feadc=this[_0x2c5f01(0x420)];_0x30dfdc&&_0x1feadc instanceof De&&(this['_lockTransition'](),this[_0x2c5f01(0x3f8)](_0x1feadc[_0x2c5f01(0x38f)]()),this[_0x2c5f01(0x3c2)]());}async[_0x108c00(0x43f)](){return new Promise(_0x5766c3=>{var _0x19e01f=_0x5020;this[_0x19e01f(0x303)][_0x19e01f(0x1e9)][_0x19e01f(0x383)](_0x3271a7(0x1))[_0x19e01f(0x44b)](async _0x2fcede=>{var _0x1fa88f=_0x19e01f;_0x5766c3(await this[_0x1fa88f(0x2af)](_0x2fcede===Te[_0x1fa88f(0x39a)]));});});}[_0x108c00(0x49f)](){var _0x44ada7=_0x108c00;const _0x2fc232=this[_0x44ada7(0x418)];return{'onStateChange':(_0x4c9283,_0x4eaea7)=>{var _0x329e5e=_0x44ada7;if(_0x4c9283!==this[_0x329e5e(0x420)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4c9283[_0x329e5e(0x372)]+_0x329e5e(0x1fe)+_0x4eaea7[_0x329e5e(0x372)]+_0x329e5e(0x3ce)+this['_state'][_0x329e5e(0x372)]);this[_0x329e5e(0x3f8)](_0x4eaea7);},'onSendChangeset':_0x6fd51f=>{var _0x1e36bc=_0x44ada7;_0x6fd51f[_0x1e36bc(0x3e8)]||(_0x6fd51f[_0x1e36bc(0x3e8)]=this['_changesetSessionId'],_0x6fd51f['reqId']=++this[_0x1e36bc(0x3a4)]);const _0x5f5ac5={'eventID':_0x565698[_0x1e36bc(0x26e)],'data':{'unitID':_0x6fd51f[_0x1e36bc(0x418)],'unitType':this['_type'],'changeset':_0x6fd51f,'memberID':this['session'][_0x1e36bc(0x2e8)]()}};this[_0x1e36bc(0x303)][_0x1e36bc(0x2eb)](_0x5f5ac5,this['unitID']);},'onMissingChangesets':({from:_0xbaf4ea,to:_0x5c732b})=>{var _0x5c9008=_0x44ada7;this['_logService'][_0x5c9008(0x20b)](_0x5c9008(0x353),_0x5c9008(0x46c)+_0xbaf4ea+'\x20to\x20'+_0x5c732b);const _0x3bbaa8={'eventID':_0x565698[_0x5c9008(0x3f2)],'data':{'unitID':_0x2fc232,'unitType':this[_0x5c9008(0x368)],'from':_0xbaf4ea,'to':_0x5c732b}};this['session'][_0x5c9008(0x2eb)](_0x3bbaa8,this[_0x5c9008(0x418)]);}};}async['_createInitialStateImpl'](_0x74b5d9){var _0x4d8b1c=_0x108c00,_0x433b7c,_0x5078a3,_0x30d1d;const _0x26ecb1=await((_0x433b7c=this[_0x4d8b1c(0x35b)])==null?void 0x0:_0x433b7c[_0x4d8b1c(0x419)](this[_0x4d8b1c(0x418)])),_0x3b7f03=(_0x5078a3=_0x26ecb1==null?void 0x0:_0x26ecb1['mutations'])!=null?_0x5078a3:[],_0x18001d=(_0x30d1d=_0x26ecb1==null?void 0x0:_0x26ecb1[_0x4d8b1c(0x2d0)])!=null?_0x30d1d:null,_0x134aa6=!!(_0x18001d!=null&&_0x18001d[_0x4d8b1c(0x3e8)])&&!!(_0x18001d!=null&&_0x18001d[_0x4d8b1c(0x20a)]);this[_0x4d8b1c(0x2ad)]=_0x134aa6?_0x18001d[_0x4d8b1c(0x3e8)]:sr(),this[_0x4d8b1c(0x3a4)]=_0x134aa6?_0x18001d[_0x4d8b1c(0x20a)]:0x0;const _0x3fae39=this[_0x4d8b1c(0x418)];try{this[_0x4d8b1c(0x2ce)](_0x18001d,_0x3b7f03);}catch(_0x31bba1){this[_0x4d8b1c(0x431)][_0x4d8b1c(0x489)](_0x31bba1);}const _0x4c5ddd=this[_0x4d8b1c(0x49f)]();if(_0x74b5d9){const _0x394050=Di(this[_0x4d8b1c(0x2f0)],_0x3fae39,this[_0x4d8b1c(0x368)],_0x18001d,_0x3b7f03,_0x4c5ddd);return _0x394050 instanceof oe?_0x394050[_0x4d8b1c(0x2d1)]():(_0x394050 instanceof ae||_0x394050 instanceof ue)&&_0x394050['resend'](),_0x394050;}return this[_0x4d8b1c(0x2f0)][_0x4d8b1c(0x45c)](fe,_0x3fae39,this[_0x4d8b1c(0x368)],_0x18001d,_0x3b7f03,_0x4c5ddd);}['_replayCachedMutations'](_0x2d23f,_0x19e7be){var _0x17bf90=_0x108c00,_0x431424,_0x281e6f;const _0x48fa17=this[_0x17bf90(0x1f3)][_0x17bf90(0x30d)][_0x17bf90(0x250)](this[_0x17bf90(0x1f3)][_0x17bf90(0x30d)]['getInterceptPoints']()[_0x17bf90(0x2db)]);(_0x431424=_0x48fa17((_0x2d23f==null?void 0x0:_0x2d23f['mutations'])||[],null))==null||_0x431424['forEach'](_0x599047=>this[_0x17bf90(0x3e5)]['executeCommand'](_0x599047['id'],_0x599047['params'])),(_0x281e6f=_0x48fa17(_0x19e7be||[],null))==null||_0x281e6f[_0x17bf90(0x2a2)](_0x4d70ef=>this['_commandService']['executeCommand'](_0x4d70ef['id'],_0x4d70ef['params']));}};nt=Lt([k(0x3,_0x22b705(_0x491816)),k(0x4,_0x22b705(_0x3f31b3)),k(0x5,_0x22b705(_0x15da4d)),k(0x6,_0x22b705(_0x4500ba)),k(0x7,_0x22b705(pe)),k(0x8,_0x43bc54),k(0x9,_0x2ea271),k(0xa,_0x72e2b3),k(0xb,_0x4b5f3d(ht)),k(0xc,_0x4b5f3d(J))],nt);let Tt=class extends nt{constructor(_0x257040,_0x5b91f3,_0x337143,_0x16b222,_0x194cc8,_0x4c0f08,_0x316fbf,_0xd6b247,_0x516e52,_0x2abd29,_0x59f4e5,_0x3ad03d,_0x5236a8){var _0x19e1e7=_0x108c00;super(_0x257040,_0x337143,_0x5b91f3,_0x16b222,_0x194cc8,_0x4c0f08,_0x316fbf,_0xd6b247,_0x516e52,_0x2abd29,_0x59f4e5,_0x3ad03d,_0x5236a8),N(this,_0x19e1e7(0x2d7),null),(this[_0x19e1e7(0x418)]=_0x257040,this[_0x19e1e7(0x32c)]=_0x5b91f3);}['addHandlerCallback'](_0x327023){var _0x51c72c=_0x108c00;this[_0x51c72c(0x2d7)]=_0x327023;}[_0x108c00(0x2e2)](){var _0x220e1c=_0x108c00;this['_handlerCallback']=null,super[_0x220e1c(0x2e2)]();}[_0x108c00(0x49f)](){var _0x1583c0=_0x108c00;const _0x38e592=super['_createHandler']();return _0x38e592[_0x1583c0(0x271)]=_0x2b5bee=>{var _0x5c2797=_0x1583c0,_0x48fbc0,_0x34a1cf;return(_0x34a1cf=(_0x48fbc0=this[_0x5c2797(0x2d7)])==null?void 0x0:_0x48fbc0['onTransformIME'])==null?void 0x0:_0x34a1cf[_0x5c2797(0x314)](_0x48fbc0,_0x2b5bee);},_0x38e592[_0x1583c0(0x356)]=_0x42ca60=>{var _0x274f40=_0x1583c0,_0x32fad8,_0x209546;return(_0x209546=(_0x32fad8=this[_0x274f40(0x2d7)])==null?void 0x0:_0x32fad8[_0x274f40(0x356)])==null?void 0x0:_0x209546['call'](_0x32fad8,_0x42ca60);},_0x38e592[_0x1583c0(0x377)]=_0x417ad5=>{var _0x5a1b0e=_0x1583c0,_0x2da37a,_0x42c526;return(_0x42c526=(_0x2da37a=this[_0x5a1b0e(0x2d7)])==null?void 0x0:_0x2da37a[_0x5a1b0e(0x377)])==null?void 0x0:_0x42c526[_0x5a1b0e(0x314)](_0x2da37a,_0x417ad5);},_0x38e592[_0x1583c0(0x4ae)]=_0x23885e=>{var _0x5ab8a8=_0x1583c0,_0x4b9da5,_0x242b7e;return(_0x242b7e=(_0x4b9da5=this['_handlerCallback'])==null?void 0x0:_0x4b9da5[_0x5ab8a8(0x4ae)])==null?void 0x0:_0x242b7e['call'](_0x4b9da5,_0x23885e);},_0x38e592['onTransformRemoteChangesetByIMECache']=_0x244915=>{var _0x55202c=_0x1583c0,_0x180945,_0xe07237,_0x2edd7e;if(!((_0x180945=this['_handlerCallback'])!=null&&_0x180945[_0x55202c(0x269)]))throw new Error(_0x55202c(0x219));return(_0x2edd7e=(_0xe07237=this[_0x55202c(0x2d7)])==null?void 0x0:_0xe07237[_0x55202c(0x269)])==null?void 0x0:_0x2edd7e['call'](_0xe07237,_0x244915);},_0x38e592[_0x1583c0(0x202)]=_0x5a85f8=>{var _0x27642d=_0x1583c0,_0x2e28a3,_0x4c62a0,_0x17c18d;if(!((_0x2e28a3=this[_0x27642d(0x2d7)])!=null&&_0x2e28a3[_0x27642d(0x202)]))throw new Error(_0x27642d(0x2f6));return(_0x17c18d=(_0x4c62a0=this[_0x27642d(0x2d7)])==null?void 0x0:_0x4c62a0[_0x27642d(0x202)])==null?void 0x0:_0x17c18d[_0x27642d(0x314)](_0x4c62a0,_0x5a85f8);},_0x38e592;}async[_0x108c00(0x384)](){var _0x4c23d3=_0x108c00;const _0x42fb36=await super[_0x4c23d3(0x384)]();return this[_0x4c23d3(0x264)](this[_0x4c23d3(0x3e5)]['onCommandExecuted']((_0x485be5,_0x477a14)=>{var _0x2f7947=_0x4c23d3;if(_0x485be5[_0x2f7947(0x32c)]!==_0x55a241['MUTATION']||_0x477a14!=null&&_0x477a14[_0x2f7947(0x49a)]||_0x477a14!=null&&_0x477a14[_0x2f7947(0x218)]||_0x485be5['id']===_0x420188['id'])return;const _0x50b7b1=_0x485be5[_0x2f7947(0x312)];if((_0x50b7b1==null?void 0x0:_0x50b7b1['unitId'])!==this[_0x2f7947(0x418)])return;const _0x152893=_0x485be5,_0x25054f=this[_0x2f7947(0x1f3)]['interceptor'][_0x2f7947(0x250)](this[_0x2f7947(0x1f3)]['interceptor'][_0x2f7947(0x224)]()[_0x2f7947(0x446)])([_0x152893],null)||[_0x152893];this[_0x2f7947(0x33e)](_0x25054f[0x0]);})),_0x42fb36;}};function _0x4bb9(){var _0x3b0043=['_transformUndoredo','toString','\x0aCurrent:\x20','NO_OTHER_CLIENTS_EDITING','_scheduleCollaborationTimeoutTimer','push','PERMISSION_DENIED','requestParams','revision','replace','_tryEnsureSocket','[DataLoaderService]','_transformStack','_socket','actions','every','[CollaborationSessionService]','ALREADY_EXISTS','CONFLICT','method','LIVESHARE_TERMINATE','getFocusedUnit','_stopTelemetryCollaborationNewChangeset','code','filter','_commandService','MSG_FOR_ERROR','_initUnitPermissionChange','sid','session.room-cnt-exceeds','_invKeySchedule','_roomMembers','loadUnit','HEARTBEAT_TIMEOUT','append','/universer-api/authz','AWAITING','getUnitId','FETCH_MISSING','Malformed\x20UTF-8\x20data','application/json','commentUpdateEvent','saveSheetBlock','state$','_updateState','/object/','4822564mMbDsF','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_members','socket\x20open.','collaboration-client.config','asObservable','_clearUndo','_removeRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_toggleOffline','[UniverCollaborationClientPlugin]','6029723WQSvxJ','updatePermissionObjEvent','SNAPSHOT_SERVER_URL_KEY','_disableEditing','{fileID}','JOIN_ROOM_FULL','m2Prime','_key','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','transformUndoRedo','ENSURE_SNAPSHOT_EXECUTION','create','RETRY_CONNECTING_MAX_COUNT','HmacSHA1','Hasher','_transformIMECache','mode','transformMutationsWithChangeset','has','unitID','loadOfflineData','[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.','UPDATE_CURSOR','updateCollaborator','getSheetId','encrypt','_sessions','_state','SNAPSHOT_INVALID_SNAPSHOT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','pending','complete','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_cipher','closeSession','words','collaboration-client.local-cache-service','866180uVoaAD','HttpImport','_initMergeInterceptor','OpenSSL','_updateStatus','_commentService','BufferedBlockAlgorithm','_logService','clamp','_collabSessionService','_transformService','_sendingTimer','getSheetBlock','getUnitOnRev','changesets','_authzIoService','_onRemoteRejected','_unitID','authzUrl','Univer','MD5','_createInitialState','patch','_onFetchMissResult','_members$','indexOf','Undefined','state','COMPRESS_MUTATION_SEND','hostname','onSendChangeset','next','onload','subscribe','/universer-api/user/session-ticket','_data','_loadDoc','telemetry\x20info\x20is\x20not\x20initialized','updateMember','_updateLocalCache','_undoRedoService','UNISCRIPT_RUN','put','reduce','/-/object/list','_map','ticket','setWaitCount','/allowed','finalize','createInstance','_timeoutTimer','_getSessionTicket','collaboratorID','$super','getCollabEntity','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[OfflineState]:\x20received\x20rejection.','2284418rtSLSN','uniscriptRunEvent','UNKNOWN_CMD','_substituteRedoStack','APPLY_DUPLICATED','Error\x20on\x20receiving\x20event','Utf8','_parse','fetching\x20missing\x20changesets\x20from\x20','_clearHeartbeatTimer','bind','/-/object/-/batch_allowed','setCurrentUser','_executeRemoteChangeset','getRandomValues','_getAPIPrefix','decryptBlock','resolve','NEW_CHANGESETS','RECV','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','liveShareNewHost','_onConnectionFailed','_sendHeartbeatTimer','LIVESHARE_REQUEST_HOST','CHANGESET_SHOULD_RETRY','getConfig','uploadFileServerUrl','_clearRedo','_scheduleCompleteTimestamp','objectType','/universer-api/oidc/authpage','_redoStacks','LICENSE_IMPORT_SIZE_EXCEEDED','[OfflineState]:\x20received\x20changeset.','SHA1','addImageSourceCache','error','_commentUpdate$','compose','COLLAB_SUBMIT_CHANGESET_URL','BlockCipherMode','transformStack\x20failed!','_oKey','Latin1','avatar','CHANGESET_REVISION_CONFILICT','_throwTelemetryCollaborationNewChangeset','CHANGESET_ACK','commentUpdate$','runId','_substituteUndoStack','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LEAVE','fromCollab','_status$','msCrypto','algo','JOIN_ROOM_NOT_EXISTS','_createHandler','csAckEvent','univer-pro.collaboration-client.network-condition.service','randomBytes','/object','_initRequestHeader','href','_clearLocalCache','/universer-api/snapshot','PERMISSION_REJ','_reverseMap','init','USERS_LEAVE','\x20-\x20','PENDING','onSyncEditingCollabCursor','copyFileMeta','members','ciphertext','awaiting_with_pending','conflict','_xformMode','_snapshotService','_collaborationTimeoutTimer','getSnapshotAPIPath','selections','_candidateSocket','_localeService','getMember','_clearScheduledTask','_collaborationPaused','startTime','_collaborationUIEventService','_lockTransition','originalMeta','json','SNAPSHOT_HAS_BEEN_REMOVED','COMMENT_UPDATE','_process','People','abs','salt','_resendTimeout','encode','SUBMIT_CHANGESET_TIMEOUT','UNIVER_DOC','IDLE','roomInfos','initWorkbookPermissionChange','/new_changes','updateOfflineData','4272138SQkVFr','MUTATION','_collaborationSessionService','_entityInit$','SEND_CHANGESET_TIMEOUT','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ws://127.0.0.1:8000/universer-api/comb/connect','_onUserLeave','_entities','_DEC_XFORM_MODE','&source=','_clearTimeoutTimer','toggleOnline','responseType','_transformStateCache','submit\x20changeset\x20error!','_handler','_getCtorByUniverType','incrementRevOfUnit','_submitChangeset','saveImage','socketService','Cipher','compute','_incrementRevisionNumber','getCurrentUser','COMPLETION_FINISHED','from','_exhaustRemoteChangesetQueue','format','_networkConditionService','getCurrentRevOfUnit','CONNECTOR_DATA_TOO_LARGE','_change$','image/jpg','/universer-api/file/{fileID}/sign-url','localeService','sessionStatus$','[OfflineState]:\x20received\x20acknowledgement.','map','src','hasher','_sender','now','SHOULD_CLOSE_CONN','charCodeAt','pluginName','_compressMutationService','ceil','synced','clone','ivSize','buffer','default','unitId','updateCursorEvent','_isPermissionRej','exports','\x0aAfter:\x20','origin','42nUHkZy','_keyPriorReset','onTransformRemoteChangesetByStateCache','_onUserJoin','APPLY_REJECT','getCurrentSelections','_loadSheet','JOIN','getUnitType','FETCH_MISS','reqId','debug','&to=','concat','string','_nRounds','pad','_joinRoom','setConfig','_transitionLocked','_iv','blockSize','substr','_configService','onlyLocal','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getOwnPropertyDescriptor','resend','onMissingChangesets','UNIVER_PROJECT','_onRemoteACK','capture','enableAuthServer','csRejEvent','charAt','findIndex','getInterceptPoints','emitEvent','_transformRemoteChangesetByStateCache','SerializableCipher','unknown','decrypt','getImageSourceCache','getRoom','random','connection\x20error','HEARTBEAT','BlockCipher','createDecryptor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','body','_createSocketURL','listCollaborators','_showConflictNotification','_iKey','YUUMI_RATE_OVER_LIMIT','putCollaborators','/resources','prototype','/universer-api/uniscript','getValue','Base','LIVESHARE_OPERATION','post','_sessionStatus$','_ENC_XFORM_MODE','_keySchedule','createEncryptor','WordArray','_hasher','_instanceService','[CollaborationUndoRedoService]','_getUndoStack','HEARTBEAT_INTERVAL','encryptBlock','_memberService','url','length','awaiting','fetchThroughInterceptors','LICENSE_DISTRO_REJECTED','onStarting','getActiveSheet','objectActions','/block/','OFFLINE','auth.needGotoLoginAlert','_waitCount','session.room-not-exists','socket\x20close','_getSignURL','SOCKET_FAILED','[SyncedState]:\x20received\x20rejection.','sessionStatus','_telemetryService','get','_startCollaboration','_decreaseWaiting','localCacheService','disposeWithMe','crypto','_httpService','add','Decryptor','onTransformRemoteChangesetByIMECache','onRemoteChangeset','/universer-api/comb','_onOffline','getTime','SUBMIT_CHANGESET','clear','error$','onTransformIME','objectID','_config','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_waitForHeartbeatResponse','_hash','title','UPDATE_PERMISSION_OBJ','UNRECOGNIZED','byteLength','_socket$','SUCCUSS','_startTelemetryCollaborationNewChangeset','_append','size','join','onRemoteRej','BASE64','JOINING','find','__esModule','LIVESHARE_FETCH_OPERATIONS','_getUploadFileURL','unitInfo$','mixIn','EvpKDF','setShowComponents','_onRemoteChangeset','NoPadding','online$','readInt32LE','_socketReady','OPTIONAL','getResourcesRequest','_univerInstanceService','LIVESHARE_NEW_HOST','session.join-failed','executeCommand','iterations','location','/role','transformSelections','enc','_onJoinRoomEvent','724751YOpcCc','sin','data','_applyRemoteChangeset','withCredentials','forEach','TOO_MANY_REQUESTS','_HTTPService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','reset','update','readAsDataURL','toggleOffline','c1Prime','onRemoteRetry','then','_changesetSessionId','repeat','_createInitialStateImpl','?url=','joinEvent','_resendTimer','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_tryReconnect','message$','createSocket','__creator','save\x20fail\x20reason\x20is\x20','loginUrlKey','_getSendChangesetTimeout','[PendingState]:\x20unhandled\x20univer\x20type:\x20','list','_queuedRemoteChangesets','_createHmacHelper','baseRev','univer-pro.collaboration-client.single-active-unit-service','AES','_onConnectionOpen','_toggleOnline','event$','dispose$','_nDataBytes','delete','Hex','target','_socketMessageSubscription','rev','_event$','removeMember','_replayCachedMutations','_getLoginPath','awaitingChangeset','_schedule','_registerDependencies','NOT_FOUND','_onCombEvent','YUUMI_URL_COL_OUT_OF_RANGE','snapshot','_handlerCallback','appendMutation','cmd','offline','COMPRESS_MUTATION_APPLY','min','hasOwnProperty','shouldCloseConn','LICENSE_EXPORT_SIZE_EXCEEDED','&assign=','memberID','dispose','_minBufferSize','reconnect','_awaitingChangeset','sendChangesetTimeout','_listenToNetworkCondition','getMemberID','[PendingState]:\x20received\x20acknowledgement.','image/bmp','send','_remoteChangesetQueue','name','UNKNOWN_CODE','snapshotServerUrl','_injector','members$','reverse','HELLO','stringify','INGEST','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','searchParams','_socketService','wsSessionTicketUrl','not_collab','APPLY_REVISION_CONFILICT','_onMessage','userID','close','eventID','onStateChange','registerHTTPInterceptor','parse','session','PasswordBasedCipher','extend','result','YUUMI_UNABLE_LOAD_URL','resourceIDs','CLOSE_ROOM','_unitInfo$','_createSocket','_getDownloadEndpointURL','interceptor','socket$','objects','sigBytes','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','params','PSEUDO_FETCH_MISSING_RESULT','call','USERS_ENTER','OTHER_CLIENTS_EDITING','getDeserializedSheetBlock','_sendHeartbeat','entityInit$','getImage','isArray','/fetchmissing?from=','defineProperty','INVALID_ARGUMENT','getCollabEntity$','reject','apply','DEFAULT_FILE_NAME','_rescheduleHeartbeat','image/jpeg','PERSON','_replaceFileID','_getRedoStack','_doReset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_transformSelections','NOT_COLLAB','type','_retryCount','onMissedChangesetFetched','COLLAB_WEB_SOCKET_URL','batchAllowed','_revisionService','_roomCreated$','Base64','UNDEFINED','_state$','YUUMI_SUBSCRIPTION_NOT_FOUND','deleteCollaborator','set','onRemoteAck','floor','routeKey','UNIVER_UNKNOWN','collaborators','_onLocalMutation','AWAITING_WITH_PENDING','mutations','signUrlServerUrl','_checkMissing','_onConflict','UNIVER_COLLABORATION_CLIENT_PLUGIN','range','encodeURIComponent','_undoStacks','UnitEmbedded','fetch_missing','change$','_createHelper','_pendingMutations','Could\x20not\x20dynamically\x20require\x20\x22','LOCAL_CACHE_INTERVAL','SOCKET_FAILED_RETRY','readyForCollab','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_userManagerService','[CollaborationEntity]','_snapshotServerService','_initDependencies','onTransformState','processBlock','HttpExport','open$','HmacMD5','_localCacheService','[FetchMissState]','OTHER_CLIENT_EDITING','_transformRemoteChangesetByIMECache','startsWith','generateRandomId','/rev/','symbol','collabSubmitChangesetUrl','randomUUID','UNIVER_SHEET','kdf','ERROR_IMAGE','_type','CHANGESET_REJ','/collaborator','onCommentUpdate','listRoles','ERROR_IMAGE_TYPE','saveSnapshot','headers','SYNCED','cfg','status','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_telemetryInfo','INTERNAL_ERROR','getAllMembers','onTransformSelections','_getCurrentRevision','_getAPIPrefixPath','APPLY_PERMISSION_DENIED','[PendingState]:\x20received\x20rejection.','fromCharCode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_permissionService','getTypeOfUnitDisposed$','confirm','FileId','_fetchMissChangesets','pipe','_init','UNIVER_SLIDE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','toLowerCase','_prevBlock','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_PERMISSION_DENIED','lib','function','getUnitStatus$','PY_RUNTIME_SCRIPT_ERROR','fetchMiss','[CollaborationSession]','_mode','_shouldReportTelemetry','updatePermissionPoint','[SyncedState]:\x20received\x20acknowledgement.','requireSession','slice','formatter','textRanges','session.room-permission-denied','ONLINE','POST','LICENSE_MAX_UNITS_EXCEEDED','execute','status$','_onRecvEvent','byteOffset','unsubscribe','_sheetTransformSelectionsService','onCommandExecuted','_changesetReqId','HMAC','csShouldRetryEvent','editing\x20status\x20changed\x20to','Pkcs7','getTypeOfUnitAdded$','/unit/','FAIL','search','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_http','keySize','waitForRoom$','getWorkbookSelections','CipherParams','6894208ARHnuX','Encryptor','_retryConnectingTimer','_acknowledgedAwaitingChangeset','key','splice','_syncEditingCollabCursor','GLOBAL_ROOMS_CNT_EXCEEDS','image/png','_resendWithTimeout','unpad','_singleActiveUnitService','sessionTicket','subject','JOIN_ROOM_FAILED','_unlockTransition','_doProcessBlock','failed\x20to\x20apply\x20missed\x20changesets!','_eventService','_initCloseConn','transformChangesets','close$','isPermissionRej','_onRemoteRetry','_imageSourceCache'];_0x4bb9=function(){return _0x3b0043;};return _0x4bb9();}Tt=Lt([k(0x3,_0x22b705(_0x491816)),k(0x4,_0x22b705(_0x3f31b3)),k(0x5,_0x22b705(_0x15da4d)),k(0x6,_0x22b705(_0x4500ba)),k(0x7,_0x22b705(pe)),k(0x8,_0x43bc54),k(0x9,_0x2ea271),k(0xa,_0x72e2b3),k(0xb,_0x4b5f3d(ht)),k(0xc,_0x4b5f3d(J))],Tt);let Ct=class extends nt{constructor(_0x3ed733,_0x2b56f9,_0x58995e,_0x3663b8,_0x335653,_0x22f066,_0x28066f,_0x32d60d,_0x22f750,_0x41a594,_0x23afa4,_0x6d19cd,_0x30936b,_0x2d27a9){var _0x538ca0=_0x108c00;super(_0x3ed733,_0x58995e,_0x2b56f9,_0x3663b8,_0x335653,_0x22f066,_0x28066f,_0x22f750,_0x41a594,_0x23afa4,_0x6d19cd,_0x30936b,_0x2d27a9),this['unitID']=_0x3ed733,this[_0x538ca0(0x32c)]=_0x2b56f9,this[_0x538ca0(0x3a2)]=_0x32d60d;}[_0x108c00(0x49f)](){var _0x11da29=_0x108c00;const _0x5cd68c=super['_createHandler']();return _0x5cd68c[_0x11da29(0x377)]=_0x77aa6f=>this[_0x11da29(0x3a2)]['transformSelections'](_0x77aa6f),_0x5cd68c;}async[_0x108c00(0x384)](){var _0x190f28=_0x108c00;const _0x4aefc0=await super[_0x190f28(0x384)]();return this['disposeWithMe'](this[_0x190f28(0x3e5)][_0x190f28(0x3a3)]((_0x49f4f3,_0x377a14)=>{var _0x273804=_0x190f28;if(_0x49f4f3[_0x273804(0x32c)]!==_0x55a241[_0x273804(0x1c5)]||_0x377a14!=null&&_0x377a14[_0x273804(0x49a)]||_0x377a14!=null&&_0x377a14['onlyLocal'])return;const _0x45102c=_0x49f4f3['params'];if((_0x45102c==null?void 0x0:_0x45102c[_0x273804(0x1fa)])!==this[_0x273804(0x418)])return;const _0x1e9c4f=_0x49f4f3,_0x4bbfb7=this[_0x273804(0x1f3)][_0x273804(0x30d)][_0x273804(0x250)](this['_compressMutationService'][_0x273804(0x30d)]['getInterceptPoints']()[_0x273804(0x446)])([_0x1e9c4f],null)||[_0x1e9c4f];this[_0x273804(0x33e)](_0x4bbfb7[0x0]);})),_0x4aefc0;}};Ct=Lt([k(0x3,_0x22b705(_0x491816)),k(0x4,_0x22b705(_0x3f31b3)),k(0x5,_0x22b705(_0x15da4d)),k(0x6,_0x22b705(_0x4500ba)),k(0x7,_0x22b705(it)),k(0x8,_0x22b705(pe)),k(0x9,_0x43bc54),k(0xa,_0x2ea271),k(0xb,_0x72e2b3),k(0xc,_0x4b5f3d(ht)),k(0xd,_0x4b5f3d(J))],Ct);var mr=Object[_0x108c00(0x31d)],gr=Object[_0x108c00(0x21a)],Sr=(_0x32d7cb,_0x1a8735,_0x5dc01b,_0x669328)=>{for(var _0x5a010d=_0x669328>0x1?void 0x0:_0x669328?gr(_0x1a8735,_0x5dc01b):_0x1a8735,_0x44422c=_0x32d7cb['length']-0x1,_0xa1c2d5;_0x44422c>=0x0;_0x44422c--)(_0xa1c2d5=_0x32d7cb[_0x44422c])&&(_0x5a010d=(_0x669328?_0xa1c2d5(_0x1a8735,_0x5dc01b,_0x5a010d):_0xa1c2d5(_0x5a010d))||_0x5a010d);return _0x669328&&_0x5a010d&&mr(_0x1a8735,_0x5dc01b,_0x5a010d),_0x5a010d;},ft=(_0xb67b09,_0x4acc41)=>(_0x4b9122,_0x433581)=>_0x4acc41(_0x4b9122,_0x433581,_0xb67b09);let rt=class extends _0x31cc7c{constructor(_0xcd594a,_0x3e85e8,_0x4ce86e){var _0x5e5e0c=_0x108c00;super(),N(this,'_entities',new Map()),N(this,_0x5e5e0c(0x1c7),new _0x38f83b()),N(this,_0x5e5e0c(0x319),this[_0x5e5e0c(0x1c7)]['asObservable']()),(this[_0x5e5e0c(0x2f0)]=_0xcd594a,this[_0x5e5e0c(0x433)]=_0x3e85e8,this['_univerInstanceService']=_0x4ce86e,this[_0x5e5e0c(0x384)]());}[_0x108c00(0x2e2)](){var _0x2a0d60=_0x108c00;super[_0x2a0d60(0x2e2)](),this[_0x2a0d60(0x1cc)][_0x2a0d60(0x2a2)](_0xdf2082=>_0xdf2082[_0x2a0d60(0x2e2)]()),this[_0x2a0d60(0x1cc)][_0x2a0d60(0x26f)]();}['getCollabEntity'](_0x552b55){var _0x5af6bb=_0x108c00,_0x59ec4f;return(_0x59ec4f=this[_0x5af6bb(0x1cc)][_0x5af6bb(0x260)](_0x552b55))!=null?_0x59ec4f:null;}[_0x108c00(0x31f)](_0x351705){var _0x41a36c=_0x108c00;const _0x5d9387=this[_0x41a36c(0x461)](_0x351705);return _0x5d9387?_0x41197b(_0x5d9387):this[_0x41a36c(0x1c7)]['pipe'](_0x47bc6d(_0x69a584=>_0x69a584[_0x41a36c(0x418)]===_0x351705));}[_0x108c00(0x350)](_0xcbb75b){var _0x328d3e=_0x108c00;return _0x573369(this[_0x328d3e(0x31f)](_0xcbb75b)[_0x328d3e(0x383)](_0x5e1c46(()=>{})));}[_0x108c00(0x384)](){var _0x502e50=_0x108c00;this[_0x502e50(0x293)][_0x502e50(0x3a9)](_0x52e129[_0x502e50(0x365)])['pipe'](_0x1a9326(this['dispose$']),_0x81f69(0x10))['subscribe'](async _0x2d0a45=>{var _0x4de000=_0x502e50;const _0x5ad0cc=_0x2d0a45[_0x4de000(0x3f1)](),_0x5aa2d7=await this[_0x4de000(0x261)](_0x5ad0cc,Q[_0x4de000(0x365)]);this['_entities']['set'](_0x5ad0cc,_0x5aa2d7);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x52e129[_0x502e50(0x1be)])[_0x502e50(0x383)](_0x1a9326(this['dispose$']),_0x81f69(0x10))[_0x502e50(0x383)](_0x47bc6d(_0x20c08b=>!_0x20c08b['getUnitId']()[_0x502e50(0x35f)]('__')))['subscribe'](async _0x30db2d=>{var _0x322bde=_0x502e50;const _0x426da0=_0x30db2d[_0x322bde(0x3f1)](),_0x2617fe=await this[_0x322bde(0x261)](_0x426da0,Q[_0x322bde(0x1be)]);this[_0x322bde(0x1cc)]['set'](_0x426da0,_0x2617fe);}),_0x3aad39(this['_univerInstanceService'][_0x502e50(0x37f)](_0x52e129['UNIVER_SHEET']),this[_0x502e50(0x293)][_0x502e50(0x37f)](_0x52e129[_0x502e50(0x1be)]))[_0x502e50(0x383)](_0x1a9326(this[_0x502e50(0x2c5)]))[_0x502e50(0x44b)](_0x58a7d8=>{var _0x24b989=_0x502e50;const _0x325049=_0x58a7d8[_0x24b989(0x3f1)](),_0x22a2a9=this[_0x24b989(0x1cc)][_0x24b989(0x260)](_0x325049);_0x22a2a9&&(_0x22a2a9['dispose'](),this['_entities'][_0x24b989(0x2c7)](_0x325049));});}async['_startCollaboration'](_0xd9da3b,_0x466457){var _0x2c2f01=_0x108c00;const _0x55f2eb=await this[_0x2c2f01(0x433)][_0x2c2f01(0x395)](_0xd9da3b),_0x3a7658=this[_0x2c2f01(0x2f0)][_0x2c2f01(0x45c)](this[_0x2c2f01(0x1d5)](_0x466457),_0xd9da3b,_0x466457,_0x55f2eb);return await _0x3a7658[_0x2c2f01(0x4aa)](),this[_0x2c2f01(0x1c7)][_0x2c2f01(0x449)](_0x3a7658),_0x3a7658;}[_0x108c00(0x1d5)](_0x205e09){var _0x52d059=_0x108c00;switch(_0x205e09){case Q[_0x52d059(0x1be)]:return Tt;case Q[_0x52d059(0x365)]:return Ct;default:throw new Error(_0x52d059(0x498)+_0x205e09);}}};rt=Sr([ft(0x0,_0x22b705(_0x491816)),ft(0x1,_0x22b705(Le)),ft(0x2,_0x53b9e4)],rt);var Er=Object[_0x108c00(0x31d)],Ir=Object[_0x108c00(0x21a)],Tr=(_0x4d9c76,_0x2cc678,_0x4d5b84,_0x16471e)=>{for(var _0x1c513e=_0x16471e>0x1?void 0x0:_0x16471e?Ir(_0x2cc678,_0x4d5b84):_0x2cc678,_0x484eeb=_0x4d9c76['length']-0x1,_0x3488f0;_0x484eeb>=0x0;_0x484eeb--)(_0x3488f0=_0x4d9c76[_0x484eeb])&&(_0x1c513e=(_0x16471e?_0x3488f0(_0x2cc678,_0x4d5b84,_0x1c513e):_0x3488f0(_0x1c513e))||_0x1c513e);return _0x16471e&&_0x1c513e&&Er(_0x2cc678,_0x4d5b84,_0x1c513e),_0x1c513e;},Jt=(_0x18d985,_0x412691)=>(_0x221eb9,_0x4b772f)=>_0x412691(_0x221eb9,_0x4b772f,_0x18d985);const Cr=_0x108c00(0x322),Rr=_0x108c00(0x43d);let Rt=class extends _0x566b20{constructor(_0x566d61,_0x23b40b){var _0x3f5c52=_0x108c00;super(),this[_0x3f5c52(0x293)]=_0x566d61,this[_0x3f5c52(0x217)]=_0x23b40b,this['_init']();}[_0x108c00(0x384)](){var _0x2da7c8=_0x108c00;this[_0x2da7c8(0x264)](this[_0x2da7c8(0x293)]['focused$']['subscribe'](()=>{var _0x36a51f=_0x2da7c8,_0x5d9693;const _0x344278=this[_0x36a51f(0x293)][_0x36a51f(0x3e1)]();let _0x36b769=(_0x5d9693=this['_configService']['getConfig'](Cr))!=null?_0x5d9693:Rr;_0x344278 instanceof _0x129e01&&(_0x36b769=_0x344278[_0x36a51f(0x2ed)]),document[_0x36a51f(0x277)]=_0x36b769;}));}};Rt=Tr([Jt(0x0,_0x53b9e4),Jt(0x1,_0x1c99c2)],Rt);var br=Object['defineProperty'],Or=Object[_0x108c00(0x21a)],yr=(_0x3c72a6,_0x409c16,_0x3a269c,_0x15752b)=>{var _0x280115=_0x108c00;for(var _0x1b6bad=_0x15752b>0x1?void 0x0:_0x15752b?Or(_0x409c16,_0x3a269c):_0x409c16,_0x24883e=_0x3c72a6[_0x280115(0x24e)]-0x1,_0x2fde00;_0x24883e>=0x0;_0x24883e--)(_0x2fde00=_0x3c72a6[_0x24883e])&&(_0x1b6bad=(_0x15752b?_0x2fde00(_0x409c16,_0x3a269c,_0x1b6bad):_0x2fde00(_0x1b6bad))||_0x1b6bad);return _0x15752b&&_0x1b6bad&&br(_0x409c16,_0x3a269c,_0x1b6bad),_0x1b6bad;},vt=(_0x1a2a1e,_0x3155f6)=>(_0x3c2c51,_0x4b7be4)=>_0x3155f6(_0x3c2c51,_0x4b7be4,_0x1a2a1e);let st=class{constructor(_0x12e433,_0x89be01,_0x5c653f){var _0x332713=_0x108c00;this[_0x332713(0x217)]=_0x12e433,this[_0x332713(0x266)]=_0x89be01,this['localeService']=_0x5c653f,this[_0x332713(0x4aa)]();}[_0x108c00(0x4aa)](){var _0x40d8b9=_0x108c00;this[_0x40d8b9(0x266)][_0x40d8b9(0x301)]({'priority':0x1,'interceptor':(_0x948194,_0xc777e0)=>_0xc777e0(_0x948194)['pipe'](_0x2941e1(async _0xd7a206=>{var _0x80e912=_0x40d8b9;const _0x133e84=_0xd7a206;if(_0x133e84[_0x80e912(0x372)]===0x191){if(typeof window>'u')throw new Error(_0x80e912(0x3ad));if(window[_0x80e912(0x380)](this[_0x80e912(0x1e8)]['t'](_0x80e912(0x257)))){const _0x186d2a=window[_0x80e912(0x346)](window['location']['href']);window[_0x80e912(0x298)][_0x80e912(0x4a5)]=this[_0x80e912(0x2cf)]()+_0x80e912(0x2b0)+_0x186d2a;}}return _0x133e84;}))});}[_0x108c00(0x2cf)](){var _0x2a107c=_0x108c00,_0x2d0e1a,_0x453ad8;const _0x2e3b2e=this[_0x2a107c(0x217)][_0x2a107c(0x47e)](xn),_0x24c9ea=this[_0x2a107c(0x217)][_0x2a107c(0x47e)](q);return(_0x453ad8=(_0x2d0e1a=_0x24c9ea==null?void 0x0:_0x24c9ea[_0x2a107c(0x2b9)])!=null?_0x2d0e1a:_0x2e3b2e)!=null?_0x453ad8:Ln;}};st=yr([vt(0x0,_0x1c99c2),vt(0x1,_0x22b705(_0x55772)),vt(0x2,_0x22b705(_0x15da4d))],st);var Nr=Object[_0x108c00(0x31d)],Dr=Object[_0x108c00(0x21a)],Pr=(_0x143edf,_0x58bf43,_0x5163e5,_0xe2e4dc)=>{var _0x89239b=_0x108c00;for(var _0x11b89a=_0xe2e4dc>0x1?void 0x0:_0xe2e4dc?Dr(_0x58bf43,_0x5163e5):_0x58bf43,_0x17cbcd=_0x143edf[_0x89239b(0x24e)]-0x1,_0x41cc8a;_0x17cbcd>=0x0;_0x17cbcd--)(_0x41cc8a=_0x143edf[_0x17cbcd])&&(_0x11b89a=(_0xe2e4dc?_0x41cc8a(_0x58bf43,_0x5163e5,_0x11b89a):_0x41cc8a(_0x11b89a))||_0x11b89a);return _0xe2e4dc&&_0x11b89a&&Nr(_0x58bf43,_0x5163e5,_0x11b89a),_0x11b89a;},Xt=(_0x1bf16e,_0x2ea1d9)=>(_0x49d659,_0xb531a2)=>_0x2ea1d9(_0x49d659,_0xb531a2,_0x1bf16e);function _0x5020(_0x23d24d,_0x4d61be){var _0x4bb93d=_0x4bb9();return _0x5020=function(_0x502067,_0x5e358f){_0x502067=_0x502067-0x1b6;var _0x2432e1=_0x4bb93d[_0x502067];return _0x2432e1;},_0x5020(_0x23d24d,_0x4d61be);}const Pi='AUTHZ_URL_KEY',wr=_0x108c00(0x3ef);let bt=class extends _0x566b20{constructor(_0x345243,_0x2158f6){var _0x3d95cb=_0x108c00;super(),this[_0x3d95cb(0x2a4)]=_0x345243,this[_0x3d95cb(0x217)]=_0x2158f6,this[_0x3d95cb(0x42c)]();}[_0x108c00(0x42c)](){var _0x4cd48d=_0x108c00;const _0xcee404=this;this[_0x4cd48d(0x264)](this[_0x4cd48d(0x2a4)][_0x4cd48d(0x301)]({'priority':0x3e7,'interceptor':_0x6a9648({'isMatch'(_0x5a7fb3){var _0x3bc77a=_0x4cd48d,_0xd8ad9b;if(_0x5a7fb3[_0x3bc77a(0x3df)]===_0x3bc77a(0x39b)&&((_0xd8ad9b=_0x5a7fb3[_0x3bc77a(0x3d3)])!=null&&_0xd8ad9b[_0x3bc77a(0x233)])){const {objectID:_0x29891f,objectType:_0x5e6ffc}=_0x5a7fb3[_0x3bc77a(0x3d3)][_0x3bc77a(0x233)]||{};if(!_0x29891f||_0x5e6ffc===void 0x0)return!0x1;const _0x305d03=_0xcee404[_0x3bc77a(0x379)]()+'/'+_0x5e6ffc+_0x3bc77a(0x3f9)+_0x29891f+_0x3bc77a(0x45a);if(_0x5a7fb3['url']===_0x305d03)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x338e65){var _0x4025ee=_0x4cd48d,_0x15c628;return(_0x15c628=_0x338e65[_0x4025ee(0x3d3)])==null?void 0x0:_0x15c628[_0x4025ee(0x233)];},'mergeParamsToRequest'(_0xb4ee28,_0x20c325){var _0xc13139=_0x4cd48d;const _0x3d2229=_0xcee404[_0xc13139(0x379)]()+'/-/object/-/batch_allowed',_0x45a4bc=_0xb4ee28[_0xc13139(0x455)]((_0x592247,_0x3529ed)=>{var _0x1dd49a=_0xc13139;const {unitID:_0x2b96ae,objectID:_0x3fe37e,objectType:_0x1589ae,actions:_0x2f7c3c}=_0x3529ed;return _0x592247[_0x2b96ae]||(_0x592247[_0x2b96ae]={}),_0x592247[_0x2b96ae][_0x3fe37e]||(_0x592247[_0x2b96ae][_0x3fe37e]={'objectID':_0x3fe37e,'objectType':_0x1589ae,'actions':[]}),_0x592247[_0x2b96ae][_0x3fe37e][_0x1dd49a(0x3da)][_0x1dd49a(0x3d1)](..._0x2f7c3c),_0x592247;},{}),_0x32f72d=[];for(const _0x4e2cb1 in _0x45a4bc)for(const _0x584e27 in _0x45a4bc[_0x4e2cb1]){const {actions:_0x32e2fc,objectType:_0x351e6f}=_0x45a4bc[_0x4e2cb1][_0x584e27],_0x387da4=[...new Set(_0x32e2fc)];_0x32f72d['push']({'unitID':_0x4e2cb1,'objectID':_0x584e27,'objectType':_0x351e6f,'actions':_0x387da4});}return new _0x5df63f(_0xc13139(0x39b),_0x3d2229,{'headers':_0x20c325['headers'],'withCredentials':_0x20c325[_0xc13139(0x2a1)],'responseType':_0x20c325[_0xc13139(0x1d1)],'body':{'requests':_0x32f72d}});}},{'distributeResult'(_0x2cafbf,_0x3d0c5c){var _0xac1517=_0x4cd48d;const {objectActions:_0x5a7aca}=_0x2cafbf;return _0x3d0c5c[_0xac1517(0x1eb)](_0x5cd26d=>{var _0x50c24b=_0xac1517;const {unitID:_0x10b6d1,objectID:_0x104a6a,actions:_0xbe0ea9}=_0x5cd26d,_0x3632f0=_0x5a7aca[_0x50c24b(0x284)](_0x42bedb=>_0x42bedb[_0x50c24b(0x418)]===_0x10b6d1&&_0x42bedb[_0x50c24b(0x272)]===_0x104a6a),_0x49c771=_0xbe0ea9[_0x50c24b(0x1eb)](_0x3b5ec8=>_0x3632f0==null?void 0x0:_0x3632f0['actions'][_0x50c24b(0x284)](_0x540252=>_0x540252['action']===_0x3b5ec8))['filter'](_0x5d82a9=>!!_0x5d82a9);return{'config':_0x5cd26d,'result':{'actions':_0x49c771,'error':_0x2cafbf['error']}};});}})}));}[_0x108c00(0x379)](){var _0x5c7328=_0x108c00,_0x3e4139,_0xa84f8a;const _0x239617=this[_0x5c7328(0x217)][_0x5c7328(0x47e)](Pi),_0x47ec42=this['_configService']['getConfig'](q);return(_0xa84f8a=(_0x3e4139=_0x47ec42==null?void 0x0:_0x47ec42[_0x5c7328(0x43c)])!=null?_0x3e4139:_0x239617)!=null?_0xa84f8a:wr;}async['create'](_0x35f6aa){var _0x1aca3c=_0x108c00;const _0x53a788=this[_0x1aca3c(0x379)]()+'/'+_0x35f6aa[_0x1aca3c(0x482)]+_0x1aca3c(0x4a3);return(await this['_HTTPService'][_0x1aca3c(0x240)](_0x53a788,{'body':_0x35f6aa}))[_0x1aca3c(0x233)][_0x1aca3c(0x272)]||'';}async[_0x108c00(0x2bc)](_0x3eaaef){var _0x20491c=_0x108c00;const _0x2a83e5=this['_getAPIPrefixPath']()+_0x20491c(0x456);return(await this['_HTTPService']['post'](_0x2a83e5,{'body':_0x3eaaef}))[_0x20491c(0x233)][_0x20491c(0x30f)];}async[_0x108c00(0x2a7)](_0x48d662){var _0x56d2de=_0x108c00;const _0x742fda=this['_getAPIPrefixPath']()+'/'+_0x48d662[_0x56d2de(0x482)]+_0x56d2de(0x3f9)+_0x48d662[_0x56d2de(0x272)];await this['_HTTPService'][_0x56d2de(0x454)](_0x742fda,{'body':_0x48d662});}async['allowed'](_0x52392c){var _0xa82521=_0x108c00;const _0x201cb7=this[_0xa82521(0x379)]()+'/'+_0x52392c[_0xa82521(0x482)]+'/object/'+_0x52392c[_0xa82521(0x272)]+_0xa82521(0x45a);return(await this[_0xa82521(0x2a4)]['post'](_0x201cb7,{'body':_0x52392c}))[_0xa82521(0x233)][_0xa82521(0x3da)];}async[_0x108c00(0x330)](_0x32e69a){var _0x58be25=_0x108c00;const _0x529220=this[_0x58be25(0x379)]()+_0x58be25(0x46f);return(await this[_0x58be25(0x2a4)][_0x58be25(0x240)](_0x529220,{'body':{'requests':_0x32e69a}}))[_0x58be25(0x233)][_0x58be25(0x254)];}async[_0x108c00(0x36c)](_0x57fac5){var _0x405af4=_0x108c00;const _0x587cbc=this[_0x405af4(0x379)]()+'/'+_0x57fac5[_0x405af4(0x482)]+_0x405af4(0x299),_0x3a22d1=await this[_0x405af4(0x2a4)]['post'](_0x587cbc,{'body':_0x57fac5});return{'roles':_0x3a22d1[_0x405af4(0x233)]['roles'],'actions':_0x3a22d1[_0x405af4(0x233)][_0x405af4(0x3da)]};}async[_0x108c00(0x337)](_0x2592e3){var _0x28396f=_0x108c00;const _0x5211e2=this[_0x28396f(0x379)]()+_0x28396f(0x36a);await this[_0x28396f(0x2a4)][_0x28396f(0x2c7)](_0x5211e2,{'params':{'collaboratorID':_0x2592e3[_0x28396f(0x45f)],'objectID':_0x2592e3[_0x28396f(0x272)],'unitID':_0x2592e3[_0x28396f(0x418)]}});}async[_0x108c00(0x41c)](_0x17c535){var _0x48b231=_0x108c00;const _0x29f570=this['_getAPIPrefixPath']()+_0x48b231(0x36a);await this[_0x48b231(0x2a4)][_0x48b231(0x440)](_0x29f570,{'body':_0x17c535});}async['createCollaborator'](_0x414444){var _0x36b181=_0x108c00;const _0x54d724=this[_0x36b181(0x379)]()+_0x36b181(0x36a);await this[_0x36b181(0x2a4)][_0x36b181(0x240)](_0x54d724,{'body':_0x414444});}async[_0x108c00(0x235)](_0x94dd32){var _0x39a106=_0x108c00;const _0x178557=this['_getAPIPrefixPath']()+_0x39a106(0x36a);return(await this[_0x39a106(0x2a4)][_0x39a106(0x260)](_0x178557,{'params':{'objectID':_0x94dd32[_0x39a106(0x272)],'unitID':_0x94dd32[_0x39a106(0x418)]}}))[_0x39a106(0x233)][_0x39a106(0x33d)];}async[_0x108c00(0x239)](_0x196ff3){var _0x55242c=_0x108c00;const _0x20cf19=this['_getAPIPrefixPath']()+_0x55242c(0x36a);await this[_0x55242c(0x2a4)][_0x55242c(0x454)](_0x20cf19,{'body':_0x196ff3});}};bt=Pr([Xt(0x0,_0x22b705(_0x55772)),Xt(0x1,_0x22b705(_0x1c99c2))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x19a1f1){var _0x54d40e=_0x108c00;return _0x19a1f1&&_0x19a1f1[_0x54d40e(0x285)]&&Object[_0x54d40e(0x23b)]['hasOwnProperty'][_0x54d40e(0x314)](_0x19a1f1,'default')?_0x19a1f1[_0x54d40e(0x1f9)]:_0x19a1f1;}var Ve={'exports':{}};function Ur(_0x54cea5){var _0x1fcc2f=_0x108c00;throw new Error(_0x1fcc2f(0x34d)+_0x54cea5+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x108c00(0x1fd)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x1895ad,_0x56cee3){(function(_0x42eaad,_0x506e4f){var _0x5ca6b9=_0x5020;_0x1895ad[_0x5ca6b9(0x1fd)]=_0x506e4f();}(Ar,function(){var _0x5678e2=_0x5678e2||function(_0x5bac40,_0x40898b){var _0x3825a1=_0x5020,_0x351099;if(typeof window<'u'&&window[_0x3825a1(0x265)]&&(_0x351099=window[_0x3825a1(0x265)]),typeof self<'u'&&self[_0x3825a1(0x265)]&&(_0x351099=self[_0x3825a1(0x265)]),typeof globalThis<'u'&&globalThis[_0x3825a1(0x265)]&&(_0x351099=globalThis[_0x3825a1(0x265)]),!_0x351099&&typeof window<'u'&&window[_0x3825a1(0x49c)]&&(_0x351099=window[_0x3825a1(0x49c)]),!_0x351099&&typeof pt<'u'&&pt['crypto']&&(_0x351099=pt[_0x3825a1(0x265)]),!_0x351099&&typeof Ur==_0x3825a1(0x38c))try{_0x351099=require('crypto');}catch{}var _0x4c3b1b=function(){var _0x14b3ed=_0x3825a1;if(_0x351099){if(typeof _0x351099[_0x14b3ed(0x472)]==_0x14b3ed(0x38c))try{return _0x351099['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x351099[_0x14b3ed(0x4a2)]=='function')try{return _0x351099[_0x14b3ed(0x4a2)](0x4)[_0x14b3ed(0x28f)]();}catch{}}throw new Error(_0x14b3ed(0x37d));},_0x18da1f=Object['create']||(function(){function _0xfd5158(){}return function(_0x3b0495){var _0x4bded8=_0x5020,_0x4c8499;return _0xfd5158[_0x4bded8(0x23b)]=_0x3b0495,_0x4c8499=new _0xfd5158(),_0xfd5158[_0x4bded8(0x23b)]=null,_0x4c8499;};}()),_0x261997={},_0x3e9f4b=_0x261997[_0x3825a1(0x38b)]={},_0x49cf04=_0x3e9f4b['Base']=(function(){return{'extend':function(_0x3b54e0){var _0x3c7611=_0x5020,_0x5e46f6=_0x18da1f(this);return _0x3b54e0&&_0x5e46f6[_0x3c7611(0x289)](_0x3b54e0),(!_0x5e46f6['hasOwnProperty'](_0x3c7611(0x4aa))||this['init']===_0x5e46f6[_0x3c7611(0x4aa)])&&(_0x5e46f6['init']=function(){var _0x3c8183=_0x3c7611;_0x5e46f6[_0x3c8183(0x460)]['init'][_0x3c8183(0x321)](this,arguments);}),_0x5e46f6[_0x3c7611(0x4aa)][_0x3c7611(0x23b)]=_0x5e46f6,_0x5e46f6[_0x3c7611(0x460)]=this,_0x5e46f6;},'create':function(){var _0x4f5c20=_0x5020,_0x2d64d1=this[_0x4f5c20(0x305)]();return _0x2d64d1[_0x4f5c20(0x4aa)][_0x4f5c20(0x321)](_0x2d64d1,arguments),_0x2d64d1;},'init':function(){},'mixIn':function(_0x2f1ac8){var _0x17318c=_0x5020;for(var _0x2b3284 in _0x2f1ac8)_0x2f1ac8[_0x17318c(0x2dd)](_0x2b3284)&&(this[_0x2b3284]=_0x2f1ac8[_0x2b3284]);_0x2f1ac8[_0x17318c(0x2dd)](_0x17318c(0x3cd))&&(this['toString']=_0x2f1ac8[_0x17318c(0x3cd)]);},'clone':function(){var _0xc3dc2b=_0x5020;return this[_0xc3dc2b(0x4aa)][_0xc3dc2b(0x23b)][_0xc3dc2b(0x305)](this);}};}()),_0x5150a1=_0x3e9f4b[_0x3825a1(0x245)]=_0x49cf04[_0x3825a1(0x305)]({'init':function(_0xcb5570,_0x428471){var _0x55a5b1=_0x3825a1;_0xcb5570=this[_0x55a5b1(0x428)]=_0xcb5570||[],_0x428471!=_0x40898b?this[_0x55a5b1(0x310)]=_0x428471:this['sigBytes']=_0xcb5570[_0x55a5b1(0x24e)]*0x4;},'toString':function(_0x3d60a8){var _0x30c981=_0x3825a1;return(_0x3d60a8||_0x2a0b46)[_0x30c981(0x2f4)](this);},'concat':function(_0x2b5d86){var _0x4fa984=_0x3825a1,_0x4cfca6=this[_0x4fa984(0x428)],_0x1d452d=_0x2b5d86[_0x4fa984(0x428)],_0x48ba37=this['sigBytes'],_0x1e8f64=_0x2b5d86['sigBytes'];if(this[_0x4fa984(0x432)](),_0x48ba37%0x4)for(var _0x510a21=0x0;_0x510a21<_0x1e8f64;_0x510a21++){var _0x4cea21=_0x1d452d[_0x510a21>>>0x2]>>>0x18-_0x510a21%0x4*0x8&0xff;_0x4cfca6[_0x48ba37+_0x510a21>>>0x2]|=_0x4cea21<<0x18-(_0x48ba37+_0x510a21)%0x4*0x8;}else{for(var _0x4ef971=0x0;_0x4ef971<_0x1e8f64;_0x4ef971+=0x4)_0x4cfca6[_0x48ba37+_0x4ef971>>>0x2]=_0x1d452d[_0x4ef971>>>0x2];}return this[_0x4fa984(0x310)]+=_0x1e8f64,this;},'clamp':function(){var _0x335d2e=_0x3825a1,_0x4f5292=this[_0x335d2e(0x428)],_0x3770b8=this[_0x335d2e(0x310)];_0x4f5292[_0x3770b8>>>0x2]&=0xffffffff<<0x20-_0x3770b8%0x4*0x8,_0x4f5292[_0x335d2e(0x24e)]=_0x5bac40[_0x335d2e(0x1f4)](_0x3770b8/0x4);},'clone':function(){var _0x41da5f=_0x3825a1,_0x4ca5b4=_0x49cf04['clone'][_0x41da5f(0x314)](this);return _0x4ca5b4[_0x41da5f(0x428)]=this['words'][_0x41da5f(0x396)](0x0),_0x4ca5b4;},'random':function(_0x3949e1){var _0x5e1ed4=_0x3825a1;for(var _0x2cbb32=[],_0x916b9e=0x0;_0x916b9e<_0x3949e1;_0x916b9e+=0x4)_0x2cbb32[_0x5e1ed4(0x3d1)](_0x4c3b1b());return new _0x5150a1[(_0x5e1ed4(0x4aa))](_0x2cbb32,_0x3949e1);}}),_0x1f7c23=_0x261997[_0x3825a1(0x29b)]={},_0x2a0b46=_0x1f7c23[_0x3825a1(0x2c8)]={'stringify':function(_0x5bbb18){var _0xc1d723=_0x3825a1;for(var _0x9d28a9=_0x5bbb18[_0xc1d723(0x428)],_0x34703e=_0x5bbb18[_0xc1d723(0x310)],_0xe4d3f3=[],_0x2c7891=0x0;_0x2c7891<_0x34703e;_0x2c7891++){var _0x4223b6=_0x9d28a9[_0x2c7891>>>0x2]>>>0x18-_0x2c7891%0x4*0x8&0xff;_0xe4d3f3[_0xc1d723(0x3d1)]((_0x4223b6>>>0x4)[_0xc1d723(0x3cd)](0x10)),_0xe4d3f3['push']((_0x4223b6&0xf)[_0xc1d723(0x3cd)](0x10));}return _0xe4d3f3[_0xc1d723(0x280)]('');},'parse':function(_0x28a1f9){var _0x33dc9f=_0x3825a1;for(var _0x608688=_0x28a1f9[_0x33dc9f(0x24e)],_0x2fdc50=[],_0x2c33dd=0x0;_0x2c33dd<_0x608688;_0x2c33dd+=0x2)_0x2fdc50[_0x2c33dd>>>0x3]|=parseInt(_0x28a1f9[_0x33dc9f(0x216)](_0x2c33dd,0x2),0x10)<<0x18-_0x2c33dd%0x8*0x4;return new _0x5150a1[(_0x33dc9f(0x4aa))](_0x2fdc50,_0x608688/0x2);}},_0x2992d7=_0x1f7c23[_0x3825a1(0x490)]={'stringify':function(_0x2d828c){var _0x4a83be=_0x3825a1;for(var _0x8a088=_0x2d828c['words'],_0x3b8dda=_0x2d828c[_0x4a83be(0x310)],_0x2d6a5a=[],_0x4659b8=0x0;_0x4659b8<_0x3b8dda;_0x4659b8++){var _0x9fa92c=_0x8a088[_0x4659b8>>>0x2]>>>0x18-_0x4659b8%0x4*0x8&0xff;_0x2d6a5a['push'](String[_0x4a83be(0x37c)](_0x9fa92c));}return _0x2d6a5a[_0x4a83be(0x280)]('');},'parse':function(_0x4ca683){var _0x3c69c8=_0x3825a1;for(var _0x1d9905=_0x4ca683[_0x3c69c8(0x24e)],_0x5477a4=[],_0x28d7b1=0x0;_0x28d7b1<_0x1d9905;_0x28d7b1++)_0x5477a4[_0x28d7b1>>>0x2]|=(_0x4ca683[_0x3c69c8(0x1f1)](_0x28d7b1)&0xff)<<0x18-_0x28d7b1%0x4*0x8;return new _0x5150a1['init'](_0x5477a4,_0x1d9905);}},_0x58e409=_0x1f7c23[_0x3825a1(0x46a)]={'stringify':function(_0x52686e){var _0x441f16=_0x3825a1;try{return decodeURIComponent(escape(_0x2992d7['stringify'](_0x52686e)));}catch{throw new Error(_0x441f16(0x3f3));}},'parse':function(_0x599f5e){var _0x326e12=_0x3825a1;return _0x2992d7[_0x326e12(0x302)](unescape(encodeURIComponent(_0x599f5e)));}},_0xb291f9=_0x3e9f4b[_0x3825a1(0x430)]=_0x49cf04['extend']({'reset':function(){var _0x291a9f=_0x3825a1;this[_0x291a9f(0x44d)]=new _0x5150a1[(_0x291a9f(0x4aa))](),this[_0x291a9f(0x2c6)]=0x0;},'_append':function(_0x1b9e40){var _0xeafaea=_0x3825a1;typeof _0x1b9e40==_0xeafaea(0x20e)&&(_0x1b9e40=_0x58e409[_0xeafaea(0x302)](_0x1b9e40)),this[_0xeafaea(0x44d)][_0xeafaea(0x20d)](_0x1b9e40),this[_0xeafaea(0x2c6)]+=_0x1b9e40[_0xeafaea(0x310)];},'_process':function(_0x388375){var _0x4f4b61=_0x3825a1,_0x314fa2,_0xdcaddf=this[_0x4f4b61(0x44d)],_0x19a691=_0xdcaddf[_0x4f4b61(0x428)],_0x451998=_0xdcaddf[_0x4f4b61(0x310)],_0x3c174e=this['blockSize'],_0x4a8b2e=_0x3c174e*0x4,_0x57df7e=_0x451998/_0x4a8b2e;_0x388375?_0x57df7e=_0x5bac40['ceil'](_0x57df7e):_0x57df7e=_0x5bac40['max']((_0x57df7e|0x0)-this['_minBufferSize'],0x0);var _0x325b2f=_0x57df7e*_0x3c174e,_0x41694c=_0x5bac40[_0x4f4b61(0x2dc)](_0x325b2f*0x4,_0x451998);if(_0x325b2f){for(var _0x496eb0=0x0;_0x496eb0<_0x325b2f;_0x496eb0+=_0x3c174e)this[_0x4f4b61(0x3c3)](_0x19a691,_0x496eb0);_0x314fa2=_0x19a691['splice'](0x0,_0x325b2f),_0xdcaddf[_0x4f4b61(0x310)]-=_0x41694c;}return new _0x5150a1[(_0x4f4b61(0x4aa))](_0x314fa2,_0x41694c);},'clone':function(){var _0x5df5bb=_0x3825a1,_0x313bf6=_0x49cf04['clone'][_0x5df5bb(0x314)](this);return _0x313bf6[_0x5df5bb(0x44d)]=this[_0x5df5bb(0x44d)]['clone'](),_0x313bf6;},'_minBufferSize':0x0});_0x3e9f4b[_0x3825a1(0x413)]=_0xb291f9[_0x3825a1(0x305)]({'cfg':_0x49cf04[_0x3825a1(0x305)](),'init':function(_0x448a02){var _0x6afbad=_0x3825a1;this[_0x6afbad(0x371)]=this[_0x6afbad(0x371)][_0x6afbad(0x305)](_0x448a02),this['reset']();},'reset':function(){var _0x5405f3=_0x3825a1;_0xb291f9[_0x5405f3(0x2a6)][_0x5405f3(0x314)](this),this[_0x5405f3(0x328)]();},'update':function(_0x48daf2){var _0x165558=_0x3825a1;return this[_0x165558(0x27e)](_0x48daf2),this[_0x165558(0x1b7)](),this;},'finalize':function(_0x2fb63f){var _0x3a78c4=_0x3825a1;_0x2fb63f&&this[_0x3a78c4(0x27e)](_0x2fb63f);var _0x11785e=this['_doFinalize']();return _0x11785e;},'blockSize':0x10,'_createHelper':function(_0xcb2381){return function(_0x1f314e,_0x426d52){var _0x48591a=_0x5020;return new _0xcb2381[(_0x48591a(0x4aa))](_0x426d52)[_0x48591a(0x45b)](_0x1f314e);};},'_createHmacHelper':function(_0xbe5cc2){return function(_0x2622cf,_0x341a35){var _0x2cc09a=_0x5020;return new _0x54eead[(_0x2cc09a(0x3a5))]['init'](_0xbe5cc2,_0x341a35)[_0x2cc09a(0x45b)](_0x2622cf);};}});var _0x54eead=_0x261997[_0x3825a1(0x49d)]={};return _0x261997;}(Math);return _0x5678e2;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x108c00(0x1fd)],Qt;function wi(){var _0x2d13fe=_0x108c00;return Qt||(Qt=0x1,function(_0x125c11,_0x38f0e6){(function(_0x217a92,_0x5a9d45){var _0x2aca31=_0x5020;_0x125c11[_0x2aca31(0x1fd)]=_0x5a9d45(ne());}(xr,function(_0x34b3de){var _0x177007=_0x5020;return(function(){var _0x4237e8=_0x5020,_0x52a029=_0x34b3de,_0xf4d5d6=_0x52a029[_0x4237e8(0x38b)],_0x2a0da2=_0xf4d5d6[_0x4237e8(0x245)],_0x31f50f=_0x52a029['enc'];_0x31f50f[_0x4237e8(0x333)]={'stringify':function(_0x4e6c49){var _0x391a35=_0x4237e8,_0x1354b9=_0x4e6c49[_0x391a35(0x428)],_0x2adab6=_0x4e6c49[_0x391a35(0x310)],_0x2f91b9=this[_0x391a35(0x457)];_0x4e6c49[_0x391a35(0x432)]();for(var _0x3a97d1=[],_0x5798d9=0x0;_0x5798d9<_0x2adab6;_0x5798d9+=0x3)for(var _0x1ed0ea=_0x1354b9[_0x5798d9>>>0x2]>>>0x18-_0x5798d9%0x4*0x8&0xff,_0x3a61a2=_0x1354b9[_0x5798d9+0x1>>>0x2]>>>0x18-(_0x5798d9+0x1)%0x4*0x8&0xff,_0x3011e1=_0x1354b9[_0x5798d9+0x2>>>0x2]>>>0x18-(_0x5798d9+0x2)%0x4*0x8&0xff,_0xc89fa4=_0x1ed0ea<<0x10|_0x3a61a2<<0x8|_0x3011e1,_0x5ec6ff=0x0;_0x5ec6ff<0x4&&_0x5798d9+_0x5ec6ff*0.75<_0x2adab6;_0x5ec6ff++)_0x3a97d1['push'](_0x2f91b9[_0x391a35(0x222)](_0xc89fa4>>>0x6*(0x3-_0x5ec6ff)&0x3f));var _0x41979b=_0x2f91b9[_0x391a35(0x222)](0x40);if(_0x41979b){for(;_0x3a97d1[_0x391a35(0x24e)]%0x4;)_0x3a97d1['push'](_0x41979b);}return _0x3a97d1[_0x391a35(0x280)]('');},'parse':function(_0x5ea731){var _0x19754d=_0x4237e8,_0x34564a=_0x5ea731[_0x19754d(0x24e)],_0x4f2949=this[_0x19754d(0x457)],_0x293adf=this[_0x19754d(0x4a9)];if(!_0x293adf){_0x293adf=this[_0x19754d(0x4a9)]=[];for(var _0x4f24e2=0x0;_0x4f24e2<_0x4f2949['length'];_0x4f24e2++)_0x293adf[_0x4f2949[_0x19754d(0x1f1)](_0x4f24e2)]=_0x4f24e2;}var _0x295d3c=_0x4f2949[_0x19754d(0x222)](0x40);if(_0x295d3c){var _0x434aec=_0x5ea731[_0x19754d(0x443)](_0x295d3c);_0x434aec!==-0x1&&(_0x34564a=_0x434aec);}return _0x167838(_0x5ea731,_0x34564a,_0x293adf);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x167838(_0x591ac9,_0x56b74e,_0x31513c){var _0x556bf0=_0x4237e8;for(var _0x1acc07=[],_0x1c058a=0x0,_0x614206=0x0;_0x614206<_0x56b74e;_0x614206++)if(_0x614206%0x4){var _0x38d762=_0x31513c[_0x591ac9[_0x556bf0(0x1f1)](_0x614206-0x1)]<<_0x614206%0x4*0x2,_0x7e1049=_0x31513c[_0x591ac9[_0x556bf0(0x1f1)](_0x614206)]>>>0x6-_0x614206%0x4*0x2,_0x156b13=_0x38d762|_0x7e1049;_0x1acc07[_0x1c058a>>>0x2]|=_0x156b13<<0x18-_0x1c058a%0x4*0x8,_0x1c058a++;}return _0x2a0da2[_0x556bf0(0x410)](_0x1acc07,_0x1c058a);}}()),_0x34b3de['enc'][_0x177007(0x333)];}));}(We)),We[_0x2d13fe(0x1fd)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x519c8d=_0x108c00;return ei||(ei=0x1,function(_0x50eae9,_0x1fd309){(function(_0x566b14,_0x4d9684){var _0x91153b=_0x5020;_0x50eae9[_0x91153b(0x1fd)]=_0x4d9684(ne());}(Lr,function(_0x265a4c){return function(_0x1deb7e){var _0x25c1bb=_0x5020,_0x3ad2fe=_0x265a4c,_0x22e5ba=_0x3ad2fe[_0x25c1bb(0x38b)],_0x3630c7=_0x22e5ba[_0x25c1bb(0x245)],_0x39d143=_0x22e5ba[_0x25c1bb(0x413)],_0x19b3bd=_0x3ad2fe[_0x25c1bb(0x49d)],_0x29dbff=[];(function(){var _0x4af450=_0x25c1bb;for(var _0x4a94c5=0x0;_0x4a94c5<0x40;_0x4a94c5++)_0x29dbff[_0x4a94c5]=_0x1deb7e[_0x4af450(0x1b9)](_0x1deb7e[_0x4af450(0x29e)](_0x4a94c5+0x1))*0x100000000|0x0;}());var _0x51d71e=_0x19b3bd[_0x25c1bb(0x43e)]=_0x39d143['extend']({'_doReset':function(){var _0x32a879=_0x25c1bb;this[_0x32a879(0x276)]=new _0x3630c7[(_0x32a879(0x4aa))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x433171,_0x5582e6){var _0x4fe739=_0x25c1bb;for(var _0x4c1963=0x0;_0x4c1963<0x10;_0x4c1963++){var _0x35efe7=_0x5582e6+_0x4c1963,_0x46a170=_0x433171[_0x35efe7];_0x433171[_0x35efe7]=(_0x46a170<<0x8|_0x46a170>>>0x18)&0xff00ff|(_0x46a170<<0x18|_0x46a170>>>0x8)&0xff00ff00;}var _0x51f2a4=this[_0x4fe739(0x276)]['words'],_0x40ca86=_0x433171[_0x5582e6+0x0],_0x35fc92=_0x433171[_0x5582e6+0x1],_0x26f01c=_0x433171[_0x5582e6+0x2],_0x431af1=_0x433171[_0x5582e6+0x3],_0x1a18bf=_0x433171[_0x5582e6+0x4],_0x3c9a96=_0x433171[_0x5582e6+0x5],_0x18ffdd=_0x433171[_0x5582e6+0x6],_0x281742=_0x433171[_0x5582e6+0x7],_0x12fc29=_0x433171[_0x5582e6+0x8],_0x35c2a1=_0x433171[_0x5582e6+0x9],_0x2943a4=_0x433171[_0x5582e6+0xa],_0x5d35c0=_0x433171[_0x5582e6+0xb],_0x2f49fb=_0x433171[_0x5582e6+0xc],_0x195fcc=_0x433171[_0x5582e6+0xd],_0x2b2238=_0x433171[_0x5582e6+0xe],_0x20dd8c=_0x433171[_0x5582e6+0xf],_0x25a555=_0x51f2a4[0x0],_0x63fead=_0x51f2a4[0x1],_0x632c28=_0x51f2a4[0x2],_0x5476a0=_0x51f2a4[0x3];_0x25a555=_0x5c9160(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x40ca86,0x7,_0x29dbff[0x0]),_0x5476a0=_0x5c9160(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x35fc92,0xc,_0x29dbff[0x1]),_0x632c28=_0x5c9160(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x26f01c,0x11,_0x29dbff[0x2]),_0x63fead=_0x5c9160(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x431af1,0x16,_0x29dbff[0x3]),_0x25a555=_0x5c9160(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x1a18bf,0x7,_0x29dbff[0x4]),_0x5476a0=_0x5c9160(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x3c9a96,0xc,_0x29dbff[0x5]),_0x632c28=_0x5c9160(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x18ffdd,0x11,_0x29dbff[0x6]),_0x63fead=_0x5c9160(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x281742,0x16,_0x29dbff[0x7]),_0x25a555=_0x5c9160(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x12fc29,0x7,_0x29dbff[0x8]),_0x5476a0=_0x5c9160(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x35c2a1,0xc,_0x29dbff[0x9]),_0x632c28=_0x5c9160(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x2943a4,0x11,_0x29dbff[0xa]),_0x63fead=_0x5c9160(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x5d35c0,0x16,_0x29dbff[0xb]),_0x25a555=_0x5c9160(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x2f49fb,0x7,_0x29dbff[0xc]),_0x5476a0=_0x5c9160(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x195fcc,0xc,_0x29dbff[0xd]),_0x632c28=_0x5c9160(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x2b2238,0x11,_0x29dbff[0xe]),_0x63fead=_0x5c9160(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x20dd8c,0x16,_0x29dbff[0xf]),_0x25a555=_0x462785(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x35fc92,0x5,_0x29dbff[0x10]),_0x5476a0=_0x462785(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x18ffdd,0x9,_0x29dbff[0x11]),_0x632c28=_0x462785(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x5d35c0,0xe,_0x29dbff[0x12]),_0x63fead=_0x462785(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x40ca86,0x14,_0x29dbff[0x13]),_0x25a555=_0x462785(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x3c9a96,0x5,_0x29dbff[0x14]),_0x5476a0=_0x462785(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x2943a4,0x9,_0x29dbff[0x15]),_0x632c28=_0x462785(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x20dd8c,0xe,_0x29dbff[0x16]),_0x63fead=_0x462785(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x1a18bf,0x14,_0x29dbff[0x17]),_0x25a555=_0x462785(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x35c2a1,0x5,_0x29dbff[0x18]),_0x5476a0=_0x462785(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x2b2238,0x9,_0x29dbff[0x19]),_0x632c28=_0x462785(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x431af1,0xe,_0x29dbff[0x1a]),_0x63fead=_0x462785(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x12fc29,0x14,_0x29dbff[0x1b]),_0x25a555=_0x462785(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x195fcc,0x5,_0x29dbff[0x1c]),_0x5476a0=_0x462785(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x26f01c,0x9,_0x29dbff[0x1d]),_0x632c28=_0x462785(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x281742,0xe,_0x29dbff[0x1e]),_0x63fead=_0x462785(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x2f49fb,0x14,_0x29dbff[0x1f]),_0x25a555=_0x207943(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x3c9a96,0x4,_0x29dbff[0x20]),_0x5476a0=_0x207943(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x12fc29,0xb,_0x29dbff[0x21]),_0x632c28=_0x207943(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x5d35c0,0x10,_0x29dbff[0x22]),_0x63fead=_0x207943(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x2b2238,0x17,_0x29dbff[0x23]),_0x25a555=_0x207943(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x35fc92,0x4,_0x29dbff[0x24]),_0x5476a0=_0x207943(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x1a18bf,0xb,_0x29dbff[0x25]),_0x632c28=_0x207943(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x281742,0x10,_0x29dbff[0x26]),_0x63fead=_0x207943(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x2943a4,0x17,_0x29dbff[0x27]),_0x25a555=_0x207943(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x195fcc,0x4,_0x29dbff[0x28]),_0x5476a0=_0x207943(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x40ca86,0xb,_0x29dbff[0x29]),_0x632c28=_0x207943(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x431af1,0x10,_0x29dbff[0x2a]),_0x63fead=_0x207943(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x18ffdd,0x17,_0x29dbff[0x2b]),_0x25a555=_0x207943(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x35c2a1,0x4,_0x29dbff[0x2c]),_0x5476a0=_0x207943(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x2f49fb,0xb,_0x29dbff[0x2d]),_0x632c28=_0x207943(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x20dd8c,0x10,_0x29dbff[0x2e]),_0x63fead=_0x207943(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x26f01c,0x17,_0x29dbff[0x2f]),_0x25a555=_0x5179cd(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x40ca86,0x6,_0x29dbff[0x30]),_0x5476a0=_0x5179cd(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x281742,0xa,_0x29dbff[0x31]),_0x632c28=_0x5179cd(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x2b2238,0xf,_0x29dbff[0x32]),_0x63fead=_0x5179cd(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x3c9a96,0x15,_0x29dbff[0x33]),_0x25a555=_0x5179cd(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x2f49fb,0x6,_0x29dbff[0x34]),_0x5476a0=_0x5179cd(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x431af1,0xa,_0x29dbff[0x35]),_0x632c28=_0x5179cd(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x2943a4,0xf,_0x29dbff[0x36]),_0x63fead=_0x5179cd(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x35fc92,0x15,_0x29dbff[0x37]),_0x25a555=_0x5179cd(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x12fc29,0x6,_0x29dbff[0x38]),_0x5476a0=_0x5179cd(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x20dd8c,0xa,_0x29dbff[0x39]),_0x632c28=_0x5179cd(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x18ffdd,0xf,_0x29dbff[0x3a]),_0x63fead=_0x5179cd(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x195fcc,0x15,_0x29dbff[0x3b]),_0x25a555=_0x5179cd(_0x25a555,_0x63fead,_0x632c28,_0x5476a0,_0x1a18bf,0x6,_0x29dbff[0x3c]),_0x5476a0=_0x5179cd(_0x5476a0,_0x25a555,_0x63fead,_0x632c28,_0x5d35c0,0xa,_0x29dbff[0x3d]),_0x632c28=_0x5179cd(_0x632c28,_0x5476a0,_0x25a555,_0x63fead,_0x26f01c,0xf,_0x29dbff[0x3e]),_0x63fead=_0x5179cd(_0x63fead,_0x632c28,_0x5476a0,_0x25a555,_0x35c2a1,0x15,_0x29dbff[0x3f]),_0x51f2a4[0x0]=_0x51f2a4[0x0]+_0x25a555|0x0,_0x51f2a4[0x1]=_0x51f2a4[0x1]+_0x63fead|0x0,_0x51f2a4[0x2]=_0x51f2a4[0x2]+_0x632c28|0x0,_0x51f2a4[0x3]=_0x51f2a4[0x3]+_0x5476a0|0x0;},'_doFinalize':function(){var _0x1917f3=_0x25c1bb,_0x4bf705=this[_0x1917f3(0x44d)],_0x717624=_0x4bf705[_0x1917f3(0x428)],_0xf89c6f=this[_0x1917f3(0x2c6)]*0x8,_0x24a75d=_0x4bf705[_0x1917f3(0x310)]*0x8;_0x717624[_0x24a75d>>>0x5]|=0x80<<0x18-_0x24a75d%0x20;var _0xda11a9=_0x1deb7e[_0x1917f3(0x33a)](_0xf89c6f/0x100000000),_0x404995=_0xf89c6f;_0x717624[(_0x24a75d+0x40>>>0x9<<0x4)+0xf]=(_0xda11a9<<0x8|_0xda11a9>>>0x18)&0xff00ff|(_0xda11a9<<0x18|_0xda11a9>>>0x8)&0xff00ff00,_0x717624[(_0x24a75d+0x40>>>0x9<<0x4)+0xe]=(_0x404995<<0x8|_0x404995>>>0x18)&0xff00ff|(_0x404995<<0x18|_0x404995>>>0x8)&0xff00ff00,_0x4bf705['sigBytes']=(_0x717624[_0x1917f3(0x24e)]+0x1)*0x4,this[_0x1917f3(0x1b7)]();for(var _0x5ecf1f=this[_0x1917f3(0x276)],_0x1b4002=_0x5ecf1f['words'],_0x494783=0x0;_0x494783<0x4;_0x494783++){var _0x24c2b1=_0x1b4002[_0x494783];_0x1b4002[_0x494783]=(_0x24c2b1<<0x8|_0x24c2b1>>>0x18)&0xff00ff|(_0x24c2b1<<0x18|_0x24c2b1>>>0x8)&0xff00ff00;}return _0x5ecf1f;},'clone':function(){var _0xab923b=_0x25c1bb,_0x465974=_0x39d143[_0xab923b(0x1f6)][_0xab923b(0x314)](this);return _0x465974[_0xab923b(0x276)]=this[_0xab923b(0x276)][_0xab923b(0x1f6)](),_0x465974;}});function _0x5c9160(_0x351d53,_0x173623,_0x1a4a23,_0x5bca5b,_0x214ec7,_0x3c70c4,_0x58d10f){var _0x46cb9f=_0x351d53+(_0x173623&_0x1a4a23|~_0x173623&_0x5bca5b)+_0x214ec7+_0x58d10f;return(_0x46cb9f<<_0x3c70c4|_0x46cb9f>>>0x20-_0x3c70c4)+_0x173623;}function _0x462785(_0x43510a,_0xfd354a,_0x4b1da5,_0x287a48,_0x5dd981,_0x8d75ca,_0x1298d7){var _0xd97523=_0x43510a+(_0xfd354a&_0x287a48|_0x4b1da5&~_0x287a48)+_0x5dd981+_0x1298d7;return(_0xd97523<<_0x8d75ca|_0xd97523>>>0x20-_0x8d75ca)+_0xfd354a;}function _0x207943(_0x2577bb,_0x42f59e,_0x3daec3,_0x5a065e,_0x1cdbc1,_0x58276b,_0x1c7965){var _0x2b7a9c=_0x2577bb+(_0x42f59e^_0x3daec3^_0x5a065e)+_0x1cdbc1+_0x1c7965;return(_0x2b7a9c<<_0x58276b|_0x2b7a9c>>>0x20-_0x58276b)+_0x42f59e;}function _0x5179cd(_0x567d8b,_0x4129e0,_0x2f903a,_0x5a9bf7,_0x1541a5,_0x38852d,_0x4bc834){var _0x4a58c7=_0x567d8b+(_0x2f903a^(_0x4129e0|~_0x5a9bf7))+_0x1541a5+_0x4bc834;return(_0x4a58c7<<_0x38852d|_0x4a58c7>>>0x20-_0x38852d)+_0x4129e0;}_0x3ad2fe['MD5']=_0x39d143[_0x25c1bb(0x34b)](_0x51d71e),_0x3ad2fe[_0x25c1bb(0x35a)]=_0x39d143['_createHmacHelper'](_0x51d71e);}(Math),_0x265a4c['MD5'];}));}(Ke)),Ke[_0x519c8d(0x1fd)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x2010c9=_0x108c00;return ti||(ti=0x1,function(_0x420ae7,_0x513af0){(function(_0x5bd25e,_0x4fbcfc){var _0x193421=_0x5020;_0x420ae7[_0x193421(0x1fd)]=_0x4fbcfc(ne());}($r,function(_0xcf2ac8){var _0x4973a3=_0x5020;return(function(){var _0x5b13d7=_0x5020,_0x3b2d18=_0xcf2ac8,_0x45663f=_0x3b2d18['lib'],_0x5b456d=_0x45663f[_0x5b13d7(0x245)],_0x32f2be=_0x45663f[_0x5b13d7(0x413)],_0x5664a6=_0x3b2d18[_0x5b13d7(0x49d)],_0x45d5dc=[],_0x2d9b40=_0x5664a6['SHA1']=_0x32f2be[_0x5b13d7(0x305)]({'_doReset':function(){var _0x5a29c1=_0x5b13d7;this['_hash']=new _0x5b456d[(_0x5a29c1(0x4aa))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x23f5b6,_0x13568f){var _0xa29733=_0x5b13d7;for(var _0x328cd5=this[_0xa29733(0x276)][_0xa29733(0x428)],_0xecf8dd=_0x328cd5[0x0],_0x2b3f68=_0x328cd5[0x1],_0x6865a6=_0x328cd5[0x2],_0x17e7da=_0x328cd5[0x3],_0x2d4fc3=_0x328cd5[0x4],_0x564ffd=0x0;_0x564ffd<0x50;_0x564ffd++){if(_0x564ffd<0x10)_0x45d5dc[_0x564ffd]=_0x23f5b6[_0x13568f+_0x564ffd]|0x0;else{var _0x1bd329=_0x45d5dc[_0x564ffd-0x3]^_0x45d5dc[_0x564ffd-0x8]^_0x45d5dc[_0x564ffd-0xe]^_0x45d5dc[_0x564ffd-0x10];_0x45d5dc[_0x564ffd]=_0x1bd329<<0x1|_0x1bd329>>>0x1f;}var _0x88d214=(_0xecf8dd<<0x5|_0xecf8dd>>>0x1b)+_0x2d4fc3+_0x45d5dc[_0x564ffd];_0x564ffd<0x14?_0x88d214+=(_0x2b3f68&_0x6865a6|~_0x2b3f68&_0x17e7da)+0x5a827999:_0x564ffd<0x28?_0x88d214+=(_0x2b3f68^_0x6865a6^_0x17e7da)+0x6ed9eba1:_0x564ffd<0x3c?_0x88d214+=(_0x2b3f68&_0x6865a6|_0x2b3f68&_0x17e7da|_0x6865a6&_0x17e7da)-0x70e44324:_0x88d214+=(_0x2b3f68^_0x6865a6^_0x17e7da)-0x359d3e2a,_0x2d4fc3=_0x17e7da,_0x17e7da=_0x6865a6,_0x6865a6=_0x2b3f68<<0x1e|_0x2b3f68>>>0x2,_0x2b3f68=_0xecf8dd,_0xecf8dd=_0x88d214;}_0x328cd5[0x0]=_0x328cd5[0x0]+_0xecf8dd|0x0,_0x328cd5[0x1]=_0x328cd5[0x1]+_0x2b3f68|0x0,_0x328cd5[0x2]=_0x328cd5[0x2]+_0x6865a6|0x0,_0x328cd5[0x3]=_0x328cd5[0x3]+_0x17e7da|0x0,_0x328cd5[0x4]=_0x328cd5[0x4]+_0x2d4fc3|0x0;},'_doFinalize':function(){var _0xe42479=_0x5b13d7,_0x2c03aa=this[_0xe42479(0x44d)],_0x4adf31=_0x2c03aa['words'],_0x43d837=this[_0xe42479(0x2c6)]*0x8,_0xbcf735=_0x2c03aa[_0xe42479(0x310)]*0x8;return _0x4adf31[_0xbcf735>>>0x5]|=0x80<<0x18-_0xbcf735%0x20,_0x4adf31[(_0xbcf735+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x43d837/0x100000000),_0x4adf31[(_0xbcf735+0x40>>>0x9<<0x4)+0xf]=_0x43d837,_0x2c03aa[_0xe42479(0x310)]=_0x4adf31[_0xe42479(0x24e)]*0x4,this[_0xe42479(0x1b7)](),this[_0xe42479(0x276)];},'clone':function(){var _0x84f8f2=_0x5b13d7,_0x31c5e8=_0x32f2be[_0x84f8f2(0x1f6)][_0x84f8f2(0x314)](this);return _0x31c5e8[_0x84f8f2(0x276)]=this[_0x84f8f2(0x276)][_0x84f8f2(0x1f6)](),_0x31c5e8;}});_0x3b2d18[_0x5b13d7(0x487)]=_0x32f2be[_0x5b13d7(0x34b)](_0x2d9b40),_0x3b2d18[_0x5b13d7(0x412)]=_0x32f2be[_0x5b13d7(0x2be)](_0x2d9b40);}()),_0xcf2ac8[_0x4973a3(0x487)];}));}(qe)),qe[_0x2010c9(0x1fd)];}var ze={'exports':{}},kr=ze[_0x108c00(0x1fd)],ii;function jr(){var _0x4f7f03=_0x108c00;return ii||(ii=0x1,function(_0x87d4f9,_0xf17ff4){(function(_0x41a57d,_0x308dce){var _0x4c66a8=_0x5020;_0x87d4f9[_0x4c66a8(0x1fd)]=_0x308dce(ne());}(kr,function(_0x42c8e0){(function(){var _0x3927e6=_0x5020,_0x5f0838=_0x42c8e0,_0x273e80=_0x5f0838['lib'],_0x54abbd=_0x273e80['Base'],_0x4f4028=_0x5f0838[_0x3927e6(0x29b)],_0x433948=_0x4f4028['Utf8'],_0x160941=_0x5f0838['algo'];_0x160941[_0x3927e6(0x3a5)]=_0x54abbd[_0x3927e6(0x305)]({'init':function(_0x569550,_0x5f4ee7){var _0xee13a2=_0x3927e6;_0x569550=this[_0xee13a2(0x246)]=new _0x569550[(_0xee13a2(0x4aa))](),typeof _0x5f4ee7==_0xee13a2(0x20e)&&(_0x5f4ee7=_0x433948['parse'](_0x5f4ee7));var _0x4498c3=_0x569550['blockSize'],_0x39f989=_0x4498c3*0x4;_0x5f4ee7[_0xee13a2(0x310)]>_0x39f989&&(_0x5f4ee7=_0x569550[_0xee13a2(0x45b)](_0x5f4ee7)),_0x5f4ee7['clamp']();for(var _0x16e7ba=this[_0xee13a2(0x48f)]=_0x5f4ee7[_0xee13a2(0x1f6)](),_0x4b9e46=this[_0xee13a2(0x237)]=_0x5f4ee7[_0xee13a2(0x1f6)](),_0x2a74ca=_0x16e7ba[_0xee13a2(0x428)],_0x42c90d=_0x4b9e46[_0xee13a2(0x428)],_0x35b6dc=0x0;_0x35b6dc<_0x4498c3;_0x35b6dc++)_0x2a74ca[_0x35b6dc]^=0x5c5c5c5c,_0x42c90d[_0x35b6dc]^=0x36363636;_0x16e7ba['sigBytes']=_0x4b9e46[_0xee13a2(0x310)]=_0x39f989,this[_0xee13a2(0x2a6)]();},'reset':function(){var _0x2595b4=_0x3927e6,_0x12bb0a=this[_0x2595b4(0x246)];_0x12bb0a[_0x2595b4(0x2a6)](),_0x12bb0a[_0x2595b4(0x2a7)](this['_iKey']);},'update':function(_0xb53674){var _0x409ccc=_0x3927e6;return this[_0x409ccc(0x246)]['update'](_0xb53674),this;},'finalize':function(_0x5ac45f){var _0x315686=_0x3927e6,_0x5a1aa5=this[_0x315686(0x246)],_0x788227=_0x5a1aa5[_0x315686(0x45b)](_0x5ac45f);_0x5a1aa5[_0x315686(0x2a6)]();var _0x3e8341=_0x5a1aa5[_0x315686(0x45b)](this[_0x315686(0x48f)][_0x315686(0x1f6)]()[_0x315686(0x20d)](_0x788227));return _0x3e8341;}});}());}));}(ze)),ze[_0x4f7f03(0x1fd)];}var Br=Ye[_0x108c00(0x1fd)],ni;function Ui(){return ni||(ni=0x1,function(_0x43fb56,_0x32d219){(function(_0x17d5cd,_0x32b7a0,_0x4c415f){_0x43fb56['exports']=_0x32b7a0(ne(),Hr(),jr());}(Br,function(_0x1a037f){return(function(){var _0x114d0c=_0x5020,_0x137a93=_0x1a037f,_0xc8fd1e=_0x137a93['lib'],_0x36a9c4=_0xc8fd1e[_0x114d0c(0x23e)],_0x326ffa=_0xc8fd1e[_0x114d0c(0x245)],_0x5731ff=_0x137a93['algo'],_0x19bf8c=_0x5731ff[_0x114d0c(0x43e)],_0x30da96=_0x5731ff[_0x114d0c(0x28a)]=_0x36a9c4[_0x114d0c(0x305)]({'cfg':_0x36a9c4['extend']({'keySize':0x80/0x20,'hasher':_0x19bf8c,'iterations':0x1}),'init':function(_0x3ff44a){var _0x2fd2c2=_0x114d0c;this[_0x2fd2c2(0x371)]=this[_0x2fd2c2(0x371)]['extend'](_0x3ff44a);},'compute':function(_0x435ca9,_0x55c356){var _0x540b69=_0x114d0c;for(var _0x5bcf11,_0x39a3c6=this[_0x540b69(0x371)],_0x2c8cc9=_0x39a3c6[_0x540b69(0x1ed)][_0x540b69(0x410)](),_0x1afd8f=_0x326ffa[_0x540b69(0x410)](),_0xf0e300=_0x1afd8f[_0x540b69(0x428)],_0x1bd4ab=_0x39a3c6[_0x540b69(0x3af)],_0x267760=_0x39a3c6[_0x540b69(0x297)];_0xf0e300[_0x540b69(0x24e)]<_0x1bd4ab;){_0x5bcf11&&_0x2c8cc9[_0x540b69(0x2a7)](_0x5bcf11),_0x5bcf11=_0x2c8cc9['update'](_0x435ca9)[_0x540b69(0x45b)](_0x55c356),_0x2c8cc9[_0x540b69(0x2a6)]();for(var _0x709d2=0x1;_0x709d2<_0x267760;_0x709d2++)_0x5bcf11=_0x2c8cc9[_0x540b69(0x45b)](_0x5bcf11),_0x2c8cc9[_0x540b69(0x2a6)]();_0x1afd8f[_0x540b69(0x20d)](_0x5bcf11);}return _0x1afd8f[_0x540b69(0x310)]=_0x1bd4ab*0x4,_0x1afd8f;}});_0x137a93[_0x114d0c(0x28a)]=function(_0x3c0b95,_0x108a91,_0x3d6699){var _0x552e0f=_0x114d0c;return _0x30da96[_0x552e0f(0x410)](_0x3d6699)[_0x552e0f(0x1db)](_0x3c0b95,_0x108a91);};}()),_0x1a037f['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x52169c=_0x108c00;return ri||(ri=0x1,function(_0x52fb41,_0x16395d){(function(_0x32c251,_0x2de605,_0x35adf1){var _0x344b0c=_0x5020;_0x52fb41[_0x344b0c(0x1fd)]=_0x2de605(ne(),Ui());}(Fr,function(_0x99a83e){var _0x48a9b3=_0x5020;_0x99a83e[_0x48a9b3(0x38b)][_0x48a9b3(0x1da)]||function(_0x216588){var _0x1e405a=_0x48a9b3,_0x48760c=_0x99a83e,_0x1935d0=_0x48760c[_0x1e405a(0x38b)],_0x1ed99f=_0x1935d0[_0x1e405a(0x23e)],_0x2d9868=_0x1935d0['WordArray'],_0x206e71=_0x1935d0[_0x1e405a(0x430)],_0x50901e=_0x48760c['enc'];_0x50901e[_0x1e405a(0x46a)];var _0x7e5a7f=_0x50901e[_0x1e405a(0x333)],_0xd1fbd7=_0x48760c[_0x1e405a(0x49d)],_0x5b1d5a=_0xd1fbd7[_0x1e405a(0x28a)],_0x2484f8=_0x1935d0['Cipher']=_0x206e71[_0x1e405a(0x305)]({'cfg':_0x1ed99f[_0x1e405a(0x305)](),'createEncryptor':function(_0x590faa,_0x1cf95c){var _0x57c255=_0x1e405a;return this[_0x57c255(0x410)](this[_0x57c255(0x242)],_0x590faa,_0x1cf95c);},'createDecryptor':function(_0x32226b,_0x557f64){var _0x7da2ea=_0x1e405a;return this[_0x7da2ea(0x410)](this[_0x7da2ea(0x1cd)],_0x32226b,_0x557f64);},'init':function(_0x5a2f51,_0x265957,_0x354b53){var _0x1dae90=_0x1e405a;this[_0x1dae90(0x371)]=this['cfg'][_0x1dae90(0x305)](_0x354b53),this['_xformMode']=_0x5a2f51,this['_key']=_0x265957,this[_0x1dae90(0x2a6)]();},'reset':function(){var _0x47f609=_0x1e405a;_0x206e71[_0x47f609(0x2a6)][_0x47f609(0x314)](this),this['_doReset']();},'process':function(_0x25c026){var _0x39a425=_0x1e405a;return this[_0x39a425(0x27e)](_0x25c026),this['_process']();},'finalize':function(_0x219a07){var _0x4a6f6b=_0x1e405a;_0x219a07&&this[_0x4a6f6b(0x27e)](_0x219a07);var _0x4b1cd8=this['_doFinalize']();return _0x4b1cd8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b5b74(_0x433988){return typeof _0x433988=='string'?_0x4f4be7:_0x3c2f7c;}return function(_0x2dbceb){return{'encrypt':function(_0x1d26d5,_0x1eaf11,_0x1c6dff){var _0x453cb3=_0x5020;return _0x1b5b74(_0x1eaf11)[_0x453cb3(0x41e)](_0x2dbceb,_0x1d26d5,_0x1eaf11,_0x1c6dff);},'decrypt':function(_0x402365,_0x252828,_0x369c07){var _0x44adfe=_0x5020;return _0x1b5b74(_0x252828)[_0x44adfe(0x229)](_0x2dbceb,_0x402365,_0x252828,_0x369c07);}};};}())});_0x1935d0['StreamCipher']=_0x2484f8[_0x1e405a(0x305)]({'_doFinalize':function(){var _0x31c803=_0x1e405a,_0x35ab04=this[_0x31c803(0x1b7)](!0x0);return _0x35ab04;},'blockSize':0x1});var _0x403f53=_0x48760c[_0x1e405a(0x415)]={},_0xff3f07=_0x1935d0[_0x1e405a(0x48d)]=_0x1ed99f[_0x1e405a(0x305)]({'createEncryptor':function(_0x3d9c3e,_0x5c5220){var _0x188768=_0x1e405a;return this[_0x188768(0x3b4)][_0x188768(0x410)](_0x3d9c3e,_0x5c5220);},'createDecryptor':function(_0x495fbc,_0x36322c){var _0x5094d7=_0x1e405a;return this[_0x5094d7(0x268)][_0x5094d7(0x410)](_0x495fbc,_0x36322c);},'init':function(_0x37f2c3,_0x69bd3c){var _0x28e8f5=_0x1e405a;this[_0x28e8f5(0x426)]=_0x37f2c3,this['_iv']=_0x69bd3c;}}),_0x5bef54=_0x403f53['CBC']=(function(){var _0x137a89=_0x1e405a,_0x227b2c=_0xff3f07[_0x137a89(0x305)]();_0x227b2c['Encryptor']=_0x227b2c[_0x137a89(0x305)]({'processBlock':function(_0x1ca5c4,_0x50d307){var _0x3d3468=_0x137a89,_0x3b9b70=this['_cipher'],_0x46938c=_0x3b9b70[_0x3d3468(0x215)];_0x24e39f['call'](this,_0x1ca5c4,_0x50d307,_0x46938c),_0x3b9b70[_0x3d3468(0x24b)](_0x1ca5c4,_0x50d307),this['_prevBlock']=_0x1ca5c4[_0x3d3468(0x396)](_0x50d307,_0x50d307+_0x46938c);}}),_0x227b2c[_0x137a89(0x268)]=_0x227b2c['extend']({'processBlock':function(_0x37bb5c,_0x3d3cac){var _0x54c69b=_0x137a89,_0xb34e8b=this[_0x54c69b(0x426)],_0x147889=_0xb34e8b[_0x54c69b(0x215)],_0x59f38b=_0x37bb5c[_0x54c69b(0x396)](_0x3d3cac,_0x3d3cac+_0x147889);_0xb34e8b[_0x54c69b(0x474)](_0x37bb5c,_0x3d3cac),_0x24e39f[_0x54c69b(0x314)](this,_0x37bb5c,_0x3d3cac,_0x147889),this[_0x54c69b(0x388)]=_0x59f38b;}});function _0x24e39f(_0x2a8215,_0x14cb55,_0x39c2ff){var _0x348ee7=_0x137a89,_0x4b7306,_0x170516=this[_0x348ee7(0x214)];_0x170516?(_0x4b7306=_0x170516,this[_0x348ee7(0x214)]=_0x216588):_0x4b7306=this[_0x348ee7(0x388)];for(var _0x2e78d6=0x0;_0x2e78d6<_0x39c2ff;_0x2e78d6++)_0x2a8215[_0x14cb55+_0x2e78d6]^=_0x4b7306[_0x2e78d6];}return _0x227b2c;}()),_0x7b4c23=_0x48760c[_0x1e405a(0x210)]={},_0x4b4d0e=_0x7b4c23[_0x1e405a(0x3a8)]={'pad':function(_0x2dd03a,_0x13b085){var _0x56b0b8=_0x1e405a;for(var _0x3e5fda=_0x13b085*0x4,_0x1c5123=_0x3e5fda-_0x2dd03a['sigBytes']%_0x3e5fda,_0x54851e=_0x1c5123<<0x18|_0x1c5123<<0x10|_0x1c5123<<0x8|_0x1c5123,_0x5a19b5=[],_0x5b3aa3=0x0;_0x5b3aa3<_0x1c5123;_0x5b3aa3+=0x4)_0x5a19b5[_0x56b0b8(0x3d1)](_0x54851e);var _0x110bf2=_0x2d9868['create'](_0x5a19b5,_0x1c5123);_0x2dd03a[_0x56b0b8(0x20d)](_0x110bf2);},'unpad':function(_0x38fb3f){var _0x14f495=_0x1e405a,_0x166e2d=_0x38fb3f[_0x14f495(0x428)][_0x38fb3f[_0x14f495(0x310)]-0x1>>>0x2]&0xff;_0x38fb3f[_0x14f495(0x310)]-=_0x166e2d;}};_0x1935d0[_0x1e405a(0x22f)]=_0x2484f8[_0x1e405a(0x305)]({'cfg':_0x2484f8[_0x1e405a(0x371)][_0x1e405a(0x305)]({'mode':_0x5bef54,'padding':_0x4b4d0e}),'reset':function(){var _0xaa8e6=_0x1e405a,_0x13a99e;_0x2484f8[_0xaa8e6(0x2a6)][_0xaa8e6(0x314)](this);var _0x500cad=this[_0xaa8e6(0x371)],_0xab163a=_0x500cad['iv'],_0x3e53e5=_0x500cad[_0xaa8e6(0x415)];this['_xformMode']==this[_0xaa8e6(0x242)]?_0x13a99e=_0x3e53e5['createEncryptor']:(_0x13a99e=_0x3e53e5[_0xaa8e6(0x230)],this[_0xaa8e6(0x2e3)]=0x1),this['_mode']&&this[_0xaa8e6(0x391)][_0xaa8e6(0x2b7)]==_0x13a99e?this[_0xaa8e6(0x391)]['init'](this,_0xab163a&&_0xab163a[_0xaa8e6(0x428)]):(this[_0xaa8e6(0x391)]=_0x13a99e[_0xaa8e6(0x314)](_0x3e53e5,this,_0xab163a&&_0xab163a[_0xaa8e6(0x428)]),this[_0xaa8e6(0x391)][_0xaa8e6(0x2b7)]=_0x13a99e);},'_doProcessBlock':function(_0x45d2e4,_0x82a3e6){var _0x263af5=_0x1e405a;this[_0x263af5(0x391)][_0x263af5(0x357)](_0x45d2e4,_0x82a3e6);},'_doFinalize':function(){var _0x3c32b8=_0x1e405a,_0x37d219,_0x4d5952=this[_0x3c32b8(0x371)]['padding'];return this[_0x3c32b8(0x4b4)]==this[_0x3c32b8(0x242)]?(_0x4d5952[_0x3c32b8(0x210)](this[_0x3c32b8(0x44d)],this[_0x3c32b8(0x215)]),_0x37d219=this['_process'](!0x0)):(_0x37d219=this[_0x3c32b8(0x1b7)](!0x0),_0x4d5952[_0x3c32b8(0x3bd)](_0x37d219)),_0x37d219;},'blockSize':0x80/0x20});var _0x2585d0=_0x1935d0[_0x1e405a(0x3b2)]=_0x1ed99f['extend']({'init':function(_0x12bfad){var _0x1ca5e1=_0x1e405a;this[_0x1ca5e1(0x289)](_0x12bfad);},'toString':function(_0x410ed3){var _0x104e13=_0x1e405a;return(_0x410ed3||this[_0x104e13(0x397)])[_0x104e13(0x2f4)](this);}}),_0x2d7872=_0x48760c['format']={},_0x10fc8=_0x2d7872[_0x1e405a(0x42d)]={'stringify':function(_0x1ed018){var _0xc814c5=_0x1e405a,_0xf76f48,_0x26ed1d=_0x1ed018[_0xc814c5(0x4b1)],_0x17dc55=_0x1ed018[_0xc814c5(0x1ba)];return _0x17dc55?_0xf76f48=_0x2d9868['create']([0x53616c74,0x65645f5f])[_0xc814c5(0x20d)](_0x17dc55)[_0xc814c5(0x20d)](_0x26ed1d):_0xf76f48=_0x26ed1d,_0xf76f48['toString'](_0x7e5a7f);},'parse':function(_0x13d021){var _0x2869d3=_0x1e405a,_0x59b7c9,_0x188912=_0x7e5a7f[_0x2869d3(0x302)](_0x13d021),_0x342da2=_0x188912[_0x2869d3(0x428)];return _0x342da2[0x0]==0x53616c74&&_0x342da2[0x1]==0x65645f5f&&(_0x59b7c9=_0x2d9868['create'](_0x342da2['slice'](0x2,0x4)),_0x342da2['splice'](0x0,0x4),_0x188912[_0x2869d3(0x310)]-=0x10),_0x2585d0[_0x2869d3(0x410)]({'ciphertext':_0x188912,'salt':_0x59b7c9});}},_0x3c2f7c=_0x1935d0[_0x1e405a(0x227)]=_0x1ed99f[_0x1e405a(0x305)]({'cfg':_0x1ed99f['extend']({'format':_0x10fc8}),'encrypt':function(_0x46508e,_0x6d7a14,_0x5d3e99,_0x5e4f6f){var _0x25a9ba=_0x1e405a;_0x5e4f6f=this[_0x25a9ba(0x371)][_0x25a9ba(0x305)](_0x5e4f6f);var _0x33d423=_0x46508e[_0x25a9ba(0x244)](_0x5d3e99,_0x5e4f6f),_0x2fd0b9=_0x33d423[_0x25a9ba(0x45b)](_0x6d7a14),_0x51002d=_0x33d423[_0x25a9ba(0x371)];return _0x2585d0[_0x25a9ba(0x410)]({'ciphertext':_0x2fd0b9,'key':_0x5d3e99,'iv':_0x51002d['iv'],'algorithm':_0x46508e,'mode':_0x51002d[_0x25a9ba(0x415)],'padding':_0x51002d['padding'],'blockSize':_0x46508e['blockSize'],'formatter':_0x5e4f6f[_0x25a9ba(0x1e1)]});},'decrypt':function(_0x31b60d,_0x58d130,_0x52c807,_0x2b7fb1){var _0x325fe1=_0x1e405a;_0x2b7fb1=this[_0x325fe1(0x371)][_0x325fe1(0x305)](_0x2b7fb1),_0x58d130=this[_0x325fe1(0x46b)](_0x58d130,_0x2b7fb1[_0x325fe1(0x1e1)]);var _0x1fdffe=_0x31b60d[_0x325fe1(0x230)](_0x52c807,_0x2b7fb1)[_0x325fe1(0x45b)](_0x58d130['ciphertext']);return _0x1fdffe;},'_parse':function(_0x2f4bf9,_0xf7a0f0){var _0x13b94a=_0x1e405a;return typeof _0x2f4bf9==_0x13b94a(0x20e)?_0xf7a0f0[_0x13b94a(0x302)](_0x2f4bf9,this):_0x2f4bf9;}}),_0x43f337=_0x48760c[_0x1e405a(0x366)]={},_0x2397ab=_0x43f337[_0x1e405a(0x42d)]={'execute':function(_0x95efae,_0x434bec,_0x536684,_0x27e72c,_0x19c1b1){var _0x3c3dc8=_0x1e405a;if(_0x27e72c||(_0x27e72c=_0x2d9868[_0x3c3dc8(0x22c)](0x40/0x8)),_0x19c1b1)var _0x26b691=_0x5b1d5a[_0x3c3dc8(0x410)]({'keySize':_0x434bec+_0x536684,'hasher':_0x19c1b1})['compute'](_0x95efae,_0x27e72c);else var _0x26b691=_0x5b1d5a[_0x3c3dc8(0x410)]({'keySize':_0x434bec+_0x536684})[_0x3c3dc8(0x1db)](_0x95efae,_0x27e72c);var _0x1d53e5=_0x2d9868[_0x3c3dc8(0x410)](_0x26b691[_0x3c3dc8(0x428)][_0x3c3dc8(0x396)](_0x434bec),_0x536684*0x4);return _0x26b691['sigBytes']=_0x434bec*0x4,_0x2585d0['create']({'key':_0x26b691,'iv':_0x1d53e5,'salt':_0x27e72c});}},_0x4f4be7=_0x1935d0[_0x1e405a(0x304)]=_0x3c2f7c['extend']({'cfg':_0x3c2f7c[_0x1e405a(0x371)][_0x1e405a(0x305)]({'kdf':_0x2397ab}),'encrypt':function(_0x2b80c6,_0x7b0237,_0x2f905e,_0x14c2e8){var _0x378097=_0x1e405a;_0x14c2e8=this[_0x378097(0x371)][_0x378097(0x305)](_0x14c2e8);var _0x329001=_0x14c2e8['kdf'][_0x378097(0x39d)](_0x2f905e,_0x2b80c6[_0x378097(0x3af)],_0x2b80c6[_0x378097(0x1f7)],_0x14c2e8['salt'],_0x14c2e8[_0x378097(0x1ed)]);_0x14c2e8['iv']=_0x329001['iv'];var _0x3ce3b6=_0x3c2f7c['encrypt'][_0x378097(0x314)](this,_0x2b80c6,_0x7b0237,_0x329001[_0x378097(0x3b7)],_0x14c2e8);return _0x3ce3b6[_0x378097(0x289)](_0x329001),_0x3ce3b6;},'decrypt':function(_0x1205f8,_0x2bf8bd,_0xbbd71a,_0x2356e0){var _0x3789f2=_0x1e405a;_0x2356e0=this[_0x3789f2(0x371)][_0x3789f2(0x305)](_0x2356e0),_0x2bf8bd=this[_0x3789f2(0x46b)](_0x2bf8bd,_0x2356e0[_0x3789f2(0x1e1)]);var _0x2d8dd7=_0x2356e0[_0x3789f2(0x366)][_0x3789f2(0x39d)](_0xbbd71a,_0x1205f8[_0x3789f2(0x3af)],_0x1205f8[_0x3789f2(0x1f7)],_0x2bf8bd[_0x3789f2(0x1ba)],_0x2356e0[_0x3789f2(0x1ed)]);_0x2356e0['iv']=_0x2d8dd7['iv'];var _0x83cf2b=_0x3c2f7c[_0x3789f2(0x229)]['call'](this,_0x1205f8,_0x2bf8bd,_0x2d8dd7[_0x3789f2(0x3b7)],_0x2356e0);return _0x83cf2b;}});}();}));}(Je)),Je[_0x52169c(0x1fd)];}var Vr=Ve[_0x108c00(0x1fd)],si;function Gr(){var _0x586e79=_0x108c00;return si||(si=0x1,function(_0x280927,_0x35a1ab){(function(_0x288a8e,_0x589696,_0xf86c4d){var _0x5cef2b=_0x5020;_0x280927[_0x5cef2b(0x1fd)]=_0x589696(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x284797){var _0x585054=_0x5020;return(function(){var _0xf8b669=_0x5020,_0x1ec117=_0x284797,_0x26c29f=_0x1ec117[_0xf8b669(0x38b)],_0xf2a99a=_0x26c29f[_0xf8b669(0x22f)],_0x1bf360=_0x1ec117[_0xf8b669(0x49d)],_0x296bf9=[],_0x135574=[],_0x4bf3e1=[],_0x4ded62=[],_0x1a0713=[],_0x3016d7=[],_0x3ebff8=[],_0x29d5de=[],_0x139c22=[],_0x538e87=[];(function(){for(var _0x383bdc=[],_0x22c10d=0x0;_0x22c10d<0x100;_0x22c10d++)_0x22c10d<0x80?_0x383bdc[_0x22c10d]=_0x22c10d<<0x1:_0x383bdc[_0x22c10d]=_0x22c10d<<0x1^0x11b;for(var _0x22fdc9=0x0,_0x42374c=0x0,_0x22c10d=0x0;_0x22c10d<0x100;_0x22c10d++){var _0x3b4777=_0x42374c^_0x42374c<<0x1^_0x42374c<<0x2^_0x42374c<<0x3^_0x42374c<<0x4;_0x3b4777=_0x3b4777>>>0x8^_0x3b4777&0xff^0x63,_0x296bf9[_0x22fdc9]=_0x3b4777,_0x135574[_0x3b4777]=_0x22fdc9;var _0x3bd6a6=_0x383bdc[_0x22fdc9],_0x3f91d6=_0x383bdc[_0x3bd6a6],_0x682cbe=_0x383bdc[_0x3f91d6],_0x3a3287=_0x383bdc[_0x3b4777]*0x101^_0x3b4777*0x1010100;_0x4bf3e1[_0x22fdc9]=_0x3a3287<<0x18|_0x3a3287>>>0x8,_0x4ded62[_0x22fdc9]=_0x3a3287<<0x10|_0x3a3287>>>0x10,_0x1a0713[_0x22fdc9]=_0x3a3287<<0x8|_0x3a3287>>>0x18,_0x3016d7[_0x22fdc9]=_0x3a3287;var _0x3a3287=_0x682cbe*0x1010101^_0x3f91d6*0x10001^_0x3bd6a6*0x101^_0x22fdc9*0x1010100;_0x3ebff8[_0x3b4777]=_0x3a3287<<0x18|_0x3a3287>>>0x8,_0x29d5de[_0x3b4777]=_0x3a3287<<0x10|_0x3a3287>>>0x10,_0x139c22[_0x3b4777]=_0x3a3287<<0x8|_0x3a3287>>>0x18,_0x538e87[_0x3b4777]=_0x3a3287,_0x22fdc9?(_0x22fdc9=_0x3bd6a6^_0x383bdc[_0x383bdc[_0x383bdc[_0x682cbe^_0x3bd6a6]]],_0x42374c^=_0x383bdc[_0x383bdc[_0x42374c]]):_0x22fdc9=_0x42374c=0x1;}}());var _0x91b5b2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xd47c6=_0x1bf360[_0xf8b669(0x2c1)]=_0xf2a99a[_0xf8b669(0x305)]({'_doReset':function(){var _0xf12771=_0xf8b669,_0x2e1b70;if(!(this['_nRounds']&&this[_0xf12771(0x201)]===this[_0xf12771(0x40c)])){for(var _0x2dcbbe=this[_0xf12771(0x201)]=this[_0xf12771(0x40c)],_0x51db9b=_0x2dcbbe[_0xf12771(0x428)],_0x1560ac=_0x2dcbbe[_0xf12771(0x310)]/0x4,_0x463eec=this[_0xf12771(0x20f)]=_0x1560ac+0x6,_0x45361c=(_0x463eec+0x1)*0x4,_0x523c5c=this[_0xf12771(0x243)]=[],_0xa1fbaf=0x0;_0xa1fbaf<_0x45361c;_0xa1fbaf++)_0xa1fbaf<_0x1560ac?_0x523c5c[_0xa1fbaf]=_0x51db9b[_0xa1fbaf]:(_0x2e1b70=_0x523c5c[_0xa1fbaf-0x1],_0xa1fbaf%_0x1560ac?_0x1560ac>0x6&&_0xa1fbaf%_0x1560ac==0x4&&(_0x2e1b70=_0x296bf9[_0x2e1b70>>>0x18]<<0x18|_0x296bf9[_0x2e1b70>>>0x10&0xff]<<0x10|_0x296bf9[_0x2e1b70>>>0x8&0xff]<<0x8|_0x296bf9[_0x2e1b70&0xff]):(_0x2e1b70=_0x2e1b70<<0x8|_0x2e1b70>>>0x18,_0x2e1b70=_0x296bf9[_0x2e1b70>>>0x18]<<0x18|_0x296bf9[_0x2e1b70>>>0x10&0xff]<<0x10|_0x296bf9[_0x2e1b70>>>0x8&0xff]<<0x8|_0x296bf9[_0x2e1b70&0xff],_0x2e1b70^=_0x91b5b2[_0xa1fbaf/_0x1560ac|0x0]<<0x18),_0x523c5c[_0xa1fbaf]=_0x523c5c[_0xa1fbaf-_0x1560ac]^_0x2e1b70);for(var _0x68cc9d=this[_0xf12771(0x3ea)]=[],_0x52da0a=0x0;_0x52da0a<_0x45361c;_0x52da0a++){var _0xa1fbaf=_0x45361c-_0x52da0a;if(_0x52da0a%0x4)var _0x2e1b70=_0x523c5c[_0xa1fbaf];else var _0x2e1b70=_0x523c5c[_0xa1fbaf-0x4];_0x52da0a<0x4||_0xa1fbaf<=0x4?_0x68cc9d[_0x52da0a]=_0x2e1b70:_0x68cc9d[_0x52da0a]=_0x3ebff8[_0x296bf9[_0x2e1b70>>>0x18]]^_0x29d5de[_0x296bf9[_0x2e1b70>>>0x10&0xff]]^_0x139c22[_0x296bf9[_0x2e1b70>>>0x8&0xff]]^_0x538e87[_0x296bf9[_0x2e1b70&0xff]];}}},'encryptBlock':function(_0x306342,_0x9d5f2b){var _0x16bd6f=_0xf8b669;this['_doCryptBlock'](_0x306342,_0x9d5f2b,this[_0x16bd6f(0x243)],_0x4bf3e1,_0x4ded62,_0x1a0713,_0x3016d7,_0x296bf9);},'decryptBlock':function(_0x4af58a,_0x28ff0d){var _0x20e5e7=_0x4af58a[_0x28ff0d+0x1];_0x4af58a[_0x28ff0d+0x1]=_0x4af58a[_0x28ff0d+0x3],_0x4af58a[_0x28ff0d+0x3]=_0x20e5e7,this['_doCryptBlock'](_0x4af58a,_0x28ff0d,this['_invKeySchedule'],_0x3ebff8,_0x29d5de,_0x139c22,_0x538e87,_0x135574);var _0x20e5e7=_0x4af58a[_0x28ff0d+0x1];_0x4af58a[_0x28ff0d+0x1]=_0x4af58a[_0x28ff0d+0x3],_0x4af58a[_0x28ff0d+0x3]=_0x20e5e7;},'_doCryptBlock':function(_0xe3b888,_0x1e8180,_0x40b507,_0x1492ad,_0x300078,_0x5c039b,_0x2d6689,_0x2defc7){for(var _0x49fa6a=this['_nRounds'],_0x4837ea=_0xe3b888[_0x1e8180]^_0x40b507[0x0],_0x7aa7d0=_0xe3b888[_0x1e8180+0x1]^_0x40b507[0x1],_0x5cfb1b=_0xe3b888[_0x1e8180+0x2]^_0x40b507[0x2],_0x14a0fe=_0xe3b888[_0x1e8180+0x3]^_0x40b507[0x3],_0xcae19a=0x4,_0x459873=0x1;_0x459873<_0x49fa6a;_0x459873++){var _0x5ba861=_0x1492ad[_0x4837ea>>>0x18]^_0x300078[_0x7aa7d0>>>0x10&0xff]^_0x5c039b[_0x5cfb1b>>>0x8&0xff]^_0x2d6689[_0x14a0fe&0xff]^_0x40b507[_0xcae19a++],_0x2f237f=_0x1492ad[_0x7aa7d0>>>0x18]^_0x300078[_0x5cfb1b>>>0x10&0xff]^_0x5c039b[_0x14a0fe>>>0x8&0xff]^_0x2d6689[_0x4837ea&0xff]^_0x40b507[_0xcae19a++],_0x32b554=_0x1492ad[_0x5cfb1b>>>0x18]^_0x300078[_0x14a0fe>>>0x10&0xff]^_0x5c039b[_0x4837ea>>>0x8&0xff]^_0x2d6689[_0x7aa7d0&0xff]^_0x40b507[_0xcae19a++],_0x1eff7f=_0x1492ad[_0x14a0fe>>>0x18]^_0x300078[_0x4837ea>>>0x10&0xff]^_0x5c039b[_0x7aa7d0>>>0x8&0xff]^_0x2d6689[_0x5cfb1b&0xff]^_0x40b507[_0xcae19a++];_0x4837ea=_0x5ba861,_0x7aa7d0=_0x2f237f,_0x5cfb1b=_0x32b554,_0x14a0fe=_0x1eff7f;}var _0x5ba861=(_0x2defc7[_0x4837ea>>>0x18]<<0x18|_0x2defc7[_0x7aa7d0>>>0x10&0xff]<<0x10|_0x2defc7[_0x5cfb1b>>>0x8&0xff]<<0x8|_0x2defc7[_0x14a0fe&0xff])^_0x40b507[_0xcae19a++],_0x2f237f=(_0x2defc7[_0x7aa7d0>>>0x18]<<0x18|_0x2defc7[_0x5cfb1b>>>0x10&0xff]<<0x10|_0x2defc7[_0x14a0fe>>>0x8&0xff]<<0x8|_0x2defc7[_0x4837ea&0xff])^_0x40b507[_0xcae19a++],_0x32b554=(_0x2defc7[_0x5cfb1b>>>0x18]<<0x18|_0x2defc7[_0x14a0fe>>>0x10&0xff]<<0x10|_0x2defc7[_0x4837ea>>>0x8&0xff]<<0x8|_0x2defc7[_0x7aa7d0&0xff])^_0x40b507[_0xcae19a++],_0x1eff7f=(_0x2defc7[_0x14a0fe>>>0x18]<<0x18|_0x2defc7[_0x4837ea>>>0x10&0xff]<<0x10|_0x2defc7[_0x7aa7d0>>>0x8&0xff]<<0x8|_0x2defc7[_0x5cfb1b&0xff])^_0x40b507[_0xcae19a++];_0xe3b888[_0x1e8180]=_0x5ba861,_0xe3b888[_0x1e8180+0x1]=_0x2f237f,_0xe3b888[_0x1e8180+0x2]=_0x32b554,_0xe3b888[_0x1e8180+0x3]=_0x1eff7f;},'keySize':0x100/0x20});_0x1ec117[_0xf8b669(0x2c1)]=_0xf2a99a['_createHelper'](_0xd47c6);}()),_0x284797[_0x585054(0x2c1)];}));}(Ve)),Ve[_0x586e79(0x1fd)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe['exports'],ai;function zr(){var _0x58c601=_0x108c00;return ai||(ai=0x1,function(_0x1e0e78,_0x5c1fba){(function(_0x198825,_0x2a9f9d){var _0x57f727=_0x5020;_0x1e0e78[_0x57f727(0x1fd)]=_0x2a9f9d(ne());}(qr,function(_0x96c464){var _0x2ad44b=_0x5020;return _0x96c464['enc'][_0x2ad44b(0x46a)];}));}(Xe)),Xe[_0x58c601(0x1fd)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x108c00(0x1fd)],ci;function Qr(){var _0x4cb790=_0x108c00;return ci||(ci=0x1,function(_0x2aad32,_0x23968e){(function(_0x457368,_0x428e8c){var _0x4089a2=_0x5020;_0x2aad32[_0x4089a2(0x1fd)]=_0x428e8c(ne());}(Zr,function(_0x198bab){var _0x1bfb56=_0x5020;return(function(){var _0x26c601=_0x5020;if(typeof ArrayBuffer==_0x26c601(0x38c)){var _0x46138d=_0x198bab,_0x6e970f=_0x46138d[_0x26c601(0x38b)],_0x5cda71=_0x6e970f[_0x26c601(0x245)],_0x231fd2=_0x5cda71[_0x26c601(0x4aa)],_0x195f94=_0x5cda71[_0x26c601(0x4aa)]=function(_0x2279d9){var _0x3c122e=_0x26c601;if(_0x2279d9 instanceof ArrayBuffer&&(_0x2279d9=new Uint8Array(_0x2279d9)),(_0x2279d9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2279d9 instanceof Uint8ClampedArray||_0x2279d9 instanceof Int16Array||_0x2279d9 instanceof Uint16Array||_0x2279d9 instanceof Int32Array||_0x2279d9 instanceof Uint32Array||_0x2279d9 instanceof Float32Array||_0x2279d9 instanceof Float64Array)&&(_0x2279d9=new Uint8Array(_0x2279d9[_0x3c122e(0x1f8)],_0x2279d9[_0x3c122e(0x3a0)],_0x2279d9[_0x3c122e(0x27a)])),_0x2279d9 instanceof Uint8Array){for(var _0x416905=_0x2279d9[_0x3c122e(0x27a)],_0x18c008=[],_0x3432e2=0x0;_0x3432e2<_0x416905;_0x3432e2++)_0x18c008[_0x3432e2>>>0x2]|=_0x2279d9[_0x3432e2]<<0x18-_0x3432e2%0x4*0x8;_0x231fd2[_0x3c122e(0x314)](this,_0x18c008,_0x416905);}else _0x231fd2[_0x3c122e(0x321)](this,arguments);};_0x195f94[_0x26c601(0x23b)]=_0x5cda71;}}()),_0x198bab[_0x1bfb56(0x38b)][_0x1bfb56(0x245)];}));}(Ze)),Ze[_0x4cb790(0x1fd)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x108c00(0x1fd)],hi;function ns(){var _0x1fe3fe=_0x108c00;return hi||(hi=0x1,function(_0x565751,_0x207a2b){(function(_0x240850,_0x3ed30a,_0x3468b9){var _0x20f0af=_0x5020;_0x565751[_0x20f0af(0x1fd)]=_0x3ed30a(ne(),Ai());}(is,function(_0x2c1816){var _0x1d9b9e=_0x5020;return _0x2c1816[_0x1d9b9e(0x210)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2c1816[_0x1d9b9e(0x210)][_0x1d9b9e(0x28d)];}));}(Qe)),Qe[_0x1fe3fe(0x1fd)];}var rs=ns();const ss=ke(rs);function os(_0x30ec83,_0x20dc71){var _0x5f094c=_0x108c00;const _0x3d03fe=_0x20dc71-_0x30ec83[_0x5f094c(0x24e)]%_0x20dc71,_0x3079da=String[_0x5f094c(0x37c)](_0x3d03fe)[_0x5f094c(0x2ae)](_0x3d03fe);return _0x30ec83+_0x3079da;}function as(_0x1155e2,_0x1b2567){var _0x277a7e=_0x108c00;const _0x5bb97a=ts['random'](0x10),_0x4afe49=os(_0x1155e2,0x10),_0x2090d9=Kr[_0x277a7e(0x41e)](Xr[_0x277a7e(0x302)](_0x4afe49),oi[_0x277a7e(0x302)](_0x1b2567),{'iv':_0x5bb97a,'padding':ss});return _0x5bb97a[_0x277a7e(0x20d)](_0x2090d9[_0x277a7e(0x4b1)])[_0x277a7e(0x3cd)](oi);}function cs(){var _0xabf24=_0x108c00;const _0x51a952=_0x4fd323()['__Key__'];if(_0x51a952){const _0x55763c={'time':Math[_0xabf24(0x33a)](Date[_0xabf24(0x1ef)]()/0x3e8),'domain':location[_0xabf24(0x447)]};return as(JSON[_0xabf24(0x2f4)](_0x55763c),_0x51a952);}}var hs=Object[_0x108c00(0x31d)],_s=Object[_0x108c00(0x21a)],ls=(_0x1eef90,_0x7128ad,_0x251a8f,_0x284277)=>{var _0xa04ff9=_0x108c00;for(var _0x5ae584=_0x284277>0x1?void 0x0:_0x284277?_s(_0x7128ad,_0x251a8f):_0x7128ad,_0x51c36e=_0x1eef90[_0xa04ff9(0x24e)]-0x1,_0x15563f;_0x51c36e>=0x0;_0x51c36e--)(_0x15563f=_0x1eef90[_0x51c36e])&&(_0x5ae584=(_0x284277?_0x15563f(_0x7128ad,_0x251a8f,_0x5ae584):_0x15563f(_0x5ae584))||_0x5ae584);return _0x284277&&_0x5ae584&&hs(_0x7128ad,_0x251a8f,_0x5ae584),_0x5ae584;},us=(_0x3b1103,_0x143aac)=>(_0x257ca2,_0x47d8df)=>_0x143aac(_0x257ca2,_0x47d8df,_0x3b1103);let ot=class{constructor(_0x133907){var _0x2f4e3b=_0x108c00;this[_0x2f4e3b(0x266)]=_0x133907,this[_0x2f4e3b(0x4a4)]();}['_initRequestHeader'](){var _0x354f40=_0x108c00;this[_0x354f40(0x266)]['registerHTTPInterceptor']({'interceptor':(_0x20e50a,_0x29aeaa)=>{var _0x1a2677=_0x354f40;const _0x54abf4=_0x20e50a[_0x1a2677(0x36f)],_0x2330db=cs();return _0x2330db&&_0x54abf4['set']('x-univer-host',_0x2330db),_0x29aeaa(_0x20e50a);}});}};ot=ls([us(0x0,_0x22b705(_0x55772))],ot);var ds=Object[_0x108c00(0x31d)],fs=Object[_0x108c00(0x21a)],vs=(_0x719b63,_0x687689,_0x3f76b8,_0x4ae3d4)=>{var _0x44fd16=_0x108c00;for(var _0x58b63e=_0x4ae3d4>0x1?void 0x0:_0x4ae3d4?fs(_0x687689,_0x3f76b8):_0x687689,_0x4f9bdb=_0x719b63[_0x44fd16(0x24e)]-0x1,_0x25cfab;_0x4f9bdb>=0x0;_0x4f9bdb--)(_0x25cfab=_0x719b63[_0x4f9bdb])&&(_0x58b63e=(_0x4ae3d4?_0x25cfab(_0x687689,_0x3f76b8,_0x58b63e):_0x25cfab(_0x58b63e))||_0x58b63e);return _0x4ae3d4&&_0x58b63e&&ds(_0x687689,_0x3f76b8,_0x58b63e),_0x58b63e;},mt=(_0x27980b,_0x401576)=>(_0x1e1931,_0x5f625)=>_0x401576(_0x1e1931,_0x5f625,_0x27980b);let Ot=class extends _0x31cc7c{constructor(_0x490936,_0xdaaea7,_0x1d0aac){var _0x5e5fb8=_0x108c00;super(),N(this,_0x5e5fb8(0x30a),new _0x367d22(null)),N(this,_0x5e5fb8(0x288),this[_0x5e5fb8(0x30a)][_0x5e5fb8(0x3ff)]()),(this['_logService']=_0x490936,this[_0x5e5fb8(0x4b5)]=_0xdaaea7,this[_0x5e5fb8(0x35b)]=_0x1d0aac);}async[_0x108c00(0x3ec)](_0x42ea3c,_0x17ff97,_0x408988){var _0x58f3b6=_0x108c00;this['_unitInfo$']['next']({'unitId':_0x42ea3c,'type':_0x17ff97,'subUnitId':_0x408988});let _0x420cc9=null;switch(_0x17ff97){case Q['UNIVER_SHEET']:{_0x420cc9=await this[_0x58f3b6(0x206)](_0x42ea3c);break;}case Q['UNIVER_DOC']:{_0x420cc9=await this['_loadDoc'](_0x42ea3c);break;}default:{this['_logService'][_0x58f3b6(0x489)](_0x58f3b6(0x3d7),_0x58f3b6(0x329));break;}}return _0x420cc9;}async['_loadSheet'](_0x21eca1){var _0x3ff969=_0x108c00,_0x160499;let _0x3c380e=0x0;const _0x26aa62=await((_0x160499=this[_0x3ff969(0x35b)])==null?void 0x0:_0x160499[_0x3ff969(0x419)](_0x21eca1));return _0x26aa62&&(_0x26aa62[_0x3ff969(0x2d0)]||_0x26aa62[_0x3ff969(0x340)][_0x3ff969(0x24e)]!==0x0)&&(_0x3c380e=_0x26aa62[_0x3ff969(0x2cb)]),_0x3c380e===0x0&&this[_0x3ff969(0x431)]['debug'](_0x3ff969(0x3d7),_0x3ff969(0x2a5)),this[_0x3ff969(0x4b5)]['loadSheet'](_0x21eca1,_0x3c380e);}async[_0x108c00(0x44e)](_0x33aa92){var _0x3b9afb=_0x108c00,_0x2996d8;let _0x4bcca8=0x0;const _0x5ad657=await((_0x2996d8=this[_0x3b9afb(0x35b)])==null?void 0x0:_0x2996d8[_0x3b9afb(0x419)](_0x33aa92));return _0x5ad657&&(_0x5ad657[_0x3b9afb(0x2d0)]||_0x5ad657['mutations'][_0x3b9afb(0x24e)]!==0x0)&&(_0x4bcca8=_0x5ad657['rev']),_0x4bcca8===0x0&&this['_logService']['debug'](_0x3b9afb(0x3d7),_0x3b9afb(0x2a5)),this['_snapshotService']['loadDoc'](_0x33aa92,_0x4bcca8);}};Ot=vs([mt(0x0,_0x43bc54),mt(0x1,_0x22b705(_0x320ea2)),mt(0x2,_0x4b5f3d(J))],Ot);var ps=Object[_0x108c00(0x31d)],ms=Object[_0x108c00(0x21a)],gs=(_0x3978a6,_0x3f9516,_0x418e1e,_0x4f97ee)=>{var _0x389ded=_0x108c00;for(var _0xe5868f=_0x4f97ee>0x1?void 0x0:_0x4f97ee?ms(_0x3f9516,_0x418e1e):_0x3f9516,_0x36aacf=_0x3978a6[_0x389ded(0x24e)]-0x1,_0x1bbd4a;_0x36aacf>=0x0;_0x36aacf--)(_0x1bbd4a=_0x3978a6[_0x36aacf])&&(_0xe5868f=(_0x4f97ee?_0x1bbd4a(_0x3f9516,_0x418e1e,_0xe5868f):_0x1bbd4a(_0xe5868f))||_0xe5868f);return _0x4f97ee&&_0xe5868f&&ps(_0x3f9516,_0x418e1e,_0xe5868f),_0xe5868f;},gt=(_0x34a9ea,_0x1cade6)=>(_0x289d3c,_0x4d9489)=>_0x1cade6(_0x289d3c,_0x4d9489,_0x34a9ea);const Ss=[_0x108c00(0x3bb),_0x108c00(0x324),_0x108c00(0x1e6),'image/gif',_0x108c00(0x2ea)],Es=0x5*0x400*0x400,Is=_0x108c00(0x231),Ts='/universer-api/stream/file/upload',Cs=_0x108c00(0x351),Rs=_0x108c00(0x1e7);let yt=class{constructor(_0xf94535,_0x1875b3,_0xb4006e){var _0x50e1f3=_0x108c00;N(this,_0x50e1f3(0x258),0x0),N(this,_0x50e1f3(0x1e5),new _0x38f83b()),N(this,_0x50e1f3(0x34a),this['_change$']),N(this,_0x50e1f3(0x3cb),new Map()),(this[_0x50e1f3(0x266)]=_0xf94535,this['_configService']=_0x1875b3,this[_0x50e1f3(0x293)]=_0xb4006e);}[_0x108c00(0x459)](_0xde8861){var _0xb69fe7=_0x108c00;this[_0xb69fe7(0x258)]=_0xde8861,this[_0xb69fe7(0x1e5)][_0xb69fe7(0x449)](_0xde8861);}[_0x108c00(0x22a)](_0x1fb3e,_0x1ff1fc){var _0x1462c8=_0x108c00;if(_0x1ff1fc===_0x1bf066['BASE64']){const _0x3cbad3=new Image();return _0x3cbad3[_0x1462c8(0x1ec)]=_0x1fb3e,_0x3cbad3;}return this[_0x1462c8(0x3cb)][_0x1462c8(0x260)](_0x1fb3e);}[_0x108c00(0x488)](_0x5df769,_0x5153a4,_0x1d1e02){var _0x562155=_0x108c00;_0x5153a4===_0x1bf066[_0x562155(0x282)]||_0x1d1e02==null||this[_0x562155(0x3cb)]['set'](_0x5df769,_0x1d1e02);}async[_0x108c00(0x31a)](_0x5a1387){var _0x49ed6f=_0x108c00;try{const _0x16ab22=this[_0x49ed6f(0x326)](this['_getSignURL'](),''+_0x5a1387),_0x1af659=(await this[_0x49ed6f(0x266)][_0x49ed6f(0x260)](_0x16ab22))[_0x49ed6f(0x233)];if(_0x1af659[_0x49ed6f(0x489)]&&_0x1af659['error'][_0x49ed6f(0x3e3)]===Ii['OK']){const _0x3839f3=new URL(_0x1af659[_0x49ed6f(0x24d)],this['_getDownloadEndpointURL']())[_0x49ed6f(0x3cd)]();return Promise[_0x49ed6f(0x475)](_0x3839f3);}return Promise['reject'](_0x1af659[_0x49ed6f(0x489)]);}catch(_0x4bc161){return Promise[_0x49ed6f(0x320)](_0x4bc161);}}async[_0x108c00(0x1d8)](_0x5e0417){var _0x439b7c=_0x108c00;let _0x4ac771='';if(!Ss['includes'](_0x5e0417[_0x439b7c(0x32c)]))return this[_0x439b7c(0x262)](),Promise[_0x439b7c(0x320)](new Error(_0x2f7b82[_0x439b7c(0x36d)]));if(_0x5e0417[_0x439b7c(0x27f)]>Es)return this[_0x439b7c(0x262)](),Promise[_0x439b7c(0x320)](new Error(_0x2f7b82['ERROR_EXCEED_SIZE']));try{const _0x1a5ebf=new FormData();_0x1a5ebf[_0x439b7c(0x3ee)]('file',_0x5e0417);const _0x52cfeb=this[_0x439b7c(0x293)]['getFocusedUnit'](),_0x394b28=_0x52cfeb==null?void 0x0:_0x52cfeb[_0x439b7c(0x3f1)]();if(!_0x394b28)throw new Error('unitId\x20is\x20not\x20found');const _0x4580cb=this[_0x439b7c(0x287)]()+'?size='+_0x5e0417[_0x439b7c(0x27f)][_0x439b7c(0x3cd)]()+_0x439b7c(0x1ce)+Ti[_0x439b7c(0x348)]+_0x439b7c(0x2e0)+encodeURIComponent(_0x394b28),_0x4eea6c=await(await fetch(_0x4580cb,{'method':_0x439b7c(0x39b),'body':_0x1a5ebf}))[_0x439b7c(0x4c2)]();if(typeof _0x4eea6c[_0x439b7c(0x381)]!=_0x439b7c(0x20e))return this['_decreaseWaiting'](),Promise[_0x439b7c(0x320)](new Error(_0x2f7b82[_0x439b7c(0x367)]));_0x4ac771=_0x4eea6c['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x439b7c(0x320)](new Error(_0x2f7b82['ERROR_IMAGE']));}return new Promise((_0x19699f,_0x7d5dd9)=>{var _0x4519dd=_0x439b7c;const _0x5ca7d7=new FileReader();_0x5ca7d7[_0x4519dd(0x2a8)](_0x5e0417),_0x5ca7d7[_0x4519dd(0x44a)]=_0x30a517=>{var _0x184611=_0x4519dd,_0x11df1f;const _0x22a9ce=(_0x11df1f=_0x30a517[_0x184611(0x2c9)])==null?void 0x0:_0x11df1f[_0x184611(0x306)];if(_0x22a9ce==null){this['_decreaseWaiting'](),_0x7d5dd9(new Error(_0x2f7b82['ERROR_IMAGE']));return;}const _0x2b0d5c=_0x2359c0[_0x184611(0x360)](0x6);_0x19699f({'imageId':_0x2b0d5c,'imageSourceType':_0x1bf066['UUID'],'source':_0x4ac771,'base64Cache':_0x22a9ce,'status':_0x2f7b82[_0x184611(0x27c)]}),this[_0x184611(0x262)]();};});}[_0x108c00(0x287)](){var _0x251d3e=_0x108c00,_0x23576c,_0x43ada2;const _0x221b62=this[_0x251d3e(0x217)][_0x251d3e(0x47e)](Is),_0x356ae8=this[_0x251d3e(0x217)][_0x251d3e(0x47e)](q);return(_0x43ada2=(_0x23576c=_0x356ae8==null?void 0x0:_0x356ae8[_0x251d3e(0x47f)])!=null?_0x23576c:_0x221b62)!=null?_0x43ada2:Ts;}[_0x108c00(0x25b)](){var _0x40221b=_0x108c00,_0x47698a,_0x1e0ddb;const _0x48a463=this['_configService'][_0x40221b(0x47e)](Cs),_0x2f7f2b=this[_0x40221b(0x217)][_0x40221b(0x47e)](q);return(_0x1e0ddb=(_0x47698a=_0x2f7f2b==null?void 0x0:_0x2f7f2b[_0x40221b(0x341)])!=null?_0x47698a:_0x48a463)!=null?_0x1e0ddb:Rs;}[_0x108c00(0x30c)](){var _0x20fea8=_0x108c00,_0x251ef9;const _0x83a361=this[_0x20fea8(0x217)]['getConfig'](q);return(_0x251ef9=_0x83a361==null?void 0x0:_0x83a361['downloadEndpointUrl'])!=null?_0x251ef9:location[_0x20fea8(0x1ff)];}[_0x108c00(0x326)](_0x483d14,_0xe4e640){var _0x5c9db2=_0x108c00;return _0x483d14[_0x5c9db2(0x3d5)](_0x5c9db2(0x409),_0xe4e640);}[_0x108c00(0x262)](){var _0x1caa41=_0x108c00;this[_0x1caa41(0x258)]-=0x1,this[_0x1caa41(0x1e5)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x22b705(_0x55772)),gt(0x1,_0x1c99c2),gt(0x2,_0x22b705(_0x53b9e4))],yt);var bs=Object['defineProperty'],Os=Object[_0x108c00(0x21a)],ys=(_0x18207b,_0x3d3ad5,_0x22a637,_0x5d7740)=>{var _0x47498c=_0x108c00;for(var _0x7b6a06=_0x5d7740>0x1?void 0x0:_0x5d7740?Os(_0x3d3ad5,_0x22a637):_0x3d3ad5,_0x3af4ab=_0x18207b[_0x47498c(0x24e)]-0x1,_0x24e320;_0x3af4ab>=0x0;_0x3af4ab--)(_0x24e320=_0x18207b[_0x3af4ab])&&(_0x7b6a06=(_0x5d7740?_0x24e320(_0x3d3ad5,_0x22a637,_0x7b6a06):_0x24e320(_0x7b6a06))||_0x7b6a06);return _0x5d7740&&_0x7b6a06&&bs(_0x3d3ad5,_0x22a637,_0x7b6a06),_0x7b6a06;},_i=(_0x493f46,_0x51afd0)=>(_0x25c19b,_0x41d5c9)=>_0x51afd0(_0x25c19b,_0x41d5c9,_0x493f46);const Ns='/universer-api/authz';let Nt=class{constructor(_0x2ada8d,_0x3f70fe){var _0x7f37f0=_0x108c00;this['_configService']=_0x2ada8d,this[_0x7f37f0(0x2a4)]=_0x3f70fe;}[_0x108c00(0x379)](){var _0x537bf7=_0x108c00,_0x10fef4,_0x40c7e2;const _0x109422=this['_configService'][_0x537bf7(0x47e)](Pi),_0x292a7e=this[_0x537bf7(0x217)]['getConfig'](q);return(_0x40c7e2=(_0x10fef4=_0x292a7e==null?void 0x0:_0x292a7e['authzUrl'])!=null?_0x10fef4:_0x109422)!=null?_0x40c7e2:Ns;}async[_0x108c00(0x2bc)](_0x1f441e){var _0x465eaa=_0x108c00;const _0x2226f8=this[_0x465eaa(0x379)]()+_0x465eaa(0x36a);return{'list':[{'title':_0x465eaa(0x1b8),'mentions':(await this[_0x465eaa(0x2a4)][_0x465eaa(0x260)](_0x2226f8,{'params':{'objectID':_0x1f441e[_0x465eaa(0x1fa)],'unitID':_0x1f441e[_0x465eaa(0x1fa)]}}))['body'][_0x465eaa(0x33d)]['map'](_0xda2aa5=>({'objectId':_0xda2aa5['id'],'name':_0xda2aa5[_0x465eaa(0x3c0)][_0x465eaa(0x2ed)],'metadata':{'icon':_0xda2aa5[_0x465eaa(0x3c0)][_0x465eaa(0x491)]},'label':_0xda2aa5[_0x465eaa(0x3c0)][_0x465eaa(0x2ed)],'objectType':_0xceeb0[_0x465eaa(0x325)]})),'metadata':{},'type':_0xceeb0[_0x465eaa(0x325)]}]};}};Nt=ys([_i(0x0,_0x22b705(_0x1c99c2)),_i(0x1,_0x22b705(_0x55772))],Nt);var Ds=Object[_0x108c00(0x31d)],Ps=Object[_0x108c00(0x21a)],ws=(_0x56d1db,_0x20914e,_0x3d15d3,_0x5234be)=>{var _0x38edfb=_0x108c00;for(var _0x1b20ff=_0x5234be>0x1?void 0x0:_0x5234be?Ps(_0x20914e,_0x3d15d3):_0x20914e,_0x3bfaf0=_0x56d1db[_0x38edfb(0x24e)]-0x1,_0x4be71b;_0x3bfaf0>=0x0;_0x3bfaf0--)(_0x4be71b=_0x56d1db[_0x3bfaf0])&&(_0x1b20ff=(_0x5234be?_0x4be71b(_0x20914e,_0x3d15d3,_0x1b20ff):_0x4be71b(_0x1b20ff))||_0x1b20ff);return _0x5234be&&_0x1b20ff&&Ds(_0x20914e,_0x3d15d3,_0x1b20ff),_0x1b20ff;},Se=(_0x291eac,_0xc498af)=>(_0x19329f,_0x301854)=>_0xc498af(_0x19329f,_0x301854,_0x291eac);let at=class extends _0x31cc7c{constructor(_0x16b6c0,_0x190004,_0x3ff8c3,_0x34688e,_0x2f1b97,_0x4542c3,_0x5569e1){var _0x421ca2=_0x108c00;super(),this[_0x421ca2(0x2f0)]=_0x16b6c0,this[_0x421ca2(0x293)]=_0x190004,this[_0x421ca2(0x37e)]=_0x3ff8c3,this[_0x421ca2(0x1c6)]=_0x34688e,this[_0x421ca2(0x4bf)]=_0x2f1b97,this[_0x421ca2(0x439)]=_0x4542c3,this[_0x421ca2(0x452)]=_0x5569e1,this[_0x421ca2(0x3e7)](),this[_0x421ca2(0x3c6)]();}[_0x108c00(0x3c6)](){var _0x1bf3d5=_0x108c00;const _0x23e100=async _0x5a5bfa=>{var _0x6d81c5=_0x5020;(await this[_0x6d81c5(0x1c6)]['requireSession'](_0x5a5bfa))['event$'][_0x6d81c5(0x383)](_0x47bc6d(_0x4a59b7=>_0x4a59b7[_0x6d81c5(0x2ff)]===_0x565698[_0x6d81c5(0x1f0)]),_0x5cd1ef(this['dispose$']))[_0x6d81c5(0x44b)](_0x3262ae=>{var _0x333c67=_0x6d81c5;const _0x12ceac=_0x3262ae,{reason:_0x30afb4}=_0x12ceac['data'];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x333c67(0x309)],'data':_0x30afb4}),this[_0x333c67(0x37e)][_0x333c67(0x393)](new _0x488f7d(_0x5a5bfa)['id'],!0x1),this[_0x333c67(0x1c6)][_0x333c67(0x427)](_0x5a5bfa);});};_0x3aad39(this['_univerInstanceService'][_0x1bf3d5(0x3a9)](_0x52e129[_0x1bf3d5(0x365)]),this[_0x1bf3d5(0x293)]['getTypeOfUnitAdded$'](_0x52e129[_0x1bf3d5(0x1be)]))['pipe'](_0x5e1c46(_0x17439d=>_0x17439d['getUnitId']()),_0x47bc6d(_0x4c18c9=>!_0x50ebc3(_0x4c18c9)),_0x5cd1ef(this[_0x1bf3d5(0x2c5)]))['subscribe'](_0x2f8344=>{_0x23e100(_0x2f8344);});}[_0x108c00(0x3e7)](){var _0x1908be=_0x108c00;const _0xeb5542=async _0x451e19=>{var _0x982046=_0x5020;const _0xa9a0=await this[_0x982046(0x1c6)][_0x982046(0x395)](_0x451e19),_0x386440=this[_0x982046(0x2f0)][_0x982046(0x260)](_0xb9b43a);_0xa9a0[_0x982046(0x2c4)][_0x982046(0x383)](_0x47bc6d(_0x4b2582=>_0x4b2582[_0x982046(0x2ff)]===_0x565698[_0x982046(0x278)]),_0x5cd1ef(this['dispose$']))[_0x982046(0x44b)](_0x3dcdd4=>{var _0x578050=_0x982046;const _0x58579d=_0x3dcdd4,{objectId:_0x56dfaf}=_0x58579d['data'];_0x56dfaf===_0x451e19?_0x386440[_0x578050(0x1c1)](_0x451e19):_0x386440['refreshPermission'](_0x451e19,_0x56dfaf);});};_0x3aad39(this[_0x1908be(0x293)]['getTypeOfUnitAdded$'](_0x52e129[_0x1908be(0x365)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x52e129['UNIVER_DOC']))['pipe'](_0x5e1c46(_0x4fe0ee=>_0x4fe0ee['getUnitId']()),_0x47bc6d(_0x5a1e57=>!_0x50ebc3(_0x5a1e57)),_0x5cd1ef(this[_0x1908be(0x2c5)]))[_0x1908be(0x44b)](_0x5aec0d=>{_0xeb5542(_0x5aec0d);});}};at=ws([Se(0x0,_0x22b705(_0x491816)),Se(0x1,_0x53b9e4),Se(0x2,_0x72e2b3),Se(0x3,_0x22b705(Le)),Se(0x4,_0x22b705(pe)),Se(0x5,_0x56f598),Se(0x6,_0x3d7b9b)],at);var Us=Object[_0x108c00(0x31d)],As=Object[_0x108c00(0x21a)],xs=(_0x21061e,_0x39d58d,_0x3c4250,_0x43dc34)=>{var _0x8e5235=_0x108c00;for(var _0x5eb97e=_0x43dc34>0x1?void 0x0:_0x43dc34?As(_0x39d58d,_0x3c4250):_0x39d58d,_0x53514c=_0x21061e[_0x8e5235(0x24e)]-0x1,_0x2229bb;_0x53514c>=0x0;_0x53514c--)(_0x2229bb=_0x21061e[_0x53514c])&&(_0x5eb97e=(_0x43dc34?_0x2229bb(_0x39d58d,_0x3c4250,_0x5eb97e):_0x2229bb(_0x5eb97e))||_0x5eb97e);return _0x43dc34&&_0x5eb97e&&Us(_0x39d58d,_0x3c4250,_0x5eb97e),_0x5eb97e;},li=(_0x3568d6,_0x2e1209)=>(_0x4e9b61,_0x396e04)=>_0x2e1209(_0x4e9b61,_0x396e04,_0x3568d6);let Dt=class{constructor(_0x2d82c0,_0x190bbe){var _0x4f7c98=_0x108c00;this[_0x4f7c98(0x217)]=_0x2d82c0,this[_0x4f7c98(0x266)]=_0x190bbe;}async[_0x108c00(0x437)](_0x1d6b06,_0x476f1c){var _0x337125=_0x108c00,_0x20a7e8;const {unitID:_0x2d3828,type:_0x90d318,revision:_0x53e32b=0x0}=_0x476f1c,_0x508c80=this[_0x337125(0x4b7)]()+'/'+_0x90d318+_0x337125(0x3aa)+_0x2d3828+_0x337125(0x361)+_0x53e32b,_0x1cd8ed=(await this[_0x337125(0x266)][_0x337125(0x260)](_0x508c80))['body'],_0x18f9f6=(_0x20a7e8=_0x1cd8ed[_0x337125(0x2d6)])==null?void 0x0:_0x20a7e8['workbook'];if(_0x18f9f6){const _0xa79eb7=_0x18f9f6==null?void 0x0:_0x18f9f6[_0x337125(0x4c1)],_0x4394c1=_0x486184[_0x337125(0x1bc)](_0x57ef64(_0xa79eb7));_0x18f9f6['originalMeta']=_0x4394c1,Object['entries'](_0x18f9f6['sheets'])[_0x337125(0x2a2)](([,_0x289dc7])=>{var _0x37b7bb=_0x337125;const _0x4ef58f=_0x289dc7['originalMeta'],_0x14f6df=_0x486184['encode'](_0x57ef64(_0x4ef58f));_0x289dc7[_0x37b7bb(0x4c1)]=_0x14f6df;});}return _0x1cd8ed;}async[_0x108c00(0x436)](_0x2330da,_0xa2efa){var _0x13b74c=_0x108c00;const {unitID:_0x44c365,type:_0x3655a4,blockID:_0x18934a}=_0xa2efa,_0x4a01d9=this[_0x13b74c(0x473)]()+'/'+_0x3655a4+_0x13b74c(0x3aa)+_0x44c365+_0x13b74c(0x255)+_0x18934a;return(await this['_httpService'][_0x13b74c(0x260)](_0x4a01d9))[_0x13b74c(0x233)];}async[_0x108c00(0x317)](_0x117fb6,_0x216ac2){var _0x2da093=_0x108c00;const {unitID:_0x2ad65a,type:_0x100e6e,blockID:_0x3ea638}=_0x216ac2,_0x51be1b=this[_0x2da093(0x473)]()+_0x2da093(0x255)+_0x100e6e+_0x2da093(0x3aa)+_0x2ad65a+_0x2da093(0x255)+_0x3ea638;return(await this[_0x2da093(0x266)][_0x2da093(0x260)](_0x51be1b))[_0x2da093(0x233)];}async['fetchMissingChangesets'](_0x505e2e,_0x5dd9f8){var _0x19ef15=_0x108c00;const {unitID:_0x3d6183,type:_0x22b078,from:_0x34dcc0,to:_0x8fedf9}=_0x5dd9f8,_0x5ca8ad=this[_0x19ef15(0x473)]()+'/'+_0x22b078+_0x19ef15(0x3aa)+_0x3d6183+_0x19ef15(0x31c)+_0x34dcc0+_0x19ef15(0x20c)+_0x8fedf9;return(await this[_0x19ef15(0x266)]['get'](_0x5ca8ad))['body'];}['getSnapshotAPIPath'](){var _0xe8e3be=_0x108c00,_0x5d31dc;return(_0x5d31dc=this[_0xe8e3be(0x217)]['getConfig'](Tn))!=null?_0x5d31dc:this[_0xe8e3be(0x473)]();}[_0x108c00(0x473)](){var _0x39354e=_0x108c00,_0x9ac676,_0x58367f;const _0x448161=this['_configService'][_0x39354e(0x47e)](En),_0x539ac0=this['_configService'][_0x39354e(0x47e)](q);return(_0x58367f=(_0x9ac676=_0x539ac0==null?void 0x0:_0x539ac0[_0x39354e(0x2ef)])!=null?_0x9ac676:_0x448161)!=null?_0x58367f:In;}async[_0x108c00(0x292)](_0x1445b5,_0x4a4d41){var _0x41fead=_0x108c00;const _0x573034='/universer-api/snapshot/'+_0x4a4d41['type']+'/unit/'+_0x4a4d41[_0x41fead(0x418)]+_0x41fead(0x23a);return(await this[_0x41fead(0x266)][_0x41fead(0x260)](_0x573034,{'params':{'resourceId':JSON[_0x41fead(0x2f4)](_0x4a4d41[_0x41fead(0x308)])}}))['body'];}[_0x108c00(0x36e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x108c00(0x3f6)](){var _0x1c0386=_0x108c00;throw new Error(_0x1c0386(0x422));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x108c00(0x4af)](){var _0x58be75=_0x108c00;throw new Error(_0x58be75(0x422));}['getLatestCsReqIdBySid'](){var _0x3f000c=_0x108c00;throw new Error(_0x3f000c(0x422));}};Dt=xs([li(0x0,_0x1c99c2),li(0x1,_0x22b705(_0x55772))],Dt);var Ls=Object[_0x108c00(0x31d)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0xd58b6c,_0x35126d,_0x3fff4b,_0x3c9eaa)=>{for(var _0x8b8bc2=_0x3c9eaa>0x1?void 0x0:_0x3c9eaa?Ms(_0x35126d,_0x3fff4b):_0x35126d,_0x3bc87b=_0xd58b6c['length']-0x1,_0x4cd029;_0x3bc87b>=0x0;_0x3bc87b--)(_0x4cd029=_0xd58b6c[_0x3bc87b])&&(_0x8b8bc2=(_0x3c9eaa?_0x4cd029(_0x35126d,_0x3fff4b,_0x8b8bc2):_0x4cd029(_0x8b8bc2))||_0x8b8bc2);return _0x3c9eaa&&_0x8b8bc2&&Ls(_0x35126d,_0x3fff4b,_0x8b8bc2),_0x8b8bc2;},Ae=(_0x2d80d1,_0x1b29a0)=>(_0x5d775c,_0x22c0ac)=>_0x1b29a0(_0x5d775c,_0x22c0ac,_0x2d80d1);let Pt=class extends _0x337fc3{constructor(_0x3d6a75,_0x64fa85,_0x566a9e,_0x4068a7,_0x288494){var _0x2fbe47=_0x108c00;super(_0x3d6a75,_0x64fa85,_0x566a9e),this[_0x2fbe47(0x434)]=_0x4068a7,this[_0x2fbe47(0x431)]=_0x288494;}[_0x108c00(0x40e)](_0x35319d,_0x13e17f){var _0x2b25c8=_0x108c00;const _0x517ecc=this[_0x2b25c8(0x249)](_0x35319d);if(_0x517ecc)try{const _0x56bcd6=this[_0x2b25c8(0x3d8)](_0x517ecc,_0x13e17f);this['_substituteUndoStack'](_0x35319d,_0x56bcd6);}catch(_0xfebe50){this[_0x2b25c8(0x431)][_0x2b25c8(0x489)](_0x2b25c8(0x248),_0xfebe50),this[_0x2b25c8(0x400)](_0x35319d);}const _0x34cea7=this[_0x2b25c8(0x327)](_0x35319d);if(_0x34cea7)try{const _0x418d7=this[_0x2b25c8(0x3d8)](_0x34cea7,_0x13e17f);this[_0x2b25c8(0x467)](_0x35319d,_0x418d7);}catch(_0x1c0341){this[_0x2b25c8(0x431)][_0x2b25c8(0x489)](_0x1c0341),this['_clearRedo'](_0x35319d);}}['_clearUndo'](_0x160d17){var _0x344a40=_0x108c00;const _0x36efa2=this[_0x344a40(0x249)](_0x160d17);_0x36efa2&&(_0x36efa2[_0x344a40(0x24e)]=0x0,this[_0x344a40(0x42e)]());}[_0x108c00(0x480)](_0x123d71){var _0x19f4fc=_0x108c00;const _0x4ae133=this[_0x19f4fc(0x327)](_0x123d71);_0x4ae133&&(_0x4ae133[_0x19f4fc(0x24e)]=0x0,this['_updateStatus']());}[_0x108c00(0x497)](_0x5b1868,_0x1c10e4){var _0x1e0076=_0x108c00;this[_0x1e0076(0x347)][_0x1e0076(0x338)](_0x5b1868,_0x1c10e4),this[_0x1e0076(0x42e)]();}[_0x108c00(0x467)](_0x412f08,_0x4f752b){var _0x2d13d1=_0x108c00;this[_0x2d13d1(0x484)][_0x2d13d1(0x338)](_0x412f08,_0x4f752b),this['_updateStatus']();}['_transformStack'](_0x53622a,_0x54d67f){var _0x3ab98c=_0x108c00;const _0x111e5e=[];let _0x5a4aa8=_0x54d67f,_0x2c4f54=_0x54d67f;for(let _0x50379f=_0x53622a['length']-0x1;_0x50379f>=0x0;_0x50379f--){const {unitID:_0x1676c8,undoMutations:_0x3ffe2b,redoMutations:_0x5d5ebe}=_0x53622a[_0x50379f],_0x351fd0=this[_0x3ab98c(0x434)][_0x3ab98c(0x416)](_0x5a4aa8,_0x3ffe2b),_0xab3c8b=this[_0x3ab98c(0x434)][_0x3ab98c(0x416)](_0x2c4f54,_0x5d5ebe);if(_0x21b286(_0x351fd0)||_0x21b286(_0xab3c8b)){this[_0x3ab98c(0x431)]['error'](_0x3ab98c(0x248),_0x3ab98c(0x48e),_0x351fd0,_0xab3c8b);break;}_0x5a4aa8=_0x351fd0[_0x3ab98c(0x2aa)],_0x2c4f54=_0xab3c8b[_0x3ab98c(0x2aa)],_0x111e5e[_0x3ab98c(0x3d1)]({'unitID':_0x1676c8,'undoMutations':_0x351fd0[_0x3ab98c(0x40b)],'redoMutations':_0xab3c8b[_0x3ab98c(0x40b)]});}return _0x111e5e[_0x3ab98c(0x2f2)]();}};Pt=$s([Ae(0x0,_0x53b9e4),Ae(0x1,_0x2ea271),Ae(0x2,_0x133824),Ae(0x3,_0x1a1f85),Ae(0x4,_0x43bc54)],Pt);var xi=Object[_0x108c00(0x31d)],Hs=Object[_0x108c00(0x21a)],ks=(_0x52898b,_0x441bf6,_0x317fb8)=>_0x441bf6 in _0x52898b?xi(_0x52898b,_0x441bf6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x317fb8}):_0x52898b[_0x441bf6]=_0x317fb8,js=(_0x47e370,_0x2343f2,_0x466207,_0x5f3fbe)=>{var _0x299e2e=_0x108c00;for(var _0x1e5fc3=_0x5f3fbe>0x1?void 0x0:_0x5f3fbe?Hs(_0x2343f2,_0x466207):_0x2343f2,_0x417891=_0x47e370[_0x299e2e(0x24e)]-0x1,_0x38fce4;_0x417891>=0x0;_0x417891--)(_0x38fce4=_0x47e370[_0x417891])&&(_0x1e5fc3=(_0x5f3fbe?_0x38fce4(_0x2343f2,_0x466207,_0x1e5fc3):_0x38fce4(_0x1e5fc3))||_0x1e5fc3);return _0x5f3fbe&&_0x1e5fc3&&xi(_0x2343f2,_0x466207,_0x1e5fc3),_0x1e5fc3;},St=(_0x20371d,_0x2da256)=>(_0x84226c,_0x199a40)=>_0x2da256(_0x84226c,_0x199a40,_0x20371d),Bs=(_0xe6bc8,_0x1faa8d,_0x19bb5b)=>ks(_0xe6bc8,_0x1faa8d+'',_0x19bb5b);const Fs=_0x108c00(0x344);let wt=class extends _0x5c6bbe{constructor(_0x239870=Wt,_0xa99e4a,_0x5b87c8,_0x177626){var _0x455fb5=_0x108c00;super(),this[_0x455fb5(0x273)]=_0x239870,this[_0x455fb5(0x431)]=_0xa99e4a,this[_0x455fb5(0x2f0)]=_0x5b87c8,this[_0x455fb5(0x217)]=_0x177626;const {..._0x4fcba0}=_0x2b86b4({},Wt,this[_0x455fb5(0x273)]);this['_configService'][_0x455fb5(0x212)](q,_0x4fcba0);}[_0x108c00(0x252)](){var _0x2a7ac8=_0x108c00;this['_registerDependencies'](),this[_0x2a7ac8(0x355)]();}[_0x108c00(0x2d2)](){var _0x3de9f4=_0x108c00,_0x2e5f18,_0x49eb13,_0x52d218,_0x555e09;this[_0x3de9f4(0x2f0)][_0x3de9f4(0x417)](_0x3d7b9b)&&this[_0x3de9f4(0x431)]['error'](_0x3de9f4(0x404),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x102dbf=_0x1bf7e2([[_0x3d7b9b,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x49eb13=(_0x2e5f18=this[_0x3de9f4(0x273)])==null?void 0x0:_0x2e5f18[_0x3de9f4(0x1d9)])!=null?_0x49eb13:Et}],[_0x1eb830,{'useClass':Dt}],[_0x56f598,{'useClass':bt}],[_0x57a920,{'useClass':yt}],[_0x5aa3ec,{'useClass':Nt}],[rt],[Rt]],(_0x52d218=this[_0x3de9f4(0x273)])==null?void 0x0:_0x52d218['override']);if(!((_0x555e09=this[_0x3de9f4(0x273)])!=null&&_0x555e09['enableSingleActiveInstanceLock'])){const _0x1b15e4=_0x102dbf[_0x3de9f4(0x223)](([_0x182b15])=>_0x182b15===ht);_0x1b15e4!==-0x1&&_0x102dbf[_0x3de9f4(0x3b8)](_0x1b15e4,0x1);}_0x47bf02(this[_0x3de9f4(0x2f0)],_0x102dbf);}[_0x108c00(0x355)](){var _0xfe3636=_0x108c00,_0x3f694e,_0x566a11,_0x31d7b8;this[_0xfe3636(0x2f0)][_0xfe3636(0x260)](_0x55772)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3fa970({'maxParallel':0x6})}),(_0x3f694e=this['_config'])!=null&&_0x3f694e['enableOfflineEditing']||(_0x566a11=this[_0xfe3636(0x2f0)][_0xfe3636(0x260)](J,_0x22b518[_0xfe3636(0x291)]))==null||_0x566a11['disableLocalCache'](),(_0x31d7b8=this[_0xfe3636(0x273)])!=null&&_0x31d7b8[_0xfe3636(0x220)]&&_0x4cd4cf(this['_injector'],[[st]]),_0x4cd4cf(this[_0xfe3636(0x2f0)],[[ot],[rt],[at]]);}};Bs(wt,_0x108c00(0x1f2),Fs),wt=js([_0x16d9ef(_0x1daddb,_0x26f6ff,_0xa6c39c),St(0x1,_0x43bc54),St(0x2,_0x22b705(_0x491816)),St(0x3,_0x1c99c2)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x409aab=_0x5cef;(function(_0x53e03f,_0xc1915b){var _0x53ea49=_0x5cef,_0x4b8935=_0x53e03f();while(!![]){try{var _0x5f42c0=-parseInt(_0x53ea49(0x1cb))/0x1*(-parseInt(_0x53ea49(0x2c9))/0x2)+-parseInt(_0x53ea49(0xda))/0x3*(parseInt(_0x53ea49(0x125))/0x4)+-parseInt(_0x53ea49(0x2f7))/0x5+-parseInt(_0x53ea49(0x30c))/0x6*(-parseInt(_0x53ea49(0x1a5))/0x7)+parseInt(_0x53ea49(0x2fe))/0x8*(parseInt(_0x53ea49(0x280))/0x9)+parseInt(_0x53ea49(0x357))/0xa+-parseInt(_0x53ea49(0x26f))/0xb*(-parseInt(_0x53ea49(0x378))/0xc);if(_0x5f42c0===_0xc1915b)break;else _0x4b8935['push'](_0x4b8935['shift']());}catch(_0x17a28e){_0x4b8935['push'](_0x4b8935['shift']());}}}(_0x43da,0xe5fdf));var Li=Object['defineProperty'],Mi=(_0x235e12,_0x38d2c1,_0x462fc8)=>_0x38d2c1 in _0x235e12?Li(_0x235e12,_0x38d2c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x462fc8}):_0x235e12[_0x38d2c1]=_0x462fc8,N=(_0x4023a3,_0x3f8671,_0x15a5df)=>Mi(_0x4023a3,typeof _0x3f8671!='symbol'?_0x3f8671+'':_0x3f8671,_0x15a5df);import{createIdentifier as _0x28cd97,Inject as _0x301a99,Injector as _0x2b67f5,Disposable as _0x237ec8,DisposableCollection as _0x427350,toDisposable as _0x27b28a,IConfigService as _0x424efc,ILogService as _0x51fdc8,UserManagerService as _0x60bf25,UniverInstanceType as _0x1105ca,IUniverInstanceService as _0x5b9095,LocaleService as _0x226151,Optional as _0x59bb9f,RxDisposable as _0x5432f0,Tools as _0x4cedbb,Rectangle as _0x43756b,ICommandService as _0x38398c,JSONX as _0x4adf09,CommandType as _0x32bab5,IPermissionService as _0x53aaa3,IUndoRedoService as _0x347dd8,sequenceExecute as _0x4d0624,Workbook as _0x2c57dc,MentionType as _0xd2767b,IAuthzIoService as _0x66d78d,isInternalEditorID as _0x3ae67a,LocalUndoRedoService as _0xd72f3,IContextService as _0x529d62,DependentOn as _0x23c9bf,Plugin as _0x54061f,merge as _0x2d3938,mergeOverrideWithDependencies as _0x2f074d,IMentionIOService as _0xc08431,registerDependencies as _0x32949a,Quantity as _0x35bf48,touchDependencies as _0x235076}from'@univerjs/core';import{Subject as _0x221b68,merge as _0xd1cd7d,of as _0xb5d9ed,BehaviorSubject as _0x4d6645,takeUntil as _0x42b577,ReplaySubject as _0x30bf6e,take as _0x114191,map as _0x2e303b,shareReplay as _0x5a4e87,firstValueFrom as _0x14671f,concatMap as _0xef4fa5}from'rxjs';import{map as _0x1033eb,take as _0x4c4cf4,filter as _0x12594c,delay as _0x4f1603,takeUntil as _0x25b559}from'rxjs/operators';import{HTTPService as _0x160d38,ISocketService as _0x2acf92,MergeInterceptorFactory as _0x172571,HTTPRequest as _0x31cab0,UniverNetworkPlugin as _0x3a4980,ThresholdInterceptorFactory as _0x3cd65e}from'@univerjs/network';import{CollaborationEvent as _0x4dbda1,parseChangesetToProtocol as _0x1c1efb,ISnapshotServerService as _0x56b9d4,isTransformMutationsWithChangesetSuccess as _0x3b7428,ITransformService as _0x21beed,mapDocumentTypeToUniverType as _0x1ef88f,RevisionService as _0x5c64fe,isTransformChangesetsSuccess as _0x1a2c23,CompressMutationService as _0x24d2cc,parseProtocolChangeset as _0x36b852,SnapshotService as _0x37ccd2,textEncoder as _0x164eab,b64DecodeUnicode as _0x2f7481,isTransformMutationsWithChangesetFailure as _0x38d193,UniverCollaborationPlugin as _0x259d1f}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1c6a20}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x27c4da}from'@univerjs/docs';import{SheetsSelectionsService as _0x3f9f4a,SetSelectionsOperation as _0x30be4e,InsertSheetMutation as _0x229cee,EmptyMutation as _0x540daa,WorkbookEditablePermission as _0x4e3789,SheetPermissionInitController as _0x377187,UniverSheetsPlugin as _0x2152ff}from'@univerjs/sheets';import{ImageSourceType as _0x5d518d,ImageUploadStatusType as _0x46e417,IImageIoService as _0x261313}from'@univerjs/drawing';import{getGlobalObject as _0x27e758}from'@univerjs-pro/license';const En=_0x409aab(0x2ba),In='/universer-api/snapshot',Tn=_0x409aab(0x14f),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x409aab(0x310),On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x409aab(0x141),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x409aab(0x362),io=0x3e8,Un=_0x409aab(0xbb),An='/universer-api/comb',xn=_0x409aab(0x299),Ln=_0x409aab(0x154),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x409aab(0xe1);var Ii=(_0x51569f=>(_0x51569f[_0x51569f[_0x409aab(0x1e6)]=0x0]=_0x409aab(0x1e6),_0x51569f[_0x51569f['OK']=0x1]='OK',_0x51569f[_0x51569f[_0x409aab(0x19e)]=0x2]=_0x409aab(0x19e),_0x51569f[_0x51569f[_0x409aab(0x220)]=0x3]=_0x409aab(0x220),_0x51569f[_0x51569f[_0x409aab(0x26b)]=0x4]=_0x409aab(0x26b),_0x51569f[_0x51569f[_0x409aab(0x1b5)]=0x5]='UNAUTHENTICATED',_0x51569f[_0x51569f[_0x409aab(0x293)]=0x6]=_0x409aab(0x293),_0x51569f[_0x51569f['INVALID_ARGUMENT']=0x7]=_0x409aab(0x16f),_0x51569f[_0x51569f[_0x409aab(0x25b)]=0x8]=_0x409aab(0x25b),_0x51569f[_0x51569f['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x51569f[_0x51569f[_0x409aab(0x167)]=0x1389]=_0x409aab(0x167),_0x51569f[_0x51569f[_0x409aab(0x2a6)]=0x1771]=_0x409aab(0x2a6),_0x51569f[_0x51569f[_0x409aab(0x300)]=0x1772]=_0x409aab(0x300),_0x51569f[_0x51569f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x409aab(0x21a),_0x51569f[_0x51569f['APPLY_REJECT']=0x1b59]=_0x409aab(0x344),_0x51569f[_0x51569f[_0x409aab(0x1a3)]=0x1b5a]=_0x409aab(0x1a3),_0x51569f[_0x51569f[_0x409aab(0xc1)]=0x1b5b]=_0x409aab(0xc1),_0x51569f[_0x51569f['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51569f[_0x51569f[_0x409aab(0x313)]=0x1b5d]=_0x409aab(0x313),_0x51569f[_0x51569f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x51569f[_0x51569f[_0x409aab(0xc6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51569f[_0x51569f[_0x409aab(0x2f8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x51569f[_0x51569f['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x409aab(0x277),_0x51569f[_0x51569f[_0x409aab(0x322)]=0x232c]=_0x409aab(0x322),_0x51569f[_0x51569f[_0x409aab(0x2c6)]=0x232d]=_0x409aab(0x2c6),_0x51569f[_0x51569f[_0x409aab(0xcf)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x51569f[_0x51569f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x409aab(0x382),_0x51569f[_0x51569f[_0x409aab(0x276)]=0x2713]=_0x409aab(0x276),_0x51569f[_0x51569f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x409aab(0x9b),_0x51569f[_0x51569f[_0x409aab(0x105)]=0x2af9]=_0x409aab(0x105),_0x51569f[_0x51569f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x51569f))(Ii||{}),Q=(_0x5aba49=>(_0x5aba49[_0x5aba49[_0x409aab(0x151)]=0x0]=_0x409aab(0x151),_0x5aba49[_0x5aba49[_0x409aab(0x20f)]=0x1]='UNIVER_DOC',_0x5aba49[_0x5aba49[_0x409aab(0x8e)]=0x2]=_0x409aab(0x8e),_0x5aba49[_0x5aba49['UNIVER_SLIDE']=0x3]=_0x409aab(0x355),_0x5aba49[_0x5aba49['UNIVER_PROJECT']=0x4]=_0x409aab(0x35f),_0x5aba49[_0x5aba49[_0x409aab(0x279)]=-0x1]=_0x409aab(0x279),_0x5aba49))(Q||{}),F=(_0x3513ff=>(_0x3513ff[_0x3513ff['UNKNOWN_CMD']=0x0]=_0x409aab(0xc2),_0x3513ff[_0x3513ff['HELLO']=0x1]='HELLO',_0x3513ff[_0x3513ff['JOIN']=0x2]=_0x409aab(0x212),_0x3513ff[_0x3513ff[_0x409aab(0x182)]=0x3]=_0x409aab(0x182),_0x3513ff[_0x3513ff['INGEST']=0x4]=_0x409aab(0x17c),_0x3513ff[_0x3513ff[_0x409aab(0x19d)]=0x5]=_0x409aab(0x19d),_0x3513ff[_0x3513ff[_0x409aab(0x264)]=0x6]=_0x409aab(0x264),_0x3513ff[_0x3513ff[_0x409aab(0x279)]=-0x1]=_0x409aab(0x279),_0x3513ff))(F||{}),Ee=(_0x40930f=>(_0x40930f[_0x40930f['UNKNOWN_CODE']=0x0]=_0x409aab(0x14d),_0x40930f[_0x40930f['OK']=0x1]='OK',_0x40930f[_0x40930f[_0x409aab(0x268)]=0x2]='FAIL',_0x40930f[_0x40930f[_0x409aab(0xe8)]=0x3e9]='JOIN_ROOM_FULL',_0x40930f[_0x40930f[_0x409aab(0x33b)]=0x3ea]=_0x409aab(0x33b),_0x40930f[_0x40930f[_0x409aab(0x2b4)]=0x3eb]=_0x409aab(0x2b4),_0x40930f[_0x40930f[_0x409aab(0x253)]=0x3ec]=_0x409aab(0x253),_0x40930f[_0x40930f[_0x409aab(0x279)]=-0x1]='UNRECOGNIZED',_0x40930f))(Ee||{}),Ti=(_0x512e65=>(_0x512e65[_0x512e65[_0x409aab(0x291)]=0x0]=_0x409aab(0x291),_0x512e65[_0x512e65[_0x409aab(0x243)]=0x1]=_0x409aab(0x243),_0x512e65[_0x512e65[_0x409aab(0xa0)]=0x2]=_0x409aab(0xa0),_0x512e65[_0x512e65[_0x409aab(0xa5)]=0x3]='UnitEmbedded',_0x512e65[_0x512e65[_0x409aab(0x223)]=0x4]=_0x409aab(0x223),_0x512e65[_0x512e65[_0x409aab(0x279)]=-0x1]='UNRECOGNIZED',_0x512e65))(Ti||{});const q=_0x409aab(0x2be),Wt={};var se=(_0x3a6426=>(_0x3a6426[_0x409aab(0x247)]='OTHER_CLIENT_EDITING',_0x3a6426[_0x409aab(0x220)]='PERMISSION_DENIED',_0x3a6426[_0x409aab(0x1e1)]=_0x409aab(0x1e1),_0x3a6426['CLOSE_ROOM']='CLOSE_ROOM',_0x3a6426[_0x409aab(0x91)]=_0x409aab(0x91),_0x3a6426[_0x409aab(0xfb)]=_0x409aab(0xfb),_0x3a6426[_0x409aab(0x270)]=_0x409aab(0x270),_0x3a6426['SUBMIT_CHANGESET_TIMEOUT']=_0x409aab(0x34d),_0x3a6426))(se||{});class pe{constructor(){var _0x12da9f=_0x409aab;N(this,_0x12da9f(0x2fb),new _0x221b68()),N(this,_0x12da9f(0x30b),this['_event$'][_0x12da9f(0x1cd)]());}[_0x409aab(0x207)](_0x2f00e0){var _0x537938=_0x409aab;this[_0x537938(0x2fb)][_0x537938(0x10a)](_0x2f00e0);}}const Mn=_0x28cd97('univer-pro.collaboration-client.network-condition.service');function $n(_0x4e2e0a){var _0x1f8954=_0x409aab,_0x5bd380,_0x490185,_0x466d5d,_0x6e7dbb,_0x4508a5;const _0x5acac4=_0x4e2e0a['data'],_0xd6305e=JSON[_0x1f8954(0x377)](_0x5acac4);switch(_0xd6305e[_0x1f8954(0xb3)]){case F['HEARTBEAT']:case F[_0x1f8954(0x1ba)]:{const _0x3200fa=_0xd6305e[_0x1f8954(0x383)];return{..._0xd6305e,'data':_0x3200fa,'cmd':_0xd6305e[_0x1f8954(0xb3)]};}case F[_0x1f8954(0x212)]:{const _0x3af054=_0xd6305e[_0x1f8954(0x210)];return{..._0xd6305e,'data':_0x3af054,'cmd':_0xd6305e['cmd']};}case F[_0x1f8954(0x264)]:{const _0x1ab423=_0xd6305e['collaMsg'];switch(_0x1ab423['eventID']){case _0x4dbda1[_0x1f8954(0x31c)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x5bd380=_0x1ab423['permissionRejEvent'])==null?void 0x0:_0x5bd380['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['CHANGESET_ACK']:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x490185=_0x1ab423[_0x1f8954(0x2af)])==null?void 0x0:_0x490185['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x376)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x466d5d=_0x1ab423[_0x1f8954(0x372)])==null?void 0x0:_0x466d5d['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x285)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x6e7dbb=_0x1ab423['csRejEvent'])==null?void 0x0:_0x6e7dbb['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['CHANGESET_SHOULD_RETRY']:return{..._0xd6305e,'data':{..._0x1ab423,'data':(_0x4508a5=_0x1ab423[_0x1f8954(0x28f)])==null?void 0x0:_0x4508a5['cs']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x188)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x28a)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x1e7)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x15a)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x1c7)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0xee)]},'cmd':_0xd6305e['cmd']};case _0x4dbda1[_0x1f8954(0x2cb)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x227)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['LIVESHARE_FETCH_OPERATIONS']:case _0x4dbda1['LIVESHARE_OPERATION']:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423['liveShareOperation']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x140)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x227)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x2a0)]:return{..._0xd6305e,'data':_0x1ab423,'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x1c3)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423['commentUpdateEvent']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x97)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423['updatePermissionObjEvent']},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1[_0x1f8954(0x28c)]:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x165)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};case _0x4dbda1['UNISCRIPT_RUN']:return{..._0xd6305e,'data':{..._0x1ab423,'data':_0x1ab423[_0x1f8954(0x135)]},'cmd':_0xd6305e[_0x1f8954(0xb3)]};default:return _0xd6305e;}}default:return _0xd6305e;}}function Hn(_0x1c6898){var _0xc75599=_0x409aab;switch(_0x1c6898[_0xc75599(0xb3)]){case F[_0xc75599(0x19d)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x1c6898[_0xc75599(0xb3)],'routeKey':_0x1c6898[_0xc75599(0x235)]});case F[_0xc75599(0x17c)]:{let _0xc5903a;switch(_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0xe0)]){case _0x4dbda1[_0xc75599(0x188)]:{_0xc5903a={'eventID':_0x4dbda1['UPDATE_CURSOR'],'updateCursorEvent':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x1c7)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x1c7)],'leaveEvent':_0x1c6898[_0xc75599(0x2bd)]['data']};break;}case _0x4dbda1[_0xc75599(0x1e7)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x1e7)],'joinEvent':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x2cb)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x2cb)],'liveShareNewHost':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x32e)]:{_0xc5903a={'eventID':_0x4dbda1['LIVESHARE_OPERATION'],'liveShareOperation':_0x1c6898[_0xc75599(0x2bd)][_0xc75599(0x2bd)]};break;}case _0x4dbda1['LIVESHARE_TERMINATE']:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x140)],'liveShareTerminate':_0x1c6898['data'][_0xc75599(0x2bd)]};break;}case _0x4dbda1[_0xc75599(0x2a9)]:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0x2a9)],'liveShareRequestHost':_0x1c6898[_0xc75599(0x2bd)]['data']};break;}case _0x4dbda1['LIVESHARE_FETCH_OPERATIONS']:{_0xc5903a={'eventID':_0x4dbda1[_0xc75599(0xb5)]};break;}default:_0xc5903a={'eventID':_0x1c6898['data'][_0xc75599(0xe0)]};}return JSON[_0xc75599(0xfc)]({'cmd':_0x1c6898[_0xc75599(0xb3)],'routeKey':_0x1c6898[_0xc75599(0x235)],'collaMsg':_0xc5903a});}case F[_0xc75599(0x212)]:return JSON[_0xc75599(0xfc)]({'cmd':_0x1c6898[_0xc75599(0xb3)],'routeKey':_0x1c6898[_0xc75599(0x235)],'joinReq':_0x1c6898['data']});case F[_0xc75599(0x182)]:return JSON[_0xc75599(0xfc)]({'cmd':_0x1c6898['cmd'],'routeKey':_0x1c6898['routeKey'],'leaveReq':_0x1c6898[_0xc75599(0x2bd)]});default:throw new Error(_0xc75599(0x1bc));}}var kn=Object[_0x409aab(0x1b3)],jn=Object[_0x409aab(0x308)],Bn=(_0x567383,_0x144cf4,_0x4cae45,_0x200968)=>{var _0x475338=_0x409aab;for(var _0xb6ffe6=_0x200968>0x1?void 0x0:_0x200968?jn(_0x144cf4,_0x4cae45):_0x144cf4,_0x19b84e=_0x567383[_0x475338(0xb8)]-0x1,_0xb2b727;_0x19b84e>=0x0;_0x19b84e--)(_0xb2b727=_0x567383[_0x19b84e])&&(_0xb6ffe6=(_0x200968?_0xb2b727(_0x144cf4,_0x4cae45,_0xb6ffe6):_0xb2b727(_0xb6ffe6))||_0xb6ffe6);return _0x200968&&_0xb6ffe6&&kn(_0x144cf4,_0x4cae45,_0xb6ffe6),_0xb6ffe6;},Ue=(_0x57706d,_0x5b6037)=>(_0x17cdeb,_0x31a71a)=>_0x5b6037(_0x17cdeb,_0x31a71a,_0x57706d);const Ci=_0x28cd97(_0x409aab(0x2dd));function Fn(_0xaee52c,_0x85c4b9,_0x2def41){var _0x28be46=_0x409aab;return _0xaee52c+'/'+_0x85c4b9+_0x28be46(0x273)+_0x2def41+'/new_changes';}let Et=class extends _0x237ec8{constructor(_0x14ae6f,_0x48593e,_0x540c1a,_0x3e5a36,_0x1299d0){var _0x4dc19d=_0x409aab;super(),this['_injector']=_0x14ae6f,this[_0x4dc19d(0x19b)]=_0x48593e,this['_configService']=_0x540c1a,this[_0x4dc19d(0x21d)]=_0x3e5a36,this[_0x4dc19d(0x17b)]=_0x1299d0;}[_0x409aab(0x278)](_0x19142d){var _0x1bf807=_0x409aab;const _0x34f732=this[_0x1bf807(0x8c)][_0x1bf807(0x24c)](_0x2acf92);if(!_0x34f732)throw new Error(_0x1bf807(0x2ec));const _0x20b181=_0x34f732[_0x1bf807(0x278)](_0x19142d);if(!_0x20b181)throw new Error(_0x1bf807(0x2e7));const _0x12b093=new _0x427350(),_0x22d0ef=new _0x221b68();_0x12b093[_0x1bf807(0x24a)](_0x20b181[_0x1bf807(0x1ab)]['subscribe'](_0x44917c=>_0x22d0ef['next'](_0x44917c))),_0x12b093['add'](_0x27b28a(()=>_0x22d0ef[_0x1bf807(0x37a)]()));const _0x9de1a0=new _0x221b68();_0x12b093[_0x1bf807(0x24a)](_0x20b181['error$']['subscribe'](_0x19c3d1=>_0x9de1a0['next'](_0x19c3d1))),_0x12b093[_0x1bf807(0x24a)](_0x27b28a(()=>_0x9de1a0['complete']()));const _0x4fa1e5=new _0x221b68();_0x12b093[_0x1bf807(0x24a)](_0x20b181['message$'][_0x1bf807(0x136)](_0x3f04a6=>{const _0x596e25=$n(_0x3f04a6);_0x4fa1e5['next'](_0x596e25);})),_0x12b093[_0x1bf807(0x24a)](_0x27b28a(()=>_0x4fa1e5[_0x1bf807(0x37a)]()));let _0x5e12d1;const _0x9b8cdf=()=>{var _0x215f35=_0x1bf807;_0x9de1a0[_0x215f35(0x10a)](new Event(_0x215f35(0x202))),_0x22d0ef[_0x215f35(0x10a)](new CloseEvent(_0x215f35(0x202))),_0x5e12d1['close']();};return _0x5e12d1={'memberID':'','close$':_0x22d0ef[_0x1bf807(0x1cd)](),'error$':_0x9de1a0['asObservable'](),'open$':_0x20b181[_0x1bf807(0x10b)],'message$':_0x4fa1e5[_0x1bf807(0x1cd)](),'send':_0x48a3e1=>{var _0x572865=_0x1bf807;if(_0x48a3e1[_0x572865(0xb3)]===F[_0x572865(0x17c)]){if(_0x48a3e1[_0x572865(0x2bd)][_0x572865(0xe0)]===_0x4dbda1['SUBMIT_CHANGESET']){this[_0x572865(0xba)](_0x5e12d1,_0x48a3e1[_0x572865(0x2bd)])[_0x572865(0x33c)](_0x2ce59e=>{var _0x24c66b=_0x572865;this[_0x24c66b(0x21d)][_0x24c66b(0x36f)](_0x2ce59e),_0x9b8cdf();});return;}if(_0x48a3e1[_0x572865(0x2bd)][_0x572865(0xe0)]===_0x4dbda1[_0x572865(0x290)]){const _0x3b4ba1=_0x48a3e1[_0x572865(0x2bd)];this[_0x572865(0x196)](_0x3b4ba1)['then'](_0x44dc78=>{var _0x5eaa11=_0x572865;_0x4fa1e5[_0x5eaa11(0x10a)]({'cmd':F[_0x5eaa11(0x264)],'code':Ee['OK'],'routeKey':_0x3b4ba1[_0x5eaa11(0x2bd)][_0x5eaa11(0x8d)],'routeType':'','data':{'eventID':_0x4dbda1[_0x5eaa11(0x288)],'data':{'changesets':_0x44dc78}}});})[_0x572865(0x33c)](_0x1d0cb7=>{var _0x43bfc4=_0x572865;this[_0x43bfc4(0x21d)][_0x43bfc4(0x36f)](_0x1d0cb7),_0x9b8cdf();});return;}}_0x20b181[_0x572865(0x2cc)](Hn(_0x48a3e1));},'close':()=>{_0x20b181['close'](),_0x12b093['dispose']();}},_0x5e12d1;}async['_submitChangeset'](_0x20d79c,_0x524038){var _0x2ba280=_0x409aab,_0x3bbb57,_0xe6215e;const {unitType:_0x3fe3a5,unitID:_0x9bec29,changeset:_0x6a4d6b}=_0x524038[_0x2ba280(0x2bd)],_0x968f1f={'unitID':_0x9bec29,'memberID':_0x20d79c[_0x2ba280(0x331)],'type':_0x3fe3a5,'changeset':_0x1c1efb(_0x6a4d6b)},_0x31379e=this[_0x2ba280(0xd2)][_0x2ba280(0x294)](Un),_0x4308f7=this[_0x2ba280(0xd2)][_0x2ba280(0x294)](q),_0x203427=Fn((_0xe6215e=(_0x3bbb57=_0x4308f7==null?void 0x0:_0x4308f7['collabSubmitChangesetUrl'])!=null?_0x3bbb57:_0x31379e)!=null?_0xe6215e:An,_0x3fe3a5,_0x9bec29);try{await this['_http'][_0x2ba280(0x215)](_0x203427,{'body':_0x968f1f});}catch(_0x4f61f3){throw this[_0x2ba280(0x21d)][_0x2ba280(0x36f)](_0x2ba280(0x226),_0x2ba280(0xdc)),_0x4f61f3;}}async['_fetchMissChangesets'](_0x53f1f3){var _0x2e45b4=_0x409aab;const {unitID:_0x399141,from:_0x5941fb,to:_0x7e000f,unitType:_0x84f336}=_0x53f1f3[_0x2e45b4(0x2bd)];return(await this[_0x2e45b4(0x17b)][_0x2e45b4(0x1e0)]({'metadata':void 0x0},{'unitID':_0x399141,'type':_0x84f336,'from':_0x5941fb,'to':_0x7e000f}))['changesets'];}};Et=Bn([Ue(0x0,_0x301a99(_0x2b67f5)),Ue(0x1,_0x301a99(_0x160d38)),Ue(0x2,_0x424efc),Ue(0x3,_0x51fdc8),Ue(0x4,_0x56b9d4)],Et);function _0x43da(){var _0xaf0f1e=['code','updateOfflineData','_hasher','stopTime','_getUploadFileURL','collaboration-client.local-cache-service','updateCollaborator','entityInit$','snapshotServerUrl','size','error$','_collaborationUIEventService','action','_onConnectionOpen','indexOf','getWorkbookSelections','univer-pro.collaboration-client-socket-service','encode','sessionStatus$','UNIVER_COLLABORATION_CLIENT_PLUGIN','_sessionStatus$','/collaborator','_applyRemoteChangeset','_getRedoStack','from','signUrlServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onRemoteRetry','_nDataBytes','\x20to\x20','_isPermissionRej','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','OpenSSL','_updateStatus','_resendTimeout','dispose$','mode','CBC','bind','HmacMD5','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','3319560EVDwMn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onRemoteRej','url','_event$','Cipher','FETCH_MISS','7472NiovCE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SNAPSHOT_HAS_BEEN_REMOVED','MD5','transformSelections','resend','status$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_map','getOwnPropertyDescriptor','result','_showConflictNotification','event$','1006524HDDnsN','rev','[CollaborationEntity]','exports','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_SHOULD_RETRY','onload','APPLY_DUPLICATED','_authzIoService','randomUUID','localCacheService','_getSendChangesetTimeout','conflict','update','session.room-permission-denied','$super','PERMISSION_REJ','_telemetryInfo','randomBytes','_commandService','_change$','key','LICENSE_EXPORT_SIZE_EXCEEDED','members','_revisionService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','Hasher','_httpService','execute','salt','responseType','origin','_scheduleCompleteTimestamp','session.room-full','LIVESHARE_OPERATION','PasswordBasedCipher','_getLoginPath','memberID','[CollaborationSessionService]:\x20socket\x20error','_config','sid','_unitID','_clearLocalCache','onTransformRemoteChangesetByStateCache','_toggleOnline','_changesetSessionId','_onConnectionFailed','JOIN_ROOM_NOT_EXISTS','catch','_oKey','lib','_roomMembers','baseRev','confirm','runId','_createInitialState','APPLY_REJECT','addHandlerCallback','dispose','putCollaborators','function','loadOfflineData','unit-cache-','_retryCount','[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.','SUBMIT_CHANGESET_TIMEOUT','not_collab','charCodeAt','loadUnit','actions','_loadDoc','onlyLocal','charAt','UNIVER_SLIDE','_state','11542080qYDycL','Base64','_process','ivSize','max','getTime','_collaborationSessionService','onTransformRemoteChangesetByIMECache','UNIVER_PROJECT','/universer-api/file/{fileID}/sign-url','objects','LOCAL_CACHE_INTERVAL','padding','_scheduleCollaborationTimeoutTimer','readInt32LE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','refreshPermission','OFFLINE','_unlockTransition','_telemetryService','Error\x20on\x20receiving\x20event','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_substituteRedoStack','onLocalMutation','error','_registerDependencies','m2Prime','newCsEvent','_roomCreated$','repeat','_onRecvEvent','NEW_CHANGESETS','parse','1433148qQWzhX','awaitingChangeset','complete','/universer-api/authz','_unitInfo$','unknown','_transformIMECache','_pendingMutations','_sender','_socketReady','YUUMI_URL_COL_OUT_OF_RANGE','infoRsp','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_executeRemoteChangeset','toLowerCase','getValue','_injector','unitID','UNIVER_SHEET','push','getImageSourceCache','JOIN_ROOM_FAILED','textRanges','_HTTPService','_onCombEvent','Malformed\x20UTF-8\x20data','equals','UPDATE_PERMISSION_OBJ','UUID','getUnitStatus$','SUBMIT_CHANGESET','YUUMI_SUBSCRIPTION_NOT_FOUND','_remoteChangesetQueue','kdf','socketService','_instanceService','HttpExport','onMissingChangesets','getInterceptPoints','updatePermissionPoint','awaiting_with_pending','UnitEmbedded','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSheetBlock','executeCommand','getRoom','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','encrypt','onCommandExecuted','addImageSourceCache','headers','[SyncedState]:\x20received\x20acknowledgement.','getSnapshotAPIPath','_cipher','_init','cmd','CHANGESET_ACK','LIVESHARE_FETCH_OPERATIONS','search','_clearHeartbeatTimer','length','apply','_submitChangeset','COLLAB_SUBMIT_CHANGESET_URL','startTime','_entities','/fetchmissing?from=','enableOfflineEditing','univer-pro.collaboration-client.single-active-unit-service','APPLY_REVISION_CONFILICT','UNKNOWN_CMD','selections','disposeWithMe','wsSessionTicketUrl','LICENSE_MAX_UNITS_EXCEEDED','src','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','focused$','compose','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_initMergeInterceptor','_onLocalMutation','substr','YUUMI_UNABLE_LOAD_URL','People','\x0aCurrent:\x20','_configService','[FetchMissState]','_permissionService','keySize','_socket$','_updateState','patch','concat','5157033GxYERT','change$','submit\x20changeset\x20error!','_queuedRemoteChangesets','_loadSheet','HMAC','eventID','/universer-api/uniscript','_state$','_clearTimeoutTimer','_socketService','slice','_onUserLeave','reverse','JOIN_ROOM_FULL','getSheetBlock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','readyForCollab','deleteCollaborator','saveChangeset','leaveEvent','_waitCount','COMPRESS_MUTATION_SEND','unpad','_compressMutationService','ciphertext','_redoStacks','roomInfos','MUTATION','close','AWAITING','_entityInit$','NOT_COLLAB','SOCKET_FAILED_RETRY','stringify','_waitForHeartbeatResponse','_initUnitPermissionChange','pad','blockSize','createEncryptor','subject','call','Encryptor','PY_RUNTIME_SCRIPT_ERROR','[OfflineState]:\x20received\x20rejection.','range','_undoRedoService','_clearUndo','next','open$','subUnitId','_append','originalMeta','_startCollaboration','_createSocketURL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','objectID','_onConflict','toggleOnline','enableSingleActiveInstanceLock','location','requireSession','commentUpdate$','failed\x20to\x20apply\x20missed\x20changesets!','debug','synced','createDecryptor','&source=','OTHER_CLIENTS_EDITING','_undoStacks','getAllMembers','override','_sendHeartbeatTimer','find','clamp','4EkZzMR','setWaitCount','reqId','unitInfo$','default','Base','createInstance','_handler','message$','_transitionLocked','_clearRedo','_createHelper','params','splice','_rescheduleHeartbeat','_onFetchMissResult','uniscriptRunEvent','subscribe','_createHandler','_parse','online$','localeService','PERSON','generateRandomId','_keySchedule','unsubscribe','_key','LIVESHARE_TERMINATE','HEARTBEAT_TIMEOUT','Decryptor','removeMember','c1Prime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','collaborators','_resendWithTimeout','_substituteUndoStack','COMPRESS_MUTATION_APPLY','JOINING','onCommentUpdate','_doFinalize','UNKNOWN_CODE','title','SNAPSHOT_URL_KEY','getTypeOfUnitDisposed$','UNIVER_UNKNOWN','interceptor','_mode','/universer-api/oidc/authpage','algo','_getUndoStack','roles','CLOSE_ROOM','_commentUpdate$','joinEvent','onRemoteChangeset','fetch_missing','getCollabEntity','_prevBlock','_getAPIPrefix','transformUndoRedo','_minBufferSize','reconnect','reject','_onRemoteRejected','shouldCloseConn','extend','CHANGESET_REVISION_CONFILICT','toggleOffline','saveSnapshot','transformMutationsWithChangeset','/role','_transformRemoteChangesetByStateCache','mixIn','setCurrentUser','INVALID_ARGUMENT','join','words','sigBytes','ticket','AES','getActiveSheet','loadSheet','readAsDataURL','onTransformIME','_getSignURL','_checkMissing','_snapshotServerService','INGEST','_snapshotService','PENDING','state$','onStarting','_transformStack','LEAVE','_sendingTimer','_startTelemetryCollaborationNewChangeset','onSyncEditingCollabCursor','_collabSessionService','_clearScheduledTask','UPDATE_CURSOR','_changesetReqId','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','startsWith','listRoles','transformStack\x20failed!','sessionStatus','_univerInstanceService','Utf8','save\x20fail\x20reason\x20is\x20','searchParams','SerializableCipher','_doProcessBlock','_decreaseWaiting','_fetchMissChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/bmp','buffer','onTransformSelections','_http','[PendingState]:\x20received\x20rejection.','HEARTBEAT','INTERNAL_ERROR','_getDownloadEndpointURL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','objectActions','APPLY_NON_SEQUENTIAL_REVISION','onMissedChangesetFetched','14iXKBSM','downloadEndpointUrl','_retryConnectingTimer','pipe','_clearCollaborationTimeoutTimer','incrementRevOfUnit','close$','_transformSelections','_initRequestHeader','_nRounds','workbook','/block/','updateMember','init','defineProperty','getCollabEntity$','UNAUTHENTICATED','/object/','reset','&assign=','image/jpeg','HELLO','file','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_socketMessageSubscription','[OfflineState]:\x20received\x20changeset.','_getCurrentRevision','_sendHeartbeat','[DataLoaderService]','prototype','COMMENT_UPDATE','_disableEditing','_replaceFileID','_socket','USERS_LEAVE','withCredentials','now','every','2732cRcobx','_handlerCallback','asObservable','floor','Pkcs7','getRandomValues','_userManagerService','ceil','_members$','capture','__creator','unitId','_transformRemoteChangesetByIMECache','decrypt','_iKey','uploadFileServerUrl','_ENC_XFORM_MODE','_tryEnsureSocket','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_removeRoom','forEach','fetchMissingChangesets','CONFLICT','_memberService','session','socket\x20close','hostname','UNDEFINED','USERS_ENTER','getUnitId','members$','Latin1','put','_replayCachedMutations','compute','includes','cfg','_onJoinRoomEvent','values','/object','_hash','_shouldReportTelemetry','BASE64','_imageSourceCache','SHA1','_onRemoteChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','objectType','create','_type','mutations','StreamCipher','enc','_getCtorByUniverType','abs','connection\x20error','Univer','body','getCurrentRevOfUnit','_singleActiveUnitService','emitEvent','clear','_members','Hex','copyFileMeta','msCrypto','image/jpg','auth.needGotoLoginAlert','UNIVER_DOC','joinRsp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','JOIN','_transformService','has','post','_sessions','_schedule','registerHTTPInterceptor','_data','ENSURE_SNAPSHOT_EXECUTION','fromCharCode','getImage','_logService','_commentService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_DENIED','_syncEditingCollabCursor','getMemberID','UnitSnapshot','x-univer-host','_resendTimer','[CollaborationSession]','liveShareNewHost','clone','string','fetchThroughInterceptors','/-/object/list','isPermissionRej','isArray','_doCryptBlock','DEFAULT_FILE_NAME','getFocusedUnit','_transformStateCache','onSendChangeset','editingUnit','_invKeySchedule','routeKey','byteLength','_createSocket','toString','list','appendMutation','userID','OPTIONAL','/universer-api/stream/file/upload','_stopTelemetryCollaborationNewChangeset','getUnitType','encodeURIComponent','_updateLocalCache','socket$','HttpImport','BlockCipher','href','crypto','OTHER_CLIENT_EDITING','filter','decryptBlock','add','BufferedBlockAlgorithm','get','\x20in\x20_schedule.','_collaborationPaused','c2Prime','state','_awaitingChangeset','onTransformState','GLOBAL_ROOMS_CNT_EXCEEDS','entries','type','revision','requestParams','_exhaustRemoteChangesetQueue','_emitMembers','listCollaborators','TOO_MANY_REQUESTS','WordArray','loadDoc','_lockTransition','_doReset','_initCloseConn','hasOwnProperty','onRemoteAck','_throwTelemetryCollaborationNewChangeset','RECV','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','transformChangesets','\x20-\x20','FAIL','[OfflineState]:\x20received\x20acknowledgement.','name','NOT_FOUND','_incrementRevisionNumber','telemetry\x20info\x20is\x20not\x20initialized','_networkConditionService','22WYtUWM','SOCKET_FAILED','getSheetId','_iv','/unit/','createCollaborator','random','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','createSocket','UNRECOGNIZED','session.room-cnt-exceeds','[SyncedState]:\x20received\x20rejection.','IDLE','_xformMode','fromCollab','setShowComponents','1404SPtekX','map','offline','pauseCollaboration','_reverseMap','CHANGESET_REJ','format','disableLocalCache','PSEUDO_FETCH_MISSING_RESULT','_createHmacHelper','updateCursorEvent','hasher','SHOULD_CLOSE_CONN','?url=','POST','csShouldRetryEvent','FETCH_MISSING','Undefined','delete','ALREADY_EXISTS','getConfig','target','sin','duration','_acknowledgedAwaitingChangeset','LOGIN_URL_KEY','_localCacheService','fetchMiss','collaboratorID','ONLINE','NO_OTHER_CLIENTS_EDITING','_createInitialStateImpl','MSG_FOR_ERROR','/rev/','set','getCurrentUser','awaiting','batchAllowed','SNAPSHOT_INVALID_SNAPSHOT','_onOffline','/resources','LIVESHARE_REQUEST_HOST','_onRemoteACK','setConfig','[CollaborationSessionService]','ERROR_IMAGE','finalize','csAckEvent','_tryReconnect','_getSessionTicket','_candidateSocket','deepClone','JOIN_ROOM_PERMISSION_DENIED','waitForRoom$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','findIndex','getMember','SYNCED','SNAPSHOT_SERVER_URL_KEY','_getAPIPrefixPath','_collaborationTimeoutTimer','data','collaboration-client.config','_joinRoom','authzUrl','onRemoteRetry','_status$','NoPadding','getTypeOfUnitAdded$','_timeoutTimer','LICENSE_DISTRO_REJECTED','_localeService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','1062ZtNtsx','reduce','LIVESHARE_NEW_HOST','send'];_0x43da=function(){return _0xaf0f1e;};return _0x43da();}const Vn='collaboration_new_changeset';function Gn(_0x2dc74f){var _0x54de0d=_0x409aab;return JSON[_0x54de0d(0xfc)](_0x2dc74f)[_0x54de0d(0xb8)];}class Ri{constructor(){var _0xd1a73b=_0x409aab;N(this,_0xd1a73b(0x159),new _0x221b68()),N(this,_0xd1a73b(0x118),this[_0xd1a73b(0x159)]['asObservable']());}['onCommentUpdate'](_0x5a9a6b){var _0x12cb3e=_0x409aab;this[_0x12cb3e(0x159)]['next'](_0x5a9a6b);}}var Wn=Object[_0x409aab(0x1b3)],Kn=Object[_0x409aab(0x308)],Yn=(_0x2a4195,_0x4f5b07,_0x49e680,_0x4c54b5)=>{var _0x1c450a=_0x409aab;for(var _0x548427=_0x4c54b5>0x1?void 0x0:_0x4c54b5?Kn(_0x4f5b07,_0x49e680):_0x4f5b07,_0x14a245=_0x2a4195[_0x1c450a(0xb8)]-0x1,_0x4e3056;_0x14a245>=0x0;_0x14a245--)(_0x4e3056=_0x2a4195[_0x14a245])&&(_0x548427=(_0x4c54b5?_0x4e3056(_0x4f5b07,_0x49e680,_0x548427):_0x4e3056(_0x548427))||_0x548427);return _0x4c54b5&&_0x548427&&Wn(_0x4f5b07,_0x49e680,_0x548427),_0x548427;},Kt=(_0x1b821c,_0x4f7b36)=>(_0x886eb8,_0x4aa1bc)=>_0x4f7b36(_0x886eb8,_0x4aa1bc,_0x1b821c);let xe=class extends _0x237ec8{constructor(_0x147d2,_0x3c74a2){var _0x42e5ac=_0x409aab;super(),N(this,'_roomMembers',new Map()),N(this,_0x42e5ac(0x373),new _0x221b68()),(this[_0x42e5ac(0x18f)]=_0x147d2,this['_userManagerService']=_0x3c74a2,this['disposeWithMe'](_0xd1cd7d(this[_0x42e5ac(0x18f)]['getTypeOfUnitDisposed$'](_0x1105ca[_0x42e5ac(0x8e)])[_0x42e5ac(0x1a8)](_0x1033eb(_0x58de6d=>_0x58de6d[_0x42e5ac(0x1e8)]())),this[_0x42e5ac(0x18f)][_0x42e5ac(0x150)](_0x1105ca[_0x42e5ac(0x20f)])['pipe'](_0x1033eb(_0x4b8535=>_0x4b8535[_0x42e5ac(0x1e8)]())),this[_0x42e5ac(0x18f)][_0x42e5ac(0x150)](_0x1105ca[_0x42e5ac(0x355)])[_0x42e5ac(0x1a8)](_0x1033eb(_0x8f003d=>_0x8f003d[_0x42e5ac(0x1e8)]())))[_0x42e5ac(0x136)](_0x206bd0=>this[_0x42e5ac(0x1de)](_0x206bd0))));}[_0x409aab(0x2b5)](_0x3e1255){var _0x126d2b=_0x409aab;return this['_roomMembers'][_0x126d2b(0x214)](_0x3e1255)?_0xb5d9ed(this[_0x126d2b(0x33f)]['get'](_0x3e1255)):this[_0x126d2b(0x373)]['pipe'](_0x1033eb(_0x569407=>{var _0x125af7=_0x126d2b;if(_0x569407===_0x3e1255)return this[_0x125af7(0x33f)][_0x125af7(0x24c)](_0x569407);}));}['setCurrentUser'](_0x3b9b7e){var _0x1a8890=_0x409aab;this[_0x1a8890(0x1d1)][_0x1a8890(0x16e)](_0x3b9b7e);}[_0x409aab(0x2a3)](){var _0x4f43d6=_0x409aab;return this[_0x4f43d6(0x1d1)][_0x4f43d6(0x2a3)]();}[_0x409aab(0x1b1)](_0x3c4562,_0x285b0a){var _0x58ed17=_0x409aab;let _0x547a1e=this['_roomMembers'][_0x58ed17(0x24c)](_0x3c4562);_0x547a1e||(_0x547a1e=new qn(),this[_0x58ed17(0x33f)][_0x58ed17(0x2a2)](_0x3c4562,_0x547a1e),this[_0x58ed17(0x373)]['next'](_0x3c4562)),_0x547a1e[_0x58ed17(0x1b1)](_0x285b0a);}['removeMember'](_0x3b0c75,_0x2d00f1){var _0xe21b3b=_0x409aab;const _0x4a5d8e=this['_roomMembers'][_0xe21b3b(0x24c)](_0x3b0c75);_0x4a5d8e&&_0x4a5d8e['removeMember'](_0x2d00f1);}[_0x409aab(0xa9)](_0x338063){var _0x462cdc=_0x409aab;return this[_0x462cdc(0x33f)][_0x462cdc(0x24c)](_0x338063);}[_0x409aab(0x2b8)](_0x719be1,_0x342910){var _0x181fd9=_0x409aab;const _0x25ee34=this[_0x181fd9(0x33f)][_0x181fd9(0x24c)](_0x719be1);if(_0x25ee34)return _0x25ee34['getMember'](_0x342910);}['_removeRoom'](_0x4f5743){var _0x3a2ca9=_0x409aab;const _0x21e373=this['_roomMembers']['get'](_0x4f5743);_0x21e373&&(_0x21e373[_0x3a2ca9(0x346)](),this[_0x3a2ca9(0x33f)]['delete'](_0x4f5743));}[_0x409aab(0x346)](){var _0xf29b59=_0x409aab;this[_0xf29b59(0x33f)]['forEach'](_0x569a1f=>_0x569a1f[_0xf29b59(0x346)]()),this[_0xf29b59(0x33f)][_0xf29b59(0x208)](),this[_0xf29b59(0x373)][_0xf29b59(0x37a)]();}};xe=Yn([Kt(0x0,_0x5b9095),Kt(0x1,_0x301a99(_0x60bf25))],xe);class qn extends _0x237ec8{constructor(){var _0x4df5b2=_0x409aab;super(...arguments),N(this,_0x4df5b2(0x209),new Map()),N(this,_0x4df5b2(0x1d3),new _0x4d6645(this[_0x4df5b2(0x209)])),N(this,_0x4df5b2(0x1e9),this[_0x4df5b2(0x1d3)][_0x4df5b2(0x1cd)]());}[_0x409aab(0x346)](){var _0x5a5c90=_0x409aab;this[_0x5a5c90(0x209)][_0x5a5c90(0x208)]();}['updateMember'](_0x3dae2a){var _0x5c2c33=_0x409aab;this['_members'][_0x5c2c33(0x2a2)](_0x3dae2a[_0x5c2c33(0x331)],_0x3dae2a),this[_0x5c2c33(0x259)]();}[_0x409aab(0x143)](_0x52bf9c){var _0x1a791d=_0x409aab;this[_0x1a791d(0x209)][_0x1a791d(0x292)](_0x52bf9c);}[_0x409aab(0x2b8)](_0x273b08){var _0x3d0a9b=_0x409aab;return this[_0x3d0a9b(0x209)]['get'](_0x273b08);}[_0x409aab(0x120)](){var _0x53bd1d=_0x409aab;return Array[_0x53bd1d(0x2e5)](this['_members'][_0x53bd1d(0x1f1)]());}['_emitMembers'](){var _0x1cc4ba=_0x409aab;this[_0x1cc4ba(0x1d3)]['next'](this[_0x1cc4ba(0x209)]);}}var zn=Object[_0x409aab(0x1b3)],Jn=Object[_0x409aab(0x308)],Xn=(_0x5e4dc9,_0x1eb770,_0xc62aba,_0x254da2)=>{var _0x1ea10a=_0x409aab;for(var _0x3fb253=_0x254da2>0x1?void 0x0:_0x254da2?Jn(_0x1eb770,_0xc62aba):_0x1eb770,_0x5c2bfe=_0x5e4dc9[_0x1ea10a(0xb8)]-0x1,_0x13a1e0;_0x5c2bfe>=0x0;_0x5c2bfe--)(_0x13a1e0=_0x5e4dc9[_0x5c2bfe])&&(_0x3fb253=(_0x254da2?_0x13a1e0(_0x1eb770,_0xc62aba,_0x3fb253):_0x13a1e0(_0x3fb253))||_0x3fb253);return _0x254da2&&_0x3fb253&&zn(_0x1eb770,_0xc62aba,_0x3fb253),_0x3fb253;},me=(_0xf4fea4,_0x42dac5)=>(_0xc91aca,_0x4649ac)=>_0x42dac5(_0xc91aca,_0x4649ac,_0xf4fea4),Te=(_0x41565a=>(_0x41565a[_0x41565a[_0x409aab(0x27c)]=0x0]='IDLE',_0x41565a[_0x41565a[_0x409aab(0x14a)]=0x1]=_0x409aab(0x14a),_0x41565a[_0x41565a[_0x409aab(0x368)]=0x2]=_0x409aab(0x368),_0x41565a[_0x41565a[_0x409aab(0x29d)]=0x3]=_0x409aab(0x29d),_0x41565a))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x409aab(0xe8)]]:_0x409aab(0x32d),[Ee[_0x409aab(0x33b)]]:'session.room-not-exists',[Ee[_0x409aab(0x2b4)]]:_0x409aab(0x31a),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x409aab(0x27a)};let It=class extends _0x5432f0{constructor(_0x42f564,_0x112dec,_0xbcae65,_0x82a3de,_0x378491,_0xb231f1,_0x2d94cf,_0x1f56dd,_0x4a6fc3){var _0x141af5=_0x409aab;super(),N(this,_0x141af5(0x2e1),new _0x4d6645(0x0)),N(this,'sessionStatus$',this[_0x141af5(0x2e1)][_0x141af5(0x1cd)]()),N(this,_0x141af5(0x2fb),new _0x221b68()),N(this,_0x141af5(0x30b),this[_0x141af5(0x2fb)][_0x141af5(0x1cd)]()),N(this,_0x141af5(0x1c6)),N(this,_0x141af5(0x1bd)),N(this,_0x141af5(0x2bc)),N(this,_0x141af5(0x1f4),!0x1),N(this,_0x141af5(0x31d),null),(this[_0x141af5(0x335)]=_0x42f564,this['_logService']=_0xbcae65,this['_configService']=_0x82a3de,this['_localeService']=_0x378491,this[_0x141af5(0x1e2)]=_0xb231f1,this['_commentService']=_0x2d94cf,this['_collaborationUIEventService']=_0x1f56dd,this['_telemetryService']=_0x4a6fc3,this[_0x141af5(0x1f4)]=!!this['_telemetryService'],_0x112dec[_0x141af5(0x1a8)](_0x42b577(this['dispose$']))[_0x141af5(0x136)](_0x2aee01=>{var _0x2c66a5=_0x141af5,_0x2f595c;typeof _0x2aee01>'u'||(this[_0x2c66a5(0x1c6)]=_0x2aee01,_0x2aee01?(this[_0x2c66a5(0x2bf)](_0x2aee01),this['_socketMessageSubscription']=_0x2aee01[_0x2c66a5(0x12d)]['subscribe'](_0x2145d9=>{var _0x2bb95d=_0x2c66a5;_0x2145d9[_0x2bb95d(0x235)]===this[_0x2bb95d(0x335)]&&this[_0x2bb95d(0x94)](_0x2145d9);})):(this[_0x2c66a5(0x263)](),this[_0x2c66a5(0x2e1)]['next'](0x2),(_0x2f595c=this[_0x2c66a5(0x1bd)])==null||_0x2f595c['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x409aab(0x18e)](){var _0x52b37a=_0x409aab;return this['_sessionStatus$'][_0x52b37a(0x8b)]();}[_0x409aab(0x222)](){var _0x447ee7=_0x409aab,_0x62e9d1,_0x19bfc1;return(_0x19bfc1=(_0x62e9d1=this[_0x447ee7(0x1c6)])==null?void 0x0:_0x62e9d1[_0x447ee7(0x331)])!=null?_0x19bfc1:null;}['dispose'](){var _0x5bc8ee=_0x409aab;super[_0x5bc8ee(0x346)](),this['dispose$'][_0x5bc8ee(0x10a)](),this['dispose$'][_0x5bc8ee(0x37a)]();}[_0x409aab(0xf7)](){var _0x2f4fce=_0x409aab,_0x32629e,_0x52d92a;this[_0x2f4fce(0x263)](),(_0x32629e=this[_0x2f4fce(0x1c6)])==null||_0x32629e['send']({'cmd':F[_0x2f4fce(0x182)],'data':{'roomID':this[_0x2f4fce(0x335)]}}),(_0x52d92a=this['_socket'])==null||_0x52d92a[_0x2f4fce(0xf7)](),this[_0x2f4fce(0x2fb)]['complete'](),this['_sessionStatus$'][_0x2f4fce(0x37a)](),this[_0x2f4fce(0x346)]();}[_0x409aab(0x94)](_0x2b014b){var _0x173d6f=_0x409aab;_0x2b014b[_0x173d6f(0xb3)]===F['JOIN']?this[_0x173d6f(0x1f0)](_0x2b014b):_0x2b014b[_0x173d6f(0xb3)]===F[_0x173d6f(0x264)]&&this[_0x173d6f(0x375)](_0x2b014b);}[_0x409aab(0x2bf)](_0x12e84f){var _0x35bfdd=_0x409aab;this[_0x35bfdd(0x2e1)][_0x35bfdd(0x10a)](0x1),_0x12e84f[_0x35bfdd(0x2cc)]({'cmd':F[_0x35bfdd(0x212)],'routeKey':this[_0x35bfdd(0x335)],'routeType':'','data':{'rooms':[{'roomID':this[_0x35bfdd(0x335)]}]}});}[_0x409aab(0x1f0)](_0x5346bf){var _0x29bf60=_0x409aab,_0x2021ab;if(_0x5346bf[_0x29bf60(0x2cd)]in Yt){this[_0x29bf60(0x2d8)][_0x29bf60(0x207)]({'id':se[_0x29bf60(0x91)],'data':Yt[_0x5346bf[_0x29bf60(0x2cd)]]}),this[_0x29bf60(0x2e1)]['next'](0x2);return;}this[_0x29bf60(0x2e1)]['next'](0x3);const _0xc9045=(_0x2021ab=_0x5346bf[_0x29bf60(0x2bd)][_0x29bf60(0xf5)][this['_unitID']])==null?void 0x0:_0x2021ab[_0x29bf60(0x323)];_0xc9045&&_0xc9045['forEach'](_0x3a92d4=>this['_memberService'][_0x29bf60(0x1b1)](this['_unitID'],_0x3a92d4));}[_0x409aab(0x375)](_0x354fed){var _0x41ef2c=_0x409aab;try{const _0x597655=_0x354fed[_0x41ef2c(0x2bd)];switch(_0x597655[_0x41ef2c(0xe0)]){case _0x4dbda1[_0x41ef2c(0x1e7)]:this['_onUserJoin'](_0x597655),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1['USERS_LEAVE']:this[_0x41ef2c(0xe6)](_0x597655),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1[_0x41ef2c(0xb4)]:case _0x4dbda1[_0x41ef2c(0x311)]:this[_0x41ef2c(0x23e)](),this[_0x41ef2c(0x1a9)](),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1[_0x41ef2c(0x2a0)]:this[_0x41ef2c(0x21d)][_0x41ef2c(0x36f)](_0x41ef2c(0x191)+JSON[_0x41ef2c(0xfc)](_0x597655)),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;case _0x4dbda1['COMMENT_UPDATE']:this[_0x41ef2c(0x21e)][_0x41ef2c(0x14b)](_0x597655[_0x41ef2c(0x2bd)]),this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);break;default:this[_0x41ef2c(0x2fb)][_0x41ef2c(0x10a)](_0x597655);}}catch(_0x926620){this['_logService'][_0x41ef2c(0x36f)](_0x926620,_0x354fed);}}['_onUserJoin'](_0x2570b2){var _0x525461=_0x409aab;this[_0x525461(0x1e2)]['updateMember'](this[_0x525461(0x335)],_0x2570b2[_0x525461(0x2bd)]);}[_0x409aab(0xe6)](_0x5137dc){var _0x55872f=_0x409aab;this['_memberService'][_0x55872f(0x143)](this['_unitID'],_0x5137dc[_0x55872f(0x2bd)][_0x55872f(0x331)]);}async[_0x409aab(0x2cc)](_0x38ff5c,_0x28648b){var _0x335db3=_0x409aab;if(this[_0x335db3(0x18e)]!==0x3||!this[_0x335db3(0x1c6)])throw new Error(_0x335db3(0x145));try{_0x38ff5c[_0x335db3(0xe0)]===_0x4dbda1[_0x335db3(0x9a)]&&(this[_0x335db3(0x364)](),this[_0x335db3(0x184)](_0x38ff5c)),this['_socket'][_0x335db3(0x2cc)]({'cmd':F[_0x335db3(0x17c)],'routeKey':_0x28648b,'routeType':'','data':_0x38ff5c});}catch(_0x4366bb){this['_logService']['error'](_0x4366bb);}}[_0x409aab(0x364)](){var _0xab3197=_0x409aab,_0x5ed36a;this[_0xab3197(0x2bc)]=setTimeout(()=>{var _0x58390b=_0xab3197;this[_0x58390b(0x2bc)]=null,this[_0x58390b(0x2d8)][_0x58390b(0x207)]({'id':se[_0x58390b(0x34d)]});},(_0x5ed36a=this[_0xab3197(0xd2)][_0xab3197(0x294)](Si))!=null?_0x5ed36a:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x45e2fd=_0x409aab;this[_0x45e2fd(0x2bc)]&&(clearTimeout(this[_0x45e2fd(0x2bc)]),this['_collaborationTimeoutTimer']=null);}[_0x409aab(0x184)](_0x47e571){var _0x2fc430=_0x409aab;if(!this[_0x2fc430(0x1f4)])return;const {data:_0x38dab2}=_0x47e571,{unitID:_0x2694ad,changeset:_0x14af18}=_0x38dab2,{mutations:_0xffea9b,type:_0x27305b}=_0x14af18;this[_0x2fc430(0x31d)]={'unitId':_0x2694ad,'type':_0x27305b,'startTime':performance[_0x2fc430(0x1c9)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0xffea9b)};}[_0x409aab(0x23e)](){var _0x416870=_0x409aab;if(this['_shouldReportTelemetry']){if(!this[_0x416870(0x31d)]){this['_logService'][_0x416870(0x36f)]('[CollaborationSession]',_0x416870(0x26d));return;}this[_0x416870(0x31d)][_0x416870(0x2d0)]=performance[_0x416870(0x1c9)](),this[_0x416870(0x31d)][_0x416870(0x297)]=this[_0x416870(0x31d)][_0x416870(0x2d0)]-this['_telemetryInfo'][_0x416870(0xbc)],this[_0x416870(0x36a)][_0x416870(0x1d4)](Vn,this['_telemetryInfo']),this[_0x416870(0x31d)]=null;}}[_0x409aab(0x263)](){var _0x1678ce=_0x409aab;this[_0x1678ce(0x31d)]=null;}};It=Xn([me(0x2,_0x51fdc8),me(0x3,_0x424efc),me(0x4,_0x301a99(_0x226151)),me(0x5,_0x301a99(xe)),me(0x6,_0x301a99(Ri)),me(0x7,_0x301a99(pe)),me(0x8,_0x59bb9f(_0x1c6a20))],It);var Zn=Object[_0x409aab(0x1b3)],Qn=Object[_0x409aab(0x308)],er=(_0x155462,_0x172302,_0x1bdace,_0x4c9e20)=>{for(var _0x4739bc=_0x4c9e20>0x1?void 0x0:_0x4c9e20?Qn(_0x172302,_0x1bdace):_0x172302,_0x35a873=_0x155462['length']-0x1,_0x178321;_0x35a873>=0x0;_0x35a873--)(_0x178321=_0x155462[_0x35a873])&&(_0x4739bc=(_0x4c9e20?_0x178321(_0x172302,_0x1bdace,_0x4739bc):_0x178321(_0x4739bc))||_0x4739bc);return _0x4c9e20&&_0x4739bc&&Zn(_0x172302,_0x1bdace,_0x4739bc),_0x4739bc;},ge=(_0x362ae6,_0x2a153a)=>(_0x3be44d,_0x27cebb)=>_0x2a153a(_0x3be44d,_0x27cebb,_0x362ae6);let Le=class extends _0x237ec8{constructor(_0x3ef42b,_0x4ca008,_0x559a38,_0xcff68a,_0x250a99,_0x3d5633,_0x565202){var _0x32f134=_0x409aab;super(),N(this,_0x32f134(0xd6),new _0x4d6645(void 0x0)),N(this,_0x32f134(0x242),this[_0x32f134(0xd6)][_0x32f134(0x1cd)]()),N(this,_0x32f134(0x2b2),null),N(this,_0x32f134(0x216),new Map()),N(this,_0x32f134(0x2c2),new _0x4d6645(Te[_0x32f134(0x27c)])),N(this,_0x32f134(0x304),this[_0x32f134(0x2c2)][_0x32f134(0x1cd)]()),N(this,_0x32f134(0x381),!0x1),N(this,_0x32f134(0x1a7)),N(this,_0x32f134(0x34b),0x0),N(this,_0x32f134(0x122)),N(this,'_timeoutTimer'),(this[_0x32f134(0x8c)]=_0x3ef42b,this[_0x32f134(0x21d)]=_0x4ca008,this[_0x32f134(0xd2)]=_0x559a38,this[_0x32f134(0xe4)]=_0xcff68a,this['_httpService']=_0x250a99,this[_0x32f134(0x2d8)]=_0x3d5633,this['_networkConditionService']=_0x565202,this['_listenToNetworkCondition']());}get[_0x409aab(0x1c6)](){var _0x250785=_0x409aab;return this[_0x250785(0xd6)][_0x250785(0x8b)]();}['_listenToNetworkCondition'](){var _0x4b8d09=_0x409aab;this['_networkConditionService']&&this[_0x4b8d09(0xc4)](this[_0x4b8d09(0x26e)][_0x4b8d09(0x139)][_0x4b8d09(0x136)](_0x257bcc=>{var _0x4d32b5=_0x4b8d09;_0x257bcc&&!this['_socket']&&this[_0x4d32b5(0x162)](),_0x257bcc||this[_0x4d32b5(0x2a7)]();}));}['dispose'](){var _0x226eed=_0x409aab;super[_0x226eed(0x346)](),this[_0x226eed(0x216)][_0x226eed(0x1df)](_0x2700b8=>_0x2700b8[_0x226eed(0x346)]()),this['_sessions'][_0x226eed(0x208)](),this[_0x226eed(0x2c2)][_0x226eed(0x37a)]();}async['requireSession'](_0x2f26e9){var _0x2a380c=_0x409aab;if(this[_0x2a380c(0x216)][_0x2a380c(0x214)](_0x2f26e9))return this[_0x2a380c(0x216)][_0x2a380c(0x24c)](_0x2f26e9);this[_0x2a380c(0x1dc)]();const _0x26412c=this[_0x2a380c(0x8c)][_0x2a380c(0x12b)](It,_0x2f26e9,this['_socket$']['asObservable']());return this[_0x2a380c(0x216)][_0x2a380c(0x2a2)](_0x2f26e9,_0x26412c),_0x26412c;}['closeSession'](_0x197d0b){var _0x49aa5d=_0x409aab,_0x1a08ab;const _0x3055cb=this[_0x49aa5d(0x216)][_0x49aa5d(0x24c)](_0x197d0b);_0x3055cb&&(this[_0x49aa5d(0x216)]['delete'](_0x197d0b),_0x3055cb[_0x49aa5d(0xf7)]()),this[_0x49aa5d(0x216)]['size']||(_0x1a08ab=this[_0x49aa5d(0x1c6)])==null||_0x1a08ab[_0x49aa5d(0xf7)]();}[_0x409aab(0x162)](){var _0xafc0f5=_0x409aab;this[_0xafc0f5(0x34b)]=0x0,this[_0xafc0f5(0x1a7)]!=null&&(clearTimeout(this[_0xafc0f5(0x1a7)]),this[_0xafc0f5(0x1a7)]=null),this[_0xafc0f5(0x2b0)]();}async['_getSessionTicket'](){var _0x5e3785=_0x409aab,_0x55852a,_0x324430,_0x36a2bd;const _0x3331bf=this[_0x5e3785(0xd2)][_0x5e3785(0x294)](q),_0x2afe94=(_0x55852a=_0x3331bf==null?void 0x0:_0x3331bf[_0x5e3785(0xc5)])!=null?_0x55852a:On;return(_0x36a2bd=(_0x324430=(await this[_0x5e3785(0x327)]['get'](_0x2afe94,{'headers':{'Content-Type':'application/json'}}))[_0x5e3785(0x204)])==null?void 0x0:_0x324430[_0x5e3785(0x173)])!=null?_0x36a2bd:'';}[_0x409aab(0x110)](_0xe83e46){var _0x17a58c=_0x409aab,_0x17a239,_0x354fdc;const _0x154eb5=this[_0x17a58c(0xd2)][_0x17a58c(0x294)](Rn),_0x39e999=this[_0x17a58c(0xd2)][_0x17a58c(0x294)](q),_0x1b4bbf=(_0x354fdc=(_0x17a239=_0x39e999==null?void 0x0:_0x39e999['collabWebSocketUrl'])!=null?_0x17a239:_0x154eb5)!=null?_0x354fdc:bn,_0xdf51c5=typeof window>'u'?new URL(_0x1b4bbf):new URL(_0x1b4bbf,window[_0x17a58c(0x116)][_0x17a58c(0x32b)]);_0xdf51c5[_0x17a58c(0x192)][_0x17a58c(0x2a2)]('sessionTicket',_0xe83e46);const _0x401851=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x17a58c(0x116)][_0x17a58c(0xb6)]);return _0x401851[_0x17a58c(0x24c)](_0x17a58c(0x342))&&_0xdf51c5['searchParams'][_0x17a58c(0x2a2)]('runId',_0x401851[_0x17a58c(0x24c)](_0x17a58c(0x342))),_0xdf51c5[_0x17a58c(0x238)]();}async['_createSocket'](){var _0x48a692=_0x409aab;const _0xf712d5=await this[_0x48a692(0x2b1)](),_0xb44acd=this['_createSocketURL'](_0xf712d5),_0x17942a=this[_0x48a692(0xe4)]['createSocket'](_0xb44acd);return this['_candidateSocket']=_0x17942a,_0x17942a;}async[_0x409aab(0x1dc)](){var _0x1882e3=_0x409aab,_0x40fc73,_0x29ec09;try{const _0x27df41=(_0x29ec09=(_0x40fc73=this['_socket'])!=null?_0x40fc73:this[_0x1882e3(0x2b2)])!=null?_0x29ec09:await this[_0x1882e3(0x237)]();if(_0x27df41){const _0x46c60b=_0x27df41[_0x1882e3(0x2cc)];_0x27df41[_0x1882e3(0x2cc)]=_0x16f034=>(this[_0x1882e3(0x133)](),_0x46c60b[_0x1882e3(0xb9)](_0x27df41,[_0x16f034])),_0x27df41[_0x1882e3(0x12d)][_0x1882e3(0x136)](_0x94a823=>this['_onMessage'](_0x27df41,_0x94a823)),_0x27df41[_0x1882e3(0x2d7)][_0x1882e3(0x1a8)](_0x4c4cf4(0x1))[_0x1882e3(0x136)](_0x19ab8d=>this[_0x1882e3(0x21d)]['error'](_0x1882e3(0x332),_0x19ab8d)),_0x27df41[_0x1882e3(0x10b)][_0x1882e3(0x1a8)](_0x4c4cf4(0x1))[_0x1882e3(0x136)](()=>{var _0x55d2e5=_0x1882e3;this[_0x55d2e5(0x2da)](_0x27df41);}),_0x27df41['close$'][_0x1882e3(0x1a8)](_0x4c4cf4(0x1))[_0x1882e3(0x136)](_0x71f173=>{var _0x54adb9=_0x1882e3;this[_0x54adb9(0x21d)][_0x54adb9(0x11a)](_0x54adb9(0x2ac),_0x54adb9(0x1e4),_0x71f173),this[_0x54adb9(0x33a)]();});}}catch(_0x3585fd){this[_0x1882e3(0x21d)][_0x1882e3(0x36f)](_0x3585fd),this[_0x1882e3(0x33a)]();}}[_0x409aab(0x2da)](_0x1a4099){var _0x26f76d=_0x409aab;this[_0x26f76d(0x21d)][_0x26f76d(0x11a)](_0x26f76d(0x2ac),'socket\x20open.'),_0x1a4099[_0x26f76d(0x2cc)]({'cmd':F[_0x26f76d(0x1ba)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x44128c=_0x409aab;this[_0x44128c(0x381)]=!0x1,this[_0x44128c(0x2b2)]=null,this[_0x44128c(0x2c2)][_0x44128c(0x10a)](Te[_0x44128c(0x368)]),this[_0x44128c(0xd6)][_0x44128c(0x10a)](null),this[_0x44128c(0xe3)](),this['_clearHeartbeatTimer']();}[_0x409aab(0x33a)](){var _0x1ef002=_0x409aab,_0x28ca9c;this['_onOffline'](),this[_0x1ef002(0x34b)]<((_0x28ca9c=this[_0x1ef002(0xd2)][_0x1ef002(0x294)](Pn))!=null?_0x28ca9c:wn)?(this[_0x1ef002(0x2d8)][_0x1ef002(0x207)]({'id':se[_0x1ef002(0xfb)]}),this[_0x1ef002(0x2b0)]()):this[_0x1ef002(0x2d8)][_0x1ef002(0x207)]({'id':se['SOCKET_FAILED']});}[_0x409aab(0x2b0)](){var _0x4f339d=_0x409aab,_0x5446e1;const _0x4dbb37=this[_0x4f339d(0x34b)],_0x283ce6=this[_0x4f339d(0xd2)][_0x4f339d(0x294)](q),_0x2554e8=_0x4dbb37===0x0?0x0:((_0x5446e1=_0x283ce6==null?void 0x0:_0x283ce6['retryConnectingInterval'])!=null?_0x5446e1:Dn)*0x2**_0x4dbb37;this[_0x4f339d(0x1a7)]=setTimeout(()=>{var _0x1b9394=_0x4f339d;clearTimeout(this[_0x1b9394(0x1a7)]),this[_0x1b9394(0x1a7)]=null,this[_0x1b9394(0x1dc)]();},_0x2554e8),this[_0x4f339d(0x34b)]+=0x1;}['_onMessage'](_0x25708e,_0x48ce9e){var _0x26f98a=_0x409aab;const {cmd:_0x4bd6d2}=_0x48ce9e;_0x4bd6d2===F[_0x26f98a(0x1ba)]&&!this[_0x26f98a(0x381)]&&(_0x25708e[_0x26f98a(0x331)]=_0x48ce9e[_0x26f98a(0x2bd)]['memberID'],this[_0x26f98a(0xd6)][_0x26f98a(0x10a)](_0x25708e),this[_0x26f98a(0x2c2)][_0x26f98a(0x10a)](Te[_0x26f98a(0x29d)]),this[_0x26f98a(0x381)]=!0x0,this[_0x26f98a(0x2b2)]=null),_0x4bd6d2===F[_0x26f98a(0x19d)]&&this[_0x26f98a(0xe3)](),this[_0x26f98a(0x133)]();}[_0x409aab(0x133)](){var _0x1715f1=_0x409aab,_0x532f5e;this['_clearHeartbeatTimer'](),this[_0x1715f1(0x122)]=setTimeout(()=>this[_0x1715f1(0x1c0)](),(_0x532f5e=this[_0x1715f1(0xd2)][_0x1715f1(0x294)](yn))!=null?_0x532f5e:Nn);}['_sendHeartbeat'](){var _0x22ccb9=_0x409aab;this[_0x22ccb9(0x1c6)][_0x22ccb9(0x2cc)]({'cmd':F['HEARTBEAT']}),this[_0x22ccb9(0xfd)]();}[_0x409aab(0xfd)](){var _0x5860f5=_0x409aab,_0x626bcf;this[_0x5860f5(0x2c5)]=setTimeout(()=>this[_0x5860f5(0x33a)](),(_0x626bcf=this[_0x5860f5(0xd2)]['getConfig'](Si))!=null?_0x626bcf:Ei);}[_0x409aab(0xb7)](){var _0x57cc2b=_0x409aab;this[_0x57cc2b(0x122)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x57cc2b(0x122)]=null);}['_clearTimeoutTimer'](){var _0x370aef=_0x409aab;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x370aef(0x2c5)]),this[_0x370aef(0x2c5)]=null);}};Le=er([ge(0x0,_0x301a99(_0x2b67f5)),ge(0x1,_0x51fdc8),ge(0x2,_0x424efc),ge(0x3,Ci),ge(0x4,_0x301a99(_0x160d38)),ge(0x5,_0x301a99(pe)),ge(0x6,_0x59bb9f(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x409aab(0x8f)]((n+0x100)[_0x409aab(0x238)](0x10)[_0x409aab(0xe5)](0x1));function tr(_0xc20e0e,_0x5f0508=0x0){var _0x36e6ee=_0x409aab;return(V[_0xc20e0e[_0x5f0508+0x0]]+V[_0xc20e0e[_0x5f0508+0x1]]+V[_0xc20e0e[_0x5f0508+0x2]]+V[_0xc20e0e[_0x5f0508+0x3]]+'-'+V[_0xc20e0e[_0x5f0508+0x4]]+V[_0xc20e0e[_0x5f0508+0x5]]+'-'+V[_0xc20e0e[_0x5f0508+0x6]]+V[_0xc20e0e[_0x5f0508+0x7]]+'-'+V[_0xc20e0e[_0x5f0508+0x8]]+V[_0xc20e0e[_0x5f0508+0x9]]+'-'+V[_0xc20e0e[_0x5f0508+0xa]]+V[_0xc20e0e[_0x5f0508+0xb]]+V[_0xc20e0e[_0x5f0508+0xc]]+V[_0xc20e0e[_0x5f0508+0xd]]+V[_0xc20e0e[_0x5f0508+0xe]]+V[_0xc20e0e[_0x5f0508+0xf]])[_0x36e6ee(0x8a)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x110ce7=_0x409aab;if(!ut){if(typeof crypto>'u'||!crypto[_0x110ce7(0x1d0)])throw new Error(_0x110ce7(0x325));ut=crypto[_0x110ce7(0x1d0)][_0x110ce7(0x2f3)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x409aab(0x315)][_0x409aab(0x2f3)](crypto),qt={'randomUUID':rr};function sr(_0x44426b,_0x4b77c3,_0x388f70){var _0x2bbcb7=_0x409aab,_0x1d84f1,_0x4582d5,_0x2e9023;if(qt[_0x2bbcb7(0x315)]&&!_0x44426b)return qt[_0x2bbcb7(0x315)]();_0x44426b=_0x44426b||{};const _0x3108e2=(_0x2e9023=(_0x4582d5=_0x44426b['random'])!=null?_0x4582d5:(_0x1d84f1=_0x44426b['rng'])==null?void 0x0:_0x1d84f1[_0x2bbcb7(0x103)](_0x44426b))!=null?_0x2e9023:nr();if(_0x3108e2['length']<0x10)throw new Error(_0x2bbcb7(0x111));return _0x3108e2[0x6]=_0x3108e2[0x6]&0xf|0x40,_0x3108e2[0x8]=_0x3108e2[0x8]&0x3f|0x80,tr(_0x3108e2);}const J=_0x28cd97(_0x409aab(0x2d2));function so(_0x4da929){var _0x13afde=_0x409aab;return _0x13afde(0x34a)+_0x4da929;}var or=Object[_0x409aab(0x1b3)],ar=Object['getOwnPropertyDescriptor'],cr=(_0xd50db8,_0x24e6d4,_0x39f365,_0x1f6b6d)=>{var _0x2dc2e9=_0x409aab;for(var _0x2972a0=_0x1f6b6d>0x1?void 0x0:_0x1f6b6d?ar(_0x24e6d4,_0x39f365):_0x24e6d4,_0x1d7274=_0xd50db8[_0x2dc2e9(0xb8)]-0x1,_0x3039f5;_0x1d7274>=0x0;_0x1d7274--)(_0x3039f5=_0xd50db8[_0x1d7274])&&(_0x2972a0=(_0x1f6b6d?_0x3039f5(_0x24e6d4,_0x39f365,_0x2972a0):_0x3039f5(_0x2972a0))||_0x2972a0);return _0x1f6b6d&&_0x2972a0&&or(_0x24e6d4,_0x39f365,_0x2972a0),_0x2972a0;},dt=(_0x17c48b,_0x504a55)=>(_0x53659f,_0x3dd215)=>_0x504a55(_0x53659f,_0x3dd215,_0x17c48b);function hr(_0x2ed06e){var _0x28beb6=_0x409aab;const {unitID:_0x556645,mutations:_0x348538}=_0x2ed06e;return{'unitId':_0x556645,'subUnitId':_0x348538[0x0][_0x28beb6(0x131)][_0x28beb6(0x10c)]};}let it=class{constructor(_0xf10ad,_0x2177c2,_0x9cb245){var _0x23459e=_0x409aab;this[_0x23459e(0x8c)]=_0xf10ad,this['_transformService']=_0x2177c2,this['_instanceService']=_0x9cb245;}[_0x409aab(0x302)](_0xe161ab){var _0x1da8ca=_0x409aab,_0x476ebb,_0x176e2b,_0xe11a96,_0x31bd79;const _0x4fb2c6=this['_injector']['get'](_0x3f9f4a),{unitId:_0x2e43fa,subUnitId:_0x3802f2}=hr(_0xe161ab),_0x1ea682=_0x4fb2c6==null?void 0x0:_0x4fb2c6[_0x1da8ca(0x2dc)](_0x2e43fa)['getCurrentSelections'](),_0x162c63=(_0x176e2b=(_0x476ebb=this[_0x1da8ca(0x9f)]['getUnit'](_0x2e43fa))==null?void 0x0:_0x476ebb[_0x1da8ca(0x175)]())==null?void 0x0:_0x176e2b[_0x1da8ca(0x271)]();if(_0x1ea682[_0x1da8ca(0xb8)]===0x0||!_0x2e43fa||!_0x3802f2)return;const _0xfa7b63=[{'id':_0x30be4e['id'],'params':{'unitId':_0x2e43fa,'subUnitId':_0x162c63,'selections':_0x4cedbb[_0x1da8ca(0x2b3)](_0x1ea682)}}],_0x310a20=this[_0x1da8ca(0x213)][_0x1da8ca(0x16a)](_0xe161ab,_0xfa7b63);if(!_0x3b7428(_0x310a20))throw _0x310a20[_0x1da8ca(0x36f)];const _0xd27bc5=(_0x31bd79=(_0xe11a96=_0x310a20[_0x1da8ca(0x371)][0x0])==null?void 0x0:_0xe11a96[_0x1da8ca(0x131)])==null?void 0x0:_0x31bd79[_0x1da8ca(0xc3)];if(Array[_0x1da8ca(0x22d)](_0xd27bc5)&&_0xd27bc5['length']){if(_0xd27bc5[_0x1da8ca(0xb8)]===_0xfa7b63[0x0][_0x1da8ca(0x131)][_0x1da8ca(0xc3)][_0x1da8ca(0xb8)]&&_0xd27bc5[_0x1da8ca(0x1ca)]((_0x44498b,_0x408e51)=>_0x43756b[_0x1da8ca(0x96)](_0x44498b['range'],_0xfa7b63[0x0][_0x1da8ca(0x131)][_0x1da8ca(0xc3)][_0x408e51][_0x1da8ca(0x107)])))return;this[_0x1da8ca(0x8c)][_0x1da8ca(0x24c)](_0x38398c)[_0x1da8ca(0xa8)](_0x30be4e['id'],{'unitId':_0x2e43fa,'subUnitId':_0x162c63,'selections':_0xd27bc5});}}};it=cr([dt(0x0,_0x301a99(_0x2b67f5)),dt(0x1,_0x21beed),dt(0x2,_0x5b9095)],it);const ht=_0x28cd97(_0x409aab(0xc0));var bi=(_0x55a8cf=>(_0x55a8cf[_0x55a8cf[_0x409aab(0x29e)]=0x0]=_0x409aab(0x29e),_0x55a8cf[_0x55a8cf['OTHER_CLIENTS_EDITING']=0x1]=_0x409aab(0x11e),_0x55a8cf))(bi||{});const _r=new Set([_0x229cee['id']]);function zt(_0x574548,_0x2d726a,_0x207737,_0xe502b5,_0x32f9b9){var _0x1b4e61=_0x409aab,_0xf470ac,_0x49865d,_0x1759db,_0x30c436;const _0x23af52=[];for(const _0x4762df of _0x574548)if(_r[_0x1b4e61(0x214)](_0x4762df['id'])){if(_0x23af52[_0x1b4e61(0xb8)]>0x0)break;_0x23af52[_0x1b4e61(0x8f)](_0x4762df);break;}else _0x23af52['push'](_0x4762df);const _0x357166=(_0x49865d=(_0xf470ac=_0x32f9b9['getCurrentUser']())==null?void 0x0:_0xf470ac[_0x1b4e61(0x23b)])!=null?_0x49865d:_0x1b4e61(0x37d),_0x355afd=(_0x30c436=(_0x1759db=_0x32f9b9[_0x1b4e61(0x2a3)]())==null?void 0x0:_0x1759db[_0x1b4e61(0x331)])!=null?_0x30c436:_0x1b4e61(0x37d);return{'changeset':{'unitID':_0x2d726a,'type':_0x1ef88f(_0x207737['getUnitType'](_0x2d726a)),'baseRev':_0xe502b5[_0x1b4e61(0x205)](_0x2d726a),'revision':0x0,'userID':_0x357166,'memberID':_0x355afd,'mutations':_0x23af52},'pendingMutations':_0x574548['slice'](_0x23af52[_0x1b4e61(0xb8)])};}function lr(_0x1614b8,_0x877c44,_0x35a258,_0x2e6d6c,_0x4558a7){var _0xb3330c=_0x409aab,_0x5f17d2,_0x55b37e,_0x3f73d8,_0x10a728;const _0x37bcae=[_0x1614b8[_0xb3330c(0x2ca)]((_0x3f8e28,_0x32ea1c)=>{var _0x261dfe=_0xb3330c,_0x229048;const {id:_0x29c714}=_0x3f8e28,{id:_0xde30b4,type:_0x4729b7}=_0x32ea1c,_0x321565=(_0x229048=_0x3f8e28[_0x261dfe(0x131)])!=null?_0x229048:{'actions':null},_0x4b1d14=_0x32ea1c['params'];if(_0x29c714&&_0x29c714!==_0xde30b4)throw new Error(_0x261dfe(0x36c)+_0x29c714+_0x261dfe(0x267)+_0xde30b4+'.');return{..._0x3f8e28,'id':_0xde30b4,'type':_0x4729b7,'params':{'unitId':_0x4b1d14[_0x261dfe(0x1d6)],'textRanges':_0x4b1d14[_0x261dfe(0x92)],'actions':_0x4adf09[_0x261dfe(0xca)](_0x321565[_0x261dfe(0x351)],_0x4b1d14[_0x261dfe(0x351)])}};},{})],_0x44544e=(_0x55b37e=(_0x5f17d2=_0x4558a7[_0xb3330c(0x2a3)]())==null?void 0x0:_0x5f17d2[_0xb3330c(0x23b)])!=null?_0x55b37e:_0xb3330c(0x37d),_0x37a0ce=(_0x10a728=(_0x3f73d8=_0x4558a7[_0xb3330c(0x2a3)]())==null?void 0x0:_0x3f73d8['memberID'])!=null?_0x10a728:_0xb3330c(0x37d);return{'changeset':{'unitID':_0x877c44,'type':_0x1ef88f(_0x35a258[_0xb3330c(0x23f)](_0x877c44)),'baseRev':_0x2e6d6c[_0xb3330c(0x205)](_0x877c44),'revision':0x0,'userID':_0x44544e,'memberID':_0x37a0ce,'mutations':_0x37bcae},'pendingMutations':[]};}function _0x5cef(_0x29b16f,_0x293849){var _0x43da33=_0x43da();return _0x5cef=function(_0x5cef70,_0x389d5f){_0x5cef70=_0x5cef70-0x89;var _0x1f5981=_0x43da33[_0x5cef70];return _0x1f5981;},_0x5cef(_0x29b16f,_0x293849);}function Oi(_0x19c6af,_0x4a8cf5){var _0x2ce034=_0x409aab;const _0x188b64=new _0x30bf6e(0x1);return setTimeout(()=>_0x188b64[_0x2ce034(0x10a)](_0x4a8cf5),_0x19c6af),_0x188b64[_0x2ce034(0x1cd)]()[_0x2ce034(0x1a8)](_0x114191(0x1));}const ur={'id':_0x540daa['id'],'type':_0x32bab5[_0x409aab(0xf6)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x409aab(0x308)],Re=(_0x4beca1,_0x45a8b2,_0x4b95bb,_0xc40597)=>{var _0x4c2039=_0x409aab;for(var _0x3d520f=_0xc40597>0x1?void 0x0:_0xc40597?fr(_0x45a8b2,_0x4b95bb):_0x45a8b2,_0x70dd78=_0x4beca1[_0x4c2039(0xb8)]-0x1,_0x3f16d0;_0x70dd78>=0x0;_0x70dd78--)(_0x3f16d0=_0x4beca1[_0x70dd78])&&(_0x3d520f=(_0xc40597?_0x3f16d0(_0x45a8b2,_0x4b95bb,_0x3d520f):_0x3f16d0(_0x3d520f))||_0x3d520f);return _0xc40597&&_0x3d520f&&dr(_0x45a8b2,_0x4b95bb,_0x3d520f),_0x3d520f;},A=(_0xe0ebba,_0x233ca2)=>(_0x12fe2a,_0x5296dc)=>_0x233ca2(_0x12fe2a,_0x5296dc,_0xe0ebba),yi=(_0xe61577=>(_0xe61577[_0x409aab(0xfa)]=_0x409aab(0x34e),_0xe61577[_0x409aab(0x2b9)]=_0x409aab(0x11b),_0xe61577[_0x409aab(0x17e)]='pending',_0xe61577[_0x409aab(0xf8)]='awaiting',_0xe61577['AWAITING_WITH_PENDING']=_0x409aab(0xa4),_0xe61577[_0x409aab(0x2fd)]=_0x409aab(0x15c),_0xe61577[_0x409aab(0x1e1)]='conflict',_0xe61577['OFFLINE']=_0x409aab(0x282),_0xe61577))(yi||{});const Ni=0xea60;class be{constructor(_0x5ae183,_0x3130c4,_0xc13cb5,_0x3ed01a,_0x300142,_0x5c1720,_0x712277,_0x1a6642,_0x4f1579){var _0x532280=_0x409aab;N(this,_0x532280(0x251),null),N(this,_0x532280(0x37f),[]),(this[_0x532280(0x8d)]=_0x5ae183,this['type']=_0x3130c4,this[_0x532280(0x12c)]=_0x300142,this[_0x532280(0x31f)]=_0x5c1720,this[_0x532280(0x108)]=_0x712277,this[_0x532280(0x324)]=_0x1a6642,this['_localCacheService']=_0x4f1579,this['_awaitingChangeset']=_0xc13cb5,this[_0x532280(0x37f)]=_0x3ed01a);}[_0x409aab(0x17a)](_0x332668){var _0x55bce2=_0x409aab;const _0x2f4b82=this[_0x55bce2(0x324)]['getCurrentRevOfUnit'](this[_0x55bce2(0x8d)]);return _0x332668[_0x55bce2(0x256)]>_0x2f4b82+0x1?(this[_0x55bce2(0x12c)][_0x55bce2(0xa1)]({'from':_0x2f4b82,'to':_0x332668['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3c2e18){var _0x120caa=_0x409aab;this[_0x120caa(0x108)][_0x120caa(0x160)](this['unitID'],_0x3c2e18);}[_0x409aab(0x1ac)](_0x2b6786){var _0x5c435f=_0x409aab,_0x299980,_0x4676f2;(_0x4676f2=(_0x299980=this['_handler'])['onTransformSelections'])==null||_0x4676f2[_0x5c435f(0x103)](_0x299980,_0x2b6786);}[_0x409aab(0x37e)](_0x5913b8){var _0x4fc97d=_0x409aab,_0x56ce5c,_0x503d57;return(_0x503d57=(_0x56ce5c=this['_handler'])[_0x4fc97d(0x178)])==null?void 0x0:_0x503d57['call'](_0x56ce5c,_0x5913b8);}[_0x409aab(0x231)](_0x50ede3){var _0x3f09e4=_0x409aab,_0x72f345,_0x19dc93;return(_0x19dc93=(_0x72f345=this[_0x3f09e4(0x12c)])[_0x3f09e4(0x252)])==null?void 0x0:_0x19dc93['call'](_0x72f345,_0x50ede3);}[_0x409aab(0x1d7)](_0x5edb6a){var _0x2213cf=_0x409aab,_0x51acc6,_0x479fed,_0x3d6be2;return(_0x3d6be2=(_0x479fed=(_0x51acc6=this[_0x2213cf(0x12c)])[_0x2213cf(0x35e)])==null?void 0x0:_0x479fed[_0x2213cf(0x103)](_0x51acc6,_0x5edb6a))!=null?_0x3d6be2:_0x5edb6a;}[_0x409aab(0x16c)](_0x3493ea){var _0xc5d74b=_0x409aab,_0x40c12b,_0x474e01,_0x1c3716;return(_0x1c3716=(_0x474e01=(_0x40c12b=this[_0xc5d74b(0x12c)])[_0xc5d74b(0x337)])==null?void 0x0:_0x474e01[_0xc5d74b(0x103)](_0x40c12b,_0x3493ea))!=null?_0x1c3716:_0x3493ea;}['_syncEditingCollabCursor'](_0x53ecfa){var _0x7692a0=_0x409aab,_0x4e5502,_0x4e397c;if(this[_0x7692a0(0x255)]===Q[_0x7692a0(0x20f)]){const {unitID:_0x74c75c,mutations:_0x55ec6c,memberID:_0xe6dcef}=_0x53ecfa,_0x16470a=_0x55ec6c[0x0][_0x7692a0(0x131)][_0x7692a0(0x92)];Array[_0x7692a0(0x22d)](_0x16470a)&&_0x16470a[_0x7692a0(0xb8)]>0x0&&((_0x4e397c=(_0x4e5502=this[_0x7692a0(0x12c)])[_0x7692a0(0x185)])==null||_0x4e397c[_0x7692a0(0x103)](_0x4e5502,{'unitID':_0x74c75c,'memberID':_0xe6dcef,'textRanges':_0x16470a}));}}[_0x409aab(0x241)](){var _0x2fdbfa=_0x409aab,_0x3beb0c;(_0x3beb0c=this[_0x2fdbfa(0x29a)])==null||_0x3beb0c['updateOfflineData'](this[_0x2fdbfa(0x8d)],this[_0x2fdbfa(0x255)],this[_0x2fdbfa(0x251)],this['_pendingMutations']);}[_0x409aab(0x1bf)](){var _0x382d5e=_0x409aab;return this[_0x382d5e(0x324)][_0x382d5e(0x205)](this['unitID']);}['_incrementRevisionNumber'](){var _0x137536=_0x409aab;this[_0x137536(0x324)][_0x137536(0x1aa)](this[_0x137536(0x8d)]);}[_0x409aab(0x89)](_0x5f2529){var _0x231298=_0x409aab,_0x19cc56;let _0x4152da=this[_0x231298(0x1d7)](_0x5f2529);_0x4152da=this['_transformRemoteChangesetByStateCache'](_0x4152da);const _0x1da824=_0x4d0624(_0x4152da[_0x231298(0x1fd)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1da824['result'])throw _0x1da824['error']instanceof Error?_0x1da824['error']:new Error((_0x19cc56=_0x1da824[_0x231298(0x36f)])!=null?_0x19cc56:'[CollaborationState]:\x20apply\x20error!');this[_0x231298(0x37e)](_0x4152da),this[_0x231298(0x231)](_0x4152da),this['_transformUndoredo'](_0x5f2529),this[_0x231298(0x1ac)](_0x4152da),this[_0x231298(0x221)](_0x4152da),this[_0x231298(0x26c)]();}}let De=class extends be{constructor(_0x5c05ca,_0x13549e,_0x31c075,_0x2311fb,_0x1fd6ec,_0x4f80bf,_0x46e59c,_0x2229f7,_0x1f1b3d,_0x2b236a){var _0x22b322=_0x409aab;super(_0x5c05ca,_0x13549e,null,[],_0x31c075,_0x46e59c,_0x4f80bf,_0x2311fb,_0x2b236a),N(this,_0x22b322(0x1a1),'synced'),(this[_0x22b322(0x8c)]=_0x1fd6ec,this[_0x22b322(0x21d)]=_0x2229f7,this[_0x22b322(0x213)]=_0x1f1b3d,this[_0x22b322(0x316)]=_0x2b236a);}['appendMutation'](_0x31a81c){var _0xe6c26d=_0x409aab;const _0x22230a=this['_injector'][_0xe6c26d(0x12b)](oe,this[_0xe6c26d(0x8d)],this[_0xe6c26d(0x255)],[_0x31a81c],this[_0xe6c26d(0x12c)]);return _0x22230a[_0xe6c26d(0x217)](),_0x22230a[_0xe6c26d(0x241)](),_0x22230a;}[_0x409aab(0x15b)](_0x10d57c){var _0x54728f=_0x409aab;if(this[_0x54728f(0x17a)](_0x10d57c))return this[_0x54728f(0x8c)][_0x54728f(0x12b)](te,this['unitID'],this[_0x54728f(0x255)],null,[],null,[_0x10d57c],this[_0x54728f(0x12c)]);try{const _0x1d68b3=this[_0x54728f(0x213)][_0x54728f(0x16a)](_0x10d57c,[ur]);if(_0x3b7428(_0x1d68b3)){const {c1Prime:_0x3ea4cd}=_0x1d68b3;return this[_0x54728f(0x89)](_0x3ea4cd),this;}throw _0x1d68b3['error'];}catch(_0x463090){return this[_0x54728f(0x21d)][_0x54728f(0x36f)](_0x463090),this[_0x54728f(0x113)](!0x1);}}[_0x409aab(0x113)](_0x4d89d3){var _0x3bfa77=_0x409aab;return this[_0x3bfa77(0x8c)][_0x3bfa77(0x12b)](de,this[_0x3bfa77(0x8d)],this['type'],null,[],this[_0x3bfa77(0x12c)],_0x4d89d3);}[_0x409aab(0x262)](){var _0x1f0318=_0x409aab;throw new Error(_0x1f0318(0xaf));}['onRemoteRej'](){var _0x1feabf=_0x409aab;throw new Error(_0x1feabf(0x27b));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){var _0x3d1bc4=_0x409aab;return this[_0x3d1bc4(0x8c)][_0x3d1bc4(0x12b)](fe,this['unitID'],this[_0x3d1bc4(0x255)],null,[],this[_0x3d1bc4(0x12c)]);}[_0x409aab(0x114)](){return this;}[_0x409aab(0x303)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x2fe741=_0x409aab;const _0x1c8717=this['_revisionService'][_0x2fe741(0x205)](this[_0x2fe741(0x8d)]);return this[_0x2fe741(0x12c)][_0x2fe741(0xa1)]({'from':_0x1c8717,'to':0x0}),this[_0x2fe741(0x8c)][_0x2fe741(0x12b)](te,this[_0x2fe741(0x8d)],this['type'],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x301a99(_0x5c64fe)),A(0x4,_0x301a99(_0x2b67f5)),A(0x5,_0x347dd8),A(0x6,_0x38398c),A(0x7,_0x51fdc8),A(0x8,_0x21beed),A(0x9,_0x59bb9f(J))],De);let oe=class extends be{constructor(_0x2225f7,_0x2f8179,_0x4871a1,_0x16c94d,_0x385063,_0xabb210,_0x5d3b46,_0x23fa2c,_0x483b99,_0x3f8807,_0x136bb7,_0x591504,_0x3e688d,_0x44b015){var _0x5cbfba=_0x409aab;super(_0x2225f7,_0x2f8179,null,_0x4871a1,_0x16c94d,_0x483b99,_0x3e688d,_0xabb210,_0x44b015),N(this,_0x5cbfba(0x1a1),'pending'),N(this,_0x5cbfba(0x32c),null),N(this,_0x5cbfba(0x183),null),(this[_0x5cbfba(0x8c)]=_0x385063,this[_0x5cbfba(0x1e2)]=_0x5d3b46,this[_0x5cbfba(0x21d)]=_0x23fa2c,this[_0x5cbfba(0xd2)]=_0x3f8807,this['_transformService']=_0x136bb7,this[_0x5cbfba(0x18f)]=_0x591504);}['appendMutation'](_0x309ab1){var _0x509c8b=_0x409aab;return this['_pendingMutations'][_0x509c8b(0x8f)](_0x309ab1),this[_0x509c8b(0x241)](),this;}[_0x409aab(0x15b)](_0x2b02df){var _0x45f86a=_0x409aab;if(this[_0x45f86a(0x17a)](_0x2b02df))return this[_0x45f86a(0x187)](),this[_0x45f86a(0x8c)][_0x45f86a(0x12b)](te,this[_0x45f86a(0x8d)],this['type'],null,this[_0x45f86a(0x37f)],null,[_0x2b02df],this[_0x45f86a(0x12c)]);try{const _0x5e5754=this[_0x45f86a(0x213)][_0x45f86a(0x16a)](_0x2b02df,this[_0x45f86a(0x37f)]);if(_0x3b7428(_0x5e5754)){const {c1Prime:_0x4f0ddb,m2Prime:_0x11fcef}=_0x5e5754;this[_0x45f86a(0x89)](_0x4f0ddb);const _0x2ad6c8=this['_injector'][_0x45f86a(0x12b)](oe,this[_0x45f86a(0x8d)],this['type'],_0x11fcef,this[_0x45f86a(0x12c)]);this[_0x45f86a(0x187)]();const _0x4476b9=new Date()['getTime'](),_0xd46373=this[_0x45f86a(0x32c)]?Math[_0x45f86a(0x35b)](this['_scheduleCompleteTimestamp']-_0x4476b9,0x0):this[_0x45f86a(0x317)]();return _0x2ad6c8[_0x45f86a(0x217)](_0xd46373),_0x2ad6c8;}throw _0x5e5754[_0x45f86a(0x36f)];}catch(_0x8c05b6){return this[_0x45f86a(0x21d)][_0x45f86a(0x36f)](_0x8c05b6),this[_0x45f86a(0x113)](!0x1);}}[_0x409aab(0x262)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x33a45b=_0x409aab;throw new Error(_0x33a45b(0x19c));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){var _0x2fa594=_0x409aab;return this['_clearScheduledTask'](),this['_injector'][_0x2fa594(0x12b)](fe,this[_0x2fa594(0x8d)],this[_0x2fa594(0x255)],null,this[_0x2fa594(0x37f)],this['_handler']);}[_0x409aab(0x114)](){return this;}[_0x409aab(0x217)](_0x594ccd){var _0x3425a9=_0x409aab;const _0x2f763c=_0x594ccd!=null?_0x594ccd:this[_0x3425a9(0x317)]();this[_0x3425a9(0x32c)]=new Date()[_0x3425a9(0x35c)]()+_0x2f763c,this['_sendingTimer']=setTimeout(()=>{var _0x56aa4b=_0x3425a9;this[_0x56aa4b(0x187)]();let _0x4c788a=null;switch(this[_0x56aa4b(0x255)]){case Q[_0x56aa4b(0x8e)]:{_0x4c788a=zt(this['_pendingMutations'],this[_0x56aa4b(0x8d)],this[_0x56aa4b(0x18f)],this[_0x56aa4b(0x324)],this[_0x56aa4b(0x1e2)]);break;}case Q[_0x56aa4b(0x20f)]:{this['_pendingMutations']['every'](_0x48597b=>_0x48597b['id']===_0x27c4da['id'])?_0x4c788a=lr(this[_0x56aa4b(0x37f)],this[_0x56aa4b(0x8d)],this[_0x56aa4b(0x18f)],this['_revisionService'],this[_0x56aa4b(0x1e2)]):_0x4c788a=zt(this['_pendingMutations'],this[_0x56aa4b(0x8d)],this['_univerInstanceService'],this['_revisionService'],this[_0x56aa4b(0x1e2)]);break;}default:throw new Error(_0x56aa4b(0x1f9)+this[_0x56aa4b(0x255)]+_0x56aa4b(0x24d));}const {changeset:_0x33dcba,pendingMutations:_0x55d5ed}=_0x4c788a;this[_0x56aa4b(0x12c)][_0x56aa4b(0x232)](_0x33dcba);const _0x34c151=_0x55d5ed[_0x56aa4b(0xb8)]?this[_0x56aa4b(0x8c)][_0x56aa4b(0x12b)](ae,this[_0x56aa4b(0x8d)],this['type'],_0x33dcba,_0x55d5ed,this[_0x56aa4b(0x12c)],void 0x0):this[_0x56aa4b(0x8c)][_0x56aa4b(0x12b)](ue,this[_0x56aa4b(0x8d)],this[_0x56aa4b(0x255)],_0x33dcba,this[_0x56aa4b(0x12c)]);_0x34c151['_updateLocalCache'](),this[_0x56aa4b(0x12c)]['onStateChange'](this,_0x34c151);},_0x2f763c);}[_0x409aab(0x317)](){var _0x5133d8=_0x409aab,_0x541c3a;const _0x701c9b=this[_0x5133d8(0xd2)][_0x5133d8(0x294)](q);return(_0x541c3a=_0x701c9b==null?void 0x0:_0x701c9b['sendChangesetTimeout'])!=null?_0x541c3a:Cn;}[_0x409aab(0x303)](){var _0x25ef6f=_0x409aab;throw new Error(_0x25ef6f(0x1a0));}[_0x409aab(0x187)](){var _0x3a80a9=_0x409aab;this[_0x3a80a9(0x183)]!=null&&(clearTimeout(this[_0x3a80a9(0x183)]),this[_0x3a80a9(0x183)]=null);}['_onConflict'](_0x4a8bde){var _0x3e4bb4=_0x409aab;return this[_0x3e4bb4(0x187)](),this['_injector']['createInstance'](de,this[_0x3e4bb4(0x8d)],this['type'],null,this[_0x3e4bb4(0x37f)],this[_0x3e4bb4(0x12c)],_0x4a8bde);}};oe=Re([A(0x4,_0x301a99(_0x2b67f5)),A(0x5,_0x301a99(_0x5c64fe)),A(0x6,_0x301a99(xe)),A(0x7,_0x51fdc8),A(0x8,_0x38398c),A(0x9,_0x424efc),A(0xa,_0x21beed),A(0xb,_0x5b9095),A(0xc,_0x347dd8),A(0xd,_0x59bb9f(J))],oe);let ue=class extends be{constructor(_0x5dfdde,_0x5a54d5,_0x44f3d9,_0x5287b4,_0xfa6fe6,_0x26d492,_0x4f7b15,_0x3fde45,_0x3d7dc4,_0x199196,_0x21f77e){var _0x8eec83=_0x409aab;super(_0x5dfdde,_0x5a54d5,_0x44f3d9,[],_0x5287b4,_0x4f7b15,_0x199196,_0x26d492,_0x21f77e),N(this,'status',_0x8eec83(0x2a4)),N(this,_0x8eec83(0x2ef),0x0),N(this,_0x8eec83(0x225)),N(this,'_sender'),(this['_injector']=_0xfa6fe6,this[_0x8eec83(0x21d)]=_0x3fde45,this[_0x8eec83(0x213)]=_0x3d7dc4);}[_0x409aab(0x23a)](_0x543201){var _0x1f1975=_0x409aab;this['_clearScheduledTask']();const _0x2aaeac=this[_0x1f1975(0x8c)][_0x1f1975(0x12b)](ae,this[_0x1f1975(0x8d)],this[_0x1f1975(0x255)],this[_0x1f1975(0x251)],[_0x543201],this['_handler'],this[_0x1f1975(0x225)]);return _0x2aaeac[_0x1f1975(0x241)](),_0x2aaeac;}['onRemoteChangeset'](_0x5b3fcb){var _0x1d6b24=_0x409aab;if(this[_0x1d6b24(0x17a)](_0x5b3fcb))return this[_0x1d6b24(0x187)](),this['_injector'][_0x1d6b24(0x12b)](te,this['unitID'],this[_0x1d6b24(0x255)],this[_0x1d6b24(0x251)],[],null,[_0x5b3fcb],this[_0x1d6b24(0x12c)]);try{const _0x2305fd=this['_transformService'][_0x1d6b24(0x266)]([_0x5b3fcb],[this[_0x1d6b24(0x251)]],!0x1);if(_0x1a2c23(_0x2305fd)){const {c1Prime:_0x4d8369,c2Prime:_0x2a252a}=_0x2305fd;this['_executeRemoteChangeset'](_0x4d8369[0x0]),_0x2a252a[0x0]['baseRev']=this[_0x1d6b24(0x1bf)](),this['_clearScheduledTask']();const _0x4461d7=this[_0x1d6b24(0x8c)][_0x1d6b24(0x12b)](ue,this[_0x1d6b24(0x8d)],this['type'],_0x2a252a[0x0],this[_0x1d6b24(0x12c)]);return _0x4461d7[_0x1d6b24(0x241)](),_0x4461d7;}return this['_onConflict'](!0x1);}catch(_0x5d5fcf){return this[_0x1d6b24(0x21d)][_0x1d6b24(0x36f)](_0x5d5fcf),this[_0x1d6b24(0x113)](!0x1);}}[_0x409aab(0x262)](_0x5af37d){var _0x28aacf=_0x409aab;this['_clearScheduledTask']();const _0x563b93=this[_0x28aacf(0x324)]['getCurrentRevOfUnit'](this[_0x28aacf(0x8d)]);if(_0x5af37d[_0x28aacf(0x256)]<_0x563b93-0x1)return this;if(this[_0x28aacf(0x17a)](_0x5af37d))return this['_injector']['createInstance'](te,this[_0x28aacf(0x8d)],this[_0x28aacf(0x255)],null,[],this[_0x28aacf(0x251)],[],this['_handler']);this[_0x28aacf(0x26c)]();const _0x4617f6=this[_0x28aacf(0x8c)][_0x28aacf(0x12b)](De,this[_0x28aacf(0x8d)],this['type'],this[_0x28aacf(0x12c)]);return _0x4617f6[_0x28aacf(0x241)](),_0x4617f6;}[_0x409aab(0x2f9)](_0x4d6968){var _0x1d4650=_0x409aab;return this[_0x1d4650(0x113)](!!(_0x4d6968!=null&&_0x4d6968[_0x1d4650(0x22c)]));}['onRemoteRetry'](_0x1c683d){var _0x2d2f56=_0x409aab;return this[_0x2d2f56(0x2ef)]>Ni?this[_0x2d2f56(0x168)]():(this[_0x2d2f56(0x225)]=Oi(this[_0x2d2f56(0x2ef)],{'timeout':this[_0x2d2f56(0x2ef)],'reqId':_0x1c683d[_0x2d2f56(0x127)]}),this[_0x2d2f56(0x380)]=this[_0x2d2f56(0x225)]['subscribe'](({reqId:_0x4d2d42,timeout:_0x1749c7})=>{var _0x8bb304=_0x2d2f56;this[_0x8bb304(0x147)](_0x4d2d42,_0x1749c7);}),this);}['toggleOffline'](){var _0x35b64a=_0x409aab;return this[_0x35b64a(0x187)](),this[_0x35b64a(0x8c)][_0x35b64a(0x12b)](fe,this[_0x35b64a(0x8d)],this[_0x35b64a(0x255)],this[_0x35b64a(0x251)],[],this[_0x35b64a(0x12c)]);}[_0x409aab(0x114)](){return this;}[_0x409aab(0x303)](){var _0x1de873=_0x409aab;this[_0x1de873(0x12c)][_0x1de873(0x232)](this[_0x1de873(0x251)]);}['_onConflict'](_0x22709d){var _0x29424b=_0x409aab;return this[_0x29424b(0x187)](),this['_injector'][_0x29424b(0x12b)](de,this[_0x29424b(0x8d)],this[_0x29424b(0x255)],this[_0x29424b(0x251)],[],this[_0x29424b(0x12c)],_0x22709d);}[_0x409aab(0x147)](_0x912e08,_0x15f661){var _0x1b34fb=_0x409aab,_0x5eb0eb;_0x912e08===((_0x5eb0eb=this[_0x1b34fb(0x251)])==null?void 0x0:_0x5eb0eb[_0x1b34fb(0x127)])&&(this[_0x1b34fb(0x303)](),this[_0x1b34fb(0x2ef)]=_0x15f661===0x0?0x3e8:_0x15f661*0x2);}[_0x409aab(0x187)](){var _0xdd7c4f=_0x409aab,_0x3cf62d;(_0x3cf62d=this[_0xdd7c4f(0x380)])==null||_0x3cf62d['unsubscribe'](),this[_0xdd7c4f(0x2ef)]=0x0;}};ue=Re([A(0x4,_0x301a99(_0x2b67f5)),A(0x5,_0x301a99(_0x5c64fe)),A(0x6,_0x38398c),A(0x7,_0x51fdc8),A(0x8,_0x21beed),A(0x9,_0x347dd8),A(0xa,_0x59bb9f(J))],ue);let ae=class extends be{constructor(_0x5836da,_0x15d67a,_0x51bf00,_0x6d1d3b,_0xc821dc,_0x8bc4e6,_0x3c7460,_0x59eade,_0x599dd0,_0x26a57d,_0x411b06,_0x3e29f8,_0x45d0d5){var _0x1f223d=_0x409aab;super(_0x5836da,_0x15d67a,_0x51bf00,_0x6d1d3b,_0xc821dc,_0x599dd0,_0x3e29f8,_0x59eade,_0x45d0d5),N(this,_0x1f223d(0x1a1),_0x1f223d(0xa4)),N(this,_0x1f223d(0x2ef),0x0),N(this,_0x1f223d(0x225)),N(this,'_sender'),(this['_injector']=_0x3c7460,this['_logService']=_0x26a57d,this['_transformService']=_0x411b06,this['localCacheService']=_0x45d0d5,_0x8bc4e6&&(this[_0x1f223d(0x225)]=_0x8bc4e6,this[_0x1f223d(0x380)]=this[_0x1f223d(0x225)][_0x1f223d(0x136)](({reqId:_0x2c87cd,timeout:_0x4c5507})=>{var _0x3b8070=_0x1f223d;this[_0x3b8070(0x147)](_0x2c87cd,_0x4c5507);})));}['appendMutation'](_0x58b5c5){return this['_pendingMutations']['push'](_0x58b5c5),this;}['onRemoteChangeset'](_0x232c92){var _0xe7f5fb=_0x409aab;if(this[_0xe7f5fb(0x17a)](_0x232c92))return this[_0xe7f5fb(0x187)](),this[_0xe7f5fb(0x8c)][_0xe7f5fb(0x12b)](te,this[_0xe7f5fb(0x8d)],this[_0xe7f5fb(0x255)],this[_0xe7f5fb(0x251)],this[_0xe7f5fb(0x37f)],null,[_0x232c92],this[_0xe7f5fb(0x12c)]);try{const _0xba48c6=this[_0xe7f5fb(0x213)][_0xe7f5fb(0x266)]([_0x232c92],[this[_0xe7f5fb(0x251)]],!0x1);if(_0x1a2c23(_0xba48c6)){const {c1Prime:_0x47aab3,c2Prime:_0x380522}=_0xba48c6,_0x424269=this[_0xe7f5fb(0x213)][_0xe7f5fb(0x16a)](_0x47aab3[0x0],this[_0xe7f5fb(0x37f)]);if(_0x3b7428(_0x424269)){const {c1Prime:_0x3ed302,m2Prime:_0x1b3b2c}=_0x424269;return this[_0xe7f5fb(0x89)](_0x3ed302),_0x380522[0x0]['baseRev']=this[_0xe7f5fb(0x1bf)](),this[_0xe7f5fb(0x187)](),this[_0xe7f5fb(0x8c)][_0xe7f5fb(0x12b)](ae,this[_0xe7f5fb(0x8d)],this[_0xe7f5fb(0x255)],_0x380522[0x0],_0x1b3b2c,this['_handler'],void 0x0);}throw _0x424269[_0xe7f5fb(0x36f)];}throw _0xba48c6[_0xe7f5fb(0x36f)];}catch(_0x4156c4){return this['_logService'][_0xe7f5fb(0x36f)](_0x4156c4),this[_0xe7f5fb(0x113)](!0x1);}}[_0x409aab(0x262)](_0x42aa86){var _0x3c0324=_0x409aab;if(this[_0x3c0324(0x187)](),this['_checkMissing'](_0x42aa86))return this[_0x3c0324(0x8c)]['createInstance'](te,this['unitID'],this[_0x3c0324(0x255)],null,this[_0x3c0324(0x37f)],this[_0x3c0324(0x251)],[],this[_0x3c0324(0x12c)]);this['_incrementRevisionNumber']();const _0x522a6d=this[_0x3c0324(0x8c)][_0x3c0324(0x12b)](oe,this[_0x3c0324(0x8d)],this['type'],this[_0x3c0324(0x37f)],this[_0x3c0324(0x12c)]);return _0x522a6d[_0x3c0324(0x217)](),_0x522a6d['_updateLocalCache'](),_0x522a6d;}[_0x409aab(0x2f9)](_0x49aac5){var _0xc137c2=_0x409aab;return this[_0xc137c2(0x113)](!!(_0x49aac5!=null&&_0x49aac5['isPermissionRej']));}['onRemoteRetry'](_0x428ccd){var _0x2a1e12=_0x409aab;return this[_0x2a1e12(0x2ef)]>Ni?this[_0x2a1e12(0x168)]():(this[_0x2a1e12(0x225)]=Oi(this[_0x2a1e12(0x2ef)],{'timeout':this[_0x2a1e12(0x2ef)],'reqId':_0x428ccd['reqId']}),this[_0x2a1e12(0x380)]=this[_0x2a1e12(0x225)][_0x2a1e12(0x136)](({reqId:_0x1ae970,timeout:_0x5dc9b6})=>{var _0x3559e6=_0x2a1e12;this[_0x3559e6(0x147)](_0x1ae970,_0x5dc9b6);}),this);}[_0x409aab(0x168)](){var _0x4dc524=_0x409aab;return this[_0x4dc524(0x187)](),this[_0x4dc524(0x8c)]['createInstance'](fe,this[_0x4dc524(0x8d)],this[_0x4dc524(0x255)],this[_0x4dc524(0x251)],this[_0x4dc524(0x37f)],this[_0x4dc524(0x12c)]);}['toggleOnline'](){return this;}[_0x409aab(0x303)](){var _0x29fb07=_0x409aab;this[_0x29fb07(0x12c)]['onSendChangeset'](this[_0x29fb07(0x251)]);}['_onConflict'](_0x113356){var _0x1697a1=_0x409aab;return this[_0x1697a1(0x187)](),this[_0x1697a1(0x8c)][_0x1697a1(0x12b)](de,this['unitID'],this[_0x1697a1(0x255)],null,this[_0x1697a1(0x37f)],this[_0x1697a1(0x12c)],_0x113356);}['_resendWithTimeout'](_0x48810b,_0x5ee996){var _0x5281a6=_0x409aab,_0x111988;_0x48810b===((_0x111988=this[_0x5281a6(0x251)])==null?void 0x0:_0x111988[_0x5281a6(0x127)])&&(this[_0x5281a6(0x303)](),this[_0x5281a6(0x2ef)]=_0x5ee996===0x0?0x3e8:_0x5ee996*0x2);}['_clearScheduledTask'](){var _0x14f077=_0x409aab,_0x21c0a0;(_0x21c0a0=this['_sender'])==null||_0x21c0a0[_0x14f077(0x13e)](),this[_0x14f077(0x2ef)]=0x0;}};ae=Re([A(0x6,_0x301a99(_0x2b67f5)),A(0x7,_0x301a99(_0x5c64fe)),A(0x8,_0x38398c),A(0x9,_0x51fdc8),A(0xa,_0x21beed),A(0xb,_0x347dd8),A(0xc,_0x59bb9f(J))],ae);let de=class extends be{constructor(_0x5ca314,_0x56d156,_0x2d3086,_0x3d3489,_0x21cbf2,_0x13f874=!0x1,_0x13de0e,_0x36ceec,_0x3a00f1,_0x5f13ec,_0x1406e4,_0x318c00,_0x2733ff){var _0x3e91eb=_0x409aab;super(_0x5ca314,_0x56d156,_0x2d3086,_0x3d3489,_0x21cbf2,_0x36ceec,_0x3a00f1,_0x5f13ec,_0x2733ff),N(this,'status',_0x3e91eb(0x318)),(this[_0x3e91eb(0x2eb)]=_0x13f874,this['_permissionService']=_0x13de0e,this[_0x3e91eb(0x2c7)]=_0x1406e4,this[_0x3e91eb(0x2d8)]=_0x318c00,this[_0x3e91eb(0x316)]=_0x2733ff,this['_showConflictNotification'](),this[_0x3e91eb(0x336)](),this['_disableEditing']());}[_0x409aab(0x23a)](){return this;}[_0x409aab(0x15b)](){return this;}[_0x409aab(0x262)](){return this;}[_0x409aab(0x2f9)](){return this;}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){return this;}[_0x409aab(0x114)](){return this;}['resend'](){var _0x210133=_0x409aab;throw new Error(_0x210133(0x2ff));}[_0x409aab(0x336)](){var _0x320bdf=_0x409aab,_0x2b47e5;(_0x2b47e5=this[_0x320bdf(0x29a)])==null||_0x2b47e5[_0x320bdf(0x2ce)](this['unitID'],this[_0x320bdf(0x255)],null,[]);}[_0x409aab(0x30a)](){var _0x3fbdc5=_0x409aab;this[_0x3fbdc5(0x2eb)]?this[_0x3fbdc5(0x2d8)][_0x3fbdc5(0x207)]({'id':se[_0x3fbdc5(0x220)]}):this['_collaborationUIEventService']['emitEvent']({'id':se['CONFLICT']});}[_0x409aab(0x1c4)](){var _0x42a0a3=_0x409aab;this[_0x42a0a3(0xd4)][_0x42a0a3(0xa3)](new _0x4e3789(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x301a99(_0x53aaa3)),A(0x7,_0x38398c),A(0x8,_0x347dd8),A(0x9,_0x301a99(_0x5c64fe)),A(0xa,_0x301a99(_0x226151)),A(0xb,_0x301a99(pe)),A(0xc,_0x59bb9f(J))],de);let fe=class extends be{constructor(_0x1fbe17,_0x1cfb3a,_0x5d1533,_0x3b8784,_0x5b3f1c,_0x5443a2,_0x57ea3a,_0x17740f,_0x4a7ef7,_0xdbd551){var _0x438936=_0x409aab;super(_0x1fbe17,_0x1cfb3a,_0x5d1533,_0x3b8784,_0x5b3f1c,_0x17740f,_0x4a7ef7,_0x57ea3a,_0xdbd551),N(this,_0x438936(0x1a1),_0x438936(0x282)),this[_0x438936(0x8c)]=_0x5443a2;}[_0x409aab(0x23a)](_0xf4807b){var _0x1a2458=_0x409aab;return this['_pendingMutations'][_0x1a2458(0x8f)](_0xf4807b),this[_0x1a2458(0x241)](),this;}[_0x409aab(0x15b)](_0x358f1b){var _0x4483c8=_0x409aab;throw new Error(_0x4483c8(0x1be));}[_0x409aab(0x262)](){var _0x82a7bf=_0x409aab;throw new Error(_0x82a7bf(0x269));}[_0x409aab(0x2f9)](){var _0x46f73c=_0x409aab;throw new Error(_0x46f73c(0x106));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){return this;}[_0x409aab(0x114)](){var _0x18a52e=_0x409aab;const {_injector:_0x826ee1,_pendingMutations:_0x153471,_awaitingChangeset:_0x28593f,unitID:_0x328e35,_handler:_0xf2f811,type:_0x4baa60}=this,_0x5dc88a=Di(_0x826ee1,_0x328e35,_0x4baa60,_0x28593f,_0x153471,_0xf2f811);return _0x5dc88a instanceof oe?_0x5dc88a[_0x18a52e(0x217)]():(_0x5dc88a instanceof ae||_0x5dc88a instanceof ue)&&_0x5dc88a[_0x18a52e(0x303)](),_0x5dc88a;}[_0x409aab(0x303)](){var _0x20acfb=_0x409aab;throw new Error(_0x20acfb(0xc8));}};fe=Re([A(0x5,_0x301a99(_0x2b67f5)),A(0x6,_0x301a99(_0x5c64fe)),A(0x7,_0x38398c),A(0x8,_0x347dd8),A(0x9,_0x59bb9f(J))],fe);let te=class extends be{constructor(_0x3b019c,_0xd80d53,_0x11f6ee,_0x33dd77,_0x36bce8,_0x54f8f1,_0x458b10,_0x11b819,_0x536fb8,_0x247e6b,_0x39c999,_0x32bebf,_0x4ea87e,_0x558d92){var _0x4cd158=_0x409aab;super(_0x3b019c,_0xd80d53,_0x11f6ee,_0x33dd77,_0x458b10,_0x39c999,_0x32bebf,_0x536fb8,_0x558d92),N(this,_0x4cd158(0x1a1),_0x4cd158(0x15c)),(this[_0x4cd158(0x298)]=_0x36bce8,this[_0x4cd158(0xdd)]=_0x54f8f1,this[_0x4cd158(0x8c)]=_0x11b819,this[_0x4cd158(0x21d)]=_0x247e6b,this[_0x4cd158(0x213)]=_0x4ea87e,this[_0x4cd158(0x316)]=_0x558d92);}['onMissedChangesetFetched'](_0x1d92e2){var _0xd7b1bc=_0x409aab;try{const _0x10427a=[..._0x1d92e2,...this['_queuedRemoteChangesets']],_0xd7a0ef=[this[_0xd7b1bc(0x251)]||this['_acknowledgedAwaitingChangeset']][_0xd7b1bc(0x248)](_0x1c85f7=>!!_0x1c85f7);let _0x219086,_0x51a49c;if(_0xd7a0ef[_0xd7b1bc(0xb8)]){const _0x5b07e2=this[_0xd7b1bc(0x213)][_0xd7b1bc(0x266)](_0x10427a,_0xd7a0ef,!0x1);if(!_0x1a2c23(_0x5b07e2))throw _0x5b07e2[_0xd7b1bc(0x36f)];_0x219086=_0x5b07e2[_0xd7b1bc(0x144)],_0x51a49c=_0x5b07e2[_0xd7b1bc(0x24f)];}else _0x219086=_0x10427a,_0x51a49c=[];let _0x2e49ce=this[_0xd7b1bc(0x37f)];_0x219086['forEach'](_0x4d1196=>{var _0x10f5ee=_0xd7b1bc;let _0x204834;if(_0x2e49ce[_0x10f5ee(0xb8)]){const _0x8095b0=this['_transformService'][_0x10f5ee(0x16a)](_0x4d1196,_0x2e49ce);if(!_0x3b7428(_0x8095b0))throw _0x8095b0[_0x10f5ee(0x36f)];_0x204834=_0x8095b0[_0x10f5ee(0x144)],_0x2e49ce=_0x8095b0[_0x10f5ee(0x371)];}else _0x204834=_0x4d1196;this[_0x10f5ee(0x89)](_0x204834);}),this[_0xd7b1bc(0x298)]&&this[_0xd7b1bc(0x26c)](),this[_0xd7b1bc(0x251)]&&_0x51a49c[_0xd7b1bc(0xb8)]&&(_0x51a49c[0x0][_0xd7b1bc(0x340)]=this[_0xd7b1bc(0x1bf)]());let _0x395d91;if(this[_0xd7b1bc(0x251)]&&_0x2e49ce[_0xd7b1bc(0xb8)]!==0x0)_0x395d91=this['_injector'][_0xd7b1bc(0x12b)](ae,this[_0xd7b1bc(0x8d)],this[_0xd7b1bc(0x255)],_0x51a49c[0x0],_0x2e49ce,this[_0xd7b1bc(0x12c)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2e49ce['length']===0x0)_0x51a49c[0x0]['baseRev']=this['_getCurrentRevision'](),_0x395d91=this[_0xd7b1bc(0x8c)][_0xd7b1bc(0x12b)](ue,this['unitID'],this[_0xd7b1bc(0x255)],_0x51a49c[0x0],this[_0xd7b1bc(0x12c)]);else{if(_0x2e49ce['length']!==0x0){const _0x436ed9=this['_injector']['createInstance'](oe,this['unitID'],this['type'],_0x2e49ce,this[_0xd7b1bc(0x12c)]);_0x436ed9[_0xd7b1bc(0x217)](),_0x395d91=_0x436ed9;}else _0x395d91=this[_0xd7b1bc(0x8c)][_0xd7b1bc(0x12b)](De,this[_0xd7b1bc(0x8d)],this[_0xd7b1bc(0x255)],this[_0xd7b1bc(0x12c)]);}}return _0x395d91['_updateLocalCache'](),_0x395d91;}catch(_0x7dc32){return this[_0xd7b1bc(0x21d)][_0xd7b1bc(0x36f)](_0xd7b1bc(0xd3),_0xd7b1bc(0x119),_0x7dc32),this[_0xd7b1bc(0x8c)]['createInstance'](de,this[_0xd7b1bc(0x8d)],this['type'],this['_awaitingChangeset'],this[_0xd7b1bc(0x37f)],this[_0xd7b1bc(0x12c)],!0x1);}}[_0x409aab(0x303)](){var _0xbb266d=_0x409aab;throw new Error(_0xbb266d(0x21f));}[_0x409aab(0x23a)](_0x337d97){var _0x474a83=_0x409aab;return this[_0x474a83(0x37f)]['push'](_0x337d97),this;}['onRemoteChangeset'](_0x455f5a){var _0x23f947=_0x409aab;return this[_0x23f947(0xdd)][_0x23f947(0x8f)](_0x455f5a),this;}[_0x409aab(0x262)](_0x5286b6){var _0x3293a0=_0x409aab;if(this[_0x3293a0(0x251)])return this[_0x3293a0(0x298)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x3293a0(0x2f6));}['onRemoteRej'](_0xaa2087){var _0x262f30=_0x409aab;return this['_onConflict'](!!(_0xaa2087!=null&&_0xaa2087[_0x262f30(0x22c)]));}[_0x409aab(0x2c1)](){return this;}[_0x409aab(0x168)](){var _0x40713e=_0x409aab;return this['_injector'][_0x40713e(0x12b)](fe,this[_0x40713e(0x8d)],this[_0x40713e(0x255)],this[_0x40713e(0x251)],this['_pendingMutations'],this[_0x40713e(0x12c)]);}[_0x409aab(0x114)](){return this;}['_onConflict'](_0x21b442){var _0x3c1a06=_0x409aab;return this[_0x3c1a06(0x8c)][_0x3c1a06(0x12b)](de,this[_0x3c1a06(0x8d)],this[_0x3c1a06(0x255)],this['_awaitingChangeset'],this[_0x3c1a06(0x37f)],this[_0x3c1a06(0x12c)],_0x21b442);}};te=Re([A(0x7,_0x301a99(_0x2b67f5)),A(0x8,_0x301a99(_0x5c64fe)),A(0x9,_0x51fdc8),A(0xa,_0x38398c),A(0xb,_0x347dd8),A(0xc,_0x21beed),A(0xd,_0x59bb9f(J))],te);function Di(_0xa186b7,_0xf606bc,_0x32849e,_0x11a7de,_0x20d725,_0x1e1c20){var _0x2de5e2=_0x409aab;return _0x11a7de&&_0x20d725['length']?_0xa186b7[_0x2de5e2(0x12b)](ae,_0xf606bc,_0x32849e,_0x11a7de,_0x20d725,_0x1e1c20,void 0x0):_0x11a7de?_0xa186b7[_0x2de5e2(0x12b)](ue,_0xf606bc,_0x32849e,_0x11a7de,_0x1e1c20):_0x20d725[_0x2de5e2(0xb8)]?_0xa186b7[_0x2de5e2(0x12b)](oe,_0xf606bc,_0x32849e,_0x20d725,_0x1e1c20):_0xa186b7['createInstance'](De,_0xf606bc,_0x32849e,_0x1e1c20);}var vr=Object[_0x409aab(0x1b3)],pr=Object[_0x409aab(0x308)],Lt=(_0x5b300c,_0x274cd3,_0xf4f876,_0x4e7fa4)=>{var _0x42a53f=_0x409aab;for(var _0x4c7148=_0x4e7fa4>0x1?void 0x0:_0x4e7fa4?pr(_0x274cd3,_0xf4f876):_0x274cd3,_0xa47718=_0x5b300c[_0x42a53f(0xb8)]-0x1,_0x10263c;_0xa47718>=0x0;_0xa47718--)(_0x10263c=_0x5b300c[_0xa47718])&&(_0x4c7148=(_0x4e7fa4?_0x10263c(_0x274cd3,_0xf4f876,_0x4c7148):_0x10263c(_0x4c7148))||_0x4c7148);return _0x4e7fa4&&_0x4c7148&&vr(_0x274cd3,_0xf4f876,_0x4c7148),_0x4c7148;},k=(_0x5b2d73,_0xa666f6)=>(_0x5c17b3,_0x405b21)=>_0xa666f6(_0x5c17b3,_0x405b21,_0x5b2d73);let nt=class extends _0x5432f0{constructor(_0x4c669d,_0x4e0170,_0x7cc7da,_0x21ce7f,_0x2e2287,_0x429097,_0x365fa1,_0x2e17c3,_0x44d286,_0x4f0720,_0x29302a,_0x5a5068,_0x17adad){var _0x579dc7=_0x409aab;super(),N(this,_0x579dc7(0xe2),new _0x4d6645(null)),N(this,'state$',this[_0x579dc7(0xe2)][_0x579dc7(0x1cd)]()),N(this,_0x579dc7(0x356)),N(this,_0x579dc7(0x24e),!0x1),N(this,_0x579dc7(0x339),''),N(this,_0x579dc7(0x189),0x0),N(this,_0x579dc7(0x304),this[_0x579dc7(0x17f)][_0x579dc7(0x1a8)](_0x2e303b(_0x4914f2=>_0x4914f2?_0x4914f2[_0x579dc7(0x1a1)]:yi[_0x579dc7(0x368)]),_0x5a4e87(0x1))),N(this,_0x579dc7(0x12e),!0x1),N(this,_0x579dc7(0x9c),[]),(this[_0x579dc7(0x8d)]=_0x4c669d,this[_0x579dc7(0x1e3)]=_0x4e0170,this['_type']=_0x7cc7da,this['_injector']=_0x21ce7f,this[_0x579dc7(0xf2)]=_0x2e2287,this['_localeService']=_0x429097,this[_0x579dc7(0x324)]=_0x365fa1,this['_eventService']=_0x2e17c3,this['_logService']=_0x44d286,this[_0x579dc7(0x31f)]=_0x4f0720,this[_0x579dc7(0xd4)]=_0x29302a,this[_0x579dc7(0x206)]=_0x5a5068,this[_0x579dc7(0x29a)]=_0x17adad);}get[_0x409aab(0x250)](){var _0x5a28b0=_0x409aab;return this[_0x5a28b0(0x356)];}async[_0x409aab(0x1b2)](){var _0x5d577a=_0x409aab;if(this[_0x5d577a(0x250)])throw new Error(_0x5d577a(0x265));await this[_0x5d577a(0xb2)]();}[_0x409aab(0x283)](){var _0x597ada=_0x409aab;return this[_0x597ada(0x24e)]=!0x0,_0x27b28a(()=>{var _0x25bce7=_0x597ada;this[_0x25bce7(0x24e)]=!0x1,this[_0x25bce7(0x258)]();});}[_0x409aab(0x36e)](_0x3660cf){var _0x3613b0=_0x409aab;this[_0x3613b0(0xcd)](_0x3660cf);}[_0x409aab(0xd7)](_0x497669){var _0x221260=_0x409aab;this['_state']=_0x497669,this[_0x221260(0xe2)][_0x221260(0x10a)](_0x497669);}async[_0x409aab(0xb2)](){var _0x4d556f=_0x409aab,_0x4176b0;this[_0x4d556f(0xd7)](await this[_0x4d556f(0x343)]()),this[_0x4d556f(0x206)]&&((_0x4176b0=this['_singleActiveUnitService'])==null||_0x4176b0[_0x4d556f(0x233)](this[_0x4d556f(0x8d)]),this[_0x4d556f(0xc4)](this['_singleActiveUnitService'][_0x4d556f(0x99)](this['unitID'])[_0x4d556f(0x136)](_0x27d225=>{var _0x18fabe=_0x4d556f;this[_0x18fabe(0x21d)][_0x18fabe(0x11a)](_0x18fabe(0x30e),'editing\x20status\x20changed\x20to',_0x27d225),_0x27d225===bi[_0x18fabe(0x11e)]?(this['_eventService']['emitEvent']({'id':se[_0x18fabe(0x247)]}),this[_0x18fabe(0xd4)]['updatePermissionPoint'](new _0x4e3789(this[_0x18fabe(0x8d)])['id'],!0x1),this[_0x18fabe(0xd4)][_0x18fabe(0x27f)](!0x1)):(this[_0x18fabe(0xd4)]['updatePermissionPoint'](new _0x4e3789(this[_0x18fabe(0x8d)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x29fbf4=!0x1;return this['disposeWithMe'](this[_0x4d556f(0x1e3)][_0x4d556f(0x2df)][_0x4d556f(0x136)](_0x2e54e3=>{var _0x33759b=_0x4d556f;_0x2e54e3===Te[_0x33759b(0x29d)]?this[_0x33759b(0x338)](_0x29fbf4):_0x2e54e3===Te[_0x33759b(0x368)]&&(_0x29fbf4=!0x0,this['_toggleOffline']());})),this[_0x4d556f(0xc4)](this['session'][_0x4d556f(0x30b)][_0x4d556f(0x136)](_0x1254e4=>{var _0x28a594=_0x4d556f;try{switch(_0x1254e4[_0x28a594(0xe0)]){case _0x4dbda1['NEW_CHANGESETS']:{this[_0x28a594(0x1f8)](_0x36b852(_0x1254e4[_0x28a594(0x2bd)]));break;}case _0x4dbda1['CHANGESET_ACK']:{this[_0x28a594(0x2aa)](_0x1254e4[_0x28a594(0x2bd)]);break;}case _0x4dbda1['CHANGESET_REJ']:{this[_0x28a594(0x164)]();break;}case _0x4dbda1[_0x28a594(0x311)]:{this['_onRemoteRetry'](_0x1254e4[_0x28a594(0x2bd)]);break;}case _0x4dbda1[_0x28a594(0x288)]:{this[_0x28a594(0x134)](_0x1254e4['data']['changesets'][_0x28a594(0x281)](_0x166229=>_0x36b852(_0x166229)));break;}case _0x4dbda1[_0x28a594(0x31c)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4dbda1['UNISCRIPT_RUN']:break;}}catch(_0x499d3d){throw console['error'](_0x28a594(0x36b),_0x499d3d),_0x499d3d;}})),this[_0x4d556f(0x356)];}[_0x409aab(0x369)](){var _0x5b25ca=_0x409aab;this[_0x5b25ca(0x12e)]=!0x1;}[_0x409aab(0x25e)](){var _0x2b64e8=_0x409aab;if(this[_0x2b64e8(0x12e)])throw new Error(_0x2b64e8(0x34c));this[_0x2b64e8(0x12e)]=!0x0;}[_0x409aab(0xcd)](_0x3ab976){var _0x3c91cd=_0x409aab;this[_0x3c91cd(0x25e)](),this['_updateState'](this['_state'][_0x3c91cd(0x23a)](_0x3ab976)),this[_0x3c91cd(0x369)]();}[_0x409aab(0x1f8)](_0x16a15d){var _0x4994e9=_0x409aab;if(!(_0x16a15d['revision']<=this[_0x4994e9(0x324)][_0x4994e9(0x205)](this[_0x4994e9(0x8d)]))){if(this['_collaborationPaused']){this[_0x4994e9(0x9c)][_0x4994e9(0x8f)](_0x16a15d);return;}this['_applyRemoteChangeset'](_0x16a15d);}}[_0x409aab(0x258)](){var _0x4c896e=_0x409aab;this[_0x4c896e(0x9c)][_0x4c896e(0x1df)](_0x330391=>this[_0x4c896e(0x2e3)](_0x330391)),this[_0x4c896e(0x9c)]=[];}[_0x409aab(0x2e3)](_0x56d2e4){var _0x20a2f1=_0x409aab;const _0x3bb26b=this['_compressMutationService']['interceptor'][_0x20a2f1(0x22a)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x56d2e4[_0x20a2f1(0x1fd)],null)||_0x56d2e4[_0x20a2f1(0x1fd)],_0xec7966={..._0x56d2e4,'mutations':_0x3bb26b};this[_0x20a2f1(0x25e)](),this[_0x20a2f1(0xd7)](this[_0x20a2f1(0x356)][_0x20a2f1(0x15b)](_0xec7966)),this[_0x20a2f1(0x369)]();}['_onRemoteACK'](_0x5668e1){var _0x4f0aff=_0x409aab;this[_0x4f0aff(0x25e)](),this[_0x4f0aff(0xd7)](this[_0x4f0aff(0x356)][_0x4f0aff(0x262)](_0x5668e1)),this[_0x4f0aff(0x369)]();}[_0x409aab(0x164)](_0x15fbda){var _0x132bb6=_0x409aab;this[_0x132bb6(0x25e)](),this[_0x132bb6(0xd7)](this[_0x132bb6(0x356)][_0x132bb6(0x2f9)](_0x15fbda)),this[_0x132bb6(0x369)]();}[_0x409aab(0x2e8)](_0x345069){var _0xa77487=_0x409aab;this[_0xa77487(0x25e)](),this[_0xa77487(0xd7)](this[_0xa77487(0x356)][_0xa77487(0x2c1)](_0x345069)),this[_0xa77487(0x369)]();}[_0x409aab(0x134)](_0x274085){var _0x2bc0c4=_0x409aab;if(!(this[_0x2bc0c4(0x356)]instanceof te))throw new TypeError(_0x2bc0c4(0x197));const _0x177632=_0x274085[_0x2bc0c4(0x281)](_0x411d13=>{var _0xc5cc4=_0x2bc0c4;const _0x146e58=this[_0xc5cc4(0xf2)]['interceptor'][_0xc5cc4(0x22a)](this['_compressMutationService'][_0xc5cc4(0x152)][_0xc5cc4(0xa2)]()[_0xc5cc4(0x149)])(_0x411d13['mutations'],null)||_0x411d13['mutations'];return{..._0x411d13,'mutations':_0x146e58};});this[_0x2bc0c4(0x25e)](),this['_updateState'](this['_state'][_0x2bc0c4(0x1a4)](_0x177632)),this['_unlockTransition']();}['_toggleOffline'](){var _0x685f65=_0x409aab;this[_0x685f65(0x25e)](),this[_0x685f65(0xd7)](this[_0x685f65(0x356)]['toggleOffline']()),this[_0x685f65(0x369)]();}['_toggleOnline'](_0x106a38=!0x1){var _0x2cbe04=_0x409aab;this[_0x2cbe04(0x25e)](),this[_0x2cbe04(0xd7)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x35e66c=this[_0x2cbe04(0x356)];_0x106a38&&_0x35e66c instanceof De&&(this['_lockTransition'](),this[_0x2cbe04(0xd7)](_0x35e66c[_0x2cbe04(0x29b)]()),this[_0x2cbe04(0x369)]());}async[_0x409aab(0x343)](){return new Promise(_0x165148=>{var _0x4abae9=_0x5cef;this['session']['sessionStatus$']['pipe'](_0x114191(0x1))[_0x4abae9(0x136)](async _0x32660d=>{var _0x35c955=_0x4abae9;_0x165148(await this[_0x35c955(0x29f)](_0x32660d===Te[_0x35c955(0x29d)]));});});}[_0x409aab(0x137)](){var _0x181f1c=_0x409aab;const _0x3abed2=this[_0x181f1c(0x8d)];return{'onStateChange':(_0x9fc95b,_0xf2fd12)=>{var _0x214c28=_0x181f1c;if(_0x9fc95b!==this['_state'])throw new Error(_0x214c28(0x18a)+_0x9fc95b[_0x214c28(0x1a1)]+'\x0aAfter:\x20'+_0xf2fd12['status']+_0x214c28(0xd1)+this[_0x214c28(0x356)][_0x214c28(0x1a1)]);this[_0x214c28(0xd7)](_0xf2fd12);},'onSendChangeset':_0x1225a5=>{var _0x4abcb4=_0x181f1c;_0x1225a5[_0x4abcb4(0x334)]||(_0x1225a5['sid']=this[_0x4abcb4(0x339)],_0x1225a5[_0x4abcb4(0x127)]=++this[_0x4abcb4(0x189)]);const _0x4225d3={'eventID':_0x4dbda1[_0x4abcb4(0x9a)],'data':{'unitID':_0x1225a5['unitID'],'unitType':this[_0x4abcb4(0x1fc)],'changeset':_0x1225a5,'memberID':this[_0x4abcb4(0x1e3)][_0x4abcb4(0x222)]()}};this['session']['send'](_0x4225d3,this[_0x4abcb4(0x8d)]);},'onMissingChangesets':({from:_0x6c183c,to:_0x26730b})=>{var _0x281f83=_0x181f1c;this['_logService'][_0x281f83(0x11a)](_0x281f83(0x30e),'fetching\x20missing\x20changesets\x20from\x20'+_0x6c183c+_0x281f83(0x2ea)+_0x26730b);const _0x1ee452={'eventID':_0x4dbda1['FETCH_MISSING'],'data':{'unitID':_0x3abed2,'unitType':this[_0x281f83(0x1fc)],'from':_0x6c183c,'to':_0x26730b}};this[_0x281f83(0x1e3)]['send'](_0x1ee452,this[_0x281f83(0x8d)]);}};}async['_createInitialStateImpl'](_0x3bd32d){var _0x34dce3=_0x409aab,_0x5781a4,_0x14dee2,_0x205805;const _0x438ec6=await((_0x5781a4=this[_0x34dce3(0x29a)])==null?void 0x0:_0x5781a4[_0x34dce3(0x349)](this['unitID'])),_0x567901=(_0x14dee2=_0x438ec6==null?void 0x0:_0x438ec6[_0x34dce3(0x1fd)])!=null?_0x14dee2:[],_0x3acaa8=(_0x205805=_0x438ec6==null?void 0x0:_0x438ec6[_0x34dce3(0x379)])!=null?_0x205805:null,_0x5d8c82=!!(_0x3acaa8!=null&&_0x3acaa8[_0x34dce3(0x334)])&&!!(_0x3acaa8!=null&&_0x3acaa8['reqId']);this[_0x34dce3(0x339)]=_0x5d8c82?_0x3acaa8[_0x34dce3(0x334)]:sr(),this['_changesetReqId']=_0x5d8c82?_0x3acaa8['reqId']:0x0;const _0x2ec4a7=this[_0x34dce3(0x8d)];try{this[_0x34dce3(0x1ec)](_0x3acaa8,_0x567901);}catch(_0x223a77){this[_0x34dce3(0x21d)][_0x34dce3(0x36f)](_0x223a77);}const _0x25a620=this[_0x34dce3(0x137)]();if(_0x3bd32d){const _0x21f0b4=Di(this[_0x34dce3(0x8c)],_0x2ec4a7,this[_0x34dce3(0x1fc)],_0x3acaa8,_0x567901,_0x25a620);return _0x21f0b4 instanceof oe?_0x21f0b4[_0x34dce3(0x217)]():(_0x21f0b4 instanceof ae||_0x21f0b4 instanceof ue)&&_0x21f0b4[_0x34dce3(0x303)](),_0x21f0b4;}return this['_injector'][_0x34dce3(0x12b)](fe,_0x2ec4a7,this[_0x34dce3(0x1fc)],_0x3acaa8,_0x567901,_0x25a620);}[_0x409aab(0x1ec)](_0x4e6cd2,_0x334631){var _0x1375a1=_0x409aab,_0x1aca26,_0x4a6b6f;const _0x529a03=this[_0x1375a1(0xf2)][_0x1375a1(0x152)][_0x1375a1(0x22a)](this[_0x1375a1(0xf2)]['interceptor'][_0x1375a1(0xa2)]()['COMPRESS_MUTATION_APPLY']);(_0x1aca26=_0x529a03((_0x4e6cd2==null?void 0x0:_0x4e6cd2[_0x1375a1(0x1fd)])||[],null))==null||_0x1aca26['forEach'](_0x47499c=>this[_0x1375a1(0x31f)][_0x1375a1(0xa8)](_0x47499c['id'],_0x47499c[_0x1375a1(0x131)])),(_0x4a6b6f=_0x529a03(_0x334631||[],null))==null||_0x4a6b6f[_0x1375a1(0x1df)](_0x5abdbb=>this[_0x1375a1(0x31f)]['executeCommand'](_0x5abdbb['id'],_0x5abdbb[_0x1375a1(0x131)]));}};nt=Lt([k(0x3,_0x301a99(_0x2b67f5)),k(0x4,_0x301a99(_0x24d2cc)),k(0x5,_0x301a99(_0x226151)),k(0x6,_0x301a99(_0x5c64fe)),k(0x7,_0x301a99(pe)),k(0x8,_0x51fdc8),k(0x9,_0x38398c),k(0xa,_0x53aaa3),k(0xb,_0x59bb9f(ht)),k(0xc,_0x59bb9f(J))],nt);let Tt=class extends nt{constructor(_0x58066c,_0x296fb0,_0x497c0c,_0x581272,_0x2bee00,_0x466f1c,_0x8c90a7,_0x426a6a,_0x97c94b,_0x25d3d3,_0x5b5991,_0x34beaf,_0x44fb6a){var _0x485cec=_0x409aab;super(_0x58066c,_0x497c0c,_0x296fb0,_0x581272,_0x2bee00,_0x466f1c,_0x8c90a7,_0x426a6a,_0x97c94b,_0x25d3d3,_0x5b5991,_0x34beaf,_0x44fb6a),N(this,'_handlerCallback',null),(this[_0x485cec(0x8d)]=_0x58066c,this[_0x485cec(0x255)]=_0x296fb0);}[_0x409aab(0x345)](_0x372bc4){this['_handlerCallback']=_0x372bc4;}[_0x409aab(0x346)](){var _0x47dddb=_0x409aab;this[_0x47dddb(0x1cc)]=null,super[_0x47dddb(0x346)]();}['_createHandler'](){var _0x2ddcf7=_0x409aab;const _0x19bbfb=super[_0x2ddcf7(0x137)]();return _0x19bbfb['onTransformIME']=_0x571111=>{var _0x151eac=_0x2ddcf7,_0x3070e5,_0x4b5b93;return(_0x4b5b93=(_0x3070e5=this[_0x151eac(0x1cc)])==null?void 0x0:_0x3070e5[_0x151eac(0x178)])==null?void 0x0:_0x4b5b93[_0x151eac(0x103)](_0x3070e5,_0x571111);},_0x19bbfb[_0x2ddcf7(0x252)]=_0x34f150=>{var _0x58ff16=_0x2ddcf7,_0x36bc23,_0x51d3f7;return(_0x51d3f7=(_0x36bc23=this[_0x58ff16(0x1cc)])==null?void 0x0:_0x36bc23[_0x58ff16(0x252)])==null?void 0x0:_0x51d3f7[_0x58ff16(0x103)](_0x36bc23,_0x34f150);},_0x19bbfb[_0x2ddcf7(0x19a)]=_0x1790c3=>{var _0x2736b0=_0x2ddcf7,_0x331ef3,_0x266312;return(_0x266312=(_0x331ef3=this[_0x2736b0(0x1cc)])==null?void 0x0:_0x331ef3[_0x2736b0(0x19a)])==null?void 0x0:_0x266312['call'](_0x331ef3,_0x1790c3);},_0x19bbfb[_0x2ddcf7(0x185)]=_0x509114=>{var _0xfa425e=_0x2ddcf7,_0x362840,_0x2f763e;return(_0x2f763e=(_0x362840=this['_handlerCallback'])==null?void 0x0:_0x362840[_0xfa425e(0x185)])==null?void 0x0:_0x2f763e[_0xfa425e(0x103)](_0x362840,_0x509114);},_0x19bbfb['onTransformRemoteChangesetByIMECache']=_0x32510d=>{var _0x394947=_0x2ddcf7,_0x52a9de,_0x47b8c8,_0x37c971;if(!((_0x52a9de=this[_0x394947(0x1cc)])!=null&&_0x52a9de['onTransformRemoteChangesetByIMECache']))throw new Error(_0x394947(0x1dd));return(_0x37c971=(_0x47b8c8=this['_handlerCallback'])==null?void 0x0:_0x47b8c8[_0x394947(0x35e)])==null?void 0x0:_0x37c971[_0x394947(0x103)](_0x47b8c8,_0x32510d);},_0x19bbfb[_0x2ddcf7(0x337)]=_0x3e9552=>{var _0x5bc69e=_0x2ddcf7,_0x409d41,_0x584183,_0xf1beef;if(!((_0x409d41=this[_0x5bc69e(0x1cc)])!=null&&_0x409d41['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5bc69e(0xcb));return(_0xf1beef=(_0x584183=this[_0x5bc69e(0x1cc)])==null?void 0x0:_0x584183[_0x5bc69e(0x337)])==null?void 0x0:_0xf1beef['call'](_0x584183,_0x3e9552);},_0x19bbfb;}async[_0x409aab(0xb2)](){var _0x496867=_0x409aab;const _0x3c3465=await super[_0x496867(0xb2)]();return this[_0x496867(0xc4)](this[_0x496867(0x31f)]['onCommandExecuted']((_0x5ce00d,_0xe48786)=>{var _0x4d4682=_0x496867;if(_0x5ce00d[_0x4d4682(0x255)]!==_0x32bab5['MUTATION']||_0xe48786!=null&&_0xe48786[_0x4d4682(0x27e)]||_0xe48786!=null&&_0xe48786[_0x4d4682(0x353)]||_0x5ce00d['id']===_0x27c4da['id'])return;const _0x33fea=_0x5ce00d[_0x4d4682(0x131)];if((_0x33fea==null?void 0x0:_0x33fea[_0x4d4682(0x1d6)])!==this[_0x4d4682(0x8d)])return;const _0x6551a1=_0x5ce00d,_0x25de2e=this[_0x4d4682(0xf2)][_0x4d4682(0x152)][_0x4d4682(0x22a)](this[_0x4d4682(0xf2)][_0x4d4682(0x152)][_0x4d4682(0xa2)]()[_0x4d4682(0xf0)])([_0x6551a1],null)||[_0x6551a1];this[_0x4d4682(0xcd)](_0x25de2e[0x0]);})),_0x3c3465;}};Tt=Lt([k(0x3,_0x301a99(_0x2b67f5)),k(0x4,_0x301a99(_0x24d2cc)),k(0x5,_0x301a99(_0x226151)),k(0x6,_0x301a99(_0x5c64fe)),k(0x7,_0x301a99(pe)),k(0x8,_0x51fdc8),k(0x9,_0x38398c),k(0xa,_0x53aaa3),k(0xb,_0x59bb9f(ht)),k(0xc,_0x59bb9f(J))],Tt);let Ct=class extends nt{constructor(_0x4f6334,_0x4f4260,_0x235ea9,_0xb768d9,_0x1e4d6d,_0x398899,_0x30d699,_0x5a435d,_0xc8e7f2,_0x44481d,_0x2d996a,_0x31d763,_0x129516,_0x5c097b){var _0x47e0c6=_0x409aab;super(_0x4f6334,_0x235ea9,_0x4f4260,_0xb768d9,_0x1e4d6d,_0x398899,_0x30d699,_0xc8e7f2,_0x44481d,_0x2d996a,_0x31d763,_0x129516,_0x5c097b),this[_0x47e0c6(0x8d)]=_0x4f6334,this[_0x47e0c6(0x255)]=_0x4f4260,this['_sheetTransformSelectionsService']=_0x5a435d;}[_0x409aab(0x137)](){var _0x9960c9=_0x409aab;const _0x291aa9=super[_0x9960c9(0x137)]();return _0x291aa9[_0x9960c9(0x19a)]=_0x8773a7=>this['_sheetTransformSelectionsService']['transformSelections'](_0x8773a7),_0x291aa9;}async[_0x409aab(0xb2)](){var _0x534a8f=_0x409aab;const _0x491843=await super[_0x534a8f(0xb2)]();return this[_0x534a8f(0xc4)](this['_commandService'][_0x534a8f(0xac)]((_0x5006b4,_0x31614e)=>{var _0x4d4257=_0x534a8f;if(_0x5006b4[_0x4d4257(0x255)]!==_0x32bab5[_0x4d4257(0xf6)]||_0x31614e!=null&&_0x31614e[_0x4d4257(0x27e)]||_0x31614e!=null&&_0x31614e[_0x4d4257(0x353)])return;const _0x1da6e8=_0x5006b4[_0x4d4257(0x131)];if((_0x1da6e8==null?void 0x0:_0x1da6e8[_0x4d4257(0x1d6)])!==this[_0x4d4257(0x8d)])return;const _0x57929e=_0x5006b4,_0x2988b3=this[_0x4d4257(0xf2)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4d4257(0x152)][_0x4d4257(0xa2)]()[_0x4d4257(0xf0)])([_0x57929e],null)||[_0x57929e];this[_0x4d4257(0xcd)](_0x2988b3[0x0]);})),_0x491843;}};Ct=Lt([k(0x3,_0x301a99(_0x2b67f5)),k(0x4,_0x301a99(_0x24d2cc)),k(0x5,_0x301a99(_0x226151)),k(0x6,_0x301a99(_0x5c64fe)),k(0x7,_0x301a99(it)),k(0x8,_0x301a99(pe)),k(0x9,_0x51fdc8),k(0xa,_0x38398c),k(0xb,_0x53aaa3),k(0xc,_0x59bb9f(ht)),k(0xd,_0x59bb9f(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x409aab(0x308)],Sr=(_0x36cda0,_0x498aeb,_0x120d1b,_0x43753e)=>{var _0x56ef34=_0x409aab;for(var _0x38b643=_0x43753e>0x1?void 0x0:_0x43753e?gr(_0x498aeb,_0x120d1b):_0x498aeb,_0x3ab38b=_0x36cda0[_0x56ef34(0xb8)]-0x1,_0x5c4a5e;_0x3ab38b>=0x0;_0x3ab38b--)(_0x5c4a5e=_0x36cda0[_0x3ab38b])&&(_0x38b643=(_0x43753e?_0x5c4a5e(_0x498aeb,_0x120d1b,_0x38b643):_0x5c4a5e(_0x38b643))||_0x38b643);return _0x43753e&&_0x38b643&&mr(_0x498aeb,_0x120d1b,_0x38b643),_0x38b643;},ft=(_0x4ce527,_0x47e5c9)=>(_0x533cb9,_0x3d6754)=>_0x47e5c9(_0x533cb9,_0x3d6754,_0x4ce527);let rt=class extends _0x5432f0{constructor(_0x100897,_0x491e88,_0x21a47c){var _0x488808=_0x409aab;super(),N(this,_0x488808(0xbd),new Map()),N(this,_0x488808(0xf9),new _0x221b68()),N(this,_0x488808(0x2d4),this[_0x488808(0xf9)][_0x488808(0x1cd)]()),(this['_injector']=_0x100897,this[_0x488808(0x186)]=_0x491e88,this['_univerInstanceService']=_0x21a47c,this['_init']());}[_0x409aab(0x346)](){var _0x1c4ef6=_0x409aab;super[_0x1c4ef6(0x346)](),this[_0x1c4ef6(0xbd)][_0x1c4ef6(0x1df)](_0x181854=>_0x181854['dispose']()),this[_0x1c4ef6(0xbd)][_0x1c4ef6(0x208)]();}['getCollabEntity'](_0x25351d){var _0xb90210=_0x409aab,_0x4fc75b;return(_0x4fc75b=this['_entities'][_0xb90210(0x24c)](_0x25351d))!=null?_0x4fc75b:null;}[_0x409aab(0x1b4)](_0x3fb0e3){var _0x4c8276=_0x409aab;const _0x547ec1=this[_0x4c8276(0x15d)](_0x3fb0e3);return _0x547ec1?_0xb5d9ed(_0x547ec1):this[_0x4c8276(0xf9)]['pipe'](_0x12594c(_0x57a0ce=>_0x57a0ce[_0x4c8276(0x8d)]===_0x3fb0e3));}[_0x409aab(0xeb)](_0x2b19e0){var _0x323943=_0x409aab;return _0x14671f(this['getCollabEntity$'](_0x2b19e0)[_0x323943(0x1a8)](_0x1033eb(()=>{})));}['_init'](){var _0x391f0e=_0x409aab;this[_0x391f0e(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x391f0e(0x8e)])[_0x391f0e(0x1a8)](_0x42b577(this[_0x391f0e(0x2f0)]),_0x4f1603(0x10))[_0x391f0e(0x136)](async _0x7030f8=>{var _0x4e786e=_0x391f0e;const _0x1b4038=_0x7030f8['getUnitId'](),_0x34a72e=await this[_0x4e786e(0x10f)](_0x1b4038,Q['UNIVER_SHEET']);this[_0x4e786e(0xbd)][_0x4e786e(0x2a2)](_0x1b4038,_0x34a72e);}),this[_0x391f0e(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x391f0e(0x20f)])[_0x391f0e(0x1a8)](_0x42b577(this['dispose$']),_0x4f1603(0x10))[_0x391f0e(0x1a8)](_0x12594c(_0x3a3da3=>!_0x3a3da3[_0x391f0e(0x1e8)]()[_0x391f0e(0x18b)]('__')))[_0x391f0e(0x136)](async _0x3f10cb=>{var _0x17b827=_0x391f0e;const _0x921445=_0x3f10cb['getUnitId'](),_0x94b24a=await this[_0x17b827(0x10f)](_0x921445,Q[_0x17b827(0x20f)]);this[_0x17b827(0xbd)][_0x17b827(0x2a2)](_0x921445,_0x94b24a);}),_0xd1cd7d(this[_0x391f0e(0x18f)][_0x391f0e(0x150)](_0x1105ca[_0x391f0e(0x8e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1105ca[_0x391f0e(0x20f)]))['pipe'](_0x42b577(this[_0x391f0e(0x2f0)]))['subscribe'](_0x48f54e=>{var _0x211ae4=_0x391f0e;const _0xec5c19=_0x48f54e[_0x211ae4(0x1e8)](),_0x37c05d=this[_0x211ae4(0xbd)]['get'](_0xec5c19);_0x37c05d&&(_0x37c05d['dispose'](),this[_0x211ae4(0xbd)][_0x211ae4(0x292)](_0xec5c19));});}async[_0x409aab(0x10f)](_0x5af1a1,_0x477a66){var _0x45e86b=_0x409aab;const _0x9ff263=await this[_0x45e86b(0x186)][_0x45e86b(0x117)](_0x5af1a1),_0x3ccc1c=this[_0x45e86b(0x8c)][_0x45e86b(0x12b)](this['_getCtorByUniverType'](_0x477a66),_0x5af1a1,_0x477a66,_0x9ff263);return await _0x3ccc1c['init'](),this[_0x45e86b(0xf9)][_0x45e86b(0x10a)](_0x3ccc1c),_0x3ccc1c;}[_0x409aab(0x200)](_0x47afd9){var _0x2f0f45=_0x409aab;switch(_0x47afd9){case Q[_0x2f0f45(0x20f)]:return Tt;case Q[_0x2f0f45(0x8e)]:return Ct;default:throw new Error(_0x2f0f45(0x306)+_0x47afd9);}}};rt=Sr([ft(0x0,_0x301a99(_0x2b67f5)),ft(0x1,_0x301a99(Le)),ft(0x2,_0x5b9095)],rt);var Er=Object['defineProperty'],Ir=Object[_0x409aab(0x308)],Tr=(_0x2ae5c7,_0xccc3a9,_0x254d96,_0x141c95)=>{var _0x2cf564=_0x409aab;for(var _0x1e171c=_0x141c95>0x1?void 0x0:_0x141c95?Ir(_0xccc3a9,_0x254d96):_0xccc3a9,_0x209591=_0x2ae5c7[_0x2cf564(0xb8)]-0x1,_0xc31c11;_0x209591>=0x0;_0x209591--)(_0xc31c11=_0x2ae5c7[_0x209591])&&(_0x1e171c=(_0x141c95?_0xc31c11(_0xccc3a9,_0x254d96,_0x1e171c):_0xc31c11(_0x1e171c))||_0x1e171c);return _0x141c95&&_0x1e171c&&Er(_0xccc3a9,_0x254d96,_0x1e171c),_0x1e171c;},Jt=(_0x438a95,_0x397893)=>(_0x6fd2a4,_0x4a8358)=>_0x397893(_0x6fd2a4,_0x4a8358,_0x438a95);const Cr=_0x409aab(0x22f),Rr=_0x409aab(0x203);let Rt=class extends _0x237ec8{constructor(_0xbdddf4,_0x1b7c25){var _0x2fbb87=_0x409aab;super(),this['_univerInstanceService']=_0xbdddf4,this[_0x2fbb87(0xd2)]=_0x1b7c25,this[_0x2fbb87(0xb2)]();}[_0x409aab(0xb2)](){var _0x234611=_0x409aab;this[_0x234611(0xc4)](this[_0x234611(0x18f)][_0x234611(0xc9)][_0x234611(0x136)](()=>{var _0x478805=_0x234611,_0x2d4776;const _0x17cb5b=this[_0x478805(0x18f)][_0x478805(0x230)]();let _0x32e5dd=(_0x2d4776=this['_configService'][_0x478805(0x294)](Cr))!=null?_0x2d4776:Rr;_0x17cb5b instanceof _0x2c57dc&&(_0x32e5dd=_0x17cb5b[_0x478805(0x26a)]),document[_0x478805(0x14e)]=_0x32e5dd;}));}};Rt=Tr([Jt(0x0,_0x5b9095),Jt(0x1,_0x424efc)],Rt);var br=Object[_0x409aab(0x1b3)],Or=Object[_0x409aab(0x308)],yr=(_0x22269a,_0x93b9ba,_0x107e18,_0x418a9a)=>{var _0x229776=_0x409aab;for(var _0x5a4257=_0x418a9a>0x1?void 0x0:_0x418a9a?Or(_0x93b9ba,_0x107e18):_0x93b9ba,_0x428eb1=_0x22269a[_0x229776(0xb8)]-0x1,_0x3ec10e;_0x428eb1>=0x0;_0x428eb1--)(_0x3ec10e=_0x22269a[_0x428eb1])&&(_0x5a4257=(_0x418a9a?_0x3ec10e(_0x93b9ba,_0x107e18,_0x5a4257):_0x3ec10e(_0x5a4257))||_0x5a4257);return _0x418a9a&&_0x5a4257&&br(_0x93b9ba,_0x107e18,_0x5a4257),_0x5a4257;},vt=(_0xd094c,_0x578b57)=>(_0x37da85,_0x592f9b)=>_0x578b57(_0x37da85,_0x592f9b,_0xd094c);let st=class{constructor(_0x93467d,_0x1b3d6a,_0x5040d6){var _0x2de2b0=_0x409aab;this[_0x2de2b0(0xd2)]=_0x93467d,this[_0x2de2b0(0x327)]=_0x1b3d6a,this[_0x2de2b0(0x13a)]=_0x5040d6,this[_0x2de2b0(0x1b2)]();}[_0x409aab(0x1b2)](){var _0x1748c3=_0x409aab;this['_httpService'][_0x1748c3(0x218)]({'priority':0x1,'interceptor':(_0x4ce37b,_0x2f5d71)=>_0x2f5d71(_0x4ce37b)['pipe'](_0xef4fa5(async _0x4d630b=>{var _0x19790b=_0x1748c3;const _0x487b9b=_0x4d630b;if(_0x487b9b['status']===0x191){if(typeof window>'u')throw new Error(_0x19790b(0x2b6));if(window[_0x19790b(0x341)](this[_0x19790b(0x13a)]['t'](_0x19790b(0x20e)))){const _0x3b8b3f=window[_0x19790b(0x240)](window[_0x19790b(0x116)][_0x19790b(0x245)]);window[_0x19790b(0x116)]['href']=this[_0x19790b(0x330)]()+_0x19790b(0x28d)+_0x3b8b3f;}}return _0x487b9b;}))});}[_0x409aab(0x330)](){var _0x45ab1c=_0x409aab,_0x40c1f0,_0x12ba32;const _0x59a46c=this['_configService'][_0x45ab1c(0x294)](xn),_0x4216b1=this['_configService'][_0x45ab1c(0x294)](q);return(_0x12ba32=(_0x40c1f0=_0x4216b1==null?void 0x0:_0x4216b1['loginUrlKey'])!=null?_0x40c1f0:_0x59a46c)!=null?_0x12ba32:Ln;}};st=yr([vt(0x0,_0x424efc),vt(0x1,_0x301a99(_0x160d38)),vt(0x2,_0x301a99(_0x226151))],st);var Nr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0xcc99e2,_0x2b8f86,_0x484cdd,_0x4ac178)=>{for(var _0x52488b=_0x4ac178>0x1?void 0x0:_0x4ac178?Dr(_0x2b8f86,_0x484cdd):_0x2b8f86,_0x13a836=_0xcc99e2['length']-0x1,_0x4166ef;_0x13a836>=0x0;_0x13a836--)(_0x4166ef=_0xcc99e2[_0x13a836])&&(_0x52488b=(_0x4ac178?_0x4166ef(_0x2b8f86,_0x484cdd,_0x52488b):_0x4166ef(_0x52488b))||_0x52488b);return _0x4ac178&&_0x52488b&&Nr(_0x2b8f86,_0x484cdd,_0x52488b),_0x52488b;},Xt=(_0x1841bd,_0x33e3c2)=>(_0x3db317,_0x454eb9)=>_0x33e3c2(_0x3db317,_0x454eb9,_0x1841bd);const Pi='AUTHZ_URL_KEY',wr=_0x409aab(0x37b);let bt=class extends _0x237ec8{constructor(_0x2375d9,_0x155eb1){var _0x4483fa=_0x409aab;super(),this[_0x4483fa(0x93)]=_0x2375d9,this[_0x4483fa(0xd2)]=_0x155eb1,this[_0x4483fa(0xcc)]();}[_0x409aab(0xcc)](){var _0x164fff=_0x409aab;const _0xc55041=this;this[_0x164fff(0xc4)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x172571({'isMatch'(_0x51e08f){var _0x14bb0e=_0x164fff,_0x349632;if(_0x51e08f['method']===_0x14bb0e(0x28e)&&((_0x349632=_0x51e08f[_0x14bb0e(0x257)])!=null&&_0x349632['body'])){const {objectID:_0x42b37f,objectType:_0x3b4ec0}=_0x51e08f[_0x14bb0e(0x257)][_0x14bb0e(0x204)]||{};if(!_0x42b37f||_0x3b4ec0===void 0x0)return!0x1;const _0x3cc00b=_0xc55041[_0x14bb0e(0x2bb)]()+'/'+_0x3b4ec0+_0x14bb0e(0x1b6)+_0x42b37f+'/allowed';if(_0x51e08f[_0x14bb0e(0x2fa)]===_0x3cc00b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4ddde9){var _0x31d7b0=_0x164fff,_0x27dc21;return(_0x27dc21=_0x4ddde9[_0x31d7b0(0x257)])==null?void 0x0:_0x27dc21[_0x31d7b0(0x204)];},'mergeParamsToRequest'(_0xc25ec6,_0x1db3b4){var _0x53a5f5=_0x164fff;const _0x1db1fa=_0xc55041[_0x53a5f5(0x2bb)]()+'/-/object/-/batch_allowed',_0x48b76e=_0xc25ec6[_0x53a5f5(0x2ca)]((_0x2c1145,_0x33a4dc)=>{var _0x4e2ae2=_0x53a5f5;const {unitID:_0x4ad949,objectID:_0x3b1fed,objectType:_0x51b7e8,actions:_0x21ed1a}=_0x33a4dc;return _0x2c1145[_0x4ad949]||(_0x2c1145[_0x4ad949]={}),_0x2c1145[_0x4ad949][_0x3b1fed]||(_0x2c1145[_0x4ad949][_0x3b1fed]={'objectID':_0x3b1fed,'objectType':_0x51b7e8,'actions':[]}),_0x2c1145[_0x4ad949][_0x3b1fed]['actions'][_0x4e2ae2(0x8f)](..._0x21ed1a),_0x2c1145;},{}),_0x3032ed=[];for(const _0x3b3aa1 in _0x48b76e)for(const _0x360c32 in _0x48b76e[_0x3b3aa1]){const {actions:_0x185a2f,objectType:_0x2ca56c}=_0x48b76e[_0x3b3aa1][_0x360c32],_0x1838c6=[...new Set(_0x185a2f)];_0x3032ed[_0x53a5f5(0x8f)]({'unitID':_0x3b3aa1,'objectID':_0x360c32,'objectType':_0x2ca56c,'actions':_0x1838c6});}return new _0x31cab0(_0x53a5f5(0x28e),_0x1db1fa,{'headers':_0x1db3b4[_0x53a5f5(0xae)],'withCredentials':_0x1db3b4[_0x53a5f5(0x1c8)],'responseType':_0x1db3b4[_0x53a5f5(0x32a)],'body':{'requests':_0x3032ed}});}},{'distributeResult'(_0x29d2f3,_0x49824b){var _0x5f3433=_0x164fff;const {objectActions:_0x2116cc}=_0x29d2f3;return _0x49824b[_0x5f3433(0x281)](_0x24caa6=>{var _0x543ece=_0x5f3433;const {unitID:_0x2c5c0c,objectID:_0x5e4df2,actions:_0x5b7c96}=_0x24caa6,_0x35ee02=_0x2116cc['find'](_0x5037a0=>_0x5037a0[_0x543ece(0x8d)]===_0x2c5c0c&&_0x5037a0[_0x543ece(0x112)]===_0x5e4df2),_0x44c410=_0x5b7c96[_0x543ece(0x281)](_0x11a218=>_0x35ee02==null?void 0x0:_0x35ee02[_0x543ece(0x351)][_0x543ece(0x123)](_0x3930e3=>_0x3930e3[_0x543ece(0x2d9)]===_0x11a218))['filter'](_0x4b12ce=>!!_0x4b12ce);return{'config':_0x24caa6,'result':{'actions':_0x44c410,'error':_0x29d2f3[_0x543ece(0x36f)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2b8057=_0x409aab,_0x3e0b53,_0x426117;const _0x54b4f6=this[_0x2b8057(0xd2)][_0x2b8057(0x294)](Pi),_0x5c0d4d=this[_0x2b8057(0xd2)][_0x2b8057(0x294)](q);return(_0x426117=(_0x3e0b53=_0x5c0d4d==null?void 0x0:_0x5c0d4d[_0x2b8057(0x2c0)])!=null?_0x3e0b53:_0x54b4f6)!=null?_0x426117:wr;}async[_0x409aab(0x1fb)](_0x2d4a7a){var _0x5b8bd9=_0x409aab;const _0xca4e6c=this['_getAPIPrefixPath']()+'/'+_0x2d4a7a[_0x5b8bd9(0x1fa)]+_0x5b8bd9(0x1f2);return(await this[_0x5b8bd9(0x93)][_0x5b8bd9(0x215)](_0xca4e6c,{'body':_0x2d4a7a}))['body'][_0x5b8bd9(0x112)]||'';}async[_0x409aab(0x239)](_0x46ea39){var _0x23d36a=_0x409aab;const _0x340491=this[_0x23d36a(0x2bb)]()+_0x23d36a(0x22b);return(await this[_0x23d36a(0x93)][_0x23d36a(0x215)](_0x340491,{'body':_0x46ea39}))['body'][_0x23d36a(0x361)];}async[_0x409aab(0x319)](_0x4e962a){var _0x18773c=_0x409aab;const _0x246022=this[_0x18773c(0x2bb)]()+'/'+_0x4e962a['objectType']+_0x18773c(0x1b6)+_0x4e962a[_0x18773c(0x112)];await this['_HTTPService'][_0x18773c(0x1eb)](_0x246022,{'body':_0x4e962a});}async['allowed'](_0x4b87b2){var _0x39b47f=_0x409aab;const _0x38c8fd=this[_0x39b47f(0x2bb)]()+'/'+_0x4b87b2[_0x39b47f(0x1fa)]+'/object/'+_0x4b87b2[_0x39b47f(0x112)]+'/allowed';return(await this['_HTTPService'][_0x39b47f(0x215)](_0x38c8fd,{'body':_0x4b87b2}))[_0x39b47f(0x204)][_0x39b47f(0x351)];}async[_0x409aab(0x2a5)](_0x5d7325){var _0x4c5948=_0x409aab;const _0x5695bc=this[_0x4c5948(0x2bb)]()+'/-/object/-/batch_allowed';return(await this[_0x4c5948(0x93)][_0x4c5948(0x215)](_0x5695bc,{'body':{'requests':_0x5d7325}}))[_0x4c5948(0x204)][_0x4c5948(0x1a2)];}async[_0x409aab(0x18c)](_0x56321b){var _0x3358b6=_0x409aab;const _0x480d22=this[_0x3358b6(0x2bb)]()+'/'+_0x56321b[_0x3358b6(0x1fa)]+_0x3358b6(0x16b),_0x2fe527=await this[_0x3358b6(0x93)]['post'](_0x480d22,{'body':_0x56321b});return{'roles':_0x2fe527[_0x3358b6(0x204)][_0x3358b6(0x157)],'actions':_0x2fe527[_0x3358b6(0x204)]['actions']};}async[_0x409aab(0xec)](_0x25991d){var _0xa3542f=_0x409aab;const _0x268443=this[_0xa3542f(0x2bb)]()+'/collaborator';await this[_0xa3542f(0x93)][_0xa3542f(0x292)](_0x268443,{'params':{'collaboratorID':_0x25991d[_0xa3542f(0x29c)],'objectID':_0x25991d[_0xa3542f(0x112)],'unitID':_0x25991d[_0xa3542f(0x8d)]}});}async[_0x409aab(0x2d3)](_0x1703a7){var _0x2a30b8=_0x409aab;const _0x2ce0c4=this[_0x2a30b8(0x2bb)]()+_0x2a30b8(0x2e2);await this[_0x2a30b8(0x93)][_0x2a30b8(0xd8)](_0x2ce0c4,{'body':_0x1703a7});}async[_0x409aab(0x274)](_0x364444){var _0x36e3e6=_0x409aab;const _0x2491b6=this[_0x36e3e6(0x2bb)]()+_0x36e3e6(0x2e2);await this[_0x36e3e6(0x93)][_0x36e3e6(0x215)](_0x2491b6,{'body':_0x364444});}async[_0x409aab(0x25a)](_0x26a512){var _0x4b4562=_0x409aab;const _0xefa66d=this[_0x4b4562(0x2bb)]()+'/collaborator';return(await this[_0x4b4562(0x93)][_0x4b4562(0x24c)](_0xefa66d,{'params':{'objectID':_0x26a512[_0x4b4562(0x112)],'unitID':_0x26a512['unitID']}}))[_0x4b4562(0x204)]['collaborators'];}async[_0x409aab(0x347)](_0x50a95e){var _0x26b5b6=_0x409aab;const _0x30990b=this[_0x26b5b6(0x2bb)]()+_0x26b5b6(0x2e2);await this[_0x26b5b6(0x93)][_0x26b5b6(0x1eb)](_0x30990b,{'body':_0x50a95e});}};bt=Pr([Xt(0x0,_0x301a99(_0x160d38)),Xt(0x1,_0x301a99(_0x424efc))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x22a8d5){var _0x22fad7=_0x409aab;return _0x22a8d5&&_0x22a8d5['__esModule']&&Object[_0x22fad7(0x1c2)][_0x22fad7(0x261)]['call'](_0x22a8d5,'default')?_0x22a8d5[_0x22fad7(0x129)]:_0x22a8d5;}var Ve={'exports':{}};function Ur(_0x13e4b9){var _0x24fa5d=_0x409aab;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x13e4b9+_0x24fa5d(0x305));}var Ge={'exports':{}},Ar=Ge[_0x409aab(0x30f)],Zt;function ne(){var _0x204929=_0x409aab;return Zt||(Zt=0x1,function(_0x4def15,_0x4403f2){(function(_0x2885b5,_0x1ea26c){var _0x43fe82=_0x5cef;_0x4def15[_0x43fe82(0x30f)]=_0x1ea26c();}(Ar,function(){var _0xd275b6=_0xd275b6||function(_0x204f64,_0x2120aa){var _0x50ba2b=_0x5cef,_0x220d67;if(typeof window<'u'&&window['crypto']&&(_0x220d67=window[_0x50ba2b(0x246)]),typeof self<'u'&&self['crypto']&&(_0x220d67=self[_0x50ba2b(0x246)]),typeof globalThis<'u'&&globalThis[_0x50ba2b(0x246)]&&(_0x220d67=globalThis[_0x50ba2b(0x246)]),!_0x220d67&&typeof window<'u'&&window[_0x50ba2b(0x20c)]&&(_0x220d67=window['msCrypto']),!_0x220d67&&typeof pt<'u'&&pt[_0x50ba2b(0x246)]&&(_0x220d67=pt[_0x50ba2b(0x246)]),!_0x220d67&&typeof Ur==_0x50ba2b(0x348))try{_0x220d67=require(_0x50ba2b(0x246));}catch{}var _0x2f6a5e=function(){var _0x15c84a=_0x50ba2b;if(_0x220d67){if(typeof _0x220d67['getRandomValues']==_0x15c84a(0x348))try{return _0x220d67['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x220d67[_0x15c84a(0x31e)]==_0x15c84a(0x348))try{return _0x220d67[_0x15c84a(0x31e)](0x4)[_0x15c84a(0x365)]();}catch{}}throw new Error(_0x15c84a(0xaa));},_0x4d0889=Object[_0x50ba2b(0x1fb)]||(function(){function _0x1cf96a(){}return function(_0x13fb02){var _0x58212e=_0x5cef,_0x3435e3;return _0x1cf96a[_0x58212e(0x1c2)]=_0x13fb02,_0x3435e3=new _0x1cf96a(),_0x1cf96a['prototype']=null,_0x3435e3;};}()),_0x25e834={},_0x1bdca2=_0x25e834[_0x50ba2b(0x33e)]={},_0x4d4740=_0x1bdca2[_0x50ba2b(0x12a)]=(function(){return{'extend':function(_0x5ae25d){var _0x2564bb=_0x5cef,_0x26d9db=_0x4d0889(this);return _0x5ae25d&&_0x26d9db[_0x2564bb(0x16d)](_0x5ae25d),(!_0x26d9db[_0x2564bb(0x261)](_0x2564bb(0x1b2))||this[_0x2564bb(0x1b2)]===_0x26d9db['init'])&&(_0x26d9db[_0x2564bb(0x1b2)]=function(){var _0x15848a=_0x2564bb;_0x26d9db[_0x15848a(0x31b)]['init'][_0x15848a(0xb9)](this,arguments);}),_0x26d9db[_0x2564bb(0x1b2)][_0x2564bb(0x1c2)]=_0x26d9db,_0x26d9db[_0x2564bb(0x31b)]=this,_0x26d9db;},'create':function(){var _0x132914=_0x5cef,_0x10318d=this['extend']();return _0x10318d[_0x132914(0x1b2)][_0x132914(0xb9)](_0x10318d,arguments),_0x10318d;},'init':function(){},'mixIn':function(_0x14a5f1){var _0x53a63a=_0x5cef;for(var _0x5c0a13 in _0x14a5f1)_0x14a5f1[_0x53a63a(0x261)](_0x5c0a13)&&(this[_0x5c0a13]=_0x14a5f1[_0x5c0a13]);_0x14a5f1[_0x53a63a(0x261)](_0x53a63a(0x238))&&(this[_0x53a63a(0x238)]=_0x14a5f1['toString']);},'clone':function(){var _0x2492fb=_0x5cef;return this[_0x2492fb(0x1b2)]['prototype'][_0x2492fb(0x166)](this);}};}()),_0x1bfb7e=_0x1bdca2['WordArray']=_0x4d4740[_0x50ba2b(0x166)]({'init':function(_0x23f262,_0x29b4d9){var _0x5755bf=_0x50ba2b;_0x23f262=this[_0x5755bf(0x171)]=_0x23f262||[],_0x29b4d9!=_0x2120aa?this[_0x5755bf(0x172)]=_0x29b4d9:this['sigBytes']=_0x23f262['length']*0x4;},'toString':function(_0x588fac){return(_0x588fac||_0x5c53ce)['stringify'](this);},'concat':function(_0x39d90d){var _0x285f20=_0x50ba2b,_0x592347=this[_0x285f20(0x171)],_0x2b82c5=_0x39d90d[_0x285f20(0x171)],_0x2eb3ce=this['sigBytes'],_0x4a10da=_0x39d90d[_0x285f20(0x172)];if(this[_0x285f20(0x124)](),_0x2eb3ce%0x4)for(var _0x30634f=0x0;_0x30634f<_0x4a10da;_0x30634f++){var _0xef333e=_0x2b82c5[_0x30634f>>>0x2]>>>0x18-_0x30634f%0x4*0x8&0xff;_0x592347[_0x2eb3ce+_0x30634f>>>0x2]|=_0xef333e<<0x18-(_0x2eb3ce+_0x30634f)%0x4*0x8;}else{for(var _0x315c5f=0x0;_0x315c5f<_0x4a10da;_0x315c5f+=0x4)_0x592347[_0x2eb3ce+_0x315c5f>>>0x2]=_0x2b82c5[_0x315c5f>>>0x2];}return this[_0x285f20(0x172)]+=_0x4a10da,this;},'clamp':function(){var _0x26de70=_0x50ba2b,_0x51f5bb=this['words'],_0x3e641d=this['sigBytes'];_0x51f5bb[_0x3e641d>>>0x2]&=0xffffffff<<0x20-_0x3e641d%0x4*0x8,_0x51f5bb['length']=_0x204f64[_0x26de70(0x1d2)](_0x3e641d/0x4);},'clone':function(){var _0x160dbd=_0x50ba2b,_0x4cc61f=_0x4d4740[_0x160dbd(0x228)][_0x160dbd(0x103)](this);return _0x4cc61f[_0x160dbd(0x171)]=this[_0x160dbd(0x171)][_0x160dbd(0xe5)](0x0),_0x4cc61f;},'random':function(_0x11e3d9){var _0x452e3d=_0x50ba2b;for(var _0x18eb4a=[],_0xedb056=0x0;_0xedb056<_0x11e3d9;_0xedb056+=0x4)_0x18eb4a[_0x452e3d(0x8f)](_0x2f6a5e());return new _0x1bfb7e[(_0x452e3d(0x1b2))](_0x18eb4a,_0x11e3d9);}}),_0x4d1b18=_0x25e834[_0x50ba2b(0x1ff)]={},_0x5c53ce=_0x4d1b18[_0x50ba2b(0x20a)]={'stringify':function(_0x545efd){var _0x14ec2c=_0x50ba2b;for(var _0x22517f=_0x545efd[_0x14ec2c(0x171)],_0x227591=_0x545efd['sigBytes'],_0x14fa2f=[],_0x601834=0x0;_0x601834<_0x227591;_0x601834++){var _0x472bff=_0x22517f[_0x601834>>>0x2]>>>0x18-_0x601834%0x4*0x8&0xff;_0x14fa2f[_0x14ec2c(0x8f)]((_0x472bff>>>0x4)['toString'](0x10)),_0x14fa2f[_0x14ec2c(0x8f)]((_0x472bff&0xf)[_0x14ec2c(0x238)](0x10));}return _0x14fa2f[_0x14ec2c(0x170)]('');},'parse':function(_0x332097){var _0xb1a790=_0x50ba2b;for(var _0x1664b0=_0x332097[_0xb1a790(0xb8)],_0x5e16aa=[],_0x387810=0x0;_0x387810<_0x1664b0;_0x387810+=0x2)_0x5e16aa[_0x387810>>>0x3]|=parseInt(_0x332097[_0xb1a790(0xce)](_0x387810,0x2),0x10)<<0x18-_0x387810%0x8*0x4;return new _0x1bfb7e[(_0xb1a790(0x1b2))](_0x5e16aa,_0x1664b0/0x2);}},_0x16b462=_0x4d1b18[_0x50ba2b(0x1ea)]={'stringify':function(_0x4659ef){var _0x40fc08=_0x50ba2b;for(var _0x5671cb=_0x4659ef[_0x40fc08(0x171)],_0x4ab833=_0x4659ef[_0x40fc08(0x172)],_0x524cf0=[],_0x18648a=0x0;_0x18648a<_0x4ab833;_0x18648a++){var _0x24ab41=_0x5671cb[_0x18648a>>>0x2]>>>0x18-_0x18648a%0x4*0x8&0xff;_0x524cf0[_0x40fc08(0x8f)](String['fromCharCode'](_0x24ab41));}return _0x524cf0[_0x40fc08(0x170)]('');},'parse':function(_0x3ae833){var _0x512e38=_0x50ba2b;for(var _0x1b2615=_0x3ae833[_0x512e38(0xb8)],_0x31961e=[],_0x4ee05e=0x0;_0x4ee05e<_0x1b2615;_0x4ee05e++)_0x31961e[_0x4ee05e>>>0x2]|=(_0x3ae833[_0x512e38(0x34f)](_0x4ee05e)&0xff)<<0x18-_0x4ee05e%0x4*0x8;return new _0x1bfb7e[(_0x512e38(0x1b2))](_0x31961e,_0x1b2615);}},_0x124e44=_0x4d1b18['Utf8']={'stringify':function(_0x73c752){var _0x5d038a=_0x50ba2b;try{return decodeURIComponent(escape(_0x16b462[_0x5d038a(0xfc)](_0x73c752)));}catch{throw new Error(_0x5d038a(0x95));}},'parse':function(_0x16c2eb){return _0x16b462['parse'](unescape(encodeURIComponent(_0x16c2eb)));}},_0x2dc772=_0x1bdca2[_0x50ba2b(0x24b)]=_0x4d4740[_0x50ba2b(0x166)]({'reset':function(){var _0x90d11d=_0x50ba2b;this[_0x90d11d(0x219)]=new _0x1bfb7e[(_0x90d11d(0x1b2))](),this[_0x90d11d(0x2e9)]=0x0;},'_append':function(_0x206a44){var _0x44e7b8=_0x50ba2b;typeof _0x206a44==_0x44e7b8(0x229)&&(_0x206a44=_0x124e44[_0x44e7b8(0x377)](_0x206a44)),this['_data']['concat'](_0x206a44),this[_0x44e7b8(0x2e9)]+=_0x206a44[_0x44e7b8(0x172)];},'_process':function(_0x1c129a){var _0x306411=_0x50ba2b,_0x403c58,_0x11acfc=this[_0x306411(0x219)],_0x4b79f3=_0x11acfc[_0x306411(0x171)],_0xa9de28=_0x11acfc['sigBytes'],_0x4eac06=this[_0x306411(0x100)],_0x3ea3db=_0x4eac06*0x4,_0x2ff335=_0xa9de28/_0x3ea3db;_0x1c129a?_0x2ff335=_0x204f64[_0x306411(0x1d2)](_0x2ff335):_0x2ff335=_0x204f64[_0x306411(0x35b)]((_0x2ff335|0x0)-this[_0x306411(0x161)],0x0);var _0x5d7cbc=_0x2ff335*_0x4eac06,_0x51915e=_0x204f64['min'](_0x5d7cbc*0x4,_0xa9de28);if(_0x5d7cbc){for(var _0x121a8b=0x0;_0x121a8b<_0x5d7cbc;_0x121a8b+=_0x4eac06)this[_0x306411(0x194)](_0x4b79f3,_0x121a8b);_0x403c58=_0x4b79f3[_0x306411(0x132)](0x0,_0x5d7cbc),_0x11acfc['sigBytes']-=_0x51915e;}return new _0x1bfb7e[(_0x306411(0x1b2))](_0x403c58,_0x51915e);},'clone':function(){var _0x3063b6=_0x50ba2b,_0x2445f1=_0x4d4740[_0x3063b6(0x228)][_0x3063b6(0x103)](this);return _0x2445f1[_0x3063b6(0x219)]=this[_0x3063b6(0x219)][_0x3063b6(0x228)](),_0x2445f1;},'_minBufferSize':0x0});_0x1bdca2['Hasher']=_0x2dc772[_0x50ba2b(0x166)]({'cfg':_0x4d4740[_0x50ba2b(0x166)](),'init':function(_0x432fa3){var _0x385e70=_0x50ba2b;this[_0x385e70(0x1ef)]=this[_0x385e70(0x1ef)]['extend'](_0x432fa3),this[_0x385e70(0x1b7)]();},'reset':function(){var _0x3267bd=_0x50ba2b;_0x2dc772[_0x3267bd(0x1b7)][_0x3267bd(0x103)](this),this[_0x3267bd(0x25f)]();},'update':function(_0x1c7fe1){var _0x46f108=_0x50ba2b;return this[_0x46f108(0x10d)](_0x1c7fe1),this[_0x46f108(0x359)](),this;},'finalize':function(_0x6c66c9){var _0x549be7=_0x50ba2b;_0x6c66c9&&this[_0x549be7(0x10d)](_0x6c66c9);var _0xa95d5b=this[_0x549be7(0x14c)]();return _0xa95d5b;},'blockSize':0x10,'_createHelper':function(_0x25072d){return function(_0x30a79c,_0xe4ec1f){var _0x56a68a=_0x5cef;return new _0x25072d[(_0x56a68a(0x1b2))](_0xe4ec1f)[_0x56a68a(0x2ae)](_0x30a79c);};},'_createHmacHelper':function(_0x1cff05){return function(_0x1afd5e,_0x1e557b){var _0x470681=_0x5cef;return new _0x332a0b[(_0x470681(0xdf))][(_0x470681(0x1b2))](_0x1cff05,_0x1e557b)[_0x470681(0x2ae)](_0x1afd5e);};}});var _0x332a0b=_0x25e834[_0x50ba2b(0x155)]={};return _0x25e834;}(Math);return _0xd275b6;}));}(Ge)),Ge[_0x204929(0x30f)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x52b8d1=_0x409aab;return Qt||(Qt=0x1,function(_0x392176,_0x92c721){(function(_0x49e6a5,_0x17edac){var _0xadcfb3=_0x5cef;_0x392176[_0xadcfb3(0x30f)]=_0x17edac(ne());}(xr,function(_0x46f435){var _0x524d49=_0x5cef;return(function(){var _0x41cfa4=_0x5cef,_0x102f59=_0x46f435,_0x58b78e=_0x102f59[_0x41cfa4(0x33e)],_0x24baa1=_0x58b78e[_0x41cfa4(0x25c)],_0x533690=_0x102f59[_0x41cfa4(0x1ff)];_0x533690['Base64']={'stringify':function(_0x532cf0){var _0x2c6ea6=_0x41cfa4,_0x2b6fec=_0x532cf0[_0x2c6ea6(0x171)],_0x2b3a52=_0x532cf0[_0x2c6ea6(0x172)],_0x1f869c=this[_0x2c6ea6(0x307)];_0x532cf0['clamp']();for(var _0xe62a4e=[],_0x5a77c8=0x0;_0x5a77c8<_0x2b3a52;_0x5a77c8+=0x3)for(var _0x352c7f=_0x2b6fec[_0x5a77c8>>>0x2]>>>0x18-_0x5a77c8%0x4*0x8&0xff,_0x36b3e7=_0x2b6fec[_0x5a77c8+0x1>>>0x2]>>>0x18-(_0x5a77c8+0x1)%0x4*0x8&0xff,_0x2cf4d6=_0x2b6fec[_0x5a77c8+0x2>>>0x2]>>>0x18-(_0x5a77c8+0x2)%0x4*0x8&0xff,_0x3a81f6=_0x352c7f<<0x10|_0x36b3e7<<0x8|_0x2cf4d6,_0x128ef9=0x0;_0x128ef9<0x4&&_0x5a77c8+_0x128ef9*0.75<_0x2b3a52;_0x128ef9++)_0xe62a4e['push'](_0x1f869c[_0x2c6ea6(0x354)](_0x3a81f6>>>0x6*(0x3-_0x128ef9)&0x3f));var _0x5e5439=_0x1f869c[_0x2c6ea6(0x354)](0x40);if(_0x5e5439){for(;_0xe62a4e['length']%0x4;)_0xe62a4e['push'](_0x5e5439);}return _0xe62a4e[_0x2c6ea6(0x170)]('');},'parse':function(_0x58cc8){var _0x4046bc=_0x41cfa4,_0x325617=_0x58cc8[_0x4046bc(0xb8)],_0x1f84f3=this[_0x4046bc(0x307)],_0x257b35=this[_0x4046bc(0x284)];if(!_0x257b35){_0x257b35=this[_0x4046bc(0x284)]=[];for(var _0x362593=0x0;_0x362593<_0x1f84f3[_0x4046bc(0xb8)];_0x362593++)_0x257b35[_0x1f84f3[_0x4046bc(0x34f)](_0x362593)]=_0x362593;}var _0x43b0f4=_0x1f84f3['charAt'](0x40);if(_0x43b0f4){var _0xa5eac=_0x58cc8[_0x4046bc(0x2db)](_0x43b0f4);_0xa5eac!==-0x1&&(_0x325617=_0xa5eac);}return _0x1206cd(_0x58cc8,_0x325617,_0x257b35);},'_map':_0x41cfa4(0x2c8)};function _0x1206cd(_0x267d6a,_0x4da08d,_0x2210c0){var _0x5d0e32=_0x41cfa4;for(var _0x56deda=[],_0x8f77a5=0x0,_0x2c1873=0x0;_0x2c1873<_0x4da08d;_0x2c1873++)if(_0x2c1873%0x4){var _0x38cd89=_0x2210c0[_0x267d6a['charCodeAt'](_0x2c1873-0x1)]<<_0x2c1873%0x4*0x2,_0x22c1d9=_0x2210c0[_0x267d6a['charCodeAt'](_0x2c1873)]>>>0x6-_0x2c1873%0x4*0x2,_0x28fe33=_0x38cd89|_0x22c1d9;_0x56deda[_0x8f77a5>>>0x2]|=_0x28fe33<<0x18-_0x8f77a5%0x4*0x8,_0x8f77a5++;}return _0x24baa1[_0x5d0e32(0x1fb)](_0x56deda,_0x8f77a5);}}()),_0x46f435[_0x524d49(0x1ff)][_0x524d49(0x358)];}));}(We)),We[_0x52b8d1(0x30f)];}var Ke={'exports':{}},Lr=Ke[_0x409aab(0x30f)],ei;function Mr(){var _0x2c0e45=_0x409aab;return ei||(ei=0x1,function(_0x566bde,_0x4b924e){(function(_0x1a466b,_0x15d069){var _0x36082c=_0x5cef;_0x566bde[_0x36082c(0x30f)]=_0x15d069(ne());}(Lr,function(_0x27a287){return function(_0x80b3ad){var _0x4ec1ab=_0x5cef,_0x42d35b=_0x27a287,_0x1c4928=_0x42d35b['lib'],_0x590b68=_0x1c4928[_0x4ec1ab(0x25c)],_0x317648=_0x1c4928[_0x4ec1ab(0x326)],_0x1543d7=_0x42d35b['algo'],_0x5c9c4f=[];(function(){var _0x363192=_0x4ec1ab;for(var _0x3c281c=0x0;_0x3c281c<0x40;_0x3c281c++)_0x5c9c4f[_0x3c281c]=_0x80b3ad[_0x363192(0x201)](_0x80b3ad[_0x363192(0x296)](_0x3c281c+0x1))*0x100000000|0x0;}());var _0x2b481b=_0x1543d7['MD5']=_0x317648['extend']({'_doReset':function(){var _0x24f886=_0x4ec1ab;this[_0x24f886(0x1f3)]=new _0x590b68[(_0x24f886(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x59368a,_0xde6bd7){var _0x5e308d=_0x4ec1ab;for(var _0x7328d7=0x0;_0x7328d7<0x10;_0x7328d7++){var _0x1cc418=_0xde6bd7+_0x7328d7,_0x2cfa6f=_0x59368a[_0x1cc418];_0x59368a[_0x1cc418]=(_0x2cfa6f<<0x8|_0x2cfa6f>>>0x18)&0xff00ff|(_0x2cfa6f<<0x18|_0x2cfa6f>>>0x8)&0xff00ff00;}var _0x3fd4aa=this[_0x5e308d(0x1f3)][_0x5e308d(0x171)],_0x296f55=_0x59368a[_0xde6bd7+0x0],_0xa52324=_0x59368a[_0xde6bd7+0x1],_0x175298=_0x59368a[_0xde6bd7+0x2],_0x1d66a8=_0x59368a[_0xde6bd7+0x3],_0x18f42e=_0x59368a[_0xde6bd7+0x4],_0x2594ed=_0x59368a[_0xde6bd7+0x5],_0x387dfa=_0x59368a[_0xde6bd7+0x6],_0x3ab139=_0x59368a[_0xde6bd7+0x7],_0x423011=_0x59368a[_0xde6bd7+0x8],_0x4d524e=_0x59368a[_0xde6bd7+0x9],_0x33482d=_0x59368a[_0xde6bd7+0xa],_0x22cd2c=_0x59368a[_0xde6bd7+0xb],_0x16704f=_0x59368a[_0xde6bd7+0xc],_0x520035=_0x59368a[_0xde6bd7+0xd],_0x3ae116=_0x59368a[_0xde6bd7+0xe],_0x322406=_0x59368a[_0xde6bd7+0xf],_0x4403ec=_0x3fd4aa[0x0],_0x48b249=_0x3fd4aa[0x1],_0x4e55a9=_0x3fd4aa[0x2],_0x25e1cc=_0x3fd4aa[0x3];_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x296f55,0x7,_0x5c9c4f[0x0]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0xa52324,0xc,_0x5c9c4f[0x1]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x175298,0x11,_0x5c9c4f[0x2]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x1d66a8,0x16,_0x5c9c4f[0x3]),_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x18f42e,0x7,_0x5c9c4f[0x4]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x2594ed,0xc,_0x5c9c4f[0x5]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x387dfa,0x11,_0x5c9c4f[0x6]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x3ab139,0x16,_0x5c9c4f[0x7]),_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x423011,0x7,_0x5c9c4f[0x8]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x4d524e,0xc,_0x5c9c4f[0x9]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x33482d,0x11,_0x5c9c4f[0xa]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x22cd2c,0x16,_0x5c9c4f[0xb]),_0x4403ec=_0x162622(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x16704f,0x7,_0x5c9c4f[0xc]),_0x25e1cc=_0x162622(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x520035,0xc,_0x5c9c4f[0xd]),_0x4e55a9=_0x162622(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ae116,0x11,_0x5c9c4f[0xe]),_0x48b249=_0x162622(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x322406,0x16,_0x5c9c4f[0xf]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0xa52324,0x5,_0x5c9c4f[0x10]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x387dfa,0x9,_0x5c9c4f[0x11]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x22cd2c,0xe,_0x5c9c4f[0x12]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x296f55,0x14,_0x5c9c4f[0x13]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x2594ed,0x5,_0x5c9c4f[0x14]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x33482d,0x9,_0x5c9c4f[0x15]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x322406,0xe,_0x5c9c4f[0x16]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x18f42e,0x14,_0x5c9c4f[0x17]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x4d524e,0x5,_0x5c9c4f[0x18]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x3ae116,0x9,_0x5c9c4f[0x19]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x1d66a8,0xe,_0x5c9c4f[0x1a]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x423011,0x14,_0x5c9c4f[0x1b]),_0x4403ec=_0x115501(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x520035,0x5,_0x5c9c4f[0x1c]),_0x25e1cc=_0x115501(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x175298,0x9,_0x5c9c4f[0x1d]),_0x4e55a9=_0x115501(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ab139,0xe,_0x5c9c4f[0x1e]),_0x48b249=_0x115501(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x16704f,0x14,_0x5c9c4f[0x1f]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x2594ed,0x4,_0x5c9c4f[0x20]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x423011,0xb,_0x5c9c4f[0x21]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x22cd2c,0x10,_0x5c9c4f[0x22]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x3ae116,0x17,_0x5c9c4f[0x23]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0xa52324,0x4,_0x5c9c4f[0x24]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x18f42e,0xb,_0x5c9c4f[0x25]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ab139,0x10,_0x5c9c4f[0x26]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x33482d,0x17,_0x5c9c4f[0x27]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x520035,0x4,_0x5c9c4f[0x28]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x296f55,0xb,_0x5c9c4f[0x29]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x1d66a8,0x10,_0x5c9c4f[0x2a]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x387dfa,0x17,_0x5c9c4f[0x2b]),_0x4403ec=_0x723826(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x4d524e,0x4,_0x5c9c4f[0x2c]),_0x25e1cc=_0x723826(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x16704f,0xb,_0x5c9c4f[0x2d]),_0x4e55a9=_0x723826(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x322406,0x10,_0x5c9c4f[0x2e]),_0x48b249=_0x723826(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x175298,0x17,_0x5c9c4f[0x2f]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x296f55,0x6,_0x5c9c4f[0x30]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x3ab139,0xa,_0x5c9c4f[0x31]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x3ae116,0xf,_0x5c9c4f[0x32]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x2594ed,0x15,_0x5c9c4f[0x33]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x16704f,0x6,_0x5c9c4f[0x34]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x1d66a8,0xa,_0x5c9c4f[0x35]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x33482d,0xf,_0x5c9c4f[0x36]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0xa52324,0x15,_0x5c9c4f[0x37]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x423011,0x6,_0x5c9c4f[0x38]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x322406,0xa,_0x5c9c4f[0x39]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x387dfa,0xf,_0x5c9c4f[0x3a]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x520035,0x15,_0x5c9c4f[0x3b]),_0x4403ec=_0x297ba4(_0x4403ec,_0x48b249,_0x4e55a9,_0x25e1cc,_0x18f42e,0x6,_0x5c9c4f[0x3c]),_0x25e1cc=_0x297ba4(_0x25e1cc,_0x4403ec,_0x48b249,_0x4e55a9,_0x22cd2c,0xa,_0x5c9c4f[0x3d]),_0x4e55a9=_0x297ba4(_0x4e55a9,_0x25e1cc,_0x4403ec,_0x48b249,_0x175298,0xf,_0x5c9c4f[0x3e]),_0x48b249=_0x297ba4(_0x48b249,_0x4e55a9,_0x25e1cc,_0x4403ec,_0x4d524e,0x15,_0x5c9c4f[0x3f]),_0x3fd4aa[0x0]=_0x3fd4aa[0x0]+_0x4403ec|0x0,_0x3fd4aa[0x1]=_0x3fd4aa[0x1]+_0x48b249|0x0,_0x3fd4aa[0x2]=_0x3fd4aa[0x2]+_0x4e55a9|0x0,_0x3fd4aa[0x3]=_0x3fd4aa[0x3]+_0x25e1cc|0x0;},'_doFinalize':function(){var _0x427324=_0x4ec1ab,_0x1acaa6=this[_0x427324(0x219)],_0x394d3d=_0x1acaa6[_0x427324(0x171)],_0x2dd8a7=this[_0x427324(0x2e9)]*0x8,_0x1202b5=_0x1acaa6[_0x427324(0x172)]*0x8;_0x394d3d[_0x1202b5>>>0x5]|=0x80<<0x18-_0x1202b5%0x20;var _0x1076c1=_0x80b3ad[_0x427324(0x1ce)](_0x2dd8a7/0x100000000),_0x2d4930=_0x2dd8a7;_0x394d3d[(_0x1202b5+0x40>>>0x9<<0x4)+0xf]=(_0x1076c1<<0x8|_0x1076c1>>>0x18)&0xff00ff|(_0x1076c1<<0x18|_0x1076c1>>>0x8)&0xff00ff00,_0x394d3d[(_0x1202b5+0x40>>>0x9<<0x4)+0xe]=(_0x2d4930<<0x8|_0x2d4930>>>0x18)&0xff00ff|(_0x2d4930<<0x18|_0x2d4930>>>0x8)&0xff00ff00,_0x1acaa6[_0x427324(0x172)]=(_0x394d3d[_0x427324(0xb8)]+0x1)*0x4,this[_0x427324(0x359)]();for(var _0x115abc=this[_0x427324(0x1f3)],_0x769030=_0x115abc['words'],_0x43cc93=0x0;_0x43cc93<0x4;_0x43cc93++){var _0x355b45=_0x769030[_0x43cc93];_0x769030[_0x43cc93]=(_0x355b45<<0x8|_0x355b45>>>0x18)&0xff00ff|(_0x355b45<<0x18|_0x355b45>>>0x8)&0xff00ff00;}return _0x115abc;},'clone':function(){var _0x4e1e0c=_0x4ec1ab,_0x4055bf=_0x317648[_0x4e1e0c(0x228)][_0x4e1e0c(0x103)](this);return _0x4055bf['_hash']=this[_0x4e1e0c(0x1f3)][_0x4e1e0c(0x228)](),_0x4055bf;}});function _0x162622(_0x29d2f2,_0x18e3da,_0x3ebe7f,_0x5166ca,_0x4c5537,_0x2dbb6d,_0x35bffb){var _0x3b7975=_0x29d2f2+(_0x18e3da&_0x3ebe7f|~_0x18e3da&_0x5166ca)+_0x4c5537+_0x35bffb;return(_0x3b7975<<_0x2dbb6d|_0x3b7975>>>0x20-_0x2dbb6d)+_0x18e3da;}function _0x115501(_0x4e951d,_0x3aaa04,_0x17b794,_0x4a5bed,_0x33d341,_0x4bdbd1,_0x4a8a32){var _0x58ebba=_0x4e951d+(_0x3aaa04&_0x4a5bed|_0x17b794&~_0x4a5bed)+_0x33d341+_0x4a8a32;return(_0x58ebba<<_0x4bdbd1|_0x58ebba>>>0x20-_0x4bdbd1)+_0x3aaa04;}function _0x723826(_0x3bee5c,_0x2aed62,_0x435312,_0x2179fc,_0x4cef44,_0x37d330,_0x4dbb98){var _0xe38120=_0x3bee5c+(_0x2aed62^_0x435312^_0x2179fc)+_0x4cef44+_0x4dbb98;return(_0xe38120<<_0x37d330|_0xe38120>>>0x20-_0x37d330)+_0x2aed62;}function _0x297ba4(_0x5412d4,_0x525959,_0x52b21d,_0x1260f9,_0x23e1ed,_0x48a80b,_0x3d6233){var _0x20c6ef=_0x5412d4+(_0x52b21d^(_0x525959|~_0x1260f9))+_0x23e1ed+_0x3d6233;return(_0x20c6ef<<_0x48a80b|_0x20c6ef>>>0x20-_0x48a80b)+_0x525959;}_0x42d35b[_0x4ec1ab(0x301)]=_0x317648['_createHelper'](_0x2b481b),_0x42d35b[_0x4ec1ab(0x2f4)]=_0x317648[_0x4ec1ab(0x289)](_0x2b481b);}(Math),_0x27a287['MD5'];}));}(Ke)),Ke[_0x2c0e45(0x30f)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x409aab(0x30f)],ti;function Hr(){var _0xbc205f=_0x409aab;return ti||(ti=0x1,function(_0x23d7e1,_0x53ab28){(function(_0x5cc317,_0x461278){_0x23d7e1['exports']=_0x461278(ne());}($r,function(_0x1469ba){var _0x406d19=_0x5cef;return(function(){var _0x5f3afe=_0x5cef,_0x884728=_0x1469ba,_0x29530f=_0x884728[_0x5f3afe(0x33e)],_0x288e06=_0x29530f[_0x5f3afe(0x25c)],_0x4443e4=_0x29530f[_0x5f3afe(0x326)],_0xa19492=_0x884728[_0x5f3afe(0x155)],_0x384658=[],_0xb61d10=_0xa19492[_0x5f3afe(0x1f7)]=_0x4443e4['extend']({'_doReset':function(){var _0x4b5f0a=_0x5f3afe;this['_hash']=new _0x288e06[(_0x4b5f0a(0x1b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c02e2,_0xccd1d9){var _0x1ad033=_0x5f3afe;for(var _0x48edc7=this['_hash'][_0x1ad033(0x171)],_0x125073=_0x48edc7[0x0],_0x4beb5d=_0x48edc7[0x1],_0x3a127b=_0x48edc7[0x2],_0x4f74a5=_0x48edc7[0x3],_0x3d5e94=_0x48edc7[0x4],_0x1a5094=0x0;_0x1a5094<0x50;_0x1a5094++){if(_0x1a5094<0x10)_0x384658[_0x1a5094]=_0x3c02e2[_0xccd1d9+_0x1a5094]|0x0;else{var _0x1997c3=_0x384658[_0x1a5094-0x3]^_0x384658[_0x1a5094-0x8]^_0x384658[_0x1a5094-0xe]^_0x384658[_0x1a5094-0x10];_0x384658[_0x1a5094]=_0x1997c3<<0x1|_0x1997c3>>>0x1f;}var _0x2caf10=(_0x125073<<0x5|_0x125073>>>0x1b)+_0x3d5e94+_0x384658[_0x1a5094];_0x1a5094<0x14?_0x2caf10+=(_0x4beb5d&_0x3a127b|~_0x4beb5d&_0x4f74a5)+0x5a827999:_0x1a5094<0x28?_0x2caf10+=(_0x4beb5d^_0x3a127b^_0x4f74a5)+0x6ed9eba1:_0x1a5094<0x3c?_0x2caf10+=(_0x4beb5d&_0x3a127b|_0x4beb5d&_0x4f74a5|_0x3a127b&_0x4f74a5)-0x70e44324:_0x2caf10+=(_0x4beb5d^_0x3a127b^_0x4f74a5)-0x359d3e2a,_0x3d5e94=_0x4f74a5,_0x4f74a5=_0x3a127b,_0x3a127b=_0x4beb5d<<0x1e|_0x4beb5d>>>0x2,_0x4beb5d=_0x125073,_0x125073=_0x2caf10;}_0x48edc7[0x0]=_0x48edc7[0x0]+_0x125073|0x0,_0x48edc7[0x1]=_0x48edc7[0x1]+_0x4beb5d|0x0,_0x48edc7[0x2]=_0x48edc7[0x2]+_0x3a127b|0x0,_0x48edc7[0x3]=_0x48edc7[0x3]+_0x4f74a5|0x0,_0x48edc7[0x4]=_0x48edc7[0x4]+_0x3d5e94|0x0;},'_doFinalize':function(){var _0x3f1198=_0x5f3afe,_0x5add78=this[_0x3f1198(0x219)],_0x5b0e15=_0x5add78[_0x3f1198(0x171)],_0x4911cc=this[_0x3f1198(0x2e9)]*0x8,_0x3ebd8e=_0x5add78[_0x3f1198(0x172)]*0x8;return _0x5b0e15[_0x3ebd8e>>>0x5]|=0x80<<0x18-_0x3ebd8e%0x20,_0x5b0e15[(_0x3ebd8e+0x40>>>0x9<<0x4)+0xe]=Math[_0x3f1198(0x1ce)](_0x4911cc/0x100000000),_0x5b0e15[(_0x3ebd8e+0x40>>>0x9<<0x4)+0xf]=_0x4911cc,_0x5add78['sigBytes']=_0x5b0e15[_0x3f1198(0xb8)]*0x4,this[_0x3f1198(0x359)](),this[_0x3f1198(0x1f3)];},'clone':function(){var _0x416bcc=_0x5f3afe,_0x4d9677=_0x4443e4[_0x416bcc(0x228)][_0x416bcc(0x103)](this);return _0x4d9677[_0x416bcc(0x1f3)]=this['_hash'][_0x416bcc(0x228)](),_0x4d9677;}});_0x884728[_0x5f3afe(0x1f7)]=_0x4443e4[_0x5f3afe(0x130)](_0xb61d10),_0x884728['HmacSHA1']=_0x4443e4['_createHmacHelper'](_0xb61d10);}()),_0x1469ba[_0x406d19(0x1f7)];}));}(qe)),qe[_0xbc205f(0x30f)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x252646=_0x409aab;return ii||(ii=0x1,function(_0x2bd5c7,_0x25505f){(function(_0x2cb5d4,_0x48dde4){var _0xc949a8=_0x5cef;_0x2bd5c7[_0xc949a8(0x30f)]=_0x48dde4(ne());}(kr,function(_0x4f2cdc){(function(){var _0x4bfde4=_0x5cef,_0x33955a=_0x4f2cdc,_0x51771b=_0x33955a[_0x4bfde4(0x33e)],_0x42d1a0=_0x51771b[_0x4bfde4(0x12a)],_0x419969=_0x33955a[_0x4bfde4(0x1ff)],_0x4d5e2c=_0x419969['Utf8'],_0x4dec32=_0x33955a[_0x4bfde4(0x155)];_0x4dec32['HMAC']=_0x42d1a0[_0x4bfde4(0x166)]({'init':function(_0x177cdb,_0x1be2f3){var _0x3cf624=_0x4bfde4;_0x177cdb=this[_0x3cf624(0x2cf)]=new _0x177cdb[(_0x3cf624(0x1b2))](),typeof _0x1be2f3==_0x3cf624(0x229)&&(_0x1be2f3=_0x4d5e2c[_0x3cf624(0x377)](_0x1be2f3));var _0x4ae30b=_0x177cdb['blockSize'],_0x1bb6af=_0x4ae30b*0x4;_0x1be2f3[_0x3cf624(0x172)]>_0x1bb6af&&(_0x1be2f3=_0x177cdb['finalize'](_0x1be2f3)),_0x1be2f3[_0x3cf624(0x124)]();for(var _0xf869d8=this[_0x3cf624(0x33d)]=_0x1be2f3[_0x3cf624(0x228)](),_0x3a96a4=this[_0x3cf624(0x1d9)]=_0x1be2f3[_0x3cf624(0x228)](),_0x3628cf=_0xf869d8['words'],_0x384503=_0x3a96a4['words'],_0x3ca6b3=0x0;_0x3ca6b3<_0x4ae30b;_0x3ca6b3++)_0x3628cf[_0x3ca6b3]^=0x5c5c5c5c,_0x384503[_0x3ca6b3]^=0x36363636;_0xf869d8['sigBytes']=_0x3a96a4[_0x3cf624(0x172)]=_0x1bb6af,this[_0x3cf624(0x1b7)]();},'reset':function(){var _0x15eee2=_0x4bfde4,_0x39135f=this[_0x15eee2(0x2cf)];_0x39135f['reset'](),_0x39135f[_0x15eee2(0x319)](this['_iKey']);},'update':function(_0x2d6dd1){return this['_hasher']['update'](_0x2d6dd1),this;},'finalize':function(_0x8d1177){var _0x28068a=_0x4bfde4,_0x19e3b3=this[_0x28068a(0x2cf)],_0x5cdf9b=_0x19e3b3[_0x28068a(0x2ae)](_0x8d1177);_0x19e3b3[_0x28068a(0x1b7)]();var _0x3c7efd=_0x19e3b3['finalize'](this[_0x28068a(0x33d)][_0x28068a(0x228)]()[_0x28068a(0xd9)](_0x5cdf9b));return _0x3c7efd;}});}());}));}(ze)),ze[_0x252646(0x30f)];}var Br=Ye[_0x409aab(0x30f)],ni;function Ui(){var _0xa60faf=_0x409aab;return ni||(ni=0x1,function(_0x4f4879,_0x803fb0){(function(_0x5a58e6,_0x194b2b,_0x523db4){var _0x187709=_0x5cef;_0x4f4879[_0x187709(0x30f)]=_0x194b2b(ne(),Hr(),jr());}(Br,function(_0x546f9e){return(function(){var _0x534f03=_0x5cef,_0x2b65d5=_0x546f9e,_0x482d8b=_0x2b65d5[_0x534f03(0x33e)],_0x23033c=_0x482d8b[_0x534f03(0x12a)],_0x508579=_0x482d8b[_0x534f03(0x25c)],_0x526b21=_0x2b65d5['algo'],_0xa17f06=_0x526b21['MD5'],_0x2003a7=_0x526b21['EvpKDF']=_0x23033c['extend']({'cfg':_0x23033c['extend']({'keySize':0x80/0x20,'hasher':_0xa17f06,'iterations':0x1}),'init':function(_0x41b846){var _0x3511bb=_0x534f03;this[_0x3511bb(0x1ef)]=this[_0x3511bb(0x1ef)][_0x3511bb(0x166)](_0x41b846);},'compute':function(_0x5eefd8,_0x4b8c4b){var _0x3b772e=_0x534f03;for(var _0x35a04a,_0x48eacd=this['cfg'],_0x36bba8=_0x48eacd[_0x3b772e(0x28b)][_0x3b772e(0x1fb)](),_0x5b5df5=_0x508579[_0x3b772e(0x1fb)](),_0xec8d78=_0x5b5df5[_0x3b772e(0x171)],_0x5dc7ce=_0x48eacd[_0x3b772e(0xd5)],_0x5bbf9a=_0x48eacd['iterations'];_0xec8d78[_0x3b772e(0xb8)]<_0x5dc7ce;){_0x35a04a&&_0x36bba8[_0x3b772e(0x319)](_0x35a04a),_0x35a04a=_0x36bba8[_0x3b772e(0x319)](_0x5eefd8)[_0x3b772e(0x2ae)](_0x4b8c4b),_0x36bba8[_0x3b772e(0x1b7)]();for(var _0x3f03ee=0x1;_0x3f03ee<_0x5bbf9a;_0x3f03ee++)_0x35a04a=_0x36bba8[_0x3b772e(0x2ae)](_0x35a04a),_0x36bba8[_0x3b772e(0x1b7)]();_0x5b5df5[_0x3b772e(0xd9)](_0x35a04a);}return _0x5b5df5[_0x3b772e(0x172)]=_0x5dc7ce*0x4,_0x5b5df5;}});_0x2b65d5['EvpKDF']=function(_0x1344e0,_0x41ff40,_0x4a2522){var _0x74c98=_0x534f03;return _0x2003a7[_0x74c98(0x1fb)](_0x4a2522)['compute'](_0x1344e0,_0x41ff40);};}()),_0x546f9e['EvpKDF'];}));}(Ye)),Ye[_0xa60faf(0x30f)];}var Je={'exports':{}},Fr=Je[_0x409aab(0x30f)],ri;function Ai(){var _0x42bc0f=_0x409aab;return ri||(ri=0x1,function(_0x402e45,_0x30600e){(function(_0x1cee4f,_0x4e8212,_0x244da0){var _0x5e3fc6=_0x5cef;_0x402e45[_0x5e3fc6(0x30f)]=_0x4e8212(ne(),Ui());}(Fr,function(_0xac349){var _0x50aa28=_0x5cef;_0xac349[_0x50aa28(0x33e)][_0x50aa28(0x2fc)]||function(_0x702cdb){var _0x429a86=_0x50aa28,_0x341bbc=_0xac349,_0x8ec72c=_0x341bbc[_0x429a86(0x33e)],_0x58e928=_0x8ec72c[_0x429a86(0x12a)],_0x138bba=_0x8ec72c[_0x429a86(0x25c)],_0x2435f7=_0x8ec72c[_0x429a86(0x24b)],_0x48766d=_0x341bbc[_0x429a86(0x1ff)];_0x48766d['Utf8'];var _0x5f3bb3=_0x48766d[_0x429a86(0x358)],_0x330c03=_0x341bbc['algo'],_0x5d72ea=_0x330c03['EvpKDF'],_0x4eda07=_0x8ec72c['Cipher']=_0x2435f7[_0x429a86(0x166)]({'cfg':_0x58e928[_0x429a86(0x166)](),'createEncryptor':function(_0x2a195a,_0x43a886){var _0x320767=_0x429a86;return this[_0x320767(0x1fb)](this[_0x320767(0x1db)],_0x2a195a,_0x43a886);},'createDecryptor':function(_0x33de41,_0xee718b){var _0x862947=_0x429a86;return this[_0x862947(0x1fb)](this['_DEC_XFORM_MODE'],_0x33de41,_0xee718b);},'init':function(_0x5aba78,_0x222b7e,_0xe0746e){var _0x4bd163=_0x429a86;this[_0x4bd163(0x1ef)]=this[_0x4bd163(0x1ef)][_0x4bd163(0x166)](_0xe0746e),this['_xformMode']=_0x5aba78,this[_0x4bd163(0x13f)]=_0x222b7e,this['reset']();},'reset':function(){var _0x4bdf05=_0x429a86;_0x2435f7['reset'][_0x4bdf05(0x103)](this),this[_0x4bdf05(0x25f)]();},'process':function(_0xb0c65e){var _0x59f079=_0x429a86;return this[_0x59f079(0x10d)](_0xb0c65e),this['_process']();},'finalize':function(_0x1492da){var _0x17995e=_0x429a86;_0x1492da&&this['_append'](_0x1492da);var _0x3c71c3=this[_0x17995e(0x14c)]();return _0x3c71c3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2229c4(_0x126cf0){var _0x4dddff=_0x5cef;return typeof _0x126cf0==_0x4dddff(0x229)?_0x3c1f59:_0x4af7b9;}return function(_0x5d9649){return{'encrypt':function(_0x4938ca,_0x12cbe1,_0x15d92a){var _0x4df175=_0x5cef;return _0x2229c4(_0x12cbe1)[_0x4df175(0xab)](_0x5d9649,_0x4938ca,_0x12cbe1,_0x15d92a);},'decrypt':function(_0xb01a32,_0x41de92,_0x15c9a3){var _0x39f1cd=_0x5cef;return _0x2229c4(_0x41de92)[_0x39f1cd(0x1d8)](_0x5d9649,_0xb01a32,_0x41de92,_0x15c9a3);}};};}())});_0x8ec72c[_0x429a86(0x1fe)]=_0x4eda07['extend']({'_doFinalize':function(){var _0x3f9859=this['_process'](!0x0);return _0x3f9859;},'blockSize':0x1});var _0x440a97=_0x341bbc[_0x429a86(0x2f1)]={},_0x91b473=_0x8ec72c['BlockCipherMode']=_0x58e928[_0x429a86(0x166)]({'createEncryptor':function(_0x1c1461,_0xd12166){return this['Encryptor']['create'](_0x1c1461,_0xd12166);},'createDecryptor':function(_0xbade5d,_0x335fd9){var _0x1a657a=_0x429a86;return this[_0x1a657a(0x142)]['create'](_0xbade5d,_0x335fd9);},'init':function(_0x18cb01,_0x312590){var _0x5ba013=_0x429a86;this[_0x5ba013(0xb1)]=_0x18cb01,this[_0x5ba013(0x272)]=_0x312590;}}),_0x138dcf=_0x440a97[_0x429a86(0x2f2)]=(function(){var _0xc57232=_0x429a86,_0x1dae77=_0x91b473[_0xc57232(0x166)]();_0x1dae77[_0xc57232(0x104)]=_0x1dae77[_0xc57232(0x166)]({'processBlock':function(_0x2c39ba,_0x594815){var _0x1c815b=_0xc57232,_0x30f94b=this[_0x1c815b(0xb1)],_0x981cda=_0x30f94b[_0x1c815b(0x100)];_0x2d9f3f[_0x1c815b(0x103)](this,_0x2c39ba,_0x594815,_0x981cda),_0x30f94b['encryptBlock'](_0x2c39ba,_0x594815),this[_0x1c815b(0x15e)]=_0x2c39ba[_0x1c815b(0xe5)](_0x594815,_0x594815+_0x981cda);}}),_0x1dae77[_0xc57232(0x142)]=_0x1dae77['extend']({'processBlock':function(_0x3e9303,_0x254b4f){var _0x5388ba=_0xc57232,_0x35248b=this[_0x5388ba(0xb1)],_0x32d366=_0x35248b['blockSize'],_0x169616=_0x3e9303['slice'](_0x254b4f,_0x254b4f+_0x32d366);_0x35248b[_0x5388ba(0x249)](_0x3e9303,_0x254b4f),_0x2d9f3f[_0x5388ba(0x103)](this,_0x3e9303,_0x254b4f,_0x32d366),this[_0x5388ba(0x15e)]=_0x169616;}});function _0x2d9f3f(_0x2e184d,_0x3947b3,_0x17a10a){var _0x377140=_0xc57232,_0x4019bc,_0x2c4a89=this['_iv'];_0x2c4a89?(_0x4019bc=_0x2c4a89,this[_0x377140(0x272)]=_0x702cdb):_0x4019bc=this[_0x377140(0x15e)];for(var _0x53dceb=0x0;_0x53dceb<_0x17a10a;_0x53dceb++)_0x2e184d[_0x3947b3+_0x53dceb]^=_0x4019bc[_0x53dceb];}return _0x1dae77;}()),_0x1bbff0=_0x341bbc[_0x429a86(0xff)]={},_0x2cf6c5=_0x1bbff0[_0x429a86(0x1cf)]={'pad':function(_0x198935,_0x28f236){var _0x6aeb2a=_0x429a86;for(var _0x1b328a=_0x28f236*0x4,_0x4dddcc=_0x1b328a-_0x198935[_0x6aeb2a(0x172)]%_0x1b328a,_0x336766=_0x4dddcc<<0x18|_0x4dddcc<<0x10|_0x4dddcc<<0x8|_0x4dddcc,_0x7b1ace=[],_0x7aa40c=0x0;_0x7aa40c<_0x4dddcc;_0x7aa40c+=0x4)_0x7b1ace[_0x6aeb2a(0x8f)](_0x336766);var _0x43508e=_0x138bba['create'](_0x7b1ace,_0x4dddcc);_0x198935[_0x6aeb2a(0xd9)](_0x43508e);},'unpad':function(_0x3ea904){var _0x1593ca=_0x429a86,_0x4b4116=_0x3ea904['words'][_0x3ea904[_0x1593ca(0x172)]-0x1>>>0x2]&0xff;_0x3ea904[_0x1593ca(0x172)]-=_0x4b4116;}};_0x8ec72c[_0x429a86(0x244)]=_0x4eda07[_0x429a86(0x166)]({'cfg':_0x4eda07['cfg'][_0x429a86(0x166)]({'mode':_0x138dcf,'padding':_0x2cf6c5}),'reset':function(){var _0xc49b2=_0x429a86,_0x2ea4f0;_0x4eda07[_0xc49b2(0x1b7)][_0xc49b2(0x103)](this);var _0x5a092e=this[_0xc49b2(0x1ef)],_0x17efb1=_0x5a092e['iv'],_0x5661bd=_0x5a092e['mode'];this[_0xc49b2(0x27d)]==this[_0xc49b2(0x1db)]?_0x2ea4f0=_0x5661bd['createEncryptor']:(_0x2ea4f0=_0x5661bd[_0xc49b2(0x11c)],this[_0xc49b2(0x161)]=0x1),this[_0xc49b2(0x153)]&&this[_0xc49b2(0x153)][_0xc49b2(0x1d5)]==_0x2ea4f0?this[_0xc49b2(0x153)][_0xc49b2(0x1b2)](this,_0x17efb1&&_0x17efb1['words']):(this[_0xc49b2(0x153)]=_0x2ea4f0[_0xc49b2(0x103)](_0x5661bd,this,_0x17efb1&&_0x17efb1['words']),this[_0xc49b2(0x153)][_0xc49b2(0x1d5)]=_0x2ea4f0);},'_doProcessBlock':function(_0x271f23,_0x575344){var _0x105668=_0x429a86;this[_0x105668(0x153)]['processBlock'](_0x271f23,_0x575344);},'_doFinalize':function(){var _0x105cf2=_0x429a86,_0x1d9b25,_0x553098=this[_0x105cf2(0x1ef)][_0x105cf2(0x363)];return this[_0x105cf2(0x27d)]==this[_0x105cf2(0x1db)]?(_0x553098[_0x105cf2(0xff)](this[_0x105cf2(0x219)],this['blockSize']),_0x1d9b25=this[_0x105cf2(0x359)](!0x0)):(_0x1d9b25=this['_process'](!0x0),_0x553098[_0x105cf2(0xf1)](_0x1d9b25)),_0x1d9b25;},'blockSize':0x80/0x20});var _0x3b3a3a=_0x8ec72c['CipherParams']=_0x58e928[_0x429a86(0x166)]({'init':function(_0x3b801a){var _0x5adbc5=_0x429a86;this[_0x5adbc5(0x16d)](_0x3b801a);},'toString':function(_0x18298c){var _0x4c4942=_0x429a86;return(_0x18298c||this['formatter'])[_0x4c4942(0xfc)](this);}}),_0xefac0b=_0x341bbc[_0x429a86(0x286)]={},_0x4be0d4=_0xefac0b[_0x429a86(0x2ed)]={'stringify':function(_0x47c9dc){var _0x3761f7=_0x429a86,_0x5b2223,_0x13af0f=_0x47c9dc[_0x3761f7(0xf3)],_0x5cd78e=_0x47c9dc[_0x3761f7(0x329)];return _0x5cd78e?_0x5b2223=_0x138bba[_0x3761f7(0x1fb)]([0x53616c74,0x65645f5f])[_0x3761f7(0xd9)](_0x5cd78e)[_0x3761f7(0xd9)](_0x13af0f):_0x5b2223=_0x13af0f,_0x5b2223[_0x3761f7(0x238)](_0x5f3bb3);},'parse':function(_0x22a8e0){var _0x58ff53=_0x429a86,_0x43251e,_0x3ceb2e=_0x5f3bb3[_0x58ff53(0x377)](_0x22a8e0),_0x3b6ed0=_0x3ceb2e[_0x58ff53(0x171)];return _0x3b6ed0[0x0]==0x53616c74&&_0x3b6ed0[0x1]==0x65645f5f&&(_0x43251e=_0x138bba[_0x58ff53(0x1fb)](_0x3b6ed0[_0x58ff53(0xe5)](0x2,0x4)),_0x3b6ed0['splice'](0x0,0x4),_0x3ceb2e[_0x58ff53(0x172)]-=0x10),_0x3b3a3a[_0x58ff53(0x1fb)]({'ciphertext':_0x3ceb2e,'salt':_0x43251e});}},_0x4af7b9=_0x8ec72c[_0x429a86(0x193)]=_0x58e928[_0x429a86(0x166)]({'cfg':_0x58e928[_0x429a86(0x166)]({'format':_0x4be0d4}),'encrypt':function(_0x50dd29,_0x3e1b42,_0x4dc9c0,_0x14c855){var _0x3bddff=_0x429a86;_0x14c855=this[_0x3bddff(0x1ef)][_0x3bddff(0x166)](_0x14c855);var _0x525896=_0x50dd29[_0x3bddff(0x101)](_0x4dc9c0,_0x14c855),_0x14f2fb=_0x525896[_0x3bddff(0x2ae)](_0x3e1b42),_0x345a89=_0x525896[_0x3bddff(0x1ef)];return _0x3b3a3a[_0x3bddff(0x1fb)]({'ciphertext':_0x14f2fb,'key':_0x4dc9c0,'iv':_0x345a89['iv'],'algorithm':_0x50dd29,'mode':_0x345a89['mode'],'padding':_0x345a89[_0x3bddff(0x363)],'blockSize':_0x50dd29[_0x3bddff(0x100)],'formatter':_0x14c855[_0x3bddff(0x286)]});},'decrypt':function(_0x1a1fa9,_0x5ae3b0,_0x57e760,_0x454668){var _0x5a0271=_0x429a86;_0x454668=this['cfg'][_0x5a0271(0x166)](_0x454668),_0x5ae3b0=this[_0x5a0271(0x138)](_0x5ae3b0,_0x454668[_0x5a0271(0x286)]);var _0x51f83f=_0x1a1fa9['createDecryptor'](_0x57e760,_0x454668)[_0x5a0271(0x2ae)](_0x5ae3b0[_0x5a0271(0xf3)]);return _0x51f83f;},'_parse':function(_0x2815ca,_0x4aa850){var _0x18f6d1=_0x429a86;return typeof _0x2815ca==_0x18f6d1(0x229)?_0x4aa850[_0x18f6d1(0x377)](_0x2815ca,this):_0x2815ca;}}),_0x5266d7=_0x341bbc[_0x429a86(0x9d)]={},_0x46c541=_0x5266d7[_0x429a86(0x2ed)]={'execute':function(_0x54b240,_0x94249c,_0x16257d,_0x17a6cf,_0xd580c){var _0xb83fe4=_0x429a86;if(_0x17a6cf||(_0x17a6cf=_0x138bba[_0xb83fe4(0x275)](0x40/0x8)),_0xd580c)var _0x599dbd=_0x5d72ea[_0xb83fe4(0x1fb)]({'keySize':_0x94249c+_0x16257d,'hasher':_0xd580c})[_0xb83fe4(0x1ed)](_0x54b240,_0x17a6cf);else var _0x599dbd=_0x5d72ea[_0xb83fe4(0x1fb)]({'keySize':_0x94249c+_0x16257d})[_0xb83fe4(0x1ed)](_0x54b240,_0x17a6cf);var _0x5be645=_0x138bba[_0xb83fe4(0x1fb)](_0x599dbd[_0xb83fe4(0x171)]['slice'](_0x94249c),_0x16257d*0x4);return _0x599dbd[_0xb83fe4(0x172)]=_0x94249c*0x4,_0x3b3a3a[_0xb83fe4(0x1fb)]({'key':_0x599dbd,'iv':_0x5be645,'salt':_0x17a6cf});}},_0x3c1f59=_0x8ec72c[_0x429a86(0x32f)]=_0x4af7b9[_0x429a86(0x166)]({'cfg':_0x4af7b9[_0x429a86(0x1ef)][_0x429a86(0x166)]({'kdf':_0x46c541}),'encrypt':function(_0x542ac3,_0x2f4c40,_0x1240e9,_0x37aa65){var _0x319f67=_0x429a86;_0x37aa65=this[_0x319f67(0x1ef)][_0x319f67(0x166)](_0x37aa65);var _0x46c17b=_0x37aa65[_0x319f67(0x9d)][_0x319f67(0x328)](_0x1240e9,_0x542ac3[_0x319f67(0xd5)],_0x542ac3[_0x319f67(0x35a)],_0x37aa65['salt'],_0x37aa65[_0x319f67(0x28b)]);_0x37aa65['iv']=_0x46c17b['iv'];var _0x18f579=_0x4af7b9[_0x319f67(0xab)][_0x319f67(0x103)](this,_0x542ac3,_0x2f4c40,_0x46c17b[_0x319f67(0x321)],_0x37aa65);return _0x18f579[_0x319f67(0x16d)](_0x46c17b),_0x18f579;},'decrypt':function(_0x16d8d9,_0x2c71c5,_0x24d987,_0x184b05){var _0x94f26f=_0x429a86;_0x184b05=this['cfg']['extend'](_0x184b05),_0x2c71c5=this[_0x94f26f(0x138)](_0x2c71c5,_0x184b05[_0x94f26f(0x286)]);var _0x3df3ac=_0x184b05[_0x94f26f(0x9d)][_0x94f26f(0x328)](_0x24d987,_0x16d8d9[_0x94f26f(0xd5)],_0x16d8d9[_0x94f26f(0x35a)],_0x2c71c5[_0x94f26f(0x329)],_0x184b05[_0x94f26f(0x28b)]);_0x184b05['iv']=_0x3df3ac['iv'];var _0x99127f=_0x4af7b9[_0x94f26f(0x1d8)][_0x94f26f(0x103)](this,_0x16d8d9,_0x2c71c5,_0x3df3ac[_0x94f26f(0x321)],_0x184b05);return _0x99127f;}});}();}));}(Je)),Je[_0x42bc0f(0x30f)];}var Vr=Ve[_0x409aab(0x30f)],si;function Gr(){return si||(si=0x1,function(_0xb6f4a,_0x434b2b){(function(_0x1d62b5,_0x416581,_0x54f054){var _0x406a72=_0x5cef;_0xb6f4a[_0x406a72(0x30f)]=_0x416581(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x61b40){var _0x1ff129=_0x5cef;return(function(){var _0x47e2dd=_0x5cef,_0x1a3c0f=_0x61b40,_0x195ec2=_0x1a3c0f['lib'],_0xb64015=_0x195ec2['BlockCipher'],_0x407340=_0x1a3c0f[_0x47e2dd(0x155)],_0x322ae1=[],_0xc88938=[],_0x49e4b3=[],_0x44d21d=[],_0xcdd2bf=[],_0x1c2f67=[],_0x331a90=[],_0x2424e8=[],_0x2c5170=[],_0x394dab=[];(function(){for(var _0x16444f=[],_0x504a94=0x0;_0x504a94<0x100;_0x504a94++)_0x504a94<0x80?_0x16444f[_0x504a94]=_0x504a94<<0x1:_0x16444f[_0x504a94]=_0x504a94<<0x1^0x11b;for(var _0x24aab8=0x0,_0x5dfcc6=0x0,_0x504a94=0x0;_0x504a94<0x100;_0x504a94++){var _0x5af30e=_0x5dfcc6^_0x5dfcc6<<0x1^_0x5dfcc6<<0x2^_0x5dfcc6<<0x3^_0x5dfcc6<<0x4;_0x5af30e=_0x5af30e>>>0x8^_0x5af30e&0xff^0x63,_0x322ae1[_0x24aab8]=_0x5af30e,_0xc88938[_0x5af30e]=_0x24aab8;var _0x469230=_0x16444f[_0x24aab8],_0x52d0c5=_0x16444f[_0x469230],_0x2c627f=_0x16444f[_0x52d0c5],_0x312cd6=_0x16444f[_0x5af30e]*0x101^_0x5af30e*0x1010100;_0x49e4b3[_0x24aab8]=_0x312cd6<<0x18|_0x312cd6>>>0x8,_0x44d21d[_0x24aab8]=_0x312cd6<<0x10|_0x312cd6>>>0x10,_0xcdd2bf[_0x24aab8]=_0x312cd6<<0x8|_0x312cd6>>>0x18,_0x1c2f67[_0x24aab8]=_0x312cd6;var _0x312cd6=_0x2c627f*0x1010101^_0x52d0c5*0x10001^_0x469230*0x101^_0x24aab8*0x1010100;_0x331a90[_0x5af30e]=_0x312cd6<<0x18|_0x312cd6>>>0x8,_0x2424e8[_0x5af30e]=_0x312cd6<<0x10|_0x312cd6>>>0x10,_0x2c5170[_0x5af30e]=_0x312cd6<<0x8|_0x312cd6>>>0x18,_0x394dab[_0x5af30e]=_0x312cd6,_0x24aab8?(_0x24aab8=_0x469230^_0x16444f[_0x16444f[_0x16444f[_0x2c627f^_0x469230]]],_0x5dfcc6^=_0x16444f[_0x16444f[_0x5dfcc6]]):_0x24aab8=_0x5dfcc6=0x1;}}());var _0x1870af=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x336241=_0x407340[_0x47e2dd(0x174)]=_0xb64015['extend']({'_doReset':function(){var _0x1f11c4=_0x47e2dd,_0x1d48c6;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x32e6d4=this['_keyPriorReset']=this[_0x1f11c4(0x13f)],_0x4b10c0=_0x32e6d4[_0x1f11c4(0x171)],_0x29d8f2=_0x32e6d4[_0x1f11c4(0x172)]/0x4,_0x57f81e=this[_0x1f11c4(0x1ae)]=_0x29d8f2+0x6,_0x4c6972=(_0x57f81e+0x1)*0x4,_0x36c0aa=this[_0x1f11c4(0x13d)]=[],_0x15724e=0x0;_0x15724e<_0x4c6972;_0x15724e++)_0x15724e<_0x29d8f2?_0x36c0aa[_0x15724e]=_0x4b10c0[_0x15724e]:(_0x1d48c6=_0x36c0aa[_0x15724e-0x1],_0x15724e%_0x29d8f2?_0x29d8f2>0x6&&_0x15724e%_0x29d8f2==0x4&&(_0x1d48c6=_0x322ae1[_0x1d48c6>>>0x18]<<0x18|_0x322ae1[_0x1d48c6>>>0x10&0xff]<<0x10|_0x322ae1[_0x1d48c6>>>0x8&0xff]<<0x8|_0x322ae1[_0x1d48c6&0xff]):(_0x1d48c6=_0x1d48c6<<0x8|_0x1d48c6>>>0x18,_0x1d48c6=_0x322ae1[_0x1d48c6>>>0x18]<<0x18|_0x322ae1[_0x1d48c6>>>0x10&0xff]<<0x10|_0x322ae1[_0x1d48c6>>>0x8&0xff]<<0x8|_0x322ae1[_0x1d48c6&0xff],_0x1d48c6^=_0x1870af[_0x15724e/_0x29d8f2|0x0]<<0x18),_0x36c0aa[_0x15724e]=_0x36c0aa[_0x15724e-_0x29d8f2]^_0x1d48c6);for(var _0x3838f9=this['_invKeySchedule']=[],_0x22408f=0x0;_0x22408f<_0x4c6972;_0x22408f++){var _0x15724e=_0x4c6972-_0x22408f;if(_0x22408f%0x4)var _0x1d48c6=_0x36c0aa[_0x15724e];else var _0x1d48c6=_0x36c0aa[_0x15724e-0x4];_0x22408f<0x4||_0x15724e<=0x4?_0x3838f9[_0x22408f]=_0x1d48c6:_0x3838f9[_0x22408f]=_0x331a90[_0x322ae1[_0x1d48c6>>>0x18]]^_0x2424e8[_0x322ae1[_0x1d48c6>>>0x10&0xff]]^_0x2c5170[_0x322ae1[_0x1d48c6>>>0x8&0xff]]^_0x394dab[_0x322ae1[_0x1d48c6&0xff]];}}},'encryptBlock':function(_0x393089,_0x29615a){var _0x366b8d=_0x47e2dd;this[_0x366b8d(0x22e)](_0x393089,_0x29615a,this['_keySchedule'],_0x49e4b3,_0x44d21d,_0xcdd2bf,_0x1c2f67,_0x322ae1);},'decryptBlock':function(_0x2dac1d,_0x13a1c4){var _0x5edfdc=_0x47e2dd,_0x4fd9cf=_0x2dac1d[_0x13a1c4+0x1];_0x2dac1d[_0x13a1c4+0x1]=_0x2dac1d[_0x13a1c4+0x3],_0x2dac1d[_0x13a1c4+0x3]=_0x4fd9cf,this[_0x5edfdc(0x22e)](_0x2dac1d,_0x13a1c4,this[_0x5edfdc(0x234)],_0x331a90,_0x2424e8,_0x2c5170,_0x394dab,_0xc88938);var _0x4fd9cf=_0x2dac1d[_0x13a1c4+0x1];_0x2dac1d[_0x13a1c4+0x1]=_0x2dac1d[_0x13a1c4+0x3],_0x2dac1d[_0x13a1c4+0x3]=_0x4fd9cf;},'_doCryptBlock':function(_0x33e273,_0x3ff767,_0x576bd7,_0x5f12b2,_0x16d8f8,_0xc01496,_0x488dac,_0x50da4c){var _0x14e819=_0x47e2dd;for(var _0x40cc6f=this[_0x14e819(0x1ae)],_0xbcb694=_0x33e273[_0x3ff767]^_0x576bd7[0x0],_0x256ece=_0x33e273[_0x3ff767+0x1]^_0x576bd7[0x1],_0xe97baa=_0x33e273[_0x3ff767+0x2]^_0x576bd7[0x2],_0x5b4ede=_0x33e273[_0x3ff767+0x3]^_0x576bd7[0x3],_0x540c08=0x4,_0x10e543=0x1;_0x10e543<_0x40cc6f;_0x10e543++){var _0x35c207=_0x5f12b2[_0xbcb694>>>0x18]^_0x16d8f8[_0x256ece>>>0x10&0xff]^_0xc01496[_0xe97baa>>>0x8&0xff]^_0x488dac[_0x5b4ede&0xff]^_0x576bd7[_0x540c08++],_0x551aa1=_0x5f12b2[_0x256ece>>>0x18]^_0x16d8f8[_0xe97baa>>>0x10&0xff]^_0xc01496[_0x5b4ede>>>0x8&0xff]^_0x488dac[_0xbcb694&0xff]^_0x576bd7[_0x540c08++],_0x256de1=_0x5f12b2[_0xe97baa>>>0x18]^_0x16d8f8[_0x5b4ede>>>0x10&0xff]^_0xc01496[_0xbcb694>>>0x8&0xff]^_0x488dac[_0x256ece&0xff]^_0x576bd7[_0x540c08++],_0x4f0333=_0x5f12b2[_0x5b4ede>>>0x18]^_0x16d8f8[_0xbcb694>>>0x10&0xff]^_0xc01496[_0x256ece>>>0x8&0xff]^_0x488dac[_0xe97baa&0xff]^_0x576bd7[_0x540c08++];_0xbcb694=_0x35c207,_0x256ece=_0x551aa1,_0xe97baa=_0x256de1,_0x5b4ede=_0x4f0333;}var _0x35c207=(_0x50da4c[_0xbcb694>>>0x18]<<0x18|_0x50da4c[_0x256ece>>>0x10&0xff]<<0x10|_0x50da4c[_0xe97baa>>>0x8&0xff]<<0x8|_0x50da4c[_0x5b4ede&0xff])^_0x576bd7[_0x540c08++],_0x551aa1=(_0x50da4c[_0x256ece>>>0x18]<<0x18|_0x50da4c[_0xe97baa>>>0x10&0xff]<<0x10|_0x50da4c[_0x5b4ede>>>0x8&0xff]<<0x8|_0x50da4c[_0xbcb694&0xff])^_0x576bd7[_0x540c08++],_0x256de1=(_0x50da4c[_0xe97baa>>>0x18]<<0x18|_0x50da4c[_0x5b4ede>>>0x10&0xff]<<0x10|_0x50da4c[_0xbcb694>>>0x8&0xff]<<0x8|_0x50da4c[_0x256ece&0xff])^_0x576bd7[_0x540c08++],_0x4f0333=(_0x50da4c[_0x5b4ede>>>0x18]<<0x18|_0x50da4c[_0xbcb694>>>0x10&0xff]<<0x10|_0x50da4c[_0x256ece>>>0x8&0xff]<<0x8|_0x50da4c[_0xe97baa&0xff])^_0x576bd7[_0x540c08++];_0x33e273[_0x3ff767]=_0x35c207,_0x33e273[_0x3ff767+0x1]=_0x551aa1,_0x33e273[_0x3ff767+0x2]=_0x256de1,_0x33e273[_0x3ff767+0x3]=_0x4f0333;},'keySize':0x100/0x20});_0x1a3c0f[_0x47e2dd(0x174)]=_0xb64015[_0x47e2dd(0x130)](_0x336241);}()),_0x61b40[_0x1ff129(0x174)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x409aab(0x30f)],ai;function zr(){var _0x24e685=_0x409aab;return ai||(ai=0x1,function(_0x24f046,_0x5a9aab){(function(_0x3d106f,_0x507cfe){var _0x316e4d=_0x5cef;_0x24f046[_0x316e4d(0x30f)]=_0x507cfe(ne());}(qr,function(_0x3dbe85){var _0xfa46ed=_0x5cef;return _0x3dbe85[_0xfa46ed(0x1ff)][_0xfa46ed(0x190)];}));}(Xe)),Xe[_0x24e685(0x30f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x409aab(0x30f)],ci;function Qr(){var _0x43459f=_0x409aab;return ci||(ci=0x1,function(_0x50a6d0,_0x6d4d35){(function(_0x30bf84,_0x1d72d5){var _0x9fd777=_0x5cef;_0x50a6d0[_0x9fd777(0x30f)]=_0x1d72d5(ne());}(Zr,function(_0x53af68){var _0x55e753=_0x5cef;return(function(){var _0x1e4ada=_0x5cef;if(typeof ArrayBuffer==_0x1e4ada(0x348)){var _0x4764e2=_0x53af68,_0x17ee66=_0x4764e2[_0x1e4ada(0x33e)],_0x651277=_0x17ee66[_0x1e4ada(0x25c)],_0x2d6e8c=_0x651277[_0x1e4ada(0x1b2)],_0x4e2918=_0x651277[_0x1e4ada(0x1b2)]=function(_0x27a37a){var _0x1df833=_0x1e4ada;if(_0x27a37a instanceof ArrayBuffer&&(_0x27a37a=new Uint8Array(_0x27a37a)),(_0x27a37a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x27a37a instanceof Uint8ClampedArray||_0x27a37a instanceof Int16Array||_0x27a37a instanceof Uint16Array||_0x27a37a instanceof Int32Array||_0x27a37a instanceof Uint32Array||_0x27a37a instanceof Float32Array||_0x27a37a instanceof Float64Array)&&(_0x27a37a=new Uint8Array(_0x27a37a[_0x1df833(0x199)],_0x27a37a['byteOffset'],_0x27a37a[_0x1df833(0x236)])),_0x27a37a instanceof Uint8Array){for(var _0x2580ff=_0x27a37a[_0x1df833(0x236)],_0x3eeef9=[],_0x44d17a=0x0;_0x44d17a<_0x2580ff;_0x44d17a++)_0x3eeef9[_0x44d17a>>>0x2]|=_0x27a37a[_0x44d17a]<<0x18-_0x44d17a%0x4*0x8;_0x2d6e8c[_0x1df833(0x103)](this,_0x3eeef9,_0x2580ff);}else _0x2d6e8c[_0x1df833(0xb9)](this,arguments);};_0x4e2918[_0x1e4ada(0x1c2)]=_0x651277;}}()),_0x53af68[_0x55e753(0x33e)][_0x55e753(0x25c)];}));}(Ze)),Ze[_0x43459f(0x30f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x1fc61c=_0x409aab;return hi||(hi=0x1,function(_0x594014,_0x594329){(function(_0x1ffbd5,_0xaa9221,_0xbe550d){var _0x15b34e=_0x5cef;_0x594014[_0x15b34e(0x30f)]=_0xaa9221(ne(),Ai());}(is,function(_0x7ddba1){var _0x45a9a7=_0x5cef;return _0x7ddba1[_0x45a9a7(0xff)][_0x45a9a7(0x2c3)]={'pad':function(){},'unpad':function(){}},_0x7ddba1['pad'][_0x45a9a7(0x2c3)];}));}(Qe)),Qe[_0x1fc61c(0x30f)];}var rs=ns();const ss=ke(rs);function os(_0x3bc882,_0x4ff263){var _0x38a809=_0x409aab;const _0x4d09b4=_0x4ff263-_0x3bc882[_0x38a809(0xb8)]%_0x4ff263,_0x465049=String[_0x38a809(0x21b)](_0x4d09b4)[_0x38a809(0x374)](_0x4d09b4);return _0x3bc882+_0x465049;}function as(_0x519c00,_0x51f809){var _0x25b024=_0x409aab;const _0xa80460=ts[_0x25b024(0x275)](0x10),_0x38bcd9=os(_0x519c00,0x10),_0x549760=Kr[_0x25b024(0xab)](Xr['parse'](_0x38bcd9),oi[_0x25b024(0x377)](_0x51f809),{'iv':_0xa80460,'padding':ss});return _0xa80460['concat'](_0x549760['ciphertext'])['toString'](oi);}function cs(){var _0x28d647=_0x409aab;const _0x1f7e44=_0x27e758()['__Key__'];if(_0x1f7e44){const _0x3552d0={'time':Math[_0x28d647(0x1ce)](Date[_0x28d647(0x1c9)]()/0x3e8),'domain':location[_0x28d647(0x1e5)]};return as(JSON['stringify'](_0x3552d0),_0x1f7e44);}}var hs=Object[_0x409aab(0x1b3)],_s=Object[_0x409aab(0x308)],ls=(_0x58f438,_0x56f9de,_0x5999d9,_0x490326)=>{var _0x343bf5=_0x409aab;for(var _0x28ecf5=_0x490326>0x1?void 0x0:_0x490326?_s(_0x56f9de,_0x5999d9):_0x56f9de,_0x3b7281=_0x58f438[_0x343bf5(0xb8)]-0x1,_0x54d4ca;_0x3b7281>=0x0;_0x3b7281--)(_0x54d4ca=_0x58f438[_0x3b7281])&&(_0x28ecf5=(_0x490326?_0x54d4ca(_0x56f9de,_0x5999d9,_0x28ecf5):_0x54d4ca(_0x28ecf5))||_0x28ecf5);return _0x490326&&_0x28ecf5&&hs(_0x56f9de,_0x5999d9,_0x28ecf5),_0x28ecf5;},us=(_0x2d6229,_0x4ed5ce)=>(_0x286012,_0xf87068)=>_0x4ed5ce(_0x286012,_0xf87068,_0x2d6229);let ot=class{constructor(_0x2a1f99){var _0x33f572=_0x409aab;this['_httpService']=_0x2a1f99,this[_0x33f572(0x1ad)]();}[_0x409aab(0x1ad)](){var _0x32f900=_0x409aab;this[_0x32f900(0x327)]['registerHTTPInterceptor']({'interceptor':(_0x3a933d,_0x4a3c01)=>{var _0xf8e7ce=_0x32f900;const _0x213126=_0x3a933d[_0xf8e7ce(0xae)],_0xca8255=cs();return _0xca8255&&_0x213126[_0xf8e7ce(0x2a2)](_0xf8e7ce(0x224),_0xca8255),_0x4a3c01(_0x3a933d);}});}};ot=ls([us(0x0,_0x301a99(_0x160d38))],ot);var ds=Object[_0x409aab(0x1b3)],fs=Object[_0x409aab(0x308)],vs=(_0x4f1dab,_0xbcf962,_0x18ccb6,_0x4b5bb3)=>{var _0x345c=_0x409aab;for(var _0x58b5a8=_0x4b5bb3>0x1?void 0x0:_0x4b5bb3?fs(_0xbcf962,_0x18ccb6):_0xbcf962,_0x2c9db8=_0x4f1dab[_0x345c(0xb8)]-0x1,_0x4bde44;_0x2c9db8>=0x0;_0x2c9db8--)(_0x4bde44=_0x4f1dab[_0x2c9db8])&&(_0x58b5a8=(_0x4b5bb3?_0x4bde44(_0xbcf962,_0x18ccb6,_0x58b5a8):_0x4bde44(_0x58b5a8))||_0x58b5a8);return _0x4b5bb3&&_0x58b5a8&&ds(_0xbcf962,_0x18ccb6,_0x58b5a8),_0x58b5a8;},mt=(_0x4aa6bc,_0x4d8e96)=>(_0x199ab8,_0x5e9bde)=>_0x4d8e96(_0x199ab8,_0x5e9bde,_0x4aa6bc);let Ot=class extends _0x5432f0{constructor(_0x5197c3,_0xc27df0,_0xe7816c){var _0x426598=_0x409aab;super(),N(this,'_unitInfo$',new _0x4d6645(null)),N(this,_0x426598(0x128),this['_unitInfo$'][_0x426598(0x1cd)]()),(this[_0x426598(0x21d)]=_0x5197c3,this[_0x426598(0x17d)]=_0xc27df0,this[_0x426598(0x29a)]=_0xe7816c);}async[_0x409aab(0x350)](_0x1bf9d,_0xb3771c,_0x47b42f){var _0x37abb8=_0x409aab;this[_0x37abb8(0x37c)]['next']({'unitId':_0x1bf9d,'type':_0xb3771c,'subUnitId':_0x47b42f});let _0x2d52dd=null;switch(_0xb3771c){case Q[_0x37abb8(0x8e)]:{_0x2d52dd=await this[_0x37abb8(0xde)](_0x1bf9d);break;}case Q[_0x37abb8(0x20f)]:{_0x2d52dd=await this['_loadDoc'](_0x1bf9d);break;}default:{this[_0x37abb8(0x21d)][_0x37abb8(0x36f)](_0x37abb8(0x1c1),_0x37abb8(0x384));break;}}return _0x2d52dd;}async[_0x409aab(0xde)](_0x3f2af2){var _0x2f234d=_0x409aab,_0x7c8b44;let _0x161918=0x0;const _0x9c4a1e=await((_0x7c8b44=this[_0x2f234d(0x29a)])==null?void 0x0:_0x7c8b44['loadOfflineData'](_0x3f2af2));return _0x9c4a1e&&(_0x9c4a1e[_0x2f234d(0x379)]||_0x9c4a1e[_0x2f234d(0x1fd)][_0x2f234d(0xb8)]!==0x0)&&(_0x161918=_0x9c4a1e[_0x2f234d(0x30d)]),_0x161918===0x0&&this[_0x2f234d(0x21d)]['debug'](_0x2f234d(0x1c1),_0x2f234d(0x211)),this['_snapshotService'][_0x2f234d(0x176)](_0x3f2af2,_0x161918);}async[_0x409aab(0x352)](_0x12d360){var _0x463d69=_0x409aab,_0x5aa369;let _0x56526f=0x0;const _0x3561d5=await((_0x5aa369=this[_0x463d69(0x29a)])==null?void 0x0:_0x5aa369[_0x463d69(0x349)](_0x12d360));return _0x3561d5&&(_0x3561d5['awaitingChangeset']||_0x3561d5['mutations']['length']!==0x0)&&(_0x56526f=_0x3561d5[_0x463d69(0x30d)]),_0x56526f===0x0&&this[_0x463d69(0x21d)][_0x463d69(0x11a)](_0x463d69(0x1c1),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x463d69(0x17d)][_0x463d69(0x25d)](_0x12d360,_0x56526f);}};Ot=vs([mt(0x0,_0x51fdc8),mt(0x1,_0x301a99(_0x37ccd2)),mt(0x2,_0x59bb9f(J))],Ot);var ps=Object[_0x409aab(0x1b3)],ms=Object[_0x409aab(0x308)],gs=(_0x8dc106,_0x55bcdf,_0x19427d,_0x5046d1)=>{var _0x346840=_0x409aab;for(var _0x462f63=_0x5046d1>0x1?void 0x0:_0x5046d1?ms(_0x55bcdf,_0x19427d):_0x55bcdf,_0x5a3ffb=_0x8dc106[_0x346840(0xb8)]-0x1,_0x37ce71;_0x5a3ffb>=0x0;_0x5a3ffb--)(_0x37ce71=_0x8dc106[_0x5a3ffb])&&(_0x462f63=(_0x5046d1?_0x37ce71(_0x55bcdf,_0x19427d,_0x462f63):_0x37ce71(_0x462f63))||_0x462f63);return _0x5046d1&&_0x462f63&&ps(_0x55bcdf,_0x19427d,_0x462f63),_0x462f63;},gt=(_0x4c0fa2,_0x368593)=>(_0x4c4307,_0x13a0dc)=>_0x368593(_0x4c4307,_0x13a0dc,_0x4c0fa2);const Ss=['image/png',_0x409aab(0x1b9),_0x409aab(0x20d),'image/gif',_0x409aab(0x198)],Es=0x5*0x400*0x400,Is=_0x409aab(0x366),Ts=_0x409aab(0x23d),Cs=_0x409aab(0x2f5),Rs=_0x409aab(0x360);let yt=class{constructor(_0x2586d5,_0x1b4e88,_0x2efae6){var _0x12212f=_0x409aab;N(this,_0x12212f(0xef),0x0),N(this,_0x12212f(0x320),new _0x221b68()),N(this,_0x12212f(0xdb),this[_0x12212f(0x320)]),N(this,'_imageSourceCache',new Map()),(this[_0x12212f(0x327)]=_0x2586d5,this[_0x12212f(0xd2)]=_0x1b4e88,this[_0x12212f(0x18f)]=_0x2efae6);}[_0x409aab(0x126)](_0x8b80a6){var _0x171be3=_0x409aab;this[_0x171be3(0xef)]=_0x8b80a6,this[_0x171be3(0x320)][_0x171be3(0x10a)](_0x8b80a6);}[_0x409aab(0x90)](_0x3c5e1c,_0x49d2b){var _0x2daf0b=_0x409aab;if(_0x49d2b===_0x5d518d[_0x2daf0b(0x1f5)]){const _0xe001d6=new Image();return _0xe001d6[_0x2daf0b(0xc7)]=_0x3c5e1c,_0xe001d6;}return this[_0x2daf0b(0x1f6)][_0x2daf0b(0x24c)](_0x3c5e1c);}[_0x409aab(0xad)](_0x1260fb,_0x53a36b,_0x2c3e4a){var _0x54fcac=_0x409aab;_0x53a36b===_0x5d518d[_0x54fcac(0x1f5)]||_0x2c3e4a==null||this['_imageSourceCache'][_0x54fcac(0x2a2)](_0x1260fb,_0x2c3e4a);}async[_0x409aab(0x21c)](_0xc3e9c0){var _0x51e126=_0x409aab;try{const _0x269ff9=this[_0x51e126(0x1c5)](this[_0x51e126(0x179)](),''+_0xc3e9c0),_0x4ac26a=(await this[_0x51e126(0x327)][_0x51e126(0x24c)](_0x269ff9))['body'];if(_0x4ac26a[_0x51e126(0x36f)]&&_0x4ac26a[_0x51e126(0x36f)][_0x51e126(0x2cd)]===Ii['OK']){const _0x51b253=new URL(_0x4ac26a[_0x51e126(0x2fa)],this[_0x51e126(0x19f)]())[_0x51e126(0x238)]();return Promise['resolve'](_0x51b253);}return Promise[_0x51e126(0x163)](_0x4ac26a[_0x51e126(0x36f)]);}catch(_0xe9d92c){return Promise[_0x51e126(0x163)](_0xe9d92c);}}async['saveImage'](_0x1a40e5){var _0x3539c4=_0x409aab;let _0x58d621='';if(!Ss[_0x3539c4(0x1ee)](_0x1a40e5['type']))return this[_0x3539c4(0x195)](),Promise['reject'](new Error(_0x46e417['ERROR_IMAGE_TYPE']));if(_0x1a40e5[_0x3539c4(0x2d6)]>Es)return this[_0x3539c4(0x195)](),Promise[_0x3539c4(0x163)](new Error(_0x46e417['ERROR_EXCEED_SIZE']));try{const _0x36b166=new FormData();_0x36b166['append'](_0x3539c4(0x1bb),_0x1a40e5);const _0x1b20f6=this['_univerInstanceService']['getFocusedUnit'](),_0x39a13a=_0x1b20f6==null?void 0x0:_0x1b20f6[_0x3539c4(0x1e8)]();if(!_0x39a13a)throw new Error('unitId\x20is\x20not\x20found');const _0x12e0d1=this['_getUploadFileURL']()+'?size='+_0x1a40e5[_0x3539c4(0x2d6)][_0x3539c4(0x238)]()+_0x3539c4(0x11d)+Ti[_0x3539c4(0xa5)]+_0x3539c4(0x1b8)+encodeURIComponent(_0x39a13a),_0x4afb4f=await(await fetch(_0x12e0d1,{'method':_0x3539c4(0x28e),'body':_0x36b166}))['json']();if(typeof _0x4afb4f['FileId']!=_0x3539c4(0x229))return this[_0x3539c4(0x195)](),Promise['reject'](new Error(_0x46e417[_0x3539c4(0x2ad)]));_0x58d621=_0x4afb4f['FileId'];}catch{return this[_0x3539c4(0x195)](),Promise[_0x3539c4(0x163)](new Error(_0x46e417[_0x3539c4(0x2ad)]));}return new Promise((_0x4d7713,_0x5ad651)=>{var _0x40b7cc=_0x3539c4;const _0x2c309e=new FileReader();_0x2c309e[_0x40b7cc(0x177)](_0x1a40e5),_0x2c309e[_0x40b7cc(0x312)]=_0x5b4404=>{var _0x5401bc=_0x40b7cc,_0x1497b2;const _0x1faea5=(_0x1497b2=_0x5b4404[_0x5401bc(0x295)])==null?void 0x0:_0x1497b2[_0x5401bc(0x309)];if(_0x1faea5==null){this[_0x5401bc(0x195)](),_0x5ad651(new Error(_0x46e417['ERROR_IMAGE']));return;}const _0x3973b9=_0x4cedbb[_0x5401bc(0x13c)](0x6);_0x4d7713({'imageId':_0x3973b9,'imageSourceType':_0x5d518d[_0x5401bc(0x98)],'source':_0x58d621,'base64Cache':_0x1faea5,'status':_0x46e417['SUCCUSS']}),this[_0x5401bc(0x195)]();};});}[_0x409aab(0x2d1)](){var _0x3502df=_0x409aab,_0x1fda46,_0x536d3b;const _0x45d84b=this[_0x3502df(0xd2)][_0x3502df(0x294)](Is),_0x2dfa42=this[_0x3502df(0xd2)]['getConfig'](q);return(_0x536d3b=(_0x1fda46=_0x2dfa42==null?void 0x0:_0x2dfa42[_0x3502df(0x1da)])!=null?_0x1fda46:_0x45d84b)!=null?_0x536d3b:Ts;}[_0x409aab(0x179)](){var _0x3d966c=_0x409aab,_0x375273,_0x4a5d2c;const _0x34a9bc=this['_configService'][_0x3d966c(0x294)](Cs),_0x2a385c=this[_0x3d966c(0xd2)][_0x3d966c(0x294)](q);return(_0x4a5d2c=(_0x375273=_0x2a385c==null?void 0x0:_0x2a385c[_0x3d966c(0x2e6)])!=null?_0x375273:_0x34a9bc)!=null?_0x4a5d2c:Rs;}[_0x409aab(0x19f)](){var _0x50bef3=_0x409aab,_0x1706f6;const _0x31d126=this['_configService']['getConfig'](q);return(_0x1706f6=_0x31d126==null?void 0x0:_0x31d126[_0x50bef3(0x1a6)])!=null?_0x1706f6:location[_0x50bef3(0x32b)];}[_0x409aab(0x1c5)](_0x583e0f,_0x131923){return _0x583e0f['replace']('{fileID}',_0x131923);}['_decreaseWaiting'](){var _0x3250d1=_0x409aab;this[_0x3250d1(0xef)]-=0x1,this['_change$'][_0x3250d1(0x10a)](this[_0x3250d1(0xef)]);}};yt=gs([gt(0x0,_0x301a99(_0x160d38)),gt(0x1,_0x424efc),gt(0x2,_0x301a99(_0x5b9095))],yt);var bs=Object[_0x409aab(0x1b3)],Os=Object[_0x409aab(0x308)],ys=(_0x2ec25c,_0x30aeb4,_0x252db8,_0x19d6c6)=>{var _0x3b1599=_0x409aab;for(var _0x1be713=_0x19d6c6>0x1?void 0x0:_0x19d6c6?Os(_0x30aeb4,_0x252db8):_0x30aeb4,_0x4c5158=_0x2ec25c[_0x3b1599(0xb8)]-0x1,_0x6d0c9a;_0x4c5158>=0x0;_0x4c5158--)(_0x6d0c9a=_0x2ec25c[_0x4c5158])&&(_0x1be713=(_0x19d6c6?_0x6d0c9a(_0x30aeb4,_0x252db8,_0x1be713):_0x6d0c9a(_0x1be713))||_0x1be713);return _0x19d6c6&&_0x1be713&&bs(_0x30aeb4,_0x252db8,_0x1be713),_0x1be713;},_i=(_0x437300,_0x54c5e1)=>(_0xcc15cb,_0x5909fb)=>_0x54c5e1(_0xcc15cb,_0x5909fb,_0x437300);const Ns=_0x409aab(0x37b);let Nt=class{constructor(_0x34bb81,_0x26dc16){var _0x1192e9=_0x409aab;this['_configService']=_0x34bb81,this[_0x1192e9(0x93)]=_0x26dc16;}[_0x409aab(0x2bb)](){var _0x3b78b2=_0x409aab,_0x5c6c99,_0x1e187f;const _0x5dbb79=this[_0x3b78b2(0xd2)][_0x3b78b2(0x294)](Pi),_0x3e24e7=this[_0x3b78b2(0xd2)][_0x3b78b2(0x294)](q);return(_0x1e187f=(_0x5c6c99=_0x3e24e7==null?void 0x0:_0x3e24e7[_0x3b78b2(0x2c0)])!=null?_0x5c6c99:_0x5dbb79)!=null?_0x1e187f:Ns;}async['list'](_0x385915){var _0x289499=_0x409aab;const _0x9bd456=this[_0x289499(0x2bb)]()+'/collaborator';return{'list':[{'title':_0x289499(0xd0),'mentions':(await this[_0x289499(0x93)]['get'](_0x9bd456,{'params':{'objectID':_0x385915[_0x289499(0x1d6)],'unitID':_0x385915['unitId']}}))[_0x289499(0x204)][_0x289499(0x146)][_0x289499(0x281)](_0x13fa00=>({'objectId':_0x13fa00['id'],'name':_0x13fa00[_0x289499(0x102)][_0x289499(0x26a)],'metadata':{'icon':_0x13fa00[_0x289499(0x102)]['avatar']},'label':_0x13fa00['subject']['name'],'objectType':_0xd2767b[_0x289499(0x13b)]})),'metadata':{},'type':_0xd2767b[_0x289499(0x13b)]}]};}};Nt=ys([_i(0x0,_0x301a99(_0x424efc)),_i(0x1,_0x301a99(_0x160d38))],Nt);var Ds=Object[_0x409aab(0x1b3)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x1c7e71,_0x579d00,_0x39253b,_0x31b065)=>{var _0x47bb41=_0x409aab;for(var _0xfb8bd9=_0x31b065>0x1?void 0x0:_0x31b065?Ps(_0x579d00,_0x39253b):_0x579d00,_0x380579=_0x1c7e71[_0x47bb41(0xb8)]-0x1,_0x1eb302;_0x380579>=0x0;_0x380579--)(_0x1eb302=_0x1c7e71[_0x380579])&&(_0xfb8bd9=(_0x31b065?_0x1eb302(_0x579d00,_0x39253b,_0xfb8bd9):_0x1eb302(_0xfb8bd9))||_0xfb8bd9);return _0x31b065&&_0xfb8bd9&&Ds(_0x579d00,_0x39253b,_0xfb8bd9),_0xfb8bd9;},Se=(_0x16b3f0,_0x4b2343)=>(_0x4d85dc,_0x54b08a)=>_0x4b2343(_0x4d85dc,_0x54b08a,_0x16b3f0);let at=class extends _0x5432f0{constructor(_0x978d45,_0x49c9cd,_0x22ed77,_0x1dbea1,_0x50a111,_0x33a192,_0x5ec11e){var _0x5228a9=_0x409aab;super(),this['_injector']=_0x978d45,this['_univerInstanceService']=_0x49c9cd,this[_0x5228a9(0xd4)]=_0x22ed77,this[_0x5228a9(0x35d)]=_0x1dbea1,this[_0x5228a9(0x2d8)]=_0x50a111,this[_0x5228a9(0x314)]=_0x33a192,this['_undoRedoService']=_0x5ec11e,this['_initUnitPermissionChange'](),this[_0x5228a9(0x260)]();}[_0x409aab(0x260)](){var _0x3a9b64=_0x409aab;const _0x55c99f=async _0x5706bc=>{var _0x563c5c=_0x5cef;(await this[_0x563c5c(0x35d)]['requireSession'](_0x5706bc))[_0x563c5c(0x30b)][_0x563c5c(0x1a8)](_0x12594c(_0x1b8a92=>_0x1b8a92[_0x563c5c(0xe0)]===_0x4dbda1[_0x563c5c(0x28c)]),_0x25b559(this[_0x563c5c(0x2f0)]))['subscribe'](_0x332379=>{var _0x2945a5=_0x563c5c;const _0x41fa77=_0x332379,{reason:_0x47de89}=_0x41fa77[_0x2945a5(0x2bd)];this[_0x2945a5(0x2d8)][_0x2945a5(0x207)]({'id':se[_0x2945a5(0x158)],'data':_0x47de89}),this[_0x2945a5(0xd4)]['updatePermissionPoint'](new _0x4e3789(_0x5706bc)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5706bc);});};_0xd1cd7d(this[_0x3a9b64(0x18f)][_0x3a9b64(0x2c4)](_0x1105ca[_0x3a9b64(0x8e)]),this[_0x3a9b64(0x18f)][_0x3a9b64(0x2c4)](_0x1105ca['UNIVER_DOC']))[_0x3a9b64(0x1a8)](_0x1033eb(_0x3f2d22=>_0x3f2d22['getUnitId']()),_0x12594c(_0x44f2fa=>!_0x3ae67a(_0x44f2fa)),_0x25b559(this[_0x3a9b64(0x2f0)]))[_0x3a9b64(0x136)](_0x4654e8=>{_0x55c99f(_0x4654e8);});}[_0x409aab(0xfe)](){var _0x536663=_0x409aab;const _0x6445c3=async _0x5d3b98=>{var _0x1bd6ff=_0x5cef;const _0x51163b=await this['_collaborationSessionService'][_0x1bd6ff(0x117)](_0x5d3b98),_0x240c41=this[_0x1bd6ff(0x8c)]['get'](_0x377187);_0x51163b[_0x1bd6ff(0x30b)]['pipe'](_0x12594c(_0x35be6c=>_0x35be6c['eventID']===_0x4dbda1[_0x1bd6ff(0x97)]),_0x25b559(this[_0x1bd6ff(0x2f0)]))[_0x1bd6ff(0x136)](_0x45e26a=>{var _0x4192ac=_0x1bd6ff;const _0x4bdad0=_0x45e26a,{objectId:_0x136597}=_0x4bdad0[_0x4192ac(0x2bd)];_0x136597===_0x5d3b98?_0x240c41['initWorkbookPermissionChange'](_0x5d3b98):_0x240c41[_0x4192ac(0x367)](_0x5d3b98,_0x136597);});};_0xd1cd7d(this[_0x536663(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x536663(0x8e)]),this[_0x536663(0x18f)]['getTypeOfUnitAdded$'](_0x1105ca[_0x536663(0x20f)]))[_0x536663(0x1a8)](_0x1033eb(_0x44379b=>_0x44379b[_0x536663(0x1e8)]()),_0x12594c(_0x247431=>!_0x3ae67a(_0x247431)),_0x25b559(this[_0x536663(0x2f0)]))[_0x536663(0x136)](_0x1eecf2=>{_0x6445c3(_0x1eecf2);});}};at=ws([Se(0x0,_0x301a99(_0x2b67f5)),Se(0x1,_0x5b9095),Se(0x2,_0x53aaa3),Se(0x3,_0x301a99(Le)),Se(0x4,_0x301a99(pe)),Se(0x5,_0x66d78d),Se(0x6,_0x347dd8)],at);var Us=Object[_0x409aab(0x1b3)],As=Object['getOwnPropertyDescriptor'],xs=(_0x10f639,_0x3a639c,_0x41e14a,_0x6c7785)=>{var _0x2aab45=_0x409aab;for(var _0x39c263=_0x6c7785>0x1?void 0x0:_0x6c7785?As(_0x3a639c,_0x41e14a):_0x3a639c,_0x2663f8=_0x10f639[_0x2aab45(0xb8)]-0x1,_0x11b174;_0x2663f8>=0x0;_0x2663f8--)(_0x11b174=_0x10f639[_0x2663f8])&&(_0x39c263=(_0x6c7785?_0x11b174(_0x3a639c,_0x41e14a,_0x39c263):_0x11b174(_0x39c263))||_0x39c263);return _0x6c7785&&_0x39c263&&Us(_0x3a639c,_0x41e14a,_0x39c263),_0x39c263;},li=(_0x19733c,_0x47b369)=>(_0x3cd859,_0x2d8130)=>_0x47b369(_0x3cd859,_0x2d8130,_0x19733c);let Dt=class{constructor(_0x396e73,_0x2e68de){var _0x50954e=_0x409aab;this[_0x50954e(0xd2)]=_0x396e73,this[_0x50954e(0x327)]=_0x2e68de;}async['getUnitOnRev'](_0xdcd474,_0x51c303){var _0x5f31a8=_0x409aab,_0x10145a;const {unitID:_0x5964fc,type:_0x347fdf,revision:_0x3d0dd7=0x0}=_0x51c303,_0x8faf57=this[_0x5f31a8(0xb0)]()+'/'+_0x347fdf+_0x5f31a8(0x273)+_0x5964fc+_0x5f31a8(0x2a1)+_0x3d0dd7,_0x289231=(await this['_httpService'][_0x5f31a8(0x24c)](_0x8faf57))[_0x5f31a8(0x204)],_0x192551=(_0x10145a=_0x289231['snapshot'])==null?void 0x0:_0x10145a[_0x5f31a8(0x1af)];if(_0x192551){const _0x4106e2=_0x192551==null?void 0x0:_0x192551[_0x5f31a8(0x10e)],_0x5f5588=_0x164eab[_0x5f31a8(0x2de)](_0x2f7481(_0x4106e2));_0x192551[_0x5f31a8(0x10e)]=_0x5f5588,Object[_0x5f31a8(0x254)](_0x192551['sheets'])[_0x5f31a8(0x1df)](([,_0x392669])=>{var _0x4af7e9=_0x5f31a8;const _0x3b46f5=_0x392669[_0x4af7e9(0x10e)],_0x314cd2=_0x164eab['encode'](_0x2f7481(_0x3b46f5));_0x392669[_0x4af7e9(0x10e)]=_0x314cd2;});}return _0x289231;}async[_0x409aab(0xe9)](_0x1b7cbd,_0x4b1d3c){var _0x14ea1b=_0x409aab;const {unitID:_0x578a4d,type:_0xe37556,blockID:_0x44f969}=_0x4b1d3c,_0x1064b5=this[_0x14ea1b(0x15f)]()+'/'+_0xe37556+_0x14ea1b(0x273)+_0x578a4d+'/block/'+_0x44f969;return(await this['_httpService']['get'](_0x1064b5))[_0x14ea1b(0x204)];}async['getDeserializedSheetBlock'](_0x4b4479,_0x4de861){var _0x298f32=_0x409aab;const {unitID:_0xc6eead,type:_0xd2105f,blockID:_0x2b3657}=_0x4de861,_0x30a1bf=this[_0x298f32(0x15f)]()+_0x298f32(0x1b0)+_0xd2105f+'/unit/'+_0xc6eead+_0x298f32(0x1b0)+_0x2b3657;return(await this[_0x298f32(0x327)]['get'](_0x30a1bf))['body'];}async[_0x409aab(0x1e0)](_0x3c55ed,_0x4d9efd){var _0x53f880=_0x409aab;const {unitID:_0x506465,type:_0xab8395,from:_0x1eab9d,to:_0x162b38}=_0x4d9efd,_0x50fb16=this[_0x53f880(0x15f)]()+'/'+_0xab8395+'/unit/'+_0x506465+_0x53f880(0xbe)+_0x1eab9d+'&to='+_0x162b38;return(await this['_httpService'][_0x53f880(0x24c)](_0x50fb16))['body'];}[_0x409aab(0xb0)](){var _0x52f38e=_0x409aab,_0x206b17;return(_0x206b17=this['_configService']['getConfig'](Tn))!=null?_0x206b17:this[_0x52f38e(0x15f)]();}['_getAPIPrefix'](){var _0x20cceb=_0x409aab,_0x3ba5aa,_0x51f20d;const _0x28c147=this['_configService'][_0x20cceb(0x294)](En),_0x33eba4=this['_configService'][_0x20cceb(0x294)](q);return(_0x51f20d=(_0x3ba5aa=_0x33eba4==null?void 0x0:_0x33eba4[_0x20cceb(0x2d5)])!=null?_0x3ba5aa:_0x28c147)!=null?_0x51f20d:In;}async['getResourcesRequest'](_0x28891f,_0x2c36e1){var _0x288166=_0x409aab;const _0xe64fef='/universer-api/snapshot/'+_0x2c36e1[_0x288166(0x255)]+'/unit/'+_0x2c36e1['unitID']+_0x288166(0x2a8);return(await this['_httpService']['get'](_0xe64fef,{'params':{'resourceId':JSON[_0x288166(0xfc)](_0x2c36e1['resourceIDs'])}}))[_0x288166(0x204)];}[_0x409aab(0x169)](){var _0x12f6f0=_0x409aab;throw new Error(_0x12f6f0(0xa6));}[_0x409aab(0xa7)](){var _0x325955=_0x409aab;throw new Error(_0x325955(0xa6));}[_0x409aab(0xed)](){var _0x22163f=_0x409aab;throw new Error(_0x22163f(0xa6));}[_0x409aab(0x20b)](){var _0x43a70a=_0x409aab;throw new Error(_0x43a70a(0xa6));}['getLatestCsReqIdBySid'](){var _0xe45a91=_0x409aab;throw new Error(_0xe45a91(0xa6));}};Dt=xs([li(0x0,_0x424efc),li(0x1,_0x301a99(_0x160d38))],Dt);var Ls=Object[_0x409aab(0x1b3)],Ms=Object[_0x409aab(0x308)],$s=(_0x248b7f,_0x451863,_0x5e9448,_0x1cd29a)=>{for(var _0x56cea1=_0x1cd29a>0x1?void 0x0:_0x1cd29a?Ms(_0x451863,_0x5e9448):_0x451863,_0x4102eb=_0x248b7f['length']-0x1,_0x464ca1;_0x4102eb>=0x0;_0x4102eb--)(_0x464ca1=_0x248b7f[_0x4102eb])&&(_0x56cea1=(_0x1cd29a?_0x464ca1(_0x451863,_0x5e9448,_0x56cea1):_0x464ca1(_0x56cea1))||_0x56cea1);return _0x1cd29a&&_0x56cea1&&Ls(_0x451863,_0x5e9448,_0x56cea1),_0x56cea1;},Ae=(_0x2d97d4,_0x26300a)=>(_0xd0ea36,_0xfd6849)=>_0x26300a(_0xd0ea36,_0xfd6849,_0x2d97d4);let Pt=class extends _0xd72f3{constructor(_0x4fd423,_0x664978,_0x4e8b86,_0x6ffd7e,_0x35ac00){var _0x411b1d=_0x409aab;super(_0x4fd423,_0x664978,_0x4e8b86),this[_0x411b1d(0x213)]=_0x6ffd7e,this[_0x411b1d(0x21d)]=_0x35ac00;}[_0x409aab(0x160)](_0x35b051,_0x3da17d){var _0x4c1f7c=_0x409aab;const _0xfc2ce1=this[_0x4c1f7c(0x156)](_0x35b051);if(_0xfc2ce1)try{const _0x887e13=this['_transformStack'](_0xfc2ce1,_0x3da17d);this[_0x4c1f7c(0x148)](_0x35b051,_0x887e13);}catch(_0x23b096){this[_0x4c1f7c(0x21d)][_0x4c1f7c(0x36f)]('[CollaborationUndoRedoService]',_0x23b096),this[_0x4c1f7c(0x109)](_0x35b051);}const _0x3ecac1=this['_getRedoStack'](_0x35b051);if(_0x3ecac1)try{const _0x1e9b8d=this[_0x4c1f7c(0x181)](_0x3ecac1,_0x3da17d);this[_0x4c1f7c(0x36d)](_0x35b051,_0x1e9b8d);}catch(_0xb46a5a){this[_0x4c1f7c(0x21d)][_0x4c1f7c(0x36f)](_0xb46a5a),this['_clearRedo'](_0x35b051);}}[_0x409aab(0x109)](_0x27f2a4){var _0x44bb98=_0x409aab;const _0x3039f3=this[_0x44bb98(0x156)](_0x27f2a4);_0x3039f3&&(_0x3039f3[_0x44bb98(0xb8)]=0x0,this['_updateStatus']());}[_0x409aab(0x12f)](_0x3d1443){var _0x23b4a5=_0x409aab;const _0x364bb0=this[_0x23b4a5(0x2e4)](_0x3d1443);_0x364bb0&&(_0x364bb0[_0x23b4a5(0xb8)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2ad7a5,_0x4f97a3){var _0xb8c2e1=_0x409aab;this[_0xb8c2e1(0x11f)][_0xb8c2e1(0x2a2)](_0x2ad7a5,_0x4f97a3),this[_0xb8c2e1(0x2ee)]();}[_0x409aab(0x36d)](_0x2731b0,_0x3a07c1){var _0x47d4f0=_0x409aab;this[_0x47d4f0(0xf4)][_0x47d4f0(0x2a2)](_0x2731b0,_0x3a07c1),this[_0x47d4f0(0x2ee)]();}['_transformStack'](_0x554c04,_0x2b64aa){var _0x1a3af4=_0x409aab;const _0x2ff651=[];let _0x5e7083=_0x2b64aa,_0x216e75=_0x2b64aa;for(let _0x357299=_0x554c04[_0x1a3af4(0xb8)]-0x1;_0x357299>=0x0;_0x357299--){const {unitID:_0x12d5b9,undoMutations:_0x5279a8,redoMutations:_0x3593f8}=_0x554c04[_0x357299],_0xe73f8d=this[_0x1a3af4(0x213)]['transformMutationsWithChangeset'](_0x5e7083,_0x5279a8),_0x17c9d3=this[_0x1a3af4(0x213)][_0x1a3af4(0x16a)](_0x216e75,_0x3593f8);if(_0x38d193(_0xe73f8d)||_0x38d193(_0x17c9d3)){this[_0x1a3af4(0x21d)]['error']('[CollaborationUndoRedoService]',_0x1a3af4(0x18d),_0xe73f8d,_0x17c9d3);break;}_0x5e7083=_0xe73f8d[_0x1a3af4(0x144)],_0x216e75=_0x17c9d3[_0x1a3af4(0x144)],_0x2ff651[_0x1a3af4(0x8f)]({'unitID':_0x12d5b9,'undoMutations':_0xe73f8d['m2Prime'],'redoMutations':_0x17c9d3[_0x1a3af4(0x371)]});}return _0x2ff651[_0x1a3af4(0xe7)]();}};Pt=$s([Ae(0x0,_0x5b9095),Ae(0x1,_0x38398c),Ae(0x2,_0x529d62),Ae(0x3,_0x21beed),Ae(0x4,_0x51fdc8)],Pt);var xi=Object[_0x409aab(0x1b3)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x52e54f,_0xc814a0,_0x5e2565)=>_0xc814a0 in _0x52e54f?xi(_0x52e54f,_0xc814a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e2565}):_0x52e54f[_0xc814a0]=_0x5e2565,js=(_0x3b224f,_0x49d422,_0x4fd25e,_0xb1613)=>{var _0x1258c7=_0x409aab;for(var _0x2c78f6=_0xb1613>0x1?void 0x0:_0xb1613?Hs(_0x49d422,_0x4fd25e):_0x49d422,_0x3c612b=_0x3b224f[_0x1258c7(0xb8)]-0x1,_0x4e60b7;_0x3c612b>=0x0;_0x3c612b--)(_0x4e60b7=_0x3b224f[_0x3c612b])&&(_0x2c78f6=(_0xb1613?_0x4e60b7(_0x49d422,_0x4fd25e,_0x2c78f6):_0x4e60b7(_0x2c78f6))||_0x2c78f6);return _0xb1613&&_0x2c78f6&&xi(_0x49d422,_0x4fd25e,_0x2c78f6),_0x2c78f6;},St=(_0x322dfe,_0x3ab3ae)=>(_0x330d3d,_0x3d9a1b)=>_0x3ab3ae(_0x330d3d,_0x3d9a1b,_0x322dfe),Bs=(_0x28ede1,_0x5599bc,_0x1d9d89)=>ks(_0x28ede1,_0x5599bc+'',_0x1d9d89);const Fs=_0x409aab(0x2e0);let wt=class extends _0x54061f{constructor(_0x71ab32=Wt,_0x47cd98,_0x173777,_0x79ee61){var _0x3be9d7=_0x409aab;super(),this[_0x3be9d7(0x333)]=_0x71ab32,this[_0x3be9d7(0x21d)]=_0x47cd98,this['_injector']=_0x173777,this[_0x3be9d7(0xd2)]=_0x79ee61;const {..._0x110123}=_0x2d3938({},Wt,this[_0x3be9d7(0x333)]);this[_0x3be9d7(0xd2)][_0x3be9d7(0x2ab)](q,_0x110123);}[_0x409aab(0x180)](){var _0x1bb166=_0x409aab;this[_0x1bb166(0x370)](),this['_initDependencies']();}[_0x409aab(0x370)](){var _0x4c8cbb=_0x409aab,_0x39dfd6,_0x1ac854,_0x4cee38,_0x108832;this['_injector'][_0x4c8cbb(0x214)](_0x347dd8)&&this[_0x4c8cbb(0x21d)]['error']('[UniverCollaborationClientPlugin]',_0x4c8cbb(0xea));const _0x4b97ba=_0x2f074d([[_0x347dd8,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x1ac854=(_0x39dfd6=this[_0x4c8cbb(0x333)])==null?void 0x0:_0x39dfd6[_0x4c8cbb(0x9e)])!=null?_0x1ac854:Et}],[_0x56b9d4,{'useClass':Dt}],[_0x66d78d,{'useClass':bt}],[_0x261313,{'useClass':yt}],[_0xc08431,{'useClass':Nt}],[rt],[Rt]],(_0x4cee38=this[_0x4c8cbb(0x333)])==null?void 0x0:_0x4cee38[_0x4c8cbb(0x121)]);if(!((_0x108832=this['_config'])!=null&&_0x108832[_0x4c8cbb(0x115)])){const _0x49f97e=_0x4b97ba[_0x4c8cbb(0x2b7)](([_0x153479])=>_0x153479===ht);_0x49f97e!==-0x1&&_0x4b97ba[_0x4c8cbb(0x132)](_0x49f97e,0x1);}_0x32949a(this[_0x4c8cbb(0x8c)],_0x4b97ba);}['_initDependencies'](){var _0x26f096=_0x409aab,_0x33498d,_0x5eef03,_0x18e55f;this['_injector'][_0x26f096(0x24c)](_0x160d38)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3cd65e({'maxParallel':0x6})}),(_0x33498d=this[_0x26f096(0x333)])!=null&&_0x33498d[_0x26f096(0xbf)]||(_0x5eef03=this[_0x26f096(0x8c)][_0x26f096(0x24c)](J,_0x35bf48[_0x26f096(0x23c)]))==null||_0x5eef03[_0x26f096(0x287)](),(_0x18e55f=this['_config'])!=null&&_0x18e55f['enableAuthServer']&&_0x235076(this[_0x26f096(0x8c)],[[st]]),_0x235076(this[_0x26f096(0x8c)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x23c9bf(_0x259d1f,_0x2152ff,_0x3a4980),St(0x1,_0x51fdc8),St(0x2,_0x301a99(_0x2b67f5)),St(0x3,_0x424efc)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|