@univerjs-pro/collaboration-client 0.6.0-alpha.0 → 0.6.0-experimental.20250212-dbe9830
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 +14 -14
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3fc0d2=_0x3335;(function(_0x15b1e9,_0x12b61b){var _0x50c7c9=_0x3335,_0x3aa6b9=_0x15b1e9();while(!![]){try{var _0x56943c=parseInt(_0x50c7c9(0x316))/0x1+-parseInt(_0x50c7c9(0x152))/0x2+parseInt(_0x50c7c9(0x3ed))/0x3*(-parseInt(_0x50c7c9(0x197))/0x4)+parseInt(_0x50c7c9(0x19f))/0x5+-parseInt(_0x50c7c9(0x26e))/0x6+parseInt(_0x50c7c9(0x3ad))/0x7+-parseInt(_0x50c7c9(0x2c4))/0x8*(-parseInt(_0x50c7c9(0x3b8))/0x9);if(_0x56943c===_0x12b61b)break;else _0x3aa6b9['push'](_0x3aa6b9['shift']());}catch(_0xc17536){_0x3aa6b9['push'](_0x3aa6b9['shift']());}}}(_0x3d56,0x2c8d6));var Li=Object[_0x3fc0d2(0x272)],Mi=(_0x4cebe7,_0x2a32b1,_0x4682a9)=>_0x2a32b1 in _0x4cebe7?Li(_0x4cebe7,_0x2a32b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4682a9}):_0x4cebe7[_0x2a32b1]=_0x4682a9,N=(_0x2388f6,_0x139d9c,_0x79d513)=>Mi(_0x2388f6,typeof _0x139d9c!='symbol'?_0x139d9c+'':_0x139d9c,_0x79d513);import{createIdentifier as _0xa76c5b,Inject as _0x4a0d65,Injector as _0x3e5f47,Disposable as _0x1b3b68,DisposableCollection as _0x3b3f04,toDisposable as _0x5af85c,IConfigService as _0x10186,ILogService as _0x5c7efb,UserManagerService as _0x4b012e,UniverInstanceType as _0x56b6a1,IUniverInstanceService as _0x2e5298,LocaleService as _0x5d25bf,Optional as _0x469180,RxDisposable as _0x2ac02b,Tools as _0x3f72fc,Rectangle as _0xce2ba7,ICommandService as _0x478928,JSONX as _0x32e67d,CommandType as _0x439428,IPermissionService as _0x8735be,IUndoRedoService as _0x3a051e,sequenceExecute as _0x25b24d,Workbook as _0x18a076,MentionType as _0x1fc710,IAuthzIoService as _0x3f2e29,isInternalEditorID as _0xe5a37f,LocalUndoRedoService as _0x183421,IContextService as _0x302f51,DependentOn as _0x13352f,Plugin as _0x18aed0,merge as _0x3cb396,mergeOverrideWithDependencies as _0x4b73c5,IMentionIOService as _0x1514c0,registerDependencies as _0x15c41e,Quantity as _0x3c737a,touchDependencies as _0x105bc9}from'@univerjs/core';import{Subject as _0x6e5a01,merge as _0x5a2e3b,of as _0x48236b,BehaviorSubject as _0x257515,takeUntil as _0x4c8071,ReplaySubject as _0x2c102a,take as _0x5e2b45,map as _0x264ca7,shareReplay as _0x3c2e07,firstValueFrom as _0x4c8811,concatMap as _0x386ba3}from'rxjs';import{map as _0x1c1a45,take as _0x47cd1c,filter as _0x59d3b8,delay as _0xadc1ce,takeUntil as _0x28efe9}from'rxjs/operators';import{HTTPService as _0x242e5e,ISocketService as _0xa878a7,MergeInterceptorFactory as _0x473dc8,HTTPRequest as _0x147814,UniverNetworkPlugin as _0x4e6422,ThresholdInterceptorFactory as _0x4e4e5c}from'@univerjs/network';import{CollaborationEvent as _0x5e0126,parseChangesetToProtocol as _0x265390,ISnapshotServerService as _0x5e56ee,isTransformMutationsWithChangesetSuccess as _0x4911e8,ITransformService as _0x44918b,mapDocumentTypeToUniverType as _0x559457,RevisionService as _0x306d90,isTransformChangesetsSuccess as _0x156ed7,CompressMutationService as _0xcd8f34,parseProtocolChangeset as _0x3b69de,SnapshotService as _0x4ae372,textEncoder as _0x35f0c4,b64DecodeUnicode as _0x50f9c6,isTransformMutationsWithChangesetFailure as _0x170ef7,UniverCollaborationPlugin as _0x52de3d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x33d4a5}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2b8d0b}from'@univerjs/docs';import{SheetsSelectionsService as _0x4ee23c,SetSelectionsOperation as _0xbebf4c,InsertSheetMutation as _0x10e451,EmptyMutation as _0x312b5b,WorkbookEditablePermission as _0x54a994,SheetPermissionInitController as _0x5dab13,UniverSheetsPlugin as _0x14e1d4}from'@univerjs/sheets';import{ImageSourceType as _0x10409a,ImageUploadStatusType as _0x20e925,IImageIoService as _0x4aad99}from'@univerjs/drawing';import{getGlobalObject as _0x1c7d86}from'@univerjs-pro/license';const En=_0x3fc0d2(0x2c8),In=_0x3fc0d2(0x3bc),Tn=_0x3fc0d2(0x32c),eo=_0x3fc0d2(0x3b6),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x3fc0d2(0x2a7),On=_0x3fc0d2(0x265),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x3fc0d2(0x2f3),Ei=0x4e20,Dn=0x4e20,Pn=_0x3fc0d2(0x1a5),wn=0x3,to=_0x3fc0d2(0x233),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x3fc0d2(0x3b2),xn=_0x3fc0d2(0x12d),Ln=_0x3fc0d2(0x3a1),no=_0x3fc0d2(0x1b8),ro=_0x3fc0d2(0x2c7);var Ii=(_0x38fc33=>(_0x38fc33[_0x38fc33[_0x3fc0d2(0x20a)]=0x0]='UNDEFINED',_0x38fc33[_0x38fc33['OK']=0x1]='OK',_0x38fc33[_0x38fc33[_0x3fc0d2(0x37e)]=0x2]=_0x3fc0d2(0x37e),_0x38fc33[_0x38fc33[_0x3fc0d2(0x19c)]=0x3]=_0x3fc0d2(0x19c),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3da)]=0x4]=_0x3fc0d2(0x3da),_0x38fc33[_0x38fc33[_0x3fc0d2(0x383)]=0x5]='UNAUTHENTICATED',_0x38fc33[_0x38fc33['ALREADY_EXISTS']=0x6]=_0x3fc0d2(0x223),_0x38fc33[_0x38fc33['INVALID_ARGUMENT']=0x7]=_0x3fc0d2(0x162),_0x38fc33[_0x38fc33[_0x3fc0d2(0x242)]=0x8]=_0x3fc0d2(0x242),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3d6)]=0x9]=_0x3fc0d2(0x3d6),_0x38fc33[_0x38fc33['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x38fc33[_0x38fc33['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x38fc33[_0x38fc33['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x38fc33[_0x38fc33[_0x3fc0d2(0x2cd)]=0x1773]=_0x3fc0d2(0x2cd),_0x38fc33[_0x38fc33['APPLY_REJECT']=0x1b59]=_0x3fc0d2(0x29b),_0x38fc33[_0x38fc33[_0x3fc0d2(0x238)]=0x1b5a]=_0x3fc0d2(0x238),_0x38fc33[_0x38fc33[_0x3fc0d2(0x133)]=0x1b5b]=_0x3fc0d2(0x133),_0x38fc33[_0x38fc33[_0x3fc0d2(0x2ca)]=0x1b5c]=_0x3fc0d2(0x2ca),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3d1)]=0x1b5d]=_0x3fc0d2(0x3d1),_0x38fc33[_0x38fc33['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3fc0d2(0x10e),_0x38fc33[_0x38fc33[_0x3fc0d2(0x10c)]=0x2329]=_0x3fc0d2(0x10c),_0x38fc33[_0x38fc33['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3fc0d2(0x1dc),_0x38fc33[_0x38fc33[_0x3fc0d2(0x18b)]=0x232b]=_0x3fc0d2(0x18b),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3fc)]=0x232c]=_0x3fc0d2(0x3fc),_0x38fc33[_0x38fc33[_0x3fc0d2(0x11d)]=0x232d]=_0x3fc0d2(0x11d),_0x38fc33[_0x38fc33[_0x3fc0d2(0x34f)]=0x2711]=_0x3fc0d2(0x34f),_0x38fc33[_0x38fc33[_0x3fc0d2(0x128)]=0x2712]=_0x3fc0d2(0x128),_0x38fc33[_0x38fc33['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3fc0d2(0x295),_0x38fc33[_0x38fc33['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3fc0d2(0x299),_0x38fc33[_0x38fc33[_0x3fc0d2(0x171)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x38fc33[_0x38fc33[_0x3fc0d2(0x16c)]=-0x1]=_0x3fc0d2(0x16c),_0x38fc33))(Ii||{}),Q=(_0x596aef=>(_0x596aef[_0x596aef['UNIVER_UNKNOWN']=0x0]=_0x3fc0d2(0x2a1),_0x596aef[_0x596aef['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x596aef[_0x596aef[_0x3fc0d2(0x252)]=0x2]=_0x3fc0d2(0x252),_0x596aef[_0x596aef['UNIVER_SLIDE']=0x3]=_0x3fc0d2(0x169),_0x596aef[_0x596aef[_0x3fc0d2(0x263)]=0x4]='UNIVER_PROJECT',_0x596aef[_0x596aef[_0x3fc0d2(0x16c)]=-0x1]=_0x3fc0d2(0x16c),_0x596aef))(Q||{}),F=(_0x241bab=>(_0x241bab[_0x241bab[_0x3fc0d2(0x163)]=0x0]=_0x3fc0d2(0x163),_0x241bab[_0x241bab[_0x3fc0d2(0x1a8)]=0x1]=_0x3fc0d2(0x1a8),_0x241bab[_0x241bab[_0x3fc0d2(0x1bf)]=0x2]='JOIN',_0x241bab[_0x241bab[_0x3fc0d2(0x12b)]=0x3]='LEAVE',_0x241bab[_0x241bab[_0x3fc0d2(0x30f)]=0x4]='INGEST',_0x241bab[_0x241bab[_0x3fc0d2(0x375)]=0x5]=_0x3fc0d2(0x375),_0x241bab[_0x241bab['RECV']=0x6]='RECV',_0x241bab[_0x241bab[_0x3fc0d2(0x16c)]=-0x1]='UNRECOGNIZED',_0x241bab))(F||{}),Ee=(_0x2fec0b=>(_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x21c)]=0x0]=_0x3fc0d2(0x21c),_0x2fec0b[_0x2fec0b['OK']=0x1]='OK',_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x1ab)]=0x2]=_0x3fc0d2(0x1ab),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x287)]=0x3e9]=_0x3fc0d2(0x287),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x2b8)]=0x3ea]=_0x3fc0d2(0x2b8),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x401)]=0x3eb]=_0x3fc0d2(0x401),_0x2fec0b[_0x2fec0b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3fc0d2(0x1c8),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x16c)]=-0x1]='UNRECOGNIZED',_0x2fec0b))(Ee||{}),Ti=(_0x233b63=>(_0x233b63[_0x233b63[_0x3fc0d2(0x2d7)]=0x0]=_0x3fc0d2(0x2d7),_0x233b63[_0x233b63[_0x3fc0d2(0x3a2)]=0x1]=_0x3fc0d2(0x3a2),_0x233b63[_0x233b63[_0x3fc0d2(0x33f)]=0x2]=_0x3fc0d2(0x33f),_0x233b63[_0x233b63[_0x3fc0d2(0x2b4)]=0x3]='UnitEmbedded',_0x233b63[_0x233b63[_0x3fc0d2(0x173)]=0x4]=_0x3fc0d2(0x173),_0x233b63[_0x233b63['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x233b63))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x3f3ec6=>(_0x3f3ec6[_0x3fc0d2(0x404)]=_0x3fc0d2(0x404),_0x3f3ec6[_0x3fc0d2(0x19c)]=_0x3fc0d2(0x19c),_0x3f3ec6[_0x3fc0d2(0x1b4)]=_0x3fc0d2(0x1b4),_0x3f3ec6['CLOSE_ROOM']=_0x3fc0d2(0x1e0),_0x3f3ec6[_0x3fc0d2(0x11b)]='JOIN_ROOM_FAILED',_0x3f3ec6['SOCKET_FAILED_RETRY']=_0x3fc0d2(0x184),_0x3f3ec6[_0x3fc0d2(0x3bd)]=_0x3fc0d2(0x3bd),_0x3f3ec6[_0x3fc0d2(0x28d)]='SUBMIT_CHANGESET_TIMEOUT',_0x3f3ec6))(se||{});class pe{constructor(){var _0x1ece05=_0x3fc0d2;N(this,'_event$',new _0x6e5a01()),N(this,_0x1ece05(0x2c1),this['_event$'][_0x1ece05(0x357)]());}['emitEvent'](_0x16b2b6){var _0x500776=_0x3fc0d2;this[_0x500776(0x1c2)]['next'](_0x16b2b6);}}const Mn=_0xa76c5b(_0x3fc0d2(0x222));function $n(_0x2dfe9f){var _0x4310e6=_0x3fc0d2,_0x540f93,_0x58a946,_0x56dc8d,_0x10fa3a,_0x3c0785;const _0x1f8ccd=_0x2dfe9f[_0x4310e6(0x144)],_0x5b4eee=JSON['parse'](_0x1f8ccd);switch(_0x5b4eee['cmd']){case F[_0x4310e6(0x375)]:case F[_0x4310e6(0x1a8)]:{const _0x2d852b=_0x5b4eee[_0x4310e6(0x247)];return{..._0x5b4eee,'data':_0x2d852b,'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};}case F[_0x4310e6(0x1bf)]:{const _0x5e09a5=_0x5b4eee[_0x4310e6(0x1f6)];return{..._0x5b4eee,'data':_0x5e09a5,'cmd':_0x5b4eee['cmd']};}case F[_0x4310e6(0x3f9)]:{const _0x35b842=_0x5b4eee[_0x4310e6(0x3cc)];switch(_0x35b842[_0x4310e6(0x1b0)]){case _0x5e0126['PERMISSION_REJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x540f93=_0x35b842[_0x4310e6(0x333)])==null?void 0x0:_0x540f93['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x376)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x58a946=_0x35b842[_0x4310e6(0x3c3)])==null?void 0x0:_0x58a946['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x3c4)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x56dc8d=_0x35b842[_0x4310e6(0x1c5)])==null?void 0x0:_0x56dc8d['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['CHANGESET_REJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x10fa3a=_0x35b842[_0x4310e6(0x218)])==null?void 0x0:_0x10fa3a['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['CHANGESET_SHOULD_RETRY']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x3c0785=_0x35b842[_0x4310e6(0x13c)])==null?void 0x0:_0x3c0785['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x151)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x1cf)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x279)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842['joinEvent']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x36d)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x338)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x2c3)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x320)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x361)]:case _0x5e0126['LIVESHARE_OPERATION']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x117)]},'cmd':_0x5b4eee['cmd']};case _0x5e0126[_0x4310e6(0x239)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x320)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x16d)]:return{..._0x5b4eee,'data':_0x35b842,'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x3f4)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x195)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['UPDATE_PERMISSION_OBJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x38c)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['SHOULD_CLOSE_CONN']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x3f1)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['UNISCRIPT_RUN']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842['uniscriptRunEvent']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};default:return _0x5b4eee;}}default:return _0x5b4eee;}}function Hn(_0x165b9e){var _0x3fca80=_0x3fc0d2;switch(_0x165b9e[_0x3fca80(0x1e3)]){case F[_0x3fca80(0x375)]:case F[_0x3fca80(0x1a8)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)]});case F[_0x3fca80(0x30f)]:{let _0x50d178;switch(_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x1b0)]){case _0x5e0126[_0x3fca80(0x151)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x151)],'updateCursorEvent':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126['USERS_LEAVE']:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x36d)],'leaveEvent':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x279)]:{_0x50d178={'eventID':_0x5e0126['USERS_ENTER'],'joinEvent':_0x165b9e['data'][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x2c3)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x2c3)],'liveShareNewHost':_0x165b9e['data'][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x19a)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x19a)],'liveShareOperation':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x239)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x239)],'liveShareTerminate':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x35f)]:{_0x50d178={'eventID':_0x5e0126['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x361)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x361)]};break;}default:_0x50d178={'eventID':_0x165b9e[_0x3fca80(0x144)]['eventID']};}return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)],'collaMsg':_0x50d178});}case F[_0x3fca80(0x1bf)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e['cmd'],'routeKey':_0x165b9e[_0x3fca80(0x185)],'joinReq':_0x165b9e[_0x3fca80(0x144)]});case F[_0x3fca80(0x12b)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)],'leaveReq':_0x165b9e['data']});default:throw new Error(_0x3fca80(0x2e7));}}var kn=Object['defineProperty'],jn=Object[_0x3fc0d2(0x314)],Bn=(_0xf0bc22,_0x508144,_0xb0650,_0x26ba3a)=>{var _0xee7350=_0x3fc0d2;for(var _0x183690=_0x26ba3a>0x1?void 0x0:_0x26ba3a?jn(_0x508144,_0xb0650):_0x508144,_0x443506=_0xf0bc22[_0xee7350(0x2ee)]-0x1,_0x558a63;_0x443506>=0x0;_0x443506--)(_0x558a63=_0xf0bc22[_0x443506])&&(_0x183690=(_0x26ba3a?_0x558a63(_0x508144,_0xb0650,_0x183690):_0x558a63(_0x183690))||_0x183690);return _0x26ba3a&&_0x183690&&kn(_0x508144,_0xb0650,_0x183690),_0x183690;},Ue=(_0x3f74b6,_0x1edb70)=>(_0x42b8ba,_0x872621)=>_0x1edb70(_0x42b8ba,_0x872621,_0x3f74b6);const Ci=_0xa76c5b('univer-pro.collaboration-client-socket-service');function Fn(_0x46eb19,_0x564194,_0x225a44){var _0x3c60a6=_0x3fc0d2;return _0x46eb19+'/'+_0x564194+_0x3c60a6(0x2bb)+_0x225a44+_0x3c60a6(0x214);}let Et=class extends _0x1b3b68{constructor(_0x5177a7,_0x4f6da1,_0x2ff336,_0x20c4c7,_0x10da27){var _0x4b0660=_0x3fc0d2;super(),this[_0x4b0660(0x3eb)]=_0x5177a7,this[_0x4b0660(0x237)]=_0x4f6da1,this[_0x4b0660(0x281)]=_0x2ff336,this[_0x4b0660(0x3dd)]=_0x20c4c7,this['_snapshotServerService']=_0x10da27;}['createSocket'](_0x4fb8bf){var _0x104e50=_0x3fc0d2;const _0x50d6cd=this[_0x104e50(0x3eb)]['get'](_0xa878a7);if(!_0x50d6cd)throw new Error(_0x104e50(0x2af));const _0x24bcc0=_0x50d6cd['createSocket'](_0x4fb8bf);if(!_0x24bcc0)throw new Error(_0x104e50(0x399));const _0x2ab9a3=new _0x3b3f04(),_0x1058e0=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x11c)]['subscribe'](_0x2f6113=>_0x1058e0[_0x104e50(0x400)](_0x2f6113))),_0x2ab9a3['add'](_0x5af85c(()=>_0x1058e0[_0x104e50(0x11a)]()));const _0x1689f8=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x2fa)][_0x104e50(0x206)](_0xdab133=>_0x1689f8['next'](_0xdab133))),_0x2ab9a3[_0x104e50(0x204)](_0x5af85c(()=>_0x1689f8['complete']()));const _0x2ebff8=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x1a2)][_0x104e50(0x206)](_0x124215=>{var _0xaae340=_0x104e50;const _0xd1b86a=$n(_0x124215);_0x2ebff8[_0xaae340(0x400)](_0xd1b86a);})),_0x2ab9a3['add'](_0x5af85c(()=>_0x2ebff8[_0x104e50(0x11a)]()));let _0xe33cc8;const _0x5dfdcb=()=>{var _0x36a4c5=_0x104e50;_0x1689f8[_0x36a4c5(0x400)](new Event(_0x36a4c5(0x17e))),_0x1058e0['next'](new CloseEvent(_0x36a4c5(0x17e))),_0xe33cc8[_0x36a4c5(0x158)]();};return _0xe33cc8={'memberID':'','close$':_0x1058e0[_0x104e50(0x357)](),'error$':_0x1689f8[_0x104e50(0x357)](),'open$':_0x24bcc0[_0x104e50(0x321)],'message$':_0x2ebff8[_0x104e50(0x357)](),'send':_0x12471d=>{var _0x3dfeeb=_0x104e50;if(_0x12471d[_0x3dfeeb(0x1e3)]===F['INGEST']){if(_0x12471d[_0x3dfeeb(0x144)][_0x3dfeeb(0x1b0)]===_0x5e0126['SUBMIT_CHANGESET']){this[_0x3dfeeb(0x1b9)](_0xe33cc8,_0x12471d[_0x3dfeeb(0x144)])[_0x3dfeeb(0x180)](_0x4dcc56=>{var _0x5a08e8=_0x3dfeeb;this[_0x5a08e8(0x3dd)]['error'](_0x4dcc56),_0x5dfdcb();});return;}if(_0x12471d[_0x3dfeeb(0x144)][_0x3dfeeb(0x1b0)]===_0x5e0126[_0x3dfeeb(0x393)]){const _0x4e8c73=_0x12471d[_0x3dfeeb(0x144)];this['_fetchMissChangesets'](_0x4e8c73)[_0x3dfeeb(0x18a)](_0x31afeb=>{var _0x4bfaf8=_0x3dfeeb;_0x2ebff8[_0x4bfaf8(0x400)]({'cmd':F[_0x4bfaf8(0x3f9)],'code':Ee['OK'],'routeKey':_0x4e8c73[_0x4bfaf8(0x144)][_0x4bfaf8(0x134)],'routeType':'','data':{'eventID':_0x5e0126[_0x4bfaf8(0x160)],'data':{'changesets':_0x31afeb}}});})['catch'](_0x22997c=>{var _0x57303c=_0x3dfeeb;this[_0x57303c(0x3dd)][_0x57303c(0x24c)](_0x22997c),_0x5dfdcb();});return;}}_0x24bcc0[_0x3dfeeb(0x306)](Hn(_0x12471d));},'close':()=>{var _0xcb8f38=_0x104e50;_0x24bcc0[_0xcb8f38(0x158)](),_0x2ab9a3[_0xcb8f38(0x232)]();}},_0xe33cc8;}async['_submitChangeset'](_0x345b64,_0x428b05){var _0xcbf392=_0x3fc0d2,_0x250359,_0x14b4bb;const {unitType:_0x40a439,unitID:_0x825fac,changeset:_0x183d41}=_0x428b05[_0xcbf392(0x144)],_0x412d9e={'unitID':_0x825fac,'memberID':_0x345b64[_0xcbf392(0x1aa)],'type':_0x40a439,'changeset':_0x265390(_0x183d41)},_0x278547=this[_0xcbf392(0x281)]['getConfig'](Un),_0x40e50b=this[_0xcbf392(0x281)][_0xcbf392(0x3fe)](q),_0x28eaef=Fn((_0x14b4bb=(_0x250359=_0x40e50b==null?void 0x0:_0x40e50b[_0xcbf392(0x1e9)])!=null?_0x250359:_0x278547)!=null?_0x14b4bb:An,_0x40a439,_0x825fac);try{await this['_http'][_0xcbf392(0x203)](_0x28eaef,{'body':_0x412d9e});}catch(_0xab724a){throw this[_0xcbf392(0x3dd)]['error'](_0xcbf392(0x115),'submit\x20changeset\x20error!'),_0xab724a;}}async[_0x3fc0d2(0x359)](_0x58d91a){var _0x33b48c=_0x3fc0d2;const {unitID:_0x4857e8,from:_0x477221,to:_0x28da0c,unitType:_0x3b5d09}=_0x58d91a['data'];return(await this[_0x33b48c(0x1cb)][_0x33b48c(0x21d)]({'metadata':void 0x0},{'unitID':_0x4857e8,'type':_0x3b5d09,'from':_0x477221,'to':_0x28da0c}))[_0x33b48c(0x2e1)];}};Et=Bn([Ue(0x0,_0x4a0d65(_0x3e5f47)),Ue(0x1,_0x4a0d65(_0x242e5e)),Ue(0x2,_0x10186),Ue(0x3,_0x5c7efb),Ue(0x4,_0x5e56ee)],Et);const Vn=_0x3fc0d2(0x18c);function Gn(_0x52f150){var _0x52205b=_0x3fc0d2;return JSON[_0x52205b(0x277)](_0x52f150)[_0x52205b(0x2ee)];}class Ri{constructor(){var _0x5a2a91=_0x3fc0d2;N(this,'_commentUpdate$',new _0x6e5a01()),N(this,_0x5a2a91(0x18e),this[_0x5a2a91(0x3f6)]['asObservable']());}[_0x3fc0d2(0x268)](_0x3dd838){var _0x5acd23=_0x3fc0d2;this[_0x5acd23(0x3f6)][_0x5acd23(0x400)](_0x3dd838);}}var Wn=Object[_0x3fc0d2(0x272)],Kn=Object[_0x3fc0d2(0x314)],Yn=(_0x320704,_0x5da96d,_0x286d07,_0x5b7e3d)=>{for(var _0x52229d=_0x5b7e3d>0x1?void 0x0:_0x5b7e3d?Kn(_0x5da96d,_0x286d07):_0x5da96d,_0x345334=_0x320704['length']-0x1,_0x32b9cd;_0x345334>=0x0;_0x345334--)(_0x32b9cd=_0x320704[_0x345334])&&(_0x52229d=(_0x5b7e3d?_0x32b9cd(_0x5da96d,_0x286d07,_0x52229d):_0x32b9cd(_0x52229d))||_0x52229d);return _0x5b7e3d&&_0x52229d&&Wn(_0x5da96d,_0x286d07,_0x52229d),_0x52229d;},Kt=(_0x10080d,_0x426f85)=>(_0x558347,_0x13bd8d)=>_0x426f85(_0x558347,_0x13bd8d,_0x10080d);let xe=class extends _0x1b3b68{constructor(_0x48baa8,_0xf97729){var _0x54c738=_0x3fc0d2;super(),N(this,_0x54c738(0x29e),new Map()),N(this,_0x54c738(0x3a0),new _0x6e5a01()),(this[_0x54c738(0x230)]=_0x48baa8,this[_0x54c738(0x10b)]=_0xf97729,this[_0x54c738(0x301)](_0x5a2e3b(this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_SHEET'])['pipe'](_0x1c1a45(_0x1eebac=>_0x1eebac[_0x54c738(0x1da)]())),this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_DOC'])['pipe'](_0x1c1a45(_0x25fc6c=>_0x25fc6c[_0x54c738(0x1da)]())),this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_SLIDE'])[_0x54c738(0x348)](_0x1c1a45(_0x5f09c9=>_0x5f09c9[_0x54c738(0x1da)]())))[_0x54c738(0x206)](_0x577a03=>this[_0x54c738(0x297)](_0x577a03))));}[_0x3fc0d2(0x275)](_0x2e4e53){var _0x3d2ab8=_0x3fc0d2;return this[_0x3d2ab8(0x29e)][_0x3d2ab8(0x2a9)](_0x2e4e53)?_0x48236b(this[_0x3d2ab8(0x29e)][_0x3d2ab8(0x2db)](_0x2e4e53)):this['_roomCreated$'][_0x3d2ab8(0x348)](_0x1c1a45(_0xbff685=>{var _0x1bb6e8=_0x3d2ab8;if(_0xbff685===_0x2e4e53)return this[_0x1bb6e8(0x29e)][_0x1bb6e8(0x2db)](_0xbff685);}));}[_0x3fc0d2(0x1c0)](_0x4d6eb2){var _0x392cc8=_0x3fc0d2;this[_0x392cc8(0x10b)]['setCurrentUser'](_0x4d6eb2);}['getCurrentUser'](){var _0x298b0a=_0x3fc0d2;return this[_0x298b0a(0x10b)][_0x298b0a(0x353)]();}[_0x3fc0d2(0x35e)](_0x1959a7,_0x330a6d){var _0x47a53c=_0x3fc0d2;let _0x4974a2=this[_0x47a53c(0x29e)][_0x47a53c(0x2db)](_0x1959a7);_0x4974a2||(_0x4974a2=new qn(),this[_0x47a53c(0x29e)]['set'](_0x1959a7,_0x4974a2),this[_0x47a53c(0x3a0)][_0x47a53c(0x400)](_0x1959a7)),_0x4974a2[_0x47a53c(0x35e)](_0x330a6d);}[_0x3fc0d2(0x250)](_0x375d07,_0x23e407){var _0x3daf9d=_0x3fc0d2;const _0x52da7f=this[_0x3daf9d(0x29e)]['get'](_0x375d07);_0x52da7f&&_0x52da7f['removeMember'](_0x23e407);}[_0x3fc0d2(0x25d)](_0x22860b){var _0x46d0c6=_0x3fc0d2;return this[_0x46d0c6(0x29e)][_0x46d0c6(0x2db)](_0x22860b);}[_0x3fc0d2(0x17b)](_0x2fc550,_0x5e33b9){var _0x2d4009=_0x3fc0d2;const _0x2d1167=this['_roomMembers'][_0x2d4009(0x2db)](_0x2fc550);if(_0x2d1167)return _0x2d1167[_0x2d4009(0x17b)](_0x5e33b9);}[_0x3fc0d2(0x297)](_0x560e26){var _0xca818f=_0x3fc0d2;const _0x24dcba=this[_0xca818f(0x29e)][_0xca818f(0x2db)](_0x560e26);_0x24dcba&&(_0x24dcba['dispose'](),this['_roomMembers']['delete'](_0x560e26));}['dispose'](){var _0x4ba0dc=_0x3fc0d2;this[_0x4ba0dc(0x29e)][_0x4ba0dc(0x25f)](_0xc0b038=>_0xc0b038[_0x4ba0dc(0x232)]()),this['_roomMembers'][_0x4ba0dc(0x21e)](),this[_0x4ba0dc(0x3a0)]['complete']();}};xe=Yn([Kt(0x0,_0x2e5298),Kt(0x1,_0x4a0d65(_0x4b012e))],xe);class qn extends _0x1b3b68{constructor(){var _0x4b00b3=_0x3fc0d2;super(...arguments),N(this,_0x4b00b3(0x350),new Map()),N(this,_0x4b00b3(0x36e),new _0x257515(this[_0x4b00b3(0x350)])),N(this,_0x4b00b3(0x38f),this[_0x4b00b3(0x36e)]['asObservable']());}[_0x3fc0d2(0x232)](){var _0x495a40=_0x3fc0d2;this[_0x495a40(0x350)][_0x495a40(0x21e)]();}['updateMember'](_0x42f65f){var _0x2218a6=_0x3fc0d2;this[_0x2218a6(0x350)][_0x2218a6(0x30a)](_0x42f65f[_0x2218a6(0x1aa)],_0x42f65f),this[_0x2218a6(0x149)]();}[_0x3fc0d2(0x250)](_0x359f86){var _0x464a26=_0x3fc0d2;this['_members'][_0x464a26(0x3aa)](_0x359f86);}[_0x3fc0d2(0x17b)](_0x4756e7){var _0x453d18=_0x3fc0d2;return this['_members'][_0x453d18(0x2db)](_0x4756e7);}[_0x3fc0d2(0x2ec)](){var _0x243815=_0x3fc0d2;return Array['from'](this[_0x243815(0x350)][_0x243815(0x12a)]());}[_0x3fc0d2(0x149)](){var _0x298963=_0x3fc0d2;this['_members$'][_0x298963(0x400)](this[_0x298963(0x350)]);}}var zn=Object[_0x3fc0d2(0x272)],Jn=Object[_0x3fc0d2(0x314)],Xn=(_0x52e0c2,_0xb26730,_0xdce1d,_0x55bc12)=>{for(var _0x14a4dd=_0x55bc12>0x1?void 0x0:_0x55bc12?Jn(_0xb26730,_0xdce1d):_0xb26730,_0x563252=_0x52e0c2['length']-0x1,_0x308121;_0x563252>=0x0;_0x563252--)(_0x308121=_0x52e0c2[_0x563252])&&(_0x14a4dd=(_0x55bc12?_0x308121(_0xb26730,_0xdce1d,_0x14a4dd):_0x308121(_0x14a4dd))||_0x14a4dd);return _0x55bc12&&_0x14a4dd&&zn(_0xb26730,_0xdce1d,_0x14a4dd),_0x14a4dd;},me=(_0x2b9afa,_0x5a7bfd)=>(_0x35537a,_0x9d71e4)=>_0x5a7bfd(_0x35537a,_0x9d71e4,_0x2b9afa),Te=(_0x43228f=>(_0x43228f[_0x43228f[_0x3fc0d2(0x406)]=0x0]=_0x3fc0d2(0x406),_0x43228f[_0x43228f[_0x3fc0d2(0x33b)]=0x1]='JOINING',_0x43228f[_0x43228f[_0x3fc0d2(0x10f)]=0x2]=_0x3fc0d2(0x10f),_0x43228f[_0x43228f[_0x3fc0d2(0x121)]=0x3]='ONLINE',_0x43228f))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x3fc0d2(0x287)]]:_0x3fc0d2(0x3f3),[Ee[_0x3fc0d2(0x2b8)]]:_0x3fc0d2(0x3f2),[Ee[_0x3fc0d2(0x401)]]:_0x3fc0d2(0x192),[Ee[_0x3fc0d2(0x1c8)]]:_0x3fc0d2(0x341)};let It=class extends _0x2ac02b{constructor(_0xfad558,_0x3283bc,_0x41f3f8,_0x27d028,_0x5b91c9,_0x34bf40,_0x578e70,_0x35585f,_0x40c05f){var _0x2eb94b=_0x3fc0d2;super(),N(this,_0x2eb94b(0x1a6),new _0x257515(0x0)),N(this,_0x2eb94b(0x3e1),this['_sessionStatus$']['asObservable']()),N(this,_0x2eb94b(0x1c2),new _0x6e5a01()),N(this,_0x2eb94b(0x2c1),this[_0x2eb94b(0x1c2)][_0x2eb94b(0x357)]()),N(this,_0x2eb94b(0x3bb)),N(this,_0x2eb94b(0x1eb)),N(this,_0x2eb94b(0x1e1)),N(this,_0x2eb94b(0x367),!0x1),N(this,_0x2eb94b(0x1ff),null),(this['_unitID']=_0xfad558,this['_logService']=_0x41f3f8,this[_0x2eb94b(0x281)]=_0x27d028,this[_0x2eb94b(0x1a0)]=_0x5b91c9,this[_0x2eb94b(0x16a)]=_0x34bf40,this[_0x2eb94b(0x1f9)]=_0x578e70,this[_0x2eb94b(0x123)]=_0x35585f,this[_0x2eb94b(0x327)]=_0x40c05f,this[_0x2eb94b(0x367)]=!!this[_0x2eb94b(0x327)],_0x3283bc[_0x2eb94b(0x348)](_0x4c8071(this[_0x2eb94b(0x1e7)]))[_0x2eb94b(0x206)](_0x10521c=>{var _0x278498=_0x2eb94b,_0xc70ec9;typeof _0x10521c>'u'||(this['_socket']=_0x10521c,_0x10521c?(this[_0x278498(0x174)](_0x10521c),this[_0x278498(0x1eb)]=_0x10521c['message$'][_0x278498(0x206)](_0x4839d9=>{var _0x1db790=_0x278498;_0x4839d9[_0x1db790(0x185)]===this[_0x1db790(0x28b)]&&this[_0x1db790(0x344)](_0x4839d9);})):(this[_0x278498(0x3df)](),this['_sessionStatus$'][_0x278498(0x400)](0x2),(_0xc70ec9=this[_0x278498(0x1eb)])==null||_0xc70ec9[_0x278498(0x2ea)](),this[_0x278498(0x1eb)]=null));}));}get[_0x3fc0d2(0x1e8)](){var _0x2866cf=_0x3fc0d2;return this[_0x2866cf(0x1a6)]['getValue']();}[_0x3fc0d2(0x1b6)](){var _0x25e809=_0x3fc0d2,_0x4af352,_0x2205d1;return(_0x2205d1=(_0x4af352=this[_0x25e809(0x3bb)])==null?void 0x0:_0x4af352[_0x25e809(0x1aa)])!=null?_0x2205d1:null;}[_0x3fc0d2(0x232)](){var _0x38db16=_0x3fc0d2;super[_0x38db16(0x232)](),this[_0x38db16(0x1e7)][_0x38db16(0x400)](),this['dispose$'][_0x38db16(0x11a)]();}[_0x3fc0d2(0x158)](){var _0x32e593=_0x3fc0d2,_0x544d20,_0x3a6f8f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x544d20=this[_0x32e593(0x3bb)])==null||_0x544d20[_0x32e593(0x306)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3a6f8f=this['_socket'])==null||_0x3a6f8f[_0x32e593(0x158)](),this[_0x32e593(0x1c2)]['complete'](),this[_0x32e593(0x1a6)][_0x32e593(0x11a)](),this[_0x32e593(0x232)]();}[_0x3fc0d2(0x344)](_0x99689e){var _0x19ac8b=_0x3fc0d2;_0x99689e[_0x19ac8b(0x1e3)]===F[_0x19ac8b(0x1bf)]?this['_onJoinRoomEvent'](_0x99689e):_0x99689e['cmd']===F[_0x19ac8b(0x3f9)]&&this[_0x19ac8b(0x32a)](_0x99689e);}[_0x3fc0d2(0x174)](_0x43a159){var _0x4bbfc3=_0x3fc0d2;this[_0x4bbfc3(0x1a6)][_0x4bbfc3(0x400)](0x1),_0x43a159[_0x4bbfc3(0x306)]({'cmd':F[_0x4bbfc3(0x1bf)],'routeKey':this[_0x4bbfc3(0x28b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4bbfc3(0x28b)]}]}});}[_0x3fc0d2(0x310)](_0x11946a){var _0x23a020=_0x3fc0d2,_0x38ff65;if(_0x11946a[_0x23a020(0x336)]in Yt){this[_0x23a020(0x123)][_0x23a020(0x3e6)]({'id':se[_0x23a020(0x11b)],'data':Yt[_0x11946a[_0x23a020(0x336)]]}),this[_0x23a020(0x1a6)][_0x23a020(0x400)](0x2);return;}this['_sessionStatus$'][_0x23a020(0x400)](0x3);const _0x1a26e1=(_0x38ff65=_0x11946a[_0x23a020(0x144)][_0x23a020(0x13d)][this[_0x23a020(0x28b)]])==null?void 0x0:_0x38ff65[_0x23a020(0x137)];_0x1a26e1&&_0x1a26e1['forEach'](_0x49f428=>this[_0x23a020(0x16a)][_0x23a020(0x35e)](this[_0x23a020(0x28b)],_0x49f428));}[_0x3fc0d2(0x32a)](_0x143322){var _0x234bc9=_0x3fc0d2;try{const _0x12acce=_0x143322[_0x234bc9(0x144)];switch(_0x12acce[_0x234bc9(0x1b0)]){case _0x5e0126[_0x234bc9(0x279)]:this[_0x234bc9(0x390)](_0x12acce),this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126['USERS_LEAVE']:this[_0x234bc9(0x3e4)](_0x12acce),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126[_0x234bc9(0x376)]:case _0x5e0126[_0x234bc9(0x2d1)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x234bc9(0x1a7)](),this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126['MSG_FOR_ERROR']:this[_0x234bc9(0x3dd)][_0x234bc9(0x24c)](_0x234bc9(0x362)+JSON[_0x234bc9(0x277)](_0x12acce)),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126[_0x234bc9(0x3f4)]:this[_0x234bc9(0x1f9)][_0x234bc9(0x268)](_0x12acce[_0x234bc9(0x144)]),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;default:this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);}}catch(_0x1d55eb){this[_0x234bc9(0x3dd)][_0x234bc9(0x24c)](_0x1d55eb,_0x143322);}}[_0x3fc0d2(0x390)](_0x245703){var _0x2c9c52=_0x3fc0d2;this[_0x2c9c52(0x16a)][_0x2c9c52(0x35e)](this['_unitID'],_0x245703[_0x2c9c52(0x144)]);}['_onUserLeave'](_0x4f9277){var _0x175e04=_0x3fc0d2;this[_0x175e04(0x16a)][_0x175e04(0x250)](this[_0x175e04(0x28b)],_0x4f9277['data'][_0x175e04(0x1aa)]);}async[_0x3fc0d2(0x306)](_0x261ba2,_0x3465f6){var _0x1d57a1=_0x3fc0d2;if(this[_0x1d57a1(0x1e8)]!==0x3||!this[_0x1d57a1(0x3bb)])throw new Error(_0x1d57a1(0x405));try{_0x261ba2[_0x1d57a1(0x1b0)]===_0x5e0126[_0x1d57a1(0x2b0)]&&(this[_0x1d57a1(0x2c2)](),this[_0x1d57a1(0x3a6)](_0x261ba2)),this['_socket'][_0x1d57a1(0x306)]({'cmd':F['INGEST'],'routeKey':_0x3465f6,'routeType':'','data':_0x261ba2});}catch(_0x1d58ea){this['_logService'][_0x1d57a1(0x24c)](_0x1d58ea);}}[_0x3fc0d2(0x2c2)](){var _0x3d67f8=_0x3fc0d2,_0x16cb7e;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ae6cf=_0x3335;this[_0x3ae6cf(0x1e1)]=null,this[_0x3ae6cf(0x123)][_0x3ae6cf(0x3e6)]({'id':se[_0x3ae6cf(0x28d)]});},(_0x16cb7e=this[_0x3d67f8(0x281)][_0x3d67f8(0x3fe)](Si))!=null?_0x16cb7e:Ei);}[_0x3fc0d2(0x1a7)](){var _0x99053=_0x3fc0d2;this[_0x99053(0x1e1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x99053(0x1e1)]=null);}[_0x3fc0d2(0x3a6)](_0x2153f6){var _0x315221=_0x3fc0d2;if(!this[_0x315221(0x367)])return;const {data:_0x1d3cdf}=_0x2153f6,{unitID:_0x574d85,changeset:_0x1f864d}=_0x1d3cdf,{mutations:_0x29167e,type:_0x28b800}=_0x1f864d;this[_0x315221(0x1ff)]={'unitId':_0x574d85,'type':_0x28b800,'startTime':performance[_0x315221(0x384)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x29167e)};}[_0x3fc0d2(0x16f)](){var _0x3fe119=_0x3fc0d2;if(this['_shouldReportTelemetry']){if(!this[_0x3fe119(0x1ff)]){this['_logService']['error'](_0x3fe119(0x115),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x3fe119(0x2ce)]=performance[_0x3fe119(0x384)](),this[_0x3fe119(0x1ff)][_0x3fe119(0x14b)]=this[_0x3fe119(0x1ff)]['stopTime']-this[_0x3fe119(0x1ff)][_0x3fe119(0x17f)],this['_telemetryService']['capture'](Vn,this['_telemetryInfo']),this[_0x3fe119(0x1ff)]=null;}}[_0x3fc0d2(0x3df)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x5c7efb),me(0x3,_0x10186),me(0x4,_0x4a0d65(_0x5d25bf)),me(0x5,_0x4a0d65(xe)),me(0x6,_0x4a0d65(Ri)),me(0x7,_0x4a0d65(pe)),me(0x8,_0x469180(_0x33d4a5))],It);var Zn=Object[_0x3fc0d2(0x272)],Qn=Object[_0x3fc0d2(0x314)],er=(_0x366a83,_0x294f4a,_0x2c75d5,_0x6d7ba8)=>{var _0x349da8=_0x3fc0d2;for(var _0x524cac=_0x6d7ba8>0x1?void 0x0:_0x6d7ba8?Qn(_0x294f4a,_0x2c75d5):_0x294f4a,_0x410284=_0x366a83[_0x349da8(0x2ee)]-0x1,_0x5b7a20;_0x410284>=0x0;_0x410284--)(_0x5b7a20=_0x366a83[_0x410284])&&(_0x524cac=(_0x6d7ba8?_0x5b7a20(_0x294f4a,_0x2c75d5,_0x524cac):_0x5b7a20(_0x524cac))||_0x524cac);return _0x6d7ba8&&_0x524cac&&Zn(_0x294f4a,_0x2c75d5,_0x524cac),_0x524cac;},ge=(_0x45626c,_0xbe25bc)=>(_0x5f1367,_0x161128)=>_0xbe25bc(_0x5f1367,_0x161128,_0x45626c);let Le=class extends _0x1b3b68{constructor(_0x58ab19,_0x1ac367,_0x3a905e,_0x44a5f9,_0xa6961,_0x457a4b,_0x1ad8f5){var _0x2565c3=_0x3fc0d2;super(),N(this,'_socket$',new _0x257515(void 0x0)),N(this,_0x2565c3(0x208),this[_0x2565c3(0x2f7)][_0x2565c3(0x357)]()),N(this,_0x2565c3(0x3b7),null),N(this,_0x2565c3(0x3ec),new Map()),N(this,_0x2565c3(0x1c4),new _0x257515(Te[_0x2565c3(0x406)])),N(this,'status$',this[_0x2565c3(0x1c4)][_0x2565c3(0x357)]()),N(this,_0x2565c3(0x27f),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x2565c3(0x286)),N(this,'_timeoutTimer'),(this['_injector']=_0x58ab19,this['_logService']=_0x1ac367,this['_configService']=_0x3a905e,this[_0x2565c3(0x176)]=_0x44a5f9,this['_httpService']=_0xa6961,this[_0x2565c3(0x123)]=_0x457a4b,this[_0x2565c3(0x23b)]=_0x1ad8f5,this[_0x2565c3(0x381)]());}get[_0x3fc0d2(0x3bb)](){var _0x5ce565=_0x3fc0d2;return this['_socket$'][_0x5ce565(0x31d)]();}[_0x3fc0d2(0x381)](){var _0xd6b64=_0x3fc0d2;this[_0xd6b64(0x23b)]&&this[_0xd6b64(0x301)](this[_0xd6b64(0x23b)][_0xd6b64(0x3ee)][_0xd6b64(0x206)](_0x8d9548=>{var _0x1454fa=_0xd6b64;_0x8d9548&&!this[_0x1454fa(0x3bb)]&&this[_0x1454fa(0x1f1)](),_0x8d9548||this[_0x1454fa(0x2d4)]();}));}['dispose'](){var _0xa6921a=_0x3fc0d2;super[_0xa6921a(0x232)](),this[_0xa6921a(0x3ec)]['forEach'](_0x237666=>_0x237666[_0xa6921a(0x232)]()),this[_0xa6921a(0x3ec)][_0xa6921a(0x21e)](),this[_0xa6921a(0x1c4)]['complete']();}async[_0x3fc0d2(0x114)](_0x5b8822){var _0x12ea80=_0x3fc0d2;if(this[_0x12ea80(0x3ec)][_0x12ea80(0x2a9)](_0x5b8822))return this['_sessions'][_0x12ea80(0x2db)](_0x5b8822);this[_0x12ea80(0x1d3)]();const _0x15382c=this[_0x12ea80(0x3eb)][_0x12ea80(0x354)](It,_0x5b8822,this[_0x12ea80(0x2f7)]['asObservable']());return this['_sessions'][_0x12ea80(0x30a)](_0x5b8822,_0x15382c),_0x15382c;}[_0x3fc0d2(0x1df)](_0x22255d){var _0xd27e61=_0x3fc0d2,_0x46fe2e;const _0x199a37=this[_0xd27e61(0x3ec)]['get'](_0x22255d);_0x199a37&&(this['_sessions'][_0xd27e61(0x3aa)](_0x22255d),_0x199a37[_0xd27e61(0x158)]()),this[_0xd27e61(0x3ec)][_0xd27e61(0x2d2)]||(_0x46fe2e=this[_0xd27e61(0x3bb)])==null||_0x46fe2e[_0xd27e61(0x158)]();}[_0x3fc0d2(0x1f1)](){var _0x321ba4=_0x3fc0d2;this['_retryCount']=0x0,this[_0x321ba4(0x229)]!=null&&(clearTimeout(this[_0x321ba4(0x229)]),this[_0x321ba4(0x229)]=null),this[_0x321ba4(0x132)]();}async[_0x3fc0d2(0x17a)](){var _0x14971c=_0x3fc0d2,_0xe7541f,_0x25f4a8,_0x569c7d;const _0x5de5ae=this[_0x14971c(0x281)][_0x14971c(0x3fe)](q),_0x18382b=(_0xe7541f=_0x5de5ae==null?void 0x0:_0x5de5ae[_0x14971c(0x331)])!=null?_0xe7541f:On;return(_0x569c7d=(_0x25f4a8=(await this[_0x14971c(0x21a)][_0x14971c(0x2db)](_0x18382b,{'headers':{'Content-Type':_0x14971c(0x261)}}))[_0x14971c(0x1b3)])==null?void 0x0:_0x25f4a8[_0x14971c(0x1b2)])!=null?_0x569c7d:'';}[_0x3fc0d2(0x39e)](_0x4e9008){var _0x870f17=_0x3fc0d2,_0x5b2207,_0x1fe780;const _0x3136f3=this[_0x870f17(0x281)][_0x870f17(0x3fe)](Rn),_0x15746a=this['_configService'][_0x870f17(0x3fe)](q),_0x1ab1da=(_0x1fe780=(_0x5b2207=_0x15746a==null?void 0x0:_0x15746a[_0x870f17(0x3ca)])!=null?_0x5b2207:_0x3136f3)!=null?_0x1fe780:bn,_0x36e151=typeof window>'u'?new URL(_0x1ab1da):new URL(_0x1ab1da,window[_0x870f17(0x39b)][_0x870f17(0x22c)]);_0x36e151[_0x870f17(0x1b5)][_0x870f17(0x30a)]('sessionTicket',_0x4e9008);const _0x1cfb36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x1cfb36[_0x870f17(0x2db)]('runId')&&_0x36e151[_0x870f17(0x1b5)]['set'](_0x870f17(0x34c),_0x1cfb36['get']('runId')),_0x36e151[_0x870f17(0x2f5)]();}async[_0x3fc0d2(0x12e)](){var _0x2ec9a7=_0x3fc0d2;const _0x3f0309=await this[_0x2ec9a7(0x17a)](),_0x26e4d3=this[_0x2ec9a7(0x39e)](_0x3f0309),_0x54b4bb=this[_0x2ec9a7(0x176)][_0x2ec9a7(0x309)](_0x26e4d3);return this[_0x2ec9a7(0x3b7)]=_0x54b4bb,_0x54b4bb;}async['_tryEnsureSocket'](){var _0x5509f2=_0x3fc0d2,_0x5a4c0e,_0x457bf1;try{const _0x4077f0=(_0x457bf1=(_0x5a4c0e=this[_0x5509f2(0x3bb)])!=null?_0x5a4c0e:this[_0x5509f2(0x3b7)])!=null?_0x457bf1:await this[_0x5509f2(0x12e)]();if(_0x4077f0){const _0xc87c12=_0x4077f0[_0x5509f2(0x306)];_0x4077f0[_0x5509f2(0x306)]=_0x4cfeb4=>(this[_0x5509f2(0x33c)](),_0xc87c12['apply'](_0x4077f0,[_0x4cfeb4])),_0x4077f0[_0x5509f2(0x1a2)][_0x5509f2(0x206)](_0x285cd3=>this[_0x5509f2(0x12f)](_0x4077f0,_0x285cd3)),_0x4077f0['error$']['pipe'](_0x47cd1c(0x1))[_0x5509f2(0x206)](_0x4073db=>this[_0x5509f2(0x3dd)][_0x5509f2(0x24c)](_0x5509f2(0x2f4),_0x4073db)),_0x4077f0[_0x5509f2(0x321)][_0x5509f2(0x348)](_0x47cd1c(0x1))['subscribe'](()=>{var _0x528502=_0x5509f2;this[_0x528502(0x131)](_0x4077f0);}),_0x4077f0['close$']['pipe'](_0x47cd1c(0x1))[_0x5509f2(0x206)](_0x5a9860=>{var _0x1016a9=_0x5509f2;this[_0x1016a9(0x3dd)][_0x1016a9(0x3fa)](_0x1016a9(0x31a),_0x1016a9(0x377),_0x5a9860),this[_0x1016a9(0x37c)]();});}}catch(_0x40b649){this['_logService']['error'](_0x40b649),this['_onConnectionFailed']();}}[_0x3fc0d2(0x131)](_0x119d2a){var _0x30d15d=_0x3fc0d2;this[_0x30d15d(0x3dd)][_0x30d15d(0x3fa)](_0x30d15d(0x31a),_0x30d15d(0x11f)),_0x119d2a[_0x30d15d(0x306)]({'cmd':F[_0x30d15d(0x1a8)]}),this[_0x30d15d(0x33c)]();}['_onOffline'](){var _0x5ab06a=_0x3fc0d2;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x5ab06a(0x400)](Te['OFFLINE']),this[_0x5ab06a(0x2f7)][_0x5ab06a(0x400)](null),this[_0x5ab06a(0x15b)](),this[_0x5ab06a(0x3bf)]();}[_0x3fc0d2(0x37c)](){var _0x1b1976=_0x3fc0d2,_0x147a8b;this['_onOffline'](),this[_0x1b1976(0x21b)]<((_0x147a8b=this[_0x1b1976(0x281)][_0x1b1976(0x3fe)](Pn))!=null?_0x147a8b:wn)?(this['_collaborationUIEventService'][_0x1b1976(0x3e6)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x1b1976(0x132)]()):this[_0x1b1976(0x123)]['emitEvent']({'id':se[_0x1b1976(0x3bd)]});}[_0x3fc0d2(0x132)](){var _0x474074=_0x3fc0d2,_0x15d3b4;const _0x7787bf=this[_0x474074(0x21b)],_0x3d9f79=this[_0x474074(0x281)][_0x474074(0x3fe)](q),_0x5d5b89=_0x7787bf===0x0?0x0:((_0x15d3b4=_0x3d9f79==null?void 0x0:_0x3d9f79[_0x474074(0x10d)])!=null?_0x15d3b4:Dn)*0x2**_0x7787bf;this[_0x474074(0x229)]=setTimeout(()=>{var _0x5b36b8=_0x474074;clearTimeout(this['_retryConnectingTimer']),this[_0x5b36b8(0x229)]=null,this['_tryEnsureSocket']();},_0x5d5b89),this[_0x474074(0x21b)]+=0x1;}[_0x3fc0d2(0x12f)](_0x18c836,_0x4b32f8){var _0x425067=_0x3fc0d2;const {cmd:_0x3d51c9}=_0x4b32f8;_0x3d51c9===F[_0x425067(0x1a8)]&&!this[_0x425067(0x27f)]&&(_0x18c836[_0x425067(0x1aa)]=_0x4b32f8[_0x425067(0x144)][_0x425067(0x1aa)],this['_socket$'][_0x425067(0x400)](_0x18c836),this['_status$']['next'](Te[_0x425067(0x121)]),this[_0x425067(0x27f)]=!0x0,this[_0x425067(0x3b7)]=null),_0x3d51c9===F[_0x425067(0x375)]&&this[_0x425067(0x15b)](),this[_0x425067(0x33c)]();}[_0x3fc0d2(0x33c)](){var _0x176290=_0x3fc0d2,_0x11ccee;this[_0x176290(0x3bf)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x176290(0x294)](),(_0x11ccee=this[_0x176290(0x281)]['getConfig'](yn))!=null?_0x11ccee:Nn);}[_0x3fc0d2(0x294)](){var _0x89b537=_0x3fc0d2;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0x89b537(0x280)]();}['_waitForHeartbeatResponse'](){var _0x279e73=_0x3fc0d2,_0x3c70f8;this['_timeoutTimer']=setTimeout(()=>this[_0x279e73(0x37c)](),(_0x3c70f8=this['_configService'][_0x279e73(0x3fe)](Si))!=null?_0x3c70f8:Ei);}[_0x3fc0d2(0x3bf)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x3fc0d2(0x15b)](){var _0xa233f7=_0x3fc0d2;this[_0xa233f7(0x26d)]!=null&&(clearTimeout(this[_0xa233f7(0x26d)]),this[_0xa233f7(0x26d)]=null);}};Le=er([ge(0x0,_0x4a0d65(_0x3e5f47)),ge(0x1,_0x5c7efb),ge(0x2,_0x10186),ge(0x3,Ci),ge(0x4,_0x4a0d65(_0x242e5e)),ge(0x5,_0x4a0d65(pe)),ge(0x6,_0x469180(Mn))],Le);function _0x3335(_0x559d2a,_0x5262fc){var _0x3d561f=_0x3d56();return _0x3335=function(_0x3335b7,_0x587274){_0x3335b7=_0x3335b7-0x10b;var _0x479c4e=_0x3d561f[_0x3335b7];return _0x479c4e;},_0x3335(_0x559d2a,_0x5262fc);}const V=[];for(let n=0x0;n<0x100;++n)V[_0x3fc0d2(0x1ba)]((n+0x100)[_0x3fc0d2(0x2f5)](0x10)[_0x3fc0d2(0x38e)](0x1));function tr(_0x4bc7d5,_0x29740a=0x0){var _0x59e41d=_0x3fc0d2;return(V[_0x4bc7d5[_0x29740a+0x0]]+V[_0x4bc7d5[_0x29740a+0x1]]+V[_0x4bc7d5[_0x29740a+0x2]]+V[_0x4bc7d5[_0x29740a+0x3]]+'-'+V[_0x4bc7d5[_0x29740a+0x4]]+V[_0x4bc7d5[_0x29740a+0x5]]+'-'+V[_0x4bc7d5[_0x29740a+0x6]]+V[_0x4bc7d5[_0x29740a+0x7]]+'-'+V[_0x4bc7d5[_0x29740a+0x8]]+V[_0x4bc7d5[_0x29740a+0x9]]+'-'+V[_0x4bc7d5[_0x29740a+0xa]]+V[_0x4bc7d5[_0x29740a+0xb]]+V[_0x4bc7d5[_0x29740a+0xc]]+V[_0x4bc7d5[_0x29740a+0xd]]+V[_0x4bc7d5[_0x29740a+0xe]]+V[_0x4bc7d5[_0x29740a+0xf]])[_0x59e41d(0x343)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x47d9c6=_0x3fc0d2;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0x47d9c6(0x211)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3fc0d2(0x36c)][_0x3fc0d2(0x211)](crypto),qt={'randomUUID':rr};function sr(_0x26d758,_0x1addb7,_0x2e9018){var _0x202d61=_0x3fc0d2,_0x5e24d5,_0xe8eeee,_0x27a196;if(qt[_0x202d61(0x36c)]&&!_0x26d758)return qt[_0x202d61(0x36c)]();_0x26d758=_0x26d758||{};const _0x5941dc=(_0x27a196=(_0xe8eeee=_0x26d758[_0x202d61(0x2cf)])!=null?_0xe8eeee:(_0x5e24d5=_0x26d758[_0x202d61(0x220)])==null?void 0x0:_0x5e24d5[_0x202d61(0x130)](_0x26d758))!=null?_0x27a196:nr();if(_0x5941dc[_0x202d61(0x2ee)]<0x10)throw new Error(_0x202d61(0x3be));return _0x5941dc[0x6]=_0x5941dc[0x6]&0xf|0x40,_0x5941dc[0x8]=_0x5941dc[0x8]&0x3f|0x80,tr(_0x5941dc);}const J=_0xa76c5b('collaboration-client.local-cache-service');function so(_0x4359df){var _0x206095=_0x3fc0d2;return _0x206095(0x1a4)+_0x4359df;}var or=Object['defineProperty'],ar=Object[_0x3fc0d2(0x314)],cr=(_0x3d8625,_0xb76b18,_0x59baaa,_0x53e7b7)=>{var _0xb1144d=_0x3fc0d2;for(var _0x3489b1=_0x53e7b7>0x1?void 0x0:_0x53e7b7?ar(_0xb76b18,_0x59baaa):_0xb76b18,_0xa46e17=_0x3d8625[_0xb1144d(0x2ee)]-0x1,_0x3db703;_0xa46e17>=0x0;_0xa46e17--)(_0x3db703=_0x3d8625[_0xa46e17])&&(_0x3489b1=(_0x53e7b7?_0x3db703(_0xb76b18,_0x59baaa,_0x3489b1):_0x3db703(_0x3489b1))||_0x3489b1);return _0x53e7b7&&_0x3489b1&&or(_0xb76b18,_0x59baaa,_0x3489b1),_0x3489b1;},dt=(_0x32232f,_0x10e193)=>(_0xa7551,_0x44a95b)=>_0x10e193(_0xa7551,_0x44a95b,_0x32232f);function hr(_0x5173b3){var _0x4dcd64=_0x3fc0d2;const {unitID:_0x426a7b,mutations:_0x42d78c}=_0x5173b3;return{'unitId':_0x426a7b,'subUnitId':_0x42d78c[0x0][_0x4dcd64(0x3dc)][_0x4dcd64(0x14c)]};}let it=class{constructor(_0x3901b6,_0x444c9b,_0x202669){var _0x3c3945=_0x3fc0d2;this[_0x3c3945(0x3eb)]=_0x3901b6,this[_0x3c3945(0x330)]=_0x444c9b,this['_instanceService']=_0x202669;}['transformSelections'](_0x298edf){var _0x5524a9=_0x3fc0d2,_0x40e102,_0x5158b6,_0x3fffda,_0x37171f;const _0xa49d34=this[_0x5524a9(0x3eb)]['get'](_0x4ee23c),{unitId:_0x5e93f0,subUnitId:_0xf028a6}=hr(_0x298edf),_0x422301=_0xa49d34==null?void 0x0:_0xa49d34[_0x5524a9(0x150)](_0x5e93f0)[_0x5524a9(0x2fd)](),_0x2735a4=(_0x5158b6=(_0x40e102=this['_instanceService']['getUnit'](_0x5e93f0))==null?void 0x0:_0x40e102[_0x5524a9(0x27c)]())==null?void 0x0:_0x5158b6[_0x5524a9(0x1f7)]();if(_0x422301['length']===0x0||!_0x5e93f0||!_0xf028a6)return;const _0x54fb26=[{'id':_0xbebf4c['id'],'params':{'unitId':_0x5e93f0,'subUnitId':_0x2735a4,'selections':_0x3f72fc[_0x5524a9(0x193)](_0x422301)}}],_0xbf617e=this['_transformService'][_0x5524a9(0x37b)](_0x298edf,_0x54fb26);if(!_0x4911e8(_0xbf617e))throw _0xbf617e[_0x5524a9(0x24c)];const _0xaa2244=(_0x37171f=(_0x3fffda=_0xbf617e[_0x5524a9(0x1fc)][0x0])==null?void 0x0:_0x3fffda[_0x5524a9(0x3dc)])==null?void 0x0:_0x37171f[_0x5524a9(0x3db)];if(Array[_0x5524a9(0x126)](_0xaa2244)&&_0xaa2244[_0x5524a9(0x2ee)]){if(_0xaa2244[_0x5524a9(0x2ee)]===_0x54fb26[0x0][_0x5524a9(0x3dc)]['selections'][_0x5524a9(0x2ee)]&&_0xaa2244['every']((_0x517448,_0x2af69b)=>_0xce2ba7[_0x5524a9(0x2f9)](_0x517448['range'],_0x54fb26[0x0][_0x5524a9(0x3dc)][_0x5524a9(0x3db)][_0x2af69b][_0x5524a9(0x1fd)])))return;this['_injector'][_0x5524a9(0x2db)](_0x478928)[_0x5524a9(0x1d4)](_0xbebf4c['id'],{'unitId':_0x5e93f0,'subUnitId':_0x2735a4,'selections':_0xaa2244});}}};it=cr([dt(0x0,_0x4a0d65(_0x3e5f47)),dt(0x1,_0x44918b),dt(0x2,_0x2e5298)],it);const ht=_0xa76c5b(_0x3fc0d2(0x37d));var bi=(_0x4b7a55=>(_0x4b7a55[_0x4b7a55[_0x3fc0d2(0x274)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4b7a55[_0x4b7a55[_0x3fc0d2(0x396)]=0x1]=_0x3fc0d2(0x396),_0x4b7a55))(bi||{});const _r=new Set([_0x10e451['id']]);function zt(_0x7aa376,_0x4e9d5e,_0x54bb9f,_0x2c0fec,_0x1cbcbf){var _0x51a35d=_0x3fc0d2,_0x12e948,_0x4e98d3,_0x523330,_0x43103d;const _0x5ead56=[];for(const _0x542a17 of _0x7aa376)if(_r[_0x51a35d(0x2a9)](_0x542a17['id'])){if(_0x5ead56[_0x51a35d(0x2ee)]>0x0)break;_0x5ead56['push'](_0x542a17);break;}else _0x5ead56[_0x51a35d(0x1ba)](_0x542a17);const _0x522a68=(_0x4e98d3=(_0x12e948=_0x1cbcbf[_0x51a35d(0x353)]())==null?void 0x0:_0x12e948[_0x51a35d(0x1ee)])!=null?_0x4e98d3:'unknown',_0x1b31ac=(_0x43103d=(_0x523330=_0x1cbcbf[_0x51a35d(0x353)]())==null?void 0x0:_0x523330['memberID'])!=null?_0x43103d:_0x51a35d(0x146);return{'changeset':{'unitID':_0x4e9d5e,'type':_0x559457(_0x54bb9f[_0x51a35d(0x18f)](_0x4e9d5e)),'baseRev':_0x2c0fec['getCurrentRevOfUnit'](_0x4e9d5e),'revision':0x0,'userID':_0x522a68,'memberID':_0x1b31ac,'mutations':_0x5ead56},'pendingMutations':_0x7aa376['slice'](_0x5ead56[_0x51a35d(0x2ee)])};}function lr(_0x1aa234,_0xb38c57,_0x226b3f,_0x4e0a2f,_0x1f59b8){var _0x1d1c7e=_0x3fc0d2,_0x4f5136,_0x4b56a1,_0x1c9e78,_0x3d9a21;const _0x24fb19=[_0x1aa234[_0x1d1c7e(0x374)]((_0x29c4f7,_0x1d69da)=>{var _0x3118ed=_0x1d1c7e,_0x470e7c;const {id:_0x286d8f}=_0x29c4f7,{id:_0x23163c,type:_0x1d8bb8}=_0x1d69da,_0x12af51=(_0x470e7c=_0x29c4f7['params'])!=null?_0x470e7c:{'actions':null},_0x16b74=_0x1d69da[_0x3118ed(0x3dc)];if(_0x286d8f&&_0x286d8f!==_0x23163c)throw new Error(_0x3118ed(0x23f)+_0x286d8f+_0x3118ed(0x285)+_0x23163c+'.');return{..._0x29c4f7,'id':_0x23163c,'type':_0x1d8bb8,'params':{'unitId':_0x16b74[_0x3118ed(0x200)],'textRanges':_0x16b74[_0x3118ed(0x194)],'actions':_0x32e67d[_0x3118ed(0x188)](_0x12af51[_0x3118ed(0x3f0)],_0x16b74[_0x3118ed(0x3f0)])}};},{})],_0x423683=(_0x4b56a1=(_0x4f5136=_0x1f59b8[_0x1d1c7e(0x353)]())==null?void 0x0:_0x4f5136[_0x1d1c7e(0x1ee)])!=null?_0x4b56a1:_0x1d1c7e(0x146),_0x48a33b=(_0x3d9a21=(_0x1c9e78=_0x1f59b8[_0x1d1c7e(0x353)]())==null?void 0x0:_0x1c9e78['memberID'])!=null?_0x3d9a21:_0x1d1c7e(0x146);return{'changeset':{'unitID':_0xb38c57,'type':_0x559457(_0x226b3f[_0x1d1c7e(0x18f)](_0xb38c57)),'baseRev':_0x4e0a2f[_0x1d1c7e(0x356)](_0xb38c57),'revision':0x0,'userID':_0x423683,'memberID':_0x48a33b,'mutations':_0x24fb19},'pendingMutations':[]};}function Oi(_0x21a044,_0x59a8fb){var _0x52c982=_0x3fc0d2;const _0x254184=new _0x2c102a(0x1);return setTimeout(()=>_0x254184[_0x52c982(0x400)](_0x59a8fb),_0x21a044),_0x254184[_0x52c982(0x357)]()['pipe'](_0x5e2b45(0x1));}const ur={'id':_0x312b5b['id'],'type':_0x439428[_0x3fc0d2(0x28c)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x3fc0d2(0x314)],Re=(_0x5968e2,_0x168bcd,_0x570b18,_0x3a32cf)=>{for(var _0x20bb7b=_0x3a32cf>0x1?void 0x0:_0x3a32cf?fr(_0x168bcd,_0x570b18):_0x168bcd,_0x3761c4=_0x5968e2['length']-0x1,_0x5e7c23;_0x3761c4>=0x0;_0x3761c4--)(_0x5e7c23=_0x5968e2[_0x3761c4])&&(_0x20bb7b=(_0x3a32cf?_0x5e7c23(_0x168bcd,_0x570b18,_0x20bb7b):_0x5e7c23(_0x20bb7b))||_0x20bb7b);return _0x3a32cf&&_0x20bb7b&&dr(_0x168bcd,_0x570b18,_0x20bb7b),_0x20bb7b;},A=(_0x25eac0,_0x47aa1f)=>(_0x3a0cc5,_0x4b0c41)=>_0x47aa1f(_0x3a0cc5,_0x4b0c41,_0x25eac0),yi=(_0x3d1375=>(_0x3d1375[_0x3fc0d2(0x20c)]='not_collab',_0x3d1375['SYNCED']=_0x3fc0d2(0x1b1),_0x3d1375[_0x3fc0d2(0x2cb)]=_0x3fc0d2(0x207),_0x3d1375[_0x3fc0d2(0x221)]='awaiting',_0x3d1375[_0x3fc0d2(0x2de)]='awaiting_with_pending',_0x3d1375['FETCH_MISS']=_0x3fc0d2(0x2dc),_0x3d1375[_0x3fc0d2(0x1b4)]=_0x3fc0d2(0x1ec),_0x3d1375['OFFLINE']=_0x3fc0d2(0x181),_0x3d1375))(yi||{});const Ni=0xea60;class be{constructor(_0x2cdda6,_0x15b4da,_0x59c0b4,_0x1e8c7b,_0x13e130,_0x9b218,_0x2b6190,_0xb26e21,_0x309b6e){var _0x5d573a=_0x3fc0d2;N(this,_0x5d573a(0x14d),null),N(this,_0x5d573a(0x318),[]),(this[_0x5d573a(0x134)]=_0x2cdda6,this[_0x5d573a(0x293)]=_0x15b4da,this[_0x5d573a(0x2a0)]=_0x13e130,this[_0x5d573a(0x1f3)]=_0x9b218,this[_0x5d573a(0x1ae)]=_0x2b6190,this[_0x5d573a(0x1c6)]=_0xb26e21,this[_0x5d573a(0x346)]=_0x309b6e,this[_0x5d573a(0x14d)]=_0x59c0b4,this[_0x5d573a(0x318)]=_0x1e8c7b);}['_checkMissing'](_0x492d83){var _0x891fb=_0x3fc0d2;const _0x33fc96=this[_0x891fb(0x1c6)][_0x891fb(0x356)](this[_0x891fb(0x134)]);return _0x492d83['revision']>_0x33fc96+0x1?(this['_handler'][_0x891fb(0x2be)]({'from':_0x33fc96,'to':_0x492d83[_0x891fb(0x27e)]-0x1}),!0x0):!0x1;}[_0x3fc0d2(0x33d)](_0x1bd76f){var _0x2248dc=_0x3fc0d2;this[_0x2248dc(0x1ae)][_0x2248dc(0x1ea)](this[_0x2248dc(0x134)],_0x1bd76f);}[_0x3fc0d2(0x26b)](_0x355a65){var _0x5b6e5b,_0x1a0017;(_0x1a0017=(_0x5b6e5b=this['_handler'])['onTransformSelections'])==null||_0x1a0017['call'](_0x5b6e5b,_0x355a65);}[_0x3fc0d2(0x366)](_0x22faaf){var _0x2bb42c=_0x3fc0d2,_0x369995,_0x4258b3;return(_0x4258b3=(_0x369995=this[_0x2bb42c(0x2a0)])[_0x2bb42c(0x254)])==null?void 0x0:_0x4258b3[_0x2bb42c(0x130)](_0x369995,_0x22faaf);}[_0x3fc0d2(0x328)](_0x4d7539){var _0x5b27f2=_0x3fc0d2,_0x32e8de,_0x4c77eb;return(_0x4c77eb=(_0x32e8de=this[_0x5b27f2(0x2a0)])[_0x5b27f2(0x363)])==null?void 0x0:_0x4c77eb[_0x5b27f2(0x130)](_0x32e8de,_0x4d7539);}[_0x3fc0d2(0x20d)](_0x3f434c){var _0x3bc3b7=_0x3fc0d2,_0x543248,_0x1a0670,_0x5554c1;return(_0x5554c1=(_0x1a0670=(_0x543248=this['_handler'])[_0x3bc3b7(0x3a8)])==null?void 0x0:_0x1a0670[_0x3bc3b7(0x130)](_0x543248,_0x3f434c))!=null?_0x5554c1:_0x3f434c;}[_0x3fc0d2(0x2c6)](_0x204edf){var _0xbcdcbc=_0x3fc0d2,_0x19378e,_0x1ea731,_0x59afd8;return(_0x59afd8=(_0x1ea731=(_0x19378e=this['_handler'])[_0xbcdcbc(0x38b)])==null?void 0x0:_0x1ea731[_0xbcdcbc(0x130)](_0x19378e,_0x204edf))!=null?_0x59afd8:_0x204edf;}[_0x3fc0d2(0x365)](_0x3858b1){var _0x4899dd=_0x3fc0d2,_0x534663,_0x2919dc;if(this[_0x4899dd(0x293)]===Q[_0x4899dd(0x161)]){const {unitID:_0x50362a,mutations:_0xc26d75,memberID:_0x41229b}=_0x3858b1,_0x3dfdd0=_0xc26d75[0x0][_0x4899dd(0x3dc)]['textRanges'];Array['isArray'](_0x3dfdd0)&&_0x3dfdd0[_0x4899dd(0x2ee)]>0x0&&((_0x2919dc=(_0x534663=this[_0x4899dd(0x2a0)])['onSyncEditingCollabCursor'])==null||_0x2919dc[_0x4899dd(0x130)](_0x534663,{'unitID':_0x50362a,'memberID':_0x41229b,'textRanges':_0x3dfdd0}));}}[_0x3fc0d2(0x13f)](){var _0x4902e9=_0x3fc0d2,_0x3757fa;(_0x3757fa=this[_0x4902e9(0x346)])==null||_0x3757fa['updateOfflineData'](this['unitID'],this[_0x4902e9(0x293)],this[_0x4902e9(0x14d)],this[_0x4902e9(0x318)]);}['_getCurrentRevision'](){var _0x321c6f=_0x3fc0d2;return this[_0x321c6f(0x1c6)]['getCurrentRevOfUnit'](this[_0x321c6f(0x134)]);}[_0x3fc0d2(0x26f)](){var _0x16d631=_0x3fc0d2;this[_0x16d631(0x1c6)][_0x16d631(0x29d)](this['unitID']);}[_0x3fc0d2(0x18d)](_0x22a998){var _0x210085=_0x3fc0d2,_0x2a34de;let _0x2b1d2f=this[_0x210085(0x20d)](_0x22a998);_0x2b1d2f=this[_0x210085(0x2c6)](_0x2b1d2f);const _0x5ba01e=_0x25b24d(_0x2b1d2f[_0x210085(0x402)],this[_0x210085(0x1f3)],{'fromCollab':!0x0});if(!_0x5ba01e[_0x210085(0x138)])throw _0x5ba01e[_0x210085(0x24c)]instanceof Error?_0x5ba01e[_0x210085(0x24c)]:new Error((_0x2a34de=_0x5ba01e['error'])!=null?_0x2a34de:_0x210085(0x1e2));this[_0x210085(0x366)](_0x2b1d2f),this['_transformStateCache'](_0x2b1d2f),this[_0x210085(0x33d)](_0x22a998),this[_0x210085(0x26b)](_0x2b1d2f),this[_0x210085(0x365)](_0x2b1d2f),this[_0x210085(0x26f)]();}}let De=class extends be{constructor(_0xdcc121,_0x21b185,_0x28babf,_0xef907,_0x254237,_0x1c21e2,_0x14cc56,_0x746f52,_0x439c9a,_0x171429){var _0x3beae0=_0x3fc0d2;super(_0xdcc121,_0x21b185,null,[],_0x28babf,_0x14cc56,_0x1c21e2,_0xef907,_0x171429),N(this,'status',_0x3beae0(0x1b1)),(this[_0x3beae0(0x3eb)]=_0x254237,this[_0x3beae0(0x3dd)]=_0x746f52,this['_transformService']=_0x439c9a,this[_0x3beae0(0x278)]=_0x171429);}['appendMutation'](_0x30341b){var _0x294b5d=_0x3fc0d2;const _0x27eb0b=this['_injector'][_0x294b5d(0x354)](oe,this[_0x294b5d(0x134)],this[_0x294b5d(0x293)],[_0x30341b],this[_0x294b5d(0x2a0)]);return _0x27eb0b[_0x294b5d(0x292)](),_0x27eb0b[_0x294b5d(0x13f)](),_0x27eb0b;}[_0x3fc0d2(0x2f1)](_0x56ef0c){var _0x14b494=_0x3fc0d2;if(this[_0x14b494(0x2d3)](_0x56ef0c))return this[_0x14b494(0x3eb)][_0x14b494(0x354)](te,this[_0x14b494(0x134)],this[_0x14b494(0x293)],null,[],null,[_0x56ef0c],this[_0x14b494(0x2a0)]);try{const _0x594698=this[_0x14b494(0x330)][_0x14b494(0x37b)](_0x56ef0c,[ur]);if(_0x4911e8(_0x594698)){const {c1Prime:_0x4f1d8e}=_0x594698;return this[_0x14b494(0x18d)](_0x4f1d8e),this;}throw _0x594698['error'];}catch(_0x5834cd){return this[_0x14b494(0x3dd)][_0x14b494(0x24c)](_0x5834cd),this['_onConflict'](!0x1);}}[_0x3fc0d2(0x30e)](_0x145d1a){var _0xde504a=_0x3fc0d2;return this[_0xde504a(0x3eb)]['createInstance'](de,this[_0xde504a(0x134)],this[_0xde504a(0x293)],null,[],this[_0xde504a(0x2a0)],_0x145d1a);}[_0x3fc0d2(0x3d5)](){var _0x15f6c7=_0x3fc0d2;throw new Error(_0x15f6c7(0x33e));}[_0x3fc0d2(0x3d8)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){var _0x2889a3=_0x3fc0d2;return this[_0x2889a3(0x3eb)][_0x2889a3(0x354)](fe,this[_0x2889a3(0x134)],this['type'],null,[],this['_handler']);}[_0x3fc0d2(0x2d5)](){return this;}['resend'](){var _0x3f69db=_0x3fc0d2;throw new Error(_0x3f69db(0x1e5));}[_0x3fc0d2(0x351)](){var _0x8f1477=_0x3fc0d2;const _0x499f69=this[_0x8f1477(0x1c6)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x8f1477(0x2a0)][_0x8f1477(0x2be)]({'from':_0x499f69,'to':0x0}),this[_0x8f1477(0x3eb)][_0x8f1477(0x354)](te,this['unitID'],this[_0x8f1477(0x293)],null,[],null,[],this[_0x8f1477(0x2a0)]);}};De=Re([A(0x3,_0x4a0d65(_0x306d90)),A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x3a051e),A(0x6,_0x478928),A(0x7,_0x5c7efb),A(0x8,_0x44918b),A(0x9,_0x469180(J))],De);let oe=class extends be{constructor(_0xffc3c7,_0x29e27c,_0x313218,_0x28fa67,_0x43bcb1,_0x2a2d12,_0x524959,_0x153165,_0x19923b,_0x426179,_0x1acab5,_0x37e41c,_0x4ae8a0,_0x181c1f){var _0x50ca50=_0x3fc0d2;super(_0xffc3c7,_0x29e27c,null,_0x313218,_0x28fa67,_0x19923b,_0x4ae8a0,_0x2a2d12,_0x181c1f),N(this,_0x50ca50(0x1e6),_0x50ca50(0x207)),N(this,_0x50ca50(0x283),null),N(this,_0x50ca50(0x15d),null),(this[_0x50ca50(0x3eb)]=_0x43bcb1,this[_0x50ca50(0x16a)]=_0x524959,this['_logService']=_0x153165,this[_0x50ca50(0x281)]=_0x426179,this[_0x50ca50(0x330)]=_0x1acab5,this[_0x50ca50(0x230)]=_0x37e41c);}[_0x3fc0d2(0x240)](_0x325607){return this['_pendingMutations']['push'](_0x325607),this['_updateLocalCache'](),this;}[_0x3fc0d2(0x2f1)](_0x15cbba){var _0x1122f0=_0x3fc0d2;if(this[_0x1122f0(0x2d3)](_0x15cbba))return this[_0x1122f0(0x266)](),this[_0x1122f0(0x3eb)][_0x1122f0(0x354)](te,this[_0x1122f0(0x134)],this[_0x1122f0(0x293)],null,this[_0x1122f0(0x318)],null,[_0x15cbba],this[_0x1122f0(0x2a0)]);try{const _0x293be3=this['_transformService'][_0x1122f0(0x37b)](_0x15cbba,this[_0x1122f0(0x318)]);if(_0x4911e8(_0x293be3)){const {c1Prime:_0x4d76e6,m2Prime:_0x135724}=_0x293be3;this[_0x1122f0(0x18d)](_0x4d76e6);const _0xd8f5cb=this['_injector'][_0x1122f0(0x354)](oe,this[_0x1122f0(0x134)],this[_0x1122f0(0x293)],_0x135724,this[_0x1122f0(0x2a0)]);this[_0x1122f0(0x266)]();const _0x1aa8bf=new Date()[_0x1122f0(0x175)](),_0x54c94d=this[_0x1122f0(0x283)]?Math[_0x1122f0(0x13b)](this[_0x1122f0(0x283)]-_0x1aa8bf,0x0):this[_0x1122f0(0x209)]();return _0xd8f5cb[_0x1122f0(0x292)](_0x54c94d),_0xd8f5cb;}throw _0x293be3[_0x1122f0(0x24c)];}catch(_0xa470d1){return this[_0x1122f0(0x3dd)]['error'](_0xa470d1),this[_0x1122f0(0x30e)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3fc0d2(0x3d8)](){var _0x7682cb=_0x3fc0d2;throw new Error(_0x7682cb(0x27a));}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){var _0x2497da=_0x3fc0d2;return this['_clearScheduledTask'](),this['_injector'][_0x2497da(0x354)](fe,this['unitID'],this[_0x2497da(0x293)],null,this['_pendingMutations'],this[_0x2497da(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}['_schedule'](_0x177bc5){var _0x40291c=_0x3fc0d2;const _0x2ffb94=_0x177bc5!=null?_0x177bc5:this[_0x40291c(0x209)]();this[_0x40291c(0x283)]=new Date()[_0x40291c(0x175)]()+_0x2ffb94,this[_0x40291c(0x15d)]=setTimeout(()=>{var _0x13e942=_0x40291c;this[_0x13e942(0x266)]();let _0x190566=null;switch(this[_0x13e942(0x293)]){case Q['UNIVER_SHEET']:{_0x190566=zt(this[_0x13e942(0x318)],this[_0x13e942(0x134)],this[_0x13e942(0x230)],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]);break;}case Q[_0x13e942(0x161)]:{this[_0x13e942(0x318)]['every'](_0x2e87d8=>_0x2e87d8['id']===_0x2b8d0b['id'])?_0x190566=lr(this['_pendingMutations'],this[_0x13e942(0x134)],this['_univerInstanceService'],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]):_0x190566=zt(this['_pendingMutations'],this[_0x13e942(0x134)],this[_0x13e942(0x230)],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]);break;}default:throw new Error(_0x13e942(0x122)+this['type']+_0x13e942(0x248));}const {changeset:_0x24c866,pendingMutations:_0x436213}=_0x190566;this['_handler'][_0x13e942(0x284)](_0x24c866);const _0x18f91e=_0x436213['length']?this[_0x13e942(0x3eb)][_0x13e942(0x354)](ae,this[_0x13e942(0x134)],this[_0x13e942(0x293)],_0x24c866,_0x436213,this[_0x13e942(0x2a0)],void 0x0):this[_0x13e942(0x3eb)][_0x13e942(0x354)](ue,this[_0x13e942(0x134)],this[_0x13e942(0x293)],_0x24c866,this[_0x13e942(0x2a0)]);_0x18f91e[_0x13e942(0x13f)](),this['_handler'][_0x13e942(0x2a6)](this,_0x18f91e);},_0x2ffb94);}[_0x3fc0d2(0x209)](){var _0x34c8ce=_0x3fc0d2,_0x10ba17;const _0x12183=this[_0x34c8ce(0x281)][_0x34c8ce(0x3fe)](q);return(_0x10ba17=_0x12183==null?void 0x0:_0x12183['sendChangesetTimeout'])!=null?_0x10ba17:Cn;}[_0x3fc0d2(0x2bf)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x247212=_0x3fc0d2;this[_0x247212(0x15d)]!=null&&(clearTimeout(this[_0x247212(0x15d)]),this[_0x247212(0x15d)]=null);}[_0x3fc0d2(0x30e)](_0x48ad6c){var _0x11eb50=_0x3fc0d2;return this[_0x11eb50(0x266)](),this[_0x11eb50(0x3eb)][_0x11eb50(0x354)](de,this[_0x11eb50(0x134)],this[_0x11eb50(0x293)],null,this[_0x11eb50(0x318)],this[_0x11eb50(0x2a0)],_0x48ad6c);}};oe=Re([A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x4a0d65(_0x306d90)),A(0x6,_0x4a0d65(xe)),A(0x7,_0x5c7efb),A(0x8,_0x478928),A(0x9,_0x10186),A(0xa,_0x44918b),A(0xb,_0x2e5298),A(0xc,_0x3a051e),A(0xd,_0x469180(J))],oe);let ue=class extends be{constructor(_0x4ae7c3,_0x47cf52,_0x265651,_0x57961b,_0x314c59,_0x5d2076,_0x57f87b,_0x5e08bf,_0x2353c1,_0xc6fd0f,_0x18ac80){var _0x445ec6=_0x3fc0d2;super(_0x4ae7c3,_0x47cf52,_0x265651,[],_0x57961b,_0x57f87b,_0xc6fd0f,_0x5d2076,_0x18ac80),N(this,_0x445ec6(0x1e6),_0x445ec6(0x1f5)),N(this,_0x445ec6(0x394),0x0),N(this,_0x445ec6(0x205)),N(this,_0x445ec6(0x22d)),(this[_0x445ec6(0x3eb)]=_0x314c59,this[_0x445ec6(0x3dd)]=_0x5e08bf,this[_0x445ec6(0x330)]=_0x2353c1);}['appendMutation'](_0x508002){var _0x383109=_0x3fc0d2;this[_0x383109(0x266)]();const _0x267f63=this[_0x383109(0x3eb)][_0x383109(0x354)](ae,this[_0x383109(0x134)],this['type'],this['_awaitingChangeset'],[_0x508002],this[_0x383109(0x2a0)],this[_0x383109(0x205)]);return _0x267f63['_updateLocalCache'](),_0x267f63;}[_0x3fc0d2(0x2f1)](_0x45703c){var _0xf955aa=_0x3fc0d2;if(this['_checkMissing'](_0x45703c))return this[_0xf955aa(0x266)](),this[_0xf955aa(0x3eb)][_0xf955aa(0x354)](te,this[_0xf955aa(0x134)],this[_0xf955aa(0x293)],this['_awaitingChangeset'],[],null,[_0x45703c],this['_handler']);try{const _0x4cf478=this[_0xf955aa(0x330)][_0xf955aa(0x385)]([_0x45703c],[this[_0xf955aa(0x14d)]],!0x1);if(_0x156ed7(_0x4cf478)){const {c1Prime:_0x5c3eb0,c2Prime:_0x3f3c01}=_0x4cf478;this[_0xf955aa(0x18d)](_0x5c3eb0[0x0]),_0x3f3c01[0x0]['baseRev']=this[_0xf955aa(0x16b)](),this[_0xf955aa(0x266)]();const _0x1e974d=this[_0xf955aa(0x3eb)]['createInstance'](ue,this[_0xf955aa(0x134)],this['type'],_0x3f3c01[0x0],this[_0xf955aa(0x2a0)]);return _0x1e974d['_updateLocalCache'](),_0x1e974d;}return this['_onConflict'](!0x1);}catch(_0x1cd90b){return this['_logService'][_0xf955aa(0x24c)](_0x1cd90b),this[_0xf955aa(0x30e)](!0x1);}}[_0x3fc0d2(0x3d5)](_0x4cf113){var _0xe7d8a2=_0x3fc0d2;this[_0xe7d8a2(0x266)]();const _0x368992=this[_0xe7d8a2(0x1c6)]['getCurrentRevOfUnit'](this[_0xe7d8a2(0x134)]);if(_0x4cf113[_0xe7d8a2(0x27e)]<_0x368992-0x1)return this;if(this[_0xe7d8a2(0x2d3)](_0x4cf113))return this[_0xe7d8a2(0x3eb)][_0xe7d8a2(0x354)](te,this[_0xe7d8a2(0x134)],this[_0xe7d8a2(0x293)],null,[],this[_0xe7d8a2(0x14d)],[],this[_0xe7d8a2(0x2a0)]);this[_0xe7d8a2(0x26f)]();const _0x49fe3e=this[_0xe7d8a2(0x3eb)][_0xe7d8a2(0x354)](De,this[_0xe7d8a2(0x134)],this[_0xe7d8a2(0x293)],this[_0xe7d8a2(0x2a0)]);return _0x49fe3e[_0xe7d8a2(0x13f)](),_0x49fe3e;}[_0x3fc0d2(0x3d8)](_0x1b7b5b){var _0x4bb8a3=_0x3fc0d2;return this[_0x4bb8a3(0x30e)](!!(_0x1b7b5b!=null&&_0x1b7b5b[_0x4bb8a3(0x339)]));}[_0x3fc0d2(0x190)](_0x2f94bf){var _0xcb46c3=_0x3fc0d2;return this[_0xcb46c3(0x394)]>Ni?this[_0xcb46c3(0x270)]():(this['_resendTimer']=Oi(this[_0xcb46c3(0x394)],{'timeout':this[_0xcb46c3(0x394)],'reqId':_0x2f94bf['reqId']}),this['_sender']=this[_0xcb46c3(0x205)][_0xcb46c3(0x206)](({reqId:_0x162f05,timeout:_0x26e8bd})=>{var _0xfa21ec=_0xcb46c3;this[_0xfa21ec(0x23c)](_0x162f05,_0x26e8bd);}),this);}[_0x3fc0d2(0x270)](){var _0x3e8f49=_0x3fc0d2;return this[_0x3e8f49(0x266)](),this[_0x3e8f49(0x3eb)][_0x3e8f49(0x354)](fe,this['unitID'],this[_0x3e8f49(0x293)],this['_awaitingChangeset'],[],this[_0x3e8f49(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x4eb285=_0x3fc0d2;this[_0x4eb285(0x2a0)][_0x4eb285(0x284)](this['_awaitingChangeset']);}[_0x3fc0d2(0x30e)](_0x4c51ac){var _0x48e630=_0x3fc0d2;return this['_clearScheduledTask'](),this[_0x48e630(0x3eb)][_0x48e630(0x354)](de,this[_0x48e630(0x134)],this[_0x48e630(0x293)],this['_awaitingChangeset'],[],this[_0x48e630(0x2a0)],_0x4c51ac);}['_resendWithTimeout'](_0x4e9d84,_0x2d1b62){var _0x3611a0=_0x3fc0d2,_0x1f8c2e;_0x4e9d84===((_0x1f8c2e=this[_0x3611a0(0x14d)])==null?void 0x0:_0x1f8c2e[_0x3611a0(0x2e8)])&&(this[_0x3611a0(0x2bf)](),this['_resendTimeout']=_0x2d1b62===0x0?0x3e8:_0x2d1b62*0x2);}[_0x3fc0d2(0x266)](){var _0x3ffa37=_0x3fc0d2,_0x1a4076;(_0x1a4076=this[_0x3ffa37(0x22d)])==null||_0x1a4076['unsubscribe'](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x4a0d65(_0x306d90)),A(0x6,_0x478928),A(0x7,_0x5c7efb),A(0x8,_0x44918b),A(0x9,_0x3a051e),A(0xa,_0x469180(J))],ue);let ae=class extends be{constructor(_0x5d686c,_0x427529,_0x4dd236,_0x28b8f2,_0x11e2bb,_0x3c827c,_0x7aa5eb,_0xa4d51c,_0xe35e6d,_0xa0ad5c,_0x2ecbd0,_0x50a353,_0x404847){var _0x352431=_0x3fc0d2;super(_0x5d686c,_0x427529,_0x4dd236,_0x28b8f2,_0x11e2bb,_0xe35e6d,_0x50a353,_0xa4d51c,_0x404847),N(this,_0x352431(0x1e6),'awaiting_with_pending'),N(this,_0x352431(0x394),0x0),N(this,_0x352431(0x205)),N(this,_0x352431(0x22d)),(this[_0x352431(0x3eb)]=_0x7aa5eb,this['_logService']=_0xa0ad5c,this[_0x352431(0x330)]=_0x2ecbd0,this[_0x352431(0x278)]=_0x404847,_0x3c827c&&(this[_0x352431(0x205)]=_0x3c827c,this[_0x352431(0x22d)]=this['_resendTimer'][_0x352431(0x206)](({reqId:_0x1576a8,timeout:_0x1362c8})=>{var _0x71853a=_0x352431;this[_0x71853a(0x23c)](_0x1576a8,_0x1362c8);})));}['appendMutation'](_0x1607ce){var _0xb18c09=_0x3fc0d2;return this[_0xb18c09(0x318)]['push'](_0x1607ce),this;}[_0x3fc0d2(0x2f1)](_0x1a69e4){var _0x371dbb=_0x3fc0d2;if(this[_0x371dbb(0x2d3)](_0x1a69e4))return this[_0x371dbb(0x266)](),this[_0x371dbb(0x3eb)][_0x371dbb(0x354)](te,this[_0x371dbb(0x134)],this['type'],this[_0x371dbb(0x14d)],this[_0x371dbb(0x318)],null,[_0x1a69e4],this[_0x371dbb(0x2a0)]);try{const _0x5d24bf=this[_0x371dbb(0x330)][_0x371dbb(0x385)]([_0x1a69e4],[this[_0x371dbb(0x14d)]],!0x1);if(_0x156ed7(_0x5d24bf)){const {c1Prime:_0x52bbf2,c2Prime:_0x4d7ce6}=_0x5d24bf,_0x5b987f=this[_0x371dbb(0x330)]['transformMutationsWithChangeset'](_0x52bbf2[0x0],this['_pendingMutations']);if(_0x4911e8(_0x5b987f)){const {c1Prime:_0x41a939,m2Prime:_0x2b61e1}=_0x5b987f;return this['_executeRemoteChangeset'](_0x41a939),_0x4d7ce6[0x0][_0x371dbb(0x391)]=this[_0x371dbb(0x16b)](),this[_0x371dbb(0x266)](),this[_0x371dbb(0x3eb)][_0x371dbb(0x354)](ae,this[_0x371dbb(0x134)],this['type'],_0x4d7ce6[0x0],_0x2b61e1,this[_0x371dbb(0x2a0)],void 0x0);}throw _0x5b987f[_0x371dbb(0x24c)];}throw _0x5d24bf[_0x371dbb(0x24c)];}catch(_0x564718){return this[_0x371dbb(0x3dd)]['error'](_0x564718),this[_0x371dbb(0x30e)](!0x1);}}['onRemoteAck'](_0x5cdefb){var _0x47bc3b=_0x3fc0d2;if(this[_0x47bc3b(0x266)](),this[_0x47bc3b(0x2d3)](_0x5cdefb))return this[_0x47bc3b(0x3eb)][_0x47bc3b(0x354)](te,this[_0x47bc3b(0x134)],this[_0x47bc3b(0x293)],null,this[_0x47bc3b(0x318)],this[_0x47bc3b(0x14d)],[],this[_0x47bc3b(0x2a0)]);this[_0x47bc3b(0x26f)]();const _0xda55e=this['_injector'][_0x47bc3b(0x354)](oe,this[_0x47bc3b(0x134)],this['type'],this[_0x47bc3b(0x318)],this['_handler']);return _0xda55e[_0x47bc3b(0x292)](),_0xda55e[_0x47bc3b(0x13f)](),_0xda55e;}[_0x3fc0d2(0x3d8)](_0x2792a9){var _0x377dd2=_0x3fc0d2;return this[_0x377dd2(0x30e)](!!(_0x2792a9!=null&&_0x2792a9['isPermissionRej']));}[_0x3fc0d2(0x190)](_0x486386){var _0x4ebc9b=_0x3fc0d2;return this[_0x4ebc9b(0x394)]>Ni?this[_0x4ebc9b(0x270)]():(this[_0x4ebc9b(0x205)]=Oi(this['_resendTimeout'],{'timeout':this[_0x4ebc9b(0x394)],'reqId':_0x486386['reqId']}),this['_sender']=this[_0x4ebc9b(0x205)]['subscribe'](({reqId:_0x3a80ae,timeout:_0x3d0c59})=>{var _0x4cadf7=_0x4ebc9b;this[_0x4cadf7(0x23c)](_0x3a80ae,_0x3d0c59);}),this);}[_0x3fc0d2(0x270)](){var _0x1350dd=_0x3fc0d2;return this[_0x1350dd(0x266)](),this[_0x1350dd(0x3eb)]['createInstance'](fe,this[_0x1350dd(0x134)],this[_0x1350dd(0x293)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1350dd(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x1c79ef=_0x3fc0d2;this[_0x1c79ef(0x2a0)]['onSendChangeset'](this[_0x1c79ef(0x14d)]);}[_0x3fc0d2(0x30e)](_0x136239){var _0x266194=_0x3fc0d2;return this[_0x266194(0x266)](),this[_0x266194(0x3eb)][_0x266194(0x354)](de,this[_0x266194(0x134)],this[_0x266194(0x293)],null,this['_pendingMutations'],this[_0x266194(0x2a0)],_0x136239);}[_0x3fc0d2(0x23c)](_0x4ed9c3,_0x428f8e){var _0x208ee5=_0x3fc0d2,_0x435494;_0x4ed9c3===((_0x435494=this['_awaitingChangeset'])==null?void 0x0:_0x435494[_0x208ee5(0x2e8)])&&(this['resend'](),this[_0x208ee5(0x394)]=_0x428f8e===0x0?0x3e8:_0x428f8e*0x2);}[_0x3fc0d2(0x266)](){var _0x467ec=_0x3fc0d2,_0x27fa0c;(_0x27fa0c=this[_0x467ec(0x22d)])==null||_0x27fa0c[_0x467ec(0x2ea)](),this[_0x467ec(0x394)]=0x0;}};ae=Re([A(0x6,_0x4a0d65(_0x3e5f47)),A(0x7,_0x4a0d65(_0x306d90)),A(0x8,_0x478928),A(0x9,_0x5c7efb),A(0xa,_0x44918b),A(0xb,_0x3a051e),A(0xc,_0x469180(J))],ae);let de=class extends be{constructor(_0x2bf4e5,_0x7f7a10,_0x48cf4a,_0x1645dd,_0x3bd1fa,_0x5688d4=!0x1,_0x4018cd,_0x238806,_0x3484c3,_0x2d5b68,_0x30394d,_0xedeaf6,_0xbd3b47){var _0x8230d1=_0x3fc0d2;super(_0x2bf4e5,_0x7f7a10,_0x48cf4a,_0x1645dd,_0x3bd1fa,_0x238806,_0x3484c3,_0x2d5b68,_0xbd3b47),N(this,_0x8230d1(0x1e6),_0x8230d1(0x1ec)),(this[_0x8230d1(0x369)]=_0x5688d4,this['_permissionService']=_0x4018cd,this[_0x8230d1(0x1a0)]=_0x30394d,this['_collaborationUIEventService']=_0xedeaf6,this['localCacheService']=_0xbd3b47,this['_showConflictNotification'](),this[_0x8230d1(0x3f8)](),this[_0x8230d1(0x219)]());}[_0x3fc0d2(0x240)](){return this;}[_0x3fc0d2(0x2f1)](){return this;}[_0x3fc0d2(0x3d5)](){return this;}[_0x3fc0d2(0x3d8)](){return this;}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){return this;}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x285ae1=_0x3fc0d2;throw new Error(_0x285ae1(0x234));}[_0x3fc0d2(0x3f8)](){var _0x4cdbce=_0x3fc0d2,_0x29e043;(_0x29e043=this['_localCacheService'])==null||_0x29e043[_0x4cdbce(0x334)](this['unitID'],this['type'],null,[]);}[_0x3fc0d2(0x24d)](){var _0x5225bb=_0x3fc0d2;this[_0x5225bb(0x369)]?this[_0x5225bb(0x123)][_0x5225bb(0x3e6)]({'id':se[_0x5225bb(0x19c)]}):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x5225bb(0x1b4)]});}[_0x3fc0d2(0x219)](){var _0x2830e5=_0x3fc0d2;this[_0x2830e5(0x1cd)][_0x2830e5(0x38a)](new _0x54a994(this[_0x2830e5(0x134)])['id'],!0x1);}};de=Re([A(0x6,_0x4a0d65(_0x8735be)),A(0x7,_0x478928),A(0x8,_0x3a051e),A(0x9,_0x4a0d65(_0x306d90)),A(0xa,_0x4a0d65(_0x5d25bf)),A(0xb,_0x4a0d65(pe)),A(0xc,_0x469180(J))],de);let fe=class extends be{constructor(_0x2f8edc,_0x5cf7db,_0x32a095,_0x2dda84,_0x4f00ac,_0x1a1f97,_0x1b1528,_0x47d72c,_0x27d5e5,_0x47a555){var _0x23ee99=_0x3fc0d2;super(_0x2f8edc,_0x5cf7db,_0x32a095,_0x2dda84,_0x4f00ac,_0x47d72c,_0x27d5e5,_0x1b1528,_0x47a555),N(this,_0x23ee99(0x1e6),_0x23ee99(0x181)),this[_0x23ee99(0x3eb)]=_0x1a1f97;}[_0x3fc0d2(0x240)](_0x25979b){var _0x33b158=_0x3fc0d2;return this[_0x33b158(0x318)][_0x33b158(0x1ba)](_0x25979b),this[_0x33b158(0x13f)](),this;}['onRemoteChangeset'](_0x19d178){var _0x43b2db=_0x3fc0d2;throw new Error(_0x43b2db(0x213));}[_0x3fc0d2(0x3d5)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x4bb757=_0x3fc0d2;throw new Error(_0x4bb757(0x1a1));}[_0x3fc0d2(0x190)](){return this;}['toggleOffline'](){return this;}[_0x3fc0d2(0x2d5)](){var _0x5db7bd=_0x3fc0d2;const {_injector:_0x15a674,_pendingMutations:_0x2a6b8a,_awaitingChangeset:_0x379c0a,unitID:_0x2cef52,_handler:_0x38372f,type:_0x1964a4}=this,_0x5d020d=Di(_0x15a674,_0x2cef52,_0x1964a4,_0x379c0a,_0x2a6b8a,_0x38372f);return _0x5d020d instanceof oe?_0x5d020d[_0x5db7bd(0x292)]():(_0x5d020d instanceof ae||_0x5d020d instanceof ue)&&_0x5d020d[_0x5db7bd(0x2bf)](),_0x5d020d;}['resend'](){var _0x23149d=_0x3fc0d2;throw new Error(_0x23149d(0x1af));}};fe=Re([A(0x5,_0x4a0d65(_0x3e5f47)),A(0x6,_0x4a0d65(_0x306d90)),A(0x7,_0x478928),A(0x8,_0x3a051e),A(0x9,_0x469180(J))],fe);let te=class extends be{constructor(_0x33143c,_0x29683a,_0x24ee56,_0x557e7a,_0x40d775,_0x2d021a,_0x3c09ef,_0x5d28fb,_0x5db6df,_0x26bb16,_0x644a44,_0xad6811,_0x4c9ac8,_0x3622c0){var _0x599831=_0x3fc0d2;super(_0x33143c,_0x29683a,_0x24ee56,_0x557e7a,_0x3c09ef,_0x644a44,_0xad6811,_0x5db6df,_0x3622c0),N(this,'status',_0x599831(0x2dc)),(this['_acknowledgedAwaitingChangeset']=_0x40d775,this[_0x599831(0x30c)]=_0x2d021a,this[_0x599831(0x3eb)]=_0x5d28fb,this[_0x599831(0x3dd)]=_0x26bb16,this[_0x599831(0x330)]=_0x4c9ac8,this[_0x599831(0x278)]=_0x3622c0);}[_0x3fc0d2(0x2f6)](_0x37c26d){var _0x1207d4=_0x3fc0d2;try{const _0x550d67=[..._0x37c26d,...this[_0x1207d4(0x30c)]],_0x1910f1=[this[_0x1207d4(0x14d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x14423a=>!!_0x14423a);let _0x258852,_0x3ff985;if(_0x1910f1[_0x1207d4(0x2ee)]){const _0x4a0ca9=this['_transformService'][_0x1207d4(0x385)](_0x550d67,_0x1910f1,!0x1);if(!_0x156ed7(_0x4a0ca9))throw _0x4a0ca9[_0x1207d4(0x24c)];_0x258852=_0x4a0ca9[_0x1207d4(0x3b3)],_0x3ff985=_0x4a0ca9[_0x1207d4(0x1d2)];}else _0x258852=_0x550d67,_0x3ff985=[];let _0x562090=this[_0x1207d4(0x318)];_0x258852['forEach'](_0x559df6=>{var _0x2f425c=_0x1207d4;let _0x3f28c9;if(_0x562090[_0x2f425c(0x2ee)]){const _0x2f91bf=this[_0x2f425c(0x330)][_0x2f425c(0x37b)](_0x559df6,_0x562090);if(!_0x4911e8(_0x2f91bf))throw _0x2f91bf[_0x2f425c(0x24c)];_0x3f28c9=_0x2f91bf[_0x2f425c(0x3b3)],_0x562090=_0x2f91bf[_0x2f425c(0x1fc)];}else _0x3f28c9=_0x559df6;this[_0x2f425c(0x18d)](_0x3f28c9);}),this[_0x1207d4(0x34a)]&&this[_0x1207d4(0x26f)](),this[_0x1207d4(0x14d)]&&_0x3ff985[_0x1207d4(0x2ee)]&&(_0x3ff985[0x0][_0x1207d4(0x391)]=this[_0x1207d4(0x16b)]());let _0x4d02dd;if(this[_0x1207d4(0x14d)]&&_0x562090[_0x1207d4(0x2ee)]!==0x0)_0x4d02dd=this['_injector'][_0x1207d4(0x354)](ae,this[_0x1207d4(0x134)],this['type'],_0x3ff985[0x0],_0x562090,this[_0x1207d4(0x2a0)],void 0x0);else{if(this['_awaitingChangeset']&&_0x562090[_0x1207d4(0x2ee)]===0x0)_0x3ff985[0x0][_0x1207d4(0x391)]=this[_0x1207d4(0x16b)](),_0x4d02dd=this[_0x1207d4(0x3eb)]['createInstance'](ue,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],_0x3ff985[0x0],this[_0x1207d4(0x2a0)]);else{if(_0x562090[_0x1207d4(0x2ee)]!==0x0){const _0x680e6=this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](oe,this[_0x1207d4(0x134)],this['type'],_0x562090,this[_0x1207d4(0x2a0)]);_0x680e6[_0x1207d4(0x292)](),_0x4d02dd=_0x680e6;}else _0x4d02dd=this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](De,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],this[_0x1207d4(0x2a0)]);}}return _0x4d02dd[_0x1207d4(0x13f)](),_0x4d02dd;}catch(_0x46d6a2){return this[_0x1207d4(0x3dd)][_0x1207d4(0x24c)](_0x1207d4(0x315),_0x1207d4(0x340),_0x46d6a2),this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](de,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],this[_0x1207d4(0x14d)],this['_pendingMutations'],this[_0x1207d4(0x2a0)],!0x1);}}[_0x3fc0d2(0x2bf)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3fc0d2(0x240)](_0x35e75d){var _0x1c066b=_0x3fc0d2;return this[_0x1c066b(0x318)]['push'](_0x35e75d),this;}['onRemoteChangeset'](_0x368639){var _0x5edfcc=_0x3fc0d2;return this[_0x5edfcc(0x30c)][_0x5edfcc(0x1ba)](_0x368639),this;}[_0x3fc0d2(0x3d5)](_0x1dcd56){var _0x3a2fab=_0x3fc0d2;if(this[_0x3a2fab(0x14d)])return this['_acknowledgedAwaitingChangeset']=this[_0x3a2fab(0x14d)],this[_0x3a2fab(0x14d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3fc0d2(0x3d8)](_0xb14f32){var _0x32ba98=_0x3fc0d2;return this[_0x32ba98(0x30e)](!!(_0xb14f32!=null&&_0xb14f32[_0x32ba98(0x339)]));}['onRemoteRetry'](){return this;}[_0x3fc0d2(0x270)](){var _0x2b4245=_0x3fc0d2;return this[_0x2b4245(0x3eb)]['createInstance'](fe,this[_0x2b4245(0x134)],this[_0x2b4245(0x293)],this[_0x2b4245(0x14d)],this['_pendingMutations'],this['_handler']);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x30e)](_0x2df1ad){var _0x5e558b=_0x3fc0d2;return this[_0x5e558b(0x3eb)][_0x5e558b(0x354)](de,this[_0x5e558b(0x134)],this[_0x5e558b(0x293)],this[_0x5e558b(0x14d)],this[_0x5e558b(0x318)],this['_handler'],_0x2df1ad);}};te=Re([A(0x7,_0x4a0d65(_0x3e5f47)),A(0x8,_0x4a0d65(_0x306d90)),A(0x9,_0x5c7efb),A(0xa,_0x478928),A(0xb,_0x3a051e),A(0xc,_0x44918b),A(0xd,_0x469180(J))],te);function Di(_0x581cdd,_0x149506,_0x116a07,_0x3a1089,_0x44b7aa,_0x3fd2eb){var _0xcdebe3=_0x3fc0d2;return _0x3a1089&&_0x44b7aa[_0xcdebe3(0x2ee)]?_0x581cdd[_0xcdebe3(0x354)](ae,_0x149506,_0x116a07,_0x3a1089,_0x44b7aa,_0x3fd2eb,void 0x0):_0x3a1089?_0x581cdd['createInstance'](ue,_0x149506,_0x116a07,_0x3a1089,_0x3fd2eb):_0x44b7aa[_0xcdebe3(0x2ee)]?_0x581cdd[_0xcdebe3(0x354)](oe,_0x149506,_0x116a07,_0x44b7aa,_0x3fd2eb):_0x581cdd[_0xcdebe3(0x354)](De,_0x149506,_0x116a07,_0x3fd2eb);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x1f9852,_0x4f27a4,_0x51432d,_0xf8b6cf)=>{var _0x3ef0d9=_0x3fc0d2;for(var _0x4c633e=_0xf8b6cf>0x1?void 0x0:_0xf8b6cf?pr(_0x4f27a4,_0x51432d):_0x4f27a4,_0x54822c=_0x1f9852[_0x3ef0d9(0x2ee)]-0x1,_0x366aea;_0x54822c>=0x0;_0x54822c--)(_0x366aea=_0x1f9852[_0x54822c])&&(_0x4c633e=(_0xf8b6cf?_0x366aea(_0x4f27a4,_0x51432d,_0x4c633e):_0x366aea(_0x4c633e))||_0x4c633e);return _0xf8b6cf&&_0x4c633e&&vr(_0x4f27a4,_0x51432d,_0x4c633e),_0x4c633e;},k=(_0x5e4925,_0x283e79)=>(_0x75c76,_0x358c39)=>_0x283e79(_0x75c76,_0x358c39,_0x5e4925);let nt=class extends _0x2ac02b{constructor(_0x3f14dd,_0x56b465,_0x5b6073,_0x573da2,_0x45b3e2,_0x1469c2,_0x101d28,_0x3e37f5,_0x4510a9,_0x3ae33c,_0x32ce97,_0x3cd3f3,_0x469762){var _0x421c34=_0x3fc0d2;super(),N(this,_0x421c34(0x245),new _0x257515(null)),N(this,_0x421c34(0x157),this[_0x421c34(0x245)][_0x421c34(0x357)]()),N(this,_0x421c34(0x21f)),N(this,_0x421c34(0x34b),!0x1),N(this,_0x421c34(0x2b5),''),N(this,_0x421c34(0x14e),0x0),N(this,_0x421c34(0x3b1),this['state$'][_0x421c34(0x348)](_0x264ca7(_0x47e842=>_0x47e842?_0x47e842[_0x421c34(0x1e6)]:yi[_0x421c34(0x10f)]),_0x3c2e07(0x1))),N(this,_0x421c34(0x342),!0x1),N(this,_0x421c34(0x110),[]),(this[_0x421c34(0x134)]=_0x3f14dd,this[_0x421c34(0x1bc)]=_0x56b465,this[_0x421c34(0x148)]=_0x5b6073,this['_injector']=_0x573da2,this[_0x421c34(0x28e)]=_0x45b3e2,this['_localeService']=_0x1469c2,this[_0x421c34(0x1c6)]=_0x101d28,this[_0x421c34(0x3c2)]=_0x3e37f5,this[_0x421c34(0x3dd)]=_0x4510a9,this[_0x421c34(0x1f3)]=_0x3ae33c,this[_0x421c34(0x1cd)]=_0x32ce97,this['_singleActiveUnitService']=_0x3cd3f3,this[_0x421c34(0x346)]=_0x469762);}get[_0x3fc0d2(0x13e)](){return this['_state'];}async[_0x3fc0d2(0x236)](){var _0x525035=_0x3fc0d2;if(this['state'])throw new Error(_0x525035(0x378));await this[_0x525035(0x1ca)]();}[_0x3fc0d2(0x2ad)](){var _0x237ff7=_0x3fc0d2;return this[_0x237ff7(0x34b)]=!0x0,_0x5af85c(()=>{var _0x416062=_0x237ff7;this['_collaborationPaused']=!0x1,this[_0x416062(0x259)]();});}[_0x3fc0d2(0x198)](_0xbcaf4){var _0x517280=_0x3fc0d2;this[_0x517280(0x1be)](_0xbcaf4);}[_0x3fc0d2(0x2fb)](_0x5632ce){var _0x486073=_0x3fc0d2;this[_0x486073(0x21f)]=_0x5632ce,this[_0x486073(0x245)][_0x486073(0x400)](_0x5632ce);}async[_0x3fc0d2(0x1ca)](){var _0x14f237=_0x3fc0d2,_0x34a8fc;this[_0x14f237(0x2fb)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x34a8fc=this[_0x14f237(0x156)])==null||_0x34a8fc[_0x14f237(0x332)](this['unitID']),this[_0x14f237(0x301)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x14f237(0x134)])[_0x14f237(0x206)](_0x2d793e=>{var _0xfaefa5=_0x14f237;this[_0xfaefa5(0x3dd)]['debug'](_0xfaefa5(0x2da),'editing\x20status\x20changed\x20to',_0x2d793e),_0x2d793e===bi[_0xfaefa5(0x396)]?(this[_0xfaefa5(0x3c2)][_0xfaefa5(0x3e6)]({'id':se[_0xfaefa5(0x404)]}),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x38a)](new _0x54a994(this['unitID'])['id'],!0x1),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x2b1)](!0x1)):(this['_permissionService'][_0xfaefa5(0x38a)](new _0x54a994(this[_0xfaefa5(0x134)])['id'],!0x0),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x2b1)](!0x0));})));let _0x29bd11=!0x1;return this[_0x14f237(0x301)](this[_0x14f237(0x1bc)]['sessionStatus$']['subscribe'](_0x397bf5=>{var _0x4c41e7=_0x14f237;_0x397bf5===Te['ONLINE']?this[_0x4c41e7(0x2a5)](_0x29bd11):_0x397bf5===Te[_0x4c41e7(0x10f)]&&(_0x29bd11=!0x0,this[_0x4c41e7(0x191)]());})),this[_0x14f237(0x301)](this['session'][_0x14f237(0x2c1)]['subscribe'](_0x14aa55=>{var _0xa9ac7=_0x14f237;try{switch(_0x14aa55['eventID']){case _0x5e0126[_0xa9ac7(0x3c4)]:{this['_onRemoteChangeset'](_0x3b69de(_0x14aa55[_0xa9ac7(0x144)]));break;}case _0x5e0126[_0xa9ac7(0x376)]:{this[_0xa9ac7(0x17c)](_0x14aa55[_0xa9ac7(0x144)]);break;}case _0x5e0126[_0xa9ac7(0x3ea)]:{this[_0xa9ac7(0x255)]();break;}case _0x5e0126[_0xa9ac7(0x2d1)]:{this[_0xa9ac7(0x167)](_0x14aa55[_0xa9ac7(0x144)]);break;}case _0x5e0126['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x14aa55[_0xa9ac7(0x144)][_0xa9ac7(0x2e1)][_0xa9ac7(0x2e9)](_0x3c450c=>_0x3b69de(_0x3c450c)));break;}case _0x5e0126[_0xa9ac7(0x3ab)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5e0126[_0xa9ac7(0x1c1)]:break;}}catch(_0xcce13b){throw console[_0xa9ac7(0x24c)](_0xa9ac7(0x3cd),_0xcce13b),_0xcce13b;}})),this[_0x14f237(0x21f)];}[_0x3fc0d2(0x3ce)](){var _0x2fec72=_0x3fc0d2;this[_0x2fec72(0x342)]=!0x1;}['_lockTransition'](){var _0x18e345=_0x3fc0d2;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x18e345(0x342)]=!0x0;}[_0x3fc0d2(0x1be)](_0x37aac2){var _0x79382f=_0x3fc0d2;this['_lockTransition'](),this[_0x79382f(0x2fb)](this[_0x79382f(0x21f)][_0x79382f(0x240)](_0x37aac2)),this[_0x79382f(0x3ce)]();}[_0x3fc0d2(0x1db)](_0x30c6fb){var _0x53f5fa=_0x3fc0d2;if(!(_0x30c6fb[_0x53f5fa(0x27e)]<=this[_0x53f5fa(0x1c6)][_0x53f5fa(0x356)](this[_0x53f5fa(0x134)]))){if(this[_0x53f5fa(0x34b)]){this[_0x53f5fa(0x110)][_0x53f5fa(0x1ba)](_0x30c6fb);return;}this['_applyRemoteChangeset'](_0x30c6fb);}}[_0x3fc0d2(0x259)](){var _0x38704a=_0x3fc0d2;this[_0x38704a(0x110)][_0x38704a(0x25f)](_0x3bdbd8=>this['_applyRemoteChangeset'](_0x3bdbd8)),this[_0x38704a(0x110)]=[];}[_0x3fc0d2(0x3af)](_0x622001){var _0x28c211=_0x3fc0d2;const _0x19a52e=this[_0x28c211(0x28e)][_0x28c211(0x349)][_0x28c211(0x241)](this[_0x28c211(0x28e)]['interceptor'][_0x28c211(0x244)]()[_0x28c211(0x352)])(_0x622001[_0x28c211(0x402)],null)||_0x622001[_0x28c211(0x402)],_0x31dabe={..._0x622001,'mutations':_0x19a52e};this[_0x28c211(0x317)](),this['_updateState'](this[_0x28c211(0x21f)]['onRemoteChangeset'](_0x31dabe)),this[_0x28c211(0x3ce)]();}['_onRemoteACK'](_0x1830fd){var _0x55daa5=_0x3fc0d2;this[_0x55daa5(0x317)](),this[_0x55daa5(0x2fb)](this[_0x55daa5(0x21f)][_0x55daa5(0x3d5)](_0x1830fd)),this[_0x55daa5(0x3ce)]();}['_onRemoteRejected'](_0x3ec5ea){var _0x1603a9=_0x3fc0d2;this['_lockTransition'](),this[_0x1603a9(0x2fb)](this[_0x1603a9(0x21f)]['onRemoteRej'](_0x3ec5ea)),this[_0x1603a9(0x3ce)]();}[_0x3fc0d2(0x167)](_0x1ff1e7){var _0x4deeaa=_0x3fc0d2;this[_0x4deeaa(0x317)](),this[_0x4deeaa(0x2fb)](this[_0x4deeaa(0x21f)][_0x4deeaa(0x190)](_0x1ff1e7)),this[_0x4deeaa(0x3ce)]();}['_onFetchMissResult'](_0xb77090){var _0x15fe86=_0x3fc0d2;if(!(this['_state']instanceof te))throw new TypeError(_0x15fe86(0x2ab));const _0x533e02=_0xb77090[_0x15fe86(0x2e9)](_0x5ad63a=>{var _0x5861f4=_0x15fe86;const _0x5acbcd=this[_0x5861f4(0x28e)][_0x5861f4(0x349)][_0x5861f4(0x241)](this['_compressMutationService'][_0x5861f4(0x349)][_0x5861f4(0x244)]()[_0x5861f4(0x352)])(_0x5ad63a[_0x5861f4(0x402)],null)||_0x5ad63a['mutations'];return{..._0x5ad63a,'mutations':_0x5acbcd};});this['_lockTransition'](),this[_0x15fe86(0x2fb)](this[_0x15fe86(0x21f)][_0x15fe86(0x2f6)](_0x533e02)),this['_unlockTransition']();}[_0x3fc0d2(0x191)](){var _0x1d02ee=_0x3fc0d2;this[_0x1d02ee(0x317)](),this[_0x1d02ee(0x2fb)](this['_state'][_0x1d02ee(0x270)]()),this[_0x1d02ee(0x3ce)]();}['_toggleOnline'](_0xa522a5=!0x1){var _0x5e42d7=_0x3fc0d2;this[_0x5e42d7(0x317)](),this[_0x5e42d7(0x2fb)](this[_0x5e42d7(0x21f)][_0x5e42d7(0x2d5)]()),this[_0x5e42d7(0x3ce)]();const _0x445cff=this['_state'];_0xa522a5&&_0x445cff instanceof De&&(this[_0x5e42d7(0x317)](),this[_0x5e42d7(0x2fb)](_0x445cff[_0x5e42d7(0x351)]()),this[_0x5e42d7(0x3ce)]());}async[_0x3fc0d2(0x31b)](){return new Promise(_0x425c48=>{var _0x2c15c0=_0x3335;this[_0x2c15c0(0x1bc)][_0x2c15c0(0x3e1)][_0x2c15c0(0x348)](_0x5e2b45(0x1))[_0x2c15c0(0x206)](async _0xd76f81=>{_0x425c48(await this['_createInitialStateImpl'](_0xd76f81===Te['ONLINE']));});});}[_0x3fc0d2(0x386)](){var _0x20e2fe=_0x3fc0d2;const _0x249e39=this[_0x20e2fe(0x134)];return{'onStateChange':(_0x324242,_0x4e901e)=>{var _0x31aaaa=_0x20e2fe;if(_0x324242!==this[_0x31aaaa(0x21f)])throw new Error(_0x31aaaa(0x2b3)+_0x324242[_0x31aaaa(0x1e6)]+'\x0aAfter:\x20'+_0x4e901e['status']+_0x31aaaa(0x29a)+this[_0x31aaaa(0x21f)]['status']);this[_0x31aaaa(0x2fb)](_0x4e901e);},'onSendChangeset':_0x569ed6=>{var _0x366eec=_0x20e2fe;_0x569ed6[_0x366eec(0x1d6)]||(_0x569ed6[_0x366eec(0x1d6)]=this[_0x366eec(0x2b5)],_0x569ed6[_0x366eec(0x2e8)]=++this['_changesetReqId']);const _0xa324c9={'eventID':_0x5e0126[_0x366eec(0x2b0)],'data':{'unitID':_0x569ed6[_0x366eec(0x134)],'unitType':this[_0x366eec(0x148)],'changeset':_0x569ed6,'memberID':this[_0x366eec(0x1bc)][_0x366eec(0x1b6)]()}};this[_0x366eec(0x1bc)][_0x366eec(0x306)](_0xa324c9,this[_0x366eec(0x134)]);},'onMissingChangesets':({from:_0x789e18,to:_0x116a6a})=>{var _0x367d51=_0x20e2fe;this[_0x367d51(0x3dd)][_0x367d51(0x3fa)](_0x367d51(0x2da),'fetching\x20missing\x20changesets\x20from\x20'+_0x789e18+_0x367d51(0x172)+_0x116a6a);const _0x10b845={'eventID':_0x5e0126[_0x367d51(0x393)],'data':{'unitID':_0x249e39,'unitType':this[_0x367d51(0x148)],'from':_0x789e18,'to':_0x116a6a}};this[_0x367d51(0x1bc)]['send'](_0x10b845,this[_0x367d51(0x134)]);}};}async[_0x3fc0d2(0x217)](_0x3d5b7f){var _0x1f0107=_0x3fc0d2,_0x56f504,_0xc8f093,_0x1ae1d6;const _0x4e797c=await((_0x56f504=this[_0x1f0107(0x346)])==null?void 0x0:_0x56f504['loadOfflineData'](this[_0x1f0107(0x134)])),_0x4c89d3=(_0xc8f093=_0x4e797c==null?void 0x0:_0x4e797c[_0x1f0107(0x402)])!=null?_0xc8f093:[],_0x3c5966=(_0x1ae1d6=_0x4e797c==null?void 0x0:_0x4e797c[_0x1f0107(0x1d9)])!=null?_0x1ae1d6:null,_0x39c5d5=!!(_0x3c5966!=null&&_0x3c5966[_0x1f0107(0x1d6)])&&!!(_0x3c5966!=null&&_0x3c5966['reqId']);this[_0x1f0107(0x2b5)]=_0x39c5d5?_0x3c5966['sid']:sr(),this[_0x1f0107(0x14e)]=_0x39c5d5?_0x3c5966[_0x1f0107(0x2e8)]:0x0;const _0x528f55=this[_0x1f0107(0x134)];try{this[_0x1f0107(0x2cc)](_0x3c5966,_0x4c89d3);}catch(_0xc16698){this[_0x1f0107(0x3dd)][_0x1f0107(0x24c)](_0xc16698);}const _0x339362=this[_0x1f0107(0x386)]();if(_0x3d5b7f){const _0x29de11=Di(this[_0x1f0107(0x3eb)],_0x528f55,this[_0x1f0107(0x148)],_0x3c5966,_0x4c89d3,_0x339362);return _0x29de11 instanceof oe?_0x29de11['_schedule']():(_0x29de11 instanceof ae||_0x29de11 instanceof ue)&&_0x29de11[_0x1f0107(0x2bf)](),_0x29de11;}return this[_0x1f0107(0x3eb)][_0x1f0107(0x354)](fe,_0x528f55,this[_0x1f0107(0x148)],_0x3c5966,_0x4c89d3,_0x339362);}[_0x3fc0d2(0x2cc)](_0x4ce39b,_0x54f584){var _0x3ad8ab=_0x3fc0d2,_0x56e7e8,_0x38d11a;const _0xd45c1d=this[_0x3ad8ab(0x28e)][_0x3ad8ab(0x349)][_0x3ad8ab(0x241)](this['_compressMutationService']['interceptor'][_0x3ad8ab(0x244)]()[_0x3ad8ab(0x352)]);(_0x56e7e8=_0xd45c1d((_0x4ce39b==null?void 0x0:_0x4ce39b[_0x3ad8ab(0x402)])||[],null))==null||_0x56e7e8[_0x3ad8ab(0x25f)](_0x549b3a=>this[_0x3ad8ab(0x1f3)]['executeCommand'](_0x549b3a['id'],_0x549b3a[_0x3ad8ab(0x3dc)])),(_0x38d11a=_0xd45c1d(_0x54f584||[],null))==null||_0x38d11a[_0x3ad8ab(0x25f)](_0x5e05d1=>this[_0x3ad8ab(0x1f3)][_0x3ad8ab(0x1d4)](_0x5e05d1['id'],_0x5e05d1[_0x3ad8ab(0x3dc)]));}};nt=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(pe)),k(0x8,_0x5c7efb),k(0x9,_0x478928),k(0xa,_0x8735be),k(0xb,_0x469180(ht)),k(0xc,_0x469180(J))],nt);let Tt=class extends nt{constructor(_0x1e38bb,_0x25c97c,_0xd8a02e,_0x33bba1,_0x22a8e6,_0x1fb113,_0x36cff8,_0x5a28f5,_0x528e66,_0x34a6b1,_0x59beeb,_0x2fa820,_0x5e4dd6){var _0x5d5bca=_0x3fc0d2;super(_0x1e38bb,_0xd8a02e,_0x25c97c,_0x33bba1,_0x22a8e6,_0x1fb113,_0x36cff8,_0x5a28f5,_0x528e66,_0x34a6b1,_0x59beeb,_0x2fa820,_0x5e4dd6),N(this,_0x5d5bca(0x22f),null),(this['unitID']=_0x1e38bb,this['type']=_0x25c97c);}[_0x3fc0d2(0x397)](_0x52754d){this['_handlerCallback']=_0x52754d;}['dispose'](){var _0x116cba=_0x3fc0d2;this[_0x116cba(0x22f)]=null,super[_0x116cba(0x232)]();}[_0x3fc0d2(0x386)](){var _0x44a87e=_0x3fc0d2;const _0x3e6c6d=super[_0x44a87e(0x386)]();return _0x3e6c6d[_0x44a87e(0x254)]=_0x216d0b=>{var _0x1308ca=_0x44a87e,_0x546caf,_0x2c456f;return(_0x2c456f=(_0x546caf=this['_handlerCallback'])==null?void 0x0:_0x546caf[_0x1308ca(0x254)])==null?void 0x0:_0x2c456f[_0x1308ca(0x130)](_0x546caf,_0x216d0b);},_0x3e6c6d['onTransformState']=_0x4d5ace=>{var _0x870ae5=_0x44a87e,_0x57edd6,_0x4aedc2;return(_0x4aedc2=(_0x57edd6=this['_handlerCallback'])==null?void 0x0:_0x57edd6['onTransformState'])==null?void 0x0:_0x4aedc2[_0x870ae5(0x130)](_0x57edd6,_0x4d5ace);},_0x3e6c6d[_0x44a87e(0x3e2)]=_0x1c835b=>{var _0x5d4af5=_0x44a87e,_0x51817c,_0x1cd852;return(_0x1cd852=(_0x51817c=this['_handlerCallback'])==null?void 0x0:_0x51817c[_0x5d4af5(0x3e2)])==null?void 0x0:_0x1cd852[_0x5d4af5(0x130)](_0x51817c,_0x1c835b);},_0x3e6c6d['onSyncEditingCollabCursor']=_0x3449a2=>{var _0x23987d=_0x44a87e,_0x3d7222,_0x3ca5db;return(_0x3ca5db=(_0x3d7222=this[_0x23987d(0x22f)])==null?void 0x0:_0x3d7222[_0x23987d(0x2d8)])==null?void 0x0:_0x3ca5db[_0x23987d(0x130)](_0x3d7222,_0x3449a2);},_0x3e6c6d[_0x44a87e(0x3a8)]=_0x9f1189=>{var _0x320591=_0x44a87e,_0x28e6fa,_0xd206c1,_0x521d29;if(!((_0x28e6fa=this['_handlerCallback'])!=null&&_0x28e6fa[_0x320591(0x3a8)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x521d29=(_0xd206c1=this[_0x320591(0x22f)])==null?void 0x0:_0xd206c1['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x521d29['call'](_0xd206c1,_0x9f1189);},_0x3e6c6d[_0x44a87e(0x38b)]=_0x1a5438=>{var _0x5ee00c=_0x44a87e,_0x4ddc61,_0x1d911e,_0x296640;if(!((_0x4ddc61=this[_0x5ee00c(0x22f)])!=null&&_0x4ddc61[_0x5ee00c(0x38b)]))throw new Error(_0x5ee00c(0x288));return(_0x296640=(_0x1d911e=this['_handlerCallback'])==null?void 0x0:_0x1d911e[_0x5ee00c(0x38b)])==null?void 0x0:_0x296640['call'](_0x1d911e,_0x1a5438);},_0x3e6c6d;}async[_0x3fc0d2(0x1ca)](){var _0x2e0283=_0x3fc0d2;const _0x132771=await super['_init']();return this[_0x2e0283(0x301)](this[_0x2e0283(0x1f3)][_0x2e0283(0x124)]((_0x45e51a,_0x4540e5)=>{var _0x255c80=_0x2e0283;if(_0x45e51a['type']!==_0x439428[_0x255c80(0x28c)]||_0x4540e5!=null&&_0x4540e5[_0x255c80(0x14a)]||_0x4540e5!=null&&_0x4540e5[_0x255c80(0x273)]||_0x45e51a['id']===_0x2b8d0b['id'])return;const _0x3f36d7=_0x45e51a[_0x255c80(0x3dc)];if((_0x3f36d7==null?void 0x0:_0x3f36d7['unitId'])!==this['unitID'])return;const _0x4ab34d=_0x45e51a,_0x1a0784=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x255c80(0x349)][_0x255c80(0x244)]()[_0x255c80(0x3ff)])([_0x4ab34d],null)||[_0x4ab34d];this[_0x255c80(0x1be)](_0x1a0784[0x0]);})),_0x132771;}};Tt=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(pe)),k(0x8,_0x5c7efb),k(0x9,_0x478928),k(0xa,_0x8735be),k(0xb,_0x469180(ht)),k(0xc,_0x469180(J))],Tt);let Ct=class extends nt{constructor(_0x1471cb,_0x40570c,_0x4819f6,_0x233d4c,_0x4e45da,_0x9ed968,_0x375a30,_0x4a4358,_0x23c776,_0x5338a5,_0x2a1ba8,_0x45e327,_0x5efd49,_0x34295a){var _0x8f5f9e=_0x3fc0d2;super(_0x1471cb,_0x4819f6,_0x40570c,_0x233d4c,_0x4e45da,_0x9ed968,_0x375a30,_0x23c776,_0x5338a5,_0x2a1ba8,_0x45e327,_0x5efd49,_0x34295a),this['unitID']=_0x1471cb,this[_0x8f5f9e(0x293)]=_0x40570c,this[_0x8f5f9e(0x15f)]=_0x4a4358;}['_createHandler'](){var _0x2fba76=_0x3fc0d2;const _0x498915=super['_createHandler']();return _0x498915[_0x2fba76(0x3e2)]=_0x254f6d=>this[_0x2fba76(0x15f)]['transformSelections'](_0x254f6d),_0x498915;}async[_0x3fc0d2(0x1ca)](){var _0x4ae557=_0x3fc0d2;const _0x4445fc=await super[_0x4ae557(0x1ca)]();return this['disposeWithMe'](this[_0x4ae557(0x1f3)]['onCommandExecuted']((_0x4cd2fc,_0x16ccc1)=>{var _0x1b98e9=_0x4ae557;if(_0x4cd2fc['type']!==_0x439428[_0x1b98e9(0x28c)]||_0x16ccc1!=null&&_0x16ccc1[_0x1b98e9(0x14a)]||_0x16ccc1!=null&&_0x16ccc1[_0x1b98e9(0x273)])return;const _0x1b45d4=_0x4cd2fc[_0x1b98e9(0x3dc)];if((_0x1b45d4==null?void 0x0:_0x1b45d4[_0x1b98e9(0x200)])!==this['unitID'])return;const _0x2bbe4c=_0x4cd2fc,_0x3ee002=this[_0x1b98e9(0x28e)]['interceptor'][_0x1b98e9(0x241)](this['_compressMutationService'][_0x1b98e9(0x349)][_0x1b98e9(0x244)]()['COMPRESS_MUTATION_SEND'])([_0x2bbe4c],null)||[_0x2bbe4c];this[_0x1b98e9(0x1be)](_0x3ee002[0x0]);})),_0x4445fc;}};Ct=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(it)),k(0x8,_0x4a0d65(pe)),k(0x9,_0x5c7efb),k(0xa,_0x478928),k(0xb,_0x8735be),k(0xc,_0x469180(ht)),k(0xd,_0x469180(J))],Ct);var mr=Object[_0x3fc0d2(0x272)],gr=Object[_0x3fc0d2(0x314)],Sr=(_0x305ed9,_0x5b1a0e,_0x4964ac,_0x24e53c)=>{var _0x909173=_0x3fc0d2;for(var _0x4fb4c4=_0x24e53c>0x1?void 0x0:_0x24e53c?gr(_0x5b1a0e,_0x4964ac):_0x5b1a0e,_0x26a5bb=_0x305ed9[_0x909173(0x2ee)]-0x1,_0x15fdaa;_0x26a5bb>=0x0;_0x26a5bb--)(_0x15fdaa=_0x305ed9[_0x26a5bb])&&(_0x4fb4c4=(_0x24e53c?_0x15fdaa(_0x5b1a0e,_0x4964ac,_0x4fb4c4):_0x15fdaa(_0x4fb4c4))||_0x4fb4c4);return _0x24e53c&&_0x4fb4c4&&mr(_0x5b1a0e,_0x4964ac,_0x4fb4c4),_0x4fb4c4;},ft=(_0x284a04,_0xb7a502)=>(_0x2310b9,_0x110069)=>_0xb7a502(_0x2310b9,_0x110069,_0x284a04);let rt=class extends _0x2ac02b{constructor(_0x3f70c3,_0x5988db,_0x34647b){var _0x29a463=_0x3fc0d2;super(),N(this,_0x29a463(0x3f5),new Map()),N(this,'_entityInit$',new _0x6e5a01()),N(this,_0x29a463(0x2b7),this[_0x29a463(0x113)][_0x29a463(0x357)]()),(this['_injector']=_0x3f70c3,this[_0x29a463(0x360)]=_0x5988db,this[_0x29a463(0x230)]=_0x34647b,this[_0x29a463(0x1ca)]());}['dispose'](){var _0x5323e9=_0x3fc0d2;super['dispose'](),this[_0x5323e9(0x3f5)][_0x5323e9(0x25f)](_0x2f2826=>_0x2f2826[_0x5323e9(0x232)]()),this[_0x5323e9(0x3f5)][_0x5323e9(0x21e)]();}[_0x3fc0d2(0x2ae)](_0x59c5cc){var _0x46a140=_0x3fc0d2,_0x784f7f;return(_0x784f7f=this['_entities'][_0x46a140(0x2db)](_0x59c5cc))!=null?_0x784f7f:null;}[_0x3fc0d2(0x3c9)](_0x458684){var _0x479020=_0x3fc0d2;const _0x26211e=this[_0x479020(0x2ae)](_0x458684);return _0x26211e?_0x48236b(_0x26211e):this['_entityInit$'][_0x479020(0x348)](_0x59d3b8(_0xd26c29=>_0xd26c29[_0x479020(0x134)]===_0x458684));}['readyForCollab'](_0xfd1b5){var _0x382c32=_0x3fc0d2;return _0x4c8811(this[_0x382c32(0x3c9)](_0xfd1b5)['pipe'](_0x1c1a45(()=>{})));}[_0x3fc0d2(0x1ca)](){var _0x231351=_0x3fc0d2;this[_0x231351(0x230)][_0x231351(0x2e6)](_0x56b6a1[_0x231351(0x252)])[_0x231351(0x348)](_0x4c8071(this[_0x231351(0x1e7)]),_0xadc1ce(0x10))[_0x231351(0x206)](async _0x32750c=>{var _0x2c10a0=_0x231351;const _0x5031d6=_0x32750c[_0x2c10a0(0x1da)](),_0x1b8ce4=await this['_startCollaboration'](_0x5031d6,Q[_0x2c10a0(0x252)]);this[_0x2c10a0(0x3f5)][_0x2c10a0(0x30a)](_0x5031d6,_0x1b8ce4);}),this[_0x231351(0x230)]['getTypeOfUnitAdded$'](_0x56b6a1['UNIVER_DOC'])[_0x231351(0x348)](_0x4c8071(this[_0x231351(0x1e7)]),_0xadc1ce(0x10))[_0x231351(0x348)](_0x59d3b8(_0x327112=>!_0x327112[_0x231351(0x1da)]()[_0x231351(0x1a9)]('__')))[_0x231351(0x206)](async _0x102353=>{var _0x39f8e7=_0x231351;const _0x341833=_0x102353['getUnitId'](),_0x10a2e9=await this[_0x39f8e7(0x1ce)](_0x341833,Q[_0x39f8e7(0x161)]);this[_0x39f8e7(0x3f5)][_0x39f8e7(0x30a)](_0x341833,_0x10a2e9);}),_0x5a2e3b(this[_0x231351(0x230)][_0x231351(0x140)](_0x56b6a1[_0x231351(0x252)]),this['_univerInstanceService'][_0x231351(0x140)](_0x56b6a1['UNIVER_DOC']))[_0x231351(0x348)](_0x4c8071(this['dispose$']))[_0x231351(0x206)](_0x12a07d=>{var _0x57d373=_0x231351;const _0x2c3e10=_0x12a07d[_0x57d373(0x1da)](),_0x19297c=this['_entities'][_0x57d373(0x2db)](_0x2c3e10);_0x19297c&&(_0x19297c['dispose'](),this[_0x57d373(0x3f5)]['delete'](_0x2c3e10));});}async[_0x3fc0d2(0x1ce)](_0x2702d2,_0xc0848d){var _0x776780=_0x3fc0d2;const _0x23e18a=await this[_0x776780(0x360)][_0x776780(0x114)](_0x2702d2),_0x7dd21b=this[_0x776780(0x3eb)]['createInstance'](this['_getCtorByUniverType'](_0xc0848d),_0x2702d2,_0xc0848d,_0x23e18a);return await _0x7dd21b['init'](),this[_0x776780(0x113)][_0x776780(0x400)](_0x7dd21b),_0x7dd21b;}['_getCtorByUniverType'](_0x138360){var _0x3f5ef2=_0x3fc0d2;switch(_0x138360){case Q[_0x3f5ef2(0x161)]:return Tt;case Q[_0x3f5ef2(0x252)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x138360);}}};rt=Sr([ft(0x0,_0x4a0d65(_0x3e5f47)),ft(0x1,_0x4a0d65(Le)),ft(0x2,_0x2e5298)],rt);var Er=Object['defineProperty'],Ir=Object[_0x3fc0d2(0x314)],Tr=(_0x216d69,_0x670b5f,_0x4ecd7f,_0x5204ff)=>{var _0x48bb40=_0x3fc0d2;for(var _0x20ec6f=_0x5204ff>0x1?void 0x0:_0x5204ff?Ir(_0x670b5f,_0x4ecd7f):_0x670b5f,_0x19c841=_0x216d69[_0x48bb40(0x2ee)]-0x1,_0x32b728;_0x19c841>=0x0;_0x19c841--)(_0x32b728=_0x216d69[_0x19c841])&&(_0x20ec6f=(_0x5204ff?_0x32b728(_0x670b5f,_0x4ecd7f,_0x20ec6f):_0x32b728(_0x20ec6f))||_0x20ec6f);return _0x5204ff&&_0x20ec6f&&Er(_0x670b5f,_0x4ecd7f,_0x20ec6f),_0x20ec6f;},Jt=(_0x329202,_0x5ae0ba)=>(_0x13071c,_0x5651a3)=>_0x5ae0ba(_0x13071c,_0x5651a3,_0x329202);const Cr=_0x3fc0d2(0x25e),Rr=_0x3fc0d2(0x290);let Rt=class extends _0x1b3b68{constructor(_0x535b29,_0x41ba3d){var _0x1b8d49=_0x3fc0d2;super(),this[_0x1b8d49(0x230)]=_0x535b29,this[_0x1b8d49(0x281)]=_0x41ba3d,this[_0x1b8d49(0x1ca)]();}['_init'](){var _0x177bdf=_0x3fc0d2;this['disposeWithMe'](this['_univerInstanceService'][_0x177bdf(0x3d9)][_0x177bdf(0x206)](()=>{var _0xb5d4ce=_0x177bdf,_0x5ca3af;const _0x3ceb83=this[_0xb5d4ce(0x230)][_0xb5d4ce(0x302)]();let _0x316716=(_0x5ca3af=this[_0xb5d4ce(0x281)][_0xb5d4ce(0x3fe)](Cr))!=null?_0x5ca3af:Rr;_0x3ceb83 instanceof _0x18a076&&(_0x316716=_0x3ceb83[_0xb5d4ce(0x39c)]),document['title']=_0x316716;}));}};Rt=Tr([Jt(0x0,_0x2e5298),Jt(0x1,_0x10186)],Rt);var br=Object[_0x3fc0d2(0x272)],Or=Object[_0x3fc0d2(0x314)],yr=(_0x4e1af1,_0x5090f1,_0x4e6d91,_0x16b120)=>{for(var _0x53013e=_0x16b120>0x1?void 0x0:_0x16b120?Or(_0x5090f1,_0x4e6d91):_0x5090f1,_0x5a7091=_0x4e1af1['length']-0x1,_0x155db5;_0x5a7091>=0x0;_0x5a7091--)(_0x155db5=_0x4e1af1[_0x5a7091])&&(_0x53013e=(_0x16b120?_0x155db5(_0x5090f1,_0x4e6d91,_0x53013e):_0x155db5(_0x53013e))||_0x53013e);return _0x16b120&&_0x53013e&&br(_0x5090f1,_0x4e6d91,_0x53013e),_0x53013e;},vt=(_0x959bee,_0x227687)=>(_0x33c6eb,_0xc3fe2a)=>_0x227687(_0x33c6eb,_0xc3fe2a,_0x959bee);let st=class{constructor(_0x1b1e18,_0x44ac8f,_0x1a2aaa){var _0x559a2b=_0x3fc0d2;this[_0x559a2b(0x281)]=_0x1b1e18,this['_httpService']=_0x44ac8f,this[_0x559a2b(0x345)]=_0x1a2aaa,this[_0x559a2b(0x236)]();}[_0x3fc0d2(0x236)](){var _0x2d3796=_0x3fc0d2;this['_httpService'][_0x2d3796(0x358)]({'priority':0x1,'interceptor':(_0x219909,_0x3ebda8)=>_0x3ebda8(_0x219909)[_0x2d3796(0x348)](_0x386ba3(async _0x26ee5d=>{var _0x5b6753=_0x2d3796;const _0x1e9fa4=_0x26ee5d;if(_0x1e9fa4[_0x5b6753(0x1e6)]===0x191){if(typeof window>'u')throw new Error(_0x5b6753(0x347));if(window['confirm'](this['localeService']['t'](_0x5b6753(0x325)))){const _0x4e06ad=window[_0x5b6753(0x3ef)](window['location'][_0x5b6753(0x26a)]);window[_0x5b6753(0x39b)][_0x5b6753(0x26a)]=this[_0x5b6753(0x2f8)]()+_0x5b6753(0x227)+_0x4e06ad;}}return _0x1e9fa4;}))});}[_0x3fc0d2(0x2f8)](){var _0x4fd725=_0x3fc0d2,_0x4b4778,_0x22f6fe;const _0x5fb94e=this[_0x4fd725(0x281)][_0x4fd725(0x3fe)](xn),_0x575beb=this[_0x4fd725(0x281)]['getConfig'](q);return(_0x22f6fe=(_0x4b4778=_0x575beb==null?void 0x0:_0x575beb[_0x4fd725(0x1cc)])!=null?_0x4b4778:_0x5fb94e)!=null?_0x22f6fe:Ln;}};st=yr([vt(0x0,_0x10186),vt(0x1,_0x4a0d65(_0x242e5e)),vt(0x2,_0x4a0d65(_0x5d25bf))],st);var Nr=Object[_0x3fc0d2(0x272)],Dr=Object[_0x3fc0d2(0x314)],Pr=(_0x35b41b,_0x1a665a,_0x31fed4,_0x34ee92)=>{var _0x56cb4b=_0x3fc0d2;for(var _0x2186bf=_0x34ee92>0x1?void 0x0:_0x34ee92?Dr(_0x1a665a,_0x31fed4):_0x1a665a,_0x4e4b32=_0x35b41b[_0x56cb4b(0x2ee)]-0x1,_0x5b770e;_0x4e4b32>=0x0;_0x4e4b32--)(_0x5b770e=_0x35b41b[_0x4e4b32])&&(_0x2186bf=(_0x34ee92?_0x5b770e(_0x1a665a,_0x31fed4,_0x2186bf):_0x5b770e(_0x2186bf))||_0x2186bf);return _0x34ee92&&_0x2186bf&&Nr(_0x1a665a,_0x31fed4,_0x2186bf),_0x2186bf;},Xt=(_0x3c468a,_0x1ea401)=>(_0x30bcc5,_0x41a922)=>_0x1ea401(_0x30bcc5,_0x41a922,_0x3c468a);const Pi='AUTHZ_URL_KEY',wr=_0x3fc0d2(0x3e3);let bt=class extends _0x1b3b68{constructor(_0x26f47b,_0x1b98ec){var _0x2aab3c=_0x3fc0d2;super(),this[_0x2aab3c(0x1d5)]=_0x26f47b,this[_0x2aab3c(0x281)]=_0x1b98ec,this[_0x2aab3c(0x231)]();}['_initMergeInterceptor'](){var _0x2f136a=_0x3fc0d2;const _0x4e22ac=this;this[_0x2f136a(0x301)](this[_0x2f136a(0x1d5)][_0x2f136a(0x358)]({'priority':0x3e7,'interceptor':_0x473dc8({'isMatch'(_0x557d7a){var _0x264e74=_0x2f136a,_0x51f757;if(_0x557d7a['method']===_0x264e74(0x22e)&&((_0x51f757=_0x557d7a[_0x264e74(0x2a8)])!=null&&_0x51f757[_0x264e74(0x1b3)])){const {objectID:_0x4ca8ca,objectType:_0x59d59f}=_0x557d7a[_0x264e74(0x2a8)][_0x264e74(0x1b3)]||{};if(!_0x4ca8ca||_0x59d59f===void 0x0)return!0x1;const _0x2814d2=_0x4e22ac['_getAPIPrefixPath']()+'/'+_0x59d59f+_0x264e74(0x2ba)+_0x4ca8ca+_0x264e74(0x1d8);if(_0x557d7a[_0x264e74(0x1dd)]===_0x2814d2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x25f4b0){var _0x959f44=_0x2f136a,_0x49da3d;return(_0x49da3d=_0x25f4b0[_0x959f44(0x2a8)])==null?void 0x0:_0x49da3d['body'];},'mergeParamsToRequest'(_0xaabc61,_0x5ac552){var _0x6780a9=_0x2f136a;const _0x45470c=_0x4e22ac[_0x6780a9(0x258)]()+_0x6780a9(0x19d),_0x103416=_0xaabc61[_0x6780a9(0x374)]((_0x35f795,_0x44d89f)=>{var _0x11e88b=_0x6780a9;const {unitID:_0x4bb40d,objectID:_0x550524,objectType:_0x8c5c9c,actions:_0x3845d4}=_0x44d89f;return _0x35f795[_0x4bb40d]||(_0x35f795[_0x4bb40d]={}),_0x35f795[_0x4bb40d][_0x550524]||(_0x35f795[_0x4bb40d][_0x550524]={'objectID':_0x550524,'objectType':_0x8c5c9c,'actions':[]}),_0x35f795[_0x4bb40d][_0x550524][_0x11e88b(0x3f0)]['push'](..._0x3845d4),_0x35f795;},{}),_0x1d2ab4=[];for(const _0x400fea in _0x103416)for(const _0x5da478 in _0x103416[_0x400fea]){const {actions:_0x57a9ac,objectType:_0x5ec74d}=_0x103416[_0x400fea][_0x5da478],_0x5e155e=[...new Set(_0x57a9ac)];_0x1d2ab4[_0x6780a9(0x1ba)]({'unitID':_0x400fea,'objectID':_0x5da478,'objectType':_0x5ec74d,'actions':_0x5e155e});}return new _0x147814(_0x6780a9(0x22e),_0x45470c,{'headers':_0x5ac552[_0x6780a9(0x139)],'withCredentials':_0x5ac552[_0x6780a9(0x289)],'responseType':_0x5ac552[_0x6780a9(0x1e4)],'body':{'requests':_0x1d2ab4}});}},{'distributeResult'(_0x35fb71,_0x6754fa){var _0x569fe4=_0x2f136a;const {objectActions:_0xfeae9a}=_0x35fb71;return _0x6754fa[_0x569fe4(0x2e9)](_0x54c154=>{var _0x3633df=_0x569fe4;const {unitID:_0x5291af,objectID:_0x25a3be,actions:_0x2af87f}=_0x54c154,_0x55493b=_0xfeae9a[_0x3633df(0x1fb)](_0x40c14f=>_0x40c14f['unitID']===_0x5291af&&_0x40c14f[_0x3633df(0x35d)]===_0x25a3be),_0xfdf632=_0x2af87f[_0x3633df(0x2e9)](_0x5f4fb8=>_0x55493b==null?void 0x0:_0x55493b[_0x3633df(0x3f0)][_0x3633df(0x1fb)](_0x49ce9f=>_0x49ce9f['action']===_0x5f4fb8))[_0x3633df(0x256)](_0x9b19b0=>!!_0x9b19b0);return{'config':_0x54c154,'result':{'actions':_0xfdf632,'error':_0x35fb71[_0x3633df(0x24c)]}};});}})}));}[_0x3fc0d2(0x258)](){var _0x2ec8e2=_0x3fc0d2,_0x1bbd7b,_0x1f0bf0;const _0x22e9c7=this[_0x2ec8e2(0x281)][_0x2ec8e2(0x3fe)](Pi),_0x14f90f=this[_0x2ec8e2(0x281)][_0x2ec8e2(0x3fe)](q);return(_0x1f0bf0=(_0x1bbd7b=_0x14f90f==null?void 0x0:_0x14f90f[_0x2ec8e2(0x201)])!=null?_0x1bbd7b:_0x22e9c7)!=null?_0x1f0bf0:wr;}async[_0x3fc0d2(0x307)](_0x51059e){var _0x15ae8a=_0x3fc0d2;const _0x24fe8d=this[_0x15ae8a(0x258)]()+'/'+_0x51059e[_0x15ae8a(0x355)]+_0x15ae8a(0x3a4);return(await this[_0x15ae8a(0x1d5)]['post'](_0x24fe8d,{'body':_0x51059e}))[_0x15ae8a(0x1b3)][_0x15ae8a(0x35d)]||'';}async['list'](_0x4fd62c){var _0x217781=_0x3fc0d2;const _0x556d48=this[_0x217781(0x258)]()+_0x217781(0x323);return(await this[_0x217781(0x1d5)][_0x217781(0x203)](_0x556d48,{'body':_0x4fd62c}))[_0x217781(0x1b3)][_0x217781(0x379)];}async[_0x3fc0d2(0x1d0)](_0x216ece){var _0x559d2c=_0x3fc0d2;const _0x530234=this['_getAPIPrefixPath']()+'/'+_0x216ece[_0x559d2c(0x355)]+_0x559d2c(0x2ba)+_0x216ece[_0x559d2c(0x35d)];await this[_0x559d2c(0x1d5)][_0x559d2c(0x34d)](_0x530234,{'body':_0x216ece});}async['allowed'](_0x21dcb9){var _0x26c68e=_0x3fc0d2;const _0x524cb3=this[_0x26c68e(0x258)]()+'/'+_0x21dcb9[_0x26c68e(0x355)]+_0x26c68e(0x2ba)+_0x21dcb9['objectID']+_0x26c68e(0x1d8);return(await this[_0x26c68e(0x1d5)][_0x26c68e(0x203)](_0x524cb3,{'body':_0x21dcb9}))[_0x26c68e(0x1b3)][_0x26c68e(0x3f0)];}async['batchAllowed'](_0x56d10a){var _0x1a2072=_0x3fc0d2;const _0x2028e7=this[_0x1a2072(0x258)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x1a2072(0x203)](_0x2028e7,{'body':{'requests':_0x56d10a}}))[_0x1a2072(0x1b3)][_0x1a2072(0x32f)];}async[_0x3fc0d2(0x3e7)](_0x3f03b6){var _0x4d8b9a=_0x3fc0d2;const _0x42f536=this[_0x4d8b9a(0x258)]()+'/'+_0x3f03b6[_0x4d8b9a(0x355)]+'/role',_0x5653f7=await this[_0x4d8b9a(0x1d5)]['post'](_0x42f536,{'body':_0x3f03b6});return{'roles':_0x5653f7['body'][_0x4d8b9a(0x3fb)],'actions':_0x5653f7[_0x4d8b9a(0x1b3)]['actions']};}async['deleteCollaborator'](_0x296784){var _0x50fd4f=_0x3fc0d2;const _0x6d0ebc=this[_0x50fd4f(0x258)]()+_0x50fd4f(0x2e5);await this[_0x50fd4f(0x1d5)][_0x50fd4f(0x3aa)](_0x6d0ebc,{'params':{'collaboratorID':_0x296784[_0x50fd4f(0x373)],'objectID':_0x296784['objectID'],'unitID':_0x296784[_0x50fd4f(0x134)]}});}async[_0x3fc0d2(0x15a)](_0x54be7e){var _0x3d1a89=_0x3fc0d2;const _0x5c2768=this[_0x3d1a89(0x258)]()+'/collaborator';await this[_0x3d1a89(0x1d5)]['patch'](_0x5c2768,{'body':_0x54be7e});}async['createCollaborator'](_0x28a1aa){var _0x5d3804=_0x3fc0d2;const _0x2b90cf=this[_0x5d3804(0x258)]()+_0x5d3804(0x2e5);await this[_0x5d3804(0x1d5)]['post'](_0x2b90cf,{'body':_0x28a1aa});}async[_0x3fc0d2(0x2e3)](_0x42d2f7){var _0x2c9c5d=_0x3fc0d2;const _0x36a7b9=this[_0x2c9c5d(0x258)]()+_0x2c9c5d(0x2e5);return(await this[_0x2c9c5d(0x1d5)][_0x2c9c5d(0x2db)](_0x36a7b9,{'params':{'objectID':_0x42d2f7['objectID'],'unitID':_0x42d2f7['unitID']}}))[_0x2c9c5d(0x1b3)][_0x2c9c5d(0x33a)];}async[_0x3fc0d2(0x246)](_0x56694d){var _0x506b6a=_0x3fc0d2;const _0x36de72=this['_getAPIPrefixPath']()+_0x506b6a(0x2e5);await this[_0x506b6a(0x1d5)][_0x506b6a(0x34d)](_0x36de72,{'body':_0x56694d});}};bt=Pr([Xt(0x0,_0x4a0d65(_0x242e5e)),Xt(0x1,_0x4a0d65(_0x10186))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x27a184){var _0x4e7f53=_0x3fc0d2;return _0x27a184&&_0x27a184['__esModule']&&Object[_0x4e7f53(0x24f)]['hasOwnProperty'][_0x4e7f53(0x130)](_0x27a184,_0x4e7f53(0x187))?_0x27a184['default']:_0x27a184;}var Ve={'exports':{}};function Ur(_0x1f9509){var _0x3c17a1=_0x3fc0d2;throw new Error(_0x3c17a1(0x3e8)+_0x1f9509+_0x3c17a1(0x335));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x2d2ac4,_0x2c82d4){(function(_0x428338,_0x466069){var _0x5e17ed=_0x3335;_0x2d2ac4[_0x5e17ed(0x1c9)]=_0x466069();}(Ar,function(){var _0x458529=_0x458529||function(_0x2d6bce,_0x592855){var _0x6e4bcf=_0x3335,_0xb7bb55;if(typeof window<'u'&&window[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=window[_0x6e4bcf(0x2b9)]),typeof self<'u'&&self['crypto']&&(_0xb7bb55=self['crypto']),typeof globalThis<'u'&&globalThis[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=globalThis[_0x6e4bcf(0x2b9)]),!_0xb7bb55&&typeof window<'u'&&window[_0x6e4bcf(0x308)]&&(_0xb7bb55=window[_0x6e4bcf(0x308)]),!_0xb7bb55&&typeof pt<'u'&&pt[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=pt[_0x6e4bcf(0x2b9)]),!_0xb7bb55&&typeof Ur=='function')try{_0xb7bb55=require(_0x6e4bcf(0x2b9));}catch{}var _0x47652d=function(){var _0x563b25=_0x6e4bcf;if(_0xb7bb55){if(typeof _0xb7bb55[_0x563b25(0x3b9)]==_0x563b25(0x392))try{return _0xb7bb55[_0x563b25(0x3b9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb7bb55['randomBytes']==_0x563b25(0x392))try{return _0xb7bb55[_0x563b25(0x3c7)](0x4)[_0x563b25(0x127)]();}catch{}}throw new Error(_0x563b25(0x129));},_0x18e0b3=Object[_0x6e4bcf(0x307)]||(function(){function _0x5c85ad(){}return function(_0x453504){var _0x1b5010=_0x3335,_0x31a524;return _0x5c85ad[_0x1b5010(0x24f)]=_0x453504,_0x31a524=new _0x5c85ad(),_0x5c85ad[_0x1b5010(0x24f)]=null,_0x31a524;};}()),_0x10e73b={},_0x42eae6=_0x10e73b['lib']={},_0x5e4fb8=_0x42eae6[_0x6e4bcf(0x322)]=(function(){return{'extend':function(_0xf04cc9){var _0x57d23a=_0x3335,_0x58c72c=_0x18e0b3(this);return _0xf04cc9&&_0x58c72c[_0x57d23a(0x311)](_0xf04cc9),(!_0x58c72c[_0x57d23a(0x1f8)](_0x57d23a(0x236))||this[_0x57d23a(0x236)]===_0x58c72c[_0x57d23a(0x236)])&&(_0x58c72c[_0x57d23a(0x236)]=function(){var _0x1fc1ea=_0x57d23a;_0x58c72c['$super'][_0x1fc1ea(0x236)][_0x1fc1ea(0x324)](this,arguments);}),_0x58c72c[_0x57d23a(0x236)]['prototype']=_0x58c72c,_0x58c72c[_0x57d23a(0x1c7)]=this,_0x58c72c;},'create':function(){var _0x5e6a81=_0x3335,_0xff49f2=this[_0x5e6a81(0x20b)]();return _0xff49f2[_0x5e6a81(0x236)][_0x5e6a81(0x324)](_0xff49f2,arguments),_0xff49f2;},'init':function(){},'mixIn':function(_0x8cc673){var _0x49b2cd=_0x3335;for(var _0xb423c3 in _0x8cc673)_0x8cc673['hasOwnProperty'](_0xb423c3)&&(this[_0xb423c3]=_0x8cc673[_0xb423c3]);_0x8cc673[_0x49b2cd(0x1f8)](_0x49b2cd(0x2f5))&&(this[_0x49b2cd(0x2f5)]=_0x8cc673['toString']);},'clone':function(){var _0x526a69=_0x3335;return this[_0x526a69(0x236)][_0x526a69(0x24f)][_0x526a69(0x20b)](this);}};}()),_0x55b285=_0x42eae6['WordArray']=_0x5e4fb8[_0x6e4bcf(0x20b)]({'init':function(_0x1b1fc2,_0x2fe454){var _0x2e44df=_0x6e4bcf;_0x1b1fc2=this[_0x2e44df(0x142)]=_0x1b1fc2||[],_0x2fe454!=_0x592855?this[_0x2e44df(0x186)]=_0x2fe454:this['sigBytes']=_0x1b1fc2[_0x2e44df(0x2ee)]*0x4;},'toString':function(_0x11b1ef){var _0x470c98=_0x6e4bcf;return(_0x11b1ef||_0x421c05)[_0x470c98(0x277)](this);},'concat':function(_0x25636a){var _0x3c73be=_0x6e4bcf,_0x1df3f=this[_0x3c73be(0x142)],_0x13468a=_0x25636a[_0x3c73be(0x142)],_0x22a764=this[_0x3c73be(0x186)],_0x1bc6b7=_0x25636a['sigBytes'];if(this[_0x3c73be(0x271)](),_0x22a764%0x4)for(var _0x5543ba=0x0;_0x5543ba<_0x1bc6b7;_0x5543ba++){var _0x46cc70=_0x13468a[_0x5543ba>>>0x2]>>>0x18-_0x5543ba%0x4*0x8&0xff;_0x1df3f[_0x22a764+_0x5543ba>>>0x2]|=_0x46cc70<<0x18-(_0x22a764+_0x5543ba)%0x4*0x8;}else{for(var _0x303af5=0x0;_0x303af5<_0x1bc6b7;_0x303af5+=0x4)_0x1df3f[_0x22a764+_0x303af5>>>0x2]=_0x13468a[_0x303af5>>>0x2];}return this[_0x3c73be(0x186)]+=_0x1bc6b7,this;},'clamp':function(){var _0x3bbe66=_0x6e4bcf,_0x212b3d=this[_0x3bbe66(0x142)],_0x3ce700=this[_0x3bbe66(0x186)];_0x212b3d[_0x3ce700>>>0x2]&=0xffffffff<<0x20-_0x3ce700%0x4*0x8,_0x212b3d[_0x3bbe66(0x2ee)]=_0x2d6bce[_0x3bbe66(0x3c5)](_0x3ce700/0x4);},'clone':function(){var _0x2ea232=_0x6e4bcf,_0x29db5a=_0x5e4fb8[_0x2ea232(0x168)][_0x2ea232(0x130)](this);return _0x29db5a['words']=this[_0x2ea232(0x142)]['slice'](0x0),_0x29db5a;},'random':function(_0x49a0e0){var _0x37b5e7=_0x6e4bcf;for(var _0x54072c=[],_0x52f6c6=0x0;_0x52f6c6<_0x49a0e0;_0x52f6c6+=0x4)_0x54072c[_0x37b5e7(0x1ba)](_0x47652d());return new _0x55b285[(_0x37b5e7(0x236))](_0x54072c,_0x49a0e0);}}),_0x289598=_0x10e73b['enc']={},_0x421c05=_0x289598[_0x6e4bcf(0x368)]={'stringify':function(_0x1a146f){var _0x48849e=_0x6e4bcf;for(var _0x268e04=_0x1a146f['words'],_0xe76e6a=_0x1a146f[_0x48849e(0x186)],_0x5c5f6b=[],_0x34fcb4=0x0;_0x34fcb4<_0xe76e6a;_0x34fcb4++){var _0x1a0a3c=_0x268e04[_0x34fcb4>>>0x2]>>>0x18-_0x34fcb4%0x4*0x8&0xff;_0x5c5f6b[_0x48849e(0x1ba)]((_0x1a0a3c>>>0x4)[_0x48849e(0x2f5)](0x10)),_0x5c5f6b[_0x48849e(0x1ba)]((_0x1a0a3c&0xf)[_0x48849e(0x2f5)](0x10));}return _0x5c5f6b[_0x48849e(0x183)]('');},'parse':function(_0x14f038){var _0x5346ca=_0x6e4bcf;for(var _0x17b403=_0x14f038[_0x5346ca(0x2ee)],_0x360945=[],_0x50dcbc=0x0;_0x50dcbc<_0x17b403;_0x50dcbc+=0x2)_0x360945[_0x50dcbc>>>0x3]|=parseInt(_0x14f038[_0x5346ca(0x2dd)](_0x50dcbc,0x2),0x10)<<0x18-_0x50dcbc%0x8*0x4;return new _0x55b285[(_0x5346ca(0x236))](_0x360945,_0x17b403/0x2);}},_0x41d50a=_0x289598[_0x6e4bcf(0x125)]={'stringify':function(_0x168326){var _0x3f926b=_0x6e4bcf;for(var _0x48f1ba=_0x168326[_0x3f926b(0x142)],_0x310d3b=_0x168326['sigBytes'],_0x1a81d1=[],_0x5224f7=0x0;_0x5224f7<_0x310d3b;_0x5224f7++){var _0x253ff1=_0x48f1ba[_0x5224f7>>>0x2]>>>0x18-_0x5224f7%0x4*0x8&0xff;_0x1a81d1[_0x3f926b(0x1ba)](String[_0x3f926b(0x31e)](_0x253ff1));}return _0x1a81d1[_0x3f926b(0x183)]('');},'parse':function(_0x217350){var _0x3149da=_0x6e4bcf;for(var _0x4254c5=_0x217350['length'],_0x5ab9ae=[],_0x451656=0x0;_0x451656<_0x4254c5;_0x451656++)_0x5ab9ae[_0x451656>>>0x2]|=(_0x217350[_0x3149da(0x32e)](_0x451656)&0xff)<<0x18-_0x451656%0x4*0x8;return new _0x55b285[(_0x3149da(0x236))](_0x5ab9ae,_0x4254c5);}},_0x535c51=_0x289598[_0x6e4bcf(0x264)]={'stringify':function(_0x4927ef){var _0x2edf35=_0x6e4bcf;try{return decodeURIComponent(escape(_0x41d50a[_0x2edf35(0x277)](_0x4927ef)));}catch{throw new Error(_0x2edf35(0x2bd));}},'parse':function(_0x57b833){return _0x41d50a['parse'](unescape(encodeURIComponent(_0x57b833)));}},_0xf9d4b5=_0x42eae6[_0x6e4bcf(0x32b)]=_0x5e4fb8[_0x6e4bcf(0x20b)]({'reset':function(){var _0xe24b46=_0x6e4bcf;this[_0xe24b46(0x141)]=new _0x55b285[(_0xe24b46(0x236))](),this['_nDataBytes']=0x0;},'_append':function(_0x1d2673){var _0x166e24=_0x6e4bcf;typeof _0x1d2673==_0x166e24(0x28f)&&(_0x1d2673=_0x535c51[_0x166e24(0x147)](_0x1d2673)),this[_0x166e24(0x141)][_0x166e24(0x235)](_0x1d2673),this['_nDataBytes']+=_0x1d2673['sigBytes'];},'_process':function(_0x8e576b){var _0x4f6ae2=_0x6e4bcf,_0x4d67ed,_0x1b83c2=this[_0x4f6ae2(0x141)],_0x2a27e7=_0x1b83c2[_0x4f6ae2(0x142)],_0x314435=_0x1b83c2[_0x4f6ae2(0x186)],_0xf4c93c=this[_0x4f6ae2(0x3a5)],_0x3d101d=_0xf4c93c*0x4,_0x299396=_0x314435/_0x3d101d;_0x8e576b?_0x299396=_0x2d6bce['ceil'](_0x299396):_0x299396=_0x2d6bce[_0x4f6ae2(0x13b)]((_0x299396|0x0)-this[_0x4f6ae2(0x23e)],0x0);var _0x4f6388=_0x299396*_0xf4c93c,_0x31a550=_0x2d6bce[_0x4f6ae2(0x30d)](_0x4f6388*0x4,_0x314435);if(_0x4f6388){for(var _0x533f56=0x0;_0x533f56<_0x4f6388;_0x533f56+=_0xf4c93c)this[_0x4f6ae2(0x225)](_0x2a27e7,_0x533f56);_0x4d67ed=_0x2a27e7['splice'](0x0,_0x4f6388),_0x1b83c2[_0x4f6ae2(0x186)]-=_0x31a550;}return new _0x55b285[(_0x4f6ae2(0x236))](_0x4d67ed,_0x31a550);},'clone':function(){var _0x28333b=_0x6e4bcf,_0x2c4851=_0x5e4fb8[_0x28333b(0x168)]['call'](this);return _0x2c4851['_data']=this[_0x28333b(0x141)][_0x28333b(0x168)](),_0x2c4851;},'_minBufferSize':0x0});_0x42eae6[_0x6e4bcf(0x145)]=_0xf9d4b5[_0x6e4bcf(0x20b)]({'cfg':_0x5e4fb8[_0x6e4bcf(0x20b)](),'init':function(_0x2b977a){var _0x223e6e=_0x6e4bcf;this[_0x223e6e(0x313)]=this[_0x223e6e(0x313)][_0x223e6e(0x20b)](_0x2b977a),this[_0x223e6e(0x15e)]();},'reset':function(){var _0x361400=_0x6e4bcf;_0xf9d4b5[_0x361400(0x15e)][_0x361400(0x130)](this),this[_0x361400(0x136)]();},'update':function(_0x271745){var _0x15cfc4=_0x6e4bcf;return this[_0x15cfc4(0x20f)](_0x271745),this['_process'](),this;},'finalize':function(_0x38a22d){var _0x26efc3=_0x6e4bcf;_0x38a22d&&this[_0x26efc3(0x20f)](_0x38a22d);var _0x40858a=this['_doFinalize']();return _0x40858a;},'blockSize':0x10,'_createHelper':function(_0x1d1b96){return function(_0x50c17b,_0x588c4d){var _0xc64d8d=_0x3335;return new _0x1d1b96[(_0xc64d8d(0x236))](_0x588c4d)['finalize'](_0x50c17b);};},'_createHmacHelper':function(_0x202299){return function(_0x6818df,_0x4e9aee){var _0x219d6c=_0x3335;return new _0x116e1c[(_0x219d6c(0x1a3))]['init'](_0x202299,_0x4e9aee)[_0x219d6c(0x3c1)](_0x6818df);};}});var _0x116e1c=_0x10e73b['algo']={};return _0x10e73b;}(Math);return _0x458529;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x3fc0d2(0x1c9)],Qt;function wi(){var _0xfaf7c5=_0x3fc0d2;return Qt||(Qt=0x1,function(_0x4b88ed,_0x413c05){(function(_0x69875b,_0x17338c){var _0x345d51=_0x3335;_0x4b88ed[_0x345d51(0x1c9)]=_0x17338c(ne());}(xr,function(_0x2f9434){var _0x4eb34d=_0x3335;return(function(){var _0x1b4e5b=_0x3335,_0x2c8387=_0x2f9434,_0x2f4217=_0x2c8387[_0x1b4e5b(0x2b6)],_0x54d95d=_0x2f4217['WordArray'],_0x53a12d=_0x2c8387[_0x1b4e5b(0x372)];_0x53a12d[_0x1b4e5b(0x1ed)]={'stringify':function(_0x28c2ee){var _0x456fac=_0x1b4e5b,_0x311d8d=_0x28c2ee[_0x456fac(0x142)],_0x2bfce9=_0x28c2ee[_0x456fac(0x186)],_0x500338=this['_map'];_0x28c2ee[_0x456fac(0x271)]();for(var _0x420bf9=[],_0x5e32a1=0x0;_0x5e32a1<_0x2bfce9;_0x5e32a1+=0x3)for(var _0x2fa948=_0x311d8d[_0x5e32a1>>>0x2]>>>0x18-_0x5e32a1%0x4*0x8&0xff,_0x214bb2=_0x311d8d[_0x5e32a1+0x1>>>0x2]>>>0x18-(_0x5e32a1+0x1)%0x4*0x8&0xff,_0x5c9bbc=_0x311d8d[_0x5e32a1+0x2>>>0x2]>>>0x18-(_0x5e32a1+0x2)%0x4*0x8&0xff,_0x4deaec=_0x2fa948<<0x10|_0x214bb2<<0x8|_0x5c9bbc,_0x25c3d4=0x0;_0x25c3d4<0x4&&_0x5e32a1+_0x25c3d4*0.75<_0x2bfce9;_0x25c3d4++)_0x420bf9[_0x456fac(0x1ba)](_0x500338[_0x456fac(0x2f0)](_0x4deaec>>>0x6*(0x3-_0x25c3d4)&0x3f));var _0x5a1942=_0x500338[_0x456fac(0x2f0)](0x40);if(_0x5a1942){for(;_0x420bf9[_0x456fac(0x2ee)]%0x4;)_0x420bf9[_0x456fac(0x1ba)](_0x5a1942);}return _0x420bf9['join']('');},'parse':function(_0x3d9e92){var _0x41b9e5=_0x1b4e5b,_0x38c7a7=_0x3d9e92[_0x41b9e5(0x2ee)],_0x50eeef=this[_0x41b9e5(0x2ef)],_0x345a1b=this[_0x41b9e5(0x2d9)];if(!_0x345a1b){_0x345a1b=this[_0x41b9e5(0x2d9)]=[];for(var _0x19df69=0x0;_0x19df69<_0x50eeef[_0x41b9e5(0x2ee)];_0x19df69++)_0x345a1b[_0x50eeef[_0x41b9e5(0x32e)](_0x19df69)]=_0x19df69;}var _0x547e52=_0x50eeef[_0x41b9e5(0x2f0)](0x40);if(_0x547e52){var _0x1b778c=_0x3d9e92[_0x41b9e5(0x31f)](_0x547e52);_0x1b778c!==-0x1&&(_0x38c7a7=_0x1b778c);}return _0x2a00ed(_0x3d9e92,_0x38c7a7,_0x345a1b);},'_map':_0x1b4e5b(0x388)};function _0x2a00ed(_0x107ed1,_0x1f9033,_0xf81628){var _0x415c8c=_0x1b4e5b;for(var _0x2e33e1=[],_0x2850f8=0x0,_0x299eda=0x0;_0x299eda<_0x1f9033;_0x299eda++)if(_0x299eda%0x4){var _0x51db31=_0xf81628[_0x107ed1[_0x415c8c(0x32e)](_0x299eda-0x1)]<<_0x299eda%0x4*0x2,_0xec43b2=_0xf81628[_0x107ed1[_0x415c8c(0x32e)](_0x299eda)]>>>0x6-_0x299eda%0x4*0x2,_0x2d6d2e=_0x51db31|_0xec43b2;_0x2e33e1[_0x2850f8>>>0x2]|=_0x2d6d2e<<0x18-_0x2850f8%0x4*0x8,_0x2850f8++;}return _0x54d95d[_0x415c8c(0x307)](_0x2e33e1,_0x2850f8);}}()),_0x2f9434['enc'][_0x4eb34d(0x1ed)];}));}(We)),We[_0xfaf7c5(0x1c9)];}var Ke={'exports':{}},Lr=Ke[_0x3fc0d2(0x1c9)],ei;function Mr(){var _0x45404f=_0x3fc0d2;return ei||(ei=0x1,function(_0x7f4c44,_0x426409){(function(_0x51e511,_0x12f1d9){var _0x3ddd8c=_0x3335;_0x7f4c44[_0x3ddd8c(0x1c9)]=_0x12f1d9(ne());}(Lr,function(_0x931b40){return function(_0x1e84cf){var _0x1bdc49=_0x3335,_0x590090=_0x931b40,_0x2b8adc=_0x590090[_0x1bdc49(0x2b6)],_0x391698=_0x2b8adc[_0x1bdc49(0x3b4)],_0xec01c=_0x2b8adc[_0x1bdc49(0x145)],_0x1c5396=_0x590090[_0x1bdc49(0x120)],_0x2f9d8e=[];(function(){var _0x4af407=_0x1bdc49;for(var _0x1d2f5e=0x0;_0x1d2f5e<0x40;_0x1d2f5e++)_0x2f9d8e[_0x1d2f5e]=_0x1e84cf[_0x4af407(0x35c)](_0x1e84cf[_0x4af407(0x216)](_0x1d2f5e+0x1))*0x100000000|0x0;}());var _0x44ae3c=_0x1c5396['MD5']=_0xec01c[_0x1bdc49(0x20b)]({'_doReset':function(){var _0x119da2=_0x1bdc49;this['_hash']=new _0x391698[(_0x119da2(0x236))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5a7c36,_0x6861cb){var _0x53e8fd=_0x1bdc49;for(var _0x1f4047=0x0;_0x1f4047<0x10;_0x1f4047++){var _0x228f73=_0x6861cb+_0x1f4047,_0x1e3391=_0x5a7c36[_0x228f73];_0x5a7c36[_0x228f73]=(_0x1e3391<<0x8|_0x1e3391>>>0x18)&0xff00ff|(_0x1e3391<<0x18|_0x1e3391>>>0x8)&0xff00ff00;}var _0x20136f=this[_0x53e8fd(0x14f)]['words'],_0x21a042=_0x5a7c36[_0x6861cb+0x0],_0x1e0214=_0x5a7c36[_0x6861cb+0x1],_0x41646f=_0x5a7c36[_0x6861cb+0x2],_0x2fb0f6=_0x5a7c36[_0x6861cb+0x3],_0x35998c=_0x5a7c36[_0x6861cb+0x4],_0x4581c3=_0x5a7c36[_0x6861cb+0x5],_0x190d75=_0x5a7c36[_0x6861cb+0x6],_0x1bea0d=_0x5a7c36[_0x6861cb+0x7],_0x2d7c82=_0x5a7c36[_0x6861cb+0x8],_0x5b2348=_0x5a7c36[_0x6861cb+0x9],_0x1b3df5=_0x5a7c36[_0x6861cb+0xa],_0x517dfa=_0x5a7c36[_0x6861cb+0xb],_0x3bb5f7=_0x5a7c36[_0x6861cb+0xc],_0x5e6c20=_0x5a7c36[_0x6861cb+0xd],_0x4887e9=_0x5a7c36[_0x6861cb+0xe],_0xd1417a=_0x5a7c36[_0x6861cb+0xf],_0x552d6d=_0x20136f[0x0],_0x1a548e=_0x20136f[0x1],_0xd32c7c=_0x20136f[0x2],_0x92c016=_0x20136f[0x3];_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x21a042,0x7,_0x2f9d8e[0x0]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1e0214,0xc,_0x2f9d8e[0x1]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x41646f,0x11,_0x2f9d8e[0x2]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x2fb0f6,0x16,_0x2f9d8e[0x3]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x35998c,0x7,_0x2f9d8e[0x4]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x4581c3,0xc,_0x2f9d8e[0x5]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x190d75,0x11,_0x2f9d8e[0x6]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1bea0d,0x16,_0x2f9d8e[0x7]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x2d7c82,0x7,_0x2f9d8e[0x8]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x5b2348,0xc,_0x2f9d8e[0x9]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1b3df5,0x11,_0x2f9d8e[0xa]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x517dfa,0x16,_0x2f9d8e[0xb]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x3bb5f7,0x7,_0x2f9d8e[0xc]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x5e6c20,0xc,_0x2f9d8e[0xd]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x4887e9,0x11,_0x2f9d8e[0xe]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0xd1417a,0x16,_0x2f9d8e[0xf]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x1e0214,0x5,_0x2f9d8e[0x10]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x190d75,0x9,_0x2f9d8e[0x11]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x517dfa,0xe,_0x2f9d8e[0x12]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x21a042,0x14,_0x2f9d8e[0x13]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x4581c3,0x5,_0x2f9d8e[0x14]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1b3df5,0x9,_0x2f9d8e[0x15]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0xd1417a,0xe,_0x2f9d8e[0x16]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x35998c,0x14,_0x2f9d8e[0x17]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5b2348,0x5,_0x2f9d8e[0x18]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x4887e9,0x9,_0x2f9d8e[0x19]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x2fb0f6,0xe,_0x2f9d8e[0x1a]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x2d7c82,0x14,_0x2f9d8e[0x1b]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5e6c20,0x5,_0x2f9d8e[0x1c]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x41646f,0x9,_0x2f9d8e[0x1d]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1bea0d,0xe,_0x2f9d8e[0x1e]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x3bb5f7,0x14,_0x2f9d8e[0x1f]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x4581c3,0x4,_0x2f9d8e[0x20]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x2d7c82,0xb,_0x2f9d8e[0x21]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x517dfa,0x10,_0x2f9d8e[0x22]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x4887e9,0x17,_0x2f9d8e[0x23]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x1e0214,0x4,_0x2f9d8e[0x24]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x35998c,0xb,_0x2f9d8e[0x25]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1bea0d,0x10,_0x2f9d8e[0x26]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1b3df5,0x17,_0x2f9d8e[0x27]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5e6c20,0x4,_0x2f9d8e[0x28]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x21a042,0xb,_0x2f9d8e[0x29]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x2fb0f6,0x10,_0x2f9d8e[0x2a]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x190d75,0x17,_0x2f9d8e[0x2b]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5b2348,0x4,_0x2f9d8e[0x2c]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x3bb5f7,0xb,_0x2f9d8e[0x2d]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0xd1417a,0x10,_0x2f9d8e[0x2e]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x41646f,0x17,_0x2f9d8e[0x2f]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x21a042,0x6,_0x2f9d8e[0x30]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1bea0d,0xa,_0x2f9d8e[0x31]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x4887e9,0xf,_0x2f9d8e[0x32]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x4581c3,0x15,_0x2f9d8e[0x33]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x3bb5f7,0x6,_0x2f9d8e[0x34]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x2fb0f6,0xa,_0x2f9d8e[0x35]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1b3df5,0xf,_0x2f9d8e[0x36]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1e0214,0x15,_0x2f9d8e[0x37]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x2d7c82,0x6,_0x2f9d8e[0x38]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0xd1417a,0xa,_0x2f9d8e[0x39]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x190d75,0xf,_0x2f9d8e[0x3a]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x5e6c20,0x15,_0x2f9d8e[0x3b]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x35998c,0x6,_0x2f9d8e[0x3c]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x517dfa,0xa,_0x2f9d8e[0x3d]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x41646f,0xf,_0x2f9d8e[0x3e]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x5b2348,0x15,_0x2f9d8e[0x3f]),_0x20136f[0x0]=_0x20136f[0x0]+_0x552d6d|0x0,_0x20136f[0x1]=_0x20136f[0x1]+_0x1a548e|0x0,_0x20136f[0x2]=_0x20136f[0x2]+_0xd32c7c|0x0,_0x20136f[0x3]=_0x20136f[0x3]+_0x92c016|0x0;},'_doFinalize':function(){var _0x3c97da=_0x1bdc49,_0x217181=this['_data'],_0x1506b4=_0x217181[_0x3c97da(0x142)],_0x334942=this['_nDataBytes']*0x8,_0xf0e2f8=_0x217181[_0x3c97da(0x186)]*0x8;_0x1506b4[_0xf0e2f8>>>0x5]|=0x80<<0x18-_0xf0e2f8%0x20;var _0x437471=_0x1e84cf[_0x3c97da(0x177)](_0x334942/0x100000000),_0x7b378=_0x334942;_0x1506b4[(_0xf0e2f8+0x40>>>0x9<<0x4)+0xf]=(_0x437471<<0x8|_0x437471>>>0x18)&0xff00ff|(_0x437471<<0x18|_0x437471>>>0x8)&0xff00ff00,_0x1506b4[(_0xf0e2f8+0x40>>>0x9<<0x4)+0xe]=(_0x7b378<<0x8|_0x7b378>>>0x18)&0xff00ff|(_0x7b378<<0x18|_0x7b378>>>0x8)&0xff00ff00,_0x217181[_0x3c97da(0x186)]=(_0x1506b4['length']+0x1)*0x4,this[_0x3c97da(0x12c)]();for(var _0x4fa99e=this[_0x3c97da(0x14f)],_0x3cffa6=_0x4fa99e[_0x3c97da(0x142)],_0x98c5ab=0x0;_0x98c5ab<0x4;_0x98c5ab++){var _0x249a7=_0x3cffa6[_0x98c5ab];_0x3cffa6[_0x98c5ab]=(_0x249a7<<0x8|_0x249a7>>>0x18)&0xff00ff|(_0x249a7<<0x18|_0x249a7>>>0x8)&0xff00ff00;}return _0x4fa99e;},'clone':function(){var _0x828425=_0x1bdc49,_0x2aa234=_0xec01c[_0x828425(0x168)][_0x828425(0x130)](this);return _0x2aa234[_0x828425(0x14f)]=this['_hash'][_0x828425(0x168)](),_0x2aa234;}});function _0x22566d(_0x2c4d70,_0x400671,_0x472a15,_0x25d46c,_0xd2ea33,_0x9c9318,_0x4a5f0d){var _0x2ab9b1=_0x2c4d70+(_0x400671&_0x472a15|~_0x400671&_0x25d46c)+_0xd2ea33+_0x4a5f0d;return(_0x2ab9b1<<_0x9c9318|_0x2ab9b1>>>0x20-_0x9c9318)+_0x400671;}function _0x4f39a9(_0x709275,_0x5cd524,_0x15e7a4,_0x35032a,_0x2c8127,_0x40efea,_0x338397){var _0x4a9da6=_0x709275+(_0x5cd524&_0x35032a|_0x15e7a4&~_0x35032a)+_0x2c8127+_0x338397;return(_0x4a9da6<<_0x40efea|_0x4a9da6>>>0x20-_0x40efea)+_0x5cd524;}function _0x351172(_0x1ed2ac,_0x8e0a93,_0x2216e4,_0x47db2a,_0xe8baca,_0x3d4212,_0x84d16d){var _0x17d853=_0x1ed2ac+(_0x8e0a93^_0x2216e4^_0x47db2a)+_0xe8baca+_0x84d16d;return(_0x17d853<<_0x3d4212|_0x17d853>>>0x20-_0x3d4212)+_0x8e0a93;}function _0x2fd3e6(_0x6b8043,_0xc761cf,_0xc920c3,_0x42affe,_0x53d9d5,_0xa72402,_0x2db144){var _0x4692a6=_0x6b8043+(_0xc920c3^(_0xc761cf|~_0x42affe))+_0x53d9d5+_0x2db144;return(_0x4692a6<<_0xa72402|_0x4692a6>>>0x20-_0xa72402)+_0xc761cf;}_0x590090[_0x1bdc49(0x303)]=_0xec01c[_0x1bdc49(0x3a9)](_0x44ae3c),_0x590090[_0x1bdc49(0x3c6)]=_0xec01c[_0x1bdc49(0x30b)](_0x44ae3c);}(Math),_0x931b40['MD5'];}));}(Ke)),Ke[_0x45404f(0x1c9)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x3fc0d2(0x1c9)],ti;function Hr(){var _0x4ee1a2=_0x3fc0d2;return ti||(ti=0x1,function(_0xae1376,_0x418b2c){(function(_0x5ac5e4,_0x2a73f2){var _0x2f4592=_0x3335;_0xae1376[_0x2f4592(0x1c9)]=_0x2a73f2(ne());}($r,function(_0x4b0271){return(function(){var _0x4cc964=_0x3335,_0x223e45=_0x4b0271,_0x2d183d=_0x223e45[_0x4cc964(0x2b6)],_0x27d541=_0x2d183d[_0x4cc964(0x3b4)],_0xd2a5fd=_0x2d183d['Hasher'],_0x14b0a9=_0x223e45[_0x4cc964(0x120)],_0x2d580e=[],_0x1983fd=_0x14b0a9['SHA1']=_0xd2a5fd[_0x4cc964(0x20b)]({'_doReset':function(){var _0x4013e4=_0x4cc964;this[_0x4013e4(0x14f)]=new _0x27d541[(_0x4013e4(0x236))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b8ba8,_0x5121f0){var _0x274f29=_0x4cc964;for(var _0x555011=this[_0x274f29(0x14f)][_0x274f29(0x142)],_0xcf4067=_0x555011[0x0],_0x1255d1=_0x555011[0x1],_0x2f42a4=_0x555011[0x2],_0x52860a=_0x555011[0x3],_0x2b153a=_0x555011[0x4],_0x38e441=0x0;_0x38e441<0x50;_0x38e441++){if(_0x38e441<0x10)_0x2d580e[_0x38e441]=_0x4b8ba8[_0x5121f0+_0x38e441]|0x0;else{var _0x2f67e6=_0x2d580e[_0x38e441-0x3]^_0x2d580e[_0x38e441-0x8]^_0x2d580e[_0x38e441-0xe]^_0x2d580e[_0x38e441-0x10];_0x2d580e[_0x38e441]=_0x2f67e6<<0x1|_0x2f67e6>>>0x1f;}var _0x3c573e=(_0xcf4067<<0x5|_0xcf4067>>>0x1b)+_0x2b153a+_0x2d580e[_0x38e441];_0x38e441<0x14?_0x3c573e+=(_0x1255d1&_0x2f42a4|~_0x1255d1&_0x52860a)+0x5a827999:_0x38e441<0x28?_0x3c573e+=(_0x1255d1^_0x2f42a4^_0x52860a)+0x6ed9eba1:_0x38e441<0x3c?_0x3c573e+=(_0x1255d1&_0x2f42a4|_0x1255d1&_0x52860a|_0x2f42a4&_0x52860a)-0x70e44324:_0x3c573e+=(_0x1255d1^_0x2f42a4^_0x52860a)-0x359d3e2a,_0x2b153a=_0x52860a,_0x52860a=_0x2f42a4,_0x2f42a4=_0x1255d1<<0x1e|_0x1255d1>>>0x2,_0x1255d1=_0xcf4067,_0xcf4067=_0x3c573e;}_0x555011[0x0]=_0x555011[0x0]+_0xcf4067|0x0,_0x555011[0x1]=_0x555011[0x1]+_0x1255d1|0x0,_0x555011[0x2]=_0x555011[0x2]+_0x2f42a4|0x0,_0x555011[0x3]=_0x555011[0x3]+_0x52860a|0x0,_0x555011[0x4]=_0x555011[0x4]+_0x2b153a|0x0;},'_doFinalize':function(){var _0x360209=_0x4cc964,_0x57c3e3=this[_0x360209(0x141)],_0xe612c9=_0x57c3e3[_0x360209(0x142)],_0x5512d8=this[_0x360209(0x202)]*0x8,_0x552791=_0x57c3e3[_0x360209(0x186)]*0x8;return _0xe612c9[_0x552791>>>0x5]|=0x80<<0x18-_0x552791%0x20,_0xe612c9[(_0x552791+0x40>>>0x9<<0x4)+0xe]=Math[_0x360209(0x177)](_0x5512d8/0x100000000),_0xe612c9[(_0x552791+0x40>>>0x9<<0x4)+0xf]=_0x5512d8,_0x57c3e3['sigBytes']=_0xe612c9['length']*0x4,this[_0x360209(0x12c)](),this[_0x360209(0x14f)];},'clone':function(){var _0x5419ba=_0x4cc964,_0x1377f4=_0xd2a5fd['clone']['call'](this);return _0x1377f4[_0x5419ba(0x14f)]=this[_0x5419ba(0x14f)][_0x5419ba(0x168)](),_0x1377f4;}});_0x223e45[_0x4cc964(0x27d)]=_0xd2a5fd[_0x4cc964(0x3a9)](_0x1983fd),_0x223e45[_0x4cc964(0x16e)]=_0xd2a5fd['_createHmacHelper'](_0x1983fd);}()),_0x4b0271['SHA1'];}));}(qe)),qe[_0x4ee1a2(0x1c9)];}var ze={'exports':{}},kr=ze[_0x3fc0d2(0x1c9)],ii;function jr(){return ii||(ii=0x1,function(_0x27595b,_0x413b82){(function(_0x9f1db3,_0x10764f){_0x27595b['exports']=_0x10764f(ne());}(kr,function(_0x319132){(function(){var _0x58980d=_0x3335,_0x763379=_0x319132,_0x5d856b=_0x763379['lib'],_0x42bb24=_0x5d856b['Base'],_0x39ee40=_0x763379[_0x58980d(0x372)],_0x51d6fd=_0x39ee40[_0x58980d(0x264)],_0x25baec=_0x763379[_0x58980d(0x120)];_0x25baec[_0x58980d(0x1a3)]=_0x42bb24['extend']({'init':function(_0x15a942,_0x4c30a9){var _0x3c7356=_0x58980d;_0x15a942=this[_0x3c7356(0x23a)]=new _0x15a942['init'](),typeof _0x4c30a9==_0x3c7356(0x28f)&&(_0x4c30a9=_0x51d6fd[_0x3c7356(0x147)](_0x4c30a9));var _0x332402=_0x15a942[_0x3c7356(0x3a5)],_0x4d14bf=_0x332402*0x4;_0x4c30a9['sigBytes']>_0x4d14bf&&(_0x4c30a9=_0x15a942['finalize'](_0x4c30a9)),_0x4c30a9[_0x3c7356(0x271)]();for(var _0x343fa1=this['_oKey']=_0x4c30a9[_0x3c7356(0x168)](),_0x1564bf=this['_iKey']=_0x4c30a9['clone'](),_0x167829=_0x343fa1[_0x3c7356(0x142)],_0x14c454=_0x1564bf[_0x3c7356(0x142)],_0x45ceb9=0x0;_0x45ceb9<_0x332402;_0x45ceb9++)_0x167829[_0x45ceb9]^=0x5c5c5c5c,_0x14c454[_0x45ceb9]^=0x36363636;_0x343fa1[_0x3c7356(0x186)]=_0x1564bf[_0x3c7356(0x186)]=_0x4d14bf,this[_0x3c7356(0x15e)]();},'reset':function(){var _0x149054=_0x58980d,_0x4e398b=this[_0x149054(0x23a)];_0x4e398b[_0x149054(0x15e)](),_0x4e398b[_0x149054(0x1d0)](this[_0x149054(0x29c)]);},'update':function(_0x160942){var _0x26f7f0=_0x58980d;return this[_0x26f7f0(0x23a)][_0x26f7f0(0x1d0)](_0x160942),this;},'finalize':function(_0x1cf466){var _0xc72c9b=_0x58980d,_0x30b032=this[_0xc72c9b(0x23a)],_0x18c5d5=_0x30b032[_0xc72c9b(0x3c1)](_0x1cf466);_0x30b032[_0xc72c9b(0x15e)]();var _0x36822b=_0x30b032[_0xc72c9b(0x3c1)](this[_0xc72c9b(0x282)][_0xc72c9b(0x168)]()[_0xc72c9b(0x235)](_0x18c5d5));return _0x36822b;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x3fc0d2(0x1c9)],ni;function Ui(){var _0x5af109=_0x3fc0d2;return ni||(ni=0x1,function(_0x432222,_0xc35a01){(function(_0x4df22e,_0x351b56,_0x33627c){var _0x4380f1=_0x3335;_0x432222[_0x4380f1(0x1c9)]=_0x351b56(ne(),Hr(),jr());}(Br,function(_0x4f9ad9){return(function(){var _0x397fbc=_0x3335,_0x5829ac=_0x4f9ad9,_0x42310e=_0x5829ac[_0x397fbc(0x2b6)],_0xd3d97e=_0x42310e['Base'],_0x42f914=_0x42310e['WordArray'],_0x2279d5=_0x5829ac[_0x397fbc(0x120)],_0x307aa7=_0x2279d5[_0x397fbc(0x303)],_0x129a68=_0x2279d5[_0x397fbc(0x178)]=_0xd3d97e[_0x397fbc(0x20b)]({'cfg':_0xd3d97e[_0x397fbc(0x20b)]({'keySize':0x80/0x20,'hasher':_0x307aa7,'iterations':0x1}),'init':function(_0x436ac5){var _0x3958c2=_0x397fbc;this[_0x3958c2(0x313)]=this['cfg'][_0x3958c2(0x20b)](_0x436ac5);},'compute':function(_0x1ca617,_0x5d5157){var _0x11da2d=_0x397fbc;for(var _0x54cd19,_0x466e7c=this['cfg'],_0x57313b=_0x466e7c[_0x11da2d(0x2e4)]['create'](),_0x336909=_0x42f914['create'](),_0x22886f=_0x336909['words'],_0x8e4719=_0x466e7c[_0x11da2d(0x25c)],_0x1ae4e6=_0x466e7c[_0x11da2d(0x2a2)];_0x22886f[_0x11da2d(0x2ee)]<_0x8e4719;){_0x54cd19&&_0x57313b['update'](_0x54cd19),_0x54cd19=_0x57313b[_0x11da2d(0x1d0)](_0x1ca617)['finalize'](_0x5d5157),_0x57313b[_0x11da2d(0x15e)]();for(var _0x5ac10b=0x1;_0x5ac10b<_0x1ae4e6;_0x5ac10b++)_0x54cd19=_0x57313b[_0x11da2d(0x3c1)](_0x54cd19),_0x57313b['reset']();_0x336909[_0x11da2d(0x235)](_0x54cd19);}return _0x336909[_0x11da2d(0x186)]=_0x8e4719*0x4,_0x336909;}});_0x5829ac[_0x397fbc(0x178)]=function(_0x647e40,_0x5d3093,_0x3a28ab){var _0x32e700=_0x397fbc;return _0x129a68[_0x32e700(0x307)](_0x3a28ab)[_0x32e700(0x305)](_0x647e40,_0x5d3093);};}()),_0x4f9ad9['EvpKDF'];}));}(Ye)),Ye[_0x5af109(0x1c9)];}var Je={'exports':{}},Fr=Je[_0x3fc0d2(0x1c9)],ri;function Ai(){return ri||(ri=0x1,function(_0x5200ea,_0x112459){(function(_0x330172,_0x450f94,_0xa76c4a){var _0x45876c=_0x3335;_0x5200ea[_0x45876c(0x1c9)]=_0x450f94(ne(),Ui());}(Fr,function(_0x41b05e){var _0x47bd3f=_0x3335;_0x41b05e[_0x47bd3f(0x2b6)][_0x47bd3f(0x112)]||function(_0x166335){var _0x99100b=_0x47bd3f,_0x447353=_0x41b05e,_0x121ae4=_0x447353[_0x99100b(0x2b6)],_0x99ed82=_0x121ae4['Base'],_0x298ce2=_0x121ae4['WordArray'],_0x17b8f0=_0x121ae4['BufferedBlockAlgorithm'],_0x5b49d6=_0x447353[_0x99100b(0x372)];_0x5b49d6['Utf8'];var _0x254bcd=_0x5b49d6[_0x99100b(0x1ed)],_0x1a888f=_0x447353['algo'],_0x584d05=_0x1a888f[_0x99100b(0x178)],_0xac7295=_0x121ae4[_0x99100b(0x112)]=_0x17b8f0['extend']({'cfg':_0x99ed82[_0x99100b(0x20b)](),'createEncryptor':function(_0x1c350c,_0x303f42){var _0x3ebed0=_0x99100b;return this[_0x3ebed0(0x307)](this['_ENC_XFORM_MODE'],_0x1c350c,_0x303f42);},'createDecryptor':function(_0x1e0133,_0x51906c){var _0x169d81=_0x99100b;return this[_0x169d81(0x307)](this['_DEC_XFORM_MODE'],_0x1e0133,_0x51906c);},'init':function(_0x185469,_0x309e6e,_0x226d7f){var _0xb92627=_0x99100b;this[_0xb92627(0x313)]=this['cfg'][_0xb92627(0x20b)](_0x226d7f),this[_0xb92627(0x387)]=_0x185469,this[_0xb92627(0x164)]=_0x309e6e,this[_0xb92627(0x15e)]();},'reset':function(){var _0x4168b3=_0x99100b;_0x17b8f0['reset'][_0x4168b3(0x130)](this),this[_0x4168b3(0x136)]();},'process':function(_0x2d08a8){var _0x36f2d5=_0x99100b;return this[_0x36f2d5(0x20f)](_0x2d08a8),this[_0x36f2d5(0x12c)]();},'finalize':function(_0x3b00c7){var _0x537da1=_0x99100b;_0x3b00c7&&this['_append'](_0x3b00c7);var _0x391228=this[_0x537da1(0x3c8)]();return _0x391228;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x47da41(_0x44a6b0){var _0xcd40d7=_0x3335;return typeof _0x44a6b0==_0xcd40d7(0x28f)?_0x371c34:_0x532ca5;}return function(_0x1db053){return{'encrypt':function(_0x24892d,_0x3efaa6,_0x506b50){return _0x47da41(_0x3efaa6)['encrypt'](_0x1db053,_0x24892d,_0x3efaa6,_0x506b50);},'decrypt':function(_0x515473,_0x23fe75,_0x5ce817){var _0x2b82cb=_0x3335;return _0x47da41(_0x23fe75)[_0x2b82cb(0x253)](_0x1db053,_0x515473,_0x23fe75,_0x5ce817);}};};}())});_0x121ae4[_0x99100b(0x3e5)]=_0xac7295[_0x99100b(0x20b)]({'_doFinalize':function(){var _0x4e3edd=_0x99100b,_0x9ffe80=this[_0x4e3edd(0x12c)](!0x0);return _0x9ffe80;},'blockSize':0x1});var _0x2b7bf7=_0x447353[_0x99100b(0x13a)]={},_0x5753a6=_0x121ae4[_0x99100b(0x189)]=_0x99ed82['extend']({'createEncryptor':function(_0x4ddd4d,_0x53fa92){var _0x3b395a=_0x99100b;return this[_0x3b395a(0x35a)][_0x3b395a(0x307)](_0x4ddd4d,_0x53fa92);},'createDecryptor':function(_0x2f2ecf,_0xbcd4e5){var _0x19d9fb=_0x99100b;return this[_0x19d9fb(0x17d)][_0x19d9fb(0x307)](_0x2f2ecf,_0xbcd4e5);},'init':function(_0x1a904b,_0x5ec428){var _0x484ca7=_0x99100b;this['_cipher']=_0x1a904b,this[_0x484ca7(0x1b7)]=_0x5ec428;}}),_0x2a3835=_0x2b7bf7[_0x99100b(0x3de)]=(function(){var _0x2a3702=_0x99100b,_0x4d9747=_0x5753a6[_0x2a3702(0x20b)]();_0x4d9747[_0x2a3702(0x35a)]=_0x4d9747['extend']({'processBlock':function(_0x3e2983,_0x105539){var _0x39a936=_0x2a3702,_0x287f2e=this[_0x39a936(0x371)],_0x187a47=_0x287f2e[_0x39a936(0x3a5)];_0x1e8e97[_0x39a936(0x130)](this,_0x3e2983,_0x105539,_0x187a47),_0x287f2e[_0x39a936(0x1fa)](_0x3e2983,_0x105539),this[_0x39a936(0x34e)]=_0x3e2983['slice'](_0x105539,_0x105539+_0x187a47);}}),_0x4d9747[_0x2a3702(0x17d)]=_0x4d9747[_0x2a3702(0x20b)]({'processBlock':function(_0x4bea3d,_0x3217db){var _0x562c7c=_0x2a3702,_0x1e084a=this[_0x562c7c(0x371)],_0x4d68fb=_0x1e084a[_0x562c7c(0x3a5)],_0x37be91=_0x4bea3d[_0x562c7c(0x38e)](_0x3217db,_0x3217db+_0x4d68fb);_0x1e084a['decryptBlock'](_0x4bea3d,_0x3217db),_0x1e8e97[_0x562c7c(0x130)](this,_0x4bea3d,_0x3217db,_0x4d68fb),this[_0x562c7c(0x34e)]=_0x37be91;}});function _0x1e8e97(_0x540c78,_0x320030,_0xa9ce01){var _0x151361=_0x2a3702,_0x498d02,_0x1f007c=this['_iv'];_0x1f007c?(_0x498d02=_0x1f007c,this[_0x151361(0x1b7)]=_0x166335):_0x498d02=this[_0x151361(0x34e)];for(var _0x9c4f93=0x0;_0x9c4f93<_0xa9ce01;_0x9c4f93++)_0x540c78[_0x320030+_0x9c4f93]^=_0x498d02[_0x9c4f93];}return _0x4d9747;}()),_0x26a8a5=_0x447353['pad']={},_0x1f4fdb=_0x26a8a5[_0x99100b(0x3f7)]={'pad':function(_0x4d2263,_0x3bc44c){var _0x5d8849=_0x99100b;for(var _0x3f527b=_0x3bc44c*0x4,_0x414d7b=_0x3f527b-_0x4d2263['sigBytes']%_0x3f527b,_0x155baf=_0x414d7b<<0x18|_0x414d7b<<0x10|_0x414d7b<<0x8|_0x414d7b,_0x7182a4=[],_0x210573=0x0;_0x210573<_0x414d7b;_0x210573+=0x4)_0x7182a4[_0x5d8849(0x1ba)](_0x155baf);var _0x4efb15=_0x298ce2[_0x5d8849(0x307)](_0x7182a4,_0x414d7b);_0x4d2263[_0x5d8849(0x235)](_0x4efb15);},'unpad':function(_0x1455ba){var _0x473caf=_0x99100b,_0x57b3b0=_0x1455ba[_0x473caf(0x142)][_0x1455ba[_0x473caf(0x186)]-0x1>>>0x2]&0xff;_0x1455ba[_0x473caf(0x186)]-=_0x57b3b0;}};_0x121ae4['BlockCipher']=_0xac7295[_0x99100b(0x20b)]({'cfg':_0xac7295['cfg'][_0x99100b(0x20b)]({'mode':_0x2a3835,'padding':_0x1f4fdb}),'reset':function(){var _0x34ab4e=_0x99100b,_0x59a26a;_0xac7295[_0x34ab4e(0x15e)][_0x34ab4e(0x130)](this);var _0xf753b0=this[_0x34ab4e(0x313)],_0x447494=_0xf753b0['iv'],_0x58e816=_0xf753b0['mode'];this[_0x34ab4e(0x387)]==this[_0x34ab4e(0x2d0)]?_0x59a26a=_0x58e816[_0x34ab4e(0x210)]:(_0x59a26a=_0x58e816[_0x34ab4e(0x276)],this['_minBufferSize']=0x1),this[_0x34ab4e(0x199)]&&this['_mode'][_0x34ab4e(0x3fd)]==_0x59a26a?this['_mode'][_0x34ab4e(0x236)](this,_0x447494&&_0x447494[_0x34ab4e(0x142)]):(this[_0x34ab4e(0x199)]=_0x59a26a[_0x34ab4e(0x130)](_0x58e816,this,_0x447494&&_0x447494[_0x34ab4e(0x142)]),this[_0x34ab4e(0x199)][_0x34ab4e(0x3fd)]=_0x59a26a);},'_doProcessBlock':function(_0x26481f,_0x312c06){var _0x7fcbad=_0x99100b;this[_0x7fcbad(0x199)][_0x7fcbad(0x24b)](_0x26481f,_0x312c06);},'_doFinalize':function(){var _0x181496=_0x99100b,_0x5045aa,_0x1f20b2=this[_0x181496(0x313)]['padding'];return this['_xformMode']==this[_0x181496(0x2d0)]?(_0x1f20b2[_0x181496(0x36b)](this[_0x181496(0x141)],this['blockSize']),_0x5045aa=this['_process'](!0x0)):(_0x5045aa=this[_0x181496(0x12c)](!0x0),_0x1f20b2[_0x181496(0x1bb)](_0x5045aa)),_0x5045aa;},'blockSize':0x80/0x20});var _0x1d9a6a=_0x121ae4['CipherParams']=_0x99ed82[_0x99100b(0x20b)]({'init':function(_0x2e3f1d){this['mixIn'](_0x2e3f1d);},'toString':function(_0xc87fd7){return(_0xc87fd7||this['formatter'])['stringify'](this);}}),_0x4a6171=_0x447353[_0x99100b(0x39d)]={},_0x38e81c=_0x4a6171[_0x99100b(0x143)]={'stringify':function(_0x47f507){var _0x40d382=_0x99100b,_0x4d68f9,_0x1172fd=_0x47f507[_0x40d382(0x251)],_0x30a6ae=_0x47f507[_0x40d382(0x300)];return _0x30a6ae?_0x4d68f9=_0x298ce2['create']([0x53616c74,0x65645f5f])['concat'](_0x30a6ae)['concat'](_0x1172fd):_0x4d68f9=_0x1172fd,_0x4d68f9[_0x40d382(0x2f5)](_0x254bcd);},'parse':function(_0x9d4b72){var _0x4299d2=_0x99100b,_0x11ecca,_0x3e7098=_0x254bcd[_0x4299d2(0x147)](_0x9d4b72),_0x24d090=_0x3e7098['words'];return _0x24d090[0x0]==0x53616c74&&_0x24d090[0x1]==0x65645f5f&&(_0x11ecca=_0x298ce2[_0x4299d2(0x307)](_0x24d090['slice'](0x2,0x4)),_0x24d090['splice'](0x0,0x4),_0x3e7098[_0x4299d2(0x186)]-=0x10),_0x1d9a6a['create']({'ciphertext':_0x3e7098,'salt':_0x11ecca});}},_0x532ca5=_0x121ae4[_0x99100b(0x135)]=_0x99ed82['extend']({'cfg':_0x99ed82[_0x99100b(0x20b)]({'format':_0x38e81c}),'encrypt':function(_0x26ed37,_0x3a0763,_0x1fb5f7,_0x8aea14){var _0x190fa6=_0x99100b;_0x8aea14=this[_0x190fa6(0x313)][_0x190fa6(0x20b)](_0x8aea14);var _0x47b445=_0x26ed37['createEncryptor'](_0x1fb5f7,_0x8aea14),_0x21c923=_0x47b445['finalize'](_0x3a0763),_0x273bf9=_0x47b445[_0x190fa6(0x313)];return _0x1d9a6a[_0x190fa6(0x307)]({'ciphertext':_0x21c923,'key':_0x1fb5f7,'iv':_0x273bf9['iv'],'algorithm':_0x26ed37,'mode':_0x273bf9['mode'],'padding':_0x273bf9[_0x190fa6(0x155)],'blockSize':_0x26ed37[_0x190fa6(0x3a5)],'formatter':_0x8aea14['format']});},'decrypt':function(_0x3ab0a2,_0x38a8f6,_0x527e57,_0x4e963f){var _0x22d52e=_0x99100b;_0x4e963f=this['cfg'][_0x22d52e(0x20b)](_0x4e963f),_0x38a8f6=this['_parse'](_0x38a8f6,_0x4e963f[_0x22d52e(0x39d)]);var _0x4b5769=_0x3ab0a2[_0x22d52e(0x276)](_0x527e57,_0x4e963f)[_0x22d52e(0x3c1)](_0x38a8f6[_0x22d52e(0x251)]);return _0x4b5769;},'_parse':function(_0x4e3462,_0x2895cd){var _0x78efc9=_0x99100b;return typeof _0x4e3462==_0x78efc9(0x28f)?_0x2895cd[_0x78efc9(0x147)](_0x4e3462,this):_0x4e3462;}}),_0x15b4f2=_0x447353['kdf']={},_0x9f7ed2=_0x15b4f2[_0x99100b(0x143)]={'execute':function(_0x3f98fc,_0x43499c,_0x366a86,_0x33e2ab,_0x569e13){var _0x1c646b=_0x99100b;if(_0x33e2ab||(_0x33e2ab=_0x298ce2[_0x1c646b(0x2cf)](0x40/0x8)),_0x569e13)var _0x5f1c15=_0x584d05[_0x1c646b(0x307)]({'keySize':_0x43499c+_0x366a86,'hasher':_0x569e13})[_0x1c646b(0x305)](_0x3f98fc,_0x33e2ab);else var _0x5f1c15=_0x584d05['create']({'keySize':_0x43499c+_0x366a86})['compute'](_0x3f98fc,_0x33e2ab);var _0x18d6c0=_0x298ce2[_0x1c646b(0x307)](_0x5f1c15[_0x1c646b(0x142)][_0x1c646b(0x38e)](_0x43499c),_0x366a86*0x4);return _0x5f1c15[_0x1c646b(0x186)]=_0x43499c*0x4,_0x1d9a6a['create']({'key':_0x5f1c15,'iv':_0x18d6c0,'salt':_0x33e2ab});}},_0x371c34=_0x121ae4[_0x99100b(0x3d2)]=_0x532ca5['extend']({'cfg':_0x532ca5[_0x99100b(0x313)][_0x99100b(0x20b)]({'kdf':_0x9f7ed2}),'encrypt':function(_0x4d235a,_0x37b301,_0x507878,_0x3c87ee){var _0x27c74=_0x99100b;_0x3c87ee=this[_0x27c74(0x313)][_0x27c74(0x20b)](_0x3c87ee);var _0x2cef6b=_0x3c87ee[_0x27c74(0x36f)][_0x27c74(0x25b)](_0x507878,_0x4d235a[_0x27c74(0x25c)],_0x4d235a[_0x27c74(0x22a)],_0x3c87ee[_0x27c74(0x300)],_0x3c87ee[_0x27c74(0x2e4)]);_0x3c87ee['iv']=_0x2cef6b['iv'];var _0x512aa9=_0x532ca5['encrypt'][_0x27c74(0x130)](this,_0x4d235a,_0x37b301,_0x2cef6b['key'],_0x3c87ee);return _0x512aa9['mixIn'](_0x2cef6b),_0x512aa9;},'decrypt':function(_0x32fa66,_0x285636,_0x3f3ca1,_0x336410){var _0x2e4ab9=_0x99100b;_0x336410=this[_0x2e4ab9(0x313)]['extend'](_0x336410),_0x285636=this['_parse'](_0x285636,_0x336410[_0x2e4ab9(0x39d)]);var _0x38c559=_0x336410[_0x2e4ab9(0x36f)]['execute'](_0x3f3ca1,_0x32fa66['keySize'],_0x32fa66[_0x2e4ab9(0x22a)],_0x285636[_0x2e4ab9(0x300)],_0x336410[_0x2e4ab9(0x2e4)]);_0x336410['iv']=_0x38c559['iv'];var _0x261125=_0x532ca5['decrypt'][_0x2e4ab9(0x130)](this,_0x32fa66,_0x285636,_0x38c559['key'],_0x336410);return _0x261125;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x3fc0d2(0x1c9)],si;function Gr(){var _0x3168c6=_0x3fc0d2;return si||(si=0x1,function(_0x544b2e,_0x821351){(function(_0x2ffed2,_0x4b7d0b,_0x29b30c){var _0x28b658=_0x3335;_0x544b2e[_0x28b658(0x1c9)]=_0x4b7d0b(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xa0a295){var _0x46fa03=_0x3335;return(function(){var _0x29142f=_0x3335,_0x152922=_0xa0a295,_0x56ad84=_0x152922['lib'],_0x3b9c26=_0x56ad84[_0x29142f(0x3ba)],_0x3003c6=_0x152922[_0x29142f(0x120)],_0x59e017=[],_0x148d39=[],_0x581e64=[],_0x577834=[],_0x53282e=[],_0x678958=[],_0xe244ed=[],_0x35b90f=[],_0x3ab42a=[],_0x4cd78d=[];(function(){for(var _0x1c0c0a=[],_0x5f31a5=0x0;_0x5f31a5<0x100;_0x5f31a5++)_0x5f31a5<0x80?_0x1c0c0a[_0x5f31a5]=_0x5f31a5<<0x1:_0x1c0c0a[_0x5f31a5]=_0x5f31a5<<0x1^0x11b;for(var _0xe83a80=0x0,_0x1cee49=0x0,_0x5f31a5=0x0;_0x5f31a5<0x100;_0x5f31a5++){var _0x5a396c=_0x1cee49^_0x1cee49<<0x1^_0x1cee49<<0x2^_0x1cee49<<0x3^_0x1cee49<<0x4;_0x5a396c=_0x5a396c>>>0x8^_0x5a396c&0xff^0x63,_0x59e017[_0xe83a80]=_0x5a396c,_0x148d39[_0x5a396c]=_0xe83a80;var _0x3d5efa=_0x1c0c0a[_0xe83a80],_0x50af66=_0x1c0c0a[_0x3d5efa],_0x25191b=_0x1c0c0a[_0x50af66],_0x3c2134=_0x1c0c0a[_0x5a396c]*0x101^_0x5a396c*0x1010100;_0x581e64[_0xe83a80]=_0x3c2134<<0x18|_0x3c2134>>>0x8,_0x577834[_0xe83a80]=_0x3c2134<<0x10|_0x3c2134>>>0x10,_0x53282e[_0xe83a80]=_0x3c2134<<0x8|_0x3c2134>>>0x18,_0x678958[_0xe83a80]=_0x3c2134;var _0x3c2134=_0x25191b*0x1010101^_0x50af66*0x10001^_0x3d5efa*0x101^_0xe83a80*0x1010100;_0xe244ed[_0x5a396c]=_0x3c2134<<0x18|_0x3c2134>>>0x8,_0x35b90f[_0x5a396c]=_0x3c2134<<0x10|_0x3c2134>>>0x10,_0x3ab42a[_0x5a396c]=_0x3c2134<<0x8|_0x3c2134>>>0x18,_0x4cd78d[_0x5a396c]=_0x3c2134,_0xe83a80?(_0xe83a80=_0x3d5efa^_0x1c0c0a[_0x1c0c0a[_0x1c0c0a[_0x25191b^_0x3d5efa]]],_0x1cee49^=_0x1c0c0a[_0x1c0c0a[_0x1cee49]]):_0xe83a80=_0x1cee49=0x1;}}());var _0x56d7f3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x136d46=_0x3003c6[_0x29142f(0x24a)]=_0x3b9c26['extend']({'_doReset':function(){var _0x338345=_0x29142f,_0x2d70c3;if(!(this[_0x338345(0x1d7)]&&this[_0x338345(0x20e)]===this[_0x338345(0x164)])){for(var _0x5ed048=this[_0x338345(0x20e)]=this['_key'],_0x303243=_0x5ed048[_0x338345(0x142)],_0x2c7b0c=_0x5ed048[_0x338345(0x186)]/0x4,_0x57db6f=this[_0x338345(0x1d7)]=_0x2c7b0c+0x6,_0x682598=(_0x57db6f+0x1)*0x4,_0x5f37da=this[_0x338345(0x1de)]=[],_0x575099=0x0;_0x575099<_0x682598;_0x575099++)_0x575099<_0x2c7b0c?_0x5f37da[_0x575099]=_0x303243[_0x575099]:(_0x2d70c3=_0x5f37da[_0x575099-0x1],_0x575099%_0x2c7b0c?_0x2c7b0c>0x6&&_0x575099%_0x2c7b0c==0x4&&(_0x2d70c3=_0x59e017[_0x2d70c3>>>0x18]<<0x18|_0x59e017[_0x2d70c3>>>0x10&0xff]<<0x10|_0x59e017[_0x2d70c3>>>0x8&0xff]<<0x8|_0x59e017[_0x2d70c3&0xff]):(_0x2d70c3=_0x2d70c3<<0x8|_0x2d70c3>>>0x18,_0x2d70c3=_0x59e017[_0x2d70c3>>>0x18]<<0x18|_0x59e017[_0x2d70c3>>>0x10&0xff]<<0x10|_0x59e017[_0x2d70c3>>>0x8&0xff]<<0x8|_0x59e017[_0x2d70c3&0xff],_0x2d70c3^=_0x56d7f3[_0x575099/_0x2c7b0c|0x0]<<0x18),_0x5f37da[_0x575099]=_0x5f37da[_0x575099-_0x2c7b0c]^_0x2d70c3);for(var _0x6c5ef7=this[_0x338345(0x312)]=[],_0xabe77a=0x0;_0xabe77a<_0x682598;_0xabe77a++){var _0x575099=_0x682598-_0xabe77a;if(_0xabe77a%0x4)var _0x2d70c3=_0x5f37da[_0x575099];else var _0x2d70c3=_0x5f37da[_0x575099-0x4];_0xabe77a<0x4||_0x575099<=0x4?_0x6c5ef7[_0xabe77a]=_0x2d70c3:_0x6c5ef7[_0xabe77a]=_0xe244ed[_0x59e017[_0x2d70c3>>>0x18]]^_0x35b90f[_0x59e017[_0x2d70c3>>>0x10&0xff]]^_0x3ab42a[_0x59e017[_0x2d70c3>>>0x8&0xff]]^_0x4cd78d[_0x59e017[_0x2d70c3&0xff]];}}},'encryptBlock':function(_0x10ede5,_0x338324){this['_doCryptBlock'](_0x10ede5,_0x338324,this['_keySchedule'],_0x581e64,_0x577834,_0x53282e,_0x678958,_0x59e017);},'decryptBlock':function(_0x4b9389,_0x370aeb){var _0x3f7cb8=_0x29142f,_0x1835b8=_0x4b9389[_0x370aeb+0x1];_0x4b9389[_0x370aeb+0x1]=_0x4b9389[_0x370aeb+0x3],_0x4b9389[_0x370aeb+0x3]=_0x1835b8,this[_0x3f7cb8(0x398)](_0x4b9389,_0x370aeb,this[_0x3f7cb8(0x312)],_0xe244ed,_0x35b90f,_0x3ab42a,_0x4cd78d,_0x148d39);var _0x1835b8=_0x4b9389[_0x370aeb+0x1];_0x4b9389[_0x370aeb+0x1]=_0x4b9389[_0x370aeb+0x3],_0x4b9389[_0x370aeb+0x3]=_0x1835b8;},'_doCryptBlock':function(_0x3c1836,_0x20f331,_0x30631c,_0x569237,_0x5af26e,_0x39a18d,_0x240d3f,_0x33937a){var _0x1de4c3=_0x29142f;for(var _0x160a6f=this[_0x1de4c3(0x1d7)],_0x3a2a1e=_0x3c1836[_0x20f331]^_0x30631c[0x0],_0x56eaac=_0x3c1836[_0x20f331+0x1]^_0x30631c[0x1],_0x45205f=_0x3c1836[_0x20f331+0x2]^_0x30631c[0x2],_0x3dda1b=_0x3c1836[_0x20f331+0x3]^_0x30631c[0x3],_0x537bc4=0x4,_0x2938ae=0x1;_0x2938ae<_0x160a6f;_0x2938ae++){var _0x5ec0d6=_0x569237[_0x3a2a1e>>>0x18]^_0x5af26e[_0x56eaac>>>0x10&0xff]^_0x39a18d[_0x45205f>>>0x8&0xff]^_0x240d3f[_0x3dda1b&0xff]^_0x30631c[_0x537bc4++],_0x304d28=_0x569237[_0x56eaac>>>0x18]^_0x5af26e[_0x45205f>>>0x10&0xff]^_0x39a18d[_0x3dda1b>>>0x8&0xff]^_0x240d3f[_0x3a2a1e&0xff]^_0x30631c[_0x537bc4++],_0x2238f6=_0x569237[_0x45205f>>>0x18]^_0x5af26e[_0x3dda1b>>>0x10&0xff]^_0x39a18d[_0x3a2a1e>>>0x8&0xff]^_0x240d3f[_0x56eaac&0xff]^_0x30631c[_0x537bc4++],_0x21facd=_0x569237[_0x3dda1b>>>0x18]^_0x5af26e[_0x3a2a1e>>>0x10&0xff]^_0x39a18d[_0x56eaac>>>0x8&0xff]^_0x240d3f[_0x45205f&0xff]^_0x30631c[_0x537bc4++];_0x3a2a1e=_0x5ec0d6,_0x56eaac=_0x304d28,_0x45205f=_0x2238f6,_0x3dda1b=_0x21facd;}var _0x5ec0d6=(_0x33937a[_0x3a2a1e>>>0x18]<<0x18|_0x33937a[_0x56eaac>>>0x10&0xff]<<0x10|_0x33937a[_0x45205f>>>0x8&0xff]<<0x8|_0x33937a[_0x3dda1b&0xff])^_0x30631c[_0x537bc4++],_0x304d28=(_0x33937a[_0x56eaac>>>0x18]<<0x18|_0x33937a[_0x45205f>>>0x10&0xff]<<0x10|_0x33937a[_0x3dda1b>>>0x8&0xff]<<0x8|_0x33937a[_0x3a2a1e&0xff])^_0x30631c[_0x537bc4++],_0x2238f6=(_0x33937a[_0x45205f>>>0x18]<<0x18|_0x33937a[_0x3dda1b>>>0x10&0xff]<<0x10|_0x33937a[_0x3a2a1e>>>0x8&0xff]<<0x8|_0x33937a[_0x56eaac&0xff])^_0x30631c[_0x537bc4++],_0x21facd=(_0x33937a[_0x3dda1b>>>0x18]<<0x18|_0x33937a[_0x3a2a1e>>>0x10&0xff]<<0x10|_0x33937a[_0x56eaac>>>0x8&0xff]<<0x8|_0x33937a[_0x45205f&0xff])^_0x30631c[_0x537bc4++];_0x3c1836[_0x20f331]=_0x5ec0d6,_0x3c1836[_0x20f331+0x1]=_0x304d28,_0x3c1836[_0x20f331+0x2]=_0x2238f6,_0x3c1836[_0x20f331+0x3]=_0x21facd;},'keySize':0x100/0x20});_0x152922[_0x29142f(0x24a)]=_0x3b9c26[_0x29142f(0x3a9)](_0x136d46);}()),_0xa0a295[_0x46fa03(0x24a)];}));}(Ve)),Ve[_0x3168c6(0x1c9)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x3fc0d2(0x1c9)],ai;function zr(){var _0x13e8b7=_0x3fc0d2;return ai||(ai=0x1,function(_0x51e404,_0x4cb62a){(function(_0x23e3e9,_0x14c88f){var _0x15d516=_0x3335;_0x51e404[_0x15d516(0x1c9)]=_0x14c88f(ne());}(qr,function(_0x467df4){var _0x547f8f=_0x3335;return _0x467df4[_0x547f8f(0x372)]['Utf8'];}));}(Xe)),Xe[_0x13e8b7(0x1c9)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x186360=_0x3fc0d2;return ci||(ci=0x1,function(_0x226d06,_0x59a47){(function(_0x2224cb,_0x57061d){var _0x5cd531=_0x3335;_0x226d06[_0x5cd531(0x1c9)]=_0x57061d(ne());}(Zr,function(_0x4cc9ca){var _0x2cbfbc=_0x3335;return(function(){var _0x52751d=_0x3335;if(typeof ArrayBuffer=='function'){var _0x382b3e=_0x4cc9ca,_0x41c7a8=_0x382b3e[_0x52751d(0x2b6)],_0x20c1a3=_0x41c7a8[_0x52751d(0x3b4)],_0x5a88e9=_0x20c1a3[_0x52751d(0x236)],_0x50331a=_0x20c1a3[_0x52751d(0x236)]=function(_0x26222f){var _0x508df6=_0x52751d;if(_0x26222f instanceof ArrayBuffer&&(_0x26222f=new Uint8Array(_0x26222f)),(_0x26222f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26222f instanceof Uint8ClampedArray||_0x26222f instanceof Int16Array||_0x26222f instanceof Uint16Array||_0x26222f instanceof Int32Array||_0x26222f instanceof Uint32Array||_0x26222f instanceof Float32Array||_0x26222f instanceof Float64Array)&&(_0x26222f=new Uint8Array(_0x26222f['buffer'],_0x26222f['byteOffset'],_0x26222f['byteLength'])),_0x26222f instanceof Uint8Array){for(var _0x5cd87c=_0x26222f[_0x508df6(0x19b)],_0x4e1b83=[],_0x56c19d=0x0;_0x56c19d<_0x5cd87c;_0x56c19d++)_0x4e1b83[_0x56c19d>>>0x2]|=_0x26222f[_0x56c19d]<<0x18-_0x56c19d%0x4*0x8;_0x5a88e9['call'](this,_0x4e1b83,_0x5cd87c);}else _0x5a88e9[_0x508df6(0x324)](this,arguments);};_0x50331a[_0x52751d(0x24f)]=_0x20c1a3;}}()),_0x4cc9ca[_0x2cbfbc(0x2b6)][_0x2cbfbc(0x3b4)];}));}(Ze)),Ze[_0x186360(0x1c9)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x3fc0d2(0x1c9)],hi;function ns(){var _0x246c73=_0x3fc0d2;return hi||(hi=0x1,function(_0x2ddc5e,_0x24d88e){(function(_0x42ec8e,_0x3a0902,_0xbc4fdd){var _0x3a5404=_0x3335;_0x2ddc5e[_0x3a5404(0x1c9)]=_0x3a0902(ne(),Ai());}(is,function(_0x4bc214){var _0x5c79c0=_0x3335;return _0x4bc214[_0x5c79c0(0x36b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4bc214[_0x5c79c0(0x36b)]['NoPadding'];}));}(Qe)),Qe[_0x246c73(0x1c9)];}var rs=ns();const ss=ke(rs);function os(_0x190831,_0x2bd6f5){var _0x6f02a2=_0x3fc0d2;const _0x54ac16=_0x2bd6f5-_0x190831['length']%_0x2bd6f5,_0x1463f9=String[_0x6f02a2(0x31e)](_0x54ac16)[_0x6f02a2(0x364)](_0x54ac16);return _0x190831+_0x1463f9;}function _0x3d56(){var _0xbdb131=['APPLY_REJECT','_iKey','incrementRevOfUnit','_roomMembers','append','_handler','UNIVER_UNKNOWN','iterations','_getRedoStack','enableOfflineEditing','_toggleOnline','onStateChange','ws://127.0.0.1:8000/universer-api/comb/connect','requestParams','has','/universer-api/snapshot/','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getDeserializedSheetBlock','pauseCollaboration','getCollabEntity','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SUBMIT_CHANGESET','setShowComponents','uploadFileServerUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UnitEmbedded','_changesetSessionId','lib','entityInit$','JOIN_ROOM_NOT_EXISTS','crypto','/object/','/unit/','image/gif','Malformed\x20UTF-8\x20data','onMissingChangesets','resend','_undoStacks','event$','_scheduleCollaborationTimeoutTimer','LIVESHARE_NEW_HOST','16eJVIqv','_decreaseWaiting','_transformRemoteChangesetByStateCache','/universer-api/uniscript','SNAPSHOT_SERVER_URL_KEY','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_PERMISSION_DENIED','PENDING','_replayCachedMutations','ENSURE_SNAPSHOT_EXECUTION','stopTime','random','_ENC_XFORM_MODE','CHANGESET_SHOULD_RETRY','size','_checkMissing','_onOffline','toggleOnline','_initUnitPermissionChange','Undefined','onSyncEditingCollabCursor','_reverseMap','[CollaborationEntity]','get','fetch_missing','substr','AWAITING_WITH_PENDING','_loadDoc','&source=','changesets','workbook','listCollaborators','hasher','/collaborator','getTypeOfUnitAdded$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','reqId','map','unsubscribe','setWaitCount','getAllMembers','image/bmp','length','_map','charAt','onRemoteChangeset','enableSingleActiveInstanceLock','HEARTBEAT_TIMEOUT','[CollaborationSessionService]:\x20socket\x20error','toString','onMissedChangesetFetched','_socket$','_getLoginPath','equals','error$','_updateState','_substituteRedoStack','getCurrentSelections','_substituteUndoStack','downloadEndpointUrl','salt','disposeWithMe','getFocusedUnit','MD5','/universer-api/stream/file/upload','compute','send','create','msCrypto','createSocket','set','_createHmacHelper','_queuedRemoteChangesets','min','_onConflict','INGEST','_onJoinRoomEvent','mixIn','_invKeySchedule','cfg','getOwnPropertyDescriptor','[FetchMissState]','237208HIXgEC','_lockTransition','_pendingMutations','_config','[CollaborationSessionService]','_createInitialState','ERROR_EXCEED_SIZE','getValue','fromCharCode','indexOf','liveShareNewHost','open$','Base','/-/object/list','apply','auth.needGotoLoginAlert','resolve','_telemetryService','_transformStateCache','/universer-api/file/{fileID}/sign-url','_onRecvEvent','BufferedBlockAlgorithm','SNAPSHOT_URL_KEY','_getAPIPrefix','charCodeAt','objectActions','_transformService','wsSessionTicketUrl','editingUnit','permissionRejEvent','updateOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','code','[DataLoaderService]','leaveEvent','isPermissionRej','collaborators','JOINING','_rescheduleHeartbeat','_transformUndoredo','[SyncedState]:\x20received\x20acknowledgement.','HttpExport','failed\x20to\x20apply\x20missed\x20changesets!','session.room-cnt-exceeds','_transitionLocked','toLowerCase','_onCombEvent','localeService','_localCacheService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','pipe','interceptor','_acknowledgedAwaitingChangeset','_collaborationPaused','runId','put','_prevBlock','YUUMI_UNABLE_LOAD_URL','_members','fetchMiss','COMPRESS_MUTATION_APPLY','getCurrentUser','createInstance','objectType','getCurrentRevOfUnit','asObservable','registerHTTPInterceptor','_fetchMissChangesets','Encryptor','_snapshotService','abs','objectID','updateMember','LIVESHARE_REQUEST_HOST','_collabSessionService','LIVESHARE_FETCH_OPERATIONS','save\x20fail\x20reason\x20is\x20','onTransformState','repeat','_syncEditingCollabCursor','_transformIMECache','_shouldReportTelemetry','Hex','_isPermissionRej','_initDependencies','pad','randomUUID','USERS_LEAVE','_members$','kdf','rev','_cipher','enc','collaboratorID','reduce','HEARTBEAT','CHANGESET_ACK','socket\x20close','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objects','&assign=','transformMutationsWithChangeset','_onConnectionFailed','univer-pro.collaboration-client.single-active-unit-service','INTERNAL_ERROR','_collaborationSessionService','copyFileMeta','_listenToNetworkCondition','[CollaborationUndoRedoService]','UNAUTHENTICATED','now','transformChangesets','_createHandler','_xformMode','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','list','updatePermissionPoint','onTransformRemoteChangesetByStateCache','updatePermissionObjEvent','{fileID}','slice','members$','_onUserJoin','baseRev','function','FETCH_MISSING','_resendTimeout','ERROR_IMAGE_TYPE','OTHER_CLIENTS_EDITING','addHandlerCallback','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','location','name','format','_createSocketURL','image/png','_roomCreated$','/universer-api/oidc/authpage','HttpImport','snapshotServerUrl','/object','blockSize','_startTelemetryCollaborationNewChangeset','ERROR_IMAGE','onTransformRemoteChangesetByIMECache','_createHelper','delete','PERMISSION_REJ','saveSheetBlock','1811971VtIcHU','FileId','_applyRemoteChangeset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status$','/universer-api/comb','c1Prime','WordArray','_getUploadFileURL','SEND_CHANGESET_TIMEOUT','_candidateSocket','1328013hKYhBH','getRandomValues','BlockCipher','_socket','/universer-api/snapshot','SOCKET_FAILED','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_clearHeartbeatTimer','_clearRedo','finalize','_eventService','csAckEvent','NEW_CHANGESETS','ceil','HmacMD5','randomBytes','_doFinalize','getCollabEntity$','collabWebSocketUrl','subject','collaMsg','Error\x20on\x20receiving\x20event','_unlockTransition','_loadSheet','_waitCount','APPLY_DUPLICATED','PasswordBasedCipher','refreshPermission','originalMeta','onRemoteAck','COMPLETION_FINISHED','__Key__','onRemoteRej','focused$','NOT_FOUND','selections','params','_logService','CBC','_throwTelemetryCollaborationNewChangeset','getImageSourceCache','sessionStatus$','onTransformSelections','/universer-api/authz','_onUserLeave','StreamCipher','emitEvent','listRoles','Could\x20not\x20dynamically\x20require\x20\x22','_imageSourceCache','CHANGESET_REJ','_injector','_sessions','60825OehIip','online$','encodeURIComponent','actions','shouldCloseConn','session.room-not-exists','session.room-full','COMMENT_UPDATE','_entities','_commentUpdate$','Pkcs7','_clearLocalCache','RECV','debug','roles','LICENSE_EXPORT_SIZE_EXCEEDED','__creator','getConfig','COMPRESS_MUTATION_SEND','next','JOIN_ROOM_PERMISSION_DENIED','mutations','saveImage','OTHER_CLIENT_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','IDLE','_userManagerService','LICENSE_MAX_UNITS_EXCEEDED','retryConnectingInterval','CONNECTOR_DATA_TOO_LARGE','OFFLINE','_remoteChangesetQueue','_updateStatus','Cipher','_entityInit$','requireSession','[CollaborationSession]','snapshot','liveShareOperation','_redoStacks','json','complete','JOIN_ROOM_FAILED','close$','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_PLUGIN','socket\x20open.','algo','ONLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collaborationUIEventService','onCommandExecuted','Latin1','isArray','readInt32LE','YUUMI_URL_COL_OUT_OF_RANGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','values','LEAVE','_process','LOGIN_URL_KEY','_createSocket','_onMessage','call','_onConnectionOpen','_tryReconnect','APPLY_REVISION_CONFILICT','unitID','SerializableCipher','_doReset','members','result','headers','mode','max','csShouldRetryEvent','roomInfos','state','_updateLocalCache','getTypeOfUnitDisposed$','_data','words','OpenSSL','data','Hasher','unknown','parse','_type','_emitMembers','fromCollab','duration','subUnitId','_awaitingChangeset','_changesetReqId','_hash','getWorkbookSelections','UPDATE_CURSOR','568692ogvprs','UPDATE_PERMISSION_OBJ','findIndex','padding','_singleActiveUnitService','state$','close','getSheetBlock','updateCollaborator','_clearTimeoutTimer','onStarting','_sendingTimer','reset','_sheetTransformSelectionsService','PSEUDO_FETCH_MISSING_RESULT','UNIVER_DOC','INVALID_ARGUMENT','UNKNOWN_CMD','_key','_replaceFileID','signUrlServerUrl','_onRemoteRetry','clone','UNIVER_SLIDE','_memberService','_getCurrentRevision','UNRECOGNIZED','MSG_FOR_ERROR','HmacSHA1','_stopTelemetryCollaborationNewChangeset','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','\x20to\x20','UnitSnapshot','_joinRoom','getTime','_socketService','floor','EvpKDF','replace','_getSessionTicket','getMember','_onRemoteACK','Decryptor','connection\x20error','startTime','catch','offline','reverse','join','SOCKET_FAILED_RETRY','routeKey','sigBytes','default','compose','BlockCipherMode','then','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration_new_changeset','_executeRemoteChangeset','commentUpdate$','getUnitType','onRemoteRetry','_toggleOffline','session.room-permission-denied','deepClone','textRanges','commentUpdateEvent','loadUnit','68AeVxaC','onLocalMutation','_mode','LIVESHARE_OPERATION','byteLength','PERMISSION_DENIED','/-/object/-/batch_allowed','encode','1060540PVImdK','_localeService','[OfflineState]:\x20received\x20rejection.','message$','HMAC','unit-cache-','RETRY_CONNECTING_MAX_COUNT','_sessionStatus$','_clearCollaborationTimeoutTimer','HELLO','startsWith','memberID','FAIL','getSnapshotAPIPath','pluginName','_undoRedoService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','eventID','synced','ticket','body','CONFLICT','searchParams','getMemberID','_iv','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_submitChangeset','push','unpad','session','change$','_onLocalMutation','JOIN','setCurrentUser','UNISCRIPT_RUN','_event$','/block/','_status$','newCsEvent','_revisionService','$super','GLOBAL_ROOMS_CNT_EXCEEDS','exports','_init','_snapshotServerService','loginUrlKey','_permissionService','_startCollaboration','updateCursorEvent','update','encrypt','c2Prime','_tryEnsureSocket','executeCommand','_HTTPService','sid','_nRounds','/allowed','awaitingChangeset','getUnitId','_onRemoteChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','url','_keySchedule','closeSession','CLOSE_ROOM','_collaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','cmd','responseType','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','status','dispose$','sessionStatus','collabSubmitChangesetUrl','transformUndoRedo','_socketMessageSubscription','conflict','Base64','userID','reject','People','reconnect','_authzIoService','_commandService','initWorkbookPermissionChange','awaiting','joinRsp','getSheetId','hasOwnProperty','_commentService','encryptBlock','find','m2Prime','range','resourceIDs','_telemetryInfo','unitId','authzUrl','_nDataBytes','post','add','_resendTimer','subscribe','pending','socket$','_getSendChangesetTimeout','UNDEFINED','extend','NOT_COLLAB','_transformRemoteChangesetByIMECache','_keyPriorReset','_append','createEncryptor','bind','x-univer-host','[OfflineState]:\x20received\x20changeset.','/new_changes','BASE64','sin','_createInitialStateImpl','csRejEvent','_disableEditing','_httpService','_retryCount','UNKNOWN_CODE','fetchMissingChangesets','clear','_state','rng','AWAITING','univer-pro.collaboration-client.network-condition.service','ALREADY_EXISTS','sheets','_doProcessBlock','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','?url=','_unitInfo$','_retryConnectingTimer','ivSize','getUnitOnRev','origin','_sender','POST','_handlerCallback','_univerInstanceService','_initMergeInterceptor','dispose','LOCAL_CACHE_INTERVAL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','concat','init','_http','APPLY_NON_SEQUENTIAL_REVISION','LIVESHARE_TERMINATE','_hasher','_networkConditionService','_resendWithTimeout','SHOULD_CLOSE_CONN','_minBufferSize','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','appendMutation','fetchThroughInterceptors','TOO_MANY_REQUESTS','_initRequestHeader','getInterceptPoints','_state$','putCollaborators','infoRsp','\x20in\x20_schedule.','includes','AES','processBlock','error','_showConflictNotification','socketService','prototype','removeMember','ciphertext','UNIVER_SHEET','decrypt','onTransformIME','_onRemoteRejected','filter','onload','_getAPIPrefixPath','_exhaustRemoteChangesetQueue','_change$','execute','keySize','getRoom','DEFAULT_FILE_NAME','forEach','_getUndoStack','application/json','target','UNIVER_PROJECT','Utf8','/universer-api/user/session-ticket','_clearScheduledTask','_getSignURL','onCommentUpdate','OPTIONAL','href','_transformSelections','loadOfflineData','_timeoutTimer','1150656pAailE','_incrementRevisionNumber','toggleOffline','clamp','defineProperty','onlyLocal','NO_OTHER_CLIENTS_EDITING','waitForRoom$','createDecryptor','stringify','localCacheService','USERS_ENTER','[PendingState]:\x20received\x20rejection.','_getDownloadEndpointURL','getActiveSheet','SHA1','revision','_socketReady','_waitForHeartbeatResponse','_configService','_oKey','_scheduleCompleteTimestamp','onSendChangeset','\x20-\x20','_sendHeartbeatTimer','JOIN_ROOM_FULL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','withCredentials','image/jpg','_unitID','MUTATION','SUBMIT_CHANGESET_TIMEOUT','_compressMutationService','string','Univer','enableAuthServer','_schedule','type','_sendHeartbeat','YUUMI_RATE_OVER_LIMIT','generateRandomId','_removeRoom','_initCloseConn','YUUMI_SUBSCRIPTION_NOT_FOUND','\x0aCurrent:\x20'];_0x3d56=function(){return _0xbdb131;};return _0x3d56();}function as(_0x342460,_0x24b0b7){var _0x185750=_0x3fc0d2;const _0x37d146=ts['random'](0x10),_0x189d92=os(_0x342460,0x10),_0x548a85=Kr[_0x185750(0x1d1)](Xr[_0x185750(0x147)](_0x189d92),oi[_0x185750(0x147)](_0x24b0b7),{'iv':_0x37d146,'padding':ss});return _0x37d146['concat'](_0x548a85[_0x185750(0x251)])['toString'](oi);}function cs(){var _0x5a58fc=_0x3fc0d2;const _0x395525=_0x1c7d86()[_0x5a58fc(0x3d7)];if(_0x395525){const _0x488ff4={'time':Math[_0x5a58fc(0x177)](Date[_0x5a58fc(0x384)]()/0x3e8),'domain':location['hostname']};return as(JSON['stringify'](_0x488ff4),_0x395525);}}var hs=Object['defineProperty'],_s=Object[_0x3fc0d2(0x314)],ls=(_0x7345c7,_0x2e4e5a,_0x2acb1d,_0x5cd1da)=>{var _0x120eea=_0x3fc0d2;for(var _0x58d2dc=_0x5cd1da>0x1?void 0x0:_0x5cd1da?_s(_0x2e4e5a,_0x2acb1d):_0x2e4e5a,_0x1b90ca=_0x7345c7[_0x120eea(0x2ee)]-0x1,_0x18683a;_0x1b90ca>=0x0;_0x1b90ca--)(_0x18683a=_0x7345c7[_0x1b90ca])&&(_0x58d2dc=(_0x5cd1da?_0x18683a(_0x2e4e5a,_0x2acb1d,_0x58d2dc):_0x18683a(_0x58d2dc))||_0x58d2dc);return _0x5cd1da&&_0x58d2dc&&hs(_0x2e4e5a,_0x2acb1d,_0x58d2dc),_0x58d2dc;},us=(_0x4614ab,_0x552841)=>(_0x58c294,_0x59f582)=>_0x552841(_0x58c294,_0x59f582,_0x4614ab);let ot=class{constructor(_0x5dce46){var _0x17a10b=_0x3fc0d2;this[_0x17a10b(0x21a)]=_0x5dce46,this[_0x17a10b(0x243)]();}[_0x3fc0d2(0x243)](){var _0x1e5fc9=_0x3fc0d2;this[_0x1e5fc9(0x21a)][_0x1e5fc9(0x358)]({'interceptor':(_0x488f47,_0x47910e)=>{var _0x1f2686=_0x1e5fc9;const _0x59ac27=_0x488f47[_0x1f2686(0x139)],_0x37a0c1=cs();return _0x37a0c1&&_0x59ac27['set'](_0x1f2686(0x212),_0x37a0c1),_0x47910e(_0x488f47);}});}};ot=ls([us(0x0,_0x4a0d65(_0x242e5e))],ot);var ds=Object[_0x3fc0d2(0x272)],fs=Object['getOwnPropertyDescriptor'],vs=(_0xc28ed6,_0xcd7c78,_0x3f242f,_0x2ac1e0)=>{var _0x33862e=_0x3fc0d2;for(var _0x42565d=_0x2ac1e0>0x1?void 0x0:_0x2ac1e0?fs(_0xcd7c78,_0x3f242f):_0xcd7c78,_0x3ccb28=_0xc28ed6[_0x33862e(0x2ee)]-0x1,_0x394b25;_0x3ccb28>=0x0;_0x3ccb28--)(_0x394b25=_0xc28ed6[_0x3ccb28])&&(_0x42565d=(_0x2ac1e0?_0x394b25(_0xcd7c78,_0x3f242f,_0x42565d):_0x394b25(_0x42565d))||_0x42565d);return _0x2ac1e0&&_0x42565d&&ds(_0xcd7c78,_0x3f242f,_0x42565d),_0x42565d;},mt=(_0x254c60,_0x980327)=>(_0x48f97c,_0x3c7cde)=>_0x980327(_0x48f97c,_0x3c7cde,_0x254c60);let Ot=class extends _0x2ac02b{constructor(_0x403007,_0x162974,_0x544f51){var _0x1f5b59=_0x3fc0d2;super(),N(this,_0x1f5b59(0x228),new _0x257515(null)),N(this,'unitInfo$',this[_0x1f5b59(0x228)][_0x1f5b59(0x357)]()),(this['_logService']=_0x403007,this[_0x1f5b59(0x35b)]=_0x162974,this[_0x1f5b59(0x346)]=_0x544f51);}async[_0x3fc0d2(0x196)](_0x1d45cf,_0x301c66,_0x550ec2){var _0x150e5e=_0x3fc0d2;this['_unitInfo$']['next']({'unitId':_0x1d45cf,'type':_0x301c66,'subUnitId':_0x550ec2});let _0xcc94a5=null;switch(_0x301c66){case Q[_0x150e5e(0x252)]:{_0xcc94a5=await this[_0x150e5e(0x3cf)](_0x1d45cf);break;}case Q[_0x150e5e(0x161)]:{_0xcc94a5=await this[_0x150e5e(0x2df)](_0x1d45cf);break;}default:{this[_0x150e5e(0x3dd)][_0x150e5e(0x24c)](_0x150e5e(0x337),_0x150e5e(0x3b0));break;}}return _0xcc94a5;}async['_loadSheet'](_0x5bc72e){var _0x2f9e4d=_0x3fc0d2,_0x3401c3;let _0x2f88f5=0x0;const _0x35bddb=await((_0x3401c3=this[_0x2f9e4d(0x346)])==null?void 0x0:_0x3401c3[_0x2f9e4d(0x26c)](_0x5bc72e));return _0x35bddb&&(_0x35bddb[_0x2f9e4d(0x1d9)]||_0x35bddb[_0x2f9e4d(0x402)][_0x2f9e4d(0x2ee)]!==0x0)&&(_0x2f88f5=_0x35bddb[_0x2f9e4d(0x370)]),_0x2f88f5===0x0&&this[_0x2f9e4d(0x3dd)][_0x2f9e4d(0x3fa)](_0x2f9e4d(0x337),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2f9e4d(0x35b)]['loadSheet'](_0x5bc72e,_0x2f88f5);}async[_0x3fc0d2(0x2df)](_0x28f068){var _0x3f723d=_0x3fc0d2,_0x89d31e;let _0x3be95c=0x0;const _0x69a0d9=await((_0x89d31e=this[_0x3f723d(0x346)])==null?void 0x0:_0x89d31e['loadOfflineData'](_0x28f068));return _0x69a0d9&&(_0x69a0d9['awaitingChangeset']||_0x69a0d9[_0x3f723d(0x402)][_0x3f723d(0x2ee)]!==0x0)&&(_0x3be95c=_0x69a0d9[_0x3f723d(0x370)]),_0x3be95c===0x0&&this[_0x3f723d(0x3dd)]['debug'](_0x3f723d(0x337),_0x3f723d(0x39a)),this['_snapshotService']['loadDoc'](_0x28f068,_0x3be95c);}};Ot=vs([mt(0x0,_0x5c7efb),mt(0x1,_0x4a0d65(_0x4ae372)),mt(0x2,_0x469180(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x3fc0d2(0x314)],gs=(_0x2ddc39,_0x4b4d92,_0x150c31,_0x80cfe4)=>{var _0x3dd993=_0x3fc0d2;for(var _0x1fbc80=_0x80cfe4>0x1?void 0x0:_0x80cfe4?ms(_0x4b4d92,_0x150c31):_0x4b4d92,_0x2f74e3=_0x2ddc39[_0x3dd993(0x2ee)]-0x1,_0x135cc7;_0x2f74e3>=0x0;_0x2f74e3--)(_0x135cc7=_0x2ddc39[_0x2f74e3])&&(_0x1fbc80=(_0x80cfe4?_0x135cc7(_0x4b4d92,_0x150c31,_0x1fbc80):_0x135cc7(_0x1fbc80))||_0x1fbc80);return _0x80cfe4&&_0x1fbc80&&ps(_0x4b4d92,_0x150c31,_0x1fbc80),_0x1fbc80;},gt=(_0x3524b7,_0x54a189)=>(_0x4f30ff,_0x129353)=>_0x54a189(_0x4f30ff,_0x129353,_0x3524b7);const Ss=[_0x3fc0d2(0x39f),'image/jpeg',_0x3fc0d2(0x28a),_0x3fc0d2(0x2bc),_0x3fc0d2(0x2ed)],Es=0x5*0x400*0x400,Is=_0x3fc0d2(0x2c9),Ts=_0x3fc0d2(0x304),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x3fc0d2(0x329);let yt=class{constructor(_0x3c7eae,_0x11af18,_0x415406){var _0x1191e5=_0x3fc0d2;N(this,_0x1191e5(0x3d0),0x0),N(this,_0x1191e5(0x25a),new _0x6e5a01()),N(this,_0x1191e5(0x1bd),this['_change$']),N(this,_0x1191e5(0x3e9),new Map()),(this[_0x1191e5(0x21a)]=_0x3c7eae,this[_0x1191e5(0x281)]=_0x11af18,this[_0x1191e5(0x230)]=_0x415406);}[_0x3fc0d2(0x2eb)](_0x336f12){var _0x31172e=_0x3fc0d2;this['_waitCount']=_0x336f12,this[_0x31172e(0x25a)][_0x31172e(0x400)](_0x336f12);}[_0x3fc0d2(0x3e0)](_0x14a89e,_0x2ea176){var _0x45c706=_0x3fc0d2;if(_0x2ea176===_0x10409a[_0x45c706(0x215)]){const _0x397e34=new Image();return _0x397e34['src']=_0x14a89e,_0x397e34;}return this[_0x45c706(0x3e9)][_0x45c706(0x2db)](_0x14a89e);}['addImageSourceCache'](_0x5ec7b7,_0x4e38d3,_0x9393bb){var _0x153dd1=_0x3fc0d2;_0x4e38d3===_0x10409a[_0x153dd1(0x215)]||_0x9393bb==null||this[_0x153dd1(0x3e9)][_0x153dd1(0x30a)](_0x5ec7b7,_0x9393bb);}async['getImage'](_0x22242d){var _0x107e35=_0x3fc0d2;try{const _0x2828cd=this[_0x107e35(0x165)](this[_0x107e35(0x267)](),''+_0x22242d),_0x11d088=(await this[_0x107e35(0x21a)]['get'](_0x2828cd))[_0x107e35(0x1b3)];if(_0x11d088[_0x107e35(0x24c)]&&_0x11d088[_0x107e35(0x24c)][_0x107e35(0x336)]===Ii['OK']){const _0x2b0263=new URL(_0x11d088[_0x107e35(0x1dd)],this[_0x107e35(0x27b)]())[_0x107e35(0x2f5)]();return Promise[_0x107e35(0x326)](_0x2b0263);}return Promise['reject'](_0x11d088[_0x107e35(0x24c)]);}catch(_0x5aed31){return Promise['reject'](_0x5aed31);}}async[_0x3fc0d2(0x403)](_0x38bcdf){var _0x535252=_0x3fc0d2;let _0x1966de='';if(!Ss[_0x535252(0x249)](_0x38bcdf[_0x535252(0x293)]))return this[_0x535252(0x2c5)](),Promise[_0x535252(0x1ef)](new Error(_0x20e925[_0x535252(0x395)]));if(_0x38bcdf[_0x535252(0x2d2)]>Es)return this[_0x535252(0x2c5)](),Promise['reject'](new Error(_0x20e925[_0x535252(0x31c)]));try{const _0x40cba4=new FormData();_0x40cba4[_0x535252(0x29f)]('file',_0x38bcdf);const _0x1b132a=this['_univerInstanceService'][_0x535252(0x302)](),_0x566902=_0x1b132a==null?void 0x0:_0x1b132a['getUnitId']();if(!_0x566902)throw new Error('unitId\x20is\x20not\x20found');const _0x288d9d=this[_0x535252(0x3b5)]()+'?size='+_0x38bcdf['size'][_0x535252(0x2f5)]()+_0x535252(0x2e0)+Ti[_0x535252(0x2b4)]+_0x535252(0x37a)+encodeURIComponent(_0x566902),_0x269160=await(await fetch(_0x288d9d,{'method':_0x535252(0x22e),'body':_0x40cba4}))[_0x535252(0x119)]();if(typeof _0x269160[_0x535252(0x3ae)]!='string')return this[_0x535252(0x2c5)](),Promise[_0x535252(0x1ef)](new Error(_0x20e925[_0x535252(0x3a7)]));_0x1966de=_0x269160[_0x535252(0x3ae)];}catch{return this[_0x535252(0x2c5)](),Promise['reject'](new Error(_0x20e925[_0x535252(0x3a7)]));}return new Promise((_0x4648cc,_0x5bbd02)=>{var _0x397744=_0x535252;const _0x103246=new FileReader();_0x103246['readAsDataURL'](_0x38bcdf),_0x103246[_0x397744(0x257)]=_0x2c1d18=>{var _0x2547a9=_0x397744,_0x42f620;const _0x23ba1d=(_0x42f620=_0x2c1d18[_0x2547a9(0x262)])==null?void 0x0:_0x42f620[_0x2547a9(0x138)];if(_0x23ba1d==null){this[_0x2547a9(0x2c5)](),_0x5bbd02(new Error(_0x20e925[_0x2547a9(0x3a7)]));return;}const _0x474c8e=_0x3f72fc[_0x2547a9(0x296)](0x6);_0x4648cc({'imageId':_0x474c8e,'imageSourceType':_0x10409a['UUID'],'source':_0x1966de,'base64Cache':_0x23ba1d,'status':_0x20e925['SUCCUSS']}),this[_0x2547a9(0x2c5)]();};});}[_0x3fc0d2(0x3b5)](){var _0x543383=_0x3fc0d2,_0x1e00e1,_0x210f90;const _0x57ba11=this[_0x543383(0x281)]['getConfig'](Is),_0x5b4519=this[_0x543383(0x281)][_0x543383(0x3fe)](q);return(_0x210f90=(_0x1e00e1=_0x5b4519==null?void 0x0:_0x5b4519[_0x543383(0x2b2)])!=null?_0x1e00e1:_0x57ba11)!=null?_0x210f90:Ts;}[_0x3fc0d2(0x267)](){var _0x401354=_0x3fc0d2,_0xfa0ee3,_0xb34f48;const _0xd8a9e8=this[_0x401354(0x281)][_0x401354(0x3fe)](Cs),_0x417c05=this[_0x401354(0x281)][_0x401354(0x3fe)](q);return(_0xb34f48=(_0xfa0ee3=_0x417c05==null?void 0x0:_0x417c05[_0x401354(0x166)])!=null?_0xfa0ee3:_0xd8a9e8)!=null?_0xb34f48:Rs;}[_0x3fc0d2(0x27b)](){var _0x108eea=_0x3fc0d2,_0x3d040e;const _0x23c782=this['_configService'][_0x108eea(0x3fe)](q);return(_0x3d040e=_0x23c782==null?void 0x0:_0x23c782[_0x108eea(0x2ff)])!=null?_0x3d040e:location['origin'];}[_0x3fc0d2(0x165)](_0x143b48,_0x4134ed){var _0x27e2e5=_0x3fc0d2;return _0x143b48[_0x27e2e5(0x179)](_0x27e2e5(0x38d),_0x4134ed);}[_0x3fc0d2(0x2c5)](){var _0x1912c3=_0x3fc0d2;this[_0x1912c3(0x3d0)]-=0x1,this[_0x1912c3(0x25a)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x4a0d65(_0x242e5e)),gt(0x1,_0x10186),gt(0x2,_0x4a0d65(_0x2e5298))],yt);var bs=Object[_0x3fc0d2(0x272)],Os=Object[_0x3fc0d2(0x314)],ys=(_0x10eb06,_0x22bb16,_0x333e27,_0xc0e7bb)=>{var _0x3f3fc4=_0x3fc0d2;for(var _0x431feb=_0xc0e7bb>0x1?void 0x0:_0xc0e7bb?Os(_0x22bb16,_0x333e27):_0x22bb16,_0x9ea306=_0x10eb06[_0x3f3fc4(0x2ee)]-0x1,_0x220030;_0x9ea306>=0x0;_0x9ea306--)(_0x220030=_0x10eb06[_0x9ea306])&&(_0x431feb=(_0xc0e7bb?_0x220030(_0x22bb16,_0x333e27,_0x431feb):_0x220030(_0x431feb))||_0x431feb);return _0xc0e7bb&&_0x431feb&&bs(_0x22bb16,_0x333e27,_0x431feb),_0x431feb;},_i=(_0x3f621f,_0x55d52e)=>(_0x432fe1,_0x2012c5)=>_0x55d52e(_0x432fe1,_0x2012c5,_0x3f621f);const Ns=_0x3fc0d2(0x3e3);let Nt=class{constructor(_0x533f4e,_0x93ac6a){var _0x1f5b40=_0x3fc0d2;this[_0x1f5b40(0x281)]=_0x533f4e,this[_0x1f5b40(0x1d5)]=_0x93ac6a;}[_0x3fc0d2(0x258)](){var _0x478a97=_0x3fc0d2,_0x55ab8d,_0x54ed83;const _0x13ff92=this['_configService'][_0x478a97(0x3fe)](Pi),_0x3b1ba3=this['_configService'][_0x478a97(0x3fe)](q);return(_0x54ed83=(_0x55ab8d=_0x3b1ba3==null?void 0x0:_0x3b1ba3[_0x478a97(0x201)])!=null?_0x55ab8d:_0x13ff92)!=null?_0x54ed83:Ns;}async[_0x3fc0d2(0x389)](_0x166961){var _0x42a730=_0x3fc0d2;const _0x23e9e7=this[_0x42a730(0x258)]()+_0x42a730(0x2e5);return{'list':[{'title':_0x42a730(0x1f0),'mentions':(await this['_HTTPService'][_0x42a730(0x2db)](_0x23e9e7,{'params':{'objectID':_0x166961['unitId'],'unitID':_0x166961['unitId']}}))['body'][_0x42a730(0x33a)][_0x42a730(0x2e9)](_0x365408=>({'objectId':_0x365408['id'],'name':_0x365408['subject'][_0x42a730(0x39c)],'metadata':{'icon':_0x365408[_0x42a730(0x3cb)]['avatar']},'label':_0x365408[_0x42a730(0x3cb)]['name'],'objectType':_0x1fc710['PERSON']})),'metadata':{},'type':_0x1fc710['PERSON']}]};}};Nt=ys([_i(0x0,_0x4a0d65(_0x10186)),_i(0x1,_0x4a0d65(_0x242e5e))],Nt);var Ds=Object[_0x3fc0d2(0x272)],Ps=Object[_0x3fc0d2(0x314)],ws=(_0x4d1901,_0x278071,_0xb856b,_0x289e69)=>{for(var _0x15d149=_0x289e69>0x1?void 0x0:_0x289e69?Ps(_0x278071,_0xb856b):_0x278071,_0xf712be=_0x4d1901['length']-0x1,_0x3aacb4;_0xf712be>=0x0;_0xf712be--)(_0x3aacb4=_0x4d1901[_0xf712be])&&(_0x15d149=(_0x289e69?_0x3aacb4(_0x278071,_0xb856b,_0x15d149):_0x3aacb4(_0x15d149))||_0x15d149);return _0x289e69&&_0x15d149&&Ds(_0x278071,_0xb856b,_0x15d149),_0x15d149;},Se=(_0x37a63c,_0x28cbcf)=>(_0x4ca237,_0x5d3741)=>_0x28cbcf(_0x4ca237,_0x5d3741,_0x37a63c);let at=class extends _0x2ac02b{constructor(_0x4d87ab,_0xa3c02b,_0x15ff59,_0x168ca4,_0x20b570,_0x3ade67,_0x32846b){var _0x4bef11=_0x3fc0d2;super(),this['_injector']=_0x4d87ab,this['_univerInstanceService']=_0xa3c02b,this[_0x4bef11(0x1cd)]=_0x15ff59,this[_0x4bef11(0x37f)]=_0x168ca4,this['_collaborationUIEventService']=_0x20b570,this[_0x4bef11(0x1f2)]=_0x3ade67,this[_0x4bef11(0x1ae)]=_0x32846b,this[_0x4bef11(0x2d6)](),this['_initCloseConn']();}[_0x3fc0d2(0x298)](){var _0x12aed3=_0x3fc0d2;const _0x153917=async _0x53107a=>{var _0x1e3471=_0x3335;(await this[_0x1e3471(0x37f)][_0x1e3471(0x114)](_0x53107a))[_0x1e3471(0x2c1)][_0x1e3471(0x348)](_0x59d3b8(_0x11b924=>_0x11b924[_0x1e3471(0x1b0)]===_0x5e0126[_0x1e3471(0x23d)]),_0x28efe9(this[_0x1e3471(0x1e7)]))['subscribe'](_0x5e84e5=>{var _0x1c3532=_0x1e3471;const _0x1898c5=_0x5e84e5,{reason:_0x38d14e}=_0x1898c5[_0x1c3532(0x144)];this[_0x1c3532(0x123)][_0x1c3532(0x3e6)]({'id':se['CLOSE_ROOM'],'data':_0x38d14e}),this[_0x1c3532(0x1cd)][_0x1c3532(0x38a)](new _0x54a994(_0x53107a)['id'],!0x1),this['_collaborationSessionService'][_0x1c3532(0x1df)](_0x53107a);});};_0x5a2e3b(this[_0x12aed3(0x230)][_0x12aed3(0x2e6)](_0x56b6a1['UNIVER_SHEET']),this[_0x12aed3(0x230)]['getTypeOfUnitAdded$'](_0x56b6a1[_0x12aed3(0x161)]))[_0x12aed3(0x348)](_0x1c1a45(_0x48bf22=>_0x48bf22[_0x12aed3(0x1da)]()),_0x59d3b8(_0x10eec3=>!_0xe5a37f(_0x10eec3)),_0x28efe9(this['dispose$']))[_0x12aed3(0x206)](_0x28e8fa=>{_0x153917(_0x28e8fa);});}[_0x3fc0d2(0x2d6)](){var _0x29941d=_0x3fc0d2;const _0x57bf6b=async _0x3318d0=>{var _0x5a280d=_0x3335;const _0x584be4=await this[_0x5a280d(0x37f)][_0x5a280d(0x114)](_0x3318d0),_0x1d7daf=this[_0x5a280d(0x3eb)][_0x5a280d(0x2db)](_0x5dab13);_0x584be4['event$']['pipe'](_0x59d3b8(_0x180aaa=>_0x180aaa['eventID']===_0x5e0126[_0x5a280d(0x153)]),_0x28efe9(this['dispose$']))['subscribe'](_0x537085=>{var _0x1c1d3d=_0x5a280d;const _0x824f4c=_0x537085,{objectId:_0x174ad7}=_0x824f4c[_0x1c1d3d(0x144)];_0x174ad7===_0x3318d0?_0x1d7daf[_0x1c1d3d(0x1f4)](_0x3318d0):_0x1d7daf[_0x1c1d3d(0x3d3)](_0x3318d0,_0x174ad7);});};_0x5a2e3b(this[_0x29941d(0x230)][_0x29941d(0x2e6)](_0x56b6a1[_0x29941d(0x252)]),this['_univerInstanceService'][_0x29941d(0x2e6)](_0x56b6a1[_0x29941d(0x161)]))[_0x29941d(0x348)](_0x1c1a45(_0x3f51c5=>_0x3f51c5['getUnitId']()),_0x59d3b8(_0x364ab2=>!_0xe5a37f(_0x364ab2)),_0x28efe9(this[_0x29941d(0x1e7)]))['subscribe'](_0x461c1a=>{_0x57bf6b(_0x461c1a);});}};at=ws([Se(0x0,_0x4a0d65(_0x3e5f47)),Se(0x1,_0x2e5298),Se(0x2,_0x8735be),Se(0x3,_0x4a0d65(Le)),Se(0x4,_0x4a0d65(pe)),Se(0x5,_0x3f2e29),Se(0x6,_0x3a051e)],at);var Us=Object[_0x3fc0d2(0x272)],As=Object[_0x3fc0d2(0x314)],xs=(_0x4d3340,_0x43a17d,_0x3db2ac,_0x82e577)=>{var _0x3d47b1=_0x3fc0d2;for(var _0x4d0052=_0x82e577>0x1?void 0x0:_0x82e577?As(_0x43a17d,_0x3db2ac):_0x43a17d,_0x32834a=_0x4d3340[_0x3d47b1(0x2ee)]-0x1,_0x54dc42;_0x32834a>=0x0;_0x32834a--)(_0x54dc42=_0x4d3340[_0x32834a])&&(_0x4d0052=(_0x82e577?_0x54dc42(_0x43a17d,_0x3db2ac,_0x4d0052):_0x54dc42(_0x4d0052))||_0x4d0052);return _0x82e577&&_0x4d0052&&Us(_0x43a17d,_0x3db2ac,_0x4d0052),_0x4d0052;},li=(_0x49b005,_0x369a53)=>(_0x1c6b72,_0x1be0b7)=>_0x369a53(_0x1c6b72,_0x1be0b7,_0x49b005);let Dt=class{constructor(_0xad0b1f,_0x1ff7df){var _0xaf224c=_0x3fc0d2;this[_0xaf224c(0x281)]=_0xad0b1f,this[_0xaf224c(0x21a)]=_0x1ff7df;}async[_0x3fc0d2(0x22b)](_0x3394e4,_0x136257){var _0x437379=_0x3fc0d2,_0x1f185;const {unitID:_0xa4288a,type:_0xbf95f7,revision:_0x1ccf61=0x0}=_0x136257,_0x43b0e0=this[_0x437379(0x1ac)]()+'/'+_0xbf95f7+_0x437379(0x2bb)+_0xa4288a+'/rev/'+_0x1ccf61,_0x5e5245=(await this[_0x437379(0x21a)][_0x437379(0x2db)](_0x43b0e0))[_0x437379(0x1b3)],_0x362396=(_0x1f185=_0x5e5245[_0x437379(0x116)])==null?void 0x0:_0x1f185[_0x437379(0x2e2)];if(_0x362396){const _0x5dc695=_0x362396==null?void 0x0:_0x362396[_0x437379(0x3d4)],_0xeb25b9=_0x35f0c4['encode'](_0x50f9c6(_0x5dc695));_0x362396[_0x437379(0x3d4)]=_0xeb25b9,Object['entries'](_0x362396[_0x437379(0x224)])['forEach'](([,_0x1f0059])=>{var _0x41b48d=_0x437379;const _0x13faca=_0x1f0059['originalMeta'],_0xac67a=_0x35f0c4[_0x41b48d(0x19e)](_0x50f9c6(_0x13faca));_0x1f0059['originalMeta']=_0xac67a;});}return _0x5e5245;}async[_0x3fc0d2(0x159)](_0x2b60e3,_0x6e493){var _0x213722=_0x3fc0d2;const {unitID:_0x4e7a30,type:_0x582425,blockID:_0x4f0fd7}=_0x6e493,_0x576bd9=this[_0x213722(0x32d)]()+'/'+_0x582425+'/unit/'+_0x4e7a30+_0x213722(0x1c3)+_0x4f0fd7;return(await this['_httpService'][_0x213722(0x2db)](_0x576bd9))[_0x213722(0x1b3)];}async[_0x3fc0d2(0x2ac)](_0x1137ba,_0x46ff62){var _0x1cd5cf=_0x3fc0d2;const {unitID:_0x41e231,type:_0x4a14ae,blockID:_0x2b6a6a}=_0x46ff62,_0x505758=this[_0x1cd5cf(0x32d)]()+'/block/'+_0x4a14ae+'/unit/'+_0x41e231+_0x1cd5cf(0x1c3)+_0x2b6a6a;return(await this[_0x1cd5cf(0x21a)]['get'](_0x505758))[_0x1cd5cf(0x1b3)];}async[_0x3fc0d2(0x21d)](_0x210cb6,_0x2142fe){var _0xb5cc21=_0x3fc0d2;const {unitID:_0xcacbc4,type:_0x46f4f1,from:_0x2ab659,to:_0x5cd461}=_0x2142fe,_0x5b0db2=this[_0xb5cc21(0x32d)]()+'/'+_0x46f4f1+_0xb5cc21(0x2bb)+_0xcacbc4+'/fetchmissing?from='+_0x2ab659+'&to='+_0x5cd461;return(await this['_httpService']['get'](_0x5b0db2))[_0xb5cc21(0x1b3)];}[_0x3fc0d2(0x1ac)](){var _0x84959=_0x3fc0d2,_0xb803c;return(_0xb803c=this['_configService'][_0x84959(0x3fe)](Tn))!=null?_0xb803c:this['_getAPIPrefix']();}[_0x3fc0d2(0x32d)](){var _0x40ab5f=_0x3fc0d2,_0x2dd5ef,_0x2c7d5b;const _0x14509a=this['_configService']['getConfig'](En),_0xc5f0d9=this['_configService'][_0x40ab5f(0x3fe)](q);return(_0x2c7d5b=(_0x2dd5ef=_0xc5f0d9==null?void 0x0:_0xc5f0d9[_0x40ab5f(0x3a3)])!=null?_0x2dd5ef:_0x14509a)!=null?_0x2c7d5b:In;}async['getResourcesRequest'](_0x2d5fc4,_0x30d447){var _0x4ca082=_0x3fc0d2;const _0x2c8b0d=_0x4ca082(0x2aa)+_0x30d447['type']+_0x4ca082(0x2bb)+_0x30d447[_0x4ca082(0x134)]+'/resources';return(await this[_0x4ca082(0x21a)][_0x4ca082(0x2db)](_0x2c8b0d,{'params':{'resourceId':JSON[_0x4ca082(0x277)](_0x30d447[_0x4ca082(0x1fe)])}}))[_0x4ca082(0x1b3)];}['saveSnapshot'](){var _0x5494c6=_0x3fc0d2;throw new Error(_0x5494c6(0x226));}[_0x3fc0d2(0x3ac)](){var _0x390d96=_0x3fc0d2;throw new Error(_0x390d96(0x226));}['saveChangeset'](){var _0x515db0=_0x3fc0d2;throw new Error(_0x515db0(0x226));}[_0x3fc0d2(0x380)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x253e46=_0x3fc0d2;throw new Error(_0x253e46(0x226));}};Dt=xs([li(0x0,_0x10186),li(0x1,_0x4a0d65(_0x242e5e))],Dt);var Ls=Object[_0x3fc0d2(0x272)],Ms=Object[_0x3fc0d2(0x314)],$s=(_0x31f78c,_0x58a164,_0x56620f,_0x480227)=>{var _0x4911be=_0x3fc0d2;for(var _0x3ba4cc=_0x480227>0x1?void 0x0:_0x480227?Ms(_0x58a164,_0x56620f):_0x58a164,_0x2452ad=_0x31f78c[_0x4911be(0x2ee)]-0x1,_0x3bd284;_0x2452ad>=0x0;_0x2452ad--)(_0x3bd284=_0x31f78c[_0x2452ad])&&(_0x3ba4cc=(_0x480227?_0x3bd284(_0x58a164,_0x56620f,_0x3ba4cc):_0x3bd284(_0x3ba4cc))||_0x3ba4cc);return _0x480227&&_0x3ba4cc&&Ls(_0x58a164,_0x56620f,_0x3ba4cc),_0x3ba4cc;},Ae=(_0x2a1ef1,_0x53e4cd)=>(_0x3cba1f,_0x8f1a24)=>_0x53e4cd(_0x3cba1f,_0x8f1a24,_0x2a1ef1);let Pt=class extends _0x183421{constructor(_0x3eec3d,_0x3b0faa,_0x54e020,_0x31faf1,_0x159ba3){var _0x2e33eb=_0x3fc0d2;super(_0x3eec3d,_0x3b0faa,_0x54e020),this[_0x2e33eb(0x330)]=_0x31faf1,this[_0x2e33eb(0x3dd)]=_0x159ba3;}[_0x3fc0d2(0x1ea)](_0x43929e,_0x2977e8){var _0x18b3c7=_0x3fc0d2;const _0x2ba9a9=this['_getUndoStack'](_0x43929e);if(_0x2ba9a9)try{const _0x15025e=this['_transformStack'](_0x2ba9a9,_0x2977e8);this[_0x18b3c7(0x2fe)](_0x43929e,_0x15025e);}catch(_0x22cb2d){this[_0x18b3c7(0x3dd)][_0x18b3c7(0x24c)](_0x18b3c7(0x382),_0x22cb2d),this['_clearUndo'](_0x43929e);}const _0x40d5a3=this[_0x18b3c7(0x2a3)](_0x43929e);if(_0x40d5a3)try{const _0x433f8a=this['_transformStack'](_0x40d5a3,_0x2977e8);this['_substituteRedoStack'](_0x43929e,_0x433f8a);}catch(_0x44d0fe){this[_0x18b3c7(0x3dd)]['error'](_0x44d0fe),this['_clearRedo'](_0x43929e);}}['_clearUndo'](_0xb15d49){var _0x48faf2=_0x3fc0d2;const _0x39467b=this[_0x48faf2(0x260)](_0xb15d49);_0x39467b&&(_0x39467b[_0x48faf2(0x2ee)]=0x0,this[_0x48faf2(0x111)]());}[_0x3fc0d2(0x3c0)](_0x4f3066){var _0xff67ed=_0x3fc0d2;const _0x42c574=this['_getRedoStack'](_0x4f3066);_0x42c574&&(_0x42c574[_0xff67ed(0x2ee)]=0x0,this[_0xff67ed(0x111)]());}[_0x3fc0d2(0x2fe)](_0x13f34f,_0x1915f6){var _0x2da303=_0x3fc0d2;this[_0x2da303(0x2c0)][_0x2da303(0x30a)](_0x13f34f,_0x1915f6),this[_0x2da303(0x111)]();}[_0x3fc0d2(0x2fc)](_0x531eb7,_0x405477){var _0x3a078b=_0x3fc0d2;this[_0x3a078b(0x118)][_0x3a078b(0x30a)](_0x531eb7,_0x405477),this[_0x3a078b(0x111)]();}['_transformStack'](_0x968633,_0x4da085){var _0x43b711=_0x3fc0d2;const _0x147aca=[];let _0x123e21=_0x4da085,_0x54f20e=_0x4da085;for(let _0xe83ec3=_0x968633[_0x43b711(0x2ee)]-0x1;_0xe83ec3>=0x0;_0xe83ec3--){const {unitID:_0x582adc,undoMutations:_0x4c7540,redoMutations:_0x87f14a}=_0x968633[_0xe83ec3],_0x40ef67=this[_0x43b711(0x330)]['transformMutationsWithChangeset'](_0x123e21,_0x4c7540),_0x34ba0c=this[_0x43b711(0x330)]['transformMutationsWithChangeset'](_0x54f20e,_0x87f14a);if(_0x170ef7(_0x40ef67)||_0x170ef7(_0x34ba0c)){this['_logService'][_0x43b711(0x24c)](_0x43b711(0x382),'transformStack\x20failed!',_0x40ef67,_0x34ba0c);break;}_0x123e21=_0x40ef67[_0x43b711(0x3b3)],_0x54f20e=_0x34ba0c[_0x43b711(0x3b3)],_0x147aca[_0x43b711(0x1ba)]({'unitID':_0x582adc,'undoMutations':_0x40ef67[_0x43b711(0x1fc)],'redoMutations':_0x34ba0c['m2Prime']});}return _0x147aca[_0x43b711(0x182)]();}};Pt=$s([Ae(0x0,_0x2e5298),Ae(0x1,_0x478928),Ae(0x2,_0x302f51),Ae(0x3,_0x44918b),Ae(0x4,_0x5c7efb)],Pt);var xi=Object[_0x3fc0d2(0x272)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x8fb29f,_0x565b6b,_0x49c957)=>_0x565b6b in _0x8fb29f?xi(_0x8fb29f,_0x565b6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49c957}):_0x8fb29f[_0x565b6b]=_0x49c957,js=(_0x362bc0,_0x47abeb,_0x140089,_0x3f9054)=>{var _0x3a92d8=_0x3fc0d2;for(var _0x4fb215=_0x3f9054>0x1?void 0x0:_0x3f9054?Hs(_0x47abeb,_0x140089):_0x47abeb,_0x421887=_0x362bc0[_0x3a92d8(0x2ee)]-0x1,_0x468700;_0x421887>=0x0;_0x421887--)(_0x468700=_0x362bc0[_0x421887])&&(_0x4fb215=(_0x3f9054?_0x468700(_0x47abeb,_0x140089,_0x4fb215):_0x468700(_0x4fb215))||_0x4fb215);return _0x3f9054&&_0x4fb215&&xi(_0x47abeb,_0x140089,_0x4fb215),_0x4fb215;},St=(_0x48ccb1,_0x1bd857)=>(_0x7a03b2,_0x52ea96)=>_0x1bd857(_0x7a03b2,_0x52ea96,_0x48ccb1),Bs=(_0x5f0ddb,_0x35c863,_0x54be79)=>ks(_0x5f0ddb,_0x35c863+'',_0x54be79);const Fs=_0x3fc0d2(0x11e);let wt=class extends _0x18aed0{constructor(_0x2cadf7=Wt,_0x3c4aaa,_0xfdbe82,_0x4690ba){var _0xc3fdb8=_0x3fc0d2;super(),this[_0xc3fdb8(0x319)]=_0x2cadf7,this['_logService']=_0x3c4aaa,this[_0xc3fdb8(0x3eb)]=_0xfdbe82,this['_configService']=_0x4690ba;const {..._0x14306a}=_0x3cb396({},Wt,this[_0xc3fdb8(0x319)]);this[_0xc3fdb8(0x281)]['setConfig'](q,_0x14306a);}[_0x3fc0d2(0x15c)](){var _0x43a6a0=_0x3fc0d2;this[_0x43a6a0(0x170)](),this['_initDependencies']();}[_0x3fc0d2(0x170)](){var _0x2eec02=_0x3fc0d2,_0x361135,_0x126d98,_0xea0816,_0x78bd14;this['_injector'][_0x2eec02(0x2a9)](_0x3a051e)&&this[_0x2eec02(0x3dd)][_0x2eec02(0x24c)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4fa274=_0x4b73c5([[_0x3a051e,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x126d98=(_0x361135=this[_0x2eec02(0x319)])==null?void 0x0:_0x361135[_0x2eec02(0x24e)])!=null?_0x126d98:Et}],[_0x5e56ee,{'useClass':Dt}],[_0x3f2e29,{'useClass':bt}],[_0x4aad99,{'useClass':yt}],[_0x1514c0,{'useClass':Nt}],[rt],[Rt]],(_0xea0816=this[_0x2eec02(0x319)])==null?void 0x0:_0xea0816['override']);if(!((_0x78bd14=this['_config'])!=null&&_0x78bd14[_0x2eec02(0x2f2)])){const _0x179233=_0x4fa274[_0x2eec02(0x154)](([_0x4caef5])=>_0x4caef5===ht);_0x179233!==-0x1&&_0x4fa274['splice'](_0x179233,0x1);}_0x15c41e(this['_injector'],_0x4fa274);}[_0x3fc0d2(0x36a)](){var _0x35cf67=_0x3fc0d2,_0x3598d8,_0x1c9c98,_0x3de4b1;this[_0x35cf67(0x3eb)][_0x35cf67(0x2db)](_0x242e5e)[_0x35cf67(0x358)]({'priority':0x14,'interceptor':_0x4e4e5c({'maxParallel':0x6})}),(_0x3598d8=this['_config'])!=null&&_0x3598d8[_0x35cf67(0x2a4)]||(_0x1c9c98=this[_0x35cf67(0x3eb)][_0x35cf67(0x2db)](J,_0x3c737a[_0x35cf67(0x269)]))==null||_0x1c9c98['disableLocalCache'](),(_0x3de4b1=this[_0x35cf67(0x319)])!=null&&_0x3de4b1[_0x35cf67(0x291)]&&_0x105bc9(this['_injector'],[[st]]),_0x105bc9(this[_0x35cf67(0x3eb)],[[ot],[rt],[at]]);}};Bs(wt,_0x3fc0d2(0x1ad),Fs),wt=js([_0x13352f(_0x52de3d,_0x14e1d4,_0x4e6422),St(0x1,_0x5c7efb),St(0x2,_0x4a0d65(_0x3e5f47)),St(0x3,_0x10186)],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 _0x7e3d33=_0x3515;(function(_0x891479,_0x43000d){var _0x58c005=_0x3515,_0x421aec=_0x891479();while(!![]){try{var _0x57520e=-parseInt(_0x58c005(0x124))/0x1*(parseInt(_0x58c005(0x2f0))/0x2)+parseInt(_0x58c005(0x3cb))/0x3+parseInt(_0x58c005(0x31f))/0x4*(-parseInt(_0x58c005(0x32a))/0x5)+parseInt(_0x58c005(0x17d))/0x6+parseInt(_0x58c005(0x419))/0x7*(-parseInt(_0x58c005(0x310))/0x8)+parseInt(_0x58c005(0x227))/0x9*(-parseInt(_0x58c005(0x1bc))/0xa)+parseInt(_0x58c005(0x39a))/0xb;if(_0x57520e===_0x43000d)break;else _0x421aec['push'](_0x421aec['shift']());}catch(_0x1b7947){_0x421aec['push'](_0x421aec['shift']());}}}(_0x2fdc,0xede44));var Li=Object[_0x7e3d33(0x349)],Mi=(_0x49f748,_0x26d8b0,_0x3d1145)=>_0x26d8b0 in _0x49f748?Li(_0x49f748,_0x26d8b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1145}):_0x49f748[_0x26d8b0]=_0x3d1145,N=(_0x225951,_0x3e97e3,_0xfeb884)=>Mi(_0x225951,typeof _0x3e97e3!=_0x7e3d33(0x336)?_0x3e97e3+'':_0x3e97e3,_0xfeb884);import{createIdentifier as _0x51c9f0,Inject as _0x46e7fc,Injector as _0x54c970,Disposable as _0x25c510,DisposableCollection as _0x52de0b,toDisposable as _0x576ef6,IConfigService as _0xe8305c,ILogService as _0x3f2d03,UserManagerService as _0x3bc4f7,UniverInstanceType as _0x1242f2,IUniverInstanceService as _0x3f319c,LocaleService as _0x826620,Optional as _0x34330d,RxDisposable as _0x2a0262,Tools as _0x50aabe,Rectangle as _0x43a91d,ICommandService as _0x12a849,JSONX as _0x5651e6,CommandType as _0x42d9bc,IPermissionService as _0x4c05ea,IUndoRedoService as _0x1c6bd2,sequenceExecute as _0x403b17,Workbook as _0x36b18f,MentionType as _0xdbc584,IAuthzIoService as _0x1a1b5a,isInternalEditorID as _0x560b78,LocalUndoRedoService as _0x4f5111,IContextService as _0x4c814d,DependentOn as _0x4d7659,Plugin as _0x4f56cb,merge as _0x11f6e1,mergeOverrideWithDependencies as _0x3ef89c,IMentionIOService as _0x59c39f,registerDependencies as _0x3b6d41,Quantity as _0x122d9a,touchDependencies as _0x3e98ac}from'@univerjs/core';import{Subject as _0x5a35c2,merge as _0x33d39d,of as _0x14e3d9,BehaviorSubject as _0x33cf72,takeUntil as _0x294cec,ReplaySubject as _0x20c46f,take as _0x22a28b,map as _0x2db126,shareReplay as _0x5e7865,firstValueFrom as _0x3ae00d,concatMap as _0x5c1943}from'rxjs';import{map as _0x500e7a,take as _0x2ababf,filter as _0x56583e,delay as _0x26ebf5,takeUntil as _0x529fd7}from'rxjs/operators';import{HTTPService as _0x13eabd,ISocketService as _0x277841,MergeInterceptorFactory as _0x3fe0a6,HTTPRequest as _0x255e0a,UniverNetworkPlugin as _0x4f466e,ThresholdInterceptorFactory as _0xfad5f0}from'@univerjs/network';function _0x2fdc(){var _0x130c04=['getCurrentSelections','originalMeta','_decreaseWaiting','[DataLoaderService]','\x20to\x20','COMMENT_UPDATE','pluginName','_applyRemoteChangeset','_getDownloadEndpointURL','_joinRoom','getUnitId','_event$','_initRequestHeader','startTime','set','CONFLICT','onTransformRemoteChangesetByStateCache','4665999iUFpVh','_disableEditing','_onUserLeave','runId','enableAuthServer','/object/','sendChangesetTimeout','sid','mixIn','socketService','subscribe','encodeURIComponent','_createSocketURL','/collaborator','_candidateSocket','UNKNOWN_CODE','_clearScheduledTask','add','encode','hasOwnProperty','fromCollab','unsubscribe','OpenSSL','SOCKET_FAILED','session','byteOffset','EXCHANGE_SIGN_URL_SERVER_URL_KEY','kdf','closeSession','decrypt','_retryConnectingTimer','_substituteUndoStack','OFFLINE','apply','lib','_collaborationTimeoutTimer','_getCtorByUniverType','_doCryptBlock','_transitionLocked','YUUMI_UNABLE_LOAD_URL','_socket$','_transformRemoteChangesetByStateCache','UNAUTHENTICATED','includes','_unlockTransition','SHA1','_xformMode','UNIVER_COLLABORATION_CLIENT_PLUGIN','HmacSHA1','_members$','_initDependencies','_collaborationPaused','pipe','Decryptor','JOIN_ROOM_FAILED','_commentService','UNISCRIPT_RUN','_getAPIPrefixPath','_fetchMissChangesets','_collaborationSessionService','awaiting_with_pending','params','_keySchedule','CBC','indexOf','BASE64','reverse','deleteCollaborator','m2Prime','override','SerializableCipher','_onOffline','__Key__','Base64','[PendingState]:\x20unhandled\x20univer\x20type:\x20','random','resourceIDs','awaitingChangeset','1716505gSnbOG','NoPadding','Hasher','/universer-api/comb','APPLY_REVISION_CONFILICT','SHOULD_CLOSE_CONN','_onLocalMutation','CLOSE_ROOM','default','_clearHeartbeatTimer','_onMessage','clear','CHANGESET_SHOULD_RETRY','38329hEoqgf','_executeRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL','newCsEvent','COLLAB_WEB_SOCKET_URL','error','_cipher','_replayCachedMutations','findIndex','_univerInstanceService','ivSize','getUnitType','src','put','_sessions','updateCollaborator','action','dispose','origin','UNIVER_SLIDE','from','YUUMI_URL_COL_OUT_OF_RANGE','/allowed','[CollaborationSessionService]','getResourcesRequest','uniscriptRunEvent','objectActions','_roomCreated$','_getCurrentRevision','session.room-full','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','charCodeAt','transformSelections','requestParams','loadUnit','/-/object/list','[CollaborationEntity]','baseRev','localeService','algo','interceptor','HELLO','_authzIoService','localCacheService','_localeService','/universer-api/snapshot/','/universer-api/snapshot','registerHTTPInterceptor','_socketService','onRemoteRetry','ERROR_IMAGE','[CollaborationState]:\x20apply\x20error!','_nRounds','PENDING','max','_hasher','/role','PERSON','_throwTelemetryCollaborationNewChangeset','filter','transformMutationsWithChangeset','unpad','_collaborationUIEventService','key','keySize','_state','CHANGESET_REVISION_CONFILICT','substr','HEARTBEAT','unitId','getRoom','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','USERS_LEAVE','PasswordBasedCipher','state','_waitForHeartbeatResponse','fetchMissingChangesets','_commentUpdate$','image/jpeg','ws://127.0.0.1:8000/universer-api/comb/connect','onCommandExecuted','_undoStacks','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_singleActiveUnitService','AUTHZ_URL_KEY','refreshPermission','LICENSE_MAX_UNITS_EXCEEDED','roles','2492814RyRhjf','pad','_getUndoStack','_ENC_XFORM_MODE','SNAPSHOT_HAS_BEEN_REMOVED','clamp','COMPLETION_FINISHED','failed\x20to\x20apply\x20missed\x20changesets!','_awaitingChangeset','result','_sendingTimer','pauseCollaboration','startsWith','next','getInterceptPoints','NEW_CHANGESETS','UPDATE_PERMISSION_OBJ','_queuedRemoteChangesets','session.room-not-exists','_parse','fromCharCode','type','_entities','x-univer-host','editingUnit','updateMember','sigBytes','compute','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','searchParams','loginUrlKey','YUUMI_RATE_OVER_LIMIT','avatar','getRandomValues','/block/','LOCAL_CACHE_INTERVAL','patch','_transformStack','_unitInfo$','UUID','downloadEndpointUrl','_getSendChangesetTimeout','headers','isPermissionRej','_doProcessBlock','listCollaborators','getLatestCsReqIdBySid','search','isArray','unknown','_onRemoteACK','\x0aCurrent:\x20','slice','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','toggleOnline','?url=','?size=','_shouldReportTelemetry','splice','fetchThroughInterceptors','_oKey','HEARTBEAT_TIMEOUT','_data','9530160oGNZVR','_toggleOffline','onlyLocal','_members','liveShareNewHost','LICENSE_EXPORT_SIZE_EXCEEDED','_transformStateCache','entityInit$','saveSnapshot','NOT_COLLAB','createDecryptor','_socketMessageSubscription','Latin1','_updateStatus','getSnapshotAPIPath','_emitMembers','_iKey','entries','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConnectionOpen','conflict','updateCursorEvent','SNAPSHOT_URL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','range','saveImage','CipherParams','buffer','has','_prevBlock','Hex','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onConflict','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_injector','_handler','[UniverCollaborationClientPlugin]','MUTATION','_telemetryService','map','_memberService','_sheetTransformSelectionsService','get','EvpKDF','processBlock','telemetry\x20info\x20is\x20not\x20initialized','reqId','_syncEditingCollabCursor','Undefined','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','memberID','_transformSelections','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_networkConditionService','_createSocket','ERROR_EXCEED_SIZE','_changesetReqId','sin','sheets','_initMergeInterceptor','DEFAULT_FILE_NAME','mutations','_handlerCallback','UnitSnapshot','_clearTimeoutTimer','pending','_keyPriorReset','abs','saveSheetBlock','SUCCUSS','_telemetryInfo','getTime','userID','INGEST','crypto','onMissingChangesets','_createInitialStateImpl','LICENSE_DISTRO_REJECTED','c1Prime','_listenToNetworkCondition','APPLY_NON_SEQUENTIAL_REVISION','transformStack\x20failed!','authzUrl','onSendChangeset','_getAPIPrefix','getUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','actions','getTypeOfUnitDisposed$','eventID','JOIN','JOIN_ROOM_NOT_EXISTS','_onRemoteRetry','StreamCipher','_clearLocalCache','location','size','_stopTelemetryCollaborationNewChangeset','onRemoteChangeset','equals','file','_transformUndoredo','Error\x20on\x20receiving\x20event','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','session.room-cnt-exceeds','salt','_getSignURL','9hhxxbm','stringify','/object','close$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearRedo','reconnect','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','__creator','unit-cache-','batchAllowed','LIVESHARE_NEW_HOST','_undoRedoService','json','_append','[SyncedState]:\x20received\x20rejection.','OTHER_CLIENT_EDITING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','APPLY_DUPLICATED','execute','getSheetId','words','LEAVE','onCommentUpdate','HttpImport','dispose$','BlockCipher','now','_socketReady','\x0aAfter:\x20','onTransformIME','_onRemoteRejected','collabSubmitChangesetUrl','data','&to=','_snapshotService','padding','onRemoteRej','_state$','_resendWithTimeout','formatter','LIVESHARE_FETCH_OPERATIONS','offline','string','list','COMPRESS_MUTATION_APPLY','length','UNKNOWN_CMD','SOCKET_FAILED_RETRY','BlockCipherMode','onMissedChangesetFetched','_getLoginPath','onStarting','MD5','status','charAt','transformChangesets','/unit/','_logService','onTransformRemoteChangesetByIMECache','_pendingMutations','/-/object/-/batch_allowed','saveChangeset','open$','updatePermissionPoint','removeMember','/resources','_entityInit$','HMAC','JOIN_ROOM_FULL','BufferedBlockAlgorithm','createEncryptor','_status$','_initCloseConn','save\x20fail\x20reason\x20is\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','snapshot','create','sessionTicket','_replaceFileID','onTransformState','getFocusedUnit','delete','RECV','_createInitialState','/rev/','textRanges','synced','getMember','CHANGESET_ACK','toggleOffline','ALREADY_EXISTS','_commandService','byteLength','objectType','getCollabEntity$','members','permissionRejEvent','[PendingState]:\x20received\x20acknowledgement.','forEach','then','FAIL','ERROR_IMAGE_TYPE','format','workbook','_nDataBytes','[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.','/fetchmissing?from=','_revisionService','_roomMembers','c2Prime','_acknowledgedAwaitingChangeset','clone','sessionStatus$','finalize','subject','UNRECOGNIZED','FileId','_clearCollaborationTimeoutTimer','getCollabEntity','fetchMiss','getUnitOnRev','extend','loadOfflineData','UnitEmbedded','liveShareOperation','_isPermissionRej','csRejEvent','_permissionService','disableLocalCache','ticket','UNIVER_UNKNOWN','APPLY_PERMISSION_DENIED','_initUnitPermissionChange','socket\x20close','appendMutation','Cipher','socket$','hasher','[OfflineState]:\x20received\x20rejection.','COMPRESS_MUTATION_SEND','_showConflictNotification','resend','changesets','asObservable','_unitID','focused$','_eventService','_type','_onConnectionFailed','_exhaustRemoteChangesetQueue','_transformIMECache','SUBMIT_CHANGESET_TIMEOUT','generateRandomId','_iv','disposeWithMe','_process','_init','_hash','close','_updateState','PY_RUNTIME_SCRIPT_ERROR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','members$','fetch_missing','_redoStacks','getCurrentRevOfUnit','unitID','ciphertext','_sendHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','addImageSourceCache','SUBMIT_CHANGESET','cfg','bind','_getRedoStack','unitId\x20is\x20not\x20found','error$','_sender','_remoteChangesetQueue','setShowComponents','post','LIVESHARE_REQUEST_HOST','_toggleOnline','prototype','&assign=','_key','_scheduleCompleteTimestamp','_schedule','debug','commentUpdateEvent','OTHER_CLIENTS_EDITING','[OfflineState]:\x20received\x20acknowledgement.','collaborators','_transformService','function','_HTTPService','executeCommand','AES','decryptBlock','code','92LGfwHK','UPDATE_CURSOR','exports','send','online$','_rescheduleHeartbeat','_tryReconnect','_sessionStatus$','updateOfflineData','emitEvent','getSheetBlock','SEND_CHANGESET_TIMEOUT','signUrlServerUrl','Utf8','joinEvent','putCollaborators','getValue','init','randomBytes','PSEUDO_FETCH_MISSING_RESULT','enc','_localCacheService','setConfig','cmd','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_imageSourceCache','unitInfo$','Base','capture','HEARTBEAT_INTERVAL','deepClone','IDLE','32tMPFMI','snapshotServerUrl','awaiting','_submitChangeset','UNIVER_PROJECT','_compressMutationService','_lockTransition','parse','LOGIN_URL_KEY','HmacMD5','confirm','_httpService','_waitCount','getOwnPropertyDescriptor','message$','4RTIMZP','reset','APPLY_REJECT','LIVESHARE_TERMINATE','getImage','UNDEFINED','objectID','onSyncEditingCollabCursor','complete','toString','_mode','4000795yxLeaR','encrypt','getTypeOfUnitAdded$','loadDoc','onTransformSelections','__esModule','[SyncedState]:\x20received\x20acknowledgement.','collaMsg','every','title','_doReset','duration','symbol','update','_doFinalize','waitForRoom$','toLowerCase','UNIVER_SHEET','infoRsp','routeKey','call','_socket','_incrementRevisionNumber','_onRecvEvent','find','_resendTimer','POST','NOT_FOUND','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LIVESHARE_OPERATION','_map','defineProperty','Encryptor','onRemoteAck','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','enableOfflineEditing','_collabSessionService','_resendTimeout','/new_changes','join','randomUUID','revision','_snapshotServerService','_onCombEvent','sessionStatus','mode','[PendingState]:\x20received\x20rejection.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','joinRsp','repeat','_minBufferSize','concat','href','objects','_loadSheet','auth.needGotoLoginAlert','HttpExport','blockSize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','ceil','_updateLocalCache','floor','_onUserJoin','_timeoutTimer','name','/universer-api/uniscript','/universer-api/stream/file/upload','replace','readInt32LE','requireSession','LICENSE_IMPORT_SIZE_EXCEEDED','reject','_retryCount','PERMISSION_DENIED','_createHelper','not_collab','OPTIONAL','collaboration-client.local-cache-service','USERS_ENTER','_startCollaboration','AWAITING_WITH_PENDING','getCurrentUser','_scheduleCollaborationTimeoutTimer','collabWebSocketUrl','event$','CHANGESET_REJ','selections','enableSingleActiveInstanceLock','getConfig','_reverseMap','ONLINE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','catch','_sendHeartbeat','_startTelemetryCollaborationNewChangeset','_checkMissing','_invKeySchedule','&source=','_configService','session.room-permission-denied','body','_userManagerService','image/png','ENSURE_SNAPSHOT_EXECUTION','createSocket','connection\x20error','[FetchMissState]','$super','FETCH_MISSING','[CollaborationSession]','push','38508481KBFKCY','image/gif','createInstance','/universer-api/authz','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','WordArray','transformUndoRedo','_tryEnsureSocket','getMemberID','getActiveSheet','CONNECTOR_DATA_TOO_LARGE','getUnitStatus$','_createHmacHelper','wsSessionTicketUrl','status$','_loadDoc','_createHandler','roomInfos','editing\x20status\x20changed\x20to','_clearUndo','UNIVER_DOC','TOO_MANY_REQUESTS','_config','getDeserializedSheetBlock','_changesetSessionId','[CollaborationUndoRedoService]','encryptBlock','state$','_transformRemoteChangesetByIMECache','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onload','MSG_FOR_ERROR'];_0x2fdc=function(){return _0x130c04;};return _0x2fdc();}import{CollaborationEvent as _0x180571,parseChangesetToProtocol as _0xc2534e,ISnapshotServerService as _0x49df10,isTransformMutationsWithChangesetSuccess as _0x4496a3,ITransformService as _0x1b280a,mapDocumentTypeToUniverType as _0x164240,RevisionService as _0x316b6a,isTransformChangesetsSuccess as _0x147682,CompressMutationService as _0x3dcca9,parseProtocolChangeset as _0x247b21,SnapshotService as _0x386dba,textEncoder as _0x1d9923,b64DecodeUnicode as _0x4bd791,isTransformMutationsWithChangesetFailure as _0x172319,UniverCollaborationPlugin as _0x420a77}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x572501}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x28d6ae}from'@univerjs/docs';import{SheetsSelectionsService as _0x44e528,SetSelectionsOperation as _0x1e82bf,InsertSheetMutation as _0x296332,EmptyMutation as _0x431294,WorkbookEditablePermission as _0x455e04,SheetPermissionInitController as _0x44dd70,UniverSheetsPlugin as _0x3e7f22}from'@univerjs/sheets';import{ImageSourceType as _0x23ae5a,ImageUploadStatusType as _0x2c27f6,IImageIoService as _0x18e446}from'@univerjs/drawing';import{getGlobalObject as _0x13dc85}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x7e3d33(0x152),Tn=_0x7e3d33(0x1d2),eo=_0x7e3d33(0x2fb),Cn=0x7d0,Rn=_0x7e3d33(0x128),bn=_0x7e3d33(0x174),On='/universer-api/user/session-ticket',yn=_0x7e3d33(0x30d),Nn=0x7530,Si=_0x7e3d33(0x1ba),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x7e3d33(0x1a0),io=0x3e8,Un=_0x7e3d33(0x126),An=_0x7e3d33(0x41c),xn=_0x7e3d33(0x318),Ln='/universer-api/oidc/authpage',no=_0x7e3d33(0x223),ro=_0x7e3d33(0x36c);var Ii=(_0x451979=>(_0x451979[_0x451979[_0x7e3d33(0x324)]=0x0]='UNDEFINED',_0x451979[_0x451979['OK']=0x1]='OK',_0x451979[_0x451979['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x451979[_0x451979[_0x7e3d33(0x374)]=0x3]=_0x7e3d33(0x374),_0x451979[_0x451979[_0x7e3d33(0x345)]=0x4]=_0x7e3d33(0x345),_0x451979[_0x451979[_0x7e3d33(0x3f5)]=0x5]='UNAUTHENTICATED',_0x451979[_0x451979[_0x7e3d33(0x282)]=0x6]=_0x7e3d33(0x282),_0x451979[_0x451979['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x451979[_0x451979[_0x7e3d33(0x3af)]=0x8]=_0x7e3d33(0x3af),_0x451979[_0x451979['COMPLETION_FINISHED']=0x9]=_0x7e3d33(0x183),_0x451979[_0x451979[_0x7e3d33(0x166)]=0x1389]=_0x7e3d33(0x166),_0x451979[_0x451979['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x451979[_0x451979['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x7e3d33(0x181),_0x451979[_0x451979[_0x7e3d33(0x392)]=0x1773]=_0x7e3d33(0x392),_0x451979[_0x451979[_0x7e3d33(0x321)]=0x1b59]=_0x7e3d33(0x321),_0x451979[_0x451979['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x7e3d33(0x20c),_0x451979[_0x451979['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x7e3d33(0x41d),_0x451979[_0x451979[_0x7e3d33(0x2ab)]=0x1b5c]=_0x7e3d33(0x2ab),_0x451979[_0x451979[_0x7e3d33(0x239)]=0x1b5d]='APPLY_DUPLICATED',_0x451979[_0x451979[_0x7e3d33(0x3a4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x451979[_0x451979[_0x7e3d33(0x17b)]=0x2329]=_0x7e3d33(0x17b),_0x451979[_0x451979[_0x7e3d33(0x199)]=0x232a]=_0x7e3d33(0x199),_0x451979[_0x451979[_0x7e3d33(0x371)]=0x232b]=_0x7e3d33(0x371),_0x451979[_0x451979[_0x7e3d33(0x1c1)]=0x232c]=_0x7e3d33(0x1c1),_0x451979[_0x451979[_0x7e3d33(0x209)]=0x232d]=_0x7e3d33(0x209),_0x451979[_0x451979['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x7e3d33(0x3f2),_0x451979[_0x451979[_0x7e3d33(0x139)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x451979[_0x451979[_0x7e3d33(0x19c)]=0x2713]=_0x7e3d33(0x19c),_0x451979[_0x451979[_0x7e3d33(0x1ce)]=0x2714]=_0x7e3d33(0x1ce),_0x451979[_0x451979[_0x7e3d33(0x2c8)]=0x2af9]=_0x7e3d33(0x2c8),_0x451979[_0x451979[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x451979))(Ii||{}),Q=(_0x406df6=>(_0x406df6[_0x406df6[_0x7e3d33(0x2aa)]=0x0]=_0x7e3d33(0x2aa),_0x406df6[_0x406df6[_0x7e3d33(0x3ae)]=0x1]=_0x7e3d33(0x3ae),_0x406df6[_0x406df6[_0x7e3d33(0x33b)]=0x2]='UNIVER_SHEET',_0x406df6[_0x406df6[_0x7e3d33(0x137)]=0x3]=_0x7e3d33(0x137),_0x406df6[_0x406df6['UNIVER_PROJECT']=0x4]=_0x7e3d33(0x314),_0x406df6[_0x406df6[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x406df6))(Q||{}),F=(_0x1a367d=>(_0x1a367d[_0x1a367d[_0x7e3d33(0x256)]=0x0]=_0x7e3d33(0x256),_0x1a367d[_0x1a367d[_0x7e3d33(0x14d)]=0x1]='HELLO',_0x1a367d[_0x1a367d['JOIN']=0x2]='JOIN',_0x1a367d[_0x1a367d[_0x7e3d33(0x23d)]=0x3]=_0x7e3d33(0x23d),_0x1a367d[_0x1a367d[_0x7e3d33(0x205)]=0x4]=_0x7e3d33(0x205),_0x1a367d[_0x1a367d[_0x7e3d33(0x168)]=0x5]=_0x7e3d33(0x168),_0x1a367d[_0x1a367d['RECV']=0x6]=_0x7e3d33(0x27a),_0x1a367d[_0x1a367d[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x1a367d))(F||{}),Ee=(_0x454aec=>(_0x454aec[_0x454aec[_0x7e3d33(0x3da)]=0x0]=_0x7e3d33(0x3da),_0x454aec[_0x454aec['OK']=0x1]='OK',_0x454aec[_0x454aec[_0x7e3d33(0x28c)]=0x2]=_0x7e3d33(0x28c),_0x454aec[_0x454aec['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x454aec[_0x454aec['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x7e3d33(0x217),_0x454aec[_0x454aec['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x7e3d33(0x16b),_0x454aec[_0x454aec[_0x7e3d33(0x1d3)]=0x3ec]=_0x7e3d33(0x1d3),_0x454aec[_0x454aec[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x454aec))(Ee||{}),Ti=(_0x57e08c=>(_0x57e08c[_0x57e08c[_0x7e3d33(0x1ec)]=0x0]=_0x7e3d33(0x1ec),_0x57e08c[_0x57e08c[_0x7e3d33(0x23f)]=0x1]=_0x7e3d33(0x23f),_0x57e08c[_0x57e08c[_0x7e3d33(0x362)]=0x2]=_0x7e3d33(0x362),_0x57e08c[_0x57e08c['UnitEmbedded']=0x3]=_0x7e3d33(0x2a3),_0x57e08c[_0x57e08c[_0x7e3d33(0x1fb)]=0x4]=_0x7e3d33(0x1fb),_0x57e08c[_0x57e08c[_0x7e3d33(0x29b)]=-0x1]=_0x7e3d33(0x29b),_0x57e08c))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x5d5b45=>(_0x5d5b45['OTHER_CLIENT_EDITING']=_0x7e3d33(0x237),_0x5d5b45['PERMISSION_DENIED']=_0x7e3d33(0x374),_0x5d5b45[_0x7e3d33(0x3c9)]='CONFLICT',_0x5d5b45[_0x7e3d33(0x11e)]=_0x7e3d33(0x11e),_0x5d5b45['JOIN_ROOM_FAILED']=_0x7e3d33(0x401),_0x5d5b45[_0x7e3d33(0x257)]=_0x7e3d33(0x257),_0x5d5b45[_0x7e3d33(0x3e2)]=_0x7e3d33(0x3e2),_0x5d5b45[_0x7e3d33(0x2bf)]=_0x7e3d33(0x2bf),_0x5d5b45))(se||{});class pe{constructor(){var _0x5ae1c6=_0x7e3d33;N(this,'_event$',new _0x5a35c2()),N(this,_0x5ae1c6(0x37f),this[_0x5ae1c6(0x3c5)][_0x5ae1c6(0x2b7)]());}[_0x7e3d33(0x2f9)](_0x2f2ed6){var _0x1d341b=_0x7e3d33;this[_0x1d341b(0x3c5)][_0x1d341b(0x18a)](_0x2f2ed6);}}const Mn=_0x51c9f0('univer-pro.collaboration-client.network-condition.service');function $n(_0x57a6c1){var _0x1a2911=_0x7e3d33,_0x7b5936,_0x3fc77e,_0x452da3,_0x47cce9,_0x218271;const _0x5df01d=_0x57a6c1['data'],_0x3aca8b=JSON[_0x1a2911(0x317)](_0x5df01d);switch(_0x3aca8b[_0x1a2911(0x307)]){case F['HEARTBEAT']:case F[_0x1a2911(0x14d)]:{const _0x2ab61b=_0x3aca8b[_0x1a2911(0x33c)];return{..._0x3aca8b,'data':_0x2ab61b,'cmd':_0x3aca8b[_0x1a2911(0x307)]};}case F[_0x1a2911(0x216)]:{const _0x16a170=_0x3aca8b[_0x1a2911(0x35a)];return{..._0x3aca8b,'data':_0x16a170,'cmd':_0x3aca8b['cmd']};}case F[_0x1a2911(0x27a)]:{const _0x3d2811=_0x3aca8b[_0x1a2911(0x331)];switch(_0x3d2811['eventID']){case _0x180571['PERMISSION_REJ']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x7b5936=_0x3d2811[_0x1a2911(0x288)])==null?void 0x0:_0x7b5936['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x280)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x3fc77e=_0x3d2811['csAckEvent'])==null?void 0x0:_0x3fc77e['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x18c)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x452da3=_0x3d2811[_0x1a2911(0x127)])==null?void 0x0:_0x452da3['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x380)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x47cce9=_0x3d2811[_0x1a2911(0x2a6)])==null?void 0x0:_0x47cce9['cs']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['CHANGESET_SHOULD_RETRY']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':(_0x218271=_0x3d2811['csShouldRetryEvent'])==null?void 0x0:_0x218271['cs']},'cmd':_0x3aca8b['cmd']};case _0x180571['UPDATE_CURSOR']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x1d1)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x379)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x2fe)]},'cmd':_0x3aca8b['cmd']};case _0x180571[_0x1a2911(0x16d)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811['leaveEvent']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x232)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x1c0)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x250)]:case _0x180571['LIVESHARE_OPERATION']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x2a4)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['LIVESHARE_TERMINATE']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x1c0)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['MSG_FOR_ERROR']:return{..._0x3aca8b,'data':_0x3d2811,'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x3bf)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x2e5)]},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571[_0x1a2911(0x18d)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811['updatePermissionObjEvent']},'cmd':_0x3aca8b['cmd']};case _0x180571[_0x1a2911(0x41e)]:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811['shouldCloseConn']},'cmd':_0x3aca8b[_0x1a2911(0x307)]};case _0x180571['UNISCRIPT_RUN']:return{..._0x3aca8b,'data':{..._0x3d2811,'data':_0x3d2811[_0x1a2911(0x13d)]},'cmd':_0x3aca8b['cmd']};default:return _0x3aca8b;}}default:return _0x3aca8b;}}function Hn(_0x204f90){var _0xdc1397=_0x7e3d33;switch(_0x204f90[_0xdc1397(0x307)]){case F[_0xdc1397(0x168)]:case F['HELLO']:return JSON[_0xdc1397(0x228)]({'cmd':_0x204f90[_0xdc1397(0x307)],'routeKey':_0x204f90['routeKey']});case F['INGEST']:{let _0x41ff65;switch(_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x215)]){case _0x180571[_0xdc1397(0x2f1)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x2f1)],'updateCursorEvent':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x16d)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x16d)],'leaveEvent':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x379)]:{_0x41ff65={'eventID':_0x180571['USERS_ENTER'],'joinEvent':_0x204f90['data'][_0xdc1397(0x248)]};break;}case _0x180571['LIVESHARE_NEW_HOST']:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x232)],'liveShareNewHost':_0x204f90[_0xdc1397(0x248)]['data']};break;}case _0x180571[_0xdc1397(0x347)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x347)],'liveShareOperation':_0x204f90['data'][_0xdc1397(0x248)]};break;}case _0x180571['LIVESHARE_TERMINATE']:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x322)],'liveShareTerminate':_0x204f90['data'][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x2dd)]:{_0x41ff65={'eventID':_0x180571[_0xdc1397(0x2dd)],'liveShareRequestHost':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x248)]};break;}case _0x180571[_0xdc1397(0x250)]:{_0x41ff65={'eventID':_0x180571['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x41ff65={'eventID':_0x204f90[_0xdc1397(0x248)][_0xdc1397(0x215)]};}return JSON['stringify']({'cmd':_0x204f90['cmd'],'routeKey':_0x204f90[_0xdc1397(0x33d)],'collaMsg':_0x41ff65});}case F[_0xdc1397(0x216)]:return JSON[_0xdc1397(0x228)]({'cmd':_0x204f90[_0xdc1397(0x307)],'routeKey':_0x204f90['routeKey'],'joinReq':_0x204f90[_0xdc1397(0x248)]});case F[_0xdc1397(0x23d)]:return JSON[_0xdc1397(0x228)]({'cmd':_0x204f90[_0xdc1397(0x307)],'routeKey':_0x204f90[_0xdc1397(0x33d)],'leaveReq':_0x204f90[_0xdc1397(0x248)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x7e3d33(0x349)],jn=Object[_0x7e3d33(0x31d)],Bn=(_0x4d79d9,_0xf0ea6,_0x2f6761,_0x90451d)=>{var _0x3c0368=_0x7e3d33;for(var _0xb99e8=_0x90451d>0x1?void 0x0:_0x90451d?jn(_0xf0ea6,_0x2f6761):_0xf0ea6,_0x565d2a=_0x4d79d9[_0x3c0368(0x255)]-0x1,_0xdb0f49;_0x565d2a>=0x0;_0x565d2a--)(_0xdb0f49=_0x4d79d9[_0x565d2a])&&(_0xb99e8=(_0x90451d?_0xdb0f49(_0xf0ea6,_0x2f6761,_0xb99e8):_0xdb0f49(_0xb99e8))||_0xb99e8);return _0x90451d&&_0xb99e8&&kn(_0xf0ea6,_0x2f6761,_0xb99e8),_0xb99e8;},Ue=(_0xe8ad19,_0x3f9699)=>(_0x151d9a,_0x8b4de7)=>_0x3f9699(_0x151d9a,_0x8b4de7,_0xe8ad19);const Ci=_0x51c9f0('univer-pro.collaboration-client-socket-service');function Fn(_0x29c865,_0x384a47,_0x57dab5){var _0x28a6b5=_0x7e3d33;return _0x29c865+'/'+_0x384a47+_0x28a6b5(0x260)+_0x57dab5+_0x28a6b5(0x350);}let Et=class extends _0x25c510{constructor(_0x22fa63,_0x38badd,_0x1bff59,_0x5d3991,_0x288a4a){var _0x48f24f=_0x7e3d33;super(),this['_injector']=_0x22fa63,this['_http']=_0x38badd,this[_0x48f24f(0x38d)]=_0x1bff59,this[_0x48f24f(0x261)]=_0x5d3991,this[_0x48f24f(0x354)]=_0x288a4a;}['createSocket'](_0x3faf0d){var _0xc204bc=_0x7e3d33;const _0x1263cd=this[_0xc204bc(0x1de)][_0xc204bc(0x1e6)](_0x277841);if(!_0x1263cd)throw new Error(_0xc204bc(0x2d1));const _0x751dd1=_0x1263cd[_0xc204bc(0x393)](_0x3faf0d);if(!_0x751dd1)throw new Error(_0xc204bc(0x212));const _0x2bb6e6=new _0x52de0b(),_0x52ce13=new _0x5a35c2();_0x2bb6e6[_0xc204bc(0x3dc)](_0x751dd1[_0xc204bc(0x22a)]['subscribe'](_0x591df7=>_0x52ce13[_0xc204bc(0x18a)](_0x591df7))),_0x2bb6e6['add'](_0x576ef6(()=>_0x52ce13[_0xc204bc(0x327)]()));const _0x10472b=new _0x5a35c2();_0x2bb6e6['add'](_0x751dd1[_0xc204bc(0x2d8)][_0xc204bc(0x3d5)](_0x5ad64e=>_0x10472b[_0xc204bc(0x18a)](_0x5ad64e))),_0x2bb6e6[_0xc204bc(0x3dc)](_0x576ef6(()=>_0x10472b[_0xc204bc(0x327)]()));const _0x1e2e54=new _0x5a35c2();_0x2bb6e6['add'](_0x751dd1[_0xc204bc(0x31e)][_0xc204bc(0x3d5)](_0x5b2ff8=>{var _0x1a1034=_0xc204bc;const _0x28cacc=$n(_0x5b2ff8);_0x1e2e54[_0x1a1034(0x18a)](_0x28cacc);})),_0x2bb6e6['add'](_0x576ef6(()=>_0x1e2e54['complete']()));let _0x6fff03;const _0x475f69=()=>{var _0x4d18e8=_0xc204bc;_0x10472b['next'](new Event(_0x4d18e8(0x394))),_0x52ce13[_0x4d18e8(0x18a)](new CloseEvent('connection\x20error')),_0x6fff03[_0x4d18e8(0x2c6)]();};return _0x6fff03={'memberID':'','close$':_0x52ce13[_0xc204bc(0x2b7)](),'error$':_0x10472b[_0xc204bc(0x2b7)](),'open$':_0x751dd1[_0xc204bc(0x266)],'message$':_0x1e2e54['asObservable'](),'send':_0x4a281a=>{var _0x513ec=_0xc204bc;if(_0x4a281a['cmd']===F[_0x513ec(0x205)]){if(_0x4a281a[_0x513ec(0x248)]['eventID']===_0x180571[_0x513ec(0x2d3)]){this[_0x513ec(0x313)](_0x6fff03,_0x4a281a[_0x513ec(0x248)])[_0x513ec(0x387)](_0x11f1c5=>{var _0x29eed1=_0x513ec;this[_0x29eed1(0x261)]['error'](_0x11f1c5),_0x475f69();});return;}if(_0x4a281a[_0x513ec(0x248)][_0x513ec(0x215)]===_0x180571['FETCH_MISSING']){const _0x49e95d=_0x4a281a[_0x513ec(0x248)];this[_0x513ec(0x405)](_0x49e95d)[_0x513ec(0x28b)](_0xefcd7e=>{var _0xfe6620=_0x513ec;_0x1e2e54['next']({'cmd':F[_0xfe6620(0x27a)],'code':Ee['OK'],'routeKey':_0x49e95d[_0xfe6620(0x248)][_0xfe6620(0x2ce)],'routeType':'','data':{'eventID':_0x180571[_0xfe6620(0x303)],'data':{'changesets':_0xefcd7e}}});})[_0x513ec(0x387)](_0x175935=>{var _0x3a9607=_0x513ec;this[_0x3a9607(0x261)][_0x3a9607(0x129)](_0x175935),_0x475f69();});return;}}_0x751dd1[_0x513ec(0x2f3)](Hn(_0x4a281a));},'close':()=>{var _0x183a2f=_0xc204bc;_0x751dd1[_0x183a2f(0x2c6)](),_0x2bb6e6[_0x183a2f(0x135)]();}},_0x6fff03;}async['_submitChangeset'](_0xa5f01f,_0x1fc302){var _0x4272da=_0x7e3d33,_0x792491,_0x424709;const {unitType:_0x4f3ce1,unitID:_0xa3f45,changeset:_0x4e8bc1}=_0x1fc302[_0x4272da(0x248)],_0x1e6874={'unitID':_0xa3f45,'memberID':_0xa5f01f[_0x4272da(0x1ee)],'type':_0x4f3ce1,'changeset':_0xc2534e(_0x4e8bc1)},_0x424e08=this['_configService'][_0x4272da(0x383)](Un),_0x28464d=this['_configService'][_0x4272da(0x383)](q),_0x411569=Fn((_0x424709=(_0x792491=_0x28464d==null?void 0x0:_0x28464d[_0x4272da(0x247)])!=null?_0x792491:_0x424e08)!=null?_0x424709:An,_0x4f3ce1,_0xa3f45);try{await this['_http']['post'](_0x411569,{'body':_0x1e6874});}catch(_0x172f0c){throw this['_logService']['error'](_0x4272da(0x398),'submit\x20changeset\x20error!'),_0x172f0c;}}async[_0x7e3d33(0x405)](_0x4ccce9){var _0x5e6720=_0x7e3d33;const {unitID:_0x504fb3,from:_0xceb66d,to:_0x49dd5b,unitType:_0x4191d6}=_0x4ccce9[_0x5e6720(0x248)];return(await this['_snapshotServerService'][_0x5e6720(0x171)]({'metadata':void 0x0},{'unitID':_0x504fb3,'type':_0x4191d6,'from':_0xceb66d,'to':_0x49dd5b}))[_0x5e6720(0x2b6)];}};Et=Bn([Ue(0x0,_0x46e7fc(_0x54c970)),Ue(0x1,_0x46e7fc(_0x13eabd)),Ue(0x2,_0xe8305c),Ue(0x3,_0x3f2d03),Ue(0x4,_0x49df10)],Et);const Vn='collaboration_new_changeset';function Gn(_0x2d614e){var _0x4a72b6=_0x7e3d33;return JSON[_0x4a72b6(0x228)](_0x2d614e)[_0x4a72b6(0x255)];}class Ri{constructor(){var _0x3b3c5d=_0x7e3d33;N(this,_0x3b3c5d(0x172),new _0x5a35c2()),N(this,'commentUpdate$',this[_0x3b3c5d(0x172)][_0x3b3c5d(0x2b7)]());}[_0x7e3d33(0x23e)](_0x182e7d){var _0x4aef6e=_0x7e3d33;this['_commentUpdate$'][_0x4aef6e(0x18a)](_0x182e7d);}}var Wn=Object[_0x7e3d33(0x349)],Kn=Object[_0x7e3d33(0x31d)],Yn=(_0x2fc15e,_0x902094,_0x5aa8e5,_0xd2a900)=>{for(var _0x5ecc3e=_0xd2a900>0x1?void 0x0:_0xd2a900?Kn(_0x902094,_0x5aa8e5):_0x902094,_0x57b998=_0x2fc15e['length']-0x1,_0x41e671;_0x57b998>=0x0;_0x57b998--)(_0x41e671=_0x2fc15e[_0x57b998])&&(_0x5ecc3e=(_0xd2a900?_0x41e671(_0x902094,_0x5aa8e5,_0x5ecc3e):_0x41e671(_0x5ecc3e))||_0x5ecc3e);return _0xd2a900&&_0x5ecc3e&&Wn(_0x902094,_0x5aa8e5,_0x5ecc3e),_0x5ecc3e;},Kt=(_0x3d8004,_0x342b5a)=>(_0x4998ad,_0x402ba2)=>_0x342b5a(_0x4998ad,_0x402ba2,_0x3d8004);let xe=class extends _0x25c510{constructor(_0x21ddcd,_0x13de7a){var _0x58466d=_0x7e3d33;super(),N(this,_0x58466d(0x294),new Map()),N(this,_0x58466d(0x13f),new _0x5a35c2()),(this[_0x58466d(0x12d)]=_0x21ddcd,this['_userManagerService']=_0x13de7a,this[_0x58466d(0x2c2)](_0x33d39d(this[_0x58466d(0x12d)]['getTypeOfUnitDisposed$'](_0x1242f2[_0x58466d(0x33b)])[_0x58466d(0x3ff)](_0x500e7a(_0x49e07d=>_0x49e07d[_0x58466d(0x3c4)]())),this[_0x58466d(0x12d)][_0x58466d(0x214)](_0x1242f2['UNIVER_DOC'])[_0x58466d(0x3ff)](_0x500e7a(_0x340474=>_0x340474['getUnitId']())),this[_0x58466d(0x12d)][_0x58466d(0x214)](_0x1242f2['UNIVER_SLIDE'])['pipe'](_0x500e7a(_0x57e8ea=>_0x57e8ea[_0x58466d(0x3c4)]())))[_0x58466d(0x3d5)](_0x598bc5=>this['_removeRoom'](_0x598bc5))));}[_0x7e3d33(0x339)](_0x496974){var _0x1ec01b=_0x7e3d33;return this['_roomMembers']['has'](_0x496974)?_0x14e3d9(this[_0x1ec01b(0x294)][_0x1ec01b(0x1e6)](_0x496974)):this['_roomCreated$']['pipe'](_0x500e7a(_0x4e4ea2=>{var _0x5c4e63=_0x1ec01b;if(_0x4e4ea2===_0x496974)return this[_0x5c4e63(0x294)][_0x5c4e63(0x1e6)](_0x4e4ea2);}));}['setCurrentUser'](_0x305618){var _0x1ebe05=_0x7e3d33;this[_0x1ebe05(0x390)]['setCurrentUser'](_0x305618);}[_0x7e3d33(0x37c)](){var _0x25b68d=_0x7e3d33;return this['_userManagerService'][_0x25b68d(0x37c)]();}['updateMember'](_0x1f89e2,_0x5e4d0d){var _0x48d2c7=_0x7e3d33;let _0x418d39=this[_0x48d2c7(0x294)][_0x48d2c7(0x1e6)](_0x1f89e2);_0x418d39||(_0x418d39=new qn(),this['_roomMembers'][_0x48d2c7(0x3c8)](_0x1f89e2,_0x418d39),this[_0x48d2c7(0x13f)][_0x48d2c7(0x18a)](_0x1f89e2)),_0x418d39[_0x48d2c7(0x196)](_0x5e4d0d);}['removeMember'](_0x110bd2,_0x2f167c){var _0x4f9a97=_0x7e3d33;const _0x91d9c=this[_0x4f9a97(0x294)][_0x4f9a97(0x1e6)](_0x110bd2);_0x91d9c&&_0x91d9c[_0x4f9a97(0x268)](_0x2f167c);}[_0x7e3d33(0x16a)](_0xadbecd){var _0x5b98a2=_0x7e3d33;return this[_0x5b98a2(0x294)][_0x5b98a2(0x1e6)](_0xadbecd);}['getMember'](_0x43d32a,_0x2d4dd9){var _0x43b04d=_0x7e3d33;const _0x19676d=this[_0x43b04d(0x294)][_0x43b04d(0x1e6)](_0x43d32a);if(_0x19676d)return _0x19676d[_0x43b04d(0x27f)](_0x2d4dd9);}['_removeRoom'](_0x5e600e){var _0x1a0b51=_0x7e3d33;const _0x5a52ba=this['_roomMembers'][_0x1a0b51(0x1e6)](_0x5e600e);_0x5a52ba&&(_0x5a52ba[_0x1a0b51(0x135)](),this[_0x1a0b51(0x294)]['delete'](_0x5e600e));}[_0x7e3d33(0x135)](){var _0x467088=_0x7e3d33;this['_roomMembers'][_0x467088(0x28a)](_0x4449c8=>_0x4449c8[_0x467088(0x135)]()),this[_0x467088(0x294)]['clear'](),this[_0x467088(0x13f)][_0x467088(0x327)]();}};xe=Yn([Kt(0x0,_0x3f319c),Kt(0x1,_0x46e7fc(_0x3bc4f7))],xe);class qn extends _0x25c510{constructor(){var _0x35dee1=_0x7e3d33;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x33cf72(this[_0x35dee1(0x1bf)])),N(this,_0x35dee1(0x2ca),this[_0x35dee1(0x3fc)][_0x35dee1(0x2b7)]());}[_0x7e3d33(0x135)](){var _0x42a84d=_0x7e3d33;this[_0x42a84d(0x1bf)]['clear']();}[_0x7e3d33(0x196)](_0x3eda1f){var _0x55e561=_0x7e3d33;this['_members'][_0x55e561(0x3c8)](_0x3eda1f[_0x55e561(0x1ee)],_0x3eda1f),this[_0x55e561(0x1cb)]();}[_0x7e3d33(0x268)](_0x27bb8d){var _0x157e11=_0x7e3d33;this[_0x157e11(0x1bf)][_0x157e11(0x279)](_0x27bb8d);}[_0x7e3d33(0x27f)](_0x456ac7){var _0x59f855=_0x7e3d33;return this[_0x59f855(0x1bf)][_0x59f855(0x1e6)](_0x456ac7);}['getAllMembers'](){var _0x284cd0=_0x7e3d33;return Array[_0x284cd0(0x138)](this['_members']['values']());}[_0x7e3d33(0x1cb)](){var _0xc0ef35=_0x7e3d33;this[_0xc0ef35(0x3fc)][_0xc0ef35(0x18a)](this[_0xc0ef35(0x1bf)]);}}var zn=Object['defineProperty'],Jn=Object[_0x7e3d33(0x31d)],Xn=(_0x4f1d8f,_0x14b423,_0x61e75f,_0x310f3d)=>{var _0x113e37=_0x7e3d33;for(var _0x3bd9f9=_0x310f3d>0x1?void 0x0:_0x310f3d?Jn(_0x14b423,_0x61e75f):_0x14b423,_0x504d3e=_0x4f1d8f[_0x113e37(0x255)]-0x1,_0x332436;_0x504d3e>=0x0;_0x504d3e--)(_0x332436=_0x4f1d8f[_0x504d3e])&&(_0x3bd9f9=(_0x310f3d?_0x332436(_0x14b423,_0x61e75f,_0x3bd9f9):_0x332436(_0x3bd9f9))||_0x3bd9f9);return _0x310f3d&&_0x3bd9f9&&zn(_0x14b423,_0x61e75f,_0x3bd9f9),_0x3bd9f9;},me=(_0x235586,_0x526b58)=>(_0x202fa1,_0x47bec6)=>_0x526b58(_0x202fa1,_0x47bec6,_0x235586),Te=(_0xd27c52=>(_0xd27c52[_0xd27c52[_0x7e3d33(0x30f)]=0x0]='IDLE',_0xd27c52[_0xd27c52['JOINING']=0x1]='JOINING',_0xd27c52[_0xd27c52[_0x7e3d33(0x3eb)]=0x2]=_0x7e3d33(0x3eb),_0xd27c52[_0xd27c52[_0x7e3d33(0x385)]=0x3]=_0x7e3d33(0x385),_0xd27c52))(Te||{});const Yt={[Ee[_0x7e3d33(0x28c)]]:'session.join-failed',[Ee[_0x7e3d33(0x26c)]]:_0x7e3d33(0x141),[Ee[_0x7e3d33(0x217)]]:_0x7e3d33(0x18f),[Ee[_0x7e3d33(0x16b)]]:_0x7e3d33(0x38e),[Ee[_0x7e3d33(0x1d3)]]:_0x7e3d33(0x224)};let It=class extends _0x2a0262{constructor(_0x28269c,_0x13a9ec,_0x2f35d9,_0xcb133a,_0x1a9725,_0x25a382,_0x31c0dd,_0x27bdea,_0x258835){var _0x42107b=_0x7e3d33;super(),N(this,_0x42107b(0x2f7),new _0x33cf72(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x42107b(0x2b7)]()),N(this,_0x42107b(0x3c5),new _0x5a35c2()),N(this,'event$',this[_0x42107b(0x3c5)]['asObservable']()),N(this,_0x42107b(0x33f)),N(this,_0x42107b(0x1c7)),N(this,_0x42107b(0x3ee)),N(this,_0x42107b(0x1b6),!0x1),N(this,'_telemetryInfo',null),(this[_0x42107b(0x2b8)]=_0x28269c,this[_0x42107b(0x261)]=_0x2f35d9,this[_0x42107b(0x38d)]=_0xcb133a,this[_0x42107b(0x150)]=_0x1a9725,this['_memberService']=_0x25a382,this[_0x42107b(0x402)]=_0x31c0dd,this[_0x42107b(0x162)]=_0x27bdea,this['_telemetryService']=_0x258835,this[_0x42107b(0x1b6)]=!!this['_telemetryService'],_0x13a9ec[_0x42107b(0x3ff)](_0x294cec(this[_0x42107b(0x240)]))[_0x42107b(0x3d5)](_0x5000c8=>{var _0x1a4b1e=_0x42107b,_0x368074;typeof _0x5000c8>'u'||(this['_socket']=_0x5000c8,_0x5000c8?(this[_0x1a4b1e(0x3c3)](_0x5000c8),this['_socketMessageSubscription']=_0x5000c8[_0x1a4b1e(0x31e)][_0x1a4b1e(0x3d5)](_0x8b1de7=>{var _0x4af498=_0x1a4b1e;_0x8b1de7[_0x4af498(0x33d)]===this['_unitID']&&this[_0x4af498(0x355)](_0x8b1de7);})):(this[_0x1a4b1e(0x15e)](),this['_sessionStatus$'][_0x1a4b1e(0x18a)](0x2),(_0x368074=this['_socketMessageSubscription'])==null||_0x368074[_0x1a4b1e(0x3e0)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x452607=_0x7e3d33;return this[_0x452607(0x2f7)][_0x452607(0x300)]();}[_0x7e3d33(0x3a2)](){var _0x39175b=_0x7e3d33,_0x232b69,_0x267020;return(_0x267020=(_0x232b69=this[_0x39175b(0x33f)])==null?void 0x0:_0x232b69['memberID'])!=null?_0x267020:null;}['dispose'](){var _0x4954e5=_0x7e3d33;super[_0x4954e5(0x135)](),this['dispose$'][_0x4954e5(0x18a)](),this[_0x4954e5(0x240)][_0x4954e5(0x327)]();}[_0x7e3d33(0x2c6)](){var _0x1f8c9e=_0x7e3d33,_0xc77edf,_0xf284be;this[_0x1f8c9e(0x15e)](),(_0xc77edf=this['_socket'])==null||_0xc77edf['send']({'cmd':F[_0x1f8c9e(0x23d)],'data':{'roomID':this[_0x1f8c9e(0x2b8)]}}),(_0xf284be=this['_socket'])==null||_0xf284be[_0x1f8c9e(0x2c6)](),this[_0x1f8c9e(0x3c5)][_0x1f8c9e(0x327)](),this['_sessionStatus$'][_0x1f8c9e(0x327)](),this['dispose']();}[_0x7e3d33(0x355)](_0xedbc15){var _0x11a890=_0x7e3d33;_0xedbc15[_0x11a890(0x307)]===F['JOIN']?this['_onJoinRoomEvent'](_0xedbc15):_0xedbc15[_0x11a890(0x307)]===F['RECV']&&this[_0x11a890(0x341)](_0xedbc15);}['_joinRoom'](_0x521125){var _0x288ac1=_0x7e3d33;this['_sessionStatus$'][_0x288ac1(0x18a)](0x1),_0x521125[_0x288ac1(0x2f3)]({'cmd':F[_0x288ac1(0x216)],'routeKey':this[_0x288ac1(0x2b8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x288ac1(0x2b8)]}]}});}['_onJoinRoomEvent'](_0x1ab81a){var _0x554c61=_0x7e3d33,_0x58fb72;if(_0x1ab81a[_0x554c61(0x2ef)]in Yt){this[_0x554c61(0x162)][_0x554c61(0x2f9)]({'id':se[_0x554c61(0x401)],'data':Yt[_0x1ab81a[_0x554c61(0x2ef)]]}),this[_0x554c61(0x2f7)]['next'](0x2);return;}this[_0x554c61(0x2f7)][_0x554c61(0x18a)](0x3);const _0x682b35=(_0x58fb72=_0x1ab81a[_0x554c61(0x248)][_0x554c61(0x3ab)][this[_0x554c61(0x2b8)]])==null?void 0x0:_0x58fb72[_0x554c61(0x287)];_0x682b35&&_0x682b35['forEach'](_0x46056e=>this[_0x554c61(0x1e4)][_0x554c61(0x196)](this[_0x554c61(0x2b8)],_0x46056e));}[_0x7e3d33(0x341)](_0x5daaec){var _0x5cccfc=_0x7e3d33;try{const _0x4ce1a5=_0x5daaec['data'];switch(_0x4ce1a5['eventID']){case _0x180571['USERS_ENTER']:this['_onUserJoin'](_0x4ce1a5),this['_event$'][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571['USERS_LEAVE']:this[_0x5cccfc(0x3cd)](_0x4ce1a5),this[_0x5cccfc(0x3c5)][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571[_0x5cccfc(0x280)]:case _0x180571[_0x5cccfc(0x123)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5cccfc(0x3c5)][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571[_0x5cccfc(0x3b9)]:this['_logService']['error'](_0x5cccfc(0x271)+JSON[_0x5cccfc(0x228)](_0x4ce1a5)),this['_event$'][_0x5cccfc(0x18a)](_0x4ce1a5);break;case _0x180571[_0x5cccfc(0x3bf)]:this['_commentService']['onCommentUpdate'](_0x4ce1a5[_0x5cccfc(0x248)]),this[_0x5cccfc(0x3c5)]['next'](_0x4ce1a5);break;default:this['_event$'][_0x5cccfc(0x18a)](_0x4ce1a5);}}catch(_0x57cbb9){this[_0x5cccfc(0x261)][_0x5cccfc(0x129)](_0x57cbb9,_0x5daaec);}}[_0x7e3d33(0x369)](_0x51ce55){var _0x1cfb7d=_0x7e3d33;this[_0x1cfb7d(0x1e4)]['updateMember'](this[_0x1cfb7d(0x2b8)],_0x51ce55[_0x1cfb7d(0x248)]);}[_0x7e3d33(0x3cd)](_0x10c313){var _0xfff807=_0x7e3d33;this['_memberService']['removeMember'](this[_0xfff807(0x2b8)],_0x10c313[_0xfff807(0x248)][_0xfff807(0x1ee)]);}async[_0x7e3d33(0x2f3)](_0xea6b3c,_0x3777be){var _0x4c87a3=_0x7e3d33;if(this[_0x4c87a3(0x356)]!==0x3||!this['_socket'])throw new Error(_0x4c87a3(0x1dd));try{_0xea6b3c[_0x4c87a3(0x215)]===_0x180571['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4c87a3(0x389)](_0xea6b3c)),this[_0x4c87a3(0x33f)]['send']({'cmd':F[_0x4c87a3(0x205)],'routeKey':_0x3777be,'routeType':'','data':_0xea6b3c});}catch(_0x287da0){this[_0x4c87a3(0x261)]['error'](_0x287da0);}}[_0x7e3d33(0x37d)](){var _0x5dadfd=_0x7e3d33,_0x38b2e4;this[_0x5dadfd(0x3ee)]=setTimeout(()=>{var _0x10a5e4=_0x5dadfd;this['_collaborationTimeoutTimer']=null,this[_0x10a5e4(0x162)]['emitEvent']({'id':se[_0x10a5e4(0x2bf)]});},(_0x38b2e4=this[_0x5dadfd(0x38d)]['getConfig'](Si))!=null?_0x38b2e4:Ei);}[_0x7e3d33(0x29d)](){var _0xd77771=_0x7e3d33;this[_0xd77771(0x3ee)]&&(clearTimeout(this[_0xd77771(0x3ee)]),this[_0xd77771(0x3ee)]=null);}[_0x7e3d33(0x389)](_0x269c53){var _0x1e9ca6=_0x7e3d33;if(!this['_shouldReportTelemetry'])return;const {data:_0x591ed0}=_0x269c53,{unitID:_0x35d6b3,changeset:_0x31fda3}=_0x591ed0,{mutations:_0x639f32,type:_0x88e77e}=_0x31fda3;this[_0x1e9ca6(0x202)]={'unitId':_0x35d6b3,'type':_0x88e77e,'startTime':performance[_0x1e9ca6(0x242)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x639f32)};}[_0x7e3d33(0x21d)](){var _0x5c0a00=_0x7e3d33;if(this['_shouldReportTelemetry']){if(!this[_0x5c0a00(0x202)]){this[_0x5c0a00(0x261)][_0x5c0a00(0x129)](_0x5c0a00(0x398),_0x5c0a00(0x1e9));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this['_telemetryInfo'][_0x5c0a00(0x335)]=this[_0x5c0a00(0x202)]['stopTime']-this['_telemetryInfo'][_0x5c0a00(0x3c7)],this[_0x5c0a00(0x1e2)][_0x5c0a00(0x30c)](Vn,this[_0x5c0a00(0x202)]),this[_0x5c0a00(0x202)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x3f2d03),me(0x3,_0xe8305c),me(0x4,_0x46e7fc(_0x826620)),me(0x5,_0x46e7fc(xe)),me(0x6,_0x46e7fc(Ri)),me(0x7,_0x46e7fc(pe)),me(0x8,_0x34330d(_0x572501))],It);var Zn=Object[_0x7e3d33(0x349)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x2c6121,_0x25c578,_0x4d7f32,_0x395451)=>{var _0x22c68a=_0x7e3d33;for(var _0x479fd3=_0x395451>0x1?void 0x0:_0x395451?Qn(_0x25c578,_0x4d7f32):_0x25c578,_0x519787=_0x2c6121[_0x22c68a(0x255)]-0x1,_0x70a8b4;_0x519787>=0x0;_0x519787--)(_0x70a8b4=_0x2c6121[_0x519787])&&(_0x479fd3=(_0x395451?_0x70a8b4(_0x25c578,_0x4d7f32,_0x479fd3):_0x70a8b4(_0x479fd3))||_0x479fd3);return _0x395451&&_0x479fd3&&Zn(_0x25c578,_0x4d7f32,_0x479fd3),_0x479fd3;},ge=(_0x2e221f,_0x16fc35)=>(_0x22abae,_0x5ba105)=>_0x16fc35(_0x22abae,_0x5ba105,_0x2e221f);let Le=class extends _0x25c510{constructor(_0x56fa73,_0x24d212,_0x1569c4,_0xda0e18,_0x55cccf,_0x35b5c6,_0x2b1bd1){var _0xb32344=_0x7e3d33;super(),N(this,_0xb32344(0x3f3),new _0x33cf72(void 0x0)),N(this,_0xb32344(0x2b0),this[_0xb32344(0x3f3)][_0xb32344(0x2b7)]()),N(this,_0xb32344(0x3d9),null),N(this,_0xb32344(0x132),new Map()),N(this,_0xb32344(0x26f),new _0x33cf72(Te[_0xb32344(0x30f)])),N(this,_0xb32344(0x3a8),this[_0xb32344(0x26f)][_0xb32344(0x2b7)]()),N(this,_0xb32344(0x243),!0x1),N(this,'_retryConnectingTimer'),N(this,_0xb32344(0x373),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0xb32344(0x36a)),(this[_0xb32344(0x1de)]=_0x56fa73,this[_0xb32344(0x261)]=_0x24d212,this[_0xb32344(0x38d)]=_0x1569c4,this[_0xb32344(0x154)]=_0xda0e18,this[_0xb32344(0x31b)]=_0x55cccf,this[_0xb32344(0x162)]=_0x35b5c6,this['_networkConditionService']=_0x2b1bd1,this[_0xb32344(0x20b)]());}get[_0x7e3d33(0x33f)](){var _0x43a418=_0x7e3d33;return this[_0x43a418(0x3f3)]['getValue']();}['_listenToNetworkCondition'](){var _0x3c2ee7=_0x7e3d33;this[_0x3c2ee7(0x1f1)]&&this[_0x3c2ee7(0x2c2)](this[_0x3c2ee7(0x1f1)][_0x3c2ee7(0x2f4)][_0x3c2ee7(0x3d5)](_0x3f4ca4=>{var _0xc9d9fc=_0x3c2ee7;_0x3f4ca4&&!this[_0xc9d9fc(0x33f)]&&this[_0xc9d9fc(0x22d)](),_0x3f4ca4||this[_0xc9d9fc(0x412)]();}));}[_0x7e3d33(0x135)](){var _0xc49ed3=_0x7e3d33;super['dispose'](),this[_0xc49ed3(0x132)][_0xc49ed3(0x28a)](_0x2f3d00=>_0x2f3d00[_0xc49ed3(0x135)]()),this['_sessions']['clear'](),this[_0xc49ed3(0x26f)]['complete']();}async[_0x7e3d33(0x370)](_0x2ca8c5){var _0x3011a9=_0x7e3d33;if(this[_0x3011a9(0x132)][_0x3011a9(0x1d8)](_0x2ca8c5))return this[_0x3011a9(0x132)]['get'](_0x2ca8c5);this[_0x3011a9(0x3a1)]();const _0x3dbfa4=this[_0x3011a9(0x1de)][_0x3011a9(0x39c)](It,_0x2ca8c5,this[_0x3011a9(0x3f3)][_0x3011a9(0x2b7)]());return this['_sessions'][_0x3011a9(0x3c8)](_0x2ca8c5,_0x3dbfa4),_0x3dbfa4;}[_0x7e3d33(0x3e7)](_0x34df58){var _0x5706da=_0x7e3d33,_0x51e51d;const _0x4ab578=this['_sessions'][_0x5706da(0x1e6)](_0x34df58);_0x4ab578&&(this[_0x5706da(0x132)][_0x5706da(0x279)](_0x34df58),_0x4ab578[_0x5706da(0x2c6)]()),this[_0x5706da(0x132)]['size']||(_0x51e51d=this[_0x5706da(0x33f)])==null||_0x51e51d[_0x5706da(0x2c6)]();}[_0x7e3d33(0x22d)](){var _0x1d7690=_0x7e3d33;this[_0x1d7690(0x373)]=0x0,this[_0x1d7690(0x3e9)]!=null&&(clearTimeout(this[_0x1d7690(0x3e9)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x4b08fe=_0x7e3d33,_0x310b54,_0x48645e,_0x3faa0f;const _0x239511=this[_0x4b08fe(0x38d)][_0x4b08fe(0x383)](q),_0x45a33b=(_0x310b54=_0x239511==null?void 0x0:_0x239511[_0x4b08fe(0x3a7)])!=null?_0x310b54:On;return(_0x3faa0f=(_0x48645e=(await this['_httpService'][_0x4b08fe(0x1e6)](_0x45a33b,{'headers':{'Content-Type':'application/json'}}))[_0x4b08fe(0x38f)])==null?void 0x0:_0x48645e[_0x4b08fe(0x2a9)])!=null?_0x3faa0f:'';}[_0x7e3d33(0x3d7)](_0x14d880){var _0x2cada4=_0x7e3d33,_0x4afe08,_0x38e62d;const _0x129473=this[_0x2cada4(0x38d)][_0x2cada4(0x383)](Rn),_0x6c2ca7=this[_0x2cada4(0x38d)][_0x2cada4(0x383)](q),_0x508a83=(_0x38e62d=(_0x4afe08=_0x6c2ca7==null?void 0x0:_0x6c2ca7[_0x2cada4(0x37e)])!=null?_0x4afe08:_0x129473)!=null?_0x38e62d:bn,_0x2eb493=typeof window>'u'?new URL(_0x508a83):new URL(_0x508a83,window[_0x2cada4(0x21b)][_0x2cada4(0x136)]);_0x2eb493[_0x2cada4(0x19a)][_0x2cada4(0x3c8)](_0x2cada4(0x275),_0x14d880);const _0x15ea3e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cada4(0x21b)][_0x2cada4(0x1ac)]);return _0x15ea3e[_0x2cada4(0x1e6)](_0x2cada4(0x3ce))&&_0x2eb493[_0x2cada4(0x19a)]['set']('runId',_0x15ea3e[_0x2cada4(0x1e6)](_0x2cada4(0x3ce))),_0x2eb493[_0x2cada4(0x328)]();}async['_createSocket'](){var _0x23c6e7=_0x7e3d33;const _0x242b7a=await this['_getSessionTicket'](),_0x496697=this[_0x23c6e7(0x3d7)](_0x242b7a),_0x48eeb5=this[_0x23c6e7(0x154)][_0x23c6e7(0x393)](_0x496697);return this[_0x23c6e7(0x3d9)]=_0x48eeb5,_0x48eeb5;}async[_0x7e3d33(0x3a1)](){var _0x3a7bd4=_0x7e3d33,_0x4f3ce5,_0x5a1e1c;try{const _0x1912e8=(_0x5a1e1c=(_0x4f3ce5=this[_0x3a7bd4(0x33f)])!=null?_0x4f3ce5:this[_0x3a7bd4(0x3d9)])!=null?_0x5a1e1c:await this[_0x3a7bd4(0x1f2)]();if(_0x1912e8){const _0x31b2dd=_0x1912e8[_0x3a7bd4(0x2f3)];_0x1912e8[_0x3a7bd4(0x2f3)]=_0x416908=>(this['_rescheduleHeartbeat'](),_0x31b2dd[_0x3a7bd4(0x3ec)](_0x1912e8,[_0x416908])),_0x1912e8[_0x3a7bd4(0x31e)][_0x3a7bd4(0x3d5)](_0x2a0417=>this['_onMessage'](_0x1912e8,_0x2a0417)),_0x1912e8[_0x3a7bd4(0x2d8)][_0x3a7bd4(0x3ff)](_0x2ababf(0x1))['subscribe'](_0x577f9e=>this[_0x3a7bd4(0x261)][_0x3a7bd4(0x129)]('[CollaborationSessionService]:\x20socket\x20error',_0x577f9e)),_0x1912e8[_0x3a7bd4(0x266)][_0x3a7bd4(0x3ff)](_0x2ababf(0x1))[_0x3a7bd4(0x3d5)](()=>{var _0x6c53d9=_0x3a7bd4;this[_0x6c53d9(0x1cf)](_0x1912e8);}),_0x1912e8['close$']['pipe'](_0x2ababf(0x1))[_0x3a7bd4(0x3d5)](_0x4c08de=>{var _0x3c7d71=_0x3a7bd4;this['_logService'][_0x3c7d71(0x2e4)](_0x3c7d71(0x13b),_0x3c7d71(0x2ad),_0x4c08de),this[_0x3c7d71(0x2bc)]();});}}catch(_0x183b62){this[_0x3a7bd4(0x261)]['error'](_0x183b62),this[_0x3a7bd4(0x2bc)]();}}[_0x7e3d33(0x1cf)](_0x26bc9a){var _0x18d1e3=_0x7e3d33;this[_0x18d1e3(0x261)][_0x18d1e3(0x2e4)](_0x18d1e3(0x13b),'socket\x20open.'),_0x26bc9a['send']({'cmd':F[_0x18d1e3(0x14d)]}),this[_0x18d1e3(0x2f5)]();}[_0x7e3d33(0x412)](){var _0x255e18=_0x7e3d33;this[_0x255e18(0x243)]=!0x1,this[_0x255e18(0x3d9)]=null,this[_0x255e18(0x26f)]['next'](Te['OFFLINE']),this['_socket$'][_0x255e18(0x18a)](null),this['_clearTimeoutTimer'](),this[_0x255e18(0x120)]();}[_0x7e3d33(0x2bc)](){var _0x489368=_0x7e3d33,_0x195035;this[_0x489368(0x412)](),this[_0x489368(0x373)]<((_0x195035=this[_0x489368(0x38d)][_0x489368(0x383)](Pn))!=null?_0x195035:wn)?(this[_0x489368(0x162)]['emitEvent']({'id':se[_0x489368(0x257)]}),this[_0x489368(0x2f6)]()):this[_0x489368(0x162)][_0x489368(0x2f9)]({'id':se[_0x489368(0x3e2)]});}['_tryReconnect'](){var _0x45c952=_0x7e3d33,_0x2f1c73;const _0x5ded13=this[_0x45c952(0x373)],_0x34c54a=this['_configService'][_0x45c952(0x383)](q),_0xbd1666=_0x5ded13===0x0?0x0:((_0x2f1c73=_0x34c54a==null?void 0x0:_0x34c54a['retryConnectingInterval'])!=null?_0x2f1c73:Dn)*0x2**_0x5ded13;this[_0x45c952(0x3e9)]=setTimeout(()=>{var _0x15b39c=_0x45c952;clearTimeout(this[_0x15b39c(0x3e9)]),this[_0x15b39c(0x3e9)]=null,this[_0x15b39c(0x3a1)]();},_0xbd1666),this[_0x45c952(0x373)]+=0x1;}[_0x7e3d33(0x121)](_0xf67b5b,_0x383beb){var _0x33ed30=_0x7e3d33;const {cmd:_0x16f372}=_0x383beb;_0x16f372===F['HELLO']&&!this['_socketReady']&&(_0xf67b5b[_0x33ed30(0x1ee)]=_0x383beb[_0x33ed30(0x248)]['memberID'],this['_socket$'][_0x33ed30(0x18a)](_0xf67b5b),this[_0x33ed30(0x26f)][_0x33ed30(0x18a)](Te[_0x33ed30(0x385)]),this[_0x33ed30(0x243)]=!0x0,this[_0x33ed30(0x3d9)]=null),_0x16f372===F[_0x33ed30(0x168)]&&this[_0x33ed30(0x1fc)](),this['_rescheduleHeartbeat']();}[_0x7e3d33(0x2f5)](){var _0x132b93=_0x7e3d33,_0x365427;this['_clearHeartbeatTimer'](),this[_0x132b93(0x2d0)]=setTimeout(()=>this[_0x132b93(0x388)](),(_0x365427=this[_0x132b93(0x38d)][_0x132b93(0x383)](yn))!=null?_0x365427:Nn);}[_0x7e3d33(0x388)](){var _0x76fcf3=_0x7e3d33;this['_socket']['send']({'cmd':F[_0x76fcf3(0x168)]}),this[_0x76fcf3(0x170)]();}[_0x7e3d33(0x170)](){var _0x5b1206=_0x7e3d33,_0x2521a5;this[_0x5b1206(0x36a)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2521a5=this['_configService']['getConfig'](Si))!=null?_0x2521a5:Ei);}[_0x7e3d33(0x120)](){var _0xb1f9a4=_0x7e3d33;this[_0xb1f9a4(0x2d0)]!=null&&(clearTimeout(this[_0xb1f9a4(0x2d0)]),this[_0xb1f9a4(0x2d0)]=null);}[_0x7e3d33(0x1fc)](){var _0x587222=_0x7e3d33;this[_0x587222(0x36a)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x46e7fc(_0x54c970)),ge(0x1,_0x3f2d03),ge(0x2,_0xe8305c),ge(0x3,Ci),ge(0x4,_0x46e7fc(_0x13eabd)),ge(0x5,_0x46e7fc(pe)),ge(0x6,_0x34330d(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x7e3d33(0x399)]((n+0x100)[_0x7e3d33(0x328)](0x10)['slice'](0x1));function tr(_0x4404b9,_0x303e93=0x0){var _0x13be7f=_0x7e3d33;return(V[_0x4404b9[_0x303e93+0x0]]+V[_0x4404b9[_0x303e93+0x1]]+V[_0x4404b9[_0x303e93+0x2]]+V[_0x4404b9[_0x303e93+0x3]]+'-'+V[_0x4404b9[_0x303e93+0x4]]+V[_0x4404b9[_0x303e93+0x5]]+'-'+V[_0x4404b9[_0x303e93+0x6]]+V[_0x4404b9[_0x303e93+0x7]]+'-'+V[_0x4404b9[_0x303e93+0x8]]+V[_0x4404b9[_0x303e93+0x9]]+'-'+V[_0x4404b9[_0x303e93+0xa]]+V[_0x4404b9[_0x303e93+0xb]]+V[_0x4404b9[_0x303e93+0xc]]+V[_0x4404b9[_0x303e93+0xd]]+V[_0x4404b9[_0x303e93+0xe]]+V[_0x4404b9[_0x303e93+0xf]])[_0x13be7f(0x33a)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x2b8f3b=_0x7e3d33;if(!ut){if(typeof crypto>'u'||!crypto[_0x2b8f3b(0x19e)])throw new Error(_0x2b8f3b(0x386));ut=crypto['getRandomValues']['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x7e3d33(0x352)]&&crypto[_0x7e3d33(0x352)][_0x7e3d33(0x2d5)](crypto),qt={'randomUUID':rr};function sr(_0x38ed24,_0xe8ad63,_0x666791){var _0x3925e4=_0x7e3d33,_0x170e4f,_0x425e68,_0x3974ef;if(qt[_0x3925e4(0x352)]&&!_0x38ed24)return qt[_0x3925e4(0x352)]();_0x38ed24=_0x38ed24||{};const _0x2321ba=(_0x3974ef=(_0x425e68=_0x38ed24[_0x3925e4(0x416)])!=null?_0x425e68:(_0x170e4f=_0x38ed24['rng'])==null?void 0x0:_0x170e4f[_0x3925e4(0x33e)](_0x38ed24))!=null?_0x3974ef:nr();if(_0x2321ba[_0x3925e4(0x255)]<0x10)throw new Error(_0x3925e4(0x142));return _0x2321ba[0x6]=_0x2321ba[0x6]&0xf|0x40,_0x2321ba[0x8]=_0x2321ba[0x8]&0x3f|0x80,tr(_0x2321ba);}const J=_0x51c9f0(_0x7e3d33(0x378));function so(_0x1e1cf0){var _0x48b948=_0x7e3d33;return _0x48b948(0x230)+_0x1e1cf0;}var or=Object[_0x7e3d33(0x349)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x393bb6,_0x3970ba,_0x2ee8b5,_0xf220b3)=>{for(var _0x374ff7=_0xf220b3>0x1?void 0x0:_0xf220b3?ar(_0x3970ba,_0x2ee8b5):_0x3970ba,_0x3272d2=_0x393bb6['length']-0x1,_0x4416cf;_0x3272d2>=0x0;_0x3272d2--)(_0x4416cf=_0x393bb6[_0x3272d2])&&(_0x374ff7=(_0xf220b3?_0x4416cf(_0x3970ba,_0x2ee8b5,_0x374ff7):_0x4416cf(_0x374ff7))||_0x374ff7);return _0xf220b3&&_0x374ff7&&or(_0x3970ba,_0x2ee8b5,_0x374ff7),_0x374ff7;},dt=(_0x1a4f63,_0x2d4432)=>(_0x4f2b3b,_0xcfc932)=>_0x2d4432(_0x4f2b3b,_0xcfc932,_0x1a4f63);function hr(_0x2bd5ee){var _0x228189=_0x7e3d33;const {unitID:_0x46c75b,mutations:_0x1638c7}=_0x2bd5ee;return{'unitId':_0x46c75b,'subUnitId':_0x1638c7[0x0][_0x228189(0x408)]['subUnitId']};}let it=class{constructor(_0xe280e7,_0x5a8726,_0x27978e){var _0x6c8a0d=_0x7e3d33;this[_0x6c8a0d(0x1de)]=_0xe280e7,this[_0x6c8a0d(0x2e9)]=_0x5a8726,this['_instanceService']=_0x27978e;}[_0x7e3d33(0x144)](_0x479b54){var _0x54e89a=_0x7e3d33,_0x46a26d,_0x4ea6c8,_0x31f32d,_0x41c03d;const _0x11ceaf=this[_0x54e89a(0x1de)][_0x54e89a(0x1e6)](_0x44e528),{unitId:_0x163190,subUnitId:_0x387aad}=hr(_0x479b54),_0x2c564b=_0x11ceaf==null?void 0x0:_0x11ceaf['getWorkbookSelections'](_0x163190)[_0x54e89a(0x3ba)](),_0x3e490f=(_0x4ea6c8=(_0x46a26d=this['_instanceService'][_0x54e89a(0x211)](_0x163190))==null?void 0x0:_0x46a26d[_0x54e89a(0x3a3)]())==null?void 0x0:_0x4ea6c8[_0x54e89a(0x23b)]();if(_0x2c564b[_0x54e89a(0x255)]===0x0||!_0x163190||!_0x387aad)return;const _0x502410=[{'id':_0x1e82bf['id'],'params':{'unitId':_0x163190,'subUnitId':_0x3e490f,'selections':_0x50aabe[_0x54e89a(0x30e)](_0x2c564b)}}],_0x5458ed=this[_0x54e89a(0x2e9)]['transformMutationsWithChangeset'](_0x479b54,_0x502410);if(!_0x4496a3(_0x5458ed))throw _0x5458ed[_0x54e89a(0x129)];const _0x2e7798=(_0x41c03d=(_0x31f32d=_0x5458ed[_0x54e89a(0x40f)][0x0])==null?void 0x0:_0x31f32d[_0x54e89a(0x408)])==null?void 0x0:_0x41c03d[_0x54e89a(0x381)];if(Array[_0x54e89a(0x1ad)](_0x2e7798)&&_0x2e7798[_0x54e89a(0x255)]){if(_0x2e7798['length']===_0x502410[0x0][_0x54e89a(0x408)][_0x54e89a(0x381)][_0x54e89a(0x255)]&&_0x2e7798[_0x54e89a(0x332)]((_0x3a2201,_0x1453c6)=>_0x43a91d[_0x54e89a(0x21f)](_0x3a2201[_0x54e89a(0x1d4)],_0x502410[0x0][_0x54e89a(0x408)]['selections'][_0x1453c6]['range'])))return;this[_0x54e89a(0x1de)][_0x54e89a(0x1e6)](_0x12a849)['executeCommand'](_0x1e82bf['id'],{'unitId':_0x163190,'subUnitId':_0x3e490f,'selections':_0x2e7798});}}};it=cr([dt(0x0,_0x46e7fc(_0x54c970)),dt(0x1,_0x1b280a),dt(0x2,_0x3f319c)],it);const ht=_0x51c9f0('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x561801=>(_0x561801[_0x561801['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x561801[_0x561801[_0x7e3d33(0x2e6)]=0x1]=_0x7e3d33(0x2e6),_0x561801))(bi||{});const _r=new Set([_0x296332['id']]);function zt(_0x11c612,_0x56dfa8,_0x5e8a28,_0x561c06,_0x1b042b){var _0x4c473b=_0x7e3d33,_0x317bf8,_0x49ab7f,_0x23f62d,_0x5b8975;const _0x2a8ba4=[];for(const _0x9c58d7 of _0x11c612)if(_r[_0x4c473b(0x1d8)](_0x9c58d7['id'])){if(_0x2a8ba4['length']>0x0)break;_0x2a8ba4[_0x4c473b(0x399)](_0x9c58d7);break;}else _0x2a8ba4[_0x4c473b(0x399)](_0x9c58d7);const _0x56a999=(_0x49ab7f=(_0x317bf8=_0x1b042b[_0x4c473b(0x37c)]())==null?void 0x0:_0x317bf8[_0x4c473b(0x204)])!=null?_0x49ab7f:'unknown',_0x4e85ca=(_0x5b8975=(_0x23f62d=_0x1b042b[_0x4c473b(0x37c)]())==null?void 0x0:_0x23f62d[_0x4c473b(0x1ee)])!=null?_0x5b8975:_0x4c473b(0x1ae);return{'changeset':{'unitID':_0x56dfa8,'type':_0x164240(_0x5e8a28[_0x4c473b(0x12f)](_0x56dfa8)),'baseRev':_0x561c06[_0x4c473b(0x2cd)](_0x56dfa8),'revision':0x0,'userID':_0x56a999,'memberID':_0x4e85ca,'mutations':_0x2a8ba4},'pendingMutations':_0x11c612[_0x4c473b(0x1b1)](_0x2a8ba4[_0x4c473b(0x255)])};}function lr(_0x17eebc,_0x455b72,_0x41bcf3,_0x5ca70a,_0x1f0198){var _0x3418d4=_0x7e3d33,_0x22a229,_0xfdf4a5,_0x248b5a,_0x5eb377;const _0x1b2782=[_0x17eebc['reduce']((_0x3ca606,_0x3a1db9)=>{var _0x593dc6=_0x3515,_0x480a00;const {id:_0x18a355}=_0x3ca606,{id:_0x5ce0f1,type:_0x4bff4f}=_0x3a1db9,_0x3cb3ed=(_0x480a00=_0x3ca606[_0x593dc6(0x408)])!=null?_0x480a00:{'actions':null},_0x5d51fe=_0x3a1db9['params'];if(_0x18a355&&_0x18a355!==_0x5ce0f1)throw new Error(_0x593dc6(0x308)+_0x18a355+'\x20-\x20'+_0x5ce0f1+'.');return{..._0x3ca606,'id':_0x5ce0f1,'type':_0x4bff4f,'params':{'unitId':_0x5d51fe['unitId'],'textRanges':_0x5d51fe['textRanges'],'actions':_0x5651e6['compose'](_0x3cb3ed[_0x593dc6(0x213)],_0x5d51fe[_0x593dc6(0x213)])}};},{})],_0x5066e5=(_0xfdf4a5=(_0x22a229=_0x1f0198[_0x3418d4(0x37c)]())==null?void 0x0:_0x22a229['userID'])!=null?_0xfdf4a5:_0x3418d4(0x1ae),_0x87dd68=(_0x5eb377=(_0x248b5a=_0x1f0198[_0x3418d4(0x37c)]())==null?void 0x0:_0x248b5a[_0x3418d4(0x1ee)])!=null?_0x5eb377:'unknown';return{'changeset':{'unitID':_0x455b72,'type':_0x164240(_0x41bcf3['getUnitType'](_0x455b72)),'baseRev':_0x5ca70a[_0x3418d4(0x2cd)](_0x455b72),'revision':0x0,'userID':_0x5066e5,'memberID':_0x87dd68,'mutations':_0x1b2782},'pendingMutations':[]};}function Oi(_0x3f1d0b,_0x25357b){var _0x2091e2=_0x7e3d33;const _0x140d8e=new _0x20c46f(0x1);return setTimeout(()=>_0x140d8e[_0x2091e2(0x18a)](_0x25357b),_0x3f1d0b),_0x140d8e[_0x2091e2(0x2b7)]()[_0x2091e2(0x3ff)](_0x22a28b(0x1));}const ur={'id':_0x431294['id'],'type':_0x42d9bc[_0x7e3d33(0x1e1)],'params':{}};var dr=Object[_0x7e3d33(0x349)],fr=Object[_0x7e3d33(0x31d)],Re=(_0x27b7d6,_0x4c8048,_0x59fbb4,_0x5b5f13)=>{var _0x540c1a=_0x7e3d33;for(var _0x152f61=_0x5b5f13>0x1?void 0x0:_0x5b5f13?fr(_0x4c8048,_0x59fbb4):_0x4c8048,_0x5b7c73=_0x27b7d6[_0x540c1a(0x255)]-0x1,_0x35dc49;_0x5b7c73>=0x0;_0x5b7c73--)(_0x35dc49=_0x27b7d6[_0x5b7c73])&&(_0x152f61=(_0x5b5f13?_0x35dc49(_0x4c8048,_0x59fbb4,_0x152f61):_0x35dc49(_0x152f61))||_0x152f61);return _0x5b5f13&&_0x152f61&&dr(_0x4c8048,_0x59fbb4,_0x152f61),_0x152f61;},A=(_0x56e338,_0xbb1b3a)=>(_0x56c170,_0x57a993)=>_0xbb1b3a(_0x56c170,_0x57a993,_0x56e338),yi=(_0x272182=>(_0x272182[_0x7e3d33(0x1c5)]=_0x7e3d33(0x376),_0x272182['SYNCED']=_0x7e3d33(0x27e),_0x272182[_0x7e3d33(0x159)]=_0x7e3d33(0x1fd),_0x272182['AWAITING']=_0x7e3d33(0x312),_0x272182[_0x7e3d33(0x37b)]=_0x7e3d33(0x407),_0x272182['FETCH_MISS']=_0x7e3d33(0x2cb),_0x272182[_0x7e3d33(0x3c9)]='conflict',_0x272182[_0x7e3d33(0x3eb)]=_0x7e3d33(0x251),_0x272182))(yi||{});const Ni=0xea60;class be{constructor(_0xca7cc9,_0x523b33,_0xf519e6,_0x5d54f5,_0x3e93b7,_0x504d80,_0x45d9e4,_0xa5044f,_0x45210c){var _0x53a18b=_0x7e3d33;N(this,'_awaitingChangeset',null),N(this,_0x53a18b(0x263),[]),(this['unitID']=_0xca7cc9,this[_0x53a18b(0x192)]=_0x523b33,this['_handler']=_0x3e93b7,this[_0x53a18b(0x283)]=_0x504d80,this[_0x53a18b(0x233)]=_0x45d9e4,this['_revisionService']=_0xa5044f,this[_0x53a18b(0x305)]=_0x45210c,this['_awaitingChangeset']=_0xf519e6,this['_pendingMutations']=_0x5d54f5);}['_checkMissing'](_0x4ea08f){var _0x52c7d3=_0x7e3d33;const _0x3319d2=this['_revisionService'][_0x52c7d3(0x2cd)](this['unitID']);return _0x4ea08f['revision']>_0x3319d2+0x1?(this['_handler'][_0x52c7d3(0x207)]({'from':_0x3319d2,'to':_0x4ea08f[_0x52c7d3(0x353)]-0x1}),!0x0):!0x1;}[_0x7e3d33(0x221)](_0x3bd134){var _0x100669=_0x7e3d33;this[_0x100669(0x233)][_0x100669(0x3a0)](this['unitID'],_0x3bd134);}['_transformSelections'](_0x1af02d){var _0x1c0551=_0x7e3d33,_0x228a19,_0x38e4ef;(_0x38e4ef=(_0x228a19=this[_0x1c0551(0x1df)])[_0x1c0551(0x32e)])==null||_0x38e4ef[_0x1c0551(0x33e)](_0x228a19,_0x1af02d);}[_0x7e3d33(0x2be)](_0x18774b){var _0x396007=_0x7e3d33,_0x26a67c,_0x3d9f06;return(_0x3d9f06=(_0x26a67c=this[_0x396007(0x1df)])['onTransformIME'])==null?void 0x0:_0x3d9f06[_0x396007(0x33e)](_0x26a67c,_0x18774b);}[_0x7e3d33(0x1c2)](_0x555da4){var _0x15770f=_0x7e3d33,_0x4f4ea8,_0x1a64cb;return(_0x1a64cb=(_0x4f4ea8=this[_0x15770f(0x1df)])[_0x15770f(0x277)])==null?void 0x0:_0x1a64cb['call'](_0x4f4ea8,_0x555da4);}[_0x7e3d33(0x3b6)](_0x12b5e0){var _0x2de73e=_0x7e3d33,_0x243a1d,_0x598f3f,_0x16cb76;return(_0x16cb76=(_0x598f3f=(_0x243a1d=this[_0x2de73e(0x1df)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x598f3f[_0x2de73e(0x33e)](_0x243a1d,_0x12b5e0))!=null?_0x16cb76:_0x12b5e0;}[_0x7e3d33(0x3f4)](_0x2aee41){var _0x13d306=_0x7e3d33,_0x5782cc,_0x4e5188,_0x105892;return(_0x105892=(_0x4e5188=(_0x5782cc=this[_0x13d306(0x1df)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4e5188[_0x13d306(0x33e)](_0x5782cc,_0x2aee41))!=null?_0x105892:_0x2aee41;}['_syncEditingCollabCursor'](_0x4ee516){var _0x5caa81=_0x7e3d33,_0x10a269,_0x5144de;if(this[_0x5caa81(0x192)]===Q[_0x5caa81(0x3ae)]){const {unitID:_0x32bd80,mutations:_0x1fbf56,memberID:_0xc32338}=_0x4ee516,_0x54b764=_0x1fbf56[0x0]['params'][_0x5caa81(0x27d)];Array[_0x5caa81(0x1ad)](_0x54b764)&&_0x54b764[_0x5caa81(0x255)]>0x0&&((_0x5144de=(_0x10a269=this['_handler'])[_0x5caa81(0x326)])==null||_0x5144de[_0x5caa81(0x33e)](_0x10a269,{'unitID':_0x32bd80,'memberID':_0xc32338,'textRanges':_0x54b764}));}}[_0x7e3d33(0x367)](){var _0x1b8ac6=_0x7e3d33,_0x614643;(_0x614643=this['_localCacheService'])==null||_0x614643['updateOfflineData'](this['unitID'],this[_0x1b8ac6(0x192)],this[_0x1b8ac6(0x185)],this[_0x1b8ac6(0x263)]);}['_getCurrentRevision'](){var _0x270fb5=_0x7e3d33;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x270fb5(0x2ce)]);}[_0x7e3d33(0x340)](){var _0x49b4e6=_0x7e3d33;this['_revisionService']['incrementRevOfUnit'](this[_0x49b4e6(0x2ce)]);}['_executeRemoteChangeset'](_0x4fd1ea){var _0x36fa9a=_0x7e3d33,_0x24e8d7;let _0x2d9174=this[_0x36fa9a(0x3b6)](_0x4fd1ea);_0x2d9174=this[_0x36fa9a(0x3f4)](_0x2d9174);const _0x3ab83f=_0x403b17(_0x2d9174[_0x36fa9a(0x1f9)],this[_0x36fa9a(0x283)],{'fromCollab':!0x0});if(!_0x3ab83f['result'])throw _0x3ab83f[_0x36fa9a(0x129)]instanceof Error?_0x3ab83f[_0x36fa9a(0x129)]:new Error((_0x24e8d7=_0x3ab83f[_0x36fa9a(0x129)])!=null?_0x24e8d7:_0x36fa9a(0x157));this[_0x36fa9a(0x2be)](_0x2d9174),this[_0x36fa9a(0x1c2)](_0x2d9174),this[_0x36fa9a(0x221)](_0x4fd1ea),this[_0x36fa9a(0x1ef)](_0x2d9174),this[_0x36fa9a(0x1eb)](_0x2d9174),this[_0x36fa9a(0x340)]();}}let De=class extends be{constructor(_0x157c9c,_0x1c9639,_0x546929,_0x2df756,_0x58faac,_0xca55e6,_0x3ea84f,_0x25cf35,_0x39bec3,_0x1f99e5){var _0x53a872=_0x7e3d33;super(_0x157c9c,_0x1c9639,null,[],_0x546929,_0x3ea84f,_0xca55e6,_0x2df756,_0x1f99e5),N(this,'status',_0x53a872(0x27e)),(this[_0x53a872(0x1de)]=_0x58faac,this['_logService']=_0x25cf35,this[_0x53a872(0x2e9)]=_0x39bec3,this['localCacheService']=_0x1f99e5);}['appendMutation'](_0x38f174){var _0x3f45db=_0x7e3d33;const _0x3adea1=this[_0x3f45db(0x1de)][_0x3f45db(0x39c)](oe,this[_0x3f45db(0x2ce)],this[_0x3f45db(0x192)],[_0x38f174],this[_0x3f45db(0x1df)]);return _0x3adea1[_0x3f45db(0x2e3)](),_0x3adea1['_updateLocalCache'](),_0x3adea1;}[_0x7e3d33(0x21e)](_0x8c9168){var _0x1d2ac4=_0x7e3d33;if(this['_checkMissing'](_0x8c9168))return this[_0x1d2ac4(0x1de)][_0x1d2ac4(0x39c)](te,this[_0x1d2ac4(0x2ce)],this[_0x1d2ac4(0x192)],null,[],null,[_0x8c9168],this['_handler']);try{const _0x2fd488=this[_0x1d2ac4(0x2e9)]['transformMutationsWithChangeset'](_0x8c9168,[ur]);if(_0x4496a3(_0x2fd488)){const {c1Prime:_0x109f6a}=_0x2fd488;return this[_0x1d2ac4(0x125)](_0x109f6a),this;}throw _0x2fd488[_0x1d2ac4(0x129)];}catch(_0x2ab638){return this[_0x1d2ac4(0x261)]['error'](_0x2ab638),this['_onConflict'](!0x1);}}[_0x7e3d33(0x1dc)](_0x592dce){var _0x33c814=_0x7e3d33;return this[_0x33c814(0x1de)][_0x33c814(0x39c)](de,this[_0x33c814(0x2ce)],this[_0x33c814(0x192)],null,[],this[_0x33c814(0x1df)],_0x592dce);}[_0x7e3d33(0x34b)](){var _0x37900d=_0x7e3d33;throw new Error(_0x37900d(0x330));}[_0x7e3d33(0x24c)](){var _0x1858a1=_0x7e3d33;throw new Error(_0x1858a1(0x236));}[_0x7e3d33(0x155)](){return this;}['toggleOffline'](){var _0x4b0bf6=_0x7e3d33;return this[_0x4b0bf6(0x1de)][_0x4b0bf6(0x39c)](fe,this[_0x4b0bf6(0x2ce)],this[_0x4b0bf6(0x192)],null,[],this[_0x4b0bf6(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2b5)](){var _0x1c84c5=_0x7e3d33;throw new Error(_0x1c84c5(0x364));}[_0x7e3d33(0x29f)](){var _0x4a86d1=_0x7e3d33;const _0x1602ea=this['_revisionService'][_0x4a86d1(0x2cd)](this[_0x4a86d1(0x2ce)]);return this['_handler'][_0x4a86d1(0x207)]({'from':_0x1602ea,'to':0x0}),this[_0x4a86d1(0x1de)]['createInstance'](te,this[_0x4a86d1(0x2ce)],this[_0x4a86d1(0x192)],null,[],null,[],this[_0x4a86d1(0x1df)]);}};De=Re([A(0x3,_0x46e7fc(_0x316b6a)),A(0x4,_0x46e7fc(_0x54c970)),A(0x5,_0x1c6bd2),A(0x6,_0x12a849),A(0x7,_0x3f2d03),A(0x8,_0x1b280a),A(0x9,_0x34330d(J))],De);let oe=class extends be{constructor(_0x177961,_0x1e0c7b,_0x51fd57,_0x56286d,_0x2dfe61,_0x2de70c,_0x25e711,_0x508542,_0x4f6116,_0x437c92,_0x491c5c,_0x32eb81,_0xf1caa9,_0x148410){var _0x3f593c=_0x7e3d33;super(_0x177961,_0x1e0c7b,null,_0x51fd57,_0x56286d,_0x4f6116,_0xf1caa9,_0x2de70c,_0x148410),N(this,_0x3f593c(0x25d),'pending'),N(this,_0x3f593c(0x2e2),null),N(this,'_sendingTimer',null),(this[_0x3f593c(0x1de)]=_0x2dfe61,this[_0x3f593c(0x1e4)]=_0x25e711,this[_0x3f593c(0x261)]=_0x508542,this[_0x3f593c(0x38d)]=_0x437c92,this[_0x3f593c(0x2e9)]=_0x491c5c,this['_univerInstanceService']=_0x32eb81);}['appendMutation'](_0x47ab9e){var _0x5229d0=_0x7e3d33;return this[_0x5229d0(0x263)][_0x5229d0(0x399)](_0x47ab9e),this[_0x5229d0(0x367)](),this;}[_0x7e3d33(0x21e)](_0x33f6d4){var _0x3bd9b6=_0x7e3d33;if(this[_0x3bd9b6(0x38a)](_0x33f6d4))return this['_clearScheduledTask'](),this['_injector'][_0x3bd9b6(0x39c)](te,this[_0x3bd9b6(0x2ce)],this[_0x3bd9b6(0x192)],null,this[_0x3bd9b6(0x263)],null,[_0x33f6d4],this[_0x3bd9b6(0x1df)]);try{const _0x2b2f83=this[_0x3bd9b6(0x2e9)][_0x3bd9b6(0x160)](_0x33f6d4,this[_0x3bd9b6(0x263)]);if(_0x4496a3(_0x2b2f83)){const {c1Prime:_0x267e3d,m2Prime:_0x5ea91f}=_0x2b2f83;this[_0x3bd9b6(0x125)](_0x267e3d);const _0x3d0aa0=this[_0x3bd9b6(0x1de)][_0x3bd9b6(0x39c)](oe,this[_0x3bd9b6(0x2ce)],this[_0x3bd9b6(0x192)],_0x5ea91f,this['_handler']);this[_0x3bd9b6(0x3db)]();const _0x3c14f2=new Date()[_0x3bd9b6(0x203)](),_0xd517b=this[_0x3bd9b6(0x2e2)]?Math[_0x3bd9b6(0x15a)](this[_0x3bd9b6(0x2e2)]-_0x3c14f2,0x0):this[_0x3bd9b6(0x1a6)]();return _0x3d0aa0['_schedule'](_0xd517b),_0x3d0aa0;}throw _0x2b2f83[_0x3bd9b6(0x129)];}catch(_0x3ac7f3){return this[_0x3bd9b6(0x261)][_0x3bd9b6(0x129)](_0x3ac7f3),this[_0x3bd9b6(0x1dc)](!0x1);}}[_0x7e3d33(0x34b)](){var _0x4d6982=_0x7e3d33;throw new Error(_0x4d6982(0x289));}[_0x7e3d33(0x24c)](){var _0x47de82=_0x7e3d33;throw new Error(_0x47de82(0x358));}[_0x7e3d33(0x155)](){return this;}[_0x7e3d33(0x281)](){var _0x3f4650=_0x7e3d33;return this['_clearScheduledTask'](),this[_0x3f4650(0x1de)][_0x3f4650(0x39c)](fe,this[_0x3f4650(0x2ce)],this['type'],null,this[_0x3f4650(0x263)],this[_0x3f4650(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2e3)](_0x4c68d2){var _0xb6bcb0=_0x7e3d33;const _0x21e70a=_0x4c68d2!=null?_0x4c68d2:this[_0xb6bcb0(0x1a6)]();this[_0xb6bcb0(0x2e2)]=new Date()[_0xb6bcb0(0x203)]()+_0x21e70a,this['_sendingTimer']=setTimeout(()=>{var _0x56bab3=_0xb6bcb0;this[_0x56bab3(0x3db)]();let _0x1ffa0d=null;switch(this[_0x56bab3(0x192)]){case Q[_0x56bab3(0x33b)]:{_0x1ffa0d=zt(this[_0x56bab3(0x263)],this[_0x56bab3(0x2ce)],this['_univerInstanceService'],this[_0x56bab3(0x293)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x56bab3(0x263)]['every'](_0x52f8df=>_0x52f8df['id']===_0x28d6ae['id'])?_0x1ffa0d=lr(this[_0x56bab3(0x263)],this[_0x56bab3(0x2ce)],this[_0x56bab3(0x12d)],this[_0x56bab3(0x293)],this['_memberService']):_0x1ffa0d=zt(this['_pendingMutations'],this[_0x56bab3(0x2ce)],this[_0x56bab3(0x12d)],this[_0x56bab3(0x293)],this['_memberService']);break;}default:throw new Error(_0x56bab3(0x415)+this[_0x56bab3(0x192)]+'\x20in\x20_schedule.');}const {changeset:_0x2522d1,pendingMutations:_0x4470c3}=_0x1ffa0d;this[_0x56bab3(0x1df)][_0x56bab3(0x20f)](_0x2522d1);const _0x2447ba=_0x4470c3[_0x56bab3(0x255)]?this[_0x56bab3(0x1de)][_0x56bab3(0x39c)](ae,this[_0x56bab3(0x2ce)],this[_0x56bab3(0x192)],_0x2522d1,_0x4470c3,this[_0x56bab3(0x1df)],void 0x0):this[_0x56bab3(0x1de)][_0x56bab3(0x39c)](ue,this[_0x56bab3(0x2ce)],this[_0x56bab3(0x192)],_0x2522d1,this[_0x56bab3(0x1df)]);_0x2447ba['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2447ba);},_0x21e70a);}['_getSendChangesetTimeout'](){var _0x46c72a=_0x7e3d33,_0x405916;const _0x2f20d1=this[_0x46c72a(0x38d)][_0x46c72a(0x383)](q);return(_0x405916=_0x2f20d1==null?void 0x0:_0x2f20d1[_0x46c72a(0x3d1)])!=null?_0x405916:Cn;}[_0x7e3d33(0x2b5)](){var _0x34def8=_0x7e3d33;throw new Error(_0x34def8(0x22b));}[_0x7e3d33(0x3db)](){var _0x1c0346=_0x7e3d33;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1c0346(0x187)]),this[_0x1c0346(0x187)]=null);}['_onConflict'](_0x1d1b25){var _0x39547b=_0x7e3d33;return this['_clearScheduledTask'](),this[_0x39547b(0x1de)][_0x39547b(0x39c)](de,this[_0x39547b(0x2ce)],this[_0x39547b(0x192)],null,this[_0x39547b(0x263)],this['_handler'],_0x1d1b25);}};oe=Re([A(0x4,_0x46e7fc(_0x54c970)),A(0x5,_0x46e7fc(_0x316b6a)),A(0x6,_0x46e7fc(xe)),A(0x7,_0x3f2d03),A(0x8,_0x12a849),A(0x9,_0xe8305c),A(0xa,_0x1b280a),A(0xb,_0x3f319c),A(0xc,_0x1c6bd2),A(0xd,_0x34330d(J))],oe);let ue=class extends be{constructor(_0x52ba31,_0x1e6a24,_0x9f130,_0x1d7d4c,_0x294398,_0x36bc24,_0x24f890,_0x1e02d2,_0x32aede,_0x1d885f,_0x5f2d84){var _0x10f924=_0x7e3d33;super(_0x52ba31,_0x1e6a24,_0x9f130,[],_0x1d7d4c,_0x24f890,_0x1d885f,_0x36bc24,_0x5f2d84),N(this,_0x10f924(0x25d),_0x10f924(0x312)),N(this,_0x10f924(0x34f),0x0),N(this,_0x10f924(0x343)),N(this,_0x10f924(0x2d9)),(this['_injector']=_0x294398,this['_logService']=_0x1e02d2,this['_transformService']=_0x32aede);}['appendMutation'](_0x4cee60){var _0x411c82=_0x7e3d33;this[_0x411c82(0x3db)]();const _0xaef122=this[_0x411c82(0x1de)][_0x411c82(0x39c)](ae,this[_0x411c82(0x2ce)],this[_0x411c82(0x192)],this[_0x411c82(0x185)],[_0x4cee60],this[_0x411c82(0x1df)],this['_resendTimer']);return _0xaef122[_0x411c82(0x367)](),_0xaef122;}[_0x7e3d33(0x21e)](_0x295d8d){var _0x3430a3=_0x7e3d33;if(this[_0x3430a3(0x38a)](_0x295d8d))return this[_0x3430a3(0x3db)](),this['_injector']['createInstance'](te,this[_0x3430a3(0x2ce)],this[_0x3430a3(0x192)],this['_awaitingChangeset'],[],null,[_0x295d8d],this[_0x3430a3(0x1df)]);try{const _0x2feebb=this[_0x3430a3(0x2e9)]['transformChangesets']([_0x295d8d],[this[_0x3430a3(0x185)]],!0x1);if(_0x147682(_0x2feebb)){const {c1Prime:_0xa70b11,c2Prime:_0x3d812b}=_0x2feebb;this[_0x3430a3(0x125)](_0xa70b11[0x0]),_0x3d812b[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x3430a3(0x3db)]();const _0x46674a=this[_0x3430a3(0x1de)][_0x3430a3(0x39c)](ue,this[_0x3430a3(0x2ce)],this[_0x3430a3(0x192)],_0x3d812b[0x0],this[_0x3430a3(0x1df)]);return _0x46674a[_0x3430a3(0x367)](),_0x46674a;}return this[_0x3430a3(0x1dc)](!0x1);}catch(_0x71b165){return this['_logService']['error'](_0x71b165),this[_0x3430a3(0x1dc)](!0x1);}}[_0x7e3d33(0x34b)](_0x46ac24){var _0x2cd113=_0x7e3d33;this['_clearScheduledTask']();const _0x20b0ce=this[_0x2cd113(0x293)]['getCurrentRevOfUnit'](this['unitID']);if(_0x46ac24['revision']<_0x20b0ce-0x1)return this;if(this[_0x2cd113(0x38a)](_0x46ac24))return this[_0x2cd113(0x1de)][_0x2cd113(0x39c)](te,this['unitID'],this[_0x2cd113(0x192)],null,[],this['_awaitingChangeset'],[],this[_0x2cd113(0x1df)]);this[_0x2cd113(0x340)]();const _0x579fa8=this[_0x2cd113(0x1de)][_0x2cd113(0x39c)](De,this['unitID'],this['type'],this[_0x2cd113(0x1df)]);return _0x579fa8[_0x2cd113(0x367)](),_0x579fa8;}[_0x7e3d33(0x24c)](_0x581b52){var _0x15ff07=_0x7e3d33;return this[_0x15ff07(0x1dc)](!!(_0x581b52!=null&&_0x581b52['isPermissionRej']));}['onRemoteRetry'](_0x558e42){var _0x526f04=_0x7e3d33;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x526f04(0x34f)],{'timeout':this['_resendTimeout'],'reqId':_0x558e42['reqId']}),this[_0x526f04(0x2d9)]=this[_0x526f04(0x343)][_0x526f04(0x3d5)](({reqId:_0xdf48,timeout:_0x2348f8})=>{var _0x1cac90=_0x526f04;this[_0x1cac90(0x24e)](_0xdf48,_0x2348f8);}),this);}[_0x7e3d33(0x281)](){var _0x15a42c=_0x7e3d33;return this[_0x15a42c(0x3db)](),this['_injector'][_0x15a42c(0x39c)](fe,this[_0x15a42c(0x2ce)],this[_0x15a42c(0x192)],this[_0x15a42c(0x185)],[],this[_0x15a42c(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2b5)](){var _0x446858=_0x7e3d33;this[_0x446858(0x1df)][_0x446858(0x20f)](this[_0x446858(0x185)]);}[_0x7e3d33(0x1dc)](_0x36af0c){var _0x44e30c=_0x7e3d33;return this[_0x44e30c(0x3db)](),this[_0x44e30c(0x1de)][_0x44e30c(0x39c)](de,this['unitID'],this[_0x44e30c(0x192)],this[_0x44e30c(0x185)],[],this['_handler'],_0x36af0c);}['_resendWithTimeout'](_0x59394e,_0x1536a0){var _0x396fe7=_0x7e3d33,_0x401aa3;_0x59394e===((_0x401aa3=this[_0x396fe7(0x185)])==null?void 0x0:_0x401aa3[_0x396fe7(0x1ea)])&&(this[_0x396fe7(0x2b5)](),this[_0x396fe7(0x34f)]=_0x1536a0===0x0?0x3e8:_0x1536a0*0x2);}[_0x7e3d33(0x3db)](){var _0x56381f=_0x7e3d33,_0x30aaf7;(_0x30aaf7=this[_0x56381f(0x2d9)])==null||_0x30aaf7['unsubscribe'](),this[_0x56381f(0x34f)]=0x0;}};ue=Re([A(0x4,_0x46e7fc(_0x54c970)),A(0x5,_0x46e7fc(_0x316b6a)),A(0x6,_0x12a849),A(0x7,_0x3f2d03),A(0x8,_0x1b280a),A(0x9,_0x1c6bd2),A(0xa,_0x34330d(J))],ue);let ae=class extends be{constructor(_0x3ead20,_0x368c0d,_0x1fcad4,_0x4cbd65,_0x4f20bc,_0x30943f,_0x1810ef,_0x1dcfe0,_0x27e912,_0x3ccf8b,_0x1b8b46,_0x190952,_0x59584d){var _0x18a779=_0x7e3d33;super(_0x3ead20,_0x368c0d,_0x1fcad4,_0x4cbd65,_0x4f20bc,_0x27e912,_0x190952,_0x1dcfe0,_0x59584d),N(this,_0x18a779(0x25d),'awaiting_with_pending'),N(this,_0x18a779(0x34f),0x0),N(this,_0x18a779(0x343)),N(this,_0x18a779(0x2d9)),(this[_0x18a779(0x1de)]=_0x1810ef,this[_0x18a779(0x261)]=_0x3ccf8b,this['_transformService']=_0x1b8b46,this[_0x18a779(0x14f)]=_0x59584d,_0x30943f&&(this['_resendTimer']=_0x30943f,this[_0x18a779(0x2d9)]=this[_0x18a779(0x343)][_0x18a779(0x3d5)](({reqId:_0x3182e4,timeout:_0x55baec})=>{this['_resendWithTimeout'](_0x3182e4,_0x55baec);})));}[_0x7e3d33(0x2ae)](_0x3315bd){var _0x1fccf4=_0x7e3d33;return this[_0x1fccf4(0x263)][_0x1fccf4(0x399)](_0x3315bd),this;}['onRemoteChangeset'](_0x417536){var _0x4f47e7=_0x7e3d33;if(this[_0x4f47e7(0x38a)](_0x417536))return this[_0x4f47e7(0x3db)](),this[_0x4f47e7(0x1de)][_0x4f47e7(0x39c)](te,this['unitID'],this[_0x4f47e7(0x192)],this[_0x4f47e7(0x185)],this[_0x4f47e7(0x263)],null,[_0x417536],this[_0x4f47e7(0x1df)]);try{const _0x192b70=this[_0x4f47e7(0x2e9)][_0x4f47e7(0x25f)]([_0x417536],[this['_awaitingChangeset']],!0x1);if(_0x147682(_0x192b70)){const {c1Prime:_0xe725c5,c2Prime:_0x208fb4}=_0x192b70,_0x54c3c8=this['_transformService'][_0x4f47e7(0x160)](_0xe725c5[0x0],this['_pendingMutations']);if(_0x4496a3(_0x54c3c8)){const {c1Prime:_0x221625,m2Prime:_0xe27765}=_0x54c3c8;return this['_executeRemoteChangeset'](_0x221625),_0x208fb4[0x0][_0x4f47e7(0x149)]=this[_0x4f47e7(0x140)](),this[_0x4f47e7(0x3db)](),this['_injector'][_0x4f47e7(0x39c)](ae,this[_0x4f47e7(0x2ce)],this[_0x4f47e7(0x192)],_0x208fb4[0x0],_0xe27765,this['_handler'],void 0x0);}throw _0x54c3c8[_0x4f47e7(0x129)];}throw _0x192b70[_0x4f47e7(0x129)];}catch(_0x268bf5){return this[_0x4f47e7(0x261)][_0x4f47e7(0x129)](_0x268bf5),this[_0x4f47e7(0x1dc)](!0x1);}}[_0x7e3d33(0x34b)](_0x522d56){var _0x5a4bdf=_0x7e3d33;if(this['_clearScheduledTask'](),this[_0x5a4bdf(0x38a)](_0x522d56))return this[_0x5a4bdf(0x1de)]['createInstance'](te,this[_0x5a4bdf(0x2ce)],this[_0x5a4bdf(0x192)],null,this[_0x5a4bdf(0x263)],this[_0x5a4bdf(0x185)],[],this[_0x5a4bdf(0x1df)]);this[_0x5a4bdf(0x340)]();const _0x1cfd2b=this[_0x5a4bdf(0x1de)][_0x5a4bdf(0x39c)](oe,this['unitID'],this[_0x5a4bdf(0x192)],this[_0x5a4bdf(0x263)],this[_0x5a4bdf(0x1df)]);return _0x1cfd2b[_0x5a4bdf(0x2e3)](),_0x1cfd2b[_0x5a4bdf(0x367)](),_0x1cfd2b;}[_0x7e3d33(0x24c)](_0x1e9b2f){var _0x295f4b=_0x7e3d33;return this[_0x295f4b(0x1dc)](!!(_0x1e9b2f!=null&&_0x1e9b2f[_0x295f4b(0x1a8)]));}['onRemoteRetry'](_0x4c2dea){var _0x3046fc=_0x7e3d33;return this[_0x3046fc(0x34f)]>Ni?this[_0x3046fc(0x281)]():(this[_0x3046fc(0x343)]=Oi(this[_0x3046fc(0x34f)],{'timeout':this[_0x3046fc(0x34f)],'reqId':_0x4c2dea[_0x3046fc(0x1ea)]}),this['_sender']=this['_resendTimer'][_0x3046fc(0x3d5)](({reqId:_0x320bff,timeout:_0x3c03e6})=>{var _0xd398e9=_0x3046fc;this[_0xd398e9(0x24e)](_0x320bff,_0x3c03e6);}),this);}[_0x7e3d33(0x281)](){var _0x4429db=_0x7e3d33;return this['_clearScheduledTask'](),this[_0x4429db(0x1de)][_0x4429db(0x39c)](fe,this[_0x4429db(0x2ce)],this['type'],this['_awaitingChangeset'],this[_0x4429db(0x263)],this[_0x4429db(0x1df)]);}[_0x7e3d33(0x1b3)](){return this;}['resend'](){var _0x385f32=_0x7e3d33;this[_0x385f32(0x1df)][_0x385f32(0x20f)](this[_0x385f32(0x185)]);}[_0x7e3d33(0x1dc)](_0x1e01f7){var _0x557370=_0x7e3d33;return this[_0x557370(0x3db)](),this['_injector'][_0x557370(0x39c)](de,this[_0x557370(0x2ce)],this[_0x557370(0x192)],null,this[_0x557370(0x263)],this[_0x557370(0x1df)],_0x1e01f7);}[_0x7e3d33(0x24e)](_0xe07ae4,_0x1d9f24){var _0x57abac=_0x7e3d33,_0x53dc05;_0xe07ae4===((_0x53dc05=this[_0x57abac(0x185)])==null?void 0x0:_0x53dc05[_0x57abac(0x1ea)])&&(this[_0x57abac(0x2b5)](),this['_resendTimeout']=_0x1d9f24===0x0?0x3e8:_0x1d9f24*0x2);}[_0x7e3d33(0x3db)](){var _0x5252df=_0x7e3d33,_0x17c765;(_0x17c765=this[_0x5252df(0x2d9)])==null||_0x17c765[_0x5252df(0x3e0)](),this[_0x5252df(0x34f)]=0x0;}};ae=Re([A(0x6,_0x46e7fc(_0x54c970)),A(0x7,_0x46e7fc(_0x316b6a)),A(0x8,_0x12a849),A(0x9,_0x3f2d03),A(0xa,_0x1b280a),A(0xb,_0x1c6bd2),A(0xc,_0x34330d(J))],ae);let de=class extends be{constructor(_0x3f08e9,_0x5565a2,_0x388e42,_0x1c9121,_0x2d6a85,_0x3889d8=!0x1,_0x51412f,_0xcf722d,_0x6f8814,_0x8f2d3e,_0x3712aa,_0x113d04,_0x116e82){var _0x2ac6b9=_0x7e3d33;super(_0x3f08e9,_0x5565a2,_0x388e42,_0x1c9121,_0x2d6a85,_0xcf722d,_0x6f8814,_0x8f2d3e,_0x116e82),N(this,_0x2ac6b9(0x25d),_0x2ac6b9(0x1d0)),(this['_isPermissionRej']=_0x3889d8,this[_0x2ac6b9(0x2a7)]=_0x51412f,this[_0x2ac6b9(0x150)]=_0x3712aa,this[_0x2ac6b9(0x162)]=_0x113d04,this['localCacheService']=_0x116e82,this[_0x2ac6b9(0x2b4)](),this['_clearLocalCache'](),this[_0x2ac6b9(0x3cc)]());}[_0x7e3d33(0x2ae)](){return this;}['onRemoteChangeset'](){return this;}[_0x7e3d33(0x34b)](){return this;}[_0x7e3d33(0x24c)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x7e3d33(0x1b3)](){return this;}[_0x7e3d33(0x2b5)](){var _0x542e88=_0x7e3d33;throw new Error(_0x542e88(0x34c));}[_0x7e3d33(0x21a)](){var _0x46d8e0=_0x7e3d33,_0x46cc0e;(_0x46cc0e=this[_0x46d8e0(0x305)])==null||_0x46cc0e[_0x46d8e0(0x2f8)](this[_0x46d8e0(0x2ce)],this[_0x46d8e0(0x192)],null,[]);}[_0x7e3d33(0x2b4)](){var _0x108ce6=_0x7e3d33;this[_0x108ce6(0x2a5)]?this['_collaborationUIEventService']['emitEvent']({'id':se[_0x108ce6(0x374)]}):this[_0x108ce6(0x162)]['emitEvent']({'id':se[_0x108ce6(0x3c9)]});}[_0x7e3d33(0x3cc)](){var _0x346492=_0x7e3d33;this['_permissionService'][_0x346492(0x267)](new _0x455e04(this[_0x346492(0x2ce)])['id'],!0x1);}};de=Re([A(0x6,_0x46e7fc(_0x4c05ea)),A(0x7,_0x12a849),A(0x8,_0x1c6bd2),A(0x9,_0x46e7fc(_0x316b6a)),A(0xa,_0x46e7fc(_0x826620)),A(0xb,_0x46e7fc(pe)),A(0xc,_0x34330d(J))],de);let fe=class extends be{constructor(_0x19310d,_0x3d5361,_0x179a22,_0x2e2867,_0x4a6abc,_0x4e26d4,_0x3849c8,_0x581cf2,_0x4c2167,_0x3f5aae){var _0x643813=_0x7e3d33;super(_0x19310d,_0x3d5361,_0x179a22,_0x2e2867,_0x4a6abc,_0x581cf2,_0x4c2167,_0x3849c8,_0x3f5aae),N(this,_0x643813(0x25d),_0x643813(0x251)),this[_0x643813(0x1de)]=_0x4e26d4;}['appendMutation'](_0x36280f){var _0x1906f4=_0x7e3d33;return this[_0x1906f4(0x263)]['push'](_0x36280f),this[_0x1906f4(0x367)](),this;}[_0x7e3d33(0x21e)](_0x1803e0){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x7e3d33(0x34b)](){var _0xd52a1f=_0x7e3d33;throw new Error(_0xd52a1f(0x2e7));}[_0x7e3d33(0x24c)](){var _0x4e0de6=_0x7e3d33;throw new Error(_0x4e0de6(0x2b2));}[_0x7e3d33(0x155)](){return this;}[_0x7e3d33(0x281)](){return this;}[_0x7e3d33(0x1b3)](){var _0x5aa68d=_0x7e3d33;const {_injector:_0x5e2689,_pendingMutations:_0x352a12,_awaitingChangeset:_0x322454,unitID:_0x3fea66,_handler:_0x339c80,type:_0x2260e2}=this,_0x22ed19=Di(_0x5e2689,_0x3fea66,_0x2260e2,_0x322454,_0x352a12,_0x339c80);return _0x22ed19 instanceof oe?_0x22ed19[_0x5aa68d(0x2e3)]():(_0x22ed19 instanceof ae||_0x22ed19 instanceof ue)&&_0x22ed19[_0x5aa68d(0x2b5)](),_0x22ed19;}[_0x7e3d33(0x2b5)](){var _0x53f28f=_0x7e3d33;throw new Error(_0x53f28f(0x1f0));}};fe=Re([A(0x5,_0x46e7fc(_0x54c970)),A(0x6,_0x46e7fc(_0x316b6a)),A(0x7,_0x12a849),A(0x8,_0x1c6bd2),A(0x9,_0x34330d(J))],fe);let te=class extends be{constructor(_0x3c7f47,_0x4ebde1,_0x5f2b42,_0xf6612,_0x205219,_0x4e5dc,_0x4ee3ea,_0x543dd6,_0x1d4245,_0x233fea,_0x5dce79,_0x3cf243,_0x4e1a69,_0x3f1bad){var _0x5e8559=_0x7e3d33;super(_0x3c7f47,_0x4ebde1,_0x5f2b42,_0xf6612,_0x4ee3ea,_0x5dce79,_0x3cf243,_0x1d4245,_0x3f1bad),N(this,_0x5e8559(0x25d),_0x5e8559(0x2cb)),(this[_0x5e8559(0x296)]=_0x205219,this['_queuedRemoteChangesets']=_0x4e5dc,this[_0x5e8559(0x1de)]=_0x543dd6,this[_0x5e8559(0x261)]=_0x233fea,this[_0x5e8559(0x2e9)]=_0x4e1a69,this[_0x5e8559(0x14f)]=_0x3f1bad);}[_0x7e3d33(0x259)](_0x1a4427){var _0x1a959b=_0x7e3d33;try{const _0x2db8cc=[..._0x1a4427,...this[_0x1a959b(0x18e)]],_0xf81c3e=[this[_0x1a959b(0x185)]||this[_0x1a959b(0x296)]][_0x1a959b(0x15f)](_0x3bddcc=>!!_0x3bddcc);let _0x3f9b4e,_0x256fd5;if(_0xf81c3e['length']){const _0x19848e=this[_0x1a959b(0x2e9)][_0x1a959b(0x25f)](_0x2db8cc,_0xf81c3e,!0x1);if(!_0x147682(_0x19848e))throw _0x19848e[_0x1a959b(0x129)];_0x3f9b4e=_0x19848e[_0x1a959b(0x20a)],_0x256fd5=_0x19848e[_0x1a959b(0x295)];}else _0x3f9b4e=_0x2db8cc,_0x256fd5=[];let _0x4d74d5=this[_0x1a959b(0x263)];_0x3f9b4e[_0x1a959b(0x28a)](_0xc4e5f3=>{var _0x108a74=_0x1a959b;let _0x3f8884;if(_0x4d74d5[_0x108a74(0x255)]){const _0x9c31ed=this[_0x108a74(0x2e9)]['transformMutationsWithChangeset'](_0xc4e5f3,_0x4d74d5);if(!_0x4496a3(_0x9c31ed))throw _0x9c31ed['error'];_0x3f8884=_0x9c31ed['c1Prime'],_0x4d74d5=_0x9c31ed[_0x108a74(0x40f)];}else _0x3f8884=_0xc4e5f3;this[_0x108a74(0x125)](_0x3f8884);}),this[_0x1a959b(0x296)]&&this[_0x1a959b(0x340)](),this['_awaitingChangeset']&&_0x256fd5[_0x1a959b(0x255)]&&(_0x256fd5[0x0][_0x1a959b(0x149)]=this[_0x1a959b(0x140)]());let _0x3e716f;if(this['_awaitingChangeset']&&_0x4d74d5[_0x1a959b(0x255)]!==0x0)_0x3e716f=this[_0x1a959b(0x1de)][_0x1a959b(0x39c)](ae,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],_0x256fd5[0x0],_0x4d74d5,this[_0x1a959b(0x1df)],void 0x0);else{if(this[_0x1a959b(0x185)]&&_0x4d74d5['length']===0x0)_0x256fd5[0x0][_0x1a959b(0x149)]=this[_0x1a959b(0x140)](),_0x3e716f=this[_0x1a959b(0x1de)]['createInstance'](ue,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],_0x256fd5[0x0],this[_0x1a959b(0x1df)]);else{if(_0x4d74d5['length']!==0x0){const _0x29d51b=this[_0x1a959b(0x1de)][_0x1a959b(0x39c)](oe,this['unitID'],this[_0x1a959b(0x192)],_0x4d74d5,this[_0x1a959b(0x1df)]);_0x29d51b[_0x1a959b(0x2e3)](),_0x3e716f=_0x29d51b;}else _0x3e716f=this[_0x1a959b(0x1de)][_0x1a959b(0x39c)](De,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],this[_0x1a959b(0x1df)]);}}return _0x3e716f['_updateLocalCache'](),_0x3e716f;}catch(_0x59d858){return this[_0x1a959b(0x261)]['error'](_0x1a959b(0x395),_0x1a959b(0x184),_0x59d858),this[_0x1a959b(0x1de)]['createInstance'](de,this[_0x1a959b(0x2ce)],this[_0x1a959b(0x192)],this[_0x1a959b(0x185)],this[_0x1a959b(0x263)],this[_0x1a959b(0x1df)],!0x1);}}[_0x7e3d33(0x2b5)](){var _0x133eab=_0x7e3d33;throw new Error(_0x133eab(0x359));}[_0x7e3d33(0x2ae)](_0x2f2686){var _0x2a021=_0x7e3d33;return this[_0x2a021(0x263)][_0x2a021(0x399)](_0x2f2686),this;}[_0x7e3d33(0x21e)](_0x465e05){return this['_queuedRemoteChangesets']['push'](_0x465e05),this;}[_0x7e3d33(0x34b)](_0xc16d42){var _0x141bae=_0x7e3d33;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x141bae(0x185)],this[_0x141bae(0x185)]=null,this;throw new Error(_0x141bae(0x1ed));}[_0x7e3d33(0x24c)](_0x1907b5){var _0x2e8e67=_0x7e3d33;return this['_onConflict'](!!(_0x1907b5!=null&&_0x1907b5[_0x2e8e67(0x1a8)]));}[_0x7e3d33(0x155)](){return this;}[_0x7e3d33(0x281)](){var _0x2466d3=_0x7e3d33;return this[_0x2466d3(0x1de)]['createInstance'](fe,this[_0x2466d3(0x2ce)],this['type'],this['_awaitingChangeset'],this[_0x2466d3(0x263)],this[_0x2466d3(0x1df)]);}['toggleOnline'](){return this;}[_0x7e3d33(0x1dc)](_0x373029){var _0x391530=_0x7e3d33;return this[_0x391530(0x1de)]['createInstance'](de,this[_0x391530(0x2ce)],this[_0x391530(0x192)],this[_0x391530(0x185)],this[_0x391530(0x263)],this[_0x391530(0x1df)],_0x373029);}};te=Re([A(0x7,_0x46e7fc(_0x54c970)),A(0x8,_0x46e7fc(_0x316b6a)),A(0x9,_0x3f2d03),A(0xa,_0x12a849),A(0xb,_0x1c6bd2),A(0xc,_0x1b280a),A(0xd,_0x34330d(J))],te);function Di(_0x4c3c22,_0x2d0f79,_0x36524e,_0x32c398,_0x298c69,_0x5efab6){var _0x33146d=_0x7e3d33;return _0x32c398&&_0x298c69[_0x33146d(0x255)]?_0x4c3c22[_0x33146d(0x39c)](ae,_0x2d0f79,_0x36524e,_0x32c398,_0x298c69,_0x5efab6,void 0x0):_0x32c398?_0x4c3c22[_0x33146d(0x39c)](ue,_0x2d0f79,_0x36524e,_0x32c398,_0x5efab6):_0x298c69['length']?_0x4c3c22[_0x33146d(0x39c)](oe,_0x2d0f79,_0x36524e,_0x298c69,_0x5efab6):_0x4c3c22[_0x33146d(0x39c)](De,_0x2d0f79,_0x36524e,_0x5efab6);}var vr=Object[_0x7e3d33(0x349)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x3c7283,_0x472553,_0x28650b,_0x4ffb7e)=>{for(var _0x25dc46=_0x4ffb7e>0x1?void 0x0:_0x4ffb7e?pr(_0x472553,_0x28650b):_0x472553,_0x643d71=_0x3c7283['length']-0x1,_0x2bf1ac;_0x643d71>=0x0;_0x643d71--)(_0x2bf1ac=_0x3c7283[_0x643d71])&&(_0x25dc46=(_0x4ffb7e?_0x2bf1ac(_0x472553,_0x28650b,_0x25dc46):_0x2bf1ac(_0x25dc46))||_0x25dc46);return _0x4ffb7e&&_0x25dc46&&vr(_0x472553,_0x28650b,_0x25dc46),_0x25dc46;},k=(_0x55ef3b,_0x2cd5bb)=>(_0x4aaa5e,_0x3c47bc)=>_0x2cd5bb(_0x4aaa5e,_0x3c47bc,_0x55ef3b);function _0x3515(_0x211add,_0x1aa6b7){var _0x2fdcd2=_0x2fdc();return _0x3515=function(_0x3515ad,_0x1947e9){_0x3515ad=_0x3515ad-0x11e;var _0x413c54=_0x2fdcd2[_0x3515ad];return _0x413c54;},_0x3515(_0x211add,_0x1aa6b7);}let nt=class extends _0x2a0262{constructor(_0x1e2be2,_0x35cc25,_0xfc0c9,_0x4b3269,_0x596b8a,_0x420832,_0x5ec8d8,_0x2a0006,_0x748090,_0x3c26ea,_0x523379,_0x317a1c,_0x73d8ec){var _0x328c16=_0x7e3d33;super(),N(this,'_state$',new _0x33cf72(null)),N(this,_0x328c16(0x3b5),this[_0x328c16(0x24d)][_0x328c16(0x2b7)]()),N(this,_0x328c16(0x165)),N(this,_0x328c16(0x3fe),!0x1),N(this,'_changesetSessionId',''),N(this,_0x328c16(0x1f4),0x0),N(this,_0x328c16(0x3a8),this[_0x328c16(0x3b5)][_0x328c16(0x3ff)](_0x2db126(_0x23d6e9=>_0x23d6e9?_0x23d6e9[_0x328c16(0x25d)]:yi[_0x328c16(0x3eb)]),_0x5e7865(0x1))),N(this,_0x328c16(0x3f1),!0x1),N(this,_0x328c16(0x2da),[]),(this['unitID']=_0x1e2be2,this['session']=_0x35cc25,this[_0x328c16(0x2bb)]=_0xfc0c9,this[_0x328c16(0x1de)]=_0x4b3269,this['_compressMutationService']=_0x596b8a,this['_localeService']=_0x420832,this[_0x328c16(0x293)]=_0x5ec8d8,this[_0x328c16(0x2ba)]=_0x2a0006,this['_logService']=_0x748090,this[_0x328c16(0x283)]=_0x3c26ea,this[_0x328c16(0x2a7)]=_0x523379,this['_singleActiveUnitService']=_0x317a1c,this[_0x328c16(0x305)]=_0x73d8ec);}get[_0x7e3d33(0x16f)](){return this['_state'];}async[_0x7e3d33(0x301)](){var _0x433b1b=_0x7e3d33;if(this[_0x433b1b(0x16f)])throw new Error(_0x433b1b(0x272));await this[_0x433b1b(0x2c4)]();}[_0x7e3d33(0x188)](){var _0x21154c=_0x7e3d33;return this[_0x21154c(0x3fe)]=!0x0,_0x576ef6(()=>{var _0x402005=_0x21154c;this[_0x402005(0x3fe)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x4433b2){var _0x1508ff=_0x7e3d33;this[_0x1508ff(0x41f)](_0x4433b2);}[_0x7e3d33(0x2c7)](_0x2f69a0){var _0x24efca=_0x7e3d33;this['_state']=_0x2f69a0,this[_0x24efca(0x24d)][_0x24efca(0x18a)](_0x2f69a0);}async[_0x7e3d33(0x2c4)](){var _0x3dc9c1=_0x7e3d33,_0x244dd7;this[_0x3dc9c1(0x2c7)](await this[_0x3dc9c1(0x27b)]()),this[_0x3dc9c1(0x178)]&&((_0x244dd7=this[_0x3dc9c1(0x178)])==null||_0x244dd7[_0x3dc9c1(0x195)](this[_0x3dc9c1(0x2ce)]),this[_0x3dc9c1(0x2c2)](this[_0x3dc9c1(0x178)][_0x3dc9c1(0x3a5)](this[_0x3dc9c1(0x2ce)])[_0x3dc9c1(0x3d5)](_0x4a3f65=>{var _0x1a0d5e=_0x3dc9c1;this['_logService']['debug']('[CollaborationEntity]',_0x1a0d5e(0x3ac),_0x4a3f65),_0x4a3f65===bi[_0x1a0d5e(0x2e6)]?(this['_eventService']['emitEvent']({'id':se[_0x1a0d5e(0x237)]}),this['_permissionService'][_0x1a0d5e(0x267)](new _0x455e04(this[_0x1a0d5e(0x2ce)])['id'],!0x1),this[_0x1a0d5e(0x2a7)][_0x1a0d5e(0x2db)](!0x1)):(this[_0x1a0d5e(0x2a7)][_0x1a0d5e(0x267)](new _0x455e04(this[_0x1a0d5e(0x2ce)])['id'],!0x0),this[_0x1a0d5e(0x2a7)]['setShowComponents'](!0x0));})));let _0x4ad25b=!0x1;return this[_0x3dc9c1(0x2c2)](this[_0x3dc9c1(0x3e3)][_0x3dc9c1(0x298)][_0x3dc9c1(0x3d5)](_0x53901f=>{var _0xdb9379=_0x3dc9c1;_0x53901f===Te[_0xdb9379(0x385)]?this[_0xdb9379(0x2de)](_0x4ad25b):_0x53901f===Te[_0xdb9379(0x3eb)]&&(_0x4ad25b=!0x0,this[_0xdb9379(0x1bd)]());})),this[_0x3dc9c1(0x2c2)](this[_0x3dc9c1(0x3e3)][_0x3dc9c1(0x37f)][_0x3dc9c1(0x3d5)](_0x3d6d7f=>{var _0x31d50e=_0x3dc9c1;try{switch(_0x3d6d7f[_0x31d50e(0x215)]){case _0x180571[_0x31d50e(0x18c)]:{this[_0x31d50e(0x16c)](_0x247b21(_0x3d6d7f[_0x31d50e(0x248)]));break;}case _0x180571['CHANGESET_ACK']:{this[_0x31d50e(0x1af)](_0x3d6d7f[_0x31d50e(0x248)]);break;}case _0x180571[_0x31d50e(0x380)]:{this['_onRemoteRejected']();break;}case _0x180571[_0x31d50e(0x123)]:{this[_0x31d50e(0x218)](_0x3d6d7f[_0x31d50e(0x248)]);break;}case _0x180571['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x3d6d7f[_0x31d50e(0x248)]['changesets'][_0x31d50e(0x1e3)](_0x2387dd=>_0x247b21(_0x2387dd)));break;}case _0x180571['PERMISSION_REJ']:{this[_0x31d50e(0x246)]({'isPermissionRej':!0x0});break;}case _0x180571[_0x31d50e(0x403)]:break;}}catch(_0x1348dd){throw console['error'](_0x31d50e(0x222),_0x1348dd),_0x1348dd;}})),this['_state'];}[_0x7e3d33(0x3f7)](){var _0x252a9d=_0x7e3d33;this[_0x252a9d(0x3f1)]=!0x1;}[_0x7e3d33(0x316)](){var _0x1fb337=_0x7e3d33;if(this['_transitionLocked'])throw new Error(_0x1fb337(0x291));this['_transitionLocked']=!0x0;}[_0x7e3d33(0x41f)](_0x34299c){var _0xb01e14=_0x7e3d33;this[_0xb01e14(0x316)](),this[_0xb01e14(0x2c7)](this[_0xb01e14(0x165)]['appendMutation'](_0x34299c)),this[_0xb01e14(0x3f7)]();}[_0x7e3d33(0x16c)](_0x135843){var _0x3a5908=_0x7e3d33;if(!(_0x135843['revision']<=this[_0x3a5908(0x293)][_0x3a5908(0x2cd)](this[_0x3a5908(0x2ce)]))){if(this[_0x3a5908(0x3fe)]){this['_remoteChangesetQueue'][_0x3a5908(0x399)](_0x135843);return;}this[_0x3a5908(0x3c1)](_0x135843);}}[_0x7e3d33(0x2bd)](){var _0x3bea4f=_0x7e3d33;this['_remoteChangesetQueue'][_0x3bea4f(0x28a)](_0x411bd5=>this[_0x3bea4f(0x3c1)](_0x411bd5)),this[_0x3bea4f(0x2da)]=[];}[_0x7e3d33(0x3c1)](_0x3ee459){var _0x6d1a74=_0x7e3d33;const _0x201ad5=this[_0x6d1a74(0x315)][_0x6d1a74(0x14c)][_0x6d1a74(0x1b8)](this['_compressMutationService'][_0x6d1a74(0x14c)][_0x6d1a74(0x18b)]()['COMPRESS_MUTATION_APPLY'])(_0x3ee459[_0x6d1a74(0x1f9)],null)||_0x3ee459[_0x6d1a74(0x1f9)],_0x32482d={..._0x3ee459,'mutations':_0x201ad5};this[_0x6d1a74(0x316)](),this[_0x6d1a74(0x2c7)](this[_0x6d1a74(0x165)][_0x6d1a74(0x21e)](_0x32482d)),this[_0x6d1a74(0x3f7)]();}[_0x7e3d33(0x1af)](_0x37f06d){var _0x112fb8=_0x7e3d33;this[_0x112fb8(0x316)](),this[_0x112fb8(0x2c7)](this[_0x112fb8(0x165)][_0x112fb8(0x34b)](_0x37f06d)),this[_0x112fb8(0x3f7)]();}[_0x7e3d33(0x246)](_0x1d5439){var _0x562b00=_0x7e3d33;this[_0x562b00(0x316)](),this[_0x562b00(0x2c7)](this['_state'][_0x562b00(0x24c)](_0x1d5439)),this[_0x562b00(0x3f7)]();}['_onRemoteRetry'](_0x23aed2){var _0x156d06=_0x7e3d33;this[_0x156d06(0x316)](),this[_0x156d06(0x2c7)](this['_state']['onRemoteRetry'](_0x23aed2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x4ab8ec){var _0x1f1a98=_0x7e3d33;if(!(this['_state']instanceof te))throw new TypeError(_0x1f1a98(0x3b7));const _0x5e8d33=_0x4ab8ec[_0x1f1a98(0x1e3)](_0x51c50c=>{var _0x3359af=_0x1f1a98;const _0x443c7f=this[_0x3359af(0x315)][_0x3359af(0x14c)][_0x3359af(0x1b8)](this[_0x3359af(0x315)][_0x3359af(0x14c)][_0x3359af(0x18b)]()[_0x3359af(0x254)])(_0x51c50c['mutations'],null)||_0x51c50c['mutations'];return{..._0x51c50c,'mutations':_0x443c7f};});this[_0x1f1a98(0x316)](),this['_updateState'](this['_state'][_0x1f1a98(0x259)](_0x5e8d33)),this[_0x1f1a98(0x3f7)]();}['_toggleOffline'](){var _0x2e2986=_0x7e3d33;this[_0x2e2986(0x316)](),this['_updateState'](this[_0x2e2986(0x165)][_0x2e2986(0x281)]()),this[_0x2e2986(0x3f7)]();}['_toggleOnline'](_0x10cc42=!0x1){var _0xc5d3eb=_0x7e3d33;this['_lockTransition'](),this['_updateState'](this[_0xc5d3eb(0x165)][_0xc5d3eb(0x1b3)]()),this[_0xc5d3eb(0x3f7)]();const _0x5a35f6=this[_0xc5d3eb(0x165)];_0x10cc42&&_0x5a35f6 instanceof De&&(this[_0xc5d3eb(0x316)](),this[_0xc5d3eb(0x2c7)](_0x5a35f6[_0xc5d3eb(0x29f)]()),this[_0xc5d3eb(0x3f7)]());}async[_0x7e3d33(0x27b)](){return new Promise(_0x19e8a4=>{var _0x1f7f57=_0x3515;this[_0x1f7f57(0x3e3)][_0x1f7f57(0x298)][_0x1f7f57(0x3ff)](_0x22a28b(0x1))[_0x1f7f57(0x3d5)](async _0x32cd16=>{var _0x49d75b=_0x1f7f57;_0x19e8a4(await this[_0x49d75b(0x208)](_0x32cd16===Te['ONLINE']));});});}['_createHandler'](){const _0x2a46c9=this['unitID'];return{'onStateChange':(_0x36eebd,_0x1f185f)=>{var _0x43c981=_0x3515;if(_0x36eebd!==this[_0x43c981(0x165)])throw new Error(_0x43c981(0x1db)+_0x36eebd['status']+_0x43c981(0x244)+_0x1f185f['status']+_0x43c981(0x1b0)+this[_0x43c981(0x165)][_0x43c981(0x25d)]);this[_0x43c981(0x2c7)](_0x1f185f);},'onSendChangeset':_0x4ca860=>{var _0x2b6508=_0x3515;_0x4ca860[_0x2b6508(0x3d2)]||(_0x4ca860[_0x2b6508(0x3d2)]=this[_0x2b6508(0x3b2)],_0x4ca860[_0x2b6508(0x1ea)]=++this[_0x2b6508(0x1f4)]);const _0x3e7382={'eventID':_0x180571['SUBMIT_CHANGESET'],'data':{'unitID':_0x4ca860[_0x2b6508(0x2ce)],'unitType':this[_0x2b6508(0x2bb)],'changeset':_0x4ca860,'memberID':this[_0x2b6508(0x3e3)][_0x2b6508(0x3a2)]()}};this[_0x2b6508(0x3e3)][_0x2b6508(0x2f3)](_0x3e7382,this[_0x2b6508(0x2ce)]);},'onMissingChangesets':({from:_0x41ce9b,to:_0x26f4b7})=>{var _0x6a57ff=_0x3515;this['_logService'][_0x6a57ff(0x2e4)](_0x6a57ff(0x148),'fetching\x20missing\x20changesets\x20from\x20'+_0x41ce9b+_0x6a57ff(0x3be)+_0x26f4b7);const _0x508f54={'eventID':_0x180571[_0x6a57ff(0x397)],'data':{'unitID':_0x2a46c9,'unitType':this[_0x6a57ff(0x2bb)],'from':_0x41ce9b,'to':_0x26f4b7}};this[_0x6a57ff(0x3e3)][_0x6a57ff(0x2f3)](_0x508f54,this['unitID']);}};}async[_0x7e3d33(0x208)](_0x4425d4){var _0x3757c6=_0x7e3d33,_0x5e2e39,_0x1d4b67,_0x372077;const _0x2c00a6=await((_0x5e2e39=this[_0x3757c6(0x305)])==null?void 0x0:_0x5e2e39[_0x3757c6(0x2a2)](this[_0x3757c6(0x2ce)])),_0x27da1e=(_0x1d4b67=_0x2c00a6==null?void 0x0:_0x2c00a6[_0x3757c6(0x1f9)])!=null?_0x1d4b67:[],_0x43c326=(_0x372077=_0x2c00a6==null?void 0x0:_0x2c00a6[_0x3757c6(0x418)])!=null?_0x372077:null,_0x2713d5=!!(_0x43c326!=null&&_0x43c326['sid'])&&!!(_0x43c326!=null&&_0x43c326[_0x3757c6(0x1ea)]);this[_0x3757c6(0x3b2)]=_0x2713d5?_0x43c326[_0x3757c6(0x3d2)]:sr(),this[_0x3757c6(0x1f4)]=_0x2713d5?_0x43c326[_0x3757c6(0x1ea)]:0x0;const _0x56621f=this[_0x3757c6(0x2ce)];try{this[_0x3757c6(0x12b)](_0x43c326,_0x27da1e);}catch(_0x1d7c13){this[_0x3757c6(0x261)]['error'](_0x1d7c13);}const _0x67b73c=this[_0x3757c6(0x3aa)]();if(_0x4425d4){const _0x26da1f=Di(this[_0x3757c6(0x1de)],_0x56621f,this[_0x3757c6(0x2bb)],_0x43c326,_0x27da1e,_0x67b73c);return _0x26da1f instanceof oe?_0x26da1f[_0x3757c6(0x2e3)]():(_0x26da1f instanceof ae||_0x26da1f instanceof ue)&&_0x26da1f[_0x3757c6(0x2b5)](),_0x26da1f;}return this['_injector'][_0x3757c6(0x39c)](fe,_0x56621f,this[_0x3757c6(0x2bb)],_0x43c326,_0x27da1e,_0x67b73c);}['_replayCachedMutations'](_0x167f8f,_0x5e2a27){var _0x35cf13=_0x7e3d33,_0x4003d7,_0x4d8120;const _0x1f44c1=this['_compressMutationService'][_0x35cf13(0x14c)][_0x35cf13(0x1b8)](this[_0x35cf13(0x315)][_0x35cf13(0x14c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x4003d7=_0x1f44c1((_0x167f8f==null?void 0x0:_0x167f8f[_0x35cf13(0x1f9)])||[],null))==null||_0x4003d7['forEach'](_0xfd080b=>this[_0x35cf13(0x283)][_0x35cf13(0x2ec)](_0xfd080b['id'],_0xfd080b[_0x35cf13(0x408)])),(_0x4d8120=_0x1f44c1(_0x5e2a27||[],null))==null||_0x4d8120['forEach'](_0x17705a=>this[_0x35cf13(0x283)][_0x35cf13(0x2ec)](_0x17705a['id'],_0x17705a[_0x35cf13(0x408)]));}};nt=Lt([k(0x3,_0x46e7fc(_0x54c970)),k(0x4,_0x46e7fc(_0x3dcca9)),k(0x5,_0x46e7fc(_0x826620)),k(0x6,_0x46e7fc(_0x316b6a)),k(0x7,_0x46e7fc(pe)),k(0x8,_0x3f2d03),k(0x9,_0x12a849),k(0xa,_0x4c05ea),k(0xb,_0x34330d(ht)),k(0xc,_0x34330d(J))],nt);let Tt=class extends nt{constructor(_0x5e982c,_0x2790bb,_0xf892aa,_0x33c27e,_0x424b33,_0x2ce29f,_0x784cab,_0x1ccb1c,_0x327da5,_0x74726a,_0x3bead3,_0x1364b1,_0x24b7b0){var _0xaff048=_0x7e3d33;super(_0x5e982c,_0xf892aa,_0x2790bb,_0x33c27e,_0x424b33,_0x2ce29f,_0x784cab,_0x1ccb1c,_0x327da5,_0x74726a,_0x3bead3,_0x1364b1,_0x24b7b0),N(this,_0xaff048(0x1fa),null),(this['unitID']=_0x5e982c,this['type']=_0x2790bb);}['addHandlerCallback'](_0x3b3044){var _0xdc98b4=_0x7e3d33;this[_0xdc98b4(0x1fa)]=_0x3b3044;}[_0x7e3d33(0x135)](){var _0x219f2a=_0x7e3d33;this[_0x219f2a(0x1fa)]=null,super[_0x219f2a(0x135)]();}['_createHandler'](){var _0x37ca72=_0x7e3d33;const _0x54ef19=super['_createHandler']();return _0x54ef19['onTransformIME']=_0x48da4d=>{var _0x1a1676=_0x3515,_0x529022,_0x13f200;return(_0x13f200=(_0x529022=this[_0x1a1676(0x1fa)])==null?void 0x0:_0x529022[_0x1a1676(0x245)])==null?void 0x0:_0x13f200['call'](_0x529022,_0x48da4d);},_0x54ef19[_0x37ca72(0x277)]=_0x949c8e=>{var _0x38a5a3=_0x37ca72,_0x531829,_0x49246e;return(_0x49246e=(_0x531829=this[_0x38a5a3(0x1fa)])==null?void 0x0:_0x531829[_0x38a5a3(0x277)])==null?void 0x0:_0x49246e[_0x38a5a3(0x33e)](_0x531829,_0x949c8e);},_0x54ef19[_0x37ca72(0x32e)]=_0x1f4446=>{var _0x55b7da=_0x37ca72,_0x7ccbd0,_0x1114e5;return(_0x1114e5=(_0x7ccbd0=this['_handlerCallback'])==null?void 0x0:_0x7ccbd0[_0x55b7da(0x32e)])==null?void 0x0:_0x1114e5[_0x55b7da(0x33e)](_0x7ccbd0,_0x1f4446);},_0x54ef19[_0x37ca72(0x326)]=_0x4beac7=>{var _0x15eed3=_0x37ca72,_0x4ee9f4,_0x48f5a2;return(_0x48f5a2=(_0x4ee9f4=this[_0x15eed3(0x1fa)])==null?void 0x0:_0x4ee9f4['onSyncEditingCollabCursor'])==null?void 0x0:_0x48f5a2[_0x15eed3(0x33e)](_0x4ee9f4,_0x4beac7);},_0x54ef19[_0x37ca72(0x262)]=_0x535f63=>{var _0xe62f45=_0x37ca72,_0x59368e,_0x2420d8,_0x537b6a;if(!((_0x59368e=this[_0xe62f45(0x1fa)])!=null&&_0x59368e['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x537b6a=(_0x2420d8=this['_handlerCallback'])==null?void 0x0:_0x2420d8[_0xe62f45(0x262)])==null?void 0x0:_0x537b6a[_0xe62f45(0x33e)](_0x2420d8,_0x535f63);},_0x54ef19[_0x37ca72(0x3ca)]=_0x5c4236=>{var _0x1a5758=_0x37ca72,_0x457808,_0x4079ea,_0x1c218b;if(!((_0x457808=this[_0x1a5758(0x1fa)])!=null&&_0x457808[_0x1a5758(0x3ca)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1c218b=(_0x4079ea=this[_0x1a5758(0x1fa)])==null?void 0x0:_0x4079ea[_0x1a5758(0x3ca)])==null?void 0x0:_0x1c218b[_0x1a5758(0x33e)](_0x4079ea,_0x5c4236);},_0x54ef19;}async[_0x7e3d33(0x2c4)](){var _0x563742=_0x7e3d33;const _0x531cb9=await super[_0x563742(0x2c4)]();return this[_0x563742(0x2c2)](this[_0x563742(0x283)][_0x563742(0x175)]((_0x346bb,_0x1ec8c5)=>{var _0x2f239c=_0x563742;if(_0x346bb[_0x2f239c(0x192)]!==_0x42d9bc[_0x2f239c(0x1e1)]||_0x1ec8c5!=null&&_0x1ec8c5['fromCollab']||_0x1ec8c5!=null&&_0x1ec8c5[_0x2f239c(0x1be)]||_0x346bb['id']===_0x28d6ae['id'])return;const _0x149c98=_0x346bb[_0x2f239c(0x408)];if((_0x149c98==null?void 0x0:_0x149c98[_0x2f239c(0x169)])!==this['unitID'])return;const _0x43367f=_0x346bb,_0x40d5e9=this[_0x2f239c(0x315)][_0x2f239c(0x14c)][_0x2f239c(0x1b8)](this[_0x2f239c(0x315)]['interceptor'][_0x2f239c(0x18b)]()[_0x2f239c(0x2b3)])([_0x43367f],null)||[_0x43367f];this[_0x2f239c(0x41f)](_0x40d5e9[0x0]);})),_0x531cb9;}};Tt=Lt([k(0x3,_0x46e7fc(_0x54c970)),k(0x4,_0x46e7fc(_0x3dcca9)),k(0x5,_0x46e7fc(_0x826620)),k(0x6,_0x46e7fc(_0x316b6a)),k(0x7,_0x46e7fc(pe)),k(0x8,_0x3f2d03),k(0x9,_0x12a849),k(0xa,_0x4c05ea),k(0xb,_0x34330d(ht)),k(0xc,_0x34330d(J))],Tt);let Ct=class extends nt{constructor(_0x4d33db,_0x4de439,_0x450aad,_0x4f9e40,_0x42f9cd,_0x42cfc0,_0x16fb99,_0x42ab8b,_0x511177,_0x1e25ac,_0x39200a,_0x4c9f4d,_0x1291e2,_0x4a6e57){var _0x2923f0=_0x7e3d33;super(_0x4d33db,_0x450aad,_0x4de439,_0x4f9e40,_0x42f9cd,_0x42cfc0,_0x16fb99,_0x511177,_0x1e25ac,_0x39200a,_0x4c9f4d,_0x1291e2,_0x4a6e57),this[_0x2923f0(0x2ce)]=_0x4d33db,this[_0x2923f0(0x192)]=_0x4de439,this[_0x2923f0(0x1e5)]=_0x42ab8b;}[_0x7e3d33(0x3aa)](){var _0x268fd9=_0x7e3d33;const _0xc1ed03=super[_0x268fd9(0x3aa)]();return _0xc1ed03[_0x268fd9(0x32e)]=_0x187073=>this[_0x268fd9(0x1e5)][_0x268fd9(0x144)](_0x187073),_0xc1ed03;}async[_0x7e3d33(0x2c4)](){var _0x1895a0=_0x7e3d33;const _0x1fce53=await super[_0x1895a0(0x2c4)]();return this[_0x1895a0(0x2c2)](this[_0x1895a0(0x283)][_0x1895a0(0x175)]((_0x5e6f9c,_0x139078)=>{var _0x5d9c5a=_0x1895a0;if(_0x5e6f9c[_0x5d9c5a(0x192)]!==_0x42d9bc[_0x5d9c5a(0x1e1)]||_0x139078!=null&&_0x139078[_0x5d9c5a(0x3df)]||_0x139078!=null&&_0x139078[_0x5d9c5a(0x1be)])return;const _0x21a769=_0x5e6f9c['params'];if((_0x21a769==null?void 0x0:_0x21a769[_0x5d9c5a(0x169)])!==this[_0x5d9c5a(0x2ce)])return;const _0x13eeb4=_0x5e6f9c,_0x77777f=this[_0x5d9c5a(0x315)][_0x5d9c5a(0x14c)]['fetchThroughInterceptors'](this[_0x5d9c5a(0x315)]['interceptor'][_0x5d9c5a(0x18b)]()[_0x5d9c5a(0x2b3)])([_0x13eeb4],null)||[_0x13eeb4];this['_onLocalMutation'](_0x77777f[0x0]);})),_0x1fce53;}};Ct=Lt([k(0x3,_0x46e7fc(_0x54c970)),k(0x4,_0x46e7fc(_0x3dcca9)),k(0x5,_0x46e7fc(_0x826620)),k(0x6,_0x46e7fc(_0x316b6a)),k(0x7,_0x46e7fc(it)),k(0x8,_0x46e7fc(pe)),k(0x9,_0x3f2d03),k(0xa,_0x12a849),k(0xb,_0x4c05ea),k(0xc,_0x34330d(ht)),k(0xd,_0x34330d(J))],Ct);var mr=Object[_0x7e3d33(0x349)],gr=Object[_0x7e3d33(0x31d)],Sr=(_0x47fff6,_0x1f3f7d,_0x4d2089,_0x8dc6d4)=>{var _0x50287c=_0x7e3d33;for(var _0x30babd=_0x8dc6d4>0x1?void 0x0:_0x8dc6d4?gr(_0x1f3f7d,_0x4d2089):_0x1f3f7d,_0x187fa8=_0x47fff6[_0x50287c(0x255)]-0x1,_0x470b15;_0x187fa8>=0x0;_0x187fa8--)(_0x470b15=_0x47fff6[_0x187fa8])&&(_0x30babd=(_0x8dc6d4?_0x470b15(_0x1f3f7d,_0x4d2089,_0x30babd):_0x470b15(_0x30babd))||_0x30babd);return _0x8dc6d4&&_0x30babd&&mr(_0x1f3f7d,_0x4d2089,_0x30babd),_0x30babd;},ft=(_0xc6796f,_0x411337)=>(_0x2e7cf6,_0x59989b)=>_0x411337(_0x2e7cf6,_0x59989b,_0xc6796f);let rt=class extends _0x2a0262{constructor(_0x3c3653,_0x53e698,_0x3bca5e){var _0x90a4af=_0x7e3d33;super(),N(this,_0x90a4af(0x193),new Map()),N(this,'_entityInit$',new _0x5a35c2()),N(this,_0x90a4af(0x1c3),this[_0x90a4af(0x26a)]['asObservable']()),(this[_0x90a4af(0x1de)]=_0x3c3653,this[_0x90a4af(0x34e)]=_0x53e698,this[_0x90a4af(0x12d)]=_0x3bca5e,this[_0x90a4af(0x2c4)]());}[_0x7e3d33(0x135)](){var _0x44a423=_0x7e3d33;super['dispose'](),this[_0x44a423(0x193)]['forEach'](_0x46a10=>_0x46a10['dispose']()),this[_0x44a423(0x193)][_0x44a423(0x122)]();}[_0x7e3d33(0x29e)](_0x410977){var _0x3e8912=_0x7e3d33,_0xbd1ac3;return(_0xbd1ac3=this[_0x3e8912(0x193)][_0x3e8912(0x1e6)](_0x410977))!=null?_0xbd1ac3:null;}[_0x7e3d33(0x286)](_0x21092c){var _0x781896=_0x7e3d33;const _0x1331d8=this['getCollabEntity'](_0x21092c);return _0x1331d8?_0x14e3d9(_0x1331d8):this[_0x781896(0x26a)][_0x781896(0x3ff)](_0x56583e(_0x19343d=>_0x19343d[_0x781896(0x2ce)]===_0x21092c));}['readyForCollab'](_0x5870a6){var _0x30540c=_0x7e3d33;return _0x3ae00d(this[_0x30540c(0x286)](_0x5870a6)[_0x30540c(0x3ff)](_0x500e7a(()=>{})));}[_0x7e3d33(0x2c4)](){var _0x5e2854=_0x7e3d33;this[_0x5e2854(0x12d)][_0x5e2854(0x32c)](_0x1242f2[_0x5e2854(0x33b)])[_0x5e2854(0x3ff)](_0x294cec(this['dispose$']),_0x26ebf5(0x10))[_0x5e2854(0x3d5)](async _0x4ac171=>{var _0x4aafa9=_0x5e2854;const _0x15de5d=_0x4ac171[_0x4aafa9(0x3c4)](),_0x8edcfe=await this[_0x4aafa9(0x37a)](_0x15de5d,Q[_0x4aafa9(0x33b)]);this[_0x4aafa9(0x193)][_0x4aafa9(0x3c8)](_0x15de5d,_0x8edcfe);}),this['_univerInstanceService'][_0x5e2854(0x32c)](_0x1242f2[_0x5e2854(0x3ae)])[_0x5e2854(0x3ff)](_0x294cec(this['dispose$']),_0x26ebf5(0x10))[_0x5e2854(0x3ff)](_0x56583e(_0xeea2ff=>!_0xeea2ff[_0x5e2854(0x3c4)]()[_0x5e2854(0x189)]('__')))[_0x5e2854(0x3d5)](async _0x972be3=>{var _0x45d1dd=_0x5e2854;const _0x44ffc4=_0x972be3[_0x45d1dd(0x3c4)](),_0x451abe=await this[_0x45d1dd(0x37a)](_0x44ffc4,Q['UNIVER_DOC']);this[_0x45d1dd(0x193)][_0x45d1dd(0x3c8)](_0x44ffc4,_0x451abe);}),_0x33d39d(this[_0x5e2854(0x12d)][_0x5e2854(0x214)](_0x1242f2[_0x5e2854(0x33b)]),this[_0x5e2854(0x12d)]['getTypeOfUnitDisposed$'](_0x1242f2['UNIVER_DOC']))[_0x5e2854(0x3ff)](_0x294cec(this[_0x5e2854(0x240)]))[_0x5e2854(0x3d5)](_0x43722f=>{var _0x4d73fb=_0x5e2854;const _0x5e3947=_0x43722f['getUnitId'](),_0x4a8998=this[_0x4d73fb(0x193)]['get'](_0x5e3947);_0x4a8998&&(_0x4a8998[_0x4d73fb(0x135)](),this[_0x4d73fb(0x193)][_0x4d73fb(0x279)](_0x5e3947));});}async[_0x7e3d33(0x37a)](_0x2d549f,_0x26f670){var _0x1e1ddc=_0x7e3d33;const _0x105036=await this[_0x1e1ddc(0x34e)][_0x1e1ddc(0x370)](_0x2d549f),_0x265ea9=this[_0x1e1ddc(0x1de)][_0x1e1ddc(0x39c)](this[_0x1e1ddc(0x3ef)](_0x26f670),_0x2d549f,_0x26f670,_0x105036);return await _0x265ea9[_0x1e1ddc(0x301)](),this[_0x1e1ddc(0x26a)][_0x1e1ddc(0x18a)](_0x265ea9),_0x265ea9;}[_0x7e3d33(0x3ef)](_0x36253e){var _0x527d01=_0x7e3d33;switch(_0x36253e){case Q[_0x527d01(0x3ae)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x527d01(0x238)+_0x36253e);}}};rt=Sr([ft(0x0,_0x46e7fc(_0x54c970)),ft(0x1,_0x46e7fc(Le)),ft(0x2,_0x3f319c)],rt);var Er=Object[_0x7e3d33(0x349)],Ir=Object[_0x7e3d33(0x31d)],Tr=(_0x5601fd,_0x596e81,_0x37b6b8,_0x2203af)=>{var _0x118315=_0x7e3d33;for(var _0x1fbfd5=_0x2203af>0x1?void 0x0:_0x2203af?Ir(_0x596e81,_0x37b6b8):_0x596e81,_0x8a43ef=_0x5601fd[_0x118315(0x255)]-0x1,_0x276bfa;_0x8a43ef>=0x0;_0x8a43ef--)(_0x276bfa=_0x5601fd[_0x8a43ef])&&(_0x1fbfd5=(_0x2203af?_0x276bfa(_0x596e81,_0x37b6b8,_0x1fbfd5):_0x276bfa(_0x1fbfd5))||_0x1fbfd5);return _0x2203af&&_0x1fbfd5&&Er(_0x596e81,_0x37b6b8,_0x1fbfd5),_0x1fbfd5;},Jt=(_0x5bd66a,_0x43485c)=>(_0x4e70f8,_0x57bb2d)=>_0x43485c(_0x4e70f8,_0x57bb2d,_0x5bd66a);const Cr=_0x7e3d33(0x1f8),Rr='Univer';let Rt=class extends _0x25c510{constructor(_0x528f65,_0x2bba54){var _0x555b63=_0x7e3d33;super(),this[_0x555b63(0x12d)]=_0x528f65,this[_0x555b63(0x38d)]=_0x2bba54,this['_init']();}['_init'](){var _0x3742c5=_0x7e3d33;this[_0x3742c5(0x2c2)](this['_univerInstanceService'][_0x3742c5(0x2b9)][_0x3742c5(0x3d5)](()=>{var _0x1ade3e=_0x3742c5,_0x3c2220;const _0x4b0997=this['_univerInstanceService'][_0x1ade3e(0x278)]();let _0x1dc200=(_0x3c2220=this[_0x1ade3e(0x38d)][_0x1ade3e(0x383)](Cr))!=null?_0x3c2220:Rr;_0x4b0997 instanceof _0x36b18f&&(_0x1dc200=_0x4b0997[_0x1ade3e(0x36b)]),document[_0x1ade3e(0x333)]=_0x1dc200;}));}};Rt=Tr([Jt(0x0,_0x3f319c),Jt(0x1,_0xe8305c)],Rt);var br=Object[_0x7e3d33(0x349)],Or=Object[_0x7e3d33(0x31d)],yr=(_0x54c5d6,_0x1d5c6b,_0x40fa26,_0x4c160d)=>{var _0x30c972=_0x7e3d33;for(var _0x4d52f6=_0x4c160d>0x1?void 0x0:_0x4c160d?Or(_0x1d5c6b,_0x40fa26):_0x1d5c6b,_0x45aec8=_0x54c5d6[_0x30c972(0x255)]-0x1,_0x52e00f;_0x45aec8>=0x0;_0x45aec8--)(_0x52e00f=_0x54c5d6[_0x45aec8])&&(_0x4d52f6=(_0x4c160d?_0x52e00f(_0x1d5c6b,_0x40fa26,_0x4d52f6):_0x52e00f(_0x4d52f6))||_0x4d52f6);return _0x4c160d&&_0x4d52f6&&br(_0x1d5c6b,_0x40fa26,_0x4d52f6),_0x4d52f6;},vt=(_0x2952e5,_0x43bedc)=>(_0x27ba79,_0x54bc27)=>_0x43bedc(_0x27ba79,_0x54bc27,_0x2952e5);let st=class{constructor(_0x436b69,_0x54463d,_0x5cf4ab){var _0x3649a6=_0x7e3d33;this[_0x3649a6(0x38d)]=_0x436b69,this[_0x3649a6(0x31b)]=_0x54463d,this[_0x3649a6(0x14a)]=_0x5cf4ab,this[_0x3649a6(0x301)]();}[_0x7e3d33(0x301)](){var _0x37c241=_0x7e3d33;this[_0x37c241(0x31b)][_0x37c241(0x153)]({'priority':0x1,'interceptor':(_0x3b02ee,_0x439e80)=>_0x439e80(_0x3b02ee)['pipe'](_0x5c1943(async _0x378304=>{var _0x32564c=_0x37c241;const _0x45324d=_0x378304;if(_0x45324d['status']===0x191){if(typeof window>'u')throw new Error(_0x32564c(0x346));if(window[_0x32564c(0x31a)](this[_0x32564c(0x14a)]['t'](_0x32564c(0x361)))){const _0x4950b4=window[_0x32564c(0x3d6)](window[_0x32564c(0x21b)][_0x32564c(0x35e)]);window[_0x32564c(0x21b)][_0x32564c(0x35e)]=this[_0x32564c(0x25a)]()+_0x32564c(0x1b4)+_0x4950b4;}}return _0x45324d;}))});}[_0x7e3d33(0x25a)](){var _0x582ef9=_0x7e3d33,_0x24f0ab,_0xb4f71d;const _0x5ccc22=this['_configService'][_0x582ef9(0x383)](xn),_0x45a4f6=this[_0x582ef9(0x38d)][_0x582ef9(0x383)](q);return(_0xb4f71d=(_0x24f0ab=_0x45a4f6==null?void 0x0:_0x45a4f6[_0x582ef9(0x19b)])!=null?_0x24f0ab:_0x5ccc22)!=null?_0xb4f71d:Ln;}};st=yr([vt(0x0,_0xe8305c),vt(0x1,_0x46e7fc(_0x13eabd)),vt(0x2,_0x46e7fc(_0x826620))],st);var Nr=Object['defineProperty'],Dr=Object[_0x7e3d33(0x31d)],Pr=(_0x2d9c2d,_0x463be9,_0x156a34,_0x628222)=>{var _0x56c430=_0x7e3d33;for(var _0x97e5ad=_0x628222>0x1?void 0x0:_0x628222?Dr(_0x463be9,_0x156a34):_0x463be9,_0xa102eb=_0x2d9c2d[_0x56c430(0x255)]-0x1,_0x5529ef;_0xa102eb>=0x0;_0xa102eb--)(_0x5529ef=_0x2d9c2d[_0xa102eb])&&(_0x97e5ad=(_0x628222?_0x5529ef(_0x463be9,_0x156a34,_0x97e5ad):_0x5529ef(_0x97e5ad))||_0x97e5ad);return _0x628222&&_0x97e5ad&&Nr(_0x463be9,_0x156a34,_0x97e5ad),_0x97e5ad;},Xt=(_0x18ce4d,_0x361221)=>(_0x482bcc,_0x33d342)=>_0x361221(_0x482bcc,_0x33d342,_0x18ce4d);const Pi=_0x7e3d33(0x179),wr=_0x7e3d33(0x39d);let bt=class extends _0x25c510{constructor(_0x12ec32,_0x1f1b15){var _0x414b1a=_0x7e3d33;super(),this[_0x414b1a(0x2eb)]=_0x12ec32,this[_0x414b1a(0x38d)]=_0x1f1b15,this[_0x414b1a(0x1f7)]();}[_0x7e3d33(0x1f7)](){var _0x3d2049=_0x7e3d33;const _0x380b00=this;this[_0x3d2049(0x2c2)](this[_0x3d2049(0x2eb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x3fe0a6({'isMatch'(_0x171c2d){var _0x4f522e=_0x3d2049,_0x4c484d;if(_0x171c2d['method']===_0x4f522e(0x344)&&((_0x4c484d=_0x171c2d[_0x4f522e(0x145)])!=null&&_0x4c484d[_0x4f522e(0x38f)])){const {objectID:_0x24205c,objectType:_0x5c24b3}=_0x171c2d[_0x4f522e(0x145)]['body']||{};if(!_0x24205c||_0x5c24b3===void 0x0)return!0x1;const _0x47456a=_0x380b00[_0x4f522e(0x404)]()+'/'+_0x5c24b3+_0x4f522e(0x3d0)+_0x24205c+_0x4f522e(0x13a);if(_0x171c2d['url']===_0x47456a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a2552){var _0x1795bf=_0x3d2049,_0x4292b6;return(_0x4292b6=_0x3a2552[_0x1795bf(0x145)])==null?void 0x0:_0x4292b6[_0x1795bf(0x38f)];},'mergeParamsToRequest'(_0x328c57,_0x99909d){var _0x1d2aa8=_0x3d2049;const _0x3761d9=_0x380b00['_getAPIPrefixPath']()+_0x1d2aa8(0x264),_0x126f74=_0x328c57['reduce']((_0x1d29c1,_0x5386cc)=>{var _0x5be63a=_0x1d2aa8;const {unitID:_0x52b381,objectID:_0x1eb7b8,objectType:_0x745f1d,actions:_0x1d655a}=_0x5386cc;return _0x1d29c1[_0x52b381]||(_0x1d29c1[_0x52b381]={}),_0x1d29c1[_0x52b381][_0x1eb7b8]||(_0x1d29c1[_0x52b381][_0x1eb7b8]={'objectID':_0x1eb7b8,'objectType':_0x745f1d,'actions':[]}),_0x1d29c1[_0x52b381][_0x1eb7b8]['actions'][_0x5be63a(0x399)](..._0x1d655a),_0x1d29c1;},{}),_0x42cb3c=[];for(const _0x1cb76f in _0x126f74)for(const _0x289127 in _0x126f74[_0x1cb76f]){const {actions:_0x14ebc3,objectType:_0xc7139a}=_0x126f74[_0x1cb76f][_0x289127],_0x49b028=[...new Set(_0x14ebc3)];_0x42cb3c[_0x1d2aa8(0x399)]({'unitID':_0x1cb76f,'objectID':_0x289127,'objectType':_0xc7139a,'actions':_0x49b028});}return new _0x255e0a(_0x1d2aa8(0x344),_0x3761d9,{'headers':_0x99909d[_0x1d2aa8(0x1a7)],'withCredentials':_0x99909d['withCredentials'],'responseType':_0x99909d['responseType'],'body':{'requests':_0x42cb3c}});}},{'distributeResult'(_0x192d1a,_0x2d3851){var _0x1c9c5f=_0x3d2049;const {objectActions:_0x167c5d}=_0x192d1a;return _0x2d3851[_0x1c9c5f(0x1e3)](_0xe0eccd=>{var _0x504059=_0x1c9c5f;const {unitID:_0x151e1d,objectID:_0x58799e,actions:_0x34acaf}=_0xe0eccd,_0xadd068=_0x167c5d[_0x504059(0x342)](_0x496617=>_0x496617['unitID']===_0x151e1d&&_0x496617['objectID']===_0x58799e),_0x364809=_0x34acaf[_0x504059(0x1e3)](_0x20dcea=>_0xadd068==null?void 0x0:_0xadd068[_0x504059(0x213)][_0x504059(0x342)](_0x363b10=>_0x363b10[_0x504059(0x134)]===_0x20dcea))['filter'](_0x1f8d31=>!!_0x1f8d31);return{'config':_0xe0eccd,'result':{'actions':_0x364809,'error':_0x192d1a[_0x504059(0x129)]}};});}})}));}[_0x7e3d33(0x404)](){var _0x3666c1=_0x7e3d33,_0x1bef2b,_0x133080;const _0x2c3a29=this[_0x3666c1(0x38d)][_0x3666c1(0x383)](Pi),_0x132b4b=this[_0x3666c1(0x38d)][_0x3666c1(0x383)](q);return(_0x133080=(_0x1bef2b=_0x132b4b==null?void 0x0:_0x132b4b[_0x3666c1(0x20e)])!=null?_0x1bef2b:_0x2c3a29)!=null?_0x133080:wr;}async['create'](_0x35ef71){var _0x3f8700=_0x7e3d33;const _0x1cd4ed=this[_0x3f8700(0x404)]()+'/'+_0x35ef71[_0x3f8700(0x285)]+_0x3f8700(0x229);return(await this['_HTTPService'][_0x3f8700(0x2dc)](_0x1cd4ed,{'body':_0x35ef71}))[_0x3f8700(0x38f)][_0x3f8700(0x325)]||'';}async[_0x7e3d33(0x253)](_0x234435){var _0x5e2455=_0x7e3d33;const _0x577ed3=this[_0x5e2455(0x404)]()+_0x5e2455(0x147);return(await this[_0x5e2455(0x2eb)]['post'](_0x577ed3,{'body':_0x234435}))[_0x5e2455(0x38f)][_0x5e2455(0x35f)];}async[_0x7e3d33(0x337)](_0x4c3fc3){var _0x4ad515=_0x7e3d33;const _0x48f88e=this[_0x4ad515(0x404)]()+'/'+_0x4c3fc3[_0x4ad515(0x285)]+'/object/'+_0x4c3fc3['objectID'];await this[_0x4ad515(0x2eb)][_0x4ad515(0x131)](_0x48f88e,{'body':_0x4c3fc3});}async['allowed'](_0xfd0b11){var _0x21316d=_0x7e3d33;const _0x397c94=this[_0x21316d(0x404)]()+'/'+_0xfd0b11[_0x21316d(0x285)]+_0x21316d(0x3d0)+_0xfd0b11[_0x21316d(0x325)]+'/allowed';return(await this[_0x21316d(0x2eb)][_0x21316d(0x2dc)](_0x397c94,{'body':_0xfd0b11}))[_0x21316d(0x38f)][_0x21316d(0x213)];}async[_0x7e3d33(0x231)](_0x16e1c3){var _0x2f5490=_0x7e3d33;const _0x136e94=this['_getAPIPrefixPath']()+_0x2f5490(0x264);return(await this['_HTTPService']['post'](_0x136e94,{'body':{'requests':_0x16e1c3}}))[_0x2f5490(0x38f)][_0x2f5490(0x13e)];}async['listRoles'](_0x12766c){var _0xe57617=_0x7e3d33;const _0x115814=this[_0xe57617(0x404)]()+'/'+_0x12766c[_0xe57617(0x285)]+_0xe57617(0x15c),_0x4bbac4=await this[_0xe57617(0x2eb)][_0xe57617(0x2dc)](_0x115814,{'body':_0x12766c});return{'roles':_0x4bbac4[_0xe57617(0x38f)][_0xe57617(0x17c)],'actions':_0x4bbac4[_0xe57617(0x38f)]['actions']};}async[_0x7e3d33(0x40e)](_0x338abc){var _0x13468b=_0x7e3d33;const _0x127e5c=this[_0x13468b(0x404)]()+_0x13468b(0x3d8);await this[_0x13468b(0x2eb)][_0x13468b(0x279)](_0x127e5c,{'params':{'collaboratorID':_0x338abc['collaboratorID'],'objectID':_0x338abc[_0x13468b(0x325)],'unitID':_0x338abc['unitID']}});}async[_0x7e3d33(0x133)](_0x174182){var _0x36fa13=_0x7e3d33;const _0x3ebcc8=this['_getAPIPrefixPath']()+_0x36fa13(0x3d8);await this['_HTTPService'][_0x36fa13(0x1a1)](_0x3ebcc8,{'body':_0x174182});}async['createCollaborator'](_0x413b10){var _0x2db6ca=_0x7e3d33;const _0x563c7b=this[_0x2db6ca(0x404)]()+'/collaborator';await this[_0x2db6ca(0x2eb)]['post'](_0x563c7b,{'body':_0x413b10});}async[_0x7e3d33(0x1aa)](_0x2941be){var _0x1d5432=_0x7e3d33;const _0x294bc8=this['_getAPIPrefixPath']()+_0x1d5432(0x3d8);return(await this['_HTTPService']['get'](_0x294bc8,{'params':{'objectID':_0x2941be[_0x1d5432(0x325)],'unitID':_0x2941be[_0x1d5432(0x2ce)]}}))['body'][_0x1d5432(0x2e8)];}async[_0x7e3d33(0x2ff)](_0x59c88e){var _0xd4b143=_0x7e3d33;const _0x2ca285=this[_0xd4b143(0x404)]()+_0xd4b143(0x3d8);await this['_HTTPService'][_0xd4b143(0x131)](_0x2ca285,{'body':_0x59c88e});}};bt=Pr([Xt(0x0,_0x46e7fc(_0x13eabd)),Xt(0x1,_0x46e7fc(_0xe8305c))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x113026){var _0x1220ef=_0x7e3d33;return _0x113026&&_0x113026[_0x1220ef(0x32f)]&&Object[_0x1220ef(0x2df)][_0x1220ef(0x3de)]['call'](_0x113026,_0x1220ef(0x11f))?_0x113026['default']:_0x113026;}var Ve={'exports':{}};function Ur(_0xde6f3d){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0xde6f3d+'\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['exports'],Zt;function ne(){var _0x790e54=_0x7e3d33;return Zt||(Zt=0x1,function(_0xe63351,_0x24c931){(function(_0x444224,_0x52bc44){_0xe63351['exports']=_0x52bc44();}(Ar,function(){var _0x51fd5a=_0x51fd5a||function(_0x41f7ed,_0x2b21ab){var _0x923e58=_0x3515,_0x56866d;if(typeof window<'u'&&window[_0x923e58(0x206)]&&(_0x56866d=window[_0x923e58(0x206)]),typeof self<'u'&&self[_0x923e58(0x206)]&&(_0x56866d=self[_0x923e58(0x206)]),typeof globalThis<'u'&&globalThis[_0x923e58(0x206)]&&(_0x56866d=globalThis[_0x923e58(0x206)]),!_0x56866d&&typeof window<'u'&&window['msCrypto']&&(_0x56866d=window['msCrypto']),!_0x56866d&&typeof pt<'u'&&pt[_0x923e58(0x206)]&&(_0x56866d=pt[_0x923e58(0x206)]),!_0x56866d&&typeof Ur==_0x923e58(0x2ea))try{_0x56866d=require(_0x923e58(0x206));}catch{}var _0x18c932=function(){var _0x134143=_0x923e58;if(_0x56866d){if(typeof _0x56866d[_0x134143(0x19e)]==_0x134143(0x2ea))try{return _0x56866d[_0x134143(0x19e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x56866d['randomBytes']=='function')try{return _0x56866d[_0x134143(0x302)](0x4)[_0x134143(0x36f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xe5db4=Object['create']||(function(){function _0x2edec8(){}return function(_0x1ce8a0){var _0x26b0c7=_0x3515,_0x3f7158;return _0x2edec8[_0x26b0c7(0x2df)]=_0x1ce8a0,_0x3f7158=new _0x2edec8(),_0x2edec8['prototype']=null,_0x3f7158;};}()),_0x5eca29={},_0x12136f=_0x5eca29[_0x923e58(0x3ed)]={},_0x230855=_0x12136f[_0x923e58(0x30b)]=(function(){return{'extend':function(_0x11c686){var _0x4de436=_0x3515,_0x1ccfd7=_0xe5db4(this);return _0x11c686&&_0x1ccfd7[_0x4de436(0x3d3)](_0x11c686),(!_0x1ccfd7['hasOwnProperty'](_0x4de436(0x301))||this['init']===_0x1ccfd7[_0x4de436(0x301)])&&(_0x1ccfd7['init']=function(){var _0xa30f1a=_0x4de436;_0x1ccfd7['$super'][_0xa30f1a(0x301)]['apply'](this,arguments);}),_0x1ccfd7[_0x4de436(0x301)][_0x4de436(0x2df)]=_0x1ccfd7,_0x1ccfd7[_0x4de436(0x396)]=this,_0x1ccfd7;},'create':function(){var _0x24aca0=_0x3515,_0x3059f2=this[_0x24aca0(0x2a1)]();return _0x3059f2[_0x24aca0(0x301)][_0x24aca0(0x3ec)](_0x3059f2,arguments),_0x3059f2;},'init':function(){},'mixIn':function(_0x9e4fcf){var _0x4f817f=_0x3515;for(var _0x4bedc6 in _0x9e4fcf)_0x9e4fcf[_0x4f817f(0x3de)](_0x4bedc6)&&(this[_0x4bedc6]=_0x9e4fcf[_0x4bedc6]);_0x9e4fcf[_0x4f817f(0x3de)](_0x4f817f(0x328))&&(this[_0x4f817f(0x328)]=_0x9e4fcf[_0x4f817f(0x328)]);},'clone':function(){var _0xf86c8c=_0x3515;return this[_0xf86c8c(0x301)][_0xf86c8c(0x2df)]['extend'](this);}};}()),_0x2adc14=_0x12136f[_0x923e58(0x39f)]=_0x230855[_0x923e58(0x2a1)]({'init':function(_0x1b8371,_0x5e4a2d){var _0x1f1f1b=_0x923e58;_0x1b8371=this[_0x1f1f1b(0x23c)]=_0x1b8371||[],_0x5e4a2d!=_0x2b21ab?this['sigBytes']=_0x5e4a2d:this[_0x1f1f1b(0x197)]=_0x1b8371[_0x1f1f1b(0x255)]*0x4;},'toString':function(_0x2e97ef){var _0x3f4e1e=_0x923e58;return(_0x2e97ef||_0x1d7fb8)[_0x3f4e1e(0x228)](this);},'concat':function(_0x4c473d){var _0x174eb9=_0x923e58,_0x5b87ff=this[_0x174eb9(0x23c)],_0x23155a=_0x4c473d['words'],_0x4886ec=this[_0x174eb9(0x197)],_0x1a141a=_0x4c473d[_0x174eb9(0x197)];if(this['clamp'](),_0x4886ec%0x4)for(var _0x1c0248=0x0;_0x1c0248<_0x1a141a;_0x1c0248++){var _0x319df2=_0x23155a[_0x1c0248>>>0x2]>>>0x18-_0x1c0248%0x4*0x8&0xff;_0x5b87ff[_0x4886ec+_0x1c0248>>>0x2]|=_0x319df2<<0x18-(_0x4886ec+_0x1c0248)%0x4*0x8;}else{for(var _0x9046b=0x0;_0x9046b<_0x1a141a;_0x9046b+=0x4)_0x5b87ff[_0x4886ec+_0x9046b>>>0x2]=_0x23155a[_0x9046b>>>0x2];}return this['sigBytes']+=_0x1a141a,this;},'clamp':function(){var _0x155632=_0x923e58,_0x67a995=this['words'],_0x1eb543=this['sigBytes'];_0x67a995[_0x1eb543>>>0x2]&=0xffffffff<<0x20-_0x1eb543%0x4*0x8,_0x67a995[_0x155632(0x255)]=_0x41f7ed[_0x155632(0x366)](_0x1eb543/0x4);},'clone':function(){var _0x596c87=_0x923e58,_0x4a39ab=_0x230855[_0x596c87(0x297)][_0x596c87(0x33e)](this);return _0x4a39ab[_0x596c87(0x23c)]=this[_0x596c87(0x23c)]['slice'](0x0),_0x4a39ab;},'random':function(_0x45408b){var _0x12ef18=_0x923e58;for(var _0x3b50e=[],_0x4ba8b3=0x0;_0x4ba8b3<_0x45408b;_0x4ba8b3+=0x4)_0x3b50e[_0x12ef18(0x399)](_0x18c932());return new _0x2adc14[(_0x12ef18(0x301))](_0x3b50e,_0x45408b);}}),_0x2ab132=_0x5eca29[_0x923e58(0x304)]={},_0x1d7fb8=_0x2ab132[_0x923e58(0x1da)]={'stringify':function(_0x50c5fa){var _0x1d8aa2=_0x923e58;for(var _0x992d48=_0x50c5fa[_0x1d8aa2(0x23c)],_0x4d5555=_0x50c5fa[_0x1d8aa2(0x197)],_0x158ae3=[],_0x1274dc=0x0;_0x1274dc<_0x4d5555;_0x1274dc++){var _0x169dd3=_0x992d48[_0x1274dc>>>0x2]>>>0x18-_0x1274dc%0x4*0x8&0xff;_0x158ae3[_0x1d8aa2(0x399)]((_0x169dd3>>>0x4)['toString'](0x10)),_0x158ae3['push']((_0x169dd3&0xf)[_0x1d8aa2(0x328)](0x10));}return _0x158ae3[_0x1d8aa2(0x351)]('');},'parse':function(_0x881ad){var _0x54e205=_0x923e58;for(var _0x32b0ea=_0x881ad[_0x54e205(0x255)],_0x41ff69=[],_0x41420a=0x0;_0x41420a<_0x32b0ea;_0x41420a+=0x2)_0x41ff69[_0x41420a>>>0x3]|=parseInt(_0x881ad[_0x54e205(0x167)](_0x41420a,0x2),0x10)<<0x18-_0x41420a%0x8*0x4;return new _0x2adc14[(_0x54e205(0x301))](_0x41ff69,_0x32b0ea/0x2);}},_0x98429e=_0x2ab132[_0x923e58(0x1c8)]={'stringify':function(_0x23a50a){var _0x2a789d=_0x923e58;for(var _0x33e52c=_0x23a50a[_0x2a789d(0x23c)],_0x539c81=_0x23a50a[_0x2a789d(0x197)],_0x1b1c70=[],_0x3d7c11=0x0;_0x3d7c11<_0x539c81;_0x3d7c11++){var _0x12be0f=_0x33e52c[_0x3d7c11>>>0x2]>>>0x18-_0x3d7c11%0x4*0x8&0xff;_0x1b1c70[_0x2a789d(0x399)](String[_0x2a789d(0x191)](_0x12be0f));}return _0x1b1c70[_0x2a789d(0x351)]('');},'parse':function(_0x1cd478){var _0x3edfb6=_0x923e58;for(var _0xee1a8c=_0x1cd478['length'],_0x16d713=[],_0x4702ba=0x0;_0x4702ba<_0xee1a8c;_0x4702ba++)_0x16d713[_0x4702ba>>>0x2]|=(_0x1cd478[_0x3edfb6(0x143)](_0x4702ba)&0xff)<<0x18-_0x4702ba%0x4*0x8;return new _0x2adc14['init'](_0x16d713,_0xee1a8c);}},_0x4cbaf9=_0x2ab132[_0x923e58(0x2fd)]={'stringify':function(_0x4f216c){var _0x231b42=_0x923e58;try{return decodeURIComponent(escape(_0x98429e[_0x231b42(0x228)](_0x4f216c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x33d44c){var _0x18ceeb=_0x923e58;return _0x98429e[_0x18ceeb(0x317)](unescape(encodeURIComponent(_0x33d44c)));}},_0x37b99d=_0x12136f['BufferedBlockAlgorithm']=_0x230855['extend']({'reset':function(){var _0x207af7=_0x923e58;this[_0x207af7(0x1bb)]=new _0x2adc14[(_0x207af7(0x301))](),this[_0x207af7(0x290)]=0x0;},'_append':function(_0x4a6f12){var _0x385ef2=_0x923e58;typeof _0x4a6f12=='string'&&(_0x4a6f12=_0x4cbaf9[_0x385ef2(0x317)](_0x4a6f12)),this[_0x385ef2(0x1bb)]['concat'](_0x4a6f12),this[_0x385ef2(0x290)]+=_0x4a6f12[_0x385ef2(0x197)];},'_process':function(_0x385e07){var _0x759e6b=_0x923e58,_0x19c567,_0x2cca48=this[_0x759e6b(0x1bb)],_0x344be6=_0x2cca48[_0x759e6b(0x23c)],_0x25b2e6=_0x2cca48[_0x759e6b(0x197)],_0x168492=this[_0x759e6b(0x363)],_0x56e347=_0x168492*0x4,_0x20f03c=_0x25b2e6/_0x56e347;_0x385e07?_0x20f03c=_0x41f7ed[_0x759e6b(0x366)](_0x20f03c):_0x20f03c=_0x41f7ed['max']((_0x20f03c|0x0)-this[_0x759e6b(0x35c)],0x0);var _0x581317=_0x20f03c*_0x168492,_0x48039b=_0x41f7ed['min'](_0x581317*0x4,_0x25b2e6);if(_0x581317){for(var _0x4f551b=0x0;_0x4f551b<_0x581317;_0x4f551b+=_0x168492)this[_0x759e6b(0x1a9)](_0x344be6,_0x4f551b);_0x19c567=_0x344be6[_0x759e6b(0x1b7)](0x0,_0x581317),_0x2cca48[_0x759e6b(0x197)]-=_0x48039b;}return new _0x2adc14['init'](_0x19c567,_0x48039b);},'clone':function(){var _0x4d8bc2=_0x923e58,_0x4b471e=_0x230855[_0x4d8bc2(0x297)][_0x4d8bc2(0x33e)](this);return _0x4b471e[_0x4d8bc2(0x1bb)]=this[_0x4d8bc2(0x1bb)][_0x4d8bc2(0x297)](),_0x4b471e;},'_minBufferSize':0x0});_0x12136f[_0x923e58(0x41b)]=_0x37b99d[_0x923e58(0x2a1)]({'cfg':_0x230855[_0x923e58(0x2a1)](),'init':function(_0x3f2f29){var _0x4ff705=_0x923e58;this[_0x4ff705(0x2d4)]=this['cfg'][_0x4ff705(0x2a1)](_0x3f2f29),this[_0x4ff705(0x320)]();},'reset':function(){var _0x3d434e=_0x923e58;_0x37b99d[_0x3d434e(0x320)]['call'](this),this[_0x3d434e(0x334)]();},'update':function(_0x5dd1cd){var _0x146f48=_0x923e58;return this[_0x146f48(0x235)](_0x5dd1cd),this[_0x146f48(0x2c3)](),this;},'finalize':function(_0x432d93){var _0x52ab52=_0x923e58;_0x432d93&&this[_0x52ab52(0x235)](_0x432d93);var _0x3de148=this[_0x52ab52(0x338)]();return _0x3de148;},'blockSize':0x10,'_createHelper':function(_0x3704a1){return function(_0xffec4f,_0x5df5bd){var _0x424758=_0x3515;return new _0x3704a1['init'](_0x5df5bd)[_0x424758(0x299)](_0xffec4f);};},'_createHmacHelper':function(_0x474f9a){return function(_0x5aa130,_0x1b1dfc){var _0xc9428c=_0x3515;return new _0x34c234['HMAC'][(_0xc9428c(0x301))](_0x474f9a,_0x1b1dfc)['finalize'](_0x5aa130);};}});var _0x34c234=_0x5eca29[_0x923e58(0x14b)]={};return _0x5eca29;}(Math);return _0x51fd5a;}));}(Ge)),Ge[_0x790e54(0x2f2)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0xa522de=_0x7e3d33;return Qt||(Qt=0x1,function(_0x185968,_0x435305){(function(_0x56046c,_0x2b59c9){var _0x1be982=_0x3515;_0x185968[_0x1be982(0x2f2)]=_0x2b59c9(ne());}(xr,function(_0x2a75e7){var _0x44511d=_0x3515;return(function(){var _0x5c9086=_0x3515,_0x40c677=_0x2a75e7,_0x12d4b5=_0x40c677['lib'],_0x5b5641=_0x12d4b5[_0x5c9086(0x39f)],_0x5240b4=_0x40c677[_0x5c9086(0x304)];_0x5240b4[_0x5c9086(0x414)]={'stringify':function(_0x420c6e){var _0x44a861=_0x5c9086,_0x233caf=_0x420c6e[_0x44a861(0x23c)],_0x150a5a=_0x420c6e[_0x44a861(0x197)],_0x1b3189=this[_0x44a861(0x348)];_0x420c6e[_0x44a861(0x182)]();for(var _0x5f448d=[],_0x55d397=0x0;_0x55d397<_0x150a5a;_0x55d397+=0x3)for(var _0x2fe8c9=_0x233caf[_0x55d397>>>0x2]>>>0x18-_0x55d397%0x4*0x8&0xff,_0x56cd92=_0x233caf[_0x55d397+0x1>>>0x2]>>>0x18-(_0x55d397+0x1)%0x4*0x8&0xff,_0x2b6823=_0x233caf[_0x55d397+0x2>>>0x2]>>>0x18-(_0x55d397+0x2)%0x4*0x8&0xff,_0x6ce36=_0x2fe8c9<<0x10|_0x56cd92<<0x8|_0x2b6823,_0x1cf113=0x0;_0x1cf113<0x4&&_0x55d397+_0x1cf113*0.75<_0x150a5a;_0x1cf113++)_0x5f448d['push'](_0x1b3189['charAt'](_0x6ce36>>>0x6*(0x3-_0x1cf113)&0x3f));var _0x52aa1d=_0x1b3189[_0x44a861(0x25e)](0x40);if(_0x52aa1d){for(;_0x5f448d[_0x44a861(0x255)]%0x4;)_0x5f448d[_0x44a861(0x399)](_0x52aa1d);}return _0x5f448d[_0x44a861(0x351)]('');},'parse':function(_0x244d39){var _0x1e52f1=_0x5c9086,_0x2abd92=_0x244d39['length'],_0x581372=this[_0x1e52f1(0x348)],_0x7b39bd=this[_0x1e52f1(0x384)];if(!_0x7b39bd){_0x7b39bd=this['_reverseMap']=[];for(var _0x296ff6=0x0;_0x296ff6<_0x581372['length'];_0x296ff6++)_0x7b39bd[_0x581372['charCodeAt'](_0x296ff6)]=_0x296ff6;}var _0x40b5e1=_0x581372[_0x1e52f1(0x25e)](0x40);if(_0x40b5e1){var _0x599b5e=_0x244d39[_0x1e52f1(0x40b)](_0x40b5e1);_0x599b5e!==-0x1&&(_0x2abd92=_0x599b5e);}return _0x497129(_0x244d39,_0x2abd92,_0x7b39bd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x497129(_0x4fd1d6,_0x140103,_0x136b9f){var _0x2c4323=_0x5c9086;for(var _0x1c8ad6=[],_0x3753e2=0x0,_0x4044a3=0x0;_0x4044a3<_0x140103;_0x4044a3++)if(_0x4044a3%0x4){var _0x58d42f=_0x136b9f[_0x4fd1d6[_0x2c4323(0x143)](_0x4044a3-0x1)]<<_0x4044a3%0x4*0x2,_0x3c27e5=_0x136b9f[_0x4fd1d6[_0x2c4323(0x143)](_0x4044a3)]>>>0x6-_0x4044a3%0x4*0x2,_0x1f0212=_0x58d42f|_0x3c27e5;_0x1c8ad6[_0x3753e2>>>0x2]|=_0x1f0212<<0x18-_0x3753e2%0x4*0x8,_0x3753e2++;}return _0x5b5641[_0x2c4323(0x274)](_0x1c8ad6,_0x3753e2);}}()),_0x2a75e7['enc'][_0x44511d(0x414)];}));}(We)),We[_0xa522de(0x2f2)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){return ei||(ei=0x1,function(_0x2f68bf,_0x1c99d2){(function(_0x38f0cf,_0x152b7e){var _0x205a26=_0x3515;_0x2f68bf[_0x205a26(0x2f2)]=_0x152b7e(ne());}(Lr,function(_0x498dc1){var _0x299e71=_0x3515;return function(_0x3bac37){var _0xcb1d8a=_0x3515,_0x2e2991=_0x498dc1,_0x1cf22e=_0x2e2991['lib'],_0x57786f=_0x1cf22e[_0xcb1d8a(0x39f)],_0x2a2197=_0x1cf22e['Hasher'],_0x33e35c=_0x2e2991[_0xcb1d8a(0x14b)],_0x5b4a15=[];(function(){var _0x573d7e=_0xcb1d8a;for(var _0x392da3=0x0;_0x392da3<0x40;_0x392da3++)_0x5b4a15[_0x392da3]=_0x3bac37[_0x573d7e(0x1ff)](_0x3bac37[_0x573d7e(0x1f5)](_0x392da3+0x1))*0x100000000|0x0;}());var _0x47fa1e=_0x33e35c['MD5']=_0x2a2197[_0xcb1d8a(0x2a1)]({'_doReset':function(){var _0x46f39c=_0xcb1d8a;this['_hash']=new _0x57786f[(_0x46f39c(0x301))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x105d2d,_0x47d45c){var _0x428558=_0xcb1d8a;for(var _0x139e89=0x0;_0x139e89<0x10;_0x139e89++){var _0x560b2e=_0x47d45c+_0x139e89,_0x4fa26a=_0x105d2d[_0x560b2e];_0x105d2d[_0x560b2e]=(_0x4fa26a<<0x8|_0x4fa26a>>>0x18)&0xff00ff|(_0x4fa26a<<0x18|_0x4fa26a>>>0x8)&0xff00ff00;}var _0x1aa235=this[_0x428558(0x2c5)][_0x428558(0x23c)],_0x34aca5=_0x105d2d[_0x47d45c+0x0],_0x311b30=_0x105d2d[_0x47d45c+0x1],_0x92e4c3=_0x105d2d[_0x47d45c+0x2],_0x5b7823=_0x105d2d[_0x47d45c+0x3],_0x11f6ac=_0x105d2d[_0x47d45c+0x4],_0x2becaa=_0x105d2d[_0x47d45c+0x5],_0x457fe6=_0x105d2d[_0x47d45c+0x6],_0x5d5b8d=_0x105d2d[_0x47d45c+0x7],_0x5c7643=_0x105d2d[_0x47d45c+0x8],_0x5cbcc8=_0x105d2d[_0x47d45c+0x9],_0x1c98c8=_0x105d2d[_0x47d45c+0xa],_0x46e41d=_0x105d2d[_0x47d45c+0xb],_0x378d57=_0x105d2d[_0x47d45c+0xc],_0x448c7d=_0x105d2d[_0x47d45c+0xd],_0x5ab557=_0x105d2d[_0x47d45c+0xe],_0x58eb35=_0x105d2d[_0x47d45c+0xf],_0x1478bd=_0x1aa235[0x0],_0xa6b61b=_0x1aa235[0x1],_0x5d7376=_0x1aa235[0x2],_0x5c0ef2=_0x1aa235[0x3];_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x34aca5,0x7,_0x5b4a15[0x0]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x311b30,0xc,_0x5b4a15[0x1]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x92e4c3,0x11,_0x5b4a15[0x2]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5b7823,0x16,_0x5b4a15[0x3]),_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x11f6ac,0x7,_0x5b4a15[0x4]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x2becaa,0xc,_0x5b4a15[0x5]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x457fe6,0x11,_0x5b4a15[0x6]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5d5b8d,0x16,_0x5b4a15[0x7]),_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5c7643,0x7,_0x5b4a15[0x8]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5cbcc8,0xc,_0x5b4a15[0x9]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x1c98c8,0x11,_0x5b4a15[0xa]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x46e41d,0x16,_0x5b4a15[0xb]),_0x1478bd=_0x25ebe8(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x378d57,0x7,_0x5b4a15[0xc]),_0x5c0ef2=_0x25ebe8(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x448c7d,0xc,_0x5b4a15[0xd]),_0x5d7376=_0x25ebe8(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5ab557,0x11,_0x5b4a15[0xe]),_0xa6b61b=_0x25ebe8(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x58eb35,0x16,_0x5b4a15[0xf]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x311b30,0x5,_0x5b4a15[0x10]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x457fe6,0x9,_0x5b4a15[0x11]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x46e41d,0xe,_0x5b4a15[0x12]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x34aca5,0x14,_0x5b4a15[0x13]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x2becaa,0x5,_0x5b4a15[0x14]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x1c98c8,0x9,_0x5b4a15[0x15]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x58eb35,0xe,_0x5b4a15[0x16]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x11f6ac,0x14,_0x5b4a15[0x17]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5cbcc8,0x5,_0x5b4a15[0x18]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5ab557,0x9,_0x5b4a15[0x19]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5b7823,0xe,_0x5b4a15[0x1a]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5c7643,0x14,_0x5b4a15[0x1b]),_0x1478bd=_0x4f84bb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x448c7d,0x5,_0x5b4a15[0x1c]),_0x5c0ef2=_0x4f84bb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x92e4c3,0x9,_0x5b4a15[0x1d]),_0x5d7376=_0x4f84bb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d5b8d,0xe,_0x5b4a15[0x1e]),_0xa6b61b=_0x4f84bb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x378d57,0x14,_0x5b4a15[0x1f]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x2becaa,0x4,_0x5b4a15[0x20]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c7643,0xb,_0x5b4a15[0x21]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x46e41d,0x10,_0x5b4a15[0x22]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5ab557,0x17,_0x5b4a15[0x23]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x311b30,0x4,_0x5b4a15[0x24]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x11f6ac,0xb,_0x5b4a15[0x25]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d5b8d,0x10,_0x5b4a15[0x26]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x1c98c8,0x17,_0x5b4a15[0x27]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x448c7d,0x4,_0x5b4a15[0x28]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x34aca5,0xb,_0x5b4a15[0x29]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5b7823,0x10,_0x5b4a15[0x2a]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x457fe6,0x17,_0x5b4a15[0x2b]),_0x1478bd=_0x341bdb(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5cbcc8,0x4,_0x5b4a15[0x2c]),_0x5c0ef2=_0x341bdb(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x378d57,0xb,_0x5b4a15[0x2d]),_0x5d7376=_0x341bdb(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x58eb35,0x10,_0x5b4a15[0x2e]),_0xa6b61b=_0x341bdb(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x92e4c3,0x17,_0x5b4a15[0x2f]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x34aca5,0x6,_0x5b4a15[0x30]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5d5b8d,0xa,_0x5b4a15[0x31]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5ab557,0xf,_0x5b4a15[0x32]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x2becaa,0x15,_0x5b4a15[0x33]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x378d57,0x6,_0x5b4a15[0x34]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x5b7823,0xa,_0x5b4a15[0x35]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x1c98c8,0xf,_0x5b4a15[0x36]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x311b30,0x15,_0x5b4a15[0x37]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x5c7643,0x6,_0x5b4a15[0x38]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x58eb35,0xa,_0x5b4a15[0x39]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x457fe6,0xf,_0x5b4a15[0x3a]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x448c7d,0x15,_0x5b4a15[0x3b]),_0x1478bd=_0x5286dc(_0x1478bd,_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x11f6ac,0x6,_0x5b4a15[0x3c]),_0x5c0ef2=_0x5286dc(_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x5d7376,_0x46e41d,0xa,_0x5b4a15[0x3d]),_0x5d7376=_0x5286dc(_0x5d7376,_0x5c0ef2,_0x1478bd,_0xa6b61b,_0x92e4c3,0xf,_0x5b4a15[0x3e]),_0xa6b61b=_0x5286dc(_0xa6b61b,_0x5d7376,_0x5c0ef2,_0x1478bd,_0x5cbcc8,0x15,_0x5b4a15[0x3f]),_0x1aa235[0x0]=_0x1aa235[0x0]+_0x1478bd|0x0,_0x1aa235[0x1]=_0x1aa235[0x1]+_0xa6b61b|0x0,_0x1aa235[0x2]=_0x1aa235[0x2]+_0x5d7376|0x0,_0x1aa235[0x3]=_0x1aa235[0x3]+_0x5c0ef2|0x0;},'_doFinalize':function(){var _0x46c848=_0xcb1d8a,_0x2e31f3=this[_0x46c848(0x1bb)],_0x260338=_0x2e31f3[_0x46c848(0x23c)],_0x581f6f=this[_0x46c848(0x290)]*0x8,_0xb385be=_0x2e31f3[_0x46c848(0x197)]*0x8;_0x260338[_0xb385be>>>0x5]|=0x80<<0x18-_0xb385be%0x20;var _0x228523=_0x3bac37[_0x46c848(0x368)](_0x581f6f/0x100000000),_0x4b91fe=_0x581f6f;_0x260338[(_0xb385be+0x40>>>0x9<<0x4)+0xf]=(_0x228523<<0x8|_0x228523>>>0x18)&0xff00ff|(_0x228523<<0x18|_0x228523>>>0x8)&0xff00ff00,_0x260338[(_0xb385be+0x40>>>0x9<<0x4)+0xe]=(_0x4b91fe<<0x8|_0x4b91fe>>>0x18)&0xff00ff|(_0x4b91fe<<0x18|_0x4b91fe>>>0x8)&0xff00ff00,_0x2e31f3[_0x46c848(0x197)]=(_0x260338[_0x46c848(0x255)]+0x1)*0x4,this[_0x46c848(0x2c3)]();for(var _0x210c8d=this[_0x46c848(0x2c5)],_0x1f5c31=_0x210c8d['words'],_0x560335=0x0;_0x560335<0x4;_0x560335++){var _0x4351aa=_0x1f5c31[_0x560335];_0x1f5c31[_0x560335]=(_0x4351aa<<0x8|_0x4351aa>>>0x18)&0xff00ff|(_0x4351aa<<0x18|_0x4351aa>>>0x8)&0xff00ff00;}return _0x210c8d;},'clone':function(){var _0x2f9a38=_0xcb1d8a,_0x4556c8=_0x2a2197[_0x2f9a38(0x297)][_0x2f9a38(0x33e)](this);return _0x4556c8[_0x2f9a38(0x2c5)]=this[_0x2f9a38(0x2c5)][_0x2f9a38(0x297)](),_0x4556c8;}});function _0x25ebe8(_0x222f85,_0x49e5a2,_0x179cb6,_0x3e616f,_0x31df26,_0x318b6d,_0x2cf8c3){var _0xcde5d2=_0x222f85+(_0x49e5a2&_0x179cb6|~_0x49e5a2&_0x3e616f)+_0x31df26+_0x2cf8c3;return(_0xcde5d2<<_0x318b6d|_0xcde5d2>>>0x20-_0x318b6d)+_0x49e5a2;}function _0x4f84bb(_0x14040e,_0x29032d,_0x1ca1b4,_0x13ab19,_0x8d1be6,_0x2610d7,_0x225365){var _0xd82c19=_0x14040e+(_0x29032d&_0x13ab19|_0x1ca1b4&~_0x13ab19)+_0x8d1be6+_0x225365;return(_0xd82c19<<_0x2610d7|_0xd82c19>>>0x20-_0x2610d7)+_0x29032d;}function _0x341bdb(_0x387544,_0xe326e9,_0x210854,_0x4e707b,_0x1558cd,_0x41cedd,_0x4c17c4){var _0xd68217=_0x387544+(_0xe326e9^_0x210854^_0x4e707b)+_0x1558cd+_0x4c17c4;return(_0xd68217<<_0x41cedd|_0xd68217>>>0x20-_0x41cedd)+_0xe326e9;}function _0x5286dc(_0x1175a7,_0x37a0ae,_0x33f2d,_0x3b4881,_0x5e1338,_0x1f0e07,_0x34d5a1){var _0x4d4353=_0x1175a7+(_0x33f2d^(_0x37a0ae|~_0x3b4881))+_0x5e1338+_0x34d5a1;return(_0x4d4353<<_0x1f0e07|_0x4d4353>>>0x20-_0x1f0e07)+_0x37a0ae;}_0x2e2991[_0xcb1d8a(0x25c)]=_0x2a2197[_0xcb1d8a(0x375)](_0x47fa1e),_0x2e2991[_0xcb1d8a(0x319)]=_0x2a2197[_0xcb1d8a(0x3a6)](_0x47fa1e);}(Math),_0x498dc1[_0x299e71(0x25c)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x7e3d33(0x2f2)],ti;function Hr(){var _0x28fc3a=_0x7e3d33;return ti||(ti=0x1,function(_0x35d8f1,_0x3d0040){(function(_0x22a905,_0x3f6894){var _0x263bb7=_0x3515;_0x35d8f1[_0x263bb7(0x2f2)]=_0x3f6894(ne());}($r,function(_0x5a8504){var _0x437f4e=_0x3515;return(function(){var _0x571d65=_0x3515,_0x2ada69=_0x5a8504,_0x4aff38=_0x2ada69[_0x571d65(0x3ed)],_0x273c5e=_0x4aff38[_0x571d65(0x39f)],_0x50e306=_0x4aff38[_0x571d65(0x41b)],_0x11312f=_0x2ada69[_0x571d65(0x14b)],_0x1b85bc=[],_0x2f9b2a=_0x11312f['SHA1']=_0x50e306[_0x571d65(0x2a1)]({'_doReset':function(){var _0x247f42=_0x571d65;this[_0x247f42(0x2c5)]=new _0x273c5e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3bad40,_0x305b78){var _0x2c4fa1=_0x571d65;for(var _0x4d3960=this[_0x2c4fa1(0x2c5)][_0x2c4fa1(0x23c)],_0x1a3c2d=_0x4d3960[0x0],_0xb3ff62=_0x4d3960[0x1],_0x4a546d=_0x4d3960[0x2],_0x5fedd4=_0x4d3960[0x3],_0x4c669d=_0x4d3960[0x4],_0x82f73e=0x0;_0x82f73e<0x50;_0x82f73e++){if(_0x82f73e<0x10)_0x1b85bc[_0x82f73e]=_0x3bad40[_0x305b78+_0x82f73e]|0x0;else{var _0xcaa78d=_0x1b85bc[_0x82f73e-0x3]^_0x1b85bc[_0x82f73e-0x8]^_0x1b85bc[_0x82f73e-0xe]^_0x1b85bc[_0x82f73e-0x10];_0x1b85bc[_0x82f73e]=_0xcaa78d<<0x1|_0xcaa78d>>>0x1f;}var _0x1c47cf=(_0x1a3c2d<<0x5|_0x1a3c2d>>>0x1b)+_0x4c669d+_0x1b85bc[_0x82f73e];_0x82f73e<0x14?_0x1c47cf+=(_0xb3ff62&_0x4a546d|~_0xb3ff62&_0x5fedd4)+0x5a827999:_0x82f73e<0x28?_0x1c47cf+=(_0xb3ff62^_0x4a546d^_0x5fedd4)+0x6ed9eba1:_0x82f73e<0x3c?_0x1c47cf+=(_0xb3ff62&_0x4a546d|_0xb3ff62&_0x5fedd4|_0x4a546d&_0x5fedd4)-0x70e44324:_0x1c47cf+=(_0xb3ff62^_0x4a546d^_0x5fedd4)-0x359d3e2a,_0x4c669d=_0x5fedd4,_0x5fedd4=_0x4a546d,_0x4a546d=_0xb3ff62<<0x1e|_0xb3ff62>>>0x2,_0xb3ff62=_0x1a3c2d,_0x1a3c2d=_0x1c47cf;}_0x4d3960[0x0]=_0x4d3960[0x0]+_0x1a3c2d|0x0,_0x4d3960[0x1]=_0x4d3960[0x1]+_0xb3ff62|0x0,_0x4d3960[0x2]=_0x4d3960[0x2]+_0x4a546d|0x0,_0x4d3960[0x3]=_0x4d3960[0x3]+_0x5fedd4|0x0,_0x4d3960[0x4]=_0x4d3960[0x4]+_0x4c669d|0x0;},'_doFinalize':function(){var _0x7ded54=_0x571d65,_0x405db4=this['_data'],_0x298c71=_0x405db4[_0x7ded54(0x23c)],_0x3b12a1=this[_0x7ded54(0x290)]*0x8,_0x57aac0=_0x405db4[_0x7ded54(0x197)]*0x8;return _0x298c71[_0x57aac0>>>0x5]|=0x80<<0x18-_0x57aac0%0x20,_0x298c71[(_0x57aac0+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3b12a1/0x100000000),_0x298c71[(_0x57aac0+0x40>>>0x9<<0x4)+0xf]=_0x3b12a1,_0x405db4[_0x7ded54(0x197)]=_0x298c71[_0x7ded54(0x255)]*0x4,this[_0x7ded54(0x2c3)](),this[_0x7ded54(0x2c5)];},'clone':function(){var _0x2116b0=_0x571d65,_0x3d64f3=_0x50e306['clone'][_0x2116b0(0x33e)](this);return _0x3d64f3[_0x2116b0(0x2c5)]=this[_0x2116b0(0x2c5)]['clone'](),_0x3d64f3;}});_0x2ada69['SHA1']=_0x50e306['_createHelper'](_0x2f9b2a),_0x2ada69[_0x571d65(0x3fb)]=_0x50e306[_0x571d65(0x3a6)](_0x2f9b2a);}()),_0x5a8504[_0x437f4e(0x3f8)];}));}(qe)),qe[_0x28fc3a(0x2f2)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x5dea1e=_0x7e3d33;return ii||(ii=0x1,function(_0xee6749,_0x5e8a94){(function(_0x35e40f,_0x4c0d98){var _0x4c4bc2=_0x3515;_0xee6749[_0x4c4bc2(0x2f2)]=_0x4c0d98(ne());}(kr,function(_0x2ada17){(function(){var _0x57526f=_0x3515,_0x37ef3b=_0x2ada17,_0xaf6bd0=_0x37ef3b[_0x57526f(0x3ed)],_0x1011d7=_0xaf6bd0['Base'],_0x4c2ebe=_0x37ef3b['enc'],_0x41a7af=_0x4c2ebe[_0x57526f(0x2fd)],_0x936f3d=_0x37ef3b[_0x57526f(0x14b)];_0x936f3d[_0x57526f(0x26b)]=_0x1011d7[_0x57526f(0x2a1)]({'init':function(_0x1b93bc,_0x52e2e0){var _0x3002d3=_0x57526f;_0x1b93bc=this[_0x3002d3(0x15b)]=new _0x1b93bc[(_0x3002d3(0x301))](),typeof _0x52e2e0==_0x3002d3(0x252)&&(_0x52e2e0=_0x41a7af[_0x3002d3(0x317)](_0x52e2e0));var _0x3efe8b=_0x1b93bc['blockSize'],_0x200d4a=_0x3efe8b*0x4;_0x52e2e0['sigBytes']>_0x200d4a&&(_0x52e2e0=_0x1b93bc[_0x3002d3(0x299)](_0x52e2e0)),_0x52e2e0[_0x3002d3(0x182)]();for(var _0x693512=this['_oKey']=_0x52e2e0[_0x3002d3(0x297)](),_0xf9739d=this[_0x3002d3(0x1cc)]=_0x52e2e0[_0x3002d3(0x297)](),_0x1f1f23=_0x693512[_0x3002d3(0x23c)],_0xd1b657=_0xf9739d[_0x3002d3(0x23c)],_0x1cb986=0x0;_0x1cb986<_0x3efe8b;_0x1cb986++)_0x1f1f23[_0x1cb986]^=0x5c5c5c5c,_0xd1b657[_0x1cb986]^=0x36363636;_0x693512[_0x3002d3(0x197)]=_0xf9739d[_0x3002d3(0x197)]=_0x200d4a,this[_0x3002d3(0x320)]();},'reset':function(){var _0x8e7f20=_0x57526f,_0x2cdcc4=this[_0x8e7f20(0x15b)];_0x2cdcc4['reset'](),_0x2cdcc4[_0x8e7f20(0x337)](this['_iKey']);},'update':function(_0x42b0aa){return this['_hasher']['update'](_0x42b0aa),this;},'finalize':function(_0x4d14e9){var _0x1383c5=_0x57526f,_0x438fb0=this[_0x1383c5(0x15b)],_0x2bbf0d=_0x438fb0[_0x1383c5(0x299)](_0x4d14e9);_0x438fb0[_0x1383c5(0x320)]();var _0x4f5a7b=_0x438fb0[_0x1383c5(0x299)](this[_0x1383c5(0x1b9)][_0x1383c5(0x297)]()[_0x1383c5(0x35d)](_0x2bbf0d));return _0x4f5a7b;}});}());}));}(ze)),ze[_0x5dea1e(0x2f2)];}var Br=Ye['exports'],ni;function Ui(){var _0x324828=_0x7e3d33;return ni||(ni=0x1,function(_0x5d637c,_0x41db88){(function(_0x3673af,_0x413df3,_0x52311f){var _0x3525b8=_0x3515;_0x5d637c[_0x3525b8(0x2f2)]=_0x413df3(ne(),Hr(),jr());}(Br,function(_0x5ca009){var _0x3ff859=_0x3515;return(function(){var _0x3436e3=_0x3515,_0x3236a9=_0x5ca009,_0x597041=_0x3236a9['lib'],_0x15c4e4=_0x597041[_0x3436e3(0x30b)],_0x11a732=_0x597041[_0x3436e3(0x39f)],_0x3c35e4=_0x3236a9[_0x3436e3(0x14b)],_0x24b3ca=_0x3c35e4[_0x3436e3(0x25c)],_0x317164=_0x3c35e4['EvpKDF']=_0x15c4e4['extend']({'cfg':_0x15c4e4[_0x3436e3(0x2a1)]({'keySize':0x80/0x20,'hasher':_0x24b3ca,'iterations':0x1}),'init':function(_0x4c6a5b){var _0x1bd252=_0x3436e3;this[_0x1bd252(0x2d4)]=this[_0x1bd252(0x2d4)][_0x1bd252(0x2a1)](_0x4c6a5b);},'compute':function(_0xa934b,_0x582edb){var _0x59ebce=_0x3436e3;for(var _0x469127,_0x2d00aa=this[_0x59ebce(0x2d4)],_0x57f581=_0x2d00aa[_0x59ebce(0x2b1)][_0x59ebce(0x274)](),_0x153334=_0x11a732[_0x59ebce(0x274)](),_0x4f2bf4=_0x153334[_0x59ebce(0x23c)],_0x19b8ac=_0x2d00aa[_0x59ebce(0x164)],_0x108416=_0x2d00aa['iterations'];_0x4f2bf4['length']<_0x19b8ac;){_0x469127&&_0x57f581[_0x59ebce(0x337)](_0x469127),_0x469127=_0x57f581[_0x59ebce(0x337)](_0xa934b)[_0x59ebce(0x299)](_0x582edb),_0x57f581[_0x59ebce(0x320)]();for(var _0xe05e06=0x1;_0xe05e06<_0x108416;_0xe05e06++)_0x469127=_0x57f581[_0x59ebce(0x299)](_0x469127),_0x57f581[_0x59ebce(0x320)]();_0x153334['concat'](_0x469127);}return _0x153334[_0x59ebce(0x197)]=_0x19b8ac*0x4,_0x153334;}});_0x3236a9[_0x3436e3(0x1e7)]=function(_0x207e63,_0x433e24,_0x4c9694){var _0x530838=_0x3436e3;return _0x317164['create'](_0x4c9694)[_0x530838(0x198)](_0x207e63,_0x433e24);};}()),_0x5ca009[_0x3ff859(0x1e7)];}));}(Ye)),Ye[_0x324828(0x2f2)];}var Je={'exports':{}},Fr=Je[_0x7e3d33(0x2f2)],ri;function Ai(){var _0x21ea15=_0x7e3d33;return ri||(ri=0x1,function(_0x4d7fa8,_0x430ccc){(function(_0x533322,_0x331dd1,_0x1a97af){_0x4d7fa8['exports']=_0x331dd1(ne(),Ui());}(Fr,function(_0xa29027){var _0xa814d4=_0x3515;_0xa29027[_0xa814d4(0x3ed)][_0xa814d4(0x2af)]||function(_0x2131d7){var _0x2f532c=_0xa814d4,_0x3b1827=_0xa29027,_0x435b10=_0x3b1827['lib'],_0x8f8617=_0x435b10[_0x2f532c(0x30b)],_0x366dbd=_0x435b10[_0x2f532c(0x39f)],_0x24ffd6=_0x435b10[_0x2f532c(0x26d)],_0x4b4f1f=_0x3b1827[_0x2f532c(0x304)];_0x4b4f1f[_0x2f532c(0x2fd)];var _0x555781=_0x4b4f1f['Base64'],_0x19117c=_0x3b1827[_0x2f532c(0x14b)],_0x522ee6=_0x19117c[_0x2f532c(0x1e7)],_0x4d53bb=_0x435b10[_0x2f532c(0x2af)]=_0x24ffd6[_0x2f532c(0x2a1)]({'cfg':_0x8f8617[_0x2f532c(0x2a1)](),'createEncryptor':function(_0x524b9a,_0x13a6dc){var _0x19e555=_0x2f532c;return this[_0x19e555(0x274)](this[_0x19e555(0x180)],_0x524b9a,_0x13a6dc);},'createDecryptor':function(_0x5762aa,_0x30297b){var _0x197056=_0x2f532c;return this[_0x197056(0x274)](this['_DEC_XFORM_MODE'],_0x5762aa,_0x30297b);},'init':function(_0x3e1658,_0x4a79b1,_0x260d96){var _0x4fe7b6=_0x2f532c;this[_0x4fe7b6(0x2d4)]=this[_0x4fe7b6(0x2d4)]['extend'](_0x260d96),this[_0x4fe7b6(0x3f9)]=_0x3e1658,this[_0x4fe7b6(0x2e1)]=_0x4a79b1,this['reset']();},'reset':function(){var _0x205a75=_0x2f532c;_0x24ffd6[_0x205a75(0x320)][_0x205a75(0x33e)](this),this['_doReset']();},'process':function(_0x1b96ea){return this['_append'](_0x1b96ea),this['_process']();},'finalize':function(_0x42dfc7){var _0x29ac37=_0x2f532c;_0x42dfc7&&this[_0x29ac37(0x235)](_0x42dfc7);var _0x44f60b=this[_0x29ac37(0x338)]();return _0x44f60b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x56b6af(_0x51a723){return typeof _0x51a723=='string'?_0x2733c9:_0x58509e;}return function(_0x46e33a){return{'encrypt':function(_0x2adc2a,_0xcadc82,_0x413f96){var _0x2df89e=_0x3515;return _0x56b6af(_0xcadc82)[_0x2df89e(0x32b)](_0x46e33a,_0x2adc2a,_0xcadc82,_0x413f96);},'decrypt':function(_0x446648,_0x5810bf,_0x56fc7b){var _0x426cf6=_0x3515;return _0x56b6af(_0x5810bf)[_0x426cf6(0x3e8)](_0x46e33a,_0x446648,_0x5810bf,_0x56fc7b);}};};}())});_0x435b10[_0x2f532c(0x219)]=_0x4d53bb['extend']({'_doFinalize':function(){var _0x3ad4fe=this['_process'](!0x0);return _0x3ad4fe;},'blockSize':0x1});var _0x418fe1=_0x3b1827[_0x2f532c(0x357)]={},_0xd6a18c=_0x435b10[_0x2f532c(0x258)]=_0x8f8617['extend']({'createEncryptor':function(_0x12fb84,_0x16a890){var _0x10182c=_0x2f532c;return this[_0x10182c(0x34a)][_0x10182c(0x274)](_0x12fb84,_0x16a890);},'createDecryptor':function(_0x23fe36,_0x577396){var _0x472dbf=_0x2f532c;return this[_0x472dbf(0x400)][_0x472dbf(0x274)](_0x23fe36,_0x577396);},'init':function(_0x58533c,_0x29c81e){var _0x404c5d=_0x2f532c;this['_cipher']=_0x58533c,this[_0x404c5d(0x2c1)]=_0x29c81e;}}),_0x39285f=_0x418fe1[_0x2f532c(0x40a)]=(function(){var _0x2fd5d5=_0x2f532c,_0x48df36=_0xd6a18c[_0x2fd5d5(0x2a1)]();_0x48df36[_0x2fd5d5(0x34a)]=_0x48df36['extend']({'processBlock':function(_0x3aa299,_0x3757d8){var _0x10ad09=_0x2fd5d5,_0x59f026=this[_0x10ad09(0x12a)],_0x14d6e6=_0x59f026['blockSize'];_0x16b2a6[_0x10ad09(0x33e)](this,_0x3aa299,_0x3757d8,_0x14d6e6),_0x59f026[_0x10ad09(0x3b4)](_0x3aa299,_0x3757d8),this[_0x10ad09(0x1d9)]=_0x3aa299[_0x10ad09(0x1b1)](_0x3757d8,_0x3757d8+_0x14d6e6);}}),_0x48df36[_0x2fd5d5(0x400)]=_0x48df36[_0x2fd5d5(0x2a1)]({'processBlock':function(_0x44425f,_0x1d760d){var _0x29d78e=_0x2fd5d5,_0x48a7ad=this['_cipher'],_0x27cc3e=_0x48a7ad[_0x29d78e(0x363)],_0x162f0b=_0x44425f[_0x29d78e(0x1b1)](_0x1d760d,_0x1d760d+_0x27cc3e);_0x48a7ad[_0x29d78e(0x2ee)](_0x44425f,_0x1d760d),_0x16b2a6[_0x29d78e(0x33e)](this,_0x44425f,_0x1d760d,_0x27cc3e),this[_0x29d78e(0x1d9)]=_0x162f0b;}});function _0x16b2a6(_0xdd6f69,_0x141f3a,_0x22b0c1){var _0x44c161=_0x2fd5d5,_0x2814d9,_0x41f828=this[_0x44c161(0x2c1)];_0x41f828?(_0x2814d9=_0x41f828,this['_iv']=_0x2131d7):_0x2814d9=this[_0x44c161(0x1d9)];for(var _0x94449e=0x0;_0x94449e<_0x22b0c1;_0x94449e++)_0xdd6f69[_0x141f3a+_0x94449e]^=_0x2814d9[_0x94449e];}return _0x48df36;}()),_0x5b0109=_0x3b1827['pad']={},_0x3456c3=_0x5b0109['Pkcs7']={'pad':function(_0x547b87,_0x1650a0){var _0x3f1ddd=_0x2f532c;for(var _0x5ceb02=_0x1650a0*0x4,_0x53cc06=_0x5ceb02-_0x547b87[_0x3f1ddd(0x197)]%_0x5ceb02,_0x1089ac=_0x53cc06<<0x18|_0x53cc06<<0x10|_0x53cc06<<0x8|_0x53cc06,_0x3b179c=[],_0x2f4f22=0x0;_0x2f4f22<_0x53cc06;_0x2f4f22+=0x4)_0x3b179c[_0x3f1ddd(0x399)](_0x1089ac);var _0x178c16=_0x366dbd[_0x3f1ddd(0x274)](_0x3b179c,_0x53cc06);_0x547b87[_0x3f1ddd(0x35d)](_0x178c16);},'unpad':function(_0x7f6022){var _0x3a7477=_0x2f532c,_0x403e1b=_0x7f6022[_0x3a7477(0x23c)][_0x7f6022[_0x3a7477(0x197)]-0x1>>>0x2]&0xff;_0x7f6022['sigBytes']-=_0x403e1b;}};_0x435b10[_0x2f532c(0x241)]=_0x4d53bb[_0x2f532c(0x2a1)]({'cfg':_0x4d53bb[_0x2f532c(0x2d4)][_0x2f532c(0x2a1)]({'mode':_0x39285f,'padding':_0x3456c3}),'reset':function(){var _0x35cfbb=_0x2f532c,_0x36d58c;_0x4d53bb[_0x35cfbb(0x320)][_0x35cfbb(0x33e)](this);var _0x291420=this[_0x35cfbb(0x2d4)],_0x221f92=_0x291420['iv'],_0x25edcf=_0x291420[_0x35cfbb(0x357)];this[_0x35cfbb(0x3f9)]==this[_0x35cfbb(0x180)]?_0x36d58c=_0x25edcf[_0x35cfbb(0x26e)]:(_0x36d58c=_0x25edcf[_0x35cfbb(0x1c6)],this[_0x35cfbb(0x35c)]=0x1),this[_0x35cfbb(0x329)]&&this[_0x35cfbb(0x329)]['__creator']==_0x36d58c?this[_0x35cfbb(0x329)][_0x35cfbb(0x301)](this,_0x221f92&&_0x221f92['words']):(this[_0x35cfbb(0x329)]=_0x36d58c[_0x35cfbb(0x33e)](_0x25edcf,this,_0x221f92&&_0x221f92[_0x35cfbb(0x23c)]),this['_mode'][_0x35cfbb(0x22f)]=_0x36d58c);},'_doProcessBlock':function(_0x52c642,_0x5d6e92){var _0xa1f76f=_0x2f532c;this[_0xa1f76f(0x329)][_0xa1f76f(0x1e8)](_0x52c642,_0x5d6e92);},'_doFinalize':function(){var _0x31e1d5=_0x2f532c,_0xdc5e71,_0x280a50=this['cfg'][_0x31e1d5(0x24b)];return this[_0x31e1d5(0x3f9)]==this[_0x31e1d5(0x180)]?(_0x280a50['pad'](this[_0x31e1d5(0x1bb)],this[_0x31e1d5(0x363)]),_0xdc5e71=this[_0x31e1d5(0x2c3)](!0x0)):(_0xdc5e71=this[_0x31e1d5(0x2c3)](!0x0),_0x280a50[_0x31e1d5(0x161)](_0xdc5e71)),_0xdc5e71;},'blockSize':0x80/0x20});var _0x1c0b72=_0x435b10[_0x2f532c(0x1d6)]=_0x8f8617[_0x2f532c(0x2a1)]({'init':function(_0x227db8){var _0x57c095=_0x2f532c;this[_0x57c095(0x3d3)](_0x227db8);},'toString':function(_0x59bccd){var _0x11ab3f=_0x2f532c;return(_0x59bccd||this[_0x11ab3f(0x24f)])[_0x11ab3f(0x228)](this);}}),_0x232250=_0x3b1827[_0x2f532c(0x28e)]={},_0x126e6f=_0x232250[_0x2f532c(0x3e1)]={'stringify':function(_0x13bfa6){var _0x147dec=_0x2f532c,_0x39f8cb,_0x294259=_0x13bfa6['ciphertext'],_0x1e2306=_0x13bfa6['salt'];return _0x1e2306?_0x39f8cb=_0x366dbd['create']([0x53616c74,0x65645f5f])['concat'](_0x1e2306)[_0x147dec(0x35d)](_0x294259):_0x39f8cb=_0x294259,_0x39f8cb[_0x147dec(0x328)](_0x555781);},'parse':function(_0x35d49c){var _0xdaacab=_0x2f532c,_0x37249d,_0x38d0be=_0x555781['parse'](_0x35d49c),_0x3b67fe=_0x38d0be['words'];return _0x3b67fe[0x0]==0x53616c74&&_0x3b67fe[0x1]==0x65645f5f&&(_0x37249d=_0x366dbd[_0xdaacab(0x274)](_0x3b67fe[_0xdaacab(0x1b1)](0x2,0x4)),_0x3b67fe[_0xdaacab(0x1b7)](0x0,0x4),_0x38d0be[_0xdaacab(0x197)]-=0x10),_0x1c0b72['create']({'ciphertext':_0x38d0be,'salt':_0x37249d});}},_0x58509e=_0x435b10[_0x2f532c(0x411)]=_0x8f8617[_0x2f532c(0x2a1)]({'cfg':_0x8f8617[_0x2f532c(0x2a1)]({'format':_0x126e6f}),'encrypt':function(_0x405bca,_0x444abc,_0x24ac02,_0x422e4d){var _0xbd3106=_0x2f532c;_0x422e4d=this[_0xbd3106(0x2d4)][_0xbd3106(0x2a1)](_0x422e4d);var _0x28beb3=_0x405bca[_0xbd3106(0x26e)](_0x24ac02,_0x422e4d),_0x11a311=_0x28beb3[_0xbd3106(0x299)](_0x444abc),_0x1afc0a=_0x28beb3[_0xbd3106(0x2d4)];return _0x1c0b72[_0xbd3106(0x274)]({'ciphertext':_0x11a311,'key':_0x24ac02,'iv':_0x1afc0a['iv'],'algorithm':_0x405bca,'mode':_0x1afc0a[_0xbd3106(0x357)],'padding':_0x1afc0a[_0xbd3106(0x24b)],'blockSize':_0x405bca[_0xbd3106(0x363)],'formatter':_0x422e4d[_0xbd3106(0x28e)]});},'decrypt':function(_0xba7b44,_0xc96f88,_0x4e5960,_0xfee467){var _0x1192c3=_0x2f532c;_0xfee467=this[_0x1192c3(0x2d4)][_0x1192c3(0x2a1)](_0xfee467),_0xc96f88=this[_0x1192c3(0x190)](_0xc96f88,_0xfee467['format']);var _0x498431=_0xba7b44['createDecryptor'](_0x4e5960,_0xfee467)[_0x1192c3(0x299)](_0xc96f88[_0x1192c3(0x2cf)]);return _0x498431;},'_parse':function(_0x415c5c,_0x33c86e){var _0x3782fd=_0x2f532c;return typeof _0x415c5c==_0x3782fd(0x252)?_0x33c86e['parse'](_0x415c5c,this):_0x415c5c;}}),_0x495dfa=_0x3b1827[_0x2f532c(0x3e6)]={},_0x5b9bd0=_0x495dfa[_0x2f532c(0x3e1)]={'execute':function(_0x5d8933,_0x27f7a2,_0x4f3802,_0x184abc,_0x24fbdd){var _0x2e3f12=_0x2f532c;if(_0x184abc||(_0x184abc=_0x366dbd[_0x2e3f12(0x416)](0x40/0x8)),_0x24fbdd)var _0x2ad972=_0x522ee6[_0x2e3f12(0x274)]({'keySize':_0x27f7a2+_0x4f3802,'hasher':_0x24fbdd})['compute'](_0x5d8933,_0x184abc);else var _0x2ad972=_0x522ee6['create']({'keySize':_0x27f7a2+_0x4f3802})[_0x2e3f12(0x198)](_0x5d8933,_0x184abc);var _0xda388c=_0x366dbd[_0x2e3f12(0x274)](_0x2ad972[_0x2e3f12(0x23c)][_0x2e3f12(0x1b1)](_0x27f7a2),_0x4f3802*0x4);return _0x2ad972['sigBytes']=_0x27f7a2*0x4,_0x1c0b72[_0x2e3f12(0x274)]({'key':_0x2ad972,'iv':_0xda388c,'salt':_0x184abc});}},_0x2733c9=_0x435b10[_0x2f532c(0x16e)]=_0x58509e[_0x2f532c(0x2a1)]({'cfg':_0x58509e['cfg'][_0x2f532c(0x2a1)]({'kdf':_0x5b9bd0}),'encrypt':function(_0x3f0e16,_0x55b302,_0xb79497,_0x2253bf){var _0x160c92=_0x2f532c;_0x2253bf=this[_0x160c92(0x2d4)][_0x160c92(0x2a1)](_0x2253bf);var _0x37da47=_0x2253bf[_0x160c92(0x3e6)]['execute'](_0xb79497,_0x3f0e16[_0x160c92(0x164)],_0x3f0e16[_0x160c92(0x12e)],_0x2253bf[_0x160c92(0x225)],_0x2253bf[_0x160c92(0x2b1)]);_0x2253bf['iv']=_0x37da47['iv'];var _0x3e6823=_0x58509e[_0x160c92(0x32b)][_0x160c92(0x33e)](this,_0x3f0e16,_0x55b302,_0x37da47[_0x160c92(0x163)],_0x2253bf);return _0x3e6823[_0x160c92(0x3d3)](_0x37da47),_0x3e6823;},'decrypt':function(_0x3e709f,_0x522753,_0x2d2448,_0x1e348d){var _0x467dc5=_0x2f532c;_0x1e348d=this[_0x467dc5(0x2d4)][_0x467dc5(0x2a1)](_0x1e348d),_0x522753=this[_0x467dc5(0x190)](_0x522753,_0x1e348d[_0x467dc5(0x28e)]);var _0xbe9946=_0x1e348d[_0x467dc5(0x3e6)][_0x467dc5(0x23a)](_0x2d2448,_0x3e709f[_0x467dc5(0x164)],_0x3e709f['ivSize'],_0x522753[_0x467dc5(0x225)],_0x1e348d['hasher']);_0x1e348d['iv']=_0xbe9946['iv'];var _0x5a2b05=_0x58509e['decrypt'][_0x467dc5(0x33e)](this,_0x3e709f,_0x522753,_0xbe9946[_0x467dc5(0x163)],_0x1e348d);return _0x5a2b05;}});}();}));}(Je)),Je[_0x21ea15(0x2f2)];}var Vr=Ve['exports'],si;function Gr(){var _0x2a3fe7=_0x7e3d33;return si||(si=0x1,function(_0xde4642,_0x1ba52a){(function(_0x31e99a,_0x32cc42,_0x16f35b){var _0xa60df9=_0x3515;_0xde4642[_0xa60df9(0x2f2)]=_0x32cc42(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xdd8e90){var _0x413fa2=_0x3515;return(function(){var _0xfb39a9=_0x3515,_0x726778=_0xdd8e90,_0xf51768=_0x726778[_0xfb39a9(0x3ed)],_0x32b43a=_0xf51768[_0xfb39a9(0x241)],_0x466f20=_0x726778[_0xfb39a9(0x14b)],_0x42ea59=[],_0x116ef0=[],_0xdb8b68=[],_0x44af2c=[],_0x2a43b8=[],_0x53f01a=[],_0x182e29=[],_0x477f02=[],_0x732fc1=[],_0x387768=[];(function(){for(var _0x2e5598=[],_0x3db337=0x0;_0x3db337<0x100;_0x3db337++)_0x3db337<0x80?_0x2e5598[_0x3db337]=_0x3db337<<0x1:_0x2e5598[_0x3db337]=_0x3db337<<0x1^0x11b;for(var _0x168a85=0x0,_0x1f57aa=0x0,_0x3db337=0x0;_0x3db337<0x100;_0x3db337++){var _0x5194c9=_0x1f57aa^_0x1f57aa<<0x1^_0x1f57aa<<0x2^_0x1f57aa<<0x3^_0x1f57aa<<0x4;_0x5194c9=_0x5194c9>>>0x8^_0x5194c9&0xff^0x63,_0x42ea59[_0x168a85]=_0x5194c9,_0x116ef0[_0x5194c9]=_0x168a85;var _0x3c8005=_0x2e5598[_0x168a85],_0x4a36f4=_0x2e5598[_0x3c8005],_0x1e1329=_0x2e5598[_0x4a36f4],_0x52ec51=_0x2e5598[_0x5194c9]*0x101^_0x5194c9*0x1010100;_0xdb8b68[_0x168a85]=_0x52ec51<<0x18|_0x52ec51>>>0x8,_0x44af2c[_0x168a85]=_0x52ec51<<0x10|_0x52ec51>>>0x10,_0x2a43b8[_0x168a85]=_0x52ec51<<0x8|_0x52ec51>>>0x18,_0x53f01a[_0x168a85]=_0x52ec51;var _0x52ec51=_0x1e1329*0x1010101^_0x4a36f4*0x10001^_0x3c8005*0x101^_0x168a85*0x1010100;_0x182e29[_0x5194c9]=_0x52ec51<<0x18|_0x52ec51>>>0x8,_0x477f02[_0x5194c9]=_0x52ec51<<0x10|_0x52ec51>>>0x10,_0x732fc1[_0x5194c9]=_0x52ec51<<0x8|_0x52ec51>>>0x18,_0x387768[_0x5194c9]=_0x52ec51,_0x168a85?(_0x168a85=_0x3c8005^_0x2e5598[_0x2e5598[_0x2e5598[_0x1e1329^_0x3c8005]]],_0x1f57aa^=_0x2e5598[_0x2e5598[_0x1f57aa]]):_0x168a85=_0x1f57aa=0x1;}}());var _0x14502e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x137720=_0x466f20[_0xfb39a9(0x2ed)]=_0x32b43a[_0xfb39a9(0x2a1)]({'_doReset':function(){var _0x12c53f=_0xfb39a9,_0x152231;if(!(this[_0x12c53f(0x158)]&&this['_keyPriorReset']===this[_0x12c53f(0x2e1)])){for(var _0x5f09b7=this[_0x12c53f(0x1fe)]=this[_0x12c53f(0x2e1)],_0x43eec0=_0x5f09b7['words'],_0x402dcb=_0x5f09b7[_0x12c53f(0x197)]/0x4,_0x24f997=this[_0x12c53f(0x158)]=_0x402dcb+0x6,_0x97ce57=(_0x24f997+0x1)*0x4,_0x3cabfb=this[_0x12c53f(0x409)]=[],_0x488e09=0x0;_0x488e09<_0x97ce57;_0x488e09++)_0x488e09<_0x402dcb?_0x3cabfb[_0x488e09]=_0x43eec0[_0x488e09]:(_0x152231=_0x3cabfb[_0x488e09-0x1],_0x488e09%_0x402dcb?_0x402dcb>0x6&&_0x488e09%_0x402dcb==0x4&&(_0x152231=_0x42ea59[_0x152231>>>0x18]<<0x18|_0x42ea59[_0x152231>>>0x10&0xff]<<0x10|_0x42ea59[_0x152231>>>0x8&0xff]<<0x8|_0x42ea59[_0x152231&0xff]):(_0x152231=_0x152231<<0x8|_0x152231>>>0x18,_0x152231=_0x42ea59[_0x152231>>>0x18]<<0x18|_0x42ea59[_0x152231>>>0x10&0xff]<<0x10|_0x42ea59[_0x152231>>>0x8&0xff]<<0x8|_0x42ea59[_0x152231&0xff],_0x152231^=_0x14502e[_0x488e09/_0x402dcb|0x0]<<0x18),_0x3cabfb[_0x488e09]=_0x3cabfb[_0x488e09-_0x402dcb]^_0x152231);for(var _0x40d2ae=this[_0x12c53f(0x38b)]=[],_0x52ac21=0x0;_0x52ac21<_0x97ce57;_0x52ac21++){var _0x488e09=_0x97ce57-_0x52ac21;if(_0x52ac21%0x4)var _0x152231=_0x3cabfb[_0x488e09];else var _0x152231=_0x3cabfb[_0x488e09-0x4];_0x52ac21<0x4||_0x488e09<=0x4?_0x40d2ae[_0x52ac21]=_0x152231:_0x40d2ae[_0x52ac21]=_0x182e29[_0x42ea59[_0x152231>>>0x18]]^_0x477f02[_0x42ea59[_0x152231>>>0x10&0xff]]^_0x732fc1[_0x42ea59[_0x152231>>>0x8&0xff]]^_0x387768[_0x42ea59[_0x152231&0xff]];}}},'encryptBlock':function(_0x3bc757,_0x204cb6){var _0x5eaca1=_0xfb39a9;this[_0x5eaca1(0x3f0)](_0x3bc757,_0x204cb6,this[_0x5eaca1(0x409)],_0xdb8b68,_0x44af2c,_0x2a43b8,_0x53f01a,_0x42ea59);},'decryptBlock':function(_0x473878,_0x2c98c1){var _0x536c65=_0xfb39a9,_0x909c17=_0x473878[_0x2c98c1+0x1];_0x473878[_0x2c98c1+0x1]=_0x473878[_0x2c98c1+0x3],_0x473878[_0x2c98c1+0x3]=_0x909c17,this['_doCryptBlock'](_0x473878,_0x2c98c1,this[_0x536c65(0x38b)],_0x182e29,_0x477f02,_0x732fc1,_0x387768,_0x116ef0);var _0x909c17=_0x473878[_0x2c98c1+0x1];_0x473878[_0x2c98c1+0x1]=_0x473878[_0x2c98c1+0x3],_0x473878[_0x2c98c1+0x3]=_0x909c17;},'_doCryptBlock':function(_0x521b24,_0x5e4d81,_0xcdf24,_0x5574a4,_0x4c5457,_0x1fc324,_0x35bc3e,_0x55f25b){for(var _0x4b6aa1=this['_nRounds'],_0x321b7f=_0x521b24[_0x5e4d81]^_0xcdf24[0x0],_0x2171f8=_0x521b24[_0x5e4d81+0x1]^_0xcdf24[0x1],_0x1b0b8b=_0x521b24[_0x5e4d81+0x2]^_0xcdf24[0x2],_0x3cc782=_0x521b24[_0x5e4d81+0x3]^_0xcdf24[0x3],_0x1975b1=0x4,_0x40628a=0x1;_0x40628a<_0x4b6aa1;_0x40628a++){var _0x666212=_0x5574a4[_0x321b7f>>>0x18]^_0x4c5457[_0x2171f8>>>0x10&0xff]^_0x1fc324[_0x1b0b8b>>>0x8&0xff]^_0x35bc3e[_0x3cc782&0xff]^_0xcdf24[_0x1975b1++],_0x59e934=_0x5574a4[_0x2171f8>>>0x18]^_0x4c5457[_0x1b0b8b>>>0x10&0xff]^_0x1fc324[_0x3cc782>>>0x8&0xff]^_0x35bc3e[_0x321b7f&0xff]^_0xcdf24[_0x1975b1++],_0xa2e32a=_0x5574a4[_0x1b0b8b>>>0x18]^_0x4c5457[_0x3cc782>>>0x10&0xff]^_0x1fc324[_0x321b7f>>>0x8&0xff]^_0x35bc3e[_0x2171f8&0xff]^_0xcdf24[_0x1975b1++],_0x384948=_0x5574a4[_0x3cc782>>>0x18]^_0x4c5457[_0x321b7f>>>0x10&0xff]^_0x1fc324[_0x2171f8>>>0x8&0xff]^_0x35bc3e[_0x1b0b8b&0xff]^_0xcdf24[_0x1975b1++];_0x321b7f=_0x666212,_0x2171f8=_0x59e934,_0x1b0b8b=_0xa2e32a,_0x3cc782=_0x384948;}var _0x666212=(_0x55f25b[_0x321b7f>>>0x18]<<0x18|_0x55f25b[_0x2171f8>>>0x10&0xff]<<0x10|_0x55f25b[_0x1b0b8b>>>0x8&0xff]<<0x8|_0x55f25b[_0x3cc782&0xff])^_0xcdf24[_0x1975b1++],_0x59e934=(_0x55f25b[_0x2171f8>>>0x18]<<0x18|_0x55f25b[_0x1b0b8b>>>0x10&0xff]<<0x10|_0x55f25b[_0x3cc782>>>0x8&0xff]<<0x8|_0x55f25b[_0x321b7f&0xff])^_0xcdf24[_0x1975b1++],_0xa2e32a=(_0x55f25b[_0x1b0b8b>>>0x18]<<0x18|_0x55f25b[_0x3cc782>>>0x10&0xff]<<0x10|_0x55f25b[_0x321b7f>>>0x8&0xff]<<0x8|_0x55f25b[_0x2171f8&0xff])^_0xcdf24[_0x1975b1++],_0x384948=(_0x55f25b[_0x3cc782>>>0x18]<<0x18|_0x55f25b[_0x321b7f>>>0x10&0xff]<<0x10|_0x55f25b[_0x2171f8>>>0x8&0xff]<<0x8|_0x55f25b[_0x1b0b8b&0xff])^_0xcdf24[_0x1975b1++];_0x521b24[_0x5e4d81]=_0x666212,_0x521b24[_0x5e4d81+0x1]=_0x59e934,_0x521b24[_0x5e4d81+0x2]=_0xa2e32a,_0x521b24[_0x5e4d81+0x3]=_0x384948;},'keySize':0x100/0x20});_0x726778[_0xfb39a9(0x2ed)]=_0x32b43a[_0xfb39a9(0x375)](_0x137720);}()),_0xdd8e90[_0x413fa2(0x2ed)];}));}(Ve)),Ve[_0x2a3fe7(0x2f2)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x7e3d33(0x2f2)],ai;function zr(){var _0x48422a=_0x7e3d33;return ai||(ai=0x1,function(_0x2df7de,_0x400d45){(function(_0x389924,_0x29f0c8){var _0x21dde9=_0x3515;_0x2df7de[_0x21dde9(0x2f2)]=_0x29f0c8(ne());}(qr,function(_0x4ab986){return _0x4ab986['enc']['Utf8'];}));}(Xe)),Xe[_0x48422a(0x2f2)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x7e3d33(0x2f2)],ci;function Qr(){var _0x4dfa1c=_0x7e3d33;return ci||(ci=0x1,function(_0xc1aea9,_0x4a4be1){(function(_0x24112c,_0x3b1bb5){_0xc1aea9['exports']=_0x3b1bb5(ne());}(Zr,function(_0x4824ea){var _0x41752c=_0x3515;return(function(){var _0x54ace7=_0x3515;if(typeof ArrayBuffer==_0x54ace7(0x2ea)){var _0x5a1318=_0x4824ea,_0x55bf07=_0x5a1318['lib'],_0x55d426=_0x55bf07[_0x54ace7(0x39f)],_0x374ad4=_0x55d426[_0x54ace7(0x301)],_0x543d5a=_0x55d426[_0x54ace7(0x301)]=function(_0x3e343a){var _0x9e6c05=_0x54ace7;if(_0x3e343a instanceof ArrayBuffer&&(_0x3e343a=new Uint8Array(_0x3e343a)),(_0x3e343a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e343a instanceof Uint8ClampedArray||_0x3e343a instanceof Int16Array||_0x3e343a instanceof Uint16Array||_0x3e343a instanceof Int32Array||_0x3e343a instanceof Uint32Array||_0x3e343a instanceof Float32Array||_0x3e343a instanceof Float64Array)&&(_0x3e343a=new Uint8Array(_0x3e343a[_0x9e6c05(0x1d7)],_0x3e343a[_0x9e6c05(0x3e4)],_0x3e343a[_0x9e6c05(0x284)])),_0x3e343a instanceof Uint8Array){for(var _0x5769cd=_0x3e343a['byteLength'],_0x1f947b=[],_0x41a8d=0x0;_0x41a8d<_0x5769cd;_0x41a8d++)_0x1f947b[_0x41a8d>>>0x2]|=_0x3e343a[_0x41a8d]<<0x18-_0x41a8d%0x4*0x8;_0x374ad4[_0x9e6c05(0x33e)](this,_0x1f947b,_0x5769cd);}else _0x374ad4['apply'](this,arguments);};_0x543d5a['prototype']=_0x55d426;}}()),_0x4824ea[_0x41752c(0x3ed)][_0x41752c(0x39f)];}));}(Ze)),Ze[_0x4dfa1c(0x2f2)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x56cac5=_0x7e3d33;return hi||(hi=0x1,function(_0x4c9823,_0x57e4c6){(function(_0x2529a2,_0x3ed4e3,_0x4e17d7){_0x4c9823['exports']=_0x3ed4e3(ne(),Ai());}(is,function(_0x3b8583){var _0x2754e4=_0x3515;return _0x3b8583[_0x2754e4(0x17e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3b8583[_0x2754e4(0x17e)][_0x2754e4(0x41a)];}));}(Qe)),Qe[_0x56cac5(0x2f2)];}var rs=ns();const ss=ke(rs);function os(_0x519a88,_0x133eeb){var _0x4f5767=_0x7e3d33;const _0x1231e3=_0x133eeb-_0x519a88['length']%_0x133eeb,_0xd9c622=String[_0x4f5767(0x191)](_0x1231e3)[_0x4f5767(0x35b)](_0x1231e3);return _0x519a88+_0xd9c622;}function as(_0x4f0959,_0x2a903e){var _0x4b7331=_0x7e3d33;const _0x592016=ts[_0x4b7331(0x416)](0x10),_0x258bae=os(_0x4f0959,0x10),_0x482d82=Kr[_0x4b7331(0x32b)](Xr['parse'](_0x258bae),oi['parse'](_0x2a903e),{'iv':_0x592016,'padding':ss});return _0x592016[_0x4b7331(0x35d)](_0x482d82['ciphertext'])[_0x4b7331(0x328)](oi);}function cs(){var _0xc9cdb4=_0x7e3d33;const _0x567838=_0x13dc85()[_0xc9cdb4(0x413)];if(_0x567838){const _0x3c9ec9={'time':Math[_0xc9cdb4(0x368)](Date[_0xc9cdb4(0x242)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0xc9cdb4(0x228)](_0x3c9ec9),_0x567838);}}var hs=Object['defineProperty'],_s=Object[_0x7e3d33(0x31d)],ls=(_0x474ca9,_0x304808,_0x561be6,_0x5b630b)=>{var _0x51c2dd=_0x7e3d33;for(var _0x44f90a=_0x5b630b>0x1?void 0x0:_0x5b630b?_s(_0x304808,_0x561be6):_0x304808,_0x2e95eb=_0x474ca9[_0x51c2dd(0x255)]-0x1,_0x14e3f5;_0x2e95eb>=0x0;_0x2e95eb--)(_0x14e3f5=_0x474ca9[_0x2e95eb])&&(_0x44f90a=(_0x5b630b?_0x14e3f5(_0x304808,_0x561be6,_0x44f90a):_0x14e3f5(_0x44f90a))||_0x44f90a);return _0x5b630b&&_0x44f90a&&hs(_0x304808,_0x561be6,_0x44f90a),_0x44f90a;},us=(_0x2e10b1,_0x5466e8)=>(_0x464351,_0x3ef5f7)=>_0x5466e8(_0x464351,_0x3ef5f7,_0x2e10b1);let ot=class{constructor(_0x4961c9){var _0x5307c8=_0x7e3d33;this[_0x5307c8(0x31b)]=_0x4961c9,this[_0x5307c8(0x3c6)]();}[_0x7e3d33(0x3c6)](){var _0x4cd045=_0x7e3d33;this[_0x4cd045(0x31b)][_0x4cd045(0x153)]({'interceptor':(_0x2df3c3,_0x5a4990)=>{var _0x174b1e=_0x4cd045;const _0x45bb47=_0x2df3c3['headers'],_0x492ada=cs();return _0x492ada&&_0x45bb47[_0x174b1e(0x3c8)](_0x174b1e(0x194),_0x492ada),_0x5a4990(_0x2df3c3);}});}};ot=ls([us(0x0,_0x46e7fc(_0x13eabd))],ot);var ds=Object['defineProperty'],fs=Object[_0x7e3d33(0x31d)],vs=(_0x2e97ff,_0x31ccaf,_0x1be679,_0x1986e1)=>{var _0x341103=_0x7e3d33;for(var _0x164c93=_0x1986e1>0x1?void 0x0:_0x1986e1?fs(_0x31ccaf,_0x1be679):_0x31ccaf,_0xb79a61=_0x2e97ff[_0x341103(0x255)]-0x1,_0x138f8d;_0xb79a61>=0x0;_0xb79a61--)(_0x138f8d=_0x2e97ff[_0xb79a61])&&(_0x164c93=(_0x1986e1?_0x138f8d(_0x31ccaf,_0x1be679,_0x164c93):_0x138f8d(_0x164c93))||_0x164c93);return _0x1986e1&&_0x164c93&&ds(_0x31ccaf,_0x1be679,_0x164c93),_0x164c93;},mt=(_0x293cba,_0x4d2d8e)=>(_0x245796,_0x384b26)=>_0x4d2d8e(_0x245796,_0x384b26,_0x293cba);let Ot=class extends _0x2a0262{constructor(_0x4f6925,_0x41c84d,_0x3e41f5){var _0x1c6127=_0x7e3d33;super(),N(this,_0x1c6127(0x1a3),new _0x33cf72(null)),N(this,_0x1c6127(0x30a),this['_unitInfo$'][_0x1c6127(0x2b7)]()),(this[_0x1c6127(0x261)]=_0x4f6925,this[_0x1c6127(0x24a)]=_0x41c84d,this[_0x1c6127(0x305)]=_0x3e41f5);}async[_0x7e3d33(0x146)](_0x18d371,_0x4da007,_0x37e61f){var _0x5170b9=_0x7e3d33;this['_unitInfo$'][_0x5170b9(0x18a)]({'unitId':_0x18d371,'type':_0x4da007,'subUnitId':_0x37e61f});let _0x3e835b=null;switch(_0x4da007){case Q[_0x5170b9(0x33b)]:{_0x3e835b=await this['_loadSheet'](_0x18d371);break;}case Q['UNIVER_DOC']:{_0x3e835b=await this[_0x5170b9(0x3a9)](_0x18d371);break;}default:{this[_0x5170b9(0x261)][_0x5170b9(0x129)]('[DataLoaderService]',_0x5170b9(0x39e));break;}}return _0x3e835b;}async[_0x7e3d33(0x360)](_0x3a4c76){var _0x5f87e2=_0x7e3d33,_0x8abcd3;let _0x35e361=0x0;const _0x43ed4d=await((_0x8abcd3=this[_0x5f87e2(0x305)])==null?void 0x0:_0x8abcd3[_0x5f87e2(0x2a2)](_0x3a4c76));return _0x43ed4d&&(_0x43ed4d[_0x5f87e2(0x418)]||_0x43ed4d['mutations'][_0x5f87e2(0x255)]!==0x0)&&(_0x35e361=_0x43ed4d['rev']),_0x35e361===0x0&&this[_0x5f87e2(0x261)][_0x5f87e2(0x2e4)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5f87e2(0x24a)]['loadSheet'](_0x3a4c76,_0x35e361);}async[_0x7e3d33(0x3a9)](_0x1ab97a){var _0x4f0a91=_0x7e3d33,_0x4e430c;let _0x268f75=0x0;const _0xd3f14a=await((_0x4e430c=this[_0x4f0a91(0x305)])==null?void 0x0:_0x4e430c[_0x4f0a91(0x2a2)](_0x1ab97a));return _0xd3f14a&&(_0xd3f14a[_0x4f0a91(0x418)]||_0xd3f14a[_0x4f0a91(0x1f9)][_0x4f0a91(0x255)]!==0x0)&&(_0x268f75=_0xd3f14a['rev']),_0x268f75===0x0&&this[_0x4f0a91(0x261)][_0x4f0a91(0x2e4)](_0x4f0a91(0x3bd),_0x4f0a91(0x2c9)),this[_0x4f0a91(0x24a)][_0x4f0a91(0x32d)](_0x1ab97a,_0x268f75);}};Ot=vs([mt(0x0,_0x3f2d03),mt(0x1,_0x46e7fc(_0x386dba)),mt(0x2,_0x34330d(J))],Ot);var ps=Object[_0x7e3d33(0x349)],ms=Object[_0x7e3d33(0x31d)],gs=(_0x4cd408,_0x55f696,_0x52ed38,_0x465733)=>{var _0x497efd=_0x7e3d33;for(var _0x3b04dc=_0x465733>0x1?void 0x0:_0x465733?ms(_0x55f696,_0x52ed38):_0x55f696,_0x2b2402=_0x4cd408[_0x497efd(0x255)]-0x1,_0x35d4a2;_0x2b2402>=0x0;_0x2b2402--)(_0x35d4a2=_0x4cd408[_0x2b2402])&&(_0x3b04dc=(_0x465733?_0x35d4a2(_0x55f696,_0x52ed38,_0x3b04dc):_0x35d4a2(_0x3b04dc))||_0x3b04dc);return _0x465733&&_0x3b04dc&&ps(_0x55f696,_0x52ed38,_0x3b04dc),_0x3b04dc;},gt=(_0x1f0017,_0x2c624e)=>(_0x531a32,_0x5027c2)=>_0x2c624e(_0x531a32,_0x5027c2,_0x1f0017);const Ss=[_0x7e3d33(0x391),_0x7e3d33(0x173),'image/jpg',_0x7e3d33(0x39b),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x7e3d33(0x22e),Ts=_0x7e3d33(0x36d),Cs=_0x7e3d33(0x3e5),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x153db7,_0x3aade7,_0x346865){var _0x1efc01=_0x7e3d33;N(this,_0x1efc01(0x31c),0x0),N(this,_0x1efc01(0x365),new _0x5a35c2()),N(this,'change$',this[_0x1efc01(0x365)]),N(this,_0x1efc01(0x309),new Map()),(this[_0x1efc01(0x31b)]=_0x153db7,this[_0x1efc01(0x38d)]=_0x3aade7,this[_0x1efc01(0x12d)]=_0x346865);}['setWaitCount'](_0x519030){var _0xa8d9cc=_0x7e3d33;this[_0xa8d9cc(0x31c)]=_0x519030,this[_0xa8d9cc(0x365)][_0xa8d9cc(0x18a)](_0x519030);}['getImageSourceCache'](_0x47113e,_0x4fd494){var _0x529f94=_0x7e3d33;if(_0x4fd494===_0x23ae5a[_0x529f94(0x40c)]){const _0x101c3f=new Image();return _0x101c3f[_0x529f94(0x130)]=_0x47113e,_0x101c3f;}return this[_0x529f94(0x309)][_0x529f94(0x1e6)](_0x47113e);}[_0x7e3d33(0x2d2)](_0x55beda,_0x8107d6,_0x3a8e4a){var _0x2c23af=_0x7e3d33;_0x8107d6===_0x23ae5a[_0x2c23af(0x40c)]||_0x3a8e4a==null||this[_0x2c23af(0x309)][_0x2c23af(0x3c8)](_0x55beda,_0x3a8e4a);}async[_0x7e3d33(0x323)](_0x528be1){var _0x5b411f=_0x7e3d33;try{const _0x478edc=this[_0x5b411f(0x276)](this['_getSignURL'](),''+_0x528be1),_0x1fb983=(await this[_0x5b411f(0x31b)][_0x5b411f(0x1e6)](_0x478edc))['body'];if(_0x1fb983[_0x5b411f(0x129)]&&_0x1fb983[_0x5b411f(0x129)][_0x5b411f(0x2ef)]===Ii['OK']){const _0x1cba2a=new URL(_0x1fb983['url'],this[_0x5b411f(0x3c2)]())['toString']();return Promise['resolve'](_0x1cba2a);}return Promise['reject'](_0x1fb983[_0x5b411f(0x129)]);}catch(_0x25f85e){return Promise[_0x5b411f(0x372)](_0x25f85e);}}async[_0x7e3d33(0x1d5)](_0xa2558b){var _0x56d3b2=_0x7e3d33;let _0x40ec3d='';if(!Ss[_0x56d3b2(0x3f6)](_0xa2558b['type']))return this['_decreaseWaiting'](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x28d)]));if(_0xa2558b[_0x56d3b2(0x21c)]>Es)return this[_0x56d3b2(0x3bc)](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x1f3)]));try{const _0x4f05af=new FormData();_0x4f05af['append'](_0x56d3b2(0x220),_0xa2558b);const _0x2e5d70=this[_0x56d3b2(0x12d)][_0x56d3b2(0x278)](),_0xb83274=_0x2e5d70==null?void 0x0:_0x2e5d70['getUnitId']();if(!_0xb83274)throw new Error(_0x56d3b2(0x2d7));const _0x172940=this['_getUploadFileURL']()+_0x56d3b2(0x1b5)+_0xa2558b[_0x56d3b2(0x21c)]['toString']()+_0x56d3b2(0x38c)+Ti[_0x56d3b2(0x2a3)]+_0x56d3b2(0x2e0)+encodeURIComponent(_0xb83274),_0x33151a=await(await fetch(_0x172940,{'method':_0x56d3b2(0x344),'body':_0x4f05af}))[_0x56d3b2(0x234)]();if(typeof _0x33151a['FileId']!=_0x56d3b2(0x252))return this[_0x56d3b2(0x3bc)](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x156)]));_0x40ec3d=_0x33151a[_0x56d3b2(0x29c)];}catch{return this[_0x56d3b2(0x3bc)](),Promise[_0x56d3b2(0x372)](new Error(_0x2c27f6[_0x56d3b2(0x156)]));}return new Promise((_0x5170d1,_0x53d59a)=>{var _0xba5e05=_0x56d3b2;const _0x172916=new FileReader();_0x172916['readAsDataURL'](_0xa2558b),_0x172916[_0xba5e05(0x3b8)]=_0x138a07=>{var _0x1a5abc=_0xba5e05,_0x518596;const _0x460c4f=(_0x518596=_0x138a07['target'])==null?void 0x0:_0x518596[_0x1a5abc(0x186)];if(_0x460c4f==null){this[_0x1a5abc(0x3bc)](),_0x53d59a(new Error(_0x2c27f6['ERROR_IMAGE']));return;}const _0x255972=_0x50aabe[_0x1a5abc(0x2c0)](0x6);_0x5170d1({'imageId':_0x255972,'imageSourceType':_0x23ae5a[_0x1a5abc(0x1a4)],'source':_0x40ec3d,'base64Cache':_0x460c4f,'status':_0x2c27f6[_0x1a5abc(0x201)]}),this[_0x1a5abc(0x3bc)]();};});}['_getUploadFileURL'](){var _0x42de60=_0x7e3d33,_0x56ff54,_0x4b1da7;const _0xfa1339=this[_0x42de60(0x38d)][_0x42de60(0x383)](Is),_0x4b8d22=this[_0x42de60(0x38d)][_0x42de60(0x383)](q);return(_0x4b1da7=(_0x56ff54=_0x4b8d22==null?void 0x0:_0x4b8d22['uploadFileServerUrl'])!=null?_0x56ff54:_0xfa1339)!=null?_0x4b1da7:Ts;}[_0x7e3d33(0x226)](){var _0x17c630=_0x7e3d33,_0x1d7c0b,_0x1ba271;const _0x2f3d02=this[_0x17c630(0x38d)]['getConfig'](Cs),_0x44b857=this['_configService'][_0x17c630(0x383)](q);return(_0x1ba271=(_0x1d7c0b=_0x44b857==null?void 0x0:_0x44b857[_0x17c630(0x2fc)])!=null?_0x1d7c0b:_0x2f3d02)!=null?_0x1ba271:Rs;}[_0x7e3d33(0x3c2)](){var _0x32cdc5=_0x7e3d33,_0x12af0e;const _0x1e2dd6=this[_0x32cdc5(0x38d)][_0x32cdc5(0x383)](q);return(_0x12af0e=_0x1e2dd6==null?void 0x0:_0x1e2dd6[_0x32cdc5(0x1a5)])!=null?_0x12af0e:location[_0x32cdc5(0x136)];}[_0x7e3d33(0x276)](_0x5366dd,_0x32d7b9){var _0x4e3473=_0x7e3d33;return _0x5366dd[_0x4e3473(0x36e)]('{fileID}',_0x32d7b9);}[_0x7e3d33(0x3bc)](){var _0xf8835b=_0x7e3d33;this[_0xf8835b(0x31c)]-=0x1,this['_change$'][_0xf8835b(0x18a)](this[_0xf8835b(0x31c)]);}};yt=gs([gt(0x0,_0x46e7fc(_0x13eabd)),gt(0x1,_0xe8305c),gt(0x2,_0x46e7fc(_0x3f319c))],yt);var bs=Object[_0x7e3d33(0x349)],Os=Object[_0x7e3d33(0x31d)],ys=(_0x2c925c,_0x3d492f,_0x2e6cfc,_0x170561)=>{var _0x36e1b7=_0x7e3d33;for(var _0x5ba040=_0x170561>0x1?void 0x0:_0x170561?Os(_0x3d492f,_0x2e6cfc):_0x3d492f,_0x5b2c83=_0x2c925c[_0x36e1b7(0x255)]-0x1,_0x5a1e1b;_0x5b2c83>=0x0;_0x5b2c83--)(_0x5a1e1b=_0x2c925c[_0x5b2c83])&&(_0x5ba040=(_0x170561?_0x5a1e1b(_0x3d492f,_0x2e6cfc,_0x5ba040):_0x5a1e1b(_0x5ba040))||_0x5ba040);return _0x170561&&_0x5ba040&&bs(_0x3d492f,_0x2e6cfc,_0x5ba040),_0x5ba040;},_i=(_0x46f550,_0x382207)=>(_0xbde878,_0x7fa0f6)=>_0x382207(_0xbde878,_0x7fa0f6,_0x46f550);const Ns='/universer-api/authz';let Nt=class{constructor(_0x24d745,_0x5a25d8){this['_configService']=_0x24d745,this['_HTTPService']=_0x5a25d8;}[_0x7e3d33(0x404)](){var _0x3e744e=_0x7e3d33,_0xf7e8d9,_0x5d555e;const _0x139d44=this[_0x3e744e(0x38d)][_0x3e744e(0x383)](Pi),_0x3691a8=this[_0x3e744e(0x38d)][_0x3e744e(0x383)](q);return(_0x5d555e=(_0xf7e8d9=_0x3691a8==null?void 0x0:_0x3691a8['authzUrl'])!=null?_0xf7e8d9:_0x139d44)!=null?_0x5d555e:Ns;}async['list'](_0x1f87d4){var _0x2896c2=_0x7e3d33;const _0x1abdf7=this[_0x2896c2(0x404)]()+_0x2896c2(0x3d8);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x2896c2(0x1e6)](_0x1abdf7,{'params':{'objectID':_0x1f87d4['unitId'],'unitID':_0x1f87d4[_0x2896c2(0x169)]}}))[_0x2896c2(0x38f)]['collaborators'][_0x2896c2(0x1e3)](_0x2eb969=>({'objectId':_0x2eb969['id'],'name':_0x2eb969[_0x2896c2(0x29a)][_0x2896c2(0x36b)],'metadata':{'icon':_0x2eb969[_0x2896c2(0x29a)][_0x2896c2(0x19d)]},'label':_0x2eb969[_0x2896c2(0x29a)]['name'],'objectType':_0xdbc584['PERSON']})),'metadata':{},'type':_0xdbc584[_0x2896c2(0x15d)]}]};}};Nt=ys([_i(0x0,_0x46e7fc(_0xe8305c)),_i(0x1,_0x46e7fc(_0x13eabd))],Nt);var Ds=Object['defineProperty'],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x2c29cc,_0x441448,_0xa51e,_0x2ec9aa)=>{var _0x452f3c=_0x7e3d33;for(var _0xd2fa4d=_0x2ec9aa>0x1?void 0x0:_0x2ec9aa?Ps(_0x441448,_0xa51e):_0x441448,_0x14afcb=_0x2c29cc[_0x452f3c(0x255)]-0x1,_0x19dffb;_0x14afcb>=0x0;_0x14afcb--)(_0x19dffb=_0x2c29cc[_0x14afcb])&&(_0xd2fa4d=(_0x2ec9aa?_0x19dffb(_0x441448,_0xa51e,_0xd2fa4d):_0x19dffb(_0xd2fa4d))||_0xd2fa4d);return _0x2ec9aa&&_0xd2fa4d&&Ds(_0x441448,_0xa51e,_0xd2fa4d),_0xd2fa4d;},Se=(_0x5dd4f6,_0x5d15e9)=>(_0x2a789b,_0x346b53)=>_0x5d15e9(_0x2a789b,_0x346b53,_0x5dd4f6);let at=class extends _0x2a0262{constructor(_0x6d0bf7,_0xd671dd,_0x5e36e5,_0x56c610,_0x13b243,_0x5a3dc9,_0x205a9c){var _0x2a7316=_0x7e3d33;super(),this['_injector']=_0x6d0bf7,this[_0x2a7316(0x12d)]=_0xd671dd,this[_0x2a7316(0x2a7)]=_0x5e36e5,this['_collaborationSessionService']=_0x56c610,this[_0x2a7316(0x162)]=_0x13b243,this[_0x2a7316(0x14e)]=_0x5a3dc9,this[_0x2a7316(0x233)]=_0x205a9c,this['_initUnitPermissionChange'](),this[_0x2a7316(0x270)]();}[_0x7e3d33(0x270)](){var _0x1ca545=_0x7e3d33;const _0x5489b7=async _0x24a5a5=>{var _0x211fdc=_0x3515;(await this[_0x211fdc(0x406)][_0x211fdc(0x370)](_0x24a5a5))[_0x211fdc(0x37f)][_0x211fdc(0x3ff)](_0x56583e(_0xe19843=>_0xe19843[_0x211fdc(0x215)]===_0x180571[_0x211fdc(0x41e)]),_0x529fd7(this['dispose$']))[_0x211fdc(0x3d5)](_0x2ae64e=>{var _0x127bcd=_0x211fdc;const _0x169843=_0x2ae64e,{reason:_0x5e6287}=_0x169843[_0x127bcd(0x248)];this[_0x127bcd(0x162)][_0x127bcd(0x2f9)]({'id':se[_0x127bcd(0x11e)],'data':_0x5e6287}),this[_0x127bcd(0x2a7)][_0x127bcd(0x267)](new _0x455e04(_0x24a5a5)['id'],!0x1),this[_0x127bcd(0x406)][_0x127bcd(0x3e7)](_0x24a5a5);});};_0x33d39d(this[_0x1ca545(0x12d)][_0x1ca545(0x32c)](_0x1242f2[_0x1ca545(0x33b)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1242f2['UNIVER_DOC']))[_0x1ca545(0x3ff)](_0x500e7a(_0x5e1955=>_0x5e1955[_0x1ca545(0x3c4)]()),_0x56583e(_0x2cff85=>!_0x560b78(_0x2cff85)),_0x529fd7(this[_0x1ca545(0x240)]))[_0x1ca545(0x3d5)](_0x356d73=>{_0x5489b7(_0x356d73);});}[_0x7e3d33(0x2ac)](){var _0x12d0c1=_0x7e3d33;const _0x5e6220=async _0x25a78f=>{var _0x39f777=_0x3515;const _0x45e38b=await this[_0x39f777(0x406)][_0x39f777(0x370)](_0x25a78f),_0xe4130a=this['_injector'][_0x39f777(0x1e6)](_0x44dd70);_0x45e38b[_0x39f777(0x37f)]['pipe'](_0x56583e(_0x2a8c69=>_0x2a8c69[_0x39f777(0x215)]===_0x180571[_0x39f777(0x18d)]),_0x529fd7(this[_0x39f777(0x240)]))[_0x39f777(0x3d5)](_0x3dce58=>{var _0x56e8dd=_0x39f777;const _0x273214=_0x3dce58,{objectId:_0x41c0d7}=_0x273214[_0x56e8dd(0x248)];_0x41c0d7===_0x25a78f?_0xe4130a['initWorkbookPermissionChange'](_0x25a78f):_0xe4130a[_0x56e8dd(0x17a)](_0x25a78f,_0x41c0d7);});};_0x33d39d(this[_0x12d0c1(0x12d)]['getTypeOfUnitAdded$'](_0x1242f2['UNIVER_SHEET']),this[_0x12d0c1(0x12d)][_0x12d0c1(0x32c)](_0x1242f2[_0x12d0c1(0x3ae)]))['pipe'](_0x500e7a(_0x5ee34a=>_0x5ee34a[_0x12d0c1(0x3c4)]()),_0x56583e(_0x2c1aef=>!_0x560b78(_0x2c1aef)),_0x529fd7(this[_0x12d0c1(0x240)]))[_0x12d0c1(0x3d5)](_0x3a767b=>{_0x5e6220(_0x3a767b);});}};at=ws([Se(0x0,_0x46e7fc(_0x54c970)),Se(0x1,_0x3f319c),Se(0x2,_0x4c05ea),Se(0x3,_0x46e7fc(Le)),Se(0x4,_0x46e7fc(pe)),Se(0x5,_0x1a1b5a),Se(0x6,_0x1c6bd2)],at);var Us=Object[_0x7e3d33(0x349)],As=Object[_0x7e3d33(0x31d)],xs=(_0x1374a3,_0x1a91ff,_0x9d559b,_0x2b964e)=>{for(var _0x4ce044=_0x2b964e>0x1?void 0x0:_0x2b964e?As(_0x1a91ff,_0x9d559b):_0x1a91ff,_0x59be53=_0x1374a3['length']-0x1,_0x389fd2;_0x59be53>=0x0;_0x59be53--)(_0x389fd2=_0x1374a3[_0x59be53])&&(_0x4ce044=(_0x2b964e?_0x389fd2(_0x1a91ff,_0x9d559b,_0x4ce044):_0x389fd2(_0x4ce044))||_0x4ce044);return _0x2b964e&&_0x4ce044&&Us(_0x1a91ff,_0x9d559b,_0x4ce044),_0x4ce044;},li=(_0xcd3262,_0x31de9c)=>(_0x548800,_0x561e10)=>_0x31de9c(_0x548800,_0x561e10,_0xcd3262);let Dt=class{constructor(_0x2ea530,_0x242edd){var _0x4f73fa=_0x7e3d33;this['_configService']=_0x2ea530,this[_0x4f73fa(0x31b)]=_0x242edd;}async[_0x7e3d33(0x2a0)](_0x4cc9e2,_0x1d0b5c){var _0x1a384f=_0x7e3d33,_0x52e6fd;const {unitID:_0x2f7c53,type:_0x1fd1ba,revision:_0x2fc6df=0x0}=_0x1d0b5c,_0x1480b8=this[_0x1a384f(0x1ca)]()+'/'+_0x1fd1ba+_0x1a384f(0x260)+_0x2f7c53+_0x1a384f(0x27c)+_0x2fc6df,_0x233720=(await this[_0x1a384f(0x31b)][_0x1a384f(0x1e6)](_0x1480b8))[_0x1a384f(0x38f)],_0x179477=(_0x52e6fd=_0x233720[_0x1a384f(0x273)])==null?void 0x0:_0x52e6fd[_0x1a384f(0x28f)];if(_0x179477){const _0x38f7b7=_0x179477==null?void 0x0:_0x179477['originalMeta'],_0x325585=_0x1d9923[_0x1a384f(0x3dd)](_0x4bd791(_0x38f7b7));_0x179477[_0x1a384f(0x3bb)]=_0x325585,Object[_0x1a384f(0x1cd)](_0x179477[_0x1a384f(0x1f6)])[_0x1a384f(0x28a)](([,_0x37abe5])=>{var _0x11ef32=_0x1a384f;const _0x28f148=_0x37abe5[_0x11ef32(0x3bb)],_0x54c5cd=_0x1d9923[_0x11ef32(0x3dd)](_0x4bd791(_0x28f148));_0x37abe5[_0x11ef32(0x3bb)]=_0x54c5cd;});}return _0x233720;}async[_0x7e3d33(0x2fa)](_0x40501e,_0x5b0e8d){var _0x334cbf=_0x7e3d33;const {unitID:_0x22545e,type:_0x31b513,blockID:_0x3a5c0e}=_0x5b0e8d,_0x4c940a=this[_0x334cbf(0x210)]()+'/'+_0x31b513+_0x334cbf(0x260)+_0x22545e+_0x334cbf(0x19f)+_0x3a5c0e;return(await this[_0x334cbf(0x31b)][_0x334cbf(0x1e6)](_0x4c940a))[_0x334cbf(0x38f)];}async[_0x7e3d33(0x3b1)](_0xcdd9a6,_0x157ecf){var _0x12f37b=_0x7e3d33;const {unitID:_0x4ca908,type:_0x17a384,blockID:_0x4edba5}=_0x157ecf,_0x58bd3a=this[_0x12f37b(0x210)]()+_0x12f37b(0x19f)+_0x17a384+_0x12f37b(0x260)+_0x4ca908+_0x12f37b(0x19f)+_0x4edba5;return(await this[_0x12f37b(0x31b)][_0x12f37b(0x1e6)](_0x58bd3a))[_0x12f37b(0x38f)];}async[_0x7e3d33(0x171)](_0x5a2b38,_0x5dff02){var _0x4000b3=_0x7e3d33;const {unitID:_0x1af011,type:_0x1295b1,from:_0x885151,to:_0x2c5986}=_0x5dff02,_0x2083fb=this['_getAPIPrefix']()+'/'+_0x1295b1+_0x4000b3(0x260)+_0x1af011+_0x4000b3(0x292)+_0x885151+_0x4000b3(0x249)+_0x2c5986;return(await this['_httpService'][_0x4000b3(0x1e6)](_0x2083fb))['body'];}[_0x7e3d33(0x1ca)](){var _0x56087a=_0x7e3d33,_0xbcd69a;return(_0xbcd69a=this[_0x56087a(0x38d)][_0x56087a(0x383)](Tn))!=null?_0xbcd69a:this[_0x56087a(0x210)]();}['_getAPIPrefix'](){var _0x27d4b4=_0x7e3d33,_0x5a99b3,_0x14ced2;const _0x6cd57d=this[_0x27d4b4(0x38d)][_0x27d4b4(0x383)](En),_0x259f1f=this[_0x27d4b4(0x38d)][_0x27d4b4(0x383)](q);return(_0x14ced2=(_0x5a99b3=_0x259f1f==null?void 0x0:_0x259f1f[_0x27d4b4(0x311)])!=null?_0x5a99b3:_0x6cd57d)!=null?_0x14ced2:In;}async[_0x7e3d33(0x13c)](_0x49a9bf,_0x2ef0a5){var _0x12bb2f=_0x7e3d33;const _0x31f4c3=_0x12bb2f(0x151)+_0x2ef0a5['type']+'/unit/'+_0x2ef0a5[_0x12bb2f(0x2ce)]+_0x12bb2f(0x269);return(await this['_httpService']['get'](_0x31f4c3,{'params':{'resourceId':JSON['stringify'](_0x2ef0a5[_0x12bb2f(0x417)])}}))[_0x12bb2f(0x38f)];}[_0x7e3d33(0x1c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7e3d33(0x200)](){var _0x11c61c=_0x7e3d33;throw new Error(_0x11c61c(0x177));}[_0x7e3d33(0x265)](){var _0x511574=_0x7e3d33;throw new Error(_0x511574(0x177));}['copyFileMeta'](){var _0x5f3ce2=_0x7e3d33;throw new Error(_0x5f3ce2(0x177));}[_0x7e3d33(0x1ab)](){var _0x41804d=_0x7e3d33;throw new Error(_0x41804d(0x177));}};Dt=xs([li(0x0,_0xe8305c),li(0x1,_0x46e7fc(_0x13eabd))],Dt);var Ls=Object['defineProperty'],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x1f89f6,_0x22ba3b,_0x1ad0ad,_0x4c4ed3)=>{var _0x500e08=_0x7e3d33;for(var _0x3627ab=_0x4c4ed3>0x1?void 0x0:_0x4c4ed3?Ms(_0x22ba3b,_0x1ad0ad):_0x22ba3b,_0x4a94dc=_0x1f89f6[_0x500e08(0x255)]-0x1,_0x1bfe17;_0x4a94dc>=0x0;_0x4a94dc--)(_0x1bfe17=_0x1f89f6[_0x4a94dc])&&(_0x3627ab=(_0x4c4ed3?_0x1bfe17(_0x22ba3b,_0x1ad0ad,_0x3627ab):_0x1bfe17(_0x3627ab))||_0x3627ab);return _0x4c4ed3&&_0x3627ab&&Ls(_0x22ba3b,_0x1ad0ad,_0x3627ab),_0x3627ab;},Ae=(_0x39c401,_0x567f52)=>(_0x41b426,_0x367639)=>_0x567f52(_0x41b426,_0x367639,_0x39c401);let Pt=class extends _0x4f5111{constructor(_0x51cbd1,_0x4916dc,_0x3e928a,_0x13b9d8,_0x388dc1){var _0x152673=_0x7e3d33;super(_0x51cbd1,_0x4916dc,_0x3e928a),this[_0x152673(0x2e9)]=_0x13b9d8,this[_0x152673(0x261)]=_0x388dc1;}[_0x7e3d33(0x3a0)](_0xcfb953,_0x3572ef){var _0xc3e543=_0x7e3d33;const _0x1660f6=this[_0xc3e543(0x17f)](_0xcfb953);if(_0x1660f6)try{const _0x350243=this[_0xc3e543(0x1a2)](_0x1660f6,_0x3572ef);this[_0xc3e543(0x3ea)](_0xcfb953,_0x350243);}catch(_0x5be111){this[_0xc3e543(0x261)]['error'](_0xc3e543(0x3b3),_0x5be111),this[_0xc3e543(0x3ad)](_0xcfb953);}const _0x4f99a8=this['_getRedoStack'](_0xcfb953);if(_0x4f99a8)try{const _0x329430=this[_0xc3e543(0x1a2)](_0x4f99a8,_0x3572ef);this['_substituteRedoStack'](_0xcfb953,_0x329430);}catch(_0x2bf08c){this[_0xc3e543(0x261)][_0xc3e543(0x129)](_0x2bf08c),this[_0xc3e543(0x22c)](_0xcfb953);}}['_clearUndo'](_0x4677e7){var _0x5207c4=_0x7e3d33;const _0x3e43d8=this['_getUndoStack'](_0x4677e7);_0x3e43d8&&(_0x3e43d8[_0x5207c4(0x255)]=0x0,this[_0x5207c4(0x1c9)]());}[_0x7e3d33(0x22c)](_0x45d858){var _0x3126a8=_0x7e3d33;const _0x12268c=this[_0x3126a8(0x2d6)](_0x45d858);_0x12268c&&(_0x12268c[_0x3126a8(0x255)]=0x0,this[_0x3126a8(0x1c9)]());}[_0x7e3d33(0x3ea)](_0x515392,_0x2c00e1){var _0x759fd4=_0x7e3d33;this[_0x759fd4(0x176)][_0x759fd4(0x3c8)](_0x515392,_0x2c00e1),this['_updateStatus']();}['_substituteRedoStack'](_0x2007ba,_0x37f623){var _0x16f8b4=_0x7e3d33;this[_0x16f8b4(0x2cc)][_0x16f8b4(0x3c8)](_0x2007ba,_0x37f623),this[_0x16f8b4(0x1c9)]();}[_0x7e3d33(0x1a2)](_0x1b6a12,_0x535c24){var _0x504d40=_0x7e3d33;const _0x292a5b=[];let _0x45cb24=_0x535c24,_0x93b0fb=_0x535c24;for(let _0x326e7b=_0x1b6a12[_0x504d40(0x255)]-0x1;_0x326e7b>=0x0;_0x326e7b--){const {unitID:_0x13c793,undoMutations:_0x5be121,redoMutations:_0x5bbc3f}=_0x1b6a12[_0x326e7b],_0x3e0f1a=this[_0x504d40(0x2e9)][_0x504d40(0x160)](_0x45cb24,_0x5be121),_0x4b7d9d=this[_0x504d40(0x2e9)][_0x504d40(0x160)](_0x93b0fb,_0x5bbc3f);if(_0x172319(_0x3e0f1a)||_0x172319(_0x4b7d9d)){this[_0x504d40(0x261)]['error'](_0x504d40(0x3b3),_0x504d40(0x20d),_0x3e0f1a,_0x4b7d9d);break;}_0x45cb24=_0x3e0f1a[_0x504d40(0x20a)],_0x93b0fb=_0x4b7d9d[_0x504d40(0x20a)],_0x292a5b[_0x504d40(0x399)]({'unitID':_0x13c793,'undoMutations':_0x3e0f1a['m2Prime'],'redoMutations':_0x4b7d9d[_0x504d40(0x40f)]});}return _0x292a5b[_0x504d40(0x40d)]();}};Pt=$s([Ae(0x0,_0x3f319c),Ae(0x1,_0x12a849),Ae(0x2,_0x4c814d),Ae(0x3,_0x1b280a),Ae(0x4,_0x3f2d03)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x7e3d33(0x31d)],ks=(_0x295913,_0x1cf617,_0x22b948)=>_0x1cf617 in _0x295913?xi(_0x295913,_0x1cf617,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22b948}):_0x295913[_0x1cf617]=_0x22b948,js=(_0x5f1588,_0x217cbe,_0x556fc2,_0x29d3a7)=>{var _0x5de994=_0x7e3d33;for(var _0x31056f=_0x29d3a7>0x1?void 0x0:_0x29d3a7?Hs(_0x217cbe,_0x556fc2):_0x217cbe,_0x252ce6=_0x5f1588[_0x5de994(0x255)]-0x1,_0x488e57;_0x252ce6>=0x0;_0x252ce6--)(_0x488e57=_0x5f1588[_0x252ce6])&&(_0x31056f=(_0x29d3a7?_0x488e57(_0x217cbe,_0x556fc2,_0x31056f):_0x488e57(_0x31056f))||_0x31056f);return _0x29d3a7&&_0x31056f&&xi(_0x217cbe,_0x556fc2,_0x31056f),_0x31056f;},St=(_0x17e949,_0x52868d)=>(_0x3dccb2,_0x4537b4)=>_0x52868d(_0x3dccb2,_0x4537b4,_0x17e949),Bs=(_0x2ec55e,_0x31c4e6,_0x547ae)=>ks(_0x2ec55e,_0x31c4e6+'',_0x547ae);const Fs=_0x7e3d33(0x3fa);let wt=class extends _0x4f56cb{constructor(_0x218fc8=Wt,_0xf3e5fa,_0x56072a,_0x5639d6){var _0x32f954=_0x7e3d33;super(),this[_0x32f954(0x3b0)]=_0x218fc8,this[_0x32f954(0x261)]=_0xf3e5fa,this[_0x32f954(0x1de)]=_0x56072a,this[_0x32f954(0x38d)]=_0x5639d6;const {..._0x20ddf9}=_0x11f6e1({},Wt,this[_0x32f954(0x3b0)]);this[_0x32f954(0x38d)][_0x32f954(0x306)](q,_0x20ddf9);}[_0x7e3d33(0x25b)](){var _0x40a2bf=_0x7e3d33;this['_registerDependencies'](),this[_0x40a2bf(0x3fd)]();}['_registerDependencies'](){var _0x452909=_0x7e3d33,_0x10736b,_0x419012,_0x2cec75,_0xdfae86;this['_injector'][_0x452909(0x1d8)](_0x1c6bd2)&&this['_logService'][_0x452909(0x129)](_0x452909(0x1e0),_0x452909(0x1b2));const _0x4e3b0d=_0x3ef89c([[_0x1c6bd2,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x419012=(_0x10736b=this['_config'])==null?void 0x0:_0x10736b[_0x452909(0x3d4)])!=null?_0x419012:Et}],[_0x49df10,{'useClass':Dt}],[_0x1a1b5a,{'useClass':bt}],[_0x18e446,{'useClass':yt}],[_0x59c39f,{'useClass':Nt}],[rt],[Rt]],(_0x2cec75=this[_0x452909(0x3b0)])==null?void 0x0:_0x2cec75[_0x452909(0x410)]);if(!((_0xdfae86=this[_0x452909(0x3b0)])!=null&&_0xdfae86[_0x452909(0x382)])){const _0x18f0ad=_0x4e3b0d[_0x452909(0x12c)](([_0x5a5909])=>_0x5a5909===ht);_0x18f0ad!==-0x1&&_0x4e3b0d[_0x452909(0x1b7)](_0x18f0ad,0x1);}_0x3b6d41(this[_0x452909(0x1de)],_0x4e3b0d);}[_0x7e3d33(0x3fd)](){var _0x265b53=_0x7e3d33,_0x175840,_0x34e77c,_0x4d4f31;this[_0x265b53(0x1de)][_0x265b53(0x1e6)](_0x13eabd)[_0x265b53(0x153)]({'priority':0x14,'interceptor':_0xfad5f0({'maxParallel':0x6})}),(_0x175840=this[_0x265b53(0x3b0)])!=null&&_0x175840[_0x265b53(0x34d)]||(_0x34e77c=this[_0x265b53(0x1de)][_0x265b53(0x1e6)](J,_0x122d9a[_0x265b53(0x377)]))==null||_0x34e77c[_0x265b53(0x2a8)](),(_0x4d4f31=this[_0x265b53(0x3b0)])!=null&&_0x4d4f31[_0x265b53(0x3cf)]&&_0x3e98ac(this[_0x265b53(0x1de)],[[st]]),_0x3e98ac(this[_0x265b53(0x1de)],[[ot],[rt],[at]]);}};Bs(wt,_0x7e3d33(0x3c0),Fs),wt=js([_0x4d7659(_0x420a77,_0x3e7f22,_0x4f466e),St(0x1,_0x3f2d03),St(0x2,_0x46e7fc(_0x54c970)),St(0x3,_0xe8305c)],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};
|